[2026-10-05 00:00:01] local.INFO: TCP Data received {"connection_id":203853,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:00:02] local.INFO: Processing buffer {"connection_id":203853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:00:02] local.INFO: IMEI packet received {"connection_id":203853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":203853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:00:02] local.INFO: TCP Data received {"connection_id":203853,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1082cd008012d7f91c005afd9f00013010126..."} 
[2026-10-05 00:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1082cd008012d7f91c005afd9f00013010126..."} 
[2026-10-05 00:00:02] local.INFO: Processing buffer {"connection_id":203853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1082cd008012d7f91c005afd9f00013010126..."} 
[2026-10-05 00:00:02] local.INFO: Packet analysis {"connection_id":203853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:00:02] local.INFO: Extracted packet for processing {"connection_id":203853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:00:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:00: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-10-05 00:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531383296001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:00: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-10-05 00:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791138517000,"timestamp_ms":1791138517000,"timestamp_seconds":1791138517,"priority":1,"record_length":96,"hex_timestamp":"000001a1082cd008"} 
[2026-10-05 00:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:00: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-10-05 00:00: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":25,"data_length":795,"current_offset":136} 
[2026-10-05 00:00:02] 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-10-05 00:00: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-10-05 00:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:00: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-10-05 00:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531383296001,"66":25625,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531383296001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:00:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:00:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531383296001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":203853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:00:03] local.INFO: GPS data processed {"connection_id":203853,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:00:03] local.INFO: Acknowledgment sent {"connection_id":203853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:00:05] local.INFO: TCP Data received {"connection_id":203854,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:00:05] local.INFO: Processing buffer {"connection_id":203854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:00:05] local.INFO: IMEI packet received {"connection_id":203854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":203854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:00:10] local.INFO: TCP Data received {"connection_id":203854,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:00:10] local.INFO: Processing buffer {"connection_id":203854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:00:10] local.INFO: IMEI packet received {"connection_id":203854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":203854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:00:11] local.INFO: TCP Data received {"connection_id":203854,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1082c9188012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 00:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1082c9188012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 00:00:11] local.INFO: Processing buffer {"connection_id":203854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1082c9188012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 00:00:11] local.INFO: Packet analysis {"connection_id":203854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:00:11] local.INFO: Extracted packet for processing {"connection_id":203854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:00:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531379200001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791138501000,"timestamp_ms":1791138501000,"timestamp_seconds":1791138501,"priority":1,"record_length":96,"hex_timestamp":"000001a1082c9188"} 
[2026-10-05 00:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:00:11] 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-10-05 00: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:00:11] 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-10-05 00: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-10-05 00:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":203854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":203854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":203854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:00:11] 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-10-05 00:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531379200001,"66":12722,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531379200001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:00:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:00:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531379200001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":203854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:00:11] local.INFO: GPS data processed {"connection_id":203854,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:00:11] local.INFO: Acknowledgment sent {"connection_id":203854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:00:34] local.INFO: TCP Data received {"connection_id":203853,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1082cd008012d7f91c005afd9f00013010126..."} 
[2026-10-05 00:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1082cd008012d7f91c005afd9f00013010126..."} 
[2026-10-05 00:00:34] local.INFO: Processing buffer {"connection_id":203853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1082cd008012d7f91c005afd9f00013010126..."} 
[2026-10-05 00:00:34] local.INFO: Packet analysis {"connection_id":203853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:00:34] local.INFO: Extracted packet for processing {"connection_id":203853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:00:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531383296001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:00: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-10-05 00:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791138517000,"timestamp_ms":1791138517000,"timestamp_seconds":1791138517,"priority":1,"record_length":96,"hex_timestamp":"000001a1082cd008"} 
[2026-10-05 00:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:00:34] 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-10-05 00:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 00:00: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-10-05 00:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":203853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":203853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":203853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531383296001,"66":25625,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531383296001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:00:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:00:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531383296001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":203853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:00:34] local.INFO: GPS data processed {"connection_id":203853,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:00:34] local.INFO: Acknowledgment sent {"connection_id":203853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:00:42] local.INFO: TCP Data received {"connection_id":203854,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1082c9188012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 00:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1082c9188012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 00:00:42] local.INFO: Processing buffer {"connection_id":203854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1082c9188012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 00:00:42] local.INFO: Packet analysis {"connection_id":203854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:00:42] local.INFO: Extracted packet for processing {"connection_id":203854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:00:42] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531379200001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791138501000,"timestamp_ms":1791138501000,"timestamp_seconds":1791138501,"priority":1,"record_length":96,"hex_timestamp":"000001a1082c9188"} 
[2026-10-05 00:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:00:42] 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-10-05 00:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":203854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":203854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":203854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:00:42] 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-10-05 00:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531379200001,"66":12722,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531379200001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:00:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:00:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531379200001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":203854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964174,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:00:42] local.INFO: GPS data processed {"connection_id":203854,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:00:42] local.INFO: Acknowledgment sent {"connection_id":203854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:00:56] local.INFO: TCP Data received {"connection_id":205396,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:00:56] local.INFO: Processing buffer {"connection_id":205396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:00:56] local.INFO: IMEI packet received {"connection_id":205396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":205396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:01:00] local.INFO: TCP Data received {"connection_id":203945,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:01:00] local.INFO: Processing buffer {"connection_id":203945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:01:00] local.INFO: IMEI packet received {"connection_id":203945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":203945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:01:01] local.INFO: TCP Data received {"connection_id":205396,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:01:01] local.INFO: Processing buffer {"connection_id":205396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:01:01] local.INFO: IMEI packet received {"connection_id":205396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":205396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:01:02] local.INFO: TCP Data received {"connection_id":205396,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1082cd008012d7f91c005afd9f00013010126..."} 
[2026-10-05 00:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1082cd008012d7f91c005afd9f00013010126..."} 
[2026-10-05 00:01:02] local.INFO: Processing buffer {"connection_id":205396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1082cd008012d7f91c005afd9f00013010126..."} 
[2026-10-05 00:01:02] local.INFO: Packet analysis {"connection_id":205396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:01:02] local.INFO: Extracted packet for processing {"connection_id":205396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:01:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531383296001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:01: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-10-05 00:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791138517000,"timestamp_ms":1791138517000,"timestamp_seconds":1791138517,"priority":1,"record_length":96,"hex_timestamp":"000001a1082cd008"} 
[2026-10-05 00:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:01: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-10-05 00:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 00:01:02] 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-10-05 00:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:01: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-10-05 00:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531383296001,"66":25625,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531383296001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:01:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:01:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531383296001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":205396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:01:02] local.INFO: GPS data processed {"connection_id":205396,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:01:02] local.INFO: Acknowledgment sent {"connection_id":205396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:01:05] local.INFO: TCP Data received {"connection_id":203945,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:01:05] local.INFO: Processing buffer {"connection_id":203945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:01:05] local.INFO: IMEI packet received {"connection_id":203945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":203945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:01:06] local.INFO: TCP Data received {"connection_id":203945,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1082c9188012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 00:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1082c9188012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 00:01:06] local.INFO: Processing buffer {"connection_id":203945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1082c9188012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 00:01:06] local.INFO: Packet analysis {"connection_id":203945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:01:06] local.INFO: Extracted packet for processing {"connection_id":203945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:01:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531379200001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791138501000,"timestamp_ms":1791138501000,"timestamp_seconds":1791138501,"priority":1,"record_length":96,"hex_timestamp":"000001a1082c9188"} 
[2026-10-05 00:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:01:06] 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-10-05 00:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:01:06] 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-10-05 00:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:01: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-10-05 00:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531379200001,"66":12722,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531379200001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:01:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:01:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531379200001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":203945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:01:06] local.INFO: GPS data processed {"connection_id":203945,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:01:06] local.INFO: Acknowledgment sent {"connection_id":203945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:01:09] local.INFO: TCP Data received {"connection_id":205395,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205395,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:01:09] local.INFO: Processing buffer {"connection_id":205395,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:01:09] local.INFO: IMEI packet received {"connection_id":205395,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 00:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":205395,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:01:33] local.INFO: TCP Data received {"connection_id":205396,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1082cd008012d7f91c005afd9f00013010126..."} 
[2026-10-05 00:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1082cd008012d7f91c005afd9f00013010126..."} 
[2026-10-05 00:01:33] local.INFO: Processing buffer {"connection_id":205396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1082cd008012d7f91c005afd9f00013010126..."} 
[2026-10-05 00:01:33] local.INFO: Packet analysis {"connection_id":205396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:01:33] local.INFO: Extracted packet for processing {"connection_id":205396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:01:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:01: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-10-05 00:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531383296001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:01: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-10-05 00:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791138517000,"timestamp_ms":1791138517000,"timestamp_seconds":1791138517,"priority":1,"record_length":96,"hex_timestamp":"000001a1082cd008"} 
[2026-10-05 00:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:01:33] 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-10-05 00:01: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":25,"data_length":795,"current_offset":136} 
[2026-10-05 00:01:33] 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-10-05 00:01: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-10-05 00:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531383296001,"66":25625,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531383296001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:01:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:01:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531383296001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":205396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:01:33] local.INFO: GPS data processed {"connection_id":205396,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:01:33] local.INFO: Acknowledgment sent {"connection_id":205396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:01:37] local.INFO: TCP Data received {"connection_id":203945,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1082c9188012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 00:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1082c9188012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 00:01:37] local.INFO: Processing buffer {"connection_id":203945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1082c9188012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 00:01:37] local.INFO: Packet analysis {"connection_id":203945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:01:37] local.INFO: Extracted packet for processing {"connection_id":203945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:01:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531379200001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791138501000,"timestamp_ms":1791138501000,"timestamp_seconds":1791138501,"priority":1,"record_length":96,"hex_timestamp":"000001a1082c9188"} 
[2026-10-05 00:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:01:37] 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-10-05 00:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:01:37] 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-10-05 00:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:01: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-10-05 00:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531379200001,"66":12722,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531379200001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:01:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:01:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531379200001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":203945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:01:37] local.INFO: GPS data processed {"connection_id":203945,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:01:37] local.INFO: Acknowledgment sent {"connection_id":203945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:01:43] local.INFO: TCP Data received {"connection_id":203946,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:01:43] local.INFO: Processing buffer {"connection_id":203946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:01:43] local.INFO: IMEI packet received {"connection_id":203946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 00:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":203946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:01:57] local.INFO: TCP Data received {"connection_id":203855,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:01:57] local.INFO: Processing buffer {"connection_id":203855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:01:57] local.INFO: IMEI packet received {"connection_id":203855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":203855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:02:00] local.INFO: TCP Data received {"connection_id":205397,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:02:00] local.INFO: Processing buffer {"connection_id":205397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:02:00] local.INFO: IMEI packet received {"connection_id":205397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":205397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:02:01] local.INFO: TCP Data received {"connection_id":203855,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:02:01] local.INFO: Processing buffer {"connection_id":203855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:02:01] local.INFO: IMEI packet received {"connection_id":203855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":203855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:02:02] local.INFO: TCP Data received {"connection_id":203855,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1082cd008012d7f91c005afd9f00013010126..."} 
[2026-10-05 00:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1082cd008012d7f91c005afd9f00013010126..."} 
[2026-10-05 00:02:02] local.INFO: Processing buffer {"connection_id":203855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1082cd008012d7f91c005afd9f00013010126..."} 
[2026-10-05 00:02:02] local.INFO: Packet analysis {"connection_id":203855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:02:02] local.INFO: Extracted packet for processing {"connection_id":203855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:02:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531383296001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:02: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-10-05 00:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791138517000,"timestamp_ms":1791138517000,"timestamp_seconds":1791138517,"priority":1,"record_length":96,"hex_timestamp":"000001a1082cd008"} 
[2026-10-05 00:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:02: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-10-05 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 00:02:02] 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-10-05 00: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-10-05 00:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:02: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-10-05 00:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531383296001,"66":25625,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531383296001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:02:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:02:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531383296001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":203855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:02:02] local.INFO: GPS data processed {"connection_id":203855,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:02:02] local.INFO: Acknowledgment sent {"connection_id":203855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:02:05] local.INFO: TCP Data received {"connection_id":205397,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:02:05] local.INFO: Processing buffer {"connection_id":205397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:02:05] local.INFO: IMEI packet received {"connection_id":205397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":205397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:02:06] local.INFO: TCP Data received {"connection_id":205397,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1082c9188012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 00:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1082c9188012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 00:02:06] local.INFO: Processing buffer {"connection_id":205397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1082c9188012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 00:02:06] local.INFO: Packet analysis {"connection_id":205397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:02:06] local.INFO: Extracted packet for processing {"connection_id":205397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:02:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531379200001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791138501000,"timestamp_ms":1791138501000,"timestamp_seconds":1791138501,"priority":1,"record_length":96,"hex_timestamp":"000001a1082c9188"} 
[2026-10-05 00:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:02:06] 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-10-05 00:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:02:06] 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-10-05 00:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:02: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-10-05 00:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531379200001,"66":12722,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531379200001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:02:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:02:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531379200001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":205397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:02:06] local.INFO: GPS data processed {"connection_id":205397,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:02:06] local.INFO: Acknowledgment sent {"connection_id":205397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:02:33] local.INFO: TCP Data received {"connection_id":203855,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1082cd008012d7f91c005afd9f00013010126..."} 
[2026-10-05 00:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1082cd008012d7f91c005afd9f00013010126..."} 
[2026-10-05 00:02:33] local.INFO: Processing buffer {"connection_id":203855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1082cd008012d7f91c005afd9f00013010126..."} 
[2026-10-05 00:02:33] local.INFO: Packet analysis {"connection_id":203855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:02:33] local.INFO: Extracted packet for processing {"connection_id":203855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:02:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531383296001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:02: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-10-05 00:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791138517000,"timestamp_ms":1791138517000,"timestamp_seconds":1791138517,"priority":1,"record_length":96,"hex_timestamp":"000001a1082cd008"} 
[2026-10-05 00:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:02:33] 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-10-05 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 00:02:33] 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-10-05 00: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-10-05 00:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531383296001,"66":25625,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531383296001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:02:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:02:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531383296001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":203855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:02:33] local.INFO: GPS data processed {"connection_id":203855,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:02:33] local.INFO: Acknowledgment sent {"connection_id":203855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:02:37] local.INFO: TCP Data received {"connection_id":205397,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1082c9188012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 00:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1082c9188012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 00:02:37] local.INFO: Processing buffer {"connection_id":205397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1082c9188012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 00:02:37] local.INFO: Packet analysis {"connection_id":205397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:02:37] local.INFO: Extracted packet for processing {"connection_id":205397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:02:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531379200001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791138501000,"timestamp_ms":1791138501000,"timestamp_seconds":1791138501,"priority":1,"record_length":96,"hex_timestamp":"000001a1082c9188"} 
[2026-10-05 00:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:02:37] 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-10-05 00:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:02:37] 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-10-05 00:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:02: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-10-05 00:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531379200001,"66":12722,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531379200001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:02:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:02:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531379200001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":205397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964182,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:02:37] local.INFO: GPS data processed {"connection_id":205397,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:02:37] local.INFO: Acknowledgment sent {"connection_id":205397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:02:56] local.INFO: TCP Data received {"connection_id":203856,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:02:56] local.INFO: Processing buffer {"connection_id":203856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:02:56] local.INFO: IMEI packet received {"connection_id":203856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":203856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:03:00] local.INFO: TCP Data received {"connection_id":203857,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:03:00] local.INFO: Processing buffer {"connection_id":203857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:03:00] local.INFO: IMEI packet received {"connection_id":203857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":203857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:03:01] local.INFO: TCP Data received {"connection_id":203856,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:03:01] local.INFO: Processing buffer {"connection_id":203856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:03:01] local.INFO: IMEI packet received {"connection_id":203856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":203856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:03:02] local.INFO: TCP Data received {"connection_id":203856,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1082cd008012d7f91c005afd9f00013010126..."} 
[2026-10-05 00:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1082cd008012d7f91c005afd9f00013010126..."} 
[2026-10-05 00:03:02] local.INFO: Processing buffer {"connection_id":203856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1082cd008012d7f91c005afd9f00013010126..."} 
[2026-10-05 00:03:02] local.INFO: Packet analysis {"connection_id":203856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:03:02] local.INFO: Extracted packet for processing {"connection_id":203856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:03:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531383296001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:03: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-10-05 00:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791138517000,"timestamp_ms":1791138517000,"timestamp_seconds":1791138517,"priority":1,"record_length":96,"hex_timestamp":"000001a1082cd008"} 
[2026-10-05 00:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:03: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-10-05 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 00:03:02] 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-10-05 00: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-10-05 00:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:03: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-10-05 00:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531383296001,"66":25625,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531383296001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:03:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:03:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531383296001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":203856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:03:02] local.INFO: GPS data processed {"connection_id":203856,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:03:02] local.INFO: Acknowledgment sent {"connection_id":203856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:03:05] local.INFO: TCP Data received {"connection_id":203857,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:03:05] local.INFO: Processing buffer {"connection_id":203857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:03:05] local.INFO: IMEI packet received {"connection_id":203857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":203857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:03:06] local.INFO: TCP Data received {"connection_id":203857,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1082c9188012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 00:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1082c9188012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 00:03:06] local.INFO: Processing buffer {"connection_id":203857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1082c9188012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 00:03:06] local.INFO: Packet analysis {"connection_id":203857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:03:06] local.INFO: Extracted packet for processing {"connection_id":203857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531379200001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791138501000,"timestamp_ms":1791138501000,"timestamp_seconds":1791138501,"priority":1,"record_length":96,"hex_timestamp":"000001a1082c9188"} 
[2026-10-05 00:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:03:06] 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-10-05 00: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:03:06] 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-10-05 00: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-10-05 00:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:03: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-10-05 00:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531379200001,"66":12722,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531379200001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:03:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:03:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531379200001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":203857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:03:06] local.INFO: GPS data processed {"connection_id":203857,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:03:06] local.INFO: Acknowledgment sent {"connection_id":203857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:03:33] local.INFO: TCP Data received {"connection_id":203856,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1082cd008012d7f91c005afd9f00013010126..."} 
[2026-10-05 00:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1082cd008012d7f91c005afd9f00013010126..."} 
[2026-10-05 00:03:33] local.INFO: Processing buffer {"connection_id":203856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1082cd008012d7f91c005afd9f00013010126..."} 
[2026-10-05 00:03:33] local.INFO: Packet analysis {"connection_id":203856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:03:33] local.INFO: Extracted packet for processing {"connection_id":203856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531383296001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:03: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-10-05 00:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791138517000,"timestamp_ms":1791138517000,"timestamp_seconds":1791138517,"priority":1,"record_length":96,"hex_timestamp":"000001a1082cd008"} 
[2026-10-05 00:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:03:33] 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-10-05 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 00:03:33] 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-10-05 00: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-10-05 00:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531383296001,"66":25625,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531383296001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:03:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:03:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531383296001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":203856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:03:33] local.INFO: GPS data processed {"connection_id":203856,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:03:33] local.INFO: Acknowledgment sent {"connection_id":203856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:03:37] local.INFO: TCP Data received {"connection_id":203857,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:03:37] local.INFO: Processing buffer {"connection_id":203857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:03:37] local.INFO: Packet analysis {"connection_id":203857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:03:37] local.INFO: Extracted packet for processing {"connection_id":203857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:03:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531456256001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791138802000,"timestamp_ms":1791138802000,"timestamp_seconds":1791138802,"priority":1,"record_length":96,"hex_timestamp":"000001a108312950"} 
[2026-10-05 00:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:03:37] 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-10-05 00:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:03:37] 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-10-05 00:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:03: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-10-05 00:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531456256001,"66":12711,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531456256001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:03:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:03:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531456256001,"power":12711,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":203857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:03:37] local.INFO: GPS data processed {"connection_id":203857,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:03:37] local.INFO: Acknowledgment sent {"connection_id":203857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:03:56] local.INFO: TCP Data received {"connection_id":206961,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:03:56] local.INFO: Processing buffer {"connection_id":206961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:03:56] local.INFO: IMEI packet received {"connection_id":206961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":206961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:04:00] local.INFO: TCP Data received {"connection_id":206962,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:04:00] local.INFO: Processing buffer {"connection_id":206962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:04:00] local.INFO: IMEI packet received {"connection_id":206962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":206962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:04:02] local.INFO: TCP Data received {"connection_id":206961,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:04:02] local.INFO: Processing buffer {"connection_id":206961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:04:02] local.INFO: IMEI packet received {"connection_id":206961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":206961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:04:02] local.INFO: TCP Data received {"connection_id":206961,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1082cd008012d7f91c005afd9f00013010126..."} 
[2026-10-05 00:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1082cd008012d7f91c005afd9f00013010126..."} 
[2026-10-05 00:04:02] local.INFO: Processing buffer {"connection_id":206961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1082cd008012d7f91c005afd9f00013010126..."} 
[2026-10-05 00:04:02] local.INFO: Packet analysis {"connection_id":206961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:04:02] local.INFO: Extracted packet for processing {"connection_id":206961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1082c"} 
[2026-10-05 00:04:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531383296001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:04: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-10-05 00:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791138517000,"timestamp_ms":1791138517000,"timestamp_seconds":1791138517,"priority":1,"record_length":96,"hex_timestamp":"000001a1082cd008"} 
[2026-10-05 00:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:04: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-10-05 00: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":25,"data_length":795,"current_offset":136} 
[2026-10-05 00:04:02] 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-10-05 00: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-10-05 00:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":206961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":206961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":206961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00: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-10-05 00:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531383296001,"66":25625,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531383296001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:04:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:04:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531383296001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":206961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:04:02] local.INFO: GPS data processed {"connection_id":206961,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:04:02] local.INFO: Acknowledgment sent {"connection_id":206961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:04:05] local.INFO: TCP Data received {"connection_id":206962,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:04:05] local.INFO: Processing buffer {"connection_id":206962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:04:05] local.INFO: IMEI packet received {"connection_id":206962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":206962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:04:06] local.INFO: TCP Data received {"connection_id":206962,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:04:06] local.INFO: Processing buffer {"connection_id":206962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:04:06] local.INFO: Packet analysis {"connection_id":206962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:04:06] local.INFO: Extracted packet for processing {"connection_id":206962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:04:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 00:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531456256001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791138802000,"timestamp_ms":1791138802000,"timestamp_seconds":1791138802,"priority":1,"record_length":96,"hex_timestamp":"000001a108312950"} 
[2026-10-05 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-10-05 00:04:06] 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-10-05 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:04:06] 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-10-05 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-10-05 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-10-05 00:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":206962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":206962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":206962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:04: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-10-05 00:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531456256001,"66":12711,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531456256001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:04:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:04:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531456256001,"power":12711,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":206962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:04:06] local.INFO: GPS data processed {"connection_id":206962,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:04:06] local.INFO: Acknowledgment sent {"connection_id":206962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:04:33] local.INFO: TCP Data received {"connection_id":206961,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:04:33] local.INFO: Processing buffer {"connection_id":206961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:04:33] local.INFO: Packet analysis {"connection_id":206961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:04:33] local.INFO: Extracted packet for processing {"connection_id":206961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":30,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:04: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-10-05 00:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531460352001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:04: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-10-05 00:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791138818000,"timestamp_ms":1791138818000,"timestamp_seconds":1791138818,"priority":1,"record_length":96,"hex_timestamp":"000001a1083167d0"} 
[2026-10-05 00:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:04:33] 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-10-05 00:04: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":25,"data_length":795,"current_offset":136} 
[2026-10-05 00:04:33] 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-10-05 00:04: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-10-05 00:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":206961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":206961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":206961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531460352001,"66":25593,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531460352001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:04:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:04:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531460352001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":206961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:04:33] local.INFO: GPS data processed {"connection_id":206961,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:04:33] local.INFO: Acknowledgment sent {"connection_id":206961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:04:39] local.INFO: TCP Data received {"connection_id":206962,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:04:39] local.INFO: Processing buffer {"connection_id":206962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:04:39] local.INFO: Packet analysis {"connection_id":206962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:04:39] local.INFO: Extracted packet for processing {"connection_id":206962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:04:39] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531456256001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791138802000,"timestamp_ms":1791138802000,"timestamp_seconds":1791138802,"priority":1,"record_length":96,"hex_timestamp":"000001a108312950"} 
[2026-10-05 00:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:04:39] 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-10-05 00:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:04:39] 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-10-05 00:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":206962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":206962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":206962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:04: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-10-05 00:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531456256001,"66":12711,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531456256001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:04:39] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:04:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531456256001,"power":12711,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":206962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964190,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:04:39] local.INFO: GPS data processed {"connection_id":206962,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:04:39] local.INFO: Acknowledgment sent {"connection_id":206962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:04:56] local.INFO: TCP Data received {"connection_id":206963,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:04:56] local.INFO: Processing buffer {"connection_id":206963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:04:56] local.INFO: IMEI packet received {"connection_id":206963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":206963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:05:00] local.INFO: TCP Data received {"connection_id":206964,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:05:00] local.INFO: Processing buffer {"connection_id":206964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:05:00] local.INFO: IMEI packet received {"connection_id":206964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":206964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:05:01] local.INFO: TCP Data received {"connection_id":206963,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:05:01] local.INFO: Processing buffer {"connection_id":206963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:05:01] local.INFO: IMEI packet received {"connection_id":206963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":206963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:05:02] local.INFO: TCP Data received {"connection_id":206963,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:05:02] local.INFO: Processing buffer {"connection_id":206963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:05:02] local.INFO: Packet analysis {"connection_id":206963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:05:02] local.INFO: Extracted packet for processing {"connection_id":206963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:05:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":30,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531460352001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:05: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-10-05 00:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791138818000,"timestamp_ms":1791138818000,"timestamp_seconds":1791138818,"priority":1,"record_length":96,"hex_timestamp":"000001a1083167d0"} 
[2026-10-05 00:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:05: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-10-05 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 00:05:02] 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-10-05 00: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-10-05 00:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":206963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":206963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":206963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:05: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-10-05 00:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531460352001,"66":25593,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531460352001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:05:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:05:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531460352001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":206963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:05:02] local.INFO: GPS data processed {"connection_id":206963,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:05:02] local.INFO: Acknowledgment sent {"connection_id":206963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:05:05] local.INFO: TCP Data received {"connection_id":206964,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:05:05] local.INFO: Processing buffer {"connection_id":206964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:05:05] local.INFO: IMEI packet received {"connection_id":206964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":206964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:05:06] local.INFO: TCP Data received {"connection_id":206964,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:05:06] local.INFO: Processing buffer {"connection_id":206964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:05:06] local.INFO: Packet analysis {"connection_id":206964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:05:06] local.INFO: Extracted packet for processing {"connection_id":206964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:05:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531456256001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791138802000,"timestamp_ms":1791138802000,"timestamp_seconds":1791138802,"priority":1,"record_length":96,"hex_timestamp":"000001a108312950"} 
[2026-10-05 00:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:05:06] 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-10-05 00: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:05:06] 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-10-05 00: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-10-05 00:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":206964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":206964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":206964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:05: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-10-05 00:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531456256001,"66":12711,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531456256001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:05:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:05:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531456256001,"power":12711,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":206964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:05:06] local.INFO: GPS data processed {"connection_id":206964,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:05:06] local.INFO: Acknowledgment sent {"connection_id":206964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:05:07] local.INFO: TCP Data received {"connection_id":206963,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:05:07] local.INFO: Processing buffer {"connection_id":206963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:05:07] local.INFO: Packet analysis {"connection_id":206963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:05:07] local.INFO: Extracted packet for processing {"connection_id":206963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:05:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":30,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531460352001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:05: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-10-05 00:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791138818000,"timestamp_ms":1791138818000,"timestamp_seconds":1791138818,"priority":1,"record_length":96,"hex_timestamp":"000001a1083167d0"} 
[2026-10-05 00:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:05:07] 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-10-05 00:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 00:05:07] 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-10-05 00:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":206963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":206963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":206963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531460352001,"66":25593,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531460352001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:05:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:05:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531460352001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":206963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:05:07] local.INFO: GPS data processed {"connection_id":206963,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:05:07] local.INFO: Acknowledgment sent {"connection_id":206963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:05:37] local.INFO: TCP Data received {"connection_id":206964,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:05:37] local.INFO: Processing buffer {"connection_id":206964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:05:37] local.INFO: Packet analysis {"connection_id":206964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:05:37] local.INFO: Extracted packet for processing {"connection_id":206964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:05:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531456256001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791138802000,"timestamp_ms":1791138802000,"timestamp_seconds":1791138802,"priority":1,"record_length":96,"hex_timestamp":"000001a108312950"} 
[2026-10-05 00:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:05:37] 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-10-05 00:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:05:37] 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-10-05 00:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:05: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-10-05 00:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531456256001,"66":12711,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531456256001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:05:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:05:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531456256001,"power":12711,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":206964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964194,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:05:37] local.INFO: GPS data processed {"connection_id":206964,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:05:37] local.INFO: Acknowledgment sent {"connection_id":206964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:05:38] local.INFO: TCP Data received {"connection_id":206963,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:05:38] local.INFO: Processing buffer {"connection_id":206963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:05:38] local.INFO: Packet analysis {"connection_id":206963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:05:38] local.INFO: Extracted packet for processing {"connection_id":206963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:05:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":30,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531460352001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791138818000,"timestamp_ms":1791138818000,"timestamp_seconds":1791138818,"priority":1,"record_length":96,"hex_timestamp":"000001a1083167d0"} 
[2026-10-05 00:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:05:38] 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-10-05 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 00:05:38] 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-10-05 00: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-10-05 00:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":206963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":206963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":206963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531460352001,"66":25593,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531460352001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:05:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:05:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531460352001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":206963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:05:38] local.INFO: GPS data processed {"connection_id":206963,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:05:38] local.INFO: Acknowledgment sent {"connection_id":206963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:05:56] local.INFO: TCP Data received {"connection_id":203949,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:05:56] local.INFO: Processing buffer {"connection_id":203949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:05:56] local.INFO: IMEI packet received {"connection_id":203949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":203949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:06:01] local.INFO: TCP Data received {"connection_id":203950,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:06:01] local.INFO: Processing buffer {"connection_id":203950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:06:01] local.INFO: IMEI packet received {"connection_id":203950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":203950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:06:01] local.INFO: TCP Data received {"connection_id":203949,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:06:01] local.INFO: Processing buffer {"connection_id":203949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:06:01] local.INFO: IMEI packet received {"connection_id":203949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":203949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:06:02] local.INFO: TCP Data received {"connection_id":203949,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:06:02] local.INFO: Processing buffer {"connection_id":203949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:06:02] local.INFO: Packet analysis {"connection_id":203949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:06:02] local.INFO: Extracted packet for processing {"connection_id":203949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":30,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531460352001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:06: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-10-05 00:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791138818000,"timestamp_ms":1791138818000,"timestamp_seconds":1791138818,"priority":1,"record_length":96,"hex_timestamp":"000001a1083167d0"} 
[2026-10-05 00:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:06: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-10-05 00:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 00:06:02] 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-10-05 00: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-10-05 00:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:06: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-10-05 00:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531460352001,"66":25593,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531460352001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:06:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:06:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531460352001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":203949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:06:02] local.INFO: GPS data processed {"connection_id":203949,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:06:02] local.INFO: Acknowledgment sent {"connection_id":203949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:06:05] local.INFO: TCP Data received {"connection_id":203950,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:06:05] local.INFO: Processing buffer {"connection_id":203950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:06:05] local.INFO: IMEI packet received {"connection_id":203950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":203950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:06:06] local.INFO: TCP Data received {"connection_id":203950,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:06:06] local.INFO: Processing buffer {"connection_id":203950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:06:06] local.INFO: Packet analysis {"connection_id":203950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:06:06] local.INFO: Extracted packet for processing {"connection_id":203950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:06:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531456256001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791138802000,"timestamp_ms":1791138802000,"timestamp_seconds":1791138802,"priority":1,"record_length":96,"hex_timestamp":"000001a108312950"} 
[2026-10-05 00:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:06:06] 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-10-05 00: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:06:06] 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-10-05 00: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-10-05 00:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:06: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-10-05 00:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531456256001,"66":12711,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531456256001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:06:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:06:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531456256001,"power":12711,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":203950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964197,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:06:06] local.INFO: GPS data processed {"connection_id":203950,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:06:06] local.INFO: Acknowledgment sent {"connection_id":203950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:06:34] local.INFO: TCP Data received {"connection_id":203949,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:06:34] local.INFO: Processing buffer {"connection_id":203949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:06:34] local.INFO: Packet analysis {"connection_id":203949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:06:34] local.INFO: Extracted packet for processing {"connection_id":203949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:06:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":30,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531460352001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:06: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-10-05 00:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791138818000,"timestamp_ms":1791138818000,"timestamp_seconds":1791138818,"priority":1,"record_length":96,"hex_timestamp":"000001a1083167d0"} 
[2026-10-05 00:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:06:34] 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-10-05 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 00:06: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-10-05 00: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-10-05 00:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":203949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":203949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":203949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531460352001,"66":25593,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531460352001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:06:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:06:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531460352001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":203949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:06:34] local.INFO: GPS data processed {"connection_id":203949,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:06:34] local.INFO: Acknowledgment sent {"connection_id":203949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:06:38] local.INFO: TCP Data received {"connection_id":203950,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:06:38] local.INFO: Processing buffer {"connection_id":203950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:06:38] local.INFO: Packet analysis {"connection_id":203950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:06:38] local.INFO: Extracted packet for processing {"connection_id":203950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531456256001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791138802000,"timestamp_ms":1791138802000,"timestamp_seconds":1791138802,"priority":1,"record_length":96,"hex_timestamp":"000001a108312950"} 
[2026-10-05 00:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:06:38] 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-10-05 00:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:06:38] 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-10-05 00:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:06: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-10-05 00:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531456256001,"66":12711,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531456256001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:06:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531456256001,"power":12711,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":203950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:06:38] local.INFO: GPS data processed {"connection_id":203950,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:06:38] local.INFO: Acknowledgment sent {"connection_id":203950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:06:56] local.INFO: TCP Data received {"connection_id":206965,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:06:56] local.INFO: Processing buffer {"connection_id":206965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:06:56] local.INFO: IMEI packet received {"connection_id":206965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":206965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:07:00] local.INFO: TCP Data received {"connection_id":205399,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:07:00] local.INFO: Processing buffer {"connection_id":205399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:07:00] local.INFO: IMEI packet received {"connection_id":205399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":205399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:07:01] local.INFO: TCP Data received {"connection_id":206965,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:07:01] local.INFO: Processing buffer {"connection_id":206965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:07:01] local.INFO: IMEI packet received {"connection_id":206965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":206965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:07:02] local.INFO: TCP Data received {"connection_id":206965,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:07:02] local.INFO: Processing buffer {"connection_id":206965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:07:02] local.INFO: Packet analysis {"connection_id":206965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:07:02] local.INFO: Extracted packet for processing {"connection_id":206965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:07:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":30,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531460352001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:07: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-10-05 00:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791138818000,"timestamp_ms":1791138818000,"timestamp_seconds":1791138818,"priority":1,"record_length":96,"hex_timestamp":"000001a1083167d0"} 
[2026-10-05 00:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:07: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-10-05 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 00:07:02] 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-10-05 00: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-10-05 00:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":206965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":206965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":206965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:07: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-10-05 00:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531460352001,"66":25593,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531460352001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:07:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:07:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531460352001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":206965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:07:02] local.INFO: GPS data processed {"connection_id":206965,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:07:02] local.INFO: Acknowledgment sent {"connection_id":206965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:07:04] local.INFO: TCP Data received {"connection_id":203951,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:07:04] local.INFO: Processing buffer {"connection_id":203951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:07:04] local.INFO: IMEI packet received {"connection_id":203951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 00:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":203951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:07:05] local.INFO: TCP Data received {"connection_id":205399,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:07:05] local.INFO: Processing buffer {"connection_id":205399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:07:05] local.INFO: IMEI packet received {"connection_id":205399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":205399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:07:06] local.INFO: TCP Data received {"connection_id":205399,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:07:06] local.INFO: Processing buffer {"connection_id":205399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:07:06] local.INFO: Packet analysis {"connection_id":205399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:07:06] local.INFO: Extracted packet for processing {"connection_id":205399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:07:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531456256001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791138802000,"timestamp_ms":1791138802000,"timestamp_seconds":1791138802,"priority":1,"record_length":96,"hex_timestamp":"000001a108312950"} 
[2026-10-05 00:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:07:06] 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-10-05 00:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:07:06] 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-10-05 00:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:07: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-10-05 00:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531456256001,"66":12711,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531456256001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:07:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:07:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531456256001,"power":12711,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":205399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964201,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:07:06] local.INFO: GPS data processed {"connection_id":205399,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:07:06] local.INFO: Acknowledgment sent {"connection_id":205399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:07:36] local.INFO: TCP Data received {"connection_id":206965,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:07:36] local.INFO: Processing buffer {"connection_id":206965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:07:36] local.INFO: Packet analysis {"connection_id":206965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:07:36] local.INFO: Extracted packet for processing {"connection_id":206965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:07:36] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":30,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531460352001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791138818000,"timestamp_ms":1791138818000,"timestamp_seconds":1791138818,"priority":1,"record_length":96,"hex_timestamp":"000001a1083167d0"} 
[2026-10-05 00:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:07:36] 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-10-05 00:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 00:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531460352001,"66":25593,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531460352001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:07:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:07:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531460352001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":206965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:07:36] local.INFO: GPS data processed {"connection_id":206965,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:07:36] local.INFO: Acknowledgment sent {"connection_id":206965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:07:37] local.INFO: TCP Data received {"connection_id":205399,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:07:37] local.INFO: Processing buffer {"connection_id":205399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:07:37] local.INFO: Packet analysis {"connection_id":205399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:07:37] local.INFO: Extracted packet for processing {"connection_id":205399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:07:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531456256001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791138802000,"timestamp_ms":1791138802000,"timestamp_seconds":1791138802,"priority":1,"record_length":96,"hex_timestamp":"000001a108312950"} 
[2026-10-05 00:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:07:37] 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-10-05 00: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:07:37] 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-10-05 00: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-10-05 00:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:07: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-10-05 00:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531456256001,"66":12711,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531456256001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:07:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:07:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531456256001,"power":12711,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":205399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:07:37] local.INFO: GPS data processed {"connection_id":205399,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:07:37] local.INFO: Acknowledgment sent {"connection_id":205399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:07:49] local.INFO: TCP Data received {"connection_id":203859,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:07:49] local.INFO: Processing buffer {"connection_id":203859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:07:49] local.INFO: IMEI packet received {"connection_id":203859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 00:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":203859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:07:56] local.INFO: TCP Data received {"connection_id":203860,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:07:56] local.INFO: Processing buffer {"connection_id":203860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:07:56] local.INFO: IMEI packet received {"connection_id":203860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":203860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:08:00] local.INFO: TCP Data received {"connection_id":203861,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:08:00] local.INFO: Processing buffer {"connection_id":203861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:08:00] local.INFO: IMEI packet received {"connection_id":203861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":203861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:08:01] local.INFO: TCP Data received {"connection_id":203860,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:08:01] local.INFO: Processing buffer {"connection_id":203860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:08:01] local.INFO: IMEI packet received {"connection_id":203860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":203860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:08:02] local.INFO: TCP Data received {"connection_id":203860,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:08:02] local.INFO: Processing buffer {"connection_id":203860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:08:02] local.INFO: Packet analysis {"connection_id":203860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:08:02] local.INFO: Extracted packet for processing {"connection_id":203860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":30,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531460352001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00: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-10-05 00:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791138818000,"timestamp_ms":1791138818000,"timestamp_seconds":1791138818,"priority":1,"record_length":96,"hex_timestamp":"000001a1083167d0"} 
[2026-10-05 00:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:08: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-10-05 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 00:08:02] 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-10-05 00: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-10-05 00:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:08: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-10-05 00:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531460352001,"66":25593,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531460352001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:08:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:08:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531460352001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":203860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:08:02] local.INFO: GPS data processed {"connection_id":203860,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:08:02] local.INFO: Acknowledgment sent {"connection_id":203860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:08:05] local.INFO: TCP Data received {"connection_id":203861,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:08:05] local.INFO: Processing buffer {"connection_id":203861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:08:05] local.INFO: IMEI packet received {"connection_id":203861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":203861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:08:06] local.INFO: TCP Data received {"connection_id":203861,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:08:06] local.INFO: Processing buffer {"connection_id":203861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108312950012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:08:06] local.INFO: Packet analysis {"connection_id":203861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:08:06] local.INFO: Extracted packet for processing {"connection_id":203861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:08:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531456256001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791138802000,"timestamp_ms":1791138802000,"timestamp_seconds":1791138802,"priority":1,"record_length":96,"hex_timestamp":"000001a108312950"} 
[2026-10-05 00:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:08:06] 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-10-05 00: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:08:06] 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-10-05 00: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-10-05 00:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:08: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-10-05 00:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531456256001,"66":12711,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531456256001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:08:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:08:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531456256001,"power":12711,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":203861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:08:06] local.INFO: GPS data processed {"connection_id":203861,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:08:06] local.INFO: Acknowledgment sent {"connection_id":203861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:08:33] local.INFO: TCP Data received {"connection_id":203860,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:08:33] local.INFO: Processing buffer {"connection_id":203860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:08:33] local.INFO: Packet analysis {"connection_id":203860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:08:33] local.INFO: Extracted packet for processing {"connection_id":203860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":30,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531460352001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:08: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-10-05 00:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791138818000,"timestamp_ms":1791138818000,"timestamp_seconds":1791138818,"priority":1,"record_length":96,"hex_timestamp":"000001a1083167d0"} 
[2026-10-05 00:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:08:33] 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-10-05 00: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":25,"data_length":795,"current_offset":136} 
[2026-10-05 00:08:33] 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-10-05 00: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-10-05 00:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531460352001,"66":25593,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531460352001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:08:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:08:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531460352001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":203860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:08:33] local.INFO: GPS data processed {"connection_id":203860,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:08:33] local.INFO: Acknowledgment sent {"connection_id":203860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:08:37] local.INFO: TCP Data received {"connection_id":203861,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10835c118012d7c2ac005dac8a0000200bf2c..."} 
[2026-10-05 00:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10835c118012d7c2ac005dac8a0000200bf2c..."} 
[2026-10-05 00:08:37] local.INFO: Processing buffer {"connection_id":203861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10835c118012d7c2ac005dac8a0000200bf2c..."} 
[2026-10-05 00:08:37] local.INFO: Packet analysis {"connection_id":203861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:08:37] local.INFO: Extracted packet for processing {"connection_id":203861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:08:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531533312001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791139103000,"timestamp_ms":1791139103000,"timestamp_seconds":1791139103,"priority":1,"record_length":96,"hex_timestamp":"000001a10835c118"} 
[2026-10-05 00:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:08:37] 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-10-05 00:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-05 00:08:37] 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-10-05 00:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:08: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-10-05 00:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531533312001,"66":12722,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531533312001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:08:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:08:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531533312001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":203861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:08:38] local.INFO: GPS data processed {"connection_id":203861,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:08:38] local.INFO: Acknowledgment sent {"connection_id":203861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:08:57] local.INFO: TCP Data received {"connection_id":206966,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:08:57] local.INFO: Processing buffer {"connection_id":206966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:08:57] local.INFO: IMEI packet received {"connection_id":206966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":206966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:09:01] local.INFO: TCP Data received {"connection_id":206966,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:09:01] local.INFO: Processing buffer {"connection_id":206966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:09:01] local.INFO: IMEI packet received {"connection_id":206966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":206966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:09:03] local.INFO: TCP Data received {"connection_id":206966,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:09:03] local.INFO: Processing buffer {"connection_id":206966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083167d0012d7f91c005afd9f0000801011e..."} 
[2026-10-05 00:09:03] local.INFO: Packet analysis {"connection_id":206966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:09:03] local.INFO: Extracted packet for processing {"connection_id":206966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10831"} 
[2026-10-05 00:09:03] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":30,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531460352001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:09: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-10-05 00:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791138818000,"timestamp_ms":1791138818000,"timestamp_seconds":1791138818,"priority":1,"record_length":96,"hex_timestamp":"000001a1083167d0"} 
[2026-10-05 00:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:09:03] 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-10-05 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 00:09: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-10-05 00: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-10-05 00:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":206966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":206966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":206966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531460352001,"66":25593,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531460352001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:09:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:09:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531460352001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":206966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:09:03] local.INFO: GPS data processed {"connection_id":206966,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:09:03] local.INFO: Acknowledgment sent {"connection_id":206966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:09:15] local.INFO: TCP Data received {"connection_id":205400,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:09:15] local.INFO: Processing buffer {"connection_id":205400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:09:15] local.INFO: IMEI packet received {"connection_id":205400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":205400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:09:20] local.INFO: TCP Data received {"connection_id":205400,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:09:20] local.INFO: Processing buffer {"connection_id":205400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:09:20] local.INFO: IMEI packet received {"connection_id":205400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":205400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:09:22] local.INFO: TCP Data received {"connection_id":205400,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10835c118012d7c2ac005dac8a0000200bf2c..."} 
[2026-10-05 00:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10835c118012d7c2ac005dac8a0000200bf2c..."} 
[2026-10-05 00:09:22] local.INFO: Processing buffer {"connection_id":205400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10835c118012d7c2ac005dac8a0000200bf2c..."} 
[2026-10-05 00:09:22] local.INFO: Packet analysis {"connection_id":205400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:09:22] local.INFO: Extracted packet for processing {"connection_id":205400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:09:22] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531533312001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791139103000,"timestamp_ms":1791139103000,"timestamp_seconds":1791139103,"priority":1,"record_length":96,"hex_timestamp":"000001a10835c118"} 
[2026-10-05 00:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:09:22] 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-10-05 00:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-05 00:09:22] 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-10-05 00:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":205400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":205400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":205400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:09:22] 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-10-05 00:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531533312001,"66":12722,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531533312001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:09:22] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:09:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531533312001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":205400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:09:22] local.INFO: GPS data processed {"connection_id":205400,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:09:22] local.INFO: Acknowledgment sent {"connection_id":205400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:09:34] local.INFO: TCP Data received {"connection_id":206966,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:09:34] local.INFO: Processing buffer {"connection_id":206966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:09:34] local.INFO: Packet analysis {"connection_id":206966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:09:34] local.INFO: Extracted packet for processing {"connection_id":206966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:09:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531537408001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:09: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-10-05 00:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791139119000,"timestamp_ms":1791139119000,"timestamp_seconds":1791139119,"priority":1,"record_length":96,"hex_timestamp":"000001a10835ff98"} 
[2026-10-05 00:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:09:34] 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-10-05 00: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 00:09: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-10-05 00: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-10-05 00:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":206966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":206966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":206966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531537408001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531537408001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:09:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:09:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531537408001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":206966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:09:34] local.INFO: GPS data processed {"connection_id":206966,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:09:34] local.INFO: Acknowledgment sent {"connection_id":206966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:09:56] local.INFO: TCP Data received {"connection_id":203862,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:09:56] local.INFO: Processing buffer {"connection_id":203862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:09:56] local.INFO: IMEI packet received {"connection_id":203862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":203862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:10:00] local.INFO: TCP Data received {"connection_id":203953,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:10:00] local.INFO: Processing buffer {"connection_id":203953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:10:00] local.INFO: IMEI packet received {"connection_id":203953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":203953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:10:01] local.INFO: TCP Data received {"connection_id":203862,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:10:01] local.INFO: Processing buffer {"connection_id":203862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:10:01] local.INFO: IMEI packet received {"connection_id":203862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":203862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:10:02] local.INFO: TCP Data received {"connection_id":203862,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:10:02] local.INFO: Processing buffer {"connection_id":203862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:10:02] local.INFO: Packet analysis {"connection_id":203862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:10:02] local.INFO: Extracted packet for processing {"connection_id":203862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531537408001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:10: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-10-05 00:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791139119000,"timestamp_ms":1791139119000,"timestamp_seconds":1791139119,"priority":1,"record_length":96,"hex_timestamp":"000001a10835ff98"} 
[2026-10-05 00:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:10: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-10-05 00: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 00:10: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-10-05 00: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-10-05 00:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:10: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-10-05 00:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531537408001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531537408001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:10:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:10:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531537408001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":203862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:10:02] local.INFO: GPS data processed {"connection_id":203862,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:10:02] local.INFO: Acknowledgment sent {"connection_id":203862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:10:05] local.INFO: TCP Data received {"connection_id":203953,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:10:05] local.INFO: Processing buffer {"connection_id":203953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:10:05] local.INFO: IMEI packet received {"connection_id":203953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":203953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:10:06] local.INFO: TCP Data received {"connection_id":203953,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10835c118012d7c2ac005dac8a0000200bf2c..."} 
[2026-10-05 00:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10835c118012d7c2ac005dac8a0000200bf2c..."} 
[2026-10-05 00:10:06] local.INFO: Processing buffer {"connection_id":203953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10835c118012d7c2ac005dac8a0000200bf2c..."} 
[2026-10-05 00:10:06] local.INFO: Packet analysis {"connection_id":203953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:10:06] local.INFO: Extracted packet for processing {"connection_id":203953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531533312001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791139103000,"timestamp_ms":1791139103000,"timestamp_seconds":1791139103,"priority":1,"record_length":96,"hex_timestamp":"000001a10835c118"} 
[2026-10-05 00:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:10:06] 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-10-05 00: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-05 00:10:06] 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-10-05 00:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:10: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-10-05 00:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531533312001,"66":12722,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531533312001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:10:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:10:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531533312001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":203953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:10:06] local.INFO: GPS data processed {"connection_id":203953,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:10:06] local.INFO: Acknowledgment sent {"connection_id":203953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:10:33] local.INFO: TCP Data received {"connection_id":203862,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:10:33] local.INFO: Processing buffer {"connection_id":203862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:10:33] local.INFO: Packet analysis {"connection_id":203862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:10:33] local.INFO: Extracted packet for processing {"connection_id":203862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531537408001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:10: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-10-05 00:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791139119000,"timestamp_ms":1791139119000,"timestamp_seconds":1791139119,"priority":1,"record_length":96,"hex_timestamp":"000001a10835ff98"} 
[2026-10-05 00:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:10:33] 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-10-05 00: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 00:10: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-10-05 00: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-10-05 00:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531537408001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531537408001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:10:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:10:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531537408001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":203862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:10:33] local.INFO: GPS data processed {"connection_id":203862,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:10:33] local.INFO: Acknowledgment sent {"connection_id":203862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:10:37] local.INFO: TCP Data received {"connection_id":203953,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10835c118012d7c2ac005dac8a0000200bf2c..."} 
[2026-10-05 00:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10835c118012d7c2ac005dac8a0000200bf2c..."} 
[2026-10-05 00:10:37] local.INFO: Processing buffer {"connection_id":203953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10835c118012d7c2ac005dac8a0000200bf2c..."} 
[2026-10-05 00:10:37] local.INFO: Packet analysis {"connection_id":203953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:10:37] local.INFO: Extracted packet for processing {"connection_id":203953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:10:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531533312001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791139103000,"timestamp_ms":1791139103000,"timestamp_seconds":1791139103,"priority":1,"record_length":96,"hex_timestamp":"000001a10835c118"} 
[2026-10-05 00:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:10:37] 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-10-05 00:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-05 00:10:37] 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-10-05 00:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:10: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-10-05 00:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531533312001,"66":12722,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531533312001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:10:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:10:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531533312001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":203953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:10:37] local.INFO: GPS data processed {"connection_id":203953,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:10:37] local.INFO: Acknowledgment sent {"connection_id":203953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:11:00] local.INFO: TCP Data received {"connection_id":206967,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:11:00] local.INFO: Processing buffer {"connection_id":206967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:11:00] local.INFO: IMEI packet received {"connection_id":206967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":206967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:11:01] local.INFO: TCP Data received {"connection_id":205403,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:11:01] local.INFO: Processing buffer {"connection_id":205403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:11:01] local.INFO: IMEI packet received {"connection_id":205403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":205403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:11:05] local.INFO: TCP Data received {"connection_id":206967,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:11:05] local.INFO: Processing buffer {"connection_id":206967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:11:05] local.INFO: IMEI packet received {"connection_id":206967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":206967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:11:06] local.INFO: TCP Data received {"connection_id":206967,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10835c118012d7c2ac005dac8a0000200bf2c..."} 
[2026-10-05 00:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10835c118012d7c2ac005dac8a0000200bf2c..."} 
[2026-10-05 00:11:06] local.INFO: Processing buffer {"connection_id":206967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10835c118012d7c2ac005dac8a0000200bf2c..."} 
[2026-10-05 00:11:06] local.INFO: Packet analysis {"connection_id":206967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:11:06] local.INFO: Extracted packet for processing {"connection_id":206967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:11:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 00:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531533312001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791139103000,"timestamp_ms":1791139103000,"timestamp_seconds":1791139103,"priority":1,"record_length":96,"hex_timestamp":"000001a10835c118"} 
[2026-10-05 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-10-05 00:11:06] 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-10-05 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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-05 00:11:06] 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-10-05 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-10-05 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-10-05 00:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":206967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":206967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":206967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:11: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-10-05 00:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531533312001,"66":12722,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531533312001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:11:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:11:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531533312001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":206967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:11:06] local.INFO: GPS data processed {"connection_id":206967,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:11:06] local.INFO: Acknowledgment sent {"connection_id":206967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:11:06] local.INFO: TCP Data received {"connection_id":205403,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:11:06] local.INFO: Processing buffer {"connection_id":205403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:11:06] local.INFO: IMEI packet received {"connection_id":205403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":205403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:11:07] local.INFO: TCP Data received {"connection_id":205403,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:11:07] local.INFO: Processing buffer {"connection_id":205403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:11:07] local.INFO: Packet analysis {"connection_id":205403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:11:07] local.INFO: Extracted packet for processing {"connection_id":205403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:11:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531537408001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:11: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-10-05 00:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791139119000,"timestamp_ms":1791139119000,"timestamp_seconds":1791139119,"priority":1,"record_length":96,"hex_timestamp":"000001a10835ff98"} 
[2026-10-05 00:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:11:07] 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-10-05 00:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 00:11: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-10-05 00:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531537408001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531537408001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:11:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:11:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531537408001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":205403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:11:07] local.INFO: GPS data processed {"connection_id":205403,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:11:07] local.INFO: Acknowledgment sent {"connection_id":205403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:11:12] local.INFO: TCP Data received {"connection_id":205403,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:11:12] local.INFO: Processing buffer {"connection_id":205403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:11:12] local.INFO: Packet analysis {"connection_id":205403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:11:12] local.INFO: Extracted packet for processing {"connection_id":205403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:11:12] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531537408001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791139119000,"timestamp_ms":1791139119000,"timestamp_seconds":1791139119,"priority":1,"record_length":96,"hex_timestamp":"000001a10835ff98"} 
[2026-10-05 00:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:11:12] 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-10-05 00: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 00:11:12] 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-10-05 00:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":205403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":205403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":205403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531537408001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531537408001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:11:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:11:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531537408001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":205403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:11:12] local.INFO: GPS data processed {"connection_id":205403,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:11:12] local.INFO: Acknowledgment sent {"connection_id":205403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:11:37] local.INFO: TCP Data received {"connection_id":206967,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10835c118012d7c2ac005dac8a0000200bf2c..."} 
[2026-10-05 00:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10835c118012d7c2ac005dac8a0000200bf2c..."} 
[2026-10-05 00:11:37] local.INFO: Processing buffer {"connection_id":206967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10835c118012d7c2ac005dac8a0000200bf2c..."} 
[2026-10-05 00:11:37] local.INFO: Packet analysis {"connection_id":206967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:11:37] local.INFO: Extracted packet for processing {"connection_id":206967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:11:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531533312001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791139103000,"timestamp_ms":1791139103000,"timestamp_seconds":1791139103,"priority":1,"record_length":96,"hex_timestamp":"000001a10835c118"} 
[2026-10-05 00:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:11:37] 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-10-05 00: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-05 00:11:37] 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-10-05 00:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:11: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-10-05 00:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531533312001,"66":12722,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531533312001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:11:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:11:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531533312001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":206967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:11:37] local.INFO: GPS data processed {"connection_id":206967,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:11:37] local.INFO: Acknowledgment sent {"connection_id":206967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:11:56] local.INFO: TCP Data received {"connection_id":203864,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:11:56] local.INFO: Processing buffer {"connection_id":203864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:11:56] local.INFO: IMEI packet received {"connection_id":203864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":203864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:12:00] local.INFO: TCP Data received {"connection_id":206968,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:12:00] local.INFO: Processing buffer {"connection_id":206968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:12:00] local.INFO: IMEI packet received {"connection_id":206968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":206968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:12:01] local.INFO: TCP Data received {"connection_id":203864,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:12:01] local.INFO: Processing buffer {"connection_id":203864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:12:01] local.INFO: IMEI packet received {"connection_id":203864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":203864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:12:02] local.INFO: TCP Data received {"connection_id":203864,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:12:02] local.INFO: Processing buffer {"connection_id":203864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:12:02] local.INFO: Packet analysis {"connection_id":203864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:12:02] local.INFO: Extracted packet for processing {"connection_id":203864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:12:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531537408001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:12: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-10-05 00:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791139119000,"timestamp_ms":1791139119000,"timestamp_seconds":1791139119,"priority":1,"record_length":96,"hex_timestamp":"000001a10835ff98"} 
[2026-10-05 00:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:12: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-10-05 00: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 00:12: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-10-05 00: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-10-05 00:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:12: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-10-05 00:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531537408001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531537408001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:12:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:12:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531537408001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":203864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:12:02] local.INFO: GPS data processed {"connection_id":203864,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:12:02] local.INFO: Acknowledgment sent {"connection_id":203864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:12:05] local.INFO: TCP Data received {"connection_id":206968,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:12:05] local.INFO: Processing buffer {"connection_id":206968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:12:05] local.INFO: IMEI packet received {"connection_id":206968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":206968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:12:06] local.INFO: TCP Data received {"connection_id":206968,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10835c118012d7c2ac005dac8a0000200bf2c..."} 
[2026-10-05 00:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10835c118012d7c2ac005dac8a0000200bf2c..."} 
[2026-10-05 00:12:06] local.INFO: Processing buffer {"connection_id":206968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10835c118012d7c2ac005dac8a0000200bf2c..."} 
[2026-10-05 00:12:06] local.INFO: Packet analysis {"connection_id":206968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:12:06] local.INFO: Extracted packet for processing {"connection_id":206968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:12:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531533312001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791139103000,"timestamp_ms":1791139103000,"timestamp_seconds":1791139103,"priority":1,"record_length":96,"hex_timestamp":"000001a10835c118"} 
[2026-10-05 00:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:12:06] 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-10-05 00: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-05 00:12:06] 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-10-05 00: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-10-05 00:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":206968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":206968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":206968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:12: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-10-05 00:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531533312001,"66":12722,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531533312001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:12:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:12:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531533312001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":206968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:12:06] local.INFO: GPS data processed {"connection_id":206968,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:12:06] local.INFO: Acknowledgment sent {"connection_id":206968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:12:33] local.INFO: TCP Data received {"connection_id":203864,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:12:33] local.INFO: Processing buffer {"connection_id":203864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:12:33] local.INFO: Packet analysis {"connection_id":203864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:12:33] local.INFO: Extracted packet for processing {"connection_id":203864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531537408001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:12: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-10-05 00:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791139119000,"timestamp_ms":1791139119000,"timestamp_seconds":1791139119,"priority":1,"record_length":96,"hex_timestamp":"000001a10835ff98"} 
[2026-10-05 00:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:12:33] 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-10-05 00: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 00:12: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-10-05 00: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-10-05 00:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531537408001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531537408001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:12:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:12:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531537408001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":203864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:12:33] local.INFO: GPS data processed {"connection_id":203864,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:12:33] local.INFO: Acknowledgment sent {"connection_id":203864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:12:38] local.INFO: TCP Data received {"connection_id":206968,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10835c118012d7c2ac005dac8a0000200bf2c..."} 
[2026-10-05 00:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10835c118012d7c2ac005dac8a0000200bf2c..."} 
[2026-10-05 00:12:38] local.INFO: Processing buffer {"connection_id":206968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10835c118012d7c2ac005dac8a0000200bf2c..."} 
[2026-10-05 00:12:38] local.INFO: Packet analysis {"connection_id":206968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:12:38] local.INFO: Extracted packet for processing {"connection_id":206968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:12:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531533312001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791139103000,"timestamp_ms":1791139103000,"timestamp_seconds":1791139103,"priority":1,"record_length":96,"hex_timestamp":"000001a10835c118"} 
[2026-10-05 00:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:12:38] 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-10-05 00: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-05 00:12:38] 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-10-05 00: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-10-05 00:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":206968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":206968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":206968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:12: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-10-05 00:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531533312001,"66":12722,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531533312001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:12:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:12:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531533312001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":206968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:12:38] local.INFO: GPS data processed {"connection_id":206968,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:12:38] local.INFO: Acknowledgment sent {"connection_id":206968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:12:56] local.INFO: TCP Data received {"connection_id":203955,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:12:56] local.INFO: Processing buffer {"connection_id":203955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:12:56] local.INFO: IMEI packet received {"connection_id":203955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":203955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:13:00] local.INFO: TCP Data received {"connection_id":203956,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:13:00] local.INFO: Processing buffer {"connection_id":203956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:13:00] local.INFO: IMEI packet received {"connection_id":203956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":203956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:13:01] local.INFO: TCP Data received {"connection_id":203955,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:13:01] local.INFO: Processing buffer {"connection_id":203955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:13:01] local.INFO: IMEI packet received {"connection_id":203955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":203955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:13:02] local.INFO: TCP Data received {"connection_id":203955,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:13:02] local.INFO: Processing buffer {"connection_id":203955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:13:02] local.INFO: Packet analysis {"connection_id":203955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:13:02] local.INFO: Extracted packet for processing {"connection_id":203955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:13:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531537408001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:13: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-10-05 00:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791139119000,"timestamp_ms":1791139119000,"timestamp_seconds":1791139119,"priority":1,"record_length":96,"hex_timestamp":"000001a10835ff98"} 
[2026-10-05 00:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:13: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-10-05 00:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 00:13: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-10-05 00: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-10-05 00:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531537408001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531537408001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:13:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:13:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531537408001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":203955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:13:02] local.INFO: GPS data processed {"connection_id":203955,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:13:02] local.INFO: Acknowledgment sent {"connection_id":203955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:13:04] local.INFO: TCP Data received {"connection_id":203954,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203954,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:13:04] local.INFO: Processing buffer {"connection_id":203954,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:13:04] local.INFO: IMEI packet received {"connection_id":203954,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 00:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":203954,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:13:05] local.INFO: TCP Data received {"connection_id":203956,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:13:05] local.INFO: Processing buffer {"connection_id":203956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:13:05] local.INFO: IMEI packet received {"connection_id":203956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":203956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:13:06] local.INFO: TCP Data received {"connection_id":203956,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10835c118012d7c2ac005dac8a0000200bf2c..."} 
[2026-10-05 00:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10835c118012d7c2ac005dac8a0000200bf2c..."} 
[2026-10-05 00:13:06] local.INFO: Processing buffer {"connection_id":203956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10835c118012d7c2ac005dac8a0000200bf2c..."} 
[2026-10-05 00:13:06] local.INFO: Packet analysis {"connection_id":203956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:13:06] local.INFO: Extracted packet for processing {"connection_id":203956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:13:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531533312001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791139103000,"timestamp_ms":1791139103000,"timestamp_seconds":1791139103,"priority":1,"record_length":96,"hex_timestamp":"000001a10835c118"} 
[2026-10-05 00:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:13:06] 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-10-05 00: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-05 00:13:06] 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-10-05 00:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:13: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-10-05 00:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531533312001,"66":12722,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531533312001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:13:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:13:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531533312001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":203956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:13:06] local.INFO: GPS data processed {"connection_id":203956,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:13:06] local.INFO: Acknowledgment sent {"connection_id":203956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:13:33] local.INFO: TCP Data received {"connection_id":203955,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:13:33] local.INFO: Processing buffer {"connection_id":203955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:13:33] local.INFO: Packet analysis {"connection_id":203955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:13:33] local.INFO: Extracted packet for processing {"connection_id":203955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531537408001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:13: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-10-05 00:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791139119000,"timestamp_ms":1791139119000,"timestamp_seconds":1791139119,"priority":1,"record_length":96,"hex_timestamp":"000001a10835ff98"} 
[2026-10-05 00:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:13:33] 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-10-05 00: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 00:13: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-10-05 00:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531537408001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531537408001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:13:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:13:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531537408001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":203955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:13:33] local.INFO: GPS data processed {"connection_id":203955,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:13:33] local.INFO: Acknowledgment sent {"connection_id":203955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:13:37] local.INFO: TCP Data received {"connection_id":203956,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:13:37] local.INFO: Processing buffer {"connection_id":203956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:13:37] local.INFO: Packet analysis {"connection_id":203956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:13:37] local.INFO: Extracted packet for processing {"connection_id":203956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:13:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531610368001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791139404000,"timestamp_ms":1791139404000,"timestamp_seconds":1791139404,"priority":1,"record_length":96,"hex_timestamp":"000001a1083a58e0"} 
[2026-10-05 00:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:13:37] 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-10-05 00:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:13: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-10-05 00:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531610368001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531610368001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:13:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:13:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531610368001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":203956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:13:37] local.INFO: GPS data processed {"connection_id":203956,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:13:37] local.INFO: Acknowledgment sent {"connection_id":203956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:13:43] local.INFO: TCP Data received {"connection_id":203865,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:13:43] local.INFO: Processing buffer {"connection_id":203865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:13:43] local.INFO: IMEI packet received {"connection_id":203865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 00:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":203865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:13:57] local.INFO: TCP Data received {"connection_id":206969,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:13:57] local.INFO: Processing buffer {"connection_id":206969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:13:57] local.INFO: IMEI packet received {"connection_id":206969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":206969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:14:01] local.INFO: TCP Data received {"connection_id":206969,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:14:01] local.INFO: Processing buffer {"connection_id":206969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:14:01] local.INFO: IMEI packet received {"connection_id":206969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":206969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:14:02] local.INFO: TCP Data received {"connection_id":206969,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:14:02] local.INFO: Processing buffer {"connection_id":206969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10835ff98012d7f91c005afd9f00006010121..."} 
[2026-10-05 00:14:02] local.INFO: Packet analysis {"connection_id":206969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:14:02] local.INFO: Extracted packet for processing {"connection_id":206969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10835"} 
[2026-10-05 00:14:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531537408001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:14: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-10-05 00:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791139119000,"timestamp_ms":1791139119000,"timestamp_seconds":1791139119,"priority":1,"record_length":96,"hex_timestamp":"000001a10835ff98"} 
[2026-10-05 00:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:14: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-10-05 00: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 00:14: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-10-05 00: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-10-05 00:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":206969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":206969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":206969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531537408001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531537408001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:14:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:14:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531537408001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":206969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:14:02] local.INFO: GPS data processed {"connection_id":206969,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:14:02] local.INFO: Acknowledgment sent {"connection_id":206969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:14:05] local.INFO: TCP Data received {"connection_id":205404,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:14:05] local.INFO: Processing buffer {"connection_id":205404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:14:05] local.INFO: IMEI packet received {"connection_id":205404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":205404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:14:10] local.INFO: TCP Data received {"connection_id":205404,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:14:10] local.INFO: Processing buffer {"connection_id":205404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:14:10] local.INFO: IMEI packet received {"connection_id":205404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":205404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:14:12] local.INFO: TCP Data received {"connection_id":205404,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:14:12] local.INFO: Processing buffer {"connection_id":205404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:14:12] local.INFO: Packet analysis {"connection_id":205404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:14:12] local.INFO: Extracted packet for processing {"connection_id":205404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:14:12] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531610368001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791139404000,"timestamp_ms":1791139404000,"timestamp_seconds":1791139404,"priority":1,"record_length":96,"hex_timestamp":"000001a1083a58e0"} 
[2026-10-05 00:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":205404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":205404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":205404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:14: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-10-05 00:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531610368001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531610368001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:14:12] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:14:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531610368001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":205404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:14:12] local.INFO: GPS data processed {"connection_id":205404,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:14:12] local.INFO: Acknowledgment sent {"connection_id":205404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:14:16] local.INFO: TCP Data received {"connection_id":205404,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:14:16] local.INFO: Processing buffer {"connection_id":205404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:14:16] local.INFO: Packet analysis {"connection_id":205404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:14:16] local.INFO: Extracted packet for processing {"connection_id":205404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:14:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531610368001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791139404000,"timestamp_ms":1791139404000,"timestamp_seconds":1791139404,"priority":1,"record_length":96,"hex_timestamp":"000001a1083a58e0"} 
[2026-10-05 00:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:14:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:14:16] 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-10-05 00:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531610368001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531610368001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:14:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:14:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531610368001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":205404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:14:16] local.INFO: GPS data processed {"connection_id":205404,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:14:16] local.INFO: Acknowledgment sent {"connection_id":205404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:14:34] local.INFO: TCP Data received {"connection_id":206969,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:14:34] local.INFO: Processing buffer {"connection_id":206969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:14:34] local.INFO: Packet analysis {"connection_id":206969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:14:34] local.INFO: Extracted packet for processing {"connection_id":206969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:14:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531614464001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:14: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-10-05 00:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791139420000,"timestamp_ms":1791139420000,"timestamp_seconds":1791139420,"priority":1,"record_length":96,"hex_timestamp":"000001a1083a9760"} 
[2026-10-05 00:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 00:14:34] 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-10-05 00:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":206969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":206969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":206969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531614464001,"66":25343,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531614464001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:14:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:14:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531614464001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":206969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:14:34] local.INFO: GPS data processed {"connection_id":206969,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:14:34] local.INFO: Acknowledgment sent {"connection_id":206969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:14:56] local.INFO: TCP Data received {"connection_id":203866,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:14:56] local.INFO: Processing buffer {"connection_id":203866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:14:56] local.INFO: IMEI packet received {"connection_id":203866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":203866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:15:00] local.INFO: TCP Data received {"connection_id":205406,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:15:00] local.INFO: Processing buffer {"connection_id":205406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:15:00] local.INFO: IMEI packet received {"connection_id":205406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":205406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:15:01] local.INFO: TCP Data received {"connection_id":203866,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:15:01] local.INFO: Processing buffer {"connection_id":203866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:15:01] local.INFO: IMEI packet received {"connection_id":203866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":203866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:15:02] local.INFO: TCP Data received {"connection_id":203866,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:15:02] local.INFO: Processing buffer {"connection_id":203866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:15:02] local.INFO: Packet analysis {"connection_id":203866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:15:02] local.INFO: Extracted packet for processing {"connection_id":203866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:15:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531614464001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:15: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-10-05 00:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791139420000,"timestamp_ms":1791139420000,"timestamp_seconds":1791139420,"priority":1,"record_length":96,"hex_timestamp":"000001a1083a9760"} 
[2026-10-05 00:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 00:15:02] 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-10-05 00: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-10-05 00:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:15: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-10-05 00:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531614464001,"66":25343,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531614464001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:15:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:15:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531614464001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":203866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:15:03] local.INFO: GPS data processed {"connection_id":203866,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:15:03] local.INFO: Acknowledgment sent {"connection_id":203866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:15:05] local.INFO: TCP Data received {"connection_id":205406,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:15:05] local.INFO: Processing buffer {"connection_id":205406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:15:05] local.INFO: IMEI packet received {"connection_id":205406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":205406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:15:06] local.INFO: TCP Data received {"connection_id":205406,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:15:06] local.INFO: Processing buffer {"connection_id":205406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:15:06] local.INFO: Packet analysis {"connection_id":205406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:15:06] local.INFO: Extracted packet for processing {"connection_id":205406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:15:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531610368001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791139404000,"timestamp_ms":1791139404000,"timestamp_seconds":1791139404,"priority":1,"record_length":96,"hex_timestamp":"000001a1083a58e0"} 
[2026-10-05 00:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:15:06] 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-10-05 00: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-10-05 00:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:15: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-10-05 00:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531610368001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531610368001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:15:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:15:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531610368001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":205406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964232,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:15:06] local.INFO: GPS data processed {"connection_id":205406,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:15:06] local.INFO: Acknowledgment sent {"connection_id":205406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:15:11] local.INFO: TCP Data received {"connection_id":205406,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:15:11] local.INFO: Processing buffer {"connection_id":205406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:15:11] local.INFO: Packet analysis {"connection_id":205406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:15:11] local.INFO: Extracted packet for processing {"connection_id":205406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:15:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531610368001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791139404000,"timestamp_ms":1791139404000,"timestamp_seconds":1791139404,"priority":1,"record_length":96,"hex_timestamp":"000001a1083a58e0"} 
[2026-10-05 00:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:15:11] 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-10-05 00:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:15:11] 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-10-05 00:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531610368001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531610368001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:15:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531610368001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":205406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:15:11] local.INFO: GPS data processed {"connection_id":205406,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:15:11] local.INFO: Acknowledgment sent {"connection_id":205406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:15:34] local.INFO: TCP Data received {"connection_id":203866,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:15:34] local.INFO: Processing buffer {"connection_id":203866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:15:34] local.INFO: Packet analysis {"connection_id":203866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:15:34] local.INFO: Extracted packet for processing {"connection_id":203866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:15:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531614464001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:15: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-10-05 00:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791139420000,"timestamp_ms":1791139420000,"timestamp_seconds":1791139420,"priority":1,"record_length":96,"hex_timestamp":"000001a1083a9760"} 
[2026-10-05 00:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 00:15:34] 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-10-05 00: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-10-05 00:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":203866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":203866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":203866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531614464001,"66":25343,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531614464001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:15:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:15:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531614464001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":203866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:15:34] local.INFO: GPS data processed {"connection_id":203866,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:15:34] local.INFO: Acknowledgment sent {"connection_id":203866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:15:42] local.INFO: TCP Data received {"connection_id":205406,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:15:42] local.INFO: Processing buffer {"connection_id":205406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:15:42] local.INFO: Packet analysis {"connection_id":205406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:15:42] local.INFO: Extracted packet for processing {"connection_id":205406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:15:42] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:15: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-10-05 00:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531610368001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791139404000,"timestamp_ms":1791139404000,"timestamp_seconds":1791139404,"priority":1,"record_length":96,"hex_timestamp":"000001a1083a58e0"} 
[2026-10-05 00:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00:15: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-10-05 00:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":205406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":205406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":205406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:15:42] 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-10-05 00:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531610368001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531610368001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:15:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:15:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531610368001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":205406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964235,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:15:42] local.INFO: GPS data processed {"connection_id":205406,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:15:42] local.INFO: Acknowledgment sent {"connection_id":205406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:16:00] local.INFO: TCP Data received {"connection_id":203958,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203958,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:16:00] local.INFO: Processing buffer {"connection_id":203958,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:16:00] local.INFO: IMEI packet received {"connection_id":203958,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":203958,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:16:01] local.INFO: TCP Data received {"connection_id":203959,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:16:01] local.INFO: Processing buffer {"connection_id":203959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:16:01] local.INFO: IMEI packet received {"connection_id":203959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":203959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:16:05] local.INFO: TCP Data received {"connection_id":203958,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203958,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:16:05] local.INFO: Processing buffer {"connection_id":203958,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:16:05] local.INFO: IMEI packet received {"connection_id":203958,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":203958,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:16:06] local.INFO: TCP Data received {"connection_id":203959,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:16:06] local.INFO: Processing buffer {"connection_id":203959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:16:06] local.INFO: IMEI packet received {"connection_id":203959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":203959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:16:06] local.INFO: TCP Data received {"connection_id":203958,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:16:06] local.INFO: Processing buffer {"connection_id":203958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:16:06] local.INFO: Packet analysis {"connection_id":203958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:16:06] local.INFO: Extracted packet for processing {"connection_id":203958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:16:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531610368001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791139404000,"timestamp_ms":1791139404000,"timestamp_seconds":1791139404,"priority":1,"record_length":96,"hex_timestamp":"000001a1083a58e0"} 
[2026-10-05 00:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:16:06] 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-10-05 00:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:16: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-10-05 00:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531610368001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531610368001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:16:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:16:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531610368001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":203958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:16:06] local.INFO: GPS data processed {"connection_id":203958,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:16:06] local.INFO: Acknowledgment sent {"connection_id":203958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:16:07] local.INFO: TCP Data received {"connection_id":203959,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:16:07] local.INFO: Processing buffer {"connection_id":203959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:16:07] local.INFO: Packet analysis {"connection_id":203959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:16:07] local.INFO: Extracted packet for processing {"connection_id":203959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:16:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531614464001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:16: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-10-05 00:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791139420000,"timestamp_ms":1791139420000,"timestamp_seconds":1791139420,"priority":1,"record_length":96,"hex_timestamp":"000001a1083a9760"} 
[2026-10-05 00:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 00:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":203959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":203959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":203959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531614464001,"66":25343,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531614464001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:16:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:16:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531614464001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":203959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:16:07] local.INFO: GPS data processed {"connection_id":203959,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:16:07] local.INFO: Acknowledgment sent {"connection_id":203959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:16:38] local.INFO: TCP Data received {"connection_id":203958,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:16:38] local.INFO: Processing buffer {"connection_id":203958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:16:38] local.INFO: Packet analysis {"connection_id":203958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:16:38] local.INFO: Extracted packet for processing {"connection_id":203958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:16:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531610368001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791139404000,"timestamp_ms":1791139404000,"timestamp_seconds":1791139404,"priority":1,"record_length":96,"hex_timestamp":"000001a1083a58e0"} 
[2026-10-05 00:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:16:38] 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-10-05 00: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-10-05 00:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:16: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-10-05 00:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531610368001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531610368001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:16:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:16:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531610368001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":203958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:16:38] local.INFO: GPS data processed {"connection_id":203958,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:16:38] local.INFO: Acknowledgment sent {"connection_id":203958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:16:39] local.INFO: TCP Data received {"connection_id":203959,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:16:39] local.INFO: Processing buffer {"connection_id":203959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:16:39] local.INFO: Packet analysis {"connection_id":203959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:16:39] local.INFO: Extracted packet for processing {"connection_id":203959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:16:39] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531614464001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791139420000,"timestamp_ms":1791139420000,"timestamp_seconds":1791139420,"priority":1,"record_length":96,"hex_timestamp":"000001a1083a9760"} 
[2026-10-05 00:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 00:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":203959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":203959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":203959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531614464001,"66":25343,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531614464001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:16:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:16:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531614464001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":203959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:16:39] local.INFO: GPS data processed {"connection_id":203959,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:16:39] local.INFO: Acknowledgment sent {"connection_id":203959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:16:56] local.INFO: TCP Data received {"connection_id":206970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:16:56] local.INFO: Processing buffer {"connection_id":206970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:16:56] local.INFO: IMEI packet received {"connection_id":206970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":206970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:17:00] local.INFO: TCP Data received {"connection_id":205407,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:17:00] local.INFO: Processing buffer {"connection_id":205407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:17:00] local.INFO: IMEI packet received {"connection_id":205407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":205407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:17:01] local.INFO: TCP Data received {"connection_id":206970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:17:01] local.INFO: Processing buffer {"connection_id":206970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:17:01] local.INFO: IMEI packet received {"connection_id":206970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":206970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:17:02] local.INFO: TCP Data received {"connection_id":206970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:17:02] local.INFO: Processing buffer {"connection_id":206970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:17:02] local.INFO: Packet analysis {"connection_id":206970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:17:02] local.INFO: Extracted packet for processing {"connection_id":206970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:17:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531614464001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:17: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-10-05 00:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791139420000,"timestamp_ms":1791139420000,"timestamp_seconds":1791139420,"priority":1,"record_length":96,"hex_timestamp":"000001a1083a9760"} 
[2026-10-05 00:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 00:17:02] 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-10-05 00: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-10-05 00:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":206970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":206970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":206970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:17: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-10-05 00:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531614464001,"66":25343,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531614464001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:17:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:17:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531614464001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":206970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:17:02] local.INFO: GPS data processed {"connection_id":206970,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:17:02] local.INFO: Acknowledgment sent {"connection_id":206970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:17:05] local.INFO: TCP Data received {"connection_id":205407,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:17:05] local.INFO: Processing buffer {"connection_id":205407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:17:05] local.INFO: IMEI packet received {"connection_id":205407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":205407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:17:06] local.INFO: TCP Data received {"connection_id":205407,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:17:06] local.INFO: Processing buffer {"connection_id":205407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:17:06] local.INFO: Packet analysis {"connection_id":205407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:17:06] local.INFO: Extracted packet for processing {"connection_id":205407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:17:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531610368001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791139404000,"timestamp_ms":1791139404000,"timestamp_seconds":1791139404,"priority":1,"record_length":96,"hex_timestamp":"000001a1083a58e0"} 
[2026-10-05 00:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:17:06] 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-10-05 00: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-10-05 00:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:17: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-10-05 00:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531610368001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531610368001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:17:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:17:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531610368001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":205407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:17:06] local.INFO: GPS data processed {"connection_id":205407,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:17:06] local.INFO: Acknowledgment sent {"connection_id":205407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:17:33] local.INFO: TCP Data received {"connection_id":206970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:17:33] local.INFO: Processing buffer {"connection_id":206970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:17:33] local.INFO: Packet analysis {"connection_id":206970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:17:33] local.INFO: Extracted packet for processing {"connection_id":206970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531614464001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:17: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-10-05 00:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791139420000,"timestamp_ms":1791139420000,"timestamp_seconds":1791139420,"priority":1,"record_length":96,"hex_timestamp":"000001a1083a9760"} 
[2026-10-05 00:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 00:17:33] 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-10-05 00: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-10-05 00:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":206970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":206970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":206970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531614464001,"66":25343,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531614464001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:17:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:17:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531614464001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":206970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:17:33] local.INFO: GPS data processed {"connection_id":206970,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:17:33] local.INFO: Acknowledgment sent {"connection_id":206970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:17:37] local.INFO: TCP Data received {"connection_id":205407,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:17:37] local.INFO: Processing buffer {"connection_id":205407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:17:37] local.INFO: Packet analysis {"connection_id":205407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:17:37] local.INFO: Extracted packet for processing {"connection_id":205407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:17:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531610368001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791139404000,"timestamp_ms":1791139404000,"timestamp_seconds":1791139404,"priority":1,"record_length":96,"hex_timestamp":"000001a1083a58e0"} 
[2026-10-05 00:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:17:37] 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-10-05 00: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-10-05 00:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:17: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-10-05 00:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531610368001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531610368001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:17:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:17:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531610368001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":205407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:17:37] local.INFO: GPS data processed {"connection_id":205407,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:17:37] local.INFO: Acknowledgment sent {"connection_id":205407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:17:56] local.INFO: TCP Data received {"connection_id":203868,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:17:56] local.INFO: Processing buffer {"connection_id":203868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:17:56] local.INFO: IMEI packet received {"connection_id":203868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":203868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:18:00] local.INFO: TCP Data received {"connection_id":206972,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:18:00] local.INFO: Processing buffer {"connection_id":206972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:18:00] local.INFO: IMEI packet received {"connection_id":206972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":206972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:18:01] local.INFO: TCP Data received {"connection_id":203868,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:18:01] local.INFO: Processing buffer {"connection_id":203868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:18:01] local.INFO: IMEI packet received {"connection_id":203868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":203868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:18:05] local.INFO: TCP Data received {"connection_id":206972,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:18:05] local.INFO: Processing buffer {"connection_id":206972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:18:05] local.INFO: IMEI packet received {"connection_id":206972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":206972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:18:06] local.INFO: TCP Data received {"connection_id":206972,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:18:06] local.INFO: Processing buffer {"connection_id":206972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083a58e0012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:18:06] local.INFO: Packet analysis {"connection_id":206972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:18:06] local.INFO: Extracted packet for processing {"connection_id":206972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:18:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531610368001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791139404000,"timestamp_ms":1791139404000,"timestamp_seconds":1791139404,"priority":1,"record_length":96,"hex_timestamp":"000001a1083a58e0"} 
[2026-10-05 00:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 00:18:06] 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-10-05 00:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":206972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":206972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":206972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:18: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-10-05 00:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531610368001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531610368001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:18:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:18:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531610368001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":206972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:18:06] local.INFO: GPS data processed {"connection_id":206972,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:18:06] local.INFO: Acknowledgment sent {"connection_id":206972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:18:06] local.INFO: TCP Data received {"connection_id":203868,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:18:06] local.INFO: Processing buffer {"connection_id":203868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:18:06] local.INFO: IMEI packet received {"connection_id":203868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":203868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:18:07] local.INFO: TCP Data received {"connection_id":203868,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:18:07] local.INFO: Processing buffer {"connection_id":203868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:18:07] local.INFO: Packet analysis {"connection_id":203868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:18:07] local.INFO: Extracted packet for processing {"connection_id":203868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:18:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531614464001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:18: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-10-05 00:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791139420000,"timestamp_ms":1791139420000,"timestamp_seconds":1791139420,"priority":1,"record_length":96,"hex_timestamp":"000001a1083a9760"} 
[2026-10-05 00:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 00:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":203868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":203868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":203868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531614464001,"66":25343,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531614464001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:18:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:18:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531614464001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":203868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:18:07] local.INFO: GPS data processed {"connection_id":203868,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:18:07] local.INFO: Acknowledgment sent {"connection_id":203868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:18:37] local.INFO: TCP Data received {"connection_id":206972,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:18:37] local.INFO: Processing buffer {"connection_id":206972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:18:37] local.INFO: Packet analysis {"connection_id":206972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083e"} 
[2026-10-05 00:18:37] local.INFO: Extracted packet for processing {"connection_id":206972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083e"} 
[2026-10-05 00:18:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531687424001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791139705000,"timestamp_ms":1791139705000,"timestamp_seconds":1791139705,"priority":1,"record_length":96,"hex_timestamp":"000001a1083ef0a8"} 
[2026-10-05 00:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 00:18:37] 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-10-05 00: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-10-05 00:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:18: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-10-05 00:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531687424001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531687424001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:18:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:18:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531687424001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":206972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964246,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:18:37] local.INFO: GPS data processed {"connection_id":206972,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:18:37] local.INFO: Acknowledgment sent {"connection_id":206972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:18:40] local.INFO: TCP Data received {"connection_id":203868,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:18:40] local.INFO: Processing buffer {"connection_id":203868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:18:40] local.INFO: Packet analysis {"connection_id":203868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:18:40] local.INFO: Extracted packet for processing {"connection_id":203868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:18:40] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531614464001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:18: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-10-05 00:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791139420000,"timestamp_ms":1791139420000,"timestamp_seconds":1791139420,"priority":1,"record_length":96,"hex_timestamp":"000001a1083a9760"} 
[2026-10-05 00:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 00:18:40] 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-10-05 00:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":203868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":203868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":203868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531614464001,"66":25343,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531614464001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:18:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531614464001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":203868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:18:40] local.INFO: GPS data processed {"connection_id":203868,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:18:40] local.INFO: Acknowledgment sent {"connection_id":203868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:18:57] local.INFO: TCP Data received {"connection_id":203960,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:18:57] local.INFO: Processing buffer {"connection_id":203960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:18:57] local.INFO: IMEI packet received {"connection_id":203960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":203960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:19:01] local.INFO: TCP Data received {"connection_id":203960,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:19:01] local.INFO: Processing buffer {"connection_id":203960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:19:01] local.INFO: IMEI packet received {"connection_id":203960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":203960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:19:02] local.INFO: TCP Data received {"connection_id":203960,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:19:02] local.INFO: Processing buffer {"connection_id":203960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083a9760012d7f91c005afd9f0000d01011f..."} 
[2026-10-05 00:19:02] local.INFO: Packet analysis {"connection_id":203960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:19:02] local.INFO: Extracted packet for processing {"connection_id":203960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083a"} 
[2026-10-05 00:19:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531614464001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00: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-10-05 00:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791139420000,"timestamp_ms":1791139420000,"timestamp_seconds":1791139420,"priority":1,"record_length":96,"hex_timestamp":"000001a1083a9760"} 
[2026-10-05 00:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 00:19:02] 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-10-05 00: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-10-05 00:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:19: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-10-05 00:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531614464001,"66":25343,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531614464001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:19:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:19:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531614464001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":203960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:19:02] local.INFO: GPS data processed {"connection_id":203960,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:19:02] local.INFO: Acknowledgment sent {"connection_id":203960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:19:05] local.INFO: TCP Data received {"connection_id":203961,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:19:05] local.INFO: Processing buffer {"connection_id":203961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:19:05] local.INFO: IMEI packet received {"connection_id":203961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":203961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:19:09] local.INFO: TCP Data received {"connection_id":203869,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:19:09] local.INFO: Processing buffer {"connection_id":203869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:19:09] local.INFO: IMEI packet received {"connection_id":203869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 00:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":203869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:19:10] local.INFO: TCP Data received {"connection_id":203961,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:19:10] local.INFO: Processing buffer {"connection_id":203961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:19:10] local.INFO: IMEI packet received {"connection_id":203961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":203961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:19:11] local.INFO: TCP Data received {"connection_id":203961,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:19:11] local.INFO: Processing buffer {"connection_id":203961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:19:11] local.INFO: Packet analysis {"connection_id":203961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083e"} 
[2026-10-05 00:19:11] local.INFO: Extracted packet for processing {"connection_id":203961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083e"} 
[2026-10-05 00:19:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531687424001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791139705000,"timestamp_ms":1791139705000,"timestamp_seconds":1791139705,"priority":1,"record_length":96,"hex_timestamp":"000001a1083ef0a8"} 
[2026-10-05 00:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 00:19:11] 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-10-05 00:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":203961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":203961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":203961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:19:11] 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-10-05 00:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531687424001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531687424001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:19:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531687424001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":203961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:19:12] local.INFO: GPS data processed {"connection_id":203961,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:19:12] local.INFO: Acknowledgment sent {"connection_id":203961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:19:33] local.INFO: TCP Data received {"connection_id":203960,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:19:33] local.INFO: Processing buffer {"connection_id":203960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:19:33] local.INFO: Packet analysis {"connection_id":203960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083f"} 
[2026-10-05 00:19:33] local.INFO: Extracted packet for processing {"connection_id":203960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083f"} 
[2026-10-05 00:19:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531691520001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:19: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-10-05 00:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791139721000,"timestamp_ms":1791139721000,"timestamp_seconds":1791139721,"priority":1,"record_length":96,"hex_timestamp":"000001a1083f2f28"} 
[2026-10-05 00:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 00:19:33] 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-10-05 00:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531691520001,"66":25223,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531691520001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:19:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:19:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531691520001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":203960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:19:33] local.INFO: GPS data processed {"connection_id":203960,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:19:33] local.INFO: Acknowledgment sent {"connection_id":203960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:19:43] local.INFO: TCP Data received {"connection_id":203961,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:19:43] local.INFO: Processing buffer {"connection_id":203961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:19:43] local.INFO: Packet analysis {"connection_id":203961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083e"} 
[2026-10-05 00:19:43] local.INFO: Extracted packet for processing {"connection_id":203961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083e"} 
[2026-10-05 00:19:43] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531687424001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791139705000,"timestamp_ms":1791139705000,"timestamp_seconds":1791139705,"priority":1,"record_length":96,"hex_timestamp":"000001a1083ef0a8"} 
[2026-10-05 00:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:19:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 00:19:43] 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-10-05 00:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":203961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":203961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":203961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:19:43] 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-10-05 00:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531687424001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531687424001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:19:43] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:19:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531687424001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":203961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964251,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:19:43] local.INFO: GPS data processed {"connection_id":203961,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:19:43] local.INFO: Acknowledgment sent {"connection_id":203961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:19:43] local.INFO: TCP Data received {"connection_id":203870,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:19:43] local.INFO: Processing buffer {"connection_id":203870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:19:43] local.INFO: IMEI packet received {"connection_id":203870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 00:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":203870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:20:00] local.INFO: TCP Data received {"connection_id":203871,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:20:00] local.INFO: Processing buffer {"connection_id":203871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:20:00] local.INFO: IMEI packet received {"connection_id":203871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":203871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:20:01] local.INFO: TCP Data received {"connection_id":203872,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:20:01] local.INFO: Processing buffer {"connection_id":203872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:20:01] local.INFO: IMEI packet received {"connection_id":203872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":203872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:20:05] local.INFO: TCP Data received {"connection_id":203871,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:20:05] local.INFO: Processing buffer {"connection_id":203871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:20:05] local.INFO: IMEI packet received {"connection_id":203871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":203871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:20:06] local.INFO: TCP Data received {"connection_id":203871,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:20:06] local.INFO: Processing buffer {"connection_id":203871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:20:06] local.INFO: Packet analysis {"connection_id":203871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083e"} 
[2026-10-05 00:20:06] local.INFO: Extracted packet for processing {"connection_id":203871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083e"} 
[2026-10-05 00:20:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531687424001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791139705000,"timestamp_ms":1791139705000,"timestamp_seconds":1791139705,"priority":1,"record_length":96,"hex_timestamp":"000001a1083ef0a8"} 
[2026-10-05 00:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 00:20:06] 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-10-05 00: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-10-05 00:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:20: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-10-05 00:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531687424001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531687424001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:20:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:20:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531687424001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":203871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:20:06] local.INFO: GPS data processed {"connection_id":203871,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:20:06] local.INFO: Acknowledgment sent {"connection_id":203871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:20:09] local.INFO: TCP Data received {"connection_id":203872,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:20:09] local.INFO: Processing buffer {"connection_id":203872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:20:09] local.INFO: IMEI packet received {"connection_id":203872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":203872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:20:10] local.INFO: TCP Data received {"connection_id":203872,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:20:10] local.INFO: Processing buffer {"connection_id":203872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:20:10] local.INFO: Packet analysis {"connection_id":203872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083f"} 
[2026-10-05 00:20:10] local.INFO: Extracted packet for processing {"connection_id":203872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083f"} 
[2026-10-05 00:20:10] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531691520001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:20: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-10-05 00:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791139721000,"timestamp_ms":1791139721000,"timestamp_seconds":1791139721,"priority":1,"record_length":96,"hex_timestamp":"000001a1083f2f28"} 
[2026-10-05 00:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 00:20:10] 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-10-05 00:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":203872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":203872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":203872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531691520001,"66":25223,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531691520001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:20:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:20:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531691520001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":203872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:20:10] local.INFO: GPS data processed {"connection_id":203872,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:20:10] local.INFO: Acknowledgment sent {"connection_id":203872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:20:38] local.INFO: TCP Data received {"connection_id":203871,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:20:38] local.INFO: Processing buffer {"connection_id":203871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:20:38] local.INFO: Packet analysis {"connection_id":203871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083e"} 
[2026-10-05 00:20:38] local.INFO: Extracted packet for processing {"connection_id":203871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083e"} 
[2026-10-05 00:20:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531687424001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791139705000,"timestamp_ms":1791139705000,"timestamp_seconds":1791139705,"priority":1,"record_length":96,"hex_timestamp":"000001a1083ef0a8"} 
[2026-10-05 00:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 00:20:38] 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-10-05 00:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:20: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-10-05 00:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531687424001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531687424001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:20:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:20:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531687424001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":203871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964254,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:20:38] local.INFO: GPS data processed {"connection_id":203871,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:20:38] local.INFO: Acknowledgment sent {"connection_id":203871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:20:41] local.INFO: TCP Data received {"connection_id":203872,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:20:41] local.INFO: Processing buffer {"connection_id":203872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:20:41] local.INFO: Packet analysis {"connection_id":203872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083f"} 
[2026-10-05 00:20:41] local.INFO: Extracted packet for processing {"connection_id":203872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083f"} 
[2026-10-05 00:20:41] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531691520001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791139721000,"timestamp_ms":1791139721000,"timestamp_seconds":1791139721,"priority":1,"record_length":96,"hex_timestamp":"000001a1083f2f28"} 
[2026-10-05 00:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 00:20:41] 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-10-05 00:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":203872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":203872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":203872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531691520001,"66":25223,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531691520001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:20:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:20:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531691520001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":203872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:20:41] local.INFO: GPS data processed {"connection_id":203872,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:20:41] local.INFO: Acknowledgment sent {"connection_id":203872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:20:56] local.INFO: TCP Data received {"connection_id":203873,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:20:56] local.INFO: Processing buffer {"connection_id":203873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:20:56] local.INFO: IMEI packet received {"connection_id":203873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":203873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:21:00] local.INFO: TCP Data received {"connection_id":203962,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:21:00] local.INFO: Processing buffer {"connection_id":203962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:21:00] local.INFO: IMEI packet received {"connection_id":203962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":203962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:21:01] local.INFO: TCP Data received {"connection_id":203873,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:21:01] local.INFO: Processing buffer {"connection_id":203873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:21:01] local.INFO: IMEI packet received {"connection_id":203873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":203873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:21:02] local.INFO: TCP Data received {"connection_id":203873,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:21:02] local.INFO: Processing buffer {"connection_id":203873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:21:02] local.INFO: Packet analysis {"connection_id":203873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083f"} 
[2026-10-05 00:21:02] local.INFO: Extracted packet for processing {"connection_id":203873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083f"} 
[2026-10-05 00:21:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531691520001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:21: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-10-05 00:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791139721000,"timestamp_ms":1791139721000,"timestamp_seconds":1791139721,"priority":1,"record_length":96,"hex_timestamp":"000001a1083f2f28"} 
[2026-10-05 00:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 00:21:02] 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-10-05 00: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-10-05 00:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:21: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-10-05 00:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531691520001,"66":25223,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531691520001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:21:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:21:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531691520001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":203873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:21:02] local.INFO: GPS data processed {"connection_id":203873,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:21:02] local.INFO: Acknowledgment sent {"connection_id":203873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:21:05] local.INFO: TCP Data received {"connection_id":203962,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:21:05] local.INFO: Processing buffer {"connection_id":203962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:21:05] local.INFO: IMEI packet received {"connection_id":203962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":203962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:21:06] local.INFO: TCP Data received {"connection_id":203962,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:21:06] local.INFO: Processing buffer {"connection_id":203962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:21:06] local.INFO: Packet analysis {"connection_id":203962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083e"} 
[2026-10-05 00:21:06] local.INFO: Extracted packet for processing {"connection_id":203962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083e"} 
[2026-10-05 00:21:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531687424001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791139705000,"timestamp_ms":1791139705000,"timestamp_seconds":1791139705,"priority":1,"record_length":96,"hex_timestamp":"000001a1083ef0a8"} 
[2026-10-05 00:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 00:21:06] 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-10-05 00:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:21: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-10-05 00:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531687424001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531687424001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:21:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:21:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531687424001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":203962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:21:06] local.INFO: GPS data processed {"connection_id":203962,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:21:06] local.INFO: Acknowledgment sent {"connection_id":203962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:21:33] local.INFO: TCP Data received {"connection_id":203873,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:21:33] local.INFO: Processing buffer {"connection_id":203873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:21:33] local.INFO: Packet analysis {"connection_id":203873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083f"} 
[2026-10-05 00:21:33] local.INFO: Extracted packet for processing {"connection_id":203873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083f"} 
[2026-10-05 00:21:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:21: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-10-05 00:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531691520001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:21: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-10-05 00:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791139721000,"timestamp_ms":1791139721000,"timestamp_seconds":1791139721,"priority":1,"record_length":96,"hex_timestamp":"000001a1083f2f28"} 
[2026-10-05 00:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 00:21:33] 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-10-05 00:21: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-10-05 00:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531691520001,"66":25223,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531691520001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:21:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:21:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531691520001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":203873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:21:33] local.INFO: GPS data processed {"connection_id":203873,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:21:33] local.INFO: Acknowledgment sent {"connection_id":203873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:21:38] local.INFO: TCP Data received {"connection_id":203962,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:21:38] local.INFO: Processing buffer {"connection_id":203962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:21:38] local.INFO: Packet analysis {"connection_id":203962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083e"} 
[2026-10-05 00:21:38] local.INFO: Extracted packet for processing {"connection_id":203962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083e"} 
[2026-10-05 00:21:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531687424001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791139705000,"timestamp_ms":1791139705000,"timestamp_seconds":1791139705,"priority":1,"record_length":96,"hex_timestamp":"000001a1083ef0a8"} 
[2026-10-05 00:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 00:21:38] 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-10-05 00:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:21: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-10-05 00:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531687424001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531687424001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:21:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:21:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531687424001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":203962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:21:38] local.INFO: GPS data processed {"connection_id":203962,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:21:38] local.INFO: Acknowledgment sent {"connection_id":203962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:21:56] local.INFO: TCP Data received {"connection_id":206974,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:21:56] local.INFO: Processing buffer {"connection_id":206974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:21:56] local.INFO: IMEI packet received {"connection_id":206974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":206974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:22:01] local.INFO: TCP Data received {"connection_id":205409,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205409,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:22:01] local.INFO: Processing buffer {"connection_id":205409,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:22:01] local.INFO: IMEI packet received {"connection_id":205409,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":205409,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:22:01] local.INFO: TCP Data received {"connection_id":206974,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:22:01] local.INFO: Processing buffer {"connection_id":206974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:22:01] local.INFO: IMEI packet received {"connection_id":206974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":206974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:22:02] local.INFO: TCP Data received {"connection_id":206974,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:22:02] local.INFO: Processing buffer {"connection_id":206974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:22:02] local.INFO: Packet analysis {"connection_id":206974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083f"} 
[2026-10-05 00:22:02] local.INFO: Extracted packet for processing {"connection_id":206974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083f"} 
[2026-10-05 00:22:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531691520001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:22: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-10-05 00:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791139721000,"timestamp_ms":1791139721000,"timestamp_seconds":1791139721,"priority":1,"record_length":96,"hex_timestamp":"000001a1083f2f28"} 
[2026-10-05 00:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 00:22:02] 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-10-05 00: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-10-05 00:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":206974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":206974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":206974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:22: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-10-05 00:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531691520001,"66":25223,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531691520001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:22:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:22:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531691520001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":206974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:22:02] local.INFO: GPS data processed {"connection_id":206974,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:22:02] local.INFO: Acknowledgment sent {"connection_id":206974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:22:05] local.INFO: TCP Data received {"connection_id":205409,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205409,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:22:05] local.INFO: Processing buffer {"connection_id":205409,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:22:05] local.INFO: IMEI packet received {"connection_id":205409,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":205409,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:22:06] local.INFO: TCP Data received {"connection_id":205409,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:22:06] local.INFO: Processing buffer {"connection_id":205409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:22:06] local.INFO: Packet analysis {"connection_id":205409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083e"} 
[2026-10-05 00:22:06] local.INFO: Extracted packet for processing {"connection_id":205409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083e"} 
[2026-10-05 00:22:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531687424001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791139705000,"timestamp_ms":1791139705000,"timestamp_seconds":1791139705,"priority":1,"record_length":96,"hex_timestamp":"000001a1083ef0a8"} 
[2026-10-05 00:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 00:22:06] 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-10-05 00: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-10-05 00:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:22: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-10-05 00:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531687424001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531687424001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:22:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:22:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531687424001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":205409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964261,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:22:06] local.INFO: GPS data processed {"connection_id":205409,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:22:06] local.INFO: Acknowledgment sent {"connection_id":205409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:22:34] local.INFO: TCP Data received {"connection_id":206974,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:22:34] local.INFO: Processing buffer {"connection_id":206974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:22:34] local.INFO: Packet analysis {"connection_id":206974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083f"} 
[2026-10-05 00:22:34] local.INFO: Extracted packet for processing {"connection_id":206974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083f"} 
[2026-10-05 00:22:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531691520001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:22: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-10-05 00:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791139721000,"timestamp_ms":1791139721000,"timestamp_seconds":1791139721,"priority":1,"record_length":96,"hex_timestamp":"000001a1083f2f28"} 
[2026-10-05 00:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 00:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":206974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":206974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":206974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531691520001,"66":25223,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531691520001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:22:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:22:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531691520001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":206974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:22:34] local.INFO: GPS data processed {"connection_id":206974,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:22:34] local.INFO: Acknowledgment sent {"connection_id":206974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:22:37] local.INFO: TCP Data received {"connection_id":205409,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:22:37] local.INFO: Processing buffer {"connection_id":205409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:22:37] local.INFO: Packet analysis {"connection_id":205409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083e"} 
[2026-10-05 00:22:37] local.INFO: Extracted packet for processing {"connection_id":205409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083e"} 
[2026-10-05 00:22:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531687424001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791139705000,"timestamp_ms":1791139705000,"timestamp_seconds":1791139705,"priority":1,"record_length":96,"hex_timestamp":"000001a1083ef0a8"} 
[2026-10-05 00:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 00:22:37] 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-10-05 00: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-10-05 00:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:22: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-10-05 00:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531687424001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531687424001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:22:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:22:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531687424001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":205409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:22:37] local.INFO: GPS data processed {"connection_id":205409,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:22:37] local.INFO: Acknowledgment sent {"connection_id":205409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:22:56] local.INFO: TCP Data received {"connection_id":205410,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:22:56] local.INFO: Processing buffer {"connection_id":205410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:22:56] local.INFO: IMEI packet received {"connection_id":205410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":205410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:23:00] local.INFO: TCP Data received {"connection_id":203963,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:23:00] local.INFO: Processing buffer {"connection_id":203963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:23:00] local.INFO: IMEI packet received {"connection_id":203963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":203963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:23:01] local.INFO: TCP Data received {"connection_id":205410,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:23:01] local.INFO: Processing buffer {"connection_id":205410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:23:01] local.INFO: IMEI packet received {"connection_id":205410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":205410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:23:02] local.INFO: TCP Data received {"connection_id":205410,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:23:02] local.INFO: Processing buffer {"connection_id":205410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:23:02] local.INFO: Packet analysis {"connection_id":205410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083f"} 
[2026-10-05 00:23:02] local.INFO: Extracted packet for processing {"connection_id":205410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083f"} 
[2026-10-05 00:23:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531691520001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:23: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-10-05 00:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791139721000,"timestamp_ms":1791139721000,"timestamp_seconds":1791139721,"priority":1,"record_length":96,"hex_timestamp":"000001a1083f2f28"} 
[2026-10-05 00:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 00:23:02] 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-10-05 00: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-10-05 00:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:23: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-10-05 00:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531691520001,"66":25223,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531691520001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:23:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:23:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531691520001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":205410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:23:02] local.INFO: GPS data processed {"connection_id":205410,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:23:02] local.INFO: Acknowledgment sent {"connection_id":205410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:23:05] local.INFO: TCP Data received {"connection_id":203963,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:23:05] local.INFO: Processing buffer {"connection_id":203963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:23:05] local.INFO: IMEI packet received {"connection_id":203963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":203963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:23:06] local.INFO: TCP Data received {"connection_id":203963,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:23:06] local.INFO: Processing buffer {"connection_id":203963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083ef0a8012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:23:06] local.INFO: Packet analysis {"connection_id":203963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083e"} 
[2026-10-05 00:23:06] local.INFO: Extracted packet for processing {"connection_id":203963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083e"} 
[2026-10-05 00:23:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531687424001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791139705000,"timestamp_ms":1791139705000,"timestamp_seconds":1791139705,"priority":1,"record_length":96,"hex_timestamp":"000001a1083ef0a8"} 
[2026-10-05 00:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 00:23:06] 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-10-05 00: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-10-05 00:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:23: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-10-05 00:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531687424001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531687424001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:23:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:23:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531687424001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":203963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:23:06] local.INFO: GPS data processed {"connection_id":203963,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:23:06] local.INFO: Acknowledgment sent {"connection_id":203963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:23:33] local.INFO: TCP Data received {"connection_id":205410,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:23:33] local.INFO: Processing buffer {"connection_id":205410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:23:33] local.INFO: Packet analysis {"connection_id":205410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083f"} 
[2026-10-05 00:23:33] local.INFO: Extracted packet for processing {"connection_id":205410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083f"} 
[2026-10-05 00:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531691520001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791139721000,"timestamp_ms":1791139721000,"timestamp_seconds":1791139721,"priority":1,"record_length":96,"hex_timestamp":"000001a1083f2f28"} 
[2026-10-05 00:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 00:23:33] 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-10-05 00: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-10-05 00:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531691520001,"66":25223,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531691520001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:23:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:23:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531691520001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":205410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:23:33] local.INFO: GPS data processed {"connection_id":205410,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:23:33] local.INFO: Acknowledgment sent {"connection_id":205410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:23:37] local.INFO: TCP Data received {"connection_id":203963,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:23:37] local.INFO: Processing buffer {"connection_id":203963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:23:37] local.INFO: Packet analysis {"connection_id":203963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:23:37] local.INFO: Extracted packet for processing {"connection_id":203963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:23:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531764480001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791140006000,"timestamp_ms":1791140006000,"timestamp_seconds":1791140006,"priority":1,"record_length":96,"hex_timestamp":"000001a108438870"} 
[2026-10-05 00:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:23:37] 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-10-05 00: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 00:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:23: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-10-05 00:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531764480001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531764480001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:23:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:23:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531764480001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":203963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:23:37] local.INFO: GPS data processed {"connection_id":203963,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:23:37] local.INFO: Acknowledgment sent {"connection_id":203963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:23:56] local.INFO: TCP Data received {"connection_id":205412,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:23:56] local.INFO: Processing buffer {"connection_id":205412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:23:56] local.INFO: IMEI packet received {"connection_id":205412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":205412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:24:00] local.INFO: TCP Data received {"connection_id":203965,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:24:00] local.INFO: Processing buffer {"connection_id":203965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:24:00] local.INFO: IMEI packet received {"connection_id":203965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":203965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:24:02] local.INFO: TCP Data received {"connection_id":205412,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:24:02] local.INFO: Processing buffer {"connection_id":205412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:24:02] local.INFO: IMEI packet received {"connection_id":205412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":205412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:24:03] local.INFO: TCP Data received {"connection_id":205412,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:24:03] local.INFO: Processing buffer {"connection_id":205412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1083f2f28012d7f91c005afd9f0000a010121..."} 
[2026-10-05 00:24:03] local.INFO: Packet analysis {"connection_id":205412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1083f"} 
[2026-10-05 00:24:03] local.INFO: Extracted packet for processing {"connection_id":205412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1083f"} 
[2026-10-05 00:24:03] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531691520001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:24: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-10-05 00:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791139721000,"timestamp_ms":1791139721000,"timestamp_seconds":1791139721,"priority":1,"record_length":96,"hex_timestamp":"000001a1083f2f28"} 
[2026-10-05 00:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 00:24:03] 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-10-05 00:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":205412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":205412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":205412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:24: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-10-05 00:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531691520001,"66":25223,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531691520001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:24:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:24:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531691520001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":205412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:24:03] local.INFO: GPS data processed {"connection_id":205412,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:24:03] local.INFO: Acknowledgment sent {"connection_id":205412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:24:05] local.INFO: TCP Data received {"connection_id":203965,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:24:05] local.INFO: Processing buffer {"connection_id":203965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:24:05] local.INFO: IMEI packet received {"connection_id":203965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":203965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:24:06] local.INFO: TCP Data received {"connection_id":203965,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:24:06] local.INFO: Processing buffer {"connection_id":203965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:24:06] local.INFO: Packet analysis {"connection_id":203965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:24:06] local.INFO: Extracted packet for processing {"connection_id":203965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:24:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531764480001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791140006000,"timestamp_ms":1791140006000,"timestamp_seconds":1791140006,"priority":1,"record_length":96,"hex_timestamp":"000001a108438870"} 
[2026-10-05 00:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:24:06] 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-10-05 00: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 00:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:24: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-10-05 00:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531764480001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531764480001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:24:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:24:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531764480001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":203965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964269,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:24:06] local.INFO: GPS data processed {"connection_id":203965,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:24:06] local.INFO: Acknowledgment sent {"connection_id":203965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:24:33] local.INFO: TCP Data received {"connection_id":205412,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:24:33] local.INFO: Processing buffer {"connection_id":205412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:24:33] local.INFO: Packet analysis {"connection_id":205412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:24:33] local.INFO: Extracted packet for processing {"connection_id":205412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531768576001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:24: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-10-05 00:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791140022000,"timestamp_ms":1791140022000,"timestamp_seconds":1791140022,"priority":1,"record_length":96,"hex_timestamp":"000001a10843c6f0"} 
[2026-10-05 00:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:24:33] 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-10-05 00: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-10-05 00:24:33] 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-10-05 00: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-10-05 00:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531768576001,"66":25321,"249":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-10-05 00:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531768576001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:24:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-10-05 00:24:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531768576001,"power":25321,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":205412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:24:33] local.INFO: GPS data processed {"connection_id":205412,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:24:33] local.INFO: Acknowledgment sent {"connection_id":205412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:24:37] local.INFO: TCP Data received {"connection_id":203965,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:24:37] local.INFO: Processing buffer {"connection_id":203965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:24:37] local.INFO: Packet analysis {"connection_id":203965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:24:37] local.INFO: Extracted packet for processing {"connection_id":203965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:24:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531764480001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791140006000,"timestamp_ms":1791140006000,"timestamp_seconds":1791140006,"priority":1,"record_length":96,"hex_timestamp":"000001a108438870"} 
[2026-10-05 00:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:24:37] 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-10-05 00: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 00:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:24: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-10-05 00:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531764480001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531764480001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:24:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:24:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531764480001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":203965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:24:37] local.INFO: GPS data processed {"connection_id":203965,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:24:37] local.INFO: Acknowledgment sent {"connection_id":203965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:24:56] local.INFO: TCP Data received {"connection_id":206976,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:24:56] local.INFO: Processing buffer {"connection_id":206976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:24:56] local.INFO: IMEI packet received {"connection_id":206976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":206976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:25:01] local.INFO: TCP Data received {"connection_id":206976,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:25:01] local.INFO: Processing buffer {"connection_id":206976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:25:01] local.INFO: IMEI packet received {"connection_id":206976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":206976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:25:02] local.INFO: TCP Data received {"connection_id":206976,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:25:02] local.INFO: Processing buffer {"connection_id":206976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:25:02] local.INFO: Packet analysis {"connection_id":206976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:25:02] local.INFO: Extracted packet for processing {"connection_id":206976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:25:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531768576001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:25: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-10-05 00:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791140022000,"timestamp_ms":1791140022000,"timestamp_seconds":1791140022,"priority":1,"record_length":96,"hex_timestamp":"000001a10843c6f0"} 
[2026-10-05 00:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:25: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-10-05 00: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-10-05 00:25:02] 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-10-05 00: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-10-05 00:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":206976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":206976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":206976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:25: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-10-05 00:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531768576001,"66":25321,"249":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-10-05 00:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531768576001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:25:02] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-10-05 00:25:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531768576001,"power":25321,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":206976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:25:02] local.INFO: GPS data processed {"connection_id":206976,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:25:02] local.INFO: Acknowledgment sent {"connection_id":206976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:25:05] local.INFO: TCP Data received {"connection_id":203874,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:25:05] local.INFO: Processing buffer {"connection_id":203874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:25:05] local.INFO: IMEI packet received {"connection_id":203874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":203874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:25:10] local.INFO: TCP Data received {"connection_id":203874,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:25:10] local.INFO: Processing buffer {"connection_id":203874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:25:10] local.INFO: IMEI packet received {"connection_id":203874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":203874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:25:11] local.INFO: TCP Data received {"connection_id":203874,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:25:11] local.INFO: Processing buffer {"connection_id":203874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:25:11] local.INFO: Packet analysis {"connection_id":203874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:25:11] local.INFO: Extracted packet for processing {"connection_id":203874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:25:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531764480001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791140006000,"timestamp_ms":1791140006000,"timestamp_seconds":1791140006,"priority":1,"record_length":96,"hex_timestamp":"000001a108438870"} 
[2026-10-05 00:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:25:11] 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-10-05 00:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 00:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":203874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":203874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":203874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:25:11] 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-10-05 00:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531764480001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531764480001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:25:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:25:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531764480001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":203874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:25:11] local.INFO: GPS data processed {"connection_id":203874,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:25:11] local.INFO: Acknowledgment sent {"connection_id":203874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:25:16] local.INFO: TCP Data received {"connection_id":203874,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:25:16] local.INFO: Processing buffer {"connection_id":203874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:25:16] local.INFO: Packet analysis {"connection_id":203874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:25:16] local.INFO: Extracted packet for processing {"connection_id":203874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:25:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531764480001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791140006000,"timestamp_ms":1791140006000,"timestamp_seconds":1791140006,"priority":1,"record_length":96,"hex_timestamp":"000001a108438870"} 
[2026-10-05 00:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:25:16] 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-10-05 00:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 00:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":203874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":203874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":203874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:25:16] 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-10-05 00:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531764480001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531764480001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:25:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:25:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531764480001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":203874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964274,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:25:16] local.INFO: GPS data processed {"connection_id":203874,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:25:16] local.INFO: Acknowledgment sent {"connection_id":203874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:25:20] local.INFO: TCP Data received {"connection_id":206975,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:25:20] local.INFO: Processing buffer {"connection_id":206975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:25:20] local.INFO: IMEI packet received {"connection_id":206975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 00:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":206975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:25:33] local.INFO: TCP Data received {"connection_id":206976,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:25:33] local.INFO: Processing buffer {"connection_id":206976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:25:33] local.INFO: Packet analysis {"connection_id":206976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:25:33] local.INFO: Extracted packet for processing {"connection_id":206976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531768576001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:25: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-10-05 00:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791140022000,"timestamp_ms":1791140022000,"timestamp_seconds":1791140022,"priority":1,"record_length":96,"hex_timestamp":"000001a10843c6f0"} 
[2026-10-05 00:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:25:33] 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-10-05 00:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-10-05 00:25:33] 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-10-05 00:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":206976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":206976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":206976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531768576001,"66":25321,"249":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-10-05 00:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531768576001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:25:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-10-05 00:25:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531768576001,"power":25321,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":206976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:25:33] local.INFO: GPS data processed {"connection_id":206976,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:25:33] local.INFO: Acknowledgment sent {"connection_id":206976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:25:48] local.INFO: TCP Data received {"connection_id":203875,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:25:48] local.INFO: Processing buffer {"connection_id":203875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:25:48] local.INFO: IMEI packet received {"connection_id":203875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 00:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":203875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:25:56] local.INFO: TCP Data received {"connection_id":205413,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:25:56] local.INFO: Processing buffer {"connection_id":205413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:25:56] local.INFO: IMEI packet received {"connection_id":205413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":205413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:26:00] local.INFO: TCP Data received {"connection_id":205414,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:26:00] local.INFO: Processing buffer {"connection_id":205414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:26:00] local.INFO: IMEI packet received {"connection_id":205414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":205414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:26:01] local.INFO: TCP Data received {"connection_id":205413,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:26:01] local.INFO: Processing buffer {"connection_id":205413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:26:01] local.INFO: IMEI packet received {"connection_id":205413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":205413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:26:02] local.INFO: TCP Data received {"connection_id":205413,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:26:02] local.INFO: Processing buffer {"connection_id":205413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:26:02] local.INFO: Packet analysis {"connection_id":205413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:26:02] local.INFO: Extracted packet for processing {"connection_id":205413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531768576001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:26: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-10-05 00:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791140022000,"timestamp_ms":1791140022000,"timestamp_seconds":1791140022,"priority":1,"record_length":96,"hex_timestamp":"000001a10843c6f0"} 
[2026-10-05 00:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:26: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-10-05 00: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-10-05 00:26:02] 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-10-05 00: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-10-05 00:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:26: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-10-05 00:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531768576001,"66":25321,"249":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-10-05 00:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531768576001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:26:02] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-10-05 00:26:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531768576001,"power":25321,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":205413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:26:02] local.INFO: GPS data processed {"connection_id":205413,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:26:02] local.INFO: Acknowledgment sent {"connection_id":205413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:26:05] local.INFO: TCP Data received {"connection_id":205414,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:26:05] local.INFO: Processing buffer {"connection_id":205414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:26:05] local.INFO: IMEI packet received {"connection_id":205414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":205414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:26:06] local.INFO: TCP Data received {"connection_id":205414,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:26:06] local.INFO: Processing buffer {"connection_id":205414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:26:06] local.INFO: Packet analysis {"connection_id":205414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:26:06] local.INFO: Extracted packet for processing {"connection_id":205414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:26:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531764480001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791140006000,"timestamp_ms":1791140006000,"timestamp_seconds":1791140006,"priority":1,"record_length":96,"hex_timestamp":"000001a108438870"} 
[2026-10-05 00:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:26:06] 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-10-05 00:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 00:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:26: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-10-05 00:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531764480001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531764480001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:26:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:26:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531764480001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":205414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:26:07] local.INFO: GPS data processed {"connection_id":205414,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:26:07] local.INFO: Acknowledgment sent {"connection_id":205414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:26:33] local.INFO: TCP Data received {"connection_id":205413,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:26:33] local.INFO: Processing buffer {"connection_id":205413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:26:33] local.INFO: Packet analysis {"connection_id":205413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:26:33] local.INFO: Extracted packet for processing {"connection_id":205413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531768576001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:26: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-10-05 00:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791140022000,"timestamp_ms":1791140022000,"timestamp_seconds":1791140022,"priority":1,"record_length":96,"hex_timestamp":"000001a10843c6f0"} 
[2026-10-05 00:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:26:33] 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-10-05 00: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-10-05 00:26:33] 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-10-05 00: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-10-05 00:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531768576001,"66":25321,"249":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-10-05 00:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531768576001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:26:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-10-05 00:26:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531768576001,"power":25321,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":205413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:26:33] local.INFO: GPS data processed {"connection_id":205413,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:26:33] local.INFO: Acknowledgment sent {"connection_id":205413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:26:37] local.INFO: TCP Data received {"connection_id":205414,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:26:37] local.INFO: Processing buffer {"connection_id":205414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:26:37] local.INFO: Packet analysis {"connection_id":205414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:26:37] local.INFO: Extracted packet for processing {"connection_id":205414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:26:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531764480001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791140006000,"timestamp_ms":1791140006000,"timestamp_seconds":1791140006,"priority":1,"record_length":96,"hex_timestamp":"000001a108438870"} 
[2026-10-05 00:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:26:37] 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-10-05 00:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 00:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:26: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-10-05 00:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531764480001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531764480001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:26:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:26:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531764480001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":205414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:26:37] local.INFO: GPS data processed {"connection_id":205414,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:26:37] local.INFO: Acknowledgment sent {"connection_id":205414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:26:57] local.INFO: TCP Data received {"connection_id":203876,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:26:57] local.INFO: Processing buffer {"connection_id":203876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:26:57] local.INFO: IMEI packet received {"connection_id":203876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":203876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:27:00] local.INFO: TCP Data received {"connection_id":203967,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:27:00] local.INFO: Processing buffer {"connection_id":203967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:27:00] local.INFO: IMEI packet received {"connection_id":203967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":203967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:27:01] local.INFO: TCP Data received {"connection_id":203876,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:27:01] local.INFO: Processing buffer {"connection_id":203876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:27:01] local.INFO: IMEI packet received {"connection_id":203876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":203876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:27:02] local.INFO: TCP Data received {"connection_id":203876,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:27:02] local.INFO: Processing buffer {"connection_id":203876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:27:02] local.INFO: Packet analysis {"connection_id":203876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:27:02] local.INFO: Extracted packet for processing {"connection_id":203876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:27:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531768576001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:27: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-10-05 00:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791140022000,"timestamp_ms":1791140022000,"timestamp_seconds":1791140022,"priority":1,"record_length":96,"hex_timestamp":"000001a10843c6f0"} 
[2026-10-05 00:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:27: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-10-05 00: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-10-05 00:27:02] 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-10-05 00: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-10-05 00:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:27: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-10-05 00:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531768576001,"66":25321,"249":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-10-05 00:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531768576001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:27:02] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-10-05 00:27:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531768576001,"power":25321,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":203876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:27:02] local.INFO: GPS data processed {"connection_id":203876,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:27:02] local.INFO: Acknowledgment sent {"connection_id":203876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:27:05] local.INFO: TCP Data received {"connection_id":203967,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:27:05] local.INFO: Processing buffer {"connection_id":203967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:27:05] local.INFO: IMEI packet received {"connection_id":203967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":203967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:27:06] local.INFO: TCP Data received {"connection_id":203967,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:27:06] local.INFO: Processing buffer {"connection_id":203967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:27:06] local.INFO: Packet analysis {"connection_id":203967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:27:06] local.INFO: Extracted packet for processing {"connection_id":203967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:27:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531764480001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791140006000,"timestamp_ms":1791140006000,"timestamp_seconds":1791140006,"priority":1,"record_length":96,"hex_timestamp":"000001a108438870"} 
[2026-10-05 00:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:27:06] 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-10-05 00: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 00:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:27: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-10-05 00:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531764480001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531764480001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:27:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:27:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531764480001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":203967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964281,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:27:06] local.INFO: GPS data processed {"connection_id":203967,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:27:06] local.INFO: Acknowledgment sent {"connection_id":203967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:27:35] local.INFO: TCP Data received {"connection_id":203876,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:27:35] local.INFO: Processing buffer {"connection_id":203876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:27:35] local.INFO: Packet analysis {"connection_id":203876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:27:35] local.INFO: Extracted packet for processing {"connection_id":203876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:27:35] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531768576001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:27:35] 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-10-05 00:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791140022000,"timestamp_ms":1791140022000,"timestamp_seconds":1791140022,"priority":1,"record_length":96,"hex_timestamp":"000001a10843c6f0"} 
[2026-10-05 00:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:27:35] 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-10-05 00: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-10-05 00:27:35] 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-10-05 00: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-10-05 00:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":203876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":203876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":203876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531768576001,"66":25321,"249":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-10-05 00:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531768576001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:27:35] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-10-05 00:27:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531768576001,"power":25321,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":203876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:27:35] local.INFO: GPS data processed {"connection_id":203876,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:27:35] local.INFO: Acknowledgment sent {"connection_id":203876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:27:37] local.INFO: TCP Data received {"connection_id":203967,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:27:37] local.INFO: Processing buffer {"connection_id":203967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:27:37] local.INFO: Packet analysis {"connection_id":203967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:27:37] local.INFO: Extracted packet for processing {"connection_id":203967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:27:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531764480001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791140006000,"timestamp_ms":1791140006000,"timestamp_seconds":1791140006,"priority":1,"record_length":96,"hex_timestamp":"000001a108438870"} 
[2026-10-05 00:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:27:37] 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-10-05 00:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 00:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:27: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-10-05 00:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531764480001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531764480001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:27:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:27:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531764480001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":203967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:27:37] local.INFO: GPS data processed {"connection_id":203967,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:27:37] local.INFO: Acknowledgment sent {"connection_id":203967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:28:00] local.INFO: TCP Data received {"connection_id":203877,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:28:00] local.INFO: Processing buffer {"connection_id":203877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:28:00] local.INFO: IMEI packet received {"connection_id":203877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":203877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:28:01] local.INFO: TCP Data received {"connection_id":203968,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:28:01] local.INFO: Processing buffer {"connection_id":203968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:28:01] local.INFO: IMEI packet received {"connection_id":203968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":203968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:28:05] local.INFO: TCP Data received {"connection_id":203877,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:28:05] local.INFO: Processing buffer {"connection_id":203877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:28:05] local.INFO: IMEI packet received {"connection_id":203877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":203877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:28:06] local.INFO: TCP Data received {"connection_id":203877,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:28:06] local.INFO: Processing buffer {"connection_id":203877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108438870012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 00:28:06] local.INFO: Packet analysis {"connection_id":203877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:28:06] local.INFO: Extracted packet for processing {"connection_id":203877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:28:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531764480001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791140006000,"timestamp_ms":1791140006000,"timestamp_seconds":1791140006,"priority":1,"record_length":96,"hex_timestamp":"000001a108438870"} 
[2026-10-05 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-10-05 00:28:06] 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-10-05 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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 00:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 00:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00: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-10-05 00:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531764480001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531764480001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:28:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:28:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531764480001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":203877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964284,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:28:06] local.INFO: GPS data processed {"connection_id":203877,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:28:06] local.INFO: Acknowledgment sent {"connection_id":203877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:28:06] local.INFO: TCP Data received {"connection_id":203968,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:28:06] local.INFO: Processing buffer {"connection_id":203968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:28:06] local.INFO: IMEI packet received {"connection_id":203968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":203968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:28:07] local.INFO: TCP Data received {"connection_id":203968,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:28:07] local.INFO: Processing buffer {"connection_id":203968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:28:07] local.INFO: Packet analysis {"connection_id":203968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:28:07] local.INFO: Extracted packet for processing {"connection_id":203968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:28:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531768576001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:28:07] 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-10-05 00:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791140022000,"timestamp_ms":1791140022000,"timestamp_seconds":1791140022,"priority":1,"record_length":96,"hex_timestamp":"000001a10843c6f0"} 
[2026-10-05 00:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:28:07] 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-10-05 00: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-10-05 00:28:07] 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-10-05 00: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-10-05 00:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":203968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":203968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":203968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531768576001,"66":25321,"249":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-10-05 00:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531768576001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:28:07] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-10-05 00:28:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531768576001,"power":25321,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":203968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:28:07] local.INFO: GPS data processed {"connection_id":203968,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:28:07] local.INFO: Acknowledgment sent {"connection_id":203968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:28:37] local.INFO: TCP Data received {"connection_id":203877,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:28:37] local.INFO: Processing buffer {"connection_id":203877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:28:37] local.INFO: Packet analysis {"connection_id":203877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:28:37] local.INFO: Extracted packet for processing {"connection_id":203877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:28:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531841536001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791140307000,"timestamp_ms":1791140307000,"timestamp_seconds":1791140307,"priority":1,"record_length":96,"hex_timestamp":"000001a108482038"} 
[2026-10-05 00:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:28:37] 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-10-05 00:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:28: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-10-05 00:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531841536001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531841536001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:28:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:28:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531841536001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":203877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:28:37] local.INFO: GPS data processed {"connection_id":203877,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:28:37] local.INFO: Acknowledgment sent {"connection_id":203877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:28:38] local.INFO: TCP Data received {"connection_id":203968,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:28:38] local.INFO: Processing buffer {"connection_id":203968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:28:38] local.INFO: Packet analysis {"connection_id":203968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:28:38] local.INFO: Extracted packet for processing {"connection_id":203968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:28:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531768576001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:28:38] 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-10-05 00:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791140022000,"timestamp_ms":1791140022000,"timestamp_seconds":1791140022,"priority":1,"record_length":96,"hex_timestamp":"000001a10843c6f0"} 
[2026-10-05 00:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:28:38] 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-10-05 00:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-10-05 00:28:38] 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-10-05 00:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531768576001,"66":25321,"249":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-10-05 00:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531768576001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:28:38] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-10-05 00:28:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531768576001,"power":25321,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":203968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:28:38] local.INFO: GPS data processed {"connection_id":203968,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:28:38] local.INFO: Acknowledgment sent {"connection_id":203968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:28:56] local.INFO: TCP Data received {"connection_id":203878,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:28:56] local.INFO: Processing buffer {"connection_id":203878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:28:56] local.INFO: IMEI packet received {"connection_id":203878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":203878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:29:00] local.INFO: TCP Data received {"connection_id":206978,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:29:00] local.INFO: Processing buffer {"connection_id":206978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:29:00] local.INFO: IMEI packet received {"connection_id":206978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":206978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:29:01] local.INFO: TCP Data received {"connection_id":203878,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:29:01] local.INFO: Processing buffer {"connection_id":203878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:29:01] local.INFO: IMEI packet received {"connection_id":203878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":203878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:29:02] local.INFO: TCP Data received {"connection_id":203878,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:29:02] local.INFO: Processing buffer {"connection_id":203878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:29:02] local.INFO: Packet analysis {"connection_id":203878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:29:02] local.INFO: Extracted packet for processing {"connection_id":203878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531768576001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:29: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-10-05 00:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791140022000,"timestamp_ms":1791140022000,"timestamp_seconds":1791140022,"priority":1,"record_length":96,"hex_timestamp":"000001a10843c6f0"} 
[2026-10-05 00:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:29: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-10-05 00: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-10-05 00:29:02] 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-10-05 00: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-10-05 00:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:29: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-10-05 00:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531768576001,"66":25321,"249":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-10-05 00:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531768576001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:29:02] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-10-05 00:29:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531768576001,"power":25321,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":203878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:29:02] local.INFO: GPS data processed {"connection_id":203878,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:29:02] local.INFO: Acknowledgment sent {"connection_id":203878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:29:05] local.INFO: TCP Data received {"connection_id":206978,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:29:05] local.INFO: Processing buffer {"connection_id":206978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:29:05] local.INFO: IMEI packet received {"connection_id":206978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":206978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:29:06] local.INFO: TCP Data received {"connection_id":206978,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:29:06] local.INFO: Processing buffer {"connection_id":206978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:29:06] local.INFO: Packet analysis {"connection_id":206978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:29:06] local.INFO: Extracted packet for processing {"connection_id":206978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:29:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531841536001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791140307000,"timestamp_ms":1791140307000,"timestamp_seconds":1791140307,"priority":1,"record_length":96,"hex_timestamp":"000001a108482038"} 
[2026-10-05 00:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:29:06] 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-10-05 00:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":206978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":206978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":206978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:29: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-10-05 00:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531841536001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531841536001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:29:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:29:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531841536001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":206978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:29:06] local.INFO: GPS data processed {"connection_id":206978,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:29:06] local.INFO: Acknowledgment sent {"connection_id":206978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:29:07] local.INFO: TCP Data received {"connection_id":203878,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:29:07] local.INFO: Processing buffer {"connection_id":203878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10843c6f0012d7f91c005afd9f0000a010124..."} 
[2026-10-05 00:29:07] local.INFO: Packet analysis {"connection_id":203878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:29:07] local.INFO: Extracted packet for processing {"connection_id":203878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10843"} 
[2026-10-05 00:29:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531768576001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:29:07] 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-10-05 00:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791140022000,"timestamp_ms":1791140022000,"timestamp_seconds":1791140022,"priority":1,"record_length":96,"hex_timestamp":"000001a10843c6f0"} 
[2026-10-05 00:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:29:07] 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-10-05 00: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-10-05 00:29:07] 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-10-05 00: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-10-05 00:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":203878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":203878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":203878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531768576001,"66":25321,"249":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-10-05 00:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531768576001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:29:07] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-10-05 00:29:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531768576001,"power":25321,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":203878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:29:07] local.INFO: GPS data processed {"connection_id":203878,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:29:07] local.INFO: Acknowledgment sent {"connection_id":203878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:29:37] local.INFO: TCP Data received {"connection_id":206978,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:29:37] local.INFO: Processing buffer {"connection_id":206978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:29:37] local.INFO: Packet analysis {"connection_id":206978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:29:37] local.INFO: Extracted packet for processing {"connection_id":206978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:29:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531841536001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791140307000,"timestamp_ms":1791140307000,"timestamp_seconds":1791140307,"priority":1,"record_length":96,"hex_timestamp":"000001a108482038"} 
[2026-10-05 00:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:29:37] 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-10-05 00:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:29: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-10-05 00:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531841536001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531841536001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:29:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:29:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531841536001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":206978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:29:37] local.INFO: GPS data processed {"connection_id":206978,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:29:37] local.INFO: Acknowledgment sent {"connection_id":206978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:29:38] local.INFO: TCP Data received {"connection_id":203878,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:29:38] local.INFO: Processing buffer {"connection_id":203878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:29:38] local.INFO: Packet analysis {"connection_id":203878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:29:38] local.INFO: Extracted packet for processing {"connection_id":203878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:29:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531845632001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791140323000,"timestamp_ms":1791140323000,"timestamp_seconds":1791140323,"priority":1,"record_length":96,"hex_timestamp":"000001a108485eb8"} 
[2026-10-05 00:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:29:38] 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-10-05 00:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:29:38] 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-10-05 00:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531845632001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531845632001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:29:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:29:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531845632001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":203878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:29:38] local.INFO: GPS data processed {"connection_id":203878,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:29:38] local.INFO: Acknowledgment sent {"connection_id":203878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:29:56] local.INFO: TCP Data received {"connection_id":203879,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:29:56] local.INFO: Processing buffer {"connection_id":203879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:29:56] local.INFO: IMEI packet received {"connection_id":203879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":203879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:30:00] local.INFO: TCP Data received {"connection_id":203880,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:30:00] local.INFO: Processing buffer {"connection_id":203880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:30:00] local.INFO: IMEI packet received {"connection_id":203880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":203880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:30:01] local.INFO: TCP Data received {"connection_id":203879,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:30:01] local.INFO: Processing buffer {"connection_id":203879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:30:01] local.INFO: IMEI packet received {"connection_id":203879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":203879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:30:02] local.INFO: TCP Data received {"connection_id":203879,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:30:02] local.INFO: Processing buffer {"connection_id":203879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:30:02] local.INFO: Packet analysis {"connection_id":203879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:30:02] local.INFO: Extracted packet for processing {"connection_id":203879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531845632001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:30: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-10-05 00:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791140323000,"timestamp_ms":1791140323000,"timestamp_seconds":1791140323,"priority":1,"record_length":96,"hex_timestamp":"000001a108485eb8"} 
[2026-10-05 00:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:30: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-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:30:02] 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-10-05 00: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-10-05 00:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:30: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-10-05 00:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531845632001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531845632001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:30:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:30:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531845632001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":203879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:30:02] local.INFO: GPS data processed {"connection_id":203879,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:30:02] local.INFO: Acknowledgment sent {"connection_id":203879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:30:05] local.INFO: TCP Data received {"connection_id":203880,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:30:05] local.INFO: Processing buffer {"connection_id":203880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:30:05] local.INFO: IMEI packet received {"connection_id":203880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":203880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:30:06] local.INFO: TCP Data received {"connection_id":203880,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:30:06] local.INFO: Processing buffer {"connection_id":203880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:30:06] local.INFO: Packet analysis {"connection_id":203880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:30:06] local.INFO: Extracted packet for processing {"connection_id":203880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:30:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531841536001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791140307000,"timestamp_ms":1791140307000,"timestamp_seconds":1791140307,"priority":1,"record_length":96,"hex_timestamp":"000001a108482038"} 
[2026-10-05 00:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:30:06] 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-10-05 00: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-10-05 00:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00: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-10-05 00:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531841536001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531841536001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:30:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:30:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531841536001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":203880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:30:06] local.INFO: GPS data processed {"connection_id":203880,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:30:06] local.INFO: Acknowledgment sent {"connection_id":203880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:30:33] local.INFO: TCP Data received {"connection_id":203879,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:30:33] local.INFO: Processing buffer {"connection_id":203879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:30:33] local.INFO: Packet analysis {"connection_id":203879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:30:33] local.INFO: Extracted packet for processing {"connection_id":203879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:30:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531845632001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:30: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-10-05 00:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791140323000,"timestamp_ms":1791140323000,"timestamp_seconds":1791140323,"priority":1,"record_length":96,"hex_timestamp":"000001a108485eb8"} 
[2026-10-05 00:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:30:33] 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-10-05 00:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531845632001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531845632001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:30:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:30:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531845632001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":203879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:30:33] local.INFO: GPS data processed {"connection_id":203879,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:30:33] local.INFO: Acknowledgment sent {"connection_id":203879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:30:37] local.INFO: TCP Data received {"connection_id":203880,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:30:37] local.INFO: Processing buffer {"connection_id":203880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:30:37] local.INFO: Packet analysis {"connection_id":203880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:30:37] local.INFO: Extracted packet for processing {"connection_id":203880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:30:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531841536001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791140307000,"timestamp_ms":1791140307000,"timestamp_seconds":1791140307,"priority":1,"record_length":96,"hex_timestamp":"000001a108482038"} 
[2026-10-05 00:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:30:37] 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-10-05 00: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-10-05 00:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00: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-10-05 00:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531841536001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531841536001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:30:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:30:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531841536001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":203880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964296,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:30:37] local.INFO: GPS data processed {"connection_id":203880,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:30:37] local.INFO: Acknowledgment sent {"connection_id":203880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:30:56] local.INFO: TCP Data received {"connection_id":206980,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:30:56] local.INFO: Processing buffer {"connection_id":206980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:30:56] local.INFO: IMEI packet received {"connection_id":206980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":206980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:31:00] local.INFO: TCP Data received {"connection_id":203970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:31:00] local.INFO: Processing buffer {"connection_id":203970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:31:00] local.INFO: IMEI packet received {"connection_id":203970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":203970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:31:01] local.INFO: TCP Data received {"connection_id":206980,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:31:01] local.INFO: Processing buffer {"connection_id":206980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:31:01] local.INFO: IMEI packet received {"connection_id":206980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":206980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:31:02] local.INFO: TCP Data received {"connection_id":206980,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:31:02] local.INFO: Processing buffer {"connection_id":206980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:31:02] local.INFO: Packet analysis {"connection_id":206980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:31:02] local.INFO: Extracted packet for processing {"connection_id":206980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:31:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531845632001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:31: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-10-05 00:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791140323000,"timestamp_ms":1791140323000,"timestamp_seconds":1791140323,"priority":1,"record_length":96,"hex_timestamp":"000001a108485eb8"} 
[2026-10-05 00:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:31: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-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:31:02] 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-10-05 00: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-10-05 00:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":206980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":206980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":206980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:31: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-10-05 00:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531845632001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531845632001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:31:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:31:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531845632001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":206980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:31:02] local.INFO: GPS data processed {"connection_id":206980,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:31:02] local.INFO: Acknowledgment sent {"connection_id":206980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:31:05] local.INFO: TCP Data received {"connection_id":203970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:31:05] local.INFO: Processing buffer {"connection_id":203970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:31:05] local.INFO: IMEI packet received {"connection_id":203970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":203970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:31:06] local.INFO: TCP Data received {"connection_id":203970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:31:06] local.INFO: Processing buffer {"connection_id":203970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:31:06] local.INFO: Packet analysis {"connection_id":203970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:31:06] local.INFO: Extracted packet for processing {"connection_id":203970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:31:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531841536001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791140307000,"timestamp_ms":1791140307000,"timestamp_seconds":1791140307,"priority":1,"record_length":96,"hex_timestamp":"000001a108482038"} 
[2026-10-05 00:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:31:06] 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-10-05 00:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:31: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-10-05 00:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531841536001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531841536001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:31:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:31:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531841536001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":203970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:31:06] local.INFO: GPS data processed {"connection_id":203970,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:31:06] local.INFO: Acknowledgment sent {"connection_id":203970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:31:08] local.INFO: TCP Data received {"connection_id":206979,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206979,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:31:08] local.INFO: Processing buffer {"connection_id":206979,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:31:08] local.INFO: IMEI packet received {"connection_id":206979,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 00:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":206979,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:31:33] local.INFO: TCP Data received {"connection_id":206980,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:31:33] local.INFO: Processing buffer {"connection_id":206980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:31:33] local.INFO: Packet analysis {"connection_id":206980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:31:33] local.INFO: Extracted packet for processing {"connection_id":206980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:31:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531845632001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:31: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-10-05 00:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791140323000,"timestamp_ms":1791140323000,"timestamp_seconds":1791140323,"priority":1,"record_length":96,"hex_timestamp":"000001a108485eb8"} 
[2026-10-05 00:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:31:33] 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-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":206980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":206980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":206980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531845632001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531845632001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:31:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:31:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531845632001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":206980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:31:33] local.INFO: GPS data processed {"connection_id":206980,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:31:33] local.INFO: Acknowledgment sent {"connection_id":206980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:31:37] local.INFO: TCP Data received {"connection_id":203970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:31:37] local.INFO: Processing buffer {"connection_id":203970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:31:37] local.INFO: Packet analysis {"connection_id":203970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:31:37] local.INFO: Extracted packet for processing {"connection_id":203970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:31:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531841536001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791140307000,"timestamp_ms":1791140307000,"timestamp_seconds":1791140307,"priority":1,"record_length":96,"hex_timestamp":"000001a108482038"} 
[2026-10-05 00:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:31:37] 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-10-05 00:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:31: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-10-05 00:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531841536001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531841536001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:31:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:31:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531841536001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":203970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:31:37] local.INFO: GPS data processed {"connection_id":203970,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:31:37] local.INFO: Acknowledgment sent {"connection_id":203970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:31:44] local.INFO: TCP Data received {"connection_id":206981,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206981,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:31:44] local.INFO: Processing buffer {"connection_id":206981,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:31:44] local.INFO: IMEI packet received {"connection_id":206981,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 00:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":206981,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:31:56] local.INFO: TCP Data received {"connection_id":203881,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:31:56] local.INFO: Processing buffer {"connection_id":203881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:31:56] local.INFO: IMEI packet received {"connection_id":203881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":203881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:32:01] local.INFO: TCP Data received {"connection_id":203881,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:32:01] local.INFO: Processing buffer {"connection_id":203881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:32:01] local.INFO: IMEI packet received {"connection_id":203881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":203881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:32:02] local.INFO: TCP Data received {"connection_id":203881,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:32:02] local.INFO: Processing buffer {"connection_id":203881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:32:02] local.INFO: Packet analysis {"connection_id":203881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:32:02] local.INFO: Extracted packet for processing {"connection_id":203881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:32:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531845632001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:32: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-10-05 00:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791140323000,"timestamp_ms":1791140323000,"timestamp_seconds":1791140323,"priority":1,"record_length":96,"hex_timestamp":"000001a108485eb8"} 
[2026-10-05 00:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:32: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-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:32:02] 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-10-05 00: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-10-05 00:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:32: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-10-05 00:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531845632001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531845632001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:32:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:32:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531845632001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":203881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:32:02] local.INFO: GPS data processed {"connection_id":203881,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:32:02] local.INFO: Acknowledgment sent {"connection_id":203881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:32:05] local.INFO: TCP Data received {"connection_id":203882,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203882,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:32:05] local.INFO: Processing buffer {"connection_id":203882,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:32:05] local.INFO: IMEI packet received {"connection_id":203882,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":203882,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:32:10] local.INFO: TCP Data received {"connection_id":203882,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203882,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:32:10] local.INFO: Processing buffer {"connection_id":203882,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:32:10] local.INFO: IMEI packet received {"connection_id":203882,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":203882,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:32:11] local.INFO: TCP Data received {"connection_id":203882,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:32:11] local.INFO: Processing buffer {"connection_id":203882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:32:11] local.INFO: Packet analysis {"connection_id":203882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:32:11] local.INFO: Extracted packet for processing {"connection_id":203882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:32:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531841536001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791140307000,"timestamp_ms":1791140307000,"timestamp_seconds":1791140307,"priority":1,"record_length":96,"hex_timestamp":"000001a108482038"} 
[2026-10-05 00:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:32:11] 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-10-05 00:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":203882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":203882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":203882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:32:11] 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-10-05 00:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531841536001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531841536001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:32:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531841536001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":203882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:32:11] local.INFO: GPS data processed {"connection_id":203882,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:32:11] local.INFO: Acknowledgment sent {"connection_id":203882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:32:16] local.INFO: TCP Data received {"connection_id":203882,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:32:16] local.INFO: Processing buffer {"connection_id":203882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:32:16] local.INFO: Packet analysis {"connection_id":203882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:32:16] local.INFO: Extracted packet for processing {"connection_id":203882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:32:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531841536001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791140307000,"timestamp_ms":1791140307000,"timestamp_seconds":1791140307,"priority":1,"record_length":96,"hex_timestamp":"000001a108482038"} 
[2026-10-05 00:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":203882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":203882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":203882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:32:16] 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-10-05 00:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531841536001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531841536001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:32:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:32:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531841536001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":203882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:32:16] local.INFO: GPS data processed {"connection_id":203882,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:32:16] local.INFO: Acknowledgment sent {"connection_id":203882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:32:33] local.INFO: TCP Data received {"connection_id":203881,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:32:33] local.INFO: Processing buffer {"connection_id":203881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:32:33] local.INFO: Packet analysis {"connection_id":203881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:32:33] local.INFO: Extracted packet for processing {"connection_id":203881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531845632001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:32: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-10-05 00:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791140323000,"timestamp_ms":1791140323000,"timestamp_seconds":1791140323,"priority":1,"record_length":96,"hex_timestamp":"000001a108485eb8"} 
[2026-10-05 00:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:32:33] 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-10-05 00:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531845632001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531845632001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:32:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:32:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531845632001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":203881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:32:33] local.INFO: GPS data processed {"connection_id":203881,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:32:33] local.INFO: Acknowledgment sent {"connection_id":203881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:33:00] local.INFO: TCP Data received {"connection_id":205417,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205417,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:33:00] local.INFO: Processing buffer {"connection_id":205417,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:33:00] local.INFO: IMEI packet received {"connection_id":205417,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":205417,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:33:01] local.INFO: TCP Data received {"connection_id":205418,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:33:01] local.INFO: Processing buffer {"connection_id":205418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:33:01] local.INFO: IMEI packet received {"connection_id":205418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":205418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:33:05] local.INFO: TCP Data received {"connection_id":205417,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205417,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:33:05] local.INFO: Processing buffer {"connection_id":205417,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:33:05] local.INFO: IMEI packet received {"connection_id":205417,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":205417,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:33:06] local.INFO: TCP Data received {"connection_id":205417,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:33:06] local.INFO: Processing buffer {"connection_id":205417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108482038012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 00:33:06] local.INFO: Packet analysis {"connection_id":205417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:33:06] local.INFO: Extracted packet for processing {"connection_id":205417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:33:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 00:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531841536001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791140307000,"timestamp_ms":1791140307000,"timestamp_seconds":1791140307,"priority":1,"record_length":96,"hex_timestamp":"000001a108482038"} 
[2026-10-05 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-10-05 00:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:33:06] 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-10-05 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-10-05 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-10-05 00:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:33: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-10-05 00:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531841536001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531841536001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:33:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:33:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531841536001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":205417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:33:06] local.INFO: GPS data processed {"connection_id":205417,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:33:06] local.INFO: Acknowledgment sent {"connection_id":205417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:33:06] local.INFO: TCP Data received {"connection_id":205418,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:33:06] local.INFO: Processing buffer {"connection_id":205418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:33:06] local.INFO: IMEI packet received {"connection_id":205418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":205418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:33:07] local.INFO: TCP Data received {"connection_id":205418,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:33:07] local.INFO: Processing buffer {"connection_id":205418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:33:07] local.INFO: Packet analysis {"connection_id":205418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:33:07] local.INFO: Extracted packet for processing {"connection_id":205418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:33:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531845632001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:33: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-10-05 00:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791140323000,"timestamp_ms":1791140323000,"timestamp_seconds":1791140323,"priority":1,"record_length":96,"hex_timestamp":"000001a108485eb8"} 
[2026-10-05 00:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:33:07] 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-10-05 00:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531845632001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531845632001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:33:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:33:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531845632001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":205418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:33:07] local.INFO: GPS data processed {"connection_id":205418,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:33:07] local.INFO: Acknowledgment sent {"connection_id":205418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:33:12] local.INFO: TCP Data received {"connection_id":205418,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:33:12] local.INFO: Processing buffer {"connection_id":205418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:33:12] local.INFO: Packet analysis {"connection_id":205418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:33:12] local.INFO: Extracted packet for processing {"connection_id":205418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:33:12] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:33: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-10-05 00:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531845632001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791140323000,"timestamp_ms":1791140323000,"timestamp_seconds":1791140323,"priority":1,"record_length":96,"hex_timestamp":"000001a108485eb8"} 
[2026-10-05 00:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:33:12] 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-10-05 00:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:33:12] 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-10-05 00:33: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-10-05 00:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":205418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":205418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":205418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531845632001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531845632001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:33:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:33:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531845632001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":205418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:33:12] local.INFO: GPS data processed {"connection_id":205418,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:33:12] local.INFO: Acknowledgment sent {"connection_id":205418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:33:37] local.INFO: TCP Data received {"connection_id":205417,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1084cb800012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1084cb800012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:33:37] local.INFO: Processing buffer {"connection_id":205417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1084cb800012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:33:37] local.INFO: Packet analysis {"connection_id":205417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:33:37] local.INFO: Extracted packet for processing {"connection_id":205417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:33:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531918592001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791140608000,"timestamp_ms":1791140608000,"timestamp_seconds":1791140608,"priority":1,"record_length":96,"hex_timestamp":"000001a1084cb800"} 
[2026-10-05 00:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:33:37] 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-10-05 00:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:33: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-10-05 00:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531918592001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531918592001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:33:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:33:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531918592001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":205417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:33:37] local.INFO: GPS data processed {"connection_id":205417,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:33:37] local.INFO: Acknowledgment sent {"connection_id":205417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:33:56] local.INFO: TCP Data received {"connection_id":203971,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:33:56] local.INFO: Processing buffer {"connection_id":203971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:33:56] local.INFO: IMEI packet received {"connection_id":203971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":203971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:34:01] local.INFO: TCP Data received {"connection_id":203971,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:34:01] local.INFO: Processing buffer {"connection_id":203971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:34:01] local.INFO: IMEI packet received {"connection_id":203971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":203971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:34:02] local.INFO: TCP Data received {"connection_id":203971,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:34:02] local.INFO: Processing buffer {"connection_id":203971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108485eb8012d7f91c005afd9f0000a010125..."} 
[2026-10-05 00:34:02] local.INFO: Packet analysis {"connection_id":203971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:34:02] local.INFO: Extracted packet for processing {"connection_id":203971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10848"} 
[2026-10-05 00:34:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531845632001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:34: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-10-05 00:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791140323000,"timestamp_ms":1791140323000,"timestamp_seconds":1791140323,"priority":1,"record_length":96,"hex_timestamp":"000001a108485eb8"} 
[2026-10-05 00:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:34: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-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:34:02] 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-10-05 00:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:34: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-10-05 00:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531845632001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531845632001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:34:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:34:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531845632001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":203971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:34:02] local.INFO: GPS data processed {"connection_id":203971,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:34:02] local.INFO: Acknowledgment sent {"connection_id":203971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:34:15] local.INFO: TCP Data received {"connection_id":205420,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205420,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:34:15] local.INFO: Processing buffer {"connection_id":205420,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:34:15] local.INFO: IMEI packet received {"connection_id":205420,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":205420,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:34:20] local.INFO: TCP Data received {"connection_id":205420,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205420,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:34:20] local.INFO: Processing buffer {"connection_id":205420,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:34:20] local.INFO: IMEI packet received {"connection_id":205420,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":205420,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:34:21] local.INFO: TCP Data received {"connection_id":205420,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1084cb800012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1084cb800012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:34:21] local.INFO: Processing buffer {"connection_id":205420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1084cb800012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:34:21] local.INFO: Packet analysis {"connection_id":205420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:34:21] local.INFO: Extracted packet for processing {"connection_id":205420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:34:21] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531918592001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791140608000,"timestamp_ms":1791140608000,"timestamp_seconds":1791140608,"priority":1,"record_length":96,"hex_timestamp":"000001a1084cb800"} 
[2026-10-05 00:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:34:21] 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-10-05 00:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":205420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":205420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":205420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531918592001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531918592001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:34:21] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:34:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531918592001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":205420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:34:21] local.INFO: GPS data processed {"connection_id":205420,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:34:21] local.INFO: Acknowledgment sent {"connection_id":205420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:34:33] local.INFO: TCP Data received {"connection_id":203971,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:34:33] local.INFO: Processing buffer {"connection_id":203971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:34:33] local.INFO: Packet analysis {"connection_id":203971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:34:33] local.INFO: Extracted packet for processing {"connection_id":203971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531922688001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:34: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-10-05 00:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791140624000,"timestamp_ms":1791140624000,"timestamp_seconds":1791140624,"priority":1,"record_length":96,"hex_timestamp":"000001a1084cf680"} 
[2026-10-05 00:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531922688001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531922688001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:34:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:34:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531922688001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":203971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:34:33] local.INFO: GPS data processed {"connection_id":203971,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:34:33] local.INFO: Acknowledgment sent {"connection_id":203971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:34:56] local.INFO: TCP Data received {"connection_id":203883,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:34:56] local.INFO: Processing buffer {"connection_id":203883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:34:56] local.INFO: IMEI packet received {"connection_id":203883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":203883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:35:00] local.INFO: TCP Data received {"connection_id":203884,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:35:00] local.INFO: Processing buffer {"connection_id":203884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:35:00] local.INFO: IMEI packet received {"connection_id":203884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":203884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:35:01] local.INFO: TCP Data received {"connection_id":203883,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:35:01] local.INFO: Processing buffer {"connection_id":203883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:35:01] local.INFO: IMEI packet received {"connection_id":203883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":203883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:35:02] local.INFO: TCP Data received {"connection_id":203883,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:35:02] local.INFO: Processing buffer {"connection_id":203883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:35:02] local.INFO: Packet analysis {"connection_id":203883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:35:02] local.INFO: Extracted packet for processing {"connection_id":203883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:35:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531922688001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:35: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-10-05 00:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791140624000,"timestamp_ms":1791140624000,"timestamp_seconds":1791140624,"priority":1,"record_length":96,"hex_timestamp":"000001a1084cf680"} 
[2026-10-05 00:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:35:02] 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-10-05 00: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-10-05 00:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:35: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-10-05 00:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531922688001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531922688001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:35:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:35:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531922688001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":203883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:35:02] local.INFO: GPS data processed {"connection_id":203883,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:35:02] local.INFO: Acknowledgment sent {"connection_id":203883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:35:05] local.INFO: TCP Data received {"connection_id":203884,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:35:05] local.INFO: Processing buffer {"connection_id":203884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:35:05] local.INFO: IMEI packet received {"connection_id":203884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":203884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:35:06] local.INFO: TCP Data received {"connection_id":203884,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1084cb800012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1084cb800012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:35:06] local.INFO: Processing buffer {"connection_id":203884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1084cb800012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:35:06] local.INFO: Packet analysis {"connection_id":203884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:35:06] local.INFO: Extracted packet for processing {"connection_id":203884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:35:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531918592001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791140608000,"timestamp_ms":1791140608000,"timestamp_seconds":1791140608,"priority":1,"record_length":96,"hex_timestamp":"000001a1084cb800"} 
[2026-10-05 00:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:35:06] 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-10-05 00: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-10-05 00:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531918592001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531918592001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:35:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:35:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531918592001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":203884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:35:06] local.INFO: GPS data processed {"connection_id":203884,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:35:06] local.INFO: Acknowledgment sent {"connection_id":203884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:35:33] local.INFO: TCP Data received {"connection_id":203883,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:35:33] local.INFO: Processing buffer {"connection_id":203883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:35:33] local.INFO: Packet analysis {"connection_id":203883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:35:33] local.INFO: Extracted packet for processing {"connection_id":203883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531922688001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:35: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-10-05 00:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791140624000,"timestamp_ms":1791140624000,"timestamp_seconds":1791140624,"priority":1,"record_length":96,"hex_timestamp":"000001a1084cf680"} 
[2026-10-05 00:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531922688001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531922688001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:35:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:35:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531922688001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":203883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:35:33] local.INFO: GPS data processed {"connection_id":203883,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:35:33] local.INFO: Acknowledgment sent {"connection_id":203883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:35:38] local.INFO: TCP Data received {"connection_id":203884,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1084cb800012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1084cb800012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:35:38] local.INFO: Processing buffer {"connection_id":203884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1084cb800012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:35:38] local.INFO: Packet analysis {"connection_id":203884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:35:38] local.INFO: Extracted packet for processing {"connection_id":203884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:35:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531918592001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791140608000,"timestamp_ms":1791140608000,"timestamp_seconds":1791140608,"priority":1,"record_length":96,"hex_timestamp":"000001a1084cb800"} 
[2026-10-05 00:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:35: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-10-05 00:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531918592001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531918592001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:35:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:35:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531918592001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":203884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:35:38] local.INFO: GPS data processed {"connection_id":203884,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:35:38] local.INFO: Acknowledgment sent {"connection_id":203884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:35:56] local.INFO: TCP Data received {"connection_id":206984,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:35:56] local.INFO: Processing buffer {"connection_id":206984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:35:56] local.INFO: IMEI packet received {"connection_id":206984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":206984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:36:00] local.INFO: TCP Data received {"connection_id":203972,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:36:00] local.INFO: Processing buffer {"connection_id":203972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:36:00] local.INFO: IMEI packet received {"connection_id":203972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":203972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:36:01] local.INFO: TCP Data received {"connection_id":206984,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:36:01] local.INFO: Processing buffer {"connection_id":206984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:36:01] local.INFO: IMEI packet received {"connection_id":206984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":206984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:36:02] local.INFO: TCP Data received {"connection_id":206984,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:36:02] local.INFO: Processing buffer {"connection_id":206984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:36:02] local.INFO: Packet analysis {"connection_id":206984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:36:02] local.INFO: Extracted packet for processing {"connection_id":206984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:36:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531922688001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:36: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-10-05 00:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791140624000,"timestamp_ms":1791140624000,"timestamp_seconds":1791140624,"priority":1,"record_length":96,"hex_timestamp":"000001a1084cf680"} 
[2026-10-05 00:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:36:02] 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-10-05 00: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-10-05 00:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":206984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":206984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":206984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:36: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-10-05 00:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531922688001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531922688001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:36:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:36:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531922688001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":206984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:36:02] local.INFO: GPS data processed {"connection_id":206984,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:36:02] local.INFO: Acknowledgment sent {"connection_id":206984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:36:05] local.INFO: TCP Data received {"connection_id":203972,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:36:05] local.INFO: Processing buffer {"connection_id":203972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:36:05] local.INFO: IMEI packet received {"connection_id":203972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":203972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:36:06] local.INFO: TCP Data received {"connection_id":203972,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1084cb800012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1084cb800012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:36:06] local.INFO: Processing buffer {"connection_id":203972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1084cb800012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:36:06] local.INFO: Packet analysis {"connection_id":203972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:36:06] local.INFO: Extracted packet for processing {"connection_id":203972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531918592001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791140608000,"timestamp_ms":1791140608000,"timestamp_seconds":1791140608,"priority":1,"record_length":96,"hex_timestamp":"000001a1084cb800"} 
[2026-10-05 00:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:36:06] 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-10-05 00: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-10-05 00:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531918592001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531918592001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:36:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:36:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531918592001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":203972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964317,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:36:06] local.INFO: GPS data processed {"connection_id":203972,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:36:06] local.INFO: Acknowledgment sent {"connection_id":203972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:36:33] local.INFO: TCP Data received {"connection_id":206984,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:36:33] local.INFO: Processing buffer {"connection_id":206984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:36:33] local.INFO: Packet analysis {"connection_id":206984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:36:33] local.INFO: Extracted packet for processing {"connection_id":206984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531922688001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:36: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-10-05 00:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791140624000,"timestamp_ms":1791140624000,"timestamp_seconds":1791140624,"priority":1,"record_length":96,"hex_timestamp":"000001a1084cf680"} 
[2026-10-05 00:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":206984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":206984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":206984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531922688001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531922688001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:36:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:36:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531922688001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":206984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:36:33] local.INFO: GPS data processed {"connection_id":206984,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:36:33] local.INFO: Acknowledgment sent {"connection_id":206984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:36:37] local.INFO: TCP Data received {"connection_id":203972,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1084cb800012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1084cb800012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:36:37] local.INFO: Processing buffer {"connection_id":203972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1084cb800012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:36:37] local.INFO: Packet analysis {"connection_id":203972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:36:37] local.INFO: Extracted packet for processing {"connection_id":203972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:36:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531918592001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791140608000,"timestamp_ms":1791140608000,"timestamp_seconds":1791140608,"priority":1,"record_length":96,"hex_timestamp":"000001a1084cb800"} 
[2026-10-05 00:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:36:37] 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-10-05 00:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531918592001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531918592001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:36:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:36:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531918592001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":203972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:36:38] local.INFO: GPS data processed {"connection_id":203972,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:36:38] local.INFO: Acknowledgment sent {"connection_id":203972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:36:56] local.INFO: TCP Data received {"connection_id":205421,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:36:56] local.INFO: Processing buffer {"connection_id":205421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:36:56] local.INFO: IMEI packet received {"connection_id":205421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":205421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:37:01] local.INFO: TCP Data received {"connection_id":205421,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:37:01] local.INFO: Processing buffer {"connection_id":205421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:37:01] local.INFO: IMEI packet received {"connection_id":205421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":205421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:37:02] local.INFO: TCP Data received {"connection_id":205421,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:37:02] local.INFO: Processing buffer {"connection_id":205421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:37:02] local.INFO: Packet analysis {"connection_id":205421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:37:02] local.INFO: Extracted packet for processing {"connection_id":205421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:37:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531922688001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:37: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-10-05 00:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791140624000,"timestamp_ms":1791140624000,"timestamp_seconds":1791140624,"priority":1,"record_length":96,"hex_timestamp":"000001a1084cf680"} 
[2026-10-05 00:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:37:02] 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-10-05 00:37: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-10-05 00:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:37: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-10-05 00:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531922688001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531922688001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:37:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:37:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531922688001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":205421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:37:02] local.INFO: GPS data processed {"connection_id":205421,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:37:02] local.INFO: Acknowledgment sent {"connection_id":205421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:37:05] local.INFO: TCP Data received {"connection_id":205422,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:37:05] local.INFO: Processing buffer {"connection_id":205422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:37:05] local.INFO: IMEI packet received {"connection_id":205422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":205422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:37:10] local.INFO: TCP Data received {"connection_id":205422,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:37:10] local.INFO: Processing buffer {"connection_id":205422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:37:10] local.INFO: IMEI packet received {"connection_id":205422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":205422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:37:11] local.INFO: TCP Data received {"connection_id":205422,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1084cb800012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1084cb800012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:37:11] local.INFO: Processing buffer {"connection_id":205422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1084cb800012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:37:11] local.INFO: Packet analysis {"connection_id":205422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:37:11] local.INFO: Extracted packet for processing {"connection_id":205422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:37:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531918592001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791140608000,"timestamp_ms":1791140608000,"timestamp_seconds":1791140608,"priority":1,"record_length":96,"hex_timestamp":"000001a1084cb800"} 
[2026-10-05 00:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:37:11] 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-10-05 00:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531918592001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531918592001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:37:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531918592001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":205422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:37:11] local.INFO: GPS data processed {"connection_id":205422,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:37:11] local.INFO: Acknowledgment sent {"connection_id":205422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:37:16] local.INFO: TCP Data received {"connection_id":205422,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1084cb800012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1084cb800012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:37:16] local.INFO: Processing buffer {"connection_id":205422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1084cb800012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:37:16] local.INFO: Packet analysis {"connection_id":205422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:37:16] local.INFO: Extracted packet for processing {"connection_id":205422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:37:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531918592001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791140608000,"timestamp_ms":1791140608000,"timestamp_seconds":1791140608,"priority":1,"record_length":96,"hex_timestamp":"000001a1084cb800"} 
[2026-10-05 00:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531918592001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531918592001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:37:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:37:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531918592001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":205422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:37:16] local.INFO: GPS data processed {"connection_id":205422,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:37:16] local.INFO: Acknowledgment sent {"connection_id":205422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:37:18] local.INFO: TCP Data received {"connection_id":206985,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206985,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:37:18] local.INFO: Processing buffer {"connection_id":206985,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:37:18] local.INFO: IMEI packet received {"connection_id":206985,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 00:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":206985,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:37:33] local.INFO: TCP Data received {"connection_id":205421,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:37:33] local.INFO: Processing buffer {"connection_id":205421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:37:33] local.INFO: Packet analysis {"connection_id":205421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:37:33] local.INFO: Extracted packet for processing {"connection_id":205421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:37:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531922688001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:37: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-10-05 00:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791140624000,"timestamp_ms":1791140624000,"timestamp_seconds":1791140624,"priority":1,"record_length":96,"hex_timestamp":"000001a1084cf680"} 
[2026-10-05 00:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531922688001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531922688001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:37:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:37:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531922688001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":205421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:37:33] local.INFO: GPS data processed {"connection_id":205421,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:37:33] local.INFO: Acknowledgment sent {"connection_id":205421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:37:44] local.INFO: TCP Data received {"connection_id":203885,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203885,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:37:44] local.INFO: Processing buffer {"connection_id":203885,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:37:44] local.INFO: IMEI packet received {"connection_id":203885,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 00:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":203885,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:37:56] local.INFO: TCP Data received {"connection_id":205423,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:37:56] local.INFO: Processing buffer {"connection_id":205423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:37:56] local.INFO: IMEI packet received {"connection_id":205423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":205423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:38:00] local.INFO: TCP Data received {"connection_id":203973,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:38:00] local.INFO: Processing buffer {"connection_id":203973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:38:00] local.INFO: IMEI packet received {"connection_id":203973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":203973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:38:01] local.INFO: TCP Data received {"connection_id":205423,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:38:01] local.INFO: Processing buffer {"connection_id":205423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:38:01] local.INFO: IMEI packet received {"connection_id":205423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":205423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:38:02] local.INFO: TCP Data received {"connection_id":205423,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:38:02] local.INFO: Processing buffer {"connection_id":205423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:38:02] local.INFO: Packet analysis {"connection_id":205423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:38:02] local.INFO: Extracted packet for processing {"connection_id":205423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:38:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531922688001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:38: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-10-05 00:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791140624000,"timestamp_ms":1791140624000,"timestamp_seconds":1791140624,"priority":1,"record_length":96,"hex_timestamp":"000001a1084cf680"} 
[2026-10-05 00:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:38:02] 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-10-05 00: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-10-05 00:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:38: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-10-05 00:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531922688001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531922688001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:38:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:38:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531922688001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":205423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:38:02] local.INFO: GPS data processed {"connection_id":205423,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:38:02] local.INFO: Acknowledgment sent {"connection_id":205423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:38:05] local.INFO: TCP Data received {"connection_id":203973,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:38:05] local.INFO: Processing buffer {"connection_id":203973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:38:05] local.INFO: IMEI packet received {"connection_id":203973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":203973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:38:07] local.INFO: TCP Data received {"connection_id":203973,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1084cb800012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1084cb800012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:38:07] local.INFO: Processing buffer {"connection_id":203973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1084cb800012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:38:07] local.INFO: Packet analysis {"connection_id":203973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:38:07] local.INFO: Extracted packet for processing {"connection_id":203973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:38:07] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531918592001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791140608000,"timestamp_ms":1791140608000,"timestamp_seconds":1791140608,"priority":1,"record_length":96,"hex_timestamp":"000001a1084cb800"} 
[2026-10-05 00:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:38:07] 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-10-05 00:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":203973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":203973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":203973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531918592001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531918592001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:38:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:38:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531918592001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":203973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:38:07] local.INFO: GPS data processed {"connection_id":203973,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:38:07] local.INFO: Acknowledgment sent {"connection_id":203973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:38:33] local.INFO: TCP Data received {"connection_id":205423,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:38:33] local.INFO: Processing buffer {"connection_id":205423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:38:33] local.INFO: Packet analysis {"connection_id":205423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:38:33] local.INFO: Extracted packet for processing {"connection_id":205423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:38:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531922688001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:38: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-10-05 00:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791140624000,"timestamp_ms":1791140624000,"timestamp_seconds":1791140624,"priority":1,"record_length":96,"hex_timestamp":"000001a1084cf680"} 
[2026-10-05 00:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531922688001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531922688001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:38:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:38:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531922688001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":205423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:38:33] local.INFO: GPS data processed {"connection_id":205423,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:38:33] local.INFO: Acknowledgment sent {"connection_id":205423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:38:38] local.INFO: TCP Data received {"connection_id":203973,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:38:38] local.INFO: Processing buffer {"connection_id":203973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:38:38] local.INFO: Packet analysis {"connection_id":203973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:38:38] local.INFO: Extracted packet for processing {"connection_id":203973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:38:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:38: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-10-05 00:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531995648001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791140909000,"timestamp_ms":1791140909000,"timestamp_seconds":1791140909,"priority":1,"record_length":96,"hex_timestamp":"000001a108514fc8"} 
[2026-10-05 00:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:38: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-10-05 00:38: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-10-05 00:38: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-10-05 00:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531995648001,"66":12678,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531995648001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:38:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:38:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531995648001,"power":12678,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":203973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:38:38] local.INFO: GPS data processed {"connection_id":203973,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:38:38] local.INFO: Acknowledgment sent {"connection_id":203973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:39:00] local.INFO: TCP Data received {"connection_id":206987,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206987,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:39:00] local.INFO: Processing buffer {"connection_id":206987,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:39:00] local.INFO: IMEI packet received {"connection_id":206987,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":206987,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:39:01] local.INFO: TCP Data received {"connection_id":206986,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:39:01] local.INFO: Processing buffer {"connection_id":206986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:39:01] local.INFO: IMEI packet received {"connection_id":206986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":206986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:39:05] local.INFO: TCP Data received {"connection_id":206987,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206987,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:39:05] local.INFO: Processing buffer {"connection_id":206987,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:39:05] local.INFO: IMEI packet received {"connection_id":206987,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":206987,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:39:06] local.INFO: TCP Data received {"connection_id":206987,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:39:06] local.INFO: Processing buffer {"connection_id":206987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:39:06] local.INFO: Packet analysis {"connection_id":206987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:39:06] local.INFO: Extracted packet for processing {"connection_id":206987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:39:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531995648001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791140909000,"timestamp_ms":1791140909000,"timestamp_seconds":1791140909,"priority":1,"record_length":96,"hex_timestamp":"000001a108514fc8"} 
[2026-10-05 00:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:39:06] 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-10-05 00:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":206987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":206987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":206987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531995648001,"66":12678,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531995648001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:39:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:39:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531995648001,"power":12678,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":206987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:39:06] local.INFO: GPS data processed {"connection_id":206987,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:39:06] local.INFO: Acknowledgment sent {"connection_id":206987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:39:06] local.INFO: TCP Data received {"connection_id":206986,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:39:06] local.INFO: Processing buffer {"connection_id":206986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:39:06] local.INFO: IMEI packet received {"connection_id":206986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":206986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:39:07] local.INFO: TCP Data received {"connection_id":206986,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:39:07] local.INFO: Processing buffer {"connection_id":206986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:39:07] local.INFO: Packet analysis {"connection_id":206986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:39:07] local.INFO: Extracted packet for processing {"connection_id":206986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:39:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531922688001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:39: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-10-05 00:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791140624000,"timestamp_ms":1791140624000,"timestamp_seconds":1791140624,"priority":1,"record_length":96,"hex_timestamp":"000001a1084cf680"} 
[2026-10-05 00:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":206986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":206986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":206986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531922688001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531922688001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:39:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:39:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531922688001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":206986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:39:07] local.INFO: GPS data processed {"connection_id":206986,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:39:07] local.INFO: Acknowledgment sent {"connection_id":206986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:39:12] local.INFO: TCP Data received {"connection_id":206986,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:39:12] local.INFO: Processing buffer {"connection_id":206986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1084cf680012d7f91c005afd9f00008010125..."} 
[2026-10-05 00:39:12] local.INFO: Packet analysis {"connection_id":206986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:39:12] local.INFO: Extracted packet for processing {"connection_id":206986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1084c"} 
[2026-10-05 00:39:12] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531922688001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791140624000,"timestamp_ms":1791140624000,"timestamp_seconds":1791140624,"priority":1,"record_length":96,"hex_timestamp":"000001a1084cf680"} 
[2026-10-05 00:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:39:12] 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-10-05 00:39: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-10-05 00:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":206986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":206986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":206986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531922688001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531922688001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:39:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:39:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531922688001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":206986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:39:12] local.INFO: GPS data processed {"connection_id":206986,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:39:12] local.INFO: Acknowledgment sent {"connection_id":206986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:39:38] local.INFO: TCP Data received {"connection_id":206987,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:39:38] local.INFO: Processing buffer {"connection_id":206987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:39:38] local.INFO: Packet analysis {"connection_id":206987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:39:38] local.INFO: Extracted packet for processing {"connection_id":206987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:39:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531995648001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791140909000,"timestamp_ms":1791140909000,"timestamp_seconds":1791140909,"priority":1,"record_length":96,"hex_timestamp":"000001a108514fc8"} 
[2026-10-05 00:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:39: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-10-05 00:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":206987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":206987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":206987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531995648001,"66":12678,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531995648001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:39:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:39:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531995648001,"power":12678,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":206987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:39:38] local.INFO: GPS data processed {"connection_id":206987,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:39:38] local.INFO: Acknowledgment sent {"connection_id":206987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:39:56] local.INFO: TCP Data received {"connection_id":203974,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:39:56] local.INFO: Processing buffer {"connection_id":203974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:39:56] local.INFO: IMEI packet received {"connection_id":203974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":203974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:40:00] local.INFO: TCP Data received {"connection_id":203887,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:40:00] local.INFO: Processing buffer {"connection_id":203887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:40:00] local.INFO: IMEI packet received {"connection_id":203887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":203887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:40:01] local.INFO: TCP Data received {"connection_id":203974,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:40:01] local.INFO: Processing buffer {"connection_id":203974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:40:01] local.INFO: IMEI packet received {"connection_id":203974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":203974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:40:02] local.INFO: TCP Data received {"connection_id":203974,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108518e48012d7f91c005afd9f0000c010125..."} 
[2026-10-05 00:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108518e48012d7f91c005afd9f0000c010125..."} 
[2026-10-05 00:40:02] local.INFO: Processing buffer {"connection_id":203974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108518e48012d7f91c005afd9f0000c010125..."} 
[2026-10-05 00:40:02] local.INFO: Packet analysis {"connection_id":203974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:40:02] local.INFO: Extracted packet for processing {"connection_id":203974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:40:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531999744001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:40: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-10-05 00:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791140925000,"timestamp_ms":1791140925000,"timestamp_seconds":1791140925,"priority":1,"record_length":96,"hex_timestamp":"000001a108518e48"} 
[2026-10-05 00:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:40:02] 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-10-05 00: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-10-05 00:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:40: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-10-05 00:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531999744001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531999744001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:40:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:40:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531999744001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":203974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:40:02] local.INFO: GPS data processed {"connection_id":203974,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:40:02] local.INFO: Acknowledgment sent {"connection_id":203974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:40:05] local.INFO: TCP Data received {"connection_id":203887,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:40:05] local.INFO: Processing buffer {"connection_id":203887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:40:05] local.INFO: IMEI packet received {"connection_id":203887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":203887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:40:06] local.INFO: TCP Data received {"connection_id":203887,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:40:06] local.INFO: Processing buffer {"connection_id":203887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:40:06] local.INFO: Packet analysis {"connection_id":203887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:40:06] local.INFO: Extracted packet for processing {"connection_id":203887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:40:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531995648001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791140909000,"timestamp_ms":1791140909000,"timestamp_seconds":1791140909,"priority":1,"record_length":96,"hex_timestamp":"000001a108514fc8"} 
[2026-10-05 00:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:40:06] 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-10-05 00:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531995648001,"66":12678,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531995648001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:40:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:40:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531995648001,"power":12678,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":203887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:40:07] local.INFO: GPS data processed {"connection_id":203887,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:40:07] local.INFO: Acknowledgment sent {"connection_id":203887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:40:33] local.INFO: TCP Data received {"connection_id":203974,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108518e48012d7f91c005afd9f0000c010125..."} 
[2026-10-05 00:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108518e48012d7f91c005afd9f0000c010125..."} 
[2026-10-05 00:40:33] local.INFO: Processing buffer {"connection_id":203974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108518e48012d7f91c005afd9f0000c010125..."} 
[2026-10-05 00:40:33] local.INFO: Packet analysis {"connection_id":203974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:40:33] local.INFO: Extracted packet for processing {"connection_id":203974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531999744001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:40: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-10-05 00:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791140925000,"timestamp_ms":1791140925000,"timestamp_seconds":1791140925,"priority":1,"record_length":96,"hex_timestamp":"000001a108518e48"} 
[2026-10-05 00:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531999744001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531999744001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:40:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:40:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531999744001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":203974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:40:33] local.INFO: GPS data processed {"connection_id":203974,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:40:33] local.INFO: Acknowledgment sent {"connection_id":203974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:40:38] local.INFO: TCP Data received {"connection_id":203887,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:40:38] local.INFO: Processing buffer {"connection_id":203887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:40:38] local.INFO: Packet analysis {"connection_id":203887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:40:38] local.INFO: Extracted packet for processing {"connection_id":203887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:40:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531995648001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791140909000,"timestamp_ms":1791140909000,"timestamp_seconds":1791140909,"priority":1,"record_length":96,"hex_timestamp":"000001a108514fc8"} 
[2026-10-05 00:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:40: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-10-05 00:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531995648001,"66":12678,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531995648001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:40:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:40:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531995648001,"power":12678,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":203887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:40:38] local.INFO: GPS data processed {"connection_id":203887,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:40:38] local.INFO: Acknowledgment sent {"connection_id":203887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:40:56] local.INFO: TCP Data received {"connection_id":203888,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:40:56] local.INFO: Processing buffer {"connection_id":203888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:40:56] local.INFO: IMEI packet received {"connection_id":203888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":203888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:41:00] local.INFO: TCP Data received {"connection_id":205424,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:41:00] local.INFO: Processing buffer {"connection_id":205424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:41:00] local.INFO: IMEI packet received {"connection_id":205424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":205424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:41:01] local.INFO: TCP Data received {"connection_id":203888,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:41:01] local.INFO: Processing buffer {"connection_id":203888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:41:01] local.INFO: IMEI packet received {"connection_id":203888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":203888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:41:02] local.INFO: TCP Data received {"connection_id":203888,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108518e48012d7f91c005afd9f0000c010125..."} 
[2026-10-05 00:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108518e48012d7f91c005afd9f0000c010125..."} 
[2026-10-05 00:41:02] local.INFO: Processing buffer {"connection_id":203888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108518e48012d7f91c005afd9f0000c010125..."} 
[2026-10-05 00:41:02] local.INFO: Packet analysis {"connection_id":203888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:41:02] local.INFO: Extracted packet for processing {"connection_id":203888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:41:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531999744001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:41: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-10-05 00:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791140925000,"timestamp_ms":1791140925000,"timestamp_seconds":1791140925,"priority":1,"record_length":96,"hex_timestamp":"000001a108518e48"} 
[2026-10-05 00:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:41:02] 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-10-05 00: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-10-05 00:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:41: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-10-05 00:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531999744001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531999744001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:41:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:41:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531999744001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":203888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:41:02] local.INFO: GPS data processed {"connection_id":203888,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:41:02] local.INFO: Acknowledgment sent {"connection_id":203888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:41:05] local.INFO: TCP Data received {"connection_id":205424,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:41:05] local.INFO: Processing buffer {"connection_id":205424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:41:05] local.INFO: IMEI packet received {"connection_id":205424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":205424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:41:06] local.INFO: TCP Data received {"connection_id":205424,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:41:06] local.INFO: Processing buffer {"connection_id":205424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:41:06] local.INFO: Packet analysis {"connection_id":205424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:41:06] local.INFO: Extracted packet for processing {"connection_id":205424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:41:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531995648001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791140909000,"timestamp_ms":1791140909000,"timestamp_seconds":1791140909,"priority":1,"record_length":96,"hex_timestamp":"000001a108514fc8"} 
[2026-10-05 00:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:41:06] 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-10-05 00: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-10-05 00:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531995648001,"66":12678,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531995648001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:41:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:41:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531995648001,"power":12678,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":205424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:41:06] local.INFO: GPS data processed {"connection_id":205424,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:41:06] local.INFO: Acknowledgment sent {"connection_id":205424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:41:33] local.INFO: TCP Data received {"connection_id":203888,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108518e48012d7f91c005afd9f0000c010125..."} 
[2026-10-05 00:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108518e48012d7f91c005afd9f0000c010125..."} 
[2026-10-05 00:41:33] local.INFO: Processing buffer {"connection_id":203888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108518e48012d7f91c005afd9f0000c010125..."} 
[2026-10-05 00:41:33] local.INFO: Packet analysis {"connection_id":203888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:41:33] local.INFO: Extracted packet for processing {"connection_id":203888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531999744001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:41: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-10-05 00:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791140925000,"timestamp_ms":1791140925000,"timestamp_seconds":1791140925,"priority":1,"record_length":96,"hex_timestamp":"000001a108518e48"} 
[2026-10-05 00:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531999744001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531999744001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:41:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:41:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531999744001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":203888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:41:33] local.INFO: GPS data processed {"connection_id":203888,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:41:33] local.INFO: Acknowledgment sent {"connection_id":203888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:41:38] local.INFO: TCP Data received {"connection_id":205424,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:41:38] local.INFO: Processing buffer {"connection_id":205424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:41:38] local.INFO: Packet analysis {"connection_id":205424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:41:38] local.INFO: Extracted packet for processing {"connection_id":205424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:41:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531995648001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791140909000,"timestamp_ms":1791140909000,"timestamp_seconds":1791140909,"priority":1,"record_length":96,"hex_timestamp":"000001a108514fc8"} 
[2026-10-05 00:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:41: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-10-05 00:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531995648001,"66":12678,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531995648001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:41:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:41:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531995648001,"power":12678,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":205424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:41:38] local.INFO: GPS data processed {"connection_id":205424,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:41:38] local.INFO: Acknowledgment sent {"connection_id":205424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:41:56] local.INFO: TCP Data received {"connection_id":206990,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:41:56] local.INFO: Processing buffer {"connection_id":206990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:41:56] local.INFO: IMEI packet received {"connection_id":206990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":206990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:42:01] local.INFO: TCP Data received {"connection_id":206990,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:42:01] local.INFO: Processing buffer {"connection_id":206990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:42:01] local.INFO: IMEI packet received {"connection_id":206990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":206990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:42:02] local.INFO: TCP Data received {"connection_id":206990,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108518e48012d7f91c005afd9f0000c010125..."} 
[2026-10-05 00:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108518e48012d7f91c005afd9f0000c010125..."} 
[2026-10-05 00:42:02] local.INFO: Processing buffer {"connection_id":206990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108518e48012d7f91c005afd9f0000c010125..."} 
[2026-10-05 00:42:02] local.INFO: Packet analysis {"connection_id":206990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:42:02] local.INFO: Extracted packet for processing {"connection_id":206990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:42:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531999744001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:42: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-10-05 00:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791140925000,"timestamp_ms":1791140925000,"timestamp_seconds":1791140925,"priority":1,"record_length":96,"hex_timestamp":"000001a108518e48"} 
[2026-10-05 00:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:42:02] 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-10-05 00: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-10-05 00:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":206990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":206990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":206990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:42: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-10-05 00:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531999744001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531999744001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:42:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:42:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531999744001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":206990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:42:02] local.INFO: GPS data processed {"connection_id":206990,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:42:02] local.INFO: Acknowledgment sent {"connection_id":206990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:42:05] local.INFO: TCP Data received {"connection_id":206991,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:42:05] local.INFO: Processing buffer {"connection_id":206991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:42:05] local.INFO: IMEI packet received {"connection_id":206991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":206991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:42:10] local.INFO: TCP Data received {"connection_id":206991,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:42:10] local.INFO: Processing buffer {"connection_id":206991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:42:10] local.INFO: IMEI packet received {"connection_id":206991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":206991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:42:11] local.INFO: TCP Data received {"connection_id":206991,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:42:11] local.INFO: Processing buffer {"connection_id":206991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:42:11] local.INFO: Packet analysis {"connection_id":206991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:42:11] local.INFO: Extracted packet for processing {"connection_id":206991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:42:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531995648001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791140909000,"timestamp_ms":1791140909000,"timestamp_seconds":1791140909,"priority":1,"record_length":96,"hex_timestamp":"000001a108514fc8"} 
[2026-10-05 00:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:42:11] 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-10-05 00: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-10-05 00:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531995648001,"66":12678,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531995648001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:42:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:42:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531995648001,"power":12678,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":206991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964341,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:42:11] local.INFO: GPS data processed {"connection_id":206991,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:42:11] local.INFO: Acknowledgment sent {"connection_id":206991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:42:33] local.INFO: TCP Data received {"connection_id":206990,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108518e48012d7f91c005afd9f0000c010125..."} 
[2026-10-05 00:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108518e48012d7f91c005afd9f0000c010125..."} 
[2026-10-05 00:42:33] local.INFO: Processing buffer {"connection_id":206990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108518e48012d7f91c005afd9f0000c010125..."} 
[2026-10-05 00:42:33] local.INFO: Packet analysis {"connection_id":206990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:42:33] local.INFO: Extracted packet for processing {"connection_id":206990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531999744001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:42: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-10-05 00:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791140925000,"timestamp_ms":1791140925000,"timestamp_seconds":1791140925,"priority":1,"record_length":96,"hex_timestamp":"000001a108518e48"} 
[2026-10-05 00:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":206990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":206990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":206990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531999744001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531999744001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:42:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531999744001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":206990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:42:33] local.INFO: GPS data processed {"connection_id":206990,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:42:33] local.INFO: Acknowledgment sent {"connection_id":206990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:42:43] local.INFO: TCP Data received {"connection_id":206991,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:42:43] local.INFO: Processing buffer {"connection_id":206991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:42:43] local.INFO: Packet analysis {"connection_id":206991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:42:43] local.INFO: Extracted packet for processing {"connection_id":206991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:42:43] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531995648001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791140909000,"timestamp_ms":1791140909000,"timestamp_seconds":1791140909,"priority":1,"record_length":96,"hex_timestamp":"000001a108514fc8"} 
[2026-10-05 00:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:42:43] 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-10-05 00: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-10-05 00:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":206991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":206991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":206991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531995648001,"66":12678,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531995648001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:42:43] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:42:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531995648001,"power":12678,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":206991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964343,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:42:43] local.INFO: GPS data processed {"connection_id":206991,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:42:43] local.INFO: Acknowledgment sent {"connection_id":206991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:42:56] local.INFO: TCP Data received {"connection_id":203889,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:42:56] local.INFO: Processing buffer {"connection_id":203889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:42:56] local.INFO: IMEI packet received {"connection_id":203889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":203889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:43:00] local.INFO: TCP Data received {"connection_id":205425,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:43:00] local.INFO: Processing buffer {"connection_id":205425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:43:00] local.INFO: IMEI packet received {"connection_id":205425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":205425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:43:01] local.INFO: TCP Data received {"connection_id":203889,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:43:01] local.INFO: Processing buffer {"connection_id":203889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:43:01] local.INFO: IMEI packet received {"connection_id":203889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":203889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:43:02] local.INFO: TCP Data received {"connection_id":203889,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108518e48012d7f91c005afd9f0000c010125..."} 
[2026-10-05 00:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108518e48012d7f91c005afd9f0000c010125..."} 
[2026-10-05 00:43:02] local.INFO: Processing buffer {"connection_id":203889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108518e48012d7f91c005afd9f0000c010125..."} 
[2026-10-05 00:43:02] local.INFO: Packet analysis {"connection_id":203889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:43:02] local.INFO: Extracted packet for processing {"connection_id":203889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:43:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531999744001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:43: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-10-05 00:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791140925000,"timestamp_ms":1791140925000,"timestamp_seconds":1791140925,"priority":1,"record_length":96,"hex_timestamp":"000001a108518e48"} 
[2026-10-05 00:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:43:02] 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-10-05 00: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-10-05 00:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:43: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-10-05 00:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531999744001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531999744001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:43:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:43:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531999744001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":203889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:43:02] local.INFO: GPS data processed {"connection_id":203889,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:43:02] local.INFO: Acknowledgment sent {"connection_id":203889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:43:03] local.INFO: TCP Data received {"connection_id":206992,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:43:03] local.INFO: Processing buffer {"connection_id":206992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:43:03] local.INFO: IMEI packet received {"connection_id":206992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 00:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":206992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:43:05] local.INFO: TCP Data received {"connection_id":205425,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:43:05] local.INFO: Processing buffer {"connection_id":205425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:43:05] local.INFO: IMEI packet received {"connection_id":205425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":205425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:43:07] local.INFO: TCP Data received {"connection_id":205425,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:43:07] local.INFO: Processing buffer {"connection_id":205425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108514fc8012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 00:43:07] local.INFO: Packet analysis {"connection_id":205425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:43:07] local.INFO: Extracted packet for processing {"connection_id":205425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:43:07] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531995648001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791140909000,"timestamp_ms":1791140909000,"timestamp_seconds":1791140909,"priority":1,"record_length":96,"hex_timestamp":"000001a108514fc8"} 
[2026-10-05 00:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 00:43:07] 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-10-05 00:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531995648001,"66":12678,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531995648001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:43:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:43:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531995648001,"power":12678,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":205425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:43:07] local.INFO: GPS data processed {"connection_id":205425,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:43:07] local.INFO: Acknowledgment sent {"connection_id":205425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:43:33] local.INFO: TCP Data received {"connection_id":203889,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108518e48012d7f91c005afd9f0000c010125..."} 
[2026-10-05 00:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108518e48012d7f91c005afd9f0000c010125..."} 
[2026-10-05 00:43:33] local.INFO: Processing buffer {"connection_id":203889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108518e48012d7f91c005afd9f0000c010125..."} 
[2026-10-05 00:43:33] local.INFO: Packet analysis {"connection_id":203889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:43:33] local.INFO: Extracted packet for processing {"connection_id":203889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:43:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531999744001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00: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-10-05 00:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791140925000,"timestamp_ms":1791140925000,"timestamp_seconds":1791140925,"priority":1,"record_length":96,"hex_timestamp":"000001a108518e48"} 
[2026-10-05 00:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531999744001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531999744001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:43:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:43:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531999744001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":203889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:43:33] local.INFO: GPS data processed {"connection_id":203889,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:43:33] local.INFO: Acknowledgment sent {"connection_id":203889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:43:38] local.INFO: TCP Data received {"connection_id":205425,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:43:38] local.INFO: Processing buffer {"connection_id":205425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:43:38] local.INFO: Packet analysis {"connection_id":205425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10855"} 
[2026-10-05 00:43:38] local.INFO: Extracted packet for processing {"connection_id":205425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10855"} 
[2026-10-05 00:43:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532072704001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791141210000,"timestamp_ms":1791141210000,"timestamp_seconds":1791141210,"priority":1,"record_length":96,"hex_timestamp":"000001a10855e790"} 
[2026-10-05 00:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 00:43:38] 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-10-05 00: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-10-05 00:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532072704001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532072704001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:43:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:43:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532072704001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":205425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:43:39] local.INFO: GPS data processed {"connection_id":205425,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:43:39] local.INFO: Acknowledgment sent {"connection_id":205425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:43:43] local.INFO: TCP Data received {"connection_id":203976,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203976,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:43:43] local.INFO: Processing buffer {"connection_id":203976,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:43:43] local.INFO: IMEI packet received {"connection_id":203976,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 00:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":203976,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:43:56] local.INFO: TCP Data received {"connection_id":203890,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:43:56] local.INFO: Processing buffer {"connection_id":203890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:43:56] local.INFO: IMEI packet received {"connection_id":203890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":203890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:44:00] local.INFO: TCP Data received {"connection_id":203977,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:44:00] local.INFO: Processing buffer {"connection_id":203977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:44:00] local.INFO: IMEI packet received {"connection_id":203977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":203977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:44:01] local.INFO: TCP Data received {"connection_id":203890,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:44:01] local.INFO: Processing buffer {"connection_id":203890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:44:01] local.INFO: IMEI packet received {"connection_id":203890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":203890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:44:02] local.INFO: TCP Data received {"connection_id":203890,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108518e48012d7f91c005afd9f0000c010125..."} 
[2026-10-05 00:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108518e48012d7f91c005afd9f0000c010125..."} 
[2026-10-05 00:44:02] local.INFO: Processing buffer {"connection_id":203890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108518e48012d7f91c005afd9f0000c010125..."} 
[2026-10-05 00:44:02] local.INFO: Packet analysis {"connection_id":203890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:44:02] local.INFO: Extracted packet for processing {"connection_id":203890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10851"} 
[2026-10-05 00:44:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458531999744001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:44: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-10-05 00:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791140925000,"timestamp_ms":1791140925000,"timestamp_seconds":1791140925,"priority":1,"record_length":96,"hex_timestamp":"000001a108518e48"} 
[2026-10-05 00:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:44:02] 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-10-05 00: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-10-05 00:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:44: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-10-05 00:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458531999744001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458531999744001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:44:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:44:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458531999744001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":203890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:44:02] local.INFO: GPS data processed {"connection_id":203890,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:44:02] local.INFO: Acknowledgment sent {"connection_id":203890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:44:05] local.INFO: TCP Data received {"connection_id":203977,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:44:05] local.INFO: Processing buffer {"connection_id":203977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:44:05] local.INFO: IMEI packet received {"connection_id":203977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":203977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:44:06] local.INFO: TCP Data received {"connection_id":203977,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:44:06] local.INFO: Processing buffer {"connection_id":203977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:44:06] local.INFO: Packet analysis {"connection_id":203977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10855"} 
[2026-10-05 00:44:06] local.INFO: Extracted packet for processing {"connection_id":203977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10855"} 
[2026-10-05 00:44:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532072704001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791141210000,"timestamp_ms":1791141210000,"timestamp_seconds":1791141210,"priority":1,"record_length":96,"hex_timestamp":"000001a10855e790"} 
[2026-10-05 00:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 00:44:06] 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-10-05 00:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532072704001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532072704001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:44:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:44:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532072704001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":203977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964349,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:44:07] local.INFO: GPS data processed {"connection_id":203977,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:44:07] local.INFO: Acknowledgment sent {"connection_id":203977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:44:33] local.INFO: TCP Data received {"connection_id":203890,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:44:33] local.INFO: Processing buffer {"connection_id":203890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:44:33] local.INFO: Packet analysis {"connection_id":203890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10856"} 
[2026-10-05 00:44:33] local.INFO: Extracted packet for processing {"connection_id":203890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10856"} 
[2026-10-05 00:44:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532076800001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:44: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-10-05 00:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791141226000,"timestamp_ms":1791141226000,"timestamp_seconds":1791141226,"priority":1,"record_length":96,"hex_timestamp":"000001a108562610"} 
[2026-10-05 00:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532076800001,"66":24810,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532076800001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:44:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:44:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532076800001,"power":24810,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":203890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:44:33] local.INFO: GPS data processed {"connection_id":203890,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:44:33] local.INFO: Acknowledgment sent {"connection_id":203890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:44:38] local.INFO: TCP Data received {"connection_id":203977,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:44:38] local.INFO: Processing buffer {"connection_id":203977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:44:38] local.INFO: Packet analysis {"connection_id":203977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10855"} 
[2026-10-05 00:44:38] local.INFO: Extracted packet for processing {"connection_id":203977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10855"} 
[2026-10-05 00:44:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532072704001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791141210000,"timestamp_ms":1791141210000,"timestamp_seconds":1791141210,"priority":1,"record_length":96,"hex_timestamp":"000001a10855e790"} 
[2026-10-05 00:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 00:44:38] 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-10-05 00:44: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-10-05 00:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532072704001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532072704001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:44:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:44:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532072704001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":203977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:44:38] local.INFO: GPS data processed {"connection_id":203977,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:44:38] local.INFO: Acknowledgment sent {"connection_id":203977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:44:56] local.INFO: TCP Data received {"connection_id":203892,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:44:56] local.INFO: Processing buffer {"connection_id":203892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:44:56] local.INFO: IMEI packet received {"connection_id":203892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":203892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:45:00] local.INFO: TCP Data received {"connection_id":203978,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:45:00] local.INFO: Processing buffer {"connection_id":203978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:45:00] local.INFO: IMEI packet received {"connection_id":203978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":203978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:45:01] local.INFO: TCP Data received {"connection_id":203892,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:45:01] local.INFO: Processing buffer {"connection_id":203892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:45:01] local.INFO: IMEI packet received {"connection_id":203892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":203892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:45:02] local.INFO: TCP Data received {"connection_id":203892,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:45:02] local.INFO: Processing buffer {"connection_id":203892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:45:02] local.INFO: Packet analysis {"connection_id":203892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10856"} 
[2026-10-05 00:45:02] local.INFO: Extracted packet for processing {"connection_id":203892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10856"} 
[2026-10-05 00:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532076800001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:45: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-10-05 00:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791141226000,"timestamp_ms":1791141226000,"timestamp_seconds":1791141226,"priority":1,"record_length":96,"hex_timestamp":"000001a108562610"} 
[2026-10-05 00:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:45:02] 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-10-05 00: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-10-05 00:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:45: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-10-05 00:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532076800001,"66":24810,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532076800001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:45:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:45:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532076800001,"power":24810,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":203892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:45:02] local.INFO: GPS data processed {"connection_id":203892,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:45:02] local.INFO: Acknowledgment sent {"connection_id":203892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:45:05] local.INFO: TCP Data received {"connection_id":203978,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:45:05] local.INFO: Processing buffer {"connection_id":203978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:45:05] local.INFO: IMEI packet received {"connection_id":203978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":203978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:45:06] local.INFO: TCP Data received {"connection_id":203978,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:45:06] local.INFO: Processing buffer {"connection_id":203978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:45:06] local.INFO: Packet analysis {"connection_id":203978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10855"} 
[2026-10-05 00:45:06] local.INFO: Extracted packet for processing {"connection_id":203978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10855"} 
[2026-10-05 00:45:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532072704001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791141210000,"timestamp_ms":1791141210000,"timestamp_seconds":1791141210,"priority":1,"record_length":96,"hex_timestamp":"000001a10855e790"} 
[2026-10-05 00:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":134,"data_length":795,"current_offset":136} 
[2026-10-05 00:45:06] 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-10-05 00: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-10-05 00:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532072704001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532072704001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:45:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:45:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532072704001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":203978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:45:06] local.INFO: GPS data processed {"connection_id":203978,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:45:06] local.INFO: Acknowledgment sent {"connection_id":203978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:45:33] local.INFO: TCP Data received {"connection_id":203892,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:45:33] local.INFO: Processing buffer {"connection_id":203892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:45:33] local.INFO: Packet analysis {"connection_id":203892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10856"} 
[2026-10-05 00:45:33] local.INFO: Extracted packet for processing {"connection_id":203892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10856"} 
[2026-10-05 00:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532076800001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:45: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-10-05 00:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791141226000,"timestamp_ms":1791141226000,"timestamp_seconds":1791141226,"priority":1,"record_length":96,"hex_timestamp":"000001a108562610"} 
[2026-10-05 00:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532076800001,"66":24810,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532076800001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:45:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532076800001,"power":24810,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":203892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:45:33] local.INFO: GPS data processed {"connection_id":203892,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:45:33] local.INFO: Acknowledgment sent {"connection_id":203892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:45:37] local.INFO: TCP Data received {"connection_id":203978,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:45:37] local.INFO: Processing buffer {"connection_id":203978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:45:37] local.INFO: Packet analysis {"connection_id":203978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10855"} 
[2026-10-05 00:45:37] local.INFO: Extracted packet for processing {"connection_id":203978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10855"} 
[2026-10-05 00:45:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532072704001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791141210000,"timestamp_ms":1791141210000,"timestamp_seconds":1791141210,"priority":1,"record_length":96,"hex_timestamp":"000001a10855e790"} 
[2026-10-05 00:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":134,"data_length":795,"current_offset":136} 
[2026-10-05 00:45:37] 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-10-05 00: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-10-05 00:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532072704001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532072704001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:45:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:45:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532072704001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":203978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:45:38] local.INFO: GPS data processed {"connection_id":203978,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:45:38] local.INFO: Acknowledgment sent {"connection_id":203978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:45:56] local.INFO: TCP Data received {"connection_id":206994,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:45:56] local.INFO: Processing buffer {"connection_id":206994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:45:56] local.INFO: IMEI packet received {"connection_id":206994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":206994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:46:04] local.INFO: TCP Data received {"connection_id":206994,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:46:04] local.INFO: Processing buffer {"connection_id":206994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:46:04] local.INFO: IMEI packet received {"connection_id":206994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":206994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:46:05] local.INFO: TCP Data received {"connection_id":206994,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:46:05] local.INFO: Processing buffer {"connection_id":206994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:46:05] local.INFO: Packet analysis {"connection_id":206994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10856"} 
[2026-10-05 00:46:05] local.INFO: Extracted packet for processing {"connection_id":206994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10856"} 
[2026-10-05 00:46:05] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532076800001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00: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-10-05 00:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791141226000,"timestamp_ms":1791141226000,"timestamp_seconds":1791141226,"priority":1,"record_length":96,"hex_timestamp":"000001a108562610"} 
[2026-10-05 00:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":206994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":206994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":206994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:46: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-10-05 00:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532076800001,"66":24810,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532076800001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:46:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:46:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532076800001,"power":24810,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":206994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:46:05] local.INFO: GPS data processed {"connection_id":206994,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:46:05] local.INFO: Acknowledgment sent {"connection_id":206994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:46:05] local.INFO: TCP Data received {"connection_id":203893,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:46:05] local.INFO: Processing buffer {"connection_id":203893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:46:05] local.INFO: IMEI packet received {"connection_id":203893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":203893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:46:10] local.INFO: TCP Data received {"connection_id":203893,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:46:10] local.INFO: Processing buffer {"connection_id":203893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:46:10] local.INFO: IMEI packet received {"connection_id":203893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":203893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:46:11] local.INFO: TCP Data received {"connection_id":203893,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:46:11] local.INFO: Processing buffer {"connection_id":203893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:46:11] local.INFO: Packet analysis {"connection_id":203893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10855"} 
[2026-10-05 00:46:11] local.INFO: Extracted packet for processing {"connection_id":203893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10855"} 
[2026-10-05 00:46:12] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:46: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-10-05 00:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532072704001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791141210000,"timestamp_ms":1791141210000,"timestamp_seconds":1791141210,"priority":1,"record_length":96,"hex_timestamp":"000001a10855e790"} 
[2026-10-05 00:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:46: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":134,"data_length":795,"current_offset":136} 
[2026-10-05 00:46:12] 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-10-05 00:46: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-10-05 00:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":203893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":203893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":203893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532072704001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532072704001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:46:12] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:46:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532072704001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":203893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:46:12] local.INFO: GPS data processed {"connection_id":203893,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:46:12] local.INFO: Acknowledgment sent {"connection_id":203893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:46:16] local.INFO: TCP Data received {"connection_id":203893,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:46:16] local.INFO: Processing buffer {"connection_id":203893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:46:16] local.INFO: Packet analysis {"connection_id":203893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10855"} 
[2026-10-05 00:46:16] local.INFO: Extracted packet for processing {"connection_id":203893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10855"} 
[2026-10-05 00:46:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532072704001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791141210000,"timestamp_ms":1791141210000,"timestamp_seconds":1791141210,"priority":1,"record_length":96,"hex_timestamp":"000001a10855e790"} 
[2026-10-05 00:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 00:46:16] 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-10-05 00:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":203893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":203893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":203893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532072704001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532072704001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:46:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:46:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532072704001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":203893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:46:16] local.INFO: GPS data processed {"connection_id":203893,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:46:16] local.INFO: Acknowledgment sent {"connection_id":203893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:46:36] local.INFO: TCP Data received {"connection_id":206994,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:46:36] local.INFO: Processing buffer {"connection_id":206994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:46:36] local.INFO: Packet analysis {"connection_id":206994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10856"} 
[2026-10-05 00:46:36] local.INFO: Extracted packet for processing {"connection_id":206994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10856"} 
[2026-10-05 00:46:36] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532076800001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791141226000,"timestamp_ms":1791141226000,"timestamp_seconds":1791141226,"priority":1,"record_length":96,"hex_timestamp":"000001a108562610"} 
[2026-10-05 00:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:46:36] 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-10-05 00:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532076800001,"66":24810,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532076800001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:46:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:46:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532076800001,"power":24810,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":206994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:46:36] local.INFO: GPS data processed {"connection_id":206994,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:46:36] local.INFO: Acknowledgment sent {"connection_id":206994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:46:56] local.INFO: TCP Data received {"connection_id":203979,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:46:56] local.INFO: Processing buffer {"connection_id":203979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:46:56] local.INFO: IMEI packet received {"connection_id":203979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":203979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:47:00] local.INFO: TCP Data received {"connection_id":203895,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:47:00] local.INFO: Processing buffer {"connection_id":203895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:47:00] local.INFO: IMEI packet received {"connection_id":203895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":203895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:47:01] local.INFO: TCP Data received {"connection_id":203979,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:47:01] local.INFO: Processing buffer {"connection_id":203979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:47:01] local.INFO: IMEI packet received {"connection_id":203979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":203979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:47:02] local.INFO: TCP Data received {"connection_id":203979,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:47:02] local.INFO: Processing buffer {"connection_id":203979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:47:02] local.INFO: Packet analysis {"connection_id":203979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10856"} 
[2026-10-05 00:47:02] local.INFO: Extracted packet for processing {"connection_id":203979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10856"} 
[2026-10-05 00:47:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532076800001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:47: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-10-05 00:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791141226000,"timestamp_ms":1791141226000,"timestamp_seconds":1791141226,"priority":1,"record_length":96,"hex_timestamp":"000001a108562610"} 
[2026-10-05 00:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:47:02] 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-10-05 00: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-10-05 00:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:47: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-10-05 00:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532076800001,"66":24810,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532076800001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:47:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:47:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532076800001,"power":24810,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":203979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:47:02] local.INFO: GPS data processed {"connection_id":203979,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:47:02] local.INFO: Acknowledgment sent {"connection_id":203979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:47:05] local.INFO: TCP Data received {"connection_id":203895,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:47:05] local.INFO: Processing buffer {"connection_id":203895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:47:05] local.INFO: IMEI packet received {"connection_id":203895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":203895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:47:07] local.INFO: TCP Data received {"connection_id":203895,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:47:07] local.INFO: Processing buffer {"connection_id":203895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:47:07] local.INFO: Packet analysis {"connection_id":203895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10855"} 
[2026-10-05 00:47:07] local.INFO: Extracted packet for processing {"connection_id":203895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10855"} 
[2026-10-05 00:47:07] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532072704001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791141210000,"timestamp_ms":1791141210000,"timestamp_seconds":1791141210,"priority":1,"record_length":96,"hex_timestamp":"000001a10855e790"} 
[2026-10-05 00:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 00:47:07] 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-10-05 00: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-10-05 00:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":203895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":203895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":203895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532072704001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532072704001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:47:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:47:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532072704001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":203895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:47:07] local.INFO: GPS data processed {"connection_id":203895,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:47:07] local.INFO: Acknowledgment sent {"connection_id":203895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:47:33] local.INFO: TCP Data received {"connection_id":203979,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:47:33] local.INFO: Processing buffer {"connection_id":203979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:47:33] local.INFO: Packet analysis {"connection_id":203979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10856"} 
[2026-10-05 00:47:33] local.INFO: Extracted packet for processing {"connection_id":203979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10856"} 
[2026-10-05 00:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532076800001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:47: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-10-05 00:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791141226000,"timestamp_ms":1791141226000,"timestamp_seconds":1791141226,"priority":1,"record_length":96,"hex_timestamp":"000001a108562610"} 
[2026-10-05 00:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532076800001,"66":24810,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532076800001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:47:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:47:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532076800001,"power":24810,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":203979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:47:33] local.INFO: GPS data processed {"connection_id":203979,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:47:33] local.INFO: Acknowledgment sent {"connection_id":203979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:47:38] local.INFO: TCP Data received {"connection_id":203895,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:47:38] local.INFO: Processing buffer {"connection_id":203895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:47:38] local.INFO: Packet analysis {"connection_id":203895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10855"} 
[2026-10-05 00:47:38] local.INFO: Extracted packet for processing {"connection_id":203895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10855"} 
[2026-10-05 00:47:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532072704001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791141210000,"timestamp_ms":1791141210000,"timestamp_seconds":1791141210,"priority":1,"record_length":96,"hex_timestamp":"000001a10855e790"} 
[2026-10-05 00:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 00:47:38] 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-10-05 00:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532072704001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532072704001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:47:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:47:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532072704001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":203895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964363,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:47:38] local.INFO: GPS data processed {"connection_id":203895,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:47:38] local.INFO: Acknowledgment sent {"connection_id":203895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:47:57] local.INFO: TCP Data received {"connection_id":206995,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:47:57] local.INFO: Processing buffer {"connection_id":206995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:47:57] local.INFO: IMEI packet received {"connection_id":206995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":206995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:48:00] local.INFO: TCP Data received {"connection_id":206996,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:48:00] local.INFO: Processing buffer {"connection_id":206996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:48:00] local.INFO: IMEI packet received {"connection_id":206996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":206996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:48:01] local.INFO: TCP Data received {"connection_id":206995,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:48:01] local.INFO: Processing buffer {"connection_id":206995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:48:01] local.INFO: IMEI packet received {"connection_id":206995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":206995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:48:02] local.INFO: TCP Data received {"connection_id":206995,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:48:02] local.INFO: Processing buffer {"connection_id":206995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:48:02] local.INFO: Packet analysis {"connection_id":206995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10856"} 
[2026-10-05 00:48:02] local.INFO: Extracted packet for processing {"connection_id":206995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10856"} 
[2026-10-05 00:48:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532076800001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:48: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-10-05 00:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791141226000,"timestamp_ms":1791141226000,"timestamp_seconds":1791141226,"priority":1,"record_length":96,"hex_timestamp":"000001a108562610"} 
[2026-10-05 00:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:48:02] 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-10-05 00: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-10-05 00:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":206995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":206995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":206995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:48: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-10-05 00:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532076800001,"66":24810,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532076800001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:48:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:48:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532076800001,"power":24810,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":206995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:48:02] local.INFO: GPS data processed {"connection_id":206995,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:48:02] local.INFO: Acknowledgment sent {"connection_id":206995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:48:05] local.INFO: TCP Data received {"connection_id":206996,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:48:05] local.INFO: Processing buffer {"connection_id":206996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:48:05] local.INFO: IMEI packet received {"connection_id":206996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":206996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:48:06] local.INFO: TCP Data received {"connection_id":206996,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:48:06] local.INFO: Processing buffer {"connection_id":206996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10855e790012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 00:48:06] local.INFO: Packet analysis {"connection_id":206996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10855"} 
[2026-10-05 00:48:06] local.INFO: Extracted packet for processing {"connection_id":206996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10855"} 
[2026-10-05 00:48:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 00:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532072704001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791141210000,"timestamp_ms":1791141210000,"timestamp_seconds":1791141210,"priority":1,"record_length":96,"hex_timestamp":"000001a10855e790"} 
[2026-10-05 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-10-05 00:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 00:48:06] 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-10-05 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-10-05 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-10-05 00:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":206996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":206996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":206996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532072704001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532072704001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:48:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:48:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532072704001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":206996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:48:07] local.INFO: GPS data processed {"connection_id":206996,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:48:07] local.INFO: Acknowledgment sent {"connection_id":206996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:48:33] local.INFO: TCP Data received {"connection_id":206995,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:48:33] local.INFO: Processing buffer {"connection_id":206995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:48:33] local.INFO: Packet analysis {"connection_id":206995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10856"} 
[2026-10-05 00:48:33] local.INFO: Extracted packet for processing {"connection_id":206995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10856"} 
[2026-10-05 00:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532076800001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:48: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-10-05 00:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791141226000,"timestamp_ms":1791141226000,"timestamp_seconds":1791141226,"priority":1,"record_length":96,"hex_timestamp":"000001a108562610"} 
[2026-10-05 00:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":206995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":206995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":206995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532076800001,"66":24810,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532076800001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:48:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:48:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532076800001,"power":24810,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":206995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:48:33] local.INFO: GPS data processed {"connection_id":206995,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:48:33] local.INFO: Acknowledgment sent {"connection_id":206995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:48:38] local.INFO: TCP Data received {"connection_id":206996,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:48:38] local.INFO: Processing buffer {"connection_id":206996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:48:38] local.INFO: Packet analysis {"connection_id":206996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:48:38] local.INFO: Extracted packet for processing {"connection_id":206996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:48:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532149760001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791141511000,"timestamp_ms":1791141511000,"timestamp_seconds":1791141511,"priority":1,"record_length":96,"hex_timestamp":"000001a1085a7f58"} 
[2026-10-05 00:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:48:38] 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-10-05 00:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 00:48:38] 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-10-05 00:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":206996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":206996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":206996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532149760001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532149760001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:48:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:48:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532149760001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":206996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:48:38] local.INFO: GPS data processed {"connection_id":206996,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:48:38] local.INFO: Acknowledgment sent {"connection_id":206996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:48:56] local.INFO: TCP Data received {"connection_id":203981,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:48:56] local.INFO: Processing buffer {"connection_id":203981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:48:56] local.INFO: IMEI packet received {"connection_id":203981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":203981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:48:58] local.INFO: TCP Data received {"connection_id":203980,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:48:58] local.INFO: Processing buffer {"connection_id":203980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:48:58] local.INFO: IMEI packet received {"connection_id":203980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 00:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":203980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:49:00] local.INFO: TCP Data received {"connection_id":205427,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:49:00] local.INFO: Processing buffer {"connection_id":205427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:49:00] local.INFO: IMEI packet received {"connection_id":205427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":205427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:49:01] local.INFO: TCP Data received {"connection_id":203981,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:49:01] local.INFO: Processing buffer {"connection_id":203981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:49:01] local.INFO: IMEI packet received {"connection_id":203981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":203981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:49:02] local.INFO: TCP Data received {"connection_id":203981,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:49:02] local.INFO: Processing buffer {"connection_id":203981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108562610012d7f91c005afd9f0000b010120..."} 
[2026-10-05 00:49:02] local.INFO: Packet analysis {"connection_id":203981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10856"} 
[2026-10-05 00:49:02] local.INFO: Extracted packet for processing {"connection_id":203981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10856"} 
[2026-10-05 00:49:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532076800001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:49: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-10-05 00:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791141226000,"timestamp_ms":1791141226000,"timestamp_seconds":1791141226,"priority":1,"record_length":96,"hex_timestamp":"000001a108562610"} 
[2026-10-05 00:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:49:02] 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-10-05 00:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:49: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-10-05 00:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532076800001,"66":24810,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532076800001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:49:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:49:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532076800001,"power":24810,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":203981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:49:02] local.INFO: GPS data processed {"connection_id":203981,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:49:02] local.INFO: Acknowledgment sent {"connection_id":203981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:49:05] local.INFO: TCP Data received {"connection_id":205427,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:49:05] local.INFO: Processing buffer {"connection_id":205427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:49:05] local.INFO: IMEI packet received {"connection_id":205427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":205427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:49:06] local.INFO: TCP Data received {"connection_id":205427,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:49:06] local.INFO: Processing buffer {"connection_id":205427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:49:06] local.INFO: Packet analysis {"connection_id":205427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:49:06] local.INFO: Extracted packet for processing {"connection_id":205427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:49:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532149760001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791141511000,"timestamp_ms":1791141511000,"timestamp_seconds":1791141511,"priority":1,"record_length":96,"hex_timestamp":"000001a1085a7f58"} 
[2026-10-05 00:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:49:06] 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-10-05 00: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 00:49:06] 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-10-05 00: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-10-05 00:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532149760001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532149760001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:49:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:49:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532149760001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":205427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:49:06] local.INFO: GPS data processed {"connection_id":205427,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:49:06] local.INFO: Acknowledgment sent {"connection_id":205427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:49:33] local.INFO: TCP Data received {"connection_id":203981,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:49:33] local.INFO: Processing buffer {"connection_id":203981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:49:33] local.INFO: Packet analysis {"connection_id":203981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:49:33] local.INFO: Extracted packet for processing {"connection_id":203981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532153856001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:49: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-10-05 00:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791141527000,"timestamp_ms":1791141527000,"timestamp_seconds":1791141527,"priority":1,"record_length":96,"hex_timestamp":"000001a1085abdd8"} 
[2026-10-05 00:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-10-05 00:49:33] 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-10-05 00: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-10-05 00:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532153856001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532153856001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:49:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:49:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532153856001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":203981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:49:33] local.INFO: GPS data processed {"connection_id":203981,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:49:33] local.INFO: Acknowledgment sent {"connection_id":203981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:49:37] local.INFO: TCP Data received {"connection_id":205427,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:49:37] local.INFO: Processing buffer {"connection_id":205427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:49:37] local.INFO: Packet analysis {"connection_id":205427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:49:37] local.INFO: Extracted packet for processing {"connection_id":205427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:49:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532149760001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791141511000,"timestamp_ms":1791141511000,"timestamp_seconds":1791141511,"priority":1,"record_length":96,"hex_timestamp":"000001a1085a7f58"} 
[2026-10-05 00:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:49:37] 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-10-05 00:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 00:49:37] 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-10-05 00:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532149760001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532149760001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:49:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:49:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532149760001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":205427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:49:38] local.INFO: GPS data processed {"connection_id":205427,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:49:38] local.INFO: Acknowledgment sent {"connection_id":205427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:49:45] local.INFO: TCP Data received {"connection_id":206997,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206997,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:49:45] local.INFO: Processing buffer {"connection_id":206997,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:49:45] local.INFO: IMEI packet received {"connection_id":206997,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 00:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":206997,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:49:57] local.INFO: TCP Data received {"connection_id":203982,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:49:57] local.INFO: Processing buffer {"connection_id":203982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:49:57] local.INFO: IMEI packet received {"connection_id":203982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":203982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:50:01] local.INFO: TCP Data received {"connection_id":203982,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:50:01] local.INFO: Processing buffer {"connection_id":203982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:50:01] local.INFO: IMEI packet received {"connection_id":203982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":203982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:50:02] local.INFO: TCP Data received {"connection_id":203982,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:50:02] local.INFO: Processing buffer {"connection_id":203982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:50:02] local.INFO: Packet analysis {"connection_id":203982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:50:02] local.INFO: Extracted packet for processing {"connection_id":203982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:50:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532153856001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:50: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-10-05 00:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791141527000,"timestamp_ms":1791141527000,"timestamp_seconds":1791141527,"priority":1,"record_length":96,"hex_timestamp":"000001a1085abdd8"} 
[2026-10-05 00:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-10-05 00:50:02] 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-10-05 00: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-10-05 00:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:50: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-10-05 00:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532153856001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532153856001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:50:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:50:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532153856001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":203982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:50:03] local.INFO: GPS data processed {"connection_id":203982,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:50:03] local.INFO: Acknowledgment sent {"connection_id":203982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:50:05] local.INFO: TCP Data received {"connection_id":206998,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:50:05] local.INFO: Processing buffer {"connection_id":206998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:50:05] local.INFO: IMEI packet received {"connection_id":206998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":206998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:50:06] local.INFO: TCP Data received {"connection_id":203982,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:50:06] local.INFO: Processing buffer {"connection_id":203982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:50:06] local.INFO: Packet analysis {"connection_id":203982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:50:06] local.INFO: Extracted packet for processing {"connection_id":203982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:50:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532153856001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:50: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-10-05 00:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791141527000,"timestamp_ms":1791141527000,"timestamp_seconds":1791141527,"priority":1,"record_length":96,"hex_timestamp":"000001a1085abdd8"} 
[2026-10-05 00:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-10-05 00:50:06] 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-10-05 00: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-10-05 00:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532153856001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532153856001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:50:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:50:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532153856001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":203982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:50:06] local.INFO: GPS data processed {"connection_id":203982,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:50:06] local.INFO: Acknowledgment sent {"connection_id":203982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:50:10] local.INFO: TCP Data received {"connection_id":206998,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:50:10] local.INFO: Processing buffer {"connection_id":206998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:50:10] local.INFO: IMEI packet received {"connection_id":206998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":206998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:50:12] local.INFO: TCP Data received {"connection_id":206998,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:50:12] local.INFO: Processing buffer {"connection_id":206998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:50:12] local.INFO: Packet analysis {"connection_id":206998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:50:12] local.INFO: Extracted packet for processing {"connection_id":206998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:50:12] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532149760001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791141511000,"timestamp_ms":1791141511000,"timestamp_seconds":1791141511,"priority":1,"record_length":96,"hex_timestamp":"000001a1085a7f58"} 
[2026-10-05 00:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:50:12] 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-10-05 00:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 00:50:12] 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-10-05 00:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":206998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":206998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":206998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532149760001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532149760001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:50:12] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:50:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532149760001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":206998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:50:12] local.INFO: GPS data processed {"connection_id":206998,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:50:12] local.INFO: Acknowledgment sent {"connection_id":206998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:50:16] local.INFO: TCP Data received {"connection_id":206998,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:50:16] local.INFO: Processing buffer {"connection_id":206998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:50:16] local.INFO: Packet analysis {"connection_id":206998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:50:16] local.INFO: Extracted packet for processing {"connection_id":206998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:50:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532149760001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791141511000,"timestamp_ms":1791141511000,"timestamp_seconds":1791141511,"priority":1,"record_length":96,"hex_timestamp":"000001a1085a7f58"} 
[2026-10-05 00:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:50:16] 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-10-05 00:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 00:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":206998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":206998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":206998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532149760001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532149760001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:50:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:50:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532149760001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":206998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:50:16] local.INFO: GPS data processed {"connection_id":206998,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:50:16] local.INFO: Acknowledgment sent {"connection_id":206998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:50:37] local.INFO: TCP Data received {"connection_id":203982,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:50:37] local.INFO: Processing buffer {"connection_id":203982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:50:37] local.INFO: Packet analysis {"connection_id":203982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:50:37] local.INFO: Extracted packet for processing {"connection_id":203982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:50:37] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532153856001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791141527000,"timestamp_ms":1791141527000,"timestamp_seconds":1791141527,"priority":1,"record_length":96,"hex_timestamp":"000001a1085abdd8"} 
[2026-10-05 00:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-10-05 00:50:37] 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-10-05 00:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532153856001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532153856001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:50:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:50:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532153856001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":203982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:50:37] local.INFO: GPS data processed {"connection_id":203982,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:50:37] local.INFO: Acknowledgment sent {"connection_id":203982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:50:56] local.INFO: TCP Data received {"connection_id":203983,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:50:56] local.INFO: Processing buffer {"connection_id":203983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:50:56] local.INFO: IMEI packet received {"connection_id":203983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":203983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:51:00] local.INFO: TCP Data received {"connection_id":205429,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:51:00] local.INFO: Processing buffer {"connection_id":205429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:51:00] local.INFO: IMEI packet received {"connection_id":205429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":205429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:51:01] local.INFO: TCP Data received {"connection_id":203983,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:51:01] local.INFO: Processing buffer {"connection_id":203983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:51:01] local.INFO: IMEI packet received {"connection_id":203983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":203983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:51:02] local.INFO: TCP Data received {"connection_id":203983,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:51:02] local.INFO: Processing buffer {"connection_id":203983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:51:02] local.INFO: Packet analysis {"connection_id":203983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:51:02] local.INFO: Extracted packet for processing {"connection_id":203983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:51:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532153856001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:51: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-10-05 00:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791141527000,"timestamp_ms":1791141527000,"timestamp_seconds":1791141527,"priority":1,"record_length":96,"hex_timestamp":"000001a1085abdd8"} 
[2026-10-05 00:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-10-05 00:51:02] 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-10-05 00: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-10-05 00:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:51: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-10-05 00:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532153856001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532153856001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:51:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:51:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532153856001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":203983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:51:02] local.INFO: GPS data processed {"connection_id":203983,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:51:02] local.INFO: Acknowledgment sent {"connection_id":203983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:51:05] local.INFO: TCP Data received {"connection_id":205429,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:51:05] local.INFO: Processing buffer {"connection_id":205429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:51:05] local.INFO: IMEI packet received {"connection_id":205429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":205429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:51:06] local.INFO: TCP Data received {"connection_id":205429,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:51:06] local.INFO: Processing buffer {"connection_id":205429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:51:06] local.INFO: Packet analysis {"connection_id":205429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:51:06] local.INFO: Extracted packet for processing {"connection_id":205429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:51:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532149760001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791141511000,"timestamp_ms":1791141511000,"timestamp_seconds":1791141511,"priority":1,"record_length":96,"hex_timestamp":"000001a1085a7f58"} 
[2026-10-05 00:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:51:06] 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-10-05 00: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 00:51:06] 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-10-05 00: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-10-05 00:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532149760001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532149760001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:51:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:51:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532149760001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":205429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:51:06] local.INFO: GPS data processed {"connection_id":205429,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:51:06] local.INFO: Acknowledgment sent {"connection_id":205429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:51:33] local.INFO: TCP Data received {"connection_id":203983,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:51:33] local.INFO: Processing buffer {"connection_id":203983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:51:33] local.INFO: Packet analysis {"connection_id":203983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:51:33] local.INFO: Extracted packet for processing {"connection_id":203983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:51:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532153856001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:51: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-10-05 00:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791141527000,"timestamp_ms":1791141527000,"timestamp_seconds":1791141527,"priority":1,"record_length":96,"hex_timestamp":"000001a1085abdd8"} 
[2026-10-05 00:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-10-05 00:51:33] 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-10-05 00: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-10-05 00:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532153856001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532153856001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:51:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:51:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532153856001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":203983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:51:33] local.INFO: GPS data processed {"connection_id":203983,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:51:33] local.INFO: Acknowledgment sent {"connection_id":203983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:51:37] local.INFO: TCP Data received {"connection_id":205429,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:51:37] local.INFO: Processing buffer {"connection_id":205429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:51:37] local.INFO: Packet analysis {"connection_id":205429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:51:37] local.INFO: Extracted packet for processing {"connection_id":205429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:51:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532149760001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791141511000,"timestamp_ms":1791141511000,"timestamp_seconds":1791141511,"priority":1,"record_length":96,"hex_timestamp":"000001a1085a7f58"} 
[2026-10-05 00:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:51:37] 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-10-05 00: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 00:51:37] 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-10-05 00:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532149760001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532149760001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:51:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:51:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532149760001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":205429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:51:37] local.INFO: GPS data processed {"connection_id":205429,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:51:37] local.INFO: Acknowledgment sent {"connection_id":205429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:51:56] local.INFO: TCP Data received {"connection_id":206999,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:51:56] local.INFO: Processing buffer {"connection_id":206999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:51:56] local.INFO: IMEI packet received {"connection_id":206999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":206999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:52:00] local.INFO: TCP Data received {"connection_id":203985,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:52:00] local.INFO: Processing buffer {"connection_id":203985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:52:00] local.INFO: IMEI packet received {"connection_id":203985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":203985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:52:01] local.INFO: TCP Data received {"connection_id":206999,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:52:01] local.INFO: Processing buffer {"connection_id":206999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:52:01] local.INFO: IMEI packet received {"connection_id":206999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":206999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:52:02] local.INFO: TCP Data received {"connection_id":206999,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:52:02] local.INFO: Processing buffer {"connection_id":206999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:52:02] local.INFO: Packet analysis {"connection_id":206999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:52:02] local.INFO: Extracted packet for processing {"connection_id":206999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:52:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532153856001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:52: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-10-05 00:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791141527000,"timestamp_ms":1791141527000,"timestamp_seconds":1791141527,"priority":1,"record_length":96,"hex_timestamp":"000001a1085abdd8"} 
[2026-10-05 00:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-10-05 00:52:02] 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-10-05 00: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-10-05 00:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":206999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":206999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":206999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:52: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-10-05 00:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532153856001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532153856001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:52:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:52:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532153856001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":206999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:52:02] local.INFO: GPS data processed {"connection_id":206999,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:52:02] local.INFO: Acknowledgment sent {"connection_id":206999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:52:05] local.INFO: TCP Data received {"connection_id":203985,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:52:05] local.INFO: Processing buffer {"connection_id":203985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:52:05] local.INFO: IMEI packet received {"connection_id":203985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":203985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:52:06] local.INFO: TCP Data received {"connection_id":203985,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:52:06] local.INFO: Processing buffer {"connection_id":203985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:52:06] local.INFO: Packet analysis {"connection_id":203985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:52:06] local.INFO: Extracted packet for processing {"connection_id":203985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532149760001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791141511000,"timestamp_ms":1791141511000,"timestamp_seconds":1791141511,"priority":1,"record_length":96,"hex_timestamp":"000001a1085a7f58"} 
[2026-10-05 00:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:52:06] 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-10-05 00: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 00:52:06] 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-10-05 00: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-10-05 00:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532149760001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532149760001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:52:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:52:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532149760001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":203985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:52:06] local.INFO: GPS data processed {"connection_id":203985,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:52:06] local.INFO: Acknowledgment sent {"connection_id":203985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:52:33] local.INFO: TCP Data received {"connection_id":206999,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:52:33] local.INFO: Processing buffer {"connection_id":206999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:52:33] local.INFO: Packet analysis {"connection_id":206999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:52:33] local.INFO: Extracted packet for processing {"connection_id":206999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 00:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532153856001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 00:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791141527000,"timestamp_ms":1791141527000,"timestamp_seconds":1791141527,"priority":1,"record_length":96,"hex_timestamp":"000001a1085abdd8"} 
[2026-10-05 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-10-05 00:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-10-05 00:52:33] 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-10-05 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-10-05 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-10-05 00:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":206999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":206999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":206999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532153856001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532153856001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:52:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:52:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532153856001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":206999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:52:33] local.INFO: GPS data processed {"connection_id":206999,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:52:33] local.INFO: Acknowledgment sent {"connection_id":206999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:52:38] local.INFO: TCP Data received {"connection_id":203985,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:52:38] local.INFO: Processing buffer {"connection_id":203985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:52:38] local.INFO: Packet analysis {"connection_id":203985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:52:38] local.INFO: Extracted packet for processing {"connection_id":203985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:52:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532149760001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791141511000,"timestamp_ms":1791141511000,"timestamp_seconds":1791141511,"priority":1,"record_length":96,"hex_timestamp":"000001a1085a7f58"} 
[2026-10-05 00:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:52:38] 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-10-05 00:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 00:52:38] 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-10-05 00:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532149760001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532149760001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:52:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:52:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532149760001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":203985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:52:38] local.INFO: GPS data processed {"connection_id":203985,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:52:38] local.INFO: Acknowledgment sent {"connection_id":203985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:52:56] local.INFO: TCP Data received {"connection_id":203986,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:52:56] local.INFO: Processing buffer {"connection_id":203986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:52:56] local.INFO: IMEI packet received {"connection_id":203986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":203986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:53:00] local.INFO: TCP Data received {"connection_id":205430,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:53:00] local.INFO: Processing buffer {"connection_id":205430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:53:00] local.INFO: IMEI packet received {"connection_id":205430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":205430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:53:01] local.INFO: TCP Data received {"connection_id":203986,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:53:01] local.INFO: Processing buffer {"connection_id":203986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:53:01] local.INFO: IMEI packet received {"connection_id":203986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":203986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:53:02] local.INFO: TCP Data received {"connection_id":203986,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:53:02] local.INFO: Processing buffer {"connection_id":203986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:53:02] local.INFO: Packet analysis {"connection_id":203986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:53:02] local.INFO: Extracted packet for processing {"connection_id":203986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:53:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 00:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532153856001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 00:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791141527000,"timestamp_ms":1791141527000,"timestamp_seconds":1791141527,"priority":1,"record_length":96,"hex_timestamp":"000001a1085abdd8"} 
[2026-10-05 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-10-05 00:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-10-05 00:53:02] 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-10-05 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-10-05 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-10-05 00:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:53: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-10-05 00:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532153856001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532153856001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:53:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:53:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532153856001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":203986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:53:02] local.INFO: GPS data processed {"connection_id":203986,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:53:02] local.INFO: Acknowledgment sent {"connection_id":203986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:53:05] local.INFO: TCP Data received {"connection_id":205430,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:53:05] local.INFO: Processing buffer {"connection_id":205430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:53:05] local.INFO: IMEI packet received {"connection_id":205430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":205430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:53:07] local.INFO: TCP Data received {"connection_id":205430,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:53:07] local.INFO: Processing buffer {"connection_id":205430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085a7f58012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:53:07] local.INFO: Packet analysis {"connection_id":205430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:53:07] local.INFO: Extracted packet for processing {"connection_id":205430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:53:07] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532149760001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791141511000,"timestamp_ms":1791141511000,"timestamp_seconds":1791141511,"priority":1,"record_length":96,"hex_timestamp":"000001a1085a7f58"} 
[2026-10-05 00:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:53: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-10-05 00:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 00:53:07] 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-10-05 00:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532149760001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532149760001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:53:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:53:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532149760001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":205430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:53:07] local.INFO: GPS data processed {"connection_id":205430,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:53:07] local.INFO: Acknowledgment sent {"connection_id":205430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:53:33] local.INFO: TCP Data received {"connection_id":203986,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:53:33] local.INFO: Processing buffer {"connection_id":203986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:53:33] local.INFO: Packet analysis {"connection_id":203986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:53:33] local.INFO: Extracted packet for processing {"connection_id":203986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:53:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532153856001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:53: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-10-05 00:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791141527000,"timestamp_ms":1791141527000,"timestamp_seconds":1791141527,"priority":1,"record_length":96,"hex_timestamp":"000001a1085abdd8"} 
[2026-10-05 00:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-10-05 00:53:33] 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-10-05 00: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-10-05 00:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532153856001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532153856001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:53:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:53:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532153856001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":203986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:53:33] local.INFO: GPS data processed {"connection_id":203986,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:53:33] local.INFO: Acknowledgment sent {"connection_id":203986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:53:38] local.INFO: TCP Data received {"connection_id":205430,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:53:38] local.INFO: Processing buffer {"connection_id":205430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:53:38] local.INFO: Packet analysis {"connection_id":205430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:53:38] local.INFO: Extracted packet for processing {"connection_id":205430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:53:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532226816001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791141812000,"timestamp_ms":1791141812000,"timestamp_seconds":1791141812,"priority":1,"record_length":96,"hex_timestamp":"000001a1085f1720"} 
[2026-10-05 00:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:53:38] 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-10-05 00:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 00:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532226816001,"66":12678,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532226816001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:53:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:53:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532226816001,"power":12678,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":205430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:53:38] local.INFO: GPS data processed {"connection_id":205430,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:53:38] local.INFO: Acknowledgment sent {"connection_id":205430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:53:55] local.INFO: TCP Data received {"connection_id":203899,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:53:55] local.INFO: Processing buffer {"connection_id":203899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:53:55] local.INFO: IMEI packet received {"connection_id":203899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":203899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:53:56] local.INFO: TCP Data received {"connection_id":203898,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:53:56] local.INFO: Processing buffer {"connection_id":203898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:53:56] local.INFO: IMEI packet received {"connection_id":203898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":203898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:54:00] local.INFO: TCP Data received {"connection_id":203899,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:54:00] local.INFO: Processing buffer {"connection_id":203899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:54:00] local.INFO: IMEI packet received {"connection_id":203899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":203899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:54:01] local.INFO: TCP Data received {"connection_id":203898,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:54:01] local.INFO: Processing buffer {"connection_id":203898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:54:01] local.INFO: IMEI packet received {"connection_id":203898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":203898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:54:02] local.INFO: TCP Data received {"connection_id":203898,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:54:02] local.INFO: Processing buffer {"connection_id":203898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085abdd8012d7f91c005afd9f0000b010125..."} 
[2026-10-05 00:54:02] local.INFO: Packet analysis {"connection_id":203898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:54:02] local.INFO: Extracted packet for processing {"connection_id":203898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085a"} 
[2026-10-05 00:54:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532153856001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:54: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-10-05 00:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791141527000,"timestamp_ms":1791141527000,"timestamp_seconds":1791141527,"priority":1,"record_length":96,"hex_timestamp":"000001a1085abdd8"} 
[2026-10-05 00:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-10-05 00:54:02] 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-10-05 00: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-10-05 00:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:54: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-10-05 00:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532153856001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532153856001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:54:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:54:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532153856001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":203898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:54:02] local.INFO: GPS data processed {"connection_id":203898,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:54:02] local.INFO: Acknowledgment sent {"connection_id":203898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:54:05] local.INFO: TCP Data received {"connection_id":203899,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:54:05] local.INFO: Processing buffer {"connection_id":203899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:54:05] local.INFO: IMEI packet received {"connection_id":203899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":203899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:54:06] local.INFO: TCP Data received {"connection_id":203899,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:54:06] local.INFO: Processing buffer {"connection_id":203899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:54:06] local.INFO: Packet analysis {"connection_id":203899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:54:06] local.INFO: Extracted packet for processing {"connection_id":203899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:54:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532226816001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791141812000,"timestamp_ms":1791141812000,"timestamp_seconds":1791141812,"priority":1,"record_length":96,"hex_timestamp":"000001a1085f1720"} 
[2026-10-05 00:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:54:06] 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-10-05 00: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 00:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:54: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-10-05 00:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532226816001,"66":12678,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532226816001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:54:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:54:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532226816001,"power":12678,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":203899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:54:06] local.INFO: GPS data processed {"connection_id":203899,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:54:06] local.INFO: Acknowledgment sent {"connection_id":203899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:54:11] local.INFO: TCP Data received {"connection_id":203899,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:54:11] local.INFO: Processing buffer {"connection_id":203899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:54:11] local.INFO: Packet analysis {"connection_id":203899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:54:11] local.INFO: Extracted packet for processing {"connection_id":203899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:54:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532226816001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791141812000,"timestamp_ms":1791141812000,"timestamp_seconds":1791141812,"priority":1,"record_length":96,"hex_timestamp":"000001a1085f1720"} 
[2026-10-05 00:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:54:11] 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-10-05 00: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 00:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":203899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":203899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":203899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00: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-10-05 00:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532226816001,"66":12678,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532226816001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:54:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:54:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532226816001,"power":12678,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":203899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:54:11] local.INFO: GPS data processed {"connection_id":203899,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:54:11] local.INFO: Acknowledgment sent {"connection_id":203899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:54:33] local.INFO: TCP Data received {"connection_id":203898,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1085f55a0012d7f91c005afd9f0000b010128..."} 
[2026-10-05 00:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085f55a0012d7f91c005afd9f0000b010128..."} 
[2026-10-05 00:54:33] local.INFO: Processing buffer {"connection_id":203898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085f55a0012d7f91c005afd9f0000b010128..."} 
[2026-10-05 00:54:33] local.INFO: Packet analysis {"connection_id":203898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:54:33] local.INFO: Extracted packet for processing {"connection_id":203898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:54:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532230912001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:54: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-10-05 00:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791141828000,"timestamp_ms":1791141828000,"timestamp_seconds":1791141828,"priority":1,"record_length":96,"hex_timestamp":"000001a1085f55a0"} 
[2026-10-05 00:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532230912001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532230912001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:54:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:54:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532230912001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":203898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:54:33] local.INFO: GPS data processed {"connection_id":203898,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:54:33] local.INFO: Acknowledgment sent {"connection_id":203898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:54:42] local.INFO: TCP Data received {"connection_id":203899,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:54:42] local.INFO: Processing buffer {"connection_id":203899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:54:42] local.INFO: Packet analysis {"connection_id":203899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:54:42] local.INFO: Extracted packet for processing {"connection_id":203899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:54:42] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532226816001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791141812000,"timestamp_ms":1791141812000,"timestamp_seconds":1791141812,"priority":1,"record_length":96,"hex_timestamp":"000001a1085f1720"} 
[2026-10-05 00:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:54:42] 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-10-05 00: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 00:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":203899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":203899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":203899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00: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-10-05 00:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532226816001,"66":12678,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532226816001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:54:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:54:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532226816001,"power":12678,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":203899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:54:42] local.INFO: GPS data processed {"connection_id":203899,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:54:42] local.INFO: Acknowledgment sent {"connection_id":203899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:55:00] local.INFO: TCP Data received {"connection_id":207001,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:55:00] local.INFO: Processing buffer {"connection_id":207001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:55:00] local.INFO: IMEI packet received {"connection_id":207001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":207001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:55:05] local.INFO: TCP Data received {"connection_id":207001,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:55:05] local.INFO: Processing buffer {"connection_id":207001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:55:05] local.INFO: IMEI packet received {"connection_id":207001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":207001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:55:06] local.INFO: TCP Data received {"connection_id":207001,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:55:06] local.INFO: Processing buffer {"connection_id":207001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:55:06] local.INFO: Packet analysis {"connection_id":207001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:55:06] local.INFO: Extracted packet for processing {"connection_id":207001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:55:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532226816001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791141812000,"timestamp_ms":1791141812000,"timestamp_seconds":1791141812,"priority":1,"record_length":96,"hex_timestamp":"000001a1085f1720"} 
[2026-10-05 00:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:55:06] 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-10-05 00: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 00:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:55: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-10-05 00:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532226816001,"66":12678,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532226816001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:55:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:55:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532226816001,"power":12678,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":207001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:55:06] local.INFO: GPS data processed {"connection_id":207001,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:55:06] local.INFO: Acknowledgment sent {"connection_id":207001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:55:06] local.INFO: TCP Data received {"connection_id":205431,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:55:06] local.INFO: Processing buffer {"connection_id":205431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:55:06] local.INFO: IMEI packet received {"connection_id":205431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":205431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:55:13] local.INFO: TCP Data received {"connection_id":205431,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:55:13] local.INFO: Processing buffer {"connection_id":205431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:55:13] local.INFO: IMEI packet received {"connection_id":205431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":205431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:55:14] local.INFO: TCP Data received {"connection_id":205431,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1085f55a0012d7f91c005afd9f0000b010128..."} 
[2026-10-05 00:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085f55a0012d7f91c005afd9f0000b010128..."} 
[2026-10-05 00:55:14] local.INFO: Processing buffer {"connection_id":205431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085f55a0012d7f91c005afd9f0000b010128..."} 
[2026-10-05 00:55:14] local.INFO: Packet analysis {"connection_id":205431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:55:14] local.INFO: Extracted packet for processing {"connection_id":205431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:55:14] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532230912001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:55: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-10-05 00:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791141828000,"timestamp_ms":1791141828000,"timestamp_seconds":1791141828,"priority":1,"record_length":96,"hex_timestamp":"000001a1085f55a0"} 
[2026-10-05 00:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:55:14] 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-10-05 00:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":205431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":205431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":205431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:55:14] 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-10-05 00:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532230912001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 00:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532230912001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:55:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:55:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532230912001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":205431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:55:14] local.INFO: GPS data processed {"connection_id":205431,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:55:14] local.INFO: Acknowledgment sent {"connection_id":205431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:55:17] local.INFO: TCP Data received {"connection_id":203987,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:55:17] local.INFO: Processing buffer {"connection_id":203987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:55:17] local.INFO: IMEI packet received {"connection_id":203987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 00:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":203987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:55:37] local.INFO: TCP Data received {"connection_id":207001,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:55:37] local.INFO: Processing buffer {"connection_id":207001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:55:37] local.INFO: Packet analysis {"connection_id":207001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:55:37] local.INFO: Extracted packet for processing {"connection_id":207001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:55:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532226816001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791141812000,"timestamp_ms":1791141812000,"timestamp_seconds":1791141812,"priority":1,"record_length":96,"hex_timestamp":"000001a1085f1720"} 
[2026-10-05 00:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:55:37] 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-10-05 00: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 00:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00: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-10-05 00:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532226816001,"66":12678,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532226816001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:55:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:55:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532226816001,"power":12678,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":207001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:55:38] local.INFO: GPS data processed {"connection_id":207001,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:55:38] local.INFO: Acknowledgment sent {"connection_id":207001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:55:44] local.INFO: TCP Data received {"connection_id":203900,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203900,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:55:44] local.INFO: Processing buffer {"connection_id":203900,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 00:55:44] local.INFO: IMEI packet received {"connection_id":203900,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 00:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":203900,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:55:57] local.INFO: TCP Data received {"connection_id":203901,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:55:57] local.INFO: Processing buffer {"connection_id":203901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:55:57] local.INFO: IMEI packet received {"connection_id":203901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":203901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:56:01] local.INFO: TCP Data received {"connection_id":205432,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:56:01] local.INFO: Processing buffer {"connection_id":205432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:56:01] local.INFO: IMEI packet received {"connection_id":205432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":205432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:56:01] local.INFO: TCP Data received {"connection_id":203901,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:56:01] local.INFO: Processing buffer {"connection_id":203901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:56:01] local.INFO: IMEI packet received {"connection_id":203901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":203901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:56:02] local.INFO: TCP Data received {"connection_id":203901,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1085f55a0012d7f91c005afd9f0000b010128..."} 
[2026-10-05 00:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085f55a0012d7f91c005afd9f0000b010128..."} 
[2026-10-05 00:56:02] local.INFO: Processing buffer {"connection_id":203901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085f55a0012d7f91c005afd9f0000b010128..."} 
[2026-10-05 00:56:02] local.INFO: Packet analysis {"connection_id":203901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:56:02] local.INFO: Extracted packet for processing {"connection_id":203901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 00:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532230912001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 00:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791141828000,"timestamp_ms":1791141828000,"timestamp_seconds":1791141828,"priority":1,"record_length":96,"hex_timestamp":"000001a1085f55a0"} 
[2026-10-05 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-10-05 00:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:56:02] 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-10-05 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-10-05 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-10-05 00:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:56:02] 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-10-05 00:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532230912001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 00:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532230912001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:56:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:56:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532230912001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":203901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:56:02] local.INFO: GPS data processed {"connection_id":203901,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:56:02] local.INFO: Acknowledgment sent {"connection_id":203901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:56:05] local.INFO: TCP Data received {"connection_id":205432,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:56:05] local.INFO: Processing buffer {"connection_id":205432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:56:05] local.INFO: IMEI packet received {"connection_id":205432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":205432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:56:06] local.INFO: TCP Data received {"connection_id":205432,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:56:06] local.INFO: Processing buffer {"connection_id":205432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:56:06] local.INFO: Packet analysis {"connection_id":205432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:56:06] local.INFO: Extracted packet for processing {"connection_id":205432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:56:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 00:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532226816001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791141812000,"timestamp_ms":1791141812000,"timestamp_seconds":1791141812,"priority":1,"record_length":96,"hex_timestamp":"000001a1085f1720"} 
[2026-10-05 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-10-05 00:56:06] 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-10-05 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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 00:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 00:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:56: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-10-05 00:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532226816001,"66":12678,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532226816001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:56:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:56:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532226816001,"power":12678,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":205432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:56:06] local.INFO: GPS data processed {"connection_id":205432,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:56:06] local.INFO: Acknowledgment sent {"connection_id":205432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:56:37] local.INFO: TCP Data received {"connection_id":205432,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:56:37] local.INFO: Processing buffer {"connection_id":205432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:56:37] local.INFO: Packet analysis {"connection_id":205432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:56:37] local.INFO: Extracted packet for processing {"connection_id":205432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:56:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532226816001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791141812000,"timestamp_ms":1791141812000,"timestamp_seconds":1791141812,"priority":1,"record_length":96,"hex_timestamp":"000001a1085f1720"} 
[2026-10-05 00:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:56:37] 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-10-05 00: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 00:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:56: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-10-05 00:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532226816001,"66":12678,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532226816001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:56:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:56:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532226816001,"power":12678,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":205432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:56:38] local.INFO: GPS data processed {"connection_id":205432,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:56:38] local.INFO: Acknowledgment sent {"connection_id":205432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:56:39] local.INFO: TCP Data received {"connection_id":203901,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1085f55a0012d7f91c005afd9f0000b010128..."} 
[2026-10-05 00:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085f55a0012d7f91c005afd9f0000b010128..."} 
[2026-10-05 00:56:39] local.INFO: Processing buffer {"connection_id":203901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085f55a0012d7f91c005afd9f0000b010128..."} 
[2026-10-05 00:56:39] local.INFO: Packet analysis {"connection_id":203901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:56:39] local.INFO: Extracted packet for processing {"connection_id":203901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532230912001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791141828000,"timestamp_ms":1791141828000,"timestamp_seconds":1791141828,"priority":1,"record_length":96,"hex_timestamp":"000001a1085f55a0"} 
[2026-10-05 00:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:56:39] 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-10-05 00:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":203901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":203901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":203901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532230912001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 00:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532230912001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:56:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532230912001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":203901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:56:39] local.INFO: GPS data processed {"connection_id":203901,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:56:39] local.INFO: Acknowledgment sent {"connection_id":203901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:56:56] local.INFO: TCP Data received {"connection_id":203988,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:56:56] local.INFO: Processing buffer {"connection_id":203988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:56:56] local.INFO: IMEI packet received {"connection_id":203988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":203988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:57:00] local.INFO: TCP Data received {"connection_id":203989,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:57:00] local.INFO: Processing buffer {"connection_id":203989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:57:00] local.INFO: IMEI packet received {"connection_id":203989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":203989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:57:01] local.INFO: TCP Data received {"connection_id":203988,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:57:01] local.INFO: Processing buffer {"connection_id":203988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:57:01] local.INFO: IMEI packet received {"connection_id":203988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":203988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:57:02] local.INFO: TCP Data received {"connection_id":203988,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1085f55a0012d7f91c005afd9f0000b010128..."} 
[2026-10-05 00:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085f55a0012d7f91c005afd9f0000b010128..."} 
[2026-10-05 00:57:02] local.INFO: Processing buffer {"connection_id":203988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085f55a0012d7f91c005afd9f0000b010128..."} 
[2026-10-05 00:57:02] local.INFO: Packet analysis {"connection_id":203988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:57:02] local.INFO: Extracted packet for processing {"connection_id":203988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:57:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532230912001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:57: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-10-05 00:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791141828000,"timestamp_ms":1791141828000,"timestamp_seconds":1791141828,"priority":1,"record_length":96,"hex_timestamp":"000001a1085f55a0"} 
[2026-10-05 00:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:57:02] 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-10-05 00: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-10-05 00:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532230912001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 00:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532230912001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:57:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:57:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532230912001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":203988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:57:02] local.INFO: GPS data processed {"connection_id":203988,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:57:02] local.INFO: Acknowledgment sent {"connection_id":203988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:57:05] local.INFO: TCP Data received {"connection_id":203989,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:57:05] local.INFO: Processing buffer {"connection_id":203989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:57:05] local.INFO: IMEI packet received {"connection_id":203989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":203989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:57:06] local.INFO: TCP Data received {"connection_id":203989,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:57:06] local.INFO: Processing buffer {"connection_id":203989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:57:06] local.INFO: Packet analysis {"connection_id":203989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:57:06] local.INFO: Extracted packet for processing {"connection_id":203989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:57:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532226816001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791141812000,"timestamp_ms":1791141812000,"timestamp_seconds":1791141812,"priority":1,"record_length":96,"hex_timestamp":"000001a1085f1720"} 
[2026-10-05 00:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:57:06] 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-10-05 00: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 00:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:57:06] 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-10-05 00:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532226816001,"66":12678,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532226816001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:57:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:57:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532226816001,"power":12678,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":203989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:57:06] local.INFO: GPS data processed {"connection_id":203989,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:57:06] local.INFO: Acknowledgment sent {"connection_id":203989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:57:34] local.INFO: TCP Data received {"connection_id":203988,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1085f55a0012d7f91c005afd9f0000b010128..."} 
[2026-10-05 00:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085f55a0012d7f91c005afd9f0000b010128..."} 
[2026-10-05 00:57:34] local.INFO: Processing buffer {"connection_id":203988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085f55a0012d7f91c005afd9f0000b010128..."} 
[2026-10-05 00:57:34] local.INFO: Packet analysis {"connection_id":203988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:57:34] local.INFO: Extracted packet for processing {"connection_id":203988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:57:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532230912001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:57: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-10-05 00:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791141828000,"timestamp_ms":1791141828000,"timestamp_seconds":1791141828,"priority":1,"record_length":96,"hex_timestamp":"000001a1085f55a0"} 
[2026-10-05 00:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:57:34] 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-10-05 00: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-10-05 00:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":203988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":203988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":203988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532230912001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 00:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532230912001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:57:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:57:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532230912001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":203988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:57:34] local.INFO: GPS data processed {"connection_id":203988,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:57:34] local.INFO: Acknowledgment sent {"connection_id":203988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:57:37] local.INFO: TCP Data received {"connection_id":203989,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:57:37] local.INFO: Processing buffer {"connection_id":203989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:57:37] local.INFO: Packet analysis {"connection_id":203989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:57:37] local.INFO: Extracted packet for processing {"connection_id":203989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:57:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532226816001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791141812000,"timestamp_ms":1791141812000,"timestamp_seconds":1791141812,"priority":1,"record_length":96,"hex_timestamp":"000001a1085f1720"} 
[2026-10-05 00:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:57:37] 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-10-05 00: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 00:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:57:37] 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-10-05 00:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532226816001,"66":12678,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532226816001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:57:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:57:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532226816001,"power":12678,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":203989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:57:38] local.INFO: GPS data processed {"connection_id":203989,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:57:38] local.INFO: Acknowledgment sent {"connection_id":203989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:58:00] local.INFO: TCP Data received {"connection_id":207003,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:58:00] local.INFO: Processing buffer {"connection_id":207003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:58:00] local.INFO: IMEI packet received {"connection_id":207003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":207003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:58:01] local.INFO: TCP Data received {"connection_id":207002,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:58:01] local.INFO: Processing buffer {"connection_id":207002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:58:01] local.INFO: IMEI packet received {"connection_id":207002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":207002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:58:05] local.INFO: TCP Data received {"connection_id":207003,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:58:05] local.INFO: Processing buffer {"connection_id":207003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:58:05] local.INFO: IMEI packet received {"connection_id":207003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":207003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:58:06] local.INFO: TCP Data received {"connection_id":207002,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:58:06] local.INFO: Processing buffer {"connection_id":207002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:58:06] local.INFO: IMEI packet received {"connection_id":207002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":207002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:58:06] local.INFO: TCP Data received {"connection_id":207003,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:58:06] local.INFO: Processing buffer {"connection_id":207003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085f1720012d7c2ac005dac8a0000200bf2d..."} 
[2026-10-05 00:58:06] local.INFO: Packet analysis {"connection_id":207003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:58:06] local.INFO: Extracted packet for processing {"connection_id":207003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:58:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532226816001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791141812000,"timestamp_ms":1791141812000,"timestamp_seconds":1791141812,"priority":1,"record_length":96,"hex_timestamp":"000001a1085f1720"} 
[2026-10-05 00:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:58:06] 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-10-05 00: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 00:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:58:06] 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-10-05 00:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532226816001,"66":12678,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532226816001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:58:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:58:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532226816001,"power":12678,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":207003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:58:06] local.INFO: GPS data processed {"connection_id":207003,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:58:06] local.INFO: Acknowledgment sent {"connection_id":207003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:58:07] local.INFO: TCP Data received {"connection_id":207002,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1085f55a0012d7f91c005afd9f0000b010128..."} 
[2026-10-05 00:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085f55a0012d7f91c005afd9f0000b010128..."} 
[2026-10-05 00:58:07] local.INFO: Processing buffer {"connection_id":207002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085f55a0012d7f91c005afd9f0000b010128..."} 
[2026-10-05 00:58:07] local.INFO: Packet analysis {"connection_id":207002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:58:07] local.INFO: Extracted packet for processing {"connection_id":207002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:58:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532230912001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:58: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-10-05 00:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791141828000,"timestamp_ms":1791141828000,"timestamp_seconds":1791141828,"priority":1,"record_length":96,"hex_timestamp":"000001a1085f55a0"} 
[2026-10-05 00:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:58:07] 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-10-05 00:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532230912001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532230912001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:58:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:58:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532230912001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":207002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:58:07] local.INFO: GPS data processed {"connection_id":207002,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:58:07] local.INFO: Acknowledgment sent {"connection_id":207002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:58:38] local.INFO: TCP Data received {"connection_id":207003,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:58:38] local.INFO: Processing buffer {"connection_id":207003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:58:38] local.INFO: Packet analysis {"connection_id":207003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 00:58:38] local.INFO: Extracted packet for processing {"connection_id":207003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 00:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532303872001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791142113000,"timestamp_ms":1791142113000,"timestamp_seconds":1791142113,"priority":1,"record_length":96,"hex_timestamp":"000001a10863aee8"} 
[2026-10-05 00:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 00:58:38] 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-10-05 00: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-10-05 00:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:58:38] 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-10-05 00:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532303872001,"66":12689,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532303872001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:58:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:58:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532303872001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":207003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:58:38] local.INFO: GPS data processed {"connection_id":207003,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:58:38] local.INFO: Acknowledgment sent {"connection_id":207003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:58:39] local.INFO: TCP Data received {"connection_id":207002,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1085f55a0012d7f91c005afd9f0000b010128..."} 
[2026-10-05 00:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085f55a0012d7f91c005afd9f0000b010128..."} 
[2026-10-05 00:58:39] local.INFO: Processing buffer {"connection_id":207002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085f55a0012d7f91c005afd9f0000b010128..."} 
[2026-10-05 00:58:39] local.INFO: Packet analysis {"connection_id":207002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:58:39] local.INFO: Extracted packet for processing {"connection_id":207002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:58:39] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532230912001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791141828000,"timestamp_ms":1791141828000,"timestamp_seconds":1791141828,"priority":1,"record_length":96,"hex_timestamp":"000001a1085f55a0"} 
[2026-10-05 00:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:58:39] 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-10-05 00:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":207002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":207002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":207002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:58:39] 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-10-05 00:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532230912001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532230912001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:58:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:58:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532230912001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":207002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:58:39] local.INFO: GPS data processed {"connection_id":207002,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:58:39] local.INFO: Acknowledgment sent {"connection_id":207002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:58:56] local.INFO: TCP Data received {"connection_id":203991,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:58:56] local.INFO: Processing buffer {"connection_id":203991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:58:56] local.INFO: IMEI packet received {"connection_id":203991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 00:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":203991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:59:00] local.INFO: TCP Data received {"connection_id":205435,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:59:00] local.INFO: Processing buffer {"connection_id":205435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:59:00] local.INFO: IMEI packet received {"connection_id":205435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 00:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":205435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 00:59:02] local.INFO: TCP Data received {"connection_id":203991,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:59:02] local.INFO: Processing buffer {"connection_id":203991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 00:59:02] local.INFO: IMEI packet received {"connection_id":203991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 00:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":203991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:59:03] local.INFO: TCP Data received {"connection_id":203991,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1085f55a0012d7f91c005afd9f0000b010128..."} 
[2026-10-05 00:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1085f55a0012d7f91c005afd9f0000b010128..."} 
[2026-10-05 00:59:03] local.INFO: Processing buffer {"connection_id":203991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1085f55a0012d7f91c005afd9f0000b010128..."} 
[2026-10-05 00:59:03] local.INFO: Packet analysis {"connection_id":203991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:59:03] local.INFO: Extracted packet for processing {"connection_id":203991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1085f"} 
[2026-10-05 00:59:03] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532230912001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:59: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-10-05 00:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791141828000,"timestamp_ms":1791141828000,"timestamp_seconds":1791141828,"priority":1,"record_length":96,"hex_timestamp":"000001a1085f55a0"} 
[2026-10-05 00:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 00: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-10-05 00:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":203991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":203991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":203991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:59:03] 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-10-05 00:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532230912001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 00:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532230912001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:59:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 00:59:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532230912001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":203991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:59:03] local.INFO: GPS data processed {"connection_id":203991,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:59:03] local.INFO: Acknowledgment sent {"connection_id":203991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:59:05] local.INFO: TCP Data received {"connection_id":205435,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:59:05] local.INFO: Processing buffer {"connection_id":205435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 00:59:05] local.INFO: IMEI packet received {"connection_id":205435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 00:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":205435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 00:59:06] local.INFO: TCP Data received {"connection_id":205435,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:59:06] local.INFO: Processing buffer {"connection_id":205435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:59:06] local.INFO: Packet analysis {"connection_id":205435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 00:59:06] local.INFO: Extracted packet for processing {"connection_id":205435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 00:59:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 00:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532303872001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791142113000,"timestamp_ms":1791142113000,"timestamp_seconds":1791142113,"priority":1,"record_length":96,"hex_timestamp":"000001a10863aee8"} 
[2026-10-05 00:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 00:59:06] 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-10-05 00:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 00:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532303872001,"66":12689,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532303872001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:59:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:59:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532303872001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":205435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964410,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:59:06] local.INFO: GPS data processed {"connection_id":205435,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:59:06] local.INFO: Acknowledgment sent {"connection_id":205435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:59:34] local.INFO: TCP Data received {"connection_id":203991,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 00:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 00:59:34] local.INFO: Processing buffer {"connection_id":203991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 00:59:34] local.INFO: Packet analysis {"connection_id":203991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 00:59:34] local.INFO: Extracted packet for processing {"connection_id":203991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 00:59:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532307968001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 00:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 00:59:34] 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-10-05 00:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791142129000,"timestamp_ms":1791142129000,"timestamp_seconds":1791142129,"priority":1,"record_length":96,"hex_timestamp":"000001a10863ed68"} 
[2026-10-05 00:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:59:34] 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-10-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 00:59:34] 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-10-05 00: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-10-05 00:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":203991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":203991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":203991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 00:59: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-10-05 00:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 00:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 00:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532307968001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 00:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 00:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 00:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532307968001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:59:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 00:59:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 00:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 00:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532307968001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 00:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":203991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:59:34] local.INFO: GPS data processed {"connection_id":203991,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:59:34] local.INFO: Acknowledgment sent {"connection_id":203991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 00:59:37] local.INFO: TCP Data received {"connection_id":205435,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:59:37] local.INFO: Processing buffer {"connection_id":205435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 00:59:37] local.INFO: Packet analysis {"connection_id":205435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 00:59:37] local.INFO: Extracted packet for processing {"connection_id":205435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 00:59:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 00: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-10-05 00:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532303872001,"note":"Value kept but may cause issues"} 
[2026-10-05 00:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 00:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 00:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 00:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791142113000,"timestamp_ms":1791142113000,"timestamp_seconds":1791142113,"priority":1,"record_length":96,"hex_timestamp":"000001a10863aee8"} 
[2026-10-05 00:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 00:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 00: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 00:59:37] 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-10-05 00: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-10-05 00:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 00:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 00:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 00:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 00:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 00:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 00:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 00:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532303872001,"66":12689,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 00:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 00:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 00:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532303872001,"description":"Unknown IO ID 0"} 
[2026-10-05 00:59:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 00:59:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 00:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 00:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 00:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532303872001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 00:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":205435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 00:59:37] local.INFO: GPS data processed {"connection_id":205435,"processed":1,"errors":0,"total":1} 
[2026-10-05 00:59:37] local.INFO: Acknowledgment sent {"connection_id":205435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:00:00] local.INFO: TCP Data received {"connection_id":207004,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:00:00] local.INFO: Processing buffer {"connection_id":207004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:00:00] local.INFO: IMEI packet received {"connection_id":207004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":207004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:00:01] local.INFO: TCP Data received {"connection_id":207005,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:00:01] local.INFO: Processing buffer {"connection_id":207005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:00:01] local.INFO: IMEI packet received {"connection_id":207005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":207005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:00:05] local.INFO: TCP Data received {"connection_id":207004,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:00:05] local.INFO: Processing buffer {"connection_id":207004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:00:05] local.INFO: IMEI packet received {"connection_id":207004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":207004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:00:06] local.INFO: TCP Data received {"connection_id":207004,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 01:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 01:00:06] local.INFO: Processing buffer {"connection_id":207004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 01:00:06] local.INFO: Packet analysis {"connection_id":207004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:00:06] local.INFO: Extracted packet for processing {"connection_id":207004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 01:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532303872001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791142113000,"timestamp_ms":1791142113000,"timestamp_seconds":1791142113,"priority":1,"record_length":96,"hex_timestamp":"000001a10863aee8"} 
[2026-10-05 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-10-05 01:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 01:00:06] 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-10-05 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-10-05 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-10-05 01:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532303872001,"66":12689,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532303872001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:00:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:00:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532303872001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":207004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:00:06] local.INFO: GPS data processed {"connection_id":207004,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:00:06] local.INFO: Acknowledgment sent {"connection_id":207004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:00:06] local.INFO: TCP Data received {"connection_id":207005,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:00:06] local.INFO: Processing buffer {"connection_id":207005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:00:06] local.INFO: IMEI packet received {"connection_id":207005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":207005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:00:07] local.INFO: TCP Data received {"connection_id":207005,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:00:07] local.INFO: Processing buffer {"connection_id":207005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:00:07] local.INFO: Packet analysis {"connection_id":207005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:00:07] local.INFO: Extracted packet for processing {"connection_id":207005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:00:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532307968001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:00:07] 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-10-05 01:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791142129000,"timestamp_ms":1791142129000,"timestamp_seconds":1791142129,"priority":1,"record_length":96,"hex_timestamp":"000001a10863ed68"} 
[2026-10-05 01:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:00:07] 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-10-05 01:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:00:07] 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-10-05 01:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532307968001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532307968001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:00:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:00:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532307968001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":207005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:00:07] local.INFO: GPS data processed {"connection_id":207005,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:00:07] local.INFO: Acknowledgment sent {"connection_id":207005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:00:38] local.INFO: TCP Data received {"connection_id":207004,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 01:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 01:00:38] local.INFO: Processing buffer {"connection_id":207004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 01:00:38] local.INFO: Packet analysis {"connection_id":207004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:00:38] local.INFO: Extracted packet for processing {"connection_id":207004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:00:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:00: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-10-05 01:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532303872001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791142113000,"timestamp_ms":1791142113000,"timestamp_seconds":1791142113,"priority":1,"record_length":96,"hex_timestamp":"000001a10863aee8"} 
[2026-10-05 01:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:00: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":134,"data_length":795,"current_offset":136} 
[2026-10-05 01:00:38] 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-10-05 01:00: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-10-05 01:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532303872001,"66":12689,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532303872001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:00:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:00:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532303872001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":207004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:00:38] local.INFO: GPS data processed {"connection_id":207004,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:00:38] local.INFO: Acknowledgment sent {"connection_id":207004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:00:38] local.INFO: TCP Data received {"connection_id":207005,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:00:38] local.INFO: Processing buffer {"connection_id":207005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:00:38] local.INFO: Packet analysis {"connection_id":207005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:00:38] local.INFO: Extracted packet for processing {"connection_id":207005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:00:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:00: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-10-05 01:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532307968001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:00:38] 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-10-05 01:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791142129000,"timestamp_ms":1791142129000,"timestamp_seconds":1791142129,"priority":1,"record_length":96,"hex_timestamp":"000001a10863ed68"} 
[2026-10-05 01:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:00:38] 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-10-05 01:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:00:38] 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-10-05 01:00: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-10-05 01:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:00:38] 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-10-05 01:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532307968001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532307968001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:00:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:00:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532307968001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":207005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:00:38] local.INFO: GPS data processed {"connection_id":207005,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:00:38] local.INFO: Acknowledgment sent {"connection_id":207005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:00:59] local.INFO: TCP Data received {"connection_id":203903,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:00:59] local.INFO: Processing buffer {"connection_id":203903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:00:59] local.INFO: IMEI packet received {"connection_id":203903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":203903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:01:00] local.INFO: TCP Data received {"connection_id":207007,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207007,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:01:00] local.INFO: Processing buffer {"connection_id":207007,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:01:00] local.INFO: IMEI packet received {"connection_id":207007,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":207007,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:01:03] local.INFO: TCP Data received {"connection_id":203903,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:01:03] local.INFO: Processing buffer {"connection_id":203903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:01:03] local.INFO: IMEI packet received {"connection_id":203903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":203903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:01:03] local.INFO: TCP Data received {"connection_id":203903,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:01:03] local.INFO: Processing buffer {"connection_id":203903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:01:03] local.INFO: Packet analysis {"connection_id":203903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:01:03] local.INFO: Extracted packet for processing {"connection_id":203903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:01:03] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532307968001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:01:03] 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-10-05 01:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791142129000,"timestamp_ms":1791142129000,"timestamp_seconds":1791142129,"priority":1,"record_length":96,"hex_timestamp":"000001a10863ed68"} 
[2026-10-05 01:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:01:03] 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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":203903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":203903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":203903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:01: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-10-05 01:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532307968001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532307968001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:01:03] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:01:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532307968001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":203903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:01:03] local.INFO: GPS data processed {"connection_id":203903,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:01:03] local.INFO: Acknowledgment sent {"connection_id":203903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:01:04] local.INFO: TCP Data received {"connection_id":207006,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:01:04] local.INFO: Processing buffer {"connection_id":207006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:01:04] local.INFO: IMEI packet received {"connection_id":207006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 01:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":207006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:01:05] local.INFO: TCP Data received {"connection_id":207007,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207007,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:01:05] local.INFO: Processing buffer {"connection_id":207007,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:01:05] local.INFO: IMEI packet received {"connection_id":207007,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":207007,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:01:06] local.INFO: TCP Data received {"connection_id":207007,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 01:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 01:01:06] local.INFO: Processing buffer {"connection_id":207007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 01:01:06] local.INFO: Packet analysis {"connection_id":207007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:01:06] local.INFO: Extracted packet for processing {"connection_id":207007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:01:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532303872001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791142113000,"timestamp_ms":1791142113000,"timestamp_seconds":1791142113,"priority":1,"record_length":96,"hex_timestamp":"000001a10863aee8"} 
[2026-10-05 01:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 01:01:06] 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-10-05 01:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:01: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-10-05 01:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532303872001,"66":12689,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532303872001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:01:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:01:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532303872001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":207007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:01:06] local.INFO: GPS data processed {"connection_id":207007,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:01:06] local.INFO: Acknowledgment sent {"connection_id":207007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:01:07] local.INFO: TCP Data received {"connection_id":203903,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:01:07] local.INFO: Processing buffer {"connection_id":203903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:01:07] local.INFO: Packet analysis {"connection_id":203903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:01:07] local.INFO: Extracted packet for processing {"connection_id":203903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:01:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532307968001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:01:07] 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-10-05 01:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791142129000,"timestamp_ms":1791142129000,"timestamp_seconds":1791142129,"priority":1,"record_length":96,"hex_timestamp":"000001a10863ed68"} 
[2026-10-05 01:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:01:07] 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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":203903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":203903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":203903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532307968001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532307968001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:01:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:01:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532307968001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":203903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:01:07] local.INFO: GPS data processed {"connection_id":203903,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:01:07] local.INFO: Acknowledgment sent {"connection_id":203903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:01:38] local.INFO: TCP Data received {"connection_id":203903,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:01:38] local.INFO: Processing buffer {"connection_id":203903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:01:38] local.INFO: Packet analysis {"connection_id":203903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:01:38] local.INFO: Extracted packet for processing {"connection_id":203903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:01:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:01: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-10-05 01:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532307968001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:01:38] 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-10-05 01:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791142129000,"timestamp_ms":1791142129000,"timestamp_seconds":1791142129,"priority":1,"record_length":96,"hex_timestamp":"000001a10863ed68"} 
[2026-10-05 01:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:01:38] 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-10-05 01:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:01:38] 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-10-05 01:01: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-10-05 01:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:01:38] 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-10-05 01:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532307968001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532307968001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:01:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:01:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532307968001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":203903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:01:38] local.INFO: GPS data processed {"connection_id":203903,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:01:38] local.INFO: Acknowledgment sent {"connection_id":203903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:01:38] local.INFO: TCP Data received {"connection_id":207007,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 01:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 01:01:38] local.INFO: Processing buffer {"connection_id":207007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 01:01:38] local.INFO: Packet analysis {"connection_id":207007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:01:38] local.INFO: Extracted packet for processing {"connection_id":207007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:01:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:01: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-10-05 01:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532303872001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791142113000,"timestamp_ms":1791142113000,"timestamp_seconds":1791142113,"priority":1,"record_length":96,"hex_timestamp":"000001a10863aee8"} 
[2026-10-05 01:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:01: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":134,"data_length":795,"current_offset":136} 
[2026-10-05 01:01:38] 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-10-05 01:01: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-10-05 01:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:01: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-10-05 01:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532303872001,"66":12689,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532303872001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:01:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:01:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532303872001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":207007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:01:38] local.INFO: GPS data processed {"connection_id":207007,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:01:38] local.INFO: Acknowledgment sent {"connection_id":207007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:01:43] local.INFO: TCP Data received {"connection_id":205436,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:01:43] local.INFO: Processing buffer {"connection_id":205436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:01:43] local.INFO: IMEI packet received {"connection_id":205436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 01:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":205436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:01:56] local.INFO: TCP Data received {"connection_id":203904,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:01:56] local.INFO: Processing buffer {"connection_id":203904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:01:56] local.INFO: IMEI packet received {"connection_id":203904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":203904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:02:00] local.INFO: TCP Data received {"connection_id":203905,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:02:00] local.INFO: Processing buffer {"connection_id":203905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:02:00] local.INFO: IMEI packet received {"connection_id":203905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":203905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:02:01] local.INFO: TCP Data received {"connection_id":203904,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:02:01] local.INFO: Processing buffer {"connection_id":203904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:02:01] local.INFO: IMEI packet received {"connection_id":203904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":203904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:02:02] local.INFO: TCP Data received {"connection_id":203904,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:02:02] local.INFO: Processing buffer {"connection_id":203904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:02:02] local.INFO: Packet analysis {"connection_id":203904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:02:02] local.INFO: Extracted packet for processing {"connection_id":203904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:02:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532307968001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:02:02] 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-10-05 01:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791142129000,"timestamp_ms":1791142129000,"timestamp_seconds":1791142129,"priority":1,"record_length":96,"hex_timestamp":"000001a10863ed68"} 
[2026-10-05 01:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:02: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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:02:02] 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-10-05 01: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-10-05 01:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:02:02] 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-10-05 01:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532307968001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532307968001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:02:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:02:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532307968001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":203904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:02:02] local.INFO: GPS data processed {"connection_id":203904,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:02:02] local.INFO: Acknowledgment sent {"connection_id":203904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:02:05] local.INFO: TCP Data received {"connection_id":203905,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:02:05] local.INFO: Processing buffer {"connection_id":203905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:02:05] local.INFO: IMEI packet received {"connection_id":203905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":203905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:02:06] local.INFO: TCP Data received {"connection_id":203905,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 01:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 01:02:06] local.INFO: Processing buffer {"connection_id":203905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 01:02:06] local.INFO: Packet analysis {"connection_id":203905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:02:06] local.INFO: Extracted packet for processing {"connection_id":203905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:02:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532303872001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791142113000,"timestamp_ms":1791142113000,"timestamp_seconds":1791142113,"priority":1,"record_length":96,"hex_timestamp":"000001a10863aee8"} 
[2026-10-05 01:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 01:02:06] 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-10-05 01:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:02: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-10-05 01:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532303872001,"66":12689,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532303872001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:02:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:02:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532303872001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":203905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964423,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:02:06] local.INFO: GPS data processed {"connection_id":203905,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:02:06] local.INFO: Acknowledgment sent {"connection_id":203905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:02:33] local.INFO: TCP Data received {"connection_id":203904,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:02:33] local.INFO: Processing buffer {"connection_id":203904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:02:33] local.INFO: Packet analysis {"connection_id":203904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:02:33] local.INFO: Extracted packet for processing {"connection_id":203904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:02:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532307968001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:02: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-10-05 01:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791142129000,"timestamp_ms":1791142129000,"timestamp_seconds":1791142129,"priority":1,"record_length":96,"hex_timestamp":"000001a10863ed68"} 
[2026-10-05 01:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:02:33] 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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532307968001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532307968001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:02:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:02:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532307968001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":203904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:02:33] local.INFO: GPS data processed {"connection_id":203904,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:02:33] local.INFO: Acknowledgment sent {"connection_id":203904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:02:37] local.INFO: TCP Data received {"connection_id":203905,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 01:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 01:02:37] local.INFO: Processing buffer {"connection_id":203905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 01:02:37] local.INFO: Packet analysis {"connection_id":203905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:02:37] local.INFO: Extracted packet for processing {"connection_id":203905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:02:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532303872001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791142113000,"timestamp_ms":1791142113000,"timestamp_seconds":1791142113,"priority":1,"record_length":96,"hex_timestamp":"000001a10863aee8"} 
[2026-10-05 01:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 01:02:37] 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-10-05 01:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:02: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-10-05 01:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532303872001,"66":12689,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532303872001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:02:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:02:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532303872001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":203905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964425,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:02:37] local.INFO: GPS data processed {"connection_id":203905,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:02:37] local.INFO: Acknowledgment sent {"connection_id":203905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:03:01] local.INFO: TCP Data received {"connection_id":205438,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:03:01] local.INFO: Processing buffer {"connection_id":205438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:03:01] local.INFO: IMEI packet received {"connection_id":205438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":205438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:03:05] local.INFO: TCP Data received {"connection_id":203992,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:03:05] local.INFO: Processing buffer {"connection_id":203992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:03:05] local.INFO: IMEI packet received {"connection_id":203992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":203992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:03:07] local.INFO: TCP Data received {"connection_id":205438,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:03:07] local.INFO: Processing buffer {"connection_id":205438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:03:07] local.INFO: IMEI packet received {"connection_id":205438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":205438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:03:09] local.INFO: TCP Data received {"connection_id":205438,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:03:09] local.INFO: Processing buffer {"connection_id":205438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:03:09] local.INFO: Packet analysis {"connection_id":205438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:03:09] local.INFO: Extracted packet for processing {"connection_id":205438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:03:09] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532307968001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:03:09] 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-10-05 01:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791142129000,"timestamp_ms":1791142129000,"timestamp_seconds":1791142129,"priority":1,"record_length":96,"hex_timestamp":"000001a10863ed68"} 
[2026-10-05 01:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:03:09] 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-10-05 01:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:03:09] 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-10-05 01:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":205438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":205438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":205438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532307968001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532307968001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:03:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:03:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532307968001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":205438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:03:09] local.INFO: GPS data processed {"connection_id":205438,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:03:09] local.INFO: Acknowledgment sent {"connection_id":205438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:03:10] local.INFO: TCP Data received {"connection_id":203992,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:03:10] local.INFO: Processing buffer {"connection_id":203992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:03:10] local.INFO: IMEI packet received {"connection_id":203992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":203992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:03:11] local.INFO: TCP Data received {"connection_id":203992,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 01:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 01:03:11] local.INFO: Processing buffer {"connection_id":203992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 01:03:11] local.INFO: Packet analysis {"connection_id":203992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:03:11] local.INFO: Extracted packet for processing {"connection_id":203992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:03:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:03: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-10-05 01:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532303872001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791142113000,"timestamp_ms":1791142113000,"timestamp_seconds":1791142113,"priority":1,"record_length":96,"hex_timestamp":"000001a10863aee8"} 
[2026-10-05 01:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 01:03:11] 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-10-05 01:03: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-10-05 01:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":203992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":203992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":203992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:03: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-10-05 01:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532303872001,"66":12689,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532303872001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:03:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:03:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532303872001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":203992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:03:11] local.INFO: GPS data processed {"connection_id":203992,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:03:11] local.INFO: Acknowledgment sent {"connection_id":203992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:03:16] local.INFO: TCP Data received {"connection_id":205438,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:03:16] local.INFO: Processing buffer {"connection_id":205438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:03:16] local.INFO: Packet analysis {"connection_id":205438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:03:16] local.INFO: Extracted packet for processing {"connection_id":205438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:03:16] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532307968001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:03:16] 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-10-05 01:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791142129000,"timestamp_ms":1791142129000,"timestamp_seconds":1791142129,"priority":1,"record_length":96,"hex_timestamp":"000001a10863ed68"} 
[2026-10-05 01:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:03:16] 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-10-05 01:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:03:16] 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-10-05 01:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532307968001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532307968001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:03:16] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:03:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532307968001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":205438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:03:16] local.INFO: GPS data processed {"connection_id":205438,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:03:16] local.INFO: Acknowledgment sent {"connection_id":205438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:03:16] local.INFO: TCP Data received {"connection_id":203992,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 01:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 01:03:16] local.INFO: Processing buffer {"connection_id":203992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10863aee8012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 01:03:16] local.INFO: Packet analysis {"connection_id":203992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:03:16] local.INFO: Extracted packet for processing {"connection_id":203992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:03:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532303872001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791142113000,"timestamp_ms":1791142113000,"timestamp_seconds":1791142113,"priority":1,"record_length":96,"hex_timestamp":"000001a10863aee8"} 
[2026-10-05 01:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 01:03:16] 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-10-05 01:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":203992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":203992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":203992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:03: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-10-05 01:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532303872001,"66":12689,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532303872001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:03:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:03:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532303872001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":203992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:03:16] local.INFO: GPS data processed {"connection_id":203992,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:03:16] local.INFO: Acknowledgment sent {"connection_id":203992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:03:56] local.INFO: TCP Data received {"connection_id":203993,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:03:56] local.INFO: Processing buffer {"connection_id":203993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:03:56] local.INFO: IMEI packet received {"connection_id":203993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":203993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:04:01] local.INFO: TCP Data received {"connection_id":205440,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205440,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:04:01] local.INFO: Processing buffer {"connection_id":205440,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:04:01] local.INFO: IMEI packet received {"connection_id":205440,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":205440,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:04:01] local.INFO: TCP Data received {"connection_id":203993,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:04:01] local.INFO: Processing buffer {"connection_id":203993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:04:01] local.INFO: IMEI packet received {"connection_id":203993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":203993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:04:02] local.INFO: TCP Data received {"connection_id":203993,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:04:02] local.INFO: Processing buffer {"connection_id":203993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10863ed68012d7f91c005afd9f00011010124..."} 
[2026-10-05 01:04:02] local.INFO: Packet analysis {"connection_id":203993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:04:02] local.INFO: Extracted packet for processing {"connection_id":203993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10863"} 
[2026-10-05 01:04:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532307968001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:04:02] 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-10-05 01:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791142129000,"timestamp_ms":1791142129000,"timestamp_seconds":1791142129,"priority":1,"record_length":96,"hex_timestamp":"000001a10863ed68"} 
[2026-10-05 01:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:04: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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:04:02] 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-10-05 01: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-10-05 01:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532307968001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532307968001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:04:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:04:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532307968001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":203993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:04:02] local.INFO: GPS data processed {"connection_id":203993,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:04:02] local.INFO: Acknowledgment sent {"connection_id":203993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:04:05] local.INFO: TCP Data received {"connection_id":205440,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205440,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:04:05] local.INFO: Processing buffer {"connection_id":205440,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:04:05] local.INFO: IMEI packet received {"connection_id":205440,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":205440,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:04:06] local.INFO: TCP Data received {"connection_id":205440,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1086846b0012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086846b0012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:04:06] local.INFO: Processing buffer {"connection_id":205440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086846b0012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:04:06] local.INFO: Packet analysis {"connection_id":205440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:04:06] local.INFO: Extracted packet for processing {"connection_id":205440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:04:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532380928001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791142414000,"timestamp_ms":1791142414000,"timestamp_seconds":1791142414,"priority":1,"record_length":96,"hex_timestamp":"000001a1086846b0"} 
[2026-10-05 01:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:04:06] 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-10-05 01: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 01:04:06] 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-10-05 01: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-10-05 01:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:04: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-10-05 01:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532380928001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532380928001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:04:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:04:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532380928001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":205440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:04:06] local.INFO: GPS data processed {"connection_id":205440,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:04:06] local.INFO: Acknowledgment sent {"connection_id":205440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:04:33] local.INFO: TCP Data received {"connection_id":203993,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:04:33] local.INFO: Processing buffer {"connection_id":203993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:04:33] local.INFO: Packet analysis {"connection_id":203993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:04:33] local.INFO: Extracted packet for processing {"connection_id":203993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:04: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-10-05 01:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532385024001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:04: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-10-05 01:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791142430000,"timestamp_ms":1791142430000,"timestamp_seconds":1791142430,"priority":1,"record_length":96,"hex_timestamp":"000001a108688530"} 
[2026-10-05 01:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:04:33] 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-10-05 01:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:04: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-10-05 01:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532385024001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532385024001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:04:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:04:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532385024001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":203993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:04:33] local.INFO: GPS data processed {"connection_id":203993,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:04:33] local.INFO: Acknowledgment sent {"connection_id":203993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:04:38] local.INFO: TCP Data received {"connection_id":205440,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1086846b0012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086846b0012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:04:38] local.INFO: Processing buffer {"connection_id":205440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086846b0012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:04:38] local.INFO: Packet analysis {"connection_id":205440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:04:38] local.INFO: Extracted packet for processing {"connection_id":205440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:04:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:04: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-10-05 01:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532380928001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791142414000,"timestamp_ms":1791142414000,"timestamp_seconds":1791142414,"priority":1,"record_length":96,"hex_timestamp":"000001a1086846b0"} 
[2026-10-05 01:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:04:38] 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-10-05 01:04: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":145,"data_length":795,"current_offset":136} 
[2026-10-05 01:04:38] 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-10-05 01:04: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-10-05 01:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:04: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-10-05 01:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532380928001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532380928001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:04:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:04:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532380928001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":205440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964433,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:04:38] local.INFO: GPS data processed {"connection_id":205440,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:04:38] local.INFO: Acknowledgment sent {"connection_id":205440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:04:57] local.INFO: TCP Data received {"connection_id":203994,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:04:57] local.INFO: Processing buffer {"connection_id":203994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:04:57] local.INFO: IMEI packet received {"connection_id":203994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":203994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:05:00] local.INFO: TCP Data received {"connection_id":207009,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:05:00] local.INFO: Processing buffer {"connection_id":207009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:05:00] local.INFO: IMEI packet received {"connection_id":207009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":207009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:05:01] local.INFO: TCP Data received {"connection_id":203994,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:05:01] local.INFO: Processing buffer {"connection_id":203994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:05:01] local.INFO: IMEI packet received {"connection_id":203994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":203994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:05:02] local.INFO: TCP Data received {"connection_id":203994,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:05:02] local.INFO: Processing buffer {"connection_id":203994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:05:02] local.INFO: Packet analysis {"connection_id":203994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:05:02] local.INFO: Extracted packet for processing {"connection_id":203994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:05:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532385024001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:05:02] 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-10-05 01:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791142430000,"timestamp_ms":1791142430000,"timestamp_seconds":1791142430,"priority":1,"record_length":96,"hex_timestamp":"000001a108688530"} 
[2026-10-05 01:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:05: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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:05:02] 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-10-05 01: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-10-05 01:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:05:02] 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-10-05 01:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532385024001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532385024001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:05:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:05:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532385024001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":203994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:05:02] local.INFO: GPS data processed {"connection_id":203994,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:05:02] local.INFO: Acknowledgment sent {"connection_id":203994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:05:05] local.INFO: TCP Data received {"connection_id":207009,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:05:05] local.INFO: Processing buffer {"connection_id":207009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:05:05] local.INFO: IMEI packet received {"connection_id":207009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":207009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:05:06] local.INFO: TCP Data received {"connection_id":207009,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1086846b0012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086846b0012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:05:06] local.INFO: Processing buffer {"connection_id":207009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086846b0012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:05:06] local.INFO: Packet analysis {"connection_id":207009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:05:06] local.INFO: Extracted packet for processing {"connection_id":207009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:05:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 01:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532380928001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791142414000,"timestamp_ms":1791142414000,"timestamp_seconds":1791142414,"priority":1,"record_length":96,"hex_timestamp":"000001a1086846b0"} 
[2026-10-05 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-10-05 01:05:06] 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-10-05 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 01:05:06] 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-10-05 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-10-05 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-10-05 01:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:05: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-10-05 01:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532380928001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532380928001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:05:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:05:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532380928001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":207009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:05:06] local.INFO: GPS data processed {"connection_id":207009,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:05:06] local.INFO: Acknowledgment sent {"connection_id":207009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:05:33] local.INFO: TCP Data received {"connection_id":203994,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:05:33] local.INFO: Processing buffer {"connection_id":203994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:05:33] local.INFO: Packet analysis {"connection_id":203994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:05:33] local.INFO: Extracted packet for processing {"connection_id":203994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:05:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532385024001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:05: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-10-05 01:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791142430000,"timestamp_ms":1791142430000,"timestamp_seconds":1791142430,"priority":1,"record_length":96,"hex_timestamp":"000001a108688530"} 
[2026-10-05 01:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:05:33] 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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:05:33] 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-10-05 01:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532385024001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532385024001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:05:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:05:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532385024001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":203994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:05:33] local.INFO: GPS data processed {"connection_id":203994,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:05:33] local.INFO: Acknowledgment sent {"connection_id":203994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:05:38] local.INFO: TCP Data received {"connection_id":207009,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1086846b0012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086846b0012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:05:38] local.INFO: Processing buffer {"connection_id":207009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086846b0012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:05:38] local.INFO: Packet analysis {"connection_id":207009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:05:38] local.INFO: Extracted packet for processing {"connection_id":207009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:05:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532380928001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791142414000,"timestamp_ms":1791142414000,"timestamp_seconds":1791142414,"priority":1,"record_length":96,"hex_timestamp":"000001a1086846b0"} 
[2026-10-05 01:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:05:38] 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-10-05 01: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 01:05:38] 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-10-05 01: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-10-05 01:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:05: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-10-05 01:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532380928001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532380928001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:05:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:05:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532380928001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":207009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:05:38] local.INFO: GPS data processed {"connection_id":207009,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:05:38] local.INFO: Acknowledgment sent {"connection_id":207009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:05:56] local.INFO: TCP Data received {"connection_id":203906,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:05:56] local.INFO: Processing buffer {"connection_id":203906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:05:56] local.INFO: IMEI packet received {"connection_id":203906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":203906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:06:00] local.INFO: TCP Data received {"connection_id":205441,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:06:00] local.INFO: Processing buffer {"connection_id":205441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:06:00] local.INFO: IMEI packet received {"connection_id":205441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":205441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:06:05] local.INFO: TCP Data received {"connection_id":205441,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:06:05] local.INFO: Processing buffer {"connection_id":205441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:06:05] local.INFO: IMEI packet received {"connection_id":205441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":205441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:06:06] local.INFO: TCP Data received {"connection_id":203906,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:06:06] local.INFO: Processing buffer {"connection_id":203906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:06:06] local.INFO: IMEI packet received {"connection_id":203906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":203906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:06:07] local.INFO: TCP Data received {"connection_id":205441,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1086846b0012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086846b0012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:06:07] local.INFO: Processing buffer {"connection_id":205441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086846b0012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:06:07] local.INFO: Packet analysis {"connection_id":205441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:06:07] local.INFO: Extracted packet for processing {"connection_id":205441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:06:07] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532380928001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791142414000,"timestamp_ms":1791142414000,"timestamp_seconds":1791142414,"priority":1,"record_length":96,"hex_timestamp":"000001a1086846b0"} 
[2026-10-05 01:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:06: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-10-05 01: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 01:06: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-10-05 01: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-10-05 01:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01: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-10-05 01:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532380928001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532380928001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:06:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:06:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532380928001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":205441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:06:07] local.INFO: GPS data processed {"connection_id":205441,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:06:07] local.INFO: Acknowledgment sent {"connection_id":205441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:06:07] local.INFO: TCP Data received {"connection_id":203906,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:06:07] local.INFO: Processing buffer {"connection_id":203906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:06:07] local.INFO: Packet analysis {"connection_id":203906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:06:07] local.INFO: Extracted packet for processing {"connection_id":203906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:06:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532385024001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:06:07] 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-10-05 01:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791142430000,"timestamp_ms":1791142430000,"timestamp_seconds":1791142430,"priority":1,"record_length":96,"hex_timestamp":"000001a108688530"} 
[2026-10-05 01:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:06:07] 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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":203906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":203906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":203906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:06:07] 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-10-05 01:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532385024001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532385024001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:06:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:06:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532385024001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":203906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:06:07] local.INFO: GPS data processed {"connection_id":203906,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:06:07] local.INFO: Acknowledgment sent {"connection_id":203906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:06:38] local.INFO: TCP Data received {"connection_id":205441,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1086846b0012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086846b0012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:06:38] local.INFO: Processing buffer {"connection_id":205441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086846b0012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:06:38] local.INFO: Packet analysis {"connection_id":205441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:06:38] local.INFO: Extracted packet for processing {"connection_id":205441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532380928001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791142414000,"timestamp_ms":1791142414000,"timestamp_seconds":1791142414,"priority":1,"record_length":96,"hex_timestamp":"000001a1086846b0"} 
[2026-10-05 01:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:06:38] 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-10-05 01:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 01:06:38] 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-10-05 01:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532380928001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532380928001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:06:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532380928001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":205441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:06:38] local.INFO: GPS data processed {"connection_id":205441,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:06:38] local.INFO: Acknowledgment sent {"connection_id":205441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:06:38] local.INFO: TCP Data received {"connection_id":203906,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:06:38] local.INFO: Processing buffer {"connection_id":203906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:06:38] local.INFO: Packet analysis {"connection_id":203906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:06:38] local.INFO: Extracted packet for processing {"connection_id":203906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532385024001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:06:38] 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-10-05 01:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791142430000,"timestamp_ms":1791142430000,"timestamp_seconds":1791142430,"priority":1,"record_length":96,"hex_timestamp":"000001a108688530"} 
[2026-10-05 01:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:06:38] 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-10-05 01:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:06:38] 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-10-05 01:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:06:38] 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-10-05 01:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532385024001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532385024001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:06:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532385024001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":203906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:06:38] local.INFO: GPS data processed {"connection_id":203906,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:06:38] local.INFO: Acknowledgment sent {"connection_id":203906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:06:56] local.INFO: TCP Data received {"connection_id":203996,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:06:56] local.INFO: Processing buffer {"connection_id":203996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:06:56] local.INFO: IMEI packet received {"connection_id":203996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":203996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:07:00] local.INFO: TCP Data received {"connection_id":205443,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:07:00] local.INFO: Processing buffer {"connection_id":205443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:07:00] local.INFO: IMEI packet received {"connection_id":205443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":205443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:07:01] local.INFO: TCP Data received {"connection_id":203996,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:07:01] local.INFO: Processing buffer {"connection_id":203996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:07:01] local.INFO: IMEI packet received {"connection_id":203996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":203996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:07:02] local.INFO: TCP Data received {"connection_id":203996,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:07:02] local.INFO: Processing buffer {"connection_id":203996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:07:02] local.INFO: Packet analysis {"connection_id":203996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:07:02] local.INFO: Extracted packet for processing {"connection_id":203996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:07:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532385024001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:07:02] 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-10-05 01:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791142430000,"timestamp_ms":1791142430000,"timestamp_seconds":1791142430,"priority":1,"record_length":96,"hex_timestamp":"000001a108688530"} 
[2026-10-05 01:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:07: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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:07:02] 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-10-05 01: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-10-05 01:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:07:02] 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-10-05 01:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532385024001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532385024001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:07:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:07:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532385024001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":203996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:07:02] local.INFO: GPS data processed {"connection_id":203996,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:07:02] local.INFO: Acknowledgment sent {"connection_id":203996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:07:04] local.INFO: TCP Data received {"connection_id":205442,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:07:04] local.INFO: Processing buffer {"connection_id":205442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:07:04] local.INFO: IMEI packet received {"connection_id":205442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 01:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":205442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:07:05] local.INFO: TCP Data received {"connection_id":205443,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:07:05] local.INFO: Processing buffer {"connection_id":205443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:07:05] local.INFO: IMEI packet received {"connection_id":205443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":205443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:07:06] local.INFO: TCP Data received {"connection_id":205443,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1086846b0012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086846b0012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:07:06] local.INFO: Processing buffer {"connection_id":205443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086846b0012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:07:06] local.INFO: Packet analysis {"connection_id":205443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:07:06] local.INFO: Extracted packet for processing {"connection_id":205443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:07:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532380928001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791142414000,"timestamp_ms":1791142414000,"timestamp_seconds":1791142414,"priority":1,"record_length":96,"hex_timestamp":"000001a1086846b0"} 
[2026-10-05 01:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:07:06] 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-10-05 01:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 01:07:06] 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-10-05 01:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:07:06] 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-10-05 01:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532380928001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532380928001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:07:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:07:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532380928001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":205443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:07:06] local.INFO: GPS data processed {"connection_id":205443,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:07:06] local.INFO: Acknowledgment sent {"connection_id":205443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:07:33] local.INFO: TCP Data received {"connection_id":203996,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:07:33] local.INFO: Processing buffer {"connection_id":203996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:07:33] local.INFO: Packet analysis {"connection_id":203996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:07:33] local.INFO: Extracted packet for processing {"connection_id":203996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532385024001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:07: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-10-05 01:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791142430000,"timestamp_ms":1791142430000,"timestamp_seconds":1791142430,"priority":1,"record_length":96,"hex_timestamp":"000001a108688530"} 
[2026-10-05 01:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:07:33] 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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:07:33] 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-10-05 01:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532385024001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532385024001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:07:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532385024001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":203996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:07:33] local.INFO: GPS data processed {"connection_id":203996,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:07:33] local.INFO: Acknowledgment sent {"connection_id":203996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:07:38] local.INFO: TCP Data received {"connection_id":205443,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1086846b0012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086846b0012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:07:38] local.INFO: Processing buffer {"connection_id":205443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086846b0012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:07:38] local.INFO: Packet analysis {"connection_id":205443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:07:38] local.INFO: Extracted packet for processing {"connection_id":205443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:07:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532380928001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791142414000,"timestamp_ms":1791142414000,"timestamp_seconds":1791142414,"priority":1,"record_length":96,"hex_timestamp":"000001a1086846b0"} 
[2026-10-05 01:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:07:38] 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-10-05 01:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 01:07:38] 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-10-05 01:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:07:38] 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-10-05 01:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532380928001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532380928001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:07:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:07:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532380928001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":205443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:07:38] local.INFO: GPS data processed {"connection_id":205443,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:07:38] local.INFO: Acknowledgment sent {"connection_id":205443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:07:49] local.INFO: TCP Data received {"connection_id":203907,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:07:49] local.INFO: Processing buffer {"connection_id":203907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:07:49] local.INFO: IMEI packet received {"connection_id":203907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 01:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":203907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:08:01] local.INFO: TCP Data received {"connection_id":205444,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:08:01] local.INFO: Processing buffer {"connection_id":205444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:08:01] local.INFO: IMEI packet received {"connection_id":205444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":205444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:08:05] local.INFO: TCP Data received {"connection_id":205445,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:08:05] local.INFO: Processing buffer {"connection_id":205445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:08:05] local.INFO: IMEI packet received {"connection_id":205445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":205445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:08:06] local.INFO: TCP Data received {"connection_id":205444,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:08:06] local.INFO: Processing buffer {"connection_id":205444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:08:06] local.INFO: IMEI packet received {"connection_id":205444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":205444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:08:07] local.INFO: TCP Data received {"connection_id":205444,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:08:07] local.INFO: Processing buffer {"connection_id":205444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:08:07] local.INFO: Packet analysis {"connection_id":205444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:08:07] local.INFO: Extracted packet for processing {"connection_id":205444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:08:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532385024001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:08:07] 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-10-05 01:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791142430000,"timestamp_ms":1791142430000,"timestamp_seconds":1791142430,"priority":1,"record_length":96,"hex_timestamp":"000001a108688530"} 
[2026-10-05 01:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:08:07] 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-10-05 01:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:08:07] 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-10-05 01:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532385024001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532385024001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:08:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:08:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532385024001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":205444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:08:07] local.INFO: GPS data processed {"connection_id":205444,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:08:07] local.INFO: Acknowledgment sent {"connection_id":205444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:08:10] local.INFO: TCP Data received {"connection_id":205445,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:08:10] local.INFO: Processing buffer {"connection_id":205445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:08:10] local.INFO: IMEI packet received {"connection_id":205445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":205445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:08:11] local.INFO: TCP Data received {"connection_id":205445,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1086846b0012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086846b0012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:08:11] local.INFO: Processing buffer {"connection_id":205445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086846b0012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:08:11] local.INFO: Packet analysis {"connection_id":205445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:08:11] local.INFO: Extracted packet for processing {"connection_id":205445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:08:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532380928001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791142414000,"timestamp_ms":1791142414000,"timestamp_seconds":1791142414,"priority":1,"record_length":96,"hex_timestamp":"000001a1086846b0"} 
[2026-10-05 01:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:08:11] 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-10-05 01:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 01:08:11] 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-10-05 01:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:08:11] 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-10-05 01:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532380928001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532380928001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:08:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:08:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532380928001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":205445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:08:11] local.INFO: GPS data processed {"connection_id":205445,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:08:11] local.INFO: Acknowledgment sent {"connection_id":205445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:08:12] local.INFO: TCP Data received {"connection_id":205444,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:08:12] local.INFO: Processing buffer {"connection_id":205444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:08:12] local.INFO: Packet analysis {"connection_id":205444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:08:12] local.INFO: Extracted packet for processing {"connection_id":205444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:08:12] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:08: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-10-05 01:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532385024001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:08:12] 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-10-05 01:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791142430000,"timestamp_ms":1791142430000,"timestamp_seconds":1791142430,"priority":1,"record_length":96,"hex_timestamp":"000001a108688530"} 
[2026-10-05 01:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:08:12] 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-10-05 01:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:08:12] 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-10-05 01:08: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-10-05 01:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":205444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":205444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":205444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:08:12] 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-10-05 01:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532385024001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532385024001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:08:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:08:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532385024001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":205444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:08:12] local.INFO: GPS data processed {"connection_id":205444,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:08:12] local.INFO: Acknowledgment sent {"connection_id":205444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:08:42] local.INFO: TCP Data received {"connection_id":205445,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:08:42] local.INFO: Processing buffer {"connection_id":205445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:08:42] local.INFO: Packet analysis {"connection_id":205445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1086c"} 
[2026-10-05 01:08:42] local.INFO: Extracted packet for processing {"connection_id":205445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1086c"} 
[2026-10-05 01:08:42] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532457984001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791142715000,"timestamp_ms":1791142715000,"timestamp_seconds":1791142715,"priority":1,"record_length":96,"hex_timestamp":"000001a1086cde78"} 
[2026-10-05 01:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:08:42] 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-10-05 01: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:08: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-10-05 01:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":205445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":205445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":205445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:08:42] 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-10-05 01:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532457984001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532457984001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:08:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:08:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532457984001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":205445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:08:42] local.INFO: GPS data processed {"connection_id":205445,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:08:42] local.INFO: Acknowledgment sent {"connection_id":205445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:08:56] local.INFO: TCP Data received {"connection_id":203909,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:08:56] local.INFO: Processing buffer {"connection_id":203909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:08:56] local.INFO: IMEI packet received {"connection_id":203909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":203909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:09:00] local.INFO: TCP Data received {"connection_id":203910,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:09:00] local.INFO: Processing buffer {"connection_id":203910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:09:00] local.INFO: IMEI packet received {"connection_id":203910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":203910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:09:01] local.INFO: TCP Data received {"connection_id":203909,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:09:01] local.INFO: Processing buffer {"connection_id":203909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:09:01] local.INFO: IMEI packet received {"connection_id":203909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":203909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:09:02] local.INFO: TCP Data received {"connection_id":203909,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:09:02] local.INFO: Processing buffer {"connection_id":203909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108688530012d7f91c005afd9f00014010120..."} 
[2026-10-05 01:09:02] local.INFO: Packet analysis {"connection_id":203909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:09:02] local.INFO: Extracted packet for processing {"connection_id":203909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10868"} 
[2026-10-05 01:09:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532385024001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:09:02] 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-10-05 01:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791142430000,"timestamp_ms":1791142430000,"timestamp_seconds":1791142430,"priority":1,"record_length":96,"hex_timestamp":"000001a108688530"} 
[2026-10-05 01:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:09: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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:09:02] 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-10-05 01: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-10-05 01:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:09:02] 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-10-05 01:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532385024001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532385024001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:09:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:09:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532385024001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":203909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:09:02] local.INFO: GPS data processed {"connection_id":203909,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:09:02] local.INFO: Acknowledgment sent {"connection_id":203909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:09:05] local.INFO: TCP Data received {"connection_id":203910,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:09:05] local.INFO: Processing buffer {"connection_id":203910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:09:05] local.INFO: IMEI packet received {"connection_id":203910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":203910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:09:06] local.INFO: TCP Data received {"connection_id":203910,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:09:06] local.INFO: Processing buffer {"connection_id":203910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:09:06] local.INFO: Packet analysis {"connection_id":203910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1086c"} 
[2026-10-05 01:09:06] local.INFO: Extracted packet for processing {"connection_id":203910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1086c"} 
[2026-10-05 01:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 01:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532457984001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791142715000,"timestamp_ms":1791142715000,"timestamp_seconds":1791142715,"priority":1,"record_length":96,"hex_timestamp":"000001a1086cde78"} 
[2026-10-05 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-10-05 01:09:06] 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-10-05 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:09:06] 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-10-05 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-10-05 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-10-05 01:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:09:06] 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-10-05 01:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532457984001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532457984001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:09:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:09:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532457984001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":203910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:09:07] local.INFO: GPS data processed {"connection_id":203910,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:09:07] local.INFO: Acknowledgment sent {"connection_id":203910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:09:33] local.INFO: TCP Data received {"connection_id":203909,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:09:33] local.INFO: Processing buffer {"connection_id":203909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:09:33] local.INFO: Packet analysis {"connection_id":203909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1086d"} 
[2026-10-05 01:09:33] local.INFO: Extracted packet for processing {"connection_id":203909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1086d"} 
[2026-10-05 01:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532462080001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:09: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-10-05 01:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791142731000,"timestamp_ms":1791142731000,"timestamp_seconds":1791142731,"priority":1,"record_length":96,"hex_timestamp":"000001a1086d1cf8"} 
[2026-10-05 01:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:09:33] 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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:09:33] 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-10-05 01:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532462080001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532462080001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:09:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:09:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532462080001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":203909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:09:33] local.INFO: GPS data processed {"connection_id":203909,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:09:33] local.INFO: Acknowledgment sent {"connection_id":203909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:09:38] local.INFO: TCP Data received {"connection_id":203910,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:09:38] local.INFO: Processing buffer {"connection_id":203910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:09:38] local.INFO: Packet analysis {"connection_id":203910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1086c"} 
[2026-10-05 01:09:38] local.INFO: Extracted packet for processing {"connection_id":203910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1086c"} 
[2026-10-05 01:09:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532457984001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791142715000,"timestamp_ms":1791142715000,"timestamp_seconds":1791142715,"priority":1,"record_length":96,"hex_timestamp":"000001a1086cde78"} 
[2026-10-05 01:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:09:38] 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-10-05 01:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:09: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-10-05 01:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:09:38] 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-10-05 01:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532457984001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532457984001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:09:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:09:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532457984001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":203910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:09:38] local.INFO: GPS data processed {"connection_id":203910,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:09:38] local.INFO: Acknowledgment sent {"connection_id":203910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:09:57] local.INFO: TCP Data received {"connection_id":203911,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:09:57] local.INFO: Processing buffer {"connection_id":203911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:09:57] local.INFO: IMEI packet received {"connection_id":203911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":203911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:10:00] local.INFO: TCP Data received {"connection_id":207010,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207010,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:10:00] local.INFO: Processing buffer {"connection_id":207010,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:10:00] local.INFO: IMEI packet received {"connection_id":207010,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":207010,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:10:01] local.INFO: TCP Data received {"connection_id":203911,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:10:01] local.INFO: Processing buffer {"connection_id":203911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:10:01] local.INFO: IMEI packet received {"connection_id":203911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":203911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:10:02] local.INFO: TCP Data received {"connection_id":203911,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:10:02] local.INFO: Processing buffer {"connection_id":203911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:10:02] local.INFO: Packet analysis {"connection_id":203911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1086d"} 
[2026-10-05 01:10:02] local.INFO: Extracted packet for processing {"connection_id":203911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1086d"} 
[2026-10-05 01:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532462080001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:10: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-10-05 01:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791142731000,"timestamp_ms":1791142731000,"timestamp_seconds":1791142731,"priority":1,"record_length":96,"hex_timestamp":"000001a1086d1cf8"} 
[2026-10-05 01:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:10: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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:10:02] 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-10-05 01: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-10-05 01:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:10:02] 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-10-05 01:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532462080001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532462080001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:10:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:10:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532462080001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":203911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:10:02] local.INFO: GPS data processed {"connection_id":203911,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:10:02] local.INFO: Acknowledgment sent {"connection_id":203911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:10:05] local.INFO: TCP Data received {"connection_id":207010,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207010,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:10:05] local.INFO: Processing buffer {"connection_id":207010,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:10:05] local.INFO: IMEI packet received {"connection_id":207010,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":207010,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:10:06] local.INFO: TCP Data received {"connection_id":207010,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:10:06] local.INFO: Processing buffer {"connection_id":207010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:10:06] local.INFO: Packet analysis {"connection_id":207010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1086c"} 
[2026-10-05 01:10:06] local.INFO: Extracted packet for processing {"connection_id":207010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1086c"} 
[2026-10-05 01:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532457984001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791142715000,"timestamp_ms":1791142715000,"timestamp_seconds":1791142715,"priority":1,"record_length":96,"hex_timestamp":"000001a1086cde78"} 
[2026-10-05 01:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:10:06] 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-10-05 01: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:10:06] 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-10-05 01:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:10:06] 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-10-05 01:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532457984001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532457984001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:10:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:10:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532457984001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":207010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:10:06] local.INFO: GPS data processed {"connection_id":207010,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:10:06] local.INFO: Acknowledgment sent {"connection_id":207010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:10:33] local.INFO: TCP Data received {"connection_id":203911,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:10:33] local.INFO: Processing buffer {"connection_id":203911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:10:33] local.INFO: Packet analysis {"connection_id":203911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1086d"} 
[2026-10-05 01:10:33] local.INFO: Extracted packet for processing {"connection_id":203911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1086d"} 
[2026-10-05 01:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532462080001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:10: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-10-05 01:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791142731000,"timestamp_ms":1791142731000,"timestamp_seconds":1791142731,"priority":1,"record_length":96,"hex_timestamp":"000001a1086d1cf8"} 
[2026-10-05 01:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:10:33] 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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:10:33] 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-10-05 01:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532462080001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532462080001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:10:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:10:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532462080001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":203911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:10:33] local.INFO: GPS data processed {"connection_id":203911,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:10:33] local.INFO: Acknowledgment sent {"connection_id":203911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:10:37] local.INFO: TCP Data received {"connection_id":207010,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:10:37] local.INFO: Processing buffer {"connection_id":207010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:10:37] local.INFO: Packet analysis {"connection_id":207010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1086c"} 
[2026-10-05 01:10:37] local.INFO: Extracted packet for processing {"connection_id":207010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1086c"} 
[2026-10-05 01:10:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532457984001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791142715000,"timestamp_ms":1791142715000,"timestamp_seconds":1791142715,"priority":1,"record_length":96,"hex_timestamp":"000001a1086cde78"} 
[2026-10-05 01:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:10:37] 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-10-05 01:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:10:37] 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-10-05 01:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:10:37] 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-10-05 01:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532457984001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532457984001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:10:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:10:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532457984001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":207010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:10:37] local.INFO: GPS data processed {"connection_id":207010,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:10:37] local.INFO: Acknowledgment sent {"connection_id":207010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:10:56] local.INFO: TCP Data received {"connection_id":203912,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:10:56] local.INFO: Processing buffer {"connection_id":203912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:10:56] local.INFO: IMEI packet received {"connection_id":203912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":203912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:11:01] local.INFO: TCP Data received {"connection_id":203912,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:11:01] local.INFO: Processing buffer {"connection_id":203912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:11:01] local.INFO: IMEI packet received {"connection_id":203912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":203912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:11:02] local.INFO: TCP Data received {"connection_id":203912,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:11:02] local.INFO: Processing buffer {"connection_id":203912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:11:02] local.INFO: Packet analysis {"connection_id":203912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1086d"} 
[2026-10-05 01:11:02] local.INFO: Extracted packet for processing {"connection_id":203912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1086d"} 
[2026-10-05 01:11:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532462080001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:11: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-10-05 01:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791142731000,"timestamp_ms":1791142731000,"timestamp_seconds":1791142731,"priority":1,"record_length":96,"hex_timestamp":"000001a1086d1cf8"} 
[2026-10-05 01:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:11: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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:11:02] 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-10-05 01: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-10-05 01:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532462080001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532462080001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:11:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:11:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532462080001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":203912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:11:02] local.INFO: GPS data processed {"connection_id":203912,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:11:02] local.INFO: Acknowledgment sent {"connection_id":203912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:11:05] local.INFO: TCP Data received {"connection_id":207011,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:11:05] local.INFO: Processing buffer {"connection_id":207011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:11:05] local.INFO: IMEI packet received {"connection_id":207011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":207011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:11:10] local.INFO: TCP Data received {"connection_id":207011,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:11:10] local.INFO: Processing buffer {"connection_id":207011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:11:10] local.INFO: IMEI packet received {"connection_id":207011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":207011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:11:12] local.INFO: TCP Data received {"connection_id":207011,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:11:12] local.INFO: Processing buffer {"connection_id":207011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:11:12] local.INFO: Packet analysis {"connection_id":207011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1086c"} 
[2026-10-05 01:11:12] local.INFO: Extracted packet for processing {"connection_id":207011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1086c"} 
[2026-10-05 01:11:12] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532457984001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791142715000,"timestamp_ms":1791142715000,"timestamp_seconds":1791142715,"priority":1,"record_length":96,"hex_timestamp":"000001a1086cde78"} 
[2026-10-05 01:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:11:12] 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-10-05 01: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:11:12] 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-10-05 01:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":207011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":207011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":207011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:11:12] 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-10-05 01:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532457984001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532457984001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:11:12] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:11:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532457984001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":207011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:11:12] local.INFO: GPS data processed {"connection_id":207011,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:11:12] local.INFO: Acknowledgment sent {"connection_id":207011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:11:16] local.INFO: TCP Data received {"connection_id":207011,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:11:16] local.INFO: Processing buffer {"connection_id":207011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:11:16] local.INFO: Packet analysis {"connection_id":207011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1086c"} 
[2026-10-05 01:11:16] local.INFO: Extracted packet for processing {"connection_id":207011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1086c"} 
[2026-10-05 01:11:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532457984001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791142715000,"timestamp_ms":1791142715000,"timestamp_seconds":1791142715,"priority":1,"record_length":96,"hex_timestamp":"000001a1086cde78"} 
[2026-10-05 01:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:11:16] 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-10-05 01:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:11:16] 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-10-05 01:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532457984001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532457984001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:11:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:11:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532457984001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":207011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:11:16] local.INFO: GPS data processed {"connection_id":207011,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:11:16] local.INFO: Acknowledgment sent {"connection_id":207011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:11:33] local.INFO: TCP Data received {"connection_id":203912,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:11:33] local.INFO: Processing buffer {"connection_id":203912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:11:33] local.INFO: Packet analysis {"connection_id":203912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1086d"} 
[2026-10-05 01:11:33] local.INFO: Extracted packet for processing {"connection_id":203912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1086d"} 
[2026-10-05 01:11:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532462080001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:11: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-10-05 01:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791142731000,"timestamp_ms":1791142731000,"timestamp_seconds":1791142731,"priority":1,"record_length":96,"hex_timestamp":"000001a1086d1cf8"} 
[2026-10-05 01:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:11:33] 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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:11: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-10-05 01:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532462080001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532462080001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:11:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:11:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532462080001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":203912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:11:33] local.INFO: GPS data processed {"connection_id":203912,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:11:33] local.INFO: Acknowledgment sent {"connection_id":203912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:11:56] local.INFO: TCP Data received {"connection_id":205446,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:11:56] local.INFO: Processing buffer {"connection_id":205446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:11:56] local.INFO: IMEI packet received {"connection_id":205446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":205446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:12:00] local.INFO: TCP Data received {"connection_id":205447,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:12:00] local.INFO: Processing buffer {"connection_id":205447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:12:00] local.INFO: IMEI packet received {"connection_id":205447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":205447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:12:01] local.INFO: TCP Data received {"connection_id":205446,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:12:01] local.INFO: Processing buffer {"connection_id":205446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:12:01] local.INFO: IMEI packet received {"connection_id":205446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":205446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:12:02] local.INFO: TCP Data received {"connection_id":205446,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:12:02] local.INFO: Processing buffer {"connection_id":205446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:12:02] local.INFO: Packet analysis {"connection_id":205446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1086d"} 
[2026-10-05 01:12:02] local.INFO: Extracted packet for processing {"connection_id":205446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1086d"} 
[2026-10-05 01:12:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532462080001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:12: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-10-05 01:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791142731000,"timestamp_ms":1791142731000,"timestamp_seconds":1791142731,"priority":1,"record_length":96,"hex_timestamp":"000001a1086d1cf8"} 
[2026-10-05 01:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:12: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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:12:02] 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-10-05 01: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-10-05 01:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532462080001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532462080001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:12:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:12:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532462080001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":205446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:12:02] local.INFO: GPS data processed {"connection_id":205446,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:12:02] local.INFO: Acknowledgment sent {"connection_id":205446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:12:05] local.INFO: TCP Data received {"connection_id":205447,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:12:05] local.INFO: Processing buffer {"connection_id":205447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:12:05] local.INFO: IMEI packet received {"connection_id":205447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":205447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:12:06] local.INFO: TCP Data received {"connection_id":205447,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:12:06] local.INFO: Processing buffer {"connection_id":205447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:12:06] local.INFO: Packet analysis {"connection_id":205447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1086c"} 
[2026-10-05 01:12:06] local.INFO: Extracted packet for processing {"connection_id":205447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1086c"} 
[2026-10-05 01:12:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532457984001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791142715000,"timestamp_ms":1791142715000,"timestamp_seconds":1791142715,"priority":1,"record_length":96,"hex_timestamp":"000001a1086cde78"} 
[2026-10-05 01:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:12:06] 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-10-05 01: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:12:06] 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-10-05 01: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-10-05 01:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:12:06] 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-10-05 01:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532457984001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532457984001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:12:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:12:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532457984001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":205447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:12:06] local.INFO: GPS data processed {"connection_id":205447,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:12:06] local.INFO: Acknowledgment sent {"connection_id":205447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:12:33] local.INFO: TCP Data received {"connection_id":205446,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:12:33] local.INFO: Processing buffer {"connection_id":205446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:12:33] local.INFO: Packet analysis {"connection_id":205446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1086d"} 
[2026-10-05 01:12:33] local.INFO: Extracted packet for processing {"connection_id":205446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1086d"} 
[2026-10-05 01:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532462080001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:12: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-10-05 01:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791142731000,"timestamp_ms":1791142731000,"timestamp_seconds":1791142731,"priority":1,"record_length":96,"hex_timestamp":"000001a1086d1cf8"} 
[2026-10-05 01:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:12:33] 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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532462080001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532462080001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:12:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:12:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532462080001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":205446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:12:33] local.INFO: GPS data processed {"connection_id":205446,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:12:33] local.INFO: Acknowledgment sent {"connection_id":205446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:12:38] local.INFO: TCP Data received {"connection_id":205447,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:12:38] local.INFO: Processing buffer {"connection_id":205447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:12:38] local.INFO: Packet analysis {"connection_id":205447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1086c"} 
[2026-10-05 01:12:38] local.INFO: Extracted packet for processing {"connection_id":205447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1086c"} 
[2026-10-05 01:12:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532457984001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791142715000,"timestamp_ms":1791142715000,"timestamp_seconds":1791142715,"priority":1,"record_length":96,"hex_timestamp":"000001a1086cde78"} 
[2026-10-05 01:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:12:38] 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-10-05 01: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:12: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-10-05 01: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-10-05 01:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:12:38] 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-10-05 01:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532457984001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532457984001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:12:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:12:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532457984001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":205447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:12:38] local.INFO: GPS data processed {"connection_id":205447,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:12:38] local.INFO: Acknowledgment sent {"connection_id":205447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:13:01] local.INFO: TCP Data received {"connection_id":204001,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:13:01] local.INFO: Processing buffer {"connection_id":204001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:13:01] local.INFO: IMEI packet received {"connection_id":204001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":204001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:13:01] local.INFO: TCP Data received {"connection_id":204000,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:13:01] local.INFO: Processing buffer {"connection_id":204000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:13:01] local.INFO: IMEI packet received {"connection_id":204000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":204000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:13:05] local.INFO: TCP Data received {"connection_id":204001,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:13:05] local.INFO: Processing buffer {"connection_id":204001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:13:05] local.INFO: IMEI packet received {"connection_id":204001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":204001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:13:06] local.INFO: TCP Data received {"connection_id":204001,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:13:06] local.INFO: Processing buffer {"connection_id":204001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:13:06] local.INFO: Packet analysis {"connection_id":204001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1086c"} 
[2026-10-05 01:13:06] local.INFO: Extracted packet for processing {"connection_id":204001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1086c"} 
[2026-10-05 01:13:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532457984001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791142715000,"timestamp_ms":1791142715000,"timestamp_seconds":1791142715,"priority":1,"record_length":96,"hex_timestamp":"000001a1086cde78"} 
[2026-10-05 01:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:13:06] 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-10-05 01: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:13:06] 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-10-05 01:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:13:06] 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-10-05 01:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532457984001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532457984001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:13:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:13:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532457984001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":204001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964466,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:13:06] local.INFO: GPS data processed {"connection_id":204001,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:13:06] local.INFO: Acknowledgment sent {"connection_id":204001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:13:06] local.INFO: TCP Data received {"connection_id":204000,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:13:06] local.INFO: Processing buffer {"connection_id":204000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:13:06] local.INFO: IMEI packet received {"connection_id":204000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":204000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:13:07] local.INFO: TCP Data received {"connection_id":204000,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:13:07] local.INFO: Processing buffer {"connection_id":204000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:13:07] local.INFO: Packet analysis {"connection_id":204000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1086d"} 
[2026-10-05 01:13:07] local.INFO: Extracted packet for processing {"connection_id":204000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1086d"} 
[2026-10-05 01:13:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532462080001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:13: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-10-05 01:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791142731000,"timestamp_ms":1791142731000,"timestamp_seconds":1791142731,"priority":1,"record_length":96,"hex_timestamp":"000001a1086d1cf8"} 
[2026-10-05 01:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:13:07] 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-10-05 01:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:13: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-10-05 01:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532462080001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532462080001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:13:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:13:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532462080001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":204000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:13:07] local.INFO: GPS data processed {"connection_id":204000,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:13:07] local.INFO: Acknowledgment sent {"connection_id":204000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:13:12] local.INFO: TCP Data received {"connection_id":204000,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:13:12] local.INFO: Processing buffer {"connection_id":204000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:13:12] local.INFO: Packet analysis {"connection_id":204000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1086d"} 
[2026-10-05 01:13:12] local.INFO: Extracted packet for processing {"connection_id":204000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1086d"} 
[2026-10-05 01:13:12] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532462080001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791142731000,"timestamp_ms":1791142731000,"timestamp_seconds":1791142731,"priority":1,"record_length":96,"hex_timestamp":"000001a1086d1cf8"} 
[2026-10-05 01:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:13:12] 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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:13:12] 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-10-05 01: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-10-05 01:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532462080001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532462080001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:13:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:13:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532462080001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":204000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:13:12] local.INFO: GPS data processed {"connection_id":204000,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:13:12] local.INFO: Acknowledgment sent {"connection_id":204000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:13:19] local.INFO: TCP Data received {"connection_id":203913,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:13:19] local.INFO: Processing buffer {"connection_id":203913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:13:19] local.INFO: IMEI packet received {"connection_id":203913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 01:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":203913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:13:37] local.INFO: TCP Data received {"connection_id":204001,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:13:37] local.INFO: Processing buffer {"connection_id":204001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086cde78012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:13:37] local.INFO: Packet analysis {"connection_id":204001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1086c"} 
[2026-10-05 01:13:37] local.INFO: Extracted packet for processing {"connection_id":204001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1086c"} 
[2026-10-05 01:13:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532457984001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791142715000,"timestamp_ms":1791142715000,"timestamp_seconds":1791142715,"priority":1,"record_length":96,"hex_timestamp":"000001a1086cde78"} 
[2026-10-05 01:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:13:37] 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-10-05 01: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:13:37] 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-10-05 01:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:13:37] 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-10-05 01:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532457984001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532457984001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:13:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:13:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532457984001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":204001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:13:37] local.INFO: GPS data processed {"connection_id":204001,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:13:37] local.INFO: Acknowledgment sent {"connection_id":204001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:13:49] local.INFO: TCP Data received {"connection_id":203914,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:13:49] local.INFO: Processing buffer {"connection_id":203914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:13:49] local.INFO: IMEI packet received {"connection_id":203914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 01:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":203914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:13:56] local.INFO: TCP Data received {"connection_id":207012,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:13:56] local.INFO: Processing buffer {"connection_id":207012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:13:56] local.INFO: IMEI packet received {"connection_id":207012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":207012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:14:00] local.INFO: TCP Data received {"connection_id":203915,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:14:00] local.INFO: Processing buffer {"connection_id":203915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:14:00] local.INFO: IMEI packet received {"connection_id":203915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":203915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:14:01] local.INFO: TCP Data received {"connection_id":207012,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:14:01] local.INFO: Processing buffer {"connection_id":207012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:14:01] local.INFO: IMEI packet received {"connection_id":207012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":207012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:14:02] local.INFO: TCP Data received {"connection_id":207012,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:14:02] local.INFO: Processing buffer {"connection_id":207012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1086d1cf8012d7f91c005afd9f00014010122..."} 
[2026-10-05 01:14:02] local.INFO: Packet analysis {"connection_id":207012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1086d"} 
[2026-10-05 01:14:02] local.INFO: Extracted packet for processing {"connection_id":207012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1086d"} 
[2026-10-05 01:14:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532462080001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:14: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-10-05 01:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791142731000,"timestamp_ms":1791142731000,"timestamp_seconds":1791142731,"priority":1,"record_length":96,"hex_timestamp":"000001a1086d1cf8"} 
[2026-10-05 01:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:14: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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:14:02] 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-10-05 01: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-10-05 01:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532462080001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532462080001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:14:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:14:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532462080001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":207012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:14:02] local.INFO: GPS data processed {"connection_id":207012,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:14:02] local.INFO: Acknowledgment sent {"connection_id":207012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:14:05] local.INFO: TCP Data received {"connection_id":203915,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:14:05] local.INFO: Processing buffer {"connection_id":203915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:14:05] local.INFO: IMEI packet received {"connection_id":203915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":203915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:14:06] local.INFO: TCP Data received {"connection_id":203915,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:14:06] local.INFO: Processing buffer {"connection_id":203915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:14:06] local.INFO: Packet analysis {"connection_id":203915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:14:06] local.INFO: Extracted packet for processing {"connection_id":203915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:14:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 01:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532535040001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791143016000,"timestamp_ms":1791143016000,"timestamp_seconds":1791143016,"priority":1,"record_length":96,"hex_timestamp":"000001a108717640"} 
[2026-10-05 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-10-05 01:14:06] 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-10-05 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:14:06] 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-10-05 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-10-05 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-10-05 01:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:14:06] 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-10-05 01:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532535040001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532535040001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:14:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:14:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532535040001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":203915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:14:06] local.INFO: GPS data processed {"connection_id":203915,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:14:06] local.INFO: Acknowledgment sent {"connection_id":203915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:14:33] local.INFO: TCP Data received {"connection_id":207012,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:14:33] local.INFO: Processing buffer {"connection_id":207012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:14:33] local.INFO: Packet analysis {"connection_id":207012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:14:33] local.INFO: Extracted packet for processing {"connection_id":207012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532539136001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01: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-10-05 01:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791143032000,"timestamp_ms":1791143032000,"timestamp_seconds":1791143032,"priority":1,"record_length":96,"hex_timestamp":"000001a10871b4c0"} 
[2026-10-05 01:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:14: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-10-05 01:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532539136001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532539136001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:14:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:14:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532539136001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":207012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:14:33] local.INFO: GPS data processed {"connection_id":207012,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:14:33] local.INFO: Acknowledgment sent {"connection_id":207012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:14:38] local.INFO: TCP Data received {"connection_id":203915,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:14:38] local.INFO: Processing buffer {"connection_id":203915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:14:38] local.INFO: Packet analysis {"connection_id":203915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:14:38] local.INFO: Extracted packet for processing {"connection_id":203915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:14:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532535040001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791143016000,"timestamp_ms":1791143016000,"timestamp_seconds":1791143016,"priority":1,"record_length":96,"hex_timestamp":"000001a108717640"} 
[2026-10-05 01:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:14:38] 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-10-05 01: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:14: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-10-05 01: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-10-05 01:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:14:38] 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-10-05 01:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532535040001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532535040001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:14:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:14:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532535040001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":203915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:14:38] local.INFO: GPS data processed {"connection_id":203915,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:14:38] local.INFO: Acknowledgment sent {"connection_id":203915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:14:57] local.INFO: TCP Data received {"connection_id":207013,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:14:57] local.INFO: Processing buffer {"connection_id":207013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:14:57] local.INFO: IMEI packet received {"connection_id":207013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":207013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:15:01] local.INFO: TCP Data received {"connection_id":207013,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:15:01] local.INFO: Processing buffer {"connection_id":207013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:15:01] local.INFO: IMEI packet received {"connection_id":207013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":207013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:15:02] local.INFO: TCP Data received {"connection_id":207013,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:15:02] local.INFO: Processing buffer {"connection_id":207013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:15:02] local.INFO: Packet analysis {"connection_id":207013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:15:02] local.INFO: Extracted packet for processing {"connection_id":207013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:15:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532539136001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:15: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-10-05 01:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791143032000,"timestamp_ms":1791143032000,"timestamp_seconds":1791143032,"priority":1,"record_length":96,"hex_timestamp":"000001a10871b4c0"} 
[2026-10-05 01:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:15:02] 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-10-05 01: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-10-05 01:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532539136001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 01:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532539136001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:15:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:15:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532539136001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":207013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:15:02] local.INFO: GPS data processed {"connection_id":207013,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:15:02] local.INFO: Acknowledgment sent {"connection_id":207013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:15:05] local.INFO: TCP Data received {"connection_id":203917,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203917,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:15:05] local.INFO: Processing buffer {"connection_id":203917,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:15:05] local.INFO: IMEI packet received {"connection_id":203917,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":203917,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:15:10] local.INFO: TCP Data received {"connection_id":203917,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203917,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:15:10] local.INFO: Processing buffer {"connection_id":203917,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:15:10] local.INFO: IMEI packet received {"connection_id":203917,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":203917,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:15:11] local.INFO: TCP Data received {"connection_id":203917,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:15:11] local.INFO: Processing buffer {"connection_id":203917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:15:11] local.INFO: Packet analysis {"connection_id":203917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:15:11] local.INFO: Extracted packet for processing {"connection_id":203917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:15:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532535040001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791143016000,"timestamp_ms":1791143016000,"timestamp_seconds":1791143016,"priority":1,"record_length":96,"hex_timestamp":"000001a108717640"} 
[2026-10-05 01:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:15:11] 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-10-05 01:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:15:11] 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-10-05 01:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":203917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":203917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":203917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:15:11] 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-10-05 01:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532535040001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532535040001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:15:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532535040001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":203917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:15:11] local.INFO: GPS data processed {"connection_id":203917,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:15:11] local.INFO: Acknowledgment sent {"connection_id":203917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:15:16] local.INFO: TCP Data received {"connection_id":203917,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:15:16] local.INFO: Processing buffer {"connection_id":203917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:15:16] local.INFO: Packet analysis {"connection_id":203917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:15:16] local.INFO: Extracted packet for processing {"connection_id":203917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:15:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532535040001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791143016000,"timestamp_ms":1791143016000,"timestamp_seconds":1791143016,"priority":1,"record_length":96,"hex_timestamp":"000001a108717640"} 
[2026-10-05 01:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:15:16] 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-10-05 01:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":203917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":203917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":203917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:15:16] 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-10-05 01:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532535040001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532535040001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:15:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:15:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532535040001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":203917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:15:16] local.INFO: GPS data processed {"connection_id":203917,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:15:16] local.INFO: Acknowledgment sent {"connection_id":203917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:15:33] local.INFO: TCP Data received {"connection_id":207013,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:15:33] local.INFO: Processing buffer {"connection_id":207013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:15:33] local.INFO: Packet analysis {"connection_id":207013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:15:33] local.INFO: Extracted packet for processing {"connection_id":207013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:15: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-10-05 01:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532539136001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:15: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-10-05 01:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791143032000,"timestamp_ms":1791143032000,"timestamp_seconds":1791143032,"priority":1,"record_length":96,"hex_timestamp":"000001a10871b4c0"} 
[2026-10-05 01:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:15: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-10-05 01:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532539136001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 01:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532539136001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:15:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:15:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532539136001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":207013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:15:33] local.INFO: GPS data processed {"connection_id":207013,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:15:33] local.INFO: Acknowledgment sent {"connection_id":207013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:16:00] local.INFO: TCP Data received {"connection_id":203918,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:16:00] local.INFO: Processing buffer {"connection_id":203918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:16:00] local.INFO: IMEI packet received {"connection_id":203918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":203918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:16:01] local.INFO: TCP Data received {"connection_id":204002,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:16:01] local.INFO: Processing buffer {"connection_id":204002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:16:01] local.INFO: IMEI packet received {"connection_id":204002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":204002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:16:05] local.INFO: TCP Data received {"connection_id":203918,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:16:05] local.INFO: Processing buffer {"connection_id":203918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:16:05] local.INFO: IMEI packet received {"connection_id":203918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":203918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:16:06] local.INFO: TCP Data received {"connection_id":204002,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:16:06] local.INFO: Processing buffer {"connection_id":204002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:16:06] local.INFO: IMEI packet received {"connection_id":204002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":204002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:16:06] local.INFO: TCP Data received {"connection_id":203918,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:16:06] local.INFO: Processing buffer {"connection_id":203918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:16:06] local.INFO: Packet analysis {"connection_id":203918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:16:06] local.INFO: Extracted packet for processing {"connection_id":203918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:16:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532535040001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791143016000,"timestamp_ms":1791143016000,"timestamp_seconds":1791143016,"priority":1,"record_length":96,"hex_timestamp":"000001a108717640"} 
[2026-10-05 01:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:16:06] 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-10-05 01:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:16:06] 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-10-05 01:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:16:06] 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-10-05 01:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532535040001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532535040001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:16:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:16:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532535040001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":203918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964478,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:16:06] local.INFO: GPS data processed {"connection_id":203918,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:16:06] local.INFO: Acknowledgment sent {"connection_id":203918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:16:07] local.INFO: TCP Data received {"connection_id":204002,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:16:07] local.INFO: Processing buffer {"connection_id":204002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:16:07] local.INFO: Packet analysis {"connection_id":204002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:16:07] local.INFO: Extracted packet for processing {"connection_id":204002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:16:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532539136001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:16: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-10-05 01:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791143032000,"timestamp_ms":1791143032000,"timestamp_seconds":1791143032,"priority":1,"record_length":96,"hex_timestamp":"000001a10871b4c0"} 
[2026-10-05 01:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532539136001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 01:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532539136001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:16:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:16:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532539136001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":204002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:16:07] local.INFO: GPS data processed {"connection_id":204002,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:16:07] local.INFO: Acknowledgment sent {"connection_id":204002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:16:38] local.INFO: TCP Data received {"connection_id":203918,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:16:38] local.INFO: Processing buffer {"connection_id":203918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:16:38] local.INFO: Packet analysis {"connection_id":203918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:16:38] local.INFO: Extracted packet for processing {"connection_id":203918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:16:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532535040001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791143016000,"timestamp_ms":1791143016000,"timestamp_seconds":1791143016,"priority":1,"record_length":96,"hex_timestamp":"000001a108717640"} 
[2026-10-05 01:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:16:38] 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-10-05 01: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:16: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-10-05 01: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-10-05 01:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:16:38] 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-10-05 01:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532535040001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532535040001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:16:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:16:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532535040001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":203918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964480,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:16:38] local.INFO: GPS data processed {"connection_id":203918,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:16:38] local.INFO: Acknowledgment sent {"connection_id":203918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:16:38] local.INFO: TCP Data received {"connection_id":204002,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:16:38] local.INFO: Processing buffer {"connection_id":204002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:16:38] local.INFO: Packet analysis {"connection_id":204002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:16:38] local.INFO: Extracted packet for processing {"connection_id":204002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:16:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532539136001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791143032000,"timestamp_ms":1791143032000,"timestamp_seconds":1791143032,"priority":1,"record_length":96,"hex_timestamp":"000001a10871b4c0"} 
[2026-10-05 01:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:16:38] 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-10-05 01: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-10-05 01:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532539136001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 01:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532539136001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:16:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:16:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532539136001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":204002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:16:38] local.INFO: GPS data processed {"connection_id":204002,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:16:38] local.INFO: Acknowledgment sent {"connection_id":204002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:16:56] local.INFO: TCP Data received {"connection_id":207014,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:16:56] local.INFO: Processing buffer {"connection_id":207014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:16:56] local.INFO: IMEI packet received {"connection_id":207014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":207014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:17:00] local.INFO: TCP Data received {"connection_id":207015,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207015,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:17:00] local.INFO: Processing buffer {"connection_id":207015,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:17:00] local.INFO: IMEI packet received {"connection_id":207015,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":207015,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:17:01] local.INFO: TCP Data received {"connection_id":207014,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:17:01] local.INFO: Processing buffer {"connection_id":207014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:17:01] local.INFO: IMEI packet received {"connection_id":207014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":207014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:17:05] local.INFO: TCP Data received {"connection_id":207015,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207015,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:17:05] local.INFO: Processing buffer {"connection_id":207015,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:17:05] local.INFO: IMEI packet received {"connection_id":207015,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":207015,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:17:06] local.INFO: TCP Data received {"connection_id":207015,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:17:06] local.INFO: Processing buffer {"connection_id":207015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:17:06] local.INFO: Packet analysis {"connection_id":207015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:17:06] local.INFO: Extracted packet for processing {"connection_id":207015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:17:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532535040001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791143016000,"timestamp_ms":1791143016000,"timestamp_seconds":1791143016,"priority":1,"record_length":96,"hex_timestamp":"000001a108717640"} 
[2026-10-05 01:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:17:06] 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-10-05 01: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:17:06] 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-10-05 01: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-10-05 01:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:17:06] 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-10-05 01:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532535040001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532535040001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:17:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:17:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532535040001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":207015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964482,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:17:06] local.INFO: GPS data processed {"connection_id":207015,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:17:06] local.INFO: Acknowledgment sent {"connection_id":207015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:17:06] local.INFO: TCP Data received {"connection_id":207014,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:17:06] local.INFO: Processing buffer {"connection_id":207014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:17:06] local.INFO: Packet analysis {"connection_id":207014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:17:06] local.INFO: Extracted packet for processing {"connection_id":207014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:17:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532539136001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01: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-10-05 01:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791143032000,"timestamp_ms":1791143032000,"timestamp_seconds":1791143032,"priority":1,"record_length":96,"hex_timestamp":"000001a10871b4c0"} 
[2026-10-05 01:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532539136001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 01:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532539136001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:17:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:17:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532539136001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":207014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:17:06] local.INFO: GPS data processed {"connection_id":207014,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:17:06] local.INFO: Acknowledgment sent {"connection_id":207014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:17:37] local.INFO: TCP Data received {"connection_id":207014,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:17:37] local.INFO: Processing buffer {"connection_id":207014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:17:37] local.INFO: Packet analysis {"connection_id":207014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:17:37] local.INFO: Extracted packet for processing {"connection_id":207014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:17:37] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532539136001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791143032000,"timestamp_ms":1791143032000,"timestamp_seconds":1791143032,"priority":1,"record_length":96,"hex_timestamp":"000001a10871b4c0"} 
[2026-10-05 01:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:17:37] 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-10-05 01: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-10-05 01:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532539136001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 01:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532539136001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:17:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:17:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532539136001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":207014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:17:37] local.INFO: GPS data processed {"connection_id":207014,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:17:37] local.INFO: Acknowledgment sent {"connection_id":207014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:17:38] local.INFO: TCP Data received {"connection_id":207015,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:17:38] local.INFO: Processing buffer {"connection_id":207015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:17:38] local.INFO: Packet analysis {"connection_id":207015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:17:38] local.INFO: Extracted packet for processing {"connection_id":207015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:17:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532535040001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791143016000,"timestamp_ms":1791143016000,"timestamp_seconds":1791143016,"priority":1,"record_length":96,"hex_timestamp":"000001a108717640"} 
[2026-10-05 01:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:17:38] 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-10-05 01:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:17: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-10-05 01:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:17:38] 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-10-05 01:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532535040001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532535040001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:17:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:17:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532535040001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":207015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964485,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:17:38] local.INFO: GPS data processed {"connection_id":207015,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:17:38] local.INFO: Acknowledgment sent {"connection_id":207015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:17:56] local.INFO: TCP Data received {"connection_id":205450,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:17:56] local.INFO: Processing buffer {"connection_id":205450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:17:56] local.INFO: IMEI packet received {"connection_id":205450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":205450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:18:01] local.INFO: TCP Data received {"connection_id":205451,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:18:01] local.INFO: Processing buffer {"connection_id":205451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:18:01] local.INFO: IMEI packet received {"connection_id":205451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":205451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:18:01] local.INFO: TCP Data received {"connection_id":205450,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:18:01] local.INFO: Processing buffer {"connection_id":205450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:18:01] local.INFO: IMEI packet received {"connection_id":205450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":205450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:18:02] local.INFO: TCP Data received {"connection_id":205450,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:18:02] local.INFO: Processing buffer {"connection_id":205450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:18:02] local.INFO: Packet analysis {"connection_id":205450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:18:02] local.INFO: Extracted packet for processing {"connection_id":205450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:18:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532539136001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:18: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-10-05 01:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791143032000,"timestamp_ms":1791143032000,"timestamp_seconds":1791143032,"priority":1,"record_length":96,"hex_timestamp":"000001a10871b4c0"} 
[2026-10-05 01:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:18:02] 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-10-05 01:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:18: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-10-05 01:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532539136001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532539136001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:18:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:18:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532539136001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":205450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:18:02] local.INFO: GPS data processed {"connection_id":205450,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:18:02] local.INFO: Acknowledgment sent {"connection_id":205450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:18:05] local.INFO: TCP Data received {"connection_id":205451,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:18:05] local.INFO: Processing buffer {"connection_id":205451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:18:05] local.INFO: IMEI packet received {"connection_id":205451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":205451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:18:06] local.INFO: TCP Data received {"connection_id":205451,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:18:06] local.INFO: Processing buffer {"connection_id":205451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:18:06] local.INFO: Packet analysis {"connection_id":205451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:18:06] local.INFO: Extracted packet for processing {"connection_id":205451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:18:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532535040001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791143016000,"timestamp_ms":1791143016000,"timestamp_seconds":1791143016,"priority":1,"record_length":96,"hex_timestamp":"000001a108717640"} 
[2026-10-05 01:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:18:06] 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-10-05 01:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:18:06] 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-10-05 01:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:18:06] 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-10-05 01:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532535040001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532535040001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:18:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:18:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532535040001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":205451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:18:06] local.INFO: GPS data processed {"connection_id":205451,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:18:06] local.INFO: Acknowledgment sent {"connection_id":205451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:18:33] local.INFO: TCP Data received {"connection_id":205450,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:18:33] local.INFO: Processing buffer {"connection_id":205450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:18:33] local.INFO: Packet analysis {"connection_id":205450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:18:33] local.INFO: Extracted packet for processing {"connection_id":205450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:18:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:18: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-10-05 01:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532539136001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:18: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-10-05 01:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791143032000,"timestamp_ms":1791143032000,"timestamp_seconds":1791143032,"priority":1,"record_length":96,"hex_timestamp":"000001a10871b4c0"} 
[2026-10-05 01:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:18: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-10-05 01:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:18: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-10-05 01:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532539136001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532539136001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:18:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:18:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532539136001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":205450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:18:33] local.INFO: GPS data processed {"connection_id":205450,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:18:33] local.INFO: Acknowledgment sent {"connection_id":205450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:18:38] local.INFO: TCP Data received {"connection_id":205451,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:18:38] local.INFO: Processing buffer {"connection_id":205451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108717640012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:18:38] local.INFO: Packet analysis {"connection_id":205451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:18:38] local.INFO: Extracted packet for processing {"connection_id":205451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:18:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532535040001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791143016000,"timestamp_ms":1791143016000,"timestamp_seconds":1791143016,"priority":1,"record_length":96,"hex_timestamp":"000001a108717640"} 
[2026-10-05 01:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:18:38] 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-10-05 01:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:18: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-10-05 01:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:18:38] 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-10-05 01:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532535040001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532535040001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:18:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:18:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532535040001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":205451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964489,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:18:38] local.INFO: GPS data processed {"connection_id":205451,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:18:38] local.INFO: Acknowledgment sent {"connection_id":205451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:18:57] local.INFO: TCP Data received {"connection_id":204003,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:18:57] local.INFO: Processing buffer {"connection_id":204003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:18:57] local.INFO: IMEI packet received {"connection_id":204003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":204003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:19:00] local.INFO: TCP Data received {"connection_id":203920,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:19:00] local.INFO: Processing buffer {"connection_id":203920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:19:00] local.INFO: IMEI packet received {"connection_id":203920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":203920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:19:02] local.INFO: TCP Data received {"connection_id":204003,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:19:02] local.INFO: Processing buffer {"connection_id":204003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:19:02] local.INFO: IMEI packet received {"connection_id":204003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":204003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:19:04] local.INFO: TCP Data received {"connection_id":204003,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:19:04] local.INFO: Processing buffer {"connection_id":204003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10871b4c0012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:19:04] local.INFO: Packet analysis {"connection_id":204003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:19:04] local.INFO: Extracted packet for processing {"connection_id":204003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10871"} 
[2026-10-05 01:19:04] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532539136001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:19: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-10-05 01:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791143032000,"timestamp_ms":1791143032000,"timestamp_seconds":1791143032,"priority":1,"record_length":96,"hex_timestamp":"000001a10871b4c0"} 
[2026-10-05 01:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":204003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":204003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":204003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:19: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-10-05 01:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532539136001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532539136001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:19:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:19:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532539136001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":204003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:19:04] local.INFO: GPS data processed {"connection_id":204003,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:19:04] local.INFO: Acknowledgment sent {"connection_id":204003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:19:05] local.INFO: TCP Data received {"connection_id":203920,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:19:05] local.INFO: Processing buffer {"connection_id":203920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:19:05] local.INFO: IMEI packet received {"connection_id":203920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":203920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:19:06] local.INFO: TCP Data received {"connection_id":203920,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:19:06] local.INFO: Processing buffer {"connection_id":203920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:19:06] local.INFO: Packet analysis {"connection_id":203920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:19:06] local.INFO: Extracted packet for processing {"connection_id":203920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:19:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 01:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532612096001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791143317000,"timestamp_ms":1791143317000,"timestamp_seconds":1791143317,"priority":1,"record_length":96,"hex_timestamp":"000001a108760e08"} 
[2026-10-05 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-10-05 01:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:19:06] 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-10-05 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-10-05 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-10-05 01:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:19:06] 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-10-05 01:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532612096001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532612096001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:19:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:19:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532612096001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":203920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:19:06] local.INFO: GPS data processed {"connection_id":203920,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:19:06] local.INFO: Acknowledgment sent {"connection_id":203920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:19:09] local.INFO: TCP Data received {"connection_id":207016,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:19:09] local.INFO: Processing buffer {"connection_id":207016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:19:09] local.INFO: IMEI packet received {"connection_id":207016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 01:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":207016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:19:35] local.INFO: TCP Data received {"connection_id":204003,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:19:35] local.INFO: Processing buffer {"connection_id":204003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:19:35] local.INFO: Packet analysis {"connection_id":204003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:19:35] local.INFO: Extracted packet for processing {"connection_id":204003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:19:35] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532616192001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:19:35] 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-10-05 01:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791143333000,"timestamp_ms":1791143333000,"timestamp_seconds":1791143333,"priority":1,"record_length":96,"hex_timestamp":"000001a108764c88"} 
[2026-10-05 01:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:19:35] 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-10-05 01:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":204003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":204003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":204003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:19:35] 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-10-05 01:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532616192001,"66":25299,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532616192001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:19:35] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:19:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532616192001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":204003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:19:35] local.INFO: GPS data processed {"connection_id":204003,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:19:35] local.INFO: Acknowledgment sent {"connection_id":204003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:19:37] local.INFO: TCP Data received {"connection_id":203920,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:19:37] local.INFO: Processing buffer {"connection_id":203920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:19:37] local.INFO: Packet analysis {"connection_id":203920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:19:37] local.INFO: Extracted packet for processing {"connection_id":203920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:19:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532612096001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791143317000,"timestamp_ms":1791143317000,"timestamp_seconds":1791143317,"priority":1,"record_length":96,"hex_timestamp":"000001a108760e08"} 
[2026-10-05 01:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:19:37] 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-10-05 01:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:19:37] 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-10-05 01:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532612096001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532612096001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:19:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:19:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532612096001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":203920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964493,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:19:37] local.INFO: GPS data processed {"connection_id":203920,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:19:37] local.INFO: Acknowledgment sent {"connection_id":203920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:19:44] local.INFO: TCP Data received {"connection_id":205452,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205452,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:19:44] local.INFO: Processing buffer {"connection_id":205452,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:19:44] local.INFO: IMEI packet received {"connection_id":205452,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 01:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":205452,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:20:00] local.INFO: TCP Data received {"connection_id":205453,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:20:00] local.INFO: Processing buffer {"connection_id":205453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:20:00] local.INFO: IMEI packet received {"connection_id":205453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":205453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:20:01] local.INFO: TCP Data received {"connection_id":203921,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:20:01] local.INFO: Processing buffer {"connection_id":203921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:20:01] local.INFO: IMEI packet received {"connection_id":203921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":203921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:20:05] local.INFO: TCP Data received {"connection_id":205453,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:20:05] local.INFO: Processing buffer {"connection_id":205453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:20:05] local.INFO: IMEI packet received {"connection_id":205453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":205453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:20:06] local.INFO: TCP Data received {"connection_id":203921,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:20:06] local.INFO: Processing buffer {"connection_id":203921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:20:06] local.INFO: IMEI packet received {"connection_id":203921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":203921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:20:07] local.INFO: TCP Data received {"connection_id":203921,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:20:07] local.INFO: Processing buffer {"connection_id":203921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:20:07] local.INFO: Packet analysis {"connection_id":203921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:20:07] local.INFO: Extracted packet for processing {"connection_id":203921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:20:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532616192001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:20:07] 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-10-05 01:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791143333000,"timestamp_ms":1791143333000,"timestamp_seconds":1791143333,"priority":1,"record_length":96,"hex_timestamp":"000001a108764c88"} 
[2026-10-05 01:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":203921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":203921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":203921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:20:07] 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-10-05 01:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532616192001,"66":25299,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532616192001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:20:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:20:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532616192001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":203921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:20:07] local.INFO: GPS data processed {"connection_id":203921,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:20:07] local.INFO: Acknowledgment sent {"connection_id":203921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:20:10] local.INFO: TCP Data received {"connection_id":205453,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:20:10] local.INFO: Processing buffer {"connection_id":205453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:20:10] local.INFO: IMEI packet received {"connection_id":205453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":205453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:20:11] local.INFO: TCP Data received {"connection_id":205453,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:20:11] local.INFO: Processing buffer {"connection_id":205453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:20:11] local.INFO: Packet analysis {"connection_id":205453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:20:11] local.INFO: Extracted packet for processing {"connection_id":205453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:20:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532612096001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791143317000,"timestamp_ms":1791143317000,"timestamp_seconds":1791143317,"priority":1,"record_length":96,"hex_timestamp":"000001a108760e08"} 
[2026-10-05 01:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:20:11] 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-10-05 01: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-10-05 01:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532612096001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532612096001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:20:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:20:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532612096001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":205453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:20:11] local.INFO: GPS data processed {"connection_id":205453,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:20:11] local.INFO: Acknowledgment sent {"connection_id":205453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:20:12] local.INFO: TCP Data received {"connection_id":203921,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:20:12] local.INFO: Processing buffer {"connection_id":203921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:20:12] local.INFO: Packet analysis {"connection_id":203921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:20:12] local.INFO: Extracted packet for processing {"connection_id":203921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:20:12] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532616192001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:20:12] 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-10-05 01:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791143333000,"timestamp_ms":1791143333000,"timestamp_seconds":1791143333,"priority":1,"record_length":96,"hex_timestamp":"000001a108764c88"} 
[2026-10-05 01:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:20:12] 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-10-05 01:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":203921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":203921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":203921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:20:12] 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-10-05 01:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532616192001,"66":25299,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532616192001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:20:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:20:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532616192001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":203921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:20:12] local.INFO: GPS data processed {"connection_id":203921,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:20:12] local.INFO: Acknowledgment sent {"connection_id":203921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:20:16] local.INFO: TCP Data received {"connection_id":205453,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:20:16] local.INFO: Processing buffer {"connection_id":205453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:20:16] local.INFO: Packet analysis {"connection_id":205453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:20:16] local.INFO: Extracted packet for processing {"connection_id":205453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:20:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532612096001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791143317000,"timestamp_ms":1791143317000,"timestamp_seconds":1791143317,"priority":1,"record_length":96,"hex_timestamp":"000001a108760e08"} 
[2026-10-05 01:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532612096001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532612096001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:20:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:20:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532612096001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":205453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:20:16] local.INFO: GPS data processed {"connection_id":205453,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:20:16] local.INFO: Acknowledgment sent {"connection_id":205453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:20:56] local.INFO: TCP Data received {"connection_id":207018,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:20:56] local.INFO: Processing buffer {"connection_id":207018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:20:56] local.INFO: IMEI packet received {"connection_id":207018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":207018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:21:00] local.INFO: TCP Data received {"connection_id":203922,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:21:00] local.INFO: Processing buffer {"connection_id":203922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:21:00] local.INFO: IMEI packet received {"connection_id":203922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":203922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:21:01] local.INFO: TCP Data received {"connection_id":207018,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:21:01] local.INFO: Processing buffer {"connection_id":207018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:21:01] local.INFO: IMEI packet received {"connection_id":207018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":207018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:21:02] local.INFO: TCP Data received {"connection_id":207018,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:21:02] local.INFO: Processing buffer {"connection_id":207018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:21:02] local.INFO: Packet analysis {"connection_id":207018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:21:02] local.INFO: Extracted packet for processing {"connection_id":207018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:21:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532616192001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:21:02] 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-10-05 01:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791143333000,"timestamp_ms":1791143333000,"timestamp_seconds":1791143333,"priority":1,"record_length":96,"hex_timestamp":"000001a108764c88"} 
[2026-10-05 01:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:21:02] 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-10-05 01: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-10-05 01:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:21:02] 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-10-05 01:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532616192001,"66":25299,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532616192001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:21:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:21:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532616192001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":207018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:21:02] local.INFO: GPS data processed {"connection_id":207018,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:21:02] local.INFO: Acknowledgment sent {"connection_id":207018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:21:05] local.INFO: TCP Data received {"connection_id":203922,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:21:05] local.INFO: Processing buffer {"connection_id":203922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:21:05] local.INFO: IMEI packet received {"connection_id":203922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":203922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:21:06] local.INFO: TCP Data received {"connection_id":203922,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:21:06] local.INFO: Processing buffer {"connection_id":203922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:21:06] local.INFO: Packet analysis {"connection_id":203922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:21:06] local.INFO: Extracted packet for processing {"connection_id":203922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:21:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532612096001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791143317000,"timestamp_ms":1791143317000,"timestamp_seconds":1791143317,"priority":1,"record_length":96,"hex_timestamp":"000001a108760e08"} 
[2026-10-05 01:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:21:06] 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-10-05 01:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532612096001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532612096001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:21:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:21:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532612096001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":203922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964499,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:21:06] local.INFO: GPS data processed {"connection_id":203922,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:21:06] local.INFO: Acknowledgment sent {"connection_id":203922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:21:33] local.INFO: TCP Data received {"connection_id":207018,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:21:33] local.INFO: Processing buffer {"connection_id":207018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:21:33] local.INFO: Packet analysis {"connection_id":207018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:21:33] local.INFO: Extracted packet for processing {"connection_id":207018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:21:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:21: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-10-05 01:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532616192001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:21: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-10-05 01:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791143333000,"timestamp_ms":1791143333000,"timestamp_seconds":1791143333,"priority":1,"record_length":96,"hex_timestamp":"000001a108764c88"} 
[2026-10-05 01:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:21: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-10-05 01:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:21:33] 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-10-05 01:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532616192001,"66":25299,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532616192001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:21:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:21:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532616192001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":207018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:21:33] local.INFO: GPS data processed {"connection_id":207018,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:21:33] local.INFO: Acknowledgment sent {"connection_id":207018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:21:37] local.INFO: TCP Data received {"connection_id":203922,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:21:37] local.INFO: Processing buffer {"connection_id":203922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:21:37] local.INFO: Packet analysis {"connection_id":203922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:21:37] local.INFO: Extracted packet for processing {"connection_id":203922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:21:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532612096001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791143317000,"timestamp_ms":1791143317000,"timestamp_seconds":1791143317,"priority":1,"record_length":96,"hex_timestamp":"000001a108760e08"} 
[2026-10-05 01:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:21:37] 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-10-05 01:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532612096001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532612096001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:21:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:21:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532612096001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":203922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:21:37] local.INFO: GPS data processed {"connection_id":203922,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:21:37] local.INFO: Acknowledgment sent {"connection_id":203922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:21:56] local.INFO: TCP Data received {"connection_id":205454,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:21:56] local.INFO: Processing buffer {"connection_id":205454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:21:56] local.INFO: IMEI packet received {"connection_id":205454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":205454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:22:00] local.INFO: TCP Data received {"connection_id":203923,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:22:00] local.INFO: Processing buffer {"connection_id":203923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:22:00] local.INFO: IMEI packet received {"connection_id":203923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":203923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:22:01] local.INFO: TCP Data received {"connection_id":205454,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:22:01] local.INFO: Processing buffer {"connection_id":205454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:22:01] local.INFO: IMEI packet received {"connection_id":205454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":205454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:22:02] local.INFO: TCP Data received {"connection_id":205454,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:22:02] local.INFO: Processing buffer {"connection_id":205454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:22:02] local.INFO: Packet analysis {"connection_id":205454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:22:02] local.INFO: Extracted packet for processing {"connection_id":205454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:22:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532616192001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:22:02] 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-10-05 01:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791143333000,"timestamp_ms":1791143333000,"timestamp_seconds":1791143333,"priority":1,"record_length":96,"hex_timestamp":"000001a108764c88"} 
[2026-10-05 01:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:22:02] 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-10-05 01: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-10-05 01:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:22: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-10-05 01:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532616192001,"66":25299,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532616192001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:22:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:22:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532616192001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":205454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:22:02] local.INFO: GPS data processed {"connection_id":205454,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:22:02] local.INFO: Acknowledgment sent {"connection_id":205454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:22:05] local.INFO: TCP Data received {"connection_id":203923,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:22:05] local.INFO: Processing buffer {"connection_id":203923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:22:05] local.INFO: IMEI packet received {"connection_id":203923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":203923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:22:06] local.INFO: TCP Data received {"connection_id":203923,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:22:06] local.INFO: Processing buffer {"connection_id":203923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:22:06] local.INFO: Packet analysis {"connection_id":203923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:22:06] local.INFO: Extracted packet for processing {"connection_id":203923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:22:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532612096001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791143317000,"timestamp_ms":1791143317000,"timestamp_seconds":1791143317,"priority":1,"record_length":96,"hex_timestamp":"000001a108760e08"} 
[2026-10-05 01:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:22:06] 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-10-05 01: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-10-05 01:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532612096001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532612096001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:22:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:22:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532612096001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":203923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:22:06] local.INFO: GPS data processed {"connection_id":203923,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:22:06] local.INFO: Acknowledgment sent {"connection_id":203923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:22:33] local.INFO: TCP Data received {"connection_id":205454,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:22:33] local.INFO: Processing buffer {"connection_id":205454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:22:33] local.INFO: Packet analysis {"connection_id":205454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:22:33] local.INFO: Extracted packet for processing {"connection_id":205454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:22:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532616192001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:22: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-10-05 01:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791143333000,"timestamp_ms":1791143333000,"timestamp_seconds":1791143333,"priority":1,"record_length":96,"hex_timestamp":"000001a108764c88"} 
[2026-10-05 01:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:22: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-10-05 01:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532616192001,"66":25299,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532616192001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:22:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:22:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532616192001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":205454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:22:33] local.INFO: GPS data processed {"connection_id":205454,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:22:33] local.INFO: Acknowledgment sent {"connection_id":205454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:22:37] local.INFO: TCP Data received {"connection_id":203923,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:22:37] local.INFO: Processing buffer {"connection_id":203923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:22:37] local.INFO: Packet analysis {"connection_id":203923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:22:37] local.INFO: Extracted packet for processing {"connection_id":203923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:22:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532612096001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791143317000,"timestamp_ms":1791143317000,"timestamp_seconds":1791143317,"priority":1,"record_length":96,"hex_timestamp":"000001a108760e08"} 
[2026-10-05 01:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:22:37] 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-10-05 01: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-10-05 01:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532612096001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532612096001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:22:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:22:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532612096001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":203923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:22:37] local.INFO: GPS data processed {"connection_id":203923,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:22:37] local.INFO: Acknowledgment sent {"connection_id":203923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:23:00] local.INFO: TCP Data received {"connection_id":203924,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:23:00] local.INFO: Processing buffer {"connection_id":203924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:23:00] local.INFO: IMEI packet received {"connection_id":203924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":203924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:23:01] local.INFO: TCP Data received {"connection_id":204006,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:23:01] local.INFO: Processing buffer {"connection_id":204006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:23:01] local.INFO: IMEI packet received {"connection_id":204006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":204006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:23:05] local.INFO: TCP Data received {"connection_id":203924,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:23:05] local.INFO: Processing buffer {"connection_id":203924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:23:05] local.INFO: IMEI packet received {"connection_id":203924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":203924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:23:06] local.INFO: TCP Data received {"connection_id":203924,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:23:06] local.INFO: Processing buffer {"connection_id":203924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:23:06] local.INFO: Packet analysis {"connection_id":203924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:23:06] local.INFO: Extracted packet for processing {"connection_id":203924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:23:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532612096001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791143317000,"timestamp_ms":1791143317000,"timestamp_seconds":1791143317,"priority":1,"record_length":96,"hex_timestamp":"000001a108760e08"} 
[2026-10-05 01:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:23:06] 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-10-05 01: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-10-05 01:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532612096001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532612096001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:23:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:23:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532612096001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":203924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:23:06] local.INFO: GPS data processed {"connection_id":203924,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:23:06] local.INFO: Acknowledgment sent {"connection_id":203924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:23:06] local.INFO: TCP Data received {"connection_id":204006,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:23:06] local.INFO: Processing buffer {"connection_id":204006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:23:06] local.INFO: IMEI packet received {"connection_id":204006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":204006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:23:07] local.INFO: TCP Data received {"connection_id":204006,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:23:07] local.INFO: Processing buffer {"connection_id":204006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:23:07] local.INFO: Packet analysis {"connection_id":204006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:23:07] local.INFO: Extracted packet for processing {"connection_id":204006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:23:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532616192001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:23:07] 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-10-05 01:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791143333000,"timestamp_ms":1791143333000,"timestamp_seconds":1791143333,"priority":1,"record_length":96,"hex_timestamp":"000001a108764c88"} 
[2026-10-05 01:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532616192001,"66":25299,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532616192001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:23:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:23:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532616192001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":204006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:23:07] local.INFO: GPS data processed {"connection_id":204006,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:23:07] local.INFO: Acknowledgment sent {"connection_id":204006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:23:11] local.INFO: TCP Data received {"connection_id":204006,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:23:11] local.INFO: Processing buffer {"connection_id":204006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:23:11] local.INFO: Packet analysis {"connection_id":204006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:23:11] local.INFO: Extracted packet for processing {"connection_id":204006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:23:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532616192001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:23:11] 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-10-05 01:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791143333000,"timestamp_ms":1791143333000,"timestamp_seconds":1791143333,"priority":1,"record_length":96,"hex_timestamp":"000001a108764c88"} 
[2026-10-05 01:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:23:11] 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-10-05 01:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532616192001,"66":25299,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532616192001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:23:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532616192001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":204006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:23:11] local.INFO: GPS data processed {"connection_id":204006,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:23:11] local.INFO: Acknowledgment sent {"connection_id":204006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:23:37] local.INFO: TCP Data received {"connection_id":203924,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:23:37] local.INFO: Processing buffer {"connection_id":203924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108760e08012d7c2ac005dac8a0000200bf24..."} 
[2026-10-05 01:23:37] local.INFO: Packet analysis {"connection_id":203924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:23:37] local.INFO: Extracted packet for processing {"connection_id":203924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:23:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532612096001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791143317000,"timestamp_ms":1791143317000,"timestamp_seconds":1791143317,"priority":1,"record_length":96,"hex_timestamp":"000001a108760e08"} 
[2026-10-05 01:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:23:37] 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-10-05 01: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-10-05 01:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532612096001,"66":12667,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532612096001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:23:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:23:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532612096001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":203924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:23:37] local.INFO: GPS data processed {"connection_id":203924,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:23:37] local.INFO: Acknowledgment sent {"connection_id":203924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:23:56] local.INFO: TCP Data received {"connection_id":207019,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:23:56] local.INFO: Processing buffer {"connection_id":207019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:23:56] local.INFO: IMEI packet received {"connection_id":207019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":207019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:24:00] local.INFO: TCP Data received {"connection_id":203925,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:24:00] local.INFO: Processing buffer {"connection_id":203925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:24:00] local.INFO: IMEI packet received {"connection_id":203925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":203925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:24:01] local.INFO: TCP Data received {"connection_id":207019,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:24:01] local.INFO: Processing buffer {"connection_id":207019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:24:01] local.INFO: IMEI packet received {"connection_id":207019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":207019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:24:02] local.INFO: TCP Data received {"connection_id":207019,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:24:02] local.INFO: Processing buffer {"connection_id":207019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108764c88012d7f91c005afd9f00016010123..."} 
[2026-10-05 01:24:02] local.INFO: Packet analysis {"connection_id":207019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:24:02] local.INFO: Extracted packet for processing {"connection_id":207019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10876"} 
[2026-10-05 01:24:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532616192001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:24:02] 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-10-05 01:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791143333000,"timestamp_ms":1791143333000,"timestamp_seconds":1791143333,"priority":1,"record_length":96,"hex_timestamp":"000001a108764c88"} 
[2026-10-05 01:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:24:02] 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-10-05 01: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-10-05 01:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532616192001,"66":25299,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532616192001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:24:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:24:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532616192001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":207019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:24:02] local.INFO: GPS data processed {"connection_id":207019,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:24:02] local.INFO: Acknowledgment sent {"connection_id":207019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:24:05] local.INFO: TCP Data received {"connection_id":203925,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:24:05] local.INFO: Processing buffer {"connection_id":203925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:24:05] local.INFO: IMEI packet received {"connection_id":203925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":203925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:24:06] local.INFO: TCP Data received {"connection_id":203925,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:24:06] local.INFO: Processing buffer {"connection_id":203925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:24:06] local.INFO: Packet analysis {"connection_id":203925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:24:06] local.INFO: Extracted packet for processing {"connection_id":203925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:24:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 01:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532689152001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791143618000,"timestamp_ms":1791143618000,"timestamp_seconds":1791143618,"priority":1,"record_length":96,"hex_timestamp":"000001a1087aa5d0"} 
[2026-10-05 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-10-05 01:24:06] 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-10-05 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:24:06] 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-10-05 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-10-05 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-10-05 01:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:24:06] 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-10-05 01:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532689152001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532689152001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:24:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:24:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532689152001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":203925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964511,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:24:06] local.INFO: GPS data processed {"connection_id":203925,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:24:06] local.INFO: Acknowledgment sent {"connection_id":203925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:24:33] local.INFO: TCP Data received {"connection_id":207019,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:24:33] local.INFO: Processing buffer {"connection_id":207019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:24:33] local.INFO: Packet analysis {"connection_id":207019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:24:33] local.INFO: Extracted packet for processing {"connection_id":207019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532693248001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:24: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-10-05 01:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791143634000,"timestamp_ms":1791143634000,"timestamp_seconds":1791143634,"priority":1,"record_length":96,"hex_timestamp":"000001a1087ae450"} 
[2026-10-05 01:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-10-05 01:24:33] 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-10-05 01: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-10-05 01:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:24:33] 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-10-05 01:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532693248001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532693248001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:24:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:24:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532693248001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":207019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:24:33] local.INFO: GPS data processed {"connection_id":207019,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:24:33] local.INFO: Acknowledgment sent {"connection_id":207019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:24:37] local.INFO: TCP Data received {"connection_id":203925,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:24:37] local.INFO: Processing buffer {"connection_id":203925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:24:37] local.INFO: Packet analysis {"connection_id":203925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:24:37] local.INFO: Extracted packet for processing {"connection_id":203925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:24:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532689152001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791143618000,"timestamp_ms":1791143618000,"timestamp_seconds":1791143618,"priority":1,"record_length":96,"hex_timestamp":"000001a1087aa5d0"} 
[2026-10-05 01:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:24:37] 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-10-05 01: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:24:37] 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-10-05 01:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:24:37] 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-10-05 01:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532689152001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532689152001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:24:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:24:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532689152001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":203925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964513,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:24:38] local.INFO: GPS data processed {"connection_id":203925,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:24:38] local.INFO: Acknowledgment sent {"connection_id":203925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:24:56] local.INFO: TCP Data received {"connection_id":207020,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:24:56] local.INFO: Processing buffer {"connection_id":207020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:24:56] local.INFO: IMEI packet received {"connection_id":207020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":207020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:25:00] local.INFO: TCP Data received {"connection_id":205457,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:25:00] local.INFO: Processing buffer {"connection_id":205457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:25:00] local.INFO: IMEI packet received {"connection_id":205457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":205457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:25:01] local.INFO: TCP Data received {"connection_id":207020,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:25:01] local.INFO: Processing buffer {"connection_id":207020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:25:01] local.INFO: IMEI packet received {"connection_id":207020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":207020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:25:02] local.INFO: TCP Data received {"connection_id":207020,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:25:02] local.INFO: Processing buffer {"connection_id":207020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:25:02] local.INFO: Packet analysis {"connection_id":207020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:25:02] local.INFO: Extracted packet for processing {"connection_id":207020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:25:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532693248001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:25:02] 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-10-05 01:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791143634000,"timestamp_ms":1791143634000,"timestamp_seconds":1791143634,"priority":1,"record_length":96,"hex_timestamp":"000001a1087ae450"} 
[2026-10-05 01:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-10-05 01:25:02] 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-10-05 01: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-10-05 01:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532693248001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532693248001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:25:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:25:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532693248001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":207020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:25:02] local.INFO: GPS data processed {"connection_id":207020,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:25:02] local.INFO: Acknowledgment sent {"connection_id":207020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:25:04] local.INFO: TCP Data received {"connection_id":205456,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:25:04] local.INFO: Processing buffer {"connection_id":205456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:25:04] local.INFO: IMEI packet received {"connection_id":205456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 01:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":205456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:25:05] local.INFO: TCP Data received {"connection_id":205457,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:25:05] local.INFO: Processing buffer {"connection_id":205457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:25:05] local.INFO: IMEI packet received {"connection_id":205457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":205457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:25:06] local.INFO: TCP Data received {"connection_id":205457,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:25:06] local.INFO: Processing buffer {"connection_id":205457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:25:06] local.INFO: Packet analysis {"connection_id":205457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:25:06] local.INFO: Extracted packet for processing {"connection_id":205457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:25:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532689152001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791143618000,"timestamp_ms":1791143618000,"timestamp_seconds":1791143618,"priority":1,"record_length":96,"hex_timestamp":"000001a1087aa5d0"} 
[2026-10-05 01:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:25:06] 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-10-05 01:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:25:06] 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-10-05 01:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532689152001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532689152001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:25:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:25:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532689152001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":205457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:25:06] local.INFO: GPS data processed {"connection_id":205457,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:25:06] local.INFO: Acknowledgment sent {"connection_id":205457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:25:33] local.INFO: TCP Data received {"connection_id":207020,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:25:33] local.INFO: Processing buffer {"connection_id":207020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:25:33] local.INFO: Packet analysis {"connection_id":207020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:25:33] local.INFO: Extracted packet for processing {"connection_id":207020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532693248001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:25: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-10-05 01:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791143634000,"timestamp_ms":1791143634000,"timestamp_seconds":1791143634,"priority":1,"record_length":96,"hex_timestamp":"000001a1087ae450"} 
[2026-10-05 01:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-10-05 01:25:33] 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-10-05 01:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532693248001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532693248001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:25:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:25:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532693248001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":207020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:25:33] local.INFO: GPS data processed {"connection_id":207020,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:25:33] local.INFO: Acknowledgment sent {"connection_id":207020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:25:37] local.INFO: TCP Data received {"connection_id":205457,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:25:37] local.INFO: Processing buffer {"connection_id":205457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:25:37] local.INFO: Packet analysis {"connection_id":205457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:25:37] local.INFO: Extracted packet for processing {"connection_id":205457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:25:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532689152001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791143618000,"timestamp_ms":1791143618000,"timestamp_seconds":1791143618,"priority":1,"record_length":96,"hex_timestamp":"000001a1087aa5d0"} 
[2026-10-05 01:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:25:37] 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-10-05 01:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:25:37] 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-10-05 01:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532689152001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532689152001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:25:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:25:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532689152001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":205457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:25:37] local.INFO: GPS data processed {"connection_id":205457,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:25:37] local.INFO: Acknowledgment sent {"connection_id":205457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:25:43] local.INFO: TCP Data received {"connection_id":203926,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203926,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:25:43] local.INFO: Processing buffer {"connection_id":203926,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:25:43] local.INFO: IMEI packet received {"connection_id":203926,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 01:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":203926,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:25:56] local.INFO: TCP Data received {"connection_id":207021,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:25:56] local.INFO: Processing buffer {"connection_id":207021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:25:56] local.INFO: IMEI packet received {"connection_id":207021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":207021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:26:01] local.INFO: TCP Data received {"connection_id":207021,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:26:01] local.INFO: Processing buffer {"connection_id":207021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:26:01] local.INFO: IMEI packet received {"connection_id":207021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":207021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:26:02] local.INFO: TCP Data received {"connection_id":207021,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:26:02] local.INFO: Processing buffer {"connection_id":207021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:26:02] local.INFO: Packet analysis {"connection_id":207021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:26:02] local.INFO: Extracted packet for processing {"connection_id":207021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532693248001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:26:02] 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-10-05 01:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791143634000,"timestamp_ms":1791143634000,"timestamp_seconds":1791143634,"priority":1,"record_length":96,"hex_timestamp":"000001a1087ae450"} 
[2026-10-05 01:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-10-05 01:26:02] 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-10-05 01: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-10-05 01:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:26: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-10-05 01:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532693248001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532693248001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:26:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:26:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532693248001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":207021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:26:02] local.INFO: GPS data processed {"connection_id":207021,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:26:02] local.INFO: Acknowledgment sent {"connection_id":207021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:26:05] local.INFO: TCP Data received {"connection_id":203927,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:26:05] local.INFO: Processing buffer {"connection_id":203927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:26:05] local.INFO: IMEI packet received {"connection_id":203927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":203927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:26:10] local.INFO: TCP Data received {"connection_id":203927,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:26:10] local.INFO: Processing buffer {"connection_id":203927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:26:10] local.INFO: IMEI packet received {"connection_id":203927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":203927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:26:11] local.INFO: TCP Data received {"connection_id":203927,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:26:11] local.INFO: Processing buffer {"connection_id":203927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:26:11] local.INFO: Packet analysis {"connection_id":203927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:26:11] local.INFO: Extracted packet for processing {"connection_id":203927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:26:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532689152001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791143618000,"timestamp_ms":1791143618000,"timestamp_seconds":1791143618,"priority":1,"record_length":96,"hex_timestamp":"000001a1087aa5d0"} 
[2026-10-05 01:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:26:11] 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-10-05 01:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:26:11] 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-10-05 01:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":203927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":203927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":203927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532689152001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532689152001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:26:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532689152001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":203927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:26:11] local.INFO: GPS data processed {"connection_id":203927,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:26:11] local.INFO: Acknowledgment sent {"connection_id":203927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:26:37] local.INFO: TCP Data received {"connection_id":207021,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:26:37] local.INFO: Processing buffer {"connection_id":207021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:26:37] local.INFO: Packet analysis {"connection_id":207021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:26:37] local.INFO: Extracted packet for processing {"connection_id":207021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:26:37] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532693248001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:26:37] 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-10-05 01:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791143634000,"timestamp_ms":1791143634000,"timestamp_seconds":1791143634,"priority":1,"record_length":96,"hex_timestamp":"000001a1087ae450"} 
[2026-10-05 01:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-10-05 01:26:37] 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-10-05 01:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532693248001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532693248001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:26:37] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:26:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532693248001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":207021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:26:37] local.INFO: GPS data processed {"connection_id":207021,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:26:37] local.INFO: Acknowledgment sent {"connection_id":207021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:26:42] local.INFO: TCP Data received {"connection_id":203927,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:26:42] local.INFO: Processing buffer {"connection_id":203927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:26:42] local.INFO: Packet analysis {"connection_id":203927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:26:42] local.INFO: Extracted packet for processing {"connection_id":203927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:26:42] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532689152001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791143618000,"timestamp_ms":1791143618000,"timestamp_seconds":1791143618,"priority":1,"record_length":96,"hex_timestamp":"000001a1087aa5d0"} 
[2026-10-05 01:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:26:42] 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-10-05 01:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":203927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":203927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":203927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532689152001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532689152001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:26:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:26:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532689152001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":203927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:26:42] local.INFO: GPS data processed {"connection_id":203927,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:26:42] local.INFO: Acknowledgment sent {"connection_id":203927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:27:00] local.INFO: TCP Data received {"connection_id":204009,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:27:00] local.INFO: Processing buffer {"connection_id":204009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:27:00] local.INFO: IMEI packet received {"connection_id":204009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":204009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:27:02] local.INFO: TCP Data received {"connection_id":204008,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:27:02] local.INFO: Processing buffer {"connection_id":204008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:27:02] local.INFO: IMEI packet received {"connection_id":204008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":204008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:27:05] local.INFO: TCP Data received {"connection_id":204009,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:27:05] local.INFO: Processing buffer {"connection_id":204009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:27:05] local.INFO: IMEI packet received {"connection_id":204009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":204009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:27:06] local.INFO: TCP Data received {"connection_id":204009,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:27:06] local.INFO: Processing buffer {"connection_id":204009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:27:06] local.INFO: Packet analysis {"connection_id":204009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:27:06] local.INFO: Extracted packet for processing {"connection_id":204009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:27:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532689152001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791143618000,"timestamp_ms":1791143618000,"timestamp_seconds":1791143618,"priority":1,"record_length":96,"hex_timestamp":"000001a1087aa5d0"} 
[2026-10-05 01:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:27:06] 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-10-05 01: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:27:06] 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-10-05 01: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-10-05 01:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532689152001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532689152001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:27:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:27:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532689152001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":204009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:27:06] local.INFO: GPS data processed {"connection_id":204009,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:27:06] local.INFO: Acknowledgment sent {"connection_id":204009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:27:06] local.INFO: TCP Data received {"connection_id":204008,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:27:06] local.INFO: Processing buffer {"connection_id":204008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:27:06] local.INFO: IMEI packet received {"connection_id":204008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":204008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:27:07] local.INFO: TCP Data received {"connection_id":204008,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:27:07] local.INFO: Processing buffer {"connection_id":204008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:27:07] local.INFO: Packet analysis {"connection_id":204008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:27:07] local.INFO: Extracted packet for processing {"connection_id":204008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:27:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532693248001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:27:07] 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-10-05 01:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791143634000,"timestamp_ms":1791143634000,"timestamp_seconds":1791143634,"priority":1,"record_length":96,"hex_timestamp":"000001a1087ae450"} 
[2026-10-05 01:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-10-05 01:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532693248001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532693248001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:27:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:27:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532693248001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":204008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:27:07] local.INFO: GPS data processed {"connection_id":204008,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:27:07] local.INFO: Acknowledgment sent {"connection_id":204008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:27:11] local.INFO: TCP Data received {"connection_id":204008,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:27:11] local.INFO: Processing buffer {"connection_id":204008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:27:11] local.INFO: Packet analysis {"connection_id":204008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:27:11] local.INFO: Extracted packet for processing {"connection_id":204008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:27:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532693248001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:27:11] 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-10-05 01:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791143634000,"timestamp_ms":1791143634000,"timestamp_seconds":1791143634,"priority":1,"record_length":96,"hex_timestamp":"000001a1087ae450"} 
[2026-10-05 01:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-10-05 01:27:11] 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-10-05 01:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532693248001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532693248001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:27:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532693248001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":204008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:27:12] local.INFO: GPS data processed {"connection_id":204008,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:27:12] local.INFO: Acknowledgment sent {"connection_id":204008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:27:37] local.INFO: TCP Data received {"connection_id":204009,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:27:37] local.INFO: Processing buffer {"connection_id":204009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:27:37] local.INFO: Packet analysis {"connection_id":204009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:27:37] local.INFO: Extracted packet for processing {"connection_id":204009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:27:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532689152001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791143618000,"timestamp_ms":1791143618000,"timestamp_seconds":1791143618,"priority":1,"record_length":96,"hex_timestamp":"000001a1087aa5d0"} 
[2026-10-05 01:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:27:37] 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-10-05 01:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:27:37] 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-10-05 01:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532689152001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532689152001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:27:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:27:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532689152001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":204009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:27:37] local.INFO: GPS data processed {"connection_id":204009,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:27:37] local.INFO: Acknowledgment sent {"connection_id":204009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:27:56] local.INFO: TCP Data received {"connection_id":205458,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:27:56] local.INFO: Processing buffer {"connection_id":205458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:27:56] local.INFO: IMEI packet received {"connection_id":205458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":205458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:28:00] local.INFO: TCP Data received {"connection_id":203928,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203928,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:28:00] local.INFO: Processing buffer {"connection_id":203928,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:28:00] local.INFO: IMEI packet received {"connection_id":203928,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":203928,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:28:05] local.INFO: TCP Data received {"connection_id":203928,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203928,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:28:05] local.INFO: Processing buffer {"connection_id":203928,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:28:05] local.INFO: IMEI packet received {"connection_id":203928,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":203928,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:28:06] local.INFO: TCP Data received {"connection_id":205458,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:28:06] local.INFO: Processing buffer {"connection_id":205458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:28:06] local.INFO: IMEI packet received {"connection_id":205458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":205458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:28:06] local.INFO: TCP Data received {"connection_id":203928,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:28:06] local.INFO: Processing buffer {"connection_id":203928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:28:06] local.INFO: Packet analysis {"connection_id":203928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:28:06] local.INFO: Extracted packet for processing {"connection_id":203928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:28:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 01:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532689152001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791143618000,"timestamp_ms":1791143618000,"timestamp_seconds":1791143618,"priority":1,"record_length":96,"hex_timestamp":"000001a1087aa5d0"} 
[2026-10-05 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-10-05 01:28:06] 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-10-05 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:28:06] 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-10-05 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-10-05 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-10-05 01:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532689152001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532689152001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:28:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:28:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532689152001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":203928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:28:06] local.INFO: GPS data processed {"connection_id":203928,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:28:06] local.INFO: Acknowledgment sent {"connection_id":203928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:28:07] local.INFO: TCP Data received {"connection_id":205458,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:28:07] local.INFO: Processing buffer {"connection_id":205458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:28:07] local.INFO: Packet analysis {"connection_id":205458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:28:07] local.INFO: Extracted packet for processing {"connection_id":205458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:28:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532693248001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:28:07] 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-10-05 01:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791143634000,"timestamp_ms":1791143634000,"timestamp_seconds":1791143634,"priority":1,"record_length":96,"hex_timestamp":"000001a1087ae450"} 
[2026-10-05 01:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-10-05 01:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:28:07] 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-10-05 01:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532693248001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532693248001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:28:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:28:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532693248001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":205458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:28:07] local.INFO: GPS data processed {"connection_id":205458,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:28:07] local.INFO: Acknowledgment sent {"connection_id":205458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:28:37] local.INFO: TCP Data received {"connection_id":203928,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:28:37] local.INFO: Processing buffer {"connection_id":203928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087aa5d0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 01:28:37] local.INFO: Packet analysis {"connection_id":203928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:28:37] local.INFO: Extracted packet for processing {"connection_id":203928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:28:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532689152001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791143618000,"timestamp_ms":1791143618000,"timestamp_seconds":1791143618,"priority":1,"record_length":96,"hex_timestamp":"000001a1087aa5d0"} 
[2026-10-05 01:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:28:37] 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-10-05 01:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 01:28:37] 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-10-05 01:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532689152001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532689152001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:28:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:28:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532689152001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":203928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964528,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:28:38] local.INFO: GPS data processed {"connection_id":203928,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:28:38] local.INFO: Acknowledgment sent {"connection_id":203928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:28:38] local.INFO: TCP Data received {"connection_id":205458,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:28:38] local.INFO: Processing buffer {"connection_id":205458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:28:38] local.INFO: Packet analysis {"connection_id":205458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:28:38] local.INFO: Extracted packet for processing {"connection_id":205458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:28:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532693248001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:28:38] 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-10-05 01:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791143634000,"timestamp_ms":1791143634000,"timestamp_seconds":1791143634,"priority":1,"record_length":96,"hex_timestamp":"000001a1087ae450"} 
[2026-10-05 01:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-10-05 01:28:38] 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-10-05 01:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:28:38] 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-10-05 01:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532693248001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532693248001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:28:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:28:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532693248001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":205458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:28:38] local.INFO: GPS data processed {"connection_id":205458,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:28:38] local.INFO: Acknowledgment sent {"connection_id":205458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:29:00] local.INFO: TCP Data received {"connection_id":204012,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204012,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:29:00] local.INFO: Processing buffer {"connection_id":204012,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:29:00] local.INFO: IMEI packet received {"connection_id":204012,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":204012,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:29:00] local.INFO: TCP Data received {"connection_id":204011,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:29:00] local.INFO: Processing buffer {"connection_id":204011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:29:00] local.INFO: IMEI packet received {"connection_id":204011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":204011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:29:01] local.INFO: TCP Data received {"connection_id":204011,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:29:01] local.INFO: Processing buffer {"connection_id":204011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:29:01] local.INFO: IMEI packet received {"connection_id":204011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":204011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:29:04] local.INFO: TCP Data received {"connection_id":204011,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:29:04] local.INFO: Processing buffer {"connection_id":204011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:29:04] local.INFO: Packet analysis {"connection_id":204011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:29:04] local.INFO: Extracted packet for processing {"connection_id":204011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:29:04] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532693248001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:29: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-10-05 01:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791143634000,"timestamp_ms":1791143634000,"timestamp_seconds":1791143634,"priority":1,"record_length":96,"hex_timestamp":"000001a1087ae450"} 
[2026-10-05 01:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-10-05 01:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":204011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":204011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":204011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532693248001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532693248001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:29:04] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:29:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532693248001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":204011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:29:04] local.INFO: GPS data processed {"connection_id":204011,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:29:04] local.INFO: Acknowledgment sent {"connection_id":204011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:29:05] local.INFO: TCP Data received {"connection_id":204012,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204012,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:29:05] local.INFO: Processing buffer {"connection_id":204012,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:29:05] local.INFO: IMEI packet received {"connection_id":204012,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":204012,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:29:06] local.INFO: TCP Data received {"connection_id":204012,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:29:06] local.INFO: Processing buffer {"connection_id":204012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:29:06] local.INFO: Packet analysis {"connection_id":204012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:29:06] local.INFO: Extracted packet for processing {"connection_id":204012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:29:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532766208001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791143919000,"timestamp_ms":1791143919000,"timestamp_seconds":1791143919,"priority":1,"record_length":96,"hex_timestamp":"000001a1087f3d98"} 
[2026-10-05 01:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:29:06] 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-10-05 01:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:29:06] 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-10-05 01:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532766208001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532766208001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:29:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:29:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532766208001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":204012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:29:06] local.INFO: GPS data processed {"connection_id":204012,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:29:06] local.INFO: Acknowledgment sent {"connection_id":204012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:29:07] local.INFO: TCP Data received {"connection_id":204011,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:29:07] local.INFO: Processing buffer {"connection_id":204011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087ae450012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:29:07] local.INFO: Packet analysis {"connection_id":204011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:29:07] local.INFO: Extracted packet for processing {"connection_id":204011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087a"} 
[2026-10-05 01:29:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532693248001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:29:07] 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-10-05 01:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791143634000,"timestamp_ms":1791143634000,"timestamp_seconds":1791143634,"priority":1,"record_length":96,"hex_timestamp":"000001a1087ae450"} 
[2026-10-05 01:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-10-05 01:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:29:07] 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-10-05 01:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532693248001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532693248001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:29:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:29:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532693248001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":204011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:29:07] local.INFO: GPS data processed {"connection_id":204011,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:29:07] local.INFO: Acknowledgment sent {"connection_id":204011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:29:37] local.INFO: TCP Data received {"connection_id":204012,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:29:37] local.INFO: Processing buffer {"connection_id":204012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:29:37] local.INFO: Packet analysis {"connection_id":204012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:29:37] local.INFO: Extracted packet for processing {"connection_id":204012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:29:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532766208001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791143919000,"timestamp_ms":1791143919000,"timestamp_seconds":1791143919,"priority":1,"record_length":96,"hex_timestamp":"000001a1087f3d98"} 
[2026-10-05 01:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:29:37] 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-10-05 01:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:29:37] 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-10-05 01:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532766208001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532766208001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:29:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:29:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532766208001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":204012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964533,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:29:37] local.INFO: GPS data processed {"connection_id":204012,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:29:37] local.INFO: Acknowledgment sent {"connection_id":204012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:29:40] local.INFO: TCP Data received {"connection_id":204011,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1087f7c18012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087f7c18012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:29:40] local.INFO: Processing buffer {"connection_id":204011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087f7c18012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:29:40] local.INFO: Packet analysis {"connection_id":204011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:29:40] local.INFO: Extracted packet for processing {"connection_id":204011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:29:40] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532770304001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:29:40] 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-10-05 01:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791143935000,"timestamp_ms":1791143935000,"timestamp_seconds":1791143935,"priority":1,"record_length":96,"hex_timestamp":"000001a1087f7c18"} 
[2026-10-05 01:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:29: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-10-05 01:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:29:40] 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-10-05 01:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532770304001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532770304001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:29:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532770304001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":204011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:29:40] local.INFO: GPS data processed {"connection_id":204011,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:29:40] local.INFO: Acknowledgment sent {"connection_id":204011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:30:02] local.INFO: TCP Data received {"connection_id":203930,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:30:02] local.INFO: Processing buffer {"connection_id":203930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:30:02] local.INFO: IMEI packet received {"connection_id":203930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":203930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:30:05] local.INFO: TCP Data received {"connection_id":203931,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:30:05] local.INFO: Processing buffer {"connection_id":203931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:30:05] local.INFO: IMEI packet received {"connection_id":203931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":203931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:30:07] local.INFO: TCP Data received {"connection_id":203930,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:30:07] local.INFO: Processing buffer {"connection_id":203930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:30:07] local.INFO: IMEI packet received {"connection_id":203930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":203930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:30:08] local.INFO: TCP Data received {"connection_id":203930,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1087f7c18012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087f7c18012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:30:08] local.INFO: Processing buffer {"connection_id":203930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087f7c18012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:30:08] local.INFO: Packet analysis {"connection_id":203930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:30:08] local.INFO: Extracted packet for processing {"connection_id":203930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:30:08] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532770304001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:30:08] 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-10-05 01:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791143935000,"timestamp_ms":1791143935000,"timestamp_seconds":1791143935,"priority":1,"record_length":96,"hex_timestamp":"000001a1087f7c18"} 
[2026-10-05 01:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":203930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":203930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":203930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532770304001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532770304001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:30:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:30:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532770304001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":203930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:30:08] local.INFO: GPS data processed {"connection_id":203930,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:30:08] local.INFO: Acknowledgment sent {"connection_id":203930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:30:10] local.INFO: TCP Data received {"connection_id":203931,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:30:10] local.INFO: Processing buffer {"connection_id":203931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:30:10] local.INFO: IMEI packet received {"connection_id":203931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":203931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:30:11] local.INFO: TCP Data received {"connection_id":203931,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:30:11] local.INFO: Processing buffer {"connection_id":203931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:30:11] local.INFO: Packet analysis {"connection_id":203931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:30:11] local.INFO: Extracted packet for processing {"connection_id":203931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:30:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:30: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-10-05 01:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532766208001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791143919000,"timestamp_ms":1791143919000,"timestamp_seconds":1791143919,"priority":1,"record_length":96,"hex_timestamp":"000001a1087f3d98"} 
[2026-10-05 01:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:30:11] 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-10-05 01:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:30:11] 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-10-05 01:30: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-10-05 01:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":203931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":203931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":203931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532766208001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532766208001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:30:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532766208001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":203931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:30:11] local.INFO: GPS data processed {"connection_id":203931,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:30:11] local.INFO: Acknowledgment sent {"connection_id":203931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:30:12] local.INFO: TCP Data received {"connection_id":203930,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1087f7c18012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087f7c18012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:30:12] local.INFO: Processing buffer {"connection_id":203930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087f7c18012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:30:12] local.INFO: Packet analysis {"connection_id":203930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:30:12] local.INFO: Extracted packet for processing {"connection_id":203930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:30:12] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532770304001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:30:12] 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-10-05 01:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791143935000,"timestamp_ms":1791143935000,"timestamp_seconds":1791143935,"priority":1,"record_length":96,"hex_timestamp":"000001a1087f7c18"} 
[2026-10-05 01:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:30:12] 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-10-05 01:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":203930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":203930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":203930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:30:12] 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-10-05 01:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532770304001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532770304001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:30:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:30:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532770304001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":203930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:30:12] local.INFO: GPS data processed {"connection_id":203930,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:30:12] local.INFO: Acknowledgment sent {"connection_id":203930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:30:16] local.INFO: TCP Data received {"connection_id":203931,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:30:16] local.INFO: Processing buffer {"connection_id":203931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:30:16] local.INFO: Packet analysis {"connection_id":203931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:30:16] local.INFO: Extracted packet for processing {"connection_id":203931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:30:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532766208001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791143919000,"timestamp_ms":1791143919000,"timestamp_seconds":1791143919,"priority":1,"record_length":96,"hex_timestamp":"000001a1087f3d98"} 
[2026-10-05 01:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:30:16] 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-10-05 01:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":203931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":203931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":203931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532766208001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532766208001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:30:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:30:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532766208001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":203931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:30:16] local.INFO: GPS data processed {"connection_id":203931,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:30:16] local.INFO: Acknowledgment sent {"connection_id":203931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:30:56] local.INFO: TCP Data received {"connection_id":205459,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:30:56] local.INFO: Processing buffer {"connection_id":205459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:30:56] local.INFO: IMEI packet received {"connection_id":205459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":205459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:30:58] local.INFO: TCP Data received {"connection_id":204013,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204013,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:30:58] local.INFO: Processing buffer {"connection_id":204013,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:30:58] local.INFO: IMEI packet received {"connection_id":204013,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 01:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":204013,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:31:00] local.INFO: TCP Data received {"connection_id":207023,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:31:00] local.INFO: Processing buffer {"connection_id":207023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:31:00] local.INFO: IMEI packet received {"connection_id":207023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":207023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:31:02] local.INFO: TCP Data received {"connection_id":205459,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:31:02] local.INFO: Processing buffer {"connection_id":205459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:31:02] local.INFO: IMEI packet received {"connection_id":205459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":205459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:31:03] local.INFO: TCP Data received {"connection_id":205459,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1087f7c18012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087f7c18012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:31:03] local.INFO: Processing buffer {"connection_id":205459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087f7c18012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:31:03] local.INFO: Packet analysis {"connection_id":205459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:31:03] local.INFO: Extracted packet for processing {"connection_id":205459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:31:03] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532770304001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:31:03] 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-10-05 01:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791143935000,"timestamp_ms":1791143935000,"timestamp_seconds":1791143935,"priority":1,"record_length":96,"hex_timestamp":"000001a1087f7c18"} 
[2026-10-05 01:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":205459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":205459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":205459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:31:03] 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-10-05 01:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532770304001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532770304001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:31:03] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:31:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532770304001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":205459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:31:03] local.INFO: GPS data processed {"connection_id":205459,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:31:03] local.INFO: Acknowledgment sent {"connection_id":205459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:31:05] local.INFO: TCP Data received {"connection_id":207023,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:31:05] local.INFO: Processing buffer {"connection_id":207023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:31:05] local.INFO: IMEI packet received {"connection_id":207023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":207023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:31:06] local.INFO: TCP Data received {"connection_id":207023,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:31:06] local.INFO: Processing buffer {"connection_id":207023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:31:06] local.INFO: Packet analysis {"connection_id":207023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:31:06] local.INFO: Extracted packet for processing {"connection_id":207023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:31:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532766208001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791143919000,"timestamp_ms":1791143919000,"timestamp_seconds":1791143919,"priority":1,"record_length":96,"hex_timestamp":"000001a1087f3d98"} 
[2026-10-05 01:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:31:06] 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-10-05 01:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:31:06] 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-10-05 01:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532766208001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532766208001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:31:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:31:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532766208001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":207023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:31:06] local.INFO: GPS data processed {"connection_id":207023,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:31:06] local.INFO: Acknowledgment sent {"connection_id":207023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:31:34] local.INFO: TCP Data received {"connection_id":205459,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1087f7c18012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087f7c18012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:31:34] local.INFO: Processing buffer {"connection_id":205459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087f7c18012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:31:34] local.INFO: Packet analysis {"connection_id":205459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:31:34] local.INFO: Extracted packet for processing {"connection_id":205459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:31:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532770304001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:31:34] 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-10-05 01:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791143935000,"timestamp_ms":1791143935000,"timestamp_seconds":1791143935,"priority":1,"record_length":96,"hex_timestamp":"000001a1087f7c18"} 
[2026-10-05 01:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:31:34] 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-10-05 01:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":205459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":205459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":205459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:31: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-10-05 01:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532770304001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532770304001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:31:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:31:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532770304001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":205459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:31:34] local.INFO: GPS data processed {"connection_id":205459,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:31:34] local.INFO: Acknowledgment sent {"connection_id":205459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:31:38] local.INFO: TCP Data received {"connection_id":207023,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:31:38] local.INFO: Processing buffer {"connection_id":207023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:31:38] local.INFO: Packet analysis {"connection_id":207023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:31:38] local.INFO: Extracted packet for processing {"connection_id":207023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:31:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532766208001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791143919000,"timestamp_ms":1791143919000,"timestamp_seconds":1791143919,"priority":1,"record_length":96,"hex_timestamp":"000001a1087f3d98"} 
[2026-10-05 01:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:31:38] 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-10-05 01: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:31:38] 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-10-05 01: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-10-05 01:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532766208001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532766208001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:31:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:31:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532766208001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":207023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:31:38] local.INFO: GPS data processed {"connection_id":207023,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:31:38] local.INFO: Acknowledgment sent {"connection_id":207023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:31:43] local.INFO: TCP Data received {"connection_id":205460,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:31:43] local.INFO: Processing buffer {"connection_id":205460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:31:43] local.INFO: IMEI packet received {"connection_id":205460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 01:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":205460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:31:56] local.INFO: TCP Data received {"connection_id":203932,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:31:56] local.INFO: Processing buffer {"connection_id":203932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:31:56] local.INFO: IMEI packet received {"connection_id":203932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":203932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:32:00] local.INFO: TCP Data received {"connection_id":207024,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:32:00] local.INFO: Processing buffer {"connection_id":207024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:32:00] local.INFO: IMEI packet received {"connection_id":207024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":207024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:32:01] local.INFO: TCP Data received {"connection_id":203932,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:32:01] local.INFO: Processing buffer {"connection_id":203932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:32:01] local.INFO: IMEI packet received {"connection_id":203932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":203932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:32:02] local.INFO: TCP Data received {"connection_id":203932,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a1087f7c18012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087f7c18012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:32:02] local.INFO: Processing buffer {"connection_id":203932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087f7c18012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:32:02] local.INFO: Packet analysis {"connection_id":203932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:32:02] local.INFO: Extracted packet for processing {"connection_id":203932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:32:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532770304001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:32:02] 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-10-05 01:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791143935000,"timestamp_ms":1791143935000,"timestamp_seconds":1791143935,"priority":1,"record_length":96,"hex_timestamp":"000001a1087f7c18"} 
[2026-10-05 01:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:32:02] 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-10-05 01: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-10-05 01:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532770304001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532770304001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:32:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:32:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532770304001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":203932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:32:02] local.INFO: GPS data processed {"connection_id":203932,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:32:02] local.INFO: Acknowledgment sent {"connection_id":203932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:32:05] local.INFO: TCP Data received {"connection_id":207024,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:32:05] local.INFO: Processing buffer {"connection_id":207024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:32:05] local.INFO: IMEI packet received {"connection_id":207024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":207024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:32:06] local.INFO: TCP Data received {"connection_id":207024,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:32:06] local.INFO: Processing buffer {"connection_id":207024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:32:06] local.INFO: Packet analysis {"connection_id":207024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:32:06] local.INFO: Extracted packet for processing {"connection_id":207024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:32:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532766208001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791143919000,"timestamp_ms":1791143919000,"timestamp_seconds":1791143919,"priority":1,"record_length":96,"hex_timestamp":"000001a1087f3d98"} 
[2026-10-05 01:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:32:06] 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-10-05 01: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:32:06] 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-10-05 01: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-10-05 01:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532766208001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532766208001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:32:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:32:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532766208001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":207024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:32:06] local.INFO: GPS data processed {"connection_id":207024,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:32:06] local.INFO: Acknowledgment sent {"connection_id":207024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:32:33] local.INFO: TCP Data received {"connection_id":203932,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a1087f7c18012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087f7c18012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:32:33] local.INFO: Processing buffer {"connection_id":203932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087f7c18012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:32:33] local.INFO: Packet analysis {"connection_id":203932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:32:33] local.INFO: Extracted packet for processing {"connection_id":203932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532770304001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:32: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-10-05 01:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791143935000,"timestamp_ms":1791143935000,"timestamp_seconds":1791143935,"priority":1,"record_length":96,"hex_timestamp":"000001a1087f7c18"} 
[2026-10-05 01:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532770304001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532770304001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:32:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:32:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532770304001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":203932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:32:33] local.INFO: GPS data processed {"connection_id":203932,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:32:33] local.INFO: Acknowledgment sent {"connection_id":203932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:32:37] local.INFO: TCP Data received {"connection_id":207024,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:32:37] local.INFO: Processing buffer {"connection_id":207024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:32:37] local.INFO: Packet analysis {"connection_id":207024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:32:37] local.INFO: Extracted packet for processing {"connection_id":207024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:32:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532766208001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791143919000,"timestamp_ms":1791143919000,"timestamp_seconds":1791143919,"priority":1,"record_length":96,"hex_timestamp":"000001a1087f3d98"} 
[2026-10-05 01:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:32:37] 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-10-05 01:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:32:37] 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-10-05 01:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532766208001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532766208001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:32:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:32:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532766208001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":207024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:32:37] local.INFO: GPS data processed {"connection_id":207024,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:32:37] local.INFO: Acknowledgment sent {"connection_id":207024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:33:00] local.INFO: TCP Data received {"connection_id":205462,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205462,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:33:00] local.INFO: Processing buffer {"connection_id":205462,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:33:00] local.INFO: IMEI packet received {"connection_id":205462,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":205462,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:33:05] local.INFO: TCP Data received {"connection_id":205462,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205462,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:33:05] local.INFO: Processing buffer {"connection_id":205462,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:33:05] local.INFO: IMEI packet received {"connection_id":205462,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":205462,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:33:06] local.INFO: TCP Data received {"connection_id":203933,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:33:06] local.INFO: Processing buffer {"connection_id":203933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:33:06] local.INFO: IMEI packet received {"connection_id":203933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":203933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:33:06] local.INFO: TCP Data received {"connection_id":205462,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:33:06] local.INFO: Processing buffer {"connection_id":205462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:33:06] local.INFO: Packet analysis {"connection_id":205462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:33:06] local.INFO: Extracted packet for processing {"connection_id":205462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:33:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532766208001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791143919000,"timestamp_ms":1791143919000,"timestamp_seconds":1791143919,"priority":1,"record_length":96,"hex_timestamp":"000001a1087f3d98"} 
[2026-10-05 01:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:33:06] 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-10-05 01: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:33:06] 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-10-05 01: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-10-05 01:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532766208001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532766208001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:33:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:33:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532766208001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":205462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:33:07] local.INFO: GPS data processed {"connection_id":205462,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:33:07] local.INFO: Acknowledgment sent {"connection_id":205462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:33:11] local.INFO: TCP Data received {"connection_id":203933,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:33:11] local.INFO: Processing buffer {"connection_id":203933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:33:11] local.INFO: IMEI packet received {"connection_id":203933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":203933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:33:12] local.INFO: TCP Data received {"connection_id":203933,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1087f7c18012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087f7c18012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:33:12] local.INFO: Processing buffer {"connection_id":203933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087f7c18012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:33:12] local.INFO: Packet analysis {"connection_id":203933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:33:12] local.INFO: Extracted packet for processing {"connection_id":203933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:33:12] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:33: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-10-05 01:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532770304001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:33:12] 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-10-05 01:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791143935000,"timestamp_ms":1791143935000,"timestamp_seconds":1791143935,"priority":1,"record_length":96,"hex_timestamp":"000001a1087f7c18"} 
[2026-10-05 01:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:33:12] 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-10-05 01:33: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-10-05 01:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":203933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":203933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":203933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:33:12] 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-10-05 01:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532770304001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532770304001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:33:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:33:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532770304001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":203933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:33:13] local.INFO: GPS data processed {"connection_id":203933,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:33:13] local.INFO: Acknowledgment sent {"connection_id":203933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:33:38] local.INFO: TCP Data received {"connection_id":205462,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:33:38] local.INFO: Processing buffer {"connection_id":205462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087f3d98012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:33:38] local.INFO: Packet analysis {"connection_id":205462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:33:38] local.INFO: Extracted packet for processing {"connection_id":205462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:33:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532766208001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791143919000,"timestamp_ms":1791143919000,"timestamp_seconds":1791143919,"priority":1,"record_length":96,"hex_timestamp":"000001a1087f3d98"} 
[2026-10-05 01:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:33:38] 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-10-05 01:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:33:38] 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-10-05 01:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532766208001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532766208001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:33:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:33:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532766208001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":205462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:33:38] local.INFO: GPS data processed {"connection_id":205462,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:33:38] local.INFO: Acknowledgment sent {"connection_id":205462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:33:56] local.INFO: TCP Data received {"connection_id":207026,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:33:56] local.INFO: Processing buffer {"connection_id":207026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:33:56] local.INFO: IMEI packet received {"connection_id":207026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":207026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:34:05] local.INFO: TCP Data received {"connection_id":205463,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:34:05] local.INFO: Processing buffer {"connection_id":205463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:34:05] local.INFO: IMEI packet received {"connection_id":205463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":205463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:34:07] local.INFO: TCP Data received {"connection_id":207026,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:34:07] local.INFO: Processing buffer {"connection_id":207026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:34:07] local.INFO: IMEI packet received {"connection_id":207026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":207026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:34:08] local.INFO: TCP Data received {"connection_id":207026,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1087f7c18012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1087f7c18012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:34:08] local.INFO: Processing buffer {"connection_id":207026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1087f7c18012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:34:08] local.INFO: Packet analysis {"connection_id":207026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:34:08] local.INFO: Extracted packet for processing {"connection_id":207026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1087f"} 
[2026-10-05 01:34:08] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532770304001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:34:08] 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-10-05 01:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791143935000,"timestamp_ms":1791143935000,"timestamp_seconds":1791143935,"priority":1,"record_length":96,"hex_timestamp":"000001a1087f7c18"} 
[2026-10-05 01:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:34:08] 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-10-05 01:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532770304001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532770304001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:34:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:34:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532770304001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":207026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:34:08] local.INFO: GPS data processed {"connection_id":207026,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:34:08] local.INFO: Acknowledgment sent {"connection_id":207026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:34:10] local.INFO: TCP Data received {"connection_id":205463,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:34:10] local.INFO: Processing buffer {"connection_id":205463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:34:10] local.INFO: IMEI packet received {"connection_id":205463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":205463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:34:11] local.INFO: TCP Data received {"connection_id":205463,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:34:11] local.INFO: Processing buffer {"connection_id":205463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:34:11] local.INFO: Packet analysis {"connection_id":205463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10883"} 
[2026-10-05 01:34:11] local.INFO: Extracted packet for processing {"connection_id":205463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10883"} 
[2026-10-05 01:34:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:34: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-10-05 01:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532843264001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791144220000,"timestamp_ms":1791144220000,"timestamp_seconds":1791144220,"priority":1,"record_length":96,"hex_timestamp":"000001a10883d560"} 
[2026-10-05 01:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:34:11] 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-10-05 01:34: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-10-05 01:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532843264001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532843264001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:34:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:34:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532843264001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":205463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:34:11] local.INFO: GPS data processed {"connection_id":205463,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:34:11] local.INFO: Acknowledgment sent {"connection_id":205463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:34:16] local.INFO: TCP Data received {"connection_id":205463,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:34:16] local.INFO: Processing buffer {"connection_id":205463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:34:16] local.INFO: Packet analysis {"connection_id":205463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10883"} 
[2026-10-05 01:34:16] local.INFO: Extracted packet for processing {"connection_id":205463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10883"} 
[2026-10-05 01:34:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532843264001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791144220000,"timestamp_ms":1791144220000,"timestamp_seconds":1791144220,"priority":1,"record_length":96,"hex_timestamp":"000001a10883d560"} 
[2026-10-05 01:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:34:16] 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-10-05 01:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532843264001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532843264001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:34:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:34:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532843264001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":205463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:34:16] local.INFO: GPS data processed {"connection_id":205463,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:34:16] local.INFO: Acknowledgment sent {"connection_id":205463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:34:39] local.INFO: TCP Data received {"connection_id":207026,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:34:39] local.INFO: Processing buffer {"connection_id":207026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:34:39] local.INFO: Packet analysis {"connection_id":207026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10884"} 
[2026-10-05 01:34:39] local.INFO: Extracted packet for processing {"connection_id":207026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10884"} 
[2026-10-05 01:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532847360001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791144236000,"timestamp_ms":1791144236000,"timestamp_seconds":1791144236,"priority":1,"record_length":96,"hex_timestamp":"000001a1088413e0"} 
[2026-10-05 01:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:34:39] 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-10-05 01:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":207026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":207026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":207026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:34:39] 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-10-05 01:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532847360001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532847360001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:34:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:34:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532847360001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":207026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:34:39] local.INFO: GPS data processed {"connection_id":207026,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:34:39] local.INFO: Acknowledgment sent {"connection_id":207026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:35:00] local.INFO: TCP Data received {"connection_id":207027,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207027,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:35:00] local.INFO: Processing buffer {"connection_id":207027,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:35:00] local.INFO: IMEI packet received {"connection_id":207027,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":207027,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:35:05] local.INFO: TCP Data received {"connection_id":207027,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207027,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:35:05] local.INFO: Processing buffer {"connection_id":207027,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:35:05] local.INFO: IMEI packet received {"connection_id":207027,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":207027,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:35:06] local.INFO: TCP Data received {"connection_id":207027,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:35:06] local.INFO: Processing buffer {"connection_id":207027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:35:06] local.INFO: Packet analysis {"connection_id":207027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10883"} 
[2026-10-05 01:35:06] local.INFO: Extracted packet for processing {"connection_id":207027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10883"} 
[2026-10-05 01:35:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532843264001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791144220000,"timestamp_ms":1791144220000,"timestamp_seconds":1791144220,"priority":1,"record_length":96,"hex_timestamp":"000001a10883d560"} 
[2026-10-05 01:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:35:06] 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-10-05 01: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-10-05 01:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532843264001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532843264001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:35:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:35:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532843264001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":207027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:35:06] local.INFO: GPS data processed {"connection_id":207027,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:35:06] local.INFO: Acknowledgment sent {"connection_id":207027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:35:06] local.INFO: TCP Data received {"connection_id":205464,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:35:06] local.INFO: Processing buffer {"connection_id":205464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:35:06] local.INFO: IMEI packet received {"connection_id":205464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":205464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:35:14] local.INFO: TCP Data received {"connection_id":205464,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:35:14] local.INFO: Processing buffer {"connection_id":205464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:35:14] local.INFO: IMEI packet received {"connection_id":205464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":205464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:35:15] local.INFO: TCP Data received {"connection_id":205464,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:35:15] local.INFO: Processing buffer {"connection_id":205464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:35:15] local.INFO: Packet analysis {"connection_id":205464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10884"} 
[2026-10-05 01:35:15] local.INFO: Extracted packet for processing {"connection_id":205464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10884"} 
[2026-10-05 01:35:15] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532847360001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:35: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-10-05 01:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791144236000,"timestamp_ms":1791144236000,"timestamp_seconds":1791144236,"priority":1,"record_length":96,"hex_timestamp":"000001a1088413e0"} 
[2026-10-05 01:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:35:15] 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-10-05 01:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":205464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":205464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":205464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:35:15] 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-10-05 01:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532847360001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532847360001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:35:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:35:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532847360001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":205464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:35:15] local.INFO: GPS data processed {"connection_id":205464,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:35:15] local.INFO: Acknowledgment sent {"connection_id":205464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:35:16] local.INFO: TCP Data received {"connection_id":205464,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:35:16] local.INFO: Processing buffer {"connection_id":205464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:35:16] local.INFO: Packet analysis {"connection_id":205464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10884"} 
[2026-10-05 01:35:16] local.INFO: Extracted packet for processing {"connection_id":205464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10884"} 
[2026-10-05 01:35:16] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532847360001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:35: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-10-05 01:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791144236000,"timestamp_ms":1791144236000,"timestamp_seconds":1791144236,"priority":1,"record_length":96,"hex_timestamp":"000001a1088413e0"} 
[2026-10-05 01:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:35:16] 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-10-05 01: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-10-05 01:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:35:16] 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-10-05 01:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532847360001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532847360001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:35:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:35:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532847360001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":205464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:35:16] local.INFO: GPS data processed {"connection_id":205464,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:35:16] local.INFO: Acknowledgment sent {"connection_id":205464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:35:38] local.INFO: TCP Data received {"connection_id":207027,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:35:38] local.INFO: Processing buffer {"connection_id":207027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:35:38] local.INFO: Packet analysis {"connection_id":207027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10883"} 
[2026-10-05 01:35:38] local.INFO: Extracted packet for processing {"connection_id":207027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10883"} 
[2026-10-05 01:35:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532843264001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791144220000,"timestamp_ms":1791144220000,"timestamp_seconds":1791144220,"priority":1,"record_length":96,"hex_timestamp":"000001a10883d560"} 
[2026-10-05 01:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:35:38] 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-10-05 01:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532843264001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532843264001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:35:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:35:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532843264001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":207027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964557,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:35:38] local.INFO: GPS data processed {"connection_id":207027,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:35:38] local.INFO: Acknowledgment sent {"connection_id":207027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:35:56] local.INFO: TCP Data received {"connection_id":204016,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:35:56] local.INFO: Processing buffer {"connection_id":204016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:35:56] local.INFO: IMEI packet received {"connection_id":204016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":204016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:36:00] local.INFO: TCP Data received {"connection_id":204017,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:36:00] local.INFO: Processing buffer {"connection_id":204017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:36:00] local.INFO: IMEI packet received {"connection_id":204017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":204017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:36:01] local.INFO: TCP Data received {"connection_id":204016,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:36:01] local.INFO: Processing buffer {"connection_id":204016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:36:01] local.INFO: IMEI packet received {"connection_id":204016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":204016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:36:05] local.INFO: TCP Data received {"connection_id":204016,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:36:05] local.INFO: Processing buffer {"connection_id":204016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:36:05] local.INFO: Packet analysis {"connection_id":204016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10884"} 
[2026-10-05 01:36:05] local.INFO: Extracted packet for processing {"connection_id":204016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10884"} 
[2026-10-05 01:36:05] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532847360001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:36: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-10-05 01:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791144236000,"timestamp_ms":1791144236000,"timestamp_seconds":1791144236,"priority":1,"record_length":96,"hex_timestamp":"000001a1088413e0"} 
[2026-10-05 01:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532847360001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 01:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532847360001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:36:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:36:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532847360001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":204016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:36:05] local.INFO: GPS data processed {"connection_id":204016,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:36:05] local.INFO: Acknowledgment sent {"connection_id":204016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:36:05] local.INFO: TCP Data received {"connection_id":204017,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:36:05] local.INFO: Processing buffer {"connection_id":204017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:36:05] local.INFO: IMEI packet received {"connection_id":204017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":204017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:36:06] local.INFO: TCP Data received {"connection_id":204017,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:36:06] local.INFO: Processing buffer {"connection_id":204017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:36:06] local.INFO: Packet analysis {"connection_id":204017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10883"} 
[2026-10-05 01:36:06] local.INFO: Extracted packet for processing {"connection_id":204017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10883"} 
[2026-10-05 01:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532843264001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791144220000,"timestamp_ms":1791144220000,"timestamp_seconds":1791144220,"priority":1,"record_length":96,"hex_timestamp":"000001a10883d560"} 
[2026-10-05 01:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:36:06] 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-10-05 01: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-10-05 01:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532843264001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532843264001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:36:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:36:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532843264001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":204017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:36:07] local.INFO: GPS data processed {"connection_id":204017,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:36:07] local.INFO: Acknowledgment sent {"connection_id":204017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:36:36] local.INFO: TCP Data received {"connection_id":204016,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:36:36] local.INFO: Processing buffer {"connection_id":204016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:36:36] local.INFO: Packet analysis {"connection_id":204016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10884"} 
[2026-10-05 01:36:36] local.INFO: Extracted packet for processing {"connection_id":204016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10884"} 
[2026-10-05 01:36:36] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532847360001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791144236000,"timestamp_ms":1791144236000,"timestamp_seconds":1791144236,"priority":1,"record_length":96,"hex_timestamp":"000001a1088413e0"} 
[2026-10-05 01:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:36:36] 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-10-05 01:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532847360001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 01:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532847360001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:36:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:36:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532847360001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":204016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:36:36] local.INFO: GPS data processed {"connection_id":204016,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:36:36] local.INFO: Acknowledgment sent {"connection_id":204016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:36:38] local.INFO: TCP Data received {"connection_id":204017,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:36:38] local.INFO: Processing buffer {"connection_id":204017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:36:38] local.INFO: Packet analysis {"connection_id":204017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10883"} 
[2026-10-05 01:36:38] local.INFO: Extracted packet for processing {"connection_id":204017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10883"} 
[2026-10-05 01:36:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:36: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-10-05 01:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532843264001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791144220000,"timestamp_ms":1791144220000,"timestamp_seconds":1791144220,"priority":1,"record_length":96,"hex_timestamp":"000001a10883d560"} 
[2026-10-05 01:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:36: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":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:36:38] 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-10-05 01:36: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-10-05 01:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532843264001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532843264001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:36:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:36:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532843264001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":204017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964561,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:36:38] local.INFO: GPS data processed {"connection_id":204017,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:36:38] local.INFO: Acknowledgment sent {"connection_id":204017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:36:56] local.INFO: TCP Data received {"connection_id":203935,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:36:56] local.INFO: Processing buffer {"connection_id":203935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:36:56] local.INFO: IMEI packet received {"connection_id":203935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":203935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:37:01] local.INFO: TCP Data received {"connection_id":203936,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:37:01] local.INFO: Processing buffer {"connection_id":203936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:37:01] local.INFO: IMEI packet received {"connection_id":203936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":203936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:37:01] local.INFO: TCP Data received {"connection_id":203935,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:37:01] local.INFO: Processing buffer {"connection_id":203935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:37:01] local.INFO: IMEI packet received {"connection_id":203935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":203935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:37:02] local.INFO: TCP Data received {"connection_id":203935,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:37:02] local.INFO: Processing buffer {"connection_id":203935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:37:02] local.INFO: Packet analysis {"connection_id":203935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10884"} 
[2026-10-05 01:37:02] local.INFO: Extracted packet for processing {"connection_id":203935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10884"} 
[2026-10-05 01:37:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532847360001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:37: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-10-05 01:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791144236000,"timestamp_ms":1791144236000,"timestamp_seconds":1791144236,"priority":1,"record_length":96,"hex_timestamp":"000001a1088413e0"} 
[2026-10-05 01:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:37:02] 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-10-05 01:37: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-10-05 01:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:37:02] 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-10-05 01:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532847360001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532847360001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:37:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:37:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532847360001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":203935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:37:02] local.INFO: GPS data processed {"connection_id":203935,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:37:02] local.INFO: Acknowledgment sent {"connection_id":203935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:37:05] local.INFO: TCP Data received {"connection_id":203936,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:37:05] local.INFO: Processing buffer {"connection_id":203936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:37:05] local.INFO: IMEI packet received {"connection_id":203936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":203936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:37:06] local.INFO: TCP Data received {"connection_id":203936,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:37:06] local.INFO: Processing buffer {"connection_id":203936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:37:06] local.INFO: Packet analysis {"connection_id":203936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10883"} 
[2026-10-05 01:37:06] local.INFO: Extracted packet for processing {"connection_id":203936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10883"} 
[2026-10-05 01:37:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532843264001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791144220000,"timestamp_ms":1791144220000,"timestamp_seconds":1791144220,"priority":1,"record_length":96,"hex_timestamp":"000001a10883d560"} 
[2026-10-05 01:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:37:06] 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-10-05 01:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532843264001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532843264001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:37:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:37:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532843264001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":203936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:37:06] local.INFO: GPS data processed {"connection_id":203936,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:37:06] local.INFO: Acknowledgment sent {"connection_id":203936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:37:09] local.INFO: TCP Data received {"connection_id":203934,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:37:09] local.INFO: Processing buffer {"connection_id":203934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:37:09] local.INFO: IMEI packet received {"connection_id":203934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 01:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":203934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:37:34] local.INFO: TCP Data received {"connection_id":203935,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:37:34] local.INFO: Processing buffer {"connection_id":203935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:37:34] local.INFO: Packet analysis {"connection_id":203935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10884"} 
[2026-10-05 01:37:34] local.INFO: Extracted packet for processing {"connection_id":203935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10884"} 
[2026-10-05 01:37:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532847360001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:37: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-10-05 01:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791144236000,"timestamp_ms":1791144236000,"timestamp_seconds":1791144236,"priority":1,"record_length":96,"hex_timestamp":"000001a1088413e0"} 
[2026-10-05 01:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:37:34] 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-10-05 01: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-10-05 01:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":203935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":203935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":203935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:37:34] 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-10-05 01:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532847360001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532847360001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:37:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:37:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532847360001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":203935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:37:34] local.INFO: GPS data processed {"connection_id":203935,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:37:34] local.INFO: Acknowledgment sent {"connection_id":203935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:37:38] local.INFO: TCP Data received {"connection_id":203936,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:37:38] local.INFO: Processing buffer {"connection_id":203936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:37:38] local.INFO: Packet analysis {"connection_id":203936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10883"} 
[2026-10-05 01:37:38] local.INFO: Extracted packet for processing {"connection_id":203936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10883"} 
[2026-10-05 01:37:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532843264001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791144220000,"timestamp_ms":1791144220000,"timestamp_seconds":1791144220,"priority":1,"record_length":96,"hex_timestamp":"000001a10883d560"} 
[2026-10-05 01:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:37:38] 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-10-05 01:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532843264001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532843264001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:37:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:37:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532843264001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":203936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964565,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:37:38] local.INFO: GPS data processed {"connection_id":203936,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:37:38] local.INFO: Acknowledgment sent {"connection_id":203936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:37:44] local.INFO: TCP Data received {"connection_id":204018,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:37:44] local.INFO: Processing buffer {"connection_id":204018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:37:44] local.INFO: IMEI packet received {"connection_id":204018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 01:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":204018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:38:00] local.INFO: TCP Data received {"connection_id":204019,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:38:00] local.INFO: Processing buffer {"connection_id":204019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:38:00] local.INFO: IMEI packet received {"connection_id":204019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":204019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:38:01] local.INFO: TCP Data received {"connection_id":205465,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:38:01] local.INFO: Processing buffer {"connection_id":205465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:38:01] local.INFO: IMEI packet received {"connection_id":205465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":205465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:38:05] local.INFO: TCP Data received {"connection_id":204019,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:38:05] local.INFO: Processing buffer {"connection_id":204019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:38:05] local.INFO: IMEI packet received {"connection_id":204019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":204019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:38:06] local.INFO: TCP Data received {"connection_id":204019,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:38:06] local.INFO: Processing buffer {"connection_id":204019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:38:06] local.INFO: Packet analysis {"connection_id":204019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10883"} 
[2026-10-05 01:38:06] local.INFO: Extracted packet for processing {"connection_id":204019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10883"} 
[2026-10-05 01:38:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532843264001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791144220000,"timestamp_ms":1791144220000,"timestamp_seconds":1791144220,"priority":1,"record_length":96,"hex_timestamp":"000001a10883d560"} 
[2026-10-05 01:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:38:06] local.INFO: TCP Data received {"connection_id":205465,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:38:06] 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-10-05 01:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532843264001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:38:06] local.INFO: Processing buffer {"connection_id":205465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:38:06] local.INFO: IMEI packet received {"connection_id":205465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":205465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532843264001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:38:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:38:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532843264001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":204019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:38:07] local.INFO: GPS data processed {"connection_id":204019,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:38:07] local.INFO: Acknowledgment sent {"connection_id":204019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:38:07] local.INFO: TCP Data received {"connection_id":205465,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:38:07] local.INFO: Processing buffer {"connection_id":205465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:38:07] local.INFO: Packet analysis {"connection_id":205465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10884"} 
[2026-10-05 01:38:07] local.INFO: Extracted packet for processing {"connection_id":205465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10884"} 
[2026-10-05 01:38:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532847360001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:38: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-10-05 01:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791144236000,"timestamp_ms":1791144236000,"timestamp_seconds":1791144236,"priority":1,"record_length":96,"hex_timestamp":"000001a1088413e0"} 
[2026-10-05 01:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532847360001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 01:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532847360001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:38:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:38:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532847360001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":205465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:38:07] local.INFO: GPS data processed {"connection_id":205465,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:38:07] local.INFO: Acknowledgment sent {"connection_id":205465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:38:11] local.INFO: TCP Data received {"connection_id":205465,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:38:11] local.INFO: Processing buffer {"connection_id":205465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:38:11] local.INFO: Packet analysis {"connection_id":205465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10884"} 
[2026-10-05 01:38:11] local.INFO: Extracted packet for processing {"connection_id":205465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10884"} 
[2026-10-05 01:38:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532847360001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791144236000,"timestamp_ms":1791144236000,"timestamp_seconds":1791144236,"priority":1,"record_length":96,"hex_timestamp":"000001a1088413e0"} 
[2026-10-05 01:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:38:11] 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-10-05 01:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532847360001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 01:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532847360001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:38:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532847360001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":205465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:38:11] local.INFO: GPS data processed {"connection_id":205465,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:38:11] local.INFO: Acknowledgment sent {"connection_id":205465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:38:38] local.INFO: TCP Data received {"connection_id":204019,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:38:38] local.INFO: Processing buffer {"connection_id":204019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10883d560012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:38:38] local.INFO: Packet analysis {"connection_id":204019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10883"} 
[2026-10-05 01:38:38] local.INFO: Extracted packet for processing {"connection_id":204019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10883"} 
[2026-10-05 01:38:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:38: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-10-05 01:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532843264001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791144220000,"timestamp_ms":1791144220000,"timestamp_seconds":1791144220,"priority":1,"record_length":96,"hex_timestamp":"000001a10883d560"} 
[2026-10-05 01:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:38: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":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:38:38] 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-10-05 01:38: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-10-05 01:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532843264001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532843264001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:38:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:38:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532843264001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":204019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:38:38] local.INFO: GPS data processed {"connection_id":204019,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:38:38] local.INFO: Acknowledgment sent {"connection_id":204019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:38:56] local.INFO: TCP Data received {"connection_id":204020,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:38:56] local.INFO: Processing buffer {"connection_id":204020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:38:56] local.INFO: IMEI packet received {"connection_id":204020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":204020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:39:02] local.INFO: TCP Data received {"connection_id":204020,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:39:02] local.INFO: Processing buffer {"connection_id":204020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:39:02] local.INFO: IMEI packet received {"connection_id":204020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":204020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:39:03] local.INFO: TCP Data received {"connection_id":204020,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:39:03] local.INFO: Processing buffer {"connection_id":204020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:39:03] local.INFO: Packet analysis {"connection_id":204020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10884"} 
[2026-10-05 01:39:03] local.INFO: Extracted packet for processing {"connection_id":204020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10884"} 
[2026-10-05 01:39:03] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532847360001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:39: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-10-05 01:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791144236000,"timestamp_ms":1791144236000,"timestamp_seconds":1791144236,"priority":1,"record_length":96,"hex_timestamp":"000001a1088413e0"} 
[2026-10-05 01:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":204020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":204020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":204020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:39: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-10-05 01:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532847360001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532847360001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:39:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:39:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532847360001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":204020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:39:03] local.INFO: GPS data processed {"connection_id":204020,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:39:03] local.INFO: Acknowledgment sent {"connection_id":204020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:39:05] local.INFO: TCP Data received {"connection_id":205466,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:39:05] local.INFO: Processing buffer {"connection_id":205466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:39:05] local.INFO: IMEI packet received {"connection_id":205466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":205466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:39:07] local.INFO: TCP Data received {"connection_id":204020,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:39:07] local.INFO: Processing buffer {"connection_id":204020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088413e0012d7f91c005afd9f00016010128..."} 
[2026-10-05 01:39:07] local.INFO: Packet analysis {"connection_id":204020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10884"} 
[2026-10-05 01:39:07] local.INFO: Extracted packet for processing {"connection_id":204020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10884"} 
[2026-10-05 01:39:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532847360001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:39: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-10-05 01:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791144236000,"timestamp_ms":1791144236000,"timestamp_seconds":1791144236,"priority":1,"record_length":96,"hex_timestamp":"000001a1088413e0"} 
[2026-10-05 01:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:39:07] 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-10-05 01:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532847360001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532847360001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:39:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:39:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532847360001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":204020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:39:07] local.INFO: GPS data processed {"connection_id":204020,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:39:07] local.INFO: Acknowledgment sent {"connection_id":204020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:39:10] local.INFO: TCP Data received {"connection_id":205466,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:39:10] local.INFO: Processing buffer {"connection_id":205466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:39:10] local.INFO: IMEI packet received {"connection_id":205466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":205466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:39:11] local.INFO: TCP Data received {"connection_id":205466,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:39:11] local.INFO: Processing buffer {"connection_id":205466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:39:11] local.INFO: Packet analysis {"connection_id":205466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:39:11] local.INFO: Extracted packet for processing {"connection_id":205466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:39:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532920320001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791144521000,"timestamp_ms":1791144521000,"timestamp_seconds":1791144521,"priority":1,"record_length":96,"hex_timestamp":"000001a108886d28"} 
[2026-10-05 01:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:39:11] 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-10-05 01:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:39:11] 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-10-05 01:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532920320001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532920320001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:39:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:39:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532920320001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":205466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:39:11] local.INFO: GPS data processed {"connection_id":205466,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:39:11] local.INFO: Acknowledgment sent {"connection_id":205466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:39:38] local.INFO: TCP Data received {"connection_id":204020,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:39:38] local.INFO: Processing buffer {"connection_id":204020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:39:38] local.INFO: Packet analysis {"connection_id":204020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:39:38] local.INFO: Extracted packet for processing {"connection_id":204020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:39:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532924416001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:39:38] 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-10-05 01:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791144537000,"timestamp_ms":1791144537000,"timestamp_seconds":1791144537,"priority":1,"record_length":96,"hex_timestamp":"000001a10888aba8"} 
[2026-10-05 01:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:39:38] 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-10-05 01:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:39:38] 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-10-05 01:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:39:38] 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-10-05 01:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532924416001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532924416001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:39:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:39:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532924416001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":204020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:39:38] local.INFO: GPS data processed {"connection_id":204020,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:39:38] local.INFO: Acknowledgment sent {"connection_id":204020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:39:42] local.INFO: TCP Data received {"connection_id":205466,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:39:42] local.INFO: Processing buffer {"connection_id":205466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:39:42] local.INFO: Packet analysis {"connection_id":205466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:39:42] local.INFO: Extracted packet for processing {"connection_id":205466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:39:42] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532920320001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791144521000,"timestamp_ms":1791144521000,"timestamp_seconds":1791144521,"priority":1,"record_length":96,"hex_timestamp":"000001a108886d28"} 
[2026-10-05 01:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:39:42] 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-10-05 01:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:39:42] 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-10-05 01:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":205466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":205466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":205466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532920320001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532920320001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:39:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:39:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532920320001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":205466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:39:42] local.INFO: GPS data processed {"connection_id":205466,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:39:42] local.INFO: Acknowledgment sent {"connection_id":205466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:39:56] local.INFO: TCP Data received {"connection_id":207029,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:39:56] local.INFO: Processing buffer {"connection_id":207029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:39:56] local.INFO: IMEI packet received {"connection_id":207029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":207029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:40:00] local.INFO: TCP Data received {"connection_id":203938,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:40:00] local.INFO: Processing buffer {"connection_id":203938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:40:00] local.INFO: IMEI packet received {"connection_id":203938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":203938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:40:01] local.INFO: TCP Data received {"connection_id":207029,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:40:01] local.INFO: Processing buffer {"connection_id":207029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:40:01] local.INFO: IMEI packet received {"connection_id":207029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":207029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:40:02] local.INFO: TCP Data received {"connection_id":207029,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:40:02] local.INFO: Processing buffer {"connection_id":207029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:40:02] local.INFO: Packet analysis {"connection_id":207029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:40:02] local.INFO: Extracted packet for processing {"connection_id":207029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:40:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532924416001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:40:02] 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-10-05 01:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791144537000,"timestamp_ms":1791144537000,"timestamp_seconds":1791144537,"priority":1,"record_length":96,"hex_timestamp":"000001a10888aba8"} 
[2026-10-05 01:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:40: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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:40:02] 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-10-05 01: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-10-05 01:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532924416001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532924416001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:40:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:40:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532924416001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":207029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:40:02] local.INFO: GPS data processed {"connection_id":207029,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:40:02] local.INFO: Acknowledgment sent {"connection_id":207029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:40:05] local.INFO: TCP Data received {"connection_id":203938,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:40:05] local.INFO: Processing buffer {"connection_id":203938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:40:05] local.INFO: IMEI packet received {"connection_id":203938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":203938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:40:06] local.INFO: TCP Data received {"connection_id":203938,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:40:06] local.INFO: Processing buffer {"connection_id":203938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:40:06] local.INFO: Packet analysis {"connection_id":203938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:40:06] local.INFO: Extracted packet for processing {"connection_id":203938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:40:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532920320001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791144521000,"timestamp_ms":1791144521000,"timestamp_seconds":1791144521,"priority":1,"record_length":96,"hex_timestamp":"000001a108886d28"} 
[2026-10-05 01:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:40:06] 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-10-05 01:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:40:06] 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-10-05 01:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532920320001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532920320001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:40:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:40:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532920320001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":203938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:40:06] local.INFO: GPS data processed {"connection_id":203938,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:40:06] local.INFO: Acknowledgment sent {"connection_id":203938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:40:34] local.INFO: TCP Data received {"connection_id":207029,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:40:34] local.INFO: Processing buffer {"connection_id":207029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:40:34] local.INFO: Packet analysis {"connection_id":207029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:40:34] local.INFO: Extracted packet for processing {"connection_id":207029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:40:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532924416001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:40:34] 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-10-05 01:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791144537000,"timestamp_ms":1791144537000,"timestamp_seconds":1791144537,"priority":1,"record_length":96,"hex_timestamp":"000001a10888aba8"} 
[2026-10-05 01:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:40:34] 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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:40:34] 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-10-05 01: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-10-05 01:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":207029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":207029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":207029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532924416001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532924416001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:40:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:40:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532924416001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":207029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:40:34] local.INFO: GPS data processed {"connection_id":207029,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:40:34] local.INFO: Acknowledgment sent {"connection_id":207029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:40:37] local.INFO: TCP Data received {"connection_id":203938,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:40:37] local.INFO: Processing buffer {"connection_id":203938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:40:37] local.INFO: Packet analysis {"connection_id":203938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:40:37] local.INFO: Extracted packet for processing {"connection_id":203938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:40:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532920320001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791144521000,"timestamp_ms":1791144521000,"timestamp_seconds":1791144521,"priority":1,"record_length":96,"hex_timestamp":"000001a108886d28"} 
[2026-10-05 01:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:40:37] 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-10-05 01:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:40:37] 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-10-05 01:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532920320001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532920320001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:40:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:40:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532920320001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":203938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964578,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:40:37] local.INFO: GPS data processed {"connection_id":203938,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:40:37] local.INFO: Acknowledgment sent {"connection_id":203938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:41:00] local.INFO: TCP Data received {"connection_id":203940,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:41:00] local.INFO: Processing buffer {"connection_id":203940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:41:00] local.INFO: IMEI packet received {"connection_id":203940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":203940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:41:01] local.INFO: TCP Data received {"connection_id":203939,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:41:01] local.INFO: Processing buffer {"connection_id":203939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:41:01] local.INFO: IMEI packet received {"connection_id":203939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":203939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:41:05] local.INFO: TCP Data received {"connection_id":203940,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:41:05] local.INFO: Processing buffer {"connection_id":203940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:41:05] local.INFO: IMEI packet received {"connection_id":203940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":203940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:41:06] local.INFO: TCP Data received {"connection_id":203940,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:41:06] local.INFO: Processing buffer {"connection_id":203940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:41:06] local.INFO: Packet analysis {"connection_id":203940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:41:06] local.INFO: Extracted packet for processing {"connection_id":203940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:41:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532920320001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791144521000,"timestamp_ms":1791144521000,"timestamp_seconds":1791144521,"priority":1,"record_length":96,"hex_timestamp":"000001a108886d28"} 
[2026-10-05 01:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:41:06] 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-10-05 01: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:41:06] 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-10-05 01: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-10-05 01:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532920320001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532920320001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:41:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:41:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532920320001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":203940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:41:06] local.INFO: GPS data processed {"connection_id":203940,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:41:06] local.INFO: Acknowledgment sent {"connection_id":203940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:41:06] local.INFO: TCP Data received {"connection_id":203939,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:41:06] local.INFO: Processing buffer {"connection_id":203939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:41:06] local.INFO: IMEI packet received {"connection_id":203939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":203939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:41:08] local.INFO: TCP Data received {"connection_id":203939,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:41:08] local.INFO: Processing buffer {"connection_id":203939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:41:08] local.INFO: Packet analysis {"connection_id":203939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:41:08] local.INFO: Extracted packet for processing {"connection_id":203939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:41:08] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532924416001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:41:08] 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-10-05 01:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791144537000,"timestamp_ms":1791144537000,"timestamp_seconds":1791144537,"priority":1,"record_length":96,"hex_timestamp":"000001a10888aba8"} 
[2026-10-05 01:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:41:08] 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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":203939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":203939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":203939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532924416001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532924416001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:41:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:41:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532924416001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":203939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:41:08] local.INFO: GPS data processed {"connection_id":203939,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:41:08] local.INFO: Acknowledgment sent {"connection_id":203939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:41:11] local.INFO: TCP Data received {"connection_id":203939,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:41:11] local.INFO: Processing buffer {"connection_id":203939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:41:11] local.INFO: Packet analysis {"connection_id":203939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:41:11] local.INFO: Extracted packet for processing {"connection_id":203939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:41:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532924416001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:41:11] 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-10-05 01:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791144537000,"timestamp_ms":1791144537000,"timestamp_seconds":1791144537,"priority":1,"record_length":96,"hex_timestamp":"000001a10888aba8"} 
[2026-10-05 01:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:41:11] 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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:41:11] 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-10-05 01: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-10-05 01:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":203939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":203939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":203939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532924416001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532924416001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:41:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532924416001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":203939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:41:11] local.INFO: GPS data processed {"connection_id":203939,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:41:11] local.INFO: Acknowledgment sent {"connection_id":203939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:41:38] local.INFO: TCP Data received {"connection_id":203940,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:41:38] local.INFO: Processing buffer {"connection_id":203940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:41:38] local.INFO: Packet analysis {"connection_id":203940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:41:38] local.INFO: Extracted packet for processing {"connection_id":203940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:41:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532920320001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791144521000,"timestamp_ms":1791144521000,"timestamp_seconds":1791144521,"priority":1,"record_length":96,"hex_timestamp":"000001a108886d28"} 
[2026-10-05 01:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:41:38] 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-10-05 01:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:41:38] 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-10-05 01:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532920320001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532920320001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:41:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:41:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532920320001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":203940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964582,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:41:38] local.INFO: GPS data processed {"connection_id":203940,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:41:38] local.INFO: Acknowledgment sent {"connection_id":203940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:41:56] local.INFO: TCP Data received {"connection_id":207030,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:41:56] local.INFO: Processing buffer {"connection_id":207030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:41:56] local.INFO: IMEI packet received {"connection_id":207030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":207030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:42:00] local.INFO: TCP Data received {"connection_id":204023,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:42:00] local.INFO: Processing buffer {"connection_id":204023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:42:00] local.INFO: IMEI packet received {"connection_id":204023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":204023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:42:01] local.INFO: TCP Data received {"connection_id":207030,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:42:01] local.INFO: Processing buffer {"connection_id":207030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:42:01] local.INFO: IMEI packet received {"connection_id":207030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":207030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:42:02] local.INFO: TCP Data received {"connection_id":207030,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:42:02] local.INFO: Processing buffer {"connection_id":207030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:42:02] local.INFO: Packet analysis {"connection_id":207030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:42:02] local.INFO: Extracted packet for processing {"connection_id":207030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:42:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532924416001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:42:02] 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-10-05 01:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791144537000,"timestamp_ms":1791144537000,"timestamp_seconds":1791144537,"priority":1,"record_length":96,"hex_timestamp":"000001a10888aba8"} 
[2026-10-05 01:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:42: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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:42:02] 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-10-05 01: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-10-05 01:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532924416001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532924416001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:42:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:42:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532924416001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":207030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:42:02] local.INFO: GPS data processed {"connection_id":207030,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:42:02] local.INFO: Acknowledgment sent {"connection_id":207030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:42:05] local.INFO: TCP Data received {"connection_id":204023,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:42:05] local.INFO: Processing buffer {"connection_id":204023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:42:05] local.INFO: IMEI packet received {"connection_id":204023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":204023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:42:06] local.INFO: TCP Data received {"connection_id":204023,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:42:06] local.INFO: Processing buffer {"connection_id":204023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:42:06] local.INFO: Packet analysis {"connection_id":204023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:42:06] local.INFO: Extracted packet for processing {"connection_id":204023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:42:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532920320001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791144521000,"timestamp_ms":1791144521000,"timestamp_seconds":1791144521,"priority":1,"record_length":96,"hex_timestamp":"000001a108886d28"} 
[2026-10-05 01:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:42:06] 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-10-05 01:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:42:06] 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-10-05 01:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532920320001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532920320001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:42:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:42:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532920320001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":204023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964584,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:42:06] local.INFO: GPS data processed {"connection_id":204023,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:42:06] local.INFO: Acknowledgment sent {"connection_id":204023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:42:33] local.INFO: TCP Data received {"connection_id":207030,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:42:33] local.INFO: Processing buffer {"connection_id":207030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:42:33] local.INFO: Packet analysis {"connection_id":207030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:42:33] local.INFO: Extracted packet for processing {"connection_id":207030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532924416001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:42: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-10-05 01:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791144537000,"timestamp_ms":1791144537000,"timestamp_seconds":1791144537,"priority":1,"record_length":96,"hex_timestamp":"000001a10888aba8"} 
[2026-10-05 01:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:42:33] 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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:42:33] 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-10-05 01:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532924416001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 01:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532924416001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:42:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532924416001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":207030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:42:33] local.INFO: GPS data processed {"connection_id":207030,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:42:33] local.INFO: Acknowledgment sent {"connection_id":207030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:42:38] local.INFO: TCP Data received {"connection_id":204023,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:42:38] local.INFO: Processing buffer {"connection_id":204023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:42:38] local.INFO: Packet analysis {"connection_id":204023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:42:38] local.INFO: Extracted packet for processing {"connection_id":204023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:42:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:42: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-10-05 01:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532920320001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791144521000,"timestamp_ms":1791144521000,"timestamp_seconds":1791144521,"priority":1,"record_length":96,"hex_timestamp":"000001a108886d28"} 
[2026-10-05 01:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:42:38] 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-10-05 01:42: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":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:42:38] 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-10-05 01:42: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-10-05 01:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532920320001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532920320001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:42:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:42:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532920320001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":204023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:42:38] local.INFO: GPS data processed {"connection_id":204023,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:42:38] local.INFO: Acknowledgment sent {"connection_id":204023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:42:56] local.INFO: TCP Data received {"connection_id":207032,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:42:56] local.INFO: Processing buffer {"connection_id":207032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:42:56] local.INFO: IMEI packet received {"connection_id":207032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":207032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:43:00] local.INFO: TCP Data received {"connection_id":205468,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:43:00] local.INFO: Processing buffer {"connection_id":205468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:43:00] local.INFO: IMEI packet received {"connection_id":205468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":205468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:43:01] local.INFO: TCP Data received {"connection_id":207032,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:43:01] local.INFO: Processing buffer {"connection_id":207032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:43:01] local.INFO: IMEI packet received {"connection_id":207032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":207032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:43:02] local.INFO: TCP Data received {"connection_id":207032,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:43:02] local.INFO: Processing buffer {"connection_id":207032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:43:02] local.INFO: Packet analysis {"connection_id":207032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:43:02] local.INFO: Extracted packet for processing {"connection_id":207032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:43:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532924416001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:43:02] 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-10-05 01:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791144537000,"timestamp_ms":1791144537000,"timestamp_seconds":1791144537,"priority":1,"record_length":96,"hex_timestamp":"000001a10888aba8"} 
[2026-10-05 01:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:43: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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:43:02] 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-10-05 01: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-10-05 01:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532924416001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532924416001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:43:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:43:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532924416001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":207032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:43:02] local.INFO: GPS data processed {"connection_id":207032,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:43:02] local.INFO: Acknowledgment sent {"connection_id":207032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:43:05] local.INFO: TCP Data received {"connection_id":205468,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:43:05] local.INFO: Processing buffer {"connection_id":205468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:43:05] local.INFO: IMEI packet received {"connection_id":205468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":205468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:43:06] local.INFO: TCP Data received {"connection_id":205468,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:43:06] local.INFO: Processing buffer {"connection_id":205468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:43:06] local.INFO: Packet analysis {"connection_id":205468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:43:06] local.INFO: Extracted packet for processing {"connection_id":205468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:43:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532920320001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791144521000,"timestamp_ms":1791144521000,"timestamp_seconds":1791144521,"priority":1,"record_length":96,"hex_timestamp":"000001a108886d28"} 
[2026-10-05 01:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:43:06] 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-10-05 01: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:43:06] 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-10-05 01: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-10-05 01:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532920320001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532920320001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:43:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:43:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532920320001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":205468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964588,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:43:07] local.INFO: GPS data processed {"connection_id":205468,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:43:07] local.INFO: Acknowledgment sent {"connection_id":205468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:43:14] local.INFO: TCP Data received {"connection_id":207031,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207031,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:43:14] local.INFO: Processing buffer {"connection_id":207031,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:43:14] local.INFO: IMEI packet received {"connection_id":207031,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 01:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":207031,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:43:33] local.INFO: TCP Data received {"connection_id":207032,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:43:33] local.INFO: Processing buffer {"connection_id":207032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:43:33] local.INFO: Packet analysis {"connection_id":207032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:43:33] local.INFO: Extracted packet for processing {"connection_id":207032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:43:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 01:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532924416001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:43: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-10-05 01:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791144537000,"timestamp_ms":1791144537000,"timestamp_seconds":1791144537,"priority":1,"record_length":96,"hex_timestamp":"000001a10888aba8"} 
[2026-10-05 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-10-05 01:43:33] 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-10-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 01:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532924416001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532924416001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:43:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:43:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532924416001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":207032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:43:33] local.INFO: GPS data processed {"connection_id":207032,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:43:33] local.INFO: Acknowledgment sent {"connection_id":207032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:43:38] local.INFO: TCP Data received {"connection_id":205468,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:43:38] local.INFO: Processing buffer {"connection_id":205468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108886d28012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:43:38] local.INFO: Packet analysis {"connection_id":205468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:43:38] local.INFO: Extracted packet for processing {"connection_id":205468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:43:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532920320001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791144521000,"timestamp_ms":1791144521000,"timestamp_seconds":1791144521,"priority":1,"record_length":96,"hex_timestamp":"000001a108886d28"} 
[2026-10-05 01:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:43:38] 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-10-05 01: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:43:38] 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-10-05 01: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-10-05 01:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532920320001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532920320001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:43:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:43:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532920320001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":205468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:43:38] local.INFO: GPS data processed {"connection_id":205468,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:43:38] local.INFO: Acknowledgment sent {"connection_id":205468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:43:43] local.INFO: TCP Data received {"connection_id":204024,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204024,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:43:43] local.INFO: Processing buffer {"connection_id":204024,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:43:43] local.INFO: IMEI packet received {"connection_id":204024,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 01:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":204024,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:43:56] local.INFO: TCP Data received {"connection_id":207033,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:43:56] local.INFO: Processing buffer {"connection_id":207033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:43:56] local.INFO: IMEI packet received {"connection_id":207033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":207033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:44:01] local.INFO: TCP Data received {"connection_id":207033,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:44:01] local.INFO: Processing buffer {"connection_id":207033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:44:01] local.INFO: IMEI packet received {"connection_id":207033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":207033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:44:02] local.INFO: TCP Data received {"connection_id":207033,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:44:02] local.INFO: Processing buffer {"connection_id":207033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:44:02] local.INFO: Packet analysis {"connection_id":207033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:44:02] local.INFO: Extracted packet for processing {"connection_id":207033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:44:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532924416001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:44:02] 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-10-05 01:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791144537000,"timestamp_ms":1791144537000,"timestamp_seconds":1791144537,"priority":1,"record_length":96,"hex_timestamp":"000001a10888aba8"} 
[2026-10-05 01:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:44: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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:44:02] 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-10-05 01: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-10-05 01:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532924416001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532924416001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:44:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:44:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532924416001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":207033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:44:02] local.INFO: GPS data processed {"connection_id":207033,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:44:02] local.INFO: Acknowledgment sent {"connection_id":207033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:44:05] local.INFO: TCP Data received {"connection_id":205469,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:44:05] local.INFO: Processing buffer {"connection_id":205469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:44:05] local.INFO: IMEI packet received {"connection_id":205469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":205469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:44:10] local.INFO: TCP Data received {"connection_id":205469,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:44:10] local.INFO: Processing buffer {"connection_id":205469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:44:10] local.INFO: IMEI packet received {"connection_id":205469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":205469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:44:11] local.INFO: TCP Data received {"connection_id":205469,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:44:11] local.INFO: Processing buffer {"connection_id":205469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:44:11] local.INFO: Packet analysis {"connection_id":205469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:44:11] local.INFO: Extracted packet for processing {"connection_id":205469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:44:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532997376001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791144822000,"timestamp_ms":1791144822000,"timestamp_seconds":1791144822,"priority":1,"record_length":96,"hex_timestamp":"000001a1088d04f0"} 
[2026-10-05 01:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:44:11] 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-10-05 01: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 01:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532997376001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532997376001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:44:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532997376001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":205469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964592,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:44:11] local.INFO: GPS data processed {"connection_id":205469,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:44:11] local.INFO: Acknowledgment sent {"connection_id":205469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:44:33] local.INFO: TCP Data received {"connection_id":207033,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:44:33] local.INFO: Processing buffer {"connection_id":207033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10888aba8012d7f91c005afd9f00016010127..."} 
[2026-10-05 01:44:33] local.INFO: Packet analysis {"connection_id":207033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:44:33] local.INFO: Extracted packet for processing {"connection_id":207033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10888"} 
[2026-10-05 01:44:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532924416001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:44: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-10-05 01:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791144537000,"timestamp_ms":1791144537000,"timestamp_seconds":1791144537,"priority":1,"record_length":96,"hex_timestamp":"000001a10888aba8"} 
[2026-10-05 01:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:44:33] 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-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532924416001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532924416001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:44:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:44:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532924416001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":207033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:44:33] local.INFO: GPS data processed {"connection_id":207033,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:44:33] local.INFO: Acknowledgment sent {"connection_id":207033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:44:42] local.INFO: TCP Data received {"connection_id":205469,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:44:42] local.INFO: Processing buffer {"connection_id":205469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:44:42] local.INFO: Packet analysis {"connection_id":205469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:44:42] local.INFO: Extracted packet for processing {"connection_id":205469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:44:42] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532997376001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791144822000,"timestamp_ms":1791144822000,"timestamp_seconds":1791144822,"priority":1,"record_length":96,"hex_timestamp":"000001a1088d04f0"} 
[2026-10-05 01:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:44:42] 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-10-05 01:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 01:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":205469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":205469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":205469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532997376001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532997376001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:44:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:44:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532997376001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":205469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964594,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:44:43] local.INFO: GPS data processed {"connection_id":205469,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:44:43] local.INFO: Acknowledgment sent {"connection_id":205469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:44:56] local.INFO: TCP Data received {"connection_id":203941,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:44:56] local.INFO: Processing buffer {"connection_id":203941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:44:56] local.INFO: IMEI packet received {"connection_id":203941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":203941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:45:00] local.INFO: TCP Data received {"connection_id":205470,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:45:00] local.INFO: Processing buffer {"connection_id":205470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:45:00] local.INFO: IMEI packet received {"connection_id":205470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":205470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:45:01] local.INFO: TCP Data received {"connection_id":203941,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:45:01] local.INFO: Processing buffer {"connection_id":203941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:45:01] local.INFO: IMEI packet received {"connection_id":203941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":203941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:45:02] local.INFO: TCP Data received {"connection_id":203941,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:45:02] local.INFO: Processing buffer {"connection_id":203941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:45:02] local.INFO: Packet analysis {"connection_id":203941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:45:02] local.INFO: Extracted packet for processing {"connection_id":203941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533001472001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:45:02] 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-10-05 01:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791144838000,"timestamp_ms":1791144838000,"timestamp_seconds":1791144838,"priority":1,"record_length":96,"hex_timestamp":"000001a1088d4370"} 
[2026-10-05 01:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:45:02] 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-10-05 01: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-10-05 01:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533001472001,"66":25299,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533001472001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:45:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:45:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533001472001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":203941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:45:02] local.INFO: GPS data processed {"connection_id":203941,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:45:02] local.INFO: Acknowledgment sent {"connection_id":203941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:45:05] local.INFO: TCP Data received {"connection_id":205470,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:45:05] local.INFO: Processing buffer {"connection_id":205470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:45:05] local.INFO: IMEI packet received {"connection_id":205470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":205470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:45:06] local.INFO: TCP Data received {"connection_id":205470,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:45:06] local.INFO: Processing buffer {"connection_id":205470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:45:06] local.INFO: Packet analysis {"connection_id":205470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:45:06] local.INFO: Extracted packet for processing {"connection_id":205470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:45:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532997376001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791144822000,"timestamp_ms":1791144822000,"timestamp_seconds":1791144822,"priority":1,"record_length":96,"hex_timestamp":"000001a1088d04f0"} 
[2026-10-05 01:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:45:06] 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-10-05 01: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":91,"data_length":795,"current_offset":136} 
[2026-10-05 01:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532997376001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532997376001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:45:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:45:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532997376001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":205470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964596,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:45:06] local.INFO: GPS data processed {"connection_id":205470,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:45:06] local.INFO: Acknowledgment sent {"connection_id":205470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:45:34] local.INFO: TCP Data received {"connection_id":203941,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:45:34] local.INFO: Processing buffer {"connection_id":203941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:45:34] local.INFO: Packet analysis {"connection_id":203941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:45:34] local.INFO: Extracted packet for processing {"connection_id":203941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:45:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533001472001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:45:34] 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-10-05 01:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791144838000,"timestamp_ms":1791144838000,"timestamp_seconds":1791144838,"priority":1,"record_length":96,"hex_timestamp":"000001a1088d4370"} 
[2026-10-05 01:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:45:34] 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-10-05 01:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":203941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":203941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":203941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533001472001,"66":25299,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533001472001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:45:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:45:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533001472001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":203941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:45:34] local.INFO: GPS data processed {"connection_id":203941,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:45:34] local.INFO: Acknowledgment sent {"connection_id":203941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:45:38] local.INFO: TCP Data received {"connection_id":205470,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:45:38] local.INFO: Processing buffer {"connection_id":205470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:45:38] local.INFO: Packet analysis {"connection_id":205470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:45:38] local.INFO: Extracted packet for processing {"connection_id":205470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:45:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532997376001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791144822000,"timestamp_ms":1791144822000,"timestamp_seconds":1791144822,"priority":1,"record_length":96,"hex_timestamp":"000001a1088d04f0"} 
[2026-10-05 01:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:45:38] 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-10-05 01:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 01:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532997376001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532997376001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:45:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:45:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532997376001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":205470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:45:38] local.INFO: GPS data processed {"connection_id":205470,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:45:38] local.INFO: Acknowledgment sent {"connection_id":205470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:46:00] local.INFO: TCP Data received {"connection_id":203942,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:46:00] local.INFO: Processing buffer {"connection_id":203942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:46:00] local.INFO: IMEI packet received {"connection_id":203942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":203942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:46:01] local.INFO: TCP Data received {"connection_id":207035,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:46:01] local.INFO: Processing buffer {"connection_id":207035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:46:01] local.INFO: IMEI packet received {"connection_id":207035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":207035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:46:05] local.INFO: TCP Data received {"connection_id":203942,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:46:05] local.INFO: Processing buffer {"connection_id":203942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:46:05] local.INFO: IMEI packet received {"connection_id":203942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":203942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:46:06] local.INFO: TCP Data received {"connection_id":207035,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:46:06] local.INFO: Processing buffer {"connection_id":207035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:46:06] local.INFO: IMEI packet received {"connection_id":207035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":207035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:46:06] local.INFO: TCP Data received {"connection_id":203942,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:46:06] local.INFO: Processing buffer {"connection_id":203942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:46:06] local.INFO: Packet analysis {"connection_id":203942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:46:06] local.INFO: Extracted packet for processing {"connection_id":203942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:46:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532997376001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791144822000,"timestamp_ms":1791144822000,"timestamp_seconds":1791144822,"priority":1,"record_length":96,"hex_timestamp":"000001a1088d04f0"} 
[2026-10-05 01:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:46:06] 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-10-05 01: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 01:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532997376001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532997376001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:46:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:46:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532997376001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":203942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:46:06] local.INFO: GPS data processed {"connection_id":203942,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:46:06] local.INFO: Acknowledgment sent {"connection_id":203942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:46:07] local.INFO: TCP Data received {"connection_id":207035,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:46:07] local.INFO: Processing buffer {"connection_id":207035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:46:07] local.INFO: Packet analysis {"connection_id":207035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:46:07] local.INFO: Extracted packet for processing {"connection_id":207035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:46:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533001472001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:46:07] 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-10-05 01:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791144838000,"timestamp_ms":1791144838000,"timestamp_seconds":1791144838,"priority":1,"record_length":96,"hex_timestamp":"000001a1088d4370"} 
[2026-10-05 01:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:46:07] 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-10-05 01:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533001472001,"66":25299,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533001472001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:46:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:46:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533001472001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":207035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:46:07] local.INFO: GPS data processed {"connection_id":207035,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:46:07] local.INFO: Acknowledgment sent {"connection_id":207035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:46:11] local.INFO: TCP Data received {"connection_id":207035,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:46:11] local.INFO: Processing buffer {"connection_id":207035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:46:11] local.INFO: Packet analysis {"connection_id":207035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:46:11] local.INFO: Extracted packet for processing {"connection_id":207035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:46:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533001472001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:46:11] 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-10-05 01:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791144838000,"timestamp_ms":1791144838000,"timestamp_seconds":1791144838,"priority":1,"record_length":96,"hex_timestamp":"000001a1088d4370"} 
[2026-10-05 01:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:46:11] 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-10-05 01:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:46:11] 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-10-05 01:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533001472001,"66":25299,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533001472001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:46:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:46:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533001472001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":207035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:46:11] local.INFO: GPS data processed {"connection_id":207035,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:46:11] local.INFO: Acknowledgment sent {"connection_id":207035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:46:38] local.INFO: TCP Data received {"connection_id":203942,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:46:38] local.INFO: Processing buffer {"connection_id":203942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:46:38] local.INFO: Packet analysis {"connection_id":203942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:46:38] local.INFO: Extracted packet for processing {"connection_id":203942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:46:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532997376001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791144822000,"timestamp_ms":1791144822000,"timestamp_seconds":1791144822,"priority":1,"record_length":96,"hex_timestamp":"000001a1088d04f0"} 
[2026-10-05 01:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:46:38] 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-10-05 01:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 01:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532997376001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532997376001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:46:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:46:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532997376001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":203942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964602,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:46:38] local.INFO: GPS data processed {"connection_id":203942,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:46:38] local.INFO: Acknowledgment sent {"connection_id":203942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:46:56] local.INFO: TCP Data received {"connection_id":205472,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:46:56] local.INFO: Processing buffer {"connection_id":205472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:46:56] local.INFO: IMEI packet received {"connection_id":205472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":205472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:47:00] local.INFO: TCP Data received {"connection_id":204026,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204026,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:47:00] local.INFO: Processing buffer {"connection_id":204026,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:47:00] local.INFO: IMEI packet received {"connection_id":204026,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":204026,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:47:01] local.INFO: TCP Data received {"connection_id":205472,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:47:01] local.INFO: Processing buffer {"connection_id":205472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:47:01] local.INFO: IMEI packet received {"connection_id":205472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":205472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:47:02] local.INFO: TCP Data received {"connection_id":205472,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:47:02] local.INFO: Processing buffer {"connection_id":205472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:47:02] local.INFO: Packet analysis {"connection_id":205472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:47:02] local.INFO: Extracted packet for processing {"connection_id":205472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:47:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533001472001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:47:02] 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-10-05 01:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791144838000,"timestamp_ms":1791144838000,"timestamp_seconds":1791144838,"priority":1,"record_length":96,"hex_timestamp":"000001a1088d4370"} 
[2026-10-05 01:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:47:02] 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-10-05 01: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-10-05 01:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533001472001,"66":25299,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533001472001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:47:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:47:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533001472001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":205472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:47:02] local.INFO: GPS data processed {"connection_id":205472,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:47:02] local.INFO: Acknowledgment sent {"connection_id":205472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:47:05] local.INFO: TCP Data received {"connection_id":204026,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204026,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:47:05] local.INFO: Processing buffer {"connection_id":204026,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:47:05] local.INFO: IMEI packet received {"connection_id":204026,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":204026,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:47:06] local.INFO: TCP Data received {"connection_id":204026,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:47:06] local.INFO: Processing buffer {"connection_id":204026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:47:06] local.INFO: Packet analysis {"connection_id":204026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:47:06] local.INFO: Extracted packet for processing {"connection_id":204026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:47:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532997376001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791144822000,"timestamp_ms":1791144822000,"timestamp_seconds":1791144822,"priority":1,"record_length":96,"hex_timestamp":"000001a1088d04f0"} 
[2026-10-05 01:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:47:06] 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-10-05 01:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 01:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532997376001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532997376001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:47:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:47:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532997376001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":204026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:47:06] local.INFO: GPS data processed {"connection_id":204026,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:47:06] local.INFO: Acknowledgment sent {"connection_id":204026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:47:33] local.INFO: TCP Data received {"connection_id":205472,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:47:33] local.INFO: Processing buffer {"connection_id":205472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:47:33] local.INFO: Packet analysis {"connection_id":205472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:47:33] local.INFO: Extracted packet for processing {"connection_id":205472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533001472001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:47: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-10-05 01:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791144838000,"timestamp_ms":1791144838000,"timestamp_seconds":1791144838,"priority":1,"record_length":96,"hex_timestamp":"000001a1088d4370"} 
[2026-10-05 01:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533001472001,"66":25299,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533001472001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:47:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:47:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533001472001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":205472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:47:33] local.INFO: GPS data processed {"connection_id":205472,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:47:33] local.INFO: Acknowledgment sent {"connection_id":205472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:47:38] local.INFO: TCP Data received {"connection_id":204026,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:47:38] local.INFO: Processing buffer {"connection_id":204026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:47:38] local.INFO: Packet analysis {"connection_id":204026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:47:38] local.INFO: Extracted packet for processing {"connection_id":204026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:47:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532997376001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791144822000,"timestamp_ms":1791144822000,"timestamp_seconds":1791144822,"priority":1,"record_length":96,"hex_timestamp":"000001a1088d04f0"} 
[2026-10-05 01:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:47:38] 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-10-05 01: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 01:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532997376001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532997376001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:47:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:47:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532997376001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":204026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:47:38] local.INFO: GPS data processed {"connection_id":204026,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:47:38] local.INFO: Acknowledgment sent {"connection_id":204026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:47:56] local.INFO: TCP Data received {"connection_id":204027,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:47:56] local.INFO: Processing buffer {"connection_id":204027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:47:56] local.INFO: IMEI packet received {"connection_id":204027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":204027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:48:01] local.INFO: TCP Data received {"connection_id":204027,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:48:01] local.INFO: Processing buffer {"connection_id":204027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:48:01] local.INFO: IMEI packet received {"connection_id":204027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":204027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:48:02] local.INFO: TCP Data received {"connection_id":204027,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:48:02] local.INFO: Processing buffer {"connection_id":204027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:48:02] local.INFO: Packet analysis {"connection_id":204027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:48:02] local.INFO: Extracted packet for processing {"connection_id":204027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:48:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533001472001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:48:02] 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-10-05 01:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791144838000,"timestamp_ms":1791144838000,"timestamp_seconds":1791144838,"priority":1,"record_length":96,"hex_timestamp":"000001a1088d4370"} 
[2026-10-05 01:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:48:02] 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-10-05 01: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-10-05 01:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533001472001,"66":25299,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533001472001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:48:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:48:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533001472001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":204027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:48:02] local.INFO: GPS data processed {"connection_id":204027,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:48:02] local.INFO: Acknowledgment sent {"connection_id":204027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:48:05] local.INFO: TCP Data received {"connection_id":203943,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:48:05] local.INFO: Processing buffer {"connection_id":203943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:48:05] local.INFO: IMEI packet received {"connection_id":203943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":203943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:48:10] local.INFO: TCP Data received {"connection_id":203943,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:48:10] local.INFO: Processing buffer {"connection_id":203943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:48:10] local.INFO: IMEI packet received {"connection_id":203943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":203943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:48:11] local.INFO: TCP Data received {"connection_id":203943,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:48:11] local.INFO: Processing buffer {"connection_id":203943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:48:11] local.INFO: Packet analysis {"connection_id":203943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:48:11] local.INFO: Extracted packet for processing {"connection_id":203943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:48:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532997376001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791144822000,"timestamp_ms":1791144822000,"timestamp_seconds":1791144822,"priority":1,"record_length":96,"hex_timestamp":"000001a1088d04f0"} 
[2026-10-05 01:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:48:11] 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-10-05 01:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 01:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":203943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":203943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":203943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532997376001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532997376001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:48:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:48:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532997376001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":203943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:48:11] local.INFO: GPS data processed {"connection_id":203943,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:48:11] local.INFO: Acknowledgment sent {"connection_id":203943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:48:16] local.INFO: TCP Data received {"connection_id":203943,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:48:16] local.INFO: Processing buffer {"connection_id":203943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088d04f0012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 01:48:16] local.INFO: Packet analysis {"connection_id":203943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:48:16] local.INFO: Extracted packet for processing {"connection_id":203943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:48:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458532997376001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791144822000,"timestamp_ms":1791144822000,"timestamp_seconds":1791144822,"priority":1,"record_length":96,"hex_timestamp":"000001a1088d04f0"} 
[2026-10-05 01:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:48:16] 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-10-05 01:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 01:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":203943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":203943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":203943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458532997376001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458532997376001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:48:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:48:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458532997376001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":203943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964609,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:48:16] local.INFO: GPS data processed {"connection_id":203943,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:48:16] local.INFO: Acknowledgment sent {"connection_id":203943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:48:33] local.INFO: TCP Data received {"connection_id":204027,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:48:33] local.INFO: Processing buffer {"connection_id":204027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:48:33] local.INFO: Packet analysis {"connection_id":204027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:48:33] local.INFO: Extracted packet for processing {"connection_id":204027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533001472001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:48: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-10-05 01:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791144838000,"timestamp_ms":1791144838000,"timestamp_seconds":1791144838,"priority":1,"record_length":96,"hex_timestamp":"000001a1088d4370"} 
[2026-10-05 01:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533001472001,"66":25299,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533001472001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:48:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:48:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533001472001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":204027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:48:33] local.INFO: GPS data processed {"connection_id":204027,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:48:33] local.INFO: Acknowledgment sent {"connection_id":204027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:48:56] local.INFO: TCP Data received {"connection_id":203944,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:48:56] local.INFO: Processing buffer {"connection_id":203944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:48:56] local.INFO: IMEI packet received {"connection_id":203944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":203944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:49:00] local.INFO: TCP Data received {"connection_id":205473,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:49:00] local.INFO: Processing buffer {"connection_id":205473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:49:00] local.INFO: IMEI packet received {"connection_id":205473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":205473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:49:01] local.INFO: TCP Data received {"connection_id":203944,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:49:01] local.INFO: Processing buffer {"connection_id":203944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:49:01] local.INFO: IMEI packet received {"connection_id":203944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":203944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:49:02] local.INFO: TCP Data received {"connection_id":203944,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:49:02] local.INFO: Processing buffer {"connection_id":203944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:49:02] local.INFO: Packet analysis {"connection_id":203944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:49:02] local.INFO: Extracted packet for processing {"connection_id":203944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:49:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533001472001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:49:02] 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-10-05 01:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791144838000,"timestamp_ms":1791144838000,"timestamp_seconds":1791144838,"priority":1,"record_length":96,"hex_timestamp":"000001a1088d4370"} 
[2026-10-05 01:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:49:02] 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-10-05 01:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533001472001,"66":25299,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533001472001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:49:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:49:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533001472001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":203944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:49:02] local.INFO: GPS data processed {"connection_id":203944,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:49:02] local.INFO: Acknowledgment sent {"connection_id":203944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:49:05] local.INFO: TCP Data received {"connection_id":205473,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:49:05] local.INFO: Processing buffer {"connection_id":205473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:49:05] local.INFO: IMEI packet received {"connection_id":205473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":205473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:49:07] local.INFO: TCP Data received {"connection_id":205473,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:49:07] local.INFO: Processing buffer {"connection_id":205473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:49:07] local.INFO: Packet analysis {"connection_id":205473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:49:07] local.INFO: Extracted packet for processing {"connection_id":205473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:49:07] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533074432001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791145123000,"timestamp_ms":1791145123000,"timestamp_seconds":1791145123,"priority":1,"record_length":96,"hex_timestamp":"000001a108919cb8"} 
[2026-10-05 01:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533074432001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533074432001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:49:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:49:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533074432001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":205473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964612,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:49:07] local.INFO: GPS data processed {"connection_id":205473,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:49:07] local.INFO: Acknowledgment sent {"connection_id":205473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:49:19] local.INFO: TCP Data received {"connection_id":204028,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:49:19] local.INFO: Processing buffer {"connection_id":204028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:49:19] local.INFO: IMEI packet received {"connection_id":204028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 01:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":204028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:49:33] local.INFO: TCP Data received {"connection_id":203944,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:49:33] local.INFO: Processing buffer {"connection_id":203944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1088d4370012d7f91c005afd9f0001601012a..."} 
[2026-10-05 01:49:33] local.INFO: Packet analysis {"connection_id":203944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:49:33] local.INFO: Extracted packet for processing {"connection_id":203944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1088d"} 
[2026-10-05 01:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533001472001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:49: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-10-05 01:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791144838000,"timestamp_ms":1791144838000,"timestamp_seconds":1791144838,"priority":1,"record_length":96,"hex_timestamp":"000001a1088d4370"} 
[2026-10-05 01:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533001472001,"66":25299,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533001472001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:49:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:49:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533001472001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":203944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:49:33] local.INFO: GPS data processed {"connection_id":203944,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:49:33] local.INFO: Acknowledgment sent {"connection_id":203944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:49:38] local.INFO: TCP Data received {"connection_id":205473,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:49:38] local.INFO: Processing buffer {"connection_id":205473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:49:38] local.INFO: Packet analysis {"connection_id":205473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:49:38] local.INFO: Extracted packet for processing {"connection_id":205473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:49:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533074432001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791145123000,"timestamp_ms":1791145123000,"timestamp_seconds":1791145123,"priority":1,"record_length":96,"hex_timestamp":"000001a108919cb8"} 
[2026-10-05 01:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:49:38] 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-10-05 01:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533074432001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533074432001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:49:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:49:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533074432001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":205473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:49:38] local.INFO: GPS data processed {"connection_id":205473,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:49:38] local.INFO: Acknowledgment sent {"connection_id":205473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:49:43] local.INFO: TCP Data received {"connection_id":207037,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:49:43] local.INFO: Processing buffer {"connection_id":207037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:49:43] local.INFO: IMEI packet received {"connection_id":207037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 01:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":207037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:49:56] local.INFO: TCP Data received {"connection_id":203945,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:49:56] local.INFO: Processing buffer {"connection_id":203945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:49:56] local.INFO: IMEI packet received {"connection_id":203945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":203945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:50:00] local.INFO: TCP Data received {"connection_id":204029,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:50:00] local.INFO: Processing buffer {"connection_id":204029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:50:00] local.INFO: IMEI packet received {"connection_id":204029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":204029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:50:01] local.INFO: TCP Data received {"connection_id":203945,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:50:01] local.INFO: Processing buffer {"connection_id":203945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:50:01] local.INFO: IMEI packet received {"connection_id":203945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":203945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:50:02] local.INFO: TCP Data received {"connection_id":203945,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:50:02] local.INFO: Processing buffer {"connection_id":203945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:50:02] local.INFO: Packet analysis {"connection_id":203945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:50:02] local.INFO: Extracted packet for processing {"connection_id":203945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:50:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533078528001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:50: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-10-05 01:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791145139000,"timestamp_ms":1791145139000,"timestamp_seconds":1791145139,"priority":1,"record_length":96,"hex_timestamp":"000001a10891db38"} 
[2026-10-05 01:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-10-05 01:50:02] 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-10-05 01: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-10-05 01:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533078528001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 01:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533078528001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:50:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:50:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533078528001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":203945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:50:02] local.INFO: GPS data processed {"connection_id":203945,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:50:02] local.INFO: Acknowledgment sent {"connection_id":203945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:50:05] local.INFO: TCP Data received {"connection_id":204029,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:50:05] local.INFO: Processing buffer {"connection_id":204029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:50:05] local.INFO: IMEI packet received {"connection_id":204029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":204029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:50:06] local.INFO: TCP Data received {"connection_id":204029,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:50:06] local.INFO: Processing buffer {"connection_id":204029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:50:06] local.INFO: Packet analysis {"connection_id":204029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:50:06] local.INFO: Extracted packet for processing {"connection_id":204029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:50:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533074432001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791145123000,"timestamp_ms":1791145123000,"timestamp_seconds":1791145123,"priority":1,"record_length":96,"hex_timestamp":"000001a108919cb8"} 
[2026-10-05 01:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:50:06] 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-10-05 01: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-10-05 01:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:50: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-10-05 01:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533074432001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533074432001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:50:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:50:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533074432001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":204029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:50:06] local.INFO: GPS data processed {"connection_id":204029,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:50:06] local.INFO: Acknowledgment sent {"connection_id":204029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:50:33] local.INFO: TCP Data received {"connection_id":203945,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:50:33] local.INFO: Processing buffer {"connection_id":203945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:50:33] local.INFO: Packet analysis {"connection_id":203945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:50:33] local.INFO: Extracted packet for processing {"connection_id":203945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533078528001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:50: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-10-05 01:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791145139000,"timestamp_ms":1791145139000,"timestamp_seconds":1791145139,"priority":1,"record_length":96,"hex_timestamp":"000001a10891db38"} 
[2026-10-05 01:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-10-05 01:50:33] 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-10-05 01: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-10-05 01:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533078528001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 01:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533078528001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:50:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:50:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533078528001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":203945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:50:33] local.INFO: GPS data processed {"connection_id":203945,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:50:33] local.INFO: Acknowledgment sent {"connection_id":203945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:50:37] local.INFO: TCP Data received {"connection_id":204029,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:50:37] local.INFO: Processing buffer {"connection_id":204029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:50:37] local.INFO: Packet analysis {"connection_id":204029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:50:37] local.INFO: Extracted packet for processing {"connection_id":204029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:50:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533074432001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791145123000,"timestamp_ms":1791145123000,"timestamp_seconds":1791145123,"priority":1,"record_length":96,"hex_timestamp":"000001a108919cb8"} 
[2026-10-05 01:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:50:37] 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-10-05 01:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:50: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-10-05 01:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533074432001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533074432001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:50:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:50:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533074432001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":204029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:50:37] local.INFO: GPS data processed {"connection_id":204029,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:50:37] local.INFO: Acknowledgment sent {"connection_id":204029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:51:00] local.INFO: TCP Data received {"connection_id":205475,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205475,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:51:00] local.INFO: Processing buffer {"connection_id":205475,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:51:00] local.INFO: IMEI packet received {"connection_id":205475,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":205475,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:51:01] local.INFO: TCP Data received {"connection_id":205474,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:51:01] local.INFO: Processing buffer {"connection_id":205474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:51:01] local.INFO: IMEI packet received {"connection_id":205474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":205474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:51:05] local.INFO: TCP Data received {"connection_id":205475,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205475,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:51:05] local.INFO: Processing buffer {"connection_id":205475,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:51:05] local.INFO: IMEI packet received {"connection_id":205475,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":205475,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:51:06] local.INFO: TCP Data received {"connection_id":205475,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:51:06] local.INFO: Processing buffer {"connection_id":205475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:51:06] local.INFO: Packet analysis {"connection_id":205475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:51:06] local.INFO: Extracted packet for processing {"connection_id":205475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:51:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533074432001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791145123000,"timestamp_ms":1791145123000,"timestamp_seconds":1791145123,"priority":1,"record_length":96,"hex_timestamp":"000001a108919cb8"} 
[2026-10-05 01:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:51:06] 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-10-05 01:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:51: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-10-05 01:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533074432001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533074432001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:51:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:51:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533074432001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":205475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:51:06] local.INFO: GPS data processed {"connection_id":205475,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:51:06] local.INFO: Acknowledgment sent {"connection_id":205475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:51:06] local.INFO: TCP Data received {"connection_id":205474,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:51:06] local.INFO: Processing buffer {"connection_id":205474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:51:06] local.INFO: IMEI packet received {"connection_id":205474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":205474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:51:07] local.INFO: TCP Data received {"connection_id":205474,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:51:07] local.INFO: Processing buffer {"connection_id":205474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:51:07] local.INFO: Packet analysis {"connection_id":205474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:51:07] local.INFO: Extracted packet for processing {"connection_id":205474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:51:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533078528001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:51: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-10-05 01:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791145139000,"timestamp_ms":1791145139000,"timestamp_seconds":1791145139,"priority":1,"record_length":96,"hex_timestamp":"000001a10891db38"} 
[2026-10-05 01:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-10-05 01:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:51:07] 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-10-05 01:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533078528001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 01:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533078528001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:51:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:51:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533078528001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":205474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:51:07] local.INFO: GPS data processed {"connection_id":205474,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:51:07] local.INFO: Acknowledgment sent {"connection_id":205474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:51:17] local.INFO: TCP Data received {"connection_id":205474,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:51:17] local.INFO: Processing buffer {"connection_id":205474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:51:17] local.INFO: Packet analysis {"connection_id":205474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:51:17] local.INFO: Extracted packet for processing {"connection_id":205474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:51:17] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533078528001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791145139000,"timestamp_ms":1791145139000,"timestamp_seconds":1791145139,"priority":1,"record_length":96,"hex_timestamp":"000001a10891db38"} 
[2026-10-05 01:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-10-05 01:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":205474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":205474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":205474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533078528001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 01:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533078528001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:51:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:51:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533078528001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":205474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:51:17] local.INFO: GPS data processed {"connection_id":205474,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:51:17] local.INFO: Acknowledgment sent {"connection_id":205474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:51:37] local.INFO: TCP Data received {"connection_id":205475,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:51:37] local.INFO: Processing buffer {"connection_id":205475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:51:37] local.INFO: Packet analysis {"connection_id":205475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:51:37] local.INFO: Extracted packet for processing {"connection_id":205475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:51:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533074432001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791145123000,"timestamp_ms":1791145123000,"timestamp_seconds":1791145123,"priority":1,"record_length":96,"hex_timestamp":"000001a108919cb8"} 
[2026-10-05 01:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:51:37] 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-10-05 01:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:51: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-10-05 01:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533074432001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533074432001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:51:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:51:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533074432001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":205475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964622,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:51:38] local.INFO: GPS data processed {"connection_id":205475,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:51:38] local.INFO: Acknowledgment sent {"connection_id":205475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:51:56] local.INFO: TCP Data received {"connection_id":203948,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:51:56] local.INFO: Processing buffer {"connection_id":203948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:51:56] local.INFO: IMEI packet received {"connection_id":203948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":203948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:52:00] local.INFO: TCP Data received {"connection_id":207038,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:52:00] local.INFO: Processing buffer {"connection_id":207038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:52:00] local.INFO: IMEI packet received {"connection_id":207038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":207038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:52:02] local.INFO: TCP Data received {"connection_id":203948,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:52:03] local.INFO: Processing buffer {"connection_id":203948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:52:03] local.INFO: IMEI packet received {"connection_id":203948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":203948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:52:03] local.INFO: TCP Data received {"connection_id":203948,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:52:03] local.INFO: Processing buffer {"connection_id":203948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:52:03] local.INFO: Packet analysis {"connection_id":203948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:52:03] local.INFO: Extracted packet for processing {"connection_id":203948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:52:03] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533078528001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:52: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-10-05 01:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791145139000,"timestamp_ms":1791145139000,"timestamp_seconds":1791145139,"priority":1,"record_length":96,"hex_timestamp":"000001a10891db38"} 
[2026-10-05 01:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-10-05 01:52:03] 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-10-05 01: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-10-05 01:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":203948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":203948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":203948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:52:03] 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-10-05 01:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533078528001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 01:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533078528001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:52:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:52:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533078528001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":203948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:52:03] local.INFO: GPS data processed {"connection_id":203948,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:52:03] local.INFO: Acknowledgment sent {"connection_id":203948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:52:05] local.INFO: TCP Data received {"connection_id":207038,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:52:05] local.INFO: Processing buffer {"connection_id":207038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:52:05] local.INFO: IMEI packet received {"connection_id":207038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":207038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:52:06] local.INFO: TCP Data received {"connection_id":207038,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:52:06] local.INFO: Processing buffer {"connection_id":207038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:52:06] local.INFO: Packet analysis {"connection_id":207038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:52:06] local.INFO: Extracted packet for processing {"connection_id":207038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533074432001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791145123000,"timestamp_ms":1791145123000,"timestamp_seconds":1791145123,"priority":1,"record_length":96,"hex_timestamp":"000001a108919cb8"} 
[2026-10-05 01:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:52:06] 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-10-05 01: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-10-05 01:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01: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-10-05 01:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533074432001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533074432001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:52:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:52:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533074432001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":207038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:52:06] local.INFO: GPS data processed {"connection_id":207038,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:52:06] local.INFO: Acknowledgment sent {"connection_id":207038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:52:34] local.INFO: TCP Data received {"connection_id":203948,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:52:34] local.INFO: Processing buffer {"connection_id":203948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:52:34] local.INFO: Packet analysis {"connection_id":203948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:52:34] local.INFO: Extracted packet for processing {"connection_id":203948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:52:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533078528001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:52: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-10-05 01:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791145139000,"timestamp_ms":1791145139000,"timestamp_seconds":1791145139,"priority":1,"record_length":96,"hex_timestamp":"000001a10891db38"} 
[2026-10-05 01:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-10-05 01:52:34] 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-10-05 01: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-10-05 01:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":203948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":203948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":203948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533078528001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 01:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533078528001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:52:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:52:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533078528001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":203948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:52:34] local.INFO: GPS data processed {"connection_id":203948,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:52:34] local.INFO: Acknowledgment sent {"connection_id":203948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:52:38] local.INFO: TCP Data received {"connection_id":207038,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:52:38] local.INFO: Processing buffer {"connection_id":207038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:52:38] local.INFO: Packet analysis {"connection_id":207038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:52:38] local.INFO: Extracted packet for processing {"connection_id":207038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:52:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533074432001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791145123000,"timestamp_ms":1791145123000,"timestamp_seconds":1791145123,"priority":1,"record_length":96,"hex_timestamp":"000001a108919cb8"} 
[2026-10-05 01:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:52:38] 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-10-05 01:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:52: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-10-05 01:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533074432001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533074432001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:52:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:52:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533074432001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":207038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:52:38] local.INFO: GPS data processed {"connection_id":207038,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:52:38] local.INFO: Acknowledgment sent {"connection_id":207038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:53:00] local.INFO: TCP Data received {"connection_id":205476,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:53:00] local.INFO: Processing buffer {"connection_id":205476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:53:00] local.INFO: IMEI packet received {"connection_id":205476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":205476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:53:01] local.INFO: TCP Data received {"connection_id":205476,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:53:01] local.INFO: Processing buffer {"connection_id":205476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:53:01] local.INFO: IMEI packet received {"connection_id":205476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":205476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:53:02] local.INFO: TCP Data received {"connection_id":205476,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:53:02] local.INFO: Processing buffer {"connection_id":205476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:53:02] local.INFO: Packet analysis {"connection_id":205476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:53:02] local.INFO: Extracted packet for processing {"connection_id":205476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:53:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533078528001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01: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-10-05 01:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791145139000,"timestamp_ms":1791145139000,"timestamp_seconds":1791145139,"priority":1,"record_length":96,"hex_timestamp":"000001a10891db38"} 
[2026-10-05 01:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-10-05 01:53:02] 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-10-05 01: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-10-05 01:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533078528001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 01:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533078528001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:53:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:53:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533078528001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":205476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:53:02] local.INFO: GPS data processed {"connection_id":205476,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:53:02] local.INFO: Acknowledgment sent {"connection_id":205476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:53:05] local.INFO: TCP Data received {"connection_id":204030,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:53:05] local.INFO: Processing buffer {"connection_id":204030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:53:05] local.INFO: IMEI packet received {"connection_id":204030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":204030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:53:06] local.INFO: TCP Data received {"connection_id":205476,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:53:06] local.INFO: Processing buffer {"connection_id":205476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:53:06] local.INFO: Packet analysis {"connection_id":205476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:53:06] local.INFO: Extracted packet for processing {"connection_id":205476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:53:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 01:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533078528001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 01:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791145139000,"timestamp_ms":1791145139000,"timestamp_seconds":1791145139,"priority":1,"record_length":96,"hex_timestamp":"000001a10891db38"} 
[2026-10-05 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-10-05 01:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-10-05 01:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 01:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533078528001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 01:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533078528001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:53:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:53:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533078528001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":205476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:53:06] local.INFO: GPS data processed {"connection_id":205476,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:53:06] local.INFO: Acknowledgment sent {"connection_id":205476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:53:10] local.INFO: TCP Data received {"connection_id":204030,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:53:10] local.INFO: Processing buffer {"connection_id":204030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:53:10] local.INFO: IMEI packet received {"connection_id":204030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":204030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:53:11] local.INFO: TCP Data received {"connection_id":204030,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:53:11] local.INFO: Processing buffer {"connection_id":204030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:53:11] local.INFO: Packet analysis {"connection_id":204030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:53:11] local.INFO: Extracted packet for processing {"connection_id":204030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:53:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533074432001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791145123000,"timestamp_ms":1791145123000,"timestamp_seconds":1791145123,"priority":1,"record_length":96,"hex_timestamp":"000001a108919cb8"} 
[2026-10-05 01:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:53:11] 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-10-05 01:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:53: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-10-05 01:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533074432001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533074432001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:53:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533074432001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":204030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:53:11] local.INFO: GPS data processed {"connection_id":204030,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:53:11] local.INFO: Acknowledgment sent {"connection_id":204030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:53:16] local.INFO: TCP Data received {"connection_id":204030,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:53:16] local.INFO: Processing buffer {"connection_id":204030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108919cb8012d7c2ac005dac8a0000200bf26..."} 
[2026-10-05 01:53:16] local.INFO: Packet analysis {"connection_id":204030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:53:16] local.INFO: Extracted packet for processing {"connection_id":204030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:53:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533074432001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791145123000,"timestamp_ms":1791145123000,"timestamp_seconds":1791145123,"priority":1,"record_length":96,"hex_timestamp":"000001a108919cb8"} 
[2026-10-05 01:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:53:16] 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-10-05 01:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:53: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-10-05 01:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533074432001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533074432001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:53:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:53:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533074432001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":204030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:53:16] local.INFO: GPS data processed {"connection_id":204030,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:53:16] local.INFO: Acknowledgment sent {"connection_id":204030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:53:38] local.INFO: TCP Data received {"connection_id":205476,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:53:38] local.INFO: Processing buffer {"connection_id":205476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:53:38] local.INFO: Packet analysis {"connection_id":205476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:53:38] local.INFO: Extracted packet for processing {"connection_id":205476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:53:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533078528001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791145139000,"timestamp_ms":1791145139000,"timestamp_seconds":1791145139,"priority":1,"record_length":96,"hex_timestamp":"000001a10891db38"} 
[2026-10-05 01:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-10-05 01:53:38] 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-10-05 01:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:53:38] 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-10-05 01:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533078528001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 01:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533078528001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:53:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:53:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533078528001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":205476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:53:38] local.INFO: GPS data processed {"connection_id":205476,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:53:38] local.INFO: Acknowledgment sent {"connection_id":205476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:53:56] local.INFO: TCP Data received {"connection_id":207039,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:53:56] local.INFO: Processing buffer {"connection_id":207039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:53:56] local.INFO: IMEI packet received {"connection_id":207039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":207039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:54:00] local.INFO: TCP Data received {"connection_id":207040,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:54:00] local.INFO: Processing buffer {"connection_id":207040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:54:00] local.INFO: IMEI packet received {"connection_id":207040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":207040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:54:01] local.INFO: TCP Data received {"connection_id":207039,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:54:01] local.INFO: Processing buffer {"connection_id":207039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:54:01] local.INFO: IMEI packet received {"connection_id":207039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":207039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:54:03] local.INFO: TCP Data received {"connection_id":207039,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:54:03] local.INFO: Processing buffer {"connection_id":207039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:54:03] local.INFO: Packet analysis {"connection_id":207039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:54:03] local.INFO: Extracted packet for processing {"connection_id":207039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:54:03] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533078528001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:54: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-10-05 01:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791145139000,"timestamp_ms":1791145139000,"timestamp_seconds":1791145139,"priority":1,"record_length":96,"hex_timestamp":"000001a10891db38"} 
[2026-10-05 01:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-10-05 01:54:03] 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-10-05 01:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":207039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":207039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":207039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:54:03] 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-10-05 01:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533078528001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 01:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533078528001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:54:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:54:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533078528001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":207039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:54:03] local.INFO: GPS data processed {"connection_id":207039,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:54:03] local.INFO: Acknowledgment sent {"connection_id":207039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:54:05] local.INFO: TCP Data received {"connection_id":207040,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:54:05] local.INFO: Processing buffer {"connection_id":207040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:54:05] local.INFO: IMEI packet received {"connection_id":207040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":207040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:54:06] local.INFO: TCP Data received {"connection_id":207040,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:54:06] local.INFO: Processing buffer {"connection_id":207040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:54:06] local.INFO: Packet analysis {"connection_id":207040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:54:06] local.INFO: Extracted packet for processing {"connection_id":207040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:54:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533151488001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791145424000,"timestamp_ms":1791145424000,"timestamp_seconds":1791145424,"priority":1,"record_length":96,"hex_timestamp":"000001a108963480"} 
[2026-10-05 01:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:54:06] 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-10-05 01: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-10-05 01:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:54: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-10-05 01:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533151488001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533151488001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:54:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:54:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533151488001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":207040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:54:06] local.INFO: GPS data processed {"connection_id":207040,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:54:06] local.INFO: Acknowledgment sent {"connection_id":207040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:54:34] local.INFO: TCP Data received {"connection_id":207039,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:54:34] local.INFO: Processing buffer {"connection_id":207039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10891db38012d7f91c005afd9f00016010126..."} 
[2026-10-05 01:54:34] local.INFO: Packet analysis {"connection_id":207039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:54:34] local.INFO: Extracted packet for processing {"connection_id":207039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10891"} 
[2026-10-05 01:54:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533078528001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:54: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-10-05 01:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791145139000,"timestamp_ms":1791145139000,"timestamp_seconds":1791145139,"priority":1,"record_length":96,"hex_timestamp":"000001a10891db38"} 
[2026-10-05 01:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-10-05 01:54:34] 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-10-05 01: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-10-05 01:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":207039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":207039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":207039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533078528001,"66":25321,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 01:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533078528001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:54:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 01:54:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533078528001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":207039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:54:34] local.INFO: GPS data processed {"connection_id":207039,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:54:34] local.INFO: Acknowledgment sent {"connection_id":207039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:54:38] local.INFO: TCP Data received {"connection_id":207040,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:54:38] local.INFO: Processing buffer {"connection_id":207040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:54:38] local.INFO: Packet analysis {"connection_id":207040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:54:38] local.INFO: Extracted packet for processing {"connection_id":207040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:54:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533151488001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791145424000,"timestamp_ms":1791145424000,"timestamp_seconds":1791145424,"priority":1,"record_length":96,"hex_timestamp":"000001a108963480"} 
[2026-10-05 01:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:54:38] 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-10-05 01:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:54: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-10-05 01:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533151488001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533151488001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:54:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:54:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533151488001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":207040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:54:38] local.INFO: GPS data processed {"connection_id":207040,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:54:38] local.INFO: Acknowledgment sent {"connection_id":207040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:54:56] local.INFO: TCP Data received {"connection_id":207041,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:54:56] local.INFO: Processing buffer {"connection_id":207041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:54:56] local.INFO: IMEI packet received {"connection_id":207041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":207041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:55:00] local.INFO: TCP Data received {"connection_id":205477,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:55:00] local.INFO: Processing buffer {"connection_id":205477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:55:00] local.INFO: IMEI packet received {"connection_id":205477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":205477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:55:01] local.INFO: TCP Data received {"connection_id":207041,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:55:01] local.INFO: Processing buffer {"connection_id":207041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:55:01] local.INFO: IMEI packet received {"connection_id":207041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":207041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:55:02] local.INFO: TCP Data received {"connection_id":207041,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:55:02] local.INFO: Processing buffer {"connection_id":207041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:55:02] local.INFO: Packet analysis {"connection_id":207041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:55:02] local.INFO: Extracted packet for processing {"connection_id":207041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:55:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533155584001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:55:02] 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-10-05 01:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791145440000,"timestamp_ms":1791145440000,"timestamp_seconds":1791145440,"priority":1,"record_length":96,"hex_timestamp":"000001a108967300"} 
[2026-10-05 01:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:55:02] 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-10-05 01: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-10-05 01:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533155584001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533155584001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:55:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:55:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533155584001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":207041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:55:02] local.INFO: GPS data processed {"connection_id":207041,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:55:02] local.INFO: Acknowledgment sent {"connection_id":207041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:55:05] local.INFO: TCP Data received {"connection_id":205477,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:55:05] local.INFO: Processing buffer {"connection_id":205477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:55:05] local.INFO: IMEI packet received {"connection_id":205477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":205477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:55:06] local.INFO: TCP Data received {"connection_id":205477,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:55:06] local.INFO: Processing buffer {"connection_id":205477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:55:06] local.INFO: Packet analysis {"connection_id":205477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:55:06] local.INFO: Extracted packet for processing {"connection_id":205477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:55:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533151488001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791145424000,"timestamp_ms":1791145424000,"timestamp_seconds":1791145424,"priority":1,"record_length":96,"hex_timestamp":"000001a108963480"} 
[2026-10-05 01:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:55:06] 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-10-05 01: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-10-05 01:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:55: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-10-05 01:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533151488001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533151488001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:55:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:55:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533151488001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":205477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:55:06] local.INFO: GPS data processed {"connection_id":205477,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:55:06] local.INFO: Acknowledgment sent {"connection_id":205477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:55:09] local.INFO: TCP Data received {"connection_id":203951,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:55:09] local.INFO: Processing buffer {"connection_id":203951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:55:09] local.INFO: IMEI packet received {"connection_id":203951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 01:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":203951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:55:34] local.INFO: TCP Data received {"connection_id":207041,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:55:34] local.INFO: Processing buffer {"connection_id":207041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:55:34] local.INFO: Packet analysis {"connection_id":207041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:55:34] local.INFO: Extracted packet for processing {"connection_id":207041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:55:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533155584001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:55:34] 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-10-05 01:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791145440000,"timestamp_ms":1791145440000,"timestamp_seconds":1791145440,"priority":1,"record_length":96,"hex_timestamp":"000001a108967300"} 
[2026-10-05 01:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:55:34] 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-10-05 01: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-10-05 01:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":207041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":207041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":207041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533155584001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533155584001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:55:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:55:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533155584001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":207041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:55:34] local.INFO: GPS data processed {"connection_id":207041,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:55:34] local.INFO: Acknowledgment sent {"connection_id":207041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:55:37] local.INFO: TCP Data received {"connection_id":205477,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:55:37] local.INFO: Processing buffer {"connection_id":205477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:55:37] local.INFO: Packet analysis {"connection_id":205477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:55:37] local.INFO: Extracted packet for processing {"connection_id":205477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:55:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533151488001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791145424000,"timestamp_ms":1791145424000,"timestamp_seconds":1791145424,"priority":1,"record_length":96,"hex_timestamp":"000001a108963480"} 
[2026-10-05 01:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:55:37] 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-10-05 01: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-10-05 01:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:55: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-10-05 01:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533151488001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533151488001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:55:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:55:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533151488001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":205477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:55:38] local.INFO: GPS data processed {"connection_id":205477,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:55:38] local.INFO: Acknowledgment sent {"connection_id":205477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:55:43] local.INFO: TCP Data received {"connection_id":203952,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:55:43] local.INFO: Processing buffer {"connection_id":203952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 01:55:43] local.INFO: IMEI packet received {"connection_id":203952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 01:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":203952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:56:00] local.INFO: TCP Data received {"connection_id":203953,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:56:00] local.INFO: Processing buffer {"connection_id":203953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:56:00] local.INFO: IMEI packet received {"connection_id":203953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":203953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:56:05] local.INFO: TCP Data received {"connection_id":205478,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:56:05] local.INFO: Processing buffer {"connection_id":205478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:56:05] local.INFO: IMEI packet received {"connection_id":205478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":205478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:56:05] local.INFO: TCP Data received {"connection_id":203953,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:56:05] local.INFO: Processing buffer {"connection_id":203953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:56:05] local.INFO: IMEI packet received {"connection_id":203953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":203953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:56:06] local.INFO: TCP Data received {"connection_id":205478,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:56:06] local.INFO: Processing buffer {"connection_id":205478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:56:06] local.INFO: IMEI packet received {"connection_id":205478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":205478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:56:06] local.INFO: TCP Data received {"connection_id":203953,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:56:06] local.INFO: Processing buffer {"connection_id":203953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:56:06] local.INFO: Packet analysis {"connection_id":203953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:56:06] local.INFO: Extracted packet for processing {"connection_id":203953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:56:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533151488001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791145424000,"timestamp_ms":1791145424000,"timestamp_seconds":1791145424,"priority":1,"record_length":96,"hex_timestamp":"000001a108963480"} 
[2026-10-05 01:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:56:06] 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-10-05 01: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-10-05 01:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:56: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-10-05 01:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533151488001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533151488001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:56:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:56:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533151488001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":203953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:56:06] local.INFO: GPS data processed {"connection_id":203953,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:56:06] local.INFO: Acknowledgment sent {"connection_id":203953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:56:07] local.INFO: TCP Data received {"connection_id":205478,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:56:07] local.INFO: Processing buffer {"connection_id":205478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:56:07] local.INFO: Packet analysis {"connection_id":205478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:56:07] local.INFO: Extracted packet for processing {"connection_id":205478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:56:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533155584001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:56:07] 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-10-05 01:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791145440000,"timestamp_ms":1791145440000,"timestamp_seconds":1791145440,"priority":1,"record_length":96,"hex_timestamp":"000001a108967300"} 
[2026-10-05 01:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:56:07] 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-10-05 01:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533155584001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533155584001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:56:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:56:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533155584001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":205478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:56:07] local.INFO: GPS data processed {"connection_id":205478,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:56:07] local.INFO: Acknowledgment sent {"connection_id":205478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:56:17] local.INFO: TCP Data received {"connection_id":205478,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:56:17] local.INFO: Processing buffer {"connection_id":205478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:56:17] local.INFO: Packet analysis {"connection_id":205478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:56:17] local.INFO: Extracted packet for processing {"connection_id":205478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:56:17] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533155584001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:56:17] 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-10-05 01:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791145440000,"timestamp_ms":1791145440000,"timestamp_seconds":1791145440,"priority":1,"record_length":96,"hex_timestamp":"000001a108967300"} 
[2026-10-05 01:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:56:17] 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-10-05 01:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":205478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":205478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":205478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:56:17] 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-10-05 01:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533155584001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533155584001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:56:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:56:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533155584001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":205478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:56:17] local.INFO: GPS data processed {"connection_id":205478,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:56:17] local.INFO: Acknowledgment sent {"connection_id":205478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:56:38] local.INFO: TCP Data received {"connection_id":203953,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:56:38] local.INFO: Processing buffer {"connection_id":203953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:56:38] local.INFO: Packet analysis {"connection_id":203953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:56:38] local.INFO: Extracted packet for processing {"connection_id":203953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:56:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:56: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-10-05 01:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533151488001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791145424000,"timestamp_ms":1791145424000,"timestamp_seconds":1791145424,"priority":1,"record_length":96,"hex_timestamp":"000001a108963480"} 
[2026-10-05 01:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:56: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":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:56:38] 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-10-05 01:56: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-10-05 01:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:56: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-10-05 01:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533151488001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533151488001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:56:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:56:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533151488001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":203953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:56:38] local.INFO: GPS data processed {"connection_id":203953,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:56:38] local.INFO: Acknowledgment sent {"connection_id":203953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:56:56] local.INFO: TCP Data received {"connection_id":204031,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:56:56] local.INFO: Processing buffer {"connection_id":204031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:56:56] local.INFO: IMEI packet received {"connection_id":204031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":204031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:57:00] local.INFO: TCP Data received {"connection_id":203954,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:57:00] local.INFO: Processing buffer {"connection_id":203954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:57:00] local.INFO: IMEI packet received {"connection_id":203954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":203954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:57:01] local.INFO: TCP Data received {"connection_id":204031,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:57:01] local.INFO: Processing buffer {"connection_id":204031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:57:01] local.INFO: IMEI packet received {"connection_id":204031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":204031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:57:02] local.INFO: TCP Data received {"connection_id":204031,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:57:02] local.INFO: Processing buffer {"connection_id":204031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:57:02] local.INFO: Packet analysis {"connection_id":204031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:57:02] local.INFO: Extracted packet for processing {"connection_id":204031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:57:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533155584001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:57:02] 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-10-05 01:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791145440000,"timestamp_ms":1791145440000,"timestamp_seconds":1791145440,"priority":1,"record_length":96,"hex_timestamp":"000001a108967300"} 
[2026-10-05 01:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:57:02] 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-10-05 01: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-10-05 01:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533155584001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533155584001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:57:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:57:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533155584001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":204031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:57:02] local.INFO: GPS data processed {"connection_id":204031,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:57:02] local.INFO: Acknowledgment sent {"connection_id":204031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:57:05] local.INFO: TCP Data received {"connection_id":203954,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:57:05] local.INFO: Processing buffer {"connection_id":203954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:57:05] local.INFO: IMEI packet received {"connection_id":203954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":203954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:57:06] local.INFO: TCP Data received {"connection_id":203954,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:57:06] local.INFO: Processing buffer {"connection_id":203954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:57:06] local.INFO: Packet analysis {"connection_id":203954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:57:06] local.INFO: Extracted packet for processing {"connection_id":203954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:57:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533151488001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791145424000,"timestamp_ms":1791145424000,"timestamp_seconds":1791145424,"priority":1,"record_length":96,"hex_timestamp":"000001a108963480"} 
[2026-10-05 01:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:57:06] 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-10-05 01: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-10-05 01:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:57: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-10-05 01:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533151488001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533151488001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:57:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:57:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533151488001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":203954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964645,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:57:06] local.INFO: GPS data processed {"connection_id":203954,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:57:06] local.INFO: Acknowledgment sent {"connection_id":203954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:57:34] local.INFO: TCP Data received {"connection_id":204031,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:57:34] local.INFO: Processing buffer {"connection_id":204031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:57:34] local.INFO: Packet analysis {"connection_id":204031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:57:34] local.INFO: Extracted packet for processing {"connection_id":204031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:57:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533155584001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:57:34] 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-10-05 01:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791145440000,"timestamp_ms":1791145440000,"timestamp_seconds":1791145440,"priority":1,"record_length":96,"hex_timestamp":"000001a108967300"} 
[2026-10-05 01:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:57:34] 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-10-05 01: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-10-05 01:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":204031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":204031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":204031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533155584001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533155584001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:57:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:57:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533155584001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":204031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:57:34] local.INFO: GPS data processed {"connection_id":204031,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:57:34] local.INFO: Acknowledgment sent {"connection_id":204031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:57:38] local.INFO: TCP Data received {"connection_id":203954,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:57:38] local.INFO: Processing buffer {"connection_id":203954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:57:38] local.INFO: Packet analysis {"connection_id":203954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:57:38] local.INFO: Extracted packet for processing {"connection_id":203954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:57:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533151488001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791145424000,"timestamp_ms":1791145424000,"timestamp_seconds":1791145424,"priority":1,"record_length":96,"hex_timestamp":"000001a108963480"} 
[2026-10-05 01:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:57:38] 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-10-05 01: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-10-05 01:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01: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-10-05 01:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533151488001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533151488001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:57:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:57:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533151488001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":203954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:57:38] local.INFO: GPS data processed {"connection_id":203954,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:57:38] local.INFO: Acknowledgment sent {"connection_id":203954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:57:56] local.INFO: TCP Data received {"connection_id":205480,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:57:56] local.INFO: Processing buffer {"connection_id":205480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:57:56] local.INFO: IMEI packet received {"connection_id":205480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":205480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:58:01] local.INFO: TCP Data received {"connection_id":205480,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:58:01] local.INFO: Processing buffer {"connection_id":205480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:58:01] local.INFO: IMEI packet received {"connection_id":205480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":205480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:58:02] local.INFO: TCP Data received {"connection_id":205480,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:58:02] local.INFO: Processing buffer {"connection_id":205480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:58:02] local.INFO: Packet analysis {"connection_id":205480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:58:02] local.INFO: Extracted packet for processing {"connection_id":205480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:58:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533155584001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:58:02] 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-10-05 01:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791145440000,"timestamp_ms":1791145440000,"timestamp_seconds":1791145440,"priority":1,"record_length":96,"hex_timestamp":"000001a108967300"} 
[2026-10-05 01:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:58:02] 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-10-05 01: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-10-05 01:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533155584001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533155584001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:58:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:58:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533155584001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":205480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:58:02] local.INFO: GPS data processed {"connection_id":205480,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:58:02] local.INFO: Acknowledgment sent {"connection_id":205480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:58:05] local.INFO: TCP Data received {"connection_id":207042,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207042,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:58:05] local.INFO: Processing buffer {"connection_id":207042,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:58:05] local.INFO: IMEI packet received {"connection_id":207042,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":207042,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:58:10] local.INFO: TCP Data received {"connection_id":207042,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207042,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:58:10] local.INFO: Processing buffer {"connection_id":207042,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:58:10] local.INFO: IMEI packet received {"connection_id":207042,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":207042,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:58:11] local.INFO: TCP Data received {"connection_id":207042,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:58:11] local.INFO: Processing buffer {"connection_id":207042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:58:11] local.INFO: Packet analysis {"connection_id":207042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:58:11] local.INFO: Extracted packet for processing {"connection_id":207042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:58:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533151488001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791145424000,"timestamp_ms":1791145424000,"timestamp_seconds":1791145424,"priority":1,"record_length":96,"hex_timestamp":"000001a108963480"} 
[2026-10-05 01:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:58:11] 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-10-05 01:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:58: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-10-05 01:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533151488001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533151488001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:58:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533151488001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":207042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:58:11] local.INFO: GPS data processed {"connection_id":207042,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:58:11] local.INFO: Acknowledgment sent {"connection_id":207042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:58:16] local.INFO: TCP Data received {"connection_id":207042,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:58:16] local.INFO: Processing buffer {"connection_id":207042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108963480012d7c2ac005dac8a0000200bf28..."} 
[2026-10-05 01:58:16] local.INFO: Packet analysis {"connection_id":207042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:58:16] local.INFO: Extracted packet for processing {"connection_id":207042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:58:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533151488001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791145424000,"timestamp_ms":1791145424000,"timestamp_seconds":1791145424,"priority":1,"record_length":96,"hex_timestamp":"000001a108963480"} 
[2026-10-05 01:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 01:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:58: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-10-05 01:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533151488001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533151488001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:58:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:58:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533151488001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":207042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:58:16] local.INFO: GPS data processed {"connection_id":207042,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:58:16] local.INFO: Acknowledgment sent {"connection_id":207042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:58:34] local.INFO: TCP Data received {"connection_id":205480,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:58:34] local.INFO: Processing buffer {"connection_id":205480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:58:34] local.INFO: Packet analysis {"connection_id":205480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:58:34] local.INFO: Extracted packet for processing {"connection_id":205480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:58:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533155584001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:58:34] 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-10-05 01:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791145440000,"timestamp_ms":1791145440000,"timestamp_seconds":1791145440,"priority":1,"record_length":96,"hex_timestamp":"000001a108967300"} 
[2026-10-05 01:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:58:34] 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-10-05 01:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":205480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":205480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":205480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533155584001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533155584001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:58:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:58:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533155584001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":205480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:58:34] local.INFO: GPS data processed {"connection_id":205480,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:58:34] local.INFO: Acknowledgment sent {"connection_id":205480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:58:56] local.INFO: TCP Data received {"connection_id":203956,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:58:56] local.INFO: Processing buffer {"connection_id":203956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:58:56] local.INFO: IMEI packet received {"connection_id":203956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 01:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":203956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:59:00] local.INFO: TCP Data received {"connection_id":207043,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:59:00] local.INFO: Processing buffer {"connection_id":207043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:59:00] local.INFO: IMEI packet received {"connection_id":207043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 01:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":207043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 01:59:02] local.INFO: TCP Data received {"connection_id":203956,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:59:02] local.INFO: Processing buffer {"connection_id":203956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 01:59:02] local.INFO: IMEI packet received {"connection_id":203956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 01:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":203956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:59:03] local.INFO: TCP Data received {"connection_id":203956,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:59:03] local.INFO: Processing buffer {"connection_id":203956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:59:03] local.INFO: Packet analysis {"connection_id":203956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:59:03] local.INFO: Extracted packet for processing {"connection_id":203956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:59:03] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533155584001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:59:03] 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-10-05 01:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791145440000,"timestamp_ms":1791145440000,"timestamp_seconds":1791145440,"priority":1,"record_length":96,"hex_timestamp":"000001a108967300"} 
[2026-10-05 01:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 01: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-10-05 01:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":203956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":203956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":203956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:59:03] 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-10-05 01:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533155584001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533155584001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:59:03] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:59:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533155584001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":203956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:59:03] local.INFO: GPS data processed {"connection_id":203956,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:59:03] local.INFO: Acknowledgment sent {"connection_id":203956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:59:05] local.INFO: TCP Data received {"connection_id":207043,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:59:05] local.INFO: Processing buffer {"connection_id":207043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 01:59:05] local.INFO: IMEI packet received {"connection_id":207043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 01:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":207043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 01:59:06] local.INFO: TCP Data received {"connection_id":207043,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:59:06] local.INFO: Processing buffer {"connection_id":207043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:59:06] local.INFO: Packet analysis {"connection_id":207043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089a"} 
[2026-10-05 01:59:06] local.INFO: Extracted packet for processing {"connection_id":207043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089a"} 
[2026-10-05 01:59:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01: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-10-05 01:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533228544001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791145725000,"timestamp_ms":1791145725000,"timestamp_seconds":1791145725,"priority":1,"record_length":96,"hex_timestamp":"000001a1089acc48"} 
[2026-10-05 01:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:59:06] 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-10-05 01: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-10-05 01:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:59: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-10-05 01:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533228544001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533228544001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:59:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:59:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533228544001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":207043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:59:06] local.INFO: GPS data processed {"connection_id":207043,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:59:06] local.INFO: Acknowledgment sent {"connection_id":207043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:59:35] local.INFO: TCP Data received {"connection_id":203956,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:59:35] local.INFO: Processing buffer {"connection_id":203956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108967300012d7f91c005afd9f0001c010127..."} 
[2026-10-05 01:59:35] local.INFO: Packet analysis {"connection_id":203956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:59:35] local.INFO: Extracted packet for processing {"connection_id":203956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10896"} 
[2026-10-05 01:59:35] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 01:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533155584001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 01:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 01:59:35] 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-10-05 01:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791145440000,"timestamp_ms":1791145440000,"timestamp_seconds":1791145440,"priority":1,"record_length":96,"hex_timestamp":"000001a108967300"} 
[2026-10-05 01:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 01:59:35] 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-10-05 01:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":203956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":203956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":203956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 01:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 01:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 01:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 01:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533155584001,"66":25321,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 01:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 01:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 01:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533155584001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:59:35] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 01:59:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 01:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 01:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533155584001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 01:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":203956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:59:35] local.INFO: GPS data processed {"connection_id":203956,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:59:35] local.INFO: Acknowledgment sent {"connection_id":203956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 01:59:38] local.INFO: TCP Data received {"connection_id":207043,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:59:38] local.INFO: Processing buffer {"connection_id":207043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 01:59:38] local.INFO: Packet analysis {"connection_id":207043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089a"} 
[2026-10-05 01:59:38] local.INFO: Extracted packet for processing {"connection_id":207043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089a"} 
[2026-10-05 01:59:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 01:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 01:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533228544001,"note":"Value kept but may cause issues"} 
[2026-10-05 01:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 01:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 01:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 01:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791145725000,"timestamp_ms":1791145725000,"timestamp_seconds":1791145725,"priority":1,"record_length":96,"hex_timestamp":"000001a1089acc48"} 
[2026-10-05 01:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 01:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 01:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 01:59:38] 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-10-05 01:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 01:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 01:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 01:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 01:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 01:59: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-10-05 01:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 01:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 01:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533228544001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 01:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 01:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 01:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533228544001,"description":"Unknown IO ID 0"} 
[2026-10-05 01:59:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 01:59:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 01:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 01:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 01:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533228544001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 01:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":207043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964655,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 01:59:38] local.INFO: GPS data processed {"connection_id":207043,"processed":1,"errors":0,"total":1} 
[2026-10-05 01:59:38] local.INFO: Acknowledgment sent {"connection_id":207043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:00:00] local.INFO: TCP Data received {"connection_id":204034,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204034,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:00:00] local.INFO: Processing buffer {"connection_id":204034,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:00:00] local.INFO: IMEI packet received {"connection_id":204034,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":204034,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:00:01] local.INFO: TCP Data received {"connection_id":204033,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:00:01] local.INFO: Processing buffer {"connection_id":204033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:00:01] local.INFO: IMEI packet received {"connection_id":204033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":204033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:00:05] local.INFO: TCP Data received {"connection_id":204034,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204034,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:00:05] local.INFO: Processing buffer {"connection_id":204034,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:00:05] local.INFO: IMEI packet received {"connection_id":204034,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":204034,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:00:06] local.INFO: TCP Data received {"connection_id":204034,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 02:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 02:00:06] local.INFO: Processing buffer {"connection_id":204034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 02:00:06] local.INFO: Packet analysis {"connection_id":204034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089a"} 
[2026-10-05 02:00:06] local.INFO: Extracted packet for processing {"connection_id":204034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089a"} 
[2026-10-05 02:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533228544001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791145725000,"timestamp_ms":1791145725000,"timestamp_seconds":1791145725,"priority":1,"record_length":96,"hex_timestamp":"000001a1089acc48"} 
[2026-10-05 02:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 02:00:06] 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-10-05 02: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-10-05 02:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:00: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-10-05 02:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533228544001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533228544001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:00:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:00:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533228544001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":204034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:00:06] local.INFO: GPS data processed {"connection_id":204034,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:00:06] local.INFO: Acknowledgment sent {"connection_id":204034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:00:06] local.INFO: TCP Data received {"connection_id":204033,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:00:06] local.INFO: Processing buffer {"connection_id":204033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:00:06] local.INFO: IMEI packet received {"connection_id":204033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":204033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:00:07] local.INFO: TCP Data received {"connection_id":204033,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:00:07] local.INFO: Processing buffer {"connection_id":204033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:00:07] local.INFO: Packet analysis {"connection_id":204033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089b"} 
[2026-10-05 02:00:07] local.INFO: Extracted packet for processing {"connection_id":204033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089b"} 
[2026-10-05 02:00:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533232640001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:00:07] 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-10-05 02:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791145741000,"timestamp_ms":1791145741000,"timestamp_seconds":1791145741,"priority":1,"record_length":96,"hex_timestamp":"000001a1089b0ac8"} 
[2026-10-05 02:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 02:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:00:07] 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-10-05 02:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533232640001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 02:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533232640001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:00:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:00:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533232640001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":204033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:00:07] local.INFO: GPS data processed {"connection_id":204033,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:00:07] local.INFO: Acknowledgment sent {"connection_id":204033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:00:37] local.INFO: TCP Data received {"connection_id":204034,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 02:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 02:00:37] local.INFO: Processing buffer {"connection_id":204034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 02:00:37] local.INFO: Packet analysis {"connection_id":204034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089a"} 
[2026-10-05 02:00:37] local.INFO: Extracted packet for processing {"connection_id":204034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089a"} 
[2026-10-05 02:00:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533228544001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791145725000,"timestamp_ms":1791145725000,"timestamp_seconds":1791145725,"priority":1,"record_length":96,"hex_timestamp":"000001a1089acc48"} 
[2026-10-05 02:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 02:00:37] 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-10-05 02:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:00: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-10-05 02:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533228544001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533228544001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:00:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:00:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533228544001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":204034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:00:37] local.INFO: GPS data processed {"connection_id":204034,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:00:37] local.INFO: Acknowledgment sent {"connection_id":204034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:00:38] local.INFO: TCP Data received {"connection_id":204033,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:00:38] local.INFO: Processing buffer {"connection_id":204033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:00:38] local.INFO: Packet analysis {"connection_id":204033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089b"} 
[2026-10-05 02:00:38] local.INFO: Extracted packet for processing {"connection_id":204033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089b"} 
[2026-10-05 02:00:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:00: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-10-05 02:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533232640001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:00:38] 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-10-05 02:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791145741000,"timestamp_ms":1791145741000,"timestamp_seconds":1791145741,"priority":1,"record_length":96,"hex_timestamp":"000001a1089b0ac8"} 
[2026-10-05 02:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 02:00:38] 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-10-05 02:00: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-10-05 02:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:00:38] 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-10-05 02:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533232640001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 02:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533232640001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:00:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:00:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533232640001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":204033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:00:38] local.INFO: GPS data processed {"connection_id":204033,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:00:38] local.INFO: Acknowledgment sent {"connection_id":204033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:00:56] local.INFO: TCP Data received {"connection_id":207044,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:00:56] local.INFO: Processing buffer {"connection_id":207044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:00:56] local.INFO: IMEI packet received {"connection_id":207044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":207044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:01:00] local.INFO: TCP Data received {"connection_id":205482,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:01:00] local.INFO: Processing buffer {"connection_id":205482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:01:00] local.INFO: IMEI packet received {"connection_id":205482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":205482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:01:01] local.INFO: TCP Data received {"connection_id":207044,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:01:01] local.INFO: Processing buffer {"connection_id":207044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:01:01] local.INFO: IMEI packet received {"connection_id":207044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":207044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:01:02] local.INFO: TCP Data received {"connection_id":207044,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:01:02] local.INFO: Processing buffer {"connection_id":207044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:01:02] local.INFO: Packet analysis {"connection_id":207044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089b"} 
[2026-10-05 02:01:02] local.INFO: Extracted packet for processing {"connection_id":207044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089b"} 
[2026-10-05 02:01:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533232640001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:01:02] 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-10-05 02:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791145741000,"timestamp_ms":1791145741000,"timestamp_seconds":1791145741,"priority":1,"record_length":96,"hex_timestamp":"000001a1089b0ac8"} 
[2026-10-05 02:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 02:01:02] 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-10-05 02:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533232640001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 02:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533232640001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:01:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:01:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533232640001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":207044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:01:02] local.INFO: GPS data processed {"connection_id":207044,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:01:02] local.INFO: Acknowledgment sent {"connection_id":207044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:01:04] local.INFO: TCP Data received {"connection_id":203957,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203957,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:01:04] local.INFO: Processing buffer {"connection_id":203957,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:01:04] local.INFO: IMEI packet received {"connection_id":203957,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 02:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":203957,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:01:05] local.INFO: TCP Data received {"connection_id":205482,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:01:05] local.INFO: Processing buffer {"connection_id":205482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:01:05] local.INFO: IMEI packet received {"connection_id":205482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":205482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:01:06] local.INFO: TCP Data received {"connection_id":205482,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 02:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 02:01:06] local.INFO: Processing buffer {"connection_id":205482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 02:01:06] local.INFO: Packet analysis {"connection_id":205482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089a"} 
[2026-10-05 02:01:06] local.INFO: Extracted packet for processing {"connection_id":205482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089a"} 
[2026-10-05 02:01:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533228544001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791145725000,"timestamp_ms":1791145725000,"timestamp_seconds":1791145725,"priority":1,"record_length":96,"hex_timestamp":"000001a1089acc48"} 
[2026-10-05 02:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 02:01:06] 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-10-05 02:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:01: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-10-05 02:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533228544001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533228544001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:01:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:01:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533228544001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":205482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964661,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:01:06] local.INFO: GPS data processed {"connection_id":205482,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:01:06] local.INFO: Acknowledgment sent {"connection_id":205482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:01:34] local.INFO: TCP Data received {"connection_id":207044,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:01:34] local.INFO: Processing buffer {"connection_id":207044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:01:34] local.INFO: Packet analysis {"connection_id":207044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089b"} 
[2026-10-05 02:01:34] local.INFO: Extracted packet for processing {"connection_id":207044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089b"} 
[2026-10-05 02:01:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533232640001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:01:34] 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-10-05 02:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791145741000,"timestamp_ms":1791145741000,"timestamp_seconds":1791145741,"priority":1,"record_length":96,"hex_timestamp":"000001a1089b0ac8"} 
[2026-10-05 02:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 02:01:34] 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-10-05 02: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-10-05 02:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":207044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":207044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":207044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533232640001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 02:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533232640001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:01:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:01:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533232640001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":207044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:01:34] local.INFO: GPS data processed {"connection_id":207044,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:01:34] local.INFO: Acknowledgment sent {"connection_id":207044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:01:37] local.INFO: TCP Data received {"connection_id":205482,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 02:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 02:01:37] local.INFO: Processing buffer {"connection_id":205482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 02:01:37] local.INFO: Packet analysis {"connection_id":205482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089a"} 
[2026-10-05 02:01:37] local.INFO: Extracted packet for processing {"connection_id":205482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089a"} 
[2026-10-05 02:01:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533228544001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791145725000,"timestamp_ms":1791145725000,"timestamp_seconds":1791145725,"priority":1,"record_length":96,"hex_timestamp":"000001a1089acc48"} 
[2026-10-05 02:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 02:01:37] 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-10-05 02:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:01: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-10-05 02:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533228544001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533228544001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:01:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:01:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533228544001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":205482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:01:37] local.INFO: GPS data processed {"connection_id":205482,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:01:37] local.INFO: Acknowledgment sent {"connection_id":205482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:01:44] local.INFO: TCP Data received {"connection_id":204035,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:01:44] local.INFO: Processing buffer {"connection_id":204035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:01:44] local.INFO: IMEI packet received {"connection_id":204035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 02:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":204035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:01:56] local.INFO: TCP Data received {"connection_id":205483,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:01:56] local.INFO: Processing buffer {"connection_id":205483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:01:56] local.INFO: IMEI packet received {"connection_id":205483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":205483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:02:00] local.INFO: TCP Data received {"connection_id":203958,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203958,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:02:00] local.INFO: Processing buffer {"connection_id":203958,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:02:00] local.INFO: IMEI packet received {"connection_id":203958,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":203958,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:02:02] local.INFO: TCP Data received {"connection_id":205483,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:02:02] local.INFO: Processing buffer {"connection_id":205483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:02:02] local.INFO: IMEI packet received {"connection_id":205483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":205483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:02:03] local.INFO: TCP Data received {"connection_id":205483,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:02:03] local.INFO: Processing buffer {"connection_id":205483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:02:03] local.INFO: Packet analysis {"connection_id":205483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089b"} 
[2026-10-05 02:02:03] local.INFO: Extracted packet for processing {"connection_id":205483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089b"} 
[2026-10-05 02:02:03] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533232640001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:02:03] 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-10-05 02:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791145741000,"timestamp_ms":1791145741000,"timestamp_seconds":1791145741,"priority":1,"record_length":96,"hex_timestamp":"000001a1089b0ac8"} 
[2026-10-05 02:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 02:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":205483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":205483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":205483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:02:03] 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-10-05 02:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533232640001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 02:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533232640001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:02:03] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:02:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533232640001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":205483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:02:03] local.INFO: GPS data processed {"connection_id":205483,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:02:03] local.INFO: Acknowledgment sent {"connection_id":205483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:02:05] local.INFO: TCP Data received {"connection_id":203958,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203958,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:02:05] local.INFO: Processing buffer {"connection_id":203958,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:02:05] local.INFO: IMEI packet received {"connection_id":203958,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":203958,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:02:06] local.INFO: TCP Data received {"connection_id":203958,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 02:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 02:02:06] local.INFO: Processing buffer {"connection_id":203958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 02:02:06] local.INFO: Packet analysis {"connection_id":203958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089a"} 
[2026-10-05 02:02:06] local.INFO: Extracted packet for processing {"connection_id":203958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089a"} 
[2026-10-05 02:02:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533228544001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791145725000,"timestamp_ms":1791145725000,"timestamp_seconds":1791145725,"priority":1,"record_length":96,"hex_timestamp":"000001a1089acc48"} 
[2026-10-05 02:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 02:02:06] 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-10-05 02:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:02: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-10-05 02:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533228544001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533228544001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:02:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:02:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533228544001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":203958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964665,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:02:06] local.INFO: GPS data processed {"connection_id":203958,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:02:06] local.INFO: Acknowledgment sent {"connection_id":203958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:02:35] local.INFO: TCP Data received {"connection_id":205483,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:02:35] local.INFO: Processing buffer {"connection_id":205483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:02:35] local.INFO: Packet analysis {"connection_id":205483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089b"} 
[2026-10-05 02:02:35] local.INFO: Extracted packet for processing {"connection_id":205483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089b"} 
[2026-10-05 02:02:35] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533232640001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:02:35] 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-10-05 02:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791145741000,"timestamp_ms":1791145741000,"timestamp_seconds":1791145741,"priority":1,"record_length":96,"hex_timestamp":"000001a1089b0ac8"} 
[2026-10-05 02:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 02:02:35] 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-10-05 02:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":205483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":205483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":205483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533232640001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 02:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533232640001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:02:35] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:02:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533232640001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":205483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:02:35] local.INFO: GPS data processed {"connection_id":205483,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:02:35] local.INFO: Acknowledgment sent {"connection_id":205483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:02:37] local.INFO: TCP Data received {"connection_id":203958,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 02:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 02:02:37] local.INFO: Processing buffer {"connection_id":203958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 02:02:37] local.INFO: Packet analysis {"connection_id":203958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089a"} 
[2026-10-05 02:02:37] local.INFO: Extracted packet for processing {"connection_id":203958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089a"} 
[2026-10-05 02:02:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533228544001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791145725000,"timestamp_ms":1791145725000,"timestamp_seconds":1791145725,"priority":1,"record_length":96,"hex_timestamp":"000001a1089acc48"} 
[2026-10-05 02:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 02:02:37] 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-10-05 02:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:02: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-10-05 02:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533228544001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533228544001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:02:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:02:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533228544001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":203958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:02:37] local.INFO: GPS data processed {"connection_id":203958,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:02:37] local.INFO: Acknowledgment sent {"connection_id":203958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:02:57] local.INFO: TCP Data received {"connection_id":203959,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:02:57] local.INFO: Processing buffer {"connection_id":203959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:02:57] local.INFO: IMEI packet received {"connection_id":203959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":203959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:03:01] local.INFO: TCP Data received {"connection_id":203959,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:03:01] local.INFO: Processing buffer {"connection_id":203959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:03:01] local.INFO: IMEI packet received {"connection_id":203959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":203959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:03:02] local.INFO: TCP Data received {"connection_id":203959,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:03:02] local.INFO: Processing buffer {"connection_id":203959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:03:02] local.INFO: Packet analysis {"connection_id":203959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089b"} 
[2026-10-05 02:03:02] local.INFO: Extracted packet for processing {"connection_id":203959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089b"} 
[2026-10-05 02:03:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533232640001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:03:02] 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-10-05 02:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791145741000,"timestamp_ms":1791145741000,"timestamp_seconds":1791145741,"priority":1,"record_length":96,"hex_timestamp":"000001a1089b0ac8"} 
[2026-10-05 02:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 02:03:02] 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-10-05 02: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-10-05 02:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533232640001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 02:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533232640001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:03:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:03:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533232640001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":203959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:03:02] local.INFO: GPS data processed {"connection_id":203959,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:03:02] local.INFO: Acknowledgment sent {"connection_id":203959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:03:05] local.INFO: TCP Data received {"connection_id":204036,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:03:05] local.INFO: Processing buffer {"connection_id":204036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:03:05] local.INFO: IMEI packet received {"connection_id":204036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":204036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:03:10] local.INFO: TCP Data received {"connection_id":204036,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:03:10] local.INFO: Processing buffer {"connection_id":204036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:03:10] local.INFO: IMEI packet received {"connection_id":204036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":204036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:03:11] local.INFO: TCP Data received {"connection_id":204036,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 02:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 02:03:11] local.INFO: Processing buffer {"connection_id":204036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 02:03:11] local.INFO: Packet analysis {"connection_id":204036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089a"} 
[2026-10-05 02:03:11] local.INFO: Extracted packet for processing {"connection_id":204036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089a"} 
[2026-10-05 02:03:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:03: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-10-05 02:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533228544001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791145725000,"timestamp_ms":1791145725000,"timestamp_seconds":1791145725,"priority":1,"record_length":96,"hex_timestamp":"000001a1089acc48"} 
[2026-10-05 02:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 02:03:11] 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-10-05 02:03: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-10-05 02:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:03: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-10-05 02:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533228544001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533228544001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:03:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:03:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533228544001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":204036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:03:11] local.INFO: GPS data processed {"connection_id":204036,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:03:11] local.INFO: Acknowledgment sent {"connection_id":204036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:03:16] local.INFO: TCP Data received {"connection_id":204036,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 02:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 02:03:16] local.INFO: Processing buffer {"connection_id":204036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089acc48012d7c2ac005dac8a0000200bf2a..."} 
[2026-10-05 02:03:16] local.INFO: Packet analysis {"connection_id":204036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089a"} 
[2026-10-05 02:03:16] local.INFO: Extracted packet for processing {"connection_id":204036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089a"} 
[2026-10-05 02:03:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533228544001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791145725000,"timestamp_ms":1791145725000,"timestamp_seconds":1791145725,"priority":1,"record_length":96,"hex_timestamp":"000001a1089acc48"} 
[2026-10-05 02:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 02:03:16] 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-10-05 02:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:03: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-10-05 02:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533228544001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533228544001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:03:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:03:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533228544001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":204036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964670,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:03:16] local.INFO: GPS data processed {"connection_id":204036,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:03:16] local.INFO: Acknowledgment sent {"connection_id":204036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:03:33] local.INFO: TCP Data received {"connection_id":203959,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:03:33] local.INFO: Processing buffer {"connection_id":203959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:03:33] local.INFO: Packet analysis {"connection_id":203959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089b"} 
[2026-10-05 02:03:33] local.INFO: Extracted packet for processing {"connection_id":203959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089b"} 
[2026-10-05 02:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533232640001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:03: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-10-05 02:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791145741000,"timestamp_ms":1791145741000,"timestamp_seconds":1791145741,"priority":1,"record_length":96,"hex_timestamp":"000001a1089b0ac8"} 
[2026-10-05 02:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 02:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02: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-10-05 02:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:03:33] 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-10-05 02:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533232640001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 02:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533232640001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:03:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:03:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533232640001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":203959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:03:33] local.INFO: GPS data processed {"connection_id":203959,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:03:33] local.INFO: Acknowledgment sent {"connection_id":203959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:03:56] local.INFO: TCP Data received {"connection_id":204037,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:03:56] local.INFO: Processing buffer {"connection_id":204037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:03:56] local.INFO: IMEI packet received {"connection_id":204037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":204037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:04:00] local.INFO: TCP Data received {"connection_id":204038,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:04:00] local.INFO: Processing buffer {"connection_id":204038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:04:00] local.INFO: IMEI packet received {"connection_id":204038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":204038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:04:01] local.INFO: TCP Data received {"connection_id":204037,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:04:01] local.INFO: Processing buffer {"connection_id":204037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:04:01] local.INFO: IMEI packet received {"connection_id":204037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":204037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:04:03] local.INFO: TCP Data received {"connection_id":204037,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:04:03] local.INFO: Processing buffer {"connection_id":204037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:04:03] local.INFO: Packet analysis {"connection_id":204037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089b"} 
[2026-10-05 02:04:03] local.INFO: Extracted packet for processing {"connection_id":204037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089b"} 
[2026-10-05 02:04:03] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533232640001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:04:03] 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-10-05 02:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791145741000,"timestamp_ms":1791145741000,"timestamp_seconds":1791145741,"priority":1,"record_length":96,"hex_timestamp":"000001a1089b0ac8"} 
[2026-10-05 02:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 02:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":204037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":204037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":204037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:04:03] 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-10-05 02:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533232640001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 02:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533232640001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:04:03] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:04:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533232640001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":204037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:04:03] local.INFO: GPS data processed {"connection_id":204037,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:04:03] local.INFO: Acknowledgment sent {"connection_id":204037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:04:05] local.INFO: TCP Data received {"connection_id":204038,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:04:05] local.INFO: Processing buffer {"connection_id":204038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:04:05] local.INFO: IMEI packet received {"connection_id":204038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":204038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:04:06] local.INFO: TCP Data received {"connection_id":204038,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:04:06] local.INFO: Processing buffer {"connection_id":204038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:04:06] local.INFO: Packet analysis {"connection_id":204038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:04:06] local.INFO: Extracted packet for processing {"connection_id":204038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:04:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533305600001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791146026000,"timestamp_ms":1791146026000,"timestamp_seconds":1791146026,"priority":1,"record_length":96,"hex_timestamp":"000001a1089f6410"} 
[2026-10-05 02:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:04:06] 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-10-05 02: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02: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-10-05 02:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:04: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-10-05 02:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533305600001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533305600001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:04:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:04:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533305600001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":204038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:04:06] local.INFO: GPS data processed {"connection_id":204038,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:04:06] local.INFO: Acknowledgment sent {"connection_id":204038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:04:34] local.INFO: TCP Data received {"connection_id":204037,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:04:34] local.INFO: Processing buffer {"connection_id":204037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089b0ac8012d7f91c005afd9f0001c010128..."} 
[2026-10-05 02:04:34] local.INFO: Packet analysis {"connection_id":204037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089b"} 
[2026-10-05 02:04:34] local.INFO: Extracted packet for processing {"connection_id":204037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089b"} 
[2026-10-05 02:04:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533232640001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:04:34] 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-10-05 02:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791145741000,"timestamp_ms":1791145741000,"timestamp_seconds":1791145741,"priority":1,"record_length":96,"hex_timestamp":"000001a1089b0ac8"} 
[2026-10-05 02:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 02:04:34] 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-10-05 02: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-10-05 02:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":204037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":204037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":204037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533232640001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 02:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533232640001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:04:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:04:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533232640001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":204037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:04:34] local.INFO: GPS data processed {"connection_id":204037,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:04:34] local.INFO: Acknowledgment sent {"connection_id":204037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:04:38] local.INFO: TCP Data received {"connection_id":204038,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:04:38] local.INFO: Processing buffer {"connection_id":204038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:04:38] local.INFO: Packet analysis {"connection_id":204038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:04:38] local.INFO: Extracted packet for processing {"connection_id":204038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:04:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:04: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-10-05 02:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533305600001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791146026000,"timestamp_ms":1791146026000,"timestamp_seconds":1791146026,"priority":1,"record_length":96,"hex_timestamp":"000001a1089f6410"} 
[2026-10-05 02:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:04:38] 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-10-05 02:04: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":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:04: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-10-05 02:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:04: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-10-05 02:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533305600001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533305600001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:04:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:04:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533305600001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":204038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964675,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:04:38] local.INFO: GPS data processed {"connection_id":204038,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:04:38] local.INFO: Acknowledgment sent {"connection_id":204038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:05:00] local.INFO: TCP Data received {"connection_id":205484,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:05:00] local.INFO: Processing buffer {"connection_id":205484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:05:00] local.INFO: IMEI packet received {"connection_id":205484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":205484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:05:01] local.INFO: TCP Data received {"connection_id":204039,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:05:01] local.INFO: Processing buffer {"connection_id":204039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:05:01] local.INFO: IMEI packet received {"connection_id":204039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":204039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:05:05] local.INFO: TCP Data received {"connection_id":205484,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:05:05] local.INFO: Processing buffer {"connection_id":205484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:05:05] local.INFO: IMEI packet received {"connection_id":205484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":205484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:05:06] local.INFO: TCP Data received {"connection_id":205484,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:05:06] local.INFO: Processing buffer {"connection_id":205484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:05:06] local.INFO: Packet analysis {"connection_id":205484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:05:06] local.INFO: Extracted packet for processing {"connection_id":205484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:05:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533305600001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791146026000,"timestamp_ms":1791146026000,"timestamp_seconds":1791146026,"priority":1,"record_length":96,"hex_timestamp":"000001a1089f6410"} 
[2026-10-05 02:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:05:06] 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-10-05 02: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02: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-10-05 02:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:05: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-10-05 02:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533305600001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533305600001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:05:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:05:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533305600001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":205484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:05:06] local.INFO: GPS data processed {"connection_id":205484,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:05:06] local.INFO: Acknowledgment sent {"connection_id":205484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:05:06] local.INFO: TCP Data received {"connection_id":204039,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:05:06] local.INFO: Processing buffer {"connection_id":204039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:05:06] local.INFO: IMEI packet received {"connection_id":204039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":204039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:05:07] local.INFO: TCP Data received {"connection_id":204039,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:05:07] local.INFO: Processing buffer {"connection_id":204039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:05:07] local.INFO: Packet analysis {"connection_id":204039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:05:07] local.INFO: Extracted packet for processing {"connection_id":204039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:05:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533309696001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:05: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-10-05 02:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791146042000,"timestamp_ms":1791146042000,"timestamp_seconds":1791146042,"priority":1,"record_length":96,"hex_timestamp":"000001a1089fa290"} 
[2026-10-05 02:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 02:05:07] 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-10-05 02: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-10-05 02:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:05:07] 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-10-05 02:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533309696001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 02:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533309696001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:05:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:05:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533309696001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":204039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:05:07] local.INFO: GPS data processed {"connection_id":204039,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:05:07] local.INFO: Acknowledgment sent {"connection_id":204039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:05:37] local.INFO: TCP Data received {"connection_id":205484,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:05:37] local.INFO: Processing buffer {"connection_id":205484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:05:37] local.INFO: Packet analysis {"connection_id":205484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:05:37] local.INFO: Extracted packet for processing {"connection_id":205484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:05:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533305600001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791146026000,"timestamp_ms":1791146026000,"timestamp_seconds":1791146026,"priority":1,"record_length":96,"hex_timestamp":"000001a1089f6410"} 
[2026-10-05 02:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:05:37] 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-10-05 02:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:05: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-10-05 02:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533305600001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533305600001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:05:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:05:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533305600001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":205484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964678,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:05:37] local.INFO: GPS data processed {"connection_id":205484,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:05:37] local.INFO: Acknowledgment sent {"connection_id":205484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:05:38] local.INFO: TCP Data received {"connection_id":204039,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:05:38] local.INFO: Processing buffer {"connection_id":204039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:05:38] local.INFO: Packet analysis {"connection_id":204039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:05:38] local.INFO: Extracted packet for processing {"connection_id":204039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:05:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533309696001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791146042000,"timestamp_ms":1791146042000,"timestamp_seconds":1791146042,"priority":1,"record_length":96,"hex_timestamp":"000001a1089fa290"} 
[2026-10-05 02:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 02:05:38] 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-10-05 02: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-10-05 02:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:05:38] 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-10-05 02:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533309696001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 02:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533309696001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:05:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:05:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533309696001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":204039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:05:38] local.INFO: GPS data processed {"connection_id":204039,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:05:38] local.INFO: Acknowledgment sent {"connection_id":204039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:05:56] local.INFO: TCP Data received {"connection_id":203960,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:05:56] local.INFO: Processing buffer {"connection_id":203960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:05:56] local.INFO: IMEI packet received {"connection_id":203960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":203960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:06:00] local.INFO: TCP Data received {"connection_id":203961,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:06:00] local.INFO: Processing buffer {"connection_id":203961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:06:00] local.INFO: IMEI packet received {"connection_id":203961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":203961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:06:01] local.INFO: TCP Data received {"connection_id":203960,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:06:01] local.INFO: Processing buffer {"connection_id":203960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:06:01] local.INFO: IMEI packet received {"connection_id":203960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":203960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:06:02] local.INFO: TCP Data received {"connection_id":203960,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:06:02] local.INFO: Processing buffer {"connection_id":203960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:06:02] local.INFO: Packet analysis {"connection_id":203960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:06:02] local.INFO: Extracted packet for processing {"connection_id":203960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533309696001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:06: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-10-05 02:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791146042000,"timestamp_ms":1791146042000,"timestamp_seconds":1791146042,"priority":1,"record_length":96,"hex_timestamp":"000001a1089fa290"} 
[2026-10-05 02:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 02:06:02] 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-10-05 02: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-10-05 02:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533309696001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 02:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533309696001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:06:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:06:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533309696001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":203960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:06:02] local.INFO: GPS data processed {"connection_id":203960,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:06:02] local.INFO: Acknowledgment sent {"connection_id":203960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:06:05] local.INFO: TCP Data received {"connection_id":203961,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:06:05] local.INFO: Processing buffer {"connection_id":203961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:06:05] local.INFO: IMEI packet received {"connection_id":203961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":203961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:06:06] local.INFO: TCP Data received {"connection_id":203961,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:06:06] local.INFO: Processing buffer {"connection_id":203961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:06:06] local.INFO: Packet analysis {"connection_id":203961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:06:06] local.INFO: Extracted packet for processing {"connection_id":203961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:06:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533305600001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791146026000,"timestamp_ms":1791146026000,"timestamp_seconds":1791146026,"priority":1,"record_length":96,"hex_timestamp":"000001a1089f6410"} 
[2026-10-05 02:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:06:06] 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-10-05 02: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02: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-10-05 02:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:06: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-10-05 02:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533305600001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533305600001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:06:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:06:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533305600001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":203961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964681,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:06:06] local.INFO: GPS data processed {"connection_id":203961,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:06:06] local.INFO: Acknowledgment sent {"connection_id":203961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:06:33] local.INFO: TCP Data received {"connection_id":203960,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:06:33] local.INFO: Processing buffer {"connection_id":203960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:06:33] local.INFO: Packet analysis {"connection_id":203960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:06:33] local.INFO: Extracted packet for processing {"connection_id":203960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533309696001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:06: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-10-05 02:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791146042000,"timestamp_ms":1791146042000,"timestamp_seconds":1791146042,"priority":1,"record_length":96,"hex_timestamp":"000001a1089fa290"} 
[2026-10-05 02:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 02:06:33] 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-10-05 02: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-10-05 02:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:06:33] 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-10-05 02:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533309696001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 02:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533309696001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:06:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:06:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533309696001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":203960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:06:33] local.INFO: GPS data processed {"connection_id":203960,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:06:33] local.INFO: Acknowledgment sent {"connection_id":203960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:06:38] local.INFO: TCP Data received {"connection_id":203961,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:06:38] local.INFO: Processing buffer {"connection_id":203961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:06:38] local.INFO: Packet analysis {"connection_id":203961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:06:38] local.INFO: Extracted packet for processing {"connection_id":203961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533305600001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791146026000,"timestamp_ms":1791146026000,"timestamp_seconds":1791146026,"priority":1,"record_length":96,"hex_timestamp":"000001a1089f6410"} 
[2026-10-05 02:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:06:38] 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-10-05 02:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533305600001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533305600001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:06:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533305600001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":203961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:06:38] local.INFO: GPS data processed {"connection_id":203961,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:06:38] local.INFO: Acknowledgment sent {"connection_id":203961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:06:56] local.INFO: TCP Data received {"connection_id":207049,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:06:56] local.INFO: Processing buffer {"connection_id":207049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:06:56] local.INFO: IMEI packet received {"connection_id":207049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":207049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:07:01] local.INFO: TCP Data received {"connection_id":207049,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:07:01] local.INFO: Processing buffer {"connection_id":207049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:07:01] local.INFO: IMEI packet received {"connection_id":207049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":207049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:07:02] local.INFO: TCP Data received {"connection_id":207049,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:07:02] local.INFO: Processing buffer {"connection_id":207049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:07:02] local.INFO: Packet analysis {"connection_id":207049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:07:02] local.INFO: Extracted packet for processing {"connection_id":207049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:07:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533309696001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:07: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-10-05 02:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791146042000,"timestamp_ms":1791146042000,"timestamp_seconds":1791146042,"priority":1,"record_length":96,"hex_timestamp":"000001a1089fa290"} 
[2026-10-05 02:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 02:07:02] 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-10-05 02: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-10-05 02:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533309696001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 02:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533309696001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:07:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:07:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533309696001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":207049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:07:02] local.INFO: GPS data processed {"connection_id":207049,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:07:02] local.INFO: Acknowledgment sent {"connection_id":207049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:07:05] local.INFO: TCP Data received {"connection_id":205486,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:07:05] local.INFO: Processing buffer {"connection_id":205486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:07:05] local.INFO: IMEI packet received {"connection_id":205486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":205486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:07:09] local.INFO: TCP Data received {"connection_id":205485,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:07:09] local.INFO: Processing buffer {"connection_id":205485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:07:09] local.INFO: IMEI packet received {"connection_id":205485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 02:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":205485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:07:10] local.INFO: TCP Data received {"connection_id":205486,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:07:10] local.INFO: Processing buffer {"connection_id":205486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:07:10] local.INFO: IMEI packet received {"connection_id":205486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":205486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:07:12] local.INFO: TCP Data received {"connection_id":205486,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:07:12] local.INFO: Processing buffer {"connection_id":205486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:07:12] local.INFO: Packet analysis {"connection_id":205486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:07:12] local.INFO: Extracted packet for processing {"connection_id":205486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:07:12] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533305600001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791146026000,"timestamp_ms":1791146026000,"timestamp_seconds":1791146026,"priority":1,"record_length":96,"hex_timestamp":"000001a1089f6410"} 
[2026-10-05 02:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:07:12] 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-10-05 02:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":205486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":205486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":205486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:07: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-10-05 02:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533305600001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533305600001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:07:12] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:07:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533305600001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":205486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964685,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:07:12] local.INFO: GPS data processed {"connection_id":205486,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:07:12] local.INFO: Acknowledgment sent {"connection_id":205486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:07:16] local.INFO: TCP Data received {"connection_id":205486,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:07:16] local.INFO: Processing buffer {"connection_id":205486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:07:16] local.INFO: Packet analysis {"connection_id":205486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:07:16] local.INFO: Extracted packet for processing {"connection_id":205486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:07:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533305600001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791146026000,"timestamp_ms":1791146026000,"timestamp_seconds":1791146026,"priority":1,"record_length":96,"hex_timestamp":"000001a1089f6410"} 
[2026-10-05 02:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:07:16] 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-10-05 02:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:07: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-10-05 02:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533305600001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533305600001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:07:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:07:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533305600001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":205486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:07:16] local.INFO: GPS data processed {"connection_id":205486,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:07:16] local.INFO: Acknowledgment sent {"connection_id":205486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:07:35] local.INFO: TCP Data received {"connection_id":207049,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:07:35] local.INFO: Processing buffer {"connection_id":207049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:07:35] local.INFO: Packet analysis {"connection_id":207049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:07:35] local.INFO: Extracted packet for processing {"connection_id":207049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:07:35] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533309696001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:07: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-10-05 02:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791146042000,"timestamp_ms":1791146042000,"timestamp_seconds":1791146042,"priority":1,"record_length":96,"hex_timestamp":"000001a1089fa290"} 
[2026-10-05 02:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 02:07:35] 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-10-05 02:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":207049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":207049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":207049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533309696001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 02:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533309696001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:07:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:07:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533309696001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":207049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:07:35] local.INFO: GPS data processed {"connection_id":207049,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:07:35] local.INFO: Acknowledgment sent {"connection_id":207049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:07:43] local.INFO: TCP Data received {"connection_id":204040,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:07:43] local.INFO: Processing buffer {"connection_id":204040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:07:43] local.INFO: IMEI packet received {"connection_id":204040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 02:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":204040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:07:57] local.INFO: TCP Data received {"connection_id":207050,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:07:57] local.INFO: Processing buffer {"connection_id":207050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:07:57] local.INFO: IMEI packet received {"connection_id":207050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":207050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:08:00] local.INFO: TCP Data received {"connection_id":203962,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:08:00] local.INFO: Processing buffer {"connection_id":203962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:08:00] local.INFO: IMEI packet received {"connection_id":203962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":203962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:08:01] local.INFO: TCP Data received {"connection_id":207050,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:08:01] local.INFO: Processing buffer {"connection_id":207050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:08:01] local.INFO: IMEI packet received {"connection_id":207050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":207050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:08:02] local.INFO: TCP Data received {"connection_id":207050,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:08:02] local.INFO: Processing buffer {"connection_id":207050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:08:02] local.INFO: Packet analysis {"connection_id":207050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:08:02] local.INFO: Extracted packet for processing {"connection_id":207050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533309696001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02: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-10-05 02:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791146042000,"timestamp_ms":1791146042000,"timestamp_seconds":1791146042,"priority":1,"record_length":96,"hex_timestamp":"000001a1089fa290"} 
[2026-10-05 02:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 02:08:02] 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-10-05 02: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-10-05 02:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533309696001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 02:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533309696001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:08:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:08:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533309696001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":207050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:08:02] local.INFO: GPS data processed {"connection_id":207050,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:08:02] local.INFO: Acknowledgment sent {"connection_id":207050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:08:05] local.INFO: TCP Data received {"connection_id":203962,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:08:05] local.INFO: Processing buffer {"connection_id":203962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:08:05] local.INFO: IMEI packet received {"connection_id":203962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":203962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:08:06] local.INFO: TCP Data received {"connection_id":203962,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:08:06] local.INFO: Processing buffer {"connection_id":203962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:08:06] local.INFO: Packet analysis {"connection_id":203962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:08:06] local.INFO: Extracted packet for processing {"connection_id":203962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:08:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533305600001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791146026000,"timestamp_ms":1791146026000,"timestamp_seconds":1791146026,"priority":1,"record_length":96,"hex_timestamp":"000001a1089f6410"} 
[2026-10-05 02:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:08:06] 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-10-05 02: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02: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-10-05 02:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:08: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-10-05 02:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533305600001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533305600001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:08:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:08:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533305600001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":203962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964689,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:08:06] local.INFO: GPS data processed {"connection_id":203962,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:08:06] local.INFO: Acknowledgment sent {"connection_id":203962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:08:34] local.INFO: TCP Data received {"connection_id":207050,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:08:34] local.INFO: Processing buffer {"connection_id":207050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:08:34] local.INFO: Packet analysis {"connection_id":207050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:08:34] local.INFO: Extracted packet for processing {"connection_id":207050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:08:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533309696001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:08: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-10-05 02:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791146042000,"timestamp_ms":1791146042000,"timestamp_seconds":1791146042,"priority":1,"record_length":96,"hex_timestamp":"000001a1089fa290"} 
[2026-10-05 02:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 02:08:34] 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-10-05 02: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-10-05 02:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":207050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":207050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":207050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533309696001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 02:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533309696001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:08:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:08:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533309696001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":207050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:08:34] local.INFO: GPS data processed {"connection_id":207050,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:08:34] local.INFO: Acknowledgment sent {"connection_id":207050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:08:37] local.INFO: TCP Data received {"connection_id":203962,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:08:37] local.INFO: Processing buffer {"connection_id":203962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089f6410012d7c2ac005dac8a0000200bf25..."} 
[2026-10-05 02:08:37] local.INFO: Packet analysis {"connection_id":203962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:08:37] local.INFO: Extracted packet for processing {"connection_id":203962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:08:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533305600001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791146026000,"timestamp_ms":1791146026000,"timestamp_seconds":1791146026,"priority":1,"record_length":96,"hex_timestamp":"000001a1089f6410"} 
[2026-10-05 02:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:08:37] 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-10-05 02:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:08: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-10-05 02:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533305600001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533305600001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:08:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:08:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533305600001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":203962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:08:37] local.INFO: GPS data processed {"connection_id":203962,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:08:37] local.INFO: Acknowledgment sent {"connection_id":203962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:08:56] local.INFO: TCP Data received {"connection_id":204042,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:08:56] local.INFO: Processing buffer {"connection_id":204042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:08:56] local.INFO: IMEI packet received {"connection_id":204042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":204042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:09:00] local.INFO: TCP Data received {"connection_id":207051,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:09:00] local.INFO: Processing buffer {"connection_id":207051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:09:00] local.INFO: IMEI packet received {"connection_id":207051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":207051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:09:01] local.INFO: TCP Data received {"connection_id":204042,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:09:01] local.INFO: Processing buffer {"connection_id":204042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:09:01] local.INFO: IMEI packet received {"connection_id":204042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":204042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:09:02] local.INFO: TCP Data received {"connection_id":204042,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:09:02] local.INFO: Processing buffer {"connection_id":204042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:09:02] local.INFO: Packet analysis {"connection_id":204042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:09:02] local.INFO: Extracted packet for processing {"connection_id":204042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:09:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533309696001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:09: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-10-05 02:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791146042000,"timestamp_ms":1791146042000,"timestamp_seconds":1791146042,"priority":1,"record_length":96,"hex_timestamp":"000001a1089fa290"} 
[2026-10-05 02:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 02:09:02] 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-10-05 02: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-10-05 02:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533309696001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 02:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533309696001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:09:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:09:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533309696001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":204042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:09:02] local.INFO: GPS data processed {"connection_id":204042,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:09:02] local.INFO: Acknowledgment sent {"connection_id":204042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:09:05] local.INFO: TCP Data received {"connection_id":207051,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:09:05] local.INFO: Processing buffer {"connection_id":207051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:09:05] local.INFO: IMEI packet received {"connection_id":207051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":207051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:09:06] local.INFO: TCP Data received {"connection_id":207051,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:09:06] local.INFO: Processing buffer {"connection_id":207051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:09:06] local.INFO: Packet analysis {"connection_id":207051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a3"} 
[2026-10-05 02:09:06] local.INFO: Extracted packet for processing {"connection_id":207051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a3"} 
[2026-10-05 02:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533382656001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791146327000,"timestamp_ms":1791146327000,"timestamp_seconds":1791146327,"priority":1,"record_length":96,"hex_timestamp":"000001a108a3fbd8"} 
[2026-10-05 02:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 02:09:06] 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-10-05 02: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-10-05 02:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533382656001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533382656001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:09:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:09:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533382656001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":207051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:09:06] local.INFO: GPS data processed {"connection_id":207051,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:09:06] local.INFO: Acknowledgment sent {"connection_id":207051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:09:33] local.INFO: TCP Data received {"connection_id":204042,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:09:33] local.INFO: Processing buffer {"connection_id":204042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1089fa290012d7f91c005afd9f0001a010122..."} 
[2026-10-05 02:09:33] local.INFO: Packet analysis {"connection_id":204042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:09:33] local.INFO: Extracted packet for processing {"connection_id":204042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1089f"} 
[2026-10-05 02:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533309696001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:09: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-10-05 02:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791146042000,"timestamp_ms":1791146042000,"timestamp_seconds":1791146042,"priority":1,"record_length":96,"hex_timestamp":"000001a1089fa290"} 
[2026-10-05 02:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 02:09:33] 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-10-05 02: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-10-05 02:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:09:33] 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-10-05 02:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533309696001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 02:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533309696001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:09:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:09:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533309696001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":204042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:09:33] local.INFO: GPS data processed {"connection_id":204042,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:09:33] local.INFO: Acknowledgment sent {"connection_id":204042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:09:37] local.INFO: TCP Data received {"connection_id":207051,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:09:37] local.INFO: Processing buffer {"connection_id":207051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:09:37] local.INFO: Packet analysis {"connection_id":207051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a3"} 
[2026-10-05 02:09:37] local.INFO: Extracted packet for processing {"connection_id":207051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a3"} 
[2026-10-05 02:09:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533382656001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791146327000,"timestamp_ms":1791146327000,"timestamp_seconds":1791146327,"priority":1,"record_length":96,"hex_timestamp":"000001a108a3fbd8"} 
[2026-10-05 02:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 02:09:38] 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-10-05 02:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533382656001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533382656001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:09:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:09:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533382656001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":207051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:09:38] local.INFO: GPS data processed {"connection_id":207051,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:09:38] local.INFO: Acknowledgment sent {"connection_id":207051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:10:00] local.INFO: TCP Data received {"connection_id":205487,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:10:00] local.INFO: Processing buffer {"connection_id":205487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:10:00] local.INFO: IMEI packet received {"connection_id":205487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":205487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:10:01] local.INFO: TCP Data received {"connection_id":207052,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:10:01] local.INFO: Processing buffer {"connection_id":207052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:10:01] local.INFO: IMEI packet received {"connection_id":207052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":207052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:10:05] local.INFO: TCP Data received {"connection_id":205487,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:10:05] local.INFO: Processing buffer {"connection_id":205487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:10:05] local.INFO: IMEI packet received {"connection_id":205487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":205487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:10:06] local.INFO: TCP Data received {"connection_id":205487,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:10:06] local.INFO: Processing buffer {"connection_id":205487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:10:06] local.INFO: Packet analysis {"connection_id":205487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a3"} 
[2026-10-05 02:10:06] local.INFO: Extracted packet for processing {"connection_id":205487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a3"} 
[2026-10-05 02:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533382656001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791146327000,"timestamp_ms":1791146327000,"timestamp_seconds":1791146327,"priority":1,"record_length":96,"hex_timestamp":"000001a108a3fbd8"} 
[2026-10-05 02:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 02:10:06] 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-10-05 02:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:10: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-10-05 02:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533382656001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533382656001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:10:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:10:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533382656001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":205487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964696,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:10:06] local.INFO: GPS data processed {"connection_id":205487,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:10:06] local.INFO: Acknowledgment sent {"connection_id":205487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:10:11] local.INFO: TCP Data received {"connection_id":207052,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:10:11] local.INFO: Processing buffer {"connection_id":207052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:10:11] local.INFO: IMEI packet received {"connection_id":207052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":207052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:10:11] local.INFO: TCP Data received {"connection_id":207052,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:10:11] local.INFO: Processing buffer {"connection_id":207052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:10:11] local.INFO: Packet analysis {"connection_id":207052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a4"} 
[2026-10-05 02:10:11] local.INFO: Extracted packet for processing {"connection_id":207052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a4"} 
[2026-10-05 02:10:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533386752001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:10:11] 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-10-05 02:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791146343000,"timestamp_ms":1791146343000,"timestamp_seconds":1791146343,"priority":1,"record_length":96,"hex_timestamp":"000001a108a43a58"} 
[2026-10-05 02:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:10:11] 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-10-05 02:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:10:11] 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-10-05 02:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533386752001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533386752001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:10:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533386752001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":207052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:10:11] local.INFO: GPS data processed {"connection_id":207052,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:10:11] local.INFO: Acknowledgment sent {"connection_id":207052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:10:12] local.INFO: TCP Data received {"connection_id":207052,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:10:12] local.INFO: Processing buffer {"connection_id":207052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:10:12] local.INFO: Packet analysis {"connection_id":207052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a4"} 
[2026-10-05 02:10:12] local.INFO: Extracted packet for processing {"connection_id":207052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a4"} 
[2026-10-05 02:10:12] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533386752001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:10:12] 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-10-05 02:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791146343000,"timestamp_ms":1791146343000,"timestamp_seconds":1791146343,"priority":1,"record_length":96,"hex_timestamp":"000001a108a43a58"} 
[2026-10-05 02:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:10:12] 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-10-05 02: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-10-05 02:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":207052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":207052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":207052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:10:12] 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-10-05 02:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533386752001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533386752001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:10:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533386752001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":207052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:10:12] local.INFO: GPS data processed {"connection_id":207052,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:10:12] local.INFO: Acknowledgment sent {"connection_id":207052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:10:37] local.INFO: TCP Data received {"connection_id":205487,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:10:37] local.INFO: Processing buffer {"connection_id":205487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:10:37] local.INFO: Packet analysis {"connection_id":205487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a3"} 
[2026-10-05 02:10:37] local.INFO: Extracted packet for processing {"connection_id":205487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a3"} 
[2026-10-05 02:10:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533382656001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791146327000,"timestamp_ms":1791146327000,"timestamp_seconds":1791146327,"priority":1,"record_length":96,"hex_timestamp":"000001a108a3fbd8"} 
[2026-10-05 02:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 02:10:37] 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-10-05 02:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:10: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-10-05 02:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533382656001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533382656001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:10:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:10:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533382656001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":205487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:10:37] local.INFO: GPS data processed {"connection_id":205487,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:10:37] local.INFO: Acknowledgment sent {"connection_id":205487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:10:56] local.INFO: TCP Data received {"connection_id":207053,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:10:56] local.INFO: Processing buffer {"connection_id":207053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:10:56] local.INFO: IMEI packet received {"connection_id":207053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":207053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:11:00] local.INFO: TCP Data received {"connection_id":203964,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:11:00] local.INFO: Processing buffer {"connection_id":203964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:11:00] local.INFO: IMEI packet received {"connection_id":203964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":203964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:11:01] local.INFO: TCP Data received {"connection_id":207053,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:11:01] local.INFO: Processing buffer {"connection_id":207053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:11:01] local.INFO: IMEI packet received {"connection_id":207053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":207053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:11:02] local.INFO: TCP Data received {"connection_id":207053,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:11:02] local.INFO: Processing buffer {"connection_id":207053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:11:02] local.INFO: Packet analysis {"connection_id":207053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a4"} 
[2026-10-05 02:11:02] local.INFO: Extracted packet for processing {"connection_id":207053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a4"} 
[2026-10-05 02:11:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533386752001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:11:02] 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-10-05 02:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791146343000,"timestamp_ms":1791146343000,"timestamp_seconds":1791146343,"priority":1,"record_length":96,"hex_timestamp":"000001a108a43a58"} 
[2026-10-05 02:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:11: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-10-05 02: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-10-05 02:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533386752001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533386752001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:11:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:11:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533386752001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":207053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:11:02] local.INFO: GPS data processed {"connection_id":207053,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:11:02] local.INFO: Acknowledgment sent {"connection_id":207053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:11:05] local.INFO: TCP Data received {"connection_id":203964,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:11:05] local.INFO: Processing buffer {"connection_id":203964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:11:05] local.INFO: IMEI packet received {"connection_id":203964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":203964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:11:06] local.INFO: TCP Data received {"connection_id":203964,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:11:06] local.INFO: Processing buffer {"connection_id":203964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:11:06] local.INFO: Packet analysis {"connection_id":203964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a3"} 
[2026-10-05 02:11:06] local.INFO: Extracted packet for processing {"connection_id":203964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a3"} 
[2026-10-05 02:11:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533382656001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791146327000,"timestamp_ms":1791146327000,"timestamp_seconds":1791146327,"priority":1,"record_length":96,"hex_timestamp":"000001a108a3fbd8"} 
[2026-10-05 02:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 02:11:06] 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-10-05 02: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-10-05 02:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:11: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-10-05 02:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533382656001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533382656001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:11:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:11:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533382656001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":203964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:11:06] local.INFO: GPS data processed {"connection_id":203964,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:11:06] local.INFO: Acknowledgment sent {"connection_id":203964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:11:33] local.INFO: TCP Data received {"connection_id":207053,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:11:33] local.INFO: Processing buffer {"connection_id":207053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:11:33] local.INFO: Packet analysis {"connection_id":207053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a4"} 
[2026-10-05 02:11:33] local.INFO: Extracted packet for processing {"connection_id":207053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a4"} 
[2026-10-05 02:11:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533386752001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:11: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-10-05 02:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791146343000,"timestamp_ms":1791146343000,"timestamp_seconds":1791146343,"priority":1,"record_length":96,"hex_timestamp":"000001a108a43a58"} 
[2026-10-05 02:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:11:33] 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-10-05 02: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-10-05 02:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:11:33] 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-10-05 02:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533386752001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533386752001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:11:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:11:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533386752001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":207053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:11:33] local.INFO: GPS data processed {"connection_id":207053,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:11:33] local.INFO: Acknowledgment sent {"connection_id":207053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:11:39] local.INFO: TCP Data received {"connection_id":203964,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:11:39] local.INFO: Processing buffer {"connection_id":203964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:11:39] local.INFO: Packet analysis {"connection_id":203964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a3"} 
[2026-10-05 02:11:39] local.INFO: Extracted packet for processing {"connection_id":203964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a3"} 
[2026-10-05 02:11:39] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533382656001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791146327000,"timestamp_ms":1791146327000,"timestamp_seconds":1791146327,"priority":1,"record_length":96,"hex_timestamp":"000001a108a3fbd8"} 
[2026-10-05 02:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 02:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":203964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":203964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":203964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:11: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-10-05 02:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533382656001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533382656001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:11:39] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:11:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533382656001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":203964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964703,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:11:39] local.INFO: GPS data processed {"connection_id":203964,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:11:39] local.INFO: Acknowledgment sent {"connection_id":203964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:11:56] local.INFO: TCP Data received {"connection_id":203966,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:11:56] local.INFO: Processing buffer {"connection_id":203966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:11:56] local.INFO: IMEI packet received {"connection_id":203966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":203966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:12:00] local.INFO: TCP Data received {"connection_id":203967,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:12:00] local.INFO: Processing buffer {"connection_id":203967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:12:00] local.INFO: IMEI packet received {"connection_id":203967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":203967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:12:01] local.INFO: TCP Data received {"connection_id":203966,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:12:01] local.INFO: Processing buffer {"connection_id":203966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:12:01] local.INFO: IMEI packet received {"connection_id":203966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":203966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:12:02] local.INFO: TCP Data received {"connection_id":203966,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:12:02] local.INFO: Processing buffer {"connection_id":203966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:12:02] local.INFO: Packet analysis {"connection_id":203966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a4"} 
[2026-10-05 02:12:02] local.INFO: Extracted packet for processing {"connection_id":203966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a4"} 
[2026-10-05 02:12:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533386752001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:12:02] 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-10-05 02:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791146343000,"timestamp_ms":1791146343000,"timestamp_seconds":1791146343,"priority":1,"record_length":96,"hex_timestamp":"000001a108a43a58"} 
[2026-10-05 02:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:12: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-10-05 02: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-10-05 02:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533386752001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 02:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533386752001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:12:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:12:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533386752001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":203966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:12:02] local.INFO: GPS data processed {"connection_id":203966,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:12:02] local.INFO: Acknowledgment sent {"connection_id":203966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:12:05] local.INFO: TCP Data received {"connection_id":203967,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:12:05] local.INFO: Processing buffer {"connection_id":203967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:12:05] local.INFO: IMEI packet received {"connection_id":203967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":203967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:12:06] local.INFO: TCP Data received {"connection_id":203967,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:12:06] local.INFO: Processing buffer {"connection_id":203967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:12:06] local.INFO: Packet analysis {"connection_id":203967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a3"} 
[2026-10-05 02:12:06] local.INFO: Extracted packet for processing {"connection_id":203967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a3"} 
[2026-10-05 02:12:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533382656001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791146327000,"timestamp_ms":1791146327000,"timestamp_seconds":1791146327,"priority":1,"record_length":96,"hex_timestamp":"000001a108a3fbd8"} 
[2026-10-05 02:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 02:12:06] 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-10-05 02: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-10-05 02:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:12:06] 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-10-05 02:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533382656001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533382656001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:12:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:12:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533382656001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":203967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964705,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:12:06] local.INFO: GPS data processed {"connection_id":203967,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:12:06] local.INFO: Acknowledgment sent {"connection_id":203967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:12:34] local.INFO: TCP Data received {"connection_id":203966,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:12:34] local.INFO: Processing buffer {"connection_id":203966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:12:34] local.INFO: Packet analysis {"connection_id":203966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a4"} 
[2026-10-05 02:12:34] local.INFO: Extracted packet for processing {"connection_id":203966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a4"} 
[2026-10-05 02:12:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533386752001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:12:34] 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-10-05 02:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791146343000,"timestamp_ms":1791146343000,"timestamp_seconds":1791146343,"priority":1,"record_length":96,"hex_timestamp":"000001a108a43a58"} 
[2026-10-05 02:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:12:34] 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-10-05 02:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":203966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":203966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":203966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:12:34] 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-10-05 02:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533386752001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 02:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533386752001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:12:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:12:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533386752001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":203966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:12:34] local.INFO: GPS data processed {"connection_id":203966,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:12:34] local.INFO: Acknowledgment sent {"connection_id":203966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:12:38] local.INFO: TCP Data received {"connection_id":203967,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:12:38] local.INFO: Processing buffer {"connection_id":203967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:12:38] local.INFO: Packet analysis {"connection_id":203967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a3"} 
[2026-10-05 02:12:38] local.INFO: Extracted packet for processing {"connection_id":203967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a3"} 
[2026-10-05 02:12:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533382656001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791146327000,"timestamp_ms":1791146327000,"timestamp_seconds":1791146327,"priority":1,"record_length":96,"hex_timestamp":"000001a108a3fbd8"} 
[2026-10-05 02:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 02:12:38] 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-10-05 02: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-10-05 02:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:12:38] 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-10-05 02:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533382656001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533382656001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:12:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:12:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533382656001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":203967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964707,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:12:38] local.INFO: GPS data processed {"connection_id":203967,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:12:38] local.INFO: Acknowledgment sent {"connection_id":203967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:12:58] local.INFO: TCP Data received {"connection_id":207054,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:12:58] local.INFO: Processing buffer {"connection_id":207054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:12:58] local.INFO: IMEI packet received {"connection_id":207054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":207054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:12:59] local.INFO: TCP Data received {"connection_id":204043,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204043,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:12:59] local.INFO: Processing buffer {"connection_id":204043,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:12:59] local.INFO: IMEI packet received {"connection_id":204043,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 02:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":204043,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:13:01] local.INFO: TCP Data received {"connection_id":207054,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:13:01] local.INFO: Processing buffer {"connection_id":207054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:13:01] local.INFO: IMEI packet received {"connection_id":207054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":207054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:13:02] local.INFO: TCP Data received {"connection_id":207054,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:13:02] local.INFO: Processing buffer {"connection_id":207054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:13:02] local.INFO: Packet analysis {"connection_id":207054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a4"} 
[2026-10-05 02:13:02] local.INFO: Extracted packet for processing {"connection_id":207054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a4"} 
[2026-10-05 02:13:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533386752001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:13:02] 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-10-05 02:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791146343000,"timestamp_ms":1791146343000,"timestamp_seconds":1791146343,"priority":1,"record_length":96,"hex_timestamp":"000001a108a43a58"} 
[2026-10-05 02:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:13: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-10-05 02: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-10-05 02:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533386752001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 02:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533386752001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:13:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:13:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533386752001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":207054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:13:02] local.INFO: GPS data processed {"connection_id":207054,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:13:02] local.INFO: Acknowledgment sent {"connection_id":207054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:13:05] local.INFO: TCP Data received {"connection_id":205489,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:13:05] local.INFO: Processing buffer {"connection_id":205489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:13:05] local.INFO: IMEI packet received {"connection_id":205489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":205489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:13:10] local.INFO: TCP Data received {"connection_id":205489,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:13:10] local.INFO: Processing buffer {"connection_id":205489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:13:10] local.INFO: IMEI packet received {"connection_id":205489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":205489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:13:11] local.INFO: TCP Data received {"connection_id":205489,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:13:11] local.INFO: Processing buffer {"connection_id":205489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:13:11] local.INFO: Packet analysis {"connection_id":205489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a3"} 
[2026-10-05 02:13:11] local.INFO: Extracted packet for processing {"connection_id":205489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a3"} 
[2026-10-05 02:13:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533382656001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791146327000,"timestamp_ms":1791146327000,"timestamp_seconds":1791146327,"priority":1,"record_length":96,"hex_timestamp":"000001a108a3fbd8"} 
[2026-10-05 02:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 02:13:11] 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-10-05 02:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533382656001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533382656001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:13:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:13:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533382656001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":205489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:13:11] local.INFO: GPS data processed {"connection_id":205489,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:13:11] local.INFO: Acknowledgment sent {"connection_id":205489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:13:16] local.INFO: TCP Data received {"connection_id":205489,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:13:16] local.INFO: Processing buffer {"connection_id":205489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a3fbd8012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:13:16] local.INFO: Packet analysis {"connection_id":205489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a3"} 
[2026-10-05 02:13:16] local.INFO: Extracted packet for processing {"connection_id":205489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a3"} 
[2026-10-05 02:13:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533382656001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791146327000,"timestamp_ms":1791146327000,"timestamp_seconds":1791146327,"priority":1,"record_length":96,"hex_timestamp":"000001a108a3fbd8"} 
[2026-10-05 02:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 02:13:16] 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-10-05 02:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533382656001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533382656001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:13:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:13:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533382656001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":205489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964710,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:13:16] local.INFO: GPS data processed {"connection_id":205489,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:13:16] local.INFO: Acknowledgment sent {"connection_id":205489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:13:33] local.INFO: TCP Data received {"connection_id":207054,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:13:33] local.INFO: Processing buffer {"connection_id":207054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:13:33] local.INFO: Packet analysis {"connection_id":207054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a4"} 
[2026-10-05 02:13:33] local.INFO: Extracted packet for processing {"connection_id":207054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a4"} 
[2026-10-05 02:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533386752001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:13: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-10-05 02:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791146343000,"timestamp_ms":1791146343000,"timestamp_seconds":1791146343,"priority":1,"record_length":96,"hex_timestamp":"000001a108a43a58"} 
[2026-10-05 02:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:13:33] 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-10-05 02:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533386752001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 02:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533386752001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:13:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:13:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533386752001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":207054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:13:33] local.INFO: GPS data processed {"connection_id":207054,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:13:33] local.INFO: Acknowledgment sent {"connection_id":207054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:13:43] local.INFO: TCP Data received {"connection_id":204044,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:13:43] local.INFO: Processing buffer {"connection_id":204044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:13:43] local.INFO: IMEI packet received {"connection_id":204044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 02:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":204044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:13:56] local.INFO: TCP Data received {"connection_id":204045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:13:56] local.INFO: Processing buffer {"connection_id":204045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:13:56] local.INFO: IMEI packet received {"connection_id":204045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":204045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:14:00] local.INFO: TCP Data received {"connection_id":204046,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:14:00] local.INFO: Processing buffer {"connection_id":204046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:14:00] local.INFO: IMEI packet received {"connection_id":204046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":204046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:14:01] local.INFO: TCP Data received {"connection_id":204045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:14:01] local.INFO: Processing buffer {"connection_id":204045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:14:01] local.INFO: IMEI packet received {"connection_id":204045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":204045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:14:02] local.INFO: TCP Data received {"connection_id":204045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:14:02] local.INFO: Processing buffer {"connection_id":204045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:14:02] local.INFO: Packet analysis {"connection_id":204045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a4"} 
[2026-10-05 02:14:02] local.INFO: Extracted packet for processing {"connection_id":204045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a4"} 
[2026-10-05 02:14:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533386752001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:14:02] 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-10-05 02:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791146343000,"timestamp_ms":1791146343000,"timestamp_seconds":1791146343,"priority":1,"record_length":96,"hex_timestamp":"000001a108a43a58"} 
[2026-10-05 02:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:14: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-10-05 02: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-10-05 02:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533386752001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533386752001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:14:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:14:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533386752001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":204045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:14:02] local.INFO: GPS data processed {"connection_id":204045,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:14:02] local.INFO: Acknowledgment sent {"connection_id":204045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:14:05] local.INFO: TCP Data received {"connection_id":204046,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:14:05] local.INFO: Processing buffer {"connection_id":204046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:14:05] local.INFO: IMEI packet received {"connection_id":204046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":204046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:14:06] local.INFO: TCP Data received {"connection_id":204046,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:14:06] local.INFO: Processing buffer {"connection_id":204046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:14:06] local.INFO: Packet analysis {"connection_id":204046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:14:06] local.INFO: Extracted packet for processing {"connection_id":204046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:14:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533459712001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791146628000,"timestamp_ms":1791146628000,"timestamp_seconds":1791146628,"priority":1,"record_length":96,"hex_timestamp":"000001a108a893a0"} 
[2026-10-05 02:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:14:06] 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-10-05 02: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:14:06] 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-10-05 02: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-10-05 02:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533459712001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533459712001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:14:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:14:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533459712001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":204046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:14:06] local.INFO: GPS data processed {"connection_id":204046,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:14:06] local.INFO: Acknowledgment sent {"connection_id":204046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:14:33] local.INFO: TCP Data received {"connection_id":204045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:14:33] local.INFO: Processing buffer {"connection_id":204045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a43a58012d7f91c005afd9f0001a010128..."} 
[2026-10-05 02:14:33] local.INFO: Packet analysis {"connection_id":204045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a4"} 
[2026-10-05 02:14:33] local.INFO: Extracted packet for processing {"connection_id":204045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a4"} 
[2026-10-05 02:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533386752001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:14: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-10-05 02:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791146343000,"timestamp_ms":1791146343000,"timestamp_seconds":1791146343,"priority":1,"record_length":96,"hex_timestamp":"000001a108a43a58"} 
[2026-10-05 02:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:14:33] 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-10-05 02: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-10-05 02:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533386752001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533386752001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:14:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:14:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533386752001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":204045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:14:33] local.INFO: GPS data processed {"connection_id":204045,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:14:33] local.INFO: Acknowledgment sent {"connection_id":204045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:14:37] local.INFO: TCP Data received {"connection_id":204046,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:14:37] local.INFO: Processing buffer {"connection_id":204046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:14:37] local.INFO: Packet analysis {"connection_id":204046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:14:37] local.INFO: Extracted packet for processing {"connection_id":204046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:14:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533459712001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791146628000,"timestamp_ms":1791146628000,"timestamp_seconds":1791146628,"priority":1,"record_length":96,"hex_timestamp":"000001a108a893a0"} 
[2026-10-05 02:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:14:37] 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-10-05 02:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:14:37] 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-10-05 02:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533459712001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533459712001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:14:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:14:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533459712001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":204046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964715,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:14:37] local.INFO: GPS data processed {"connection_id":204046,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:14:37] local.INFO: Acknowledgment sent {"connection_id":204046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:14:56] local.INFO: TCP Data received {"connection_id":207056,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:14:56] local.INFO: Processing buffer {"connection_id":207056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:14:56] local.INFO: IMEI packet received {"connection_id":207056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":207056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:15:01] local.INFO: TCP Data received {"connection_id":204048,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:15:01] local.INFO: Processing buffer {"connection_id":204048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:15:01] local.INFO: IMEI packet received {"connection_id":204048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":204048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:15:01] local.INFO: TCP Data received {"connection_id":207056,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:15:01] local.INFO: Processing buffer {"connection_id":207056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:15:01] local.INFO: IMEI packet received {"connection_id":207056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":207056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:15:02] local.INFO: TCP Data received {"connection_id":207056,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a108a8d220012d7f91c005afd9f0001a01012a..."} 
[2026-10-05 02:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a8d220012d7f91c005afd9f0001a01012a..."} 
[2026-10-05 02:15:02] local.INFO: Processing buffer {"connection_id":207056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a8d220012d7f91c005afd9f0001a01012a..."} 
[2026-10-05 02:15:02] local.INFO: Packet analysis {"connection_id":207056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:15:02] local.INFO: Extracted packet for processing {"connection_id":207056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:15:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533463808001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:15: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-10-05 02:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791146644000,"timestamp_ms":1791146644000,"timestamp_seconds":1791146644,"priority":1,"record_length":96,"hex_timestamp":"000001a108a8d220"} 
[2026-10-05 02:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 02:15:02] 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-10-05 02: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-10-05 02:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:15:02] 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-10-05 02:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533463808001,"66":25582,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533463808001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:15:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:15:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533463808001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":207056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:15:02] local.INFO: GPS data processed {"connection_id":207056,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:15:02] local.INFO: Acknowledgment sent {"connection_id":207056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:15:05] local.INFO: TCP Data received {"connection_id":204048,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:15:05] local.INFO: Processing buffer {"connection_id":204048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:15:05] local.INFO: IMEI packet received {"connection_id":204048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":204048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:15:06] local.INFO: TCP Data received {"connection_id":204048,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:15:06] local.INFO: Processing buffer {"connection_id":204048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:15:06] local.INFO: Packet analysis {"connection_id":204048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:15:06] local.INFO: Extracted packet for processing {"connection_id":204048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:15:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533459712001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791146628000,"timestamp_ms":1791146628000,"timestamp_seconds":1791146628,"priority":1,"record_length":96,"hex_timestamp":"000001a108a893a0"} 
[2026-10-05 02:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:15:06] 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-10-05 02: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:15:06] 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-10-05 02: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-10-05 02:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533459712001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533459712001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:15:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:15:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533459712001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":204048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964717,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:15:06] local.INFO: GPS data processed {"connection_id":204048,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:15:06] local.INFO: Acknowledgment sent {"connection_id":204048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:15:33] local.INFO: TCP Data received {"connection_id":207056,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a108a8d220012d7f91c005afd9f0001a01012a..."} 
[2026-10-05 02:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a8d220012d7f91c005afd9f0001a01012a..."} 
[2026-10-05 02:15:33] local.INFO: Processing buffer {"connection_id":207056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a8d220012d7f91c005afd9f0001a01012a..."} 
[2026-10-05 02:15:33] local.INFO: Packet analysis {"connection_id":207056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:15:33] local.INFO: Extracted packet for processing {"connection_id":207056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:15: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-10-05 02:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533463808001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:15: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-10-05 02:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791146644000,"timestamp_ms":1791146644000,"timestamp_seconds":1791146644,"priority":1,"record_length":96,"hex_timestamp":"000001a108a8d220"} 
[2026-10-05 02:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:15: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":4,"data_length":795,"current_offset":136} 
[2026-10-05 02:15:33] 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-10-05 02:15: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-10-05 02:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533463808001,"66":25582,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533463808001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:15:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:15:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533463808001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":207056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:15:33] local.INFO: GPS data processed {"connection_id":207056,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:15:33] local.INFO: Acknowledgment sent {"connection_id":207056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:15:38] local.INFO: TCP Data received {"connection_id":204048,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:15:38] local.INFO: Processing buffer {"connection_id":204048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:15:38] local.INFO: Packet analysis {"connection_id":204048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:15:38] local.INFO: Extracted packet for processing {"connection_id":204048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:15:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:15: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-10-05 02:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533459712001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791146628000,"timestamp_ms":1791146628000,"timestamp_seconds":1791146628,"priority":1,"record_length":96,"hex_timestamp":"000001a108a893a0"} 
[2026-10-05 02:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:15:38] 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-10-05 02:15: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":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:15:38] 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-10-05 02:15: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-10-05 02:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533459712001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533459712001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:15:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:15:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533459712001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":204048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964719,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:15:38] local.INFO: GPS data processed {"connection_id":204048,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:15:38] local.INFO: Acknowledgment sent {"connection_id":204048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:15:56] local.INFO: TCP Data received {"connection_id":205490,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:15:56] local.INFO: Processing buffer {"connection_id":205490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:15:56] local.INFO: IMEI packet received {"connection_id":205490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":205490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:16:00] local.INFO: TCP Data received {"connection_id":203969,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:16:00] local.INFO: Processing buffer {"connection_id":203969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:16:00] local.INFO: IMEI packet received {"connection_id":203969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":203969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:16:02] local.INFO: TCP Data received {"connection_id":205490,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:16:02] local.INFO: Processing buffer {"connection_id":205490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:16:02] local.INFO: IMEI packet received {"connection_id":205490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":205490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:16:03] local.INFO: TCP Data received {"connection_id":205490,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a108a8d220012d7f91c005afd9f0001a01012a..."} 
[2026-10-05 02:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a8d220012d7f91c005afd9f0001a01012a..."} 
[2026-10-05 02:16:03] local.INFO: Processing buffer {"connection_id":205490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a8d220012d7f91c005afd9f0001a01012a..."} 
[2026-10-05 02:16:03] local.INFO: Packet analysis {"connection_id":205490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:16:03] local.INFO: Extracted packet for processing {"connection_id":205490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:16:03] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533463808001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:16: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-10-05 02:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791146644000,"timestamp_ms":1791146644000,"timestamp_seconds":1791146644,"priority":1,"record_length":96,"hex_timestamp":"000001a108a8d220"} 
[2026-10-05 02:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 02:16: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-10-05 02: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-10-05 02:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":205490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":205490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":205490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:16: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-10-05 02:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533463808001,"66":25582,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533463808001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:16:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:16:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533463808001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":205490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:16:03] local.INFO: GPS data processed {"connection_id":205490,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:16:03] local.INFO: Acknowledgment sent {"connection_id":205490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:16:05] local.INFO: TCP Data received {"connection_id":203969,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:16:05] local.INFO: Processing buffer {"connection_id":203969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:16:05] local.INFO: IMEI packet received {"connection_id":203969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":203969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:16:06] local.INFO: TCP Data received {"connection_id":203969,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:16:06] local.INFO: Processing buffer {"connection_id":203969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:16:06] local.INFO: Packet analysis {"connection_id":203969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:16:06] local.INFO: Extracted packet for processing {"connection_id":203969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:16:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533459712001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791146628000,"timestamp_ms":1791146628000,"timestamp_seconds":1791146628,"priority":1,"record_length":96,"hex_timestamp":"000001a108a893a0"} 
[2026-10-05 02:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:16:06] 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-10-05 02:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:16:06] 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-10-05 02:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533459712001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533459712001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:16:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:16:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533459712001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":203969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964721,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:16:06] local.INFO: GPS data processed {"connection_id":203969,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:16:06] local.INFO: Acknowledgment sent {"connection_id":203969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:16:34] local.INFO: TCP Data received {"connection_id":205490,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a108a8d220012d7f91c005afd9f0001a01012a..."} 
[2026-10-05 02:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a8d220012d7f91c005afd9f0001a01012a..."} 
[2026-10-05 02:16:34] local.INFO: Processing buffer {"connection_id":205490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a8d220012d7f91c005afd9f0001a01012a..."} 
[2026-10-05 02:16:34] local.INFO: Packet analysis {"connection_id":205490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:16:34] local.INFO: Extracted packet for processing {"connection_id":205490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:16:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533463808001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02: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-10-05 02:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791146644000,"timestamp_ms":1791146644000,"timestamp_seconds":1791146644,"priority":1,"record_length":96,"hex_timestamp":"000001a108a8d220"} 
[2026-10-05 02:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 02:16: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-10-05 02: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-10-05 02:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":205490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":205490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":205490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533463808001,"66":25582,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533463808001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:16:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:16:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533463808001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":205490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:16:34] local.INFO: GPS data processed {"connection_id":205490,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:16:34] local.INFO: Acknowledgment sent {"connection_id":205490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:16:38] local.INFO: TCP Data received {"connection_id":203969,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:16:38] local.INFO: Processing buffer {"connection_id":203969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:16:38] local.INFO: Packet analysis {"connection_id":203969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:16:38] local.INFO: Extracted packet for processing {"connection_id":203969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:16:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533459712001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791146628000,"timestamp_ms":1791146628000,"timestamp_seconds":1791146628,"priority":1,"record_length":96,"hex_timestamp":"000001a108a893a0"} 
[2026-10-05 02:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:16:38] 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-10-05 02: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:16:38] 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-10-05 02: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-10-05 02:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533459712001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533459712001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:16:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:16:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533459712001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":203969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964723,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:16:38] local.INFO: GPS data processed {"connection_id":203969,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:16:38] local.INFO: Acknowledgment sent {"connection_id":203969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:16:56] local.INFO: TCP Data received {"connection_id":204049,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:16:56] local.INFO: Processing buffer {"connection_id":204049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:16:56] local.INFO: IMEI packet received {"connection_id":204049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":204049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:17:00] local.INFO: TCP Data received {"connection_id":203970,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:17:00] local.INFO: Processing buffer {"connection_id":203970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:17:00] local.INFO: IMEI packet received {"connection_id":203970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":203970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:17:01] local.INFO: TCP Data received {"connection_id":204049,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:17:01] local.INFO: Processing buffer {"connection_id":204049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:17:01] local.INFO: IMEI packet received {"connection_id":204049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":204049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:17:02] local.INFO: TCP Data received {"connection_id":204049,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a108a8d220012d7f91c005afd9f0001a01012a..."} 
[2026-10-05 02:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a8d220012d7f91c005afd9f0001a01012a..."} 
[2026-10-05 02:17:02] local.INFO: Processing buffer {"connection_id":204049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a8d220012d7f91c005afd9f0001a01012a..."} 
[2026-10-05 02:17:02] local.INFO: Packet analysis {"connection_id":204049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:17:02] local.INFO: Extracted packet for processing {"connection_id":204049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:17:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533463808001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:17: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-10-05 02:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791146644000,"timestamp_ms":1791146644000,"timestamp_seconds":1791146644,"priority":1,"record_length":96,"hex_timestamp":"000001a108a8d220"} 
[2026-10-05 02:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 02:17:02] 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-10-05 02: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-10-05 02:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533463808001,"66":25582,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533463808001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:17:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:17:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533463808001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":204049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:17:02] local.INFO: GPS data processed {"connection_id":204049,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:17:02] local.INFO: Acknowledgment sent {"connection_id":204049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:17:05] local.INFO: TCP Data received {"connection_id":203970,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:17:05] local.INFO: Processing buffer {"connection_id":203970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:17:05] local.INFO: IMEI packet received {"connection_id":203970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":203970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:17:06] local.INFO: TCP Data received {"connection_id":203970,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:17:06] local.INFO: Processing buffer {"connection_id":203970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:17:06] local.INFO: Packet analysis {"connection_id":203970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:17:06] local.INFO: Extracted packet for processing {"connection_id":203970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:17:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 02:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533459712001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791146628000,"timestamp_ms":1791146628000,"timestamp_seconds":1791146628,"priority":1,"record_length":96,"hex_timestamp":"000001a108a893a0"} 
[2026-10-05 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-10-05 02:17:06] 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-10-05 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:17:06] 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-10-05 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-10-05 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-10-05 02:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533459712001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533459712001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:17:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:17:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533459712001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":203970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964725,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:17:06] local.INFO: GPS data processed {"connection_id":203970,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:17:06] local.INFO: Acknowledgment sent {"connection_id":203970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:17:33] local.INFO: TCP Data received {"connection_id":204049,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a108a8d220012d7f91c005afd9f0001a01012a..."} 
[2026-10-05 02:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a8d220012d7f91c005afd9f0001a01012a..."} 
[2026-10-05 02:17:33] local.INFO: Processing buffer {"connection_id":204049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a8d220012d7f91c005afd9f0001a01012a..."} 
[2026-10-05 02:17:33] local.INFO: Packet analysis {"connection_id":204049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:17:33] local.INFO: Extracted packet for processing {"connection_id":204049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533463808001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:17: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-10-05 02:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791146644000,"timestamp_ms":1791146644000,"timestamp_seconds":1791146644,"priority":1,"record_length":96,"hex_timestamp":"000001a108a8d220"} 
[2026-10-05 02:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 02:17:33] 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-10-05 02: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-10-05 02:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533463808001,"66":25582,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533463808001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:17:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:17:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533463808001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":204049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:17:33] local.INFO: GPS data processed {"connection_id":204049,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:17:33] local.INFO: Acknowledgment sent {"connection_id":204049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:17:37] local.INFO: TCP Data received {"connection_id":203970,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:17:37] local.INFO: Processing buffer {"connection_id":203970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:17:37] local.INFO: Packet analysis {"connection_id":203970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:17:37] local.INFO: Extracted packet for processing {"connection_id":203970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:17:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533459712001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791146628000,"timestamp_ms":1791146628000,"timestamp_seconds":1791146628,"priority":1,"record_length":96,"hex_timestamp":"000001a108a893a0"} 
[2026-10-05 02:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:17:37] 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-10-05 02: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:17:37] 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-10-05 02: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-10-05 02:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533459712001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533459712001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:17:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:17:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533459712001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":203970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:17:37] local.INFO: GPS data processed {"connection_id":203970,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:17:37] local.INFO: Acknowledgment sent {"connection_id":203970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:18:00] local.INFO: TCP Data received {"connection_id":203971,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:18:00] local.INFO: Processing buffer {"connection_id":203971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:18:00] local.INFO: IMEI packet received {"connection_id":203971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":203971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:18:01] local.INFO: TCP Data received {"connection_id":205492,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:18:01] local.INFO: Processing buffer {"connection_id":205492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:18:01] local.INFO: IMEI packet received {"connection_id":205492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":205492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:18:05] local.INFO: TCP Data received {"connection_id":203971,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:18:05] local.INFO: Processing buffer {"connection_id":203971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:18:05] local.INFO: IMEI packet received {"connection_id":203971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":203971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:18:06] local.INFO: TCP Data received {"connection_id":203971,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:18:06] local.INFO: Processing buffer {"connection_id":203971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:18:06] local.INFO: Packet analysis {"connection_id":203971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:18:06] local.INFO: Extracted packet for processing {"connection_id":203971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:18:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533459712001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791146628000,"timestamp_ms":1791146628000,"timestamp_seconds":1791146628,"priority":1,"record_length":96,"hex_timestamp":"000001a108a893a0"} 
[2026-10-05 02:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:18:06] 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-10-05 02:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:18:06] 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-10-05 02:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:18: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-10-05 02:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533459712001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533459712001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:18:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:18:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533459712001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":203971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964728,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:18:06] local.INFO: GPS data processed {"connection_id":203971,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:18:06] local.INFO: Acknowledgment sent {"connection_id":203971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:18:06] local.INFO: TCP Data received {"connection_id":205492,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:18:06] local.INFO: Processing buffer {"connection_id":205492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:18:06] local.INFO: IMEI packet received {"connection_id":205492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":205492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:18:07] local.INFO: TCP Data received {"connection_id":205492,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a108a8d220012d7f91c005afd9f0001a01012a..."} 
[2026-10-05 02:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a8d220012d7f91c005afd9f0001a01012a..."} 
[2026-10-05 02:18:07] local.INFO: Processing buffer {"connection_id":205492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a8d220012d7f91c005afd9f0001a01012a..."} 
[2026-10-05 02:18:07] local.INFO: Packet analysis {"connection_id":205492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:18:07] local.INFO: Extracted packet for processing {"connection_id":205492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:18:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533463808001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:18: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-10-05 02:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791146644000,"timestamp_ms":1791146644000,"timestamp_seconds":1791146644,"priority":1,"record_length":96,"hex_timestamp":"000001a108a8d220"} 
[2026-10-05 02:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 02:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533463808001,"66":25582,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 02:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533463808001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:18:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:18:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533463808001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":205492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:18:07] local.INFO: GPS data processed {"connection_id":205492,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:18:07] local.INFO: Acknowledgment sent {"connection_id":205492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:18:37] local.INFO: TCP Data received {"connection_id":203971,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:18:37] local.INFO: Processing buffer {"connection_id":203971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a893a0012d7c2ac005dac8a0000200bf29..."} 
[2026-10-05 02:18:37] local.INFO: Packet analysis {"connection_id":203971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:18:37] local.INFO: Extracted packet for processing {"connection_id":203971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:18:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533459712001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791146628000,"timestamp_ms":1791146628000,"timestamp_seconds":1791146628,"priority":1,"record_length":96,"hex_timestamp":"000001a108a893a0"} 
[2026-10-05 02:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:18:37] 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-10-05 02: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:18:37] 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-10-05 02: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-10-05 02:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:18: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-10-05 02:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533459712001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533459712001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:18:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:18:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533459712001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":203971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964730,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:18:38] local.INFO: GPS data processed {"connection_id":203971,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:18:38] local.INFO: Acknowledgment sent {"connection_id":203971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:18:56] local.INFO: TCP Data received {"connection_id":203973,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:18:56] local.INFO: Processing buffer {"connection_id":203973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:18:56] local.INFO: IMEI packet received {"connection_id":203973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":203973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:19:01] local.INFO: TCP Data received {"connection_id":203973,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:19:01] local.INFO: Processing buffer {"connection_id":203973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:19:01] local.INFO: IMEI packet received {"connection_id":203973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":203973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:19:02] local.INFO: TCP Data received {"connection_id":203973,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108a8d220012d7f91c005afd9f0001a01012a..."} 
[2026-10-05 02:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a8d220012d7f91c005afd9f0001a01012a..."} 
[2026-10-05 02:19:02] local.INFO: Processing buffer {"connection_id":203973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a8d220012d7f91c005afd9f0001a01012a..."} 
[2026-10-05 02:19:02] local.INFO: Packet analysis {"connection_id":203973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:19:02] local.INFO: Extracted packet for processing {"connection_id":203973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:19:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533463808001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02: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-10-05 02:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791146644000,"timestamp_ms":1791146644000,"timestamp_seconds":1791146644,"priority":1,"record_length":96,"hex_timestamp":"000001a108a8d220"} 
[2026-10-05 02:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":4,"data_length":795,"current_offset":136} 
[2026-10-05 02:19:02] 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-10-05 02: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-10-05 02:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:19: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-10-05 02:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533463808001,"66":25582,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533463808001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:19:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:19:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533463808001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":203973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:19:02] local.INFO: GPS data processed {"connection_id":203973,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:19:02] local.INFO: Acknowledgment sent {"connection_id":203973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:19:05] local.INFO: TCP Data received {"connection_id":204050,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:19:05] local.INFO: Processing buffer {"connection_id":204050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:19:05] local.INFO: IMEI packet received {"connection_id":204050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":204050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:19:09] local.INFO: TCP Data received {"connection_id":203972,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:19:09] local.INFO: Processing buffer {"connection_id":203972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:19:09] local.INFO: IMEI packet received {"connection_id":203972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 02:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":203972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:19:10] local.INFO: TCP Data received {"connection_id":204050,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:19:10] local.INFO: Processing buffer {"connection_id":204050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:19:10] local.INFO: IMEI packet received {"connection_id":204050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":204050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:19:11] local.INFO: TCP Data received {"connection_id":204050,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:19:11] local.INFO: Processing buffer {"connection_id":204050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:19:11] local.INFO: Packet analysis {"connection_id":204050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:19:11] local.INFO: Extracted packet for processing {"connection_id":204050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:19:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533536768001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791146929000,"timestamp_ms":1791146929000,"timestamp_seconds":1791146929,"priority":1,"record_length":96,"hex_timestamp":"000001a108ad2b68"} 
[2026-10-05 02:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:19:11] 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-10-05 02:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533536768001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533536768001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:19:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533536768001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":204050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:19:11] local.INFO: GPS data processed {"connection_id":204050,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:19:11] local.INFO: Acknowledgment sent {"connection_id":204050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:19:16] local.INFO: TCP Data received {"connection_id":204050,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:19:16] local.INFO: Processing buffer {"connection_id":204050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:19:16] local.INFO: Packet analysis {"connection_id":204050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:19:16] local.INFO: Extracted packet for processing {"connection_id":204050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:19:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533536768001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791146929000,"timestamp_ms":1791146929000,"timestamp_seconds":1791146929,"priority":1,"record_length":96,"hex_timestamp":"000001a108ad2b68"} 
[2026-10-05 02:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533536768001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533536768001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:19:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:19:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533536768001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":204050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964733,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:19:16] local.INFO: GPS data processed {"connection_id":204050,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:19:16] local.INFO: Acknowledgment sent {"connection_id":204050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:19:33] local.INFO: TCP Data received {"connection_id":203973,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108a8d220012d7f91c005afd9f0001a01012a..."} 
[2026-10-05 02:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108a8d220012d7f91c005afd9f0001a01012a..."} 
[2026-10-05 02:19:33] local.INFO: Processing buffer {"connection_id":203973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108a8d220012d7f91c005afd9f0001a01012a..."} 
[2026-10-05 02:19:33] local.INFO: Packet analysis {"connection_id":203973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:19:33] local.INFO: Extracted packet for processing {"connection_id":203973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108a8"} 
[2026-10-05 02:19:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533463808001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:19: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-10-05 02:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791146644000,"timestamp_ms":1791146644000,"timestamp_seconds":1791146644,"priority":1,"record_length":96,"hex_timestamp":"000001a108a8d220"} 
[2026-10-05 02:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 02:19:33] 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-10-05 02:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533463808001,"66":25582,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533463808001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:19:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:19:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533463808001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":203973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:19:33] local.INFO: GPS data processed {"connection_id":203973,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:19:33] local.INFO: Acknowledgment sent {"connection_id":203973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:19:49] local.INFO: TCP Data received {"connection_id":205493,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:19:49] local.INFO: Processing buffer {"connection_id":205493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:19:49] local.INFO: IMEI packet received {"connection_id":205493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 02:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":205493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:19:56] local.INFO: TCP Data received {"connection_id":203974,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:19:56] local.INFO: Processing buffer {"connection_id":203974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:19:56] local.INFO: IMEI packet received {"connection_id":203974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":203974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:20:00] local.INFO: TCP Data received {"connection_id":203975,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:20:00] local.INFO: Processing buffer {"connection_id":203975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:20:00] local.INFO: IMEI packet received {"connection_id":203975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":203975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:20:01] local.INFO: TCP Data received {"connection_id":203974,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:20:01] local.INFO: Processing buffer {"connection_id":203974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:20:01] local.INFO: IMEI packet received {"connection_id":203974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":203974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:20:02] local.INFO: TCP Data received {"connection_id":203974,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:20:02] local.INFO: Processing buffer {"connection_id":203974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:20:02] local.INFO: Packet analysis {"connection_id":203974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:20:02] local.INFO: Extracted packet for processing {"connection_id":203974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:20:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":29,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533540864001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02: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-10-05 02:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791146945000,"timestamp_ms":1791146945000,"timestamp_seconds":1791146945,"priority":1,"record_length":96,"hex_timestamp":"000001a108ad69e8"} 
[2026-10-05 02:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:20:02] 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-10-05 02: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-10-05 02:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:20: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-10-05 02:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533540864001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533540864001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:20:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:20:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533540864001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":203974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:20:02] local.INFO: GPS data processed {"connection_id":203974,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:20:02] local.INFO: Acknowledgment sent {"connection_id":203974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:20:05] local.INFO: TCP Data received {"connection_id":203975,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:20:05] local.INFO: Processing buffer {"connection_id":203975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:20:05] local.INFO: IMEI packet received {"connection_id":203975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":203975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:20:06] local.INFO: TCP Data received {"connection_id":203975,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:20:06] local.INFO: Processing buffer {"connection_id":203975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:20:06] local.INFO: Packet analysis {"connection_id":203975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:20:06] local.INFO: Extracted packet for processing {"connection_id":203975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:20:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533536768001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791146929000,"timestamp_ms":1791146929000,"timestamp_seconds":1791146929,"priority":1,"record_length":96,"hex_timestamp":"000001a108ad2b68"} 
[2026-10-05 02:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:20:06] 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-10-05 02: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-10-05 02:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533536768001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533536768001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:20:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:20:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533536768001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":203975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964736,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:20:06] local.INFO: GPS data processed {"connection_id":203975,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:20:06] local.INFO: Acknowledgment sent {"connection_id":203975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:20:37] local.INFO: TCP Data received {"connection_id":203975,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:20:37] local.INFO: Processing buffer {"connection_id":203975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:20:37] local.INFO: Packet analysis {"connection_id":203975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:20:37] local.INFO: Extracted packet for processing {"connection_id":203975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:20:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533536768001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791146929000,"timestamp_ms":1791146929000,"timestamp_seconds":1791146929,"priority":1,"record_length":96,"hex_timestamp":"000001a108ad2b68"} 
[2026-10-05 02:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:20:37] 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-10-05 02: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-10-05 02:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533536768001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533536768001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:20:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:20:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533536768001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":203975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964737,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:20:37] local.INFO: GPS data processed {"connection_id":203975,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:20:37] local.INFO: Acknowledgment sent {"connection_id":203975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:20:40] local.INFO: TCP Data received {"connection_id":203974,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:20:40] local.INFO: Processing buffer {"connection_id":203974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:20:40] local.INFO: Packet analysis {"connection_id":203974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:20:40] local.INFO: Extracted packet for processing {"connection_id":203974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:20:40] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":29,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533540864001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:20: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-10-05 02:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791146945000,"timestamp_ms":1791146945000,"timestamp_seconds":1791146945,"priority":1,"record_length":96,"hex_timestamp":"000001a108ad69e8"} 
[2026-10-05 02:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:20:40] 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-10-05 02:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":203974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":203974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":203974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533540864001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533540864001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:20:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:20:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533540864001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":203974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:20:40] local.INFO: GPS data processed {"connection_id":203974,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:20:40] local.INFO: Acknowledgment sent {"connection_id":203974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:21:00] local.INFO: TCP Data received {"connection_id":204053,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:21:00] local.INFO: Processing buffer {"connection_id":204053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:21:00] local.INFO: IMEI packet received {"connection_id":204053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":204053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:21:01] local.INFO: TCP Data received {"connection_id":204052,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:21:01] local.INFO: Processing buffer {"connection_id":204052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:21:01] local.INFO: IMEI packet received {"connection_id":204052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":204052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:21:05] local.INFO: TCP Data received {"connection_id":204053,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:21:05] local.INFO: Processing buffer {"connection_id":204053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:21:05] local.INFO: IMEI packet received {"connection_id":204053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":204053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:21:06] local.INFO: TCP Data received {"connection_id":204053,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:21:06] local.INFO: Processing buffer {"connection_id":204053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:21:06] local.INFO: Packet analysis {"connection_id":204053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:21:06] local.INFO: Extracted packet for processing {"connection_id":204053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:21:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533536768001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791146929000,"timestamp_ms":1791146929000,"timestamp_seconds":1791146929,"priority":1,"record_length":96,"hex_timestamp":"000001a108ad2b68"} 
[2026-10-05 02:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:21:06] 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-10-05 02:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533536768001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533536768001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:21:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:21:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533536768001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":204053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:21:06] local.INFO: GPS data processed {"connection_id":204053,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:21:06] local.INFO: Acknowledgment sent {"connection_id":204053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:21:06] local.INFO: TCP Data received {"connection_id":204052,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:21:06] local.INFO: Processing buffer {"connection_id":204052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:21:06] local.INFO: IMEI packet received {"connection_id":204052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":204052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:21:07] local.INFO: TCP Data received {"connection_id":204052,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:21:07] local.INFO: Processing buffer {"connection_id":204052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:21:07] local.INFO: Packet analysis {"connection_id":204052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:21:07] local.INFO: Extracted packet for processing {"connection_id":204052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:21:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":29,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:21: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-10-05 02:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533540864001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:21: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-10-05 02:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791146945000,"timestamp_ms":1791146945000,"timestamp_seconds":1791146945,"priority":1,"record_length":96,"hex_timestamp":"000001a108ad69e8"} 
[2026-10-05 02:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:21: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-10-05 02:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533540864001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533540864001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:21:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:21:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533540864001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":204052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:21:07] local.INFO: GPS data processed {"connection_id":204052,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:21:07] local.INFO: Acknowledgment sent {"connection_id":204052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:21:12] local.INFO: TCP Data received {"connection_id":204052,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:21:12] local.INFO: Processing buffer {"connection_id":204052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:21:12] local.INFO: Packet analysis {"connection_id":204052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:21:12] local.INFO: Extracted packet for processing {"connection_id":204052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:21:12] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":29,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533540864001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791146945000,"timestamp_ms":1791146945000,"timestamp_seconds":1791146945,"priority":1,"record_length":96,"hex_timestamp":"000001a108ad69e8"} 
[2026-10-05 02:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:21:12] 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-10-05 02:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533540864001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533540864001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:21:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:21:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533540864001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":204052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:21:12] local.INFO: GPS data processed {"connection_id":204052,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:21:12] local.INFO: Acknowledgment sent {"connection_id":204052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:21:37] local.INFO: TCP Data received {"connection_id":204053,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:21:37] local.INFO: Processing buffer {"connection_id":204053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:21:37] local.INFO: Packet analysis {"connection_id":204053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:21:37] local.INFO: Extracted packet for processing {"connection_id":204053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:21:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533536768001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791146929000,"timestamp_ms":1791146929000,"timestamp_seconds":1791146929,"priority":1,"record_length":96,"hex_timestamp":"000001a108ad2b68"} 
[2026-10-05 02:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:21:37] 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-10-05 02:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533536768001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533536768001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:21:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:21:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533536768001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":204053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:21:37] local.INFO: GPS data processed {"connection_id":204053,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:21:37] local.INFO: Acknowledgment sent {"connection_id":204053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:21:56] local.INFO: TCP Data received {"connection_id":207058,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:21:56] local.INFO: Processing buffer {"connection_id":207058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:21:56] local.INFO: IMEI packet received {"connection_id":207058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":207058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:22:00] local.INFO: TCP Data received {"connection_id":203977,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:22:00] local.INFO: Processing buffer {"connection_id":203977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:22:00] local.INFO: IMEI packet received {"connection_id":203977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":203977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:22:03] local.INFO: TCP Data received {"connection_id":207058,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:22:03] local.INFO: Processing buffer {"connection_id":207058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:22:03] local.INFO: IMEI packet received {"connection_id":207058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":207058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:22:04] local.INFO: TCP Data received {"connection_id":207058,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:22:04] local.INFO: Processing buffer {"connection_id":207058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:22:04] local.INFO: Packet analysis {"connection_id":207058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:22:04] local.INFO: Extracted packet for processing {"connection_id":207058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:22:04] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":29,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533540864001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:22: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-10-05 02:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791146945000,"timestamp_ms":1791146945000,"timestamp_seconds":1791146945,"priority":1,"record_length":96,"hex_timestamp":"000001a108ad69e8"} 
[2026-10-05 02:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:22: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-10-05 02: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-10-05 02:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":207058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":207058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":207058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:22: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-10-05 02:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533540864001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533540864001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:22:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:22:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533540864001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":207058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:22:04] local.INFO: GPS data processed {"connection_id":207058,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:22:04] local.INFO: Acknowledgment sent {"connection_id":207058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:22:05] local.INFO: TCP Data received {"connection_id":203977,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:22:05] local.INFO: Processing buffer {"connection_id":203977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:22:05] local.INFO: IMEI packet received {"connection_id":203977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":203977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:22:06] local.INFO: TCP Data received {"connection_id":203977,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:22:06] local.INFO: Processing buffer {"connection_id":203977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:22:06] local.INFO: Packet analysis {"connection_id":203977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:22:06] local.INFO: Extracted packet for processing {"connection_id":203977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:22:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 02:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533536768001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791146929000,"timestamp_ms":1791146929000,"timestamp_seconds":1791146929,"priority":1,"record_length":96,"hex_timestamp":"000001a108ad2b68"} 
[2026-10-05 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-10-05 02:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:22:06] 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-10-05 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-10-05 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-10-05 02:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533536768001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533536768001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:22:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:22:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533536768001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":203977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964744,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:22:06] local.INFO: GPS data processed {"connection_id":203977,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:22:06] local.INFO: Acknowledgment sent {"connection_id":203977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:22:06] local.INFO: TCP Data received {"connection_id":207058,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:22:06] local.INFO: Processing buffer {"connection_id":207058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:22:06] local.INFO: Packet analysis {"connection_id":207058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:22:06] local.INFO: Extracted packet for processing {"connection_id":207058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:22:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":29,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 02:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533540864001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 02:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791146945000,"timestamp_ms":1791146945000,"timestamp_seconds":1791146945,"priority":1,"record_length":96,"hex_timestamp":"000001a108ad69e8"} 
[2026-10-05 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-10-05 02:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:22:06] 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-10-05 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-10-05 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-10-05 02:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533540864001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533540864001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:22:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:22:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533540864001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":207058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:22:06] local.INFO: GPS data processed {"connection_id":207058,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:22:06] local.INFO: Acknowledgment sent {"connection_id":207058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:22:37] local.INFO: TCP Data received {"connection_id":203977,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:22:37] local.INFO: Processing buffer {"connection_id":203977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:22:37] local.INFO: Packet analysis {"connection_id":203977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:22:37] local.INFO: Extracted packet for processing {"connection_id":203977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:22:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533536768001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791146929000,"timestamp_ms":1791146929000,"timestamp_seconds":1791146929,"priority":1,"record_length":96,"hex_timestamp":"000001a108ad2b68"} 
[2026-10-05 02:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:22:37] 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-10-05 02: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-10-05 02:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533536768001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533536768001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:22:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:22:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533536768001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":203977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964746,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:22:37] local.INFO: GPS data processed {"connection_id":203977,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:22:37] local.INFO: Acknowledgment sent {"connection_id":203977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:22:38] local.INFO: TCP Data received {"connection_id":207058,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:22:38] local.INFO: Processing buffer {"connection_id":207058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:22:38] local.INFO: Packet analysis {"connection_id":207058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:22:38] local.INFO: Extracted packet for processing {"connection_id":207058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:22:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":29,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533540864001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791146945000,"timestamp_ms":1791146945000,"timestamp_seconds":1791146945,"priority":1,"record_length":96,"hex_timestamp":"000001a108ad69e8"} 
[2026-10-05 02:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:22:38] 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-10-05 02:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533540864001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533540864001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:22:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:22:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533540864001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":207058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:22:38] local.INFO: GPS data processed {"connection_id":207058,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:22:38] local.INFO: Acknowledgment sent {"connection_id":207058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:22:56] local.INFO: TCP Data received {"connection_id":205495,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:22:56] local.INFO: Processing buffer {"connection_id":205495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:22:56] local.INFO: IMEI packet received {"connection_id":205495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":205495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:23:00] local.INFO: TCP Data received {"connection_id":203978,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:23:00] local.INFO: Processing buffer {"connection_id":203978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:23:00] local.INFO: IMEI packet received {"connection_id":203978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":203978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:23:01] local.INFO: TCP Data received {"connection_id":205495,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:23:01] local.INFO: Processing buffer {"connection_id":205495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:23:01] local.INFO: IMEI packet received {"connection_id":205495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":205495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:23:02] local.INFO: TCP Data received {"connection_id":205495,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:23:02] local.INFO: Processing buffer {"connection_id":205495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:23:02] local.INFO: Packet analysis {"connection_id":205495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:23:02] local.INFO: Extracted packet for processing {"connection_id":205495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:23:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":29,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533540864001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:23: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-10-05 02:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791146945000,"timestamp_ms":1791146945000,"timestamp_seconds":1791146945,"priority":1,"record_length":96,"hex_timestamp":"000001a108ad69e8"} 
[2026-10-05 02:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:23:02] 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-10-05 02: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-10-05 02:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:23: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-10-05 02:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533540864001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533540864001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:23:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:23:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533540864001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":205495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:23:02] local.INFO: GPS data processed {"connection_id":205495,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:23:02] local.INFO: Acknowledgment sent {"connection_id":205495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:23:05] local.INFO: TCP Data received {"connection_id":203978,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:23:05] local.INFO: Processing buffer {"connection_id":203978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:23:05] local.INFO: IMEI packet received {"connection_id":203978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":203978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:23:06] local.INFO: TCP Data received {"connection_id":203978,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:23:06] local.INFO: Processing buffer {"connection_id":203978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:23:06] local.INFO: Packet analysis {"connection_id":203978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:23:06] local.INFO: Extracted packet for processing {"connection_id":203978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:23:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533536768001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791146929000,"timestamp_ms":1791146929000,"timestamp_seconds":1791146929,"priority":1,"record_length":96,"hex_timestamp":"000001a108ad2b68"} 
[2026-10-05 02:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:23:06] 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-10-05 02: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-10-05 02:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533536768001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533536768001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:23:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:23:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533536768001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":203978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:23:06] local.INFO: GPS data processed {"connection_id":203978,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:23:06] local.INFO: Acknowledgment sent {"connection_id":203978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:23:33] local.INFO: TCP Data received {"connection_id":205495,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:23:33] local.INFO: Processing buffer {"connection_id":205495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:23:33] local.INFO: Packet analysis {"connection_id":205495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:23:33] local.INFO: Extracted packet for processing {"connection_id":205495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":29,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533540864001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791146945000,"timestamp_ms":1791146945000,"timestamp_seconds":1791146945,"priority":1,"record_length":96,"hex_timestamp":"000001a108ad69e8"} 
[2026-10-05 02:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:23:33] 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-10-05 02: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-10-05 02:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533540864001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533540864001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:23:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:23:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533540864001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":205495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:23:33] local.INFO: GPS data processed {"connection_id":205495,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:23:33] local.INFO: Acknowledgment sent {"connection_id":205495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:23:37] local.INFO: TCP Data received {"connection_id":203978,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:23:37] local.INFO: Processing buffer {"connection_id":203978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ad2b68012d7c2ac005dac8a0000200bf27..."} 
[2026-10-05 02:23:37] local.INFO: Packet analysis {"connection_id":203978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:23:37] local.INFO: Extracted packet for processing {"connection_id":203978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:23:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":2,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533536768001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791146929000,"timestamp_ms":1791146929000,"timestamp_seconds":1791146929,"priority":1,"record_length":96,"hex_timestamp":"000001a108ad2b68"} 
[2026-10-05 02:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:23:37] 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-10-05 02: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-10-05 02:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533536768001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533536768001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:23:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:23:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533536768001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":203978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964751,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:23:37] local.INFO: GPS data processed {"connection_id":203978,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:23:37] local.INFO: Acknowledgment sent {"connection_id":203978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:23:56] local.INFO: TCP Data received {"connection_id":203979,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:23:56] local.INFO: Processing buffer {"connection_id":203979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:23:56] local.INFO: IMEI packet received {"connection_id":203979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":203979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:24:00] local.INFO: TCP Data received {"connection_id":207059,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:24:00] local.INFO: Processing buffer {"connection_id":207059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:24:00] local.INFO: IMEI packet received {"connection_id":207059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":207059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:24:01] local.INFO: TCP Data received {"connection_id":203979,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:24:01] local.INFO: Processing buffer {"connection_id":203979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:24:01] local.INFO: IMEI packet received {"connection_id":203979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":203979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:24:02] local.INFO: TCP Data received {"connection_id":203979,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:24:02] local.INFO: Processing buffer {"connection_id":203979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:24:02] local.INFO: Packet analysis {"connection_id":203979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:24:02] local.INFO: Extracted packet for processing {"connection_id":203979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:24:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":29,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533540864001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:24: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-10-05 02:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791146945000,"timestamp_ms":1791146945000,"timestamp_seconds":1791146945,"priority":1,"record_length":96,"hex_timestamp":"000001a108ad69e8"} 
[2026-10-05 02:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:24:02] 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-10-05 02:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:24: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-10-05 02:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533540864001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533540864001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:24:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:24:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533540864001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":203979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:24:02] local.INFO: GPS data processed {"connection_id":203979,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:24:02] local.INFO: Acknowledgment sent {"connection_id":203979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:24:05] local.INFO: TCP Data received {"connection_id":207059,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:24:05] local.INFO: Processing buffer {"connection_id":207059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:24:05] local.INFO: IMEI packet received {"connection_id":207059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":207059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:24:06] local.INFO: TCP Data received {"connection_id":207059,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:24:06] local.INFO: Processing buffer {"connection_id":207059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:24:06] local.INFO: Packet analysis {"connection_id":207059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b1"} 
[2026-10-05 02:24:06] local.INFO: Extracted packet for processing {"connection_id":207059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b1"} 
[2026-10-05 02:24:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533613824001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791147230000,"timestamp_ms":1791147230000,"timestamp_seconds":1791147230,"priority":1,"record_length":96,"hex_timestamp":"000001a108b1c330"} 
[2026-10-05 02:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:24:06] 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-10-05 02: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-10-05 02:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533613824001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533613824001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:24:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:24:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533613824001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":207059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964753,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:24:06] local.INFO: GPS data processed {"connection_id":207059,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:24:06] local.INFO: Acknowledgment sent {"connection_id":207059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:24:32] local.INFO: TCP Data received {"connection_id":203979,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:24:32] local.INFO: Processing buffer {"connection_id":203979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ad69e8012d7f91c005afd9f0001d010129..."} 
[2026-10-05 02:24:32] local.INFO: Packet analysis {"connection_id":203979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:24:32] local.INFO: Extracted packet for processing {"connection_id":203979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ad"} 
[2026-10-05 02:24:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":29,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533540864001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:24: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-10-05 02:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791146945000,"timestamp_ms":1791146945000,"timestamp_seconds":1791146945,"priority":1,"record_length":96,"hex_timestamp":"000001a108ad69e8"} 
[2026-10-05 02:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:24: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-10-05 02: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-10-05 02:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":203979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":203979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":203979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533540864001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533540864001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:24:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:24:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533540864001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":203979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:24:32] local.INFO: GPS data processed {"connection_id":203979,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:24:32] local.INFO: Acknowledgment sent {"connection_id":203979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:24:37] local.INFO: TCP Data received {"connection_id":207059,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:24:37] local.INFO: Processing buffer {"connection_id":207059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:24:37] local.INFO: Packet analysis {"connection_id":207059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b1"} 
[2026-10-05 02:24:37] local.INFO: Extracted packet for processing {"connection_id":207059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b1"} 
[2026-10-05 02:24:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533613824001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791147230000,"timestamp_ms":1791147230000,"timestamp_seconds":1791147230,"priority":1,"record_length":96,"hex_timestamp":"000001a108b1c330"} 
[2026-10-05 02:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:24:37] 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-10-05 02:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533613824001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533613824001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:24:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:24:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533613824001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":207059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:24:37] local.INFO: GPS data processed {"connection_id":207059,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:24:37] local.INFO: Acknowledgment sent {"connection_id":207059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:24:56] local.INFO: TCP Data received {"connection_id":204055,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:24:56] local.INFO: Processing buffer {"connection_id":204055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:24:56] local.INFO: IMEI packet received {"connection_id":204055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":204055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:25:00] local.INFO: TCP Data received {"connection_id":205497,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:25:00] local.INFO: Processing buffer {"connection_id":205497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:25:00] local.INFO: IMEI packet received {"connection_id":205497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":205497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:25:02] local.INFO: TCP Data received {"connection_id":204055,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:25:02] local.INFO: Processing buffer {"connection_id":204055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:25:02] local.INFO: IMEI packet received {"connection_id":204055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":204055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:25:02] local.INFO: TCP Data received {"connection_id":204055,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:25:02] local.INFO: Processing buffer {"connection_id":204055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:25:02] local.INFO: Packet analysis {"connection_id":204055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b2"} 
[2026-10-05 02:25:02] local.INFO: Extracted packet for processing {"connection_id":204055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b2"} 
[2026-10-05 02:25:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533617920001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:25: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-10-05 02:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791147246000,"timestamp_ms":1791147246000,"timestamp_seconds":1791147246,"priority":1,"record_length":96,"hex_timestamp":"000001a108b201b0"} 
[2026-10-05 02:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:25: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-10-05 02: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-10-05 02:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:25: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-10-05 02:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533617920001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533617920001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:25:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:25:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533617920001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":204055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:25:02] local.INFO: GPS data processed {"connection_id":204055,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:25:02] local.INFO: Acknowledgment sent {"connection_id":204055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:25:05] local.INFO: TCP Data received {"connection_id":205497,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:25:05] local.INFO: Processing buffer {"connection_id":205497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:25:05] local.INFO: IMEI packet received {"connection_id":205497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":205497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:25:07] local.INFO: TCP Data received {"connection_id":205497,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:25:07] local.INFO: Processing buffer {"connection_id":205497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:25:07] local.INFO: Packet analysis {"connection_id":205497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b1"} 
[2026-10-05 02:25:07] local.INFO: Extracted packet for processing {"connection_id":205497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b1"} 
[2026-10-05 02:25:07] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533613824001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791147230000,"timestamp_ms":1791147230000,"timestamp_seconds":1791147230,"priority":1,"record_length":96,"hex_timestamp":"000001a108b1c330"} 
[2026-10-05 02:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:25:07] 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-10-05 02: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-10-05 02:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533613824001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533613824001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:25:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:25:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533613824001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":205497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:25:07] local.INFO: GPS data processed {"connection_id":205497,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:25:07] local.INFO: Acknowledgment sent {"connection_id":205497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:25:08] local.INFO: TCP Data received {"connection_id":204055,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:25:08] local.INFO: Processing buffer {"connection_id":204055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:25:08] local.INFO: Packet analysis {"connection_id":204055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b2"} 
[2026-10-05 02:25:08] local.INFO: Extracted packet for processing {"connection_id":204055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b2"} 
[2026-10-05 02:25:08] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533617920001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:25: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-10-05 02:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791147246000,"timestamp_ms":1791147246000,"timestamp_seconds":1791147246,"priority":1,"record_length":96,"hex_timestamp":"000001a108b201b0"} 
[2026-10-05 02:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:25: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-10-05 02:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533617920001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533617920001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:25:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:25:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533617920001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":204055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:25:08] local.INFO: GPS data processed {"connection_id":204055,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:25:08] local.INFO: Acknowledgment sent {"connection_id":204055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:25:19] local.INFO: TCP Data received {"connection_id":204054,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:25:19] local.INFO: Processing buffer {"connection_id":204054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:25:19] local.INFO: IMEI packet received {"connection_id":204054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 02:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":204054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:25:38] local.INFO: TCP Data received {"connection_id":205497,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:25:38] local.INFO: Processing buffer {"connection_id":205497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:25:38] local.INFO: Packet analysis {"connection_id":205497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b1"} 
[2026-10-05 02:25:38] local.INFO: Extracted packet for processing {"connection_id":205497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b1"} 
[2026-10-05 02:25:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533613824001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791147230000,"timestamp_ms":1791147230000,"timestamp_seconds":1791147230,"priority":1,"record_length":96,"hex_timestamp":"000001a108b1c330"} 
[2026-10-05 02:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:25:38] 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-10-05 02:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533613824001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533613824001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:25:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:25:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533613824001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":205497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:25:38] local.INFO: GPS data processed {"connection_id":205497,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:25:38] local.INFO: Acknowledgment sent {"connection_id":205497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:25:39] local.INFO: TCP Data received {"connection_id":204055,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:25:39] local.INFO: Processing buffer {"connection_id":204055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:25:39] local.INFO: Packet analysis {"connection_id":204055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b2"} 
[2026-10-05 02:25:39] local.INFO: Extracted packet for processing {"connection_id":204055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b2"} 
[2026-10-05 02:25:39] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533617920001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791147246000,"timestamp_ms":1791147246000,"timestamp_seconds":1791147246,"priority":1,"record_length":96,"hex_timestamp":"000001a108b201b0"} 
[2026-10-05 02:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:25:39] 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-10-05 02:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":204055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":204055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":204055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533617920001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533617920001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:25:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:25:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533617920001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":204055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:25:39] local.INFO: GPS data processed {"connection_id":204055,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:25:39] local.INFO: Acknowledgment sent {"connection_id":204055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:25:43] local.INFO: TCP Data received {"connection_id":203980,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:25:43] local.INFO: Processing buffer {"connection_id":203980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:25:43] local.INFO: IMEI packet received {"connection_id":203980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 02:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":203980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:25:56] local.INFO: TCP Data received {"connection_id":207060,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:25:56] local.INFO: Processing buffer {"connection_id":207060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:25:56] local.INFO: IMEI packet received {"connection_id":207060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":207060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:26:00] local.INFO: TCP Data received {"connection_id":205498,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:26:00] local.INFO: Processing buffer {"connection_id":205498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:26:00] local.INFO: IMEI packet received {"connection_id":205498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":205498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:26:01] local.INFO: TCP Data received {"connection_id":207060,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:26:01] local.INFO: Processing buffer {"connection_id":207060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:26:01] local.INFO: IMEI packet received {"connection_id":207060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":207060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:26:02] local.INFO: TCP Data received {"connection_id":207060,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:26:02] local.INFO: Processing buffer {"connection_id":207060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:26:02] local.INFO: Packet analysis {"connection_id":207060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b2"} 
[2026-10-05 02:26:02] local.INFO: Extracted packet for processing {"connection_id":207060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b2"} 
[2026-10-05 02:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533617920001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:26: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-10-05 02:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791147246000,"timestamp_ms":1791147246000,"timestamp_seconds":1791147246,"priority":1,"record_length":96,"hex_timestamp":"000001a108b201b0"} 
[2026-10-05 02:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:26: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-10-05 02: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-10-05 02:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:26: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-10-05 02:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533617920001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533617920001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:26:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:26:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533617920001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":207060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:26:02] local.INFO: GPS data processed {"connection_id":207060,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:26:02] local.INFO: Acknowledgment sent {"connection_id":207060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:26:05] local.INFO: TCP Data received {"connection_id":205498,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:26:05] local.INFO: Processing buffer {"connection_id":205498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:26:05] local.INFO: IMEI packet received {"connection_id":205498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":205498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:26:06] local.INFO: TCP Data received {"connection_id":205498,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:26:06] local.INFO: Processing buffer {"connection_id":205498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:26:06] local.INFO: Packet analysis {"connection_id":205498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b1"} 
[2026-10-05 02:26:06] local.INFO: Extracted packet for processing {"connection_id":205498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b1"} 
[2026-10-05 02:26:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533613824001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791147230000,"timestamp_ms":1791147230000,"timestamp_seconds":1791147230,"priority":1,"record_length":96,"hex_timestamp":"000001a108b1c330"} 
[2026-10-05 02:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:26:06] 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-10-05 02:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533613824001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533613824001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:26:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:26:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533613824001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":205498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:26:06] local.INFO: GPS data processed {"connection_id":205498,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:26:06] local.INFO: Acknowledgment sent {"connection_id":205498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:26:33] local.INFO: TCP Data received {"connection_id":207060,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:26:33] local.INFO: Processing buffer {"connection_id":207060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:26:33] local.INFO: Packet analysis {"connection_id":207060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b2"} 
[2026-10-05 02:26:33] local.INFO: Extracted packet for processing {"connection_id":207060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b2"} 
[2026-10-05 02:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533617920001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:26: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-10-05 02:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791147246000,"timestamp_ms":1791147246000,"timestamp_seconds":1791147246,"priority":1,"record_length":96,"hex_timestamp":"000001a108b201b0"} 
[2026-10-05 02:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:26:33] 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-10-05 02: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-10-05 02:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533617920001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533617920001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:26:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:26:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533617920001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":207060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:26:33] local.INFO: GPS data processed {"connection_id":207060,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:26:33] local.INFO: Acknowledgment sent {"connection_id":207060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:26:38] local.INFO: TCP Data received {"connection_id":205498,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:26:38] local.INFO: Processing buffer {"connection_id":205498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:26:38] local.INFO: Packet analysis {"connection_id":205498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b1"} 
[2026-10-05 02:26:38] local.INFO: Extracted packet for processing {"connection_id":205498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b1"} 
[2026-10-05 02:26:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533613824001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791147230000,"timestamp_ms":1791147230000,"timestamp_seconds":1791147230,"priority":1,"record_length":96,"hex_timestamp":"000001a108b1c330"} 
[2026-10-05 02:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:26:38] 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-10-05 02:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533613824001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533613824001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:26:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:26:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533613824001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":205498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:26:38] local.INFO: GPS data processed {"connection_id":205498,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:26:38] local.INFO: Acknowledgment sent {"connection_id":205498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:26:56] local.INFO: TCP Data received {"connection_id":204056,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:26:56] local.INFO: Processing buffer {"connection_id":204056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:26:56] local.INFO: IMEI packet received {"connection_id":204056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":204056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:27:00] local.INFO: TCP Data received {"connection_id":204057,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:27:00] local.INFO: Processing buffer {"connection_id":204057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:27:00] local.INFO: IMEI packet received {"connection_id":204057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":204057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:27:01] local.INFO: TCP Data received {"connection_id":204056,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:27:01] local.INFO: Processing buffer {"connection_id":204056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:27:01] local.INFO: IMEI packet received {"connection_id":204056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":204056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:27:02] local.INFO: TCP Data received {"connection_id":204056,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:27:02] local.INFO: Processing buffer {"connection_id":204056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:27:02] local.INFO: Packet analysis {"connection_id":204056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b2"} 
[2026-10-05 02:27:02] local.INFO: Extracted packet for processing {"connection_id":204056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b2"} 
[2026-10-05 02:27:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533617920001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:27: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-10-05 02:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791147246000,"timestamp_ms":1791147246000,"timestamp_seconds":1791147246,"priority":1,"record_length":96,"hex_timestamp":"000001a108b201b0"} 
[2026-10-05 02:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:27: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-10-05 02: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-10-05 02:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:27: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-10-05 02:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533617920001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533617920001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:27:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:27:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533617920001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":204056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:27:02] local.INFO: GPS data processed {"connection_id":204056,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:27:02] local.INFO: Acknowledgment sent {"connection_id":204056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:27:05] local.INFO: TCP Data received {"connection_id":204057,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:27:05] local.INFO: Processing buffer {"connection_id":204057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:27:05] local.INFO: IMEI packet received {"connection_id":204057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":204057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:27:06] local.INFO: TCP Data received {"connection_id":204057,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:27:06] local.INFO: Processing buffer {"connection_id":204057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:27:06] local.INFO: Packet analysis {"connection_id":204057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b1"} 
[2026-10-05 02:27:06] local.INFO: Extracted packet for processing {"connection_id":204057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b1"} 
[2026-10-05 02:27:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 02:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533613824001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791147230000,"timestamp_ms":1791147230000,"timestamp_seconds":1791147230,"priority":1,"record_length":96,"hex_timestamp":"000001a108b1c330"} 
[2026-10-05 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-10-05 02:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:27:06] 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-10-05 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-10-05 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-10-05 02:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533613824001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533613824001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:27:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:27:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533613824001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":204057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:27:06] local.INFO: GPS data processed {"connection_id":204057,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:27:06] local.INFO: Acknowledgment sent {"connection_id":204057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:27:35] local.INFO: TCP Data received {"connection_id":204056,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:27:35] local.INFO: Processing buffer {"connection_id":204056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:27:35] local.INFO: Packet analysis {"connection_id":204056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b2"} 
[2026-10-05 02:27:35] local.INFO: Extracted packet for processing {"connection_id":204056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b2"} 
[2026-10-05 02:27:35] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533617920001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:27: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-10-05 02:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791147246000,"timestamp_ms":1791147246000,"timestamp_seconds":1791147246,"priority":1,"record_length":96,"hex_timestamp":"000001a108b201b0"} 
[2026-10-05 02:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:27:35] 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-10-05 02: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-10-05 02:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":204056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":204056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":204056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533617920001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533617920001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:27:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:27:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533617920001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":204056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:27:35] local.INFO: GPS data processed {"connection_id":204056,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:27:35] local.INFO: Acknowledgment sent {"connection_id":204056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:27:37] local.INFO: TCP Data received {"connection_id":204057,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:27:37] local.INFO: Processing buffer {"connection_id":204057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:27:37] local.INFO: Packet analysis {"connection_id":204057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b1"} 
[2026-10-05 02:27:37] local.INFO: Extracted packet for processing {"connection_id":204057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b1"} 
[2026-10-05 02:27:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533613824001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791147230000,"timestamp_ms":1791147230000,"timestamp_seconds":1791147230,"priority":1,"record_length":96,"hex_timestamp":"000001a108b1c330"} 
[2026-10-05 02:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:27:37] 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-10-05 02:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533613824001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533613824001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:27:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:27:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533613824001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":204057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:27:37] local.INFO: GPS data processed {"connection_id":204057,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:27:37] local.INFO: Acknowledgment sent {"connection_id":204057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:27:56] local.INFO: TCP Data received {"connection_id":205499,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:27:56] local.INFO: Processing buffer {"connection_id":205499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:27:56] local.INFO: IMEI packet received {"connection_id":205499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":205499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:28:00] local.INFO: TCP Data received {"connection_id":203982,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:28:00] local.INFO: Processing buffer {"connection_id":203982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:28:00] local.INFO: IMEI packet received {"connection_id":203982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":203982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:28:02] local.INFO: TCP Data received {"connection_id":205499,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:28:02] local.INFO: Processing buffer {"connection_id":205499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:28:02] local.INFO: IMEI packet received {"connection_id":205499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":205499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:28:03] local.INFO: TCP Data received {"connection_id":205499,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:28:03] local.INFO: Processing buffer {"connection_id":205499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:28:03] local.INFO: Packet analysis {"connection_id":205499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b2"} 
[2026-10-05 02:28:03] local.INFO: Extracted packet for processing {"connection_id":205499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b2"} 
[2026-10-05 02:28:03] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533617920001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:28: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-10-05 02:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791147246000,"timestamp_ms":1791147246000,"timestamp_seconds":1791147246,"priority":1,"record_length":96,"hex_timestamp":"000001a108b201b0"} 
[2026-10-05 02:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:28:03] 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-10-05 02: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-10-05 02:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":205499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":205499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":205499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:28: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-10-05 02:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533617920001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533617920001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:28:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:28:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533617920001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":205499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:28:03] local.INFO: GPS data processed {"connection_id":205499,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:28:03] local.INFO: Acknowledgment sent {"connection_id":205499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:28:05] local.INFO: TCP Data received {"connection_id":203982,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:28:05] local.INFO: Processing buffer {"connection_id":203982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:28:05] local.INFO: IMEI packet received {"connection_id":203982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":203982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:28:07] local.INFO: TCP Data received {"connection_id":203982,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:28:07] local.INFO: Processing buffer {"connection_id":203982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:28:07] local.INFO: Packet analysis {"connection_id":203982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b1"} 
[2026-10-05 02:28:07] local.INFO: Extracted packet for processing {"connection_id":203982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b1"} 
[2026-10-05 02:28:07] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533613824001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791147230000,"timestamp_ms":1791147230000,"timestamp_seconds":1791147230,"priority":1,"record_length":96,"hex_timestamp":"000001a108b1c330"} 
[2026-10-05 02:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:28:07] 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-10-05 02: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-10-05 02:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":203982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":203982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":203982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533613824001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533613824001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:28:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:28:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533613824001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":203982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:28:07] local.INFO: GPS data processed {"connection_id":203982,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:28:07] local.INFO: Acknowledgment sent {"connection_id":203982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:28:34] local.INFO: TCP Data received {"connection_id":205499,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:28:34] local.INFO: Processing buffer {"connection_id":205499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:28:34] local.INFO: Packet analysis {"connection_id":205499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b2"} 
[2026-10-05 02:28:34] local.INFO: Extracted packet for processing {"connection_id":205499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b2"} 
[2026-10-05 02:28:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533617920001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:28: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-10-05 02:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791147246000,"timestamp_ms":1791147246000,"timestamp_seconds":1791147246,"priority":1,"record_length":96,"hex_timestamp":"000001a108b201b0"} 
[2026-10-05 02:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:28:34] 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-10-05 02:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":205499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":205499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":205499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533617920001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533617920001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:28:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:28:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533617920001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":205499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:28:34] local.INFO: GPS data processed {"connection_id":205499,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:28:34] local.INFO: Acknowledgment sent {"connection_id":205499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:28:38] local.INFO: TCP Data received {"connection_id":203982,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:28:38] local.INFO: Processing buffer {"connection_id":203982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b1c330012d7c2ac005dac8a0000800bf24..."} 
[2026-10-05 02:28:38] local.INFO: Packet analysis {"connection_id":203982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b1"} 
[2026-10-05 02:28:38] local.INFO: Extracted packet for processing {"connection_id":203982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b1"} 
[2026-10-05 02:28:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533613824001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791147230000,"timestamp_ms":1791147230000,"timestamp_seconds":1791147230,"priority":1,"record_length":96,"hex_timestamp":"000001a108b1c330"} 
[2026-10-05 02:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:28:38] 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-10-05 02:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533613824001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533613824001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:28:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:28:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533613824001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":203982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964772,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:28:38] local.INFO: GPS data processed {"connection_id":203982,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:28:38] local.INFO: Acknowledgment sent {"connection_id":203982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:29:02] local.INFO: TCP Data received {"connection_id":204058,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:29:02] local.INFO: Processing buffer {"connection_id":204058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:29:02] local.INFO: IMEI packet received {"connection_id":204058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":204058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:29:05] local.INFO: TCP Data received {"connection_id":207062,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:29:05] local.INFO: Processing buffer {"connection_id":207062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:29:05] local.INFO: IMEI packet received {"connection_id":207062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":207062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:29:06] local.INFO: TCP Data received {"connection_id":204058,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:29:06] local.INFO: Processing buffer {"connection_id":204058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:29:06] local.INFO: IMEI packet received {"connection_id":204058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":204058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:29:07] local.INFO: TCP Data received {"connection_id":204058,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:29:07] local.INFO: Processing buffer {"connection_id":204058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:29:07] local.INFO: Packet analysis {"connection_id":204058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b2"} 
[2026-10-05 02:29:07] local.INFO: Extracted packet for processing {"connection_id":204058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b2"} 
[2026-10-05 02:29:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533617920001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:29: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-10-05 02:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791147246000,"timestamp_ms":1791147246000,"timestamp_seconds":1791147246,"priority":1,"record_length":96,"hex_timestamp":"000001a108b201b0"} 
[2026-10-05 02:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:29:07] 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-10-05 02:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533617920001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533617920001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:29:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:29:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533617920001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":204058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:29:07] local.INFO: GPS data processed {"connection_id":204058,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:29:07] local.INFO: Acknowledgment sent {"connection_id":204058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:29:10] local.INFO: TCP Data received {"connection_id":207062,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:29:10] local.INFO: Processing buffer {"connection_id":207062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:29:10] local.INFO: IMEI packet received {"connection_id":207062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":207062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:29:11] local.INFO: TCP Data received {"connection_id":204058,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:29:11] local.INFO: Processing buffer {"connection_id":204058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b201b0012d7f91c005afd9f0001a010125..."} 
[2026-10-05 02:29:11] local.INFO: Packet analysis {"connection_id":204058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b2"} 
[2026-10-05 02:29:11] local.INFO: Extracted packet for processing {"connection_id":204058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b2"} 
[2026-10-05 02:29:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533617920001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791147246000,"timestamp_ms":1791147246000,"timestamp_seconds":1791147246,"priority":1,"record_length":96,"hex_timestamp":"000001a108b201b0"} 
[2026-10-05 02:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:29:11] 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-10-05 02:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533617920001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533617920001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:29:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:29:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533617920001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":204058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:29:11] local.INFO: GPS data processed {"connection_id":204058,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:29:11] local.INFO: Acknowledgment sent {"connection_id":204058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:29:11] local.INFO: TCP Data received {"connection_id":207062,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:29:11] local.INFO: Processing buffer {"connection_id":207062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:29:11] local.INFO: Packet analysis {"connection_id":207062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:29:11] local.INFO: Extracted packet for processing {"connection_id":207062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:29:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533690880001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791147531000,"timestamp_ms":1791147531000,"timestamp_seconds":1791147531,"priority":1,"record_length":96,"hex_timestamp":"000001a108b65af8"} 
[2026-10-05 02:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533690880001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533690880001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:29:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:29:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533690880001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":207062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:29:12] local.INFO: GPS data processed {"connection_id":207062,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:29:12] local.INFO: Acknowledgment sent {"connection_id":207062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:29:16] local.INFO: TCP Data received {"connection_id":207062,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:29:16] local.INFO: Processing buffer {"connection_id":207062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:29:16] local.INFO: Packet analysis {"connection_id":207062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:29:16] local.INFO: Extracted packet for processing {"connection_id":207062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:29:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533690880001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791147531000,"timestamp_ms":1791147531000,"timestamp_seconds":1791147531,"priority":1,"record_length":96,"hex_timestamp":"000001a108b65af8"} 
[2026-10-05 02:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02: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-10-05 02:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533690880001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533690880001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:29:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:29:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533690880001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":207062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964776,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:29:16] local.INFO: GPS data processed {"connection_id":207062,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:29:16] local.INFO: Acknowledgment sent {"connection_id":207062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:29:57] local.INFO: TCP Data received {"connection_id":203983,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:29:57] local.INFO: Processing buffer {"connection_id":203983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:29:57] local.INFO: IMEI packet received {"connection_id":203983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":203983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:30:00] local.INFO: TCP Data received {"connection_id":203984,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:30:00] local.INFO: Processing buffer {"connection_id":203984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:30:00] local.INFO: IMEI packet received {"connection_id":203984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":203984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:30:01] local.INFO: TCP Data received {"connection_id":203983,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:30:01] local.INFO: Processing buffer {"connection_id":203983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:30:01] local.INFO: IMEI packet received {"connection_id":203983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":203983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:30:02] local.INFO: TCP Data received {"connection_id":203983,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:30:02] local.INFO: Processing buffer {"connection_id":203983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:30:02] local.INFO: Packet analysis {"connection_id":203983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:30:02] local.INFO: Extracted packet for processing {"connection_id":203983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533694976001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:30:02] 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-10-05 02:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791147547000,"timestamp_ms":1791147547000,"timestamp_seconds":1791147547,"priority":1,"record_length":96,"hex_timestamp":"000001a108b69978"} 
[2026-10-05 02:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:30: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-10-05 02: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 02:30:02] 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-10-05 02: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-10-05 02:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:30: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-10-05 02:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533694976001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533694976001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:30:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:30:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533694976001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":203983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:30:02] local.INFO: GPS data processed {"connection_id":203983,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:30:02] local.INFO: Acknowledgment sent {"connection_id":203983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:30:05] local.INFO: TCP Data received {"connection_id":203984,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:30:05] local.INFO: Processing buffer {"connection_id":203984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:30:05] local.INFO: IMEI packet received {"connection_id":203984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":203984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:30:06] local.INFO: TCP Data received {"connection_id":203983,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:30:06] local.INFO: Processing buffer {"connection_id":203983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:30:06] local.INFO: Packet analysis {"connection_id":203983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:30:06] local.INFO: Extracted packet for processing {"connection_id":203983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:30:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533694976001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:30:06] 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-10-05 02:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791147547000,"timestamp_ms":1791147547000,"timestamp_seconds":1791147547,"priority":1,"record_length":96,"hex_timestamp":"000001a108b69978"} 
[2026-10-05 02:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:30:06] 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-10-05 02: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 02:30:06] 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-10-05 02: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-10-05 02:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533694976001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533694976001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:30:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:30:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533694976001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":203983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:30:06] local.INFO: GPS data processed {"connection_id":203983,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:30:06] local.INFO: Acknowledgment sent {"connection_id":203983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:30:06] local.INFO: TCP Data received {"connection_id":203984,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:30:06] local.INFO: Processing buffer {"connection_id":203984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:30:06] local.INFO: Packet analysis {"connection_id":203984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:30:06] local.INFO: Extracted packet for processing {"connection_id":203984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:30:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533690880001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791147531000,"timestamp_ms":1791147531000,"timestamp_seconds":1791147531,"priority":1,"record_length":96,"hex_timestamp":"000001a108b65af8"} 
[2026-10-05 02:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02: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-10-05 02:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533690880001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533690880001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:30:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:30:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533690880001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":203984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964779,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:30:06] local.INFO: GPS data processed {"connection_id":203984,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:30:06] local.INFO: Acknowledgment sent {"connection_id":203984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:30:37] local.INFO: TCP Data received {"connection_id":203983,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:30:37] local.INFO: Processing buffer {"connection_id":203983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:30:37] local.INFO: Packet analysis {"connection_id":203983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:30:37] local.INFO: Extracted packet for processing {"connection_id":203983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:30:37] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533694976001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:30:37] 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-10-05 02:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791147547000,"timestamp_ms":1791147547000,"timestamp_seconds":1791147547,"priority":1,"record_length":96,"hex_timestamp":"000001a108b69978"} 
[2026-10-05 02:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:30:37] 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-10-05 02: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 02:30:37] 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-10-05 02: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-10-05 02:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533694976001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533694976001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:30:37] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:30:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533694976001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":203983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:30:37] local.INFO: GPS data processed {"connection_id":203983,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:30:37] local.INFO: Acknowledgment sent {"connection_id":203983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:30:38] local.INFO: TCP Data received {"connection_id":203984,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:30:38] local.INFO: Processing buffer {"connection_id":203984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:30:38] local.INFO: Packet analysis {"connection_id":203984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:30:38] local.INFO: Extracted packet for processing {"connection_id":203984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:30:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533690880001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791147531000,"timestamp_ms":1791147531000,"timestamp_seconds":1791147531,"priority":1,"record_length":96,"hex_timestamp":"000001a108b65af8"} 
[2026-10-05 02:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02: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-10-05 02:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533690880001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533690880001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:30:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:30:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533690880001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":203984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964781,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:30:38] local.INFO: GPS data processed {"connection_id":203984,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:30:38] local.INFO: Acknowledgment sent {"connection_id":203984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:30:59] local.INFO: TCP Data received {"connection_id":205502,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:30:59] local.INFO: Processing buffer {"connection_id":205502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:30:59] local.INFO: IMEI packet received {"connection_id":205502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":205502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:31:01] local.INFO: TCP Data received {"connection_id":203986,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:31:01] local.INFO: Processing buffer {"connection_id":203986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:31:01] local.INFO: IMEI packet received {"connection_id":203986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":203986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:31:01] local.INFO: TCP Data received {"connection_id":205502,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:31:01] local.INFO: Processing buffer {"connection_id":205502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:31:01] local.INFO: IMEI packet received {"connection_id":205502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":205502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:31:02] local.INFO: TCP Data received {"connection_id":205502,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:31:02] local.INFO: Processing buffer {"connection_id":205502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:31:02] local.INFO: Packet analysis {"connection_id":205502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:31:02] local.INFO: Extracted packet for processing {"connection_id":205502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:31:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533694976001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:31:02] 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-10-05 02:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791147547000,"timestamp_ms":1791147547000,"timestamp_seconds":1791147547,"priority":1,"record_length":96,"hex_timestamp":"000001a108b69978"} 
[2026-10-05 02:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:31: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-10-05 02: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 02:31:02] 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-10-05 02: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-10-05 02:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:31: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-10-05 02:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533694976001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533694976001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:31:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:31:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533694976001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":205502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:31:02] local.INFO: GPS data processed {"connection_id":205502,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:31:02] local.INFO: Acknowledgment sent {"connection_id":205502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:31:05] local.INFO: TCP Data received {"connection_id":203986,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:31:05] local.INFO: Processing buffer {"connection_id":203986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:31:05] local.INFO: IMEI packet received {"connection_id":203986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":203986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:31:06] local.INFO: TCP Data received {"connection_id":205502,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:31:06] local.INFO: Processing buffer {"connection_id":205502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:31:06] local.INFO: Packet analysis {"connection_id":205502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:31:06] local.INFO: Extracted packet for processing {"connection_id":205502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:31:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533694976001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:31:06] 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-10-05 02:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791147547000,"timestamp_ms":1791147547000,"timestamp_seconds":1791147547,"priority":1,"record_length":96,"hex_timestamp":"000001a108b69978"} 
[2026-10-05 02:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:31:06] 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-10-05 02:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 02:31:06] 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-10-05 02:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533694976001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533694976001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:31:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:31:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533694976001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":205502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:31:06] local.INFO: GPS data processed {"connection_id":205502,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:31:06] local.INFO: Acknowledgment sent {"connection_id":205502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:31:07] local.INFO: TCP Data received {"connection_id":203986,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:31:07] local.INFO: Processing buffer {"connection_id":203986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:31:07] local.INFO: Packet analysis {"connection_id":203986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:31:07] local.INFO: Extracted packet for processing {"connection_id":203986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:31:07] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:31: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-10-05 02:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533690880001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791147531000,"timestamp_ms":1791147531000,"timestamp_seconds":1791147531,"priority":1,"record_length":96,"hex_timestamp":"000001a108b65af8"} 
[2026-10-05 02:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:31: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":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:31: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-10-05 02:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":203986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":203986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":203986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533690880001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533690880001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:31:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:31:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533690880001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":203986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964784,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:31:07] local.INFO: GPS data processed {"connection_id":203986,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:31:07] local.INFO: Acknowledgment sent {"connection_id":203986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:31:09] local.INFO: TCP Data received {"connection_id":203985,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203985,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:31:09] local.INFO: Processing buffer {"connection_id":203985,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:31:09] local.INFO: IMEI packet received {"connection_id":203985,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 02:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":203985,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:31:37] local.INFO: TCP Data received {"connection_id":205502,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:31:37] local.INFO: Processing buffer {"connection_id":205502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:31:37] local.INFO: Packet analysis {"connection_id":205502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:31:37] local.INFO: Extracted packet for processing {"connection_id":205502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:31:37] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533694976001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:31:37] 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-10-05 02:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791147547000,"timestamp_ms":1791147547000,"timestamp_seconds":1791147547,"priority":1,"record_length":96,"hex_timestamp":"000001a108b69978"} 
[2026-10-05 02:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:31:37] 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-10-05 02:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 02:31:37] 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-10-05 02:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533694976001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533694976001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:31:37] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:31:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533694976001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":205502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:31:37] local.INFO: GPS data processed {"connection_id":205502,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:31:37] local.INFO: Acknowledgment sent {"connection_id":205502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:31:38] local.INFO: TCP Data received {"connection_id":203986,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:31:38] local.INFO: Processing buffer {"connection_id":203986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:31:38] local.INFO: Packet analysis {"connection_id":203986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:31:38] local.INFO: Extracted packet for processing {"connection_id":203986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:31:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533690880001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791147531000,"timestamp_ms":1791147531000,"timestamp_seconds":1791147531,"priority":1,"record_length":96,"hex_timestamp":"000001a108b65af8"} 
[2026-10-05 02:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02: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-10-05 02:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":203986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":203986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":203986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533690880001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533690880001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:31:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:31:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533690880001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":203986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:31:38] local.INFO: GPS data processed {"connection_id":203986,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:31:38] local.INFO: Acknowledgment sent {"connection_id":203986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:31:43] local.INFO: TCP Data received {"connection_id":204059,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204059,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:31:43] local.INFO: Processing buffer {"connection_id":204059,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:31:43] local.INFO: IMEI packet received {"connection_id":204059,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 02:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":204059,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:31:56] local.INFO: TCP Data received {"connection_id":204060,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:31:56] local.INFO: Processing buffer {"connection_id":204060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:31:56] local.INFO: IMEI packet received {"connection_id":204060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":204060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:32:00] local.INFO: TCP Data received {"connection_id":204061,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:32:00] local.INFO: Processing buffer {"connection_id":204061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:32:00] local.INFO: IMEI packet received {"connection_id":204061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":204061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:32:04] local.INFO: TCP Data received {"connection_id":204060,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:32:04] local.INFO: Processing buffer {"connection_id":204060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:32:04] local.INFO: IMEI packet received {"connection_id":204060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":204060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:32:05] local.INFO: TCP Data received {"connection_id":204060,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:32:05] local.INFO: Processing buffer {"connection_id":204060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:32:05] local.INFO: Packet analysis {"connection_id":204060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:32:05] local.INFO: Extracted packet for processing {"connection_id":204060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:32:05] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533694976001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:32: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-10-05 02:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791147547000,"timestamp_ms":1791147547000,"timestamp_seconds":1791147547,"priority":1,"record_length":96,"hex_timestamp":"000001a108b69978"} 
[2026-10-05 02:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:32:05] 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-10-05 02:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 02:32: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-10-05 02: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-10-05 02:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:32: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-10-05 02:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533694976001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533694976001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:32:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:32:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533694976001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":204060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:32:05] local.INFO: GPS data processed {"connection_id":204060,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:32:05] local.INFO: Acknowledgment sent {"connection_id":204060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:32:05] local.INFO: TCP Data received {"connection_id":204061,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:32:05] local.INFO: Processing buffer {"connection_id":204061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:32:05] local.INFO: IMEI packet received {"connection_id":204061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":204061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:32:06] local.INFO: TCP Data received {"connection_id":204061,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:32:06] local.INFO: Processing buffer {"connection_id":204061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:32:06] local.INFO: Packet analysis {"connection_id":204061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:32:06] local.INFO: Extracted packet for processing {"connection_id":204061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:32:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533690880001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791147531000,"timestamp_ms":1791147531000,"timestamp_seconds":1791147531,"priority":1,"record_length":96,"hex_timestamp":"000001a108b65af8"} 
[2026-10-05 02:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02: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-10-05 02:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533690880001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533690880001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:32:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:32:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533690880001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":204061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:32:06] local.INFO: GPS data processed {"connection_id":204061,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:32:06] local.INFO: Acknowledgment sent {"connection_id":204061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:32:35] local.INFO: TCP Data received {"connection_id":204060,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:32:35] local.INFO: Processing buffer {"connection_id":204060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:32:35] local.INFO: Packet analysis {"connection_id":204060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:32:35] local.INFO: Extracted packet for processing {"connection_id":204060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:32:35] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533694976001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:32:35] 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-10-05 02:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791147547000,"timestamp_ms":1791147547000,"timestamp_seconds":1791147547,"priority":1,"record_length":96,"hex_timestamp":"000001a108b69978"} 
[2026-10-05 02:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:32:35] 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-10-05 02: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 02:32:35] 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-10-05 02: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-10-05 02:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":204060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":204060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":204060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533694976001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533694976001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:32:35] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:32:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533694976001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":204060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:32:35] local.INFO: GPS data processed {"connection_id":204060,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:32:35] local.INFO: Acknowledgment sent {"connection_id":204060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:32:37] local.INFO: TCP Data received {"connection_id":204061,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:32:37] local.INFO: Processing buffer {"connection_id":204061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:32:37] local.INFO: Packet analysis {"connection_id":204061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:32:37] local.INFO: Extracted packet for processing {"connection_id":204061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:32:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533690880001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791147531000,"timestamp_ms":1791147531000,"timestamp_seconds":1791147531,"priority":1,"record_length":96,"hex_timestamp":"000001a108b65af8"} 
[2026-10-05 02:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533690880001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533690880001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:32:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:32:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533690880001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":204061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:32:37] local.INFO: GPS data processed {"connection_id":204061,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:32:37] local.INFO: Acknowledgment sent {"connection_id":204061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:32:56] local.INFO: TCP Data received {"connection_id":205504,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:32:56] local.INFO: Processing buffer {"connection_id":205504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:32:56] local.INFO: IMEI packet received {"connection_id":205504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":205504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:33:01] local.INFO: TCP Data received {"connection_id":205504,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:33:01] local.INFO: Processing buffer {"connection_id":205504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:33:01] local.INFO: IMEI packet received {"connection_id":205504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":205504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:33:02] local.INFO: TCP Data received {"connection_id":205504,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:33:02] local.INFO: Processing buffer {"connection_id":205504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:33:02] local.INFO: Packet analysis {"connection_id":205504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:33:02] local.INFO: Extracted packet for processing {"connection_id":205504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533694976001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:33:02] 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-10-05 02:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791147547000,"timestamp_ms":1791147547000,"timestamp_seconds":1791147547,"priority":1,"record_length":96,"hex_timestamp":"000001a108b69978"} 
[2026-10-05 02:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:33: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-10-05 02: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 02:33:02] 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-10-05 02: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-10-05 02:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533694976001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533694976001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:33:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:33:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533694976001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":205504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:33:02] local.INFO: GPS data processed {"connection_id":205504,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:33:02] local.INFO: Acknowledgment sent {"connection_id":205504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:33:05] local.INFO: TCP Data received {"connection_id":207063,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:33:05] local.INFO: Processing buffer {"connection_id":207063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:33:05] local.INFO: IMEI packet received {"connection_id":207063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":207063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:33:10] local.INFO: TCP Data received {"connection_id":207063,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:33:10] local.INFO: Processing buffer {"connection_id":207063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:33:10] local.INFO: IMEI packet received {"connection_id":207063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":207063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:33:11] local.INFO: TCP Data received {"connection_id":207063,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:33:11] local.INFO: Processing buffer {"connection_id":207063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:33:11] local.INFO: Packet analysis {"connection_id":207063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:33:11] local.INFO: Extracted packet for processing {"connection_id":207063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:33:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533690880001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791147531000,"timestamp_ms":1791147531000,"timestamp_seconds":1791147531,"priority":1,"record_length":96,"hex_timestamp":"000001a108b65af8"} 
[2026-10-05 02:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533690880001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533690880001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:33:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533690880001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":207063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:33:11] local.INFO: GPS data processed {"connection_id":207063,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:33:11] local.INFO: Acknowledgment sent {"connection_id":207063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:33:16] local.INFO: TCP Data received {"connection_id":207063,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:33:16] local.INFO: Processing buffer {"connection_id":207063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b65af8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:33:16] local.INFO: Packet analysis {"connection_id":207063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:33:16] local.INFO: Extracted packet for processing {"connection_id":207063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:33:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533690880001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791147531000,"timestamp_ms":1791147531000,"timestamp_seconds":1791147531,"priority":1,"record_length":96,"hex_timestamp":"000001a108b65af8"} 
[2026-10-05 02:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02: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-10-05 02:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533690880001,"66":12645,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533690880001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:33:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:33:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533690880001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":207063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964793,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:33:16] local.INFO: GPS data processed {"connection_id":207063,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:33:16] local.INFO: Acknowledgment sent {"connection_id":207063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:33:33] local.INFO: TCP Data received {"connection_id":205504,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:33:33] local.INFO: Processing buffer {"connection_id":205504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:33:33] local.INFO: Packet analysis {"connection_id":205504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:33:33] local.INFO: Extracted packet for processing {"connection_id":205504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:33:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533694976001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:33: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-10-05 02:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791147547000,"timestamp_ms":1791147547000,"timestamp_seconds":1791147547,"priority":1,"record_length":96,"hex_timestamp":"000001a108b69978"} 
[2026-10-05 02:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:33:33] 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-10-05 02: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 02:33:33] 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-10-05 02: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-10-05 02:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533694976001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533694976001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:33:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:33:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533694976001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":205504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:33:33] local.INFO: GPS data processed {"connection_id":205504,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:33:33] local.INFO: Acknowledgment sent {"connection_id":205504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:34:00] local.INFO: TCP Data received {"connection_id":203987,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203987,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:34:00] local.INFO: Processing buffer {"connection_id":203987,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:34:00] local.INFO: IMEI packet received {"connection_id":203987,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":203987,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:34:01] local.INFO: TCP Data received {"connection_id":203988,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:34:01] local.INFO: Processing buffer {"connection_id":203988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:34:01] local.INFO: IMEI packet received {"connection_id":203988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":203988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:34:05] local.INFO: TCP Data received {"connection_id":203987,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203987,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:34:05] local.INFO: Processing buffer {"connection_id":203987,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:34:05] local.INFO: IMEI packet received {"connection_id":203987,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":203987,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:34:06] local.INFO: TCP Data received {"connection_id":203987,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:34:06] local.INFO: Processing buffer {"connection_id":203987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:34:06] local.INFO: Packet analysis {"connection_id":203987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ba"} 
[2026-10-05 02:34:06] local.INFO: Extracted packet for processing {"connection_id":203987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ba"} 
[2026-10-05 02:34:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533767936001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791147832000,"timestamp_ms":1791147832000,"timestamp_seconds":1791147832,"priority":1,"record_length":96,"hex_timestamp":"000001a108baf2c0"} 
[2026-10-05 02:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:34:06] 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-10-05 02:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533767936001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533767936001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:34:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:34:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533767936001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":203987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964795,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:34:06] local.INFO: GPS data processed {"connection_id":203987,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:34:06] local.INFO: Acknowledgment sent {"connection_id":203987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:34:07] local.INFO: TCP Data received {"connection_id":203988,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:34:07] local.INFO: Processing buffer {"connection_id":203988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:34:07] local.INFO: IMEI packet received {"connection_id":203988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":203988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:34:08] local.INFO: TCP Data received {"connection_id":203988,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:34:08] local.INFO: Processing buffer {"connection_id":203988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:34:08] local.INFO: Packet analysis {"connection_id":203988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:34:08] local.INFO: Extracted packet for processing {"connection_id":203988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:34:08] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 02:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533694976001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:34:08] 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-10-05 02:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791147547000,"timestamp_ms":1791147547000,"timestamp_seconds":1791147547,"priority":1,"record_length":96,"hex_timestamp":"000001a108b69978"} 
[2026-10-05 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-10-05 02:34: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-10-05 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 02:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 02:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":203988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":203988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":203988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533694976001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533694976001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:34:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:34:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533694976001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":203988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:34:08] local.INFO: GPS data processed {"connection_id":203988,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:34:08] local.INFO: Acknowledgment sent {"connection_id":203988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:34:16] local.INFO: TCP Data received {"connection_id":203988,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:34:16] local.INFO: Processing buffer {"connection_id":203988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108b69978012d7f91c005afd9f00013010128..."} 
[2026-10-05 02:34:16] local.INFO: Packet analysis {"connection_id":203988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:34:16] local.INFO: Extracted packet for processing {"connection_id":203988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108b6"} 
[2026-10-05 02:34:16] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533694976001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:34:16] 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-10-05 02:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791147547000,"timestamp_ms":1791147547000,"timestamp_seconds":1791147547,"priority":1,"record_length":96,"hex_timestamp":"000001a108b69978"} 
[2026-10-05 02:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:34:16] 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-10-05 02:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 02:34:16] 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-10-05 02:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":203988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":203988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":203988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533694976001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533694976001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:34:16] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:34:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533694976001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":203988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:34:16] local.INFO: GPS data processed {"connection_id":203988,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:34:16] local.INFO: Acknowledgment sent {"connection_id":203988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:34:37] local.INFO: TCP Data received {"connection_id":203987,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:34:37] local.INFO: Processing buffer {"connection_id":203987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:34:37] local.INFO: Packet analysis {"connection_id":203987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ba"} 
[2026-10-05 02:34:37] local.INFO: Extracted packet for processing {"connection_id":203987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ba"} 
[2026-10-05 02:34:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533767936001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791147832000,"timestamp_ms":1791147832000,"timestamp_seconds":1791147832,"priority":1,"record_length":96,"hex_timestamp":"000001a108baf2c0"} 
[2026-10-05 02:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:34:37] 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-10-05 02: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-10-05 02:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533767936001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533767936001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:34:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:34:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533767936001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":203987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964798,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:34:38] local.INFO: GPS data processed {"connection_id":203987,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:34:38] local.INFO: Acknowledgment sent {"connection_id":203987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:34:56] local.INFO: TCP Data received {"connection_id":204062,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:34:56] local.INFO: Processing buffer {"connection_id":204062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:34:56] local.INFO: IMEI packet received {"connection_id":204062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":204062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:35:00] local.INFO: TCP Data received {"connection_id":203989,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:35:00] local.INFO: Processing buffer {"connection_id":203989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:35:00] local.INFO: IMEI packet received {"connection_id":203989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":203989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:35:01] local.INFO: TCP Data received {"connection_id":204062,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:35:01] local.INFO: Processing buffer {"connection_id":204062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:35:01] local.INFO: IMEI packet received {"connection_id":204062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":204062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:35:02] local.INFO: TCP Data received {"connection_id":204062,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:35:02] local.INFO: Processing buffer {"connection_id":204062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:35:02] local.INFO: Packet analysis {"connection_id":204062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bb"} 
[2026-10-05 02:35:02] local.INFO: Extracted packet for processing {"connection_id":204062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bb"} 
[2026-10-05 02:35:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533772032001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:35:02] 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-10-05 02:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791147848000,"timestamp_ms":1791147848000,"timestamp_seconds":1791147848,"priority":1,"record_length":96,"hex_timestamp":"000001a108bb3140"} 
[2026-10-05 02:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:35:02] 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-10-05 02: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-10-05 02:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:35: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-10-05 02:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533772032001,"66":25538,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533772032001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:35:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:35:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533772032001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":204062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:35:02] local.INFO: GPS data processed {"connection_id":204062,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:35:02] local.INFO: Acknowledgment sent {"connection_id":204062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:35:05] local.INFO: TCP Data received {"connection_id":203989,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:35:05] local.INFO: Processing buffer {"connection_id":203989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:35:05] local.INFO: IMEI packet received {"connection_id":203989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":203989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:35:06] local.INFO: TCP Data received {"connection_id":203989,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:35:06] local.INFO: Processing buffer {"connection_id":203989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:35:06] local.INFO: Packet analysis {"connection_id":203989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ba"} 
[2026-10-05 02:35:06] local.INFO: Extracted packet for processing {"connection_id":203989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ba"} 
[2026-10-05 02:35:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533767936001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791147832000,"timestamp_ms":1791147832000,"timestamp_seconds":1791147832,"priority":1,"record_length":96,"hex_timestamp":"000001a108baf2c0"} 
[2026-10-05 02:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:35:06] 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-10-05 02: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-10-05 02:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533767936001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533767936001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:35:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:35:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533767936001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":203989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:35:06] local.INFO: GPS data processed {"connection_id":203989,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:35:06] local.INFO: Acknowledgment sent {"connection_id":203989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:35:07] local.INFO: TCP Data received {"connection_id":204062,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:35:07] local.INFO: Processing buffer {"connection_id":204062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:35:07] local.INFO: Packet analysis {"connection_id":204062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bb"} 
[2026-10-05 02:35:07] local.INFO: Extracted packet for processing {"connection_id":204062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bb"} 
[2026-10-05 02:35:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533772032001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:35:07] 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-10-05 02:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791147848000,"timestamp_ms":1791147848000,"timestamp_seconds":1791147848,"priority":1,"record_length":96,"hex_timestamp":"000001a108bb3140"} 
[2026-10-05 02:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533772032001,"66":25538,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533772032001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:35:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:35:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533772032001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":204062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:35:07] local.INFO: GPS data processed {"connection_id":204062,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:35:07] local.INFO: Acknowledgment sent {"connection_id":204062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:35:37] local.INFO: TCP Data received {"connection_id":203989,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:35:37] local.INFO: Processing buffer {"connection_id":203989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:35:37] local.INFO: Packet analysis {"connection_id":203989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ba"} 
[2026-10-05 02:35:37] local.INFO: Extracted packet for processing {"connection_id":203989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ba"} 
[2026-10-05 02:35:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533767936001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791147832000,"timestamp_ms":1791147832000,"timestamp_seconds":1791147832,"priority":1,"record_length":96,"hex_timestamp":"000001a108baf2c0"} 
[2026-10-05 02:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:35:37] 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-10-05 02:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533767936001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533767936001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:35:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:35:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533767936001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":203989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964802,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:35:37] local.INFO: GPS data processed {"connection_id":203989,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:35:37] local.INFO: Acknowledgment sent {"connection_id":203989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:35:38] local.INFO: TCP Data received {"connection_id":204062,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:35:38] local.INFO: Processing buffer {"connection_id":204062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:35:38] local.INFO: Packet analysis {"connection_id":204062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bb"} 
[2026-10-05 02:35:38] local.INFO: Extracted packet for processing {"connection_id":204062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bb"} 
[2026-10-05 02:35:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533772032001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:35:38] 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-10-05 02:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791147848000,"timestamp_ms":1791147848000,"timestamp_seconds":1791147848,"priority":1,"record_length":96,"hex_timestamp":"000001a108bb3140"} 
[2026-10-05 02:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:35:38] 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-10-05 02:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533772032001,"66":25538,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533772032001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:35:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:35:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533772032001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":204062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:35:38] local.INFO: GPS data processed {"connection_id":204062,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:35:38] local.INFO: Acknowledgment sent {"connection_id":204062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:35:56] local.INFO: TCP Data received {"connection_id":203991,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:35:56] local.INFO: Processing buffer {"connection_id":203991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:35:56] local.INFO: IMEI packet received {"connection_id":203991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":203991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:36:00] local.INFO: TCP Data received {"connection_id":207065,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:36:00] local.INFO: Processing buffer {"connection_id":207065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:36:00] local.INFO: IMEI packet received {"connection_id":207065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":207065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:36:01] local.INFO: TCP Data received {"connection_id":203991,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:36:01] local.INFO: Processing buffer {"connection_id":203991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:36:01] local.INFO: IMEI packet received {"connection_id":203991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":203991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:36:02] local.INFO: TCP Data received {"connection_id":203991,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:36:02] local.INFO: Processing buffer {"connection_id":203991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:36:02] local.INFO: Packet analysis {"connection_id":203991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bb"} 
[2026-10-05 02:36:02] local.INFO: Extracted packet for processing {"connection_id":203991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bb"} 
[2026-10-05 02:36:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 02:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533772032001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:36:02] 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-10-05 02:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791147848000,"timestamp_ms":1791147848000,"timestamp_seconds":1791147848,"priority":1,"record_length":96,"hex_timestamp":"000001a108bb3140"} 
[2026-10-05 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-10-05 02:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:36:02] 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-10-05 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-10-05 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-10-05 02:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:36: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-10-05 02:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533772032001,"66":25538,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533772032001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:36:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:36:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533772032001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":203991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:36:02] local.INFO: GPS data processed {"connection_id":203991,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:36:02] local.INFO: Acknowledgment sent {"connection_id":203991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:36:05] local.INFO: TCP Data received {"connection_id":207065,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:36:05] local.INFO: Processing buffer {"connection_id":207065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:36:05] local.INFO: IMEI packet received {"connection_id":207065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":207065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:36:06] local.INFO: TCP Data received {"connection_id":207065,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:36:06] local.INFO: Processing buffer {"connection_id":207065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:36:06] local.INFO: Packet analysis {"connection_id":207065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ba"} 
[2026-10-05 02:36:06] local.INFO: Extracted packet for processing {"connection_id":207065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ba"} 
[2026-10-05 02:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 02:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533767936001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791147832000,"timestamp_ms":1791147832000,"timestamp_seconds":1791147832,"priority":1,"record_length":96,"hex_timestamp":"000001a108baf2c0"} 
[2026-10-05 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-10-05 02:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:36:06] 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-10-05 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-10-05 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-10-05 02:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533767936001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533767936001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:36:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:36:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533767936001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":207065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:36:06] local.INFO: GPS data processed {"connection_id":207065,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:36:06] local.INFO: Acknowledgment sent {"connection_id":207065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:36:33] local.INFO: TCP Data received {"connection_id":203991,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:36:33] local.INFO: Processing buffer {"connection_id":203991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:36:33] local.INFO: Packet analysis {"connection_id":203991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bb"} 
[2026-10-05 02:36:33] local.INFO: Extracted packet for processing {"connection_id":203991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bb"} 
[2026-10-05 02:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533772032001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:36: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-10-05 02:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791147848000,"timestamp_ms":1791147848000,"timestamp_seconds":1791147848,"priority":1,"record_length":96,"hex_timestamp":"000001a108bb3140"} 
[2026-10-05 02:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:36:33] 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-10-05 02: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-10-05 02:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533772032001,"66":25538,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533772032001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:36:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:36:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533772032001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":203991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:36:33] local.INFO: GPS data processed {"connection_id":203991,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:36:33] local.INFO: Acknowledgment sent {"connection_id":203991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:36:38] local.INFO: TCP Data received {"connection_id":207065,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:36:38] local.INFO: Processing buffer {"connection_id":207065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:36:38] local.INFO: Packet analysis {"connection_id":207065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ba"} 
[2026-10-05 02:36:38] local.INFO: Extracted packet for processing {"connection_id":207065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ba"} 
[2026-10-05 02:36:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:36: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-10-05 02:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533767936001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791147832000,"timestamp_ms":1791147832000,"timestamp_seconds":1791147832,"priority":1,"record_length":96,"hex_timestamp":"000001a108baf2c0"} 
[2026-10-05 02:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:36: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":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:36:38] 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-10-05 02:36: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-10-05 02:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533767936001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533767936001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:36:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:36:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533767936001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":207065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:36:38] local.INFO: GPS data processed {"connection_id":207065,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:36:38] local.INFO: Acknowledgment sent {"connection_id":207065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:36:57] local.INFO: TCP Data received {"connection_id":203993,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:36:57] local.INFO: Processing buffer {"connection_id":203993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:36:57] local.INFO: IMEI packet received {"connection_id":203993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":203993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:37:00] local.INFO: TCP Data received {"connection_id":205506,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:37:00] local.INFO: Processing buffer {"connection_id":205506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:37:00] local.INFO: IMEI packet received {"connection_id":205506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":205506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:37:01] local.INFO: TCP Data received {"connection_id":203993,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:37:01] local.INFO: Processing buffer {"connection_id":203993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:37:01] local.INFO: IMEI packet received {"connection_id":203993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":203993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:37:02] local.INFO: TCP Data received {"connection_id":203993,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:37:02] local.INFO: Processing buffer {"connection_id":203993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:37:02] local.INFO: Packet analysis {"connection_id":203993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bb"} 
[2026-10-05 02:37:02] local.INFO: Extracted packet for processing {"connection_id":203993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bb"} 
[2026-10-05 02:37:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533772032001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:37:02] 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-10-05 02:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791147848000,"timestamp_ms":1791147848000,"timestamp_seconds":1791147848,"priority":1,"record_length":96,"hex_timestamp":"000001a108bb3140"} 
[2026-10-05 02:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:37:02] 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-10-05 02:37: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-10-05 02:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:37: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-10-05 02:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533772032001,"66":25538,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533772032001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:37:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:37:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533772032001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":203993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:37:02] local.INFO: GPS data processed {"connection_id":203993,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:37:02] local.INFO: Acknowledgment sent {"connection_id":203993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:37:05] local.INFO: TCP Data received {"connection_id":205506,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:37:05] local.INFO: Processing buffer {"connection_id":205506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:37:05] local.INFO: IMEI packet received {"connection_id":205506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":205506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:37:06] local.INFO: TCP Data received {"connection_id":205506,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:37:06] local.INFO: Processing buffer {"connection_id":205506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:37:06] local.INFO: Packet analysis {"connection_id":205506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ba"} 
[2026-10-05 02:37:06] local.INFO: Extracted packet for processing {"connection_id":205506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ba"} 
[2026-10-05 02:37:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533767936001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791147832000,"timestamp_ms":1791147832000,"timestamp_seconds":1791147832,"priority":1,"record_length":96,"hex_timestamp":"000001a108baf2c0"} 
[2026-10-05 02:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:37:06] 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-10-05 02:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533767936001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533767936001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:37:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:37:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533767936001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":205506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:37:06] local.INFO: GPS data processed {"connection_id":205506,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:37:06] local.INFO: Acknowledgment sent {"connection_id":205506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:37:09] local.INFO: TCP Data received {"connection_id":203992,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:37:09] local.INFO: Processing buffer {"connection_id":203992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:37:09] local.INFO: IMEI packet received {"connection_id":203992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 02:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":203992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:37:37] local.INFO: TCP Data received {"connection_id":205506,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:37:37] local.INFO: Processing buffer {"connection_id":205506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:37:37] local.INFO: Packet analysis {"connection_id":205506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ba"} 
[2026-10-05 02:37:37] local.INFO: Extracted packet for processing {"connection_id":205506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ba"} 
[2026-10-05 02:37:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533767936001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791147832000,"timestamp_ms":1791147832000,"timestamp_seconds":1791147832,"priority":1,"record_length":96,"hex_timestamp":"000001a108baf2c0"} 
[2026-10-05 02:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:37:37] 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-10-05 02:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533767936001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533767936001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:37:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:37:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533767936001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":205506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:37:37] local.INFO: GPS data processed {"connection_id":205506,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:37:37] local.INFO: Acknowledgment sent {"connection_id":205506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:37:39] local.INFO: TCP Data received {"connection_id":203993,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:37:39] local.INFO: Processing buffer {"connection_id":203993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:37:39] local.INFO: Packet analysis {"connection_id":203993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bb"} 
[2026-10-05 02:37:39] local.INFO: Extracted packet for processing {"connection_id":203993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bb"} 
[2026-10-05 02:37:39] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533772032001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:37:39] 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-10-05 02:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791147848000,"timestamp_ms":1791147848000,"timestamp_seconds":1791147848,"priority":1,"record_length":96,"hex_timestamp":"000001a108bb3140"} 
[2026-10-05 02:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:37:39] 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-10-05 02:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":203993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":203993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":203993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533772032001,"66":25538,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533772032001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:37:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:37:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533772032001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":203993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:37:39] local.INFO: GPS data processed {"connection_id":203993,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:37:39] local.INFO: Acknowledgment sent {"connection_id":203993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:37:43] local.INFO: TCP Data received {"connection_id":207066,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:37:43] local.INFO: Processing buffer {"connection_id":207066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:37:43] local.INFO: IMEI packet received {"connection_id":207066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 02:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":207066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:38:00] local.INFO: TCP Data received {"connection_id":207067,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:38:00] local.INFO: Processing buffer {"connection_id":207067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:38:00] local.INFO: IMEI packet received {"connection_id":207067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":207067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:38:01] local.INFO: TCP Data received {"connection_id":204063,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:38:01] local.INFO: Processing buffer {"connection_id":204063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:38:01] local.INFO: IMEI packet received {"connection_id":204063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":204063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:38:05] local.INFO: TCP Data received {"connection_id":207067,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:38:05] local.INFO: Processing buffer {"connection_id":207067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:38:05] local.INFO: IMEI packet received {"connection_id":207067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":207067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:38:06] local.INFO: TCP Data received {"connection_id":204063,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:38:06] local.INFO: Processing buffer {"connection_id":204063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:38:06] local.INFO: IMEI packet received {"connection_id":204063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":204063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:38:06] local.INFO: TCP Data received {"connection_id":207067,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:38:06] local.INFO: Processing buffer {"connection_id":207067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:38:06] local.INFO: Packet analysis {"connection_id":207067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ba"} 
[2026-10-05 02:38:06] local.INFO: Extracted packet for processing {"connection_id":207067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ba"} 
[2026-10-05 02:38:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533767936001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791147832000,"timestamp_ms":1791147832000,"timestamp_seconds":1791147832,"priority":1,"record_length":96,"hex_timestamp":"000001a108baf2c0"} 
[2026-10-05 02:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:38:06] 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-10-05 02:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:38: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-10-05 02:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533767936001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533767936001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:38:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:38:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533767936001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":207067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:38:06] local.INFO: GPS data processed {"connection_id":207067,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:38:06] local.INFO: Acknowledgment sent {"connection_id":207067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:38:07] local.INFO: TCP Data received {"connection_id":204063,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:38:07] local.INFO: Processing buffer {"connection_id":204063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:38:07] local.INFO: Packet analysis {"connection_id":204063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bb"} 
[2026-10-05 02:38:07] local.INFO: Extracted packet for processing {"connection_id":204063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bb"} 
[2026-10-05 02:38:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533772032001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:38:07] 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-10-05 02:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791147848000,"timestamp_ms":1791147848000,"timestamp_seconds":1791147848,"priority":1,"record_length":96,"hex_timestamp":"000001a108bb3140"} 
[2026-10-05 02:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533772032001,"66":25538,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533772032001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:38:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:38:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533772032001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":204063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:38:07] local.INFO: GPS data processed {"connection_id":204063,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:38:07] local.INFO: Acknowledgment sent {"connection_id":204063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:38:11] local.INFO: TCP Data received {"connection_id":204063,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:38:11] local.INFO: Processing buffer {"connection_id":204063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:38:11] local.INFO: Packet analysis {"connection_id":204063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bb"} 
[2026-10-05 02:38:11] local.INFO: Extracted packet for processing {"connection_id":204063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bb"} 
[2026-10-05 02:38:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533772032001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:38:11] 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-10-05 02:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791147848000,"timestamp_ms":1791147848000,"timestamp_seconds":1791147848,"priority":1,"record_length":96,"hex_timestamp":"000001a108bb3140"} 
[2026-10-05 02:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:38:11] 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-10-05 02:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533772032001,"66":25538,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533772032001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:38:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533772032001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":204063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:38:11] local.INFO: GPS data processed {"connection_id":204063,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:38:11] local.INFO: Acknowledgment sent {"connection_id":204063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:38:37] local.INFO: TCP Data received {"connection_id":207067,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:38:37] local.INFO: Processing buffer {"connection_id":207067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108baf2c0012d7c2ac005dac8a0000800bf27..."} 
[2026-10-05 02:38:37] local.INFO: Packet analysis {"connection_id":207067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ba"} 
[2026-10-05 02:38:37] local.INFO: Extracted packet for processing {"connection_id":207067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ba"} 
[2026-10-05 02:38:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533767936001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791147832000,"timestamp_ms":1791147832000,"timestamp_seconds":1791147832,"priority":1,"record_length":96,"hex_timestamp":"000001a108baf2c0"} 
[2026-10-05 02:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 02:38:37] 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-10-05 02: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-10-05 02:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:38: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-10-05 02:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533767936001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533767936001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:38:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:38:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533767936001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":207067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:38:37] local.INFO: GPS data processed {"connection_id":207067,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:38:37] local.INFO: Acknowledgment sent {"connection_id":207067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:38:56] local.INFO: TCP Data received {"connection_id":204064,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:38:56] local.INFO: Processing buffer {"connection_id":204064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:38:56] local.INFO: IMEI packet received {"connection_id":204064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":204064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:39:00] local.INFO: TCP Data received {"connection_id":205508,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:39:00] local.INFO: Processing buffer {"connection_id":205508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:39:00] local.INFO: IMEI packet received {"connection_id":205508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":205508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:39:01] local.INFO: TCP Data received {"connection_id":204064,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:39:01] local.INFO: Processing buffer {"connection_id":204064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:39:01] local.INFO: IMEI packet received {"connection_id":204064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":204064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:39:02] local.INFO: TCP Data received {"connection_id":204064,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:39:02] local.INFO: Processing buffer {"connection_id":204064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:39:02] local.INFO: Packet analysis {"connection_id":204064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bb"} 
[2026-10-05 02:39:02] local.INFO: Extracted packet for processing {"connection_id":204064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bb"} 
[2026-10-05 02:39:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533772032001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:39:02] 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-10-05 02:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791147848000,"timestamp_ms":1791147848000,"timestamp_seconds":1791147848,"priority":1,"record_length":96,"hex_timestamp":"000001a108bb3140"} 
[2026-10-05 02:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:39:02] 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-10-05 02: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-10-05 02:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:39: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-10-05 02:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533772032001,"66":25538,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533772032001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:39:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:39:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533772032001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":204064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:39:02] local.INFO: GPS data processed {"connection_id":204064,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:39:02] local.INFO: Acknowledgment sent {"connection_id":204064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:39:05] local.INFO: TCP Data received {"connection_id":205508,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:39:05] local.INFO: Processing buffer {"connection_id":205508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:39:05] local.INFO: IMEI packet received {"connection_id":205508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":205508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:39:07] local.INFO: TCP Data received {"connection_id":205508,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:39:07] local.INFO: Processing buffer {"connection_id":205508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:39:07] local.INFO: Packet analysis {"connection_id":205508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:39:07] local.INFO: Extracted packet for processing {"connection_id":205508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:39:07] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533844992001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791148133000,"timestamp_ms":1791148133000,"timestamp_seconds":1791148133,"priority":1,"record_length":96,"hex_timestamp":"000001a108bf8a88"} 
[2026-10-05 02:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:39: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-10-05 02: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02: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-10-05 02:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533844992001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533844992001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:39:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:39:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533844992001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":205508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:39:07] local.INFO: GPS data processed {"connection_id":205508,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:39:07] local.INFO: Acknowledgment sent {"connection_id":205508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:39:36] local.INFO: TCP Data received {"connection_id":204064,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:39:36] local.INFO: Processing buffer {"connection_id":204064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bb3140012d7f91c005afd9f0000e010126..."} 
[2026-10-05 02:39:36] local.INFO: Packet analysis {"connection_id":204064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bb"} 
[2026-10-05 02:39:36] local.INFO: Extracted packet for processing {"connection_id":204064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bb"} 
[2026-10-05 02:39:36] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533772032001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:39:36] 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-10-05 02:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791147848000,"timestamp_ms":1791147848000,"timestamp_seconds":1791147848,"priority":1,"record_length":96,"hex_timestamp":"000001a108bb3140"} 
[2026-10-05 02:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:39:36] 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-10-05 02:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533772032001,"66":25538,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533772032001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:39:36] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:39:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533772032001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":204064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:39:36] local.INFO: GPS data processed {"connection_id":204064,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:39:36] local.INFO: Acknowledgment sent {"connection_id":204064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:39:38] local.INFO: TCP Data received {"connection_id":205508,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:39:38] local.INFO: Processing buffer {"connection_id":205508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:39:38] local.INFO: Packet analysis {"connection_id":205508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:39:38] local.INFO: Extracted packet for processing {"connection_id":205508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:39:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533844992001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791148133000,"timestamp_ms":1791148133000,"timestamp_seconds":1791148133,"priority":1,"record_length":96,"hex_timestamp":"000001a108bf8a88"} 
[2026-10-05 02:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:39:38] 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-10-05 02:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533844992001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533844992001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:39:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:39:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533844992001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":205508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:39:38] local.INFO: GPS data processed {"connection_id":205508,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:39:38] local.INFO: Acknowledgment sent {"connection_id":205508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:39:56] local.INFO: TCP Data received {"connection_id":203994,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:39:56] local.INFO: Processing buffer {"connection_id":203994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:39:56] local.INFO: IMEI packet received {"connection_id":203994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":203994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:40:00] local.INFO: TCP Data received {"connection_id":203995,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:40:00] local.INFO: Processing buffer {"connection_id":203995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:40:00] local.INFO: IMEI packet received {"connection_id":203995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":203995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:40:02] local.INFO: TCP Data received {"connection_id":203994,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:40:02] local.INFO: Processing buffer {"connection_id":203994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:40:02] local.INFO: IMEI packet received {"connection_id":203994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":203994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:40:03] local.INFO: TCP Data received {"connection_id":203994,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:40:03] local.INFO: Processing buffer {"connection_id":203994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:40:03] local.INFO: Packet analysis {"connection_id":203994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:40:03] local.INFO: Extracted packet for processing {"connection_id":203994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:40:03] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533849088001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:40:03] 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-10-05 02:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791148149000,"timestamp_ms":1791148149000,"timestamp_seconds":1791148149,"priority":1,"record_length":96,"hex_timestamp":"000001a108bfc908"} 
[2026-10-05 02:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 02:40:03] 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-10-05 02:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":203994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":203994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":203994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:40: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-10-05 02:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533849088001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533849088001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:40:03] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:40:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533849088001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":203994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:40:03] local.INFO: GPS data processed {"connection_id":203994,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:40:03] local.INFO: Acknowledgment sent {"connection_id":203994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:40:05] local.INFO: TCP Data received {"connection_id":203995,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:40:05] local.INFO: Processing buffer {"connection_id":203995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:40:05] local.INFO: IMEI packet received {"connection_id":203995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":203995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:40:06] local.INFO: TCP Data received {"connection_id":203995,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:40:06] local.INFO: Processing buffer {"connection_id":203995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:40:06] local.INFO: Packet analysis {"connection_id":203995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:40:06] local.INFO: Extracted packet for processing {"connection_id":203995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:40:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533844992001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791148133000,"timestamp_ms":1791148133000,"timestamp_seconds":1791148133,"priority":1,"record_length":96,"hex_timestamp":"000001a108bf8a88"} 
[2026-10-05 02:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:40:06] 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-10-05 02:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533844992001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533844992001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:40:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:40:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533844992001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":203995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:40:06] local.INFO: GPS data processed {"connection_id":203995,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:40:06] local.INFO: Acknowledgment sent {"connection_id":203995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:40:34] local.INFO: TCP Data received {"connection_id":203994,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:40:34] local.INFO: Processing buffer {"connection_id":203994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:40:34] local.INFO: Packet analysis {"connection_id":203994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:40:34] local.INFO: Extracted packet for processing {"connection_id":203994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:40:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533849088001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:40:34] 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-10-05 02:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791148149000,"timestamp_ms":1791148149000,"timestamp_seconds":1791148149,"priority":1,"record_length":96,"hex_timestamp":"000001a108bfc908"} 
[2026-10-05 02:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":194,"data_length":795,"current_offset":136} 
[2026-10-05 02:40:34] 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-10-05 02: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-10-05 02:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":203994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":203994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":203994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533849088001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533849088001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:40:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:40:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533849088001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":203994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:40:34] local.INFO: GPS data processed {"connection_id":203994,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:40:34] local.INFO: Acknowledgment sent {"connection_id":203994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:40:37] local.INFO: TCP Data received {"connection_id":203995,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:40:37] local.INFO: Processing buffer {"connection_id":203995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:40:37] local.INFO: Packet analysis {"connection_id":203995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:40:37] local.INFO: Extracted packet for processing {"connection_id":203995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:40:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533844992001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791148133000,"timestamp_ms":1791148133000,"timestamp_seconds":1791148133,"priority":1,"record_length":96,"hex_timestamp":"000001a108bf8a88"} 
[2026-10-05 02:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:40:37] 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-10-05 02:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533844992001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533844992001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:40:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:40:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533844992001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":203995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:40:37] local.INFO: GPS data processed {"connection_id":203995,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:40:37] local.INFO: Acknowledgment sent {"connection_id":203995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:41:00] local.INFO: TCP Data received {"connection_id":204066,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:41:00] local.INFO: Processing buffer {"connection_id":204066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:41:00] local.INFO: IMEI packet received {"connection_id":204066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":204066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:41:01] local.INFO: TCP Data received {"connection_id":204065,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:41:01] local.INFO: Processing buffer {"connection_id":204065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:41:01] local.INFO: IMEI packet received {"connection_id":204065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":204065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:41:05] local.INFO: TCP Data received {"connection_id":204066,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:41:05] local.INFO: Processing buffer {"connection_id":204066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:41:05] local.INFO: IMEI packet received {"connection_id":204066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":204066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:41:06] local.INFO: TCP Data received {"connection_id":204066,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:41:06] local.INFO: Processing buffer {"connection_id":204066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:41:06] local.INFO: Packet analysis {"connection_id":204066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:41:06] local.INFO: Extracted packet for processing {"connection_id":204066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:41:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 02:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533844992001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791148133000,"timestamp_ms":1791148133000,"timestamp_seconds":1791148133,"priority":1,"record_length":96,"hex_timestamp":"000001a108bf8a88"} 
[2026-10-05 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-10-05 02:41:06] 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-10-05 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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 02:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533844992001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533844992001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:41:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:41:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533844992001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":204066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:41:06] local.INFO: GPS data processed {"connection_id":204066,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:41:06] local.INFO: Acknowledgment sent {"connection_id":204066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:41:06] local.INFO: TCP Data received {"connection_id":204065,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:41:06] local.INFO: Processing buffer {"connection_id":204065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:41:06] local.INFO: IMEI packet received {"connection_id":204065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":204065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:41:07] local.INFO: TCP Data received {"connection_id":204065,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:41:07] local.INFO: Processing buffer {"connection_id":204065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:41:07] local.INFO: Packet analysis {"connection_id":204065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:41:07] local.INFO: Extracted packet for processing {"connection_id":204065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:41:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533849088001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:41:07] 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-10-05 02:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791148149000,"timestamp_ms":1791148149000,"timestamp_seconds":1791148149,"priority":1,"record_length":96,"hex_timestamp":"000001a108bfc908"} 
[2026-10-05 02:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 02:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533849088001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533849088001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:41:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:41:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533849088001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":204065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:41:07] local.INFO: GPS data processed {"connection_id":204065,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:41:07] local.INFO: Acknowledgment sent {"connection_id":204065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:41:11] local.INFO: TCP Data received {"connection_id":204065,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:41:11] local.INFO: Processing buffer {"connection_id":204065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:41:11] local.INFO: Packet analysis {"connection_id":204065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:41:11] local.INFO: Extracted packet for processing {"connection_id":204065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:41:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533849088001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:41:11] 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-10-05 02:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791148149000,"timestamp_ms":1791148149000,"timestamp_seconds":1791148149,"priority":1,"record_length":96,"hex_timestamp":"000001a108bfc908"} 
[2026-10-05 02:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 02:41:11] 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-10-05 02: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-10-05 02:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533849088001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533849088001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:41:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533849088001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":204065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:41:11] local.INFO: GPS data processed {"connection_id":204065,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:41:11] local.INFO: Acknowledgment sent {"connection_id":204065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:41:16] local.INFO: TCP Data received {"connection_id":204065,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:41:16] local.INFO: Processing buffer {"connection_id":204065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:41:16] local.INFO: Packet analysis {"connection_id":204065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:41:16] local.INFO: Extracted packet for processing {"connection_id":204065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:41:16] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533849088001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:41:16] 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-10-05 02:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791148149000,"timestamp_ms":1791148149000,"timestamp_seconds":1791148149,"priority":1,"record_length":96,"hex_timestamp":"000001a108bfc908"} 
[2026-10-05 02:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 02:41:16] 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-10-05 02:41:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533849088001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533849088001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:41:16] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:41:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533849088001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":204065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:41:16] local.INFO: GPS data processed {"connection_id":204065,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:41:16] local.INFO: Acknowledgment sent {"connection_id":204065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:41:37] local.INFO: TCP Data received {"connection_id":204066,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:41:37] local.INFO: Processing buffer {"connection_id":204066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:41:37] local.INFO: Packet analysis {"connection_id":204066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:41:37] local.INFO: Extracted packet for processing {"connection_id":204066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:41:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533844992001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791148133000,"timestamp_ms":1791148133000,"timestamp_seconds":1791148133,"priority":1,"record_length":96,"hex_timestamp":"000001a108bf8a88"} 
[2026-10-05 02:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:41:37] 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-10-05 02:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533844992001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533844992001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:41:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:41:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533844992001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":204066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964828,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:41:37] local.INFO: GPS data processed {"connection_id":204066,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:41:37] local.INFO: Acknowledgment sent {"connection_id":204066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:41:56] local.INFO: TCP Data received {"connection_id":205511,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:41:56] local.INFO: Processing buffer {"connection_id":205511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:41:56] local.INFO: IMEI packet received {"connection_id":205511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":205511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:42:00] local.INFO: TCP Data received {"connection_id":207069,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:42:00] local.INFO: Processing buffer {"connection_id":207069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:42:00] local.INFO: IMEI packet received {"connection_id":207069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":207069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:42:01] local.INFO: TCP Data received {"connection_id":205511,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:42:01] local.INFO: Processing buffer {"connection_id":205511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:42:01] local.INFO: IMEI packet received {"connection_id":205511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":205511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:42:02] local.INFO: TCP Data received {"connection_id":205511,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:42:02] local.INFO: Processing buffer {"connection_id":205511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:42:02] local.INFO: Packet analysis {"connection_id":205511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:42:02] local.INFO: Extracted packet for processing {"connection_id":205511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:42:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533849088001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:42:02] 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-10-05 02:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791148149000,"timestamp_ms":1791148149000,"timestamp_seconds":1791148149,"priority":1,"record_length":96,"hex_timestamp":"000001a108bfc908"} 
[2026-10-05 02:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 02:42:02] 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-10-05 02: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-10-05 02:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:42: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-10-05 02:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533849088001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533849088001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:42:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:42:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533849088001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":205511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:42:02] local.INFO: GPS data processed {"connection_id":205511,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:42:02] local.INFO: Acknowledgment sent {"connection_id":205511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:42:05] local.INFO: TCP Data received {"connection_id":207069,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:42:05] local.INFO: Processing buffer {"connection_id":207069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:42:05] local.INFO: IMEI packet received {"connection_id":207069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":207069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:42:06] local.INFO: TCP Data received {"connection_id":207069,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:42:06] local.INFO: Processing buffer {"connection_id":207069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:42:06] local.INFO: Packet analysis {"connection_id":207069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:42:06] local.INFO: Extracted packet for processing {"connection_id":207069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:42:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533844992001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791148133000,"timestamp_ms":1791148133000,"timestamp_seconds":1791148133,"priority":1,"record_length":96,"hex_timestamp":"000001a108bf8a88"} 
[2026-10-05 02:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:42:06] 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-10-05 02:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533844992001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533844992001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:42:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:42:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533844992001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":207069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:42:06] local.INFO: GPS data processed {"connection_id":207069,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:42:06] local.INFO: Acknowledgment sent {"connection_id":207069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:42:34] local.INFO: TCP Data received {"connection_id":205511,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:42:34] local.INFO: Processing buffer {"connection_id":205511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:42:34] local.INFO: Packet analysis {"connection_id":205511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:42:34] local.INFO: Extracted packet for processing {"connection_id":205511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:42:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533849088001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:42:34] 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-10-05 02:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791148149000,"timestamp_ms":1791148149000,"timestamp_seconds":1791148149,"priority":1,"record_length":96,"hex_timestamp":"000001a108bfc908"} 
[2026-10-05 02:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 02:42:34] 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-10-05 02:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":205511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":205511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":205511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533849088001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533849088001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:42:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:42:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533849088001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":205511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:42:34] local.INFO: GPS data processed {"connection_id":205511,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:42:34] local.INFO: Acknowledgment sent {"connection_id":205511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:42:37] local.INFO: TCP Data received {"connection_id":207069,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:42:37] local.INFO: Processing buffer {"connection_id":207069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:42:37] local.INFO: Packet analysis {"connection_id":207069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:42:37] local.INFO: Extracted packet for processing {"connection_id":207069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:42:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533844992001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791148133000,"timestamp_ms":1791148133000,"timestamp_seconds":1791148133,"priority":1,"record_length":96,"hex_timestamp":"000001a108bf8a88"} 
[2026-10-05 02:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:42:37] 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-10-05 02:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533844992001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533844992001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:42:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:42:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533844992001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":207069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964832,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:42:37] local.INFO: GPS data processed {"connection_id":207069,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:42:37] local.INFO: Acknowledgment sent {"connection_id":207069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:42:56] local.INFO: TCP Data received {"connection_id":205512,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:42:56] local.INFO: Processing buffer {"connection_id":205512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:42:56] local.INFO: IMEI packet received {"connection_id":205512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":205512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:43:03] local.INFO: TCP Data received {"connection_id":205512,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:43:03] local.INFO: Processing buffer {"connection_id":205512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:43:03] local.INFO: IMEI packet received {"connection_id":205512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":205512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:43:04] local.INFO: TCP Data received {"connection_id":204067,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:43:04] local.INFO: Processing buffer {"connection_id":204067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:43:04] local.INFO: IMEI packet received {"connection_id":204067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 02:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":204067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:43:04] local.INFO: TCP Data received {"connection_id":205512,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:43:04] local.INFO: Processing buffer {"connection_id":205512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:43:04] local.INFO: Packet analysis {"connection_id":205512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:43:04] local.INFO: Extracted packet for processing {"connection_id":205512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:43:04] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533849088001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:43: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-10-05 02:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791148149000,"timestamp_ms":1791148149000,"timestamp_seconds":1791148149,"priority":1,"record_length":96,"hex_timestamp":"000001a108bfc908"} 
[2026-10-05 02:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 02:43:04] 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-10-05 02: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-10-05 02:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":205512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":205512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":205512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533849088001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533849088001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:43:04] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:43:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533849088001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":205512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:43:04] local.INFO: GPS data processed {"connection_id":205512,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:43:04] local.INFO: Acknowledgment sent {"connection_id":205512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:43:05] local.INFO: TCP Data received {"connection_id":204068,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:43:05] local.INFO: Processing buffer {"connection_id":204068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:43:05] local.INFO: IMEI packet received {"connection_id":204068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":204068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:43:10] local.INFO: TCP Data received {"connection_id":204068,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:43:10] local.INFO: Processing buffer {"connection_id":204068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:43:10] local.INFO: IMEI packet received {"connection_id":204068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":204068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:43:11] local.INFO: TCP Data received {"connection_id":204068,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:43:11] local.INFO: Processing buffer {"connection_id":204068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:43:11] local.INFO: Packet analysis {"connection_id":204068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:43:11] local.INFO: Extracted packet for processing {"connection_id":204068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:43:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533844992001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791148133000,"timestamp_ms":1791148133000,"timestamp_seconds":1791148133,"priority":1,"record_length":96,"hex_timestamp":"000001a108bf8a88"} 
[2026-10-05 02:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:43:11] 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-10-05 02:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533844992001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533844992001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:43:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:43:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533844992001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":204068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:43:11] local.INFO: GPS data processed {"connection_id":204068,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:43:11] local.INFO: Acknowledgment sent {"connection_id":204068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:43:16] local.INFO: TCP Data received {"connection_id":204068,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:43:16] local.INFO: Processing buffer {"connection_id":204068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bf8a88012d7c2ac005dac8a0000800bf29..."} 
[2026-10-05 02:43:16] local.INFO: Packet analysis {"connection_id":204068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:43:16] local.INFO: Extracted packet for processing {"connection_id":204068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:43:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533844992001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791148133000,"timestamp_ms":1791148133000,"timestamp_seconds":1791148133,"priority":1,"record_length":96,"hex_timestamp":"000001a108bf8a88"} 
[2026-10-05 02:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:43:16] 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-10-05 02:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533844992001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533844992001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:43:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:43:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533844992001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":204068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964835,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:43:16] local.INFO: GPS data processed {"connection_id":204068,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:43:16] local.INFO: Acknowledgment sent {"connection_id":204068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:43:35] local.INFO: TCP Data received {"connection_id":205512,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:43:35] local.INFO: Processing buffer {"connection_id":205512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:43:35] local.INFO: Packet analysis {"connection_id":205512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:43:35] local.INFO: Extracted packet for processing {"connection_id":205512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:43:35] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533849088001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:43:35] 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-10-05 02:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791148149000,"timestamp_ms":1791148149000,"timestamp_seconds":1791148149,"priority":1,"record_length":96,"hex_timestamp":"000001a108bfc908"} 
[2026-10-05 02:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 02:43:35] 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-10-05 02:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":205512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":205512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":205512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533849088001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533849088001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:43:35] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:43:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533849088001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":205512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:43:35] local.INFO: GPS data processed {"connection_id":205512,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:43:35] local.INFO: Acknowledgment sent {"connection_id":205512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:43:43] local.INFO: TCP Data received {"connection_id":207070,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207070,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:43:43] local.INFO: Processing buffer {"connection_id":207070,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:43:43] local.INFO: IMEI packet received {"connection_id":207070,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 02:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":207070,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:43:56] local.INFO: TCP Data received {"connection_id":204069,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:43:56] local.INFO: Processing buffer {"connection_id":204069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:43:56] local.INFO: IMEI packet received {"connection_id":204069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":204069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:44:00] local.INFO: TCP Data received {"connection_id":205513,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205513,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:44:00] local.INFO: Processing buffer {"connection_id":205513,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:44:00] local.INFO: IMEI packet received {"connection_id":205513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":205513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:44:01] local.INFO: TCP Data received {"connection_id":204069,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:44:01] local.INFO: Processing buffer {"connection_id":204069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:44:01] local.INFO: IMEI packet received {"connection_id":204069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":204069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:44:02] local.INFO: TCP Data received {"connection_id":204069,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:44:02] local.INFO: Processing buffer {"connection_id":204069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:44:02] local.INFO: Packet analysis {"connection_id":204069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:44:02] local.INFO: Extracted packet for processing {"connection_id":204069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:44:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533849088001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:44:02] 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-10-05 02:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791148149000,"timestamp_ms":1791148149000,"timestamp_seconds":1791148149,"priority":1,"record_length":96,"hex_timestamp":"000001a108bfc908"} 
[2026-10-05 02:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 02:44:02] 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-10-05 02: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-10-05 02:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:44: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-10-05 02:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533849088001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533849088001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:44:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:44:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533849088001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":204069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:44:02] local.INFO: GPS data processed {"connection_id":204069,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:44:02] local.INFO: Acknowledgment sent {"connection_id":204069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:44:05] local.INFO: TCP Data received {"connection_id":205513,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205513,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:44:05] local.INFO: Processing buffer {"connection_id":205513,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:44:05] local.INFO: IMEI packet received {"connection_id":205513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":205513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:44:06] local.INFO: TCP Data received {"connection_id":205513,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:44:06] local.INFO: Processing buffer {"connection_id":205513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:44:06] local.INFO: Packet analysis {"connection_id":205513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:44:06] local.INFO: Extracted packet for processing {"connection_id":205513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:44:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533922048001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791148434000,"timestamp_ms":1791148434000,"timestamp_seconds":1791148434,"priority":1,"record_length":96,"hex_timestamp":"000001a108c42250"} 
[2026-10-05 02:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 02:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533922048001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533922048001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:44:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:44:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533922048001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":205513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964838,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:44:06] local.INFO: GPS data processed {"connection_id":205513,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:44:06] local.INFO: Acknowledgment sent {"connection_id":205513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:44:33] local.INFO: TCP Data received {"connection_id":204069,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:44:33] local.INFO: Processing buffer {"connection_id":204069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108bfc908012d7f91c005afd9f0000e010122..."} 
[2026-10-05 02:44:33] local.INFO: Packet analysis {"connection_id":204069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:44:33] local.INFO: Extracted packet for processing {"connection_id":204069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108bf"} 
[2026-10-05 02:44:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533849088001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:44: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-10-05 02:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791148149000,"timestamp_ms":1791148149000,"timestamp_seconds":1791148149,"priority":1,"record_length":96,"hex_timestamp":"000001a108bfc908"} 
[2026-10-05 02:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 02:44:33] 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-10-05 02: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-10-05 02:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533849088001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533849088001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:44:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:44:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533849088001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":204069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:44:33] local.INFO: GPS data processed {"connection_id":204069,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:44:33] local.INFO: Acknowledgment sent {"connection_id":204069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:44:38] local.INFO: TCP Data received {"connection_id":205513,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:44:38] local.INFO: Processing buffer {"connection_id":205513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:44:38] local.INFO: Packet analysis {"connection_id":205513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:44:38] local.INFO: Extracted packet for processing {"connection_id":205513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:44:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533922048001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791148434000,"timestamp_ms":1791148434000,"timestamp_seconds":1791148434,"priority":1,"record_length":96,"hex_timestamp":"000001a108c42250"} 
[2026-10-05 02:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 02:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:44: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-10-05 02:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533922048001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533922048001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:44:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:44:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533922048001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":205513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:44:38] local.INFO: GPS data processed {"connection_id":205513,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:44:38] local.INFO: Acknowledgment sent {"connection_id":205513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:44:56] local.INFO: TCP Data received {"connection_id":203996,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:44:56] local.INFO: Processing buffer {"connection_id":203996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:44:56] local.INFO: IMEI packet received {"connection_id":203996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":203996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:45:00] local.INFO: TCP Data received {"connection_id":203997,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203997,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:45:00] local.INFO: Processing buffer {"connection_id":203997,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:45:00] local.INFO: IMEI packet received {"connection_id":203997,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":203997,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:45:01] local.INFO: TCP Data received {"connection_id":203996,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:45:01] local.INFO: Processing buffer {"connection_id":203996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:45:01] local.INFO: IMEI packet received {"connection_id":203996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":203996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:45:02] local.INFO: TCP Data received {"connection_id":203996,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:45:02] local.INFO: Processing buffer {"connection_id":203996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:45:02] local.INFO: Packet analysis {"connection_id":203996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:45:02] local.INFO: Extracted packet for processing {"connection_id":203996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533926144001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:45:02] 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-10-05 02:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791148450000,"timestamp_ms":1791148450000,"timestamp_seconds":1791148450,"priority":1,"record_length":96,"hex_timestamp":"000001a108c460d0"} 
[2026-10-05 02:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:45: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-10-05 02:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 02:45:02] 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-10-05 02: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-10-05 02:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:45: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-10-05 02:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533926144001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533926144001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:45:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:45:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533926144001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":203996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:45:02] local.INFO: GPS data processed {"connection_id":203996,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:45:02] local.INFO: Acknowledgment sent {"connection_id":203996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:45:05] local.INFO: TCP Data received {"connection_id":203997,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203997,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:45:05] local.INFO: Processing buffer {"connection_id":203997,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:45:05] local.INFO: IMEI packet received {"connection_id":203997,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":203997,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:45:06] local.INFO: TCP Data received {"connection_id":203997,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:45:06] local.INFO: Processing buffer {"connection_id":203997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:45:06] local.INFO: Packet analysis {"connection_id":203997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:45:06] local.INFO: Extracted packet for processing {"connection_id":203997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:45:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 02:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533922048001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791148434000,"timestamp_ms":1791148434000,"timestamp_seconds":1791148434,"priority":1,"record_length":96,"hex_timestamp":"000001a108c42250"} 
[2026-10-05 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-10-05 02:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 02:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 02:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":203997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":203997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":203997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533922048001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533922048001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:45:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:45:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533922048001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":203997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:45:06] local.INFO: GPS data processed {"connection_id":203997,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:45:06] local.INFO: Acknowledgment sent {"connection_id":203997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:45:33] local.INFO: TCP Data received {"connection_id":203996,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:45:33] local.INFO: Processing buffer {"connection_id":203996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:45:33] local.INFO: Packet analysis {"connection_id":203996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:45:33] local.INFO: Extracted packet for processing {"connection_id":203996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533926144001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:45: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-10-05 02:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791148450000,"timestamp_ms":1791148450000,"timestamp_seconds":1791148450,"priority":1,"record_length":96,"hex_timestamp":"000001a108c460d0"} 
[2026-10-05 02:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:45:33] 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-10-05 02:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 02:45:33] 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-10-05 02: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-10-05 02:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":203996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":203996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":203996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533926144001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533926144001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:45:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533926144001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":203996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:45:33] local.INFO: GPS data processed {"connection_id":203996,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:45:33] local.INFO: Acknowledgment sent {"connection_id":203996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:45:37] local.INFO: TCP Data received {"connection_id":203997,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:45:37] local.INFO: Processing buffer {"connection_id":203997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:45:37] local.INFO: Packet analysis {"connection_id":203997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:45:37] local.INFO: Extracted packet for processing {"connection_id":203997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:45:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533922048001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791148434000,"timestamp_ms":1791148434000,"timestamp_seconds":1791148434,"priority":1,"record_length":96,"hex_timestamp":"000001a108c42250"} 
[2026-10-05 02:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":91,"data_length":795,"current_offset":136} 
[2026-10-05 02:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02: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-10-05 02:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":203997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":203997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":203997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533922048001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533922048001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:45:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:45:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533922048001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":203997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:45:37] local.INFO: GPS data processed {"connection_id":203997,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:45:37] local.INFO: Acknowledgment sent {"connection_id":203997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:45:59] local.INFO: TCP Data received {"connection_id":207072,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:45:59] local.INFO: Processing buffer {"connection_id":207072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:45:59] local.INFO: IMEI packet received {"connection_id":207072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":207072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:46:00] local.INFO: TCP Data received {"connection_id":204070,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:46:00] local.INFO: Processing buffer {"connection_id":204070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:46:00] local.INFO: IMEI packet received {"connection_id":204070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":204070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:46:02] local.INFO: TCP Data received {"connection_id":207072,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:46:02] local.INFO: Processing buffer {"connection_id":207072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:46:02] local.INFO: IMEI packet received {"connection_id":207072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":207072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:46:03] local.INFO: TCP Data received {"connection_id":207072,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:46:03] local.INFO: Processing buffer {"connection_id":207072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:46:03] local.INFO: Packet analysis {"connection_id":207072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:46:03] local.INFO: Extracted packet for processing {"connection_id":207072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:46:03] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533926144001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:46:03] 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-10-05 02:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791148450000,"timestamp_ms":1791148450000,"timestamp_seconds":1791148450,"priority":1,"record_length":96,"hex_timestamp":"000001a108c460d0"} 
[2026-10-05 02:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 02:46: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-10-05 02:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":207072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":207072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":207072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:46: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-10-05 02:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533926144001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533926144001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:46:03] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:46:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533926144001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":207072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:46:03] local.INFO: GPS data processed {"connection_id":207072,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:46:03] local.INFO: Acknowledgment sent {"connection_id":207072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:46:05] local.INFO: TCP Data received {"connection_id":204070,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:46:05] local.INFO: Processing buffer {"connection_id":204070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:46:05] local.INFO: IMEI packet received {"connection_id":204070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":204070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:46:06] local.INFO: TCP Data received {"connection_id":204070,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:46:06] local.INFO: Processing buffer {"connection_id":204070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:46:06] local.INFO: Packet analysis {"connection_id":204070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:46:06] local.INFO: Extracted packet for processing {"connection_id":204070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:46:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533922048001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791148434000,"timestamp_ms":1791148434000,"timestamp_seconds":1791148434,"priority":1,"record_length":96,"hex_timestamp":"000001a108c42250"} 
[2026-10-05 02:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 02:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533922048001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533922048001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:46:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:46:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533922048001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":204070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:46:06] local.INFO: GPS data processed {"connection_id":204070,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:46:06] local.INFO: Acknowledgment sent {"connection_id":204070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:46:06] local.INFO: TCP Data received {"connection_id":207072,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:46:06] local.INFO: Processing buffer {"connection_id":207072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:46:06] local.INFO: Packet analysis {"connection_id":207072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:46:06] local.INFO: Extracted packet for processing {"connection_id":207072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:46:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533926144001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:46:06] 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-10-05 02:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791148450000,"timestamp_ms":1791148450000,"timestamp_seconds":1791148450,"priority":1,"record_length":96,"hex_timestamp":"000001a108c460d0"} 
[2026-10-05 02:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:46:06] 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-10-05 02:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 02:46: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-10-05 02:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533926144001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533926144001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:46:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:46:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533926144001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":207072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:46:06] local.INFO: GPS data processed {"connection_id":207072,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:46:06] local.INFO: Acknowledgment sent {"connection_id":207072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:46:37] local.INFO: TCP Data received {"connection_id":204070,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:46:37] local.INFO: Processing buffer {"connection_id":204070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:46:37] local.INFO: Packet analysis {"connection_id":204070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:46:37] local.INFO: Extracted packet for processing {"connection_id":204070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:46:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533922048001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791148434000,"timestamp_ms":1791148434000,"timestamp_seconds":1791148434,"priority":1,"record_length":96,"hex_timestamp":"000001a108c42250"} 
[2026-10-05 02:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 02:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02: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-10-05 02:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533922048001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533922048001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:46:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:46:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533922048001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":204070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964848,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:46:37] local.INFO: GPS data processed {"connection_id":204070,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:46:37] local.INFO: Acknowledgment sent {"connection_id":204070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:46:38] local.INFO: TCP Data received {"connection_id":207072,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:46:38] local.INFO: Processing buffer {"connection_id":207072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:46:38] local.INFO: Packet analysis {"connection_id":207072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:46:38] local.INFO: Extracted packet for processing {"connection_id":207072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:46:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533926144001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:46:38] 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-10-05 02:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791148450000,"timestamp_ms":1791148450000,"timestamp_seconds":1791148450,"priority":1,"record_length":96,"hex_timestamp":"000001a108c460d0"} 
[2026-10-05 02:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:46:38] 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-10-05 02:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 02:46:38] 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-10-05 02:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533926144001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533926144001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:46:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:46:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533926144001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":207072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:46:38] local.INFO: GPS data processed {"connection_id":207072,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:46:38] local.INFO: Acknowledgment sent {"connection_id":207072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:46:56] local.INFO: TCP Data received {"connection_id":203999,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:46:56] local.INFO: Processing buffer {"connection_id":203999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:46:56] local.INFO: IMEI packet received {"connection_id":203999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":203999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:47:00] local.INFO: TCP Data received {"connection_id":204071,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:47:00] local.INFO: Processing buffer {"connection_id":204071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:47:00] local.INFO: IMEI packet received {"connection_id":204071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":204071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:47:01] local.INFO: TCP Data received {"connection_id":203999,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:47:01] local.INFO: Processing buffer {"connection_id":203999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:47:01] local.INFO: IMEI packet received {"connection_id":203999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":203999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:47:02] local.INFO: TCP Data received {"connection_id":203999,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:47:02] local.INFO: Processing buffer {"connection_id":203999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:47:02] local.INFO: Packet analysis {"connection_id":203999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:47:02] local.INFO: Extracted packet for processing {"connection_id":203999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:47:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533926144001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:47:02] 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-10-05 02:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791148450000,"timestamp_ms":1791148450000,"timestamp_seconds":1791148450,"priority":1,"record_length":96,"hex_timestamp":"000001a108c460d0"} 
[2026-10-05 02:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:47: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-10-05 02: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 02:47:02] 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-10-05 02: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-10-05 02:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":203999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":203999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":203999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:47: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-10-05 02:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533926144001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533926144001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:47:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:47:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533926144001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":203999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:47:02] local.INFO: GPS data processed {"connection_id":203999,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:47:02] local.INFO: Acknowledgment sent {"connection_id":203999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:47:05] local.INFO: TCP Data received {"connection_id":204071,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:47:05] local.INFO: Processing buffer {"connection_id":204071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:47:05] local.INFO: IMEI packet received {"connection_id":204071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":204071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:47:06] local.INFO: TCP Data received {"connection_id":204071,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:47:06] local.INFO: Processing buffer {"connection_id":204071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:47:06] local.INFO: Packet analysis {"connection_id":204071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:47:06] local.INFO: Extracted packet for processing {"connection_id":204071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:47:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533922048001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791148434000,"timestamp_ms":1791148434000,"timestamp_seconds":1791148434,"priority":1,"record_length":96,"hex_timestamp":"000001a108c42250"} 
[2026-10-05 02:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 02:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533922048001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533922048001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:47:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:47:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533922048001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":204071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:47:06] local.INFO: GPS data processed {"connection_id":204071,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:47:06] local.INFO: Acknowledgment sent {"connection_id":204071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:47:34] local.INFO: TCP Data received {"connection_id":203999,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":203999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:47:34] local.INFO: Processing buffer {"connection_id":203999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:47:34] local.INFO: Packet analysis {"connection_id":203999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:47:34] local.INFO: Extracted packet for processing {"connection_id":203999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:47:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533926144001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:47:34] 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-10-05 02:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791148450000,"timestamp_ms":1791148450000,"timestamp_seconds":1791148450,"priority":1,"record_length":96,"hex_timestamp":"000001a108c460d0"} 
[2026-10-05 02:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:47:34] 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-10-05 02: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":4,"data_length":795,"current_offset":136} 
[2026-10-05 02:47: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-10-05 02: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-10-05 02:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":203999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":203999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":203999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533926144001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533926144001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:47:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:47:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533926144001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":203999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:47:34] local.INFO: GPS data processed {"connection_id":203999,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:47:34] local.INFO: Acknowledgment sent {"connection_id":203999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:47:37] local.INFO: TCP Data received {"connection_id":204071,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:47:37] local.INFO: Processing buffer {"connection_id":204071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:47:37] local.INFO: Packet analysis {"connection_id":204071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:47:37] local.INFO: Extracted packet for processing {"connection_id":204071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:47:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533922048001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791148434000,"timestamp_ms":1791148434000,"timestamp_seconds":1791148434,"priority":1,"record_length":96,"hex_timestamp":"000001a108c42250"} 
[2026-10-05 02:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 02:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533922048001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533922048001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:47:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:47:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533922048001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":204071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964853,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:47:37] local.INFO: GPS data processed {"connection_id":204071,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:47:37] local.INFO: Acknowledgment sent {"connection_id":204071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:47:56] local.INFO: TCP Data received {"connection_id":204000,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:47:56] local.INFO: Processing buffer {"connection_id":204000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:47:56] local.INFO: IMEI packet received {"connection_id":204000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":204000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:48:00] local.INFO: TCP Data received {"connection_id":205515,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:48:00] local.INFO: Processing buffer {"connection_id":205515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:48:00] local.INFO: IMEI packet received {"connection_id":205515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":205515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:48:02] local.INFO: TCP Data received {"connection_id":204000,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:48:02] local.INFO: Processing buffer {"connection_id":204000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:48:02] local.INFO: IMEI packet received {"connection_id":204000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":204000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:48:03] local.INFO: TCP Data received {"connection_id":204000,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:48:03] local.INFO: Processing buffer {"connection_id":204000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:48:03] local.INFO: Packet analysis {"connection_id":204000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:48:03] local.INFO: Extracted packet for processing {"connection_id":204000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:48:03] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533926144001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:48:03] 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-10-05 02:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791148450000,"timestamp_ms":1791148450000,"timestamp_seconds":1791148450,"priority":1,"record_length":96,"hex_timestamp":"000001a108c460d0"} 
[2026-10-05 02:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 02:48: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-10-05 02: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-10-05 02:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":204000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":204000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":204000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:48: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-10-05 02:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533926144001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533926144001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:48:03] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:48:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533926144001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":204000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:48:03] local.INFO: GPS data processed {"connection_id":204000,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:48:03] local.INFO: Acknowledgment sent {"connection_id":204000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:48:05] local.INFO: TCP Data received {"connection_id":205515,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:48:05] local.INFO: Processing buffer {"connection_id":205515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:48:05] local.INFO: IMEI packet received {"connection_id":205515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":205515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:48:07] local.INFO: TCP Data received {"connection_id":205515,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:48:07] local.INFO: Processing buffer {"connection_id":205515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:48:07] local.INFO: Packet analysis {"connection_id":205515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:48:07] local.INFO: Extracted packet for processing {"connection_id":205515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:48:07] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533922048001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791148434000,"timestamp_ms":1791148434000,"timestamp_seconds":1791148434,"priority":1,"record_length":96,"hex_timestamp":"000001a108c42250"} 
[2026-10-05 02:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 02:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533922048001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533922048001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:48:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:48:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533922048001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":205515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:48:07] local.INFO: GPS data processed {"connection_id":205515,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:48:07] local.INFO: Acknowledgment sent {"connection_id":205515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:48:34] local.INFO: TCP Data received {"connection_id":204000,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:48:34] local.INFO: Processing buffer {"connection_id":204000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:48:34] local.INFO: Packet analysis {"connection_id":204000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:48:34] local.INFO: Extracted packet for processing {"connection_id":204000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:48:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533926144001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:48:34] 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-10-05 02:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791148450000,"timestamp_ms":1791148450000,"timestamp_seconds":1791148450,"priority":1,"record_length":96,"hex_timestamp":"000001a108c460d0"} 
[2026-10-05 02:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:48:34] 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-10-05 02:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 02:48: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-10-05 02: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-10-05 02:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":204000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":204000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":204000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533926144001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533926144001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:48:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:48:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533926144001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":204000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:48:34] local.INFO: GPS data processed {"connection_id":204000,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:48:34] local.INFO: Acknowledgment sent {"connection_id":204000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:48:39] local.INFO: TCP Data received {"connection_id":205515,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:48:39] local.INFO: Processing buffer {"connection_id":205515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c42250012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:48:39] local.INFO: Packet analysis {"connection_id":205515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:48:39] local.INFO: Extracted packet for processing {"connection_id":205515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:48:39] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533922048001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791148434000,"timestamp_ms":1791148434000,"timestamp_seconds":1791148434,"priority":1,"record_length":96,"hex_timestamp":"000001a108c42250"} 
[2026-10-05 02:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 02:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":205515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":205515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":205515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533922048001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533922048001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:48:39] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:48:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533922048001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":205515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964857,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:48:39] local.INFO: GPS data processed {"connection_id":205515,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:48:39] local.INFO: Acknowledgment sent {"connection_id":205515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:48:59] local.INFO: TCP Data received {"connection_id":204073,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:48:59] local.INFO: Processing buffer {"connection_id":204073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:48:59] local.INFO: IMEI packet received {"connection_id":204073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":204073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:49:01] local.INFO: TCP Data received {"connection_id":204073,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:49:01] local.INFO: Processing buffer {"connection_id":204073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:49:01] local.INFO: IMEI packet received {"connection_id":204073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":204073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:49:02] local.INFO: TCP Data received {"connection_id":204073,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:49:02] local.INFO: Processing buffer {"connection_id":204073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:49:02] local.INFO: Packet analysis {"connection_id":204073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:49:02] local.INFO: Extracted packet for processing {"connection_id":204073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:49:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533926144001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:49:02] 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-10-05 02:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791148450000,"timestamp_ms":1791148450000,"timestamp_seconds":1791148450,"priority":1,"record_length":96,"hex_timestamp":"000001a108c460d0"} 
[2026-10-05 02:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:49: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-10-05 02:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 02:49:02] 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-10-05 02:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:49: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-10-05 02:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533926144001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533926144001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:49:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:49:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533926144001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":204073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:49:02] local.INFO: GPS data processed {"connection_id":204073,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:49:02] local.INFO: Acknowledgment sent {"connection_id":204073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:49:05] local.INFO: TCP Data received {"connection_id":205516,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:49:05] local.INFO: Processing buffer {"connection_id":205516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:49:05] local.INFO: IMEI packet received {"connection_id":205516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":205516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:49:06] local.INFO: TCP Data received {"connection_id":204073,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:49:06] local.INFO: Processing buffer {"connection_id":204073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:49:06] local.INFO: Packet analysis {"connection_id":204073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:49:06] local.INFO: Extracted packet for processing {"connection_id":204073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:49:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533926144001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:49:06] 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-10-05 02:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791148450000,"timestamp_ms":1791148450000,"timestamp_seconds":1791148450,"priority":1,"record_length":96,"hex_timestamp":"000001a108c460d0"} 
[2026-10-05 02:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:49:06] 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-10-05 02: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":4,"data_length":795,"current_offset":136} 
[2026-10-05 02:49: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-10-05 02: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-10-05 02:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533926144001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533926144001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:49:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:49:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533926144001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":204073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:49:06] local.INFO: GPS data processed {"connection_id":204073,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:49:06] local.INFO: Acknowledgment sent {"connection_id":204073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:49:09] local.INFO: TCP Data received {"connection_id":204072,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204072,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:49:09] local.INFO: Processing buffer {"connection_id":204072,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:49:09] local.INFO: IMEI packet received {"connection_id":204072,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 02:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":204072,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:49:10] local.INFO: TCP Data received {"connection_id":205516,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:49:10] local.INFO: Processing buffer {"connection_id":205516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:49:10] local.INFO: IMEI packet received {"connection_id":205516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":205516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:49:11] local.INFO: TCP Data received {"connection_id":205516,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:49:11] local.INFO: Processing buffer {"connection_id":205516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:49:11] local.INFO: Packet analysis {"connection_id":205516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:49:11] local.INFO: Extracted packet for processing {"connection_id":205516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:49:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533999104001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791148735000,"timestamp_ms":1791148735000,"timestamp_seconds":1791148735,"priority":1,"record_length":96,"hex_timestamp":"000001a108c8ba18"} 
[2026-10-05 02:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:49:11] 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-10-05 02:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533999104001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533999104001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:49:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533999104001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":205516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:49:11] local.INFO: GPS data processed {"connection_id":205516,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:49:11] local.INFO: Acknowledgment sent {"connection_id":205516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:49:16] local.INFO: TCP Data received {"connection_id":205516,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:49:16] local.INFO: Processing buffer {"connection_id":205516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:49:16] local.INFO: Packet analysis {"connection_id":205516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:49:16] local.INFO: Extracted packet for processing {"connection_id":205516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:49:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533999104001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791148735000,"timestamp_ms":1791148735000,"timestamp_seconds":1791148735,"priority":1,"record_length":96,"hex_timestamp":"000001a108c8ba18"} 
[2026-10-05 02:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:49:16] 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-10-05 02:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533999104001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533999104001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:49:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:49:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533999104001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":205516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964861,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:49:16] local.INFO: GPS data processed {"connection_id":205516,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:49:16] local.INFO: Acknowledgment sent {"connection_id":205516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:49:40] local.INFO: TCP Data received {"connection_id":204073,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:49:40] local.INFO: Processing buffer {"connection_id":204073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c460d0012d7f91c005afd9f0000e010128..."} 
[2026-10-05 02:49:40] local.INFO: Packet analysis {"connection_id":204073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:49:40] local.INFO: Extracted packet for processing {"connection_id":204073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c4"} 
[2026-10-05 02:49:40] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533926144001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:49:40] 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-10-05 02:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791148450000,"timestamp_ms":1791148450000,"timestamp_seconds":1791148450,"priority":1,"record_length":96,"hex_timestamp":"000001a108c460d0"} 
[2026-10-05 02:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:49:40] 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-10-05 02:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 02:49:40] 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-10-05 02:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533926144001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533926144001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:49:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:49:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533926144001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":204073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:49:40] local.INFO: GPS data processed {"connection_id":204073,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:49:40] local.INFO: Acknowledgment sent {"connection_id":204073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:49:43] local.INFO: TCP Data received {"connection_id":207074,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:49:43] local.INFO: Processing buffer {"connection_id":207074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:49:43] local.INFO: IMEI packet received {"connection_id":207074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 02:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":207074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:49:56] local.INFO: TCP Data received {"connection_id":207075,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:49:56] local.INFO: Processing buffer {"connection_id":207075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:49:56] local.INFO: IMEI packet received {"connection_id":207075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":207075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:50:00] local.INFO: TCP Data received {"connection_id":207076,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:50:00] local.INFO: Processing buffer {"connection_id":207076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:50:00] local.INFO: IMEI packet received {"connection_id":207076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":207076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:50:01] local.INFO: TCP Data received {"connection_id":207075,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:50:01] local.INFO: Processing buffer {"connection_id":207075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:50:01] local.INFO: IMEI packet received {"connection_id":207075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":207075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:50:01] local.INFO: TCP Data received {"connection_id":207075,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:50:01] local.INFO: Processing buffer {"connection_id":207075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:50:01] local.INFO: Packet analysis {"connection_id":207075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:50:01] local.INFO: Extracted packet for processing {"connection_id":207075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:50:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":15,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 02:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534003200001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:50: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-10-05 02:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791148751000,"timestamp_ms":1791148751000,"timestamp_seconds":1791148751,"priority":1,"record_length":96,"hex_timestamp":"000001a108c8f898"} 
[2026-10-05 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-10-05 02:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:50: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-10-05 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-10-05 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-10-05 02:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534003200001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534003200001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:50:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:50:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534003200001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":207075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:50:01] local.INFO: GPS data processed {"connection_id":207075,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:50:01] local.INFO: Acknowledgment sent {"connection_id":207075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:50:05] local.INFO: TCP Data received {"connection_id":207076,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:50:05] local.INFO: Processing buffer {"connection_id":207076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:50:05] local.INFO: IMEI packet received {"connection_id":207076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":207076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:50:06] local.INFO: TCP Data received {"connection_id":207076,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:50:06] local.INFO: Processing buffer {"connection_id":207076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:50:06] local.INFO: Packet analysis {"connection_id":207076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:50:06] local.INFO: Extracted packet for processing {"connection_id":207076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:50:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 02:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533999104001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791148735000,"timestamp_ms":1791148735000,"timestamp_seconds":1791148735,"priority":1,"record_length":96,"hex_timestamp":"000001a108c8ba18"} 
[2026-10-05 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-10-05 02:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 02:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533999104001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533999104001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:50:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:50:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533999104001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":207076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:50:06] local.INFO: GPS data processed {"connection_id":207076,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:50:06] local.INFO: Acknowledgment sent {"connection_id":207076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:50:32] local.INFO: TCP Data received {"connection_id":207075,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:50:32] local.INFO: Processing buffer {"connection_id":207075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:50:32] local.INFO: Packet analysis {"connection_id":207075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:50:32] local.INFO: Extracted packet for processing {"connection_id":207075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:50:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":15,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534003200001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:50: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-10-05 02:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791148751000,"timestamp_ms":1791148751000,"timestamp_seconds":1791148751,"priority":1,"record_length":96,"hex_timestamp":"000001a108c8f898"} 
[2026-10-05 02:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:50: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-10-05 02: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-10-05 02:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534003200001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534003200001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:50:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:50:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534003200001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":207075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:50:32] local.INFO: GPS data processed {"connection_id":207075,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:50:32] local.INFO: Acknowledgment sent {"connection_id":207075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:50:37] local.INFO: TCP Data received {"connection_id":207076,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:50:37] local.INFO: Processing buffer {"connection_id":207076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:50:37] local.INFO: Packet analysis {"connection_id":207076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:50:37] local.INFO: Extracted packet for processing {"connection_id":207076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:50:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533999104001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791148735000,"timestamp_ms":1791148735000,"timestamp_seconds":1791148735,"priority":1,"record_length":96,"hex_timestamp":"000001a108c8ba18"} 
[2026-10-05 02:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533999104001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533999104001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:50:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:50:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533999104001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":207076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:50:37] local.INFO: GPS data processed {"connection_id":207076,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:50:37] local.INFO: Acknowledgment sent {"connection_id":207076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:51:00] local.INFO: TCP Data received {"connection_id":205518,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:51:00] local.INFO: Processing buffer {"connection_id":205518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:51:00] local.INFO: IMEI packet received {"connection_id":205518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":205518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:51:01] local.INFO: TCP Data received {"connection_id":205517,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:51:01] local.INFO: Processing buffer {"connection_id":205517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:51:01] local.INFO: IMEI packet received {"connection_id":205517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":205517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:51:05] local.INFO: TCP Data received {"connection_id":205518,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:51:05] local.INFO: Processing buffer {"connection_id":205518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:51:05] local.INFO: IMEI packet received {"connection_id":205518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":205518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:51:06] local.INFO: TCP Data received {"connection_id":205518,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:51:06] local.INFO: Processing buffer {"connection_id":205518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:51:06] local.INFO: Packet analysis {"connection_id":205518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:51:06] local.INFO: Extracted packet for processing {"connection_id":205518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:51:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533999104001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791148735000,"timestamp_ms":1791148735000,"timestamp_seconds":1791148735,"priority":1,"record_length":96,"hex_timestamp":"000001a108c8ba18"} 
[2026-10-05 02:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02: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-10-05 02:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533999104001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533999104001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:51:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:51:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533999104001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":205518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:51:06] local.INFO: GPS data processed {"connection_id":205518,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:51:06] local.INFO: Acknowledgment sent {"connection_id":205518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:51:06] local.INFO: TCP Data received {"connection_id":205517,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:51:06] local.INFO: Processing buffer {"connection_id":205517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:51:06] local.INFO: IMEI packet received {"connection_id":205517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":205517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:51:07] local.INFO: TCP Data received {"connection_id":205517,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:51:07] local.INFO: Processing buffer {"connection_id":205517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:51:07] local.INFO: Packet analysis {"connection_id":205517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:51:07] local.INFO: Extracted packet for processing {"connection_id":205517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:51:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":15,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534003200001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:51:07] 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-10-05 02:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791148751000,"timestamp_ms":1791148751000,"timestamp_seconds":1791148751,"priority":1,"record_length":96,"hex_timestamp":"000001a108c8f898"} 
[2026-10-05 02:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02: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-10-05 02:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534003200001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534003200001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:51:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:51:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534003200001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":205517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:51:07] local.INFO: GPS data processed {"connection_id":205517,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:51:07] local.INFO: Acknowledgment sent {"connection_id":205517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:51:11] local.INFO: TCP Data received {"connection_id":205517,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:51:11] local.INFO: Processing buffer {"connection_id":205517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:51:11] local.INFO: Packet analysis {"connection_id":205517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:51:11] local.INFO: Extracted packet for processing {"connection_id":205517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:51:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":15,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:51: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-10-05 02:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534003200001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:51:11] 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-10-05 02:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791148751000,"timestamp_ms":1791148751000,"timestamp_seconds":1791148751,"priority":1,"record_length":96,"hex_timestamp":"000001a108c8f898"} 
[2026-10-05 02:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:51: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:51:11] 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-10-05 02:51: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-10-05 02:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534003200001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534003200001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:51:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534003200001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":205517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:51:11] local.INFO: GPS data processed {"connection_id":205517,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:51:11] local.INFO: Acknowledgment sent {"connection_id":205517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:51:37] local.INFO: TCP Data received {"connection_id":205518,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:51:37] local.INFO: Processing buffer {"connection_id":205518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:51:37] local.INFO: Packet analysis {"connection_id":205518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:51:37] local.INFO: Extracted packet for processing {"connection_id":205518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:51:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533999104001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791148735000,"timestamp_ms":1791148735000,"timestamp_seconds":1791148735,"priority":1,"record_length":96,"hex_timestamp":"000001a108c8ba18"} 
[2026-10-05 02:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533999104001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533999104001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:51:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:51:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533999104001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":205518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964870,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:51:37] local.INFO: GPS data processed {"connection_id":205518,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:51:37] local.INFO: Acknowledgment sent {"connection_id":205518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:51:56] local.INFO: TCP Data received {"connection_id":204075,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:51:56] local.INFO: Processing buffer {"connection_id":204075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:51:56] local.INFO: IMEI packet received {"connection_id":204075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":204075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:52:00] local.INFO: TCP Data received {"connection_id":204076,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:52:00] local.INFO: Processing buffer {"connection_id":204076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:52:00] local.INFO: IMEI packet received {"connection_id":204076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":204076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:52:02] local.INFO: TCP Data received {"connection_id":204075,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:52:02] local.INFO: Processing buffer {"connection_id":204075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:52:02] local.INFO: IMEI packet received {"connection_id":204075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":204075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:52:03] local.INFO: TCP Data received {"connection_id":204075,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:52:03] local.INFO: Processing buffer {"connection_id":204075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:52:03] local.INFO: Packet analysis {"connection_id":204075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:52:03] local.INFO: Extracted packet for processing {"connection_id":204075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:52:03] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":15,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534003200001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:52:03] 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-10-05 02:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791148751000,"timestamp_ms":1791148751000,"timestamp_seconds":1791148751,"priority":1,"record_length":96,"hex_timestamp":"000001a108c8f898"} 
[2026-10-05 02:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:52:03] 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-10-05 02: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-10-05 02:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":204075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":204075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":204075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:52: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-10-05 02:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534003200001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534003200001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:52:03] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:52:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534003200001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":204075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:52:03] local.INFO: GPS data processed {"connection_id":204075,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:52:03] local.INFO: Acknowledgment sent {"connection_id":204075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:52:05] local.INFO: TCP Data received {"connection_id":204076,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:52:05] local.INFO: Processing buffer {"connection_id":204076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:52:05] local.INFO: IMEI packet received {"connection_id":204076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":204076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:52:06] local.INFO: TCP Data received {"connection_id":204076,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:52:06] local.INFO: Processing buffer {"connection_id":204076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:52:06] local.INFO: Packet analysis {"connection_id":204076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:52:06] local.INFO: Extracted packet for processing {"connection_id":204076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533999104001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791148735000,"timestamp_ms":1791148735000,"timestamp_seconds":1791148735,"priority":1,"record_length":96,"hex_timestamp":"000001a108c8ba18"} 
[2026-10-05 02:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02: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-10-05 02:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533999104001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533999104001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:52:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:52:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533999104001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":204076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:52:06] local.INFO: GPS data processed {"connection_id":204076,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:52:06] local.INFO: Acknowledgment sent {"connection_id":204076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:52:34] local.INFO: TCP Data received {"connection_id":204075,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:52:34] local.INFO: Processing buffer {"connection_id":204075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:52:34] local.INFO: Packet analysis {"connection_id":204075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:52:34] local.INFO: Extracted packet for processing {"connection_id":204075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:52:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":15,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534003200001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:52:34] 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-10-05 02:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791148751000,"timestamp_ms":1791148751000,"timestamp_seconds":1791148751,"priority":1,"record_length":96,"hex_timestamp":"000001a108c8f898"} 
[2026-10-05 02:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:52: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-10-05 02: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-10-05 02:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":204075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":204075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":204075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534003200001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534003200001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:52:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:52:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534003200001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":204075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:52:34] local.INFO: GPS data processed {"connection_id":204075,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:52:34] local.INFO: Acknowledgment sent {"connection_id":204075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:52:37] local.INFO: TCP Data received {"connection_id":204076,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:52:37] local.INFO: Processing buffer {"connection_id":204076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:52:37] local.INFO: Packet analysis {"connection_id":204076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:52:37] local.INFO: Extracted packet for processing {"connection_id":204076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533999104001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791148735000,"timestamp_ms":1791148735000,"timestamp_seconds":1791148735,"priority":1,"record_length":96,"hex_timestamp":"000001a108c8ba18"} 
[2026-10-05 02:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533999104001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533999104001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:52:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:52:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533999104001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":204076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:52:38] local.INFO: GPS data processed {"connection_id":204076,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:52:38] local.INFO: Acknowledgment sent {"connection_id":204076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:52:56] local.INFO: TCP Data received {"connection_id":204003,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:52:56] local.INFO: Processing buffer {"connection_id":204003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:52:56] local.INFO: IMEI packet received {"connection_id":204003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":204003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:53:01] local.INFO: TCP Data received {"connection_id":204003,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:53:01] local.INFO: Processing buffer {"connection_id":204003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:53:01] local.INFO: IMEI packet received {"connection_id":204003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":204003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:53:02] local.INFO: TCP Data received {"connection_id":204003,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:53:02] local.INFO: Processing buffer {"connection_id":204003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:53:02] local.INFO: Packet analysis {"connection_id":204003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:53:02] local.INFO: Extracted packet for processing {"connection_id":204003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:53:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":15,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534003200001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:53:02] 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-10-05 02:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791148751000,"timestamp_ms":1791148751000,"timestamp_seconds":1791148751,"priority":1,"record_length":96,"hex_timestamp":"000001a108c8f898"} 
[2026-10-05 02:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:53:02] 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-10-05 02: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-10-05 02:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:53: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-10-05 02:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534003200001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534003200001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:53:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:53:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534003200001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":204003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:53:02] local.INFO: GPS data processed {"connection_id":204003,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:53:02] local.INFO: Acknowledgment sent {"connection_id":204003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:53:05] local.INFO: TCP Data received {"connection_id":204004,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:53:05] local.INFO: Processing buffer {"connection_id":204004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:53:05] local.INFO: IMEI packet received {"connection_id":204004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":204004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:53:10] local.INFO: TCP Data received {"connection_id":204004,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:53:10] local.INFO: Processing buffer {"connection_id":204004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:53:10] local.INFO: IMEI packet received {"connection_id":204004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":204004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:53:11] local.INFO: TCP Data received {"connection_id":204004,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:53:11] local.INFO: Processing buffer {"connection_id":204004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:53:11] local.INFO: Packet analysis {"connection_id":204004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:53:11] local.INFO: Extracted packet for processing {"connection_id":204004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:53:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533999104001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791148735000,"timestamp_ms":1791148735000,"timestamp_seconds":1791148735,"priority":1,"record_length":96,"hex_timestamp":"000001a108c8ba18"} 
[2026-10-05 02:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533999104001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533999104001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:53:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533999104001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":204004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964876,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:53:11] local.INFO: GPS data processed {"connection_id":204004,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:53:11] local.INFO: Acknowledgment sent {"connection_id":204004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:53:16] local.INFO: TCP Data received {"connection_id":204004,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:53:16] local.INFO: Processing buffer {"connection_id":204004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c8ba18012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 02:53:16] local.INFO: Packet analysis {"connection_id":204004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:53:16] local.INFO: Extracted packet for processing {"connection_id":204004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:53:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458533999104001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791148735000,"timestamp_ms":1791148735000,"timestamp_seconds":1791148735,"priority":1,"record_length":96,"hex_timestamp":"000001a108c8ba18"} 
[2026-10-05 02:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458533999104001,"66":12635,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458533999104001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:53:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:53:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458533999104001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":204004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964877,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:53:16] local.INFO: GPS data processed {"connection_id":204004,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:53:16] local.INFO: Acknowledgment sent {"connection_id":204004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:53:34] local.INFO: TCP Data received {"connection_id":204003,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:53:34] local.INFO: Processing buffer {"connection_id":204003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:53:34] local.INFO: Packet analysis {"connection_id":204003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:53:34] local.INFO: Extracted packet for processing {"connection_id":204003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:53:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":15,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534003200001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:53:34] 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-10-05 02:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791148751000,"timestamp_ms":1791148751000,"timestamp_seconds":1791148751,"priority":1,"record_length":96,"hex_timestamp":"000001a108c8f898"} 
[2026-10-05 02:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:53: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-10-05 02: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-10-05 02:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":204003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":204003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":204003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534003200001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534003200001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:53:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:53:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534003200001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":204003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:53:35] local.INFO: GPS data processed {"connection_id":204003,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:53:35] local.INFO: Acknowledgment sent {"connection_id":204003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:53:56] local.INFO: TCP Data received {"connection_id":207077,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:53:56] local.INFO: Processing buffer {"connection_id":207077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:53:56] local.INFO: IMEI packet received {"connection_id":207077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":207077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:53:57] local.INFO: TCP Data received {"connection_id":204077,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:53:57] local.INFO: Processing buffer {"connection_id":204077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:53:57] local.INFO: IMEI packet received {"connection_id":204077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":204077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:54:00] local.INFO: TCP Data received {"connection_id":204077,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:54:00] local.INFO: Processing buffer {"connection_id":204077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:54:00] local.INFO: IMEI packet received {"connection_id":204077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":204077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:54:01] local.INFO: TCP Data received {"connection_id":207077,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:54:01] local.INFO: Processing buffer {"connection_id":207077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:54:01] local.INFO: IMEI packet received {"connection_id":207077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":207077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:54:02] local.INFO: TCP Data received {"connection_id":207077,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:54:02] local.INFO: Processing buffer {"connection_id":207077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:54:02] local.INFO: Packet analysis {"connection_id":207077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:54:02] local.INFO: Extracted packet for processing {"connection_id":207077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:54:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":15,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534003200001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:54:02] 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-10-05 02:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791148751000,"timestamp_ms":1791148751000,"timestamp_seconds":1791148751,"priority":1,"record_length":96,"hex_timestamp":"000001a108c8f898"} 
[2026-10-05 02:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:54:02] 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-10-05 02: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-10-05 02:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:54: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-10-05 02:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534003200001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534003200001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:54:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:54:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534003200001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":207077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:54:02] local.INFO: GPS data processed {"connection_id":207077,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:54:02] local.INFO: Acknowledgment sent {"connection_id":207077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:54:05] local.INFO: TCP Data received {"connection_id":204077,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:54:05] local.INFO: Processing buffer {"connection_id":204077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:54:05] local.INFO: IMEI packet received {"connection_id":204077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":204077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:54:06] local.INFO: TCP Data received {"connection_id":204077,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:54:06] local.INFO: Processing buffer {"connection_id":204077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:54:06] local.INFO: Packet analysis {"connection_id":204077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:54:06] local.INFO: Extracted packet for processing {"connection_id":204077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:54:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534076160001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791149036000,"timestamp_ms":1791149036000,"timestamp_seconds":1791149036,"priority":1,"record_length":96,"hex_timestamp":"000001a108cd51e0"} 
[2026-10-05 02:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 02:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534076160001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534076160001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:54:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:54:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534076160001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":204077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964880,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:54:06] local.INFO: GPS data processed {"connection_id":204077,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:54:06] local.INFO: Acknowledgment sent {"connection_id":204077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:54:33] local.INFO: TCP Data received {"connection_id":207077,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:54:33] local.INFO: Processing buffer {"connection_id":207077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108c8f898012d7f91c005afd9f0000f010124..."} 
[2026-10-05 02:54:33] local.INFO: Packet analysis {"connection_id":207077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:54:33] local.INFO: Extracted packet for processing {"connection_id":207077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108c8"} 
[2026-10-05 02:54:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":15,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534003200001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:54: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-10-05 02:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791148751000,"timestamp_ms":1791148751000,"timestamp_seconds":1791148751,"priority":1,"record_length":96,"hex_timestamp":"000001a108c8f898"} 
[2026-10-05 02:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 02:54:33] 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-10-05 02: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-10-05 02:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534003200001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534003200001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:54:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 02:54:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534003200001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":207077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:54:33] local.INFO: GPS data processed {"connection_id":207077,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:54:33] local.INFO: Acknowledgment sent {"connection_id":207077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:54:37] local.INFO: TCP Data received {"connection_id":204077,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:54:37] local.INFO: Processing buffer {"connection_id":204077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:54:37] local.INFO: Packet analysis {"connection_id":204077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:54:37] local.INFO: Extracted packet for processing {"connection_id":204077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:54:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534076160001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791149036000,"timestamp_ms":1791149036000,"timestamp_seconds":1791149036,"priority":1,"record_length":96,"hex_timestamp":"000001a108cd51e0"} 
[2026-10-05 02:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 02:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02: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-10-05 02:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534076160001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534076160001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:54:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:54:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534076160001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":204077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964882,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:54:37] local.INFO: GPS data processed {"connection_id":204077,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:54:37] local.INFO: Acknowledgment sent {"connection_id":204077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:54:56] local.INFO: TCP Data received {"connection_id":207078,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:54:56] local.INFO: Processing buffer {"connection_id":207078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:54:56] local.INFO: IMEI packet received {"connection_id":207078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":207078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:55:00] local.INFO: TCP Data received {"connection_id":207079,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:55:00] local.INFO: Processing buffer {"connection_id":207079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:55:00] local.INFO: IMEI packet received {"connection_id":207079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":207079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:55:01] local.INFO: TCP Data received {"connection_id":207078,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:55:01] local.INFO: Processing buffer {"connection_id":207078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:55:01] local.INFO: IMEI packet received {"connection_id":207078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":207078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:55:02] local.INFO: TCP Data received {"connection_id":207078,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:55:02] local.INFO: Processing buffer {"connection_id":207078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:55:02] local.INFO: Packet analysis {"connection_id":207078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:55:02] local.INFO: Extracted packet for processing {"connection_id":207078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:55:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534080256001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:55: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-10-05 02:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791149052000,"timestamp_ms":1791149052000,"timestamp_seconds":1791149052,"priority":1,"record_length":96,"hex_timestamp":"000001a108cd9060"} 
[2026-10-05 02:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:55: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-10-05 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:55: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-10-05 02: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-10-05 02:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:55: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-10-05 02:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534080256001,"66":25582,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534080256001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:55:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:55:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534080256001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":207078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:55:02] local.INFO: GPS data processed {"connection_id":207078,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:55:02] local.INFO: Acknowledgment sent {"connection_id":207078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:55:05] local.INFO: TCP Data received {"connection_id":207079,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:55:05] local.INFO: Processing buffer {"connection_id":207079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:55:05] local.INFO: IMEI packet received {"connection_id":207079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":207079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:55:06] local.INFO: TCP Data received {"connection_id":207079,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:55:06] local.INFO: Processing buffer {"connection_id":207079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:55:06] local.INFO: Packet analysis {"connection_id":207079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:55:06] local.INFO: Extracted packet for processing {"connection_id":207079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:55:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534076160001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791149036000,"timestamp_ms":1791149036000,"timestamp_seconds":1791149036,"priority":1,"record_length":96,"hex_timestamp":"000001a108cd51e0"} 
[2026-10-05 02:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 02:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534076160001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534076160001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:55:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:55:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534076160001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":207079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:55:06] local.INFO: GPS data processed {"connection_id":207079,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:55:06] local.INFO: Acknowledgment sent {"connection_id":207079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:55:09] local.INFO: TCP Data received {"connection_id":205520,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:55:09] local.INFO: Processing buffer {"connection_id":205520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:55:09] local.INFO: IMEI packet received {"connection_id":205520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 02:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":205520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:55:32] local.INFO: TCP Data received {"connection_id":207078,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:55:32] local.INFO: Processing buffer {"connection_id":207078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:55:32] local.INFO: Packet analysis {"connection_id":207078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:55:32] local.INFO: Extracted packet for processing {"connection_id":207078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:55:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534080256001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:55: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-10-05 02:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791149052000,"timestamp_ms":1791149052000,"timestamp_seconds":1791149052,"priority":1,"record_length":96,"hex_timestamp":"000001a108cd9060"} 
[2026-10-05 02:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:55:32] 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-10-05 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:55: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-10-05 02: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-10-05 02:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534080256001,"66":25582,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534080256001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:55:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:55:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534080256001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":207078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:55:32] local.INFO: GPS data processed {"connection_id":207078,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:55:32] local.INFO: Acknowledgment sent {"connection_id":207078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:55:37] local.INFO: TCP Data received {"connection_id":207079,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:55:37] local.INFO: Processing buffer {"connection_id":207079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:55:37] local.INFO: Packet analysis {"connection_id":207079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:55:37] local.INFO: Extracted packet for processing {"connection_id":207079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:55:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534076160001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791149036000,"timestamp_ms":1791149036000,"timestamp_seconds":1791149036,"priority":1,"record_length":96,"hex_timestamp":"000001a108cd51e0"} 
[2026-10-05 02:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 02:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02: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-10-05 02:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534076160001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534076160001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:55:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:55:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534076160001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":207079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:55:37] local.INFO: GPS data processed {"connection_id":207079,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:55:37] local.INFO: Acknowledgment sent {"connection_id":207079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:55:43] local.INFO: TCP Data received {"connection_id":207080,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207080,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:55:43] local.INFO: Processing buffer {"connection_id":207080,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 02:55:43] local.INFO: IMEI packet received {"connection_id":207080,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 02:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":207080,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:55:56] local.INFO: TCP Data received {"connection_id":205521,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:55:56] local.INFO: Processing buffer {"connection_id":205521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:55:56] local.INFO: IMEI packet received {"connection_id":205521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":205521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:56:00] local.INFO: TCP Data received {"connection_id":204078,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:56:00] local.INFO: Processing buffer {"connection_id":204078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:56:00] local.INFO: IMEI packet received {"connection_id":204078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":204078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:56:01] local.INFO: TCP Data received {"connection_id":205521,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:56:01] local.INFO: Processing buffer {"connection_id":205521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:56:01] local.INFO: IMEI packet received {"connection_id":205521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":205521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:56:02] local.INFO: TCP Data received {"connection_id":205521,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:56:02] local.INFO: Processing buffer {"connection_id":205521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:56:02] local.INFO: Packet analysis {"connection_id":205521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:56:02] local.INFO: Extracted packet for processing {"connection_id":205521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534080256001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02: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-10-05 02:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791149052000,"timestamp_ms":1791149052000,"timestamp_seconds":1791149052,"priority":1,"record_length":96,"hex_timestamp":"000001a108cd9060"} 
[2026-10-05 02:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:56: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-10-05 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:56: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-10-05 02: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-10-05 02:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:56: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-10-05 02:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534080256001,"66":25582,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534080256001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:56:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:56:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534080256001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":205521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:56:02] local.INFO: GPS data processed {"connection_id":205521,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:56:02] local.INFO: Acknowledgment sent {"connection_id":205521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:56:05] local.INFO: TCP Data received {"connection_id":204078,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:56:05] local.INFO: Processing buffer {"connection_id":204078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:56:05] local.INFO: IMEI packet received {"connection_id":204078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":204078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:56:06] local.INFO: TCP Data received {"connection_id":204078,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:56:06] local.INFO: Processing buffer {"connection_id":204078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:56:06] local.INFO: Packet analysis {"connection_id":204078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:56:06] local.INFO: Extracted packet for processing {"connection_id":204078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:56:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534076160001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791149036000,"timestamp_ms":1791149036000,"timestamp_seconds":1791149036,"priority":1,"record_length":96,"hex_timestamp":"000001a108cd51e0"} 
[2026-10-05 02:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 02:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02: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-10-05 02:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:56:06] 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-10-05 02:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534076160001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534076160001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:56:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:56:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534076160001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":204078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:56:06] local.INFO: GPS data processed {"connection_id":204078,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:56:06] local.INFO: Acknowledgment sent {"connection_id":204078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:56:32] local.INFO: TCP Data received {"connection_id":205521,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:56:32] local.INFO: Processing buffer {"connection_id":205521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:56:32] local.INFO: Packet analysis {"connection_id":205521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:56:32] local.INFO: Extracted packet for processing {"connection_id":205521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534080256001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:56: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-10-05 02:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791149052000,"timestamp_ms":1791149052000,"timestamp_seconds":1791149052,"priority":1,"record_length":96,"hex_timestamp":"000001a108cd9060"} 
[2026-10-05 02:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:56:32] 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-10-05 02:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:56: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-10-05 02:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534080256001,"66":25582,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534080256001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:56:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:56:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534080256001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":205521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:56:32] local.INFO: GPS data processed {"connection_id":205521,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:56:32] local.INFO: Acknowledgment sent {"connection_id":205521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:56:38] local.INFO: TCP Data received {"connection_id":204078,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:56:38] local.INFO: Processing buffer {"connection_id":204078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:56:38] local.INFO: Packet analysis {"connection_id":204078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:56:38] local.INFO: Extracted packet for processing {"connection_id":204078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:56:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:56: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-10-05 02:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534076160001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791149036000,"timestamp_ms":1791149036000,"timestamp_seconds":1791149036,"priority":1,"record_length":96,"hex_timestamp":"000001a108cd51e0"} 
[2026-10-05 02:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:56: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":91,"data_length":795,"current_offset":136} 
[2026-10-05 02:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:56: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-10-05 02:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:56:38] 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-10-05 02:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534076160001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534076160001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:56:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:56:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534076160001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":204078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:56:38] local.INFO: GPS data processed {"connection_id":204078,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:56:38] local.INFO: Acknowledgment sent {"connection_id":204078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:56:56] local.INFO: TCP Data received {"connection_id":204005,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:56:56] local.INFO: Processing buffer {"connection_id":204005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:56:56] local.INFO: IMEI packet received {"connection_id":204005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":204005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:57:01] local.INFO: TCP Data received {"connection_id":204005,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:57:01] local.INFO: Processing buffer {"connection_id":204005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:57:01] local.INFO: IMEI packet received {"connection_id":204005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":204005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:57:02] local.INFO: TCP Data received {"connection_id":204005,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:57:02] local.INFO: Processing buffer {"connection_id":204005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:57:02] local.INFO: Packet analysis {"connection_id":204005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:57:02] local.INFO: Extracted packet for processing {"connection_id":204005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:57:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534080256001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:57: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-10-05 02:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791149052000,"timestamp_ms":1791149052000,"timestamp_seconds":1791149052,"priority":1,"record_length":96,"hex_timestamp":"000001a108cd9060"} 
[2026-10-05 02:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:57: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-10-05 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:57: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-10-05 02: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-10-05 02:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:57: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-10-05 02:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534080256001,"66":25582,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534080256001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:57:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:57:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534080256001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":204005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:57:02] local.INFO: GPS data processed {"connection_id":204005,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:57:02] local.INFO: Acknowledgment sent {"connection_id":204005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:57:05] local.INFO: TCP Data received {"connection_id":207082,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:57:05] local.INFO: Processing buffer {"connection_id":207082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:57:05] local.INFO: IMEI packet received {"connection_id":207082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":207082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:57:10] local.INFO: TCP Data received {"connection_id":207082,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:57:10] local.INFO: Processing buffer {"connection_id":207082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:57:10] local.INFO: IMEI packet received {"connection_id":207082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":207082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:57:11] local.INFO: TCP Data received {"connection_id":207082,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:57:11] local.INFO: Processing buffer {"connection_id":207082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:57:11] local.INFO: Packet analysis {"connection_id":207082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:57:11] local.INFO: Extracted packet for processing {"connection_id":207082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:57:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534076160001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791149036000,"timestamp_ms":1791149036000,"timestamp_seconds":1791149036,"priority":1,"record_length":96,"hex_timestamp":"000001a108cd51e0"} 
[2026-10-05 02:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 02:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:57:11] 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-10-05 02:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534076160001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534076160001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:57:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534076160001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":207082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:57:11] local.INFO: GPS data processed {"connection_id":207082,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:57:11] local.INFO: Acknowledgment sent {"connection_id":207082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:57:16] local.INFO: TCP Data received {"connection_id":207082,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:57:16] local.INFO: Processing buffer {"connection_id":207082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:57:16] local.INFO: Packet analysis {"connection_id":207082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:57:16] local.INFO: Extracted packet for processing {"connection_id":207082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:57:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534076160001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791149036000,"timestamp_ms":1791149036000,"timestamp_seconds":1791149036,"priority":1,"record_length":96,"hex_timestamp":"000001a108cd51e0"} 
[2026-10-05 02:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 02:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:57:16] 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-10-05 02:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534076160001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534076160001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:57:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:57:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534076160001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":207082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:57:16] local.INFO: GPS data processed {"connection_id":207082,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:57:16] local.INFO: Acknowledgment sent {"connection_id":207082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:57:32] local.INFO: TCP Data received {"connection_id":204005,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:57:32] local.INFO: Processing buffer {"connection_id":204005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:57:32] local.INFO: Packet analysis {"connection_id":204005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:57:32] local.INFO: Extracted packet for processing {"connection_id":204005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:57:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534080256001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:57: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-10-05 02:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791149052000,"timestamp_ms":1791149052000,"timestamp_seconds":1791149052,"priority":1,"record_length":96,"hex_timestamp":"000001a108cd9060"} 
[2026-10-05 02:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:57:32] 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-10-05 02: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":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:57: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-10-05 02: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-10-05 02:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534080256001,"66":25582,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534080256001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:57:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:57:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534080256001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":204005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:57:32] local.INFO: GPS data processed {"connection_id":204005,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:57:32] local.INFO: Acknowledgment sent {"connection_id":204005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:57:56] local.INFO: TCP Data received {"connection_id":205522,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:57:56] local.INFO: Processing buffer {"connection_id":205522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:57:56] local.INFO: IMEI packet received {"connection_id":205522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":205522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:58:00] local.INFO: TCP Data received {"connection_id":204080,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204080,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:58:00] local.INFO: Processing buffer {"connection_id":204080,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:58:00] local.INFO: IMEI packet received {"connection_id":204080,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":204080,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:58:01] local.INFO: TCP Data received {"connection_id":205522,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:58:01] local.INFO: Processing buffer {"connection_id":205522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:58:01] local.INFO: IMEI packet received {"connection_id":205522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":205522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:58:02] local.INFO: TCP Data received {"connection_id":205522,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:58:02] local.INFO: Processing buffer {"connection_id":205522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:58:02] local.INFO: Packet analysis {"connection_id":205522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:58:02] local.INFO: Extracted packet for processing {"connection_id":205522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:58:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534080256001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:58: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-10-05 02:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791149052000,"timestamp_ms":1791149052000,"timestamp_seconds":1791149052,"priority":1,"record_length":96,"hex_timestamp":"000001a108cd9060"} 
[2026-10-05 02:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:58: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-10-05 02:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:58: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-10-05 02:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:58: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-10-05 02:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534080256001,"66":25582,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534080256001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:58:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:58:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534080256001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":205522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:58:02] local.INFO: GPS data processed {"connection_id":205522,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:58:02] local.INFO: Acknowledgment sent {"connection_id":205522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:58:05] local.INFO: TCP Data received {"connection_id":204080,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204080,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:58:05] local.INFO: Processing buffer {"connection_id":204080,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:58:05] local.INFO: IMEI packet received {"connection_id":204080,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":204080,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:58:06] local.INFO: TCP Data received {"connection_id":204080,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:58:06] local.INFO: Processing buffer {"connection_id":204080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:58:06] local.INFO: Packet analysis {"connection_id":204080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:58:06] local.INFO: Extracted packet for processing {"connection_id":204080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:58:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534076160001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791149036000,"timestamp_ms":1791149036000,"timestamp_seconds":1791149036,"priority":1,"record_length":96,"hex_timestamp":"000001a108cd51e0"} 
[2026-10-05 02:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 02:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02: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-10-05 02:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:58:06] 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-10-05 02:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534076160001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534076160001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:58:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:58:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534076160001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":204080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:58:06] local.INFO: GPS data processed {"connection_id":204080,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:58:06] local.INFO: Acknowledgment sent {"connection_id":204080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:58:32] local.INFO: TCP Data received {"connection_id":205522,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:58:32] local.INFO: Processing buffer {"connection_id":205522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:58:32] local.INFO: Packet analysis {"connection_id":205522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:58:32] local.INFO: Extracted packet for processing {"connection_id":205522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534080256001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:58: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-10-05 02:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791149052000,"timestamp_ms":1791149052000,"timestamp_seconds":1791149052,"priority":1,"record_length":96,"hex_timestamp":"000001a108cd9060"} 
[2026-10-05 02:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:58:32] 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-10-05 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:58: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-10-05 02: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-10-05 02:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534080256001,"66":25582,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534080256001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:58:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:58:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534080256001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":205522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:58:32] local.INFO: GPS data processed {"connection_id":205522,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:58:32] local.INFO: Acknowledgment sent {"connection_id":205522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:58:37] local.INFO: TCP Data received {"connection_id":204080,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:58:37] local.INFO: Processing buffer {"connection_id":204080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108cd51e0012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 02:58:37] local.INFO: Packet analysis {"connection_id":204080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:58:37] local.INFO: Extracted packet for processing {"connection_id":204080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:58:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534076160001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791149036000,"timestamp_ms":1791149036000,"timestamp_seconds":1791149036,"priority":1,"record_length":96,"hex_timestamp":"000001a108cd51e0"} 
[2026-10-05 02:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 02:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02: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-10-05 02:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:58:37] 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-10-05 02:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534076160001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534076160001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:58:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:58:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534076160001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":204080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:58:37] local.INFO: GPS data processed {"connection_id":204080,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:58:37] local.INFO: Acknowledgment sent {"connection_id":204080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:58:56] local.INFO: TCP Data received {"connection_id":205524,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:58:56] local.INFO: Processing buffer {"connection_id":205524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:58:56] local.INFO: IMEI packet received {"connection_id":205524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":205524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:58:58] local.INFO: TCP Data received {"connection_id":205525,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:58:58] local.INFO: Processing buffer {"connection_id":205525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:58:58] local.INFO: IMEI packet received {"connection_id":205525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 02:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":205525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 02:59:00] local.INFO: TCP Data received {"connection_id":205525,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:59:00] local.INFO: Processing buffer {"connection_id":205525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:59:00] local.INFO: IMEI packet received {"connection_id":205525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":205525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:59:01] local.INFO: TCP Data received {"connection_id":205524,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:59:01] local.INFO: Processing buffer {"connection_id":205524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:59:01] local.INFO: IMEI packet received {"connection_id":205524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 02:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":205524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:59:02] local.INFO: TCP Data received {"connection_id":205524,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:59:02] local.INFO: Processing buffer {"connection_id":205524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:59:02] local.INFO: Packet analysis {"connection_id":205524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:59:02] local.INFO: Extracted packet for processing {"connection_id":205524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:59:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02: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-10-05 02:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534080256001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02: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-10-05 02:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791149052000,"timestamp_ms":1791149052000,"timestamp_seconds":1791149052,"priority":1,"record_length":96,"hex_timestamp":"000001a108cd9060"} 
[2026-10-05 02:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:59: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-10-05 02: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-10-05 02: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-10-05 02: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-10-05 02:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:59: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-10-05 02:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534080256001,"66":25582,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534080256001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:59:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:59:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534080256001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":205524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:59:02] local.INFO: GPS data processed {"connection_id":205524,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:59:02] local.INFO: Acknowledgment sent {"connection_id":205524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:59:05] local.INFO: TCP Data received {"connection_id":205525,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:59:05] local.INFO: Processing buffer {"connection_id":205525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 02:59:05] local.INFO: IMEI packet received {"connection_id":205525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 02:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":205525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 02:59:06] local.INFO: TCP Data received {"connection_id":205525,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:59:06] local.INFO: Processing buffer {"connection_id":205525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:59:06] local.INFO: Packet analysis {"connection_id":205525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d1"} 
[2026-10-05 02:59:06] local.INFO: Extracted packet for processing {"connection_id":205525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d1"} 
[2026-10-05 02:59:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534153216001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791149337000,"timestamp_ms":1791149337000,"timestamp_seconds":1791149337,"priority":1,"record_length":96,"hex_timestamp":"000001a108d1e9a8"} 
[2026-10-05 02:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:59:06] 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-10-05 02:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534153216001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534153216001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:59:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:59:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534153216001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":205525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964900,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:59:06] local.INFO: GPS data processed {"connection_id":205525,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:59:06] local.INFO: Acknowledgment sent {"connection_id":205525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:59:32] local.INFO: TCP Data received {"connection_id":205524,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:59:32] local.INFO: Processing buffer {"connection_id":205524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108cd9060012d7f91c005afd9f0000e010124..."} 
[2026-10-05 02:59:32] local.INFO: Packet analysis {"connection_id":205524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:59:32] local.INFO: Extracted packet for processing {"connection_id":205524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108cd"} 
[2026-10-05 02:59:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 02:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534080256001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 02:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 02:59: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-10-05 02:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791149052000,"timestamp_ms":1791149052000,"timestamp_seconds":1791149052,"priority":1,"record_length":96,"hex_timestamp":"000001a108cd9060"} 
[2026-10-05 02:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:59:32] 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-10-05 02:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 02:59: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-10-05 02:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 02:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 02:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 02:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 02:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534080256001,"66":25582,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 02:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 02:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 02:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534080256001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:59:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 02:59:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 02:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 02:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534080256001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 02:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":205524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:59:32] local.INFO: GPS data processed {"connection_id":205524,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:59:32] local.INFO: Acknowledgment sent {"connection_id":205524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:59:37] local.INFO: TCP Data received {"connection_id":205525,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:59:37] local.INFO: Processing buffer {"connection_id":205525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 02:59:37] local.INFO: Packet analysis {"connection_id":205525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d1"} 
[2026-10-05 02:59:37] local.INFO: Extracted packet for processing {"connection_id":205525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d1"} 
[2026-10-05 02:59:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 02:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 02:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534153216001,"note":"Value kept but may cause issues"} 
[2026-10-05 02:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 02:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 02:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 02:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791149337000,"timestamp_ms":1791149337000,"timestamp_seconds":1791149337,"priority":1,"record_length":96,"hex_timestamp":"000001a108d1e9a8"} 
[2026-10-05 02:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 02:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 02:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 02:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 02:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 02:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 02:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 02:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 02:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 02:59:37] 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-10-05 02:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 02:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 02:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534153216001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 02:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 02:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 02:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534153216001,"description":"Unknown IO ID 0"} 
[2026-10-05 02:59:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 02:59:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 02:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 02:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 02:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534153216001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 02:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":205525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 02:59:37] local.INFO: GPS data processed {"connection_id":205525,"processed":1,"errors":0,"total":1} 
[2026-10-05 02:59:37] local.INFO: Acknowledgment sent {"connection_id":205525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 02:59:56] local.INFO: TCP Data received {"connection_id":204007,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:59:56] local.INFO: Processing buffer {"connection_id":204007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 02:59:56] local.INFO: IMEI packet received {"connection_id":204007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 02:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":204007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:00:01] local.INFO: TCP Data received {"connection_id":204081,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:00:01] local.INFO: Processing buffer {"connection_id":204081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:00:01] local.INFO: IMEI packet received {"connection_id":204081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":204081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:00:01] local.INFO: TCP Data received {"connection_id":204007,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:00:01] local.INFO: Processing buffer {"connection_id":204007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:00:01] local.INFO: IMEI packet received {"connection_id":204007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":204007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:00:02] local.INFO: TCP Data received {"connection_id":204007,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:00:02] local.INFO: Processing buffer {"connection_id":204007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:00:02] local.INFO: Packet analysis {"connection_id":204007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d2"} 
[2026-10-05 03:00:02] local.INFO: Extracted packet for processing {"connection_id":204007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d2"} 
[2026-10-05 03:00:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:00: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-10-05 03:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534157312001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:00: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-10-05 03:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791149353000,"timestamp_ms":1791149353000,"timestamp_seconds":1791149353,"priority":1,"record_length":96,"hex_timestamp":"000001a108d22828"} 
[2026-10-05 03:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:00: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":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:00:02] 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-10-05 03:00: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-10-05 03:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:00: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-10-05 03:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534157312001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534157312001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:00:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:00:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534157312001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":204007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:00:02] local.INFO: GPS data processed {"connection_id":204007,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:00:02] local.INFO: Acknowledgment sent {"connection_id":204007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:00:05] local.INFO: TCP Data received {"connection_id":204081,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:00:05] local.INFO: Processing buffer {"connection_id":204081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:00:05] local.INFO: IMEI packet received {"connection_id":204081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":204081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:00:06] local.INFO: TCP Data received {"connection_id":204081,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 03:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 03:00:06] local.INFO: Processing buffer {"connection_id":204081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 03:00:06] local.INFO: Packet analysis {"connection_id":204081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d1"} 
[2026-10-05 03:00:06] local.INFO: Extracted packet for processing {"connection_id":204081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d1"} 
[2026-10-05 03:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534153216001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791149337000,"timestamp_ms":1791149337000,"timestamp_seconds":1791149337,"priority":1,"record_length":96,"hex_timestamp":"000001a108d1e9a8"} 
[2026-10-05 03:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:00: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-10-05 03:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534153216001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534153216001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:00:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:00:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534153216001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":204081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964904,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:00:06] local.INFO: GPS data processed {"connection_id":204081,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:00:06] local.INFO: Acknowledgment sent {"connection_id":204081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:00:32] local.INFO: TCP Data received {"connection_id":204007,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:00:32] local.INFO: Processing buffer {"connection_id":204007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:00:32] local.INFO: Packet analysis {"connection_id":204007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d2"} 
[2026-10-05 03:00:32] local.INFO: Extracted packet for processing {"connection_id":204007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d2"} 
[2026-10-05 03:00:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:00: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-10-05 03:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534157312001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:00: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-10-05 03:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791149353000,"timestamp_ms":1791149353000,"timestamp_seconds":1791149353,"priority":1,"record_length":96,"hex_timestamp":"000001a108d22828"} 
[2026-10-05 03:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:00: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-10-05 03:00: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-10-05 03:00: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-10-05 03:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534157312001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534157312001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:00:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:00:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534157312001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":204007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:00:32] local.INFO: GPS data processed {"connection_id":204007,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:00:32] local.INFO: Acknowledgment sent {"connection_id":204007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:00:37] local.INFO: TCP Data received {"connection_id":204081,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 03:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 03:00:37] local.INFO: Processing buffer {"connection_id":204081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 03:00:37] local.INFO: Packet analysis {"connection_id":204081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d1"} 
[2026-10-05 03:00:37] local.INFO: Extracted packet for processing {"connection_id":204081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d1"} 
[2026-10-05 03:00:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534153216001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791149337000,"timestamp_ms":1791149337000,"timestamp_seconds":1791149337,"priority":1,"record_length":96,"hex_timestamp":"000001a108d1e9a8"} 
[2026-10-05 03:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:00: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-10-05 03:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534153216001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534153216001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:00:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:00:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534153216001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":204081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964906,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:00:37] local.INFO: GPS data processed {"connection_id":204081,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:00:37] local.INFO: Acknowledgment sent {"connection_id":204081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:00:56] local.INFO: TCP Data received {"connection_id":207083,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:00:56] local.INFO: Processing buffer {"connection_id":207083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:00:56] local.INFO: IMEI packet received {"connection_id":207083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":207083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:01:00] local.INFO: TCP Data received {"connection_id":205526,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205526,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:01:00] local.INFO: Processing buffer {"connection_id":205526,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:01:00] local.INFO: IMEI packet received {"connection_id":205526,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":205526,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:01:01] local.INFO: TCP Data received {"connection_id":207083,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:01:01] local.INFO: Processing buffer {"connection_id":207083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:01:01] local.INFO: IMEI packet received {"connection_id":207083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":207083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:01:02] local.INFO: TCP Data received {"connection_id":207083,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:01:02] local.INFO: Processing buffer {"connection_id":207083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:01:02] local.INFO: Packet analysis {"connection_id":207083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d2"} 
[2026-10-05 03:01:02] local.INFO: Extracted packet for processing {"connection_id":207083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d2"} 
[2026-10-05 03:01:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534157312001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:01: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-10-05 03:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791149353000,"timestamp_ms":1791149353000,"timestamp_seconds":1791149353,"priority":1,"record_length":96,"hex_timestamp":"000001a108d22828"} 
[2026-10-05 03:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:01:02] 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-10-05 03:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:01: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-10-05 03:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534157312001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534157312001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:01:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:01:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534157312001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":207083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:01:02] local.INFO: GPS data processed {"connection_id":207083,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:01:02] local.INFO: Acknowledgment sent {"connection_id":207083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:01:05] local.INFO: TCP Data received {"connection_id":205526,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205526,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:01:05] local.INFO: Processing buffer {"connection_id":205526,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:01:05] local.INFO: IMEI packet received {"connection_id":205526,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":205526,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:01:06] local.INFO: TCP Data received {"connection_id":205526,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 03:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 03:01:06] local.INFO: Processing buffer {"connection_id":205526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 03:01:06] local.INFO: Packet analysis {"connection_id":205526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d1"} 
[2026-10-05 03:01:06] local.INFO: Extracted packet for processing {"connection_id":205526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d1"} 
[2026-10-05 03:01:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534153216001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791149337000,"timestamp_ms":1791149337000,"timestamp_seconds":1791149337,"priority":1,"record_length":96,"hex_timestamp":"000001a108d1e9a8"} 
[2026-10-05 03:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534153216001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534153216001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:01:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:01:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534153216001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":205526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:01:06] local.INFO: GPS data processed {"connection_id":205526,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:01:06] local.INFO: Acknowledgment sent {"connection_id":205526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:01:06] local.INFO: TCP Data received {"connection_id":207083,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:01:06] local.INFO: Processing buffer {"connection_id":207083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:01:06] local.INFO: Packet analysis {"connection_id":207083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d2"} 
[2026-10-05 03:01:06] local.INFO: Extracted packet for processing {"connection_id":207083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d2"} 
[2026-10-05 03:01:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534157312001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:01: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-10-05 03:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791149353000,"timestamp_ms":1791149353000,"timestamp_seconds":1791149353,"priority":1,"record_length":96,"hex_timestamp":"000001a108d22828"} 
[2026-10-05 03:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:01:06] 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-10-05 03:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534157312001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534157312001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:01:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:01:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534157312001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":207083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:01:06] local.INFO: GPS data processed {"connection_id":207083,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:01:06] local.INFO: Acknowledgment sent {"connection_id":207083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:01:08] local.INFO: TCP Data received {"connection_id":204008,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:01:08] local.INFO: Processing buffer {"connection_id":204008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:01:08] local.INFO: IMEI packet received {"connection_id":204008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 03:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":204008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:01:37] local.INFO: TCP Data received {"connection_id":207083,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:01:37] local.INFO: Processing buffer {"connection_id":207083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:01:37] local.INFO: Packet analysis {"connection_id":207083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d2"} 
[2026-10-05 03:01:37] local.INFO: Extracted packet for processing {"connection_id":207083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d2"} 
[2026-10-05 03:01:37] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534157312001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791149353000,"timestamp_ms":1791149353000,"timestamp_seconds":1791149353,"priority":1,"record_length":96,"hex_timestamp":"000001a108d22828"} 
[2026-10-05 03:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:01:37] 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-10-05 03:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534157312001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534157312001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:01:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:01:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534157312001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":207083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:01:37] local.INFO: GPS data processed {"connection_id":207083,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:01:37] local.INFO: Acknowledgment sent {"connection_id":207083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:01:38] local.INFO: TCP Data received {"connection_id":205526,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 03:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 03:01:38] local.INFO: Processing buffer {"connection_id":205526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 03:01:38] local.INFO: Packet analysis {"connection_id":205526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d1"} 
[2026-10-05 03:01:38] local.INFO: Extracted packet for processing {"connection_id":205526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d1"} 
[2026-10-05 03:01:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:01: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-10-05 03:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534153216001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791149337000,"timestamp_ms":1791149337000,"timestamp_seconds":1791149337,"priority":1,"record_length":96,"hex_timestamp":"000001a108d1e9a8"} 
[2026-10-05 03:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:01: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":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:01: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-10-05 03:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534153216001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534153216001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:01:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:01:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534153216001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":205526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964911,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:01:38] local.INFO: GPS data processed {"connection_id":205526,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:01:38] local.INFO: Acknowledgment sent {"connection_id":205526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:01:43] local.INFO: TCP Data received {"connection_id":204009,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:01:43] local.INFO: Processing buffer {"connection_id":204009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:01:43] local.INFO: IMEI packet received {"connection_id":204009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 03:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":204009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:01:56] local.INFO: TCP Data received {"connection_id":204082,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:01:56] local.INFO: Processing buffer {"connection_id":204082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:01:56] local.INFO: IMEI packet received {"connection_id":204082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":204082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:02:02] local.INFO: TCP Data received {"connection_id":204082,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:02:02] local.INFO: Processing buffer {"connection_id":204082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:02:02] local.INFO: IMEI packet received {"connection_id":204082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":204082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:02:03] local.INFO: TCP Data received {"connection_id":204082,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:02:03] local.INFO: Processing buffer {"connection_id":204082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:02:03] local.INFO: Packet analysis {"connection_id":204082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d2"} 
[2026-10-05 03:02:03] local.INFO: Extracted packet for processing {"connection_id":204082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d2"} 
[2026-10-05 03:02:03] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534157312001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:02: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-10-05 03:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791149353000,"timestamp_ms":1791149353000,"timestamp_seconds":1791149353,"priority":1,"record_length":96,"hex_timestamp":"000001a108d22828"} 
[2026-10-05 03:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:02:03] 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-10-05 03:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":204082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":204082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":204082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534157312001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534157312001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:02:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:02:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534157312001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":204082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:02:03] local.INFO: GPS data processed {"connection_id":204082,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:02:03] local.INFO: Acknowledgment sent {"connection_id":204082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:02:05] local.INFO: TCP Data received {"connection_id":204083,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:02:05] local.INFO: Processing buffer {"connection_id":204083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:02:05] local.INFO: IMEI packet received {"connection_id":204083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":204083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:02:10] local.INFO: TCP Data received {"connection_id":204083,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:02:10] local.INFO: Processing buffer {"connection_id":204083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:02:10] local.INFO: IMEI packet received {"connection_id":204083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":204083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:02:11] local.INFO: TCP Data received {"connection_id":204083,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 03:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 03:02:11] local.INFO: Processing buffer {"connection_id":204083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 03:02:11] local.INFO: Packet analysis {"connection_id":204083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d1"} 
[2026-10-05 03:02:11] local.INFO: Extracted packet for processing {"connection_id":204083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d1"} 
[2026-10-05 03:02:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534153216001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791149337000,"timestamp_ms":1791149337000,"timestamp_seconds":1791149337,"priority":1,"record_length":96,"hex_timestamp":"000001a108d1e9a8"} 
[2026-10-05 03:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534153216001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534153216001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:02:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:02:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534153216001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":204083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964913,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:02:11] local.INFO: GPS data processed {"connection_id":204083,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:02:11] local.INFO: Acknowledgment sent {"connection_id":204083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:02:34] local.INFO: TCP Data received {"connection_id":204082,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:02:34] local.INFO: Processing buffer {"connection_id":204082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:02:34] local.INFO: Packet analysis {"connection_id":204082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d2"} 
[2026-10-05 03:02:34] local.INFO: Extracted packet for processing {"connection_id":204082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d2"} 
[2026-10-05 03:02:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534157312001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:02: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-10-05 03:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791149353000,"timestamp_ms":1791149353000,"timestamp_seconds":1791149353,"priority":1,"record_length":96,"hex_timestamp":"000001a108d22828"} 
[2026-10-05 03:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:02: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-10-05 03: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-10-05 03:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":204082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":204082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":204082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534157312001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534157312001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:02:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:02:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534157312001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":204082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:02:34] local.INFO: GPS data processed {"connection_id":204082,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:02:34] local.INFO: Acknowledgment sent {"connection_id":204082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:02:42] local.INFO: TCP Data received {"connection_id":204083,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 03:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 03:02:42] local.INFO: Processing buffer {"connection_id":204083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 03:02:42] local.INFO: Packet analysis {"connection_id":204083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d1"} 
[2026-10-05 03:02:42] local.INFO: Extracted packet for processing {"connection_id":204083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d1"} 
[2026-10-05 03:02:42] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534153216001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791149337000,"timestamp_ms":1791149337000,"timestamp_seconds":1791149337,"priority":1,"record_length":96,"hex_timestamp":"000001a108d1e9a8"} 
[2026-10-05 03:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534153216001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534153216001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:02:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:02:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534153216001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":204083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964915,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:02:43] local.INFO: GPS data processed {"connection_id":204083,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:02:43] local.INFO: Acknowledgment sent {"connection_id":204083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:02:56] local.INFO: TCP Data received {"connection_id":207084,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:02:56] local.INFO: Processing buffer {"connection_id":207084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:02:56] local.INFO: IMEI packet received {"connection_id":207084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":207084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:03:00] local.INFO: TCP Data received {"connection_id":204085,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204085,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:03:00] local.INFO: Processing buffer {"connection_id":204085,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:03:00] local.INFO: IMEI packet received {"connection_id":204085,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":204085,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:03:01] local.INFO: TCP Data received {"connection_id":207084,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:03:01] local.INFO: Processing buffer {"connection_id":207084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:03:01] local.INFO: IMEI packet received {"connection_id":207084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":207084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:03:02] local.INFO: TCP Data received {"connection_id":207084,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:03:02] local.INFO: Processing buffer {"connection_id":207084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:03:02] local.INFO: Packet analysis {"connection_id":207084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d2"} 
[2026-10-05 03:03:02] local.INFO: Extracted packet for processing {"connection_id":207084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d2"} 
[2026-10-05 03:03:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534157312001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:03: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-10-05 03:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791149353000,"timestamp_ms":1791149353000,"timestamp_seconds":1791149353,"priority":1,"record_length":96,"hex_timestamp":"000001a108d22828"} 
[2026-10-05 03:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:03:02] 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-10-05 03: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-10-05 03:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:03: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-10-05 03:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534157312001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534157312001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:03:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:03:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534157312001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":207084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:03:02] local.INFO: GPS data processed {"connection_id":207084,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:03:02] local.INFO: Acknowledgment sent {"connection_id":207084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:03:05] local.INFO: TCP Data received {"connection_id":204085,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204085,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:03:05] local.INFO: Processing buffer {"connection_id":204085,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:03:05] local.INFO: IMEI packet received {"connection_id":204085,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":204085,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:03:06] local.INFO: TCP Data received {"connection_id":204085,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 03:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 03:03:06] local.INFO: Processing buffer {"connection_id":204085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 03:03:06] local.INFO: Packet analysis {"connection_id":204085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d1"} 
[2026-10-05 03:03:06] local.INFO: Extracted packet for processing {"connection_id":204085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d1"} 
[2026-10-05 03:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 03:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534153216001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791149337000,"timestamp_ms":1791149337000,"timestamp_seconds":1791149337,"priority":1,"record_length":96,"hex_timestamp":"000001a108d1e9a8"} 
[2026-10-05 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-10-05 03:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 03:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534153216001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534153216001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:03:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:03:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534153216001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":204085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964917,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:03:06] local.INFO: GPS data processed {"connection_id":204085,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:03:06] local.INFO: Acknowledgment sent {"connection_id":204085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:03:33] local.INFO: TCP Data received {"connection_id":207084,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:03:33] local.INFO: Processing buffer {"connection_id":207084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:03:33] local.INFO: Packet analysis {"connection_id":207084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d2"} 
[2026-10-05 03:03:33] local.INFO: Extracted packet for processing {"connection_id":207084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d2"} 
[2026-10-05 03:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534157312001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:03: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-10-05 03:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791149353000,"timestamp_ms":1791149353000,"timestamp_seconds":1791149353,"priority":1,"record_length":96,"hex_timestamp":"000001a108d22828"} 
[2026-10-05 03:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:03:33] 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-10-05 03: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-10-05 03:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534157312001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534157312001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:03:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:03:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534157312001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":207084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:03:33] local.INFO: GPS data processed {"connection_id":207084,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:03:33] local.INFO: Acknowledgment sent {"connection_id":207084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:03:37] local.INFO: TCP Data received {"connection_id":204085,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 03:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 03:03:37] local.INFO: Processing buffer {"connection_id":204085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d1e9a8012d7c2ac005dac8a0000800bf28..."} 
[2026-10-05 03:03:37] local.INFO: Packet analysis {"connection_id":204085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d1"} 
[2026-10-05 03:03:37] local.INFO: Extracted packet for processing {"connection_id":204085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d1"} 
[2026-10-05 03:03:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534153216001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791149337000,"timestamp_ms":1791149337000,"timestamp_seconds":1791149337,"priority":1,"record_length":96,"hex_timestamp":"000001a108d1e9a8"} 
[2026-10-05 03:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534153216001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534153216001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:03:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:03:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534153216001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":204085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:03:37] local.INFO: GPS data processed {"connection_id":204085,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:03:37] local.INFO: Acknowledgment sent {"connection_id":204085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:03:58] local.INFO: TCP Data received {"connection_id":207085,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:03:58] local.INFO: Processing buffer {"connection_id":207085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:03:58] local.INFO: IMEI packet received {"connection_id":207085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":207085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:03:59] local.INFO: TCP Data received {"connection_id":205527,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:03:59] local.INFO: Processing buffer {"connection_id":205527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:03:59] local.INFO: IMEI packet received {"connection_id":205527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":205527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:04:00] local.INFO: TCP Data received {"connection_id":205527,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:04:00] local.INFO: Processing buffer {"connection_id":205527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:04:00] local.INFO: IMEI packet received {"connection_id":205527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":205527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:04:01] local.INFO: TCP Data received {"connection_id":207085,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:04:01] local.INFO: Processing buffer {"connection_id":207085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:04:01] local.INFO: IMEI packet received {"connection_id":207085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":207085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:04:02] local.INFO: TCP Data received {"connection_id":207085,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:04:02] local.INFO: Processing buffer {"connection_id":207085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:04:02] local.INFO: Packet analysis {"connection_id":207085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d2"} 
[2026-10-05 03:04:02] local.INFO: Extracted packet for processing {"connection_id":207085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d2"} 
[2026-10-05 03:04:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534157312001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:04: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-10-05 03:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791149353000,"timestamp_ms":1791149353000,"timestamp_seconds":1791149353,"priority":1,"record_length":96,"hex_timestamp":"000001a108d22828"} 
[2026-10-05 03:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:04:02] 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-10-05 03: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-10-05 03:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03: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-10-05 03:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534157312001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534157312001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:04:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:04:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534157312001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":207085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:04:02] local.INFO: GPS data processed {"connection_id":207085,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:04:02] local.INFO: Acknowledgment sent {"connection_id":207085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:04:05] local.INFO: TCP Data received {"connection_id":205527,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:04:05] local.INFO: Processing buffer {"connection_id":205527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:04:05] local.INFO: IMEI packet received {"connection_id":205527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":205527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:04:06] local.INFO: TCP Data received {"connection_id":205527,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:04:06] local.INFO: Processing buffer {"connection_id":205527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:04:06] local.INFO: Packet analysis {"connection_id":205527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:04:06] local.INFO: Extracted packet for processing {"connection_id":205527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:04:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534230272001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791149638000,"timestamp_ms":1791149638000,"timestamp_seconds":1791149638,"priority":1,"record_length":96,"hex_timestamp":"000001a108d68170"} 
[2026-10-05 03:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534230272001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534230272001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:04:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:04:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534230272001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":205527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964921,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:04:06] local.INFO: GPS data processed {"connection_id":205527,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:04:06] local.INFO: Acknowledgment sent {"connection_id":205527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:04:33] local.INFO: TCP Data received {"connection_id":207085,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:04:33] local.INFO: Processing buffer {"connection_id":207085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d22828012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:04:33] local.INFO: Packet analysis {"connection_id":207085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d2"} 
[2026-10-05 03:04:33] local.INFO: Extracted packet for processing {"connection_id":207085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d2"} 
[2026-10-05 03:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:04: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-10-05 03:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534157312001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:04: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-10-05 03:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791149353000,"timestamp_ms":1791149353000,"timestamp_seconds":1791149353,"priority":1,"record_length":96,"hex_timestamp":"000001a108d22828"} 
[2026-10-05 03:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:04: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":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:04:33] 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-10-05 03:04: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-10-05 03:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534157312001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534157312001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:04:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:04:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534157312001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":207085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:04:33] local.INFO: GPS data processed {"connection_id":207085,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:04:33] local.INFO: Acknowledgment sent {"connection_id":207085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:04:37] local.INFO: TCP Data received {"connection_id":205527,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:04:37] local.INFO: Processing buffer {"connection_id":205527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:04:37] local.INFO: Packet analysis {"connection_id":205527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:04:37] local.INFO: Extracted packet for processing {"connection_id":205527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:04:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534230272001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791149638000,"timestamp_ms":1791149638000,"timestamp_seconds":1791149638,"priority":1,"record_length":96,"hex_timestamp":"000001a108d68170"} 
[2026-10-05 03:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534230272001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534230272001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:04:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:04:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534230272001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":205527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:04:37] local.INFO: GPS data processed {"connection_id":205527,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:04:37] local.INFO: Acknowledgment sent {"connection_id":205527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:04:56] local.INFO: TCP Data received {"connection_id":204087,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:04:56] local.INFO: Processing buffer {"connection_id":204087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:04:56] local.INFO: IMEI packet received {"connection_id":204087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":204087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:05:00] local.INFO: TCP Data received {"connection_id":204011,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:05:00] local.INFO: Processing buffer {"connection_id":204011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:05:00] local.INFO: IMEI packet received {"connection_id":204011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":204011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:05:01] local.INFO: TCP Data received {"connection_id":204087,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:05:01] local.INFO: Processing buffer {"connection_id":204087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:05:01] local.INFO: IMEI packet received {"connection_id":204087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":204087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:05:02] local.INFO: TCP Data received {"connection_id":204087,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:05:02] local.INFO: Processing buffer {"connection_id":204087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:05:02] local.INFO: Packet analysis {"connection_id":204087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:05:02] local.INFO: Extracted packet for processing {"connection_id":204087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:05:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534234368001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:05:02] 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-10-05 03:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791149654000,"timestamp_ms":1791149654000,"timestamp_seconds":1791149654,"priority":1,"record_length":96,"hex_timestamp":"000001a108d6bff0"} 
[2026-10-05 03:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:05: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-10-05 03: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-10-05 03:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:05: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-10-05 03:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534234368001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534234368001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:05:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:05:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534234368001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":204087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:05:02] local.INFO: GPS data processed {"connection_id":204087,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:05:02] local.INFO: Acknowledgment sent {"connection_id":204087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:05:05] local.INFO: TCP Data received {"connection_id":204011,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:05:05] local.INFO: Processing buffer {"connection_id":204011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:05:05] local.INFO: IMEI packet received {"connection_id":204011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":204011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:05:06] local.INFO: TCP Data received {"connection_id":204011,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:05:06] local.INFO: Processing buffer {"connection_id":204011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:05:06] local.INFO: Packet analysis {"connection_id":204011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:05:06] local.INFO: Extracted packet for processing {"connection_id":204011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:05:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534230272001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791149638000,"timestamp_ms":1791149638000,"timestamp_seconds":1791149638,"priority":1,"record_length":96,"hex_timestamp":"000001a108d68170"} 
[2026-10-05 03:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03: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-10-05 03:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534230272001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534230272001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:05:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:05:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534230272001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":204011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964925,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:05:06] local.INFO: GPS data processed {"connection_id":204011,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:05:06] local.INFO: Acknowledgment sent {"connection_id":204011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:05:33] local.INFO: TCP Data received {"connection_id":204087,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:05:33] local.INFO: Processing buffer {"connection_id":204087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:05:33] local.INFO: Packet analysis {"connection_id":204087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:05:33] local.INFO: Extracted packet for processing {"connection_id":204087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:05:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534234368001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:05: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-10-05 03:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791149654000,"timestamp_ms":1791149654000,"timestamp_seconds":1791149654,"priority":1,"record_length":96,"hex_timestamp":"000001a108d6bff0"} 
[2026-10-05 03:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:05:33] 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-10-05 03: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-10-05 03:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534234368001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534234368001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:05:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:05:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534234368001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":204087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:05:33] local.INFO: GPS data processed {"connection_id":204087,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:05:33] local.INFO: Acknowledgment sent {"connection_id":204087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:05:37] local.INFO: TCP Data received {"connection_id":204011,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:05:37] local.INFO: Processing buffer {"connection_id":204011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:05:37] local.INFO: Packet analysis {"connection_id":204011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:05:37] local.INFO: Extracted packet for processing {"connection_id":204011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:05:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534230272001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791149638000,"timestamp_ms":1791149638000,"timestamp_seconds":1791149638,"priority":1,"record_length":96,"hex_timestamp":"000001a108d68170"} 
[2026-10-05 03:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534230272001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534230272001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:05:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:05:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534230272001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":204011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964927,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:05:37] local.INFO: GPS data processed {"connection_id":204011,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:05:37] local.INFO: Acknowledgment sent {"connection_id":204011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:05:56] local.INFO: TCP Data received {"connection_id":204013,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:05:56] local.INFO: Processing buffer {"connection_id":204013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:05:56] local.INFO: IMEI packet received {"connection_id":204013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":204013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:06:00] local.INFO: TCP Data received {"connection_id":205528,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205528,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:06:00] local.INFO: Processing buffer {"connection_id":205528,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:06:00] local.INFO: IMEI packet received {"connection_id":205528,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":205528,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:06:01] local.INFO: TCP Data received {"connection_id":204013,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:06:01] local.INFO: Processing buffer {"connection_id":204013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:06:01] local.INFO: IMEI packet received {"connection_id":204013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":204013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:06:01] local.INFO: TCP Data received {"connection_id":204013,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:06:01] local.INFO: Processing buffer {"connection_id":204013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:06:01] local.INFO: Packet analysis {"connection_id":204013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:06:01] local.INFO: Extracted packet for processing {"connection_id":204013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:06:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534234368001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:06: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-10-05 03:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791149654000,"timestamp_ms":1791149654000,"timestamp_seconds":1791149654,"priority":1,"record_length":96,"hex_timestamp":"000001a108d6bff0"} 
[2026-10-05 03:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:06: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-10-05 03: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-10-05 03:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534234368001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534234368001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:06:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:06:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534234368001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":204013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:06:01] local.INFO: GPS data processed {"connection_id":204013,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:06:01] local.INFO: Acknowledgment sent {"connection_id":204013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:06:05] local.INFO: TCP Data received {"connection_id":205528,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205528,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:06:05] local.INFO: Processing buffer {"connection_id":205528,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:06:05] local.INFO: IMEI packet received {"connection_id":205528,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":205528,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:06:06] local.INFO: TCP Data received {"connection_id":205528,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:06:06] local.INFO: Processing buffer {"connection_id":205528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:06:06] local.INFO: Packet analysis {"connection_id":205528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:06:06] local.INFO: Extracted packet for processing {"connection_id":205528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:06:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534230272001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791149638000,"timestamp_ms":1791149638000,"timestamp_seconds":1791149638,"priority":1,"record_length":96,"hex_timestamp":"000001a108d68170"} 
[2026-10-05 03:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205528,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205528,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534230272001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534230272001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:06:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:06:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534230272001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":205528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964929,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:06:06] local.INFO: GPS data processed {"connection_id":205528,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:06:06] local.INFO: Acknowledgment sent {"connection_id":205528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:06:08] local.INFO: TCP Data received {"connection_id":204013,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:06:08] local.INFO: Processing buffer {"connection_id":204013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:06:08] local.INFO: Packet analysis {"connection_id":204013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:06:08] local.INFO: Extracted packet for processing {"connection_id":204013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:06:08] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534234368001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:06:08] 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-10-05 03:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791149654000,"timestamp_ms":1791149654000,"timestamp_seconds":1791149654,"priority":1,"record_length":96,"hex_timestamp":"000001a108d6bff0"} 
[2026-10-05 03:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:06: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-10-05 03: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-10-05 03:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534234368001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534234368001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:06:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:06:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534234368001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":204013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:06:08] local.INFO: GPS data processed {"connection_id":204013,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:06:08] local.INFO: Acknowledgment sent {"connection_id":204013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:06:37] local.INFO: TCP Data received {"connection_id":205528,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:06:37] local.INFO: Processing buffer {"connection_id":205528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:06:37] local.INFO: Packet analysis {"connection_id":205528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:06:37] local.INFO: Extracted packet for processing {"connection_id":205528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:06:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534230272001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791149638000,"timestamp_ms":1791149638000,"timestamp_seconds":1791149638,"priority":1,"record_length":96,"hex_timestamp":"000001a108d68170"} 
[2026-10-05 03:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205528,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205528,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534230272001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534230272001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:06:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:06:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534230272001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":205528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964931,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:06:37] local.INFO: GPS data processed {"connection_id":205528,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:06:37] local.INFO: Acknowledgment sent {"connection_id":205528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:06:39] local.INFO: TCP Data received {"connection_id":204013,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:06:39] local.INFO: Processing buffer {"connection_id":204013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:06:39] local.INFO: Packet analysis {"connection_id":204013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:06:39] local.INFO: Extracted packet for processing {"connection_id":204013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:06:39] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534234368001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:06:39] 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-10-05 03:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791149654000,"timestamp_ms":1791149654000,"timestamp_seconds":1791149654,"priority":1,"record_length":96,"hex_timestamp":"000001a108d6bff0"} 
[2026-10-05 03:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:06:39] 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-10-05 03: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-10-05 03:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":204013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":204013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":204013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534234368001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534234368001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:06:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:06:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534234368001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":204013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:06:39] local.INFO: GPS data processed {"connection_id":204013,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:06:39] local.INFO: Acknowledgment sent {"connection_id":204013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:06:56] local.INFO: TCP Data received {"connection_id":204014,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:06:56] local.INFO: Processing buffer {"connection_id":204014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:06:56] local.INFO: IMEI packet received {"connection_id":204014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":204014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:06:58] local.INFO: TCP Data received {"connection_id":207086,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:06:58] local.INFO: Processing buffer {"connection_id":207086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:06:58] local.INFO: IMEI packet received {"connection_id":207086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 03:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":207086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:07:01] local.INFO: TCP Data received {"connection_id":204014,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:07:01] local.INFO: Processing buffer {"connection_id":204014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:07:01] local.INFO: IMEI packet received {"connection_id":204014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":204014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:07:02] local.INFO: TCP Data received {"connection_id":204014,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:07:02] local.INFO: Processing buffer {"connection_id":204014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:07:02] local.INFO: Packet analysis {"connection_id":204014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:07:02] local.INFO: Extracted packet for processing {"connection_id":204014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:07:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534234368001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:07:02] 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-10-05 03:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791149654000,"timestamp_ms":1791149654000,"timestamp_seconds":1791149654,"priority":1,"record_length":96,"hex_timestamp":"000001a108d6bff0"} 
[2026-10-05 03:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:07: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-10-05 03: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-10-05 03:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:07: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-10-05 03:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534234368001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534234368001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:07:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:07:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534234368001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":204014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:07:02] local.INFO: GPS data processed {"connection_id":204014,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:07:02] local.INFO: Acknowledgment sent {"connection_id":204014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:07:05] local.INFO: TCP Data received {"connection_id":205529,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205529,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:07:05] local.INFO: Processing buffer {"connection_id":205529,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:07:05] local.INFO: IMEI packet received {"connection_id":205529,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":205529,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:07:10] local.INFO: TCP Data received {"connection_id":205529,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205529,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:07:10] local.INFO: Processing buffer {"connection_id":205529,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:07:10] local.INFO: IMEI packet received {"connection_id":205529,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":205529,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:07:11] local.INFO: TCP Data received {"connection_id":205529,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:07:11] local.INFO: Processing buffer {"connection_id":205529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:07:11] local.INFO: Packet analysis {"connection_id":205529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:07:11] local.INFO: Extracted packet for processing {"connection_id":205529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:07:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534230272001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791149638000,"timestamp_ms":1791149638000,"timestamp_seconds":1791149638,"priority":1,"record_length":96,"hex_timestamp":"000001a108d68170"} 
[2026-10-05 03:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534230272001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534230272001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:07:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534230272001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":205529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:07:11] local.INFO: GPS data processed {"connection_id":205529,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:07:11] local.INFO: Acknowledgment sent {"connection_id":205529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:07:16] local.INFO: TCP Data received {"connection_id":205529,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:07:16] local.INFO: Processing buffer {"connection_id":205529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:07:16] local.INFO: Packet analysis {"connection_id":205529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:07:16] local.INFO: Extracted packet for processing {"connection_id":205529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:07:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534230272001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791149638000,"timestamp_ms":1791149638000,"timestamp_seconds":1791149638,"priority":1,"record_length":96,"hex_timestamp":"000001a108d68170"} 
[2026-10-05 03:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534230272001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534230272001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:07:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:07:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534230272001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":205529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:07:16] local.INFO: GPS data processed {"connection_id":205529,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:07:16] local.INFO: Acknowledgment sent {"connection_id":205529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:07:33] local.INFO: TCP Data received {"connection_id":204014,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:07:33] local.INFO: Processing buffer {"connection_id":204014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:07:33] local.INFO: Packet analysis {"connection_id":204014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:07:33] local.INFO: Extracted packet for processing {"connection_id":204014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534234368001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:07: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-10-05 03:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791149654000,"timestamp_ms":1791149654000,"timestamp_seconds":1791149654,"priority":1,"record_length":96,"hex_timestamp":"000001a108d6bff0"} 
[2026-10-05 03:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:07:33] 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-10-05 03: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-10-05 03:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534234368001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534234368001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:07:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534234368001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":204014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:07:33] local.INFO: GPS data processed {"connection_id":204014,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:07:33] local.INFO: Acknowledgment sent {"connection_id":204014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:07:43] local.INFO: TCP Data received {"connection_id":204015,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204015,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:07:43] local.INFO: Processing buffer {"connection_id":204015,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:07:43] local.INFO: IMEI packet received {"connection_id":204015,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 03:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":204015,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:07:56] local.INFO: TCP Data received {"connection_id":204088,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:07:56] local.INFO: Processing buffer {"connection_id":204088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:07:56] local.INFO: IMEI packet received {"connection_id":204088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":204088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:08:00] local.INFO: TCP Data received {"connection_id":204016,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:08:00] local.INFO: Processing buffer {"connection_id":204016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:08:00] local.INFO: IMEI packet received {"connection_id":204016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":204016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:08:01] local.INFO: TCP Data received {"connection_id":204088,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:08:01] local.INFO: Processing buffer {"connection_id":204088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:08:01] local.INFO: IMEI packet received {"connection_id":204088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":204088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:08:01] local.INFO: TCP Data received {"connection_id":204088,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:08:01] local.INFO: Processing buffer {"connection_id":204088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:08:01] local.INFO: Packet analysis {"connection_id":204088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:08:01] local.INFO: Extracted packet for processing {"connection_id":204088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:08:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534234368001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:08: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-10-05 03:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791149654000,"timestamp_ms":1791149654000,"timestamp_seconds":1791149654,"priority":1,"record_length":96,"hex_timestamp":"000001a108d6bff0"} 
[2026-10-05 03:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03: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-10-05 03: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-10-05 03:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534234368001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534234368001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:08:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:08:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534234368001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":204088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:08:02] local.INFO: GPS data processed {"connection_id":204088,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:08:02] local.INFO: Acknowledgment sent {"connection_id":204088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:08:05] local.INFO: TCP Data received {"connection_id":204016,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:08:05] local.INFO: Processing buffer {"connection_id":204016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:08:05] local.INFO: IMEI packet received {"connection_id":204016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":204016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:08:06] local.INFO: TCP Data received {"connection_id":204016,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:08:06] local.INFO: Processing buffer {"connection_id":204016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:08:06] local.INFO: Packet analysis {"connection_id":204016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:08:06] local.INFO: Extracted packet for processing {"connection_id":204016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:08:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534230272001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791149638000,"timestamp_ms":1791149638000,"timestamp_seconds":1791149638,"priority":1,"record_length":96,"hex_timestamp":"000001a108d68170"} 
[2026-10-05 03:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534230272001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534230272001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:08:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:08:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534230272001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":204016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:08:06] local.INFO: GPS data processed {"connection_id":204016,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:08:06] local.INFO: Acknowledgment sent {"connection_id":204016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:08:32] local.INFO: TCP Data received {"connection_id":204088,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:08:32] local.INFO: Processing buffer {"connection_id":204088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:08:32] local.INFO: Packet analysis {"connection_id":204088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:08:32] local.INFO: Extracted packet for processing {"connection_id":204088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534234368001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:08: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-10-05 03:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791149654000,"timestamp_ms":1791149654000,"timestamp_seconds":1791149654,"priority":1,"record_length":96,"hex_timestamp":"000001a108d6bff0"} 
[2026-10-05 03:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:08: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-10-05 03: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-10-05 03:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534234368001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534234368001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:08:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:08:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534234368001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":204088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:08:32] local.INFO: GPS data processed {"connection_id":204088,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:08:32] local.INFO: Acknowledgment sent {"connection_id":204088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:08:37] local.INFO: TCP Data received {"connection_id":204016,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:08:37] local.INFO: Processing buffer {"connection_id":204016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d68170012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:08:37] local.INFO: Packet analysis {"connection_id":204016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:08:37] local.INFO: Extracted packet for processing {"connection_id":204016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:08:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534230272001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791149638000,"timestamp_ms":1791149638000,"timestamp_seconds":1791149638,"priority":1,"record_length":96,"hex_timestamp":"000001a108d68170"} 
[2026-10-05 03:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534230272001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534230272001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:08:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:08:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534230272001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":204016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964940,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:08:37] local.INFO: GPS data processed {"connection_id":204016,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:08:37] local.INFO: Acknowledgment sent {"connection_id":204016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:08:56] local.INFO: TCP Data received {"connection_id":205530,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:08:56] local.INFO: Processing buffer {"connection_id":205530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:08:56] local.INFO: IMEI packet received {"connection_id":205530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":205530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:09:00] local.INFO: TCP Data received {"connection_id":204091,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:09:00] local.INFO: Processing buffer {"connection_id":204091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:09:00] local.INFO: IMEI packet received {"connection_id":204091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":204091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:09:01] local.INFO: TCP Data received {"connection_id":204091,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:09:01] local.INFO: Processing buffer {"connection_id":204091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:09:01] local.INFO: IMEI packet received {"connection_id":204091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":204091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:09:05] local.INFO: TCP Data received {"connection_id":204091,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:09:05] local.INFO: Processing buffer {"connection_id":204091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:09:05] local.INFO: IMEI packet received {"connection_id":204091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":204091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:09:06] local.INFO: TCP Data received {"connection_id":205530,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:09:06] local.INFO: Processing buffer {"connection_id":205530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:09:06] local.INFO: IMEI packet received {"connection_id":205530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":205530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:09:06] local.INFO: TCP Data received {"connection_id":204091,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:09:06] local.INFO: Processing buffer {"connection_id":204091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:09:06] local.INFO: Packet analysis {"connection_id":204091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:09:06] local.INFO: Extracted packet for processing {"connection_id":204091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534307328001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791149939000,"timestamp_ms":1791149939000,"timestamp_seconds":1791149939,"priority":1,"record_length":96,"hex_timestamp":"000001a108db1938"} 
[2026-10-05 03:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:09:06] 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-10-05 03:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534307328001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534307328001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:09:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:09:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534307328001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":204091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964941,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:09:06] local.INFO: GPS data processed {"connection_id":204091,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:09:06] local.INFO: Acknowledgment sent {"connection_id":204091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:09:08] local.INFO: TCP Data received {"connection_id":205530,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:09:08] local.INFO: Processing buffer {"connection_id":205530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:09:08] local.INFO: Packet analysis {"connection_id":205530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:09:08] local.INFO: Extracted packet for processing {"connection_id":205530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:09:08] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534234368001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:09:08] 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-10-05 03:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791149654000,"timestamp_ms":1791149654000,"timestamp_seconds":1791149654,"priority":1,"record_length":96,"hex_timestamp":"000001a108d6bff0"} 
[2026-10-05 03:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:09: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-10-05 03:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534234368001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534234368001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:09:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:09:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534234368001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":205530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:09:08] local.INFO: GPS data processed {"connection_id":205530,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:09:08] local.INFO: Acknowledgment sent {"connection_id":205530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:09:37] local.INFO: TCP Data received {"connection_id":204091,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:09:37] local.INFO: Processing buffer {"connection_id":204091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:09:37] local.INFO: Packet analysis {"connection_id":204091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:09:37] local.INFO: Extracted packet for processing {"connection_id":204091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:09:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534307328001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791149939000,"timestamp_ms":1791149939000,"timestamp_seconds":1791149939,"priority":1,"record_length":96,"hex_timestamp":"000001a108db1938"} 
[2026-10-05 03:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:09:37] 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-10-05 03:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534307328001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534307328001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:09:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:09:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534307328001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":204091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964943,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:09:37] local.INFO: GPS data processed {"connection_id":204091,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:09:37] local.INFO: Acknowledgment sent {"connection_id":204091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:09:40] local.INFO: TCP Data received {"connection_id":205530,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:09:40] local.INFO: Processing buffer {"connection_id":205530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108d6bff0012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:09:40] local.INFO: Packet analysis {"connection_id":205530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:09:40] local.INFO: Extracted packet for processing {"connection_id":205530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108d6"} 
[2026-10-05 03:09:40] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534234368001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:09:40] 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-10-05 03:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791149654000,"timestamp_ms":1791149654000,"timestamp_seconds":1791149654,"priority":1,"record_length":96,"hex_timestamp":"000001a108d6bff0"} 
[2026-10-05 03:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:09:40] 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-10-05 03:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":205530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":205530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":205530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534234368001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534234368001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:09:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:09:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534234368001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":205530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:09:40] local.INFO: GPS data processed {"connection_id":205530,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:09:40] local.INFO: Acknowledgment sent {"connection_id":205530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:09:56] local.INFO: TCP Data received {"connection_id":207087,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:09:56] local.INFO: Processing buffer {"connection_id":207087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:09:56] local.INFO: IMEI packet received {"connection_id":207087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":207087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:10:00] local.INFO: TCP Data received {"connection_id":207088,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:10:00] local.INFO: Processing buffer {"connection_id":207088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:10:00] local.INFO: IMEI packet received {"connection_id":207088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":207088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:10:01] local.INFO: TCP Data received {"connection_id":207087,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:10:01] local.INFO: Processing buffer {"connection_id":207087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:10:01] local.INFO: IMEI packet received {"connection_id":207087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":207087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:10:01] local.INFO: TCP Data received {"connection_id":207087,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:10:01] local.INFO: Processing buffer {"connection_id":207087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:10:01] local.INFO: Packet analysis {"connection_id":207087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:10:01] local.INFO: Extracted packet for processing {"connection_id":207087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534311424001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:10: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-10-05 03:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791149955000,"timestamp_ms":1791149955000,"timestamp_seconds":1791149955,"priority":1,"record_length":96,"hex_timestamp":"000001a108db57b8"} 
[2026-10-05 03:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:10:01] 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-10-05 03: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 03:10:01] 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-10-05 03: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-10-05 03:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534311424001,"66":25593,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534311424001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:10:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:10:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534311424001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":207087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:10:02] local.INFO: GPS data processed {"connection_id":207087,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:10:02] local.INFO: Acknowledgment sent {"connection_id":207087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:10:05] local.INFO: TCP Data received {"connection_id":207088,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:10:05] local.INFO: Processing buffer {"connection_id":207088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:10:05] local.INFO: IMEI packet received {"connection_id":207088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":207088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:10:06] local.INFO: TCP Data received {"connection_id":207088,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:10:06] local.INFO: Processing buffer {"connection_id":207088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:10:06] local.INFO: Packet analysis {"connection_id":207088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:10:06] local.INFO: Extracted packet for processing {"connection_id":207088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534307328001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791149939000,"timestamp_ms":1791149939000,"timestamp_seconds":1791149939,"priority":1,"record_length":96,"hex_timestamp":"000001a108db1938"} 
[2026-10-05 03:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:10:06] 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-10-05 03:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534307328001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534307328001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:10:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:10:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534307328001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":207088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:10:06] local.INFO: GPS data processed {"connection_id":207088,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:10:06] local.INFO: Acknowledgment sent {"connection_id":207088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:10:34] local.INFO: TCP Data received {"connection_id":207087,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:10:34] local.INFO: Processing buffer {"connection_id":207087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:10:34] local.INFO: Packet analysis {"connection_id":207087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:10:34] local.INFO: Extracted packet for processing {"connection_id":207087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:10:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534311424001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:10:34] 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-10-05 03:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791149955000,"timestamp_ms":1791149955000,"timestamp_seconds":1791149955,"priority":1,"record_length":96,"hex_timestamp":"000001a108db57b8"} 
[2026-10-05 03:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:10:34] 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-10-05 03: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 03:10:34] 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-10-05 03: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-10-05 03:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":207087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":207087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":207087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534311424001,"66":25593,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534311424001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:10:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:10:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534311424001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":207087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:10:34] local.INFO: GPS data processed {"connection_id":207087,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:10:34] local.INFO: Acknowledgment sent {"connection_id":207087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:10:37] local.INFO: TCP Data received {"connection_id":207088,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:10:37] local.INFO: Processing buffer {"connection_id":207088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:10:37] local.INFO: Packet analysis {"connection_id":207088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:10:37] local.INFO: Extracted packet for processing {"connection_id":207088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:10:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534307328001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791149939000,"timestamp_ms":1791149939000,"timestamp_seconds":1791149939,"priority":1,"record_length":96,"hex_timestamp":"000001a108db1938"} 
[2026-10-05 03:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:10:37] 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-10-05 03:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534307328001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534307328001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:10:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:10:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534307328001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":207088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:10:37] local.INFO: GPS data processed {"connection_id":207088,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:10:37] local.INFO: Acknowledgment sent {"connection_id":207088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:11:00] local.INFO: TCP Data received {"connection_id":204093,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204093,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:11:00] local.INFO: Processing buffer {"connection_id":204093,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:11:00] local.INFO: IMEI packet received {"connection_id":204093,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":204093,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:11:01] local.INFO: TCP Data received {"connection_id":204092,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:11:01] local.INFO: Processing buffer {"connection_id":204092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:11:01] local.INFO: IMEI packet received {"connection_id":204092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":204092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:11:05] local.INFO: TCP Data received {"connection_id":204093,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204093,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:11:05] local.INFO: Processing buffer {"connection_id":204093,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:11:05] local.INFO: IMEI packet received {"connection_id":204093,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":204093,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:11:06] local.INFO: TCP Data received {"connection_id":204092,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:11:06] local.INFO: Processing buffer {"connection_id":204092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:11:06] local.INFO: IMEI packet received {"connection_id":204092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":204092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:11:06] local.INFO: TCP Data received {"connection_id":204093,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:11:06] local.INFO: Processing buffer {"connection_id":204093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:11:06] local.INFO: Packet analysis {"connection_id":204093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:11:06] local.INFO: Extracted packet for processing {"connection_id":204093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:11:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534307328001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791149939000,"timestamp_ms":1791149939000,"timestamp_seconds":1791149939,"priority":1,"record_length":96,"hex_timestamp":"000001a108db1938"} 
[2026-10-05 03:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:11:06] 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-10-05 03: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-10-05 03:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534307328001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534307328001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:11:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:11:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534307328001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":204093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964949,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:11:06] local.INFO: GPS data processed {"connection_id":204093,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:11:06] local.INFO: Acknowledgment sent {"connection_id":204093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:11:06] local.INFO: TCP Data received {"connection_id":204092,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:11:06] local.INFO: Processing buffer {"connection_id":204092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:11:06] local.INFO: Packet analysis {"connection_id":204092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:11:06] local.INFO: Extracted packet for processing {"connection_id":204092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:11:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534311424001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:11:06] 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-10-05 03:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791149955000,"timestamp_ms":1791149955000,"timestamp_seconds":1791149955,"priority":1,"record_length":96,"hex_timestamp":"000001a108db57b8"} 
[2026-10-05 03:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:11:06] 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-10-05 03: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 03:11:06] 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-10-05 03: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-10-05 03:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534311424001,"66":25593,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534311424001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:11:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:11:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534311424001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":204092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:11:06] local.INFO: GPS data processed {"connection_id":204092,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:11:06] local.INFO: Acknowledgment sent {"connection_id":204092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:11:11] local.INFO: TCP Data received {"connection_id":204092,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:11:11] local.INFO: Processing buffer {"connection_id":204092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:11:11] local.INFO: Packet analysis {"connection_id":204092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:11:11] local.INFO: Extracted packet for processing {"connection_id":204092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:11:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534311424001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:11:11] 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-10-05 03:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791149955000,"timestamp_ms":1791149955000,"timestamp_seconds":1791149955,"priority":1,"record_length":96,"hex_timestamp":"000001a108db57b8"} 
[2026-10-05 03:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:11:11] 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-10-05 03: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 03:11:11] 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-10-05 03: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-10-05 03:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534311424001,"66":25593,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534311424001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:11:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534311424001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":204092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:11:11] local.INFO: GPS data processed {"connection_id":204092,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:11:11] local.INFO: Acknowledgment sent {"connection_id":204092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:11:37] local.INFO: TCP Data received {"connection_id":204093,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:11:37] local.INFO: Processing buffer {"connection_id":204093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:11:37] local.INFO: Packet analysis {"connection_id":204093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:11:37] local.INFO: Extracted packet for processing {"connection_id":204093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:11:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534307328001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791149939000,"timestamp_ms":1791149939000,"timestamp_seconds":1791149939,"priority":1,"record_length":96,"hex_timestamp":"000001a108db1938"} 
[2026-10-05 03:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:11:37] 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-10-05 03:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534307328001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534307328001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:11:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:11:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534307328001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":204093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:11:37] local.INFO: GPS data processed {"connection_id":204093,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:11:37] local.INFO: Acknowledgment sent {"connection_id":204093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:11:56] local.INFO: TCP Data received {"connection_id":204018,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:11:56] local.INFO: Processing buffer {"connection_id":204018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:11:56] local.INFO: IMEI packet received {"connection_id":204018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":204018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:12:00] local.INFO: TCP Data received {"connection_id":205532,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205532,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:12:00] local.INFO: Processing buffer {"connection_id":205532,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:12:00] local.INFO: IMEI packet received {"connection_id":205532,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":205532,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:12:01] local.INFO: TCP Data received {"connection_id":204018,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:12:01] local.INFO: Processing buffer {"connection_id":204018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:12:01] local.INFO: IMEI packet received {"connection_id":204018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":204018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:12:02] local.INFO: TCP Data received {"connection_id":204018,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:12:02] local.INFO: Processing buffer {"connection_id":204018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:12:02] local.INFO: Packet analysis {"connection_id":204018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:12:02] local.INFO: Extracted packet for processing {"connection_id":204018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:12:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534311424001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:12:02] 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-10-05 03:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791149955000,"timestamp_ms":1791149955000,"timestamp_seconds":1791149955,"priority":1,"record_length":96,"hex_timestamp":"000001a108db57b8"} 
[2026-10-05 03:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:12: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-10-05 03: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 03:12:02] 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-10-05 03: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-10-05 03:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:12: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-10-05 03:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534311424001,"66":25593,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534311424001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:12:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:12:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534311424001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":204018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:12:02] local.INFO: GPS data processed {"connection_id":204018,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:12:02] local.INFO: Acknowledgment sent {"connection_id":204018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:12:05] local.INFO: TCP Data received {"connection_id":205532,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205532,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:12:05] local.INFO: Processing buffer {"connection_id":205532,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:12:05] local.INFO: IMEI packet received {"connection_id":205532,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":205532,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:12:07] local.INFO: TCP Data received {"connection_id":205532,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:12:07] local.INFO: Processing buffer {"connection_id":205532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:12:07] local.INFO: Packet analysis {"connection_id":205532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:12:07] local.INFO: Extracted packet for processing {"connection_id":205532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:12:07] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534307328001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791149939000,"timestamp_ms":1791149939000,"timestamp_seconds":1791149939,"priority":1,"record_length":96,"hex_timestamp":"000001a108db1938"} 
[2026-10-05 03:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03: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-10-05 03:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534307328001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534307328001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:12:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:12:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534307328001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":205532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964954,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:12:07] local.INFO: GPS data processed {"connection_id":205532,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:12:07] local.INFO: Acknowledgment sent {"connection_id":205532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:12:32] local.INFO: TCP Data received {"connection_id":204018,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:12:32] local.INFO: Processing buffer {"connection_id":204018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:12:32] local.INFO: Packet analysis {"connection_id":204018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:12:32] local.INFO: Extracted packet for processing {"connection_id":204018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:12:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 03:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534311424001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:12: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-10-05 03:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791149955000,"timestamp_ms":1791149955000,"timestamp_seconds":1791149955,"priority":1,"record_length":96,"hex_timestamp":"000001a108db57b8"} 
[2026-10-05 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-10-05 03:12:32] 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-10-05 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 03:12:32] 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-10-05 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-10-05 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-10-05 03:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534311424001,"66":25593,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534311424001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:12:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:12:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534311424001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":204018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:12:33] local.INFO: GPS data processed {"connection_id":204018,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:12:33] local.INFO: Acknowledgment sent {"connection_id":204018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:12:38] local.INFO: TCP Data received {"connection_id":205532,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:12:38] local.INFO: Processing buffer {"connection_id":205532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:12:38] local.INFO: Packet analysis {"connection_id":205532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:12:38] local.INFO: Extracted packet for processing {"connection_id":205532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:12:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534307328001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791149939000,"timestamp_ms":1791149939000,"timestamp_seconds":1791149939,"priority":1,"record_length":96,"hex_timestamp":"000001a108db1938"} 
[2026-10-05 03:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:12:38] 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-10-05 03: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-10-05 03:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534307328001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534307328001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:12:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:12:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534307328001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":205532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:12:38] local.INFO: GPS data processed {"connection_id":205532,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:12:38] local.INFO: Acknowledgment sent {"connection_id":205532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:12:56] local.INFO: TCP Data received {"connection_id":204095,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:12:56] local.INFO: Processing buffer {"connection_id":204095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:12:56] local.INFO: IMEI packet received {"connection_id":204095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":204095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:12:59] local.INFO: TCP Data received {"connection_id":204094,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204094,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:12:59] local.INFO: Processing buffer {"connection_id":204094,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:12:59] local.INFO: IMEI packet received {"connection_id":204094,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 03:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":204094,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:13:01] local.INFO: TCP Data received {"connection_id":204095,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:13:01] local.INFO: Processing buffer {"connection_id":204095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:13:01] local.INFO: IMEI packet received {"connection_id":204095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":204095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:13:02] local.INFO: TCP Data received {"connection_id":204095,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:13:02] local.INFO: Processing buffer {"connection_id":204095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:13:02] local.INFO: Packet analysis {"connection_id":204095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:13:02] local.INFO: Extracted packet for processing {"connection_id":204095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:13:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534311424001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:13:02] 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-10-05 03:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791149955000,"timestamp_ms":1791149955000,"timestamp_seconds":1791149955,"priority":1,"record_length":96,"hex_timestamp":"000001a108db57b8"} 
[2026-10-05 03:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03: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-10-05 03:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 03:13:02] 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-10-05 03: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-10-05 03:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534311424001,"66":25593,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534311424001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:13:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:13:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534311424001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":204095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:13:02] local.INFO: GPS data processed {"connection_id":204095,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:13:02] local.INFO: Acknowledgment sent {"connection_id":204095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:13:05] local.INFO: TCP Data received {"connection_id":205533,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:13:05] local.INFO: Processing buffer {"connection_id":205533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:13:05] local.INFO: IMEI packet received {"connection_id":205533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":205533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:13:10] local.INFO: TCP Data received {"connection_id":205533,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:13:10] local.INFO: Processing buffer {"connection_id":205533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:13:10] local.INFO: IMEI packet received {"connection_id":205533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":205533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:13:11] local.INFO: TCP Data received {"connection_id":205533,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:13:11] local.INFO: Processing buffer {"connection_id":205533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:13:11] local.INFO: Packet analysis {"connection_id":205533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:13:11] local.INFO: Extracted packet for processing {"connection_id":205533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:13:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534307328001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791149939000,"timestamp_ms":1791149939000,"timestamp_seconds":1791149939,"priority":1,"record_length":96,"hex_timestamp":"000001a108db1938"} 
[2026-10-05 03:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:13:11] 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-10-05 03:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534307328001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534307328001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:13:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:13:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534307328001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":205533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:13:11] local.INFO: GPS data processed {"connection_id":205533,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:13:11] local.INFO: Acknowledgment sent {"connection_id":205533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:13:16] local.INFO: TCP Data received {"connection_id":205533,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:13:16] local.INFO: Processing buffer {"connection_id":205533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108db1938012d7c2ac005dac8a0000000bf26..."} 
[2026-10-05 03:13:16] local.INFO: Packet analysis {"connection_id":205533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:13:16] local.INFO: Extracted packet for processing {"connection_id":205533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:13:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534307328001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791149939000,"timestamp_ms":1791149939000,"timestamp_seconds":1791149939,"priority":1,"record_length":96,"hex_timestamp":"000001a108db1938"} 
[2026-10-05 03:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:13:16] 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-10-05 03:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534307328001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534307328001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:13:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:13:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534307328001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":205533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964959,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:13:16] local.INFO: GPS data processed {"connection_id":205533,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:13:16] local.INFO: Acknowledgment sent {"connection_id":205533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:13:32] local.INFO: TCP Data received {"connection_id":204095,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:13:32] local.INFO: Processing buffer {"connection_id":204095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:13:32] local.INFO: Packet analysis {"connection_id":204095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:13:32] local.INFO: Extracted packet for processing {"connection_id":204095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:13:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534311424001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:13: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-10-05 03:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791149955000,"timestamp_ms":1791149955000,"timestamp_seconds":1791149955,"priority":1,"record_length":96,"hex_timestamp":"000001a108db57b8"} 
[2026-10-05 03:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:13:32] 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-10-05 03: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 03:13:32] 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-10-05 03: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-10-05 03:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534311424001,"66":25593,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534311424001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:13:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:13:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534311424001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":204095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:13:32] local.INFO: GPS data processed {"connection_id":204095,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:13:32] local.INFO: Acknowledgment sent {"connection_id":204095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:13:43] local.INFO: TCP Data received {"connection_id":205534,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205534,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:13:43] local.INFO: Processing buffer {"connection_id":205534,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:13:43] local.INFO: IMEI packet received {"connection_id":205534,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 03:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":205534,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:13:56] local.INFO: TCP Data received {"connection_id":204096,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:13:56] local.INFO: Processing buffer {"connection_id":204096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:13:56] local.INFO: IMEI packet received {"connection_id":204096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":204096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:14:00] local.INFO: TCP Data received {"connection_id":204019,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:14:00] local.INFO: Processing buffer {"connection_id":204019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:14:00] local.INFO: IMEI packet received {"connection_id":204019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":204019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:14:01] local.INFO: TCP Data received {"connection_id":204096,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:14:01] local.INFO: Processing buffer {"connection_id":204096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:14:01] local.INFO: IMEI packet received {"connection_id":204096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":204096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:14:01] local.INFO: TCP Data received {"connection_id":204019,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:14:01] local.INFO: Processing buffer {"connection_id":204019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:14:01] local.INFO: IMEI packet received {"connection_id":204019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":204019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:14:01] local.INFO: TCP Data received {"connection_id":204096,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:14:01] local.INFO: Processing buffer {"connection_id":204096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:14:01] local.INFO: Packet analysis {"connection_id":204096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:14:01] local.INFO: Extracted packet for processing {"connection_id":204096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:14:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534311424001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:14: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-10-05 03:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791149955000,"timestamp_ms":1791149955000,"timestamp_seconds":1791149955,"priority":1,"record_length":96,"hex_timestamp":"000001a108db57b8"} 
[2026-10-05 03:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:14:01] 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-10-05 03: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 03:14:01] 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-10-05 03: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-10-05 03:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534311424001,"66":25593,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534311424001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:14:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:14:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534311424001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":204096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:14:01] local.INFO: GPS data processed {"connection_id":204096,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:14:01] local.INFO: Acknowledgment sent {"connection_id":204096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:14:05] local.INFO: TCP Data received {"connection_id":204019,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:14:05] local.INFO: Processing buffer {"connection_id":204019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:14:05] local.INFO: IMEI packet received {"connection_id":204019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":204019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:14:06] local.INFO: TCP Data received {"connection_id":204019,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:14:06] local.INFO: Processing buffer {"connection_id":204019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:14:06] local.INFO: Packet analysis {"connection_id":204019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:14:06] local.INFO: Extracted packet for processing {"connection_id":204019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:14:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":35,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534384384001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791150239000,"timestamp_ms":1791150239000,"timestamp_seconds":1791150239,"priority":1,"record_length":96,"hex_timestamp":"000001a108dfad18"} 
[2026-10-05 03:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:14:06] 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-10-05 03:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534384384001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534384384001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:14:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:14:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534384384001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":204019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964962,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:14:06] local.INFO: GPS data processed {"connection_id":204019,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:14:06] local.INFO: Acknowledgment sent {"connection_id":204019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:14:32] local.INFO: TCP Data received {"connection_id":204096,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:14:32] local.INFO: Processing buffer {"connection_id":204096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108db57b8012d7f91c005afd9f0000e010127..."} 
[2026-10-05 03:14:32] local.INFO: Packet analysis {"connection_id":204096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:14:32] local.INFO: Extracted packet for processing {"connection_id":204096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108db"} 
[2026-10-05 03:14:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534311424001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:14: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-10-05 03:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791149955000,"timestamp_ms":1791149955000,"timestamp_seconds":1791149955,"priority":1,"record_length":96,"hex_timestamp":"000001a108db57b8"} 
[2026-10-05 03:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:14:32] 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-10-05 03:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 03:14:32] 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-10-05 03:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534311424001,"66":25593,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534311424001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:14:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:14:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534311424001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":204096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:14:32] local.INFO: GPS data processed {"connection_id":204096,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:14:32] local.INFO: Acknowledgment sent {"connection_id":204096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:14:37] local.INFO: TCP Data received {"connection_id":204019,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:14:37] local.INFO: Processing buffer {"connection_id":204019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:14:37] local.INFO: Packet analysis {"connection_id":204019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:14:37] local.INFO: Extracted packet for processing {"connection_id":204019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:14:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":35,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534384384001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791150239000,"timestamp_ms":1791150239000,"timestamp_seconds":1791150239,"priority":1,"record_length":96,"hex_timestamp":"000001a108dfad18"} 
[2026-10-05 03:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:14:37] 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-10-05 03:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534384384001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534384384001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:14:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:14:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534384384001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":204019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964964,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:14:37] local.INFO: GPS data processed {"connection_id":204019,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:14:37] local.INFO: Acknowledgment sent {"connection_id":204019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:14:56] local.INFO: TCP Data received {"connection_id":207090,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:14:56] local.INFO: Processing buffer {"connection_id":207090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:14:56] local.INFO: IMEI packet received {"connection_id":207090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":207090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:15:00] local.INFO: TCP Data received {"connection_id":204021,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204021,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:15:00] local.INFO: Processing buffer {"connection_id":204021,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:15:00] local.INFO: IMEI packet received {"connection_id":204021,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":204021,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:15:03] local.INFO: TCP Data received {"connection_id":207090,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:15:03] local.INFO: Processing buffer {"connection_id":207090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:15:03] local.INFO: IMEI packet received {"connection_id":207090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":207090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:15:04] local.INFO: TCP Data received {"connection_id":207090,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:15:04] local.INFO: Processing buffer {"connection_id":207090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:15:04] local.INFO: Packet analysis {"connection_id":207090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:15:04] local.INFO: Extracted packet for processing {"connection_id":207090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:15:04] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534388480001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:15: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-10-05 03:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791150256000,"timestamp_ms":1791150256000,"timestamp_seconds":1791150256,"priority":1,"record_length":96,"hex_timestamp":"000001a108dfef80"} 
[2026-10-05 03:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:15: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-10-05 03:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 03:15: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-10-05 03: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-10-05 03:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":207090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":207090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":207090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534388480001,"66":25604,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534388480001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:15:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:15:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534388480001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":207090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:15:04] local.INFO: GPS data processed {"connection_id":207090,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:15:04] local.INFO: Acknowledgment sent {"connection_id":207090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:15:05] local.INFO: TCP Data received {"connection_id":204021,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204021,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:15:05] local.INFO: Processing buffer {"connection_id":204021,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:15:05] local.INFO: IMEI packet received {"connection_id":204021,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":204021,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:15:06] local.INFO: TCP Data received {"connection_id":204021,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:15:06] local.INFO: Processing buffer {"connection_id":204021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:15:06] local.INFO: Packet analysis {"connection_id":204021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:15:06] local.INFO: Extracted packet for processing {"connection_id":204021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:15:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":35,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 03:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534384384001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791150239000,"timestamp_ms":1791150239000,"timestamp_seconds":1791150239,"priority":1,"record_length":96,"hex_timestamp":"000001a108dfad18"} 
[2026-10-05 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-10-05 03:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:15:06] 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-10-05 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-10-05 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-10-05 03:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204021,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204021,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534384384001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534384384001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:15:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:15:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534384384001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":204021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:15:06] local.INFO: GPS data processed {"connection_id":204021,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:15:06] local.INFO: Acknowledgment sent {"connection_id":204021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:15:35] local.INFO: TCP Data received {"connection_id":207090,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:15:35] local.INFO: Processing buffer {"connection_id":207090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:15:35] local.INFO: Packet analysis {"connection_id":207090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:15:35] local.INFO: Extracted packet for processing {"connection_id":207090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:15:35] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534388480001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:15: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-10-05 03:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791150256000,"timestamp_ms":1791150256000,"timestamp_seconds":1791150256,"priority":1,"record_length":96,"hex_timestamp":"000001a108dfef80"} 
[2026-10-05 03:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:15:35] 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-10-05 03: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 03:15:35] 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-10-05 03: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-10-05 03:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":207090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":207090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":207090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534388480001,"66":25604,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534388480001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:15:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:15:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534388480001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":207090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:15:35] local.INFO: GPS data processed {"connection_id":207090,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:15:35] local.INFO: Acknowledgment sent {"connection_id":207090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:15:37] local.INFO: TCP Data received {"connection_id":204021,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:15:37] local.INFO: Processing buffer {"connection_id":204021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:15:37] local.INFO: Packet analysis {"connection_id":204021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:15:37] local.INFO: Extracted packet for processing {"connection_id":204021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:15:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":35,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534384384001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791150239000,"timestamp_ms":1791150239000,"timestamp_seconds":1791150239,"priority":1,"record_length":96,"hex_timestamp":"000001a108dfad18"} 
[2026-10-05 03:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:15:37] 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-10-05 03:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204021,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204021,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534384384001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534384384001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:15:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:15:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534384384001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":204021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964968,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:15:37] local.INFO: GPS data processed {"connection_id":204021,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:15:37] local.INFO: Acknowledgment sent {"connection_id":204021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:15:56] local.INFO: TCP Data received {"connection_id":205537,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:15:56] local.INFO: Processing buffer {"connection_id":205537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:15:56] local.INFO: IMEI packet received {"connection_id":205537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":205537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:16:00] local.INFO: TCP Data received {"connection_id":204022,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:16:00] local.INFO: Processing buffer {"connection_id":204022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:16:00] local.INFO: IMEI packet received {"connection_id":204022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":204022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:16:01] local.INFO: TCP Data received {"connection_id":205537,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:16:01] local.INFO: Processing buffer {"connection_id":205537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:16:01] local.INFO: IMEI packet received {"connection_id":205537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":205537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:16:02] local.INFO: TCP Data received {"connection_id":205537,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:16:02] local.INFO: Processing buffer {"connection_id":205537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:16:02] local.INFO: Packet analysis {"connection_id":205537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:16:02] local.INFO: Extracted packet for processing {"connection_id":205537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:16:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534388480001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:16: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-10-05 03:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791150256000,"timestamp_ms":1791150256000,"timestamp_seconds":1791150256,"priority":1,"record_length":96,"hex_timestamp":"000001a108dfef80"} 
[2026-10-05 03:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:16: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-10-05 03: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 03:16: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-10-05 03: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-10-05 03:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:16: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-10-05 03:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534388480001,"66":25604,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534388480001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:16:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:16:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534388480001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":205537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:16:02] local.INFO: GPS data processed {"connection_id":205537,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:16:02] local.INFO: Acknowledgment sent {"connection_id":205537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:16:05] local.INFO: TCP Data received {"connection_id":204022,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:16:05] local.INFO: Processing buffer {"connection_id":204022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:16:05] local.INFO: IMEI packet received {"connection_id":204022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":204022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:16:06] local.INFO: TCP Data received {"connection_id":205537,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:16:06] local.INFO: Processing buffer {"connection_id":205537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:16:06] local.INFO: Packet analysis {"connection_id":205537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:16:06] local.INFO: Extracted packet for processing {"connection_id":205537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:16:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534388480001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:16: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-10-05 03:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791150256000,"timestamp_ms":1791150256000,"timestamp_seconds":1791150256,"priority":1,"record_length":96,"hex_timestamp":"000001a108dfef80"} 
[2026-10-05 03:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:16:06] 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-10-05 03:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 03:16:06] 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-10-05 03:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534388480001,"66":25604,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534388480001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:16:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:16:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534388480001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":205537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:16:06] local.INFO: GPS data processed {"connection_id":205537,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:16:06] local.INFO: Acknowledgment sent {"connection_id":205537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:16:06] local.INFO: TCP Data received {"connection_id":204022,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:16:06] local.INFO: Processing buffer {"connection_id":204022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:16:06] local.INFO: Packet analysis {"connection_id":204022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:16:06] local.INFO: Extracted packet for processing {"connection_id":204022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:16:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":35,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534384384001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791150239000,"timestamp_ms":1791150239000,"timestamp_seconds":1791150239,"priority":1,"record_length":96,"hex_timestamp":"000001a108dfad18"} 
[2026-10-05 03:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:16:06] 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-10-05 03:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534384384001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534384384001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:16:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:16:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534384384001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":204022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964971,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:16:06] local.INFO: GPS data processed {"connection_id":204022,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:16:06] local.INFO: Acknowledgment sent {"connection_id":204022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:16:37] local.INFO: TCP Data received {"connection_id":205537,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:16:37] local.INFO: Processing buffer {"connection_id":205537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:16:37] local.INFO: Packet analysis {"connection_id":205537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:16:37] local.INFO: Extracted packet for processing {"connection_id":205537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:16:37] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534388480001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791150256000,"timestamp_ms":1791150256000,"timestamp_seconds":1791150256,"priority":1,"record_length":96,"hex_timestamp":"000001a108dfef80"} 
[2026-10-05 03:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:16:37] 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-10-05 03:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 03:16:37] 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-10-05 03:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534388480001,"66":25604,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534388480001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:16:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:16:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534388480001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":205537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:16:37] local.INFO: GPS data processed {"connection_id":205537,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:16:37] local.INFO: Acknowledgment sent {"connection_id":205537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:16:38] local.INFO: TCP Data received {"connection_id":204022,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:16:38] local.INFO: Processing buffer {"connection_id":204022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:16:38] local.INFO: Packet analysis {"connection_id":204022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:16:38] local.INFO: Extracted packet for processing {"connection_id":204022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:16:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":35,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534384384001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791150239000,"timestamp_ms":1791150239000,"timestamp_seconds":1791150239,"priority":1,"record_length":96,"hex_timestamp":"000001a108dfad18"} 
[2026-10-05 03:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:16:38] 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-10-05 03: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-10-05 03:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534384384001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534384384001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:16:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:16:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534384384001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":204022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:16:38] local.INFO: GPS data processed {"connection_id":204022,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:16:38] local.INFO: Acknowledgment sent {"connection_id":204022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:16:56] local.INFO: TCP Data received {"connection_id":204097,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:16:56] local.INFO: Processing buffer {"connection_id":204097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:16:56] local.INFO: IMEI packet received {"connection_id":204097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":204097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:17:00] local.INFO: TCP Data received {"connection_id":207091,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:17:00] local.INFO: Processing buffer {"connection_id":207091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:17:00] local.INFO: IMEI packet received {"connection_id":207091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":207091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:17:01] local.INFO: TCP Data received {"connection_id":204097,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:17:01] local.INFO: Processing buffer {"connection_id":204097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:17:01] local.INFO: IMEI packet received {"connection_id":204097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":204097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:17:02] local.INFO: TCP Data received {"connection_id":204097,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:17:02] local.INFO: Processing buffer {"connection_id":204097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:17:02] local.INFO: Packet analysis {"connection_id":204097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:17:02] local.INFO: Extracted packet for processing {"connection_id":204097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:17:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534388480001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:17: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-10-05 03:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791150256000,"timestamp_ms":1791150256000,"timestamp_seconds":1791150256,"priority":1,"record_length":96,"hex_timestamp":"000001a108dfef80"} 
[2026-10-05 03:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:17: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-10-05 03: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 03:17: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-10-05 03: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-10-05 03:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:17: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-10-05 03:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534388480001,"66":25604,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534388480001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:17:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:17:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534388480001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":204097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:17:02] local.INFO: GPS data processed {"connection_id":204097,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:17:02] local.INFO: Acknowledgment sent {"connection_id":204097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:17:05] local.INFO: TCP Data received {"connection_id":207091,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:17:05] local.INFO: Processing buffer {"connection_id":207091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:17:05] local.INFO: IMEI packet received {"connection_id":207091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":207091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:17:06] local.INFO: TCP Data received {"connection_id":207091,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:17:06] local.INFO: Processing buffer {"connection_id":207091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:17:06] local.INFO: Packet analysis {"connection_id":207091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:17:06] local.INFO: Extracted packet for processing {"connection_id":207091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:17:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":35,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534384384001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791150239000,"timestamp_ms":1791150239000,"timestamp_seconds":1791150239,"priority":1,"record_length":96,"hex_timestamp":"000001a108dfad18"} 
[2026-10-05 03:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:17:06] 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-10-05 03:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534384384001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534384384001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:17:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:17:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534384384001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":207091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:17:06] local.INFO: GPS data processed {"connection_id":207091,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:17:06] local.INFO: Acknowledgment sent {"connection_id":207091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:17:32] local.INFO: TCP Data received {"connection_id":204097,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:17:32] local.INFO: Processing buffer {"connection_id":204097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:17:32] local.INFO: Packet analysis {"connection_id":204097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:17:32] local.INFO: Extracted packet for processing {"connection_id":204097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:17:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534388480001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:17: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-10-05 03:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791150256000,"timestamp_ms":1791150256000,"timestamp_seconds":1791150256,"priority":1,"record_length":96,"hex_timestamp":"000001a108dfef80"} 
[2026-10-05 03:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:17:32] 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-10-05 03: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-10-05 03: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-10-05 03: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-10-05 03:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534388480001,"66":25604,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534388480001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:17:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:17:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534388480001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":204097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:17:32] local.INFO: GPS data processed {"connection_id":204097,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:17:32] local.INFO: Acknowledgment sent {"connection_id":204097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:17:38] local.INFO: TCP Data received {"connection_id":207091,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:17:38] local.INFO: Processing buffer {"connection_id":207091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:17:38] local.INFO: Packet analysis {"connection_id":207091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:17:38] local.INFO: Extracted packet for processing {"connection_id":207091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:17:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":35,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534384384001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791150239000,"timestamp_ms":1791150239000,"timestamp_seconds":1791150239,"priority":1,"record_length":96,"hex_timestamp":"000001a108dfad18"} 
[2026-10-05 03:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:17:38] 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-10-05 03:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534384384001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534384384001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:17:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:17:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534384384001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":207091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:17:38] local.INFO: GPS data processed {"connection_id":207091,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:17:38] local.INFO: Acknowledgment sent {"connection_id":207091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:17:56] local.INFO: TCP Data received {"connection_id":204024,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:17:56] local.INFO: Processing buffer {"connection_id":204024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:17:56] local.INFO: IMEI packet received {"connection_id":204024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":204024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:18:00] local.INFO: TCP Data received {"connection_id":204025,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:18:00] local.INFO: Processing buffer {"connection_id":204025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:18:00] local.INFO: IMEI packet received {"connection_id":204025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":204025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:18:01] local.INFO: TCP Data received {"connection_id":204024,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:18:01] local.INFO: Processing buffer {"connection_id":204024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:18:01] local.INFO: IMEI packet received {"connection_id":204024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":204024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:18:02] local.INFO: TCP Data received {"connection_id":204024,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:18:02] local.INFO: Processing buffer {"connection_id":204024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:18:02] local.INFO: Packet analysis {"connection_id":204024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:18:02] local.INFO: Extracted packet for processing {"connection_id":204024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:18:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534388480001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:18: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-10-05 03:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791150256000,"timestamp_ms":1791150256000,"timestamp_seconds":1791150256,"priority":1,"record_length":96,"hex_timestamp":"000001a108dfef80"} 
[2026-10-05 03:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03: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-10-05 03: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 03:18: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-10-05 03: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-10-05 03:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:18: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-10-05 03:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534388480001,"66":25604,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534388480001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:18:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:18:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534388480001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":204024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:18:02] local.INFO: GPS data processed {"connection_id":204024,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:18:02] local.INFO: Acknowledgment sent {"connection_id":204024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:18:05] local.INFO: TCP Data received {"connection_id":204025,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:18:05] local.INFO: Processing buffer {"connection_id":204025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:18:05] local.INFO: IMEI packet received {"connection_id":204025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":204025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:18:06] local.INFO: TCP Data received {"connection_id":204025,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:18:06] local.INFO: Processing buffer {"connection_id":204025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:18:06] local.INFO: Packet analysis {"connection_id":204025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:18:06] local.INFO: Extracted packet for processing {"connection_id":204025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:18:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":35,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534384384001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791150239000,"timestamp_ms":1791150239000,"timestamp_seconds":1791150239,"priority":1,"record_length":96,"hex_timestamp":"000001a108dfad18"} 
[2026-10-05 03:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:18:06] 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-10-05 03:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534384384001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534384384001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:18:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:18:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534384384001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":204025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964979,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:18:06] local.INFO: GPS data processed {"connection_id":204025,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:18:06] local.INFO: Acknowledgment sent {"connection_id":204025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:18:32] local.INFO: TCP Data received {"connection_id":204024,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:18:32] local.INFO: Processing buffer {"connection_id":204024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:18:32] local.INFO: Packet analysis {"connection_id":204024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:18:32] local.INFO: Extracted packet for processing {"connection_id":204024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:18:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534388480001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:18: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-10-05 03:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791150256000,"timestamp_ms":1791150256000,"timestamp_seconds":1791150256,"priority":1,"record_length":96,"hex_timestamp":"000001a108dfef80"} 
[2026-10-05 03:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:18:32] 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-10-05 03: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 03:18: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-10-05 03: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-10-05 03:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534388480001,"66":25604,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534388480001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:18:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:18:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534388480001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":204024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:18:32] local.INFO: GPS data processed {"connection_id":204024,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:18:32] local.INFO: Acknowledgment sent {"connection_id":204024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:18:37] local.INFO: TCP Data received {"connection_id":204025,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:18:37] local.INFO: Processing buffer {"connection_id":204025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108dfad18012d7c2ac005dac8a0000000bf23..."} 
[2026-10-05 03:18:37] local.INFO: Packet analysis {"connection_id":204025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:18:37] local.INFO: Extracted packet for processing {"connection_id":204025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:18:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":35,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534384384001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791150239000,"timestamp_ms":1791150239000,"timestamp_seconds":1791150239,"priority":1,"record_length":96,"hex_timestamp":"000001a108dfad18"} 
[2026-10-05 03:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:18:37] 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-10-05 03:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534384384001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534384384001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:18:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:18:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534384384001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":204025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:18:37] local.INFO: GPS data processed {"connection_id":204025,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:18:37] local.INFO: Acknowledgment sent {"connection_id":204025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:18:56] local.INFO: TCP Data received {"connection_id":207093,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:18:56] local.INFO: Processing buffer {"connection_id":207093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:18:56] local.INFO: IMEI packet received {"connection_id":207093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":207093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:19:01] local.INFO: TCP Data received {"connection_id":207093,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:19:01] local.INFO: Processing buffer {"connection_id":207093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:19:01] local.INFO: IMEI packet received {"connection_id":207093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":207093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:19:02] local.INFO: TCP Data received {"connection_id":207093,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:19:02] local.INFO: Processing buffer {"connection_id":207093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:19:02] local.INFO: Packet analysis {"connection_id":207093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:19:02] local.INFO: Extracted packet for processing {"connection_id":207093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:19:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534388480001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03: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-10-05 03:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791150256000,"timestamp_ms":1791150256000,"timestamp_seconds":1791150256,"priority":1,"record_length":96,"hex_timestamp":"000001a108dfef80"} 
[2026-10-05 03:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:19: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-10-05 03: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 03:19: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-10-05 03: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-10-05 03:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:19: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-10-05 03:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534388480001,"66":25604,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534388480001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:19:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:19:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534388480001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":207093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:19:02] local.INFO: GPS data processed {"connection_id":207093,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:19:02] local.INFO: Acknowledgment sent {"connection_id":207093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:19:02] local.INFO: TCP Data received {"connection_id":207094,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:19:02] local.INFO: Processing buffer {"connection_id":207094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:19:02] local.INFO: IMEI packet received {"connection_id":207094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":207094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:19:04] local.INFO: TCP Data received {"connection_id":207092,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207092,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:19:04] local.INFO: Processing buffer {"connection_id":207092,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:19:04] local.INFO: IMEI packet received {"connection_id":207092,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 03:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":207092,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:19:05] local.INFO: TCP Data received {"connection_id":207094,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:19:05] local.INFO: Processing buffer {"connection_id":207094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:19:05] local.INFO: IMEI packet received {"connection_id":207094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":207094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:19:10] local.INFO: TCP Data received {"connection_id":207094,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:19:10] local.INFO: Processing buffer {"connection_id":207094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:19:10] local.INFO: IMEI packet received {"connection_id":207094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":207094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:19:11] local.INFO: TCP Data received {"connection_id":207094,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:19:11] local.INFO: Processing buffer {"connection_id":207094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:19:11] local.INFO: Packet analysis {"connection_id":207094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:19:11] local.INFO: Extracted packet for processing {"connection_id":207094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:19:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534461184001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791150540000,"timestamp_ms":1791150540000,"timestamp_seconds":1791150540,"priority":1,"record_length":96,"hex_timestamp":"000001a108e444e0"} 
[2026-10-05 03:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534461184001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534461184001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:19:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534461184001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":207094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:19:11] local.INFO: GPS data processed {"connection_id":207094,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:19:11] local.INFO: Acknowledgment sent {"connection_id":207094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:19:16] local.INFO: TCP Data received {"connection_id":207094,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:19:16] local.INFO: Processing buffer {"connection_id":207094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:19:16] local.INFO: Packet analysis {"connection_id":207094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:19:16] local.INFO: Extracted packet for processing {"connection_id":207094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:19:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534461184001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791150540000,"timestamp_ms":1791150540000,"timestamp_seconds":1791150540,"priority":1,"record_length":96,"hex_timestamp":"000001a108e444e0"} 
[2026-10-05 03:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534461184001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534461184001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:19:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:19:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534461184001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":207094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964984,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:19:16] local.INFO: GPS data processed {"connection_id":207094,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:19:16] local.INFO: Acknowledgment sent {"connection_id":207094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:19:32] local.INFO: TCP Data received {"connection_id":207093,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:19:32] local.INFO: Processing buffer {"connection_id":207093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108dfef80012d7f91c005afd9f0000e010125..."} 
[2026-10-05 03:19:32] local.INFO: Packet analysis {"connection_id":207093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:19:32] local.INFO: Extracted packet for processing {"connection_id":207093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108df"} 
[2026-10-05 03:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534388480001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:19: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-10-05 03:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791150256000,"timestamp_ms":1791150256000,"timestamp_seconds":1791150256,"priority":1,"record_length":96,"hex_timestamp":"000001a108dfef80"} 
[2026-10-05 03:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:19:32] 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-10-05 03:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 03:19: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-10-05 03:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534388480001,"66":25604,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534388480001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:19:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:19:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534388480001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":207093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:19:32] local.INFO: GPS data processed {"connection_id":207093,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:19:32] local.INFO: Acknowledgment sent {"connection_id":207093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:19:43] local.INFO: TCP Data received {"connection_id":204026,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:19:43] local.INFO: Processing buffer {"connection_id":204026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:19:43] local.INFO: IMEI packet received {"connection_id":204026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 03:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":204026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:19:55] local.INFO: TCP Data received {"connection_id":207095,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:19:55] local.INFO: Processing buffer {"connection_id":207095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:19:55] local.INFO: IMEI packet received {"connection_id":207095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":207095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:19:56] local.INFO: TCP Data received {"connection_id":207095,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:19:56] local.INFO: Processing buffer {"connection_id":207095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:19:56] local.INFO: IMEI packet received {"connection_id":207095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":207095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:20:00] local.INFO: TCP Data received {"connection_id":205538,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205538,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:20:00] local.INFO: Processing buffer {"connection_id":205538,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:20:00] local.INFO: IMEI packet received {"connection_id":205538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":205538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:20:01] local.INFO: TCP Data received {"connection_id":207095,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:20:01] local.INFO: Processing buffer {"connection_id":207095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:20:01] local.INFO: IMEI packet received {"connection_id":207095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":207095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:20:01] local.INFO: TCP Data received {"connection_id":207095,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:20:01] local.INFO: Processing buffer {"connection_id":207095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:20:01] local.INFO: Packet analysis {"connection_id":207095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:20:01] local.INFO: Extracted packet for processing {"connection_id":207095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:20:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534465536001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:20: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-10-05 03:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791150557000,"timestamp_ms":1791150557000,"timestamp_seconds":1791150557,"priority":1,"record_length":96,"hex_timestamp":"000001a108e48748"} 
[2026-10-05 03:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:20:01] 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-10-05 03:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 03:20: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-10-05 03:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534465536001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534465536001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:20:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:20:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534465536001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":207095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:20:01] local.INFO: GPS data processed {"connection_id":207095,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:20:01] local.INFO: Acknowledgment sent {"connection_id":207095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:20:05] local.INFO: TCP Data received {"connection_id":205538,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205538,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:20:05] local.INFO: Processing buffer {"connection_id":205538,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:20:05] local.INFO: IMEI packet received {"connection_id":205538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":205538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:20:06] local.INFO: TCP Data received {"connection_id":205538,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:20:06] local.INFO: Processing buffer {"connection_id":205538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:20:06] local.INFO: Packet analysis {"connection_id":205538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:20:06] local.INFO: Extracted packet for processing {"connection_id":205538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:20:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534461184001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791150540000,"timestamp_ms":1791150540000,"timestamp_seconds":1791150540,"priority":1,"record_length":96,"hex_timestamp":"000001a108e444e0"} 
[2026-10-05 03:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534461184001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534461184001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:20:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:20:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534461184001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":205538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:20:06] local.INFO: GPS data processed {"connection_id":205538,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:20:06] local.INFO: Acknowledgment sent {"connection_id":205538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:20:32] local.INFO: TCP Data received {"connection_id":207095,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:20:32] local.INFO: Processing buffer {"connection_id":207095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:20:32] local.INFO: Packet analysis {"connection_id":207095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:20:32] local.INFO: Extracted packet for processing {"connection_id":207095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:20:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534465536001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:20: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-10-05 03:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791150557000,"timestamp_ms":1791150557000,"timestamp_seconds":1791150557,"priority":1,"record_length":96,"hex_timestamp":"000001a108e48748"} 
[2026-10-05 03:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:20:32] 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-10-05 03:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 03:20: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-10-05 03:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534465536001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534465536001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:20:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:20:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534465536001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":207095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:20:32] local.INFO: GPS data processed {"connection_id":207095,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:20:32] local.INFO: Acknowledgment sent {"connection_id":207095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:20:38] local.INFO: TCP Data received {"connection_id":205538,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:20:38] local.INFO: Processing buffer {"connection_id":205538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:20:38] local.INFO: Packet analysis {"connection_id":205538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:20:38] local.INFO: Extracted packet for processing {"connection_id":205538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:20:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534461184001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791150540000,"timestamp_ms":1791150540000,"timestamp_seconds":1791150540,"priority":1,"record_length":96,"hex_timestamp":"000001a108e444e0"} 
[2026-10-05 03:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534461184001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534461184001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:20:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:20:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534461184001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":205538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:20:38] local.INFO: GPS data processed {"connection_id":205538,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:20:38] local.INFO: Acknowledgment sent {"connection_id":205538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:21:00] local.INFO: TCP Data received {"connection_id":204099,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:21:00] local.INFO: Processing buffer {"connection_id":204099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:21:00] local.INFO: IMEI packet received {"connection_id":204099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":204099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:21:01] local.INFO: TCP Data received {"connection_id":207097,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:21:01] local.INFO: Processing buffer {"connection_id":207097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:21:01] local.INFO: IMEI packet received {"connection_id":207097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":207097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:21:05] local.INFO: TCP Data received {"connection_id":204099,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:21:05] local.INFO: Processing buffer {"connection_id":204099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:21:05] local.INFO: IMEI packet received {"connection_id":204099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":204099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:21:06] local.INFO: TCP Data received {"connection_id":207097,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:21:06] local.INFO: TCP Data received {"connection_id":204099,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:21:06] local.INFO: Processing buffer {"connection_id":207097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:21:06] local.INFO: IMEI packet received {"connection_id":207097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":207097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:21:06] local.INFO: Processing buffer {"connection_id":204099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:21:06] local.INFO: Packet analysis {"connection_id":204099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:21:06] local.INFO: Extracted packet for processing {"connection_id":204099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:21:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534461184001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791150540000,"timestamp_ms":1791150540000,"timestamp_seconds":1791150540,"priority":1,"record_length":96,"hex_timestamp":"000001a108e444e0"} 
[2026-10-05 03:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534461184001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534461184001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:21:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:21:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534461184001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":204099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:21:06] local.INFO: GPS data processed {"connection_id":204099,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:21:06] local.INFO: Acknowledgment sent {"connection_id":204099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:21:07] local.INFO: TCP Data received {"connection_id":207097,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:21:07] local.INFO: Processing buffer {"connection_id":207097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:21:07] local.INFO: Packet analysis {"connection_id":207097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:21:07] local.INFO: Extracted packet for processing {"connection_id":207097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:21:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:21: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-10-05 03:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534465536001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:21: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-10-05 03:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791150557000,"timestamp_ms":1791150557000,"timestamp_seconds":1791150557,"priority":1,"record_length":96,"hex_timestamp":"000001a108e48748"} 
[2026-10-05 03:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:21: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-10-05 03:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 03:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:21: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-10-05 03:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534465536001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534465536001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:21:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:21:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534465536001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":207097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:21:07] local.INFO: GPS data processed {"connection_id":207097,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:21:07] local.INFO: Acknowledgment sent {"connection_id":207097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:21:11] local.INFO: TCP Data received {"connection_id":207097,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:21:11] local.INFO: Processing buffer {"connection_id":207097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:21:11] local.INFO: Packet analysis {"connection_id":207097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:21:11] local.INFO: Extracted packet for processing {"connection_id":207097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:21:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534465536001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791150557000,"timestamp_ms":1791150557000,"timestamp_seconds":1791150557,"priority":1,"record_length":96,"hex_timestamp":"000001a108e48748"} 
[2026-10-05 03:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:21:11] 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-10-05 03:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 03:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534465536001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534465536001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:21:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534465536001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":207097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:21:11] local.INFO: GPS data processed {"connection_id":207097,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:21:11] local.INFO: Acknowledgment sent {"connection_id":207097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:21:37] local.INFO: TCP Data received {"connection_id":204099,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:21:37] local.INFO: Processing buffer {"connection_id":204099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:21:37] local.INFO: Packet analysis {"connection_id":204099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:21:37] local.INFO: Extracted packet for processing {"connection_id":204099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:21:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534461184001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791150540000,"timestamp_ms":1791150540000,"timestamp_seconds":1791150540,"priority":1,"record_length":96,"hex_timestamp":"000001a108e444e0"} 
[2026-10-05 03:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534461184001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534461184001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:21:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:21:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534461184001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":204099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:21:37] local.INFO: GPS data processed {"connection_id":204099,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:21:37] local.INFO: Acknowledgment sent {"connection_id":204099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:21:56] local.INFO: TCP Data received {"connection_id":204028,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:21:56] local.INFO: Processing buffer {"connection_id":204028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:21:56] local.INFO: IMEI packet received {"connection_id":204028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":204028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:22:01] local.INFO: TCP Data received {"connection_id":204028,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:22:01] local.INFO: Processing buffer {"connection_id":204028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:22:01] local.INFO: IMEI packet received {"connection_id":204028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":204028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:22:01] local.INFO: TCP Data received {"connection_id":204100,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:22:01] local.INFO: Processing buffer {"connection_id":204100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:22:01] local.INFO: IMEI packet received {"connection_id":204100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":204100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:22:01] local.INFO: TCP Data received {"connection_id":204028,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:22:01] local.INFO: Processing buffer {"connection_id":204028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:22:01] local.INFO: Packet analysis {"connection_id":204028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:22:01] local.INFO: Extracted packet for processing {"connection_id":204028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:22:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534465536001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03: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-10-05 03:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791150557000,"timestamp_ms":1791150557000,"timestamp_seconds":1791150557,"priority":1,"record_length":96,"hex_timestamp":"000001a108e48748"} 
[2026-10-05 03:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:22:01] 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-10-05 03: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":4,"data_length":795,"current_offset":136} 
[2026-10-05 03:22: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-10-05 03: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-10-05 03:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534465536001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534465536001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:22:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:22:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534465536001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":204028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:22:01] local.INFO: GPS data processed {"connection_id":204028,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:22:01] local.INFO: Acknowledgment sent {"connection_id":204028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:22:05] local.INFO: TCP Data received {"connection_id":204100,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:22:05] local.INFO: Processing buffer {"connection_id":204100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:22:05] local.INFO: IMEI packet received {"connection_id":204100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":204100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:22:06] local.INFO: TCP Data received {"connection_id":204100,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:22:06] local.INFO: Processing buffer {"connection_id":204100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:22:06] local.INFO: Packet analysis {"connection_id":204100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:22:06] local.INFO: Extracted packet for processing {"connection_id":204100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:22:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534461184001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791150540000,"timestamp_ms":1791150540000,"timestamp_seconds":1791150540,"priority":1,"record_length":96,"hex_timestamp":"000001a108e444e0"} 
[2026-10-05 03:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534461184001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534461184001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:22:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:22:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534461184001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":204100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:22:06] local.INFO: GPS data processed {"connection_id":204100,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:22:06] local.INFO: Acknowledgment sent {"connection_id":204100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:22:32] local.INFO: TCP Data received {"connection_id":204028,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:22:32] local.INFO: Processing buffer {"connection_id":204028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:22:32] local.INFO: Packet analysis {"connection_id":204028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:22:32] local.INFO: Extracted packet for processing {"connection_id":204028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534465536001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:22: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-10-05 03:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791150557000,"timestamp_ms":1791150557000,"timestamp_seconds":1791150557,"priority":1,"record_length":96,"hex_timestamp":"000001a108e48748"} 
[2026-10-05 03:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:22:32] 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-10-05 03:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 03:22: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-10-05 03:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534465536001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534465536001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:22:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:22:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534465536001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":204028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:22:32] local.INFO: GPS data processed {"connection_id":204028,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:22:32] local.INFO: Acknowledgment sent {"connection_id":204028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:22:37] local.INFO: TCP Data received {"connection_id":204100,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:22:37] local.INFO: Processing buffer {"connection_id":204100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:22:37] local.INFO: Packet analysis {"connection_id":204100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:22:37] local.INFO: Extracted packet for processing {"connection_id":204100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:22:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534461184001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791150540000,"timestamp_ms":1791150540000,"timestamp_seconds":1791150540,"priority":1,"record_length":96,"hex_timestamp":"000001a108e444e0"} 
[2026-10-05 03:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03: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-10-05 03:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534461184001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534461184001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:22:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:22:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534461184001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":204100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964997,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:22:37] local.INFO: GPS data processed {"connection_id":204100,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:22:37] local.INFO: Acknowledgment sent {"connection_id":204100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:22:56] local.INFO: TCP Data received {"connection_id":204030,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:22:56] local.INFO: Processing buffer {"connection_id":204030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:22:56] local.INFO: IMEI packet received {"connection_id":204030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":204030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:23:00] local.INFO: TCP Data received {"connection_id":204101,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204101,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:23:00] local.INFO: Processing buffer {"connection_id":204101,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:23:00] local.INFO: IMEI packet received {"connection_id":204101,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":204101,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:23:01] local.INFO: TCP Data received {"connection_id":204030,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:23:01] local.INFO: Processing buffer {"connection_id":204030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:23:01] local.INFO: IMEI packet received {"connection_id":204030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":204030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:23:01] local.INFO: TCP Data received {"connection_id":204030,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:23:01] local.INFO: Processing buffer {"connection_id":204030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:23:01] local.INFO: Packet analysis {"connection_id":204030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:23:01] local.INFO: Extracted packet for processing {"connection_id":204030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:23:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 03:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534465536001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 03:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791150557000,"timestamp_ms":1791150557000,"timestamp_seconds":1791150557,"priority":1,"record_length":96,"hex_timestamp":"000001a108e48748"} 
[2026-10-05 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-10-05 03:23:01] 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-10-05 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":4,"data_length":795,"current_offset":136} 
[2026-10-05 03:23: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-10-05 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-10-05 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-10-05 03:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534465536001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534465536001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:23:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:23:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534465536001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":204030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:23:01] local.INFO: GPS data processed {"connection_id":204030,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:23:01] local.INFO: Acknowledgment sent {"connection_id":204030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:23:05] local.INFO: TCP Data received {"connection_id":204101,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204101,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:23:05] local.INFO: Processing buffer {"connection_id":204101,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:23:05] local.INFO: IMEI packet received {"connection_id":204101,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":204101,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:23:06] local.INFO: TCP Data received {"connection_id":204101,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:23:06] local.INFO: Processing buffer {"connection_id":204101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:23:06] local.INFO: Packet analysis {"connection_id":204101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:23:06] local.INFO: Extracted packet for processing {"connection_id":204101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:23:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 03:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534461184001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791150540000,"timestamp_ms":1791150540000,"timestamp_seconds":1791150540,"priority":1,"record_length":96,"hex_timestamp":"000001a108e444e0"} 
[2026-10-05 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-10-05 03:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 03:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534461184001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534461184001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:23:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:23:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534461184001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":204101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:23:06] local.INFO: GPS data processed {"connection_id":204101,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:23:06] local.INFO: Acknowledgment sent {"connection_id":204101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:23:32] local.INFO: TCP Data received {"connection_id":204030,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:23:32] local.INFO: Processing buffer {"connection_id":204030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:23:32] local.INFO: Packet analysis {"connection_id":204030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:23:32] local.INFO: Extracted packet for processing {"connection_id":204030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534465536001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:23: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-10-05 03:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791150557000,"timestamp_ms":1791150557000,"timestamp_seconds":1791150557,"priority":1,"record_length":96,"hex_timestamp":"000001a108e48748"} 
[2026-10-05 03:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:23:32] 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-10-05 03:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 03:23: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-10-05 03:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534465536001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534465536001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:23:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:23:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534465536001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":204030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:23:32] local.INFO: GPS data processed {"connection_id":204030,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:23:32] local.INFO: Acknowledgment sent {"connection_id":204030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:23:37] local.INFO: TCP Data received {"connection_id":204101,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:23:37] local.INFO: Processing buffer {"connection_id":204101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e444e0012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:23:37] local.INFO: Packet analysis {"connection_id":204101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:23:37] local.INFO: Extracted packet for processing {"connection_id":204101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:23:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534461184001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791150540000,"timestamp_ms":1791150540000,"timestamp_seconds":1791150540,"priority":1,"record_length":96,"hex_timestamp":"000001a108e444e0"} 
[2026-10-05 03:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03: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-10-05 03:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534461184001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534461184001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:23:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:23:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534461184001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":204101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965001,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:23:37] local.INFO: GPS data processed {"connection_id":204101,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:23:37] local.INFO: Acknowledgment sent {"connection_id":204101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:23:56] local.INFO: TCP Data received {"connection_id":207098,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:23:56] local.INFO: Processing buffer {"connection_id":207098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:23:56] local.INFO: IMEI packet received {"connection_id":207098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":207098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:24:01] local.INFO: TCP Data received {"connection_id":207098,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:24:01] local.INFO: Processing buffer {"connection_id":207098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:24:01] local.INFO: IMEI packet received {"connection_id":207098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":207098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:24:01] local.INFO: TCP Data received {"connection_id":207098,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:24:01] local.INFO: Processing buffer {"connection_id":207098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:24:01] local.INFO: Packet analysis {"connection_id":207098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:24:01] local.INFO: Extracted packet for processing {"connection_id":207098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:24:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534465536001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03: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-10-05 03:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791150557000,"timestamp_ms":1791150557000,"timestamp_seconds":1791150557,"priority":1,"record_length":96,"hex_timestamp":"000001a108e48748"} 
[2026-10-05 03:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:24:01] 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-10-05 03: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-10-05 03: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-10-05 03: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-10-05 03:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534465536001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534465536001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:24:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:24:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534465536001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":207098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:24:01] local.INFO: GPS data processed {"connection_id":207098,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:24:01] local.INFO: Acknowledgment sent {"connection_id":207098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:24:03] local.INFO: TCP Data received {"connection_id":204102,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:24:03] local.INFO: Processing buffer {"connection_id":204102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:24:03] local.INFO: IMEI packet received {"connection_id":204102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":204102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:24:05] local.INFO: TCP Data received {"connection_id":204102,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:24:05] local.INFO: Processing buffer {"connection_id":204102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:24:05] local.INFO: IMEI packet received {"connection_id":204102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":204102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:24:10] local.INFO: TCP Data received {"connection_id":204102,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:24:10] local.INFO: Processing buffer {"connection_id":204102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:24:10] local.INFO: IMEI packet received {"connection_id":204102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":204102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:24:11] local.INFO: TCP Data received {"connection_id":204102,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:24:11] local.INFO: Processing buffer {"connection_id":204102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:24:11] local.INFO: Packet analysis {"connection_id":204102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e8"} 
[2026-10-05 03:24:11] local.INFO: Extracted packet for processing {"connection_id":204102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e8"} 
[2026-10-05 03:24:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534538240001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791150841000,"timestamp_ms":1791150841000,"timestamp_seconds":1791150841,"priority":1,"record_length":96,"hex_timestamp":"000001a108e8dca8"} 
[2026-10-05 03:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:24:11] 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-10-05 03: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-10-05 03:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534538240001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534538240001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:24:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:24:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534538240001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":204102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965003,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:24:11] local.INFO: GPS data processed {"connection_id":204102,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:24:11] local.INFO: Acknowledgment sent {"connection_id":204102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:24:32] local.INFO: TCP Data received {"connection_id":207098,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:24:32] local.INFO: Processing buffer {"connection_id":207098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e48748012d7f91c005afd9f0000d010128..."} 
[2026-10-05 03:24:32] local.INFO: Packet analysis {"connection_id":207098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:24:32] local.INFO: Extracted packet for processing {"connection_id":207098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e4"} 
[2026-10-05 03:24:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534465536001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:24: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-10-05 03:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791150557000,"timestamp_ms":1791150557000,"timestamp_seconds":1791150557,"priority":1,"record_length":96,"hex_timestamp":"000001a108e48748"} 
[2026-10-05 03:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:24:32] 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-10-05 03: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 03:24: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-10-05 03: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-10-05 03:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534465536001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534465536001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:24:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:24:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534465536001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":207098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:24:33] local.INFO: GPS data processed {"connection_id":207098,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:24:33] local.INFO: Acknowledgment sent {"connection_id":207098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:24:42] local.INFO: TCP Data received {"connection_id":204102,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:24:42] local.INFO: Processing buffer {"connection_id":204102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:24:42] local.INFO: Packet analysis {"connection_id":204102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e8"} 
[2026-10-05 03:24:42] local.INFO: Extracted packet for processing {"connection_id":204102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e8"} 
[2026-10-05 03:24:42] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:24: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-10-05 03:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534538240001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791150841000,"timestamp_ms":1791150841000,"timestamp_seconds":1791150841,"priority":1,"record_length":96,"hex_timestamp":"000001a108e8dca8"} 
[2026-10-05 03:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:24: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-10-05 03:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534538240001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534538240001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:24:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:24:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534538240001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":204102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:24:42] local.INFO: GPS data processed {"connection_id":204102,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:24:42] local.INFO: Acknowledgment sent {"connection_id":204102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:24:56] local.INFO: TCP Data received {"connection_id":205540,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:24:56] local.INFO: Processing buffer {"connection_id":205540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:24:56] local.INFO: IMEI packet received {"connection_id":205540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":205540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:24:57] local.INFO: TCP Data received {"connection_id":205540,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:24:57] local.INFO: Processing buffer {"connection_id":205540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:24:57] local.INFO: IMEI packet received {"connection_id":205540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":205540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:25:00] local.INFO: TCP Data received {"connection_id":205541,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:25:00] local.INFO: Processing buffer {"connection_id":205541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:25:00] local.INFO: IMEI packet received {"connection_id":205541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":205541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:25:01] local.INFO: TCP Data received {"connection_id":205540,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:25:01] local.INFO: Processing buffer {"connection_id":205540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:25:01] local.INFO: IMEI packet received {"connection_id":205540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":205540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:25:01] local.INFO: TCP Data received {"connection_id":205540,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:25:01] local.INFO: Processing buffer {"connection_id":205540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:25:01] local.INFO: Packet analysis {"connection_id":205540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e9"} 
[2026-10-05 03:25:01] local.INFO: Extracted packet for processing {"connection_id":205540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e9"} 
[2026-10-05 03:25:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534542592001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03: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-10-05 03:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791150858000,"timestamp_ms":1791150858000,"timestamp_seconds":1791150858,"priority":1,"record_length":96,"hex_timestamp":"000001a108e91f10"} 
[2026-10-05 03:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:25:01] 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-10-05 03: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":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:25: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-10-05 03: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-10-05 03:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534542592001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534542592001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:25:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:25:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534542592001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":205540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:25:01] local.INFO: GPS data processed {"connection_id":205540,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:25:01] local.INFO: Acknowledgment sent {"connection_id":205540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:25:05] local.INFO: TCP Data received {"connection_id":205541,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:25:05] local.INFO: Processing buffer {"connection_id":205541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:25:05] local.INFO: IMEI packet received {"connection_id":205541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":205541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:25:07] local.INFO: TCP Data received {"connection_id":205541,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:25:07] local.INFO: Processing buffer {"connection_id":205541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:25:07] local.INFO: Packet analysis {"connection_id":205541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e8"} 
[2026-10-05 03:25:07] local.INFO: Extracted packet for processing {"connection_id":205541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e8"} 
[2026-10-05 03:25:07] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534538240001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791150841000,"timestamp_ms":1791150841000,"timestamp_seconds":1791150841,"priority":1,"record_length":96,"hex_timestamp":"000001a108e8dca8"} 
[2026-10-05 03:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:25:07] 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-10-05 03: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-10-05 03:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534538240001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534538240001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:25:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:25:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534538240001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":205541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965007,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:25:07] local.INFO: GPS data processed {"connection_id":205541,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:25:07] local.INFO: Acknowledgment sent {"connection_id":205541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:25:08] local.INFO: TCP Data received {"connection_id":205539,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:25:08] local.INFO: Processing buffer {"connection_id":205539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:25:08] local.INFO: IMEI packet received {"connection_id":205539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 03:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":205539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:25:32] local.INFO: TCP Data received {"connection_id":205540,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:25:32] local.INFO: Processing buffer {"connection_id":205540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:25:32] local.INFO: Packet analysis {"connection_id":205540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e9"} 
[2026-10-05 03:25:32] local.INFO: Extracted packet for processing {"connection_id":205540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e9"} 
[2026-10-05 03:25:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534542592001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03: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-10-05 03:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791150858000,"timestamp_ms":1791150858000,"timestamp_seconds":1791150858,"priority":1,"record_length":96,"hex_timestamp":"000001a108e91f10"} 
[2026-10-05 03:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:25:32] 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-10-05 03: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":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:25: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-10-05 03: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-10-05 03:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534542592001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534542592001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:25:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:25:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534542592001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":205540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:25:32] local.INFO: GPS data processed {"connection_id":205540,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:25:32] local.INFO: Acknowledgment sent {"connection_id":205540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:25:38] local.INFO: TCP Data received {"connection_id":205541,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:25:38] local.INFO: Processing buffer {"connection_id":205541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:25:38] local.INFO: Packet analysis {"connection_id":205541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e8"} 
[2026-10-05 03:25:38] local.INFO: Extracted packet for processing {"connection_id":205541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e8"} 
[2026-10-05 03:25:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534538240001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791150841000,"timestamp_ms":1791150841000,"timestamp_seconds":1791150841,"priority":1,"record_length":96,"hex_timestamp":"000001a108e8dca8"} 
[2026-10-05 03:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:25:38] 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-10-05 03:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534538240001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534538240001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:25:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:25:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534538240001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":205541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:25:38] local.INFO: GPS data processed {"connection_id":205541,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:25:38] local.INFO: Acknowledgment sent {"connection_id":205541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:25:48] local.INFO: TCP Data received {"connection_id":204032,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204032,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:25:48] local.INFO: Processing buffer {"connection_id":204032,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:25:48] local.INFO: IMEI packet received {"connection_id":204032,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 03:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":204032,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:25:56] local.INFO: TCP Data received {"connection_id":205542,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:25:56] local.INFO: Processing buffer {"connection_id":205542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:25:56] local.INFO: IMEI packet received {"connection_id":205542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":205542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:26:00] local.INFO: TCP Data received {"connection_id":205543,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205543,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:26:00] local.INFO: Processing buffer {"connection_id":205543,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:26:00] local.INFO: IMEI packet received {"connection_id":205543,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":205543,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:26:01] local.INFO: TCP Data received {"connection_id":205542,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:26:01] local.INFO: Processing buffer {"connection_id":205542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:26:01] local.INFO: IMEI packet received {"connection_id":205542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":205542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:26:01] local.INFO: TCP Data received {"connection_id":205542,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:26:01] local.INFO: Processing buffer {"connection_id":205542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:26:01] local.INFO: Packet analysis {"connection_id":205542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e9"} 
[2026-10-05 03:26:01] local.INFO: Extracted packet for processing {"connection_id":205542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e9"} 
[2026-10-05 03:26:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534542592001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03: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-10-05 03:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791150858000,"timestamp_ms":1791150858000,"timestamp_seconds":1791150858,"priority":1,"record_length":96,"hex_timestamp":"000001a108e91f10"} 
[2026-10-05 03:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:26:01] 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-10-05 03: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":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:26: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-10-05 03: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-10-05 03:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534542592001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534542592001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:26:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:26:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534542592001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":205542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:26:01] local.INFO: GPS data processed {"connection_id":205542,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:26:01] local.INFO: Acknowledgment sent {"connection_id":205542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:26:05] local.INFO: TCP Data received {"connection_id":205543,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205543,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:26:05] local.INFO: Processing buffer {"connection_id":205543,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:26:05] local.INFO: IMEI packet received {"connection_id":205543,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":205543,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:26:06] local.INFO: TCP Data received {"connection_id":205543,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:26:06] local.INFO: Processing buffer {"connection_id":205543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:26:06] local.INFO: Packet analysis {"connection_id":205543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e8"} 
[2026-10-05 03:26:06] local.INFO: Extracted packet for processing {"connection_id":205543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e8"} 
[2026-10-05 03:26:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534538240001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791150841000,"timestamp_ms":1791150841000,"timestamp_seconds":1791150841,"priority":1,"record_length":96,"hex_timestamp":"000001a108e8dca8"} 
[2026-10-05 03:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:26:06] 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-10-05 03:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534538240001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534538240001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:26:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:26:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534538240001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":205543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:26:06] local.INFO: GPS data processed {"connection_id":205543,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:26:06] local.INFO: Acknowledgment sent {"connection_id":205543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:26:32] local.INFO: TCP Data received {"connection_id":205542,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:26:32] local.INFO: Processing buffer {"connection_id":205542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:26:32] local.INFO: Packet analysis {"connection_id":205542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e9"} 
[2026-10-05 03:26:32] local.INFO: Extracted packet for processing {"connection_id":205542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e9"} 
[2026-10-05 03:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:26: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-10-05 03:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534542592001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:26: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-10-05 03:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791150858000,"timestamp_ms":1791150858000,"timestamp_seconds":1791150858,"priority":1,"record_length":96,"hex_timestamp":"000001a108e91f10"} 
[2026-10-05 03:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:26:32] 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-10-05 03:26: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-10-05 03:26: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-10-05 03:26: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-10-05 03:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534542592001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534542592001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:26:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:26:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534542592001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":205542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:26:32] local.INFO: GPS data processed {"connection_id":205542,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:26:32] local.INFO: Acknowledgment sent {"connection_id":205542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:26:37] local.INFO: TCP Data received {"connection_id":205543,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:26:37] local.INFO: Processing buffer {"connection_id":205543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:26:37] local.INFO: Packet analysis {"connection_id":205543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e8"} 
[2026-10-05 03:26:37] local.INFO: Extracted packet for processing {"connection_id":205543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e8"} 
[2026-10-05 03:26:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534538240001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791150841000,"timestamp_ms":1791150841000,"timestamp_seconds":1791150841,"priority":1,"record_length":96,"hex_timestamp":"000001a108e8dca8"} 
[2026-10-05 03:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:26:37] 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-10-05 03:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534538240001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534538240001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:26:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:26:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534538240001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":205543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:26:37] local.INFO: GPS data processed {"connection_id":205543,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:26:37] local.INFO: Acknowledgment sent {"connection_id":205543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:26:56] local.INFO: TCP Data received {"connection_id":204103,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:26:56] local.INFO: Processing buffer {"connection_id":204103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:26:56] local.INFO: IMEI packet received {"connection_id":204103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":204103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:27:01] local.INFO: TCP Data received {"connection_id":204103,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:27:01] local.INFO: Processing buffer {"connection_id":204103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:27:01] local.INFO: IMEI packet received {"connection_id":204103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":204103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:27:01] local.INFO: TCP Data received {"connection_id":204103,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:27:01] local.INFO: Processing buffer {"connection_id":204103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:27:01] local.INFO: Packet analysis {"connection_id":204103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e9"} 
[2026-10-05 03:27:01] local.INFO: Extracted packet for processing {"connection_id":204103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e9"} 
[2026-10-05 03:27:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 03:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534542592001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 03:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791150858000,"timestamp_ms":1791150858000,"timestamp_seconds":1791150858,"priority":1,"record_length":96,"hex_timestamp":"000001a108e91f10"} 
[2026-10-05 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-10-05 03:27:01] 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-10-05 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:27: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-10-05 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-10-05 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-10-05 03:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534542592001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534542592001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:27:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:27:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534542592001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":204103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:27:01] local.INFO: GPS data processed {"connection_id":204103,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:27:01] local.INFO: Acknowledgment sent {"connection_id":204103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:27:05] local.INFO: TCP Data received {"connection_id":204104,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:27:05] local.INFO: Processing buffer {"connection_id":204104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:27:05] local.INFO: IMEI packet received {"connection_id":204104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":204104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:27:10] local.INFO: TCP Data received {"connection_id":204104,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:27:10] local.INFO: Processing buffer {"connection_id":204104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:27:10] local.INFO: IMEI packet received {"connection_id":204104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":204104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:27:11] local.INFO: TCP Data received {"connection_id":204104,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:27:11] local.INFO: Processing buffer {"connection_id":204104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:27:11] local.INFO: Packet analysis {"connection_id":204104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e8"} 
[2026-10-05 03:27:11] local.INFO: Extracted packet for processing {"connection_id":204104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e8"} 
[2026-10-05 03:27:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534538240001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791150841000,"timestamp_ms":1791150841000,"timestamp_seconds":1791150841,"priority":1,"record_length":96,"hex_timestamp":"000001a108e8dca8"} 
[2026-10-05 03:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:27:11] 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-10-05 03: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-10-05 03:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534538240001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534538240001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:27:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:27:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534538240001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":204104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965015,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:27:11] local.INFO: GPS data processed {"connection_id":204104,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:27:11] local.INFO: Acknowledgment sent {"connection_id":204104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:27:32] local.INFO: TCP Data received {"connection_id":204103,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:27:32] local.INFO: Processing buffer {"connection_id":204103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:27:32] local.INFO: Packet analysis {"connection_id":204103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e9"} 
[2026-10-05 03:27:32] local.INFO: Extracted packet for processing {"connection_id":204103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e9"} 
[2026-10-05 03:27:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 03:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534542592001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 03:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791150858000,"timestamp_ms":1791150858000,"timestamp_seconds":1791150858,"priority":1,"record_length":96,"hex_timestamp":"000001a108e91f10"} 
[2026-10-05 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-10-05 03:27:32] 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-10-05 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:27: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-10-05 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-10-05 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-10-05 03:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534542592001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534542592001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:27:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:27:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534542592001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":204103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:27:32] local.INFO: GPS data processed {"connection_id":204103,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:27:32] local.INFO: Acknowledgment sent {"connection_id":204103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:27:43] local.INFO: TCP Data received {"connection_id":204104,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:27:43] local.INFO: Processing buffer {"connection_id":204104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:27:43] local.INFO: Packet analysis {"connection_id":204104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e8"} 
[2026-10-05 03:27:43] local.INFO: Extracted packet for processing {"connection_id":204104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e8"} 
[2026-10-05 03:27:43] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534538240001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791150841000,"timestamp_ms":1791150841000,"timestamp_seconds":1791150841,"priority":1,"record_length":96,"hex_timestamp":"000001a108e8dca8"} 
[2026-10-05 03:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:27:43] 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-10-05 03:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534538240001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534538240001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:27:43] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:27:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534538240001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":204104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965017,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:27:43] local.INFO: GPS data processed {"connection_id":204104,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:27:43] local.INFO: Acknowledgment sent {"connection_id":204104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:27:56] local.INFO: TCP Data received {"connection_id":205544,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:27:56] local.INFO: Processing buffer {"connection_id":205544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:27:56] local.INFO: IMEI packet received {"connection_id":205544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":205544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:28:00] local.INFO: TCP Data received {"connection_id":207099,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:28:00] local.INFO: Processing buffer {"connection_id":207099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:28:00] local.INFO: IMEI packet received {"connection_id":207099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":207099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:28:01] local.INFO: TCP Data received {"connection_id":205544,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:28:01] local.INFO: Processing buffer {"connection_id":205544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:28:01] local.INFO: IMEI packet received {"connection_id":205544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":205544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:28:01] local.INFO: TCP Data received {"connection_id":205544,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:28:01] local.INFO: Processing buffer {"connection_id":205544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:28:01] local.INFO: Packet analysis {"connection_id":205544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e9"} 
[2026-10-05 03:28:01] local.INFO: Extracted packet for processing {"connection_id":205544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e9"} 
[2026-10-05 03:28:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 03:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534542592001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 03:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791150858000,"timestamp_ms":1791150858000,"timestamp_seconds":1791150858,"priority":1,"record_length":96,"hex_timestamp":"000001a108e91f10"} 
[2026-10-05 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-10-05 03:28:01] 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-10-05 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:28: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-10-05 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-10-05 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-10-05 03:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534542592001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534542592001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:28:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:28:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534542592001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":205544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:28:02] local.INFO: GPS data processed {"connection_id":205544,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:28:02] local.INFO: Acknowledgment sent {"connection_id":205544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:28:05] local.INFO: TCP Data received {"connection_id":207099,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:28:05] local.INFO: Processing buffer {"connection_id":207099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:28:05] local.INFO: IMEI packet received {"connection_id":207099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":207099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:28:06] local.INFO: TCP Data received {"connection_id":207099,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:28:06] local.INFO: Processing buffer {"connection_id":207099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:28:06] local.INFO: Packet analysis {"connection_id":207099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e8"} 
[2026-10-05 03:28:06] local.INFO: Extracted packet for processing {"connection_id":207099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e8"} 
[2026-10-05 03:28:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 03:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534538240001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791150841000,"timestamp_ms":1791150841000,"timestamp_seconds":1791150841,"priority":1,"record_length":96,"hex_timestamp":"000001a108e8dca8"} 
[2026-10-05 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-10-05 03:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:28:06] 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-10-05 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-10-05 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-10-05 03:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534538240001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534538240001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:28:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:28:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534538240001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":207099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:28:06] local.INFO: GPS data processed {"connection_id":207099,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:28:06] local.INFO: Acknowledgment sent {"connection_id":207099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:28:33] local.INFO: TCP Data received {"connection_id":205544,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:28:33] local.INFO: Processing buffer {"connection_id":205544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:28:33] local.INFO: Packet analysis {"connection_id":205544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e9"} 
[2026-10-05 03:28:33] local.INFO: Extracted packet for processing {"connection_id":205544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e9"} 
[2026-10-05 03:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534542592001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:28: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-10-05 03:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791150858000,"timestamp_ms":1791150858000,"timestamp_seconds":1791150858,"priority":1,"record_length":96,"hex_timestamp":"000001a108e91f10"} 
[2026-10-05 03:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:28:33] 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-10-05 03: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:28:33] 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-10-05 03: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-10-05 03:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534542592001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534542592001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:28:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:28:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534542592001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":205544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:28:33] local.INFO: GPS data processed {"connection_id":205544,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:28:33] local.INFO: Acknowledgment sent {"connection_id":205544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:28:37] local.INFO: TCP Data received {"connection_id":207099,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:28:37] local.INFO: Processing buffer {"connection_id":207099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e8dca8012d7c2ac005dac8a0000000bf27..."} 
[2026-10-05 03:28:37] local.INFO: Packet analysis {"connection_id":207099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e8"} 
[2026-10-05 03:28:37] local.INFO: Extracted packet for processing {"connection_id":207099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e8"} 
[2026-10-05 03:28:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534538240001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791150841000,"timestamp_ms":1791150841000,"timestamp_seconds":1791150841,"priority":1,"record_length":96,"hex_timestamp":"000001a108e8dca8"} 
[2026-10-05 03:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:28:37] 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-10-05 03:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534538240001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534538240001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:28:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:28:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534538240001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":207099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965021,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:28:37] local.INFO: GPS data processed {"connection_id":207099,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:28:37] local.INFO: Acknowledgment sent {"connection_id":207099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:29:00] local.INFO: TCP Data received {"connection_id":204106,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:29:00] local.INFO: Processing buffer {"connection_id":204106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:29:00] local.INFO: IMEI packet received {"connection_id":204106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":204106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:29:02] local.INFO: TCP Data received {"connection_id":207100,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:29:02] local.INFO: Processing buffer {"connection_id":207100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:29:02] local.INFO: IMEI packet received {"connection_id":207100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":207100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:29:04] local.INFO: TCP Data received {"connection_id":204106,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:29:04] local.INFO: Processing buffer {"connection_id":204106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:29:04] local.INFO: IMEI packet received {"connection_id":204106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":204106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:29:05] local.INFO: TCP Data received {"connection_id":204106,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:29:05] local.INFO: Processing buffer {"connection_id":204106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:29:05] local.INFO: Packet analysis {"connection_id":204106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:29:05] local.INFO: Extracted packet for processing {"connection_id":204106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:29:05] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534615296001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791151142000,"timestamp_ms":1791151142000,"timestamp_seconds":1791151142,"priority":1,"record_length":96,"hex_timestamp":"000001a108ed7470"} 
[2026-10-05 03:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:29:05] 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-10-05 03: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-10-05 03:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534615296001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534615296001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:29:05] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:29:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534615296001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":204106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:29:05] local.INFO: GPS data processed {"connection_id":204106,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:29:05] local.INFO: Acknowledgment sent {"connection_id":204106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:29:06] local.INFO: TCP Data received {"connection_id":207100,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:29:06] local.INFO: Processing buffer {"connection_id":207100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:29:06] local.INFO: IMEI packet received {"connection_id":207100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":207100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:29:07] local.INFO: TCP Data received {"connection_id":207100,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:29:07] local.INFO: Processing buffer {"connection_id":207100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:29:07] local.INFO: Packet analysis {"connection_id":207100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e9"} 
[2026-10-05 03:29:07] local.INFO: Extracted packet for processing {"connection_id":207100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e9"} 
[2026-10-05 03:29:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534542592001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:29: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-10-05 03:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791150858000,"timestamp_ms":1791150858000,"timestamp_seconds":1791150858,"priority":1,"record_length":96,"hex_timestamp":"000001a108e91f10"} 
[2026-10-05 03:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:29: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-10-05 03: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:29:07] 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-10-05 03: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-10-05 03:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534542592001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534542592001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:29:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:29:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534542592001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":207100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:29:07] local.INFO: GPS data processed {"connection_id":207100,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:29:07] local.INFO: Acknowledgment sent {"connection_id":207100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:29:11] local.INFO: TCP Data received {"connection_id":207100,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:29:11] local.INFO: Processing buffer {"connection_id":207100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108e91f10012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:29:11] local.INFO: Packet analysis {"connection_id":207100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108e9"} 
[2026-10-05 03:29:11] local.INFO: Extracted packet for processing {"connection_id":207100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108e9"} 
[2026-10-05 03:29:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534542592001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791150858000,"timestamp_ms":1791150858000,"timestamp_seconds":1791150858,"priority":1,"record_length":96,"hex_timestamp":"000001a108e91f10"} 
[2026-10-05 03:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:29:11] 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-10-05 03:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:29:11] 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-10-05 03:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534542592001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534542592001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:29:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:29:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534542592001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":207100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:29:11] local.INFO: GPS data processed {"connection_id":207100,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:29:11] local.INFO: Acknowledgment sent {"connection_id":207100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:29:36] local.INFO: TCP Data received {"connection_id":204106,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:29:36] local.INFO: Processing buffer {"connection_id":204106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:29:36] local.INFO: Packet analysis {"connection_id":204106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:29:36] local.INFO: Extracted packet for processing {"connection_id":204106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:29:36] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534615296001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791151142000,"timestamp_ms":1791151142000,"timestamp_seconds":1791151142,"priority":1,"record_length":96,"hex_timestamp":"000001a108ed7470"} 
[2026-10-05 03:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:29:36] 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-10-05 03:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534615296001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534615296001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:29:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:29:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534615296001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":204106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:29:36] local.INFO: GPS data processed {"connection_id":204106,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:29:36] local.INFO: Acknowledgment sent {"connection_id":204106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:29:56] local.INFO: TCP Data received {"connection_id":204035,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:29:56] local.INFO: Processing buffer {"connection_id":204035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:29:56] local.INFO: IMEI packet received {"connection_id":204035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":204035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:29:57] local.INFO: TCP Data received {"connection_id":204035,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:29:57] local.INFO: Processing buffer {"connection_id":204035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:29:57] local.INFO: IMEI packet received {"connection_id":204035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":204035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:30:00] local.INFO: TCP Data received {"connection_id":205546,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205546,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:30:00] local.INFO: Processing buffer {"connection_id":205546,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:30:00] local.INFO: IMEI packet received {"connection_id":205546,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":205546,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:30:01] local.INFO: TCP Data received {"connection_id":204035,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:30:01] local.INFO: Processing buffer {"connection_id":204035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:30:01] local.INFO: IMEI packet received {"connection_id":204035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":204035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:30:01] local.INFO: TCP Data received {"connection_id":204035,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:30:02] local.INFO: Processing buffer {"connection_id":204035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:30:02] local.INFO: Packet analysis {"connection_id":204035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:30:02] local.INFO: Extracted packet for processing {"connection_id":204035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534619648001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:30:02] 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-10-05 03:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791151159000,"timestamp_ms":1791151159000,"timestamp_seconds":1791151159,"priority":1,"record_length":96,"hex_timestamp":"000001a108edb6d8"} 
[2026-10-05 03:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 03:30:02] 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-10-05 03: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-10-05 03:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:30: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-10-05 03:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534619648001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534619648001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:30:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:30:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534619648001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":204035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:30:02] local.INFO: GPS data processed {"connection_id":204035,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:30:02] local.INFO: Acknowledgment sent {"connection_id":204035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:30:05] local.INFO: TCP Data received {"connection_id":205546,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205546,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:30:05] local.INFO: Processing buffer {"connection_id":205546,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:30:05] local.INFO: IMEI packet received {"connection_id":205546,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":205546,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:30:06] local.INFO: TCP Data received {"connection_id":205546,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:30:06] local.INFO: Processing buffer {"connection_id":205546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:30:06] local.INFO: Packet analysis {"connection_id":205546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:30:06] local.INFO: Extracted packet for processing {"connection_id":205546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:30:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534615296001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791151142000,"timestamp_ms":1791151142000,"timestamp_seconds":1791151142,"priority":1,"record_length":96,"hex_timestamp":"000001a108ed7470"} 
[2026-10-05 03:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:30:06] 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-10-05 03:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534615296001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534615296001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:30:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:30:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534615296001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":205546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965027,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:30:07] local.INFO: GPS data processed {"connection_id":205546,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:30:07] local.INFO: Acknowledgment sent {"connection_id":205546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:30:34] local.INFO: TCP Data received {"connection_id":204035,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:30:34] local.INFO: Processing buffer {"connection_id":204035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:30:34] local.INFO: Packet analysis {"connection_id":204035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:30:34] local.INFO: Extracted packet for processing {"connection_id":204035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:30:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534619648001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:30:34] 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-10-05 03:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791151159000,"timestamp_ms":1791151159000,"timestamp_seconds":1791151159,"priority":1,"record_length":96,"hex_timestamp":"000001a108edb6d8"} 
[2026-10-05 03:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 03:30:34] 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-10-05 03: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-10-05 03:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":204035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":204035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":204035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534619648001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534619648001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:30:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:30:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534619648001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":204035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:30:34] local.INFO: GPS data processed {"connection_id":204035,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:30:34] local.INFO: Acknowledgment sent {"connection_id":204035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:30:38] local.INFO: TCP Data received {"connection_id":205546,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:30:38] local.INFO: Processing buffer {"connection_id":205546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:30:38] local.INFO: Packet analysis {"connection_id":205546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:30:38] local.INFO: Extracted packet for processing {"connection_id":205546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:30:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534615296001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791151142000,"timestamp_ms":1791151142000,"timestamp_seconds":1791151142,"priority":1,"record_length":96,"hex_timestamp":"000001a108ed7470"} 
[2026-10-05 03:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:30:38] 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-10-05 03: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-10-05 03:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534615296001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534615296001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:30:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:30:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534615296001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":205546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965029,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:30:38] local.INFO: GPS data processed {"connection_id":205546,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:30:38] local.INFO: Acknowledgment sent {"connection_id":205546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:31:00] local.INFO: TCP Data received {"connection_id":204107,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:31:00] local.INFO: Processing buffer {"connection_id":204107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:31:00] local.INFO: IMEI packet received {"connection_id":204107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":204107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:31:01] local.INFO: TCP Data received {"connection_id":204036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:31:01] local.INFO: Processing buffer {"connection_id":204036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:31:01] local.INFO: IMEI packet received {"connection_id":204036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":204036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:31:05] local.INFO: TCP Data received {"connection_id":204107,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:31:05] local.INFO: Processing buffer {"connection_id":204107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:31:05] local.INFO: IMEI packet received {"connection_id":204107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":204107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:31:06] local.INFO: TCP Data received {"connection_id":204036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:31:06] local.INFO: Processing buffer {"connection_id":204036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:31:06] local.INFO: IMEI packet received {"connection_id":204036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":204036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:31:06] local.INFO: TCP Data received {"connection_id":204107,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:31:06] local.INFO: Processing buffer {"connection_id":204107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:31:06] local.INFO: Packet analysis {"connection_id":204107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:31:06] local.INFO: Extracted packet for processing {"connection_id":204107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:31:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534615296001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791151142000,"timestamp_ms":1791151142000,"timestamp_seconds":1791151142,"priority":1,"record_length":96,"hex_timestamp":"000001a108ed7470"} 
[2026-10-05 03:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:31:06] 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-10-05 03:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534615296001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534615296001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:31:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:31:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534615296001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":204107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965030,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:31:06] local.INFO: GPS data processed {"connection_id":204107,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:31:06] local.INFO: Acknowledgment sent {"connection_id":204107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:31:07] local.INFO: TCP Data received {"connection_id":204036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:31:07] local.INFO: Processing buffer {"connection_id":204036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:31:07] local.INFO: Packet analysis {"connection_id":204036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:31:07] local.INFO: Extracted packet for processing {"connection_id":204036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:31:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:31: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-10-05 03:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534619648001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:31:07] 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-10-05 03:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791151159000,"timestamp_ms":1791151159000,"timestamp_seconds":1791151159,"priority":1,"record_length":96,"hex_timestamp":"000001a108edb6d8"} 
[2026-10-05 03:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 03:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:31: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-10-05 03:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534619648001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534619648001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:31:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:31:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534619648001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":204036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:31:07] local.INFO: GPS data processed {"connection_id":204036,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:31:07] local.INFO: Acknowledgment sent {"connection_id":204036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:31:09] local.INFO: TCP Data received {"connection_id":205547,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:31:09] local.INFO: Processing buffer {"connection_id":205547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:31:09] local.INFO: IMEI packet received {"connection_id":205547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 03:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":205547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:31:11] local.INFO: TCP Data received {"connection_id":204036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:31:11] local.INFO: Processing buffer {"connection_id":204036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:31:11] local.INFO: Packet analysis {"connection_id":204036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:31:11] local.INFO: Extracted packet for processing {"connection_id":204036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:31:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534619648001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:31:11] 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-10-05 03:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791151159000,"timestamp_ms":1791151159000,"timestamp_seconds":1791151159,"priority":1,"record_length":96,"hex_timestamp":"000001a108edb6d8"} 
[2026-10-05 03:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 03:31:11] 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-10-05 03:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534619648001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534619648001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:31:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534619648001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":204036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:31:11] local.INFO: GPS data processed {"connection_id":204036,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:31:11] local.INFO: Acknowledgment sent {"connection_id":204036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:31:37] local.INFO: TCP Data received {"connection_id":204107,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:31:37] local.INFO: Processing buffer {"connection_id":204107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:31:37] local.INFO: Packet analysis {"connection_id":204107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:31:37] local.INFO: Extracted packet for processing {"connection_id":204107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:31:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534615296001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791151142000,"timestamp_ms":1791151142000,"timestamp_seconds":1791151142,"priority":1,"record_length":96,"hex_timestamp":"000001a108ed7470"} 
[2026-10-05 03:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:31:37] 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-10-05 03:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534615296001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534615296001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:31:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:31:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534615296001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":204107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:31:37] local.INFO: GPS data processed {"connection_id":204107,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:31:37] local.INFO: Acknowledgment sent {"connection_id":204107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:31:49] local.INFO: TCP Data received {"connection_id":204108,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:31:49] local.INFO: Processing buffer {"connection_id":204108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:31:49] local.INFO: IMEI packet received {"connection_id":204108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 03:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":204108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:31:56] local.INFO: TCP Data received {"connection_id":205548,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:31:56] local.INFO: Processing buffer {"connection_id":205548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:31:56] local.INFO: IMEI packet received {"connection_id":205548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":205548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:32:00] local.INFO: TCP Data received {"connection_id":204109,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:32:00] local.INFO: Processing buffer {"connection_id":204109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:32:00] local.INFO: IMEI packet received {"connection_id":204109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":204109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:32:01] local.INFO: TCP Data received {"connection_id":205548,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:32:01] local.INFO: Processing buffer {"connection_id":205548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:32:01] local.INFO: IMEI packet received {"connection_id":205548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":205548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:32:01] local.INFO: TCP Data received {"connection_id":205548,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:32:01] local.INFO: Processing buffer {"connection_id":205548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:32:01] local.INFO: Packet analysis {"connection_id":205548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:32:01] local.INFO: Extracted packet for processing {"connection_id":205548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:32:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 03:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534619648001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:32: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-10-05 03:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791151159000,"timestamp_ms":1791151159000,"timestamp_seconds":1791151159,"priority":1,"record_length":96,"hex_timestamp":"000001a108edb6d8"} 
[2026-10-05 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-10-05 03:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 03:32: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-10-05 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-10-05 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-10-05 03:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534619648001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534619648001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:32:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:32:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534619648001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":205548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:32:01] local.INFO: GPS data processed {"connection_id":205548,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:32:01] local.INFO: Acknowledgment sent {"connection_id":205548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:32:05] local.INFO: TCP Data received {"connection_id":204109,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:32:05] local.INFO: Processing buffer {"connection_id":204109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:32:05] local.INFO: IMEI packet received {"connection_id":204109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":204109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:32:06] local.INFO: TCP Data received {"connection_id":204109,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:32:06] local.INFO: Processing buffer {"connection_id":204109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:32:06] local.INFO: Packet analysis {"connection_id":204109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:32:06] local.INFO: Extracted packet for processing {"connection_id":204109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:32:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 03:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534615296001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791151142000,"timestamp_ms":1791151142000,"timestamp_seconds":1791151142,"priority":1,"record_length":96,"hex_timestamp":"000001a108ed7470"} 
[2026-10-05 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-10-05 03:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:32:06] 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-10-05 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-10-05 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-10-05 03:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534615296001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534615296001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:32:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:32:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534615296001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":204109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:32:06] local.INFO: GPS data processed {"connection_id":204109,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:32:06] local.INFO: Acknowledgment sent {"connection_id":204109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:32:32] local.INFO: TCP Data received {"connection_id":205548,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:32:32] local.INFO: Processing buffer {"connection_id":205548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:32:32] local.INFO: Packet analysis {"connection_id":205548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:32:32] local.INFO: Extracted packet for processing {"connection_id":205548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:32:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534619648001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:32: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-10-05 03:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791151159000,"timestamp_ms":1791151159000,"timestamp_seconds":1791151159,"priority":1,"record_length":96,"hex_timestamp":"000001a108edb6d8"} 
[2026-10-05 03:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 03:32:32] 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-10-05 03: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-10-05 03:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534619648001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534619648001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:32:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:32:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534619648001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":205548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:32:32] local.INFO: GPS data processed {"connection_id":205548,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:32:32] local.INFO: Acknowledgment sent {"connection_id":205548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:32:37] local.INFO: TCP Data received {"connection_id":204109,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:32:37] local.INFO: Processing buffer {"connection_id":204109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:32:37] local.INFO: Packet analysis {"connection_id":204109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:32:37] local.INFO: Extracted packet for processing {"connection_id":204109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:32:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534615296001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791151142000,"timestamp_ms":1791151142000,"timestamp_seconds":1791151142,"priority":1,"record_length":96,"hex_timestamp":"000001a108ed7470"} 
[2026-10-05 03:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:32:37] 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-10-05 03:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534615296001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534615296001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:32:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:32:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534615296001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":204109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965037,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:32:38] local.INFO: GPS data processed {"connection_id":204109,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:32:38] local.INFO: Acknowledgment sent {"connection_id":204109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:32:56] local.INFO: TCP Data received {"connection_id":207101,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:32:56] local.INFO: Processing buffer {"connection_id":207101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:32:56] local.INFO: IMEI packet received {"connection_id":207101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":207101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:33:00] local.INFO: TCP Data received {"connection_id":205550,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:33:00] local.INFO: Processing buffer {"connection_id":205550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:33:00] local.INFO: IMEI packet received {"connection_id":205550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":205550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:33:01] local.INFO: TCP Data received {"connection_id":207101,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:33:01] local.INFO: Processing buffer {"connection_id":207101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:33:01] local.INFO: IMEI packet received {"connection_id":207101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":207101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:33:02] local.INFO: TCP Data received {"connection_id":207101,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:33:02] local.INFO: Processing buffer {"connection_id":207101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:33:02] local.INFO: Packet analysis {"connection_id":207101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:33:02] local.INFO: Extracted packet for processing {"connection_id":207101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534619648001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:33:02] 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-10-05 03:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791151159000,"timestamp_ms":1791151159000,"timestamp_seconds":1791151159,"priority":1,"record_length":96,"hex_timestamp":"000001a108edb6d8"} 
[2026-10-05 03:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 03:33:02] 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-10-05 03: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-10-05 03:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534619648001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534619648001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:33:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:33:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534619648001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":207101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:33:02] local.INFO: GPS data processed {"connection_id":207101,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:33:02] local.INFO: Acknowledgment sent {"connection_id":207101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:33:05] local.INFO: TCP Data received {"connection_id":205550,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:33:05] local.INFO: Processing buffer {"connection_id":205550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:33:05] local.INFO: IMEI packet received {"connection_id":205550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":205550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:33:06] local.INFO: TCP Data received {"connection_id":205550,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:33:06] local.INFO: Processing buffer {"connection_id":205550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:33:06] local.INFO: Packet analysis {"connection_id":205550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:33:06] local.INFO: Extracted packet for processing {"connection_id":205550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:33:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534615296001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791151142000,"timestamp_ms":1791151142000,"timestamp_seconds":1791151142,"priority":1,"record_length":96,"hex_timestamp":"000001a108ed7470"} 
[2026-10-05 03:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:33:06] 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-10-05 03:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534615296001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534615296001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:33:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:33:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534615296001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":205550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:33:06] local.INFO: GPS data processed {"connection_id":205550,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:33:06] local.INFO: Acknowledgment sent {"connection_id":205550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:33:34] local.INFO: TCP Data received {"connection_id":207101,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:33:34] local.INFO: Processing buffer {"connection_id":207101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:33:34] local.INFO: Packet analysis {"connection_id":207101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:33:34] local.INFO: Extracted packet for processing {"connection_id":207101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:33:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534619648001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:33:34] 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-10-05 03:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791151159000,"timestamp_ms":1791151159000,"timestamp_seconds":1791151159,"priority":1,"record_length":96,"hex_timestamp":"000001a108edb6d8"} 
[2026-10-05 03:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 03:33:34] 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-10-05 03: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-10-05 03:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":207101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":207101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":207101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534619648001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534619648001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:33:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:33:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534619648001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":207101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:33:34] local.INFO: GPS data processed {"connection_id":207101,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:33:34] local.INFO: Acknowledgment sent {"connection_id":207101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:33:38] local.INFO: TCP Data received {"connection_id":205550,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:33:38] local.INFO: Processing buffer {"connection_id":205550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ed7470012d7c2ac005dac8a0000000bf29..."} 
[2026-10-05 03:33:38] local.INFO: Packet analysis {"connection_id":205550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:33:38] local.INFO: Extracted packet for processing {"connection_id":205550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:33:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534615296001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791151142000,"timestamp_ms":1791151142000,"timestamp_seconds":1791151142,"priority":1,"record_length":96,"hex_timestamp":"000001a108ed7470"} 
[2026-10-05 03:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:33:38] 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-10-05 03:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534615296001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534615296001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:33:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:33:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534615296001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":205550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965041,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:33:38] local.INFO: GPS data processed {"connection_id":205550,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:33:38] local.INFO: Acknowledgment sent {"connection_id":205550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:33:56] local.INFO: TCP Data received {"connection_id":204110,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:33:56] local.INFO: Processing buffer {"connection_id":204110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:33:56] local.INFO: IMEI packet received {"connection_id":204110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":204110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:34:00] local.INFO: TCP Data received {"connection_id":204037,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:34:00] local.INFO: Processing buffer {"connection_id":204037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:34:00] local.INFO: IMEI packet received {"connection_id":204037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":204037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:34:01] local.INFO: TCP Data received {"connection_id":204110,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:34:01] local.INFO: Processing buffer {"connection_id":204110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:34:01] local.INFO: IMEI packet received {"connection_id":204110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":204110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:34:02] local.INFO: TCP Data received {"connection_id":204110,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:34:02] local.INFO: Processing buffer {"connection_id":204110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:34:02] local.INFO: Packet analysis {"connection_id":204110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:34:02] local.INFO: Extracted packet for processing {"connection_id":204110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:34:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534619648001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:34:02] 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-10-05 03:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791151159000,"timestamp_ms":1791151159000,"timestamp_seconds":1791151159,"priority":1,"record_length":96,"hex_timestamp":"000001a108edb6d8"} 
[2026-10-05 03:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 03:34:02] 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-10-05 03:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:34: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-10-05 03:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534619648001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534619648001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:34:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:34:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534619648001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":204110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:34:02] local.INFO: GPS data processed {"connection_id":204110,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:34:02] local.INFO: Acknowledgment sent {"connection_id":204110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:34:05] local.INFO: TCP Data received {"connection_id":204037,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:34:05] local.INFO: Processing buffer {"connection_id":204037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:34:05] local.INFO: IMEI packet received {"connection_id":204037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":204037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:34:06] local.INFO: TCP Data received {"connection_id":204037,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:34:06] local.INFO: Processing buffer {"connection_id":204037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:34:06] local.INFO: Packet analysis {"connection_id":204037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:34:06] local.INFO: Extracted packet for processing {"connection_id":204037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:34:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534692352001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791151443000,"timestamp_ms":1791151443000,"timestamp_seconds":1791151443,"priority":1,"record_length":96,"hex_timestamp":"000001a108f20c38"} 
[2026-10-05 03:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:34:06] 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-10-05 03:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534692352001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534692352001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:34:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:34:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534692352001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":204037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965043,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:34:06] local.INFO: GPS data processed {"connection_id":204037,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:34:06] local.INFO: Acknowledgment sent {"connection_id":204037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:34:32] local.INFO: TCP Data received {"connection_id":204110,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:34:32] local.INFO: Processing buffer {"connection_id":204110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108edb6d8012d7f91c005afd9f00009010120..."} 
[2026-10-05 03:34:32] local.INFO: Packet analysis {"connection_id":204110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:34:32] local.INFO: Extracted packet for processing {"connection_id":204110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ed"} 
[2026-10-05 03:34:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 03:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534619648001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:34: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-10-05 03:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791151159000,"timestamp_ms":1791151159000,"timestamp_seconds":1791151159,"priority":1,"record_length":96,"hex_timestamp":"000001a108edb6d8"} 
[2026-10-05 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-10-05 03:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 03:34:32] 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-10-05 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-10-05 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-10-05 03:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534619648001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534619648001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:34:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:34:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534619648001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":204110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:34:32] local.INFO: GPS data processed {"connection_id":204110,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:34:32] local.INFO: Acknowledgment sent {"connection_id":204110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:34:38] local.INFO: TCP Data received {"connection_id":204037,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:34:38] local.INFO: Processing buffer {"connection_id":204037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:34:38] local.INFO: Packet analysis {"connection_id":204037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:34:38] local.INFO: Extracted packet for processing {"connection_id":204037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:34:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534692352001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791151443000,"timestamp_ms":1791151443000,"timestamp_seconds":1791151443,"priority":1,"record_length":96,"hex_timestamp":"000001a108f20c38"} 
[2026-10-05 03:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:34:38] 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-10-05 03:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534692352001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534692352001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:34:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:34:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534692352001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":204037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965045,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:34:38] local.INFO: GPS data processed {"connection_id":204037,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:34:38] local.INFO: Acknowledgment sent {"connection_id":204037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:34:56] local.INFO: TCP Data received {"connection_id":207102,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:34:56] local.INFO: Processing buffer {"connection_id":207102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:34:56] local.INFO: IMEI packet received {"connection_id":207102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":207102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:35:00] local.INFO: TCP Data received {"connection_id":207103,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207103,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:35:00] local.INFO: Processing buffer {"connection_id":207103,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:35:00] local.INFO: IMEI packet received {"connection_id":207103,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":207103,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:35:03] local.INFO: TCP Data received {"connection_id":207102,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:35:03] local.INFO: Processing buffer {"connection_id":207102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:35:03] local.INFO: IMEI packet received {"connection_id":207102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":207102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:35:04] local.INFO: TCP Data received {"connection_id":207102,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:35:04] local.INFO: Processing buffer {"connection_id":207102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:35:04] local.INFO: IMEI packet received {"connection_id":207102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":207102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:35:05] local.INFO: TCP Data received {"connection_id":207102,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:35:05] local.INFO: Processing buffer {"connection_id":207102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:35:05] local.INFO: Packet analysis {"connection_id":207102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:35:05] local.INFO: Extracted packet for processing {"connection_id":207102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:35:05] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534696704001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:35: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-10-05 03:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791151460000,"timestamp_ms":1791151460000,"timestamp_seconds":1791151460,"priority":1,"record_length":96,"hex_timestamp":"000001a108f24ea0"} 
[2026-10-05 03:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:35: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-10-05 03: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-10-05 03:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534696704001,"66":24658,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534696704001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:35:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:35:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534696704001,"power":24658,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":207102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:35:05] local.INFO: GPS data processed {"connection_id":207102,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:35:05] local.INFO: Acknowledgment sent {"connection_id":207102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:35:05] local.INFO: TCP Data received {"connection_id":207103,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207103,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:35:05] local.INFO: Processing buffer {"connection_id":207103,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:35:05] local.INFO: IMEI packet received {"connection_id":207103,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":207103,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:35:06] local.INFO: TCP Data received {"connection_id":207103,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:35:06] local.INFO: Processing buffer {"connection_id":207103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:35:06] local.INFO: Packet analysis {"connection_id":207103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:35:06] local.INFO: Extracted packet for processing {"connection_id":207103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:35:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534692352001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791151443000,"timestamp_ms":1791151443000,"timestamp_seconds":1791151443,"priority":1,"record_length":96,"hex_timestamp":"000001a108f20c38"} 
[2026-10-05 03:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:35:06] 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-10-05 03:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534692352001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534692352001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:35:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:35:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534692352001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":207103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:35:06] local.INFO: GPS data processed {"connection_id":207103,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:35:06] local.INFO: Acknowledgment sent {"connection_id":207103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:35:06] local.INFO: TCP Data received {"connection_id":207102,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:35:06] local.INFO: Processing buffer {"connection_id":207102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:35:06] local.INFO: Packet analysis {"connection_id":207102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:35:06] local.INFO: Extracted packet for processing {"connection_id":207102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:35:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534696704001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:35:06] 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-10-05 03:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791151460000,"timestamp_ms":1791151460000,"timestamp_seconds":1791151460,"priority":1,"record_length":96,"hex_timestamp":"000001a108f24ea0"} 
[2026-10-05 03:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:35:06] 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-10-05 03:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534696704001,"66":24658,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534696704001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:35:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:35:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534696704001,"power":24658,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":207102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:35:06] local.INFO: GPS data processed {"connection_id":207102,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:35:06] local.INFO: Acknowledgment sent {"connection_id":207102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:35:37] local.INFO: TCP Data received {"connection_id":207102,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:35:37] local.INFO: Processing buffer {"connection_id":207102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:35:37] local.INFO: Packet analysis {"connection_id":207102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:35:37] local.INFO: Extracted packet for processing {"connection_id":207102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:35:37] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534696704001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:35:37] 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-10-05 03:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791151460000,"timestamp_ms":1791151460000,"timestamp_seconds":1791151460,"priority":1,"record_length":96,"hex_timestamp":"000001a108f24ea0"} 
[2026-10-05 03:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:35:37] 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-10-05 03:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534696704001,"66":24658,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534696704001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:35:37] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:35:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534696704001,"power":24658,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":207102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:35:37] local.INFO: GPS data processed {"connection_id":207102,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:35:37] local.INFO: Acknowledgment sent {"connection_id":207102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:35:37] local.INFO: TCP Data received {"connection_id":207103,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:35:37] local.INFO: Processing buffer {"connection_id":207103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:35:37] local.INFO: Packet analysis {"connection_id":207103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:35:37] local.INFO: Extracted packet for processing {"connection_id":207103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:35:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534692352001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791151443000,"timestamp_ms":1791151443000,"timestamp_seconds":1791151443,"priority":1,"record_length":96,"hex_timestamp":"000001a108f20c38"} 
[2026-10-05 03:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:35:37] 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-10-05 03:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534692352001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534692352001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:35:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:35:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534692352001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":207103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965050,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:35:38] local.INFO: GPS data processed {"connection_id":207103,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:35:38] local.INFO: Acknowledgment sent {"connection_id":207103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:35:56] local.INFO: TCP Data received {"connection_id":207105,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:35:56] local.INFO: Processing buffer {"connection_id":207105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:35:56] local.INFO: IMEI packet received {"connection_id":207105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":207105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:36:01] local.INFO: TCP Data received {"connection_id":207105,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:36:01] local.INFO: Processing buffer {"connection_id":207105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:36:01] local.INFO: IMEI packet received {"connection_id":207105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":207105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:36:01] local.INFO: TCP Data received {"connection_id":207105,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:36:01] local.INFO: Processing buffer {"connection_id":207105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:36:01] local.INFO: Packet analysis {"connection_id":207105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:36:01] local.INFO: Extracted packet for processing {"connection_id":207105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:36:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 03:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534696704001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:36: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-10-05 03:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791151460000,"timestamp_ms":1791151460000,"timestamp_seconds":1791151460,"priority":1,"record_length":96,"hex_timestamp":"000001a108f24ea0"} 
[2026-10-05 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-10-05 03:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:36: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-10-05 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-10-05 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-10-05 03:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534696704001,"66":24658,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534696704001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:36:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:36:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534696704001,"power":24658,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":207105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:36:01] local.INFO: GPS data processed {"connection_id":207105,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:36:01] local.INFO: Acknowledgment sent {"connection_id":207105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:36:05] local.INFO: TCP Data received {"connection_id":204112,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:36:05] local.INFO: Processing buffer {"connection_id":204112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:36:05] local.INFO: IMEI packet received {"connection_id":204112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":204112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:36:10] local.INFO: TCP Data received {"connection_id":204112,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:36:10] local.INFO: Processing buffer {"connection_id":204112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:36:10] local.INFO: IMEI packet received {"connection_id":204112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":204112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:36:11] local.INFO: TCP Data received {"connection_id":204112,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:36:11] local.INFO: Processing buffer {"connection_id":204112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:36:11] local.INFO: Packet analysis {"connection_id":204112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:36:11] local.INFO: Extracted packet for processing {"connection_id":204112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:36:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534692352001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791151443000,"timestamp_ms":1791151443000,"timestamp_seconds":1791151443,"priority":1,"record_length":96,"hex_timestamp":"000001a108f20c38"} 
[2026-10-05 03:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:36:11] 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-10-05 03:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534692352001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534692352001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:36:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:36:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534692352001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":204112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965052,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:36:11] local.INFO: GPS data processed {"connection_id":204112,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:36:11] local.INFO: Acknowledgment sent {"connection_id":204112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:36:15] local.INFO: TCP Data received {"connection_id":204112,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:36:15] local.INFO: Processing buffer {"connection_id":204112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:36:15] local.INFO: Packet analysis {"connection_id":204112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:36:15] local.INFO: Extracted packet for processing {"connection_id":204112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:36:15] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534692352001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791151443000,"timestamp_ms":1791151443000,"timestamp_seconds":1791151443,"priority":1,"record_length":96,"hex_timestamp":"000001a108f20c38"} 
[2026-10-05 03:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03: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-10-05 03:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534692352001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534692352001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:36:15] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:36:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534692352001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":204112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:36:16] local.INFO: GPS data processed {"connection_id":204112,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:36:16] local.INFO: Acknowledgment sent {"connection_id":204112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:36:32] local.INFO: TCP Data received {"connection_id":207105,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:36:32] local.INFO: Processing buffer {"connection_id":207105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:36:32] local.INFO: Packet analysis {"connection_id":207105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:36:32] local.INFO: Extracted packet for processing {"connection_id":207105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:36:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534696704001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:36: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-10-05 03:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791151460000,"timestamp_ms":1791151460000,"timestamp_seconds":1791151460,"priority":1,"record_length":96,"hex_timestamp":"000001a108f24ea0"} 
[2026-10-05 03:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:36: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-10-05 03:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534696704001,"66":24658,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534696704001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:36:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:36:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534696704001,"power":24658,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":207105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:36:32] local.INFO: GPS data processed {"connection_id":207105,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:36:32] local.INFO: Acknowledgment sent {"connection_id":207105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:36:56] local.INFO: TCP Data received {"connection_id":207106,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:36:56] local.INFO: Processing buffer {"connection_id":207106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:36:56] local.INFO: IMEI packet received {"connection_id":207106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":207106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:37:00] local.INFO: TCP Data received {"connection_id":207107,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:37:00] local.INFO: Processing buffer {"connection_id":207107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:37:00] local.INFO: IMEI packet received {"connection_id":207107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":207107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:37:01] local.INFO: TCP Data received {"connection_id":207106,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:37:01] local.INFO: Processing buffer {"connection_id":207106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:37:01] local.INFO: IMEI packet received {"connection_id":207106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":207106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:37:02] local.INFO: TCP Data received {"connection_id":207106,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:37:02] local.INFO: Processing buffer {"connection_id":207106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:37:02] local.INFO: Packet analysis {"connection_id":207106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:37:02] local.INFO: Extracted packet for processing {"connection_id":207106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:37:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534696704001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:37:02] 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-10-05 03:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791151460000,"timestamp_ms":1791151460000,"timestamp_seconds":1791151460,"priority":1,"record_length":96,"hex_timestamp":"000001a108f24ea0"} 
[2026-10-05 03:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:37: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-10-05 03:37: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-10-05 03:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:37: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-10-05 03:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534696704001,"66":24658,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534696704001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:37:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:37:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534696704001,"power":24658,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":207106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:37:02] local.INFO: GPS data processed {"connection_id":207106,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:37:02] local.INFO: Acknowledgment sent {"connection_id":207106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:37:05] local.INFO: TCP Data received {"connection_id":207107,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:37:05] local.INFO: Processing buffer {"connection_id":207107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:37:05] local.INFO: IMEI packet received {"connection_id":207107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":207107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:37:06] local.INFO: TCP Data received {"connection_id":207107,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:37:06] local.INFO: Processing buffer {"connection_id":207107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:37:06] local.INFO: Packet analysis {"connection_id":207107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:37:06] local.INFO: Extracted packet for processing {"connection_id":207107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:37:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534692352001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791151443000,"timestamp_ms":1791151443000,"timestamp_seconds":1791151443,"priority":1,"record_length":96,"hex_timestamp":"000001a108f20c38"} 
[2026-10-05 03:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:37:06] 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-10-05 03:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534692352001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534692352001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:37:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:37:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534692352001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":207107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965056,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:37:06] local.INFO: GPS data processed {"connection_id":207107,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:37:06] local.INFO: Acknowledgment sent {"connection_id":207107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:37:09] local.INFO: TCP Data received {"connection_id":204038,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:37:09] local.INFO: Processing buffer {"connection_id":204038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:37:09] local.INFO: IMEI packet received {"connection_id":204038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 03:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":204038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:37:32] local.INFO: TCP Data received {"connection_id":207106,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:37:32] local.INFO: Processing buffer {"connection_id":207106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:37:32] local.INFO: Packet analysis {"connection_id":207106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:37:32] local.INFO: Extracted packet for processing {"connection_id":207106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:37:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 03:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534696704001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:37: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-10-05 03:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791151460000,"timestamp_ms":1791151460000,"timestamp_seconds":1791151460,"priority":1,"record_length":96,"hex_timestamp":"000001a108f24ea0"} 
[2026-10-05 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-10-05 03:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:37: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-10-05 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-10-05 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-10-05 03:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534696704001,"66":24658,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534696704001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:37:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:37:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534696704001,"power":24658,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":207106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:37:32] local.INFO: GPS data processed {"connection_id":207106,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:37:32] local.INFO: Acknowledgment sent {"connection_id":207106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:37:37] local.INFO: TCP Data received {"connection_id":207107,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:37:37] local.INFO: Processing buffer {"connection_id":207107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:37:37] local.INFO: Packet analysis {"connection_id":207107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:37:37] local.INFO: Extracted packet for processing {"connection_id":207107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:37:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534692352001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791151443000,"timestamp_ms":1791151443000,"timestamp_seconds":1791151443,"priority":1,"record_length":96,"hex_timestamp":"000001a108f20c38"} 
[2026-10-05 03:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:37:37] 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-10-05 03:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534692352001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534692352001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:37:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:37:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534692352001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":207107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:37:37] local.INFO: GPS data processed {"connection_id":207107,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:37:37] local.INFO: Acknowledgment sent {"connection_id":207107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:37:49] local.INFO: TCP Data received {"connection_id":205552,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:37:49] local.INFO: Processing buffer {"connection_id":205552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:37:49] local.INFO: IMEI packet received {"connection_id":205552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 03:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":205552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:37:56] local.INFO: TCP Data received {"connection_id":204113,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:37:56] local.INFO: Processing buffer {"connection_id":204113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:37:56] local.INFO: IMEI packet received {"connection_id":204113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":204113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:38:00] local.INFO: TCP Data received {"connection_id":204039,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:38:00] local.INFO: Processing buffer {"connection_id":204039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:38:00] local.INFO: IMEI packet received {"connection_id":204039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":204039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:38:01] local.INFO: TCP Data received {"connection_id":204113,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:38:01] local.INFO: Processing buffer {"connection_id":204113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:38:01] local.INFO: IMEI packet received {"connection_id":204113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":204113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:38:02] local.INFO: TCP Data received {"connection_id":204113,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:38:02] local.INFO: Processing buffer {"connection_id":204113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:38:02] local.INFO: Packet analysis {"connection_id":204113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:38:02] local.INFO: Extracted packet for processing {"connection_id":204113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:38:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534696704001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:38:02] 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-10-05 03:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791151460000,"timestamp_ms":1791151460000,"timestamp_seconds":1791151460,"priority":1,"record_length":96,"hex_timestamp":"000001a108f24ea0"} 
[2026-10-05 03:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:38: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-10-05 03: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-10-05 03:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:38: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-10-05 03:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534696704001,"66":24658,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534696704001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:38:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:38:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534696704001,"power":24658,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":204113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:38:02] local.INFO: GPS data processed {"connection_id":204113,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:38:02] local.INFO: Acknowledgment sent {"connection_id":204113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:38:05] local.INFO: TCP Data received {"connection_id":204039,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:38:05] local.INFO: Processing buffer {"connection_id":204039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:38:05] local.INFO: IMEI packet received {"connection_id":204039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":204039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:38:06] local.INFO: TCP Data received {"connection_id":204039,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:38:06] local.INFO: Processing buffer {"connection_id":204039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:38:06] local.INFO: Packet analysis {"connection_id":204039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:38:06] local.INFO: Extracted packet for processing {"connection_id":204039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:38:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534692352001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791151443000,"timestamp_ms":1791151443000,"timestamp_seconds":1791151443,"priority":1,"record_length":96,"hex_timestamp":"000001a108f20c38"} 
[2026-10-05 03:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:38:06] 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-10-05 03:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534692352001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534692352001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:38:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:38:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534692352001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":204039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:38:06] local.INFO: GPS data processed {"connection_id":204039,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:38:06] local.INFO: Acknowledgment sent {"connection_id":204039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:38:32] local.INFO: TCP Data received {"connection_id":204113,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:38:32] local.INFO: Processing buffer {"connection_id":204113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:38:32] local.INFO: Packet analysis {"connection_id":204113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:38:32] local.INFO: Extracted packet for processing {"connection_id":204113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534696704001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:38: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-10-05 03:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791151460000,"timestamp_ms":1791151460000,"timestamp_seconds":1791151460,"priority":1,"record_length":96,"hex_timestamp":"000001a108f24ea0"} 
[2026-10-05 03:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:38: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-10-05 03: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-10-05 03:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534696704001,"66":24658,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534696704001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:38:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:38:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534696704001,"power":24658,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":204113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:38:32] local.INFO: GPS data processed {"connection_id":204113,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:38:32] local.INFO: Acknowledgment sent {"connection_id":204113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:38:38] local.INFO: TCP Data received {"connection_id":204039,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:38:38] local.INFO: Processing buffer {"connection_id":204039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:38:38] local.INFO: Packet analysis {"connection_id":204039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:38:38] local.INFO: Extracted packet for processing {"connection_id":204039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:38:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:38: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-10-05 03:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534692352001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791151443000,"timestamp_ms":1791151443000,"timestamp_seconds":1791151443,"priority":1,"record_length":96,"hex_timestamp":"000001a108f20c38"} 
[2026-10-05 03:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:38: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":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:38:38] 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-10-05 03:38: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-10-05 03:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534692352001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534692352001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:38:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:38:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534692352001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":204039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:38:38] local.INFO: GPS data processed {"connection_id":204039,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:38:38] local.INFO: Acknowledgment sent {"connection_id":204039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:38:56] local.INFO: TCP Data received {"connection_id":207108,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:38:56] local.INFO: Processing buffer {"connection_id":207108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:38:56] local.INFO: IMEI packet received {"connection_id":207108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":207108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:39:00] local.INFO: TCP Data received {"connection_id":204114,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:39:00] local.INFO: Processing buffer {"connection_id":204114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:39:00] local.INFO: IMEI packet received {"connection_id":204114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":204114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:39:01] local.INFO: TCP Data received {"connection_id":207108,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:39:01] local.INFO: Processing buffer {"connection_id":207108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:39:01] local.INFO: IMEI packet received {"connection_id":207108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":207108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:39:02] local.INFO: TCP Data received {"connection_id":207108,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:39:02] local.INFO: Processing buffer {"connection_id":207108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:39:02] local.INFO: Packet analysis {"connection_id":207108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:39:02] local.INFO: Extracted packet for processing {"connection_id":207108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:39:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534696704001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:39:02] 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-10-05 03:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791151460000,"timestamp_ms":1791151460000,"timestamp_seconds":1791151460,"priority":1,"record_length":96,"hex_timestamp":"000001a108f24ea0"} 
[2026-10-05 03:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:39: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-10-05 03: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-10-05 03:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:39: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-10-05 03:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534696704001,"66":24658,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534696704001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:39:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:39:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534696704001,"power":24658,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":207108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:39:02] local.INFO: GPS data processed {"connection_id":207108,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:39:02] local.INFO: Acknowledgment sent {"connection_id":207108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:39:05] local.INFO: TCP Data received {"connection_id":204114,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:39:05] local.INFO: Processing buffer {"connection_id":204114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:39:05] local.INFO: IMEI packet received {"connection_id":204114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":204114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:39:06] local.INFO: TCP Data received {"connection_id":204114,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:39:06] local.INFO: Processing buffer {"connection_id":204114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f20c38012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:39:06] local.INFO: Packet analysis {"connection_id":204114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:39:06] local.INFO: Extracted packet for processing {"connection_id":204114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:39:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534692352001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791151443000,"timestamp_ms":1791151443000,"timestamp_seconds":1791151443,"priority":1,"record_length":96,"hex_timestamp":"000001a108f20c38"} 
[2026-10-05 03:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:39:06] 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-10-05 03:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534692352001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534692352001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:39:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:39:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534692352001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":204114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965064,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:39:06] local.INFO: GPS data processed {"connection_id":204114,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:39:06] local.INFO: Acknowledgment sent {"connection_id":204114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:39:32] local.INFO: TCP Data received {"connection_id":207108,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:39:32] local.INFO: Processing buffer {"connection_id":207108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f24ea0012d7f91c005afd9f00009010125..."} 
[2026-10-05 03:39:32] local.INFO: Packet analysis {"connection_id":207108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:39:32] local.INFO: Extracted packet for processing {"connection_id":207108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f2"} 
[2026-10-05 03:39:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534696704001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:39: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-10-05 03:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791151460000,"timestamp_ms":1791151460000,"timestamp_seconds":1791151460,"priority":1,"record_length":96,"hex_timestamp":"000001a108f24ea0"} 
[2026-10-05 03:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 03:39: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-10-05 03:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534696704001,"66":24658,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534696704001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:39:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:39:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534696704001,"power":24658,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":207108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:39:32] local.INFO: GPS data processed {"connection_id":207108,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:39:32] local.INFO: Acknowledgment sent {"connection_id":207108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:39:37] local.INFO: TCP Data received {"connection_id":204114,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:39:37] local.INFO: Processing buffer {"connection_id":204114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:39:37] local.INFO: Packet analysis {"connection_id":204114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:39:37] local.INFO: Extracted packet for processing {"connection_id":204114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:39:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534769408001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791151744000,"timestamp_ms":1791151744000,"timestamp_seconds":1791151744,"priority":1,"record_length":96,"hex_timestamp":"000001a108f6a400"} 
[2026-10-05 03:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:39:37] 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-10-05 03:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534769408001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534769408001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:39:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:39:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534769408001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":204114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:39:37] local.INFO: GPS data processed {"connection_id":204114,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:39:37] local.INFO: Acknowledgment sent {"connection_id":204114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:39:56] local.INFO: TCP Data received {"connection_id":205555,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:39:56] local.INFO: Processing buffer {"connection_id":205555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:39:56] local.INFO: IMEI packet received {"connection_id":205555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":205555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:39:59] local.INFO: TCP Data received {"connection_id":205555,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:39:59] local.INFO: Processing buffer {"connection_id":205555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:39:59] local.INFO: IMEI packet received {"connection_id":205555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":205555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:40:01] local.INFO: TCP Data received {"connection_id":205555,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:40:01] local.INFO: Processing buffer {"connection_id":205555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:40:01] local.INFO: IMEI packet received {"connection_id":205555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":205555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:40:02] local.INFO: TCP Data received {"connection_id":205555,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:40:02] local.INFO: Processing buffer {"connection_id":205555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:40:02] local.INFO: Packet analysis {"connection_id":205555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:40:02] local.INFO: Extracted packet for processing {"connection_id":205555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:40:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534773760001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:40: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-10-05 03:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791151761000,"timestamp_ms":1791151761000,"timestamp_seconds":1791151761,"priority":1,"record_length":96,"hex_timestamp":"000001a108f6e668"} 
[2026-10-05 03:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:40: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-10-05 03: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 03:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03: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-10-05 03:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:40: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-10-05 03:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534773760001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534773760001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:40:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:40:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534773760001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":205555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:40:02] local.INFO: GPS data processed {"connection_id":205555,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:40:02] local.INFO: Acknowledgment sent {"connection_id":205555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:40:05] local.INFO: TCP Data received {"connection_id":207109,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:40:05] local.INFO: Processing buffer {"connection_id":207109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:40:05] local.INFO: IMEI packet received {"connection_id":207109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":207109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:40:10] local.INFO: TCP Data received {"connection_id":207109,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:40:10] local.INFO: Processing buffer {"connection_id":207109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:40:10] local.INFO: IMEI packet received {"connection_id":207109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":207109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:40:11] local.INFO: TCP Data received {"connection_id":207109,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:40:11] local.INFO: Processing buffer {"connection_id":207109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:40:11] local.INFO: Packet analysis {"connection_id":207109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:40:11] local.INFO: Extracted packet for processing {"connection_id":207109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:40:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534769408001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791151744000,"timestamp_ms":1791151744000,"timestamp_seconds":1791151744,"priority":1,"record_length":96,"hex_timestamp":"000001a108f6a400"} 
[2026-10-05 03:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:40:11] 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-10-05 03: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-10-05 03:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534769408001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534769408001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:40:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:40:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534769408001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":207109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:40:11] local.INFO: GPS data processed {"connection_id":207109,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:40:11] local.INFO: Acknowledgment sent {"connection_id":207109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:40:15] local.INFO: TCP Data received {"connection_id":207109,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:40:15] local.INFO: Processing buffer {"connection_id":207109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:40:15] local.INFO: Packet analysis {"connection_id":207109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:40:15] local.INFO: Extracted packet for processing {"connection_id":207109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:40:15] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534769408001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791151744000,"timestamp_ms":1791151744000,"timestamp_seconds":1791151744,"priority":1,"record_length":96,"hex_timestamp":"000001a108f6a400"} 
[2026-10-05 03:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534769408001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534769408001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:40:15] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:40:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534769408001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":207109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965069,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:40:16] local.INFO: GPS data processed {"connection_id":207109,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:40:16] local.INFO: Acknowledgment sent {"connection_id":207109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:40:32] local.INFO: TCP Data received {"connection_id":205555,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:40:32] local.INFO: Processing buffer {"connection_id":205555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:40:32] local.INFO: Packet analysis {"connection_id":205555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:40:32] local.INFO: Extracted packet for processing {"connection_id":205555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534773760001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:40: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-10-05 03:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791151761000,"timestamp_ms":1791151761000,"timestamp_seconds":1791151761,"priority":1,"record_length":96,"hex_timestamp":"000001a108f6e668"} 
[2026-10-05 03:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:40:32] 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-10-05 03:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 03:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534773760001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534773760001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:40:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:40:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534773760001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":205555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:40:32] local.INFO: GPS data processed {"connection_id":205555,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:40:32] local.INFO: Acknowledgment sent {"connection_id":205555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:41:00] local.INFO: TCP Data received {"connection_id":204115,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:41:00] local.INFO: Processing buffer {"connection_id":204115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:41:00] local.INFO: IMEI packet received {"connection_id":204115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":204115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:41:01] local.INFO: TCP Data received {"connection_id":204116,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:41:01] local.INFO: Processing buffer {"connection_id":204116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:41:01] local.INFO: IMEI packet received {"connection_id":204116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":204116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:41:05] local.INFO: TCP Data received {"connection_id":204115,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:41:05] local.INFO: Processing buffer {"connection_id":204115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:41:05] local.INFO: IMEI packet received {"connection_id":204115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":204115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:41:06] local.INFO: TCP Data received {"connection_id":204116,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:41:06] local.INFO: Processing buffer {"connection_id":204116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:41:06] local.INFO: IMEI packet received {"connection_id":204116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":204116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:41:06] local.INFO: TCP Data received {"connection_id":204115,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:41:06] local.INFO: Processing buffer {"connection_id":204115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:41:06] local.INFO: Packet analysis {"connection_id":204115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:41:06] local.INFO: Extracted packet for processing {"connection_id":204115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:41:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534769408001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791151744000,"timestamp_ms":1791151744000,"timestamp_seconds":1791151744,"priority":1,"record_length":96,"hex_timestamp":"000001a108f6a400"} 
[2026-10-05 03:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:41:06] 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-10-05 03:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534769408001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534769408001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:41:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:41:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534769408001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":204115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965071,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:41:06] local.INFO: GPS data processed {"connection_id":204115,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:41:06] local.INFO: Acknowledgment sent {"connection_id":204115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:41:07] local.INFO: TCP Data received {"connection_id":204116,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:41:07] local.INFO: Processing buffer {"connection_id":204116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:41:07] local.INFO: Packet analysis {"connection_id":204116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:41:07] local.INFO: Extracted packet for processing {"connection_id":204116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:41:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534773760001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:41: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-10-05 03:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791151761000,"timestamp_ms":1791151761000,"timestamp_seconds":1791151761,"priority":1,"record_length":96,"hex_timestamp":"000001a108f6e668"} 
[2026-10-05 03:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:41: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-10-05 03: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 03:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03: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-10-05 03:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534773760001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534773760001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:41:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:41:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534773760001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":204116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:41:07] local.INFO: GPS data processed {"connection_id":204116,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:41:07] local.INFO: Acknowledgment sent {"connection_id":204116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:41:11] local.INFO: TCP Data received {"connection_id":204116,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:41:11] local.INFO: Processing buffer {"connection_id":204116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:41:11] local.INFO: Packet analysis {"connection_id":204116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:41:11] local.INFO: Extracted packet for processing {"connection_id":204116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:41:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534773760001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791151761000,"timestamp_ms":1791151761000,"timestamp_seconds":1791151761,"priority":1,"record_length":96,"hex_timestamp":"000001a108f6e668"} 
[2026-10-05 03:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:41:11] 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-10-05 03: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 03:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03: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-10-05 03:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534773760001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534773760001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:41:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534773760001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":204116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:41:11] local.INFO: GPS data processed {"connection_id":204116,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:41:11] local.INFO: Acknowledgment sent {"connection_id":204116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:41:37] local.INFO: TCP Data received {"connection_id":204115,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:41:37] local.INFO: Processing buffer {"connection_id":204115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:41:37] local.INFO: Packet analysis {"connection_id":204115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:41:37] local.INFO: Extracted packet for processing {"connection_id":204115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:41:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534769408001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791151744000,"timestamp_ms":1791151744000,"timestamp_seconds":1791151744,"priority":1,"record_length":96,"hex_timestamp":"000001a108f6a400"} 
[2026-10-05 03:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:41:37] 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-10-05 03:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534769408001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534769408001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:41:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:41:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534769408001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":204115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965074,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:41:37] local.INFO: GPS data processed {"connection_id":204115,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:41:37] local.INFO: Acknowledgment sent {"connection_id":204115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:41:56] local.INFO: TCP Data received {"connection_id":207111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:41:56] local.INFO: Processing buffer {"connection_id":207111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:41:56] local.INFO: IMEI packet received {"connection_id":207111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":207111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:42:00] local.INFO: TCP Data received {"connection_id":204040,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:42:00] local.INFO: Processing buffer {"connection_id":204040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:42:00] local.INFO: IMEI packet received {"connection_id":204040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":204040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:42:01] local.INFO: TCP Data received {"connection_id":207111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:42:01] local.INFO: Processing buffer {"connection_id":207111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:42:01] local.INFO: IMEI packet received {"connection_id":207111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":207111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:42:02] local.INFO: TCP Data received {"connection_id":207111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:42:02] local.INFO: Processing buffer {"connection_id":207111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:42:02] local.INFO: Packet analysis {"connection_id":207111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:42:02] local.INFO: Extracted packet for processing {"connection_id":207111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:42:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534773760001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:42: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-10-05 03:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791151761000,"timestamp_ms":1791151761000,"timestamp_seconds":1791151761,"priority":1,"record_length":96,"hex_timestamp":"000001a108f6e668"} 
[2026-10-05 03:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:42: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-10-05 03: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 03:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03: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-10-05 03:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:42: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-10-05 03:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534773760001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534773760001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:42:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:42:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534773760001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":207111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:42:02] local.INFO: GPS data processed {"connection_id":207111,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:42:02] local.INFO: Acknowledgment sent {"connection_id":207111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:42:05] local.INFO: TCP Data received {"connection_id":204040,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:42:05] local.INFO: Processing buffer {"connection_id":204040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:42:05] local.INFO: IMEI packet received {"connection_id":204040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":204040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:42:06] local.INFO: TCP Data received {"connection_id":204040,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:42:06] local.INFO: Processing buffer {"connection_id":204040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:42:06] local.INFO: Packet analysis {"connection_id":204040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:42:06] local.INFO: Extracted packet for processing {"connection_id":204040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:42:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534769408001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791151744000,"timestamp_ms":1791151744000,"timestamp_seconds":1791151744,"priority":1,"record_length":96,"hex_timestamp":"000001a108f6a400"} 
[2026-10-05 03:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:42:06] 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-10-05 03:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534769408001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534769408001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:42:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:42:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534769408001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":204040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965076,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:42:06] local.INFO: GPS data processed {"connection_id":204040,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:42:06] local.INFO: Acknowledgment sent {"connection_id":204040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:42:32] local.INFO: TCP Data received {"connection_id":207111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:42:32] local.INFO: Processing buffer {"connection_id":207111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:42:32] local.INFO: Packet analysis {"connection_id":207111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:42:32] local.INFO: Extracted packet for processing {"connection_id":207111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:42: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-10-05 03:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534773760001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:42: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-10-05 03:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791151761000,"timestamp_ms":1791151761000,"timestamp_seconds":1791151761,"priority":1,"record_length":96,"hex_timestamp":"000001a108f6e668"} 
[2026-10-05 03:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:42:32] 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-10-05 03:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 03:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:42: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-10-05 03:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534773760001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534773760001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:42:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:42:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534773760001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":207111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:42:32] local.INFO: GPS data processed {"connection_id":207111,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:42:32] local.INFO: Acknowledgment sent {"connection_id":207111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:42:38] local.INFO: TCP Data received {"connection_id":204040,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:42:38] local.INFO: Processing buffer {"connection_id":204040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:42:38] local.INFO: Packet analysis {"connection_id":204040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:42:38] local.INFO: Extracted packet for processing {"connection_id":204040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:42:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:42: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-10-05 03:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534769408001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791151744000,"timestamp_ms":1791151744000,"timestamp_seconds":1791151744,"priority":1,"record_length":96,"hex_timestamp":"000001a108f6a400"} 
[2026-10-05 03:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:42: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":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:42:38] 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-10-05 03:42: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-10-05 03:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534769408001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534769408001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:42:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:42:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534769408001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":204040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:42:38] local.INFO: GPS data processed {"connection_id":204040,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:42:38] local.INFO: Acknowledgment sent {"connection_id":204040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:42:56] local.INFO: TCP Data received {"connection_id":205558,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:42:56] local.INFO: Processing buffer {"connection_id":205558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:42:56] local.INFO: IMEI packet received {"connection_id":205558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":205558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:43:00] local.INFO: TCP Data received {"connection_id":205559,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:43:00] local.INFO: Processing buffer {"connection_id":205559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:43:00] local.INFO: IMEI packet received {"connection_id":205559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":205559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:43:01] local.INFO: TCP Data received {"connection_id":205558,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:43:01] local.INFO: Processing buffer {"connection_id":205558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:43:01] local.INFO: IMEI packet received {"connection_id":205558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":205558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:43:02] local.INFO: TCP Data received {"connection_id":205558,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:43:02] local.INFO: Processing buffer {"connection_id":205558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:43:02] local.INFO: Packet analysis {"connection_id":205558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:43:02] local.INFO: Extracted packet for processing {"connection_id":205558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:43:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534773760001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:43: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-10-05 03:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791151761000,"timestamp_ms":1791151761000,"timestamp_seconds":1791151761,"priority":1,"record_length":96,"hex_timestamp":"000001a108f6e668"} 
[2026-10-05 03:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:43: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-10-05 03: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 03:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03: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-10-05 03:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:43: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-10-05 03:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534773760001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534773760001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:43:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:43:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534773760001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":205558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:43:02] local.INFO: GPS data processed {"connection_id":205558,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:43:02] local.INFO: Acknowledgment sent {"connection_id":205558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:43:05] local.INFO: TCP Data received {"connection_id":205559,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:43:05] local.INFO: Processing buffer {"connection_id":205559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:43:05] local.INFO: IMEI packet received {"connection_id":205559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":205559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:43:06] local.INFO: TCP Data received {"connection_id":205559,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:43:06] local.INFO: Processing buffer {"connection_id":205559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:43:06] local.INFO: Packet analysis {"connection_id":205559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:43:06] local.INFO: Extracted packet for processing {"connection_id":205559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:43:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534769408001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791151744000,"timestamp_ms":1791151744000,"timestamp_seconds":1791151744,"priority":1,"record_length":96,"hex_timestamp":"000001a108f6a400"} 
[2026-10-05 03:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:43:06] 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-10-05 03:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534769408001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534769408001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:43:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:43:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534769408001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":205559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965080,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:43:06] local.INFO: GPS data processed {"connection_id":205559,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:43:06] local.INFO: Acknowledgment sent {"connection_id":205559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:43:09] local.INFO: TCP Data received {"connection_id":205557,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:43:09] local.INFO: Processing buffer {"connection_id":205557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:43:09] local.INFO: IMEI packet received {"connection_id":205557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 03:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":205557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:43:32] local.INFO: TCP Data received {"connection_id":205558,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:43:32] local.INFO: Processing buffer {"connection_id":205558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:43:32] local.INFO: Packet analysis {"connection_id":205558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:43:32] local.INFO: Extracted packet for processing {"connection_id":205558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:43:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534773760001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:43: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-10-05 03:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791151761000,"timestamp_ms":1791151761000,"timestamp_seconds":1791151761,"priority":1,"record_length":96,"hex_timestamp":"000001a108f6e668"} 
[2026-10-05 03:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:43:32] 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-10-05 03: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 03:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03: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-10-05 03:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534773760001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534773760001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:43:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:43:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534773760001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":205558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:43:32] local.INFO: GPS data processed {"connection_id":205558,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:43:32] local.INFO: Acknowledgment sent {"connection_id":205558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:43:37] local.INFO: TCP Data received {"connection_id":205559,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:43:37] local.INFO: Processing buffer {"connection_id":205559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:43:37] local.INFO: Packet analysis {"connection_id":205559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:43:37] local.INFO: Extracted packet for processing {"connection_id":205559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:43:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534769408001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791151744000,"timestamp_ms":1791151744000,"timestamp_seconds":1791151744,"priority":1,"record_length":96,"hex_timestamp":"000001a108f6a400"} 
[2026-10-05 03:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:43:37] 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-10-05 03:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534769408001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534769408001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:43:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:43:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534769408001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":205559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965082,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:43:37] local.INFO: GPS data processed {"connection_id":205559,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:43:37] local.INFO: Acknowledgment sent {"connection_id":205559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:43:49] local.INFO: TCP Data received {"connection_id":204041,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:43:49] local.INFO: Processing buffer {"connection_id":204041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:43:49] local.INFO: IMEI packet received {"connection_id":204041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 03:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":204041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:43:56] local.INFO: TCP Data received {"connection_id":204042,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:43:56] local.INFO: Processing buffer {"connection_id":204042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:43:56] local.INFO: IMEI packet received {"connection_id":204042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":204042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:44:00] local.INFO: TCP Data received {"connection_id":204117,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:44:00] local.INFO: Processing buffer {"connection_id":204117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:44:00] local.INFO: IMEI packet received {"connection_id":204117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":204117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:44:01] local.INFO: TCP Data received {"connection_id":204042,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:44:01] local.INFO: Processing buffer {"connection_id":204042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:44:01] local.INFO: IMEI packet received {"connection_id":204042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":204042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:44:02] local.INFO: TCP Data received {"connection_id":204042,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:44:02] local.INFO: Processing buffer {"connection_id":204042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:44:02] local.INFO: Packet analysis {"connection_id":204042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:44:02] local.INFO: Extracted packet for processing {"connection_id":204042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:44:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534773760001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:44: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-10-05 03:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791151761000,"timestamp_ms":1791151761000,"timestamp_seconds":1791151761,"priority":1,"record_length":96,"hex_timestamp":"000001a108f6e668"} 
[2026-10-05 03:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:44: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-10-05 03: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 03:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03: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-10-05 03:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:44: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-10-05 03:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534773760001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534773760001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:44:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:44:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534773760001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":204042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:44:02] local.INFO: GPS data processed {"connection_id":204042,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:44:02] local.INFO: Acknowledgment sent {"connection_id":204042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:44:05] local.INFO: TCP Data received {"connection_id":204117,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:44:05] local.INFO: Processing buffer {"connection_id":204117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:44:05] local.INFO: IMEI packet received {"connection_id":204117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":204117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:44:06] local.INFO: TCP Data received {"connection_id":204117,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:44:06] local.INFO: Processing buffer {"connection_id":204117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f6a400012d7c2ac005dac8a0000800bf26..."} 
[2026-10-05 03:44:06] local.INFO: Packet analysis {"connection_id":204117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:44:06] local.INFO: Extracted packet for processing {"connection_id":204117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:44:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534769408001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791151744000,"timestamp_ms":1791151744000,"timestamp_seconds":1791151744,"priority":1,"record_length":96,"hex_timestamp":"000001a108f6a400"} 
[2026-10-05 03:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 03:44:06] 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-10-05 03:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534769408001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534769408001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:44:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:44:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534769408001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":204117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965084,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:44:06] local.INFO: GPS data processed {"connection_id":204117,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:44:06] local.INFO: Acknowledgment sent {"connection_id":204117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:44:33] local.INFO: TCP Data received {"connection_id":204042,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:44:33] local.INFO: Processing buffer {"connection_id":204042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108f6e668012d7f91c005afd9f00009010121..."} 
[2026-10-05 03:44:33] local.INFO: Packet analysis {"connection_id":204042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:44:33] local.INFO: Extracted packet for processing {"connection_id":204042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108f6"} 
[2026-10-05 03:44:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534773760001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:44: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-10-05 03:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791151761000,"timestamp_ms":1791151761000,"timestamp_seconds":1791151761,"priority":1,"record_length":96,"hex_timestamp":"000001a108f6e668"} 
[2026-10-05 03:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:44:33] 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-10-05 03: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 03:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03: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-10-05 03:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534773760001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534773760001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:44:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 03:44:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534773760001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":204042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:44:33] local.INFO: GPS data processed {"connection_id":204042,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:44:33] local.INFO: Acknowledgment sent {"connection_id":204042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:44:37] local.INFO: TCP Data received {"connection_id":204117,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:44:37] local.INFO: Processing buffer {"connection_id":204117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:44:37] local.INFO: Packet analysis {"connection_id":204117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:44:37] local.INFO: Extracted packet for processing {"connection_id":204117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:44:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534846464001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791152045000,"timestamp_ms":1791152045000,"timestamp_seconds":1791152045,"priority":1,"record_length":96,"hex_timestamp":"000001a108fb3bc8"} 
[2026-10-05 03:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534846464001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534846464001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:44:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:44:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534846464001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":204117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:44:37] local.INFO: GPS data processed {"connection_id":204117,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:44:37] local.INFO: Acknowledgment sent {"connection_id":204117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:45:00] local.INFO: TCP Data received {"connection_id":204044,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:45:00] local.INFO: Processing buffer {"connection_id":204044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:45:00] local.INFO: IMEI packet received {"connection_id":204044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":204044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:45:00] local.INFO: TCP Data received {"connection_id":204118,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:45:00] local.INFO: Processing buffer {"connection_id":204118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:45:00] local.INFO: IMEI packet received {"connection_id":204118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":204118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:45:01] local.INFO: TCP Data received {"connection_id":204044,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:45:01] local.INFO: Processing buffer {"connection_id":204044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:45:01] local.INFO: IMEI packet received {"connection_id":204044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":204044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:45:05] local.INFO: TCP Data received {"connection_id":204118,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:45:05] local.INFO: Processing buffer {"connection_id":204118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:45:05] local.INFO: IMEI packet received {"connection_id":204118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":204118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:45:06] local.INFO: TCP Data received {"connection_id":204044,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:45:06] local.INFO: Processing buffer {"connection_id":204044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:45:06] local.INFO: IMEI packet received {"connection_id":204044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":204044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:45:06] local.INFO: TCP Data received {"connection_id":204118,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:45:06] local.INFO: Processing buffer {"connection_id":204118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:45:06] local.INFO: Packet analysis {"connection_id":204118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:45:06] local.INFO: Extracted packet for processing {"connection_id":204118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:45:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534846464001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791152045000,"timestamp_ms":1791152045000,"timestamp_seconds":1791152045,"priority":1,"record_length":96,"hex_timestamp":"000001a108fb3bc8"} 
[2026-10-05 03:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03: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-10-05 03:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534846464001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534846464001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:45:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:45:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534846464001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":204118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:45:06] local.INFO: GPS data processed {"connection_id":204118,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:45:06] local.INFO: Acknowledgment sent {"connection_id":204118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:45:07] local.INFO: TCP Data received {"connection_id":204044,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:45:07] local.INFO: Processing buffer {"connection_id":204044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:45:07] local.INFO: Packet analysis {"connection_id":204044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:45:07] local.INFO: Extracted packet for processing {"connection_id":204044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:45:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534850816001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:45:07] 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-10-05 03:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791152062000,"timestamp_ms":1791152062000,"timestamp_seconds":1791152062,"priority":1,"record_length":96,"hex_timestamp":"000001a108fb7e30"} 
[2026-10-05 03:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 03:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03: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-10-05 03:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534850816001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534850816001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:45:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:45:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534850816001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":204044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:45:07] local.INFO: GPS data processed {"connection_id":204044,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:45:07] local.INFO: Acknowledgment sent {"connection_id":204044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:45:38] local.INFO: TCP Data received {"connection_id":204118,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:45:38] local.INFO: Processing buffer {"connection_id":204118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:45:38] local.INFO: Packet analysis {"connection_id":204118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:45:38] local.INFO: Extracted packet for processing {"connection_id":204118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:45:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534846464001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791152045000,"timestamp_ms":1791152045000,"timestamp_seconds":1791152045,"priority":1,"record_length":96,"hex_timestamp":"000001a108fb3bc8"} 
[2026-10-05 03:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534846464001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534846464001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:45:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:45:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534846464001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":204118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:45:38] local.INFO: GPS data processed {"connection_id":204118,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:45:38] local.INFO: Acknowledgment sent {"connection_id":204118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:45:38] local.INFO: TCP Data received {"connection_id":204044,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:45:38] local.INFO: Processing buffer {"connection_id":204044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:45:38] local.INFO: Packet analysis {"connection_id":204044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:45:38] local.INFO: Extracted packet for processing {"connection_id":204044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:45:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534850816001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:45:38] 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-10-05 03:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791152062000,"timestamp_ms":1791152062000,"timestamp_seconds":1791152062,"priority":1,"record_length":96,"hex_timestamp":"000001a108fb7e30"} 
[2026-10-05 03:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 03:45:38] 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-10-05 03:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534850816001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534850816001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:45:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:45:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534850816001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":204044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:45:38] local.INFO: GPS data processed {"connection_id":204044,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:45:38] local.INFO: Acknowledgment sent {"connection_id":204044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:45:56] local.INFO: TCP Data received {"connection_id":205561,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:45:56] local.INFO: Processing buffer {"connection_id":205561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:45:56] local.INFO: IMEI packet received {"connection_id":205561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":205561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:46:00] local.INFO: TCP Data received {"connection_id":204045,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204045,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:46:00] local.INFO: Processing buffer {"connection_id":204045,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:46:00] local.INFO: IMEI packet received {"connection_id":204045,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":204045,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:46:01] local.INFO: TCP Data received {"connection_id":205561,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:46:01] local.INFO: Processing buffer {"connection_id":205561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:46:01] local.INFO: IMEI packet received {"connection_id":205561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":205561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:46:01] local.INFO: TCP Data received {"connection_id":205561,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:46:01] local.INFO: Processing buffer {"connection_id":205561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:46:01] local.INFO: Packet analysis {"connection_id":205561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:46:01] local.INFO: Extracted packet for processing {"connection_id":205561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:46:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534850816001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:46: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-10-05 03:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791152062000,"timestamp_ms":1791152062000,"timestamp_seconds":1791152062,"priority":1,"record_length":96,"hex_timestamp":"000001a108fb7e30"} 
[2026-10-05 03:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 03:46: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-10-05 03: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-10-05 03:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534850816001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534850816001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:46:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:46:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534850816001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":205561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:46:01] local.INFO: GPS data processed {"connection_id":205561,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:46:01] local.INFO: Acknowledgment sent {"connection_id":205561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:46:05] local.INFO: TCP Data received {"connection_id":204045,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204045,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:46:05] local.INFO: Processing buffer {"connection_id":204045,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:46:05] local.INFO: IMEI packet received {"connection_id":204045,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":204045,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:46:06] local.INFO: TCP Data received {"connection_id":204045,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:46:06] local.INFO: Processing buffer {"connection_id":204045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:46:06] local.INFO: Packet analysis {"connection_id":204045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:46:06] local.INFO: Extracted packet for processing {"connection_id":204045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:46:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534846464001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791152045000,"timestamp_ms":1791152045000,"timestamp_seconds":1791152045,"priority":1,"record_length":96,"hex_timestamp":"000001a108fb3bc8"} 
[2026-10-05 03:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534846464001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534846464001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:46:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:46:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534846464001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":204045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:46:06] local.INFO: GPS data processed {"connection_id":204045,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:46:06] local.INFO: Acknowledgment sent {"connection_id":204045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:46:32] local.INFO: TCP Data received {"connection_id":205561,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:46:32] local.INFO: Processing buffer {"connection_id":205561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:46:32] local.INFO: Packet analysis {"connection_id":205561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:46:32] local.INFO: Extracted packet for processing {"connection_id":205561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:46:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534850816001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:46: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-10-05 03:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791152062000,"timestamp_ms":1791152062000,"timestamp_seconds":1791152062,"priority":1,"record_length":96,"hex_timestamp":"000001a108fb7e30"} 
[2026-10-05 03:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 03:46:32] 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-10-05 03:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534850816001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534850816001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:46:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:46:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534850816001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":205561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:46:32] local.INFO: GPS data processed {"connection_id":205561,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:46:32] local.INFO: Acknowledgment sent {"connection_id":205561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:46:37] local.INFO: TCP Data received {"connection_id":204045,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:46:37] local.INFO: Processing buffer {"connection_id":204045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:46:37] local.INFO: Packet analysis {"connection_id":204045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:46:37] local.INFO: Extracted packet for processing {"connection_id":204045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:46:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534846464001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791152045000,"timestamp_ms":1791152045000,"timestamp_seconds":1791152045,"priority":1,"record_length":96,"hex_timestamp":"000001a108fb3bc8"} 
[2026-10-05 03:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534846464001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534846464001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:46:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:46:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534846464001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":204045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:46:37] local.INFO: GPS data processed {"connection_id":204045,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:46:37] local.INFO: Acknowledgment sent {"connection_id":204045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:46:56] local.INFO: TCP Data received {"connection_id":204046,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:46:56] local.INFO: Processing buffer {"connection_id":204046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:46:56] local.INFO: IMEI packet received {"connection_id":204046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":204046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:47:00] local.INFO: TCP Data received {"connection_id":207112,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:47:00] local.INFO: Processing buffer {"connection_id":207112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:47:00] local.INFO: IMEI packet received {"connection_id":207112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":207112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:47:01] local.INFO: TCP Data received {"connection_id":204046,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:47:01] local.INFO: Processing buffer {"connection_id":204046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:47:01] local.INFO: IMEI packet received {"connection_id":204046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":204046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:47:02] local.INFO: TCP Data received {"connection_id":204046,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:47:02] local.INFO: Processing buffer {"connection_id":204046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:47:02] local.INFO: Packet analysis {"connection_id":204046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:47:02] local.INFO: Extracted packet for processing {"connection_id":204046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:47:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534850816001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:47:02] 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-10-05 03:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791152062000,"timestamp_ms":1791152062000,"timestamp_seconds":1791152062,"priority":1,"record_length":96,"hex_timestamp":"000001a108fb7e30"} 
[2026-10-05 03:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 03:47:02] 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-10-05 03: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-10-05 03:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:47: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-10-05 03:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534850816001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534850816001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:47:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:47:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534850816001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":204046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:47:02] local.INFO: GPS data processed {"connection_id":204046,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:47:02] local.INFO: Acknowledgment sent {"connection_id":204046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:47:05] local.INFO: TCP Data received {"connection_id":207112,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:47:05] local.INFO: Processing buffer {"connection_id":207112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:47:05] local.INFO: IMEI packet received {"connection_id":207112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":207112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:47:07] local.INFO: TCP Data received {"connection_id":207112,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:47:07] local.INFO: Processing buffer {"connection_id":207112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:47:07] local.INFO: Packet analysis {"connection_id":207112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:47:07] local.INFO: Extracted packet for processing {"connection_id":207112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:47:07] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534846464001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791152045000,"timestamp_ms":1791152045000,"timestamp_seconds":1791152045,"priority":1,"record_length":96,"hex_timestamp":"000001a108fb3bc8"} 
[2026-10-05 03:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03: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-10-05 03:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534846464001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534846464001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:47:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:47:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534846464001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":207112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:47:07] local.INFO: GPS data processed {"connection_id":207112,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:47:07] local.INFO: Acknowledgment sent {"connection_id":207112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:47:32] local.INFO: TCP Data received {"connection_id":204046,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:47:32] local.INFO: Processing buffer {"connection_id":204046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:47:32] local.INFO: Packet analysis {"connection_id":204046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:47:32] local.INFO: Extracted packet for processing {"connection_id":204046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:47:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534850816001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:47: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-10-05 03:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791152062000,"timestamp_ms":1791152062000,"timestamp_seconds":1791152062,"priority":1,"record_length":96,"hex_timestamp":"000001a108fb7e30"} 
[2026-10-05 03:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 03:47:32] 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-10-05 03:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534850816001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534850816001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:47:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:47:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534850816001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":204046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:47:32] local.INFO: GPS data processed {"connection_id":204046,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:47:32] local.INFO: Acknowledgment sent {"connection_id":204046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:47:38] local.INFO: TCP Data received {"connection_id":207112,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:47:38] local.INFO: Processing buffer {"connection_id":207112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:47:38] local.INFO: Packet analysis {"connection_id":207112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:47:38] local.INFO: Extracted packet for processing {"connection_id":207112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:47:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534846464001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791152045000,"timestamp_ms":1791152045000,"timestamp_seconds":1791152045,"priority":1,"record_length":96,"hex_timestamp":"000001a108fb3bc8"} 
[2026-10-05 03:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534846464001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534846464001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:47:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:47:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534846464001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":207112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:47:38] local.INFO: GPS data processed {"connection_id":207112,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:47:38] local.INFO: Acknowledgment sent {"connection_id":207112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:47:56] local.INFO: TCP Data received {"connection_id":204048,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:47:56] local.INFO: Processing buffer {"connection_id":204048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:47:56] local.INFO: IMEI packet received {"connection_id":204048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":204048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:48:00] local.INFO: TCP Data received {"connection_id":204119,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:48:00] local.INFO: Processing buffer {"connection_id":204119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:48:00] local.INFO: IMEI packet received {"connection_id":204119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":204119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:48:01] local.INFO: TCP Data received {"connection_id":204048,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:48:01] local.INFO: Processing buffer {"connection_id":204048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:48:01] local.INFO: IMEI packet received {"connection_id":204048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":204048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:48:02] local.INFO: TCP Data received {"connection_id":204048,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:48:02] local.INFO: Processing buffer {"connection_id":204048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:48:02] local.INFO: Packet analysis {"connection_id":204048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:48:02] local.INFO: Extracted packet for processing {"connection_id":204048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:48:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534850816001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:48:02] 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-10-05 03:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791152062000,"timestamp_ms":1791152062000,"timestamp_seconds":1791152062,"priority":1,"record_length":96,"hex_timestamp":"000001a108fb7e30"} 
[2026-10-05 03:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 03:48:02] 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-10-05 03: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-10-05 03:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:48: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-10-05 03:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534850816001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534850816001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:48:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:48:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534850816001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":204048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:48:02] local.INFO: GPS data processed {"connection_id":204048,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:48:02] local.INFO: Acknowledgment sent {"connection_id":204048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:48:05] local.INFO: TCP Data received {"connection_id":204119,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:48:05] local.INFO: Processing buffer {"connection_id":204119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:48:05] local.INFO: IMEI packet received {"connection_id":204119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":204119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:48:06] local.INFO: TCP Data received {"connection_id":204119,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:48:06] local.INFO: Processing buffer {"connection_id":204119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:48:06] local.INFO: Packet analysis {"connection_id":204119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:48:06] local.INFO: Extracted packet for processing {"connection_id":204119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:48:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534846464001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791152045000,"timestamp_ms":1791152045000,"timestamp_seconds":1791152045,"priority":1,"record_length":96,"hex_timestamp":"000001a108fb3bc8"} 
[2026-10-05 03:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534846464001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534846464001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:48:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:48:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534846464001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":204119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965100,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:48:06] local.INFO: GPS data processed {"connection_id":204119,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:48:06] local.INFO: Acknowledgment sent {"connection_id":204119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:48:33] local.INFO: TCP Data received {"connection_id":204048,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:48:33] local.INFO: Processing buffer {"connection_id":204048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:48:33] local.INFO: Packet analysis {"connection_id":204048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:48:33] local.INFO: Extracted packet for processing {"connection_id":204048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534850816001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:48: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-10-05 03:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791152062000,"timestamp_ms":1791152062000,"timestamp_seconds":1791152062,"priority":1,"record_length":96,"hex_timestamp":"000001a108fb7e30"} 
[2026-10-05 03:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 03:48:33] 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-10-05 03: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-10-05 03:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534850816001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534850816001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:48:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:48:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534850816001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":204048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:48:33] local.INFO: GPS data processed {"connection_id":204048,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:48:33] local.INFO: Acknowledgment sent {"connection_id":204048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:48:37] local.INFO: TCP Data received {"connection_id":204119,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:48:38] local.INFO: Processing buffer {"connection_id":204119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:48:38] local.INFO: Packet analysis {"connection_id":204119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:48:38] local.INFO: Extracted packet for processing {"connection_id":204119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:48:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534846464001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791152045000,"timestamp_ms":1791152045000,"timestamp_seconds":1791152045,"priority":1,"record_length":96,"hex_timestamp":"000001a108fb3bc8"} 
[2026-10-05 03:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534846464001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534846464001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:48:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:48:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534846464001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":204119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:48:38] local.INFO: GPS data processed {"connection_id":204119,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:48:38] local.INFO: Acknowledgment sent {"connection_id":204119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:48:59] local.INFO: TCP Data received {"connection_id":204049,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:48:59] local.INFO: Processing buffer {"connection_id":204049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:48:59] local.INFO: IMEI packet received {"connection_id":204049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":204049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:49:00] local.INFO: TCP Data received {"connection_id":204050,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:49:00] local.INFO: Processing buffer {"connection_id":204050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:49:00] local.INFO: IMEI packet received {"connection_id":204050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":204050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:49:01] local.INFO: TCP Data received {"connection_id":204049,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:49:01] local.INFO: Processing buffer {"connection_id":204049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:49:01] local.INFO: IMEI packet received {"connection_id":204049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":204049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:49:02] local.INFO: TCP Data received {"connection_id":204049,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:49:02] local.INFO: Processing buffer {"connection_id":204049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:49:02] local.INFO: Packet analysis {"connection_id":204049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:49:02] local.INFO: Extracted packet for processing {"connection_id":204049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:49:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534850816001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:49:02] 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-10-05 03:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791152062000,"timestamp_ms":1791152062000,"timestamp_seconds":1791152062,"priority":1,"record_length":96,"hex_timestamp":"000001a108fb7e30"} 
[2026-10-05 03:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 03:49:02] 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-10-05 03:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:49: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-10-05 03:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534850816001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534850816001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:49:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:49:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534850816001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":204049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:49:02] local.INFO: GPS data processed {"connection_id":204049,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:49:02] local.INFO: Acknowledgment sent {"connection_id":204049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:49:05] local.INFO: TCP Data received {"connection_id":204050,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:49:05] local.INFO: Processing buffer {"connection_id":204050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:49:05] local.INFO: IMEI packet received {"connection_id":204050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":204050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:49:06] local.INFO: TCP Data received {"connection_id":204050,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:49:06] local.INFO: Processing buffer {"connection_id":204050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108fb3bc8012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:49:06] local.INFO: Packet analysis {"connection_id":204050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:49:06] local.INFO: Extracted packet for processing {"connection_id":204050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:49:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534846464001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791152045000,"timestamp_ms":1791152045000,"timestamp_seconds":1791152045,"priority":1,"record_length":96,"hex_timestamp":"000001a108fb3bc8"} 
[2026-10-05 03:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534846464001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534846464001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:49:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:49:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534846464001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":204050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965104,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:49:06] local.INFO: GPS data processed {"connection_id":204050,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:49:06] local.INFO: Acknowledgment sent {"connection_id":204050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:49:06] local.INFO: TCP Data received {"connection_id":204049,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:49:06] local.INFO: Processing buffer {"connection_id":204049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:49:06] local.INFO: Packet analysis {"connection_id":204049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:49:06] local.INFO: Extracted packet for processing {"connection_id":204049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:49:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534850816001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:49:06] 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-10-05 03:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791152062000,"timestamp_ms":1791152062000,"timestamp_seconds":1791152062,"priority":1,"record_length":96,"hex_timestamp":"000001a108fb7e30"} 
[2026-10-05 03:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 03:49:06] 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-10-05 03:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534850816001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534850816001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:49:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:49:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534850816001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":204049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:49:06] local.INFO: GPS data processed {"connection_id":204049,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:49:06] local.INFO: Acknowledgment sent {"connection_id":204049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:49:19] local.INFO: TCP Data received {"connection_id":207113,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:49:19] local.INFO: Processing buffer {"connection_id":207113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:49:19] local.INFO: IMEI packet received {"connection_id":207113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 03:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":207113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:49:37] local.INFO: TCP Data received {"connection_id":204050,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:49:37] local.INFO: Processing buffer {"connection_id":204050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:49:37] local.INFO: Packet analysis {"connection_id":204050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ff"} 
[2026-10-05 03:49:37] local.INFO: Extracted packet for processing {"connection_id":204050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ff"} 
[2026-10-05 03:49:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534923520001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791152346000,"timestamp_ms":1791152346000,"timestamp_seconds":1791152346,"priority":1,"record_length":96,"hex_timestamp":"000001a108ffd390"} 
[2026-10-05 03:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03: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-10-05 03:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534923520001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534923520001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:49:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:49:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534923520001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":204050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:49:37] local.INFO: GPS data processed {"connection_id":204050,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:49:37] local.INFO: Acknowledgment sent {"connection_id":204050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:49:39] local.INFO: TCP Data received {"connection_id":204049,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:49:39] local.INFO: Processing buffer {"connection_id":204049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108fb7e30012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:49:39] local.INFO: Packet analysis {"connection_id":204049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:49:39] local.INFO: Extracted packet for processing {"connection_id":204049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108fb"} 
[2026-10-05 03:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534850816001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:49:39] 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-10-05 03:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791152062000,"timestamp_ms":1791152062000,"timestamp_seconds":1791152062,"priority":1,"record_length":96,"hex_timestamp":"000001a108fb7e30"} 
[2026-10-05 03:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 03:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":204049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":204049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":204049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534850816001,"66":25604,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534850816001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:49:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534850816001,"power":25604,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":204049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:49:39] local.INFO: GPS data processed {"connection_id":204049,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:49:39] local.INFO: Acknowledgment sent {"connection_id":204049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:49:43] local.INFO: TCP Data received {"connection_id":205563,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:49:43] local.INFO: Processing buffer {"connection_id":205563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:49:43] local.INFO: IMEI packet received {"connection_id":205563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 03:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":205563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:49:56] local.INFO: TCP Data received {"connection_id":205564,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:49:56] local.INFO: Processing buffer {"connection_id":205564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:49:56] local.INFO: IMEI packet received {"connection_id":205564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":205564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:50:02] local.INFO: TCP Data received {"connection_id":205564,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:50:02] local.INFO: Processing buffer {"connection_id":205564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:50:02] local.INFO: IMEI packet received {"connection_id":205564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":205564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:50:03] local.INFO: TCP Data received {"connection_id":205564,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:50:03] local.INFO: Processing buffer {"connection_id":205564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:50:03] local.INFO: Packet analysis {"connection_id":205564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10900"} 
[2026-10-05 03:50:03] local.INFO: Extracted packet for processing {"connection_id":205564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10900"} 
[2026-10-05 03:50:03] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534927872001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:50:03] 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-10-05 03:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791152363000,"timestamp_ms":1791152363000,"timestamp_seconds":1791152363,"priority":1,"record_length":96,"hex_timestamp":"000001a1090015f8"} 
[2026-10-05 03:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 03:50: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-10-05 03: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-10-05 03:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":205564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":205564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":205564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:50: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-10-05 03:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534927872001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534927872001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:50:03] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:50:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534927872001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":205564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:50:03] local.INFO: GPS data processed {"connection_id":205564,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:50:03] local.INFO: Acknowledgment sent {"connection_id":205564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:50:05] local.INFO: TCP Data received {"connection_id":204120,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:50:05] local.INFO: Processing buffer {"connection_id":204120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:50:05] local.INFO: IMEI packet received {"connection_id":204120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":204120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:50:10] local.INFO: TCP Data received {"connection_id":204120,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:50:10] local.INFO: Processing buffer {"connection_id":204120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:50:10] local.INFO: IMEI packet received {"connection_id":204120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":204120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:50:11] local.INFO: TCP Data received {"connection_id":204120,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:50:11] local.INFO: Processing buffer {"connection_id":204120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:50:11] local.INFO: Packet analysis {"connection_id":204120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ff"} 
[2026-10-05 03:50:11] local.INFO: Extracted packet for processing {"connection_id":204120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ff"} 
[2026-10-05 03:50:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534923520001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791152346000,"timestamp_ms":1791152346000,"timestamp_seconds":1791152346,"priority":1,"record_length":96,"hex_timestamp":"000001a108ffd390"} 
[2026-10-05 03:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534923520001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534923520001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:50:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:50:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534923520001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":204120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:50:11] local.INFO: GPS data processed {"connection_id":204120,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:50:11] local.INFO: Acknowledgment sent {"connection_id":204120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:50:16] local.INFO: TCP Data received {"connection_id":204120,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:50:16] local.INFO: Processing buffer {"connection_id":204120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:50:16] local.INFO: Packet analysis {"connection_id":204120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ff"} 
[2026-10-05 03:50:16] local.INFO: Extracted packet for processing {"connection_id":204120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ff"} 
[2026-10-05 03:50:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534923520001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791152346000,"timestamp_ms":1791152346000,"timestamp_seconds":1791152346,"priority":1,"record_length":96,"hex_timestamp":"000001a108ffd390"} 
[2026-10-05 03:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534923520001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534923520001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:50:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:50:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534923520001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":204120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:50:16] local.INFO: GPS data processed {"connection_id":204120,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:50:16] local.INFO: Acknowledgment sent {"connection_id":204120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:50:33] local.INFO: TCP Data received {"connection_id":205564,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:50:33] local.INFO: Processing buffer {"connection_id":205564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:50:33] local.INFO: Packet analysis {"connection_id":205564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10900"} 
[2026-10-05 03:50:33] local.INFO: Extracted packet for processing {"connection_id":205564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10900"} 
[2026-10-05 03:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534927872001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:50: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-10-05 03:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791152363000,"timestamp_ms":1791152363000,"timestamp_seconds":1791152363,"priority":1,"record_length":96,"hex_timestamp":"000001a1090015f8"} 
[2026-10-05 03:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 03:50:33] 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-10-05 03: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-10-05 03:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534927872001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534927872001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:50:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:50:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534927872001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":205564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:50:33] local.INFO: GPS data processed {"connection_id":205564,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:50:33] local.INFO: Acknowledgment sent {"connection_id":205564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:50:56] local.INFO: TCP Data received {"connection_id":204052,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:50:56] local.INFO: Processing buffer {"connection_id":204052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:50:56] local.INFO: IMEI packet received {"connection_id":204052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":204052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:51:00] local.INFO: TCP Data received {"connection_id":207114,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:51:00] local.INFO: Processing buffer {"connection_id":207114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:51:00] local.INFO: IMEI packet received {"connection_id":207114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":207114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:51:01] local.INFO: TCP Data received {"connection_id":204052,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:51:01] local.INFO: Processing buffer {"connection_id":204052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:51:01] local.INFO: IMEI packet received {"connection_id":204052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":204052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:51:03] local.INFO: TCP Data received {"connection_id":204052,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:51:03] local.INFO: Processing buffer {"connection_id":204052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:51:03] local.INFO: Packet analysis {"connection_id":204052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10900"} 
[2026-10-05 03:51:03] local.INFO: Extracted packet for processing {"connection_id":204052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10900"} 
[2026-10-05 03:51:03] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534927872001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:51:03] 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-10-05 03:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791152363000,"timestamp_ms":1791152363000,"timestamp_seconds":1791152363,"priority":1,"record_length":96,"hex_timestamp":"000001a1090015f8"} 
[2026-10-05 03:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 03:51: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-10-05 03: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-10-05 03:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":204052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":204052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":204052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:51: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-10-05 03:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534927872001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534927872001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:51:03] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:51:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534927872001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":204052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:51:03] local.INFO: GPS data processed {"connection_id":204052,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:51:03] local.INFO: Acknowledgment sent {"connection_id":204052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:51:05] local.INFO: TCP Data received {"connection_id":207114,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:51:05] local.INFO: Processing buffer {"connection_id":207114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:51:05] local.INFO: IMEI packet received {"connection_id":207114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":207114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:51:06] local.INFO: TCP Data received {"connection_id":207114,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:51:06] local.INFO: Processing buffer {"connection_id":207114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:51:06] local.INFO: Packet analysis {"connection_id":207114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ff"} 
[2026-10-05 03:51:06] local.INFO: Extracted packet for processing {"connection_id":207114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ff"} 
[2026-10-05 03:51:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534923520001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791152346000,"timestamp_ms":1791152346000,"timestamp_seconds":1791152346,"priority":1,"record_length":96,"hex_timestamp":"000001a108ffd390"} 
[2026-10-05 03:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534923520001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534923520001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:51:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:51:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534923520001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":207114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:51:07] local.INFO: GPS data processed {"connection_id":207114,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:51:07] local.INFO: Acknowledgment sent {"connection_id":207114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:51:34] local.INFO: TCP Data received {"connection_id":204052,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:51:34] local.INFO: Processing buffer {"connection_id":204052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:51:34] local.INFO: Packet analysis {"connection_id":204052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10900"} 
[2026-10-05 03:51:34] local.INFO: Extracted packet for processing {"connection_id":204052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10900"} 
[2026-10-05 03:51:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534927872001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:51:34] 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-10-05 03:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791152363000,"timestamp_ms":1791152363000,"timestamp_seconds":1791152363,"priority":1,"record_length":96,"hex_timestamp":"000001a1090015f8"} 
[2026-10-05 03:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 03:51: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-10-05 03: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-10-05 03:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":204052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":204052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":204052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534927872001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534927872001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:51:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:51:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534927872001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":204052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:51:34] local.INFO: GPS data processed {"connection_id":204052,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:51:34] local.INFO: Acknowledgment sent {"connection_id":204052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:51:38] local.INFO: TCP Data received {"connection_id":207114,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:51:38] local.INFO: Processing buffer {"connection_id":207114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:51:38] local.INFO: Packet analysis {"connection_id":207114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ff"} 
[2026-10-05 03:51:38] local.INFO: Extracted packet for processing {"connection_id":207114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ff"} 
[2026-10-05 03:51:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534923520001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791152346000,"timestamp_ms":1791152346000,"timestamp_seconds":1791152346,"priority":1,"record_length":96,"hex_timestamp":"000001a108ffd390"} 
[2026-10-05 03:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534923520001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534923520001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:51:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:51:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534923520001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":207114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:51:38] local.INFO: GPS data processed {"connection_id":207114,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:51:38] local.INFO: Acknowledgment sent {"connection_id":207114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:51:56] local.INFO: TCP Data received {"connection_id":207115,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:51:56] local.INFO: Processing buffer {"connection_id":207115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:51:56] local.INFO: IMEI packet received {"connection_id":207115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":207115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:52:00] local.INFO: TCP Data received {"connection_id":204053,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:52:00] local.INFO: Processing buffer {"connection_id":204053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:52:00] local.INFO: IMEI packet received {"connection_id":204053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":204053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:52:03] local.INFO: TCP Data received {"connection_id":207115,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:52:03] local.INFO: Processing buffer {"connection_id":207115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:52:03] local.INFO: IMEI packet received {"connection_id":207115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":207115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:52:04] local.INFO: TCP Data received {"connection_id":207115,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:52:04] local.INFO: Processing buffer {"connection_id":207115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:52:04] local.INFO: Packet analysis {"connection_id":207115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10900"} 
[2026-10-05 03:52:04] local.INFO: Extracted packet for processing {"connection_id":207115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10900"} 
[2026-10-05 03:52:04] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534927872001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:52: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-10-05 03:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791152363000,"timestamp_ms":1791152363000,"timestamp_seconds":1791152363,"priority":1,"record_length":96,"hex_timestamp":"000001a1090015f8"} 
[2026-10-05 03:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 03:52: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-10-05 03: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-10-05 03:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":207115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":207115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":207115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03: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-10-05 03:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534927872001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534927872001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:52:04] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:52:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534927872001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":207115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:52:04] local.INFO: GPS data processed {"connection_id":207115,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:52:04] local.INFO: Acknowledgment sent {"connection_id":207115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:52:05] local.INFO: TCP Data received {"connection_id":204053,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:52:05] local.INFO: Processing buffer {"connection_id":204053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:52:05] local.INFO: IMEI packet received {"connection_id":204053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":204053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:52:06] local.INFO: TCP Data received {"connection_id":204053,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:52:06] local.INFO: Processing buffer {"connection_id":204053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:52:06] local.INFO: Packet analysis {"connection_id":204053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ff"} 
[2026-10-05 03:52:06] local.INFO: Extracted packet for processing {"connection_id":204053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ff"} 
[2026-10-05 03:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534923520001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791152346000,"timestamp_ms":1791152346000,"timestamp_seconds":1791152346,"priority":1,"record_length":96,"hex_timestamp":"000001a108ffd390"} 
[2026-10-05 03:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:52:06] 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-10-05 03:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534923520001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534923520001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:52:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:52:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534923520001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":204053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965117,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:52:06] local.INFO: GPS data processed {"connection_id":204053,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:52:06] local.INFO: Acknowledgment sent {"connection_id":204053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:52:35] local.INFO: TCP Data received {"connection_id":207115,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:52:35] local.INFO: Processing buffer {"connection_id":207115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:52:35] local.INFO: Packet analysis {"connection_id":207115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10900"} 
[2026-10-05 03:52:35] local.INFO: Extracted packet for processing {"connection_id":207115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10900"} 
[2026-10-05 03:52:35] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534927872001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:52:35] 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-10-05 03:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791152363000,"timestamp_ms":1791152363000,"timestamp_seconds":1791152363,"priority":1,"record_length":96,"hex_timestamp":"000001a1090015f8"} 
[2026-10-05 03:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 03:52:35] 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-10-05 03:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":207115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":207115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":207115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534927872001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534927872001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:52:35] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:52:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534927872001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":207115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:52:35] local.INFO: GPS data processed {"connection_id":207115,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:52:35] local.INFO: Acknowledgment sent {"connection_id":207115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:52:37] local.INFO: TCP Data received {"connection_id":204053,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:52:37] local.INFO: Processing buffer {"connection_id":204053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:52:37] local.INFO: Packet analysis {"connection_id":204053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ff"} 
[2026-10-05 03:52:37] local.INFO: Extracted packet for processing {"connection_id":204053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ff"} 
[2026-10-05 03:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534923520001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791152346000,"timestamp_ms":1791152346000,"timestamp_seconds":1791152346,"priority":1,"record_length":96,"hex_timestamp":"000001a108ffd390"} 
[2026-10-05 03:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:52:37] 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-10-05 03:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534923520001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534923520001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:52:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:52:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534923520001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":204053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:52:37] local.INFO: GPS data processed {"connection_id":204053,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:52:37] local.INFO: Acknowledgment sent {"connection_id":204053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:53:00] local.INFO: TCP Data received {"connection_id":205567,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205567,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:53:00] local.INFO: Processing buffer {"connection_id":205567,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:53:00] local.INFO: IMEI packet received {"connection_id":205567,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":205567,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:53:01] local.INFO: TCP Data received {"connection_id":207116,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:53:01] local.INFO: Processing buffer {"connection_id":207116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:53:01] local.INFO: IMEI packet received {"connection_id":207116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":207116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:53:05] local.INFO: TCP Data received {"connection_id":205567,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205567,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:53:05] local.INFO: Processing buffer {"connection_id":205567,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:53:05] local.INFO: IMEI packet received {"connection_id":205567,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":205567,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:53:06] local.INFO: TCP Data received {"connection_id":207116,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:53:06] local.INFO: Processing buffer {"connection_id":207116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:53:06] local.INFO: IMEI packet received {"connection_id":207116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":207116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:53:06] local.INFO: TCP Data received {"connection_id":205567,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:53:06] local.INFO: Processing buffer {"connection_id":205567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:53:06] local.INFO: Packet analysis {"connection_id":205567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ff"} 
[2026-10-05 03:53:06] local.INFO: Extracted packet for processing {"connection_id":205567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ff"} 
[2026-10-05 03:53:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534923520001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791152346000,"timestamp_ms":1791152346000,"timestamp_seconds":1791152346,"priority":1,"record_length":96,"hex_timestamp":"000001a108ffd390"} 
[2026-10-05 03:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534923520001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534923520001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:53:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:53:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534923520001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":205567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:53:06] local.INFO: GPS data processed {"connection_id":205567,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:53:06] local.INFO: Acknowledgment sent {"connection_id":205567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:53:07] local.INFO: TCP Data received {"connection_id":207116,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:53:07] local.INFO: Processing buffer {"connection_id":207116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:53:07] local.INFO: Packet analysis {"connection_id":207116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10900"} 
[2026-10-05 03:53:07] local.INFO: Extracted packet for processing {"connection_id":207116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10900"} 
[2026-10-05 03:53:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534927872001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:53:07] 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-10-05 03:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791152363000,"timestamp_ms":1791152363000,"timestamp_seconds":1791152363,"priority":1,"record_length":96,"hex_timestamp":"000001a1090015f8"} 
[2026-10-05 03:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 03:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534927872001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534927872001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:53:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:53:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534927872001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":207116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:53:07] local.INFO: GPS data processed {"connection_id":207116,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:53:07] local.INFO: Acknowledgment sent {"connection_id":207116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:53:37] local.INFO: TCP Data received {"connection_id":205567,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:53:37] local.INFO: Processing buffer {"connection_id":205567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:53:37] local.INFO: Packet analysis {"connection_id":205567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ff"} 
[2026-10-05 03:53:37] local.INFO: Extracted packet for processing {"connection_id":205567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ff"} 
[2026-10-05 03:53:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534923520001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791152346000,"timestamp_ms":1791152346000,"timestamp_seconds":1791152346,"priority":1,"record_length":96,"hex_timestamp":"000001a108ffd390"} 
[2026-10-05 03:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534923520001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534923520001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:53:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:53:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534923520001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":205567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:53:38] local.INFO: GPS data processed {"connection_id":205567,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:53:38] local.INFO: Acknowledgment sent {"connection_id":205567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:53:38] local.INFO: TCP Data received {"connection_id":207116,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:53:38] local.INFO: Processing buffer {"connection_id":207116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:53:38] local.INFO: Packet analysis {"connection_id":207116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10900"} 
[2026-10-05 03:53:38] local.INFO: Extracted packet for processing {"connection_id":207116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10900"} 
[2026-10-05 03:53:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534927872001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:53:38] 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-10-05 03:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791152363000,"timestamp_ms":1791152363000,"timestamp_seconds":1791152363,"priority":1,"record_length":96,"hex_timestamp":"000001a1090015f8"} 
[2026-10-05 03:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 03:53:38] 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-10-05 03:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534927872001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534927872001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:53:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:53:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534927872001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":207116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:53:38] local.INFO: GPS data processed {"connection_id":207116,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:53:38] local.INFO: Acknowledgment sent {"connection_id":207116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:53:56] local.INFO: TCP Data received {"connection_id":205569,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:53:56] local.INFO: Processing buffer {"connection_id":205569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:53:56] local.INFO: IMEI packet received {"connection_id":205569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":205569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:54:00] local.INFO: TCP Data received {"connection_id":207117,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:54:00] local.INFO: Processing buffer {"connection_id":207117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:54:00] local.INFO: IMEI packet received {"connection_id":207117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":207117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:54:01] local.INFO: TCP Data received {"connection_id":205569,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:54:01] local.INFO: Processing buffer {"connection_id":205569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:54:01] local.INFO: IMEI packet received {"connection_id":205569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 03:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":205569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:54:02] local.INFO: TCP Data received {"connection_id":205569,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:54:02] local.INFO: Processing buffer {"connection_id":205569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:54:02] local.INFO: Packet analysis {"connection_id":205569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10900"} 
[2026-10-05 03:54:02] local.INFO: Extracted packet for processing {"connection_id":205569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10900"} 
[2026-10-05 03:54:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534927872001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:54:02] 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-10-05 03:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791152363000,"timestamp_ms":1791152363000,"timestamp_seconds":1791152363,"priority":1,"record_length":96,"hex_timestamp":"000001a1090015f8"} 
[2026-10-05 03:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 03:54:02] 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-10-05 03: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-10-05 03:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:54: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-10-05 03:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534927872001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534927872001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:54:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:54:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534927872001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":205569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:54:02] local.INFO: GPS data processed {"connection_id":205569,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:54:02] local.INFO: Acknowledgment sent {"connection_id":205569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:54:05] local.INFO: TCP Data received {"connection_id":207117,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:54:05] local.INFO: Processing buffer {"connection_id":207117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:54:05] local.INFO: IMEI packet received {"connection_id":207117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":207117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:54:06] local.INFO: TCP Data received {"connection_id":207117,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:54:06] local.INFO: Processing buffer {"connection_id":207117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a108ffd390012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:54:06] local.INFO: Packet analysis {"connection_id":207117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a108ff"} 
[2026-10-05 03:54:06] local.INFO: Extracted packet for processing {"connection_id":207117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a108ff"} 
[2026-10-05 03:54:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534923520001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791152346000,"timestamp_ms":1791152346000,"timestamp_seconds":1791152346,"priority":1,"record_length":96,"hex_timestamp":"000001a108ffd390"} 
[2026-10-05 03:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534923520001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534923520001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:54:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:54:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534923520001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":207117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:54:06] local.INFO: GPS data processed {"connection_id":207117,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:54:06] local.INFO: Acknowledgment sent {"connection_id":207117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:54:33] local.INFO: TCP Data received {"connection_id":205569,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:54:33] local.INFO: Processing buffer {"connection_id":205569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090015f8012d7f91c005afd9f0000a010121..."} 
[2026-10-05 03:54:33] local.INFO: Packet analysis {"connection_id":205569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10900"} 
[2026-10-05 03:54:33] local.INFO: Extracted packet for processing {"connection_id":205569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10900"} 
[2026-10-05 03:54:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458534927872001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 03:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 03:54: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-10-05 03:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791152363000,"timestamp_ms":1791152363000,"timestamp_seconds":1791152363,"priority":1,"record_length":96,"hex_timestamp":"000001a1090015f8"} 
[2026-10-05 03:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 03:54:33] 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-10-05 03: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-10-05 03:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 03:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 03:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 03:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458534927872001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 03:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 03:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 03:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458534927872001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:54:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 03:54:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 03:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 03:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458534927872001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 03:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":205569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:54:33] local.INFO: GPS data processed {"connection_id":205569,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:54:33] local.INFO: Acknowledgment sent {"connection_id":205569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:54:37] local.INFO: TCP Data received {"connection_id":207117,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:54:37] local.INFO: Processing buffer {"connection_id":207117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:54:37] local.INFO: Packet analysis {"connection_id":207117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10904"} 
[2026-10-05 03:54:37] local.INFO: Extracted packet for processing {"connection_id":207117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10904"} 
[2026-10-05 03:54:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535000576001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791152647000,"timestamp_ms":1791152647000,"timestamp_seconds":1791152647,"priority":1,"record_length":96,"hex_timestamp":"000001a109046b58"} 
[2026-10-05 03:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:54:37] 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-10-05 03:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535000576001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535000576001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:54:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:54:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535000576001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":207117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:54:37] local.INFO: GPS data processed {"connection_id":207117,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:54:37] local.INFO: Acknowledgment sent {"connection_id":207117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:54:56] local.INFO: TCP Data received {"connection_id":204055,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:54:56] local.INFO: Processing buffer {"connection_id":204055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:54:56] local.INFO: IMEI packet received {"connection_id":204055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":204055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:55:05] local.INFO: TCP Data received {"connection_id":204121,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:55:05] local.INFO: Processing buffer {"connection_id":204121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:55:05] local.INFO: IMEI packet received {"connection_id":204121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":204121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:55:09] local.INFO: TCP Data received {"connection_id":204054,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:55:09] local.INFO: Processing buffer {"connection_id":204054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:55:09] local.INFO: IMEI packet received {"connection_id":204054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 03:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":204054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:55:10] local.INFO: TCP Data received {"connection_id":204121,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:55:10] local.INFO: Processing buffer {"connection_id":204121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:55:10] local.INFO: IMEI packet received {"connection_id":204121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":204121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:55:11] local.INFO: TCP Data received {"connection_id":204121,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:55:11] local.INFO: Processing buffer {"connection_id":204121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:55:11] local.INFO: Packet analysis {"connection_id":204121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10904"} 
[2026-10-05 03:55:11] local.INFO: Extracted packet for processing {"connection_id":204121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10904"} 
[2026-10-05 03:55:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535000576001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791152647000,"timestamp_ms":1791152647000,"timestamp_seconds":1791152647,"priority":1,"record_length":96,"hex_timestamp":"000001a109046b58"} 
[2026-10-05 03:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:55:11] 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-10-05 03:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:55: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-10-05 03:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535000576001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535000576001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:55:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535000576001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":204121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:55:11] local.INFO: GPS data processed {"connection_id":204121,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:55:11] local.INFO: Acknowledgment sent {"connection_id":204121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:55:31] local.INFO: TCP Data received {"connection_id":204122,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:55:31] local.INFO: Processing buffer {"connection_id":204122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 03:55:31] local.INFO: IMEI packet received {"connection_id":204122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 03:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":204122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:55:42] local.INFO: TCP Data received {"connection_id":204121,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:55:42] local.INFO: Processing buffer {"connection_id":204121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:55:42] local.INFO: Packet analysis {"connection_id":204121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10904"} 
[2026-10-05 03:55:42] local.INFO: Extracted packet for processing {"connection_id":204121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10904"} 
[2026-10-05 03:55:42] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03: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-10-05 03:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535000576001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791152647000,"timestamp_ms":1791152647000,"timestamp_seconds":1791152647,"priority":1,"record_length":96,"hex_timestamp":"000001a109046b58"} 
[2026-10-05 03:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03: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-10-05 03:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:55: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-10-05 03:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535000576001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535000576001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:55:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535000576001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":204121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:55:42] local.INFO: GPS data processed {"connection_id":204121,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:55:42] local.INFO: Acknowledgment sent {"connection_id":204121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:55:44] local.INFO: TCP Data received {"connection_id":204123,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:55:44] local.INFO: Processing buffer {"connection_id":204123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 03:55:44] local.INFO: IMEI packet received {"connection_id":204123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 03:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":204123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:56:00] local.INFO: TCP Data received {"connection_id":205570,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205570,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:56:00] local.INFO: Processing buffer {"connection_id":205570,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:56:00] local.INFO: IMEI packet received {"connection_id":205570,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":205570,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:56:05] local.INFO: TCP Data received {"connection_id":205570,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205570,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:56:05] local.INFO: Processing buffer {"connection_id":205570,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:56:05] local.INFO: IMEI packet received {"connection_id":205570,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":205570,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:56:06] local.INFO: TCP Data received {"connection_id":205570,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:56:06] local.INFO: Processing buffer {"connection_id":205570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:56:06] local.INFO: Packet analysis {"connection_id":205570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10904"} 
[2026-10-05 03:56:06] local.INFO: Extracted packet for processing {"connection_id":205570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10904"} 
[2026-10-05 03:56:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535000576001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791152647000,"timestamp_ms":1791152647000,"timestamp_seconds":1791152647,"priority":1,"record_length":96,"hex_timestamp":"000001a109046b58"} 
[2026-10-05 03:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:56:06] 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-10-05 03:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:56: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-10-05 03:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535000576001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535000576001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:56:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:56:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535000576001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":205570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:56:07] local.INFO: GPS data processed {"connection_id":205570,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:56:07] local.INFO: Acknowledgment sent {"connection_id":205570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:56:38] local.INFO: TCP Data received {"connection_id":205570,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:56:38] local.INFO: Processing buffer {"connection_id":205570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:56:38] local.INFO: Packet analysis {"connection_id":205570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10904"} 
[2026-10-05 03:56:38] local.INFO: Extracted packet for processing {"connection_id":205570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10904"} 
[2026-10-05 03:56:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:56: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-10-05 03:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535000576001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791152647000,"timestamp_ms":1791152647000,"timestamp_seconds":1791152647,"priority":1,"record_length":96,"hex_timestamp":"000001a109046b58"} 
[2026-10-05 03:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:56: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":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:56:38] 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-10-05 03:56: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-10-05 03:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:56: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-10-05 03:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535000576001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535000576001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:56:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:56:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535000576001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":205570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:56:38] local.INFO: GPS data processed {"connection_id":205570,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:56:38] local.INFO: Acknowledgment sent {"connection_id":205570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:57:00] local.INFO: TCP Data received {"connection_id":207119,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:57:00] local.INFO: Processing buffer {"connection_id":207119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:57:00] local.INFO: IMEI packet received {"connection_id":207119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":207119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:57:05] local.INFO: TCP Data received {"connection_id":207119,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:57:05] local.INFO: Processing buffer {"connection_id":207119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:57:05] local.INFO: IMEI packet received {"connection_id":207119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":207119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:57:06] local.INFO: TCP Data received {"connection_id":207119,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:57:06] local.INFO: Processing buffer {"connection_id":207119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:57:06] local.INFO: Packet analysis {"connection_id":207119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10904"} 
[2026-10-05 03:57:06] local.INFO: Extracted packet for processing {"connection_id":207119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10904"} 
[2026-10-05 03:57:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 03:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535000576001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791152647000,"timestamp_ms":1791152647000,"timestamp_seconds":1791152647,"priority":1,"record_length":96,"hex_timestamp":"000001a109046b58"} 
[2026-10-05 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-10-05 03:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:57:06] 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-10-05 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-10-05 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-10-05 03:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03: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-10-05 03:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535000576001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535000576001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:57:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:57:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535000576001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":207119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:57:06] local.INFO: GPS data processed {"connection_id":207119,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:57:06] local.INFO: Acknowledgment sent {"connection_id":207119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:57:37] local.INFO: TCP Data received {"connection_id":207119,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:57:37] local.INFO: Processing buffer {"connection_id":207119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:57:37] local.INFO: Packet analysis {"connection_id":207119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10904"} 
[2026-10-05 03:57:37] local.INFO: Extracted packet for processing {"connection_id":207119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10904"} 
[2026-10-05 03:57:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535000576001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791152647000,"timestamp_ms":1791152647000,"timestamp_seconds":1791152647,"priority":1,"record_length":96,"hex_timestamp":"000001a109046b58"} 
[2026-10-05 03:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:57:37] 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-10-05 03:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:57: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-10-05 03:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535000576001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535000576001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:57:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:57:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535000576001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":207119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:57:38] local.INFO: GPS data processed {"connection_id":207119,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:57:38] local.INFO: Acknowledgment sent {"connection_id":207119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:58:00] local.INFO: TCP Data received {"connection_id":207121,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:58:00] local.INFO: Processing buffer {"connection_id":207121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:58:00] local.INFO: IMEI packet received {"connection_id":207121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":207121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:58:05] local.INFO: TCP Data received {"connection_id":207121,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:58:05] local.INFO: Processing buffer {"connection_id":207121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:58:05] local.INFO: IMEI packet received {"connection_id":207121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":207121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:58:06] local.INFO: TCP Data received {"connection_id":207121,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:58:06] local.INFO: Processing buffer {"connection_id":207121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:58:06] local.INFO: Packet analysis {"connection_id":207121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10904"} 
[2026-10-05 03:58:06] local.INFO: Extracted packet for processing {"connection_id":207121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10904"} 
[2026-10-05 03:58:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535000576001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791152647000,"timestamp_ms":1791152647000,"timestamp_seconds":1791152647,"priority":1,"record_length":96,"hex_timestamp":"000001a109046b58"} 
[2026-10-05 03:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:58:06] 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-10-05 03:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03: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-10-05 03:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535000576001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535000576001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:58:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:58:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535000576001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":207121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:58:06] local.INFO: GPS data processed {"connection_id":207121,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:58:06] local.INFO: Acknowledgment sent {"connection_id":207121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:58:37] local.INFO: TCP Data received {"connection_id":207121,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:58:37] local.INFO: Processing buffer {"connection_id":207121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:58:37] local.INFO: Packet analysis {"connection_id":207121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10904"} 
[2026-10-05 03:58:37] local.INFO: Extracted packet for processing {"connection_id":207121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10904"} 
[2026-10-05 03:58:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535000576001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791152647000,"timestamp_ms":1791152647000,"timestamp_seconds":1791152647,"priority":1,"record_length":96,"hex_timestamp":"000001a109046b58"} 
[2026-10-05 03:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:58:37] 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-10-05 03:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03: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-10-05 03:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535000576001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535000576001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:58:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:58:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535000576001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":207121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:58:37] local.INFO: GPS data processed {"connection_id":207121,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:58:37] local.INFO: Acknowledgment sent {"connection_id":207121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:59:00] local.INFO: TCP Data received {"connection_id":205573,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205573,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:59:00] local.INFO: Processing buffer {"connection_id":205573,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:59:00] local.INFO: IMEI packet received {"connection_id":205573,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 03:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":205573,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 03:59:05] local.INFO: TCP Data received {"connection_id":205573,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205573,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:59:05] local.INFO: Processing buffer {"connection_id":205573,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 03:59:05] local.INFO: IMEI packet received {"connection_id":205573,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 03:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":205573,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 03:59:06] local.INFO: TCP Data received {"connection_id":205573,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:59:06] local.INFO: Processing buffer {"connection_id":205573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109046b58012d7c2ac005dac8a0000800bf21..."} 
[2026-10-05 03:59:06] local.INFO: Packet analysis {"connection_id":205573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10904"} 
[2026-10-05 03:59:06] local.INFO: Extracted packet for processing {"connection_id":205573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10904"} 
[2026-10-05 03:59:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535000576001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791152647000,"timestamp_ms":1791152647000,"timestamp_seconds":1791152647,"priority":1,"record_length":96,"hex_timestamp":"000001a109046b58"} 
[2026-10-05 03:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 03:59:06] 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-10-05 03:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535000576001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535000576001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:59:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:59:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535000576001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":205573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:59:06] local.INFO: GPS data processed {"connection_id":205573,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:59:06] local.INFO: Acknowledgment sent {"connection_id":205573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 03:59:37] local.INFO: TCP Data received {"connection_id":205573,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:59:37] local.INFO: Processing buffer {"connection_id":205573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 03:59:37] local.INFO: Packet analysis {"connection_id":205573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 03:59:37] local.INFO: Extracted packet for processing {"connection_id":205573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 03:59:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 03:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 03:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535077632001,"note":"Value kept but may cause issues"} 
[2026-10-05 03:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 03:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 03:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 03:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791152948000,"timestamp_ms":1791152948000,"timestamp_seconds":1791152948,"priority":1,"record_length":96,"hex_timestamp":"000001a109090320"} 
[2026-10-05 03:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 03:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 03:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 03:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 03:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 03:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 03:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 03:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 03:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 03:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 03:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 03:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 03:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535077632001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 03:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 03:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 03:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535077632001,"description":"Unknown IO ID 0"} 
[2026-10-05 03:59:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 03:59:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 03:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 03:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 03:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535077632001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 03:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":205573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 03:59:37] local.INFO: GPS data processed {"connection_id":205573,"processed":1,"errors":0,"total":1} 
[2026-10-05 03:59:37] local.INFO: Acknowledgment sent {"connection_id":205573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:00:05] local.INFO: TCP Data received {"connection_id":204127,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:00:05] local.INFO: Processing buffer {"connection_id":204127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:00:05] local.INFO: IMEI packet received {"connection_id":204127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":204127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:00:10] local.INFO: TCP Data received {"connection_id":204127,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:00:10] local.INFO: Processing buffer {"connection_id":204127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:00:10] local.INFO: IMEI packet received {"connection_id":204127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":204127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:00:11] local.INFO: TCP Data received {"connection_id":204127,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 04:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 04:00:11] local.INFO: Processing buffer {"connection_id":204127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 04:00:11] local.INFO: Packet analysis {"connection_id":204127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:00:11] local.INFO: Extracted packet for processing {"connection_id":204127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:00:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535077632001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791152948000,"timestamp_ms":1791152948000,"timestamp_seconds":1791152948,"priority":1,"record_length":96,"hex_timestamp":"000001a109090320"} 
[2026-10-05 04:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 04:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04: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-10-05 04:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535077632001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535077632001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:00:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:00:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535077632001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":204127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:00:11] local.INFO: GPS data processed {"connection_id":204127,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:00:11] local.INFO: Acknowledgment sent {"connection_id":204127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:00:36] local.INFO: TCP Data received {"connection_id":204126,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:00:36] local.INFO: Processing buffer {"connection_id":204126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:00:36] local.INFO: IMEI packet received {"connection_id":204126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":204126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:00:37] local.INFO: TCP Data received {"connection_id":204126,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10904adc0012d7f91c005afd9f00008010122..."} 
[2026-10-05 04:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10904adc0012d7f91c005afd9f00008010122..."} 
[2026-10-05 04:00:37] local.INFO: Processing buffer {"connection_id":204126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10904adc0012d7f91c005afd9f00008010122..."} 
[2026-10-05 04:00:37] local.INFO: Packet analysis {"connection_id":204126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10904"} 
[2026-10-05 04:00:37] local.INFO: Extracted packet for processing {"connection_id":204126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10904"} 
[2026-10-05 04:00:37] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535004928001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791152664000,"timestamp_ms":1791152664000,"timestamp_seconds":1791152664,"priority":1,"record_length":96,"hex_timestamp":"000001a10904adc0"} 
[2026-10-05 04:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:00:37] 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-10-05 04:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535004928001,"66":25582,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535004928001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:00:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 04:00:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535004928001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":204126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:00:37] local.INFO: GPS data processed {"connection_id":204126,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:00:37] local.INFO: Acknowledgment sent {"connection_id":204126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:00:42] local.INFO: TCP Data received {"connection_id":204127,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 04:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 04:00:42] local.INFO: Processing buffer {"connection_id":204127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 04:00:42] local.INFO: Packet analysis {"connection_id":204127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:00:42] local.INFO: Extracted packet for processing {"connection_id":204127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:00:42] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535077632001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791152948000,"timestamp_ms":1791152948000,"timestamp_seconds":1791152948,"priority":1,"record_length":96,"hex_timestamp":"000001a109090320"} 
[2026-10-05 04:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 04:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535077632001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535077632001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:00:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:00:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535077632001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":204127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:00:42] local.INFO: GPS data processed {"connection_id":204127,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:00:42] local.INFO: Acknowledgment sent {"connection_id":204127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:00:58] local.INFO: TCP Data received {"connection_id":205574,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:00:58] local.INFO: Processing buffer {"connection_id":205574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:00:58] local.INFO: IMEI packet received {"connection_id":205574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 04:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":205574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:01:00] local.INFO: TCP Data received {"connection_id":205575,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205575,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:01:00] local.INFO: Processing buffer {"connection_id":205575,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:01:00] local.INFO: IMEI packet received {"connection_id":205575,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":205575,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:01:01] local.INFO: TCP Data received {"connection_id":204128,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:01:01] local.INFO: Processing buffer {"connection_id":204128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:01:01] local.INFO: IMEI packet received {"connection_id":204128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":204128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:01:05] local.INFO: TCP Data received {"connection_id":205575,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205575,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:01:05] local.INFO: Processing buffer {"connection_id":205575,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:01:05] local.INFO: IMEI packet received {"connection_id":205575,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":205575,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:01:06] local.INFO: TCP Data received {"connection_id":205575,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 04:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 04:01:06] local.INFO: Processing buffer {"connection_id":205575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 04:01:06] local.INFO: Packet analysis {"connection_id":205575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:01:06] local.INFO: Extracted packet for processing {"connection_id":205575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:01:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535077632001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791152948000,"timestamp_ms":1791152948000,"timestamp_seconds":1791152948,"priority":1,"record_length":96,"hex_timestamp":"000001a109090320"} 
[2026-10-05 04:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 04:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535077632001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535077632001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:01:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:01:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535077632001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:01:06] local.INFO: TCP Data received {"connection_id":204128,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:01:06] local.INFO: Processing buffer {"connection_id":204128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:01:06] local.INFO: IMEI packet received {"connection_id":204128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":204128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":205575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:01:06] local.INFO: GPS data processed {"connection_id":205575,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:01:06] local.INFO: Acknowledgment sent {"connection_id":205575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:01:07] local.INFO: TCP Data received {"connection_id":204128,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109094588012d7f91c005afd9f0000901011f..."} 
[2026-10-05 04:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109094588012d7f91c005afd9f0000901011f..."} 
[2026-10-05 04:01:07] local.INFO: Processing buffer {"connection_id":204128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109094588012d7f91c005afd9f0000901011f..."} 
[2026-10-05 04:01:07] local.INFO: Packet analysis {"connection_id":204128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:01:07] local.INFO: Extracted packet for processing {"connection_id":204128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:01:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535081984001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:01:07] 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-10-05 04:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791152965000,"timestamp_ms":1791152965000,"timestamp_seconds":1791152965,"priority":1,"record_length":96,"hex_timestamp":"000001a109094588"} 
[2026-10-05 04:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04: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-10-05 04:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535081984001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535081984001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:01:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:01:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535081984001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":204128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:01:07] local.INFO: GPS data processed {"connection_id":204128,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:01:07] local.INFO: Acknowledgment sent {"connection_id":204128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:01:37] local.INFO: TCP Data received {"connection_id":205575,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 04:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 04:01:37] local.INFO: Processing buffer {"connection_id":205575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 04:01:37] local.INFO: Packet analysis {"connection_id":205575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:01:37] local.INFO: Extracted packet for processing {"connection_id":205575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:01:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535077632001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791152948000,"timestamp_ms":1791152948000,"timestamp_seconds":1791152948,"priority":1,"record_length":96,"hex_timestamp":"000001a109090320"} 
[2026-10-05 04:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 04:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535077632001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535077632001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:01:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:01:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535077632001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":205575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:01:37] local.INFO: GPS data processed {"connection_id":205575,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:01:37] local.INFO: Acknowledgment sent {"connection_id":205575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:01:38] local.INFO: TCP Data received {"connection_id":204128,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109094588012d7f91c005afd9f0000901011f..."} 
[2026-10-05 04:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109094588012d7f91c005afd9f0000901011f..."} 
[2026-10-05 04:01:38] local.INFO: Processing buffer {"connection_id":204128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109094588012d7f91c005afd9f0000901011f..."} 
[2026-10-05 04:01:38] local.INFO: Packet analysis {"connection_id":204128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:01:38] local.INFO: Extracted packet for processing {"connection_id":204128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:01:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:01: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-10-05 04:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535081984001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:01:38] 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-10-05 04:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791152965000,"timestamp_ms":1791152965000,"timestamp_seconds":1791152965,"priority":1,"record_length":96,"hex_timestamp":"000001a109094588"} 
[2026-10-05 04:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:01:38] 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-10-05 04:01: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-10-05 04:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535081984001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535081984001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:01:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:01:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535081984001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":204128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:01:38] local.INFO: GPS data processed {"connection_id":204128,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:01:38] local.INFO: Acknowledgment sent {"connection_id":204128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:01:44] local.INFO: TCP Data received {"connection_id":207123,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:01:44] local.INFO: Processing buffer {"connection_id":207123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:01:44] local.INFO: IMEI packet received {"connection_id":207123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 04:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":207123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:01:56] local.INFO: TCP Data received {"connection_id":204057,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:01:56] local.INFO: Processing buffer {"connection_id":204057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:01:56] local.INFO: IMEI packet received {"connection_id":204057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":204057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:02:00] local.INFO: TCP Data received {"connection_id":204058,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:02:00] local.INFO: Processing buffer {"connection_id":204058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:02:00] local.INFO: IMEI packet received {"connection_id":204058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":204058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:02:01] local.INFO: TCP Data received {"connection_id":204057,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:02:01] local.INFO: Processing buffer {"connection_id":204057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:02:01] local.INFO: IMEI packet received {"connection_id":204057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":204057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:02:02] local.INFO: TCP Data received {"connection_id":204057,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109094588012d7f91c005afd9f0000901011f..."} 
[2026-10-05 04:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109094588012d7f91c005afd9f0000901011f..."} 
[2026-10-05 04:02:02] local.INFO: Processing buffer {"connection_id":204057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109094588012d7f91c005afd9f0000901011f..."} 
[2026-10-05 04:02:02] local.INFO: Packet analysis {"connection_id":204057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:02:02] local.INFO: Extracted packet for processing {"connection_id":204057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:02:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535081984001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:02:02] 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-10-05 04:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791152965000,"timestamp_ms":1791152965000,"timestamp_seconds":1791152965,"priority":1,"record_length":96,"hex_timestamp":"000001a109094588"} 
[2026-10-05 04:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:02:02] 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-10-05 04: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-10-05 04:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:02: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-10-05 04:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535081984001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535081984001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:02:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:02:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535081984001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":204057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:02:02] local.INFO: GPS data processed {"connection_id":204057,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:02:02] local.INFO: Acknowledgment sent {"connection_id":204057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:02:05] local.INFO: TCP Data received {"connection_id":204058,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:02:05] local.INFO: Processing buffer {"connection_id":204058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:02:05] local.INFO: IMEI packet received {"connection_id":204058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":204058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:02:06] local.INFO: TCP Data received {"connection_id":204058,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 04:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 04:02:06] local.INFO: Processing buffer {"connection_id":204058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 04:02:06] local.INFO: Packet analysis {"connection_id":204058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:02:06] local.INFO: Extracted packet for processing {"connection_id":204058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:02:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535077632001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791152948000,"timestamp_ms":1791152948000,"timestamp_seconds":1791152948,"priority":1,"record_length":96,"hex_timestamp":"000001a109090320"} 
[2026-10-05 04:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 04:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535077632001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535077632001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:02:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:02:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535077632001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":204058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:02:06] local.INFO: GPS data processed {"connection_id":204058,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:02:06] local.INFO: Acknowledgment sent {"connection_id":204058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:02:33] local.INFO: TCP Data received {"connection_id":204057,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109094588012d7f91c005afd9f0000901011f..."} 
[2026-10-05 04:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109094588012d7f91c005afd9f0000901011f..."} 
[2026-10-05 04:02:33] local.INFO: Processing buffer {"connection_id":204057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109094588012d7f91c005afd9f0000901011f..."} 
[2026-10-05 04:02:33] local.INFO: Packet analysis {"connection_id":204057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:02:33] local.INFO: Extracted packet for processing {"connection_id":204057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:02:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535081984001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:02: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-10-05 04:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791152965000,"timestamp_ms":1791152965000,"timestamp_seconds":1791152965,"priority":1,"record_length":96,"hex_timestamp":"000001a109094588"} 
[2026-10-05 04:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:02:33] 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-10-05 04: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-10-05 04:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:02: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-10-05 04:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535081984001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535081984001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:02:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:02:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535081984001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":204057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:02:33] local.INFO: GPS data processed {"connection_id":204057,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:02:33] local.INFO: Acknowledgment sent {"connection_id":204057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:02:37] local.INFO: TCP Data received {"connection_id":204058,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 04:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 04:02:37] local.INFO: Processing buffer {"connection_id":204058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 04:02:37] local.INFO: Packet analysis {"connection_id":204058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:02:37] local.INFO: Extracted packet for processing {"connection_id":204058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:02:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535077632001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791152948000,"timestamp_ms":1791152948000,"timestamp_seconds":1791152948,"priority":1,"record_length":96,"hex_timestamp":"000001a109090320"} 
[2026-10-05 04:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 04:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535077632001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535077632001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:02:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:02:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535077632001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":204058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:02:37] local.INFO: GPS data processed {"connection_id":204058,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:02:37] local.INFO: Acknowledgment sent {"connection_id":204058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:02:56] local.INFO: TCP Data received {"connection_id":204130,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:02:56] local.INFO: Processing buffer {"connection_id":204130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:02:56] local.INFO: IMEI packet received {"connection_id":204130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":204130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:03:00] local.INFO: TCP Data received {"connection_id":207124,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:03:00] local.INFO: Processing buffer {"connection_id":207124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:03:00] local.INFO: IMEI packet received {"connection_id":207124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":207124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:03:01] local.INFO: TCP Data received {"connection_id":204130,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:03:01] local.INFO: Processing buffer {"connection_id":204130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:03:01] local.INFO: IMEI packet received {"connection_id":204130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":204130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:03:03] local.INFO: TCP Data received {"connection_id":204130,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109094588012d7f91c005afd9f0000901011f..."} 
[2026-10-05 04:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109094588012d7f91c005afd9f0000901011f..."} 
[2026-10-05 04:03:03] local.INFO: Processing buffer {"connection_id":204130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109094588012d7f91c005afd9f0000901011f..."} 
[2026-10-05 04:03:03] local.INFO: Packet analysis {"connection_id":204130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:03:03] local.INFO: Extracted packet for processing {"connection_id":204130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:03:03] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535081984001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:03:03] 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-10-05 04:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791152965000,"timestamp_ms":1791152965000,"timestamp_seconds":1791152965,"priority":1,"record_length":96,"hex_timestamp":"000001a109094588"} 
[2026-10-05 04:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:03:03] 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-10-05 04: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-10-05 04:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":204130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":204130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":204130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:03: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-10-05 04:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535081984001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535081984001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:03:03] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:03:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535081984001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":204130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:03:03] local.INFO: GPS data processed {"connection_id":204130,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:03:03] local.INFO: Acknowledgment sent {"connection_id":204130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:03:05] local.INFO: TCP Data received {"connection_id":207124,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:03:05] local.INFO: Processing buffer {"connection_id":207124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:03:05] local.INFO: IMEI packet received {"connection_id":207124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":207124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:03:06] local.INFO: TCP Data received {"connection_id":207124,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 04:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 04:03:06] local.INFO: Processing buffer {"connection_id":207124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 04:03:06] local.INFO: Packet analysis {"connection_id":207124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:03:06] local.INFO: Extracted packet for processing {"connection_id":207124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535077632001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791152948000,"timestamp_ms":1791152948000,"timestamp_seconds":1791152948,"priority":1,"record_length":96,"hex_timestamp":"000001a109090320"} 
[2026-10-05 04:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 04:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535077632001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535077632001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:03:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:03:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535077632001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":207124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:03:06] local.INFO: GPS data processed {"connection_id":207124,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:03:06] local.INFO: Acknowledgment sent {"connection_id":207124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:03:34] local.INFO: TCP Data received {"connection_id":204130,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109094588012d7f91c005afd9f0000901011f..."} 
[2026-10-05 04:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109094588012d7f91c005afd9f0000901011f..."} 
[2026-10-05 04:03:34] local.INFO: Processing buffer {"connection_id":204130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109094588012d7f91c005afd9f0000901011f..."} 
[2026-10-05 04:03:34] local.INFO: Packet analysis {"connection_id":204130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:03:34] local.INFO: Extracted packet for processing {"connection_id":204130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:03:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535081984001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:03:34] 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-10-05 04:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791152965000,"timestamp_ms":1791152965000,"timestamp_seconds":1791152965,"priority":1,"record_length":96,"hex_timestamp":"000001a109094588"} 
[2026-10-05 04:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:03: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-10-05 04: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-10-05 04:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":204130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":204130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":204130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535081984001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535081984001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:03:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:03:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535081984001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":204130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:03:34] local.INFO: GPS data processed {"connection_id":204130,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:03:34] local.INFO: Acknowledgment sent {"connection_id":204130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:03:38] local.INFO: TCP Data received {"connection_id":207124,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 04:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 04:03:38] local.INFO: Processing buffer {"connection_id":207124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 04:03:38] local.INFO: Packet analysis {"connection_id":207124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:03:38] local.INFO: Extracted packet for processing {"connection_id":207124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:03:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535077632001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791152948000,"timestamp_ms":1791152948000,"timestamp_seconds":1791152948,"priority":1,"record_length":96,"hex_timestamp":"000001a109090320"} 
[2026-10-05 04:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 04:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535077632001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535077632001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:03:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:03:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535077632001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":207124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965152,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:03:38] local.INFO: GPS data processed {"connection_id":207124,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:03:38] local.INFO: Acknowledgment sent {"connection_id":207124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:03:56] local.INFO: TCP Data received {"connection_id":204131,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:03:56] local.INFO: Processing buffer {"connection_id":204131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:03:56] local.INFO: IMEI packet received {"connection_id":204131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":204131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:04:01] local.INFO: TCP Data received {"connection_id":204131,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:04:01] local.INFO: Processing buffer {"connection_id":204131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:04:01] local.INFO: IMEI packet received {"connection_id":204131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":204131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:04:02] local.INFO: TCP Data received {"connection_id":204131,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109094588012d7f91c005afd9f0000901011f..."} 
[2026-10-05 04:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109094588012d7f91c005afd9f0000901011f..."} 
[2026-10-05 04:04:02] local.INFO: Processing buffer {"connection_id":204131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109094588012d7f91c005afd9f0000901011f..."} 
[2026-10-05 04:04:02] local.INFO: Packet analysis {"connection_id":204131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:04:02] local.INFO: Extracted packet for processing {"connection_id":204131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:04:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535081984001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:04:02] 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-10-05 04:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791152965000,"timestamp_ms":1791152965000,"timestamp_seconds":1791152965,"priority":1,"record_length":96,"hex_timestamp":"000001a109094588"} 
[2026-10-05 04:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:04:02] 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-10-05 04: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-10-05 04:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:04: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-10-05 04:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535081984001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535081984001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:04:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:04:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535081984001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":204131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:04:02] local.INFO: GPS data processed {"connection_id":204131,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:04:02] local.INFO: Acknowledgment sent {"connection_id":204131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:04:05] local.INFO: TCP Data received {"connection_id":204132,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:04:05] local.INFO: Processing buffer {"connection_id":204132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:04:05] local.INFO: IMEI packet received {"connection_id":204132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":204132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:04:10] local.INFO: TCP Data received {"connection_id":204132,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:04:10] local.INFO: Processing buffer {"connection_id":204132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:04:10] local.INFO: IMEI packet received {"connection_id":204132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":204132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:04:11] local.INFO: TCP Data received {"connection_id":204132,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 04:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 04:04:11] local.INFO: Processing buffer {"connection_id":204132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109090320012d7c2ac005dac8a0000800bf22..."} 
[2026-10-05 04:04:11] local.INFO: Packet analysis {"connection_id":204132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:04:11] local.INFO: Extracted packet for processing {"connection_id":204132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:04:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535077632001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791152948000,"timestamp_ms":1791152948000,"timestamp_seconds":1791152948,"priority":1,"record_length":96,"hex_timestamp":"000001a109090320"} 
[2026-10-05 04:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 04:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535077632001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535077632001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:04:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:04:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535077632001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":204132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:04:11] local.INFO: GPS data processed {"connection_id":204132,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:04:11] local.INFO: Acknowledgment sent {"connection_id":204132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:04:33] local.INFO: TCP Data received {"connection_id":204131,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109094588012d7f91c005afd9f0000901011f..."} 
[2026-10-05 04:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109094588012d7f91c005afd9f0000901011f..."} 
[2026-10-05 04:04:33] local.INFO: Processing buffer {"connection_id":204131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109094588012d7f91c005afd9f0000901011f..."} 
[2026-10-05 04:04:33] local.INFO: Packet analysis {"connection_id":204131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:04:33] local.INFO: Extracted packet for processing {"connection_id":204131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10909"} 
[2026-10-05 04:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:04: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-10-05 04:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535081984001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:04: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-10-05 04:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791152965000,"timestamp_ms":1791152965000,"timestamp_seconds":1791152965,"priority":1,"record_length":96,"hex_timestamp":"000001a109094588"} 
[2026-10-05 04:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:04: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":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:04:33] 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-10-05 04:04: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-10-05 04:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:04: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-10-05 04:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535081984001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535081984001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:04:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:04:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535081984001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":204131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:04:33] local.INFO: GPS data processed {"connection_id":204131,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:04:33] local.INFO: Acknowledgment sent {"connection_id":204131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:04:42] local.INFO: TCP Data received {"connection_id":204132,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:04:42] local.INFO: Processing buffer {"connection_id":204132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:04:42] local.INFO: Packet analysis {"connection_id":204132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:04:42] local.INFO: Extracted packet for processing {"connection_id":204132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:04:42] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535154688001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791153249000,"timestamp_ms":1791153249000,"timestamp_seconds":1791153249,"priority":1,"record_length":96,"hex_timestamp":"000001a1090d9ae8"} 
[2026-10-05 04:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535154688001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535154688001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:04:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:04:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535154688001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":204132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:04:42] local.INFO: GPS data processed {"connection_id":204132,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:04:42] local.INFO: Acknowledgment sent {"connection_id":204132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:05:00] local.INFO: TCP Data received {"connection_id":204060,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204060,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:05:00] local.INFO: Processing buffer {"connection_id":204060,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:05:00] local.INFO: IMEI packet received {"connection_id":204060,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":204060,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:05:01] local.INFO: TCP Data received {"connection_id":204133,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:05:01] local.INFO: Processing buffer {"connection_id":204133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:05:01] local.INFO: IMEI packet received {"connection_id":204133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":204133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:05:04] local.INFO: TCP Data received {"connection_id":204133,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:05:04] local.INFO: Processing buffer {"connection_id":204133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:05:04] local.INFO: IMEI packet received {"connection_id":204133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":204133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:05:05] local.INFO: TCP Data received {"connection_id":204060,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204060,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:05:05] local.INFO: Processing buffer {"connection_id":204060,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:05:05] local.INFO: IMEI packet received {"connection_id":204060,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":204060,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:05:06] local.INFO: TCP Data received {"connection_id":204060,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:05:06] local.INFO: Processing buffer {"connection_id":204060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:05:06] local.INFO: Packet analysis {"connection_id":204060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:05:06] local.INFO: Extracted packet for processing {"connection_id":204060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:05:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 04:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535154688001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791153249000,"timestamp_ms":1791153249000,"timestamp_seconds":1791153249,"priority":1,"record_length":96,"hex_timestamp":"000001a1090d9ae8"} 
[2026-10-05 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-10-05 04:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:05:06] 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-10-05 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-10-05 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-10-05 04:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535154688001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535154688001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:05:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:05:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535154688001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":204060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:05:06] local.INFO: GPS data processed {"connection_id":204060,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:05:06] local.INFO: Acknowledgment sent {"connection_id":204060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:05:07] local.INFO: TCP Data received {"connection_id":204133,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:05:07] local.INFO: Processing buffer {"connection_id":204133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:05:07] local.INFO: Packet analysis {"connection_id":204133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:05:07] local.INFO: Extracted packet for processing {"connection_id":204133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:05:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535159040001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:05:07] 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-10-05 04:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791153266000,"timestamp_ms":1791153266000,"timestamp_seconds":1791153266,"priority":1,"record_length":96,"hex_timestamp":"000001a1090ddd50"} 
[2026-10-05 04:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04: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-10-05 04:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535159040001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535159040001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:05:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:05:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535159040001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":204133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:05:07] local.INFO: GPS data processed {"connection_id":204133,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:05:07] local.INFO: Acknowledgment sent {"connection_id":204133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:05:08] local.INFO: TCP Data received {"connection_id":204133,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:05:08] local.INFO: Processing buffer {"connection_id":204133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:05:08] local.INFO: Packet analysis {"connection_id":204133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:05:08] local.INFO: Extracted packet for processing {"connection_id":204133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:05:08] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535159040001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:05:08] 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-10-05 04:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791153266000,"timestamp_ms":1791153266000,"timestamp_seconds":1791153266,"priority":1,"record_length":96,"hex_timestamp":"000001a1090ddd50"} 
[2026-10-05 04:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:05: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-10-05 04: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-10-05 04:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535159040001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535159040001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:05:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:05:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535159040001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":204133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:05:08] local.INFO: GPS data processed {"connection_id":204133,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:05:08] local.INFO: Acknowledgment sent {"connection_id":204133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:05:37] local.INFO: TCP Data received {"connection_id":204060,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:05:37] local.INFO: Processing buffer {"connection_id":204060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:05:37] local.INFO: Packet analysis {"connection_id":204060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:05:37] local.INFO: Extracted packet for processing {"connection_id":204060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:05:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535154688001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791153249000,"timestamp_ms":1791153249000,"timestamp_seconds":1791153249,"priority":1,"record_length":96,"hex_timestamp":"000001a1090d9ae8"} 
[2026-10-05 04:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:05:37] 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-10-05 04:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535154688001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535154688001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:05:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:05:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535154688001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":204060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:05:37] local.INFO: GPS data processed {"connection_id":204060,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:05:37] local.INFO: Acknowledgment sent {"connection_id":204060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:05:39] local.INFO: TCP Data received {"connection_id":204133,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:05:39] local.INFO: Processing buffer {"connection_id":204133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:05:39] local.INFO: Packet analysis {"connection_id":204133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:05:39] local.INFO: Extracted packet for processing {"connection_id":204133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:05:39] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535159040001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:05:39] 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-10-05 04:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791153266000,"timestamp_ms":1791153266000,"timestamp_seconds":1791153266,"priority":1,"record_length":96,"hex_timestamp":"000001a1090ddd50"} 
[2026-10-05 04:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:05:39] 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-10-05 04:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":204133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":204133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":204133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535159040001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535159040001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:05:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:05:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535159040001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":204133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:05:39] local.INFO: GPS data processed {"connection_id":204133,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:05:39] local.INFO: Acknowledgment sent {"connection_id":204133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:05:56] local.INFO: TCP Data received {"connection_id":205579,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:05:56] local.INFO: Processing buffer {"connection_id":205579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:05:56] local.INFO: IMEI packet received {"connection_id":205579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":205579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:06:00] local.INFO: TCP Data received {"connection_id":207125,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207125,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:06:00] local.INFO: Processing buffer {"connection_id":207125,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:06:00] local.INFO: IMEI packet received {"connection_id":207125,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":207125,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:06:01] local.INFO: TCP Data received {"connection_id":205579,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:06:01] local.INFO: Processing buffer {"connection_id":205579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:06:01] local.INFO: IMEI packet received {"connection_id":205579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":205579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:06:02] local.INFO: TCP Data received {"connection_id":205579,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:06:02] local.INFO: Processing buffer {"connection_id":205579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:06:02] local.INFO: Packet analysis {"connection_id":205579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:06:02] local.INFO: Extracted packet for processing {"connection_id":205579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535159040001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:06:02] 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-10-05 04:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791153266000,"timestamp_ms":1791153266000,"timestamp_seconds":1791153266,"priority":1,"record_length":96,"hex_timestamp":"000001a1090ddd50"} 
[2026-10-05 04:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:06:02] 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-10-05 04:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:06: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-10-05 04:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535159040001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535159040001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:06:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:06:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535159040001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":205579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:06:02] local.INFO: GPS data processed {"connection_id":205579,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:06:02] local.INFO: Acknowledgment sent {"connection_id":205579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:06:05] local.INFO: TCP Data received {"connection_id":207125,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207125,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:06:05] local.INFO: Processing buffer {"connection_id":207125,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:06:05] local.INFO: IMEI packet received {"connection_id":207125,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":207125,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:06:06] local.INFO: TCP Data received {"connection_id":207125,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:06:06] local.INFO: Processing buffer {"connection_id":207125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:06:06] local.INFO: Packet analysis {"connection_id":207125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:06:06] local.INFO: Extracted packet for processing {"connection_id":207125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:06:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535154688001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791153249000,"timestamp_ms":1791153249000,"timestamp_seconds":1791153249,"priority":1,"record_length":96,"hex_timestamp":"000001a1090d9ae8"} 
[2026-10-05 04:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:06:06] 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-10-05 04:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207125,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207125,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535154688001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535154688001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:06:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:06:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535154688001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":207125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965163,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:06:06] local.INFO: GPS data processed {"connection_id":207125,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:06:06] local.INFO: Acknowledgment sent {"connection_id":207125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:06:32] local.INFO: TCP Data received {"connection_id":205579,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:06:32] local.INFO: Processing buffer {"connection_id":205579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:06:32] local.INFO: Packet analysis {"connection_id":205579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:06:32] local.INFO: Extracted packet for processing {"connection_id":205579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:06:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535159040001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:06: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-10-05 04:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791153266000,"timestamp_ms":1791153266000,"timestamp_seconds":1791153266,"priority":1,"record_length":96,"hex_timestamp":"000001a1090ddd50"} 
[2026-10-05 04:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:06: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-10-05 04: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-10-05 04:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:06: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-10-05 04:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535159040001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535159040001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:06:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:06:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535159040001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":205579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:06:32] local.INFO: GPS data processed {"connection_id":205579,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:06:32] local.INFO: Acknowledgment sent {"connection_id":205579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:06:37] local.INFO: TCP Data received {"connection_id":207125,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:06:37] local.INFO: Processing buffer {"connection_id":207125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:06:37] local.INFO: Packet analysis {"connection_id":207125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:06:37] local.INFO: Extracted packet for processing {"connection_id":207125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:06:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535154688001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791153249000,"timestamp_ms":1791153249000,"timestamp_seconds":1791153249,"priority":1,"record_length":96,"hex_timestamp":"000001a1090d9ae8"} 
[2026-10-05 04:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:06:37] 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-10-05 04:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207125,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207125,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535154688001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535154688001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:06:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:06:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535154688001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":207125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965165,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:06:37] local.INFO: GPS data processed {"connection_id":207125,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:06:37] local.INFO: Acknowledgment sent {"connection_id":207125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:06:56] local.INFO: TCP Data received {"connection_id":204134,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:06:56] local.INFO: Processing buffer {"connection_id":204134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:06:56] local.INFO: IMEI packet received {"connection_id":204134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":204134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:07:01] local.INFO: TCP Data received {"connection_id":204134,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:07:01] local.INFO: Processing buffer {"connection_id":204134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:07:01] local.INFO: IMEI packet received {"connection_id":204134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":204134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:07:02] local.INFO: TCP Data received {"connection_id":204134,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:07:02] local.INFO: Processing buffer {"connection_id":204134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:07:02] local.INFO: Packet analysis {"connection_id":204134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:07:02] local.INFO: Extracted packet for processing {"connection_id":204134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:07:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535159040001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:07:02] 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-10-05 04:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791153266000,"timestamp_ms":1791153266000,"timestamp_seconds":1791153266,"priority":1,"record_length":96,"hex_timestamp":"000001a1090ddd50"} 
[2026-10-05 04:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:07:02] 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-10-05 04: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-10-05 04:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:07: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-10-05 04:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535159040001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535159040001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:07:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:07:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535159040001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":204134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:07:02] local.INFO: GPS data processed {"connection_id":204134,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:07:02] local.INFO: Acknowledgment sent {"connection_id":204134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:07:04] local.INFO: TCP Data received {"connection_id":205580,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205580,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:07:04] local.INFO: Processing buffer {"connection_id":205580,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:07:04] local.INFO: IMEI packet received {"connection_id":205580,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":205580,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:07:05] local.INFO: TCP Data received {"connection_id":205580,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205580,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:07:05] local.INFO: Processing buffer {"connection_id":205580,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:07:05] local.INFO: IMEI packet received {"connection_id":205580,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":205580,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:07:06] local.INFO: TCP Data received {"connection_id":205580,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:07:06] local.INFO: Processing buffer {"connection_id":205580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:07:06] local.INFO: Packet analysis {"connection_id":205580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:07:06] local.INFO: Extracted packet for processing {"connection_id":205580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:07:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535154688001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791153249000,"timestamp_ms":1791153249000,"timestamp_seconds":1791153249,"priority":1,"record_length":96,"hex_timestamp":"000001a1090d9ae8"} 
[2026-10-05 04:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:07:06] 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-10-05 04:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535154688001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535154688001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:07:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:07:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535154688001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":205580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:07:06] local.INFO: GPS data processed {"connection_id":205580,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:07:06] local.INFO: Acknowledgment sent {"connection_id":205580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:07:10] local.INFO: TCP Data received {"connection_id":205580,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:07:10] local.INFO: Processing buffer {"connection_id":205580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:07:10] local.INFO: Packet analysis {"connection_id":205580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:07:10] local.INFO: Extracted packet for processing {"connection_id":205580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:07:10] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535154688001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791153249000,"timestamp_ms":1791153249000,"timestamp_seconds":1791153249,"priority":1,"record_length":96,"hex_timestamp":"000001a1090d9ae8"} 
[2026-10-05 04:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":205580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":205580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":205580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535154688001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535154688001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:07:10] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535154688001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":205580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:07:10] local.INFO: GPS data processed {"connection_id":205580,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:07:10] local.INFO: Acknowledgment sent {"connection_id":205580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:07:14] local.INFO: TCP Data received {"connection_id":204061,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204061,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:07:14] local.INFO: Processing buffer {"connection_id":204061,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:07:14] local.INFO: IMEI packet received {"connection_id":204061,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 04:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":204061,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:07:33] local.INFO: TCP Data received {"connection_id":204134,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:07:33] local.INFO: Processing buffer {"connection_id":204134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:07:33] local.INFO: Packet analysis {"connection_id":204134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:07:33] local.INFO: Extracted packet for processing {"connection_id":204134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535159040001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:07: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-10-05 04:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791153266000,"timestamp_ms":1791153266000,"timestamp_seconds":1791153266,"priority":1,"record_length":96,"hex_timestamp":"000001a1090ddd50"} 
[2026-10-05 04:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:07:33] 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-10-05 04: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-10-05 04:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535159040001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535159040001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:07:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535159040001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":204134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:07:33] local.INFO: GPS data processed {"connection_id":204134,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:07:33] local.INFO: Acknowledgment sent {"connection_id":204134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:07:42] local.INFO: TCP Data received {"connection_id":205580,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:07:42] local.INFO: Processing buffer {"connection_id":205580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:07:42] local.INFO: Packet analysis {"connection_id":205580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:07:42] local.INFO: Extracted packet for processing {"connection_id":205580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:07:42] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535154688001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791153249000,"timestamp_ms":1791153249000,"timestamp_seconds":1791153249,"priority":1,"record_length":96,"hex_timestamp":"000001a1090d9ae8"} 
[2026-10-05 04:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04: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-10-05 04:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":205580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":205580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":205580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535154688001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535154688001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:07:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535154688001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":205580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965170,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:07:42] local.INFO: GPS data processed {"connection_id":205580,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:07:42] local.INFO: Acknowledgment sent {"connection_id":205580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:07:49] local.INFO: TCP Data received {"connection_id":204062,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204062,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:07:49] local.INFO: Processing buffer {"connection_id":204062,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:07:49] local.INFO: IMEI packet received {"connection_id":204062,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 04:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":204062,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:08:01] local.INFO: TCP Data received {"connection_id":204063,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:08:01] local.INFO: Processing buffer {"connection_id":204063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:08:01] local.INFO: IMEI packet received {"connection_id":204063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":204063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:08:05] local.INFO: TCP Data received {"connection_id":204064,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:08:05] local.INFO: Processing buffer {"connection_id":204064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:08:05] local.INFO: IMEI packet received {"connection_id":204064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":204064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:08:06] local.INFO: TCP Data received {"connection_id":204063,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:08:06] local.INFO: Processing buffer {"connection_id":204063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:08:06] local.INFO: IMEI packet received {"connection_id":204063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":204063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:08:07] local.INFO: TCP Data received {"connection_id":204063,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:08:07] local.INFO: Processing buffer {"connection_id":204063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:08:07] local.INFO: Packet analysis {"connection_id":204063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:08:07] local.INFO: Extracted packet for processing {"connection_id":204063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:08:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535159040001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:08:07] 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-10-05 04:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791153266000,"timestamp_ms":1791153266000,"timestamp_seconds":1791153266,"priority":1,"record_length":96,"hex_timestamp":"000001a1090ddd50"} 
[2026-10-05 04:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04: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-10-05 04:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535159040001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535159040001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:08:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:08:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535159040001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":204063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:08:07] local.INFO: GPS data processed {"connection_id":204063,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:08:07] local.INFO: Acknowledgment sent {"connection_id":204063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:08:10] local.INFO: TCP Data received {"connection_id":204064,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:08:10] local.INFO: Processing buffer {"connection_id":204064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:08:10] local.INFO: IMEI packet received {"connection_id":204064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":204064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:08:11] local.INFO: TCP Data received {"connection_id":204064,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:08:11] local.INFO: Processing buffer {"connection_id":204064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:08:11] local.INFO: Packet analysis {"connection_id":204064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:08:11] local.INFO: Extracted packet for processing {"connection_id":204064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:08:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535154688001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791153249000,"timestamp_ms":1791153249000,"timestamp_seconds":1791153249,"priority":1,"record_length":96,"hex_timestamp":"000001a1090d9ae8"} 
[2026-10-05 04:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:08:11] 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-10-05 04:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535154688001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535154688001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:08:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:08:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535154688001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":204064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:08:11] local.INFO: GPS data processed {"connection_id":204064,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:08:11] local.INFO: Acknowledgment sent {"connection_id":204064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:08:11] local.INFO: TCP Data received {"connection_id":204063,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:08:11] local.INFO: Processing buffer {"connection_id":204063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:08:11] local.INFO: Packet analysis {"connection_id":204063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:08:11] local.INFO: Extracted packet for processing {"connection_id":204063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:08:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535159040001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:08:11] 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-10-05 04:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791153266000,"timestamp_ms":1791153266000,"timestamp_seconds":1791153266,"priority":1,"record_length":96,"hex_timestamp":"000001a1090ddd50"} 
[2026-10-05 04:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:08:11] 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-10-05 04:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535159040001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535159040001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:08:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:08:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535159040001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":204063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:08:11] local.INFO: GPS data processed {"connection_id":204063,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:08:11] local.INFO: Acknowledgment sent {"connection_id":204063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:08:15] local.INFO: TCP Data received {"connection_id":204064,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:08:15] local.INFO: Processing buffer {"connection_id":204064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:08:15] local.INFO: Packet analysis {"connection_id":204064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:08:15] local.INFO: Extracted packet for processing {"connection_id":204064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:08:15] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535154688001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791153249000,"timestamp_ms":1791153249000,"timestamp_seconds":1791153249,"priority":1,"record_length":96,"hex_timestamp":"000001a1090d9ae8"} 
[2026-10-05 04:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535154688001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535154688001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:08:15] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:08:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535154688001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":204064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965174,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:08:15] local.INFO: GPS data processed {"connection_id":204064,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:08:15] local.INFO: Acknowledgment sent {"connection_id":204064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:08:56] local.INFO: TCP Data received {"connection_id":204136,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:08:56] local.INFO: Processing buffer {"connection_id":204136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:08:56] local.INFO: IMEI packet received {"connection_id":204136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":204136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:09:00] local.INFO: TCP Data received {"connection_id":204137,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204137,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:09:00] local.INFO: Processing buffer {"connection_id":204137,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:09:00] local.INFO: IMEI packet received {"connection_id":204137,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":204137,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:09:01] local.INFO: TCP Data received {"connection_id":204136,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:09:01] local.INFO: Processing buffer {"connection_id":204136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:09:01] local.INFO: IMEI packet received {"connection_id":204136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":204136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:09:02] local.INFO: TCP Data received {"connection_id":204136,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:09:02] local.INFO: Processing buffer {"connection_id":204136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:09:02] local.INFO: Packet analysis {"connection_id":204136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:09:02] local.INFO: Extracted packet for processing {"connection_id":204136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:09:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535159040001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:09:02] 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-10-05 04:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791153266000,"timestamp_ms":1791153266000,"timestamp_seconds":1791153266,"priority":1,"record_length":96,"hex_timestamp":"000001a1090ddd50"} 
[2026-10-05 04:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:09:02] 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-10-05 04: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-10-05 04:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:09: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-10-05 04:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535159040001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535159040001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:09:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:09:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535159040001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":204136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:09:02] local.INFO: GPS data processed {"connection_id":204136,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:09:02] local.INFO: Acknowledgment sent {"connection_id":204136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:09:05] local.INFO: TCP Data received {"connection_id":204137,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204137,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:09:05] local.INFO: Processing buffer {"connection_id":204137,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:09:05] local.INFO: IMEI packet received {"connection_id":204137,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":204137,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:09:06] local.INFO: TCP Data received {"connection_id":204137,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:09:06] local.INFO: Processing buffer {"connection_id":204137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090d9ae8012d7c2ac005dac8a0000800bf25..."} 
[2026-10-05 04:09:06] local.INFO: Packet analysis {"connection_id":204137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:09:06] local.INFO: Extracted packet for processing {"connection_id":204137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":8,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535154688001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791153249000,"timestamp_ms":1791153249000,"timestamp_seconds":1791153249,"priority":1,"record_length":96,"hex_timestamp":"000001a1090d9ae8"} 
[2026-10-05 04:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:09:06] 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-10-05 04:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:09:06] 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-10-05 04:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535154688001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535154688001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:09:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:09:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535154688001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":204137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:09:06] local.INFO: GPS data processed {"connection_id":204137,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:09:06] local.INFO: Acknowledgment sent {"connection_id":204137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:09:06] local.INFO: TCP Data received {"connection_id":204136,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:09:06] local.INFO: Processing buffer {"connection_id":204136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:09:06] local.INFO: Packet analysis {"connection_id":204136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:09:06] local.INFO: Extracted packet for processing {"connection_id":204136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535159040001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:09:06] 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-10-05 04:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791153266000,"timestamp_ms":1791153266000,"timestamp_seconds":1791153266,"priority":1,"record_length":96,"hex_timestamp":"000001a1090ddd50"} 
[2026-10-05 04:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:09:06] 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-10-05 04:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535159040001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535159040001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:09:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:09:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535159040001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":204136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:09:06] local.INFO: GPS data processed {"connection_id":204136,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:09:06] local.INFO: Acknowledgment sent {"connection_id":204136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:09:37] local.INFO: TCP Data received {"connection_id":204137,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:09:37] local.INFO: Processing buffer {"connection_id":204137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:09:37] local.INFO: Packet analysis {"connection_id":204137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:09:37] local.INFO: Extracted packet for processing {"connection_id":204137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:09:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535231744001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791153550000,"timestamp_ms":1791153550000,"timestamp_seconds":1791153550,"priority":1,"record_length":96,"hex_timestamp":"000001a1091232b0"} 
[2026-10-05 04:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:09:37] 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-10-05 04:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:09:37] 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-10-05 04:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535231744001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535231744001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:09:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:09:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535231744001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":204137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:09:37] local.INFO: GPS data processed {"connection_id":204137,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:09:37] local.INFO: Acknowledgment sent {"connection_id":204137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:09:37] local.INFO: TCP Data received {"connection_id":204136,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:09:37] local.INFO: Processing buffer {"connection_id":204136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:09:37] local.INFO: Packet analysis {"connection_id":204136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:09:37] local.INFO: Extracted packet for processing {"connection_id":204136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:09:37] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535159040001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:09:37] 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-10-05 04:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791153266000,"timestamp_ms":1791153266000,"timestamp_seconds":1791153266,"priority":1,"record_length":96,"hex_timestamp":"000001a1090ddd50"} 
[2026-10-05 04:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:09:37] 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-10-05 04:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535159040001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535159040001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:09:37] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:09:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535159040001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":204136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:09:37] local.INFO: GPS data processed {"connection_id":204136,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:09:37] local.INFO: Acknowledgment sent {"connection_id":204136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:09:56] local.INFO: TCP Data received {"connection_id":204065,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:09:56] local.INFO: Processing buffer {"connection_id":204065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:09:56] local.INFO: IMEI packet received {"connection_id":204065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":204065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:10:00] local.INFO: TCP Data received {"connection_id":205581,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:10:00] local.INFO: Processing buffer {"connection_id":205581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:10:00] local.INFO: IMEI packet received {"connection_id":205581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":205581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:10:01] local.INFO: TCP Data received {"connection_id":204065,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:10:01] local.INFO: Processing buffer {"connection_id":204065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:10:01] local.INFO: IMEI packet received {"connection_id":204065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":204065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:10:02] local.INFO: TCP Data received {"connection_id":204065,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:10:02] local.INFO: Processing buffer {"connection_id":204065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1090ddd50012d7f91c005afd9f00009010123..."} 
[2026-10-05 04:10:02] local.INFO: Packet analysis {"connection_id":204065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:10:02] local.INFO: Extracted packet for processing {"connection_id":204065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1090d"} 
[2026-10-05 04:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535159040001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:10:02] 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-10-05 04:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791153266000,"timestamp_ms":1791153266000,"timestamp_seconds":1791153266,"priority":1,"record_length":96,"hex_timestamp":"000001a1090ddd50"} 
[2026-10-05 04:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:10:02] 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-10-05 04: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-10-05 04:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:10: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-10-05 04:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535159040001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535159040001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:10:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:10:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535159040001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":204065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:10:02] local.INFO: GPS data processed {"connection_id":204065,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:10:02] local.INFO: Acknowledgment sent {"connection_id":204065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:10:05] local.INFO: TCP Data received {"connection_id":205581,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:10:05] local.INFO: Processing buffer {"connection_id":205581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:10:05] local.INFO: IMEI packet received {"connection_id":205581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":205581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:10:06] local.INFO: TCP Data received {"connection_id":205581,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:10:06] local.INFO: Processing buffer {"connection_id":205581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:10:06] local.INFO: Packet analysis {"connection_id":205581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:10:06] local.INFO: Extracted packet for processing {"connection_id":205581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535231744001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791153550000,"timestamp_ms":1791153550000,"timestamp_seconds":1791153550,"priority":1,"record_length":96,"hex_timestamp":"000001a1091232b0"} 
[2026-10-05 04:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:10:06] 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-10-05 04:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:10:06] 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-10-05 04:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535231744001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535231744001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:10:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:10:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535231744001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":205581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:10:06] local.INFO: GPS data processed {"connection_id":205581,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:10:06] local.INFO: Acknowledgment sent {"connection_id":205581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:10:32] local.INFO: TCP Data received {"connection_id":204065,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a109127518012d7f91c005afd9f0000b010126..."} 
[2026-10-05 04:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109127518012d7f91c005afd9f0000b010126..."} 
[2026-10-05 04:10:32] local.INFO: Processing buffer {"connection_id":204065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109127518012d7f91c005afd9f0000b010126..."} 
[2026-10-05 04:10:32] local.INFO: Packet analysis {"connection_id":204065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:10:32] local.INFO: Extracted packet for processing {"connection_id":204065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:10:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535236096001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:10: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-10-05 04:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791153567000,"timestamp_ms":1791153567000,"timestamp_seconds":1791153567,"priority":1,"record_length":96,"hex_timestamp":"000001a109127518"} 
[2026-10-05 04:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:10: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-10-05 04: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-10-05 04:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:10: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-10-05 04:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535236096001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535236096001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:10:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:10:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535236096001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":204065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:10:32] local.INFO: GPS data processed {"connection_id":204065,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:10:32] local.INFO: Acknowledgment sent {"connection_id":204065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:10:37] local.INFO: TCP Data received {"connection_id":205581,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:10:37] local.INFO: Processing buffer {"connection_id":205581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:10:37] local.INFO: Packet analysis {"connection_id":205581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:10:37] local.INFO: Extracted packet for processing {"connection_id":205581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:10:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535231744001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791153550000,"timestamp_ms":1791153550000,"timestamp_seconds":1791153550,"priority":1,"record_length":96,"hex_timestamp":"000001a1091232b0"} 
[2026-10-05 04:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:10:37] 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-10-05 04:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:10:37] 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-10-05 04:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535231744001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535231744001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:10:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:10:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535231744001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":205581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:10:37] local.INFO: GPS data processed {"connection_id":205581,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:10:37] local.INFO: Acknowledgment sent {"connection_id":205581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:10:56] local.INFO: TCP Data received {"connection_id":204138,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:10:56] local.INFO: Processing buffer {"connection_id":204138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:10:56] local.INFO: IMEI packet received {"connection_id":204138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":204138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:11:00] local.INFO: TCP Data received {"connection_id":204067,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:11:00] local.INFO: Processing buffer {"connection_id":204067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:11:00] local.INFO: IMEI packet received {"connection_id":204067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":204067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:11:01] local.INFO: TCP Data received {"connection_id":204138,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:11:01] local.INFO: Processing buffer {"connection_id":204138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:11:01] local.INFO: IMEI packet received {"connection_id":204138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":204138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:11:02] local.INFO: TCP Data received {"connection_id":204138,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a109127518012d7f91c005afd9f0000b010126..."} 
[2026-10-05 04:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109127518012d7f91c005afd9f0000b010126..."} 
[2026-10-05 04:11:02] local.INFO: Processing buffer {"connection_id":204138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109127518012d7f91c005afd9f0000b010126..."} 
[2026-10-05 04:11:02] local.INFO: Packet analysis {"connection_id":204138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:11:02] local.INFO: Extracted packet for processing {"connection_id":204138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:11:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535236096001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:11:02] 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-10-05 04:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791153567000,"timestamp_ms":1791153567000,"timestamp_seconds":1791153567,"priority":1,"record_length":96,"hex_timestamp":"000001a109127518"} 
[2026-10-05 04:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:11:02] 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-10-05 04: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-10-05 04:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:11: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-10-05 04:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535236096001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535236096001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:11:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:11:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535236096001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":204138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:11:02] local.INFO: GPS data processed {"connection_id":204138,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:11:02] local.INFO: Acknowledgment sent {"connection_id":204138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:11:05] local.INFO: TCP Data received {"connection_id":204067,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:11:05] local.INFO: Processing buffer {"connection_id":204067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:11:05] local.INFO: IMEI packet received {"connection_id":204067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":204067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:11:06] local.INFO: TCP Data received {"connection_id":204067,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:11:06] local.INFO: Processing buffer {"connection_id":204067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:11:06] local.INFO: Packet analysis {"connection_id":204067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:11:06] local.INFO: Extracted packet for processing {"connection_id":204067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:11:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535231744001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791153550000,"timestamp_ms":1791153550000,"timestamp_seconds":1791153550,"priority":1,"record_length":96,"hex_timestamp":"000001a1091232b0"} 
[2026-10-05 04:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:11:06] 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-10-05 04:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:11:06] 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-10-05 04:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535231744001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535231744001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:11:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:11:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535231744001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":204067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:11:06] local.INFO: GPS data processed {"connection_id":204067,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:11:06] local.INFO: Acknowledgment sent {"connection_id":204067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:11:33] local.INFO: TCP Data received {"connection_id":204138,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a109127518012d7f91c005afd9f0000b010126..."} 
[2026-10-05 04:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109127518012d7f91c005afd9f0000b010126..."} 
[2026-10-05 04:11:33] local.INFO: Processing buffer {"connection_id":204138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109127518012d7f91c005afd9f0000b010126..."} 
[2026-10-05 04:11:33] local.INFO: Packet analysis {"connection_id":204138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:11:33] local.INFO: Extracted packet for processing {"connection_id":204138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:11:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535236096001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:11: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-10-05 04:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791153567000,"timestamp_ms":1791153567000,"timestamp_seconds":1791153567,"priority":1,"record_length":96,"hex_timestamp":"000001a109127518"} 
[2026-10-05 04:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:11:33] 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-10-05 04: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-10-05 04:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535236096001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535236096001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:11:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:11:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535236096001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":204138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:11:33] local.INFO: GPS data processed {"connection_id":204138,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:11:33] local.INFO: Acknowledgment sent {"connection_id":204138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:11:37] local.INFO: TCP Data received {"connection_id":204067,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:11:37] local.INFO: Processing buffer {"connection_id":204067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:11:37] local.INFO: Packet analysis {"connection_id":204067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:11:37] local.INFO: Extracted packet for processing {"connection_id":204067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:11:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535231744001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791153550000,"timestamp_ms":1791153550000,"timestamp_seconds":1791153550,"priority":1,"record_length":96,"hex_timestamp":"000001a1091232b0"} 
[2026-10-05 04:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:11:37] 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-10-05 04:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:11:37] 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-10-05 04:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535231744001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535231744001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:11:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:11:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535231744001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":204067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965187,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:11:37] local.INFO: GPS data processed {"connection_id":204067,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:11:37] local.INFO: Acknowledgment sent {"connection_id":204067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:11:56] local.INFO: TCP Data received {"connection_id":204139,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:11:56] local.INFO: Processing buffer {"connection_id":204139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:11:56] local.INFO: IMEI packet received {"connection_id":204139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":204139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:12:00] local.INFO: TCP Data received {"connection_id":207127,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:12:00] local.INFO: Processing buffer {"connection_id":207127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:12:00] local.INFO: IMEI packet received {"connection_id":207127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":207127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:12:01] local.INFO: TCP Data received {"connection_id":204139,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:12:01] local.INFO: Processing buffer {"connection_id":204139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:12:01] local.INFO: IMEI packet received {"connection_id":204139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":204139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:12:02] local.INFO: TCP Data received {"connection_id":204139,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109127518012d7f91c005afd9f0000b010126..."} 
[2026-10-05 04:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109127518012d7f91c005afd9f0000b010126..."} 
[2026-10-05 04:12:02] local.INFO: Processing buffer {"connection_id":204139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109127518012d7f91c005afd9f0000b010126..."} 
[2026-10-05 04:12:02] local.INFO: Packet analysis {"connection_id":204139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:12:02] local.INFO: Extracted packet for processing {"connection_id":204139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:12:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535236096001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:12:02] 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-10-05 04:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791153567000,"timestamp_ms":1791153567000,"timestamp_seconds":1791153567,"priority":1,"record_length":96,"hex_timestamp":"000001a109127518"} 
[2026-10-05 04:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:12:02] 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-10-05 04: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-10-05 04:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:12: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-10-05 04:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535236096001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535236096001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:12:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:12:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535236096001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":204139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:12:02] local.INFO: GPS data processed {"connection_id":204139,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:12:02] local.INFO: Acknowledgment sent {"connection_id":204139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:12:05] local.INFO: TCP Data received {"connection_id":207127,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:12:05] local.INFO: Processing buffer {"connection_id":207127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:12:05] local.INFO: IMEI packet received {"connection_id":207127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":207127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:12:06] local.INFO: TCP Data received {"connection_id":207127,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:12:06] local.INFO: Processing buffer {"connection_id":207127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:12:06] local.INFO: Packet analysis {"connection_id":207127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:12:06] local.INFO: Extracted packet for processing {"connection_id":207127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:12:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535231744001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791153550000,"timestamp_ms":1791153550000,"timestamp_seconds":1791153550,"priority":1,"record_length":96,"hex_timestamp":"000001a1091232b0"} 
[2026-10-05 04:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:12:06] 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-10-05 04:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:12:06] 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-10-05 04:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535231744001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535231744001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:12:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:12:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535231744001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":207127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:12:06] local.INFO: GPS data processed {"connection_id":207127,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:12:06] local.INFO: Acknowledgment sent {"connection_id":207127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:12:33] local.INFO: TCP Data received {"connection_id":204139,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109127518012d7f91c005afd9f0000b010126..."} 
[2026-10-05 04:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109127518012d7f91c005afd9f0000b010126..."} 
[2026-10-05 04:12:33] local.INFO: Processing buffer {"connection_id":204139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109127518012d7f91c005afd9f0000b010126..."} 
[2026-10-05 04:12:33] local.INFO: Packet analysis {"connection_id":204139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:12:33] local.INFO: Extracted packet for processing {"connection_id":204139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535236096001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:12: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-10-05 04:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791153567000,"timestamp_ms":1791153567000,"timestamp_seconds":1791153567,"priority":1,"record_length":96,"hex_timestamp":"000001a109127518"} 
[2026-10-05 04:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:12:33] 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-10-05 04: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-10-05 04:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:12: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-10-05 04:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535236096001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535236096001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:12:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:12:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535236096001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":204139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:12:33] local.INFO: GPS data processed {"connection_id":204139,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:12:33] local.INFO: Acknowledgment sent {"connection_id":204139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:12:37] local.INFO: TCP Data received {"connection_id":207127,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:12:37] local.INFO: Processing buffer {"connection_id":207127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:12:37] local.INFO: Packet analysis {"connection_id":207127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:12:37] local.INFO: Extracted packet for processing {"connection_id":207127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:12:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535231744001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791153550000,"timestamp_ms":1791153550000,"timestamp_seconds":1791153550,"priority":1,"record_length":96,"hex_timestamp":"000001a1091232b0"} 
[2026-10-05 04:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:12:37] 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-10-05 04:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:12:37] 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-10-05 04:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535231744001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535231744001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:12:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:12:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535231744001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":207127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:12:37] local.INFO: GPS data processed {"connection_id":207127,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:12:37] local.INFO: Acknowledgment sent {"connection_id":207127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:12:56] local.INFO: TCP Data received {"connection_id":204069,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:12:56] local.INFO: Processing buffer {"connection_id":204069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:12:56] local.INFO: IMEI packet received {"connection_id":204069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":204069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:13:00] local.INFO: TCP Data received {"connection_id":205583,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205583,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:13:00] local.INFO: Processing buffer {"connection_id":205583,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:13:00] local.INFO: IMEI packet received {"connection_id":205583,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":205583,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:13:01] local.INFO: TCP Data received {"connection_id":204069,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:13:01] local.INFO: Processing buffer {"connection_id":204069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:13:01] local.INFO: IMEI packet received {"connection_id":204069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":204069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:13:02] local.INFO: TCP Data received {"connection_id":204069,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a109127518012d7f91c005afd9f0000b010126..."} 
[2026-10-05 04:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109127518012d7f91c005afd9f0000b010126..."} 
[2026-10-05 04:13:02] local.INFO: Processing buffer {"connection_id":204069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109127518012d7f91c005afd9f0000b010126..."} 
[2026-10-05 04:13:02] local.INFO: Packet analysis {"connection_id":204069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:13:02] local.INFO: Extracted packet for processing {"connection_id":204069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:13:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535236096001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:13:02] 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-10-05 04:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791153567000,"timestamp_ms":1791153567000,"timestamp_seconds":1791153567,"priority":1,"record_length":96,"hex_timestamp":"000001a109127518"} 
[2026-10-05 04:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:13:02] 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-10-05 04: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-10-05 04:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:13: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-10-05 04:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535236096001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535236096001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:13:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:13:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535236096001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":204069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:13:02] local.INFO: GPS data processed {"connection_id":204069,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:13:02] local.INFO: Acknowledgment sent {"connection_id":204069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:13:05] local.INFO: TCP Data received {"connection_id":205583,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205583,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:13:05] local.INFO: Processing buffer {"connection_id":205583,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:13:05] local.INFO: IMEI packet received {"connection_id":205583,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":205583,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:13:06] local.INFO: TCP Data received {"connection_id":205583,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:13:06] local.INFO: Processing buffer {"connection_id":205583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:13:06] local.INFO: Packet analysis {"connection_id":205583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:13:06] local.INFO: Extracted packet for processing {"connection_id":205583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:13:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535231744001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791153550000,"timestamp_ms":1791153550000,"timestamp_seconds":1791153550,"priority":1,"record_length":96,"hex_timestamp":"000001a1091232b0"} 
[2026-10-05 04:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:13:06] 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-10-05 04:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:13: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-10-05 04:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535231744001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535231744001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:13:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:13:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535231744001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":205583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:13:06] local.INFO: GPS data processed {"connection_id":205583,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:13:06] local.INFO: Acknowledgment sent {"connection_id":205583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:13:09] local.INFO: TCP Data received {"connection_id":204068,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204068,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:13:09] local.INFO: Processing buffer {"connection_id":204068,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:13:09] local.INFO: IMEI packet received {"connection_id":204068,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 04:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":204068,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:13:33] local.INFO: TCP Data received {"connection_id":204069,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a109127518012d7f91c005afd9f0000b010126..."} 
[2026-10-05 04:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109127518012d7f91c005afd9f0000b010126..."} 
[2026-10-05 04:13:33] local.INFO: Processing buffer {"connection_id":204069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109127518012d7f91c005afd9f0000b010126..."} 
[2026-10-05 04:13:33] local.INFO: Packet analysis {"connection_id":204069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:13:33] local.INFO: Extracted packet for processing {"connection_id":204069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535236096001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:13: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-10-05 04:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791153567000,"timestamp_ms":1791153567000,"timestamp_seconds":1791153567,"priority":1,"record_length":96,"hex_timestamp":"000001a109127518"} 
[2026-10-05 04:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:13:33] 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-10-05 04:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:13: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-10-05 04:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535236096001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535236096001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:13:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:13:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535236096001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":204069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:13:33] local.INFO: GPS data processed {"connection_id":204069,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:13:33] local.INFO: Acknowledgment sent {"connection_id":204069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:13:37] local.INFO: TCP Data received {"connection_id":205583,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:13:37] local.INFO: Processing buffer {"connection_id":205583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:13:37] local.INFO: Packet analysis {"connection_id":205583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:13:37] local.INFO: Extracted packet for processing {"connection_id":205583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:13:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535231744001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791153550000,"timestamp_ms":1791153550000,"timestamp_seconds":1791153550,"priority":1,"record_length":96,"hex_timestamp":"000001a1091232b0"} 
[2026-10-05 04:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:13:37] 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-10-05 04:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:13: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-10-05 04:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535231744001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535231744001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:13:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:13:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535231744001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":205583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:13:37] local.INFO: GPS data processed {"connection_id":205583,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:13:37] local.INFO: Acknowledgment sent {"connection_id":205583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:13:43] local.INFO: TCP Data received {"connection_id":204140,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204140,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:13:43] local.INFO: Processing buffer {"connection_id":204140,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:13:43] local.INFO: IMEI packet received {"connection_id":204140,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 04:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":204140,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:13:56] local.INFO: TCP Data received {"connection_id":204070,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:13:56] local.INFO: Processing buffer {"connection_id":204070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:13:56] local.INFO: IMEI packet received {"connection_id":204070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":204070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:14:00] local.INFO: TCP Data received {"connection_id":204141,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204141,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:14:00] local.INFO: Processing buffer {"connection_id":204141,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:14:00] local.INFO: IMEI packet received {"connection_id":204141,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":204141,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:14:01] local.INFO: TCP Data received {"connection_id":204070,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:14:01] local.INFO: Processing buffer {"connection_id":204070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:14:01] local.INFO: IMEI packet received {"connection_id":204070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":204070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:14:02] local.INFO: TCP Data received {"connection_id":204070,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a109127518012d7f91c005afd9f0000b010126..."} 
[2026-10-05 04:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109127518012d7f91c005afd9f0000b010126..."} 
[2026-10-05 04:14:02] local.INFO: Processing buffer {"connection_id":204070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109127518012d7f91c005afd9f0000b010126..."} 
[2026-10-05 04:14:02] local.INFO: Packet analysis {"connection_id":204070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:14:02] local.INFO: Extracted packet for processing {"connection_id":204070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:14:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535236096001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:14:02] 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-10-05 04:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791153567000,"timestamp_ms":1791153567000,"timestamp_seconds":1791153567,"priority":1,"record_length":96,"hex_timestamp":"000001a109127518"} 
[2026-10-05 04:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:14:02] 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-10-05 04: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-10-05 04:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:14: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-10-05 04:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535236096001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535236096001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:14:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:14:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535236096001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":204070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:14:02] local.INFO: GPS data processed {"connection_id":204070,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:14:02] local.INFO: Acknowledgment sent {"connection_id":204070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:14:05] local.INFO: TCP Data received {"connection_id":204141,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204141,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:14:05] local.INFO: Processing buffer {"connection_id":204141,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:14:05] local.INFO: IMEI packet received {"connection_id":204141,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":204141,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:14:06] local.INFO: TCP Data received {"connection_id":204141,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:14:06] local.INFO: Processing buffer {"connection_id":204141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091232b0012d7c2ac005dac8a0000700bf22..."} 
[2026-10-05 04:14:06] local.INFO: Packet analysis {"connection_id":204141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:14:06] local.INFO: Extracted packet for processing {"connection_id":204141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:14:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535231744001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791153550000,"timestamp_ms":1791153550000,"timestamp_seconds":1791153550,"priority":1,"record_length":96,"hex_timestamp":"000001a1091232b0"} 
[2026-10-05 04:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:14:06] 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-10-05 04: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-10-05 04:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535231744001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535231744001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:14:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:14:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535231744001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":204141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965197,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:14:06] local.INFO: GPS data processed {"connection_id":204141,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:14:06] local.INFO: Acknowledgment sent {"connection_id":204141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:14:33] local.INFO: TCP Data received {"connection_id":204070,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a109127518012d7f91c005afd9f0000b010126..."} 
[2026-10-05 04:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109127518012d7f91c005afd9f0000b010126..."} 
[2026-10-05 04:14:33] local.INFO: Processing buffer {"connection_id":204070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109127518012d7f91c005afd9f0000b010126..."} 
[2026-10-05 04:14:33] local.INFO: Packet analysis {"connection_id":204070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:14:33] local.INFO: Extracted packet for processing {"connection_id":204070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10912"} 
[2026-10-05 04:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":11,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535236096001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:14: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-10-05 04:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791153567000,"timestamp_ms":1791153567000,"timestamp_seconds":1791153567,"priority":1,"record_length":96,"hex_timestamp":"000001a109127518"} 
[2026-10-05 04:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:14:33] 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-10-05 04: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-10-05 04:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:14: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-10-05 04:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535236096001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535236096001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:14:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:14:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535236096001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":204070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:14:33] local.INFO: GPS data processed {"connection_id":204070,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:14:33] local.INFO: Acknowledgment sent {"connection_id":204070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:14:37] local.INFO: TCP Data received {"connection_id":204141,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:14:37] local.INFO: Processing buffer {"connection_id":204141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:14:37] local.INFO: Packet analysis {"connection_id":204141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10916"} 
[2026-10-05 04:14:37] local.INFO: Extracted packet for processing {"connection_id":204141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10916"} 
[2026-10-05 04:14:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535308800001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791153851000,"timestamp_ms":1791153851000,"timestamp_seconds":1791153851,"priority":1,"record_length":96,"hex_timestamp":"000001a10916ca78"} 
[2026-10-05 04:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:14:37] 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-10-05 04:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535308800001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535308800001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:14:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:14:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535308800001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":204141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:14:38] local.INFO: GPS data processed {"connection_id":204141,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:14:38] local.INFO: Acknowledgment sent {"connection_id":204141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:15:00] local.INFO: TCP Data received {"connection_id":207129,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:15:00] local.INFO: Processing buffer {"connection_id":207129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:15:00] local.INFO: IMEI packet received {"connection_id":207129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":207129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:15:01] local.INFO: TCP Data received {"connection_id":205584,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:15:01] local.INFO: Processing buffer {"connection_id":205584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:15:01] local.INFO: IMEI packet received {"connection_id":205584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":205584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:15:05] local.INFO: TCP Data received {"connection_id":207129,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:15:05] local.INFO: Processing buffer {"connection_id":207129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:15:05] local.INFO: IMEI packet received {"connection_id":207129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":207129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:15:06] local.INFO: TCP Data received {"connection_id":207129,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:15:06] local.INFO: Processing buffer {"connection_id":207129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:15:06] local.INFO: Packet analysis {"connection_id":207129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10916"} 
[2026-10-05 04:15:06] local.INFO: Extracted packet for processing {"connection_id":207129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10916"} 
[2026-10-05 04:15:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535308800001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791153851000,"timestamp_ms":1791153851000,"timestamp_seconds":1791153851,"priority":1,"record_length":96,"hex_timestamp":"000001a10916ca78"} 
[2026-10-05 04:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:15:06] 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-10-05 04:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535308800001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535308800001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:15:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:15:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535308800001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":207129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:15:06] local.INFO: GPS data processed {"connection_id":207129,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:15:06] local.INFO: Acknowledgment sent {"connection_id":207129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:15:06] local.INFO: TCP Data received {"connection_id":205584,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:15:06] local.INFO: Processing buffer {"connection_id":205584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:15:06] local.INFO: IMEI packet received {"connection_id":205584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":205584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:15:07] local.INFO: TCP Data received {"connection_id":205584,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:15:07] local.INFO: Processing buffer {"connection_id":205584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:15:07] local.INFO: Packet analysis {"connection_id":205584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:15:07] local.INFO: Extracted packet for processing {"connection_id":205584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:15:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535313152001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:15:07] 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-10-05 04:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791153868000,"timestamp_ms":1791153868000,"timestamp_seconds":1791153868,"priority":1,"record_length":96,"hex_timestamp":"000001a109170ce0"} 
[2026-10-05 04:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:15: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-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04: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-10-05 04:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:15: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-10-05 04:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535313152001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535313152001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:15:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:15:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535313152001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":205584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:15:07] local.INFO: GPS data processed {"connection_id":205584,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:15:07] local.INFO: Acknowledgment sent {"connection_id":205584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:15:07] local.INFO: TCP Data received {"connection_id":205584,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:15:07] local.INFO: Processing buffer {"connection_id":205584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:15:07] local.INFO: Packet analysis {"connection_id":205584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:15:07] local.INFO: Extracted packet for processing {"connection_id":205584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:15:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535313152001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:15:07] 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-10-05 04:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791153868000,"timestamp_ms":1791153868000,"timestamp_seconds":1791153868,"priority":1,"record_length":96,"hex_timestamp":"000001a109170ce0"} 
[2026-10-05 04:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:15: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-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04: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-10-05 04:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:15: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-10-05 04:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535313152001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535313152001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:15:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:15:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535313152001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":205584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:15:07] local.INFO: GPS data processed {"connection_id":205584,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:15:07] local.INFO: Acknowledgment sent {"connection_id":205584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:15:37] local.INFO: TCP Data received {"connection_id":207129,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:15:37] local.INFO: Processing buffer {"connection_id":207129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:15:37] local.INFO: Packet analysis {"connection_id":207129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10916"} 
[2026-10-05 04:15:37] local.INFO: Extracted packet for processing {"connection_id":207129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10916"} 
[2026-10-05 04:15:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535308800001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791153851000,"timestamp_ms":1791153851000,"timestamp_seconds":1791153851,"priority":1,"record_length":96,"hex_timestamp":"000001a10916ca78"} 
[2026-10-05 04:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:15:37] 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-10-05 04:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535308800001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535308800001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:15:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:15:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535308800001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":207129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:15:37] local.INFO: GPS data processed {"connection_id":207129,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:15:37] local.INFO: Acknowledgment sent {"connection_id":207129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:15:38] local.INFO: TCP Data received {"connection_id":205584,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:15:38] local.INFO: Processing buffer {"connection_id":205584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:15:38] local.INFO: Packet analysis {"connection_id":205584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:15:38] local.INFO: Extracted packet for processing {"connection_id":205584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:15:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:15: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-10-05 04:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535313152001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:15:38] 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-10-05 04:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791153868000,"timestamp_ms":1791153868000,"timestamp_seconds":1791153868,"priority":1,"record_length":96,"hex_timestamp":"000001a109170ce0"} 
[2026-10-05 04:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:15:38] 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-10-05 04:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:15:38] 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-10-05 04:15: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-10-05 04:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535313152001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535313152001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:15:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:15:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535313152001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":205584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:15:38] local.INFO: GPS data processed {"connection_id":205584,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:15:38] local.INFO: Acknowledgment sent {"connection_id":205584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:15:56] local.INFO: TCP Data received {"connection_id":205585,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:15:56] local.INFO: Processing buffer {"connection_id":205585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:15:56] local.INFO: IMEI packet received {"connection_id":205585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":205585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:16:00] local.INFO: TCP Data received {"connection_id":204071,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:16:00] local.INFO: Processing buffer {"connection_id":204071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:16:00] local.INFO: IMEI packet received {"connection_id":204071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":204071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:16:01] local.INFO: TCP Data received {"connection_id":205585,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:16:01] local.INFO: Processing buffer {"connection_id":205585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:16:01] local.INFO: IMEI packet received {"connection_id":205585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":205585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:16:02] local.INFO: TCP Data received {"connection_id":205585,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:16:02] local.INFO: Processing buffer {"connection_id":205585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:16:02] local.INFO: Packet analysis {"connection_id":205585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:16:02] local.INFO: Extracted packet for processing {"connection_id":205585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:16:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535313152001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:16:02] 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-10-05 04:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791153868000,"timestamp_ms":1791153868000,"timestamp_seconds":1791153868,"priority":1,"record_length":96,"hex_timestamp":"000001a109170ce0"} 
[2026-10-05 04:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:16: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-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:16:02] 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-10-05 04: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-10-05 04:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:16: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-10-05 04:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535313152001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535313152001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:16:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:16:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535313152001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":205585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:16:02] local.INFO: GPS data processed {"connection_id":205585,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:16:02] local.INFO: Acknowledgment sent {"connection_id":205585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:16:05] local.INFO: TCP Data received {"connection_id":204071,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:16:05] local.INFO: Processing buffer {"connection_id":204071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:16:05] local.INFO: IMEI packet received {"connection_id":204071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":204071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:16:06] local.INFO: TCP Data received {"connection_id":204071,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:16:06] local.INFO: Processing buffer {"connection_id":204071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:16:06] local.INFO: Packet analysis {"connection_id":204071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10916"} 
[2026-10-05 04:16:06] local.INFO: Extracted packet for processing {"connection_id":204071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10916"} 
[2026-10-05 04:16:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535308800001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791153851000,"timestamp_ms":1791153851000,"timestamp_seconds":1791153851,"priority":1,"record_length":96,"hex_timestamp":"000001a10916ca78"} 
[2026-10-05 04:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:16:06] 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-10-05 04:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535308800001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535308800001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:16:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:16:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535308800001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":204071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:16:06] local.INFO: GPS data processed {"connection_id":204071,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:16:06] local.INFO: Acknowledgment sent {"connection_id":204071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:16:33] local.INFO: TCP Data received {"connection_id":205585,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:16:33] local.INFO: Processing buffer {"connection_id":205585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:16:33] local.INFO: Packet analysis {"connection_id":205585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:16:33] local.INFO: Extracted packet for processing {"connection_id":205585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:16: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-10-05 04:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535313152001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:16: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-10-05 04:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791153868000,"timestamp_ms":1791153868000,"timestamp_seconds":1791153868,"priority":1,"record_length":96,"hex_timestamp":"000001a109170ce0"} 
[2026-10-05 04:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:16:33] 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-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:16:33] 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-10-05 04: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-10-05 04:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:16: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-10-05 04:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535313152001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535313152001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:16:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:16:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535313152001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":205585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:16:33] local.INFO: GPS data processed {"connection_id":205585,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:16:33] local.INFO: Acknowledgment sent {"connection_id":205585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:16:37] local.INFO: TCP Data received {"connection_id":204071,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:16:37] local.INFO: Processing buffer {"connection_id":204071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:16:37] local.INFO: Packet analysis {"connection_id":204071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10916"} 
[2026-10-05 04:16:37] local.INFO: Extracted packet for processing {"connection_id":204071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10916"} 
[2026-10-05 04:16:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535308800001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791153851000,"timestamp_ms":1791153851000,"timestamp_seconds":1791153851,"priority":1,"record_length":96,"hex_timestamp":"000001a10916ca78"} 
[2026-10-05 04:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:16:37] 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-10-05 04:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535308800001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535308800001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:16:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:16:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535308800001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":204071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:16:38] local.INFO: GPS data processed {"connection_id":204071,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:16:38] local.INFO: Acknowledgment sent {"connection_id":204071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:16:56] local.INFO: TCP Data received {"connection_id":207131,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:16:56] local.INFO: Processing buffer {"connection_id":207131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:16:56] local.INFO: IMEI packet received {"connection_id":207131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":207131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:17:00] local.INFO: TCP Data received {"connection_id":207132,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:17:00] local.INFO: Processing buffer {"connection_id":207132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:17:00] local.INFO: IMEI packet received {"connection_id":207132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":207132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:17:01] local.INFO: TCP Data received {"connection_id":207131,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:17:01] local.INFO: Processing buffer {"connection_id":207131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:17:01] local.INFO: IMEI packet received {"connection_id":207131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":207131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:17:02] local.INFO: TCP Data received {"connection_id":207131,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:17:02] local.INFO: Processing buffer {"connection_id":207131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:17:02] local.INFO: Packet analysis {"connection_id":207131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:17:02] local.INFO: Extracted packet for processing {"connection_id":207131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:17:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535313152001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:17:02] 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-10-05 04:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791153868000,"timestamp_ms":1791153868000,"timestamp_seconds":1791153868,"priority":1,"record_length":96,"hex_timestamp":"000001a109170ce0"} 
[2026-10-05 04:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:17: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-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:17:02] 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-10-05 04: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-10-05 04:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:17: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-10-05 04:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535313152001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535313152001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:17:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:17:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535313152001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":207131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:17:02] local.INFO: GPS data processed {"connection_id":207131,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:17:02] local.INFO: Acknowledgment sent {"connection_id":207131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:17:05] local.INFO: TCP Data received {"connection_id":207132,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:17:05] local.INFO: Processing buffer {"connection_id":207132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:17:05] local.INFO: IMEI packet received {"connection_id":207132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":207132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:17:06] local.INFO: TCP Data received {"connection_id":207132,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:17:06] local.INFO: Processing buffer {"connection_id":207132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:17:06] local.INFO: Packet analysis {"connection_id":207132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10916"} 
[2026-10-05 04:17:06] local.INFO: Extracted packet for processing {"connection_id":207132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10916"} 
[2026-10-05 04:17:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535308800001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791153851000,"timestamp_ms":1791153851000,"timestamp_seconds":1791153851,"priority":1,"record_length":96,"hex_timestamp":"000001a10916ca78"} 
[2026-10-05 04:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:17:06] 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-10-05 04:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535308800001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535308800001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:17:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:17:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535308800001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":207132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:17:06] local.INFO: GPS data processed {"connection_id":207132,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:17:06] local.INFO: Acknowledgment sent {"connection_id":207132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:17:33] local.INFO: TCP Data received {"connection_id":207131,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:17:33] local.INFO: Processing buffer {"connection_id":207131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:17:33] local.INFO: Packet analysis {"connection_id":207131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:17:33] local.INFO: Extracted packet for processing {"connection_id":207131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535313152001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:17: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-10-05 04:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791153868000,"timestamp_ms":1791153868000,"timestamp_seconds":1791153868,"priority":1,"record_length":96,"hex_timestamp":"000001a109170ce0"} 
[2026-10-05 04:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:17:33] 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-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:17:33] 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-10-05 04: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-10-05 04:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:17: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-10-05 04:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535313152001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535313152001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:17:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:17:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535313152001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":207131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:17:33] local.INFO: GPS data processed {"connection_id":207131,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:17:33] local.INFO: Acknowledgment sent {"connection_id":207131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:17:37] local.INFO: TCP Data received {"connection_id":207132,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:17:37] local.INFO: Processing buffer {"connection_id":207132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:17:37] local.INFO: Packet analysis {"connection_id":207132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10916"} 
[2026-10-05 04:17:37] local.INFO: Extracted packet for processing {"connection_id":207132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10916"} 
[2026-10-05 04:17:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535308800001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791153851000,"timestamp_ms":1791153851000,"timestamp_seconds":1791153851,"priority":1,"record_length":96,"hex_timestamp":"000001a10916ca78"} 
[2026-10-05 04:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:17:37] 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-10-05 04:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535308800001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535308800001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:17:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:17:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535308800001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":207132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:17:37] local.INFO: GPS data processed {"connection_id":207132,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:17:37] local.INFO: Acknowledgment sent {"connection_id":207132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:17:56] local.INFO: TCP Data received {"connection_id":205586,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:17:56] local.INFO: Processing buffer {"connection_id":205586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:17:56] local.INFO: IMEI packet received {"connection_id":205586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":205586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:18:02] local.INFO: TCP Data received {"connection_id":205586,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:18:02] local.INFO: Processing buffer {"connection_id":205586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:18:02] local.INFO: IMEI packet received {"connection_id":205586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":205586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:18:03] local.INFO: TCP Data received {"connection_id":205586,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:18:03] local.INFO: Processing buffer {"connection_id":205586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:18:03] local.INFO: Packet analysis {"connection_id":205586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:18:03] local.INFO: Extracted packet for processing {"connection_id":205586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:18:03] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535313152001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:18:03] 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-10-05 04:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791153868000,"timestamp_ms":1791153868000,"timestamp_seconds":1791153868,"priority":1,"record_length":96,"hex_timestamp":"000001a109170ce0"} 
[2026-10-05 04:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:18:03] 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-10-05 04: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-10-05 04:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":205586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":205586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":205586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535313152001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535313152001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:18:03] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:18:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535313152001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":205586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:18:03] local.INFO: GPS data processed {"connection_id":205586,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:18:03] local.INFO: Acknowledgment sent {"connection_id":205586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:18:05] local.INFO: TCP Data received {"connection_id":204072,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:18:05] local.INFO: Processing buffer {"connection_id":204072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:18:05] local.INFO: IMEI packet received {"connection_id":204072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":204072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:18:10] local.INFO: TCP Data received {"connection_id":204072,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:18:10] local.INFO: Processing buffer {"connection_id":204072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:18:10] local.INFO: IMEI packet received {"connection_id":204072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":204072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:18:11] local.INFO: TCP Data received {"connection_id":204072,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:18:11] local.INFO: Processing buffer {"connection_id":204072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:18:11] local.INFO: Packet analysis {"connection_id":204072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10916"} 
[2026-10-05 04:18:11] local.INFO: Extracted packet for processing {"connection_id":204072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10916"} 
[2026-10-05 04:18:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535308800001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791153851000,"timestamp_ms":1791153851000,"timestamp_seconds":1791153851,"priority":1,"record_length":96,"hex_timestamp":"000001a10916ca78"} 
[2026-10-05 04:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:18:11] 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-10-05 04:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535308800001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535308800001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:18:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:18:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535308800001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":204072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:18:11] local.INFO: GPS data processed {"connection_id":204072,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:18:11] local.INFO: Acknowledgment sent {"connection_id":204072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:18:16] local.INFO: TCP Data received {"connection_id":204072,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:18:16] local.INFO: Processing buffer {"connection_id":204072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:18:16] local.INFO: Packet analysis {"connection_id":204072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10916"} 
[2026-10-05 04:18:16] local.INFO: Extracted packet for processing {"connection_id":204072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10916"} 
[2026-10-05 04:18:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535308800001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791153851000,"timestamp_ms":1791153851000,"timestamp_seconds":1791153851,"priority":1,"record_length":96,"hex_timestamp":"000001a10916ca78"} 
[2026-10-05 04:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:18:16] 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-10-05 04:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535308800001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535308800001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:18:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:18:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535308800001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":204072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:18:16] local.INFO: GPS data processed {"connection_id":204072,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:18:16] local.INFO: Acknowledgment sent {"connection_id":204072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:18:34] local.INFO: TCP Data received {"connection_id":205586,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:18:34] local.INFO: Processing buffer {"connection_id":205586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:18:34] local.INFO: Packet analysis {"connection_id":205586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:18:34] local.INFO: Extracted packet for processing {"connection_id":205586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:18:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535313152001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:18:34] 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-10-05 04:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791153868000,"timestamp_ms":1791153868000,"timestamp_seconds":1791153868,"priority":1,"record_length":96,"hex_timestamp":"000001a109170ce0"} 
[2026-10-05 04:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:18:34] 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-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:18: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-10-05 04: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-10-05 04:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":205586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":205586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":205586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535313152001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535313152001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:18:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:18:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535313152001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":205586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:18:34] local.INFO: GPS data processed {"connection_id":205586,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:18:34] local.INFO: Acknowledgment sent {"connection_id":205586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:18:58] local.INFO: TCP Data received {"connection_id":207133,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207133,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:18:58] local.INFO: Processing buffer {"connection_id":207133,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:18:58] local.INFO: IMEI packet received {"connection_id":207133,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 04:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":207133,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:19:00] local.INFO: TCP Data received {"connection_id":204144,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204144,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:19:00] local.INFO: Processing buffer {"connection_id":204144,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:19:00] local.INFO: IMEI packet received {"connection_id":204144,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":204144,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:19:01] local.INFO: TCP Data received {"connection_id":207134,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:19:01] local.INFO: Processing buffer {"connection_id":207134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:19:01] local.INFO: IMEI packet received {"connection_id":207134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":207134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:19:05] local.INFO: TCP Data received {"connection_id":204144,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204144,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:19:05] local.INFO: Processing buffer {"connection_id":204144,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:19:05] local.INFO: IMEI packet received {"connection_id":204144,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":204144,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:19:06] local.INFO: TCP Data received {"connection_id":207134,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:19:06] local.INFO: Processing buffer {"connection_id":207134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:19:06] local.INFO: IMEI packet received {"connection_id":207134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":207134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:19:06] local.INFO: TCP Data received {"connection_id":204144,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:19:06] local.INFO: Processing buffer {"connection_id":204144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10916ca78012d7c2ac005dac8a0000700bf25..."} 
[2026-10-05 04:19:06] local.INFO: Packet analysis {"connection_id":204144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10916"} 
[2026-10-05 04:19:06] local.INFO: Extracted packet for processing {"connection_id":204144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10916"} 
[2026-10-05 04:19:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535308800001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791153851000,"timestamp_ms":1791153851000,"timestamp_seconds":1791153851,"priority":1,"record_length":96,"hex_timestamp":"000001a10916ca78"} 
[2026-10-05 04:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:19:06] 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-10-05 04: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-10-05 04:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535308800001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535308800001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:19:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:19:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535308800001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":204144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965217,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:19:06] local.INFO: GPS data processed {"connection_id":204144,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:19:06] local.INFO: Acknowledgment sent {"connection_id":204144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:19:07] local.INFO: TCP Data received {"connection_id":207134,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:19:07] local.INFO: Processing buffer {"connection_id":207134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:19:07] local.INFO: Packet analysis {"connection_id":207134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:19:07] local.INFO: Extracted packet for processing {"connection_id":207134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:19:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535313152001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:19:07] 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-10-05 04:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791153868000,"timestamp_ms":1791153868000,"timestamp_seconds":1791153868,"priority":1,"record_length":96,"hex_timestamp":"000001a109170ce0"} 
[2026-10-05 04:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:19: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-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04: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-10-05 04:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:19: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-10-05 04:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535313152001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535313152001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:19:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:19:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535313152001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":207134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:19:07] local.INFO: GPS data processed {"connection_id":207134,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:19:07] local.INFO: Acknowledgment sent {"connection_id":207134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:19:11] local.INFO: TCP Data received {"connection_id":207134,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:19:11] local.INFO: Processing buffer {"connection_id":207134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:19:11] local.INFO: Packet analysis {"connection_id":207134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:19:11] local.INFO: Extracted packet for processing {"connection_id":207134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:19:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535313152001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:19:11] 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-10-05 04:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791153868000,"timestamp_ms":1791153868000,"timestamp_seconds":1791153868,"priority":1,"record_length":96,"hex_timestamp":"000001a109170ce0"} 
[2026-10-05 04:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:19:11] 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-10-05 04:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:19:11] 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-10-05 04:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535313152001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535313152001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:19:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535313152001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":207134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:19:11] local.INFO: GPS data processed {"connection_id":207134,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:19:11] local.INFO: Acknowledgment sent {"connection_id":207134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:19:37] local.INFO: TCP Data received {"connection_id":204144,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:19:37] local.INFO: Processing buffer {"connection_id":204144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:19:37] local.INFO: Packet analysis {"connection_id":204144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:19:37] local.INFO: Extracted packet for processing {"connection_id":204144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:19:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":35,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535385856001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791154152000,"timestamp_ms":1791154152000,"timestamp_seconds":1791154152,"priority":1,"record_length":96,"hex_timestamp":"000001a1091b6240"} 
[2026-10-05 04:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:19:37] 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-10-05 04:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535385856001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535385856001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:19:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:19:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535385856001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":204144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:19:37] local.INFO: GPS data processed {"connection_id":204144,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:19:37] local.INFO: Acknowledgment sent {"connection_id":204144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:19:49] local.INFO: TCP Data received {"connection_id":207135,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:19:49] local.INFO: Processing buffer {"connection_id":207135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:19:49] local.INFO: IMEI packet received {"connection_id":207135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 04:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":207135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:19:56] local.INFO: TCP Data received {"connection_id":205587,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:19:56] local.INFO: Processing buffer {"connection_id":205587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:19:56] local.INFO: IMEI packet received {"connection_id":205587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":205587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:20:00] local.INFO: TCP Data received {"connection_id":207136,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:20:00] local.INFO: Processing buffer {"connection_id":207136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:20:00] local.INFO: IMEI packet received {"connection_id":207136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":207136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:20:01] local.INFO: TCP Data received {"connection_id":205587,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:20:01] local.INFO: Processing buffer {"connection_id":205587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:20:01] local.INFO: IMEI packet received {"connection_id":205587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":205587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:20:02] local.INFO: TCP Data received {"connection_id":205587,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:20:02] local.INFO: Processing buffer {"connection_id":205587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:20:02] local.INFO: Packet analysis {"connection_id":205587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:20:02] local.INFO: Extracted packet for processing {"connection_id":205587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:20:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535313152001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:20:02] 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-10-05 04:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791153868000,"timestamp_ms":1791153868000,"timestamp_seconds":1791153868,"priority":1,"record_length":96,"hex_timestamp":"000001a109170ce0"} 
[2026-10-05 04:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:20: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-10-05 04: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":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:20:02] 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-10-05 04: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-10-05 04:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:20: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-10-05 04:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535313152001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535313152001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:20:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:20:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535313152001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":205587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:20:02] local.INFO: GPS data processed {"connection_id":205587,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:20:02] local.INFO: Acknowledgment sent {"connection_id":205587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:20:05] local.INFO: TCP Data received {"connection_id":207136,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:20:05] local.INFO: Processing buffer {"connection_id":207136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:20:05] local.INFO: IMEI packet received {"connection_id":207136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":207136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:20:06] local.INFO: TCP Data received {"connection_id":207136,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:20:06] local.INFO: Processing buffer {"connection_id":207136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:20:06] local.INFO: Packet analysis {"connection_id":207136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:20:06] local.INFO: Extracted packet for processing {"connection_id":207136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:20:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":35,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535385856001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791154152000,"timestamp_ms":1791154152000,"timestamp_seconds":1791154152,"priority":1,"record_length":96,"hex_timestamp":"000001a1091b6240"} 
[2026-10-05 04:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:20:06] 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-10-05 04:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535385856001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535385856001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:20:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:20:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535385856001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":207136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:20:06] local.INFO: GPS data processed {"connection_id":207136,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:20:06] local.INFO: Acknowledgment sent {"connection_id":207136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:20:06] local.INFO: TCP Data received {"connection_id":205587,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:20:06] local.INFO: Processing buffer {"connection_id":205587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109170ce0012d7f91c005afd9f0000a010120..."} 
[2026-10-05 04:20:06] local.INFO: Packet analysis {"connection_id":205587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:20:06] local.INFO: Extracted packet for processing {"connection_id":205587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:20:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535313152001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:20:06] 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-10-05 04:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791153868000,"timestamp_ms":1791153868000,"timestamp_seconds":1791153868,"priority":1,"record_length":96,"hex_timestamp":"000001a109170ce0"} 
[2026-10-05 04:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:20:06] 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-10-05 04:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:20:06] 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-10-05 04:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:20: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-10-05 04:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535313152001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535313152001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:20:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:20:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535313152001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":205587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:20:06] local.INFO: GPS data processed {"connection_id":205587,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:20:06] local.INFO: Acknowledgment sent {"connection_id":205587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:20:37] local.INFO: TCP Data received {"connection_id":207136,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:20:37] local.INFO: Processing buffer {"connection_id":207136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:20:37] local.INFO: Packet analysis {"connection_id":207136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:20:37] local.INFO: Extracted packet for processing {"connection_id":207136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:20:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":35,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535385856001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791154152000,"timestamp_ms":1791154152000,"timestamp_seconds":1791154152,"priority":1,"record_length":96,"hex_timestamp":"000001a1091b6240"} 
[2026-10-05 04:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:20:37] 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-10-05 04:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535385856001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535385856001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:20:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:20:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535385856001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":207136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:20:37] local.INFO: GPS data processed {"connection_id":207136,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:20:37] local.INFO: Acknowledgment sent {"connection_id":207136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:20:38] local.INFO: TCP Data received {"connection_id":205587,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:20:38] local.INFO: Processing buffer {"connection_id":205587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:20:38] local.INFO: Packet analysis {"connection_id":205587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:20:38] local.INFO: Extracted packet for processing {"connection_id":205587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:20:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535390208001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:20:38] 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-10-05 04:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791154169000,"timestamp_ms":1791154169000,"timestamp_seconds":1791154169,"priority":1,"record_length":96,"hex_timestamp":"000001a1091ba4a8"} 
[2026-10-05 04:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:20:38] 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-10-05 04:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:20:38] 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-10-05 04:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535390208001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535390208001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:20:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:20:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535390208001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":205587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:20:38] local.INFO: GPS data processed {"connection_id":205587,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:20:38] local.INFO: Acknowledgment sent {"connection_id":205587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:20:56] local.INFO: TCP Data received {"connection_id":204147,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:20:56] local.INFO: Processing buffer {"connection_id":204147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:20:56] local.INFO: IMEI packet received {"connection_id":204147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":204147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:21:00] local.INFO: TCP Data received {"connection_id":204148,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:21:00] local.INFO: Processing buffer {"connection_id":204148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:21:00] local.INFO: IMEI packet received {"connection_id":204148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":204148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:21:01] local.INFO: TCP Data received {"connection_id":204147,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:21:01] local.INFO: Processing buffer {"connection_id":204147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:21:01] local.INFO: IMEI packet received {"connection_id":204147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":204147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:21:02] local.INFO: TCP Data received {"connection_id":204147,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:21:02] local.INFO: Processing buffer {"connection_id":204147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:21:02] local.INFO: Packet analysis {"connection_id":204147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:21:02] local.INFO: Extracted packet for processing {"connection_id":204147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:21:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535390208001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:21:02] 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-10-05 04:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791154169000,"timestamp_ms":1791154169000,"timestamp_seconds":1791154169,"priority":1,"record_length":96,"hex_timestamp":"000001a1091ba4a8"} 
[2026-10-05 04:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:21: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-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:21:02] 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-10-05 04: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-10-05 04:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:21: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-10-05 04:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535390208001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535390208001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:21:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:21:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535390208001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":204147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:21:02] local.INFO: GPS data processed {"connection_id":204147,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:21:02] local.INFO: Acknowledgment sent {"connection_id":204147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:21:05] local.INFO: TCP Data received {"connection_id":204148,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:21:05] local.INFO: Processing buffer {"connection_id":204148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:21:05] local.INFO: IMEI packet received {"connection_id":204148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":204148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:21:06] local.INFO: TCP Data received {"connection_id":204148,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:21:06] local.INFO: Processing buffer {"connection_id":204148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:21:06] local.INFO: Packet analysis {"connection_id":204148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:21:06] local.INFO: Extracted packet for processing {"connection_id":204148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:21:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":35,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535385856001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791154152000,"timestamp_ms":1791154152000,"timestamp_seconds":1791154152,"priority":1,"record_length":96,"hex_timestamp":"000001a1091b6240"} 
[2026-10-05 04:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:21:06] 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-10-05 04:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535385856001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535385856001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:21:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:21:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535385856001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":204148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:21:06] local.INFO: GPS data processed {"connection_id":204148,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:21:06] local.INFO: Acknowledgment sent {"connection_id":204148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:21:33] local.INFO: TCP Data received {"connection_id":204147,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:21:33] local.INFO: Processing buffer {"connection_id":204147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:21:33] local.INFO: Packet analysis {"connection_id":204147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:21:33] local.INFO: Extracted packet for processing {"connection_id":204147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:21:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:21: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-10-05 04:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535390208001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:21: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-10-05 04:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791154169000,"timestamp_ms":1791154169000,"timestamp_seconds":1791154169,"priority":1,"record_length":96,"hex_timestamp":"000001a1091ba4a8"} 
[2026-10-05 04:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:21:33] 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-10-05 04:21: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":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:21:33] 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-10-05 04:21: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-10-05 04:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:21: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-10-05 04:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535390208001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535390208001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:21:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:21:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535390208001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":204147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:21:33] local.INFO: GPS data processed {"connection_id":204147,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:21:33] local.INFO: Acknowledgment sent {"connection_id":204147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:21:37] local.INFO: TCP Data received {"connection_id":204148,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:21:37] local.INFO: Processing buffer {"connection_id":204148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:21:37] local.INFO: Packet analysis {"connection_id":204148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:21:37] local.INFO: Extracted packet for processing {"connection_id":204148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:21:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":35,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535385856001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791154152000,"timestamp_ms":1791154152000,"timestamp_seconds":1791154152,"priority":1,"record_length":96,"hex_timestamp":"000001a1091b6240"} 
[2026-10-05 04:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:21:37] 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-10-05 04:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535385856001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535385856001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:21:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:21:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535385856001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":204148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:21:37] local.INFO: GPS data processed {"connection_id":204148,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:21:37] local.INFO: Acknowledgment sent {"connection_id":204148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:21:56] local.INFO: TCP Data received {"connection_id":205589,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:21:56] local.INFO: Processing buffer {"connection_id":205589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:21:56] local.INFO: IMEI packet received {"connection_id":205589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":205589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:22:00] local.INFO: TCP Data received {"connection_id":205590,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205590,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:22:00] local.INFO: Processing buffer {"connection_id":205590,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:22:00] local.INFO: IMEI packet received {"connection_id":205590,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":205590,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:22:01] local.INFO: TCP Data received {"connection_id":205589,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:22:01] local.INFO: Processing buffer {"connection_id":205589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:22:01] local.INFO: IMEI packet received {"connection_id":205589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":205589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:22:02] local.INFO: TCP Data received {"connection_id":205589,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:22:02] local.INFO: Processing buffer {"connection_id":205589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:22:02] local.INFO: Packet analysis {"connection_id":205589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:22:02] local.INFO: Extracted packet for processing {"connection_id":205589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:22:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535390208001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:22:02] 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-10-05 04:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791154169000,"timestamp_ms":1791154169000,"timestamp_seconds":1791154169,"priority":1,"record_length":96,"hex_timestamp":"000001a1091ba4a8"} 
[2026-10-05 04:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:22: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-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:22:02] 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-10-05 04: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-10-05 04:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:22:02] 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-10-05 04:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535390208001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 04:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535390208001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:22:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:22:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535390208001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":205589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:22:02] local.INFO: GPS data processed {"connection_id":205589,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:22:02] local.INFO: Acknowledgment sent {"connection_id":205589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:22:05] local.INFO: TCP Data received {"connection_id":205590,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205590,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:22:05] local.INFO: Processing buffer {"connection_id":205590,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:22:05] local.INFO: IMEI packet received {"connection_id":205590,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":205590,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:22:06] local.INFO: TCP Data received {"connection_id":205590,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:22:06] local.INFO: Processing buffer {"connection_id":205590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:22:06] local.INFO: Packet analysis {"connection_id":205590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:22:06] local.INFO: Extracted packet for processing {"connection_id":205590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:22:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":35,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535385856001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791154152000,"timestamp_ms":1791154152000,"timestamp_seconds":1791154152,"priority":1,"record_length":96,"hex_timestamp":"000001a1091b6240"} 
[2026-10-05 04:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:22:06] 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-10-05 04:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535385856001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535385856001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:22:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:22:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535385856001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":205590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:22:06] local.INFO: GPS data processed {"connection_id":205590,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:22:06] local.INFO: Acknowledgment sent {"connection_id":205590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:22:33] local.INFO: TCP Data received {"connection_id":205589,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:22:33] local.INFO: Processing buffer {"connection_id":205589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:22:33] local.INFO: Packet analysis {"connection_id":205589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:22:33] local.INFO: Extracted packet for processing {"connection_id":205589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:22:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535390208001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:22: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-10-05 04:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791154169000,"timestamp_ms":1791154169000,"timestamp_seconds":1791154169,"priority":1,"record_length":96,"hex_timestamp":"000001a1091ba4a8"} 
[2026-10-05 04:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:22:33] 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-10-05 04:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:22:33] 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-10-05 04:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:22:33] 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-10-05 04:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535390208001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 04:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535390208001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:22:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:22:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535390208001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":205589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:22:33] local.INFO: GPS data processed {"connection_id":205589,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:22:33] local.INFO: Acknowledgment sent {"connection_id":205589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:22:37] local.INFO: TCP Data received {"connection_id":205590,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:22:37] local.INFO: Processing buffer {"connection_id":205590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:22:37] local.INFO: Packet analysis {"connection_id":205590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:22:37] local.INFO: Extracted packet for processing {"connection_id":205590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:22:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":35,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535385856001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791154152000,"timestamp_ms":1791154152000,"timestamp_seconds":1791154152,"priority":1,"record_length":96,"hex_timestamp":"000001a1091b6240"} 
[2026-10-05 04:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:22:37] 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-10-05 04: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-10-05 04:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535385856001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535385856001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:22:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:22:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535385856001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":205590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:22:37] local.INFO: GPS data processed {"connection_id":205590,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:22:37] local.INFO: Acknowledgment sent {"connection_id":205590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:23:01] local.INFO: TCP Data received {"connection_id":204149,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:23:01] local.INFO: Processing buffer {"connection_id":204149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:23:01] local.INFO: IMEI packet received {"connection_id":204149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":204149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:23:05] local.INFO: TCP Data received {"connection_id":204074,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:23:05] local.INFO: Processing buffer {"connection_id":204074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:23:05] local.INFO: IMEI packet received {"connection_id":204074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":204074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:23:06] local.INFO: TCP Data received {"connection_id":204149,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:23:06] local.INFO: Processing buffer {"connection_id":204149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:23:06] local.INFO: IMEI packet received {"connection_id":204149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":204149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:23:07] local.INFO: TCP Data received {"connection_id":204149,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:23:07] local.INFO: Processing buffer {"connection_id":204149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:23:07] local.INFO: Packet analysis {"connection_id":204149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:23:07] local.INFO: Extracted packet for processing {"connection_id":204149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:23:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535390208001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:23:07] 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-10-05 04:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791154169000,"timestamp_ms":1791154169000,"timestamp_seconds":1791154169,"priority":1,"record_length":96,"hex_timestamp":"000001a1091ba4a8"} 
[2026-10-05 04:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:23: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-10-05 04:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535390208001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535390208001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:23:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:23:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535390208001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":204149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:23:07] local.INFO: GPS data processed {"connection_id":204149,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:23:07] local.INFO: Acknowledgment sent {"connection_id":204149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:23:10] local.INFO: TCP Data received {"connection_id":204074,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:23:10] local.INFO: Processing buffer {"connection_id":204074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:23:10] local.INFO: IMEI packet received {"connection_id":204074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":204074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:23:11] local.INFO: TCP Data received {"connection_id":204074,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:23:11] local.INFO: Processing buffer {"connection_id":204074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:23:11] local.INFO: Packet analysis {"connection_id":204074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:23:11] local.INFO: Extracted packet for processing {"connection_id":204074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:23:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":35,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535385856001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791154152000,"timestamp_ms":1791154152000,"timestamp_seconds":1791154152,"priority":1,"record_length":96,"hex_timestamp":"000001a1091b6240"} 
[2026-10-05 04:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:23:11] 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-10-05 04:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535385856001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535385856001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:23:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535385856001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":204074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965235,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:23:11] local.INFO: GPS data processed {"connection_id":204074,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:23:11] local.INFO: Acknowledgment sent {"connection_id":204074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:23:11] local.INFO: TCP Data received {"connection_id":204149,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:23:11] local.INFO: Processing buffer {"connection_id":204149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:23:11] local.INFO: Packet analysis {"connection_id":204149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:23:11] local.INFO: Extracted packet for processing {"connection_id":204149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:23:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535390208001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:23:11] 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-10-05 04:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791154169000,"timestamp_ms":1791154169000,"timestamp_seconds":1791154169,"priority":1,"record_length":96,"hex_timestamp":"000001a1091ba4a8"} 
[2026-10-05 04:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:23:11] 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-10-05 04:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:23:11] 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-10-05 04:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535390208001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535390208001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:23:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535390208001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":204149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:23:11] local.INFO: GPS data processed {"connection_id":204149,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:23:11] local.INFO: Acknowledgment sent {"connection_id":204149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:23:15] local.INFO: TCP Data received {"connection_id":204074,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:23:15] local.INFO: Processing buffer {"connection_id":204074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:23:15] local.INFO: Packet analysis {"connection_id":204074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:23:15] local.INFO: Extracted packet for processing {"connection_id":204074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:23:15] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":35,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535385856001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791154152000,"timestamp_ms":1791154152000,"timestamp_seconds":1791154152,"priority":1,"record_length":96,"hex_timestamp":"000001a1091b6240"} 
[2026-10-05 04:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535385856001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535385856001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:23:15] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:23:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535385856001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":204074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965237,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:23:16] local.INFO: GPS data processed {"connection_id":204074,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:23:16] local.INFO: Acknowledgment sent {"connection_id":204074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:23:56] local.INFO: TCP Data received {"connection_id":207137,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:23:56] local.INFO: Processing buffer {"connection_id":207137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:23:56] local.INFO: IMEI packet received {"connection_id":207137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":207137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:24:00] local.INFO: TCP Data received {"connection_id":204075,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:24:00] local.INFO: Processing buffer {"connection_id":204075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:24:00] local.INFO: IMEI packet received {"connection_id":204075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":204075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:24:01] local.INFO: TCP Data received {"connection_id":207137,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:24:01] local.INFO: Processing buffer {"connection_id":207137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:24:01] local.INFO: IMEI packet received {"connection_id":207137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":207137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:24:02] local.INFO: TCP Data received {"connection_id":207137,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:24:02] local.INFO: Processing buffer {"connection_id":207137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:24:02] local.INFO: Packet analysis {"connection_id":207137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:24:02] local.INFO: Extracted packet for processing {"connection_id":207137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:24:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535390208001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:24:02] 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-10-05 04:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791154169000,"timestamp_ms":1791154169000,"timestamp_seconds":1791154169,"priority":1,"record_length":96,"hex_timestamp":"000001a1091ba4a8"} 
[2026-10-05 04:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:24: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-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:24:02] 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-10-05 04: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-10-05 04:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:24: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-10-05 04:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535390208001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535390208001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:24:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:24:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535390208001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":207137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:24:02] local.INFO: GPS data processed {"connection_id":207137,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:24:02] local.INFO: Acknowledgment sent {"connection_id":207137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:24:05] local.INFO: TCP Data received {"connection_id":204075,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:24:05] local.INFO: Processing buffer {"connection_id":204075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:24:05] local.INFO: IMEI packet received {"connection_id":204075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":204075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:24:06] local.INFO: TCP Data received {"connection_id":204075,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:24:06] local.INFO: Processing buffer {"connection_id":204075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091b6240012d7c2ac005dac8a0000700bf23..."} 
[2026-10-05 04:24:06] local.INFO: Packet analysis {"connection_id":204075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:24:06] local.INFO: Extracted packet for processing {"connection_id":204075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:24:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":35,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535385856001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791154152000,"timestamp_ms":1791154152000,"timestamp_seconds":1791154152,"priority":1,"record_length":96,"hex_timestamp":"000001a1091b6240"} 
[2026-10-05 04:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:24:06] 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-10-05 04: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-10-05 04:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535385856001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535385856001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:24:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:24:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535385856001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":204075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965239,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:24:06] local.INFO: GPS data processed {"connection_id":204075,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:24:06] local.INFO: Acknowledgment sent {"connection_id":204075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:24:33] local.INFO: TCP Data received {"connection_id":207137,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:24:33] local.INFO: Processing buffer {"connection_id":207137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:24:33] local.INFO: Packet analysis {"connection_id":207137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:24:33] local.INFO: Extracted packet for processing {"connection_id":207137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535390208001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:24: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-10-05 04:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791154169000,"timestamp_ms":1791154169000,"timestamp_seconds":1791154169,"priority":1,"record_length":96,"hex_timestamp":"000001a1091ba4a8"} 
[2026-10-05 04:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:24:33] 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-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:24:33] 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-10-05 04: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-10-05 04:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:24: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-10-05 04:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535390208001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535390208001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:24:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:24:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535390208001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":207137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:24:33] local.INFO: GPS data processed {"connection_id":207137,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:24:33] local.INFO: Acknowledgment sent {"connection_id":207137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:24:37] local.INFO: TCP Data received {"connection_id":204075,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:24:37] local.INFO: Processing buffer {"connection_id":204075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:24:37] local.INFO: Packet analysis {"connection_id":204075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091f"} 
[2026-10-05 04:24:37] local.INFO: Extracted packet for processing {"connection_id":204075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091f"} 
[2026-10-05 04:24:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535462912001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791154453000,"timestamp_ms":1791154453000,"timestamp_seconds":1791154453,"priority":1,"record_length":96,"hex_timestamp":"000001a1091ffa08"} 
[2026-10-05 04:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:24:37] 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-10-05 04:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535462912001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535462912001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:24:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:24:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535462912001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":204075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:24:37] local.INFO: GPS data processed {"connection_id":204075,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:24:37] local.INFO: Acknowledgment sent {"connection_id":204075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:24:56] local.INFO: TCP Data received {"connection_id":207138,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:24:56] local.INFO: Processing buffer {"connection_id":207138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:24:56] local.INFO: IMEI packet received {"connection_id":207138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":207138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:25:00] local.INFO: TCP Data received {"connection_id":204076,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:25:00] local.INFO: Processing buffer {"connection_id":204076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:25:00] local.INFO: IMEI packet received {"connection_id":204076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":204076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:25:01] local.INFO: TCP Data received {"connection_id":207138,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:25:01] local.INFO: Processing buffer {"connection_id":207138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:25:01] local.INFO: IMEI packet received {"connection_id":207138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":207138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:25:02] local.INFO: TCP Data received {"connection_id":207138,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:25:02] local.INFO: Processing buffer {"connection_id":207138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091ba4a8012d7f91c005afd9f0000a010126..."} 
[2026-10-05 04:25:02] local.INFO: Packet analysis {"connection_id":207138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:25:02] local.INFO: Extracted packet for processing {"connection_id":207138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091b"} 
[2026-10-05 04:25:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535390208001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:25:02] 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-10-05 04:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791154169000,"timestamp_ms":1791154169000,"timestamp_seconds":1791154169,"priority":1,"record_length":96,"hex_timestamp":"000001a1091ba4a8"} 
[2026-10-05 04:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:25: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-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:25:02] 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-10-05 04: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-10-05 04:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535390208001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535390208001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:25:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:25:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535390208001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":207138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:25:02] local.INFO: GPS data processed {"connection_id":207138,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:25:02] local.INFO: Acknowledgment sent {"connection_id":207138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:25:05] local.INFO: TCP Data received {"connection_id":204076,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:25:05] local.INFO: Processing buffer {"connection_id":204076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:25:05] local.INFO: IMEI packet received {"connection_id":204076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":204076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:25:06] local.INFO: TCP Data received {"connection_id":204076,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:25:06] local.INFO: Processing buffer {"connection_id":204076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:25:06] local.INFO: Packet analysis {"connection_id":204076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091f"} 
[2026-10-05 04:25:06] local.INFO: Extracted packet for processing {"connection_id":204076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091f"} 
[2026-10-05 04:25:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535462912001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791154453000,"timestamp_ms":1791154453000,"timestamp_seconds":1791154453,"priority":1,"record_length":96,"hex_timestamp":"000001a1091ffa08"} 
[2026-10-05 04:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:25:06] 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-10-05 04:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535462912001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535462912001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:25:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:25:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535462912001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":204076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:25:06] local.INFO: GPS data processed {"connection_id":204076,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:25:06] local.INFO: Acknowledgment sent {"connection_id":204076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:25:08] local.INFO: TCP Data received {"connection_id":204150,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:25:08] local.INFO: Processing buffer {"connection_id":204150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:25:08] local.INFO: IMEI packet received {"connection_id":204150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 04:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":204150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:25:32] local.INFO: TCP Data received {"connection_id":207138,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:25:32] local.INFO: Processing buffer {"connection_id":207138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:25:32] local.INFO: Packet analysis {"connection_id":207138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10920"} 
[2026-10-05 04:25:32] local.INFO: Extracted packet for processing {"connection_id":207138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10920"} 
[2026-10-05 04:25:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535467264001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04: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-10-05 04:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791154470000,"timestamp_ms":1791154470000,"timestamp_seconds":1791154470,"priority":1,"record_length":96,"hex_timestamp":"000001a109203c70"} 
[2026-10-05 04:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:25:32] 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-10-05 04:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 04:25:32] 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-10-05 04:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535467264001,"66":25593,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535467264001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:25:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 04:25:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535467264001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":207138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:25:32] local.INFO: GPS data processed {"connection_id":207138,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:25:32] local.INFO: Acknowledgment sent {"connection_id":207138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:25:37] local.INFO: TCP Data received {"connection_id":204076,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:25:37] local.INFO: Processing buffer {"connection_id":204076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:25:37] local.INFO: Packet analysis {"connection_id":204076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091f"} 
[2026-10-05 04:25:37] local.INFO: Extracted packet for processing {"connection_id":204076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091f"} 
[2026-10-05 04:25:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535462912001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791154453000,"timestamp_ms":1791154453000,"timestamp_seconds":1791154453,"priority":1,"record_length":96,"hex_timestamp":"000001a1091ffa08"} 
[2026-10-05 04:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:25:37] 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-10-05 04:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535462912001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535462912001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:25:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:25:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535462912001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":204076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965245,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:25:37] local.INFO: GPS data processed {"connection_id":204076,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:25:37] local.INFO: Acknowledgment sent {"connection_id":204076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:25:49] local.INFO: TCP Data received {"connection_id":205592,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205592,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:25:49] local.INFO: Processing buffer {"connection_id":205592,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:25:49] local.INFO: IMEI packet received {"connection_id":205592,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 04:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":205592,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:25:56] local.INFO: TCP Data received {"connection_id":205593,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:25:56] local.INFO: Processing buffer {"connection_id":205593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:25:56] local.INFO: IMEI packet received {"connection_id":205593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":205593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:26:00] local.INFO: TCP Data received {"connection_id":207139,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:26:00] local.INFO: Processing buffer {"connection_id":207139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:26:00] local.INFO: IMEI packet received {"connection_id":207139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":207139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:26:01] local.INFO: TCP Data received {"connection_id":205593,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:26:01] local.INFO: Processing buffer {"connection_id":205593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:26:01] local.INFO: IMEI packet received {"connection_id":205593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":205593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:26:02] local.INFO: TCP Data received {"connection_id":205593,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:26:02] local.INFO: Processing buffer {"connection_id":205593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:26:02] local.INFO: Packet analysis {"connection_id":205593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10920"} 
[2026-10-05 04:26:02] local.INFO: Extracted packet for processing {"connection_id":205593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10920"} 
[2026-10-05 04:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535467264001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:26: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-10-05 04:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791154470000,"timestamp_ms":1791154470000,"timestamp_seconds":1791154470,"priority":1,"record_length":96,"hex_timestamp":"000001a109203c70"} 
[2026-10-05 04:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:26: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-10-05 04: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 04:26:02] 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-10-05 04: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-10-05 04:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535467264001,"66":25593,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535467264001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:26:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 04:26:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535467264001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":205593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:26:02] local.INFO: GPS data processed {"connection_id":205593,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:26:02] local.INFO: Acknowledgment sent {"connection_id":205593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:26:05] local.INFO: TCP Data received {"connection_id":207139,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:26:05] local.INFO: Processing buffer {"connection_id":207139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:26:05] local.INFO: IMEI packet received {"connection_id":207139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":207139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:26:06] local.INFO: TCP Data received {"connection_id":207139,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:26:06] local.INFO: Processing buffer {"connection_id":207139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:26:06] local.INFO: Packet analysis {"connection_id":207139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091f"} 
[2026-10-05 04:26:06] local.INFO: Extracted packet for processing {"connection_id":207139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091f"} 
[2026-10-05 04:26:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535462912001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791154453000,"timestamp_ms":1791154453000,"timestamp_seconds":1791154453,"priority":1,"record_length":96,"hex_timestamp":"000001a1091ffa08"} 
[2026-10-05 04:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:26:06] 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-10-05 04:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535462912001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535462912001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:26:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:26:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535462912001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":207139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:26:06] local.INFO: GPS data processed {"connection_id":207139,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:26:06] local.INFO: Acknowledgment sent {"connection_id":207139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:26:10] local.INFO: TCP Data received {"connection_id":207139,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:26:10] local.INFO: Processing buffer {"connection_id":207139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:26:10] local.INFO: Packet analysis {"connection_id":207139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091f"} 
[2026-10-05 04:26:10] local.INFO: Extracted packet for processing {"connection_id":207139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091f"} 
[2026-10-05 04:26:10] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535462912001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791154453000,"timestamp_ms":1791154453000,"timestamp_seconds":1791154453,"priority":1,"record_length":96,"hex_timestamp":"000001a1091ffa08"} 
[2026-10-05 04:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:26:10] 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-10-05 04: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-10-05 04:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535462912001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535462912001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:26:10] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535462912001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":207139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:26:11] local.INFO: GPS data processed {"connection_id":207139,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:26:11] local.INFO: Acknowledgment sent {"connection_id":207139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:26:33] local.INFO: TCP Data received {"connection_id":205593,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:26:33] local.INFO: Processing buffer {"connection_id":205593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:26:33] local.INFO: Packet analysis {"connection_id":205593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10920"} 
[2026-10-05 04:26:33] local.INFO: Extracted packet for processing {"connection_id":205593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10920"} 
[2026-10-05 04:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535467264001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:26: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-10-05 04:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791154470000,"timestamp_ms":1791154470000,"timestamp_seconds":1791154470,"priority":1,"record_length":96,"hex_timestamp":"000001a109203c70"} 
[2026-10-05 04:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:26:33] 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-10-05 04: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 04:26:33] 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-10-05 04: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-10-05 04:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:26: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-10-05 04:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535467264001,"66":25593,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535467264001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:26:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 04:26:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535467264001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":205593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:26:33] local.INFO: GPS data processed {"connection_id":205593,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:26:33] local.INFO: Acknowledgment sent {"connection_id":205593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:26:42] local.INFO: TCP Data received {"connection_id":207139,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:26:42] local.INFO: Processing buffer {"connection_id":207139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:26:42] local.INFO: Packet analysis {"connection_id":207139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091f"} 
[2026-10-05 04:26:42] local.INFO: Extracted packet for processing {"connection_id":207139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091f"} 
[2026-10-05 04:26:42] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535462912001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791154453000,"timestamp_ms":1791154453000,"timestamp_seconds":1791154453,"priority":1,"record_length":96,"hex_timestamp":"000001a1091ffa08"} 
[2026-10-05 04:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:26:42] 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-10-05 04:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535462912001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535462912001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:26:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:26:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535462912001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":207139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965250,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:26:42] local.INFO: GPS data processed {"connection_id":207139,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:26:42] local.INFO: Acknowledgment sent {"connection_id":207139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:26:56] local.INFO: TCP Data received {"connection_id":204152,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:26:56] local.INFO: Processing buffer {"connection_id":204152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:26:56] local.INFO: IMEI packet received {"connection_id":204152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":204152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:27:00] local.INFO: TCP Data received {"connection_id":204153,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:27:00] local.INFO: Processing buffer {"connection_id":204153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:27:00] local.INFO: IMEI packet received {"connection_id":204153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":204153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:27:01] local.INFO: TCP Data received {"connection_id":204152,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:27:01] local.INFO: Processing buffer {"connection_id":204152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:27:01] local.INFO: IMEI packet received {"connection_id":204152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":204152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:27:02] local.INFO: TCP Data received {"connection_id":204152,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:27:02] local.INFO: Processing buffer {"connection_id":204152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:27:02] local.INFO: Packet analysis {"connection_id":204152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10920"} 
[2026-10-05 04:27:02] local.INFO: Extracted packet for processing {"connection_id":204152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10920"} 
[2026-10-05 04:27:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535467264001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:27: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-10-05 04:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791154470000,"timestamp_ms":1791154470000,"timestamp_seconds":1791154470,"priority":1,"record_length":96,"hex_timestamp":"000001a109203c70"} 
[2026-10-05 04:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:27: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-10-05 04: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 04:27:02] 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-10-05 04: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-10-05 04:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535467264001,"66":25593,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535467264001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:27:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 04:27:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535467264001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":204152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:27:02] local.INFO: GPS data processed {"connection_id":204152,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:27:02] local.INFO: Acknowledgment sent {"connection_id":204152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:27:05] local.INFO: TCP Data received {"connection_id":204153,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:27:05] local.INFO: Processing buffer {"connection_id":204153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:27:05] local.INFO: IMEI packet received {"connection_id":204153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":204153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:27:06] local.INFO: TCP Data received {"connection_id":204153,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:27:06] local.INFO: Processing buffer {"connection_id":204153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:27:06] local.INFO: Packet analysis {"connection_id":204153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091f"} 
[2026-10-05 04:27:06] local.INFO: Extracted packet for processing {"connection_id":204153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091f"} 
[2026-10-05 04:27:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535462912001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791154453000,"timestamp_ms":1791154453000,"timestamp_seconds":1791154453,"priority":1,"record_length":96,"hex_timestamp":"000001a1091ffa08"} 
[2026-10-05 04:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:27:06] 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-10-05 04:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535462912001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535462912001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:27:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:27:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535462912001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":204153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:27:06] local.INFO: GPS data processed {"connection_id":204153,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:27:06] local.INFO: Acknowledgment sent {"connection_id":204153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:27:33] local.INFO: TCP Data received {"connection_id":204152,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:27:33] local.INFO: Processing buffer {"connection_id":204152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:27:33] local.INFO: Packet analysis {"connection_id":204152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10920"} 
[2026-10-05 04:27:33] local.INFO: Extracted packet for processing {"connection_id":204152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10920"} 
[2026-10-05 04:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:27: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-10-05 04:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535467264001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:27: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-10-05 04:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791154470000,"timestamp_ms":1791154470000,"timestamp_seconds":1791154470,"priority":1,"record_length":96,"hex_timestamp":"000001a109203c70"} 
[2026-10-05 04:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:27:33] 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-10-05 04:27: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":216,"data_length":795,"current_offset":136} 
[2026-10-05 04:27:33] 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-10-05 04:27: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-10-05 04:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:27: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-10-05 04:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535467264001,"66":25593,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535467264001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:27:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 04:27:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535467264001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":204152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:27:33] local.INFO: GPS data processed {"connection_id":204152,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:27:33] local.INFO: Acknowledgment sent {"connection_id":204152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:27:37] local.INFO: TCP Data received {"connection_id":204153,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:27:37] local.INFO: Processing buffer {"connection_id":204153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:27:37] local.INFO: Packet analysis {"connection_id":204153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091f"} 
[2026-10-05 04:27:37] local.INFO: Extracted packet for processing {"connection_id":204153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091f"} 
[2026-10-05 04:27:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535462912001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791154453000,"timestamp_ms":1791154453000,"timestamp_seconds":1791154453,"priority":1,"record_length":96,"hex_timestamp":"000001a1091ffa08"} 
[2026-10-05 04:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:27:37] 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-10-05 04:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535462912001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535462912001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:27:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:27:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535462912001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":204153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965254,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:27:37] local.INFO: GPS data processed {"connection_id":204153,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:27:37] local.INFO: Acknowledgment sent {"connection_id":204153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:28:00] local.INFO: TCP Data received {"connection_id":204077,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:28:00] local.INFO: Processing buffer {"connection_id":204077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:28:00] local.INFO: IMEI packet received {"connection_id":204077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":204077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:28:01] local.INFO: TCP Data received {"connection_id":205595,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:28:01] local.INFO: Processing buffer {"connection_id":205595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:28:01] local.INFO: IMEI packet received {"connection_id":205595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":205595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:28:05] local.INFO: TCP Data received {"connection_id":204077,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:28:05] local.INFO: Processing buffer {"connection_id":204077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:28:05] local.INFO: IMEI packet received {"connection_id":204077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":204077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:28:06] local.INFO: TCP Data received {"connection_id":204077,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:28:06] local.INFO: Processing buffer {"connection_id":204077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:28:06] local.INFO: Packet analysis {"connection_id":204077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091f"} 
[2026-10-05 04:28:06] local.INFO: Extracted packet for processing {"connection_id":204077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091f"} 
[2026-10-05 04:28:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535462912001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791154453000,"timestamp_ms":1791154453000,"timestamp_seconds":1791154453,"priority":1,"record_length":96,"hex_timestamp":"000001a1091ffa08"} 
[2026-10-05 04:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:28:06] 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-10-05 04:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535462912001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535462912001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:28:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:28:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535462912001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":204077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:28:06] local.INFO: GPS data processed {"connection_id":204077,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:28:06] local.INFO: Acknowledgment sent {"connection_id":204077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:28:06] local.INFO: TCP Data received {"connection_id":205595,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:28:06] local.INFO: Processing buffer {"connection_id":205595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:28:06] local.INFO: IMEI packet received {"connection_id":205595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":205595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:28:07] local.INFO: TCP Data received {"connection_id":205595,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:28:07] local.INFO: Processing buffer {"connection_id":205595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:28:07] local.INFO: Packet analysis {"connection_id":205595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10920"} 
[2026-10-05 04:28:07] local.INFO: Extracted packet for processing {"connection_id":205595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10920"} 
[2026-10-05 04:28:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535467264001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:28: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-10-05 04:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791154470000,"timestamp_ms":1791154470000,"timestamp_seconds":1791154470,"priority":1,"record_length":96,"hex_timestamp":"000001a109203c70"} 
[2026-10-05 04:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:28: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-10-05 04: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 04:28:07] 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-10-05 04: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-10-05 04:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:28: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-10-05 04:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535467264001,"66":25593,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535467264001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:28:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 04:28:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535467264001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":205595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:28:07] local.INFO: GPS data processed {"connection_id":205595,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:28:07] local.INFO: Acknowledgment sent {"connection_id":205595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:28:11] local.INFO: TCP Data received {"connection_id":205595,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:28:11] local.INFO: Processing buffer {"connection_id":205595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:28:11] local.INFO: Packet analysis {"connection_id":205595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10920"} 
[2026-10-05 04:28:11] local.INFO: Extracted packet for processing {"connection_id":205595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10920"} 
[2026-10-05 04:28:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535467264001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791154470000,"timestamp_ms":1791154470000,"timestamp_seconds":1791154470,"priority":1,"record_length":96,"hex_timestamp":"000001a109203c70"} 
[2026-10-05 04:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:28:11] 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-10-05 04:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 04:28:11] 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-10-05 04:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535467264001,"66":25593,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535467264001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:28:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 04:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535467264001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":205595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:28:11] local.INFO: GPS data processed {"connection_id":205595,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:28:11] local.INFO: Acknowledgment sent {"connection_id":205595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:28:37] local.INFO: TCP Data received {"connection_id":204077,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:28:37] local.INFO: Processing buffer {"connection_id":204077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:28:37] local.INFO: Packet analysis {"connection_id":204077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091f"} 
[2026-10-05 04:28:37] local.INFO: Extracted packet for processing {"connection_id":204077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091f"} 
[2026-10-05 04:28:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535462912001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791154453000,"timestamp_ms":1791154453000,"timestamp_seconds":1791154453,"priority":1,"record_length":96,"hex_timestamp":"000001a1091ffa08"} 
[2026-10-05 04:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:28:37] 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-10-05 04:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535462912001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535462912001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:28:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:28:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535462912001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":204077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:28:37] local.INFO: GPS data processed {"connection_id":204077,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:28:37] local.INFO: Acknowledgment sent {"connection_id":204077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:28:56] local.INFO: TCP Data received {"connection_id":207140,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:28:56] local.INFO: Processing buffer {"connection_id":207140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:28:56] local.INFO: IMEI packet received {"connection_id":207140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":207140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:29:00] local.INFO: TCP Data received {"connection_id":205597,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:29:00] local.INFO: Processing buffer {"connection_id":205597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:29:00] local.INFO: IMEI packet received {"connection_id":205597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":205597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:29:01] local.INFO: TCP Data received {"connection_id":207140,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:29:01] local.INFO: Processing buffer {"connection_id":207140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:29:01] local.INFO: IMEI packet received {"connection_id":207140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":207140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:29:02] local.INFO: TCP Data received {"connection_id":207140,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:29:02] local.INFO: Processing buffer {"connection_id":207140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:29:02] local.INFO: Packet analysis {"connection_id":207140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10920"} 
[2026-10-05 04:29:02] local.INFO: Extracted packet for processing {"connection_id":207140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10920"} 
[2026-10-05 04:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535467264001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:29: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-10-05 04:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791154470000,"timestamp_ms":1791154470000,"timestamp_seconds":1791154470,"priority":1,"record_length":96,"hex_timestamp":"000001a109203c70"} 
[2026-10-05 04:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:29: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-10-05 04: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 04:29:02] 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-10-05 04: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-10-05 04:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535467264001,"66":25593,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535467264001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:29:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 04:29:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535467264001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":207140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:29:02] local.INFO: GPS data processed {"connection_id":207140,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:29:02] local.INFO: Acknowledgment sent {"connection_id":207140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:29:05] local.INFO: TCP Data received {"connection_id":205597,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:29:05] local.INFO: Processing buffer {"connection_id":205597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:29:05] local.INFO: IMEI packet received {"connection_id":205597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":205597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:29:06] local.INFO: TCP Data received {"connection_id":205597,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:29:06] local.INFO: Processing buffer {"connection_id":205597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091ffa08012d7c2ac005dac8a0000700bf24..."} 
[2026-10-05 04:29:06] local.INFO: Packet analysis {"connection_id":205597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1091f"} 
[2026-10-05 04:29:06] local.INFO: Extracted packet for processing {"connection_id":205597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1091f"} 
[2026-10-05 04:29:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535462912001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791154453000,"timestamp_ms":1791154453000,"timestamp_seconds":1791154453,"priority":1,"record_length":96,"hex_timestamp":"000001a1091ffa08"} 
[2026-10-05 04:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:29:06] 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-10-05 04:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535462912001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535462912001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:29:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:29:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535462912001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":205597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:29:06] local.INFO: GPS data processed {"connection_id":205597,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:29:06] local.INFO: Acknowledgment sent {"connection_id":205597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:29:33] local.INFO: TCP Data received {"connection_id":207140,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:29:33] local.INFO: Processing buffer {"connection_id":207140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:29:33] local.INFO: Packet analysis {"connection_id":207140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10920"} 
[2026-10-05 04:29:33] local.INFO: Extracted packet for processing {"connection_id":207140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10920"} 
[2026-10-05 04:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535467264001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:29: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-10-05 04:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791154470000,"timestamp_ms":1791154470000,"timestamp_seconds":1791154470,"priority":1,"record_length":96,"hex_timestamp":"000001a109203c70"} 
[2026-10-05 04:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:29:33] 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-10-05 04: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 04:29:33] 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-10-05 04: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-10-05 04:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:29: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-10-05 04:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535467264001,"66":25593,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535467264001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:29:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 04:29:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535467264001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":207140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:29:33] local.INFO: GPS data processed {"connection_id":207140,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:29:33] local.INFO: Acknowledgment sent {"connection_id":207140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:29:37] local.INFO: TCP Data received {"connection_id":205597,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:29:37] local.INFO: Processing buffer {"connection_id":205597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:29:37] local.INFO: Packet analysis {"connection_id":205597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:29:37] local.INFO: Extracted packet for processing {"connection_id":205597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:29:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535539968001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791154754000,"timestamp_ms":1791154754000,"timestamp_seconds":1791154754,"priority":1,"record_length":96,"hex_timestamp":"000001a1092491d0"} 
[2026-10-05 04:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:29:37] 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-10-05 04:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535539968001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535539968001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:29:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:29:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535539968001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":205597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:29:37] local.INFO: GPS data processed {"connection_id":205597,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:29:37] local.INFO: Acknowledgment sent {"connection_id":205597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:29:56] local.INFO: TCP Data received {"connection_id":207141,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:29:56] local.INFO: Processing buffer {"connection_id":207141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:29:56] local.INFO: IMEI packet received {"connection_id":207141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":207141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:30:01] local.INFO: TCP Data received {"connection_id":207141,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:30:01] local.INFO: Processing buffer {"connection_id":207141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:30:01] local.INFO: IMEI packet received {"connection_id":207141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":207141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:30:02] local.INFO: TCP Data received {"connection_id":207141,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:30:02] local.INFO: Processing buffer {"connection_id":207141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109203c70012d7f91c005afd9f0000c010122..."} 
[2026-10-05 04:30:02] local.INFO: Packet analysis {"connection_id":207141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10920"} 
[2026-10-05 04:30:02] local.INFO: Extracted packet for processing {"connection_id":207141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10920"} 
[2026-10-05 04:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535467264001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:30: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-10-05 04:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791154470000,"timestamp_ms":1791154470000,"timestamp_seconds":1791154470,"priority":1,"record_length":96,"hex_timestamp":"000001a109203c70"} 
[2026-10-05 04:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:30: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-10-05 04: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 04:30:02] 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-10-05 04: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-10-05 04:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04: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-10-05 04:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535467264001,"66":25593,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535467264001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:30:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 04:30:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535467264001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":207141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:30:02] local.INFO: GPS data processed {"connection_id":207141,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:30:02] local.INFO: Acknowledgment sent {"connection_id":207141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:30:05] local.INFO: TCP Data received {"connection_id":204154,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:30:05] local.INFO: Processing buffer {"connection_id":204154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:30:05] local.INFO: IMEI packet received {"connection_id":204154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":204154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:30:10] local.INFO: TCP Data received {"connection_id":204154,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:30:10] local.INFO: Processing buffer {"connection_id":204154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:30:10] local.INFO: IMEI packet received {"connection_id":204154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":204154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:30:11] local.INFO: TCP Data received {"connection_id":204154,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:30:11] local.INFO: Processing buffer {"connection_id":204154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:30:11] local.INFO: Packet analysis {"connection_id":204154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:30:11] local.INFO: Extracted packet for processing {"connection_id":204154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:30:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:30: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-10-05 04:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535539968001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791154754000,"timestamp_ms":1791154754000,"timestamp_seconds":1791154754,"priority":1,"record_length":96,"hex_timestamp":"000001a1092491d0"} 
[2026-10-05 04:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:30:11] 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-10-05 04:30: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-10-05 04:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:30:11] 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-10-05 04:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535539968001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535539968001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:30:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535539968001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":204154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:30:11] local.INFO: GPS data processed {"connection_id":204154,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:30:11] local.INFO: Acknowledgment sent {"connection_id":204154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:30:32] local.INFO: TCP Data received {"connection_id":207141,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:30:32] local.INFO: Processing buffer {"connection_id":207141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:30:32] local.INFO: Packet analysis {"connection_id":207141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:30:32] local.INFO: Extracted packet for processing {"connection_id":207141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:30:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":15,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535544320001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:30: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-10-05 04:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791154771000,"timestamp_ms":1791154771000,"timestamp_seconds":1791154771,"priority":1,"record_length":96,"hex_timestamp":"000001a10924d438"} 
[2026-10-05 04:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:30:32] 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-10-05 04: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-10-05 04: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-10-05 04: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-10-05 04:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:30: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-10-05 04:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535544320001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535544320001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:30:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:30:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535544320001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":207141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:30:32] local.INFO: GPS data processed {"connection_id":207141,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:30:32] local.INFO: Acknowledgment sent {"connection_id":207141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:30:42] local.INFO: TCP Data received {"connection_id":204154,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:30:42] local.INFO: Processing buffer {"connection_id":204154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:30:42] local.INFO: Packet analysis {"connection_id":204154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:30:42] local.INFO: Extracted packet for processing {"connection_id":204154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:30:42] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535539968001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791154754000,"timestamp_ms":1791154754000,"timestamp_seconds":1791154754,"priority":1,"record_length":96,"hex_timestamp":"000001a1092491d0"} 
[2026-10-05 04:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:30:42] 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-10-05 04:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:30:42] 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-10-05 04:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535539968001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535539968001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:30:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:30:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535539968001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":204154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:30:42] local.INFO: GPS data processed {"connection_id":204154,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:30:42] local.INFO: Acknowledgment sent {"connection_id":204154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:30:56] local.INFO: TCP Data received {"connection_id":207142,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:30:56] local.INFO: Processing buffer {"connection_id":207142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:30:56] local.INFO: IMEI packet received {"connection_id":207142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":207142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:31:01] local.INFO: TCP Data received {"connection_id":207142,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:31:01] local.INFO: Processing buffer {"connection_id":207142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:31:01] local.INFO: IMEI packet received {"connection_id":207142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":207142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:31:02] local.INFO: TCP Data received {"connection_id":207142,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:31:02] local.INFO: Processing buffer {"connection_id":207142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:31:02] local.INFO: Packet analysis {"connection_id":207142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:31:02] local.INFO: Extracted packet for processing {"connection_id":207142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:31:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":15,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535544320001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:31:02] 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-10-05 04:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791154771000,"timestamp_ms":1791154771000,"timestamp_seconds":1791154771,"priority":1,"record_length":96,"hex_timestamp":"000001a10924d438"} 
[2026-10-05 04:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:31: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-10-05 04: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 04:31: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-10-05 04: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-10-05 04:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:31:02] 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-10-05 04:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535544320001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 04:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535544320001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:31:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:31:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535544320001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":207142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:31:02] local.INFO: GPS data processed {"connection_id":207142,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:31:02] local.INFO: Acknowledgment sent {"connection_id":207142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:31:05] local.INFO: TCP Data received {"connection_id":204155,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:31:05] local.INFO: Processing buffer {"connection_id":204155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:31:05] local.INFO: IMEI packet received {"connection_id":204155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":204155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:31:08] local.INFO: TCP Data received {"connection_id":204079,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204079,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:31:08] local.INFO: Processing buffer {"connection_id":204079,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:31:08] local.INFO: IMEI packet received {"connection_id":204079,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 04:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":204079,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:31:10] local.INFO: TCP Data received {"connection_id":204155,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:31:10] local.INFO: Processing buffer {"connection_id":204155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:31:10] local.INFO: IMEI packet received {"connection_id":204155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":204155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:31:11] local.INFO: TCP Data received {"connection_id":204155,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:31:11] local.INFO: Processing buffer {"connection_id":204155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:31:11] local.INFO: Packet analysis {"connection_id":204155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:31:11] local.INFO: Extracted packet for processing {"connection_id":204155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:31:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535539968001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791154754000,"timestamp_ms":1791154754000,"timestamp_seconds":1791154754,"priority":1,"record_length":96,"hex_timestamp":"000001a1092491d0"} 
[2026-10-05 04:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:31:11] 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-10-05 04:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535539968001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535539968001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:31:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535539968001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":204155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:31:12] local.INFO: GPS data processed {"connection_id":204155,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:31:12] local.INFO: Acknowledgment sent {"connection_id":204155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:31:33] local.INFO: TCP Data received {"connection_id":207142,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:31:33] local.INFO: Processing buffer {"connection_id":207142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:31:33] local.INFO: Packet analysis {"connection_id":207142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:31:33] local.INFO: Extracted packet for processing {"connection_id":207142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:31:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":15,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535544320001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:31: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-10-05 04:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791154771000,"timestamp_ms":1791154771000,"timestamp_seconds":1791154771,"priority":1,"record_length":96,"hex_timestamp":"000001a10924d438"} 
[2026-10-05 04:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:31:33] 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-10-05 04: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 04:31: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-10-05 04: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-10-05 04:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:31:33] 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-10-05 04:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535544320001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 04:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535544320001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:31:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:31:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535544320001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":207142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:31:33] local.INFO: GPS data processed {"connection_id":207142,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:31:33] local.INFO: Acknowledgment sent {"connection_id":207142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:31:43] local.INFO: TCP Data received {"connection_id":204155,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:31:43] local.INFO: Processing buffer {"connection_id":204155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:31:43] local.INFO: Packet analysis {"connection_id":204155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:31:43] local.INFO: Extracted packet for processing {"connection_id":204155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:31:43] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:31: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-10-05 04:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535539968001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791154754000,"timestamp_ms":1791154754000,"timestamp_seconds":1791154754,"priority":1,"record_length":96,"hex_timestamp":"000001a1092491d0"} 
[2026-10-05 04:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:31: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":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:31:43] 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-10-05 04:31: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-10-05 04:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535539968001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535539968001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:31:43] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:31:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535539968001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":204155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:31:43] local.INFO: GPS data processed {"connection_id":204155,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:31:43] local.INFO: Acknowledgment sent {"connection_id":204155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:31:44] local.INFO: TCP Data received {"connection_id":204156,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204156,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:31:44] local.INFO: Processing buffer {"connection_id":204156,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:31:44] local.INFO: IMEI packet received {"connection_id":204156,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 04:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":204156,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:32:00] local.INFO: TCP Data received {"connection_id":204157,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:32:00] local.INFO: Processing buffer {"connection_id":204157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:32:00] local.INFO: IMEI packet received {"connection_id":204157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":204157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:32:01] local.INFO: TCP Data received {"connection_id":207143,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:32:01] local.INFO: Processing buffer {"connection_id":207143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:32:01] local.INFO: IMEI packet received {"connection_id":207143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":207143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:32:05] local.INFO: TCP Data received {"connection_id":204157,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:32:05] local.INFO: Processing buffer {"connection_id":204157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:32:05] local.INFO: IMEI packet received {"connection_id":204157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":204157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:32:06] local.INFO: TCP Data received {"connection_id":207143,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:32:06] local.INFO: Processing buffer {"connection_id":207143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:32:06] local.INFO: IMEI packet received {"connection_id":207143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":207143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:32:06] local.INFO: TCP Data received {"connection_id":204157,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:32:06] local.INFO: Processing buffer {"connection_id":204157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:32:06] local.INFO: Packet analysis {"connection_id":204157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:32:06] local.INFO: Extracted packet for processing {"connection_id":204157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:32:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535539968001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791154754000,"timestamp_ms":1791154754000,"timestamp_seconds":1791154754,"priority":1,"record_length":96,"hex_timestamp":"000001a1092491d0"} 
[2026-10-05 04:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:32:06] 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-10-05 04:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535539968001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535539968001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:32:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:32:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535539968001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":204157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:32:06] local.INFO: GPS data processed {"connection_id":204157,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:32:06] local.INFO: Acknowledgment sent {"connection_id":204157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:32:07] local.INFO: TCP Data received {"connection_id":207143,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:32:07] local.INFO: Processing buffer {"connection_id":207143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:32:07] local.INFO: Packet analysis {"connection_id":207143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:32:07] local.INFO: Extracted packet for processing {"connection_id":207143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:32:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":15,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535544320001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:32:07] 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-10-05 04:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791154771000,"timestamp_ms":1791154771000,"timestamp_seconds":1791154771,"priority":1,"record_length":96,"hex_timestamp":"000001a10924d438"} 
[2026-10-05 04:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:32: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-10-05 04: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 04:32: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-10-05 04: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-10-05 04:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535544320001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 04:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535544320001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:32:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:32:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535544320001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":207143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:32:07] local.INFO: GPS data processed {"connection_id":207143,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:32:07] local.INFO: Acknowledgment sent {"connection_id":207143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:32:11] local.INFO: TCP Data received {"connection_id":207143,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:32:11] local.INFO: Processing buffer {"connection_id":207143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:32:11] local.INFO: Packet analysis {"connection_id":207143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:32:11] local.INFO: Extracted packet for processing {"connection_id":207143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:32:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":15,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535544320001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:32:11] 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-10-05 04:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791154771000,"timestamp_ms":1791154771000,"timestamp_seconds":1791154771,"priority":1,"record_length":96,"hex_timestamp":"000001a10924d438"} 
[2026-10-05 04:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:32:11] 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-10-05 04:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 04:32:11] 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-10-05 04:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535544320001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 04:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535544320001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:32:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535544320001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":207143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:32:11] local.INFO: GPS data processed {"connection_id":207143,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:32:11] local.INFO: Acknowledgment sent {"connection_id":207143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:32:37] local.INFO: TCP Data received {"connection_id":204157,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:32:37] local.INFO: Processing buffer {"connection_id":204157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:32:37] local.INFO: Packet analysis {"connection_id":204157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:32:37] local.INFO: Extracted packet for processing {"connection_id":204157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:32:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535539968001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791154754000,"timestamp_ms":1791154754000,"timestamp_seconds":1791154754,"priority":1,"record_length":96,"hex_timestamp":"000001a1092491d0"} 
[2026-10-05 04:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:32:37] 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-10-05 04:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535539968001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535539968001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:32:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:32:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535539968001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":204157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965274,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:32:37] local.INFO: GPS data processed {"connection_id":204157,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:32:37] local.INFO: Acknowledgment sent {"connection_id":204157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:32:56] local.INFO: TCP Data received {"connection_id":207144,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:32:56] local.INFO: Processing buffer {"connection_id":207144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:32:56] local.INFO: IMEI packet received {"connection_id":207144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":207144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:33:00] local.INFO: TCP Data received {"connection_id":204080,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204080,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:33:00] local.INFO: Processing buffer {"connection_id":204080,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:33:00] local.INFO: IMEI packet received {"connection_id":204080,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":204080,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:33:01] local.INFO: TCP Data received {"connection_id":207144,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:33:01] local.INFO: Processing buffer {"connection_id":207144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:33:01] local.INFO: IMEI packet received {"connection_id":207144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":207144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:33:02] local.INFO: TCP Data received {"connection_id":207144,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:33:02] local.INFO: Processing buffer {"connection_id":207144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:33:02] local.INFO: Packet analysis {"connection_id":207144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:33:02] local.INFO: Extracted packet for processing {"connection_id":207144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":15,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535544320001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:33:02] 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-10-05 04:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791154771000,"timestamp_ms":1791154771000,"timestamp_seconds":1791154771,"priority":1,"record_length":96,"hex_timestamp":"000001a10924d438"} 
[2026-10-05 04:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:33: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-10-05 04: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 04:33: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-10-05 04: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-10-05 04:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:33:02] 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-10-05 04:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535544320001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 04:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535544320001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:33:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:33:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535544320001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":207144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:33:02] local.INFO: GPS data processed {"connection_id":207144,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:33:02] local.INFO: Acknowledgment sent {"connection_id":207144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:33:05] local.INFO: TCP Data received {"connection_id":204080,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204080,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:33:05] local.INFO: Processing buffer {"connection_id":204080,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:33:05] local.INFO: IMEI packet received {"connection_id":204080,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":204080,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:33:06] local.INFO: TCP Data received {"connection_id":204080,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:33:06] local.INFO: Processing buffer {"connection_id":204080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:33:06] local.INFO: Packet analysis {"connection_id":204080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:33:06] local.INFO: Extracted packet for processing {"connection_id":204080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:33:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535539968001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791154754000,"timestamp_ms":1791154754000,"timestamp_seconds":1791154754,"priority":1,"record_length":96,"hex_timestamp":"000001a1092491d0"} 
[2026-10-05 04:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:33:06] 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-10-05 04: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-10-05 04:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535539968001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535539968001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:33:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:33:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535539968001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":204080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:33:06] local.INFO: GPS data processed {"connection_id":204080,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:33:06] local.INFO: Acknowledgment sent {"connection_id":204080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:33:33] local.INFO: TCP Data received {"connection_id":207144,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:33:33] local.INFO: Processing buffer {"connection_id":207144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:33:33] local.INFO: Packet analysis {"connection_id":207144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:33:33] local.INFO: Extracted packet for processing {"connection_id":207144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:33:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":15,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535544320001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:33: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-10-05 04:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791154771000,"timestamp_ms":1791154771000,"timestamp_seconds":1791154771,"priority":1,"record_length":96,"hex_timestamp":"000001a10924d438"} 
[2026-10-05 04:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:33:33] 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-10-05 04: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 04:33: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-10-05 04: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-10-05 04:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:33:33] 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-10-05 04:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535544320001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 04:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535544320001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:33:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:33:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535544320001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":207144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:33:33] local.INFO: GPS data processed {"connection_id":207144,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:33:33] local.INFO: Acknowledgment sent {"connection_id":207144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:33:37] local.INFO: TCP Data received {"connection_id":204080,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:33:37] local.INFO: Processing buffer {"connection_id":204080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:33:37] local.INFO: Packet analysis {"connection_id":204080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:33:37] local.INFO: Extracted packet for processing {"connection_id":204080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:33:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535539968001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791154754000,"timestamp_ms":1791154754000,"timestamp_seconds":1791154754,"priority":1,"record_length":96,"hex_timestamp":"000001a1092491d0"} 
[2026-10-05 04:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:33:37] 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-10-05 04:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535539968001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535539968001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:33:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:33:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535539968001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":204080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965278,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:33:37] local.INFO: GPS data processed {"connection_id":204080,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:33:37] local.INFO: Acknowledgment sent {"connection_id":204080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:33:55] local.INFO: TCP Data received {"connection_id":205599,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:33:56] local.INFO: Processing buffer {"connection_id":205599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:33:56] local.INFO: IMEI packet received {"connection_id":205599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":205599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:34:00] local.INFO: TCP Data received {"connection_id":204081,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:34:00] local.INFO: Processing buffer {"connection_id":204081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:34:00] local.INFO: IMEI packet received {"connection_id":204081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":204081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:34:01] local.INFO: TCP Data received {"connection_id":205599,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:34:01] local.INFO: Processing buffer {"connection_id":205599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:34:01] local.INFO: IMEI packet received {"connection_id":205599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":205599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:34:02] local.INFO: TCP Data received {"connection_id":205599,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:34:02] local.INFO: Processing buffer {"connection_id":205599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:34:02] local.INFO: Packet analysis {"connection_id":205599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:34:02] local.INFO: Extracted packet for processing {"connection_id":205599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:34:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":15,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535544320001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:34:02] 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-10-05 04:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791154771000,"timestamp_ms":1791154771000,"timestamp_seconds":1791154771,"priority":1,"record_length":96,"hex_timestamp":"000001a10924d438"} 
[2026-10-05 04:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:34: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-10-05 04: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 04:34: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-10-05 04:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:34: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-10-05 04:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535544320001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535544320001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:34:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:34:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535544320001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":205599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:34:02] local.INFO: GPS data processed {"connection_id":205599,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:34:02] local.INFO: Acknowledgment sent {"connection_id":205599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:34:05] local.INFO: TCP Data received {"connection_id":204081,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:34:05] local.INFO: Processing buffer {"connection_id":204081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:34:05] local.INFO: IMEI packet received {"connection_id":204081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":204081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:34:06] local.INFO: TCP Data received {"connection_id":204081,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:34:06] local.INFO: Processing buffer {"connection_id":204081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092491d0012d7c2ac005dac8a0000700bf26..."} 
[2026-10-05 04:34:06] local.INFO: Packet analysis {"connection_id":204081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:34:06] local.INFO: Extracted packet for processing {"connection_id":204081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:34:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":38,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535539968001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791154754000,"timestamp_ms":1791154754000,"timestamp_seconds":1791154754,"priority":1,"record_length":96,"hex_timestamp":"000001a1092491d0"} 
[2026-10-05 04:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:34:06] 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-10-05 04:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535539968001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535539968001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:34:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:34:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535539968001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":204081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965280,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:34:06] local.INFO: GPS data processed {"connection_id":204081,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:34:06] local.INFO: Acknowledgment sent {"connection_id":204081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:34:33] local.INFO: TCP Data received {"connection_id":205599,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:34:33] local.INFO: Processing buffer {"connection_id":205599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:34:33] local.INFO: Packet analysis {"connection_id":205599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:34:33] local.INFO: Extracted packet for processing {"connection_id":205599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":15,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535544320001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:34: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-10-05 04:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791154771000,"timestamp_ms":1791154771000,"timestamp_seconds":1791154771,"priority":1,"record_length":96,"hex_timestamp":"000001a10924d438"} 
[2026-10-05 04:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:34:33] 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-10-05 04:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 04:34: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-10-05 04:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:34: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-10-05 04:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535544320001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535544320001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:34:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:34:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535544320001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":205599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:34:33] local.INFO: GPS data processed {"connection_id":205599,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:34:33] local.INFO: Acknowledgment sent {"connection_id":205599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:34:37] local.INFO: TCP Data received {"connection_id":204081,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:34:37] local.INFO: Processing buffer {"connection_id":204081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:34:37] local.INFO: Packet analysis {"connection_id":204081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:34:37] local.INFO: Extracted packet for processing {"connection_id":204081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:34:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535617024001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791155055000,"timestamp_ms":1791155055000,"timestamp_seconds":1791155055,"priority":1,"record_length":96,"hex_timestamp":"000001a109292998"} 
[2026-10-05 04:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:34:37] 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-10-05 04: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-10-05 04:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535617024001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535617024001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:34:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:34:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535617024001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":204081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:34:37] local.INFO: GPS data processed {"connection_id":204081,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:34:37] local.INFO: Acknowledgment sent {"connection_id":204081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:34:55] local.INFO: TCP Data received {"connection_id":207146,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:34:55] local.INFO: Processing buffer {"connection_id":207146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:34:55] local.INFO: IMEI packet received {"connection_id":207146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":207146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:35:00] local.INFO: TCP Data received {"connection_id":207147,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207147,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:35:00] local.INFO: Processing buffer {"connection_id":207147,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:35:00] local.INFO: IMEI packet received {"connection_id":207147,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":207147,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:35:01] local.INFO: TCP Data received {"connection_id":207146,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:35:01] local.INFO: Processing buffer {"connection_id":207146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:35:01] local.INFO: IMEI packet received {"connection_id":207146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":207146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:35:02] local.INFO: TCP Data received {"connection_id":207146,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:35:02] local.INFO: Processing buffer {"connection_id":207146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10924d438012d7f91c005afd9f0000f010123..."} 
[2026-10-05 04:35:02] local.INFO: Packet analysis {"connection_id":207146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:35:02] local.INFO: Extracted packet for processing {"connection_id":207146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10924"} 
[2026-10-05 04:35:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":15,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535544320001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:35:02] 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-10-05 04:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791154771000,"timestamp_ms":1791154771000,"timestamp_seconds":1791154771,"priority":1,"record_length":96,"hex_timestamp":"000001a10924d438"} 
[2026-10-05 04:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:35: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-10-05 04: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 04:35: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-10-05 04: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-10-05 04:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:35: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-10-05 04:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535544320001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535544320001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:35:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:35:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535544320001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":207146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:35:02] local.INFO: GPS data processed {"connection_id":207146,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:35:02] local.INFO: Acknowledgment sent {"connection_id":207146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:35:05] local.INFO: TCP Data received {"connection_id":207147,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207147,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:35:05] local.INFO: Processing buffer {"connection_id":207147,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:35:05] local.INFO: IMEI packet received {"connection_id":207147,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":207147,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:35:06] local.INFO: TCP Data received {"connection_id":207147,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:35:06] local.INFO: Processing buffer {"connection_id":207147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:35:06] local.INFO: Packet analysis {"connection_id":207147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:35:06] local.INFO: Extracted packet for processing {"connection_id":207147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:35:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535617024001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791155055000,"timestamp_ms":1791155055000,"timestamp_seconds":1791155055,"priority":1,"record_length":96,"hex_timestamp":"000001a109292998"} 
[2026-10-05 04:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:35:06] 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-10-05 04:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535617024001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535617024001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:35:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:35:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535617024001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":207147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965284,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:35:06] local.INFO: GPS data processed {"connection_id":207147,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:35:06] local.INFO: Acknowledgment sent {"connection_id":207147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:35:32] local.INFO: TCP Data received {"connection_id":207146,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:35:32] local.INFO: Processing buffer {"connection_id":207146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:35:32] local.INFO: Packet analysis {"connection_id":207146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:35:32] local.INFO: Extracted packet for processing {"connection_id":207146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:35:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":18,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:35: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-10-05 04:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535621376001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:35: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-10-05 04:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791155072000,"timestamp_ms":1791155072000,"timestamp_seconds":1791155072,"priority":1,"record_length":96,"hex_timestamp":"000001a109296c00"} 
[2026-10-05 04:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:35:32] 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-10-05 04:35: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-10-05 04:35: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-10-05 04:35: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-10-05 04:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:35: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-10-05 04:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535621376001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535621376001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:35:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:35:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535621376001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":207146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:35:32] local.INFO: GPS data processed {"connection_id":207146,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:35:32] local.INFO: Acknowledgment sent {"connection_id":207146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:35:37] local.INFO: TCP Data received {"connection_id":207147,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:35:37] local.INFO: Processing buffer {"connection_id":207147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:35:37] local.INFO: Packet analysis {"connection_id":207147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:35:37] local.INFO: Extracted packet for processing {"connection_id":207147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:35:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535617024001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791155055000,"timestamp_ms":1791155055000,"timestamp_seconds":1791155055,"priority":1,"record_length":96,"hex_timestamp":"000001a109292998"} 
[2026-10-05 04:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:35:37] 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-10-05 04:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535617024001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535617024001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:35:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:35:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535617024001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":207147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:35:37] local.INFO: GPS data processed {"connection_id":207147,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:35:37] local.INFO: Acknowledgment sent {"connection_id":207147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:35:55] local.INFO: TCP Data received {"connection_id":207148,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:35:55] local.INFO: Processing buffer {"connection_id":207148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:35:55] local.INFO: IMEI packet received {"connection_id":207148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":207148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:36:00] local.INFO: TCP Data received {"connection_id":204159,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:36:00] local.INFO: Processing buffer {"connection_id":204159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:36:00] local.INFO: IMEI packet received {"connection_id":204159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":204159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:36:01] local.INFO: TCP Data received {"connection_id":207148,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:36:01] local.INFO: Processing buffer {"connection_id":207148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:36:01] local.INFO: IMEI packet received {"connection_id":207148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":207148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:36:02] local.INFO: TCP Data received {"connection_id":207148,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:36:02] local.INFO: Processing buffer {"connection_id":207148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:36:02] local.INFO: Packet analysis {"connection_id":207148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:36:02] local.INFO: Extracted packet for processing {"connection_id":207148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:36:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":18,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535621376001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:36:02] 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-10-05 04:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791155072000,"timestamp_ms":1791155072000,"timestamp_seconds":1791155072,"priority":1,"record_length":96,"hex_timestamp":"000001a109296c00"} 
[2026-10-05 04:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:36: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-10-05 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 04:36: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-10-05 04: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-10-05 04:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:36: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-10-05 04:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535621376001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535621376001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:36:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:36:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535621376001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":207148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:36:02] local.INFO: GPS data processed {"connection_id":207148,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:36:02] local.INFO: Acknowledgment sent {"connection_id":207148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:36:05] local.INFO: TCP Data received {"connection_id":204159,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:36:05] local.INFO: Processing buffer {"connection_id":204159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:36:05] local.INFO: IMEI packet received {"connection_id":204159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":204159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:36:06] local.INFO: TCP Data received {"connection_id":204159,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:36:06] local.INFO: Processing buffer {"connection_id":204159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:36:06] local.INFO: Packet analysis {"connection_id":204159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:36:06] local.INFO: Extracted packet for processing {"connection_id":204159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 04:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535617024001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791155055000,"timestamp_ms":1791155055000,"timestamp_seconds":1791155055,"priority":1,"record_length":96,"hex_timestamp":"000001a109292998"} 
[2026-10-05 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-10-05 04:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:36:06] 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-10-05 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-10-05 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-10-05 04:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535617024001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535617024001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:36:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:36:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535617024001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":204159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:36:06] local.INFO: GPS data processed {"connection_id":204159,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:36:06] local.INFO: Acknowledgment sent {"connection_id":204159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:36:33] local.INFO: TCP Data received {"connection_id":207148,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:36:33] local.INFO: Processing buffer {"connection_id":207148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:36:33] local.INFO: Packet analysis {"connection_id":207148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:36:33] local.INFO: Extracted packet for processing {"connection_id":207148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":18,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535621376001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:36: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-10-05 04:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791155072000,"timestamp_ms":1791155072000,"timestamp_seconds":1791155072,"priority":1,"record_length":96,"hex_timestamp":"000001a109296c00"} 
[2026-10-05 04:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:36:33] 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-10-05 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 04:36:33] 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-10-05 04: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-10-05 04:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:36: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-10-05 04:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535621376001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535621376001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:36:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:36:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535621376001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":207148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:36:33] local.INFO: GPS data processed {"connection_id":207148,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:36:33] local.INFO: Acknowledgment sent {"connection_id":207148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:36:37] local.INFO: TCP Data received {"connection_id":204159,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:36:37] local.INFO: Processing buffer {"connection_id":204159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:36:37] local.INFO: Packet analysis {"connection_id":204159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:36:37] local.INFO: Extracted packet for processing {"connection_id":204159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:36:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535617024001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791155055000,"timestamp_ms":1791155055000,"timestamp_seconds":1791155055,"priority":1,"record_length":96,"hex_timestamp":"000001a109292998"} 
[2026-10-05 04:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:36:37] 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-10-05 04:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535617024001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535617024001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:36:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:36:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535617024001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":204159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:36:37] local.INFO: GPS data processed {"connection_id":204159,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:36:37] local.INFO: Acknowledgment sent {"connection_id":204159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:37:00] local.INFO: TCP Data received {"connection_id":205601,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:37:00] local.INFO: Processing buffer {"connection_id":205601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:37:00] local.INFO: IMEI packet received {"connection_id":205601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":205601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:37:01] local.INFO: TCP Data received {"connection_id":204160,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:37:01] local.INFO: Processing buffer {"connection_id":204160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:37:01] local.INFO: IMEI packet received {"connection_id":204160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":204160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:37:05] local.INFO: TCP Data received {"connection_id":205601,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:37:05] local.INFO: Processing buffer {"connection_id":205601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:37:05] local.INFO: IMEI packet received {"connection_id":205601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":205601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:37:06] local.INFO: TCP Data received {"connection_id":204160,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:37:06] local.INFO: Processing buffer {"connection_id":204160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:37:06] local.INFO: IMEI packet received {"connection_id":204160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":204160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:37:06] local.INFO: TCP Data received {"connection_id":205601,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:37:06] local.INFO: Processing buffer {"connection_id":205601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:37:06] local.INFO: Packet analysis {"connection_id":205601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:37:06] local.INFO: Extracted packet for processing {"connection_id":205601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:37:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535617024001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791155055000,"timestamp_ms":1791155055000,"timestamp_seconds":1791155055,"priority":1,"record_length":96,"hex_timestamp":"000001a109292998"} 
[2026-10-05 04:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:37:06] 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-10-05 04:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535617024001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535617024001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:37:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:37:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535617024001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":205601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:37:06] local.INFO: GPS data processed {"connection_id":205601,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:37:06] local.INFO: Acknowledgment sent {"connection_id":205601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:37:07] local.INFO: TCP Data received {"connection_id":204160,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:37:07] local.INFO: Processing buffer {"connection_id":204160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:37:07] local.INFO: Packet analysis {"connection_id":204160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:37:07] local.INFO: Extracted packet for processing {"connection_id":204160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:37:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":18,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535621376001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:37:07] 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-10-05 04:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791155072000,"timestamp_ms":1791155072000,"timestamp_seconds":1791155072,"priority":1,"record_length":96,"hex_timestamp":"000001a109296c00"} 
[2026-10-05 04:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:37: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-10-05 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 04:37:07] 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-10-05 04: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-10-05 04:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:37:07] 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-10-05 04:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535621376001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535621376001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:37:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:37:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535621376001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":204160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:37:07] local.INFO: GPS data processed {"connection_id":204160,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:37:07] local.INFO: Acknowledgment sent {"connection_id":204160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:37:11] local.INFO: TCP Data received {"connection_id":204160,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:37:11] local.INFO: Processing buffer {"connection_id":204160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:37:11] local.INFO: Packet analysis {"connection_id":204160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:37:11] local.INFO: Extracted packet for processing {"connection_id":204160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:37:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":18,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535621376001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:37:11] 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-10-05 04:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791155072000,"timestamp_ms":1791155072000,"timestamp_seconds":1791155072,"priority":1,"record_length":96,"hex_timestamp":"000001a109296c00"} 
[2026-10-05 04:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:37:11] 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-10-05 04:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 04:37:11] 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-10-05 04:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535621376001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535621376001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:37:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535621376001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":204160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:37:11] local.INFO: GPS data processed {"connection_id":204160,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:37:11] local.INFO: Acknowledgment sent {"connection_id":204160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:37:13] local.INFO: TCP Data received {"connection_id":207149,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207149,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:37:13] local.INFO: Processing buffer {"connection_id":207149,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:37:13] local.INFO: IMEI packet received {"connection_id":207149,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 04:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":207149,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:37:37] local.INFO: TCP Data received {"connection_id":205601,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:37:37] local.INFO: Processing buffer {"connection_id":205601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:37:37] local.INFO: Packet analysis {"connection_id":205601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:37:37] local.INFO: Extracted packet for processing {"connection_id":205601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:37:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535617024001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791155055000,"timestamp_ms":1791155055000,"timestamp_seconds":1791155055,"priority":1,"record_length":96,"hex_timestamp":"000001a109292998"} 
[2026-10-05 04:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:37:37] 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-10-05 04:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535617024001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535617024001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:37:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:37:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535617024001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":205601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:37:37] local.INFO: GPS data processed {"connection_id":205601,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:37:37] local.INFO: Acknowledgment sent {"connection_id":205601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:37:43] local.INFO: TCP Data received {"connection_id":207150,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:37:43] local.INFO: Processing buffer {"connection_id":207150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:37:43] local.INFO: IMEI packet received {"connection_id":207150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 04:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":207150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:37:56] local.INFO: TCP Data received {"connection_id":207151,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:37:56] local.INFO: Processing buffer {"connection_id":207151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:37:56] local.INFO: IMEI packet received {"connection_id":207151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":207151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:38:01] local.INFO: TCP Data received {"connection_id":207151,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:38:01] local.INFO: Processing buffer {"connection_id":207151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:38:01] local.INFO: IMEI packet received {"connection_id":207151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":207151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:38:02] local.INFO: TCP Data received {"connection_id":207151,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:38:02] local.INFO: Processing buffer {"connection_id":207151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:38:02] local.INFO: Packet analysis {"connection_id":207151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:38:02] local.INFO: Extracted packet for processing {"connection_id":207151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:38:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":18,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535621376001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:38:02] 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-10-05 04:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791155072000,"timestamp_ms":1791155072000,"timestamp_seconds":1791155072,"priority":1,"record_length":96,"hex_timestamp":"000001a109296c00"} 
[2026-10-05 04:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:38: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-10-05 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 04:38: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-10-05 04: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-10-05 04:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:38: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-10-05 04:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535621376001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535621376001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:38:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:38:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535621376001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":207151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:38:02] local.INFO: GPS data processed {"connection_id":207151,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:38:02] local.INFO: Acknowledgment sent {"connection_id":207151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:38:05] local.INFO: TCP Data received {"connection_id":207152,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207152,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:38:05] local.INFO: Processing buffer {"connection_id":207152,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:38:05] local.INFO: IMEI packet received {"connection_id":207152,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":207152,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:38:10] local.INFO: TCP Data received {"connection_id":207152,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207152,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:38:10] local.INFO: Processing buffer {"connection_id":207152,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:38:10] local.INFO: IMEI packet received {"connection_id":207152,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":207152,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:38:11] local.INFO: TCP Data received {"connection_id":207152,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:38:11] local.INFO: Processing buffer {"connection_id":207152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:38:11] local.INFO: Packet analysis {"connection_id":207152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:38:11] local.INFO: Extracted packet for processing {"connection_id":207152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:38:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535617024001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791155055000,"timestamp_ms":1791155055000,"timestamp_seconds":1791155055,"priority":1,"record_length":96,"hex_timestamp":"000001a109292998"} 
[2026-10-05 04:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:38:11] 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-10-05 04:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535617024001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535617024001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:38:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535617024001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":207152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965296,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:38:11] local.INFO: GPS data processed {"connection_id":207152,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:38:11] local.INFO: Acknowledgment sent {"connection_id":207152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:38:16] local.INFO: TCP Data received {"connection_id":207152,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:38:16] local.INFO: Processing buffer {"connection_id":207152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:38:16] local.INFO: Packet analysis {"connection_id":207152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:38:16] local.INFO: Extracted packet for processing {"connection_id":207152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:38:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535617024001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791155055000,"timestamp_ms":1791155055000,"timestamp_seconds":1791155055,"priority":1,"record_length":96,"hex_timestamp":"000001a109292998"} 
[2026-10-05 04:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:38:16] 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-10-05 04:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535617024001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535617024001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:38:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:38:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535617024001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":207152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:38:16] local.INFO: GPS data processed {"connection_id":207152,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:38:16] local.INFO: Acknowledgment sent {"connection_id":207152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:38:32] local.INFO: TCP Data received {"connection_id":207151,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:38:32] local.INFO: Processing buffer {"connection_id":207151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:38:32] local.INFO: Packet analysis {"connection_id":207151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:38:32] local.INFO: Extracted packet for processing {"connection_id":207151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":18,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535621376001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:38: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-10-05 04:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791155072000,"timestamp_ms":1791155072000,"timestamp_seconds":1791155072,"priority":1,"record_length":96,"hex_timestamp":"000001a109296c00"} 
[2026-10-05 04:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:38:32] 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-10-05 04:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 04:38: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-10-05 04:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:38: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-10-05 04:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535621376001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535621376001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:38:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:38:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535621376001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":207151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:38:32] local.INFO: GPS data processed {"connection_id":207151,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:38:32] local.INFO: Acknowledgment sent {"connection_id":207151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:38:56] local.INFO: TCP Data received {"connection_id":205603,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:38:56] local.INFO: Processing buffer {"connection_id":205603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:38:56] local.INFO: IMEI packet received {"connection_id":205603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":205603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:39:00] local.INFO: TCP Data received {"connection_id":205604,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:39:00] local.INFO: Processing buffer {"connection_id":205604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:39:00] local.INFO: IMEI packet received {"connection_id":205604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":205604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:39:01] local.INFO: TCP Data received {"connection_id":205603,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:39:01] local.INFO: Processing buffer {"connection_id":205603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:39:01] local.INFO: IMEI packet received {"connection_id":205603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":205603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:39:02] local.INFO: TCP Data received {"connection_id":205603,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:39:02] local.INFO: Processing buffer {"connection_id":205603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:39:02] local.INFO: Packet analysis {"connection_id":205603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:39:02] local.INFO: Extracted packet for processing {"connection_id":205603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:39:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":18,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535621376001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:39:02] 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-10-05 04:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791155072000,"timestamp_ms":1791155072000,"timestamp_seconds":1791155072,"priority":1,"record_length":96,"hex_timestamp":"000001a109296c00"} 
[2026-10-05 04:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:39: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-10-05 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 04:39: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-10-05 04: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-10-05 04:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:39: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-10-05 04:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535621376001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535621376001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:39:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:39:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535621376001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":205603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:39:02] local.INFO: GPS data processed {"connection_id":205603,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:39:02] local.INFO: Acknowledgment sent {"connection_id":205603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:39:05] local.INFO: TCP Data received {"connection_id":205604,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:39:05] local.INFO: Processing buffer {"connection_id":205604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:39:05] local.INFO: IMEI packet received {"connection_id":205604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":205604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:39:06] local.INFO: TCP Data received {"connection_id":205604,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:39:06] local.INFO: Processing buffer {"connection_id":205604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109292998012d7c2ac005dac8a0000700bf21..."} 
[2026-10-05 04:39:06] local.INFO: Packet analysis {"connection_id":205604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:39:06] local.INFO: Extracted packet for processing {"connection_id":205604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:39:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535617024001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791155055000,"timestamp_ms":1791155055000,"timestamp_seconds":1791155055,"priority":1,"record_length":96,"hex_timestamp":"000001a109292998"} 
[2026-10-05 04:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:39:06] 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-10-05 04:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535617024001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535617024001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:39:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:39:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535617024001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":205604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:39:06] local.INFO: GPS data processed {"connection_id":205604,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:39:06] local.INFO: Acknowledgment sent {"connection_id":205604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:39:33] local.INFO: TCP Data received {"connection_id":205603,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:39:33] local.INFO: Processing buffer {"connection_id":205603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:39:33] local.INFO: Packet analysis {"connection_id":205603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:39:33] local.INFO: Extracted packet for processing {"connection_id":205603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":18,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535621376001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:39: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-10-05 04:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791155072000,"timestamp_ms":1791155072000,"timestamp_seconds":1791155072,"priority":1,"record_length":96,"hex_timestamp":"000001a109296c00"} 
[2026-10-05 04:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:39:33] 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-10-05 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 04:39:33] 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-10-05 04: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-10-05 04:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:39: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-10-05 04:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535621376001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535621376001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:39:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:39:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535621376001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":205603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:39:33] local.INFO: GPS data processed {"connection_id":205603,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:39:33] local.INFO: Acknowledgment sent {"connection_id":205603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:39:38] local.INFO: TCP Data received {"connection_id":205604,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:39:38] local.INFO: Processing buffer {"connection_id":205604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:39:38] local.INFO: Packet analysis {"connection_id":205604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1092d"} 
[2026-10-05 04:39:38] local.INFO: Extracted packet for processing {"connection_id":205604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1092d"} 
[2026-10-05 04:39:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535694080001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791155356000,"timestamp_ms":1791155356000,"timestamp_seconds":1791155356,"priority":1,"record_length":96,"hex_timestamp":"000001a1092dc160"} 
[2026-10-05 04:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:39:38] 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-10-05 04:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535694080001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535694080001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:39:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:39:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535694080001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":205604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:39:38] local.INFO: GPS data processed {"connection_id":205604,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:39:38] local.INFO: Acknowledgment sent {"connection_id":205604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:39:55] local.INFO: TCP Data received {"connection_id":204162,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:39:55] local.INFO: Processing buffer {"connection_id":204162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:39:55] local.INFO: IMEI packet received {"connection_id":204162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":204162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:40:00] local.INFO: TCP Data received {"connection_id":204163,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:40:00] local.INFO: Processing buffer {"connection_id":204163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:40:00] local.INFO: IMEI packet received {"connection_id":204163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":204163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:40:01] local.INFO: TCP Data received {"connection_id":204162,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:40:01] local.INFO: Processing buffer {"connection_id":204162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:40:01] local.INFO: IMEI packet received {"connection_id":204162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":204162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:40:02] local.INFO: TCP Data received {"connection_id":204162,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:40:02] local.INFO: Processing buffer {"connection_id":204162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109296c00012d7f91c005afd9f00012010125..."} 
[2026-10-05 04:40:02] local.INFO: Packet analysis {"connection_id":204162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:40:02] local.INFO: Extracted packet for processing {"connection_id":204162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10929"} 
[2026-10-05 04:40:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":18,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535621376001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:40:02] 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-10-05 04:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791155072000,"timestamp_ms":1791155072000,"timestamp_seconds":1791155072,"priority":1,"record_length":96,"hex_timestamp":"000001a109296c00"} 
[2026-10-05 04:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:40: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-10-05 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 04:40: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-10-05 04: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-10-05 04:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:40: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-10-05 04:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535621376001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535621376001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:40:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:40:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535621376001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":204162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:40:02] local.INFO: GPS data processed {"connection_id":204162,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:40:02] local.INFO: Acknowledgment sent {"connection_id":204162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:40:05] local.INFO: TCP Data received {"connection_id":204163,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:40:05] local.INFO: Processing buffer {"connection_id":204163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:40:05] local.INFO: IMEI packet received {"connection_id":204163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":204163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:40:06] local.INFO: TCP Data received {"connection_id":204163,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:40:06] local.INFO: Processing buffer {"connection_id":204163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:40:06] local.INFO: Packet analysis {"connection_id":204163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1092d"} 
[2026-10-05 04:40:06] local.INFO: Extracted packet for processing {"connection_id":204163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1092d"} 
[2026-10-05 04:40:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535694080001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791155356000,"timestamp_ms":1791155356000,"timestamp_seconds":1791155356,"priority":1,"record_length":96,"hex_timestamp":"000001a1092dc160"} 
[2026-10-05 04:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:40:06] 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-10-05 04:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535694080001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535694080001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:40:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:40:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535694080001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":204163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:40:06] local.INFO: GPS data processed {"connection_id":204163,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:40:06] local.INFO: Acknowledgment sent {"connection_id":204163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:40:32] local.INFO: TCP Data received {"connection_id":204162,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:40:32] local.INFO: Processing buffer {"connection_id":204162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:40:32] local.INFO: Packet analysis {"connection_id":204162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1092e"} 
[2026-10-05 04:40:32] local.INFO: Extracted packet for processing {"connection_id":204162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1092e"} 
[2026-10-05 04:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535698432001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:40: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-10-05 04:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791155373000,"timestamp_ms":1791155373000,"timestamp_seconds":1791155373,"priority":1,"record_length":96,"hex_timestamp":"000001a1092e03c8"} 
[2026-10-05 04:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:40:32] 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-10-05 04:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:40: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-10-05 04:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:40: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-10-05 04:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535698432001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535698432001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:40:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:40:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535698432001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":204162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:40:32] local.INFO: GPS data processed {"connection_id":204162,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:40:32] local.INFO: Acknowledgment sent {"connection_id":204162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:40:38] local.INFO: TCP Data received {"connection_id":204163,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:40:38] local.INFO: Processing buffer {"connection_id":204163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:40:38] local.INFO: Packet analysis {"connection_id":204163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1092d"} 
[2026-10-05 04:40:38] local.INFO: Extracted packet for processing {"connection_id":204163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1092d"} 
[2026-10-05 04:40:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535694080001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791155356000,"timestamp_ms":1791155356000,"timestamp_seconds":1791155356,"priority":1,"record_length":96,"hex_timestamp":"000001a1092dc160"} 
[2026-10-05 04:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:40:38] 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-10-05 04:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535694080001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535694080001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:40:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:40:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535694080001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":204163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:40:38] local.INFO: GPS data processed {"connection_id":204163,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:40:38] local.INFO: Acknowledgment sent {"connection_id":204163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:40:55] local.INFO: TCP Data received {"connection_id":207153,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:40:55] local.INFO: Processing buffer {"connection_id":207153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:40:55] local.INFO: IMEI packet received {"connection_id":207153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":207153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:41:00] local.INFO: TCP Data received {"connection_id":207154,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:41:00] local.INFO: Processing buffer {"connection_id":207154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:41:00] local.INFO: IMEI packet received {"connection_id":207154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":207154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:41:01] local.INFO: TCP Data received {"connection_id":207153,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:41:01] local.INFO: Processing buffer {"connection_id":207153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:41:01] local.INFO: IMEI packet received {"connection_id":207153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":207153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:41:02] local.INFO: TCP Data received {"connection_id":207153,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:41:02] local.INFO: Processing buffer {"connection_id":207153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:41:02] local.INFO: Packet analysis {"connection_id":207153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1092e"} 
[2026-10-05 04:41:02] local.INFO: Extracted packet for processing {"connection_id":207153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1092e"} 
[2026-10-05 04:41:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535698432001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:41:02] 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-10-05 04:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791155373000,"timestamp_ms":1791155373000,"timestamp_seconds":1791155373,"priority":1,"record_length":96,"hex_timestamp":"000001a1092e03c8"} 
[2026-10-05 04:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:41: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-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:41:02] 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-10-05 04: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-10-05 04:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535698432001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535698432001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:41:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:41:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535698432001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":207153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:41:02] local.INFO: GPS data processed {"connection_id":207153,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:41:02] local.INFO: Acknowledgment sent {"connection_id":207153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:41:05] local.INFO: TCP Data received {"connection_id":207154,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:41:05] local.INFO: Processing buffer {"connection_id":207154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:41:05] local.INFO: IMEI packet received {"connection_id":207154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":207154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:41:06] local.INFO: TCP Data received {"connection_id":207154,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:41:06] local.INFO: Processing buffer {"connection_id":207154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:41:06] local.INFO: Packet analysis {"connection_id":207154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1092d"} 
[2026-10-05 04:41:06] local.INFO: Extracted packet for processing {"connection_id":207154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1092d"} 
[2026-10-05 04:41:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535694080001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791155356000,"timestamp_ms":1791155356000,"timestamp_seconds":1791155356,"priority":1,"record_length":96,"hex_timestamp":"000001a1092dc160"} 
[2026-10-05 04:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:41:06] 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-10-05 04:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535694080001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535694080001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:41:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:41:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535694080001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":207154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:41:06] local.INFO: GPS data processed {"connection_id":207154,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:41:06] local.INFO: Acknowledgment sent {"connection_id":207154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:41:33] local.INFO: TCP Data received {"connection_id":207153,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:41:33] local.INFO: Processing buffer {"connection_id":207153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:41:33] local.INFO: Packet analysis {"connection_id":207153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1092e"} 
[2026-10-05 04:41:33] local.INFO: Extracted packet for processing {"connection_id":207153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1092e"} 
[2026-10-05 04:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535698432001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:41: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-10-05 04:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791155373000,"timestamp_ms":1791155373000,"timestamp_seconds":1791155373,"priority":1,"record_length":96,"hex_timestamp":"000001a1092e03c8"} 
[2026-10-05 04:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:41:33] 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-10-05 04:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:41:33] 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-10-05 04:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:41: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-10-05 04:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535698432001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535698432001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:41:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:41:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535698432001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":207153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:41:33] local.INFO: GPS data processed {"connection_id":207153,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:41:33] local.INFO: Acknowledgment sent {"connection_id":207153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:41:37] local.INFO: TCP Data received {"connection_id":207154,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:41:37] local.INFO: Processing buffer {"connection_id":207154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:41:37] local.INFO: Packet analysis {"connection_id":207154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1092d"} 
[2026-10-05 04:41:37] local.INFO: Extracted packet for processing {"connection_id":207154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1092d"} 
[2026-10-05 04:41:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535694080001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791155356000,"timestamp_ms":1791155356000,"timestamp_seconds":1791155356,"priority":1,"record_length":96,"hex_timestamp":"000001a1092dc160"} 
[2026-10-05 04:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:41:37] 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-10-05 04:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535694080001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535694080001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:41:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:41:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535694080001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":207154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:41:37] local.INFO: GPS data processed {"connection_id":207154,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:41:37] local.INFO: Acknowledgment sent {"connection_id":207154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:42:00] local.INFO: TCP Data received {"connection_id":204083,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:42:00] local.INFO: Processing buffer {"connection_id":204083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:42:00] local.INFO: IMEI packet received {"connection_id":204083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":204083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:42:01] local.INFO: TCP Data received {"connection_id":207155,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:42:01] local.INFO: Processing buffer {"connection_id":207155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:42:01] local.INFO: IMEI packet received {"connection_id":207155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":207155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:42:05] local.INFO: TCP Data received {"connection_id":204083,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:42:05] local.INFO: Processing buffer {"connection_id":204083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:42:05] local.INFO: IMEI packet received {"connection_id":204083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":204083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:42:06] local.INFO: TCP Data received {"connection_id":207155,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:42:06] local.INFO: Processing buffer {"connection_id":207155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:42:06] local.INFO: IMEI packet received {"connection_id":207155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":207155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:42:06] local.INFO: TCP Data received {"connection_id":204083,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:42:06] local.INFO: Processing buffer {"connection_id":204083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:42:06] local.INFO: Packet analysis {"connection_id":204083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1092d"} 
[2026-10-05 04:42:06] local.INFO: Extracted packet for processing {"connection_id":204083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1092d"} 
[2026-10-05 04:42:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535694080001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791155356000,"timestamp_ms":1791155356000,"timestamp_seconds":1791155356,"priority":1,"record_length":96,"hex_timestamp":"000001a1092dc160"} 
[2026-10-05 04:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:42:06] 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-10-05 04:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535694080001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535694080001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:42:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:42:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535694080001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":204083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:42:06] local.INFO: GPS data processed {"connection_id":204083,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:42:06] local.INFO: Acknowledgment sent {"connection_id":204083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:42:07] local.INFO: TCP Data received {"connection_id":207155,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:42:07] local.INFO: Processing buffer {"connection_id":207155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:42:07] local.INFO: Packet analysis {"connection_id":207155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1092e"} 
[2026-10-05 04:42:07] local.INFO: Extracted packet for processing {"connection_id":207155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1092e"} 
[2026-10-05 04:42:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535698432001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:42:07] 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-10-05 04:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791155373000,"timestamp_ms":1791155373000,"timestamp_seconds":1791155373,"priority":1,"record_length":96,"hex_timestamp":"000001a1092e03c8"} 
[2026-10-05 04:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:42: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-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04: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-10-05 04:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535698432001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 04:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535698432001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:42:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:42:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535698432001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":207155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:42:07] local.INFO: GPS data processed {"connection_id":207155,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:42:07] local.INFO: Acknowledgment sent {"connection_id":207155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:42:11] local.INFO: TCP Data received {"connection_id":207155,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:42:11] local.INFO: Processing buffer {"connection_id":207155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:42:11] local.INFO: Packet analysis {"connection_id":207155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1092e"} 
[2026-10-05 04:42:11] local.INFO: Extracted packet for processing {"connection_id":207155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1092e"} 
[2026-10-05 04:42:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535698432001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:42:11] 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-10-05 04:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791155373000,"timestamp_ms":1791155373000,"timestamp_seconds":1791155373,"priority":1,"record_length":96,"hex_timestamp":"000001a1092e03c8"} 
[2026-10-05 04:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:42:11] 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-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:42:11] 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-10-05 04: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-10-05 04:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535698432001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 04:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535698432001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:42:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:42:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535698432001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":207155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:42:11] local.INFO: GPS data processed {"connection_id":207155,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:42:11] local.INFO: Acknowledgment sent {"connection_id":207155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:42:37] local.INFO: TCP Data received {"connection_id":204083,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:42:37] local.INFO: Processing buffer {"connection_id":204083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:42:37] local.INFO: Packet analysis {"connection_id":204083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1092d"} 
[2026-10-05 04:42:37] local.INFO: Extracted packet for processing {"connection_id":204083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1092d"} 
[2026-10-05 04:42:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535694080001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791155356000,"timestamp_ms":1791155356000,"timestamp_seconds":1791155356,"priority":1,"record_length":96,"hex_timestamp":"000001a1092dc160"} 
[2026-10-05 04:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:42:37] 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-10-05 04:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535694080001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535694080001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:42:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:42:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535694080001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":204083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:42:37] local.INFO: GPS data processed {"connection_id":204083,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:42:37] local.INFO: Acknowledgment sent {"connection_id":204083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:42:56] local.INFO: TCP Data received {"connection_id":205605,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:42:56] local.INFO: Processing buffer {"connection_id":205605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:42:56] local.INFO: IMEI packet received {"connection_id":205605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":205605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:42:58] local.INFO: TCP Data received {"connection_id":204165,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204165,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:42:58] local.INFO: Processing buffer {"connection_id":204165,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:42:58] local.INFO: IMEI packet received {"connection_id":204165,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 04:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":204165,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:43:00] local.INFO: TCP Data received {"connection_id":205606,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:43:00] local.INFO: Processing buffer {"connection_id":205606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:43:00] local.INFO: IMEI packet received {"connection_id":205606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":205606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:43:01] local.INFO: TCP Data received {"connection_id":205605,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:43:01] local.INFO: Processing buffer {"connection_id":205605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:43:01] local.INFO: IMEI packet received {"connection_id":205605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":205605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:43:02] local.INFO: TCP Data received {"connection_id":205605,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:43:02] local.INFO: Processing buffer {"connection_id":205605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:43:02] local.INFO: Packet analysis {"connection_id":205605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1092e"} 
[2026-10-05 04:43:02] local.INFO: Extracted packet for processing {"connection_id":205605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1092e"} 
[2026-10-05 04:43:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535698432001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:43:02] 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-10-05 04:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791155373000,"timestamp_ms":1791155373000,"timestamp_seconds":1791155373,"priority":1,"record_length":96,"hex_timestamp":"000001a1092e03c8"} 
[2026-10-05 04:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:43: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-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:43:02] 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-10-05 04: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-10-05 04:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:43: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-10-05 04:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535698432001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535698432001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:43:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:43:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535698432001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":205605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:43:02] local.INFO: GPS data processed {"connection_id":205605,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:43:02] local.INFO: Acknowledgment sent {"connection_id":205605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:43:05] local.INFO: TCP Data received {"connection_id":205606,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:43:05] local.INFO: Processing buffer {"connection_id":205606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:43:05] local.INFO: IMEI packet received {"connection_id":205606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":205606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:43:06] local.INFO: TCP Data received {"connection_id":205606,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:43:06] local.INFO: Processing buffer {"connection_id":205606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:43:06] local.INFO: Packet analysis {"connection_id":205606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1092d"} 
[2026-10-05 04:43:06] local.INFO: Extracted packet for processing {"connection_id":205606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1092d"} 
[2026-10-05 04:43:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535694080001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791155356000,"timestamp_ms":1791155356000,"timestamp_seconds":1791155356,"priority":1,"record_length":96,"hex_timestamp":"000001a1092dc160"} 
[2026-10-05 04:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:43:06] 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-10-05 04: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-10-05 04:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535694080001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535694080001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:43:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:43:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535694080001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":205606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:43:06] local.INFO: GPS data processed {"connection_id":205606,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:43:06] local.INFO: Acknowledgment sent {"connection_id":205606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:43:33] local.INFO: TCP Data received {"connection_id":205605,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:43:33] local.INFO: Processing buffer {"connection_id":205605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:43:33] local.INFO: Packet analysis {"connection_id":205605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1092e"} 
[2026-10-05 04:43:33] local.INFO: Extracted packet for processing {"connection_id":205605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1092e"} 
[2026-10-05 04:43:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535698432001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:43: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-10-05 04:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791155373000,"timestamp_ms":1791155373000,"timestamp_seconds":1791155373,"priority":1,"record_length":96,"hex_timestamp":"000001a1092e03c8"} 
[2026-10-05 04:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:43:33] 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-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:43:33] 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-10-05 04: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-10-05 04:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535698432001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535698432001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:43:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:43:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535698432001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":205605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:43:33] local.INFO: GPS data processed {"connection_id":205605,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:43:33] local.INFO: Acknowledgment sent {"connection_id":205605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:43:37] local.INFO: TCP Data received {"connection_id":205606,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:43:37] local.INFO: Processing buffer {"connection_id":205606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:43:37] local.INFO: Packet analysis {"connection_id":205606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1092d"} 
[2026-10-05 04:43:37] local.INFO: Extracted packet for processing {"connection_id":205606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1092d"} 
[2026-10-05 04:43:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535694080001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791155356000,"timestamp_ms":1791155356000,"timestamp_seconds":1791155356,"priority":1,"record_length":96,"hex_timestamp":"000001a1092dc160"} 
[2026-10-05 04:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:43:37] 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-10-05 04:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535694080001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535694080001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:43:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:43:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535694080001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":205606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:43:37] local.INFO: GPS data processed {"connection_id":205606,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:43:37] local.INFO: Acknowledgment sent {"connection_id":205606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:43:43] local.INFO: TCP Data received {"connection_id":205607,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:43:43] local.INFO: Processing buffer {"connection_id":205607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:43:43] local.INFO: IMEI packet received {"connection_id":205607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 04:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":205607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:43:49] local.INFO: TCP Data received {"connection_id":205607,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:43:49] local.INFO: Processing buffer {"connection_id":205607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:43:49] local.INFO: IMEI packet received {"connection_id":205607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 04:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":205607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:43:50] local.INFO: TCP Data received {"connection_id":205607,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a1091766b8012ca3bf800942227002b400922e..."} 
[2026-10-05 04:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1091766b8012ca3bf800942227002b400922e..."} 
[2026-10-05 04:43:50] local.INFO: Processing buffer {"connection_id":205607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1091766b8012ca3bf800942227002b400922e..."} 
[2026-10-05 04:43:50] local.INFO: Packet analysis {"connection_id":205607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:43:50] local.INFO: Extracted packet for processing {"connection_id":205607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10917"} 
[2026-10-05 04:43:50] local.INFO: GPS Element Parsed {"raw_longitude":748928896,"raw_latitude":155329136,"longitude_deg":74.8928896,"latitude_deg":15.5329136,"altitude":692,"angle":146,"satellites":46,"speed":0,"hex_longitude":"2ca3bf80","hex_latitude":"09422270","is_valid_coordinates":true} 
[2026-10-05 04:43: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-10-05 04:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535319040001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8303632072048640,"note":"Value kept but may cause issues"} 
[2026-10-05 04:43:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6647453747722948606,"note":"Value kept but may cause issues"} 
[2026-10-05 04:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,253,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1791153891000,"timestamp_ms":1791153891000,"timestamp_seconds":1791153891,"priority":1,"record_length":96,"hex_timestamp":"000001a1091766b8"} 
[2026-10-05 04:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 04:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04:43: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-10-05 04:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":205607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":205607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 04:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":205607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 04:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 04:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 04:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535319040001,"66":25028,"100":206,"253":60160,"24":0,"16":8303632072048640,"44":-6647453747722948606},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,253,24,16,44]} 
[2026-10-05 04:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 04:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 04:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535319040001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:43:50] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 04:43:50] local.INFO: Unknown IO ID detected {"io_id":253,"value":60160,"description":"Unknown IO ID 253"} 
[2026-10-05 04:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8303632072048640,"km_value":8303632072048.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:43:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6647453747722948606,"description":"Unknown IO ID 44"} 
[2026-10-05 04:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535319040001,"power":25028,"unknown_100":206,"unknown_253":60160,"ignition":0,"odometer":null,"unknown_44":-6647453747722948606}} 
[2026-10-05 04:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":205607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965319,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:43:50] local.INFO: GPS data processed {"connection_id":205607,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:43:50] local.INFO: Acknowledgment sent {"connection_id":205607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:43:58] local.INFO: TCP Data received {"connection_id":207156,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:43:58] local.INFO: Processing buffer {"connection_id":207156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:43:58] local.INFO: IMEI packet received {"connection_id":207156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":207156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:44:00] local.INFO: TCP Data received {"connection_id":207156,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:44:00] local.INFO: Processing buffer {"connection_id":207156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:44:00] local.INFO: IMEI packet received {"connection_id":207156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":207156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:44:01] local.INFO: TCP Data received {"connection_id":207156,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:44:01] local.INFO: Processing buffer {"connection_id":207156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:44:01] local.INFO: Packet analysis {"connection_id":207156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1092e"} 
[2026-10-05 04:44:01] local.INFO: Extracted packet for processing {"connection_id":207156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1092e"} 
[2026-10-05 04:44:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535698432001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:44: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-10-05 04:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791155373000,"timestamp_ms":1791155373000,"timestamp_seconds":1791155373,"priority":1,"record_length":96,"hex_timestamp":"000001a1092e03c8"} 
[2026-10-05 04:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:44:01] 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-10-05 04: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-10-05 04: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-10-05 04: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-10-05 04:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:44: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-10-05 04:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535698432001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535698432001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:44:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:44:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535698432001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":207156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:44:01] local.INFO: GPS data processed {"connection_id":207156,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:44:01] local.INFO: Acknowledgment sent {"connection_id":207156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:44:05] local.INFO: TCP Data received {"connection_id":204166,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:44:05] local.INFO: Processing buffer {"connection_id":204166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:44:05] local.INFO: IMEI packet received {"connection_id":204166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":204166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:44:06] local.INFO: TCP Data received {"connection_id":207156,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:44:06] local.INFO: Processing buffer {"connection_id":207156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:44:06] local.INFO: Packet analysis {"connection_id":207156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1092e"} 
[2026-10-05 04:44:06] local.INFO: Extracted packet for processing {"connection_id":207156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1092e"} 
[2026-10-05 04:44:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535698432001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:44:06] 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-10-05 04:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791155373000,"timestamp_ms":1791155373000,"timestamp_seconds":1791155373,"priority":1,"record_length":96,"hex_timestamp":"000001a1092e03c8"} 
[2026-10-05 04:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:44:06] 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-10-05 04:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:44:06] 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-10-05 04:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535698432001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535698432001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:44:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:44:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535698432001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":207156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:44:06] local.INFO: GPS data processed {"connection_id":207156,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:44:06] local.INFO: Acknowledgment sent {"connection_id":207156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:44:10] local.INFO: TCP Data received {"connection_id":204166,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:44:10] local.INFO: Processing buffer {"connection_id":204166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:44:10] local.INFO: IMEI packet received {"connection_id":204166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":204166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:44:11] local.INFO: TCP Data received {"connection_id":204166,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:44:11] local.INFO: Processing buffer {"connection_id":204166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092dc160012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:44:11] local.INFO: Packet analysis {"connection_id":204166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1092d"} 
[2026-10-05 04:44:11] local.INFO: Extracted packet for processing {"connection_id":204166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1092d"} 
[2026-10-05 04:44:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535694080001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791155356000,"timestamp_ms":1791155356000,"timestamp_seconds":1791155356,"priority":1,"record_length":96,"hex_timestamp":"000001a1092dc160"} 
[2026-10-05 04:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:44:11] 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-10-05 04: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-10-05 04:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535694080001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535694080001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:44:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535694080001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":204166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:44:11] local.INFO: GPS data processed {"connection_id":204166,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:44:11] local.INFO: Acknowledgment sent {"connection_id":204166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:44:33] local.INFO: TCP Data received {"connection_id":205608,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:44:33] local.INFO: Processing buffer {"connection_id":205608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:44:33] local.INFO: IMEI packet received {"connection_id":205608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 04:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":205608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:44:38] local.INFO: TCP Data received {"connection_id":207156,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:44:38] local.INFO: Processing buffer {"connection_id":207156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:44:38] local.INFO: Packet analysis {"connection_id":207156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1092e"} 
[2026-10-05 04:44:38] local.INFO: Extracted packet for processing {"connection_id":207156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1092e"} 
[2026-10-05 04:44:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535698432001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:44:38] 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-10-05 04:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791155373000,"timestamp_ms":1791155373000,"timestamp_seconds":1791155373,"priority":1,"record_length":96,"hex_timestamp":"000001a1092e03c8"} 
[2026-10-05 04:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:44:38] 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-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:44:38] 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-10-05 04:44: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-10-05 04:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535698432001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535698432001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:44:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:44:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535698432001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":207156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:44:38] local.INFO: GPS data processed {"connection_id":207156,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:44:38] local.INFO: Acknowledgment sent {"connection_id":207156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:44:42] local.INFO: TCP Data received {"connection_id":204166,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:44:42] local.INFO: Processing buffer {"connection_id":204166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:44:42] local.INFO: Packet analysis {"connection_id":204166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:44:42] local.INFO: Extracted packet for processing {"connection_id":204166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:44:42] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535771136001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791155657000,"timestamp_ms":1791155657000,"timestamp_seconds":1791155657,"priority":1,"record_length":96,"hex_timestamp":"000001a109325928"} 
[2026-10-05 04:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 04:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535771136001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535771136001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:44:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:44:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535771136001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":204166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:44:42] local.INFO: GPS data processed {"connection_id":204166,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:44:42] local.INFO: Acknowledgment sent {"connection_id":204166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:44:58] local.INFO: TCP Data received {"connection_id":205609,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:44:58] local.INFO: Processing buffer {"connection_id":205609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:44:58] local.INFO: IMEI packet received {"connection_id":205609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":205609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:45:00] local.INFO: TCP Data received {"connection_id":207157,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:45:00] local.INFO: Processing buffer {"connection_id":207157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:45:00] local.INFO: IMEI packet received {"connection_id":207157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":207157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:45:00] local.INFO: TCP Data received {"connection_id":205609,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:45:00] local.INFO: Processing buffer {"connection_id":205609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:45:00] local.INFO: IMEI packet received {"connection_id":205609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":205609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:45:01] local.INFO: TCP Data received {"connection_id":205609,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:45:01] local.INFO: Processing buffer {"connection_id":205609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:45:01] local.INFO: Packet analysis {"connection_id":205609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1092e"} 
[2026-10-05 04:45:01] local.INFO: Extracted packet for processing {"connection_id":205609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1092e"} 
[2026-10-05 04:45:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535698432001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:45: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-10-05 04:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791155373000,"timestamp_ms":1791155373000,"timestamp_seconds":1791155373,"priority":1,"record_length":96,"hex_timestamp":"000001a1092e03c8"} 
[2026-10-05 04:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:45:01] 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-10-05 04: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-10-05 04: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-10-05 04: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-10-05 04:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:45: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-10-05 04:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535698432001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535698432001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:45:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:45:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535698432001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":205609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:45:01] local.INFO: GPS data processed {"connection_id":205609,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:45:01] local.INFO: Acknowledgment sent {"connection_id":205609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:45:05] local.INFO: TCP Data received {"connection_id":207157,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:45:05] local.INFO: Processing buffer {"connection_id":207157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:45:05] local.INFO: IMEI packet received {"connection_id":207157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":207157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:45:06] local.INFO: TCP Data received {"connection_id":207157,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:45:06] local.INFO: Processing buffer {"connection_id":207157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:45:06] local.INFO: Packet analysis {"connection_id":207157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:45:06] local.INFO: Extracted packet for processing {"connection_id":207157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:45:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535771136001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791155657000,"timestamp_ms":1791155657000,"timestamp_seconds":1791155657,"priority":1,"record_length":96,"hex_timestamp":"000001a109325928"} 
[2026-10-05 04:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 04:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535771136001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535771136001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:45:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:45:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535771136001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":207157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965326,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:45:06] local.INFO: GPS data processed {"connection_id":207157,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:45:06] local.INFO: Acknowledgment sent {"connection_id":207157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:45:06] local.INFO: TCP Data received {"connection_id":205609,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:45:06] local.INFO: Processing buffer {"connection_id":205609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1092e03c8012d7f91c005afd9f0001401011f..."} 
[2026-10-05 04:45:06] local.INFO: Packet analysis {"connection_id":205609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1092e"} 
[2026-10-05 04:45:06] local.INFO: Extracted packet for processing {"connection_id":205609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1092e"} 
[2026-10-05 04:45:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535698432001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:45:06] 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-10-05 04:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791155373000,"timestamp_ms":1791155373000,"timestamp_seconds":1791155373,"priority":1,"record_length":96,"hex_timestamp":"000001a1092e03c8"} 
[2026-10-05 04:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:45:06] 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-10-05 04:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:45:06] 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-10-05 04:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535698432001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535698432001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:45:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:45:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535698432001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":205609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:45:06] local.INFO: GPS data processed {"connection_id":205609,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:45:06] local.INFO: Acknowledgment sent {"connection_id":205609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:45:37] local.INFO: TCP Data received {"connection_id":205609,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:45:37] local.INFO: Processing buffer {"connection_id":205609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:45:37] local.INFO: Packet analysis {"connection_id":205609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:45:37] local.INFO: Extracted packet for processing {"connection_id":205609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:45:37] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535775488001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:45:37] 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-10-05 04:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791155674000,"timestamp_ms":1791155674000,"timestamp_seconds":1791155674,"priority":1,"record_length":96,"hex_timestamp":"000001a109329b90"} 
[2026-10-05 04:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:45:37] 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-10-05 04:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:45:37] 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-10-05 04:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535775488001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535775488001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:45:37] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:45:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535775488001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":205609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:45:37] local.INFO: GPS data processed {"connection_id":205609,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:45:37] local.INFO: Acknowledgment sent {"connection_id":205609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:45:37] local.INFO: TCP Data received {"connection_id":207157,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:45:37] local.INFO: Processing buffer {"connection_id":207157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:45:37] local.INFO: Packet analysis {"connection_id":207157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:45:37] local.INFO: Extracted packet for processing {"connection_id":207157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:45:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535771136001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791155657000,"timestamp_ms":1791155657000,"timestamp_seconds":1791155657,"priority":1,"record_length":96,"hex_timestamp":"000001a109325928"} 
[2026-10-05 04:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 04:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535771136001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535771136001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:45:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:45:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535771136001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":207157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:45:37] local.INFO: GPS data processed {"connection_id":207157,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:45:37] local.INFO: Acknowledgment sent {"connection_id":207157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:46:01] local.INFO: TCP Data received {"connection_id":204169,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:46:01] local.INFO: Processing buffer {"connection_id":204169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:46:01] local.INFO: IMEI packet received {"connection_id":204169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":204169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:46:01] local.INFO: TCP Data received {"connection_id":204168,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:46:01] local.INFO: Processing buffer {"connection_id":204168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:46:01] local.INFO: IMEI packet received {"connection_id":204168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":204168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:46:05] local.INFO: TCP Data received {"connection_id":204169,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:46:05] local.INFO: Processing buffer {"connection_id":204169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:46:05] local.INFO: IMEI packet received {"connection_id":204169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":204169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:46:06] local.INFO: TCP Data received {"connection_id":204169,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:46:06] local.INFO: Processing buffer {"connection_id":204169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:46:06] local.INFO: Packet analysis {"connection_id":204169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:46:06] local.INFO: Extracted packet for processing {"connection_id":204169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:46:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535771136001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791155657000,"timestamp_ms":1791155657000,"timestamp_seconds":1791155657,"priority":1,"record_length":96,"hex_timestamp":"000001a109325928"} 
[2026-10-05 04:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 04:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535771136001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535771136001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:46:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:46:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535771136001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":204169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:46:06] local.INFO: GPS data processed {"connection_id":204169,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:46:06] local.INFO: Acknowledgment sent {"connection_id":204169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:46:07] local.INFO: TCP Data received {"connection_id":204168,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:46:07] local.INFO: Processing buffer {"connection_id":204168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:46:07] local.INFO: IMEI packet received {"connection_id":204168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":204168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:46:07] local.INFO: TCP Data received {"connection_id":204168,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:46:07] local.INFO: Processing buffer {"connection_id":204168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:46:07] local.INFO: Packet analysis {"connection_id":204168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:46:07] local.INFO: Extracted packet for processing {"connection_id":204168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:46:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535775488001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:46:07] 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-10-05 04:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791155674000,"timestamp_ms":1791155674000,"timestamp_seconds":1791155674,"priority":1,"record_length":96,"hex_timestamp":"000001a109329b90"} 
[2026-10-05 04:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:46: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-10-05 04:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535775488001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535775488001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:46:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:46:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535775488001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":204168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:46:08] local.INFO: GPS data processed {"connection_id":204168,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:46:08] local.INFO: Acknowledgment sent {"connection_id":204168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:46:12] local.INFO: TCP Data received {"connection_id":204168,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:46:12] local.INFO: Processing buffer {"connection_id":204168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:46:12] local.INFO: Packet analysis {"connection_id":204168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:46:12] local.INFO: Extracted packet for processing {"connection_id":204168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:46:12] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:46: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-10-05 04:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535775488001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:46:12] 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-10-05 04:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791155674000,"timestamp_ms":1791155674000,"timestamp_seconds":1791155674,"priority":1,"record_length":96,"hex_timestamp":"000001a109329b90"} 
[2026-10-05 04:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:46:12] 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-10-05 04:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:46:12] 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-10-05 04:46: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-10-05 04:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535775488001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535775488001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:46:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:46:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535775488001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":204168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:46:12] local.INFO: GPS data processed {"connection_id":204168,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:46:12] local.INFO: Acknowledgment sent {"connection_id":204168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:46:38] local.INFO: TCP Data received {"connection_id":204169,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:46:38] local.INFO: Processing buffer {"connection_id":204169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:46:38] local.INFO: Packet analysis {"connection_id":204169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:46:38] local.INFO: Extracted packet for processing {"connection_id":204169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:46:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535771136001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791155657000,"timestamp_ms":1791155657000,"timestamp_seconds":1791155657,"priority":1,"record_length":96,"hex_timestamp":"000001a109325928"} 
[2026-10-05 04:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 04:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04: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-10-05 04:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535771136001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535771136001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:46:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:46:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535771136001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":204169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:46:38] local.INFO: GPS data processed {"connection_id":204169,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:46:38] local.INFO: Acknowledgment sent {"connection_id":204169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:46:56] local.INFO: TCP Data received {"connection_id":207158,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:46:56] local.INFO: Processing buffer {"connection_id":207158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:46:56] local.INFO: IMEI packet received {"connection_id":207158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":207158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:47:00] local.INFO: TCP Data received {"connection_id":207159,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:47:00] local.INFO: Processing buffer {"connection_id":207159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:47:00] local.INFO: IMEI packet received {"connection_id":207159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":207159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:47:01] local.INFO: TCP Data received {"connection_id":207158,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:47:01] local.INFO: Processing buffer {"connection_id":207158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:47:01] local.INFO: IMEI packet received {"connection_id":207158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":207158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:47:02] local.INFO: TCP Data received {"connection_id":207158,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:47:02] local.INFO: Processing buffer {"connection_id":207158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:47:02] local.INFO: Packet analysis {"connection_id":207158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:47:02] local.INFO: Extracted packet for processing {"connection_id":207158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:47:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535775488001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:47:02] 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-10-05 04:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791155674000,"timestamp_ms":1791155674000,"timestamp_seconds":1791155674,"priority":1,"record_length":96,"hex_timestamp":"000001a109329b90"} 
[2026-10-05 04:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:47: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-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:47:02] 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-10-05 04: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-10-05 04:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:47: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-10-05 04:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535775488001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535775488001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:47:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:47:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535775488001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":207158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:47:02] local.INFO: GPS data processed {"connection_id":207158,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:47:02] local.INFO: Acknowledgment sent {"connection_id":207158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:47:05] local.INFO: TCP Data received {"connection_id":207159,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:47:05] local.INFO: Processing buffer {"connection_id":207159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:47:05] local.INFO: IMEI packet received {"connection_id":207159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":207159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:47:06] local.INFO: TCP Data received {"connection_id":207159,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:47:06] local.INFO: Processing buffer {"connection_id":207159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:47:06] local.INFO: Packet analysis {"connection_id":207159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:47:06] local.INFO: Extracted packet for processing {"connection_id":207159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:47:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535771136001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791155657000,"timestamp_ms":1791155657000,"timestamp_seconds":1791155657,"priority":1,"record_length":96,"hex_timestamp":"000001a109325928"} 
[2026-10-05 04:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 04:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535771136001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535771136001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:47:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:47:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535771136001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":207159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:47:06] local.INFO: GPS data processed {"connection_id":207159,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:47:06] local.INFO: Acknowledgment sent {"connection_id":207159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:47:33] local.INFO: TCP Data received {"connection_id":207158,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:47:33] local.INFO: Processing buffer {"connection_id":207158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:47:33] local.INFO: Packet analysis {"connection_id":207158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:47:33] local.INFO: Extracted packet for processing {"connection_id":207158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535775488001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:47: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-10-05 04:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791155674000,"timestamp_ms":1791155674000,"timestamp_seconds":1791155674,"priority":1,"record_length":96,"hex_timestamp":"000001a109329b90"} 
[2026-10-05 04:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:47:33] 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-10-05 04:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:47:33] 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-10-05 04:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:47: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-10-05 04:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535775488001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535775488001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:47:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:47:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535775488001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":207158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:47:33] local.INFO: GPS data processed {"connection_id":207158,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:47:33] local.INFO: Acknowledgment sent {"connection_id":207158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:47:37] local.INFO: TCP Data received {"connection_id":207159,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:47:37] local.INFO: Processing buffer {"connection_id":207159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:47:37] local.INFO: Packet analysis {"connection_id":207159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:47:37] local.INFO: Extracted packet for processing {"connection_id":207159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:47:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535771136001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791155657000,"timestamp_ms":1791155657000,"timestamp_seconds":1791155657,"priority":1,"record_length":96,"hex_timestamp":"000001a109325928"} 
[2026-10-05 04:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 04:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535771136001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535771136001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:47:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:47:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535771136001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":207159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:47:37] local.INFO: GPS data processed {"connection_id":207159,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:47:37] local.INFO: Acknowledgment sent {"connection_id":207159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:47:55] local.INFO: TCP Data received {"connection_id":207161,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:47:55] local.INFO: Processing buffer {"connection_id":207161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:47:55] local.INFO: IMEI packet received {"connection_id":207161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":207161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:48:00] local.INFO: TCP Data received {"connection_id":204170,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:48:00] local.INFO: Processing buffer {"connection_id":204170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:48:00] local.INFO: IMEI packet received {"connection_id":204170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":204170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:48:02] local.INFO: TCP Data received {"connection_id":207161,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:48:02] local.INFO: Processing buffer {"connection_id":207161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:48:02] local.INFO: IMEI packet received {"connection_id":207161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":207161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:48:03] local.INFO: TCP Data received {"connection_id":207161,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:48:03] local.INFO: Processing buffer {"connection_id":207161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:48:03] local.INFO: Packet analysis {"connection_id":207161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:48:03] local.INFO: Extracted packet for processing {"connection_id":207161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:48:03] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535775488001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:48:03] 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-10-05 04:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791155674000,"timestamp_ms":1791155674000,"timestamp_seconds":1791155674,"priority":1,"record_length":96,"hex_timestamp":"000001a109329b90"} 
[2026-10-05 04:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:48:03] 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-10-05 04: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-10-05 04:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":207161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":207161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":207161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:48: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-10-05 04:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535775488001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535775488001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:48:03] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:48:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535775488001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":207161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:48:03] local.INFO: GPS data processed {"connection_id":207161,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:48:03] local.INFO: Acknowledgment sent {"connection_id":207161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:48:05] local.INFO: TCP Data received {"connection_id":204170,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:48:05] local.INFO: Processing buffer {"connection_id":204170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:48:05] local.INFO: IMEI packet received {"connection_id":204170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":204170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:48:06] local.INFO: TCP Data received {"connection_id":204170,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:48:06] local.INFO: Processing buffer {"connection_id":204170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:48:06] local.INFO: Packet analysis {"connection_id":204170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:48:06] local.INFO: Extracted packet for processing {"connection_id":204170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:48:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535771136001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791155657000,"timestamp_ms":1791155657000,"timestamp_seconds":1791155657,"priority":1,"record_length":96,"hex_timestamp":"000001a109325928"} 
[2026-10-05 04:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 04:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04: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-10-05 04:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535771136001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535771136001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:48:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:48:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535771136001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":204170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:48:06] local.INFO: GPS data processed {"connection_id":204170,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:48:06] local.INFO: Acknowledgment sent {"connection_id":204170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:48:34] local.INFO: TCP Data received {"connection_id":207161,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:48:34] local.INFO: Processing buffer {"connection_id":207161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:48:34] local.INFO: Packet analysis {"connection_id":207161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:48:34] local.INFO: Extracted packet for processing {"connection_id":207161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:48:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535775488001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:48:34] 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-10-05 04:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791155674000,"timestamp_ms":1791155674000,"timestamp_seconds":1791155674,"priority":1,"record_length":96,"hex_timestamp":"000001a109329b90"} 
[2026-10-05 04:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:48:34] 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-10-05 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:48: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-10-05 04: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-10-05 04:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":207161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":207161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":207161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535775488001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535775488001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:48:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:48:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535775488001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":207161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:48:34] local.INFO: GPS data processed {"connection_id":207161,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:48:34] local.INFO: Acknowledgment sent {"connection_id":207161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:48:37] local.INFO: TCP Data received {"connection_id":204170,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:48:37] local.INFO: Processing buffer {"connection_id":204170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:48:37] local.INFO: Packet analysis {"connection_id":204170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:48:37] local.INFO: Extracted packet for processing {"connection_id":204170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:48:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535771136001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791155657000,"timestamp_ms":1791155657000,"timestamp_seconds":1791155657,"priority":1,"record_length":96,"hex_timestamp":"000001a109325928"} 
[2026-10-05 04:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 04:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04: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-10-05 04:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535771136001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535771136001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:48:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:48:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535771136001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":204170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965341,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:48:37] local.INFO: GPS data processed {"connection_id":204170,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:48:37] local.INFO: Acknowledgment sent {"connection_id":204170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:48:55] local.INFO: TCP Data received {"connection_id":207163,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:48:55] local.INFO: Processing buffer {"connection_id":207163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:48:55] local.INFO: IMEI packet received {"connection_id":207163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":207163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:49:02] local.INFO: TCP Data received {"connection_id":207163,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:49:02] local.INFO: Processing buffer {"connection_id":207163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:49:02] local.INFO: IMEI packet received {"connection_id":207163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":207163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:49:04] local.INFO: TCP Data received {"connection_id":207163,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:49:04] local.INFO: Processing buffer {"connection_id":207163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:49:04] local.INFO: Packet analysis {"connection_id":207163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:49:04] local.INFO: Extracted packet for processing {"connection_id":207163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:49:04] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535775488001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:49: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-10-05 04:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791155674000,"timestamp_ms":1791155674000,"timestamp_seconds":1791155674,"priority":1,"record_length":96,"hex_timestamp":"000001a109329b90"} 
[2026-10-05 04:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:49: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-10-05 04:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:49: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-10-05 04: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-10-05 04:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":207163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":207163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":207163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:49: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-10-05 04:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535775488001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535775488001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:49:04] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:49:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535775488001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":207163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:49:04] local.INFO: GPS data processed {"connection_id":207163,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:49:04] local.INFO: Acknowledgment sent {"connection_id":207163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:49:05] local.INFO: TCP Data received {"connection_id":207164,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:49:05] local.INFO: Processing buffer {"connection_id":207164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:49:05] local.INFO: IMEI packet received {"connection_id":207164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":207164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:49:06] local.INFO: TCP Data received {"connection_id":207163,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:49:06] local.INFO: Processing buffer {"connection_id":207163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:49:06] local.INFO: Packet analysis {"connection_id":207163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:49:06] local.INFO: Extracted packet for processing {"connection_id":207163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:49:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 04:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535775488001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:49:06] 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-10-05 04:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791155674000,"timestamp_ms":1791155674000,"timestamp_seconds":1791155674,"priority":1,"record_length":96,"hex_timestamp":"000001a109329b90"} 
[2026-10-05 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-10-05 04:49:06] 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-10-05 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:49:06] 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-10-05 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-10-05 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-10-05 04:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 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-10-05 04:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535775488001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535775488001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:49:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:49:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535775488001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":207163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:49:06] local.INFO: GPS data processed {"connection_id":207163,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:49:06] local.INFO: Acknowledgment sent {"connection_id":207163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:49:10] local.INFO: TCP Data received {"connection_id":207164,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:49:10] local.INFO: Processing buffer {"connection_id":207164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:49:10] local.INFO: IMEI packet received {"connection_id":207164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":207164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:49:11] local.INFO: TCP Data received {"connection_id":207164,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:49:11] local.INFO: Processing buffer {"connection_id":207164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:49:11] local.INFO: Packet analysis {"connection_id":207164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:49:11] local.INFO: Extracted packet for processing {"connection_id":207164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:49:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535771136001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791155657000,"timestamp_ms":1791155657000,"timestamp_seconds":1791155657,"priority":1,"record_length":96,"hex_timestamp":"000001a109325928"} 
[2026-10-05 04:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 04:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535771136001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535771136001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:49:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535771136001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":207164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:49:11] local.INFO: GPS data processed {"connection_id":207164,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:49:11] local.INFO: Acknowledgment sent {"connection_id":207164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:49:15] local.INFO: TCP Data received {"connection_id":207164,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:49:15] local.INFO: Processing buffer {"connection_id":207164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109325928012d7c2ac005dac8a0000900bf21..."} 
[2026-10-05 04:49:15] local.INFO: Packet analysis {"connection_id":207164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:49:15] local.INFO: Extracted packet for processing {"connection_id":207164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:49:15] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535771136001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791155657000,"timestamp_ms":1791155657000,"timestamp_seconds":1791155657,"priority":1,"record_length":96,"hex_timestamp":"000001a109325928"} 
[2026-10-05 04:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 04:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535771136001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535771136001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:49:15] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:49:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535771136001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":207164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:49:16] local.INFO: GPS data processed {"connection_id":207164,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:49:16] local.INFO: Acknowledgment sent {"connection_id":207164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:49:39] local.INFO: TCP Data received {"connection_id":207163,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:49:39] local.INFO: Processing buffer {"connection_id":207163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:49:39] local.INFO: Packet analysis {"connection_id":207163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:49:39] local.INFO: Extracted packet for processing {"connection_id":207163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535775488001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:49:39] 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-10-05 04:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791155674000,"timestamp_ms":1791155674000,"timestamp_seconds":1791155674,"priority":1,"record_length":96,"hex_timestamp":"000001a109329b90"} 
[2026-10-05 04:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:49:39] 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-10-05 04:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:49:39] 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-10-05 04:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":207163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":207163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":207163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535775488001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535775488001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:49:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535775488001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":207163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:49:39] local.INFO: GPS data processed {"connection_id":207163,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:49:39] local.INFO: Acknowledgment sent {"connection_id":207163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:49:54] local.INFO: TCP Data received {"connection_id":205610,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205610,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:49:54] local.INFO: Processing buffer {"connection_id":205610,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:49:54] local.INFO: IMEI packet received {"connection_id":205610,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 04:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":205610,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:50:00] local.INFO: TCP Data received {"connection_id":205611,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:50:00] local.INFO: Processing buffer {"connection_id":205611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:50:00] local.INFO: IMEI packet received {"connection_id":205611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":205611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:50:05] local.INFO: TCP Data received {"connection_id":205611,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:50:05] local.INFO: Processing buffer {"connection_id":205611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:50:05] local.INFO: IMEI packet received {"connection_id":205611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":205611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:50:06] local.INFO: TCP Data received {"connection_id":207165,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:50:06] local.INFO: Processing buffer {"connection_id":207165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:50:06] local.INFO: IMEI packet received {"connection_id":207165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":207165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:50:06] local.INFO: TCP Data received {"connection_id":205611,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a10936f0f0012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10936f0f0012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:50:06] local.INFO: Processing buffer {"connection_id":205611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10936f0f0012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:50:06] local.INFO: Packet analysis {"connection_id":205611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10936"} 
[2026-10-05 04:50:06] local.INFO: Extracted packet for processing {"connection_id":205611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10936"} 
[2026-10-05 04:50:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535848192001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791155958000,"timestamp_ms":1791155958000,"timestamp_seconds":1791155958,"priority":1,"record_length":96,"hex_timestamp":"000001a10936f0f0"} 
[2026-10-05 04:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:50:06] 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-10-05 04:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535848192001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535848192001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:50:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:50:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535848192001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":205611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:50:06] local.INFO: GPS data processed {"connection_id":205611,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:50:06] local.INFO: Acknowledgment sent {"connection_id":205611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:50:06] local.INFO: TCP Data received {"connection_id":207165,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:50:06] local.INFO: Processing buffer {"connection_id":207165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:50:06] local.INFO: IMEI packet received {"connection_id":207165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":207165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:50:07] local.INFO: TCP Data received {"connection_id":207165,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:50:07] local.INFO: Processing buffer {"connection_id":207165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:50:07] local.INFO: Packet analysis {"connection_id":207165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:50:07] local.INFO: Extracted packet for processing {"connection_id":207165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:50:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:50: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-10-05 04:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535775488001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:50:07] 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-10-05 04:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791155674000,"timestamp_ms":1791155674000,"timestamp_seconds":1791155674,"priority":1,"record_length":96,"hex_timestamp":"000001a109329b90"} 
[2026-10-05 04:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:50: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-10-05 04:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 04:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535775488001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535775488001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:50:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:50:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535775488001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":207165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:50:07] local.INFO: GPS data processed {"connection_id":207165,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:50:07] local.INFO: Acknowledgment sent {"connection_id":207165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:50:11] local.INFO: TCP Data received {"connection_id":207165,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:50:11] local.INFO: Processing buffer {"connection_id":207165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109329b90012d7f91c005afd9f00016010127..."} 
[2026-10-05 04:50:11] local.INFO: Packet analysis {"connection_id":207165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:50:11] local.INFO: Extracted packet for processing {"connection_id":207165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10932"} 
[2026-10-05 04:50:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535775488001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:50:11] 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-10-05 04:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791155674000,"timestamp_ms":1791155674000,"timestamp_seconds":1791155674,"priority":1,"record_length":96,"hex_timestamp":"000001a109329b90"} 
[2026-10-05 04:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:50:11] 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-10-05 04:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 04:50:11] 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-10-05 04:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535775488001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535775488001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:50:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:50:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535775488001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":207165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:50:12] local.INFO: GPS data processed {"connection_id":207165,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:50:12] local.INFO: Acknowledgment sent {"connection_id":207165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:50:37] local.INFO: TCP Data received {"connection_id":205611,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a10936f0f0012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10936f0f0012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:50:37] local.INFO: Processing buffer {"connection_id":205611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10936f0f0012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:50:37] local.INFO: Packet analysis {"connection_id":205611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10936"} 
[2026-10-05 04:50:37] local.INFO: Extracted packet for processing {"connection_id":205611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10936"} 
[2026-10-05 04:50:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535848192001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791155958000,"timestamp_ms":1791155958000,"timestamp_seconds":1791155958,"priority":1,"record_length":96,"hex_timestamp":"000001a10936f0f0"} 
[2026-10-05 04:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:50:37] 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-10-05 04:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535848192001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535848192001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:50:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:50:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535848192001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":205611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:50:37] local.INFO: GPS data processed {"connection_id":205611,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:50:37] local.INFO: Acknowledgment sent {"connection_id":205611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:50:56] local.INFO: TCP Data received {"connection_id":204172,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:50:56] local.INFO: Processing buffer {"connection_id":204172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:50:56] local.INFO: IMEI packet received {"connection_id":204172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":204172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:51:00] local.INFO: TCP Data received {"connection_id":207166,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:51:00] local.INFO: Processing buffer {"connection_id":207166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:51:00] local.INFO: IMEI packet received {"connection_id":207166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":207166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:51:01] local.INFO: TCP Data received {"connection_id":204172,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:51:01] local.INFO: Processing buffer {"connection_id":204172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:51:01] local.INFO: IMEI packet received {"connection_id":204172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":204172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:51:02] local.INFO: TCP Data received {"connection_id":204172,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:51:02] local.INFO: Processing buffer {"connection_id":204172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:51:02] local.INFO: Packet analysis {"connection_id":204172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10937"} 
[2026-10-05 04:51:02] local.INFO: Extracted packet for processing {"connection_id":204172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10937"} 
[2026-10-05 04:51:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535852544001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:51: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-10-05 04:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791155975000,"timestamp_ms":1791155975000,"timestamp_seconds":1791155975,"priority":1,"record_length":96,"hex_timestamp":"000001a109373358"} 
[2026-10-05 04:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:51: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-10-05 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 04:51: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-10-05 04: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-10-05 04:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:51: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-10-05 04:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535852544001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535852544001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:51:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 04:51:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535852544001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":204172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:51:02] local.INFO: GPS data processed {"connection_id":204172,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:51:02] local.INFO: Acknowledgment sent {"connection_id":204172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:51:05] local.INFO: TCP Data received {"connection_id":207166,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:51:05] local.INFO: Processing buffer {"connection_id":207166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:51:05] local.INFO: IMEI packet received {"connection_id":207166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":207166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:51:06] local.INFO: TCP Data received {"connection_id":207166,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a10936f0f0012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10936f0f0012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:51:06] local.INFO: Processing buffer {"connection_id":207166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10936f0f0012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:51:06] local.INFO: Packet analysis {"connection_id":207166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10936"} 
[2026-10-05 04:51:06] local.INFO: Extracted packet for processing {"connection_id":207166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10936"} 
[2026-10-05 04:51:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535848192001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791155958000,"timestamp_ms":1791155958000,"timestamp_seconds":1791155958,"priority":1,"record_length":96,"hex_timestamp":"000001a10936f0f0"} 
[2026-10-05 04:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:51:06] 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-10-05 04:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535848192001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535848192001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:51:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:51:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535848192001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":207166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:51:06] local.INFO: GPS data processed {"connection_id":207166,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:51:06] local.INFO: Acknowledgment sent {"connection_id":207166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:51:33] local.INFO: TCP Data received {"connection_id":204172,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:51:33] local.INFO: Processing buffer {"connection_id":204172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:51:33] local.INFO: Packet analysis {"connection_id":204172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10937"} 
[2026-10-05 04:51:33] local.INFO: Extracted packet for processing {"connection_id":204172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10937"} 
[2026-10-05 04:51:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535852544001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:51: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-10-05 04:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791155975000,"timestamp_ms":1791155975000,"timestamp_seconds":1791155975,"priority":1,"record_length":96,"hex_timestamp":"000001a109373358"} 
[2026-10-05 04:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:51:33] 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-10-05 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 04:51:33] 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-10-05 04: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-10-05 04:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:51: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-10-05 04:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535852544001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535852544001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:51:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 04:51:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535852544001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":204172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:51:33] local.INFO: GPS data processed {"connection_id":204172,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:51:33] local.INFO: Acknowledgment sent {"connection_id":204172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:51:38] local.INFO: TCP Data received {"connection_id":207166,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a10936f0f0012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10936f0f0012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:51:38] local.INFO: Processing buffer {"connection_id":207166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10936f0f0012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:51:38] local.INFO: Packet analysis {"connection_id":207166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10936"} 
[2026-10-05 04:51:38] local.INFO: Extracted packet for processing {"connection_id":207166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10936"} 
[2026-10-05 04:51:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535848192001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791155958000,"timestamp_ms":1791155958000,"timestamp_seconds":1791155958,"priority":1,"record_length":96,"hex_timestamp":"000001a10936f0f0"} 
[2026-10-05 04:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:51:38] 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-10-05 04:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535848192001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535848192001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:51:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:51:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535848192001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":207166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:51:38] local.INFO: GPS data processed {"connection_id":207166,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:51:38] local.INFO: Acknowledgment sent {"connection_id":207166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:51:56] local.INFO: TCP Data received {"connection_id":204085,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:51:56] local.INFO: Processing buffer {"connection_id":204085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:51:56] local.INFO: IMEI packet received {"connection_id":204085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":204085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:52:01] local.INFO: TCP Data received {"connection_id":207167,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:52:01] local.INFO: Processing buffer {"connection_id":207167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:52:01] local.INFO: IMEI packet received {"connection_id":207167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":207167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:52:01] local.INFO: TCP Data received {"connection_id":204085,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:52:01] local.INFO: Processing buffer {"connection_id":204085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:52:01] local.INFO: IMEI packet received {"connection_id":204085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":204085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:52:02] local.INFO: TCP Data received {"connection_id":204085,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:52:02] local.INFO: Processing buffer {"connection_id":204085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:52:02] local.INFO: Packet analysis {"connection_id":204085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10937"} 
[2026-10-05 04:52:02] local.INFO: Extracted packet for processing {"connection_id":204085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10937"} 
[2026-10-05 04:52:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535852544001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:52: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-10-05 04:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791155975000,"timestamp_ms":1791155975000,"timestamp_seconds":1791155975,"priority":1,"record_length":96,"hex_timestamp":"000001a109373358"} 
[2026-10-05 04:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:52: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-10-05 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 04:52: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-10-05 04: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-10-05 04:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535852544001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535852544001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:52:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 04:52:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535852544001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":204085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:52:02] local.INFO: GPS data processed {"connection_id":204085,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:52:02] local.INFO: Acknowledgment sent {"connection_id":204085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:52:05] local.INFO: TCP Data received {"connection_id":207167,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:52:05] local.INFO: Processing buffer {"connection_id":207167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:52:05] local.INFO: IMEI packet received {"connection_id":207167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":207167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:52:06] local.INFO: TCP Data received {"connection_id":207167,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a10936f0f0012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10936f0f0012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:52:06] local.INFO: Processing buffer {"connection_id":207167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10936f0f0012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:52:06] local.INFO: Packet analysis {"connection_id":207167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10936"} 
[2026-10-05 04:52:06] local.INFO: Extracted packet for processing {"connection_id":207167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10936"} 
[2026-10-05 04:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535848192001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791155958000,"timestamp_ms":1791155958000,"timestamp_seconds":1791155958,"priority":1,"record_length":96,"hex_timestamp":"000001a10936f0f0"} 
[2026-10-05 04:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:52:06] 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-10-05 04:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535848192001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535848192001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:52:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:52:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535848192001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":207167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:52:06] local.INFO: GPS data processed {"connection_id":207167,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:52:06] local.INFO: Acknowledgment sent {"connection_id":207167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:52:33] local.INFO: TCP Data received {"connection_id":204085,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:52:33] local.INFO: Processing buffer {"connection_id":204085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:52:33] local.INFO: Packet analysis {"connection_id":204085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10937"} 
[2026-10-05 04:52:33] local.INFO: Extracted packet for processing {"connection_id":204085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10937"} 
[2026-10-05 04:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535852544001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04: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-10-05 04:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791155975000,"timestamp_ms":1791155975000,"timestamp_seconds":1791155975,"priority":1,"record_length":96,"hex_timestamp":"000001a109373358"} 
[2026-10-05 04:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:52:33] 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-10-05 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 04:52:33] 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-10-05 04: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-10-05 04:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04: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-10-05 04:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535852544001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535852544001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:52:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 04:52:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535852544001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":204085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:52:33] local.INFO: GPS data processed {"connection_id":204085,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:52:33] local.INFO: Acknowledgment sent {"connection_id":204085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:52:37] local.INFO: TCP Data received {"connection_id":207167,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a10936f0f0012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10936f0f0012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:52:37] local.INFO: Processing buffer {"connection_id":207167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10936f0f0012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:52:37] local.INFO: Packet analysis {"connection_id":207167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10936"} 
[2026-10-05 04:52:37] local.INFO: Extracted packet for processing {"connection_id":207167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10936"} 
[2026-10-05 04:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535848192001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791155958000,"timestamp_ms":1791155958000,"timestamp_seconds":1791155958,"priority":1,"record_length":96,"hex_timestamp":"000001a10936f0f0"} 
[2026-10-05 04:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:52:37] 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-10-05 04:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535848192001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535848192001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:52:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:52:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535848192001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":207167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:52:37] local.INFO: GPS data processed {"connection_id":207167,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:52:37] local.INFO: Acknowledgment sent {"connection_id":207167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:52:56] local.INFO: TCP Data received {"connection_id":204173,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:52:56] local.INFO: Processing buffer {"connection_id":204173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:52:56] local.INFO: IMEI packet received {"connection_id":204173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":204173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:53:00] local.INFO: TCP Data received {"connection_id":204086,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:53:00] local.INFO: Processing buffer {"connection_id":204086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:53:00] local.INFO: IMEI packet received {"connection_id":204086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":204086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:53:01] local.INFO: TCP Data received {"connection_id":204173,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:53:01] local.INFO: Processing buffer {"connection_id":204173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:53:01] local.INFO: IMEI packet received {"connection_id":204173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":204173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:53:04] local.INFO: TCP Data received {"connection_id":204173,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:53:04] local.INFO: Processing buffer {"connection_id":204173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:53:04] local.INFO: Packet analysis {"connection_id":204173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10937"} 
[2026-10-05 04:53:04] local.INFO: Extracted packet for processing {"connection_id":204173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10937"} 
[2026-10-05 04:53:04] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535852544001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:53: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-10-05 04:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791155975000,"timestamp_ms":1791155975000,"timestamp_seconds":1791155975,"priority":1,"record_length":96,"hex_timestamp":"000001a109373358"} 
[2026-10-05 04:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:53: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-10-05 04:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 04:53: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-10-05 04: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-10-05 04:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":204173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":204173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":204173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:53: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-10-05 04:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535852544001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535852544001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:53:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 04:53:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535852544001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":204173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:53:04] local.INFO: GPS data processed {"connection_id":204173,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:53:04] local.INFO: Acknowledgment sent {"connection_id":204173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:53:05] local.INFO: TCP Data received {"connection_id":204086,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:53:05] local.INFO: Processing buffer {"connection_id":204086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:53:05] local.INFO: IMEI packet received {"connection_id":204086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":204086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:53:06] local.INFO: TCP Data received {"connection_id":204086,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a10936f0f0012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10936f0f0012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:53:06] local.INFO: Processing buffer {"connection_id":204086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10936f0f0012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:53:06] local.INFO: Packet analysis {"connection_id":204086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10936"} 
[2026-10-05 04:53:06] local.INFO: Extracted packet for processing {"connection_id":204086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10936"} 
[2026-10-05 04:53:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535848192001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791155958000,"timestamp_ms":1791155958000,"timestamp_seconds":1791155958,"priority":1,"record_length":96,"hex_timestamp":"000001a10936f0f0"} 
[2026-10-05 04:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:53:06] 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-10-05 04:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535848192001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535848192001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:53:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:53:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535848192001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":204086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965360,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:53:06] local.INFO: GPS data processed {"connection_id":204086,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:53:06] local.INFO: Acknowledgment sent {"connection_id":204086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:53:35] local.INFO: TCP Data received {"connection_id":204173,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:53:35] local.INFO: Processing buffer {"connection_id":204173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:53:35] local.INFO: Packet analysis {"connection_id":204173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10937"} 
[2026-10-05 04:53:35] local.INFO: Extracted packet for processing {"connection_id":204173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10937"} 
[2026-10-05 04:53:35] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535852544001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04: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-10-05 04:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791155975000,"timestamp_ms":1791155975000,"timestamp_seconds":1791155975,"priority":1,"record_length":96,"hex_timestamp":"000001a109373358"} 
[2026-10-05 04:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:53:35] 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-10-05 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 04:53:35] 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-10-05 04: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-10-05 04:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":204173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":204173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":204173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535852544001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535852544001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:53:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 04:53:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535852544001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":204173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:53:35] local.INFO: GPS data processed {"connection_id":204173,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:53:35] local.INFO: Acknowledgment sent {"connection_id":204173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:53:37] local.INFO: TCP Data received {"connection_id":204086,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a10936f0f0012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10936f0f0012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:53:37] local.INFO: Processing buffer {"connection_id":204086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10936f0f0012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:53:37] local.INFO: Packet analysis {"connection_id":204086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10936"} 
[2026-10-05 04:53:37] local.INFO: Extracted packet for processing {"connection_id":204086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10936"} 
[2026-10-05 04:53:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535848192001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791155958000,"timestamp_ms":1791155958000,"timestamp_seconds":1791155958,"priority":1,"record_length":96,"hex_timestamp":"000001a10936f0f0"} 
[2026-10-05 04:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:53:37] 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-10-05 04:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535848192001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535848192001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:53:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:53:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535848192001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":204086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:53:37] local.INFO: GPS data processed {"connection_id":204086,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:53:37] local.INFO: Acknowledgment sent {"connection_id":204086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:53:55] local.INFO: TCP Data received {"connection_id":205614,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:53:55] local.INFO: Processing buffer {"connection_id":205614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:53:55] local.INFO: IMEI packet received {"connection_id":205614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":205614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:54:00] local.INFO: TCP Data received {"connection_id":204174,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:54:00] local.INFO: Processing buffer {"connection_id":204174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:54:00] local.INFO: IMEI packet received {"connection_id":204174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":204174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:54:01] local.INFO: TCP Data received {"connection_id":205614,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:54:01] local.INFO: Processing buffer {"connection_id":205614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:54:01] local.INFO: IMEI packet received {"connection_id":205614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":205614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:54:02] local.INFO: TCP Data received {"connection_id":205614,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:54:02] local.INFO: Processing buffer {"connection_id":205614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:54:02] local.INFO: Packet analysis {"connection_id":205614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10937"} 
[2026-10-05 04:54:02] local.INFO: Extracted packet for processing {"connection_id":205614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10937"} 
[2026-10-05 04:54:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535852544001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:54: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-10-05 04:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791155975000,"timestamp_ms":1791155975000,"timestamp_seconds":1791155975,"priority":1,"record_length":96,"hex_timestamp":"000001a109373358"} 
[2026-10-05 04:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:54: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-10-05 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 04:54: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-10-05 04: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-10-05 04:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:54:02] 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-10-05 04:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535852544001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535852544001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:54:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 04:54:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535852544001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":205614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:54:02] local.INFO: GPS data processed {"connection_id":205614,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:54:02] local.INFO: Acknowledgment sent {"connection_id":205614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:54:05] local.INFO: TCP Data received {"connection_id":204174,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:54:05] local.INFO: Processing buffer {"connection_id":204174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:54:05] local.INFO: IMEI packet received {"connection_id":204174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":204174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:54:06] local.INFO: TCP Data received {"connection_id":204174,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a10936f0f0012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10936f0f0012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:54:06] local.INFO: Processing buffer {"connection_id":204174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10936f0f0012d7c2ac005dac8a0000900bf24..."} 
[2026-10-05 04:54:06] local.INFO: Packet analysis {"connection_id":204174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10936"} 
[2026-10-05 04:54:06] local.INFO: Extracted packet for processing {"connection_id":204174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10936"} 
[2026-10-05 04:54:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":9,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535848192001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791155958000,"timestamp_ms":1791155958000,"timestamp_seconds":1791155958,"priority":1,"record_length":96,"hex_timestamp":"000001a10936f0f0"} 
[2026-10-05 04:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:54:06] 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-10-05 04: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-10-05 04:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535848192001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535848192001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:54:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:54:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535848192001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":204174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965364,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:54:06] local.INFO: GPS data processed {"connection_id":204174,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:54:06] local.INFO: Acknowledgment sent {"connection_id":204174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:54:33] local.INFO: TCP Data received {"connection_id":205614,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:54:33] local.INFO: Processing buffer {"connection_id":205614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:54:33] local.INFO: Packet analysis {"connection_id":205614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10937"} 
[2026-10-05 04:54:33] local.INFO: Extracted packet for processing {"connection_id":205614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10937"} 
[2026-10-05 04:54:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535852544001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:54: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-10-05 04:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791155975000,"timestamp_ms":1791155975000,"timestamp_seconds":1791155975,"priority":1,"record_length":96,"hex_timestamp":"000001a109373358"} 
[2026-10-05 04:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:54:33] 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-10-05 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 04:54:33] 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-10-05 04: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-10-05 04:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:54:33] 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-10-05 04:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535852544001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535852544001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:54:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 04:54:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535852544001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":205614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:54:33] local.INFO: GPS data processed {"connection_id":205614,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:54:33] local.INFO: Acknowledgment sent {"connection_id":205614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:54:37] local.INFO: TCP Data received {"connection_id":204174,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:54:37] local.INFO: Processing buffer {"connection_id":204174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:54:37] local.INFO: Packet analysis {"connection_id":204174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:54:37] local.INFO: Extracted packet for processing {"connection_id":204174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:54:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535925248001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791156259000,"timestamp_ms":1791156259000,"timestamp_seconds":1791156259,"priority":1,"record_length":96,"hex_timestamp":"000001a1093b88b8"} 
[2026-10-05 04:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:54:37] 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-10-05 04: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-10-05 04:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535925248001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535925248001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:54:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:54:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535925248001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":204174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:54:37] local.INFO: GPS data processed {"connection_id":204174,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:54:37] local.INFO: Acknowledgment sent {"connection_id":204174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:55:00] local.INFO: TCP Data received {"connection_id":207170,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:55:00] local.INFO: Processing buffer {"connection_id":207170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:55:00] local.INFO: IMEI packet received {"connection_id":207170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":207170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:55:01] local.INFO: TCP Data received {"connection_id":207169,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:55:01] local.INFO: Processing buffer {"connection_id":207169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:55:01] local.INFO: IMEI packet received {"connection_id":207169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":207169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:55:05] local.INFO: TCP Data received {"connection_id":207170,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:55:05] local.INFO: Processing buffer {"connection_id":207170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:55:05] local.INFO: IMEI packet received {"connection_id":207170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":207170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:55:06] local.INFO: TCP Data received {"connection_id":207170,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:55:06] local.INFO: Processing buffer {"connection_id":207170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:55:06] local.INFO: Packet analysis {"connection_id":207170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:55:06] local.INFO: Extracted packet for processing {"connection_id":207170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:55:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535925248001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791156259000,"timestamp_ms":1791156259000,"timestamp_seconds":1791156259,"priority":1,"record_length":96,"hex_timestamp":"000001a1093b88b8"} 
[2026-10-05 04:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:55:06] 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-10-05 04:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:55: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-10-05 04:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535925248001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535925248001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:55:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:55:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535925248001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":207170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:55:06] local.INFO: GPS data processed {"connection_id":207170,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:55:06] local.INFO: Acknowledgment sent {"connection_id":207170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:55:06] local.INFO: TCP Data received {"connection_id":207169,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:55:06] local.INFO: Processing buffer {"connection_id":207169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:55:06] local.INFO: IMEI packet received {"connection_id":207169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":207169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:55:06] local.INFO: TCP Data received {"connection_id":207169,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:55:06] local.INFO: Processing buffer {"connection_id":207169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:55:06] local.INFO: Packet analysis {"connection_id":207169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10937"} 
[2026-10-05 04:55:06] local.INFO: Extracted packet for processing {"connection_id":207169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10937"} 
[2026-10-05 04:55:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535852544001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:55: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-10-05 04:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791155975000,"timestamp_ms":1791155975000,"timestamp_seconds":1791155975,"priority":1,"record_length":96,"hex_timestamp":"000001a109373358"} 
[2026-10-05 04:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:55:06] 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-10-05 04:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 04:55:06] 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-10-05 04:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:55: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-10-05 04:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535852544001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535852544001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:55:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 04:55:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535852544001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":207169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:55:07] local.INFO: GPS data processed {"connection_id":207169,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:55:07] local.INFO: Acknowledgment sent {"connection_id":207169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:55:11] local.INFO: TCP Data received {"connection_id":207169,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:55:11] local.INFO: Processing buffer {"connection_id":207169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109373358012d7f91c005afd9f00016010121..."} 
[2026-10-05 04:55:11] local.INFO: Packet analysis {"connection_id":207169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10937"} 
[2026-10-05 04:55:11] local.INFO: Extracted packet for processing {"connection_id":207169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10937"} 
[2026-10-05 04:55:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":22,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535852544001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791155975000,"timestamp_ms":1791155975000,"timestamp_seconds":1791155975,"priority":1,"record_length":96,"hex_timestamp":"000001a109373358"} 
[2026-10-05 04:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:55:11] 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-10-05 04:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 04:55:11] 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-10-05 04:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535852544001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535852544001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:55:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 04:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535852544001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":207169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:55:11] local.INFO: GPS data processed {"connection_id":207169,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:55:11] local.INFO: Acknowledgment sent {"connection_id":207169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:55:38] local.INFO: TCP Data received {"connection_id":207170,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:55:38] local.INFO: Processing buffer {"connection_id":207170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:55:38] local.INFO: Packet analysis {"connection_id":207170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:55:38] local.INFO: Extracted packet for processing {"connection_id":207170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:55:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535925248001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791156259000,"timestamp_ms":1791156259000,"timestamp_seconds":1791156259,"priority":1,"record_length":96,"hex_timestamp":"000001a1093b88b8"} 
[2026-10-05 04:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:55:38] 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-10-05 04: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-10-05 04:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535925248001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535925248001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:55:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:55:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535925248001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":207170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:55:38] local.INFO: GPS data processed {"connection_id":207170,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:55:38] local.INFO: Acknowledgment sent {"connection_id":207170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:55:42] local.INFO: TCP Data received {"connection_id":204176,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204176,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:55:42] local.INFO: Processing buffer {"connection_id":204176,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 04:55:42] local.INFO: IMEI packet received {"connection_id":204176,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 04:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":204176,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:55:55] local.INFO: TCP Data received {"connection_id":204177,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:55:55] local.INFO: Processing buffer {"connection_id":204177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:55:55] local.INFO: IMEI packet received {"connection_id":204177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":204177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:56:00] local.INFO: TCP Data received {"connection_id":204178,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:56:00] local.INFO: Processing buffer {"connection_id":204178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:56:00] local.INFO: IMEI packet received {"connection_id":204178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":204178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:56:01] local.INFO: TCP Data received {"connection_id":204177,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:56:01] local.INFO: Processing buffer {"connection_id":204177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:56:01] local.INFO: IMEI packet received {"connection_id":204177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":204177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:56:02] local.INFO: TCP Data received {"connection_id":204177,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1093bcb20012d7f91c005afd9f0001c010122..."} 
[2026-10-05 04:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1093bcb20012d7f91c005afd9f0001c010122..."} 
[2026-10-05 04:56:02] local.INFO: Processing buffer {"connection_id":204177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1093bcb20012d7f91c005afd9f0001c010122..."} 
[2026-10-05 04:56:02] local.INFO: Packet analysis {"connection_id":204177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:56:02] local.INFO: Extracted packet for processing {"connection_id":204177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535929600001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:56:02] 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-10-05 04:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791156276000,"timestamp_ms":1791156276000,"timestamp_seconds":1791156276,"priority":1,"record_length":96,"hex_timestamp":"000001a1093bcb20"} 
[2026-10-05 04:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:56: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-10-05 04: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 04:56:02] 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-10-05 04: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-10-05 04:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04: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-10-05 04:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535929600001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535929600001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:56:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:56:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535929600001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":204177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:56:02] local.INFO: GPS data processed {"connection_id":204177,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:56:02] local.INFO: Acknowledgment sent {"connection_id":204177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:56:05] local.INFO: TCP Data received {"connection_id":204178,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:56:05] local.INFO: Processing buffer {"connection_id":204178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:56:05] local.INFO: IMEI packet received {"connection_id":204178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":204178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:56:06] local.INFO: TCP Data received {"connection_id":204178,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:56:06] local.INFO: Processing buffer {"connection_id":204178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:56:06] local.INFO: Packet analysis {"connection_id":204178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:56:06] local.INFO: Extracted packet for processing {"connection_id":204178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:56:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535925248001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791156259000,"timestamp_ms":1791156259000,"timestamp_seconds":1791156259,"priority":1,"record_length":96,"hex_timestamp":"000001a1093b88b8"} 
[2026-10-05 04:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:56:06] 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-10-05 04:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:56: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-10-05 04:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535925248001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535925248001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:56:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:56:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535925248001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":204178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:56:06] local.INFO: GPS data processed {"connection_id":204178,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:56:06] local.INFO: Acknowledgment sent {"connection_id":204178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:56:33] local.INFO: TCP Data received {"connection_id":204177,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1093bcb20012d7f91c005afd9f0001c010122..."} 
[2026-10-05 04:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1093bcb20012d7f91c005afd9f0001c010122..."} 
[2026-10-05 04:56:33] local.INFO: Processing buffer {"connection_id":204177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1093bcb20012d7f91c005afd9f0001c010122..."} 
[2026-10-05 04:56:33] local.INFO: Packet analysis {"connection_id":204177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:56:33] local.INFO: Extracted packet for processing {"connection_id":204177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:56:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535929600001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:56: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-10-05 04:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791156276000,"timestamp_ms":1791156276000,"timestamp_seconds":1791156276,"priority":1,"record_length":96,"hex_timestamp":"000001a1093bcb20"} 
[2026-10-05 04:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:56:33] 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-10-05 04: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 04:56:33] 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-10-05 04: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-10-05 04:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:56: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-10-05 04:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535929600001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535929600001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:56:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:56:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535929600001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":204177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:56:33] local.INFO: GPS data processed {"connection_id":204177,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:56:33] local.INFO: Acknowledgment sent {"connection_id":204177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:56:37] local.INFO: TCP Data received {"connection_id":204178,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:56:37] local.INFO: Processing buffer {"connection_id":204178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:56:37] local.INFO: Packet analysis {"connection_id":204178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:56:37] local.INFO: Extracted packet for processing {"connection_id":204178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:56:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535925248001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791156259000,"timestamp_ms":1791156259000,"timestamp_seconds":1791156259,"priority":1,"record_length":96,"hex_timestamp":"000001a1093b88b8"} 
[2026-10-05 04:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:56:37] 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-10-05 04:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:56: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-10-05 04:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535925248001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535925248001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:56:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:56:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535925248001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":204178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:56:37] local.INFO: GPS data processed {"connection_id":204178,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:56:37] local.INFO: Acknowledgment sent {"connection_id":204178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:56:55] local.INFO: TCP Data received {"connection_id":204087,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:56:55] local.INFO: Processing buffer {"connection_id":204087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:56:55] local.INFO: IMEI packet received {"connection_id":204087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":204087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:57:00] local.INFO: TCP Data received {"connection_id":207171,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:57:00] local.INFO: Processing buffer {"connection_id":207171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:57:00] local.INFO: IMEI packet received {"connection_id":207171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":207171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:57:01] local.INFO: TCP Data received {"connection_id":204087,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:57:01] local.INFO: Processing buffer {"connection_id":204087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:57:01] local.INFO: IMEI packet received {"connection_id":204087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":204087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:57:01] local.INFO: TCP Data received {"connection_id":204087,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1093bcb20012d7f91c005afd9f0001c010122..."} 
[2026-10-05 04:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1093bcb20012d7f91c005afd9f0001c010122..."} 
[2026-10-05 04:57:01] local.INFO: Processing buffer {"connection_id":204087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1093bcb20012d7f91c005afd9f0001c010122..."} 
[2026-10-05 04:57:01] local.INFO: Packet analysis {"connection_id":204087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:57:01] local.INFO: Extracted packet for processing {"connection_id":204087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:57:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535929600001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:57: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-10-05 04:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791156276000,"timestamp_ms":1791156276000,"timestamp_seconds":1791156276,"priority":1,"record_length":96,"hex_timestamp":"000001a1093bcb20"} 
[2026-10-05 04:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:57:01] 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-10-05 04: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 04:57: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-10-05 04: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-10-05 04:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:57: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-10-05 04:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535929600001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535929600001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:57:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:57:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535929600001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":204087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:57:02] local.INFO: GPS data processed {"connection_id":204087,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:57:02] local.INFO: Acknowledgment sent {"connection_id":204087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:57:05] local.INFO: TCP Data received {"connection_id":207171,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:57:05] local.INFO: Processing buffer {"connection_id":207171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:57:05] local.INFO: IMEI packet received {"connection_id":207171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":207171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:57:06] local.INFO: TCP Data received {"connection_id":207171,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:57:06] local.INFO: Processing buffer {"connection_id":207171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:57:06] local.INFO: Packet analysis {"connection_id":207171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:57:06] local.INFO: Extracted packet for processing {"connection_id":207171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:57:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535925248001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791156259000,"timestamp_ms":1791156259000,"timestamp_seconds":1791156259,"priority":1,"record_length":96,"hex_timestamp":"000001a1093b88b8"} 
[2026-10-05 04:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:57:06] 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-10-05 04:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:57: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-10-05 04:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535925248001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535925248001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:57:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:57:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535925248001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":207171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:57:06] local.INFO: GPS data processed {"connection_id":207171,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:57:06] local.INFO: Acknowledgment sent {"connection_id":207171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:57:32] local.INFO: TCP Data received {"connection_id":204087,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1093bcb20012d7f91c005afd9f0001c010122..."} 
[2026-10-05 04:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1093bcb20012d7f91c005afd9f0001c010122..."} 
[2026-10-05 04:57:32] local.INFO: Processing buffer {"connection_id":204087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1093bcb20012d7f91c005afd9f0001c010122..."} 
[2026-10-05 04:57:32] local.INFO: Packet analysis {"connection_id":204087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:57:32] local.INFO: Extracted packet for processing {"connection_id":204087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:57:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 04:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535929600001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:57: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-10-05 04:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791156276000,"timestamp_ms":1791156276000,"timestamp_seconds":1791156276,"priority":1,"record_length":96,"hex_timestamp":"000001a1093bcb20"} 
[2026-10-05 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-10-05 04:57:32] 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-10-05 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":194,"data_length":795,"current_offset":136} 
[2026-10-05 04:57:32] 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-10-05 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-10-05 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-10-05 04:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:57: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-10-05 04:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535929600001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535929600001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:57:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:57:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535929600001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":204087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:57:32] local.INFO: GPS data processed {"connection_id":204087,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:57:32] local.INFO: Acknowledgment sent {"connection_id":204087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:57:38] local.INFO: TCP Data received {"connection_id":207171,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:57:38] local.INFO: Processing buffer {"connection_id":207171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:57:38] local.INFO: Packet analysis {"connection_id":207171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:57:38] local.INFO: Extracted packet for processing {"connection_id":207171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:57:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535925248001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791156259000,"timestamp_ms":1791156259000,"timestamp_seconds":1791156259,"priority":1,"record_length":96,"hex_timestamp":"000001a1093b88b8"} 
[2026-10-05 04:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04: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":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:57:38] 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-10-05 04: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-10-05 04:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535925248001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535925248001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:57:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:57:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535925248001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":207171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:57:38] local.INFO: GPS data processed {"connection_id":207171,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:57:38] local.INFO: Acknowledgment sent {"connection_id":207171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:57:55] local.INFO: TCP Data received {"connection_id":207172,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:57:55] local.INFO: Processing buffer {"connection_id":207172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:57:55] local.INFO: IMEI packet received {"connection_id":207172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":207172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:58:00] local.INFO: TCP Data received {"connection_id":204181,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:58:00] local.INFO: Processing buffer {"connection_id":204181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:58:00] local.INFO: IMEI packet received {"connection_id":204181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":204181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:58:01] local.INFO: TCP Data received {"connection_id":207172,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:58:01] local.INFO: Processing buffer {"connection_id":207172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:58:01] local.INFO: IMEI packet received {"connection_id":207172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":207172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:58:02] local.INFO: TCP Data received {"connection_id":207172,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1093bcb20012d7f91c005afd9f0001c010122..."} 
[2026-10-05 04:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1093bcb20012d7f91c005afd9f0001c010122..."} 
[2026-10-05 04:58:02] local.INFO: Processing buffer {"connection_id":207172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1093bcb20012d7f91c005afd9f0001c010122..."} 
[2026-10-05 04:58:02] local.INFO: Packet analysis {"connection_id":207172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:58:02] local.INFO: Extracted packet for processing {"connection_id":207172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:58:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535929600001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:58:02] 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-10-05 04:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791156276000,"timestamp_ms":1791156276000,"timestamp_seconds":1791156276,"priority":1,"record_length":96,"hex_timestamp":"000001a1093bcb20"} 
[2026-10-05 04:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:58: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-10-05 04: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 04:58:02] 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-10-05 04: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-10-05 04:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:58: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-10-05 04:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535929600001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535929600001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:58:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:58:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535929600001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":207172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:58:02] local.INFO: GPS data processed {"connection_id":207172,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:58:02] local.INFO: Acknowledgment sent {"connection_id":207172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:58:05] local.INFO: TCP Data received {"connection_id":204181,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:58:05] local.INFO: Processing buffer {"connection_id":204181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:58:05] local.INFO: IMEI packet received {"connection_id":204181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":204181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:58:06] local.INFO: TCP Data received {"connection_id":204181,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:58:06] local.INFO: Processing buffer {"connection_id":204181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:58:06] local.INFO: Packet analysis {"connection_id":204181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:58:06] local.INFO: Extracted packet for processing {"connection_id":204181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:58:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535925248001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791156259000,"timestamp_ms":1791156259000,"timestamp_seconds":1791156259,"priority":1,"record_length":96,"hex_timestamp":"000001a1093b88b8"} 
[2026-10-05 04:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:58:06] 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-10-05 04:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:58: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-10-05 04:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535925248001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535925248001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:58:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:58:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535925248001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":204181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:58:06] local.INFO: GPS data processed {"connection_id":204181,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:58:06] local.INFO: Acknowledgment sent {"connection_id":204181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:58:33] local.INFO: TCP Data received {"connection_id":207172,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1093bcb20012d7f91c005afd9f0001c010122..."} 
[2026-10-05 04:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1093bcb20012d7f91c005afd9f0001c010122..."} 
[2026-10-05 04:58:33] local.INFO: Processing buffer {"connection_id":207172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1093bcb20012d7f91c005afd9f0001c010122..."} 
[2026-10-05 04:58:33] local.INFO: Packet analysis {"connection_id":207172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:58:33] local.INFO: Extracted packet for processing {"connection_id":207172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:58:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04: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-10-05 04:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535929600001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:58: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-10-05 04:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791156276000,"timestamp_ms":1791156276000,"timestamp_seconds":1791156276,"priority":1,"record_length":96,"hex_timestamp":"000001a1093bcb20"} 
[2026-10-05 04:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:58:33] 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-10-05 04: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 04:58:33] 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-10-05 04: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-10-05 04:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:58: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-10-05 04:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535929600001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535929600001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:58:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:58:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535929600001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":207172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:58:33] local.INFO: GPS data processed {"connection_id":207172,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:58:33] local.INFO: Acknowledgment sent {"connection_id":207172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:58:37] local.INFO: TCP Data received {"connection_id":204181,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:58:37] local.INFO: Processing buffer {"connection_id":204181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:58:37] local.INFO: Packet analysis {"connection_id":204181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:58:37] local.INFO: Extracted packet for processing {"connection_id":204181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:58:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535925248001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791156259000,"timestamp_ms":1791156259000,"timestamp_seconds":1791156259,"priority":1,"record_length":96,"hex_timestamp":"000001a1093b88b8"} 
[2026-10-05 04:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:58:37] 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-10-05 04:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:58: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-10-05 04:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535925248001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535925248001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:58:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:58:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535925248001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":204181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:58:37] local.INFO: GPS data processed {"connection_id":204181,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:58:37] local.INFO: Acknowledgment sent {"connection_id":204181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:59:01] local.INFO: TCP Data received {"connection_id":205615,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:59:01] local.INFO: Processing buffer {"connection_id":205615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:59:01] local.INFO: IMEI packet received {"connection_id":205615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":205615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:59:05] local.INFO: TCP Data received {"connection_id":204089,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204089,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:59:05] local.INFO: Processing buffer {"connection_id":204089,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:59:05] local.INFO: IMEI packet received {"connection_id":204089,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 04:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":204089,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 04:59:06] local.INFO: TCP Data received {"connection_id":205615,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:59:06] local.INFO: Processing buffer {"connection_id":205615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:59:06] local.INFO: IMEI packet received {"connection_id":205615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 04:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":205615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:59:06] local.INFO: TCP Data received {"connection_id":205615,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1093bcb20012d7f91c005afd9f0001c010122..."} 
[2026-10-05 04:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1093bcb20012d7f91c005afd9f0001c010122..."} 
[2026-10-05 04:59:06] local.INFO: Processing buffer {"connection_id":205615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1093bcb20012d7f91c005afd9f0001c010122..."} 
[2026-10-05 04:59:06] local.INFO: Packet analysis {"connection_id":205615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:59:06] local.INFO: Extracted packet for processing {"connection_id":205615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:59:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535929600001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:59:06] 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-10-05 04:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791156276000,"timestamp_ms":1791156276000,"timestamp_seconds":1791156276,"priority":1,"record_length":96,"hex_timestamp":"000001a1093bcb20"} 
[2026-10-05 04:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:59:06] 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-10-05 04:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 04:59:06] 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-10-05 04:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:59: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-10-05 04:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535929600001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535929600001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:59:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:59:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535929600001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":205615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:59:06] local.INFO: GPS data processed {"connection_id":205615,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:59:06] local.INFO: Acknowledgment sent {"connection_id":205615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:59:10] local.INFO: TCP Data received {"connection_id":204089,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204089,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:59:10] local.INFO: Processing buffer {"connection_id":204089,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 04:59:10] local.INFO: IMEI packet received {"connection_id":204089,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 04:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":204089,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 04:59:11] local.INFO: TCP Data received {"connection_id":204089,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:59:11] local.INFO: Processing buffer {"connection_id":204089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1093b88b8012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 04:59:11] local.INFO: Packet analysis {"connection_id":204089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:59:11] local.INFO: Extracted packet for processing {"connection_id":204089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:59:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535925248001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791156259000,"timestamp_ms":1791156259000,"timestamp_seconds":1791156259,"priority":1,"record_length":96,"hex_timestamp":"000001a1093b88b8"} 
[2026-10-05 04:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:59:11] 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-10-05 04:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535925248001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535925248001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:59:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535925248001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":204089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:59:11] local.INFO: GPS data processed {"connection_id":204089,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:59:11] local.INFO: Acknowledgment sent {"connection_id":204089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:59:11] local.INFO: TCP Data received {"connection_id":205615,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1093bcb20012d7f91c005afd9f0001c010122..."} 
[2026-10-05 04:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1093bcb20012d7f91c005afd9f0001c010122..."} 
[2026-10-05 04:59:11] local.INFO: Processing buffer {"connection_id":205615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1093bcb20012d7f91c005afd9f0001c010122..."} 
[2026-10-05 04:59:11] local.INFO: Packet analysis {"connection_id":205615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:59:11] local.INFO: Extracted packet for processing {"connection_id":205615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 04:59:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 04:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535929600001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 04:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 04:59:11] 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-10-05 04:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791156276000,"timestamp_ms":1791156276000,"timestamp_seconds":1791156276,"priority":1,"record_length":96,"hex_timestamp":"000001a1093bcb20"} 
[2026-10-05 04:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:59:11] 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-10-05 04:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 04:59:11] 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-10-05 04:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 04:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 04:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 04:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535929600001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 04:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 04:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 04:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535929600001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:59:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 04:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 04:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 04:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535929600001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 04:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":205615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:59:11] local.INFO: GPS data processed {"connection_id":205615,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:59:11] local.INFO: Acknowledgment sent {"connection_id":205615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:59:42] local.INFO: TCP Data received {"connection_id":204089,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 04:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 04:59:42] local.INFO: Processing buffer {"connection_id":204089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 04:59:42] local.INFO: Packet analysis {"connection_id":204089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 04:59:42] local.INFO: Extracted packet for processing {"connection_id":204089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 04:59:42] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 04:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 04:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536002304001,"note":"Value kept but may cause issues"} 
[2026-10-05 04:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 04:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 04:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 04:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791156560000,"timestamp_ms":1791156560000,"timestamp_seconds":1791156560,"priority":1,"record_length":96,"hex_timestamp":"000001a109402080"} 
[2026-10-05 04:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 04:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 04:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 04:59:42] 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-10-05 04:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 04:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 04:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 04:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 04:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 04:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 04:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 04:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 04:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536002304001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 04:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 04:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 04:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536002304001,"description":"Unknown IO ID 0"} 
[2026-10-05 04:59:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 04:59:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 04:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 04:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 04:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536002304001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 04:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":204089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 04:59:42] local.INFO: GPS data processed {"connection_id":204089,"processed":1,"errors":0,"total":1} 
[2026-10-05 04:59:42] local.INFO: Acknowledgment sent {"connection_id":204089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 04:59:56] local.INFO: TCP Data received {"connection_id":204183,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:59:56] local.INFO: Processing buffer {"connection_id":204183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 04:59:56] local.INFO: IMEI packet received {"connection_id":204183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 04:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":204183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:00:00] local.INFO: TCP Data received {"connection_id":207173,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:00:00] local.INFO: Processing buffer {"connection_id":207173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:00:00] local.INFO: IMEI packet received {"connection_id":207173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":207173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:00:01] local.INFO: TCP Data received {"connection_id":204183,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:00:01] local.INFO: Processing buffer {"connection_id":204183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:00:01] local.INFO: IMEI packet received {"connection_id":204183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":204183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:00:02] local.INFO: TCP Data received {"connection_id":204183,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1093bcb20012d7f91c005afd9f0001c010122..."} 
[2026-10-05 05:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1093bcb20012d7f91c005afd9f0001c010122..."} 
[2026-10-05 05:00:02] local.INFO: Processing buffer {"connection_id":204183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1093bcb20012d7f91c005afd9f0001c010122..."} 
[2026-10-05 05:00:02] local.INFO: Packet analysis {"connection_id":204183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 05:00:02] local.INFO: Extracted packet for processing {"connection_id":204183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1093b"} 
[2026-10-05 05:00:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:00: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-10-05 05:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458535929600001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:00:02] 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-10-05 05:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791156276000,"timestamp_ms":1791156276000,"timestamp_seconds":1791156276,"priority":1,"record_length":96,"hex_timestamp":"000001a1093bcb20"} 
[2026-10-05 05:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:00: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-10-05 05:00: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":194,"data_length":795,"current_offset":136} 
[2026-10-05 05:00:02] 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-10-05 05:00: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-10-05 05:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:00: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-10-05 05:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458535929600001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458535929600001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:00:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:00:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458535929600001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":204183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:00:02] local.INFO: GPS data processed {"connection_id":204183,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:00:02] local.INFO: Acknowledgment sent {"connection_id":204183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:00:05] local.INFO: TCP Data received {"connection_id":207173,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:00:05] local.INFO: Processing buffer {"connection_id":207173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:00:05] local.INFO: IMEI packet received {"connection_id":207173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":207173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:00:06] local.INFO: TCP Data received {"connection_id":207173,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:00:06] local.INFO: Processing buffer {"connection_id":207173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:00:06] local.INFO: Packet analysis {"connection_id":207173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:00:06] local.INFO: Extracted packet for processing {"connection_id":207173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536002304001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791156560000,"timestamp_ms":1791156560000,"timestamp_seconds":1791156560,"priority":1,"record_length":96,"hex_timestamp":"000001a109402080"} 
[2026-10-05 05:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:00:06] 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-10-05 05: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-10-05 05:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:00: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-10-05 05:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536002304001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536002304001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:00:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:00:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536002304001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":207173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:00:06] local.INFO: GPS data processed {"connection_id":207173,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:00:06] local.INFO: Acknowledgment sent {"connection_id":207173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:00:32] local.INFO: TCP Data received {"connection_id":204183,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:00:32] local.INFO: Processing buffer {"connection_id":204183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:00:32] local.INFO: Packet analysis {"connection_id":204183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:00:32] local.INFO: Extracted packet for processing {"connection_id":204183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:00:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:00: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-10-05 05:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536006656001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:00: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-10-05 05:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791156577000,"timestamp_ms":1791156577000,"timestamp_seconds":1791156577,"priority":1,"record_length":96,"hex_timestamp":"000001a1094062e8"} 
[2026-10-05 05:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:00:32] 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-10-05 05:00: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":151,"data_length":795,"current_offset":136} 
[2026-10-05 05:00:32] 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-10-05 05:00: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-10-05 05:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:00: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-10-05 05:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536006656001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536006656001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:00:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 05:00:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536006656001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":204183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:00:33] local.INFO: GPS data processed {"connection_id":204183,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:00:33] local.INFO: Acknowledgment sent {"connection_id":204183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:00:37] local.INFO: TCP Data received {"connection_id":207173,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:00:37] local.INFO: Processing buffer {"connection_id":207173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:00:37] local.INFO: Packet analysis {"connection_id":207173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:00:37] local.INFO: Extracted packet for processing {"connection_id":207173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:00:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536002304001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791156560000,"timestamp_ms":1791156560000,"timestamp_seconds":1791156560,"priority":1,"record_length":96,"hex_timestamp":"000001a109402080"} 
[2026-10-05 05:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:00:37] 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-10-05 05:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:00: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-10-05 05:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536002304001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536002304001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:00:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:00:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536002304001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":207173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:00:37] local.INFO: GPS data processed {"connection_id":207173,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:00:37] local.INFO: Acknowledgment sent {"connection_id":207173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:00:56] local.INFO: TCP Data received {"connection_id":204091,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:00:56] local.INFO: Processing buffer {"connection_id":204091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:00:56] local.INFO: IMEI packet received {"connection_id":204091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":204091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:01:00] local.INFO: TCP Data received {"connection_id":205616,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:01:00] local.INFO: Processing buffer {"connection_id":205616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:01:00] local.INFO: IMEI packet received {"connection_id":205616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":205616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:01:01] local.INFO: TCP Data received {"connection_id":204091,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:01:01] local.INFO: Processing buffer {"connection_id":204091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:01:01] local.INFO: IMEI packet received {"connection_id":204091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":204091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:01:01] local.INFO: TCP Data received {"connection_id":204091,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:01:01] local.INFO: Processing buffer {"connection_id":204091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:01:01] local.INFO: Packet analysis {"connection_id":204091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:01:01] local.INFO: Extracted packet for processing {"connection_id":204091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:01:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 05:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536006656001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05: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-10-05 05:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791156577000,"timestamp_ms":1791156577000,"timestamp_seconds":1791156577,"priority":1,"record_length":96,"hex_timestamp":"000001a1094062e8"} 
[2026-10-05 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-10-05 05:01:01] 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-10-05 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 05:01: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-10-05 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-10-05 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-10-05 05:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:01: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-10-05 05:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536006656001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536006656001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:01:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 05:01:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536006656001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":204091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:01:02] local.INFO: GPS data processed {"connection_id":204091,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:01:02] local.INFO: Acknowledgment sent {"connection_id":204091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:01:04] local.INFO: TCP Data received {"connection_id":204090,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:01:04] local.INFO: Processing buffer {"connection_id":204090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:01:04] local.INFO: IMEI packet received {"connection_id":204090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 05:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":204090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:01:05] local.INFO: TCP Data received {"connection_id":205616,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:01:05] local.INFO: Processing buffer {"connection_id":205616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:01:05] local.INFO: IMEI packet received {"connection_id":205616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":205616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:01:05] local.INFO: TCP Data received {"connection_id":205616,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:01:05] local.INFO: Processing buffer {"connection_id":205616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:01:05] local.INFO: Packet analysis {"connection_id":205616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:01:05] local.INFO: Extracted packet for processing {"connection_id":205616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:01:05] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 05:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536002304001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791156560000,"timestamp_ms":1791156560000,"timestamp_seconds":1791156560,"priority":1,"record_length":96,"hex_timestamp":"000001a109402080"} 
[2026-10-05 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-10-05 05:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:01:05] 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-10-05 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-10-05 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-10-05 05:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:01: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-10-05 05:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536002304001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536002304001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:01:05] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:01:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536002304001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":205616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:01:06] local.INFO: GPS data processed {"connection_id":205616,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:01:06] local.INFO: Acknowledgment sent {"connection_id":205616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:01:33] local.INFO: TCP Data received {"connection_id":204091,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:01:33] local.INFO: Processing buffer {"connection_id":204091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:01:33] local.INFO: Packet analysis {"connection_id":204091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:01:33] local.INFO: Extracted packet for processing {"connection_id":204091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:01:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:01: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-10-05 05:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536006656001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:01: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-10-05 05:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791156577000,"timestamp_ms":1791156577000,"timestamp_seconds":1791156577,"priority":1,"record_length":96,"hex_timestamp":"000001a1094062e8"} 
[2026-10-05 05:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:01:33] 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-10-05 05:01: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":151,"data_length":795,"current_offset":136} 
[2026-10-05 05:01:33] 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-10-05 05:01: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-10-05 05:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:01: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-10-05 05:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536006656001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536006656001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:01:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 05:01:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536006656001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":204091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:01:33] local.INFO: GPS data processed {"connection_id":204091,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:01:33] local.INFO: Acknowledgment sent {"connection_id":204091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:01:37] local.INFO: TCP Data received {"connection_id":205616,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:01:37] local.INFO: Processing buffer {"connection_id":205616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:01:37] local.INFO: Packet analysis {"connection_id":205616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:01:37] local.INFO: Extracted packet for processing {"connection_id":205616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:01:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536002304001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791156560000,"timestamp_ms":1791156560000,"timestamp_seconds":1791156560,"priority":1,"record_length":96,"hex_timestamp":"000001a109402080"} 
[2026-10-05 05:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:01:37] 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-10-05 05:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:01: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-10-05 05:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536002304001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536002304001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:01:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:01:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536002304001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":205616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:01:37] local.INFO: GPS data processed {"connection_id":205616,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:01:37] local.INFO: Acknowledgment sent {"connection_id":205616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:01:44] local.INFO: TCP Data received {"connection_id":204184,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204184,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:01:44] local.INFO: Processing buffer {"connection_id":204184,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:01:44] local.INFO: IMEI packet received {"connection_id":204184,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 05:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":204184,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:01:55] local.INFO: TCP Data received {"connection_id":204092,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:01:55] local.INFO: Processing buffer {"connection_id":204092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:01:55] local.INFO: IMEI packet received {"connection_id":204092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":204092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:02:00] local.INFO: TCP Data received {"connection_id":205617,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:02:00] local.INFO: Processing buffer {"connection_id":205617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:02:00] local.INFO: IMEI packet received {"connection_id":205617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":205617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:02:01] local.INFO: TCP Data received {"connection_id":204092,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:02:01] local.INFO: Processing buffer {"connection_id":204092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:02:01] local.INFO: IMEI packet received {"connection_id":204092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":204092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:02:02] local.INFO: TCP Data received {"connection_id":204092,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:02:02] local.INFO: Processing buffer {"connection_id":204092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:02:02] local.INFO: Packet analysis {"connection_id":204092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:02:02] local.INFO: Extracted packet for processing {"connection_id":204092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:02:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536006656001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:02: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-10-05 05:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791156577000,"timestamp_ms":1791156577000,"timestamp_seconds":1791156577,"priority":1,"record_length":96,"hex_timestamp":"000001a1094062e8"} 
[2026-10-05 05:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:02: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-10-05 05: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 05:02:02] 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-10-05 05: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-10-05 05:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536006656001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536006656001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:02:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 05:02:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536006656001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":204092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:02:02] local.INFO: GPS data processed {"connection_id":204092,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:02:02] local.INFO: Acknowledgment sent {"connection_id":204092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:02:05] local.INFO: TCP Data received {"connection_id":205617,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:02:05] local.INFO: Processing buffer {"connection_id":205617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:02:05] local.INFO: IMEI packet received {"connection_id":205617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":205617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:02:06] local.INFO: TCP Data received {"connection_id":205617,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:02:06] local.INFO: Processing buffer {"connection_id":205617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:02:06] local.INFO: Packet analysis {"connection_id":205617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:02:06] local.INFO: Extracted packet for processing {"connection_id":205617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:02:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536002304001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791156560000,"timestamp_ms":1791156560000,"timestamp_seconds":1791156560,"priority":1,"record_length":96,"hex_timestamp":"000001a109402080"} 
[2026-10-05 05:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:02:06] 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-10-05 05:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:02: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-10-05 05:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536002304001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536002304001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:02:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:02:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536002304001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":205617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:02:06] local.INFO: GPS data processed {"connection_id":205617,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:02:06] local.INFO: Acknowledgment sent {"connection_id":205617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:02:33] local.INFO: TCP Data received {"connection_id":204092,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:02:33] local.INFO: Processing buffer {"connection_id":204092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:02:33] local.INFO: Packet analysis {"connection_id":204092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:02:33] local.INFO: Extracted packet for processing {"connection_id":204092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:02:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536006656001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:02: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-10-05 05:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791156577000,"timestamp_ms":1791156577000,"timestamp_seconds":1791156577,"priority":1,"record_length":96,"hex_timestamp":"000001a1094062e8"} 
[2026-10-05 05:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:02:33] 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-10-05 05: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 05:02:33] 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-10-05 05: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-10-05 05:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:02: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-10-05 05:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536006656001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536006656001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:02:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 05:02:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536006656001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":204092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:02:33] local.INFO: GPS data processed {"connection_id":204092,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:02:33] local.INFO: Acknowledgment sent {"connection_id":204092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:02:37] local.INFO: TCP Data received {"connection_id":205617,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:02:37] local.INFO: Processing buffer {"connection_id":205617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:02:37] local.INFO: Packet analysis {"connection_id":205617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:02:37] local.INFO: Extracted packet for processing {"connection_id":205617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:02:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536002304001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791156560000,"timestamp_ms":1791156560000,"timestamp_seconds":1791156560,"priority":1,"record_length":96,"hex_timestamp":"000001a109402080"} 
[2026-10-05 05:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:02:37] 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-10-05 05:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:02: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-10-05 05:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536002304001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536002304001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:02:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:02:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536002304001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":205617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:02:37] local.INFO: GPS data processed {"connection_id":205617,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:02:37] local.INFO: Acknowledgment sent {"connection_id":205617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:02:55] local.INFO: TCP Data received {"connection_id":204093,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:02:55] local.INFO: Processing buffer {"connection_id":204093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:02:55] local.INFO: IMEI packet received {"connection_id":204093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":204093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:03:01] local.INFO: TCP Data received {"connection_id":204093,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:03:01] local.INFO: Processing buffer {"connection_id":204093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:03:01] local.INFO: IMEI packet received {"connection_id":204093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":204093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:03:02] local.INFO: TCP Data received {"connection_id":204093,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:03:02] local.INFO: Processing buffer {"connection_id":204093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:03:02] local.INFO: Packet analysis {"connection_id":204093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:03:02] local.INFO: Extracted packet for processing {"connection_id":204093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:03:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536006656001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:03: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-10-05 05:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791156577000,"timestamp_ms":1791156577000,"timestamp_seconds":1791156577,"priority":1,"record_length":96,"hex_timestamp":"000001a1094062e8"} 
[2026-10-05 05:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:03: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-10-05 05: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 05:03:02] 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-10-05 05: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-10-05 05:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:03: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-10-05 05:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536006656001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536006656001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:03:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 05:03:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536006656001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":204093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:03:02] local.INFO: GPS data processed {"connection_id":204093,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:03:02] local.INFO: Acknowledgment sent {"connection_id":204093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:03:05] local.INFO: TCP Data received {"connection_id":205618,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205618,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:03:05] local.INFO: Processing buffer {"connection_id":205618,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:03:05] local.INFO: IMEI packet received {"connection_id":205618,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":205618,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:03:10] local.INFO: TCP Data received {"connection_id":205618,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205618,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:03:10] local.INFO: Processing buffer {"connection_id":205618,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:03:10] local.INFO: IMEI packet received {"connection_id":205618,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":205618,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:03:11] local.INFO: TCP Data received {"connection_id":205618,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:03:11] local.INFO: Processing buffer {"connection_id":205618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:03:11] local.INFO: Packet analysis {"connection_id":205618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:03:11] local.INFO: Extracted packet for processing {"connection_id":205618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:03:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:03: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-10-05 05:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536002304001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791156560000,"timestamp_ms":1791156560000,"timestamp_seconds":1791156560,"priority":1,"record_length":96,"hex_timestamp":"000001a109402080"} 
[2026-10-05 05:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:03:11] 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-10-05 05:03: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-10-05 05:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:03:11] 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-10-05 05:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536002304001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536002304001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:03:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:03:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536002304001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":205618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:03:11] local.INFO: GPS data processed {"connection_id":205618,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:03:11] local.INFO: Acknowledgment sent {"connection_id":205618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:03:15] local.INFO: TCP Data received {"connection_id":205618,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:03:15] local.INFO: Processing buffer {"connection_id":205618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:03:15] local.INFO: Packet analysis {"connection_id":205618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:03:15] local.INFO: Extracted packet for processing {"connection_id":205618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:03:15] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536002304001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791156560000,"timestamp_ms":1791156560000,"timestamp_seconds":1791156560,"priority":1,"record_length":96,"hex_timestamp":"000001a109402080"} 
[2026-10-05 05:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":205618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":205618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":205618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:03: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-10-05 05:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536002304001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536002304001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:03:15] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:03:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536002304001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":205618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:03:15] local.INFO: GPS data processed {"connection_id":205618,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:03:15] local.INFO: Acknowledgment sent {"connection_id":205618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:03:33] local.INFO: TCP Data received {"connection_id":204093,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:03:33] local.INFO: Processing buffer {"connection_id":204093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:03:33] local.INFO: Packet analysis {"connection_id":204093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:03:33] local.INFO: Extracted packet for processing {"connection_id":204093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536006656001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:03: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-10-05 05:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791156577000,"timestamp_ms":1791156577000,"timestamp_seconds":1791156577,"priority":1,"record_length":96,"hex_timestamp":"000001a1094062e8"} 
[2026-10-05 05:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:03:33] 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-10-05 05: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 05:03:33] 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-10-05 05: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-10-05 05:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:03: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-10-05 05:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536006656001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536006656001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:03:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 05:03:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536006656001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":204093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:03:33] local.INFO: GPS data processed {"connection_id":204093,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:03:33] local.INFO: Acknowledgment sent {"connection_id":204093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:04:00] local.INFO: TCP Data received {"connection_id":207175,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:04:00] local.INFO: Processing buffer {"connection_id":207175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:04:00] local.INFO: IMEI packet received {"connection_id":207175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":207175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:04:01] local.INFO: TCP Data received {"connection_id":207176,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:04:01] local.INFO: Processing buffer {"connection_id":207176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:04:01] local.INFO: IMEI packet received {"connection_id":207176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":207176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:04:05] local.INFO: TCP Data received {"connection_id":207175,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:04:05] local.INFO: Processing buffer {"connection_id":207175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:04:05] local.INFO: IMEI packet received {"connection_id":207175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":207175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:04:06] local.INFO: TCP Data received {"connection_id":207175,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:04:06] local.INFO: Processing buffer {"connection_id":207175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109402080012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:04:06] local.INFO: Packet analysis {"connection_id":207175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:04:06] local.INFO: Extracted packet for processing {"connection_id":207175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:04:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536002304001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791156560000,"timestamp_ms":1791156560000,"timestamp_seconds":1791156560,"priority":1,"record_length":96,"hex_timestamp":"000001a109402080"} 
[2026-10-05 05:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:04:06] 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-10-05 05:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:04: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-10-05 05:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536002304001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536002304001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:04:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:04:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536002304001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":207175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:04:06] local.INFO: GPS data processed {"connection_id":207175,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:04:06] local.INFO: Acknowledgment sent {"connection_id":207175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:04:06] local.INFO: TCP Data received {"connection_id":207176,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:04:06] local.INFO: Processing buffer {"connection_id":207176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:04:06] local.INFO: IMEI packet received {"connection_id":207176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":207176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:04:07] local.INFO: TCP Data received {"connection_id":207176,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:04:07] local.INFO: Processing buffer {"connection_id":207176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:04:07] local.INFO: Packet analysis {"connection_id":207176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:04:07] local.INFO: Extracted packet for processing {"connection_id":207176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:04:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536006656001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:04: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-10-05 05:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791156577000,"timestamp_ms":1791156577000,"timestamp_seconds":1791156577,"priority":1,"record_length":96,"hex_timestamp":"000001a1094062e8"} 
[2026-10-05 05:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:04: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-10-05 05:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 05:04:07] 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-10-05 05:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536006656001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536006656001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:04:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 05:04:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536006656001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":207176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:04:07] local.INFO: GPS data processed {"connection_id":207176,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:04:07] local.INFO: Acknowledgment sent {"connection_id":207176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:04:11] local.INFO: TCP Data received {"connection_id":207176,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:04:11] local.INFO: Processing buffer {"connection_id":207176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:04:11] local.INFO: Packet analysis {"connection_id":207176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:04:11] local.INFO: Extracted packet for processing {"connection_id":207176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:04:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536006656001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791156577000,"timestamp_ms":1791156577000,"timestamp_seconds":1791156577,"priority":1,"record_length":96,"hex_timestamp":"000001a1094062e8"} 
[2026-10-05 05:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:04:11] 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-10-05 05:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 05:04:11] 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-10-05 05:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536006656001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536006656001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:04:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 05:04:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536006656001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":207176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:04:11] local.INFO: GPS data processed {"connection_id":207176,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:04:11] local.INFO: Acknowledgment sent {"connection_id":207176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:04:36] local.INFO: TCP Data received {"connection_id":207175,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:04:36] local.INFO: Processing buffer {"connection_id":207175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:04:36] local.INFO: Packet analysis {"connection_id":207175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:04:36] local.INFO: Extracted packet for processing {"connection_id":207175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:04:36] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536079360001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791156861000,"timestamp_ms":1791156861000,"timestamp_seconds":1791156861,"priority":1,"record_length":96,"hex_timestamp":"000001a10944b848"} 
[2026-10-05 05:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:04:36] 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-10-05 05: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-10-05 05:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:04: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-10-05 05:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536079360001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536079360001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:04:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:04:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536079360001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":207175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965406,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:04:37] local.INFO: GPS data processed {"connection_id":207175,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:04:37] local.INFO: Acknowledgment sent {"connection_id":207175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:04:56] local.INFO: TCP Data received {"connection_id":204185,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:04:56] local.INFO: Processing buffer {"connection_id":204185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:04:56] local.INFO: IMEI packet received {"connection_id":204185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":204185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:05:00] local.INFO: TCP Data received {"connection_id":204095,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:05:00] local.INFO: Processing buffer {"connection_id":204095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:05:00] local.INFO: IMEI packet received {"connection_id":204095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":204095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:05:01] local.INFO: TCP Data received {"connection_id":204185,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:05:01] local.INFO: Processing buffer {"connection_id":204185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:05:01] local.INFO: IMEI packet received {"connection_id":204185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":204185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:05:02] local.INFO: TCP Data received {"connection_id":204185,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:05:02] local.INFO: Processing buffer {"connection_id":204185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094062e8012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:05:02] local.INFO: Packet analysis {"connection_id":204185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:05:02] local.INFO: Extracted packet for processing {"connection_id":204185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10940"} 
[2026-10-05 05:05:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536006656001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:05: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-10-05 05:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791156577000,"timestamp_ms":1791156577000,"timestamp_seconds":1791156577,"priority":1,"record_length":96,"hex_timestamp":"000001a1094062e8"} 
[2026-10-05 05:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:05: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-10-05 05: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":151,"data_length":795,"current_offset":136} 
[2026-10-05 05:05:02] 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-10-05 05: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-10-05 05:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:05: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-10-05 05:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536006656001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536006656001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:05:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 05:05:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536006656001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":204185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:05:02] local.INFO: GPS data processed {"connection_id":204185,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:05:02] local.INFO: Acknowledgment sent {"connection_id":204185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:05:05] local.INFO: TCP Data received {"connection_id":204095,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:05:05] local.INFO: Processing buffer {"connection_id":204095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:05:05] local.INFO: IMEI packet received {"connection_id":204095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":204095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:05:05] local.INFO: TCP Data received {"connection_id":204095,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:05:05] local.INFO: Processing buffer {"connection_id":204095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:05:05] local.INFO: Packet analysis {"connection_id":204095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:05:05] local.INFO: Extracted packet for processing {"connection_id":204095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:05:05] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 05:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536079360001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791156861000,"timestamp_ms":1791156861000,"timestamp_seconds":1791156861,"priority":1,"record_length":96,"hex_timestamp":"000001a10944b848"} 
[2026-10-05 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-10-05 05:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:05:05] 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-10-05 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-10-05 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-10-05 05:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:05: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-10-05 05:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536079360001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536079360001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:05:05] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:05:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536079360001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":204095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:05:05] local.INFO: GPS data processed {"connection_id":204095,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:05:05] local.INFO: Acknowledgment sent {"connection_id":204095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:05:32] local.INFO: TCP Data received {"connection_id":204185,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:05:32] local.INFO: Processing buffer {"connection_id":204185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:05:32] local.INFO: Packet analysis {"connection_id":204185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:05:32] local.INFO: Extracted packet for processing {"connection_id":204185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:05:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:05: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-10-05 05:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536083712001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:05: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-10-05 05:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791156878000,"timestamp_ms":1791156878000,"timestamp_seconds":1791156878,"priority":1,"record_length":96,"hex_timestamp":"000001a10944fab0"} 
[2026-10-05 05:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:05:32] 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-10-05 05:05: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-10-05 05:05: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-10-05 05:05: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-10-05 05:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:05: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-10-05 05:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536083712001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536083712001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:05:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 05:05:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536083712001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":204185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:05:32] local.INFO: GPS data processed {"connection_id":204185,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:05:32] local.INFO: Acknowledgment sent {"connection_id":204185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:05:36] local.INFO: TCP Data received {"connection_id":204095,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:05:36] local.INFO: Processing buffer {"connection_id":204095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:05:36] local.INFO: Packet analysis {"connection_id":204095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:05:36] local.INFO: Extracted packet for processing {"connection_id":204095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:05:36] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536079360001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791156861000,"timestamp_ms":1791156861000,"timestamp_seconds":1791156861,"priority":1,"record_length":96,"hex_timestamp":"000001a10944b848"} 
[2026-10-05 05:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:05:36] 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-10-05 05:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:05: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-10-05 05:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536079360001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536079360001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:05:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:05:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536079360001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":204095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965410,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:05:36] local.INFO: GPS data processed {"connection_id":204095,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:05:36] local.INFO: Acknowledgment sent {"connection_id":204095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:05:56] local.INFO: TCP Data received {"connection_id":207177,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:05:56] local.INFO: Processing buffer {"connection_id":207177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:05:56] local.INFO: IMEI packet received {"connection_id":207177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":207177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:06:00] local.INFO: TCP Data received {"connection_id":205620,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:06:00] local.INFO: Processing buffer {"connection_id":205620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:06:00] local.INFO: IMEI packet received {"connection_id":205620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":205620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:06:01] local.INFO: TCP Data received {"connection_id":207177,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:06:01] local.INFO: Processing buffer {"connection_id":207177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:06:01] local.INFO: IMEI packet received {"connection_id":207177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":207177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:06:02] local.INFO: TCP Data received {"connection_id":207177,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:06:02] local.INFO: Processing buffer {"connection_id":207177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:06:02] local.INFO: Packet analysis {"connection_id":207177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:06:02] local.INFO: Extracted packet for processing {"connection_id":207177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536083712001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:06: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-10-05 05:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791156878000,"timestamp_ms":1791156878000,"timestamp_seconds":1791156878,"priority":1,"record_length":96,"hex_timestamp":"000001a10944fab0"} 
[2026-10-05 05:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:06: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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:06: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-10-05 05: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-10-05 05:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536083712001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 05:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536083712001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:06:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 05:06:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536083712001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":207177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:06:02] local.INFO: GPS data processed {"connection_id":207177,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:06:02] local.INFO: Acknowledgment sent {"connection_id":207177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:06:05] local.INFO: TCP Data received {"connection_id":205620,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:06:05] local.INFO: Processing buffer {"connection_id":205620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:06:05] local.INFO: IMEI packet received {"connection_id":205620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":205620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:06:06] local.INFO: TCP Data received {"connection_id":205620,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:06:06] local.INFO: Processing buffer {"connection_id":205620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:06:06] local.INFO: Packet analysis {"connection_id":205620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:06:06] local.INFO: Extracted packet for processing {"connection_id":205620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:06:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536079360001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791156861000,"timestamp_ms":1791156861000,"timestamp_seconds":1791156861,"priority":1,"record_length":96,"hex_timestamp":"000001a10944b848"} 
[2026-10-05 05:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:06:06] 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-10-05 05:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:06: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-10-05 05:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536079360001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536079360001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:06:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:06:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536079360001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":205620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:06:06] local.INFO: GPS data processed {"connection_id":205620,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:06:06] local.INFO: Acknowledgment sent {"connection_id":205620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:06:34] local.INFO: TCP Data received {"connection_id":207177,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:06:34] local.INFO: Processing buffer {"connection_id":207177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:06:34] local.INFO: Packet analysis {"connection_id":207177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:06:34] local.INFO: Extracted packet for processing {"connection_id":207177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:06:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536083712001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:06: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-10-05 05:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791156878000,"timestamp_ms":1791156878000,"timestamp_seconds":1791156878,"priority":1,"record_length":96,"hex_timestamp":"000001a10944fab0"} 
[2026-10-05 05:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:06:34] 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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:06:34] 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-10-05 05: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-10-05 05:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":207177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":207177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":207177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536083712001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 05:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536083712001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:06:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 05:06:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536083712001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":207177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:06:34] local.INFO: GPS data processed {"connection_id":207177,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:06:34] local.INFO: Acknowledgment sent {"connection_id":207177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:06:37] local.INFO: TCP Data received {"connection_id":205620,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:06:37] local.INFO: Processing buffer {"connection_id":205620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:06:37] local.INFO: Packet analysis {"connection_id":205620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:06:37] local.INFO: Extracted packet for processing {"connection_id":205620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:06:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536079360001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791156861000,"timestamp_ms":1791156861000,"timestamp_seconds":1791156861,"priority":1,"record_length":96,"hex_timestamp":"000001a10944b848"} 
[2026-10-05 05:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:06:37] 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-10-05 05:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:06: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-10-05 05:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536079360001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536079360001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:06:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:06:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536079360001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":205620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965414,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:06:37] local.INFO: GPS data processed {"connection_id":205620,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:06:37] local.INFO: Acknowledgment sent {"connection_id":205620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:07:00] local.INFO: TCP Data received {"connection_id":205621,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:07:00] local.INFO: Processing buffer {"connection_id":205621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:07:00] local.INFO: IMEI packet received {"connection_id":205621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":205621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:07:01] local.INFO: TCP Data received {"connection_id":204186,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:07:01] local.INFO: Processing buffer {"connection_id":204186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:07:01] local.INFO: IMEI packet received {"connection_id":204186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":204186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:07:04] local.INFO: TCP Data received {"connection_id":207178,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:07:04] local.INFO: Processing buffer {"connection_id":207178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:07:04] local.INFO: IMEI packet received {"connection_id":207178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 05:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":207178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:07:05] local.INFO: TCP Data received {"connection_id":205621,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:07:05] local.INFO: Processing buffer {"connection_id":205621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:07:05] local.INFO: IMEI packet received {"connection_id":205621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":205621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:07:06] local.INFO: TCP Data received {"connection_id":204186,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:07:06] local.INFO: Processing buffer {"connection_id":204186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:07:06] local.INFO: IMEI packet received {"connection_id":204186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":204186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:07:06] local.INFO: TCP Data received {"connection_id":205621,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:07:06] local.INFO: Processing buffer {"connection_id":205621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:07:06] local.INFO: Packet analysis {"connection_id":205621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:07:06] local.INFO: Extracted packet for processing {"connection_id":205621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:07:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536079360001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791156861000,"timestamp_ms":1791156861000,"timestamp_seconds":1791156861,"priority":1,"record_length":96,"hex_timestamp":"000001a10944b848"} 
[2026-10-05 05:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:07:06] 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-10-05 05:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:07: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-10-05 05:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536079360001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536079360001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:07:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:07:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536079360001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":205621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:07:06] local.INFO: GPS data processed {"connection_id":205621,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:07:06] local.INFO: Acknowledgment sent {"connection_id":205621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:07:07] local.INFO: TCP Data received {"connection_id":204186,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:07:07] local.INFO: Processing buffer {"connection_id":204186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:07:07] local.INFO: Packet analysis {"connection_id":204186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:07:07] local.INFO: Extracted packet for processing {"connection_id":204186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:07:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536083712001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:07: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-10-05 05:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791156878000,"timestamp_ms":1791156878000,"timestamp_seconds":1791156878,"priority":1,"record_length":96,"hex_timestamp":"000001a10944fab0"} 
[2026-10-05 05:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:07: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-10-05 05:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:07:07] 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-10-05 05:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536083712001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536083712001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:07:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 05:07:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536083712001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":204186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:07:07] local.INFO: GPS data processed {"connection_id":204186,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:07:07] local.INFO: Acknowledgment sent {"connection_id":204186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:07:12] local.INFO: TCP Data received {"connection_id":204186,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:07:12] local.INFO: Processing buffer {"connection_id":204186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:07:12] local.INFO: Packet analysis {"connection_id":204186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:07:12] local.INFO: Extracted packet for processing {"connection_id":204186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:07:12] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536083712001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791156878000,"timestamp_ms":1791156878000,"timestamp_seconds":1791156878,"priority":1,"record_length":96,"hex_timestamp":"000001a10944fab0"} 
[2026-10-05 05:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:07:12] 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-10-05 05:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:07:12] 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-10-05 05:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:07:12] 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-10-05 05:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536083712001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536083712001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:07:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 05:07:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536083712001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":204186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:07:12] local.INFO: GPS data processed {"connection_id":204186,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:07:12] local.INFO: Acknowledgment sent {"connection_id":204186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:07:38] local.INFO: TCP Data received {"connection_id":205621,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:07:38] local.INFO: Processing buffer {"connection_id":205621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:07:38] local.INFO: Packet analysis {"connection_id":205621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:07:38] local.INFO: Extracted packet for processing {"connection_id":205621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:07:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536079360001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791156861000,"timestamp_ms":1791156861000,"timestamp_seconds":1791156861,"priority":1,"record_length":96,"hex_timestamp":"000001a10944b848"} 
[2026-10-05 05:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:07:38] 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-10-05 05:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:07: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-10-05 05:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536079360001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536079360001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:07:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:07:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536079360001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":205621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:07:38] local.INFO: GPS data processed {"connection_id":205621,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:07:38] local.INFO: Acknowledgment sent {"connection_id":205621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:07:48] local.INFO: TCP Data received {"connection_id":205622,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205622,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:07:48] local.INFO: Processing buffer {"connection_id":205622,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:07:48] local.INFO: IMEI packet received {"connection_id":205622,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 05:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":205622,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:07:56] local.INFO: TCP Data received {"connection_id":207179,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:07:56] local.INFO: Processing buffer {"connection_id":207179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:07:56] local.INFO: IMEI packet received {"connection_id":207179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":207179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:08:00] local.INFO: TCP Data received {"connection_id":204097,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:08:00] local.INFO: Processing buffer {"connection_id":204097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:08:00] local.INFO: IMEI packet received {"connection_id":204097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":204097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:08:01] local.INFO: TCP Data received {"connection_id":207179,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:08:01] local.INFO: Processing buffer {"connection_id":207179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:08:01] local.INFO: IMEI packet received {"connection_id":207179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":207179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:08:01] local.INFO: TCP Data received {"connection_id":207179,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:08:01] local.INFO: Processing buffer {"connection_id":207179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:08:01] local.INFO: Packet analysis {"connection_id":207179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:08:01] local.INFO: Extracted packet for processing {"connection_id":207179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:08:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536083712001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05: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-10-05 05:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791156878000,"timestamp_ms":1791156878000,"timestamp_seconds":1791156878,"priority":1,"record_length":96,"hex_timestamp":"000001a10944fab0"} 
[2026-10-05 05:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:08:01] 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-10-05 05: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-10-05 05: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-10-05 05: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-10-05 05:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:08: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-10-05 05:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536083712001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536083712001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:08:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 05:08:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536083712001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":207179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:08:01] local.INFO: GPS data processed {"connection_id":207179,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:08:01] local.INFO: Acknowledgment sent {"connection_id":207179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:08:05] local.INFO: TCP Data received {"connection_id":204097,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:08:05] local.INFO: Processing buffer {"connection_id":204097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:08:05] local.INFO: IMEI packet received {"connection_id":204097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":204097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:08:06] local.INFO: TCP Data received {"connection_id":204097,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:08:06] local.INFO: Processing buffer {"connection_id":204097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:08:06] local.INFO: Packet analysis {"connection_id":204097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:08:06] local.INFO: Extracted packet for processing {"connection_id":204097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:08:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536079360001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791156861000,"timestamp_ms":1791156861000,"timestamp_seconds":1791156861,"priority":1,"record_length":96,"hex_timestamp":"000001a10944b848"} 
[2026-10-05 05:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:08:06] 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-10-05 05: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-10-05 05:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:08: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-10-05 05:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536079360001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536079360001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:08:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:08:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536079360001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":204097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:08:06] local.INFO: GPS data processed {"connection_id":204097,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:08:06] local.INFO: Acknowledgment sent {"connection_id":204097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:08:32] local.INFO: TCP Data received {"connection_id":207179,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:08:32] local.INFO: Processing buffer {"connection_id":207179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:08:32] local.INFO: Packet analysis {"connection_id":207179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:08:32] local.INFO: Extracted packet for processing {"connection_id":207179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536083712001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05: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-10-05 05:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791156878000,"timestamp_ms":1791156878000,"timestamp_seconds":1791156878,"priority":1,"record_length":96,"hex_timestamp":"000001a10944fab0"} 
[2026-10-05 05:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:08:32] 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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:08: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-10-05 05: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-10-05 05:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:08: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-10-05 05:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536083712001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536083712001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:08:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 05:08:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536083712001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":207179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:08:33] local.INFO: GPS data processed {"connection_id":207179,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:08:33] local.INFO: Acknowledgment sent {"connection_id":207179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:08:37] local.INFO: TCP Data received {"connection_id":204097,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:08:37] local.INFO: Processing buffer {"connection_id":204097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:08:37] local.INFO: Packet analysis {"connection_id":204097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:08:37] local.INFO: Extracted packet for processing {"connection_id":204097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:08:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536079360001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791156861000,"timestamp_ms":1791156861000,"timestamp_seconds":1791156861,"priority":1,"record_length":96,"hex_timestamp":"000001a10944b848"} 
[2026-10-05 05:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:08:37] 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-10-05 05:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:08: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-10-05 05:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536079360001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536079360001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:08:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:08:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536079360001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":204097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:08:37] local.INFO: GPS data processed {"connection_id":204097,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:08:37] local.INFO: Acknowledgment sent {"connection_id":204097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:08:56] local.INFO: TCP Data received {"connection_id":205623,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:08:56] local.INFO: Processing buffer {"connection_id":205623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:08:56] local.INFO: IMEI packet received {"connection_id":205623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":205623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:09:00] local.INFO: TCP Data received {"connection_id":204187,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:09:00] local.INFO: Processing buffer {"connection_id":204187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:09:00] local.INFO: IMEI packet received {"connection_id":204187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":204187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:09:01] local.INFO: TCP Data received {"connection_id":205623,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:09:01] local.INFO: Processing buffer {"connection_id":205623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:09:01] local.INFO: IMEI packet received {"connection_id":205623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":205623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:09:01] local.INFO: TCP Data received {"connection_id":205623,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:09:01] local.INFO: Processing buffer {"connection_id":205623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:09:01] local.INFO: Packet analysis {"connection_id":205623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:09:01] local.INFO: Extracted packet for processing {"connection_id":205623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:09:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536083712001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05: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-10-05 05:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791156878000,"timestamp_ms":1791156878000,"timestamp_seconds":1791156878,"priority":1,"record_length":96,"hex_timestamp":"000001a10944fab0"} 
[2026-10-05 05:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:09:01] 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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:09: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-10-05 05: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-10-05 05:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536083712001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 05:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536083712001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:09:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 05:09:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536083712001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":205623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:09:01] local.INFO: GPS data processed {"connection_id":205623,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:09:01] local.INFO: Acknowledgment sent {"connection_id":205623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:09:05] local.INFO: TCP Data received {"connection_id":204187,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:09:05] local.INFO: Processing buffer {"connection_id":204187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:09:05] local.INFO: IMEI packet received {"connection_id":204187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":204187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:09:06] local.INFO: TCP Data received {"connection_id":204187,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:09:06] local.INFO: Processing buffer {"connection_id":204187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10944b848012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:09:06] local.INFO: Packet analysis {"connection_id":204187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:09:06] local.INFO: Extracted packet for processing {"connection_id":204187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536079360001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791156861000,"timestamp_ms":1791156861000,"timestamp_seconds":1791156861,"priority":1,"record_length":96,"hex_timestamp":"000001a10944b848"} 
[2026-10-05 05:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:09:06] 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-10-05 05:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:09: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-10-05 05:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536079360001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536079360001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:09:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:09:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536079360001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":204187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:09:06] local.INFO: GPS data processed {"connection_id":204187,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:09:06] local.INFO: Acknowledgment sent {"connection_id":204187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:09:33] local.INFO: TCP Data received {"connection_id":205623,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:09:33] local.INFO: Processing buffer {"connection_id":205623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:09:33] local.INFO: Packet analysis {"connection_id":205623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:09:33] local.INFO: Extracted packet for processing {"connection_id":205623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536083712001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:09: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-10-05 05:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791156878000,"timestamp_ms":1791156878000,"timestamp_seconds":1791156878,"priority":1,"record_length":96,"hex_timestamp":"000001a10944fab0"} 
[2026-10-05 05:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:09:33] 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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:09:33] 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-10-05 05: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-10-05 05:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536083712001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 05:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536083712001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:09:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 05:09:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536083712001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":205623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:09:33] local.INFO: GPS data processed {"connection_id":205623,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:09:33] local.INFO: Acknowledgment sent {"connection_id":205623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:09:36] local.INFO: TCP Data received {"connection_id":204187,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:09:36] local.INFO: Processing buffer {"connection_id":204187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:09:36] local.INFO: Packet analysis {"connection_id":204187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:09:36] local.INFO: Extracted packet for processing {"connection_id":204187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:09:36] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536156416001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791157162000,"timestamp_ms":1791157162000,"timestamp_seconds":1791157162,"priority":1,"record_length":96,"hex_timestamp":"000001a109495010"} 
[2026-10-05 05:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:09:36] 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-10-05 05:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:09: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-10-05 05:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536156416001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536156416001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:09:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:09:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536156416001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":204187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:09:36] local.INFO: GPS data processed {"connection_id":204187,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:09:36] local.INFO: Acknowledgment sent {"connection_id":204187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:09:55] local.INFO: TCP Data received {"connection_id":207181,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:09:55] local.INFO: Processing buffer {"connection_id":207181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:09:55] local.INFO: IMEI packet received {"connection_id":207181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":207181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:10:02] local.INFO: TCP Data received {"connection_id":207181,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:10:02] local.INFO: Processing buffer {"connection_id":207181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:10:02] local.INFO: IMEI packet received {"connection_id":207181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":207181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:10:03] local.INFO: TCP Data received {"connection_id":207181,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:10:03] local.INFO: Processing buffer {"connection_id":207181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10944fab0012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:10:03] local.INFO: Packet analysis {"connection_id":207181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:10:03] local.INFO: Extracted packet for processing {"connection_id":207181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10944"} 
[2026-10-05 05:10:03] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536083712001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:10: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-10-05 05:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791156878000,"timestamp_ms":1791156878000,"timestamp_seconds":1791156878,"priority":1,"record_length":96,"hex_timestamp":"000001a10944fab0"} 
[2026-10-05 05:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:10:03] 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-10-05 05: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-10-05 05:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":207181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":207181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":207181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05: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-10-05 05:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536083712001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536083712001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:10:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 05:10:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536083712001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":207181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:10:03] local.INFO: GPS data processed {"connection_id":207181,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:10:03] local.INFO: Acknowledgment sent {"connection_id":207181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:10:05] local.INFO: TCP Data received {"connection_id":204098,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:10:05] local.INFO: Processing buffer {"connection_id":204098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:10:05] local.INFO: IMEI packet received {"connection_id":204098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":204098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:10:10] local.INFO: TCP Data received {"connection_id":204098,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:10:10] local.INFO: Processing buffer {"connection_id":204098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:10:10] local.INFO: IMEI packet received {"connection_id":204098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":204098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:10:11] local.INFO: TCP Data received {"connection_id":204098,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:10:11] local.INFO: Processing buffer {"connection_id":204098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:10:11] local.INFO: Packet analysis {"connection_id":204098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:10:11] local.INFO: Extracted packet for processing {"connection_id":204098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:10:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536156416001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791157162000,"timestamp_ms":1791157162000,"timestamp_seconds":1791157162,"priority":1,"record_length":96,"hex_timestamp":"000001a109495010"} 
[2026-10-05 05:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:10:11] 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-10-05 05:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:10:11] 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-10-05 05:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536156416001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536156416001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:10:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536156416001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":204098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:10:11] local.INFO: GPS data processed {"connection_id":204098,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:10:11] local.INFO: Acknowledgment sent {"connection_id":204098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:10:16] local.INFO: TCP Data received {"connection_id":204098,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:10:16] local.INFO: Processing buffer {"connection_id":204098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:10:16] local.INFO: Packet analysis {"connection_id":204098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:10:16] local.INFO: Extracted packet for processing {"connection_id":204098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:10:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536156416001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791157162000,"timestamp_ms":1791157162000,"timestamp_seconds":1791157162,"priority":1,"record_length":96,"hex_timestamp":"000001a109495010"} 
[2026-10-05 05:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:10:16] 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-10-05 05:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:10:16] 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-10-05 05:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536156416001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536156416001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:10:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:10:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536156416001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":204098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:10:16] local.INFO: GPS data processed {"connection_id":204098,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:10:16] local.INFO: Acknowledgment sent {"connection_id":204098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:10:36] local.INFO: TCP Data received {"connection_id":207181,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:10:36] local.INFO: Processing buffer {"connection_id":207181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:10:36] local.INFO: Packet analysis {"connection_id":207181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:10:36] local.INFO: Extracted packet for processing {"connection_id":207181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:10:36] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536160768001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:10:36] 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-10-05 05:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791157179000,"timestamp_ms":1791157179000,"timestamp_seconds":1791157179,"priority":1,"record_length":96,"hex_timestamp":"000001a109499278"} 
[2026-10-05 05:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:10:36] 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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:10:36] 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-10-05 05: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-10-05 05:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:10:36] 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-10-05 05:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536160768001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 05:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536160768001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:10:36] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:10:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536160768001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":207181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:10:36] local.INFO: GPS data processed {"connection_id":207181,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:10:36] local.INFO: Acknowledgment sent {"connection_id":207181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:10:55] local.INFO: TCP Data received {"connection_id":204188,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:10:55] local.INFO: Processing buffer {"connection_id":204188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:10:55] local.INFO: IMEI packet received {"connection_id":204188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":204188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:11:00] local.INFO: TCP Data received {"connection_id":205626,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:11:00] local.INFO: Processing buffer {"connection_id":205626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:11:00] local.INFO: IMEI packet received {"connection_id":205626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":205626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:11:01] local.INFO: TCP Data received {"connection_id":204188,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:11:01] local.INFO: Processing buffer {"connection_id":204188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:11:01] local.INFO: IMEI packet received {"connection_id":204188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":204188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:11:02] local.INFO: TCP Data received {"connection_id":204188,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:11:02] local.INFO: Processing buffer {"connection_id":204188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:11:02] local.INFO: Packet analysis {"connection_id":204188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:11:02] local.INFO: Extracted packet for processing {"connection_id":204188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:11:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536160768001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:11:02] 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-10-05 05:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791157179000,"timestamp_ms":1791157179000,"timestamp_seconds":1791157179,"priority":1,"record_length":96,"hex_timestamp":"000001a109499278"} 
[2026-10-05 05:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:11: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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:11: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-10-05 05: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-10-05 05:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:11:02] 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-10-05 05:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536160768001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 05:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536160768001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:11:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:11:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536160768001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":204188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:11:02] local.INFO: GPS data processed {"connection_id":204188,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:11:02] local.INFO: Acknowledgment sent {"connection_id":204188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:11:05] local.INFO: TCP Data received {"connection_id":205626,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:11:05] local.INFO: Processing buffer {"connection_id":205626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:11:05] local.INFO: IMEI packet received {"connection_id":205626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":205626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:11:06] local.INFO: TCP Data received {"connection_id":205626,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:11:06] local.INFO: Processing buffer {"connection_id":205626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:11:06] local.INFO: Packet analysis {"connection_id":205626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:11:06] local.INFO: Extracted packet for processing {"connection_id":205626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:11:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536156416001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791157162000,"timestamp_ms":1791157162000,"timestamp_seconds":1791157162,"priority":1,"record_length":96,"hex_timestamp":"000001a109495010"} 
[2026-10-05 05:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:11:06] 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-10-05 05:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:11: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-10-05 05:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536156416001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536156416001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:11:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:11:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536156416001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":205626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:11:06] local.INFO: GPS data processed {"connection_id":205626,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:11:06] local.INFO: Acknowledgment sent {"connection_id":205626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:11:33] local.INFO: TCP Data received {"connection_id":204188,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:11:33] local.INFO: Processing buffer {"connection_id":204188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:11:33] local.INFO: Packet analysis {"connection_id":204188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:11:33] local.INFO: Extracted packet for processing {"connection_id":204188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:11:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536160768001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:11: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-10-05 05:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791157179000,"timestamp_ms":1791157179000,"timestamp_seconds":1791157179,"priority":1,"record_length":96,"hex_timestamp":"000001a109499278"} 
[2026-10-05 05:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:11:33] 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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:11:33] 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-10-05 05: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-10-05 05:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:11:33] 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-10-05 05:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536160768001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 05:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536160768001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:11:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:11:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536160768001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":204188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:11:33] local.INFO: GPS data processed {"connection_id":204188,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:11:33] local.INFO: Acknowledgment sent {"connection_id":204188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:11:36] local.INFO: TCP Data received {"connection_id":205626,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:11:36] local.INFO: Processing buffer {"connection_id":205626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:11:36] local.INFO: Packet analysis {"connection_id":205626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:11:36] local.INFO: Extracted packet for processing {"connection_id":205626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:11:36] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536156416001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791157162000,"timestamp_ms":1791157162000,"timestamp_seconds":1791157162,"priority":1,"record_length":96,"hex_timestamp":"000001a109495010"} 
[2026-10-05 05:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:11:36] 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-10-05 05: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-10-05 05:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:11: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-10-05 05:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536156416001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536156416001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:11:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:11:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536156416001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":205626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:11:37] local.INFO: GPS data processed {"connection_id":205626,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:11:37] local.INFO: Acknowledgment sent {"connection_id":205626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:11:55] local.INFO: TCP Data received {"connection_id":204099,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:11:55] local.INFO: Processing buffer {"connection_id":204099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:11:55] local.INFO: IMEI packet received {"connection_id":204099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":204099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:12:00] local.INFO: TCP Data received {"connection_id":205628,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:12:00] local.INFO: Processing buffer {"connection_id":205628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:12:00] local.INFO: IMEI packet received {"connection_id":205628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":205628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:12:02] local.INFO: TCP Data received {"connection_id":204099,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:12:02] local.INFO: Processing buffer {"connection_id":204099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:12:02] local.INFO: IMEI packet received {"connection_id":204099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":204099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:12:04] local.INFO: TCP Data received {"connection_id":204099,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:12:04] local.INFO: Processing buffer {"connection_id":204099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:12:04] local.INFO: Packet analysis {"connection_id":204099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:12:04] local.INFO: Extracted packet for processing {"connection_id":204099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:12:04] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536160768001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:12: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-10-05 05:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791157179000,"timestamp_ms":1791157179000,"timestamp_seconds":1791157179,"priority":1,"record_length":96,"hex_timestamp":"000001a109499278"} 
[2026-10-05 05:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:12: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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:12: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-10-05 05: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-10-05 05:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":204099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":204099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":204099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:12: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-10-05 05:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536160768001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536160768001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:12:04] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:12:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536160768001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":204099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:12:04] local.INFO: GPS data processed {"connection_id":204099,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:12:04] local.INFO: Acknowledgment sent {"connection_id":204099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:12:05] local.INFO: TCP Data received {"connection_id":205628,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:12:05] local.INFO: Processing buffer {"connection_id":205628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:12:05] local.INFO: IMEI packet received {"connection_id":205628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":205628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:12:06] local.INFO: TCP Data received {"connection_id":205628,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:12:06] local.INFO: Processing buffer {"connection_id":205628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:12:06] local.INFO: Packet analysis {"connection_id":205628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:12:06] local.INFO: Extracted packet for processing {"connection_id":205628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:12:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536156416001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791157162000,"timestamp_ms":1791157162000,"timestamp_seconds":1791157162,"priority":1,"record_length":96,"hex_timestamp":"000001a109495010"} 
[2026-10-05 05:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:12:06] 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-10-05 05:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:12: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-10-05 05:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536156416001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536156416001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:12:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:12:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536156416001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":205628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:12:06] local.INFO: GPS data processed {"connection_id":205628,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:12:06] local.INFO: Acknowledgment sent {"connection_id":205628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:12:35] local.INFO: TCP Data received {"connection_id":204099,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:12:35] local.INFO: Processing buffer {"connection_id":204099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:12:35] local.INFO: Packet analysis {"connection_id":204099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:12:35] local.INFO: Extracted packet for processing {"connection_id":204099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:12:35] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536160768001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:12:35] 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-10-05 05:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791157179000,"timestamp_ms":1791157179000,"timestamp_seconds":1791157179,"priority":1,"record_length":96,"hex_timestamp":"000001a109499278"} 
[2026-10-05 05:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:12:35] 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-10-05 05:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:12:35] 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-10-05 05:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":204099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":204099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":204099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536160768001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536160768001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:12:35] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:12:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536160768001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":204099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:12:35] local.INFO: GPS data processed {"connection_id":204099,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:12:35] local.INFO: Acknowledgment sent {"connection_id":204099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:12:37] local.INFO: TCP Data received {"connection_id":205628,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:12:37] local.INFO: Processing buffer {"connection_id":205628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:12:37] local.INFO: Packet analysis {"connection_id":205628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:12:37] local.INFO: Extracted packet for processing {"connection_id":205628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:12:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536156416001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791157162000,"timestamp_ms":1791157162000,"timestamp_seconds":1791157162,"priority":1,"record_length":96,"hex_timestamp":"000001a109495010"} 
[2026-10-05 05:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:12:37] 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-10-05 05:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:12: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-10-05 05:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536156416001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536156416001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:12:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:12:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536156416001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":205628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:12:37] local.INFO: GPS data processed {"connection_id":205628,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:12:37] local.INFO: Acknowledgment sent {"connection_id":205628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:13:00] local.INFO: TCP Data received {"connection_id":207183,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:13:00] local.INFO: Processing buffer {"connection_id":207183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:13:00] local.INFO: IMEI packet received {"connection_id":207183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":207183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:13:01] local.INFO: TCP Data received {"connection_id":205629,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:13:01] local.INFO: Processing buffer {"connection_id":205629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:13:01] local.INFO: IMEI packet received {"connection_id":205629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":205629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:13:05] local.INFO: TCP Data received {"connection_id":207183,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:13:05] local.INFO: Processing buffer {"connection_id":207183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:13:05] local.INFO: IMEI packet received {"connection_id":207183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":207183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:13:06] local.INFO: TCP Data received {"connection_id":205629,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:13:06] local.INFO: Processing buffer {"connection_id":205629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:13:06] local.INFO: IMEI packet received {"connection_id":205629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":205629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:13:06] local.INFO: TCP Data received {"connection_id":207183,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:13:06] local.INFO: Processing buffer {"connection_id":207183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:13:06] local.INFO: Packet analysis {"connection_id":207183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:13:06] local.INFO: Extracted packet for processing {"connection_id":207183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:13:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536156416001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791157162000,"timestamp_ms":1791157162000,"timestamp_seconds":1791157162,"priority":1,"record_length":96,"hex_timestamp":"000001a109495010"} 
[2026-10-05 05:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:13:06] 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-10-05 05:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:13: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-10-05 05:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536156416001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536156416001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:13:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:13:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536156416001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":207183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965439,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:13:06] local.INFO: GPS data processed {"connection_id":207183,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:13:06] local.INFO: Acknowledgment sent {"connection_id":207183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:13:07] local.INFO: TCP Data received {"connection_id":205629,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:13:07] local.INFO: Processing buffer {"connection_id":205629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:13:07] local.INFO: Packet analysis {"connection_id":205629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:13:07] local.INFO: Extracted packet for processing {"connection_id":205629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:13:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536160768001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:13:07] 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-10-05 05:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791157179000,"timestamp_ms":1791157179000,"timestamp_seconds":1791157179,"priority":1,"record_length":96,"hex_timestamp":"000001a109499278"} 
[2026-10-05 05:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05: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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:13:07] 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-10-05 05: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-10-05 05:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536160768001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536160768001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:13:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:13:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536160768001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":205629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:13:07] local.INFO: GPS data processed {"connection_id":205629,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:13:07] local.INFO: Acknowledgment sent {"connection_id":205629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:13:18] local.INFO: TCP Data received {"connection_id":207182,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:13:18] local.INFO: Processing buffer {"connection_id":207182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:13:18] local.INFO: IMEI packet received {"connection_id":207182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 05:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":207182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:13:37] local.INFO: TCP Data received {"connection_id":207183,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:13:37] local.INFO: Processing buffer {"connection_id":207183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:13:37] local.INFO: Packet analysis {"connection_id":207183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:13:37] local.INFO: Extracted packet for processing {"connection_id":207183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:13:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536156416001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791157162000,"timestamp_ms":1791157162000,"timestamp_seconds":1791157162,"priority":1,"record_length":96,"hex_timestamp":"000001a109495010"} 
[2026-10-05 05:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:13:37] 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-10-05 05:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:13: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-10-05 05:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536156416001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536156416001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:13:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:13:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536156416001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":207183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:13:37] local.INFO: GPS data processed {"connection_id":207183,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:13:37] local.INFO: Acknowledgment sent {"connection_id":207183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:13:38] local.INFO: TCP Data received {"connection_id":205629,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:13:38] local.INFO: Processing buffer {"connection_id":205629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:13:38] local.INFO: Packet analysis {"connection_id":205629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:13:38] local.INFO: Extracted packet for processing {"connection_id":205629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:13:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536160768001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:13:38] 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-10-05 05:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791157179000,"timestamp_ms":1791157179000,"timestamp_seconds":1791157179,"priority":1,"record_length":96,"hex_timestamp":"000001a109499278"} 
[2026-10-05 05:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:13:38] 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-10-05 05:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:13:38] 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-10-05 05:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536160768001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536160768001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:13:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:13:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536160768001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":205629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:13:38] local.INFO: GPS data processed {"connection_id":205629,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:13:38] local.INFO: Acknowledgment sent {"connection_id":205629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:13:43] local.INFO: TCP Data received {"connection_id":204189,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:13:43] local.INFO: Processing buffer {"connection_id":204189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:13:43] local.INFO: IMEI packet received {"connection_id":204189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 05:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":204189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:13:56] local.INFO: TCP Data received {"connection_id":207184,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:13:56] local.INFO: Processing buffer {"connection_id":207184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:13:56] local.INFO: IMEI packet received {"connection_id":207184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":207184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:14:00] local.INFO: TCP Data received {"connection_id":204100,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:14:00] local.INFO: Processing buffer {"connection_id":204100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:14:00] local.INFO: IMEI packet received {"connection_id":204100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":204100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:14:02] local.INFO: TCP Data received {"connection_id":207184,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:14:02] local.INFO: Processing buffer {"connection_id":207184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:14:02] local.INFO: IMEI packet received {"connection_id":207184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":207184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:14:03] local.INFO: TCP Data received {"connection_id":207184,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:14:03] local.INFO: Processing buffer {"connection_id":207184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:14:03] local.INFO: Packet analysis {"connection_id":207184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:14:03] local.INFO: Extracted packet for processing {"connection_id":207184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:14:03] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536160768001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:14:03] 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-10-05 05:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791157179000,"timestamp_ms":1791157179000,"timestamp_seconds":1791157179,"priority":1,"record_length":96,"hex_timestamp":"000001a109499278"} 
[2026-10-05 05:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:14:03] 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-10-05 05: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-10-05 05:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":207184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":207184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":207184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:14: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-10-05 05:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536160768001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536160768001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:14:03] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:14:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536160768001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":207184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:14:03] local.INFO: GPS data processed {"connection_id":207184,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:14:03] local.INFO: Acknowledgment sent {"connection_id":207184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:14:05] local.INFO: TCP Data received {"connection_id":204100,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:14:05] local.INFO: Processing buffer {"connection_id":204100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:14:05] local.INFO: IMEI packet received {"connection_id":204100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":204100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:14:06] local.INFO: TCP Data received {"connection_id":204100,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:14:06] local.INFO: Processing buffer {"connection_id":204100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109495010012d7c2ac005dac8a0000600bf21..."} 
[2026-10-05 05:14:06] local.INFO: Packet analysis {"connection_id":204100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:14:06] local.INFO: Extracted packet for processing {"connection_id":204100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:14:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536156416001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791157162000,"timestamp_ms":1791157162000,"timestamp_seconds":1791157162,"priority":1,"record_length":96,"hex_timestamp":"000001a109495010"} 
[2026-10-05 05:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:14:06] 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-10-05 05:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:14: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-10-05 05:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536156416001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536156416001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:14:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:14:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536156416001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":204100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:14:06] local.INFO: GPS data processed {"connection_id":204100,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:14:06] local.INFO: Acknowledgment sent {"connection_id":204100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:14:34] local.INFO: TCP Data received {"connection_id":207184,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:14:34] local.INFO: Processing buffer {"connection_id":207184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:14:34] local.INFO: Packet analysis {"connection_id":207184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:14:34] local.INFO: Extracted packet for processing {"connection_id":207184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:14:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536160768001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:14:34] 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-10-05 05:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791157179000,"timestamp_ms":1791157179000,"timestamp_seconds":1791157179,"priority":1,"record_length":96,"hex_timestamp":"000001a109499278"} 
[2026-10-05 05:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:14:34] 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-10-05 05:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:14:34] 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-10-05 05:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":207184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":207184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":207184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:14: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-10-05 05:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536160768001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536160768001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:14:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:14:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536160768001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":207184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:14:34] local.INFO: GPS data processed {"connection_id":207184,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:14:34] local.INFO: Acknowledgment sent {"connection_id":207184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:14:38] local.INFO: TCP Data received {"connection_id":204100,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:14:38] local.INFO: Processing buffer {"connection_id":204100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:14:38] local.INFO: Packet analysis {"connection_id":204100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1094d"} 
[2026-10-05 05:14:38] local.INFO: Extracted packet for processing {"connection_id":204100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1094d"} 
[2026-10-05 05:14:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536233472001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791157463000,"timestamp_ms":1791157463000,"timestamp_seconds":1791157463,"priority":1,"record_length":96,"hex_timestamp":"000001a1094de7d8"} 
[2026-10-05 05:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:14:38] 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-10-05 05: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-10-05 05:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:14: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-10-05 05:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536233472001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536233472001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:14:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:14:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536233472001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":204100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:14:38] local.INFO: GPS data processed {"connection_id":204100,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:14:38] local.INFO: Acknowledgment sent {"connection_id":204100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:14:55] local.INFO: TCP Data received {"connection_id":207185,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:14:55] local.INFO: Processing buffer {"connection_id":207185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:14:55] local.INFO: IMEI packet received {"connection_id":207185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":207185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:15:00] local.INFO: TCP Data received {"connection_id":207186,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:15:00] local.INFO: Processing buffer {"connection_id":207186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:15:00] local.INFO: IMEI packet received {"connection_id":207186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":207186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:15:01] local.INFO: TCP Data received {"connection_id":207185,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:15:01] local.INFO: Processing buffer {"connection_id":207185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:15:01] local.INFO: IMEI packet received {"connection_id":207185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":207185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:15:02] local.INFO: TCP Data received {"connection_id":207185,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:15:02] local.INFO: Processing buffer {"connection_id":207185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109499278012d7f91c005afd9f0001c010124..."} 
[2026-10-05 05:15:02] local.INFO: Packet analysis {"connection_id":207185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:15:02] local.INFO: Extracted packet for processing {"connection_id":207185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10949"} 
[2026-10-05 05:15:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536160768001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:15:02] 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-10-05 05:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791157179000,"timestamp_ms":1791157179000,"timestamp_seconds":1791157179,"priority":1,"record_length":96,"hex_timestamp":"000001a109499278"} 
[2026-10-05 05:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:15: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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:15: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-10-05 05: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-10-05 05:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:15: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-10-05 05:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536160768001,"66":25560,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536160768001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:15:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:15:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536160768001,"power":25560,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":207185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:15:02] local.INFO: GPS data processed {"connection_id":207185,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:15:02] local.INFO: Acknowledgment sent {"connection_id":207185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:15:05] local.INFO: TCP Data received {"connection_id":207186,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:15:05] local.INFO: Processing buffer {"connection_id":207186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:15:05] local.INFO: IMEI packet received {"connection_id":207186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":207186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:15:06] local.INFO: TCP Data received {"connection_id":207186,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:15:06] local.INFO: Processing buffer {"connection_id":207186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:15:06] local.INFO: Packet analysis {"connection_id":207186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1094d"} 
[2026-10-05 05:15:06] local.INFO: Extracted packet for processing {"connection_id":207186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1094d"} 
[2026-10-05 05:15:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536233472001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791157463000,"timestamp_ms":1791157463000,"timestamp_seconds":1791157463,"priority":1,"record_length":96,"hex_timestamp":"000001a1094de7d8"} 
[2026-10-05 05:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:15:06] 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-10-05 05:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:15: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-10-05 05:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536233472001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536233472001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:15:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:15:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536233472001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":207186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965448,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:15:06] local.INFO: GPS data processed {"connection_id":207186,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:15:06] local.INFO: Acknowledgment sent {"connection_id":207186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:15:37] local.INFO: TCP Data received {"connection_id":207186,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:15:37] local.INFO: Processing buffer {"connection_id":207186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:15:37] local.INFO: Packet analysis {"connection_id":207186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1094d"} 
[2026-10-05 05:15:37] local.INFO: Extracted packet for processing {"connection_id":207186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1094d"} 
[2026-10-05 05:15:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536233472001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791157463000,"timestamp_ms":1791157463000,"timestamp_seconds":1791157463,"priority":1,"record_length":96,"hex_timestamp":"000001a1094de7d8"} 
[2026-10-05 05:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:15:37] 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-10-05 05:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:15: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-10-05 05:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536233472001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536233472001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:15:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:15:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536233472001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":207186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:15:37] local.INFO: GPS data processed {"connection_id":207186,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:15:37] local.INFO: Acknowledgment sent {"connection_id":207186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:15:38] local.INFO: TCP Data received {"connection_id":207185,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:15:38] local.INFO: Processing buffer {"connection_id":207185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:15:38] local.INFO: Packet analysis {"connection_id":207185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1094e"} 
[2026-10-05 05:15:38] local.INFO: Extracted packet for processing {"connection_id":207185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1094e"} 
[2026-10-05 05:15:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:15: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-10-05 05:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536237824001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:15:38] 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-10-05 05:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791157480000,"timestamp_ms":1791157480000,"timestamp_seconds":1791157480,"priority":1,"record_length":96,"hex_timestamp":"000001a1094e2a40"} 
[2026-10-05 05:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:15:38] 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-10-05 05:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 05:15:38] 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-10-05 05:15: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-10-05 05:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536237824001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536237824001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:15:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:15:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536237824001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":207185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:15:38] local.INFO: GPS data processed {"connection_id":207185,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:15:38] local.INFO: Acknowledgment sent {"connection_id":207185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:15:56] local.INFO: TCP Data received {"connection_id":205631,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:15:56] local.INFO: Processing buffer {"connection_id":205631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:15:56] local.INFO: IMEI packet received {"connection_id":205631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":205631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:16:01] local.INFO: TCP Data received {"connection_id":205631,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:16:01] local.INFO: Processing buffer {"connection_id":205631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:16:01] local.INFO: IMEI packet received {"connection_id":205631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":205631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:16:01] local.INFO: TCP Data received {"connection_id":205631,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:16:01] local.INFO: Processing buffer {"connection_id":205631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:16:01] local.INFO: Packet analysis {"connection_id":205631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1094e"} 
[2026-10-05 05:16:01] local.INFO: Extracted packet for processing {"connection_id":205631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1094e"} 
[2026-10-05 05:16:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536237824001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:16: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-10-05 05:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791157480000,"timestamp_ms":1791157480000,"timestamp_seconds":1791157480,"priority":1,"record_length":96,"hex_timestamp":"000001a1094e2a40"} 
[2026-10-05 05:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:16:01] 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-10-05 05: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 05:16:01] 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-10-05 05: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-10-05 05:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:16: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-10-05 05:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536237824001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536237824001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:16:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:16:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536237824001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":205631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:16:01] local.INFO: GPS data processed {"connection_id":205631,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:16:01] local.INFO: Acknowledgment sent {"connection_id":205631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:16:05] local.INFO: TCP Data received {"connection_id":207187,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:16:05] local.INFO: Processing buffer {"connection_id":207187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:16:05] local.INFO: IMEI packet received {"connection_id":207187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":207187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:16:10] local.INFO: TCP Data received {"connection_id":207187,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:16:10] local.INFO: Processing buffer {"connection_id":207187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:16:10] local.INFO: IMEI packet received {"connection_id":207187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":207187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:16:11] local.INFO: TCP Data received {"connection_id":207187,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:16:11] local.INFO: Processing buffer {"connection_id":207187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:16:11] local.INFO: Packet analysis {"connection_id":207187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1094d"} 
[2026-10-05 05:16:11] local.INFO: Extracted packet for processing {"connection_id":207187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1094d"} 
[2026-10-05 05:16:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536233472001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791157463000,"timestamp_ms":1791157463000,"timestamp_seconds":1791157463,"priority":1,"record_length":96,"hex_timestamp":"000001a1094de7d8"} 
[2026-10-05 05:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:16:11] 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-10-05 05:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:16:11] 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-10-05 05:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536233472001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536233472001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:16:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536233472001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":207187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:16:11] local.INFO: GPS data processed {"connection_id":207187,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:16:11] local.INFO: Acknowledgment sent {"connection_id":207187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:16:15] local.INFO: TCP Data received {"connection_id":207187,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:16:15] local.INFO: Processing buffer {"connection_id":207187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:16:15] local.INFO: Packet analysis {"connection_id":207187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1094d"} 
[2026-10-05 05:16:15] local.INFO: Extracted packet for processing {"connection_id":207187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1094d"} 
[2026-10-05 05:16:15] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536233472001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791157463000,"timestamp_ms":1791157463000,"timestamp_seconds":1791157463,"priority":1,"record_length":96,"hex_timestamp":"000001a1094de7d8"} 
[2026-10-05 05:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:16: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-10-05 05:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536233472001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536233472001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:16:15] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:16:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536233472001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":207187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:16:15] local.INFO: GPS data processed {"connection_id":207187,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:16:15] local.INFO: Acknowledgment sent {"connection_id":207187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:16:33] local.INFO: TCP Data received {"connection_id":205631,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:16:33] local.INFO: Processing buffer {"connection_id":205631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:16:33] local.INFO: Packet analysis {"connection_id":205631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1094e"} 
[2026-10-05 05:16:33] local.INFO: Extracted packet for processing {"connection_id":205631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1094e"} 
[2026-10-05 05:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:16: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-10-05 05:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536237824001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:16: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-10-05 05:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791157480000,"timestamp_ms":1791157480000,"timestamp_seconds":1791157480,"priority":1,"record_length":96,"hex_timestamp":"000001a1094e2a40"} 
[2026-10-05 05:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:16:33] 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-10-05 05: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 05:16:33] 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-10-05 05: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-10-05 05:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:16: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-10-05 05:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536237824001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536237824001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:16:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:16:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536237824001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":205631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:16:33] local.INFO: GPS data processed {"connection_id":205631,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:16:33] local.INFO: Acknowledgment sent {"connection_id":205631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:16:56] local.INFO: TCP Data received {"connection_id":205633,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:16:56] local.INFO: Processing buffer {"connection_id":205633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:16:56] local.INFO: IMEI packet received {"connection_id":205633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":205633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:17:00] local.INFO: TCP Data received {"connection_id":204191,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:17:00] local.INFO: Processing buffer {"connection_id":204191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:17:00] local.INFO: IMEI packet received {"connection_id":204191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":204191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:17:01] local.INFO: TCP Data received {"connection_id":205633,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:17:01] local.INFO: Processing buffer {"connection_id":205633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:17:01] local.INFO: IMEI packet received {"connection_id":205633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":205633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:17:01] local.INFO: TCP Data received {"connection_id":205633,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:17:01] local.INFO: Processing buffer {"connection_id":205633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:17:01] local.INFO: Packet analysis {"connection_id":205633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1094e"} 
[2026-10-05 05:17:01] local.INFO: Extracted packet for processing {"connection_id":205633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1094e"} 
[2026-10-05 05:17:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536237824001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:17: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-10-05 05:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791157480000,"timestamp_ms":1791157480000,"timestamp_seconds":1791157480,"priority":1,"record_length":96,"hex_timestamp":"000001a1094e2a40"} 
[2026-10-05 05:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:17:01] 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-10-05 05: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":216,"data_length":795,"current_offset":136} 
[2026-10-05 05:17:01] 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-10-05 05: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-10-05 05:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:17: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-10-05 05:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536237824001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536237824001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:17:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:17:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536237824001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":205633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:17:01] local.INFO: GPS data processed {"connection_id":205633,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:17:01] local.INFO: Acknowledgment sent {"connection_id":205633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:17:05] local.INFO: TCP Data received {"connection_id":204191,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:17:05] local.INFO: Processing buffer {"connection_id":204191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:17:05] local.INFO: IMEI packet received {"connection_id":204191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":204191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:17:06] local.INFO: TCP Data received {"connection_id":204191,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:17:06] local.INFO: Processing buffer {"connection_id":204191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:17:06] local.INFO: Packet analysis {"connection_id":204191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1094d"} 
[2026-10-05 05:17:06] local.INFO: Extracted packet for processing {"connection_id":204191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1094d"} 
[2026-10-05 05:17:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536233472001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791157463000,"timestamp_ms":1791157463000,"timestamp_seconds":1791157463,"priority":1,"record_length":96,"hex_timestamp":"000001a1094de7d8"} 
[2026-10-05 05:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:17:06] 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-10-05 05:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:17: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-10-05 05:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536233472001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536233472001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:17:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:17:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536233472001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":204191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:17:06] local.INFO: GPS data processed {"connection_id":204191,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:17:06] local.INFO: Acknowledgment sent {"connection_id":204191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:17:32] local.INFO: TCP Data received {"connection_id":205633,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:17:32] local.INFO: Processing buffer {"connection_id":205633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:17:32] local.INFO: Packet analysis {"connection_id":205633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1094e"} 
[2026-10-05 05:17:32] local.INFO: Extracted packet for processing {"connection_id":205633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1094e"} 
[2026-10-05 05:17:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 05:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536237824001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:17: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-10-05 05:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791157480000,"timestamp_ms":1791157480000,"timestamp_seconds":1791157480,"priority":1,"record_length":96,"hex_timestamp":"000001a1094e2a40"} 
[2026-10-05 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-10-05 05:17:32] 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-10-05 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":216,"data_length":795,"current_offset":136} 
[2026-10-05 05:17:32] 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-10-05 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-10-05 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-10-05 05:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 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-10-05 05:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536237824001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536237824001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:17:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:17:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536237824001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":205633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:17:32] local.INFO: GPS data processed {"connection_id":205633,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:17:32] local.INFO: Acknowledgment sent {"connection_id":205633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:17:37] local.INFO: TCP Data received {"connection_id":204191,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:17:37] local.INFO: Processing buffer {"connection_id":204191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:17:37] local.INFO: Packet analysis {"connection_id":204191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1094d"} 
[2026-10-05 05:17:37] local.INFO: Extracted packet for processing {"connection_id":204191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1094d"} 
[2026-10-05 05:17:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536233472001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791157463000,"timestamp_ms":1791157463000,"timestamp_seconds":1791157463,"priority":1,"record_length":96,"hex_timestamp":"000001a1094de7d8"} 
[2026-10-05 05:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:17:37] 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-10-05 05:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:17: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-10-05 05:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536233472001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536233472001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:17:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:17:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536233472001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":204191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:17:37] local.INFO: GPS data processed {"connection_id":204191,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:17:37] local.INFO: Acknowledgment sent {"connection_id":204191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:17:56] local.INFO: TCP Data received {"connection_id":207188,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:17:56] local.INFO: Processing buffer {"connection_id":207188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:17:56] local.INFO: IMEI packet received {"connection_id":207188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":207188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:18:00] local.INFO: TCP Data received {"connection_id":207189,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:18:00] local.INFO: Processing buffer {"connection_id":207189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:18:00] local.INFO: IMEI packet received {"connection_id":207189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":207189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:18:01] local.INFO: TCP Data received {"connection_id":207188,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:18:01] local.INFO: Processing buffer {"connection_id":207188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:18:01] local.INFO: IMEI packet received {"connection_id":207188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":207188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:18:02] local.INFO: TCP Data received {"connection_id":207188,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:18:02] local.INFO: Processing buffer {"connection_id":207188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:18:02] local.INFO: Packet analysis {"connection_id":207188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1094e"} 
[2026-10-05 05:18:02] local.INFO: Extracted packet for processing {"connection_id":207188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1094e"} 
[2026-10-05 05:18:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536237824001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:18:02] 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-10-05 05:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791157480000,"timestamp_ms":1791157480000,"timestamp_seconds":1791157480,"priority":1,"record_length":96,"hex_timestamp":"000001a1094e2a40"} 
[2026-10-05 05:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05: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-10-05 05: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 05:18:02] 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-10-05 05: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-10-05 05:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:18: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-10-05 05:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536237824001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536237824001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:18:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:18:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536237824001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":207188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:18:02] local.INFO: GPS data processed {"connection_id":207188,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:18:02] local.INFO: Acknowledgment sent {"connection_id":207188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:18:05] local.INFO: TCP Data received {"connection_id":207189,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:18:05] local.INFO: Processing buffer {"connection_id":207189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:18:05] local.INFO: IMEI packet received {"connection_id":207189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":207189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:18:06] local.INFO: TCP Data received {"connection_id":207189,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:18:06] local.INFO: Processing buffer {"connection_id":207189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:18:06] local.INFO: Packet analysis {"connection_id":207189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1094d"} 
[2026-10-05 05:18:06] local.INFO: Extracted packet for processing {"connection_id":207189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1094d"} 
[2026-10-05 05:18:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536233472001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791157463000,"timestamp_ms":1791157463000,"timestamp_seconds":1791157463,"priority":1,"record_length":96,"hex_timestamp":"000001a1094de7d8"} 
[2026-10-05 05:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:18:06] 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-10-05 05:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:18: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-10-05 05:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536233472001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536233472001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:18:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:18:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536233472001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":207189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:18:06] local.INFO: GPS data processed {"connection_id":207189,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:18:06] local.INFO: Acknowledgment sent {"connection_id":207189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:18:34] local.INFO: TCP Data received {"connection_id":207188,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:18:34] local.INFO: Processing buffer {"connection_id":207188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:18:34] local.INFO: Packet analysis {"connection_id":207188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1094e"} 
[2026-10-05 05:18:34] local.INFO: Extracted packet for processing {"connection_id":207188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1094e"} 
[2026-10-05 05:18:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536237824001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:18:34] 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-10-05 05:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791157480000,"timestamp_ms":1791157480000,"timestamp_seconds":1791157480,"priority":1,"record_length":96,"hex_timestamp":"000001a1094e2a40"} 
[2026-10-05 05:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:18:34] 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-10-05 05: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 05:18:34] 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-10-05 05: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-10-05 05:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":207188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":207188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":207188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536237824001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536237824001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:18:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:18:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536237824001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":207188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:18:34] local.INFO: GPS data processed {"connection_id":207188,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:18:34] local.INFO: Acknowledgment sent {"connection_id":207188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:18:37] local.INFO: TCP Data received {"connection_id":207189,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:18:37] local.INFO: Processing buffer {"connection_id":207189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:18:37] local.INFO: Packet analysis {"connection_id":207189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1094d"} 
[2026-10-05 05:18:37] local.INFO: Extracted packet for processing {"connection_id":207189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1094d"} 
[2026-10-05 05:18:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536233472001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791157463000,"timestamp_ms":1791157463000,"timestamp_seconds":1791157463,"priority":1,"record_length":96,"hex_timestamp":"000001a1094de7d8"} 
[2026-10-05 05:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:18:37] 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-10-05 05: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-10-05 05:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:18: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-10-05 05:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536233472001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536233472001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:18:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:18:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536233472001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":207189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965462,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:18:37] local.INFO: GPS data processed {"connection_id":207189,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:18:37] local.INFO: Acknowledgment sent {"connection_id":207189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:18:55] local.INFO: TCP Data received {"connection_id":205635,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:18:55] local.INFO: Processing buffer {"connection_id":205635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:18:55] local.INFO: IMEI packet received {"connection_id":205635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":205635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:19:00] local.INFO: TCP Data received {"connection_id":205635,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:19:00] local.INFO: Processing buffer {"connection_id":205635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:19:00] local.INFO: IMEI packet received {"connection_id":205635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":205635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:19:01] local.INFO: TCP Data received {"connection_id":205635,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:19:01] local.INFO: Processing buffer {"connection_id":205635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094de7d8012d7c2ac005dac8a0000600bf24..."} 
[2026-10-05 05:19:01] local.INFO: Packet analysis {"connection_id":205635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1094d"} 
[2026-10-05 05:19:01] local.INFO: Extracted packet for processing {"connection_id":205635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1094d"} 
[2026-10-05 05:19:01] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":36,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536233472001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791157463000,"timestamp_ms":1791157463000,"timestamp_seconds":1791157463,"priority":1,"record_length":96,"hex_timestamp":"000001a1094de7d8"} 
[2026-10-05 05:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:19:01] 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-10-05 05:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:19:01] 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-10-05 05:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536233472001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536233472001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:19:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:19:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536233472001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":205635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:19:01] local.INFO: GPS data processed {"connection_id":205635,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:19:01] local.INFO: Acknowledgment sent {"connection_id":205635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:19:01] local.INFO: TCP Data received {"connection_id":205636,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:19:01] local.INFO: Processing buffer {"connection_id":205636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:19:01] local.INFO: IMEI packet received {"connection_id":205636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":205636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:19:06] local.INFO: TCP Data received {"connection_id":205636,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:19:06] local.INFO: Processing buffer {"connection_id":205636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:19:06] local.INFO: IMEI packet received {"connection_id":205636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":205636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:19:07] local.INFO: TCP Data received {"connection_id":205636,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:19:07] local.INFO: Processing buffer {"connection_id":205636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:19:07] local.INFO: Packet analysis {"connection_id":205636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1094e"} 
[2026-10-05 05:19:07] local.INFO: Extracted packet for processing {"connection_id":205636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1094e"} 
[2026-10-05 05:19:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536237824001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:19:07] 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-10-05 05:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791157480000,"timestamp_ms":1791157480000,"timestamp_seconds":1791157480,"priority":1,"record_length":96,"hex_timestamp":"000001a1094e2a40"} 
[2026-10-05 05:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:19: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-10-05 05: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 05:19:07] 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-10-05 05: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-10-05 05:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536237824001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536237824001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:19:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:19:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536237824001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":205636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:19:07] local.INFO: GPS data processed {"connection_id":205636,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:19:07] local.INFO: Acknowledgment sent {"connection_id":205636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:19:11] local.INFO: TCP Data received {"connection_id":205636,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:19:11] local.INFO: Processing buffer {"connection_id":205636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:19:11] local.INFO: Packet analysis {"connection_id":205636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1094e"} 
[2026-10-05 05:19:11] local.INFO: Extracted packet for processing {"connection_id":205636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1094e"} 
[2026-10-05 05:19:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536237824001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:19:11] 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-10-05 05:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791157480000,"timestamp_ms":1791157480000,"timestamp_seconds":1791157480,"priority":1,"record_length":96,"hex_timestamp":"000001a1094e2a40"} 
[2026-10-05 05:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:19:11] 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-10-05 05:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 05:19:11] 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-10-05 05:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536237824001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536237824001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:19:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536237824001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":205636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:19:11] local.INFO: GPS data processed {"connection_id":205636,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:19:11] local.INFO: Acknowledgment sent {"connection_id":205636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:19:18] local.INFO: TCP Data received {"connection_id":205634,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:19:18] local.INFO: Processing buffer {"connection_id":205634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:19:18] local.INFO: IMEI packet received {"connection_id":205634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 05:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":205634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:19:32] local.INFO: TCP Data received {"connection_id":205635,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:19:32] local.INFO: Processing buffer {"connection_id":205635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:19:32] local.INFO: Packet analysis {"connection_id":205635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:19:32] local.INFO: Extracted packet for processing {"connection_id":205635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536310528001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791157764000,"timestamp_ms":1791157764000,"timestamp_seconds":1791157764,"priority":1,"record_length":96,"hex_timestamp":"000001a109527fa0"} 
[2026-10-05 05:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 05:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:19:32] 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-10-05 05:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536310528001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536310528001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:19:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:19:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536310528001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":205635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965466,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:19:32] local.INFO: GPS data processed {"connection_id":205635,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:19:32] local.INFO: Acknowledgment sent {"connection_id":205635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:19:42] local.INFO: TCP Data received {"connection_id":204102,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:19:42] local.INFO: Processing buffer {"connection_id":204102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:19:42] local.INFO: IMEI packet received {"connection_id":204102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 05:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":204102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:19:56] local.INFO: TCP Data received {"connection_id":204192,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:19:56] local.INFO: Processing buffer {"connection_id":204192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:19:56] local.INFO: IMEI packet received {"connection_id":204192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":204192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:20:00] local.INFO: TCP Data received {"connection_id":204193,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:20:00] local.INFO: Processing buffer {"connection_id":204193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:20:00] local.INFO: IMEI packet received {"connection_id":204193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":204193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:20:01] local.INFO: TCP Data received {"connection_id":204192,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:20:01] local.INFO: Processing buffer {"connection_id":204192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:20:01] local.INFO: IMEI packet received {"connection_id":204192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":204192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:20:01] local.INFO: TCP Data received {"connection_id":204192,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:20:01] local.INFO: Processing buffer {"connection_id":204192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1094e2a40012d7f91c005afd9f0001c010121..."} 
[2026-10-05 05:20:01] local.INFO: Packet analysis {"connection_id":204192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1094e"} 
[2026-10-05 05:20:01] local.INFO: Extracted packet for processing {"connection_id":204192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1094e"} 
[2026-10-05 05:20:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":28,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536237824001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:20: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-10-05 05:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791157480000,"timestamp_ms":1791157480000,"timestamp_seconds":1791157480,"priority":1,"record_length":96,"hex_timestamp":"000001a1094e2a40"} 
[2026-10-05 05:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:20:01] 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-10-05 05:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 05:20:01] 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-10-05 05:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:20: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-10-05 05:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536237824001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536237824001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:20:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:20:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536237824001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":204192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:20:01] local.INFO: GPS data processed {"connection_id":204192,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:20:01] local.INFO: Acknowledgment sent {"connection_id":204192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:20:05] local.INFO: TCP Data received {"connection_id":204193,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:20:05] local.INFO: Processing buffer {"connection_id":204193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:20:05] local.INFO: IMEI packet received {"connection_id":204193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":204193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:20:06] local.INFO: TCP Data received {"connection_id":204193,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:20:06] local.INFO: Processing buffer {"connection_id":204193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:20:06] local.INFO: Packet analysis {"connection_id":204193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:20:06] local.INFO: Extracted packet for processing {"connection_id":204193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:20:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536310528001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791157764000,"timestamp_ms":1791157764000,"timestamp_seconds":1791157764,"priority":1,"record_length":96,"hex_timestamp":"000001a109527fa0"} 
[2026-10-05 05:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 05:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:20: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-10-05 05:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536310528001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536310528001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:20:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:20:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536310528001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":204193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965468,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:20:06] local.INFO: GPS data processed {"connection_id":204193,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:20:06] local.INFO: Acknowledgment sent {"connection_id":204193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:20:32] local.INFO: TCP Data received {"connection_id":204192,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:20:32] local.INFO: Processing buffer {"connection_id":204192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:20:32] local.INFO: Packet analysis {"connection_id":204192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:20:32] local.INFO: Extracted packet for processing {"connection_id":204192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:20:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":32,"angle":257,"satellites":29,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536314880001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:20: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-10-05 05:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791157781000,"timestamp_ms":1791157781000,"timestamp_seconds":1791157781,"priority":1,"record_length":96,"hex_timestamp":"000001a10952c208"} 
[2026-10-05 05:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:20:32] 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-10-05 05:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:20: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-10-05 05:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:20: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-10-05 05:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536314880001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536314880001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:20:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:20:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536314880001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":204192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:20:33] local.INFO: GPS data processed {"connection_id":204192,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:20:33] local.INFO: Acknowledgment sent {"connection_id":204192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:20:37] local.INFO: TCP Data received {"connection_id":204193,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:20:37] local.INFO: Processing buffer {"connection_id":204193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:20:37] local.INFO: Packet analysis {"connection_id":204193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:20:37] local.INFO: Extracted packet for processing {"connection_id":204193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:20:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536310528001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791157764000,"timestamp_ms":1791157764000,"timestamp_seconds":1791157764,"priority":1,"record_length":96,"hex_timestamp":"000001a109527fa0"} 
[2026-10-05 05:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 05:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:20: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-10-05 05:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536310528001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536310528001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:20:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:20:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536310528001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":204193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965470,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:20:37] local.INFO: GPS data processed {"connection_id":204193,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:20:37] local.INFO: Acknowledgment sent {"connection_id":204193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:20:56] local.INFO: TCP Data received {"connection_id":205637,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:20:56] local.INFO: Processing buffer {"connection_id":205637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:20:56] local.INFO: IMEI packet received {"connection_id":205637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":205637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:21:00] local.INFO: TCP Data received {"connection_id":207191,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:21:00] local.INFO: Processing buffer {"connection_id":207191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:21:00] local.INFO: IMEI packet received {"connection_id":207191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":207191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:21:01] local.INFO: TCP Data received {"connection_id":205637,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:21:01] local.INFO: Processing buffer {"connection_id":205637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:21:01] local.INFO: IMEI packet received {"connection_id":205637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":205637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:21:02] local.INFO: TCP Data received {"connection_id":205637,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:21:02] local.INFO: Processing buffer {"connection_id":205637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:21:02] local.INFO: Packet analysis {"connection_id":205637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:21:02] local.INFO: Extracted packet for processing {"connection_id":205637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:21:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":32,"angle":257,"satellites":29,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536314880001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:21:02] 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-10-05 05:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791157781000,"timestamp_ms":1791157781000,"timestamp_seconds":1791157781,"priority":1,"record_length":96,"hex_timestamp":"000001a10952c208"} 
[2026-10-05 05:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:21: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-10-05 05:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:21:02] 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-10-05 05:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:21: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-10-05 05:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536314880001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536314880001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:21:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:21:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536314880001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":205637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:21:02] local.INFO: GPS data processed {"connection_id":205637,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:21:02] local.INFO: Acknowledgment sent {"connection_id":205637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:21:05] local.INFO: TCP Data received {"connection_id":207191,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:21:05] local.INFO: Processing buffer {"connection_id":207191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:21:05] local.INFO: IMEI packet received {"connection_id":207191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":207191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:21:05] local.INFO: TCP Data received {"connection_id":207191,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:21:05] local.INFO: Processing buffer {"connection_id":207191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:21:05] local.INFO: Packet analysis {"connection_id":207191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:21:05] local.INFO: Extracted packet for processing {"connection_id":207191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:21:05] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536310528001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791157764000,"timestamp_ms":1791157764000,"timestamp_seconds":1791157764,"priority":1,"record_length":96,"hex_timestamp":"000001a109527fa0"} 
[2026-10-05 05:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 05:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05: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-10-05 05:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:21: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-10-05 05:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536310528001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536310528001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:21:05] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:21:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536310528001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":207191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965472,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:21:05] local.INFO: GPS data processed {"connection_id":207191,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:21:05] local.INFO: Acknowledgment sent {"connection_id":207191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:21:33] local.INFO: TCP Data received {"connection_id":205637,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:21:33] local.INFO: Processing buffer {"connection_id":205637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:21:33] local.INFO: Packet analysis {"connection_id":205637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:21:33] local.INFO: Extracted packet for processing {"connection_id":205637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:21:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":32,"angle":257,"satellites":29,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:21: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-10-05 05:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536314880001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:21: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-10-05 05:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791157781000,"timestamp_ms":1791157781000,"timestamp_seconds":1791157781,"priority":1,"record_length":96,"hex_timestamp":"000001a10952c208"} 
[2026-10-05 05:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:21:33] 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-10-05 05:21: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":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:21:33] 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-10-05 05:21: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-10-05 05:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536314880001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536314880001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:21:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:21:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536314880001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":205637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:21:33] local.INFO: GPS data processed {"connection_id":205637,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:21:33] local.INFO: Acknowledgment sent {"connection_id":205637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:21:36] local.INFO: TCP Data received {"connection_id":207191,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:21:36] local.INFO: Processing buffer {"connection_id":207191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:21:36] local.INFO: Packet analysis {"connection_id":207191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:21:36] local.INFO: Extracted packet for processing {"connection_id":207191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:21:36] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536310528001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791157764000,"timestamp_ms":1791157764000,"timestamp_seconds":1791157764,"priority":1,"record_length":96,"hex_timestamp":"000001a109527fa0"} 
[2026-10-05 05:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 05:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05: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-10-05 05:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:21: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-10-05 05:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536310528001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536310528001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:21:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:21:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536310528001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":207191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965474,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:21:36] local.INFO: GPS data processed {"connection_id":207191,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:21:36] local.INFO: Acknowledgment sent {"connection_id":207191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:21:55] local.INFO: TCP Data received {"connection_id":204103,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:21:55] local.INFO: Processing buffer {"connection_id":204103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:21:55] local.INFO: IMEI packet received {"connection_id":204103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":204103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:22:01] local.INFO: TCP Data received {"connection_id":204103,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:22:01] local.INFO: Processing buffer {"connection_id":204103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:22:01] local.INFO: IMEI packet received {"connection_id":204103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":204103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:22:01] local.INFO: TCP Data received {"connection_id":204103,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:22:01] local.INFO: Processing buffer {"connection_id":204103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:22:01] local.INFO: Packet analysis {"connection_id":204103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:22:01] local.INFO: Extracted packet for processing {"connection_id":204103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:22:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":32,"angle":257,"satellites":29,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536314880001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:22: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-10-05 05:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791157781000,"timestamp_ms":1791157781000,"timestamp_seconds":1791157781,"priority":1,"record_length":96,"hex_timestamp":"000001a10952c208"} 
[2026-10-05 05:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:22:01] 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-10-05 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:22: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-10-05 05: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-10-05 05:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:22: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-10-05 05:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536314880001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536314880001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:22:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:22:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536314880001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":204103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:22:01] local.INFO: GPS data processed {"connection_id":204103,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:22:01] local.INFO: Acknowledgment sent {"connection_id":204103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:22:05] local.INFO: TCP Data received {"connection_id":207192,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:22:05] local.INFO: Processing buffer {"connection_id":207192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:22:05] local.INFO: IMEI packet received {"connection_id":207192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":207192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:22:10] local.INFO: TCP Data received {"connection_id":207192,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:22:10] local.INFO: Processing buffer {"connection_id":207192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:22:10] local.INFO: IMEI packet received {"connection_id":207192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":207192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:22:11] local.INFO: TCP Data received {"connection_id":207192,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:22:11] local.INFO: Processing buffer {"connection_id":207192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:22:11] local.INFO: Packet analysis {"connection_id":207192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:22:11] local.INFO: Extracted packet for processing {"connection_id":207192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:22:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536310528001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791157764000,"timestamp_ms":1791157764000,"timestamp_seconds":1791157764,"priority":1,"record_length":96,"hex_timestamp":"000001a109527fa0"} 
[2026-10-05 05:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 05:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05: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-10-05 05:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:22:11] 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-10-05 05:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536310528001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536310528001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:22:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536310528001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":207192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:22:11] local.INFO: GPS data processed {"connection_id":207192,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:22:11] local.INFO: Acknowledgment sent {"connection_id":207192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:22:15] local.INFO: TCP Data received {"connection_id":207192,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:22:15] local.INFO: Processing buffer {"connection_id":207192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:22:15] local.INFO: Packet analysis {"connection_id":207192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:22:15] local.INFO: Extracted packet for processing {"connection_id":207192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:22:15] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536310528001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791157764000,"timestamp_ms":1791157764000,"timestamp_seconds":1791157764,"priority":1,"record_length":96,"hex_timestamp":"000001a109527fa0"} 
[2026-10-05 05:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 05:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:22: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-10-05 05:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536310528001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536310528001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:22:15] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:22:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536310528001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":207192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:22:15] local.INFO: GPS data processed {"connection_id":207192,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:22:15] local.INFO: Acknowledgment sent {"connection_id":207192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:22:32] local.INFO: TCP Data received {"connection_id":204103,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:22:32] local.INFO: Processing buffer {"connection_id":204103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:22:32] local.INFO: Packet analysis {"connection_id":204103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:22:32] local.INFO: Extracted packet for processing {"connection_id":204103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":32,"angle":257,"satellites":29,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536314880001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:22: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-10-05 05:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791157781000,"timestamp_ms":1791157781000,"timestamp_seconds":1791157781,"priority":1,"record_length":96,"hex_timestamp":"000001a10952c208"} 
[2026-10-05 05:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:22:32] 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-10-05 05:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:22: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-10-05 05:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:22: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-10-05 05:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536314880001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536314880001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:22:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:22:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536314880001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":204103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:22:32] local.INFO: GPS data processed {"connection_id":204103,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:22:32] local.INFO: Acknowledgment sent {"connection_id":204103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:22:55] local.INFO: TCP Data received {"connection_id":207194,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:22:55] local.INFO: Processing buffer {"connection_id":207194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:22:55] local.INFO: IMEI packet received {"connection_id":207194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":207194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:23:00] local.INFO: TCP Data received {"connection_id":207193,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:23:00] local.INFO: Processing buffer {"connection_id":207193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:23:00] local.INFO: IMEI packet received {"connection_id":207193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":207193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:23:01] local.INFO: TCP Data received {"connection_id":207194,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:23:01] local.INFO: Processing buffer {"connection_id":207194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:23:01] local.INFO: IMEI packet received {"connection_id":207194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":207194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:23:01] local.INFO: TCP Data received {"connection_id":207194,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:23:01] local.INFO: Processing buffer {"connection_id":207194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:23:01] local.INFO: Packet analysis {"connection_id":207194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:23:01] local.INFO: Extracted packet for processing {"connection_id":207194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:23:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":32,"angle":257,"satellites":29,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536314880001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:23: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-10-05 05:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791157781000,"timestamp_ms":1791157781000,"timestamp_seconds":1791157781,"priority":1,"record_length":96,"hex_timestamp":"000001a10952c208"} 
[2026-10-05 05:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:23:01] 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-10-05 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:23: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-10-05 05: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-10-05 05:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:23: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-10-05 05:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536314880001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536314880001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:23:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:23:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536314880001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":207194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:23:01] local.INFO: GPS data processed {"connection_id":207194,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:23:01] local.INFO: Acknowledgment sent {"connection_id":207194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:23:05] local.INFO: TCP Data received {"connection_id":207193,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:23:05] local.INFO: Processing buffer {"connection_id":207193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:23:05] local.INFO: IMEI packet received {"connection_id":207193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":207193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:23:06] local.INFO: TCP Data received {"connection_id":207193,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:23:06] local.INFO: Processing buffer {"connection_id":207193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:23:06] local.INFO: Packet analysis {"connection_id":207193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:23:06] local.INFO: Extracted packet for processing {"connection_id":207193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:23:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536310528001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791157764000,"timestamp_ms":1791157764000,"timestamp_seconds":1791157764,"priority":1,"record_length":96,"hex_timestamp":"000001a109527fa0"} 
[2026-10-05 05:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 05:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05: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-10-05 05:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536310528001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536310528001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:23:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:23:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536310528001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":207193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965480,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:23:06] local.INFO: GPS data processed {"connection_id":207193,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:23:06] local.INFO: Acknowledgment sent {"connection_id":207193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:23:32] local.INFO: TCP Data received {"connection_id":207194,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:23:32] local.INFO: Processing buffer {"connection_id":207194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:23:32] local.INFO: Packet analysis {"connection_id":207194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:23:32] local.INFO: Extracted packet for processing {"connection_id":207194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":32,"angle":257,"satellites":29,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536314880001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:23: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-10-05 05:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791157781000,"timestamp_ms":1791157781000,"timestamp_seconds":1791157781,"priority":1,"record_length":96,"hex_timestamp":"000001a10952c208"} 
[2026-10-05 05:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:23:32] 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-10-05 05:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:23: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-10-05 05:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536314880001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536314880001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:23:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:23:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536314880001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":207194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:23:32] local.INFO: GPS data processed {"connection_id":207194,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:23:32] local.INFO: Acknowledgment sent {"connection_id":207194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:23:37] local.INFO: TCP Data received {"connection_id":207193,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:23:37] local.INFO: Processing buffer {"connection_id":207193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:23:37] local.INFO: Packet analysis {"connection_id":207193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:23:37] local.INFO: Extracted packet for processing {"connection_id":207193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:23:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536310528001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791157764000,"timestamp_ms":1791157764000,"timestamp_seconds":1791157764,"priority":1,"record_length":96,"hex_timestamp":"000001a109527fa0"} 
[2026-10-05 05:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 05:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05: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-10-05 05:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536310528001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536310528001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:23:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:23:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536310528001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":207193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965482,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:23:37] local.INFO: GPS data processed {"connection_id":207193,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:23:37] local.INFO: Acknowledgment sent {"connection_id":207193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:24:00] local.INFO: TCP Data received {"connection_id":204104,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:24:00] local.INFO: Processing buffer {"connection_id":204104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:24:00] local.INFO: IMEI packet received {"connection_id":204104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":204104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:24:01] local.INFO: TCP Data received {"connection_id":207196,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:24:01] local.INFO: Processing buffer {"connection_id":207196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:24:01] local.INFO: IMEI packet received {"connection_id":207196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":207196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:24:05] local.INFO: TCP Data received {"connection_id":204104,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:24:05] local.INFO: Processing buffer {"connection_id":204104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:24:05] local.INFO: IMEI packet received {"connection_id":204104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":204104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:24:06] local.INFO: TCP Data received {"connection_id":207196,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:24:06] local.INFO: Processing buffer {"connection_id":207196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:24:06] local.INFO: IMEI packet received {"connection_id":207196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":207196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:24:06] local.INFO: TCP Data received {"connection_id":204104,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:24:06] local.INFO: Processing buffer {"connection_id":204104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109527fa0012d7c2ac005dac8a0000600bf22..."} 
[2026-10-05 05:24:06] local.INFO: Packet analysis {"connection_id":204104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:24:06] local.INFO: Extracted packet for processing {"connection_id":204104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:24:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536310528001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791157764000,"timestamp_ms":1791157764000,"timestamp_seconds":1791157764,"priority":1,"record_length":96,"hex_timestamp":"000001a109527fa0"} 
[2026-10-05 05:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 05:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536310528001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536310528001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:24:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:24:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536310528001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":204104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:24:06] local.INFO: GPS data processed {"connection_id":204104,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:24:06] local.INFO: Acknowledgment sent {"connection_id":204104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:24:06] local.INFO: TCP Data received {"connection_id":207196,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:24:06] local.INFO: Processing buffer {"connection_id":207196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:24:06] local.INFO: Packet analysis {"connection_id":207196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:24:06] local.INFO: Extracted packet for processing {"connection_id":207196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:24:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":32,"angle":257,"satellites":29,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536314880001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:24:06] 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-10-05 05:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791157781000,"timestamp_ms":1791157781000,"timestamp_seconds":1791157781,"priority":1,"record_length":96,"hex_timestamp":"000001a10952c208"} 
[2026-10-05 05:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:24:06] 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-10-05 05:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:24:06] 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-10-05 05:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:24: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-10-05 05:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536314880001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536314880001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:24:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:24:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536314880001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":207196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:24:06] local.INFO: GPS data processed {"connection_id":207196,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:24:06] local.INFO: Acknowledgment sent {"connection_id":207196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:24:11] local.INFO: TCP Data received {"connection_id":207196,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:24:11] local.INFO: Processing buffer {"connection_id":207196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:24:11] local.INFO: Packet analysis {"connection_id":207196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:24:11] local.INFO: Extracted packet for processing {"connection_id":207196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:24:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":32,"angle":257,"satellites":29,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536314880001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:24:11] 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-10-05 05:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791157781000,"timestamp_ms":1791157781000,"timestamp_seconds":1791157781,"priority":1,"record_length":96,"hex_timestamp":"000001a10952c208"} 
[2026-10-05 05:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:24:11] 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-10-05 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:24:11] 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-10-05 05: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-10-05 05:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536314880001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536314880001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:24:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:24:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536314880001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":207196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:24:11] local.INFO: GPS data processed {"connection_id":207196,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:24:11] local.INFO: Acknowledgment sent {"connection_id":207196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:24:37] local.INFO: TCP Data received {"connection_id":204104,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:24:37] local.INFO: Processing buffer {"connection_id":204104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:24:37] local.INFO: Packet analysis {"connection_id":204104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:24:37] local.INFO: Extracted packet for processing {"connection_id":204104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:24:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536387584001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791158065000,"timestamp_ms":1791158065000,"timestamp_seconds":1791158065,"priority":1,"record_length":96,"hex_timestamp":"000001a109571768"} 
[2026-10-05 05:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 05:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536387584001,"66":12428,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536387584001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:24:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:24:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536387584001,"power":12428,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":204104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965486,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:24:37] local.INFO: GPS data processed {"connection_id":204104,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:24:37] local.INFO: Acknowledgment sent {"connection_id":204104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:24:57] local.INFO: TCP Data received {"connection_id":204195,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:24:57] local.INFO: Processing buffer {"connection_id":204195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:24:57] local.INFO: IMEI packet received {"connection_id":204195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":204195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:25:00] local.INFO: TCP Data received {"connection_id":204196,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:25:00] local.INFO: Processing buffer {"connection_id":204196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:25:00] local.INFO: IMEI packet received {"connection_id":204196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":204196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:25:01] local.INFO: TCP Data received {"connection_id":204195,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:25:01] local.INFO: Processing buffer {"connection_id":204195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:25:01] local.INFO: IMEI packet received {"connection_id":204195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":204195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:25:01] local.INFO: TCP Data received {"connection_id":204195,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:25:01] local.INFO: Processing buffer {"connection_id":204195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:25:01] local.INFO: Packet analysis {"connection_id":204195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:25:01] local.INFO: Extracted packet for processing {"connection_id":204195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:25:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":32,"angle":257,"satellites":29,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536314880001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:25: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-10-05 05:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791157781000,"timestamp_ms":1791157781000,"timestamp_seconds":1791157781,"priority":1,"record_length":96,"hex_timestamp":"000001a10952c208"} 
[2026-10-05 05:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:25:01] 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-10-05 05: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-10-05 05: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-10-05 05: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-10-05 05:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:25: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-10-05 05:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536314880001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536314880001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:25:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:25:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536314880001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":204195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:25:01] local.INFO: GPS data processed {"connection_id":204195,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:25:01] local.INFO: Acknowledgment sent {"connection_id":204195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:25:05] local.INFO: TCP Data received {"connection_id":204196,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:25:05] local.INFO: Processing buffer {"connection_id":204196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:25:05] local.INFO: IMEI packet received {"connection_id":204196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":204196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:25:06] local.INFO: TCP Data received {"connection_id":204196,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:25:06] local.INFO: Processing buffer {"connection_id":204196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:25:06] local.INFO: Packet analysis {"connection_id":204196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:25:06] local.INFO: Extracted packet for processing {"connection_id":204196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:25:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536387584001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791158065000,"timestamp_ms":1791158065000,"timestamp_seconds":1791158065,"priority":1,"record_length":96,"hex_timestamp":"000001a109571768"} 
[2026-10-05 05:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 05:25:06] 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-10-05 05:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536387584001,"66":12428,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536387584001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:25:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:25:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536387584001,"power":12428,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":204196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:25:06] local.INFO: GPS data processed {"connection_id":204196,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:25:06] local.INFO: Acknowledgment sent {"connection_id":204196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:25:07] local.INFO: TCP Data received {"connection_id":204195,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:25:07] local.INFO: Processing buffer {"connection_id":204195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10952c208012d7f91c005afd9f0002001011d..."} 
[2026-10-05 05:25:07] local.INFO: Packet analysis {"connection_id":204195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:25:07] local.INFO: Extracted packet for processing {"connection_id":204195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10952"} 
[2026-10-05 05:25:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":32,"angle":257,"satellites":29,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536314880001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:25:07] 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-10-05 05:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791157781000,"timestamp_ms":1791157781000,"timestamp_seconds":1791157781,"priority":1,"record_length":96,"hex_timestamp":"000001a10952c208"} 
[2026-10-05 05:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:25: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-10-05 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05: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-10-05 05:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:25: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-10-05 05:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536314880001,"66":25582,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536314880001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:25:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:25:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536314880001,"power":25582,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":204195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:25:07] local.INFO: GPS data processed {"connection_id":204195,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:25:07] local.INFO: Acknowledgment sent {"connection_id":204195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:25:08] local.INFO: TCP Data received {"connection_id":204194,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204194,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:25:08] local.INFO: Processing buffer {"connection_id":204194,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:25:08] local.INFO: IMEI packet received {"connection_id":204194,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 05:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":204194,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:25:37] local.INFO: TCP Data received {"connection_id":204196,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:25:37] local.INFO: Processing buffer {"connection_id":204196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:25:37] local.INFO: Packet analysis {"connection_id":204196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:25:37] local.INFO: Extracted packet for processing {"connection_id":204196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:25:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536387584001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791158065000,"timestamp_ms":1791158065000,"timestamp_seconds":1791158065,"priority":1,"record_length":96,"hex_timestamp":"000001a109571768"} 
[2026-10-05 05:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 05:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536387584001,"66":12428,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536387584001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:25:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:25:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536387584001,"power":12428,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":204196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:25:37] local.INFO: GPS data processed {"connection_id":204196,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:25:37] local.INFO: Acknowledgment sent {"connection_id":204196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:25:38] local.INFO: TCP Data received {"connection_id":204195,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:25:38] local.INFO: Processing buffer {"connection_id":204195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:25:38] local.INFO: Packet analysis {"connection_id":204195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:25:38] local.INFO: Extracted packet for processing {"connection_id":204195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:25:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":29,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536391936001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:25:38] 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-10-05 05:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791158082000,"timestamp_ms":1791158082000,"timestamp_seconds":1791158082,"priority":1,"record_length":96,"hex_timestamp":"000001a1095759d0"} 
[2026-10-05 05:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:25:38] 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-10-05 05:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:25:38] 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-10-05 05:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536391936001,"66":25473,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536391936001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:25:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:25:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536391936001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":204195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:25:38] local.INFO: GPS data processed {"connection_id":204195,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:25:38] local.INFO: Acknowledgment sent {"connection_id":204195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:25:48] local.INFO: TCP Data received {"connection_id":207197,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:25:48] local.INFO: Processing buffer {"connection_id":207197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:25:48] local.INFO: IMEI packet received {"connection_id":207197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 05:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":207197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:25:55] local.INFO: TCP Data received {"connection_id":207198,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:25:55] local.INFO: Processing buffer {"connection_id":207198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:25:55] local.INFO: IMEI packet received {"connection_id":207198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":207198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:26:00] local.INFO: TCP Data received {"connection_id":204105,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:26:00] local.INFO: Processing buffer {"connection_id":204105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:26:00] local.INFO: IMEI packet received {"connection_id":204105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":204105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:26:01] local.INFO: TCP Data received {"connection_id":207198,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:26:01] local.INFO: Processing buffer {"connection_id":207198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:26:01] local.INFO: IMEI packet received {"connection_id":207198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":207198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:26:02] local.INFO: TCP Data received {"connection_id":207198,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:26:02] local.INFO: Processing buffer {"connection_id":207198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:26:02] local.INFO: Packet analysis {"connection_id":207198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:26:02] local.INFO: Extracted packet for processing {"connection_id":207198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":29,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536391936001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:26:02] 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-10-05 05:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791158082000,"timestamp_ms":1791158082000,"timestamp_seconds":1791158082,"priority":1,"record_length":96,"hex_timestamp":"000001a1095759d0"} 
[2026-10-05 05:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:26: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-10-05 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:26:02] 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-10-05 05: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-10-05 05:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:26: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-10-05 05:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536391936001,"66":25473,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536391936001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:26:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:26:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536391936001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":207198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:26:02] local.INFO: GPS data processed {"connection_id":207198,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:26:02] local.INFO: Acknowledgment sent {"connection_id":207198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:26:05] local.INFO: TCP Data received {"connection_id":204105,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:26:05] local.INFO: Processing buffer {"connection_id":204105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:26:05] local.INFO: IMEI packet received {"connection_id":204105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":204105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:26:06] local.INFO: TCP Data received {"connection_id":204105,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:26:06] local.INFO: Processing buffer {"connection_id":204105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:26:06] local.INFO: Packet analysis {"connection_id":204105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:26:06] local.INFO: Extracted packet for processing {"connection_id":204105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:26:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536387584001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791158065000,"timestamp_ms":1791158065000,"timestamp_seconds":1791158065,"priority":1,"record_length":96,"hex_timestamp":"000001a109571768"} 
[2026-10-05 05:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 05:26:06] 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-10-05 05:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536387584001,"66":12428,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536387584001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:26:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:26:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536387584001,"power":12428,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":204105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965493,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:26:06] local.INFO: GPS data processed {"connection_id":204105,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:26:06] local.INFO: Acknowledgment sent {"connection_id":204105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:26:33] local.INFO: TCP Data received {"connection_id":207198,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:26:33] local.INFO: Processing buffer {"connection_id":207198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:26:33] local.INFO: Packet analysis {"connection_id":207198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:26:33] local.INFO: Extracted packet for processing {"connection_id":207198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":29,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536391936001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05: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-10-05 05:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791158082000,"timestamp_ms":1791158082000,"timestamp_seconds":1791158082,"priority":1,"record_length":96,"hex_timestamp":"000001a1095759d0"} 
[2026-10-05 05:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:26:33] 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-10-05 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:26:33] 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-10-05 05: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-10-05 05:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05: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-10-05 05:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536391936001,"66":25473,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536391936001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:26:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:26:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536391936001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":207198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:26:33] local.INFO: GPS data processed {"connection_id":207198,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:26:33] local.INFO: Acknowledgment sent {"connection_id":207198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:26:37] local.INFO: TCP Data received {"connection_id":204105,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:26:37] local.INFO: Processing buffer {"connection_id":204105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:26:37] local.INFO: Packet analysis {"connection_id":204105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:26:37] local.INFO: Extracted packet for processing {"connection_id":204105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:26:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536387584001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791158065000,"timestamp_ms":1791158065000,"timestamp_seconds":1791158065,"priority":1,"record_length":96,"hex_timestamp":"000001a109571768"} 
[2026-10-05 05:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 05:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536387584001,"66":12428,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536387584001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:26:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:26:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536387584001,"power":12428,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":204105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:26:37] local.INFO: GPS data processed {"connection_id":204105,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:26:37] local.INFO: Acknowledgment sent {"connection_id":204105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:26:55] local.INFO: TCP Data received {"connection_id":207200,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:26:55] local.INFO: Processing buffer {"connection_id":207200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:26:55] local.INFO: IMEI packet received {"connection_id":207200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":207200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:27:00] local.INFO: TCP Data received {"connection_id":204197,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204197,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:27:00] local.INFO: Processing buffer {"connection_id":204197,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:27:00] local.INFO: IMEI packet received {"connection_id":204197,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":204197,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:27:01] local.INFO: TCP Data received {"connection_id":207200,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:27:01] local.INFO: Processing buffer {"connection_id":207200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:27:01] local.INFO: IMEI packet received {"connection_id":207200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":207200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:27:01] local.INFO: TCP Data received {"connection_id":207200,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:27:01] local.INFO: Processing buffer {"connection_id":207200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:27:01] local.INFO: Packet analysis {"connection_id":207200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:27:01] local.INFO: Extracted packet for processing {"connection_id":207200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:27:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":29,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536391936001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:27: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-10-05 05:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791158082000,"timestamp_ms":1791158082000,"timestamp_seconds":1791158082,"priority":1,"record_length":96,"hex_timestamp":"000001a1095759d0"} 
[2026-10-05 05:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:27:01] 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-10-05 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:27: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-10-05 05: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-10-05 05:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:27: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-10-05 05:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536391936001,"66":25473,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536391936001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:27:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:27:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536391936001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":207200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:27:01] local.INFO: GPS data processed {"connection_id":207200,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:27:01] local.INFO: Acknowledgment sent {"connection_id":207200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:27:05] local.INFO: TCP Data received {"connection_id":204197,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204197,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:27:05] local.INFO: Processing buffer {"connection_id":204197,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:27:05] local.INFO: IMEI packet received {"connection_id":204197,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":204197,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:27:06] local.INFO: TCP Data received {"connection_id":204197,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:27:06] local.INFO: Processing buffer {"connection_id":204197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:27:06] local.INFO: Packet analysis {"connection_id":204197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:27:06] local.INFO: Extracted packet for processing {"connection_id":204197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:27:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536387584001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791158065000,"timestamp_ms":1791158065000,"timestamp_seconds":1791158065,"priority":1,"record_length":96,"hex_timestamp":"000001a109571768"} 
[2026-10-05 05:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 05:27:06] 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-10-05 05:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536387584001,"66":12428,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536387584001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:27:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:27:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536387584001,"power":12428,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":204197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:27:06] local.INFO: GPS data processed {"connection_id":204197,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:27:06] local.INFO: Acknowledgment sent {"connection_id":204197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:27:33] local.INFO: TCP Data received {"connection_id":207200,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:27:33] local.INFO: Processing buffer {"connection_id":207200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:27:33] local.INFO: Packet analysis {"connection_id":207200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:27:33] local.INFO: Extracted packet for processing {"connection_id":207200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":29,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:27: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-10-05 05:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536391936001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:27: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-10-05 05:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791158082000,"timestamp_ms":1791158082000,"timestamp_seconds":1791158082,"priority":1,"record_length":96,"hex_timestamp":"000001a1095759d0"} 
[2026-10-05 05:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:27:33] 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-10-05 05:27: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":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:27:33] 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-10-05 05:27: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-10-05 05:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:27: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-10-05 05:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536391936001,"66":25473,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536391936001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:27:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:27:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536391936001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":207200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:27:33] local.INFO: GPS data processed {"connection_id":207200,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:27:33] local.INFO: Acknowledgment sent {"connection_id":207200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:27:37] local.INFO: TCP Data received {"connection_id":204197,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:27:37] local.INFO: Processing buffer {"connection_id":204197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:27:37] local.INFO: Packet analysis {"connection_id":204197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:27:37] local.INFO: Extracted packet for processing {"connection_id":204197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:27:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536387584001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791158065000,"timestamp_ms":1791158065000,"timestamp_seconds":1791158065,"priority":1,"record_length":96,"hex_timestamp":"000001a109571768"} 
[2026-10-05 05:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 05:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536387584001,"66":12428,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536387584001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:27:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:27:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536387584001,"power":12428,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":204197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965499,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:27:37] local.INFO: GPS data processed {"connection_id":204197,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:27:37] local.INFO: Acknowledgment sent {"connection_id":204197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:28:01] local.INFO: TCP Data received {"connection_id":205640,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:28:01] local.INFO: Processing buffer {"connection_id":205640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:28:01] local.INFO: IMEI packet received {"connection_id":205640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":205640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:28:05] local.INFO: TCP Data received {"connection_id":205641,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:28:05] local.INFO: Processing buffer {"connection_id":205641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:28:05] local.INFO: IMEI packet received {"connection_id":205641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":205641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:28:06] local.INFO: TCP Data received {"connection_id":205640,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:28:06] local.INFO: Processing buffer {"connection_id":205640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:28:06] local.INFO: IMEI packet received {"connection_id":205640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":205640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:28:06] local.INFO: TCP Data received {"connection_id":205640,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:28:06] local.INFO: Processing buffer {"connection_id":205640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:28:06] local.INFO: Packet analysis {"connection_id":205640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:28:06] local.INFO: Extracted packet for processing {"connection_id":205640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:28:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":29,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536391936001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:28:06] 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-10-05 05:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791158082000,"timestamp_ms":1791158082000,"timestamp_seconds":1791158082,"priority":1,"record_length":96,"hex_timestamp":"000001a1095759d0"} 
[2026-10-05 05:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:28:06] 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-10-05 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:28:06] 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-10-05 05: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-10-05 05:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536391936001,"66":25473,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536391936001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:28:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:28:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536391936001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":205640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:28:06] local.INFO: GPS data processed {"connection_id":205640,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:28:06] local.INFO: Acknowledgment sent {"connection_id":205640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:28:10] local.INFO: TCP Data received {"connection_id":205641,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:28:10] local.INFO: Processing buffer {"connection_id":205641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:28:10] local.INFO: IMEI packet received {"connection_id":205641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":205641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:28:11] local.INFO: TCP Data received {"connection_id":205641,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:28:11] local.INFO: Processing buffer {"connection_id":205641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:28:11] local.INFO: Packet analysis {"connection_id":205641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:28:11] local.INFO: Extracted packet for processing {"connection_id":205641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:28:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536387584001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791158065000,"timestamp_ms":1791158065000,"timestamp_seconds":1791158065,"priority":1,"record_length":96,"hex_timestamp":"000001a109571768"} 
[2026-10-05 05:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 05:28:11] 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-10-05 05:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536387584001,"66":12428,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536387584001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:28:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536387584001,"power":12428,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":205641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:28:11] local.INFO: GPS data processed {"connection_id":205641,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:28:11] local.INFO: Acknowledgment sent {"connection_id":205641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:28:37] local.INFO: TCP Data received {"connection_id":205640,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:28:37] local.INFO: Processing buffer {"connection_id":205640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:28:37] local.INFO: Packet analysis {"connection_id":205640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:28:37] local.INFO: Extracted packet for processing {"connection_id":205640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:28:37] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":29,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536391936001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:28:37] 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-10-05 05:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791158082000,"timestamp_ms":1791158082000,"timestamp_seconds":1791158082,"priority":1,"record_length":96,"hex_timestamp":"000001a1095759d0"} 
[2026-10-05 05:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:28:37] 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-10-05 05:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:28:37] 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-10-05 05:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536391936001,"66":25473,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536391936001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:28:37] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:28:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536391936001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":205640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:28:37] local.INFO: GPS data processed {"connection_id":205640,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:28:37] local.INFO: Acknowledgment sent {"connection_id":205640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:28:42] local.INFO: TCP Data received {"connection_id":205641,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:28:42] local.INFO: Processing buffer {"connection_id":205641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:28:42] local.INFO: Packet analysis {"connection_id":205641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:28:42] local.INFO: Extracted packet for processing {"connection_id":205641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:28:42] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536387584001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791158065000,"timestamp_ms":1791158065000,"timestamp_seconds":1791158065,"priority":1,"record_length":96,"hex_timestamp":"000001a109571768"} 
[2026-10-05 05:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 05:28:42] 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-10-05 05: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-10-05 05:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":205641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":205641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":205641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536387584001,"66":12428,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536387584001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:28:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:28:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536387584001,"power":12428,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":205641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:28:42] local.INFO: GPS data processed {"connection_id":205641,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:28:42] local.INFO: Acknowledgment sent {"connection_id":205641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:28:56] local.INFO: TCP Data received {"connection_id":204107,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:28:56] local.INFO: Processing buffer {"connection_id":204107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:28:56] local.INFO: IMEI packet received {"connection_id":204107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":204107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:29:00] local.INFO: TCP Data received {"connection_id":204108,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:29:00] local.INFO: Processing buffer {"connection_id":204108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:29:00] local.INFO: IMEI packet received {"connection_id":204108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":204108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:29:01] local.INFO: TCP Data received {"connection_id":204107,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:29:01] local.INFO: Processing buffer {"connection_id":204107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:29:01] local.INFO: IMEI packet received {"connection_id":204107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":204107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:29:01] local.INFO: TCP Data received {"connection_id":204107,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:29:01] local.INFO: Processing buffer {"connection_id":204107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:29:01] local.INFO: Packet analysis {"connection_id":204107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:29:01] local.INFO: Extracted packet for processing {"connection_id":204107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:29:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":29,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 05:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536391936001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:29: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-10-05 05:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791158082000,"timestamp_ms":1791158082000,"timestamp_seconds":1791158082,"priority":1,"record_length":96,"hex_timestamp":"000001a1095759d0"} 
[2026-10-05 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-10-05 05:29:01] 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-10-05 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:29: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-10-05 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-10-05 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-10-05 05:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:29: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-10-05 05:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536391936001,"66":25473,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 05:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536391936001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:29:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:29:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536391936001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":204107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:29:01] local.INFO: GPS data processed {"connection_id":204107,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:29:01] local.INFO: Acknowledgment sent {"connection_id":204107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:29:05] local.INFO: TCP Data received {"connection_id":204108,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:29:05] local.INFO: Processing buffer {"connection_id":204108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:29:05] local.INFO: IMEI packet received {"connection_id":204108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":204108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:29:06] local.INFO: TCP Data received {"connection_id":204108,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:29:06] local.INFO: Processing buffer {"connection_id":204108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109571768012d7c2ac005dac8a0000600bf25..."} 
[2026-10-05 05:29:06] local.INFO: Packet analysis {"connection_id":204108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:29:06] local.INFO: Extracted packet for processing {"connection_id":204108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:29:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536387584001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791158065000,"timestamp_ms":1791158065000,"timestamp_seconds":1791158065,"priority":1,"record_length":96,"hex_timestamp":"000001a109571768"} 
[2026-10-05 05:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 05:29:06] 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-10-05 05:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536387584001,"66":12428,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536387584001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:29:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:29:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536387584001,"power":12428,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":204108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:29:06] local.INFO: GPS data processed {"connection_id":204108,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:29:06] local.INFO: Acknowledgment sent {"connection_id":204108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:29:32] local.INFO: TCP Data received {"connection_id":204107,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:29:32] local.INFO: Processing buffer {"connection_id":204107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:29:32] local.INFO: Packet analysis {"connection_id":204107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:29:32] local.INFO: Extracted packet for processing {"connection_id":204107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:29:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":29,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536391936001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:29: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-10-05 05:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791158082000,"timestamp_ms":1791158082000,"timestamp_seconds":1791158082,"priority":1,"record_length":96,"hex_timestamp":"000001a1095759d0"} 
[2026-10-05 05:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:29:32] 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-10-05 05:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:29: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-10-05 05:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:29: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-10-05 05:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536391936001,"66":25473,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 05:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536391936001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:29:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:29:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536391936001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":204107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:29:32] local.INFO: GPS data processed {"connection_id":204107,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:29:32] local.INFO: Acknowledgment sent {"connection_id":204107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:29:37] local.INFO: TCP Data received {"connection_id":204108,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:29:37] local.INFO: Processing buffer {"connection_id":204108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:29:37] local.INFO: Packet analysis {"connection_id":204108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:29:37] local.INFO: Extracted packet for processing {"connection_id":204108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:29:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536464640001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791158366000,"timestamp_ms":1791158366000,"timestamp_seconds":1791158366,"priority":1,"record_length":96,"hex_timestamp":"000001a1095baf30"} 
[2026-10-05 05:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-05 05:29:37] 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-10-05 05:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536464640001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536464640001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:29:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:29:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536464640001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":204108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:29:37] local.INFO: GPS data processed {"connection_id":204108,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:29:37] local.INFO: Acknowledgment sent {"connection_id":204108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:29:57] local.INFO: TCP Data received {"connection_id":204199,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:29:57] local.INFO: Processing buffer {"connection_id":204199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:29:57] local.INFO: IMEI packet received {"connection_id":204199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":204199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:30:00] local.INFO: TCP Data received {"connection_id":204109,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:30:00] local.INFO: Processing buffer {"connection_id":204109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:30:00] local.INFO: IMEI packet received {"connection_id":204109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":204109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:30:01] local.INFO: TCP Data received {"connection_id":204199,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:30:01] local.INFO: Processing buffer {"connection_id":204199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:30:01] local.INFO: IMEI packet received {"connection_id":204199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":204199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:30:02] local.INFO: TCP Data received {"connection_id":204199,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:30:02] local.INFO: Processing buffer {"connection_id":204199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095759d0012d7f91c005afd9f0001d010122..."} 
[2026-10-05 05:30:02] local.INFO: Packet analysis {"connection_id":204199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:30:02] local.INFO: Extracted packet for processing {"connection_id":204199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10957"} 
[2026-10-05 05:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":29,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536391936001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:30:02] 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-10-05 05:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791158082000,"timestamp_ms":1791158082000,"timestamp_seconds":1791158082,"priority":1,"record_length":96,"hex_timestamp":"000001a1095759d0"} 
[2026-10-05 05:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:30: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-10-05 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:30:02] 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-10-05 05: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-10-05 05:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:30: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-10-05 05:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536391936001,"66":25473,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536391936001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:30:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:30:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536391936001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":204199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:30:02] local.INFO: GPS data processed {"connection_id":204199,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:30:02] local.INFO: Acknowledgment sent {"connection_id":204199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:30:05] local.INFO: TCP Data received {"connection_id":204109,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:30:05] local.INFO: Processing buffer {"connection_id":204109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:30:05] local.INFO: IMEI packet received {"connection_id":204109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":204109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:30:06] local.INFO: TCP Data received {"connection_id":204109,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:30:07] local.INFO: Processing buffer {"connection_id":204109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:30:07] local.INFO: Packet analysis {"connection_id":204109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:30:07] local.INFO: Extracted packet for processing {"connection_id":204109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:30:07] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536464640001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791158366000,"timestamp_ms":1791158366000,"timestamp_seconds":1791158366,"priority":1,"record_length":96,"hex_timestamp":"000001a1095baf30"} 
[2026-10-05 05:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-05 05:30:07] 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-10-05 05: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-10-05 05:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536464640001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536464640001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:30:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:30:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536464640001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":204109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:30:07] local.INFO: GPS data processed {"connection_id":204109,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:30:07] local.INFO: Acknowledgment sent {"connection_id":204109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:30:33] local.INFO: TCP Data received {"connection_id":204199,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:30:33] local.INFO: Processing buffer {"connection_id":204199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:30:33] local.INFO: Packet analysis {"connection_id":204199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:30:33] local.INFO: Extracted packet for processing {"connection_id":204199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:30:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536468992001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:30: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-10-05 05:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791158383000,"timestamp_ms":1791158383000,"timestamp_seconds":1791158383,"priority":1,"record_length":96,"hex_timestamp":"000001a1095bf198"} 
[2026-10-05 05:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:30:33] 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-10-05 05:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 05:30:33] 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-10-05 05:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:30: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-10-05 05:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536468992001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536468992001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:30:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:30:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536468992001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":204199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:30:33] local.INFO: GPS data processed {"connection_id":204199,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:30:33] local.INFO: Acknowledgment sent {"connection_id":204199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:30:38] local.INFO: TCP Data received {"connection_id":204109,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:30:38] local.INFO: Processing buffer {"connection_id":204109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:30:38] local.INFO: Packet analysis {"connection_id":204109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:30:38] local.INFO: Extracted packet for processing {"connection_id":204109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:30:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536464640001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791158366000,"timestamp_ms":1791158366000,"timestamp_seconds":1791158366,"priority":1,"record_length":96,"hex_timestamp":"000001a1095baf30"} 
[2026-10-05 05:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-05 05:30:38] 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-10-05 05: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-10-05 05:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536464640001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536464640001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:30:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:30:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536464640001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":204109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965511,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:30:38] local.INFO: GPS data processed {"connection_id":204109,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:30:38] local.INFO: Acknowledgment sent {"connection_id":204109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:30:55] local.INFO: TCP Data received {"connection_id":207202,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:30:55] local.INFO: Processing buffer {"connection_id":207202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:30:55] local.INFO: IMEI packet received {"connection_id":207202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":207202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:31:01] local.INFO: TCP Data received {"connection_id":207202,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:31:01] local.INFO: Processing buffer {"connection_id":207202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:31:01] local.INFO: IMEI packet received {"connection_id":207202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":207202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:31:01] local.INFO: TCP Data received {"connection_id":207202,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:31:01] local.INFO: Processing buffer {"connection_id":207202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:31:01] local.INFO: Packet analysis {"connection_id":207202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:31:01] local.INFO: Extracted packet for processing {"connection_id":207202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:31:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536468992001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:31: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-10-05 05:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791158383000,"timestamp_ms":1791158383000,"timestamp_seconds":1791158383,"priority":1,"record_length":96,"hex_timestamp":"000001a1095bf198"} 
[2026-10-05 05:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:31:01] 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-10-05 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 05:31:01] 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-10-05 05: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-10-05 05:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536468992001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536468992001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:31:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:31:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536468992001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":207202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:31:02] local.INFO: GPS data processed {"connection_id":207202,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:31:02] local.INFO: Acknowledgment sent {"connection_id":207202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:31:05] local.INFO: TCP Data received {"connection_id":207203,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:31:05] local.INFO: Processing buffer {"connection_id":207203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:31:05] local.INFO: IMEI packet received {"connection_id":207203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":207203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:31:08] local.INFO: TCP Data received {"connection_id":204200,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204200,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:31:08] local.INFO: Processing buffer {"connection_id":204200,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:31:08] local.INFO: IMEI packet received {"connection_id":204200,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 05:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":204200,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:31:10] local.INFO: TCP Data received {"connection_id":207203,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:31:10] local.INFO: Processing buffer {"connection_id":207203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:31:10] local.INFO: IMEI packet received {"connection_id":207203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":207203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:31:11] local.INFO: TCP Data received {"connection_id":207203,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:31:11] local.INFO: Processing buffer {"connection_id":207203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:31:11] local.INFO: Packet analysis {"connection_id":207203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:31:11] local.INFO: Extracted packet for processing {"connection_id":207203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:31:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536464640001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791158366000,"timestamp_ms":1791158366000,"timestamp_seconds":1791158366,"priority":1,"record_length":96,"hex_timestamp":"000001a1095baf30"} 
[2026-10-05 05:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-05 05:31:11] 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-10-05 05:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536464640001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536464640001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:31:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536464640001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":207203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965513,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:31:12] local.INFO: GPS data processed {"connection_id":207203,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:31:12] local.INFO: Acknowledgment sent {"connection_id":207203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:31:15] local.INFO: TCP Data received {"connection_id":207203,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:31:15] local.INFO: Processing buffer {"connection_id":207203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:31:15] local.INFO: Packet analysis {"connection_id":207203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:31:15] local.INFO: Extracted packet for processing {"connection_id":207203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:31:15] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536464640001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791158366000,"timestamp_ms":1791158366000,"timestamp_seconds":1791158366,"priority":1,"record_length":96,"hex_timestamp":"000001a1095baf30"} 
[2026-10-05 05:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-05 05:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536464640001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536464640001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:31:15] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:31:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536464640001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":207203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:31:15] local.INFO: GPS data processed {"connection_id":207203,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:31:15] local.INFO: Acknowledgment sent {"connection_id":207203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:31:33] local.INFO: TCP Data received {"connection_id":207202,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:31:33] local.INFO: Processing buffer {"connection_id":207202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:31:33] local.INFO: Packet analysis {"connection_id":207202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:31:33] local.INFO: Extracted packet for processing {"connection_id":207202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:31:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536468992001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:31: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-10-05 05:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791158383000,"timestamp_ms":1791158383000,"timestamp_seconds":1791158383,"priority":1,"record_length":96,"hex_timestamp":"000001a1095bf198"} 
[2026-10-05 05:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:31:33] 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-10-05 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 05:31:33] 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-10-05 05: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-10-05 05:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:31:33] 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-10-05 05:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536468992001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536468992001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:31:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:31:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536468992001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":207202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:31:33] local.INFO: GPS data processed {"connection_id":207202,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:31:33] local.INFO: Acknowledgment sent {"connection_id":207202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:31:42] local.INFO: TCP Data received {"connection_id":207204,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207204,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:31:42] local.INFO: Processing buffer {"connection_id":207204,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:31:42] local.INFO: IMEI packet received {"connection_id":207204,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 05:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":207204,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:32:00] local.INFO: TCP Data received {"connection_id":204110,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:32:00] local.INFO: Processing buffer {"connection_id":204110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:32:00] local.INFO: IMEI packet received {"connection_id":204110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":204110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:32:01] local.INFO: TCP Data received {"connection_id":204111,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:32:01] local.INFO: Processing buffer {"connection_id":204111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:32:01] local.INFO: IMEI packet received {"connection_id":204111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":204111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:32:05] local.INFO: TCP Data received {"connection_id":204110,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:32:05] local.INFO: Processing buffer {"connection_id":204110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:32:05] local.INFO: IMEI packet received {"connection_id":204110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":204110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:32:06] local.INFO: TCP Data received {"connection_id":204110,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:32:06] local.INFO: Processing buffer {"connection_id":204110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:32:06] local.INFO: Packet analysis {"connection_id":204110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:32:06] local.INFO: Extracted packet for processing {"connection_id":204110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:32:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536464640001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791158366000,"timestamp_ms":1791158366000,"timestamp_seconds":1791158366,"priority":1,"record_length":96,"hex_timestamp":"000001a1095baf30"} 
[2026-10-05 05:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-05 05:32:06] 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-10-05 05:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536464640001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536464640001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:32:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:32:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536464640001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":204110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:32:06] local.INFO: GPS data processed {"connection_id":204110,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:32:06] local.INFO: Acknowledgment sent {"connection_id":204110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:32:06] local.INFO: TCP Data received {"connection_id":204111,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:32:06] local.INFO: Processing buffer {"connection_id":204111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:32:06] local.INFO: IMEI packet received {"connection_id":204111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":204111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:32:07] local.INFO: TCP Data received {"connection_id":204111,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:32:07] local.INFO: Processing buffer {"connection_id":204111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:32:07] local.INFO: Packet analysis {"connection_id":204111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:32:07] local.INFO: Extracted packet for processing {"connection_id":204111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:32:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536468992001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:32:07] 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-10-05 05:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791158383000,"timestamp_ms":1791158383000,"timestamp_seconds":1791158383,"priority":1,"record_length":96,"hex_timestamp":"000001a1095bf198"} 
[2026-10-05 05:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:32: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-10-05 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 05:32:07] 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-10-05 05: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-10-05 05:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:32: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-10-05 05:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536468992001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536468992001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:32:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:32:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536468992001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":204111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:32:07] local.INFO: GPS data processed {"connection_id":204111,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:32:07] local.INFO: Acknowledgment sent {"connection_id":204111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:32:11] local.INFO: TCP Data received {"connection_id":204111,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:32:11] local.INFO: Processing buffer {"connection_id":204111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:32:11] local.INFO: Packet analysis {"connection_id":204111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:32:11] local.INFO: Extracted packet for processing {"connection_id":204111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:32:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536468992001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:32:11] 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-10-05 05:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791158383000,"timestamp_ms":1791158383000,"timestamp_seconds":1791158383,"priority":1,"record_length":96,"hex_timestamp":"000001a1095bf198"} 
[2026-10-05 05:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:32:11] 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-10-05 05:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 05:32:11] 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-10-05 05:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536468992001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536468992001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:32:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536468992001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":204111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:32:11] local.INFO: GPS data processed {"connection_id":204111,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:32:11] local.INFO: Acknowledgment sent {"connection_id":204111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:32:37] local.INFO: TCP Data received {"connection_id":204110,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:32:37] local.INFO: Processing buffer {"connection_id":204110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:32:37] local.INFO: Packet analysis {"connection_id":204110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:32:37] local.INFO: Extracted packet for processing {"connection_id":204110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:32:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536464640001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791158366000,"timestamp_ms":1791158366000,"timestamp_seconds":1791158366,"priority":1,"record_length":96,"hex_timestamp":"000001a1095baf30"} 
[2026-10-05 05:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-05 05:32:37] 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-10-05 05:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536464640001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536464640001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:32:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:32:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536464640001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":204110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:32:37] local.INFO: GPS data processed {"connection_id":204110,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:32:37] local.INFO: Acknowledgment sent {"connection_id":204110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:32:56] local.INFO: TCP Data received {"connection_id":205643,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:32:56] local.INFO: Processing buffer {"connection_id":205643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:32:56] local.INFO: IMEI packet received {"connection_id":205643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":205643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:33:00] local.INFO: TCP Data received {"connection_id":205644,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205644,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:33:00] local.INFO: Processing buffer {"connection_id":205644,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:33:00] local.INFO: IMEI packet received {"connection_id":205644,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":205644,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:33:02] local.INFO: TCP Data received {"connection_id":205643,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:33:02] local.INFO: Processing buffer {"connection_id":205643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:33:02] local.INFO: IMEI packet received {"connection_id":205643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":205643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:33:03] local.INFO: TCP Data received {"connection_id":205643,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:33:03] local.INFO: Processing buffer {"connection_id":205643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:33:03] local.INFO: Packet analysis {"connection_id":205643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:33:03] local.INFO: Extracted packet for processing {"connection_id":205643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:33:03] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536468992001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:33:03] 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-10-05 05:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791158383000,"timestamp_ms":1791158383000,"timestamp_seconds":1791158383,"priority":1,"record_length":96,"hex_timestamp":"000001a1095bf198"} 
[2026-10-05 05:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 05:33:03] 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-10-05 05:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":205643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":205643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":205643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:33: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-10-05 05:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536468992001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536468992001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:33:03] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:33:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536468992001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":205643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:33:03] local.INFO: GPS data processed {"connection_id":205643,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:33:03] local.INFO: Acknowledgment sent {"connection_id":205643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:33:05] local.INFO: TCP Data received {"connection_id":205644,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205644,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:33:05] local.INFO: Processing buffer {"connection_id":205644,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:33:05] local.INFO: IMEI packet received {"connection_id":205644,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":205644,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:33:06] local.INFO: TCP Data received {"connection_id":205644,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:33:06] local.INFO: Processing buffer {"connection_id":205644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:33:06] local.INFO: Packet analysis {"connection_id":205644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:33:06] local.INFO: Extracted packet for processing {"connection_id":205644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:33:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536464640001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791158366000,"timestamp_ms":1791158366000,"timestamp_seconds":1791158366,"priority":1,"record_length":96,"hex_timestamp":"000001a1095baf30"} 
[2026-10-05 05:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-05 05:33:06] 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-10-05 05: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-10-05 05:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205644,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205644,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536464640001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536464640001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:33:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:33:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536464640001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":205644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:33:06] local.INFO: GPS data processed {"connection_id":205644,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:33:06] local.INFO: Acknowledgment sent {"connection_id":205644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:33:34] local.INFO: TCP Data received {"connection_id":205643,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:33:34] local.INFO: Processing buffer {"connection_id":205643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:33:34] local.INFO: Packet analysis {"connection_id":205643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:33:34] local.INFO: Extracted packet for processing {"connection_id":205643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:33:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536468992001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:33:34] 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-10-05 05:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791158383000,"timestamp_ms":1791158383000,"timestamp_seconds":1791158383,"priority":1,"record_length":96,"hex_timestamp":"000001a1095bf198"} 
[2026-10-05 05:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:33:34] 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-10-05 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 05:33:34] 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-10-05 05: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-10-05 05:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":205643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":205643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":205643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:33: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-10-05 05:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536468992001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536468992001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:33:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:33:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536468992001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":205643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:33:34] local.INFO: GPS data processed {"connection_id":205643,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:33:34] local.INFO: Acknowledgment sent {"connection_id":205643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:33:37] local.INFO: TCP Data received {"connection_id":205644,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:33:37] local.INFO: Processing buffer {"connection_id":205644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:33:37] local.INFO: Packet analysis {"connection_id":205644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:33:37] local.INFO: Extracted packet for processing {"connection_id":205644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:33:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536464640001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791158366000,"timestamp_ms":1791158366000,"timestamp_seconds":1791158366,"priority":1,"record_length":96,"hex_timestamp":"000001a1095baf30"} 
[2026-10-05 05:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-05 05:33:37] 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-10-05 05:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205644,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205644,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536464640001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536464640001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:33:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:33:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536464640001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":205644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965523,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:33:37] local.INFO: GPS data processed {"connection_id":205644,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:33:37] local.INFO: Acknowledgment sent {"connection_id":205644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:33:56] local.INFO: TCP Data received {"connection_id":204112,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:33:56] local.INFO: Processing buffer {"connection_id":204112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:33:56] local.INFO: IMEI packet received {"connection_id":204112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":204112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:34:00] local.INFO: TCP Data received {"connection_id":204113,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:34:00] local.INFO: Processing buffer {"connection_id":204113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:34:00] local.INFO: IMEI packet received {"connection_id":204113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":204113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:34:01] local.INFO: TCP Data received {"connection_id":204112,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:34:01] local.INFO: Processing buffer {"connection_id":204112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:34:01] local.INFO: IMEI packet received {"connection_id":204112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":204112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:34:01] local.INFO: TCP Data received {"connection_id":204112,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:34:01] local.INFO: Processing buffer {"connection_id":204112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:34:01] local.INFO: Packet analysis {"connection_id":204112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:34:01] local.INFO: Extracted packet for processing {"connection_id":204112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:34:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536468992001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:34: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-10-05 05:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791158383000,"timestamp_ms":1791158383000,"timestamp_seconds":1791158383,"priority":1,"record_length":96,"hex_timestamp":"000001a1095bf198"} 
[2026-10-05 05:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:34:01] 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-10-05 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 05:34:01] 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-10-05 05: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-10-05 05:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:34: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-10-05 05:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536468992001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536468992001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:34:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:34:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536468992001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":204112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:34:01] local.INFO: GPS data processed {"connection_id":204112,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:34:01] local.INFO: Acknowledgment sent {"connection_id":204112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:34:05] local.INFO: TCP Data received {"connection_id":204113,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:34:05] local.INFO: Processing buffer {"connection_id":204113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:34:05] local.INFO: IMEI packet received {"connection_id":204113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":204113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:34:06] local.INFO: TCP Data received {"connection_id":204113,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:34:06] local.INFO: Processing buffer {"connection_id":204113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095baf30012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:34:06] local.INFO: Packet analysis {"connection_id":204113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:34:06] local.INFO: Extracted packet for processing {"connection_id":204113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:34:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536464640001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791158366000,"timestamp_ms":1791158366000,"timestamp_seconds":1791158366,"priority":1,"record_length":96,"hex_timestamp":"000001a1095baf30"} 
[2026-10-05 05:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-05 05:34:06] 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-10-05 05:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536464640001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536464640001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:34:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:34:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536464640001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":204113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:34:06] local.INFO: GPS data processed {"connection_id":204113,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:34:06] local.INFO: Acknowledgment sent {"connection_id":204113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:34:32] local.INFO: TCP Data received {"connection_id":204112,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:34:32] local.INFO: Processing buffer {"connection_id":204112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:34:32] local.INFO: Packet analysis {"connection_id":204112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:34:32] local.INFO: Extracted packet for processing {"connection_id":204112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:34:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536468992001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:34: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-10-05 05:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791158383000,"timestamp_ms":1791158383000,"timestamp_seconds":1791158383,"priority":1,"record_length":96,"hex_timestamp":"000001a1095bf198"} 
[2026-10-05 05:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:34:32] 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-10-05 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 05:34:32] 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-10-05 05: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-10-05 05:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:34:32] 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-10-05 05:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536468992001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536468992001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:34:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:34:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536468992001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":204112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:34:32] local.INFO: GPS data processed {"connection_id":204112,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:34:32] local.INFO: Acknowledgment sent {"connection_id":204112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:34:37] local.INFO: TCP Data received {"connection_id":204113,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:34:37] local.INFO: Processing buffer {"connection_id":204113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:34:37] local.INFO: Packet analysis {"connection_id":204113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:34:37] local.INFO: Extracted packet for processing {"connection_id":204113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:34:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":29,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536541696001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791158667000,"timestamp_ms":1791158667000,"timestamp_seconds":1791158667,"priority":1,"record_length":96,"hex_timestamp":"000001a1096046f8"} 
[2026-10-05 05:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:34:37] 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-10-05 05:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536541696001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536541696001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:34:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:34:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536541696001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":204113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:34:37] local.INFO: GPS data processed {"connection_id":204113,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:34:37] local.INFO: Acknowledgment sent {"connection_id":204113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:34:56] local.INFO: TCP Data received {"connection_id":207205,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:34:56] local.INFO: Processing buffer {"connection_id":207205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:34:56] local.INFO: IMEI packet received {"connection_id":207205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":207205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:35:00] local.INFO: TCP Data received {"connection_id":207206,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:35:00] local.INFO: Processing buffer {"connection_id":207206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:35:00] local.INFO: IMEI packet received {"connection_id":207206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":207206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:35:01] local.INFO: TCP Data received {"connection_id":207205,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:35:01] local.INFO: Processing buffer {"connection_id":207205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:35:01] local.INFO: IMEI packet received {"connection_id":207205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":207205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:35:02] local.INFO: TCP Data received {"connection_id":207205,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:35:02] local.INFO: Processing buffer {"connection_id":207205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1095bf198012d7f91c005afd9f0001a010122..."} 
[2026-10-05 05:35:02] local.INFO: Packet analysis {"connection_id":207205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:35:02] local.INFO: Extracted packet for processing {"connection_id":207205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1095b"} 
[2026-10-05 05:35:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":26,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536468992001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:35:02] 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-10-05 05:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791158383000,"timestamp_ms":1791158383000,"timestamp_seconds":1791158383,"priority":1,"record_length":96,"hex_timestamp":"000001a1095bf198"} 
[2026-10-05 05:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:35: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-10-05 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 05:35:02] 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-10-05 05: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-10-05 05:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:35: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-10-05 05:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536468992001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536468992001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:35:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:35:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536468992001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":207205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:35:02] local.INFO: GPS data processed {"connection_id":207205,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:35:02] local.INFO: Acknowledgment sent {"connection_id":207205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:35:05] local.INFO: TCP Data received {"connection_id":207206,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:35:05] local.INFO: Processing buffer {"connection_id":207206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:35:05] local.INFO: IMEI packet received {"connection_id":207206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":207206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:35:06] local.INFO: TCP Data received {"connection_id":207206,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:35:06] local.INFO: Processing buffer {"connection_id":207206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:35:06] local.INFO: Packet analysis {"connection_id":207206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:35:06] local.INFO: Extracted packet for processing {"connection_id":207206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:35:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":29,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536541696001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791158667000,"timestamp_ms":1791158667000,"timestamp_seconds":1791158667,"priority":1,"record_length":96,"hex_timestamp":"000001a1096046f8"} 
[2026-10-05 05:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:35:06] 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-10-05 05:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536541696001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536541696001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:35:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:35:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536541696001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":207206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:35:06] local.INFO: GPS data processed {"connection_id":207206,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:35:06] local.INFO: Acknowledgment sent {"connection_id":207206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:35:33] local.INFO: TCP Data received {"connection_id":207205,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:35:33] local.INFO: Processing buffer {"connection_id":207205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:35:33] local.INFO: Packet analysis {"connection_id":207205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:35:33] local.INFO: Extracted packet for processing {"connection_id":207205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536546048001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:35: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-10-05 05:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791158684000,"timestamp_ms":1791158684000,"timestamp_seconds":1791158684,"priority":1,"record_length":96,"hex_timestamp":"000001a109608960"} 
[2026-10-05 05:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:35:33] 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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:35:33] 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-10-05 05: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-10-05 05:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:35: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-10-05 05:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536546048001,"66":25538,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536546048001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:35:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:35:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536546048001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":207205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:35:33] local.INFO: GPS data processed {"connection_id":207205,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:35:33] local.INFO: Acknowledgment sent {"connection_id":207205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:35:37] local.INFO: TCP Data received {"connection_id":207206,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:35:37] local.INFO: Processing buffer {"connection_id":207206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:35:37] local.INFO: Packet analysis {"connection_id":207206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:35:37] local.INFO: Extracted packet for processing {"connection_id":207206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:35:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":29,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536541696001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791158667000,"timestamp_ms":1791158667000,"timestamp_seconds":1791158667,"priority":1,"record_length":96,"hex_timestamp":"000001a1096046f8"} 
[2026-10-05 05:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:35:37] 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-10-05 05:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536541696001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536541696001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:35:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:35:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536541696001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":207206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:35:38] local.INFO: GPS data processed {"connection_id":207206,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:35:38] local.INFO: Acknowledgment sent {"connection_id":207206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:35:56] local.INFO: TCP Data received {"connection_id":204202,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:35:56] local.INFO: Processing buffer {"connection_id":204202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:35:56] local.INFO: IMEI packet received {"connection_id":204202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":204202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:36:00] local.INFO: TCP Data received {"connection_id":204114,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:36:00] local.INFO: Processing buffer {"connection_id":204114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:36:00] local.INFO: IMEI packet received {"connection_id":204114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":204114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:36:01] local.INFO: TCP Data received {"connection_id":204202,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:36:01] local.INFO: Processing buffer {"connection_id":204202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:36:01] local.INFO: IMEI packet received {"connection_id":204202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":204202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:36:01] local.INFO: TCP Data received {"connection_id":204202,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:36:01] local.INFO: Processing buffer {"connection_id":204202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:36:01] local.INFO: Packet analysis {"connection_id":204202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:36:01] local.INFO: Extracted packet for processing {"connection_id":204202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:36:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536546048001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:36: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-10-05 05:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791158684000,"timestamp_ms":1791158684000,"timestamp_seconds":1791158684,"priority":1,"record_length":96,"hex_timestamp":"000001a109608960"} 
[2026-10-05 05:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:36:01] 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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:36: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-10-05 05: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-10-05 05:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:36: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-10-05 05:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536546048001,"66":25538,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536546048001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:36:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:36:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536546048001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":204202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:36:01] local.INFO: GPS data processed {"connection_id":204202,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:36:01] local.INFO: Acknowledgment sent {"connection_id":204202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:36:05] local.INFO: TCP Data received {"connection_id":204114,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:36:05] local.INFO: Processing buffer {"connection_id":204114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:36:05] local.INFO: IMEI packet received {"connection_id":204114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":204114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:36:06] local.INFO: TCP Data received {"connection_id":204114,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:36:06] local.INFO: Processing buffer {"connection_id":204114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:36:06] local.INFO: Packet analysis {"connection_id":204114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:36:06] local.INFO: Extracted packet for processing {"connection_id":204114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":29,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536541696001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791158667000,"timestamp_ms":1791158667000,"timestamp_seconds":1791158667,"priority":1,"record_length":96,"hex_timestamp":"000001a1096046f8"} 
[2026-10-05 05:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:36:06] 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-10-05 05:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536541696001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536541696001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:36:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:36:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536541696001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":204114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965533,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:36:06] local.INFO: GPS data processed {"connection_id":204114,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:36:06] local.INFO: Acknowledgment sent {"connection_id":204114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:36:32] local.INFO: TCP Data received {"connection_id":204202,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:36:32] local.INFO: Processing buffer {"connection_id":204202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:36:32] local.INFO: Packet analysis {"connection_id":204202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:36:32] local.INFO: Extracted packet for processing {"connection_id":204202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:36:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536546048001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:36: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-10-05 05:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791158684000,"timestamp_ms":1791158684000,"timestamp_seconds":1791158684,"priority":1,"record_length":96,"hex_timestamp":"000001a109608960"} 
[2026-10-05 05:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:36:32] 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-10-05 05:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:36: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-10-05 05:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:36: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-10-05 05:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536546048001,"66":25538,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536546048001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:36:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:36:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536546048001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":204202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:36:32] local.INFO: GPS data processed {"connection_id":204202,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:36:32] local.INFO: Acknowledgment sent {"connection_id":204202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:36:37] local.INFO: TCP Data received {"connection_id":204114,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:36:37] local.INFO: Processing buffer {"connection_id":204114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:36:37] local.INFO: Packet analysis {"connection_id":204114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:36:37] local.INFO: Extracted packet for processing {"connection_id":204114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:36:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":29,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536541696001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791158667000,"timestamp_ms":1791158667000,"timestamp_seconds":1791158667,"priority":1,"record_length":96,"hex_timestamp":"000001a1096046f8"} 
[2026-10-05 05:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:36:37] 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-10-05 05:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536541696001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536541696001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:36:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:36:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536541696001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":204114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:36:37] local.INFO: GPS data processed {"connection_id":204114,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:36:37] local.INFO: Acknowledgment sent {"connection_id":204114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:37:00] local.INFO: TCP Data received {"connection_id":204205,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:37:00] local.INFO: Processing buffer {"connection_id":204205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:37:00] local.INFO: IMEI packet received {"connection_id":204205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":204205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:37:01] local.INFO: TCP Data received {"connection_id":204204,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:37:01] local.INFO: Processing buffer {"connection_id":204204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:37:01] local.INFO: IMEI packet received {"connection_id":204204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":204204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:37:05] local.INFO: TCP Data received {"connection_id":204205,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:37:05] local.INFO: Processing buffer {"connection_id":204205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:37:05] local.INFO: IMEI packet received {"connection_id":204205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":204205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:37:06] local.INFO: TCP Data received {"connection_id":204204,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:37:06] local.INFO: Processing buffer {"connection_id":204204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:37:06] local.INFO: IMEI packet received {"connection_id":204204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":204204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:37:06] local.INFO: TCP Data received {"connection_id":204205,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:37:06] local.INFO: Processing buffer {"connection_id":204205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:37:06] local.INFO: Packet analysis {"connection_id":204205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:37:06] local.INFO: Extracted packet for processing {"connection_id":204205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:37:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":29,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536541696001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791158667000,"timestamp_ms":1791158667000,"timestamp_seconds":1791158667,"priority":1,"record_length":96,"hex_timestamp":"000001a1096046f8"} 
[2026-10-05 05:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:37:06] 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-10-05 05:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536541696001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536541696001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:37:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:37:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536541696001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":204205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:37:06] local.INFO: GPS data processed {"connection_id":204205,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:37:06] local.INFO: Acknowledgment sent {"connection_id":204205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:37:06] local.INFO: TCP Data received {"connection_id":204204,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:37:06] local.INFO: Processing buffer {"connection_id":204204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:37:06] local.INFO: Packet analysis {"connection_id":204204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:37:06] local.INFO: Extracted packet for processing {"connection_id":204204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:37:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536546048001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:37:06] 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-10-05 05:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791158684000,"timestamp_ms":1791158684000,"timestamp_seconds":1791158684,"priority":1,"record_length":96,"hex_timestamp":"000001a109608960"} 
[2026-10-05 05:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:37:06] 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-10-05 05:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:37:06] 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-10-05 05:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:37: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-10-05 05:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536546048001,"66":25538,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536546048001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:37:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:37:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536546048001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":204204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:37:06] local.INFO: GPS data processed {"connection_id":204204,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:37:06] local.INFO: Acknowledgment sent {"connection_id":204204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:37:07] local.INFO: TCP Data received {"connection_id":204203,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:37:07] local.INFO: Processing buffer {"connection_id":204203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:37:07] local.INFO: IMEI packet received {"connection_id":204203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 05:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":204203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:37:11] local.INFO: TCP Data received {"connection_id":204204,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:37:11] local.INFO: Processing buffer {"connection_id":204204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:37:11] local.INFO: Packet analysis {"connection_id":204204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:37:11] local.INFO: Extracted packet for processing {"connection_id":204204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:37:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536546048001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:37:11] 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-10-05 05:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791158684000,"timestamp_ms":1791158684000,"timestamp_seconds":1791158684,"priority":1,"record_length":96,"hex_timestamp":"000001a109608960"} 
[2026-10-05 05:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:37:11] 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-10-05 05:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:37:11] 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-10-05 05:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536546048001,"66":25538,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536546048001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:37:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536546048001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":204204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:37:11] local.INFO: GPS data processed {"connection_id":204204,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:37:11] local.INFO: Acknowledgment sent {"connection_id":204204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:37:37] local.INFO: TCP Data received {"connection_id":204205,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:37:37] local.INFO: Processing buffer {"connection_id":204205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:37:37] local.INFO: Packet analysis {"connection_id":204205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:37:37] local.INFO: Extracted packet for processing {"connection_id":204205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:37:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":29,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536541696001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791158667000,"timestamp_ms":1791158667000,"timestamp_seconds":1791158667,"priority":1,"record_length":96,"hex_timestamp":"000001a1096046f8"} 
[2026-10-05 05:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:37:37] 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-10-05 05:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536541696001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536541696001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:37:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:37:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536541696001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":204205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:37:37] local.INFO: GPS data processed {"connection_id":204205,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:37:37] local.INFO: Acknowledgment sent {"connection_id":204205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:37:47] local.INFO: TCP Data received {"connection_id":204115,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:37:47] local.INFO: Processing buffer {"connection_id":204115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:37:47] local.INFO: IMEI packet received {"connection_id":204115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 05:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":204115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:37:56] local.INFO: TCP Data received {"connection_id":204116,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:37:56] local.INFO: Processing buffer {"connection_id":204116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:37:56] local.INFO: IMEI packet received {"connection_id":204116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":204116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:38:00] local.INFO: TCP Data received {"connection_id":205647,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:38:00] local.INFO: Processing buffer {"connection_id":205647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:38:00] local.INFO: IMEI packet received {"connection_id":205647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":205647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:38:01] local.INFO: TCP Data received {"connection_id":204116,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:38:01] local.INFO: Processing buffer {"connection_id":204116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:38:01] local.INFO: IMEI packet received {"connection_id":204116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":204116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:38:02] local.INFO: TCP Data received {"connection_id":204116,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:38:02] local.INFO: Processing buffer {"connection_id":204116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:38:02] local.INFO: Packet analysis {"connection_id":204116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:38:02] local.INFO: Extracted packet for processing {"connection_id":204116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:38:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536546048001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:38:02] 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-10-05 05:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791158684000,"timestamp_ms":1791158684000,"timestamp_seconds":1791158684,"priority":1,"record_length":96,"hex_timestamp":"000001a109608960"} 
[2026-10-05 05:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:38: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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:38: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-10-05 05: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-10-05 05:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:38: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-10-05 05:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536546048001,"66":25538,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536546048001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:38:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:38:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536546048001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":204116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:38:02] local.INFO: GPS data processed {"connection_id":204116,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:38:02] local.INFO: Acknowledgment sent {"connection_id":204116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:38:05] local.INFO: TCP Data received {"connection_id":205647,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:38:05] local.INFO: Processing buffer {"connection_id":205647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:38:05] local.INFO: IMEI packet received {"connection_id":205647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":205647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:38:06] local.INFO: TCP Data received {"connection_id":205647,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:38:06] local.INFO: Processing buffer {"connection_id":205647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:38:06] local.INFO: Packet analysis {"connection_id":205647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:38:06] local.INFO: Extracted packet for processing {"connection_id":205647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:38:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":29,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536541696001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791158667000,"timestamp_ms":1791158667000,"timestamp_seconds":1791158667,"priority":1,"record_length":96,"hex_timestamp":"000001a1096046f8"} 
[2026-10-05 05:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:38:06] 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-10-05 05:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536541696001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536541696001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:38:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:38:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536541696001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":205647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:38:06] local.INFO: GPS data processed {"connection_id":205647,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:38:06] local.INFO: Acknowledgment sent {"connection_id":205647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:38:33] local.INFO: TCP Data received {"connection_id":204116,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:38:33] local.INFO: Processing buffer {"connection_id":204116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:38:33] local.INFO: Packet analysis {"connection_id":204116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:38:33] local.INFO: Extracted packet for processing {"connection_id":204116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:38:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536546048001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:38: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-10-05 05:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791158684000,"timestamp_ms":1791158684000,"timestamp_seconds":1791158684,"priority":1,"record_length":96,"hex_timestamp":"000001a109608960"} 
[2026-10-05 05:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:38:33] 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-10-05 05:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:38:33] 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-10-05 05:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:38: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-10-05 05:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536546048001,"66":25538,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536546048001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:38:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:38:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536546048001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":204116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:38:33] local.INFO: GPS data processed {"connection_id":204116,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:38:33] local.INFO: Acknowledgment sent {"connection_id":204116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:38:37] local.INFO: TCP Data received {"connection_id":205647,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:38:37] local.INFO: Processing buffer {"connection_id":205647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:38:37] local.INFO: Packet analysis {"connection_id":205647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:38:37] local.INFO: Extracted packet for processing {"connection_id":205647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:38:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":29,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536541696001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791158667000,"timestamp_ms":1791158667000,"timestamp_seconds":1791158667,"priority":1,"record_length":96,"hex_timestamp":"000001a1096046f8"} 
[2026-10-05 05:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:38:37] 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-10-05 05: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-10-05 05:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536541696001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536541696001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:38:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:38:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536541696001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":205647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:38:37] local.INFO: GPS data processed {"connection_id":205647,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:38:37] local.INFO: Acknowledgment sent {"connection_id":205647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:38:58] local.INFO: TCP Data received {"connection_id":207207,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:38:58] local.INFO: Processing buffer {"connection_id":207207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:38:58] local.INFO: IMEI packet received {"connection_id":207207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":207207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:39:00] local.INFO: TCP Data received {"connection_id":204206,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:39:00] local.INFO: Processing buffer {"connection_id":204206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:39:00] local.INFO: IMEI packet received {"connection_id":204206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":204206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:39:00] local.INFO: TCP Data received {"connection_id":207207,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:39:00] local.INFO: Processing buffer {"connection_id":207207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:39:00] local.INFO: IMEI packet received {"connection_id":207207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":207207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:39:01] local.INFO: TCP Data received {"connection_id":207207,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:39:01] local.INFO: Processing buffer {"connection_id":207207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:39:01] local.INFO: Packet analysis {"connection_id":207207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:39:01] local.INFO: Extracted packet for processing {"connection_id":207207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:39:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536546048001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:39: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-10-05 05:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791158684000,"timestamp_ms":1791158684000,"timestamp_seconds":1791158684,"priority":1,"record_length":96,"hex_timestamp":"000001a109608960"} 
[2026-10-05 05:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:39:01] 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-10-05 05: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":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:39: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-10-05 05: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-10-05 05:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:39: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-10-05 05:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536546048001,"66":25538,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536546048001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:39:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:39:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536546048001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":207207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:39:01] local.INFO: GPS data processed {"connection_id":207207,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:39:01] local.INFO: Acknowledgment sent {"connection_id":207207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:39:05] local.INFO: TCP Data received {"connection_id":204206,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:39:05] local.INFO: Processing buffer {"connection_id":204206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:39:05] local.INFO: IMEI packet received {"connection_id":204206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":204206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:39:06] local.INFO: TCP Data received {"connection_id":204206,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:39:06] local.INFO: Processing buffer {"connection_id":204206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096046f8012d7c2ac005dac8a0000600bf1d..."} 
[2026-10-05 05:39:06] local.INFO: Packet analysis {"connection_id":204206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:39:06] local.INFO: Extracted packet for processing {"connection_id":204206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:39:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":29,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536541696001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791158667000,"timestamp_ms":1791158667000,"timestamp_seconds":1791158667,"priority":1,"record_length":96,"hex_timestamp":"000001a1096046f8"} 
[2026-10-05 05:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:39:06] 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-10-05 05:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536541696001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536541696001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:39:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:39:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536541696001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":204206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965545,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:39:06] local.INFO: GPS data processed {"connection_id":204206,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:39:06] local.INFO: Acknowledgment sent {"connection_id":204206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:39:06] local.INFO: TCP Data received {"connection_id":207207,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:39:06] local.INFO: Processing buffer {"connection_id":207207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:39:06] local.INFO: Packet analysis {"connection_id":207207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:39:06] local.INFO: Extracted packet for processing {"connection_id":207207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:39:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536546048001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:39:06] 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-10-05 05:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791158684000,"timestamp_ms":1791158684000,"timestamp_seconds":1791158684,"priority":1,"record_length":96,"hex_timestamp":"000001a109608960"} 
[2026-10-05 05:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:39:06] 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-10-05 05:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:39:06] 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-10-05 05:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:39: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-10-05 05:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536546048001,"66":25538,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536546048001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:39:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:39:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536546048001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":207207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:39:06] local.INFO: GPS data processed {"connection_id":207207,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:39:06] local.INFO: Acknowledgment sent {"connection_id":207207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:39:37] local.INFO: TCP Data received {"connection_id":204206,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:39:37] local.INFO: Processing buffer {"connection_id":204206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:39:37] local.INFO: Packet analysis {"connection_id":204206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10964"} 
[2026-10-05 05:39:37] local.INFO: Extracted packet for processing {"connection_id":204206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10964"} 
[2026-10-05 05:39:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":27,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536618752001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791158968000,"timestamp_ms":1791158968000,"timestamp_seconds":1791158968,"priority":1,"record_length":96,"hex_timestamp":"000001a10964dec0"} 
[2026-10-05 05:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:39:37] 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-10-05 05:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536618752001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536618752001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:39:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:39:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536618752001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":204206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:39:37] local.INFO: GPS data processed {"connection_id":204206,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:39:37] local.INFO: Acknowledgment sent {"connection_id":204206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:39:37] local.INFO: TCP Data received {"connection_id":207207,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:39:37] local.INFO: Processing buffer {"connection_id":207207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:39:37] local.INFO: Packet analysis {"connection_id":207207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:39:37] local.INFO: Extracted packet for processing {"connection_id":207207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:39:37] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536546048001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:39:37] 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-10-05 05:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791158684000,"timestamp_ms":1791158684000,"timestamp_seconds":1791158684,"priority":1,"record_length":96,"hex_timestamp":"000001a109608960"} 
[2026-10-05 05:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:39:37] 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-10-05 05:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:39:37] 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-10-05 05:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536546048001,"66":25538,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536546048001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:39:37] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:39:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536546048001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":207207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:39:37] local.INFO: GPS data processed {"connection_id":207207,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:39:37] local.INFO: Acknowledgment sent {"connection_id":207207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:39:55] local.INFO: TCP Data received {"connection_id":204118,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:39:55] local.INFO: Processing buffer {"connection_id":204118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:39:55] local.INFO: IMEI packet received {"connection_id":204118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":204118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:40:00] local.INFO: TCP Data received {"connection_id":204119,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:40:00] local.INFO: Processing buffer {"connection_id":204119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:40:00] local.INFO: IMEI packet received {"connection_id":204119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":204119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:40:01] local.INFO: TCP Data received {"connection_id":204118,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:40:01] local.INFO: Processing buffer {"connection_id":204118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:40:01] local.INFO: IMEI packet received {"connection_id":204118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":204118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:40:01] local.INFO: TCP Data received {"connection_id":204118,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:40:01] local.INFO: Processing buffer {"connection_id":204118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109608960012d7f91c005afd9f0000601011f..."} 
[2026-10-05 05:40:01] local.INFO: Packet analysis {"connection_id":204118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:40:01] local.INFO: Extracted packet for processing {"connection_id":204118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10960"} 
[2026-10-05 05:40:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 05:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536546048001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:40: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-10-05 05:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791158684000,"timestamp_ms":1791158684000,"timestamp_seconds":1791158684,"priority":1,"record_length":96,"hex_timestamp":"000001a109608960"} 
[2026-10-05 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-10-05 05:40:01] 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-10-05 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":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:40: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-10-05 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-10-05 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-10-05 05:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 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-10-05 05:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536546048001,"66":25538,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536546048001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:40:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:40:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536546048001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":204118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:40:01] local.INFO: GPS data processed {"connection_id":204118,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:40:01] local.INFO: Acknowledgment sent {"connection_id":204118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:40:05] local.INFO: TCP Data received {"connection_id":204119,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:40:05] local.INFO: Processing buffer {"connection_id":204119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:40:05] local.INFO: IMEI packet received {"connection_id":204119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":204119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:40:06] local.INFO: TCP Data received {"connection_id":204119,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:40:06] local.INFO: Processing buffer {"connection_id":204119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:40:06] local.INFO: Packet analysis {"connection_id":204119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10964"} 
[2026-10-05 05:40:06] local.INFO: Extracted packet for processing {"connection_id":204119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10964"} 
[2026-10-05 05:40:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":27,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536618752001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791158968000,"timestamp_ms":1791158968000,"timestamp_seconds":1791158968,"priority":1,"record_length":96,"hex_timestamp":"000001a10964dec0"} 
[2026-10-05 05:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:40:06] 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-10-05 05:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536618752001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536618752001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:40:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:40:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536618752001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":204119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:40:06] local.INFO: GPS data processed {"connection_id":204119,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:40:06] local.INFO: Acknowledgment sent {"connection_id":204119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:40:32] local.INFO: TCP Data received {"connection_id":204118,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:40:32] local.INFO: Processing buffer {"connection_id":204118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:40:32] local.INFO: Packet analysis {"connection_id":204118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10965"} 
[2026-10-05 05:40:32] local.INFO: Extracted packet for processing {"connection_id":204118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10965"} 
[2026-10-05 05:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536623104001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:40: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-10-05 05:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791158985000,"timestamp_ms":1791158985000,"timestamp_seconds":1791158985,"priority":1,"record_length":96,"hex_timestamp":"000001a109652128"} 
[2026-10-05 05:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:40:32] 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-10-05 05:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 05:40:32] 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-10-05 05:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:40: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-10-05 05:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536623104001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536623104001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:40:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:40:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536623104001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":204118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:40:32] local.INFO: GPS data processed {"connection_id":204118,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:40:32] local.INFO: Acknowledgment sent {"connection_id":204118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:40:37] local.INFO: TCP Data received {"connection_id":204119,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:40:37] local.INFO: Processing buffer {"connection_id":204119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:40:37] local.INFO: Packet analysis {"connection_id":204119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10964"} 
[2026-10-05 05:40:37] local.INFO: Extracted packet for processing {"connection_id":204119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10964"} 
[2026-10-05 05:40:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":27,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536618752001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791158968000,"timestamp_ms":1791158968000,"timestamp_seconds":1791158968,"priority":1,"record_length":96,"hex_timestamp":"000001a10964dec0"} 
[2026-10-05 05:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:40:37] 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-10-05 05:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536618752001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536618752001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:40:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:40:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536618752001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":204119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:40:37] local.INFO: GPS data processed {"connection_id":204119,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:40:37] local.INFO: Acknowledgment sent {"connection_id":204119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:40:57] local.INFO: TCP Data received {"connection_id":204207,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:40:57] local.INFO: Processing buffer {"connection_id":204207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:40:57] local.INFO: IMEI packet received {"connection_id":204207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":204207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:41:00] local.INFO: TCP Data received {"connection_id":207208,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207208,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:41:00] local.INFO: Processing buffer {"connection_id":207208,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:41:00] local.INFO: IMEI packet received {"connection_id":207208,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":207208,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:41:01] local.INFO: TCP Data received {"connection_id":204207,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:41:01] local.INFO: Processing buffer {"connection_id":204207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:41:01] local.INFO: IMEI packet received {"connection_id":204207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":204207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:41:01] local.INFO: TCP Data received {"connection_id":204207,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:41:01] local.INFO: Processing buffer {"connection_id":204207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:41:01] local.INFO: Packet analysis {"connection_id":204207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10965"} 
[2026-10-05 05:41:01] local.INFO: Extracted packet for processing {"connection_id":204207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10965"} 
[2026-10-05 05:41:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536623104001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:41: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-10-05 05:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791158985000,"timestamp_ms":1791158985000,"timestamp_seconds":1791158985,"priority":1,"record_length":96,"hex_timestamp":"000001a109652128"} 
[2026-10-05 05:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:41:01] 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-10-05 05: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":194,"data_length":795,"current_offset":136} 
[2026-10-05 05:41: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-10-05 05: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-10-05 05:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05: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-10-05 05:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536623104001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536623104001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:41:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:41:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536623104001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":204207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:41:01] local.INFO: GPS data processed {"connection_id":204207,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:41:01] local.INFO: Acknowledgment sent {"connection_id":204207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:41:05] local.INFO: TCP Data received {"connection_id":207208,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207208,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:41:05] local.INFO: Processing buffer {"connection_id":207208,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:41:05] local.INFO: IMEI packet received {"connection_id":207208,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":207208,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:41:06] local.INFO: TCP Data received {"connection_id":207208,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:41:06] local.INFO: Processing buffer {"connection_id":207208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:41:06] local.INFO: Packet analysis {"connection_id":207208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10964"} 
[2026-10-05 05:41:06] local.INFO: Extracted packet for processing {"connection_id":207208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10964"} 
[2026-10-05 05:41:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":27,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536618752001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791158968000,"timestamp_ms":1791158968000,"timestamp_seconds":1791158968,"priority":1,"record_length":96,"hex_timestamp":"000001a10964dec0"} 
[2026-10-05 05:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:41:06] 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-10-05 05: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-10-05 05:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536618752001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536618752001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:41:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:41:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536618752001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:41:06] local.INFO: TCP Data received {"connection_id":204207,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:41:06] local.INFO: Processing buffer {"connection_id":204207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:41:06] local.INFO: Packet analysis {"connection_id":204207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10965"} 
[2026-10-05 05:41:06] local.INFO: Extracted packet for processing {"connection_id":204207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10965"} 
[2026-10-05 05:41:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536623104001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:41:06] 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-10-05 05:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791158985000,"timestamp_ms":1791158985000,"timestamp_seconds":1791158985,"priority":1,"record_length":96,"hex_timestamp":"000001a109652128"} 
[2026-10-05 05:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:41:06] 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-10-05 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 05:41:06] 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-10-05 05: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-10-05 05:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:41: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-10-05 05:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536623104001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536623104001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:41:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:41:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536623104001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":204207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:41:06] local.INFO: GPS data processed {"connection_id":204207,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:41:06] local.INFO: Acknowledgment sent {"connection_id":204207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":207208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:41:06] local.INFO: GPS data processed {"connection_id":207208,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:41:06] local.INFO: Acknowledgment sent {"connection_id":207208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:41:37] local.INFO: TCP Data received {"connection_id":207208,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:41:37] local.INFO: Processing buffer {"connection_id":207208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:41:37] local.INFO: Packet analysis {"connection_id":207208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10964"} 
[2026-10-05 05:41:37] local.INFO: Extracted packet for processing {"connection_id":207208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10964"} 
[2026-10-05 05:41:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":27,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536618752001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791158968000,"timestamp_ms":1791158968000,"timestamp_seconds":1791158968,"priority":1,"record_length":96,"hex_timestamp":"000001a10964dec0"} 
[2026-10-05 05:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:41:37] 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-10-05 05:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536618752001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536618752001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:41:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:41:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536618752001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:41:37] local.INFO: TCP Data received {"connection_id":204207,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:41:37] local.INFO: Processing buffer {"connection_id":204207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:41:37] local.INFO: Packet analysis {"connection_id":204207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10965"} 
[2026-10-05 05:41:37] local.INFO: Extracted packet for processing {"connection_id":204207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10965"} 
[2026-10-05 05:41:37] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536623104001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:41:37] 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-10-05 05:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791158985000,"timestamp_ms":1791158985000,"timestamp_seconds":1791158985,"priority":1,"record_length":96,"hex_timestamp":"000001a109652128"} 
[2026-10-05 05:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:41:37] 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-10-05 05:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 05:41:37] 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-10-05 05:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":207208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:41:37] local.INFO: GPS data processed {"connection_id":207208,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:41:37] local.INFO: Acknowledgment sent {"connection_id":207208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536623104001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536623104001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:41:37] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:41:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536623104001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":204207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:41:37] local.INFO: GPS data processed {"connection_id":204207,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:41:37] local.INFO: Acknowledgment sent {"connection_id":204207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:41:56] local.INFO: TCP Data received {"connection_id":204208,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:41:56] local.INFO: Processing buffer {"connection_id":204208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:41:56] local.INFO: IMEI packet received {"connection_id":204208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":204208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:42:00] local.INFO: TCP Data received {"connection_id":205650,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:42:00] local.INFO: Processing buffer {"connection_id":205650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:42:00] local.INFO: IMEI packet received {"connection_id":205650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":205650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:42:01] local.INFO: TCP Data received {"connection_id":204208,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:42:01] local.INFO: Processing buffer {"connection_id":204208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:42:01] local.INFO: IMEI packet received {"connection_id":204208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":204208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:42:01] local.INFO: TCP Data received {"connection_id":204208,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:42:01] local.INFO: Processing buffer {"connection_id":204208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:42:01] local.INFO: Packet analysis {"connection_id":204208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10965"} 
[2026-10-05 05:42:01] local.INFO: Extracted packet for processing {"connection_id":204208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10965"} 
[2026-10-05 05:42:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536623104001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:42: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-10-05 05:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791158985000,"timestamp_ms":1791158985000,"timestamp_seconds":1791158985,"priority":1,"record_length":96,"hex_timestamp":"000001a109652128"} 
[2026-10-05 05:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:42:01] 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-10-05 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 05:42: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-10-05 05: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-10-05 05:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:42: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-10-05 05:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536623104001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536623104001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:42:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:42:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536623104001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":204208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:42:01] local.INFO: GPS data processed {"connection_id":204208,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:42:01] local.INFO: Acknowledgment sent {"connection_id":204208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:42:05] local.INFO: TCP Data received {"connection_id":205650,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:42:05] local.INFO: Processing buffer {"connection_id":205650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:42:05] local.INFO: IMEI packet received {"connection_id":205650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":205650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:42:06] local.INFO: TCP Data received {"connection_id":205650,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:42:06] local.INFO: Processing buffer {"connection_id":205650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:42:06] local.INFO: Packet analysis {"connection_id":205650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10964"} 
[2026-10-05 05:42:06] local.INFO: Extracted packet for processing {"connection_id":205650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10964"} 
[2026-10-05 05:42:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":27,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536618752001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791158968000,"timestamp_ms":1791158968000,"timestamp_seconds":1791158968,"priority":1,"record_length":96,"hex_timestamp":"000001a10964dec0"} 
[2026-10-05 05:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:42:06] 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-10-05 05:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536618752001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536618752001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:42:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:42:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536618752001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":205650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:42:06] local.INFO: GPS data processed {"connection_id":205650,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:42:06] local.INFO: Acknowledgment sent {"connection_id":205650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:42:32] local.INFO: TCP Data received {"connection_id":204208,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:42:32] local.INFO: Processing buffer {"connection_id":204208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:42:32] local.INFO: Packet analysis {"connection_id":204208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10965"} 
[2026-10-05 05:42:32] local.INFO: Extracted packet for processing {"connection_id":204208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10965"} 
[2026-10-05 05:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:42: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-10-05 05:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536623104001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:42: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-10-05 05:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791158985000,"timestamp_ms":1791158985000,"timestamp_seconds":1791158985,"priority":1,"record_length":96,"hex_timestamp":"000001a109652128"} 
[2026-10-05 05:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:42:32] 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-10-05 05:42: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":194,"data_length":795,"current_offset":136} 
[2026-10-05 05:42:32] 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-10-05 05:42: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-10-05 05:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:42: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-10-05 05:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536623104001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536623104001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:42:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536623104001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":204208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:42:33] local.INFO: GPS data processed {"connection_id":204208,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:42:33] local.INFO: Acknowledgment sent {"connection_id":204208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:42:37] local.INFO: TCP Data received {"connection_id":205650,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:42:37] local.INFO: Processing buffer {"connection_id":205650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:42:37] local.INFO: Packet analysis {"connection_id":205650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10964"} 
[2026-10-05 05:42:37] local.INFO: Extracted packet for processing {"connection_id":205650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10964"} 
[2026-10-05 05:42:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":27,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536618752001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791158968000,"timestamp_ms":1791158968000,"timestamp_seconds":1791158968,"priority":1,"record_length":96,"hex_timestamp":"000001a10964dec0"} 
[2026-10-05 05:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:42:37] 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-10-05 05:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536618752001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536618752001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:42:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:42:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536618752001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":205650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965561,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:42:37] local.INFO: GPS data processed {"connection_id":205650,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:42:37] local.INFO: Acknowledgment sent {"connection_id":205650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:42:56] local.INFO: TCP Data received {"connection_id":207209,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:42:56] local.INFO: Processing buffer {"connection_id":207209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:42:56] local.INFO: IMEI packet received {"connection_id":207209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":207209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:43:00] local.INFO: TCP Data received {"connection_id":204209,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:43:00] local.INFO: Processing buffer {"connection_id":204209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:43:00] local.INFO: IMEI packet received {"connection_id":204209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":204209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:43:01] local.INFO: TCP Data received {"connection_id":207209,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:43:01] local.INFO: Processing buffer {"connection_id":207209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:43:01] local.INFO: IMEI packet received {"connection_id":207209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":207209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:43:02] local.INFO: TCP Data received {"connection_id":207209,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:43:02] local.INFO: Processing buffer {"connection_id":207209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:43:02] local.INFO: Packet analysis {"connection_id":207209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10965"} 
[2026-10-05 05:43:02] local.INFO: Extracted packet for processing {"connection_id":207209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10965"} 
[2026-10-05 05:43:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536623104001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:43:02] 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-10-05 05:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791158985000,"timestamp_ms":1791158985000,"timestamp_seconds":1791158985,"priority":1,"record_length":96,"hex_timestamp":"000001a109652128"} 
[2026-10-05 05:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:43: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-10-05 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 05:43:02] 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-10-05 05: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-10-05 05:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:43: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-10-05 05:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536623104001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536623104001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:43:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:43:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536623104001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":207209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:43:02] local.INFO: GPS data processed {"connection_id":207209,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:43:02] local.INFO: Acknowledgment sent {"connection_id":207209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:43:05] local.INFO: TCP Data received {"connection_id":204209,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:43:05] local.INFO: Processing buffer {"connection_id":204209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:43:05] local.INFO: IMEI packet received {"connection_id":204209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":204209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:43:06] local.INFO: TCP Data received {"connection_id":204209,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:43:06] local.INFO: Processing buffer {"connection_id":204209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:43:06] local.INFO: Packet analysis {"connection_id":204209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10964"} 
[2026-10-05 05:43:06] local.INFO: Extracted packet for processing {"connection_id":204209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10964"} 
[2026-10-05 05:43:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":27,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536618752001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791158968000,"timestamp_ms":1791158968000,"timestamp_seconds":1791158968,"priority":1,"record_length":96,"hex_timestamp":"000001a10964dec0"} 
[2026-10-05 05:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:43:06] 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-10-05 05:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536618752001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536618752001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:43:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:43:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536618752001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":204209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:43:06] local.INFO: GPS data processed {"connection_id":204209,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:43:06] local.INFO: Acknowledgment sent {"connection_id":204209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:43:13] local.INFO: TCP Data received {"connection_id":205651,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:43:13] local.INFO: Processing buffer {"connection_id":205651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:43:13] local.INFO: IMEI packet received {"connection_id":205651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 05:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":205651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:43:33] local.INFO: TCP Data received {"connection_id":207209,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:43:33] local.INFO: Processing buffer {"connection_id":207209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:43:33] local.INFO: Packet analysis {"connection_id":207209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10965"} 
[2026-10-05 05:43:33] local.INFO: Extracted packet for processing {"connection_id":207209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10965"} 
[2026-10-05 05:43:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536623104001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:43: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-10-05 05:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791158985000,"timestamp_ms":1791158985000,"timestamp_seconds":1791158985,"priority":1,"record_length":96,"hex_timestamp":"000001a109652128"} 
[2026-10-05 05:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:43:33] 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-10-05 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 05:43:33] 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-10-05 05: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-10-05 05:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:43:33] 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-10-05 05:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536623104001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536623104001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:43:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:43:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536623104001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":207209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:43:33] local.INFO: GPS data processed {"connection_id":207209,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:43:33] local.INFO: Acknowledgment sent {"connection_id":207209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:43:37] local.INFO: TCP Data received {"connection_id":204209,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:43:37] local.INFO: Processing buffer {"connection_id":204209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:43:37] local.INFO: Packet analysis {"connection_id":204209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10964"} 
[2026-10-05 05:43:37] local.INFO: Extracted packet for processing {"connection_id":204209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10964"} 
[2026-10-05 05:43:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":27,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536618752001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791158968000,"timestamp_ms":1791158968000,"timestamp_seconds":1791158968,"priority":1,"record_length":96,"hex_timestamp":"000001a10964dec0"} 
[2026-10-05 05:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:43:37] 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-10-05 05:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536618752001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536618752001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:43:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:43:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536618752001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":204209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965565,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:43:37] local.INFO: GPS data processed {"connection_id":204209,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:43:37] local.INFO: Acknowledgment sent {"connection_id":204209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:43:48] local.INFO: TCP Data received {"connection_id":204210,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204210,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:43:48] local.INFO: Processing buffer {"connection_id":204210,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:43:48] local.INFO: IMEI packet received {"connection_id":204210,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 05:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":204210,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:43:56] local.INFO: TCP Data received {"connection_id":207210,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:43:56] local.INFO: Processing buffer {"connection_id":207210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:43:56] local.INFO: IMEI packet received {"connection_id":207210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":207210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:44:00] local.INFO: TCP Data received {"connection_id":205652,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:44:00] local.INFO: Processing buffer {"connection_id":205652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:44:00] local.INFO: IMEI packet received {"connection_id":205652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":205652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:44:01] local.INFO: TCP Data received {"connection_id":207210,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:44:01] local.INFO: Processing buffer {"connection_id":207210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:44:01] local.INFO: IMEI packet received {"connection_id":207210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":207210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:44:01] local.INFO: TCP Data received {"connection_id":207210,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:44:01] local.INFO: Processing buffer {"connection_id":207210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:44:01] local.INFO: Packet analysis {"connection_id":207210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10965"} 
[2026-10-05 05:44:01] local.INFO: Extracted packet for processing {"connection_id":207210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10965"} 
[2026-10-05 05:44:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536623104001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:44: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-10-05 05:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791158985000,"timestamp_ms":1791158985000,"timestamp_seconds":1791158985,"priority":1,"record_length":96,"hex_timestamp":"000001a109652128"} 
[2026-10-05 05:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:44:01] 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-10-05 05: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":194,"data_length":795,"current_offset":136} 
[2026-10-05 05:44: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-10-05 05: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-10-05 05:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05: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-10-05 05:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536623104001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536623104001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:44:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:44:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536623104001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":207210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:44:01] local.INFO: GPS data processed {"connection_id":207210,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:44:01] local.INFO: Acknowledgment sent {"connection_id":207210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:44:05] local.INFO: TCP Data received {"connection_id":205652,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:44:05] local.INFO: Processing buffer {"connection_id":205652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:44:05] local.INFO: IMEI packet received {"connection_id":205652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":205652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:44:06] local.INFO: TCP Data received {"connection_id":205652,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:44:06] local.INFO: Processing buffer {"connection_id":205652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10964dec0012d7c2ac005dac8a0000600bf1b..."} 
[2026-10-05 05:44:06] local.INFO: Packet analysis {"connection_id":205652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10964"} 
[2026-10-05 05:44:06] local.INFO: Extracted packet for processing {"connection_id":205652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10964"} 
[2026-10-05 05:44:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":27,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536618752001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791158968000,"timestamp_ms":1791158968000,"timestamp_seconds":1791158968,"priority":1,"record_length":96,"hex_timestamp":"000001a10964dec0"} 
[2026-10-05 05:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 05:44:06] 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-10-05 05:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536618752001,"66":12624,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536618752001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:44:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:44:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536618752001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":205652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:44:06] local.INFO: GPS data processed {"connection_id":205652,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:44:06] local.INFO: Acknowledgment sent {"connection_id":205652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:44:32] local.INFO: TCP Data received {"connection_id":207210,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:44:32] local.INFO: Processing buffer {"connection_id":207210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:44:32] local.INFO: Packet analysis {"connection_id":207210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10965"} 
[2026-10-05 05:44:32] local.INFO: Extracted packet for processing {"connection_id":207210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10965"} 
[2026-10-05 05:44:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536623104001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:44: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-10-05 05:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791158985000,"timestamp_ms":1791158985000,"timestamp_seconds":1791158985,"priority":1,"record_length":96,"hex_timestamp":"000001a109652128"} 
[2026-10-05 05:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:44:32] 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-10-05 05:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 05:44:32] 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-10-05 05:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:44: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-10-05 05:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536623104001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536623104001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:44:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:44:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536623104001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":207210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:44:32] local.INFO: GPS data processed {"connection_id":207210,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:44:32] local.INFO: Acknowledgment sent {"connection_id":207210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:44:37] local.INFO: TCP Data received {"connection_id":205652,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:44:37] local.INFO: Processing buffer {"connection_id":205652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:44:37] local.INFO: Packet analysis {"connection_id":205652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:44:37] local.INFO: Extracted packet for processing {"connection_id":205652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:44:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536695808001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791159269000,"timestamp_ms":1791159269000,"timestamp_seconds":1791159269,"priority":1,"record_length":96,"hex_timestamp":"000001a109697688"} 
[2026-10-05 05:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 05:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536695808001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536695808001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:44:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:44:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536695808001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":205652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:44:37] local.INFO: GPS data processed {"connection_id":205652,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:44:37] local.INFO: Acknowledgment sent {"connection_id":205652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:44:55] local.INFO: TCP Data received {"connection_id":204122,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:44:55] local.INFO: Processing buffer {"connection_id":204122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:44:55] local.INFO: IMEI packet received {"connection_id":204122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":204122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:45:01] local.INFO: TCP Data received {"connection_id":204122,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:45:01] local.INFO: Processing buffer {"connection_id":204122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:45:01] local.INFO: IMEI packet received {"connection_id":204122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":204122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:45:01] local.INFO: TCP Data received {"connection_id":204122,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:45:01] local.INFO: Processing buffer {"connection_id":204122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109652128012d7f91c005afd9f00004010120..."} 
[2026-10-05 05:45:01] local.INFO: Packet analysis {"connection_id":204122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10965"} 
[2026-10-05 05:45:01] local.INFO: Extracted packet for processing {"connection_id":204122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10965"} 
[2026-10-05 05:45:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536623104001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:45: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-10-05 05:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791158985000,"timestamp_ms":1791158985000,"timestamp_seconds":1791158985,"priority":1,"record_length":96,"hex_timestamp":"000001a109652128"} 
[2026-10-05 05:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:45:01] 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-10-05 05: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":194,"data_length":795,"current_offset":136} 
[2026-10-05 05:45: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-10-05 05: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-10-05 05:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:45: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-10-05 05:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536623104001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536623104001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:45:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:45:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536623104001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":204122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:45:01] local.INFO: GPS data processed {"connection_id":204122,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:45:01] local.INFO: Acknowledgment sent {"connection_id":204122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:45:05] local.INFO: TCP Data received {"connection_id":207211,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207211,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:45:05] local.INFO: Processing buffer {"connection_id":207211,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:45:05] local.INFO: IMEI packet received {"connection_id":207211,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":207211,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:45:10] local.INFO: TCP Data received {"connection_id":207211,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207211,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:45:10] local.INFO: Processing buffer {"connection_id":207211,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:45:10] local.INFO: IMEI packet received {"connection_id":207211,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":207211,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:45:11] local.INFO: TCP Data received {"connection_id":207211,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:45:11] local.INFO: Processing buffer {"connection_id":207211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:45:11] local.INFO: Packet analysis {"connection_id":207211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:45:11] local.INFO: Extracted packet for processing {"connection_id":207211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:45:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536695808001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791159269000,"timestamp_ms":1791159269000,"timestamp_seconds":1791159269,"priority":1,"record_length":96,"hex_timestamp":"000001a109697688"} 
[2026-10-05 05:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 05:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536695808001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536695808001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:45:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:45:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536695808001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":207211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:45:11] local.INFO: GPS data processed {"connection_id":207211,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:45:11] local.INFO: Acknowledgment sent {"connection_id":207211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:45:15] local.INFO: TCP Data received {"connection_id":207211,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:45:15] local.INFO: Processing buffer {"connection_id":207211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:45:15] local.INFO: Packet analysis {"connection_id":207211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:45:15] local.INFO: Extracted packet for processing {"connection_id":207211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:45:15] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536695808001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791159269000,"timestamp_ms":1791159269000,"timestamp_seconds":1791159269,"priority":1,"record_length":96,"hex_timestamp":"000001a109697688"} 
[2026-10-05 05:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 05:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536695808001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536695808001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:45:15] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:45:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536695808001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":207211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:45:15] local.INFO: GPS data processed {"connection_id":207211,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:45:15] local.INFO: Acknowledgment sent {"connection_id":207211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:45:32] local.INFO: TCP Data received {"connection_id":204122,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:45:32] local.INFO: Processing buffer {"connection_id":204122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:45:32] local.INFO: Packet analysis {"connection_id":204122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:45:32] local.INFO: Extracted packet for processing {"connection_id":204122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:45:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536700160001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:45: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-10-05 05:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791159286000,"timestamp_ms":1791159286000,"timestamp_seconds":1791159286,"priority":1,"record_length":96,"hex_timestamp":"000001a10969b8f0"} 
[2026-10-05 05:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:45:32] 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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:45: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-10-05 05: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-10-05 05:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:45: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-10-05 05:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536700160001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536700160001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:45:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:45:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536700160001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":204122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:45:32] local.INFO: GPS data processed {"connection_id":204122,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:45:32] local.INFO: Acknowledgment sent {"connection_id":204122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:45:56] local.INFO: TCP Data received {"connection_id":205653,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:45:56] local.INFO: Processing buffer {"connection_id":205653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:45:56] local.INFO: IMEI packet received {"connection_id":205653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":205653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:46:00] local.INFO: TCP Data received {"connection_id":205654,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205654,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:46:00] local.INFO: Processing buffer {"connection_id":205654,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:46:00] local.INFO: IMEI packet received {"connection_id":205654,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":205654,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:46:01] local.INFO: TCP Data received {"connection_id":205653,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:46:01] local.INFO: Processing buffer {"connection_id":205653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:46:01] local.INFO: IMEI packet received {"connection_id":205653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":205653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:46:01] local.INFO: TCP Data received {"connection_id":205653,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:46:01] local.INFO: Processing buffer {"connection_id":205653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:46:01] local.INFO: Packet analysis {"connection_id":205653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:46:01] local.INFO: Extracted packet for processing {"connection_id":205653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:46:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536700160001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:46: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-10-05 05:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791159286000,"timestamp_ms":1791159286000,"timestamp_seconds":1791159286,"priority":1,"record_length":96,"hex_timestamp":"000001a10969b8f0"} 
[2026-10-05 05:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:46:01] 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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:46: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-10-05 05: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-10-05 05:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:46: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-10-05 05:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536700160001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536700160001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:46:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:46:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536700160001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":205653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:46:01] local.INFO: GPS data processed {"connection_id":205653,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:46:01] local.INFO: Acknowledgment sent {"connection_id":205653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:46:05] local.INFO: TCP Data received {"connection_id":205654,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205654,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:46:05] local.INFO: Processing buffer {"connection_id":205654,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:46:05] local.INFO: IMEI packet received {"connection_id":205654,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":205654,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:46:06] local.INFO: TCP Data received {"connection_id":205654,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:46:06] local.INFO: Processing buffer {"connection_id":205654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:46:06] local.INFO: Packet analysis {"connection_id":205654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:46:06] local.INFO: Extracted packet for processing {"connection_id":205654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:46:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536695808001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791159269000,"timestamp_ms":1791159269000,"timestamp_seconds":1791159269,"priority":1,"record_length":96,"hex_timestamp":"000001a109697688"} 
[2026-10-05 05:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 05:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05: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-10-05 05:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536695808001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536695808001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:46:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:46:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536695808001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":205654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965575,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:46:06] local.INFO: GPS data processed {"connection_id":205654,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:46:06] local.INFO: Acknowledgment sent {"connection_id":205654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:46:33] local.INFO: TCP Data received {"connection_id":205653,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:46:33] local.INFO: Processing buffer {"connection_id":205653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:46:33] local.INFO: Packet analysis {"connection_id":205653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:46:33] local.INFO: Extracted packet for processing {"connection_id":205653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536700160001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:46: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-10-05 05:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791159286000,"timestamp_ms":1791159286000,"timestamp_seconds":1791159286,"priority":1,"record_length":96,"hex_timestamp":"000001a10969b8f0"} 
[2026-10-05 05:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:46:33] 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-10-05 05:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:46:33] 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-10-05 05:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:46: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-10-05 05:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536700160001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536700160001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:46:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:46:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536700160001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":205653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:46:33] local.INFO: GPS data processed {"connection_id":205653,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:46:33] local.INFO: Acknowledgment sent {"connection_id":205653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:46:37] local.INFO: TCP Data received {"connection_id":205654,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:46:37] local.INFO: Processing buffer {"connection_id":205654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:46:37] local.INFO: Packet analysis {"connection_id":205654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:46:37] local.INFO: Extracted packet for processing {"connection_id":205654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:46:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536695808001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791159269000,"timestamp_ms":1791159269000,"timestamp_seconds":1791159269,"priority":1,"record_length":96,"hex_timestamp":"000001a109697688"} 
[2026-10-05 05:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 05:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05: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-10-05 05:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536695808001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536695808001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:46:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:46:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536695808001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":205654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:46:37] local.INFO: GPS data processed {"connection_id":205654,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:46:37] local.INFO: Acknowledgment sent {"connection_id":205654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:46:56] local.INFO: TCP Data received {"connection_id":204211,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:46:56] local.INFO: Processing buffer {"connection_id":204211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:46:56] local.INFO: IMEI packet received {"connection_id":204211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":204211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:47:00] local.INFO: TCP Data received {"connection_id":207212,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207212,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:47:00] local.INFO: Processing buffer {"connection_id":207212,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:47:00] local.INFO: IMEI packet received {"connection_id":207212,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":207212,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:47:01] local.INFO: TCP Data received {"connection_id":204211,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:47:01] local.INFO: Processing buffer {"connection_id":204211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:47:01] local.INFO: IMEI packet received {"connection_id":204211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":204211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:47:02] local.INFO: TCP Data received {"connection_id":204211,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:47:02] local.INFO: Processing buffer {"connection_id":204211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:47:02] local.INFO: Packet analysis {"connection_id":204211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:47:02] local.INFO: Extracted packet for processing {"connection_id":204211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:47:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536700160001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:47:02] 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-10-05 05:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791159286000,"timestamp_ms":1791159286000,"timestamp_seconds":1791159286,"priority":1,"record_length":96,"hex_timestamp":"000001a10969b8f0"} 
[2026-10-05 05:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:47: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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:47: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-10-05 05: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-10-05 05:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:47: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-10-05 05:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536700160001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536700160001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:47:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:47:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536700160001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":204211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:47:02] local.INFO: GPS data processed {"connection_id":204211,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:47:02] local.INFO: Acknowledgment sent {"connection_id":204211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:47:05] local.INFO: TCP Data received {"connection_id":207212,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207212,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:47:05] local.INFO: Processing buffer {"connection_id":207212,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:47:05] local.INFO: IMEI packet received {"connection_id":207212,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":207212,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:47:07] local.INFO: TCP Data received {"connection_id":207212,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:47:07] local.INFO: Processing buffer {"connection_id":207212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:47:07] local.INFO: Packet analysis {"connection_id":207212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:47:07] local.INFO: Extracted packet for processing {"connection_id":207212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:47:07] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536695808001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791159269000,"timestamp_ms":1791159269000,"timestamp_seconds":1791159269,"priority":1,"record_length":96,"hex_timestamp":"000001a109697688"} 
[2026-10-05 05:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 05:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05: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-10-05 05:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536695808001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536695808001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:47:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:47:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536695808001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":207212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:47:07] local.INFO: GPS data processed {"connection_id":207212,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:47:07] local.INFO: Acknowledgment sent {"connection_id":207212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:47:33] local.INFO: TCP Data received {"connection_id":204211,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:47:33] local.INFO: Processing buffer {"connection_id":204211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:47:33] local.INFO: Packet analysis {"connection_id":204211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:47:33] local.INFO: Extracted packet for processing {"connection_id":204211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536700160001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:47: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-10-05 05:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791159286000,"timestamp_ms":1791159286000,"timestamp_seconds":1791159286,"priority":1,"record_length":96,"hex_timestamp":"000001a10969b8f0"} 
[2026-10-05 05:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:47:33] 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-10-05 05:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:47:33] 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-10-05 05:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:47: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-10-05 05:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536700160001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536700160001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:47:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:47:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536700160001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":204211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:47:33] local.INFO: GPS data processed {"connection_id":204211,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:47:33] local.INFO: Acknowledgment sent {"connection_id":204211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:47:38] local.INFO: TCP Data received {"connection_id":207212,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:47:38] local.INFO: Processing buffer {"connection_id":207212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:47:38] local.INFO: Packet analysis {"connection_id":207212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:47:38] local.INFO: Extracted packet for processing {"connection_id":207212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:47:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536695808001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791159269000,"timestamp_ms":1791159269000,"timestamp_seconds":1791159269,"priority":1,"record_length":96,"hex_timestamp":"000001a109697688"} 
[2026-10-05 05:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 05:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536695808001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536695808001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:47:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:47:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536695808001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":207212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965581,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:47:38] local.INFO: GPS data processed {"connection_id":207212,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:47:38] local.INFO: Acknowledgment sent {"connection_id":207212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:47:56] local.INFO: TCP Data received {"connection_id":207213,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:47:56] local.INFO: Processing buffer {"connection_id":207213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:47:56] local.INFO: IMEI packet received {"connection_id":207213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":207213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:48:00] local.INFO: TCP Data received {"connection_id":207214,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:48:00] local.INFO: Processing buffer {"connection_id":207214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:48:00] local.INFO: IMEI packet received {"connection_id":207214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":207214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:48:01] local.INFO: TCP Data received {"connection_id":207213,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:48:01] local.INFO: Processing buffer {"connection_id":207213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:48:01] local.INFO: IMEI packet received {"connection_id":207213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":207213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:48:01] local.INFO: TCP Data received {"connection_id":207213,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:48:01] local.INFO: Processing buffer {"connection_id":207213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:48:01] local.INFO: Packet analysis {"connection_id":207213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:48:01] local.INFO: Extracted packet for processing {"connection_id":207213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:48:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536700160001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:48: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-10-05 05:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791159286000,"timestamp_ms":1791159286000,"timestamp_seconds":1791159286,"priority":1,"record_length":96,"hex_timestamp":"000001a10969b8f0"} 
[2026-10-05 05:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:48:01] 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-10-05 05: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":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:48: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-10-05 05: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-10-05 05:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05: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-10-05 05:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536700160001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536700160001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:48:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:48:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536700160001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":207213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:48:01] local.INFO: GPS data processed {"connection_id":207213,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:48:01] local.INFO: Acknowledgment sent {"connection_id":207213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:48:05] local.INFO: TCP Data received {"connection_id":207214,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:48:05] local.INFO: Processing buffer {"connection_id":207214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:48:05] local.INFO: IMEI packet received {"connection_id":207214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":207214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:48:06] local.INFO: TCP Data received {"connection_id":207214,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:48:06] local.INFO: Processing buffer {"connection_id":207214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:48:06] local.INFO: Packet analysis {"connection_id":207214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:48:06] local.INFO: Extracted packet for processing {"connection_id":207214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:48:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536695808001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791159269000,"timestamp_ms":1791159269000,"timestamp_seconds":1791159269,"priority":1,"record_length":96,"hex_timestamp":"000001a109697688"} 
[2026-10-05 05:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 05:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536695808001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536695808001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:48:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:48:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536695808001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":207214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:48:06] local.INFO: GPS data processed {"connection_id":207214,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:48:06] local.INFO: Acknowledgment sent {"connection_id":207214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:48:33] local.INFO: TCP Data received {"connection_id":207213,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:48:33] local.INFO: Processing buffer {"connection_id":207213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:48:33] local.INFO: Packet analysis {"connection_id":207213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:48:33] local.INFO: Extracted packet for processing {"connection_id":207213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536700160001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:48: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-10-05 05:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791159286000,"timestamp_ms":1791159286000,"timestamp_seconds":1791159286,"priority":1,"record_length":96,"hex_timestamp":"000001a10969b8f0"} 
[2026-10-05 05:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:48:33] 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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:48:33] 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-10-05 05: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-10-05 05:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:48: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-10-05 05:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536700160001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536700160001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:48:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:48:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536700160001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":207213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:48:33] local.INFO: GPS data processed {"connection_id":207213,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:48:33] local.INFO: Acknowledgment sent {"connection_id":207213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:48:38] local.INFO: TCP Data received {"connection_id":207214,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:48:38] local.INFO: Processing buffer {"connection_id":207214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:48:38] local.INFO: Packet analysis {"connection_id":207214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:48:38] local.INFO: Extracted packet for processing {"connection_id":207214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:48:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536695808001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791159269000,"timestamp_ms":1791159269000,"timestamp_seconds":1791159269,"priority":1,"record_length":96,"hex_timestamp":"000001a109697688"} 
[2026-10-05 05:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 05:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536695808001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536695808001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:48:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:48:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536695808001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":207214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965585,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:48:38] local.INFO: GPS data processed {"connection_id":207214,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:48:38] local.INFO: Acknowledgment sent {"connection_id":207214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:48:55] local.INFO: TCP Data received {"connection_id":205656,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:48:55] local.INFO: Processing buffer {"connection_id":205656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:48:55] local.INFO: IMEI packet received {"connection_id":205656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":205656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:49:01] local.INFO: TCP Data received {"connection_id":205656,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:49:01] local.INFO: Processing buffer {"connection_id":205656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:49:01] local.INFO: IMEI packet received {"connection_id":205656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":205656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:49:01] local.INFO: TCP Data received {"connection_id":205656,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:49:01] local.INFO: Processing buffer {"connection_id":205656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:49:01] local.INFO: Packet analysis {"connection_id":205656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:49:01] local.INFO: Extracted packet for processing {"connection_id":205656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:49:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 05:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536700160001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:49: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-10-05 05:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791159286000,"timestamp_ms":1791159286000,"timestamp_seconds":1791159286,"priority":1,"record_length":96,"hex_timestamp":"000001a10969b8f0"} 
[2026-10-05 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-10-05 05:49:01] 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-10-05 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 05:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:49: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-10-05 05:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536700160001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536700160001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:49:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:49:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536700160001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":205656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:49:01] local.INFO: GPS data processed {"connection_id":205656,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:49:01] local.INFO: Acknowledgment sent {"connection_id":205656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:49:05] local.INFO: TCP Data received {"connection_id":204213,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:49:05] local.INFO: Processing buffer {"connection_id":204213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:49:05] local.INFO: IMEI packet received {"connection_id":204213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":204213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:49:08] local.INFO: TCP Data received {"connection_id":204124,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:49:08] local.INFO: Processing buffer {"connection_id":204124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:49:08] local.INFO: IMEI packet received {"connection_id":204124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 05:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":204124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:49:10] local.INFO: TCP Data received {"connection_id":204213,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:49:10] local.INFO: Processing buffer {"connection_id":204213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:49:10] local.INFO: IMEI packet received {"connection_id":204213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":204213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:49:11] local.INFO: TCP Data received {"connection_id":204213,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:49:11] local.INFO: Processing buffer {"connection_id":204213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:49:11] local.INFO: Packet analysis {"connection_id":204213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:49:11] local.INFO: Extracted packet for processing {"connection_id":204213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:49:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536695808001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791159269000,"timestamp_ms":1791159269000,"timestamp_seconds":1791159269,"priority":1,"record_length":96,"hex_timestamp":"000001a109697688"} 
[2026-10-05 05:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 05:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536695808001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536695808001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:49:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536695808001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":204213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965587,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:49:11] local.INFO: GPS data processed {"connection_id":204213,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:49:11] local.INFO: Acknowledgment sent {"connection_id":204213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:49:15] local.INFO: TCP Data received {"connection_id":204213,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:49:15] local.INFO: Processing buffer {"connection_id":204213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109697688012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:49:15] local.INFO: Packet analysis {"connection_id":204213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:49:15] local.INFO: Extracted packet for processing {"connection_id":204213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:49:15] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536695808001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791159269000,"timestamp_ms":1791159269000,"timestamp_seconds":1791159269,"priority":1,"record_length":96,"hex_timestamp":"000001a109697688"} 
[2026-10-05 05:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 05:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536695808001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536695808001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:49:15] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:49:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536695808001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":204213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965588,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:49:15] local.INFO: GPS data processed {"connection_id":204213,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:49:15] local.INFO: Acknowledgment sent {"connection_id":204213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:49:32] local.INFO: TCP Data received {"connection_id":205656,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:49:32] local.INFO: Processing buffer {"connection_id":205656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:49:32] local.INFO: Packet analysis {"connection_id":205656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:49:32] local.INFO: Extracted packet for processing {"connection_id":205656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 05:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536700160001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:49: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-10-05 05:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791159286000,"timestamp_ms":1791159286000,"timestamp_seconds":1791159286,"priority":1,"record_length":96,"hex_timestamp":"000001a10969b8f0"} 
[2026-10-05 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-10-05 05:49:32] 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-10-05 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:49: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-10-05 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-10-05 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-10-05 05:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:49: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-10-05 05:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536700160001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536700160001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:49:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:49:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536700160001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":205656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:49:32] local.INFO: GPS data processed {"connection_id":205656,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:49:32] local.INFO: Acknowledgment sent {"connection_id":205656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:49:42] local.INFO: TCP Data received {"connection_id":205657,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205657,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:49:42] local.INFO: Processing buffer {"connection_id":205657,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:49:42] local.INFO: IMEI packet received {"connection_id":205657,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 05:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":205657,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:49:55] local.INFO: TCP Data received {"connection_id":207215,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:49:55] local.INFO: Processing buffer {"connection_id":207215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:49:55] local.INFO: IMEI packet received {"connection_id":207215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":207215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:50:00] local.INFO: TCP Data received {"connection_id":207216,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:50:00] local.INFO: Processing buffer {"connection_id":207216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:50:00] local.INFO: IMEI packet received {"connection_id":207216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":207216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:50:01] local.INFO: TCP Data received {"connection_id":207215,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:50:01] local.INFO: Processing buffer {"connection_id":207215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:50:01] local.INFO: IMEI packet received {"connection_id":207215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":207215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:50:01] local.INFO: TCP Data received {"connection_id":207215,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:50:01] local.INFO: Processing buffer {"connection_id":207215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10969b8f0012d7f91c005afd9f00005010120..."} 
[2026-10-05 05:50:01] local.INFO: Packet analysis {"connection_id":207215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:50:01] local.INFO: Extracted packet for processing {"connection_id":207215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10969"} 
[2026-10-05 05:50:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536700160001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:50: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-10-05 05:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791159286000,"timestamp_ms":1791159286000,"timestamp_seconds":1791159286,"priority":1,"record_length":96,"hex_timestamp":"000001a10969b8f0"} 
[2026-10-05 05:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:50:01] 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-10-05 05: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-10-05 05: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-10-05 05: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-10-05 05:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05: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-10-05 05:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536700160001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536700160001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:50:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:50:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536700160001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":207215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:50:02] local.INFO: GPS data processed {"connection_id":207215,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:50:02] local.INFO: Acknowledgment sent {"connection_id":207215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:50:05] local.INFO: TCP Data received {"connection_id":207216,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:50:05] local.INFO: Processing buffer {"connection_id":207216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:50:05] local.INFO: IMEI packet received {"connection_id":207216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":207216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:50:06] local.INFO: TCP Data received {"connection_id":207216,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:50:06] local.INFO: Processing buffer {"connection_id":207216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:50:06] local.INFO: Packet analysis {"connection_id":207216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:50:06] local.INFO: Extracted packet for processing {"connection_id":207216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:50:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":28,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536772864001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791159570000,"timestamp_ms":1791159570000,"timestamp_seconds":1791159570,"priority":1,"record_length":96,"hex_timestamp":"000001a1096e0e50"} 
[2026-10-05 05:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:50:06] 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-10-05 05:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536772864001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536772864001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:50:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:50:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536772864001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":207216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965591,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:50:06] local.INFO: GPS data processed {"connection_id":207216,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:50:06] local.INFO: Acknowledgment sent {"connection_id":207216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:50:33] local.INFO: TCP Data received {"connection_id":207215,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:50:33] local.INFO: Processing buffer {"connection_id":207215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:50:33] local.INFO: Packet analysis {"connection_id":207215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:50:33] local.INFO: Extracted packet for processing {"connection_id":207215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536777216001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:50: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-10-05 05:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791159587000,"timestamp_ms":1791159587000,"timestamp_seconds":1791159587,"priority":1,"record_length":96,"hex_timestamp":"000001a1096e50b8"} 
[2026-10-05 05:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:50:33] 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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:50:33] 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-10-05 05: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-10-05 05:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:50: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-10-05 05:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536777216001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536777216001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:50:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:50:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536777216001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":207215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:50:34] local.INFO: GPS data processed {"connection_id":207215,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:50:34] local.INFO: Acknowledgment sent {"connection_id":207215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:50:37] local.INFO: TCP Data received {"connection_id":207216,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:50:37] local.INFO: Processing buffer {"connection_id":207216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:50:37] local.INFO: Packet analysis {"connection_id":207216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:50:37] local.INFO: Extracted packet for processing {"connection_id":207216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:50:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":28,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536772864001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791159570000,"timestamp_ms":1791159570000,"timestamp_seconds":1791159570,"priority":1,"record_length":96,"hex_timestamp":"000001a1096e0e50"} 
[2026-10-05 05:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:50:37] 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-10-05 05:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536772864001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536772864001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:50:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:50:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536772864001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":207216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:50:37] local.INFO: GPS data processed {"connection_id":207216,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:50:37] local.INFO: Acknowledgment sent {"connection_id":207216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:50:56] local.INFO: TCP Data received {"connection_id":205658,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:50:56] local.INFO: Processing buffer {"connection_id":205658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:50:56] local.INFO: IMEI packet received {"connection_id":205658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":205658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:51:00] local.INFO: TCP Data received {"connection_id":205659,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:51:00] local.INFO: Processing buffer {"connection_id":205659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:51:00] local.INFO: IMEI packet received {"connection_id":205659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":205659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:51:01] local.INFO: TCP Data received {"connection_id":205658,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:51:01] local.INFO: Processing buffer {"connection_id":205658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:51:01] local.INFO: IMEI packet received {"connection_id":205658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":205658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:51:01] local.INFO: TCP Data received {"connection_id":205658,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:51:01] local.INFO: Processing buffer {"connection_id":205658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:51:01] local.INFO: Packet analysis {"connection_id":205658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:51:01] local.INFO: Extracted packet for processing {"connection_id":205658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:51:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536777216001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:51: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-10-05 05:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791159587000,"timestamp_ms":1791159587000,"timestamp_seconds":1791159587,"priority":1,"record_length":96,"hex_timestamp":"000001a1096e50b8"} 
[2026-10-05 05:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:51:01] 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-10-05 05:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:51: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-10-05 05:51: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-10-05 05:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:51: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-10-05 05:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536777216001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536777216001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:51:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:51:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536777216001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":205658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:51:01] local.INFO: GPS data processed {"connection_id":205658,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:51:01] local.INFO: Acknowledgment sent {"connection_id":205658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:51:05] local.INFO: TCP Data received {"connection_id":205659,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:51:05] local.INFO: Processing buffer {"connection_id":205659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:51:05] local.INFO: IMEI packet received {"connection_id":205659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":205659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:51:06] local.INFO: TCP Data received {"connection_id":205659,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:51:06] local.INFO: Processing buffer {"connection_id":205659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:51:06] local.INFO: Packet analysis {"connection_id":205659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:51:06] local.INFO: Extracted packet for processing {"connection_id":205659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:51:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":28,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536772864001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791159570000,"timestamp_ms":1791159570000,"timestamp_seconds":1791159570,"priority":1,"record_length":96,"hex_timestamp":"000001a1096e0e50"} 
[2026-10-05 05:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:51:06] 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-10-05 05:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536772864001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536772864001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:51:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:51:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536772864001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":205659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:51:06] local.INFO: GPS data processed {"connection_id":205659,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:51:06] local.INFO: Acknowledgment sent {"connection_id":205659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:51:33] local.INFO: TCP Data received {"connection_id":205658,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:51:33] local.INFO: Processing buffer {"connection_id":205658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:51:33] local.INFO: Packet analysis {"connection_id":205658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:51:33] local.INFO: Extracted packet for processing {"connection_id":205658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:51:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536777216001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:51: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-10-05 05:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791159587000,"timestamp_ms":1791159587000,"timestamp_seconds":1791159587,"priority":1,"record_length":96,"hex_timestamp":"000001a1096e50b8"} 
[2026-10-05 05:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:51:33] 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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:51:33] 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-10-05 05: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-10-05 05:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:51: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-10-05 05:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536777216001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536777216001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:51:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:51:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536777216001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":205658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:51:33] local.INFO: GPS data processed {"connection_id":205658,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:51:33] local.INFO: Acknowledgment sent {"connection_id":205658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:51:37] local.INFO: TCP Data received {"connection_id":205659,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:51:37] local.INFO: Processing buffer {"connection_id":205659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:51:37] local.INFO: Packet analysis {"connection_id":205659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:51:37] local.INFO: Extracted packet for processing {"connection_id":205659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:51:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":28,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536772864001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791159570000,"timestamp_ms":1791159570000,"timestamp_seconds":1791159570,"priority":1,"record_length":96,"hex_timestamp":"000001a1096e0e50"} 
[2026-10-05 05:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:51:37] 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-10-05 05:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536772864001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536772864001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:51:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:51:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536772864001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":205659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:51:37] local.INFO: GPS data processed {"connection_id":205659,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:51:37] local.INFO: Acknowledgment sent {"connection_id":205659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:51:57] local.INFO: TCP Data received {"connection_id":204125,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:51:57] local.INFO: Processing buffer {"connection_id":204125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:51:57] local.INFO: IMEI packet received {"connection_id":204125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":204125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:52:00] local.INFO: TCP Data received {"connection_id":204126,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:52:00] local.INFO: Processing buffer {"connection_id":204126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:52:00] local.INFO: IMEI packet received {"connection_id":204126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":204126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:52:01] local.INFO: TCP Data received {"connection_id":204125,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:52:01] local.INFO: Processing buffer {"connection_id":204125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:52:01] local.INFO: IMEI packet received {"connection_id":204125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":204125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:52:01] local.INFO: TCP Data received {"connection_id":204125,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:52:01] local.INFO: Processing buffer {"connection_id":204125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:52:01] local.INFO: Packet analysis {"connection_id":204125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:52:01] local.INFO: Extracted packet for processing {"connection_id":204125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:52:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 05:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536777216001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:52: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-10-05 05:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791159587000,"timestamp_ms":1791159587000,"timestamp_seconds":1791159587,"priority":1,"record_length":96,"hex_timestamp":"000001a1096e50b8"} 
[2026-10-05 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-10-05 05:52:01] 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-10-05 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:52: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-10-05 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-10-05 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-10-05 05:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:52: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-10-05 05:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536777216001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536777216001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:52:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:52:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536777216001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":204125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:52:02] local.INFO: GPS data processed {"connection_id":204125,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:52:02] local.INFO: Acknowledgment sent {"connection_id":204125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:52:05] local.INFO: TCP Data received {"connection_id":204126,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:52:05] local.INFO: Processing buffer {"connection_id":204126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:52:05] local.INFO: IMEI packet received {"connection_id":204126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":204126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:52:06] local.INFO: TCP Data received {"connection_id":204126,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:52:06] local.INFO: Processing buffer {"connection_id":204126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:52:06] local.INFO: Packet analysis {"connection_id":204126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:52:06] local.INFO: Extracted packet for processing {"connection_id":204126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":28,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536772864001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791159570000,"timestamp_ms":1791159570000,"timestamp_seconds":1791159570,"priority":1,"record_length":96,"hex_timestamp":"000001a1096e0e50"} 
[2026-10-05 05:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:52:06] 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-10-05 05: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-10-05 05:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:52:06] 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-10-05 05:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536772864001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536772864001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:52:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:52:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536772864001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":204126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:52:06] local.INFO: GPS data processed {"connection_id":204126,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:52:06] local.INFO: Acknowledgment sent {"connection_id":204126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:52:33] local.INFO: TCP Data received {"connection_id":204125,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:52:33] local.INFO: Processing buffer {"connection_id":204125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:52:33] local.INFO: Packet analysis {"connection_id":204125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:52:33] local.INFO: Extracted packet for processing {"connection_id":204125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536777216001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:52: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-10-05 05:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791159587000,"timestamp_ms":1791159587000,"timestamp_seconds":1791159587,"priority":1,"record_length":96,"hex_timestamp":"000001a1096e50b8"} 
[2026-10-05 05:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:52:33] 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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:52:33] 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-10-05 05: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-10-05 05:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:52: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-10-05 05:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536777216001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536777216001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:52:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:52:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536777216001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":204125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:52:33] local.INFO: GPS data processed {"connection_id":204125,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:52:33] local.INFO: Acknowledgment sent {"connection_id":204125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:52:37] local.INFO: TCP Data received {"connection_id":204126,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:52:37] local.INFO: Processing buffer {"connection_id":204126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:52:37] local.INFO: Packet analysis {"connection_id":204126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:52:37] local.INFO: Extracted packet for processing {"connection_id":204126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":28,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 05:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536772864001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791159570000,"timestamp_ms":1791159570000,"timestamp_seconds":1791159570,"priority":1,"record_length":96,"hex_timestamp":"000001a1096e0e50"} 
[2026-10-05 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-10-05 05:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:52:37] 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-10-05 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-10-05 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-10-05 05:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:52:37] 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-10-05 05:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536772864001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536772864001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:52:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:52:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536772864001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":204126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:52:37] local.INFO: GPS data processed {"connection_id":204126,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:52:37] local.INFO: Acknowledgment sent {"connection_id":204126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:52:55] local.INFO: TCP Data received {"connection_id":204215,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:52:55] local.INFO: Processing buffer {"connection_id":204215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:52:55] local.INFO: IMEI packet received {"connection_id":204215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":204215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:53:00] local.INFO: TCP Data received {"connection_id":204216,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:53:00] local.INFO: Processing buffer {"connection_id":204216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:53:00] local.INFO: IMEI packet received {"connection_id":204216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":204216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:53:01] local.INFO: TCP Data received {"connection_id":204215,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:53:01] local.INFO: Processing buffer {"connection_id":204215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:53:01] local.INFO: IMEI packet received {"connection_id":204215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":204215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:53:01] local.INFO: TCP Data received {"connection_id":204215,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:53:01] local.INFO: Processing buffer {"connection_id":204215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:53:01] local.INFO: Packet analysis {"connection_id":204215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:53:01] local.INFO: Extracted packet for processing {"connection_id":204215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:53:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536777216001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:53: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-10-05 05:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791159587000,"timestamp_ms":1791159587000,"timestamp_seconds":1791159587,"priority":1,"record_length":96,"hex_timestamp":"000001a1096e50b8"} 
[2026-10-05 05:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:53:01] 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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:53: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-10-05 05: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-10-05 05:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:53: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-10-05 05:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536777216001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536777216001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:53:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:53:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536777216001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":204215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:53:01] local.INFO: GPS data processed {"connection_id":204215,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:53:01] local.INFO: Acknowledgment sent {"connection_id":204215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:53:05] local.INFO: TCP Data received {"connection_id":204216,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:53:05] local.INFO: Processing buffer {"connection_id":204216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:53:05] local.INFO: IMEI packet received {"connection_id":204216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":204216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:53:06] local.INFO: TCP Data received {"connection_id":204216,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:53:06] local.INFO: Processing buffer {"connection_id":204216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:53:06] local.INFO: Packet analysis {"connection_id":204216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:53:06] local.INFO: Extracted packet for processing {"connection_id":204216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:53:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":28,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536772864001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791159570000,"timestamp_ms":1791159570000,"timestamp_seconds":1791159570,"priority":1,"record_length":96,"hex_timestamp":"000001a1096e0e50"} 
[2026-10-05 05:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:53:06] 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-10-05 05:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536772864001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536772864001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:53:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:53:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536772864001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":204216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:53:06] local.INFO: GPS data processed {"connection_id":204216,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:53:06] local.INFO: Acknowledgment sent {"connection_id":204216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:53:32] local.INFO: TCP Data received {"connection_id":204215,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:53:32] local.INFO: Processing buffer {"connection_id":204215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:53:32] local.INFO: Packet analysis {"connection_id":204215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:53:32] local.INFO: Extracted packet for processing {"connection_id":204215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:53:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536777216001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:53: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-10-05 05:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791159587000,"timestamp_ms":1791159587000,"timestamp_seconds":1791159587,"priority":1,"record_length":96,"hex_timestamp":"000001a1096e50b8"} 
[2026-10-05 05:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:53:32] 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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:53: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-10-05 05: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-10-05 05:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:53: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-10-05 05:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536777216001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536777216001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:53:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:53:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536777216001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":204215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:53:32] local.INFO: GPS data processed {"connection_id":204215,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:53:32] local.INFO: Acknowledgment sent {"connection_id":204215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:53:37] local.INFO: TCP Data received {"connection_id":204216,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:53:37] local.INFO: Processing buffer {"connection_id":204216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:53:37] local.INFO: Packet analysis {"connection_id":204216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:53:37] local.INFO: Extracted packet for processing {"connection_id":204216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:53:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":28,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536772864001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791159570000,"timestamp_ms":1791159570000,"timestamp_seconds":1791159570,"priority":1,"record_length":96,"hex_timestamp":"000001a1096e0e50"} 
[2026-10-05 05:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:53:37] 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-10-05 05:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536772864001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536772864001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:53:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:53:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536772864001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":204216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:53:37] local.INFO: GPS data processed {"connection_id":204216,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:53:37] local.INFO: Acknowledgment sent {"connection_id":204216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:53:55] local.INFO: TCP Data received {"connection_id":205660,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:53:55] local.INFO: Processing buffer {"connection_id":205660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:53:55] local.INFO: IMEI packet received {"connection_id":205660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":205660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:54:01] local.INFO: TCP Data received {"connection_id":205660,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:54:01] local.INFO: Processing buffer {"connection_id":205660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:54:01] local.INFO: IMEI packet received {"connection_id":205660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":205660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:54:02] local.INFO: TCP Data received {"connection_id":205660,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:54:02] local.INFO: Processing buffer {"connection_id":205660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:54:02] local.INFO: Packet analysis {"connection_id":205660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:54:02] local.INFO: Extracted packet for processing {"connection_id":205660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:54:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536777216001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:54:02] 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-10-05 05:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791159587000,"timestamp_ms":1791159587000,"timestamp_seconds":1791159587,"priority":1,"record_length":96,"hex_timestamp":"000001a1096e50b8"} 
[2026-10-05 05:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:54: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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:54: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-10-05 05: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-10-05 05:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:54: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-10-05 05:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536777216001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536777216001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:54:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:54:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536777216001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":205660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:54:02] local.INFO: GPS data processed {"connection_id":205660,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:54:02] local.INFO: Acknowledgment sent {"connection_id":205660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:54:05] local.INFO: TCP Data received {"connection_id":207219,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207219,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:54:05] local.INFO: Processing buffer {"connection_id":207219,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:54:05] local.INFO: IMEI packet received {"connection_id":207219,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":207219,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:54:10] local.INFO: TCP Data received {"connection_id":207219,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207219,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:54:10] local.INFO: Processing buffer {"connection_id":207219,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:54:10] local.INFO: IMEI packet received {"connection_id":207219,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":207219,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:54:11] local.INFO: TCP Data received {"connection_id":207219,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:54:11] local.INFO: Processing buffer {"connection_id":207219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:54:11] local.INFO: Packet analysis {"connection_id":207219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:54:11] local.INFO: Extracted packet for processing {"connection_id":207219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:54:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":28,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536772864001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791159570000,"timestamp_ms":1791159570000,"timestamp_seconds":1791159570,"priority":1,"record_length":96,"hex_timestamp":"000001a1096e0e50"} 
[2026-10-05 05:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:54:11] 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-10-05 05: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-10-05 05:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:54:11] 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-10-05 05:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536772864001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536772864001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:54:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:54:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536772864001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":207219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965607,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:54:11] local.INFO: GPS data processed {"connection_id":207219,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:54:11] local.INFO: Acknowledgment sent {"connection_id":207219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:54:15] local.INFO: TCP Data received {"connection_id":207219,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:54:15] local.INFO: Processing buffer {"connection_id":207219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096e0e50012d7c2ac005dac8a0000600bf1c..."} 
[2026-10-05 05:54:15] local.INFO: Packet analysis {"connection_id":207219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:54:15] local.INFO: Extracted packet for processing {"connection_id":207219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:54:15] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":28,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536772864001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791159570000,"timestamp_ms":1791159570000,"timestamp_seconds":1791159570,"priority":1,"record_length":96,"hex_timestamp":"000001a1096e0e50"} 
[2026-10-05 05:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:54:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:54: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-10-05 05:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536772864001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536772864001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:54:15] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:54:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536772864001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":207219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:54:15] local.INFO: GPS data processed {"connection_id":207219,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:54:15] local.INFO: Acknowledgment sent {"connection_id":207219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:54:33] local.INFO: TCP Data received {"connection_id":205660,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:54:33] local.INFO: Processing buffer {"connection_id":205660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:54:33] local.INFO: Packet analysis {"connection_id":205660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:54:33] local.INFO: Extracted packet for processing {"connection_id":205660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:54:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536777216001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:54: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-10-05 05:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791159587000,"timestamp_ms":1791159587000,"timestamp_seconds":1791159587,"priority":1,"record_length":96,"hex_timestamp":"000001a1096e50b8"} 
[2026-10-05 05:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:54:33] 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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:54:33] 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-10-05 05: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-10-05 05:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:54: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-10-05 05:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536777216001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536777216001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:54:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:54:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536777216001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":205660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:54:33] local.INFO: GPS data processed {"connection_id":205660,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:54:33] local.INFO: Acknowledgment sent {"connection_id":205660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:55:00] local.INFO: TCP Data received {"connection_id":207221,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207221,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:55:00] local.INFO: Processing buffer {"connection_id":207221,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:55:00] local.INFO: IMEI packet received {"connection_id":207221,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":207221,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:55:01] local.INFO: TCP Data received {"connection_id":207222,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:55:01] local.INFO: Processing buffer {"connection_id":207222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:55:01] local.INFO: IMEI packet received {"connection_id":207222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":207222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:55:03] local.INFO: TCP Data received {"connection_id":207220,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:55:03] local.INFO: Processing buffer {"connection_id":207220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:55:03] local.INFO: IMEI packet received {"connection_id":207220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 05:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":207220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:55:05] local.INFO: TCP Data received {"connection_id":207221,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207221,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:55:05] local.INFO: Processing buffer {"connection_id":207221,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:55:05] local.INFO: IMEI packet received {"connection_id":207221,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":207221,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:55:06] local.INFO: TCP Data received {"connection_id":207221,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10972a618012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10972a618012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:55:06] local.INFO: Processing buffer {"connection_id":207221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10972a618012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:55:06] local.INFO: Packet analysis {"connection_id":207221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:55:06] local.INFO: Extracted packet for processing {"connection_id":207221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:55:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536849920001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791159871000,"timestamp_ms":1791159871000,"timestamp_seconds":1791159871,"priority":1,"record_length":96,"hex_timestamp":"000001a10972a618"} 
[2026-10-05 05:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:55:06] 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-10-05 05:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207221,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207221,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:55: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-10-05 05:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536849920001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536849920001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:55:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:55:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536849920001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":207221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:55:06] local.INFO: GPS data processed {"connection_id":207221,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:55:06] local.INFO: Acknowledgment sent {"connection_id":207221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:55:06] local.INFO: TCP Data received {"connection_id":207222,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:55:06] local.INFO: Processing buffer {"connection_id":207222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:55:06] local.INFO: IMEI packet received {"connection_id":207222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":207222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:55:06] local.INFO: TCP Data received {"connection_id":207222,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:55:06] local.INFO: Processing buffer {"connection_id":207222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:55:06] local.INFO: Packet analysis {"connection_id":207222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:55:06] local.INFO: Extracted packet for processing {"connection_id":207222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:55:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536777216001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:55:06] 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-10-05 05:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791159587000,"timestamp_ms":1791159587000,"timestamp_seconds":1791159587,"priority":1,"record_length":96,"hex_timestamp":"000001a1096e50b8"} 
[2026-10-05 05:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:55:06] 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-10-05 05:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:55:06] 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-10-05 05:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:55: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-10-05 05:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536777216001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536777216001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:55:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:55:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536777216001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":207222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:55:06] local.INFO: GPS data processed {"connection_id":207222,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:55:06] local.INFO: Acknowledgment sent {"connection_id":207222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:55:11] local.INFO: TCP Data received {"connection_id":207222,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:55:11] local.INFO: Processing buffer {"connection_id":207222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1096e50b8012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:55:11] local.INFO: Packet analysis {"connection_id":207222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:55:11] local.INFO: Extracted packet for processing {"connection_id":207222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1096e"} 
[2026-10-05 05:55:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536777216001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:55:11] 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-10-05 05:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791159587000,"timestamp_ms":1791159587000,"timestamp_seconds":1791159587,"priority":1,"record_length":96,"hex_timestamp":"000001a1096e50b8"} 
[2026-10-05 05:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:55:11] 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-10-05 05:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:55:11] 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-10-05 05:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536777216001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536777216001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:55:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536777216001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":207222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:55:11] local.INFO: GPS data processed {"connection_id":207222,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:55:11] local.INFO: Acknowledgment sent {"connection_id":207222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:55:36] local.INFO: TCP Data received {"connection_id":207221,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10972a618012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10972a618012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:55:36] local.INFO: Processing buffer {"connection_id":207221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10972a618012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:55:36] local.INFO: Packet analysis {"connection_id":207221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:55:36] local.INFO: Extracted packet for processing {"connection_id":207221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:55:36] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536849920001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791159871000,"timestamp_ms":1791159871000,"timestamp_seconds":1791159871,"priority":1,"record_length":96,"hex_timestamp":"000001a10972a618"} 
[2026-10-05 05:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:55:36] 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-10-05 05: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-10-05 05:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207221,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207221,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:55: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-10-05 05:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536849920001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536849920001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:55:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:55:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536849920001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":207221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:55:37] local.INFO: GPS data processed {"connection_id":207221,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:55:37] local.INFO: Acknowledgment sent {"connection_id":207221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:55:42] local.INFO: TCP Data received {"connection_id":205661,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:55:42] local.INFO: Processing buffer {"connection_id":205661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 05:55:42] local.INFO: IMEI packet received {"connection_id":205661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 05:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":205661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:55:56] local.INFO: TCP Data received {"connection_id":204217,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:55:56] local.INFO: Processing buffer {"connection_id":204217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:55:56] local.INFO: IMEI packet received {"connection_id":204217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":204217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:56:00] local.INFO: TCP Data received {"connection_id":207223,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207223,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:56:00] local.INFO: Processing buffer {"connection_id":207223,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:56:00] local.INFO: IMEI packet received {"connection_id":207223,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":207223,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:56:01] local.INFO: TCP Data received {"connection_id":204217,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:56:01] local.INFO: Processing buffer {"connection_id":204217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:56:01] local.INFO: IMEI packet received {"connection_id":204217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":204217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:56:01] local.INFO: TCP Data received {"connection_id":204217,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10972e880012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10972e880012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:56:01] local.INFO: Processing buffer {"connection_id":204217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10972e880012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:56:01] local.INFO: Packet analysis {"connection_id":204217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:56:01] local.INFO: Extracted packet for processing {"connection_id":204217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:56:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536854272001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:56: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-10-05 05:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791159888000,"timestamp_ms":1791159888000,"timestamp_seconds":1791159888,"priority":1,"record_length":96,"hex_timestamp":"000001a10972e880"} 
[2026-10-05 05:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:56:01] 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-10-05 05: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":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:56: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-10-05 05: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-10-05 05:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:56: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-10-05 05:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536854272001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536854272001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:56:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:56:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536854272001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":204217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:56:01] local.INFO: GPS data processed {"connection_id":204217,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:56:01] local.INFO: Acknowledgment sent {"connection_id":204217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:56:05] local.INFO: TCP Data received {"connection_id":207223,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207223,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:56:05] local.INFO: Processing buffer {"connection_id":207223,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:56:05] local.INFO: IMEI packet received {"connection_id":207223,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":207223,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:56:06] local.INFO: TCP Data received {"connection_id":207223,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10972a618012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10972a618012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:56:06] local.INFO: Processing buffer {"connection_id":207223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10972a618012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:56:06] local.INFO: Packet analysis {"connection_id":207223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:56:06] local.INFO: Extracted packet for processing {"connection_id":207223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:56:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536849920001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791159871000,"timestamp_ms":1791159871000,"timestamp_seconds":1791159871,"priority":1,"record_length":96,"hex_timestamp":"000001a10972a618"} 
[2026-10-05 05:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:56:06] 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-10-05 05:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:56: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-10-05 05:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536849920001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536849920001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:56:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:56:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536849920001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":207223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:56:06] local.INFO: GPS data processed {"connection_id":207223,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:56:06] local.INFO: Acknowledgment sent {"connection_id":207223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:56:32] local.INFO: TCP Data received {"connection_id":204217,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10972e880012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10972e880012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:56:32] local.INFO: Processing buffer {"connection_id":204217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10972e880012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:56:32] local.INFO: Packet analysis {"connection_id":204217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:56:32] local.INFO: Extracted packet for processing {"connection_id":204217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536854272001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:56: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-10-05 05:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791159888000,"timestamp_ms":1791159888000,"timestamp_seconds":1791159888,"priority":1,"record_length":96,"hex_timestamp":"000001a10972e880"} 
[2026-10-05 05:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:56:32] 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-10-05 05:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:56: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-10-05 05:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:56: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-10-05 05:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536854272001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536854272001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:56:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:56:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536854272001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":204217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:56:32] local.INFO: GPS data processed {"connection_id":204217,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:56:32] local.INFO: Acknowledgment sent {"connection_id":204217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:56:36] local.INFO: TCP Data received {"connection_id":207223,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10972a618012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10972a618012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:56:36] local.INFO: Processing buffer {"connection_id":207223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10972a618012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:56:36] local.INFO: Packet analysis {"connection_id":207223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:56:36] local.INFO: Extracted packet for processing {"connection_id":207223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:56:36] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536849920001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791159871000,"timestamp_ms":1791159871000,"timestamp_seconds":1791159871,"priority":1,"record_length":96,"hex_timestamp":"000001a10972a618"} 
[2026-10-05 05:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:56:36] 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-10-05 05: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-10-05 05:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:56: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-10-05 05:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536849920001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536849920001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:56:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:56:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536849920001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":207223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:56:36] local.INFO: GPS data processed {"connection_id":207223,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:56:36] local.INFO: Acknowledgment sent {"connection_id":207223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:56:56] local.INFO: TCP Data received {"connection_id":204218,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:56:56] local.INFO: Processing buffer {"connection_id":204218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:56:56] local.INFO: IMEI packet received {"connection_id":204218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":204218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:57:00] local.INFO: TCP Data received {"connection_id":205663,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:57:00] local.INFO: Processing buffer {"connection_id":205663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:57:00] local.INFO: IMEI packet received {"connection_id":205663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":205663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:57:01] local.INFO: TCP Data received {"connection_id":204218,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:57:01] local.INFO: Processing buffer {"connection_id":204218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:57:01] local.INFO: IMEI packet received {"connection_id":204218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":204218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:57:02] local.INFO: TCP Data received {"connection_id":204218,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10972e880012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10972e880012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:57:02] local.INFO: Processing buffer {"connection_id":204218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10972e880012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:57:02] local.INFO: Packet analysis {"connection_id":204218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:57:02] local.INFO: Extracted packet for processing {"connection_id":204218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:57:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536854272001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:57:02] 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-10-05 05:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791159888000,"timestamp_ms":1791159888000,"timestamp_seconds":1791159888,"priority":1,"record_length":96,"hex_timestamp":"000001a10972e880"} 
[2026-10-05 05:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:57: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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:57: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-10-05 05: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-10-05 05:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:57: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-10-05 05:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536854272001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536854272001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:57:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:57:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536854272001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":204218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:57:02] local.INFO: GPS data processed {"connection_id":204218,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:57:02] local.INFO: Acknowledgment sent {"connection_id":204218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:57:05] local.INFO: TCP Data received {"connection_id":205663,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:57:05] local.INFO: Processing buffer {"connection_id":205663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:57:05] local.INFO: IMEI packet received {"connection_id":205663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":205663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:57:05] local.INFO: TCP Data received {"connection_id":205663,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10972a618012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10972a618012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:57:05] local.INFO: Processing buffer {"connection_id":205663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10972a618012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:57:05] local.INFO: Packet analysis {"connection_id":205663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:57:05] local.INFO: Extracted packet for processing {"connection_id":205663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:57:05] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536849920001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791159871000,"timestamp_ms":1791159871000,"timestamp_seconds":1791159871,"priority":1,"record_length":96,"hex_timestamp":"000001a10972a618"} 
[2026-10-05 05:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:57:05] 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-10-05 05: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-10-05 05:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:57: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-10-05 05:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536849920001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536849920001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:57:05] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:57:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536849920001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":205663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:57:05] local.INFO: GPS data processed {"connection_id":205663,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:57:05] local.INFO: Acknowledgment sent {"connection_id":205663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:57:34] local.INFO: TCP Data received {"connection_id":204218,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10972e880012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10972e880012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:57:34] local.INFO: Processing buffer {"connection_id":204218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10972e880012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:57:34] local.INFO: Packet analysis {"connection_id":204218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:57:34] local.INFO: Extracted packet for processing {"connection_id":204218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:57:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536854272001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:57:34] 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-10-05 05:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791159888000,"timestamp_ms":1791159888000,"timestamp_seconds":1791159888,"priority":1,"record_length":96,"hex_timestamp":"000001a10972e880"} 
[2026-10-05 05:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:57:34] 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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:57:34] 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-10-05 05: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-10-05 05:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":204218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":204218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":204218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 05:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536854272001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536854272001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:57:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:57:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536854272001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":204218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:57:35] local.INFO: GPS data processed {"connection_id":204218,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:57:35] local.INFO: Acknowledgment sent {"connection_id":204218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:57:36] local.INFO: TCP Data received {"connection_id":205663,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10972a618012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10972a618012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:57:36] local.INFO: Processing buffer {"connection_id":205663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10972a618012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:57:36] local.INFO: Packet analysis {"connection_id":205663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:57:36] local.INFO: Extracted packet for processing {"connection_id":205663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:57:36] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536849920001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791159871000,"timestamp_ms":1791159871000,"timestamp_seconds":1791159871,"priority":1,"record_length":96,"hex_timestamp":"000001a10972a618"} 
[2026-10-05 05:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:57:36] 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-10-05 05:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:57: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-10-05 05:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536849920001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536849920001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:57:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:57:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536849920001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":205663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:57:36] local.INFO: GPS data processed {"connection_id":205663,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:57:36] local.INFO: Acknowledgment sent {"connection_id":205663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:57:56] local.INFO: TCP Data received {"connection_id":204220,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:57:56] local.INFO: Processing buffer {"connection_id":204220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:57:56] local.INFO: IMEI packet received {"connection_id":204220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":204220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:58:00] local.INFO: TCP Data received {"connection_id":207224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207224,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:58:00] local.INFO: Processing buffer {"connection_id":207224,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:58:00] local.INFO: IMEI packet received {"connection_id":207224,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":207224,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:58:02] local.INFO: TCP Data received {"connection_id":204220,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:58:02] local.INFO: Processing buffer {"connection_id":204220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:58:02] local.INFO: IMEI packet received {"connection_id":204220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":204220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:58:02] local.INFO: TCP Data received {"connection_id":204220,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10972e880012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10972e880012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:58:02] local.INFO: Processing buffer {"connection_id":204220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10972e880012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:58:02] local.INFO: Packet analysis {"connection_id":204220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:58:02] local.INFO: Extracted packet for processing {"connection_id":204220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:58:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536854272001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:58:02] 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-10-05 05:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791159888000,"timestamp_ms":1791159888000,"timestamp_seconds":1791159888,"priority":1,"record_length":96,"hex_timestamp":"000001a10972e880"} 
[2026-10-05 05:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:58: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-10-05 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:58: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-10-05 05: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-10-05 05:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:58: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-10-05 05:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536854272001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536854272001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:58:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:58:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536854272001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":204220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:58:02] local.INFO: GPS data processed {"connection_id":204220,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:58:02] local.INFO: Acknowledgment sent {"connection_id":204220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:58:05] local.INFO: TCP Data received {"connection_id":207224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207224,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:58:05] local.INFO: Processing buffer {"connection_id":207224,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:58:05] local.INFO: IMEI packet received {"connection_id":207224,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":207224,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:58:06] local.INFO: TCP Data received {"connection_id":207224,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10972a618012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10972a618012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:58:06] local.INFO: Processing buffer {"connection_id":207224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10972a618012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:58:06] local.INFO: Packet analysis {"connection_id":207224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:58:06] local.INFO: Extracted packet for processing {"connection_id":207224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:58:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536849920001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791159871000,"timestamp_ms":1791159871000,"timestamp_seconds":1791159871,"priority":1,"record_length":96,"hex_timestamp":"000001a10972a618"} 
[2026-10-05 05:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:58:06] 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-10-05 05: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-10-05 05:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:58: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-10-05 05:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536849920001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536849920001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:58:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:58:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536849920001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":207224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:58:06] local.INFO: GPS data processed {"connection_id":207224,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:58:06] local.INFO: Acknowledgment sent {"connection_id":207224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:58:34] local.INFO: TCP Data received {"connection_id":204220,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10972e880012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10972e880012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:58:34] local.INFO: Processing buffer {"connection_id":204220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10972e880012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:58:34] local.INFO: Packet analysis {"connection_id":204220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:58:34] local.INFO: Extracted packet for processing {"connection_id":204220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:58:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536854272001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:58:34] 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-10-05 05:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791159888000,"timestamp_ms":1791159888000,"timestamp_seconds":1791159888,"priority":1,"record_length":96,"hex_timestamp":"000001a10972e880"} 
[2026-10-05 05:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:58:34] 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-10-05 05:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:58:34] 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-10-05 05:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":204220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":204220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":204220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:58: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-10-05 05:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536854272001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536854272001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:58:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:58:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536854272001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":204220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:58:34] local.INFO: GPS data processed {"connection_id":204220,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:58:34] local.INFO: Acknowledgment sent {"connection_id":204220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:58:37] local.INFO: TCP Data received {"connection_id":207224,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10972a618012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10972a618012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:58:37] local.INFO: Processing buffer {"connection_id":207224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10972a618012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:58:37] local.INFO: Packet analysis {"connection_id":207224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:58:37] local.INFO: Extracted packet for processing {"connection_id":207224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:58:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05: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-10-05 05:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536849920001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791159871000,"timestamp_ms":1791159871000,"timestamp_seconds":1791159871,"priority":1,"record_length":96,"hex_timestamp":"000001a10972a618"} 
[2026-10-05 05:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:58:37] 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-10-05 05: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-10-05 05:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:58: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-10-05 05:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536849920001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536849920001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:58:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:58:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536849920001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":207224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:58:37] local.INFO: GPS data processed {"connection_id":207224,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:58:37] local.INFO: Acknowledgment sent {"connection_id":207224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:58:55] local.INFO: TCP Data received {"connection_id":205664,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:58:55] local.INFO: Processing buffer {"connection_id":205664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:58:55] local.INFO: IMEI packet received {"connection_id":205664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":205664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:59:00] local.INFO: TCP Data received {"connection_id":205665,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:59:00] local.INFO: Processing buffer {"connection_id":205665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:59:00] local.INFO: IMEI packet received {"connection_id":205665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 05:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":205665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 05:59:01] local.INFO: TCP Data received {"connection_id":205664,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:59:01] local.INFO: Processing buffer {"connection_id":205664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:59:01] local.INFO: IMEI packet received {"connection_id":205664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 05:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":205664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:59:01] local.INFO: TCP Data received {"connection_id":205664,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10972e880012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10972e880012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:59:01] local.INFO: Processing buffer {"connection_id":205664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10972e880012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:59:01] local.INFO: Packet analysis {"connection_id":205664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:59:01] local.INFO: Extracted packet for processing {"connection_id":205664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536854272001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:59: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-10-05 05:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791159888000,"timestamp_ms":1791159888000,"timestamp_seconds":1791159888,"priority":1,"record_length":96,"hex_timestamp":"000001a10972e880"} 
[2026-10-05 05:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:59:01] 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-10-05 05:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:59: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-10-05 05:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:59: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-10-05 05:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536854272001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536854272001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:59:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:59:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536854272001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":205664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:59:02] local.INFO: GPS data processed {"connection_id":205664,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:59:02] local.INFO: Acknowledgment sent {"connection_id":205664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:59:05] local.INFO: TCP Data received {"connection_id":205665,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:59:05] local.INFO: Processing buffer {"connection_id":205665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 05:59:05] local.INFO: IMEI packet received {"connection_id":205665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 05:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":205665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 05:59:05] local.INFO: TCP Data received {"connection_id":205665,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10972a618012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10972a618012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:59:05] local.INFO: Processing buffer {"connection_id":205665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10972a618012d7c2ac005dac8a0000600bf1e..."} 
[2026-10-05 05:59:05] local.INFO: Packet analysis {"connection_id":205665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:59:05] local.INFO: Extracted packet for processing {"connection_id":205665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:59:05] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":6,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536849920001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791159871000,"timestamp_ms":1791159871000,"timestamp_seconds":1791159871,"priority":1,"record_length":96,"hex_timestamp":"000001a10972a618"} 
[2026-10-05 05:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 05:59:05] 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-10-05 05:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:59: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-10-05 05:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536849920001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536849920001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:59:05] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:59:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536849920001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":205665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:59:05] local.INFO: GPS data processed {"connection_id":205665,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:59:05] local.INFO: Acknowledgment sent {"connection_id":205665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:59:32] local.INFO: TCP Data received {"connection_id":205664,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10972e880012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10972e880012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:59:32] local.INFO: Processing buffer {"connection_id":205664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10972e880012d7f91c005afd9f00005010121..."} 
[2026-10-05 05:59:32] local.INFO: Packet analysis {"connection_id":205664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:59:32] local.INFO: Extracted packet for processing {"connection_id":205664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 05:59:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 05:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536854272001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 05:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 05:59: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-10-05 05:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791159888000,"timestamp_ms":1791159888000,"timestamp_seconds":1791159888,"priority":1,"record_length":96,"hex_timestamp":"000001a10972e880"} 
[2026-10-05 05:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:59:32] 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-10-05 05:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 05:59: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-10-05 05:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 05:59: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-10-05 05:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 05:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 05:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536854272001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 05:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 05:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 05:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536854272001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:59:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 05:59:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 05:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 05:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536854272001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 05:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":205664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:59:33] local.INFO: GPS data processed {"connection_id":205664,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:59:33] local.INFO: Acknowledgment sent {"connection_id":205664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:59:37] local.INFO: TCP Data received {"connection_id":205665,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 05:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 05:59:37] local.INFO: Processing buffer {"connection_id":205665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 05:59:37] local.INFO: Packet analysis {"connection_id":205665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 05:59:37] local.INFO: Extracted packet for processing {"connection_id":205665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 05:59:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":32,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 05:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 05:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536926976001,"note":"Value kept but may cause issues"} 
[2026-10-05 05:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 05:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 05:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 05:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791160172000,"timestamp_ms":1791160172000,"timestamp_seconds":1791160172,"priority":1,"record_length":96,"hex_timestamp":"000001a109773de0"} 
[2026-10-05 05:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 05:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 05:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 05:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 05:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 05:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 05:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 05:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 05:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 05:59: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-10-05 05:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 05:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 05:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536926976001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 05:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 05:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 05:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536926976001,"description":"Unknown IO ID 0"} 
[2026-10-05 05:59:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 05:59:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 05:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 05:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 05:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536926976001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 05:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":205665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 05:59:37] local.INFO: GPS data processed {"connection_id":205665,"processed":1,"errors":0,"total":1} 
[2026-10-05 05:59:37] local.INFO: Acknowledgment sent {"connection_id":205665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 05:59:55] local.INFO: TCP Data received {"connection_id":205666,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:59:55] local.INFO: Processing buffer {"connection_id":205666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 05:59:55] local.INFO: IMEI packet received {"connection_id":205666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 05:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":205666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:00:00] local.INFO: TCP Data received {"connection_id":204129,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:00:00] local.INFO: Processing buffer {"connection_id":204129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:00:00] local.INFO: IMEI packet received {"connection_id":204129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":204129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:00:01] local.INFO: TCP Data received {"connection_id":205666,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:00:01] local.INFO: Processing buffer {"connection_id":205666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:00:01] local.INFO: IMEI packet received {"connection_id":205666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":205666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:00:01] local.INFO: TCP Data received {"connection_id":205666,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10972e880012d7f91c005afd9f00005010121..."} 
[2026-10-05 06:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10972e880012d7f91c005afd9f00005010121..."} 
[2026-10-05 06:00:01] local.INFO: Processing buffer {"connection_id":205666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10972e880012d7f91c005afd9f00005010121..."} 
[2026-10-05 06:00:01] local.INFO: Packet analysis {"connection_id":205666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 06:00:01] local.INFO: Extracted packet for processing {"connection_id":205666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10972"} 
[2026-10-05 06:00:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 06:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536854272001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:00: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-10-05 06:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791159888000,"timestamp_ms":1791159888000,"timestamp_seconds":1791159888,"priority":1,"record_length":96,"hex_timestamp":"000001a10972e880"} 
[2026-10-05 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-10-05 06:00:01] 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-10-05 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:00: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-10-05 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-10-05 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-10-05 06:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:00: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-10-05 06:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536854272001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536854272001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:00:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 06:00:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536854272001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":205666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:00:01] local.INFO: GPS data processed {"connection_id":205666,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:00:01] local.INFO: Acknowledgment sent {"connection_id":205666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:00:05] local.INFO: TCP Data received {"connection_id":204129,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:00:05] local.INFO: Processing buffer {"connection_id":204129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:00:05] local.INFO: IMEI packet received {"connection_id":204129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":204129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:00:06] local.INFO: TCP Data received {"connection_id":204129,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 06:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 06:00:06] local.INFO: Processing buffer {"connection_id":204129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 06:00:06] local.INFO: Packet analysis {"connection_id":204129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:00:06] local.INFO: Extracted packet for processing {"connection_id":204129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":32,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536926976001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791160172000,"timestamp_ms":1791160172000,"timestamp_seconds":1791160172,"priority":1,"record_length":96,"hex_timestamp":"000001a109773de0"} 
[2026-10-05 06:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 06:00:06] 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-10-05 06:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:00: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-10-05 06:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536926976001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536926976001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:00:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:00:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536926976001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":204129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:00:06] local.INFO: GPS data processed {"connection_id":204129,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:00:06] local.INFO: Acknowledgment sent {"connection_id":204129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:00:33] local.INFO: TCP Data received {"connection_id":205666,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:00:33] local.INFO: Processing buffer {"connection_id":205666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:00:33] local.INFO: Packet analysis {"connection_id":205666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:00:33] local.INFO: Extracted packet for processing {"connection_id":205666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536931328001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:00: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-10-05 06:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791160189000,"timestamp_ms":1791160189000,"timestamp_seconds":1791160189,"priority":1,"record_length":96,"hex_timestamp":"000001a109778048"} 
[2026-10-05 06:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:00:33] 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-10-05 06:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:00:33] 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-10-05 06:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536931328001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536931328001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:00:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:00:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536931328001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":205666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:00:33] local.INFO: GPS data processed {"connection_id":205666,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:00:33] local.INFO: Acknowledgment sent {"connection_id":205666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:00:37] local.INFO: TCP Data received {"connection_id":204129,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 06:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 06:00:37] local.INFO: Processing buffer {"connection_id":204129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 06:00:37] local.INFO: Packet analysis {"connection_id":204129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:00:37] local.INFO: Extracted packet for processing {"connection_id":204129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:00:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":32,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536926976001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791160172000,"timestamp_ms":1791160172000,"timestamp_seconds":1791160172,"priority":1,"record_length":96,"hex_timestamp":"000001a109773de0"} 
[2026-10-05 06:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 06:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 06:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:00: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-10-05 06:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536926976001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536926976001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:00:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:00:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536926976001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":204129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:00:37] local.INFO: GPS data processed {"connection_id":204129,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:00:37] local.INFO: Acknowledgment sent {"connection_id":204129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:01:01] local.INFO: TCP Data received {"connection_id":207225,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:01:01] local.INFO: Processing buffer {"connection_id":207225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:01:01] local.INFO: IMEI packet received {"connection_id":207225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":207225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:01:05] local.INFO: TCP Data received {"connection_id":204130,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204130,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:01:05] local.INFO: Processing buffer {"connection_id":204130,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:01:05] local.INFO: IMEI packet received {"connection_id":204130,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":204130,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:01:06] local.INFO: TCP Data received {"connection_id":207225,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:01:06] local.INFO: Processing buffer {"connection_id":207225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:01:06] local.INFO: IMEI packet received {"connection_id":207225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":207225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:01:07] local.INFO: TCP Data received {"connection_id":207225,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:01:07] local.INFO: Processing buffer {"connection_id":207225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:01:07] local.INFO: Packet analysis {"connection_id":207225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:01:07] local.INFO: Extracted packet for processing {"connection_id":207225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:01:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536931328001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:01: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-10-05 06:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791160189000,"timestamp_ms":1791160189000,"timestamp_seconds":1791160189,"priority":1,"record_length":96,"hex_timestamp":"000001a109778048"} 
[2026-10-05 06:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:01: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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:01:07] 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-10-05 06: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-10-05 06:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536931328001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536931328001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:01:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:01:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536931328001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":207225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:01:07] local.INFO: GPS data processed {"connection_id":207225,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:01:07] local.INFO: Acknowledgment sent {"connection_id":207225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:01:07] local.INFO: TCP Data received {"connection_id":204222,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:01:07] local.INFO: Processing buffer {"connection_id":204222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:01:07] local.INFO: IMEI packet received {"connection_id":204222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 06:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":204222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:01:10] local.INFO: TCP Data received {"connection_id":204130,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204130,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:01:10] local.INFO: Processing buffer {"connection_id":204130,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:01:10] local.INFO: IMEI packet received {"connection_id":204130,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":204130,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:01:10] local.INFO: TCP Data received {"connection_id":204130,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 06:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 06:01:10] local.INFO: Processing buffer {"connection_id":204130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 06:01:10] local.INFO: Packet analysis {"connection_id":204130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:01:10] local.INFO: Extracted packet for processing {"connection_id":204130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:01:10] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":32,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536926976001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791160172000,"timestamp_ms":1791160172000,"timestamp_seconds":1791160172,"priority":1,"record_length":96,"hex_timestamp":"000001a109773de0"} 
[2026-10-05 06:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 06:01:10] 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-10-05 06:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:01: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-10-05 06:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536926976001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536926976001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:01:10] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536926976001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":204130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:01:11] local.INFO: GPS data processed {"connection_id":204130,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:01:11] local.INFO: Acknowledgment sent {"connection_id":204130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:01:15] local.INFO: TCP Data received {"connection_id":204130,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 06:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 06:01:15] local.INFO: Processing buffer {"connection_id":204130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 06:01:15] local.INFO: Packet analysis {"connection_id":204130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:01:15] local.INFO: Extracted packet for processing {"connection_id":204130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:01:15] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":32,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536926976001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791160172000,"timestamp_ms":1791160172000,"timestamp_seconds":1791160172,"priority":1,"record_length":96,"hex_timestamp":"000001a109773de0"} 
[2026-10-05 06:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 06:01:15] 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-10-05 06:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:01: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-10-05 06:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536926976001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536926976001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:01:15] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:01:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536926976001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":204130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965636,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:01:15] local.INFO: GPS data processed {"connection_id":204130,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:01:15] local.INFO: Acknowledgment sent {"connection_id":204130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:01:38] local.INFO: TCP Data received {"connection_id":207225,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:01:38] local.INFO: Processing buffer {"connection_id":207225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:01:38] local.INFO: Packet analysis {"connection_id":207225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:01:38] local.INFO: Extracted packet for processing {"connection_id":207225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:01:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:01: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-10-05 06:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536931328001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791160189000,"timestamp_ms":1791160189000,"timestamp_seconds":1791160189,"priority":1,"record_length":96,"hex_timestamp":"000001a109778048"} 
[2026-10-05 06:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:01:38] 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-10-05 06:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:01:38] 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-10-05 06:01: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-10-05 06:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536931328001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536931328001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:01:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:01:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536931328001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":207225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:01:38] local.INFO: GPS data processed {"connection_id":207225,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:01:38] local.INFO: Acknowledgment sent {"connection_id":207225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:01:44] local.INFO: TCP Data received {"connection_id":204223,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:01:44] local.INFO: Processing buffer {"connection_id":204223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:01:44] local.INFO: IMEI packet received {"connection_id":204223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 06:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":204223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:01:56] local.INFO: TCP Data received {"connection_id":207226,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:01:56] local.INFO: Processing buffer {"connection_id":207226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:01:56] local.INFO: IMEI packet received {"connection_id":207226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":207226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:02:00] local.INFO: TCP Data received {"connection_id":204131,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:02:00] local.INFO: Processing buffer {"connection_id":204131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:02:00] local.INFO: IMEI packet received {"connection_id":204131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":204131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:02:01] local.INFO: TCP Data received {"connection_id":207226,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:02:01] local.INFO: Processing buffer {"connection_id":207226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:02:01] local.INFO: IMEI packet received {"connection_id":207226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":207226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:02:01] local.INFO: TCP Data received {"connection_id":207226,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:02:01] local.INFO: Processing buffer {"connection_id":207226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:02:01] local.INFO: Packet analysis {"connection_id":207226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:02:01] local.INFO: Extracted packet for processing {"connection_id":207226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:02:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536931328001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:02: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-10-05 06:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791160189000,"timestamp_ms":1791160189000,"timestamp_seconds":1791160189,"priority":1,"record_length":96,"hex_timestamp":"000001a109778048"} 
[2026-10-05 06:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:02:01] 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-10-05 06:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:02: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-10-05 06:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:02: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-10-05 06:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536931328001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536931328001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:02:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:02:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536931328001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":207226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:02:01] local.INFO: GPS data processed {"connection_id":207226,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:02:01] local.INFO: Acknowledgment sent {"connection_id":207226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:02:05] local.INFO: TCP Data received {"connection_id":204131,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:02:05] local.INFO: Processing buffer {"connection_id":204131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:02:05] local.INFO: IMEI packet received {"connection_id":204131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":204131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:02:06] local.INFO: TCP Data received {"connection_id":204131,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 06:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 06:02:06] local.INFO: Processing buffer {"connection_id":204131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 06:02:06] local.INFO: Packet analysis {"connection_id":204131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:02:06] local.INFO: Extracted packet for processing {"connection_id":204131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:02:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":32,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536926976001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791160172000,"timestamp_ms":1791160172000,"timestamp_seconds":1791160172,"priority":1,"record_length":96,"hex_timestamp":"000001a109773de0"} 
[2026-10-05 06:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 06:02:06] 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-10-05 06:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:02: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-10-05 06:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536926976001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536926976001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:02:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:02:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536926976001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":204131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:02:06] local.INFO: GPS data processed {"connection_id":204131,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:02:06] local.INFO: Acknowledgment sent {"connection_id":204131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:02:32] local.INFO: TCP Data received {"connection_id":207226,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:02:32] local.INFO: Processing buffer {"connection_id":207226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:02:32] local.INFO: Packet analysis {"connection_id":207226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:02:32] local.INFO: Extracted packet for processing {"connection_id":207226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:02:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536931328001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:02: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-10-05 06:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791160189000,"timestamp_ms":1791160189000,"timestamp_seconds":1791160189,"priority":1,"record_length":96,"hex_timestamp":"000001a109778048"} 
[2026-10-05 06:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:02:32] 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-10-05 06:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:02: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-10-05 06:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:02: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-10-05 06:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536931328001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536931328001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:02:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:02:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536931328001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":207226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:02:33] local.INFO: GPS data processed {"connection_id":207226,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:02:33] local.INFO: Acknowledgment sent {"connection_id":207226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:02:38] local.INFO: TCP Data received {"connection_id":204131,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 06:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 06:02:38] local.INFO: Processing buffer {"connection_id":204131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 06:02:38] local.INFO: Packet analysis {"connection_id":204131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:02:38] local.INFO: Extracted packet for processing {"connection_id":204131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:02:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":32,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536926976001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791160172000,"timestamp_ms":1791160172000,"timestamp_seconds":1791160172,"priority":1,"record_length":96,"hex_timestamp":"000001a109773de0"} 
[2026-10-05 06:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 06:02:38] 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-10-05 06:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:02: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-10-05 06:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536926976001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536926976001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:02:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:02:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536926976001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":204131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:02:38] local.INFO: GPS data processed {"connection_id":204131,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:02:38] local.INFO: Acknowledgment sent {"connection_id":204131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:02:56] local.INFO: TCP Data received {"connection_id":207227,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:02:56] local.INFO: Processing buffer {"connection_id":207227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:02:56] local.INFO: IMEI packet received {"connection_id":207227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":207227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:03:00] local.INFO: TCP Data received {"connection_id":204225,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:03:00] local.INFO: Processing buffer {"connection_id":204225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:03:00] local.INFO: IMEI packet received {"connection_id":204225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":204225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:03:01] local.INFO: TCP Data received {"connection_id":207227,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:03:01] local.INFO: Processing buffer {"connection_id":207227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:03:01] local.INFO: IMEI packet received {"connection_id":207227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":207227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:03:02] local.INFO: TCP Data received {"connection_id":207227,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:03:02] local.INFO: Processing buffer {"connection_id":207227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:03:02] local.INFO: Packet analysis {"connection_id":207227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:03:02] local.INFO: Extracted packet for processing {"connection_id":207227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:03:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536931328001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:03: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-10-05 06:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791160189000,"timestamp_ms":1791160189000,"timestamp_seconds":1791160189,"priority":1,"record_length":96,"hex_timestamp":"000001a109778048"} 
[2026-10-05 06:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:03: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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:03: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-10-05 06: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-10-05 06:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536931328001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536931328001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:03:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:03:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536931328001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":207227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:03:02] local.INFO: GPS data processed {"connection_id":207227,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:03:02] local.INFO: Acknowledgment sent {"connection_id":207227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:03:05] local.INFO: TCP Data received {"connection_id":204225,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:03:05] local.INFO: Processing buffer {"connection_id":204225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:03:05] local.INFO: IMEI packet received {"connection_id":204225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":204225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:03:05] local.INFO: TCP Data received {"connection_id":204225,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 06:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 06:03:05] local.INFO: Processing buffer {"connection_id":204225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 06:03:05] local.INFO: Packet analysis {"connection_id":204225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:03:05] local.INFO: Extracted packet for processing {"connection_id":204225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:03:05] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":32,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536926976001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791160172000,"timestamp_ms":1791160172000,"timestamp_seconds":1791160172,"priority":1,"record_length":96,"hex_timestamp":"000001a109773de0"} 
[2026-10-05 06:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 06:03:05] 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-10-05 06:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:03: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-10-05 06:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536926976001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536926976001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:03:05] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:03:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536926976001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":204225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:03:05] local.INFO: GPS data processed {"connection_id":204225,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:03:05] local.INFO: Acknowledgment sent {"connection_id":204225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:03:33] local.INFO: TCP Data received {"connection_id":207227,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:03:33] local.INFO: Processing buffer {"connection_id":207227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:03:33] local.INFO: Packet analysis {"connection_id":207227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:03:33] local.INFO: Extracted packet for processing {"connection_id":207227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536931328001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:03: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-10-05 06:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791160189000,"timestamp_ms":1791160189000,"timestamp_seconds":1791160189,"priority":1,"record_length":96,"hex_timestamp":"000001a109778048"} 
[2026-10-05 06:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:03:33] 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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:03:33] 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-10-05 06: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-10-05 06:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:03: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-10-05 06:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536931328001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536931328001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:03:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:03:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536931328001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":207227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:03:33] local.INFO: GPS data processed {"connection_id":207227,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:03:33] local.INFO: Acknowledgment sent {"connection_id":207227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:03:36] local.INFO: TCP Data received {"connection_id":204225,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 06:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 06:03:36] local.INFO: Processing buffer {"connection_id":204225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 06:03:36] local.INFO: Packet analysis {"connection_id":204225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:03:36] local.INFO: Extracted packet for processing {"connection_id":204225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:03:36] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":32,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536926976001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791160172000,"timestamp_ms":1791160172000,"timestamp_seconds":1791160172,"priority":1,"record_length":96,"hex_timestamp":"000001a109773de0"} 
[2026-10-05 06:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 06:03:36] 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-10-05 06:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:03: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-10-05 06:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536926976001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536926976001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:03:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:03:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536926976001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":204225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965645,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:03:36] local.INFO: GPS data processed {"connection_id":204225,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:03:36] local.INFO: Acknowledgment sent {"connection_id":204225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:03:55] local.INFO: TCP Data received {"connection_id":205667,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:03:55] local.INFO: Processing buffer {"connection_id":205667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:03:55] local.INFO: IMEI packet received {"connection_id":205667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":205667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:04:00] local.INFO: TCP Data received {"connection_id":204226,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:04:00] local.INFO: Processing buffer {"connection_id":204226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:04:00] local.INFO: IMEI packet received {"connection_id":204226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":204226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:04:01] local.INFO: TCP Data received {"connection_id":205667,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:04:01] local.INFO: Processing buffer {"connection_id":205667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:04:01] local.INFO: IMEI packet received {"connection_id":205667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":205667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:04:01] local.INFO: TCP Data received {"connection_id":205667,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:04:01] local.INFO: Processing buffer {"connection_id":205667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:04:01] local.INFO: Packet analysis {"connection_id":205667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:04:01] local.INFO: Extracted packet for processing {"connection_id":205667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:04:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536931328001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791160189000,"timestamp_ms":1791160189000,"timestamp_seconds":1791160189,"priority":1,"record_length":96,"hex_timestamp":"000001a109778048"} 
[2026-10-05 06:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:04:01] 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-10-05 06: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":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:04: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-10-05 06: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-10-05 06:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06: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-10-05 06:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536931328001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536931328001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:04:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:04:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536931328001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":205667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:04:01] local.INFO: GPS data processed {"connection_id":205667,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:04:01] local.INFO: Acknowledgment sent {"connection_id":205667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:04:05] local.INFO: TCP Data received {"connection_id":204226,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:04:05] local.INFO: Processing buffer {"connection_id":204226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:04:05] local.INFO: IMEI packet received {"connection_id":204226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":204226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:04:06] local.INFO: TCP Data received {"connection_id":204226,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 06:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 06:04:06] local.INFO: Processing buffer {"connection_id":204226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109773de0012d7c2ac005dac8a0000000bf20..."} 
[2026-10-05 06:04:06] local.INFO: Packet analysis {"connection_id":204226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:04:06] local.INFO: Extracted packet for processing {"connection_id":204226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:04:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":32,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536926976001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791160172000,"timestamp_ms":1791160172000,"timestamp_seconds":1791160172,"priority":1,"record_length":96,"hex_timestamp":"000001a109773de0"} 
[2026-10-05 06:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 06:04:06] 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-10-05 06:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:04: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-10-05 06:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536926976001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536926976001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:04:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:04:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536926976001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":204226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:04:06] local.INFO: GPS data processed {"connection_id":204226,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:04:06] local.INFO: Acknowledgment sent {"connection_id":204226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:04:33] local.INFO: TCP Data received {"connection_id":205667,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:04:33] local.INFO: Processing buffer {"connection_id":205667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:04:33] local.INFO: Packet analysis {"connection_id":205667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:04:33] local.INFO: Extracted packet for processing {"connection_id":205667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:04: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-10-05 06:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536931328001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:04: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-10-05 06:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791160189000,"timestamp_ms":1791160189000,"timestamp_seconds":1791160189,"priority":1,"record_length":96,"hex_timestamp":"000001a109778048"} 
[2026-10-05 06:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:04:33] 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-10-05 06:04: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":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:04:33] 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-10-05 06:04: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-10-05 06:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:04: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-10-05 06:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536931328001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536931328001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:04:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:04:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536931328001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":205667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:04:34] local.INFO: GPS data processed {"connection_id":205667,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:04:34] local.INFO: Acknowledgment sent {"connection_id":205667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:04:37] local.INFO: TCP Data received {"connection_id":204226,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:04:37] local.INFO: Processing buffer {"connection_id":204226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:04:37] local.INFO: Packet analysis {"connection_id":204226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1097b"} 
[2026-10-05 06:04:37] local.INFO: Extracted packet for processing {"connection_id":204226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1097b"} 
[2026-10-05 06:04:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537004032001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791160473000,"timestamp_ms":1791160473000,"timestamp_seconds":1791160473,"priority":1,"record_length":96,"hex_timestamp":"000001a1097bd5a8"} 
[2026-10-05 06:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 06:04:37] 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-10-05 06:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:04: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-10-05 06:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537004032001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537004032001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:04:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:04:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537004032001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":204226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:04:37] local.INFO: GPS data processed {"connection_id":204226,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:04:37] local.INFO: Acknowledgment sent {"connection_id":204226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:04:55] local.INFO: TCP Data received {"connection_id":207228,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:04:55] local.INFO: Processing buffer {"connection_id":207228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:04:55] local.INFO: IMEI packet received {"connection_id":207228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":207228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:05:00] local.INFO: TCP Data received {"connection_id":204134,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204134,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:05:00] local.INFO: Processing buffer {"connection_id":204134,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:05:00] local.INFO: IMEI packet received {"connection_id":204134,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":204134,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:05:01] local.INFO: TCP Data received {"connection_id":207228,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:05:01] local.INFO: Processing buffer {"connection_id":207228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:05:01] local.INFO: IMEI packet received {"connection_id":207228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":207228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:05:01] local.INFO: TCP Data received {"connection_id":207228,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:05:01] local.INFO: Processing buffer {"connection_id":207228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109778048012d7f91c005afd9f0000801011f..."} 
[2026-10-05 06:05:01] local.INFO: Packet analysis {"connection_id":207228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:05:01] local.INFO: Extracted packet for processing {"connection_id":207228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10977"} 
[2026-10-05 06:05:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 06:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458536931328001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 06:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791160189000,"timestamp_ms":1791160189000,"timestamp_seconds":1791160189,"priority":1,"record_length":96,"hex_timestamp":"000001a109778048"} 
[2026-10-05 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-10-05 06:05:01] 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-10-05 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":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:05: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-10-05 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-10-05 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-10-05 06:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:05: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-10-05 06:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458536931328001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458536931328001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:05:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458536931328001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":207228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:05:01] local.INFO: GPS data processed {"connection_id":207228,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:05:01] local.INFO: Acknowledgment sent {"connection_id":207228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:05:05] local.INFO: TCP Data received {"connection_id":204134,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204134,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:05:05] local.INFO: Processing buffer {"connection_id":204134,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:05:05] local.INFO: IMEI packet received {"connection_id":204134,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":204134,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:05:05] local.INFO: TCP Data received {"connection_id":204134,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:05:06] local.INFO: Processing buffer {"connection_id":204134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:05:06] local.INFO: Packet analysis {"connection_id":204134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1097b"} 
[2026-10-05 06:05:06] local.INFO: Extracted packet for processing {"connection_id":204134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1097b"} 
[2026-10-05 06:05:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537004032001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791160473000,"timestamp_ms":1791160473000,"timestamp_seconds":1791160473,"priority":1,"record_length":96,"hex_timestamp":"000001a1097bd5a8"} 
[2026-10-05 06:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 06:05:06] 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-10-05 06:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:05: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-10-05 06:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537004032001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537004032001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:05:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:05:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537004032001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":204134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965651,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:05:06] local.INFO: GPS data processed {"connection_id":204134,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:05:06] local.INFO: Acknowledgment sent {"connection_id":204134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:05:32] local.INFO: TCP Data received {"connection_id":207228,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:05:32] local.INFO: Processing buffer {"connection_id":207228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:05:32] local.INFO: Packet analysis {"connection_id":207228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1097c"} 
[2026-10-05 06:05:32] local.INFO: Extracted packet for processing {"connection_id":207228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1097c"} 
[2026-10-05 06:05:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:05: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-10-05 06:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537008384001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:05: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-10-05 06:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791160490000,"timestamp_ms":1791160490000,"timestamp_seconds":1791160490,"priority":1,"record_length":96,"hex_timestamp":"000001a1097c1810"} 
[2026-10-05 06:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:05:32] 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-10-05 06:05: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-10-05 06:05: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-10-05 06:05: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-10-05 06:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:05: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-10-05 06:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537008384001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537008384001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:05:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:05:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537008384001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":207228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:05:32] local.INFO: GPS data processed {"connection_id":207228,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:05:32] local.INFO: Acknowledgment sent {"connection_id":207228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:05:36] local.INFO: TCP Data received {"connection_id":204134,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:05:36] local.INFO: Processing buffer {"connection_id":204134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:05:36] local.INFO: Packet analysis {"connection_id":204134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1097b"} 
[2026-10-05 06:05:36] local.INFO: Extracted packet for processing {"connection_id":204134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1097b"} 
[2026-10-05 06:05:36] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537004032001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791160473000,"timestamp_ms":1791160473000,"timestamp_seconds":1791160473,"priority":1,"record_length":96,"hex_timestamp":"000001a1097bd5a8"} 
[2026-10-05 06:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 06:05:36] 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-10-05 06:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:05: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-10-05 06:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537004032001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537004032001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:05:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:05:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537004032001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":204134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:05:36] local.INFO: GPS data processed {"connection_id":204134,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:05:36] local.INFO: Acknowledgment sent {"connection_id":204134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:06:00] local.INFO: TCP Data received {"connection_id":204228,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:06:00] local.INFO: Processing buffer {"connection_id":204228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:06:00] local.INFO: IMEI packet received {"connection_id":204228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":204228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:06:01] local.INFO: TCP Data received {"connection_id":205668,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:06:01] local.INFO: Processing buffer {"connection_id":205668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:06:01] local.INFO: IMEI packet received {"connection_id":205668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":205668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:06:05] local.INFO: TCP Data received {"connection_id":204228,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:06:05] local.INFO: Processing buffer {"connection_id":204228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:06:05] local.INFO: IMEI packet received {"connection_id":204228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":204228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:06:06] local.INFO: TCP Data received {"connection_id":205668,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:06:06] local.INFO: Processing buffer {"connection_id":205668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:06:06] local.INFO: IMEI packet received {"connection_id":205668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":205668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:06:06] local.INFO: TCP Data received {"connection_id":204228,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:06:06] local.INFO: Processing buffer {"connection_id":204228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:06:06] local.INFO: Packet analysis {"connection_id":204228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1097b"} 
[2026-10-05 06:06:06] local.INFO: Extracted packet for processing {"connection_id":204228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1097b"} 
[2026-10-05 06:06:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537004032001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791160473000,"timestamp_ms":1791160473000,"timestamp_seconds":1791160473,"priority":1,"record_length":96,"hex_timestamp":"000001a1097bd5a8"} 
[2026-10-05 06:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 06:06:06] 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-10-05 06: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-10-05 06:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:06: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-10-05 06:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537004032001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537004032001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:06:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:06:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537004032001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":204228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965654,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:06:06] local.INFO: GPS data processed {"connection_id":204228,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:06:06] local.INFO: Acknowledgment sent {"connection_id":204228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:06:07] local.INFO: TCP Data received {"connection_id":205668,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:06:07] local.INFO: Processing buffer {"connection_id":205668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:06:07] local.INFO: Packet analysis {"connection_id":205668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1097c"} 
[2026-10-05 06:06:07] local.INFO: Extracted packet for processing {"connection_id":205668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1097c"} 
[2026-10-05 06:06:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537008384001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:06: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-10-05 06:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791160490000,"timestamp_ms":1791160490000,"timestamp_seconds":1791160490,"priority":1,"record_length":96,"hex_timestamp":"000001a1097c1810"} 
[2026-10-05 06:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:06: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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:06:07] 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-10-05 06: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-10-05 06:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537008384001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537008384001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:06:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:06:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537008384001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":205668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:06:07] local.INFO: GPS data processed {"connection_id":205668,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:06:07] local.INFO: Acknowledgment sent {"connection_id":205668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:06:37] local.INFO: TCP Data received {"connection_id":204228,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:06:37] local.INFO: Processing buffer {"connection_id":204228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:06:37] local.INFO: Packet analysis {"connection_id":204228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1097b"} 
[2026-10-05 06:06:37] local.INFO: Extracted packet for processing {"connection_id":204228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1097b"} 
[2026-10-05 06:06:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537004032001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791160473000,"timestamp_ms":1791160473000,"timestamp_seconds":1791160473,"priority":1,"record_length":96,"hex_timestamp":"000001a1097bd5a8"} 
[2026-10-05 06:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 06:06:37] 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-10-05 06:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:06: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-10-05 06:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537004032001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537004032001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:06:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:06:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537004032001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":204228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:06:37] local.INFO: GPS data processed {"connection_id":204228,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:06:37] local.INFO: Acknowledgment sent {"connection_id":204228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:06:38] local.INFO: TCP Data received {"connection_id":205668,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:06:38] local.INFO: Processing buffer {"connection_id":205668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:06:38] local.INFO: Packet analysis {"connection_id":205668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1097c"} 
[2026-10-05 06:06:38] local.INFO: Extracted packet for processing {"connection_id":205668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1097c"} 
[2026-10-05 06:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537008384001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791160490000,"timestamp_ms":1791160490000,"timestamp_seconds":1791160490,"priority":1,"record_length":96,"hex_timestamp":"000001a1097c1810"} 
[2026-10-05 06:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:06:38] 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-10-05 06:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:06:38] 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-10-05 06:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537008384001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537008384001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:06:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537008384001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":205668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:06:38] local.INFO: GPS data processed {"connection_id":205668,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:06:38] local.INFO: Acknowledgment sent {"connection_id":205668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:06:56] local.INFO: TCP Data received {"connection_id":204135,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:06:56] local.INFO: Processing buffer {"connection_id":204135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:06:56] local.INFO: IMEI packet received {"connection_id":204135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":204135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:07:00] local.INFO: TCP Data received {"connection_id":207229,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:07:00] local.INFO: Processing buffer {"connection_id":207229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:07:00] local.INFO: IMEI packet received {"connection_id":207229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":207229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:07:01] local.INFO: TCP Data received {"connection_id":204135,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:07:01] local.INFO: Processing buffer {"connection_id":204135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:07:01] local.INFO: IMEI packet received {"connection_id":204135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":204135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:07:01] local.INFO: TCP Data received {"connection_id":204135,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:07:01] local.INFO: Processing buffer {"connection_id":204135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:07:01] local.INFO: Packet analysis {"connection_id":204135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1097c"} 
[2026-10-05 06:07:01] local.INFO: Extracted packet for processing {"connection_id":204135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1097c"} 
[2026-10-05 06:07:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537008384001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:07: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-10-05 06:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791160490000,"timestamp_ms":1791160490000,"timestamp_seconds":1791160490,"priority":1,"record_length":96,"hex_timestamp":"000001a1097c1810"} 
[2026-10-05 06:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:07:01] 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-10-05 06:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:07: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-10-05 06:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537008384001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 06:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537008384001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:07:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:07:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537008384001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":204135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:07:01] local.INFO: GPS data processed {"connection_id":204135,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:07:01] local.INFO: Acknowledgment sent {"connection_id":204135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:07:09] local.INFO: TCP Data received {"connection_id":207229,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:07:09] local.INFO: Processing buffer {"connection_id":207229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:07:09] local.INFO: IMEI packet received {"connection_id":207229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":207229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:07:11] local.INFO: TCP Data received {"connection_id":207229,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:07:11] local.INFO: Processing buffer {"connection_id":207229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:07:11] local.INFO: Packet analysis {"connection_id":207229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1097b"} 
[2026-10-05 06:07:11] local.INFO: Extracted packet for processing {"connection_id":207229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1097b"} 
[2026-10-05 06:07:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537004032001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791160473000,"timestamp_ms":1791160473000,"timestamp_seconds":1791160473,"priority":1,"record_length":96,"hex_timestamp":"000001a1097bd5a8"} 
[2026-10-05 06:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 06:07:11] 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-10-05 06:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:07:11] 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-10-05 06:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537004032001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537004032001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:07:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537004032001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":207229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:07:11] local.INFO: GPS data processed {"connection_id":207229,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:07:11] local.INFO: Acknowledgment sent {"connection_id":207229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:07:13] local.INFO: TCP Data received {"connection_id":205669,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:07:13] local.INFO: Processing buffer {"connection_id":205669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:07:13] local.INFO: IMEI packet received {"connection_id":205669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 06:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":205669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:07:32] local.INFO: TCP Data received {"connection_id":204135,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:07:32] local.INFO: Processing buffer {"connection_id":204135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:07:32] local.INFO: Packet analysis {"connection_id":204135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1097c"} 
[2026-10-05 06:07:32] local.INFO: Extracted packet for processing {"connection_id":204135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1097c"} 
[2026-10-05 06:07:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537008384001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:07: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-10-05 06:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791160490000,"timestamp_ms":1791160490000,"timestamp_seconds":1791160490,"priority":1,"record_length":96,"hex_timestamp":"000001a1097c1810"} 
[2026-10-05 06:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:07:32] 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-10-05 06:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:07: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-10-05 06:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537008384001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 06:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537008384001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:07:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:07:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537008384001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":204135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:07:32] local.INFO: GPS data processed {"connection_id":204135,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:07:32] local.INFO: Acknowledgment sent {"connection_id":204135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:07:42] local.INFO: TCP Data received {"connection_id":207229,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:07:42] local.INFO: Processing buffer {"connection_id":207229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:07:42] local.INFO: Packet analysis {"connection_id":207229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1097b"} 
[2026-10-05 06:07:42] local.INFO: Extracted packet for processing {"connection_id":207229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1097b"} 
[2026-10-05 06:07:42] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537004032001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791160473000,"timestamp_ms":1791160473000,"timestamp_seconds":1791160473,"priority":1,"record_length":96,"hex_timestamp":"000001a1097bd5a8"} 
[2026-10-05 06:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 06:07:42] 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-10-05 06: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-10-05 06:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:07:42] 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-10-05 06:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537004032001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537004032001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:07:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537004032001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":207229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965661,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:07:42] local.INFO: GPS data processed {"connection_id":207229,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:07:42] local.INFO: Acknowledgment sent {"connection_id":207229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:07:42] local.INFO: TCP Data received {"connection_id":204229,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:07:42] local.INFO: Processing buffer {"connection_id":204229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:07:42] local.INFO: IMEI packet received {"connection_id":204229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 06:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":204229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:07:56] local.INFO: TCP Data received {"connection_id":205670,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:07:56] local.INFO: Processing buffer {"connection_id":205670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:07:56] local.INFO: IMEI packet received {"connection_id":205670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":205670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:08:00] local.INFO: TCP Data received {"connection_id":205671,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:08:00] local.INFO: Processing buffer {"connection_id":205671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:08:00] local.INFO: IMEI packet received {"connection_id":205671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":205671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:08:01] local.INFO: TCP Data received {"connection_id":205670,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:08:01] local.INFO: Processing buffer {"connection_id":205670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:08:01] local.INFO: IMEI packet received {"connection_id":205670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":205670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:08:02] local.INFO: TCP Data received {"connection_id":205670,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:08:02] local.INFO: Processing buffer {"connection_id":205670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:08:02] local.INFO: Packet analysis {"connection_id":205670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1097c"} 
[2026-10-05 06:08:02] local.INFO: Extracted packet for processing {"connection_id":205670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1097c"} 
[2026-10-05 06:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537008384001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791160490000,"timestamp_ms":1791160490000,"timestamp_seconds":1791160490,"priority":1,"record_length":96,"hex_timestamp":"000001a1097c1810"} 
[2026-10-05 06:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:08: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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:08: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-10-05 06: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-10-05 06:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537008384001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537008384001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:08:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:08:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537008384001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":205670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:08:02] local.INFO: GPS data processed {"connection_id":205670,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:08:02] local.INFO: Acknowledgment sent {"connection_id":205670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:08:05] local.INFO: TCP Data received {"connection_id":205671,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:08:05] local.INFO: Processing buffer {"connection_id":205671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:08:05] local.INFO: IMEI packet received {"connection_id":205671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":205671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:08:06] local.INFO: TCP Data received {"connection_id":205671,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:08:06] local.INFO: Processing buffer {"connection_id":205671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:08:06] local.INFO: Packet analysis {"connection_id":205671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1097b"} 
[2026-10-05 06:08:06] local.INFO: Extracted packet for processing {"connection_id":205671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1097b"} 
[2026-10-05 06:08:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537004032001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791160473000,"timestamp_ms":1791160473000,"timestamp_seconds":1791160473,"priority":1,"record_length":96,"hex_timestamp":"000001a1097bd5a8"} 
[2026-10-05 06:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 06:08:06] 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-10-05 06:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:08: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-10-05 06:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537004032001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537004032001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:08:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:08:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537004032001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":205671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:08:06] local.INFO: GPS data processed {"connection_id":205671,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:08:06] local.INFO: Acknowledgment sent {"connection_id":205671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:08:37] local.INFO: TCP Data received {"connection_id":205671,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:08:37] local.INFO: Processing buffer {"connection_id":205671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:08:37] local.INFO: Packet analysis {"connection_id":205671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1097b"} 
[2026-10-05 06:08:37] local.INFO: Extracted packet for processing {"connection_id":205671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1097b"} 
[2026-10-05 06:08:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537004032001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791160473000,"timestamp_ms":1791160473000,"timestamp_seconds":1791160473,"priority":1,"record_length":96,"hex_timestamp":"000001a1097bd5a8"} 
[2026-10-05 06:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 06:08:37] 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-10-05 06:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:08: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-10-05 06:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537004032001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537004032001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:08:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:08:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537004032001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":205671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965664,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:08:37] local.INFO: GPS data processed {"connection_id":205671,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:08:37] local.INFO: Acknowledgment sent {"connection_id":205671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:08:37] local.INFO: TCP Data received {"connection_id":205670,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:08:37] local.INFO: Processing buffer {"connection_id":205670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:08:37] local.INFO: Packet analysis {"connection_id":205670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1097c"} 
[2026-10-05 06:08:37] local.INFO: Extracted packet for processing {"connection_id":205670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1097c"} 
[2026-10-05 06:08:37] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537008384001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791160490000,"timestamp_ms":1791160490000,"timestamp_seconds":1791160490,"priority":1,"record_length":96,"hex_timestamp":"000001a1097c1810"} 
[2026-10-05 06:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:08:37] 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-10-05 06:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:08:37] 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-10-05 06:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537008384001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537008384001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:08:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:08:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537008384001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":205670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:08:37] local.INFO: GPS data processed {"connection_id":205670,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:08:37] local.INFO: Acknowledgment sent {"connection_id":205670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:08:56] local.INFO: TCP Data received {"connection_id":204136,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:08:56] local.INFO: Processing buffer {"connection_id":204136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:08:56] local.INFO: IMEI packet received {"connection_id":204136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":204136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:09:01] local.INFO: TCP Data received {"connection_id":204136,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:09:01] local.INFO: Processing buffer {"connection_id":204136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:09:01] local.INFO: IMEI packet received {"connection_id":204136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":204136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:09:01] local.INFO: TCP Data received {"connection_id":204136,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:09:01] local.INFO: Processing buffer {"connection_id":204136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:09:01] local.INFO: Packet analysis {"connection_id":204136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1097c"} 
[2026-10-05 06:09:01] local.INFO: Extracted packet for processing {"connection_id":204136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1097c"} 
[2026-10-05 06:09:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537008384001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791160490000,"timestamp_ms":1791160490000,"timestamp_seconds":1791160490,"priority":1,"record_length":96,"hex_timestamp":"000001a1097c1810"} 
[2026-10-05 06:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:09:01] 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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:09: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-10-05 06: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-10-05 06:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537008384001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 06:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537008384001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:09:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:09:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537008384001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":204136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:09:01] local.INFO: GPS data processed {"connection_id":204136,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:09:01] local.INFO: Acknowledgment sent {"connection_id":204136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:09:05] local.INFO: TCP Data received {"connection_id":204137,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204137,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:09:05] local.INFO: Processing buffer {"connection_id":204137,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:09:05] local.INFO: IMEI packet received {"connection_id":204137,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":204137,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:09:10] local.INFO: TCP Data received {"connection_id":204137,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204137,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:09:10] local.INFO: Processing buffer {"connection_id":204137,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:09:10] local.INFO: IMEI packet received {"connection_id":204137,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":204137,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:09:11] local.INFO: TCP Data received {"connection_id":204137,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:09:11] local.INFO: Processing buffer {"connection_id":204137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1097bd5a8012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:09:11] local.INFO: Packet analysis {"connection_id":204137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1097b"} 
[2026-10-05 06:09:11] local.INFO: Extracted packet for processing {"connection_id":204137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1097b"} 
[2026-10-05 06:09:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537004032001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791160473000,"timestamp_ms":1791160473000,"timestamp_seconds":1791160473,"priority":1,"record_length":96,"hex_timestamp":"000001a1097bd5a8"} 
[2026-10-05 06:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 06:09:11] 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-10-05 06:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:09:11] 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-10-05 06:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537004032001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537004032001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:09:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537004032001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":204137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:09:11] local.INFO: GPS data processed {"connection_id":204137,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:09:11] local.INFO: Acknowledgment sent {"connection_id":204137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:09:32] local.INFO: TCP Data received {"connection_id":204136,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:09:32] local.INFO: Processing buffer {"connection_id":204136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:09:32] local.INFO: Packet analysis {"connection_id":204136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1097c"} 
[2026-10-05 06:09:32] local.INFO: Extracted packet for processing {"connection_id":204136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1097c"} 
[2026-10-05 06:09:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537008384001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:09: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-10-05 06:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791160490000,"timestamp_ms":1791160490000,"timestamp_seconds":1791160490,"priority":1,"record_length":96,"hex_timestamp":"000001a1097c1810"} 
[2026-10-05 06:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:09:32] 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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:09: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-10-05 06: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-10-05 06:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537008384001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 06:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537008384001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:09:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:09:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537008384001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":204136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:09:32] local.INFO: GPS data processed {"connection_id":204136,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:09:32] local.INFO: Acknowledgment sent {"connection_id":204136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:09:42] local.INFO: TCP Data received {"connection_id":204137,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:09:42] local.INFO: Processing buffer {"connection_id":204137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:09:42] local.INFO: Packet analysis {"connection_id":204137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:09:42] local.INFO: Extracted packet for processing {"connection_id":204137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:09:42] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:09: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-10-05 06:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537081088001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791160774000,"timestamp_ms":1791160774000,"timestamp_seconds":1791160774,"priority":1,"record_length":96,"hex_timestamp":"000001a109806d70"} 
[2026-10-05 06:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:09:42] 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-10-05 06:09: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-10-05 06:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:09:42] 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-10-05 06:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537081088001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537081088001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:09:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:09:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537081088001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":204137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:09:42] local.INFO: GPS data processed {"connection_id":204137,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:09:42] local.INFO: Acknowledgment sent {"connection_id":204137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:09:55] local.INFO: TCP Data received {"connection_id":207230,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:09:55] local.INFO: Processing buffer {"connection_id":207230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:09:55] local.INFO: IMEI packet received {"connection_id":207230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":207230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:10:00] local.INFO: TCP Data received {"connection_id":207231,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207231,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:10:00] local.INFO: Processing buffer {"connection_id":207231,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:10:00] local.INFO: IMEI packet received {"connection_id":207231,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":207231,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:10:01] local.INFO: TCP Data received {"connection_id":207230,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:10:01] local.INFO: Processing buffer {"connection_id":207230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:10:01] local.INFO: IMEI packet received {"connection_id":207230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":207230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:10:01] local.INFO: TCP Data received {"connection_id":207230,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:10:01] local.INFO: Processing buffer {"connection_id":207230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1097c1810012d7f91c005afd9f00008010121..."} 
[2026-10-05 06:10:01] local.INFO: Packet analysis {"connection_id":207230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1097c"} 
[2026-10-05 06:10:01] local.INFO: Extracted packet for processing {"connection_id":207230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1097c"} 
[2026-10-05 06:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 06:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537008384001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 06:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791160490000,"timestamp_ms":1791160490000,"timestamp_seconds":1791160490,"priority":1,"record_length":96,"hex_timestamp":"000001a1097c1810"} 
[2026-10-05 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-10-05 06:10:01] 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-10-05 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:10: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-10-05 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-10-05 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-10-05 06:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:10: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-10-05 06:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537008384001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537008384001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:10:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:10:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537008384001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":207230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:10:01] local.INFO: GPS data processed {"connection_id":207230,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:10:01] local.INFO: Acknowledgment sent {"connection_id":207230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:10:05] local.INFO: TCP Data received {"connection_id":207231,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207231,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:10:05] local.INFO: Processing buffer {"connection_id":207231,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:10:05] local.INFO: IMEI packet received {"connection_id":207231,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":207231,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:10:06] local.INFO: TCP Data received {"connection_id":207231,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:10:06] local.INFO: Processing buffer {"connection_id":207231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:10:06] local.INFO: Packet analysis {"connection_id":207231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:10:06] local.INFO: Extracted packet for processing {"connection_id":207231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537081088001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791160774000,"timestamp_ms":1791160774000,"timestamp_seconds":1791160774,"priority":1,"record_length":96,"hex_timestamp":"000001a109806d70"} 
[2026-10-05 06:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:10: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-10-05 06:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:10: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-10-05 06:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537081088001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537081088001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:10:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:10:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537081088001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":207231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965671,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:10:06] local.INFO: GPS data processed {"connection_id":207231,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:10:06] local.INFO: Acknowledgment sent {"connection_id":207231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:10:32] local.INFO: TCP Data received {"connection_id":207230,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:10:32] local.INFO: Processing buffer {"connection_id":207230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:10:32] local.INFO: Packet analysis {"connection_id":207230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:10:32] local.INFO: Extracted packet for processing {"connection_id":207230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:10:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":30,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 06:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537085440001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 06:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791160791000,"timestamp_ms":1791160791000,"timestamp_seconds":1791160791,"priority":1,"record_length":96,"hex_timestamp":"000001a10980afd8"} 
[2026-10-05 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-10-05 06:10:32] 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-10-05 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:10: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-10-05 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-10-05 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-10-05 06:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:10: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-10-05 06:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537085440001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537085440001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:10:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:10:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537085440001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":207230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:10:32] local.INFO: GPS data processed {"connection_id":207230,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:10:32] local.INFO: Acknowledgment sent {"connection_id":207230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:10:37] local.INFO: TCP Data received {"connection_id":207231,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:10:37] local.INFO: Processing buffer {"connection_id":207231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:10:37] local.INFO: Packet analysis {"connection_id":207231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:10:37] local.INFO: Extracted packet for processing {"connection_id":207231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:10:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537081088001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791160774000,"timestamp_ms":1791160774000,"timestamp_seconds":1791160774,"priority":1,"record_length":96,"hex_timestamp":"000001a109806d70"} 
[2026-10-05 06:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:10:37] 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-10-05 06:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:10: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-10-05 06:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537081088001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537081088001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:10:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:10:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537081088001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":207231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:10:37] local.INFO: GPS data processed {"connection_id":207231,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:10:37] local.INFO: Acknowledgment sent {"connection_id":207231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:11:00] local.INFO: TCP Data received {"connection_id":205672,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:11:00] local.INFO: Processing buffer {"connection_id":205672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:11:00] local.INFO: IMEI packet received {"connection_id":205672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":205672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:11:01] local.INFO: TCP Data received {"connection_id":207233,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:11:01] local.INFO: Processing buffer {"connection_id":207233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:11:01] local.INFO: IMEI packet received {"connection_id":207233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":207233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:11:05] local.INFO: TCP Data received {"connection_id":205672,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:11:05] local.INFO: Processing buffer {"connection_id":205672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:11:05] local.INFO: IMEI packet received {"connection_id":205672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":205672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:11:06] local.INFO: TCP Data received {"connection_id":205672,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:11:06] local.INFO: Processing buffer {"connection_id":205672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:11:06] local.INFO: Packet analysis {"connection_id":205672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:11:06] local.INFO: Extracted packet for processing {"connection_id":205672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:11:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537081088001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791160774000,"timestamp_ms":1791160774000,"timestamp_seconds":1791160774,"priority":1,"record_length":96,"hex_timestamp":"000001a109806d70"} 
[2026-10-05 06:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:11: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-10-05 06: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-10-05 06:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:11: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-10-05 06:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537081088001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537081088001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:11:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:11:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537081088001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":205672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965674,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:11:06] local.INFO: GPS data processed {"connection_id":205672,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:11:06] local.INFO: Acknowledgment sent {"connection_id":205672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:11:06] local.INFO: TCP Data received {"connection_id":207233,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:11:06] local.INFO: Processing buffer {"connection_id":207233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:11:06] local.INFO: IMEI packet received {"connection_id":207233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":207233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:11:07] local.INFO: TCP Data received {"connection_id":207233,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:11:07] local.INFO: Processing buffer {"connection_id":207233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:11:07] local.INFO: Packet analysis {"connection_id":207233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:11:07] local.INFO: Extracted packet for processing {"connection_id":207233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:11:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":30,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537085440001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:11: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-10-05 06:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791160791000,"timestamp_ms":1791160791000,"timestamp_seconds":1791160791,"priority":1,"record_length":96,"hex_timestamp":"000001a10980afd8"} 
[2026-10-05 06:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:11: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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:11:07] 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-10-05 06: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-10-05 06:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537085440001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537085440001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:11:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:11:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537085440001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":207233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:11:07] local.INFO: GPS data processed {"connection_id":207233,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:11:07] local.INFO: Acknowledgment sent {"connection_id":207233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:11:37] local.INFO: TCP Data received {"connection_id":205672,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:11:37] local.INFO: Processing buffer {"connection_id":205672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:11:37] local.INFO: Packet analysis {"connection_id":205672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:11:37] local.INFO: Extracted packet for processing {"connection_id":205672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:11:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537081088001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791160774000,"timestamp_ms":1791160774000,"timestamp_seconds":1791160774,"priority":1,"record_length":96,"hex_timestamp":"000001a109806d70"} 
[2026-10-05 06:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:11:37] 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-10-05 06:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:11: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-10-05 06:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537081088001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537081088001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:11:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:11:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537081088001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":205672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:11:37] local.INFO: GPS data processed {"connection_id":205672,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:11:37] local.INFO: Acknowledgment sent {"connection_id":205672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:11:38] local.INFO: TCP Data received {"connection_id":207233,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:11:38] local.INFO: Processing buffer {"connection_id":207233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:11:38] local.INFO: Packet analysis {"connection_id":207233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:11:38] local.INFO: Extracted packet for processing {"connection_id":207233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:11:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":30,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537085440001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791160791000,"timestamp_ms":1791160791000,"timestamp_seconds":1791160791,"priority":1,"record_length":96,"hex_timestamp":"000001a10980afd8"} 
[2026-10-05 06:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:11:38] 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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:11:38] 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-10-05 06: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-10-05 06:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537085440001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537085440001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:11:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:11:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537085440001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":207233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:11:38] local.INFO: GPS data processed {"connection_id":207233,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:11:38] local.INFO: Acknowledgment sent {"connection_id":207233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:11:56] local.INFO: TCP Data received {"connection_id":205673,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:11:56] local.INFO: Processing buffer {"connection_id":205673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:11:56] local.INFO: IMEI packet received {"connection_id":205673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":205673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:12:00] local.INFO: TCP Data received {"connection_id":205674,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:12:00] local.INFO: Processing buffer {"connection_id":205674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:12:00] local.INFO: IMEI packet received {"connection_id":205674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":205674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:12:01] local.INFO: TCP Data received {"connection_id":205673,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:12:01] local.INFO: Processing buffer {"connection_id":205673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:12:01] local.INFO: IMEI packet received {"connection_id":205673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":205673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:12:01] local.INFO: TCP Data received {"connection_id":205673,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:12:01] local.INFO: Processing buffer {"connection_id":205673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:12:01] local.INFO: Packet analysis {"connection_id":205673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:12:01] local.INFO: Extracted packet for processing {"connection_id":205673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:12:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":30,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537085440001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791160791000,"timestamp_ms":1791160791000,"timestamp_seconds":1791160791,"priority":1,"record_length":96,"hex_timestamp":"000001a10980afd8"} 
[2026-10-05 06:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:12:01] 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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:12: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-10-05 06: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-10-05 06:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:12: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-10-05 06:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537085440001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537085440001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:12:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:12:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537085440001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":205673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:12:01] local.INFO: GPS data processed {"connection_id":205673,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:12:01] local.INFO: Acknowledgment sent {"connection_id":205673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:12:05] local.INFO: TCP Data received {"connection_id":205674,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:12:05] local.INFO: Processing buffer {"connection_id":205674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:12:05] local.INFO: IMEI packet received {"connection_id":205674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":205674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:12:06] local.INFO: TCP Data received {"connection_id":205674,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:12:06] local.INFO: Processing buffer {"connection_id":205674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:12:06] local.INFO: Packet analysis {"connection_id":205674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:12:06] local.INFO: Extracted packet for processing {"connection_id":205674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:12:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537081088001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791160774000,"timestamp_ms":1791160774000,"timestamp_seconds":1791160774,"priority":1,"record_length":96,"hex_timestamp":"000001a109806d70"} 
[2026-10-05 06:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:12: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-10-05 06:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537081088001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537081088001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:12:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:12:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537081088001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":205674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965679,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:12:06] local.INFO: GPS data processed {"connection_id":205674,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:12:06] local.INFO: Acknowledgment sent {"connection_id":205674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:12:32] local.INFO: TCP Data received {"connection_id":205673,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:12:32] local.INFO: Processing buffer {"connection_id":205673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:12:32] local.INFO: Packet analysis {"connection_id":205673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:12:32] local.INFO: Extracted packet for processing {"connection_id":205673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:12:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":30,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537085440001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791160791000,"timestamp_ms":1791160791000,"timestamp_seconds":1791160791,"priority":1,"record_length":96,"hex_timestamp":"000001a10980afd8"} 
[2026-10-05 06:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:12:32] 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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:12: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-10-05 06: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-10-05 06:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:12: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-10-05 06:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537085440001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537085440001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:12:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:12:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537085440001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":205673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:12:32] local.INFO: GPS data processed {"connection_id":205673,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:12:32] local.INFO: Acknowledgment sent {"connection_id":205673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:12:37] local.INFO: TCP Data received {"connection_id":205674,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:12:37] local.INFO: Processing buffer {"connection_id":205674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:12:37] local.INFO: Packet analysis {"connection_id":205674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:12:37] local.INFO: Extracted packet for processing {"connection_id":205674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:12:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537081088001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791160774000,"timestamp_ms":1791160774000,"timestamp_seconds":1791160774,"priority":1,"record_length":96,"hex_timestamp":"000001a109806d70"} 
[2026-10-05 06:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:12:37] 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-10-05 06:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537081088001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537081088001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:12:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:12:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537081088001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":205674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965681,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:12:37] local.INFO: GPS data processed {"connection_id":205674,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:12:37] local.INFO: Acknowledgment sent {"connection_id":205674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:12:56] local.INFO: TCP Data received {"connection_id":204139,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:12:56] local.INFO: Processing buffer {"connection_id":204139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:12:56] local.INFO: IMEI packet received {"connection_id":204139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":204139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:13:01] local.INFO: TCP Data received {"connection_id":204139,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:13:01] local.INFO: Processing buffer {"connection_id":204139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:13:01] local.INFO: IMEI packet received {"connection_id":204139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":204139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:13:01] local.INFO: TCP Data received {"connection_id":204139,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:13:01] local.INFO: Processing buffer {"connection_id":204139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:13:01] local.INFO: Packet analysis {"connection_id":204139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:13:01] local.INFO: Extracted packet for processing {"connection_id":204139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:13:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":30,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537085440001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791160791000,"timestamp_ms":1791160791000,"timestamp_seconds":1791160791,"priority":1,"record_length":96,"hex_timestamp":"000001a10980afd8"} 
[2026-10-05 06:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:13:01] 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-10-05 06: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-10-05 06: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-10-05 06: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-10-05 06:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:13: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-10-05 06:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537085440001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537085440001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:13:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:13:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537085440001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":204139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:13:01] local.INFO: GPS data processed {"connection_id":204139,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:13:01] local.INFO: Acknowledgment sent {"connection_id":204139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:13:05] local.INFO: TCP Data received {"connection_id":205675,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:13:05] local.INFO: Processing buffer {"connection_id":205675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:13:05] local.INFO: IMEI packet received {"connection_id":205675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":205675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:13:08] local.INFO: TCP Data received {"connection_id":204232,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204232,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:13:08] local.INFO: Processing buffer {"connection_id":204232,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:13:08] local.INFO: IMEI packet received {"connection_id":204232,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 06:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":204232,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:13:10] local.INFO: TCP Data received {"connection_id":205675,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:13:10] local.INFO: Processing buffer {"connection_id":205675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:13:10] local.INFO: IMEI packet received {"connection_id":205675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":205675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:13:11] local.INFO: TCP Data received {"connection_id":205675,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:13:11] local.INFO: Processing buffer {"connection_id":205675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:13:11] local.INFO: Packet analysis {"connection_id":205675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:13:11] local.INFO: Extracted packet for processing {"connection_id":205675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:13:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537081088001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791160774000,"timestamp_ms":1791160774000,"timestamp_seconds":1791160774,"priority":1,"record_length":96,"hex_timestamp":"000001a109806d70"} 
[2026-10-05 06:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:13:11] 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-10-05 06:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537081088001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537081088001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:13:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:13:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537081088001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":205675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:13:11] local.INFO: GPS data processed {"connection_id":205675,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:13:11] local.INFO: Acknowledgment sent {"connection_id":205675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:13:16] local.INFO: TCP Data received {"connection_id":205675,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:13:16] local.INFO: Processing buffer {"connection_id":205675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:13:16] local.INFO: Packet analysis {"connection_id":205675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:13:16] local.INFO: Extracted packet for processing {"connection_id":205675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:13:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537081088001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791160774000,"timestamp_ms":1791160774000,"timestamp_seconds":1791160774,"priority":1,"record_length":96,"hex_timestamp":"000001a109806d70"} 
[2026-10-05 06:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 06:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537081088001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537081088001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:13:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:13:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537081088001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":205675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:13:16] local.INFO: GPS data processed {"connection_id":205675,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:13:16] local.INFO: Acknowledgment sent {"connection_id":205675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:13:33] local.INFO: TCP Data received {"connection_id":204139,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:13:33] local.INFO: Processing buffer {"connection_id":204139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:13:33] local.INFO: Packet analysis {"connection_id":204139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:13:33] local.INFO: Extracted packet for processing {"connection_id":204139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":30,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537085440001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:13: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-10-05 06:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791160791000,"timestamp_ms":1791160791000,"timestamp_seconds":1791160791,"priority":1,"record_length":96,"hex_timestamp":"000001a10980afd8"} 
[2026-10-05 06:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:13:33] 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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:13:33] 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-10-05 06:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:13: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-10-05 06:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537085440001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537085440001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:13:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:13:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537085440001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":204139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:13:33] local.INFO: GPS data processed {"connection_id":204139,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:13:33] local.INFO: Acknowledgment sent {"connection_id":204139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:13:48] local.INFO: TCP Data received {"connection_id":207234,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207234,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:13:48] local.INFO: Processing buffer {"connection_id":207234,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:13:48] local.INFO: IMEI packet received {"connection_id":207234,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 06:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":207234,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:13:56] local.INFO: TCP Data received {"connection_id":207235,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:13:56] local.INFO: Processing buffer {"connection_id":207235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:13:56] local.INFO: IMEI packet received {"connection_id":207235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":207235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:14:00] local.INFO: TCP Data received {"connection_id":204233,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204233,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:14:00] local.INFO: Processing buffer {"connection_id":204233,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:14:00] local.INFO: IMEI packet received {"connection_id":204233,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":204233,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:14:01] local.INFO: TCP Data received {"connection_id":207235,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:14:01] local.INFO: Processing buffer {"connection_id":207235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:14:01] local.INFO: IMEI packet received {"connection_id":207235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":207235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:14:01] local.INFO: TCP Data received {"connection_id":207235,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:14:01] local.INFO: Processing buffer {"connection_id":207235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:14:01] local.INFO: Packet analysis {"connection_id":207235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:14:01] local.INFO: Extracted packet for processing {"connection_id":207235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:14:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":30,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537085440001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791160791000,"timestamp_ms":1791160791000,"timestamp_seconds":1791160791,"priority":1,"record_length":96,"hex_timestamp":"000001a10980afd8"} 
[2026-10-05 06:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:14:01] 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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:14: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-10-05 06: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-10-05 06:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537085440001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 06:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537085440001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:14:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:14:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537085440001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":207235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:14:01] local.INFO: GPS data processed {"connection_id":207235,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:14:01] local.INFO: Acknowledgment sent {"connection_id":207235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:14:05] local.INFO: TCP Data received {"connection_id":204233,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204233,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:14:05] local.INFO: Processing buffer {"connection_id":204233,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:14:05] local.INFO: IMEI packet received {"connection_id":204233,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":204233,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:14:06] local.INFO: TCP Data received {"connection_id":204233,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:14:06] local.INFO: Processing buffer {"connection_id":204233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:14:06] local.INFO: Packet analysis {"connection_id":204233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:14:06] local.INFO: Extracted packet for processing {"connection_id":204233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:14:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537081088001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791160774000,"timestamp_ms":1791160774000,"timestamp_seconds":1791160774,"priority":1,"record_length":96,"hex_timestamp":"000001a109806d70"} 
[2026-10-05 06:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:14: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-10-05 06:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537081088001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537081088001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:14:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:14:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537081088001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":204233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:14:06] local.INFO: GPS data processed {"connection_id":204233,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:14:06] local.INFO: Acknowledgment sent {"connection_id":204233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:14:33] local.INFO: TCP Data received {"connection_id":207235,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:14:33] local.INFO: Processing buffer {"connection_id":207235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:14:33] local.INFO: Packet analysis {"connection_id":207235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:14:33] local.INFO: Extracted packet for processing {"connection_id":207235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":30,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537085440001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791160791000,"timestamp_ms":1791160791000,"timestamp_seconds":1791160791,"priority":1,"record_length":96,"hex_timestamp":"000001a10980afd8"} 
[2026-10-05 06:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:14:33] 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-10-05 06:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:14:33] 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-10-05 06:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537085440001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 06:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537085440001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:14:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:14:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537085440001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":207235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:14:33] local.INFO: GPS data processed {"connection_id":207235,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:14:33] local.INFO: Acknowledgment sent {"connection_id":207235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:14:37] local.INFO: TCP Data received {"connection_id":204233,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:14:37] local.INFO: Processing buffer {"connection_id":204233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109806d70012d7c2ac005dac8a0000000bf22..."} 
[2026-10-05 06:14:37] local.INFO: Packet analysis {"connection_id":204233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:14:37] local.INFO: Extracted packet for processing {"connection_id":204233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:14:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537081088001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791160774000,"timestamp_ms":1791160774000,"timestamp_seconds":1791160774,"priority":1,"record_length":96,"hex_timestamp":"000001a109806d70"} 
[2026-10-05 06:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:14:37] 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-10-05 06:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537081088001,"66":12602,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537081088001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:14:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:14:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537081088001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":204233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965689,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:14:37] local.INFO: GPS data processed {"connection_id":204233,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:14:37] local.INFO: Acknowledgment sent {"connection_id":204233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:14:55] local.INFO: TCP Data received {"connection_id":205677,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:14:55] local.INFO: Processing buffer {"connection_id":205677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:14:55] local.INFO: IMEI packet received {"connection_id":205677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":205677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:15:00] local.INFO: TCP Data received {"connection_id":204140,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:15:00] local.INFO: Processing buffer {"connection_id":204140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:15:00] local.INFO: IMEI packet received {"connection_id":204140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":204140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:15:01] local.INFO: TCP Data received {"connection_id":205677,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:15:01] local.INFO: Processing buffer {"connection_id":205677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:15:01] local.INFO: IMEI packet received {"connection_id":205677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":205677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:15:01] local.INFO: TCP Data received {"connection_id":205677,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:15:01] local.INFO: Processing buffer {"connection_id":205677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10980afd8012d7f91c005afd9f0000801011e..."} 
[2026-10-05 06:15:01] local.INFO: Packet analysis {"connection_id":205677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:15:01] local.INFO: Extracted packet for processing {"connection_id":205677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10980"} 
[2026-10-05 06:15:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":8,"angle":257,"satellites":30,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 06:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537085440001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 06:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791160791000,"timestamp_ms":1791160791000,"timestamp_seconds":1791160791,"priority":1,"record_length":96,"hex_timestamp":"000001a10980afd8"} 
[2026-10-05 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-10-05 06:15:01] 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-10-05 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":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:15: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-10-05 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-10-05 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-10-05 06:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:15: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-10-05 06:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537085440001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537085440001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:15:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:15:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537085440001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":205677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:15:01] local.INFO: GPS data processed {"connection_id":205677,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:15:01] local.INFO: Acknowledgment sent {"connection_id":205677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:15:05] local.INFO: TCP Data received {"connection_id":204140,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:15:05] local.INFO: Processing buffer {"connection_id":204140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:15:05] local.INFO: IMEI packet received {"connection_id":204140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":204140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:15:06] local.INFO: TCP Data received {"connection_id":204140,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:15:06] local.INFO: Processing buffer {"connection_id":204140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:15:06] local.INFO: Packet analysis {"connection_id":204140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:15:06] local.INFO: Extracted packet for processing {"connection_id":204140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:15:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537158144001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791161075000,"timestamp_ms":1791161075000,"timestamp_seconds":1791161075,"priority":1,"record_length":96,"hex_timestamp":"000001a109850538"} 
[2026-10-05 06:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 06:15:06] 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-10-05 06:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537158144001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537158144001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:15:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:15:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537158144001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":204140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:15:06] local.INFO: GPS data processed {"connection_id":204140,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:15:06] local.INFO: Acknowledgment sent {"connection_id":204140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:15:32] local.INFO: TCP Data received {"connection_id":205677,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:15:32] local.INFO: Processing buffer {"connection_id":205677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:15:32] local.INFO: Packet analysis {"connection_id":205677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:15:32] local.INFO: Extracted packet for processing {"connection_id":205677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:15:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537162496001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:15: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-10-05 06:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791161092000,"timestamp_ms":1791161092000,"timestamp_seconds":1791161092,"priority":1,"record_length":96,"hex_timestamp":"000001a1098547a0"} 
[2026-10-05 06:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:15:32] 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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:15: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-10-05 06: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-10-05 06:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:15: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-10-05 06:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537162496001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537162496001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:15:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:15:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537162496001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":205677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:15:32] local.INFO: GPS data processed {"connection_id":205677,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:15:32] local.INFO: Acknowledgment sent {"connection_id":205677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:15:38] local.INFO: TCP Data received {"connection_id":204140,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:15:38] local.INFO: Processing buffer {"connection_id":204140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:15:38] local.INFO: Packet analysis {"connection_id":204140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:15:38] local.INFO: Extracted packet for processing {"connection_id":204140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:15:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:15: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-10-05 06:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537158144001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791161075000,"timestamp_ms":1791161075000,"timestamp_seconds":1791161075,"priority":1,"record_length":96,"hex_timestamp":"000001a109850538"} 
[2026-10-05 06:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:15: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":58,"data_length":795,"current_offset":136} 
[2026-10-05 06:15:38] 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-10-05 06:15: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-10-05 06:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537158144001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537158144001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:15:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:15:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537158144001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":204140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:15:38] local.INFO: GPS data processed {"connection_id":204140,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:15:38] local.INFO: Acknowledgment sent {"connection_id":204140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:16:00] local.INFO: TCP Data received {"connection_id":204235,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:16:00] local.INFO: Processing buffer {"connection_id":204235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:16:00] local.INFO: IMEI packet received {"connection_id":204235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":204235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:16:01] local.INFO: TCP Data received {"connection_id":204234,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:16:01] local.INFO: Processing buffer {"connection_id":204234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:16:01] local.INFO: IMEI packet received {"connection_id":204234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":204234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:16:05] local.INFO: TCP Data received {"connection_id":204235,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:16:05] local.INFO: Processing buffer {"connection_id":204235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:16:05] local.INFO: IMEI packet received {"connection_id":204235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":204235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:16:06] local.INFO: TCP Data received {"connection_id":204234,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:16:06] local.INFO: Processing buffer {"connection_id":204234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:16:06] local.INFO: IMEI packet received {"connection_id":204234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":204234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:16:06] local.INFO: TCP Data received {"connection_id":204235,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:16:06] local.INFO: Processing buffer {"connection_id":204235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:16:06] local.INFO: Packet analysis {"connection_id":204235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:16:06] local.INFO: Extracted packet for processing {"connection_id":204235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:16:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537158144001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791161075000,"timestamp_ms":1791161075000,"timestamp_seconds":1791161075,"priority":1,"record_length":96,"hex_timestamp":"000001a109850538"} 
[2026-10-05 06:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 06:16:06] 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-10-05 06:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537158144001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537158144001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:16:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:16:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537158144001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":204235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:16:06] local.INFO: GPS data processed {"connection_id":204235,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:16:06] local.INFO: Acknowledgment sent {"connection_id":204235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:16:07] local.INFO: TCP Data received {"connection_id":204234,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:16:07] local.INFO: Processing buffer {"connection_id":204234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:16:07] local.INFO: Packet analysis {"connection_id":204234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:16:07] local.INFO: Extracted packet for processing {"connection_id":204234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:16:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537162496001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:16: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-10-05 06:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791161092000,"timestamp_ms":1791161092000,"timestamp_seconds":1791161092,"priority":1,"record_length":96,"hex_timestamp":"000001a1098547a0"} 
[2026-10-05 06:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:16: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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:16:07] 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-10-05 06: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-10-05 06:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537162496001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537162496001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:16:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:16:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537162496001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":204234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:16:07] local.INFO: GPS data processed {"connection_id":204234,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:16:07] local.INFO: Acknowledgment sent {"connection_id":204234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:16:11] local.INFO: TCP Data received {"connection_id":204234,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:16:11] local.INFO: Processing buffer {"connection_id":204234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:16:11] local.INFO: Packet analysis {"connection_id":204234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:16:11] local.INFO: Extracted packet for processing {"connection_id":204234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:16:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537162496001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791161092000,"timestamp_ms":1791161092000,"timestamp_seconds":1791161092,"priority":1,"record_length":96,"hex_timestamp":"000001a1098547a0"} 
[2026-10-05 06:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:16:11] 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-10-05 06:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:16:11] 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-10-05 06:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537162496001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537162496001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:16:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537162496001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":204234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:16:11] local.INFO: GPS data processed {"connection_id":204234,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:16:11] local.INFO: Acknowledgment sent {"connection_id":204234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:16:37] local.INFO: TCP Data received {"connection_id":204235,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:16:37] local.INFO: Processing buffer {"connection_id":204235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:16:37] local.INFO: Packet analysis {"connection_id":204235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:16:37] local.INFO: Extracted packet for processing {"connection_id":204235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:16:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537158144001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791161075000,"timestamp_ms":1791161075000,"timestamp_seconds":1791161075,"priority":1,"record_length":96,"hex_timestamp":"000001a109850538"} 
[2026-10-05 06:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 06:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 06: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-10-05 06:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537158144001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537158144001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:16:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:16:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537158144001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":204235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:16:37] local.INFO: GPS data processed {"connection_id":204235,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:16:37] local.INFO: Acknowledgment sent {"connection_id":204235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:16:56] local.INFO: TCP Data received {"connection_id":207236,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:16:56] local.INFO: Processing buffer {"connection_id":207236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:16:56] local.INFO: IMEI packet received {"connection_id":207236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":207236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:17:00] local.INFO: TCP Data received {"connection_id":204142,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:17:00] local.INFO: Processing buffer {"connection_id":204142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:17:00] local.INFO: IMEI packet received {"connection_id":204142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":204142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:17:01] local.INFO: TCP Data received {"connection_id":207236,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:17:01] local.INFO: Processing buffer {"connection_id":207236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:17:01] local.INFO: IMEI packet received {"connection_id":207236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":207236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:17:01] local.INFO: TCP Data received {"connection_id":207236,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:17:01] local.INFO: Processing buffer {"connection_id":207236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:17:01] local.INFO: Packet analysis {"connection_id":207236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:17:01] local.INFO: Extracted packet for processing {"connection_id":207236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:17:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537162496001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791161092000,"timestamp_ms":1791161092000,"timestamp_seconds":1791161092,"priority":1,"record_length":96,"hex_timestamp":"000001a1098547a0"} 
[2026-10-05 06:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:17:01] 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-10-05 06: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":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:17: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-10-05 06: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-10-05 06:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06: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-10-05 06:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537162496001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537162496001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:17:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:17:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537162496001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":207236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:17:01] local.INFO: GPS data processed {"connection_id":207236,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:17:01] local.INFO: Acknowledgment sent {"connection_id":207236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:17:05] local.INFO: TCP Data received {"connection_id":204142,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:17:05] local.INFO: Processing buffer {"connection_id":204142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:17:05] local.INFO: IMEI packet received {"connection_id":204142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":204142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:17:06] local.INFO: TCP Data received {"connection_id":204142,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:17:06] local.INFO: Processing buffer {"connection_id":204142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:17:06] local.INFO: Packet analysis {"connection_id":204142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:17:06] local.INFO: Extracted packet for processing {"connection_id":204142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:17:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537158144001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791161075000,"timestamp_ms":1791161075000,"timestamp_seconds":1791161075,"priority":1,"record_length":96,"hex_timestamp":"000001a109850538"} 
[2026-10-05 06:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 06:17:06] 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-10-05 06: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-10-05 06:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537158144001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537158144001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:17:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:17:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537158144001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":204142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:17:06] local.INFO: GPS data processed {"connection_id":204142,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:17:06] local.INFO: Acknowledgment sent {"connection_id":204142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:17:32] local.INFO: TCP Data received {"connection_id":207236,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:17:32] local.INFO: Processing buffer {"connection_id":207236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:17:32] local.INFO: Packet analysis {"connection_id":207236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:17:32] local.INFO: Extracted packet for processing {"connection_id":207236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:17:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537162496001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:17: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-10-05 06:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791161092000,"timestamp_ms":1791161092000,"timestamp_seconds":1791161092,"priority":1,"record_length":96,"hex_timestamp":"000001a1098547a0"} 
[2026-10-05 06:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:17:32] 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-10-05 06: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":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:17: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-10-05 06: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-10-05 06:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:17: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-10-05 06:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537162496001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537162496001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:17:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:17:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537162496001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":207236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:17:32] local.INFO: GPS data processed {"connection_id":207236,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:17:32] local.INFO: Acknowledgment sent {"connection_id":207236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:17:37] local.INFO: TCP Data received {"connection_id":204142,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:17:37] local.INFO: Processing buffer {"connection_id":204142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:17:37] local.INFO: Packet analysis {"connection_id":204142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:17:37] local.INFO: Extracted packet for processing {"connection_id":204142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:17:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537158144001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791161075000,"timestamp_ms":1791161075000,"timestamp_seconds":1791161075,"priority":1,"record_length":96,"hex_timestamp":"000001a109850538"} 
[2026-10-05 06:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 06:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 06: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-10-05 06:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537158144001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537158144001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:17:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:17:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537158144001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":204142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:17:37] local.INFO: GPS data processed {"connection_id":204142,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:17:37] local.INFO: Acknowledgment sent {"connection_id":204142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:17:56] local.INFO: TCP Data received {"connection_id":207237,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:17:56] local.INFO: Processing buffer {"connection_id":207237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:17:56] local.INFO: IMEI packet received {"connection_id":207237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":207237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:18:00] local.INFO: TCP Data received {"connection_id":207238,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207238,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:18:00] local.INFO: Processing buffer {"connection_id":207238,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:18:00] local.INFO: IMEI packet received {"connection_id":207238,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":207238,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:18:01] local.INFO: TCP Data received {"connection_id":207237,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:18:01] local.INFO: Processing buffer {"connection_id":207237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:18:01] local.INFO: IMEI packet received {"connection_id":207237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":207237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:18:01] local.INFO: TCP Data received {"connection_id":207237,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:18:01] local.INFO: Processing buffer {"connection_id":207237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:18:01] local.INFO: Packet analysis {"connection_id":207237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:18:01] local.INFO: Extracted packet for processing {"connection_id":207237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:18:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537162496001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:18: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-10-05 06:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791161092000,"timestamp_ms":1791161092000,"timestamp_seconds":1791161092,"priority":1,"record_length":96,"hex_timestamp":"000001a1098547a0"} 
[2026-10-05 06:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:18:01] 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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:18: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-10-05 06: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-10-05 06:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:18: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-10-05 06:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537162496001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537162496001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:18:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:18:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537162496001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":207237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:18:01] local.INFO: GPS data processed {"connection_id":207237,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:18:01] local.INFO: Acknowledgment sent {"connection_id":207237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:18:05] local.INFO: TCP Data received {"connection_id":207238,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207238,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:18:05] local.INFO: Processing buffer {"connection_id":207238,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:18:05] local.INFO: IMEI packet received {"connection_id":207238,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":207238,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:18:06] local.INFO: TCP Data received {"connection_id":207238,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:18:06] local.INFO: Processing buffer {"connection_id":207238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:18:06] local.INFO: Packet analysis {"connection_id":207238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:18:06] local.INFO: Extracted packet for processing {"connection_id":207238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:18:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537158144001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791161075000,"timestamp_ms":1791161075000,"timestamp_seconds":1791161075,"priority":1,"record_length":96,"hex_timestamp":"000001a109850538"} 
[2026-10-05 06:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 06:18:06] 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-10-05 06:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537158144001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537158144001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:18:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:18:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537158144001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":207238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965703,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:18:06] local.INFO: GPS data processed {"connection_id":207238,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:18:06] local.INFO: Acknowledgment sent {"connection_id":207238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:18:33] local.INFO: TCP Data received {"connection_id":207237,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:18:33] local.INFO: Processing buffer {"connection_id":207237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:18:33] local.INFO: Packet analysis {"connection_id":207237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:18:33] local.INFO: Extracted packet for processing {"connection_id":207237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:18:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:18: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-10-05 06:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537162496001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:18: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-10-05 06:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791161092000,"timestamp_ms":1791161092000,"timestamp_seconds":1791161092,"priority":1,"record_length":96,"hex_timestamp":"000001a1098547a0"} 
[2026-10-05 06:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:18:33] 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-10-05 06:18: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":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:18:33] 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-10-05 06:18: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-10-05 06:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:18: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-10-05 06:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537162496001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537162496001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:18:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:18:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537162496001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":207237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:18:33] local.INFO: GPS data processed {"connection_id":207237,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:18:33] local.INFO: Acknowledgment sent {"connection_id":207237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:18:37] local.INFO: TCP Data received {"connection_id":207238,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:18:37] local.INFO: Processing buffer {"connection_id":207238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:18:37] local.INFO: Packet analysis {"connection_id":207238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:18:37] local.INFO: Extracted packet for processing {"connection_id":207238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:18:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537158144001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791161075000,"timestamp_ms":1791161075000,"timestamp_seconds":1791161075,"priority":1,"record_length":96,"hex_timestamp":"000001a109850538"} 
[2026-10-05 06:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 06:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 06:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537158144001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537158144001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:18:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:18:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537158144001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":207238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965705,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:18:37] local.INFO: GPS data processed {"connection_id":207238,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:18:37] local.INFO: Acknowledgment sent {"connection_id":207238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:18:55] local.INFO: TCP Data received {"connection_id":205678,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:18:55] local.INFO: Processing buffer {"connection_id":205678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:18:55] local.INFO: IMEI packet received {"connection_id":205678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":205678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:19:00] local.INFO: TCP Data received {"connection_id":205679,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:19:00] local.INFO: Processing buffer {"connection_id":205679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:19:00] local.INFO: IMEI packet received {"connection_id":205679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":205679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:19:01] local.INFO: TCP Data received {"connection_id":205678,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:19:01] local.INFO: Processing buffer {"connection_id":205678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:19:01] local.INFO: IMEI packet received {"connection_id":205678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":205678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:19:01] local.INFO: TCP Data received {"connection_id":205678,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:19:01] local.INFO: Processing buffer {"connection_id":205678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:19:01] local.INFO: Packet analysis {"connection_id":205678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:19:01] local.INFO: Extracted packet for processing {"connection_id":205678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:19:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537162496001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:19: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-10-05 06:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791161092000,"timestamp_ms":1791161092000,"timestamp_seconds":1791161092,"priority":1,"record_length":96,"hex_timestamp":"000001a1098547a0"} 
[2026-10-05 06:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:19:01] 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-10-05 06:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:19: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-10-05 06:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:19: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-10-05 06:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537162496001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537162496001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:19:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:19:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537162496001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":205678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:19:01] local.INFO: GPS data processed {"connection_id":205678,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:19:01] local.INFO: Acknowledgment sent {"connection_id":205678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:19:05] local.INFO: TCP Data received {"connection_id":205679,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:19:05] local.INFO: Processing buffer {"connection_id":205679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:19:05] local.INFO: IMEI packet received {"connection_id":205679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":205679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:19:06] local.INFO: TCP Data received {"connection_id":205679,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:19:06] local.INFO: Processing buffer {"connection_id":205679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:19:06] local.INFO: Packet analysis {"connection_id":205679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:19:06] local.INFO: Extracted packet for processing {"connection_id":205679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:19:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537158144001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791161075000,"timestamp_ms":1791161075000,"timestamp_seconds":1791161075,"priority":1,"record_length":96,"hex_timestamp":"000001a109850538"} 
[2026-10-05 06:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 06:19:06] 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-10-05 06:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537158144001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537158144001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:19:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:19:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537158144001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":205679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965707,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:19:06] local.INFO: GPS data processed {"connection_id":205679,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:19:06] local.INFO: Acknowledgment sent {"connection_id":205679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:19:18] local.INFO: TCP Data received {"connection_id":204144,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204144,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:19:18] local.INFO: Processing buffer {"connection_id":204144,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:19:18] local.INFO: IMEI packet received {"connection_id":204144,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 06:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":204144,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:19:32] local.INFO: TCP Data received {"connection_id":205678,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:19:32] local.INFO: Processing buffer {"connection_id":205678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:19:32] local.INFO: Packet analysis {"connection_id":205678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:19:32] local.INFO: Extracted packet for processing {"connection_id":205678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537162496001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:19: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-10-05 06:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791161092000,"timestamp_ms":1791161092000,"timestamp_seconds":1791161092,"priority":1,"record_length":96,"hex_timestamp":"000001a1098547a0"} 
[2026-10-05 06:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:19:32] 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-10-05 06:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:19: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-10-05 06:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:19: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-10-05 06:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537162496001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537162496001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:19:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:19:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537162496001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":205678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:19:32] local.INFO: GPS data processed {"connection_id":205678,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:19:32] local.INFO: Acknowledgment sent {"connection_id":205678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:19:37] local.INFO: TCP Data received {"connection_id":205679,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:19:37] local.INFO: Processing buffer {"connection_id":205679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109850538012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:19:37] local.INFO: Packet analysis {"connection_id":205679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:19:37] local.INFO: Extracted packet for processing {"connection_id":205679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:19:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537158144001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791161075000,"timestamp_ms":1791161075000,"timestamp_seconds":1791161075,"priority":1,"record_length":96,"hex_timestamp":"000001a109850538"} 
[2026-10-05 06:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 06:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 06:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537158144001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537158144001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:19:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:19:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537158144001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":205679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:19:37] local.INFO: GPS data processed {"connection_id":205679,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:19:37] local.INFO: Acknowledgment sent {"connection_id":205679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:19:43] local.INFO: TCP Data received {"connection_id":204145,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:19:43] local.INFO: Processing buffer {"connection_id":204145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:19:43] local.INFO: IMEI packet received {"connection_id":204145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 06:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":204145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:20:00] local.INFO: TCP Data received {"connection_id":204146,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:20:00] local.INFO: Processing buffer {"connection_id":204146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:20:00] local.INFO: IMEI packet received {"connection_id":204146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":204146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:20:01] local.INFO: TCP Data received {"connection_id":204237,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:20:01] local.INFO: Processing buffer {"connection_id":204237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:20:01] local.INFO: IMEI packet received {"connection_id":204237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":204237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:20:05] local.INFO: TCP Data received {"connection_id":204146,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:20:05] local.INFO: Processing buffer {"connection_id":204146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:20:05] local.INFO: IMEI packet received {"connection_id":204146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":204146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:20:06] local.INFO: TCP Data received {"connection_id":204146,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:20:06] local.INFO: Processing buffer {"connection_id":204146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:20:06] local.INFO: Packet analysis {"connection_id":204146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:20:06] local.INFO: Extracted packet for processing {"connection_id":204146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:20:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537235200001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791161376000,"timestamp_ms":1791161376000,"timestamp_seconds":1791161376,"priority":1,"record_length":96,"hex_timestamp":"000001a109899d00"} 
[2026-10-05 06:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:20: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-10-05 06:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537235200001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537235200001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:20:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:20:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537235200001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":204146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965710,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:20:06] local.INFO: GPS data processed {"connection_id":204146,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:20:06] local.INFO: Acknowledgment sent {"connection_id":204146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:20:07] local.INFO: TCP Data received {"connection_id":204237,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:20:07] local.INFO: Processing buffer {"connection_id":204237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098547a0012d7f91c005afd9f00009010122..."} 
[2026-10-05 06:20:07] local.INFO: Packet analysis {"connection_id":204237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:20:07] local.INFO: Extracted packet for processing {"connection_id":204237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10985"} 
[2026-10-05 06:20:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537162496001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:20: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-10-05 06:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791161092000,"timestamp_ms":1791161092000,"timestamp_seconds":1791161092,"priority":1,"record_length":96,"hex_timestamp":"000001a1098547a0"} 
[2026-10-05 06:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:20: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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:20:07] 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-10-05 06: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-10-05 06:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537162496001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537162496001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:20:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:20:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537162496001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":204237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:20:07] local.INFO: GPS data processed {"connection_id":204237,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:20:07] local.INFO: Acknowledgment sent {"connection_id":204237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:20:37] local.INFO: TCP Data received {"connection_id":204146,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:20:37] local.INFO: Processing buffer {"connection_id":204146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:20:37] local.INFO: Packet analysis {"connection_id":204146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:20:37] local.INFO: Extracted packet for processing {"connection_id":204146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:20:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537235200001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791161376000,"timestamp_ms":1791161376000,"timestamp_seconds":1791161376,"priority":1,"record_length":96,"hex_timestamp":"000001a109899d00"} 
[2026-10-05 06:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:20:37] 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-10-05 06:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537235200001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537235200001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:20:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:20:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537235200001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":204146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965712,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:20:37] local.INFO: GPS data processed {"connection_id":204146,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:20:37] local.INFO: Acknowledgment sent {"connection_id":204146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:20:38] local.INFO: TCP Data received {"connection_id":204237,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:20:38] local.INFO: Processing buffer {"connection_id":204237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:20:38] local.INFO: Packet analysis {"connection_id":204237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:20:38] local.INFO: Extracted packet for processing {"connection_id":204237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:20:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537239552001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791161392000,"timestamp_ms":1791161392000,"timestamp_seconds":1791161392,"priority":1,"record_length":96,"hex_timestamp":"000001a10989db80"} 
[2026-10-05 06:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:20:38] 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-10-05 06:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:20:38] 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-10-05 06:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537239552001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537239552001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:20:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:20:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537239552001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":204237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:20:38] local.INFO: GPS data processed {"connection_id":204237,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:20:38] local.INFO: Acknowledgment sent {"connection_id":204237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:21:00] local.INFO: TCP Data received {"connection_id":204238,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204238,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:21:00] local.INFO: Processing buffer {"connection_id":204238,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:21:00] local.INFO: IMEI packet received {"connection_id":204238,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":204238,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:21:01] local.INFO: TCP Data received {"connection_id":207239,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:21:01] local.INFO: Processing buffer {"connection_id":207239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:21:01] local.INFO: IMEI packet received {"connection_id":207239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":207239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:21:05] local.INFO: TCP Data received {"connection_id":204238,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204238,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:21:05] local.INFO: Processing buffer {"connection_id":204238,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:21:05] local.INFO: IMEI packet received {"connection_id":204238,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":204238,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:21:06] local.INFO: TCP Data received {"connection_id":204238,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:21:06] local.INFO: Processing buffer {"connection_id":204238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:21:06] local.INFO: Packet analysis {"connection_id":204238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:21:06] local.INFO: Extracted packet for processing {"connection_id":204238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:21:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537235200001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791161376000,"timestamp_ms":1791161376000,"timestamp_seconds":1791161376,"priority":1,"record_length":96,"hex_timestamp":"000001a109899d00"} 
[2026-10-05 06:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:21: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-10-05 06:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537235200001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537235200001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:21:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:21:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537235200001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":204238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965714,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:21:06] local.INFO: GPS data processed {"connection_id":204238,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:21:06] local.INFO: Acknowledgment sent {"connection_id":204238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:21:06] local.INFO: TCP Data received {"connection_id":207239,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:21:06] local.INFO: Processing buffer {"connection_id":207239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:21:06] local.INFO: IMEI packet received {"connection_id":207239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":207239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:21:06] local.INFO: TCP Data received {"connection_id":207239,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:21:06] local.INFO: Processing buffer {"connection_id":207239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:21:06] local.INFO: Packet analysis {"connection_id":207239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:21:06] local.INFO: Extracted packet for processing {"connection_id":207239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:21:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537239552001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:21: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-10-05 06:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791161392000,"timestamp_ms":1791161392000,"timestamp_seconds":1791161392,"priority":1,"record_length":96,"hex_timestamp":"000001a10989db80"} 
[2026-10-05 06:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:21:06] 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-10-05 06:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:21:06] 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-10-05 06:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537239552001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537239552001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:21:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:21:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537239552001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":207239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:21:07] local.INFO: GPS data processed {"connection_id":207239,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:21:07] local.INFO: Acknowledgment sent {"connection_id":207239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:21:37] local.INFO: TCP Data received {"connection_id":204238,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:21:37] local.INFO: Processing buffer {"connection_id":204238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:21:37] local.INFO: Packet analysis {"connection_id":204238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:21:37] local.INFO: Extracted packet for processing {"connection_id":204238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:21:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537235200001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791161376000,"timestamp_ms":1791161376000,"timestamp_seconds":1791161376,"priority":1,"record_length":96,"hex_timestamp":"000001a109899d00"} 
[2026-10-05 06:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:21:37] 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-10-05 06:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537235200001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537235200001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:21:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:21:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537235200001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":204238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:21:37] local.INFO: GPS data processed {"connection_id":204238,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:21:37] local.INFO: Acknowledgment sent {"connection_id":204238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:21:37] local.INFO: TCP Data received {"connection_id":207239,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:21:37] local.INFO: Processing buffer {"connection_id":207239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:21:37] local.INFO: Packet analysis {"connection_id":207239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:21:37] local.INFO: Extracted packet for processing {"connection_id":207239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:21:37] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537239552001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791161392000,"timestamp_ms":1791161392000,"timestamp_seconds":1791161392,"priority":1,"record_length":96,"hex_timestamp":"000001a10989db80"} 
[2026-10-05 06:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:21:37] 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-10-05 06:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:21:37] 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-10-05 06:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537239552001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537239552001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:21:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:21:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537239552001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":207239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:21:37] local.INFO: GPS data processed {"connection_id":207239,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:21:37] local.INFO: Acknowledgment sent {"connection_id":207239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:21:56] local.INFO: TCP Data received {"connection_id":205682,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:21:56] local.INFO: Processing buffer {"connection_id":205682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:21:56] local.INFO: IMEI packet received {"connection_id":205682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":205682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:22:00] local.INFO: TCP Data received {"connection_id":204239,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:22:00] local.INFO: Processing buffer {"connection_id":204239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:22:00] local.INFO: IMEI packet received {"connection_id":204239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":204239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:22:01] local.INFO: TCP Data received {"connection_id":205682,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:22:01] local.INFO: Processing buffer {"connection_id":205682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:22:01] local.INFO: IMEI packet received {"connection_id":205682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":205682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:22:01] local.INFO: TCP Data received {"connection_id":205682,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:22:01] local.INFO: Processing buffer {"connection_id":205682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:22:01] local.INFO: Packet analysis {"connection_id":205682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:22:01] local.INFO: Extracted packet for processing {"connection_id":205682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:22:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537239552001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791161392000,"timestamp_ms":1791161392000,"timestamp_seconds":1791161392,"priority":1,"record_length":96,"hex_timestamp":"000001a10989db80"} 
[2026-10-05 06:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:22:01] 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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:22: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-10-05 06: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-10-05 06:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:22: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-10-05 06:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537239552001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537239552001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:22:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:22:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537239552001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":205682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:22:01] local.INFO: GPS data processed {"connection_id":205682,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:22:01] local.INFO: Acknowledgment sent {"connection_id":205682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:22:05] local.INFO: TCP Data received {"connection_id":204239,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:22:05] local.INFO: Processing buffer {"connection_id":204239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:22:05] local.INFO: IMEI packet received {"connection_id":204239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":204239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:22:06] local.INFO: TCP Data received {"connection_id":204239,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:22:06] local.INFO: Processing buffer {"connection_id":204239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:22:06] local.INFO: Packet analysis {"connection_id":204239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:22:06] local.INFO: Extracted packet for processing {"connection_id":204239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:22:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537235200001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791161376000,"timestamp_ms":1791161376000,"timestamp_seconds":1791161376,"priority":1,"record_length":96,"hex_timestamp":"000001a109899d00"} 
[2026-10-05 06:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:22: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-10-05 06:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537235200001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537235200001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:22:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:22:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537235200001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":204239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965719,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:22:06] local.INFO: GPS data processed {"connection_id":204239,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:22:06] local.INFO: Acknowledgment sent {"connection_id":204239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:22:32] local.INFO: TCP Data received {"connection_id":205682,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:22:32] local.INFO: Processing buffer {"connection_id":205682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:22:32] local.INFO: Packet analysis {"connection_id":205682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:22:32] local.INFO: Extracted packet for processing {"connection_id":205682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537239552001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:22: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-10-05 06:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791161392000,"timestamp_ms":1791161392000,"timestamp_seconds":1791161392,"priority":1,"record_length":96,"hex_timestamp":"000001a10989db80"} 
[2026-10-05 06:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:22:32] 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-10-05 06:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:22: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-10-05 06:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:22: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-10-05 06:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537239552001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537239552001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:22:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:22:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537239552001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":205682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:22:32] local.INFO: GPS data processed {"connection_id":205682,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:22:32] local.INFO: Acknowledgment sent {"connection_id":205682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:22:37] local.INFO: TCP Data received {"connection_id":204239,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:22:37] local.INFO: Processing buffer {"connection_id":204239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:22:37] local.INFO: Packet analysis {"connection_id":204239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:22:37] local.INFO: Extracted packet for processing {"connection_id":204239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:22:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537235200001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791161376000,"timestamp_ms":1791161376000,"timestamp_seconds":1791161376,"priority":1,"record_length":96,"hex_timestamp":"000001a109899d00"} 
[2026-10-05 06:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:22:37] 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-10-05 06:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537235200001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537235200001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:22:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:22:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537235200001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":204239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965721,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:22:37] local.INFO: GPS data processed {"connection_id":204239,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:22:37] local.INFO: Acknowledgment sent {"connection_id":204239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:22:56] local.INFO: TCP Data received {"connection_id":207241,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:22:56] local.INFO: Processing buffer {"connection_id":207241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:22:56] local.INFO: IMEI packet received {"connection_id":207241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":207241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:23:01] local.INFO: TCP Data received {"connection_id":207241,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:23:01] local.INFO: Processing buffer {"connection_id":207241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:23:01] local.INFO: IMEI packet received {"connection_id":207241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":207241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:23:02] local.INFO: TCP Data received {"connection_id":207241,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:23:02] local.INFO: Processing buffer {"connection_id":207241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:23:02] local.INFO: Packet analysis {"connection_id":207241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:23:02] local.INFO: Extracted packet for processing {"connection_id":207241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:23:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537239552001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:23: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-10-05 06:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791161392000,"timestamp_ms":1791161392000,"timestamp_seconds":1791161392,"priority":1,"record_length":96,"hex_timestamp":"000001a10989db80"} 
[2026-10-05 06:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:23: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-10-05 06:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:23: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-10-05 06: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-10-05 06:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:23: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-10-05 06:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537239552001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537239552001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:23:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:23:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537239552001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":207241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:23:02] local.INFO: GPS data processed {"connection_id":207241,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:23:02] local.INFO: Acknowledgment sent {"connection_id":207241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:23:05] local.INFO: TCP Data received {"connection_id":205683,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205683,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:23:05] local.INFO: Processing buffer {"connection_id":205683,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:23:05] local.INFO: IMEI packet received {"connection_id":205683,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":205683,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:23:10] local.INFO: TCP Data received {"connection_id":205683,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205683,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:23:10] local.INFO: Processing buffer {"connection_id":205683,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:23:10] local.INFO: IMEI packet received {"connection_id":205683,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":205683,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:23:11] local.INFO: TCP Data received {"connection_id":205683,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:23:11] local.INFO: Processing buffer {"connection_id":205683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:23:11] local.INFO: Packet analysis {"connection_id":205683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:23:11] local.INFO: Extracted packet for processing {"connection_id":205683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:23:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537235200001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791161376000,"timestamp_ms":1791161376000,"timestamp_seconds":1791161376,"priority":1,"record_length":96,"hex_timestamp":"000001a109899d00"} 
[2026-10-05 06:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:23:11] 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-10-05 06:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537235200001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537235200001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:23:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537235200001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":205683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965723,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:23:11] local.INFO: GPS data processed {"connection_id":205683,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:23:11] local.INFO: Acknowledgment sent {"connection_id":205683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:23:16] local.INFO: TCP Data received {"connection_id":205683,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:23:16] local.INFO: Processing buffer {"connection_id":205683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:23:16] local.INFO: Packet analysis {"connection_id":205683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:23:16] local.INFO: Extracted packet for processing {"connection_id":205683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:23:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537235200001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791161376000,"timestamp_ms":1791161376000,"timestamp_seconds":1791161376,"priority":1,"record_length":96,"hex_timestamp":"000001a109899d00"} 
[2026-10-05 06:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 06:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537235200001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537235200001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:23:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:23:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537235200001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":205683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:23:16] local.INFO: GPS data processed {"connection_id":205683,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:23:16] local.INFO: Acknowledgment sent {"connection_id":205683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:23:33] local.INFO: TCP Data received {"connection_id":207241,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:23:33] local.INFO: Processing buffer {"connection_id":207241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:23:33] local.INFO: Packet analysis {"connection_id":207241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:23:33] local.INFO: Extracted packet for processing {"connection_id":207241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537239552001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791161392000,"timestamp_ms":1791161392000,"timestamp_seconds":1791161392,"priority":1,"record_length":96,"hex_timestamp":"000001a10989db80"} 
[2026-10-05 06:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:23:33] 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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:23:33] 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-10-05 06: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-10-05 06:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:23:33] 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-10-05 06:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537239552001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537239552001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:23:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:23:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537239552001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":207241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:23:33] local.INFO: GPS data processed {"connection_id":207241,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:23:33] local.INFO: Acknowledgment sent {"connection_id":207241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:23:55] local.INFO: TCP Data received {"connection_id":205685,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:23:55] local.INFO: Processing buffer {"connection_id":205685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:23:55] local.INFO: IMEI packet received {"connection_id":205685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":205685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:24:00] local.INFO: TCP Data received {"connection_id":204240,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204240,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:24:00] local.INFO: Processing buffer {"connection_id":204240,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:24:00] local.INFO: IMEI packet received {"connection_id":204240,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":204240,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:24:01] local.INFO: TCP Data received {"connection_id":205685,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:24:01] local.INFO: Processing buffer {"connection_id":205685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:24:01] local.INFO: IMEI packet received {"connection_id":205685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":205685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:24:02] local.INFO: TCP Data received {"connection_id":205685,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:24:02] local.INFO: Processing buffer {"connection_id":205685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:24:02] local.INFO: Packet analysis {"connection_id":205685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:24:02] local.INFO: Extracted packet for processing {"connection_id":205685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:24:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537239552001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:24: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-10-05 06:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791161392000,"timestamp_ms":1791161392000,"timestamp_seconds":1791161392,"priority":1,"record_length":96,"hex_timestamp":"000001a10989db80"} 
[2026-10-05 06:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:24: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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:24: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-10-05 06: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-10-05 06:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:24: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-10-05 06:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537239552001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537239552001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:24:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:24:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537239552001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":205685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:24:02] local.INFO: GPS data processed {"connection_id":205685,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:24:02] local.INFO: Acknowledgment sent {"connection_id":205685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:24:05] local.INFO: TCP Data received {"connection_id":204240,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204240,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:24:05] local.INFO: Processing buffer {"connection_id":204240,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:24:05] local.INFO: IMEI packet received {"connection_id":204240,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":204240,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:24:06] local.INFO: TCP Data received {"connection_id":204240,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:24:06] local.INFO: Processing buffer {"connection_id":204240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:24:06] local.INFO: Packet analysis {"connection_id":204240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:24:06] local.INFO: Extracted packet for processing {"connection_id":204240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:24:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537235200001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791161376000,"timestamp_ms":1791161376000,"timestamp_seconds":1791161376,"priority":1,"record_length":96,"hex_timestamp":"000001a109899d00"} 
[2026-10-05 06:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:24: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-10-05 06:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537235200001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537235200001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:24:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:24:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537235200001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":204240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:24:06] local.INFO: GPS data processed {"connection_id":204240,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:24:06] local.INFO: Acknowledgment sent {"connection_id":204240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:24:33] local.INFO: TCP Data received {"connection_id":205685,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:24:33] local.INFO: Processing buffer {"connection_id":205685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:24:33] local.INFO: Packet analysis {"connection_id":205685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:24:33] local.INFO: Extracted packet for processing {"connection_id":205685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537239552001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:24: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-10-05 06:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791161392000,"timestamp_ms":1791161392000,"timestamp_seconds":1791161392,"priority":1,"record_length":96,"hex_timestamp":"000001a10989db80"} 
[2026-10-05 06:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:24:33] 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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:24:33] 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-10-05 06: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-10-05 06:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:24: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-10-05 06:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537239552001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537239552001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:24:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:24:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537239552001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":205685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:24:33] local.INFO: GPS data processed {"connection_id":205685,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:24:33] local.INFO: Acknowledgment sent {"connection_id":205685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:24:36] local.INFO: TCP Data received {"connection_id":204240,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:24:36] local.INFO: Processing buffer {"connection_id":204240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109899d00012d7c2ac005dac8a0000000bf21..."} 
[2026-10-05 06:24:36] local.INFO: Packet analysis {"connection_id":204240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:24:36] local.INFO: Extracted packet for processing {"connection_id":204240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:24:36] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":33,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537235200001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791161376000,"timestamp_ms":1791161376000,"timestamp_seconds":1791161376,"priority":1,"record_length":96,"hex_timestamp":"000001a109899d00"} 
[2026-10-05 06:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:24:36] 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-10-05 06: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-10-05 06:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537235200001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537235200001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:24:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:24:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537235200001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":204240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:24:36] local.INFO: GPS data processed {"connection_id":204240,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:24:36] local.INFO: Acknowledgment sent {"connection_id":204240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:24:55] local.INFO: TCP Data received {"connection_id":207242,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:24:55] local.INFO: Processing buffer {"connection_id":207242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:24:55] local.INFO: IMEI packet received {"connection_id":207242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":207242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:25:00] local.INFO: TCP Data received {"connection_id":204147,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204147,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:25:00] local.INFO: Processing buffer {"connection_id":204147,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:25:00] local.INFO: IMEI packet received {"connection_id":204147,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":204147,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:25:01] local.INFO: TCP Data received {"connection_id":207242,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:25:01] local.INFO: Processing buffer {"connection_id":207242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:25:01] local.INFO: IMEI packet received {"connection_id":207242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":207242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:25:01] local.INFO: TCP Data received {"connection_id":207242,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:25:01] local.INFO: Processing buffer {"connection_id":207242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10989db80012d7f91c005afd9f0000c010123..."} 
[2026-10-05 06:25:01] local.INFO: Packet analysis {"connection_id":207242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:25:01] local.INFO: Extracted packet for processing {"connection_id":207242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10989"} 
[2026-10-05 06:25:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":12,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 06:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537239552001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 06:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791161392000,"timestamp_ms":1791161392000,"timestamp_seconds":1791161392,"priority":1,"record_length":96,"hex_timestamp":"000001a10989db80"} 
[2026-10-05 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-10-05 06:25:01] 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-10-05 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":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:25: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-10-05 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-10-05 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-10-05 06:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:25: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-10-05 06:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537239552001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537239552001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:25:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:25:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537239552001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":207242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:25:01] local.INFO: GPS data processed {"connection_id":207242,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:25:01] local.INFO: Acknowledgment sent {"connection_id":207242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:25:03] local.INFO: TCP Data received {"connection_id":204241,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:25:03] local.INFO: Processing buffer {"connection_id":204241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:25:03] local.INFO: IMEI packet received {"connection_id":204241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 06:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":204241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:25:05] local.INFO: TCP Data received {"connection_id":204147,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204147,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:25:05] local.INFO: Processing buffer {"connection_id":204147,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:25:05] local.INFO: IMEI packet received {"connection_id":204147,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":204147,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:25:06] local.INFO: TCP Data received {"connection_id":204147,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:25:06] local.INFO: Processing buffer {"connection_id":204147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:25:06] local.INFO: Packet analysis {"connection_id":204147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:25:06] local.INFO: Extracted packet for processing {"connection_id":204147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:25:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537312256001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791161677000,"timestamp_ms":1791161677000,"timestamp_seconds":1791161677,"priority":1,"record_length":96,"hex_timestamp":"000001a1098e34c8"} 
[2026-10-05 06:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 06:25:06] 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-10-05 06:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537312256001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537312256001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:25:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:25:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537312256001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":204147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965731,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:25:06] local.INFO: GPS data processed {"connection_id":204147,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:25:06] local.INFO: Acknowledgment sent {"connection_id":204147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:25:32] local.INFO: TCP Data received {"connection_id":207242,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:25:32] local.INFO: Processing buffer {"connection_id":207242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:25:32] local.INFO: Packet analysis {"connection_id":207242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:25:32] local.INFO: Extracted packet for processing {"connection_id":207242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:25:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 06:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537316352001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 06:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791161694000,"timestamp_ms":1791161694000,"timestamp_seconds":1791161694,"priority":1,"record_length":96,"hex_timestamp":"000001a1098e7730"} 
[2026-10-05 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-10-05 06:25:32] 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-10-05 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":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:25: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-10-05 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-10-05 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-10-05 06:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:25: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-10-05 06:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537316352001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537316352001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:25:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:25:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537316352001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":207242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:25:32] local.INFO: GPS data processed {"connection_id":207242,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:25:32] local.INFO: Acknowledgment sent {"connection_id":207242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:25:37] local.INFO: TCP Data received {"connection_id":204147,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:25:37] local.INFO: Processing buffer {"connection_id":204147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:25:37] local.INFO: Packet analysis {"connection_id":204147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:25:37] local.INFO: Extracted packet for processing {"connection_id":204147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:25:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537312256001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791161677000,"timestamp_ms":1791161677000,"timestamp_seconds":1791161677,"priority":1,"record_length":96,"hex_timestamp":"000001a1098e34c8"} 
[2026-10-05 06:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 06:25:37] 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-10-05 06:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537312256001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537312256001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:25:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:25:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537312256001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":204147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965733,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:25:37] local.INFO: GPS data processed {"connection_id":204147,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:25:37] local.INFO: Acknowledgment sent {"connection_id":204147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:25:48] local.INFO: TCP Data received {"connection_id":207243,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:25:48] local.INFO: Processing buffer {"connection_id":207243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:25:48] local.INFO: IMEI packet received {"connection_id":207243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 06:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":207243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:26:00] local.INFO: TCP Data received {"connection_id":205686,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:26:00] local.INFO: Processing buffer {"connection_id":205686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:26:00] local.INFO: IMEI packet received {"connection_id":205686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":205686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:26:01] local.INFO: TCP Data received {"connection_id":204148,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:26:01] local.INFO: Processing buffer {"connection_id":204148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:26:01] local.INFO: IMEI packet received {"connection_id":204148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":204148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:26:05] local.INFO: TCP Data received {"connection_id":205686,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:26:05] local.INFO: Processing buffer {"connection_id":205686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:26:05] local.INFO: IMEI packet received {"connection_id":205686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":205686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:26:06] local.INFO: TCP Data received {"connection_id":204148,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:26:06] local.INFO: Processing buffer {"connection_id":204148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:26:06] local.INFO: IMEI packet received {"connection_id":204148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":204148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:26:06] local.INFO: TCP Data received {"connection_id":205686,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:26:06] local.INFO: Processing buffer {"connection_id":205686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:26:06] local.INFO: Packet analysis {"connection_id":205686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:26:06] local.INFO: Extracted packet for processing {"connection_id":205686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:26:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537312256001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791161677000,"timestamp_ms":1791161677000,"timestamp_seconds":1791161677,"priority":1,"record_length":96,"hex_timestamp":"000001a1098e34c8"} 
[2026-10-05 06:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 06:26:06] 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-10-05 06:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537312256001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537312256001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:26:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:26:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537312256001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":205686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965734,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:26:06] local.INFO: GPS data processed {"connection_id":205686,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:26:06] local.INFO: Acknowledgment sent {"connection_id":205686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:26:07] local.INFO: TCP Data received {"connection_id":204148,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:26:07] local.INFO: Processing buffer {"connection_id":204148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:26:07] local.INFO: Packet analysis {"connection_id":204148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:26:07] local.INFO: Extracted packet for processing {"connection_id":204148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:26:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537316352001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:26: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-10-05 06:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791161694000,"timestamp_ms":1791161694000,"timestamp_seconds":1791161694,"priority":1,"record_length":96,"hex_timestamp":"000001a1098e7730"} 
[2026-10-05 06:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:26: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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:26:07] 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-10-05 06: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-10-05 06:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537316352001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537316352001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:26:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:26:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537316352001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":204148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:26:07] local.INFO: GPS data processed {"connection_id":204148,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:26:07] local.INFO: Acknowledgment sent {"connection_id":204148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:26:37] local.INFO: TCP Data received {"connection_id":205686,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:26:37] local.INFO: Processing buffer {"connection_id":205686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:26:37] local.INFO: Packet analysis {"connection_id":205686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:26:37] local.INFO: Extracted packet for processing {"connection_id":205686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:26:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537312256001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791161677000,"timestamp_ms":1791161677000,"timestamp_seconds":1791161677,"priority":1,"record_length":96,"hex_timestamp":"000001a1098e34c8"} 
[2026-10-05 06:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 06:26:37] 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-10-05 06:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537312256001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537312256001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:26:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:26:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537312256001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":205686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965736,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:26:37] local.INFO: GPS data processed {"connection_id":205686,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:26:37] local.INFO: Acknowledgment sent {"connection_id":205686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:26:38] local.INFO: TCP Data received {"connection_id":204148,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:26:38] local.INFO: Processing buffer {"connection_id":204148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:26:38] local.INFO: Packet analysis {"connection_id":204148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:26:38] local.INFO: Extracted packet for processing {"connection_id":204148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:26:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537316352001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791161694000,"timestamp_ms":1791161694000,"timestamp_seconds":1791161694,"priority":1,"record_length":96,"hex_timestamp":"000001a1098e7730"} 
[2026-10-05 06:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:26:38] 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-10-05 06:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:26:38] 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-10-05 06:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537316352001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537316352001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:26:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:26:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537316352001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":204148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:26:38] local.INFO: GPS data processed {"connection_id":204148,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:26:38] local.INFO: Acknowledgment sent {"connection_id":204148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:26:56] local.INFO: TCP Data received {"connection_id":205687,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:26:56] local.INFO: Processing buffer {"connection_id":205687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:26:56] local.INFO: IMEI packet received {"connection_id":205687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":205687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:27:01] local.INFO: TCP Data received {"connection_id":205687,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:27:01] local.INFO: Processing buffer {"connection_id":205687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:27:01] local.INFO: IMEI packet received {"connection_id":205687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":205687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:27:01] local.INFO: TCP Data received {"connection_id":205687,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:27:01] local.INFO: Processing buffer {"connection_id":205687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:27:01] local.INFO: Packet analysis {"connection_id":205687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:27:01] local.INFO: Extracted packet for processing {"connection_id":205687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:27:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537316352001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791161694000,"timestamp_ms":1791161694000,"timestamp_seconds":1791161694,"priority":1,"record_length":96,"hex_timestamp":"000001a1098e7730"} 
[2026-10-05 06:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:27:01] 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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:27: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-10-05 06: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-10-05 06:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:27: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-10-05 06:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537316352001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537316352001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:27:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:27:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537316352001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":205687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:27:01] local.INFO: GPS data processed {"connection_id":205687,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:27:01] local.INFO: Acknowledgment sent {"connection_id":205687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:27:05] local.INFO: TCP Data received {"connection_id":204243,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:27:05] local.INFO: Processing buffer {"connection_id":204243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:27:05] local.INFO: IMEI packet received {"connection_id":204243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":204243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:27:10] local.INFO: TCP Data received {"connection_id":204243,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:27:10] local.INFO: Processing buffer {"connection_id":204243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:27:10] local.INFO: IMEI packet received {"connection_id":204243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":204243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:27:11] local.INFO: TCP Data received {"connection_id":204243,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:27:11] local.INFO: Processing buffer {"connection_id":204243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:27:11] local.INFO: Packet analysis {"connection_id":204243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:27:11] local.INFO: Extracted packet for processing {"connection_id":204243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:27:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537312256001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791161677000,"timestamp_ms":1791161677000,"timestamp_seconds":1791161677,"priority":1,"record_length":96,"hex_timestamp":"000001a1098e34c8"} 
[2026-10-05 06:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 06:27:11] 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-10-05 06: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-10-05 06:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537312256001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537312256001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:27:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:27:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537312256001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":204243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:27:11] local.INFO: GPS data processed {"connection_id":204243,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:27:11] local.INFO: Acknowledgment sent {"connection_id":204243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:27:15] local.INFO: TCP Data received {"connection_id":204243,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:27:15] local.INFO: Processing buffer {"connection_id":204243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:27:15] local.INFO: Packet analysis {"connection_id":204243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:27:15] local.INFO: Extracted packet for processing {"connection_id":204243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:27:15] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537312256001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791161677000,"timestamp_ms":1791161677000,"timestamp_seconds":1791161677,"priority":1,"record_length":96,"hex_timestamp":"000001a1098e34c8"} 
[2026-10-05 06:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 06:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 06:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537312256001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537312256001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:27:15] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:27:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537312256001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":204243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965740,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:27:15] local.INFO: GPS data processed {"connection_id":204243,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:27:15] local.INFO: Acknowledgment sent {"connection_id":204243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:27:32] local.INFO: TCP Data received {"connection_id":205687,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:27:32] local.INFO: Processing buffer {"connection_id":205687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:27:32] local.INFO: Packet analysis {"connection_id":205687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:27:32] local.INFO: Extracted packet for processing {"connection_id":205687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:27:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537316352001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791161694000,"timestamp_ms":1791161694000,"timestamp_seconds":1791161694,"priority":1,"record_length":96,"hex_timestamp":"000001a1098e7730"} 
[2026-10-05 06:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:27:32] 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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:27: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-10-05 06: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-10-05 06:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:27: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-10-05 06:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537316352001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537316352001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:27:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:27:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537316352001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":205687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:27:32] local.INFO: GPS data processed {"connection_id":205687,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:27:32] local.INFO: Acknowledgment sent {"connection_id":205687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:27:56] local.INFO: TCP Data received {"connection_id":205688,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:27:56] local.INFO: Processing buffer {"connection_id":205688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:27:56] local.INFO: IMEI packet received {"connection_id":205688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":205688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:28:00] local.INFO: TCP Data received {"connection_id":204244,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:28:00] local.INFO: Processing buffer {"connection_id":204244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:28:00] local.INFO: IMEI packet received {"connection_id":204244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":204244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:28:01] local.INFO: TCP Data received {"connection_id":205688,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:28:01] local.INFO: Processing buffer {"connection_id":205688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:28:01] local.INFO: IMEI packet received {"connection_id":205688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":205688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:28:01] local.INFO: TCP Data received {"connection_id":205688,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:28:01] local.INFO: Processing buffer {"connection_id":205688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:28:01] local.INFO: Packet analysis {"connection_id":205688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:28:01] local.INFO: Extracted packet for processing {"connection_id":205688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:28:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537316352001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791161694000,"timestamp_ms":1791161694000,"timestamp_seconds":1791161694,"priority":1,"record_length":96,"hex_timestamp":"000001a1098e7730"} 
[2026-10-05 06:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:28:01] 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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:28: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-10-05 06: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-10-05 06:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06: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-10-05 06:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537316352001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537316352001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:28:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:28:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537316352001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":205688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:28:01] local.INFO: GPS data processed {"connection_id":205688,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:28:01] local.INFO: Acknowledgment sent {"connection_id":205688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:28:05] local.INFO: TCP Data received {"connection_id":204244,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:28:05] local.INFO: Processing buffer {"connection_id":204244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:28:05] local.INFO: IMEI packet received {"connection_id":204244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":204244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:28:06] local.INFO: TCP Data received {"connection_id":204244,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:28:06] local.INFO: Processing buffer {"connection_id":204244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:28:06] local.INFO: Packet analysis {"connection_id":204244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:28:06] local.INFO: Extracted packet for processing {"connection_id":204244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:28:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537312256001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791161677000,"timestamp_ms":1791161677000,"timestamp_seconds":1791161677,"priority":1,"record_length":96,"hex_timestamp":"000001a1098e34c8"} 
[2026-10-05 06:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 06:28:06] 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-10-05 06:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537312256001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537312256001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:28:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:28:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537312256001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":204244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965743,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:28:06] local.INFO: GPS data processed {"connection_id":204244,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:28:06] local.INFO: Acknowledgment sent {"connection_id":204244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:28:32] local.INFO: TCP Data received {"connection_id":205688,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:28:32] local.INFO: Processing buffer {"connection_id":205688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:28:32] local.INFO: Packet analysis {"connection_id":205688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:28:32] local.INFO: Extracted packet for processing {"connection_id":205688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:28:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:28: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-10-05 06:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537316352001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:28: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-10-05 06:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791161694000,"timestamp_ms":1791161694000,"timestamp_seconds":1791161694,"priority":1,"record_length":96,"hex_timestamp":"000001a1098e7730"} 
[2026-10-05 06:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:28:32] 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-10-05 06:28: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-10-05 06:28: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-10-05 06:28: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-10-05 06:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:28: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-10-05 06:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537316352001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537316352001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:28:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:28:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537316352001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":205688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:28:32] local.INFO: GPS data processed {"connection_id":205688,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:28:32] local.INFO: Acknowledgment sent {"connection_id":205688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:28:37] local.INFO: TCP Data received {"connection_id":204244,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:28:37] local.INFO: Processing buffer {"connection_id":204244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:28:37] local.INFO: Packet analysis {"connection_id":204244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:28:37] local.INFO: Extracted packet for processing {"connection_id":204244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:28:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537312256001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791161677000,"timestamp_ms":1791161677000,"timestamp_seconds":1791161677,"priority":1,"record_length":96,"hex_timestamp":"000001a1098e34c8"} 
[2026-10-05 06:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 06:28:37] 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-10-05 06:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537312256001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537312256001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:28:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:28:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537312256001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":204244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965745,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:28:37] local.INFO: GPS data processed {"connection_id":204244,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:28:37] local.INFO: Acknowledgment sent {"connection_id":204244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:28:55] local.INFO: TCP Data received {"connection_id":207246,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:28:55] local.INFO: Processing buffer {"connection_id":207246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:28:55] local.INFO: IMEI packet received {"connection_id":207246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":207246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:29:00] local.INFO: TCP Data received {"connection_id":204245,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:29:00] local.INFO: Processing buffer {"connection_id":204245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:29:00] local.INFO: IMEI packet received {"connection_id":204245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":204245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:29:01] local.INFO: TCP Data received {"connection_id":207246,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:29:01] local.INFO: Processing buffer {"connection_id":207246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:29:01] local.INFO: IMEI packet received {"connection_id":207246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":207246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:29:01] local.INFO: TCP Data received {"connection_id":207246,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:29:01] local.INFO: Processing buffer {"connection_id":207246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:29:01] local.INFO: Packet analysis {"connection_id":207246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:29:01] local.INFO: Extracted packet for processing {"connection_id":207246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:29:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537316352001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:29: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-10-05 06:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791161694000,"timestamp_ms":1791161694000,"timestamp_seconds":1791161694,"priority":1,"record_length":96,"hex_timestamp":"000001a1098e7730"} 
[2026-10-05 06:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:29:01] 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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:29: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-10-05 06: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-10-05 06:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:29: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-10-05 06:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537316352001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537316352001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:29:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:29:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537316352001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":207246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:29:01] local.INFO: GPS data processed {"connection_id":207246,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:29:01] local.INFO: Acknowledgment sent {"connection_id":207246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:29:05] local.INFO: TCP Data received {"connection_id":204245,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:29:05] local.INFO: Processing buffer {"connection_id":204245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:29:05] local.INFO: IMEI packet received {"connection_id":204245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":204245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:29:06] local.INFO: TCP Data received {"connection_id":204245,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:29:06] local.INFO: Processing buffer {"connection_id":204245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:29:06] local.INFO: Packet analysis {"connection_id":204245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:29:06] local.INFO: Extracted packet for processing {"connection_id":204245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:29:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537312256001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791161677000,"timestamp_ms":1791161677000,"timestamp_seconds":1791161677,"priority":1,"record_length":96,"hex_timestamp":"000001a1098e34c8"} 
[2026-10-05 06:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 06:29:06] 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-10-05 06:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537312256001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537312256001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:29:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:29:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537312256001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":204245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965747,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:29:06] local.INFO: GPS data processed {"connection_id":204245,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:29:06] local.INFO: Acknowledgment sent {"connection_id":204245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:29:32] local.INFO: TCP Data received {"connection_id":207246,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:29:32] local.INFO: Processing buffer {"connection_id":207246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:29:32] local.INFO: Packet analysis {"connection_id":207246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:29:32] local.INFO: Extracted packet for processing {"connection_id":207246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:29:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537316352001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:29: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-10-05 06:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791161694000,"timestamp_ms":1791161694000,"timestamp_seconds":1791161694,"priority":1,"record_length":96,"hex_timestamp":"000001a1098e7730"} 
[2026-10-05 06:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:29:32] 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-10-05 06:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:29: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-10-05 06:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:29: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-10-05 06:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537316352001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537316352001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:29:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:29:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537316352001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":207246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:29:32] local.INFO: GPS data processed {"connection_id":207246,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:29:32] local.INFO: Acknowledgment sent {"connection_id":207246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:29:37] local.INFO: TCP Data received {"connection_id":204245,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:29:37] local.INFO: Processing buffer {"connection_id":204245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098e34c8012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:29:37] local.INFO: Packet analysis {"connection_id":204245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:29:37] local.INFO: Extracted packet for processing {"connection_id":204245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:29:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537312256001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791161677000,"timestamp_ms":1791161677000,"timestamp_seconds":1791161677,"priority":1,"record_length":96,"hex_timestamp":"000001a1098e34c8"} 
[2026-10-05 06:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 06:29:37] 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-10-05 06:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537312256001,"66":12526,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537312256001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:29:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:29:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537312256001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":204245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:29:37] local.INFO: GPS data processed {"connection_id":204245,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:29:37] local.INFO: Acknowledgment sent {"connection_id":204245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:29:55] local.INFO: TCP Data received {"connection_id":205689,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:29:55] local.INFO: Processing buffer {"connection_id":205689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:29:55] local.INFO: IMEI packet received {"connection_id":205689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":205689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:30:00] local.INFO: TCP Data received {"connection_id":205690,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:30:00] local.INFO: Processing buffer {"connection_id":205690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:30:00] local.INFO: IMEI packet received {"connection_id":205690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":205690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:30:01] local.INFO: TCP Data received {"connection_id":205689,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:30:01] local.INFO: Processing buffer {"connection_id":205689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:30:01] local.INFO: IMEI packet received {"connection_id":205689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":205689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:30:01] local.INFO: TCP Data received {"connection_id":205689,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:30:01] local.INFO: Processing buffer {"connection_id":205689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:30:01] local.INFO: Packet analysis {"connection_id":205689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:30:01] local.INFO: Extracted packet for processing {"connection_id":205689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:30:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 06:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537316352001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 06:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791161694000,"timestamp_ms":1791161694000,"timestamp_seconds":1791161694,"priority":1,"record_length":96,"hex_timestamp":"000001a1098e7730"} 
[2026-10-05 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-10-05 06:30:01] 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-10-05 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":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:30: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-10-05 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-10-05 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-10-05 06:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:30: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-10-05 06:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537316352001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537316352001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:30:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:30:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537316352001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":205689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:30:01] local.INFO: GPS data processed {"connection_id":205689,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:30:01] local.INFO: Acknowledgment sent {"connection_id":205689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:30:05] local.INFO: TCP Data received {"connection_id":205690,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:30:05] local.INFO: Processing buffer {"connection_id":205690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:30:05] local.INFO: IMEI packet received {"connection_id":205690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":205690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:30:06] local.INFO: TCP Data received {"connection_id":205690,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:30:06] local.INFO: Processing buffer {"connection_id":205690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:30:06] local.INFO: Packet analysis {"connection_id":205690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10992"} 
[2026-10-05 06:30:06] local.INFO: Extracted packet for processing {"connection_id":205690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10992"} 
[2026-10-05 06:30:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537389312001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791161978000,"timestamp_ms":1791161978000,"timestamp_seconds":1791161978,"priority":1,"record_length":96,"hex_timestamp":"000001a10992cc90"} 
[2026-10-05 06:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 06:30:06] 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-10-05 06: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-10-05 06:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:30:06] 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-10-05 06:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537389312001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537389312001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:30:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:30:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537389312001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":205690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965751,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:30:06] local.INFO: GPS data processed {"connection_id":205690,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:30:06] local.INFO: Acknowledgment sent {"connection_id":205690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:30:32] local.INFO: TCP Data received {"connection_id":205689,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:30:32] local.INFO: Processing buffer {"connection_id":205689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1098e7730012d7f91c005afd9f0000d010124..."} 
[2026-10-05 06:30:32] local.INFO: Packet analysis {"connection_id":205689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:30:32] local.INFO: Extracted packet for processing {"connection_id":205689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1098e"} 
[2026-10-05 06:30:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 06:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537316352001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 06:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791161694000,"timestamp_ms":1791161694000,"timestamp_seconds":1791161694,"priority":1,"record_length":96,"hex_timestamp":"000001a1098e7730"} 
[2026-10-05 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-10-05 06:30:32] 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-10-05 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":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:30: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-10-05 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-10-05 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-10-05 06:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:30: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-10-05 06:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537316352001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537316352001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:30:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:30:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537316352001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":205689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:30:32] local.INFO: GPS data processed {"connection_id":205689,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:30:32] local.INFO: Acknowledgment sent {"connection_id":205689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:30:37] local.INFO: TCP Data received {"connection_id":205690,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:30:37] local.INFO: Processing buffer {"connection_id":205690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:30:37] local.INFO: Packet analysis {"connection_id":205690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10992"} 
[2026-10-05 06:30:37] local.INFO: Extracted packet for processing {"connection_id":205690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10992"} 
[2026-10-05 06:30:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537389312001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791161978000,"timestamp_ms":1791161978000,"timestamp_seconds":1791161978,"priority":1,"record_length":96,"hex_timestamp":"000001a10992cc90"} 
[2026-10-05 06:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 06:30:37] 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-10-05 06: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-10-05 06:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:30:37] 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-10-05 06:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537389312001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537389312001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:30:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:30:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537389312001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":205690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965753,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:30:37] local.INFO: GPS data processed {"connection_id":205690,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:30:37] local.INFO: Acknowledgment sent {"connection_id":205690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:31:00] local.INFO: TCP Data received {"connection_id":204247,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204247,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:31:00] local.INFO: Processing buffer {"connection_id":204247,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:31:00] local.INFO: IMEI packet received {"connection_id":204247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":204247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:31:01] local.INFO: TCP Data received {"connection_id":204150,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:31:01] local.INFO: Processing buffer {"connection_id":204150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:31:01] local.INFO: IMEI packet received {"connection_id":204150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":204150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:31:05] local.INFO: TCP Data received {"connection_id":204247,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204247,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:31:05] local.INFO: Processing buffer {"connection_id":204247,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:31:05] local.INFO: IMEI packet received {"connection_id":204247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":204247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:31:06] local.INFO: TCP Data received {"connection_id":204150,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:31:06] local.INFO: Processing buffer {"connection_id":204150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:31:06] local.INFO: IMEI packet received {"connection_id":204150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":204150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:31:06] local.INFO: TCP Data received {"connection_id":204247,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:31:06] local.INFO: Processing buffer {"connection_id":204247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:31:06] local.INFO: Packet analysis {"connection_id":204247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10992"} 
[2026-10-05 06:31:06] local.INFO: Extracted packet for processing {"connection_id":204247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10992"} 
[2026-10-05 06:31:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537389312001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791161978000,"timestamp_ms":1791161978000,"timestamp_seconds":1791161978,"priority":1,"record_length":96,"hex_timestamp":"000001a10992cc90"} 
[2026-10-05 06:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 06:31:06] 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-10-05 06:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537389312001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537389312001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:31:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:31:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537389312001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":204247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965754,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:31:06] local.INFO: GPS data processed {"connection_id":204247,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:31:06] local.INFO: Acknowledgment sent {"connection_id":204247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:31:06] local.INFO: TCP Data received {"connection_id":204150,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:31:06] local.INFO: Processing buffer {"connection_id":204150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:31:06] local.INFO: Packet analysis {"connection_id":204150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10993"} 
[2026-10-05 06:31:06] local.INFO: Extracted packet for processing {"connection_id":204150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10993"} 
[2026-10-05 06:31:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537393664001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:31: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-10-05 06:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791161995000,"timestamp_ms":1791161995000,"timestamp_seconds":1791161995,"priority":1,"record_length":96,"hex_timestamp":"000001a109930ef8"} 
[2026-10-05 06:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:31:06] 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-10-05 06:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:31:06] 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-10-05 06:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537393664001,"66":25147,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537393664001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:31:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:31:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537393664001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":204150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:31:06] local.INFO: GPS data processed {"connection_id":204150,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:31:06] local.INFO: Acknowledgment sent {"connection_id":204150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:31:17] local.INFO: TCP Data received {"connection_id":204149,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204149,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:31:17] local.INFO: Processing buffer {"connection_id":204149,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:31:17] local.INFO: IMEI packet received {"connection_id":204149,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 06:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":204149,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:31:37] local.INFO: TCP Data received {"connection_id":204247,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:31:37] local.INFO: Processing buffer {"connection_id":204247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:31:37] local.INFO: Packet analysis {"connection_id":204247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10992"} 
[2026-10-05 06:31:37] local.INFO: Extracted packet for processing {"connection_id":204247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10992"} 
[2026-10-05 06:31:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537389312001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791161978000,"timestamp_ms":1791161978000,"timestamp_seconds":1791161978,"priority":1,"record_length":96,"hex_timestamp":"000001a10992cc90"} 
[2026-10-05 06:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 06:31:37] 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-10-05 06:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537389312001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537389312001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:31:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:31:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537389312001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":204247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965756,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:31:37] local.INFO: GPS data processed {"connection_id":204247,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:31:37] local.INFO: Acknowledgment sent {"connection_id":204247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:31:38] local.INFO: TCP Data received {"connection_id":204150,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:31:38] local.INFO: Processing buffer {"connection_id":204150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:31:38] local.INFO: Packet analysis {"connection_id":204150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10993"} 
[2026-10-05 06:31:38] local.INFO: Extracted packet for processing {"connection_id":204150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10993"} 
[2026-10-05 06:31:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537393664001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791161995000,"timestamp_ms":1791161995000,"timestamp_seconds":1791161995,"priority":1,"record_length":96,"hex_timestamp":"000001a109930ef8"} 
[2026-10-05 06:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:31:38] 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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:31:38] 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-10-05 06: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-10-05 06:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537393664001,"66":25147,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537393664001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:31:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:31:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537393664001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":204150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:31:38] local.INFO: GPS data processed {"connection_id":204150,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:31:38] local.INFO: Acknowledgment sent {"connection_id":204150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:31:42] local.INFO: TCP Data received {"connection_id":204248,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:31:42] local.INFO: Processing buffer {"connection_id":204248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:31:42] local.INFO: IMEI packet received {"connection_id":204248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 06:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":204248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:31:56] local.INFO: TCP Data received {"connection_id":205691,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:31:56] local.INFO: Processing buffer {"connection_id":205691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:31:56] local.INFO: IMEI packet received {"connection_id":205691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":205691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:32:01] local.INFO: TCP Data received {"connection_id":205691,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:32:01] local.INFO: Processing buffer {"connection_id":205691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:32:01] local.INFO: IMEI packet received {"connection_id":205691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":205691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:32:01] local.INFO: TCP Data received {"connection_id":205691,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:32:01] local.INFO: Processing buffer {"connection_id":205691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:32:01] local.INFO: Packet analysis {"connection_id":205691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10993"} 
[2026-10-05 06:32:01] local.INFO: Extracted packet for processing {"connection_id":205691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10993"} 
[2026-10-05 06:32:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537393664001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791161995000,"timestamp_ms":1791161995000,"timestamp_seconds":1791161995,"priority":1,"record_length":96,"hex_timestamp":"000001a109930ef8"} 
[2026-10-05 06:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:32:01] 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-10-05 06:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:32: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-10-05 06: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-10-05 06:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:32: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-10-05 06:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537393664001,"66":25147,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537393664001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:32:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:32:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537393664001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":205691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:32:01] local.INFO: GPS data processed {"connection_id":205691,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:32:01] local.INFO: Acknowledgment sent {"connection_id":205691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:32:05] local.INFO: TCP Data received {"connection_id":205692,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:32:05] local.INFO: Processing buffer {"connection_id":205692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:32:05] local.INFO: IMEI packet received {"connection_id":205692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":205692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:32:10] local.INFO: TCP Data received {"connection_id":205692,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:32:10] local.INFO: Processing buffer {"connection_id":205692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:32:10] local.INFO: IMEI packet received {"connection_id":205692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":205692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:32:11] local.INFO: TCP Data received {"connection_id":205692,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:32:11] local.INFO: Processing buffer {"connection_id":205692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:32:11] local.INFO: Packet analysis {"connection_id":205692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10992"} 
[2026-10-05 06:32:11] local.INFO: Extracted packet for processing {"connection_id":205692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10992"} 
[2026-10-05 06:32:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537389312001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791161978000,"timestamp_ms":1791161978000,"timestamp_seconds":1791161978,"priority":1,"record_length":96,"hex_timestamp":"000001a10992cc90"} 
[2026-10-05 06:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 06:32:11] 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-10-05 06:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:32: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-10-05 06:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537389312001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537389312001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:32:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537389312001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":205692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:32:11] local.INFO: GPS data processed {"connection_id":205692,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:32:11] local.INFO: Acknowledgment sent {"connection_id":205692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:32:16] local.INFO: TCP Data received {"connection_id":205692,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:32:16] local.INFO: Processing buffer {"connection_id":205692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:32:16] local.INFO: Packet analysis {"connection_id":205692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10992"} 
[2026-10-05 06:32:16] local.INFO: Extracted packet for processing {"connection_id":205692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10992"} 
[2026-10-05 06:32:16] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537389312001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791161978000,"timestamp_ms":1791161978000,"timestamp_seconds":1791161978,"priority":1,"record_length":96,"hex_timestamp":"000001a10992cc90"} 
[2026-10-05 06:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 06:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 06:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537389312001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537389312001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:32:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:32:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537389312001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":205692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:32:16] local.INFO: GPS data processed {"connection_id":205692,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:32:16] local.INFO: Acknowledgment sent {"connection_id":205692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:32:32] local.INFO: TCP Data received {"connection_id":205691,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:32:32] local.INFO: Processing buffer {"connection_id":205691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:32:32] local.INFO: Packet analysis {"connection_id":205691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10993"} 
[2026-10-05 06:32:32] local.INFO: Extracted packet for processing {"connection_id":205691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10993"} 
[2026-10-05 06:32:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537393664001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:32: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-10-05 06:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791161995000,"timestamp_ms":1791161995000,"timestamp_seconds":1791161995,"priority":1,"record_length":96,"hex_timestamp":"000001a109930ef8"} 
[2026-10-05 06:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:32:32] 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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:32: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-10-05 06: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-10-05 06:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:32: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-10-05 06:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537393664001,"66":25147,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537393664001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:32:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:32:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537393664001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":205691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:32:32] local.INFO: GPS data processed {"connection_id":205691,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:32:32] local.INFO: Acknowledgment sent {"connection_id":205691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:32:56] local.INFO: TCP Data received {"connection_id":204249,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:32:56] local.INFO: Processing buffer {"connection_id":204249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:32:56] local.INFO: IMEI packet received {"connection_id":204249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":204249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:33:00] local.INFO: TCP Data received {"connection_id":204152,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204152,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:33:00] local.INFO: Processing buffer {"connection_id":204152,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:33:00] local.INFO: IMEI packet received {"connection_id":204152,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":204152,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:33:01] local.INFO: TCP Data received {"connection_id":204249,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:33:01] local.INFO: Processing buffer {"connection_id":204249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:33:01] local.INFO: IMEI packet received {"connection_id":204249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":204249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:33:01] local.INFO: TCP Data received {"connection_id":204249,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:33:01] local.INFO: Processing buffer {"connection_id":204249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:33:01] local.INFO: Packet analysis {"connection_id":204249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10993"} 
[2026-10-05 06:33:01] local.INFO: Extracted packet for processing {"connection_id":204249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10993"} 
[2026-10-05 06:33:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537393664001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791161995000,"timestamp_ms":1791161995000,"timestamp_seconds":1791161995,"priority":1,"record_length":96,"hex_timestamp":"000001a109930ef8"} 
[2026-10-05 06:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:33:01] 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-10-05 06: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":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:33: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-10-05 06: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-10-05 06:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06: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-10-05 06:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537393664001,"66":25147,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537393664001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:33:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:33:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537393664001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":204249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:33:01] local.INFO: GPS data processed {"connection_id":204249,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:33:01] local.INFO: Acknowledgment sent {"connection_id":204249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:33:05] local.INFO: TCP Data received {"connection_id":204152,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204152,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:33:05] local.INFO: Processing buffer {"connection_id":204152,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:33:05] local.INFO: IMEI packet received {"connection_id":204152,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":204152,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:33:07] local.INFO: TCP Data received {"connection_id":204152,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:33:07] local.INFO: Processing buffer {"connection_id":204152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:33:07] local.INFO: Packet analysis {"connection_id":204152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10992"} 
[2026-10-05 06:33:07] local.INFO: Extracted packet for processing {"connection_id":204152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10992"} 
[2026-10-05 06:33:07] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537389312001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791161978000,"timestamp_ms":1791161978000,"timestamp_seconds":1791161978,"priority":1,"record_length":96,"hex_timestamp":"000001a10992cc90"} 
[2026-10-05 06:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 06:33:07] 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-10-05 06:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:33: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-10-05 06:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537389312001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537389312001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:33:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:33:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537389312001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":204152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965763,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:33:07] local.INFO: GPS data processed {"connection_id":204152,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:33:07] local.INFO: Acknowledgment sent {"connection_id":204152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:33:10] local.INFO: TCP Data received {"connection_id":204152,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:33:10] local.INFO: Processing buffer {"connection_id":204152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:33:10] local.INFO: Packet analysis {"connection_id":204152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10992"} 
[2026-10-05 06:33:10] local.INFO: Extracted packet for processing {"connection_id":204152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10992"} 
[2026-10-05 06:33:10] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537389312001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791161978000,"timestamp_ms":1791161978000,"timestamp_seconds":1791161978,"priority":1,"record_length":96,"hex_timestamp":"000001a10992cc90"} 
[2026-10-05 06:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 06:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 06:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:33: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-10-05 06:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537389312001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537389312001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:33:10] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:33:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537389312001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":204152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:33:10] local.INFO: GPS data processed {"connection_id":204152,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:33:10] local.INFO: Acknowledgment sent {"connection_id":204152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:33:32] local.INFO: TCP Data received {"connection_id":204249,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:33:32] local.INFO: Processing buffer {"connection_id":204249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:33:32] local.INFO: Packet analysis {"connection_id":204249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10993"} 
[2026-10-05 06:33:32] local.INFO: Extracted packet for processing {"connection_id":204249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10993"} 
[2026-10-05 06:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537393664001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791161995000,"timestamp_ms":1791161995000,"timestamp_seconds":1791161995,"priority":1,"record_length":96,"hex_timestamp":"000001a109930ef8"} 
[2026-10-05 06:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:33:32] 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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:33: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-10-05 06: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-10-05 06:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06: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-10-05 06:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537393664001,"66":25147,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537393664001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:33:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:33:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537393664001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":204249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:33:32] local.INFO: GPS data processed {"connection_id":204249,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:33:32] local.INFO: Acknowledgment sent {"connection_id":204249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:33:42] local.INFO: TCP Data received {"connection_id":204152,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:33:42] local.INFO: Processing buffer {"connection_id":204152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:33:42] local.INFO: Packet analysis {"connection_id":204152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10992"} 
[2026-10-05 06:33:42] local.INFO: Extracted packet for processing {"connection_id":204152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10992"} 
[2026-10-05 06:33:42] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:33: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-10-05 06:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537389312001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791161978000,"timestamp_ms":1791161978000,"timestamp_seconds":1791161978,"priority":1,"record_length":96,"hex_timestamp":"000001a10992cc90"} 
[2026-10-05 06:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 06:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 06:33: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-10-05 06:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537389312001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537389312001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:33:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:33:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537389312001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":204152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:33:42] local.INFO: GPS data processed {"connection_id":204152,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:33:42] local.INFO: Acknowledgment sent {"connection_id":204152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:33:55] local.INFO: TCP Data received {"connection_id":205694,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:33:55] local.INFO: Processing buffer {"connection_id":205694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:33:55] local.INFO: IMEI packet received {"connection_id":205694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":205694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:34:00] local.INFO: TCP Data received {"connection_id":207247,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207247,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:34:00] local.INFO: Processing buffer {"connection_id":207247,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:34:00] local.INFO: IMEI packet received {"connection_id":207247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":207247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:34:01] local.INFO: TCP Data received {"connection_id":205694,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:34:01] local.INFO: Processing buffer {"connection_id":205694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:34:01] local.INFO: IMEI packet received {"connection_id":205694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":205694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:34:01] local.INFO: TCP Data received {"connection_id":205694,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:34:01] local.INFO: Processing buffer {"connection_id":205694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:34:01] local.INFO: Packet analysis {"connection_id":205694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10993"} 
[2026-10-05 06:34:01] local.INFO: Extracted packet for processing {"connection_id":205694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10993"} 
[2026-10-05 06:34:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537393664001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791161995000,"timestamp_ms":1791161995000,"timestamp_seconds":1791161995,"priority":1,"record_length":96,"hex_timestamp":"000001a109930ef8"} 
[2026-10-05 06:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:34:01] 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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:34: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-10-05 06: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-10-05 06:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:34: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-10-05 06:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537393664001,"66":25147,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537393664001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:34:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:34:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537393664001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":205694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:34:01] local.INFO: GPS data processed {"connection_id":205694,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:34:01] local.INFO: Acknowledgment sent {"connection_id":205694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:34:05] local.INFO: TCP Data received {"connection_id":207247,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207247,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:34:05] local.INFO: Processing buffer {"connection_id":207247,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:34:05] local.INFO: IMEI packet received {"connection_id":207247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":207247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:34:06] local.INFO: TCP Data received {"connection_id":207247,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:34:06] local.INFO: Processing buffer {"connection_id":207247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:34:06] local.INFO: Packet analysis {"connection_id":207247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10992"} 
[2026-10-05 06:34:06] local.INFO: Extracted packet for processing {"connection_id":207247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10992"} 
[2026-10-05 06:34:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537389312001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791161978000,"timestamp_ms":1791161978000,"timestamp_seconds":1791161978,"priority":1,"record_length":96,"hex_timestamp":"000001a10992cc90"} 
[2026-10-05 06:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 06:34:06] 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-10-05 06:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537389312001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537389312001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:34:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:34:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537389312001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":207247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:34:06] local.INFO: GPS data processed {"connection_id":207247,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:34:06] local.INFO: Acknowledgment sent {"connection_id":207247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:34:32] local.INFO: TCP Data received {"connection_id":205694,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:34:32] local.INFO: Processing buffer {"connection_id":205694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:34:32] local.INFO: Packet analysis {"connection_id":205694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10993"} 
[2026-10-05 06:34:32] local.INFO: Extracted packet for processing {"connection_id":205694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10993"} 
[2026-10-05 06:34:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537393664001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791161995000,"timestamp_ms":1791161995000,"timestamp_seconds":1791161995,"priority":1,"record_length":96,"hex_timestamp":"000001a109930ef8"} 
[2026-10-05 06:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:34:32] 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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:34: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-10-05 06: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-10-05 06:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:34: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-10-05 06:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537393664001,"66":25147,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537393664001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:34:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:34:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537393664001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":205694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:34:32] local.INFO: GPS data processed {"connection_id":205694,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:34:32] local.INFO: Acknowledgment sent {"connection_id":205694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:34:38] local.INFO: TCP Data received {"connection_id":207247,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:34:38] local.INFO: Processing buffer {"connection_id":207247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10992cc90012d7c2ac005dac8a0000000bf1e..."} 
[2026-10-05 06:34:38] local.INFO: Packet analysis {"connection_id":207247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10992"} 
[2026-10-05 06:34:38] local.INFO: Extracted packet for processing {"connection_id":207247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10992"} 
[2026-10-05 06:34:38] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":30,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537389312001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791161978000,"timestamp_ms":1791161978000,"timestamp_seconds":1791161978,"priority":1,"record_length":96,"hex_timestamp":"000001a10992cc90"} 
[2026-10-05 06:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 06:34:38] 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-10-05 06:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537389312001,"66":12504,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537389312001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:34:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:34:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537389312001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":207247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:34:38] local.INFO: GPS data processed {"connection_id":207247,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:34:38] local.INFO: Acknowledgment sent {"connection_id":207247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:34:55] local.INFO: TCP Data received {"connection_id":204250,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:34:55] local.INFO: Processing buffer {"connection_id":204250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:34:55] local.INFO: IMEI packet received {"connection_id":204250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":204250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:35:00] local.INFO: TCP Data received {"connection_id":204251,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:35:00] local.INFO: Processing buffer {"connection_id":204251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:35:00] local.INFO: IMEI packet received {"connection_id":204251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":204251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:35:01] local.INFO: TCP Data received {"connection_id":204250,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:35:01] local.INFO: Processing buffer {"connection_id":204250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:35:01] local.INFO: IMEI packet received {"connection_id":204250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":204250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:35:01] local.INFO: TCP Data received {"connection_id":204250,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:35:01] local.INFO: Processing buffer {"connection_id":204250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:35:01] local.INFO: Packet analysis {"connection_id":204250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10993"} 
[2026-10-05 06:35:01] local.INFO: Extracted packet for processing {"connection_id":204250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10993"} 
[2026-10-05 06:35:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537393664001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:35: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-10-05 06:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791161995000,"timestamp_ms":1791161995000,"timestamp_seconds":1791161995,"priority":1,"record_length":96,"hex_timestamp":"000001a109930ef8"} 
[2026-10-05 06:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:35:01] 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-10-05 06:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:35: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-10-05 06:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537393664001,"66":25147,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 06:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537393664001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:35:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:35:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537393664001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":204250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:35:01] local.INFO: GPS data processed {"connection_id":204250,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:35:01] local.INFO: Acknowledgment sent {"connection_id":204250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:35:05] local.INFO: TCP Data received {"connection_id":204251,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:35:05] local.INFO: Processing buffer {"connection_id":204251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:35:05] local.INFO: IMEI packet received {"connection_id":204251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":204251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:35:06] local.INFO: TCP Data received {"connection_id":204251,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:35:06] local.INFO: Processing buffer {"connection_id":204251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:35:06] local.INFO: Packet analysis {"connection_id":204251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:35:06] local.INFO: Extracted packet for processing {"connection_id":204251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:35:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":28,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 06:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537466368001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791162279000,"timestamp_ms":1791162279000,"timestamp_seconds":1791162279,"priority":1,"record_length":96,"hex_timestamp":"000001a109976458"} 
[2026-10-05 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-10-05 06:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:35: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-10-05 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-10-05 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-10-05 06:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537466368001,"66":12493,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537466368001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:35:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:35:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537466368001,"power":12493,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":204251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965772,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:35:06] local.INFO: GPS data processed {"connection_id":204251,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:35:06] local.INFO: Acknowledgment sent {"connection_id":204251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:35:32] local.INFO: TCP Data received {"connection_id":204250,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:35:32] local.INFO: Processing buffer {"connection_id":204250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109930ef8012d7f91c005afd9f0000d010121..."} 
[2026-10-05 06:35:32] local.INFO: Packet analysis {"connection_id":204250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10993"} 
[2026-10-05 06:35:32] local.INFO: Extracted packet for processing {"connection_id":204250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10993"} 
[2026-10-05 06:35:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":13,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:35: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-10-05 06:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537393664001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:35: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-10-05 06:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791161995000,"timestamp_ms":1791161995000,"timestamp_seconds":1791161995,"priority":1,"record_length":96,"hex_timestamp":"000001a109930ef8"} 
[2026-10-05 06:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:35:32] 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-10-05 06:35: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-10-05 06:35: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-10-05 06:35: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-10-05 06:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537393664001,"66":25147,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 06:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537393664001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:35:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:35:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537393664001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":204250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:35:32] local.INFO: GPS data processed {"connection_id":204250,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:35:32] local.INFO: Acknowledgment sent {"connection_id":204250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:35:37] local.INFO: TCP Data received {"connection_id":204251,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:35:37] local.INFO: Processing buffer {"connection_id":204251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:35:37] local.INFO: Packet analysis {"connection_id":204251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:35:37] local.INFO: Extracted packet for processing {"connection_id":204251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:35:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":28,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537466368001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791162279000,"timestamp_ms":1791162279000,"timestamp_seconds":1791162279,"priority":1,"record_length":96,"hex_timestamp":"000001a109976458"} 
[2026-10-05 06:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:35:37] 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-10-05 06:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537466368001,"66":12493,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537466368001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:35:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:35:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537466368001,"power":12493,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":204251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965774,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:35:37] local.INFO: GPS data processed {"connection_id":204251,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:35:37] local.INFO: Acknowledgment sent {"connection_id":204251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:36:00] local.INFO: TCP Data received {"connection_id":204154,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:36:00] local.INFO: Processing buffer {"connection_id":204154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:36:00] local.INFO: IMEI packet received {"connection_id":204154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":204154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:36:01] local.INFO: TCP Data received {"connection_id":205695,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:36:01] local.INFO: Processing buffer {"connection_id":205695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:36:01] local.INFO: IMEI packet received {"connection_id":205695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":205695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:36:05] local.INFO: TCP Data received {"connection_id":204154,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:36:05] local.INFO: Processing buffer {"connection_id":204154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:36:05] local.INFO: IMEI packet received {"connection_id":204154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":204154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:36:06] local.INFO: TCP Data received {"connection_id":205695,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:36:06] local.INFO: Processing buffer {"connection_id":205695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:36:06] local.INFO: IMEI packet received {"connection_id":205695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":205695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:36:06] local.INFO: TCP Data received {"connection_id":204154,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:36:06] local.INFO: Processing buffer {"connection_id":204154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:36:06] local.INFO: Packet analysis {"connection_id":204154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:36:06] local.INFO: Extracted packet for processing {"connection_id":204154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":28,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537466368001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791162279000,"timestamp_ms":1791162279000,"timestamp_seconds":1791162279,"priority":1,"record_length":96,"hex_timestamp":"000001a109976458"} 
[2026-10-05 06:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:36: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-10-05 06:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537466368001,"66":12493,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537466368001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:36:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:36:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537466368001,"power":12493,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":204154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:36:06] local.INFO: GPS data processed {"connection_id":204154,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:36:06] local.INFO: Acknowledgment sent {"connection_id":204154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:36:06] local.INFO: TCP Data received {"connection_id":205695,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:36:06] local.INFO: Processing buffer {"connection_id":205695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:36:06] local.INFO: Packet analysis {"connection_id":205695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:36:06] local.INFO: Extracted packet for processing {"connection_id":205695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537470720001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791162295000,"timestamp_ms":1791162295000,"timestamp_seconds":1791162295,"priority":1,"record_length":96,"hex_timestamp":"000001a10997a2d8"} 
[2026-10-05 06:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:36:06] 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-10-05 06:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-10-05 06:36:06] 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-10-05 06:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:36: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-10-05 06:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537470720001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537470720001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:36:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:36:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537470720001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":205695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:36:06] local.INFO: GPS data processed {"connection_id":205695,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:36:06] local.INFO: Acknowledgment sent {"connection_id":205695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:36:37] local.INFO: TCP Data received {"connection_id":204154,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:36:37] local.INFO: Processing buffer {"connection_id":204154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:36:37] local.INFO: Packet analysis {"connection_id":204154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:36:37] local.INFO: Extracted packet for processing {"connection_id":204154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:36:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":28,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537466368001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791162279000,"timestamp_ms":1791162279000,"timestamp_seconds":1791162279,"priority":1,"record_length":96,"hex_timestamp":"000001a109976458"} 
[2026-10-05 06:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:36:37] 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-10-05 06:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537466368001,"66":12493,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537466368001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:36:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:36:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537466368001,"power":12493,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":204154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:36:37] local.INFO: GPS data processed {"connection_id":204154,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:36:37] local.INFO: Acknowledgment sent {"connection_id":204154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:36:37] local.INFO: TCP Data received {"connection_id":205695,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:36:37] local.INFO: Processing buffer {"connection_id":205695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:36:37] local.INFO: Packet analysis {"connection_id":205695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:36:37] local.INFO: Extracted packet for processing {"connection_id":205695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:36:37] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537470720001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791162295000,"timestamp_ms":1791162295000,"timestamp_seconds":1791162295,"priority":1,"record_length":96,"hex_timestamp":"000001a10997a2d8"} 
[2026-10-05 06:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:36:37] 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-10-05 06:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-10-05 06:36:37] 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-10-05 06:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537470720001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537470720001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:36:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:36:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537470720001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":205695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:36:37] local.INFO: GPS data processed {"connection_id":205695,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:36:37] local.INFO: Acknowledgment sent {"connection_id":205695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:36:56] local.INFO: TCP Data received {"connection_id":207248,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:36:56] local.INFO: Processing buffer {"connection_id":207248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:36:56] local.INFO: IMEI packet received {"connection_id":207248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":207248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:37:00] local.INFO: TCP Data received {"connection_id":207249,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:37:00] local.INFO: Processing buffer {"connection_id":207249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:37:00] local.INFO: IMEI packet received {"connection_id":207249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":207249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:37:01] local.INFO: TCP Data received {"connection_id":207248,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:37:01] local.INFO: Processing buffer {"connection_id":207248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:37:01] local.INFO: IMEI packet received {"connection_id":207248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":207248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:37:01] local.INFO: TCP Data received {"connection_id":207248,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:37:01] local.INFO: Processing buffer {"connection_id":207248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:37:01] local.INFO: Packet analysis {"connection_id":207248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:37:01] local.INFO: Extracted packet for processing {"connection_id":207248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:37:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537470720001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791162295000,"timestamp_ms":1791162295000,"timestamp_seconds":1791162295,"priority":1,"record_length":96,"hex_timestamp":"000001a10997a2d8"} 
[2026-10-05 06:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:37:01] 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-10-05 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-10-05 06:37:01] 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-10-05 06: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-10-05 06:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06: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-10-05 06:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537470720001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537470720001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:37:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:37:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537470720001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":207248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:37:01] local.INFO: GPS data processed {"connection_id":207248,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:37:01] local.INFO: Acknowledgment sent {"connection_id":207248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:37:05] local.INFO: TCP Data received {"connection_id":207249,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:37:05] local.INFO: Processing buffer {"connection_id":207249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:37:05] local.INFO: IMEI packet received {"connection_id":207249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":207249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:37:06] local.INFO: TCP Data received {"connection_id":207249,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:37:06] local.INFO: Processing buffer {"connection_id":207249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:37:06] local.INFO: Packet analysis {"connection_id":207249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:37:06] local.INFO: Extracted packet for processing {"connection_id":207249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:37:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":28,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537466368001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791162279000,"timestamp_ms":1791162279000,"timestamp_seconds":1791162279,"priority":1,"record_length":96,"hex_timestamp":"000001a109976458"} 
[2026-10-05 06:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:37: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-10-05 06:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537466368001,"66":12493,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537466368001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:37:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:37:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537466368001,"power":12493,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":207249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965780,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:37:06] local.INFO: GPS data processed {"connection_id":207249,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:37:06] local.INFO: Acknowledgment sent {"connection_id":207249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:37:08] local.INFO: TCP Data received {"connection_id":204155,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204155,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:37:08] local.INFO: Processing buffer {"connection_id":204155,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:37:08] local.INFO: IMEI packet received {"connection_id":204155,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 06:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":204155,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:37:32] local.INFO: TCP Data received {"connection_id":207248,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:37:32] local.INFO: Processing buffer {"connection_id":207248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:37:32] local.INFO: Packet analysis {"connection_id":207248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:37:32] local.INFO: Extracted packet for processing {"connection_id":207248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:37:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537470720001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791162295000,"timestamp_ms":1791162295000,"timestamp_seconds":1791162295,"priority":1,"record_length":96,"hex_timestamp":"000001a10997a2d8"} 
[2026-10-05 06:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:37:32] 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-10-05 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-10-05 06:37:32] 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-10-05 06: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-10-05 06:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:37: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-10-05 06:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537470720001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537470720001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:37:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:37:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537470720001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":207248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:37:32] local.INFO: GPS data processed {"connection_id":207248,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:37:32] local.INFO: Acknowledgment sent {"connection_id":207248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:37:37] local.INFO: TCP Data received {"connection_id":207249,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:37:37] local.INFO: Processing buffer {"connection_id":207249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:37:37] local.INFO: Packet analysis {"connection_id":207249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:37:37] local.INFO: Extracted packet for processing {"connection_id":207249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:37:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":28,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537466368001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791162279000,"timestamp_ms":1791162279000,"timestamp_seconds":1791162279,"priority":1,"record_length":96,"hex_timestamp":"000001a109976458"} 
[2026-10-05 06:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:37:37] 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-10-05 06:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537466368001,"66":12493,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537466368001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:37:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:37:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537466368001,"power":12493,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":207249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:37:37] local.INFO: GPS data processed {"connection_id":207249,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:37:37] local.INFO: Acknowledgment sent {"connection_id":207249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:37:48] local.INFO: TCP Data received {"connection_id":204156,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204156,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:37:48] local.INFO: Processing buffer {"connection_id":204156,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:37:48] local.INFO: IMEI packet received {"connection_id":204156,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 06:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":204156,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:37:56] local.INFO: TCP Data received {"connection_id":204157,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:37:56] local.INFO: Processing buffer {"connection_id":204157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:37:56] local.INFO: IMEI packet received {"connection_id":204157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":204157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:38:01] local.INFO: TCP Data received {"connection_id":204157,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:38:01] local.INFO: Processing buffer {"connection_id":204157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:38:01] local.INFO: IMEI packet received {"connection_id":204157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":204157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:38:01] local.INFO: TCP Data received {"connection_id":204157,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:38:01] local.INFO: Processing buffer {"connection_id":204157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:38:01] local.INFO: Packet analysis {"connection_id":204157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:38:01] local.INFO: Extracted packet for processing {"connection_id":204157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:38:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537470720001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:38: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-10-05 06:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791162295000,"timestamp_ms":1791162295000,"timestamp_seconds":1791162295,"priority":1,"record_length":96,"hex_timestamp":"000001a10997a2d8"} 
[2026-10-05 06:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:38:01] 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-10-05 06:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-10-05 06:38:01] 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-10-05 06:38:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:38: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-10-05 06:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537470720001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537470720001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:38:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:38:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537470720001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":204157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:38:01] local.INFO: GPS data processed {"connection_id":204157,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:38:01] local.INFO: Acknowledgment sent {"connection_id":204157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:38:05] local.INFO: TCP Data received {"connection_id":204253,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:38:05] local.INFO: Processing buffer {"connection_id":204253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:38:05] local.INFO: IMEI packet received {"connection_id":204253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":204253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:38:10] local.INFO: TCP Data received {"connection_id":204253,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:38:10] local.INFO: Processing buffer {"connection_id":204253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:38:10] local.INFO: IMEI packet received {"connection_id":204253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":204253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:38:11] local.INFO: TCP Data received {"connection_id":204253,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:38:11] local.INFO: Processing buffer {"connection_id":204253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:38:11] local.INFO: Packet analysis {"connection_id":204253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:38:11] local.INFO: Extracted packet for processing {"connection_id":204253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:38:11] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":28,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537466368001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791162279000,"timestamp_ms":1791162279000,"timestamp_seconds":1791162279,"priority":1,"record_length":96,"hex_timestamp":"000001a109976458"} 
[2026-10-05 06:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:38:11] 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-10-05 06:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:38:11] 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-10-05 06:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537466368001,"66":12493,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537466368001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:38:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537466368001,"power":12493,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":204253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965784,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:38:11] local.INFO: GPS data processed {"connection_id":204253,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:38:11] local.INFO: Acknowledgment sent {"connection_id":204253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:38:32] local.INFO: TCP Data received {"connection_id":204157,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:38:32] local.INFO: Processing buffer {"connection_id":204157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:38:32] local.INFO: Packet analysis {"connection_id":204157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:38:32] local.INFO: Extracted packet for processing {"connection_id":204157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537470720001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:38: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-10-05 06:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791162295000,"timestamp_ms":1791162295000,"timestamp_seconds":1791162295,"priority":1,"record_length":96,"hex_timestamp":"000001a10997a2d8"} 
[2026-10-05 06:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:38:32] 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-10-05 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-10-05 06:38:32] 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-10-05 06: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-10-05 06:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:38: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-10-05 06:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537470720001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537470720001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:38:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:38:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537470720001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":204157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:38:32] local.INFO: GPS data processed {"connection_id":204157,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:38:32] local.INFO: Acknowledgment sent {"connection_id":204157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:38:42] local.INFO: TCP Data received {"connection_id":204253,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:38:42] local.INFO: Processing buffer {"connection_id":204253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:38:42] local.INFO: Packet analysis {"connection_id":204253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:38:42] local.INFO: Extracted packet for processing {"connection_id":204253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:38:42] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":28,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537466368001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791162279000,"timestamp_ms":1791162279000,"timestamp_seconds":1791162279,"priority":1,"record_length":96,"hex_timestamp":"000001a109976458"} 
[2026-10-05 06:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:38:42] 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-10-05 06:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:38:42] 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-10-05 06:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537466368001,"66":12493,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537466368001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:38:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:38:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537466368001,"power":12493,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":204253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:38:42] local.INFO: GPS data processed {"connection_id":204253,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:38:42] local.INFO: Acknowledgment sent {"connection_id":204253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:38:56] local.INFO: TCP Data received {"connection_id":204158,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:38:56] local.INFO: Processing buffer {"connection_id":204158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:38:56] local.INFO: IMEI packet received {"connection_id":204158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":204158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:39:00] local.INFO: TCP Data received {"connection_id":205696,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:39:00] local.INFO: Processing buffer {"connection_id":205696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:39:00] local.INFO: IMEI packet received {"connection_id":205696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":205696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:39:01] local.INFO: TCP Data received {"connection_id":204158,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:39:01] local.INFO: Processing buffer {"connection_id":204158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:39:01] local.INFO: IMEI packet received {"connection_id":204158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":204158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:39:01] local.INFO: TCP Data received {"connection_id":204158,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:39:01] local.INFO: Processing buffer {"connection_id":204158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:39:01] local.INFO: Packet analysis {"connection_id":204158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:39:01] local.INFO: Extracted packet for processing {"connection_id":204158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:39:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 06:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537470720001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 06:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791162295000,"timestamp_ms":1791162295000,"timestamp_seconds":1791162295,"priority":1,"record_length":96,"hex_timestamp":"000001a10997a2d8"} 
[2026-10-05 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-10-05 06:39:01] 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-10-05 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-10-05 06:39:01] 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-10-05 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-10-05 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-10-05 06:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:39: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-10-05 06:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537470720001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537470720001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:39:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:39:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537470720001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":204158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:39:01] local.INFO: GPS data processed {"connection_id":204158,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:39:01] local.INFO: Acknowledgment sent {"connection_id":204158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:39:05] local.INFO: TCP Data received {"connection_id":205696,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:39:05] local.INFO: Processing buffer {"connection_id":205696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:39:05] local.INFO: IMEI packet received {"connection_id":205696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":205696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:39:06] local.INFO: TCP Data received {"connection_id":205696,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:39:06] local.INFO: Processing buffer {"connection_id":205696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:39:06] local.INFO: Packet analysis {"connection_id":205696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:39:06] local.INFO: Extracted packet for processing {"connection_id":205696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:39:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":28,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537466368001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791162279000,"timestamp_ms":1791162279000,"timestamp_seconds":1791162279,"priority":1,"record_length":96,"hex_timestamp":"000001a109976458"} 
[2026-10-05 06:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:39: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-10-05 06:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:39: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-10-05 06:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537466368001,"66":12493,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537466368001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:39:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:39:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537466368001,"power":12493,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":205696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:39:06] local.INFO: GPS data processed {"connection_id":205696,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:39:06] local.INFO: Acknowledgment sent {"connection_id":205696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:39:32] local.INFO: TCP Data received {"connection_id":204158,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:39:32] local.INFO: Processing buffer {"connection_id":204158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:39:32] local.INFO: Packet analysis {"connection_id":204158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:39:32] local.INFO: Extracted packet for processing {"connection_id":204158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:39:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537470720001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:39: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-10-05 06:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791162295000,"timestamp_ms":1791162295000,"timestamp_seconds":1791162295,"priority":1,"record_length":96,"hex_timestamp":"000001a10997a2d8"} 
[2026-10-05 06:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:39:32] 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-10-05 06:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-10-05 06:39:32] 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-10-05 06:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:39: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-10-05 06:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537470720001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537470720001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:39:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:39:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537470720001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":204158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:39:32] local.INFO: GPS data processed {"connection_id":204158,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:39:32] local.INFO: Acknowledgment sent {"connection_id":204158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:39:37] local.INFO: TCP Data received {"connection_id":205696,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:39:37] local.INFO: Processing buffer {"connection_id":205696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109976458012d7c2ac005dac8a0000000bf1c..."} 
[2026-10-05 06:39:37] local.INFO: Packet analysis {"connection_id":205696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:39:37] local.INFO: Extracted packet for processing {"connection_id":205696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:39:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":28,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537466368001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791162279000,"timestamp_ms":1791162279000,"timestamp_seconds":1791162279,"priority":1,"record_length":96,"hex_timestamp":"000001a109976458"} 
[2026-10-05 06:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 06:39:37] 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-10-05 06:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:39: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-10-05 06:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537466368001,"66":12493,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537466368001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:39:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:39:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537466368001,"power":12493,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":205696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:39:37] local.INFO: GPS data processed {"connection_id":205696,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:39:37] local.INFO: Acknowledgment sent {"connection_id":205696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:39:55] local.INFO: TCP Data received {"connection_id":204255,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:39:55] local.INFO: Processing buffer {"connection_id":204255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:39:55] local.INFO: IMEI packet received {"connection_id":204255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":204255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:40:00] local.INFO: TCP Data received {"connection_id":204159,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:40:00] local.INFO: Processing buffer {"connection_id":204159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:40:00] local.INFO: IMEI packet received {"connection_id":204159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":204159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:40:01] local.INFO: TCP Data received {"connection_id":204255,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:40:01] local.INFO: Processing buffer {"connection_id":204255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:40:01] local.INFO: IMEI packet received {"connection_id":204255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":204255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:40:01] local.INFO: TCP Data received {"connection_id":204255,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:40:01] local.INFO: Processing buffer {"connection_id":204255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:40:01] local.INFO: Packet analysis {"connection_id":204255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:40:01] local.INFO: Extracted packet for processing {"connection_id":204255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:40:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537470720001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791162295000,"timestamp_ms":1791162295000,"timestamp_seconds":1791162295,"priority":1,"record_length":96,"hex_timestamp":"000001a10997a2d8"} 
[2026-10-05 06:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:40:01] 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-10-05 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-10-05 06:40:01] 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-10-05 06: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-10-05 06:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06: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-10-05 06:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537470720001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537470720001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:40:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:40:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537470720001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":204255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:40:01] local.INFO: GPS data processed {"connection_id":204255,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:40:01] local.INFO: Acknowledgment sent {"connection_id":204255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:40:05] local.INFO: TCP Data received {"connection_id":204159,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:40:05] local.INFO: Processing buffer {"connection_id":204159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:40:05] local.INFO: IMEI packet received {"connection_id":204159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":204159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:40:06] local.INFO: TCP Data received {"connection_id":204159,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:40:06] local.INFO: Processing buffer {"connection_id":204159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:40:06] local.INFO: Packet analysis {"connection_id":204159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1099b"} 
[2026-10-05 06:40:06] local.INFO: Extracted packet for processing {"connection_id":204159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1099b"} 
[2026-10-05 06:40:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":27,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537543424001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791162580000,"timestamp_ms":1791162580000,"timestamp_seconds":1791162580,"priority":1,"record_length":96,"hex_timestamp":"000001a1099bfc20"} 
[2026-10-05 06:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:40:06] 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-10-05 06:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:40: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-10-05 06:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537543424001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537543424001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:40:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:40:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537543424001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":204159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:40:06] local.INFO: GPS data processed {"connection_id":204159,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:40:06] local.INFO: Acknowledgment sent {"connection_id":204159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:40:32] local.INFO: TCP Data received {"connection_id":204255,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:40:32] local.INFO: Processing buffer {"connection_id":204255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10997a2d8012d7f91c005afd9f00011010124..."} 
[2026-10-05 06:40:32] local.INFO: Packet analysis {"connection_id":204255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:40:32] local.INFO: Extracted packet for processing {"connection_id":204255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10997"} 
[2026-10-05 06:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537470720001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:40: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-10-05 06:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791162295000,"timestamp_ms":1791162295000,"timestamp_seconds":1791162295,"priority":1,"record_length":96,"hex_timestamp":"000001a10997a2d8"} 
[2026-10-05 06:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:40:32] 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-10-05 06:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-10-05 06:40:32] 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-10-05 06:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:40:32] 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-10-05 06:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537470720001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537470720001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:40:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:40:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537470720001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":204255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:40:32] local.INFO: GPS data processed {"connection_id":204255,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:40:32] local.INFO: Acknowledgment sent {"connection_id":204255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:40:37] local.INFO: TCP Data received {"connection_id":204159,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:40:37] local.INFO: Processing buffer {"connection_id":204159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:40:37] local.INFO: Packet analysis {"connection_id":204159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1099b"} 
[2026-10-05 06:40:37] local.INFO: Extracted packet for processing {"connection_id":204159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1099b"} 
[2026-10-05 06:40:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":27,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537543424001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791162580000,"timestamp_ms":1791162580000,"timestamp_seconds":1791162580,"priority":1,"record_length":96,"hex_timestamp":"000001a1099bfc20"} 
[2026-10-05 06:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:40:37] 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-10-05 06:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:40: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-10-05 06:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537543424001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537543424001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:40:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:40:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537543424001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":204159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965794,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:40:37] local.INFO: GPS data processed {"connection_id":204159,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:40:37] local.INFO: Acknowledgment sent {"connection_id":204159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:41:01] local.INFO: TCP Data received {"connection_id":204257,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:41:01] local.INFO: Processing buffer {"connection_id":204257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:41:01] local.INFO: IMEI packet received {"connection_id":204257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":204257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:41:05] local.INFO: TCP Data received {"connection_id":205697,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:41:05] local.INFO: Processing buffer {"connection_id":205697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:41:05] local.INFO: IMEI packet received {"connection_id":205697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":205697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:41:06] local.INFO: TCP Data received {"connection_id":204257,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:41:06] local.INFO: Processing buffer {"connection_id":204257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:41:06] local.INFO: IMEI packet received {"connection_id":204257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":204257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:41:06] local.INFO: TCP Data received {"connection_id":204257,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:41:06] local.INFO: Processing buffer {"connection_id":204257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:41:06] local.INFO: Packet analysis {"connection_id":204257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1099c"} 
[2026-10-05 06:41:06] local.INFO: Extracted packet for processing {"connection_id":204257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1099c"} 
[2026-10-05 06:41:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537547520001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:41: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-10-05 06:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791162597000,"timestamp_ms":1791162597000,"timestamp_seconds":1791162597,"priority":1,"record_length":96,"hex_timestamp":"000001a1099c3e88"} 
[2026-10-05 06:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:41:06] 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-10-05 06:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 06:41:06] 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-10-05 06:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:41: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-10-05 06:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537547520001,"66":25495,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537547520001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:41:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:41:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537547520001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":204257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:41:06] local.INFO: GPS data processed {"connection_id":204257,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:41:06] local.INFO: Acknowledgment sent {"connection_id":204257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:41:09] local.INFO: TCP Data received {"connection_id":205697,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:41:09] local.INFO: Processing buffer {"connection_id":205697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:41:09] local.INFO: IMEI packet received {"connection_id":205697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":205697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:41:10] local.INFO: TCP Data received {"connection_id":205697,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:41:10] local.INFO: Processing buffer {"connection_id":205697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:41:10] local.INFO: Packet analysis {"connection_id":205697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1099b"} 
[2026-10-05 06:41:10] local.INFO: Extracted packet for processing {"connection_id":205697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1099b"} 
[2026-10-05 06:41:10] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":27,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537543424001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791162580000,"timestamp_ms":1791162580000,"timestamp_seconds":1791162580,"priority":1,"record_length":96,"hex_timestamp":"000001a1099bfc20"} 
[2026-10-05 06:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06: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":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:41:10] 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-10-05 06: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-10-05 06:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":205697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":205697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":205697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:41: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-10-05 06:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537543424001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537543424001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:41:10] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:41:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537543424001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":205697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965796,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:41:10] local.INFO: GPS data processed {"connection_id":205697,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:41:10] local.INFO: Acknowledgment sent {"connection_id":205697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:41:15] local.INFO: TCP Data received {"connection_id":205697,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:41:15] local.INFO: Processing buffer {"connection_id":205697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:41:15] local.INFO: Packet analysis {"connection_id":205697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1099b"} 
[2026-10-05 06:41:15] local.INFO: Extracted packet for processing {"connection_id":205697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1099b"} 
[2026-10-05 06:41:15] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":27,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537543424001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791162580000,"timestamp_ms":1791162580000,"timestamp_seconds":1791162580,"priority":1,"record_length":96,"hex_timestamp":"000001a1099bfc20"} 
[2026-10-05 06:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06: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":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:41:15] 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-10-05 06: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-10-05 06:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":205697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":205697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":205697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:41: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-10-05 06:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537543424001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537543424001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:41:15] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:41:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537543424001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":205697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:41:15] local.INFO: GPS data processed {"connection_id":205697,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:41:15] local.INFO: Acknowledgment sent {"connection_id":205697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:41:37] local.INFO: TCP Data received {"connection_id":204257,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:41:37] local.INFO: Processing buffer {"connection_id":204257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:41:37] local.INFO: Packet analysis {"connection_id":204257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1099c"} 
[2026-10-05 06:41:37] local.INFO: Extracted packet for processing {"connection_id":204257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1099c"} 
[2026-10-05 06:41:37] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537547520001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791162597000,"timestamp_ms":1791162597000,"timestamp_seconds":1791162597,"priority":1,"record_length":96,"hex_timestamp":"000001a1099c3e88"} 
[2026-10-05 06:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:41:37] 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-10-05 06:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 06:41:37] 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-10-05 06:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537547520001,"66":25495,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537547520001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:41:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:41:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537547520001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":204257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:41:38] local.INFO: GPS data processed {"connection_id":204257,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:41:38] local.INFO: Acknowledgment sent {"connection_id":204257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:41:56] local.INFO: TCP Data received {"connection_id":207252,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:41:56] local.INFO: Processing buffer {"connection_id":207252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:41:56] local.INFO: IMEI packet received {"connection_id":207252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":207252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:42:00] local.INFO: TCP Data received {"connection_id":207253,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:42:00] local.INFO: Processing buffer {"connection_id":207253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:42:00] local.INFO: IMEI packet received {"connection_id":207253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":207253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:42:01] local.INFO: TCP Data received {"connection_id":207252,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:42:01] local.INFO: Processing buffer {"connection_id":207252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:42:01] local.INFO: IMEI packet received {"connection_id":207252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":207252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:42:01] local.INFO: TCP Data received {"connection_id":207252,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:42:01] local.INFO: Processing buffer {"connection_id":207252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:42:01] local.INFO: Packet analysis {"connection_id":207252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1099c"} 
[2026-10-05 06:42:01] local.INFO: Extracted packet for processing {"connection_id":207252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1099c"} 
[2026-10-05 06:42:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537547520001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:42: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-10-05 06:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791162597000,"timestamp_ms":1791162597000,"timestamp_seconds":1791162597,"priority":1,"record_length":96,"hex_timestamp":"000001a1099c3e88"} 
[2026-10-05 06:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:42:01] 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-10-05 06: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 06:42: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-10-05 06: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-10-05 06:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:42: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-10-05 06:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537547520001,"66":25495,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537547520001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:42:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:42:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537547520001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":207252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:42:01] local.INFO: GPS data processed {"connection_id":207252,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:42:01] local.INFO: Acknowledgment sent {"connection_id":207252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:42:05] local.INFO: TCP Data received {"connection_id":207253,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:42:05] local.INFO: Processing buffer {"connection_id":207253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:42:05] local.INFO: IMEI packet received {"connection_id":207253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":207253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:42:05] local.INFO: TCP Data received {"connection_id":207253,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:42:05] local.INFO: Processing buffer {"connection_id":207253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:42:05] local.INFO: Packet analysis {"connection_id":207253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1099b"} 
[2026-10-05 06:42:05] local.INFO: Extracted packet for processing {"connection_id":207253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1099b"} 
[2026-10-05 06:42:05] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":27,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537543424001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791162580000,"timestamp_ms":1791162580000,"timestamp_seconds":1791162580,"priority":1,"record_length":96,"hex_timestamp":"000001a1099bfc20"} 
[2026-10-05 06:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:42:05] 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-10-05 06:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:42: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-10-05 06:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537543424001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537543424001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:42:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:42:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537543424001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":207253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:42:06] local.INFO: GPS data processed {"connection_id":207253,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:42:06] local.INFO: Acknowledgment sent {"connection_id":207253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:42:10] local.INFO: TCP Data received {"connection_id":207253,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:42:10] local.INFO: Processing buffer {"connection_id":207253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:42:10] local.INFO: Packet analysis {"connection_id":207253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1099b"} 
[2026-10-05 06:42:10] local.INFO: Extracted packet for processing {"connection_id":207253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1099b"} 
[2026-10-05 06:42:10] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":27,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537543424001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791162580000,"timestamp_ms":1791162580000,"timestamp_seconds":1791162580,"priority":1,"record_length":96,"hex_timestamp":"000001a1099bfc20"} 
[2026-10-05 06:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:42:10] 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-10-05 06:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:42: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-10-05 06:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537543424001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537543424001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:42:10] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537543424001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":207253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:42:10] local.INFO: GPS data processed {"connection_id":207253,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:42:10] local.INFO: Acknowledgment sent {"connection_id":207253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:42:33] local.INFO: TCP Data received {"connection_id":207252,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:42:33] local.INFO: Processing buffer {"connection_id":207252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:42:33] local.INFO: Packet analysis {"connection_id":207252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1099c"} 
[2026-10-05 06:42:33] local.INFO: Extracted packet for processing {"connection_id":207252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1099c"} 
[2026-10-05 06:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537547520001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:42: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-10-05 06:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791162597000,"timestamp_ms":1791162597000,"timestamp_seconds":1791162597,"priority":1,"record_length":96,"hex_timestamp":"000001a1099c3e88"} 
[2026-10-05 06:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:42:33] 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-10-05 06: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 06:42:33] 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-10-05 06: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-10-05 06:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:42: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-10-05 06:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537547520001,"66":25495,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537547520001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:42:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537547520001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":207252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:42:33] local.INFO: GPS data processed {"connection_id":207252,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:42:33] local.INFO: Acknowledgment sent {"connection_id":207252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:42:41] local.INFO: TCP Data received {"connection_id":207253,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:42:41] local.INFO: Processing buffer {"connection_id":207253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:42:41] local.INFO: Packet analysis {"connection_id":207253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1099b"} 
[2026-10-05 06:42:41] local.INFO: Extracted packet for processing {"connection_id":207253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1099b"} 
[2026-10-05 06:42:41] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":27,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537543424001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791162580000,"timestamp_ms":1791162580000,"timestamp_seconds":1791162580,"priority":1,"record_length":96,"hex_timestamp":"000001a1099bfc20"} 
[2026-10-05 06:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:42:41] 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-10-05 06:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":207253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":207253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":207253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537543424001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537543424001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:42:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:42:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537543424001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":207253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:42:41] local.INFO: GPS data processed {"connection_id":207253,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:42:41] local.INFO: Acknowledgment sent {"connection_id":207253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:42:56] local.INFO: TCP Data received {"connection_id":207254,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:42:56] local.INFO: Processing buffer {"connection_id":207254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:42:56] local.INFO: IMEI packet received {"connection_id":207254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":207254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:43:00] local.INFO: TCP Data received {"connection_id":205698,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:43:00] local.INFO: Processing buffer {"connection_id":205698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:43:00] local.INFO: IMEI packet received {"connection_id":205698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":205698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:43:01] local.INFO: TCP Data received {"connection_id":207254,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:43:01] local.INFO: Processing buffer {"connection_id":207254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:43:01] local.INFO: IMEI packet received {"connection_id":207254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":207254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:43:01] local.INFO: TCP Data received {"connection_id":207254,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:43:01] local.INFO: Processing buffer {"connection_id":207254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:43:01] local.INFO: Packet analysis {"connection_id":207254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1099c"} 
[2026-10-05 06:43:01] local.INFO: Extracted packet for processing {"connection_id":207254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1099c"} 
[2026-10-05 06:43:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537547520001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791162597000,"timestamp_ms":1791162597000,"timestamp_seconds":1791162597,"priority":1,"record_length":96,"hex_timestamp":"000001a1099c3e88"} 
[2026-10-05 06:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:43:01] 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-10-05 06: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 06:43: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-10-05 06: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-10-05 06:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:43: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-10-05 06:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537547520001,"66":25495,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537547520001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:43:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:43:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537547520001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":207254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:43:01] local.INFO: GPS data processed {"connection_id":207254,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:43:01] local.INFO: Acknowledgment sent {"connection_id":207254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:43:04] local.INFO: TCP Data received {"connection_id":205698,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:43:04] local.INFO: Processing buffer {"connection_id":205698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:43:04] local.INFO: IMEI packet received {"connection_id":205698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":205698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:43:06] local.INFO: TCP Data received {"connection_id":205698,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:43:06] local.INFO: Processing buffer {"connection_id":205698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:43:06] local.INFO: Packet analysis {"connection_id":205698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1099b"} 
[2026-10-05 06:43:06] local.INFO: Extracted packet for processing {"connection_id":205698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1099b"} 
[2026-10-05 06:43:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":27,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 06:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537543424001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791162580000,"timestamp_ms":1791162580000,"timestamp_seconds":1791162580,"priority":1,"record_length":96,"hex_timestamp":"000001a1099bfc20"} 
[2026-10-05 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-10-05 06:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:43:06] 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-10-05 06:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 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-10-05 06:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:43: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-10-05 06:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537543424001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537543424001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:43:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:43:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537543424001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":205698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:43:06] local.INFO: GPS data processed {"connection_id":205698,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:43:06] local.INFO: Acknowledgment sent {"connection_id":205698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:43:18] local.INFO: TCP Data received {"connection_id":204258,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204258,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:43:18] local.INFO: Processing buffer {"connection_id":204258,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:43:18] local.INFO: IMEI packet received {"connection_id":204258,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 06:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":204258,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:43:32] local.INFO: TCP Data received {"connection_id":207254,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:43:32] local.INFO: Processing buffer {"connection_id":207254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:43:32] local.INFO: Packet analysis {"connection_id":207254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1099c"} 
[2026-10-05 06:43:32] local.INFO: Extracted packet for processing {"connection_id":207254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1099c"} 
[2026-10-05 06:43:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537547520001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:43: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-10-05 06:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791162597000,"timestamp_ms":1791162597000,"timestamp_seconds":1791162597,"priority":1,"record_length":96,"hex_timestamp":"000001a1099c3e88"} 
[2026-10-05 06:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:43:32] 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-10-05 06: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 06:43:32] 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-10-05 06: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-10-05 06:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:43: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-10-05 06:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537547520001,"66":25495,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537547520001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:43:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:43:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537547520001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":207254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:43:32] local.INFO: GPS data processed {"connection_id":207254,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:43:32] local.INFO: Acknowledgment sent {"connection_id":207254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:43:36] local.INFO: TCP Data received {"connection_id":205698,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:43:36] local.INFO: Processing buffer {"connection_id":205698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:43:36] local.INFO: Packet analysis {"connection_id":205698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1099b"} 
[2026-10-05 06:43:36] local.INFO: Extracted packet for processing {"connection_id":205698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1099b"} 
[2026-10-05 06:43:36] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":27,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537543424001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791162580000,"timestamp_ms":1791162580000,"timestamp_seconds":1791162580,"priority":1,"record_length":96,"hex_timestamp":"000001a1099bfc20"} 
[2026-10-05 06:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06: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":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:43:36] 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-10-05 06:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:43: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-10-05 06:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537543424001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537543424001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:43:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:43:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537543424001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":205698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:43:37] local.INFO: GPS data processed {"connection_id":205698,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:43:37] local.INFO: Acknowledgment sent {"connection_id":205698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:43:43] local.INFO: TCP Data received {"connection_id":204259,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:43:43] local.INFO: Processing buffer {"connection_id":204259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:43:43] local.INFO: IMEI packet received {"connection_id":204259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 06:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":204259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:43:56] local.INFO: TCP Data received {"connection_id":204160,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:43:56] local.INFO: Processing buffer {"connection_id":204160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:43:56] local.INFO: IMEI packet received {"connection_id":204160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":204160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:44:00] local.INFO: TCP Data received {"connection_id":204161,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204161,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:44:00] local.INFO: Processing buffer {"connection_id":204161,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:44:00] local.INFO: IMEI packet received {"connection_id":204161,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":204161,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:44:01] local.INFO: TCP Data received {"connection_id":204160,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:44:01] local.INFO: Processing buffer {"connection_id":204160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:44:01] local.INFO: IMEI packet received {"connection_id":204160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":204160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:44:01] local.INFO: TCP Data received {"connection_id":204160,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:44:01] local.INFO: Processing buffer {"connection_id":204160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:44:01] local.INFO: Packet analysis {"connection_id":204160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1099c"} 
[2026-10-05 06:44:01] local.INFO: Extracted packet for processing {"connection_id":204160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1099c"} 
[2026-10-05 06:44:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 06:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537547520001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 06:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791162597000,"timestamp_ms":1791162597000,"timestamp_seconds":1791162597,"priority":1,"record_length":96,"hex_timestamp":"000001a1099c3e88"} 
[2026-10-05 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-10-05 06:44:01] 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-10-05 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":194,"data_length":795,"current_offset":136} 
[2026-10-05 06:44: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-10-05 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-10-05 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-10-05 06:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 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-10-05 06:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537547520001,"66":25495,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537547520001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:44:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:44:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537547520001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":204160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:44:01] local.INFO: GPS data processed {"connection_id":204160,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:44:01] local.INFO: Acknowledgment sent {"connection_id":204160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:44:05] local.INFO: TCP Data received {"connection_id":204161,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204161,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:44:05] local.INFO: Processing buffer {"connection_id":204161,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:44:05] local.INFO: IMEI packet received {"connection_id":204161,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":204161,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:44:06] local.INFO: TCP Data received {"connection_id":204161,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:44:06] local.INFO: Processing buffer {"connection_id":204161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:44:06] local.INFO: Packet analysis {"connection_id":204161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1099b"} 
[2026-10-05 06:44:06] local.INFO: Extracted packet for processing {"connection_id":204161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1099b"} 
[2026-10-05 06:44:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":27,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537543424001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791162580000,"timestamp_ms":1791162580000,"timestamp_seconds":1791162580,"priority":1,"record_length":96,"hex_timestamp":"000001a1099bfc20"} 
[2026-10-05 06:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:44:06] 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-10-05 06:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:44: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-10-05 06:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537543424001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537543424001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:44:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:44:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537543424001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":204161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:44:06] local.INFO: GPS data processed {"connection_id":204161,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:44:06] local.INFO: Acknowledgment sent {"connection_id":204161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:44:32] local.INFO: TCP Data received {"connection_id":204160,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:44:32] local.INFO: Processing buffer {"connection_id":204160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:44:32] local.INFO: Packet analysis {"connection_id":204160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1099c"} 
[2026-10-05 06:44:32] local.INFO: Extracted packet for processing {"connection_id":204160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1099c"} 
[2026-10-05 06:44:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537547520001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:44: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-10-05 06:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791162597000,"timestamp_ms":1791162597000,"timestamp_seconds":1791162597,"priority":1,"record_length":96,"hex_timestamp":"000001a1099c3e88"} 
[2026-10-05 06:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:44:32] 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-10-05 06:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 06:44:32] 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-10-05 06:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:44: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-10-05 06:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537547520001,"66":25495,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537547520001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:44:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:44:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537547520001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":204160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:44:32] local.INFO: GPS data processed {"connection_id":204160,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:44:32] local.INFO: Acknowledgment sent {"connection_id":204160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:44:37] local.INFO: TCP Data received {"connection_id":204161,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:44:37] local.INFO: Processing buffer {"connection_id":204161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1099bfc20012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:44:37] local.INFO: Packet analysis {"connection_id":204161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1099b"} 
[2026-10-05 06:44:37] local.INFO: Extracted packet for processing {"connection_id":204161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1099b"} 
[2026-10-05 06:44:37] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":27,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537543424001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791162580000,"timestamp_ms":1791162580000,"timestamp_seconds":1791162580,"priority":1,"record_length":96,"hex_timestamp":"000001a1099bfc20"} 
[2026-10-05 06:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:44:37] 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-10-05 06:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:44: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-10-05 06:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537543424001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537543424001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:44:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:44:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537543424001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":204161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965811,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:44:38] local.INFO: GPS data processed {"connection_id":204161,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:44:38] local.INFO: Acknowledgment sent {"connection_id":204161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:44:55] local.INFO: TCP Data received {"connection_id":204162,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:44:55] local.INFO: Processing buffer {"connection_id":204162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:44:55] local.INFO: IMEI packet received {"connection_id":204162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":204162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:45:00] local.INFO: TCP Data received {"connection_id":207255,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:45:00] local.INFO: Processing buffer {"connection_id":207255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:45:00] local.INFO: IMEI packet received {"connection_id":207255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":207255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:45:01] local.INFO: TCP Data received {"connection_id":204162,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:45:01] local.INFO: Processing buffer {"connection_id":204162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:45:01] local.INFO: IMEI packet received {"connection_id":204162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":204162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:45:01] local.INFO: TCP Data received {"connection_id":204162,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:45:01] local.INFO: Processing buffer {"connection_id":204162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:45:01] local.INFO: Packet analysis {"connection_id":204162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1099c"} 
[2026-10-05 06:45:01] local.INFO: Extracted packet for processing {"connection_id":204162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1099c"} 
[2026-10-05 06:45:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537547520001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791162597000,"timestamp_ms":1791162597000,"timestamp_seconds":1791162597,"priority":1,"record_length":96,"hex_timestamp":"000001a1099c3e88"} 
[2026-10-05 06:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:45:01] 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-10-05 06: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":194,"data_length":795,"current_offset":136} 
[2026-10-05 06:45: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-10-05 06: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-10-05 06:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:45: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-10-05 06:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537547520001,"66":25495,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537547520001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:45:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:45:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537547520001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":204162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:45:01] local.INFO: GPS data processed {"connection_id":204162,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:45:01] local.INFO: Acknowledgment sent {"connection_id":204162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:45:05] local.INFO: TCP Data received {"connection_id":207255,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:45:05] local.INFO: Processing buffer {"connection_id":207255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:45:05] local.INFO: IMEI packet received {"connection_id":207255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":207255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:45:05] local.INFO: TCP Data received {"connection_id":207255,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109a093e8012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a093e8012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:45:06] local.INFO: Processing buffer {"connection_id":207255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a093e8012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:45:06] local.INFO: Packet analysis {"connection_id":207255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a0"} 
[2026-10-05 06:45:06] local.INFO: Extracted packet for processing {"connection_id":207255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a0"} 
[2026-10-05 06:45:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":27,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537620480001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791162881000,"timestamp_ms":1791162881000,"timestamp_seconds":1791162881,"priority":1,"record_length":96,"hex_timestamp":"000001a109a093e8"} 
[2026-10-05 06:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06: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":69,"data_length":795,"current_offset":136} 
[2026-10-05 06:45:06] 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-10-05 06: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-10-05 06:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:45: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-10-05 06:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537620480001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537620480001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:45:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:45:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537620480001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":207255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:45:06] local.INFO: GPS data processed {"connection_id":207255,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:45:06] local.INFO: Acknowledgment sent {"connection_id":207255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:45:32] local.INFO: TCP Data received {"connection_id":204162,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:45:32] local.INFO: Processing buffer {"connection_id":204162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1099c3e88012d7f91c005afd9f0001101011f..."} 
[2026-10-05 06:45:32] local.INFO: Packet analysis {"connection_id":204162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1099c"} 
[2026-10-05 06:45:32] local.INFO: Extracted packet for processing {"connection_id":204162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1099c"} 
[2026-10-05 06:45:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":17,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537547520001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:45: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-10-05 06:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791162597000,"timestamp_ms":1791162597000,"timestamp_seconds":1791162597,"priority":1,"record_length":96,"hex_timestamp":"000001a1099c3e88"} 
[2026-10-05 06:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:45:32] 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-10-05 06: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 06:45:32] 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-10-05 06: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-10-05 06:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:45: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-10-05 06:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537547520001,"66":25495,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537547520001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:45:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:45:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537547520001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":204162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:45:32] local.INFO: GPS data processed {"connection_id":204162,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:45:32] local.INFO: Acknowledgment sent {"connection_id":204162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:45:36] local.INFO: TCP Data received {"connection_id":207255,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109a093e8012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a093e8012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:45:36] local.INFO: Processing buffer {"connection_id":207255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a093e8012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:45:36] local.INFO: Packet analysis {"connection_id":207255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a0"} 
[2026-10-05 06:45:36] local.INFO: Extracted packet for processing {"connection_id":207255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a0"} 
[2026-10-05 06:45:36] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":27,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537620480001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791162881000,"timestamp_ms":1791162881000,"timestamp_seconds":1791162881,"priority":1,"record_length":96,"hex_timestamp":"000001a109a093e8"} 
[2026-10-05 06:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 06:45:36] 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-10-05 06: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-10-05 06:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:45: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-10-05 06:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537620480001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537620480001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:45:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:45:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537620480001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":207255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:45:37] local.INFO: GPS data processed {"connection_id":207255,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:45:37] local.INFO: Acknowledgment sent {"connection_id":207255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:45:59] local.INFO: TCP Data received {"connection_id":207256,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:45:59] local.INFO: Processing buffer {"connection_id":207256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:45:59] local.INFO: IMEI packet received {"connection_id":207256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":207256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:46:01] local.INFO: TCP Data received {"connection_id":204261,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:46:01] local.INFO: Processing buffer {"connection_id":204261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:46:01] local.INFO: IMEI packet received {"connection_id":204261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":204261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:46:05] local.INFO: TCP Data received {"connection_id":207256,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:46:05] local.INFO: Processing buffer {"connection_id":207256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:46:05] local.INFO: IMEI packet received {"connection_id":207256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":207256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:46:06] local.INFO: TCP Data received {"connection_id":207256,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109a093e8012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a093e8012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:46:06] local.INFO: Processing buffer {"connection_id":207256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a093e8012d7c2ac005dac8a0000000bf1b..."} 
[2026-10-05 06:46:06] local.INFO: Packet analysis {"connection_id":207256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a0"} 
[2026-10-05 06:46:06] local.INFO: Extracted packet for processing {"connection_id":207256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a0"} 
[2026-10-05 06:46:06] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":0,"angle":191,"satellites":27,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537620480001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791162881000,"timestamp_ms":1791162881000,"timestamp_seconds":1791162881,"priority":1,"record_length":96,"hex_timestamp":"000001a109a093e8"} 
[2026-10-05 06:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 06:46:06] 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-10-05 06:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:46: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-10-05 06:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537620480001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537620480001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:46:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:46:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537620480001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:46:06] local.INFO: TCP Data received {"connection_id":204261,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:46:06] local.INFO: Processing buffer {"connection_id":204261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:46:06] local.INFO: IMEI packet received {"connection_id":204261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":204261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":207256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965816,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:46:06] local.INFO: GPS data processed {"connection_id":207256,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:46:06] local.INFO: Acknowledgment sent {"connection_id":207256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:46:06] local.INFO: TCP Data received {"connection_id":204261,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:46:06] local.INFO: Processing buffer {"connection_id":204261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:46:06] local.INFO: Packet analysis {"connection_id":204261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a0"} 
[2026-10-05 06:46:06] local.INFO: Extracted packet for processing {"connection_id":204261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a0"} 
[2026-10-05 06:46:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537624832001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:46: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-10-05 06:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791162897000,"timestamp_ms":1791162897000,"timestamp_seconds":1791162897,"priority":1,"record_length":96,"hex_timestamp":"000001a109a0d268"} 
[2026-10-05 06:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:46:06] 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-10-05 06:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 06:46: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-10-05 06:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:46: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-10-05 06:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537624832001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537624832001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:46:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:46:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537624832001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":204261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:46:06] local.INFO: GPS data processed {"connection_id":204261,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:46:06] local.INFO: Acknowledgment sent {"connection_id":204261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:46:36] local.INFO: TCP Data received {"connection_id":207256,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109a20ed0012d7c2ac005dac8a0000700bf1f..."} 
[2026-10-05 06:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a20ed0012d7c2ac005dac8a0000700bf1f..."} 
[2026-10-05 06:46:36] local.INFO: Processing buffer {"connection_id":207256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a20ed0012d7c2ac005dac8a0000700bf1f..."} 
[2026-10-05 06:46:36] local.INFO: Packet analysis {"connection_id":207256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a2"} 
[2026-10-05 06:46:36] local.INFO: Extracted packet for processing {"connection_id":207256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a2"} 
[2026-10-05 06:46:36] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98224288,"longitude_deg":76.3112128,"latitude_deg":9.8224288,"altitude":7,"angle":191,"satellites":31,"speed":0,"hex_longitude":"2d7c2ac0","hex_latitude":"05dac8a0","is_valid_coordinates":true} 
[2026-10-05 06:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537697536001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741102862336,"note":"Value kept but may cause issues"} 
[2026-10-05 06:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791162978000,"timestamp_ms":1791162978000,"timestamp_seconds":1791162978,"priority":1,"record_length":96,"hex_timestamp":"000001a109a20ed0"} 
[2026-10-05 06:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 06:46:36] 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-10-05 06:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:46: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-10-05 06:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537697536001,"66":12613,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8947174741102862336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537697536001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:46:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:46:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741102862336,"description":"Unknown IO ID 45"} 
[2026-10-05 06:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537697536001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8947174741102862336}} 
[2026-10-05 06:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":207256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:46:37] local.INFO: GPS data processed {"connection_id":207256,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:46:37] local.INFO: Acknowledgment sent {"connection_id":207256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:46:38] local.INFO: TCP Data received {"connection_id":204261,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:46:38] local.INFO: Processing buffer {"connection_id":204261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:46:38] local.INFO: Packet analysis {"connection_id":204261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a0"} 
[2026-10-05 06:46:38] local.INFO: Extracted packet for processing {"connection_id":204261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a0"} 
[2026-10-05 06:46:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537624832001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791162897000,"timestamp_ms":1791162897000,"timestamp_seconds":1791162897,"priority":1,"record_length":96,"hex_timestamp":"000001a109a0d268"} 
[2026-10-05 06:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:46:38] 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-10-05 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 06:46:38] 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-10-05 06: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-10-05 06:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537624832001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537624832001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:46:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:46:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537624832001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":204261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:46:38] local.INFO: GPS data processed {"connection_id":204261,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:46:38] local.INFO: Acknowledgment sent {"connection_id":204261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:46:56] local.INFO: TCP Data received {"connection_id":204165,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:46:56] local.INFO: Processing buffer {"connection_id":204165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:46:56] local.INFO: IMEI packet received {"connection_id":204165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":204165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:46:59] local.INFO: TCP Data received {"connection_id":207257,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:47:00] local.INFO: Processing buffer {"connection_id":207257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:47:00] local.INFO: IMEI packet received {"connection_id":207257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":207257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:47:01] local.INFO: TCP Data received {"connection_id":204165,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:47:01] local.INFO: Processing buffer {"connection_id":204165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:47:01] local.INFO: IMEI packet received {"connection_id":204165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":204165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:47:01] local.INFO: TCP Data received {"connection_id":204165,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:47:01] local.INFO: Processing buffer {"connection_id":204165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:47:01] local.INFO: Packet analysis {"connection_id":204165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a0"} 
[2026-10-05 06:47:01] local.INFO: Extracted packet for processing {"connection_id":204165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a0"} 
[2026-10-05 06:47:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537624832001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:47: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-10-05 06:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791162897000,"timestamp_ms":1791162897000,"timestamp_seconds":1791162897,"priority":1,"record_length":96,"hex_timestamp":"000001a109a0d268"} 
[2026-10-05 06:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:47:01] 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-10-05 06:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 06:47: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-10-05 06:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:47: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-10-05 06:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537624832001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537624832001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:47:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:47:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537624832001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":204165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:47:01] local.INFO: GPS data processed {"connection_id":204165,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:47:01] local.INFO: Acknowledgment sent {"connection_id":204165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:47:05] local.INFO: TCP Data received {"connection_id":207257,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:47:05] local.INFO: Processing buffer {"connection_id":207257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:47:05] local.INFO: IMEI packet received {"connection_id":207257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":207257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:47:05] local.INFO: TCP Data received {"connection_id":207257,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109a26c90012d7c290005dac720000700541f..."} 
[2026-10-05 06:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a26c90012d7c290005dac720000700541f..."} 
[2026-10-05 06:47:05] local.INFO: Processing buffer {"connection_id":207257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a26c90012d7c290005dac720000700541f..."} 
[2026-10-05 06:47:05] local.INFO: Packet analysis {"connection_id":207257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a2"} 
[2026-10-05 06:47:05] local.INFO: Extracted packet for processing {"connection_id":207257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a2"} 
[2026-10-05 06:47:05] local.INFO: GPS Element Parsed {"raw_longitude":763111680,"raw_latitude":98223904,"longitude_deg":76.311168,"latitude_deg":9.8223904,"altitude":7,"angle":84,"satellites":31,"speed":0,"hex_longitude":"2d7c2900","hex_latitude":"05dac720","is_valid_coordinates":true} 
[2026-10-05 06:47:05] 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-10-05 06:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537728512001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946682159893520384,"note":"Value kept but may cause issues"} 
[2026-10-05 06:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791163002000,"timestamp_ms":1791163002000,"timestamp_seconds":1791163002,"priority":1,"record_length":96,"hex_timestamp":"000001a109a26c90"} 
[2026-10-05 06:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06: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":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-05 06:47:05] 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-10-05 06: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-10-05 06:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:47: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-10-05 06:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537728512001,"66":11743,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8946682159893520384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537728512001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:47:05] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:47:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946682159893520384,"description":"Unknown IO ID 45"} 
[2026-10-05 06:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537728512001,"power":11743,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8946682159893520384}} 
[2026-10-05 06:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":207257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:47:05] local.INFO: GPS data processed {"connection_id":207257,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:47:05] local.INFO: Acknowledgment sent {"connection_id":207257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:47:33] local.INFO: TCP Data received {"connection_id":204165,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:47:33] local.INFO: Processing buffer {"connection_id":204165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:47:33] local.INFO: Packet analysis {"connection_id":204165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a0"} 
[2026-10-05 06:47:33] local.INFO: Extracted packet for processing {"connection_id":204165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a0"} 
[2026-10-05 06:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537624832001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:47: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-10-05 06:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791162897000,"timestamp_ms":1791162897000,"timestamp_seconds":1791162897,"priority":1,"record_length":96,"hex_timestamp":"000001a109a0d268"} 
[2026-10-05 06:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:47:33] 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-10-05 06:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 06:47:33] 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-10-05 06:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:47: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-10-05 06:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537624832001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537624832001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:47:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:47:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537624832001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":204165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:47:33] local.INFO: GPS data processed {"connection_id":204165,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:47:33] local.INFO: Acknowledgment sent {"connection_id":204165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:47:36] local.INFO: TCP Data received {"connection_id":207257,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109a32428012d7c290005dac720000700541e..."} 
[2026-10-05 06:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a32428012d7c290005dac720000700541e..."} 
[2026-10-05 06:47:36] local.INFO: Processing buffer {"connection_id":207257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a32428012d7c290005dac720000700541e..."} 
[2026-10-05 06:47:36] local.INFO: Packet analysis {"connection_id":207257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a3"} 
[2026-10-05 06:47:36] local.INFO: Extracted packet for processing {"connection_id":207257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a3"} 
[2026-10-05 06:47:36] local.INFO: GPS Element Parsed {"raw_longitude":763111680,"raw_latitude":98223904,"longitude_deg":76.311168,"latitude_deg":9.8223904,"altitude":7,"angle":84,"satellites":30,"speed":0,"hex_longitude":"2d7c2900","hex_latitude":"05dac720","is_valid_coordinates":true} 
[2026-10-05 06:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537740544001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946682159893520384,"note":"Value kept but may cause issues"} 
[2026-10-05 06:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791163049000,"timestamp_ms":1791163049000,"timestamp_seconds":1791163049,"priority":1,"record_length":96,"hex_timestamp":"000001a109a32428"} 
[2026-10-05 06:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:47:36] 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-10-05 06: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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-10-05 06:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 06: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-10-05 06:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:47: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-10-05 06:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537740544001,"66":11711,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8946682159893520384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537740544001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:47:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:47:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946682159893520384,"description":"Unknown IO ID 45"} 
[2026-10-05 06:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537740544001,"power":11711,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8946682159893520384}} 
[2026-10-05 06:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":207257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:47:37] local.INFO: GPS data processed {"connection_id":207257,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:47:37] local.INFO: Acknowledgment sent {"connection_id":207257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:47:56] local.INFO: TCP Data received {"connection_id":207258,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:47:56] local.INFO: Processing buffer {"connection_id":207258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:47:56] local.INFO: IMEI packet received {"connection_id":207258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":207258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:48:00] local.INFO: TCP Data received {"connection_id":205699,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:48:00] local.INFO: Processing buffer {"connection_id":205699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:48:00] local.INFO: IMEI packet received {"connection_id":205699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":205699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:48:00] local.INFO: TCP Data received {"connection_id":205699,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:48:00] local.INFO: Processing buffer {"connection_id":205699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:48:00] local.INFO: IMEI packet received {"connection_id":205699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":205699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:48:01] local.INFO: TCP Data received {"connection_id":207258,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:48:01] local.INFO: Processing buffer {"connection_id":207258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:48:01] local.INFO: IMEI packet received {"connection_id":207258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":207258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:48:02] local.INFO: TCP Data received {"connection_id":207258,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:48:02] local.INFO: Processing buffer {"connection_id":207258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:48:02] local.INFO: Packet analysis {"connection_id":207258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a0"} 
[2026-10-05 06:48:02] local.INFO: Extracted packet for processing {"connection_id":207258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a0"} 
[2026-10-05 06:48:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537624832001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:48: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-10-05 06:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791162897000,"timestamp_ms":1791162897000,"timestamp_seconds":1791162897,"priority":1,"record_length":96,"hex_timestamp":"000001a109a0d268"} 
[2026-10-05 06:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:48: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-10-05 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 06:48:02] 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-10-05 06: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-10-05 06:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:48: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-10-05 06:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537624832001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537624832001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:48:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:48:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537624832001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":207258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:48:02] local.INFO: GPS data processed {"connection_id":207258,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:48:02] local.INFO: Acknowledgment sent {"connection_id":207258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:48:04] local.INFO: TCP Data received {"connection_id":205699,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:48:04] local.INFO: Processing buffer {"connection_id":205699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:48:04] local.INFO: IMEI packet received {"connection_id":205699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":205699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:48:05] local.INFO: TCP Data received {"connection_id":205699,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109a32428012d7c290005dac720000700541e..."} 
[2026-10-05 06:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a32428012d7c290005dac720000700541e..."} 
[2026-10-05 06:48:05] local.INFO: Processing buffer {"connection_id":205699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a32428012d7c290005dac720000700541e..."} 
[2026-10-05 06:48:05] local.INFO: Packet analysis {"connection_id":205699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a3"} 
[2026-10-05 06:48:05] local.INFO: Extracted packet for processing {"connection_id":205699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a3"} 
[2026-10-05 06:48:05] local.INFO: GPS Element Parsed {"raw_longitude":763111680,"raw_latitude":98223904,"longitude_deg":76.311168,"latitude_deg":9.8223904,"altitude":7,"angle":84,"satellites":30,"speed":0,"hex_longitude":"2d7c2900","hex_latitude":"05dac720","is_valid_coordinates":true} 
[2026-10-05 06:48:05] 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-10-05 06:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537740544001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946682159893520384,"note":"Value kept but may cause issues"} 
[2026-10-05 06:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791163049000,"timestamp_ms":1791163049000,"timestamp_seconds":1791163049,"priority":1,"record_length":96,"hex_timestamp":"000001a109a32428"} 
[2026-10-05 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-10-05 06:48:05] 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-10-05 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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-10-05 06:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 06:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:48: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-10-05 06:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537740544001,"66":11711,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8946682159893520384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537740544001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:48:05] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:48:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946682159893520384,"description":"Unknown IO ID 45"} 
[2026-10-05 06:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537740544001,"power":11711,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8946682159893520384}} 
[2026-10-05 06:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":205699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965825,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:48:05] local.INFO: GPS data processed {"connection_id":205699,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:48:05] local.INFO: Acknowledgment sent {"connection_id":205699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:48:33] local.INFO: TCP Data received {"connection_id":207258,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:48:33] local.INFO: Processing buffer {"connection_id":207258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:48:33] local.INFO: Packet analysis {"connection_id":207258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a0"} 
[2026-10-05 06:48:33] local.INFO: Extracted packet for processing {"connection_id":207258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a0"} 
[2026-10-05 06:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537624832001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:48: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-10-05 06:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791162897000,"timestamp_ms":1791162897000,"timestamp_seconds":1791162897,"priority":1,"record_length":96,"hex_timestamp":"000001a109a0d268"} 
[2026-10-05 06:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:48:33] 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-10-05 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 06:48:33] 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-10-05 06: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-10-05 06:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:48: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-10-05 06:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537624832001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537624832001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:48:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:48:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537624832001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":207258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:48:33] local.INFO: GPS data processed {"connection_id":207258,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:48:33] local.INFO: Acknowledgment sent {"connection_id":207258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:48:37] local.INFO: TCP Data received {"connection_id":205699,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109a32428012d7c290005dac720000700541e..."} 
[2026-10-05 06:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a32428012d7c290005dac720000700541e..."} 
[2026-10-05 06:48:37] local.INFO: Processing buffer {"connection_id":205699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a32428012d7c290005dac720000700541e..."} 
[2026-10-05 06:48:37] local.INFO: Packet analysis {"connection_id":205699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a3"} 
[2026-10-05 06:48:37] local.INFO: Extracted packet for processing {"connection_id":205699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a3"} 
[2026-10-05 06:48:37] local.INFO: GPS Element Parsed {"raw_longitude":763111680,"raw_latitude":98223904,"longitude_deg":76.311168,"latitude_deg":9.8223904,"altitude":7,"angle":84,"satellites":30,"speed":0,"hex_longitude":"2d7c2900","hex_latitude":"05dac720","is_valid_coordinates":true} 
[2026-10-05 06:48: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-10-05 06:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537740544001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946682159893520384,"note":"Value kept but may cause issues"} 
[2026-10-05 06:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791163049000,"timestamp_ms":1791163049000,"timestamp_seconds":1791163049,"priority":1,"record_length":96,"hex_timestamp":"000001a109a32428"} 
[2026-10-05 06:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 06:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-10-05 06:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 06:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:48: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-10-05 06:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537740544001,"66":11711,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8946682159893520384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537740544001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:48:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:48:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946682159893520384,"description":"Unknown IO ID 45"} 
[2026-10-05 06:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537740544001,"power":11711,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8946682159893520384}} 
[2026-10-05 06:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":205699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:48:37] local.INFO: GPS data processed {"connection_id":205699,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:48:37] local.INFO: Acknowledgment sent {"connection_id":205699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:48:55] local.INFO: TCP Data received {"connection_id":207259,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:48:55] local.INFO: Processing buffer {"connection_id":207259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:48:55] local.INFO: IMEI packet received {"connection_id":207259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":207259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:49:01] local.INFO: TCP Data received {"connection_id":207259,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:49:01] local.INFO: Processing buffer {"connection_id":207259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:49:01] local.INFO: IMEI packet received {"connection_id":207259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":207259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:49:01] local.INFO: TCP Data received {"connection_id":207259,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:49:01] local.INFO: Processing buffer {"connection_id":207259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:49:01] local.INFO: Packet analysis {"connection_id":207259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a0"} 
[2026-10-05 06:49:01] local.INFO: Extracted packet for processing {"connection_id":207259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a0"} 
[2026-10-05 06:49:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537624832001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:49: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-10-05 06:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791162897000,"timestamp_ms":1791162897000,"timestamp_seconds":1791162897,"priority":1,"record_length":96,"hex_timestamp":"000001a109a0d268"} 
[2026-10-05 06:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:49:01] 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-10-05 06:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 06:49: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-10-05 06: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-10-05 06:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:49: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-10-05 06:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537624832001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537624832001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:49:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:49:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537624832001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":207259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:49:01] local.INFO: GPS data processed {"connection_id":207259,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:49:01] local.INFO: Acknowledgment sent {"connection_id":207259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:49:03] local.INFO: TCP Data received {"connection_id":204167,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:49:03] local.INFO: Processing buffer {"connection_id":204167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:49:03] local.INFO: IMEI packet received {"connection_id":204167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":204167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:49:03] local.INFO: TCP Data received {"connection_id":204262,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204262,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:49:03] local.INFO: Processing buffer {"connection_id":204262,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:49:03] local.INFO: IMEI packet received {"connection_id":204262,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 06:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":204262,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:49:05] local.INFO: TCP Data received {"connection_id":204167,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:49:05] local.INFO: Processing buffer {"connection_id":204167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:49:05] local.INFO: IMEI packet received {"connection_id":204167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":204167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:49:10] local.INFO: TCP Data received {"connection_id":204167,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:49:10] local.INFO: Processing buffer {"connection_id":204167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:49:10] local.INFO: IMEI packet received {"connection_id":204167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":204167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:49:10] local.INFO: TCP Data received {"connection_id":204167,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109a33b98012d7c290005dac720000700541f..."} 
[2026-10-05 06:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a33b98012d7c290005dac720000700541f..."} 
[2026-10-05 06:49:10] local.INFO: Processing buffer {"connection_id":204167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a33b98012d7c290005dac720000700541f..."} 
[2026-10-05 06:49:10] local.INFO: Packet analysis {"connection_id":204167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a3"} 
[2026-10-05 06:49:10] local.INFO: Extracted packet for processing {"connection_id":204167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a3"} 
[2026-10-05 06:49:10] local.INFO: GPS Element Parsed {"raw_longitude":763111680,"raw_latitude":98223904,"longitude_deg":76.311168,"latitude_deg":9.8223904,"altitude":7,"angle":84,"satellites":31,"speed":0,"hex_longitude":"2d7c2900","hex_latitude":"05dac720","is_valid_coordinates":true} 
[2026-10-05 06:49:10] 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-10-05 06:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537740544001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946682159893520384,"note":"Value kept but may cause issues"} 
[2026-10-05 06:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791163055000,"timestamp_ms":1791163055000,"timestamp_seconds":1791163055,"priority":1,"record_length":96,"hex_timestamp":"000001a109a33b98"} 
[2026-10-05 06:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:49:10] 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-10-05 06: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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-10-05 06:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 06: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-10-05 06:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:49: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-10-05 06:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537740544001,"66":12113,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8946682159893520384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537740544001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:49:10] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946682159893520384,"description":"Unknown IO ID 45"} 
[2026-10-05 06:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537740544001,"power":12113,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8946682159893520384}} 
[2026-10-05 06:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":204167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:49:10] local.INFO: GPS data processed {"connection_id":204167,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:49:10] local.INFO: Acknowledgment sent {"connection_id":204167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:49:15] local.INFO: TCP Data received {"connection_id":204167,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109a33b98012d7c290005dac720000700541f..."} 
[2026-10-05 06:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a33b98012d7c290005dac720000700541f..."} 
[2026-10-05 06:49:15] local.INFO: Processing buffer {"connection_id":204167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a33b98012d7c290005dac720000700541f..."} 
[2026-10-05 06:49:15] local.INFO: Packet analysis {"connection_id":204167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a3"} 
[2026-10-05 06:49:15] local.INFO: Extracted packet for processing {"connection_id":204167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a3"} 
[2026-10-05 06:49:15] local.INFO: GPS Element Parsed {"raw_longitude":763111680,"raw_latitude":98223904,"longitude_deg":76.311168,"latitude_deg":9.8223904,"altitude":7,"angle":84,"satellites":31,"speed":0,"hex_longitude":"2d7c2900","hex_latitude":"05dac720","is_valid_coordinates":true} 
[2026-10-05 06:49:15] 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-10-05 06:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537742080001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946682159893520384,"note":"Value kept but may cause issues"} 
[2026-10-05 06:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791163055000,"timestamp_ms":1791163055000,"timestamp_seconds":1791163055,"priority":1,"record_length":96,"hex_timestamp":"000001a109a33b98"} 
[2026-10-05 06:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:49:15] 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-10-05 06:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-10-05 06:49:15] 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-10-05 06:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:49: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-10-05 06:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537742080001,"66":12113,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8946682159893520384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537742080001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:49:15] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:49:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946682159893520384,"description":"Unknown IO ID 45"} 
[2026-10-05 06:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537742080001,"power":12113,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8946682159893520384}} 
[2026-10-05 06:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":204167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:49:15] local.INFO: GPS data processed {"connection_id":204167,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:49:15] local.INFO: Acknowledgment sent {"connection_id":204167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:49:32] local.INFO: TCP Data received {"connection_id":207259,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:49:32] local.INFO: Processing buffer {"connection_id":207259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:49:32] local.INFO: Packet analysis {"connection_id":207259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a0"} 
[2026-10-05 06:49:32] local.INFO: Extracted packet for processing {"connection_id":207259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a0"} 
[2026-10-05 06:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537624832001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:49: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-10-05 06:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791162897000,"timestamp_ms":1791162897000,"timestamp_seconds":1791162897,"priority":1,"record_length":96,"hex_timestamp":"000001a109a0d268"} 
[2026-10-05 06:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:49:32] 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-10-05 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 06:49:32] 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-10-05 06: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-10-05 06:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:49:32] 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-10-05 06:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537624832001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537624832001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:49:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:49:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537624832001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":207259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:49:33] local.INFO: GPS data processed {"connection_id":207259,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:49:33] local.INFO: Acknowledgment sent {"connection_id":207259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:49:44] local.INFO: TCP Data received {"connection_id":204263,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204263,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:49:44] local.INFO: Processing buffer {"connection_id":204263,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:49:44] local.INFO: IMEI packet received {"connection_id":204263,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 06:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":204263,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:49:55] local.INFO: TCP Data received {"connection_id":205700,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:49:55] local.INFO: Processing buffer {"connection_id":205700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:49:55] local.INFO: IMEI packet received {"connection_id":205700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":205700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:49:59] local.INFO: TCP Data received {"connection_id":205701,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:49:59] local.INFO: Processing buffer {"connection_id":205701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:49:59] local.INFO: IMEI packet received {"connection_id":205701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":205701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:50:01] local.INFO: TCP Data received {"connection_id":205700,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:50:01] local.INFO: Processing buffer {"connection_id":205700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:50:01] local.INFO: IMEI packet received {"connection_id":205700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":205700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:50:01] local.INFO: TCP Data received {"connection_id":205700,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:50:01] local.INFO: Processing buffer {"connection_id":205700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:50:01] local.INFO: Packet analysis {"connection_id":205700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a0"} 
[2026-10-05 06:50:01] local.INFO: Extracted packet for processing {"connection_id":205700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a0"} 
[2026-10-05 06:50:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537624832001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791162897000,"timestamp_ms":1791162897000,"timestamp_seconds":1791162897,"priority":1,"record_length":96,"hex_timestamp":"000001a109a0d268"} 
[2026-10-05 06:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:50:01] 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-10-05 06: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":151,"data_length":795,"current_offset":136} 
[2026-10-05 06:50: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-10-05 06: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-10-05 06:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:50: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-10-05 06:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537624832001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537624832001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:50:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:50:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537624832001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":205700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:50:01] local.INFO: GPS data processed {"connection_id":205700,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:50:01] local.INFO: Acknowledgment sent {"connection_id":205700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:50:04] local.INFO: TCP Data received {"connection_id":205701,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:50:04] local.INFO: Processing buffer {"connection_id":205701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:50:04] local.INFO: IMEI packet received {"connection_id":205701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":205701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:50:05] local.INFO: TCP Data received {"connection_id":205701,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109a33b98012d7c290005dac720000700541f..."} 
[2026-10-05 06:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a33b98012d7c290005dac720000700541f..."} 
[2026-10-05 06:50:05] local.INFO: Processing buffer {"connection_id":205701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a33b98012d7c290005dac720000700541f..."} 
[2026-10-05 06:50:05] local.INFO: Packet analysis {"connection_id":205701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a3"} 
[2026-10-05 06:50:05] local.INFO: Extracted packet for processing {"connection_id":205701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a3"} 
[2026-10-05 06:50:05] local.INFO: GPS Element Parsed {"raw_longitude":763111680,"raw_latitude":98223904,"longitude_deg":76.311168,"latitude_deg":9.8223904,"altitude":7,"angle":84,"satellites":31,"speed":0,"hex_longitude":"2d7c2900","hex_latitude":"05dac720","is_valid_coordinates":true} 
[2026-10-05 06:50: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-10-05 06:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537742080001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946682159893520384,"note":"Value kept but may cause issues"} 
[2026-10-05 06:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791163055000,"timestamp_ms":1791163055000,"timestamp_seconds":1791163055,"priority":1,"record_length":96,"hex_timestamp":"000001a109a33b98"} 
[2026-10-05 06:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:50:05] 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-10-05 06: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-10-05 06:50:05] 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-10-05 06: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-10-05 06:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:50: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-10-05 06:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537742080001,"66":12113,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8946682159893520384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537742080001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:50:05] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:50:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946682159893520384,"description":"Unknown IO ID 45"} 
[2026-10-05 06:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537742080001,"power":12113,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8946682159893520384}} 
[2026-10-05 06:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":205701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:50:05] local.INFO: GPS data processed {"connection_id":205701,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:50:05] local.INFO: Acknowledgment sent {"connection_id":205701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:50:32] local.INFO: TCP Data received {"connection_id":205700,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:50:32] local.INFO: Processing buffer {"connection_id":205700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a0d268012d7f91c005afd9f0000e010122..."} 
[2026-10-05 06:50:32] local.INFO: Packet analysis {"connection_id":205700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a0"} 
[2026-10-05 06:50:32] local.INFO: Extracted packet for processing {"connection_id":205700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a0"} 
[2026-10-05 06:50:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":14,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537624832001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791162897000,"timestamp_ms":1791162897000,"timestamp_seconds":1791162897,"priority":1,"record_length":96,"hex_timestamp":"000001a109a0d268"} 
[2026-10-05 06:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:50:32] 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-10-05 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 06:50:32] 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-10-05 06: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-10-05 06:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:50:32] 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-10-05 06:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537624832001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537624832001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:50:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:50:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537624832001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":205700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:50:32] local.INFO: GPS data processed {"connection_id":205700,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:50:32] local.INFO: Acknowledgment sent {"connection_id":205700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:50:36] local.INFO: TCP Data received {"connection_id":205701,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109a52f98012d7c290005dac720000700541e..."} 
[2026-10-05 06:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a52f98012d7c290005dac720000700541e..."} 
[2026-10-05 06:50:36] local.INFO: Processing buffer {"connection_id":205701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a52f98012d7c290005dac720000700541e..."} 
[2026-10-05 06:50:36] local.INFO: Packet analysis {"connection_id":205701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a5"} 
[2026-10-05 06:50:36] local.INFO: Extracted packet for processing {"connection_id":205701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a5"} 
[2026-10-05 06:50:36] local.INFO: GPS Element Parsed {"raw_longitude":763111680,"raw_latitude":98223904,"longitude_deg":76.311168,"latitude_deg":9.8223904,"altitude":7,"angle":84,"satellites":30,"speed":0,"hex_longitude":"2d7c2900","hex_latitude":"05dac720","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537769472001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946682159893520384,"note":"Value kept but may cause issues"} 
[2026-10-05 06:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791163183000,"timestamp_ms":1791163183000,"timestamp_seconds":1791163183,"priority":1,"record_length":96,"hex_timestamp":"000001a109a52f98"} 
[2026-10-05 06:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 06: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-05 06:50:36] 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-10-05 06: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-10-05 06:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:50: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-10-05 06:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537769472001,"66":14135,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8946682159893520384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537769472001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:50:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:50:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946682159893520384,"description":"Unknown IO ID 45"} 
[2026-10-05 06:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537769472001,"power":14135,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8946682159893520384}} 
[2026-10-05 06:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":205701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965835,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:50:36] local.INFO: GPS data processed {"connection_id":205701,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:50:36] local.INFO: Acknowledgment sent {"connection_id":205701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:51:00] local.INFO: TCP Data received {"connection_id":204265,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:51:00] local.INFO: Processing buffer {"connection_id":204265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:51:00] local.INFO: IMEI packet received {"connection_id":204265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":204265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:51:00] local.INFO: TCP Data received {"connection_id":207260,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:51:00] local.INFO: Processing buffer {"connection_id":207260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:51:00] local.INFO: IMEI packet received {"connection_id":207260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":207260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:51:04] local.INFO: TCP Data received {"connection_id":204265,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:51:04] local.INFO: Processing buffer {"connection_id":204265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:51:04] local.INFO: IMEI packet received {"connection_id":204265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":204265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:51:05] local.INFO: TCP Data received {"connection_id":204265,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109a581a0012d7c290005dac720000700541c..."} 
[2026-10-05 06:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a581a0012d7c290005dac720000700541c..."} 
[2026-10-05 06:51:05] local.INFO: Processing buffer {"connection_id":204265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a581a0012d7c290005dac720000700541c..."} 
[2026-10-05 06:51:05] local.INFO: Packet analysis {"connection_id":204265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a5"} 
[2026-10-05 06:51:05] local.INFO: Extracted packet for processing {"connection_id":204265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a5"} 
[2026-10-05 06:51:05] local.INFO: GPS Element Parsed {"raw_longitude":763111680,"raw_latitude":98223904,"longitude_deg":76.311168,"latitude_deg":9.8223904,"altitude":7,"angle":84,"satellites":28,"speed":0,"hex_longitude":"2d7c2900","hex_latitude":"05dac720","is_valid_coordinates":true} 
[2026-10-05 06:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537774848001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946682159893520384,"note":"Value kept but may cause issues"} 
[2026-10-05 06:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791163204000,"timestamp_ms":1791163204000,"timestamp_seconds":1791163204,"priority":1,"record_length":96,"hex_timestamp":"000001a109a581a0"} 
[2026-10-05 06:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 06:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-10-05 06:51:05] 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-10-05 06:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:51: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-10-05 06:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537774848001,"66":14026,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8946682159893520384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537774848001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:51:05] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:51:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946682159893520384,"description":"Unknown IO ID 45"} 
[2026-10-05 06:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537774848001,"power":14026,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8946682159893520384}} 
[2026-10-05 06:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":204265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:51:05] local.INFO: GPS data processed {"connection_id":204265,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:51:05] local.INFO: Acknowledgment sent {"connection_id":204265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:51:06] local.INFO: TCP Data received {"connection_id":207260,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:51:06] local.INFO: Processing buffer {"connection_id":207260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:51:06] local.INFO: IMEI packet received {"connection_id":207260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":207260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:51:06] local.INFO: TCP Data received {"connection_id":207260,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:51:06] local.INFO: Processing buffer {"connection_id":207260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:51:06] local.INFO: Packet analysis {"connection_id":207260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a5"} 
[2026-10-05 06:51:06] local.INFO: Extracted packet for processing {"connection_id":207260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a5"} 
[2026-10-05 06:51:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537701632001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:51: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-10-05 06:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791163198000,"timestamp_ms":1791163198000,"timestamp_seconds":1791163198,"priority":1,"record_length":96,"hex_timestamp":"000001a109a56a30"} 
[2026-10-05 06:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:51:06] 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-10-05 06:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:51:06] 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-10-05 06:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:51: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-10-05 06:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537701632001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537701632001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:51:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:51:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537701632001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":207260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:51:06] local.INFO: GPS data processed {"connection_id":207260,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:51:06] local.INFO: Acknowledgment sent {"connection_id":207260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:51:36] local.INFO: TCP Data received {"connection_id":204265,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109a5d3a8012d7c290005dac720000700541f..."} 
[2026-10-05 06:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a5d3a8012d7c290005dac720000700541f..."} 
[2026-10-05 06:51:36] local.INFO: Processing buffer {"connection_id":204265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a5d3a8012d7c290005dac720000700541f..."} 
[2026-10-05 06:51:36] local.INFO: Packet analysis {"connection_id":204265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a5"} 
[2026-10-05 06:51:36] local.INFO: Extracted packet for processing {"connection_id":204265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a5"} 
[2026-10-05 06:51:36] local.INFO: GPS Element Parsed {"raw_longitude":763111680,"raw_latitude":98223904,"longitude_deg":76.311168,"latitude_deg":9.8223904,"altitude":7,"angle":84,"satellites":31,"speed":0,"hex_longitude":"2d7c2900","hex_latitude":"05dac720","is_valid_coordinates":true} 
[2026-10-05 06:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537780224001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946682159893520384,"note":"Value kept but may cause issues"} 
[2026-10-05 06:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791163225000,"timestamp_ms":1791163225000,"timestamp_seconds":1791163225,"priority":1,"record_length":96,"hex_timestamp":"000001a109a5d3a8"} 
[2026-10-05 06:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 06:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-10-05 06:51:36] 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-10-05 06:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:51: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-10-05 06:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537780224001,"66":14135,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8946682159893520384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537780224001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:51:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:51:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946682159893520384,"description":"Unknown IO ID 45"} 
[2026-10-05 06:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537780224001,"power":14135,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8946682159893520384}} 
[2026-10-05 06:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":204265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965838,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:51:36] local.INFO: GPS data processed {"connection_id":204265,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:51:36] local.INFO: Acknowledgment sent {"connection_id":204265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:51:37] local.INFO: TCP Data received {"connection_id":207260,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:51:37] local.INFO: Processing buffer {"connection_id":207260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:51:37] local.INFO: Packet analysis {"connection_id":207260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a5"} 
[2026-10-05 06:51:37] local.INFO: Extracted packet for processing {"connection_id":207260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a5"} 
[2026-10-05 06:51:37] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537701632001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791163198000,"timestamp_ms":1791163198000,"timestamp_seconds":1791163198,"priority":1,"record_length":96,"hex_timestamp":"000001a109a56a30"} 
[2026-10-05 06:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:51:37] 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-10-05 06:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:51:37] 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-10-05 06:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537701632001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537701632001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:51:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:51:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537701632001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":207260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:51:37] local.INFO: GPS data processed {"connection_id":207260,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:51:37] local.INFO: Acknowledgment sent {"connection_id":207260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:51:58] local.INFO: TCP Data received {"connection_id":207262,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:51:58] local.INFO: Processing buffer {"connection_id":207262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:51:58] local.INFO: IMEI packet received {"connection_id":207262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":207262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:52:00] local.INFO: TCP Data received {"connection_id":207262,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:52:00] local.INFO: Processing buffer {"connection_id":207262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:52:00] local.INFO: IMEI packet received {"connection_id":207262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":207262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:52:01] local.INFO: TCP Data received {"connection_id":204168,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:52:01] local.INFO: Processing buffer {"connection_id":204168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:52:01] local.INFO: IMEI packet received {"connection_id":204168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":204168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:52:05] local.INFO: TCP Data received {"connection_id":207262,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:52:05] local.INFO: Processing buffer {"connection_id":207262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:52:05] local.INFO: IMEI packet received {"connection_id":207262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":207262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:52:05] local.INFO: TCP Data received {"connection_id":207262,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109a625b0012d7c290005dac720000700541b..."} 
[2026-10-05 06:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a625b0012d7c290005dac720000700541b..."} 
[2026-10-05 06:52:05] local.INFO: Processing buffer {"connection_id":207262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a625b0012d7c290005dac720000700541b..."} 
[2026-10-05 06:52:05] local.INFO: Packet analysis {"connection_id":207262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a6"} 
[2026-10-05 06:52:05] local.INFO: Extracted packet for processing {"connection_id":207262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a6"} 
[2026-10-05 06:52:05] local.INFO: GPS Element Parsed {"raw_longitude":763111680,"raw_latitude":98223904,"longitude_deg":76.311168,"latitude_deg":9.8223904,"altitude":7,"angle":84,"satellites":27,"speed":0,"hex_longitude":"2d7c2900","hex_latitude":"05dac720","is_valid_coordinates":true} 
[2026-10-05 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-10-05 06:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537785600001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228327041826816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946682159893520384,"note":"Value kept but may cause issues"} 
[2026-10-05 06:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791163246000,"timestamp_ms":1791163246000,"timestamp_seconds":1791163246,"priority":1,"record_length":96,"hex_timestamp":"000001a109a625b0"} 
[2026-10-05 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-10-05 06:52: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-10-05 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-10-05 06:52:05] 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-10-05 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-10-05 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-10-05 06:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:52: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-10-05 06:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537785600001,"66":13917,"161":206,"85":15104,"24":0,"16":139228327041826816,"45":8946682159893520384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537785600001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:52:05] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:52:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228327041826816,"km_value":139228327041826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946682159893520384,"description":"Unknown IO ID 45"} 
[2026-10-05 06:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537785600001,"power":13917,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8946682159893520384}} 
[2026-10-05 06:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":207262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:52:06] local.INFO: GPS data processed {"connection_id":207262,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:52:06] local.INFO: Acknowledgment sent {"connection_id":207262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:52:06] local.INFO: TCP Data received {"connection_id":204168,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:52:06] local.INFO: Processing buffer {"connection_id":204168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:52:06] local.INFO: IMEI packet received {"connection_id":204168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":204168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:52:06] local.INFO: TCP Data received {"connection_id":204168,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:52:06] local.INFO: Processing buffer {"connection_id":204168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:52:06] local.INFO: Packet analysis {"connection_id":204168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a5"} 
[2026-10-05 06:52:06] local.INFO: Extracted packet for processing {"connection_id":204168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a5"} 
[2026-10-05 06:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 06:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537701632001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:52: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-10-05 06:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791163198000,"timestamp_ms":1791163198000,"timestamp_seconds":1791163198,"priority":1,"record_length":96,"hex_timestamp":"000001a109a56a30"} 
[2026-10-05 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-10-05 06:52:06] 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-10-05 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:52:06] 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-10-05 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-10-05 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-10-05 06:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:52: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-10-05 06:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537701632001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537701632001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:52:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:52:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537701632001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":204168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:52:06] local.INFO: GPS data processed {"connection_id":204168,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:52:06] local.INFO: Acknowledgment sent {"connection_id":204168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:52:11] local.INFO: TCP Data received {"connection_id":204168,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:52:11] local.INFO: Processing buffer {"connection_id":204168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:52:11] local.INFO: Packet analysis {"connection_id":204168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a5"} 
[2026-10-05 06:52:11] local.INFO: Extracted packet for processing {"connection_id":204168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a5"} 
[2026-10-05 06:52:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537701632001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791163198000,"timestamp_ms":1791163198000,"timestamp_seconds":1791163198,"priority":1,"record_length":96,"hex_timestamp":"000001a109a56a30"} 
[2026-10-05 06:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:52:11] 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-10-05 06:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:52:11] 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-10-05 06:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537701632001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537701632001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:52:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:52:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537701632001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":204168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:52:11] local.INFO: GPS data processed {"connection_id":204168,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:52:11] local.INFO: Acknowledgment sent {"connection_id":204168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:52:36] local.INFO: TCP Data received {"connection_id":207262,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109a66c00012d7c298005dac7e00003015e1e..."} 
[2026-10-05 06:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a66c00012d7c298005dac7e00003015e1e..."} 
[2026-10-05 06:52:37] local.INFO: Processing buffer {"connection_id":207262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a66c00012d7c298005dac7e00003015e1e..."} 
[2026-10-05 06:52:37] local.INFO: Packet analysis {"connection_id":207262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a6"} 
[2026-10-05 06:52:37] local.INFO: Extracted packet for processing {"connection_id":207262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a6"} 
[2026-10-05 06:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763111808,"raw_latitude":98224096,"longitude_deg":76.3111808,"latitude_deg":9.8224096,"altitude":3,"angle":350,"satellites":30,"speed":3,"hex_longitude":"2d7c2980","hex_latitude":"05dac7e0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 06:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537790976001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139228339926728704,"note":"Value kept but may cause issues"} 
[2026-10-05 06:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946682159893520384,"note":"Value kept but may cause issues"} 
[2026-10-05 06:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791163264000,"timestamp_ms":1791163264000,"timestamp_seconds":1791163264,"priority":1,"record_length":96,"hex_timestamp":"000001a109a66c00"} 
[2026-10-05 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-10-05 06:52: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-10-05 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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-10-05 06:52:37] 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-10-05 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-10-05 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-10-05 06:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:52: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-10-05 06:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537790976001,"66":14102,"161":206,"85":15104,"24":3,"16":139228339926728704,"45":8946682159893520384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 06:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537790976001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:52:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 06:52:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139228339926728704,"km_value":139228339926728.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946682159893520384,"description":"Unknown IO ID 45"} 
[2026-10-05 06:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537790976001,"power":14102,"unknown_161":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8946682159893520384}} 
[2026-10-05 06:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":207262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:52:37] local.INFO: GPS data processed {"connection_id":207262,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:52:37] local.INFO: Acknowledgment sent {"connection_id":207262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:52:56] local.INFO: TCP Data received {"connection_id":204170,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:52:56] local.INFO: Processing buffer {"connection_id":204170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:52:56] local.INFO: IMEI packet received {"connection_id":204170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":204170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:52:59] local.INFO: TCP Data received {"connection_id":207263,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207263,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:52:59] local.INFO: Processing buffer {"connection_id":207263,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:52:59] local.INFO: IMEI packet received {"connection_id":207263,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":207263,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:53:01] local.INFO: TCP Data received {"connection_id":204170,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:53:01] local.INFO: Processing buffer {"connection_id":204170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:53:01] local.INFO: IMEI packet received {"connection_id":204170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":204170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:53:01] local.INFO: TCP Data received {"connection_id":207263,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207263,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:53:01] local.INFO: Processing buffer {"connection_id":207263,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:53:01] local.INFO: IMEI packet received {"connection_id":207263,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":207263,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:53:01] local.INFO: TCP Data received {"connection_id":204170,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:53:01] local.INFO: Processing buffer {"connection_id":204170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:53:01] local.INFO: Packet analysis {"connection_id":204170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a5"} 
[2026-10-05 06:53:01] local.INFO: Extracted packet for processing {"connection_id":204170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a5"} 
[2026-10-05 06:53:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 06:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537701632001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791163198000,"timestamp_ms":1791163198000,"timestamp_seconds":1791163198,"priority":1,"record_length":96,"hex_timestamp":"000001a109a56a30"} 
[2026-10-05 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-10-05 06:53:01] 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-10-05 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:53: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-10-05 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-10-05 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-10-05 06:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06: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-10-05 06:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537701632001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537701632001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:53:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:53:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537701632001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":204170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:53:01] local.INFO: GPS data processed {"connection_id":204170,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:53:01] local.INFO: Acknowledgment sent {"connection_id":204170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:53:06] local.INFO: TCP Data received {"connection_id":207263,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207263,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:53:06] local.INFO: Processing buffer {"connection_id":207263,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:53:06] local.INFO: IMEI packet received {"connection_id":207263,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":207263,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:53:07] local.INFO: TCP Data received {"connection_id":207263,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109a7ead0012d7be50005dc5988000001661b..."} 
[2026-10-05 06:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a7ead0012d7be50005dc5988000001661b..."} 
[2026-10-05 06:53:07] local.INFO: Processing buffer {"connection_id":207263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a7ead0012d7be50005dc5988000001661b..."} 
[2026-10-05 06:53:07] local.INFO: Packet analysis {"connection_id":207263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a7"} 
[2026-10-05 06:53:07] local.INFO: Extracted packet for processing {"connection_id":207263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a7"} 
[2026-10-05 06:53:07] local.INFO: GPS Element Parsed {"raw_longitude":763094272,"raw_latitude":98326920,"longitude_deg":76.3094272,"latitude_deg":9.832692,"altitude":0,"angle":358,"satellites":27,"speed":51,"hex_longitude":"2d7be500","hex_latitude":"05dc5988","is_valid_coordinates":true} 
[2026-10-05 06:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537818880001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139233407988137984,"note":"Value kept but may cause issues"} 
[2026-10-05 06:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927964073966282752,"note":"Value kept but may cause issues"} 
[2026-10-05 06:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791163362000,"timestamp_ms":1791163362000,"timestamp_seconds":1791163362,"priority":1,"record_length":96,"hex_timestamp":"000001a109a7ead0"} 
[2026-10-05 06:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:53: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-10-05 06:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-10-05 06:53:07] 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-10-05 06:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:53:07] 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-10-05 06:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537818880001,"66":14080,"185":206,"85":15104,"24":51,"16":139233407988137984,"45":8927964073966282752},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 06:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537818880001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:53:07] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 06:53:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139233407988137984,"km_value":139233407988137.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927964073966282752,"description":"Unknown IO ID 45"} 
[2026-10-05 06:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537818880001,"power":14080,"unknown_185":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8927964073966282752}} 
[2026-10-05 06:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":207263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965845,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:53:07] local.INFO: GPS data processed {"connection_id":207263,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:53:07] local.INFO: Acknowledgment sent {"connection_id":207263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:53:32] local.INFO: TCP Data received {"connection_id":204170,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:53:32] local.INFO: Processing buffer {"connection_id":204170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:53:32] local.INFO: Packet analysis {"connection_id":204170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a5"} 
[2026-10-05 06:53:32] local.INFO: Extracted packet for processing {"connection_id":204170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a5"} 
[2026-10-05 06:53:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 06:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537701632001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:53: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-10-05 06:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791163198000,"timestamp_ms":1791163198000,"timestamp_seconds":1791163198,"priority":1,"record_length":96,"hex_timestamp":"000001a109a56a30"} 
[2026-10-05 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-10-05 06:53:32] 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-10-05 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:53: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-10-05 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-10-05 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-10-05 06:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:53:32] 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-10-05 06:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537701632001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 06:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537701632001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:53:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:53:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537701632001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":204170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:53:32] local.INFO: GPS data processed {"connection_id":204170,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:53:32] local.INFO: Acknowledgment sent {"connection_id":204170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:53:38] local.INFO: TCP Data received {"connection_id":207263,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109a80a10012d7be40005dc7ff8000001641d..."} 
[2026-10-05 06:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a80a10012d7be40005dc7ff8000001641d..."} 
[2026-10-05 06:53:38] local.INFO: Processing buffer {"connection_id":207263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a80a10012d7be40005dc7ff8000001641d..."} 
[2026-10-05 06:53:38] local.INFO: Packet analysis {"connection_id":207263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a8"} 
[2026-10-05 06:53:38] local.INFO: Extracted packet for processing {"connection_id":207263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a8"} 
[2026-10-05 06:53:38] local.INFO: GPS Element Parsed {"raw_longitude":763094016,"raw_latitude":98336760,"longitude_deg":76.3094016,"latitude_deg":9.833676,"altitude":0,"angle":356,"satellites":29,"speed":45,"hex_longitude":"2d7be400","hex_latitude":"05dc7ff8","is_valid_coordinates":true} 
[2026-10-05 06:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537820672001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139233889024475136,"note":"Value kept but may cause issues"} 
[2026-10-05 06:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927541861503567872,"note":"Value kept but may cause issues"} 
[2026-10-05 06:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791163370000,"timestamp_ms":1791163370000,"timestamp_seconds":1791163370,"priority":1,"record_length":96,"hex_timestamp":"000001a109a80a10"} 
[2026-10-05 06:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:53: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-10-05 06:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-10-05 06:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3445989376,"note":"Value kept but may cause issues"} 
[2026-10-05 06:53:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 06:53:38] local.WARNING: Large IO value detected {"io_id":166,"raw_value":3338665984,"note":"Value kept but may cause issues"} 
[2026-10-05 06:53:38] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2809247745,"note":"Value kept but may cause issues"} 
[2026-10-05 06:53:38] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3280994304,"note":"Value kept but may cause issues"} 
[2026-10-05 06:53:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705115854,"corrected_to":0} 
[2026-10-05 06:53:38] local.WARNING: Large IO value detected {"io_id":250,"raw_value":3221609376,"note":"Value kept but may cause issues"} 
[2026-10-05 06:53:38] local.WARNING: Large IO value detected {"io_id":238,"raw_value":2784034816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:53:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3682480128,"note":"Value kept but may cause issues"} 
[2026-10-05 06:53:38] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,185,85,24,241,157,16,168,161,207,45,128,53,29,10,66,167,180,30,162,148,192,1,240,252,227,166,9,219,4,113,205,40,82,250,176,28,239,2,238,5,49],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1705115854,"validated":0}]} 
[2026-10-05 06:53:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":393741130203136,"timestamp_seconds":393741130203.136,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 06:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:53: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-10-05 06:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537820672001,"66":13993,"185":206,"85":15104,"24":45,"16":139233889024475136,"45":8927541861503567872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 06:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537820672001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:53:38] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 06:53:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139233889024475136,"km_value":139233889024475.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927541861503567872,"description":"Unknown IO ID 45"} 
[2026-10-05 06:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537820672001,"power":13993,"unknown_185":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8927541861503567872}} 
[2026-10-05 06:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":207263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:53:38] local.INFO: GPS data processed {"connection_id":207263,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:53:38] local.INFO: Acknowledgment sent {"connection_id":207263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:53:56] local.INFO: TCP Data received {"connection_id":204171,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:53:56] local.INFO: Processing buffer {"connection_id":204171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:53:56] local.INFO: IMEI packet received {"connection_id":204171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":204171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:54:00] local.INFO: TCP Data received {"connection_id":204172,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:54:00] local.INFO: Processing buffer {"connection_id":204172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:54:00] local.INFO: IMEI packet received {"connection_id":204172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":204172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:54:01] local.INFO: TCP Data received {"connection_id":204171,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:54:01] local.INFO: Processing buffer {"connection_id":204171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:54:01] local.INFO: IMEI packet received {"connection_id":204171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":204171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:54:01] local.INFO: TCP Data received {"connection_id":204171,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:54:01] local.INFO: Processing buffer {"connection_id":204171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:54:01] local.INFO: Packet analysis {"connection_id":204171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a5"} 
[2026-10-05 06:54:01] local.INFO: Extracted packet for processing {"connection_id":204171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a5"} 
[2026-10-05 06:54:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 06:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537701632001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 06:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791163198000,"timestamp_ms":1791163198000,"timestamp_seconds":1791163198,"priority":1,"record_length":96,"hex_timestamp":"000001a109a56a30"} 
[2026-10-05 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-10-05 06:54:01] 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-10-05 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-10-05 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-10-05 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-10-05 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-10-05 06:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537701632001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 06:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537701632001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:54:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:54:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537701632001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":204171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:54:01] local.INFO: GPS data processed {"connection_id":204171,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:54:01] local.INFO: Acknowledgment sent {"connection_id":204171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:54:03] local.INFO: TCP Data received {"connection_id":204172,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:54:03] local.INFO: Processing buffer {"connection_id":204172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:54:03] local.INFO: IMEI packet received {"connection_id":204172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":204172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:54:04] local.INFO: TCP Data received {"connection_id":204172,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109a82d38012d7be38005dca350000001671b..."} 
[2026-10-05 06:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a82d38012d7be38005dca350000001671b..."} 
[2026-10-05 06:54:04] local.INFO: Processing buffer {"connection_id":204172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a82d38012d7be38005dca350000001671b..."} 
[2026-10-05 06:54:04] local.INFO: Packet analysis {"connection_id":204172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a8"} 
[2026-10-05 06:54:04] local.INFO: Extracted packet for processing {"connection_id":204172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a8"} 
[2026-10-05 06:54:04] local.INFO: GPS Element Parsed {"raw_longitude":763093888,"raw_latitude":98345808,"longitude_deg":76.3093888,"latitude_deg":9.8345808,"altitude":0,"angle":359,"satellites":27,"speed":39,"hex_longitude":"2d7be380","hex_latitude":"05dca350","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537822720001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139234327111139328,"note":"Value kept but may cause issues"} 
[2026-10-05 06:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927260386529376256,"note":"Value kept but may cause issues"} 
[2026-10-05 06:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791163379000,"timestamp_ms":1791163379000,"timestamp_seconds":1791163379,"priority":1,"record_length":96,"hex_timestamp":"000001a109a82d38"} 
[2026-10-05 06:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:54: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-10-05 06: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 06:54: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-10-05 06: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-10-05 06:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":204172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":204172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":204172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:54:04] 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-10-05 06:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537822720001,"66":13993,"185":206,"85":15104,"24":39,"16":139234327111139328,"45":8927260386529376256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 06:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537822720001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:54:04] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 06:54:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139234327111139328,"km_value":139234327111139.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927260386529376256,"description":"Unknown IO ID 45"} 
[2026-10-05 06:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537822720001,"power":13993,"unknown_185":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8927260386529376256}} 
[2026-10-05 06:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":204172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:54:04] local.INFO: GPS data processed {"connection_id":204172,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:54:04] local.INFO: Acknowledgment sent {"connection_id":204172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:54:32] local.INFO: TCP Data received {"connection_id":204171,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:54:32] local.INFO: Processing buffer {"connection_id":204171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:54:32] local.INFO: Packet analysis {"connection_id":204171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a5"} 
[2026-10-05 06:54:32] local.INFO: Extracted packet for processing {"connection_id":204171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a5"} 
[2026-10-05 06:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 06:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537701632001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 06:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791163198000,"timestamp_ms":1791163198000,"timestamp_seconds":1791163198,"priority":1,"record_length":96,"hex_timestamp":"000001a109a56a30"} 
[2026-10-05 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-10-05 06:54:32] 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-10-05 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-10-05 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-10-05 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-10-05 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-10-05 06:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537701632001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 06:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537701632001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:54:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:54:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537701632001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":204171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:54:32] local.INFO: GPS data processed {"connection_id":204171,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:54:32] local.INFO: Acknowledgment sent {"connection_id":204171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:54:35] local.INFO: TCP Data received {"connection_id":204172,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109a84c78012d7be2c005dcc720000000001a..."} 
[2026-10-05 06:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a84c78012d7be2c005dcc720000000001a..."} 
[2026-10-05 06:54:35] local.INFO: Processing buffer {"connection_id":204172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a84c78012d7be2c005dcc720000000001a..."} 
[2026-10-05 06:54:35] local.INFO: Packet analysis {"connection_id":204172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a8"} 
[2026-10-05 06:54:35] local.INFO: Extracted packet for processing {"connection_id":204172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a8"} 
[2026-10-05 06:54:35] local.INFO: GPS Element Parsed {"raw_longitude":763093696,"raw_latitude":98354976,"longitude_deg":76.3093696,"latitude_deg":9.8354976,"altitude":0,"angle":0,"satellites":26,"speed":48,"hex_longitude":"2d7be2c0","hex_latitude":"05dcc720","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537825024001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139234769492770816,"note":"Value kept but may cause issues"} 
[2026-10-05 06:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927119649043337216,"note":"Value kept but may cause issues"} 
[2026-10-05 06:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791163387000,"timestamp_ms":1791163387000,"timestamp_seconds":1791163387,"priority":1,"record_length":96,"hex_timestamp":"000001a109a84c78"} 
[2026-10-05 06:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:54: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-10-05 06: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 06:54:35] 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-10-05 06: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-10-05 06:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":204172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":204172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":204172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:54:35] 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-10-05 06:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537825024001,"66":13939,"185":206,"85":15104,"24":48,"16":139234769492770816,"45":8927119649043337216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 06:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537825024001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:54:35] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 06:54:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139234769492770816,"km_value":139234769492770.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927119649043337216,"description":"Unknown IO ID 45"} 
[2026-10-05 06:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537825024001,"power":13939,"unknown_185":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8927119649043337216}} 
[2026-10-05 06:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":204172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:54:35] local.INFO: GPS data processed {"connection_id":204172,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:54:35] local.INFO: Acknowledgment sent {"connection_id":204172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:54:56] local.INFO: TCP Data received {"connection_id":207265,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:54:56] local.INFO: Processing buffer {"connection_id":207265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:54:56] local.INFO: IMEI packet received {"connection_id":207265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":207265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:55:00] local.INFO: TCP Data received {"connection_id":204266,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:55:00] local.INFO: Processing buffer {"connection_id":204266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:55:00] local.INFO: IMEI packet received {"connection_id":204266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":204266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:55:01] local.INFO: TCP Data received {"connection_id":207265,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:55:01] local.INFO: Processing buffer {"connection_id":207265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:55:01] local.INFO: IMEI packet received {"connection_id":207265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":207265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:55:01] local.INFO: TCP Data received {"connection_id":207265,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:55:01] local.INFO: Processing buffer {"connection_id":207265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:55:01] local.INFO: Packet analysis {"connection_id":207265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a5"} 
[2026-10-05 06:55:01] local.INFO: Extracted packet for processing {"connection_id":207265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a5"} 
[2026-10-05 06:55:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537701632001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791163198000,"timestamp_ms":1791163198000,"timestamp_seconds":1791163198,"priority":1,"record_length":96,"hex_timestamp":"000001a109a56a30"} 
[2026-10-05 06:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:55:01] 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-10-05 06: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":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:55: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-10-05 06: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-10-05 06:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537701632001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 06:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537701632001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:55:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:55:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537701632001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":207265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:55:01] local.INFO: GPS data processed {"connection_id":207265,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:55:01] local.INFO: Acknowledgment sent {"connection_id":207265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:55:05] local.INFO: TCP Data received {"connection_id":204266,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:55:05] local.INFO: Processing buffer {"connection_id":204266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:55:05] local.INFO: IMEI packet received {"connection_id":204266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":204266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:55:06] local.INFO: TCP Data received {"connection_id":204266,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109a99498012d7ba5c005de5c88000001601d..."} 
[2026-10-05 06:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a99498012d7ba5c005de5c88000001601d..."} 
[2026-10-05 06:55:06] local.INFO: Processing buffer {"connection_id":204266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a99498012d7ba5c005de5c88000001601d..."} 
[2026-10-05 06:55:06] local.INFO: Packet analysis {"connection_id":204266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a9"} 
[2026-10-05 06:55:06] local.INFO: Extracted packet for processing {"connection_id":204266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a9"} 
[2026-10-05 06:55:06] local.INFO: GPS Element Parsed {"raw_longitude":763078080,"raw_latitude":98458760,"longitude_deg":76.307808,"latitude_deg":9.845876,"altitude":0,"angle":352,"satellites":29,"speed":50,"hex_longitude":"2d7ba5c0","hex_latitude":"05de5c88","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537846528001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911849631583248384,"note":"Value kept but may cause issues"} 
[2026-10-05 06:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139239867618951168,"note":"Value kept but may cause issues"} 
[2026-10-05 06:55:06] 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-10-05 06:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791163471000,"timestamp_ms":1791163471000,"timestamp_seconds":1791163471,"priority":1,"record_length":96,"hex_timestamp":"000001a109a99498"} 
[2026-10-05 06:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:55: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-10-05 06: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 06:55:06] 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-10-05 06: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-10-05 06:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:55: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-10-05 06:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537846528001,"66":14135,"45":8911849631583248384,"85":15104,"24":50,"16":139239867618951168},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 06:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537846528001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911849631583248384,"description":"Unknown IO ID 45"} 
[2026-10-05 06:55:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139239867618951168,"km_value":139239867618951.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:55:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458537846528001,"power":14135,"unknown_45":8911849631583248384,"unknown_85":15104,"ignition":50,"odometer":null}} 
[2026-10-05 06:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":204266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965853,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:55:06] local.INFO: GPS data processed {"connection_id":204266,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:55:06] local.INFO: Acknowledgment sent {"connection_id":204266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:55:13] local.INFO: TCP Data received {"connection_id":205702,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:55:13] local.INFO: Processing buffer {"connection_id":205702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:55:13] local.INFO: IMEI packet received {"connection_id":205702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 06:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":205702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:55:32] local.INFO: TCP Data received {"connection_id":207265,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:55:32] local.INFO: Processing buffer {"connection_id":207265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a56a30012d7f91c005afd9f00014010126..."} 
[2026-10-05 06:55:32] local.INFO: Packet analysis {"connection_id":207265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a5"} 
[2026-10-05 06:55:32] local.INFO: Extracted packet for processing {"connection_id":207265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a5"} 
[2026-10-05 06:55:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":20,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537701632001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:55: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-10-05 06:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791163198000,"timestamp_ms":1791163198000,"timestamp_seconds":1791163198,"priority":1,"record_length":96,"hex_timestamp":"000001a109a56a30"} 
[2026-10-05 06:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:55:32] 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-10-05 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:55: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-10-05 06: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-10-05 06:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537701632001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 06:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537701632001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:55:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:55:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537701632001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":207265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:55:32] local.INFO: GPS data processed {"connection_id":207265,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:55:32] local.INFO: Acknowledgment sent {"connection_id":207265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:55:37] local.INFO: TCP Data received {"connection_id":204266,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109a9b3d8012d7ba08005de8330000001601d..."} 
[2026-10-05 06:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a9b3d8012d7ba08005de8330000001601d..."} 
[2026-10-05 06:55:37] local.INFO: Processing buffer {"connection_id":204266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a9b3d8012d7ba08005de8330000001601d..."} 
[2026-10-05 06:55:37] local.INFO: Packet analysis {"connection_id":204266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a9"} 
[2026-10-05 06:55:37] local.INFO: Extracted packet for processing {"connection_id":204266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a9"} 
[2026-10-05 06:55:37] local.INFO: GPS Element Parsed {"raw_longitude":763076736,"raw_latitude":98468656,"longitude_deg":76.3076736,"latitude_deg":9.8468656,"altitude":0,"angle":352,"satellites":29,"speed":48,"hex_longitude":"2d7ba080","hex_latitude":"05de8330","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537848576001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909738569260369920,"note":"Value kept but may cause issues"} 
[2026-10-05 06:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139240352950255616,"note":"Value kept but may cause issues"} 
[2026-10-05 06:55:37] 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-10-05 06:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791163479000,"timestamp_ms":1791163479000,"timestamp_seconds":1791163479,"priority":1,"record_length":96,"hex_timestamp":"000001a109a9b3d8"} 
[2026-10-05 06:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:55: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-10-05 06: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-10-05 06:55:37] 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-10-05 06: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-10-05 06:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:55: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-10-05 06:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537848576001,"66":14102,"45":8909738569260369920,"85":15104,"24":48,"16":139240352950255616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 06:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537848576001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909738569260369920,"description":"Unknown IO ID 45"} 
[2026-10-05 06:55:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139240352950255616,"km_value":139240352950255.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:55:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458537848576001,"power":14102,"unknown_45":8909738569260369920,"unknown_85":15104,"ignition":48,"odometer":null}} 
[2026-10-05 06:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":204266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:55:37] local.INFO: GPS data processed {"connection_id":204266,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:55:37] local.INFO: Acknowledgment sent {"connection_id":204266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:55:43] local.INFO: TCP Data received {"connection_id":205703,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:55:43] local.INFO: Processing buffer {"connection_id":205703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 06:55:43] local.INFO: IMEI packet received {"connection_id":205703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 06:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":205703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:55:55] local.INFO: TCP Data received {"connection_id":207266,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:55:55] local.INFO: Processing buffer {"connection_id":207266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:55:55] local.INFO: IMEI packet received {"connection_id":207266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":207266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:55:59] local.INFO: TCP Data received {"connection_id":205704,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:55:59] local.INFO: Processing buffer {"connection_id":205704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:55:59] local.INFO: IMEI packet received {"connection_id":205704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":205704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:56:01] local.INFO: TCP Data received {"connection_id":207266,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:56:01] local.INFO: Processing buffer {"connection_id":207266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:56:01] local.INFO: IMEI packet received {"connection_id":207266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":207266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:56:01] local.INFO: TCP Data received {"connection_id":207266,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 06:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 06:56:01] local.INFO: Processing buffer {"connection_id":207266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 06:56:01] local.INFO: Packet analysis {"connection_id":207266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109aa"} 
[2026-10-05 06:56:01] local.INFO: Extracted packet for processing {"connection_id":207266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109aa"} 
[2026-10-05 06:56:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537778688001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:56: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-10-05 06:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791163499000,"timestamp_ms":1791163499000,"timestamp_seconds":1791163499,"priority":1,"record_length":96,"hex_timestamp":"000001a109aa01f8"} 
[2026-10-05 06:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:56:01] 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-10-05 06: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":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:56: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-10-05 06: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-10-05 06:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537778688001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 06:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537778688001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:56:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:56:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537778688001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":207266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:56:01] local.INFO: GPS data processed {"connection_id":207266,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:56:01] local.INFO: Acknowledgment sent {"connection_id":207266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:56:01] local.INFO: TCP Data received {"connection_id":205704,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:56:01] local.INFO: Processing buffer {"connection_id":205704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:56:01] local.INFO: IMEI packet received {"connection_id":205704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":205704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:56:04] local.INFO: TCP Data received {"connection_id":205704,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:56:04] local.INFO: Processing buffer {"connection_id":205704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:56:04] local.INFO: IMEI packet received {"connection_id":205704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":205704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:56:05] local.INFO: TCP Data received {"connection_id":205704,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109a9d318012d7b9c8005dea9100000016119..."} 
[2026-10-05 06:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109a9d318012d7b9c8005dea9100000016119..."} 
[2026-10-05 06:56:05] local.INFO: Processing buffer {"connection_id":205704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109a9d318012d7b9c8005dea9100000016119..."} 
[2026-10-05 06:56:05] local.INFO: Packet analysis {"connection_id":205704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109a9"} 
[2026-10-05 06:56:05] local.INFO: Extracted packet for processing {"connection_id":205704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109a9"} 
[2026-10-05 06:56:05] local.INFO: GPS Element Parsed {"raw_longitude":763075712,"raw_latitude":98478352,"longitude_deg":76.3075712,"latitude_deg":9.8478352,"altitude":0,"angle":353,"satellites":25,"speed":46,"hex_longitude":"2d7b9c80","hex_latitude":"05dea910","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537850624001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908260825635172352,"note":"Value kept but may cause issues"} 
[2026-10-05 06:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139240825396658176,"note":"Value kept but may cause issues"} 
[2026-10-05 06:56:05] 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-10-05 06:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791163487000,"timestamp_ms":1791163487000,"timestamp_seconds":1791163487,"priority":1,"record_length":96,"hex_timestamp":"000001a109a9d318"} 
[2026-10-05 06:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:56: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-10-05 06:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-05 06:56:05] 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-10-05 06: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-10-05 06:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:56: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-10-05 06:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537850624001,"66":13798,"45":8908260825635172352,"85":15104,"24":46,"16":139240825396658176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 06:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537850624001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908260825635172352,"description":"Unknown IO ID 45"} 
[2026-10-05 06:56:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139240825396658176,"km_value":139240825396658.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:56:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458537850624001,"power":13798,"unknown_45":8908260825635172352,"unknown_85":15104,"ignition":46,"odometer":null}} 
[2026-10-05 06:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":205704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965857,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:56:05] local.INFO: GPS data processed {"connection_id":205704,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:56:05] local.INFO: Acknowledgment sent {"connection_id":205704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:56:32] local.INFO: TCP Data received {"connection_id":207266,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 06:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 06:56:32] local.INFO: Processing buffer {"connection_id":207266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 06:56:32] local.INFO: Packet analysis {"connection_id":207266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109aa"} 
[2026-10-05 06:56:32] local.INFO: Extracted packet for processing {"connection_id":207266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109aa"} 
[2026-10-05 06:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537778688001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:56: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-10-05 06:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791163499000,"timestamp_ms":1791163499000,"timestamp_seconds":1791163499,"priority":1,"record_length":96,"hex_timestamp":"000001a109aa01f8"} 
[2026-10-05 06:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:56:32] 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-10-05 06:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:56: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-10-05 06:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537778688001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 06:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537778688001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:56:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:56:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537778688001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":207266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:56:32] local.INFO: GPS data processed {"connection_id":207266,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:56:32] local.INFO: Acknowledgment sent {"connection_id":207266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:56:37] local.INFO: TCP Data received {"connection_id":205704,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109ab2ec0012d7b708005e04388000001611a..."} 
[2026-10-05 06:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ab2ec0012d7b708005e04388000001611a..."} 
[2026-10-05 06:56:37] local.INFO: Processing buffer {"connection_id":205704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ab2ec0012d7b708005e04388000001611a..."} 
[2026-10-05 06:56:37] local.INFO: Packet analysis {"connection_id":205704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ab"} 
[2026-10-05 06:56:37] local.INFO: Extracted packet for processing {"connection_id":205704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ab"} 
[2026-10-05 06:56:37] local.INFO: GPS Element Parsed {"raw_longitude":763064448,"raw_latitude":98583432,"longitude_deg":76.3064448,"latitude_deg":9.8583432,"altitude":0,"angle":353,"satellites":26,"speed":49,"hex_longitude":"2d7b7080","hex_latitude":"05e04388","is_valid_coordinates":true} 
[2026-10-05 06:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537873408001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139245953587609600,"note":"Value kept but may cause issues"} 
[2026-10-05 06:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896157401663586304,"note":"Value kept but may cause issues"} 
[2026-10-05 06:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791163576000,"timestamp_ms":1791163576000,"timestamp_seconds":1791163576,"priority":1,"record_length":96,"hex_timestamp":"000001a109ab2ec0"} 
[2026-10-05 06:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 06:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-10-05 06:56:37] 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-10-05 06:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:56: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-10-05 06:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537873408001,"66":13993,"103":206,"85":15104,"24":49,"16":139245953587609600,"45":8896157401663586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-10-05 06:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537873408001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:56:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 06:56:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139245953587609600,"km_value":139245953587609.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896157401663586304,"description":"Unknown IO ID 45"} 
[2026-10-05 06:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537873408001,"power":13993,"unknown_103":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8896157401663586304}} 
[2026-10-05 06:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":205704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:56:37] local.INFO: GPS data processed {"connection_id":205704,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:56:37] local.INFO: Acknowledgment sent {"connection_id":205704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:56:57] local.INFO: TCP Data received {"connection_id":204173,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:56:57] local.INFO: Processing buffer {"connection_id":204173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:56:57] local.INFO: IMEI packet received {"connection_id":204173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":204173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:56:59] local.INFO: TCP Data received {"connection_id":204173,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:56:59] local.INFO: Processing buffer {"connection_id":204173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:56:59] local.INFO: IMEI packet received {"connection_id":204173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":204173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:57:01] local.INFO: TCP Data received {"connection_id":204268,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:57:01] local.INFO: Processing buffer {"connection_id":204268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:57:01] local.INFO: IMEI packet received {"connection_id":204268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":204268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:57:04] local.INFO: TCP Data received {"connection_id":204173,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:57:04] local.INFO: Processing buffer {"connection_id":204173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:57:04] local.INFO: IMEI packet received {"connection_id":204173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":204173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:57:04] local.INFO: TCP Data received {"connection_id":204173,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109ab4e00012d7b6bc005e069c0000001621b..."} 
[2026-10-05 06:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ab4e00012d7b6bc005e069c0000001621b..."} 
[2026-10-05 06:57:04] local.INFO: Processing buffer {"connection_id":204173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ab4e00012d7b6bc005e069c0000001621b..."} 
[2026-10-05 06:57:04] local.INFO: Packet analysis {"connection_id":204173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ab"} 
[2026-10-05 06:57:04] local.INFO: Extracted packet for processing {"connection_id":204173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ab"} 
[2026-10-05 06:57:04] local.INFO: GPS Element Parsed {"raw_longitude":763063232,"raw_latitude":98593216,"longitude_deg":76.3063232,"latitude_deg":9.8593216,"altitude":0,"angle":354,"satellites":27,"speed":49,"hex_longitude":"2d7b6bc0","hex_latitude":"05e069c0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537875456001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139246430328979456,"note":"Value kept but may cause issues"} 
[2026-10-05 06:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894750026782443520,"note":"Value kept but may cause issues"} 
[2026-10-05 06:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791163584000,"timestamp_ms":1791163584000,"timestamp_seconds":1791163584,"priority":1,"record_length":96,"hex_timestamp":"000001a109ab4e00"} 
[2026-10-05 06:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 06: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 06:57: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-10-05 06: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-10-05 06:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":204173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":204173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":204173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:57:04] 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-10-05 06:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537875456001,"66":14113,"103":206,"85":15104,"24":49,"16":139246430328979456,"45":8894750026782443520},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-10-05 06:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537875456001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:57:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 06:57:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139246430328979456,"km_value":139246430328979.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894750026782443520,"description":"Unknown IO ID 45"} 
[2026-10-05 06:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537875456001,"power":14113,"unknown_103":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8894750026782443520}} 
[2026-10-05 06:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":204173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:57:04] local.INFO: GPS data processed {"connection_id":204173,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:57:04] local.INFO: Acknowledgment sent {"connection_id":204173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:57:06] local.INFO: TCP Data received {"connection_id":204268,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:57:06] local.INFO: Processing buffer {"connection_id":204268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:57:06] local.INFO: IMEI packet received {"connection_id":204268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":204268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:57:06] local.INFO: TCP Data received {"connection_id":204268,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 06:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 06:57:06] local.INFO: Processing buffer {"connection_id":204268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 06:57:06] local.INFO: Packet analysis {"connection_id":204268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109aa"} 
[2026-10-05 06:57:06] local.INFO: Extracted packet for processing {"connection_id":204268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109aa"} 
[2026-10-05 06:57:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537778688001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791163499000,"timestamp_ms":1791163499000,"timestamp_seconds":1791163499,"priority":1,"record_length":96,"hex_timestamp":"000001a109aa01f8"} 
[2026-10-05 06:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:57:06] 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-10-05 06:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:57:06] 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-10-05 06:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537778688001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 06:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537778688001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:57:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:57:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537778688001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":204268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:57:07] local.INFO: GPS data processed {"connection_id":204268,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:57:07] local.INFO: Acknowledgment sent {"connection_id":204268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:57:12] local.INFO: TCP Data received {"connection_id":204268,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 06:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 06:57:12] local.INFO: Processing buffer {"connection_id":204268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 06:57:12] local.INFO: Packet analysis {"connection_id":204268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109aa"} 
[2026-10-05 06:57:12] local.INFO: Extracted packet for processing {"connection_id":204268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109aa"} 
[2026-10-05 06:57:12] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:57: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-10-05 06:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537778688001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791163499000,"timestamp_ms":1791163499000,"timestamp_seconds":1791163499,"priority":1,"record_length":96,"hex_timestamp":"000001a109aa01f8"} 
[2026-10-05 06:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:57:12] 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-10-05 06:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:57:12] 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-10-05 06:57: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-10-05 06:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537778688001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 06:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537778688001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:57:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:57:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537778688001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":204268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:57:12] local.INFO: GPS data processed {"connection_id":204268,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:57:12] local.INFO: Acknowledgment sent {"connection_id":204268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:57:35] local.INFO: TCP Data received {"connection_id":204173,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109ab6d40012d7b674005e09000000001601a..."} 
[2026-10-05 06:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ab6d40012d7b674005e09000000001601a..."} 
[2026-10-05 06:57:35] local.INFO: Processing buffer {"connection_id":204173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ab6d40012d7b674005e09000000001601a..."} 
[2026-10-05 06:57:35] local.INFO: Packet analysis {"connection_id":204173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ab"} 
[2026-10-05 06:57:35] local.INFO: Extracted packet for processing {"connection_id":204173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ab"} 
[2026-10-05 06:57:35] local.INFO: GPS Element Parsed {"raw_longitude":763062080,"raw_latitude":98603008,"longitude_deg":76.306208,"latitude_deg":9.8603008,"altitude":0,"angle":352,"satellites":26,"speed":48,"hex_longitude":"2d7b6740","hex_latitude":"05e09000","is_valid_coordinates":true} 
[2026-10-05 06:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537877504001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139246907070349312,"note":"Value kept but may cause issues"} 
[2026-10-05 06:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893413020645572608,"note":"Value kept but may cause issues"} 
[2026-10-05 06:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791163592000,"timestamp_ms":1791163592000,"timestamp_seconds":1791163592,"priority":1,"record_length":96,"hex_timestamp":"000001a109ab6d40"} 
[2026-10-05 06:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 06:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-10-05 06:57:35] 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-10-05 06:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":204173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":204173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":204173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:57:35] 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-10-05 06:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537877504001,"66":13559,"103":206,"85":15104,"24":48,"16":139246907070349312,"45":8893413020645572608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-10-05 06:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537877504001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:57:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 06:57:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139246907070349312,"km_value":139246907070349.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893413020645572608,"description":"Unknown IO ID 45"} 
[2026-10-05 06:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537877504001,"power":13559,"unknown_103":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8893413020645572608}} 
[2026-10-05 06:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":204173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:57:35] local.INFO: GPS data processed {"connection_id":204173,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:57:35] local.INFO: Acknowledgment sent {"connection_id":204173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:57:56] local.INFO: TCP Data received {"connection_id":205706,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:57:56] local.INFO: Processing buffer {"connection_id":205706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:57:56] local.INFO: IMEI packet received {"connection_id":205706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":205706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:57:59] local.INFO: TCP Data received {"connection_id":207267,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207267,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:57:59] local.INFO: Processing buffer {"connection_id":207267,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:57:59] local.INFO: IMEI packet received {"connection_id":207267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":207267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:58:01] local.INFO: TCP Data received {"connection_id":205706,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:58:01] local.INFO: Processing buffer {"connection_id":205706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:58:01] local.INFO: IMEI packet received {"connection_id":205706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":205706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:58:01] local.INFO: TCP Data received {"connection_id":205706,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 06:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 06:58:01] local.INFO: Processing buffer {"connection_id":205706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 06:58:01] local.INFO: Packet analysis {"connection_id":205706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109aa"} 
[2026-10-05 06:58:01] local.INFO: Extracted packet for processing {"connection_id":205706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109aa"} 
[2026-10-05 06:58:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 06:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537778688001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791163499000,"timestamp_ms":1791163499000,"timestamp_seconds":1791163499,"priority":1,"record_length":96,"hex_timestamp":"000001a109aa01f8"} 
[2026-10-05 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-10-05 06:58:01] 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-10-05 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:58: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-10-05 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-10-05 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-10-05 06:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537778688001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 06:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537778688001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:58:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:58:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537778688001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":205706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:58:01] local.INFO: GPS data processed {"connection_id":205706,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:58:01] local.INFO: Acknowledgment sent {"connection_id":205706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:58:04] local.INFO: TCP Data received {"connection_id":207267,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207267,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:58:04] local.INFO: Processing buffer {"connection_id":207267,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:58:04] local.INFO: IMEI packet received {"connection_id":207267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":207267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:58:05] local.INFO: TCP Data received {"connection_id":207267,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109ab8c80012d7b610005e0b5f0000001621d..."} 
[2026-10-05 06:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ab8c80012d7b610005e0b5f0000001621d..."} 
[2026-10-05 06:58:05] local.INFO: Processing buffer {"connection_id":207267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ab8c80012d7b610005e0b5f0000001621d..."} 
[2026-10-05 06:58:05] local.INFO: Packet analysis {"connection_id":207267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ab"} 
[2026-10-05 06:58:05] local.INFO: Extracted packet for processing {"connection_id":207267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ab"} 
[2026-10-05 06:58:05] local.INFO: GPS Element Parsed {"raw_longitude":763060480,"raw_latitude":98612720,"longitude_deg":76.306048,"latitude_deg":9.861272,"altitude":0,"angle":354,"satellites":29,"speed":48,"hex_longitude":"2d7b6100","hex_latitude":"05e0b5f0","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537879552001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139247388106686464,"note":"Value kept but may cause issues"} 
[2026-10-05 06:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892146383252881408,"note":"Value kept but may cause issues"} 
[2026-10-05 06:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791163600000,"timestamp_ms":1791163600000,"timestamp_seconds":1791163600,"priority":1,"record_length":96,"hex_timestamp":"000001a109ab8c80"} 
[2026-10-05 06:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:58: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-10-05 06: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":247,"data_length":795,"current_offset":136} 
[2026-10-05 06:58:05] 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-10-05 06: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-10-05 06:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:58: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-10-05 06:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537879552001,"66":13798,"102":206,"85":15104,"24":48,"16":139247388106686464,"45":8892146383252881408},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,85,24,16,45]} 
[2026-10-05 06:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537879552001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:58:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 06:58:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139247388106686464,"km_value":139247388106686.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892146383252881408,"description":"Unknown IO ID 45"} 
[2026-10-05 06:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537879552001,"power":13798,"unknown_102":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8892146383252881408}} 
[2026-10-05 06:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":207267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965865,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:58:05] local.INFO: GPS data processed {"connection_id":207267,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:58:05] local.INFO: Acknowledgment sent {"connection_id":207267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:58:06] local.INFO: TCP Data received {"connection_id":205706,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 06:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 06:58:06] local.INFO: Processing buffer {"connection_id":205706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 06:58:06] local.INFO: Packet analysis {"connection_id":205706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109aa"} 
[2026-10-05 06:58:06] local.INFO: Extracted packet for processing {"connection_id":205706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109aa"} 
[2026-10-05 06:58:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537778688001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06: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-10-05 06:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791163499000,"timestamp_ms":1791163499000,"timestamp_seconds":1791163499,"priority":1,"record_length":96,"hex_timestamp":"000001a109aa01f8"} 
[2026-10-05 06:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:58:06] 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-10-05 06:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:58:06] 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-10-05 06:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537778688001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 06:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537778688001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:58:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:58:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537778688001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":205706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:58:06] local.INFO: GPS data processed {"connection_id":205706,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:58:06] local.INFO: Acknowledgment sent {"connection_id":205706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:58:36] local.INFO: TCP Data received {"connection_id":207267,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109ababc0012d7b59c005e0d8380000015b1c..."} 
[2026-10-05 06:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ababc0012d7b59c005e0d8380000015b1c..."} 
[2026-10-05 06:58:36] local.INFO: Processing buffer {"connection_id":207267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ababc0012d7b59c005e0d8380000015b1c..."} 
[2026-10-05 06:58:36] local.INFO: Packet analysis {"connection_id":207267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ab"} 
[2026-10-05 06:58:36] local.INFO: Extracted packet for processing {"connection_id":207267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ab"} 
[2026-10-05 06:58:36] local.INFO: GPS Element Parsed {"raw_longitude":763058624,"raw_latitude":98621496,"longitude_deg":76.3058624,"latitude_deg":9.8621496,"altitude":0,"angle":347,"satellites":28,"speed":48,"hex_longitude":"2d7b59c0","hex_latitude":"05e0d838","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537881600001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139247821898383360,"note":"Value kept but may cause issues"} 
[2026-10-05 06:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890387164650926080,"note":"Value kept but may cause issues"} 
[2026-10-05 06:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791163608000,"timestamp_ms":1791163608000,"timestamp_seconds":1791163608,"priority":1,"record_length":96,"hex_timestamp":"000001a109ababc0"} 
[2026-10-05 06:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 06: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 06:58:36] 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-10-05 06: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-10-05 06:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:58: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-10-05 06:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537881600001,"66":14135,"102":206,"85":15104,"24":48,"16":139247821898383360,"45":8890387164650926080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,85,24,16,45]} 
[2026-10-05 06:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537881600001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:58:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 06:58:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139247821898383360,"km_value":139247821898383.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890387164650926080,"description":"Unknown IO ID 45"} 
[2026-10-05 06:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537881600001,"power":14135,"unknown_102":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8890387164650926080}} 
[2026-10-05 06:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":207267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:58:37] local.INFO: GPS data processed {"connection_id":207267,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:58:37] local.INFO: Acknowledgment sent {"connection_id":207267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:58:37] local.INFO: TCP Data received {"connection_id":205706,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 06:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 06:58:37] local.INFO: Processing buffer {"connection_id":205706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 06:58:37] local.INFO: Packet analysis {"connection_id":205706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109aa"} 
[2026-10-05 06:58:37] local.INFO: Extracted packet for processing {"connection_id":205706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109aa"} 
[2026-10-05 06:58:37] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537778688001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 06:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791163499000,"timestamp_ms":1791163499000,"timestamp_seconds":1791163499,"priority":1,"record_length":96,"hex_timestamp":"000001a109aa01f8"} 
[2026-10-05 06:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:58:37] 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-10-05 06:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:58:37] 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-10-05 06:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537778688001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 06:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537778688001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:58:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:58:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537778688001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":205706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:58:37] local.INFO: GPS data processed {"connection_id":205706,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:58:37] local.INFO: Acknowledgment sent {"connection_id":205706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:58:56] local.INFO: TCP Data received {"connection_id":204175,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:58:56] local.INFO: Processing buffer {"connection_id":204175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:58:56] local.INFO: IMEI packet received {"connection_id":204175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":204175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:59:00] local.INFO: TCP Data received {"connection_id":207268,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:59:00] local.INFO: Processing buffer {"connection_id":207268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:59:00] local.INFO: IMEI packet received {"connection_id":207268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":207268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:59:00] local.INFO: TCP Data received {"connection_id":207268,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:59:00] local.INFO: Processing buffer {"connection_id":207268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:59:00] local.INFO: IMEI packet received {"connection_id":207268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":207268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:59:01] local.INFO: TCP Data received {"connection_id":204175,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:59:01] local.INFO: Processing buffer {"connection_id":204175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:59:01] local.INFO: IMEI packet received {"connection_id":204175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 06:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":204175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:59:01] local.INFO: TCP Data received {"connection_id":204175,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 06:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 06:59:01] local.INFO: Processing buffer {"connection_id":204175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 06:59:01] local.INFO: Packet analysis {"connection_id":204175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109aa"} 
[2026-10-05 06:59:01] local.INFO: Extracted packet for processing {"connection_id":204175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109aa"} 
[2026-10-05 06:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537778688001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:59: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-10-05 06:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791163499000,"timestamp_ms":1791163499000,"timestamp_seconds":1791163499,"priority":1,"record_length":96,"hex_timestamp":"000001a109aa01f8"} 
[2026-10-05 06:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:59:01] 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-10-05 06:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:59: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-10-05 06:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537778688001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 06:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537778688001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:59:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:59:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537778688001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":204175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:59:01] local.INFO: GPS data processed {"connection_id":204175,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:59:01] local.INFO: Acknowledgment sent {"connection_id":204175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:59:04] local.INFO: TCP Data received {"connection_id":207268,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:59:04] local.INFO: Processing buffer {"connection_id":207268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:59:04] local.INFO: IMEI packet received {"connection_id":207268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 06:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":207268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 06:59:05] local.INFO: TCP Data received {"connection_id":207268,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109ad2a90012d7b268005e26448000101651a..."} 
[2026-10-05 06:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ad2a90012d7b268005e26448000101651a..."} 
[2026-10-05 06:59:05] local.INFO: Processing buffer {"connection_id":207268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ad2a90012d7b268005e26448000101651a..."} 
[2026-10-05 06:59:05] local.INFO: Packet analysis {"connection_id":207268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ad"} 
[2026-10-05 06:59:05] local.INFO: Extracted packet for processing {"connection_id":207268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ad"} 
[2026-10-05 06:59:05] local.INFO: GPS Element Parsed {"raw_longitude":763045504,"raw_latitude":98722888,"longitude_deg":76.3045504,"latitude_deg":9.8722888,"altitude":1,"angle":357,"satellites":26,"speed":38,"hex_longitude":"2d7b2680","hex_latitude":"05e26448","is_valid_coordinates":true} 
[2026-10-05 06:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537905920001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875117147190110208,"note":"Value kept but may cause issues"} 
[2026-10-05 06:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139252782585610240,"note":"Value kept but may cause issues"} 
[2026-10-05 06:59:05] 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-10-05 06:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791163706000,"timestamp_ms":1791163706000,"timestamp_seconds":1791163706,"priority":1,"record_length":96,"hex_timestamp":"000001a109ad2a90"} 
[2026-10-05 06:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:59: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-10-05 06:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-10-05 06:59:05] 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-10-05 06:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:59: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-10-05 06:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537905920001,"66":13993,"45":8875117147190110208,"85":15104,"24":38,"16":139252782585610240},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 06:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537905920001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875117147190110208,"description":"Unknown IO ID 45"} 
[2026-10-05 06:59:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139252782585610240,"km_value":139252782585610.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:59:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458537905920001,"power":13993,"unknown_45":8875117147190110208,"unknown_85":15104,"ignition":38,"odometer":null}} 
[2026-10-05 06:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":207268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965870,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:59:06] local.INFO: GPS data processed {"connection_id":207268,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:59:06] local.INFO: Acknowledgment sent {"connection_id":207268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:59:32] local.INFO: TCP Data received {"connection_id":204175,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 06:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 06:59:32] local.INFO: Processing buffer {"connection_id":204175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 06:59:32] local.INFO: Packet analysis {"connection_id":204175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109aa"} 
[2026-10-05 06:59:32] local.INFO: Extracted packet for processing {"connection_id":204175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109aa"} 
[2026-10-05 06:59:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 06:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 06:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537778688001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 06:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 06:59: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-10-05 06:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791163499000,"timestamp_ms":1791163499000,"timestamp_seconds":1791163499,"priority":1,"record_length":96,"hex_timestamp":"000001a109aa01f8"} 
[2026-10-05 06:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:59:32] 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-10-05 06:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 06:59: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-10-05 06:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 06:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 06:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 06:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 06:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 06:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537778688001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 06:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 06:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 06:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537778688001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:59:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 06:59:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 06:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 06:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537778688001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 06:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":204175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:59:32] local.INFO: GPS data processed {"connection_id":204175,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:59:32] local.INFO: Acknowledgment sent {"connection_id":204175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:59:37] local.INFO: TCP Data received {"connection_id":207268,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109ad4db8012d7b21c005e28950000101601d..."} 
[2026-10-05 06:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ad4db8012d7b21c005e28950000101601d..."} 
[2026-10-05 06:59:37] local.INFO: Processing buffer {"connection_id":207268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ad4db8012d7b21c005e28950000101601d..."} 
[2026-10-05 06:59:37] local.INFO: Packet analysis {"connection_id":207268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ad"} 
[2026-10-05 06:59:37] local.INFO: Extracted packet for processing {"connection_id":207268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ad"} 
[2026-10-05 06:59:37] local.INFO: GPS Element Parsed {"raw_longitude":763044288,"raw_latitude":98732368,"longitude_deg":76.3044288,"latitude_deg":9.8732368,"altitude":1,"angle":352,"satellites":29,"speed":44,"hex_longitude":"2d7b21c0","hex_latitude":"05e28950","is_valid_coordinates":true} 
[2026-10-05 06: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-10-05 06:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537908736001,"note":"Value kept but may cause issues"} 
[2026-10-05 06:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139253246442078208,"note":"Value kept but may cause issues"} 
[2026-10-05 06:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873920878541555712,"note":"Value kept but may cause issues"} 
[2026-10-05 06:59:37] 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-10-05 06:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791163715000,"timestamp_ms":1791163715000,"timestamp_seconds":1791163715,"priority":1,"record_length":96,"hex_timestamp":"000001a109ad4db8"} 
[2026-10-05 06:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 06:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 06: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 06:59:37] 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-10-05 06: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-10-05 06:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 06:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 06:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 06:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 06:59: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-10-05 06:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 06:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 06:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537908736001,"66":14135,"207":206,"85":15104,"24":44,"16":139253246442078208,"45":8873920878541555712},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 06:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 06:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 06:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537908736001,"description":"Unknown IO ID 0"} 
[2026-10-05 06:59:37] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 06:59:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 06:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139253246442078208,"km_value":139253246442078.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 06:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873920878541555712,"description":"Unknown IO ID 45"} 
[2026-10-05 06:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537908736001,"power":14135,"unknown_207":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8873920878541555712}} 
[2026-10-05 06:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":207268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 06:59:37] local.INFO: GPS data processed {"connection_id":207268,"processed":1,"errors":0,"total":1} 
[2026-10-05 06:59:37] local.INFO: Acknowledgment sent {"connection_id":207268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 06:59:56] local.INFO: TCP Data received {"connection_id":204269,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:59:56] local.INFO: Processing buffer {"connection_id":204269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 06:59:56] local.INFO: IMEI packet received {"connection_id":204269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 06:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":204269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 06:59:59] local.INFO: TCP Data received {"connection_id":205707,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:59:59] local.INFO: Processing buffer {"connection_id":205707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 06:59:59] local.INFO: IMEI packet received {"connection_id":205707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 06:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":205707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:00:01] local.INFO: TCP Data received {"connection_id":204269,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:00:01] local.INFO: Processing buffer {"connection_id":204269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:00:01] local.INFO: IMEI packet received {"connection_id":204269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":204269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:00:01] local.INFO: TCP Data received {"connection_id":204269,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 07:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 07:00:01] local.INFO: Processing buffer {"connection_id":204269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 07:00:01] local.INFO: Packet analysis {"connection_id":204269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109aa"} 
[2026-10-05 07:00:01] local.INFO: Extracted packet for processing {"connection_id":204269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109aa"} 
[2026-10-05 07:00:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537778688001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791163499000,"timestamp_ms":1791163499000,"timestamp_seconds":1791163499,"priority":1,"record_length":96,"hex_timestamp":"000001a109aa01f8"} 
[2026-10-05 07:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:00:01] 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-10-05 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:00: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-10-05 07: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-10-05 07:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537778688001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537778688001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:00:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:00:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537778688001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":204269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:00:01] local.INFO: GPS data processed {"connection_id":204269,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:00:01] local.INFO: Acknowledgment sent {"connection_id":204269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:00:04] local.INFO: TCP Data received {"connection_id":205707,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:00:04] local.INFO: Processing buffer {"connection_id":205707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:00:04] local.INFO: IMEI packet received {"connection_id":205707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":205707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:00:05] local.INFO: TCP Data received {"connection_id":205707,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109ad6cf8012d7b1c4005e2acf80000015d1d..."} 
[2026-10-05 07:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ad6cf8012d7b1c4005e2acf80000015d1d..."} 
[2026-10-05 07:00:05] local.INFO: Processing buffer {"connection_id":205707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ad6cf8012d7b1c4005e2acf80000015d1d..."} 
[2026-10-05 07:00:05] local.INFO: Packet analysis {"connection_id":205707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ad"} 
[2026-10-05 07:00:05] local.INFO: Extracted packet for processing {"connection_id":205707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ad"} 
[2026-10-05 07:00:05] local.INFO: GPS Element Parsed {"raw_longitude":763042880,"raw_latitude":98741496,"longitude_deg":76.304288,"latitude_deg":9.8741496,"altitude":0,"angle":349,"satellites":29,"speed":47,"hex_longitude":"2d7b1c40","hex_latitude":"05e2acf8","is_valid_coordinates":true} 
[2026-10-05 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-10-05 07:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537911040001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139253693118676992,"note":"Value kept but may cause issues"} 
[2026-10-05 07:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872583872404606976,"note":"Value kept but may cause issues"} 
[2026-10-05 07:00:05] 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-10-05 07:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791163723000,"timestamp_ms":1791163723000,"timestamp_seconds":1791163723,"priority":1,"record_length":96,"hex_timestamp":"000001a109ad6cf8"} 
[2026-10-05 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-10-05 07:00: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-10-05 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-10-05 07:00:05] 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-10-05 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-10-05 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-10-05 07:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:00: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-10-05 07:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537911040001,"66":14048,"207":206,"85":15104,"24":47,"16":139253693118676992,"45":8872583872404606976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 07:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537911040001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:00:05] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 07:00:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139253693118676992,"km_value":139253693118676.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872583872404606976,"description":"Unknown IO ID 45"} 
[2026-10-05 07:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537911040001,"power":14048,"unknown_207":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8872583872404606976}} 
[2026-10-05 07:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":205707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:00:05] local.INFO: GPS data processed {"connection_id":205707,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:00:05] local.INFO: Acknowledgment sent {"connection_id":205707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:00:32] local.INFO: TCP Data received {"connection_id":204269,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 07:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 07:00:32] local.INFO: Processing buffer {"connection_id":204269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109aa01f8012d7f91c005afd9f00013010125..."} 
[2026-10-05 07:00:32] local.INFO: Packet analysis {"connection_id":204269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109aa"} 
[2026-10-05 07:00:32] local.INFO: Extracted packet for processing {"connection_id":204269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109aa"} 
[2026-10-05 07:00:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:00: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-10-05 07:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537778688001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:00: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-10-05 07:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791163499000,"timestamp_ms":1791163499000,"timestamp_seconds":1791163499,"priority":1,"record_length":96,"hex_timestamp":"000001a109aa01f8"} 
[2026-10-05 07:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:00:32] 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-10-05 07:00: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-10-05 07:00: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-10-05 07:00: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-10-05 07:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537778688001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537778688001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:00:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:00:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537778688001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":204269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:00:32] local.INFO: GPS data processed {"connection_id":204269,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:00:32] local.INFO: Acknowledgment sent {"connection_id":204269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:00:37] local.INFO: TCP Data received {"connection_id":205707,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109aeb130012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109aeb130012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:00:37] local.INFO: Processing buffer {"connection_id":205707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109aeb130012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:00:37] local.INFO: Packet analysis {"connection_id":205707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:00:37] local.INFO: Extracted packet for processing {"connection_id":205707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:00:37] local.INFO: GPS Element Parsed {"raw_longitude":763037440,"raw_latitude":98785208,"longitude_deg":76.303744,"latitude_deg":9.8785208,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0700","hex_latitude":"05e357b8","is_valid_coordinates":true} 
[2026-10-05 07:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537929216001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864421098093658112,"note":"Value kept but may cause issues"} 
[2026-10-05 07:00: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-10-05 07:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791163806000,"timestamp_ms":1791163806000,"timestamp_seconds":1791163806,"priority":1,"record_length":96,"hex_timestamp":"000001a109aeb130"} 
[2026-10-05 07:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 07:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 07:00:37] 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-10-05 07:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:00: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-10-05 07:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537929216001,"66":14070,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864421098093658112},"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-10-05 07:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537929216001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:00:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:00:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864421098093658112,"description":"Unknown IO ID 45"} 
[2026-10-05 07:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537929216001,"power":14070,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864421098093658112}} 
[2026-10-05 07:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":205707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965876,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:00:37] local.INFO: GPS data processed {"connection_id":205707,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:00:37] local.INFO: Acknowledgment sent {"connection_id":205707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:00:55] local.INFO: TCP Data received {"connection_id":205708,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:00:55] local.INFO: Processing buffer {"connection_id":205708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:00:55] local.INFO: IMEI packet received {"connection_id":205708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":205708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:00:59] local.INFO: TCP Data received {"connection_id":207269,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207269,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:00:59] local.INFO: Processing buffer {"connection_id":207269,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:00:59] local.INFO: IMEI packet received {"connection_id":207269,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":207269,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:01:01] local.INFO: TCP Data received {"connection_id":205708,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:01:01] local.INFO: Processing buffer {"connection_id":205708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:01:01] local.INFO: IMEI packet received {"connection_id":205708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":205708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:01:01] local.INFO: TCP Data received {"connection_id":205708,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:01:01] local.INFO: Processing buffer {"connection_id":205708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:01:01] local.INFO: Packet analysis {"connection_id":205708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:01:01] local.INFO: Extracted packet for processing {"connection_id":205708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:01:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537855744001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791163800000,"timestamp_ms":1791163800000,"timestamp_seconds":1791163800,"priority":1,"record_length":96,"hex_timestamp":"000001a109ae99c0"} 
[2026-10-05 07:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:01:01] 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-10-05 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:01: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-10-05 07: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-10-05 07:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537855744001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537855744001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:01:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:01:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537855744001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":205708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:01:01] local.INFO: GPS data processed {"connection_id":205708,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:01:01] local.INFO: Acknowledgment sent {"connection_id":205708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:01:05] local.INFO: TCP Data received {"connection_id":207269,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207269,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:01:05] local.INFO: Processing buffer {"connection_id":207269,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:01:05] local.INFO: IMEI packet received {"connection_id":207269,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":207269,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:01:05] local.INFO: TCP Data received {"connection_id":207269,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109aec4b8012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109aec4b8012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:01:05] local.INFO: Processing buffer {"connection_id":207269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109aec4b8012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:01:05] local.INFO: Packet analysis {"connection_id":207269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:01:05] local.INFO: Extracted packet for processing {"connection_id":207269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:01:05] local.INFO: GPS Element Parsed {"raw_longitude":763037440,"raw_latitude":98785208,"longitude_deg":76.303744,"latitude_deg":9.8785208,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0700","hex_latitude":"05e357b8","is_valid_coordinates":true} 
[2026-10-05 07:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537934336001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865054416791123968,"note":"Value kept but may cause issues"} 
[2026-10-05 07:01: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-10-05 07:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791163811000,"timestamp_ms":1791163811000,"timestamp_seconds":1791163811,"priority":1,"record_length":96,"hex_timestamp":"000001a109aec4b8"} 
[2026-10-05 07:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 07: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 07:01: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-10-05 07: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-10-05 07:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:01: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-10-05 07:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537934336001,"66":14070,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8865054416791123968},"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-10-05 07:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537934336001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:01:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:01:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865054416791123968,"description":"Unknown IO ID 45"} 
[2026-10-05 07:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537934336001,"power":14070,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865054416791123968}} 
[2026-10-05 07:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":207269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:01:06] local.INFO: GPS data processed {"connection_id":207269,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:01:06] local.INFO: Acknowledgment sent {"connection_id":207269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:01:13] local.INFO: TCP Data received {"connection_id":204177,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:01:13] local.INFO: Processing buffer {"connection_id":204177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:01:13] local.INFO: IMEI packet received {"connection_id":204177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 07:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":204177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:01:32] local.INFO: TCP Data received {"connection_id":205708,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:01:32] local.INFO: Processing buffer {"connection_id":205708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:01:32] local.INFO: Packet analysis {"connection_id":205708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:01:32] local.INFO: Extracted packet for processing {"connection_id":205708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:01:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537855744001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:01: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-10-05 07:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791163800000,"timestamp_ms":1791163800000,"timestamp_seconds":1791163800,"priority":1,"record_length":96,"hex_timestamp":"000001a109ae99c0"} 
[2026-10-05 07:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:01:32] 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-10-05 07:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:01:32] 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-10-05 07:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537855744001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537855744001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:01:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:01:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537855744001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":205708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:01:32] local.INFO: GPS data processed {"connection_id":205708,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:01:32] local.INFO: Acknowledgment sent {"connection_id":205708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:01:36] local.INFO: TCP Data received {"connection_id":207269,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109aec4b8012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109aec4b8012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:01:36] local.INFO: Processing buffer {"connection_id":207269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109aec4b8012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:01:36] local.INFO: Packet analysis {"connection_id":207269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:01:36] local.INFO: Extracted packet for processing {"connection_id":207269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:01:36] local.INFO: GPS Element Parsed {"raw_longitude":763037440,"raw_latitude":98785208,"longitude_deg":76.303744,"latitude_deg":9.8785208,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0700","hex_latitude":"05e357b8","is_valid_coordinates":true} 
[2026-10-05 07:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537935616001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865054416791123968,"note":"Value kept but may cause issues"} 
[2026-10-05 07:01: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-10-05 07:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791163811000,"timestamp_ms":1791163811000,"timestamp_seconds":1791163811,"priority":1,"record_length":96,"hex_timestamp":"000001a109aec4b8"} 
[2026-10-05 07:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:01:36] 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-10-05 07: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 07:01:36] 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-10-05 07: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-10-05 07:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:01: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-10-05 07:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537935616001,"66":14070,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8865054416791123968},"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-10-05 07:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537935616001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:01:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:01:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865054416791123968,"description":"Unknown IO ID 45"} 
[2026-10-05 07:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537935616001,"power":14070,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865054416791123968}} 
[2026-10-05 07:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":207269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965880,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:01:36] local.INFO: GPS data processed {"connection_id":207269,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:01:36] local.INFO: Acknowledgment sent {"connection_id":207269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:01:42] local.INFO: TCP Data received {"connection_id":204270,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:01:42] local.INFO: Processing buffer {"connection_id":204270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:01:42] local.INFO: IMEI packet received {"connection_id":204270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 07:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":204270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:01:55] local.INFO: TCP Data received {"connection_id":205709,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:01:55] local.INFO: Processing buffer {"connection_id":205709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:01:55] local.INFO: IMEI packet received {"connection_id":205709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":205709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:02:00] local.INFO: TCP Data received {"connection_id":204271,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204271,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:02:00] local.INFO: Processing buffer {"connection_id":204271,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:02:00] local.INFO: IMEI packet received {"connection_id":204271,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":204271,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:02:01] local.INFO: TCP Data received {"connection_id":205709,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:02:01] local.INFO: Processing buffer {"connection_id":205709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:02:01] local.INFO: IMEI packet received {"connection_id":205709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":205709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:02:01] local.INFO: TCP Data received {"connection_id":205709,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:02:01] local.INFO: Processing buffer {"connection_id":205709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:02:01] local.INFO: Packet analysis {"connection_id":205709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:02:01] local.INFO: Extracted packet for processing {"connection_id":205709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:02:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537855744001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:02: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-10-05 07:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791163800000,"timestamp_ms":1791163800000,"timestamp_seconds":1791163800,"priority":1,"record_length":96,"hex_timestamp":"000001a109ae99c0"} 
[2026-10-05 07:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:02:01] 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-10-05 07:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:02: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-10-05 07:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537855744001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537855744001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:02:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:02:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537855744001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":205709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:02:01] local.INFO: GPS data processed {"connection_id":205709,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:02:01] local.INFO: Acknowledgment sent {"connection_id":205709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:02:05] local.INFO: TCP Data received {"connection_id":204271,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204271,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:02:05] local.INFO: Processing buffer {"connection_id":204271,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:02:05] local.INFO: IMEI packet received {"connection_id":204271,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":204271,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:02:06] local.INFO: TCP Data received {"connection_id":204271,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109aec4b8012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109aec4b8012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:02:06] local.INFO: Processing buffer {"connection_id":204271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109aec4b8012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:02:06] local.INFO: Packet analysis {"connection_id":204271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:02:06] local.INFO: Extracted packet for processing {"connection_id":204271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:02:06] local.INFO: GPS Element Parsed {"raw_longitude":763037440,"raw_latitude":98785208,"longitude_deg":76.303744,"latitude_deg":9.8785208,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0700","hex_latitude":"05e357b8","is_valid_coordinates":true} 
[2026-10-05 07:02:06] 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-10-05 07:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537935616001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865054416791123968,"note":"Value kept but may cause issues"} 
[2026-10-05 07:02: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-10-05 07:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791163811000,"timestamp_ms":1791163811000,"timestamp_seconds":1791163811,"priority":1,"record_length":96,"hex_timestamp":"000001a109aec4b8"} 
[2026-10-05 07:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:02:06] 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-10-05 07:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 07:02:06] 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-10-05 07:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:02: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-10-05 07:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537935616001,"66":14070,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8865054416791123968},"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-10-05 07:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537935616001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:02:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:02:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865054416791123968,"description":"Unknown IO ID 45"} 
[2026-10-05 07:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537935616001,"power":14070,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865054416791123968}} 
[2026-10-05 07:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":204271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965882,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:02:06] local.INFO: GPS data processed {"connection_id":204271,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:02:06] local.INFO: Acknowledgment sent {"connection_id":204271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:02:32] local.INFO: TCP Data received {"connection_id":205709,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:02:32] local.INFO: Processing buffer {"connection_id":205709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:02:32] local.INFO: Packet analysis {"connection_id":205709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:02:32] local.INFO: Extracted packet for processing {"connection_id":205709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:02:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537855744001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:02: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-10-05 07:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791163800000,"timestamp_ms":1791163800000,"timestamp_seconds":1791163800,"priority":1,"record_length":96,"hex_timestamp":"000001a109ae99c0"} 
[2026-10-05 07:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:02:32] 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-10-05 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:02:32] 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-10-05 07: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-10-05 07:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537855744001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537855744001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:02:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:02:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537855744001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":205709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:02:32] local.INFO: GPS data processed {"connection_id":205709,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:02:32] local.INFO: Acknowledgment sent {"connection_id":205709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:02:37] local.INFO: TCP Data received {"connection_id":204271,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109aec4b8012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109aec4b8012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:02:37] local.INFO: Processing buffer {"connection_id":204271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109aec4b8012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:02:37] local.INFO: Packet analysis {"connection_id":204271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:02:37] local.INFO: Extracted packet for processing {"connection_id":204271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:02:37] local.INFO: GPS Element Parsed {"raw_longitude":763037440,"raw_latitude":98785208,"longitude_deg":76.303744,"latitude_deg":9.8785208,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0700","hex_latitude":"05e357b8","is_valid_coordinates":true} 
[2026-10-05 07:02:37] 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-10-05 07:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537935616001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865054416791123968,"note":"Value kept but may cause issues"} 
[2026-10-05 07:02: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-10-05 07:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791163811000,"timestamp_ms":1791163811000,"timestamp_seconds":1791163811,"priority":1,"record_length":96,"hex_timestamp":"000001a109aec4b8"} 
[2026-10-05 07:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:02:37] 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-10-05 07:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 07:02: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-10-05 07:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:02: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-10-05 07:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537935616001,"66":14070,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8865054416791123968},"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-10-05 07:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537935616001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:02:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:02:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865054416791123968,"description":"Unknown IO ID 45"} 
[2026-10-05 07:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537935616001,"power":14070,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865054416791123968}} 
[2026-10-05 07:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":204271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:02:37] local.INFO: GPS data processed {"connection_id":204271,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:02:37] local.INFO: Acknowledgment sent {"connection_id":204271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:03:00] local.INFO: TCP Data received {"connection_id":205711,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:03:00] local.INFO: Processing buffer {"connection_id":205711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:03:00] local.INFO: IMEI packet received {"connection_id":205711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":205711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:03:01] local.INFO: TCP Data received {"connection_id":204178,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:03:01] local.INFO: Processing buffer {"connection_id":204178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:03:01] local.INFO: IMEI packet received {"connection_id":204178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":204178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:03:05] local.INFO: TCP Data received {"connection_id":205711,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:03:05] local.INFO: Processing buffer {"connection_id":205711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:03:05] local.INFO: IMEI packet received {"connection_id":205711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":205711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:03:06] local.INFO: TCP Data received {"connection_id":204178,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:03:06] local.INFO: Processing buffer {"connection_id":204178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:03:06] local.INFO: IMEI packet received {"connection_id":204178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":204178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:03:06] local.INFO: TCP Data received {"connection_id":205711,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109aec4b8012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109aec4b8012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:03:06] local.INFO: Processing buffer {"connection_id":205711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109aec4b8012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:03:06] local.INFO: Packet analysis {"connection_id":205711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:03:06] local.INFO: Extracted packet for processing {"connection_id":205711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763037440,"raw_latitude":98785208,"longitude_deg":76.303744,"latitude_deg":9.8785208,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0700","hex_latitude":"05e357b8","is_valid_coordinates":true} 
[2026-10-05 07:03:06] 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-10-05 07:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537935616001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865054416791123968,"note":"Value kept but may cause issues"} 
[2026-10-05 07:03: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-10-05 07:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791163811000,"timestamp_ms":1791163811000,"timestamp_seconds":1791163811,"priority":1,"record_length":96,"hex_timestamp":"000001a109aec4b8"} 
[2026-10-05 07:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:03:06] 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-10-05 07:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 07:03:06] 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-10-05 07:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:03: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-10-05 07:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537935616001,"66":14070,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8865054416791123968},"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-10-05 07:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537935616001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:03:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:03:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865054416791123968,"description":"Unknown IO ID 45"} 
[2026-10-05 07:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537935616001,"power":14070,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865054416791123968}} 
[2026-10-05 07:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":205711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:03:06] local.INFO: GPS data processed {"connection_id":205711,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:03:06] local.INFO: Acknowledgment sent {"connection_id":205711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:03:06] local.INFO: TCP Data received {"connection_id":204178,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:03:06] local.INFO: Processing buffer {"connection_id":204178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:03:06] local.INFO: Packet analysis {"connection_id":204178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:03:06] local.INFO: Extracted packet for processing {"connection_id":204178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537855744001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791163800000,"timestamp_ms":1791163800000,"timestamp_seconds":1791163800,"priority":1,"record_length":96,"hex_timestamp":"000001a109ae99c0"} 
[2026-10-05 07:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:03:06] 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-10-05 07:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:03:06] 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-10-05 07:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537855744001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537855744001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:03:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:03:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537855744001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":204178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:03:06] local.INFO: GPS data processed {"connection_id":204178,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:03:06] local.INFO: Acknowledgment sent {"connection_id":204178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:03:11] local.INFO: TCP Data received {"connection_id":204178,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:03:11] local.INFO: Processing buffer {"connection_id":204178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:03:11] local.INFO: Packet analysis {"connection_id":204178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:03:11] local.INFO: Extracted packet for processing {"connection_id":204178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:03:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:03: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-10-05 07:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537855744001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 07:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791163800000,"timestamp_ms":1791163800000,"timestamp_seconds":1791163800,"priority":1,"record_length":96,"hex_timestamp":"000001a109ae99c0"} 
[2026-10-05 07:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:03:11] 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-10-05 07:03: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:03:11] 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-10-05 07:03: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-10-05 07:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537855744001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537855744001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:03:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:03:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537855744001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":204178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:03:11] local.INFO: GPS data processed {"connection_id":204178,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:03:11] local.INFO: Acknowledgment sent {"connection_id":204178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:03:37] local.INFO: TCP Data received {"connection_id":205711,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109aec4b8012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109aec4b8012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:03:37] local.INFO: Processing buffer {"connection_id":205711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109aec4b8012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:03:37] local.INFO: Packet analysis {"connection_id":205711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:03:37] local.INFO: Extracted packet for processing {"connection_id":205711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:03:37] local.INFO: GPS Element Parsed {"raw_longitude":763037440,"raw_latitude":98785208,"longitude_deg":76.303744,"latitude_deg":9.8785208,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0700","hex_latitude":"05e357b8","is_valid_coordinates":true} 
[2026-10-05 07:03:37] 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-10-05 07:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537935616001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865054416791123968,"note":"Value kept but may cause issues"} 
[2026-10-05 07:03: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-10-05 07:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791163811000,"timestamp_ms":1791163811000,"timestamp_seconds":1791163811,"priority":1,"record_length":96,"hex_timestamp":"000001a109aec4b8"} 
[2026-10-05 07:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:03:37] 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-10-05 07:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 07:03: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-10-05 07:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:03: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-10-05 07:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537935616001,"66":14070,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8865054416791123968},"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-10-05 07:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537935616001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:03:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:03:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865054416791123968,"description":"Unknown IO ID 45"} 
[2026-10-05 07:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537935616001,"power":14070,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865054416791123968}} 
[2026-10-05 07:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":205711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:03:37] local.INFO: GPS data processed {"connection_id":205711,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:03:37] local.INFO: Acknowledgment sent {"connection_id":205711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:03:56] local.INFO: TCP Data received {"connection_id":207270,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:03:56] local.INFO: Processing buffer {"connection_id":207270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:03:56] local.INFO: IMEI packet received {"connection_id":207270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":207270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:04:01] local.INFO: TCP Data received {"connection_id":207270,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:04:01] local.INFO: Processing buffer {"connection_id":207270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:04:01] local.INFO: IMEI packet received {"connection_id":207270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":207270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:04:01] local.INFO: TCP Data received {"connection_id":207270,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:04:01] local.INFO: Processing buffer {"connection_id":207270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:04:01] local.INFO: Packet analysis {"connection_id":207270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:04:01] local.INFO: Extracted packet for processing {"connection_id":207270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:04:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 07:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537855744001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 07:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791163800000,"timestamp_ms":1791163800000,"timestamp_seconds":1791163800,"priority":1,"record_length":96,"hex_timestamp":"000001a109ae99c0"} 
[2026-10-05 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-10-05 07:04:01] 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-10-05 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":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:04: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-10-05 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-10-05 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-10-05 07:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537855744001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537855744001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:04:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:04:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537855744001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":207270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:04:01] local.INFO: GPS data processed {"connection_id":207270,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:04:01] local.INFO: Acknowledgment sent {"connection_id":207270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:04:04] local.INFO: TCP Data received {"connection_id":205712,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:04:04] local.INFO: Processing buffer {"connection_id":205712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:04:04] local.INFO: IMEI packet received {"connection_id":205712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":205712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:04:09] local.INFO: TCP Data received {"connection_id":205712,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:04:09] local.INFO: Processing buffer {"connection_id":205712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:04:09] local.INFO: IMEI packet received {"connection_id":205712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":205712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:04:10] local.INFO: TCP Data received {"connection_id":205712,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109aec4b8012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109aec4b8012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:04:10] local.INFO: Processing buffer {"connection_id":205712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109aec4b8012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:04:10] local.INFO: Packet analysis {"connection_id":205712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:04:10] local.INFO: Extracted packet for processing {"connection_id":205712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:04:10] local.INFO: GPS Element Parsed {"raw_longitude":763037440,"raw_latitude":98785208,"longitude_deg":76.303744,"latitude_deg":9.8785208,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0700","hex_latitude":"05e357b8","is_valid_coordinates":true} 
[2026-10-05 07:04:10] 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-10-05 07:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537935616001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865054416791123968,"note":"Value kept but may cause issues"} 
[2026-10-05 07:04:10] 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-10-05 07:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791163811000,"timestamp_ms":1791163811000,"timestamp_seconds":1791163811,"priority":1,"record_length":96,"hex_timestamp":"000001a109aec4b8"} 
[2026-10-05 07:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:04:10] 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-10-05 07:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 07:04:10] 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-10-05 07:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":205712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":205712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":205712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:04: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-10-05 07:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537935616001,"66":14070,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8865054416791123968},"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-10-05 07:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537935616001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:04:10] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865054416791123968,"description":"Unknown IO ID 45"} 
[2026-10-05 07:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537935616001,"power":14070,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865054416791123968}} 
[2026-10-05 07:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":205712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:04:10] local.INFO: GPS data processed {"connection_id":205712,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:04:10] local.INFO: Acknowledgment sent {"connection_id":205712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:04:32] local.INFO: TCP Data received {"connection_id":207270,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:04:32] local.INFO: Processing buffer {"connection_id":207270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:04:32] local.INFO: Packet analysis {"connection_id":207270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:04:32] local.INFO: Extracted packet for processing {"connection_id":207270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537855744001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:04: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-10-05 07:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791163800000,"timestamp_ms":1791163800000,"timestamp_seconds":1791163800,"priority":1,"record_length":96,"hex_timestamp":"000001a109ae99c0"} 
[2026-10-05 07:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:04:32] 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-10-05 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:04:32] 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-10-05 07: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-10-05 07:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537855744001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537855744001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:04:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:04:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537855744001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":207270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:04:32] local.INFO: GPS data processed {"connection_id":207270,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:04:32] local.INFO: Acknowledgment sent {"connection_id":207270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:04:41] local.INFO: TCP Data received {"connection_id":205712,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109aec4b8012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109aec4b8012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:04:41] local.INFO: Processing buffer {"connection_id":205712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109aec4b8012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:04:41] local.INFO: Packet analysis {"connection_id":205712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:04:41] local.INFO: Extracted packet for processing {"connection_id":205712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:04:41] local.INFO: GPS Element Parsed {"raw_longitude":763037440,"raw_latitude":98785208,"longitude_deg":76.303744,"latitude_deg":9.8785208,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0700","hex_latitude":"05e357b8","is_valid_coordinates":true} 
[2026-10-05 07:04:41] 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-10-05 07:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537935616001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865054416791123968,"note":"Value kept but may cause issues"} 
[2026-10-05 07:04:41] 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-10-05 07:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791163811000,"timestamp_ms":1791163811000,"timestamp_seconds":1791163811,"priority":1,"record_length":96,"hex_timestamp":"000001a109aec4b8"} 
[2026-10-05 07:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:04:41] 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-10-05 07:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 07:04:41] 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-10-05 07:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":205712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":205712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":205712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537935616001,"66":14070,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8865054416791123968},"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-10-05 07:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537935616001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:04:41] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865054416791123968,"description":"Unknown IO ID 45"} 
[2026-10-05 07:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537935616001,"power":14070,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865054416791123968}} 
[2026-10-05 07:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":205712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:04:41] local.INFO: GPS data processed {"connection_id":205712,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:04:41] local.INFO: Acknowledgment sent {"connection_id":205712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:04:56] local.INFO: TCP Data received {"connection_id":204273,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:04:56] local.INFO: Processing buffer {"connection_id":204273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:04:56] local.INFO: IMEI packet received {"connection_id":204273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":204273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:04:59] local.INFO: TCP Data received {"connection_id":205714,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:04:59] local.INFO: Processing buffer {"connection_id":205714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:04:59] local.INFO: IMEI packet received {"connection_id":205714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":205714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:05:01] local.INFO: TCP Data received {"connection_id":204273,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:05:01] local.INFO: Processing buffer {"connection_id":204273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:05:01] local.INFO: IMEI packet received {"connection_id":204273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":204273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:05:01] local.INFO: TCP Data received {"connection_id":204273,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:05:01] local.INFO: Processing buffer {"connection_id":204273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:05:01] local.INFO: Packet analysis {"connection_id":204273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:05:01] local.INFO: Extracted packet for processing {"connection_id":204273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:05:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537855744001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791163800000,"timestamp_ms":1791163800000,"timestamp_seconds":1791163800,"priority":1,"record_length":96,"hex_timestamp":"000001a109ae99c0"} 
[2026-10-05 07:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:05:01] 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-10-05 07: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":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:05: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-10-05 07: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-10-05 07:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537855744001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537855744001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:05:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537855744001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":204273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:05:01] local.INFO: GPS data processed {"connection_id":204273,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:05:01] local.INFO: Acknowledgment sent {"connection_id":204273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:05:04] local.INFO: TCP Data received {"connection_id":205714,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:05:04] local.INFO: Processing buffer {"connection_id":205714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:05:04] local.INFO: IMEI packet received {"connection_id":205714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":205714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:05:05] local.INFO: TCP Data received {"connection_id":205714,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109aec4b8012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109aec4b8012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:05:06] local.INFO: Processing buffer {"connection_id":205714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109aec4b8012d7b070005e357b80004007b1f..."} 
[2026-10-05 07:05:06] local.INFO: Packet analysis {"connection_id":205714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:05:06] local.INFO: Extracted packet for processing {"connection_id":205714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:05:06] local.INFO: GPS Element Parsed {"raw_longitude":763037440,"raw_latitude":98785208,"longitude_deg":76.303744,"latitude_deg":9.8785208,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0700","hex_latitude":"05e357b8","is_valid_coordinates":true} 
[2026-10-05 07:05:06] 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-10-05 07:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537935616001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865054416791123968,"note":"Value kept but may cause issues"} 
[2026-10-05 07:05: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-10-05 07:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791163811000,"timestamp_ms":1791163811000,"timestamp_seconds":1791163811,"priority":1,"record_length":96,"hex_timestamp":"000001a109aec4b8"} 
[2026-10-05 07:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:05:06] 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-10-05 07:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 07:05:06] 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-10-05 07:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:05: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-10-05 07:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537935616001,"66":14070,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8865054416791123968},"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-10-05 07:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537935616001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:05:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:05:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865054416791123968,"description":"Unknown IO ID 45"} 
[2026-10-05 07:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537935616001,"power":14070,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865054416791123968}} 
[2026-10-05 07:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":205714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:05:06] local.INFO: GPS data processed {"connection_id":205714,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:05:06] local.INFO: Acknowledgment sent {"connection_id":205714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:05:32] local.INFO: TCP Data received {"connection_id":204273,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:05:32] local.INFO: Processing buffer {"connection_id":204273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ae99c0012d7f91c005afd9f00013010123..."} 
[2026-10-05 07:05:32] local.INFO: Packet analysis {"connection_id":204273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:05:32] local.INFO: Extracted packet for processing {"connection_id":204273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ae"} 
[2026-10-05 07:05:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:05: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-10-05 07:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537855744001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:05: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-10-05 07:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791163800000,"timestamp_ms":1791163800000,"timestamp_seconds":1791163800,"priority":1,"record_length":96,"hex_timestamp":"000001a109ae99c0"} 
[2026-10-05 07:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:05:32] 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-10-05 07:05: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":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:05:32] 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-10-05 07:05: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-10-05 07:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537855744001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537855744001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:05:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:05:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537855744001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":204273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:05:32] local.INFO: GPS data processed {"connection_id":204273,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:05:32] local.INFO: Acknowledgment sent {"connection_id":204273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:05:37] local.INFO: TCP Data received {"connection_id":205714,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:05:37] local.INFO: Processing buffer {"connection_id":205714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:05:37] local.INFO: Packet analysis {"connection_id":205714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:05:37] local.INFO: Extracted packet for processing {"connection_id":205714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:05:37] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":33,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537935616001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865054416791123968,"note":"Value kept but may cause issues"} 
[2026-10-05 07:05: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-10-05 07:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791164113000,"timestamp_ms":1791164113000,"timestamp_seconds":1791164113,"priority":1,"record_length":96,"hex_timestamp":"000001a109b36068"} 
[2026-10-05 07:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:05:37] 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-10-05 07:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 07:05: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-10-05 07:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:05: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-10-05 07:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537935616001,"66":13059,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8865054416791123968},"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-10-05 07:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537935616001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:05:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:05:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865054416791123968,"description":"Unknown IO ID 45"} 
[2026-10-05 07:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537935616001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865054416791123968}} 
[2026-10-05 07:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":205714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:05:37] local.INFO: GPS data processed {"connection_id":205714,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:05:37] local.INFO: Acknowledgment sent {"connection_id":205714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:05:55] local.INFO: TCP Data received {"connection_id":204274,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:05:55] local.INFO: Processing buffer {"connection_id":204274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:05:55] local.INFO: IMEI packet received {"connection_id":204274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":204274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:05:59] local.INFO: TCP Data received {"connection_id":205715,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:05:59] local.INFO: Processing buffer {"connection_id":205715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:05:59] local.INFO: IMEI packet received {"connection_id":205715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":205715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:06:01] local.INFO: TCP Data received {"connection_id":204274,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:06:01] local.INFO: Processing buffer {"connection_id":204274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:06:01] local.INFO: IMEI packet received {"connection_id":204274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":204274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:06:01] local.INFO: TCP Data received {"connection_id":204274,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:06:01] local.INFO: Processing buffer {"connection_id":204274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:06:01] local.INFO: Packet analysis {"connection_id":204274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:06:01] local.INFO: Extracted packet for processing {"connection_id":204274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:06:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537932800001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:06: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-10-05 07:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791164101000,"timestamp_ms":1791164101000,"timestamp_seconds":1791164101,"priority":1,"record_length":96,"hex_timestamp":"000001a109b33188"} 
[2026-10-05 07:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:06:01] 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-10-05 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:06: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-10-05 07: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-10-05 07:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537932800001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537932800001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:06:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:06:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537932800001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":204274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:06:01] local.INFO: GPS data processed {"connection_id":204274,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:06:01] local.INFO: Acknowledgment sent {"connection_id":204274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:06:05] local.INFO: TCP Data received {"connection_id":205715,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:06:05] local.INFO: Processing buffer {"connection_id":205715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:06:05] local.INFO: IMEI packet received {"connection_id":205715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":205715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:06:06] local.INFO: TCP Data received {"connection_id":205715,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:06:06] local.INFO: Processing buffer {"connection_id":205715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:06:06] local.INFO: Packet analysis {"connection_id":205715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:06:06] local.INFO: Extracted packet for processing {"connection_id":205715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:06:06] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":33,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537935616001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865054416791123968,"note":"Value kept but may cause issues"} 
[2026-10-05 07:06: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-10-05 07:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791164113000,"timestamp_ms":1791164113000,"timestamp_seconds":1791164113,"priority":1,"record_length":96,"hex_timestamp":"000001a109b36068"} 
[2026-10-05 07:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:06:06] 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-10-05 07:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 07:06:06] 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-10-05 07:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:06: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-10-05 07:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537935616001,"66":13059,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8865054416791123968},"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-10-05 07:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537935616001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:06:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:06:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865054416791123968,"description":"Unknown IO ID 45"} 
[2026-10-05 07:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537935616001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865054416791123968}} 
[2026-10-05 07:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":205715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:06:06] local.INFO: GPS data processed {"connection_id":205715,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:06:06] local.INFO: Acknowledgment sent {"connection_id":205715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:06:33] local.INFO: TCP Data received {"connection_id":204274,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:06:33] local.INFO: Processing buffer {"connection_id":204274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:06:33] local.INFO: Packet analysis {"connection_id":204274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:06:33] local.INFO: Extracted packet for processing {"connection_id":204274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537932800001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:06: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-10-05 07:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791164101000,"timestamp_ms":1791164101000,"timestamp_seconds":1791164101,"priority":1,"record_length":96,"hex_timestamp":"000001a109b33188"} 
[2026-10-05 07:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:06:33] 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-10-05 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:06:33] 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-10-05 07: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-10-05 07:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537932800001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537932800001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:06:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:06:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537932800001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":204274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:06:33] local.INFO: GPS data processed {"connection_id":204274,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:06:33] local.INFO: Acknowledgment sent {"connection_id":204274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:06:37] local.INFO: TCP Data received {"connection_id":205715,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:06:37] local.INFO: Processing buffer {"connection_id":205715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:06:37] local.INFO: Packet analysis {"connection_id":205715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:06:37] local.INFO: Extracted packet for processing {"connection_id":205715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:06:37] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":33,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537935616001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865054416791123968,"note":"Value kept but may cause issues"} 
[2026-10-05 07:06: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-10-05 07:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791164113000,"timestamp_ms":1791164113000,"timestamp_seconds":1791164113,"priority":1,"record_length":96,"hex_timestamp":"000001a109b36068"} 
[2026-10-05 07:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:06:37] 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-10-05 07:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 07:06: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-10-05 07:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:06: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-10-05 07:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537935616001,"66":13059,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8865054416791123968},"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-10-05 07:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537935616001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:06:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:06:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865054416791123968,"description":"Unknown IO ID 45"} 
[2026-10-05 07:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537935616001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865054416791123968}} 
[2026-10-05 07:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":205715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965900,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:06:37] local.INFO: GPS data processed {"connection_id":205715,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:06:37] local.INFO: Acknowledgment sent {"connection_id":205715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:06:55] local.INFO: TCP Data received {"connection_id":207272,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:06:55] local.INFO: Processing buffer {"connection_id":207272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:06:55] local.INFO: IMEI packet received {"connection_id":207272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":207272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:07:00] local.INFO: TCP Data received {"connection_id":204275,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:07:00] local.INFO: Processing buffer {"connection_id":204275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:07:00] local.INFO: IMEI packet received {"connection_id":204275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":204275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:07:01] local.INFO: TCP Data received {"connection_id":207272,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:07:01] local.INFO: Processing buffer {"connection_id":207272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:07:01] local.INFO: IMEI packet received {"connection_id":207272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":207272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:07:01] local.INFO: TCP Data received {"connection_id":207272,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:07:01] local.INFO: Processing buffer {"connection_id":207272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:07:01] local.INFO: Packet analysis {"connection_id":207272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:07:01] local.INFO: Extracted packet for processing {"connection_id":207272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:07:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537932800001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:07: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-10-05 07:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791164101000,"timestamp_ms":1791164101000,"timestamp_seconds":1791164101,"priority":1,"record_length":96,"hex_timestamp":"000001a109b33188"} 
[2026-10-05 07:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:07:01] 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-10-05 07:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:07: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-10-05 07:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537932800001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537932800001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:07:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:07:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537932800001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":207272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:07:01] local.INFO: GPS data processed {"connection_id":207272,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:07:01] local.INFO: Acknowledgment sent {"connection_id":207272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:07:05] local.INFO: TCP Data received {"connection_id":204275,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:07:05] local.INFO: Processing buffer {"connection_id":204275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:07:05] local.INFO: IMEI packet received {"connection_id":204275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":204275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:07:06] local.INFO: TCP Data received {"connection_id":204275,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:07:06] local.INFO: Processing buffer {"connection_id":204275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:07:06] local.INFO: Packet analysis {"connection_id":204275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:07:06] local.INFO: Extracted packet for processing {"connection_id":204275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:07:06] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":33,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537935616001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865054416791123968,"note":"Value kept but may cause issues"} 
[2026-10-05 07:07: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-10-05 07:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791164113000,"timestamp_ms":1791164113000,"timestamp_seconds":1791164113,"priority":1,"record_length":96,"hex_timestamp":"000001a109b36068"} 
[2026-10-05 07:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:07:06] 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-10-05 07:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 07:07:06] 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-10-05 07:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:07: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-10-05 07:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537935616001,"66":13059,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8865054416791123968},"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-10-05 07:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537935616001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:07:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:07:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865054416791123968,"description":"Unknown IO ID 45"} 
[2026-10-05 07:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537935616001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865054416791123968}} 
[2026-10-05 07:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":204275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:07:06] local.INFO: GPS data processed {"connection_id":204275,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:07:06] local.INFO: Acknowledgment sent {"connection_id":204275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:07:08] local.INFO: TCP Data received {"connection_id":204179,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:07:08] local.INFO: Processing buffer {"connection_id":204179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:07:08] local.INFO: IMEI packet received {"connection_id":204179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 07:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":204179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:07:32] local.INFO: TCP Data received {"connection_id":207272,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:07:32] local.INFO: Processing buffer {"connection_id":207272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:07:32] local.INFO: Packet analysis {"connection_id":207272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:07:32] local.INFO: Extracted packet for processing {"connection_id":207272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:07:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537932800001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:07: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-10-05 07:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791164101000,"timestamp_ms":1791164101000,"timestamp_seconds":1791164101,"priority":1,"record_length":96,"hex_timestamp":"000001a109b33188"} 
[2026-10-05 07:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:07:32] 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-10-05 07:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:07: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-10-05 07:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537932800001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537932800001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:07:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:07:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537932800001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":207272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:07:32] local.INFO: GPS data processed {"connection_id":207272,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:07:32] local.INFO: Acknowledgment sent {"connection_id":207272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:07:37] local.INFO: TCP Data received {"connection_id":204275,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:07:37] local.INFO: Processing buffer {"connection_id":204275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:07:37] local.INFO: Packet analysis {"connection_id":204275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:07:37] local.INFO: Extracted packet for processing {"connection_id":204275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:07:37] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":33,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 07:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537935616001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865054416791123968,"note":"Value kept but may cause issues"} 
[2026-10-05 07:07: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-10-05 07:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791164113000,"timestamp_ms":1791164113000,"timestamp_seconds":1791164113,"priority":1,"record_length":96,"hex_timestamp":"000001a109b36068"} 
[2026-10-05 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-10-05 07:07:37] 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-10-05 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 07:07: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-10-05 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-10-05 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-10-05 07:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:07: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-10-05 07:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537935616001,"66":13059,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8865054416791123968},"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-10-05 07:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537935616001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:07:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:07:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865054416791123968,"description":"Unknown IO ID 45"} 
[2026-10-05 07:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537935616001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865054416791123968}} 
[2026-10-05 07:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":204275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965904,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:07:37] local.INFO: GPS data processed {"connection_id":204275,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:07:37] local.INFO: Acknowledgment sent {"connection_id":204275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:07:43] local.INFO: TCP Data received {"connection_id":207273,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207273,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:07:43] local.INFO: Processing buffer {"connection_id":207273,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:07:43] local.INFO: IMEI packet received {"connection_id":207273,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 07:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":207273,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:08:00] local.INFO: TCP Data received {"connection_id":204180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:08:00] local.INFO: Processing buffer {"connection_id":204180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:08:00] local.INFO: IMEI packet received {"connection_id":204180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":204180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:08:01] local.INFO: TCP Data received {"connection_id":205716,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:08:01] local.INFO: Processing buffer {"connection_id":205716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:08:01] local.INFO: IMEI packet received {"connection_id":205716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":205716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:08:05] local.INFO: TCP Data received {"connection_id":204180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:08:05] local.INFO: Processing buffer {"connection_id":204180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:08:05] local.INFO: IMEI packet received {"connection_id":204180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":204180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:08:06] local.INFO: TCP Data received {"connection_id":205716,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:08:06] local.INFO: Processing buffer {"connection_id":205716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:08:06] local.INFO: IMEI packet received {"connection_id":205716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":205716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:08:06] local.INFO: TCP Data received {"connection_id":204180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:08:06] local.INFO: Processing buffer {"connection_id":204180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:08:06] local.INFO: Packet analysis {"connection_id":204180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:08:06] local.INFO: Extracted packet for processing {"connection_id":204180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:08:06] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":33,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537935616001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865054416791123968,"note":"Value kept but may cause issues"} 
[2026-10-05 07:08: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-10-05 07:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791164113000,"timestamp_ms":1791164113000,"timestamp_seconds":1791164113,"priority":1,"record_length":96,"hex_timestamp":"000001a109b36068"} 
[2026-10-05 07:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:08:06] 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-10-05 07:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 07:08:06] 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-10-05 07:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:08: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-10-05 07:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537935616001,"66":13059,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8865054416791123968},"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-10-05 07:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537935616001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:08:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:08:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865054416791123968,"description":"Unknown IO ID 45"} 
[2026-10-05 07:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537935616001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865054416791123968}} 
[2026-10-05 07:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":204180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:08:06] local.INFO: GPS data processed {"connection_id":204180,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:08:06] local.INFO: Acknowledgment sent {"connection_id":204180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:08:06] local.INFO: TCP Data received {"connection_id":205716,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:08:06] local.INFO: Processing buffer {"connection_id":205716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:08:06] local.INFO: Packet analysis {"connection_id":205716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:08:06] local.INFO: Extracted packet for processing {"connection_id":205716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:08:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537932800001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:08: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-10-05 07:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791164101000,"timestamp_ms":1791164101000,"timestamp_seconds":1791164101,"priority":1,"record_length":96,"hex_timestamp":"000001a109b33188"} 
[2026-10-05 07:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:08:06] 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-10-05 07:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:08:06] 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-10-05 07:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537932800001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537932800001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:08:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:08:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537932800001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":205716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:08:06] local.INFO: GPS data processed {"connection_id":205716,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:08:06] local.INFO: Acknowledgment sent {"connection_id":205716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:08:11] local.INFO: TCP Data received {"connection_id":205716,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:08:11] local.INFO: Processing buffer {"connection_id":205716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:08:11] local.INFO: Packet analysis {"connection_id":205716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:08:11] local.INFO: Extracted packet for processing {"connection_id":205716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:08:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537932800001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 07:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791164101000,"timestamp_ms":1791164101000,"timestamp_seconds":1791164101,"priority":1,"record_length":96,"hex_timestamp":"000001a109b33188"} 
[2026-10-05 07:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:08:11] 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-10-05 07:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:08:11] 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-10-05 07:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537932800001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537932800001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:08:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:08:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537932800001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":205716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:08:11] local.INFO: GPS data processed {"connection_id":205716,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:08:11] local.INFO: Acknowledgment sent {"connection_id":205716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:08:37] local.INFO: TCP Data received {"connection_id":204180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:08:37] local.INFO: Processing buffer {"connection_id":204180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:08:37] local.INFO: Packet analysis {"connection_id":204180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:08:37] local.INFO: Extracted packet for processing {"connection_id":204180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:08:37] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":33,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537935616001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865054416791123968,"note":"Value kept but may cause issues"} 
[2026-10-05 07:08: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-10-05 07:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791164113000,"timestamp_ms":1791164113000,"timestamp_seconds":1791164113,"priority":1,"record_length":96,"hex_timestamp":"000001a109b36068"} 
[2026-10-05 07:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:08:37] 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-10-05 07:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 07:08: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-10-05 07:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:08: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-10-05 07:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537935616001,"66":13059,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8865054416791123968},"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-10-05 07:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537935616001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:08:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:08:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865054416791123968,"description":"Unknown IO ID 45"} 
[2026-10-05 07:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537935616001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865054416791123968}} 
[2026-10-05 07:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":204180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:08:37] local.INFO: GPS data processed {"connection_id":204180,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:08:37] local.INFO: Acknowledgment sent {"connection_id":204180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:08:56] local.INFO: TCP Data received {"connection_id":205717,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:08:56] local.INFO: Processing buffer {"connection_id":205717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:08:56] local.INFO: IMEI packet received {"connection_id":205717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":205717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:08:59] local.INFO: TCP Data received {"connection_id":204181,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:08:59] local.INFO: Processing buffer {"connection_id":204181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:08:59] local.INFO: IMEI packet received {"connection_id":204181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":204181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:09:01] local.INFO: TCP Data received {"connection_id":205717,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:09:01] local.INFO: Processing buffer {"connection_id":205717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:09:01] local.INFO: IMEI packet received {"connection_id":205717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":205717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:09:02] local.INFO: TCP Data received {"connection_id":205717,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:09:02] local.INFO: Processing buffer {"connection_id":205717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:09:02] local.INFO: Packet analysis {"connection_id":205717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:09:02] local.INFO: Extracted packet for processing {"connection_id":205717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:09:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 07:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537932800001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:09: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-10-05 07:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791164101000,"timestamp_ms":1791164101000,"timestamp_seconds":1791164101,"priority":1,"record_length":96,"hex_timestamp":"000001a109b33188"} 
[2026-10-05 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-10-05 07:09: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-10-05 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:09: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-10-05 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-10-05 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-10-05 07:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537932800001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537932800001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:09:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:09:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537932800001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":205717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:09:02] local.INFO: GPS data processed {"connection_id":205717,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:09:02] local.INFO: Acknowledgment sent {"connection_id":205717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:09:05] local.INFO: TCP Data received {"connection_id":204181,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:09:05] local.INFO: Processing buffer {"connection_id":204181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:09:05] local.INFO: IMEI packet received {"connection_id":204181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":204181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:09:05] local.INFO: TCP Data received {"connection_id":204181,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:09:05] local.INFO: Processing buffer {"connection_id":204181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:09:05] local.INFO: Packet analysis {"connection_id":204181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:09:05] local.INFO: Extracted packet for processing {"connection_id":204181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:09:05] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":33,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537935616001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865054416791123968,"note":"Value kept but may cause issues"} 
[2026-10-05 07:09: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-10-05 07:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791164113000,"timestamp_ms":1791164113000,"timestamp_seconds":1791164113,"priority":1,"record_length":96,"hex_timestamp":"000001a109b36068"} 
[2026-10-05 07:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:09:05] 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-10-05 07: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 07:09: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-10-05 07: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-10-05 07:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:09: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-10-05 07:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537935616001,"66":13059,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8865054416791123968},"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-10-05 07:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537935616001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:09:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:09:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865054416791123968,"description":"Unknown IO ID 45"} 
[2026-10-05 07:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537935616001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865054416791123968}} 
[2026-10-05 07:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":204181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965910,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:09:05] local.INFO: GPS data processed {"connection_id":204181,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:09:05] local.INFO: Acknowledgment sent {"connection_id":204181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:09:33] local.INFO: TCP Data received {"connection_id":205717,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:09:33] local.INFO: Processing buffer {"connection_id":205717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:09:33] local.INFO: Packet analysis {"connection_id":205717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:09:33] local.INFO: Extracted packet for processing {"connection_id":205717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 07:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537932800001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:09: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-10-05 07:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791164101000,"timestamp_ms":1791164101000,"timestamp_seconds":1791164101,"priority":1,"record_length":96,"hex_timestamp":"000001a109b33188"} 
[2026-10-05 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-10-05 07:09:33] 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-10-05 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:09:33] 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-10-05 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-10-05 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-10-05 07:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537932800001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537932800001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:09:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:09:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537932800001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":205717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:09:33] local.INFO: GPS data processed {"connection_id":205717,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:09:33] local.INFO: Acknowledgment sent {"connection_id":205717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:09:37] local.INFO: TCP Data received {"connection_id":204181,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:09:37] local.INFO: Processing buffer {"connection_id":204181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:09:37] local.INFO: Packet analysis {"connection_id":204181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:09:37] local.INFO: Extracted packet for processing {"connection_id":204181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:09:37] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":33,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537935616001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865054416791123968,"note":"Value kept but may cause issues"} 
[2026-10-05 07:09: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-10-05 07:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791164113000,"timestamp_ms":1791164113000,"timestamp_seconds":1791164113,"priority":1,"record_length":96,"hex_timestamp":"000001a109b36068"} 
[2026-10-05 07:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:09:37] 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-10-05 07: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 07:09: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-10-05 07:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:09: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-10-05 07:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537935616001,"66":13059,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8865054416791123968},"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-10-05 07:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537935616001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:09:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:09:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865054416791123968,"description":"Unknown IO ID 45"} 
[2026-10-05 07:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537935616001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865054416791123968}} 
[2026-10-05 07:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":204181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:09:37] local.INFO: GPS data processed {"connection_id":204181,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:09:37] local.INFO: Acknowledgment sent {"connection_id":204181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:09:56] local.INFO: TCP Data received {"connection_id":204276,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:09:56] local.INFO: Processing buffer {"connection_id":204276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:09:56] local.INFO: IMEI packet received {"connection_id":204276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":204276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:10:01] local.INFO: TCP Data received {"connection_id":204276,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:10:01] local.INFO: Processing buffer {"connection_id":204276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:10:01] local.INFO: IMEI packet received {"connection_id":204276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":204276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:10:01] local.INFO: TCP Data received {"connection_id":204276,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:10:01] local.INFO: Processing buffer {"connection_id":204276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:10:01] local.INFO: Packet analysis {"connection_id":204276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:10:01] local.INFO: Extracted packet for processing {"connection_id":204276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 07:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537932800001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791164101000,"timestamp_ms":1791164101000,"timestamp_seconds":1791164101,"priority":1,"record_length":96,"hex_timestamp":"000001a109b33188"} 
[2026-10-05 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-10-05 07:10:01] 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-10-05 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:10: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-10-05 07: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-10-05 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-10-05 07:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537932800001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537932800001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:10:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:10:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537932800001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":204276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:10:01] local.INFO: GPS data processed {"connection_id":204276,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:10:01] local.INFO: Acknowledgment sent {"connection_id":204276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:10:05] local.INFO: TCP Data received {"connection_id":204182,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204182,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:10:05] local.INFO: Processing buffer {"connection_id":204182,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:10:05] local.INFO: IMEI packet received {"connection_id":204182,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":204182,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:10:09] local.INFO: TCP Data received {"connection_id":204182,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204182,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:10:09] local.INFO: Processing buffer {"connection_id":204182,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:10:09] local.INFO: IMEI packet received {"connection_id":204182,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":204182,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:10:10] local.INFO: TCP Data received {"connection_id":204182,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:10:11] local.INFO: Processing buffer {"connection_id":204182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:10:11] local.INFO: Packet analysis {"connection_id":204182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:10:11] local.INFO: Extracted packet for processing {"connection_id":204182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:10:11] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":33,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537935616001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865054416791123968,"note":"Value kept but may cause issues"} 
[2026-10-05 07:10: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-10-05 07:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791164113000,"timestamp_ms":1791164113000,"timestamp_seconds":1791164113,"priority":1,"record_length":96,"hex_timestamp":"000001a109b36068"} 
[2026-10-05 07:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:10:11] 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-10-05 07:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 07:10:11] 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-10-05 07:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:10:11] 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-10-05 07:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537935616001,"66":13059,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8865054416791123968},"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-10-05 07:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537935616001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:10:11] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865054416791123968,"description":"Unknown IO ID 45"} 
[2026-10-05 07:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537935616001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865054416791123968}} 
[2026-10-05 07:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":204182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:10:11] local.INFO: GPS data processed {"connection_id":204182,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:10:11] local.INFO: Acknowledgment sent {"connection_id":204182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:10:15] local.INFO: TCP Data received {"connection_id":204182,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:10:15] local.INFO: Processing buffer {"connection_id":204182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b36068012d7b060005e357b00004007b21..."} 
[2026-10-05 07:10:15] local.INFO: Packet analysis {"connection_id":204182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:10:15] local.INFO: Extracted packet for processing {"connection_id":204182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:10:15] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":33,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537935616001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865054416791123968,"note":"Value kept but may cause issues"} 
[2026-10-05 07:10: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-10-05 07:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791164113000,"timestamp_ms":1791164113000,"timestamp_seconds":1791164113,"priority":1,"record_length":96,"hex_timestamp":"000001a109b36068"} 
[2026-10-05 07:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:10:15] 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-10-05 07:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 07:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 07:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:10: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-10-05 07:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537935616001,"66":13059,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8865054416791123968},"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-10-05 07:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537935616001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:10:15] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:10:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865054416791123968,"description":"Unknown IO ID 45"} 
[2026-10-05 07:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537935616001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865054416791123968}} 
[2026-10-05 07:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":204182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965915,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:10:15] local.INFO: GPS data processed {"connection_id":204182,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:10:15] local.INFO: Acknowledgment sent {"connection_id":204182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:10:32] local.INFO: TCP Data received {"connection_id":204276,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:10:32] local.INFO: Processing buffer {"connection_id":204276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b33188012d7f91c005afd9f00013010121..."} 
[2026-10-05 07:10:32] local.INFO: Packet analysis {"connection_id":204276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:10:32] local.INFO: Extracted packet for processing {"connection_id":204276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b3"} 
[2026-10-05 07:10:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 07:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458537932800001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791164101000,"timestamp_ms":1791164101000,"timestamp_seconds":1791164101,"priority":1,"record_length":96,"hex_timestamp":"000001a109b33188"} 
[2026-10-05 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-10-05 07:10:32] 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-10-05 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:10: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-10-05 07: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-10-05 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-10-05 07:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458537932800001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458537932800001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:10:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:10:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458537932800001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":204276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:10:32] local.INFO: GPS data processed {"connection_id":204276,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:10:32] local.INFO: Acknowledgment sent {"connection_id":204276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:10:55] local.INFO: TCP Data received {"connection_id":204184,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:10:55] local.INFO: Processing buffer {"connection_id":204184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:10:55] local.INFO: IMEI packet received {"connection_id":204184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":204184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:10:59] local.INFO: TCP Data received {"connection_id":205718,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205718,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:10:59] local.INFO: Processing buffer {"connection_id":205718,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:10:59] local.INFO: IMEI packet received {"connection_id":205718,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":205718,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:11:00] local.INFO: TCP Data received {"connection_id":204184,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:11:00] local.INFO: Processing buffer {"connection_id":204184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:11:00] local.INFO: IMEI packet received {"connection_id":204184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":204184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:11:01] local.INFO: TCP Data received {"connection_id":204184,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:11:01] local.INFO: Processing buffer {"connection_id":204184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:11:01] local.INFO: Packet analysis {"connection_id":204184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:11:01] local.INFO: Extracted packet for processing {"connection_id":204184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:11:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538009856001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:11: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-10-05 07:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791164402000,"timestamp_ms":1791164402000,"timestamp_seconds":1791164402,"priority":1,"record_length":96,"hex_timestamp":"000001a109b7c950"} 
[2026-10-05 07:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:11:01] 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-10-05 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:11: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-10-05 07: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-10-05 07:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07: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-10-05 07:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538009856001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538009856001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:11:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:11:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538009856001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":204184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:11:01] local.INFO: GPS data processed {"connection_id":204184,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:11:01] local.INFO: Acknowledgment sent {"connection_id":204184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:11:05] local.INFO: TCP Data received {"connection_id":205718,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205718,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:11:05] local.INFO: Processing buffer {"connection_id":205718,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:11:05] local.INFO: IMEI packet received {"connection_id":205718,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":205718,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:11:06] local.INFO: TCP Data received {"connection_id":205718,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109b7f830012d7b060005e357b00004007b26..."} 
[2026-10-05 07:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b7f830012d7b060005e357b00004007b26..."} 
[2026-10-05 07:11:06] local.INFO: Processing buffer {"connection_id":205718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b7f830012d7b060005e357b00004007b26..."} 
[2026-10-05 07:11:06] local.INFO: Packet analysis {"connection_id":205718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:11:06] local.INFO: Extracted packet for processing {"connection_id":205718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:11:06] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538012928001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:11: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-10-05 07:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791164414000,"timestamp_ms":1791164414000,"timestamp_seconds":1791164414,"priority":1,"record_length":96,"hex_timestamp":"000001a109b7f830"} 
[2026-10-05 07:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:11: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-10-05 07:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 07:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303173397957983,"note":"Value kept but may cause issues"} 
[2026-10-05 07:11:06] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399433,"note":"Value kept but may cause issues"} 
[2026-10-05 07:11:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 07:11:06] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2667577344,"note":"Value kept but may cause issues"} 
[2026-10-05 07:11:06] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13459408,"corrected_to":0} 
[2026-10-05 07:11:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-10-05 07:11:06] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3163488256,"note":"Value kept but may cause issues"} 
[2026-10-05 07:11:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3814463488,"note":"Value kept but may cause issues"} 
[2026-10-05 07:11:06] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,208,85,24,241,157,16,188,161,196,45,87,4,31,10,66,177,1,240,246,227,9,113,205,6,3,112,33,239,53,2,238,5],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[{"io_id":246,"original":13459408,"validated":0},{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-10-05 07:11:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288365757815848960,"timestamp_seconds":288365757815848.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 07:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:11: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-10-05 07:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538012928001,"66":12982,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"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-10-05 07:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538012928001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:11:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:11:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538012928001,"power":12982,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":205718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:11:06] local.INFO: GPS data processed {"connection_id":205718,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:11:06] local.INFO: Acknowledgment sent {"connection_id":205718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:11:32] local.INFO: TCP Data received {"connection_id":204184,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:11:32] local.INFO: Processing buffer {"connection_id":204184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:11:32] local.INFO: Packet analysis {"connection_id":204184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:11:32] local.INFO: Extracted packet for processing {"connection_id":204184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:11:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538009856001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:11: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-10-05 07:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791164402000,"timestamp_ms":1791164402000,"timestamp_seconds":1791164402,"priority":1,"record_length":96,"hex_timestamp":"000001a109b7c950"} 
[2026-10-05 07:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:11:32] 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-10-05 07:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:11: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-10-05 07:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:11: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-10-05 07:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538009856001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538009856001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:11:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:11:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538009856001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":204184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:11:32] local.INFO: GPS data processed {"connection_id":204184,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:11:32] local.INFO: Acknowledgment sent {"connection_id":204184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:11:37] local.INFO: TCP Data received {"connection_id":205718,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109b7f830012d7b060005e357b00004007b26..."} 
[2026-10-05 07:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b7f830012d7b060005e357b00004007b26..."} 
[2026-10-05 07:11:37] local.INFO: Processing buffer {"connection_id":205718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b7f830012d7b060005e357b00004007b26..."} 
[2026-10-05 07:11:37] local.INFO: Packet analysis {"connection_id":205718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:11:37] local.INFO: Extracted packet for processing {"connection_id":205718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:11:37] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538012928001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:11: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-10-05 07:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791164414000,"timestamp_ms":1791164414000,"timestamp_seconds":1791164414,"priority":1,"record_length":96,"hex_timestamp":"000001a109b7f830"} 
[2026-10-05 07:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 07:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 07:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303173397957983,"note":"Value kept but may cause issues"} 
[2026-10-05 07:11:37] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399433,"note":"Value kept but may cause issues"} 
[2026-10-05 07:11:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 07:11:37] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2667577344,"note":"Value kept but may cause issues"} 
[2026-10-05 07:11:37] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13459408,"corrected_to":0} 
[2026-10-05 07:11:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-10-05 07:11:37] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3163488256,"note":"Value kept but may cause issues"} 
[2026-10-05 07:11:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3814463488,"note":"Value kept but may cause issues"} 
[2026-10-05 07:11:37] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,208,85,24,241,157,16,188,161,196,45,87,4,31,10,66,177,1,240,246,227,9,113,205,6,3,112,33,239,53,2,238,5],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[{"io_id":246,"original":13459408,"validated":0},{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-10-05 07:11:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288365757815848960,"timestamp_seconds":288365757815848.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 07:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:11: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-10-05 07:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538012928001,"66":12982,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"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-10-05 07:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538012928001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:11:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:11:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538012928001,"power":12982,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":205718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965920,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:11:37] local.INFO: GPS data processed {"connection_id":205718,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:11:37] local.INFO: Acknowledgment sent {"connection_id":205718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:11:59] local.INFO: TCP Data received {"connection_id":205720,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:11:59] local.INFO: Processing buffer {"connection_id":205720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:11:59] local.INFO: IMEI packet received {"connection_id":205720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":205720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:12:01] local.INFO: TCP Data received {"connection_id":204277,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:12:01] local.INFO: Processing buffer {"connection_id":204277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:12:01] local.INFO: IMEI packet received {"connection_id":204277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":204277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:12:05] local.INFO: TCP Data received {"connection_id":205720,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:12:05] local.INFO: Processing buffer {"connection_id":205720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:12:05] local.INFO: IMEI packet received {"connection_id":205720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":205720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:12:06] local.INFO: TCP Data received {"connection_id":204277,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:12:06] local.INFO: Processing buffer {"connection_id":204277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:12:06] local.INFO: IMEI packet received {"connection_id":204277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":204277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:12:06] local.INFO: TCP Data received {"connection_id":205720,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109b7f830012d7b060005e357b00004007b26..."} 
[2026-10-05 07:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b7f830012d7b060005e357b00004007b26..."} 
[2026-10-05 07:12:06] local.INFO: Processing buffer {"connection_id":205720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b7f830012d7b060005e357b00004007b26..."} 
[2026-10-05 07:12:06] local.INFO: Packet analysis {"connection_id":205720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:12:06] local.INFO: Extracted packet for processing {"connection_id":205720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:12:06] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538012928001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:12: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-10-05 07:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791164414000,"timestamp_ms":1791164414000,"timestamp_seconds":1791164414,"priority":1,"record_length":96,"hex_timestamp":"000001a109b7f830"} 
[2026-10-05 07:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:12: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-10-05 07:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 07:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303173397957983,"note":"Value kept but may cause issues"} 
[2026-10-05 07:12:06] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399433,"note":"Value kept but may cause issues"} 
[2026-10-05 07:12:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 07:12:06] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2667577344,"note":"Value kept but may cause issues"} 
[2026-10-05 07:12:06] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13459408,"corrected_to":0} 
[2026-10-05 07:12:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-10-05 07:12:06] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3163488256,"note":"Value kept but may cause issues"} 
[2026-10-05 07:12:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3814463488,"note":"Value kept but may cause issues"} 
[2026-10-05 07:12:06] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,208,85,24,241,157,16,188,161,196,45,87,4,31,10,66,177,1,240,246,227,9,113,205,6,3,112,33,239,53,2,238,5],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[{"io_id":246,"original":13459408,"validated":0},{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-10-05 07:12:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288365757815848960,"timestamp_seconds":288365757815848.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 07:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:12: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-10-05 07:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538012928001,"66":12982,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"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-10-05 07:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538012928001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:12:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:12:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538012928001,"power":12982,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":205720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965921,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:12:06] local.INFO: GPS data processed {"connection_id":205720,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:12:06] local.INFO: Acknowledgment sent {"connection_id":205720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:12:09] local.INFO: TCP Data received {"connection_id":204277,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:12:09] local.INFO: Processing buffer {"connection_id":204277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:12:09] local.INFO: Packet analysis {"connection_id":204277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:12:09] local.INFO: Extracted packet for processing {"connection_id":204277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:12:09] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538009856001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 07:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791164402000,"timestamp_ms":1791164402000,"timestamp_seconds":1791164402,"priority":1,"record_length":96,"hex_timestamp":"000001a109b7c950"} 
[2026-10-05 07:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:12:09] 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-10-05 07:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:12:09] 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-10-05 07:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538009856001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538009856001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:12:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:12:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538009856001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":204277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:12:09] local.INFO: GPS data processed {"connection_id":204277,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:12:09] local.INFO: Acknowledgment sent {"connection_id":204277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:12:37] local.INFO: TCP Data received {"connection_id":205720,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109b7f830012d7b060005e357b00004007b26..."} 
[2026-10-05 07:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b7f830012d7b060005e357b00004007b26..."} 
[2026-10-05 07:12:37] local.INFO: Processing buffer {"connection_id":205720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b7f830012d7b060005e357b00004007b26..."} 
[2026-10-05 07:12:37] local.INFO: Packet analysis {"connection_id":205720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:12:37] local.INFO: Extracted packet for processing {"connection_id":205720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:12:37] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538012928001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:12: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-10-05 07:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791164414000,"timestamp_ms":1791164414000,"timestamp_seconds":1791164414,"priority":1,"record_length":96,"hex_timestamp":"000001a109b7f830"} 
[2026-10-05 07:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 07:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 07:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303173397957983,"note":"Value kept but may cause issues"} 
[2026-10-05 07:12:37] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399433,"note":"Value kept but may cause issues"} 
[2026-10-05 07:12:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 07:12:37] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2667577344,"note":"Value kept but may cause issues"} 
[2026-10-05 07:12:37] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13459408,"corrected_to":0} 
[2026-10-05 07:12:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-10-05 07:12:37] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3163488256,"note":"Value kept but may cause issues"} 
[2026-10-05 07:12:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3814463488,"note":"Value kept but may cause issues"} 
[2026-10-05 07:12:37] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,208,85,24,241,157,16,188,161,196,45,87,4,31,10,66,177,1,240,246,227,9,113,205,6,3,112,33,239,53,2,238,5],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[{"io_id":246,"original":13459408,"validated":0},{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-10-05 07:12:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288365757815848960,"timestamp_seconds":288365757815848.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 07:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:12: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-10-05 07:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538012928001,"66":12982,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"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-10-05 07:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538012928001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:12:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:12:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538012928001,"power":12982,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":205720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:12:38] local.INFO: GPS data processed {"connection_id":205720,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:12:38] local.INFO: Acknowledgment sent {"connection_id":205720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:12:39] local.INFO: TCP Data received {"connection_id":204277,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:12:39] local.INFO: Processing buffer {"connection_id":204277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:12:39] local.INFO: Packet analysis {"connection_id":204277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:12:39] local.INFO: Extracted packet for processing {"connection_id":204277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:12:39] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538009856001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 07:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791164402000,"timestamp_ms":1791164402000,"timestamp_seconds":1791164402,"priority":1,"record_length":96,"hex_timestamp":"000001a109b7c950"} 
[2026-10-05 07:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:12:39] 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-10-05 07:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:12:39] 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-10-05 07:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":204277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":204277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":204277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538009856001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538009856001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:12:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:12:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538009856001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":204277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:12:39] local.INFO: GPS data processed {"connection_id":204277,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:12:39] local.INFO: Acknowledgment sent {"connection_id":204277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:12:56] local.INFO: TCP Data received {"connection_id":205721,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:12:56] local.INFO: Processing buffer {"connection_id":205721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:12:56] local.INFO: IMEI packet received {"connection_id":205721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":205721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:13:00] local.INFO: TCP Data received {"connection_id":207276,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207276,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:13:00] local.INFO: Processing buffer {"connection_id":207276,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:13:00] local.INFO: IMEI packet received {"connection_id":207276,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":207276,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:13:01] local.INFO: TCP Data received {"connection_id":205721,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:13:01] local.INFO: Processing buffer {"connection_id":205721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:13:01] local.INFO: IMEI packet received {"connection_id":205721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":205721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:13:01] local.INFO: TCP Data received {"connection_id":205721,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:13:01] local.INFO: Processing buffer {"connection_id":205721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:13:01] local.INFO: Packet analysis {"connection_id":205721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:13:01] local.INFO: Extracted packet for processing {"connection_id":205721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:13:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 07:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538009856001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 07:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791164402000,"timestamp_ms":1791164402000,"timestamp_seconds":1791164402,"priority":1,"record_length":96,"hex_timestamp":"000001a109b7c950"} 
[2026-10-05 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-10-05 07:13:01] 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-10-05 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-10-05 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-10-05 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-10-05 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-10-05 07:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 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-10-05 07:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538009856001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538009856001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:13:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:13:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538009856001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":205721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:13:01] local.INFO: GPS data processed {"connection_id":205721,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:13:01] local.INFO: Acknowledgment sent {"connection_id":205721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:13:05] local.INFO: TCP Data received {"connection_id":207276,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207276,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:13:05] local.INFO: Processing buffer {"connection_id":207276,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:13:05] local.INFO: IMEI packet received {"connection_id":207276,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":207276,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:13:06] local.INFO: TCP Data received {"connection_id":207276,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109b7f830012d7b060005e357b00004007b26..."} 
[2026-10-05 07:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b7f830012d7b060005e357b00004007b26..."} 
[2026-10-05 07:13:06] local.INFO: Processing buffer {"connection_id":207276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b7f830012d7b060005e357b00004007b26..."} 
[2026-10-05 07:13:06] local.INFO: Packet analysis {"connection_id":207276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:13:06] local.INFO: Extracted packet for processing {"connection_id":207276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:13:06] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538012928001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:13: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-10-05 07:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791164414000,"timestamp_ms":1791164414000,"timestamp_seconds":1791164414,"priority":1,"record_length":96,"hex_timestamp":"000001a109b7f830"} 
[2026-10-05 07:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:13: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-10-05 07:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 07:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303173397957983,"note":"Value kept but may cause issues"} 
[2026-10-05 07:13:06] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399433,"note":"Value kept but may cause issues"} 
[2026-10-05 07:13:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 07:13:06] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2667577344,"note":"Value kept but may cause issues"} 
[2026-10-05 07:13:06] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13459408,"corrected_to":0} 
[2026-10-05 07:13:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-10-05 07:13:06] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3163488256,"note":"Value kept but may cause issues"} 
[2026-10-05 07:13:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3814463488,"note":"Value kept but may cause issues"} 
[2026-10-05 07:13:06] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,208,85,24,241,157,16,188,161,196,45,87,4,31,10,66,177,1,240,246,227,9,113,205,6,3,112,33,239,53,2,238,5],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[{"io_id":246,"original":13459408,"validated":0},{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-10-05 07:13:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288365757815848960,"timestamp_seconds":288365757815848.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 07:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:13: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-10-05 07:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538012928001,"66":12982,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"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-10-05 07:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538012928001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:13:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:13:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538012928001,"power":12982,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":207276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:13:06] local.INFO: GPS data processed {"connection_id":207276,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:13:06] local.INFO: Acknowledgment sent {"connection_id":207276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:13:13] local.INFO: TCP Data received {"connection_id":204185,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204185,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:13:13] local.INFO: Processing buffer {"connection_id":204185,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:13:13] local.INFO: IMEI packet received {"connection_id":204185,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 07:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":204185,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:13:32] local.INFO: TCP Data received {"connection_id":205721,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:13:32] local.INFO: Processing buffer {"connection_id":205721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:13:32] local.INFO: Packet analysis {"connection_id":205721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:13:32] local.INFO: Extracted packet for processing {"connection_id":205721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:13:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538009856001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:13: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-10-05 07:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791164402000,"timestamp_ms":1791164402000,"timestamp_seconds":1791164402,"priority":1,"record_length":96,"hex_timestamp":"000001a109b7c950"} 
[2026-10-05 07:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:13:32] 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-10-05 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:13: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-10-05 07: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-10-05 07:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:13: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-10-05 07:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538009856001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538009856001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:13:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:13:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538009856001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":205721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:13:32] local.INFO: GPS data processed {"connection_id":205721,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:13:32] local.INFO: Acknowledgment sent {"connection_id":205721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:13:37] local.INFO: TCP Data received {"connection_id":207276,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109b7f830012d7b060005e357b00004007b26..."} 
[2026-10-05 07:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b7f830012d7b060005e357b00004007b26..."} 
[2026-10-05 07:13:37] local.INFO: Processing buffer {"connection_id":207276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b7f830012d7b060005e357b00004007b26..."} 
[2026-10-05 07:13:37] local.INFO: Packet analysis {"connection_id":207276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:13:37] local.INFO: Extracted packet for processing {"connection_id":207276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:13:37] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538012928001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:13: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-10-05 07:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791164414000,"timestamp_ms":1791164414000,"timestamp_seconds":1791164414,"priority":1,"record_length":96,"hex_timestamp":"000001a109b7f830"} 
[2026-10-05 07:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 07:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 07:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303173397957983,"note":"Value kept but may cause issues"} 
[2026-10-05 07:13:37] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399433,"note":"Value kept but may cause issues"} 
[2026-10-05 07:13:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 07:13:37] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2667577344,"note":"Value kept but may cause issues"} 
[2026-10-05 07:13:37] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13459408,"corrected_to":0} 
[2026-10-05 07:13:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-10-05 07:13:37] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3163488256,"note":"Value kept but may cause issues"} 
[2026-10-05 07:13:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3814463488,"note":"Value kept but may cause issues"} 
[2026-10-05 07:13:37] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,208,85,24,241,157,16,188,161,196,45,87,4,31,10,66,177,1,240,246,227,9,113,205,6,3,112,33,239,53,2,238,5],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[{"io_id":246,"original":13459408,"validated":0},{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-10-05 07:13:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288365757815848960,"timestamp_seconds":288365757815848.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 07:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:13: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-10-05 07:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538012928001,"66":12982,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"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-10-05 07:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538012928001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:13:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:13:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538012928001,"power":12982,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":207276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:13:37] local.INFO: GPS data processed {"connection_id":207276,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:13:37] local.INFO: Acknowledgment sent {"connection_id":207276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:13:43] local.INFO: TCP Data received {"connection_id":204278,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204278,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:13:43] local.INFO: Processing buffer {"connection_id":204278,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:13:43] local.INFO: IMEI packet received {"connection_id":204278,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 07:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":204278,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:13:56] local.INFO: TCP Data received {"connection_id":204279,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:13:56] local.INFO: Processing buffer {"connection_id":204279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:13:56] local.INFO: IMEI packet received {"connection_id":204279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":204279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:14:00] local.INFO: TCP Data received {"connection_id":207277,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:14:00] local.INFO: Processing buffer {"connection_id":207277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:14:00] local.INFO: IMEI packet received {"connection_id":207277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":207277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:14:01] local.INFO: TCP Data received {"connection_id":204279,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:14:01] local.INFO: Processing buffer {"connection_id":204279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:14:01] local.INFO: IMEI packet received {"connection_id":204279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":204279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:14:01] local.INFO: TCP Data received {"connection_id":204279,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:14:01] local.INFO: Processing buffer {"connection_id":204279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:14:01] local.INFO: Packet analysis {"connection_id":204279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:14:01] local.INFO: Extracted packet for processing {"connection_id":204279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:14:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538009856001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791164402000,"timestamp_ms":1791164402000,"timestamp_seconds":1791164402,"priority":1,"record_length":96,"hex_timestamp":"000001a109b7c950"} 
[2026-10-05 07:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:14:01] 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-10-05 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:14: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-10-05 07: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-10-05 07:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07: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-10-05 07:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538009856001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538009856001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:14:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:14:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538009856001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":204279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:14:01] local.INFO: GPS data processed {"connection_id":204279,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:14:01] local.INFO: Acknowledgment sent {"connection_id":204279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:14:05] local.INFO: TCP Data received {"connection_id":207277,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:14:05] local.INFO: Processing buffer {"connection_id":207277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:14:05] local.INFO: IMEI packet received {"connection_id":207277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":207277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:14:06] local.INFO: TCP Data received {"connection_id":207277,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109b7f830012d7b060005e357b00004007b26..."} 
[2026-10-05 07:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b7f830012d7b060005e357b00004007b26..."} 
[2026-10-05 07:14:06] local.INFO: Processing buffer {"connection_id":207277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b7f830012d7b060005e357b00004007b26..."} 
[2026-10-05 07:14:06] local.INFO: Packet analysis {"connection_id":207277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:14:06] local.INFO: Extracted packet for processing {"connection_id":207277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:14:06] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538012928001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:14: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-10-05 07:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791164414000,"timestamp_ms":1791164414000,"timestamp_seconds":1791164414,"priority":1,"record_length":96,"hex_timestamp":"000001a109b7f830"} 
[2026-10-05 07:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:14: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-10-05 07: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 07:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303173397957983,"note":"Value kept but may cause issues"} 
[2026-10-05 07:14:06] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399433,"note":"Value kept but may cause issues"} 
[2026-10-05 07:14:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 07:14:06] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2667577344,"note":"Value kept but may cause issues"} 
[2026-10-05 07:14:06] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13459408,"corrected_to":0} 
[2026-10-05 07:14:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-10-05 07:14:06] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3163488256,"note":"Value kept but may cause issues"} 
[2026-10-05 07:14:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3814463488,"note":"Value kept but may cause issues"} 
[2026-10-05 07:14:06] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,208,85,24,241,157,16,188,161,196,45,87,4,31,10,66,177,1,240,246,227,9,113,205,6,3,112,33,239,53,2,238,5],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[{"io_id":246,"original":13459408,"validated":0},{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-10-05 07:14:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288365757815848960,"timestamp_seconds":288365757815848.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 07:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:14: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-10-05 07:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538012928001,"66":12982,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"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-10-05 07:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538012928001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:14:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:14:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538012928001,"power":12982,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":207277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:14:06] local.INFO: GPS data processed {"connection_id":207277,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:14:06] local.INFO: Acknowledgment sent {"connection_id":207277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:14:32] local.INFO: TCP Data received {"connection_id":204279,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:14:32] local.INFO: Processing buffer {"connection_id":204279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:14:32] local.INFO: Packet analysis {"connection_id":204279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:14:32] local.INFO: Extracted packet for processing {"connection_id":204279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:14:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538009856001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:14: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-10-05 07:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791164402000,"timestamp_ms":1791164402000,"timestamp_seconds":1791164402,"priority":1,"record_length":96,"hex_timestamp":"000001a109b7c950"} 
[2026-10-05 07:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:14:32] 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-10-05 07:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:14: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-10-05 07:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:14: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-10-05 07:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538009856001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538009856001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:14:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:14:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538009856001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":204279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:14:32] local.INFO: GPS data processed {"connection_id":204279,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:14:32] local.INFO: Acknowledgment sent {"connection_id":204279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:14:37] local.INFO: TCP Data received {"connection_id":207277,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109b7f830012d7b060005e357b00004007b26..."} 
[2026-10-05 07:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b7f830012d7b060005e357b00004007b26..."} 
[2026-10-05 07:14:37] local.INFO: Processing buffer {"connection_id":207277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b7f830012d7b060005e357b00004007b26..."} 
[2026-10-05 07:14:37] local.INFO: Packet analysis {"connection_id":207277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:14:37] local.INFO: Extracted packet for processing {"connection_id":207277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:14:37] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538012928001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:14: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-10-05 07:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791164414000,"timestamp_ms":1791164414000,"timestamp_seconds":1791164414,"priority":1,"record_length":96,"hex_timestamp":"000001a109b7f830"} 
[2026-10-05 07:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 07:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 07:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303173397957983,"note":"Value kept but may cause issues"} 
[2026-10-05 07:14:37] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399433,"note":"Value kept but may cause issues"} 
[2026-10-05 07:14:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 07:14:37] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2667577344,"note":"Value kept but may cause issues"} 
[2026-10-05 07:14:37] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13459408,"corrected_to":0} 
[2026-10-05 07:14:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-10-05 07:14:37] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3163488256,"note":"Value kept but may cause issues"} 
[2026-10-05 07:14:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3814463488,"note":"Value kept but may cause issues"} 
[2026-10-05 07:14:37] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,208,85,24,241,157,16,188,161,196,45,87,4,31,10,66,177,1,240,246,227,9,113,205,6,3,112,33,239,53,2,238,5],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[{"io_id":246,"original":13459408,"validated":0},{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-10-05 07:14:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288365757815848960,"timestamp_seconds":288365757815848.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 07:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:14: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-10-05 07:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538012928001,"66":12982,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"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-10-05 07:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538012928001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:14:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:14:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538012928001,"power":12982,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":207277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:14:37] local.INFO: GPS data processed {"connection_id":207277,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:14:37] local.INFO: Acknowledgment sent {"connection_id":207277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:14:56] local.INFO: TCP Data received {"connection_id":205722,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:14:56] local.INFO: Processing buffer {"connection_id":205722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:14:56] local.INFO: IMEI packet received {"connection_id":205722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":205722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:14:59] local.INFO: TCP Data received {"connection_id":204187,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:14:59] local.INFO: Processing buffer {"connection_id":204187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:14:59] local.INFO: IMEI packet received {"connection_id":204187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":204187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:15:01] local.INFO: TCP Data received {"connection_id":205722,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:15:01] local.INFO: Processing buffer {"connection_id":205722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:15:01] local.INFO: IMEI packet received {"connection_id":205722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":205722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:15:01] local.INFO: TCP Data received {"connection_id":205722,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:15:01] local.INFO: Processing buffer {"connection_id":205722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:15:01] local.INFO: Packet analysis {"connection_id":205722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:15:01] local.INFO: Extracted packet for processing {"connection_id":205722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:15:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538009856001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791164402000,"timestamp_ms":1791164402000,"timestamp_seconds":1791164402,"priority":1,"record_length":96,"hex_timestamp":"000001a109b7c950"} 
[2026-10-05 07:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:15:01] 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-10-05 07: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":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:15: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-10-05 07: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-10-05 07:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:15: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-10-05 07:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538009856001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538009856001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:15:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:15:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538009856001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":205722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:15:01] local.INFO: GPS data processed {"connection_id":205722,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:15:01] local.INFO: Acknowledgment sent {"connection_id":205722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:15:05] local.INFO: TCP Data received {"connection_id":204187,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:15:05] local.INFO: Processing buffer {"connection_id":204187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:15:05] local.INFO: IMEI packet received {"connection_id":204187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":204187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:15:05] local.INFO: TCP Data received {"connection_id":204187,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109b7f830012d7b060005e357b00004007b26..."} 
[2026-10-05 07:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b7f830012d7b060005e357b00004007b26..."} 
[2026-10-05 07:15:05] local.INFO: Processing buffer {"connection_id":204187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b7f830012d7b060005e357b00004007b26..."} 
[2026-10-05 07:15:05] local.INFO: Packet analysis {"connection_id":204187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:15:05] local.INFO: Extracted packet for processing {"connection_id":204187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:15:05] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538012928001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:15: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-10-05 07:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791164414000,"timestamp_ms":1791164414000,"timestamp_seconds":1791164414,"priority":1,"record_length":96,"hex_timestamp":"000001a109b7f830"} 
[2026-10-05 07:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:15: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-10-05 07: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 07:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303173397957983,"note":"Value kept but may cause issues"} 
[2026-10-05 07:15:05] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399433,"note":"Value kept but may cause issues"} 
[2026-10-05 07:15:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 07:15:05] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2667577344,"note":"Value kept but may cause issues"} 
[2026-10-05 07:15:05] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13459408,"corrected_to":0} 
[2026-10-05 07:15:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-10-05 07:15:05] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3163488256,"note":"Value kept but may cause issues"} 
[2026-10-05 07:15:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3814463488,"note":"Value kept but may cause issues"} 
[2026-10-05 07:15:05] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,208,85,24,241,157,16,188,161,196,45,87,4,31,10,66,177,1,240,246,227,9,113,205,6,3,112,33,239,53,2,238,5],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[{"io_id":246,"original":13459408,"validated":0},{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-10-05 07:15:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288365757815848960,"timestamp_seconds":288365757815848.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 07:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:15: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-10-05 07:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538012928001,"66":12982,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"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-10-05 07:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538012928001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:15:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:15:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538012928001,"power":12982,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":204187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:15:05] local.INFO: GPS data processed {"connection_id":204187,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:15:05] local.INFO: Acknowledgment sent {"connection_id":204187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:15:32] local.INFO: TCP Data received {"connection_id":205722,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:15:32] local.INFO: Processing buffer {"connection_id":205722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109b7c950012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:15:32] local.INFO: Packet analysis {"connection_id":205722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:15:32] local.INFO: Extracted packet for processing {"connection_id":205722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109b7"} 
[2026-10-05 07:15:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538009856001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:15: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-10-05 07:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791164402000,"timestamp_ms":1791164402000,"timestamp_seconds":1791164402,"priority":1,"record_length":96,"hex_timestamp":"000001a109b7c950"} 
[2026-10-05 07:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:15:32] 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-10-05 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:15: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-10-05 07: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-10-05 07:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:15: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-10-05 07:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538009856001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538009856001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:15:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:15:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538009856001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":205722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:15:32] local.INFO: GPS data processed {"connection_id":205722,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:15:32] local.INFO: Acknowledgment sent {"connection_id":205722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:15:36] local.INFO: TCP Data received {"connection_id":204187,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:15:36] local.INFO: Processing buffer {"connection_id":204187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:15:36] local.INFO: Packet analysis {"connection_id":204187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:15:36] local.INFO: Extracted packet for processing {"connection_id":204187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:15:36] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538089984001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791164715000,"timestamp_ms":1791164715000,"timestamp_seconds":1791164715,"priority":1,"record_length":96,"hex_timestamp":"000001a109bc8ff8"} 
[2026-10-05 07:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 07: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 07:15:36] 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-10-05 07:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:15: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-10-05 07:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538089984001,"66":12917,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"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-10-05 07:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538089984001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:15:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:15:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538089984001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":204187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:15:37] local.INFO: GPS data processed {"connection_id":204187,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:15:37] local.INFO: Acknowledgment sent {"connection_id":204187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:15:55] local.INFO: TCP Data received {"connection_id":207278,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:15:55] local.INFO: Processing buffer {"connection_id":207278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:15:55] local.INFO: IMEI packet received {"connection_id":207278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":207278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:16:00] local.INFO: TCP Data received {"connection_id":207278,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:16:00] local.INFO: Processing buffer {"connection_id":207278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:16:00] local.INFO: IMEI packet received {"connection_id":207278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":207278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:16:01] local.INFO: TCP Data received {"connection_id":207278,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:16:01] local.INFO: Processing buffer {"connection_id":207278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:16:01] local.INFO: Packet analysis {"connection_id":207278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:16:01] local.INFO: Extracted packet for processing {"connection_id":207278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:16:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538086912001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791164703000,"timestamp_ms":1791164703000,"timestamp_seconds":1791164703,"priority":1,"record_length":96,"hex_timestamp":"000001a109bc6118"} 
[2026-10-05 07:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:16:01] 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-10-05 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:16: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-10-05 07: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-10-05 07:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:16: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-10-05 07:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538086912001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538086912001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:16:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:16:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538086912001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":207278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:16:01] local.INFO: GPS data processed {"connection_id":207278,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:16:01] local.INFO: Acknowledgment sent {"connection_id":207278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:16:05] local.INFO: TCP Data received {"connection_id":204189,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:16:05] local.INFO: Processing buffer {"connection_id":204189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:16:05] local.INFO: IMEI packet received {"connection_id":204189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":204189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:16:10] local.INFO: TCP Data received {"connection_id":204189,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:16:10] local.INFO: Processing buffer {"connection_id":204189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:16:10] local.INFO: IMEI packet received {"connection_id":204189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":204189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:16:11] local.INFO: TCP Data received {"connection_id":204189,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:16:11] local.INFO: Processing buffer {"connection_id":204189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:16:11] local.INFO: Packet analysis {"connection_id":204189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:16:11] local.INFO: Extracted packet for processing {"connection_id":204189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:16:11] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538089984001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:16: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-10-05 07:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791164715000,"timestamp_ms":1791164715000,"timestamp_seconds":1791164715,"priority":1,"record_length":96,"hex_timestamp":"000001a109bc8ff8"} 
[2026-10-05 07:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 07:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 07:16:11] 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-10-05 07:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:16:11] 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-10-05 07:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538089984001,"66":12917,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"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-10-05 07:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538089984001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:16:11] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538089984001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":204189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:16:11] local.INFO: GPS data processed {"connection_id":204189,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:16:11] local.INFO: Acknowledgment sent {"connection_id":204189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:16:16] local.INFO: TCP Data received {"connection_id":204189,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:16:16] local.INFO: Processing buffer {"connection_id":204189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:16:16] local.INFO: Packet analysis {"connection_id":204189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:16:16] local.INFO: Extracted packet for processing {"connection_id":204189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:16:16] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538089984001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:16:16] 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-10-05 07:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791164715000,"timestamp_ms":1791164715000,"timestamp_seconds":1791164715,"priority":1,"record_length":96,"hex_timestamp":"000001a109bc8ff8"} 
[2026-10-05 07:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 07:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 07:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 07:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:16:16] 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-10-05 07:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538089984001,"66":12917,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"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-10-05 07:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538089984001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:16:16] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:16:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538089984001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":204189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:16:16] local.INFO: GPS data processed {"connection_id":204189,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:16:16] local.INFO: Acknowledgment sent {"connection_id":204189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:16:32] local.INFO: TCP Data received {"connection_id":207278,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:16:32] local.INFO: Processing buffer {"connection_id":207278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:16:32] local.INFO: Packet analysis {"connection_id":207278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:16:32] local.INFO: Extracted packet for processing {"connection_id":207278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538086912001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791164703000,"timestamp_ms":1791164703000,"timestamp_seconds":1791164703,"priority":1,"record_length":96,"hex_timestamp":"000001a109bc6118"} 
[2026-10-05 07:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:16:32] 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-10-05 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:16: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-10-05 07: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-10-05 07:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:16: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-10-05 07:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538086912001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538086912001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:16:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:16:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538086912001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":207278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:16:32] local.INFO: GPS data processed {"connection_id":207278,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:16:32] local.INFO: Acknowledgment sent {"connection_id":207278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:16:56] local.INFO: TCP Data received {"connection_id":205723,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:16:56] local.INFO: Processing buffer {"connection_id":205723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:16:56] local.INFO: IMEI packet received {"connection_id":205723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":205723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:16:59] local.INFO: TCP Data received {"connection_id":204190,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:16:59] local.INFO: Processing buffer {"connection_id":204190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:16:59] local.INFO: IMEI packet received {"connection_id":204190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":204190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:17:00] local.INFO: TCP Data received {"connection_id":205723,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:17:00] local.INFO: Processing buffer {"connection_id":205723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:17:00] local.INFO: IMEI packet received {"connection_id":205723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":205723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:17:01] local.INFO: TCP Data received {"connection_id":205723,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:17:01] local.INFO: Processing buffer {"connection_id":205723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:17:01] local.INFO: Packet analysis {"connection_id":205723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:17:01] local.INFO: Extracted packet for processing {"connection_id":205723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:17:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 07:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538086912001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 07:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791164703000,"timestamp_ms":1791164703000,"timestamp_seconds":1791164703,"priority":1,"record_length":96,"hex_timestamp":"000001a109bc6118"} 
[2026-10-05 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-10-05 07:17:01] 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-10-05 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":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:17: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-10-05 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-10-05 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-10-05 07:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538086912001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538086912001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:17:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:17:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538086912001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":205723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:17:01] local.INFO: GPS data processed {"connection_id":205723,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:17:01] local.INFO: Acknowledgment sent {"connection_id":205723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:17:04] local.INFO: TCP Data received {"connection_id":204190,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:17:04] local.INFO: Processing buffer {"connection_id":204190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:17:04] local.INFO: IMEI packet received {"connection_id":204190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":204190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:17:05] local.INFO: TCP Data received {"connection_id":204190,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:17:06] local.INFO: Processing buffer {"connection_id":204190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:17:06] local.INFO: Packet analysis {"connection_id":204190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:17:06] local.INFO: Extracted packet for processing {"connection_id":204190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:17:06] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538089984001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791164715000,"timestamp_ms":1791164715000,"timestamp_seconds":1791164715,"priority":1,"record_length":96,"hex_timestamp":"000001a109bc8ff8"} 
[2026-10-05 07:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 07:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 07:17:06] 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-10-05 07:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:17: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-10-05 07:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538089984001,"66":12917,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"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-10-05 07:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538089984001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:17:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:17:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538089984001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":204190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:17:06] local.INFO: GPS data processed {"connection_id":204190,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:17:06] local.INFO: Acknowledgment sent {"connection_id":204190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:17:32] local.INFO: TCP Data received {"connection_id":205723,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:17:32] local.INFO: Processing buffer {"connection_id":205723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:17:32] local.INFO: Packet analysis {"connection_id":205723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:17:32] local.INFO: Extracted packet for processing {"connection_id":205723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:17:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538086912001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:17: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-10-05 07:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791164703000,"timestamp_ms":1791164703000,"timestamp_seconds":1791164703,"priority":1,"record_length":96,"hex_timestamp":"000001a109bc6118"} 
[2026-10-05 07:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:17:32] 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-10-05 07: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":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:17: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-10-05 07: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-10-05 07:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538086912001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538086912001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:17:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:17:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538086912001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":205723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:17:32] local.INFO: GPS data processed {"connection_id":205723,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:17:32] local.INFO: Acknowledgment sent {"connection_id":205723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:17:36] local.INFO: TCP Data received {"connection_id":204190,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:17:36] local.INFO: Processing buffer {"connection_id":204190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:17:36] local.INFO: Packet analysis {"connection_id":204190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:17:36] local.INFO: Extracted packet for processing {"connection_id":204190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:17:36] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538089984001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:17: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-10-05 07:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791164715000,"timestamp_ms":1791164715000,"timestamp_seconds":1791164715,"priority":1,"record_length":96,"hex_timestamp":"000001a109bc8ff8"} 
[2026-10-05 07:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 07:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 07:17:36] 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-10-05 07:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:17: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-10-05 07:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538089984001,"66":12917,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"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-10-05 07:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538089984001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:17:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:17:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538089984001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":204190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:17:37] local.INFO: GPS data processed {"connection_id":204190,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:17:37] local.INFO: Acknowledgment sent {"connection_id":204190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:17:56] local.INFO: TCP Data received {"connection_id":204191,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:17:56] local.INFO: Processing buffer {"connection_id":204191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:17:56] local.INFO: IMEI packet received {"connection_id":204191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":204191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:17:59] local.INFO: TCP Data received {"connection_id":204192,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:17:59] local.INFO: Processing buffer {"connection_id":204192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:17:59] local.INFO: IMEI packet received {"connection_id":204192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":204192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:18:01] local.INFO: TCP Data received {"connection_id":204191,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:18:01] local.INFO: Processing buffer {"connection_id":204191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:18:01] local.INFO: IMEI packet received {"connection_id":204191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":204191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:18:01] local.INFO: TCP Data received {"connection_id":204191,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:18:01] local.INFO: Processing buffer {"connection_id":204191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:18:01] local.INFO: Packet analysis {"connection_id":204191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:18:01] local.INFO: Extracted packet for processing {"connection_id":204191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:18:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 07:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538086912001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:18: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-10-05 07:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791164703000,"timestamp_ms":1791164703000,"timestamp_seconds":1791164703,"priority":1,"record_length":96,"hex_timestamp":"000001a109bc6118"} 
[2026-10-05 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-10-05 07:18:01] 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-10-05 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:18: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-10-05 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-10-05 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-10-05 07:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:18: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-10-05 07:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538086912001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538086912001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:18:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:18:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538086912001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":204191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:18:01] local.INFO: GPS data processed {"connection_id":204191,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:18:01] local.INFO: Acknowledgment sent {"connection_id":204191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:18:05] local.INFO: TCP Data received {"connection_id":204192,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:18:05] local.INFO: Processing buffer {"connection_id":204192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:18:05] local.INFO: IMEI packet received {"connection_id":204192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":204192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:18:08] local.INFO: TCP Data received {"connection_id":204192,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:18:08] local.INFO: Processing buffer {"connection_id":204192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:18:08] local.INFO: Packet analysis {"connection_id":204192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:18:08] local.INFO: Extracted packet for processing {"connection_id":204192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:18:08] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538089984001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:18:08] 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-10-05 07:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791164715000,"timestamp_ms":1791164715000,"timestamp_seconds":1791164715,"priority":1,"record_length":96,"hex_timestamp":"000001a109bc8ff8"} 
[2026-10-05 07:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 07:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 07:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 07:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:18:08] 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-10-05 07:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538089984001,"66":12917,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"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-10-05 07:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538089984001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:18:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:18:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538089984001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":204192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:18:08] local.INFO: GPS data processed {"connection_id":204192,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:18:08] local.INFO: Acknowledgment sent {"connection_id":204192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:18:32] local.INFO: TCP Data received {"connection_id":204191,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:18:32] local.INFO: Processing buffer {"connection_id":204191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:18:32] local.INFO: Packet analysis {"connection_id":204191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:18:32] local.INFO: Extracted packet for processing {"connection_id":204191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:18:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 07:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538086912001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:18: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-10-05 07:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791164703000,"timestamp_ms":1791164703000,"timestamp_seconds":1791164703,"priority":1,"record_length":96,"hex_timestamp":"000001a109bc6118"} 
[2026-10-05 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-10-05 07:18:32] 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-10-05 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:18: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-10-05 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-10-05 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-10-05 07:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:18: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-10-05 07:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538086912001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538086912001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:18:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:18:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538086912001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":204191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:18:32] local.INFO: GPS data processed {"connection_id":204191,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:18:32] local.INFO: Acknowledgment sent {"connection_id":204191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:18:39] local.INFO: TCP Data received {"connection_id":204192,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:18:40] local.INFO: Processing buffer {"connection_id":204192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:18:40] local.INFO: Packet analysis {"connection_id":204192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:18:40] local.INFO: Extracted packet for processing {"connection_id":204192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:18:40] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538089984001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:18:40] 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-10-05 07:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791164715000,"timestamp_ms":1791164715000,"timestamp_seconds":1791164715,"priority":1,"record_length":96,"hex_timestamp":"000001a109bc8ff8"} 
[2026-10-05 07:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 07:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 07:18:40] 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-10-05 07:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:18:40] 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-10-05 07:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538089984001,"66":12917,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"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-10-05 07:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538089984001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:18:40] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538089984001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":204192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:18:40] local.INFO: GPS data processed {"connection_id":204192,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:18:40] local.INFO: Acknowledgment sent {"connection_id":204192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:18:55] local.INFO: TCP Data received {"connection_id":204282,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:18:55] local.INFO: Processing buffer {"connection_id":204282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:18:55] local.INFO: IMEI packet received {"connection_id":204282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":204282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:19:00] local.INFO: TCP Data received {"connection_id":204283,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:19:00] local.INFO: Processing buffer {"connection_id":204283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:19:00] local.INFO: IMEI packet received {"connection_id":204283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":204283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:19:01] local.INFO: TCP Data received {"connection_id":204282,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:19:01] local.INFO: Processing buffer {"connection_id":204282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:19:01] local.INFO: IMEI packet received {"connection_id":204282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":204282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:19:02] local.INFO: TCP Data received {"connection_id":204282,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:19:02] local.INFO: Processing buffer {"connection_id":204282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:19:02] local.INFO: Packet analysis {"connection_id":204282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:19:02] local.INFO: Extracted packet for processing {"connection_id":204282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:19:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538086912001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791164703000,"timestamp_ms":1791164703000,"timestamp_seconds":1791164703,"priority":1,"record_length":96,"hex_timestamp":"000001a109bc6118"} 
[2026-10-05 07:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:19: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-10-05 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:19: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-10-05 07: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-10-05 07:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:19: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-10-05 07:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538086912001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538086912001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:19:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:19:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538086912001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":204282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:19:02] local.INFO: GPS data processed {"connection_id":204282,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:19:02] local.INFO: Acknowledgment sent {"connection_id":204282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:19:03] local.INFO: TCP Data received {"connection_id":204193,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:19:03] local.INFO: Processing buffer {"connection_id":204193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:19:03] local.INFO: IMEI packet received {"connection_id":204193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 07:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":204193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:19:05] local.INFO: TCP Data received {"connection_id":204283,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:19:05] local.INFO: Processing buffer {"connection_id":204283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:19:05] local.INFO: IMEI packet received {"connection_id":204283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":204283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:19:06] local.INFO: TCP Data received {"connection_id":204283,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:19:06] local.INFO: Processing buffer {"connection_id":204283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:19:06] local.INFO: Packet analysis {"connection_id":204283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:19:06] local.INFO: Extracted packet for processing {"connection_id":204283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:19:06] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538089984001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:19: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-10-05 07:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791164715000,"timestamp_ms":1791164715000,"timestamp_seconds":1791164715,"priority":1,"record_length":96,"hex_timestamp":"000001a109bc8ff8"} 
[2026-10-05 07:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 07:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 07:19:06] 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-10-05 07:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:19: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-10-05 07:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538089984001,"66":12917,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"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-10-05 07:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538089984001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:19:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:19:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538089984001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":204283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965950,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:19:06] local.INFO: GPS data processed {"connection_id":204283,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:19:06] local.INFO: Acknowledgment sent {"connection_id":204283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:19:33] local.INFO: TCP Data received {"connection_id":204282,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:19:33] local.INFO: Processing buffer {"connection_id":204282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:19:33] local.INFO: Packet analysis {"connection_id":204282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:19:33] local.INFO: Extracted packet for processing {"connection_id":204282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:19:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538086912001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:19: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-10-05 07:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791164703000,"timestamp_ms":1791164703000,"timestamp_seconds":1791164703,"priority":1,"record_length":96,"hex_timestamp":"000001a109bc6118"} 
[2026-10-05 07:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:19:33] 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-10-05 07:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:19:33] 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-10-05 07:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:19: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-10-05 07:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538086912001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538086912001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:19:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:19:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538086912001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":204282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:19:33] local.INFO: GPS data processed {"connection_id":204282,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:19:33] local.INFO: Acknowledgment sent {"connection_id":204282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:19:37] local.INFO: TCP Data received {"connection_id":204283,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:19:37] local.INFO: Processing buffer {"connection_id":204283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:19:37] local.INFO: Packet analysis {"connection_id":204283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:19:37] local.INFO: Extracted packet for processing {"connection_id":204283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:19:37] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538089984001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:19: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-10-05 07:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791164715000,"timestamp_ms":1791164715000,"timestamp_seconds":1791164715,"priority":1,"record_length":96,"hex_timestamp":"000001a109bc8ff8"} 
[2026-10-05 07:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 07:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 07:19: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-10-05 07:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:19: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-10-05 07:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538089984001,"66":12917,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"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-10-05 07:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538089984001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:19:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:19:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538089984001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":204283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:19:37] local.INFO: GPS data processed {"connection_id":204283,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:19:37] local.INFO: Acknowledgment sent {"connection_id":204283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:19:42] local.INFO: TCP Data received {"connection_id":205724,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:19:42] local.INFO: Processing buffer {"connection_id":205724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:19:42] local.INFO: IMEI packet received {"connection_id":205724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 07:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":205724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:19:55] local.INFO: TCP Data received {"connection_id":204284,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:19:55] local.INFO: Processing buffer {"connection_id":204284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:19:55] local.INFO: IMEI packet received {"connection_id":204284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":204284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:20:00] local.INFO: TCP Data received {"connection_id":207279,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:20:00] local.INFO: Processing buffer {"connection_id":207279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:20:00] local.INFO: IMEI packet received {"connection_id":207279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":207279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:20:01] local.INFO: TCP Data received {"connection_id":204284,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:20:01] local.INFO: Processing buffer {"connection_id":204284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:20:01] local.INFO: IMEI packet received {"connection_id":204284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":204284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:20:01] local.INFO: TCP Data received {"connection_id":204284,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:20:01] local.INFO: Processing buffer {"connection_id":204284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:20:01] local.INFO: Packet analysis {"connection_id":204284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:20:01] local.INFO: Extracted packet for processing {"connection_id":204284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:20:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538086912001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:20: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-10-05 07:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791164703000,"timestamp_ms":1791164703000,"timestamp_seconds":1791164703,"priority":1,"record_length":96,"hex_timestamp":"000001a109bc6118"} 
[2026-10-05 07:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:20:01] 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-10-05 07:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:20: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-10-05 07:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:20: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-10-05 07:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538086912001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538086912001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:20:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:20:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538086912001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":204284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:20:01] local.INFO: GPS data processed {"connection_id":204284,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:20:01] local.INFO: Acknowledgment sent {"connection_id":204284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:20:05] local.INFO: TCP Data received {"connection_id":207279,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:20:05] local.INFO: Processing buffer {"connection_id":207279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:20:05] local.INFO: IMEI packet received {"connection_id":207279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":207279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:20:06] local.INFO: TCP Data received {"connection_id":207279,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:20:06] local.INFO: Processing buffer {"connection_id":207279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109bc8ff8012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:20:06] local.INFO: Packet analysis {"connection_id":207279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:20:06] local.INFO: Extracted packet for processing {"connection_id":207279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:20:06] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538089984001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:20: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-10-05 07:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791164715000,"timestamp_ms":1791164715000,"timestamp_seconds":1791164715,"priority":1,"record_length":96,"hex_timestamp":"000001a109bc8ff8"} 
[2026-10-05 07:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 07:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 07:20:06] 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-10-05 07:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:20: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-10-05 07:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538089984001,"66":12917,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"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-10-05 07:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538089984001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:20:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:20:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538089984001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":207279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965954,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:20:06] local.INFO: GPS data processed {"connection_id":207279,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:20:06] local.INFO: Acknowledgment sent {"connection_id":207279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:20:32] local.INFO: TCP Data received {"connection_id":204284,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:20:32] local.INFO: Processing buffer {"connection_id":204284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109bc6118012d7f91c005afd9f00013010126..."} 
[2026-10-05 07:20:32] local.INFO: Packet analysis {"connection_id":204284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:20:32] local.INFO: Extracted packet for processing {"connection_id":204284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109bc"} 
[2026-10-05 07:20:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538086912001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:20: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-10-05 07:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791164703000,"timestamp_ms":1791164703000,"timestamp_seconds":1791164703,"priority":1,"record_length":96,"hex_timestamp":"000001a109bc6118"} 
[2026-10-05 07:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:20:32] 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-10-05 07:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:20: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-10-05 07:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:20:32] 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-10-05 07:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538086912001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538086912001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:20:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:20:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538086912001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":204284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:20:32] local.INFO: GPS data processed {"connection_id":204284,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:20:32] local.INFO: Acknowledgment sent {"connection_id":204284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:20:37] local.INFO: TCP Data received {"connection_id":207279,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:20:37] local.INFO: Processing buffer {"connection_id":207279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:20:37] local.INFO: Packet analysis {"connection_id":207279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c1"} 
[2026-10-05 07:20:37] local.INFO: Extracted packet for processing {"connection_id":207279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c1"} 
[2026-10-05 07:20:37] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538167040001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:20: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-10-05 07:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791165016000,"timestamp_ms":1791165016000,"timestamp_seconds":1791165016,"priority":1,"record_length":96,"hex_timestamp":"000001a109c127c0"} 
[2026-10-05 07:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 07:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 07:20:37] 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-10-05 07:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:20: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-10-05 07:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538167040001,"66":12917,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"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-10-05 07:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538167040001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:20:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:20:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538167040001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":207279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:20:37] local.INFO: GPS data processed {"connection_id":207279,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:20:37] local.INFO: Acknowledgment sent {"connection_id":207279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:21:00] local.INFO: TCP Data received {"connection_id":205725,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:21:00] local.INFO: Processing buffer {"connection_id":205725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:21:00] local.INFO: IMEI packet received {"connection_id":205725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":205725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:21:04] local.INFO: TCP Data received {"connection_id":204286,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:21:04] local.INFO: Processing buffer {"connection_id":204286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:21:04] local.INFO: IMEI packet received {"connection_id":204286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":204286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:21:06] local.INFO: TCP Data received {"connection_id":205725,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:21:06] local.INFO: Processing buffer {"connection_id":205725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:21:06] local.INFO: IMEI packet received {"connection_id":205725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":205725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:21:06] local.INFO: TCP Data received {"connection_id":205725,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:21:06] local.INFO: Processing buffer {"connection_id":205725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:21:06] local.INFO: Packet analysis {"connection_id":205725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c0"} 
[2026-10-05 07:21:06] local.INFO: Extracted packet for processing {"connection_id":205725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c0"} 
[2026-10-05 07:21:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538163968001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:21: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-10-05 07:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791165004000,"timestamp_ms":1791165004000,"timestamp_seconds":1791165004,"priority":1,"record_length":96,"hex_timestamp":"000001a109c0f8e0"} 
[2026-10-05 07:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:21:06] 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-10-05 07:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:21:06] 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-10-05 07:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:21: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-10-05 07:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538163968001,"66":25517,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538163968001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:21:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:21:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538163968001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":205725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:21:06] local.INFO: GPS data processed {"connection_id":205725,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:21:06] local.INFO: Acknowledgment sent {"connection_id":205725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:21:09] local.INFO: TCP Data received {"connection_id":204286,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:21:09] local.INFO: Processing buffer {"connection_id":204286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:21:09] local.INFO: IMEI packet received {"connection_id":204286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":204286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:21:10] local.INFO: TCP Data received {"connection_id":204286,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:21:10] local.INFO: Processing buffer {"connection_id":204286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:21:10] local.INFO: Packet analysis {"connection_id":204286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c1"} 
[2026-10-05 07:21:10] local.INFO: Extracted packet for processing {"connection_id":204286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c1"} 
[2026-10-05 07:21:10] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538167040001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:21:10] 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-10-05 07:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791165016000,"timestamp_ms":1791165016000,"timestamp_seconds":1791165016,"priority":1,"record_length":96,"hex_timestamp":"000001a109c127c0"} 
[2026-10-05 07:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 07:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 07:21:10] 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-10-05 07:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:21: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-10-05 07:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538167040001,"66":12917,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"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-10-05 07:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538167040001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:21:10] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538167040001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":204286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:21:10] local.INFO: GPS data processed {"connection_id":204286,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:21:10] local.INFO: Acknowledgment sent {"connection_id":204286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:21:11] local.INFO: TCP Data received {"connection_id":205725,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:21:11] local.INFO: Processing buffer {"connection_id":205725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:21:11] local.INFO: Packet analysis {"connection_id":205725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c0"} 
[2026-10-05 07:21:11] local.INFO: Extracted packet for processing {"connection_id":205725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c0"} 
[2026-10-05 07:21:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538163968001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 07:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791165004000,"timestamp_ms":1791165004000,"timestamp_seconds":1791165004,"priority":1,"record_length":96,"hex_timestamp":"000001a109c0f8e0"} 
[2026-10-05 07:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:21:11] 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-10-05 07:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:21:11] 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-10-05 07:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538163968001,"66":25517,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538163968001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:21:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538163968001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":205725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:21:11] local.INFO: GPS data processed {"connection_id":205725,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:21:11] local.INFO: Acknowledgment sent {"connection_id":205725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:21:15] local.INFO: TCP Data received {"connection_id":204286,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:21:15] local.INFO: Processing buffer {"connection_id":204286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:21:15] local.INFO: Packet analysis {"connection_id":204286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c1"} 
[2026-10-05 07:21:15] local.INFO: Extracted packet for processing {"connection_id":204286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c1"} 
[2026-10-05 07:21:15] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538167040001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:21: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-10-05 07:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791165016000,"timestamp_ms":1791165016000,"timestamp_seconds":1791165016,"priority":1,"record_length":96,"hex_timestamp":"000001a109c127c0"} 
[2026-10-05 07:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 07:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 07:21:15] 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-10-05 07: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-10-05 07:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:21: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-10-05 07:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538167040001,"66":12917,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"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-10-05 07:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538167040001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:21:15] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:21:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538167040001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":204286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:21:15] local.INFO: GPS data processed {"connection_id":204286,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:21:15] local.INFO: Acknowledgment sent {"connection_id":204286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:21:55] local.INFO: TCP Data received {"connection_id":204287,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:21:55] local.INFO: Processing buffer {"connection_id":204287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:21:55] local.INFO: IMEI packet received {"connection_id":204287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":204287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:21:59] local.INFO: TCP Data received {"connection_id":207280,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:21:59] local.INFO: Processing buffer {"connection_id":207280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:21:59] local.INFO: IMEI packet received {"connection_id":207280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":207280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:22:00] local.INFO: TCP Data received {"connection_id":204287,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:22:00] local.INFO: Processing buffer {"connection_id":204287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:22:00] local.INFO: IMEI packet received {"connection_id":204287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":204287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:22:01] local.INFO: TCP Data received {"connection_id":204287,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:22:01] local.INFO: Processing buffer {"connection_id":204287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:22:01] local.INFO: Packet analysis {"connection_id":204287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c0"} 
[2026-10-05 07:22:01] local.INFO: Extracted packet for processing {"connection_id":204287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c0"} 
[2026-10-05 07:22:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538163968001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791165004000,"timestamp_ms":1791165004000,"timestamp_seconds":1791165004,"priority":1,"record_length":96,"hex_timestamp":"000001a109c0f8e0"} 
[2026-10-05 07:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:22:01] 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-10-05 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:22: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-10-05 07: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-10-05 07:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:22: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-10-05 07:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538163968001,"66":25517,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538163968001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:22:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:22:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538163968001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":204287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:22:01] local.INFO: GPS data processed {"connection_id":204287,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:22:01] local.INFO: Acknowledgment sent {"connection_id":204287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:22:05] local.INFO: TCP Data received {"connection_id":207280,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:22:05] local.INFO: Processing buffer {"connection_id":207280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:22:05] local.INFO: IMEI packet received {"connection_id":207280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":207280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:22:06] local.INFO: TCP Data received {"connection_id":207280,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:22:06] local.INFO: Processing buffer {"connection_id":207280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:22:06] local.INFO: Packet analysis {"connection_id":207280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c1"} 
[2026-10-05 07:22:06] local.INFO: Extracted packet for processing {"connection_id":207280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c1"} 
[2026-10-05 07:22:06] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538167040001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:22: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-10-05 07:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791165016000,"timestamp_ms":1791165016000,"timestamp_seconds":1791165016,"priority":1,"record_length":96,"hex_timestamp":"000001a109c127c0"} 
[2026-10-05 07:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 07:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 07:22:06] 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-10-05 07:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538167040001,"66":12917,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 07:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538167040001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:22:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:22:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538167040001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":207280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965962,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:22:06] local.INFO: GPS data processed {"connection_id":207280,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:22:06] local.INFO: Acknowledgment sent {"connection_id":207280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:22:32] local.INFO: TCP Data received {"connection_id":204287,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:22:32] local.INFO: Processing buffer {"connection_id":204287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:22:32] local.INFO: Packet analysis {"connection_id":204287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c0"} 
[2026-10-05 07:22:32] local.INFO: Extracted packet for processing {"connection_id":204287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c0"} 
[2026-10-05 07:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538163968001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:22: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-10-05 07:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791165004000,"timestamp_ms":1791165004000,"timestamp_seconds":1791165004,"priority":1,"record_length":96,"hex_timestamp":"000001a109c0f8e0"} 
[2026-10-05 07:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:22:32] 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-10-05 07:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:22:32] 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-10-05 07:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:22: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-10-05 07:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538163968001,"66":25517,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538163968001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:22:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:22:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538163968001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":204287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:22:32] local.INFO: GPS data processed {"connection_id":204287,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:22:32] local.INFO: Acknowledgment sent {"connection_id":204287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:22:37] local.INFO: TCP Data received {"connection_id":207280,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:22:37] local.INFO: Processing buffer {"connection_id":207280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:22:37] local.INFO: Packet analysis {"connection_id":207280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c1"} 
[2026-10-05 07:22:37] local.INFO: Extracted packet for processing {"connection_id":207280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c1"} 
[2026-10-05 07:22:37] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538167040001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:22: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-10-05 07:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791165016000,"timestamp_ms":1791165016000,"timestamp_seconds":1791165016,"priority":1,"record_length":96,"hex_timestamp":"000001a109c127c0"} 
[2026-10-05 07:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 07:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 07:22:37] 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-10-05 07:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538167040001,"66":12917,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 07:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538167040001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:22:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:22:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538167040001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":207280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965964,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:22:37] local.INFO: GPS data processed {"connection_id":207280,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:22:37] local.INFO: Acknowledgment sent {"connection_id":207280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:22:55] local.INFO: TCP Data received {"connection_id":207281,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:22:55] local.INFO: Processing buffer {"connection_id":207281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:22:55] local.INFO: IMEI packet received {"connection_id":207281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":207281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:23:00] local.INFO: TCP Data received {"connection_id":205727,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:23:00] local.INFO: Processing buffer {"connection_id":205727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:23:00] local.INFO: IMEI packet received {"connection_id":205727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":205727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:23:00] local.INFO: TCP Data received {"connection_id":207281,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:23:00] local.INFO: Processing buffer {"connection_id":207281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:23:00] local.INFO: IMEI packet received {"connection_id":207281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":207281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:23:01] local.INFO: TCP Data received {"connection_id":207281,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:23:01] local.INFO: Processing buffer {"connection_id":207281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:23:01] local.INFO: Packet analysis {"connection_id":207281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c0"} 
[2026-10-05 07:23:01] local.INFO: Extracted packet for processing {"connection_id":207281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c0"} 
[2026-10-05 07:23:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538163968001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791165004000,"timestamp_ms":1791165004000,"timestamp_seconds":1791165004,"priority":1,"record_length":96,"hex_timestamp":"000001a109c0f8e0"} 
[2026-10-05 07:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:23:01] 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-10-05 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:23: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-10-05 07: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-10-05 07:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:23: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-10-05 07:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538163968001,"66":25517,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538163968001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:23:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:23:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538163968001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":207281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:23:01] local.INFO: GPS data processed {"connection_id":207281,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:23:01] local.INFO: Acknowledgment sent {"connection_id":207281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:23:05] local.INFO: TCP Data received {"connection_id":205727,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:23:05] local.INFO: Processing buffer {"connection_id":205727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:23:05] local.INFO: IMEI packet received {"connection_id":205727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":205727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:23:06] local.INFO: TCP Data received {"connection_id":205727,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:23:06] local.INFO: Processing buffer {"connection_id":205727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:23:06] local.INFO: Packet analysis {"connection_id":205727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c1"} 
[2026-10-05 07:23:06] local.INFO: Extracted packet for processing {"connection_id":205727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c1"} 
[2026-10-05 07:23:06] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538167040001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:23: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-10-05 07:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791165016000,"timestamp_ms":1791165016000,"timestamp_seconds":1791165016,"priority":1,"record_length":96,"hex_timestamp":"000001a109c127c0"} 
[2026-10-05 07:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 07: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 07:23:06] 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-10-05 07: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-10-05 07:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538167040001,"66":12917,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 07:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538167040001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:23:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:23:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538167040001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":205727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:23:06] local.INFO: GPS data processed {"connection_id":205727,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:23:06] local.INFO: Acknowledgment sent {"connection_id":205727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:23:32] local.INFO: TCP Data received {"connection_id":207281,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:23:32] local.INFO: Processing buffer {"connection_id":207281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:23:32] local.INFO: Packet analysis {"connection_id":207281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c0"} 
[2026-10-05 07:23:32] local.INFO: Extracted packet for processing {"connection_id":207281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c0"} 
[2026-10-05 07:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538163968001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:23: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-10-05 07:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791165004000,"timestamp_ms":1791165004000,"timestamp_seconds":1791165004,"priority":1,"record_length":96,"hex_timestamp":"000001a109c0f8e0"} 
[2026-10-05 07:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:23:32] 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-10-05 07:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:23:32] 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-10-05 07:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:23: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-10-05 07:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538163968001,"66":25517,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538163968001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:23:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:23:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538163968001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":207281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:23:32] local.INFO: GPS data processed {"connection_id":207281,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:23:32] local.INFO: Acknowledgment sent {"connection_id":207281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:23:37] local.INFO: TCP Data received {"connection_id":205727,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:23:37] local.INFO: Processing buffer {"connection_id":205727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:23:37] local.INFO: Packet analysis {"connection_id":205727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c1"} 
[2026-10-05 07:23:37] local.INFO: Extracted packet for processing {"connection_id":205727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c1"} 
[2026-10-05 07:23:37] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538167040001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:23: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-10-05 07:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791165016000,"timestamp_ms":1791165016000,"timestamp_seconds":1791165016,"priority":1,"record_length":96,"hex_timestamp":"000001a109c127c0"} 
[2026-10-05 07:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 07: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 07:23:37] 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-10-05 07: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-10-05 07:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538167040001,"66":12917,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 07:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538167040001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:23:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:23:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538167040001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":205727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965968,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:23:37] local.INFO: GPS data processed {"connection_id":205727,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:23:37] local.INFO: Acknowledgment sent {"connection_id":205727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:23:55] local.INFO: TCP Data received {"connection_id":204288,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:23:55] local.INFO: Processing buffer {"connection_id":204288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:23:55] local.INFO: IMEI packet received {"connection_id":204288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":204288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:23:59] local.INFO: TCP Data received {"connection_id":205728,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:24:00] local.INFO: Processing buffer {"connection_id":205728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:24:00] local.INFO: IMEI packet received {"connection_id":205728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":205728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:24:00] local.INFO: TCP Data received {"connection_id":204288,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:24:00] local.INFO: Processing buffer {"connection_id":204288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:24:00] local.INFO: IMEI packet received {"connection_id":204288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":204288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:24:01] local.INFO: TCP Data received {"connection_id":204288,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:24:01] local.INFO: Processing buffer {"connection_id":204288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:24:01] local.INFO: Packet analysis {"connection_id":204288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c0"} 
[2026-10-05 07:24:01] local.INFO: Extracted packet for processing {"connection_id":204288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c0"} 
[2026-10-05 07:24:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538163968001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791165004000,"timestamp_ms":1791165004000,"timestamp_seconds":1791165004,"priority":1,"record_length":96,"hex_timestamp":"000001a109c0f8e0"} 
[2026-10-05 07:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:24:01] 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-10-05 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:24: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-10-05 07: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-10-05 07:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:24: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-10-05 07:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538163968001,"66":25517,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538163968001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:24:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:24:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538163968001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":204288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:24:01] local.INFO: GPS data processed {"connection_id":204288,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:24:01] local.INFO: Acknowledgment sent {"connection_id":204288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:24:05] local.INFO: TCP Data received {"connection_id":205728,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:24:05] local.INFO: Processing buffer {"connection_id":205728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:24:05] local.INFO: IMEI packet received {"connection_id":205728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":205728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:24:06] local.INFO: TCP Data received {"connection_id":205728,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:24:06] local.INFO: Processing buffer {"connection_id":205728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:24:06] local.INFO: Packet analysis {"connection_id":205728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c1"} 
[2026-10-05 07:24:06] local.INFO: Extracted packet for processing {"connection_id":205728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c1"} 
[2026-10-05 07:24:06] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538167040001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:24: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-10-05 07:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791165016000,"timestamp_ms":1791165016000,"timestamp_seconds":1791165016,"priority":1,"record_length":96,"hex_timestamp":"000001a109c127c0"} 
[2026-10-05 07:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 07:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 07:24:06] 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-10-05 07:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538167040001,"66":12917,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 07:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538167040001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:24:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:24:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538167040001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":205728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965970,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:24:06] local.INFO: GPS data processed {"connection_id":205728,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:24:06] local.INFO: Acknowledgment sent {"connection_id":205728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:24:32] local.INFO: TCP Data received {"connection_id":204288,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:24:32] local.INFO: Processing buffer {"connection_id":204288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:24:32] local.INFO: Packet analysis {"connection_id":204288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c0"} 
[2026-10-05 07:24:32] local.INFO: Extracted packet for processing {"connection_id":204288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c0"} 
[2026-10-05 07:24:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538163968001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:24: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-10-05 07:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791165004000,"timestamp_ms":1791165004000,"timestamp_seconds":1791165004,"priority":1,"record_length":96,"hex_timestamp":"000001a109c0f8e0"} 
[2026-10-05 07:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:24:32] 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-10-05 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:24:32] 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-10-05 07: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-10-05 07:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:24: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-10-05 07:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538163968001,"66":25517,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538163968001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:24:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:24:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538163968001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":204288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:24:32] local.INFO: GPS data processed {"connection_id":204288,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:24:32] local.INFO: Acknowledgment sent {"connection_id":204288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:24:37] local.INFO: TCP Data received {"connection_id":205728,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:24:37] local.INFO: Processing buffer {"connection_id":205728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:24:37] local.INFO: Packet analysis {"connection_id":205728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c1"} 
[2026-10-05 07:24:37] local.INFO: Extracted packet for processing {"connection_id":205728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c1"} 
[2026-10-05 07:24:37] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538167040001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:24: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-10-05 07:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791165016000,"timestamp_ms":1791165016000,"timestamp_seconds":1791165016,"priority":1,"record_length":96,"hex_timestamp":"000001a109c127c0"} 
[2026-10-05 07:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 07:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 07:24:37] 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-10-05 07:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538167040001,"66":12917,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 07:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538167040001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:24:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:24:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538167040001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":205728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:24:37] local.INFO: GPS data processed {"connection_id":205728,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:24:37] local.INFO: Acknowledgment sent {"connection_id":205728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:24:55] local.INFO: TCP Data received {"connection_id":205729,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:24:55] local.INFO: Processing buffer {"connection_id":205729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:24:55] local.INFO: IMEI packet received {"connection_id":205729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":205729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:24:57] local.INFO: TCP Data received {"connection_id":207282,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:24:57] local.INFO: Processing buffer {"connection_id":207282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:24:57] local.INFO: IMEI packet received {"connection_id":207282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 07:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":207282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:24:59] local.INFO: TCP Data received {"connection_id":204194,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:24:59] local.INFO: Processing buffer {"connection_id":204194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:24:59] local.INFO: IMEI packet received {"connection_id":204194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":204194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:25:00] local.INFO: TCP Data received {"connection_id":205729,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:25:00] local.INFO: Processing buffer {"connection_id":205729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:25:00] local.INFO: IMEI packet received {"connection_id":205729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":205729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:25:01] local.INFO: TCP Data received {"connection_id":205729,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:25:01] local.INFO: Processing buffer {"connection_id":205729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:25:01] local.INFO: Packet analysis {"connection_id":205729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c0"} 
[2026-10-05 07:25:01] local.INFO: Extracted packet for processing {"connection_id":205729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c0"} 
[2026-10-05 07:25:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538163968001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791165004000,"timestamp_ms":1791165004000,"timestamp_seconds":1791165004,"priority":1,"record_length":96,"hex_timestamp":"000001a109c0f8e0"} 
[2026-10-05 07:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:25:01] 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-10-05 07: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":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:25: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-10-05 07: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-10-05 07:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:25: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-10-05 07:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538163968001,"66":25517,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538163968001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:25:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:25:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538163968001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":205729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:25:01] local.INFO: GPS data processed {"connection_id":205729,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:25:01] local.INFO: Acknowledgment sent {"connection_id":205729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:25:05] local.INFO: TCP Data received {"connection_id":204194,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:25:05] local.INFO: Processing buffer {"connection_id":204194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:25:05] local.INFO: IMEI packet received {"connection_id":204194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":204194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:25:07] local.INFO: TCP Data received {"connection_id":204194,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:25:07] local.INFO: Processing buffer {"connection_id":204194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c127c0012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:25:07] local.INFO: Packet analysis {"connection_id":204194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c1"} 
[2026-10-05 07:25:07] local.INFO: Extracted packet for processing {"connection_id":204194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c1"} 
[2026-10-05 07:25:07] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538167040001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:25: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-10-05 07:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791165016000,"timestamp_ms":1791165016000,"timestamp_seconds":1791165016,"priority":1,"record_length":96,"hex_timestamp":"000001a109c127c0"} 
[2026-10-05 07:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:25: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-10-05 07: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 07:25:07] 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-10-05 07: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-10-05 07:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538167040001,"66":12917,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 07:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538167040001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:25:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:25:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538167040001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":204194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:25:07] local.INFO: GPS data processed {"connection_id":204194,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:25:07] local.INFO: Acknowledgment sent {"connection_id":204194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:25:32] local.INFO: TCP Data received {"connection_id":205729,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:25:32] local.INFO: Processing buffer {"connection_id":205729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c0f8e0012d7f91c005afd9f00013010127..."} 
[2026-10-05 07:25:32] local.INFO: Packet analysis {"connection_id":205729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c0"} 
[2026-10-05 07:25:32] local.INFO: Extracted packet for processing {"connection_id":205729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c0"} 
[2026-10-05 07:25:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":19,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538163968001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791165004000,"timestamp_ms":1791165004000,"timestamp_seconds":1791165004,"priority":1,"record_length":96,"hex_timestamp":"000001a109c0f8e0"} 
[2026-10-05 07:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:25:32] 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-10-05 07: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":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:25:32] 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-10-05 07: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-10-05 07:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:25: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-10-05 07:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538163968001,"66":25517,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538163968001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:25:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:25:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538163968001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":205729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:25:32] local.INFO: GPS data processed {"connection_id":205729,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:25:32] local.INFO: Acknowledgment sent {"connection_id":205729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:25:38] local.INFO: TCP Data received {"connection_id":204194,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109c5bf88012d7b060005e357b00004007b22..."} 
[2026-10-05 07:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c5bf88012d7b060005e357b00004007b22..."} 
[2026-10-05 07:25:38] local.INFO: Processing buffer {"connection_id":204194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c5bf88012d7b060005e357b00004007b22..."} 
[2026-10-05 07:25:38] local.INFO: Packet analysis {"connection_id":204194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c5"} 
[2026-10-05 07:25:38] local.INFO: Extracted packet for processing {"connection_id":204194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c5"} 
[2026-10-05 07:25:38] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":34,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538244096001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:25:38] 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-10-05 07:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791165317000,"timestamp_ms":1791165317000,"timestamp_seconds":1791165317,"priority":1,"record_length":96,"hex_timestamp":"000001a109c5bf88"} 
[2026-10-05 07:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 07:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 07:25:38] 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-10-05 07:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538244096001,"66":12906,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 07:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538244096001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:25:38] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:25:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538244096001,"power":12906,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":204194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:25:38] local.INFO: GPS data processed {"connection_id":204194,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:25:38] local.INFO: Acknowledgment sent {"connection_id":204194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:25:42] local.INFO: TCP Data received {"connection_id":204289,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:25:42] local.INFO: Processing buffer {"connection_id":204289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:25:42] local.INFO: IMEI packet received {"connection_id":204289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 07:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":204289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:26:00] local.INFO: TCP Data received {"connection_id":204195,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:26:00] local.INFO: Processing buffer {"connection_id":204195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:26:00] local.INFO: IMEI packet received {"connection_id":204195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":204195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:26:05] local.INFO: TCP Data received {"connection_id":204196,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:26:05] local.INFO: Processing buffer {"connection_id":204196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:26:05] local.INFO: IMEI packet received {"connection_id":204196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":204196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:26:06] local.INFO: TCP Data received {"connection_id":204195,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:26:06] local.INFO: Processing buffer {"connection_id":204195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:26:06] local.INFO: IMEI packet received {"connection_id":204195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":204195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:26:07] local.INFO: TCP Data received {"connection_id":204195,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:26:07] local.INFO: Processing buffer {"connection_id":204195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:26:07] local.INFO: Packet analysis {"connection_id":204195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c5"} 
[2026-10-05 07:26:07] local.INFO: Extracted packet for processing {"connection_id":204195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c5"} 
[2026-10-05 07:26:07] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":7,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538241024001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:26: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-10-05 07:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791165305000,"timestamp_ms":1791165305000,"timestamp_seconds":1791165305,"priority":1,"record_length":96,"hex_timestamp":"000001a109c590a8"} 
[2026-10-05 07:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:26: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-10-05 07: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 07:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 07: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-10-05 07:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:26: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-10-05 07:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538241024001,"66":25495,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538241024001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:26:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:26:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538241024001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":204195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:26:07] local.INFO: GPS data processed {"connection_id":204195,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:26:07] local.INFO: Acknowledgment sent {"connection_id":204195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:26:09] local.INFO: TCP Data received {"connection_id":204196,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:26:09] local.INFO: Processing buffer {"connection_id":204196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:26:09] local.INFO: IMEI packet received {"connection_id":204196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":204196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:26:10] local.INFO: TCP Data received {"connection_id":204196,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109c5fe08012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c5fe08012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:26:10] local.INFO: Processing buffer {"connection_id":204196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c5fe08012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:26:10] local.INFO: Packet analysis {"connection_id":204196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c5"} 
[2026-10-05 07:26:10] local.INFO: Extracted packet for processing {"connection_id":204196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c5"} 
[2026-10-05 07:26:10] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538321152001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:26:10] 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-10-05 07:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791165333000,"timestamp_ms":1791165333000,"timestamp_seconds":1791165333,"priority":1,"record_length":96,"hex_timestamp":"000001a109c5fe08"} 
[2026-10-05 07:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 07: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 07:26:10] 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-10-05 07: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-10-05 07:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538321152001,"66":12863,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 07:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538321152001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:26:10] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538321152001,"power":12863,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":204196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965978,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:26:10] local.INFO: GPS data processed {"connection_id":204196,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:26:10] local.INFO: Acknowledgment sent {"connection_id":204196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:26:11] local.INFO: TCP Data received {"connection_id":204195,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:26:11] local.INFO: Processing buffer {"connection_id":204195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:26:11] local.INFO: Packet analysis {"connection_id":204195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c5"} 
[2026-10-05 07:26:11] local.INFO: Extracted packet for processing {"connection_id":204195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c5"} 
[2026-10-05 07:26:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":7,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538241024001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 07:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791165305000,"timestamp_ms":1791165305000,"timestamp_seconds":1791165305,"priority":1,"record_length":96,"hex_timestamp":"000001a109c590a8"} 
[2026-10-05 07:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:26:11] 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-10-05 07:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 07:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 07:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538241024001,"66":25495,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538241024001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:26:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538241024001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":204195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:26:11] local.INFO: GPS data processed {"connection_id":204195,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:26:11] local.INFO: Acknowledgment sent {"connection_id":204195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:26:11] local.INFO: TCP Data received {"connection_id":204196,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109c5fe08012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c5fe08012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:26:11] local.INFO: Processing buffer {"connection_id":204196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c5fe08012d7b060005e357b00004007b1f..."} 
[2026-10-05 07:26:11] local.INFO: Packet analysis {"connection_id":204196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c5"} 
[2026-10-05 07:26:11] local.INFO: Extracted packet for processing {"connection_id":204196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c5"} 
[2026-10-05 07:26:11] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98785200,"longitude_deg":76.3037184,"latitude_deg":9.87852,"altitude":4,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d7b0600","hex_latitude":"05e357b0","is_valid_coordinates":true} 
[2026-10-05 07:26:11] 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-10-05 07:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538325248001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256029580886016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:26: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-10-05 07:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791165333000,"timestamp_ms":1791165333000,"timestamp_seconds":1791165333,"priority":1,"record_length":96,"hex_timestamp":"000001a109c5fe08"} 
[2026-10-05 07:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:26: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-10-05 07:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 07:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 07:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538325248001,"66":12863,"208":206,"85":15104,"24":0,"16":139256029580886016,"45":8864772941814411264},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 07:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538325248001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:26:11] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256029580886016,"km_value":139256029580886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538325248001,"power":12863,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":204196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965980,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:26:11] local.INFO: GPS data processed {"connection_id":204196,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:26:11] local.INFO: Acknowledgment sent {"connection_id":204196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:26:42] local.INFO: TCP Data received {"connection_id":204196,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109c64070012d7b098005e355f0000b009224..."} 
[2026-10-05 07:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c64070012d7b098005e355f0000b009224..."} 
[2026-10-05 07:26:42] local.INFO: Processing buffer {"connection_id":204196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c64070012d7b098005e355f0000b009224..."} 
[2026-10-05 07:26:42] local.INFO: Packet analysis {"connection_id":204196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c6"} 
[2026-10-05 07:26:42] local.INFO: Extracted packet for processing {"connection_id":204196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c6"} 
[2026-10-05 07:26:42] local.INFO: GPS Element Parsed {"raw_longitude":763038080,"raw_latitude":98784752,"longitude_deg":76.303808,"latitude_deg":9.8784752,"altitude":11,"angle":146,"satellites":36,"speed":4,"hex_longitude":"2d7b0980","hex_latitude":"05e355f0","is_valid_coordinates":true} 
[2026-10-05 07:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538325248001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256068235591680,"note":"Value kept but may cause issues"} 
[2026-10-05 07:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941814411264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:26:42] 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-10-05 07:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791165350000,"timestamp_ms":1791165350000,"timestamp_seconds":1791165350,"priority":1,"record_length":96,"hex_timestamp":"000001a109c64070"} 
[2026-10-05 07:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:26:42] 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-10-05 07:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 07:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 07:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538325248001,"66":13493,"208":206,"85":15104,"24":4,"16":139256068235591680,"45":8864772941814411264},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 07:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538325248001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:26:42] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:26:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256068235591680,"km_value":139256068235591.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941814411264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538325248001,"power":13493,"unknown_208":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8864772941814411264}} 
[2026-10-05 07:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":204196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:26:42] local.INFO: GPS data processed {"connection_id":204196,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:26:42] local.INFO: Acknowledgment sent {"connection_id":204196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:26:55] local.INFO: TCP Data received {"connection_id":204197,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:26:55] local.INFO: Processing buffer {"connection_id":204197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:26:55] local.INFO: IMEI packet received {"connection_id":204197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":204197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:27:00] local.INFO: TCP Data received {"connection_id":205730,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205730,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:27:00] local.INFO: Processing buffer {"connection_id":205730,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:27:00] local.INFO: IMEI packet received {"connection_id":205730,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":205730,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:27:00] local.INFO: TCP Data received {"connection_id":205730,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205730,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:27:00] local.INFO: Processing buffer {"connection_id":205730,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:27:00] local.INFO: IMEI packet received {"connection_id":205730,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":205730,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:27:00] local.INFO: TCP Data received {"connection_id":204197,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:27:00] local.INFO: Processing buffer {"connection_id":204197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:27:00] local.INFO: IMEI packet received {"connection_id":204197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":204197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:27:01] local.INFO: TCP Data received {"connection_id":204197,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:27:01] local.INFO: Processing buffer {"connection_id":204197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:27:01] local.INFO: Packet analysis {"connection_id":204197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c5"} 
[2026-10-05 07:27:01] local.INFO: Extracted packet for processing {"connection_id":204197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c5"} 
[2026-10-05 07:27:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":7,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538241024001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791165305000,"timestamp_ms":1791165305000,"timestamp_seconds":1791165305,"priority":1,"record_length":96,"hex_timestamp":"000001a109c590a8"} 
[2026-10-05 07:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:27:01] 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-10-05 07: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 07:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 07: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-10-05 07:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:27: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-10-05 07:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538241024001,"66":25495,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538241024001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:27:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:27:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538241024001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":204197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:27:01] local.INFO: GPS data processed {"connection_id":204197,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:27:01] local.INFO: Acknowledgment sent {"connection_id":204197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:27:05] local.INFO: TCP Data received {"connection_id":205730,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205730,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:27:05] local.INFO: Processing buffer {"connection_id":205730,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:27:05] local.INFO: IMEI packet received {"connection_id":205730,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":205730,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:27:07] local.INFO: TCP Data received {"connection_id":205730,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109c64458012d7b0a0005e35518000b00a124..."} 
[2026-10-05 07:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c64458012d7b0a0005e35518000b00a124..."} 
[2026-10-05 07:27:07] local.INFO: Processing buffer {"connection_id":205730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c64458012d7b0a0005e35518000b00a124..."} 
[2026-10-05 07:27:07] local.INFO: Packet analysis {"connection_id":205730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c6"} 
[2026-10-05 07:27:07] local.INFO: Extracted packet for processing {"connection_id":205730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c6"} 
[2026-10-05 07:27:07] local.INFO: GPS Element Parsed {"raw_longitude":763038208,"raw_latitude":98784536,"longitude_deg":76.3038208,"latitude_deg":9.8784536,"altitude":11,"angle":161,"satellites":36,"speed":9,"hex_longitude":"2d7b0a00","hex_latitude":"05e35518","is_valid_coordinates":true} 
[2026-10-05 07:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538329600001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256081120493568,"note":"Value kept but may cause issues"} 
[2026-10-05 07:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865758104232783872,"note":"Value kept but may cause issues"} 
[2026-10-05 07:27: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-10-05 07:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791165351000,"timestamp_ms":1791165351000,"timestamp_seconds":1791165351,"priority":1,"record_length":96,"hex_timestamp":"000001a109c64458"} 
[2026-10-05 07:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 07:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-10-05 07:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 07:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538329600001,"66":13493,"208":206,"85":15104,"24":9,"16":139256081120493568,"45":8865758104232783872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 07:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538329600001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:27:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:27:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256081120493568,"km_value":139256081120493.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865758104232783872,"description":"Unknown IO ID 45"} 
[2026-10-05 07:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538329600001,"power":13493,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8865758104232783872}} 
[2026-10-05 07:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":205730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:27:07] local.INFO: GPS data processed {"connection_id":205730,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:27:07] local.INFO: Acknowledgment sent {"connection_id":205730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:27:32] local.INFO: TCP Data received {"connection_id":204197,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:27:32] local.INFO: Processing buffer {"connection_id":204197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:27:32] local.INFO: Packet analysis {"connection_id":204197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c5"} 
[2026-10-05 07:27:32] local.INFO: Extracted packet for processing {"connection_id":204197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c5"} 
[2026-10-05 07:27:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":7,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538241024001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791165305000,"timestamp_ms":1791165305000,"timestamp_seconds":1791165305,"priority":1,"record_length":96,"hex_timestamp":"000001a109c590a8"} 
[2026-10-05 07:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:27:32] 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-10-05 07: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 07:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 07: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-10-05 07:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538241024001,"66":25495,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538241024001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:27:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:27:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538241024001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":204197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:27:32] local.INFO: GPS data processed {"connection_id":204197,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:27:32] local.INFO: Acknowledgment sent {"connection_id":204197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:27:39] local.INFO: TCP Data received {"connection_id":205730,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109c65010012d7b0a8005e352d8000b009424..."} 
[2026-10-05 07:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c65010012d7b0a8005e352d8000b009424..."} 
[2026-10-05 07:27:39] local.INFO: Processing buffer {"connection_id":205730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c65010012d7b0a8005e352d8000b009424..."} 
[2026-10-05 07:27:39] local.INFO: Packet analysis {"connection_id":205730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c6"} 
[2026-10-05 07:27:39] local.INFO: Extracted packet for processing {"connection_id":205730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c6"} 
[2026-10-05 07:27:39] local.INFO: GPS Element Parsed {"raw_longitude":763038336,"raw_latitude":98783960,"longitude_deg":76.3038336,"latitude_deg":9.878396,"altitude":11,"angle":148,"satellites":36,"speed":3,"hex_longitude":"2d7b0a80","hex_latitude":"05e352d8","is_valid_coordinates":true} 
[2026-10-05 07:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538329856001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256106890297344,"note":"Value kept but may cause issues"} 
[2026-10-05 07:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865898841721083904,"note":"Value kept but may cause issues"} 
[2026-10-05 07:27: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-10-05 07:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791165354000,"timestamp_ms":1791165354000,"timestamp_seconds":1791165354,"priority":1,"record_length":96,"hex_timestamp":"000001a109c65010"} 
[2026-10-05 07:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:27: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-10-05 07:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-10-05 07:27:39] 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-10-05 07:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":205730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":205730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":205730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538329856001,"66":13678,"208":206,"85":15104,"24":3,"16":139256106890297344,"45":8865898841721083904},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 07:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538329856001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:27:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:27:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256106890297344,"km_value":139256106890297.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865898841721083904,"description":"Unknown IO ID 45"} 
[2026-10-05 07:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538329856001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8865898841721083904}} 
[2026-10-05 07:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":205730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:27:39] local.INFO: GPS data processed {"connection_id":205730,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:27:39] local.INFO: Acknowledgment sent {"connection_id":205730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:27:55] local.INFO: TCP Data received {"connection_id":204290,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:27:55] local.INFO: Processing buffer {"connection_id":204290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:27:55] local.INFO: IMEI packet received {"connection_id":204290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":204290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:27:58] local.INFO: TCP Data received {"connection_id":205732,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:27:58] local.INFO: Processing buffer {"connection_id":205732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:27:58] local.INFO: IMEI packet received {"connection_id":205732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":205732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:28:00] local.INFO: TCP Data received {"connection_id":205732,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:28:00] local.INFO: Processing buffer {"connection_id":205732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:28:00] local.INFO: IMEI packet received {"connection_id":205732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":205732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:28:00] local.INFO: TCP Data received {"connection_id":204290,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:28:00] local.INFO: Processing buffer {"connection_id":204290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:28:00] local.INFO: IMEI packet received {"connection_id":204290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":204290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:28:01] local.INFO: TCP Data received {"connection_id":204290,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:28:01] local.INFO: Processing buffer {"connection_id":204290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:28:01] local.INFO: Packet analysis {"connection_id":204290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c5"} 
[2026-10-05 07:28:01] local.INFO: Extracted packet for processing {"connection_id":204290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c5"} 
[2026-10-05 07:28:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":7,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538241024001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791165305000,"timestamp_ms":1791165305000,"timestamp_seconds":1791165305,"priority":1,"record_length":96,"hex_timestamp":"000001a109c590a8"} 
[2026-10-05 07:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:28:01] 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-10-05 07: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 07:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 07: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-10-05 07:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07: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-10-05 07:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538241024001,"66":25495,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538241024001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:28:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:28:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538241024001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":204290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:28:01] local.INFO: GPS data processed {"connection_id":204290,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:28:01] local.INFO: Acknowledgment sent {"connection_id":204290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:28:05] local.INFO: TCP Data received {"connection_id":205732,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:28:05] local.INFO: Processing buffer {"connection_id":205732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:28:05] local.INFO: IMEI packet received {"connection_id":205732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":205732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:28:06] local.INFO: TCP Data received {"connection_id":205732,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109c682d8012d7b0a8005e350f0000800bb22..."} 
[2026-10-05 07:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c682d8012d7b0a8005e350f0000800bb22..."} 
[2026-10-05 07:28:06] local.INFO: Processing buffer {"connection_id":205732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c682d8012d7b0a8005e350f0000800bb22..."} 
[2026-10-05 07:28:06] local.INFO: Packet analysis {"connection_id":205732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c6"} 
[2026-10-05 07:28:06] local.INFO: Extracted packet for processing {"connection_id":205732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c6"} 
[2026-10-05 07:28:06] local.INFO: GPS Element Parsed {"raw_longitude":763038336,"raw_latitude":98783472,"longitude_deg":76.3038336,"latitude_deg":9.8783472,"altitude":8,"angle":187,"satellites":34,"speed":2,"hex_longitude":"2d7b0a80","hex_latitude":"05e350f0","is_valid_coordinates":true} 
[2026-10-05 07:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538330624001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139256136955068416,"note":"Value kept but may cause issues"} 
[2026-10-05 07:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866039579209291776,"note":"Value kept but may cause issues"} 
[2026-10-05 07:28: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-10-05 07:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791165367000,"timestamp_ms":1791165367000,"timestamp_seconds":1791165367,"priority":1,"record_length":96,"hex_timestamp":"000001a109c682d8"} 
[2026-10-05 07:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 07:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 07:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 07:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538330624001,"66":13852,"208":206,"85":15104,"24":2,"16":139256136955068416,"45":8866039579209291776},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 07:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538330624001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:28:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 07:28:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139256136955068416,"km_value":139256136955068.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866039579209291776,"description":"Unknown IO ID 45"} 
[2026-10-05 07:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538330624001,"power":13852,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8866039579209291776}} 
[2026-10-05 07:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":205732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:28:06] local.INFO: GPS data processed {"connection_id":205732,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:28:06] local.INFO: Acknowledgment sent {"connection_id":205732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:28:32] local.INFO: TCP Data received {"connection_id":204290,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:28:32] local.INFO: Processing buffer {"connection_id":204290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:28:32] local.INFO: Packet analysis {"connection_id":204290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c5"} 
[2026-10-05 07:28:32] local.INFO: Extracted packet for processing {"connection_id":204290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c5"} 
[2026-10-05 07:28:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":7,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:28: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-10-05 07:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538241024001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:28: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-10-05 07:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791165305000,"timestamp_ms":1791165305000,"timestamp_seconds":1791165305,"priority":1,"record_length":96,"hex_timestamp":"000001a109c590a8"} 
[2026-10-05 07:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:28:32] 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-10-05 07:28: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":173,"data_length":795,"current_offset":136} 
[2026-10-05 07:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 07:28: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-10-05 07:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:28: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-10-05 07:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538241024001,"66":25495,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538241024001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:28:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:28:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538241024001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":204290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:28:32] local.INFO: GPS data processed {"connection_id":204290,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:28:32] local.INFO: Acknowledgment sent {"connection_id":204290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:28:37] local.INFO: TCP Data received {"connection_id":205732,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109c86f08012d7b38c005e205e0000000ac20..."} 
[2026-10-05 07:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c86f08012d7b38c005e205e0000000ac20..."} 
[2026-10-05 07:28:37] local.INFO: Processing buffer {"connection_id":205732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c86f08012d7b38c005e205e0000000ac20..."} 
[2026-10-05 07:28:37] local.INFO: Packet analysis {"connection_id":205732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c8"} 
[2026-10-05 07:28:37] local.INFO: Extracted packet for processing {"connection_id":205732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c8"} 
[2026-10-05 07:28:37] local.INFO: GPS Element Parsed {"raw_longitude":763050176,"raw_latitude":98698720,"longitude_deg":76.3050176,"latitude_deg":9.869872,"altitude":0,"angle":172,"satellites":32,"speed":39,"hex_longitude":"2d7b38c0","hex_latitude":"05e205e0","is_valid_coordinates":true} 
[2026-10-05 07:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538363904001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139260311663280128,"note":"Value kept but may cause issues"} 
[2026-10-05 07:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877720790723289088,"note":"Value kept but may cause issues"} 
[2026-10-05 07:28:37] 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-10-05 07:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791165493000,"timestamp_ms":1791165493000,"timestamp_seconds":1791165493,"priority":1,"record_length":96,"hex_timestamp":"000001a109c86f08"} 
[2026-10-05 07:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 07:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-05 07:28:37] 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-10-05 07:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538363904001,"66":13678,"207":206,"85":15104,"24":39,"16":139260311663280128,"45":8877720790723289088},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 07:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538363904001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:28:37] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 07:28:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139260311663280128,"km_value":139260311663280.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877720790723289088,"description":"Unknown IO ID 45"} 
[2026-10-05 07:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538363904001,"power":13678,"unknown_207":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8877720790723289088}} 
[2026-10-05 07:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":205732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:28:37] local.INFO: GPS data processed {"connection_id":205732,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:28:37] local.INFO: Acknowledgment sent {"connection_id":205732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:28:55] local.INFO: TCP Data received {"connection_id":204292,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:28:55] local.INFO: Processing buffer {"connection_id":204292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:28:55] local.INFO: IMEI packet received {"connection_id":204292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":204292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:28:59] local.INFO: TCP Data received {"connection_id":204198,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:28:59] local.INFO: Processing buffer {"connection_id":204198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:28:59] local.INFO: IMEI packet received {"connection_id":204198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":204198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:29:00] local.INFO: TCP Data received {"connection_id":204292,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:29:00] local.INFO: Processing buffer {"connection_id":204292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:29:00] local.INFO: IMEI packet received {"connection_id":204292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":204292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:29:01] local.INFO: TCP Data received {"connection_id":204292,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:29:01] local.INFO: Processing buffer {"connection_id":204292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:29:01] local.INFO: Packet analysis {"connection_id":204292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c5"} 
[2026-10-05 07:29:01] local.INFO: Extracted packet for processing {"connection_id":204292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c5"} 
[2026-10-05 07:29:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":7,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538241024001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:29: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-10-05 07:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791165305000,"timestamp_ms":1791165305000,"timestamp_seconds":1791165305,"priority":1,"record_length":96,"hex_timestamp":"000001a109c590a8"} 
[2026-10-05 07:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:29:01] 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-10-05 07: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 07:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 07: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-10-05 07:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:29: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-10-05 07:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538241024001,"66":25495,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538241024001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:29:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:29:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538241024001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":204292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:29:01] local.INFO: GPS data processed {"connection_id":204292,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:29:01] local.INFO: Acknowledgment sent {"connection_id":204292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:29:04] local.INFO: TCP Data received {"connection_id":204198,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:29:04] local.INFO: Processing buffer {"connection_id":204198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:29:04] local.INFO: IMEI packet received {"connection_id":204198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":204198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:29:04] local.INFO: TCP Data received {"connection_id":204198,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109c89230012d7b3d8005e1e078000000ae1f..."} 
[2026-10-05 07:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c89230012d7b3d8005e1e078000000ae1f..."} 
[2026-10-05 07:29:05] local.INFO: Processing buffer {"connection_id":204198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c89230012d7b3d8005e1e078000000ae1f..."} 
[2026-10-05 07:29:05] local.INFO: Packet analysis {"connection_id":204198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c8"} 
[2026-10-05 07:29:05] local.INFO: Extracted packet for processing {"connection_id":204198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c8"} 
[2026-10-05 07:29:05] local.INFO: GPS Element Parsed {"raw_longitude":763051392,"raw_latitude":98689144,"longitude_deg":76.3051392,"latitude_deg":9.8689144,"altitude":0,"angle":174,"satellites":31,"speed":41,"hex_longitude":"2d7b3d80","hex_latitude":"05e1e078","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538366208001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139260779814715392,"note":"Value kept but may cause issues"} 
[2026-10-05 07:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879057796860338176,"note":"Value kept but may cause issues"} 
[2026-10-05 07:29:05] 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-10-05 07:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791165502000,"timestamp_ms":1791165502000,"timestamp_seconds":1791165502,"priority":1,"record_length":96,"hex_timestamp":"000001a109c89230"} 
[2026-10-05 07:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:29: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-10-05 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 07:29:05] 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-10-05 07: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-10-05 07:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538366208001,"66":13559,"207":206,"85":15104,"24":41,"16":139260779814715392,"45":8879057796860338176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 07:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538366208001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:29:05] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 07:29:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139260779814715392,"km_value":139260779814715.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879057796860338176,"description":"Unknown IO ID 45"} 
[2026-10-05 07:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538366208001,"power":13559,"unknown_207":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8879057796860338176}} 
[2026-10-05 07:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":204198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:29:05] local.INFO: GPS data processed {"connection_id":204198,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:29:05] local.INFO: Acknowledgment sent {"connection_id":204198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:29:32] local.INFO: TCP Data received {"connection_id":204292,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:29:32] local.INFO: Processing buffer {"connection_id":204292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:29:32] local.INFO: Packet analysis {"connection_id":204292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c5"} 
[2026-10-05 07:29:32] local.INFO: Extracted packet for processing {"connection_id":204292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c5"} 
[2026-10-05 07:29:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":7,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538241024001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:29: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-10-05 07:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791165305000,"timestamp_ms":1791165305000,"timestamp_seconds":1791165305,"priority":1,"record_length":96,"hex_timestamp":"000001a109c590a8"} 
[2026-10-05 07:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:29:32] 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-10-05 07:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 07:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 07:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:29: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-10-05 07:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538241024001,"66":25495,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538241024001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:29:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:29:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538241024001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":204292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:29:32] local.INFO: GPS data processed {"connection_id":204292,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:29:32] local.INFO: Acknowledgment sent {"connection_id":204292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:29:36] local.INFO: TCP Data received {"connection_id":204198,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109c8c110012d7b400005e1bd30000000af1f..."} 
[2026-10-05 07:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c8c110012d7b400005e1bd30000000af1f..."} 
[2026-10-05 07:29:36] local.INFO: Processing buffer {"connection_id":204198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c8c110012d7b400005e1bd30000000af1f..."} 
[2026-10-05 07:29:36] local.INFO: Packet analysis {"connection_id":204198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c8"} 
[2026-10-05 07:29:36] local.INFO: Extracted packet for processing {"connection_id":204198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c8"} 
[2026-10-05 07:29:36] local.INFO: GPS Element Parsed {"raw_longitude":763052032,"raw_latitude":98680112,"longitude_deg":76.3052032,"latitude_deg":9.8680112,"altitude":0,"angle":175,"satellites":31,"speed":20,"hex_longitude":"2d7b4000","hex_latitude":"05e1bd30","is_valid_coordinates":true} 
[2026-10-05 07:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538368512001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139261217901379584,"note":"Value kept but may cause issues"} 
[2026-10-05 07:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880394802997262336,"note":"Value kept but may cause issues"} 
[2026-10-05 07:29: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-10-05 07:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791165514000,"timestamp_ms":1791165514000,"timestamp_seconds":1791165514,"priority":1,"record_length":96,"hex_timestamp":"000001a109c8c110"} 
[2026-10-05 07:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 07:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-05 07:29: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-10-05 07:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538368512001,"66":13972,"207":206,"85":15104,"24":20,"16":139261217901379584,"45":8880394802997262336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 07:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538368512001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:29:36] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 07:29:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139261217901379584,"km_value":139261217901379.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880394802997262336,"description":"Unknown IO ID 45"} 
[2026-10-05 07:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538368512001,"power":13972,"unknown_207":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8880394802997262336}} 
[2026-10-05 07:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":204198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:29:36] local.INFO: GPS data processed {"connection_id":204198,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:29:36] local.INFO: Acknowledgment sent {"connection_id":204198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:29:55] local.INFO: TCP Data received {"connection_id":204295,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:29:55] local.INFO: Processing buffer {"connection_id":204295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:29:55] local.INFO: IMEI packet received {"connection_id":204295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":204295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:30:00] local.INFO: TCP Data received {"connection_id":207285,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:30:00] local.INFO: Processing buffer {"connection_id":207285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:30:00] local.INFO: IMEI packet received {"connection_id":207285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":207285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:30:00] local.INFO: TCP Data received {"connection_id":207285,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:30:00] local.INFO: Processing buffer {"connection_id":207285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:30:00] local.INFO: IMEI packet received {"connection_id":207285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":207285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:30:00] local.INFO: TCP Data received {"connection_id":204295,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:30:00] local.INFO: Processing buffer {"connection_id":204295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:30:00] local.INFO: IMEI packet received {"connection_id":204295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":204295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:30:01] local.INFO: TCP Data received {"connection_id":204295,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:30:01] local.INFO: Processing buffer {"connection_id":204295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:30:01] local.INFO: Packet analysis {"connection_id":204295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c5"} 
[2026-10-05 07:30:01] local.INFO: Extracted packet for processing {"connection_id":204295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c5"} 
[2026-10-05 07:30:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":7,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538241024001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791165305000,"timestamp_ms":1791165305000,"timestamp_seconds":1791165305,"priority":1,"record_length":96,"hex_timestamp":"000001a109c590a8"} 
[2026-10-05 07:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:30:01] 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-10-05 07: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":173,"data_length":795,"current_offset":136} 
[2026-10-05 07:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 07: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-10-05 07:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538241024001,"66":25495,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538241024001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:30:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:30:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538241024001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":204295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:30:01] local.INFO: GPS data processed {"connection_id":204295,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:30:01] local.INFO: Acknowledgment sent {"connection_id":204295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:30:01] local.INFO: TCP Data received {"connection_id":207285,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:30:01] local.INFO: Processing buffer {"connection_id":207285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:30:01] local.INFO: IMEI packet received {"connection_id":207285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":207285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:30:04] local.INFO: TCP Data received {"connection_id":207285,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:30:04] local.INFO: Processing buffer {"connection_id":207285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:30:04] local.INFO: IMEI packet received {"connection_id":207285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":207285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:30:32] local.INFO: TCP Data received {"connection_id":204295,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:30:32] local.INFO: Processing buffer {"connection_id":204295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109c590a8012d7f91c005afd9f00007010125..."} 
[2026-10-05 07:30:32] local.INFO: Packet analysis {"connection_id":204295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109c5"} 
[2026-10-05 07:30:32] local.INFO: Extracted packet for processing {"connection_id":204295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109c5"} 
[2026-10-05 07:30:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":7,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538241024001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791165305000,"timestamp_ms":1791165305000,"timestamp_seconds":1791165305,"priority":1,"record_length":96,"hex_timestamp":"000001a109c590a8"} 
[2026-10-05 07:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:30:32] 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-10-05 07: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":173,"data_length":795,"current_offset":136} 
[2026-10-05 07:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 07: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-10-05 07:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538241024001,"66":25495,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538241024001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:30:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:30:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538241024001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":204295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:30:32] local.INFO: GPS data processed {"connection_id":204295,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:30:32] local.INFO: Acknowledgment sent {"connection_id":204295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:31:00] local.INFO: TCP Data received {"connection_id":207286,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:31:00] local.INFO: Processing buffer {"connection_id":207286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:31:00] local.INFO: IMEI packet received {"connection_id":207286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":207286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:31:06] local.INFO: TCP Data received {"connection_id":207286,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:31:06] local.INFO: Processing buffer {"connection_id":207286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:31:06] local.INFO: IMEI packet received {"connection_id":207286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":207286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:31:06] local.INFO: TCP Data received {"connection_id":207286,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:31:06] local.INFO: Processing buffer {"connection_id":207286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:31:06] local.INFO: Packet analysis {"connection_id":207286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ca"} 
[2026-10-05 07:31:06] local.INFO: Extracted packet for processing {"connection_id":207286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ca"} 
[2026-10-05 07:31:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":7,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538318080001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:31: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-10-05 07:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791165606000,"timestamp_ms":1791165606000,"timestamp_seconds":1791165606,"priority":1,"record_length":96,"hex_timestamp":"000001a109ca2870"} 
[2026-10-05 07:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:31:06] 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-10-05 07:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 07:31: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-10-05 07:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538318080001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538318080001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:31:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:31:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538318080001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":207286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:31:06] local.INFO: GPS data processed {"connection_id":207286,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:31:06] local.INFO: Acknowledgment sent {"connection_id":207286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:31:08] local.INFO: TCP Data received {"connection_id":204199,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204199,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:31:08] local.INFO: Processing buffer {"connection_id":204199,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:31:08] local.INFO: IMEI packet received {"connection_id":204199,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 07:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":204199,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:31:11] local.INFO: TCP Data received {"connection_id":207286,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:31:11] local.INFO: Processing buffer {"connection_id":207286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:31:11] local.INFO: Packet analysis {"connection_id":207286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ca"} 
[2026-10-05 07:31:11] local.INFO: Extracted packet for processing {"connection_id":207286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ca"} 
[2026-10-05 07:31:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":7,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538318080001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 07:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791165606000,"timestamp_ms":1791165606000,"timestamp_seconds":1791165606,"priority":1,"record_length":96,"hex_timestamp":"000001a109ca2870"} 
[2026-10-05 07:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:31:11] 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-10-05 07:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 07:31:11] 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-10-05 07:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538318080001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538318080001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:31:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538318080001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":207286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:31:11] local.INFO: GPS data processed {"connection_id":207286,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:31:11] local.INFO: Acknowledgment sent {"connection_id":207286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:31:48] local.INFO: TCP Data received {"connection_id":204296,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204296,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:31:48] local.INFO: Processing buffer {"connection_id":204296,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:31:48] local.INFO: IMEI packet received {"connection_id":204296,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 07:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":204296,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:31:55] local.INFO: TCP Data received {"connection_id":205733,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:31:55] local.INFO: Processing buffer {"connection_id":205733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:31:55] local.INFO: IMEI packet received {"connection_id":205733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":205733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:32:00] local.INFO: TCP Data received {"connection_id":205733,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:32:00] local.INFO: Processing buffer {"connection_id":205733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:32:00] local.INFO: IMEI packet received {"connection_id":205733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":205733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:32:01] local.INFO: TCP Data received {"connection_id":205733,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:32:01] local.INFO: Processing buffer {"connection_id":205733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:32:01] local.INFO: Packet analysis {"connection_id":205733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ca"} 
[2026-10-05 07:32:01] local.INFO: Extracted packet for processing {"connection_id":205733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ca"} 
[2026-10-05 07:32:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":7,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538318080001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791165606000,"timestamp_ms":1791165606000,"timestamp_seconds":1791165606,"priority":1,"record_length":96,"hex_timestamp":"000001a109ca2870"} 
[2026-10-05 07:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:32:01] 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-10-05 07:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 07:32: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-10-05 07: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-10-05 07:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:32: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-10-05 07:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538318080001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538318080001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:32:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:32:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538318080001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":205733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:32:01] local.INFO: GPS data processed {"connection_id":205733,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:32:01] local.INFO: Acknowledgment sent {"connection_id":205733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:32:32] local.INFO: TCP Data received {"connection_id":205733,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:32:32] local.INFO: Processing buffer {"connection_id":205733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:32:32] local.INFO: Packet analysis {"connection_id":205733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ca"} 
[2026-10-05 07:32:32] local.INFO: Extracted packet for processing {"connection_id":205733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ca"} 
[2026-10-05 07:32:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":7,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538318080001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:32: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-10-05 07:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791165606000,"timestamp_ms":1791165606000,"timestamp_seconds":1791165606,"priority":1,"record_length":96,"hex_timestamp":"000001a109ca2870"} 
[2026-10-05 07:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:32:32] 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-10-05 07: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 07:32:32] 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-10-05 07: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-10-05 07:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:32: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-10-05 07:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538318080001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538318080001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:32:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:32:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538318080001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":205733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:32:32] local.INFO: GPS data processed {"connection_id":205733,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:32:32] local.INFO: Acknowledgment sent {"connection_id":205733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:32:55] local.INFO: TCP Data received {"connection_id":204297,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:32:55] local.INFO: Processing buffer {"connection_id":204297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:32:55] local.INFO: IMEI packet received {"connection_id":204297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":204297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:33:00] local.INFO: TCP Data received {"connection_id":204297,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:33:00] local.INFO: Processing buffer {"connection_id":204297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:33:00] local.INFO: IMEI packet received {"connection_id":204297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":204297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:33:08] local.INFO: TCP Data received {"connection_id":204297,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:33:08] local.INFO: Processing buffer {"connection_id":204297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:33:08] local.INFO: Packet analysis {"connection_id":204297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ca"} 
[2026-10-05 07:33:08] local.INFO: Extracted packet for processing {"connection_id":204297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ca"} 
[2026-10-05 07:33:08] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":7,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538318080001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:33: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-10-05 07:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791165606000,"timestamp_ms":1791165606000,"timestamp_seconds":1791165606,"priority":1,"record_length":96,"hex_timestamp":"000001a109ca2870"} 
[2026-10-05 07:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:33: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-10-05 07: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 07:33:08] 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-10-05 07: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-10-05 07:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:33:08] 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-10-05 07:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538318080001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538318080001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:33:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:33:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538318080001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":204297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:33:08] local.INFO: GPS data processed {"connection_id":204297,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:33:08] local.INFO: Acknowledgment sent {"connection_id":204297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:33:39] local.INFO: TCP Data received {"connection_id":204297,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:33:39] local.INFO: Processing buffer {"connection_id":204297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:33:39] local.INFO: Packet analysis {"connection_id":204297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ca"} 
[2026-10-05 07:33:39] local.INFO: Extracted packet for processing {"connection_id":204297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ca"} 
[2026-10-05 07:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":7,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538318080001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 07:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791165606000,"timestamp_ms":1791165606000,"timestamp_seconds":1791165606,"priority":1,"record_length":96,"hex_timestamp":"000001a109ca2870"} 
[2026-10-05 07:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:33:39] 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-10-05 07:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 07:33:39] 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-10-05 07:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":204297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":204297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":204297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538318080001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538318080001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:33:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538318080001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":204297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:33:39] local.INFO: GPS data processed {"connection_id":204297,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:33:39] local.INFO: Acknowledgment sent {"connection_id":204297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:33:55] local.INFO: TCP Data received {"connection_id":204299,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:33:55] local.INFO: Processing buffer {"connection_id":204299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:33:55] local.INFO: IMEI packet received {"connection_id":204299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":204299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:34:00] local.INFO: TCP Data received {"connection_id":204299,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:34:00] local.INFO: Processing buffer {"connection_id":204299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:34:00] local.INFO: IMEI packet received {"connection_id":204299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":204299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:34:01] local.INFO: TCP Data received {"connection_id":204299,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:34:01] local.INFO: Processing buffer {"connection_id":204299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:34:01] local.INFO: Packet analysis {"connection_id":204299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ca"} 
[2026-10-05 07:34:01] local.INFO: Extracted packet for processing {"connection_id":204299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ca"} 
[2026-10-05 07:34:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":7,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538318080001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791165606000,"timestamp_ms":1791165606000,"timestamp_seconds":1791165606,"priority":1,"record_length":96,"hex_timestamp":"000001a109ca2870"} 
[2026-10-05 07:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:34:01] 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-10-05 07: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 07:34: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-10-05 07: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-10-05 07:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:34: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-10-05 07:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538318080001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538318080001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:34:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:34:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538318080001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":204299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:34:01] local.INFO: GPS data processed {"connection_id":204299,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:34:01] local.INFO: Acknowledgment sent {"connection_id":204299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:34:33] local.INFO: TCP Data received {"connection_id":204299,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:34:33] local.INFO: Processing buffer {"connection_id":204299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:34:33] local.INFO: Packet analysis {"connection_id":204299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ca"} 
[2026-10-05 07:34:33] local.INFO: Extracted packet for processing {"connection_id":204299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ca"} 
[2026-10-05 07:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":7,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538318080001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:34: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-10-05 07:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791165606000,"timestamp_ms":1791165606000,"timestamp_seconds":1791165606,"priority":1,"record_length":96,"hex_timestamp":"000001a109ca2870"} 
[2026-10-05 07:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:34:33] 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-10-05 07:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 07:34:33] 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-10-05 07:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:34:33] 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-10-05 07:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538318080001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538318080001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:34:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:34:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538318080001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":204299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:34:33] local.INFO: GPS data processed {"connection_id":204299,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:34:33] local.INFO: Acknowledgment sent {"connection_id":204299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:35:00] local.INFO: TCP Data received {"connection_id":207290,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:35:00] local.INFO: Processing buffer {"connection_id":207290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:35:00] local.INFO: IMEI packet received {"connection_id":207290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":207290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:35:05] local.INFO: TCP Data received {"connection_id":205736,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:35:05] local.INFO: Processing buffer {"connection_id":205736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:35:05] local.INFO: IMEI packet received {"connection_id":205736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":205736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:35:05] local.INFO: TCP Data received {"connection_id":207290,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:35:05] local.INFO: Processing buffer {"connection_id":207290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:35:05] local.INFO: IMEI packet received {"connection_id":207290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":207290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:35:06] local.INFO: TCP Data received {"connection_id":205736,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109ce2bc8012d7e1a8005e16540000400a922..."} 
[2026-10-05 07:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ce2bc8012d7e1a8005e16540000400a922..."} 
[2026-10-05 07:35:06] local.INFO: Processing buffer {"connection_id":205736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ce2bc8012d7e1a8005e16540000400a922..."} 
[2026-10-05 07:35:06] local.INFO: Packet analysis {"connection_id":205736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ce"} 
[2026-10-05 07:35:06] local.INFO: Extracted packet for processing {"connection_id":205736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ce"} 
[2026-10-05 07:35:06] local.INFO: GPS Element Parsed {"raw_longitude":763239040,"raw_latitude":98657600,"longitude_deg":76.323904,"latitude_deg":9.86576,"altitude":4,"angle":169,"satellites":34,"speed":33,"hex_longitude":"2d7e1a80","hex_latitude":"05e16540","is_valid_coordinates":true} 
[2026-10-05 07:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538461184001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139273230924906496,"note":"Value kept but may cause issues"} 
[2026-10-05 07:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086153010965833728,"note":"Value kept but may cause issues"} 
[2026-10-05 07:35:06] 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-10-05 07:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791165869000,"timestamp_ms":1791165869000,"timestamp_seconds":1791165869,"priority":1,"record_length":96,"hex_timestamp":"000001a109ce2bc8"} 
[2026-10-05 07:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 07:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 07:35:06] 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-10-05 07:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538461184001,"66":13493,"198":206,"85":15104,"24":33,"16":139273230924906496,"45":9086153010965833728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-10-05 07:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538461184001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:35:06] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-05 07:35:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139273230924906496,"km_value":139273230924906.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086153010965833728,"description":"Unknown IO ID 45"} 
[2026-10-05 07:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538461184001,"power":13493,"unknown_198":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9086153010965833728}} 
[2026-10-05 07:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":205736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966004,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:35:06] local.INFO: GPS data processed {"connection_id":205736,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:35:06] local.INFO: Acknowledgment sent {"connection_id":205736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:35:06] local.INFO: TCP Data received {"connection_id":207290,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:35:06] local.INFO: Processing buffer {"connection_id":207290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:35:06] local.INFO: Packet analysis {"connection_id":207290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ca"} 
[2026-10-05 07:35:06] local.INFO: Extracted packet for processing {"connection_id":207290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ca"} 
[2026-10-05 07:35:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":7,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538318080001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791165606000,"timestamp_ms":1791165606000,"timestamp_seconds":1791165606,"priority":1,"record_length":96,"hex_timestamp":"000001a109ca2870"} 
[2026-10-05 07:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:35:06] 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-10-05 07:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 07: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-10-05 07:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:35: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-10-05 07:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538318080001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538318080001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:35:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:35:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538318080001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":207290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:35:06] local.INFO: GPS data processed {"connection_id":207290,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:35:06] local.INFO: Acknowledgment sent {"connection_id":207290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:35:37] local.INFO: TCP Data received {"connection_id":205736,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109ce56c0012d7e1fc005e14140000300ab23..."} 
[2026-10-05 07:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ce56c0012d7e1fc005e14140000300ab23..."} 
[2026-10-05 07:35:37] local.INFO: Processing buffer {"connection_id":205736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ce56c0012d7e1fc005e14140000300ab23..."} 
[2026-10-05 07:35:37] local.INFO: Packet analysis {"connection_id":205736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ce"} 
[2026-10-05 07:35:37] local.INFO: Extracted packet for processing {"connection_id":205736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ce"} 
[2026-10-05 07:35:37] local.INFO: GPS Element Parsed {"raw_longitude":763240384,"raw_latitude":98648384,"longitude_deg":76.3240384,"latitude_deg":9.8648384,"altitude":3,"angle":171,"satellites":35,"speed":33,"hex_longitude":"2d7e1fc0","hex_latitude":"05e14140","is_valid_coordinates":true} 
[2026-10-05 07:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538462464001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139273681896472576,"note":"Value kept but may cause issues"} 
[2026-10-05 07:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086715960918097920,"note":"Value kept but may cause issues"} 
[2026-10-05 07:35: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-10-05 07:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791165880000,"timestamp_ms":1791165880000,"timestamp_seconds":1791165880,"priority":1,"record_length":96,"hex_timestamp":"000001a109ce56c0"} 
[2026-10-05 07:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:35:37] 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-10-05 07:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-10-05 07:35:37] 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-10-05 07:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538462464001,"66":13298,"105":206,"85":15104,"24":33,"16":139273681896472576,"45":9086715960918097920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-10-05 07:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538462464001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:35:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 07:35:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139273681896472576,"km_value":139273681896472.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086715960918097920,"description":"Unknown IO ID 45"} 
[2026-10-05 07:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538462464001,"power":13298,"unknown_105":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9086715960918097920}} 
[2026-10-05 07:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":205736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966006,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:35:37] local.INFO: GPS data processed {"connection_id":205736,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:35:37] local.INFO: Acknowledgment sent {"connection_id":205736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:35:37] local.INFO: TCP Data received {"connection_id":207290,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:35:37] local.INFO: Processing buffer {"connection_id":207290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ca2870012d7f91c005afd9f00007010124..."} 
[2026-10-05 07:35:37] local.INFO: Packet analysis {"connection_id":207290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ca"} 
[2026-10-05 07:35:37] local.INFO: Extracted packet for processing {"connection_id":207290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ca"} 
[2026-10-05 07:35:37] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":7,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538318080001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 07:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791165606000,"timestamp_ms":1791165606000,"timestamp_seconds":1791165606,"priority":1,"record_length":96,"hex_timestamp":"000001a109ca2870"} 
[2026-10-05 07:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:35:37] 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-10-05 07:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 07:35:37] 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-10-05 07:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538318080001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538318080001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:35:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:35:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538318080001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":207290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:35:37] local.INFO: GPS data processed {"connection_id":207290,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:35:37] local.INFO: Acknowledgment sent {"connection_id":207290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:35:55] local.INFO: TCP Data received {"connection_id":204201,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:35:55] local.INFO: Processing buffer {"connection_id":204201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:35:55] local.INFO: IMEI packet received {"connection_id":204201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":204201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:35:59] local.INFO: TCP Data received {"connection_id":204301,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204301,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:35:59] local.INFO: Processing buffer {"connection_id":204301,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:35:59] local.INFO: IMEI packet received {"connection_id":204301,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":204301,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:36:00] local.INFO: TCP Data received {"connection_id":204201,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:36:00] local.INFO: Processing buffer {"connection_id":204201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:36:00] local.INFO: IMEI packet received {"connection_id":204201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":204201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:36:01] local.INFO: TCP Data received {"connection_id":204201,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:36:01] local.INFO: Processing buffer {"connection_id":204201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:36:01] local.INFO: Packet analysis {"connection_id":204201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ce"} 
[2026-10-05 07:36:01] local.INFO: Extracted packet for processing {"connection_id":204201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ce"} 
[2026-10-05 07:36:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538395136001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:36: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-10-05 07:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791165907000,"timestamp_ms":1791165907000,"timestamp_seconds":1791165907,"priority":1,"record_length":96,"hex_timestamp":"000001a109cec038"} 
[2026-10-05 07:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:36:01] 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-10-05 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:36: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-10-05 07: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-10-05 07:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538395136001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 07:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538395136001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:36:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 07:36:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538395136001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":204201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:36:01] local.INFO: GPS data processed {"connection_id":204201,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:36:01] local.INFO: Acknowledgment sent {"connection_id":204201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:36:03] local.INFO: TCP Data received {"connection_id":204301,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204301,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:36:03] local.INFO: Processing buffer {"connection_id":204301,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:36:03] local.INFO: IMEI packet received {"connection_id":204301,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":204301,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:36:05] local.INFO: TCP Data received {"connection_id":204301,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204301,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:36:05] local.INFO: Processing buffer {"connection_id":204301,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:36:05] local.INFO: IMEI packet received {"connection_id":204301,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":204301,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:36:06] local.INFO: TCP Data received {"connection_id":204301,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109cf2d98012d7e2f4005e0aee80006008a21..."} 
[2026-10-05 07:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109cf2d98012d7e2f4005e0aee80006008a21..."} 
[2026-10-05 07:36:06] local.INFO: Processing buffer {"connection_id":204301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109cf2d98012d7e2f4005e0aee80006008a21..."} 
[2026-10-05 07:36:06] local.INFO: Packet analysis {"connection_id":204301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109cf"} 
[2026-10-05 07:36:06] local.INFO: Extracted packet for processing {"connection_id":204301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109cf"} 
[2026-10-05 07:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763244352,"raw_latitude":98610920,"longitude_deg":76.3244352,"latitude_deg":9.861092,"altitude":6,"angle":138,"satellites":33,"speed":30,"hex_longitude":"2d7e2f40","hex_latitude":"05e0aee8","is_valid_coordinates":true} 
[2026-10-05 07:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538477056001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139275734890840064,"note":"Value kept but may cause issues"} 
[2026-10-05 07:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086082642209507328,"note":"Value kept but may cause issues"} 
[2026-10-05 07:36:06] 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-10-05 07:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791165935000,"timestamp_ms":1791165935000,"timestamp_seconds":1791165935,"priority":1,"record_length":96,"hex_timestamp":"000001a109cf2d98"} 
[2026-10-05 07:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 07:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 07:36:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 07:36:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":-7410671891937738747,"note":"Value kept but may cause issues"} 
[2026-10-05 07:36:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-10-05 07:36:06] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13457513,"corrected_to":0} 
[2026-10-05 07:36:06] local.WARNING: Large IO value detected {"io_id":9,"raw_value":3469727745,"note":"Value kept but may cause issues"} 
[2026-10-05 07:36:06] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3747086341,"note":"Value kept but may cause issues"} 
[2026-10-05 07:36:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1483276494,"corrected_to":0} 
[2026-10-05 07:36:06] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2550214014,"note":"Value kept but may cause issues"} 
[2026-10-05 07:36:06] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252760,"note":"Value kept but may cause issues"} 
[2026-10-05 07:36:06] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3449225216,"note":"Value kept but may cause issues"} 
[2026-10-05 07:36:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3775064064,"note":"Value kept but may cause issues"} 
[2026-10-05 07:36:06] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57799578234017083,"note":"Value kept but may cause issues"} 
[2026-10-05 07:36:06] local.WARNING: Large IO value detected {"io_id":225,"raw_value":770115553473340672,"note":"Value kept but may cause issues"} 
[2026-10-05 07:36:06] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,85,24,241,157,16,206,161,2,45,128,192,7,35,10,66,250,195,6,239,64,1,240,247,227,9,224,4,113,205,28,176,19,40,37,50,238,5,41,138,225],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":247,"original":13457513,"validated":0},{"io_id":205,"original":1483276494,"validated":0}]} 
[2026-10-05 07:36:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504538552816041984,"timestamp_seconds":504538552816042.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 07:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538477056001,"66":13613,"105":206,"85":15104,"24":30,"16":139275734890840064,"45":9086082642209507328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-10-05 07:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538477056001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:36:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 07:36:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139275734890840064,"km_value":139275734890840.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086082642209507328,"description":"Unknown IO ID 45"} 
[2026-10-05 07:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538477056001,"power":13613,"unknown_105":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9086082642209507328}} 
[2026-10-05 07:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":204301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:36:06] local.INFO: GPS data processed {"connection_id":204301,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:36:06] local.INFO: Acknowledgment sent {"connection_id":204301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:36:33] local.INFO: TCP Data received {"connection_id":204201,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:36:33] local.INFO: Processing buffer {"connection_id":204201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:36:33] local.INFO: Packet analysis {"connection_id":204201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ce"} 
[2026-10-05 07:36:33] local.INFO: Extracted packet for processing {"connection_id":204201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ce"} 
[2026-10-05 07:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538395136001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:36: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-10-05 07:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791165907000,"timestamp_ms":1791165907000,"timestamp_seconds":1791165907,"priority":1,"record_length":96,"hex_timestamp":"000001a109cec038"} 
[2026-10-05 07:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:36:33] 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-10-05 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:36:33] 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-10-05 07: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-10-05 07:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538395136001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 07:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538395136001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:36:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 07:36:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538395136001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":204201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:36:33] local.INFO: GPS data processed {"connection_id":204201,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:36:33] local.INFO: Acknowledgment sent {"connection_id":204201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:36:37] local.INFO: TCP Data received {"connection_id":204301,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109cf3568012d7e328005e0a9800006009d23..."} 
[2026-10-05 07:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109cf3568012d7e328005e0a9800006009d23..."} 
[2026-10-05 07:36:37] local.INFO: Processing buffer {"connection_id":204301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109cf3568012d7e328005e0a9800006009d23..."} 
[2026-10-05 07:36:37] local.INFO: Packet analysis {"connection_id":204301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109cf"} 
[2026-10-05 07:36:37] local.INFO: Extracted packet for processing {"connection_id":204301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109cf"} 
[2026-10-05 07:36:37] local.INFO: GPS Element Parsed {"raw_longitude":763245184,"raw_latitude":98609536,"longitude_deg":76.3245184,"latitude_deg":9.8609536,"altitude":6,"angle":157,"satellites":35,"speed":33,"hex_longitude":"2d7e3280","hex_latitude":"05e0a980","is_valid_coordinates":true} 
[2026-10-05 07:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538479360001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139275816495218688,"note":"Value kept but may cause issues"} 
[2026-10-05 07:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092556566672893952,"note":"Value kept but may cause issues"} 
[2026-10-05 07:36: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-10-05 07:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791165937000,"timestamp_ms":1791165937000,"timestamp_seconds":1791165937,"priority":1,"record_length":96,"hex_timestamp":"000001a109cf3568"} 
[2026-10-05 07:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:36:37] 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-10-05 07:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-10-05 07:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 07:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538479360001,"66":13613,"105":206,"85":15104,"24":33,"16":139275816495218688,"45":9092556566672893952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-10-05 07:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538479360001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:36:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 07:36:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139275816495218688,"km_value":139275816495218.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092556566672893952,"description":"Unknown IO ID 45"} 
[2026-10-05 07:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538479360001,"power":13613,"unknown_105":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9092556566672893952}} 
[2026-10-05 07:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":204301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:36:37] local.INFO: GPS data processed {"connection_id":204301,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:36:37] local.INFO: Acknowledgment sent {"connection_id":204301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:36:55] local.INFO: TCP Data received {"connection_id":204202,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:36:55] local.INFO: Processing buffer {"connection_id":204202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:36:55] local.INFO: IMEI packet received {"connection_id":204202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":204202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:37:00] local.INFO: TCP Data received {"connection_id":204202,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:37:00] local.INFO: Processing buffer {"connection_id":204202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:37:00] local.INFO: IMEI packet received {"connection_id":204202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":204202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:37:02] local.INFO: TCP Data received {"connection_id":204202,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:37:02] local.INFO: Processing buffer {"connection_id":204202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:37:02] local.INFO: Packet analysis {"connection_id":204202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ce"} 
[2026-10-05 07:37:02] local.INFO: Extracted packet for processing {"connection_id":204202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ce"} 
[2026-10-05 07:37:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538395136001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:37:02] 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-10-05 07:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791165907000,"timestamp_ms":1791165907000,"timestamp_seconds":1791165907,"priority":1,"record_length":96,"hex_timestamp":"000001a109cec038"} 
[2026-10-05 07:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:37: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-10-05 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:37:02] 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-10-05 07:37: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-10-05 07:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:37: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-10-05 07:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538395136001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538395136001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:37:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 07:37:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538395136001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":204202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:37:02] local.INFO: GPS data processed {"connection_id":204202,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:37:02] local.INFO: Acknowledgment sent {"connection_id":204202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:37:04] local.INFO: TCP Data received {"connection_id":207291,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:37:04] local.INFO: Processing buffer {"connection_id":207291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:37:04] local.INFO: IMEI packet received {"connection_id":207291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":207291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:37:05] local.INFO: TCP Data received {"connection_id":207291,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:37:05] local.INFO: Processing buffer {"connection_id":207291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:37:05] local.INFO: IMEI packet received {"connection_id":207291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":207291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:37:10] local.INFO: TCP Data received {"connection_id":207291,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:37:10] local.INFO: Processing buffer {"connection_id":207291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:37:10] local.INFO: IMEI packet received {"connection_id":207291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":207291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:37:11] local.INFO: TCP Data received {"connection_id":207291,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109cf3d38012d7e340005e0a2c0000500ac21..."} 
[2026-10-05 07:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109cf3d38012d7e340005e0a2c0000500ac21..."} 
[2026-10-05 07:37:11] local.INFO: Processing buffer {"connection_id":207291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109cf3d38012d7e340005e0a2c0000500ac21..."} 
[2026-10-05 07:37:11] local.INFO: Packet analysis {"connection_id":207291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109cf"} 
[2026-10-05 07:37:11] local.INFO: Extracted packet for processing {"connection_id":207291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109cf"} 
[2026-10-05 07:37:11] local.INFO: GPS Element Parsed {"raw_longitude":763245568,"raw_latitude":98607808,"longitude_deg":76.3245568,"latitude_deg":9.8607808,"altitude":5,"angle":172,"satellites":33,"speed":36,"hex_longitude":"2d7e3400","hex_latitude":"05e0a2c0","is_valid_coordinates":true} 
[2026-10-05 07:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538479872001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139275898099597312,"note":"Value kept but may cause issues"} 
[2026-10-05 07:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093471360346849280,"note":"Value kept but may cause issues"} 
[2026-10-05 07:37:11] 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-10-05 07:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791165939000,"timestamp_ms":1791165939000,"timestamp_seconds":1791165939,"priority":1,"record_length":96,"hex_timestamp":"000001a109cf3d38"} 
[2026-10-05 07:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 07:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-10-05 07:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 07:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538479872001,"66":13580,"105":206,"85":15104,"24":36,"16":139275898099597312,"45":9093471360346849280},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-10-05 07:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538479872001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:37:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 07:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139275898099597312,"km_value":139275898099597.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093471360346849280,"description":"Unknown IO ID 45"} 
[2026-10-05 07:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538479872001,"power":13580,"unknown_105":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9093471360346849280}} 
[2026-10-05 07:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":207291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:37:11] local.INFO: GPS data processed {"connection_id":207291,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:37:11] local.INFO: Acknowledgment sent {"connection_id":207291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:37:15] local.INFO: TCP Data received {"connection_id":207291,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109cf6060012d7e3c0005e08050000600a323..."} 
[2026-10-05 07:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109cf6060012d7e3c0005e08050000600a323..."} 
[2026-10-05 07:37:15] local.INFO: Processing buffer {"connection_id":207291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109cf6060012d7e3c0005e08050000600a323..."} 
[2026-10-05 07:37:15] local.INFO: Packet analysis {"connection_id":207291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109cf"} 
[2026-10-05 07:37:15] local.INFO: Extracted packet for processing {"connection_id":207291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109cf"} 
[2026-10-05 07:37:15] local.INFO: GPS Element Parsed {"raw_longitude":763247616,"raw_latitude":98598992,"longitude_deg":76.3247616,"latitude_deg":9.8598992,"altitude":6,"angle":163,"satellites":35,"speed":42,"hex_longitude":"2d7e3c00","hex_latitude":"05e08050","is_valid_coordinates":true} 
[2026-10-05 07:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538480384001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139276340481228800,"note":"Value kept but may cause issues"} 
[2026-10-05 07:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093893572811472896,"note":"Value kept but may cause issues"} 
[2026-10-05 07:37:15] 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-10-05 07:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791165948000,"timestamp_ms":1791165948000,"timestamp_seconds":1791165948,"priority":1,"record_length":96,"hex_timestamp":"000001a109cf6060"} 
[2026-10-05 07:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 07:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 07:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751640269,"note":"Value kept but may cause issues"} 
[2026-10-05 07:37:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 07:37:15] local.WARNING: Large IO value detected {"io_id":53,"raw_value":7926561123774549589,"note":"Value kept but may cause issues"} 
[2026-10-05 07:37:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-1239026459201241088,"note":"Value kept but may cause issues"} 
[2026-10-05 07:37:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 07:37:15] local.WARNING: Large IO value detected {"io_id":9,"raw_value":3473055745,"note":"Value kept but may cause issues"} 
[2026-10-05 07:37:15] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3227516935,"note":"Value kept but may cause issues"} 
[2026-10-05 07:37:15] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635583937927273,"note":"Value kept but may cause issues"} 
[2026-10-05 07:37:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1483276494,"corrected_to":0} 
[2026-10-05 07:37:15] local.WARNING: Large IO value detected {"io_id":250,"raw_value":3489738110,"note":"Value kept but may cause issues"} 
[2026-10-05 07:37:15] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2147868867,"note":"Value kept but may cause issues"} 
[2026-10-05 07:37:15] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827416,"note":"Value kept but may cause issues"} 
[2026-10-05 07:37:15] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 07:37:15] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3458596864,"note":"Value kept but may cause issues"} 
[2026-10-05 07:37:15] local.WARNING: Large IO value detected {"io_id":126,"raw_value":1423143945626976261,"note":"Value kept but may cause issues"} 
[2026-10-05 07:37:15] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755519700271345,"note":"Value kept but may cause issues"} 
[2026-10-05 07:37:15] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,85,24,241,157,16,206,161,53,45,128,169,6,35,10,66,64,174,33,1,240,7,227,9,224,4,113,205,22,250,18,8,239,52,2,238,5,126,59],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1483276494,"validated":0}]} 
[2026-10-05 07:37:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360477227925897216,"timestamp_seconds":360477227925897.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 07:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538480384001,"66":13243,"105":206,"85":15104,"24":42,"16":139276340481228800,"45":9093893572811472896},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-10-05 07:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538480384001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:37:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 07:37:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139276340481228800,"km_value":139276340481228.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093893572811472896,"description":"Unknown IO ID 45"} 
[2026-10-05 07:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538480384001,"power":13243,"unknown_105":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9093893572811472896}} 
[2026-10-05 07:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":207291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:37:15] local.INFO: GPS data processed {"connection_id":207291,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:37:15] local.INFO: Acknowledgment sent {"connection_id":207291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:37:18] local.INFO: TCP Data received {"connection_id":205737,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205737,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:37:18] local.INFO: Processing buffer {"connection_id":205737,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:37:18] local.INFO: IMEI packet received {"connection_id":205737,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 07:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":205737,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:37:34] local.INFO: TCP Data received {"connection_id":204202,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:37:34] local.INFO: Processing buffer {"connection_id":204202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:37:34] local.INFO: Packet analysis {"connection_id":204202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ce"} 
[2026-10-05 07:37:34] local.INFO: Extracted packet for processing {"connection_id":204202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ce"} 
[2026-10-05 07:37:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538395136001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:37:34] 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-10-05 07:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791165907000,"timestamp_ms":1791165907000,"timestamp_seconds":1791165907,"priority":1,"record_length":96,"hex_timestamp":"000001a109cec038"} 
[2026-10-05 07:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:37:34] 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-10-05 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:37:34] 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-10-05 07: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-10-05 07:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":204202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":204202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":204202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:37: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-10-05 07:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538395136001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538395136001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:37:34] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 07:37:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538395136001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":204202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:37:34] local.INFO: GPS data processed {"connection_id":204202,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:37:34] local.INFO: Acknowledgment sent {"connection_id":204202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:37:43] local.INFO: TCP Data received {"connection_id":204302,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204302,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:37:43] local.INFO: Processing buffer {"connection_id":204302,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:37:43] local.INFO: IMEI packet received {"connection_id":204302,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 07:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":204302,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:37:55] local.INFO: TCP Data received {"connection_id":207292,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:37:55] local.INFO: Processing buffer {"connection_id":207292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:37:55] local.INFO: IMEI packet received {"connection_id":207292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":207292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:38:00] local.INFO: TCP Data received {"connection_id":207293,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:38:00] local.INFO: Processing buffer {"connection_id":207293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:38:00] local.INFO: IMEI packet received {"connection_id":207293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":207293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:38:00] local.INFO: TCP Data received {"connection_id":207292,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:38:00] local.INFO: Processing buffer {"connection_id":207292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:38:00] local.INFO: IMEI packet received {"connection_id":207292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":207292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:38:02] local.INFO: TCP Data received {"connection_id":207292,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:38:02] local.INFO: Processing buffer {"connection_id":207292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:38:02] local.INFO: Packet analysis {"connection_id":207292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ce"} 
[2026-10-05 07:38:02] local.INFO: Extracted packet for processing {"connection_id":207292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ce"} 
[2026-10-05 07:38:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538395136001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:38:02] 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-10-05 07:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791165907000,"timestamp_ms":1791165907000,"timestamp_seconds":1791165907,"priority":1,"record_length":96,"hex_timestamp":"000001a109cec038"} 
[2026-10-05 07:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:38: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-10-05 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:38:02] 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-10-05 07: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-10-05 07:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:38: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-10-05 07:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538395136001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538395136001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:38:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 07:38:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538395136001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":207292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:38:02] local.INFO: GPS data processed {"connection_id":207292,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:38:02] local.INFO: Acknowledgment sent {"connection_id":207292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:38:05] local.INFO: TCP Data received {"connection_id":207293,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:38:05] local.INFO: Processing buffer {"connection_id":207293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:38:05] local.INFO: IMEI packet received {"connection_id":207293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":207293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:38:06] local.INFO: TCP Data received {"connection_id":207293,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109d0fa88012d7e920005df48c00005009d24..."} 
[2026-10-05 07:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d0fa88012d7e920005df48c00005009d24..."} 
[2026-10-05 07:38:06] local.INFO: Processing buffer {"connection_id":207293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d0fa88012d7e920005df48c00005009d24..."} 
[2026-10-05 07:38:06] local.INFO: Packet analysis {"connection_id":207293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d0"} 
[2026-10-05 07:38:06] local.INFO: Extracted packet for processing {"connection_id":207293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d0"} 
[2026-10-05 07:38:06] local.INFO: GPS Element Parsed {"raw_longitude":763269632,"raw_latitude":98519232,"longitude_deg":76.3269632,"latitude_deg":9.8519232,"altitude":5,"angle":157,"satellites":36,"speed":36,"hex_longitude":"2d7e9200","hex_latitude":"05df48c0","is_valid_coordinates":true} 
[2026-10-05 07:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538507776001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139280364865585152,"note":"Value kept but may cause issues"} 
[2026-10-05 07:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9118381895764072448,"note":"Value kept but may cause issues"} 
[2026-10-05 07:38: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-10-05 07:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791166053000,"timestamp_ms":1791166053000,"timestamp_seconds":1791166053,"priority":1,"record_length":96,"hex_timestamp":"000001a109d0fa88"} 
[2026-10-05 07:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 07:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-10-05 07:38:06] 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-10-05 07:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538507776001,"66":13798,"207":206,"85":15104,"24":36,"16":139280364865585152,"45":9118381895764072448},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 07:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538507776001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:38:06] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 07:38:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139280364865585152,"km_value":139280364865585.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9118381895764072448,"description":"Unknown IO ID 45"} 
[2026-10-05 07:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538507776001,"power":13798,"unknown_207":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9118381895764072448}} 
[2026-10-05 07:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":207293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966017,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:38:06] local.INFO: GPS data processed {"connection_id":207293,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:38:06] local.INFO: Acknowledgment sent {"connection_id":207293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:38:33] local.INFO: TCP Data received {"connection_id":207292,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:38:33] local.INFO: Processing buffer {"connection_id":207292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:38:33] local.INFO: Packet analysis {"connection_id":207292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ce"} 
[2026-10-05 07:38:33] local.INFO: Extracted packet for processing {"connection_id":207292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ce"} 
[2026-10-05 07:38:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538395136001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:38: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-10-05 07:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791165907000,"timestamp_ms":1791165907000,"timestamp_seconds":1791165907,"priority":1,"record_length":96,"hex_timestamp":"000001a109cec038"} 
[2026-10-05 07:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:38:33] 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-10-05 07:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:38:33] 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-10-05 07:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:38: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-10-05 07:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538395136001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538395136001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:38:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 07:38:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538395136001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":207292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:38:33] local.INFO: GPS data processed {"connection_id":207292,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:38:33] local.INFO: Acknowledgment sent {"connection_id":207292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:38:37] local.INFO: TCP Data received {"connection_id":207293,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109d12968012d7ea14005df28900008009921..."} 
[2026-10-05 07:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d12968012d7ea14005df28900008009921..."} 
[2026-10-05 07:38:37] local.INFO: Processing buffer {"connection_id":207293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d12968012d7ea14005df28900008009921..."} 
[2026-10-05 07:38:37] local.INFO: Packet analysis {"connection_id":207293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d1"} 
[2026-10-05 07:38:37] local.INFO: Extracted packet for processing {"connection_id":207293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d1"} 
[2026-10-05 07:38:37] local.INFO: GPS Element Parsed {"raw_longitude":763273536,"raw_latitude":98510992,"longitude_deg":76.3273536,"latitude_deg":9.8510992,"altitude":8,"angle":153,"satellites":33,"speed":28,"hex_longitude":"2d7ea140","hex_latitude":"05df2890","is_valid_coordinates":true} 
[2026-10-05 07:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538509568001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139280807247216640,"note":"Value kept but may cause issues"} 
[2026-10-05 07:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9120352220599599104,"note":"Value kept but may cause issues"} 
[2026-10-05 07:38:37] 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-10-05 07:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791166065000,"timestamp_ms":1791166065000,"timestamp_seconds":1791166065,"priority":1,"record_length":96,"hex_timestamp":"000001a109d12968"} 
[2026-10-05 07:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 07:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 07:38:37] 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-10-05 07:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538509568001,"66":13765,"207":206,"85":15104,"24":28,"16":139280807247216640,"45":9120352220599599104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 07:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538509568001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:38:37] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 07:38:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139280807247216640,"km_value":139280807247216.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9120352220599599104,"description":"Unknown IO ID 45"} 
[2026-10-05 07:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538509568001,"power":13765,"unknown_207":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9120352220599599104}} 
[2026-10-05 07:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":207293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:38:37] local.INFO: GPS data processed {"connection_id":207293,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:38:37] local.INFO: Acknowledgment sent {"connection_id":207293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:39:00] local.INFO: TCP Data received {"connection_id":204304,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:39:00] local.INFO: Processing buffer {"connection_id":204304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:39:00] local.INFO: IMEI packet received {"connection_id":204304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":204304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:39:00] local.INFO: TCP Data received {"connection_id":204303,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:39:00] local.INFO: Processing buffer {"connection_id":204303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:39:00] local.INFO: IMEI packet received {"connection_id":204303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":204303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:39:05] local.INFO: TCP Data received {"connection_id":204304,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:39:05] local.INFO: Processing buffer {"connection_id":204304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:39:05] local.INFO: IMEI packet received {"connection_id":204304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":204304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:39:06] local.INFO: TCP Data received {"connection_id":204303,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:39:06] local.INFO: Processing buffer {"connection_id":204303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:39:06] local.INFO: IMEI packet received {"connection_id":204303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":204303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:39:06] local.INFO: TCP Data received {"connection_id":204303,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:39:06] local.INFO: Processing buffer {"connection_id":204303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:39:06] local.INFO: Packet analysis {"connection_id":204303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ce"} 
[2026-10-05 07:39:06] local.INFO: Extracted packet for processing {"connection_id":204303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ce"} 
[2026-10-05 07:39:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538395136001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:39:06] 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-10-05 07:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791165907000,"timestamp_ms":1791165907000,"timestamp_seconds":1791165907,"priority":1,"record_length":96,"hex_timestamp":"000001a109cec038"} 
[2026-10-05 07:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:39:06] 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-10-05 07:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:39:06] 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-10-05 07:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:39: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-10-05 07:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538395136001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538395136001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:39:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 07:39:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538395136001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":204303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:39:07] local.INFO: GPS data processed {"connection_id":204303,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:39:07] local.INFO: Acknowledgment sent {"connection_id":204303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:39:07] local.INFO: TCP Data received {"connection_id":204304,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109d148a8012d7eaac005df1630000a008d24..."} 
[2026-10-05 07:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d148a8012d7eaac005df1630000a008d24..."} 
[2026-10-05 07:39:07] local.INFO: Processing buffer {"connection_id":204304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d148a8012d7eaac005df1630000a008d24..."} 
[2026-10-05 07:39:07] local.INFO: Packet analysis {"connection_id":204304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d1"} 
[2026-10-05 07:39:07] local.INFO: Extracted packet for processing {"connection_id":204304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d1"} 
[2026-10-05 07:39:07] local.INFO: GPS Element Parsed {"raw_longitude":763275968,"raw_latitude":98506288,"longitude_deg":76.3275968,"latitude_deg":9.8506288,"altitude":10,"angle":141,"satellites":36,"speed":20,"hex_longitude":"2d7eaac0","hex_latitude":"05df1630","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538512640001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139281064945254400,"note":"Value kept but may cause issues"} 
[2026-10-05 07:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124644713992327168,"note":"Value kept but may cause issues"} 
[2026-10-05 07:39: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-10-05 07:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791166073000,"timestamp_ms":1791166073000,"timestamp_seconds":1791166073,"priority":1,"record_length":96,"hex_timestamp":"000001a109d148a8"} 
[2026-10-05 07:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 07: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-10-05 07:39:07] 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-10-05 07: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-10-05 07:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538512640001,"66":13656,"207":206,"85":15104,"24":20,"16":139281064945254400,"45":9124644713992327168},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 07:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538512640001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:39:07] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 07:39:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139281064945254400,"km_value":139281064945254.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124644713992327168,"description":"Unknown IO ID 45"} 
[2026-10-05 07:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538512640001,"power":13656,"unknown_207":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9124644713992327168}} 
[2026-10-05 07:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":204304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966021,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:39:07] local.INFO: GPS data processed {"connection_id":204304,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:39:07] local.INFO: Acknowledgment sent {"connection_id":204304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:39:11] local.INFO: TCP Data received {"connection_id":204303,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:39:11] local.INFO: Processing buffer {"connection_id":204303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:39:11] local.INFO: Packet analysis {"connection_id":204303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ce"} 
[2026-10-05 07:39:11] local.INFO: Extracted packet for processing {"connection_id":204303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ce"} 
[2026-10-05 07:39:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538395136001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:39:11] 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-10-05 07:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791165907000,"timestamp_ms":1791165907000,"timestamp_seconds":1791165907,"priority":1,"record_length":96,"hex_timestamp":"000001a109cec038"} 
[2026-10-05 07:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:39:11] 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-10-05 07:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:39:11] 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-10-05 07:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538395136001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538395136001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:39:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 07:39:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538395136001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":204303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:39:11] local.INFO: GPS data processed {"connection_id":204303,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:39:11] local.INFO: Acknowledgment sent {"connection_id":204303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:39:38] local.INFO: TCP Data received {"connection_id":204304,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109d18ef8012d7ec20005defc38000e008e24..."} 
[2026-10-05 07:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d18ef8012d7ec20005defc38000e008e24..."} 
[2026-10-05 07:39:38] local.INFO: Processing buffer {"connection_id":204304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d18ef8012d7ec20005defc38000e008e24..."} 
[2026-10-05 07:39:38] local.INFO: Packet analysis {"connection_id":204304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d1"} 
[2026-10-05 07:39:38] local.INFO: Extracted packet for processing {"connection_id":204304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d1"} 
[2026-10-05 07:39:38] local.INFO: GPS Element Parsed {"raw_longitude":763281920,"raw_latitude":98499640,"longitude_deg":76.328192,"latitude_deg":9.849964,"altitude":14,"angle":142,"satellites":36,"speed":37,"hex_longitude":"2d7ec200","hex_latitude":"05defc38","is_valid_coordinates":true} 
[2026-10-05 07:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538514688001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139281494441984000,"note":"Value kept but may cause issues"} 
[2026-10-05 07:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127318726269874176,"note":"Value kept but may cause issues"} 
[2026-10-05 07:39:38] 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-10-05 07:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791166091000,"timestamp_ms":1791166091000,"timestamp_seconds":1791166091,"priority":1,"record_length":96,"hex_timestamp":"000001a109d18ef8"} 
[2026-10-05 07:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 07:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-05 07:39:38] 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-10-05 07:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538514688001,"66":13798,"207":206,"85":15104,"24":37,"16":139281494441984000,"45":9127318726269874176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 07:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538514688001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:39:38] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 07:39:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139281494441984000,"km_value":139281494441984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127318726269874176,"description":"Unknown IO ID 45"} 
[2026-10-05 07:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538514688001,"power":13798,"unknown_207":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9127318726269874176}} 
[2026-10-05 07:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":204304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966023,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:39:38] local.INFO: GPS data processed {"connection_id":204304,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:39:38] local.INFO: Acknowledgment sent {"connection_id":204304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:39:55] local.INFO: TCP Data received {"connection_id":205739,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:39:55] local.INFO: Processing buffer {"connection_id":205739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:39:55] local.INFO: IMEI packet received {"connection_id":205739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":205739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:40:00] local.INFO: TCP Data received {"connection_id":204305,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:40:00] local.INFO: Processing buffer {"connection_id":204305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:40:00] local.INFO: IMEI packet received {"connection_id":204305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":204305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:40:00] local.INFO: TCP Data received {"connection_id":205739,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:40:00] local.INFO: Processing buffer {"connection_id":205739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:40:00] local.INFO: IMEI packet received {"connection_id":205739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":205739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:40:01] local.INFO: TCP Data received {"connection_id":204305,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:40:01] local.INFO: Processing buffer {"connection_id":204305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:40:01] local.INFO: IMEI packet received {"connection_id":204305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":204305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:40:01] local.INFO: TCP Data received {"connection_id":205739,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:40:01] local.INFO: Processing buffer {"connection_id":205739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:40:01] local.INFO: Packet analysis {"connection_id":205739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ce"} 
[2026-10-05 07:40:01] local.INFO: Extracted packet for processing {"connection_id":205739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ce"} 
[2026-10-05 07:40:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 07:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538395136001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:40: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-10-05 07:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791165907000,"timestamp_ms":1791165907000,"timestamp_seconds":1791165907,"priority":1,"record_length":96,"hex_timestamp":"000001a109cec038"} 
[2026-10-05 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-10-05 07:40:01] 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-10-05 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":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:40: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-10-05 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-10-05 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-10-05 07:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:40: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-10-05 07:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538395136001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538395136001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:40:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 07:40:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538395136001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":205739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:40:01] local.INFO: GPS data processed {"connection_id":205739,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:40:01] local.INFO: Acknowledgment sent {"connection_id":205739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:40:05] local.INFO: TCP Data received {"connection_id":204305,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:40:05] local.INFO: Processing buffer {"connection_id":204305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:40:05] local.INFO: IMEI packet received {"connection_id":204305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":204305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:40:06] local.INFO: TCP Data received {"connection_id":204305,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109d305f8012d7f1b4005dde8080005009c23..."} 
[2026-10-05 07:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d305f8012d7f1b4005dde8080005009c23..."} 
[2026-10-05 07:40:06] local.INFO: Processing buffer {"connection_id":204305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d305f8012d7f1b4005dde8080005009c23..."} 
[2026-10-05 07:40:06] local.INFO: Packet analysis {"connection_id":204305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:40:06] local.INFO: Extracted packet for processing {"connection_id":204305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:40:06] local.INFO: GPS Element Parsed {"raw_longitude":763304768,"raw_latitude":98428936,"longitude_deg":76.3304768,"latitude_deg":9.8428936,"altitude":5,"angle":156,"satellites":35,"speed":36,"hex_longitude":"2d7f1b40","hex_latitude":"05dde808","is_valid_coordinates":true} 
[2026-10-05 07:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538541312001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139285123689349120,"note":"Value kept but may cause issues"} 
[2026-10-05 07:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9155184748946550784,"note":"Value kept but may cause issues"} 
[2026-10-05 07:40:06] 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-10-05 07:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791166187000,"timestamp_ms":1791166187000,"timestamp_seconds":1791166187,"priority":1,"record_length":96,"hex_timestamp":"000001a109d305f8"} 
[2026-10-05 07:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 07:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-10-05 07:40:06] 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-10-05 07:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538541312001,"66":13624,"205":206,"85":15104,"24":36,"16":139285123689349120,"45":9155184748946550784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-10-05 07:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538541312001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:40:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139285123689349120,"km_value":139285123689349.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9155184748946550784,"description":"Unknown IO ID 45"} 
[2026-10-05 07:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538541312001,"power":13624,"cell_id":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9155184748946550784}} 
[2026-10-05 07:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":204305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:40:06] local.INFO: GPS data processed {"connection_id":204305,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:40:06] local.INFO: Acknowledgment sent {"connection_id":204305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:40:32] local.INFO: TCP Data received {"connection_id":205739,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:40:32] local.INFO: Processing buffer {"connection_id":205739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109cec038012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:40:32] local.INFO: Packet analysis {"connection_id":205739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ce"} 
[2026-10-05 07:40:32] local.INFO: Extracted packet for processing {"connection_id":205739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ce"} 
[2026-10-05 07:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538395136001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:40: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-10-05 07:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791165907000,"timestamp_ms":1791165907000,"timestamp_seconds":1791165907,"priority":1,"record_length":96,"hex_timestamp":"000001a109cec038"} 
[2026-10-05 07:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:40:32] 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-10-05 07:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:40:32] 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-10-05 07:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:40: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-10-05 07:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538395136001,"66":25549,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538395136001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:40:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 07:40:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538395136001,"power":25549,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":205739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:40:32] local.INFO: GPS data processed {"connection_id":205739,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:40:32] local.INFO: Acknowledgment sent {"connection_id":205739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:40:37] local.INFO: TCP Data received {"connection_id":204305,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109d31598012d7f228005dddb780006009023..."} 
[2026-10-05 07:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d31598012d7f228005dddb780006009023..."} 
[2026-10-05 07:40:37] local.INFO: Processing buffer {"connection_id":204305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d31598012d7f228005dddb780006009023..."} 
[2026-10-05 07:40:37] local.INFO: Packet analysis {"connection_id":204305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:40:37] local.INFO: Extracted packet for processing {"connection_id":204305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:40:37] local.INFO: GPS Element Parsed {"raw_longitude":763306624,"raw_latitude":98425720,"longitude_deg":76.3306624,"latitude_deg":9.842572,"altitude":6,"angle":144,"satellites":35,"speed":39,"hex_longitude":"2d7f2280","hex_latitude":"05dddb78","is_valid_coordinates":true} 
[2026-10-05 07:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538543872001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139285308372942848,"note":"Value kept but may cause issues"} 
[2026-10-05 07:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9158984661130020864,"note":"Value kept but may cause issues"} 
[2026-10-05 07:40:37] 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-10-05 07:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791166191000,"timestamp_ms":1791166191000,"timestamp_seconds":1791166191,"priority":1,"record_length":96,"hex_timestamp":"000001a109d31598"} 
[2026-10-05 07:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:40:37] 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-10-05 07:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-10-05 07:40:37] 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-10-05 07:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538543872001,"66":13820,"205":206,"85":15104,"24":39,"16":139285308372942848,"45":9158984661130020864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-10-05 07:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538543872001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:40:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139285308372942848,"km_value":139285308372942.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9158984661130020864,"description":"Unknown IO ID 45"} 
[2026-10-05 07:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538543872001,"power":13820,"cell_id":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9158984661130020864}} 
[2026-10-05 07:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":204305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966027,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:40:37] local.INFO: GPS data processed {"connection_id":204305,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:40:37] local.INFO: Acknowledgment sent {"connection_id":204305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:40:55] local.INFO: TCP Data received {"connection_id":207294,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:40:55] local.INFO: Processing buffer {"connection_id":207294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:40:55] local.INFO: IMEI packet received {"connection_id":207294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":207294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:40:59] local.INFO: TCP Data received {"connection_id":205740,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:40:59] local.INFO: Processing buffer {"connection_id":205740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:40:59] local.INFO: IMEI packet received {"connection_id":205740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":205740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:41:00] local.INFO: TCP Data received {"connection_id":207294,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:41:00] local.INFO: Processing buffer {"connection_id":207294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:41:00] local.INFO: IMEI packet received {"connection_id":207294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":207294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:41:01] local.INFO: TCP Data received {"connection_id":207294,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:41:01] local.INFO: Processing buffer {"connection_id":207294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:41:01] local.INFO: Packet analysis {"connection_id":207294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:41:01] local.INFO: Extracted packet for processing {"connection_id":207294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:41:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538472192001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:41: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-10-05 07:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791166208000,"timestamp_ms":1791166208000,"timestamp_seconds":1791166208,"priority":1,"record_length":96,"hex_timestamp":"000001a109d35800"} 
[2026-10-05 07:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:41:01] 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-10-05 07: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":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:41: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-10-05 07: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-10-05 07:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538472192001,"66":25538,"27":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-10-05 07:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538472192001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:41:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-10-05 07:41:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538472192001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":207294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:41:01] local.INFO: GPS data processed {"connection_id":207294,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:41:01] local.INFO: Acknowledgment sent {"connection_id":207294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:41:12] local.INFO: TCP Data received {"connection_id":205740,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:41:12] local.INFO: Processing buffer {"connection_id":205740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:41:12] local.INFO: IMEI packet received {"connection_id":205740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":205740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:41:13] local.INFO: TCP Data received {"connection_id":205740,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109d334d8012d7f340005ddc0b80006009b24..."} 
[2026-10-05 07:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d334d8012d7f340005ddc0b80006009b24..."} 
[2026-10-05 07:41:13] local.INFO: Processing buffer {"connection_id":205740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d334d8012d7f340005ddc0b80006009b24..."} 
[2026-10-05 07:41:13] local.INFO: Packet analysis {"connection_id":205740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:41:13] local.INFO: Extracted packet for processing {"connection_id":205740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:41:13] local.INFO: GPS Element Parsed {"raw_longitude":763311104,"raw_latitude":98418872,"longitude_deg":76.3311104,"latitude_deg":9.8418872,"altitude":6,"angle":155,"satellites":36,"speed":42,"hex_longitude":"2d7f3400","hex_latitude":"05ddc0b8","is_valid_coordinates":true} 
[2026-10-05 07:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538544896001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139285699214966784,"note":"Value kept but may cause issues"} 
[2026-10-05 07:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161025354710349824,"note":"Value kept but may cause issues"} 
[2026-10-05 07:41:13] 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-10-05 07:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791166199000,"timestamp_ms":1791166199000,"timestamp_seconds":1791166199,"priority":1,"record_length":96,"hex_timestamp":"000001a109d334d8"} 
[2026-10-05 07:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:41: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-10-05 07:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 07:41:13] 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-10-05 07:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":205740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":205740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":205740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538544896001,"66":13765,"205":206,"85":15104,"24":42,"16":139285699214966784,"45":9161025354710349824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-10-05 07:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538544896001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:41:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139285699214966784,"km_value":139285699214966.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161025354710349824,"description":"Unknown IO ID 45"} 
[2026-10-05 07:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538544896001,"power":13765,"cell_id":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9161025354710349824}} 
[2026-10-05 07:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":205740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966029,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:41:13] local.INFO: GPS data processed {"connection_id":205740,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:41:13] local.INFO: Acknowledgment sent {"connection_id":205740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:41:33] local.INFO: TCP Data received {"connection_id":207294,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:41:33] local.INFO: Processing buffer {"connection_id":207294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:41:33] local.INFO: Packet analysis {"connection_id":207294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:41:33] local.INFO: Extracted packet for processing {"connection_id":207294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538472192001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:41: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-10-05 07:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791166208000,"timestamp_ms":1791166208000,"timestamp_seconds":1791166208,"priority":1,"record_length":96,"hex_timestamp":"000001a109d35800"} 
[2026-10-05 07:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:41:33] 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-10-05 07:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:41:33] 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-10-05 07:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538472192001,"66":25538,"27":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-10-05 07:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538472192001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:41:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-10-05 07:41:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538472192001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":207294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:41:33] local.INFO: GPS data processed {"connection_id":207294,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:41:33] local.INFO: Acknowledgment sent {"connection_id":207294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:41:44] local.INFO: TCP Data received {"connection_id":205740,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109d4b790012d7fa4c005dc7e800003006d24..."} 
[2026-10-05 07:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d4b790012d7fa4c005dc7e800003006d24..."} 
[2026-10-05 07:41:44] local.INFO: Processing buffer {"connection_id":205740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d4b790012d7fa4c005dc7e800003006d24..."} 
[2026-10-05 07:41:44] local.INFO: Packet analysis {"connection_id":205740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d4"} 
[2026-10-05 07:41:44] local.INFO: Extracted packet for processing {"connection_id":205740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d4"} 
[2026-10-05 07:41:44] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":98336384,"longitude_deg":76.3339968,"latitude_deg":9.8336384,"altitude":3,"angle":109,"satellites":36,"speed":24,"hex_longitude":"2d7fa4c0","hex_latitude":"05dc7e80","is_valid_coordinates":true} 
[2026-10-05 07:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538572032001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139290024247033856,"note":"Value kept but may cause issues"} 
[2026-10-05 07:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197054151706494976,"note":"Value kept but may cause issues"} 
[2026-10-05 07:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 07:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791166298000,"timestamp_ms":1791166298000,"timestamp_seconds":1791166298,"priority":1,"record_length":96,"hex_timestamp":"000001a109d4b790"} 
[2026-10-05 07:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 07:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-10-05 07:41:44] 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-10-05 07:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":205740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":205740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":205740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538572032001,"66":13798,"53":206,"85":15104,"24":24,"16":139290024247033856,"45":9197054151706494976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-10-05 07:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538572032001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:41:44] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-10-05 07:41:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139290024247033856,"km_value":139290024247033.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197054151706494976,"description":"Unknown IO ID 45"} 
[2026-10-05 07:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538572032001,"power":13798,"unknown_53":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9197054151706494976}} 
[2026-10-05 07:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":205740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966031,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:41:44] local.INFO: GPS data processed {"connection_id":205740,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:41:44] local.INFO: Acknowledgment sent {"connection_id":205740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:41:59] local.INFO: TCP Data received {"connection_id":207296,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:41:59] local.INFO: Processing buffer {"connection_id":207296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:41:59] local.INFO: IMEI packet received {"connection_id":207296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":207296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:42:00] local.INFO: TCP Data received {"connection_id":204205,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:42:00] local.INFO: Processing buffer {"connection_id":204205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:42:00] local.INFO: IMEI packet received {"connection_id":204205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":204205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:42:05] local.INFO: TCP Data received {"connection_id":204205,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:42:05] local.INFO: Processing buffer {"connection_id":204205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:42:05] local.INFO: IMEI packet received {"connection_id":204205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":204205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:42:06] local.INFO: TCP Data received {"connection_id":204205,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:42:06] local.INFO: Processing buffer {"connection_id":204205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:42:06] local.INFO: Packet analysis {"connection_id":204205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:42:06] local.INFO: Extracted packet for processing {"connection_id":204205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:42:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538472192001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:42: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-10-05 07:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791166208000,"timestamp_ms":1791166208000,"timestamp_seconds":1791166208,"priority":1,"record_length":96,"hex_timestamp":"000001a109d35800"} 
[2026-10-05 07:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:42:06] 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-10-05 07:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:42:06] 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-10-05 07:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538472192001,"66":25538,"27":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538472192001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:42:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-10-05 07:42:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538472192001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":204205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:42:07] local.INFO: GPS data processed {"connection_id":204205,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:42:07] local.INFO: Acknowledgment sent {"connection_id":204205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:42:07] local.INFO: TCP Data received {"connection_id":207296,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:42:07] local.INFO: Processing buffer {"connection_id":207296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:42:07] local.INFO: IMEI packet received {"connection_id":207296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":207296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:42:08] local.INFO: TCP Data received {"connection_id":207296,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109d4bb78012d7fa78005dc7e280003006024..."} 
[2026-10-05 07:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d4bb78012d7fa78005dc7e280003006024..."} 
[2026-10-05 07:42:08] local.INFO: Processing buffer {"connection_id":207296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d4bb78012d7fa78005dc7e280003006024..."} 
[2026-10-05 07:42:08] local.INFO: Packet analysis {"connection_id":207296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d4"} 
[2026-10-05 07:42:08] local.INFO: Extracted packet for processing {"connection_id":207296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d4"} 
[2026-10-05 07:42:08] local.INFO: GPS Element Parsed {"raw_longitude":763340672,"raw_latitude":98336296,"longitude_deg":76.3340672,"latitude_deg":9.8336296,"altitude":3,"angle":96,"satellites":36,"speed":28,"hex_longitude":"2d7fa780","hex_latitude":"05dc7e28","is_valid_coordinates":true} 
[2026-10-05 07:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538572288001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139290054311804928,"note":"Value kept but may cause issues"} 
[2026-10-05 07:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687470404042752,"note":"Value kept but may cause issues"} 
[2026-10-05 07:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 07:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791166299000,"timestamp_ms":1791166299000,"timestamp_seconds":1791166299,"priority":1,"record_length":96,"hex_timestamp":"000001a109d4bb78"} 
[2026-10-05 07:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:42: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-10-05 07:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 07:42:08] 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-10-05 07:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538572288001,"66":13798,"53":206,"85":15104,"24":28,"16":139290054311804928,"45":9197687470404042752},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-10-05 07:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538572288001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:42:08] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-10-05 07:42:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139290054311804928,"km_value":139290054311804.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687470404042752,"description":"Unknown IO ID 45"} 
[2026-10-05 07:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538572288001,"power":13798,"unknown_53":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9197687470404042752}} 
[2026-10-05 07:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":207296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:42:08] local.INFO: GPS data processed {"connection_id":207296,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:42:08] local.INFO: Acknowledgment sent {"connection_id":207296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:42:38] local.INFO: TCP Data received {"connection_id":204205,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:42:38] local.INFO: Processing buffer {"connection_id":204205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:42:38] local.INFO: Packet analysis {"connection_id":204205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:42:38] local.INFO: Extracted packet for processing {"connection_id":204205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:42:38] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:42: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-10-05 07:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538472192001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:42:38] 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-10-05 07:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791166208000,"timestamp_ms":1791166208000,"timestamp_seconds":1791166208,"priority":1,"record_length":96,"hex_timestamp":"000001a109d35800"} 
[2026-10-05 07:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:42:38] 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-10-05 07:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:42:38] 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-10-05 07:42: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-10-05 07:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538472192001,"66":25538,"27":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538472192001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:42:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-10-05 07:42:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538472192001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":204205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:42:38] local.INFO: GPS data processed {"connection_id":204205,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:42:38] local.INFO: Acknowledgment sent {"connection_id":204205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:42:38] local.INFO: TCP Data received {"connection_id":207296,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109d57ae0012d80720005dc9f800006007b22..."} 
[2026-10-05 07:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d57ae0012d80720005dc9f800006007b22..."} 
[2026-10-05 07:42:38] local.INFO: Processing buffer {"connection_id":207296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d57ae0012d80720005dc9f800006007b22..."} 
[2026-10-05 07:42:38] local.INFO: Packet analysis {"connection_id":207296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d5"} 
[2026-10-05 07:42:38] local.INFO: Extracted packet for processing {"connection_id":207296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d5"} 
[2026-10-05 07:42:38] local.INFO: GPS Element Parsed {"raw_longitude":763392512,"raw_latitude":98344832,"longitude_deg":76.3392512,"latitude_deg":9.8344832,"altitude":6,"angle":123,"satellites":34,"speed":9,"hex_longitude":"2d807200","hex_latitude":"05dc9f80","is_valid_coordinates":true} 
[2026-10-05 07:42: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-10-05 07:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538584320001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139292648472051712,"note":"Value kept but may cause issues"} 
[2026-10-05 07:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192128289263409152,"note":"Value kept but may cause issues"} 
[2026-10-05 07:42:38] 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-10-05 07:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791166348000,"timestamp_ms":1791166348000,"timestamp_seconds":1791166348,"priority":1,"record_length":96,"hex_timestamp":"000001a109d57ae0"} 
[2026-10-05 07:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 07:42: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":221,"data_length":795,"current_offset":136} 
[2026-10-05 07:42:38] 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-10-05 07:42: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-10-05 07:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538584320001,"66":13048,"251":206,"85":15104,"24":9,"16":139292648472051712,"45":-9192128289263409152},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-10-05 07:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538584320001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:42:38] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-05 07:42:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139292648472051712,"km_value":139292648472051.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192128289263409152,"description":"Unknown IO ID 45"} 
[2026-10-05 07:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538584320001,"power":13048,"unknown_251":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9192128289263409152}} 
[2026-10-05 07:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":207296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:42:38] local.INFO: GPS data processed {"connection_id":207296,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:42:38] local.INFO: Acknowledgment sent {"connection_id":207296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:42:55] local.INFO: TCP Data received {"connection_id":205742,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:42:55] local.INFO: Processing buffer {"connection_id":205742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:42:55] local.INFO: IMEI packet received {"connection_id":205742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":205742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:42:59] local.INFO: TCP Data received {"connection_id":205743,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:42:59] local.INFO: Processing buffer {"connection_id":205743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:42:59] local.INFO: IMEI packet received {"connection_id":205743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":205743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:43:00] local.INFO: TCP Data received {"connection_id":205742,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:43:00] local.INFO: Processing buffer {"connection_id":205742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:43:00] local.INFO: IMEI packet received {"connection_id":205742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":205742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:43:02] local.INFO: TCP Data received {"connection_id":205742,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:43:02] local.INFO: Processing buffer {"connection_id":205742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:43:02] local.INFO: Packet analysis {"connection_id":205742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:43:02] local.INFO: Extracted packet for processing {"connection_id":205742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:43:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538472192001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:43:02] 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-10-05 07:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791166208000,"timestamp_ms":1791166208000,"timestamp_seconds":1791166208,"priority":1,"record_length":96,"hex_timestamp":"000001a109d35800"} 
[2026-10-05 07:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:43: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-10-05 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:43: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-10-05 07: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-10-05 07:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:43: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-10-05 07:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538472192001,"66":25538,"27":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538472192001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:43:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-10-05 07:43:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538472192001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":205742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:43:02] local.INFO: GPS data processed {"connection_id":205742,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:43:02] local.INFO: Acknowledgment sent {"connection_id":205742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:43:03] local.INFO: TCP Data received {"connection_id":205741,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:43:03] local.INFO: Processing buffer {"connection_id":205741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:43:03] local.INFO: IMEI packet received {"connection_id":205741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 07:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":205741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:43:05] local.INFO: TCP Data received {"connection_id":205743,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:43:05] local.INFO: Processing buffer {"connection_id":205743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:43:05] local.INFO: IMEI packet received {"connection_id":205743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":205743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:43:05] local.INFO: TCP Data received {"connection_id":205743,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109d57ec8012d80730005dc9f780006005d22..."} 
[2026-10-05 07:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d57ec8012d80730005dc9f780006005d22..."} 
[2026-10-05 07:43:05] local.INFO: Processing buffer {"connection_id":205743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d57ec8012d80730005dc9f780006005d22..."} 
[2026-10-05 07:43:05] local.INFO: Packet analysis {"connection_id":205743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d5"} 
[2026-10-05 07:43:05] local.INFO: Extracted packet for processing {"connection_id":205743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d5"} 
[2026-10-05 07:43:05] local.INFO: GPS Element Parsed {"raw_longitude":763392768,"raw_latitude":98344824,"longitude_deg":76.3392768,"latitude_deg":9.8344824,"altitude":6,"angle":93,"satellites":34,"speed":9,"hex_longitude":"2d807300","hex_latitude":"05dc9f78","is_valid_coordinates":true} 
[2026-10-05 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-10-05 07:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538585088001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139292665651920896,"note":"Value kept but may cause issues"} 
[2026-10-05 07:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191283864333484032,"note":"Value kept but may cause issues"} 
[2026-10-05 07:43:05] 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-10-05 07:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791166349000,"timestamp_ms":1791166349000,"timestamp_seconds":1791166349,"priority":1,"record_length":96,"hex_timestamp":"000001a109d57ec8"} 
[2026-10-05 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-10-05 07:43: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-10-05 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 07:43:05] 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-10-05 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-10-05 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-10-05 07:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538585088001,"66":13048,"251":206,"85":15104,"24":9,"16":139292665651920896,"45":-9191283864333484032},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-10-05 07:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538585088001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:43:05] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-05 07:43:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139292665651920896,"km_value":139292665651920.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191283864333484032,"description":"Unknown IO ID 45"} 
[2026-10-05 07:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538585088001,"power":13048,"unknown_251":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9191283864333484032}} 
[2026-10-05 07:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":205743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966037,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:43:05] local.INFO: GPS data processed {"connection_id":205743,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:43:05] local.INFO: Acknowledgment sent {"connection_id":205743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:43:06] local.INFO: TCP Data received {"connection_id":205742,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:43:06] local.INFO: Processing buffer {"connection_id":205742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:43:06] local.INFO: Packet analysis {"connection_id":205742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:43:06] local.INFO: Extracted packet for processing {"connection_id":205742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:43:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 07:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538472192001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:43: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-10-05 07:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791166208000,"timestamp_ms":1791166208000,"timestamp_seconds":1791166208,"priority":1,"record_length":96,"hex_timestamp":"000001a109d35800"} 
[2026-10-05 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-10-05 07:43:06] 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-10-05 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:43:06] 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-10-05 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-10-05 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-10-05 07:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:43: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-10-05 07:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538472192001,"66":25538,"27":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538472192001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:43:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-10-05 07:43:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538472192001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":205742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:43:06] local.INFO: GPS data processed {"connection_id":205742,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:43:06] local.INFO: Acknowledgment sent {"connection_id":205742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:43:36] local.INFO: TCP Data received {"connection_id":205743,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109d582b0012d80740005dc9fc00006004e22..."} 
[2026-10-05 07:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d582b0012d80740005dc9fc00006004e22..."} 
[2026-10-05 07:43:36] local.INFO: Processing buffer {"connection_id":205743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d582b0012d80740005dc9fc00006004e22..."} 
[2026-10-05 07:43:36] local.INFO: Packet analysis {"connection_id":205743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d5"} 
[2026-10-05 07:43:36] local.INFO: Extracted packet for processing {"connection_id":205743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d5"} 
[2026-10-05 07:43:36] local.INFO: GPS Element Parsed {"raw_longitude":763393024,"raw_latitude":98344896,"longitude_deg":76.3393024,"latitude_deg":9.8344896,"altitude":6,"angle":78,"satellites":34,"speed":13,"hex_longitude":"2d807400","hex_latitude":"05dc9fc0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538585344001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139292678536822784,"note":"Value kept but may cause issues"} 
[2026-10-05 07:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191002389356775424,"note":"Value kept but may cause issues"} 
[2026-10-05 07:43:36] 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-10-05 07:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791166350000,"timestamp_ms":1791166350000,"timestamp_seconds":1791166350,"priority":1,"record_length":96,"hex_timestamp":"000001a109d582b0"} 
[2026-10-05 07:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:43: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-10-05 07: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 07:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 07:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538585344001,"66":13526,"251":206,"85":15104,"24":13,"16":139292678536822784,"45":-9191002389356775424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-10-05 07:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538585344001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:43:36] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-05 07:43:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139292678536822784,"km_value":139292678536822.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191002389356775424,"description":"Unknown IO ID 45"} 
[2026-10-05 07:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538585344001,"power":13526,"unknown_251":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9191002389356775424}} 
[2026-10-05 07:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":205743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:43:37] local.INFO: GPS data processed {"connection_id":205743,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:43:37] local.INFO: Acknowledgment sent {"connection_id":205743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:43:37] local.INFO: TCP Data received {"connection_id":205742,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:43:37] local.INFO: Processing buffer {"connection_id":205742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:43:37] local.INFO: Packet analysis {"connection_id":205742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:43:37] local.INFO: Extracted packet for processing {"connection_id":205742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:43:37] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538472192001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:43:37] 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-10-05 07:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791166208000,"timestamp_ms":1791166208000,"timestamp_seconds":1791166208,"priority":1,"record_length":96,"hex_timestamp":"000001a109d35800"} 
[2026-10-05 07:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:43:37] 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-10-05 07:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:43:37] 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-10-05 07:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538472192001,"66":25538,"27":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538472192001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:43:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-10-05 07:43:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538472192001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":205742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:43:37] local.INFO: GPS data processed {"connection_id":205742,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:43:37] local.INFO: Acknowledgment sent {"connection_id":205742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:43:42] local.INFO: TCP Data received {"connection_id":205744,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:43:42] local.INFO: Processing buffer {"connection_id":205744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:43:42] local.INFO: IMEI packet received {"connection_id":205744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 07:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":205744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:43:55] local.INFO: TCP Data received {"connection_id":205745,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:43:55] local.INFO: Processing buffer {"connection_id":205745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:43:55] local.INFO: IMEI packet received {"connection_id":205745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":205745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:44:00] local.INFO: TCP Data received {"connection_id":207297,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:44:00] local.INFO: Processing buffer {"connection_id":207297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:44:00] local.INFO: IMEI packet received {"connection_id":207297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":207297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:44:00] local.INFO: TCP Data received {"connection_id":205745,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:44:00] local.INFO: Processing buffer {"connection_id":205745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:44:00] local.INFO: IMEI packet received {"connection_id":205745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":205745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:44:01] local.INFO: TCP Data received {"connection_id":205745,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:44:01] local.INFO: Processing buffer {"connection_id":205745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:44:01] local.INFO: Packet analysis {"connection_id":205745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:44:01] local.INFO: Extracted packet for processing {"connection_id":205745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:44:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538472192001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:44: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-10-05 07:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791166208000,"timestamp_ms":1791166208000,"timestamp_seconds":1791166208,"priority":1,"record_length":96,"hex_timestamp":"000001a109d35800"} 
[2026-10-05 07:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:44:01] 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-10-05 07: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":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:44: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-10-05 07: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-10-05 07:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07: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-10-05 07:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538472192001,"66":25538,"27":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538472192001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:44:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-10-05 07:44:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538472192001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":205745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:44:01] local.INFO: GPS data processed {"connection_id":205745,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:44:01] local.INFO: Acknowledgment sent {"connection_id":205745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:44:04] local.INFO: TCP Data received {"connection_id":207297,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:44:04] local.INFO: Processing buffer {"connection_id":207297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:44:04] local.INFO: IMEI packet received {"connection_id":207297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":207297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:44:05] local.INFO: TCP Data received {"connection_id":207297,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109d5b190012d8084c005dca3f80008003f23..."} 
[2026-10-05 07:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d5b190012d8084c005dca3f80008003f23..."} 
[2026-10-05 07:44:05] local.INFO: Processing buffer {"connection_id":207297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d5b190012d8084c005dca3f80008003f23..."} 
[2026-10-05 07:44:05] local.INFO: Packet analysis {"connection_id":207297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d5"} 
[2026-10-05 07:44:05] local.INFO: Extracted packet for processing {"connection_id":207297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d5"} 
[2026-10-05 07:44:05] local.INFO: GPS Element Parsed {"raw_longitude":763397312,"raw_latitude":98345976,"longitude_deg":76.3397312,"latitude_deg":9.8345976,"altitude":8,"angle":63,"satellites":35,"speed":9,"hex_longitude":"2d8084c0","hex_latitude":"05dca3f8","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538585600001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139292888990220288,"note":"Value kept but may cause issues"} 
[2026-10-05 07:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190720914380046336,"note":"Value kept but may cause issues"} 
[2026-10-05 07:44:05] 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-10-05 07:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791166362000,"timestamp_ms":1791166362000,"timestamp_seconds":1791166362,"priority":1,"record_length":96,"hex_timestamp":"000001a109d5b190"} 
[2026-10-05 07:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:44: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-10-05 07: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-05 07:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 07: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-10-05 07:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538585600001,"66":13798,"251":206,"85":15104,"24":9,"16":139292888990220288,"45":-9190720914380046336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-10-05 07:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538585600001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:44:05] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-05 07:44:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139292888990220288,"km_value":139292888990220.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190720914380046336,"description":"Unknown IO ID 45"} 
[2026-10-05 07:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538585600001,"power":13798,"unknown_251":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9190720914380046336}} 
[2026-10-05 07:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":207297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:44:05] local.INFO: GPS data processed {"connection_id":207297,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:44:05] local.INFO: Acknowledgment sent {"connection_id":207297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:44:33] local.INFO: TCP Data received {"connection_id":205745,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:44:33] local.INFO: Processing buffer {"connection_id":205745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:44:33] local.INFO: Packet analysis {"connection_id":205745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:44:33] local.INFO: Extracted packet for processing {"connection_id":205745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:44:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538472192001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:44: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-10-05 07:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791166208000,"timestamp_ms":1791166208000,"timestamp_seconds":1791166208,"priority":1,"record_length":96,"hex_timestamp":"000001a109d35800"} 
[2026-10-05 07:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:44:33] 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-10-05 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:44:33] 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-10-05 07: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-10-05 07:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:44: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-10-05 07:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538472192001,"66":25538,"27":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538472192001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:44:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-10-05 07:44:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538472192001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":205745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:44:33] local.INFO: GPS data processed {"connection_id":205745,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:44:33] local.INFO: Acknowledgment sent {"connection_id":205745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:44:36] local.INFO: TCP Data received {"connection_id":207297,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109d5d4b8012d808ec005dca7a80008004c25..."} 
[2026-10-05 07:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d5d4b8012d808ec005dca7a80008004c25..."} 
[2026-10-05 07:44:36] local.INFO: Processing buffer {"connection_id":207297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d5d4b8012d808ec005dca7a80008004c25..."} 
[2026-10-05 07:44:36] local.INFO: Packet analysis {"connection_id":207297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d5"} 
[2026-10-05 07:44:36] local.INFO: Extracted packet for processing {"connection_id":207297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d5"} 
[2026-10-05 07:44:36] local.INFO: GPS Element Parsed {"raw_longitude":763399872,"raw_latitude":98346920,"longitude_deg":76.3399872,"latitude_deg":9.834692,"altitude":8,"angle":76,"satellites":37,"speed":12,"hex_longitude":"2d808ec0","hex_latitude":"05dca7a8","is_valid_coordinates":true} 
[2026-10-05 07:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538588672001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139293022134206464,"note":"Value kept but may cause issues"} 
[2026-10-05 07:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9186006208519866368,"note":"Value kept but may cause issues"} 
[2026-10-05 07:44:36] 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-10-05 07:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791166371000,"timestamp_ms":1791166371000,"timestamp_seconds":1791166371,"priority":1,"record_length":96,"hex_timestamp":"000001a109d5d4b8"} 
[2026-10-05 07:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 07:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 07:44:36] 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-10-05 07:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538588672001,"66":13678,"251":206,"85":15104,"24":12,"16":139293022134206464,"45":-9186006208519866368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-10-05 07:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538588672001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:44:36] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-05 07:44:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139293022134206464,"km_value":139293022134206.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9186006208519866368,"description":"Unknown IO ID 45"} 
[2026-10-05 07:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538588672001,"power":13678,"unknown_251":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9186006208519866368}} 
[2026-10-05 07:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":207297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:44:36] local.INFO: GPS data processed {"connection_id":207297,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:44:36] local.INFO: Acknowledgment sent {"connection_id":207297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:44:55] local.INFO: TCP Data received {"connection_id":207298,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:44:55] local.INFO: Processing buffer {"connection_id":207298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:44:55] local.INFO: IMEI packet received {"connection_id":207298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":207298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:45:00] local.INFO: TCP Data received {"connection_id":207299,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:45:00] local.INFO: Processing buffer {"connection_id":207299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:45:00] local.INFO: IMEI packet received {"connection_id":207299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":207299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:45:00] local.INFO: TCP Data received {"connection_id":207298,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:45:00] local.INFO: Processing buffer {"connection_id":207298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:45:00] local.INFO: IMEI packet received {"connection_id":207298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":207298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:45:01] local.INFO: TCP Data received {"connection_id":207298,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:45:01] local.INFO: Processing buffer {"connection_id":207298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:45:01] local.INFO: Packet analysis {"connection_id":207298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:45:01] local.INFO: Extracted packet for processing {"connection_id":207298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:45:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 07:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538472192001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:45: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-10-05 07:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791166208000,"timestamp_ms":1791166208000,"timestamp_seconds":1791166208,"priority":1,"record_length":96,"hex_timestamp":"000001a109d35800"} 
[2026-10-05 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-10-05 07:45:01] 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-10-05 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":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:45: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-10-05 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-10-05 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-10-05 07:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:45: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-10-05 07:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538472192001,"66":25538,"27":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538472192001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:45:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-10-05 07:45:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538472192001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":207298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:45:01] local.INFO: GPS data processed {"connection_id":207298,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:45:01] local.INFO: Acknowledgment sent {"connection_id":207298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:45:04] local.INFO: TCP Data received {"connection_id":207299,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:45:04] local.INFO: Processing buffer {"connection_id":207299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:45:04] local.INFO: IMEI packet received {"connection_id":207299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":207299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:45:05] local.INFO: TCP Data received {"connection_id":207299,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109d5d8a0012d80900005dca8100008004025..."} 
[2026-10-05 07:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d5d8a0012d80900005dca8100008004025..."} 
[2026-10-05 07:45:05] local.INFO: Processing buffer {"connection_id":207299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d5d8a0012d80900005dca8100008004025..."} 
[2026-10-05 07:45:05] local.INFO: Packet analysis {"connection_id":207299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d5"} 
[2026-10-05 07:45:05] local.INFO: Extracted packet for processing {"connection_id":207299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d5"} 
[2026-10-05 07:45:05] local.INFO: GPS Element Parsed {"raw_longitude":763400192,"raw_latitude":98347024,"longitude_deg":76.3400192,"latitude_deg":9.8347024,"altitude":8,"angle":64,"satellites":37,"speed":13,"hex_longitude":"2d809000","hex_latitude":"05dca810","is_valid_coordinates":true} 
[2026-10-05 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-10-05 07:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538590976001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139293035019108352,"note":"Value kept but may cause issues"} 
[2026-10-05 07:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9183191458752518144,"note":"Value kept but may cause issues"} 
[2026-10-05 07:45:05] 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-10-05 07:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791166372000,"timestamp_ms":1791166372000,"timestamp_seconds":1791166372,"priority":1,"record_length":96,"hex_timestamp":"000001a109d5d8a0"} 
[2026-10-05 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-10-05 07:45: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-10-05 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 07:45:05] 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-10-05 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-10-05 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-10-05 07:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538590976001,"66":12841,"251":206,"85":15104,"24":13,"16":139293035019108352,"45":-9183191458752518144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-10-05 07:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538590976001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:45:05] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-05 07:45:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139293035019108352,"km_value":139293035019108.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9183191458752518144,"description":"Unknown IO ID 45"} 
[2026-10-05 07:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538590976001,"power":12841,"unknown_251":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9183191458752518144}} 
[2026-10-05 07:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":207299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:45:05] local.INFO: GPS data processed {"connection_id":207299,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:45:05] local.INFO: Acknowledgment sent {"connection_id":207299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:45:33] local.INFO: TCP Data received {"connection_id":207298,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:45:33] local.INFO: Processing buffer {"connection_id":207298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d35800012d7f91c005afd9f0000501011f..."} 
[2026-10-05 07:45:33] local.INFO: Packet analysis {"connection_id":207298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:45:33] local.INFO: Extracted packet for processing {"connection_id":207298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d3"} 
[2026-10-05 07:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":5,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538472192001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:45: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-10-05 07:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791166208000,"timestamp_ms":1791166208000,"timestamp_seconds":1791166208,"priority":1,"record_length":96,"hex_timestamp":"000001a109d35800"} 
[2026-10-05 07:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:45:33] 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-10-05 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:45:33] 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-10-05 07: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-10-05 07:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538472192001,"66":25538,"27":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538472192001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:45:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-10-05 07:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538472192001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":207298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:45:33] local.INFO: GPS data processed {"connection_id":207298,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:45:33] local.INFO: Acknowledgment sent {"connection_id":207298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:45:36] local.INFO: TCP Data received {"connection_id":207299,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109d5dc88012d80914005dca8c80008003525..."} 
[2026-10-05 07:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d5dc88012d80914005dca8c80008003525..."} 
[2026-10-05 07:45:36] local.INFO: Processing buffer {"connection_id":207299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d5dc88012d80914005dca8c80008003525..."} 
[2026-10-05 07:45:36] local.INFO: Packet analysis {"connection_id":207299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d5"} 
[2026-10-05 07:45:36] local.INFO: Extracted packet for processing {"connection_id":207299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d5"} 
[2026-10-05 07:45:36] local.INFO: GPS Element Parsed {"raw_longitude":763400512,"raw_latitude":98347208,"longitude_deg":76.3400512,"latitude_deg":9.8347208,"altitude":8,"angle":53,"satellites":37,"speed":13,"hex_longitude":"2d809140","hex_latitude":"05dca8c8","is_valid_coordinates":true} 
[2026-10-05 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-10-05 07:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538591232001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139293052198977536,"note":"Value kept but may cause issues"} 
[2026-10-05 07:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9182839615031603200,"note":"Value kept but may cause issues"} 
[2026-10-05 07:45:36] 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-10-05 07:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791166373000,"timestamp_ms":1791166373000,"timestamp_seconds":1791166373,"priority":1,"record_length":96,"hex_timestamp":"000001a109d5dc88"} 
[2026-10-05 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-10-05 07:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 07:45:36] 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-10-05 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-10-05 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-10-05 07:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538591232001,"66":12841,"251":206,"85":15104,"24":13,"16":139293052198977536,"45":-9182839615031603200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-10-05 07:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538591232001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:45:36] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-05 07:45:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139293052198977536,"km_value":139293052198977.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9182839615031603200,"description":"Unknown IO ID 45"} 
[2026-10-05 07:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538591232001,"power":12841,"unknown_251":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9182839615031603200}} 
[2026-10-05 07:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":207299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:45:36] local.INFO: GPS data processed {"connection_id":207299,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:45:36] local.INFO: Acknowledgment sent {"connection_id":207299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:45:59] local.INFO: TCP Data received {"connection_id":204206,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:45:59] local.INFO: Processing buffer {"connection_id":204206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:45:59] local.INFO: IMEI packet received {"connection_id":204206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":204206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:46:00] local.INFO: TCP Data received {"connection_id":207300,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:46:00] local.INFO: Processing buffer {"connection_id":207300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:46:00] local.INFO: IMEI packet received {"connection_id":207300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":207300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:46:04] local.INFO: TCP Data received {"connection_id":204206,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:46:04] local.INFO: Processing buffer {"connection_id":204206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:46:04] local.INFO: IMEI packet received {"connection_id":204206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":204206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:46:05] local.INFO: TCP Data received {"connection_id":204206,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109d5e070012d80920005dca9700008004024..."} 
[2026-10-05 07:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d5e070012d80920005dca9700008004024..."} 
[2026-10-05 07:46:05] local.INFO: Processing buffer {"connection_id":204206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d5e070012d80920005dca9700008004024..."} 
[2026-10-05 07:46:05] local.INFO: Packet analysis {"connection_id":204206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d5"} 
[2026-10-05 07:46:05] local.INFO: Extracted packet for processing {"connection_id":204206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d5"} 
[2026-10-05 07:46:05] local.INFO: GPS Element Parsed {"raw_longitude":763400704,"raw_latitude":98347376,"longitude_deg":76.3400704,"latitude_deg":9.8347376,"altitude":8,"angle":64,"satellites":36,"speed":13,"hex_longitude":"2d809200","hex_latitude":"05dca970","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538591488001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139293065083879424,"note":"Value kept but may cause issues"} 
[2026-10-05 07:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9182487771310667776,"note":"Value kept but may cause issues"} 
[2026-10-05 07:46:05] 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-10-05 07:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791166374000,"timestamp_ms":1791166374000,"timestamp_seconds":1791166374,"priority":1,"record_length":96,"hex_timestamp":"000001a109d5e070"} 
[2026-10-05 07:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:46: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-10-05 07: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 07:46: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-10-05 07: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-10-05 07:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538591488001,"66":13493,"251":206,"85":15104,"24":13,"16":139293065083879424,"45":-9182487771310667776},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-10-05 07:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538591488001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:46:05] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-05 07:46:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139293065083879424,"km_value":139293065083879.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9182487771310667776,"description":"Unknown IO ID 45"} 
[2026-10-05 07:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538591488001,"power":13493,"unknown_251":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9182487771310667776}} 
[2026-10-05 07:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":204206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966049,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:46:05] local.INFO: GPS data processed {"connection_id":204206,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:46:05] local.INFO: Acknowledgment sent {"connection_id":204206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:46:05] local.INFO: TCP Data received {"connection_id":207300,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:46:05] local.INFO: Processing buffer {"connection_id":207300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:46:05] local.INFO: IMEI packet received {"connection_id":207300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":207300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:46:06] local.INFO: TCP Data received {"connection_id":207300,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:46:06] local.INFO: Processing buffer {"connection_id":207300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:46:06] local.INFO: Packet analysis {"connection_id":207300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d7"} 
[2026-10-05 07:46:06] local.INFO: Extracted packet for processing {"connection_id":207300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d7"} 
[2026-10-05 07:46:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 07:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538549248001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:46: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-10-05 07:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791166509000,"timestamp_ms":1791166509000,"timestamp_seconds":1791166509,"priority":1,"record_length":96,"hex_timestamp":"000001a109d7efc8"} 
[2026-10-05 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-10-05 07:46:06] 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-10-05 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:46:06] 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-10-05 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-10-05 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-10-05 07:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:46: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-10-05 07:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538549248001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538549248001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:46:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:46:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538549248001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":207300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:46:06] local.INFO: GPS data processed {"connection_id":207300,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:46:06] local.INFO: Acknowledgment sent {"connection_id":207300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:46:11] local.INFO: TCP Data received {"connection_id":207300,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:46:11] local.INFO: Processing buffer {"connection_id":207300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:46:11] local.INFO: Packet analysis {"connection_id":207300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d7"} 
[2026-10-05 07:46:11] local.INFO: Extracted packet for processing {"connection_id":207300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d7"} 
[2026-10-05 07:46:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538549248001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 07:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791166509000,"timestamp_ms":1791166509000,"timestamp_seconds":1791166509,"priority":1,"record_length":96,"hex_timestamp":"000001a109d7efc8"} 
[2026-10-05 07:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:46:11] 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-10-05 07:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:46:11] 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-10-05 07:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538549248001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538549248001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:46:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:46:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538549248001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":207300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:46:11] local.INFO: GPS data processed {"connection_id":207300,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:46:11] local.INFO: Acknowledgment sent {"connection_id":207300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:46:36] local.INFO: TCP Data received {"connection_id":204206,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109d62e90012d809dc005dcafd80008004525..."} 
[2026-10-05 07:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d62e90012d809dc005dcafd80008004525..."} 
[2026-10-05 07:46:36] local.INFO: Processing buffer {"connection_id":204206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d62e90012d809dc005dcafd80008004525..."} 
[2026-10-05 07:46:36] local.INFO: Packet analysis {"connection_id":204206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d6"} 
[2026-10-05 07:46:36] local.INFO: Extracted packet for processing {"connection_id":204206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d6"} 
[2026-10-05 07:46:36] local.INFO: GPS Element Parsed {"raw_longitude":763403712,"raw_latitude":98349016,"longitude_deg":76.3403712,"latitude_deg":9.8349016,"altitude":8,"angle":69,"satellites":37,"speed":14,"hex_longitude":"2d809dc0","hex_latitude":"05dcafd8","is_valid_coordinates":true} 
[2026-10-05 07:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538591744001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139293232587603968,"note":"Value kept but may cause issues"} 
[2026-10-05 07:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9182276665078091776,"note":"Value kept but may cause issues"} 
[2026-10-05 07:46:36] 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-10-05 07:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791166394000,"timestamp_ms":1791166394000,"timestamp_seconds":1791166394,"priority":1,"record_length":96,"hex_timestamp":"000001a109d62e90"} 
[2026-10-05 07:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:46: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-10-05 07:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-10-05 07:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 07:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538591744001,"66":13820,"251":206,"85":15104,"24":14,"16":139293232587603968,"45":-9182276665078091776},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-10-05 07:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538591744001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:46:36] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-05 07:46:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139293232587603968,"km_value":139293232587603.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9182276665078091776,"description":"Unknown IO ID 45"} 
[2026-10-05 07:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538591744001,"power":13820,"unknown_251":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9182276665078091776}} 
[2026-10-05 07:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":204206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966052,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:46:36] local.INFO: GPS data processed {"connection_id":204206,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:46:36] local.INFO: Acknowledgment sent {"connection_id":204206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:46:55] local.INFO: TCP Data received {"connection_id":207301,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:46:55] local.INFO: Processing buffer {"connection_id":207301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:46:55] local.INFO: IMEI packet received {"connection_id":207301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":207301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:46:57] local.INFO: TCP Data received {"connection_id":205748,"ip":"192.161.49.2","data_length":211,"data_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-10-05 07:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205748,"packet_length":211,"packet_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-10-05 07:46:57] local.INFO: Processing buffer {"connection_id":205748,"buffer_length":211,"buffer_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-10-05 07:46:57] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":205748,"buffer_length":211,"first_bytes_hex":"474554202f2e2e2532462e2e2532462e"} 
[2026-10-05 07:47:00] local.INFO: TCP Data received {"connection_id":205749,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:47:00] local.INFO: Processing buffer {"connection_id":205749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:47:00] local.INFO: IMEI packet received {"connection_id":205749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":205749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:47:00] local.INFO: TCP Data received {"connection_id":207301,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:47:00] local.INFO: Processing buffer {"connection_id":207301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:47:00] local.INFO: IMEI packet received {"connection_id":207301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":207301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:47:01] local.INFO: TCP Data received {"connection_id":207301,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:47:01] local.INFO: Processing buffer {"connection_id":207301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:47:01] local.INFO: Packet analysis {"connection_id":207301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d7"} 
[2026-10-05 07:47:01] local.INFO: Extracted packet for processing {"connection_id":207301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d7"} 
[2026-10-05 07:47:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538549248001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:47: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-10-05 07:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791166509000,"timestamp_ms":1791166509000,"timestamp_seconds":1791166509,"priority":1,"record_length":96,"hex_timestamp":"000001a109d7efc8"} 
[2026-10-05 07:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:47:01] 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-10-05 07:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:47: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-10-05 07:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:47: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-10-05 07:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538549248001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538549248001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:47:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:47:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538549248001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":207301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:47:01] local.INFO: GPS data processed {"connection_id":207301,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:47:01] local.INFO: Acknowledgment sent {"connection_id":207301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:47:04] local.INFO: TCP Data received {"connection_id":205749,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:47:04] local.INFO: Processing buffer {"connection_id":205749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:47:04] local.INFO: IMEI packet received {"connection_id":205749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":205749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:47:05] local.INFO: TCP Data received {"connection_id":205749,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109d649e8012d80a54005dcb2b00008003625..."} 
[2026-10-05 07:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d649e8012d80a54005dcb2b00008003625..."} 
[2026-10-05 07:47:05] local.INFO: Processing buffer {"connection_id":205749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d649e8012d80a54005dcb2b00008003625..."} 
[2026-10-05 07:47:05] local.INFO: Packet analysis {"connection_id":205749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d6"} 
[2026-10-05 07:47:05] local.INFO: Extracted packet for processing {"connection_id":205749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d6"} 
[2026-10-05 07:47:05] local.INFO: GPS Element Parsed {"raw_longitude":763405632,"raw_latitude":98349744,"longitude_deg":76.3405632,"latitude_deg":9.8349744,"altitude":8,"angle":54,"satellites":37,"speed":7,"hex_longitude":"2d80a540","hex_latitude":"05dcb2b0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538596864001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139293331371851776,"note":"Value kept but may cause issues"} 
[2026-10-05 07:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9178969334101321728,"note":"Value kept but may cause issues"} 
[2026-10-05 07:47:05] 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-10-05 07:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791166401000,"timestamp_ms":1791166401000,"timestamp_seconds":1791166401,"priority":1,"record_length":96,"hex_timestamp":"000001a109d649e8"} 
[2026-10-05 07:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:47: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-10-05 07: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 07:47:05] 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-10-05 07: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-10-05 07:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538596864001,"66":13820,"251":206,"85":15104,"24":7,"16":139293331371851776,"45":-9178969334101321728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-10-05 07:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538596864001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:47:05] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-05 07:47:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139293331371851776,"km_value":139293331371851.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9178969334101321728,"description":"Unknown IO ID 45"} 
[2026-10-05 07:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538596864001,"power":13820,"unknown_251":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9178969334101321728}} 
[2026-10-05 07:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":205749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:47:05] local.INFO: GPS data processed {"connection_id":205749,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:47:05] local.INFO: Acknowledgment sent {"connection_id":205749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:47:32] local.INFO: TCP Data received {"connection_id":207301,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:47:32] local.INFO: Processing buffer {"connection_id":207301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:47:32] local.INFO: Packet analysis {"connection_id":207301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d7"} 
[2026-10-05 07:47:32] local.INFO: Extracted packet for processing {"connection_id":207301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d7"} 
[2026-10-05 07:47:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538549248001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:47: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-10-05 07:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791166509000,"timestamp_ms":1791166509000,"timestamp_seconds":1791166509,"priority":1,"record_length":96,"hex_timestamp":"000001a109d7efc8"} 
[2026-10-05 07:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:47:32] 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-10-05 07:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:47:32] 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-10-05 07:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:47: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-10-05 07:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538549248001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538549248001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:47:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:47:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538549248001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":207301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:47:32] local.INFO: GPS data processed {"connection_id":207301,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:47:32] local.INFO: Acknowledgment sent {"connection_id":207301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:47:36] local.INFO: TCP Data received {"connection_id":205749,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109d98220012d80a5c005dcb3080008001623..."} 
[2026-10-05 07:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d98220012d80a5c005dcb3080008001623..."} 
[2026-10-05 07:47:36] local.INFO: Processing buffer {"connection_id":205749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d98220012d80a5c005dcb3080008001623..."} 
[2026-10-05 07:47:36] local.INFO: Packet analysis {"connection_id":205749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d9"} 
[2026-10-05 07:47:36] local.INFO: Extracted packet for processing {"connection_id":205749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d9"} 
[2026-10-05 07:47:36] local.INFO: GPS Element Parsed {"raw_longitude":763405760,"raw_latitude":98349832,"longitude_deg":76.340576,"latitude_deg":9.8349832,"altitude":8,"angle":22,"satellites":35,"speed":0,"hex_longitude":"2d80a5c0","hex_latitude":"05dcb308","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538647296001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139293395796361216,"note":"Value kept but may cause issues"} 
[2026-10-05 07:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176717534287427584,"note":"Value kept but may cause issues"} 
[2026-10-05 07:47:36] 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-10-05 07:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791166612000,"timestamp_ms":1791166612000,"timestamp_seconds":1791166612,"priority":1,"record_length":96,"hex_timestamp":"000001a109d98220"} 
[2026-10-05 07:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 07: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":149,"data_length":795,"current_offset":136} 
[2026-10-05 07:47:36] 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-10-05 07: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-10-05 07:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538647296001,"66":13559,"251":206,"85":15104,"24":0,"16":139293395796361216,"45":-9176717534287427584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-10-05 07:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538647296001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:47:36] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-05 07:47:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139293395796361216,"km_value":139293395796361.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176717534287427584,"description":"Unknown IO ID 45"} 
[2026-10-05 07:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538647296001,"power":13559,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176717534287427584}} 
[2026-10-05 07:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":205749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966056,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:47:36] local.INFO: GPS data processed {"connection_id":205749,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:47:36] local.INFO: Acknowledgment sent {"connection_id":205749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:47:55] local.INFO: TCP Data received {"connection_id":204307,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:47:55] local.INFO: Processing buffer {"connection_id":204307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:47:55] local.INFO: IMEI packet received {"connection_id":204307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":204307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:47:59] local.INFO: TCP Data received {"connection_id":204308,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:47:59] local.INFO: Processing buffer {"connection_id":204308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:47:59] local.INFO: IMEI packet received {"connection_id":204308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":204308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:48:00] local.INFO: TCP Data received {"connection_id":204307,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:48:00] local.INFO: Processing buffer {"connection_id":204307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:48:00] local.INFO: IMEI packet received {"connection_id":204307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":204307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:48:01] local.INFO: TCP Data received {"connection_id":204307,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:48:01] local.INFO: Processing buffer {"connection_id":204307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:48:01] local.INFO: Packet analysis {"connection_id":204307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d7"} 
[2026-10-05 07:48:01] local.INFO: Extracted packet for processing {"connection_id":204307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d7"} 
[2026-10-05 07:48:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538549248001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791166509000,"timestamp_ms":1791166509000,"timestamp_seconds":1791166509,"priority":1,"record_length":96,"hex_timestamp":"000001a109d7efc8"} 
[2026-10-05 07:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:48:01] 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-10-05 07: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":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:48: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-10-05 07: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-10-05 07:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:48: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-10-05 07:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538549248001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538549248001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:48:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:48:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538549248001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":204307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:48:01] local.INFO: GPS data processed {"connection_id":204307,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:48:01] local.INFO: Acknowledgment sent {"connection_id":204307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:48:04] local.INFO: TCP Data received {"connection_id":204308,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:48:04] local.INFO: Processing buffer {"connection_id":204308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:48:04] local.INFO: IMEI packet received {"connection_id":204308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":204308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:48:04] local.INFO: TCP Data received {"connection_id":204308,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109d9d428012d80a5c005dcb3080008001622..."} 
[2026-10-05 07:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d9d428012d80a5c005dcb3080008001622..."} 
[2026-10-05 07:48:04] local.INFO: Processing buffer {"connection_id":204308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d9d428012d80a5c005dcb3080008001622..."} 
[2026-10-05 07:48:04] local.INFO: Packet analysis {"connection_id":204308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d9"} 
[2026-10-05 07:48:04] local.INFO: Extracted packet for processing {"connection_id":204308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d9"} 
[2026-10-05 07:48:04] local.INFO: GPS Element Parsed {"raw_longitude":763405760,"raw_latitude":98349832,"longitude_deg":76.340576,"latitude_deg":9.8349832,"altitude":8,"angle":22,"satellites":34,"speed":0,"hex_longitude":"2d80a5c0","hex_latitude":"05dcb308","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538652672001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139293395796361216,"note":"Value kept but may cause issues"} 
[2026-10-05 07:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176717534287427584,"note":"Value kept but may cause issues"} 
[2026-10-05 07:48:04] 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-10-05 07:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791166633000,"timestamp_ms":1791166633000,"timestamp_seconds":1791166633,"priority":1,"record_length":96,"hex_timestamp":"000001a109d9d428"} 
[2026-10-05 07:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:48: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-10-05 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-05 07:48:04] 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-10-05 07: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-10-05 07:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":204308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":204308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":204308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538652672001,"66":13515,"251":206,"85":15104,"24":0,"16":139293395796361216,"45":-9176717534287427584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-10-05 07:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538652672001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:48:04] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-05 07:48:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139293395796361216,"km_value":139293395796361.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176717534287427584,"description":"Unknown IO ID 45"} 
[2026-10-05 07:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538652672001,"power":13515,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176717534287427584}} 
[2026-10-05 07:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":204308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:48:04] local.INFO: GPS data processed {"connection_id":204308,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:48:04] local.INFO: Acknowledgment sent {"connection_id":204308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:48:32] local.INFO: TCP Data received {"connection_id":204307,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:48:32] local.INFO: Processing buffer {"connection_id":204307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:48:32] local.INFO: Packet analysis {"connection_id":204307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d7"} 
[2026-10-05 07:48:32] local.INFO: Extracted packet for processing {"connection_id":204307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d7"} 
[2026-10-05 07:48:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538549248001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791166509000,"timestamp_ms":1791166509000,"timestamp_seconds":1791166509,"priority":1,"record_length":96,"hex_timestamp":"000001a109d7efc8"} 
[2026-10-05 07:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:48:32] 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-10-05 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:48:32] 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-10-05 07: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-10-05 07:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:48: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-10-05 07:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538549248001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538549248001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:48:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:48:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538549248001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":204307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:48:32] local.INFO: GPS data processed {"connection_id":204307,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:48:32] local.INFO: Acknowledgment sent {"connection_id":204307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:48:35] local.INFO: TCP Data received {"connection_id":204308,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109da2630012d80a5c005dcb3080008001621..."} 
[2026-10-05 07:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109da2630012d80a5c005dcb3080008001621..."} 
[2026-10-05 07:48:35] local.INFO: Processing buffer {"connection_id":204308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109da2630012d80a5c005dcb3080008001621..."} 
[2026-10-05 07:48:35] local.INFO: Packet analysis {"connection_id":204308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109da"} 
[2026-10-05 07:48:35] local.INFO: Extracted packet for processing {"connection_id":204308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109da"} 
[2026-10-05 07:48:35] local.INFO: GPS Element Parsed {"raw_longitude":763405760,"raw_latitude":98349832,"longitude_deg":76.340576,"latitude_deg":9.8349832,"altitude":8,"angle":22,"satellites":33,"speed":0,"hex_longitude":"2d80a5c0","hex_latitude":"05dcb308","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538658048001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139293395796361216,"note":"Value kept but may cause issues"} 
[2026-10-05 07:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176717534287427584,"note":"Value kept but may cause issues"} 
[2026-10-05 07:48:35] 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-10-05 07:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791166654000,"timestamp_ms":1791166654000,"timestamp_seconds":1791166654,"priority":1,"record_length":96,"hex_timestamp":"000001a109da2630"} 
[2026-10-05 07:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:48: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-10-05 07: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-10-05 07:48:35] 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-10-05 07: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-10-05 07:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":204308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":204308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":204308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538658048001,"66":13319,"251":206,"85":15104,"24":0,"16":139293395796361216,"45":-9176717534287427584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-10-05 07:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538658048001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:48:35] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-05 07:48:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139293395796361216,"km_value":139293395796361.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176717534287427584,"description":"Unknown IO ID 45"} 
[2026-10-05 07:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538658048001,"power":13319,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176717534287427584}} 
[2026-10-05 07:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":204308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:48:35] local.INFO: GPS data processed {"connection_id":204308,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:48:35] local.INFO: Acknowledgment sent {"connection_id":204308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:48:54] local.INFO: TCP Data received {"connection_id":204207,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:48:54] local.INFO: Processing buffer {"connection_id":204207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:48:54] local.INFO: IMEI packet received {"connection_id":204207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":204207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:48:56] local.INFO: TCP Data received {"connection_id":205751,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:48:56] local.INFO: Processing buffer {"connection_id":205751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:48:56] local.INFO: IMEI packet received {"connection_id":205751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":205751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:48:59] local.INFO: TCP Data received {"connection_id":204207,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:48:59] local.INFO: Processing buffer {"connection_id":204207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:48:59] local.INFO: IMEI packet received {"connection_id":204207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":204207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:49:00] local.INFO: TCP Data received {"connection_id":204207,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109db33b8012d8072c005dc9fe0000400ed27..."} 
[2026-10-05 07:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109db33b8012d8072c005dc9fe0000400ed27..."} 
[2026-10-05 07:49:00] local.INFO: Processing buffer {"connection_id":204207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109db33b8012d8072c005dc9fe0000400ed27..."} 
[2026-10-05 07:49:00] local.INFO: Packet analysis {"connection_id":204207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109db"} 
[2026-10-05 07:49:00] local.INFO: Extracted packet for processing {"connection_id":204207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109db"} 
[2026-10-05 07:49:00] local.INFO: GPS Element Parsed {"raw_longitude":763392704,"raw_latitude":98344928,"longitude_deg":76.3392704,"latitude_deg":9.8344928,"altitude":4,"angle":237,"satellites":39,"speed":6,"hex_longitude":"2d8072c0","hex_latitude":"05dc9fe0","is_valid_coordinates":true} 
[2026-10-05 07:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538679808001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139294074401193984,"note":"Value kept but may cause issues"} 
[2026-10-05 07:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9189243170752174080,"note":"Value kept but may cause issues"} 
[2026-10-05 07:49:00] 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-10-05 07:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791166723000,"timestamp_ms":1791166723000,"timestamp_seconds":1791166723,"priority":1,"record_length":96,"hex_timestamp":"000001a109db33b8"} 
[2026-10-05 07:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:49: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-10-05 07:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-10-05 07:49:00] 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-10-05 07:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538679808001,"66":12906,"251":206,"85":15104,"24":6,"16":139294074401193984,"45":-9189243170752174080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-10-05 07:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538679808001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:49:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-05 07:49:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139294074401193984,"km_value":139294074401193.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9189243170752174080,"description":"Unknown IO ID 45"} 
[2026-10-05 07:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538679808001,"power":12906,"unknown_251":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9189243170752174080}} 
[2026-10-05 07:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":204207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:49:00] local.INFO: GPS data processed {"connection_id":204207,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:49:00] local.INFO: Acknowledgment sent {"connection_id":204207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:49:00] local.INFO: TCP Data received {"connection_id":205751,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:49:00] local.INFO: Processing buffer {"connection_id":205751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:49:00] local.INFO: IMEI packet received {"connection_id":205751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":205751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:49:01] local.INFO: TCP Data received {"connection_id":205751,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:49:01] local.INFO: Processing buffer {"connection_id":205751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:49:01] local.INFO: Packet analysis {"connection_id":205751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d7"} 
[2026-10-05 07:49:01] local.INFO: Extracted packet for processing {"connection_id":205751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d7"} 
[2026-10-05 07:49:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538549248001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:49: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-10-05 07:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791166509000,"timestamp_ms":1791166509000,"timestamp_seconds":1791166509,"priority":1,"record_length":96,"hex_timestamp":"000001a109d7efc8"} 
[2026-10-05 07:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:49:01] 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-10-05 07:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:49: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-10-05 07: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-10-05 07:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:49: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-10-05 07:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538549248001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538549248001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:49:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:49:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538549248001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":205751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:49:01] local.INFO: GPS data processed {"connection_id":205751,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:49:01] local.INFO: Acknowledgment sent {"connection_id":205751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:49:08] local.INFO: TCP Data received {"connection_id":204309,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:49:08] local.INFO: Processing buffer {"connection_id":204309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:49:08] local.INFO: IMEI packet received {"connection_id":204309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 07:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":204309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:49:31] local.INFO: TCP Data received {"connection_id":204207,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109db4f10012d80718005dc9fc00005012225..."} 
[2026-10-05 07:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109db4f10012d80718005dc9fc00005012225..."} 
[2026-10-05 07:49:31] local.INFO: Processing buffer {"connection_id":204207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109db4f10012d80718005dc9fc00005012225..."} 
[2026-10-05 07:49:31] local.INFO: Packet analysis {"connection_id":204207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109db"} 
[2026-10-05 07:49:31] local.INFO: Extracted packet for processing {"connection_id":204207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109db"} 
[2026-10-05 07:49:31] local.INFO: GPS Element Parsed {"raw_longitude":763392384,"raw_latitude":98344896,"longitude_deg":76.3392384,"latitude_deg":9.8344896,"altitude":5,"angle":290,"satellites":37,"speed":6,"hex_longitude":"2d807180","hex_latitude":"05dc9fc0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538681088001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139294091581063168,"note":"Value kept but may cause issues"} 
[2026-10-05 07:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191072758100926464,"note":"Value kept but may cause issues"} 
[2026-10-05 07:49:31] 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-10-05 07:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791166730000,"timestamp_ms":1791166730000,"timestamp_seconds":1791166730,"priority":1,"record_length":96,"hex_timestamp":"000001a109db4f10"} 
[2026-10-05 07:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:49: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-10-05 07: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 07:49: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-10-05 07: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-10-05 07:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538681088001,"66":13722,"251":206,"85":15104,"24":6,"16":139294091581063168,"45":-9191072758100926464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-10-05 07:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538681088001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:49:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-05 07:49:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139294091581063168,"km_value":139294091581063.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191072758100926464,"description":"Unknown IO ID 45"} 
[2026-10-05 07:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538681088001,"power":13722,"unknown_251":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9191072758100926464}} 
[2026-10-05 07:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":204207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:49:31] local.INFO: GPS data processed {"connection_id":204207,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:49:31] local.INFO: Acknowledgment sent {"connection_id":204207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:49:32] local.INFO: TCP Data received {"connection_id":205751,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:49:32] local.INFO: Processing buffer {"connection_id":205751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:49:32] local.INFO: Packet analysis {"connection_id":205751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d7"} 
[2026-10-05 07:49:32] local.INFO: Extracted packet for processing {"connection_id":205751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d7"} 
[2026-10-05 07:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538549248001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:49: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-10-05 07:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791166509000,"timestamp_ms":1791166509000,"timestamp_seconds":1791166509,"priority":1,"record_length":96,"hex_timestamp":"000001a109d7efc8"} 
[2026-10-05 07:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:49:32] 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-10-05 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:49:32] 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-10-05 07: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-10-05 07:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:49: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-10-05 07:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538549248001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538549248001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:49:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:49:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538549248001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":205751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:49:32] local.INFO: GPS data processed {"connection_id":205751,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:49:32] local.INFO: Acknowledgment sent {"connection_id":205751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:49:48] local.INFO: TCP Data received {"connection_id":204310,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:49:48] local.INFO: Processing buffer {"connection_id":204310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:49:48] local.INFO: IMEI packet received {"connection_id":204310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 07:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":204310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:49:55] local.INFO: TCP Data received {"connection_id":205752,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:49:55] local.INFO: Processing buffer {"connection_id":205752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:49:55] local.INFO: IMEI packet received {"connection_id":205752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":205752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:50:00] local.INFO: TCP Data received {"connection_id":205752,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:50:00] local.INFO: Processing buffer {"connection_id":205752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:50:00] local.INFO: IMEI packet received {"connection_id":205752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":205752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:50:01] local.INFO: TCP Data received {"connection_id":205752,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:50:01] local.INFO: Processing buffer {"connection_id":205752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:50:01] local.INFO: Packet analysis {"connection_id":205752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d7"} 
[2026-10-05 07:50:01] local.INFO: Extracted packet for processing {"connection_id":205752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d7"} 
[2026-10-05 07:50:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 07:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538549248001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 07:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791166509000,"timestamp_ms":1791166509000,"timestamp_seconds":1791166509,"priority":1,"record_length":96,"hex_timestamp":"000001a109d7efc8"} 
[2026-10-05 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-10-05 07:50:01] 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-10-05 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":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:50: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-10-05 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-10-05 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-10-05 07:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:50: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-10-05 07:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538549248001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538549248001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:50:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:50:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538549248001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":205752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:50:01] local.INFO: GPS data processed {"connection_id":205752,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:50:01] local.INFO: Acknowledgment sent {"connection_id":205752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:50:12] local.INFO: TCP Data received {"connection_id":207302,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:50:12] local.INFO: Processing buffer {"connection_id":207302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:50:12] local.INFO: IMEI packet received {"connection_id":207302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":207302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:50:13] local.INFO: TCP Data received {"connection_id":207302,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:50:13] local.INFO: Processing buffer {"connection_id":207302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:50:13] local.INFO: IMEI packet received {"connection_id":207302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":207302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:50:14] local.INFO: TCP Data received {"connection_id":207302,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:50:14] local.INFO: Processing buffer {"connection_id":207302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:50:14] local.INFO: IMEI packet received {"connection_id":207302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":207302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:50:15] local.INFO: TCP Data received {"connection_id":207302,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:50:15] local.INFO: Processing buffer {"connection_id":207302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:50:15] local.INFO: IMEI packet received {"connection_id":207302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":207302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:50:32] local.INFO: TCP Data received {"connection_id":205752,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:50:32] local.INFO: Processing buffer {"connection_id":205752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109d7efc8012d7f91c005afd9f00009010125..."} 
[2026-10-05 07:50:32] local.INFO: Packet analysis {"connection_id":205752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109d7"} 
[2026-10-05 07:50:32] local.INFO: Extracted packet for processing {"connection_id":205752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109d7"} 
[2026-10-05 07:50:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":9,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538549248001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791166509000,"timestamp_ms":1791166509000,"timestamp_seconds":1791166509,"priority":1,"record_length":96,"hex_timestamp":"000001a109d7efc8"} 
[2026-10-05 07:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:50:32] 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-10-05 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 07:50:32] 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-10-05 07: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-10-05 07:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538549248001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538549248001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:50:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:50:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538549248001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":205752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:50:32] local.INFO: GPS data processed {"connection_id":205752,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:50:32] local.INFO: Acknowledgment sent {"connection_id":205752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:51:00] local.INFO: TCP Data received {"connection_id":204312,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:51:00] local.INFO: Processing buffer {"connection_id":204312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:51:00] local.INFO: IMEI packet received {"connection_id":204312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":204312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:51:05] local.INFO: TCP Data received {"connection_id":204312,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:51:05] local.INFO: Processing buffer {"connection_id":204312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:51:05] local.INFO: IMEI packet received {"connection_id":204312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":204312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:51:06] local.INFO: TCP Data received {"connection_id":204312,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109dc8790012d7f91c005afd9f00006010121..."} 
[2026-10-05 07:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109dc8790012d7f91c005afd9f00006010121..."} 
[2026-10-05 07:51:06] local.INFO: Processing buffer {"connection_id":204312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109dc8790012d7f91c005afd9f00006010121..."} 
[2026-10-05 07:51:06] local.INFO: Packet analysis {"connection_id":204312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109dc"} 
[2026-10-05 07:51:06] local.INFO: Extracted packet for processing {"connection_id":204312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109dc"} 
[2026-10-05 07:51:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538626304001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:51: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-10-05 07:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791166810000,"timestamp_ms":1791166810000,"timestamp_seconds":1791166810,"priority":1,"record_length":96,"hex_timestamp":"000001a109dc8790"} 
[2026-10-05 07:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:51:06] 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-10-05 07:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:51:06] 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-10-05 07:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:51: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-10-05 07:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538626304001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538626304001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:51:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:51:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538626304001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":204312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:51:06] local.INFO: GPS data processed {"connection_id":204312,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:51:06] local.INFO: Acknowledgment sent {"connection_id":204312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:51:11] local.INFO: TCP Data received {"connection_id":204312,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109dc8790012d7f91c005afd9f00006010121..."} 
[2026-10-05 07:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109dc8790012d7f91c005afd9f00006010121..."} 
[2026-10-05 07:51:11] local.INFO: Processing buffer {"connection_id":204312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109dc8790012d7f91c005afd9f00006010121..."} 
[2026-10-05 07:51:11] local.INFO: Packet analysis {"connection_id":204312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109dc"} 
[2026-10-05 07:51:11] local.INFO: Extracted packet for processing {"connection_id":204312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109dc"} 
[2026-10-05 07:51:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:51: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-10-05 07:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538626304001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 07:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791166810000,"timestamp_ms":1791166810000,"timestamp_seconds":1791166810,"priority":1,"record_length":96,"hex_timestamp":"000001a109dc8790"} 
[2026-10-05 07:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:51:11] 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-10-05 07:51: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:51:11] 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-10-05 07:51: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-10-05 07:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538626304001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538626304001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:51:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538626304001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":204312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:51:11] local.INFO: GPS data processed {"connection_id":204312,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:51:11] local.INFO: Acknowledgment sent {"connection_id":204312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:51:55] local.INFO: TCP Data received {"connection_id":204313,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:51:55] local.INFO: Processing buffer {"connection_id":204313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:51:55] local.INFO: IMEI packet received {"connection_id":204313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":204313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:52:00] local.INFO: TCP Data received {"connection_id":204313,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:52:00] local.INFO: Processing buffer {"connection_id":204313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:52:00] local.INFO: IMEI packet received {"connection_id":204313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":204313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:52:01] local.INFO: TCP Data received {"connection_id":204313,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a109dc8790012d7f91c005afd9f00006010121..."} 
[2026-10-05 07:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109dc8790012d7f91c005afd9f00006010121..."} 
[2026-10-05 07:52:01] local.INFO: Processing buffer {"connection_id":204313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109dc8790012d7f91c005afd9f00006010121..."} 
[2026-10-05 07:52:01] local.INFO: Packet analysis {"connection_id":204313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109dc"} 
[2026-10-05 07:52:01] local.INFO: Extracted packet for processing {"connection_id":204313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109dc"} 
[2026-10-05 07:52:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538626304001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791166810000,"timestamp_ms":1791166810000,"timestamp_seconds":1791166810,"priority":1,"record_length":96,"hex_timestamp":"000001a109dc8790"} 
[2026-10-05 07:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:52:01] 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-10-05 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:52: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-10-05 07: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-10-05 07:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:52: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-10-05 07:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538626304001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538626304001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:52:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:52:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538626304001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":204313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:52:01] local.INFO: GPS data processed {"connection_id":204313,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:52:01] local.INFO: Acknowledgment sent {"connection_id":204313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:52:32] local.INFO: TCP Data received {"connection_id":204313,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a109dc8790012d7f91c005afd9f00006010121..."} 
[2026-10-05 07:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109dc8790012d7f91c005afd9f00006010121..."} 
[2026-10-05 07:52:32] local.INFO: Processing buffer {"connection_id":204313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109dc8790012d7f91c005afd9f00006010121..."} 
[2026-10-05 07:52:32] local.INFO: Packet analysis {"connection_id":204313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109dc"} 
[2026-10-05 07:52:32] local.INFO: Extracted packet for processing {"connection_id":204313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109dc"} 
[2026-10-05 07:52:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538626304001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:52: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-10-05 07:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791166810000,"timestamp_ms":1791166810000,"timestamp_seconds":1791166810,"priority":1,"record_length":96,"hex_timestamp":"000001a109dc8790"} 
[2026-10-05 07:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:52:32] 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-10-05 07:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:52: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-10-05 07:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:52: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-10-05 07:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538626304001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538626304001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:52:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:52:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538626304001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":204313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:52:32] local.INFO: GPS data processed {"connection_id":204313,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:52:32] local.INFO: Acknowledgment sent {"connection_id":204313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:52:55] local.INFO: TCP Data received {"connection_id":207305,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:52:55] local.INFO: Processing buffer {"connection_id":207305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:52:55] local.INFO: IMEI packet received {"connection_id":207305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":207305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:53:00] local.INFO: TCP Data received {"connection_id":207305,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:53:00] local.INFO: Processing buffer {"connection_id":207305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:53:00] local.INFO: IMEI packet received {"connection_id":207305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":207305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:53:01] local.INFO: TCP Data received {"connection_id":207305,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a109dc8790012d7f91c005afd9f00006010121..."} 
[2026-10-05 07:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109dc8790012d7f91c005afd9f00006010121..."} 
[2026-10-05 07:53:01] local.INFO: Processing buffer {"connection_id":207305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109dc8790012d7f91c005afd9f00006010121..."} 
[2026-10-05 07:53:01] local.INFO: Packet analysis {"connection_id":207305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109dc"} 
[2026-10-05 07:53:01] local.INFO: Extracted packet for processing {"connection_id":207305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109dc"} 
[2026-10-05 07:53:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538626304001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791166810000,"timestamp_ms":1791166810000,"timestamp_seconds":1791166810,"priority":1,"record_length":96,"hex_timestamp":"000001a109dc8790"} 
[2026-10-05 07:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:53:01] 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-10-05 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:53: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-10-05 07: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-10-05 07:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07: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-10-05 07:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538626304001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538626304001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:53:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:53:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538626304001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":207305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:53:01] local.INFO: GPS data processed {"connection_id":207305,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:53:01] local.INFO: Acknowledgment sent {"connection_id":207305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:53:32] local.INFO: TCP Data received {"connection_id":207305,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a109dc8790012d7f91c005afd9f00006010121..."} 
[2026-10-05 07:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109dc8790012d7f91c005afd9f00006010121..."} 
[2026-10-05 07:53:32] local.INFO: Processing buffer {"connection_id":207305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109dc8790012d7f91c005afd9f00006010121..."} 
[2026-10-05 07:53:32] local.INFO: Packet analysis {"connection_id":207305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109dc"} 
[2026-10-05 07:53:32] local.INFO: Extracted packet for processing {"connection_id":207305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109dc"} 
[2026-10-05 07:53:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538626304001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:53: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-10-05 07:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791166810000,"timestamp_ms":1791166810000,"timestamp_seconds":1791166810,"priority":1,"record_length":96,"hex_timestamp":"000001a109dc8790"} 
[2026-10-05 07:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:53:32] 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-10-05 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:53: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-10-05 07: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-10-05 07:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:53: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-10-05 07:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538626304001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538626304001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:53:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:53:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538626304001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":207305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:53:33] local.INFO: GPS data processed {"connection_id":207305,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:53:33] local.INFO: Acknowledgment sent {"connection_id":207305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:53:56] local.INFO: TCP Data received {"connection_id":204208,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:53:56] local.INFO: Processing buffer {"connection_id":204208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:53:56] local.INFO: IMEI packet received {"connection_id":204208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":204208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:54:00] local.INFO: TCP Data received {"connection_id":204208,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:54:00] local.INFO: Processing buffer {"connection_id":204208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:54:00] local.INFO: IMEI packet received {"connection_id":204208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":204208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:54:01] local.INFO: TCP Data received {"connection_id":204208,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109dc8790012d7f91c005afd9f00006010121..."} 
[2026-10-05 07:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109dc8790012d7f91c005afd9f00006010121..."} 
[2026-10-05 07:54:01] local.INFO: Processing buffer {"connection_id":204208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109dc8790012d7f91c005afd9f00006010121..."} 
[2026-10-05 07:54:01] local.INFO: Packet analysis {"connection_id":204208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109dc"} 
[2026-10-05 07:54:01] local.INFO: Extracted packet for processing {"connection_id":204208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109dc"} 
[2026-10-05 07:54:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538626304001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791166810000,"timestamp_ms":1791166810000,"timestamp_seconds":1791166810,"priority":1,"record_length":96,"hex_timestamp":"000001a109dc8790"} 
[2026-10-05 07:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:54:01] 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-10-05 07: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-10-05 07: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-10-05 07: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-10-05 07:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:54: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-10-05 07:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538626304001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538626304001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:54:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:54:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538626304001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":204208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:54:01] local.INFO: GPS data processed {"connection_id":204208,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:54:01] local.INFO: Acknowledgment sent {"connection_id":204208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:54:32] local.INFO: TCP Data received {"connection_id":204208,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109dc8790012d7f91c005afd9f00006010121..."} 
[2026-10-05 07:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109dc8790012d7f91c005afd9f00006010121..."} 
[2026-10-05 07:54:32] local.INFO: Processing buffer {"connection_id":204208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109dc8790012d7f91c005afd9f00006010121..."} 
[2026-10-05 07:54:32] local.INFO: Packet analysis {"connection_id":204208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109dc"} 
[2026-10-05 07:54:32] local.INFO: Extracted packet for processing {"connection_id":204208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109dc"} 
[2026-10-05 07:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538626304001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791166810000,"timestamp_ms":1791166810000,"timestamp_seconds":1791166810,"priority":1,"record_length":96,"hex_timestamp":"000001a109dc8790"} 
[2026-10-05 07:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:54:32] 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-10-05 07: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-10-05 07: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-10-05 07: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-10-05 07:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538626304001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538626304001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:54:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:54:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538626304001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":204208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:54:32] local.INFO: GPS data processed {"connection_id":204208,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:54:32] local.INFO: Acknowledgment sent {"connection_id":204208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:54:55] local.INFO: TCP Data received {"connection_id":205755,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:54:55] local.INFO: Processing buffer {"connection_id":205755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:54:55] local.INFO: IMEI packet received {"connection_id":205755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":205755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:55:00] local.INFO: TCP Data received {"connection_id":205755,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:55:00] local.INFO: Processing buffer {"connection_id":205755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:55:00] local.INFO: IMEI packet received {"connection_id":205755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":205755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:55:01] local.INFO: TCP Data received {"connection_id":205755,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a109dc8790012d7f91c005afd9f00006010121..."} 
[2026-10-05 07:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109dc8790012d7f91c005afd9f00006010121..."} 
[2026-10-05 07:55:01] local.INFO: Processing buffer {"connection_id":205755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109dc8790012d7f91c005afd9f00006010121..."} 
[2026-10-05 07:55:01] local.INFO: Packet analysis {"connection_id":205755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109dc"} 
[2026-10-05 07:55:01] local.INFO: Extracted packet for processing {"connection_id":205755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109dc"} 
[2026-10-05 07:55:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":6,"angle":257,"satellites":33,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 07:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538626304001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 07:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791166810000,"timestamp_ms":1791166810000,"timestamp_seconds":1791166810,"priority":1,"record_length":96,"hex_timestamp":"000001a109dc8790"} 
[2026-10-05 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-10-05 07:55:01] 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-10-05 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":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:55: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-10-05 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-10-05 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-10-05 07:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07: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-10-05 07:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538626304001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538626304001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:55:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:55:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538626304001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":205755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:55:01] local.INFO: GPS data processed {"connection_id":205755,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:55:01] local.INFO: Acknowledgment sent {"connection_id":205755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:55:20] local.INFO: TCP Data received {"connection_id":205756,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:55:20] local.INFO: Processing buffer {"connection_id":205756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:55:20] local.INFO: IMEI packet received {"connection_id":205756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":205756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:55:21] local.INFO: TCP Data received {"connection_id":205756,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109e0ae10012d7fe70005e03b280001015921..."} 
[2026-10-05 07:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e0ae10012d7fe70005e03b280001015921..."} 
[2026-10-05 07:55:21] local.INFO: Processing buffer {"connection_id":205756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e0ae10012d7fe70005e03b280001015921..."} 
[2026-10-05 07:55:21] local.INFO: Packet analysis {"connection_id":205756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e0"} 
[2026-10-05 07:55:21] local.INFO: Extracted packet for processing {"connection_id":205756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e0"} 
[2026-10-05 07:55:21] local.INFO: GPS Element Parsed {"raw_longitude":763356928,"raw_latitude":98581288,"longitude_deg":76.3356928,"latitude_deg":9.8581288,"altitude":1,"angle":345,"satellites":33,"speed":37,"hex_longitude":"2d7fe700","hex_latitude":"05e03b28","is_valid_coordinates":true} 
[2026-10-05 07:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538772480001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139306688720142336,"note":"Value kept but may cause issues"} 
[2026-10-05 07:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217038875115163648,"note":"Value kept but may cause issues"} 
[2026-10-05 07:55:21] 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-10-05 07:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791167082000,"timestamp_ms":1791167082000,"timestamp_seconds":1791167082,"priority":1,"record_length":96,"hex_timestamp":"000001a109e0ae10"} 
[2026-10-05 07:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 07:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 07:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 07:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":205756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":205756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":205756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538772480001,"66":13678,"121":206,"85":15104,"24":37,"16":139306688720142336,"45":9217038875115163648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-10-05 07:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538772480001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:55:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 07:55:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139306688720142336,"km_value":139306688720142.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217038875115163648,"description":"Unknown IO ID 45"} 
[2026-10-05 07:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538772480001,"power":13678,"unknown_121":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9217038875115163648}} 
[2026-10-05 07:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":205756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966076,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:55:21] local.INFO: GPS data processed {"connection_id":205756,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:55:21] local.INFO: Acknowledgment sent {"connection_id":205756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:55:43] local.INFO: TCP Data received {"connection_id":205757,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205757,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:55:43] local.INFO: Processing buffer {"connection_id":205757,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 07:55:43] local.INFO: IMEI packet received {"connection_id":205757,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 07:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":205757,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:55:55] local.INFO: TCP Data received {"connection_id":204209,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:55:55] local.INFO: Processing buffer {"connection_id":204209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:55:55] local.INFO: IMEI packet received {"connection_id":204209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":204209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:55:59] local.INFO: TCP Data received {"connection_id":205758,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:55:59] local.INFO: Processing buffer {"connection_id":205758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:55:59] local.INFO: IMEI packet received {"connection_id":205758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":205758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:56:00] local.INFO: TCP Data received {"connection_id":205758,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:56:00] local.INFO: Processing buffer {"connection_id":205758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:56:00] local.INFO: IMEI packet received {"connection_id":205758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":205758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:56:00] local.INFO: TCP Data received {"connection_id":204209,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:56:00] local.INFO: Processing buffer {"connection_id":204209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:56:00] local.INFO: IMEI packet received {"connection_id":204209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":204209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:56:01] local.INFO: TCP Data received {"connection_id":204209,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 07:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 07:56:01] local.INFO: Processing buffer {"connection_id":204209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 07:56:01] local.INFO: Packet analysis {"connection_id":204209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 07:56:01] local.INFO: Extracted packet for processing {"connection_id":204209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 07:56:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538703360001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:56: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-10-05 07:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791167114000,"timestamp_ms":1791167114000,"timestamp_seconds":1791167114,"priority":1,"record_length":96,"hex_timestamp":"000001a109e12b10"} 
[2026-10-05 07:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:56:01] 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-10-05 07: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":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:56: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-10-05 07: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-10-05 07:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:56: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-10-05 07:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538703360001,"66":25560,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538703360001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:56:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:56:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538703360001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":204209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:56:01] local.INFO: GPS data processed {"connection_id":204209,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:56:01] local.INFO: Acknowledgment sent {"connection_id":204209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:56:05] local.INFO: TCP Data received {"connection_id":205758,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:56:05] local.INFO: Processing buffer {"connection_id":205758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:56:05] local.INFO: IMEI packet received {"connection_id":205758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":205758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:56:05] local.INFO: TCP Data received {"connection_id":205758,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109e16990012d7f9a4005e0e1280002011523..."} 
[2026-10-05 07:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e16990012d7f9a4005e0e1280002011523..."} 
[2026-10-05 07:56:05] local.INFO: Processing buffer {"connection_id":205758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e16990012d7f9a4005e0e1280002011523..."} 
[2026-10-05 07:56:05] local.INFO: Packet analysis {"connection_id":205758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 07:56:05] local.INFO: Extracted packet for processing {"connection_id":205758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 07:56:05] local.INFO: GPS Element Parsed {"raw_longitude":763337280,"raw_latitude":98623784,"longitude_deg":76.333728,"latitude_deg":9.8623784,"altitude":2,"angle":277,"satellites":35,"speed":41,"hex_longitude":"2d7f9a40","hex_latitude":"05e0e128","is_valid_coordinates":true} 
[2026-10-05 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-10-05 07:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538784768001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139309162621304832,"note":"Value kept but may cause issues"} 
[2026-10-05 07:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196913414291560448,"note":"Value kept but may cause issues"} 
[2026-10-05 07:56:05] 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-10-05 07:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791167130000,"timestamp_ms":1791167130000,"timestamp_seconds":1791167130,"priority":1,"record_length":96,"hex_timestamp":"000001a109e16990"} 
[2026-10-05 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-10-05 07:56: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-10-05 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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-10-05 07:56:05] 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-10-05 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-10-05 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-10-05 07:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538784768001,"66":13798,"122":206,"85":15104,"24":41,"16":139309162621304832,"45":9196913414291560448},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-10-05 07:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538784768001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:56:05] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-05 07:56:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139309162621304832,"km_value":139309162621304.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196913414291560448,"description":"Unknown IO ID 45"} 
[2026-10-05 07:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538784768001,"power":13798,"unknown_122":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9196913414291560448}} 
[2026-10-05 07:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":205758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:56:05] local.INFO: GPS data processed {"connection_id":205758,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:56:05] local.INFO: Acknowledgment sent {"connection_id":205758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:56:06] local.INFO: TCP Data received {"connection_id":204209,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 07:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 07:56:06] local.INFO: Processing buffer {"connection_id":204209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 07:56:06] local.INFO: Packet analysis {"connection_id":204209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 07:56:06] local.INFO: Extracted packet for processing {"connection_id":204209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 07:56:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538703360001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791167114000,"timestamp_ms":1791167114000,"timestamp_seconds":1791167114,"priority":1,"record_length":96,"hex_timestamp":"000001a109e12b10"} 
[2026-10-05 07:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:56:06] 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-10-05 07:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:56:06] 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-10-05 07:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:56: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-10-05 07:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538703360001,"66":25560,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538703360001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:56:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:56:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538703360001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":204209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:56:06] local.INFO: GPS data processed {"connection_id":204209,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:56:06] local.INFO: Acknowledgment sent {"connection_id":204209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:56:36] local.INFO: TCP Data received {"connection_id":205758,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109e188d0012d7f758005e0e4280003011422..."} 
[2026-10-05 07:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e188d0012d7f758005e0e4280003011422..."} 
[2026-10-05 07:56:36] local.INFO: Processing buffer {"connection_id":205758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e188d0012d7f758005e0e4280003011422..."} 
[2026-10-05 07:56:36] local.INFO: Packet analysis {"connection_id":205758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 07:56:36] local.INFO: Extracted packet for processing {"connection_id":205758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 07:56:36] local.INFO: GPS Element Parsed {"raw_longitude":763327872,"raw_latitude":98624552,"longitude_deg":76.3327872,"latitude_deg":9.8624552,"altitude":3,"angle":276,"satellites":34,"speed":44,"hex_longitude":"2d7f7580","hex_latitude":"05e0e428","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538785280001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139309613592870912,"note":"Value kept but may cause issues"} 
[2026-10-05 07:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194731983222155264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:56:36] 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-10-05 07:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791167138000,"timestamp_ms":1791167138000,"timestamp_seconds":1791167138,"priority":1,"record_length":96,"hex_timestamp":"000001a109e188d0"} 
[2026-10-05 07:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:56: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-10-05 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 07:56:36] 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-10-05 07: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-10-05 07:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538785280001,"66":12961,"122":206,"85":15104,"24":44,"16":139309613592870912,"45":9194731983222155264},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-10-05 07:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538785280001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:56:36] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-05 07:56:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139309613592870912,"km_value":139309613592870.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194731983222155264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538785280001,"power":12961,"unknown_122":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9194731983222155264}} 
[2026-10-05 07:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":205758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966080,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:56:36] local.INFO: GPS data processed {"connection_id":205758,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:56:36] local.INFO: Acknowledgment sent {"connection_id":205758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:56:37] local.INFO: TCP Data received {"connection_id":204209,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 07:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 07:56:37] local.INFO: Processing buffer {"connection_id":204209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 07:56:37] local.INFO: Packet analysis {"connection_id":204209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 07:56:37] local.INFO: Extracted packet for processing {"connection_id":204209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 07:56:37] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 07:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538703360001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 07:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791167114000,"timestamp_ms":1791167114000,"timestamp_seconds":1791167114,"priority":1,"record_length":96,"hex_timestamp":"000001a109e12b10"} 
[2026-10-05 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-10-05 07:56:37] 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-10-05 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:56:37] 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-10-05 07:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 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-10-05 07:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538703360001,"66":25560,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538703360001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:56:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:56:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538703360001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":204209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:56:37] local.INFO: GPS data processed {"connection_id":204209,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:56:37] local.INFO: Acknowledgment sent {"connection_id":204209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:56:55] local.INFO: TCP Data received {"connection_id":204318,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:56:55] local.INFO: Processing buffer {"connection_id":204318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:56:55] local.INFO: IMEI packet received {"connection_id":204318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":204318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:57:00] local.INFO: TCP Data received {"connection_id":204318,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:57:00] local.INFO: Processing buffer {"connection_id":204318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:57:00] local.INFO: IMEI packet received {"connection_id":204318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":204318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:57:00] local.INFO: TCP Data received {"connection_id":204319,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:57:00] local.INFO: Processing buffer {"connection_id":204319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:57:00] local.INFO: IMEI packet received {"connection_id":204319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":204319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:57:01] local.INFO: TCP Data received {"connection_id":204318,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 07:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 07:57:01] local.INFO: Processing buffer {"connection_id":204318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 07:57:01] local.INFO: Packet analysis {"connection_id":204318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 07:57:01] local.INFO: Extracted packet for processing {"connection_id":204318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 07:57:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538703360001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791167114000,"timestamp_ms":1791167114000,"timestamp_seconds":1791167114,"priority":1,"record_length":96,"hex_timestamp":"000001a109e12b10"} 
[2026-10-05 07:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:57:01] 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-10-05 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:57: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-10-05 07: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-10-05 07:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538703360001,"66":25560,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538703360001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:57:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:57:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538703360001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":204318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:57:01] local.INFO: GPS data processed {"connection_id":204318,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:57:01] local.INFO: Acknowledgment sent {"connection_id":204318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:57:03] local.INFO: TCP Data received {"connection_id":204319,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:57:03] local.INFO: Processing buffer {"connection_id":204319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:57:03] local.INFO: IMEI packet received {"connection_id":204319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":204319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:57:04] local.INFO: TCP Data received {"connection_id":204319,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:57:04] local.INFO: Processing buffer {"connection_id":204319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:57:04] local.INFO: IMEI packet received {"connection_id":204319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":204319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:57:08] local.INFO: TCP Data received {"connection_id":204319,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:57:08] local.INFO: Processing buffer {"connection_id":204319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:57:08] local.INFO: IMEI packet received {"connection_id":204319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":204319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:57:08] local.INFO: TCP Data received {"connection_id":204319,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109e1d6f0012d7f5fc005e0e6a80003012620..."} 
[2026-10-05 07:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e1d6f0012d7f5fc005e0e6a80003012620..."} 
[2026-10-05 07:57:08] local.INFO: Processing buffer {"connection_id":204319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e1d6f0012d7f5fc005e0e6a80003012620..."} 
[2026-10-05 07:57:08] local.INFO: Packet analysis {"connection_id":204319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 07:57:08] local.INFO: Extracted packet for processing {"connection_id":204319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 07:57:08] local.INFO: GPS Element Parsed {"raw_longitude":763322304,"raw_latitude":98625192,"longitude_deg":76.3322304,"latitude_deg":9.8625192,"altitude":3,"angle":294,"satellites":32,"speed":5,"hex_longitude":"2d7f5fc0","hex_latitude":"05e0e6a8","is_valid_coordinates":true} 
[2026-10-05 07:57: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-10-05 07:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538787328001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139309888470777856,"note":"Value kept but may cause issues"} 
[2026-10-05 07:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9184387777828235264,"note":"Value kept but may cause issues"} 
[2026-10-05 07:57:08] 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-10-05 07:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791167158000,"timestamp_ms":1791167158000,"timestamp_seconds":1791167158,"priority":1,"record_length":96,"hex_timestamp":"000001a109e1d6f0"} 
[2026-10-05 07:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:57: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-10-05 07:57: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":161,"data_length":795,"current_offset":136} 
[2026-10-05 07:57:08] 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-10-05 07:57: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-10-05 07:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538787328001,"66":13526,"122":206,"85":15104,"24":5,"16":139309888470777856,"45":9184387777828235264},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-10-05 07:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538787328001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:57:08] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-05 07:57:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139309888470777856,"km_value":139309888470777.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9184387777828235264,"description":"Unknown IO ID 45"} 
[2026-10-05 07:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538787328001,"power":13526,"unknown_122":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9184387777828235264}} 
[2026-10-05 07:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":204319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:57:08] local.INFO: GPS data processed {"connection_id":204319,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:57:08] local.INFO: Acknowledgment sent {"connection_id":204319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:57:10] local.INFO: TCP Data received {"connection_id":204319,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109e209b8012d7f3e0005e0f3480004011920..."} 
[2026-10-05 07:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e209b8012d7f3e0005e0f3480004011920..."} 
[2026-10-05 07:57:10] local.INFO: Processing buffer {"connection_id":204319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e209b8012d7f3e0005e0f3480004011920..."} 
[2026-10-05 07:57:10] local.INFO: Packet analysis {"connection_id":204319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e2"} 
[2026-10-05 07:57:10] local.INFO: Extracted packet for processing {"connection_id":204319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e2"} 
[2026-10-05 07:57:10] local.INFO: GPS Element Parsed {"raw_longitude":763313664,"raw_latitude":98628424,"longitude_deg":76.3313664,"latitude_deg":9.8628424,"altitude":4,"angle":281,"satellites":32,"speed":40,"hex_longitude":"2d7f3e00","hex_latitude":"05e0f348","is_valid_coordinates":true} 
[2026-10-05 07:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538792448001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139310330852409344,"note":"Value kept but may cause issues"} 
[2026-10-05 07:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9178265697084942336,"note":"Value kept but may cause issues"} 
[2026-10-05 07:57:10] 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-10-05 07:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791167171000,"timestamp_ms":1791167171000,"timestamp_seconds":1791167171,"priority":1,"record_length":96,"hex_timestamp":"000001a109e209b8"} 
[2026-10-05 07:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:57: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-10-05 07:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-05 07:57:10] 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-10-05 07:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538792448001,"66":13906,"122":206,"85":15104,"24":40,"16":139310330852409344,"45":9178265697084942336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-10-05 07:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538792448001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:57:10] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-05 07:57:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139310330852409344,"km_value":139310330852409.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9178265697084942336,"description":"Unknown IO ID 45"} 
[2026-10-05 07:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538792448001,"power":13906,"unknown_122":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9178265697084942336}} 
[2026-10-05 07:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":204319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966084,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:57:10] local.INFO: GPS data processed {"connection_id":204319,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:57:10] local.INFO: Acknowledgment sent {"connection_id":204319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:57:32] local.INFO: TCP Data received {"connection_id":204318,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 07:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 07:57:32] local.INFO: Processing buffer {"connection_id":204318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 07:57:32] local.INFO: Packet analysis {"connection_id":204318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 07:57:32] local.INFO: Extracted packet for processing {"connection_id":204318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 07:57:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538703360001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:57: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-10-05 07:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791167114000,"timestamp_ms":1791167114000,"timestamp_seconds":1791167114,"priority":1,"record_length":96,"hex_timestamp":"000001a109e12b10"} 
[2026-10-05 07:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:57:32] 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-10-05 07: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":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:57: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-10-05 07: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-10-05 07:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538703360001,"66":25560,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 07:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538703360001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:57:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:57:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538703360001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":204318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:57:32] local.INFO: GPS data processed {"connection_id":204318,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:57:32] local.INFO: Acknowledgment sent {"connection_id":204318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:57:41] local.INFO: TCP Data received {"connection_id":204319,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109e2ffd0012d7e5c4005e0d9800009010920..."} 
[2026-10-05 07:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e2ffd0012d7e5c4005e0d9800009010920..."} 
[2026-10-05 07:57:41] local.INFO: Processing buffer {"connection_id":204319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e2ffd0012d7e5c4005e0d9800009010920..."} 
[2026-10-05 07:57:41] local.INFO: Packet analysis {"connection_id":204319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e2"} 
[2026-10-05 07:57:41] local.INFO: Extracted packet for processing {"connection_id":204319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e2"} 
[2026-10-05 07:57:41] local.INFO: GPS Element Parsed {"raw_longitude":763255872,"raw_latitude":98621824,"longitude_deg":76.3255872,"latitude_deg":9.8621824,"altitude":9,"angle":265,"satellites":32,"speed":42,"hex_longitude":"2d7e5c40","hex_latitude":"05e0d980","is_valid_coordinates":true} 
[2026-10-05 07:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538809856001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139313195595595776,"note":"Value kept but may cause issues"} 
[2026-10-05 07:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9115144933556746240,"note":"Value kept but may cause issues"} 
[2026-10-05 07:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 07:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791167234000,"timestamp_ms":1791167234000,"timestamp_seconds":1791167234,"priority":1,"record_length":96,"hex_timestamp":"000001a109e2ffd0"} 
[2026-10-05 07:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:57: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-10-05 07:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-05 07:57:41] 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-10-05 07:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538809856001,"66":13798,"103":206,"85":15104,"24":42,"16":139313195595595776,"45":9115144933556746240},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-10-05 07:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538809856001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:57:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 07:57:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139313195595595776,"km_value":139313195595595.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9115144933556746240,"description":"Unknown IO ID 45"} 
[2026-10-05 07:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538809856001,"power":13798,"unknown_103":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9115144933556746240}} 
[2026-10-05 07:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":204319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:57:41] local.INFO: GPS data processed {"connection_id":204319,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:57:41] local.INFO: Acknowledgment sent {"connection_id":204319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:57:55] local.INFO: TCP Data received {"connection_id":204320,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:57:55] local.INFO: Processing buffer {"connection_id":204320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:57:55] local.INFO: IMEI packet received {"connection_id":204320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":204320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:57:56] local.INFO: TCP Data received {"connection_id":204321,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204321,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:57:56] local.INFO: Processing buffer {"connection_id":204321,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:57:56] local.INFO: IMEI packet received {"connection_id":204321,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":204321,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:57:59] local.INFO: TCP Data received {"connection_id":204321,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204321,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:57:59] local.INFO: Processing buffer {"connection_id":204321,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:57:59] local.INFO: IMEI packet received {"connection_id":204321,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":204321,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:57:59] local.INFO: TCP Data received {"connection_id":204321,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204321,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:57:59] local.INFO: Processing buffer {"connection_id":204321,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:57:59] local.INFO: IMEI packet received {"connection_id":204321,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":204321,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:58:00] local.INFO: TCP Data received {"connection_id":204321,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204321,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:58:00] local.INFO: Processing buffer {"connection_id":204321,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:58:00] local.INFO: IMEI packet received {"connection_id":204321,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":204321,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:58:00] local.INFO: TCP Data received {"connection_id":204320,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:58:00] local.INFO: Processing buffer {"connection_id":204320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:58:00] local.INFO: IMEI packet received {"connection_id":204320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":204320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:58:01] local.INFO: TCP Data received {"connection_id":204321,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109e31f10012d7e348005e0dad0000801151f..."} 
[2026-10-05 07:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e31f10012d7e348005e0dad0000801151f..."} 
[2026-10-05 07:58:01] local.INFO: Processing buffer {"connection_id":204321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e31f10012d7e348005e0dad0000801151f..."} 
[2026-10-05 07:58:01] local.INFO: Packet analysis {"connection_id":204321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e3"} 
[2026-10-05 07:58:01] local.INFO: Extracted packet for processing {"connection_id":204321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e3"} 
[2026-10-05 07:58:01] local.INFO: GPS Element Parsed {"raw_longitude":763245696,"raw_latitude":98622160,"longitude_deg":76.3245696,"latitude_deg":9.862216,"altitude":8,"angle":277,"satellites":31,"speed":53,"hex_longitude":"2d7e3480","hex_latitude":"05e0dad0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538811904001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139313680926900224,"note":"Value kept but may cause issues"} 
[2026-10-05 07:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105222940627664896,"note":"Value kept but may cause issues"} 
[2026-10-05 07:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 07:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791167242000,"timestamp_ms":1791167242000,"timestamp_seconds":1791167242,"priority":1,"record_length":96,"hex_timestamp":"000001a109e31f10"} 
[2026-10-05 07:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:58: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-10-05 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 07:58: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-10-05 07: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-10-05 07:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538811904001,"66":13341,"103":206,"85":15104,"24":53,"16":139313680926900224,"45":9105222940627664896},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-10-05 07:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538811904001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:58:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 07:58:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139313680926900224,"km_value":139313680926900.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105222940627664896,"description":"Unknown IO ID 45"} 
[2026-10-05 07:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538811904001,"power":13341,"unknown_103":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9105222940627664896}} 
[2026-10-05 07:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":204321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:58:01] local.INFO: GPS data processed {"connection_id":204321,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:58:01] local.INFO: Acknowledgment sent {"connection_id":204321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:58:01] local.INFO: TCP Data received {"connection_id":204320,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 07:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 07:58:01] local.INFO: Processing buffer {"connection_id":204320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 07:58:01] local.INFO: Packet analysis {"connection_id":204320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 07:58:01] local.INFO: Extracted packet for processing {"connection_id":204320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 07:58:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538703360001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07: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-10-05 07:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791167114000,"timestamp_ms":1791167114000,"timestamp_seconds":1791167114,"priority":1,"record_length":96,"hex_timestamp":"000001a109e12b10"} 
[2026-10-05 07:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:58:01] 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-10-05 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:58: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-10-05 07: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-10-05 07:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:58: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-10-05 07:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538703360001,"66":25560,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538703360001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:58:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:58:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538703360001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":204320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:58:01] local.INFO: GPS data processed {"connection_id":204320,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:58:01] local.INFO: Acknowledgment sent {"connection_id":204320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:58:32] local.INFO: TCP Data received {"connection_id":204321,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109e31f10012d7e348005e0dad0000801151f..."} 
[2026-10-05 07:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e31f10012d7e348005e0dad0000801151f..."} 
[2026-10-05 07:58:32] local.INFO: Processing buffer {"connection_id":204321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e31f10012d7e348005e0dad0000801151f..."} 
[2026-10-05 07:58:32] local.INFO: Packet analysis {"connection_id":204321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e3"} 
[2026-10-05 07:58:32] local.INFO: Extracted packet for processing {"connection_id":204321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e3"} 
[2026-10-05 07:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763245696,"raw_latitude":98622160,"longitude_deg":76.3245696,"latitude_deg":9.862216,"altitude":8,"angle":277,"satellites":31,"speed":53,"hex_longitude":"2d7e3480","hex_latitude":"05e0dad0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538813952001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139313680926900224,"note":"Value kept but may cause issues"} 
[2026-10-05 07:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094034310303502336,"note":"Value kept but may cause issues"} 
[2026-10-05 07:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 07:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791167242000,"timestamp_ms":1791167242000,"timestamp_seconds":1791167242,"priority":1,"record_length":96,"hex_timestamp":"000001a109e31f10"} 
[2026-10-05 07:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-10-05 07:58:32] 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-10-05 07: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-10-05 07:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 07:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 07:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 07:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 07:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538813952001,"66":13341,"103":206,"85":15104,"24":53,"16":139313680926900224,"45":9094034310303502336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-10-05 07:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 07:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 07:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538813952001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:58:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 07:58:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 07:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139313680926900224,"km_value":139313680926900.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094034310303502336,"description":"Unknown IO ID 45"} 
[2026-10-05 07:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538813952001,"power":13341,"unknown_103":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9094034310303502336}} 
[2026-10-05 07:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":204321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:58:32] local.INFO: GPS data processed {"connection_id":204321,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:58:32] local.INFO: Acknowledgment sent {"connection_id":204321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:58:32] local.INFO: TCP Data received {"connection_id":204320,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 07:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 07:58:32] local.INFO: Processing buffer {"connection_id":204320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 07:58:32] local.INFO: Packet analysis {"connection_id":204320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 07:58:32] local.INFO: Extracted packet for processing {"connection_id":204320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 07:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07: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-10-05 07:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538703360001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:58: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-10-05 07:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791167114000,"timestamp_ms":1791167114000,"timestamp_seconds":1791167114,"priority":1,"record_length":96,"hex_timestamp":"000001a109e12b10"} 
[2026-10-05 07:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:58:32] 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-10-05 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:58: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-10-05 07: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-10-05 07:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:58: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-10-05 07:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538703360001,"66":25560,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538703360001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:58:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:58:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538703360001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":204320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:58:32] local.INFO: GPS data processed {"connection_id":204320,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:58:32] local.INFO: Acknowledgment sent {"connection_id":204320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:58:55] local.INFO: TCP Data received {"connection_id":204210,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:58:55] local.INFO: Processing buffer {"connection_id":204210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:58:55] local.INFO: IMEI packet received {"connection_id":204210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":204210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:58:57] local.INFO: TCP Data received {"connection_id":205760,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:58:57] local.INFO: Processing buffer {"connection_id":205760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:58:57] local.INFO: IMEI packet received {"connection_id":205760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 07:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":205760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 07:58:58] local.INFO: TCP Data received {"connection_id":205760,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:58:58] local.INFO: Processing buffer {"connection_id":205760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:58:58] local.INFO: IMEI packet received {"connection_id":205760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":205760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:58:58] local.INFO: TCP Data received {"connection_id":205760,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:58:58] local.INFO: Processing buffer {"connection_id":205760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:58:58] local.INFO: IMEI packet received {"connection_id":205760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":205760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:58:59] local.INFO: TCP Data received {"connection_id":205760,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:58:59] local.INFO: Processing buffer {"connection_id":205760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 07:58:59] local.INFO: IMEI packet received {"connection_id":205760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 07:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":205760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:59:00] local.INFO: TCP Data received {"connection_id":204210,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:59:00] local.INFO: Processing buffer {"connection_id":204210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:59:00] local.INFO: IMEI packet received {"connection_id":204210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 07:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":204210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 07:59:01] local.INFO: TCP Data received {"connection_id":204210,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 07:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 07:59:01] local.INFO: Processing buffer {"connection_id":204210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 07:59:01] local.INFO: Packet analysis {"connection_id":204210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 07:59:01] local.INFO: Extracted packet for processing {"connection_id":204210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 07:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538703360001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:59: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-10-05 07:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791167114000,"timestamp_ms":1791167114000,"timestamp_seconds":1791167114,"priority":1,"record_length":96,"hex_timestamp":"000001a109e12b10"} 
[2026-10-05 07:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:59:01] 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-10-05 07:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:59: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-10-05 07:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:59: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-10-05 07:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538703360001,"66":25560,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538703360001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:59:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:59:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538703360001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":204210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:59:01] local.INFO: GPS data processed {"connection_id":204210,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:59:01] local.INFO: Acknowledgment sent {"connection_id":204210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:59:32] local.INFO: TCP Data received {"connection_id":204210,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 07:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 07:59:32] local.INFO: Processing buffer {"connection_id":204210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 07:59:32] local.INFO: Packet analysis {"connection_id":204210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 07:59:32] local.INFO: Extracted packet for processing {"connection_id":204210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 07:59:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 07:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 07:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538703360001,"note":"Value kept but may cause issues"} 
[2026-10-05 07:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 07:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 07:59: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-10-05 07:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791167114000,"timestamp_ms":1791167114000,"timestamp_seconds":1791167114,"priority":1,"record_length":96,"hex_timestamp":"000001a109e12b10"} 
[2026-10-05 07:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 07:59:32] 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-10-05 07:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 07:59: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-10-05 07:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 07:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 07:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 07:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 07:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 07:59: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-10-05 07:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 07:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 07:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538703360001,"66":25560,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 07:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 07:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 07:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538703360001,"description":"Unknown IO ID 0"} 
[2026-10-05 07:59:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 07:59:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 07:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 07:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 07:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538703360001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 07:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":204210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 07:59:32] local.INFO: GPS data processed {"connection_id":204210,"processed":1,"errors":0,"total":1} 
[2026-10-05 07:59:32] local.INFO: Acknowledgment sent {"connection_id":204210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 07:59:55] local.INFO: TCP Data received {"connection_id":204323,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:59:55] local.INFO: Processing buffer {"connection_id":204323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 07:59:55] local.INFO: IMEI packet received {"connection_id":204323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 07:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":204323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:00:00] local.INFO: TCP Data received {"connection_id":204323,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:00:00] local.INFO: Processing buffer {"connection_id":204323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:00:00] local.INFO: IMEI packet received {"connection_id":204323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":204323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:00:02] local.INFO: TCP Data received {"connection_id":204323,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 08:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 08:00:02] local.INFO: Processing buffer {"connection_id":204323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 08:00:02] local.INFO: Packet analysis {"connection_id":204323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 08:00:02] local.INFO: Extracted packet for processing {"connection_id":204323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 08:00:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08:00: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-10-05 08:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538703360001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:00: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-10-05 08:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791167114000,"timestamp_ms":1791167114000,"timestamp_seconds":1791167114,"priority":1,"record_length":96,"hex_timestamp":"000001a109e12b10"} 
[2026-10-05 08:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:00: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-10-05 08:00: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-10-05 08:00: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-10-05 08:00: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-10-05 08:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:00: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-10-05 08:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538703360001,"66":25560,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538703360001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:00:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:00:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538703360001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":204323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:00:02] local.INFO: GPS data processed {"connection_id":204323,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:00:02] local.INFO: Acknowledgment sent {"connection_id":204323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:00:34] local.INFO: TCP Data received {"connection_id":204323,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 08:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 08:00:34] local.INFO: Processing buffer {"connection_id":204323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e12b10012d7f91c005afd9f0000401011f..."} 
[2026-10-05 08:00:34] local.INFO: Packet analysis {"connection_id":204323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 08:00:34] local.INFO: Extracted packet for processing {"connection_id":204323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e1"} 
[2026-10-05 08:00:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":31,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538703360001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:00: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-10-05 08:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791167114000,"timestamp_ms":1791167114000,"timestamp_seconds":1791167114,"priority":1,"record_length":96,"hex_timestamp":"000001a109e12b10"} 
[2026-10-05 08:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:00:34] 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-10-05 08:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 08:00:34] 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-10-05 08:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":204323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":204323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":204323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538703360001,"66":25560,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538703360001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:00:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:00:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538703360001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":204323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:00:34] local.INFO: GPS data processed {"connection_id":204323,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:00:34] local.INFO: Acknowledgment sent {"connection_id":204323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:01:00] local.INFO: TCP Data received {"connection_id":207307,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:01:00] local.INFO: Processing buffer {"connection_id":207307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:01:00] local.INFO: IMEI packet received {"connection_id":207307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":207307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:01:05] local.INFO: TCP Data received {"connection_id":207307,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:01:05] local.INFO: Processing buffer {"connection_id":207307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:01:05] local.INFO: IMEI packet received {"connection_id":207307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":207307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:01:06] local.INFO: TCP Data received {"connection_id":207307,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:01:06] local.INFO: Processing buffer {"connection_id":207307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:01:06] local.INFO: Packet analysis {"connection_id":207307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e5"} 
[2026-10-05 08:01:06] local.INFO: Extracted packet for processing {"connection_id":207307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e5"} 
[2026-10-05 08:01:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":28,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538781184001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:01: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-10-05 08:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791167412000,"timestamp_ms":1791167412000,"timestamp_seconds":1791167412,"priority":1,"record_length":96,"hex_timestamp":"000001a109e5b720"} 
[2026-10-05 08:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:01:06] 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-10-05 08:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 08:01:06] 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-10-05 08:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538781184001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538781184001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:01:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:01:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538781184001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":207307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:01:06] local.INFO: GPS data processed {"connection_id":207307,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:01:06] local.INFO: Acknowledgment sent {"connection_id":207307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:01:11] local.INFO: TCP Data received {"connection_id":207307,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:01:11] local.INFO: Processing buffer {"connection_id":207307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:01:11] local.INFO: Packet analysis {"connection_id":207307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e5"} 
[2026-10-05 08:01:11] local.INFO: Extracted packet for processing {"connection_id":207307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e5"} 
[2026-10-05 08:01:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":28,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538781184001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791167412000,"timestamp_ms":1791167412000,"timestamp_seconds":1791167412,"priority":1,"record_length":96,"hex_timestamp":"000001a109e5b720"} 
[2026-10-05 08:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:01:11] 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-10-05 08:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 08:01:11] 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-10-05 08:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538781184001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538781184001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:01:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538781184001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":207307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:01:11] local.INFO: GPS data processed {"connection_id":207307,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:01:11] local.INFO: Acknowledgment sent {"connection_id":207307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:01:13] local.INFO: TCP Data received {"connection_id":205762,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205762,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:01:13] local.INFO: Processing buffer {"connection_id":205762,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:01:13] local.INFO: IMEI packet received {"connection_id":205762,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 08:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":205762,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:01:42] local.INFO: TCP Data received {"connection_id":204324,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:01:42] local.INFO: Processing buffer {"connection_id":204324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:01:42] local.INFO: IMEI packet received {"connection_id":204324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 08:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":204324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:01:55] local.INFO: TCP Data received {"connection_id":204212,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:01:55] local.INFO: Processing buffer {"connection_id":204212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:01:55] local.INFO: IMEI packet received {"connection_id":204212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":204212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:02:00] local.INFO: TCP Data received {"connection_id":204212,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:02:00] local.INFO: Processing buffer {"connection_id":204212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:02:00] local.INFO: IMEI packet received {"connection_id":204212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":204212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:02:01] local.INFO: TCP Data received {"connection_id":204212,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:02:01] local.INFO: Processing buffer {"connection_id":204212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:02:01] local.INFO: Packet analysis {"connection_id":204212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e5"} 
[2026-10-05 08:02:01] local.INFO: Extracted packet for processing {"connection_id":204212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e5"} 
[2026-10-05 08:02:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":28,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538781184001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:02: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-10-05 08:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791167412000,"timestamp_ms":1791167412000,"timestamp_seconds":1791167412,"priority":1,"record_length":96,"hex_timestamp":"000001a109e5b720"} 
[2026-10-05 08:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:02:01] 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-10-05 08:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 08:02:01] 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-10-05 08:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:02: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-10-05 08:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538781184001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538781184001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:02:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:02:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538781184001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":204212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:02:01] local.INFO: GPS data processed {"connection_id":204212,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:02:01] local.INFO: Acknowledgment sent {"connection_id":204212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:02:33] local.INFO: TCP Data received {"connection_id":204212,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:02:33] local.INFO: Processing buffer {"connection_id":204212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:02:33] local.INFO: Packet analysis {"connection_id":204212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e5"} 
[2026-10-05 08:02:33] local.INFO: Extracted packet for processing {"connection_id":204212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e5"} 
[2026-10-05 08:02:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":28,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 08:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538781184001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:02: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-10-05 08:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791167412000,"timestamp_ms":1791167412000,"timestamp_seconds":1791167412,"priority":1,"record_length":96,"hex_timestamp":"000001a109e5b720"} 
[2026-10-05 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-10-05 08:02:33] 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-10-05 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 08:02:33] 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-10-05 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-10-05 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-10-05 08:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538781184001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538781184001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:02:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:02:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538781184001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":204212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:02:33] local.INFO: GPS data processed {"connection_id":204212,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:02:33] local.INFO: Acknowledgment sent {"connection_id":204212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:02:55] local.INFO: TCP Data received {"connection_id":205764,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:02:55] local.INFO: Processing buffer {"connection_id":205764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:02:55] local.INFO: IMEI packet received {"connection_id":205764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":205764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:03:00] local.INFO: TCP Data received {"connection_id":205764,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:03:00] local.INFO: Processing buffer {"connection_id":205764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:03:00] local.INFO: IMEI packet received {"connection_id":205764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":205764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:03:01] local.INFO: TCP Data received {"connection_id":205764,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:03:01] local.INFO: Processing buffer {"connection_id":205764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:03:01] local.INFO: Packet analysis {"connection_id":205764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e5"} 
[2026-10-05 08:03:01] local.INFO: Extracted packet for processing {"connection_id":205764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e5"} 
[2026-10-05 08:03:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":28,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538781184001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791167412000,"timestamp_ms":1791167412000,"timestamp_seconds":1791167412,"priority":1,"record_length":96,"hex_timestamp":"000001a109e5b720"} 
[2026-10-05 08:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:03:01] 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-10-05 08: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 08:03:01] 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-10-05 08: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-10-05 08:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:03: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-10-05 08:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538781184001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538781184001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:03:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:03:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538781184001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":205764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:03:01] local.INFO: GPS data processed {"connection_id":205764,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:03:01] local.INFO: Acknowledgment sent {"connection_id":205764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:03:32] local.INFO: TCP Data received {"connection_id":205764,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:03:32] local.INFO: Processing buffer {"connection_id":205764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:03:32] local.INFO: Packet analysis {"connection_id":205764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e5"} 
[2026-10-05 08:03:32] local.INFO: Extracted packet for processing {"connection_id":205764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e5"} 
[2026-10-05 08:03:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":28,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538781184001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:03: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-10-05 08:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791167412000,"timestamp_ms":1791167412000,"timestamp_seconds":1791167412,"priority":1,"record_length":96,"hex_timestamp":"000001a109e5b720"} 
[2026-10-05 08:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:03:32] 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-10-05 08:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 08:03:32] 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-10-05 08:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:03: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-10-05 08:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538781184001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538781184001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:03:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:03:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538781184001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":205764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:03:32] local.INFO: GPS data processed {"connection_id":205764,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:03:32] local.INFO: Acknowledgment sent {"connection_id":205764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:03:55] local.INFO: TCP Data received {"connection_id":204326,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:03:55] local.INFO: Processing buffer {"connection_id":204326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:03:55] local.INFO: IMEI packet received {"connection_id":204326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":204326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:04:00] local.INFO: TCP Data received {"connection_id":204326,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:04:00] local.INFO: Processing buffer {"connection_id":204326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:04:00] local.INFO: IMEI packet received {"connection_id":204326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":204326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:04:02] local.INFO: TCP Data received {"connection_id":204326,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:04:02] local.INFO: Processing buffer {"connection_id":204326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:04:02] local.INFO: Packet analysis {"connection_id":204326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e5"} 
[2026-10-05 08:04:02] local.INFO: Extracted packet for processing {"connection_id":204326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e5"} 
[2026-10-05 08:04:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":28,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 08:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538781184001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:04: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-10-05 08:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791167412000,"timestamp_ms":1791167412000,"timestamp_seconds":1791167412,"priority":1,"record_length":96,"hex_timestamp":"000001a109e5b720"} 
[2026-10-05 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-10-05 08:04: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-10-05 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 08:04:02] 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-10-05 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-10-05 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-10-05 08:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:04: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-10-05 08:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538781184001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538781184001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:04:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:04:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538781184001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":204326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:04:02] local.INFO: GPS data processed {"connection_id":204326,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:04:02] local.INFO: Acknowledgment sent {"connection_id":204326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:04:05] local.INFO: TCP Data received {"connection_id":204327,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:04:05] local.INFO: Processing buffer {"connection_id":204327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:04:05] local.INFO: IMEI packet received {"connection_id":204327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":204327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:04:05] local.INFO: TCP Data received {"connection_id":204327,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109e8bc90012d7b884005e1ba28000a00fb20..."} 
[2026-10-05 08:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e8bc90012d7b884005e1ba28000a00fb20..."} 
[2026-10-05 08:04:05] local.INFO: Processing buffer {"connection_id":204327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e8bc90012d7b884005e1ba28000a00fb20..."} 
[2026-10-05 08:04:05] local.INFO: Packet analysis {"connection_id":204327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e8"} 
[2026-10-05 08:04:05] local.INFO: Extracted packet for processing {"connection_id":204327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e8"} 
[2026-10-05 08:04:05] local.INFO: GPS Element Parsed {"raw_longitude":763070528,"raw_latitude":98679336,"longitude_deg":76.3070528,"latitude_deg":9.8679336,"altitude":10,"angle":251,"satellites":32,"speed":23,"hex_longitude":"2d7b8840","hex_latitude":"05e1ba28","is_valid_coordinates":true} 
[2026-10-05 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-10-05 08:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538905344001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909386725596151808,"note":"Value kept but may cause issues"} 
[2026-10-05 08:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139326737627480064,"note":"Value kept but may cause issues"} 
[2026-10-05 08:04:05] 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-10-05 08:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791167610000,"timestamp_ms":1791167610000,"timestamp_seconds":1791167610,"priority":1,"record_length":96,"hex_timestamp":"000001a109e8bc90"} 
[2026-10-05 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-10-05 08:04: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-10-05 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-10-05 08:04:05] 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-10-05 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-10-05 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-10-05 08:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538905344001,"66":13678,"45":8909386725596151808,"85":15104,"24":23,"16":139326737627480064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 08:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538905344001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909386725596151808,"description":"Unknown IO ID 45"} 
[2026-10-05 08:04:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139326737627480064,"km_value":139326737627480.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:04:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458538905344001,"power":13678,"unknown_45":8909386725596151808,"unknown_85":15104,"ignition":23,"odometer":null}} 
[2026-10-05 08:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":204327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:04:06] local.INFO: GPS data processed {"connection_id":204327,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:04:06] local.INFO: Acknowledgment sent {"connection_id":204327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:04:33] local.INFO: TCP Data received {"connection_id":204326,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:04:33] local.INFO: Processing buffer {"connection_id":204326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:04:33] local.INFO: Packet analysis {"connection_id":204326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e5"} 
[2026-10-05 08:04:33] local.INFO: Extracted packet for processing {"connection_id":204326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e5"} 
[2026-10-05 08:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":28,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08:04: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-10-05 08:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538781184001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:04: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-10-05 08:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791167412000,"timestamp_ms":1791167412000,"timestamp_seconds":1791167412,"priority":1,"record_length":96,"hex_timestamp":"000001a109e5b720"} 
[2026-10-05 08:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:04:33] 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-10-05 08:04: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":216,"data_length":795,"current_offset":136} 
[2026-10-05 08:04:33] 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-10-05 08:04: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-10-05 08:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:04: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-10-05 08:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538781184001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538781184001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:04:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:04:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538781184001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":204326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:04:33] local.INFO: GPS data processed {"connection_id":204326,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:04:33] local.INFO: Acknowledgment sent {"connection_id":204326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:04:36] local.INFO: TCP Data received {"connection_id":204327,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109e8dbd0012d7b76c005e1b460000901081f..."} 
[2026-10-05 08:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e8dbd0012d7b76c005e1b460000901081f..."} 
[2026-10-05 08:04:36] local.INFO: Processing buffer {"connection_id":204327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e8dbd0012d7b76c005e1b460000901081f..."} 
[2026-10-05 08:04:36] local.INFO: Packet analysis {"connection_id":204327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e8"} 
[2026-10-05 08:04:36] local.INFO: Extracted packet for processing {"connection_id":204327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e8"} 
[2026-10-05 08:04:36] local.INFO: GPS Element Parsed {"raw_longitude":763066048,"raw_latitude":98677856,"longitude_deg":76.3066048,"latitude_deg":9.8677856,"altitude":9,"angle":264,"satellites":31,"speed":21,"hex_longitude":"2d7b76c0","hex_latitude":"05e1b460","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538908160001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901435057503873024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139326965260746752,"note":"Value kept but may cause issues"} 
[2026-10-05 08:04:36] 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-10-05 08:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791167618000,"timestamp_ms":1791167618000,"timestamp_seconds":1791167618,"priority":1,"record_length":96,"hex_timestamp":"000001a109e8dbd0"} 
[2026-10-05 08:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:04: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-10-05 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 08:04: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-10-05 08: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-10-05 08:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538908160001,"66":13374,"45":8901435057503873024,"85":15104,"24":21,"16":139326965260746752},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 08:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538908160001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901435057503873024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:04:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139326965260746752,"km_value":139326965260746.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:04:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458538908160001,"power":13374,"unknown_45":8901435057503873024,"unknown_85":15104,"ignition":21,"odometer":null}} 
[2026-10-05 08:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":204327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966104,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:04:36] local.INFO: GPS data processed {"connection_id":204327,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:04:36] local.INFO: Acknowledgment sent {"connection_id":204327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:04:55] local.INFO: TCP Data received {"connection_id":204329,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:04:55] local.INFO: Processing buffer {"connection_id":204329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:04:55] local.INFO: IMEI packet received {"connection_id":204329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":204329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:04:58] local.INFO: TCP Data received {"connection_id":204330,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:04:58] local.INFO: Processing buffer {"connection_id":204330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:04:58] local.INFO: IMEI packet received {"connection_id":204330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":204330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:04:59] local.INFO: TCP Data received {"connection_id":204330,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:04:59] local.INFO: Processing buffer {"connection_id":204330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:04:59] local.INFO: IMEI packet received {"connection_id":204330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":204330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:05:00] local.INFO: TCP Data received {"connection_id":204329,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:05:00] local.INFO: Processing buffer {"connection_id":204329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:05:00] local.INFO: IMEI packet received {"connection_id":204329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":204329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:05:01] local.INFO: TCP Data received {"connection_id":204329,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:05:01] local.INFO: Processing buffer {"connection_id":204329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:05:01] local.INFO: Packet analysis {"connection_id":204329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e5"} 
[2026-10-05 08:05:01] local.INFO: Extracted packet for processing {"connection_id":204329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e5"} 
[2026-10-05 08:05:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":28,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538781184001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791167412000,"timestamp_ms":1791167412000,"timestamp_seconds":1791167412,"priority":1,"record_length":96,"hex_timestamp":"000001a109e5b720"} 
[2026-10-05 08:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:05:01] 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-10-05 08: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":216,"data_length":795,"current_offset":136} 
[2026-10-05 08:05:01] 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-10-05 08: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-10-05 08:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:05: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-10-05 08:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538781184001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538781184001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:05:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538781184001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":204329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:05:01] local.INFO: GPS data processed {"connection_id":204329,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:05:01] local.INFO: Acknowledgment sent {"connection_id":204329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:05:05] local.INFO: TCP Data received {"connection_id":204330,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:05:05] local.INFO: Processing buffer {"connection_id":204330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:05:05] local.INFO: IMEI packet received {"connection_id":204330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":204330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:05:06] local.INFO: TCP Data received {"connection_id":204330,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109ea00c8012d7b478005e15d800006012f1a..."} 
[2026-10-05 08:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ea00c8012d7b478005e15d800006012f1a..."} 
[2026-10-05 08:05:06] local.INFO: Processing buffer {"connection_id":204330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ea00c8012d7b478005e15d800006012f1a..."} 
[2026-10-05 08:05:06] local.INFO: Packet analysis {"connection_id":204330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:05:06] local.INFO: Extracted packet for processing {"connection_id":204330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:05:06] local.INFO: GPS Element Parsed {"raw_longitude":763053952,"raw_latitude":98655616,"longitude_deg":76.3053952,"latitude_deg":9.8655616,"altitude":6,"angle":303,"satellites":26,"speed":7,"hex_longitude":"2d7b4780","hex_latitude":"05e15d80","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538929152001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883420658988296192,"note":"Value kept but may cause issues"} 
[2026-10-05 08:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139328670362763264,"note":"Value kept but may cause issues"} 
[2026-10-05 08:05:06] 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-10-05 08:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791167693000,"timestamp_ms":1791167693000,"timestamp_seconds":1791167693,"priority":1,"record_length":96,"hex_timestamp":"000001a109ea00c8"} 
[2026-10-05 08:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 08:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538929152001,"66":13678,"45":8883420658988296192,"85":15104,"24":7,"16":139328670362763264},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 08:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538929152001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883420658988296192,"description":"Unknown IO ID 45"} 
[2026-10-05 08:05:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139328670362763264,"km_value":139328670362763.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:05:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458538929152001,"power":13678,"unknown_45":8883420658988296192,"unknown_85":15104,"ignition":7,"odometer":null}} 
[2026-10-05 08:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":204330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:05:06] local.INFO: GPS data processed {"connection_id":204330,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:05:06] local.INFO: Acknowledgment sent {"connection_id":204330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:05:32] local.INFO: TCP Data received {"connection_id":204329,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:05:32] local.INFO: Processing buffer {"connection_id":204329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109e5b720012d7f91c005afd9f0000401011c..."} 
[2026-10-05 08:05:32] local.INFO: Packet analysis {"connection_id":204329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109e5"} 
[2026-10-05 08:05:32] local.INFO: Extracted packet for processing {"connection_id":204329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109e5"} 
[2026-10-05 08:05:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":28,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08:05: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-10-05 08:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538781184001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:05: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-10-05 08:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791167412000,"timestamp_ms":1791167412000,"timestamp_seconds":1791167412,"priority":1,"record_length":96,"hex_timestamp":"000001a109e5b720"} 
[2026-10-05 08:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:05:32] 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-10-05 08:05: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":216,"data_length":795,"current_offset":136} 
[2026-10-05 08:05:32] 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-10-05 08:05: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-10-05 08:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:05: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-10-05 08:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538781184001,"66":25538,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538781184001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:05:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:05:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538781184001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":204329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:05:32] local.INFO: GPS data processed {"connection_id":204329,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:05:32] local.INFO: Acknowledgment sent {"connection_id":204329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:05:37] local.INFO: TCP Data received {"connection_id":204330,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109ea04b0012d7b470005e15e28000501431b..."} 
[2026-10-05 08:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ea04b0012d7b470005e15e28000501431b..."} 
[2026-10-05 08:05:37] local.INFO: Processing buffer {"connection_id":204330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ea04b0012d7b470005e15e28000501431b..."} 
[2026-10-05 08:05:37] local.INFO: Packet analysis {"connection_id":204330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:05:37] local.INFO: Extracted packet for processing {"connection_id":204330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:05:37] local.INFO: GPS Element Parsed {"raw_longitude":763053824,"raw_latitude":98655784,"longitude_deg":76.3053824,"latitude_deg":9.8655784,"altitude":5,"angle":323,"satellites":27,"speed":7,"hex_longitude":"2d7b4700","hex_latitude":"05e15e28","is_valid_coordinates":true} 
[2026-10-05 08:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538929408001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883209552755785728,"note":"Value kept but may cause issues"} 
[2026-10-05 08:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139328683247665152,"note":"Value kept but may cause issues"} 
[2026-10-05 08:05:37] 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-10-05 08:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791167694000,"timestamp_ms":1791167694000,"timestamp_seconds":1791167694,"priority":1,"record_length":96,"hex_timestamp":"000001a109ea04b0"} 
[2026-10-05 08:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:05: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-10-05 08:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 08:05:37] 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-10-05 08:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538929408001,"66":13830,"45":8883209552755785728,"85":15104,"24":7,"16":139328683247665152},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 08:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538929408001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883209552755785728,"description":"Unknown IO ID 45"} 
[2026-10-05 08:05:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139328683247665152,"km_value":139328683247665.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:05:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458538929408001,"power":13830,"unknown_45":8883209552755785728,"unknown_85":15104,"ignition":7,"odometer":null}} 
[2026-10-05 08:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":204330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966108,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:05:37] local.INFO: GPS data processed {"connection_id":204330,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:05:37] local.INFO: Acknowledgment sent {"connection_id":204330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:06:00] local.INFO: TCP Data received {"connection_id":204331,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:06:00] local.INFO: Processing buffer {"connection_id":204331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:06:00] local.INFO: IMEI packet received {"connection_id":204331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":204331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:06:04] local.INFO: TCP Data received {"connection_id":205766,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:06:04] local.INFO: Processing buffer {"connection_id":205766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:06:04] local.INFO: IMEI packet received {"connection_id":205766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":205766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:06:04] local.INFO: TCP Data received {"connection_id":205766,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:06:04] local.INFO: Processing buffer {"connection_id":205766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:06:04] local.INFO: IMEI packet received {"connection_id":205766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":205766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:06:05] local.INFO: TCP Data received {"connection_id":204331,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:06:05] local.INFO: Processing buffer {"connection_id":204331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:06:05] local.INFO: IMEI packet received {"connection_id":204331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":204331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:06:06] local.INFO: TCP Data received {"connection_id":204331,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:06:06] local.INFO: Processing buffer {"connection_id":204331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:06:06] local.INFO: Packet analysis {"connection_id":204331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:06:06] local.INFO: Extracted packet for processing {"connection_id":204331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:06:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538857472001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:06: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-10-05 08:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791167713000,"timestamp_ms":1791167713000,"timestamp_seconds":1791167713,"priority":1,"record_length":96,"hex_timestamp":"000001a109ea4ee8"} 
[2026-10-05 08:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:06:06] 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-10-05 08:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 08:06:06] 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-10-05 08:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:06: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-10-05 08:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538857472001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538857472001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:06:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:06:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538857472001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":204331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:06:06] local.INFO: GPS data processed {"connection_id":204331,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:06:06] local.INFO: Acknowledgment sent {"connection_id":204331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:06:10] local.INFO: TCP Data received {"connection_id":205766,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:06:10] local.INFO: Processing buffer {"connection_id":205766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:06:10] local.INFO: IMEI packet received {"connection_id":205766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":205766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:06:10] local.INFO: TCP Data received {"connection_id":205766,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109ea0898012d7b46c005e15f30000501541c..."} 
[2026-10-05 08:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ea0898012d7b46c005e15f30000501541c..."} 
[2026-10-05 08:06:10] local.INFO: Processing buffer {"connection_id":205766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ea0898012d7b46c005e15f30000501541c..."} 
[2026-10-05 08:06:10] local.INFO: Packet analysis {"connection_id":205766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:06:10] local.INFO: Extracted packet for processing {"connection_id":205766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:06:10] local.INFO: GPS Element Parsed {"raw_longitude":763053760,"raw_latitude":98656048,"longitude_deg":76.305376,"latitude_deg":9.8656048,"altitude":5,"angle":340,"satellites":28,"speed":10,"hex_longitude":"2d7b46c0","hex_latitude":"05e15f30","is_valid_coordinates":true} 
[2026-10-05 08:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538929664001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883068815267473408,"note":"Value kept but may cause issues"} 
[2026-10-05 08:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139328696132567040,"note":"Value kept but may cause issues"} 
[2026-10-05 08:06:10] 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-10-05 08:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791167695000,"timestamp_ms":1791167695000,"timestamp_seconds":1791167695,"priority":1,"record_length":96,"hex_timestamp":"000001a109ea0898"} 
[2026-10-05 08:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 08:06:10] local.WARNING: Large IO value detected {"io_id":24,"raw_value":6473933070073856,"note":"Value kept but may cause issues"} 
[2026-10-05 08:06:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626609283840,"note":"Value kept but may cause issues"} 
[2026-10-05 08:06:10] local.WARNING: Large IO value detected {"io_id":254,"raw_value":2751463424,"note":"Value kept but may cause issues"} 
[2026-10-05 08:06:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-05 08:06:10] local.WARNING: Large IO value detected {"io_id":69,"raw_value":2147869053,"note":"Value kept but may cause issues"} 
[2026-10-05 08:06:10] local.WARNING: Large IO value detected {"io_id":238,"raw_value":4266196992,"note":"Value kept but may cause issues"} 
[2026-10-05 08:06:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3785494528,"note":"Value kept but may cause issues"} 
[2026-10-05 08:06:10] local.WARNING: Large IO value detected {"io_id":108,"raw_value":6341399757688145377,"note":"Value kept but may cause issues"} 
[2026-10-05 08:06:10] local.WARNING: Large IO value detected {"io_id":168,"raw_value":-1152909406789369843,"note":"Value kept but may cause issues"} 
[2026-10-05 08:06:10] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,45,85,24,241,157,16,254,161,128,93,6,26,10,66,252,64,217,1,240,84,227,9,225,4,113,205,163,69,40,29,239,54,2,238,5,12,23,108,168],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-10-05 08:06:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360643228409987072,"timestamp_seconds":360643228409987.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 08:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":205766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":205766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":205766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538929664001,"66":13656,"45":8883068815267473408,"85":15104,"24":10,"16":139328696132567040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 08:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538929664001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883068815267473408,"description":"Unknown IO ID 45"} 
[2026-10-05 08:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139328696132567040,"km_value":139328696132567.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:06:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458538929664001,"power":13656,"unknown_45":8883068815267473408,"unknown_85":15104,"ignition":10,"odometer":null}} 
[2026-10-05 08:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":205766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:06:11] local.INFO: GPS data processed {"connection_id":205766,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:06:11] local.INFO: Acknowledgment sent {"connection_id":205766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:06:11] local.INFO: TCP Data received {"connection_id":204331,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:06:11] local.INFO: Processing buffer {"connection_id":204331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:06:11] local.INFO: Packet analysis {"connection_id":204331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:06:11] local.INFO: Extracted packet for processing {"connection_id":204331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:06:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538857472001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791167713000,"timestamp_ms":1791167713000,"timestamp_seconds":1791167713,"priority":1,"record_length":96,"hex_timestamp":"000001a109ea4ee8"} 
[2026-10-05 08:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:06:11] 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-10-05 08:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 08:06:11] 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-10-05 08:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538857472001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538857472001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:06:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:06:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538857472001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":204331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:06:11] local.INFO: GPS data processed {"connection_id":204331,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:06:11] local.INFO: Acknowledgment sent {"connection_id":204331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:06:42] local.INFO: TCP Data received {"connection_id":205766,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109ea1068012d7b460005e162f8000501601d..."} 
[2026-10-05 08:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ea1068012d7b460005e162f8000501601d..."} 
[2026-10-05 08:06:42] local.INFO: Processing buffer {"connection_id":205766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ea1068012d7b460005e162f8000501601d..."} 
[2026-10-05 08:06:42] local.INFO: Packet analysis {"connection_id":205766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:06:42] local.INFO: Extracted packet for processing {"connection_id":205766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:06:42] local.INFO: GPS Element Parsed {"raw_longitude":763053568,"raw_latitude":98657016,"longitude_deg":76.3053568,"latitude_deg":9.8657016,"altitude":5,"angle":352,"satellites":29,"speed":19,"hex_longitude":"2d7b4600","hex_latitude":"05e162f8","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538929920001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882998446523363328,"note":"Value kept but may cause issues"} 
[2026-10-05 08:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139328743377207296,"note":"Value kept but may cause issues"} 
[2026-10-05 08:06:42] 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-10-05 08:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791167697000,"timestamp_ms":1791167697000,"timestamp_seconds":1791167697,"priority":1,"record_length":96,"hex_timestamp":"000001a109ea1068"} 
[2026-10-05 08:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:06: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-10-05 08: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-05 08:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":205766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":205766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":205766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538929920001,"66":13656,"45":8882998446523363328,"85":15104,"24":19,"16":139328743377207296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 08:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538929920001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882998446523363328,"description":"Unknown IO ID 45"} 
[2026-10-05 08:06:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139328743377207296,"km_value":139328743377207.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:06:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458538929920001,"power":13656,"unknown_45":8882998446523363328,"unknown_85":15104,"ignition":19,"odometer":null}} 
[2026-10-05 08:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":205766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:06:42] local.INFO: GPS data processed {"connection_id":205766,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:06:42] local.INFO: Acknowledgment sent {"connection_id":205766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:06:55] local.INFO: TCP Data received {"connection_id":204215,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:06:55] local.INFO: Processing buffer {"connection_id":204215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:06:55] local.INFO: IMEI packet received {"connection_id":204215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":204215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:06:57] local.INFO: TCP Data received {"connection_id":204214,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:06:57] local.INFO: Processing buffer {"connection_id":204214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:06:57] local.INFO: IMEI packet received {"connection_id":204214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 08:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":204214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:07:00] local.INFO: TCP Data received {"connection_id":207310,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207310,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:07:00] local.INFO: Processing buffer {"connection_id":207310,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:07:00] local.INFO: IMEI packet received {"connection_id":207310,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":207310,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:07:00] local.INFO: TCP Data received {"connection_id":207310,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207310,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:07:00] local.INFO: Processing buffer {"connection_id":207310,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:07:00] local.INFO: IMEI packet received {"connection_id":207310,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":207310,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:07:00] local.INFO: TCP Data received {"connection_id":204215,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:07:00] local.INFO: Processing buffer {"connection_id":204215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:07:00] local.INFO: IMEI packet received {"connection_id":204215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":204215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:07:01] local.INFO: TCP Data received {"connection_id":204215,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:07:01] local.INFO: Processing buffer {"connection_id":204215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:07:01] local.INFO: Packet analysis {"connection_id":204215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:07:01] local.INFO: Extracted packet for processing {"connection_id":204215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:07:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538857472001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:07: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-10-05 08:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791167713000,"timestamp_ms":1791167713000,"timestamp_seconds":1791167713,"priority":1,"record_length":96,"hex_timestamp":"000001a109ea4ee8"} 
[2026-10-05 08:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:07:01] 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-10-05 08:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 08:07: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-10-05 08:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:07: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-10-05 08:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538857472001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538857472001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:07:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:07:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538857472001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":204215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:07:01] local.INFO: GPS data processed {"connection_id":204215,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:07:01] local.INFO: Acknowledgment sent {"connection_id":204215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:07:05] local.INFO: TCP Data received {"connection_id":207310,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207310,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:07:05] local.INFO: Processing buffer {"connection_id":207310,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:07:05] local.INFO: IMEI packet received {"connection_id":207310,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":207310,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:07:05] local.INFO: TCP Data received {"connection_id":207310,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109eba6a8012d7b2c4005e215b0000c016017..."} 
[2026-10-05 08:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109eba6a8012d7b2c4005e215b0000c016017..."} 
[2026-10-05 08:07:05] local.INFO: Processing buffer {"connection_id":207310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109eba6a8012d7b2c4005e215b0000c016017..."} 
[2026-10-05 08:07:05] local.INFO: Packet analysis {"connection_id":207310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109eb"} 
[2026-10-05 08:07:05] local.INFO: Extracted packet for processing {"connection_id":207310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109eb"} 
[2026-10-05 08:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763046976,"raw_latitude":98702768,"longitude_deg":76.3046976,"latitude_deg":9.8702768,"altitude":12,"angle":352,"satellites":23,"speed":14,"hex_longitude":"2d7b2c40","hex_latitude":"05e215b0","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538953728001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876594890814296064,"note":"Value kept but may cause issues"} 
[2026-10-05 08:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139331006824972288,"note":"Value kept but may cause issues"} 
[2026-10-05 08:07:05] 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-10-05 08:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791167801000,"timestamp_ms":1791167801000,"timestamp_seconds":1791167801,"priority":1,"record_length":96,"hex_timestamp":"000001a109eba6a8"} 
[2026-10-05 08:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:07: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-10-05 08: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":51,"data_length":795,"current_offset":136} 
[2026-10-05 08:07: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-10-05 08: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-10-05 08:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538953728001,"66":13678,"45":8876594890814296064,"85":15104,"24":14,"16":139331006824972288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 08:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538953728001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876594890814296064,"description":"Unknown IO ID 45"} 
[2026-10-05 08:07:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139331006824972288,"km_value":139331006824972.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:07:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458538953728001,"power":13678,"unknown_45":8876594890814296064,"unknown_85":15104,"ignition":14,"odometer":null}} 
[2026-10-05 08:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":207310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:07:05] local.INFO: GPS data processed {"connection_id":207310,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:07:05] local.INFO: Acknowledgment sent {"connection_id":207310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:07:32] local.INFO: TCP Data received {"connection_id":204215,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:07:32] local.INFO: Processing buffer {"connection_id":204215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:07:32] local.INFO: Packet analysis {"connection_id":204215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:07:32] local.INFO: Extracted packet for processing {"connection_id":204215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:07:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538857472001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:07: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-10-05 08:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791167713000,"timestamp_ms":1791167713000,"timestamp_seconds":1791167713,"priority":1,"record_length":96,"hex_timestamp":"000001a109ea4ee8"} 
[2026-10-05 08:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:07:32] 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-10-05 08:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 08:07:32] 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-10-05 08:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:07: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-10-05 08:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538857472001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538857472001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:07:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:07:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538857472001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":204215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:07:32] local.INFO: GPS data processed {"connection_id":204215,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:07:32] local.INFO: Acknowledgment sent {"connection_id":204215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:07:37] local.INFO: TCP Data received {"connection_id":207310,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109ebba30012d7b2b8005e21d80000e00031a..."} 
[2026-10-05 08:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ebba30012d7b2b8005e21d80000e00031a..."} 
[2026-10-05 08:07:37] local.INFO: Processing buffer {"connection_id":207310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ebba30012d7b2b8005e21d80000e00031a..."} 
[2026-10-05 08:07:37] local.INFO: Packet analysis {"connection_id":207310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109eb"} 
[2026-10-05 08:07:37] local.INFO: Extracted packet for processing {"connection_id":207310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109eb"} 
[2026-10-05 08:07:37] local.INFO: GPS Element Parsed {"raw_longitude":763046784,"raw_latitude":98704768,"longitude_deg":76.3046784,"latitude_deg":9.8704768,"altitude":14,"angle":3,"satellites":26,"speed":18,"hex_longitude":"2d7b2b80","hex_latitude":"05e21d80","is_valid_coordinates":true} 
[2026-10-05 08:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538957056001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875539359652491264,"note":"Value kept but may cause issues"} 
[2026-10-05 08:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139331105609220096,"note":"Value kept but may cause issues"} 
[2026-10-05 08:07:37] 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-10-05 08:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791167806000,"timestamp_ms":1791167806000,"timestamp_seconds":1791167806,"priority":1,"record_length":96,"hex_timestamp":"000001a109ebba30"} 
[2026-10-05 08:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:07: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-10-05 08:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 08:07:37] 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-10-05 08:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538957056001,"66":13559,"45":8875539359652491264,"85":15104,"24":18,"16":139331105609220096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 08:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538957056001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875539359652491264,"description":"Unknown IO ID 45"} 
[2026-10-05 08:07:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139331105609220096,"km_value":139331105609220.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:07:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458538957056001,"power":13559,"unknown_45":8875539359652491264,"unknown_85":15104,"ignition":18,"odometer":null}} 
[2026-10-05 08:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":207310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:07:37] local.INFO: GPS data processed {"connection_id":207310,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:07:37] local.INFO: Acknowledgment sent {"connection_id":207310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:07:42] local.INFO: TCP Data received {"connection_id":205767,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:07:42] local.INFO: Processing buffer {"connection_id":205767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:07:42] local.INFO: IMEI packet received {"connection_id":205767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 08:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":205767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:07:55] local.INFO: TCP Data received {"connection_id":204332,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:07:55] local.INFO: Processing buffer {"connection_id":204332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:07:55] local.INFO: IMEI packet received {"connection_id":204332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":204332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:08:00] local.INFO: TCP Data received {"connection_id":204333,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:08:00] local.INFO: Processing buffer {"connection_id":204333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:08:00] local.INFO: IMEI packet received {"connection_id":204333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":204333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:08:00] local.INFO: TCP Data received {"connection_id":204332,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:08:00] local.INFO: Processing buffer {"connection_id":204332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:08:00] local.INFO: IMEI packet received {"connection_id":204332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":204332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:08:01] local.INFO: TCP Data received {"connection_id":204332,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:08:01] local.INFO: Processing buffer {"connection_id":204332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:08:01] local.INFO: Packet analysis {"connection_id":204332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:08:01] local.INFO: Extracted packet for processing {"connection_id":204332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:08:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538857472001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791167713000,"timestamp_ms":1791167713000,"timestamp_seconds":1791167713,"priority":1,"record_length":96,"hex_timestamp":"000001a109ea4ee8"} 
[2026-10-05 08:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:08:01] 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-10-05 08: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":194,"data_length":795,"current_offset":136} 
[2026-10-05 08:08: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-10-05 08: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-10-05 08:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:08: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-10-05 08:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538857472001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538857472001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:08:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:08:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538857472001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":204332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:08:01] local.INFO: GPS data processed {"connection_id":204332,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:08:01] local.INFO: Acknowledgment sent {"connection_id":204332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:08:05] local.INFO: TCP Data received {"connection_id":204333,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:08:05] local.INFO: Processing buffer {"connection_id":204333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:08:05] local.INFO: IMEI packet received {"connection_id":204333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":204333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:08:05] local.INFO: TCP Data received {"connection_id":204333,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109ebcdb8012d7b2b4005e229b0000e015915..."} 
[2026-10-05 08:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ebcdb8012d7b2b4005e229b0000e015915..."} 
[2026-10-05 08:08:05] local.INFO: Processing buffer {"connection_id":204333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ebcdb8012d7b2b4005e229b0000e015915..."} 
[2026-10-05 08:08:05] local.INFO: Packet analysis {"connection_id":204333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109eb"} 
[2026-10-05 08:08:05] local.INFO: Extracted packet for processing {"connection_id":204333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109eb"} 
[2026-10-05 08:08:05] local.INFO: GPS Element Parsed {"raw_longitude":763046720,"raw_latitude":98707888,"longitude_deg":76.304672,"latitude_deg":9.8707888,"altitude":14,"angle":345,"satellites":21,"speed":24,"hex_longitude":"2d7b2b40","hex_latitude":"05e229b0","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538958336001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875328253420470272,"note":"Value kept but may cause issues"} 
[2026-10-05 08:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139331255933075456,"note":"Value kept but may cause issues"} 
[2026-10-05 08:08:05] 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-10-05 08:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791167811000,"timestamp_ms":1791167811000,"timestamp_seconds":1791167811,"priority":1,"record_length":96,"hex_timestamp":"000001a109ebcdb8"} 
[2026-10-05 08:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:08: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-10-05 08: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-05 08:08:05] 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-10-05 08: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-10-05 08:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538958336001,"66":13689,"45":8875328253420470272,"85":15104,"24":24,"16":139331255933075456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 08:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538958336001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875328253420470272,"description":"Unknown IO ID 45"} 
[2026-10-05 08:08:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139331255933075456,"km_value":139331255933075.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:08:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458538958336001,"power":13689,"unknown_45":8875328253420470272,"unknown_85":15104,"ignition":24,"odometer":null}} 
[2026-10-05 08:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":204333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:08:06] local.INFO: GPS data processed {"connection_id":204333,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:08:06] local.INFO: Acknowledgment sent {"connection_id":204333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:08:32] local.INFO: TCP Data received {"connection_id":204332,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:08:32] local.INFO: Processing buffer {"connection_id":204332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:08:32] local.INFO: Packet analysis {"connection_id":204332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:08:32] local.INFO: Extracted packet for processing {"connection_id":204332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538857472001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791167713000,"timestamp_ms":1791167713000,"timestamp_seconds":1791167713,"priority":1,"record_length":96,"hex_timestamp":"000001a109ea4ee8"} 
[2026-10-05 08:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:08:32] 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-10-05 08: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 08:08:32] 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-10-05 08: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-10-05 08:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538857472001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538857472001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:08:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:08:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538857472001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":204332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:08:32] local.INFO: GPS data processed {"connection_id":204332,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:08:32] local.INFO: Acknowledgment sent {"connection_id":204332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:08:37] local.INFO: TCP Data received {"connection_id":204333,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109ebe910012d7b298005e23ea00010016513..."} 
[2026-10-05 08:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ebe910012d7b298005e23ea00010016513..."} 
[2026-10-05 08:08:37] local.INFO: Processing buffer {"connection_id":204333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ebe910012d7b298005e23ea00010016513..."} 
[2026-10-05 08:08:37] local.INFO: Packet analysis {"connection_id":204333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109eb"} 
[2026-10-05 08:08:37] local.INFO: Extracted packet for processing {"connection_id":204333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109eb"} 
[2026-10-05 08:08:37] local.INFO: GPS Element Parsed {"raw_longitude":763046272,"raw_latitude":98713248,"longitude_deg":76.3046272,"latitude_deg":9.8713248,"altitude":16,"angle":357,"satellites":19,"speed":30,"hex_longitude":"2d7b2980","hex_latitude":"05e23ea0","is_valid_coordinates":true} 
[2026-10-05 08:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538959616001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875257884677091328,"note":"Value kept but may cause issues"} 
[2026-10-05 08:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139331517926080512,"note":"Value kept but may cause issues"} 
[2026-10-05 08:08:37] 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-10-05 08:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791167818000,"timestamp_ms":1791167818000,"timestamp_seconds":1791167818,"priority":1,"record_length":96,"hex_timestamp":"000001a109ebe910"} 
[2026-10-05 08:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:08: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-10-05 08:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-10-05 08:08:37] 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-10-05 08:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538959616001,"66":13646,"45":8875257884677091328,"85":15104,"24":30,"16":139331517926080512},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 08:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538959616001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875257884677091328,"description":"Unknown IO ID 45"} 
[2026-10-05 08:08:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139331517926080512,"km_value":139331517926080.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:08:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458538959616001,"power":13646,"unknown_45":8875257884677091328,"unknown_85":15104,"ignition":30,"odometer":null}} 
[2026-10-05 08:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":204333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:08:37] local.INFO: GPS data processed {"connection_id":204333,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:08:37] local.INFO: Acknowledgment sent {"connection_id":204333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:08:55] local.INFO: TCP Data received {"connection_id":205768,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:08:55] local.INFO: Processing buffer {"connection_id":205768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:08:55] local.INFO: IMEI packet received {"connection_id":205768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":205768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:08:59] local.INFO: TCP Data received {"connection_id":205769,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:08:59] local.INFO: Processing buffer {"connection_id":205769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:08:59] local.INFO: IMEI packet received {"connection_id":205769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":205769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:09:00] local.INFO: TCP Data received {"connection_id":205768,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:09:00] local.INFO: Processing buffer {"connection_id":205768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:09:00] local.INFO: IMEI packet received {"connection_id":205768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":205768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:09:01] local.INFO: TCP Data received {"connection_id":205768,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:09:01] local.INFO: Processing buffer {"connection_id":205768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:09:01] local.INFO: Packet analysis {"connection_id":205768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:09:01] local.INFO: Extracted packet for processing {"connection_id":205768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:09:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538857472001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791167713000,"timestamp_ms":1791167713000,"timestamp_seconds":1791167713,"priority":1,"record_length":96,"hex_timestamp":"000001a109ea4ee8"} 
[2026-10-05 08:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:09:01] 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-10-05 08: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 08:09: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-10-05 08: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-10-05 08:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:09: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-10-05 08:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538857472001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538857472001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:09:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:09:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538857472001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":205768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:09:01] local.INFO: GPS data processed {"connection_id":205768,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:09:01] local.INFO: Acknowledgment sent {"connection_id":205768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:09:05] local.INFO: TCP Data received {"connection_id":205769,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:09:05] local.INFO: Processing buffer {"connection_id":205769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:09:05] local.INFO: IMEI packet received {"connection_id":205769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":205769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:09:06] local.INFO: TCP Data received {"connection_id":205769,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109ed6fb0012d7b180005e2bc200006014116..."} 
[2026-10-05 08:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ed6fb0012d7b180005e2bc200006014116..."} 
[2026-10-05 08:09:06] local.INFO: Processing buffer {"connection_id":205769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ed6fb0012d7b180005e2bc200006014116..."} 
[2026-10-05 08:09:06] local.INFO: Packet analysis {"connection_id":205769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ed"} 
[2026-10-05 08:09:06] local.INFO: Extracted packet for processing {"connection_id":205769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ed"} 
[2026-10-05 08:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763041792,"raw_latitude":98745376,"longitude_deg":76.3041792,"latitude_deg":9.8745376,"altitude":6,"angle":321,"satellites":22,"speed":0,"hex_longitude":"2d7b1800","hex_latitude":"05e2bc20","is_valid_coordinates":true} 
[2026-10-05 08:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538986752001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139333124243849216,"note":"Value kept but may cause issues"} 
[2026-10-05 08:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869909860129171456,"note":"Value kept but may cause issues"} 
[2026-10-05 08:09: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-10-05 08:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791167918000,"timestamp_ms":1791167918000,"timestamp_seconds":1791167918,"priority":1,"record_length":96,"hex_timestamp":"000001a109ed6fb0"} 
[2026-10-05 08:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 08:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751640322,"note":"Value kept but may cause issues"} 
[2026-10-05 08:09:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 08:09:06] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 08:09:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-1224299600458809344,"note":"Value kept but may cause issues"} 
[2026-10-05 08:09:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 08:09:06] local.WARNING: Large IO value detected {"io_id":226,"raw_value":2884108298,"note":"Value kept but may cause issues"} 
[2026-10-05 08:09:06] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634926807932879,"note":"Value kept but may cause issues"} 
[2026-10-05 08:09:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607401678,"corrected_to":0} 
[2026-10-05 08:09:06] local.WARNING: Large IO value detected {"io_id":250,"raw_value":2147560827,"note":"Value kept but may cause issues"} 
[2026-10-05 08:09:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":721238,"corrected_to":0} 
[2026-10-05 08:09:06] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308383,"note":"Value kept but may cause issues"} 
[2026-10-05 08:09:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3802251264,"note":"Value kept but may cause issues"} 
[2026-10-05 08:09:06] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2089676698009731087,"note":"Value kept but may cause issues"} 
[2026-10-05 08:09:06] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864916939833658965,"note":"Value kept but may cause issues"} 
[2026-10-05 08:09:06] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-10-05 08:09:06] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,207,85,24,241,157,16,2,161,99,45,128,187,6,23,10,66,25,192,172,17,1,240,88,227,9,226,4,113,205,250,26,200,28,239,52,5,14,123,53,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1607401678,"validated":0},{"io_id":200,"original":721238,"validated":0}]} 
[2026-10-05 08:09:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432665616600530944,"timestamp_seconds":432665616600530.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 08:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538986752001,"66":13689,"207":206,"85":15104,"24":0,"16":139333124243849216,"45":8869909860129171456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 08:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538986752001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:09:06] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 08:09:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139333124243849216,"km_value":139333124243849.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869909860129171456,"description":"Unknown IO ID 45"} 
[2026-10-05 08:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538986752001,"power":13689,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8869909860129171456}} 
[2026-10-05 08:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":205769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:09:06] local.INFO: GPS data processed {"connection_id":205769,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:09:06] local.INFO: Acknowledgment sent {"connection_id":205769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:09:34] local.INFO: TCP Data received {"connection_id":205768,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:09:34] local.INFO: Processing buffer {"connection_id":205768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:09:34] local.INFO: Packet analysis {"connection_id":205768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:09:34] local.INFO: Extracted packet for processing {"connection_id":205768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:09:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538857472001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:09: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-10-05 08:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791167713000,"timestamp_ms":1791167713000,"timestamp_seconds":1791167713,"priority":1,"record_length":96,"hex_timestamp":"000001a109ea4ee8"} 
[2026-10-05 08:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:09:34] 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-10-05 08: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 08:09:34] 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-10-05 08: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-10-05 08:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":205768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":205768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":205768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538857472001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538857472001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:09:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:09:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538857472001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":205768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:09:34] local.INFO: GPS data processed {"connection_id":205768,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:09:34] local.INFO: Acknowledgment sent {"connection_id":205768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:09:37] local.INFO: TCP Data received {"connection_id":205769,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109ee2b30012d7b11c005e2d9a00000016715..."} 
[2026-10-05 08:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ee2b30012d7b11c005e2d9a00000016715..."} 
[2026-10-05 08:09:37] local.INFO: Processing buffer {"connection_id":205769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ee2b30012d7b11c005e2d9a00000016715..."} 
[2026-10-05 08:09:37] local.INFO: Packet analysis {"connection_id":205769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ee"} 
[2026-10-05 08:09:37] local.INFO: Extracted packet for processing {"connection_id":205769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ee"} 
[2026-10-05 08:09:37] local.INFO: GPS Element Parsed {"raw_longitude":763040192,"raw_latitude":98752928,"longitude_deg":76.3040192,"latitude_deg":9.8752928,"altitude":0,"angle":359,"satellites":21,"speed":6,"hex_longitude":"2d7b11c0","hex_latitude":"05e2d9a0","is_valid_coordinates":true} 
[2026-10-05 08:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538998784001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139333519380840448,"note":"Value kept but may cause issues"} 
[2026-10-05 08:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868150641526609920,"note":"Value kept but may cause issues"} 
[2026-10-05 08:09:37] 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-10-05 08:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791167966000,"timestamp_ms":1791167966000,"timestamp_seconds":1791167966,"priority":1,"record_length":96,"hex_timestamp":"000001a109ee2b30"} 
[2026-10-05 08:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:09: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-10-05 08:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 08:09:37] 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-10-05 08:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538998784001,"66":13330,"207":206,"85":15104,"24":6,"16":139333519380840448,"45":8868150641526609920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 08:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538998784001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:09:37] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 08:09:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139333519380840448,"km_value":139333519380840.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868150641526609920,"description":"Unknown IO ID 45"} 
[2026-10-05 08:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538998784001,"power":13330,"unknown_207":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8868150641526609920}} 
[2026-10-05 08:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":205769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:09:37] local.INFO: GPS data processed {"connection_id":205769,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:09:37] local.INFO: Acknowledgment sent {"connection_id":205769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:09:55] local.INFO: TCP Data received {"connection_id":207312,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:09:55] local.INFO: Processing buffer {"connection_id":207312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:09:55] local.INFO: IMEI packet received {"connection_id":207312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":207312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:10:00] local.INFO: TCP Data received {"connection_id":205770,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:10:00] local.INFO: Processing buffer {"connection_id":205770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:10:00] local.INFO: IMEI packet received {"connection_id":205770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":205770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:10:00] local.INFO: TCP Data received {"connection_id":207312,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:10:00] local.INFO: Processing buffer {"connection_id":207312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:10:00] local.INFO: IMEI packet received {"connection_id":207312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":207312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:10:01] local.INFO: TCP Data received {"connection_id":205770,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:10:01] local.INFO: Processing buffer {"connection_id":205770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:10:01] local.INFO: IMEI packet received {"connection_id":205770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":205770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:10:01] local.INFO: TCP Data received {"connection_id":207312,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:10:01] local.INFO: Processing buffer {"connection_id":207312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:10:01] local.INFO: Packet analysis {"connection_id":207312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:10:01] local.INFO: Extracted packet for processing {"connection_id":207312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538857472001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791167713000,"timestamp_ms":1791167713000,"timestamp_seconds":1791167713,"priority":1,"record_length":96,"hex_timestamp":"000001a109ea4ee8"} 
[2026-10-05 08:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:10:01] 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-10-05 08: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 08:10: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-10-05 08: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-10-05 08:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:10: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-10-05 08:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538857472001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538857472001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:10:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:10:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538857472001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":207312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:10:01] local.INFO: GPS data processed {"connection_id":207312,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:10:01] local.INFO: Acknowledgment sent {"connection_id":207312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:10:04] local.INFO: TCP Data received {"connection_id":205770,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:10:04] local.INFO: Processing buffer {"connection_id":205770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:10:04] local.INFO: IMEI packet received {"connection_id":205770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":205770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:10:05] local.INFO: TCP Data received {"connection_id":205770,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:10:05] local.INFO: Processing buffer {"connection_id":205770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:10:05] local.INFO: IMEI packet received {"connection_id":205770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":205770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:10:05] local.INFO: TCP Data received {"connection_id":205770,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109eeac18012d7b114005e2e7080000016613..."} 
[2026-10-05 08:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109eeac18012d7b114005e2e7080000016613..."} 
[2026-10-05 08:10:05] local.INFO: Processing buffer {"connection_id":205770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109eeac18012d7b114005e2e7080000016613..."} 
[2026-10-05 08:10:05] local.INFO: Packet analysis {"connection_id":205770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ee"} 
[2026-10-05 08:10:05] local.INFO: Extracted packet for processing {"connection_id":205770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ee"} 
[2026-10-05 08:10:05] local.INFO: GPS Element Parsed {"raw_longitude":763040064,"raw_latitude":98756360,"longitude_deg":76.3040064,"latitude_deg":9.875636,"altitude":0,"angle":358,"satellites":19,"speed":7,"hex_longitude":"2d7b1140","hex_latitude":"05e2e708","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539006208001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139333708359401472,"note":"Value kept but may cause issues"} 
[2026-10-05 08:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868080272783032320,"note":"Value kept but may cause issues"} 
[2026-10-05 08:10:05] 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-10-05 08:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791167999000,"timestamp_ms":1791167999000,"timestamp_seconds":1791167999,"priority":1,"record_length":96,"hex_timestamp":"000001a109eeac18"} 
[2026-10-05 08:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:10: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-10-05 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 08:10:05] 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-10-05 08: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-10-05 08:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539006208001,"66":13689,"207":206,"85":15104,"24":7,"16":139333708359401472,"45":8868080272783032320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 08:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539006208001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:10:05] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 08:10:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139333708359401472,"km_value":139333708359401.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868080272783032320,"description":"Unknown IO ID 45"} 
[2026-10-05 08:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539006208001,"power":13689,"unknown_207":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8868080272783032320}} 
[2026-10-05 08:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":205770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966126,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:10:06] local.INFO: GPS data processed {"connection_id":205770,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:10:06] local.INFO: Acknowledgment sent {"connection_id":205770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:10:06] local.INFO: TCP Data received {"connection_id":205770,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109eeb7d0012d7b110005e2e7c00000014e12..."} 
[2026-10-05 08:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109eeb7d0012d7b110005e2e7c00000014e12..."} 
[2026-10-05 08:10:06] local.INFO: Processing buffer {"connection_id":205770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109eeb7d0012d7b110005e2e7c00000014e12..."} 
[2026-10-05 08:10:06] local.INFO: Packet analysis {"connection_id":205770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ee"} 
[2026-10-05 08:10:06] local.INFO: Extracted packet for processing {"connection_id":205770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ee"} 
[2026-10-05 08:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763040000,"raw_latitude":98756544,"longitude_deg":76.304,"latitude_deg":9.8756544,"altitude":0,"angle":334,"satellites":18,"speed":2,"hex_longitude":"2d7b1100","hex_latitude":"05e2e7c0","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539007744001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139333716949336064,"note":"Value kept but may cause issues"} 
[2026-10-05 08:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867939535295023104,"note":"Value kept but may cause issues"} 
[2026-10-05 08:10: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-10-05 08:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791168002000,"timestamp_ms":1791168002000,"timestamp_seconds":1791168002,"priority":1,"record_length":96,"hex_timestamp":"000001a109eeb7d0"} 
[2026-10-05 08:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-10-05 08:10:06] 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-10-05 08:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539007744001,"66":13363,"207":206,"85":15104,"24":2,"16":139333716949336064,"45":8867939535295023104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 08:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539007744001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:10:06] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 08:10:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139333716949336064,"km_value":139333716949336.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867939535295023104,"description":"Unknown IO ID 45"} 
[2026-10-05 08:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539007744001,"power":13363,"unknown_207":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8867939535295023104}} 
[2026-10-05 08:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":205770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:10:06] local.INFO: GPS data processed {"connection_id":205770,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:10:06] local.INFO: Acknowledgment sent {"connection_id":205770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:10:33] local.INFO: TCP Data received {"connection_id":207312,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:10:33] local.INFO: Processing buffer {"connection_id":207312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ea4ee8012d7f91c005afd9f00004010123..."} 
[2026-10-05 08:10:33] local.INFO: Packet analysis {"connection_id":207312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:10:33] local.INFO: Extracted packet for processing {"connection_id":207312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":4,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 08:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538857472001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:10: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-10-05 08:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791167713000,"timestamp_ms":1791167713000,"timestamp_seconds":1791167713,"priority":1,"record_length":96,"hex_timestamp":"000001a109ea4ee8"} 
[2026-10-05 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-10-05 08:10:33] 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-10-05 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 08:10:33] 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-10-05 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-10-05 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-10-05 08:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:10: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-10-05 08:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538857472001,"66":25549,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538857472001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:10:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:10:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538857472001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":207312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:10:33] local.INFO: GPS data processed {"connection_id":207312,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:10:33] local.INFO: Acknowledgment sent {"connection_id":207312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:10:37] local.INFO: TCP Data received {"connection_id":205770,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109ef1d60012d7b104005e2edd80000001417..."} 
[2026-10-05 08:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ef1d60012d7b104005e2edd80000001417..."} 
[2026-10-05 08:10:37] local.INFO: Processing buffer {"connection_id":205770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ef1d60012d7b104005e2edd80000001417..."} 
[2026-10-05 08:10:37] local.INFO: Packet analysis {"connection_id":205770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ef"} 
[2026-10-05 08:10:37] local.INFO: Extracted packet for processing {"connection_id":205770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ef"} 
[2026-10-05 08:10:37] local.INFO: GPS Element Parsed {"raw_longitude":763039808,"raw_latitude":98758104,"longitude_deg":76.3039808,"latitude_deg":9.8758104,"altitude":0,"angle":20,"satellites":23,"speed":7,"hex_longitude":"2d7b1040","hex_latitude":"05e2edd8","is_valid_coordinates":true} 
[2026-10-05 08:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539014912001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139333905927897088,"note":"Value kept but may cause issues"} 
[2026-10-05 08:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867517322830350336,"note":"Value kept but may cause issues"} 
[2026-10-05 08:10:37] 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-10-05 08:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791168028000,"timestamp_ms":1791168028000,"timestamp_seconds":1791168028,"priority":1,"record_length":96,"hex_timestamp":"000001a109ef1d60"} 
[2026-10-05 08:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:10: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-10-05 08:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-10-05 08:10:37] 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-10-05 08:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539014912001,"66":13428,"207":206,"85":15104,"24":7,"16":139333905927897088,"45":8867517322830350336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 08:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539014912001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:10:37] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 08:10:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139333905927897088,"km_value":139333905927897.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867517322830350336,"description":"Unknown IO ID 45"} 
[2026-10-05 08:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539014912001,"power":13428,"unknown_207":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8867517322830350336}} 
[2026-10-05 08:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":205770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:10:38] local.INFO: GPS data processed {"connection_id":205770,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:10:38] local.INFO: Acknowledgment sent {"connection_id":205770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:11:00] local.INFO: TCP Data received {"connection_id":204335,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:11:00] local.INFO: Processing buffer {"connection_id":204335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:11:00] local.INFO: IMEI packet received {"connection_id":204335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":204335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:11:00] local.INFO: TCP Data received {"connection_id":204336,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:11:00] local.INFO: Processing buffer {"connection_id":204336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:11:00] local.INFO: IMEI packet received {"connection_id":204336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":204336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:11:05] local.INFO: TCP Data received {"connection_id":204336,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:11:05] local.INFO: Processing buffer {"connection_id":204336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:11:05] local.INFO: IMEI packet received {"connection_id":204336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":204336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:11:05] local.INFO: TCP Data received {"connection_id":204335,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:11:05] local.INFO: Processing buffer {"connection_id":204335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:11:05] local.INFO: IMEI packet received {"connection_id":204335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":204335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:11:06] local.INFO: TCP Data received {"connection_id":204335,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:11:06] local.INFO: Processing buffer {"connection_id":204335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:11:06] local.INFO: Packet analysis {"connection_id":204335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ee"} 
[2026-10-05 08:11:06] local.INFO: Extracted packet for processing {"connection_id":204335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ee"} 
[2026-10-05 08:11:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":0,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538934528001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:11:06] 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-10-05 08:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791168015000,"timestamp_ms":1791168015000,"timestamp_seconds":1791168015,"priority":1,"record_length":96,"hex_timestamp":"000001a109eeea98"} 
[2026-10-05 08:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:11:06] 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-10-05 08:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 08:11:06] 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-10-05 08:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538934528001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538934528001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:11:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 08:11:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538934528001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":204335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:11:06] local.INFO: GPS data processed {"connection_id":204335,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:11:06] local.INFO: Acknowledgment sent {"connection_id":204335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:11:10] local.INFO: TCP Data received {"connection_id":204336,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:11:10] local.INFO: Processing buffer {"connection_id":204336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:11:10] local.INFO: IMEI packet received {"connection_id":204336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":204336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:11:10] local.INFO: TCP Data received {"connection_id":204336,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109ef30e8012d7b120005e2f4380000000416..."} 
[2026-10-05 08:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ef30e8012d7b120005e2f4380000000416..."} 
[2026-10-05 08:11:10] local.INFO: Processing buffer {"connection_id":204336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ef30e8012d7b120005e2f4380000000416..."} 
[2026-10-05 08:11:10] local.INFO: Packet analysis {"connection_id":204336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ef"} 
[2026-10-05 08:11:10] local.INFO: Extracted packet for processing {"connection_id":204336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ef"} 
[2026-10-05 08:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763040256,"raw_latitude":98759736,"longitude_deg":76.3040256,"latitude_deg":9.8759736,"altitude":0,"angle":4,"satellites":22,"speed":9,"hex_longitude":"2d7b1200","hex_latitude":"05e2f438","is_valid_coordinates":true} 
[2026-10-05 08:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539015168001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139333991827243008,"note":"Value kept but may cause issues"} 
[2026-10-05 08:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867658060318758912,"note":"Value kept but may cause issues"} 
[2026-10-05 08:11: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-10-05 08:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791168033000,"timestamp_ms":1791168033000,"timestamp_seconds":1791168033,"priority":1,"record_length":96,"hex_timestamp":"000001a109ef30e8"} 
[2026-10-05 08:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 08:11:10] 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-10-05 08:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539015168001,"66":13102,"207":206,"85":15104,"24":9,"16":139333991827243008,"45":8867658060318758912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 08:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539015168001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:11:10] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 08:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139333991827243008,"km_value":139333991827243.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867658060318758912,"description":"Unknown IO ID 45"} 
[2026-10-05 08:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539015168001,"power":13102,"unknown_207":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8867658060318758912}} 
[2026-10-05 08:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":204336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:11:10] local.INFO: GPS data processed {"connection_id":204336,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:11:10] local.INFO: Acknowledgment sent {"connection_id":204336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:11:11] local.INFO: TCP Data received {"connection_id":204335,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:11:11] local.INFO: Processing buffer {"connection_id":204335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:11:11] local.INFO: Packet analysis {"connection_id":204335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ee"} 
[2026-10-05 08:11:11] local.INFO: Extracted packet for processing {"connection_id":204335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ee"} 
[2026-10-05 08:11:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":0,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538934528001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:11:11] 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-10-05 08:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791168015000,"timestamp_ms":1791168015000,"timestamp_seconds":1791168015,"priority":1,"record_length":96,"hex_timestamp":"000001a109eeea98"} 
[2026-10-05 08:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:11:11] 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-10-05 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 08:11:11] 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-10-05 08: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-10-05 08:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538934528001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538934528001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:11:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 08:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538934528001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":204335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:11:11] local.INFO: GPS data processed {"connection_id":204335,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:11:11] local.INFO: Acknowledgment sent {"connection_id":204335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:11:14] local.INFO: TCP Data received {"connection_id":204336,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a109ef34d0012d7b128005e2f4e80000001a16..."} 
[2026-10-05 08:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ef34d0012d7b128005e2f4e80000001a16..."} 
[2026-10-05 08:11:14] local.INFO: Processing buffer {"connection_id":204336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ef34d0012d7b128005e2f4e80000001a16..."} 
[2026-10-05 08:11:14] local.INFO: Packet analysis {"connection_id":204336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ef"} 
[2026-10-05 08:11:14] local.INFO: Extracted packet for processing {"connection_id":204336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ef"} 
[2026-10-05 08:11:14] local.INFO: GPS Element Parsed {"raw_longitude":763040384,"raw_latitude":98759912,"longitude_deg":76.3040384,"latitude_deg":9.8759912,"altitude":0,"angle":26,"satellites":22,"speed":6,"hex_longitude":"2d7b1280","hex_latitude":"05e2f4e8","is_valid_coordinates":true} 
[2026-10-05 08:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539016448001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139334000417177600,"note":"Value kept but may cause issues"} 
[2026-10-05 08:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868150641528420352,"note":"Value kept but may cause issues"} 
[2026-10-05 08:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791168034000,"timestamp_ms":1791168034000,"timestamp_seconds":1791168034,"priority":1,"record_length":96,"hex_timestamp":"000001a109ef34d0"} 
[2026-10-05 08:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:11: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-10-05 08:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-05 08:11: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-10-05 08:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":204336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":204336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":204336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539016448001,"66":13798,"207":206,"85":15104,"24":6,"16":139334000417177600,"45":8868150641528420352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 08:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539016448001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:11:14] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 08:11:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139334000417177600,"km_value":139334000417177.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868150641528420352,"description":"Unknown IO ID 45"} 
[2026-10-05 08:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539016448001,"power":13798,"unknown_207":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8868150641528420352}} 
[2026-10-05 08:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":204336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:11:14] local.INFO: GPS data processed {"connection_id":204336,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:11:14] local.INFO: Acknowledgment sent {"connection_id":204336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:11:55] local.INFO: TCP Data received {"connection_id":204337,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:11:55] local.INFO: Processing buffer {"connection_id":204337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:11:55] local.INFO: IMEI packet received {"connection_id":204337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":204337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:11:56] local.INFO: TCP Data received {"connection_id":204218,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:11:56] local.INFO: Processing buffer {"connection_id":204218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:11:56] local.INFO: IMEI packet received {"connection_id":204218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":204218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:11:57] local.INFO: TCP Data received {"connection_id":204218,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:11:57] local.INFO: Processing buffer {"connection_id":204218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:11:57] local.INFO: IMEI packet received {"connection_id":204218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":204218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:11:58] local.INFO: TCP Data received {"connection_id":204218,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:11:58] local.INFO: Processing buffer {"connection_id":204218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:11:58] local.INFO: IMEI packet received {"connection_id":204218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":204218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:12:00] local.INFO: TCP Data received {"connection_id":204218,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:12:00] local.INFO: Processing buffer {"connection_id":204218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:12:00] local.INFO: IMEI packet received {"connection_id":204218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":204218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:12:02] local.INFO: TCP Data received {"connection_id":204337,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:12:02] local.INFO: Processing buffer {"connection_id":204337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:12:02] local.INFO: IMEI packet received {"connection_id":204337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":204337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:12:04] local.INFO: TCP Data received {"connection_id":204337,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:12:04] local.INFO: Processing buffer {"connection_id":204337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:12:04] local.INFO: Packet analysis {"connection_id":204337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ee"} 
[2026-10-05 08:12:04] local.INFO: Extracted packet for processing {"connection_id":204337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ee"} 
[2026-10-05 08:12:04] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":0,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538934528001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:12: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-10-05 08:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791168015000,"timestamp_ms":1791168015000,"timestamp_seconds":1791168015,"priority":1,"record_length":96,"hex_timestamp":"000001a109eeea98"} 
[2026-10-05 08:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:12: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-10-05 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 08:12: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-10-05 08: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-10-05 08:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":204337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":204337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":204337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08: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-10-05 08:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538934528001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538934528001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:12:04] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 08:12:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538934528001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":204337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:12:04] local.INFO: GPS data processed {"connection_id":204337,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:12:04] local.INFO: Acknowledgment sent {"connection_id":204337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:12:35] local.INFO: TCP Data received {"connection_id":204337,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:12:35] local.INFO: Processing buffer {"connection_id":204337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:12:35] local.INFO: Packet analysis {"connection_id":204337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ee"} 
[2026-10-05 08:12:35] local.INFO: Extracted packet for processing {"connection_id":204337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ee"} 
[2026-10-05 08:12:35] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":0,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538934528001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:12:35] 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-10-05 08:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791168015000,"timestamp_ms":1791168015000,"timestamp_seconds":1791168015,"priority":1,"record_length":96,"hex_timestamp":"000001a109eeea98"} 
[2026-10-05 08:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:12:35] 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-10-05 08:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 08:12:35] 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-10-05 08:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":204337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":204337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":204337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538934528001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538934528001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:12:35] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 08:12:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538934528001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":204337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:12:35] local.INFO: GPS data processed {"connection_id":204337,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:12:35] local.INFO: Acknowledgment sent {"connection_id":204337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:12:56] local.INFO: TCP Data received {"connection_id":205772,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:12:56] local.INFO: Processing buffer {"connection_id":205772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:12:56] local.INFO: IMEI packet received {"connection_id":205772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":205772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:12:58] local.INFO: TCP Data received {"connection_id":205771,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205771,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:12:58] local.INFO: Processing buffer {"connection_id":205771,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:12:58] local.INFO: IMEI packet received {"connection_id":205771,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 08:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":205771,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:13:00] local.INFO: TCP Data received {"connection_id":205772,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:13:00] local.INFO: Processing buffer {"connection_id":205772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:13:00] local.INFO: IMEI packet received {"connection_id":205772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":205772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:13:01] local.INFO: TCP Data received {"connection_id":205772,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:13:01] local.INFO: Processing buffer {"connection_id":205772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:13:01] local.INFO: Packet analysis {"connection_id":205772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ee"} 
[2026-10-05 08:13:01] local.INFO: Extracted packet for processing {"connection_id":205772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ee"} 
[2026-10-05 08:13:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":0,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538934528001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791168015000,"timestamp_ms":1791168015000,"timestamp_seconds":1791168015,"priority":1,"record_length":96,"hex_timestamp":"000001a109eeea98"} 
[2026-10-05 08:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:13:01] 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-10-05 08: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-10-05 08: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-10-05 08: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-10-05 08:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:13: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-10-05 08:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538934528001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 08:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538934528001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:13:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 08:13:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538934528001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":205772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:13:01] local.INFO: GPS data processed {"connection_id":205772,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:13:01] local.INFO: Acknowledgment sent {"connection_id":205772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:13:32] local.INFO: TCP Data received {"connection_id":205772,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:13:32] local.INFO: Processing buffer {"connection_id":205772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:13:32] local.INFO: Packet analysis {"connection_id":205772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ee"} 
[2026-10-05 08:13:32] local.INFO: Extracted packet for processing {"connection_id":205772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ee"} 
[2026-10-05 08:13:32] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":0,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538934528001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:13: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-10-05 08:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791168015000,"timestamp_ms":1791168015000,"timestamp_seconds":1791168015,"priority":1,"record_length":96,"hex_timestamp":"000001a109eeea98"} 
[2026-10-05 08:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:13:32] 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-10-05 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 08:13: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-10-05 08: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-10-05 08:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:13: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-10-05 08:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538934528001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-10-05 08:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538934528001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:13:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 08:13:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538934528001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":205772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:13:32] local.INFO: GPS data processed {"connection_id":205772,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:13:32] local.INFO: Acknowledgment sent {"connection_id":205772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:13:43] local.INFO: TCP Data received {"connection_id":204338,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:13:43] local.INFO: Processing buffer {"connection_id":204338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:13:43] local.INFO: IMEI packet received {"connection_id":204338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 08:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":204338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:13:55] local.INFO: TCP Data received {"connection_id":204219,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:13:55] local.INFO: Processing buffer {"connection_id":204219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:13:55] local.INFO: IMEI packet received {"connection_id":204219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":204219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:14:00] local.INFO: TCP Data received {"connection_id":204219,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:14:00] local.INFO: Processing buffer {"connection_id":204219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:14:00] local.INFO: IMEI packet received {"connection_id":204219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":204219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:14:01] local.INFO: TCP Data received {"connection_id":204219,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:14:01] local.INFO: Processing buffer {"connection_id":204219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:14:01] local.INFO: Packet analysis {"connection_id":204219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ee"} 
[2026-10-05 08:14:01] local.INFO: Extracted packet for processing {"connection_id":204219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ee"} 
[2026-10-05 08:14:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":0,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538934528001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:14: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-10-05 08:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791168015000,"timestamp_ms":1791168015000,"timestamp_seconds":1791168015,"priority":1,"record_length":96,"hex_timestamp":"000001a109eeea98"} 
[2026-10-05 08:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:14:01] 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-10-05 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 08:14: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-10-05 08: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-10-05 08:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:14: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-10-05 08:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538934528001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538934528001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:14:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 08:14:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538934528001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":204219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:14:01] local.INFO: GPS data processed {"connection_id":204219,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:14:01] local.INFO: Acknowledgment sent {"connection_id":204219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:14:33] local.INFO: TCP Data received {"connection_id":204219,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:14:33] local.INFO: Processing buffer {"connection_id":204219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:14:33] local.INFO: Packet analysis {"connection_id":204219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ee"} 
[2026-10-05 08:14:33] local.INFO: Extracted packet for processing {"connection_id":204219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ee"} 
[2026-10-05 08:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":0,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 08:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538934528001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:14: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-10-05 08:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791168015000,"timestamp_ms":1791168015000,"timestamp_seconds":1791168015,"priority":1,"record_length":96,"hex_timestamp":"000001a109eeea98"} 
[2026-10-05 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-10-05 08:14:33] 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-10-05 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 08:14:33] 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-10-05 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-10-05 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-10-05 08:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:14: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-10-05 08:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538934528001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538934528001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:14:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 08:14:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538934528001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":204219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:14:33] local.INFO: GPS data processed {"connection_id":204219,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:14:33] local.INFO: Acknowledgment sent {"connection_id":204219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:15:00] local.INFO: TCP Data received {"connection_id":204339,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:15:00] local.INFO: Processing buffer {"connection_id":204339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:15:00] local.INFO: IMEI packet received {"connection_id":204339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":204339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:15:05] local.INFO: TCP Data received {"connection_id":204339,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:15:05] local.INFO: Processing buffer {"connection_id":204339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:15:05] local.INFO: IMEI packet received {"connection_id":204339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":204339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:15:06] local.INFO: TCP Data received {"connection_id":204339,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:15:06] local.INFO: Processing buffer {"connection_id":204339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:15:06] local.INFO: Packet analysis {"connection_id":204339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ee"} 
[2026-10-05 08:15:06] local.INFO: Extracted packet for processing {"connection_id":204339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ee"} 
[2026-10-05 08:15:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":0,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538934528001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:15:06] 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-10-05 08:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791168015000,"timestamp_ms":1791168015000,"timestamp_seconds":1791168015,"priority":1,"record_length":96,"hex_timestamp":"000001a109eeea98"} 
[2026-10-05 08:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:15:06] 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-10-05 08:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 08:15:06] 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-10-05 08:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:15: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-10-05 08:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538934528001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538934528001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:15:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 08:15:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538934528001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":204339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:15:06] local.INFO: GPS data processed {"connection_id":204339,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:15:06] local.INFO: Acknowledgment sent {"connection_id":204339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:15:11] local.INFO: TCP Data received {"connection_id":204339,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:15:11] local.INFO: Processing buffer {"connection_id":204339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109eeea98012d7f91c005afd9f00000010120..."} 
[2026-10-05 08:15:11] local.INFO: Packet analysis {"connection_id":204339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ee"} 
[2026-10-05 08:15:11] local.INFO: Extracted packet for processing {"connection_id":204339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ee"} 
[2026-10-05 08:15:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":0,"angle":257,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538934528001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:15:11] 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-10-05 08:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791168015000,"timestamp_ms":1791168015000,"timestamp_seconds":1791168015,"priority":1,"record_length":96,"hex_timestamp":"000001a109eeea98"} 
[2026-10-05 08:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:15:11] 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-10-05 08:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 08:15:11] 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-10-05 08:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538934528001,"66":25495,"199":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538934528001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:15:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-05 08:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538934528001,"power":25495,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":204339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:15:11] local.INFO: GPS data processed {"connection_id":204339,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:15:11] local.INFO: Acknowledgment sent {"connection_id":204339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:15:53] local.INFO: TCP Data received {"connection_id":207318,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:15:53] local.INFO: Processing buffer {"connection_id":207318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:15:53] local.INFO: IMEI packet received {"connection_id":207318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":207318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:15:55] local.INFO: TCP Data received {"connection_id":207318,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:15:55] local.INFO: Processing buffer {"connection_id":207318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:15:55] local.INFO: IMEI packet received {"connection_id":207318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":207318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:16:00] local.INFO: TCP Data received {"connection_id":207318,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:16:00] local.INFO: Processing buffer {"connection_id":207318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:16:00] local.INFO: IMEI packet received {"connection_id":207318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":207318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:16:01] local.INFO: TCP Data received {"connection_id":207318,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a109f399d0012d7f91c005afd9f00000010122..."} 
[2026-10-05 08:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f399d0012d7f91c005afd9f00000010122..."} 
[2026-10-05 08:16:01] local.INFO: Processing buffer {"connection_id":207318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f399d0012d7f91c005afd9f00000010122..."} 
[2026-10-05 08:16:01] local.INFO: Packet analysis {"connection_id":207318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f3"} 
[2026-10-05 08:16:01] local.INFO: Extracted packet for processing {"connection_id":207318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f3"} 
[2026-10-05 08:16:01] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":0,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539011840001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791168322000,"timestamp_ms":1791168322000,"timestamp_seconds":1791168322,"priority":1,"record_length":96,"hex_timestamp":"000001a109f399d0"} 
[2026-10-05 08:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 08: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 08:16: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-10-05 08: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-10-05 08:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539011840001,"66":25495,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 08:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539011840001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:16:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:16:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539011840001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":207318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:16:01] local.INFO: GPS data processed {"connection_id":207318,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:16:01] local.INFO: Acknowledgment sent {"connection_id":207318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:16:34] local.INFO: TCP Data received {"connection_id":207318,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a109f399d0012d7f91c005afd9f00000010122..."} 
[2026-10-05 08:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f399d0012d7f91c005afd9f00000010122..."} 
[2026-10-05 08:16:34] local.INFO: Processing buffer {"connection_id":207318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f399d0012d7f91c005afd9f00000010122..."} 
[2026-10-05 08:16:34] local.INFO: Packet analysis {"connection_id":207318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f3"} 
[2026-10-05 08:16:34] local.INFO: Extracted packet for processing {"connection_id":207318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f3"} 
[2026-10-05 08:16:34] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":0,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539011840001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791168322000,"timestamp_ms":1791168322000,"timestamp_seconds":1791168322,"priority":1,"record_length":96,"hex_timestamp":"000001a109f399d0"} 
[2026-10-05 08:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 08: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 08:16:34] 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-10-05 08: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-10-05 08:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":207318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":207318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":207318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539011840001,"66":25495,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 08:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539011840001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:16:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:16:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539011840001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":207318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:16:34] local.INFO: GPS data processed {"connection_id":207318,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:16:34] local.INFO: Acknowledgment sent {"connection_id":207318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:17:00] local.INFO: TCP Data received {"connection_id":204221,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:17:00] local.INFO: Processing buffer {"connection_id":204221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:17:00] local.INFO: IMEI packet received {"connection_id":204221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":204221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:17:05] local.INFO: TCP Data received {"connection_id":204221,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:17:05] local.INFO: Processing buffer {"connection_id":204221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:17:05] local.INFO: IMEI packet received {"connection_id":204221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":204221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:17:06] local.INFO: TCP Data received {"connection_id":204221,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109f399d0012d7f91c005afd9f00000010122..."} 
[2026-10-05 08:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f399d0012d7f91c005afd9f00000010122..."} 
[2026-10-05 08:17:06] local.INFO: Processing buffer {"connection_id":204221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f399d0012d7f91c005afd9f00000010122..."} 
[2026-10-05 08:17:06] local.INFO: Packet analysis {"connection_id":204221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f3"} 
[2026-10-05 08:17:06] local.INFO: Extracted packet for processing {"connection_id":204221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f3"} 
[2026-10-05 08:17:06] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":0,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539011840001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791168322000,"timestamp_ms":1791168322000,"timestamp_seconds":1791168322,"priority":1,"record_length":96,"hex_timestamp":"000001a109f399d0"} 
[2026-10-05 08:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 08:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 08:17: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-10-05 08:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:17: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-10-05 08:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539011840001,"66":25495,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539011840001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:17:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:17:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539011840001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":204221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:17:06] local.INFO: GPS data processed {"connection_id":204221,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:17:06] local.INFO: Acknowledgment sent {"connection_id":204221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:17:11] local.INFO: TCP Data received {"connection_id":204222,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:17:11] local.INFO: Processing buffer {"connection_id":204222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:17:11] local.INFO: IMEI packet received {"connection_id":204222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":204222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:17:11] local.INFO: TCP Data received {"connection_id":204221,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109f399d0012d7f91c005afd9f00000010122..."} 
[2026-10-05 08:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f399d0012d7f91c005afd9f00000010122..."} 
[2026-10-05 08:17:11] local.INFO: Processing buffer {"connection_id":204221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f399d0012d7f91c005afd9f00000010122..."} 
[2026-10-05 08:17:11] local.INFO: Packet analysis {"connection_id":204221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f3"} 
[2026-10-05 08:17:11] local.INFO: Extracted packet for processing {"connection_id":204221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f3"} 
[2026-10-05 08:17:11] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":0,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539011840001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791168322000,"timestamp_ms":1791168322000,"timestamp_seconds":1791168322,"priority":1,"record_length":96,"hex_timestamp":"000001a109f399d0"} 
[2026-10-05 08:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 08:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 08:17:11] 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-10-05 08:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539011840001,"66":25495,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539011840001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:17:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:17:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539011840001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":204221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:17:11] local.INFO: GPS data processed {"connection_id":204221,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:17:11] local.INFO: Acknowledgment sent {"connection_id":204221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:17:11] local.INFO: TCP Data received {"connection_id":204222,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:17:11] local.INFO: Processing buffer {"connection_id":204222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:17:11] local.INFO: IMEI packet received {"connection_id":204222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":204222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:17:12] local.INFO: TCP Data received {"connection_id":204222,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a109f48818012d7a260005e4b218000000fd1d..."} 
[2026-10-05 08:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f48818012d7a260005e4b218000000fd1d..."} 
[2026-10-05 08:17:12] local.INFO: Processing buffer {"connection_id":204222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f48818012d7a260005e4b218000000fd1d..."} 
[2026-10-05 08:17:12] local.INFO: Packet analysis {"connection_id":204222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f4"} 
[2026-10-05 08:17:12] local.INFO: Extracted packet for processing {"connection_id":204222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f4"} 
[2026-10-05 08:17:12] local.INFO: GPS Element Parsed {"raw_longitude":762979840,"raw_latitude":98873880,"longitude_deg":76.297984,"latitude_deg":9.887388,"altitude":0,"angle":253,"satellites":29,"speed":8,"hex_longitude":"2d7a2600","hex_latitude":"05e4b218","is_valid_coordinates":true} 
[2026-10-05 08:17: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-10-05 08:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539105792001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139340984034000896,"note":"Value kept but may cause issues"} 
[2026-10-05 08:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802004022030657536,"note":"Value kept but may cause issues"} 
[2026-10-05 08:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791168383000,"timestamp_ms":1791168383000,"timestamp_seconds":1791168383,"priority":1,"record_length":96,"hex_timestamp":"000001a109f48818"} 
[2026-10-05 08:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:17: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-10-05 08:17: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-10-05 08:17: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-10-05 08:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539105792001,"66":13222,"39":206,"87":13824,"24":8,"16":139340984034000896,"45":8802004022030657536},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-10-05 08:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539105792001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:17:12] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-10-05 08:17:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139340984034000896,"km_value":139340984034000.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802004022030657536,"description":"Unknown IO ID 45"} 
[2026-10-05 08:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539105792001,"power":13222,"unknown_39":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8802004022030657536}} 
[2026-10-05 08:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":204222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:17:12] local.INFO: GPS data processed {"connection_id":204222,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:17:12] local.INFO: Acknowledgment sent {"connection_id":204222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:17:15] local.INFO: TCP Data received {"connection_id":204222,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a109f48c00012d7a254005e4b168000000ec1d..."} 
[2026-10-05 08:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f48c00012d7a254005e4b168000000ec1d..."} 
[2026-10-05 08:17:15] local.INFO: Processing buffer {"connection_id":204222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f48c00012d7a254005e4b168000000ec1d..."} 
[2026-10-05 08:17:15] local.INFO: Packet analysis {"connection_id":204222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f4"} 
[2026-10-05 08:17:15] local.INFO: Extracted packet for processing {"connection_id":204222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f4"} 
[2026-10-05 08:17:15] local.INFO: GPS Element Parsed {"raw_longitude":762979648,"raw_latitude":98873704,"longitude_deg":76.2979648,"latitude_deg":9.8873704,"altitude":0,"angle":236,"satellites":29,"speed":11,"hex_longitude":"2d7a2540","hex_latitude":"05e4b168","is_valid_coordinates":true} 
[2026-10-05 08:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539106048001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139340996918902784,"note":"Value kept but may cause issues"} 
[2026-10-05 08:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801722547053926400,"note":"Value kept but may cause issues"} 
[2026-10-05 08:17:15] 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-10-05 08:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791168384000,"timestamp_ms":1791168384000,"timestamp_seconds":1791168384,"priority":1,"record_length":96,"hex_timestamp":"000001a109f48c00"} 
[2026-10-05 08:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-10-05 08:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539106048001,"66":13722,"39":206,"87":13824,"24":11,"16":139340996918902784,"45":8801722547053926400},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-10-05 08:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539106048001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:17:15] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-10-05 08:17:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139340996918902784,"km_value":139340996918902.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801722547053926400,"description":"Unknown IO ID 45"} 
[2026-10-05 08:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539106048001,"power":13722,"unknown_39":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8801722547053926400}} 
[2026-10-05 08:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":204222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:17:15] local.INFO: GPS data processed {"connection_id":204222,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:17:15] local.INFO: Acknowledgment sent {"connection_id":204222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:17:55] local.INFO: TCP Data received {"connection_id":207319,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:17:55] local.INFO: Processing buffer {"connection_id":207319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:17:55] local.INFO: IMEI packet received {"connection_id":207319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":207319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:17:59] local.INFO: TCP Data received {"connection_id":207319,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:17:59] local.INFO: Processing buffer {"connection_id":207319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:17:59] local.INFO: IMEI packet received {"connection_id":207319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":207319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:18:00] local.INFO: TCP Data received {"connection_id":205774,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:18:00] local.INFO: Processing buffer {"connection_id":205774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:18:00] local.INFO: IMEI packet received {"connection_id":205774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":205774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:18:00] local.INFO: TCP Data received {"connection_id":207319,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109f591b8012d7f91c005afd9f00000010122..."} 
[2026-10-05 08:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f591b8012d7f91c005afd9f00000010122..."} 
[2026-10-05 08:18:00] local.INFO: Processing buffer {"connection_id":207319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f591b8012d7f91c005afd9f00000010122..."} 
[2026-10-05 08:18:00] local.INFO: Packet analysis {"connection_id":207319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f5"} 
[2026-10-05 08:18:00] local.INFO: Extracted packet for processing {"connection_id":207319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f5"} 
[2026-10-05 08:18:00] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410672,"longitude_deg":76.3335104,"latitude_deg":9.5410672,"altitude":0,"angle":257,"satellites":34,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afd9f0","is_valid_coordinates":true} 
[2026-10-05 08:18: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-10-05 08:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539090432001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:18: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-10-05 08:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791168451000,"timestamp_ms":1791168451000,"timestamp_seconds":1791168451,"priority":1,"record_length":96,"hex_timestamp":"000001a109f591b8"} 
[2026-10-05 08:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 08: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 08:18: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-10-05 08: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-10-05 08:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:18: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-10-05 08:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539090432001,"66":25549,"249":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539090432001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:18:00] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-10-05 08:18:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539090432001,"power":25549,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":207319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:18:00] local.INFO: GPS data processed {"connection_id":207319,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:18:00] local.INFO: Acknowledgment sent {"connection_id":207319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:18:03] local.INFO: TCP Data received {"connection_id":205774,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:18:03] local.INFO: Processing buffer {"connection_id":205774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:18:03] local.INFO: IMEI packet received {"connection_id":205774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":205774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:18:04] local.INFO: TCP Data received {"connection_id":205774,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a109f49ba0012d7a1e8005e4ad78000000f71e..."} 
[2026-10-05 08:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f49ba0012d7a1e8005e4ad78000000f71e..."} 
[2026-10-05 08:18:04] local.INFO: Processing buffer {"connection_id":205774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f49ba0012d7a1e8005e4ad78000000f71e..."} 
[2026-10-05 08:18:04] local.INFO: Packet analysis {"connection_id":205774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f4"} 
[2026-10-05 08:18:04] local.INFO: Extracted packet for processing {"connection_id":205774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f4"} 
[2026-10-05 08:18:04] local.INFO: GPS Element Parsed {"raw_longitude":762977920,"raw_latitude":98872696,"longitude_deg":76.297792,"latitude_deg":9.8872696,"altitude":0,"angle":247,"satellites":30,"speed":22,"hex_longitude":"2d7a1e80","hex_latitude":"05e4ad78","is_valid_coordinates":true} 
[2026-10-05 08:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539106304001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139341095703150592,"note":"Value kept but may cause issues"} 
[2026-10-05 08:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801511440821348352,"note":"Value kept but may cause issues"} 
[2026-10-05 08:18:04] 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-10-05 08:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791168388000,"timestamp_ms":1791168388000,"timestamp_seconds":1791168388,"priority":1,"record_length":96,"hex_timestamp":"000001a109f49ba0"} 
[2026-10-05 08:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:18: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-10-05 08:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-10-05 08:18:04] 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-10-05 08:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":205774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":205774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":205774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539106304001,"66":13906,"39":206,"87":13824,"24":22,"16":139341095703150592,"45":8801511440821348352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-10-05 08:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539106304001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:18:04] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-10-05 08:18:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139341095703150592,"km_value":139341095703150.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801511440821348352,"description":"Unknown IO ID 45"} 
[2026-10-05 08:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539106304001,"power":13906,"unknown_39":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8801511440821348352}} 
[2026-10-05 08:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":205774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:18:04] local.INFO: GPS data processed {"connection_id":205774,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:18:04] local.INFO: Acknowledgment sent {"connection_id":205774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:18:32] local.INFO: TCP Data received {"connection_id":207319,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109f59988012d7f8a4005afe080000000a322..."} 
[2026-10-05 08:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f59988012d7f8a4005afe080000000a322..."} 
[2026-10-05 08:18:32] local.INFO: Processing buffer {"connection_id":207319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f59988012d7f8a4005afe080000000a322..."} 
[2026-10-05 08:18:32] local.INFO: Packet analysis {"connection_id":207319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f5"} 
[2026-10-05 08:18:32] local.INFO: Extracted packet for processing {"connection_id":207319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f5"} 
[2026-10-05 08:18:32] local.INFO: GPS Element Parsed {"raw_longitude":763333184,"raw_latitude":95412352,"longitude_deg":76.3333184,"latitude_deg":9.5412352,"altitude":0,"angle":163,"satellites":34,"speed":0,"hex_longitude":"2d7f8a40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539123456001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097558016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:18: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-10-05 08:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791168453000,"timestamp_ms":1791168453000,"timestamp_seconds":1791168453,"priority":1,"record_length":96,"hex_timestamp":"000001a109f59988"} 
[2026-10-05 08:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:18: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-10-05 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 08:18: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-10-05 08: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-10-05 08:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:18: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-10-05 08:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539123456001,"66":25375,"249":206,"85":12544,"24":0,"16":1893195814273024,"45":9192339445097558016},"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-10-05 08:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539123456001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:18:32] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-10-05 08:18:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097558016,"description":"Unknown IO ID 45"} 
[2026-10-05 08:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539123456001,"power":25375,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097558016}} 
[2026-10-05 08:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":207319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:18:32] local.INFO: GPS data processed {"connection_id":207319,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:18:32] local.INFO: Acknowledgment sent {"connection_id":207319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:18:35] local.INFO: TCP Data received {"connection_id":205774,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a109f4ce68012d79fc8005e49d10000000f422..."} 
[2026-10-05 08:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f4ce68012d79fc8005e49d10000000f422..."} 
[2026-10-05 08:18:35] local.INFO: Processing buffer {"connection_id":205774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f4ce68012d79fc8005e49d10000000f422..."} 
[2026-10-05 08:18:35] local.INFO: Packet analysis {"connection_id":205774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f4"} 
[2026-10-05 08:18:35] local.INFO: Extracted packet for processing {"connection_id":205774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f4"} 
[2026-10-05 08:18:35] local.INFO: GPS Element Parsed {"raw_longitude":762969216,"raw_latitude":98868496,"longitude_deg":76.2969216,"latitude_deg":9.8868496,"altitude":0,"angle":244,"satellites":34,"speed":30,"hex_longitude":"2d79fc80","hex_latitude":"05e49d10","is_valid_coordinates":true} 
[2026-10-05 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-10-05 08:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539107328001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139341555264651264,"note":"Value kept but may cause issues"} 
[2026-10-05 08:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799611484728293376,"note":"Value kept but may cause issues"} 
[2026-10-05 08:18:35] 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-10-05 08:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791168401000,"timestamp_ms":1791168401000,"timestamp_seconds":1791168401,"priority":1,"record_length":96,"hex_timestamp":"000001a109f4ce68"} 
[2026-10-05 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-10-05 08:18: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-10-05 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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 08:18:35] 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-10-05 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-10-05 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-10-05 08:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":205774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":205774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":205774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539107328001,"66":13537,"39":206,"87":13824,"24":30,"16":139341555264651264,"45":8799611484728293376},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-10-05 08:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539107328001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:18:35] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-10-05 08:18:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139341555264651264,"km_value":139341555264651.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799611484728293376,"description":"Unknown IO ID 45"} 
[2026-10-05 08:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539107328001,"power":13537,"unknown_39":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8799611484728293376}} 
[2026-10-05 08:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":205774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:18:35] local.INFO: GPS data processed {"connection_id":205774,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:18:35] local.INFO: Acknowledgment sent {"connection_id":205774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:18:55] local.INFO: TCP Data received {"connection_id":204343,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:18:55] local.INFO: Processing buffer {"connection_id":204343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:18:55] local.INFO: IMEI packet received {"connection_id":204343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":204343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:18:58] local.INFO: TCP Data received {"connection_id":204343,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:18:58] local.INFO: Processing buffer {"connection_id":204343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:18:58] local.INFO: IMEI packet received {"connection_id":204343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":204343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:18:59] local.INFO: TCP Data received {"connection_id":205775,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:18:59] local.INFO: Processing buffer {"connection_id":205775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:18:59] local.INFO: IMEI packet received {"connection_id":205775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":205775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:19:00] local.INFO: TCP Data received {"connection_id":204343,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:19:00] local.INFO: Processing buffer {"connection_id":204343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:19:00] local.INFO: IMEI packet received {"connection_id":204343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":204343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:19:01] local.INFO: TCP Data received {"connection_id":204343,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109f5ef78012d7f8a4005afe080000000a322..."} 
[2026-10-05 08:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f5ef78012d7f8a4005afe080000000a322..."} 
[2026-10-05 08:19:01] local.INFO: Processing buffer {"connection_id":204343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f5ef78012d7f8a4005afe080000000a322..."} 
[2026-10-05 08:19:01] local.INFO: Packet analysis {"connection_id":204343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f5"} 
[2026-10-05 08:19:01] local.INFO: Extracted packet for processing {"connection_id":204343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f5"} 
[2026-10-05 08:19:01] local.INFO: GPS Element Parsed {"raw_longitude":763333184,"raw_latitude":95412352,"longitude_deg":76.3333184,"latitude_deg":9.5412352,"altitude":0,"angle":163,"satellites":34,"speed":0,"hex_longitude":"2d7f8a40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-10-05 08:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539123968001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190228382772658176,"note":"Value kept but may cause issues"} 
[2026-10-05 08:19: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-10-05 08:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791168475000,"timestamp_ms":1791168475000,"timestamp_seconds":1791168475,"priority":1,"record_length":96,"hex_timestamp":"000001a109f5ef78"} 
[2026-10-05 08:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:19:01] 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-10-05 08:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-10-05 08:19: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-10-05 08:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:19: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-10-05 08:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539123968001,"66":27821,"249":206,"85":12544,"24":0,"16":1893195814273024,"45":9190228382772658176},"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-10-05 08:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539123968001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:19:01] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-10-05 08:19:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190228382772658176,"description":"Unknown IO ID 45"} 
[2026-10-05 08:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539123968001,"power":27821,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190228382772658176}} 
[2026-10-05 08:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":204343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:19:01] local.INFO: GPS data processed {"connection_id":204343,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:19:01] local.INFO: Acknowledgment sent {"connection_id":204343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:19:03] local.INFO: TCP Data received {"connection_id":205775,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:19:03] local.INFO: Processing buffer {"connection_id":205775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:19:03] local.INFO: IMEI packet received {"connection_id":205775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":205775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:19:03] local.INFO: TCP Data received {"connection_id":204342,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:19:03] local.INFO: Processing buffer {"connection_id":204342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:19:03] local.INFO: IMEI packet received {"connection_id":204342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 08:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":204342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:19:04] local.INFO: TCP Data received {"connection_id":205775,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:19:04] local.INFO: Processing buffer {"connection_id":205775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:19:04] local.INFO: IMEI packet received {"connection_id":205775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":205775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:19:05] local.INFO: TCP Data received {"connection_id":205775,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a109f69388012d79e24005e490600001001923..."} 
[2026-10-05 08:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f69388012d79e24005e490600001001923..."} 
[2026-10-05 08:19:05] local.INFO: Processing buffer {"connection_id":205775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f69388012d79e24005e490600001001923..."} 
[2026-10-05 08:19:05] local.INFO: Packet analysis {"connection_id":205775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f6"} 
[2026-10-05 08:19:05] local.INFO: Extracted packet for processing {"connection_id":205775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f6"} 
[2026-10-05 08:19:05] local.INFO: GPS Element Parsed {"raw_longitude":762962496,"raw_latitude":98865248,"longitude_deg":76.2962496,"latitude_deg":9.8865248,"altitude":1,"angle":25,"satellites":35,"speed":9,"hex_longitude":"2d79e240","hex_latitude":"05e49060","is_valid_coordinates":true} 
[2026-10-05 08:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539140096001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139342053480857600,"note":"Value kept but may cause issues"} 
[2026-10-05 08:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782582248635334656,"note":"Value kept but may cause issues"} 
[2026-10-05 08:19:05] 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-10-05 08:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791168517000,"timestamp_ms":1791168517000,"timestamp_seconds":1791168517,"priority":1,"record_length":96,"hex_timestamp":"000001a109f69388"} 
[2026-10-05 08:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:19: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-10-05 08:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 08:19:05] 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-10-05 08:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539140096001,"66":13678,"102":206,"87":12288,"24":9,"16":139342053480857600,"45":8782582248635334656},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-05 08:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539140096001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:19:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 08:19:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 08:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139342053480857600,"km_value":139342053480857.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782582248635334656,"description":"Unknown IO ID 45"} 
[2026-10-05 08:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539140096001,"power":13678,"unknown_102":206,"unknown_87":12288,"ignition":9,"odometer":null,"unknown_45":8782582248635334656}} 
[2026-10-05 08:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":205775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:19:05] local.INFO: GPS data processed {"connection_id":205775,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:19:05] local.INFO: Acknowledgment sent {"connection_id":205775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:19:06] local.INFO: TCP Data received {"connection_id":204343,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109f64180012d7f8a4005afe080000000a31f..."} 
[2026-10-05 08:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f64180012d7f8a4005afe080000000a31f..."} 
[2026-10-05 08:19:06] local.INFO: Processing buffer {"connection_id":204343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f64180012d7f8a4005afe080000000a31f..."} 
[2026-10-05 08:19:06] local.INFO: Packet analysis {"connection_id":204343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f6"} 
[2026-10-05 08:19:06] local.INFO: Extracted packet for processing {"connection_id":204343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f6"} 
[2026-10-05 08:19:06] local.INFO: GPS Element Parsed {"raw_longitude":763333184,"raw_latitude":95412352,"longitude_deg":76.3333184,"latitude_deg":9.5412352,"altitude":0,"angle":163,"satellites":31,"speed":0,"hex_longitude":"2d7f8a40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-10-05 08:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539129600001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893195814273024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190228382772658176,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791168496000,"timestamp_ms":1791168496000,"timestamp_seconds":1791168496,"priority":1,"record_length":96,"hex_timestamp":"000001a109f64180"} 
[2026-10-05 08:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 08:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539129600001,"66":27789,"250":206,"85":12544,"24":0,"16":1893195814273024,"45":9190228382772658176},"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-10-05 08:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539129600001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:19:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:19:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893195814273024,"km_value":1893195814273.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190228382772658176,"description":"Unknown IO ID 45"} 
[2026-10-05 08:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539129600001,"power":27789,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190228382772658176}} 
[2026-10-05 08:19:06] local.INFO: TCP Data received {"connection_id":204223,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204223,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:19:06] local.INFO: Processing buffer {"connection_id":204223,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:19:06] local.INFO: IMEI packet received {"connection_id":204223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 08:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":204223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":204343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:19:06] local.INFO: GPS data processed {"connection_id":204343,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:19:06] local.INFO: Acknowledgment sent {"connection_id":204343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:19:07] local.INFO: TCP Data received {"connection_id":205775,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a109f69770012d79e2c005e491400001003622..."} 
[2026-10-05 08:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f69770012d79e2c005e491400001003622..."} 
[2026-10-05 08:19:07] local.INFO: Processing buffer {"connection_id":205775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f69770012d79e2c005e491400001003622..."} 
[2026-10-05 08:19:07] local.INFO: Packet analysis {"connection_id":205775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f6"} 
[2026-10-05 08:19:07] local.INFO: Extracted packet for processing {"connection_id":205775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f6"} 
[2026-10-05 08:19:07] local.INFO: GPS Element Parsed {"raw_longitude":762962624,"raw_latitude":98865472,"longitude_deg":76.2962624,"latitude_deg":9.8865472,"altitude":1,"angle":54,"satellites":34,"speed":11,"hex_longitude":"2d79e2c0","hex_latitude":"05e49140","is_valid_coordinates":true} 
[2026-10-05 08:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539140352001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139342066365759488,"note":"Value kept but may cause issues"} 
[2026-10-05 08:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782652617379569664,"note":"Value kept but may cause issues"} 
[2026-10-05 08:19:07] 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-10-05 08:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791168518000,"timestamp_ms":1791168518000,"timestamp_seconds":1791168518,"priority":1,"record_length":96,"hex_timestamp":"000001a109f69770"} 
[2026-10-05 08:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 08:19:07] 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-10-05 08:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539140352001,"66":13678,"102":206,"87":12288,"24":11,"16":139342066365759488,"45":8782652617379569664},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-05 08:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539140352001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:19:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 08:19:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 08:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139342066365759488,"km_value":139342066365759.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782652617379569664,"description":"Unknown IO ID 45"} 
[2026-10-05 08:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539140352001,"power":13678,"unknown_102":206,"unknown_87":12288,"ignition":11,"odometer":null,"unknown_45":8782652617379569664}} 
[2026-10-05 08:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":205775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:19:07] local.INFO: GPS data processed {"connection_id":205775,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:19:07] local.INFO: Acknowledgment sent {"connection_id":205775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:19:10] local.INFO: TCP Data received {"connection_id":204223,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204223,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:19:10] local.INFO: Processing buffer {"connection_id":204223,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:19:10] local.INFO: IMEI packet received {"connection_id":204223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":204223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:19:11] local.INFO: TCP Data received {"connection_id":204223,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-10-05 08:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-10-05 08:19:11] local.INFO: Processing buffer {"connection_id":204223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-10-05 08:19:11] local.INFO: Packet analysis {"connection_id":204223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-10-05 08:19:11] local.INFO: Extracted packet for processing {"connection_id":204223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-10-05 08:19:11] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-05 08:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34687689185820672,"note":"Value kept but may cause issues"} 
[2026-10-05 08:19:11] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-10-05 08:19:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8000,"timestamp_seconds":8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 08:19:11] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-10-05 08:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204223,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204223,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-05 08:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204223,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-05 08:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":0,"parser_version":"unknown"} 
[2026-10-05 08:19:11] local.WARNING: DEBUG: No valid data to process  
[2026-10-05 08:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":204223,"result":{"success":false,"message":"No valid data to process"}} 
[2026-10-05 08:19:11] local.ERROR: GPS data processing failed {"connection_id":204223,"error":"No valid data to process"} 
[2026-10-05 08:19:11] local.INFO: Acknowledgment sent {"connection_id":204223,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-10-05 08:19:37] local.INFO: TCP Data received {"connection_id":204343,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109f660c0012d7f8b0005afe1400000007522..."} 
[2026-10-05 08:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f660c0012d7f8b0005afe1400000007522..."} 
[2026-10-05 08:19:37] local.INFO: Processing buffer {"connection_id":204343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f660c0012d7f8b0005afe1400000007522..."} 
[2026-10-05 08:19:37] local.INFO: Packet analysis {"connection_id":204343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f6"} 
[2026-10-05 08:19:37] local.INFO: Extracted packet for processing {"connection_id":204343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f6"} 
[2026-10-05 08:19:37] local.INFO: GPS Element Parsed {"raw_longitude":763333376,"raw_latitude":95412544,"longitude_deg":76.3333376,"latitude_deg":9.5412544,"altitude":0,"angle":117,"satellites":34,"speed":1,"hex_longitude":"2d7f8b00","hex_latitude":"05afe140","is_valid_coordinates":true} 
[2026-10-05 08:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539134976001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893208699174912,"note":"Value kept but may cause issues"} 
[2026-10-05 08:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190228382772658176,"note":"Value kept but may cause issues"} 
[2026-10-05 08:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791168504000,"timestamp_ms":1791168504000,"timestamp_seconds":1791168504,"priority":1,"record_length":96,"hex_timestamp":"000001a109f660c0"} 
[2026-10-05 08:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:19:37] 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-10-05 08:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-10-05 08:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539134976001,"66":27995,"250":206,"85":12544,"24":1,"16":1893208699174912,"45":9190228382772658176},"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-10-05 08:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539134976001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:19:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:19:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893208699174912,"km_value":1893208699174.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190228382772658176,"description":"Unknown IO ID 45"} 
[2026-10-05 08:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539134976001,"power":27995,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9190228382772658176}} 
[2026-10-05 08:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":204343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:19:37] local.INFO: GPS data processed {"connection_id":204343,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:19:37] local.INFO: Acknowledgment sent {"connection_id":204343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:19:42] local.INFO: TCP Data received {"connection_id":205776,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205776,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:19:42] local.INFO: Processing buffer {"connection_id":205776,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:19:42] local.INFO: IMEI packet received {"connection_id":205776,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 08:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":205776,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:19:42] local.INFO: TCP Data received {"connection_id":204223,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-10-05 08:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-10-05 08:19:42] local.INFO: Processing buffer {"connection_id":204223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-10-05 08:19:42] local.INFO: Packet analysis {"connection_id":204223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-10-05 08:19:42] local.INFO: Extracted packet for processing {"connection_id":204223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-10-05 08:19: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-10-05 08:19:42] 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-10-05 08:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34687689185820672,"note":"Value kept but may cause issues"} 
[2026-10-05 08:19:42] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-10-05 08:19:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8000,"timestamp_seconds":8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 08:19:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-10-05 08:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204223,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204223,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-05 08:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204223,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-05 08:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":0,"parser_version":"unknown"} 
[2026-10-05 08:19:42] local.WARNING: DEBUG: No valid data to process  
[2026-10-05 08:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":204223,"result":{"success":false,"message":"No valid data to process"}} 
[2026-10-05 08:19:42] local.ERROR: GPS data processing failed {"connection_id":204223,"error":"No valid data to process"} 
[2026-10-05 08:19:42] local.INFO: Acknowledgment sent {"connection_id":204223,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-10-05 08:19:57] local.INFO: TCP Data received {"connection_id":204224,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:19:57] local.INFO: Processing buffer {"connection_id":204224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:19:57] local.INFO: IMEI packet received {"connection_id":204224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":204224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:19:59] local.INFO: TCP Data received {"connection_id":207320,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:19:59] local.INFO: TCP Data received {"connection_id":204224,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:19:59] local.INFO: Processing buffer {"connection_id":207320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:19:59] local.INFO: IMEI packet received {"connection_id":207320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":207320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:19:59] local.INFO: Processing buffer {"connection_id":204224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:19:59] local.INFO: IMEI packet received {"connection_id":204224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":204224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:20:00] local.INFO: TCP Data received {"connection_id":204224,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:20:00] local.INFO: Processing buffer {"connection_id":204224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:20:00] local.INFO: IMEI packet received {"connection_id":204224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":204224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:20:00] local.INFO: TCP Data received {"connection_id":207320,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:20:00] local.INFO: Processing buffer {"connection_id":207320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:20:00] local.INFO: IMEI packet received {"connection_id":207320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":207320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:20:01] local.INFO: TCP Data received {"connection_id":204224,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:20:01] local.INFO: Processing buffer {"connection_id":204224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:20:01] local.INFO: IMEI packet received {"connection_id":204224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":204224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:20:02] local.INFO: TCP Data received {"connection_id":204224,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109f6e590012d7f92c005afde100000007525..."} 
[2026-10-05 08:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f6e590012d7f92c005afde100000007525..."} 
[2026-10-05 08:20:02] local.INFO: Processing buffer {"connection_id":204224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f6e590012d7f92c005afde100000007525..."} 
[2026-10-05 08:20:02] local.INFO: Packet analysis {"connection_id":204224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f6"} 
[2026-10-05 08:20:02] local.INFO: Extracted packet for processing {"connection_id":204224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f6"} 
[2026-10-05 08:20:02] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95411728,"longitude_deg":76.333536,"latitude_deg":9.5411728,"altitude":0,"angle":117,"satellites":37,"speed":3,"hex_longitude":"2d7f92c0","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539144448001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893324663291904,"note":"Value kept but may cause issues"} 
[2026-10-05 08:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144480768,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791168538000,"timestamp_ms":1791168538000,"timestamp_seconds":1791168538,"priority":1,"record_length":96,"hex_timestamp":"000001a109f6e590"} 
[2026-10-05 08:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:20:02] 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-10-05 08: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-05 08:20:02] 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-10-05 08: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-10-05 08:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:20: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-10-05 08:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539144448001,"66":27745,"250":206,"85":12544,"24":3,"16":1893324663291904,"45":9191776495144480768},"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-10-05 08:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539144448001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:20:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:20:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893324663291904,"km_value":1893324663291.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144480768,"description":"Unknown IO ID 45"} 
[2026-10-05 08:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539144448001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9191776495144480768}} 
[2026-10-05 08:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":204224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:20:02] local.INFO: GPS data processed {"connection_id":204224,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:20:02] local.INFO: Acknowledgment sent {"connection_id":204224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:20:03] local.INFO: TCP Data received {"connection_id":204224,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109f71858012d7f94c005afdbf80000006124..."} 
[2026-10-05 08:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f71858012d7f94c005afdbf80000006124..."} 
[2026-10-05 08:20:03] local.INFO: Processing buffer {"connection_id":204224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f71858012d7f94c005afdbf80000006124..."} 
[2026-10-05 08:20:03] local.INFO: Packet analysis {"connection_id":204224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f7"} 
[2026-10-05 08:20:03] local.INFO: Extracted packet for processing {"connection_id":204224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f7"} 
[2026-10-05 08:20:03] local.INFO: GPS Element Parsed {"raw_longitude":763335872,"raw_latitude":95411192,"longitude_deg":76.3335872,"latitude_deg":9.5411192,"altitude":0,"angle":97,"satellites":36,"speed":1,"hex_longitude":"2d7f94c0","hex_latitude":"05afdbf8","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539145728001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893359023030272,"note":"Value kept but may cause issues"} 
[2026-10-05 08:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074539008,"note":"Value kept but may cause issues"} 
[2026-10-05 08:20: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-10-05 08:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791168551000,"timestamp_ms":1791168551000,"timestamp_seconds":1791168551,"priority":1,"record_length":96,"hex_timestamp":"000001a109f71858"} 
[2026-10-05 08:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:20: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-10-05 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 08:20:03] 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-10-05 08: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-10-05 08:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":204224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":204224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":204224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:20: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-10-05 08:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539145728001,"66":28006,"250":206,"85":12544,"24":1,"16":1893359023030272,"45":9192620920074539008},"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-10-05 08:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539145728001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:20:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:20:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893359023030272,"km_value":1893359023030.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074539008,"description":"Unknown IO ID 45"} 
[2026-10-05 08:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539145728001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9192620920074539008}} 
[2026-10-05 08:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":204224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:20:03] local.INFO: GPS data processed {"connection_id":204224,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:20:03] local.INFO: Acknowledgment sent {"connection_id":204224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:20:06] local.INFO: TCP Data received {"connection_id":207320,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:20:06] local.INFO: Processing buffer {"connection_id":207320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:20:06] local.INFO: IMEI packet received {"connection_id":207320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":207320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:20:07] local.INFO: TCP Data received {"connection_id":207320,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a109f69f40012d79e5c005e492980001004223..."} 
[2026-10-05 08:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f69f40012d79e5c005e492980001004223..."} 
[2026-10-05 08:20:07] local.INFO: Processing buffer {"connection_id":207320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f69f40012d79e5c005e492980001004223..."} 
[2026-10-05 08:20:07] local.INFO: Packet analysis {"connection_id":207320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f6"} 
[2026-10-05 08:20:07] local.INFO: Extracted packet for processing {"connection_id":207320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f6"} 
[2026-10-05 08:20:07] local.INFO: GPS Element Parsed {"raw_longitude":762963392,"raw_latitude":98865816,"longitude_deg":76.2963392,"latitude_deg":9.8865816,"altitude":1,"angle":66,"satellites":35,"speed":17,"hex_longitude":"2d79e5c0","hex_latitude":"05e49298","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539140608001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139342109315432448,"note":"Value kept but may cause issues"} 
[2026-10-05 08:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782793354867982336,"note":"Value kept but may cause issues"} 
[2026-10-05 08:20:07] 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-10-05 08:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791168520000,"timestamp_ms":1791168520000,"timestamp_seconds":1791168520,"priority":1,"record_length":96,"hex_timestamp":"000001a109f69f40"} 
[2026-10-05 08:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 08:20:07] 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-10-05 08: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-10-05 08:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539140608001,"66":13820,"102":206,"87":12288,"24":17,"16":139342109315432448,"45":8782793354867982336},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-05 08:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539140608001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:20:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 08:20:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 08:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139342109315432448,"km_value":139342109315432.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782793354867982336,"description":"Unknown IO ID 45"} 
[2026-10-05 08:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539140608001,"power":13820,"unknown_102":206,"unknown_87":12288,"ignition":17,"odometer":null,"unknown_45":8782793354867982336}} 
[2026-10-05 08:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":207320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:20:07] local.INFO: GPS data processed {"connection_id":207320,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:20:07] local.INFO: Acknowledgment sent {"connection_id":207320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:20:13] local.INFO: TCP Data received {"connection_id":204223,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a00000000000023280100000000000000000000000000..."} 
[2026-10-05 08:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204223,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000023280100000000000000000000000000..."} 
[2026-10-05 08:20:13] local.INFO: Processing buffer {"connection_id":204223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000023280100000000000000000000000000..."} 
[2026-10-05 08:20:13] local.INFO: Packet analysis {"connection_id":204223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-10-05 08:20:13] local.INFO: Extracted packet for processing {"connection_id":204223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-10-05 08:20: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-10-05 08:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34687689185820672,"note":"Value kept but may cause issues"} 
[2026-10-05 08:20:13] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-10-05 08:20:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":9000,"timestamp_seconds":9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 08:20:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-10-05 08:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":204223,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":204223,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-05 08:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":204223,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-05 08:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":0,"parser_version":"unknown"} 
[2026-10-05 08:20:13] local.WARNING: DEBUG: No valid data to process  
[2026-10-05 08:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":204223,"result":{"success":false,"message":"No valid data to process"}} 
[2026-10-05 08:20:13] local.ERROR: GPS data processing failed {"connection_id":204223,"error":"No valid data to process"} 
[2026-10-05 08:20:13] local.INFO: Acknowledgment sent {"connection_id":204223,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-10-05 08:20:34] local.INFO: TCP Data received {"connection_id":204224,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109f7b498012d7f908005afe2800000010123..."} 
[2026-10-05 08:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f7b498012d7f908005afe2800000010123..."} 
[2026-10-05 08:20:34] local.INFO: Processing buffer {"connection_id":204224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f7b498012d7f908005afe2800000010123..."} 
[2026-10-05 08:20:34] local.INFO: Packet analysis {"connection_id":204224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f7"} 
[2026-10-05 08:20:34] local.INFO: Extracted packet for processing {"connection_id":204224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f7"} 
[2026-10-05 08:20:34] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95412864,"longitude_deg":76.3334784,"latitude_deg":9.5412864,"altitude":0,"angle":257,"satellites":35,"speed":1,"hex_longitude":"2d7f9080","hex_latitude":"05afe280","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539159040001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893530821722112,"note":"Value kept but may cause issues"} 
[2026-10-05 08:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192128338865602560,"note":"Value kept but may cause issues"} 
[2026-10-05 08:20: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-10-05 08:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791168591000,"timestamp_ms":1791168591000,"timestamp_seconds":1791168591,"priority":1,"record_length":96,"hex_timestamp":"000001a109f7b498"} 
[2026-10-05 08:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:20: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-10-05 08:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-10-05 08:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":204224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":204224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":204224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:20: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-10-05 08:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539159040001,"66":28050,"250":206,"85":12544,"24":1,"16":1893530821722112,"45":9192128338865602560},"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-10-05 08:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539159040001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:20:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:20:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893530821722112,"km_value":1893530821722.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192128338865602560,"description":"Unknown IO ID 45"} 
[2026-10-05 08:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539159040001,"power":28050,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9192128338865602560}} 
[2026-10-05 08:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":204224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:20:34] local.INFO: GPS data processed {"connection_id":204224,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:20:34] local.INFO: Acknowledgment sent {"connection_id":204224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:20:43] local.INFO: TCP Data received {"connection_id":207320,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a109f80e70012d7ab4c005e42b480005008324..."} 
[2026-10-05 08:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f80e70012d7ab4c005e42b480005008324..."} 
[2026-10-05 08:20:43] local.INFO: Processing buffer {"connection_id":207320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f80e70012d7ab4c005e42b480005008324..."} 
[2026-10-05 08:20:43] local.INFO: Packet analysis {"connection_id":207320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:20:43] local.INFO: Extracted packet for processing {"connection_id":207320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:20:43] local.INFO: GPS Element Parsed {"raw_longitude":763016384,"raw_latitude":98839368,"longitude_deg":76.3016384,"latitude_deg":9.8839368,"altitude":5,"angle":131,"satellites":36,"speed":47,"hex_longitude":"2d7ab4c0","hex_latitude":"05e42b48","is_valid_coordinates":true} 
[2026-10-05 08:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539163392001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139345433620119552,"note":"Value kept but may cause issues"} 
[2026-10-05 08:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8834021800624107520,"note":"Value kept but may cause issues"} 
[2026-10-05 08:20:43] 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-10-05 08:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791168614000,"timestamp_ms":1791168614000,"timestamp_seconds":1791168614,"priority":1,"record_length":96,"hex_timestamp":"000001a109f80e70"} 
[2026-10-05 08:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:20: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-10-05 08:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 08:20:43] 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-10-05 08:20:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539163392001,"66":13515,"95":206,"87":13824,"24":47,"16":139345433620119552,"45":8834021800624107520},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-10-05 08:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539163392001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:20:43] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 08:20:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139345433620119552,"km_value":139345433620119.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8834021800624107520,"description":"Unknown IO ID 45"} 
[2026-10-05 08:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539163392001,"power":13515,"unknown_95":206,"unknown_87":13824,"ignition":47,"odometer":null,"unknown_45":8834021800624107520}} 
[2026-10-05 08:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":207320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966161,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:20:43] local.INFO: GPS data processed {"connection_id":207320,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:20:43] local.INFO: Acknowledgment sent {"connection_id":207320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:20:45] local.INFO: TCP Data received {"connection_id":204223,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a00000000000023280100000000000000000000000000..."} 
[2026-10-05 08:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204223,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000023280100000000000000000000000000..."} 
[2026-10-05 08:20:45] local.INFO: Processing buffer {"connection_id":204223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000023280100000000000000000000000000..."} 
[2026-10-05 08:20:45] local.INFO: Packet analysis {"connection_id":204223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-10-05 08:20:45] local.INFO: Extracted packet for processing {"connection_id":204223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-10-05 08:20: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-10-05 08:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34687689185820672,"note":"Value kept but may cause issues"} 
[2026-10-05 08:20:45] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-10-05 08:20:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":9000,"timestamp_seconds":9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 08:20:45] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-10-05 08:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":204223,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":204223,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-05 08:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":204223,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-05 08:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":0,"parser_version":"unknown"} 
[2026-10-05 08:20:45] local.WARNING: DEBUG: No valid data to process  
[2026-10-05 08:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":204223,"result":{"success":false,"message":"No valid data to process"}} 
[2026-10-05 08:20:45] local.ERROR: GPS data processing failed {"connection_id":204223,"error":"No valid data to process"} 
[2026-10-05 08:20:45] local.INFO: Acknowledgment sent {"connection_id":204223,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-10-05 08:20:53] local.INFO: TCP Data received {"connection_id":205778,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:20:53] local.INFO: Processing buffer {"connection_id":205778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:20:53] local.INFO: IMEI packet received {"connection_id":205778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":205778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:20:55] local.INFO: TCP Data received {"connection_id":205778,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:20:55] local.INFO: Processing buffer {"connection_id":205778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:20:55] local.INFO: IMEI packet received {"connection_id":205778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":205778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:21:00] local.INFO: TCP Data received {"connection_id":205778,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:21:00] local.INFO: Processing buffer {"connection_id":205778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:21:00] local.INFO: IMEI packet received {"connection_id":205778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":205778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:21:01] local.INFO: TCP Data received {"connection_id":205778,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109f7b880012d7f904005afe238000000f422..."} 
[2026-10-05 08:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f7b880012d7f904005afe238000000f422..."} 
[2026-10-05 08:21:01] local.INFO: Processing buffer {"connection_id":205778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f7b880012d7f904005afe238000000f422..."} 
[2026-10-05 08:21:01] local.INFO: Packet analysis {"connection_id":205778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f7"} 
[2026-10-05 08:21:01] local.INFO: Extracted packet for processing {"connection_id":205778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f7"} 
[2026-10-05 08:21:01] local.INFO: GPS Element Parsed {"raw_longitude":763334720,"raw_latitude":95412792,"longitude_deg":76.333472,"latitude_deg":9.5412792,"altitude":0,"angle":244,"satellites":34,"speed":1,"hex_longitude":"2d7f9040","hex_latitude":"05afe238","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539159296001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893535116689408,"note":"Value kept but may cause issues"} 
[2026-10-05 08:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377230848,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791168592000,"timestamp_ms":1791168592000,"timestamp_seconds":1791168592,"priority":1,"record_length":96,"hex_timestamp":"000001a109f7b880"} 
[2026-10-05 08:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-10-05 08:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:21: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-10-05 08:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539159296001,"66":28017,"250":206,"85":12544,"24":1,"16":1893535116689408,"45":9191987601377230848},"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-10-05 08:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539159296001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:21:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:21:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893535116689408,"km_value":1893535116689.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377230848,"description":"Unknown IO ID 45"} 
[2026-10-05 08:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539159296001,"power":28017,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191987601377230848}} 
[2026-10-05 08:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":205778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:21:01] local.INFO: GPS data processed {"connection_id":205778,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:21:01] local.INFO: Acknowledgment sent {"connection_id":205778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:21:05] local.INFO: TCP Data received {"connection_id":207321,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207321,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:21:05] local.INFO: Processing buffer {"connection_id":207321,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:21:05] local.INFO: IMEI packet received {"connection_id":207321,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":207321,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:21:10] local.INFO: TCP Data received {"connection_id":207321,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207321,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:21:10] local.INFO: Processing buffer {"connection_id":207321,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:21:10] local.INFO: IMEI packet received {"connection_id":207321,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":207321,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:21:11] local.INFO: TCP Data received {"connection_id":207321,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a109f82db0012d7ac80005e417680009009022..."} 
[2026-10-05 08:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f82db0012d7ac80005e417680009009022..."} 
[2026-10-05 08:21:11] local.INFO: Processing buffer {"connection_id":207321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f82db0012d7ac80005e417680009009022..."} 
[2026-10-05 08:21:11] local.INFO: Packet analysis {"connection_id":207321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:21:11] local.INFO: Extracted packet for processing {"connection_id":207321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:21:11] local.INFO: GPS Element Parsed {"raw_longitude":763021312,"raw_latitude":98834280,"longitude_deg":76.3021312,"latitude_deg":9.883428,"altitude":9,"angle":144,"satellites":34,"speed":27,"hex_longitude":"2d7ac800","hex_latitude":"05e41768","is_valid_coordinates":true} 
[2026-10-05 08:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539165184001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139345777217503232,"note":"Value kept but may cause issues"} 
[2026-10-05 08:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8841903099970537472,"note":"Value kept but may cause issues"} 
[2026-10-05 08:21:11] 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-10-05 08:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791168622000,"timestamp_ms":1791168622000,"timestamp_seconds":1791168622,"priority":1,"record_length":96,"hex_timestamp":"000001a109f82db0"} 
[2026-10-05 08:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:21: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-10-05 08:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-10-05 08:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539165184001,"66":13689,"95":206,"87":13824,"24":27,"16":139345777217503232,"45":8841903099970537472},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-10-05 08:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539165184001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:21:11] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 08:21:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139345777217503232,"km_value":139345777217503.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8841903099970537472,"description":"Unknown IO ID 45"} 
[2026-10-05 08:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539165184001,"power":13689,"unknown_95":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8841903099970537472}} 
[2026-10-05 08:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":207321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966163,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:21:11] local.INFO: GPS data processed {"connection_id":207321,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:21:11] local.INFO: Acknowledgment sent {"connection_id":207321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:21:17] local.INFO: TCP Data received {"connection_id":204223,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-10-05 08:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-10-05 08:21:17] local.INFO: Processing buffer {"connection_id":204223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-10-05 08:21:17] local.INFO: Packet analysis {"connection_id":204223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-10-05 08:21:17] local.INFO: Extracted packet for processing {"connection_id":204223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-10-05 08:21: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-10-05 08:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34687689185820672,"note":"Value kept but may cause issues"} 
[2026-10-05 08:21:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,147,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 08:21:17] 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-10-05 08:21:17] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-10-05 08:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":204223,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":204223,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-05 08:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":204223,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-05 08:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":0,"parser_version":"unknown"} 
[2026-10-05 08:21:17] local.WARNING: DEBUG: No valid data to process  
[2026-10-05 08:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":204223,"result":{"success":false,"message":"No valid data to process"}} 
[2026-10-05 08:21:17] local.ERROR: GPS data processing failed {"connection_id":204223,"error":"No valid data to process"} 
[2026-10-05 08:21:17] local.INFO: Acknowledgment sent {"connection_id":204223,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-10-05 08:21:33] local.INFO: TCP Data received {"connection_id":205778,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109f7e378012d7f900005afe1c8000000f223..."} 
[2026-10-05 08:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f7e378012d7f900005afe1c8000000f223..."} 
[2026-10-05 08:21:33] local.INFO: Processing buffer {"connection_id":205778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f7e378012d7f900005afe1c8000000f223..."} 
[2026-10-05 08:21:33] local.INFO: Packet analysis {"connection_id":205778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f7"} 
[2026-10-05 08:21:33] local.INFO: Extracted packet for processing {"connection_id":205778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f7"} 
[2026-10-05 08:21:33] local.INFO: GPS Element Parsed {"raw_longitude":763334656,"raw_latitude":95412680,"longitude_deg":76.3334656,"latitude_deg":9.541268,"altitude":0,"angle":242,"satellites":35,"speed":0,"hex_longitude":"2d7f9000","hex_latitude":"05afe1c8","is_valid_coordinates":true} 
[2026-10-05 08:21: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-10-05 08:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539159552001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191917232633034752,"note":"Value kept but may cause issues"} 
[2026-10-05 08:21: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-10-05 08:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791168603000,"timestamp_ms":1791168603000,"timestamp_seconds":1791168603,"priority":1,"record_length":96,"hex_timestamp":"000001a109f7e378"} 
[2026-10-05 08:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:21: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-10-05 08:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-10-05 08:21:33] 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-10-05 08:21: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-10-05 08:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:21: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-10-05 08:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539159552001,"66":27908,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191917232633034752},"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-10-05 08:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539159552001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:21:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:21:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191917232633034752,"description":"Unknown IO ID 45"} 
[2026-10-05 08:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539159552001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191917232633034752}} 
[2026-10-05 08:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":205778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:21:33] local.INFO: GPS data processed {"connection_id":205778,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:21:33] local.INFO: Acknowledgment sent {"connection_id":205778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:21:43] local.INFO: TCP Data received {"connection_id":207321,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a109f84520012d7ad28005e407b8000a00a424..."} 
[2026-10-05 08:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f84520012d7ad28005e407b8000a00a424..."} 
[2026-10-05 08:21:43] local.INFO: Processing buffer {"connection_id":207321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f84520012d7ad28005e407b8000a00a424..."} 
[2026-10-05 08:21:43] local.INFO: Packet analysis {"connection_id":207321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:21:43] local.INFO: Extracted packet for processing {"connection_id":207321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:21:43] local.INFO: GPS Element Parsed {"raw_longitude":763024000,"raw_latitude":98830264,"longitude_deg":76.3024,"latitude_deg":9.8830264,"altitude":10,"angle":164,"satellites":36,"speed":37,"hex_longitude":"2d7ad280","hex_latitude":"05e407b8","is_valid_coordinates":true} 
[2026-10-05 08:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539167232001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139346013440704512,"note":"Value kept but may cause issues"} 
[2026-10-05 08:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847321493270915072,"note":"Value kept but may cause issues"} 
[2026-10-05 08:21:43] 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-10-05 08:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791168628000,"timestamp_ms":1791168628000,"timestamp_seconds":1791168628,"priority":1,"record_length":96,"hex_timestamp":"000001a109f84520"} 
[2026-10-05 08:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:21: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-10-05 08:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-10-05 08:21:43] 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-10-05 08:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539167232001,"66":13537,"95":206,"87":13824,"24":37,"16":139346013440704512,"45":8847321493270915072},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-10-05 08:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539167232001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:21:43] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 08:21:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139346013440704512,"km_value":139346013440704.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847321493270915072,"description":"Unknown IO ID 45"} 
[2026-10-05 08:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539167232001,"power":13537,"unknown_95":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8847321493270915072}} 
[2026-10-05 08:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":207321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966165,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:21:43] local.INFO: GPS data processed {"connection_id":207321,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:21:43] local.INFO: Acknowledgment sent {"connection_id":207321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:21:48] local.INFO: TCP Data received {"connection_id":204223,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109f91fe0012d0b4d4007029ce00005006308..."} 
[2026-10-05 08:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f91fe0012d0b4d4007029ce00005006308..."} 
[2026-10-05 08:21:48] local.INFO: Processing buffer {"connection_id":204223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f91fe0012d0b4d4007029ce00005006308..."} 
[2026-10-05 08:21:48] local.INFO: Packet analysis {"connection_id":204223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f9"} 
[2026-10-05 08:21:48] local.INFO: Extracted packet for processing {"connection_id":204223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f9"} 
[2026-10-05 08:21:48] local.INFO: GPS Element Parsed {"raw_longitude":755715392,"raw_latitude":117611744,"longitude_deg":75.5715392,"latitude_deg":11.7611744,"altitude":5,"angle":99,"satellites":8,"speed":13,"hex_longitude":"2d0b4d40","hex_latitude":"07029ce0","is_valid_coordinates":true} 
[2026-10-05 08:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539182848001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34687757905297408,"note":"Value kept but may cause issues"} 
[2026-10-05 08:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814025662755844096,"note":"Value kept but may cause issues"} 
[2026-10-05 08:21: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-10-05 08:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791168684000,"timestamp_ms":1791168684000,"timestamp_seconds":1791168684,"priority":1,"record_length":96,"hex_timestamp":"000001a109f91fe0"} 
[2026-10-05 08:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:21:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-05 08:21: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-10-05 08:21:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204223,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204223,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539182848001,"66":14515,"17":206,"94":11008,"24":13,"16":34687757905297408,"45":814025662755844096},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-05 08:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539182848001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:21:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 08:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34687757905297408,"km_value":34687757905297.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":814025662755844096,"description":"Unknown IO ID 45"} 
[2026-10-05 08:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539182848001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":814025662755844096}} 
[2026-10-05 08:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":204223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966166,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:21:48] local.INFO: GPS data processed {"connection_id":204223,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:21:48] local.INFO: Acknowledgment sent {"connection_id":204223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:21:55] local.INFO: TCP Data received {"connection_id":204226,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:21:55] local.INFO: Processing buffer {"connection_id":204226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:21:55] local.INFO: IMEI packet received {"connection_id":204226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":204226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:22:00] local.INFO: TCP Data received {"connection_id":205779,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:22:00] local.INFO: Processing buffer {"connection_id":205779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:22:00] local.INFO: IMEI packet received {"connection_id":205779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":205779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:22:00] local.INFO: TCP Data received {"connection_id":204226,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:22:00] local.INFO: Processing buffer {"connection_id":204226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:22:00] local.INFO: IMEI packet received {"connection_id":204226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":204226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:22:01] local.INFO: TCP Data received {"connection_id":204226,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109f8a2e0012d7f8e0005afe5d00003000014..."} 
[2026-10-05 08:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f8a2e0012d7f8e0005afe5d00003000014..."} 
[2026-10-05 08:22:01] local.INFO: Processing buffer {"connection_id":204226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f8a2e0012d7f8e0005afe5d00003000014..."} 
[2026-10-05 08:22:01] local.INFO: Packet analysis {"connection_id":204226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:22:01] local.INFO: Extracted packet for processing {"connection_id":204226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:22:01] local.INFO: GPS Element Parsed {"raw_longitude":763334144,"raw_latitude":95413712,"longitude_deg":76.3334144,"latitude_deg":9.5413712,"altitude":3,"angle":0,"satellites":20,"speed":0,"hex_longitude":"2d7f8e00","hex_latitude":"05afe5d0","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539162368001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191846863888828416,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791168652000,"timestamp_ms":1791168652000,"timestamp_seconds":1791168652,"priority":1,"record_length":96,"hex_timestamp":"000001a109f8a2e0"} 
[2026-10-05 08:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:22: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-10-05 08:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 08:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:22: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-10-05 08:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539162368001,"66":27169,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191846863888828416},"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-10-05 08:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539162368001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:22:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:22:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191846863888828416,"description":"Unknown IO ID 45"} 
[2026-10-05 08:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539162368001,"power":27169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191846863888828416}} 
[2026-10-05 08:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":204226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:22:01] local.INFO: GPS data processed {"connection_id":204226,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:22:01] local.INFO: Acknowledgment sent {"connection_id":204226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:22:03] local.INFO: TCP Data received {"connection_id":205779,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:22:03] local.INFO: Processing buffer {"connection_id":205779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:22:03] local.INFO: IMEI packet received {"connection_id":205779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":205779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:22:04] local.INFO: TCP Data received {"connection_id":205779,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a109f86848012d7ada0005e3e2d0000800a321..."} 
[2026-10-05 08:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f86848012d7ada0005e3e2d0000800a321..."} 
[2026-10-05 08:22:04] local.INFO: Processing buffer {"connection_id":205779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f86848012d7ada0005e3e2d0000800a321..."} 
[2026-10-05 08:22:04] local.INFO: Packet analysis {"connection_id":205779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:22:04] local.INFO: Extracted packet for processing {"connection_id":205779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:22:04] local.INFO: GPS Element Parsed {"raw_longitude":763025920,"raw_latitude":98820816,"longitude_deg":76.302592,"latitude_deg":9.8820816,"altitude":8,"angle":163,"satellites":33,"speed":37,"hex_longitude":"2d7ada00","hex_latitude":"05e3e2d0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 08:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539168768001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139346477297172480,"note":"Value kept but may cause issues"} 
[2026-10-05 08:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850276980525348864,"note":"Value kept but may cause issues"} 
[2026-10-05 08:22:04] 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-10-05 08:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791168637000,"timestamp_ms":1791168637000,"timestamp_seconds":1791168637,"priority":1,"record_length":96,"hex_timestamp":"000001a109f86848"} 
[2026-10-05 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-10-05 08:22: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-10-05 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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-10-05 08:22:04] 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-10-05 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-10-05 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-10-05 08:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":205779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":205779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":205779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539168768001,"66":13287,"95":206,"87":13824,"24":37,"16":139346477297172480,"45":8850276980525348864},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-10-05 08:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539168768001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:22:04] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 08:22:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139346477297172480,"km_value":139346477297172.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850276980525348864,"description":"Unknown IO ID 45"} 
[2026-10-05 08:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539168768001,"power":13287,"unknown_95":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8850276980525348864}} 
[2026-10-05 08:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":205779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:22:04] local.INFO: GPS data processed {"connection_id":205779,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:22:04] local.INFO: Acknowledgment sent {"connection_id":205779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:22:19] local.INFO: TCP Data received {"connection_id":204223,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109f92f80012d0b560007029d70000a005209..."} 
[2026-10-05 08:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f92f80012d0b560007029d70000a005209..."} 
[2026-10-05 08:22:19] local.INFO: Processing buffer {"connection_id":204223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f92f80012d0b560007029d70000a005209..."} 
[2026-10-05 08:22:19] local.INFO: Packet analysis {"connection_id":204223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f9"} 
[2026-10-05 08:22:19] local.INFO: Extracted packet for processing {"connection_id":204223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f9"} 
[2026-10-05 08:22:19] local.INFO: GPS Element Parsed {"raw_longitude":755717632,"raw_latitude":117611888,"longitude_deg":75.5717632,"latitude_deg":11.7611888,"altitude":10,"angle":82,"satellites":9,"speed":23,"hex_longitude":"2d0b5600","hex_latitude":"07029d70","is_valid_coordinates":true} 
[2026-10-05 08:22: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-10-05 08:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539183104001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34687865279479808,"note":"Value kept but may cause issues"} 
[2026-10-05 08:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814377506476711936,"note":"Value kept but may cause issues"} 
[2026-10-05 08:22:19] 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-10-05 08:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791168688000,"timestamp_ms":1791168688000,"timestamp_seconds":1791168688,"priority":1,"record_length":96,"hex_timestamp":"000001a109f92f80"} 
[2026-10-05 08:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:22: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":179,"data_length":795,"current_offset":136} 
[2026-10-05 08:22:19] 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-10-05 08:22: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-10-05 08:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":204223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":204223,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":204223,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539183104001,"66":14439,"17":206,"94":11008,"24":23,"16":34687865279479808,"45":814377506476711936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-05 08:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539183104001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:22:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 08:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34687865279479808,"km_value":34687865279479.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":814377506476711936,"description":"Unknown IO ID 45"} 
[2026-10-05 08:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539183104001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":23,"odometer":null,"unknown_45":814377506476711936}} 
[2026-10-05 08:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":204223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966169,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:22:19] local.INFO: GPS data processed {"connection_id":204223,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:22:19] local.INFO: Acknowledgment sent {"connection_id":204223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:22:32] local.INFO: TCP Data received {"connection_id":204226,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109f8a2e0012d7f8e0005afe5d00003000014..."} 
[2026-10-05 08:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f8a2e0012d7f8e0005afe5d00003000014..."} 
[2026-10-05 08:22:32] local.INFO: Processing buffer {"connection_id":204226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f8a2e0012d7f8e0005afe5d00003000014..."} 
[2026-10-05 08:22:32] local.INFO: Packet analysis {"connection_id":204226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:22:32] local.INFO: Extracted packet for processing {"connection_id":204226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763334144,"raw_latitude":95413712,"longitude_deg":76.3334144,"latitude_deg":9.5413712,"altitude":3,"angle":0,"satellites":20,"speed":0,"hex_longitude":"2d7f8e00","hex_latitude":"05afe5d0","is_valid_coordinates":true} 
[2026-10-05 08:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539162368001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191846863888828416,"note":"Value kept but may cause issues"} 
[2026-10-05 08:22: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-10-05 08:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791168652000,"timestamp_ms":1791168652000,"timestamp_seconds":1791168652,"priority":1,"record_length":96,"hex_timestamp":"000001a109f8a2e0"} 
[2026-10-05 08:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:22: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-10-05 08:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 08:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:22: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-10-05 08:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539162368001,"66":27169,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191846863888828416},"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-10-05 08:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539162368001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:22:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:22:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191846863888828416,"description":"Unknown IO ID 45"} 
[2026-10-05 08:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539162368001,"power":27169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191846863888828416}} 
[2026-10-05 08:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":204226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:22:32] local.INFO: GPS data processed {"connection_id":204226,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:22:32] local.INFO: Acknowledgment sent {"connection_id":204226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:22:36] local.INFO: TCP Data received {"connection_id":205779,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a109f89b10012d7ae38005e3bef0000500a924..."} 
[2026-10-05 08:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f89b10012d7ae38005e3bef0000500a924..."} 
[2026-10-05 08:22:36] local.INFO: Processing buffer {"connection_id":205779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f89b10012d7ae38005e3bef0000500a924..."} 
[2026-10-05 08:22:36] local.INFO: Packet analysis {"connection_id":205779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:22:36] local.INFO: Extracted packet for processing {"connection_id":205779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:22:36] local.INFO: GPS Element Parsed {"raw_longitude":763028352,"raw_latitude":98811632,"longitude_deg":76.3028352,"latitude_deg":9.8811632,"altitude":5,"angle":169,"satellites":36,"speed":32,"hex_longitude":"2d7ae380","hex_latitude":"05e3bef0","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539171072001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139346941153640448,"note":"Value kept but may cause issues"} 
[2026-10-05 08:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852388042848260096,"note":"Value kept but may cause issues"} 
[2026-10-05 08:22: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-10-05 08:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791168650000,"timestamp_ms":1791168650000,"timestamp_seconds":1791168650,"priority":1,"record_length":96,"hex_timestamp":"000001a109f89b10"} 
[2026-10-05 08:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:22: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-10-05 08: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":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-10-05 08:22:36] 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-10-05 08: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-10-05 08:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539171072001,"66":13613,"208":206,"85":15104,"24":32,"16":139346941153640448,"45":8852388042848260096},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 08:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539171072001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:22:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 08:22:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139346941153640448,"km_value":139346941153640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852388042848260096,"description":"Unknown IO ID 45"} 
[2026-10-05 08:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539171072001,"power":13613,"unknown_208":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8852388042848260096}} 
[2026-10-05 08:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":205779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966171,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:22:36] local.INFO: GPS data processed {"connection_id":205779,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:22:36] local.INFO: Acknowledgment sent {"connection_id":205779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:22:44] local.INFO: TCP Data received {"connection_id":207323,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207323,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:22:44] local.INFO: Processing buffer {"connection_id":207323,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:22:44] local.INFO: IMEI packet received {"connection_id":207323,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 08:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":207323,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:22:45] local.INFO: TCP Data received {"connection_id":207323,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207323,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:22:45] local.INFO: Processing buffer {"connection_id":207323,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:22:45] local.INFO: IMEI packet received {"connection_id":207323,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":207323,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:22:45] local.INFO: TCP Data received {"connection_id":207323,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207323,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:22:45] local.INFO: Processing buffer {"connection_id":207323,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:22:45] local.INFO: IMEI packet received {"connection_id":207323,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":207323,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:22:50] local.INFO: TCP Data received {"connection_id":207323,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207323,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:22:50] local.INFO: Processing buffer {"connection_id":207323,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:22:50] local.INFO: IMEI packet received {"connection_id":207323,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":207323,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:22:51] local.INFO: TCP Data received {"connection_id":207323,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109fa44d8012d0bb6800702a0c8001b007409..."} 
[2026-10-05 08:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fa44d8012d0bb6800702a0c8001b007409..."} 
[2026-10-05 08:22:51] local.INFO: Processing buffer {"connection_id":207323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fa44d8012d0bb6800702a0c8001b007409..."} 
[2026-10-05 08:22:51] local.INFO: Packet analysis {"connection_id":207323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fa"} 
[2026-10-05 08:22:51] local.INFO: Extracted packet for processing {"connection_id":207323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fa"} 
[2026-10-05 08:22:51] local.INFO: GPS Element Parsed {"raw_longitude":755742336,"raw_latitude":117612744,"longitude_deg":75.5742336,"latitude_deg":11.7612744,"altitude":27,"angle":116,"satellites":9,"speed":10,"hex_longitude":"2d0bb680","hex_latitude":"0702a0c8","is_valid_coordinates":true} 
[2026-10-05 08:22: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-10-05 08:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539201792001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34689136589799424,"note":"Value kept but may cause issues"} 
[2026-10-05 08:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843369429078251520,"note":"Value kept but may cause issues"} 
[2026-10-05 08:22:51] 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-10-05 08:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791168759000,"timestamp_ms":1791168759000,"timestamp_seconds":1791168759,"priority":1,"record_length":96,"hex_timestamp":"000001a109fa44d8"} 
[2026-10-05 08:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:22:51] 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-10-05 08:22: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":179,"data_length":795,"current_offset":136} 
[2026-10-05 08:22:51] 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-10-05 08:22: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-10-05 08:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":207323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":207323,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":207323,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539201792001,"66":14428,"17":206,"94":11008,"24":10,"16":34689136589799424,"45":843369429078251520},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-05 08:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539201792001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:22:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 08:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34689136589799424,"km_value":34689136589799.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":843369429078251520,"description":"Unknown IO ID 45"} 
[2026-10-05 08:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539201792001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":843369429078251520}} 
[2026-10-05 08:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":207323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966172,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:22:52] local.INFO: GPS data processed {"connection_id":207323,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:22:52] local.INFO: Acknowledgment sent {"connection_id":207323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:22:55] local.INFO: TCP Data received {"connection_id":204344,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:22:55] local.INFO: Processing buffer {"connection_id":204344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:22:55] local.INFO: IMEI packet received {"connection_id":204344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":204344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:23:00] local.INFO: TCP Data received {"connection_id":204345,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:23:00] local.INFO: Processing buffer {"connection_id":204345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:23:00] local.INFO: IMEI packet received {"connection_id":204345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":204345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:23:00] local.INFO: TCP Data received {"connection_id":204344,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:23:00] local.INFO: Processing buffer {"connection_id":204344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:23:00] local.INFO: IMEI packet received {"connection_id":204344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":204344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:23:01] local.INFO: TCP Data received {"connection_id":204344,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a109f8a2e0012d7f8e0005afe5d00003000014..."} 
[2026-10-05 08:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f8a2e0012d7f8e0005afe5d00003000014..."} 
[2026-10-05 08:23:01] local.INFO: Processing buffer {"connection_id":204344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f8a2e0012d7f8e0005afe5d00003000014..."} 
[2026-10-05 08:23:01] local.INFO: Packet analysis {"connection_id":204344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:23:01] local.INFO: Extracted packet for processing {"connection_id":204344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:23:01] local.INFO: GPS Element Parsed {"raw_longitude":763334144,"raw_latitude":95413712,"longitude_deg":76.3334144,"latitude_deg":9.5413712,"altitude":3,"angle":0,"satellites":20,"speed":0,"hex_longitude":"2d7f8e00","hex_latitude":"05afe5d0","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539162368001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191846863888828416,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791168652000,"timestamp_ms":1791168652000,"timestamp_seconds":1791168652,"priority":1,"record_length":96,"hex_timestamp":"000001a109f8a2e0"} 
[2026-10-05 08:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:23: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-10-05 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 08:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:23: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-10-05 08:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539162368001,"66":27169,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191846863888828416},"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-10-05 08:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539162368001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:23:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:23:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191846863888828416,"description":"Unknown IO ID 45"} 
[2026-10-05 08:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539162368001,"power":27169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191846863888828416}} 
[2026-10-05 08:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":204344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:23:01] local.INFO: GPS data processed {"connection_id":204344,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:23:01] local.INFO: Acknowledgment sent {"connection_id":204344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:23:03] local.INFO: TCP Data received {"connection_id":204345,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:23:03] local.INFO: Processing buffer {"connection_id":204345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:23:03] local.INFO: IMEI packet received {"connection_id":204345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":204345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:23:04] local.INFO: TCP Data received {"connection_id":204345,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:23:04] local.INFO: Processing buffer {"connection_id":204345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:23:04] local.INFO: IMEI packet received {"connection_id":204345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":204345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:23:06] local.INFO: TCP Data received {"connection_id":204345,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a109f8ae98012d7ae8c005e3ac000003009e25..."} 
[2026-10-05 08:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f8ae98012d7ae8c005e3ac000003009e25..."} 
[2026-10-05 08:23:06] local.INFO: Processing buffer {"connection_id":204345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f8ae98012d7ae8c005e3ac000003009e25..."} 
[2026-10-05 08:23:06] local.INFO: Packet analysis {"connection_id":204345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:23:06] local.INFO: Extracted packet for processing {"connection_id":204345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:23:06] local.INFO: GPS Element Parsed {"raw_longitude":763029696,"raw_latitude":98806784,"longitude_deg":76.3029696,"latitude_deg":9.8806784,"altitude":3,"angle":158,"satellites":37,"speed":44,"hex_longitude":"2d7ae8c0","hex_latitude":"05e3ac00","is_valid_coordinates":true} 
[2026-10-05 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-10-05 08:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539174400001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139347181671809024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8855062055124660224,"note":"Value kept but may cause issues"} 
[2026-10-05 08:23: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-10-05 08:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791168655000,"timestamp_ms":1791168655000,"timestamp_seconds":1791168655,"priority":1,"record_length":96,"hex_timestamp":"000001a109f8ae98"} 
[2026-10-05 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-10-05 08:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-10-05 08:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 08:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539174400001,"66":13656,"208":206,"85":15104,"24":44,"16":139347181671809024,"45":8855062055124660224},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 08:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539174400001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:23:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 08:23:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139347181671809024,"km_value":139347181671809.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8855062055124660224,"description":"Unknown IO ID 45"} 
[2026-10-05 08:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539174400001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8855062055124660224}} 
[2026-10-05 08:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":204345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966174,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:23:06] local.INFO: GPS data processed {"connection_id":204345,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:23:06] local.INFO: Acknowledgment sent {"connection_id":204345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:23:11] local.INFO: TCP Data received {"connection_id":204345,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a109f8e160012d7af50005e38948000500a425..."} 
[2026-10-05 08:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f8e160012d7af50005e38948000500a425..."} 
[2026-10-05 08:23:11] local.INFO: Processing buffer {"connection_id":204345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f8e160012d7af50005e38948000500a425..."} 
[2026-10-05 08:23:11] local.INFO: Packet analysis {"connection_id":204345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:23:11] local.INFO: Extracted packet for processing {"connection_id":204345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:23:11] local.INFO: GPS Element Parsed {"raw_longitude":763032832,"raw_latitude":98797896,"longitude_deg":76.3032832,"latitude_deg":9.8797896,"altitude":5,"angle":164,"satellites":37,"speed":25,"hex_longitude":"2d7af500","hex_latitude":"05e38948","is_valid_coordinates":true} 
[2026-10-05 08:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539175680001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139347641233309696,"note":"Value kept but may cause issues"} 
[2026-10-05 08:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8856539798751150080,"note":"Value kept but may cause issues"} 
[2026-10-05 08:23: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-10-05 08:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791168668000,"timestamp_ms":1791168668000,"timestamp_seconds":1791168668,"priority":1,"record_length":96,"hex_timestamp":"000001a109f8e160"} 
[2026-10-05 08:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:23: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-10-05 08:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-05 08:23:11] 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-10-05 08:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539175680001,"66":13319,"208":206,"85":15104,"24":25,"16":139347641233309696,"45":8856539798751150080},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 08:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539175680001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:23:11] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 08:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139347641233309696,"km_value":139347641233309.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8856539798751150080,"description":"Unknown IO ID 45"} 
[2026-10-05 08:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539175680001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8856539798751150080}} 
[2026-10-05 08:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":204345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:23:12] local.INFO: GPS data processed {"connection_id":204345,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:23:12] local.INFO: Acknowledgment sent {"connection_id":204345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:23:24] local.INFO: TCP Data received {"connection_id":207323,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109fa48c0012d0bb8000702a0a0001b006509..."} 
[2026-10-05 08:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fa48c0012d0bb8000702a0a0001b006509..."} 
[2026-10-05 08:23:24] local.INFO: Processing buffer {"connection_id":207323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fa48c0012d0bb8000702a0a0001b006509..."} 
[2026-10-05 08:23:24] local.INFO: Packet analysis {"connection_id":207323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fa"} 
[2026-10-05 08:23:24] local.INFO: Extracted packet for processing {"connection_id":207323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fa"} 
[2026-10-05 08:23:24] local.INFO: GPS Element Parsed {"raw_longitude":755742720,"raw_latitude":117612704,"longitude_deg":75.574272,"latitude_deg":11.7612704,"altitude":27,"angle":101,"satellites":9,"speed":9,"hex_longitude":"2d0bb800","hex_latitude":"0702a0a0","is_valid_coordinates":true} 
[2026-10-05 08:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539202304001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34689158064635904,"note":"Value kept but may cause issues"} 
[2026-10-05 08:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":844002747775764480,"note":"Value kept but may cause issues"} 
[2026-10-05 08:23:24] 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-10-05 08:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1791168760000,"timestamp_ms":1791168760000,"timestamp_seconds":1791168760,"priority":1,"record_length":96,"hex_timestamp":"000001a109fa48c0"} 
[2026-10-05 08:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:23:24] 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-10-05 08:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 08:23:24] 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-10-05 08:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":207323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":207323,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":207323,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539202304001,"66":14428,"17":206,"94":11008,"24":9,"16":34689158064635904,"45":844002747775764480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-05 08:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539202304001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:23:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 08:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34689158064635904,"km_value":34689158064635.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":844002747775764480,"description":"Unknown IO ID 45"} 
[2026-10-05 08:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539202304001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":844002747775764480}} 
[2026-10-05 08:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":207323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966176,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:23:24] local.INFO: GPS data processed {"connection_id":207323,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:23:24] local.INFO: Acknowledgment sent {"connection_id":207323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:23:32] local.INFO: TCP Data received {"connection_id":204344,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a109f8a2e0012d7f8e0005afe5d00003000014..."} 
[2026-10-05 08:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f8a2e0012d7f8e0005afe5d00003000014..."} 
[2026-10-05 08:23:32] local.INFO: Processing buffer {"connection_id":204344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f8a2e0012d7f8e0005afe5d00003000014..."} 
[2026-10-05 08:23:32] local.INFO: Packet analysis {"connection_id":204344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:23:32] local.INFO: Extracted packet for processing {"connection_id":204344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763334144,"raw_latitude":95413712,"longitude_deg":76.3334144,"latitude_deg":9.5413712,"altitude":3,"angle":0,"satellites":20,"speed":0,"hex_longitude":"2d7f8e00","hex_latitude":"05afe5d0","is_valid_coordinates":true} 
[2026-10-05 08:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539162368001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191846863888828416,"note":"Value kept but may cause issues"} 
[2026-10-05 08:23: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-10-05 08:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791168652000,"timestamp_ms":1791168652000,"timestamp_seconds":1791168652,"priority":1,"record_length":96,"hex_timestamp":"000001a109f8a2e0"} 
[2026-10-05 08:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:23: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-10-05 08:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 08:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:23: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-10-05 08:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539162368001,"66":27169,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191846863888828416},"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-10-05 08:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539162368001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:23:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:23:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191846863888828416,"description":"Unknown IO ID 45"} 
[2026-10-05 08:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539162368001,"power":27169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191846863888828416}} 
[2026-10-05 08:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":204344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:23:32] local.INFO: GPS data processed {"connection_id":204344,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:23:32] local.INFO: Acknowledgment sent {"connection_id":204344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:23:43] local.INFO: TCP Data received {"connection_id":204345,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a109fad178012d7b190005e30508000500a91f..."} 
[2026-10-05 08:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fad178012d7b190005e30508000500a91f..."} 
[2026-10-05 08:23:43] local.INFO: Processing buffer {"connection_id":204345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fad178012d7b190005e30508000500a91f..."} 
[2026-10-05 08:23:43] local.INFO: Packet analysis {"connection_id":204345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fa"} 
[2026-10-05 08:23:43] local.INFO: Extracted packet for processing {"connection_id":204345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fa"} 
[2026-10-05 08:23:43] local.INFO: GPS Element Parsed {"raw_longitude":763042048,"raw_latitude":98764040,"longitude_deg":76.3042048,"latitude_deg":9.876404,"altitude":5,"angle":169,"satellites":31,"speed":14,"hex_longitude":"2d7b1900","hex_latitude":"05e30508","is_valid_coordinates":true} 
[2026-10-05 08:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539210496001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139349415054802944,"note":"Value kept but may cause issues"} 
[2026-10-05 08:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869909860134258688,"note":"Value kept but may cause issues"} 
[2026-10-05 08:23:43] 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-10-05 08:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791168795000,"timestamp_ms":1791168795000,"timestamp_seconds":1791168795,"priority":1,"record_length":96,"hex_timestamp":"000001a109fad178"} 
[2026-10-05 08:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:23: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-10-05 08: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-05 08:23:43] 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-10-05 08: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-10-05 08:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539210496001,"66":13820,"208":206,"85":15104,"24":14,"16":139349415054802944,"45":8869909860134258688},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 08:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539210496001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:23:43] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 08:23:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139349415054802944,"km_value":139349415054802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869909860134258688,"description":"Unknown IO ID 45"} 
[2026-10-05 08:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539210496001,"power":13820,"unknown_208":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8869909860134258688}} 
[2026-10-05 08:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":204345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:23:43] local.INFO: GPS data processed {"connection_id":204345,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:23:43] local.INFO: Acknowledgment sent {"connection_id":204345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:23:55] local.INFO: TCP Data received {"connection_id":207323,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109fa5478012d0bbb400702a088001c005109..."} 
[2026-10-05 08:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fa5478012d0bbb400702a088001c005109..."} 
[2026-10-05 08:23:55] local.INFO: Processing buffer {"connection_id":207323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fa5478012d0bbb400702a088001c005109..."} 
[2026-10-05 08:23:55] local.INFO: Packet analysis {"connection_id":207323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fa"} 
[2026-10-05 08:23:55] local.INFO: Extracted packet for processing {"connection_id":207323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fa"} 
[2026-10-05 08:23:55] local.INFO: GPS Element Parsed {"raw_longitude":755743552,"raw_latitude":117612680,"longitude_deg":75.5743552,"latitude_deg":11.761268,"altitude":28,"angle":81,"satellites":9,"speed":9,"hex_longitude":"2d0bbb40","hex_latitude":"0702a088","is_valid_coordinates":true} 
[2026-10-05 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-10-05 08:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539202560001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34689196719341568,"note":"Value kept but may cause issues"} 
[2026-10-05 08:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":844424960240820224,"note":"Value kept but may cause issues"} 
[2026-10-05 08:23:55] 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-10-05 08:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1791168763000,"timestamp_ms":1791168763000,"timestamp_seconds":1791168763,"priority":1,"record_length":96,"hex_timestamp":"000001a109fa5478"} 
[2026-10-05 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-10-05 08:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 08:23: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-10-05 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-10-05 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-10-05 08:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":207323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":207323,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":207323,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539202560001,"66":14428,"17":206,"94":11008,"24":9,"16":34689196719341568,"45":844424960240820224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-05 08:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539202560001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:23:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 08:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34689196719341568,"km_value":34689196719341.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":844424960240820224,"description":"Unknown IO ID 45"} 
[2026-10-05 08:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539202560001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":844424960240820224}} 
[2026-10-05 08:23:55] local.INFO: TCP Data received {"connection_id":205780,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:23:55] local.INFO: Processing buffer {"connection_id":205780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:23:55] local.INFO: IMEI packet received {"connection_id":205780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":205780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":207323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966179,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:23:55] local.INFO: GPS data processed {"connection_id":207323,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:23:55] local.INFO: Acknowledgment sent {"connection_id":207323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:23:59] local.INFO: TCP Data received {"connection_id":204228,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:23:59] local.INFO: Processing buffer {"connection_id":204228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:23:59] local.INFO: IMEI packet received {"connection_id":204228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":204228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:24:00] local.INFO: TCP Data received {"connection_id":205780,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:24:00] local.INFO: Processing buffer {"connection_id":205780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:24:00] local.INFO: IMEI packet received {"connection_id":205780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":205780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:24:02] local.INFO: TCP Data received {"connection_id":205780,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a109f8a2e0012d7f8e0005afe5d00003000014..."} 
[2026-10-05 08:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f8a2e0012d7f8e0005afe5d00003000014..."} 
[2026-10-05 08:24:02] local.INFO: Processing buffer {"connection_id":205780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f8a2e0012d7f8e0005afe5d00003000014..."} 
[2026-10-05 08:24:02] local.INFO: Packet analysis {"connection_id":205780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:24:02] local.INFO: Extracted packet for processing {"connection_id":205780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:24:02] local.INFO: GPS Element Parsed {"raw_longitude":763334144,"raw_latitude":95413712,"longitude_deg":76.3334144,"latitude_deg":9.5413712,"altitude":3,"angle":0,"satellites":20,"speed":0,"hex_longitude":"2d7f8e00","hex_latitude":"05afe5d0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 08:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539162368001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191846863888828416,"note":"Value kept but may cause issues"} 
[2026-10-05 08:24: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-10-05 08:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791168652000,"timestamp_ms":1791168652000,"timestamp_seconds":1791168652,"priority":1,"record_length":96,"hex_timestamp":"000001a109f8a2e0"} 
[2026-10-05 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-10-05 08:24: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-10-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 08:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 08:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539162368001,"66":27169,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191846863888828416},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 08:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539162368001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:24:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:24:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191846863888828416,"description":"Unknown IO ID 45"} 
[2026-10-05 08:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539162368001,"power":27169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191846863888828416}} 
[2026-10-05 08:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":205780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:24:02] local.INFO: GPS data processed {"connection_id":205780,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:24:02] local.INFO: Acknowledgment sent {"connection_id":205780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:24:05] local.INFO: TCP Data received {"connection_id":204228,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:24:05] local.INFO: Processing buffer {"connection_id":204228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:24:05] local.INFO: IMEI packet received {"connection_id":204228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":204228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:24:10] local.INFO: TCP Data received {"connection_id":204228,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a109fafc70012d7b1d0005e2e0a0000500ad20..."} 
[2026-10-05 08:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fafc70012d7b1d0005e2e0a0000500ad20..."} 
[2026-10-05 08:24:10] local.INFO: Processing buffer {"connection_id":204228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fafc70012d7b1d0005e2e0a0000500ad20..."} 
[2026-10-05 08:24:10] local.INFO: Packet analysis {"connection_id":204228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fa"} 
[2026-10-05 08:24:10] local.INFO: Extracted packet for processing {"connection_id":204228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fa"} 
[2026-10-05 08:24:10] local.INFO: GPS Element Parsed {"raw_longitude":763043072,"raw_latitude":98754720,"longitude_deg":76.3043072,"latitude_deg":9.875472,"altitude":5,"angle":173,"satellites":32,"speed":38,"hex_longitude":"2d7b1d00","hex_latitude":"05e2e0a0","is_valid_coordinates":true} 
[2026-10-05 08:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539211520001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139349870321336320,"note":"Value kept but may cause issues"} 
[2026-10-05 08:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870120966366496768,"note":"Value kept but may cause issues"} 
[2026-10-05 08:24:10] 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-10-05 08:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791168806000,"timestamp_ms":1791168806000,"timestamp_seconds":1791168806,"priority":1,"record_length":96,"hex_timestamp":"000001a109fafc70"} 
[2026-10-05 08:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:24: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-10-05 08:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 08:24:10] 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-10-05 08:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539211520001,"66":13678,"208":206,"85":15104,"24":38,"16":139349870321336320,"45":8870120966366496768},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 08:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539211520001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:24:10] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 08:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139349870321336320,"km_value":139349870321336.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870120966366496768,"description":"Unknown IO ID 45"} 
[2026-10-05 08:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539211520001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8870120966366496768}} 
[2026-10-05 08:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":204228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:24:10] local.INFO: GPS data processed {"connection_id":204228,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:24:10] local.INFO: Acknowledgment sent {"connection_id":204228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:24:26] local.INFO: TCP Data received {"connection_id":207323,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109fa5860012d0bbc800702a0e0001c004609..."} 
[2026-10-05 08:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fa5860012d0bbc800702a0e0001c004609..."} 
[2026-10-05 08:24:26] local.INFO: Processing buffer {"connection_id":207323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fa5860012d0bbc800702a0e0001c004609..."} 
[2026-10-05 08:24:26] local.INFO: Packet analysis {"connection_id":207323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fa"} 
[2026-10-05 08:24:26] local.INFO: Extracted packet for processing {"connection_id":207323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fa"} 
[2026-10-05 08:24:26] local.INFO: GPS Element Parsed {"raw_longitude":755743872,"raw_latitude":117612768,"longitude_deg":75.5743872,"latitude_deg":11.7612768,"altitude":28,"angle":70,"satellites":9,"speed":11,"hex_longitude":"2d0bbc80","hex_latitude":"0702a0e0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 08:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539203328001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34689209604243456,"note":"Value kept but may cause issues"} 
[2026-10-05 08:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":845339753915123712,"note":"Value kept but may cause issues"} 
[2026-10-05 08:24:26] 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-10-05 08:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1791168764000,"timestamp_ms":1791168764000,"timestamp_seconds":1791168764,"priority":1,"record_length":96,"hex_timestamp":"000001a109fa5860"} 
[2026-10-05 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-10-05 08:24:26] 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-10-05 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 08:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 08:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":207323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":207323,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":207323,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539203328001,"66":14374,"17":206,"94":11008,"24":11,"16":34689209604243456,"45":845339753915123712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-05 08:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539203328001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:24:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 08:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34689209604243456,"km_value":34689209604243.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":845339753915123712,"description":"Unknown IO ID 45"} 
[2026-10-05 08:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539203328001,"power":14374,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":845339753915123712}} 
[2026-10-05 08:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":207323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966182,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:24:26] local.INFO: GPS data processed {"connection_id":207323,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:24:26] local.INFO: Acknowledgment sent {"connection_id":207323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:24:33] local.INFO: TCP Data received {"connection_id":205780,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a109f8a2e0012d7f8e0005afe5d00003000014..."} 
[2026-10-05 08:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f8a2e0012d7f8e0005afe5d00003000014..."} 
[2026-10-05 08:24:33] local.INFO: Processing buffer {"connection_id":205780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f8a2e0012d7f8e0005afe5d00003000014..."} 
[2026-10-05 08:24:33] local.INFO: Packet analysis {"connection_id":205780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:24:33] local.INFO: Extracted packet for processing {"connection_id":205780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763334144,"raw_latitude":95413712,"longitude_deg":76.3334144,"latitude_deg":9.5413712,"altitude":3,"angle":0,"satellites":20,"speed":0,"hex_longitude":"2d7f8e00","hex_latitude":"05afe5d0","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539162368001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191846863888828416,"note":"Value kept but may cause issues"} 
[2026-10-05 08:24: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-10-05 08:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791168652000,"timestamp_ms":1791168652000,"timestamp_seconds":1791168652,"priority":1,"record_length":96,"hex_timestamp":"000001a109f8a2e0"} 
[2026-10-05 08:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 08:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 08:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539162368001,"66":27169,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191846863888828416},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 08:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539162368001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:24:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:24:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191846863888828416,"description":"Unknown IO ID 45"} 
[2026-10-05 08:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539162368001,"power":27169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191846863888828416}} 
[2026-10-05 08:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":205780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:24:33] local.INFO: GPS data processed {"connection_id":205780,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:24:33] local.INFO: Acknowledgment sent {"connection_id":205780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:24:41] local.INFO: TCP Data received {"connection_id":204228,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a109fb2380012d7b208005e2bca8000400a81b..."} 
[2026-10-05 08:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fb2380012d7b208005e2bca8000400a81b..."} 
[2026-10-05 08:24:41] local.INFO: Processing buffer {"connection_id":204228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fb2380012d7b208005e2bca8000400a81b..."} 
[2026-10-05 08:24:41] local.INFO: Packet analysis {"connection_id":204228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fb"} 
[2026-10-05 08:24:41] local.INFO: Extracted packet for processing {"connection_id":204228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fb"} 
[2026-10-05 08:24:41] local.INFO: GPS Element Parsed {"raw_longitude":763043968,"raw_latitude":98745512,"longitude_deg":76.3043968,"latitude_deg":9.8745512,"altitude":4,"angle":168,"satellites":27,"speed":34,"hex_longitude":"2d7b2080","hex_latitude":"05e2bca8","is_valid_coordinates":true} 
[2026-10-05 08:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539214336001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139350316997935104,"note":"Value kept but may cause issues"} 
[2026-10-05 08:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871246866270953472,"note":"Value kept but may cause issues"} 
[2026-10-05 08:24:41] 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-10-05 08:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791168816000,"timestamp_ms":1791168816000,"timestamp_seconds":1791168816,"priority":1,"record_length":96,"hex_timestamp":"000001a109fb2380"} 
[2026-10-05 08:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:24: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-10-05 08:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 08:24: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-10-05 08:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539214336001,"66":13798,"208":206,"85":15104,"24":34,"16":139350316997935104,"45":8871246866270953472},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 08:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539214336001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:24:41] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 08:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139350316997935104,"km_value":139350316997935.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871246866270953472,"description":"Unknown IO ID 45"} 
[2026-10-05 08:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539214336001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8871246866270953472}} 
[2026-10-05 08:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":204228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:24:41] local.INFO: GPS data processed {"connection_id":204228,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:24:41] local.INFO: Acknowledgment sent {"connection_id":204228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:24:57] local.INFO: TCP Data received {"connection_id":207323,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109fc40a8012d0c20400702af68001d00680c..."} 
[2026-10-05 08:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fc40a8012d0c20400702af68001d00680c..."} 
[2026-10-05 08:24:57] local.INFO: Processing buffer {"connection_id":207323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fc40a8012d0c20400702af68001d00680c..."} 
[2026-10-05 08:24:57] local.INFO: Packet analysis {"connection_id":207323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fc"} 
[2026-10-05 08:24:57] local.INFO: Extracted packet for processing {"connection_id":207323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fc"} 
[2026-10-05 08:24:57] local.INFO: GPS Element Parsed {"raw_longitude":755769408,"raw_latitude":117616488,"longitude_deg":75.5769408,"latitude_deg":11.7616488,"altitude":29,"angle":104,"satellites":12,"speed":7,"hex_longitude":"2d0c2040","hex_latitude":"0702af68","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539234048001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34690493799464960,"note":"Value kept but may cause issues"} 
[2026-10-05 08:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872361351680327680,"note":"Value kept but may cause issues"} 
[2026-10-05 08:24:57] 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-10-05 08:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1791168889000,"timestamp_ms":1791168889000,"timestamp_seconds":1791168889,"priority":1,"record_length":96,"hex_timestamp":"000001a109fc40a8"} 
[2026-10-05 08:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:24: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-10-05 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-05 08:24: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-10-05 08: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-10-05 08:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":207323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":207323,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":207323,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539234048001,"66":14515,"37":206,"94":11008,"24":7,"16":34690493799464960,"45":872361351680327680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 08:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539234048001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:24:57] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 08:24:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 08:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34690493799464960,"km_value":34690493799464.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":872361351680327680,"description":"Unknown IO ID 45"} 
[2026-10-05 08:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539234048001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":872361351680327680}} 
[2026-10-05 08:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":207323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966185,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:24:57] local.INFO: GPS data processed {"connection_id":207323,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:24:57] local.INFO: Acknowledgment sent {"connection_id":207323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:25:00] local.INFO: TCP Data received {"connection_id":204347,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:25:00] local.INFO: Processing buffer {"connection_id":204347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:25:00] local.INFO: IMEI packet received {"connection_id":204347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":204347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:25:01] local.INFO: TCP Data received {"connection_id":204348,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204348,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:25:01] local.INFO: Processing buffer {"connection_id":204348,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:25:01] local.INFO: IMEI packet received {"connection_id":204348,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":204348,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:25:05] local.INFO: TCP Data received {"connection_id":204348,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204348,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:25:05] local.INFO: Processing buffer {"connection_id":204348,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:25:05] local.INFO: IMEI packet received {"connection_id":204348,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":204348,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:25:05] local.INFO: TCP Data received {"connection_id":204347,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:25:05] local.INFO: Processing buffer {"connection_id":204347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:25:05] local.INFO: IMEI packet received {"connection_id":204347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":204347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:25:05] local.INFO: TCP Data received {"connection_id":204348,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204348,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:25:05] local.INFO: Processing buffer {"connection_id":204348,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:25:05] local.INFO: IMEI packet received {"connection_id":204348,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":204348,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:25:06] local.INFO: TCP Data received {"connection_id":204348,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a109fb71a0012d7b250005e2a500000300b11d..."} 
[2026-10-05 08:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fb71a0012d7b250005e2a500000300b11d..."} 
[2026-10-05 08:25:06] local.INFO: Processing buffer {"connection_id":204348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fb71a0012d7b250005e2a500000300b11d..."} 
[2026-10-05 08:25:06] local.INFO: Packet analysis {"connection_id":204348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fb"} 
[2026-10-05 08:25:06] local.INFO: Extracted packet for processing {"connection_id":204348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fb"} 
[2026-10-05 08:25:06] local.INFO: GPS Element Parsed {"raw_longitude":763045120,"raw_latitude":98739456,"longitude_deg":76.304512,"latitude_deg":9.8739456,"altitude":3,"angle":177,"satellites":29,"speed":0,"hex_longitude":"2d7b2500","hex_latitude":"05e2a500","is_valid_coordinates":true} 
[2026-10-05 08:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539216896001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139350643415449600,"note":"Value kept but may cause issues"} 
[2026-10-05 08:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872232028687083520,"note":"Value kept but may cause issues"} 
[2026-10-05 08:25: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-10-05 08:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791168836000,"timestamp_ms":1791168836000,"timestamp_seconds":1791168836,"priority":1,"record_length":96,"hex_timestamp":"000001a109fb71a0"} 
[2026-10-05 08:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 08:25:06] 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-10-05 08:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539216896001,"66":13526,"207":206,"85":15104,"24":0,"16":139350643415449600,"45":8872232028687083520},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 08:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539216896001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:25:06] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 08:25:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139350643415449600,"km_value":139350643415449.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872232028687083520,"description":"Unknown IO ID 45"} 
[2026-10-05 08:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539216896001,"power":13526,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8872232028687083520}} 
[2026-10-05 08:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":204348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:25:06] local.INFO: GPS data processed {"connection_id":204348,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:25:06] local.INFO: Acknowledgment sent {"connection_id":204348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:25:06] local.INFO: TCP Data received {"connection_id":204347,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a109f8a2e0012d7f8e0005afe5d00003000014..."} 
[2026-10-05 08:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f8a2e0012d7f8e0005afe5d00003000014..."} 
[2026-10-05 08:25:06] local.INFO: Processing buffer {"connection_id":204347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f8a2e0012d7f8e0005afe5d00003000014..."} 
[2026-10-05 08:25:06] local.INFO: Packet analysis {"connection_id":204347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:25:06] local.INFO: Extracted packet for processing {"connection_id":204347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:25:06] local.INFO: GPS Element Parsed {"raw_longitude":763334144,"raw_latitude":95413712,"longitude_deg":76.3334144,"latitude_deg":9.5413712,"altitude":3,"angle":0,"satellites":20,"speed":0,"hex_longitude":"2d7f8e00","hex_latitude":"05afe5d0","is_valid_coordinates":true} 
[2026-10-05 08:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539162368001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191846863888828416,"note":"Value kept but may cause issues"} 
[2026-10-05 08:25: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-10-05 08:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791168652000,"timestamp_ms":1791168652000,"timestamp_seconds":1791168652,"priority":1,"record_length":96,"hex_timestamp":"000001a109f8a2e0"} 
[2026-10-05 08:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:25: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-10-05 08:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 08:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539162368001,"66":27169,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191846863888828416},"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-10-05 08:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539162368001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:25:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:25:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191846863888828416,"description":"Unknown IO ID 45"} 
[2026-10-05 08:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539162368001,"power":27169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191846863888828416}} 
[2026-10-05 08:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":204347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:25:06] local.INFO: GPS data processed {"connection_id":204347,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:25:06] local.INFO: Acknowledgment sent {"connection_id":204347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:25:07] local.INFO: TCP Data received {"connection_id":204348,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a109fbc3a8012d7b260005e28f80000200ae25..."} 
[2026-10-05 08:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fbc3a8012d7b260005e28f80000200ae25..."} 
[2026-10-05 08:25:07] local.INFO: Processing buffer {"connection_id":204348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fbc3a8012d7b260005e28f80000200ae25..."} 
[2026-10-05 08:25:07] local.INFO: Packet analysis {"connection_id":204348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fb"} 
[2026-10-05 08:25:07] local.INFO: Extracted packet for processing {"connection_id":204348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fb"} 
[2026-10-05 08:25:07] local.INFO: GPS Element Parsed {"raw_longitude":763045376,"raw_latitude":98733952,"longitude_deg":76.3045376,"latitude_deg":9.8733952,"altitude":2,"angle":174,"satellites":37,"speed":0,"hex_longitude":"2d7b2600","hex_latitude":"05e28f80","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539222016001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139350918293356544,"note":"Value kept but may cause issues"} 
[2026-10-05 08:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873498666080731136,"note":"Value kept but may cause issues"} 
[2026-10-05 08:25: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-10-05 08:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791168857000,"timestamp_ms":1791168857000,"timestamp_seconds":1791168857,"priority":1,"record_length":96,"hex_timestamp":"000001a109fbc3a8"} 
[2026-10-05 08:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-05 08:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539222016001,"66":13102,"207":206,"85":15104,"24":0,"16":139350918293356544,"45":8873498666080731136},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 08:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539222016001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:25:07] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 08:25:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139350918293356544,"km_value":139350918293356.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873498666080731136,"description":"Unknown IO ID 45"} 
[2026-10-05 08:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539222016001,"power":13102,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8873498666080731136}} 
[2026-10-05 08:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":204348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:25:07] local.INFO: GPS data processed {"connection_id":204348,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:25:07] local.INFO: Acknowledgment sent {"connection_id":204348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:25:08] local.INFO: TCP Data received {"connection_id":204346,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204346,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:25:08] local.INFO: Processing buffer {"connection_id":204346,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:25:08] local.INFO: IMEI packet received {"connection_id":204346,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 08:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":204346,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:25:11] local.INFO: TCP Data received {"connection_id":204347,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a109f8a2e0012d7f8e0005afe5d00003000014..."} 
[2026-10-05 08:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109f8a2e0012d7f8e0005afe5d00003000014..."} 
[2026-10-05 08:25:11] local.INFO: Processing buffer {"connection_id":204347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109f8a2e0012d7f8e0005afe5d00003000014..."} 
[2026-10-05 08:25:11] local.INFO: Packet analysis {"connection_id":204347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:25:11] local.INFO: Extracted packet for processing {"connection_id":204347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109f8"} 
[2026-10-05 08:25:11] local.INFO: GPS Element Parsed {"raw_longitude":763334144,"raw_latitude":95413712,"longitude_deg":76.3334144,"latitude_deg":9.5413712,"altitude":3,"angle":0,"satellites":20,"speed":0,"hex_longitude":"2d7f8e00","hex_latitude":"05afe5d0","is_valid_coordinates":true} 
[2026-10-05 08:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539162368001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191846863888828416,"note":"Value kept but may cause issues"} 
[2026-10-05 08:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791168652000,"timestamp_ms":1791168652000,"timestamp_seconds":1791168652,"priority":1,"record_length":96,"hex_timestamp":"000001a109f8a2e0"} 
[2026-10-05 08:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 08:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 08:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:25:11] 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-10-05 08:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539162368001,"66":27169,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191846863888828416},"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-10-05 08:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539162368001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:25:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:25:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191846863888828416,"description":"Unknown IO ID 45"} 
[2026-10-05 08:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539162368001,"power":27169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191846863888828416}} 
[2026-10-05 08:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":204347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:25:11] local.INFO: GPS data processed {"connection_id":204347,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:25:11] local.INFO: Acknowledgment sent {"connection_id":204347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:25:28] local.INFO: TCP Data received {"connection_id":207323,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109fc5430012d0c24000702add0001d00740c..."} 
[2026-10-05 08:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fc5430012d0c24000702add0001d00740c..."} 
[2026-10-05 08:25:28] local.INFO: Processing buffer {"connection_id":207323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fc5430012d0c24000702add0001d00740c..."} 
[2026-10-05 08:25:28] local.INFO: Packet analysis {"connection_id":207323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fc"} 
[2026-10-05 08:25:28] local.INFO: Extracted packet for processing {"connection_id":207323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fc"} 
[2026-10-05 08:25:28] local.INFO: GPS Element Parsed {"raw_longitude":755770368,"raw_latitude":117616080,"longitude_deg":75.5770368,"latitude_deg":11.761608,"altitude":29,"angle":116,"satellites":12,"speed":7,"hex_longitude":"2d0c2400","hex_latitude":"0702add0","is_valid_coordinates":true} 
[2026-10-05 08:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539235584001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34690545339072512,"note":"Value kept but may cause issues"} 
[2026-10-05 08:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873768726563874816,"note":"Value kept but may cause issues"} 
[2026-10-05 08:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1791168894000,"timestamp_ms":1791168894000,"timestamp_seconds":1791168894,"priority":1,"record_length":96,"hex_timestamp":"000001a109fc5430"} 
[2026-10-05 08:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:25: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-10-05 08:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-05 08:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":207323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":207323,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":207323,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539235584001,"66":14537,"37":206,"94":11008,"24":7,"16":34690545339072512,"45":873768726563874816},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 08:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539235584001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:25:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 08:25:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 08:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34690545339072512,"km_value":34690545339072.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":873768726563874816,"description":"Unknown IO ID 45"} 
[2026-10-05 08:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539235584001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":873768726563874816}} 
[2026-10-05 08:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":207323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966190,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:25:28] local.INFO: GPS data processed {"connection_id":207323,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:25:28] local.INFO: Acknowledgment sent {"connection_id":207323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:25:38] local.INFO: TCP Data received {"connection_id":204348,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a109fce8a0012d7b1bc005e29b80000200001f..."} 
[2026-10-05 08:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fce8a0012d7b1bc005e29b80000200001f..."} 
[2026-10-05 08:25:38] local.INFO: Processing buffer {"connection_id":204348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fce8a0012d7b1bc005e29b80000200001f..."} 
[2026-10-05 08:25:38] local.INFO: Packet analysis {"connection_id":204348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fc"} 
[2026-10-05 08:25:38] local.INFO: Extracted packet for processing {"connection_id":204348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fc"} 
[2026-10-05 08:25:38] local.INFO: GPS Element Parsed {"raw_longitude":763042752,"raw_latitude":98737024,"longitude_deg":76.3042752,"latitude_deg":9.8737024,"altitude":2,"angle":0,"satellites":31,"speed":5,"hex_longitude":"2d7b1bc0","hex_latitude":"05e29b80","is_valid_coordinates":true} 
[2026-10-05 08:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539245312001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139351180286361600,"note":"Value kept but may cause issues"} 
[2026-10-05 08:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871035760033712128,"note":"Value kept but may cause issues"} 
[2026-10-05 08:25:38] 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-10-05 08:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791168932000,"timestamp_ms":1791168932000,"timestamp_seconds":1791168932,"priority":1,"record_length":96,"hex_timestamp":"000001a109fce8a0"} 
[2026-10-05 08:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 08:25:38] 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-10-05 08:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539245312001,"66":13656,"207":206,"85":15104,"24":5,"16":139351180286361600,"45":8871035760033712128},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 08:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539245312001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:25:38] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 08:25:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139351180286361600,"km_value":139351180286361.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871035760033712128,"description":"Unknown IO ID 45"} 
[2026-10-05 08:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539245312001,"power":13656,"unknown_207":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8871035760033712128}} 
[2026-10-05 08:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":204348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:25:38] local.INFO: GPS data processed {"connection_id":204348,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:25:38] local.INFO: Acknowledgment sent {"connection_id":204348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:25:42] local.INFO: TCP Data received {"connection_id":204229,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:25:42] local.INFO: Processing buffer {"connection_id":204229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:25:42] local.INFO: IMEI packet received {"connection_id":204229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 08:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":204229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:25:45] local.INFO: TCP Data received {"connection_id":205781,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205781,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:25:45] local.INFO: Processing buffer {"connection_id":205781,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:25:45] local.INFO: IMEI packet received {"connection_id":205781,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 08:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":205781,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:25:50] local.INFO: TCP Data received {"connection_id":205781,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205781,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:25:50] local.INFO: Processing buffer {"connection_id":205781,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:25:50] local.INFO: IMEI packet received {"connection_id":205781,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":205781,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:25:51] local.INFO: TCP Data received {"connection_id":205781,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109fc5818012d0c24800702ad60001d00830c..."} 
[2026-10-05 08:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fc5818012d0c24800702ad60001d00830c..."} 
[2026-10-05 08:25:51] local.INFO: Processing buffer {"connection_id":205781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fc5818012d0c24800702ad60001d00830c..."} 
[2026-10-05 08:25:51] local.INFO: Packet analysis {"connection_id":205781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fc"} 
[2026-10-05 08:25:51] local.INFO: Extracted packet for processing {"connection_id":205781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fc"} 
[2026-10-05 08:25:51] local.INFO: GPS Element Parsed {"raw_longitude":755770496,"raw_latitude":117615968,"longitude_deg":75.5770496,"latitude_deg":11.7615968,"altitude":29,"angle":131,"satellites":12,"speed":5,"hex_longitude":"2d0c2480","hex_latitude":"0702ad60","is_valid_coordinates":true} 
[2026-10-05 08:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539236864001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34690553929007104,"note":"Value kept but may cause issues"} 
[2026-10-05 08:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874824257726435328,"note":"Value kept but may cause issues"} 
[2026-10-05 08:25:51] 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-10-05 08:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791168895000,"timestamp_ms":1791168895000,"timestamp_seconds":1791168895,"priority":1,"record_length":96,"hex_timestamp":"000001a109fc5818"} 
[2026-10-05 08:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-05 08:25:51] 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-10-05 08:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":205781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":205781,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":205781,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539236864001,"66":14537,"37":206,"94":11008,"24":5,"16":34690553929007104,"45":874824257726435328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 08:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539236864001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:25:51] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 08:25:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 08:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34690553929007104,"km_value":34690553929007.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":874824257726435328,"description":"Unknown IO ID 45"} 
[2026-10-05 08:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539236864001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":874824257726435328}} 
[2026-10-05 08:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":205781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966192,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:25:51] local.INFO: GPS data processed {"connection_id":205781,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:25:51] local.INFO: Acknowledgment sent {"connection_id":205781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:25:54] local.INFO: TCP Data received {"connection_id":205782,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:25:54] local.INFO: Processing buffer {"connection_id":205782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:25:54] local.INFO: IMEI packet received {"connection_id":205782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":205782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:25:55] local.INFO: TCP Data received {"connection_id":205782,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:25:55] local.INFO: Processing buffer {"connection_id":205782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:25:55] local.INFO: IMEI packet received {"connection_id":205782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":205782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:25:55] local.INFO: TCP Data received {"connection_id":204230,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:25:55] local.INFO: Processing buffer {"connection_id":204230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:25:55] local.INFO: IMEI packet received {"connection_id":204230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":204230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:25:56] local.INFO: TCP Data received {"connection_id":204230,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:25:56] local.INFO: Processing buffer {"connection_id":204230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:25:56] local.INFO: IMEI packet received {"connection_id":204230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":204230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:25:58] local.INFO: TCP Data received {"connection_id":204230,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:25:58] local.INFO: Processing buffer {"connection_id":204230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:25:58] local.INFO: IMEI packet received {"connection_id":204230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":204230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:25:59] local.INFO: TCP Data received {"connection_id":204230,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:25:59] local.INFO: Processing buffer {"connection_id":204230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:25:59] local.INFO: IMEI packet received {"connection_id":204230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":204230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:26:00] local.INFO: TCP Data received {"connection_id":205782,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:26:00] local.INFO: Processing buffer {"connection_id":205782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:26:00] local.INFO: IMEI packet received {"connection_id":205782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":205782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:26:01] local.INFO: TCP Data received {"connection_id":205782,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:26:01] local.INFO: Processing buffer {"connection_id":205782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:26:01] local.INFO: Packet analysis {"connection_id":205782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fd"} 
[2026-10-05 08:26:01] local.INFO: Extracted packet for processing {"connection_id":205782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fd"} 
[2026-10-05 08:26:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":5,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539174912001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191283913935671296,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791168953000,"timestamp_ms":1791168953000,"timestamp_seconds":1791168953,"priority":1,"record_length":96,"hex_timestamp":"000001a109fd3aa8"} 
[2026-10-05 08:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:26: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-10-05 08: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-10-05 08:26:01] 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-10-05 08: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-10-05 08:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:26: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-10-05 08:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539174912001,"66":26267,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191283913935671296},"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-10-05 08:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539174912001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:26:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:26:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191283913935671296,"description":"Unknown IO ID 45"} 
[2026-10-05 08:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539174912001,"power":26267,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191283913935671296}} 
[2026-10-05 08:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":205782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:26:01] local.INFO: GPS data processed {"connection_id":205782,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:26:01] local.INFO: Acknowledgment sent {"connection_id":205782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:26:22] local.INFO: TCP Data received {"connection_id":205781,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109fc5fe8012d0c25000702acd0001d00700c..."} 
[2026-10-05 08:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fc5fe8012d0c25000702acd0001d00700c..."} 
[2026-10-05 08:26:22] local.INFO: Processing buffer {"connection_id":205781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fc5fe8012d0c25000702acd0001d00700c..."} 
[2026-10-05 08:26:22] local.INFO: Packet analysis {"connection_id":205781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fc"} 
[2026-10-05 08:26:22] local.INFO: Extracted packet for processing {"connection_id":205781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fc"} 
[2026-10-05 08:26:22] local.INFO: GPS Element Parsed {"raw_longitude":755770624,"raw_latitude":117615824,"longitude_deg":75.5770624,"latitude_deg":11.7615824,"altitude":29,"angle":112,"satellites":12,"speed":3,"hex_longitude":"2d0c2500","hex_latitude":"0702acd0","is_valid_coordinates":true} 
[2026-10-05 08:26: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-10-05 08:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539237120001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34690562518941696,"note":"Value kept but may cause issues"} 
[2026-10-05 08:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874964995214761984,"note":"Value kept but may cause issues"} 
[2026-10-05 08:26:22] 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-10-05 08:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791168897000,"timestamp_ms":1791168897000,"timestamp_seconds":1791168897,"priority":1,"record_length":96,"hex_timestamp":"000001a109fc5fe8"} 
[2026-10-05 08:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:26:22] 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-10-05 08:26: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":201,"data_length":795,"current_offset":136} 
[2026-10-05 08:26:22] 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-10-05 08:26: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-10-05 08:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":205781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":205781,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":205781,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539237120001,"66":14439,"37":206,"94":11008,"24":3,"16":34690562518941696,"45":874964995214761984},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 08:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539237120001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:26:22] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 08:26:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 08:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34690562518941696,"km_value":34690562518941.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":874964995214761984,"description":"Unknown IO ID 45"} 
[2026-10-05 08:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539237120001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":874964995214761984}} 
[2026-10-05 08:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":205781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966194,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:26:22] local.INFO: GPS data processed {"connection_id":205781,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:26:22] local.INFO: Acknowledgment sent {"connection_id":205781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:26:33] local.INFO: TCP Data received {"connection_id":205782,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:26:33] local.INFO: Processing buffer {"connection_id":205782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:26:33] local.INFO: Packet analysis {"connection_id":205782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fd"} 
[2026-10-05 08:26:33] local.INFO: Extracted packet for processing {"connection_id":205782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fd"} 
[2026-10-05 08:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":5,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539174912001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191283913935671296,"note":"Value kept but may cause issues"} 
[2026-10-05 08:26: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-10-05 08:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791168953000,"timestamp_ms":1791168953000,"timestamp_seconds":1791168953,"priority":1,"record_length":96,"hex_timestamp":"000001a109fd3aa8"} 
[2026-10-05 08:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 08: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-10-05 08:26:33] 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-10-05 08: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-10-05 08:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:26: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-10-05 08:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539174912001,"66":26267,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191283913935671296},"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-10-05 08:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539174912001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:26:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:26:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191283913935671296,"description":"Unknown IO ID 45"} 
[2026-10-05 08:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539174912001,"power":26267,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191283913935671296}} 
[2026-10-05 08:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":205782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:26:33] local.INFO: GPS data processed {"connection_id":205782,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:26:33] local.INFO: Acknowledgment sent {"connection_id":205782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:26:50] local.INFO: TCP Data received {"connection_id":207324,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207324,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:26:50] local.INFO: Processing buffer {"connection_id":207324,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:26:50] local.INFO: IMEI packet received {"connection_id":207324,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 08:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":207324,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:26:55] local.INFO: TCP Data received {"connection_id":207324,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207324,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:26:55] local.INFO: Processing buffer {"connection_id":207324,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:26:55] local.INFO: IMEI packet received {"connection_id":207324,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":207324,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:26:56] local.INFO: TCP Data received {"connection_id":204350,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:26:56] local.INFO: Processing buffer {"connection_id":204350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:26:56] local.INFO: IMEI packet received {"connection_id":204350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":204350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:26:56] local.INFO: TCP Data received {"connection_id":207324,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109fc67b8012d0c26000702acc0001d00540c..."} 
[2026-10-05 08:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fc67b8012d0c26000702acc0001d00540c..."} 
[2026-10-05 08:26:56] local.INFO: Processing buffer {"connection_id":207324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fc67b8012d0c26000702acc0001d00540c..."} 
[2026-10-05 08:26:56] local.INFO: Packet analysis {"connection_id":207324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fc"} 
[2026-10-05 08:26:56] local.INFO: Extracted packet for processing {"connection_id":207324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fc"} 
[2026-10-05 08:26:56] local.INFO: GPS Element Parsed {"raw_longitude":755770880,"raw_latitude":117615808,"longitude_deg":75.577088,"latitude_deg":11.7615808,"altitude":29,"angle":84,"satellites":12,"speed":2,"hex_longitude":"2d0c2600","hex_latitude":"0702acc0","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539237632001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34690575403843584,"note":"Value kept but may cause issues"} 
[2026-10-05 08:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875105732703080448,"note":"Value kept but may cause issues"} 
[2026-10-05 08:26:56] 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-10-05 08:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1791168899000,"timestamp_ms":1791168899000,"timestamp_seconds":1791168899,"priority":1,"record_length":96,"hex_timestamp":"000001a109fc67b8"} 
[2026-10-05 08:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-05 08:26:56] 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-10-05 08: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-10-05 08:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":207324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":207324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":207324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539237632001,"66":14407,"37":206,"94":11008,"24":2,"16":34690575403843584,"45":875105732703080448},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 08:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539237632001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:26:56] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 08:26:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 08:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34690575403843584,"km_value":34690575403843.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":875105732703080448,"description":"Unknown IO ID 45"} 
[2026-10-05 08:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539237632001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":875105732703080448}} 
[2026-10-05 08:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":207324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966196,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:26:56] local.INFO: GPS data processed {"connection_id":207324,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:26:56] local.INFO: Acknowledgment sent {"connection_id":207324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:27:00] local.INFO: TCP Data received {"connection_id":204350,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:27:00] local.INFO: Processing buffer {"connection_id":204350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:27:00] local.INFO: IMEI packet received {"connection_id":204350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":204350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:27:01] local.INFO: TCP Data received {"connection_id":204350,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:27:01] local.INFO: Processing buffer {"connection_id":204350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:27:01] local.INFO: Packet analysis {"connection_id":204350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fd"} 
[2026-10-05 08:27:01] local.INFO: Extracted packet for processing {"connection_id":204350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fd"} 
[2026-10-05 08:27:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":5,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539174912001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191283913935671296,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791168953000,"timestamp_ms":1791168953000,"timestamp_seconds":1791168953,"priority":1,"record_length":96,"hex_timestamp":"000001a109fd3aa8"} 
[2026-10-05 08:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:27: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-10-05 08:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-10-05 08:27:01] 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-10-05 08: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-10-05 08:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:27: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-10-05 08:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539174912001,"66":26267,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191283913935671296},"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-10-05 08:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539174912001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:27:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:27:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191283913935671296,"description":"Unknown IO ID 45"} 
[2026-10-05 08:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539174912001,"power":26267,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191283913935671296}} 
[2026-10-05 08:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":204350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:27:01] local.INFO: GPS data processed {"connection_id":204350,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:27:01] local.INFO: Acknowledgment sent {"connection_id":204350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:27:27] local.INFO: TCP Data received {"connection_id":207324,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109fc6ba0012d0c26800702acc0001d00610c..."} 
[2026-10-05 08:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fc6ba0012d0c26800702acc0001d00610c..."} 
[2026-10-05 08:27:27] local.INFO: Processing buffer {"connection_id":207324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fc6ba0012d0c26800702acc0001d00610c..."} 
[2026-10-05 08:27:27] local.INFO: Packet analysis {"connection_id":207324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fc"} 
[2026-10-05 08:27:27] local.INFO: Extracted packet for processing {"connection_id":207324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fc"} 
[2026-10-05 08:27:27] local.INFO: GPS Element Parsed {"raw_longitude":755771008,"raw_latitude":117615808,"longitude_deg":75.5771008,"latitude_deg":11.7615808,"altitude":29,"angle":97,"satellites":12,"speed":2,"hex_longitude":"2d0c2680","hex_latitude":"0702acc0","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539238144001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34690579698810880,"note":"Value kept but may cause issues"} 
[2026-10-05 08:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875387207679787008,"note":"Value kept but may cause issues"} 
[2026-10-05 08:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1791168900000,"timestamp_ms":1791168900000,"timestamp_seconds":1791168900,"priority":1,"record_length":96,"hex_timestamp":"000001a109fc6ba0"} 
[2026-10-05 08:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-05 08:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":207324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":207324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":207324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539238144001,"66":14407,"37":206,"94":11008,"24":2,"16":34690579698810880,"45":875387207679787008},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 08:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539238144001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:27:27] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 08:27:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 08:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34690579698810880,"km_value":34690579698810.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":875387207679787008,"description":"Unknown IO ID 45"} 
[2026-10-05 08:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539238144001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":875387207679787008}} 
[2026-10-05 08:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":207324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966198,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:27:27] local.INFO: GPS data processed {"connection_id":207324,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:27:27] local.INFO: Acknowledgment sent {"connection_id":207324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:27:32] local.INFO: TCP Data received {"connection_id":204350,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:27:32] local.INFO: Processing buffer {"connection_id":204350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:27:32] local.INFO: Packet analysis {"connection_id":204350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fd"} 
[2026-10-05 08:27:32] local.INFO: Extracted packet for processing {"connection_id":204350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fd"} 
[2026-10-05 08:27:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":5,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539174912001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191283913935671296,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791168953000,"timestamp_ms":1791168953000,"timestamp_seconds":1791168953,"priority":1,"record_length":96,"hex_timestamp":"000001a109fd3aa8"} 
[2026-10-05 08:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:27: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-10-05 08:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-10-05 08:27: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-10-05 08: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-10-05 08:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:27: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-10-05 08:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539174912001,"66":26267,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191283913935671296},"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-10-05 08:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539174912001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:27:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:27:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191283913935671296,"description":"Unknown IO ID 45"} 
[2026-10-05 08:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539174912001,"power":26267,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191283913935671296}} 
[2026-10-05 08:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":204350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:27:32] local.INFO: GPS data processed {"connection_id":204350,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:27:32] local.INFO: Acknowledgment sent {"connection_id":204350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:27:45] local.INFO: TCP Data received {"connection_id":207327,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207327,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:27:45] local.INFO: Processing buffer {"connection_id":207327,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:27:45] local.INFO: IMEI packet received {"connection_id":207327,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 08:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":207327,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:27:47] local.INFO: TCP Data received {"connection_id":207327,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207327,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:27:47] local.INFO: Processing buffer {"connection_id":207327,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:27:47] local.INFO: IMEI packet received {"connection_id":207327,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":207327,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:27:48] local.INFO: TCP Data received {"connection_id":207327,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109fc7758012d0c26800702ac98001d00630c..."} 
[2026-10-05 08:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fc7758012d0c26800702ac98001d00630c..."} 
[2026-10-05 08:27:48] local.INFO: Processing buffer {"connection_id":207327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fc7758012d0c26800702ac98001d00630c..."} 
[2026-10-05 08:27:48] local.INFO: Packet analysis {"connection_id":207327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fc"} 
[2026-10-05 08:27:48] local.INFO: Extracted packet for processing {"connection_id":207327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fc"} 
[2026-10-05 08:27:48] local.INFO: GPS Element Parsed {"raw_longitude":755771008,"raw_latitude":117615768,"longitude_deg":75.5771008,"latitude_deg":11.7615768,"altitude":29,"angle":99,"satellites":12,"speed":0,"hex_longitude":"2d0c2680","hex_latitude":"0702ac98","is_valid_coordinates":true} 
[2026-10-05 08:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539238400001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34690583993778176,"note":"Value kept but may cause issues"} 
[2026-10-05 08:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875527945168142336,"note":"Value kept but may cause issues"} 
[2026-10-05 08:27: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-10-05 08:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791168903000,"timestamp_ms":1791168903000,"timestamp_seconds":1791168903,"priority":1,"record_length":96,"hex_timestamp":"000001a109fc7758"} 
[2026-10-05 08:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-05 08:27:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":207327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":207327,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":207327,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539238400001,"66":14450,"37":206,"94":11008,"24":0,"16":34690583993778176,"45":875527945168142336},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 08:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539238400001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:27:48] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 08:27:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 08:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34690583993778176,"km_value":34690583993778.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":875527945168142336,"description":"Unknown IO ID 45"} 
[2026-10-05 08:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539238400001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":875527945168142336}} 
[2026-10-05 08:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":207327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966200,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:27:48] local.INFO: GPS data processed {"connection_id":207327,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:27:48] local.INFO: Acknowledgment sent {"connection_id":207327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:27:55] local.INFO: TCP Data received {"connection_id":204231,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:27:55] local.INFO: Processing buffer {"connection_id":204231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:27:55] local.INFO: IMEI packet received {"connection_id":204231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":204231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:28:00] local.INFO: TCP Data received {"connection_id":204231,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:28:00] local.INFO: Processing buffer {"connection_id":204231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:28:00] local.INFO: IMEI packet received {"connection_id":204231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":204231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:28:01] local.INFO: TCP Data received {"connection_id":204231,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:28:01] local.INFO: Processing buffer {"connection_id":204231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:28:01] local.INFO: Packet analysis {"connection_id":204231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fd"} 
[2026-10-05 08:28:01] local.INFO: Extracted packet for processing {"connection_id":204231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fd"} 
[2026-10-05 08:28:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":5,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539174912001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191283913935671296,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791168953000,"timestamp_ms":1791168953000,"timestamp_seconds":1791168953,"priority":1,"record_length":96,"hex_timestamp":"000001a109fd3aa8"} 
[2026-10-05 08:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:28: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-10-05 08: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-10-05 08:28:01] 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-10-05 08: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-10-05 08:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:28: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-10-05 08:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539174912001,"66":26267,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191283913935671296},"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-10-05 08:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539174912001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:28:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:28:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191283913935671296,"description":"Unknown IO ID 45"} 
[2026-10-05 08:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539174912001,"power":26267,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191283913935671296}} 
[2026-10-05 08:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":204231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:28:01] local.INFO: GPS data processed {"connection_id":204231,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:28:01] local.INFO: Acknowledgment sent {"connection_id":204231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:28:20] local.INFO: TCP Data received {"connection_id":207327,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109fef410012d0c13400702fba0001b015d16..."} 
[2026-10-05 08:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fef410012d0c13400702fba0001b015d16..."} 
[2026-10-05 08:28:20] local.INFO: Processing buffer {"connection_id":207327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fef410012d0c13400702fba0001b015d16..."} 
[2026-10-05 08:28:20] local.INFO: Packet analysis {"connection_id":207327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fe"} 
[2026-10-05 08:28:20] local.INFO: Extracted packet for processing {"connection_id":207327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fe"} 
[2026-10-05 08:28:20] local.INFO: GPS Element Parsed {"raw_longitude":755766080,"raw_latitude":117636000,"longitude_deg":75.576608,"latitude_deg":11.7636,"altitude":27,"angle":349,"satellites":22,"speed":37,"hex_longitude":"2d0c1340","hex_latitude":"0702fba0","is_valid_coordinates":true} 
[2026-10-05 08:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539277824001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34691640555732992,"note":"Value kept but may cause issues"} 
[2026-10-05 08:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871939139217833984,"note":"Value kept but may cause issues"} 
[2026-10-05 08:28: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-10-05 08:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791169066000,"timestamp_ms":1791169066000,"timestamp_seconds":1791169066,"priority":1,"record_length":96,"hex_timestamp":"000001a109fef410"} 
[2026-10-05 08:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-05 08:28:20] 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-10-05 08:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":207327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":207327,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":207327,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539277824001,"66":14461,"37":206,"94":11008,"24":37,"16":34691640555732992,"45":871939139217833984},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 08:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539277824001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:28:20] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 08:28:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 08:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34691640555732992,"km_value":34691640555732.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":871939139217833984,"description":"Unknown IO ID 45"} 
[2026-10-05 08:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539277824001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":37,"odometer":null,"unknown_45":871939139217833984}} 
[2026-10-05 08:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":207327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966202,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:28:20] local.INFO: GPS data processed {"connection_id":207327,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:28:20] local.INFO: Acknowledgment sent {"connection_id":207327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:28:32] local.INFO: TCP Data received {"connection_id":204231,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:28:32] local.INFO: Processing buffer {"connection_id":204231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:28:32] local.INFO: Packet analysis {"connection_id":204231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fd"} 
[2026-10-05 08:28:32] local.INFO: Extracted packet for processing {"connection_id":204231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fd"} 
[2026-10-05 08:28:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":5,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:28: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-10-05 08:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539174912001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191283913935671296,"note":"Value kept but may cause issues"} 
[2026-10-05 08:28: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-10-05 08:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791168953000,"timestamp_ms":1791168953000,"timestamp_seconds":1791168953,"priority":1,"record_length":96,"hex_timestamp":"000001a109fd3aa8"} 
[2026-10-05 08:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:28: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-10-05 08:28: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-10-05 08:28: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-10-05 08:28: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-10-05 08:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:28: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-10-05 08:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539174912001,"66":26267,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191283913935671296},"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-10-05 08:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539174912001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:28:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:28:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191283913935671296,"description":"Unknown IO ID 45"} 
[2026-10-05 08:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539174912001,"power":26267,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191283913935671296}} 
[2026-10-05 08:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":204231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:28:32] local.INFO: GPS data processed {"connection_id":204231,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:28:32] local.INFO: Acknowledgment sent {"connection_id":204231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:28:47] local.INFO: TCP Data received {"connection_id":205783,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205783,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:28:47] local.INFO: Processing buffer {"connection_id":205783,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:28:47] local.INFO: IMEI packet received {"connection_id":205783,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 08:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":205783,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:28:47] local.INFO: TCP Data received {"connection_id":205783,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205783,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:28:47] local.INFO: Processing buffer {"connection_id":205783,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:28:47] local.INFO: IMEI packet received {"connection_id":205783,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":205783,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:28:48] local.INFO: TCP Data received {"connection_id":205783,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109ff1f08012d0c0bc007031f300018015b17..."} 
[2026-10-05 08:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ff1f08012d0c0bc007031f300018015b17..."} 
[2026-10-05 08:28:48] local.INFO: Processing buffer {"connection_id":205783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ff1f08012d0c0bc007031f300018015b17..."} 
[2026-10-05 08:28:48] local.INFO: Packet analysis {"connection_id":205783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ff"} 
[2026-10-05 08:28:48] local.INFO: Extracted packet for processing {"connection_id":205783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ff"} 
[2026-10-05 08:28:48] local.INFO: GPS Element Parsed {"raw_longitude":755764160,"raw_latitude":117645104,"longitude_deg":75.576416,"latitude_deg":11.7645104,"altitude":24,"angle":347,"satellites":23,"speed":28,"hex_longitude":"2d0c0bc0","hex_latitude":"07031f30","is_valid_coordinates":true} 
[2026-10-05 08:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539280896001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34692091527299072,"note":"Value kept but may cause issues"} 
[2026-10-05 08:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":870109551871631360,"note":"Value kept but may cause issues"} 
[2026-10-05 08:28: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-10-05 08:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791169077000,"timestamp_ms":1791169077000,"timestamp_seconds":1791169077,"priority":1,"record_length":96,"hex_timestamp":"000001a109ff1f08"} 
[2026-10-05 08:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-05 08:28: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-10-05 08:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":205783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":205783,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":205783,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539280896001,"66":14374,"37":206,"94":11008,"24":28,"16":34692091527299072,"45":870109551871631360},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 08:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539280896001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:28:48] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 08:28:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 08:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34692091527299072,"km_value":34692091527299.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":870109551871631360,"description":"Unknown IO ID 45"} 
[2026-10-05 08:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539280896001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":28,"odometer":null,"unknown_45":870109551871631360}} 
[2026-10-05 08:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":205783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966204,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:28:49] local.INFO: GPS data processed {"connection_id":205783,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:28:49] local.INFO: Acknowledgment sent {"connection_id":205783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:28:51] local.INFO: TCP Data received {"connection_id":205783,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a109ff4de8012d0c0540070341580014015a16..."} 
[2026-10-05 08:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109ff4de8012d0c0540070341580014015a16..."} 
[2026-10-05 08:28:51] local.INFO: Processing buffer {"connection_id":205783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109ff4de8012d0c0540070341580014015a16..."} 
[2026-10-05 08:28:51] local.INFO: Packet analysis {"connection_id":205783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ff"} 
[2026-10-05 08:28:51] local.INFO: Extracted packet for processing {"connection_id":205783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ff"} 
[2026-10-05 08:28:51] local.INFO: GPS Element Parsed {"raw_longitude":755762496,"raw_latitude":117653848,"longitude_deg":75.5762496,"latitude_deg":11.7653848,"altitude":20,"angle":346,"satellites":22,"speed":27,"hex_longitude":"2d0c0540","hex_latitude":"07034158","is_valid_coordinates":true} 
[2026-10-05 08:28: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-10-05 08:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539283712001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34692521024028672,"note":"Value kept but may cause issues"} 
[2026-10-05 08:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867998489548632064,"note":"Value kept but may cause issues"} 
[2026-10-05 08:28:51] 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-10-05 08:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791169089000,"timestamp_ms":1791169089000,"timestamp_seconds":1791169089,"priority":1,"record_length":96,"hex_timestamp":"000001a109ff4de8"} 
[2026-10-05 08:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-05 08:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:28: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-10-05 08:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":205783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":205783,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":205783,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539283712001,"66":14548,"37":206,"94":11008,"24":27,"16":34692521024028672,"45":867998489548632064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 08:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539283712001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:28:51] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 08:28:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 08:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34692521024028672,"km_value":34692521024028.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":867998489548632064,"description":"Unknown IO ID 45"} 
[2026-10-05 08:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539283712001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":27,"odometer":null,"unknown_45":867998489548632064}} 
[2026-10-05 08:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":205783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966205,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:28:52] local.INFO: GPS data processed {"connection_id":205783,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:28:52] local.INFO: Acknowledgment sent {"connection_id":205783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:28:55] local.INFO: TCP Data received {"connection_id":207328,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:28:55] local.INFO: Processing buffer {"connection_id":207328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:28:55] local.INFO: IMEI packet received {"connection_id":207328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":207328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:29:00] local.INFO: TCP Data received {"connection_id":207328,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:29:00] local.INFO: Processing buffer {"connection_id":207328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:29:00] local.INFO: IMEI packet received {"connection_id":207328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":207328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:29:01] local.INFO: TCP Data received {"connection_id":207328,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:29:01] local.INFO: Processing buffer {"connection_id":207328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:29:01] local.INFO: Packet analysis {"connection_id":207328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fd"} 
[2026-10-05 08:29:01] local.INFO: Extracted packet for processing {"connection_id":207328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fd"} 
[2026-10-05 08:29:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":5,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539174912001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191283913935671296,"note":"Value kept but may cause issues"} 
[2026-10-05 08:29: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-10-05 08:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791168953000,"timestamp_ms":1791168953000,"timestamp_seconds":1791168953,"priority":1,"record_length":96,"hex_timestamp":"000001a109fd3aa8"} 
[2026-10-05 08:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:29: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-10-05 08: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-10-05 08:29:01] 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-10-05 08: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-10-05 08:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:29: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-10-05 08:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539174912001,"66":26267,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191283913935671296},"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-10-05 08:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539174912001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:29:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:29:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191283913935671296,"description":"Unknown IO ID 45"} 
[2026-10-05 08:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539174912001,"power":26267,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191283913935671296}} 
[2026-10-05 08:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":207328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:29:01] local.INFO: GPS data processed {"connection_id":207328,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:29:01] local.INFO: Acknowledgment sent {"connection_id":207328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:29:23] local.INFO: TCP Data received {"connection_id":205783,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a005788012d0c4e400703ca180016001419..."} 
[2026-10-05 08:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a005788012d0c4e400703ca180016001419..."} 
[2026-10-05 08:29:23] local.INFO: Processing buffer {"connection_id":205783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a005788012d0c4e400703ca180016001419..."} 
[2026-10-05 08:29:23] local.INFO: Packet analysis {"connection_id":205783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a00"} 
[2026-10-05 08:29:23] local.INFO: Extracted packet for processing {"connection_id":205783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a00"} 
[2026-10-05 08:29:23] local.INFO: GPS Element Parsed {"raw_longitude":755781184,"raw_latitude":117688856,"longitude_deg":75.5781184,"latitude_deg":11.7688856,"altitude":22,"angle":20,"satellites":25,"speed":21,"hex_longitude":"2d0c4e40","hex_latitude":"0703ca18","is_valid_coordinates":true} 
[2026-10-05 08:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539303936001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34694677097611264,"note":"Value kept but may cause issues"} 
[2026-10-05 08:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886435100534253568,"note":"Value kept but may cause issues"} 
[2026-10-05 08:29: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-10-05 08:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1791169157000,"timestamp_ms":1791169157000,"timestamp_seconds":1791169157,"priority":1,"record_length":96,"hex_timestamp":"000001a10a005788"} 
[2026-10-05 08:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:29:23] 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-10-05 08:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-10-05 08:29:23] 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-10-05 08:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":205783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":205783,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":205783,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539303936001,"66":13722,"37":206,"94":11008,"24":21,"16":34694677097611264,"45":886435100534253568},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 08:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539303936001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:29:23] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 08:29:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 08:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34694677097611264,"km_value":34694677097611.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":886435100534253568,"description":"Unknown IO ID 45"} 
[2026-10-05 08:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539303936001,"power":13722,"unknown_37":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":886435100534253568}} 
[2026-10-05 08:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":205783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966207,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:29:23] local.INFO: GPS data processed {"connection_id":205783,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:29:23] local.INFO: Acknowledgment sent {"connection_id":205783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:29:33] local.INFO: TCP Data received {"connection_id":207328,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:29:33] local.INFO: Processing buffer {"connection_id":207328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:29:33] local.INFO: Packet analysis {"connection_id":207328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fd"} 
[2026-10-05 08:29:33] local.INFO: Extracted packet for processing {"connection_id":207328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fd"} 
[2026-10-05 08:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":5,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539174912001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191283913935671296,"note":"Value kept but may cause issues"} 
[2026-10-05 08:29: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-10-05 08:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791168953000,"timestamp_ms":1791168953000,"timestamp_seconds":1791168953,"priority":1,"record_length":96,"hex_timestamp":"000001a109fd3aa8"} 
[2026-10-05 08:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 08:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-10-05 08:29:33] 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-10-05 08: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-10-05 08:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539174912001,"66":26267,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191283913935671296},"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-10-05 08:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539174912001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:29:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:29:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191283913935671296,"description":"Unknown IO ID 45"} 
[2026-10-05 08:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539174912001,"power":26267,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191283913935671296}} 
[2026-10-05 08:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":207328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:29:33] local.INFO: GPS data processed {"connection_id":207328,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:29:33] local.INFO: Acknowledgment sent {"connection_id":207328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:29:45] local.INFO: TCP Data received {"connection_id":204352,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204352,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:29:45] local.INFO: Processing buffer {"connection_id":204352,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:29:45] local.INFO: IMEI packet received {"connection_id":204352,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 08:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":204352,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:29:50] local.INFO: TCP Data received {"connection_id":204352,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204352,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:29:50] local.INFO: Processing buffer {"connection_id":204352,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:29:50] local.INFO: IMEI packet received {"connection_id":204352,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":204352,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:29:51] local.INFO: TCP Data received {"connection_id":204352,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a005b70012d0c4e800703cc780017000619..."} 
[2026-10-05 08:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a005b70012d0c4e800703cc780017000619..."} 
[2026-10-05 08:29:51] local.INFO: Processing buffer {"connection_id":204352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a005b70012d0c4e800703cc780017000619..."} 
[2026-10-05 08:29:51] local.INFO: Packet analysis {"connection_id":204352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a00"} 
[2026-10-05 08:29:51] local.INFO: Extracted packet for processing {"connection_id":204352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a00"} 
[2026-10-05 08:29:51] local.INFO: GPS Element Parsed {"raw_longitude":755781248,"raw_latitude":117689464,"longitude_deg":75.5781248,"latitude_deg":11.7689464,"altitude":23,"angle":6,"satellites":25,"speed":24,"hex_longitude":"2d0c4e80","hex_latitude":"0703cc78","is_valid_coordinates":true} 
[2026-10-05 08:29: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-10-05 08:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539304192001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34694707162382336,"note":"Value kept but may cause issues"} 
[2026-10-05 08:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886716575511091200,"note":"Value kept but may cause issues"} 
[2026-10-05 08:29:51] 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-10-05 08:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791169158000,"timestamp_ms":1791169158000,"timestamp_seconds":1791169158,"priority":1,"record_length":96,"hex_timestamp":"000001a10a005b70"} 
[2026-10-05 08:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:29: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-10-05 08:29: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-10-05 08:29:51] 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-10-05 08:29: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-10-05 08:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":204352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":204352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":204352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539304192001,"66":14363,"37":206,"94":11008,"24":24,"16":34694707162382336,"45":886716575511091200},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 08:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539304192001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:29:51] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 08:29:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 08:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34694707162382336,"km_value":34694707162382.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":886716575511091200,"description":"Unknown IO ID 45"} 
[2026-10-05 08:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539304192001,"power":14363,"unknown_37":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":886716575511091200}} 
[2026-10-05 08:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":204352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966209,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:29:51] local.INFO: GPS data processed {"connection_id":204352,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:29:51] local.INFO: Acknowledgment sent {"connection_id":204352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:30:00] local.INFO: TCP Data received {"connection_id":207329,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:30:00] local.INFO: Processing buffer {"connection_id":207329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:30:00] local.INFO: IMEI packet received {"connection_id":207329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":207329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:30:05] local.INFO: TCP Data received {"connection_id":207329,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:30:05] local.INFO: Processing buffer {"connection_id":207329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:30:05] local.INFO: IMEI packet received {"connection_id":207329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":207329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:30:06] local.INFO: TCP Data received {"connection_id":207329,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:30:06] local.INFO: Processing buffer {"connection_id":207329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:30:06] local.INFO: Packet analysis {"connection_id":207329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fd"} 
[2026-10-05 08:30:06] local.INFO: Extracted packet for processing {"connection_id":207329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fd"} 
[2026-10-05 08:30:06] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":5,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539174912001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191283913935671296,"note":"Value kept but may cause issues"} 
[2026-10-05 08:30: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-10-05 08:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791168953000,"timestamp_ms":1791168953000,"timestamp_seconds":1791168953,"priority":1,"record_length":96,"hex_timestamp":"000001a109fd3aa8"} 
[2026-10-05 08:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:30: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-10-05 08: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-10-05 08:30:06] 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-10-05 08: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-10-05 08:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:30: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-10-05 08:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539174912001,"66":26267,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191283913935671296},"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-10-05 08:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539174912001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:30:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:30:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191283913935671296,"description":"Unknown IO ID 45"} 
[2026-10-05 08:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539174912001,"power":26267,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191283913935671296}} 
[2026-10-05 08:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":207329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:30:06] local.INFO: GPS data processed {"connection_id":207329,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:30:06] local.INFO: Acknowledgment sent {"connection_id":207329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:30:11] local.INFO: TCP Data received {"connection_id":207329,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:30:11] local.INFO: Processing buffer {"connection_id":207329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109fd3aa8012d7f908005afe5380005000025..."} 
[2026-10-05 08:30:11] local.INFO: Packet analysis {"connection_id":207329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109fd"} 
[2026-10-05 08:30:11] local.INFO: Extracted packet for processing {"connection_id":207329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109fd"} 
[2026-10-05 08:30:11] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":5,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:30: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-10-05 08:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539174912001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191283913935671296,"note":"Value kept but may cause issues"} 
[2026-10-05 08:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791168953000,"timestamp_ms":1791168953000,"timestamp_seconds":1791168953,"priority":1,"record_length":96,"hex_timestamp":"000001a109fd3aa8"} 
[2026-10-05 08:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 08:30: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":33,"data_length":795,"current_offset":136} 
[2026-10-05 08:30:11] 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-10-05 08:30: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-10-05 08:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539174912001,"66":26267,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191283913935671296},"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-10-05 08:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539174912001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:30:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191283913935671296,"description":"Unknown IO ID 45"} 
[2026-10-05 08:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539174912001,"power":26267,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191283913935671296}} 
[2026-10-05 08:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":207329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:30:11] local.INFO: GPS data processed {"connection_id":207329,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:30:11] local.INFO: Acknowledgment sent {"connection_id":207329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:30:22] local.INFO: TCP Data received {"connection_id":204352,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a006340012d0c4e400703d1f80017016118..."} 
[2026-10-05 08:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a006340012d0c4e400703d1f80017016118..."} 
[2026-10-05 08:30:22] local.INFO: Processing buffer {"connection_id":204352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a006340012d0c4e400703d1f80017016118..."} 
[2026-10-05 08:30:22] local.INFO: Packet analysis {"connection_id":204352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a00"} 
[2026-10-05 08:30:22] local.INFO: Extracted packet for processing {"connection_id":204352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a00"} 
[2026-10-05 08:30:22] local.INFO: GPS Element Parsed {"raw_longitude":755781184,"raw_latitude":117690872,"longitude_deg":75.5781184,"latitude_deg":11.7690872,"altitude":23,"angle":353,"satellites":24,"speed":27,"hex_longitude":"2d0c4e40","hex_latitude":"0703d1f8","is_valid_coordinates":true} 
[2026-10-05 08:30: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-10-05 08:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539304448001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34694775881859072,"note":"Value kept but may cause issues"} 
[2026-10-05 08:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886786944255424512,"note":"Value kept but may cause issues"} 
[2026-10-05 08:30:22] 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-10-05 08:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791169160000,"timestamp_ms":1791169160000,"timestamp_seconds":1791169160,"priority":1,"record_length":96,"hex_timestamp":"000001a10a006340"} 
[2026-10-05 08:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:30: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":27,"data_length":795,"current_offset":136} 
[2026-10-05 08:30:22] 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-10-05 08:30: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-10-05 08:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":204352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":204352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":204352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539304448001,"66":14515,"16":34694775881859072,"94":11008,"24":27,"45":886786944255424512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-10-05 08:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539304448001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34694775881859072,"km_value":34694775881859.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:30:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 08:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":886786944255424512,"description":"Unknown IO ID 45"} 
[2026-10-05 08:30:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458539304448001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":27,"unknown_45":886786944255424512}} 
[2026-10-05 08:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":204352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966212,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:30:22] local.INFO: GPS data processed {"connection_id":204352,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:30:22] local.INFO: Acknowledgment sent {"connection_id":204352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:30:50] local.INFO: TCP Data received {"connection_id":204354,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204354,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:30:50] local.INFO: Processing buffer {"connection_id":204354,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:30:50] local.INFO: IMEI packet received {"connection_id":204354,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 08:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":204354,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:30:54] local.INFO: TCP Data received {"connection_id":204354,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204354,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:30:54] local.INFO: Processing buffer {"connection_id":204354,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:30:54] local.INFO: IMEI packet received {"connection_id":204354,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":204354,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:30:55] local.INFO: TCP Data received {"connection_id":204354,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a017898012d0cb980070474600015000519..."} 
[2026-10-05 08:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a017898012d0cb980070474600015000519..."} 
[2026-10-05 08:30:55] local.INFO: Processing buffer {"connection_id":204354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a017898012d0cb980070474600015000519..."} 
[2026-10-05 08:30:55] local.INFO: Packet analysis {"connection_id":204354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a01"} 
[2026-10-05 08:30:55] local.INFO: Extracted packet for processing {"connection_id":204354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a01"} 
[2026-10-05 08:30:55] local.INFO: GPS Element Parsed {"raw_longitude":755808640,"raw_latitude":117732448,"longitude_deg":75.580864,"latitude_deg":11.7732448,"altitude":21,"angle":5,"satellites":25,"speed":37,"hex_longitude":"2d0cb980","hex_latitude":"07047460","is_valid_coordinates":true} 
[2026-10-05 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-10-05 08:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539323136001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34697305617596416,"note":"Value kept but may cause issues"} 
[2026-10-05 08:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916904766774468608,"note":"Value kept but may cause issues"} 
[2026-10-05 08:30:55] 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-10-05 08:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1791169231000,"timestamp_ms":1791169231000,"timestamp_seconds":1791169231,"priority":1,"record_length":96,"hex_timestamp":"000001a10a017898"} 
[2026-10-05 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-10-05 08:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-05 08:30:55] 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-10-05 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-10-05 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-10-05 08:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":204354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":204354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":204354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539323136001,"66":14407,"16":34697305617596416,"94":11008,"24":37,"45":916904766774468608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-10-05 08:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539323136001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34697305617596416,"km_value":34697305617596.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:30:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 08:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":916904766774468608,"description":"Unknown IO ID 45"} 
[2026-10-05 08:30:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458539323136001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":37,"unknown_45":916904766774468608}} 
[2026-10-05 08:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":204354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966213,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:30:55] local.INFO: GPS data processed {"connection_id":204354,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:30:55] local.INFO: Acknowledgment sent {"connection_id":204354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:30:55] local.INFO: TCP Data received {"connection_id":207331,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:30:55] local.INFO: Processing buffer {"connection_id":207331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:30:55] local.INFO: IMEI packet received {"connection_id":207331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":207331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:30:56] local.INFO: TCP Data received {"connection_id":207331,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:30:56] local.INFO: Processing buffer {"connection_id":207331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:30:56] local.INFO: IMEI packet received {"connection_id":207331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":207331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:30:57] local.INFO: TCP Data received {"connection_id":204234,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204234,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:30:57] local.INFO: Processing buffer {"connection_id":204234,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:30:57] local.INFO: IMEI packet received {"connection_id":204234,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 08:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":204234,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:31:00] local.INFO: TCP Data received {"connection_id":207331,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:31:00] local.INFO: Processing buffer {"connection_id":207331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:31:00] local.INFO: IMEI packet received {"connection_id":207331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":207331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:31:01] local.INFO: TCP Data received {"connection_id":204355,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:31:01] local.INFO: Processing buffer {"connection_id":204355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:31:01] local.INFO: IMEI packet received {"connection_id":204355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":204355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:31:01] local.INFO: TCP Data received {"connection_id":207331,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:31:01] local.INFO: Processing buffer {"connection_id":207331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:31:01] local.INFO: Packet analysis {"connection_id":207331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a01"} 
[2026-10-05 08:31:01] local.INFO: Extracted packet for processing {"connection_id":207331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a01"} 
[2026-10-05 08:31:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":2,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539251968001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:31: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-10-05 08:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791169254000,"timestamp_ms":1791169254000,"timestamp_seconds":1791169254,"priority":1,"record_length":96,"hex_timestamp":"000001a10a01d270"} 
[2026-10-05 08:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:31: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-10-05 08: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-10-05 08:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:31: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-10-05 08:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539251968001,"66":26115,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539251968001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:31:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:31:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539251968001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":207331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:31:01] local.INFO: GPS data processed {"connection_id":207331,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:31:01] local.INFO: Acknowledgment sent {"connection_id":207331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:31:04] local.INFO: TCP Data received {"connection_id":204355,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:31:04] local.INFO: Processing buffer {"connection_id":204355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:31:04] local.INFO: IMEI packet received {"connection_id":204355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":204355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:31:04] local.INFO: TCP Data received {"connection_id":204355,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:31:04] local.INFO: Processing buffer {"connection_id":204355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:31:04] local.INFO: IMEI packet received {"connection_id":204355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":204355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:31:05] local.INFO: TCP Data received {"connection_id":204355,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:31:05] local.INFO: Processing buffer {"connection_id":204355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:31:05] local.INFO: IMEI packet received {"connection_id":204355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":204355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:31:26] local.INFO: TCP Data received {"connection_id":204354,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a018450012d0cb98007047f380017015e19..."} 
[2026-10-05 08:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a018450012d0cb98007047f380017015e19..."} 
[2026-10-05 08:31:26] local.INFO: Processing buffer {"connection_id":204354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a018450012d0cb98007047f380017015e19..."} 
[2026-10-05 08:31:26] local.INFO: Packet analysis {"connection_id":204354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a01"} 
[2026-10-05 08:31:26] local.INFO: Extracted packet for processing {"connection_id":204354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a01"} 
[2026-10-05 08:31:26] local.INFO: GPS Element Parsed {"raw_longitude":755808640,"raw_latitude":117735224,"longitude_deg":75.580864,"latitude_deg":11.7735224,"altitude":23,"angle":350,"satellites":25,"speed":34,"hex_longitude":"2d0cb980","hex_latitude":"07047f38","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539323136001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34697438761582592,"note":"Value kept but may cause issues"} 
[2026-10-05 08:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916904766774468608,"note":"Value kept but may cause issues"} 
[2026-10-05 08:31:26] 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-10-05 08:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1791169234000,"timestamp_ms":1791169234000,"timestamp_seconds":1791169234,"priority":1,"record_length":96,"hex_timestamp":"000001a10a018450"} 
[2026-10-05 08:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-05 08:31:26] 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-10-05 08: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-10-05 08:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":204354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":204354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":204354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539323136001,"66":14494,"16":34697438761582592,"94":11008,"24":34,"45":916904766774468608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-10-05 08:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539323136001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34697438761582592,"km_value":34697438761582.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:31:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 08:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":916904766774468608,"description":"Unknown IO ID 45"} 
[2026-10-05 08:31:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458539323136001,"power":14494,"odometer":null,"unknown_94":11008,"ignition":34,"unknown_45":916904766774468608}} 
[2026-10-05 08:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":204354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966215,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:31:27] local.INFO: GPS data processed {"connection_id":204354,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:31:27] local.INFO: Acknowledgment sent {"connection_id":204354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:31:32] local.INFO: TCP Data received {"connection_id":207331,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:31:32] local.INFO: Processing buffer {"connection_id":207331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:31:32] local.INFO: Packet analysis {"connection_id":207331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a01"} 
[2026-10-05 08:31:32] local.INFO: Extracted packet for processing {"connection_id":207331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a01"} 
[2026-10-05 08:31:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":2,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539251968001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:31: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-10-05 08:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791169254000,"timestamp_ms":1791169254000,"timestamp_seconds":1791169254,"priority":1,"record_length":96,"hex_timestamp":"000001a10a01d270"} 
[2026-10-05 08:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:31:32] 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-10-05 08: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-10-05 08:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:31: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-10-05 08:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539251968001,"66":26115,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539251968001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:31:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:31:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539251968001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":207331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:31:32] local.INFO: GPS data processed {"connection_id":207331,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:31:32] local.INFO: Acknowledgment sent {"connection_id":207331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:31:48] local.INFO: TCP Data received {"connection_id":204235,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:31:48] local.INFO: Processing buffer {"connection_id":204235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:31:48] local.INFO: IMEI packet received {"connection_id":204235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 08:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":204235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:31:57] local.INFO: TCP Data received {"connection_id":205784,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:31:57] local.INFO: Processing buffer {"connection_id":205784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:31:57] local.INFO: IMEI packet received {"connection_id":205784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":205784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:32:00] local.INFO: TCP Data received {"connection_id":204236,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204236,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:32:00] local.INFO: Processing buffer {"connection_id":204236,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:32:00] local.INFO: IMEI packet received {"connection_id":204236,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 08:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":204236,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:32:00] local.INFO: TCP Data received {"connection_id":205784,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:32:00] local.INFO: Processing buffer {"connection_id":205784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:32:00] local.INFO: IMEI packet received {"connection_id":205784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":205784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:32:01] local.INFO: TCP Data received {"connection_id":205784,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:32:01] local.INFO: Processing buffer {"connection_id":205784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:32:01] local.INFO: Packet analysis {"connection_id":205784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a01"} 
[2026-10-05 08:32:01] local.INFO: Extracted packet for processing {"connection_id":205784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a01"} 
[2026-10-05 08:32:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":2,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539251968001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791169254000,"timestamp_ms":1791169254000,"timestamp_seconds":1791169254,"priority":1,"record_length":96,"hex_timestamp":"000001a10a01d270"} 
[2026-10-05 08:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:32: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-10-05 08: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-10-05 08:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:32: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-10-05 08:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539251968001,"66":26115,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539251968001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:32:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:32:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539251968001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":205784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:32:01] local.INFO: GPS data processed {"connection_id":205784,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:32:01] local.INFO: Acknowledgment sent {"connection_id":205784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:32:04] local.INFO: TCP Data received {"connection_id":204236,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204236,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:32:04] local.INFO: Processing buffer {"connection_id":204236,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:32:04] local.INFO: IMEI packet received {"connection_id":204236,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":204236,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:32:05] local.INFO: TCP Data received {"connection_id":204236,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204236,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:32:05] local.INFO: Processing buffer {"connection_id":204236,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:32:05] local.INFO: IMEI packet received {"connection_id":204236,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":204236,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:32:06] local.INFO: TCP Data received {"connection_id":204236,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0291d8012d0c55c007054f500018014b19..."} 
[2026-10-05 08:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0291d8012d0c55c007054f500018014b19..."} 
[2026-10-05 08:32:06] local.INFO: Processing buffer {"connection_id":204236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0291d8012d0c55c007054f500018014b19..."} 
[2026-10-05 08:32:06] local.INFO: Packet analysis {"connection_id":204236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a02"} 
[2026-10-05 08:32:06] local.INFO: Extracted packet for processing {"connection_id":204236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a02"} 
[2026-10-05 08:32:06] local.INFO: GPS Element Parsed {"raw_longitude":755783104,"raw_latitude":117788496,"longitude_deg":75.5783104,"latitude_deg":11.7788496,"altitude":24,"angle":331,"satellites":25,"speed":43,"hex_longitude":"2d0c55c0","hex_latitude":"07054f50","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539340032001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34700363634311168,"note":"Value kept but may cause issues"} 
[2026-10-05 08:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891642387627675648,"note":"Value kept but may cause issues"} 
[2026-10-05 08:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791169303000,"timestamp_ms":1791169303000,"timestamp_seconds":1791169303,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0291d8"} 
[2026-10-05 08:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:32: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-10-05 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-05 08:32: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-10-05 08: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-10-05 08:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204236,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204236,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539340032001,"66":14537,"95":206,"94":10240,"24":43,"16":34700363634311168,"45":891642387627675648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-10-05 08:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539340032001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:32:06] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 08:32:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 08:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34700363634311168,"km_value":34700363634311.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":891642387627675648,"description":"Unknown IO ID 45"} 
[2026-10-05 08:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539340032001,"power":14537,"unknown_95":206,"unknown_94":10240,"ignition":43,"odometer":null,"unknown_45":891642387627675648}} 
[2026-10-05 08:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":204236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966218,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:32:06] local.INFO: GPS data processed {"connection_id":204236,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:32:06] local.INFO: Acknowledgment sent {"connection_id":204236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:32:11] local.INFO: TCP Data received {"connection_id":204236,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a02b8e8012d0c428007056fc00013014c18..."} 
[2026-10-05 08:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a02b8e8012d0c428007056fc00013014c18..."} 
[2026-10-05 08:32:11] local.INFO: Processing buffer {"connection_id":204236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a02b8e8012d0c428007056fc00013014c18..."} 
[2026-10-05 08:32:11] local.INFO: Packet analysis {"connection_id":204236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a02"} 
[2026-10-05 08:32:11] local.INFO: Extracted packet for processing {"connection_id":204236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a02"} 
[2026-10-05 08:32:11] local.INFO: GPS Element Parsed {"raw_longitude":755778176,"raw_latitude":117796800,"longitude_deg":75.5778176,"latitude_deg":11.77968,"altitude":19,"angle":332,"satellites":24,"speed":35,"hex_longitude":"2d0c4280","hex_latitude":"07056fc0","is_valid_coordinates":true} 
[2026-10-05 08:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539341568001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34700827490779136,"note":"Value kept but may cause issues"} 
[2026-10-05 08:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888827637861928960,"note":"Value kept but may cause issues"} 
[2026-10-05 08:32:11] 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-10-05 08:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791169313000,"timestamp_ms":1791169313000,"timestamp_seconds":1791169313,"priority":1,"record_length":96,"hex_timestamp":"000001a10a02b8e8"} 
[2026-10-05 08:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-05 08:32:11] 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-10-05 08:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204236,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204236,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539341568001,"66":14559,"95":206,"94":10240,"24":35,"16":34700827490779136,"45":888827637861928960},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-10-05 08:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539341568001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:32:11] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 08:32:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 08:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34700827490779136,"km_value":34700827490779.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":888827637861928960,"description":"Unknown IO ID 45"} 
[2026-10-05 08:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539341568001,"power":14559,"unknown_95":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_45":888827637861928960}} 
[2026-10-05 08:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":204236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966219,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:32:11] local.INFO: GPS data processed {"connection_id":204236,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:32:11] local.INFO: Acknowledgment sent {"connection_id":204236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:32:32] local.INFO: TCP Data received {"connection_id":205784,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:32:32] local.INFO: Processing buffer {"connection_id":205784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:32:32] local.INFO: Packet analysis {"connection_id":205784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a01"} 
[2026-10-05 08:32:32] local.INFO: Extracted packet for processing {"connection_id":205784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a01"} 
[2026-10-05 08:32:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":2,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539251968001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:32: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-10-05 08:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791169254000,"timestamp_ms":1791169254000,"timestamp_seconds":1791169254,"priority":1,"record_length":96,"hex_timestamp":"000001a10a01d270"} 
[2026-10-05 08:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:32:32] 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-10-05 08: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-10-05 08:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:32:32] 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-10-05 08:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539251968001,"66":26115,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539251968001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:32:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:32:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539251968001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":205784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:32:32] local.INFO: GPS data processed {"connection_id":205784,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:32:32] local.INFO: Acknowledgment sent {"connection_id":205784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:32:55] local.INFO: TCP Data received {"connection_id":204238,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:32:55] local.INFO: Processing buffer {"connection_id":204238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:32:55] local.INFO: IMEI packet received {"connection_id":204238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":204238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:33:00] local.INFO: TCP Data received {"connection_id":204238,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:33:00] local.INFO: Processing buffer {"connection_id":204238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:33:00] local.INFO: IMEI packet received {"connection_id":204238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":204238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:33:01] local.INFO: TCP Data received {"connection_id":204238,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:33:01] local.INFO: Processing buffer {"connection_id":204238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:33:01] local.INFO: Packet analysis {"connection_id":204238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a01"} 
[2026-10-05 08:33:01] local.INFO: Extracted packet for processing {"connection_id":204238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a01"} 
[2026-10-05 08:33:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":2,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539251968001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791169254000,"timestamp_ms":1791169254000,"timestamp_seconds":1791169254,"priority":1,"record_length":96,"hex_timestamp":"000001a10a01d270"} 
[2026-10-05 08:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:33: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-10-05 08: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-10-05 08:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08: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-10-05 08:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539251968001,"66":26115,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539251968001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:33:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:33:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539251968001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":204238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:33:01] local.INFO: GPS data processed {"connection_id":204238,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:33:01] local.INFO: Acknowledgment sent {"connection_id":204238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:33:20] local.INFO: TCP Data received {"connection_id":204240,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204240,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:33:20] local.INFO: Processing buffer {"connection_id":204240,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:33:20] local.INFO: IMEI packet received {"connection_id":204240,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 08:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":204240,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:33:25] local.INFO: TCP Data received {"connection_id":204240,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204240,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:33:25] local.INFO: Processing buffer {"connection_id":204240,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:33:25] local.INFO: IMEI packet received {"connection_id":204240,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":204240,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:33:26] local.INFO: TCP Data received {"connection_id":204240,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a037080012d0c6f40070599b80019015a19..."} 
[2026-10-05 08:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a037080012d0c6f40070599b80019015a19..."} 
[2026-10-05 08:33:26] local.INFO: Processing buffer {"connection_id":204240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a037080012d0c6f40070599b80019015a19..."} 
[2026-10-05 08:33:26] local.INFO: Packet analysis {"connection_id":204240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a03"} 
[2026-10-05 08:33:26] local.INFO: Extracted packet for processing {"connection_id":204240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a03"} 
[2026-10-05 08:33:26] local.INFO: GPS Element Parsed {"raw_longitude":755789632,"raw_latitude":117807544,"longitude_deg":75.5789632,"latitude_deg":11.7807544,"altitude":25,"angle":346,"satellites":25,"speed":27,"hex_longitude":"2d0c6f40","hex_latitude":"070599b8","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539355648001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34701841103060992,"note":"Value kept but may cause issues"} 
[2026-10-05 08:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896286724749324288,"note":"Value kept but may cause issues"} 
[2026-10-05 08:33:26] 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-10-05 08:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1791169360000,"timestamp_ms":1791169360000,"timestamp_seconds":1791169360,"priority":1,"record_length":96,"hex_timestamp":"000001a10a037080"} 
[2026-10-05 08:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-05 08:33:26] 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-10-05 08: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-10-05 08:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":204240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":204240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":204240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539355648001,"66":14396,"164":206,"94":10240,"24":27,"16":34701841103060992,"45":896286724749324288},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-10-05 08:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539355648001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:33:26] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-10-05 08:33:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 08:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34701841103060992,"km_value":34701841103060.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":896286724749324288,"description":"Unknown IO ID 45"} 
[2026-10-05 08:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539355648001,"power":14396,"unknown_164":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":896286724749324288}} 
[2026-10-05 08:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":204240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966222,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:33:26] local.INFO: GPS data processed {"connection_id":204240,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:33:26] local.INFO: Acknowledgment sent {"connection_id":204240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:33:32] local.INFO: TCP Data received {"connection_id":204238,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:33:32] local.INFO: Processing buffer {"connection_id":204238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:33:32] local.INFO: Packet analysis {"connection_id":204238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a01"} 
[2026-10-05 08:33:32] local.INFO: Extracted packet for processing {"connection_id":204238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a01"} 
[2026-10-05 08:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":2,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539251968001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791169254000,"timestamp_ms":1791169254000,"timestamp_seconds":1791169254,"priority":1,"record_length":96,"hex_timestamp":"000001a10a01d270"} 
[2026-10-05 08:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:33:32] 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-10-05 08:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-10-05 08:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:33: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-10-05 08:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539251968001,"66":26115,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539251968001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:33:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:33:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539251968001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":204238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:33:32] local.INFO: GPS data processed {"connection_id":204238,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:33:32] local.INFO: Acknowledgment sent {"connection_id":204238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:33:50] local.INFO: TCP Data received {"connection_id":204242,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204242,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:33:50] local.INFO: Processing buffer {"connection_id":204242,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:33:50] local.INFO: IMEI packet received {"connection_id":204242,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 08:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":204242,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:33:55] local.INFO: TCP Data received {"connection_id":204242,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204242,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:33:55] local.INFO: Processing buffer {"connection_id":204242,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:33:55] local.INFO: IMEI packet received {"connection_id":204242,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":204242,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:33:56] local.INFO: TCP Data received {"connection_id":204242,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a043f88012d0cebc00705c668000d001019..."} 
[2026-10-05 08:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a043f88012d0cebc00705c668000d001019..."} 
[2026-10-05 08:33:56] local.INFO: Processing buffer {"connection_id":204242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a043f88012d0cebc00705c668000d001019..."} 
[2026-10-05 08:33:56] local.INFO: Packet analysis {"connection_id":204242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a04"} 
[2026-10-05 08:33:56] local.INFO: Extracted packet for processing {"connection_id":204242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a04"} 
[2026-10-05 08:33:56] local.INFO: GPS Element Parsed {"raw_longitude":755821504,"raw_latitude":117818984,"longitude_deg":75.5821504,"latitude_deg":11.7818984,"altitude":13,"angle":16,"satellites":25,"speed":16,"hex_longitude":"2d0cebc0","hex_latitude":"0705c668","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539369216001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34703610629586944,"note":"Value kept but may cause issues"} 
[2026-10-05 08:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":930556303166881792,"note":"Value kept but may cause issues"} 
[2026-10-05 08:33:56] 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-10-05 08:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1791169413000,"timestamp_ms":1791169413000,"timestamp_seconds":1791169413,"priority":1,"record_length":96,"hex_timestamp":"000001a10a043f88"} 
[2026-10-05 08:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:33: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-10-05 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-05 08:33:56] 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-10-05 08: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-10-05 08:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":204242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":204242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":204242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539369216001,"66":14450,"167":206,"94":11008,"24":16,"16":34703610629586944,"45":930556303166881792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-10-05 08:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539369216001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:33:56] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-05 08:33:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 08:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34703610629586944,"km_value":34703610629586.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":930556303166881792,"description":"Unknown IO ID 45"} 
[2026-10-05 08:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539369216001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":930556303166881792}} 
[2026-10-05 08:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":204242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966224,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:33:56] local.INFO: GPS data processed {"connection_id":204242,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:33:56] local.INFO: Acknowledgment sent {"connection_id":204242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:34:00] local.INFO: TCP Data received {"connection_id":204357,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:34:00] local.INFO: Processing buffer {"connection_id":204357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:34:00] local.INFO: IMEI packet received {"connection_id":204357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":204357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:34:05] local.INFO: TCP Data received {"connection_id":204357,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:34:05] local.INFO: Processing buffer {"connection_id":204357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:34:05] local.INFO: IMEI packet received {"connection_id":204357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":204357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:34:06] local.INFO: TCP Data received {"connection_id":204357,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:34:06] local.INFO: Processing buffer {"connection_id":204357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:34:06] local.INFO: Packet analysis {"connection_id":204357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a01"} 
[2026-10-05 08:34:06] local.INFO: Extracted packet for processing {"connection_id":204357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a01"} 
[2026-10-05 08:34:06] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":2,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539251968001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:34: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-10-05 08:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791169254000,"timestamp_ms":1791169254000,"timestamp_seconds":1791169254,"priority":1,"record_length":96,"hex_timestamp":"000001a10a01d270"} 
[2026-10-05 08:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:34:06] 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-10-05 08:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-10-05 08:34:06] 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-10-05 08:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:34: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-10-05 08:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539251968001,"66":26115,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539251968001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:34:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:34:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539251968001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":204357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:34:06] local.INFO: GPS data processed {"connection_id":204357,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:34:06] local.INFO: Acknowledgment sent {"connection_id":204357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:34:11] local.INFO: TCP Data received {"connection_id":204357,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:34:11] local.INFO: Processing buffer {"connection_id":204357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:34:11] local.INFO: Packet analysis {"connection_id":204357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a01"} 
[2026-10-05 08:34:11] local.INFO: Extracted packet for processing {"connection_id":204357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a01"} 
[2026-10-05 08:34:11] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":2,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:34: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-10-05 08:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539251968001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791169254000,"timestamp_ms":1791169254000,"timestamp_seconds":1791169254,"priority":1,"record_length":96,"hex_timestamp":"000001a10a01d270"} 
[2026-10-05 08:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:34:11] 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-10-05 08:34: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-10-05 08:34:11] 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-10-05 08:34: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-10-05 08:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539251968001,"66":26115,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539251968001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:34:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:34:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539251968001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":204357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:34:11] local.INFO: GPS data processed {"connection_id":204357,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:34:11] local.INFO: Acknowledgment sent {"connection_id":204357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:34:27] local.INFO: TCP Data received {"connection_id":204242,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a044758012d0cec400705c9a8000d016619..."} 
[2026-10-05 08:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a044758012d0cec400705c9a8000d016619..."} 
[2026-10-05 08:34:27] local.INFO: Processing buffer {"connection_id":204242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a044758012d0cec400705c9a8000d016619..."} 
[2026-10-05 08:34:27] local.INFO: Packet analysis {"connection_id":204242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a04"} 
[2026-10-05 08:34:27] local.INFO: Extracted packet for processing {"connection_id":204242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a04"} 
[2026-10-05 08:34:27] local.INFO: GPS Element Parsed {"raw_longitude":755821632,"raw_latitude":117819816,"longitude_deg":75.5821632,"latitude_deg":11.7819816,"altitude":13,"angle":358,"satellites":25,"speed":17,"hex_longitude":"2d0cec40","hex_latitude":"0705c9a8","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539369728001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34703649284292608,"note":"Value kept but may cause issues"} 
[2026-10-05 08:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":931048884376332288,"note":"Value kept but may cause issues"} 
[2026-10-05 08:34:27] 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-10-05 08:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1791169415000,"timestamp_ms":1791169415000,"timestamp_seconds":1791169415,"priority":1,"record_length":96,"hex_timestamp":"000001a10a044758"} 
[2026-10-05 08:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:34: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-10-05 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-05 08:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":204242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":204242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":204242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539369728001,"66":14428,"167":206,"94":11008,"24":17,"16":34703649284292608,"45":931048884376332288},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-10-05 08:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539369728001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:34:27] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-05 08:34:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 08:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34703649284292608,"km_value":34703649284292.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":931048884376332288,"description":"Unknown IO ID 45"} 
[2026-10-05 08:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539369728001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":931048884376332288}} 
[2026-10-05 08:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":204242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966227,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:34:27] local.INFO: GPS data processed {"connection_id":204242,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:34:27] local.INFO: Acknowledgment sent {"connection_id":204242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:34:43] local.INFO: TCP Data received {"connection_id":204358,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204358,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:34:43] local.INFO: Processing buffer {"connection_id":204358,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:34:43] local.INFO: IMEI packet received {"connection_id":204358,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 08:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":204358,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:34:44] local.INFO: TCP Data received {"connection_id":204358,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204358,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:34:44] local.INFO: Processing buffer {"connection_id":204358,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:34:44] local.INFO: IMEI packet received {"connection_id":204358,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":204358,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:34:45] local.INFO: TCP Data received {"connection_id":204358,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204358,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:34:45] local.INFO: Processing buffer {"connection_id":204358,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:34:45] local.INFO: IMEI packet received {"connection_id":204358,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":204358,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:34:50] local.INFO: TCP Data received {"connection_id":204358,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204358,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:34:50] local.INFO: Processing buffer {"connection_id":204358,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:34:50] local.INFO: IMEI packet received {"connection_id":204358,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":204358,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:34:51] local.INFO: TCP Data received {"connection_id":204358,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a050aa8012d0d3a400705d5e0000c00901a..."} 
[2026-10-05 08:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a050aa8012d0d3a400705d5e0000c00901a..."} 
[2026-10-05 08:34:51] local.INFO: Processing buffer {"connection_id":204358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a050aa8012d0d3a400705d5e0000c00901a..."} 
[2026-10-05 08:34:51] local.INFO: Packet analysis {"connection_id":204358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a05"} 
[2026-10-05 08:34:51] local.INFO: Extracted packet for processing {"connection_id":204358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a05"} 
[2026-10-05 08:34:51] local.INFO: GPS Element Parsed {"raw_longitude":755841600,"raw_latitude":117822944,"longitude_deg":75.58416,"latitude_deg":11.7822944,"altitude":12,"angle":144,"satellites":26,"speed":5,"hex_longitude":"2d0d3a40","hex_latitude":"0705d5e0","is_valid_coordinates":true} 
[2026-10-05 08:34: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-10-05 08:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539382784001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34704723026116608,"note":"Value kept but may cause issues"} 
[2026-10-05 08:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953074301304977408,"note":"Value kept but may cause issues"} 
[2026-10-05 08:34:51] 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-10-05 08:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791169465000,"timestamp_ms":1791169465000,"timestamp_seconds":1791169465,"priority":1,"record_length":96,"hex_timestamp":"000001a10a050aa8"} 
[2026-10-05 08:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:34: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-10-05 08:34: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-10-05 08:34: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-10-05 08:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":204358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":204358,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":204358,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539382784001,"66":14580,"167":206,"94":11008,"24":5,"16":34704723026116608,"45":953074301304977408},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-10-05 08:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539382784001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:34:51] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-05 08:34:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 08:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34704723026116608,"km_value":34704723026116.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":953074301304977408,"description":"Unknown IO ID 45"} 
[2026-10-05 08:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539382784001,"power":14580,"unknown_167":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":953074301304977408}} 
[2026-10-05 08:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":204358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966228,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:34:51] local.INFO: GPS data processed {"connection_id":204358,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:34:51] local.INFO: Acknowledgment sent {"connection_id":204358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:34:55] local.INFO: TCP Data received {"connection_id":204359,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:34:55] local.INFO: Processing buffer {"connection_id":204359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:34:55] local.INFO: IMEI packet received {"connection_id":204359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":204359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:35:00] local.INFO: TCP Data received {"connection_id":204359,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:35:00] local.INFO: Processing buffer {"connection_id":204359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:35:00] local.INFO: IMEI packet received {"connection_id":204359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":204359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:35:01] local.INFO: TCP Data received {"connection_id":204359,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:35:01] local.INFO: Processing buffer {"connection_id":204359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:35:01] local.INFO: Packet analysis {"connection_id":204359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a01"} 
[2026-10-05 08:35:01] local.INFO: Extracted packet for processing {"connection_id":204359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a01"} 
[2026-10-05 08:35:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":2,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539251968001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:35: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-10-05 08:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791169254000,"timestamp_ms":1791169254000,"timestamp_seconds":1791169254,"priority":1,"record_length":96,"hex_timestamp":"000001a10a01d270"} 
[2026-10-05 08:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:35: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-10-05 08:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-10-05 08:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:35: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-10-05 08:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539251968001,"66":26115,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539251968001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:35:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:35:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539251968001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":204359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:35:01] local.INFO: GPS data processed {"connection_id":204359,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:35:01] local.INFO: Acknowledgment sent {"connection_id":204359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:35:22] local.INFO: TCP Data received {"connection_id":204358,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a051e30012d0d3ac00705d368000d00c11a..."} 
[2026-10-05 08:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a051e30012d0d3ac00705d368000d00c11a..."} 
[2026-10-05 08:35:22] local.INFO: Processing buffer {"connection_id":204358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a051e30012d0d3ac00705d368000d00c11a..."} 
[2026-10-05 08:35:22] local.INFO: Packet analysis {"connection_id":204358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a05"} 
[2026-10-05 08:35:22] local.INFO: Extracted packet for processing {"connection_id":204358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a05"} 
[2026-10-05 08:35:22] local.INFO: GPS Element Parsed {"raw_longitude":755841728,"raw_latitude":117822312,"longitude_deg":75.5841728,"latitude_deg":11.7822312,"altitude":13,"angle":193,"satellites":26,"speed":8,"hex_longitude":"2d0d3ac0","hex_latitude":"0705d368","is_valid_coordinates":true} 
[2026-10-05 08:35: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-10-05 08:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539383040001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34704757385854976,"note":"Value kept but may cause issues"} 
[2026-10-05 08:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953144670049132544,"note":"Value kept but may cause issues"} 
[2026-10-05 08:35:22] 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-10-05 08:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791169470000,"timestamp_ms":1791169470000,"timestamp_seconds":1791169470,"priority":1,"record_length":96,"hex_timestamp":"000001a10a051e30"} 
[2026-10-05 08:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:35: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":244,"data_length":795,"current_offset":136} 
[2026-10-05 08:35:22] 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-10-05 08:35: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-10-05 08:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":204358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":204358,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":204358,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539383040001,"66":14450,"167":206,"94":11008,"24":8,"16":34704757385854976,"45":953144670049132544},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-10-05 08:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539383040001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:35:22] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-05 08:35:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 08:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34704757385854976,"km_value":34704757385854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":953144670049132544,"description":"Unknown IO ID 45"} 
[2026-10-05 08:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539383040001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":953144670049132544}} 
[2026-10-05 08:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":204358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966230,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:35:22] local.INFO: GPS data processed {"connection_id":204358,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:35:22] local.INFO: Acknowledgment sent {"connection_id":204358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:35:32] local.INFO: TCP Data received {"connection_id":204359,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:35:32] local.INFO: Processing buffer {"connection_id":204359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a01d270012d7f908005afe5380002000026..."} 
[2026-10-05 08:35:32] local.INFO: Packet analysis {"connection_id":204359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a01"} 
[2026-10-05 08:35:32] local.INFO: Extracted packet for processing {"connection_id":204359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a01"} 
[2026-10-05 08:35:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":2,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:35: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-10-05 08:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539251968001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:35: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-10-05 08:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791169254000,"timestamp_ms":1791169254000,"timestamp_seconds":1791169254,"priority":1,"record_length":96,"hex_timestamp":"000001a10a01d270"} 
[2026-10-05 08:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:35:32] 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-10-05 08:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-10-05 08:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:35: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-10-05 08:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:35: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-10-05 08:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539251968001,"66":26115,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539251968001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:35:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:35:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539251968001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":204359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:35:32] local.INFO: GPS data processed {"connection_id":204359,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:35:32] local.INFO: Acknowledgment sent {"connection_id":204359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:35:45] local.INFO: TCP Data received {"connection_id":207337,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207337,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:35:45] local.INFO: Processing buffer {"connection_id":207337,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:35:45] local.INFO: IMEI packet received {"connection_id":207337,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 08:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":207337,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:35:50] local.INFO: TCP Data received {"connection_id":207337,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207337,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:35:50] local.INFO: Processing buffer {"connection_id":207337,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:35:50] local.INFO: IMEI packet received {"connection_id":207337,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":207337,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:35:51] local.INFO: TCP Data received {"connection_id":207337,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a053988012d0d39400705c980000e00b11a..."} 
[2026-10-05 08:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a053988012d0d39400705c980000e00b11a..."} 
[2026-10-05 08:35:51] local.INFO: Processing buffer {"connection_id":207337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a053988012d0d39400705c980000e00b11a..."} 
[2026-10-05 08:35:51] local.INFO: Packet analysis {"connection_id":207337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a05"} 
[2026-10-05 08:35:51] local.INFO: Extracted packet for processing {"connection_id":207337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a05"} 
[2026-10-05 08:35:51] local.INFO: GPS Element Parsed {"raw_longitude":755841344,"raw_latitude":117819776,"longitude_deg":75.5841344,"latitude_deg":11.7819776,"altitude":14,"angle":177,"satellites":26,"speed":14,"hex_longitude":"2d0d3940","hex_latitude":"0705c980","is_valid_coordinates":true} 
[2026-10-05 08:35: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-10-05 08:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539384320001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34704881939906560,"note":"Value kept but may cause issues"} 
[2026-10-05 08:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953285407537326080,"note":"Value kept but may cause issues"} 
[2026-10-05 08:35:51] 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-10-05 08:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791169477000,"timestamp_ms":1791169477000,"timestamp_seconds":1791169477,"priority":1,"record_length":96,"hex_timestamp":"000001a10a053988"} 
[2026-10-05 08:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:35: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":114,"data_length":795,"current_offset":136} 
[2026-10-05 08:35:51] 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-10-05 08:35: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-10-05 08:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":207337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":207337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":207337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539384320001,"66":14439,"167":206,"94":11008,"24":14,"16":34704881939906560,"45":953285407537326080},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-10-05 08:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539384320001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:35:51] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-05 08:35:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 08:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34704881939906560,"km_value":34704881939906.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":953285407537326080,"description":"Unknown IO ID 45"} 
[2026-10-05 08:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539384320001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":953285407537326080}} 
[2026-10-05 08:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":207337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966232,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:35:51] local.INFO: GPS data processed {"connection_id":207337,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:35:51] local.INFO: Acknowledgment sent {"connection_id":207337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:35:55] local.INFO: TCP Data received {"connection_id":204360,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:35:55] local.INFO: Processing buffer {"connection_id":204360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:35:55] local.INFO: IMEI packet received {"connection_id":204360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":204360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:35:56] local.INFO: TCP Data received {"connection_id":204360,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:35:56] local.INFO: Processing buffer {"connection_id":204360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:35:56] local.INFO: IMEI packet received {"connection_id":204360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":204360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:36:00] local.INFO: TCP Data received {"connection_id":204360,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:36:00] local.INFO: Processing buffer {"connection_id":204360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:36:00] local.INFO: IMEI packet received {"connection_id":204360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":204360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:36:01] local.INFO: TCP Data received {"connection_id":204360,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:36:01] local.INFO: Processing buffer {"connection_id":204360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:36:01] local.INFO: Packet analysis {"connection_id":204360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a06"} 
[2026-10-05 08:36:01] local.INFO: Extracted packet for processing {"connection_id":204360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a06"} 
[2026-10-05 08:36:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539329024001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791169555000,"timestamp_ms":1791169555000,"timestamp_seconds":1791169555,"priority":1,"record_length":96,"hex_timestamp":"000001a10a066a38"} 
[2026-10-05 08:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:36: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-10-05 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 08:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:36: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-10-05 08:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539329024001,"66":25952,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539329024001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:36:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:36:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539329024001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":204360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:36:01] local.INFO: GPS data processed {"connection_id":204360,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:36:01] local.INFO: Acknowledgment sent {"connection_id":204360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:36:11] local.INFO: TCP Data received {"connection_id":204243,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:36:11] local.INFO: Processing buffer {"connection_id":204243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:36:11] local.INFO: IMEI packet received {"connection_id":204243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":204243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:36:12] local.INFO: TCP Data received {"connection_id":204243,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a04cc28012d7acd0005e40f980007014524..."} 
[2026-10-05 08:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a04cc28012d7acd0005e40f980007014524..."} 
[2026-10-05 08:36:12] local.INFO: Processing buffer {"connection_id":204243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a04cc28012d7acd0005e40f980007014524..."} 
[2026-10-05 08:36:12] local.INFO: Packet analysis {"connection_id":204243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a04"} 
[2026-10-05 08:36:12] local.INFO: Extracted packet for processing {"connection_id":204243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a04"} 
[2026-10-05 08:36:12] local.INFO: GPS Element Parsed {"raw_longitude":763022592,"raw_latitude":98832280,"longitude_deg":76.3022592,"latitude_deg":9.883228,"altitude":7,"angle":325,"satellites":36,"speed":10,"hex_longitude":"2d7acd00","hex_latitude":"05e40f98","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539378176001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139356123793719296,"note":"Value kept but may cause issues"} 
[2026-10-05 08:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849221449362991104,"note":"Value kept but may cause issues"} 
[2026-10-05 08:36:12] 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-10-05 08:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791169449000,"timestamp_ms":1791169449000,"timestamp_seconds":1791169449,"priority":1,"record_length":96,"hex_timestamp":"000001a10a04cc28"} 
[2026-10-05 08:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 08:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303175411223903,"note":"Value kept but may cause issues"} 
[2026-10-05 08:36:12] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399429,"note":"Value kept but may cause issues"} 
[2026-10-05 08:36:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 08:36:12] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3706716167,"note":"Value kept but may cause issues"} 
[2026-10-05 08:36:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-10-05 08:36:12] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1476472186,"corrected_to":0} 
[2026-10-05 08:36:12] local.WARNING: Large IO value detected {"io_id":226,"raw_value":2147869627,"note":"Value kept but may cause issues"} 
[2026-10-05 08:36:12] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,208,85,24,241,157,16,23,161,172,45,192,1,10,37,66,102,222,6,39,98,64,240,148,227,4,113,205,7,202,226,160,239,53,2,5,3],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0},{"io_id":202,"original":1476472186,"validated":0}]} 
[2026-10-05 08:36:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576830342830096384,"timestamp_seconds":576830342830096.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 08:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539378176001,"66":12809,"208":206,"85":15104,"24":10,"16":139356123793719296,"45":8849221449362991104},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 08:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539378176001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:36:12] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 08:36:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139356123793719296,"km_value":139356123793719.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849221449362991104,"description":"Unknown IO ID 45"} 
[2026-10-05 08:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539378176001,"power":12809,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8849221449362991104}} 
[2026-10-05 08:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":204243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:36:12] local.INFO: GPS data processed {"connection_id":204243,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:36:12] local.INFO: Acknowledgment sent {"connection_id":204243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:36:22] local.INFO: TCP Data received {"connection_id":207337,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a054d10012d0d3a400705c318000e009a1a..."} 
[2026-10-05 08:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a054d10012d0d3a400705c318000e009a1a..."} 
[2026-10-05 08:36:22] local.INFO: Processing buffer {"connection_id":207337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a054d10012d0d3a400705c318000e009a1a..."} 
[2026-10-05 08:36:22] local.INFO: Packet analysis {"connection_id":207337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a05"} 
[2026-10-05 08:36:22] local.INFO: Extracted packet for processing {"connection_id":207337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a05"} 
[2026-10-05 08:36:22] local.INFO: GPS Element Parsed {"raw_longitude":755841600,"raw_latitude":117818136,"longitude_deg":75.58416,"latitude_deg":11.7818136,"altitude":14,"angle":154,"satellites":26,"speed":10,"hex_longitude":"2d0d3a40","hex_latitude":"0705c318","is_valid_coordinates":true} 
[2026-10-05 08:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539386112001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34704963544285184,"note":"Value kept but may cause issues"} 
[2026-10-05 08:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952863195071610880,"note":"Value kept but may cause issues"} 
[2026-10-05 08:36:22] 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-10-05 08:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791169482000,"timestamp_ms":1791169482000,"timestamp_seconds":1791169482,"priority":1,"record_length":96,"hex_timestamp":"000001a10a054d10"} 
[2026-10-05 08:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:36: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-10-05 08:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-05 08:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":207337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":207337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":207337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539386112001,"66":14428,"167":206,"94":11008,"24":10,"16":34704963544285184,"45":952863195071610880},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-10-05 08:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539386112001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:36:22] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-05 08:36:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 08:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34704963544285184,"km_value":34704963544285.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":952863195071610880,"description":"Unknown IO ID 45"} 
[2026-10-05 08:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539386112001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":952863195071610880}} 
[2026-10-05 08:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":207337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966235,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:36:22] local.INFO: GPS data processed {"connection_id":207337,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:36:22] local.INFO: Acknowledgment sent {"connection_id":207337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:36:32] local.INFO: TCP Data received {"connection_id":204360,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:36:32] local.INFO: Processing buffer {"connection_id":204360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:36:32] local.INFO: Packet analysis {"connection_id":204360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a06"} 
[2026-10-05 08:36:32] local.INFO: Extracted packet for processing {"connection_id":204360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a06"} 
[2026-10-05 08:36:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539329024001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:36: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-10-05 08:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791169555000,"timestamp_ms":1791169555000,"timestamp_seconds":1791169555,"priority":1,"record_length":96,"hex_timestamp":"000001a10a066a38"} 
[2026-10-05 08:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:36:32] 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-10-05 08:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 08:36:32] 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-10-05 08:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:36: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-10-05 08:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539329024001,"66":25952,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539329024001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:36:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:36:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539329024001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":204360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:36:32] local.INFO: GPS data processed {"connection_id":204360,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:36:32] local.INFO: Acknowledgment sent {"connection_id":204360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:36:43] local.INFO: TCP Data received {"connection_id":204243,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a06d798012d7acc4005e410880001009526..."} 
[2026-10-05 08:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a06d798012d7acc4005e410880001009526..."} 
[2026-10-05 08:36:43] local.INFO: Processing buffer {"connection_id":204243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a06d798012d7acc4005e410880001009526..."} 
[2026-10-05 08:36:43] local.INFO: Packet analysis {"connection_id":204243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a06"} 
[2026-10-05 08:36:43] local.INFO: Extracted packet for processing {"connection_id":204243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a06"} 
[2026-10-05 08:36:43] local.INFO: GPS Element Parsed {"raw_longitude":763022400,"raw_latitude":98832520,"longitude_deg":76.30224,"latitude_deg":9.883252,"altitude":1,"angle":149,"satellites":38,"speed":13,"hex_longitude":"2d7acc40","hex_latitude":"05e41088","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539412992001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139357339269464064,"note":"Value kept but may cause issues"} 
[2026-10-05 08:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848236286944837632,"note":"Value kept but may cause issues"} 
[2026-10-05 08:36:43] 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-10-05 08:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791169583000,"timestamp_ms":1791169583000,"timestamp_seconds":1791169583,"priority":1,"record_length":96,"hex_timestamp":"000001a10a06d798"} 
[2026-10-05 08:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:36: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-10-05 08: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-05 08:36:43] 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-10-05 08: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-10-05 08:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539412992001,"66":13928,"208":206,"85":15104,"24":13,"16":139357339269464064,"45":8848236286944837632},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 08:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539412992001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:36:43] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 08:36:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139357339269464064,"km_value":139357339269464.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848236286944837632,"description":"Unknown IO ID 45"} 
[2026-10-05 08:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539412992001,"power":13928,"unknown_208":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8848236286944837632}} 
[2026-10-05 08:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":204243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966237,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:36:43] local.INFO: GPS data processed {"connection_id":204243,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:36:43] local.INFO: Acknowledgment sent {"connection_id":204243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:36:45] local.INFO: TCP Data received {"connection_id":207338,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207338,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:36:45] local.INFO: Processing buffer {"connection_id":207338,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:36:45] local.INFO: IMEI packet received {"connection_id":207338,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 08:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":207338,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:36:46] local.INFO: TCP Data received {"connection_id":207338,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207338,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:36:46] local.INFO: Processing buffer {"connection_id":207338,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:36:46] local.INFO: IMEI packet received {"connection_id":207338,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":207338,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:36:47] local.INFO: TCP Data received {"connection_id":207338,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207338,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:36:47] local.INFO: Processing buffer {"connection_id":207338,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:36:47] local.INFO: IMEI packet received {"connection_id":207338,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":207338,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:36:48] local.INFO: TCP Data received {"connection_id":207338,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207338,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:36:48] local.INFO: Processing buffer {"connection_id":207338,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:36:48] local.INFO: IMEI packet received {"connection_id":207338,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":207338,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:36:56] local.INFO: TCP Data received {"connection_id":204361,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:36:56] local.INFO: Processing buffer {"connection_id":204361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:36:56] local.INFO: IMEI packet received {"connection_id":204361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":204361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:36:59] local.INFO: TCP Data received {"connection_id":205786,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:36:59] local.INFO: Processing buffer {"connection_id":205786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:36:59] local.INFO: IMEI packet received {"connection_id":205786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":205786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:37:00] local.INFO: TCP Data received {"connection_id":204361,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:37:00] local.INFO: Processing buffer {"connection_id":204361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:37:00] local.INFO: IMEI packet received {"connection_id":204361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":204361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:37:01] local.INFO: TCP Data received {"connection_id":204361,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:37:01] local.INFO: Processing buffer {"connection_id":204361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:37:01] local.INFO: Packet analysis {"connection_id":204361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a06"} 
[2026-10-05 08:37:01] local.INFO: Extracted packet for processing {"connection_id":204361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a06"} 
[2026-10-05 08:37:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539329024001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791169555000,"timestamp_ms":1791169555000,"timestamp_seconds":1791169555,"priority":1,"record_length":96,"hex_timestamp":"000001a10a066a38"} 
[2026-10-05 08:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:37: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-10-05 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 08:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:37: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-10-05 08:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539329024001,"66":25952,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539329024001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:37:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:37:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539329024001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":204361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:37:01] local.INFO: GPS data processed {"connection_id":204361,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:37:01] local.INFO: Acknowledgment sent {"connection_id":204361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:37:05] local.INFO: TCP Data received {"connection_id":205786,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:37:05] local.INFO: Processing buffer {"connection_id":205786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:37:05] local.INFO: IMEI packet received {"connection_id":205786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":205786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:37:06] local.INFO: TCP Data received {"connection_id":205786,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a06e350012d7ace0005e40b98000000a626..."} 
[2026-10-05 08:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a06e350012d7ace0005e40b98000000a626..."} 
[2026-10-05 08:37:06] local.INFO: Processing buffer {"connection_id":205786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a06e350012d7ace0005e40b98000000a626..."} 
[2026-10-05 08:37:06] local.INFO: Packet analysis {"connection_id":205786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a06"} 
[2026-10-05 08:37:06] local.INFO: Extracted packet for processing {"connection_id":205786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a06"} 
[2026-10-05 08:37:06] local.INFO: GPS Element Parsed {"raw_longitude":763022848,"raw_latitude":98831256,"longitude_deg":76.3022848,"latitude_deg":9.8831256,"altitude":0,"angle":166,"satellites":38,"speed":23,"hex_longitude":"2d7ace00","hex_latitude":"05e40b98","is_valid_coordinates":true} 
[2026-10-05 08:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539413248001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139357403693973504,"note":"Value kept but may cause issues"} 
[2026-10-05 08:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848517761921484800,"note":"Value kept but may cause issues"} 
[2026-10-05 08:37: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-10-05 08:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791169586000,"timestamp_ms":1791169586000,"timestamp_seconds":1791169586,"priority":1,"record_length":96,"hex_timestamp":"000001a10a06e350"} 
[2026-10-05 08:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:37: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-10-05 08:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-05 08:37:06] 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-10-05 08:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539413248001,"66":13798,"208":206,"85":15104,"24":23,"16":139357403693973504,"45":8848517761921484800},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 08:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539413248001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:37:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 08:37:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139357403693973504,"km_value":139357403693973.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848517761921484800,"description":"Unknown IO ID 45"} 
[2026-10-05 08:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539413248001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8848517761921484800}} 
[2026-10-05 08:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":205786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966239,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:37:06] local.INFO: GPS data processed {"connection_id":205786,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:37:06] local.INFO: Acknowledgment sent {"connection_id":205786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:37:08] local.INFO: TCP Data received {"connection_id":205785,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:37:08] local.INFO: Processing buffer {"connection_id":205785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:37:08] local.INFO: IMEI packet received {"connection_id":205785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 08:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":205785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:37:32] local.INFO: TCP Data received {"connection_id":204361,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:37:32] local.INFO: Processing buffer {"connection_id":204361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:37:32] local.INFO: Packet analysis {"connection_id":204361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a06"} 
[2026-10-05 08:37:32] local.INFO: Extracted packet for processing {"connection_id":204361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a06"} 
[2026-10-05 08:37:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539329024001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791169555000,"timestamp_ms":1791169555000,"timestamp_seconds":1791169555,"priority":1,"record_length":96,"hex_timestamp":"000001a10a066a38"} 
[2026-10-05 08:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:37:32] 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-10-05 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 08:37:32] 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-10-05 08: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-10-05 08:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:37: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-10-05 08:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539329024001,"66":25952,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539329024001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:37:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:37:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539329024001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":204361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:37:32] local.INFO: GPS data processed {"connection_id":204361,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:37:32] local.INFO: Acknowledgment sent {"connection_id":204361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:37:37] local.INFO: TCP Data received {"connection_id":205786,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a070a60012d7ad5c005e3e998000000a622..."} 
[2026-10-05 08:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a070a60012d7ad5c005e3e998000000a622..."} 
[2026-10-05 08:37:37] local.INFO: Processing buffer {"connection_id":205786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a070a60012d7ad5c005e3e998000000a622..."} 
[2026-10-05 08:37:37] local.INFO: Packet analysis {"connection_id":205786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a07"} 
[2026-10-05 08:37:37] local.INFO: Extracted packet for processing {"connection_id":205786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a07"} 
[2026-10-05 08:37:37] local.INFO: GPS Element Parsed {"raw_longitude":763024832,"raw_latitude":98822552,"longitude_deg":76.3024832,"latitude_deg":9.8822552,"altitude":0,"angle":166,"satellites":34,"speed":42,"hex_longitude":"2d7ad5c0","hex_latitude":"05e3e998","is_valid_coordinates":true} 
[2026-10-05 08:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539414016001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139357837485670400,"note":"Value kept but may cause issues"} 
[2026-10-05 08:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849010343130404864,"note":"Value kept but may cause issues"} 
[2026-10-05 08:37: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-10-05 08:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791169596000,"timestamp_ms":1791169596000,"timestamp_seconds":1791169596,"priority":1,"record_length":96,"hex_timestamp":"000001a10a070a60"} 
[2026-10-05 08:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:37: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-10-05 08:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 08:37:37] 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-10-05 08:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539414016001,"66":13798,"208":206,"85":15104,"24":42,"16":139357837485670400,"45":8849010343130404864},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 08:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539414016001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:37:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 08:37:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139357837485670400,"km_value":139357837485670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849010343130404864,"description":"Unknown IO ID 45"} 
[2026-10-05 08:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539414016001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8849010343130404864}} 
[2026-10-05 08:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":205786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:37:37] local.INFO: GPS data processed {"connection_id":205786,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:37:37] local.INFO: Acknowledgment sent {"connection_id":205786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:37:42] local.INFO: TCP Data received {"connection_id":204244,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:37:42] local.INFO: Processing buffer {"connection_id":204244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:37:42] local.INFO: IMEI packet received {"connection_id":204244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 08:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":204244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:37:55] local.INFO: TCP Data received {"connection_id":205787,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:37:55] local.INFO: Processing buffer {"connection_id":205787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:37:55] local.INFO: IMEI packet received {"connection_id":205787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":205787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:37:59] local.INFO: TCP Data received {"connection_id":204362,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204362,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:37:59] local.INFO: Processing buffer {"connection_id":204362,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:37:59] local.INFO: IMEI packet received {"connection_id":204362,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":204362,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:38:00] local.INFO: TCP Data received {"connection_id":205787,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:38:00] local.INFO: Processing buffer {"connection_id":205787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:38:00] local.INFO: IMEI packet received {"connection_id":205787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":205787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:38:01] local.INFO: TCP Data received {"connection_id":205787,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:38:01] local.INFO: Processing buffer {"connection_id":205787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:38:01] local.INFO: Packet analysis {"connection_id":205787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a06"} 
[2026-10-05 08:38:01] local.INFO: Extracted packet for processing {"connection_id":205787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a06"} 
[2026-10-05 08:38:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539329024001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:38: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-10-05 08:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791169555000,"timestamp_ms":1791169555000,"timestamp_seconds":1791169555,"priority":1,"record_length":96,"hex_timestamp":"000001a10a066a38"} 
[2026-10-05 08:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:38: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-10-05 08:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 08:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:38:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:38: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-10-05 08:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539329024001,"66":25952,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539329024001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:38:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:38:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539329024001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":205787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:38:01] local.INFO: GPS data processed {"connection_id":205787,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:38:01] local.INFO: Acknowledgment sent {"connection_id":205787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:38:05] local.INFO: TCP Data received {"connection_id":204362,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204362,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:38:05] local.INFO: Processing buffer {"connection_id":204362,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:38:05] local.INFO: IMEI packet received {"connection_id":204362,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":204362,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:38:06] local.INFO: TCP Data received {"connection_id":204362,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a07fc90012d7b0d8005e355300001003420..."} 
[2026-10-05 08:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a07fc90012d7b0d8005e355300001003420..."} 
[2026-10-05 08:38:06] local.INFO: Processing buffer {"connection_id":204362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a07fc90012d7b0d8005e355300001003420..."} 
[2026-10-05 08:38:06] local.INFO: Packet analysis {"connection_id":204362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a07"} 
[2026-10-05 08:38:06] local.INFO: Extracted packet for processing {"connection_id":204362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a07"} 
[2026-10-05 08:38:06] local.INFO: GPS Element Parsed {"raw_longitude":763039104,"raw_latitude":98784560,"longitude_deg":76.3039104,"latitude_deg":9.878456,"altitude":1,"angle":52,"satellites":32,"speed":4,"hex_longitude":"2d7b0d80","hex_latitude":"05e35530","is_valid_coordinates":true} 
[2026-10-05 08:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539431936001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139359894775005184,"note":"Value kept but may cause issues"} 
[2026-10-05 08:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866602529162809344,"note":"Value kept but may cause issues"} 
[2026-10-05 08:38: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-10-05 08:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791169658000,"timestamp_ms":1791169658000,"timestamp_seconds":1791169658,"priority":1,"record_length":96,"hex_timestamp":"000001a10a07fc90"} 
[2026-10-05 08:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-05 08:38:06] 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-10-05 08:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539431936001,"66":13450,"208":206,"85":15104,"24":4,"16":139359894775005184,"45":8866602529162809344},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 08:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539431936001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:38:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 08:38:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139359894775005184,"km_value":139359894775005.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866602529162809344,"description":"Unknown IO ID 45"} 
[2026-10-05 08:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539431936001,"power":13450,"unknown_208":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8866602529162809344}} 
[2026-10-05 08:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":204362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:38:06] local.INFO: GPS data processed {"connection_id":204362,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:38:06] local.INFO: Acknowledgment sent {"connection_id":204362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:38:33] local.INFO: TCP Data received {"connection_id":205787,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:38:33] local.INFO: Processing buffer {"connection_id":205787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:38:33] local.INFO: Packet analysis {"connection_id":205787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a06"} 
[2026-10-05 08:38:33] local.INFO: Extracted packet for processing {"connection_id":205787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a06"} 
[2026-10-05 08:38:33] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539329024001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:38: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-10-05 08:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791169555000,"timestamp_ms":1791169555000,"timestamp_seconds":1791169555,"priority":1,"record_length":96,"hex_timestamp":"000001a10a066a38"} 
[2026-10-05 08:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:38:33] 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-10-05 08:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 08:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:38: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-10-05 08:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539329024001,"66":25952,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539329024001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:38:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:38:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539329024001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":205787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:38:33] local.INFO: GPS data processed {"connection_id":205787,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:38:33] local.INFO: Acknowledgment sent {"connection_id":205787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:38:37] local.INFO: TCP Data received {"connection_id":204362,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a081bd0012d7b0e4005e356780001002620..."} 
[2026-10-05 08:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a081bd0012d7b0e4005e356780001002620..."} 
[2026-10-05 08:38:37] local.INFO: Processing buffer {"connection_id":204362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a081bd0012d7b0e4005e356780001002620..."} 
[2026-10-05 08:38:37] local.INFO: Packet analysis {"connection_id":204362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a08"} 
[2026-10-05 08:38:37] local.INFO: Extracted packet for processing {"connection_id":204362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a08"} 
[2026-10-05 08:38:37] local.INFO: GPS Element Parsed {"raw_longitude":763039296,"raw_latitude":98784888,"longitude_deg":76.3039296,"latitude_deg":9.8784888,"altitude":1,"angle":38,"satellites":32,"speed":3,"hex_longitude":"2d7b0e40","hex_latitude":"05e35678","is_valid_coordinates":true} 
[2026-10-05 08:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539432448001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139359916249841664,"note":"Value kept but may cause issues"} 
[2026-10-05 08:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866884004139577344,"note":"Value kept but may cause issues"} 
[2026-10-05 08:38: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-10-05 08:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791169666000,"timestamp_ms":1791169666000,"timestamp_seconds":1791169666,"priority":1,"record_length":96,"hex_timestamp":"000001a10a081bd0"} 
[2026-10-05 08:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:38: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-10-05 08:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 08:38:37] 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-10-05 08:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539432448001,"66":13472,"208":206,"85":15104,"24":3,"16":139359916249841664,"45":8866884004139577344},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 08:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539432448001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:38:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 08:38:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139359916249841664,"km_value":139359916249841.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866884004139577344,"description":"Unknown IO ID 45"} 
[2026-10-05 08:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539432448001,"power":13472,"unknown_208":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8866884004139577344}} 
[2026-10-05 08:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":204362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966245,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:38:37] local.INFO: GPS data processed {"connection_id":204362,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:38:37] local.INFO: Acknowledgment sent {"connection_id":204362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:39:00] local.INFO: TCP Data received {"connection_id":205790,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:39:00] local.INFO: Processing buffer {"connection_id":205790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:39:00] local.INFO: IMEI packet received {"connection_id":205790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":205790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:39:00] local.INFO: TCP Data received {"connection_id":205790,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:39:00] local.INFO: Processing buffer {"connection_id":205790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:39:00] local.INFO: IMEI packet received {"connection_id":205790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":205790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:39:00] local.INFO: TCP Data received {"connection_id":204245,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:39:00] local.INFO: Processing buffer {"connection_id":204245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:39:00] local.INFO: IMEI packet received {"connection_id":204245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":204245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:39:05] local.INFO: TCP Data received {"connection_id":205790,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:39:05] local.INFO: Processing buffer {"connection_id":205790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:39:05] local.INFO: IMEI packet received {"connection_id":205790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":205790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:39:05] local.INFO: TCP Data received {"connection_id":204245,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:39:05] local.INFO: Processing buffer {"connection_id":204245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:39:05] local.INFO: IMEI packet received {"connection_id":204245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":204245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:39:06] local.INFO: TCP Data received {"connection_id":205790,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a083ef8012d7b0f8005e359a00001001821..."} 
[2026-10-05 08:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a083ef8012d7b0f8005e359a00001001821..."} 
[2026-10-05 08:39:06] local.INFO: Processing buffer {"connection_id":205790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a083ef8012d7b0f8005e359a00001001821..."} 
[2026-10-05 08:39:06] local.INFO: Packet analysis {"connection_id":205790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a08"} 
[2026-10-05 08:39:06] local.INFO: Extracted packet for processing {"connection_id":205790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a08"} 
[2026-10-05 08:39:06] local.INFO: GPS Element Parsed {"raw_longitude":763039616,"raw_latitude":98785696,"longitude_deg":76.3039616,"latitude_deg":9.8785696,"altitude":1,"angle":24,"satellites":33,"speed":5,"hex_longitude":"2d7b0f80","hex_latitude":"05e359a0","is_valid_coordinates":true} 
[2026-10-05 08:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539434496001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139359959199514624,"note":"Value kept but may cause issues"} 
[2026-10-05 08:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867095110372194304,"note":"Value kept but may cause issues"} 
[2026-10-05 08:39: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-10-05 08:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791169675000,"timestamp_ms":1791169675000,"timestamp_seconds":1791169675,"priority":1,"record_length":96,"hex_timestamp":"000001a10a083ef8"} 
[2026-10-05 08:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-10-05 08:39: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-10-05 08:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539434496001,"66":13406,"208":206,"85":15104,"24":5,"16":139359959199514624,"45":8867095110372194304},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 08:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539434496001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:39:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 08:39:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139359959199514624,"km_value":139359959199514.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867095110372194304,"description":"Unknown IO ID 45"} 
[2026-10-05 08:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539434496001,"power":13406,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8867095110372194304}} 
[2026-10-05 08:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":205790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966246,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:39:06] local.INFO: GPS data processed {"connection_id":205790,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:39:06] local.INFO: Acknowledgment sent {"connection_id":205790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:39:07] local.INFO: TCP Data received {"connection_id":204245,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:39:07] local.INFO: Processing buffer {"connection_id":204245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:39:07] local.INFO: Packet analysis {"connection_id":204245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a06"} 
[2026-10-05 08:39:07] local.INFO: Extracted packet for processing {"connection_id":204245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a06"} 
[2026-10-05 08:39:07] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539329024001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:39: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-10-05 08:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791169555000,"timestamp_ms":1791169555000,"timestamp_seconds":1791169555,"priority":1,"record_length":96,"hex_timestamp":"000001a10a066a38"} 
[2026-10-05 08:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:39:07] 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-10-05 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 08:39:07] 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-10-05 08: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-10-05 08:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539329024001,"66":25952,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539329024001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:39:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:39:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539329024001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":204245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:39:07] local.INFO: GPS data processed {"connection_id":204245,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:39:07] local.INFO: Acknowledgment sent {"connection_id":204245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:39:11] local.INFO: TCP Data received {"connection_id":204245,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:39:11] local.INFO: Processing buffer {"connection_id":204245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:39:11] local.INFO: Packet analysis {"connection_id":204245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a06"} 
[2026-10-05 08:39:11] local.INFO: Extracted packet for processing {"connection_id":204245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a06"} 
[2026-10-05 08:39:11] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539329024001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791169555000,"timestamp_ms":1791169555000,"timestamp_seconds":1791169555,"priority":1,"record_length":96,"hex_timestamp":"000001a10a066a38"} 
[2026-10-05 08:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:39:11] 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-10-05 08:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 08:39:11] 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-10-05 08:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539329024001,"66":25952,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539329024001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:39:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:39:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539329024001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":204245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:39:11] local.INFO: GPS data processed {"connection_id":204245,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:39:11] local.INFO: Acknowledgment sent {"connection_id":204245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:39:37] local.INFO: TCP Data received {"connection_id":205790,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0869f0012d7b13c005e360100003002422..."} 
[2026-10-05 08:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0869f0012d7b13c005e360100003002422..."} 
[2026-10-05 08:39:37] local.INFO: Processing buffer {"connection_id":205790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0869f0012d7b13c005e360100003002422..."} 
[2026-10-05 08:39:37] local.INFO: Packet analysis {"connection_id":205790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a08"} 
[2026-10-05 08:39:37] local.INFO: Extracted packet for processing {"connection_id":205790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a08"} 
[2026-10-05 08:39:37] local.INFO: GPS Element Parsed {"raw_longitude":763040704,"raw_latitude":98787344,"longitude_deg":76.3040704,"latitude_deg":9.8787344,"altitude":3,"angle":36,"satellites":34,"speed":6,"hex_longitude":"2d7b13c0","hex_latitude":"05e36010","is_valid_coordinates":true} 
[2026-10-05 08:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539436800001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139360057983762432,"note":"Value kept but may cause issues"} 
[2026-10-05 08:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867446954093289472,"note":"Value kept but may cause issues"} 
[2026-10-05 08:39: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-10-05 08:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791169686000,"timestamp_ms":1791169686000,"timestamp_seconds":1791169686,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0869f0"} 
[2026-10-05 08:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:39: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-10-05 08:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-10-05 08:39: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-10-05 08:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539436800001,"66":13493,"208":206,"85":15104,"24":6,"16":139360057983762432,"45":8867446954093289472},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 08:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539436800001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:39:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 08:39:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139360057983762432,"km_value":139360057983762.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867446954093289472,"description":"Unknown IO ID 45"} 
[2026-10-05 08:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539436800001,"power":13493,"unknown_208":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8867446954093289472}} 
[2026-10-05 08:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":205790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:39:37] local.INFO: GPS data processed {"connection_id":205790,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:39:37] local.INFO: Acknowledgment sent {"connection_id":205790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:39:55] local.INFO: TCP Data received {"connection_id":204364,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:39:55] local.INFO: Processing buffer {"connection_id":204364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:39:55] local.INFO: IMEI packet received {"connection_id":204364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":204364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:39:58] local.INFO: TCP Data received {"connection_id":204246,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:39:58] local.INFO: Processing buffer {"connection_id":204246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:39:58] local.INFO: IMEI packet received {"connection_id":204246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":204246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:39:59] local.INFO: TCP Data received {"connection_id":204246,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:39:59] local.INFO: Processing buffer {"connection_id":204246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:39:59] local.INFO: IMEI packet received {"connection_id":204246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":204246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:40:00] local.INFO: TCP Data received {"connection_id":204364,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:40:00] local.INFO: Processing buffer {"connection_id":204364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:40:00] local.INFO: IMEI packet received {"connection_id":204364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":204364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:40:01] local.INFO: TCP Data received {"connection_id":204364,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:40:01] local.INFO: Processing buffer {"connection_id":204364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:40:01] local.INFO: Packet analysis {"connection_id":204364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a06"} 
[2026-10-05 08:40:01] local.INFO: Extracted packet for processing {"connection_id":204364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a06"} 
[2026-10-05 08:40:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539329024001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791169555000,"timestamp_ms":1791169555000,"timestamp_seconds":1791169555,"priority":1,"record_length":96,"hex_timestamp":"000001a10a066a38"} 
[2026-10-05 08:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08: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-10-05 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 08:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:40: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-10-05 08:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539329024001,"66":25952,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539329024001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:40:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:40:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539329024001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":204364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:40:01] local.INFO: GPS data processed {"connection_id":204364,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:40:01] local.INFO: Acknowledgment sent {"connection_id":204364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:40:05] local.INFO: TCP Data received {"connection_id":204246,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:40:05] local.INFO: Processing buffer {"connection_id":204246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:40:05] local.INFO: IMEI packet received {"connection_id":204246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":204246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:40:06] local.INFO: TCP Data received {"connection_id":204246,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a08b810012d7b1cc005e36cb00005002324..."} 
[2026-10-05 08:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a08b810012d7b1cc005e36cb00005002324..."} 
[2026-10-05 08:40:06] local.INFO: Processing buffer {"connection_id":204246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a08b810012d7b1cc005e36cb00005002324..."} 
[2026-10-05 08:40:06] local.INFO: Packet analysis {"connection_id":204246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a08"} 
[2026-10-05 08:40:06] local.INFO: Extracted packet for processing {"connection_id":204246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a08"} 
[2026-10-05 08:40:06] local.INFO: GPS Element Parsed {"raw_longitude":763043008,"raw_latitude":98790576,"longitude_deg":76.3043008,"latitude_deg":9.8790576,"altitude":5,"angle":35,"satellites":36,"speed":8,"hex_longitude":"2d7b1cc0","hex_latitude":"05e36cb0","is_valid_coordinates":true} 
[2026-10-05 08:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539439616001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139360251257290752,"note":"Value kept but may cause issues"} 
[2026-10-05 08:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868643222744731648,"note":"Value kept but may cause issues"} 
[2026-10-05 08:40: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-10-05 08:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791169706000,"timestamp_ms":1791169706000,"timestamp_seconds":1791169706,"priority":1,"record_length":96,"hex_timestamp":"000001a10a08b810"} 
[2026-10-05 08:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-10-05 08:40:06] 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-10-05 08:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539439616001,"66":13580,"208":206,"85":15104,"24":8,"16":139360251257290752,"45":8868643222744731648},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 08:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539439616001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:40:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 08:40:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139360251257290752,"km_value":139360251257290.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868643222744731648,"description":"Unknown IO ID 45"} 
[2026-10-05 08:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539439616001,"power":13580,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8868643222744731648}} 
[2026-10-05 08:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":204246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966251,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:40:06] local.INFO: GPS data processed {"connection_id":204246,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:40:06] local.INFO: Acknowledgment sent {"connection_id":204246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:40:32] local.INFO: TCP Data received {"connection_id":204364,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:40:32] local.INFO: Processing buffer {"connection_id":204364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a066a38012d7f908005afe5380000000027..."} 
[2026-10-05 08:40:32] local.INFO: Packet analysis {"connection_id":204364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a06"} 
[2026-10-05 08:40:32] local.INFO: Extracted packet for processing {"connection_id":204364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a06"} 
[2026-10-05 08:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539329024001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:40: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-10-05 08:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791169555000,"timestamp_ms":1791169555000,"timestamp_seconds":1791169555,"priority":1,"record_length":96,"hex_timestamp":"000001a10a066a38"} 
[2026-10-05 08:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:40:32] 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-10-05 08:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 08:40:32] 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-10-05 08:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:40: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-10-05 08:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539329024001,"66":25952,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539329024001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:40:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:40:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539329024001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":204364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:40:32] local.INFO: GPS data processed {"connection_id":204364,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:40:32] local.INFO: Acknowledgment sent {"connection_id":204364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:40:37] local.INFO: TCP Data received {"connection_id":204246,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0a5238012d7c044005e4c310000c002127..."} 
[2026-10-05 08:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0a5238012d7c044005e4c310000c002127..."} 
[2026-10-05 08:40:37] local.INFO: Processing buffer {"connection_id":204246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0a5238012d7c044005e4c310000c002127..."} 
[2026-10-05 08:40:37] local.INFO: Packet analysis {"connection_id":204246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:40:37] local.INFO: Extracted packet for processing {"connection_id":204246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:40:37] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98878224,"longitude_deg":76.3102272,"latitude_deg":9.8878224,"altitude":12,"angle":33,"satellites":39,"speed":51,"hex_longitude":"2d7c0440","hex_latitude":"05e4c310","is_valid_coordinates":true} 
[2026-10-05 08:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539469824001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139365366563340288,"note":"Value kept but may cause issues"} 
[2026-10-05 08:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930426980153890816,"note":"Value kept but may cause issues"} 
[2026-10-05 08:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791169811000,"timestamp_ms":1791169811000,"timestamp_seconds":1791169811,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0a5238"} 
[2026-10-05 08:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:40: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-10-05 08:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 08:40:37] 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-10-05 08:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539469824001,"66":13602,"43":206,"85":15104,"24":51,"16":139365366563340288,"45":8930426980153890816},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-10-05 08:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539469824001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:40:37] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-05 08:40:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139365366563340288,"km_value":139365366563340.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930426980153890816,"description":"Unknown IO ID 45"} 
[2026-10-05 08:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539469824001,"power":13602,"unknown_43":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8930426980153890816}} 
[2026-10-05 08:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":204246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:40:37] local.INFO: GPS data processed {"connection_id":204246,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:40:37] local.INFO: Acknowledgment sent {"connection_id":204246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:40:55] local.INFO: TCP Data received {"connection_id":207341,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:40:55] local.INFO: Processing buffer {"connection_id":207341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:40:55] local.INFO: IMEI packet received {"connection_id":207341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":207341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:40:59] local.INFO: TCP Data received {"connection_id":207341,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:40:59] local.INFO: Processing buffer {"connection_id":207341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:40:59] local.INFO: IMEI packet received {"connection_id":207341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":207341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:40:59] local.INFO: TCP Data received {"connection_id":205792,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:40:59] local.INFO: Processing buffer {"connection_id":205792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:40:59] local.INFO: IMEI packet received {"connection_id":205792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":205792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:41:00] local.INFO: TCP Data received {"connection_id":207341,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:41:00] local.INFO: Processing buffer {"connection_id":207341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:41:00] local.INFO: Packet analysis {"connection_id":207341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:41:00] local.INFO: Extracted packet for processing {"connection_id":207341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:41:00] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539406080001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:41: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-10-05 08:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791169855000,"timestamp_ms":1791169855000,"timestamp_seconds":1791169855,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0afe18"} 
[2026-10-05 08:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:41: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-10-05 08: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":96,"data_length":795,"current_offset":136} 
[2026-10-05 08:41: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-10-05 08: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-10-05 08:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:41: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-10-05 08:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539406080001,"66":25875,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539406080001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:41:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:41:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539406080001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":207341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:41:00] local.INFO: GPS data processed {"connection_id":207341,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:41:00] local.INFO: Acknowledgment sent {"connection_id":207341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:41:02] local.INFO: TCP Data received {"connection_id":205792,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:41:02] local.INFO: Processing buffer {"connection_id":205792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:41:02] local.INFO: IMEI packet received {"connection_id":205792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":205792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:41:05] local.INFO: TCP Data received {"connection_id":205792,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:41:05] local.INFO: Processing buffer {"connection_id":205792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:41:05] local.INFO: IMEI packet received {"connection_id":205792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":205792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:41:06] local.INFO: TCP Data received {"connection_id":205792,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0a7948012d7c184005e4e0b80008002225..."} 
[2026-10-05 08:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0a7948012d7c184005e4e0b80008002225..."} 
[2026-10-05 08:41:06] local.INFO: Processing buffer {"connection_id":205792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0a7948012d7c184005e4e0b80008002225..."} 
[2026-10-05 08:41:06] local.INFO: Packet analysis {"connection_id":205792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:41:06] local.INFO: Extracted packet for processing {"connection_id":205792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:41:06] local.INFO: GPS Element Parsed {"raw_longitude":763107392,"raw_latitude":98885816,"longitude_deg":76.3107392,"latitude_deg":9.8885816,"altitude":8,"angle":34,"satellites":37,"speed":18,"hex_longitude":"2d7c1840","hex_latitude":"05e4e0b8","is_valid_coordinates":true} 
[2026-10-05 08:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539471616001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139365808944971776,"note":"Value kept but may cause issues"} 
[2026-10-05 08:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936337954666909696,"note":"Value kept but may cause issues"} 
[2026-10-05 08:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791169821000,"timestamp_ms":1791169821000,"timestamp_seconds":1791169821,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0a7948"} 
[2026-10-05 08:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-10-05 08:41:06] 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-10-05 08:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539471616001,"66":13798,"43":206,"85":15104,"24":18,"16":139365808944971776,"45":8936337954666909696},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-10-05 08:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539471616001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:41:06] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-05 08:41:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 08:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139365808944971776,"km_value":139365808944971.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936337954666909696,"description":"Unknown IO ID 45"} 
[2026-10-05 08:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539471616001,"power":13798,"unknown_43":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8936337954666909696}} 
[2026-10-05 08:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":205792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:41:06] local.INFO: GPS data processed {"connection_id":205792,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:41:06] local.INFO: Acknowledgment sent {"connection_id":205792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:41:31] local.INFO: TCP Data received {"connection_id":207341,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:41:31] local.INFO: Processing buffer {"connection_id":207341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:41:31] local.INFO: Packet analysis {"connection_id":207341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:41:31] local.INFO: Extracted packet for processing {"connection_id":207341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:41:31] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539406080001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:41: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-10-05 08:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791169855000,"timestamp_ms":1791169855000,"timestamp_seconds":1791169855,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0afe18"} 
[2026-10-05 08:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:41: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-10-05 08: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 08:41:31] 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-10-05 08: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-10-05 08:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:41: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-10-05 08:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539406080001,"66":25875,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539406080001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:41:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:41:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539406080001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":207341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:41:31] local.INFO: GPS data processed {"connection_id":207341,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:41:31] local.INFO: Acknowledgment sent {"connection_id":207341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:41:37] local.INFO: TCP Data received {"connection_id":205792,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0aa440012d7c2c4005e4ff800007001e23..."} 
[2026-10-05 08:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0aa440012d7c2c4005e4ff800007001e23..."} 
[2026-10-05 08:41:37] local.INFO: Processing buffer {"connection_id":205792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0aa440012d7c2c4005e4ff800007001e23..."} 
[2026-10-05 08:41:37] local.INFO: Packet analysis {"connection_id":205792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:41:37] local.INFO: Extracted packet for processing {"connection_id":205792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:41:37] local.INFO: GPS Element Parsed {"raw_longitude":763112512,"raw_latitude":98893696,"longitude_deg":76.3112512,"latitude_deg":9.8893696,"altitude":7,"angle":30,"satellites":35,"speed":43,"hex_longitude":"2d7c2c40","hex_latitude":"05e4ff80","is_valid_coordinates":true} 
[2026-10-05 08:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539474176001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139366264211505152,"note":"Value kept but may cause issues"} 
[2026-10-05 08:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941967454203066368,"note":"Value kept but may cause issues"} 
[2026-10-05 08:41: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-10-05 08:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791169832000,"timestamp_ms":1791169832000,"timestamp_seconds":1791169832,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0aa440"} 
[2026-10-05 08:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:41: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-10-05 08:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 08:41:37] 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-10-05 08:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539474176001,"66":13678,"39":206,"87":13824,"24":43,"16":139366264211505152,"45":8941967454203066368},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-10-05 08:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539474176001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:41:37] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-10-05 08:41:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139366264211505152,"km_value":139366264211505.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941967454203066368,"description":"Unknown IO ID 45"} 
[2026-10-05 08:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539474176001,"power":13678,"unknown_39":206,"unknown_87":13824,"ignition":43,"odometer":null,"unknown_45":8941967454203066368}} 
[2026-10-05 08:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":205792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:41:37] local.INFO: GPS data processed {"connection_id":205792,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:41:37] local.INFO: Acknowledgment sent {"connection_id":205792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:41:50] local.INFO: TCP Data received {"connection_id":207342,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207342,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:41:50] local.INFO: Processing buffer {"connection_id":207342,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:41:50] local.INFO: IMEI packet received {"connection_id":207342,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 08:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":207342,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:41:51] local.INFO: TCP Data received {"connection_id":207342,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0b86d0012d0e3000070669d80021012220..."} 
[2026-10-05 08:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0b86d0012d0e3000070669d80021012220..."} 
[2026-10-05 08:41:51] local.INFO: Processing buffer {"connection_id":207342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0b86d0012d0e3000070669d80021012220..."} 
[2026-10-05 08:41:51] local.INFO: Packet analysis {"connection_id":207342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0b"} 
[2026-10-05 08:41:51] local.INFO: Extracted packet for processing {"connection_id":207342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0b"} 
[2026-10-05 08:41:51] local.INFO: GPS Element Parsed {"raw_longitude":755904512,"raw_latitude":117860824,"longitude_deg":75.5904512,"latitude_deg":11.7860824,"altitude":33,"angle":290,"satellites":32,"speed":5,"hex_longitude":"2d0e3000","hex_latitude":"070669d8","is_valid_coordinates":true} 
[2026-10-05 08:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539489536001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34711672283201536,"note":"Value kept but may cause issues"} 
[2026-10-05 08:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023161570515376128,"note":"Value kept but may cause issues"} 
[2026-10-05 08:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791169890000,"timestamp_ms":1791169890000,"timestamp_seconds":1791169890,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0b86d0"} 
[2026-10-05 08:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-05 08:41:51] 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-10-05 08:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":207342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":207342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":207342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539489536001,"66":13830,"219":206,"94":10240,"24":5,"16":34711672283201536,"45":1023161570515376128},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-05 08:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539489536001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:41:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-05 08:41:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 08:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34711672283201536,"km_value":34711672283201.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023161570515376128,"description":"Unknown IO ID 45"} 
[2026-10-05 08:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539489536001,"power":13830,"unknown_219":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":1023161570515376128}} 
[2026-10-05 08:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":207342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966258,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:41:51] local.INFO: GPS data processed {"connection_id":207342,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:41:51] local.INFO: Acknowledgment sent {"connection_id":207342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:41:55] local.INFO: TCP Data received {"connection_id":207343,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:41:55] local.INFO: Processing buffer {"connection_id":207343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:41:55] local.INFO: IMEI packet received {"connection_id":207343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":207343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:41:59] local.INFO: TCP Data received {"connection_id":204366,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:41:59] local.INFO: Processing buffer {"connection_id":204366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:41:59] local.INFO: IMEI packet received {"connection_id":204366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":204366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:42:00] local.INFO: TCP Data received {"connection_id":207343,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:42:00] local.INFO: Processing buffer {"connection_id":207343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:42:00] local.INFO: IMEI packet received {"connection_id":207343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":207343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:42:01] local.INFO: TCP Data received {"connection_id":207343,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:42:01] local.INFO: Processing buffer {"connection_id":207343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:42:01] local.INFO: Packet analysis {"connection_id":207343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:42:01] local.INFO: Extracted packet for processing {"connection_id":207343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:42:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539406080001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:42: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-10-05 08:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791169855000,"timestamp_ms":1791169855000,"timestamp_seconds":1791169855,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0afe18"} 
[2026-10-05 08:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:42: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-10-05 08: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 08:42:01] 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-10-05 08: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-10-05 08:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08: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-10-05 08:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539406080001,"66":25875,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539406080001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:42:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:42:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539406080001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":207343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:42:01] local.INFO: GPS data processed {"connection_id":207343,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:42:01] local.INFO: Acknowledgment sent {"connection_id":207343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:42:04] local.INFO: TCP Data received {"connection_id":204366,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:42:04] local.INFO: Processing buffer {"connection_id":204366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:42:04] local.INFO: IMEI packet received {"connection_id":204366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":204366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:42:05] local.INFO: TCP Data received {"connection_id":204366,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:42:05] local.INFO: Processing buffer {"connection_id":204366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:42:05] local.INFO: IMEI packet received {"connection_id":204366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":204366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:42:06] local.INFO: TCP Data received {"connection_id":204366,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0acb50012d7c3ec005e51e800007001a24..."} 
[2026-10-05 08:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0acb50012d7c3ec005e51e800007001a24..."} 
[2026-10-05 08:42:06] local.INFO: Processing buffer {"connection_id":204366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0acb50012d7c3ec005e51e800007001a24..."} 
[2026-10-05 08:42:06] local.INFO: Packet analysis {"connection_id":204366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:42:06] local.INFO: Extracted packet for processing {"connection_id":204366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:42:06] local.INFO: GPS Element Parsed {"raw_longitude":763117248,"raw_latitude":98901632,"longitude_deg":76.3117248,"latitude_deg":9.8901632,"altitude":7,"angle":26,"satellites":36,"speed":26,"hex_longitude":"2d7c3ec0","hex_latitude":"05e51e80","is_valid_coordinates":true} 
[2026-10-05 08:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539476992001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139366710888103936,"note":"Value kept but may cause issues"} 
[2026-10-05 08:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947596953739296768,"note":"Value kept but may cause issues"} 
[2026-10-05 08:42: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-10-05 08:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791169842000,"timestamp_ms":1791169842000,"timestamp_seconds":1791169842,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0acb50"} 
[2026-10-05 08:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 08:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539476992001,"66":13993,"39":206,"87":13824,"24":26,"16":139366710888103936,"45":8947596953739296768},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-10-05 08:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539476992001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:42:06] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-10-05 08:42:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139366710888103936,"km_value":139366710888103.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947596953739296768,"description":"Unknown IO ID 45"} 
[2026-10-05 08:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539476992001,"power":13993,"unknown_39":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8947596953739296768}} 
[2026-10-05 08:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":204366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:42:06] local.INFO: GPS data processed {"connection_id":204366,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:42:06] local.INFO: Acknowledgment sent {"connection_id":204366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:42:23] local.INFO: TCP Data received {"connection_id":207342,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0b9670012d0e2d4007066ac80021013420..."} 
[2026-10-05 08:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0b9670012d0e2d4007066ac80021013420..."} 
[2026-10-05 08:42:23] local.INFO: Processing buffer {"connection_id":207342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0b9670012d0e2d4007066ac80021013420..."} 
[2026-10-05 08:42:23] local.INFO: Packet analysis {"connection_id":207342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0b"} 
[2026-10-05 08:42:23] local.INFO: Extracted packet for processing {"connection_id":207342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0b"} 
[2026-10-05 08:42:23] local.INFO: GPS Element Parsed {"raw_longitude":755903808,"raw_latitude":117861064,"longitude_deg":75.5903808,"latitude_deg":11.7861064,"altitude":33,"angle":308,"satellites":32,"speed":9,"hex_longitude":"2d0e2d40","hex_latitude":"07066ac8","is_valid_coordinates":true} 
[2026-10-05 08:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539491840001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34711710937907200,"note":"Value kept but may cause issues"} 
[2026-10-05 08:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022317145585473536,"note":"Value kept but may cause issues"} 
[2026-10-05 08:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1791169894000,"timestamp_ms":1791169894000,"timestamp_seconds":1791169894,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0b9670"} 
[2026-10-05 08:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:42:23] 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-10-05 08:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 08:42:23] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3940658279677952,"note":"Value kept but may cause issues"} 
[2026-10-05 08:42:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652632844912384,"note":"Value kept but may cause issues"} 
[2026-10-05 08:42:23] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3657433088,"note":"Value kept but may cause issues"} 
[2026-10-05 08:42:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705312462,"corrected_to":0} 
[2026-10-05 08:42:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3892391182,"note":"Value kept but may cause issues"} 
[2026-10-05 08:42:23] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2147944016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:42:23] local.WARNING: Large IO value detected {"io_id":226,"raw_value":-4611355004396108026,"note":"Value kept but may cause issues"} 
[2026-10-05 08:42:23] local.WARNING: Large IO value detected {"io_id":68,"raw_value":6917565317348589580,"note":"Value kept but may cause issues"} 
[2026-10-05 08:42:23] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,219,94,24,241,157,16,82,161,99,45,102,33,32,10,66,165,72,128,96,81,25,64,1,240,103,227,6,4,113,205,13,5,49,160,239,56,2,123,7,34,14,226,68],"length":528,"final_offset":658,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1705312462,"validated":0}]} 
[2026-10-05 08:42:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2378219599062958080,"timestamp_seconds":2378219599062958.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 08:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":207342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":207342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":207342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539491840001,"66":14537,"219":206,"94":10240,"24":9,"16":34711710937907200,"45":1022317145585473536},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-05 08:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539491840001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:42:23] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-05 08:42:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 08:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34711710937907200,"km_value":34711710937907.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022317145585473536,"description":"Unknown IO ID 45"} 
[2026-10-05 08:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539491840001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1022317145585473536}} 
[2026-10-05 08:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":207342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966261,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:42:23] local.INFO: GPS data processed {"connection_id":207342,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:42:23] local.INFO: Acknowledgment sent {"connection_id":207342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:42:32] local.INFO: TCP Data received {"connection_id":207343,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:42:32] local.INFO: Processing buffer {"connection_id":207343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:42:32] local.INFO: Packet analysis {"connection_id":207343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:42:32] local.INFO: Extracted packet for processing {"connection_id":207343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:42: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-10-05 08:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539406080001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:42: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-10-05 08:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791169855000,"timestamp_ms":1791169855000,"timestamp_seconds":1791169855,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0afe18"} 
[2026-10-05 08:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:42:32] 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-10-05 08:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 08:42:32] 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-10-05 08:42: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-10-05 08:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:42: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-10-05 08:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539406080001,"66":25875,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539406080001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:42:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:42:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539406080001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":207343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:42:32] local.INFO: GPS data processed {"connection_id":207343,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:42:32] local.INFO: Acknowledgment sent {"connection_id":207343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:42:37] local.INFO: TCP Data received {"connection_id":204366,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0c0ba0012d7bdf0005e5efc00001014520..."} 
[2026-10-05 08:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0c0ba0012d7bdf0005e5efc00001014520..."} 
[2026-10-05 08:42:37] local.INFO: Processing buffer {"connection_id":204366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0c0ba0012d7bdf0005e5efc00001014520..."} 
[2026-10-05 08:42:37] local.INFO: Packet analysis {"connection_id":204366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0c"} 
[2026-10-05 08:42:37] local.INFO: Extracted packet for processing {"connection_id":204366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0c"} 
[2026-10-05 08:42:37] local.INFO: GPS Element Parsed {"raw_longitude":763092736,"raw_latitude":98955200,"longitude_deg":76.3092736,"latitude_deg":9.89552,"altitude":1,"angle":325,"satellites":32,"speed":36,"hex_longitude":"2d7bdf00","hex_latitude":"05e5efc0","is_valid_coordinates":true} 
[2026-10-05 08:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539500032001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139369648645734400,"note":"Value kept but may cause issues"} 
[2026-10-05 08:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927190017943150592,"note":"Value kept but may cause issues"} 
[2026-10-05 08:42: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-10-05 08:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791169924000,"timestamp_ms":1791169924000,"timestamp_seconds":1791169924,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0c0ba0"} 
[2026-10-05 08:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:42: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-10-05 08:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-10-05 08:42:37] 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-10-05 08:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539500032001,"66":13928,"39":206,"87":13824,"24":36,"16":139369648645734400,"45":8927190017943150592},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-10-05 08:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539500032001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:42:37] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-10-05 08:42:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139369648645734400,"km_value":139369648645734.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927190017943150592,"description":"Unknown IO ID 45"} 
[2026-10-05 08:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539500032001,"power":13928,"unknown_39":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8927190017943150592}} 
[2026-10-05 08:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":204366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:42:37] local.INFO: GPS data processed {"connection_id":204366,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:42:37] local.INFO: Acknowledgment sent {"connection_id":204366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:42:45] local.INFO: TCP Data received {"connection_id":204249,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204249,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:42:45] local.INFO: Processing buffer {"connection_id":204249,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:42:45] local.INFO: IMEI packet received {"connection_id":204249,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 08:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":204249,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:42:50] local.INFO: TCP Data received {"connection_id":204249,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204249,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:42:50] local.INFO: Processing buffer {"connection_id":204249,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:42:50] local.INFO: IMEI packet received {"connection_id":204249,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":204249,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:42:51] local.INFO: TCP Data received {"connection_id":204249,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0b9a58012d0e2c8007066b900021014b20..."} 
[2026-10-05 08:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0b9a58012d0e2c8007066b900021014b20..."} 
[2026-10-05 08:42:51] local.INFO: Processing buffer {"connection_id":204249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0b9a58012d0e2c8007066b900021014b20..."} 
[2026-10-05 08:42:51] local.INFO: Packet analysis {"connection_id":204249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0b"} 
[2026-10-05 08:42:51] local.INFO: Extracted packet for processing {"connection_id":204249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0b"} 
[2026-10-05 08:42:51] local.INFO: GPS Element Parsed {"raw_longitude":755903616,"raw_latitude":117861264,"longitude_deg":75.5903616,"latitude_deg":11.7861264,"altitude":33,"angle":331,"satellites":32,"speed":9,"hex_longitude":"2d0e2c80","hex_latitude":"07066b90","is_valid_coordinates":true} 
[2026-10-05 08:42: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-10-05 08:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539492864001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34711719527841792,"note":"Value kept but may cause issues"} 
[2026-10-05 08:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1021543089399580672,"note":"Value kept but may cause issues"} 
[2026-10-05 08:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791169895000,"timestamp_ms":1791169895000,"timestamp_seconds":1791169895,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0b9a58"} 
[2026-10-05 08:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:42: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":201,"data_length":795,"current_offset":136} 
[2026-10-05 08:42:51] 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-10-05 08:42: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-10-05 08:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":204249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":204249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":204249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539492864001,"66":14428,"219":206,"94":10240,"24":9,"16":34711719527841792,"45":1021543089399580672},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-05 08:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539492864001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:42:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-05 08:42:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 08:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34711719527841792,"km_value":34711719527841.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1021543089399580672,"description":"Unknown IO ID 45"} 
[2026-10-05 08:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539492864001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1021543089399580672}} 
[2026-10-05 08:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":204249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966264,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:42:51] local.INFO: GPS data processed {"connection_id":204249,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:42:51] local.INFO: Acknowledgment sent {"connection_id":204249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:42:55] local.INFO: TCP Data received {"connection_id":207344,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:42:55] local.INFO: Processing buffer {"connection_id":207344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:42:55] local.INFO: IMEI packet received {"connection_id":207344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":207344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:43:00] local.INFO: TCP Data received {"connection_id":207344,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:43:00] local.INFO: Processing buffer {"connection_id":207344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:43:00] local.INFO: IMEI packet received {"connection_id":207344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":207344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:43:01] local.INFO: TCP Data received {"connection_id":207344,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:43:01] local.INFO: Processing buffer {"connection_id":207344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:43:01] local.INFO: Packet analysis {"connection_id":207344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:43:01] local.INFO: Extracted packet for processing {"connection_id":207344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:43:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539406080001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791169855000,"timestamp_ms":1791169855000,"timestamp_seconds":1791169855,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0afe18"} 
[2026-10-05 08:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:43: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-10-05 08: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 08:43:01] 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-10-05 08: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-10-05 08:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539406080001,"66":25875,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 08:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539406080001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:43:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:43:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539406080001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":207344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:43:01] local.INFO: GPS data processed {"connection_id":207344,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:43:01] local.INFO: Acknowledgment sent {"connection_id":207344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:43:05] local.INFO: TCP Data received {"connection_id":204367,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204367,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:43:05] local.INFO: Processing buffer {"connection_id":204367,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:43:05] local.INFO: IMEI packet received {"connection_id":204367,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":204367,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:43:08] local.INFO: TCP Data received {"connection_id":204248,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:43:08] local.INFO: Processing buffer {"connection_id":204248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:43:08] local.INFO: IMEI packet received {"connection_id":204248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 08:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":204248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:43:09] local.INFO: TCP Data received {"connection_id":204367,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204367,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:43:09] local.INFO: Processing buffer {"connection_id":204367,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:43:09] local.INFO: IMEI packet received {"connection_id":204367,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":204367,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:43:10] local.INFO: TCP Data received {"connection_id":204367,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0c1370012d7bdbc005e5f6180001015122..."} 
[2026-10-05 08:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0c1370012d7bdbc005e5f6180001015122..."} 
[2026-10-05 08:43:10] local.INFO: Processing buffer {"connection_id":204367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0c1370012d7bdbc005e5f6180001015122..."} 
[2026-10-05 08:43:10] local.INFO: Packet analysis {"connection_id":204367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0c"} 
[2026-10-05 08:43:10] local.INFO: Extracted packet for processing {"connection_id":204367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0c"} 
[2026-10-05 08:43:10] local.INFO: GPS Element Parsed {"raw_longitude":763091904,"raw_latitude":98956824,"longitude_deg":76.3091904,"latitude_deg":9.8956824,"altitude":1,"angle":337,"satellites":34,"speed":37,"hex_longitude":"2d7bdbc0","hex_latitude":"05e5f618","is_valid_coordinates":true} 
[2026-10-05 08:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539500544001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139369738840047616,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925853011804143616,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:10] 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-10-05 08:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791169926000,"timestamp_ms":1791169926000,"timestamp_seconds":1791169926,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0c1370"} 
[2026-10-05 08:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-05 08:43:10] 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-10-05 08:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539500544001,"66":13678,"39":206,"87":13824,"24":37,"16":139369738840047616,"45":8925853011804143616},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-10-05 08:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539500544001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:43:10] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-10-05 08:43:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139369738840047616,"km_value":139369738840047.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925853011804143616,"description":"Unknown IO ID 45"} 
[2026-10-05 08:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539500544001,"power":13678,"unknown_39":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8925853011804143616}} 
[2026-10-05 08:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":204367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:43:10] local.INFO: GPS data processed {"connection_id":204367,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:43:10] local.INFO: Acknowledgment sent {"connection_id":204367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:43:11] local.INFO: TCP Data received {"connection_id":204367,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0c3a80012d7bd14005e617500002015920..."} 
[2026-10-05 08:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0c3a80012d7bd14005e617500002015920..."} 
[2026-10-05 08:43:11] local.INFO: Processing buffer {"connection_id":204367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0c3a80012d7bd14005e617500002015920..."} 
[2026-10-05 08:43:11] local.INFO: Packet analysis {"connection_id":204367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0c"} 
[2026-10-05 08:43:11] local.INFO: Extracted packet for processing {"connection_id":204367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0c"} 
[2026-10-05 08:43:11] local.INFO: GPS Element Parsed {"raw_longitude":763089216,"raw_latitude":98965328,"longitude_deg":76.3089216,"latitude_deg":9.8965328,"altitude":2,"angle":345,"satellites":32,"speed":29,"hex_longitude":"2d7bd140","hex_latitude":"05e61750","is_valid_coordinates":true} 
[2026-10-05 08:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539501056001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139370168336777216,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924938218130249728,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791169936000,"timestamp_ms":1791169936000,"timestamp_seconds":1791169936,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0c3a80"} 
[2026-10-05 08:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:43: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-10-05 08:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 08:43:11] 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-10-05 08:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539501056001,"66":13830,"38":206,"87":13824,"24":29,"16":139370168336777216,"45":8924938218130249728},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-10-05 08:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539501056001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:43:11] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-10-05 08:43:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139370168336777216,"km_value":139370168336777.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924938218130249728,"description":"Unknown IO ID 45"} 
[2026-10-05 08:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539501056001,"power":13830,"unknown_38":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8924938218130249728}} 
[2026-10-05 08:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":204367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:43:11] local.INFO: GPS data processed {"connection_id":204367,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:43:11] local.INFO: Acknowledgment sent {"connection_id":204367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:43:22] local.INFO: TCP Data received {"connection_id":204249,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0ba610012d0e2c4007066e500021016120..."} 
[2026-10-05 08:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0ba610012d0e2c4007066e500021016120..."} 
[2026-10-05 08:43:22] local.INFO: Processing buffer {"connection_id":204249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0ba610012d0e2c4007066e500021016120..."} 
[2026-10-05 08:43:22] local.INFO: Packet analysis {"connection_id":204249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0b"} 
[2026-10-05 08:43:22] local.INFO: Extracted packet for processing {"connection_id":204249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0b"} 
[2026-10-05 08:43:22] local.INFO: GPS Element Parsed {"raw_longitude":755903552,"raw_latitude":117861968,"longitude_deg":75.5903552,"latitude_deg":11.7861968,"altitude":33,"angle":353,"satellites":32,"speed":10,"hex_longitude":"2d0e2c40","hex_latitude":"07066e50","is_valid_coordinates":true} 
[2026-10-05 08:43: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-10-05 08:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539493120001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34711758182547456,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1021331983167098880,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791169898000,"timestamp_ms":1791169898000,"timestamp_seconds":1791169898,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0ba610"} 
[2026-10-05 08:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:43:22] 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-10-05 08:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 08:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:43: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-10-05 08:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":204249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":204249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":204249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539493120001,"66":14396,"219":206,"94":10240,"24":10,"16":34711758182547456,"45":1021331983167098880},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-05 08:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539493120001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:43:22] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-05 08:43:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 08:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34711758182547456,"km_value":34711758182547.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1021331983167098880,"description":"Unknown IO ID 45"} 
[2026-10-05 08:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539493120001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":1021331983167098880}} 
[2026-10-05 08:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":204249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966268,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:43:22] local.INFO: GPS data processed {"connection_id":204249,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:43:22] local.INFO: Acknowledgment sent {"connection_id":204249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:43:33] local.INFO: TCP Data received {"connection_id":207344,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:43:33] local.INFO: Processing buffer {"connection_id":207344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:43:33] local.INFO: Packet analysis {"connection_id":207344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:43:33] local.INFO: Extracted packet for processing {"connection_id":207344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:43:33] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539406080001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791169855000,"timestamp_ms":1791169855000,"timestamp_seconds":1791169855,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0afe18"} 
[2026-10-05 08:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:43:33] 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-10-05 08: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 08:43:33] 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-10-05 08: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-10-05 08:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539406080001,"66":25875,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 08:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539406080001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:43:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:43:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539406080001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":207344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:43:33] local.INFO: GPS data processed {"connection_id":207344,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:43:33] local.INFO: Acknowledgment sent {"connection_id":207344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:43:44] local.INFO: TCP Data received {"connection_id":204367,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0c88a0012d7bc94005e62fb00000015323..."} 
[2026-10-05 08:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0c88a0012d7bc94005e62fb00000015323..."} 
[2026-10-05 08:43:44] local.INFO: Processing buffer {"connection_id":204367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0c88a0012d7bc94005e62fb00000015323..."} 
[2026-10-05 08:43:44] local.INFO: Packet analysis {"connection_id":204367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0c"} 
[2026-10-05 08:43:44] local.INFO: Extracted packet for processing {"connection_id":204367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0c"} 
[2026-10-05 08:43:44] local.INFO: GPS Element Parsed {"raw_longitude":763087168,"raw_latitude":98971568,"longitude_deg":76.3087168,"latitude_deg":9.8971568,"altitude":0,"angle":339,"satellites":35,"speed":12,"hex_longitude":"2d7bc940","hex_latitude":"05e62fb0","is_valid_coordinates":true} 
[2026-10-05 08:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539503616001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139370490459324416,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921982730876964864,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:44] 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-10-05 08:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791169956000,"timestamp_ms":1791169956000,"timestamp_seconds":1791169956,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0c88a0"} 
[2026-10-05 08:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 08:43:44] local.WARNING: Large IO value detected {"io_id":24,"raw_value":9007207860469760,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626606858240,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:44] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":6144,"corrected_to":0} 
[2026-10-05 08:43:44] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3758096384,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:44] local.WARNING: Large IO value detected {"io_id":229,"raw_value":3524788225,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1398276302,"corrected_to":0} 
[2026-10-05 08:43:44] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2147870150,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:44] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743827,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3852759040,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:44] local.WARNING: Large IO value detected {"io_id":111,"raw_value":6917860513862911461,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:44] local.WARNING: Large IO value detected {"io_id":132,"raw_value":5188154473069215789,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:44] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,38,87,24,241,157,16,36,161,19,45,192,246,1,34,10,66,39,11,239,32,35,3,240,242,227,229,4,113,205,40,209,7,31,53,88,2,5,111,132],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":246,"original":6144,"validated":0},{"io_id":205,"original":1398276302,"validated":0}]} 
[2026-10-05 08:43:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144494657028292608,"timestamp_seconds":144494657028292.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 08:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":204367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":204367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":204367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539503616001,"66":13526,"95":206,"87":13824,"24":12,"16":139370490459324416,"45":8921982730876964864},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-10-05 08:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539503616001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:43:45] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 08:43:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139370490459324416,"km_value":139370490459324.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921982730876964864,"description":"Unknown IO ID 45"} 
[2026-10-05 08:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539503616001,"power":13526,"unknown_95":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8921982730876964864}} 
[2026-10-05 08:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":204367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:43:45] local.INFO: GPS data processed {"connection_id":204367,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:43:45] local.INFO: Acknowledgment sent {"connection_id":204367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:43:45] local.INFO: TCP Data received {"connection_id":204368,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204368,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:43:45] local.INFO: Processing buffer {"connection_id":204368,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:43:45] local.INFO: IMEI packet received {"connection_id":204368,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 08:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":204368,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:43:48] local.INFO: TCP Data received {"connection_id":204369,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:43:48] local.INFO: Processing buffer {"connection_id":204369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:43:48] local.INFO: IMEI packet received {"connection_id":204369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 08:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":204369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:43:49] local.INFO: TCP Data received {"connection_id":204368,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204368,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:43:49] local.INFO: Processing buffer {"connection_id":204368,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:43:49] local.INFO: IMEI packet received {"connection_id":204368,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":204368,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:43:50] local.INFO: TCP Data received {"connection_id":204368,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0d1540012d0e35000706a700001b015f20..."} 
[2026-10-05 08:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0d1540012d0e35000706a700001b015f20..."} 
[2026-10-05 08:43:50] local.INFO: Processing buffer {"connection_id":204368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0d1540012d0e35000706a700001b015f20..."} 
[2026-10-05 08:43:50] local.INFO: Packet analysis {"connection_id":204368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0d"} 
[2026-10-05 08:43:50] local.INFO: Extracted packet for processing {"connection_id":204368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0d"} 
[2026-10-05 08:43:50] local.INFO: GPS Element Parsed {"raw_longitude":755905792,"raw_latitude":117876480,"longitude_deg":75.5905792,"latitude_deg":11.787648,"altitude":27,"angle":351,"satellites":32,"speed":0,"hex_longitude":"2d0e3500","hex_latitude":"0706a700","is_valid_coordinates":true} 
[2026-10-05 08:43: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-10-05 08:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539512576001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34712509801824256,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023724520473034752,"note":"Value kept but may cause issues"} 
[2026-10-05 08:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1791169992000,"timestamp_ms":1791169992000,"timestamp_seconds":1791169992,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0d1540"} 
[2026-10-05 08:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:43:50] 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-10-05 08:43: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":212,"data_length":795,"current_offset":136} 
[2026-10-05 08:43:50] 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-10-05 08:43: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-10-05 08:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":204368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":204368,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":204368,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539512576001,"66":14537,"219":206,"94":10240,"24":0,"16":34712509801824256,"45":1023724520473034752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-05 08:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539512576001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:43:50] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-05 08:43:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 08:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34712509801824256,"km_value":34712509801824.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023724520473034752,"description":"Unknown IO ID 45"} 
[2026-10-05 08:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539512576001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":1023724520473034752}} 
[2026-10-05 08:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":204368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966271,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:43:50] local.INFO: GPS data processed {"connection_id":204368,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:43:50] local.INFO: Acknowledgment sent {"connection_id":204368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:44:00] local.INFO: TCP Data received {"connection_id":204370,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:44:00] local.INFO: Processing buffer {"connection_id":204370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:44:00] local.INFO: IMEI packet received {"connection_id":204370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":204370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:44:05] local.INFO: TCP Data received {"connection_id":204370,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:44:05] local.INFO: Processing buffer {"connection_id":204370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:44:05] local.INFO: IMEI packet received {"connection_id":204370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":204370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:44:06] local.INFO: TCP Data received {"connection_id":204370,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:44:06] local.INFO: Processing buffer {"connection_id":204370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:44:06] local.INFO: Packet analysis {"connection_id":204370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:44:06] local.INFO: Extracted packet for processing {"connection_id":204370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:44:06] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539406080001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44: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-10-05 08:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791169855000,"timestamp_ms":1791169855000,"timestamp_seconds":1791169855,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0afe18"} 
[2026-10-05 08:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:44:06] 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-10-05 08:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 08:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539406080001,"66":25875,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539406080001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:44:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:44:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539406080001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":204370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:44:06] local.INFO: GPS data processed {"connection_id":204370,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:44:06] local.INFO: Acknowledgment sent {"connection_id":204370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:44:06] local.INFO: TCP Data received {"connection_id":207345,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:44:06] local.INFO: Processing buffer {"connection_id":207345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:44:06] local.INFO: IMEI packet received {"connection_id":207345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":207345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:44:08] local.INFO: TCP Data received {"connection_id":207345,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:44:08] local.INFO: Processing buffer {"connection_id":207345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:44:08] local.INFO: IMEI packet received {"connection_id":207345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":207345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:44:09] local.INFO: TCP Data received {"connection_id":207345,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:44:09] local.INFO: Processing buffer {"connection_id":207345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:44:09] local.INFO: IMEI packet received {"connection_id":207345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":207345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:44:10] local.INFO: TCP Data received {"connection_id":207345,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:44:10] local.INFO: Processing buffer {"connection_id":207345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:44:10] local.INFO: IMEI packet received {"connection_id":207345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":207345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:44:11] local.INFO: TCP Data received {"connection_id":204370,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:44:11] local.INFO: Processing buffer {"connection_id":204370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:44:11] local.INFO: Packet analysis {"connection_id":204370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:44:11] local.INFO: Extracted packet for processing {"connection_id":204370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:44:11] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539406080001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791169855000,"timestamp_ms":1791169855000,"timestamp_seconds":1791169855,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0afe18"} 
[2026-10-05 08:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:44:11] 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-10-05 08: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 08:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539406080001,"66":25875,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539406080001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:44:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539406080001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":204370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:44:11] local.INFO: GPS data processed {"connection_id":204370,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:44:11] local.INFO: Acknowledgment sent {"connection_id":204370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:44:11] local.INFO: TCP Data received {"connection_id":207345,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0cdaa8012d7bbc0005e64a880000014f26..."} 
[2026-10-05 08:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0cdaa8012d7bbc0005e64a880000014f26..."} 
[2026-10-05 08:44:11] local.INFO: Processing buffer {"connection_id":207345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0cdaa8012d7bbc0005e64a880000014f26..."} 
[2026-10-05 08:44:11] local.INFO: Packet analysis {"connection_id":207345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0c"} 
[2026-10-05 08:44:11] local.INFO: Extracted packet for processing {"connection_id":207345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0c"} 
[2026-10-05 08:44:11] local.INFO: GPS Element Parsed {"raw_longitude":763083776,"raw_latitude":98978440,"longitude_deg":76.3083776,"latitude_deg":9.897844,"altitude":0,"angle":335,"satellites":38,"speed":27,"hex_longitude":"2d7bbc00","hex_latitude":"05e64a88","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539508736001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139370859826511872,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919730931064877056,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:11] 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-10-05 08:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791169977000,"timestamp_ms":1791169977000,"timestamp_seconds":1791169977,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0cdaa8"} 
[2026-10-05 08:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:44: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-10-05 08:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-05 08:44: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-10-05 08: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-10-05 08:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539508736001,"66":13917,"95":206,"87":13824,"24":27,"16":139370859826511872,"45":8919730931064877056},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-10-05 08:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539508736001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:44:11] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 08:44:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139370859826511872,"km_value":139370859826511.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919730931064877056,"description":"Unknown IO ID 45"} 
[2026-10-05 08:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539508736001,"power":13917,"unknown_95":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8919730931064877056}} 
[2026-10-05 08:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":207345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966274,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:44:11] local.INFO: GPS data processed {"connection_id":207345,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:44:11] local.INFO: Acknowledgment sent {"connection_id":207345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:44:21] local.INFO: TCP Data received {"connection_id":204368,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0d53c0012d0e35000706a888001b002a20..."} 
[2026-10-05 08:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0d53c0012d0e35000706a888001b002a20..."} 
[2026-10-05 08:44:21] local.INFO: Processing buffer {"connection_id":204368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0d53c0012d0e35000706a888001b002a20..."} 
[2026-10-05 08:44:21] local.INFO: Packet analysis {"connection_id":204368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0d"} 
[2026-10-05 08:44:21] local.INFO: Extracted packet for processing {"connection_id":204368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0d"} 
[2026-10-05 08:44:21] local.INFO: GPS Element Parsed {"raw_longitude":755905792,"raw_latitude":117876872,"longitude_deg":75.5905792,"latitude_deg":11.7876872,"altitude":27,"angle":42,"satellites":32,"speed":3,"hex_longitude":"2d0e3500","hex_latitude":"0706a888","is_valid_coordinates":true} 
[2026-10-05 08:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539517952001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34712531276660736,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023724520473034752,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791170008000,"timestamp_ms":1791170008000,"timestamp_seconds":1791170008,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0d53c0"} 
[2026-10-05 08:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:44:21] 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-10-05 08:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-05 08:44:21] 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-10-05 08:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":204368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":204368,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":204368,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539517952001,"66":14352,"219":206,"94":10240,"24":3,"16":34712531276660736,"45":1023724520473034752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-05 08:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539517952001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:44:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-05 08:44:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 08:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34712531276660736,"km_value":34712531276660.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023724520473034752,"description":"Unknown IO ID 45"} 
[2026-10-05 08:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539517952001,"power":14352,"unknown_219":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":1023724520473034752}} 
[2026-10-05 08:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":204368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966275,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:44:21] local.INFO: GPS data processed {"connection_id":204368,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:44:21] local.INFO: Acknowledgment sent {"connection_id":204368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:44:43] local.INFO: TCP Data received {"connection_id":207345,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0df3e8012d7b7f0005e717f80000014823..."} 
[2026-10-05 08:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0df3e8012d7b7f0005e717f80000014823..."} 
[2026-10-05 08:44:43] local.INFO: Processing buffer {"connection_id":207345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0df3e8012d7b7f0005e717f80000014823..."} 
[2026-10-05 08:44:43] local.INFO: Packet analysis {"connection_id":207345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0d"} 
[2026-10-05 08:44:43] local.INFO: Extracted packet for processing {"connection_id":207345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0d"} 
[2026-10-05 08:44:43] local.INFO: GPS Element Parsed {"raw_longitude":763068160,"raw_latitude":99031032,"longitude_deg":76.306816,"latitude_deg":9.9031032,"altitude":0,"angle":328,"satellites":35,"speed":31,"hex_longitude":"2d7b7f00","hex_latitude":"05e717f8","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539532032001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139373578540810240,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576477509632,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791170049000,"timestamp_ms":1791170049000,"timestamp_seconds":1791170049,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0df3e8"} 
[2026-10-05 08:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:44: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-10-05 08: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 08:44:43] local.WARNING: Large IO value detected {"io_id":24,"raw_value":9570157813891072,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626606626816,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3870957568,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:43] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3976200192,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:43] local.WARNING: Large IO value detected {"io_id":230,"raw_value":3659530241,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298071758,"corrected_to":0} 
[2026-10-05 08:44:43] local.WARNING: Large IO value detected {"io_id":130,"raw_value":2684431739,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:43] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812237,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:43] local.WARNING: Large IO value detected {"io_id":75,"raw_value":-1152590020691884570,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:43] local.WARNING: Large IO value detected {"io_id":150,"raw_value":2305844114498846729,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:43] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,96,87,24,241,157,16,39,161,228,45,192,14,36,10,66,216,5,32,181,1,240,252,227,38,230,4,113,205,34,130,149,239,53,95,2,75,150],"length":528,"final_offset":658,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1298071758,"validated":0}]} 
[2026-10-05 08:44:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":348695511760896,"timestamp_seconds":348695511760.896,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 08:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539532032001,"66":13722,"96":206,"87":13824,"24":31,"16":139373578540810240,"45":8899816576477509632},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 08:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539532032001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:44:43] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 08:44:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139373578540810240,"km_value":139373578540810.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576477509632,"description":"Unknown IO ID 45"} 
[2026-10-05 08:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539532032001,"power":13722,"unknown_96":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8899816576477509632}} 
[2026-10-05 08:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":207345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:44:43] local.INFO: GPS data processed {"connection_id":207345,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:44:43] local.INFO: Acknowledgment sent {"connection_id":207345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:44:43] local.INFO: TCP Data received {"connection_id":204371,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204371,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:44:43] local.INFO: Processing buffer {"connection_id":204371,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:44:43] local.INFO: IMEI packet received {"connection_id":204371,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 08:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":204371,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:44:45] local.INFO: TCP Data received {"connection_id":204371,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204371,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:44:45] local.INFO: Processing buffer {"connection_id":204371,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:44:45] local.INFO: IMEI packet received {"connection_id":204371,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":204371,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:44:50] local.INFO: TCP Data received {"connection_id":204371,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204371,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:44:50] local.INFO: Processing buffer {"connection_id":204371,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:44:50] local.INFO: IMEI packet received {"connection_id":204371,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":204371,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:44:51] local.INFO: TCP Data received {"connection_id":204371,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0d5b90012d0e35800706a9a8001b001620..."} 
[2026-10-05 08:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0d5b90012d0e35800706a9a8001b001620..."} 
[2026-10-05 08:44:51] local.INFO: Processing buffer {"connection_id":204371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0d5b90012d0e35800706a9a8001b001620..."} 
[2026-10-05 08:44:51] local.INFO: Packet analysis {"connection_id":204371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0d"} 
[2026-10-05 08:44:51] local.INFO: Extracted packet for processing {"connection_id":204371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0d"} 
[2026-10-05 08:44:51] local.INFO: GPS Element Parsed {"raw_longitude":755905920,"raw_latitude":117877160,"longitude_deg":75.590592,"latitude_deg":11.787716,"altitude":27,"angle":22,"satellites":32,"speed":7,"hex_longitude":"2d0e3580","hex_latitude":"0706a9a8","is_valid_coordinates":true} 
[2026-10-05 08:44: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-10-05 08:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539522048001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34712544161562624,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023724520473135104,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791170010000,"timestamp_ms":1791170010000,"timestamp_seconds":1791170010,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0d5b90"} 
[2026-10-05 08:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:44:51] 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-10-05 08:44: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":16,"data_length":795,"current_offset":136} 
[2026-10-05 08:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146112,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:51] local.WARNING: Large IO value detected {"io_id":82,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:51] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6485447350503670016,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:51] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:51] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504129291878400,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:51] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2378170399,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:51] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639363509137371,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":802881742,"corrected_to":0} 
[2026-10-05 08:44:51] local.WARNING: Large IO value detected {"io_id":38,"raw_value":4160826638,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:51] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:51] local.WARNING: Large IO value detected {"io_id":136,"raw_value":84739566237845123,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":9007375885272832,"corrected_to":0} 
[2026-10-05 08:44:51] local.WARNING: Large IO value detected {"io_id":14,"raw_value":3260613854741135393,"note":"Value kept but may cause issues"} 
[2026-10-05 08:44:51] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,219,94,24,241,157,16,82,161,21,45,167,27,32,10,66,195,113,1,240,218,227,6,4,205,11,38,50,239,56,2,123,7,31,9,206,136,200,14],"length":628,"final_offset":758,"validated_count":39,"validation_warnings":[{"io_id":205,"original":802881742,"validated":0},{"io_id":200,"original":9007375885272832,"validated":0}]} 
[2026-10-05 08:44:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1945601355951570944,"timestamp_seconds":1945601355951571.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 08:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":204371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":204371,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":204371,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539522048001,"66":14167,"219":206,"94":10240,"24":7,"16":34712544161562624,"45":1023724520473135104},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-05 08:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539522048001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:44:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-05 08:44:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 08:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34712544161562624,"km_value":34712544161562.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023724520473135104,"description":"Unknown IO ID 45"} 
[2026-10-05 08:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539522048001,"power":14167,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1023724520473135104}} 
[2026-10-05 08:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":204371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966277,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:44:51] local.INFO: GPS data processed {"connection_id":204371,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:44:51] local.INFO: Acknowledgment sent {"connection_id":204371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:44:55] local.INFO: TCP Data received {"connection_id":204250,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:44:55] local.INFO: Processing buffer {"connection_id":204250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:44:55] local.INFO: IMEI packet received {"connection_id":204250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":204250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:45:00] local.INFO: TCP Data received {"connection_id":207346,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:45:00] local.INFO: Processing buffer {"connection_id":207346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:45:00] local.INFO: IMEI packet received {"connection_id":207346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":207346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:45:00] local.INFO: TCP Data received {"connection_id":204250,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:45:00] local.INFO: Processing buffer {"connection_id":204250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:45:00] local.INFO: IMEI packet received {"connection_id":204250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":204250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:45:01] local.INFO: TCP Data received {"connection_id":204250,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:45:01] local.INFO: Processing buffer {"connection_id":204250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:45:01] local.INFO: Packet analysis {"connection_id":204250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:45:01] local.INFO: Extracted packet for processing {"connection_id":204250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:45:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539406080001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791169855000,"timestamp_ms":1791169855000,"timestamp_seconds":1791169855,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0afe18"} 
[2026-10-05 08:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08: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-10-05 08: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 08:45:01] 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-10-05 08: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-10-05 08:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:45: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-10-05 08:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539406080001,"66":25875,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539406080001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:45:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:45:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539406080001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":204250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:45:01] local.INFO: GPS data processed {"connection_id":204250,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:45:01] local.INFO: Acknowledgment sent {"connection_id":204250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:45:05] local.INFO: TCP Data received {"connection_id":207346,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:45:05] local.INFO: Processing buffer {"connection_id":207346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:45:05] local.INFO: IMEI packet received {"connection_id":207346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":207346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:45:06] local.INFO: TCP Data received {"connection_id":207346,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0dfbb8012d7b7d0005e71e000000015824..."} 
[2026-10-05 08:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0dfbb8012d7b7d0005e71e000000015824..."} 
[2026-10-05 08:45:06] local.INFO: Processing buffer {"connection_id":207346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0dfbb8012d7b7d0005e71e000000015824..."} 
[2026-10-05 08:45:06] local.INFO: Packet analysis {"connection_id":207346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0d"} 
[2026-10-05 08:45:06] local.INFO: Extracted packet for processing {"connection_id":207346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0d"} 
[2026-10-05 08:45:06] local.INFO: GPS Element Parsed {"raw_longitude":763067648,"raw_latitude":99032576,"longitude_deg":76.3067648,"latitude_deg":9.9032576,"altitude":0,"angle":344,"satellites":36,"speed":35,"hex_longitude":"2d7b7d00","hex_latitude":"05e71e00","is_valid_coordinates":true} 
[2026-10-05 08:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539532544001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139373655850221568,"note":"Value kept but may cause issues"} 
[2026-10-05 08:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898831414059333632,"note":"Value kept but may cause issues"} 
[2026-10-05 08:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791170051000,"timestamp_ms":1791170051000,"timestamp_seconds":1791170051,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0dfbb8"} 
[2026-10-05 08:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-10-05 08:45:06] 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-10-05 08:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539532544001,"66":13798,"96":206,"87":13824,"24":35,"16":139373655850221568,"45":8898831414059333632},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 08:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539532544001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:45:06] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 08:45:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139373655850221568,"km_value":139373655850221.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898831414059333632,"description":"Unknown IO ID 45"} 
[2026-10-05 08:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539532544001,"power":13798,"unknown_96":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8898831414059333632}} 
[2026-10-05 08:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":207346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:45:06] local.INFO: GPS data processed {"connection_id":207346,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:45:06] local.INFO: Acknowledgment sent {"connection_id":207346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:45:23] local.INFO: TCP Data received {"connection_id":204371,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0ebb20012d0e3c000706dd50001c016120..."} 
[2026-10-05 08:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0ebb20012d0e3c000706dd50001c016120..."} 
[2026-10-05 08:45:23] local.INFO: Processing buffer {"connection_id":204371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0ebb20012d0e3c000706dd50001c016120..."} 
[2026-10-05 08:45:23] local.INFO: Packet analysis {"connection_id":204371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0e"} 
[2026-10-05 08:45:23] local.INFO: Extracted packet for processing {"connection_id":204371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0e"} 
[2026-10-05 08:45:23] local.INFO: GPS Element Parsed {"raw_longitude":755907584,"raw_latitude":117890384,"longitude_deg":75.5907584,"latitude_deg":11.7890384,"altitude":28,"angle":353,"satellites":32,"speed":14,"hex_longitude":"2d0e3c00","hex_latitude":"0706dd50","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539545088001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34713222766395392,"note":"Value kept but may cause issues"} 
[2026-10-05 08:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025905951545921536,"note":"Value kept but may cause issues"} 
[2026-10-05 08:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1791170100000,"timestamp_ms":1791170100000,"timestamp_seconds":1791170100,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0ebb20"} 
[2026-10-05 08:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-10-05 08:45:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":204371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":204371,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":204371,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539545088001,"66":14439,"219":206,"94":10240,"24":14,"16":34713222766395392,"45":1025905951545921536},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-05 08:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539545088001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:45:23] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-05 08:45:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 08:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34713222766395392,"km_value":34713222766395.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025905951545921536,"description":"Unknown IO ID 45"} 
[2026-10-05 08:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539545088001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":1025905951545921536}} 
[2026-10-05 08:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":204371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966280,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:45:23] local.INFO: GPS data processed {"connection_id":204371,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:45:23] local.INFO: Acknowledgment sent {"connection_id":204371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:45:32] local.INFO: TCP Data received {"connection_id":204250,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:45:32] local.INFO: Processing buffer {"connection_id":204250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0afe18012d7f908005afe5380000000028..."} 
[2026-10-05 08:45:32] local.INFO: Packet analysis {"connection_id":204250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:45:32] local.INFO: Extracted packet for processing {"connection_id":204250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0a"} 
[2026-10-05 08:45:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539406080001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:45: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-10-05 08:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791169855000,"timestamp_ms":1791169855000,"timestamp_seconds":1791169855,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0afe18"} 
[2026-10-05 08:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:45:32] 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-10-05 08: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 08:45:32] 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-10-05 08: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-10-05 08:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:45: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-10-05 08:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539406080001,"66":25875,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539406080001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:45:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:45:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539406080001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":204250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:45:32] local.INFO: GPS data processed {"connection_id":204250,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:45:32] local.INFO: Acknowledgment sent {"connection_id":204250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:45:37] local.INFO: TCP Data received {"connection_id":207346,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0e49d8012d7b770005e733c00000015d21..."} 
[2026-10-05 08:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0e49d8012d7b770005e733c00000015d21..."} 
[2026-10-05 08:45:37] local.INFO: Processing buffer {"connection_id":207346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0e49d8012d7b770005e733c00000015d21..."} 
[2026-10-05 08:45:37] local.INFO: Packet analysis {"connection_id":207346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0e"} 
[2026-10-05 08:45:37] local.INFO: Extracted packet for processing {"connection_id":207346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0e"} 
[2026-10-05 08:45:37] local.INFO: GPS Element Parsed {"raw_longitude":763066112,"raw_latitude":99038144,"longitude_deg":76.3066112,"latitude_deg":9.9038144,"altitude":0,"angle":349,"satellites":33,"speed":0,"hex_longitude":"2d7b7700","hex_latitude":"05e733c0","is_valid_coordinates":true} 
[2026-10-05 08:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539533056001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139373956497932288,"note":"Value kept but may cause issues"} 
[2026-10-05 08:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898268464106307584,"note":"Value kept but may cause issues"} 
[2026-10-05 08:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791170071000,"timestamp_ms":1791170071000,"timestamp_seconds":1791170071,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0e49d8"} 
[2026-10-05 08:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:45: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-10-05 08:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 08:45:37] 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-10-05 08:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539533056001,"66":13319,"96":206,"87":13824,"24":0,"16":139373956497932288,"45":8898268464106307584},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 08:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539533056001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:45:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 08:45:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139373956497932288,"km_value":139373956497932.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898268464106307584,"description":"Unknown IO ID 45"} 
[2026-10-05 08:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539533056001,"power":13319,"unknown_96":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8898268464106307584}} 
[2026-10-05 08:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":207346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:45:37] local.INFO: GPS data processed {"connection_id":207346,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:45:37] local.INFO: Acknowledgment sent {"connection_id":207346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:45:44] local.INFO: TCP Data received {"connection_id":207348,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207348,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:45:44] local.INFO: Processing buffer {"connection_id":207348,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:45:44] local.INFO: IMEI packet received {"connection_id":207348,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 08:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":207348,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:45:45] local.INFO: TCP Data received {"connection_id":207348,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207348,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:45:45] local.INFO: Processing buffer {"connection_id":207348,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:45:45] local.INFO: IMEI packet received {"connection_id":207348,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":207348,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:45:45] local.INFO: TCP Data received {"connection_id":207348,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207348,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:45:45] local.INFO: Processing buffer {"connection_id":207348,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:45:45] local.INFO: IMEI packet received {"connection_id":207348,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":207348,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:45:46] local.INFO: TCP Data received {"connection_id":207348,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207348,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:45:46] local.INFO: Processing buffer {"connection_id":207348,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:45:46] local.INFO: IMEI packet received {"connection_id":207348,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":207348,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:45:55] local.INFO: TCP Data received {"connection_id":204372,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:45:55] local.INFO: Processing buffer {"connection_id":204372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:45:55] local.INFO: IMEI packet received {"connection_id":204372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":204372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:45:58] local.INFO: TCP Data received {"connection_id":204372,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:45:58] local.INFO: Processing buffer {"connection_id":204372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:45:58] local.INFO: IMEI packet received {"connection_id":204372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":204372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:45:59] local.INFO: TCP Data received {"connection_id":204372,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:45:59] local.INFO: Processing buffer {"connection_id":204372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:45:59] local.INFO: Packet analysis {"connection_id":204372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0f"} 
[2026-10-05 08:45:59] local.INFO: Extracted packet for processing {"connection_id":204372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0f"} 
[2026-10-05 08:45:59] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 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-10-05 08:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539482880001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791170155000,"timestamp_ms":1791170155000,"timestamp_seconds":1791170155,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0f91f8"} 
[2026-10-05 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-10-05 08:45:59] 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-10-05 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 08:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 08:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":204372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":204372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":204372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:45:59] 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-10-05 08:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539482880001,"66":25908,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539482880001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:45:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:45:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539482880001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":204372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:45:59] local.INFO: GPS data processed {"connection_id":204372,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:45:59] local.INFO: Acknowledgment sent {"connection_id":204372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:45:59] local.INFO: TCP Data received {"connection_id":204373,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:45:59] local.INFO: Processing buffer {"connection_id":204373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:45:59] local.INFO: IMEI packet received {"connection_id":204373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":204373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:46:00] local.INFO: TCP Data received {"connection_id":204373,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:46:00] local.INFO: Processing buffer {"connection_id":204373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:46:00] local.INFO: IMEI packet received {"connection_id":204373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":204373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:46:05] local.INFO: TCP Data received {"connection_id":204373,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:46:05] local.INFO: Processing buffer {"connection_id":204373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:46:05] local.INFO: IMEI packet received {"connection_id":204373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":204373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:46:07] local.INFO: TCP Data received {"connection_id":204373,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0e9be0012d7b770005e733c00000015d23..."} 
[2026-10-05 08:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0e9be0012d7b770005e733c00000015d23..."} 
[2026-10-05 08:46:07] local.INFO: Processing buffer {"connection_id":204373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0e9be0012d7b770005e733c00000015d23..."} 
[2026-10-05 08:46:07] local.INFO: Packet analysis {"connection_id":204373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0e"} 
[2026-10-05 08:46:07] local.INFO: Extracted packet for processing {"connection_id":204373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0e"} 
[2026-10-05 08:46:07] local.INFO: GPS Element Parsed {"raw_longitude":763066112,"raw_latitude":99038144,"longitude_deg":76.3066112,"latitude_deg":9.9038144,"altitude":0,"angle":349,"satellites":35,"speed":0,"hex_longitude":"2d7b7700","hex_latitude":"05e733c0","is_valid_coordinates":true} 
[2026-10-05 08:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539538176001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139373956497932288,"note":"Value kept but may cause issues"} 
[2026-10-05 08:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896579614247469056,"note":"Value kept but may cause issues"} 
[2026-10-05 08:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791170092000,"timestamp_ms":1791170092000,"timestamp_seconds":1791170092,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0e9be0"} 
[2026-10-05 08:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 08:46:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 08:46:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 08:46:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298137294,"corrected_to":0} 
[2026-10-05 08:46:07] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2415996283,"note":"Value kept but may cause issues"} 
[2026-10-05 08:46:07] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308365,"note":"Value kept but may cause issues"} 
[2026-10-05 08:46:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3873916928,"note":"Value kept but may cause issues"} 
[2026-10-05 08:46:07] local.WARNING: Large IO value detected {"io_id":252,"raw_value":57787440656439094,"note":"Value kept but may cause issues"} 
[2026-10-05 08:46:07] local.WARNING: Large IO value detected {"io_id":13,"raw_value":-6500944767250612219,"note":"Value kept but may cause issues"} 
[2026-10-05 08:46:07] local.WARNING: Large IO value detected {"io_id":230,"raw_value":-2729181369868608000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:46:07] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,96,87,24,241,157,16,39,161,251,45,30,36,10,66,243,23,35,236,128,1,240,6,227,231,4,113,205,29,216,136,152,32,239,52,2,5,33,252,13,230],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1298137294,"validated":0}]} 
[2026-10-05 08:46:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":383871292014592,"timestamp_seconds":383871292014.592,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 08:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539538176001,"66":13461,"96":206,"87":13824,"24":0,"16":139373956497932288,"45":8896579614247469056},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 08:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539538176001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:46:07] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 08:46:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139373956497932288,"km_value":139373956497932.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896579614247469056,"description":"Unknown IO ID 45"} 
[2026-10-05 08:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539538176001,"power":13461,"unknown_96":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8896579614247469056}} 
[2026-10-05 08:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":204373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966284,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:46:07] local.INFO: GPS data processed {"connection_id":204373,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:46:07] local.INFO: Acknowledgment sent {"connection_id":204373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:46:30] local.INFO: TCP Data received {"connection_id":204372,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:46:30] local.INFO: Processing buffer {"connection_id":204372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:46:30] local.INFO: Packet analysis {"connection_id":204372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0f"} 
[2026-10-05 08:46:30] local.INFO: Extracted packet for processing {"connection_id":204372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0f"} 
[2026-10-05 08:46:30] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539482880001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:46: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-10-05 08:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1791170155000,"timestamp_ms":1791170155000,"timestamp_seconds":1791170155,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0f91f8"} 
[2026-10-05 08:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:46:30] 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-10-05 08: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 08:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":204372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":204372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":204372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:46:30] 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-10-05 08:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539482880001,"66":25908,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539482880001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:46:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:46:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539482880001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":204372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:46:30] local.INFO: GPS data processed {"connection_id":204372,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:46:30] local.INFO: Acknowledgment sent {"connection_id":204372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:46:39] local.INFO: TCP Data received {"connection_id":204373,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0eea00012d7b744005e744980000000323..."} 
[2026-10-05 08:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0eea00012d7b744005e744980000000323..."} 
[2026-10-05 08:46:39] local.INFO: Processing buffer {"connection_id":204373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0eea00012d7b744005e744980000000323..."} 
[2026-10-05 08:46:39] local.INFO: Packet analysis {"connection_id":204373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0e"} 
[2026-10-05 08:46:39] local.INFO: Extracted packet for processing {"connection_id":204373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0e"} 
[2026-10-05 08:46:39] local.INFO: GPS Element Parsed {"raw_longitude":763065408,"raw_latitude":99042456,"longitude_deg":76.3065408,"latitude_deg":9.9042456,"altitude":0,"angle":3,"satellites":35,"speed":27,"hex_longitude":"2d7b7440","hex_latitude":"05e74498","is_valid_coordinates":true} 
[2026-10-05 08:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539543552001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139374171246297088,"note":"Value kept but may cause issues"} 
[2026-10-05 08:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896579614247469056,"note":"Value kept but may cause issues"} 
[2026-10-05 08:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791170112000,"timestamp_ms":1791170112000,"timestamp_seconds":1791170112,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0eea00"} 
[2026-10-05 08:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:46: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-10-05 08:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-10-05 08:46:39] 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-10-05 08:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":204373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":204373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":204373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539543552001,"66":13678,"96":206,"87":13824,"24":27,"16":139374171246297088,"45":8896579614247469056},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 08:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539543552001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:46:39] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 08:46:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139374171246297088,"km_value":139374171246297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896579614247469056,"description":"Unknown IO ID 45"} 
[2026-10-05 08:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539543552001,"power":13678,"unknown_96":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8896579614247469056}} 
[2026-10-05 08:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":204373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:46:39] local.INFO: GPS data processed {"connection_id":204373,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:46:39] local.INFO: Acknowledgment sent {"connection_id":204373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:46:55] local.INFO: TCP Data received {"connection_id":204251,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:46:55] local.INFO: Processing buffer {"connection_id":204251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:46:55] local.INFO: IMEI packet received {"connection_id":204251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":204251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:46:59] local.INFO: TCP Data received {"connection_id":204252,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:46:59] local.INFO: Processing buffer {"connection_id":204252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:46:59] local.INFO: IMEI packet received {"connection_id":204252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":204252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:47:00] local.INFO: TCP Data received {"connection_id":204251,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:47:00] local.INFO: Processing buffer {"connection_id":204251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:47:00] local.INFO: IMEI packet received {"connection_id":204251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":204251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:47:01] local.INFO: TCP Data received {"connection_id":204251,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:47:01] local.INFO: Processing buffer {"connection_id":204251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:47:01] local.INFO: Packet analysis {"connection_id":204251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0f"} 
[2026-10-05 08:47:01] local.INFO: Extracted packet for processing {"connection_id":204251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0f"} 
[2026-10-05 08:47:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539482880001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:47: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-10-05 08:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791170155000,"timestamp_ms":1791170155000,"timestamp_seconds":1791170155,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0f91f8"} 
[2026-10-05 08:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:47: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-10-05 08:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 08:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:47: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-10-05 08:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539482880001,"66":25908,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539482880001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:47:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:47:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539482880001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":204251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:47:01] local.INFO: GPS data processed {"connection_id":204251,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:47:01] local.INFO: Acknowledgment sent {"connection_id":204251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:47:05] local.INFO: TCP Data received {"connection_id":204252,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:47:05] local.INFO: Processing buffer {"connection_id":204252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:47:05] local.INFO: IMEI packet received {"connection_id":204252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":204252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:47:06] local.INFO: TCP Data received {"connection_id":204252,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0efd88012d7b740005e754500000015f22..."} 
[2026-10-05 08:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0efd88012d7b740005e754500000015f22..."} 
[2026-10-05 08:47:06] local.INFO: Processing buffer {"connection_id":204252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0efd88012d7b740005e754500000015f22..."} 
[2026-10-05 08:47:06] local.INFO: Packet analysis {"connection_id":204252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0e"} 
[2026-10-05 08:47:06] local.INFO: Extracted packet for processing {"connection_id":204252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0e"} 
[2026-10-05 08:47:06] local.INFO: GPS Element Parsed {"raw_longitude":763065344,"raw_latitude":99046480,"longitude_deg":76.3065344,"latitude_deg":9.904648,"altitude":0,"angle":351,"satellites":34,"speed":35,"hex_longitude":"2d7b7400","hex_latitude":"05e75450","is_valid_coordinates":true} 
[2026-10-05 08:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539548672001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139374368814792704,"note":"Value kept but may cause issues"} 
[2026-10-05 08:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895805558062618624,"note":"Value kept but may cause issues"} 
[2026-10-05 08:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791170117000,"timestamp_ms":1791170117000,"timestamp_seconds":1791170117,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0efd88"} 
[2026-10-05 08:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 08:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539548672001,"66":13417,"96":206,"87":13824,"24":35,"16":139374368814792704,"45":8895805558062618624},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 08:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539548672001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:47:06] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 08:47:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139374368814792704,"km_value":139374368814792.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895805558062618624,"description":"Unknown IO ID 45"} 
[2026-10-05 08:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539548672001,"power":13417,"unknown_96":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8895805558062618624}} 
[2026-10-05 08:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":204252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:47:06] local.INFO: GPS data processed {"connection_id":204252,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:47:06] local.INFO: Acknowledgment sent {"connection_id":204252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:47:32] local.INFO: TCP Data received {"connection_id":204251,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:47:32] local.INFO: Processing buffer {"connection_id":204251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:47:32] local.INFO: Packet analysis {"connection_id":204251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0f"} 
[2026-10-05 08:47:32] local.INFO: Extracted packet for processing {"connection_id":204251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0f"} 
[2026-10-05 08:47:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539482880001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:47: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-10-05 08:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791170155000,"timestamp_ms":1791170155000,"timestamp_seconds":1791170155,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0f91f8"} 
[2026-10-05 08:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:47:32] 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-10-05 08:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 08:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:47: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-10-05 08:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539482880001,"66":25908,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539482880001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:47:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:47:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539482880001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":204251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:47:32] local.INFO: GPS data processed {"connection_id":204251,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:47:32] local.INFO: Acknowledgment sent {"connection_id":204251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:47:38] local.INFO: TCP Data received {"connection_id":204252,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0f4ba8012d7b6e0005e76d200001015e21..."} 
[2026-10-05 08:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0f4ba8012d7b6e0005e76d200001015e21..."} 
[2026-10-05 08:47:38] local.INFO: Processing buffer {"connection_id":204252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0f4ba8012d7b6e0005e76d200001015e21..."} 
[2026-10-05 08:47:38] local.INFO: Packet analysis {"connection_id":204252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0f"} 
[2026-10-05 08:47:38] local.INFO: Extracted packet for processing {"connection_id":204252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0f"} 
[2026-10-05 08:47:38] local.INFO: GPS Element Parsed {"raw_longitude":763063808,"raw_latitude":99052832,"longitude_deg":76.3063808,"latitude_deg":9.9052832,"altitude":1,"angle":350,"satellites":33,"speed":18,"hex_longitude":"2d7b6e00","hex_latitude":"05e76d20","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539549952001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139374703822241792,"note":"Value kept but may cause issues"} 
[2026-10-05 08:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895735189319471104,"note":"Value kept but may cause issues"} 
[2026-10-05 08:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791170137000,"timestamp_ms":1791170137000,"timestamp_seconds":1791170137,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0f4ba8"} 
[2026-10-05 08:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08: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":105,"data_length":795,"current_offset":136} 
[2026-10-05 08:47: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-10-05 08:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539549952001,"66":13656,"96":206,"87":13824,"24":18,"16":139374703822241792,"45":8895735189319471104},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 08:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539549952001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:47:38] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 08:47:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139374703822241792,"km_value":139374703822241.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895735189319471104,"description":"Unknown IO ID 45"} 
[2026-10-05 08:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539549952001,"power":13656,"unknown_96":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8895735189319471104}} 
[2026-10-05 08:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":204252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:47:38] local.INFO: GPS data processed {"connection_id":204252,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:47:38] local.INFO: Acknowledgment sent {"connection_id":204252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:47:55] local.INFO: TCP Data received {"connection_id":205796,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:47:55] local.INFO: Processing buffer {"connection_id":205796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:47:55] local.INFO: IMEI packet received {"connection_id":205796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":205796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:47:59] local.INFO: TCP Data received {"connection_id":204374,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:47:59] local.INFO: Processing buffer {"connection_id":204374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:47:59] local.INFO: IMEI packet received {"connection_id":204374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":204374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:48:00] local.INFO: TCP Data received {"connection_id":205796,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:48:00] local.INFO: Processing buffer {"connection_id":205796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:48:00] local.INFO: IMEI packet received {"connection_id":205796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":205796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:48:01] local.INFO: TCP Data received {"connection_id":205796,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:48:01] local.INFO: Processing buffer {"connection_id":205796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:48:01] local.INFO: Packet analysis {"connection_id":205796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0f"} 
[2026-10-05 08:48:01] local.INFO: Extracted packet for processing {"connection_id":205796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0f"} 
[2026-10-05 08:48:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539482880001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791170155000,"timestamp_ms":1791170155000,"timestamp_seconds":1791170155,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0f91f8"} 
[2026-10-05 08:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:48: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-10-05 08: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 08:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:48: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-10-05 08:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539482880001,"66":25908,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539482880001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:48:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:48:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539482880001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":205796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:48:01] local.INFO: GPS data processed {"connection_id":205796,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:48:01] local.INFO: Acknowledgment sent {"connection_id":205796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:48:05] local.INFO: TCP Data received {"connection_id":204374,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:48:05] local.INFO: Processing buffer {"connection_id":204374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:48:05] local.INFO: IMEI packet received {"connection_id":204374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":204374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:48:05] local.INFO: TCP Data received {"connection_id":204374,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1108f8012d7b5a0005e83ff00001000f22..."} 
[2026-10-05 08:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1108f8012d7b5a0005e83ff00001000f22..."} 
[2026-10-05 08:48:05] local.INFO: Processing buffer {"connection_id":204374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1108f8012d7b5a0005e83ff00001000f22..."} 
[2026-10-05 08:48:05] local.INFO: Packet analysis {"connection_id":204374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a11"} 
[2026-10-05 08:48:05] local.INFO: Extracted packet for processing {"connection_id":204374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a11"} 
[2026-10-05 08:48:05] local.INFO: GPS Element Parsed {"raw_longitude":763058688,"raw_latitude":99106800,"longitude_deg":76.3058688,"latitude_deg":9.91068,"altitude":1,"angle":15,"satellites":34,"speed":6,"hex_longitude":"2d7b5a00","hex_latitude":"05e83ff0","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539582976001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139377375291899904,"note":"Value kept but may cause issues"} 
[2026-10-05 08:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888205733707499520,"note":"Value kept but may cause issues"} 
[2026-10-05 08:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791170251000,"timestamp_ms":1791170251000,"timestamp_seconds":1791170251,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1108f8"} 
[2026-10-05 08:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:48: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-10-05 08: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-10-05 08:48: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-10-05 08: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-10-05 08:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539582976001,"66":13820,"201":206,"87":13824,"24":6,"16":139377375291899904,"45":8888205733707499520},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-10-05 08:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539582976001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:48:05] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-10-05 08:48:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139377375291899904,"km_value":139377375291899.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888205733707499520,"description":"Unknown IO ID 45"} 
[2026-10-05 08:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539582976001,"power":13820,"unknown_201":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8888205733707499520}} 
[2026-10-05 08:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":204374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966292,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:48:06] local.INFO: GPS data processed {"connection_id":204374,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:48:06] local.INFO: Acknowledgment sent {"connection_id":204374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:48:32] local.INFO: TCP Data received {"connection_id":205796,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:48:32] local.INFO: Processing buffer {"connection_id":205796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:48:32] local.INFO: Packet analysis {"connection_id":205796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0f"} 
[2026-10-05 08:48:32] local.INFO: Extracted packet for processing {"connection_id":205796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0f"} 
[2026-10-05 08:48:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539482880001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791170155000,"timestamp_ms":1791170155000,"timestamp_seconds":1791170155,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0f91f8"} 
[2026-10-05 08:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:48:32] 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-10-05 08: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 08:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:48: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-10-05 08:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539482880001,"66":25908,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539482880001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:48:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:48:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539482880001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":205796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:48:32] local.INFO: GPS data processed {"connection_id":205796,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:48:32] local.INFO: Acknowledgment sent {"connection_id":205796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:48:37] local.INFO: TCP Data received {"connection_id":204374,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a111c80012d7b5b0005e845480001000022..."} 
[2026-10-05 08:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a111c80012d7b5b0005e845480001000022..."} 
[2026-10-05 08:48:37] local.INFO: Processing buffer {"connection_id":204374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a111c80012d7b5b0005e845480001000022..."} 
[2026-10-05 08:48:37] local.INFO: Packet analysis {"connection_id":204374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a11"} 
[2026-10-05 08:48:37] local.INFO: Extracted packet for processing {"connection_id":204374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a11"} 
[2026-10-05 08:48:37] local.INFO: GPS Element Parsed {"raw_longitude":763058944,"raw_latitude":99108168,"longitude_deg":76.3058944,"latitude_deg":9.9108168,"altitude":1,"angle":0,"satellites":34,"speed":19,"hex_longitude":"2d7b5b00","hex_latitude":"05e84548","is_valid_coordinates":true} 
[2026-10-05 08:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539584256001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139377444011376640,"note":"Value kept but may cause issues"} 
[2026-10-05 08:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888416839940435968,"note":"Value kept but may cause issues"} 
[2026-10-05 08:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791170256000,"timestamp_ms":1791170256000,"timestamp_seconds":1791170256,"priority":1,"record_length":96,"hex_timestamp":"000001a10a111c80"} 
[2026-10-05 08:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:48: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-10-05 08:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 08:48:37] 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-10-05 08:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539584256001,"66":13928,"201":206,"87":13824,"24":19,"16":139377444011376640,"45":8888416839940435968},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-10-05 08:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539584256001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:48:37] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-10-05 08:48:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139377444011376640,"km_value":139377444011376.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888416839940435968,"description":"Unknown IO ID 45"} 
[2026-10-05 08:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539584256001,"power":13928,"unknown_201":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8888416839940435968}} 
[2026-10-05 08:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":204374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:48:37] local.INFO: GPS data processed {"connection_id":204374,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:48:37] local.INFO: Acknowledgment sent {"connection_id":204374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:48:59] local.INFO: TCP Data received {"connection_id":204256,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:48:59] local.INFO: Processing buffer {"connection_id":204256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:48:59] local.INFO: IMEI packet received {"connection_id":204256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":204256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:49:00] local.INFO: TCP Data received {"connection_id":204256,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:49:00] local.INFO: Processing buffer {"connection_id":204256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:49:00] local.INFO: IMEI packet received {"connection_id":204256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":204256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:49:00] local.INFO: TCP Data received {"connection_id":204255,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:49:00] local.INFO: Processing buffer {"connection_id":204255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:49:00] local.INFO: IMEI packet received {"connection_id":204255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":204255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:49:00] local.INFO: TCP Data received {"connection_id":204256,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:49:00] local.INFO: Processing buffer {"connection_id":204256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:49:00] local.INFO: IMEI packet received {"connection_id":204256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":204256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:49:02] local.INFO: TCP Data received {"connection_id":204256,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:49:02] local.INFO: Processing buffer {"connection_id":204256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:49:02] local.INFO: IMEI packet received {"connection_id":204256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":204256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:49:05] local.INFO: TCP Data received {"connection_id":204255,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:49:05] local.INFO: Processing buffer {"connection_id":204255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:49:05] local.INFO: IMEI packet received {"connection_id":204255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":204255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:49:06] local.INFO: TCP Data received {"connection_id":204255,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:49:06] local.INFO: Processing buffer {"connection_id":204255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:49:06] local.INFO: Packet analysis {"connection_id":204255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0f"} 
[2026-10-05 08:49:06] local.INFO: Extracted packet for processing {"connection_id":204255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0f"} 
[2026-10-05 08:49:06] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539482880001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791170155000,"timestamp_ms":1791170155000,"timestamp_seconds":1791170155,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0f91f8"} 
[2026-10-05 08:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:49:06] 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-10-05 08:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 08:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539482880001,"66":25908,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539482880001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:49:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:49:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539482880001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":204255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:49:06] local.INFO: GPS data processed {"connection_id":204255,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:49:06] local.INFO: Acknowledgment sent {"connection_id":204255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:49:08] local.INFO: TCP Data received {"connection_id":204254,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204254,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:49:08] local.INFO: Processing buffer {"connection_id":204254,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:49:08] local.INFO: IMEI packet received {"connection_id":204254,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 08:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":204254,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:49:11] local.INFO: TCP Data received {"connection_id":204255,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:49:11] local.INFO: Processing buffer {"connection_id":204255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:49:11] local.INFO: Packet analysis {"connection_id":204255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0f"} 
[2026-10-05 08:49:11] local.INFO: Extracted packet for processing {"connection_id":204255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0f"} 
[2026-10-05 08:49:11] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539482880001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791170155000,"timestamp_ms":1791170155000,"timestamp_seconds":1791170155,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0f91f8"} 
[2026-10-05 08:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:49:11] 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-10-05 08:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 08:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:49:11] 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-10-05 08:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539482880001,"66":25908,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539482880001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:49:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539482880001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":204255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:49:11] local.INFO: GPS data processed {"connection_id":204255,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:49:11] local.INFO: Acknowledgment sent {"connection_id":204255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:49:43] local.INFO: TCP Data received {"connection_id":207352,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:49:43] local.INFO: Processing buffer {"connection_id":207352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:49:43] local.INFO: IMEI packet received {"connection_id":207352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 08:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":207352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:49:55] local.INFO: TCP Data received {"connection_id":204375,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:49:55] local.INFO: Processing buffer {"connection_id":204375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:49:55] local.INFO: IMEI packet received {"connection_id":204375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":204375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:50:00] local.INFO: TCP Data received {"connection_id":204375,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:50:00] local.INFO: Processing buffer {"connection_id":204375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:50:00] local.INFO: IMEI packet received {"connection_id":204375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":204375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:50:01] local.INFO: TCP Data received {"connection_id":204375,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:50:01] local.INFO: Processing buffer {"connection_id":204375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:50:01] local.INFO: Packet analysis {"connection_id":204375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0f"} 
[2026-10-05 08:50:01] local.INFO: Extracted packet for processing {"connection_id":204375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0f"} 
[2026-10-05 08:50:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539482880001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791170155000,"timestamp_ms":1791170155000,"timestamp_seconds":1791170155,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0f91f8"} 
[2026-10-05 08:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08: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-10-05 08:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 08:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:50: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-10-05 08:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539482880001,"66":25908,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539482880001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:50:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:50:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539482880001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":204375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:50:01] local.INFO: GPS data processed {"connection_id":204375,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:50:01] local.INFO: Acknowledgment sent {"connection_id":204375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:50:32] local.INFO: TCP Data received {"connection_id":204375,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:50:32] local.INFO: Processing buffer {"connection_id":204375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a0f91f8012d7f908005afe5380000000026..."} 
[2026-10-05 08:50:32] local.INFO: Packet analysis {"connection_id":204375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a0f"} 
[2026-10-05 08:50:32] local.INFO: Extracted packet for processing {"connection_id":204375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a0f"} 
[2026-10-05 08:50:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539482880001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791170155000,"timestamp_ms":1791170155000,"timestamp_seconds":1791170155,"priority":1,"record_length":96,"hex_timestamp":"000001a10a0f91f8"} 
[2026-10-05 08:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:50:32] 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-10-05 08: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 08:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:50: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-10-05 08:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539482880001,"66":25908,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539482880001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:50:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:50:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539482880001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":204375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:50:32] local.INFO: GPS data processed {"connection_id":204375,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:50:32] local.INFO: Acknowledgment sent {"connection_id":204375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:50:50] local.INFO: TCP Data received {"connection_id":204257,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204257,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:50:50] local.INFO: Processing buffer {"connection_id":204257,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:50:50] local.INFO: IMEI packet received {"connection_id":204257,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 08:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":204257,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:50:51] local.INFO: TCP Data received {"connection_id":204257,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a12a708012d0cdf0007074d68002201081f..."} 
[2026-10-05 08:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a12a708012d0cdf0007074d68002201081f..."} 
[2026-10-05 08:50:51] local.INFO: Processing buffer {"connection_id":204257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a12a708012d0cdf0007074d68002201081f..."} 
[2026-10-05 08:50:51] local.INFO: Packet analysis {"connection_id":204257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a12"} 
[2026-10-05 08:50:51] local.INFO: Extracted packet for processing {"connection_id":204257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a12"} 
[2026-10-05 08:50:51] local.INFO: GPS Element Parsed {"raw_longitude":755818240,"raw_latitude":117919080,"longitude_deg":75.581824,"latitude_deg":11.791908,"altitude":34,"angle":264,"satellites":31,"speed":13,"hex_longitude":"2d0cdf00","hex_latitude":"07074d68","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539611136001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34718711734599680,"note":"Value kept but may cause issues"} 
[2026-10-05 08:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927811922169806848,"note":"Value kept but may cause issues"} 
[2026-10-05 08:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791170357000,"timestamp_ms":1791170357000,"timestamp_seconds":1791170357,"priority":1,"record_length":96,"hex_timestamp":"000001a10a12a708"} 
[2026-10-05 08:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-05 08:50:51] 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-10-05 08: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-10-05 08:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":204257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":204257,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":204257,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539611136001,"66":14135,"221":206,"94":10240,"24":13,"16":34718711734599680,"45":927811922169806848},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-05 08:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539611136001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:50:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-05 08:50:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 08:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34718711734599680,"km_value":34718711734599.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":927811922169806848,"description":"Unknown IO ID 45"} 
[2026-10-05 08:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539611136001,"power":14135,"unknown_221":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":927811922169806848}} 
[2026-10-05 08:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":204257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966299,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:50:51] local.INFO: GPS data processed {"connection_id":204257,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:50:51] local.INFO: Acknowledgment sent {"connection_id":204257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:50:55] local.INFO: TCP Data received {"connection_id":205798,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:50:55] local.INFO: Processing buffer {"connection_id":205798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:50:55] local.INFO: IMEI packet received {"connection_id":205798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":205798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:50:59] local.INFO: TCP Data received {"connection_id":205798,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:50:59] local.INFO: Processing buffer {"connection_id":205798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:50:59] local.INFO: IMEI packet received {"connection_id":205798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":205798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:51:00] local.INFO: TCP Data received {"connection_id":205798,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:51:00] local.INFO: Processing buffer {"connection_id":205798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:51:00] local.INFO: Packet analysis {"connection_id":205798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a14"} 
[2026-10-05 08:51:00] local.INFO: Extracted packet for processing {"connection_id":205798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a14"} 
[2026-10-05 08:51:00] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":34,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539559680001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791170458000,"timestamp_ms":1791170458000,"timestamp_seconds":1791170458,"priority":1,"record_length":96,"hex_timestamp":"000001a10a143190"} 
[2026-10-05 08:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:51: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-10-05 08: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 08:51: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-10-05 08: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-10-05 08:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":205798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":205798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":205798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:51:00] 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-10-05 08:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539559680001,"66":25875,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539559680001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:51:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:51:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539559680001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":205798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:51:00] local.INFO: GPS data processed {"connection_id":205798,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:51:00] local.INFO: Acknowledgment sent {"connection_id":205798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:51:22] local.INFO: TCP Data received {"connection_id":204257,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a12aaf0012d0cdd8007074d980023011a20..."} 
[2026-10-05 08:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a12aaf0012d0cdd8007074d980023011a20..."} 
[2026-10-05 08:51:22] local.INFO: Processing buffer {"connection_id":204257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a12aaf0012d0cdd8007074d980023011a20..."} 
[2026-10-05 08:51:22] local.INFO: Packet analysis {"connection_id":204257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a12"} 
[2026-10-05 08:51:22] local.INFO: Extracted packet for processing {"connection_id":204257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a12"} 
[2026-10-05 08:51:22] local.INFO: GPS Element Parsed {"raw_longitude":755817856,"raw_latitude":117919128,"longitude_deg":75.5817856,"latitude_deg":11.7919128,"altitude":35,"angle":282,"satellites":32,"speed":14,"hex_longitude":"2d0cdd80","hex_latitude":"07074d98","is_valid_coordinates":true} 
[2026-10-05 08:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539611392001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34718728914468864,"note":"Value kept but may cause issues"} 
[2026-10-05 08:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927460078448896000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791170358000,"timestamp_ms":1791170358000,"timestamp_seconds":1791170358,"priority":1,"record_length":96,"hex_timestamp":"000001a10a12aaf0"} 
[2026-10-05 08:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:51: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-10-05 08:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-10-05 08:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":204257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":204257,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":204257,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539611392001,"66":14135,"221":206,"94":10240,"24":14,"16":34718728914468864,"45":927460078448896000},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-05 08:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539611392001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:51:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-05 08:51:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 08:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34718728914468864,"km_value":34718728914468.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":927460078448896000,"description":"Unknown IO ID 45"} 
[2026-10-05 08:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539611392001,"power":14135,"unknown_221":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":927460078448896000}} 
[2026-10-05 08:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":204257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966301,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:51:22] local.INFO: GPS data processed {"connection_id":204257,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:51:22] local.INFO: Acknowledgment sent {"connection_id":204257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:51:31] local.INFO: TCP Data received {"connection_id":205798,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:51:31] local.INFO: Processing buffer {"connection_id":205798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:51:31] local.INFO: Packet analysis {"connection_id":205798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a14"} 
[2026-10-05 08:51:31] local.INFO: Extracted packet for processing {"connection_id":205798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a14"} 
[2026-10-05 08:51:31] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":34,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539559680001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791170458000,"timestamp_ms":1791170458000,"timestamp_seconds":1791170458,"priority":1,"record_length":96,"hex_timestamp":"000001a10a143190"} 
[2026-10-05 08:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:51: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-10-05 08: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 08:51:31] 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-10-05 08: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-10-05 08:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":205798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":205798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":205798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:51:31] 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-10-05 08:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539559680001,"66":25875,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539559680001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:51:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:51:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539559680001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":205798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:51:31] local.INFO: GPS data processed {"connection_id":205798,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:51:31] local.INFO: Acknowledgment sent {"connection_id":205798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:51:45] local.INFO: TCP Data received {"connection_id":207354,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207354,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:51:45] local.INFO: Processing buffer {"connection_id":207354,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:51:45] local.INFO: IMEI packet received {"connection_id":207354,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 08:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":207354,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:51:50] local.INFO: TCP Data received {"connection_id":207354,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207354,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:51:50] local.INFO: Processing buffer {"connection_id":207354,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:51:50] local.INFO: IMEI packet received {"connection_id":207354,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":207354,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:51:51] local.INFO: TCP Data received {"connection_id":207354,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a12aed8012d0cdc0007074e300022012820..."} 
[2026-10-05 08:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a12aed8012d0cdc0007074e300022012820..."} 
[2026-10-05 08:51:51] local.INFO: Processing buffer {"connection_id":207354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a12aed8012d0cdc0007074e300022012820..."} 
[2026-10-05 08:51:51] local.INFO: Packet analysis {"connection_id":207354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a12"} 
[2026-10-05 08:51:51] local.INFO: Extracted packet for processing {"connection_id":207354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a12"} 
[2026-10-05 08:51:51] local.INFO: GPS Element Parsed {"raw_longitude":755817472,"raw_latitude":117919280,"longitude_deg":75.5817472,"latitude_deg":11.791928,"altitude":34,"angle":296,"satellites":32,"speed":13,"hex_longitude":"2d0cdc00","hex_latitude":"07074e30","is_valid_coordinates":true} 
[2026-10-05 08:51: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-10-05 08:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539611648001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34718746094338048,"note":"Value kept but may cause issues"} 
[2026-10-05 08:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927037865983842304,"note":"Value kept but may cause issues"} 
[2026-10-05 08:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791170359000,"timestamp_ms":1791170359000,"timestamp_seconds":1791170359,"priority":1,"record_length":96,"hex_timestamp":"000001a10a12aed8"} 
[2026-10-05 08:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-10-05 08:51:51] 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-10-05 08:51: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-10-05 08:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":207354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":207354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":207354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539611648001,"66":14135,"221":206,"94":10240,"24":13,"16":34718746094338048,"45":927037865983842304},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-05 08:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539611648001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:51:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-05 08:51:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 08:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34718746094338048,"km_value":34718746094338.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":927037865983842304,"description":"Unknown IO ID 45"} 
[2026-10-05 08:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539611648001,"power":14135,"unknown_221":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":927037865983842304}} 
[2026-10-05 08:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":207354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966303,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:51:51] local.INFO: GPS data processed {"connection_id":207354,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:51:51] local.INFO: Acknowledgment sent {"connection_id":207354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:51:55] local.INFO: TCP Data received {"connection_id":205799,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:51:55] local.INFO: Processing buffer {"connection_id":205799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:51:55] local.INFO: IMEI packet received {"connection_id":205799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":205799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:52:00] local.INFO: TCP Data received {"connection_id":205799,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:52:00] local.INFO: Processing buffer {"connection_id":205799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:52:00] local.INFO: IMEI packet received {"connection_id":205799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":205799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:52:01] local.INFO: TCP Data received {"connection_id":205799,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:52:01] local.INFO: Processing buffer {"connection_id":205799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:52:01] local.INFO: Packet analysis {"connection_id":205799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a14"} 
[2026-10-05 08:52:01] local.INFO: Extracted packet for processing {"connection_id":205799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a14"} 
[2026-10-05 08:52:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":34,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539559680001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791170458000,"timestamp_ms":1791170458000,"timestamp_seconds":1791170458,"priority":1,"record_length":96,"hex_timestamp":"000001a10a143190"} 
[2026-10-05 08:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:52: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-10-05 08:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 08:52:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:52: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-10-05 08:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539559680001,"66":25875,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539559680001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:52:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:52:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539559680001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":205799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:52:01] local.INFO: GPS data processed {"connection_id":205799,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:52:01] local.INFO: Acknowledgment sent {"connection_id":205799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:52:22] local.INFO: TCP Data received {"connection_id":207354,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a12e588012d0cc280070758d80024011d20..."} 
[2026-10-05 08:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a12e588012d0cc280070758d80024011d20..."} 
[2026-10-05 08:52:22] local.INFO: Processing buffer {"connection_id":207354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a12e588012d0cc280070758d80024011d20..."} 
[2026-10-05 08:52:22] local.INFO: Packet analysis {"connection_id":207354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a12"} 
[2026-10-05 08:52:22] local.INFO: Extracted packet for processing {"connection_id":207354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a12"} 
[2026-10-05 08:52:22] local.INFO: GPS Element Parsed {"raw_longitude":755810944,"raw_latitude":117922008,"longitude_deg":75.5810944,"latitude_deg":11.7922008,"altitude":36,"angle":285,"satellites":32,"speed":14,"hex_longitude":"2d0cc280","hex_latitude":"070758d8","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539611904001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34719085396754432,"note":"Value kept but may cause issues"} 
[2026-10-05 08:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":926615653518815232,"note":"Value kept but may cause issues"} 
[2026-10-05 08:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791170373000,"timestamp_ms":1791170373000,"timestamp_seconds":1791170373,"priority":1,"record_length":96,"hex_timestamp":"000001a10a12e588"} 
[2026-10-05 08:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:52: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-10-05 08: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-10-05 08:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":207354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":207354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":207354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539611904001,"66":14396,"221":206,"94":10240,"24":14,"16":34719085396754432,"45":926615653518815232},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-05 08:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539611904001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:52:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-05 08:52:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 08:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34719085396754432,"km_value":34719085396754.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":926615653518815232,"description":"Unknown IO ID 45"} 
[2026-10-05 08:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539611904001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":926615653518815232}} 
[2026-10-05 08:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":207354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966305,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:52:22] local.INFO: GPS data processed {"connection_id":207354,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:52:22] local.INFO: Acknowledgment sent {"connection_id":207354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:52:32] local.INFO: TCP Data received {"connection_id":205799,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:52:32] local.INFO: Processing buffer {"connection_id":205799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:52:32] local.INFO: Packet analysis {"connection_id":205799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a14"} 
[2026-10-05 08:52:32] local.INFO: Extracted packet for processing {"connection_id":205799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a14"} 
[2026-10-05 08:52:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":34,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539559680001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:52: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-10-05 08:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791170458000,"timestamp_ms":1791170458000,"timestamp_seconds":1791170458,"priority":1,"record_length":96,"hex_timestamp":"000001a10a143190"} 
[2026-10-05 08:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:52:32] 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-10-05 08:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 08:52:32] 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-10-05 08:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:52: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-10-05 08:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539559680001,"66":25875,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539559680001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:52:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:52:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539559680001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":205799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:52:32] local.INFO: GPS data processed {"connection_id":205799,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:52:32] local.INFO: Acknowledgment sent {"connection_id":205799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:52:45] local.INFO: TCP Data received {"connection_id":207357,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207357,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:52:45] local.INFO: Processing buffer {"connection_id":207357,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:52:45] local.INFO: IMEI packet received {"connection_id":207357,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 08:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":207357,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:52:50] local.INFO: TCP Data received {"connection_id":207357,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207357,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:52:50] local.INFO: Processing buffer {"connection_id":207357,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:52:50] local.INFO: IMEI packet received {"connection_id":207357,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":207357,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:52:51] local.INFO: TCP Data received {"connection_id":207357,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a133790012d0cb14007075e30001f011121..."} 
[2026-10-05 08:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a133790012d0cb14007075e30001f011121..."} 
[2026-10-05 08:52:51] local.INFO: Processing buffer {"connection_id":207357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a133790012d0cb14007075e30001f011121..."} 
[2026-10-05 08:52:51] local.INFO: Packet analysis {"connection_id":207357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a13"} 
[2026-10-05 08:52:51] local.INFO: Extracted packet for processing {"connection_id":207357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a13"} 
[2026-10-05 08:52:51] local.INFO: GPS Element Parsed {"raw_longitude":755806528,"raw_latitude":117923376,"longitude_deg":75.5806528,"latitude_deg":11.7923376,"altitude":31,"angle":273,"satellites":33,"speed":7,"hex_longitude":"2d0cb140","hex_latitude":"07075e30","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539615488001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34719308735053824,"note":"Value kept but may cause issues"} 
[2026-10-05 08:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":919438041613391872,"note":"Value kept but may cause issues"} 
[2026-10-05 08:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791170394000,"timestamp_ms":1791170394000,"timestamp_seconds":1791170394,"priority":1,"record_length":96,"hex_timestamp":"000001a10a133790"} 
[2026-10-05 08:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-05 08:52:51] 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-10-05 08: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-10-05 08:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":207357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":207357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":207357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:52:51] 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-10-05 08:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539615488001,"66":14450,"221":206,"94":10240,"24":7,"16":34719308735053824,"45":919438041613391872},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-05 08:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539615488001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:52:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-05 08:52:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 08:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34719308735053824,"km_value":34719308735053.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":919438041613391872,"description":"Unknown IO ID 45"} 
[2026-10-05 08:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539615488001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":919438041613391872}} 
[2026-10-05 08:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":207357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966307,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:52:51] local.INFO: GPS data processed {"connection_id":207357,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:52:51] local.INFO: Acknowledgment sent {"connection_id":207357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:53:00] local.INFO: TCP Data received {"connection_id":204259,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:53:00] local.INFO: Processing buffer {"connection_id":204259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:53:00] local.INFO: IMEI packet received {"connection_id":204259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":204259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:53:05] local.INFO: TCP Data received {"connection_id":204259,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:53:05] local.INFO: Processing buffer {"connection_id":204259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:53:05] local.INFO: IMEI packet received {"connection_id":204259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":204259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:53:06] local.INFO: TCP Data received {"connection_id":204259,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:53:06] local.INFO: Processing buffer {"connection_id":204259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:53:06] local.INFO: Packet analysis {"connection_id":204259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a14"} 
[2026-10-05 08:53:06] local.INFO: Extracted packet for processing {"connection_id":204259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a14"} 
[2026-10-05 08:53:06] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":34,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539559680001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791170458000,"timestamp_ms":1791170458000,"timestamp_seconds":1791170458,"priority":1,"record_length":96,"hex_timestamp":"000001a10a143190"} 
[2026-10-05 08:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:53:06] 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-10-05 08:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 08:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:53: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-10-05 08:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539559680001,"66":25875,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539559680001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:53:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:53:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539559680001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":204259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:53:06] local.INFO: GPS data processed {"connection_id":204259,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:53:06] local.INFO: Acknowledgment sent {"connection_id":204259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:53:11] local.INFO: TCP Data received {"connection_id":204259,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:53:11] local.INFO: Processing buffer {"connection_id":204259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:53:11] local.INFO: Packet analysis {"connection_id":204259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a14"} 
[2026-10-05 08:53:11] local.INFO: Extracted packet for processing {"connection_id":204259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a14"} 
[2026-10-05 08:53:11] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":34,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539559680001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791170458000,"timestamp_ms":1791170458000,"timestamp_seconds":1791170458,"priority":1,"record_length":96,"hex_timestamp":"000001a10a143190"} 
[2026-10-05 08:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:53:11] 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-10-05 08:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 08:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539559680001,"66":25875,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539559680001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:53:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539559680001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":204259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:53:11] local.INFO: GPS data processed {"connection_id":204259,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:53:11] local.INFO: Acknowledgment sent {"connection_id":204259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:53:22] local.INFO: TCP Data received {"connection_id":207357,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a134730012d0cae4007075e60001f012121..."} 
[2026-10-05 08:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a134730012d0cae4007075e60001f012121..."} 
[2026-10-05 08:53:22] local.INFO: Processing buffer {"connection_id":207357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a134730012d0cae4007075e60001f012121..."} 
[2026-10-05 08:53:22] local.INFO: Packet analysis {"connection_id":207357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a13"} 
[2026-10-05 08:53:22] local.INFO: Extracted packet for processing {"connection_id":207357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a13"} 
[2026-10-05 08:53:22] local.INFO: GPS Element Parsed {"raw_longitude":755805760,"raw_latitude":117923424,"longitude_deg":75.580576,"latitude_deg":11.7923424,"altitude":31,"angle":289,"satellites":33,"speed":5,"hex_longitude":"2d0cae40","hex_latitude":"07075e60","is_valid_coordinates":true} 
[2026-10-05 08:53: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-10-05 08:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539620864001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34719343094792192,"note":"Value kept but may cause issues"} 
[2026-10-05 08:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":914582598265483264,"note":"Value kept but may cause issues"} 
[2026-10-05 08:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791170398000,"timestamp_ms":1791170398000,"timestamp_seconds":1791170398,"priority":1,"record_length":96,"hex_timestamp":"000001a10a134730"} 
[2026-10-05 08:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:53: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-10-05 08:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-05 08:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:53: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-10-05 08:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":207357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":207357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":207357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:53:22] 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-10-05 08:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539620864001,"66":14352,"221":206,"94":10240,"24":5,"16":34719343094792192,"45":914582598265483264},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-05 08:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539620864001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:53:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-05 08:53:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 08:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34719343094792192,"km_value":34719343094792.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":914582598265483264,"description":"Unknown IO ID 45"} 
[2026-10-05 08:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539620864001,"power":14352,"unknown_221":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":914582598265483264}} 
[2026-10-05 08:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":207357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966310,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:53:22] local.INFO: GPS data processed {"connection_id":207357,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:53:22] local.INFO: Acknowledgment sent {"connection_id":207357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:53:45] local.INFO: TCP Data received {"connection_id":205800,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205800,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:53:45] local.INFO: Processing buffer {"connection_id":205800,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:53:45] local.INFO: IMEI packet received {"connection_id":205800,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 08:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":205800,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:53:46] local.INFO: TCP Data received {"connection_id":205800,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205800,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:53:46] local.INFO: Processing buffer {"connection_id":205800,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:53:46] local.INFO: IMEI packet received {"connection_id":205800,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":205800,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:53:50] local.INFO: TCP Data received {"connection_id":205800,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205800,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:53:50] local.INFO: Processing buffer {"connection_id":205800,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:53:50] local.INFO: IMEI packet received {"connection_id":205800,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":205800,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:53:51] local.INFO: TCP Data received {"connection_id":205800,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1352e8012d0cad4007075eb0001e012121..."} 
[2026-10-05 08:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1352e8012d0cad4007075eb0001e012121..."} 
[2026-10-05 08:53:51] local.INFO: Processing buffer {"connection_id":205800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1352e8012d0cad4007075eb0001e012121..."} 
[2026-10-05 08:53:51] local.INFO: Packet analysis {"connection_id":205800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a13"} 
[2026-10-05 08:53:51] local.INFO: Extracted packet for processing {"connection_id":205800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a13"} 
[2026-10-05 08:53:51] local.INFO: GPS Element Parsed {"raw_longitude":755805504,"raw_latitude":117923504,"longitude_deg":75.5805504,"latitude_deg":11.7923504,"altitude":30,"angle":289,"satellites":33,"speed":0,"hex_longitude":"2d0cad40","hex_latitude":"07075eb0","is_valid_coordinates":true} 
[2026-10-05 08:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539621888001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34719355979694080,"note":"Value kept but may cause issues"} 
[2026-10-05 08:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913738173335363584,"note":"Value kept but may cause issues"} 
[2026-10-05 08:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791170401000,"timestamp_ms":1791170401000,"timestamp_seconds":1791170401,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1352e8"} 
[2026-10-05 08:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:53: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":16,"data_length":795,"current_offset":136} 
[2026-10-05 08:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146880,"note":"Value kept but may cause issues"} 
[2026-10-05 08:53:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 08:53:51] local.WARNING: Large IO value detected {"io_id":88,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-10-05 08:53:51] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 08:53:51] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504129392607232,"note":"Value kept but may cause issues"} 
[2026-10-05 08:53:51] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639178825543645,"note":"Value kept but may cause issues"} 
[2026-10-05 08:53:51] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6701620132617453824,"note":"Value kept but may cause issues"} 
[2026-10-05 08:53:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":803012814,"corrected_to":0} 
[2026-10-05 08:53:51] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 08:53:51] local.WARNING: Large IO value detected {"io_id":56,"raw_value":84738130645026638,"note":"Value kept but may cause issues"} 
[2026-10-05 08:53:51] local.WARNING: Large IO value detected {"io_id":144,"raw_value":9571124685836032,"note":"Value kept but may cause issues"} 
[2026-10-05 08:53:51] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-1963561709479133148,"note":"Value kept but may cause issues"} 
[2026-10-05 08:53:51] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,221,94,24,241,157,16,89,161,55,45,64,31,33,10,66,229,128,88,36,32,174,1,240,227,7,4,113,205,14,167,223,104,239,2,123,35,15,206,56,144,12],"length":628,"final_offset":758,"validated_count":42,"validation_warnings":[{"io_id":205,"original":803012814,"validated":0}]} 
[2026-10-05 08:53:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2234103315770441728,"timestamp_seconds":2234103315770441.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 08:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":205800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":205800,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":205800,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539621888001,"66":14428,"221":206,"94":10240,"24":0,"16":34719355979694080,"45":913738173335363584},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-05 08:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539621888001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:53:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-05 08:53:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 08:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34719355979694080,"km_value":34719355979694.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":913738173335363584,"description":"Unknown IO ID 45"} 
[2026-10-05 08:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539621888001,"power":14428,"unknown_221":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":913738173335363584}} 
[2026-10-05 08:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":205800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966311,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:53:51] local.INFO: GPS data processed {"connection_id":205800,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:53:51] local.INFO: Acknowledgment sent {"connection_id":205800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:53:55] local.INFO: TCP Data received {"connection_id":204377,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:53:55] local.INFO: Processing buffer {"connection_id":204377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:53:55] local.INFO: IMEI packet received {"connection_id":204377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":204377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:54:01] local.INFO: TCP Data received {"connection_id":204377,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:54:01] local.INFO: Processing buffer {"connection_id":204377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:54:01] local.INFO: IMEI packet received {"connection_id":204377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":204377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:54:02] local.INFO: TCP Data received {"connection_id":204377,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:54:02] local.INFO: Processing buffer {"connection_id":204377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:54:02] local.INFO: Packet analysis {"connection_id":204377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a14"} 
[2026-10-05 08:54:02] local.INFO: Extracted packet for processing {"connection_id":204377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a14"} 
[2026-10-05 08:54:02] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":34,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539559680001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54: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-10-05 08:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791170458000,"timestamp_ms":1791170458000,"timestamp_seconds":1791170458,"priority":1,"record_length":96,"hex_timestamp":"000001a10a143190"} 
[2026-10-05 08:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:54: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-10-05 08: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 08:54:02] 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-10-05 08: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-10-05 08:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:54: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-10-05 08:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539559680001,"66":25875,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539559680001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:54:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:54:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539559680001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":204377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:54:02] local.INFO: GPS data processed {"connection_id":204377,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:54:02] local.INFO: Acknowledgment sent {"connection_id":204377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:54:05] local.INFO: TCP Data received {"connection_id":204378,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:54:05] local.INFO: Processing buffer {"connection_id":204378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:54:05] local.INFO: IMEI packet received {"connection_id":204378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":204378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:54:06] local.INFO: TCP Data received {"connection_id":204378,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a16dd28012d7bbd4005e94f580004003522..."} 
[2026-10-05 08:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a16dd28012d7bbd4005e94f580004003522..."} 
[2026-10-05 08:54:06] local.INFO: Processing buffer {"connection_id":204378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a16dd28012d7bbd4005e94f580004003522..."} 
[2026-10-05 08:54:06] local.INFO: Packet analysis {"connection_id":204378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a16"} 
[2026-10-05 08:54:06] local.INFO: Extracted packet for processing {"connection_id":204378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a16"} 
[2026-10-05 08:54:06] local.INFO: GPS Element Parsed {"raw_longitude":763084096,"raw_latitude":99176280,"longitude_deg":76.3084096,"latitude_deg":9.917628,"altitude":4,"angle":53,"satellites":34,"speed":21,"hex_longitude":"2d7bbd40","hex_latitude":"05e94f58","is_valid_coordinates":true} 
[2026-10-05 08:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539680256001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139381872122658816,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911920000513134592,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791170633000,"timestamp_ms":1791170633000,"timestamp_seconds":1791170633,"priority":1,"record_length":96,"hex_timestamp":"000001a10a16dd28"} 
[2026-10-05 08:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 08:54:06] local.WARNING: Large IO value detected {"io_id":24,"raw_value":281483582439424,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626606106880,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:06] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13457308,"corrected_to":0} 
[2026-10-05 08:54:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469841614,"corrected_to":0} 
[2026-10-05 08:54:06] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3221302651,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:06] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812247,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:06] local.WARNING: Large IO value detected {"io_id":195,"raw_value":-1729050773523790359,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:06] local.WARNING: Large IO value detected {"io_id":57,"raw_value":-3458764512761413632,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:06] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,156,87,24,241,157,16,46,161,119,45,60,7,38,10,66,64,8,37,1,240,246,227,233,4,113,205,2,29,127,192,35,239,53,5,195,57],"length":528,"final_offset":658,"validated_count":37,"validation_warnings":[{"io_id":246,"original":13457308,"validated":0},{"io_id":205,"original":1469841614,"validated":0}]} 
[2026-10-05 08:54:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288308596097679360,"timestamp_seconds":288308596097679.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 08:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539680256001,"66":13559,"156":206,"87":13824,"24":21,"16":139381872122658816,"45":8911920000513134592},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-10-05 08:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539680256001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:54:06] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-10-05 08:54:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139381872122658816,"km_value":139381872122658.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911920000513134592,"description":"Unknown IO ID 45"} 
[2026-10-05 08:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539680256001,"power":13559,"unknown_156":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8911920000513134592}} 
[2026-10-05 08:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":204378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:54:06] local.INFO: GPS data processed {"connection_id":204378,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:54:06] local.INFO: Acknowledgment sent {"connection_id":204378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:54:23] local.INFO: TCP Data received {"connection_id":205800,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1352e8012d0cad4007075eb0001e012121..."} 
[2026-10-05 08:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1352e8012d0cad4007075eb0001e012121..."} 
[2026-10-05 08:54:23] local.INFO: Processing buffer {"connection_id":205800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1352e8012d0cad4007075eb0001e012121..."} 
[2026-10-05 08:54:23] local.INFO: Packet analysis {"connection_id":205800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a13"} 
[2026-10-05 08:54:23] local.INFO: Extracted packet for processing {"connection_id":205800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a13"} 
[2026-10-05 08:54:23] local.INFO: GPS Element Parsed {"raw_longitude":755805504,"raw_latitude":117923504,"longitude_deg":75.5805504,"latitude_deg":11.7923504,"altitude":30,"angle":289,"satellites":33,"speed":0,"hex_longitude":"2d0cad40","hex_latitude":"07075eb0","is_valid_coordinates":true} 
[2026-10-05 08:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539622656001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34719355979694080,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913456698358673408,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1791170401000,"timestamp_ms":1791170401000,"timestamp_seconds":1791170401,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1352e8"} 
[2026-10-05 08:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 08:54: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":92,"data_length":795,"current_offset":136} 
[2026-10-05 08:54:23] 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-10-05 08:54: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-10-05 08:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":205800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":205800,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":205800,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539622656001,"66":14428,"221":206,"94":10240,"24":0,"16":34719355979694080,"45":913456698358673408},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-05 08:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539622656001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:54:23] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-05 08:54:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 08:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34719355979694080,"km_value":34719355979694.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":913456698358673408,"description":"Unknown IO ID 45"} 
[2026-10-05 08:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539622656001,"power":14428,"unknown_221":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":913456698358673408}} 
[2026-10-05 08:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":205800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966314,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:54:23] local.INFO: GPS data processed {"connection_id":205800,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:54:23] local.INFO: Acknowledgment sent {"connection_id":205800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:54:34] local.INFO: TCP Data received {"connection_id":204377,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:54:34] local.INFO: Processing buffer {"connection_id":204377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:54:34] local.INFO: Packet analysis {"connection_id":204377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a14"} 
[2026-10-05 08:54:34] local.INFO: Extracted packet for processing {"connection_id":204377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a14"} 
[2026-10-05 08:54:34] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":34,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539559680001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54: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-10-05 08:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791170458000,"timestamp_ms":1791170458000,"timestamp_seconds":1791170458,"priority":1,"record_length":96,"hex_timestamp":"000001a10a143190"} 
[2026-10-05 08:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:54:34] 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-10-05 08: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 08:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":204377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":204377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":204377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539559680001,"66":25875,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539559680001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:54:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:54:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539559680001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":204377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:54:34] local.INFO: GPS data processed {"connection_id":204377,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:54:34] local.INFO: Acknowledgment sent {"connection_id":204377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:54:38] local.INFO: TCP Data received {"connection_id":204378,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a16fc68012d7bcc4005e95a500005004022..."} 
[2026-10-05 08:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a16fc68012d7bcc4005e95a500005004022..."} 
[2026-10-05 08:54:38] local.INFO: Processing buffer {"connection_id":204378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a16fc68012d7bcc4005e95a500005004022..."} 
[2026-10-05 08:54:38] local.INFO: Packet analysis {"connection_id":204378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a16"} 
[2026-10-05 08:54:38] local.INFO: Extracted packet for processing {"connection_id":204378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a16"} 
[2026-10-05 08:54:38] local.INFO: GPS Element Parsed {"raw_longitude":763087936,"raw_latitude":99179088,"longitude_deg":76.3087936,"latitude_deg":9.9179088,"altitude":5,"angle":64,"satellites":34,"speed":26,"hex_longitude":"2d7bcc40","hex_latitude":"05e95a50","is_valid_coordinates":true} 
[2026-10-05 08:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539682048001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139382099755925504,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916353231396755456,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791170641000,"timestamp_ms":1791170641000,"timestamp_seconds":1791170641,"priority":1,"record_length":96,"hex_timestamp":"000001a10a16fc68"} 
[2026-10-05 08:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-05 08:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539682048001,"66":13504,"156":206,"87":13824,"24":26,"16":139382099755925504,"45":8916353231396755456},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-10-05 08:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539682048001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:54:38] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-10-05 08:54:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139382099755925504,"km_value":139382099755925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916353231396755456,"description":"Unknown IO ID 45"} 
[2026-10-05 08:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539682048001,"power":13504,"unknown_156":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8916353231396755456}} 
[2026-10-05 08:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":204378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:54:38] local.INFO: GPS data processed {"connection_id":204378,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:54:38] local.INFO: Acknowledgment sent {"connection_id":204378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:54:50] local.INFO: TCP Data received {"connection_id":204380,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:54:50] local.INFO: Processing buffer {"connection_id":204380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:54:50] local.INFO: IMEI packet received {"connection_id":204380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 08:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":204380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:54:54] local.INFO: TCP Data received {"connection_id":204380,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:54:54] local.INFO: Processing buffer {"connection_id":204380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:54:54] local.INFO: IMEI packet received {"connection_id":204380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":204380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:54:55] local.INFO: TCP Data received {"connection_id":204380,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1769c8012d0ca9c0070777a0001f011823..."} 
[2026-10-05 08:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1769c8012d0ca9c0070777a0001f011823..."} 
[2026-10-05 08:54:55] local.INFO: Processing buffer {"connection_id":204380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1769c8012d0ca9c0070777a0001f011823..."} 
[2026-10-05 08:54:55] local.INFO: Packet analysis {"connection_id":204380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a17"} 
[2026-10-05 08:54:55] local.INFO: Extracted packet for processing {"connection_id":204380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a17"} 
[2026-10-05 08:54:55] local.INFO: GPS Element Parsed {"raw_longitude":755804608,"raw_latitude":117929888,"longitude_deg":75.5804608,"latitude_deg":11.7929888,"altitude":31,"angle":280,"satellites":35,"speed":14,"hex_longitude":"2d0ca9c0","hex_latitude":"070777a0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 08:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539691008001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34719695282110464,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912893748406859776,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1791170669000,"timestamp_ms":1791170669000,"timestamp_seconds":1791170669,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1769c8"} 
[2026-10-05 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-10-05 08:54: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-10-05 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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-10-05 08:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733143552,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:55] local.WARNING: Large IO value detected {"io_id":192,"raw_value":8445491134070784,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2387752227452223498,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:55] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:55] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504129402699776,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:55] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639226070183901,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:55] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6197216974351958272,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":803012814,"corrected_to":0} 
[2026-10-05 08:54:55] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2818649356,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:55] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3221686111,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:55] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:55] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-5944743779890102242,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:55] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,221,94,24,241,157,16,89,161,97,45,118,30,36,10,66,192,117,1,240,92,227,7,4,113,205,9,27,172,64,239,56,2,123,206,12],"length":628,"final_offset":758,"validated_count":36,"validation_warnings":[{"io_id":205,"original":803012814,"validated":0}]} 
[2026-10-05 08:54:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2234115423283576832,"timestamp_seconds":2234115423283576.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 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-10-05 08:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":204380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":204380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":204380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539691008001,"66":14352,"221":206,"94":10240,"24":14,"16":34719695282110464,"45":912893748406859776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-05 08:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539691008001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:54:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-05 08:54:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 08:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34719695282110464,"km_value":34719695282110.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":912893748406859776,"description":"Unknown IO ID 45"} 
[2026-10-05 08:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539691008001,"power":14352,"unknown_221":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":912893748406859776}} 
[2026-10-05 08:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":204380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966317,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:54:55] local.INFO: GPS data processed {"connection_id":204380,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:54:55] local.INFO: Acknowledgment sent {"connection_id":204380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:54:55] local.INFO: TCP Data received {"connection_id":204381,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:54:55] local.INFO: Processing buffer {"connection_id":204381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:54:55] local.INFO: IMEI packet received {"connection_id":204381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":204381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:54:56] local.INFO: TCP Data received {"connection_id":204380,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a176db0012d0ca800070777c0001f010b24..."} 
[2026-10-05 08:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a176db0012d0ca800070777c0001f010b24..."} 
[2026-10-05 08:54:56] local.INFO: Processing buffer {"connection_id":204380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a176db0012d0ca800070777c0001f010b24..."} 
[2026-10-05 08:54:56] local.INFO: Packet analysis {"connection_id":204380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a17"} 
[2026-10-05 08:54:56] local.INFO: Extracted packet for processing {"connection_id":204380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a17"} 
[2026-10-05 08:54:56] local.INFO: GPS Element Parsed {"raw_longitude":755804160,"raw_latitude":117929920,"longitude_deg":75.580416,"latitude_deg":11.792992,"altitude":31,"angle":267,"satellites":36,"speed":19,"hex_longitude":"2d0ca800","hex_latitude":"070777c0","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539691264001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34719716756946944,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912471535941820416,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1791170670000,"timestamp_ms":1791170670000,"timestamp_seconds":1791170670,"priority":1,"record_length":96,"hex_timestamp":"000001a10a176db0"} 
[2026-10-05 08:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-10-05 08:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733145088,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:56] local.WARNING: Large IO value detected {"io_id":192,"raw_value":8445491134070784,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2387752227436494858,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:56] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:56] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504129402830848,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:56] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639226070183901,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:56] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6269274568389886208,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":803012814,"corrected_to":0} 
[2026-10-05 08:54:56] local.WARNING: Large IO value detected {"io_id":171,"raw_value":3221686113,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:56] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:56] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84737906232985438,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:56] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-5962758178402729954,"note":"Value kept but may cause issues"} 
[2026-10-05 08:54:56] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,221,94,24,241,157,16,89,161,101,45,64,119,31,36,10,66,97,118,30,192,1,240,229,227,7,4,113,205,43,171,184,239,56,2,123,27,206,8,12],"length":628,"final_offset":758,"validated_count":40,"validation_warnings":[{"io_id":205,"original":803012814,"validated":0}]} 
[2026-10-05 08:54:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2234093428756316160,"timestamp_seconds":2234093428756316.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 08:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":204380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":204380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":204380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539691264001,"66":14450,"221":206,"94":10240,"24":19,"16":34719716756946944,"45":912471535941820416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-05 08:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539691264001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:54:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-05 08:54:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 08:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34719716756946944,"km_value":34719716756946.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":912471535941820416,"description":"Unknown IO ID 45"} 
[2026-10-05 08:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539691264001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":912471535941820416}} 
[2026-10-05 08:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":204380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966318,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:54:56] local.INFO: GPS data processed {"connection_id":204380,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:54:56] local.INFO: Acknowledgment sent {"connection_id":204380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:54:59] local.INFO: TCP Data received {"connection_id":205801,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:54:59] local.INFO: Processing buffer {"connection_id":205801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:54:59] local.INFO: IMEI packet received {"connection_id":205801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":205801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:55:00] local.INFO: TCP Data received {"connection_id":204381,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:55:00] local.INFO: Processing buffer {"connection_id":204381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:55:00] local.INFO: IMEI packet received {"connection_id":204381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":204381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:55:01] local.INFO: TCP Data received {"connection_id":204381,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:55:01] local.INFO: Processing buffer {"connection_id":204381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:55:01] local.INFO: Packet analysis {"connection_id":204381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a14"} 
[2026-10-05 08:55:01] local.INFO: Extracted packet for processing {"connection_id":204381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a14"} 
[2026-10-05 08:55:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":34,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539559680001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791170458000,"timestamp_ms":1791170458000,"timestamp_seconds":1791170458,"priority":1,"record_length":96,"hex_timestamp":"000001a10a143190"} 
[2026-10-05 08:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08: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-10-05 08: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 08:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539559680001,"66":25875,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 08:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539559680001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:55:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:55:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539559680001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":204381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:55:01] local.INFO: GPS data processed {"connection_id":204381,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:55:01] local.INFO: Acknowledgment sent {"connection_id":204381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:55:05] local.INFO: TCP Data received {"connection_id":205801,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:55:05] local.INFO: Processing buffer {"connection_id":205801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:55:05] local.INFO: IMEI packet received {"connection_id":205801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":205801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:55:08] local.INFO: TCP Data received {"connection_id":205801,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a170438012d7bd0c005e95bb80005004e22..."} 
[2026-10-05 08:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a170438012d7bd0c005e95bb80005004e22..."} 
[2026-10-05 08:55:08] local.INFO: Processing buffer {"connection_id":205801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a170438012d7bd0c005e95bb80005004e22..."} 
[2026-10-05 08:55:08] local.INFO: Packet analysis {"connection_id":205801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a17"} 
[2026-10-05 08:55:08] local.INFO: Extracted packet for processing {"connection_id":205801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a17"} 
[2026-10-05 08:55:08] local.INFO: GPS Element Parsed {"raw_longitude":763089088,"raw_latitude":99179448,"longitude_deg":76.3089088,"latitude_deg":9.9179448,"altitude":5,"angle":78,"satellites":34,"speed":20,"hex_longitude":"2d7bd0c0","hex_latitude":"05e95bb8","is_valid_coordinates":true} 
[2026-10-05 08:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539684096001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139382159885467648,"note":"Value kept but may cause issues"} 
[2026-10-05 08:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920575356048134144,"note":"Value kept but may cause issues"} 
[2026-10-05 08:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791170643000,"timestamp_ms":1791170643000,"timestamp_seconds":1791170643,"priority":1,"record_length":96,"hex_timestamp":"000001a10a170438"} 
[2026-10-05 08:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:55: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-10-05 08:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-05 08:55:08] 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-10-05 08:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539684096001,"66":13396,"156":206,"87":13824,"24":20,"16":139382159885467648,"45":8920575356048134144},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-10-05 08:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539684096001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:55:08] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-10-05 08:55:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139382159885467648,"km_value":139382159885467.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920575356048134144,"description":"Unknown IO ID 45"} 
[2026-10-05 08:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539684096001,"power":13396,"unknown_156":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8920575356048134144}} 
[2026-10-05 08:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":205801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:55:08] local.INFO: GPS data processed {"connection_id":205801,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:55:08] local.INFO: Acknowledgment sent {"connection_id":205801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:55:18] local.INFO: TCP Data received {"connection_id":204379,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204379,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:55:18] local.INFO: Processing buffer {"connection_id":204379,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:55:18] local.INFO: IMEI packet received {"connection_id":204379,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 08:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":204379,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:55:27] local.INFO: TCP Data received {"connection_id":204380,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a17a460012d0c8f8007077658001700fe24..."} 
[2026-10-05 08:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a17a460012d0c8f8007077658001700fe24..."} 
[2026-10-05 08:55:27] local.INFO: Processing buffer {"connection_id":204380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a17a460012d0c8f8007077658001700fe24..."} 
[2026-10-05 08:55:27] local.INFO: Packet analysis {"connection_id":204380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a17"} 
[2026-10-05 08:55:27] local.INFO: Extracted packet for processing {"connection_id":204380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a17"} 
[2026-10-05 08:55:27] local.INFO: GPS Element Parsed {"raw_longitude":755797888,"raw_latitude":117929560,"longitude_deg":75.5797888,"latitude_deg":11.792956,"altitude":23,"angle":254,"satellites":36,"speed":22,"hex_longitude":"2d0c8f80","hex_latitude":"07077658","is_valid_coordinates":true} 
[2026-10-05 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-10-05 08:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539691520001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34720013109690368,"note":"Value kept but may cause issues"} 
[2026-10-05 08:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":911978954732584960,"note":"Value kept but may cause issues"} 
[2026-10-05 08:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1791170684000,"timestamp_ms":1791170684000,"timestamp_seconds":1791170684,"priority":1,"record_length":96,"hex_timestamp":"000001a10a17a460"} 
[2026-10-05 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-10-05 08:55: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-10-05 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-05 08:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 08:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":204380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":204380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":204380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539691520001,"66":14396,"221":206,"94":10240,"24":22,"16":34720013109690368,"45":911978954732584960},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-05 08:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539691520001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:55:27] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-05 08:55:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 08:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34720013109690368,"km_value":34720013109690.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":911978954732584960,"description":"Unknown IO ID 45"} 
[2026-10-05 08:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539691520001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":911978954732584960}} 
[2026-10-05 08:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":204380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966321,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:55:27] local.INFO: GPS data processed {"connection_id":204380,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:55:27] local.INFO: Acknowledgment sent {"connection_id":204380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:55:32] local.INFO: TCP Data received {"connection_id":204381,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:55:32] local.INFO: Processing buffer {"connection_id":204381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a143190012d7f908005afe5380000000022..."} 
[2026-10-05 08:55:32] local.INFO: Packet analysis {"connection_id":204381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a14"} 
[2026-10-05 08:55:32] local.INFO: Extracted packet for processing {"connection_id":204381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a14"} 
[2026-10-05 08:55:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":34,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539559680001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:55: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-10-05 08:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791170458000,"timestamp_ms":1791170458000,"timestamp_seconds":1791170458,"priority":1,"record_length":96,"hex_timestamp":"000001a10a143190"} 
[2026-10-05 08:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:55:32] 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-10-05 08: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 08:55:32] 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-10-05 08: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-10-05 08:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539559680001,"66":25875,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 08:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539559680001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:55:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:55:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539559680001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":204381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:55:32] local.INFO: GPS data processed {"connection_id":204381,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:55:32] local.INFO: Acknowledgment sent {"connection_id":204381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:55:42] local.INFO: TCP Data received {"connection_id":205803,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:55:42] local.INFO: Processing buffer {"connection_id":205803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:55:42] local.INFO: IMEI packet received {"connection_id":205803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 08:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":205803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:55:45] local.INFO: TCP Data received {"connection_id":205802,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205802,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:55:45] local.INFO: Processing buffer {"connection_id":205802,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:55:45] local.INFO: IMEI packet received {"connection_id":205802,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 08:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":205802,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:55:46] local.INFO: TCP Data received {"connection_id":205802,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205802,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:55:46] local.INFO: Processing buffer {"connection_id":205802,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:55:46] local.INFO: IMEI packet received {"connection_id":205802,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":205802,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:55:47] local.INFO: TCP Data received {"connection_id":205802,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1863c8012d0c3880070771f0001400c224..."} 
[2026-10-05 08:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1863c8012d0c3880070771f0001400c224..."} 
[2026-10-05 08:55:47] local.INFO: Processing buffer {"connection_id":205802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1863c8012d0c3880070771f0001400c224..."} 
[2026-10-05 08:55:47] local.INFO: Packet analysis {"connection_id":205802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 08:55:47] local.INFO: Extracted packet for processing {"connection_id":205802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 08:55:47] local.INFO: GPS Element Parsed {"raw_longitude":755775616,"raw_latitude":117928432,"longitude_deg":75.5775616,"latitude_deg":11.7928432,"altitude":20,"angle":194,"satellites":36,"speed":8,"hex_longitude":"2d0c3880","hex_latitude":"070771f0","is_valid_coordinates":true} 
[2026-10-05 08:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539707392001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34721108326350848,"note":"Value kept but may cause issues"} 
[2026-10-05 08:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880664863573196800,"note":"Value kept but may cause issues"} 
[2026-10-05 08:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791170733000,"timestamp_ms":1791170733000,"timestamp_seconds":1791170733,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1863c8"} 
[2026-10-05 08:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-10-05 08:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":205802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":205802,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":205802,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539707392001,"66":14211,"221":206,"94":10240,"24":8,"16":34721108326350848,"45":880664863573196800},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-05 08:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539707392001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:55:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-05 08:55:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 08:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34721108326350848,"km_value":34721108326350.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":880664863573196800,"description":"Unknown IO ID 45"} 
[2026-10-05 08:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539707392001,"power":14211,"unknown_221":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":880664863573196800}} 
[2026-10-05 08:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":205802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966323,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:55:47] local.INFO: GPS data processed {"connection_id":205802,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:55:47] local.INFO: Acknowledgment sent {"connection_id":205802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:55:48] local.INFO: TCP Data received {"connection_id":205803,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:55:48] local.INFO: Processing buffer {"connection_id":205803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:55:48] local.INFO: IMEI packet received {"connection_id":205803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 08:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":205803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:55:51] local.INFO: TCP Data received {"connection_id":205803,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a109eaa8c0012ca3bf800942227002b400922e..."} 
[2026-10-05 08:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a109eaa8c0012ca3bf800942227002b400922e..."} 
[2026-10-05 08:55:51] local.INFO: Processing buffer {"connection_id":205803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a109eaa8c0012ca3bf800942227002b400922e..."} 
[2026-10-05 08:55:51] local.INFO: Packet analysis {"connection_id":205803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:55:51] local.INFO: Extracted packet for processing {"connection_id":205803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a109ea"} 
[2026-10-05 08:55:51] local.INFO: GPS Element Parsed {"raw_longitude":748928896,"raw_latitude":155329136,"longitude_deg":74.8928896,"latitude_deg":15.5329136,"altitude":692,"angle":146,"satellites":46,"speed":0,"hex_longitude":"2ca3bf80","hex_latitude":"09422270","is_valid_coordinates":true} 
[2026-10-05 08:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458538863360001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8303632072048640,"note":"Value kept but may cause issues"} 
[2026-10-05 08:55:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6647453747722948606,"note":"Value kept but may cause issues"} 
[2026-10-05 08:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,253,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791167736000,"timestamp_ms":1791167736000,"timestamp_seconds":1791167736,"priority":1,"record_length":96,"hex_timestamp":"000001a109eaa8c0"} 
[2026-10-05 08:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 08:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-10-05 08:55:51] 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-10-05 08:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":205803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":205803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 08:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":205803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 08:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 08:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 08:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458538863360001,"66":24723,"101":206,"253":60160,"24":0,"16":8303632072048640,"44":-6647453747722948606},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,253,24,16,44]} 
[2026-10-05 08:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 08:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 08:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458538863360001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:55:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 08:55:51] local.INFO: Unknown IO ID detected {"io_id":253,"value":60160,"description":"Unknown IO ID 253"} 
[2026-10-05 08:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8303632072048640,"km_value":8303632072048.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:55:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6647453747722948606,"description":"Unknown IO ID 44"} 
[2026-10-05 08:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458538863360001,"power":24723,"unknown_101":206,"unknown_253":60160,"ignition":0,"odometer":null,"unknown_44":-6647453747722948606}} 
[2026-10-05 08:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":205803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966324,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:55:51] local.INFO: GPS data processed {"connection_id":205803,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:55:51] local.INFO: Acknowledgment sent {"connection_id":205803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:55:54] local.INFO: TCP Data received {"connection_id":205801,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a174a88012d7bf4c005e963180006004f25..."} 
[2026-10-05 08:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a174a88012d7bf4c005e963180006004f25..."} 
[2026-10-05 08:55:54] local.INFO: Processing buffer {"connection_id":205801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a174a88012d7bf4c005e963180006004f25..."} 
[2026-10-05 08:55:54] local.INFO: Packet analysis {"connection_id":205801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a17"} 
[2026-10-05 08:55:54] local.INFO: Extracted packet for processing {"connection_id":205801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a17"} 
[2026-10-05 08:55:54] local.INFO: GPS Element Parsed {"raw_longitude":763098304,"raw_latitude":99181336,"longitude_deg":76.3098304,"latitude_deg":9.9181336,"altitude":6,"angle":79,"satellites":37,"speed":21,"hex_longitude":"2d7bf4c0","hex_latitude":"05e96318","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539684608001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139382610857033728,"note":"Value kept but may cause issues"} 
[2026-10-05 08:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921841993443424256,"note":"Value kept but may cause issues"} 
[2026-10-05 08:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1791170661000,"timestamp_ms":1791170661000,"timestamp_seconds":1791170661,"priority":1,"record_length":96,"hex_timestamp":"000001a10a174a88"} 
[2026-10-05 08:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:55: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-10-05 08: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-05 08:55:54] 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-10-05 08: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-10-05 08:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":205801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":205801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":205801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539684608001,"66":13820,"156":206,"87":13824,"24":21,"16":139382610857033728,"45":8921841993443424256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-10-05 08:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539684608001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:55:54] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-10-05 08:55:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139382610857033728,"km_value":139382610857033.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921841993443424256,"description":"Unknown IO ID 45"} 
[2026-10-05 08:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539684608001,"power":13820,"unknown_156":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8921841993443424256}} 
[2026-10-05 08:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":205801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:55:54] local.INFO: GPS data processed {"connection_id":205801,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:55:54] local.INFO: Acknowledgment sent {"connection_id":205801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:55:55] local.INFO: TCP Data received {"connection_id":207359,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:55:55] local.INFO: Processing buffer {"connection_id":207359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:55:55] local.INFO: IMEI packet received {"connection_id":207359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":207359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:55:59] local.INFO: TCP Data received {"connection_id":204261,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:55:59] local.INFO: Processing buffer {"connection_id":204261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:55:59] local.INFO: IMEI packet received {"connection_id":204261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":204261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:56:00] local.INFO: TCP Data received {"connection_id":207359,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:56:00] local.INFO: Processing buffer {"connection_id":207359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:56:00] local.INFO: IMEI packet received {"connection_id":207359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":207359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:56:01] local.INFO: TCP Data received {"connection_id":207359,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 08:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 08:56:01] local.INFO: Processing buffer {"connection_id":207359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 08:56:01] local.INFO: Packet analysis {"connection_id":207359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 08:56:01] local.INFO: Extracted packet for processing {"connection_id":207359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 08:56:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539637248001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:56: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-10-05 08:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791170759000,"timestamp_ms":1791170759000,"timestamp_seconds":1791170759,"priority":1,"record_length":96,"hex_timestamp":"000001a10a18c958"} 
[2026-10-05 08:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:56: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-10-05 08: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 08:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08: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-10-05 08:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539637248001,"66":25832,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539637248001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:56:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:56:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539637248001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":207359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:56:01] local.INFO: GPS data processed {"connection_id":207359,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:56:01] local.INFO: Acknowledgment sent {"connection_id":207359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:56:05] local.INFO: TCP Data received {"connection_id":204261,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:56:05] local.INFO: Processing buffer {"connection_id":204261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:56:05] local.INFO: IMEI packet received {"connection_id":204261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":204261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:56:06] local.INFO: TCP Data received {"connection_id":204261,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a18b1e8012d7c8ac005e9b4800006003222..."} 
[2026-10-05 08:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a18b1e8012d7c8ac005e9b4800006003222..."} 
[2026-10-05 08:56:06] local.INFO: Processing buffer {"connection_id":204261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a18b1e8012d7c8ac005e9b4800006003222..."} 
[2026-10-05 08:56:06] local.INFO: Packet analysis {"connection_id":204261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 08:56:06] local.INFO: Extracted packet for processing {"connection_id":204261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 08:56:06] local.INFO: GPS Element Parsed {"raw_longitude":763136704,"raw_latitude":99202176,"longitude_deg":76.3136704,"latitude_deg":9.9202176,"altitude":6,"angle":50,"satellites":34,"speed":6,"hex_longitude":"2d7c8ac0","hex_latitude":"05e9b480","is_valid_coordinates":true} 
[2026-10-05 08:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539712256001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139384955909177344,"note":"Value kept but may cause issues"} 
[2026-10-05 08:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973914864140638208,"note":"Value kept but may cause issues"} 
[2026-10-05 08:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791170753000,"timestamp_ms":1791170753000,"timestamp_seconds":1791170753,"priority":1,"record_length":96,"hex_timestamp":"000001a10a18b1e8"} 
[2026-10-05 08:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-05 08:56:06] 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-10-05 08:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539712256001,"66":13656,"156":206,"87":13824,"24":6,"16":139384955909177344,"45":8973914864140638208},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-10-05 08:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539712256001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:56:06] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-10-05 08:56:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139384955909177344,"km_value":139384955909177.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973914864140638208,"description":"Unknown IO ID 45"} 
[2026-10-05 08:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539712256001,"power":13656,"unknown_156":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8973914864140638208}} 
[2026-10-05 08:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":204261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:56:06] local.INFO: GPS data processed {"connection_id":204261,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:56:06] local.INFO: Acknowledgment sent {"connection_id":204261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:56:18] local.INFO: TCP Data received {"connection_id":205802,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a186f80012d0c37c007076e80001500b624..."} 
[2026-10-05 08:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a186f80012d0c37c007076e80001500b624..."} 
[2026-10-05 08:56:18] local.INFO: Processing buffer {"connection_id":205802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a186f80012d0c37c007076e80001500b624..."} 
[2026-10-05 08:56:18] local.INFO: Packet analysis {"connection_id":205802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 08:56:18] local.INFO: Extracted packet for processing {"connection_id":205802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 08:56:18] local.INFO: GPS Element Parsed {"raw_longitude":755775424,"raw_latitude":117927552,"longitude_deg":75.5775424,"latitude_deg":11.7927552,"altitude":21,"angle":182,"satellites":36,"speed":15,"hex_longitude":"2d0c37c0","hex_latitude":"07076e80","is_valid_coordinates":true} 
[2026-10-05 08:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539707648001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34721151276023808,"note":"Value kept but may cause issues"} 
[2026-10-05 08:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880594494828965888,"note":"Value kept but may cause issues"} 
[2026-10-05 08:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791170736000,"timestamp_ms":1791170736000,"timestamp_seconds":1791170736,"priority":1,"record_length":96,"hex_timestamp":"000001a10a186f80"} 
[2026-10-05 08:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-05 08:56:18] 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-10-05 08:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":205802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":205802,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":205802,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 08:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 08:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 08:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539707648001,"66":14428,"221":206,"94":10240,"24":15,"16":34721151276023808,"45":880594494828965888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-05 08:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 08:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 08:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539707648001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:56:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-05 08:56:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 08:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34721151276023808,"km_value":34721151276023.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":880594494828965888,"description":"Unknown IO ID 45"} 
[2026-10-05 08:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539707648001,"power":14428,"unknown_221":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":880594494828965888}} 
[2026-10-05 08:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":205802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966328,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:56:18] local.INFO: GPS data processed {"connection_id":205802,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:56:18] local.INFO: Acknowledgment sent {"connection_id":205802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:56:32] local.INFO: TCP Data received {"connection_id":207359,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 08:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 08:56:32] local.INFO: Processing buffer {"connection_id":207359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 08:56:32] local.INFO: Packet analysis {"connection_id":207359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 08:56:32] local.INFO: Extracted packet for processing {"connection_id":207359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 08:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539637248001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:56: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-10-05 08:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791170759000,"timestamp_ms":1791170759000,"timestamp_seconds":1791170759,"priority":1,"record_length":96,"hex_timestamp":"000001a10a18c958"} 
[2026-10-05 08:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:56:32] 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-10-05 08:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 08:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:56: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-10-05 08:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539637248001,"66":25832,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539637248001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:56:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:56:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539637248001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":207359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:56:32] local.INFO: GPS data processed {"connection_id":207359,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:56:32] local.INFO: Acknowledgment sent {"connection_id":207359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:56:33] local.INFO: TCP Data received {"connection_id":204382,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204382,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:56:33] local.INFO: Processing buffer {"connection_id":204382,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 08:56:33] local.INFO: IMEI packet received {"connection_id":204382,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 08:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":204382,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:56:42] local.INFO: TCP Data received {"connection_id":205804,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205804,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:56:42] local.INFO: Processing buffer {"connection_id":205804,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:56:42] local.INFO: IMEI packet received {"connection_id":205804,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 08:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":205804,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:56:43] local.INFO: TCP Data received {"connection_id":205804,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205804,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:56:43] local.INFO: Processing buffer {"connection_id":205804,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:56:43] local.INFO: IMEI packet received {"connection_id":205804,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":205804,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:56:44] local.INFO: TCP Data received {"connection_id":205804,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205804,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:56:44] local.INFO: Processing buffer {"connection_id":205804,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:56:44] local.INFO: IMEI packet received {"connection_id":205804,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":205804,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:56:45] local.INFO: TCP Data received {"connection_id":205804,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205804,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:56:45] local.INFO: Processing buffer {"connection_id":205804,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 08:56:45] local.INFO: IMEI packet received {"connection_id":205804,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 08:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":205804,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:56:46] local.INFO: TCP Data received {"connection_id":204261,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a18b5d0012d7c8b4005e9b4f00006004222..."} 
[2026-10-05 08:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a18b5d0012d7c8b4005e9b4f00006004222..."} 
[2026-10-05 08:56:46] local.INFO: Processing buffer {"connection_id":204261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a18b5d0012d7c8b4005e9b4f00006004222..."} 
[2026-10-05 08:56:46] local.INFO: Packet analysis {"connection_id":204261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 08:56:46] local.INFO: Extracted packet for processing {"connection_id":204261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 08:56:46] local.INFO: GPS Element Parsed {"raw_longitude":763136832,"raw_latitude":99202288,"longitude_deg":76.3136832,"latitude_deg":9.9202288,"altitude":6,"angle":66,"satellites":34,"speed":6,"hex_longitude":"2d7c8b40","hex_latitude":"05e9b4f0","is_valid_coordinates":true} 
[2026-10-05 08:56: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-10-05 08:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539712768001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139384964499111936,"note":"Value kept but may cause issues"} 
[2026-10-05 08:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974196339117424640,"note":"Value kept but may cause issues"} 
[2026-10-05 08:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791170754000,"timestamp_ms":1791170754000,"timestamp_seconds":1791170754,"priority":1,"record_length":96,"hex_timestamp":"000001a10a18b5d0"} 
[2026-10-05 08:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-05 08:56:46] 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-10-05 08:56: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-10-05 08:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539712768001,"66":13906,"9":206,"87":13824,"24":6,"16":139384964499111936,"45":8974196339117424640},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-10-05 08:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539712768001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:56:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-10-05 08:56:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139384964499111936,"km_value":139384964499111.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974196339117424640,"description":"Unknown IO ID 45"} 
[2026-10-05 08:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539712768001,"power":13906,"unknown_9":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8974196339117424640}} 
[2026-10-05 08:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":204261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:56:46] local.INFO: GPS data processed {"connection_id":204261,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:56:46] local.INFO: Acknowledgment sent {"connection_id":204261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:56:55] local.INFO: TCP Data received {"connection_id":204383,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:56:55] local.INFO: Processing buffer {"connection_id":204383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:56:55] local.INFO: IMEI packet received {"connection_id":204383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":204383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:56:59] local.INFO: TCP Data received {"connection_id":204384,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:56:59] local.INFO: Processing buffer {"connection_id":204384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:56:59] local.INFO: IMEI packet received {"connection_id":204384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":204384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:57:00] local.INFO: TCP Data received {"connection_id":204383,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:57:00] local.INFO: Processing buffer {"connection_id":204383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:57:00] local.INFO: IMEI packet received {"connection_id":204383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":204383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:57:01] local.INFO: TCP Data received {"connection_id":204383,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 08:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 08:57:01] local.INFO: Processing buffer {"connection_id":204383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 08:57:01] local.INFO: Packet analysis {"connection_id":204383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 08:57:01] local.INFO: Extracted packet for processing {"connection_id":204383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 08:57:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539637248001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791170759000,"timestamp_ms":1791170759000,"timestamp_seconds":1791170759,"priority":1,"record_length":96,"hex_timestamp":"000001a10a18c958"} 
[2026-10-05 08:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:57: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-10-05 08: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 08:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:57: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-10-05 08:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539637248001,"66":25832,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539637248001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:57:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:57:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539637248001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":204383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:57:01] local.INFO: GPS data processed {"connection_id":204383,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:57:01] local.INFO: Acknowledgment sent {"connection_id":204383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:57:05] local.INFO: TCP Data received {"connection_id":204384,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:57:05] local.INFO: Processing buffer {"connection_id":204384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:57:05] local.INFO: IMEI packet received {"connection_id":204384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":204384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:57:05] local.INFO: TCP Data received {"connection_id":204384,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a197920012d7cd14005e9b6d00005005623..."} 
[2026-10-05 08:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a197920012d7cd14005e9b6d00005005623..."} 
[2026-10-05 08:57:05] local.INFO: Processing buffer {"connection_id":204384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a197920012d7cd14005e9b6d00005005623..."} 
[2026-10-05 08:57:05] local.INFO: Packet analysis {"connection_id":204384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a19"} 
[2026-10-05 08:57:05] local.INFO: Extracted packet for processing {"connection_id":204384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a19"} 
[2026-10-05 08:57:05] local.INFO: GPS Element Parsed {"raw_longitude":763154752,"raw_latitude":99202768,"longitude_deg":76.3154752,"latitude_deg":9.9202768,"altitude":5,"angle":86,"satellites":35,"speed":15,"hex_longitude":"2d7cd140","hex_latitude":"05e9b6d0","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539725568001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139385892212047872,"note":"Value kept but may cause issues"} 
[2026-10-05 08:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993618112510615552,"note":"Value kept but may cause issues"} 
[2026-10-05 08:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791170804000,"timestamp_ms":1791170804000,"timestamp_seconds":1791170804,"priority":1,"record_length":96,"hex_timestamp":"000001a10a197920"} 
[2026-10-05 08:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:57: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-10-05 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 08:57:05] 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-10-05 08: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-10-05 08:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539725568001,"66":13820,"9":206,"87":13824,"24":15,"16":139385892212047872,"45":8993618112510615552},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-10-05 08:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539725568001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:57:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-10-05 08:57:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139385892212047872,"km_value":139385892212047.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993618112510615552,"description":"Unknown IO ID 45"} 
[2026-10-05 08:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539725568001,"power":13820,"unknown_9":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8993618112510615552}} 
[2026-10-05 08:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":204384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:57:06] local.INFO: GPS data processed {"connection_id":204384,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:57:06] local.INFO: Acknowledgment sent {"connection_id":204384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:57:32] local.INFO: TCP Data received {"connection_id":204383,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 08:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 08:57:32] local.INFO: Processing buffer {"connection_id":204383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 08:57:32] local.INFO: Packet analysis {"connection_id":204383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 08:57:32] local.INFO: Extracted packet for processing {"connection_id":204383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 08:57:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539637248001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:57: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-10-05 08:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791170759000,"timestamp_ms":1791170759000,"timestamp_seconds":1791170759,"priority":1,"record_length":96,"hex_timestamp":"000001a10a18c958"} 
[2026-10-05 08:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:57:32] 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-10-05 08: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 08:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08: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-10-05 08:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:57: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-10-05 08:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539637248001,"66":25832,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539637248001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:57:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:57:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539637248001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":204383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:57:32] local.INFO: GPS data processed {"connection_id":204383,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:57:32] local.INFO: Acknowledgment sent {"connection_id":204383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:57:37] local.INFO: TCP Data received {"connection_id":204384,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1980f0012d7cd58005e9b7980003004724..."} 
[2026-10-05 08:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1980f0012d7cd58005e9b7980003004724..."} 
[2026-10-05 08:57:37] local.INFO: Processing buffer {"connection_id":204384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1980f0012d7cd58005e9b7980003004724..."} 
[2026-10-05 08:57:37] local.INFO: Packet analysis {"connection_id":204384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a19"} 
[2026-10-05 08:57:37] local.INFO: Extracted packet for processing {"connection_id":204384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a19"} 
[2026-10-05 08:57:37] local.INFO: GPS Element Parsed {"raw_longitude":763155840,"raw_latitude":99202968,"longitude_deg":76.315584,"latitude_deg":9.9202968,"altitude":3,"angle":71,"satellites":36,"speed":24,"hex_longitude":"2d7cd580","hex_latitude":"05e9b798","is_valid_coordinates":true} 
[2026-10-05 08:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539725824001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139385943751655424,"note":"Value kept but may cause issues"} 
[2026-10-05 08:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994040324975677440,"note":"Value kept but may cause issues"} 
[2026-10-05 08:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791170806000,"timestamp_ms":1791170806000,"timestamp_seconds":1791170806,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1980f0"} 
[2026-10-05 08:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:57: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-10-05 08:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 08:57:37] 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-10-05 08:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539725824001,"66":13689,"9":206,"87":13824,"24":24,"16":139385943751655424,"45":8994040324975677440},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-10-05 08:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539725824001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:57:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-10-05 08:57:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139385943751655424,"km_value":139385943751655.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994040324975677440,"description":"Unknown IO ID 45"} 
[2026-10-05 08:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539725824001,"power":13689,"unknown_9":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8994040324975677440}} 
[2026-10-05 08:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":204384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:57:37] local.INFO: GPS data processed {"connection_id":204384,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:57:37] local.INFO: Acknowledgment sent {"connection_id":204384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:58:00] local.INFO: TCP Data received {"connection_id":204264,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:58:00] local.INFO: Processing buffer {"connection_id":204264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:58:00] local.INFO: IMEI packet received {"connection_id":204264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":204264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:58:00] local.INFO: TCP Data received {"connection_id":205805,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:58:00] local.INFO: Processing buffer {"connection_id":205805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:58:00] local.INFO: IMEI packet received {"connection_id":205805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":205805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:58:05] local.INFO: TCP Data received {"connection_id":205805,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:58:05] local.INFO: Processing buffer {"connection_id":205805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:58:05] local.INFO: IMEI packet received {"connection_id":205805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":205805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:58:06] local.INFO: TCP Data received {"connection_id":204264,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:58:06] local.INFO: Processing buffer {"connection_id":204264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:58:06] local.INFO: IMEI packet received {"connection_id":204264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":204264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:58:06] local.INFO: TCP Data received {"connection_id":205805,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 08:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 08:58:06] local.INFO: Processing buffer {"connection_id":205805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 08:58:06] local.INFO: Packet analysis {"connection_id":205805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 08:58:06] local.INFO: Extracted packet for processing {"connection_id":205805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 08:58:06] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539637248001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08: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-10-05 08:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791170759000,"timestamp_ms":1791170759000,"timestamp_seconds":1791170759,"priority":1,"record_length":96,"hex_timestamp":"000001a10a18c958"} 
[2026-10-05 08:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:58:06] 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-10-05 08:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 08:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539637248001,"66":25832,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539637248001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:58:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:58:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539637248001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":205805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:58:06] local.INFO: GPS data processed {"connection_id":205805,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:58:06] local.INFO: Acknowledgment sent {"connection_id":205805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:58:07] local.INFO: TCP Data received {"connection_id":204264,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a199478012d7ce2c005e9baf80002005522..."} 
[2026-10-05 08:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a199478012d7ce2c005e9baf80002005522..."} 
[2026-10-05 08:58:07] local.INFO: Processing buffer {"connection_id":204264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a199478012d7ce2c005e9baf80002005522..."} 
[2026-10-05 08:58:07] local.INFO: Packet analysis {"connection_id":204264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a19"} 
[2026-10-05 08:58:07] local.INFO: Extracted packet for processing {"connection_id":204264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a19"} 
[2026-10-05 08:58:07] local.INFO: GPS Element Parsed {"raw_longitude":763159232,"raw_latitude":99203832,"longitude_deg":76.3159232,"latitude_deg":9.9203832,"altitude":2,"angle":85,"satellites":34,"speed":32,"hex_longitude":"2d7ce2c0","hex_latitude":"05e9baf8","is_valid_coordinates":true} 
[2026-10-05 08: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-10-05 08:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539726336001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139386111255379968,"note":"Value kept but may cause issues"} 
[2026-10-05 08:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995236593626748928,"note":"Value kept but may cause issues"} 
[2026-10-05 08:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791170811000,"timestamp_ms":1791170811000,"timestamp_seconds":1791170811,"priority":1,"record_length":96,"hex_timestamp":"000001a10a199478"} 
[2026-10-05 08:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-10-05 08:58:07] 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-10-05 08: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-10-05 08:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539726336001,"66":13189,"192":206,"87":13824,"24":32,"16":139386111255379968,"45":8995236593626748928},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-10-05 08:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539726336001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:58:07] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-10-05 08:58:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139386111255379968,"km_value":139386111255379.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995236593626748928,"description":"Unknown IO ID 45"} 
[2026-10-05 08:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539726336001,"power":13189,"unknown_192":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8995236593626748928}} 
[2026-10-05 08:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":204264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:58:07] local.INFO: GPS data processed {"connection_id":204264,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:58:07] local.INFO: Acknowledgment sent {"connection_id":204264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:58:11] local.INFO: TCP Data received {"connection_id":205805,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 08:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 08:58:11] local.INFO: Processing buffer {"connection_id":205805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 08:58:11] local.INFO: Packet analysis {"connection_id":205805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 08:58:11] local.INFO: Extracted packet for processing {"connection_id":205805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 08:58:11] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539637248001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791170759000,"timestamp_ms":1791170759000,"timestamp_seconds":1791170759,"priority":1,"record_length":96,"hex_timestamp":"000001a10a18c958"} 
[2026-10-05 08:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:58:11] 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-10-05 08:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 08:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539637248001,"66":25832,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539637248001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:58:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539637248001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":205805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:58:11] local.INFO: GPS data processed {"connection_id":205805,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:58:11] local.INFO: Acknowledgment sent {"connection_id":205805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:58:39] local.INFO: TCP Data received {"connection_id":204264,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a19c358012d7d078005e9be480001004d23..."} 
[2026-10-05 08:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a19c358012d7d078005e9be480001004d23..."} 
[2026-10-05 08:58:39] local.INFO: Processing buffer {"connection_id":204264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a19c358012d7d078005e9be480001004d23..."} 
[2026-10-05 08:58:39] local.INFO: Packet analysis {"connection_id":204264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a19"} 
[2026-10-05 08:58:39] local.INFO: Extracted packet for processing {"connection_id":204264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a19"} 
[2026-10-05 08:58:39] local.INFO: GPS Element Parsed {"raw_longitude":763168640,"raw_latitude":99204680,"longitude_deg":76.316864,"latitude_deg":9.920468,"altitude":1,"angle":77,"satellites":35,"speed":30,"hex_longitude":"2d7d0780","hex_latitude":"05e9be48","is_valid_coordinates":true} 
[2026-10-05 08:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539727616001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139386562226946048,"note":"Value kept but may cause issues"} 
[2026-10-05 08:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998966137068386304,"note":"Value kept but may cause issues"} 
[2026-10-05 08:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791170823000,"timestamp_ms":1791170823000,"timestamp_seconds":1791170823,"priority":1,"record_length":96,"hex_timestamp":"000001a10a19c358"} 
[2026-10-05 08:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:58: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-10-05 08:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 08:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":204264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":204264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":204264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539727616001,"66":13472,"192":206,"87":13824,"24":30,"16":139386562226946048,"45":8998966137068386304},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-10-05 08:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539727616001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:58:39] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-10-05 08:58:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139386562226946048,"km_value":139386562226946.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998966137068386304,"description":"Unknown IO ID 45"} 
[2026-10-05 08:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539727616001,"power":13472,"unknown_192":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8998966137068386304}} 
[2026-10-05 08:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":204264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:58:39] local.INFO: GPS data processed {"connection_id":204264,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:58:39] local.INFO: Acknowledgment sent {"connection_id":204264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:58:55] local.INFO: TCP Data received {"connection_id":205806,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:58:55] local.INFO: Processing buffer {"connection_id":205806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:58:55] local.INFO: IMEI packet received {"connection_id":205806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":205806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:59:00] local.INFO: TCP Data received {"connection_id":205806,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:59:00] local.INFO: Processing buffer {"connection_id":205806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:59:00] local.INFO: IMEI packet received {"connection_id":205806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 08:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":205806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:59:01] local.INFO: TCP Data received {"connection_id":205806,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 08:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 08:59:01] local.INFO: Processing buffer {"connection_id":205806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 08:59:01] local.INFO: Packet analysis {"connection_id":205806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 08:59:01] local.INFO: Extracted packet for processing {"connection_id":205806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 08:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539637248001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:59: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-10-05 08:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791170759000,"timestamp_ms":1791170759000,"timestamp_seconds":1791170759,"priority":1,"record_length":96,"hex_timestamp":"000001a10a18c958"} 
[2026-10-05 08:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:59: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-10-05 08:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 08:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:59: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-10-05 08:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539637248001,"66":25832,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539637248001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:59:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:59:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539637248001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":205806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:59:01] local.INFO: GPS data processed {"connection_id":205806,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:59:01] local.INFO: Acknowledgment sent {"connection_id":205806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:59:01] local.INFO: TCP Data received {"connection_id":204265,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:59:01] local.INFO: Processing buffer {"connection_id":204265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:59:01] local.INFO: IMEI packet received {"connection_id":204265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 08:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":204265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 08:59:03] local.INFO: TCP Data received {"connection_id":204265,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:59:03] local.INFO: Processing buffer {"connection_id":204265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 08:59:03] local.INFO: IMEI packet received {"connection_id":204265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 08:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":204265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 08:59:10] local.INFO: TCP Data received {"connection_id":204265,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1b1348012d7d188005ea35a8000e000026..."} 
[2026-10-05 08:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1b1348012d7d188005ea35a8000e000026..."} 
[2026-10-05 08:59:10] local.INFO: Processing buffer {"connection_id":204265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1b1348012d7d188005ea35a8000e000026..."} 
[2026-10-05 08:59:10] local.INFO: Packet analysis {"connection_id":204265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1b"} 
[2026-10-05 08:59:10] local.INFO: Extracted packet for processing {"connection_id":204265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1b"} 
[2026-10-05 08:59:10] local.INFO: GPS Element Parsed {"raw_longitude":763172992,"raw_latitude":99235240,"longitude_deg":76.3172992,"latitude_deg":9.923524,"altitude":14,"angle":0,"satellites":38,"speed":11,"hex_longitude":"2d7d1880","hex_latitude":"05ea35a8","is_valid_coordinates":true} 
[2026-10-05 08:59: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-10-05 08:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539752192001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139388159954780160,"note":"Value kept but may cause issues"} 
[2026-10-05 08:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013954679586158592,"note":"Value kept but may cause issues"} 
[2026-10-05 08:59:10] 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-10-05 08:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791170909000,"timestamp_ms":1791170909000,"timestamp_seconds":1791170909,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1b1348"} 
[2026-10-05 08:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 08:59: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-05 08:59:10] 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-10-05 08:59: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-10-05 08:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539752192001,"66":13961,"154":206,"87":13824,"24":11,"16":139388159954780160,"45":9013954679586158592},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-10-05 08:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539752192001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:59:10] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-10-05 08:59:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139388159954780160,"km_value":139388159954780.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013954679586158592,"description":"Unknown IO ID 45"} 
[2026-10-05 08:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539752192001,"power":13961,"unknown_154":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9013954679586158592}} 
[2026-10-05 08:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":204265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:59:10] local.INFO: GPS data processed {"connection_id":204265,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:59:10] local.INFO: Acknowledgment sent {"connection_id":204265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:59:11] local.INFO: TCP Data received {"connection_id":204265,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1b4de0012d7d1ac005ea5ab8000f000326..."} 
[2026-10-05 08:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1b4de0012d7d1ac005ea5ab8000f000326..."} 
[2026-10-05 08:59:11] local.INFO: Processing buffer {"connection_id":204265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1b4de0012d7d1ac005ea5ab8000f000326..."} 
[2026-10-05 08:59:11] local.INFO: Packet analysis {"connection_id":204265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1b"} 
[2026-10-05 08:59:11] local.INFO: Extracted packet for processing {"connection_id":204265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1b"} 
[2026-10-05 08:59:11] local.INFO: GPS Element Parsed {"raw_longitude":763173568,"raw_latitude":99244728,"longitude_deg":76.3173568,"latitude_deg":9.9244728,"altitude":15,"angle":3,"satellites":38,"speed":30,"hex_longitude":"2d7d1ac0","hex_latitude":"05ea5ab8","is_valid_coordinates":true} 
[2026-10-05 08:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539752704001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139388623811248128,"note":"Value kept but may cause issues"} 
[2026-10-05 08:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014095417074624512,"note":"Value kept but may cause issues"} 
[2026-10-05 08:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791170924000,"timestamp_ms":1791170924000,"timestamp_seconds":1791170924,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1b4de0"} 
[2026-10-05 08:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:59: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-10-05 08:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-05 08:59:11] 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-10-05 08:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539752704001,"66":13765,"154":206,"87":13824,"24":30,"16":139388623811248128,"45":9014095417074624512},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-10-05 08:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539752704001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:59:11] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-10-05 08:59:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139388623811248128,"km_value":139388623811248.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014095417074624512,"description":"Unknown IO ID 45"} 
[2026-10-05 08:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539752704001,"power":13765,"unknown_154":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":9014095417074624512}} 
[2026-10-05 08:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":204265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966341,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:59:11] local.INFO: GPS data processed {"connection_id":204265,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:59:11] local.INFO: Acknowledgment sent {"connection_id":204265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:59:32] local.INFO: TCP Data received {"connection_id":205806,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 08:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 08:59:32] local.INFO: Processing buffer {"connection_id":205806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 08:59:32] local.INFO: Packet analysis {"connection_id":205806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 08:59:32] local.INFO: Extracted packet for processing {"connection_id":205806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 08:59:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 08:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539637248001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 08:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 08:59: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-10-05 08:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791170759000,"timestamp_ms":1791170759000,"timestamp_seconds":1791170759,"priority":1,"record_length":96,"hex_timestamp":"000001a10a18c958"} 
[2026-10-05 08:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:59:32] 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-10-05 08:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 08:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 08:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 08:59: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-10-05 08:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 08:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 08:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539637248001,"66":25832,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 08:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 08:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 08:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539637248001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:59:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 08:59:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 08:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 08:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539637248001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 08:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":205806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:59:32] local.INFO: GPS data processed {"connection_id":205806,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:59:32] local.INFO: Acknowledgment sent {"connection_id":205806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:59:42] local.INFO: TCP Data received {"connection_id":204265,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1b8c60012d7d1cc005ea7e28000b000122..."} 
[2026-10-05 08:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1b8c60012d7d1cc005ea7e28000b000122..."} 
[2026-10-05 08:59:42] local.INFO: Processing buffer {"connection_id":204265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1b8c60012d7d1cc005ea7e28000b000122..."} 
[2026-10-05 08:59:42] local.INFO: Packet analysis {"connection_id":204265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1b"} 
[2026-10-05 08:59:42] local.INFO: Extracted packet for processing {"connection_id":204265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1b"} 
[2026-10-05 08:59:42] local.INFO: GPS Element Parsed {"raw_longitude":763174080,"raw_latitude":99253800,"longitude_deg":76.317408,"latitude_deg":9.92538,"altitude":11,"angle":1,"satellites":34,"speed":10,"hex_longitude":"2d7d1cc0","hex_latitude":"05ea7e28","is_valid_coordinates":true} 
[2026-10-05 08:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 08:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539756544001,"note":"Value kept but may cause issues"} 
[2026-10-05 08:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139389061897912320,"note":"Value kept but may cause issues"} 
[2026-10-05 08:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014728735774652416,"note":"Value kept but may cause issues"} 
[2026-10-05 08:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 08:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791170940000,"timestamp_ms":1791170940000,"timestamp_seconds":1791170940,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1b8c60"} 
[2026-10-05 08:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 08:59: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-10-05 08:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-10-05 08:59:42] 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-10-05 08:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 08:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 08:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 08:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 08:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 08:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 08:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 08:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 08:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539756544001,"66":14048,"154":206,"87":13824,"24":10,"16":139389061897912320,"45":9014728735774652416},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-10-05 08:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 08:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 08:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539756544001,"description":"Unknown IO ID 0"} 
[2026-10-05 08:59:42] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-10-05 08:59:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 08:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139389061897912320,"km_value":139389061897912.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 08:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014728735774652416,"description":"Unknown IO ID 45"} 
[2026-10-05 08:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539756544001,"power":14048,"unknown_154":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9014728735774652416}} 
[2026-10-05 08:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":204265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966343,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 08:59:42] local.INFO: GPS data processed {"connection_id":204265,"processed":1,"errors":0,"total":1} 
[2026-10-05 08:59:42] local.INFO: Acknowledgment sent {"connection_id":204265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 08:59:55] local.INFO: TCP Data received {"connection_id":204387,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:59:55] local.INFO: Processing buffer {"connection_id":204387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 08:59:55] local.INFO: IMEI packet received {"connection_id":204387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 08:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":204387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:00:00] local.INFO: TCP Data received {"connection_id":205807,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:00:00] local.INFO: Processing buffer {"connection_id":205807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:00:00] local.INFO: IMEI packet received {"connection_id":205807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":205807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:00:00] local.INFO: TCP Data received {"connection_id":204387,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:00:00] local.INFO: Processing buffer {"connection_id":204387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:00:00] local.INFO: IMEI packet received {"connection_id":204387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":204387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:00:01] local.INFO: TCP Data received {"connection_id":204387,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 09:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 09:00:01] local.INFO: Processing buffer {"connection_id":204387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 09:00:01] local.INFO: Packet analysis {"connection_id":204387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 09:00:01] local.INFO: Extracted packet for processing {"connection_id":204387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 09:00:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539637248001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791170759000,"timestamp_ms":1791170759000,"timestamp_seconds":1791170759,"priority":1,"record_length":96,"hex_timestamp":"000001a10a18c958"} 
[2026-10-05 09:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:00: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-10-05 09:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 09:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:00: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-10-05 09:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539637248001,"66":25832,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539637248001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:00:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:00:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539637248001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":204387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:00:01] local.INFO: GPS data processed {"connection_id":204387,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:00:01] local.INFO: Acknowledgment sent {"connection_id":204387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:00:05] local.INFO: TCP Data received {"connection_id":205807,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:00:05] local.INFO: Processing buffer {"connection_id":205807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:00:05] local.INFO: IMEI packet received {"connection_id":205807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":205807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:00:06] local.INFO: TCP Data received {"connection_id":205807,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1b9048012d7d1cc005ea7f40000a015d22..."} 
[2026-10-05 09:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1b9048012d7d1cc005ea7f40000a015d22..."} 
[2026-10-05 09:00:06] local.INFO: Processing buffer {"connection_id":205807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1b9048012d7d1cc005ea7f40000a015d22..."} 
[2026-10-05 09:00:06] local.INFO: Packet analysis {"connection_id":205807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1b"} 
[2026-10-05 09:00:06] local.INFO: Extracted packet for processing {"connection_id":205807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1b"} 
[2026-10-05 09:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763174080,"raw_latitude":99254080,"longitude_deg":76.317408,"latitude_deg":9.925408,"altitude":10,"angle":349,"satellites":34,"speed":12,"hex_longitude":"2d7d1cc0","hex_latitude":"05ea7f40","is_valid_coordinates":true} 
[2026-10-05 09:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539760640001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139389079077781504,"note":"Value kept but may cause issues"} 
[2026-10-05 09:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015291685730396160,"note":"Value kept but may cause issues"} 
[2026-10-05 09:00:06] 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-10-05 09:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791170941000,"timestamp_ms":1791170941000,"timestamp_seconds":1791170941,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1b9048"} 
[2026-10-05 09:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-05 09:00:06] 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-10-05 09:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539760640001,"66":14048,"154":206,"87":13824,"24":12,"16":139389079077781504,"45":9015291685730396160},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-10-05 09:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539760640001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:00:06] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-10-05 09:00:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139389079077781504,"km_value":139389079077781.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015291685730396160,"description":"Unknown IO ID 45"} 
[2026-10-05 09:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539760640001,"power":14048,"unknown_154":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9015291685730396160}} 
[2026-10-05 09:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":205807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:00:06] local.INFO: GPS data processed {"connection_id":205807,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:00:06] local.INFO: Acknowledgment sent {"connection_id":205807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:00:32] local.INFO: TCP Data received {"connection_id":204387,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 09:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 09:00:32] local.INFO: Processing buffer {"connection_id":204387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 09:00:32] local.INFO: Packet analysis {"connection_id":204387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 09:00:32] local.INFO: Extracted packet for processing {"connection_id":204387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 09:00:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09:00: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-10-05 09:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539637248001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:00: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-10-05 09:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791170759000,"timestamp_ms":1791170759000,"timestamp_seconds":1791170759,"priority":1,"record_length":96,"hex_timestamp":"000001a10a18c958"} 
[2026-10-05 09:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:00:32] 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-10-05 09:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 09:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09:00: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-10-05 09:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:00: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-10-05 09:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539637248001,"66":25832,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539637248001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:00:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:00:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539637248001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":204387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:00:32] local.INFO: GPS data processed {"connection_id":204387,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:00:32] local.INFO: Acknowledgment sent {"connection_id":204387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:00:37] local.INFO: TCP Data received {"connection_id":205807,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1ba3d0012d7d1c0005ea86a0000a000621..."} 
[2026-10-05 09:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1ba3d0012d7d1c0005ea86a0000a000621..."} 
[2026-10-05 09:00:37] local.INFO: Processing buffer {"connection_id":205807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1ba3d0012d7d1c0005ea86a0000a000621..."} 
[2026-10-05 09:00:37] local.INFO: Packet analysis {"connection_id":205807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1b"} 
[2026-10-05 09:00:37] local.INFO: Extracted packet for processing {"connection_id":205807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1b"} 
[2026-10-05 09:00:37] local.INFO: GPS Element Parsed {"raw_longitude":763173888,"raw_latitude":99255968,"longitude_deg":76.3173888,"latitude_deg":9.9255968,"altitude":10,"angle":6,"satellites":33,"speed":7,"hex_longitude":"2d7d1c00","hex_latitude":"05ea86a0","is_valid_coordinates":true} 
[2026-10-05 09:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539760896001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139389169272094720,"note":"Value kept but may cause issues"} 
[2026-10-05 09:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015291685730467840,"note":"Value kept but may cause issues"} 
[2026-10-05 09:00:37] 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-10-05 09:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791170946000,"timestamp_ms":1791170946000,"timestamp_seconds":1791170946,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1ba3d0"} 
[2026-10-05 09:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:00: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-10-05 09:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-05 09:00: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-10-05 09:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539760896001,"66":13319,"154":206,"87":13824,"24":7,"16":139389169272094720,"45":9015291685730467840},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-10-05 09:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539760896001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:00:37] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-10-05 09:00:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139389169272094720,"km_value":139389169272094.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015291685730467840,"description":"Unknown IO ID 45"} 
[2026-10-05 09:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539760896001,"power":13319,"unknown_154":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9015291685730467840}} 
[2026-10-05 09:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":205807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:00:37] local.INFO: GPS data processed {"connection_id":205807,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:00:37] local.INFO: Acknowledgment sent {"connection_id":205807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:00:55] local.INFO: TCP Data received {"connection_id":204388,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:00:55] local.INFO: Processing buffer {"connection_id":204388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:00:55] local.INFO: IMEI packet received {"connection_id":204388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":204388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:00:59] local.INFO: TCP Data received {"connection_id":204267,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204267,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:00:59] local.INFO: Processing buffer {"connection_id":204267,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:00:59] local.INFO: IMEI packet received {"connection_id":204267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":204267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:01:00] local.INFO: TCP Data received {"connection_id":204388,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:01:00] local.INFO: Processing buffer {"connection_id":204388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:01:00] local.INFO: IMEI packet received {"connection_id":204388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":204388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:01:02] local.INFO: TCP Data received {"connection_id":204388,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 09:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 09:01:02] local.INFO: Processing buffer {"connection_id":204388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a18c958012d7f908005afe5380000000026..."} 
[2026-10-05 09:01:02] local.INFO: Packet analysis {"connection_id":204388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 09:01:02] local.INFO: Extracted packet for processing {"connection_id":204388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a18"} 
[2026-10-05 09:01:02] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539637248001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:01: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-10-05 09:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791170759000,"timestamp_ms":1791170759000,"timestamp_seconds":1791170759,"priority":1,"record_length":96,"hex_timestamp":"000001a10a18c958"} 
[2026-10-05 09:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:01: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-10-05 09:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 09:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:01: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-10-05 09:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539637248001,"66":25832,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539637248001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:01:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:01:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539637248001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":204388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:01:02] local.INFO: GPS data processed {"connection_id":204388,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:01:02] local.INFO: Acknowledgment sent {"connection_id":204388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:01:05] local.INFO: TCP Data received {"connection_id":204267,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204267,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:01:05] local.INFO: Processing buffer {"connection_id":204267,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:01:05] local.INFO: IMEI packet received {"connection_id":204267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":204267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:01:05] local.INFO: TCP Data received {"connection_id":204267,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1bd698012d7d1cc005ea8a60000d001424..."} 
[2026-10-05 09:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1bd698012d7d1cc005ea8a60000d001424..."} 
[2026-10-05 09:01:06] local.INFO: Processing buffer {"connection_id":204267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1bd698012d7d1cc005ea8a60000d001424..."} 
[2026-10-05 09:01:06] local.INFO: Packet analysis {"connection_id":204267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1b"} 
[2026-10-05 09:01:06] local.INFO: Extracted packet for processing {"connection_id":204267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1b"} 
[2026-10-05 09:01:06] local.INFO: GPS Element Parsed {"raw_longitude":763174080,"raw_latitude":99256928,"longitude_deg":76.317408,"latitude_deg":9.9256928,"altitude":13,"angle":20,"satellites":36,"speed":11,"hex_longitude":"2d7d1cc0","hex_latitude":"05ea8a60","is_valid_coordinates":true} 
[2026-10-05 09:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539762176001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139389216516734976,"note":"Value kept but may cause issues"} 
[2026-10-05 09:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015080579498418176,"note":"Value kept but may cause issues"} 
[2026-10-05 09:01:06] 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-10-05 09:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791170959000,"timestamp_ms":1791170959000,"timestamp_seconds":1791170959,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1bd698"} 
[2026-10-05 09:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 09:01:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 09:01:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-10-05 09:01:06] local.WARNING: Large IO value detected {"io_id":234,"raw_value":1992842899536028672,"note":"Value kept but may cause issues"} 
[2026-10-05 09:01:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469710542,"corrected_to":0} 
[2026-10-05 09:01:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3929206784,"note":"Value kept but may cause issues"} 
[2026-10-05 09:01:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":57797752872916790,"note":"Value kept but may cause issues"} 
[2026-10-05 09:01:06] local.WARNING: Large IO value detected {"io_id":26,"raw_value":9140056738632138757,"note":"Value kept but may cause issues"} 
[2026-10-05 09:01:06] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,154,87,24,241,157,16,53,161,144,45,192,127,10,34,66,140,126,11,77,1,240,197,227,234,4,113,205,248,37,239,2,5,14,160,26],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1469710542,"validated":0}]} 
[2026-10-05 09:01:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720582679183425536,"timestamp_seconds":720582679183425.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 09:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539762176001,"66":13493,"154":206,"87":13824,"24":11,"16":139389216516734976,"45":9015080579498418176},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-10-05 09:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539762176001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:01:06] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-10-05 09:01:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139389216516734976,"km_value":139389216516734.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015080579498418176,"description":"Unknown IO ID 45"} 
[2026-10-05 09:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539762176001,"power":13493,"unknown_154":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9015080579498418176}} 
[2026-10-05 09:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":204267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966349,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:01:06] local.INFO: GPS data processed {"connection_id":204267,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:01:06] local.INFO: Acknowledgment sent {"connection_id":204267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:01:33] local.INFO: TCP Data received {"connection_id":204388,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:01:33] local.INFO: Processing buffer {"connection_id":204388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:01:33] local.INFO: Packet analysis {"connection_id":204388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1d"} 
[2026-10-05 09:01:33] local.INFO: Extracted packet for processing {"connection_id":204388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1d"} 
[2026-10-05 09:01:33] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09:01: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-10-05 09:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539714304001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:01: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-10-05 09:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791171060000,"timestamp_ms":1791171060000,"timestamp_seconds":1791171060,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1d6120"} 
[2026-10-05 09:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:01:33] 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-10-05 09:01: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":232,"data_length":795,"current_offset":136} 
[2026-10-05 09:01:33] 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-10-05 09:01: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-10-05 09:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:01: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-10-05 09:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539714304001,"66":25778,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539714304001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:01:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:01:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539714304001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":204388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:01:33] local.INFO: GPS data processed {"connection_id":204388,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:01:33] local.INFO: Acknowledgment sent {"connection_id":204388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:01:37] local.INFO: TCP Data received {"connection_id":204267,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1bda80012d7d1d0005ea8ba8000d000925..."} 
[2026-10-05 09:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1bda80012d7d1d0005ea8ba8000d000925..."} 
[2026-10-05 09:01:37] local.INFO: Processing buffer {"connection_id":204267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1bda80012d7d1d0005ea8ba8000d000925..."} 
[2026-10-05 09:01:37] local.INFO: Packet analysis {"connection_id":204267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1b"} 
[2026-10-05 09:01:37] local.INFO: Extracted packet for processing {"connection_id":204267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1b"} 
[2026-10-05 09:01:37] local.INFO: GPS Element Parsed {"raw_longitude":763174144,"raw_latitude":99257256,"longitude_deg":76.3174144,"latitude_deg":9.9257256,"altitude":13,"angle":9,"satellites":37,"speed":12,"hex_longitude":"2d7d1d00","hex_latitude":"05ea8ba8","is_valid_coordinates":true} 
[2026-10-05 09:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539765504001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139389233696604160,"note":"Value kept but may cause issues"} 
[2026-10-05 09:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015291685731196928,"note":"Value kept but may cause issues"} 
[2026-10-05 09:01:37] 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-10-05 09:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791170960000,"timestamp_ms":1791170960000,"timestamp_seconds":1791170960,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1bda80"} 
[2026-10-05 09:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:01: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-10-05 09:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-10-05 09:01:37] 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-10-05 09:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539765504001,"66":13689,"154":206,"87":13824,"24":12,"16":139389233696604160,"45":9015291685731196928},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-10-05 09:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539765504001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:01:37] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-10-05 09:01:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139389233696604160,"km_value":139389233696604.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015291685731196928,"description":"Unknown IO ID 45"} 
[2026-10-05 09:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539765504001,"power":13689,"unknown_154":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9015291685731196928}} 
[2026-10-05 09:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":204267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:01:37] local.INFO: GPS data processed {"connection_id":204267,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:01:37] local.INFO: Acknowledgment sent {"connection_id":204267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:01:50] local.INFO: TCP Data received {"connection_id":207362,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207362,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:01:50] local.INFO: Processing buffer {"connection_id":207362,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:01:50] local.INFO: IMEI packet received {"connection_id":207362,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":207362,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:01:55] local.INFO: TCP Data received {"connection_id":207362,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207362,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:01:55] local.INFO: Processing buffer {"connection_id":207362,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:01:55] local.INFO: IMEI packet received {"connection_id":207362,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":207362,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:01:55] local.INFO: TCP Data received {"connection_id":207363,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:01:55] local.INFO: Processing buffer {"connection_id":207363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:01:55] local.INFO: IMEI packet received {"connection_id":207363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":207363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:01:55] local.INFO: TCP Data received {"connection_id":207362,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1c2c88012d0b13c007062980000c008e24..."} 
[2026-10-05 09:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1c2c88012d0b13c007062980000c008e24..."} 
[2026-10-05 09:01:55] local.INFO: Processing buffer {"connection_id":207362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1c2c88012d0b13c007062980000c008e24..."} 
[2026-10-05 09:01:55] local.INFO: Packet analysis {"connection_id":207362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1c"} 
[2026-10-05 09:01:55] local.INFO: Extracted packet for processing {"connection_id":207362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1c"} 
[2026-10-05 09:01:55] local.INFO: GPS Element Parsed {"raw_longitude":755700672,"raw_latitude":117844352,"longitude_deg":75.5700672,"latitude_deg":11.7844352,"altitude":12,"angle":142,"satellites":36,"speed":3,"hex_longitude":"2d0b13c0","hex_latitude":"07062980","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539766016001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34727997453893632,"note":"Value kept but may cause issues"} 
[2026-10-05 09:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797700114166370304,"note":"Value kept but may cause issues"} 
[2026-10-05 09:01:55] 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-10-05 09:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1791170981000,"timestamp_ms":1791170981000,"timestamp_seconds":1791170981,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1c2c88"} 
[2026-10-05 09:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-05 09:01:55] 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-10-05 09: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-10-05 09:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":207362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":207362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":207362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539766016001,"66":14461,"165":206,"94":10240,"24":3,"16":34727997453893632,"45":797700114166370304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-10-05 09:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539766016001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:01:55] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-05 09:01:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34727997453893632,"km_value":34727997453893.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797700114166370304,"description":"Unknown IO ID 45"} 
[2026-10-05 09:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539766016001,"power":14461,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":797700114166370304}} 
[2026-10-05 09:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":207362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966352,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:01:56] local.INFO: GPS data processed {"connection_id":207362,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:01:56] local.INFO: Acknowledgment sent {"connection_id":207362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:01:59] local.INFO: TCP Data received {"connection_id":207362,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1c4fb0012d0b1dc007061ea8000d008224..."} 
[2026-10-05 09:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1c4fb0012d0b1dc007061ea8000d008224..."} 
[2026-10-05 09:01:59] local.INFO: Processing buffer {"connection_id":207362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1c4fb0012d0b1dc007061ea8000d008224..."} 
[2026-10-05 09:01:59] local.INFO: Packet analysis {"connection_id":207362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1c"} 
[2026-10-05 09:01:59] local.INFO: Extracted packet for processing {"connection_id":207362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1c"} 
[2026-10-05 09:01:59] local.INFO: GPS Element Parsed {"raw_longitude":755703232,"raw_latitude":117841576,"longitude_deg":75.5703232,"latitude_deg":11.7841576,"altitude":13,"angle":130,"satellites":36,"speed":27,"hex_longitude":"2d0b1dc0","hex_latitude":"07061ea8","is_valid_coordinates":true} 
[2026-10-05 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-10-05 09:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539771136001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34728177842520064,"note":"Value kept but may cause issues"} 
[2026-10-05 09:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798192695375396864,"note":"Value kept but may cause issues"} 
[2026-10-05 09:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791170990000,"timestamp_ms":1791170990000,"timestamp_seconds":1791170990,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1c4fb0"} 
[2026-10-05 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-10-05 09:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-05 09:01: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-10-05 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-10-05 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-10-05 09:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":207362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":207362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":207362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539771136001,"66":14428,"165":206,"94":10240,"24":27,"16":34728177842520064,"45":798192695375396864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-10-05 09:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539771136001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:01:59] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-05 09:01:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34728177842520064,"km_value":34728177842520.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":798192695375396864,"description":"Unknown IO ID 45"} 
[2026-10-05 09:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539771136001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":798192695375396864}} 
[2026-10-05 09:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":207362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966353,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:01:59] local.INFO: GPS data processed {"connection_id":207362,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:01:59] local.INFO: Acknowledgment sent {"connection_id":207362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:02:00] local.INFO: TCP Data received {"connection_id":207363,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:02:00] local.INFO: Processing buffer {"connection_id":207363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:02:00] local.INFO: IMEI packet received {"connection_id":207363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":207363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:02:01] local.INFO: TCP Data received {"connection_id":207363,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:02:01] local.INFO: Processing buffer {"connection_id":207363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:02:01] local.INFO: Packet analysis {"connection_id":207363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1d"} 
[2026-10-05 09:02:01] local.INFO: Extracted packet for processing {"connection_id":207363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1d"} 
[2026-10-05 09:02:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539714304001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:02: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-10-05 09:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791171060000,"timestamp_ms":1791171060000,"timestamp_seconds":1791171060,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1d6120"} 
[2026-10-05 09:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:02: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-10-05 09:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 09:02: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-10-05 09:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539714304001,"66":25778,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 09:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539714304001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:02:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:02:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539714304001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":207363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:02:01] local.INFO: GPS data processed {"connection_id":207363,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:02:01] local.INFO: Acknowledgment sent {"connection_id":207363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:02:03] local.INFO: TCP Data received {"connection_id":207361,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:02:03] local.INFO: Processing buffer {"connection_id":207361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:02:03] local.INFO: IMEI packet received {"connection_id":207361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 09:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":207361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:02:08] local.INFO: TCP Data received {"connection_id":204268,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:02:08] local.INFO: Processing buffer {"connection_id":204268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:02:08] local.INFO: IMEI packet received {"connection_id":204268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":204268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:02:09] local.INFO: TCP Data received {"connection_id":204268,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:02:09] local.INFO: Processing buffer {"connection_id":204268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:02:09] local.INFO: IMEI packet received {"connection_id":204268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":204268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:02:10] local.INFO: TCP Data received {"connection_id":204268,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1c1130012d7d1f0005eab010000d000222..."} 
[2026-10-05 09:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1c1130012d7d1f0005eab010000d000222..."} 
[2026-10-05 09:02:10] local.INFO: Processing buffer {"connection_id":204268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1c1130012d7d1f0005eab010000d000222..."} 
[2026-10-05 09:02:10] local.INFO: Packet analysis {"connection_id":204268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1c"} 
[2026-10-05 09:02:10] local.INFO: Extracted packet for processing {"connection_id":204268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1c"} 
[2026-10-05 09:02:10] local.INFO: GPS Element Parsed {"raw_longitude":763174656,"raw_latitude":99266576,"longitude_deg":76.3174656,"latitude_deg":9.9266576,"altitude":13,"angle":2,"satellites":34,"speed":34,"hex_longitude":"2d7d1f00","hex_latitude":"05eab010","is_valid_coordinates":true} 
[2026-10-05 09:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539765760001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139389688963137536,"note":"Value kept but may cause issues"} 
[2026-10-05 09:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015362054475458560,"note":"Value kept but may cause issues"} 
[2026-10-05 09:02: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-10-05 09:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791170974000,"timestamp_ms":1791170974000,"timestamp_seconds":1791170974,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1c1130"} 
[2026-10-05 09:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-10-05 09:02:10] 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-10-05 09:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539765760001,"66":13559,"157":206,"87":13824,"24":34,"16":139389688963137536,"45":9015362054475458560},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-10-05 09:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539765760001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:02:10] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-10-05 09:02:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139389688963137536,"km_value":139389688963137.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015362054475458560,"description":"Unknown IO ID 45"} 
[2026-10-05 09:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539765760001,"power":13559,"unknown_157":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":9015362054475458560}} 
[2026-10-05 09:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":204268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:02:11] local.INFO: GPS data processed {"connection_id":204268,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:02:11] local.INFO: Acknowledgment sent {"connection_id":204268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:02:12] local.INFO: TCP Data received {"connection_id":204268,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1c43f8012d7d204005ead4d8000c000024..."} 
[2026-10-05 09:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1c43f8012d7d204005ead4d8000c000024..."} 
[2026-10-05 09:02:12] local.INFO: Processing buffer {"connection_id":204268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1c43f8012d7d204005ead4d8000c000024..."} 
[2026-10-05 09:02:12] local.INFO: Packet analysis {"connection_id":204268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1c"} 
[2026-10-05 09:02:12] local.INFO: Extracted packet for processing {"connection_id":204268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1c"} 
[2026-10-05 09:02:12] local.INFO: GPS Element Parsed {"raw_longitude":763174976,"raw_latitude":99275992,"longitude_deg":76.3174976,"latitude_deg":9.9275992,"altitude":12,"angle":0,"satellites":36,"speed":27,"hex_longitude":"2d7d2040","hex_latitude":"05ead4d8","is_valid_coordinates":true} 
[2026-10-05 09:02: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-10-05 09:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539769344001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139390144229670912,"note":"Value kept but may cause issues"} 
[2026-10-05 09:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015925004431265792,"note":"Value kept but may cause issues"} 
[2026-10-05 09:02:12] 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-10-05 09:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791170987000,"timestamp_ms":1791170987000,"timestamp_seconds":1791170987,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1c43f8"} 
[2026-10-05 09:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:02: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-10-05 09:02: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-10-05 09:02: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-10-05 09:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539769344001,"66":13993,"157":206,"87":13824,"24":27,"16":139390144229670912,"45":9015925004431265792},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-10-05 09:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539769344001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:02:12] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-10-05 09:02:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139390144229670912,"km_value":139390144229670.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015925004431265792,"description":"Unknown IO ID 45"} 
[2026-10-05 09:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539769344001,"power":13993,"unknown_157":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":9015925004431265792}} 
[2026-10-05 09:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":204268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:02:12] local.INFO: GPS data processed {"connection_id":204268,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:02:12] local.INFO: Acknowledgment sent {"connection_id":204268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:02:32] local.INFO: TCP Data received {"connection_id":207363,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:02:32] local.INFO: Processing buffer {"connection_id":207363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:02:32] local.INFO: Packet analysis {"connection_id":207363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1d"} 
[2026-10-05 09:02:32] local.INFO: Extracted packet for processing {"connection_id":207363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1d"} 
[2026-10-05 09:02:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539714304001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:02: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-10-05 09:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791171060000,"timestamp_ms":1791171060000,"timestamp_seconds":1791171060,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1d6120"} 
[2026-10-05 09:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:02:32] 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-10-05 09: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":232,"data_length":795,"current_offset":136} 
[2026-10-05 09:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09: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-10-05 09:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539714304001,"66":25778,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 09:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539714304001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:02:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:02:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539714304001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":207363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:02:32] local.INFO: GPS data processed {"connection_id":207363,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:02:32] local.INFO: Acknowledgment sent {"connection_id":207363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:02:42] local.INFO: TCP Data received {"connection_id":207364,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207364,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:02:42] local.INFO: Processing buffer {"connection_id":207364,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:02:42] local.INFO: IMEI packet received {"connection_id":207364,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 09:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":207364,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:02:43] local.INFO: TCP Data received {"connection_id":204268,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1c8660012d7d220005eaf890000f000326..."} 
[2026-10-05 09:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1c8660012d7d220005eaf890000f000326..."} 
[2026-10-05 09:02:43] local.INFO: Processing buffer {"connection_id":204268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1c8660012d7d220005eaf890000f000326..."} 
[2026-10-05 09:02:43] local.INFO: Packet analysis {"connection_id":204268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1c"} 
[2026-10-05 09:02:43] local.INFO: Extracted packet for processing {"connection_id":204268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1c"} 
[2026-10-05 09:02:43] local.INFO: GPS Element Parsed {"raw_longitude":763175424,"raw_latitude":99285136,"longitude_deg":76.3175424,"latitude_deg":9.9285136,"altitude":15,"angle":3,"satellites":38,"speed":21,"hex_longitude":"2d7d2200","hex_latitude":"05eaf890","is_valid_coordinates":true} 
[2026-10-05 09:02: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-10-05 09:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539772672001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139390590906269696,"note":"Value kept but may cause issues"} 
[2026-10-05 09:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016276848154564608,"note":"Value kept but may cause issues"} 
[2026-10-05 09:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791171004000,"timestamp_ms":1791171004000,"timestamp_seconds":1791171004,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1c8660"} 
[2026-10-05 09:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:02: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-10-05 09:02: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 09:02:43] 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-10-05 09:02: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-10-05 09:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539772672001,"66":13428,"158":206,"87":13824,"24":21,"16":139390590906269696,"45":9016276848154564608},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-10-05 09:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539772672001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:02:43] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-10-05 09:02:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139390590906269696,"km_value":139390590906269.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016276848154564608,"description":"Unknown IO ID 45"} 
[2026-10-05 09:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539772672001,"power":13428,"unknown_158":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":9016276848154564608}} 
[2026-10-05 09:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":204268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:02:43] local.INFO: GPS data processed {"connection_id":204268,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:02:43] local.INFO: Acknowledgment sent {"connection_id":204268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:02:45] local.INFO: TCP Data received {"connection_id":204389,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204389,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:02:45] local.INFO: Processing buffer {"connection_id":204389,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:02:45] local.INFO: IMEI packet received {"connection_id":204389,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":204389,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:02:48] local.INFO: TCP Data received {"connection_id":204389,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204389,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:02:48] local.INFO: Processing buffer {"connection_id":204389,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:02:48] local.INFO: IMEI packet received {"connection_id":204389,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":204389,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:02:49] local.INFO: TCP Data received {"connection_id":204389,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1ead28012d0b504007060460001100d624..."} 
[2026-10-05 09:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1ead28012d0b504007060460001100d624..."} 
[2026-10-05 09:02:49] local.INFO: Processing buffer {"connection_id":204389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1ead28012d0b504007060460001100d624..."} 
[2026-10-05 09:02:49] local.INFO: Packet analysis {"connection_id":204389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1e"} 
[2026-10-05 09:02:49] local.INFO: Extracted packet for processing {"connection_id":204389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1e"} 
[2026-10-05 09:02:49] local.INFO: GPS Element Parsed {"raw_longitude":755716160,"raw_latitude":117834848,"longitude_deg":75.571616,"latitude_deg":11.7834848,"altitude":17,"angle":214,"satellites":36,"speed":4,"hex_longitude":"2d0b5040","hex_latitude":"07060460","is_valid_coordinates":true} 
[2026-10-05 09:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539808768001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34729165684998144,"note":"Value kept but may cause issues"} 
[2026-10-05 09:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815995987650363392,"note":"Value kept but may cause issues"} 
[2026-10-05 09:02:49] 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-10-05 09:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1791171145000,"timestamp_ms":1791171145000,"timestamp_seconds":1791171145,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1ead28"} 
[2026-10-05 09:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-05 09:02:49] 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-10-05 09:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":204389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":204389,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":204389,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539808768001,"66":14450,"165":206,"94":10240,"24":4,"16":34729165684998144,"45":815995987650363392},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-10-05 09:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539808768001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:02:49] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-05 09:02:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34729165684998144,"km_value":34729165684998.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":815995987650363392,"description":"Unknown IO ID 45"} 
[2026-10-05 09:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539808768001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":815995987650363392}} 
[2026-10-05 09:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":204389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966359,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:02:49] local.INFO: GPS data processed {"connection_id":204389,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:02:49] local.INFO: Acknowledgment sent {"connection_id":204389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:03:00] local.INFO: TCP Data received {"connection_id":204269,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204269,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:03:00] local.INFO: Processing buffer {"connection_id":204269,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:03:00] local.INFO: IMEI packet received {"connection_id":204269,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":204269,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:03:00] local.INFO: TCP Data received {"connection_id":207365,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:03:00] local.INFO: Processing buffer {"connection_id":207365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:03:00] local.INFO: IMEI packet received {"connection_id":207365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":207365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:03:05] local.INFO: TCP Data received {"connection_id":204269,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204269,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:03:05] local.INFO: Processing buffer {"connection_id":204269,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:03:05] local.INFO: IMEI packet received {"connection_id":204269,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":204269,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:03:05] local.INFO: TCP Data received {"connection_id":207365,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:03:05] local.INFO: Processing buffer {"connection_id":207365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:03:05] local.INFO: IMEI packet received {"connection_id":207365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":207365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:03:06] local.INFO: TCP Data received {"connection_id":204269,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1ed050012d7c7e0005ead1980004010025..."} 
[2026-10-05 09:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1ed050012d7c7e0005ead1980004010025..."} 
[2026-10-05 09:03:06] local.INFO: Processing buffer {"connection_id":204269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1ed050012d7c7e0005ead1980004010025..."} 
[2026-10-05 09:03:06] local.INFO: Packet analysis {"connection_id":204269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1e"} 
[2026-10-05 09:03:06] local.INFO: Extracted packet for processing {"connection_id":204269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1e"} 
[2026-10-05 09:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763133440,"raw_latitude":99275160,"longitude_deg":76.313344,"latitude_deg":9.927516,"altitude":4,"angle":256,"satellites":37,"speed":6,"hex_longitude":"2d7c7e00","hex_latitude":"05ead198","is_valid_coordinates":true} 
[2026-10-05 09:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539812864001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139392819994296320,"note":"Value kept but may cause issues"} 
[2026-10-05 09:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972226014299355136,"note":"Value kept but may cause issues"} 
[2026-10-05 09:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791171154000,"timestamp_ms":1791171154000,"timestamp_seconds":1791171154,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1ed050"} 
[2026-10-05 09:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-10-05 09:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539812864001,"66":13852,"8":206,"87":13824,"24":6,"16":139392819994296320,"45":8972226014299355136},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-10-05 09:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539812864001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:03:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-10-05 09:03:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139392819994296320,"km_value":139392819994296.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972226014299355136,"description":"Unknown IO ID 45"} 
[2026-10-05 09:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539812864001,"power":13852,"unknown_8":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8972226014299355136}} 
[2026-10-05 09:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":204269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966360,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:03:06] local.INFO: GPS data processed {"connection_id":204269,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:03:06] local.INFO: Acknowledgment sent {"connection_id":204269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:03:06] local.INFO: TCP Data received {"connection_id":207365,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:03:06] local.INFO: Processing buffer {"connection_id":207365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:03:06] local.INFO: Packet analysis {"connection_id":207365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1d"} 
[2026-10-05 09:03:06] local.INFO: Extracted packet for processing {"connection_id":207365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1d"} 
[2026-10-05 09:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539714304001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791171060000,"timestamp_ms":1791171060000,"timestamp_seconds":1791171060,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1d6120"} 
[2026-10-05 09:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:03:06] 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-10-05 09:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 09:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539714304001,"66":25778,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539714304001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:03:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:03:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539714304001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":207365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:03:06] local.INFO: GPS data processed {"connection_id":207365,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:03:06] local.INFO: Acknowledgment sent {"connection_id":207365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:03:11] local.INFO: TCP Data received {"connection_id":207365,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:03:11] local.INFO: Processing buffer {"connection_id":207365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:03:11] local.INFO: Packet analysis {"connection_id":207365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1d"} 
[2026-10-05 09:03:11] local.INFO: Extracted packet for processing {"connection_id":207365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1d"} 
[2026-10-05 09:03:11] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09:03: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-10-05 09:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539714304001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791171060000,"timestamp_ms":1791171060000,"timestamp_seconds":1791171060,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1d6120"} 
[2026-10-05 09:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:03:11] 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-10-05 09:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 09:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09:03: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-10-05 09:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539714304001,"66":25778,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539714304001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:03:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:03:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539714304001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":207365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:03:11] local.INFO: GPS data processed {"connection_id":207365,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:03:11] local.INFO: Acknowledgment sent {"connection_id":207365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:03:20] local.INFO: TCP Data received {"connection_id":204389,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1eb4f8012d0b500007060378001100c624..."} 
[2026-10-05 09:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1eb4f8012d0b500007060378001100c624..."} 
[2026-10-05 09:03:20] local.INFO: Processing buffer {"connection_id":204389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1eb4f8012d0b500007060378001100c624..."} 
[2026-10-05 09:03:20] local.INFO: Packet analysis {"connection_id":204389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1e"} 
[2026-10-05 09:03:20] local.INFO: Extracted packet for processing {"connection_id":204389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1e"} 
[2026-10-05 09:03:20] local.INFO: GPS Element Parsed {"raw_longitude":755716096,"raw_latitude":117834616,"longitude_deg":75.5716096,"latitude_deg":11.7834616,"altitude":17,"angle":198,"satellites":36,"speed":5,"hex_longitude":"2d0b5000","hex_latitude":"07060378","is_valid_coordinates":true} 
[2026-10-05 09:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539813120001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34729178569900032,"note":"Value kept but may cause issues"} 
[2026-10-05 09:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815221931463958528,"note":"Value kept but may cause issues"} 
[2026-10-05 09:03: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-10-05 09:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791171147000,"timestamp_ms":1791171147000,"timestamp_seconds":1791171147,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1eb4f8"} 
[2026-10-05 09:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-05 09:03:20] 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-10-05 09:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":204389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":204389,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":204389,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539813120001,"66":14450,"165":206,"94":10240,"24":5,"16":34729178569900032,"45":815221931463958528},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-10-05 09:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539813120001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:03:20] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-05 09:03:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34729178569900032,"km_value":34729178569900.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":815221931463958528,"description":"Unknown IO ID 45"} 
[2026-10-05 09:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539813120001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":815221931463958528}} 
[2026-10-05 09:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":204389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966363,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:03:20] local.INFO: GPS data processed {"connection_id":204389,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:03:20] local.INFO: Acknowledgment sent {"connection_id":204389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:03:37] local.INFO: TCP Data received {"connection_id":204269,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1f0ed0012d7c5a0005eac9680007011224..."} 
[2026-10-05 09:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1f0ed0012d7c5a0005eac9680007011224..."} 
[2026-10-05 09:03:37] local.INFO: Processing buffer {"connection_id":204269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1f0ed0012d7c5a0005eac9680007011224..."} 
[2026-10-05 09:03:37] local.INFO: Packet analysis {"connection_id":204269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1f"} 
[2026-10-05 09:03:37] local.INFO: Extracted packet for processing {"connection_id":204269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1f"} 
[2026-10-05 09:03:37] local.INFO: GPS Element Parsed {"raw_longitude":763124224,"raw_latitude":99273064,"longitude_deg":76.3124224,"latitude_deg":9.9273064,"altitude":7,"angle":274,"satellites":36,"speed":28,"hex_longitude":"2d7c5a00","hex_latitude":"05eac968","is_valid_coordinates":true} 
[2026-10-05 09:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539815424001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139393275260829696,"note":"Value kept but may cause issues"} 
[2026-10-05 09:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970607533183047680,"note":"Value kept but may cause issues"} 
[2026-10-05 09:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791171170000,"timestamp_ms":1791171170000,"timestamp_seconds":1791171170,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1f0ed0"} 
[2026-10-05 09:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:03: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-10-05 09:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-05 09:03:37] 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-10-05 09:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539815424001,"66":13928,"8":206,"87":13824,"24":28,"16":139393275260829696,"45":8970607533183047680},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-10-05 09:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539815424001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:03:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-10-05 09:03:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139393275260829696,"km_value":139393275260829.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970607533183047680,"description":"Unknown IO ID 45"} 
[2026-10-05 09:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539815424001,"power":13928,"unknown_8":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8970607533183047680}} 
[2026-10-05 09:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":204269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966364,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:03:37] local.INFO: GPS data processed {"connection_id":204269,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:03:37] local.INFO: Acknowledgment sent {"connection_id":204269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:03:45] local.INFO: TCP Data received {"connection_id":204391,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204391,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:03:45] local.INFO: Processing buffer {"connection_id":204391,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:03:45] local.INFO: IMEI packet received {"connection_id":204391,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":204391,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:03:47] local.INFO: TCP Data received {"connection_id":204391,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204391,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:03:47] local.INFO: Processing buffer {"connection_id":204391,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:03:47] local.INFO: IMEI packet received {"connection_id":204391,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":204391,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:03:50] local.INFO: TCP Data received {"connection_id":204391,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204391,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:03:50] local.INFO: Processing buffer {"connection_id":204391,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:03:50] local.INFO: IMEI packet received {"connection_id":204391,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":204391,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:03:51] local.INFO: TCP Data received {"connection_id":204391,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1ec498012d0b4f0007060160001100d224..."} 
[2026-10-05 09:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1ec498012d0b4f0007060160001100d224..."} 
[2026-10-05 09:03:51] local.INFO: Processing buffer {"connection_id":204391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1ec498012d0b4f0007060160001100d224..."} 
[2026-10-05 09:03:51] local.INFO: Packet analysis {"connection_id":204391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1e"} 
[2026-10-05 09:03:51] local.INFO: Extracted packet for processing {"connection_id":204391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1e"} 
[2026-10-05 09:03:51] local.INFO: GPS Element Parsed {"raw_longitude":755715840,"raw_latitude":117834080,"longitude_deg":75.571584,"latitude_deg":11.783408,"altitude":17,"angle":210,"satellites":36,"speed":4,"hex_longitude":"2d0b4f00","hex_latitude":"07060160","is_valid_coordinates":true} 
[2026-10-05 09:03: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-10-05 09:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539813632001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34729208634671104,"note":"Value kept but may cause issues"} 
[2026-10-05 09:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815151562719721472,"note":"Value kept but may cause issues"} 
[2026-10-05 09:03:51] 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-10-05 09:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791171151000,"timestamp_ms":1791171151000,"timestamp_seconds":1791171151,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1ec498"} 
[2026-10-05 09:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:03: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-10-05 09:03: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":114,"data_length":795,"current_offset":136} 
[2026-10-05 09:03:51] 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-10-05 09:03: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-10-05 09:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":204391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":204391,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":204391,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539813632001,"66":14428,"165":206,"94":10240,"24":4,"16":34729208634671104,"45":815151562719721472},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-10-05 09:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539813632001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:03:51] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-05 09:03:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34729208634671104,"km_value":34729208634671.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":815151562719721472,"description":"Unknown IO ID 45"} 
[2026-10-05 09:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539813632001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":815151562719721472}} 
[2026-10-05 09:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":204391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966365,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:03:51] local.INFO: GPS data processed {"connection_id":204391,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:03:51] local.INFO: Acknowledgment sent {"connection_id":204391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:03:55] local.INFO: TCP Data received {"connection_id":204270,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:03:55] local.INFO: Processing buffer {"connection_id":204270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:03:55] local.INFO: IMEI packet received {"connection_id":204270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":204270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:03:56] local.INFO: TCP Data received {"connection_id":204391,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1f0318012d0b4d000705fed00011012a25..."} 
[2026-10-05 09:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1f0318012d0b4d000705fed00011012a25..."} 
[2026-10-05 09:03:56] local.INFO: Processing buffer {"connection_id":204391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1f0318012d0b4d000705fed00011012a25..."} 
[2026-10-05 09:03:56] local.INFO: Packet analysis {"connection_id":204391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1f"} 
[2026-10-05 09:03:56] local.INFO: Extracted packet for processing {"connection_id":204391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1f"} 
[2026-10-05 09:03:56] local.INFO: GPS Element Parsed {"raw_longitude":755715328,"raw_latitude":117833424,"longitude_deg":75.5715328,"latitude_deg":11.7833424,"altitude":17,"angle":298,"satellites":37,"speed":0,"hex_longitude":"2d0b4d00","hex_latitude":"0705fed0","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539814656001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34729260174278656,"note":"Value kept but may cause issues"} 
[2026-10-05 09:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814870087742873600,"note":"Value kept but may cause issues"} 
[2026-10-05 09:03:56] 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-10-05 09:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1791171167000,"timestamp_ms":1791171167000,"timestamp_seconds":1791171167,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1f0318"} 
[2026-10-05 09:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 09:03: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-10-05 09: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-10-05 09:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":204391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":204391,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":204391,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539814656001,"66":14450,"165":206,"94":10240,"24":0,"16":34729260174278656,"45":814870087742873600},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-10-05 09:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539814656001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:03:56] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-05 09:03:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34729260174278656,"km_value":34729260174278.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":814870087742873600,"description":"Unknown IO ID 45"} 
[2026-10-05 09:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539814656001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":814870087742873600}} 
[2026-10-05 09:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":204391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966366,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:03:56] local.INFO: GPS data processed {"connection_id":204391,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:03:56] local.INFO: Acknowledgment sent {"connection_id":204391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:04:00] local.INFO: TCP Data received {"connection_id":204270,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:04:00] local.INFO: Processing buffer {"connection_id":204270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:04:00] local.INFO: IMEI packet received {"connection_id":204270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":204270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:04:01] local.INFO: TCP Data received {"connection_id":204270,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:04:01] local.INFO: Processing buffer {"connection_id":204270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:04:01] local.INFO: Packet analysis {"connection_id":204270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1d"} 
[2026-10-05 09:04:01] local.INFO: Extracted packet for processing {"connection_id":204270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1d"} 
[2026-10-05 09:04:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539714304001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791171060000,"timestamp_ms":1791171060000,"timestamp_seconds":1791171060,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1d6120"} 
[2026-10-05 09:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:04: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-10-05 09: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 09:04: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-10-05 09: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-10-05 09:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09: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-10-05 09:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539714304001,"66":25778,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539714304001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:04:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:04:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539714304001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":204270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:04:01] local.INFO: GPS data processed {"connection_id":204270,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:04:01] local.INFO: Acknowledgment sent {"connection_id":204270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:04:07] local.INFO: TCP Data received {"connection_id":205810,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:04:07] local.INFO: Processing buffer {"connection_id":205810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:04:07] local.INFO: IMEI packet received {"connection_id":205810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":205810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:04:08] local.INFO: TCP Data received {"connection_id":205810,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:04:08] local.INFO: Processing buffer {"connection_id":205810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:04:08] local.INFO: IMEI packet received {"connection_id":205810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":205810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:04:09] local.INFO: TCP Data received {"connection_id":205810,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:04:09] local.INFO: Processing buffer {"connection_id":205810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:04:09] local.INFO: IMEI packet received {"connection_id":205810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":205810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:04:10] local.INFO: TCP Data received {"connection_id":205810,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:04:10] local.INFO: Processing buffer {"connection_id":205810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:04:10] local.INFO: IMEI packet received {"connection_id":205810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":205810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:04:27] local.INFO: TCP Data received {"connection_id":204391,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a202428012d0b200007059cd0000f00f025..."} 
[2026-10-05 09:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a202428012d0b200007059cd0000f00f025..."} 
[2026-10-05 09:04:27] local.INFO: Processing buffer {"connection_id":204391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a202428012d0b200007059cd0000f00f025..."} 
[2026-10-05 09:04:27] local.INFO: Packet analysis {"connection_id":204391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a20"} 
[2026-10-05 09:04:27] local.INFO: Extracted packet for processing {"connection_id":204391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a20"} 
[2026-10-05 09:04:27] local.INFO: GPS Element Parsed {"raw_longitude":755703808,"raw_latitude":117808336,"longitude_deg":75.5703808,"latitude_deg":11.7808336,"altitude":15,"angle":240,"satellites":37,"speed":11,"hex_longitude":"2d0b2000","hex_latitude":"07059cd0","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539837440001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34731265924005888,"note":"Value kept but may cause issues"} 
[2026-10-05 09:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801922238807646208,"note":"Value kept but may cause issues"} 
[2026-10-05 09:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1791171241000,"timestamp_ms":1791171241000,"timestamp_seconds":1791171241,"priority":1,"record_length":96,"hex_timestamp":"000001a10a202428"} 
[2026-10-05 09:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:04:27] 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-10-05 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-05 09:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09: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-10-05 09:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":204391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":204391,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":204391,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539837440001,"66":14450,"165":206,"94":10240,"24":11,"16":34731265924005888,"45":801922238807646208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-10-05 09:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539837440001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:04:27] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-05 09:04:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34731265924005888,"km_value":34731265924005.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":801922238807646208,"description":"Unknown IO ID 45"} 
[2026-10-05 09:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539837440001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":801922238807646208}} 
[2026-10-05 09:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":204391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966368,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:04:27] local.INFO: GPS data processed {"connection_id":204391,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:04:27] local.INFO: Acknowledgment sent {"connection_id":204391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:04:32] local.INFO: TCP Data received {"connection_id":204270,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:04:32] local.INFO: Processing buffer {"connection_id":204270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:04:32] local.INFO: Packet analysis {"connection_id":204270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1d"} 
[2026-10-05 09:04:32] local.INFO: Extracted packet for processing {"connection_id":204270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1d"} 
[2026-10-05 09:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539714304001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:04: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-10-05 09:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791171060000,"timestamp_ms":1791171060000,"timestamp_seconds":1791171060,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1d6120"} 
[2026-10-05 09:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:04:32] 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-10-05 09: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 09:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09: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-10-05 09:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:04: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-10-05 09:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539714304001,"66":25778,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539714304001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:04:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:04:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539714304001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":204270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:04:32] local.INFO: GPS data processed {"connection_id":204270,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:04:32] local.INFO: Acknowledgment sent {"connection_id":204270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:04:44] local.INFO: TCP Data received {"connection_id":204392,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204392,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:04:44] local.INFO: Processing buffer {"connection_id":204392,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:04:44] local.INFO: IMEI packet received {"connection_id":204392,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":204392,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:04:45] local.INFO: TCP Data received {"connection_id":204392,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204392,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:04:45] local.INFO: Processing buffer {"connection_id":204392,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:04:45] local.INFO: IMEI packet received {"connection_id":204392,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":204392,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:04:45] local.INFO: TCP Data received {"connection_id":204392,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204392,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:04:45] local.INFO: Processing buffer {"connection_id":204392,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:04:45] local.INFO: IMEI packet received {"connection_id":204392,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":204392,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:04:46] local.INFO: TCP Data received {"connection_id":204392,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204392,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:04:46] local.INFO: Processing buffer {"connection_id":204392,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:04:46] local.INFO: IMEI packet received {"connection_id":204392,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":204392,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:04:55] local.INFO: TCP Data received {"connection_id":207367,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:04:55] local.INFO: Processing buffer {"connection_id":207367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:04:55] local.INFO: IMEI packet received {"connection_id":207367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":207367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:05:00] local.INFO: TCP Data received {"connection_id":207367,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:05:00] local.INFO: Processing buffer {"connection_id":207367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:05:00] local.INFO: IMEI packet received {"connection_id":207367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":207367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:05:02] local.INFO: TCP Data received {"connection_id":207367,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:05:02] local.INFO: Processing buffer {"connection_id":207367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:05:02] local.INFO: Packet analysis {"connection_id":207367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1d"} 
[2026-10-05 09:05:02] local.INFO: Extracted packet for processing {"connection_id":207367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1d"} 
[2026-10-05 09:05:02] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539714304001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:05: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-10-05 09:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791171060000,"timestamp_ms":1791171060000,"timestamp_seconds":1791171060,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1d6120"} 
[2026-10-05 09:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:05: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-10-05 09: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 09:05:02] 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-10-05 09: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-10-05 09:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:05: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-10-05 09:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539714304001,"66":25778,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539714304001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:05:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:05:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539714304001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":207367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:05:02] local.INFO: GPS data processed {"connection_id":207367,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:05:02] local.INFO: Acknowledgment sent {"connection_id":207367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:05:34] local.INFO: TCP Data received {"connection_id":207367,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:05:34] local.INFO: Processing buffer {"connection_id":207367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:05:34] local.INFO: Packet analysis {"connection_id":207367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1d"} 
[2026-10-05 09:05:34] local.INFO: Extracted packet for processing {"connection_id":207367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1d"} 
[2026-10-05 09:05:34] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539714304001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:05: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-10-05 09:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791171060000,"timestamp_ms":1791171060000,"timestamp_seconds":1791171060,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1d6120"} 
[2026-10-05 09:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:05:34] 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-10-05 09:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 09:05:34] 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-10-05 09: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-10-05 09:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":207367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":207367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":207367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539714304001,"66":25778,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539714304001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:05:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:05:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539714304001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":207367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:05:34] local.INFO: GPS data processed {"connection_id":207367,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:05:34] local.INFO: Acknowledgment sent {"connection_id":207367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:05:55] local.INFO: TCP Data received {"connection_id":207371,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:05:55] local.INFO: Processing buffer {"connection_id":207371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:05:55] local.INFO: IMEI packet received {"connection_id":207371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":207371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:06:00] local.INFO: TCP Data received {"connection_id":207371,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:06:00] local.INFO: Processing buffer {"connection_id":207371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:06:00] local.INFO: IMEI packet received {"connection_id":207371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":207371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:06:01] local.INFO: TCP Data received {"connection_id":207371,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:06:01] local.INFO: Processing buffer {"connection_id":207371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a1d6120012d7f908005afe5380000000026..."} 
[2026-10-05 09:06:01] local.INFO: Packet analysis {"connection_id":207371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a1d"} 
[2026-10-05 09:06:01] local.INFO: Extracted packet for processing {"connection_id":207371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a1d"} 
[2026-10-05 09:06:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539714304001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:06: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-10-05 09:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791171060000,"timestamp_ms":1791171060000,"timestamp_seconds":1791171060,"priority":1,"record_length":96,"hex_timestamp":"000001a10a1d6120"} 
[2026-10-05 09:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:06: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-10-05 09: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 09:06: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-10-05 09: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-10-05 09:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:06: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-10-05 09:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539714304001,"66":25778,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539714304001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:06:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:06:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539714304001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":207371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:06:01] local.INFO: GPS data processed {"connection_id":207371,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:06:01] local.INFO: Acknowledgment sent {"connection_id":207371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:06:32] local.INFO: TCP Data received {"connection_id":207371,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:06:32] local.INFO: Processing buffer {"connection_id":207371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:06:32] local.INFO: Packet analysis {"connection_id":207371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a21"} 
[2026-10-05 09:06:32] local.INFO: Extracted packet for processing {"connection_id":207371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a21"} 
[2026-10-05 09:06:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539791360001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:06: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-10-05 09:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791171359000,"timestamp_ms":1791171359000,"timestamp_seconds":1791171359,"priority":1,"record_length":96,"hex_timestamp":"000001a10a21f118"} 
[2026-10-05 09:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:06:32] 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-10-05 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 09:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09: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-10-05 09:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:06:32] 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-10-05 09:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539791360001,"66":25712,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539791360001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:06:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:06:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539791360001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":207371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:06:32] local.INFO: GPS data processed {"connection_id":207371,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:06:32] local.INFO: Acknowledgment sent {"connection_id":207371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:06:56] local.INFO: TCP Data received {"connection_id":205812,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:06:56] local.INFO: Processing buffer {"connection_id":205812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:06:56] local.INFO: IMEI packet received {"connection_id":205812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":205812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:07:00] local.INFO: TCP Data received {"connection_id":205812,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:07:00] local.INFO: Processing buffer {"connection_id":205812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:07:00] local.INFO: IMEI packet received {"connection_id":205812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":205812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:07:01] local.INFO: TCP Data received {"connection_id":205812,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:07:01] local.INFO: Processing buffer {"connection_id":205812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:07:01] local.INFO: Packet analysis {"connection_id":205812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a21"} 
[2026-10-05 09:07:01] local.INFO: Extracted packet for processing {"connection_id":205812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a21"} 
[2026-10-05 09:07:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539791360001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:07: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-10-05 09:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791171359000,"timestamp_ms":1791171359000,"timestamp_seconds":1791171359,"priority":1,"record_length":96,"hex_timestamp":"000001a10a21f118"} 
[2026-10-05 09:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:07: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-10-05 09:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 09:07: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-10-05 09:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:07: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-10-05 09:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539791360001,"66":25712,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539791360001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:07:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:07:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539791360001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":205812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:07:01] local.INFO: GPS data processed {"connection_id":205812,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:07:01] local.INFO: Acknowledgment sent {"connection_id":205812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:07:06] local.INFO: TCP Data received {"connection_id":205812,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:07:06] local.INFO: Processing buffer {"connection_id":205812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:07:06] local.INFO: Packet analysis {"connection_id":205812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a21"} 
[2026-10-05 09:07:06] local.INFO: Extracted packet for processing {"connection_id":205812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a21"} 
[2026-10-05 09:07:06] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539791360001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:07: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-10-05 09:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791171359000,"timestamp_ms":1791171359000,"timestamp_seconds":1791171359,"priority":1,"record_length":96,"hex_timestamp":"000001a10a21f118"} 
[2026-10-05 09:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:07:06] 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-10-05 09:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 09:07: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-10-05 09:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:07: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-10-05 09:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539791360001,"66":25712,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539791360001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:07:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:07:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539791360001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":205812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:07:06] local.INFO: GPS data processed {"connection_id":205812,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:07:06] local.INFO: Acknowledgment sent {"connection_id":205812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:07:37] local.INFO: TCP Data received {"connection_id":205812,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:07:37] local.INFO: Processing buffer {"connection_id":205812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:07:37] local.INFO: Packet analysis {"connection_id":205812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a21"} 
[2026-10-05 09:07:37] local.INFO: Extracted packet for processing {"connection_id":205812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a21"} 
[2026-10-05 09:07:37] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539791360001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791171359000,"timestamp_ms":1791171359000,"timestamp_seconds":1791171359,"priority":1,"record_length":96,"hex_timestamp":"000001a10a21f118"} 
[2026-10-05 09:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:07:37] 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-10-05 09:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 09:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539791360001,"66":25712,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539791360001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:07:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:07:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539791360001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":205812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:07:37] local.INFO: GPS data processed {"connection_id":205812,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:07:37] local.INFO: Acknowledgment sent {"connection_id":205812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:07:55] local.INFO: TCP Data received {"connection_id":204271,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:07:55] local.INFO: Processing buffer {"connection_id":204271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:07:55] local.INFO: IMEI packet received {"connection_id":204271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":204271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:08:00] local.INFO: TCP Data received {"connection_id":204271,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:08:00] local.INFO: Processing buffer {"connection_id":204271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:08:00] local.INFO: IMEI packet received {"connection_id":204271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":204271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:08:01] local.INFO: TCP Data received {"connection_id":204271,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:08:01] local.INFO: Processing buffer {"connection_id":204271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:08:01] local.INFO: Packet analysis {"connection_id":204271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a21"} 
[2026-10-05 09:08:01] local.INFO: Extracted packet for processing {"connection_id":204271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a21"} 
[2026-10-05 09:08:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539791360001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791171359000,"timestamp_ms":1791171359000,"timestamp_seconds":1791171359,"priority":1,"record_length":96,"hex_timestamp":"000001a10a21f118"} 
[2026-10-05 09:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:08: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-10-05 09: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":178,"data_length":795,"current_offset":136} 
[2026-10-05 09:08: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-10-05 09: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-10-05 09:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:08: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-10-05 09:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539791360001,"66":25712,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539791360001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:08:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:08:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539791360001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":204271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:08:01] local.INFO: GPS data processed {"connection_id":204271,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:08:01] local.INFO: Acknowledgment sent {"connection_id":204271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:08:08] local.INFO: TCP Data received {"connection_id":205814,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:08:08] local.INFO: Processing buffer {"connection_id":205814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:08:08] local.INFO: IMEI packet received {"connection_id":205814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 09:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":205814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:08:32] local.INFO: TCP Data received {"connection_id":204271,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:08:32] local.INFO: Processing buffer {"connection_id":204271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:08:32] local.INFO: Packet analysis {"connection_id":204271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a21"} 
[2026-10-05 09:08:32] local.INFO: Extracted packet for processing {"connection_id":204271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a21"} 
[2026-10-05 09:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539791360001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791171359000,"timestamp_ms":1791171359000,"timestamp_seconds":1791171359,"priority":1,"record_length":96,"hex_timestamp":"000001a10a21f118"} 
[2026-10-05 09:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:08:32] 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-10-05 09: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":178,"data_length":795,"current_offset":136} 
[2026-10-05 09:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09: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-10-05 09:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:08: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-10-05 09:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539791360001,"66":25712,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539791360001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:08:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:08:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539791360001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":204271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:08:32] local.INFO: GPS data processed {"connection_id":204271,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:08:32] local.INFO: Acknowledgment sent {"connection_id":204271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:08:42] local.INFO: TCP Data received {"connection_id":205815,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:08:42] local.INFO: Processing buffer {"connection_id":205815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:08:42] local.INFO: IMEI packet received {"connection_id":205815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 09:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":205815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:08:55] local.INFO: TCP Data received {"connection_id":207375,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:08:55] local.INFO: Processing buffer {"connection_id":207375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:08:55] local.INFO: IMEI packet received {"connection_id":207375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":207375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:09:00] local.INFO: TCP Data received {"connection_id":207375,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:09:00] local.INFO: Processing buffer {"connection_id":207375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:09:00] local.INFO: IMEI packet received {"connection_id":207375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":207375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:09:01] local.INFO: TCP Data received {"connection_id":207375,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:09:01] local.INFO: Processing buffer {"connection_id":207375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:09:01] local.INFO: Packet analysis {"connection_id":207375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a21"} 
[2026-10-05 09:09:01] local.INFO: Extracted packet for processing {"connection_id":207375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a21"} 
[2026-10-05 09:09:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539791360001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791171359000,"timestamp_ms":1791171359000,"timestamp_seconds":1791171359,"priority":1,"record_length":96,"hex_timestamp":"000001a10a21f118"} 
[2026-10-05 09:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:09: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-10-05 09: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":178,"data_length":795,"current_offset":136} 
[2026-10-05 09:09: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-10-05 09: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-10-05 09:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:09: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-10-05 09:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539791360001,"66":25712,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539791360001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:09:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:09:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539791360001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":207375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:09:01] local.INFO: GPS data processed {"connection_id":207375,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:09:01] local.INFO: Acknowledgment sent {"connection_id":207375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:09:15] local.INFO: TCP Data received {"connection_id":204272,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:09:15] local.INFO: Processing buffer {"connection_id":204272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:09:15] local.INFO: IMEI packet received {"connection_id":204272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":204272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:09:15] local.INFO: TCP Data received {"connection_id":204272,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a23cda8012d7c7c0005ec3b700008005726..."} 
[2026-10-05 09:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a23cda8012d7c7c0005ec3b700008005726..."} 
[2026-10-05 09:09:15] local.INFO: Processing buffer {"connection_id":204272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a23cda8012d7c7c0005ec3b700008005726..."} 
[2026-10-05 09:09:15] local.INFO: Packet analysis {"connection_id":204272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a23"} 
[2026-10-05 09:09:15] local.INFO: Extracted packet for processing {"connection_id":204272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a23"} 
[2026-10-05 09:09:15] local.INFO: GPS Element Parsed {"raw_longitude":763132928,"raw_latitude":99367792,"longitude_deg":76.3132928,"latitude_deg":9.9367792,"altitude":8,"angle":87,"satellites":38,"speed":36,"hex_longitude":"2d7c7c00","hex_latitude":"05ec3b70","is_valid_coordinates":true} 
[2026-10-05 09:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539896832001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139400310417260544,"note":"Value kept but may cause issues"} 
[2026-10-05 09:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8959981852835889152,"note":"Value kept but may cause issues"} 
[2026-10-05 09:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791171481000,"timestamp_ms":1791171481000,"timestamp_seconds":1791171481,"priority":1,"record_length":96,"hex_timestamp":"000001a10a23cda8"} 
[2026-10-05 09:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 09:09:15] 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-10-05 09:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539896832001,"66":13537,"198":206,"87":13824,"24":36,"16":139400310417260544,"45":8959981852835889152},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-10-05 09:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539896832001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:09:15] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-05 09:09:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139400310417260544,"km_value":139400310417260.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8959981852835889152,"description":"Unknown IO ID 45"} 
[2026-10-05 09:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539896832001,"power":13537,"unknown_198":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8959981852835889152}} 
[2026-10-05 09:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":204272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:09:15] local.INFO: GPS data processed {"connection_id":204272,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:09:15] local.INFO: Acknowledgment sent {"connection_id":204272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:09:32] local.INFO: TCP Data received {"connection_id":207375,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:09:32] local.INFO: Processing buffer {"connection_id":207375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:09:32] local.INFO: Packet analysis {"connection_id":207375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a21"} 
[2026-10-05 09:09:32] local.INFO: Extracted packet for processing {"connection_id":207375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a21"} 
[2026-10-05 09:09:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539791360001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:09: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-10-05 09:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791171359000,"timestamp_ms":1791171359000,"timestamp_seconds":1791171359,"priority":1,"record_length":96,"hex_timestamp":"000001a10a21f118"} 
[2026-10-05 09:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:09:32] 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-10-05 09: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":178,"data_length":795,"current_offset":136} 
[2026-10-05 09:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09: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-10-05 09:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:09: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-10-05 09:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539791360001,"66":25712,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539791360001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:09:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:09:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539791360001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":207375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:09:32] local.INFO: GPS data processed {"connection_id":207375,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:09:32] local.INFO: Acknowledgment sent {"connection_id":207375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:09:50] local.INFO: TCP Data received {"connection_id":205817,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205817,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:09:50] local.INFO: Processing buffer {"connection_id":205817,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:09:50] local.INFO: IMEI packet received {"connection_id":205817,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":205817,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:09:51] local.INFO: TCP Data received {"connection_id":205817,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a24bfd8012d0a74c007060478000e008525..."} 
[2026-10-05 09:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a24bfd8012d0a74c007060478000e008525..."} 
[2026-10-05 09:09:51] local.INFO: Processing buffer {"connection_id":205817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a24bfd8012d0a74c007060478000e008525..."} 
[2026-10-05 09:09:51] local.INFO: Packet analysis {"connection_id":205817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a24"} 
[2026-10-05 09:09:51] local.INFO: Extracted packet for processing {"connection_id":205817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a24"} 
[2026-10-05 09:09:51] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117834872,"longitude_deg":75.5659968,"latitude_deg":11.7834872,"altitude":14,"angle":133,"satellites":37,"speed":2,"hex_longitude":"2d0a74c0","hex_latitude":"07060478","is_valid_coordinates":true} 
[2026-10-05 09:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539914496001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34734826451894272,"note":"Value kept but may cause issues"} 
[2026-10-05 09:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753297436587644928,"note":"Value kept but may cause issues"} 
[2026-10-05 09:09:51] 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-10-05 09:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791171543000,"timestamp_ms":1791171543000,"timestamp_seconds":1791171543,"priority":1,"record_length":96,"hex_timestamp":"000001a10a24bfd8"} 
[2026-10-05 09:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-05 09:09:51] 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-10-05 09:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":205817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":205817,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":205817,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539914496001,"66":14450,"165":206,"94":10240,"24":2,"16":34734826451894272,"45":753297436587644928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-10-05 09:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539914496001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:09:51] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-05 09:09:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34734826451894272,"km_value":34734826451894.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":753297436587644928,"description":"Unknown IO ID 45"} 
[2026-10-05 09:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539914496001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":753297436587644928}} 
[2026-10-05 09:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":205817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966382,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:09:51] local.INFO: GPS data processed {"connection_id":205817,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:09:51] local.INFO: Acknowledgment sent {"connection_id":205817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:09:55] local.INFO: TCP Data received {"connection_id":204394,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:09:55] local.INFO: Processing buffer {"connection_id":204394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:09:55] local.INFO: IMEI packet received {"connection_id":204394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":204394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:09:59] local.INFO: TCP Data received {"connection_id":204275,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:09:59] local.INFO: Processing buffer {"connection_id":204275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:09:59] local.INFO: IMEI packet received {"connection_id":204275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":204275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:10:00] local.INFO: TCP Data received {"connection_id":204275,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:10:00] local.INFO: Processing buffer {"connection_id":204275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:10:00] local.INFO: IMEI packet received {"connection_id":204275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":204275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:10:00] local.INFO: TCP Data received {"connection_id":204394,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:10:00] local.INFO: Processing buffer {"connection_id":204394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:10:00] local.INFO: IMEI packet received {"connection_id":204394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":204394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:10:01] local.INFO: TCP Data received {"connection_id":204394,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:10:01] local.INFO: Processing buffer {"connection_id":204394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:10:01] local.INFO: Packet analysis {"connection_id":204394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a21"} 
[2026-10-05 09:10:01] local.INFO: Extracted packet for processing {"connection_id":204394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a21"} 
[2026-10-05 09:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539791360001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791171359000,"timestamp_ms":1791171359000,"timestamp_seconds":1791171359,"priority":1,"record_length":96,"hex_timestamp":"000001a10a21f118"} 
[2026-10-05 09:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:10: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-10-05 09: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":178,"data_length":795,"current_offset":136} 
[2026-10-05 09:10: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-10-05 09: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-10-05 09:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:10: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-10-05 09:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539791360001,"66":25712,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539791360001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:10:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:10:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539791360001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":204394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:10:01] local.INFO: GPS data processed {"connection_id":204394,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:10:01] local.INFO: Acknowledgment sent {"connection_id":204394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:10:05] local.INFO: TCP Data received {"connection_id":204275,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:10:05] local.INFO: Processing buffer {"connection_id":204275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:10:05] local.INFO: IMEI packet received {"connection_id":204275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":204275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:10:07] local.INFO: TCP Data received {"connection_id":204275,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a252d38012d7d16c005ec3c100009010925..."} 
[2026-10-05 09:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a252d38012d7d16c005ec3c100009010925..."} 
[2026-10-05 09:10:07] local.INFO: Processing buffer {"connection_id":204275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a252d38012d7d16c005ec3c100009010925..."} 
[2026-10-05 09:10:07] local.INFO: Packet analysis {"connection_id":204275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a25"} 
[2026-10-05 09:10:07] local.INFO: Extracted packet for processing {"connection_id":204275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a25"} 
[2026-10-05 09:10:07] local.INFO: GPS Element Parsed {"raw_longitude":763172544,"raw_latitude":99367952,"longitude_deg":76.3172544,"latitude_deg":9.9367952,"altitude":9,"angle":265,"satellites":37,"speed":5,"hex_longitude":"2d7d16c0","hex_latitude":"05ec3c10","is_valid_coordinates":true} 
[2026-10-05 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-10-05 09:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539918848001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139402427836137472,"note":"Value kept but may cause issues"} 
[2026-10-05 09:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015080579527251968,"note":"Value kept but may cause issues"} 
[2026-10-05 09:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791171571000,"timestamp_ms":1791171571000,"timestamp_seconds":1791171571,"priority":1,"record_length":96,"hex_timestamp":"000001a10a252d38"} 
[2026-10-05 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-10-05 09:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-10-05 09:10:07] 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-10-05 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-10-05 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-10-05 09:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539918848001,"66":13820,"110":206,"87":13824,"24":5,"16":139402427836137472,"45":9015080579527251968},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-05 09:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539918848001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:10:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-05 09:10:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139402427836137472,"km_value":139402427836137.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015080579527251968,"description":"Unknown IO ID 45"} 
[2026-10-05 09:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539918848001,"power":13820,"unknown_110":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9015080579527251968}} 
[2026-10-05 09:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":204275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:10:07] local.INFO: GPS data processed {"connection_id":204275,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:10:07] local.INFO: Acknowledgment sent {"connection_id":204275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:10:23] local.INFO: TCP Data received {"connection_id":205817,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a24c7a8012d0a750007060448000e006f25..."} 
[2026-10-05 09:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a24c7a8012d0a750007060448000e006f25..."} 
[2026-10-05 09:10:23] local.INFO: Processing buffer {"connection_id":205817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a24c7a8012d0a750007060448000e006f25..."} 
[2026-10-05 09:10:23] local.INFO: Packet analysis {"connection_id":205817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a24"} 
[2026-10-05 09:10:23] local.INFO: Extracted packet for processing {"connection_id":205817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a24"} 
[2026-10-05 09:10:23] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117834824,"longitude_deg":75.5660032,"latitude_deg":11.7834824,"altitude":14,"angle":111,"satellites":37,"speed":1,"hex_longitude":"2d0a7500","hex_latitude":"07060448","is_valid_coordinates":true} 
[2026-10-05 09:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539915008001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34734830746861568,"note":"Value kept but may cause issues"} 
[2026-10-05 09:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753438174075975680,"note":"Value kept but may cause issues"} 
[2026-10-05 09:10:23] 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-10-05 09:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1791171545000,"timestamp_ms":1791171545000,"timestamp_seconds":1791171545,"priority":1,"record_length":96,"hex_timestamp":"000001a10a24c7a8"} 
[2026-10-05 09:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:10:23] 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-10-05 09:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-05 09:10:23] 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-10-05 09:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":205817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":205817,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":205817,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539915008001,"66":14298,"165":206,"94":10240,"24":1,"16":34734830746861568,"45":753438174075975680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-10-05 09:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539915008001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:10:23] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-05 09:10:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34734830746861568,"km_value":34734830746861.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":753438174075975680,"description":"Unknown IO ID 45"} 
[2026-10-05 09:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539915008001,"power":14298,"unknown_165":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753438174075975680}} 
[2026-10-05 09:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":205817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966385,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:10:23] local.INFO: GPS data processed {"connection_id":205817,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:10:23] local.INFO: Acknowledgment sent {"connection_id":205817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:10:32] local.INFO: TCP Data received {"connection_id":204394,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:10:32] local.INFO: Processing buffer {"connection_id":204394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:10:32] local.INFO: Packet analysis {"connection_id":204394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a21"} 
[2026-10-05 09:10:32] local.INFO: Extracted packet for processing {"connection_id":204394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a21"} 
[2026-10-05 09:10:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539791360001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791171359000,"timestamp_ms":1791171359000,"timestamp_seconds":1791171359,"priority":1,"record_length":96,"hex_timestamp":"000001a10a21f118"} 
[2026-10-05 09:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:10:32] 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-10-05 09: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":178,"data_length":795,"current_offset":136} 
[2026-10-05 09:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09: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-10-05 09:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:10: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-10-05 09:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539791360001,"66":25712,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539791360001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:10:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:10:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539791360001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":204394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:10:32] local.INFO: GPS data processed {"connection_id":204394,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:10:32] local.INFO: Acknowledgment sent {"connection_id":204394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:10:38] local.INFO: TCP Data received {"connection_id":204275,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2567d0012d7cf2c005ec3a00000a010b27..."} 
[2026-10-05 09:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2567d0012d7cf2c005ec3a00000a010b27..."} 
[2026-10-05 09:10:38] local.INFO: Processing buffer {"connection_id":204275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2567d0012d7cf2c005ec3a00000a010b27..."} 
[2026-10-05 09:10:38] local.INFO: Packet analysis {"connection_id":204275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a25"} 
[2026-10-05 09:10:38] local.INFO: Extracted packet for processing {"connection_id":204275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a25"} 
[2026-10-05 09:10:38] local.INFO: GPS Element Parsed {"raw_longitude":763163328,"raw_latitude":99367424,"longitude_deg":76.3163328,"latitude_deg":9.9367424,"altitude":10,"angle":267,"satellites":39,"speed":39,"hex_longitude":"2d7cf2c0","hex_latitude":"05ec3a00","is_valid_coordinates":true} 
[2026-10-05 09:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539922176001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139402870217768960,"note":"Value kept but may cause issues"} 
[2026-10-05 09:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013602835899355136,"note":"Value kept but may cause issues"} 
[2026-10-05 09:10:38] 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-10-05 09:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791171586000,"timestamp_ms":1791171586000,"timestamp_seconds":1791171586,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2567d0"} 
[2026-10-05 09:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 09:10:38] 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-10-05 09:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539922176001,"66":13678,"110":206,"87":13824,"24":39,"16":139402870217768960,"45":9013602835899355136},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-05 09:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539922176001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:10:38] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-05 09:10:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139402870217768960,"km_value":139402870217768.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013602835899355136,"description":"Unknown IO ID 45"} 
[2026-10-05 09:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539922176001,"power":13678,"unknown_110":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":9013602835899355136}} 
[2026-10-05 09:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":204275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:10:38] local.INFO: GPS data processed {"connection_id":204275,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:10:38] local.INFO: Acknowledgment sent {"connection_id":204275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:10:45] local.INFO: TCP Data received {"connection_id":207376,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207376,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:10:45] local.INFO: Processing buffer {"connection_id":207376,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:10:45] local.INFO: IMEI packet received {"connection_id":207376,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":207376,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:10:50] local.INFO: TCP Data received {"connection_id":207376,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207376,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:10:50] local.INFO: Processing buffer {"connection_id":207376,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:10:50] local.INFO: IMEI packet received {"connection_id":207376,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":207376,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:10:51] local.INFO: TCP Data received {"connection_id":207376,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a261798012d0a7fc00705ae580011009425..."} 
[2026-10-05 09:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a261798012d0a7fc00705ae580011009425..."} 
[2026-10-05 09:10:51] local.INFO: Processing buffer {"connection_id":207376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a261798012d0a7fc00705ae580011009425..."} 
[2026-10-05 09:10:51] local.INFO: Packet analysis {"connection_id":207376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a26"} 
[2026-10-05 09:10:51] local.INFO: Extracted packet for processing {"connection_id":207376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a26"} 
[2026-10-05 09:10:51] local.INFO: GPS Element Parsed {"raw_longitude":755662784,"raw_latitude":117812824,"longitude_deg":75.5662784,"latitude_deg":11.7812824,"altitude":17,"angle":148,"satellites":37,"speed":9,"hex_longitude":"2d0a7fc0","hex_latitude":"0705ae58","is_valid_coordinates":true} 
[2026-10-05 09:10: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-10-05 09:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539935744001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34735947438358528,"note":"Value kept but may cause issues"} 
[2026-10-05 09:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754423336489760768,"note":"Value kept but may cause issues"} 
[2026-10-05 09:10:51] 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-10-05 09:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791171631000,"timestamp_ms":1791171631000,"timestamp_seconds":1791171631,"priority":1,"record_length":96,"hex_timestamp":"000001a10a261798"} 
[2026-10-05 09:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:10: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":60,"data_length":795,"current_offset":136} 
[2026-10-05 09:10:51] 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-10-05 09:10: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-10-05 09:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":207376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":207376,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":207376,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539935744001,"66":14374,"153":206,"94":10240,"24":9,"16":34735947438358528,"45":754423336489760768},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-05 09:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539935744001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:10:51] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-05 09:10:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34735947438358528,"km_value":34735947438358.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":754423336489760768,"description":"Unknown IO ID 45"} 
[2026-10-05 09:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539935744001,"power":14374,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":754423336489760768}} 
[2026-10-05 09:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":207376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966388,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:10:51] local.INFO: GPS data processed {"connection_id":207376,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:10:51] local.INFO: Acknowledgment sent {"connection_id":207376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:10:55] local.INFO: TCP Data received {"connection_id":204276,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:10:55] local.INFO: Processing buffer {"connection_id":204276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:10:55] local.INFO: IMEI packet received {"connection_id":204276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":204276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:10:59] local.INFO: TCP Data received {"connection_id":204396,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:10:59] local.INFO: Processing buffer {"connection_id":204396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:10:59] local.INFO: IMEI packet received {"connection_id":204396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":204396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:11:01] local.INFO: TCP Data received {"connection_id":204396,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:11:01] local.INFO: Processing buffer {"connection_id":204396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:11:01] local.INFO: IMEI packet received {"connection_id":204396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":204396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:11:01] local.INFO: TCP Data received {"connection_id":204276,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:11:01] local.INFO: Processing buffer {"connection_id":204276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:11:01] local.INFO: IMEI packet received {"connection_id":204276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":204276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:11:02] local.INFO: TCP Data received {"connection_id":204276,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:11:02] local.INFO: Processing buffer {"connection_id":204276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a21f118012d7f908005afe5380000000026..."} 
[2026-10-05 09:11:02] local.INFO: Packet analysis {"connection_id":204276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a21"} 
[2026-10-05 09:11:02] local.INFO: Extracted packet for processing {"connection_id":204276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a21"} 
[2026-10-05 09:11:02] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 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-10-05 09:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539791360001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11: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-10-05 09:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791171359000,"timestamp_ms":1791171359000,"timestamp_seconds":1791171359,"priority":1,"record_length":96,"hex_timestamp":"000001a10a21f118"} 
[2026-10-05 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-10-05 09:11: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-10-05 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 09:11:02] 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-10-05 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-10-05 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-10-05 09:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:11:02] 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-10-05 09:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539791360001,"66":25712,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539791360001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:11:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:11:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539791360001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":204276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:11:02] local.INFO: GPS data processed {"connection_id":204276,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:11:02] local.INFO: Acknowledgment sent {"connection_id":204276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:11:05] local.INFO: TCP Data received {"connection_id":204396,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:11:05] local.INFO: Processing buffer {"connection_id":204396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:11:05] local.INFO: IMEI packet received {"connection_id":204396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":204396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:11:05] local.INFO: TCP Data received {"connection_id":204396,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2592c8012d7cce4005ec3890000b010f27..."} 
[2026-10-05 09:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2592c8012d7cce4005ec3890000b010f27..."} 
[2026-10-05 09:11:05] local.INFO: Processing buffer {"connection_id":204396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2592c8012d7cce4005ec3890000b010f27..."} 
[2026-10-05 09:11:05] local.INFO: Packet analysis {"connection_id":204396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a25"} 
[2026-10-05 09:11:05] local.INFO: Extracted packet for processing {"connection_id":204396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a25"} 
[2026-10-05 09:11:05] local.INFO: GPS Element Parsed {"raw_longitude":763153984,"raw_latitude":99367056,"longitude_deg":76.3153984,"latitude_deg":9.9367056,"altitude":11,"angle":271,"satellites":39,"speed":28,"hex_longitude":"2d7cce40","hex_latitude":"05ec3890","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539926016001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139403316894367744,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003469736737636352,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:05] 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-10-05 09:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791171597000,"timestamp_ms":1791171597000,"timestamp_seconds":1791171597,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2592c8"} 
[2026-10-05 09:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:11: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-10-05 09: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 09:11:05] 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-10-05 09: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-10-05 09:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539926016001,"66":13917,"110":206,"87":13824,"24":28,"16":139403316894367744,"45":9003469736737636352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-05 09:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539926016001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:11:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-05 09:11:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139403316894367744,"km_value":139403316894367.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003469736737636352,"description":"Unknown IO ID 45"} 
[2026-10-05 09:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539926016001,"power":13917,"unknown_110":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":9003469736737636352}} 
[2026-10-05 09:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":204396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:11:05] local.INFO: GPS data processed {"connection_id":204396,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:11:05] local.INFO: Acknowledgment sent {"connection_id":204396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:11:22] local.INFO: TCP Data received {"connection_id":207376,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a262738012d0a81c00705aab0001100a225..."} 
[2026-10-05 09:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a262738012d0a81c00705aab0001100a225..."} 
[2026-10-05 09:11:22] local.INFO: Processing buffer {"connection_id":207376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a262738012d0a81c00705aab0001100a225..."} 
[2026-10-05 09:11:22] local.INFO: Packet analysis {"connection_id":207376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a26"} 
[2026-10-05 09:11:22] local.INFO: Extracted packet for processing {"connection_id":207376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a26"} 
[2026-10-05 09:11:22] local.INFO: GPS Element Parsed {"raw_longitude":755663296,"raw_latitude":117811888,"longitude_deg":75.5663296,"latitude_deg":11.7811888,"altitude":17,"angle":162,"satellites":37,"speed":9,"hex_longitude":"2d0a81c0","hex_latitude":"0705aab0","is_valid_coordinates":true} 
[2026-10-05 09:11: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-10-05 09:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539937536001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34735998977966080,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756534398814148608,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:22] 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-10-05 09:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791171635000,"timestamp_ms":1791171635000,"timestamp_seconds":1791171635,"priority":1,"record_length":96,"hex_timestamp":"000001a10a262738"} 
[2026-10-05 09:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-05 09:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09:11: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-10-05 09:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":207376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":207376,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":207376,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539937536001,"66":14352,"153":206,"94":10240,"24":9,"16":34735998977966080,"45":756534398814148608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-05 09:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539937536001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:11:22] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-05 09:11:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34735998977966080,"km_value":34735998977966.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":756534398814148608,"description":"Unknown IO ID 45"} 
[2026-10-05 09:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539937536001,"power":14352,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":756534398814148608}} 
[2026-10-05 09:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":207376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966391,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:11:22] local.INFO: GPS data processed {"connection_id":207376,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:11:22] local.INFO: Acknowledgment sent {"connection_id":207376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:11:32] local.INFO: TCP Data received {"connection_id":204276,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:11:32] local.INFO: Processing buffer {"connection_id":204276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:11:32] local.INFO: Packet analysis {"connection_id":204276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a26"} 
[2026-10-05 09:11:32] local.INFO: Extracted packet for processing {"connection_id":204276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a26"} 
[2026-10-05 09:11:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539867904001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11: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-10-05 09:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791171658000,"timestamp_ms":1791171658000,"timestamp_seconds":1791171658,"priority":1,"record_length":96,"hex_timestamp":"000001a10a268110"} 
[2026-10-05 09:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-10-05 09:11:32] 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-10-05 09:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:11: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-10-05 09:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539867904001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539867904001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:11:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:11:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539867904001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":204276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:11:32] local.INFO: GPS data processed {"connection_id":204276,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:11:32] local.INFO: Acknowledgment sent {"connection_id":204276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:11:37] local.INFO: TCP Data received {"connection_id":204396,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a25bdc0012d7ca94005ec37a0000b010d26..."} 
[2026-10-05 09:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a25bdc0012d7ca94005ec37a0000b010d26..."} 
[2026-10-05 09:11:37] local.INFO: Processing buffer {"connection_id":204396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a25bdc0012d7ca94005ec37a0000b010d26..."} 
[2026-10-05 09:11:37] local.INFO: Packet analysis {"connection_id":204396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a25"} 
[2026-10-05 09:11:37] local.INFO: Extracted packet for processing {"connection_id":204396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a25"} 
[2026-10-05 09:11:37] local.INFO: GPS Element Parsed {"raw_longitude":763144512,"raw_latitude":99366816,"longitude_deg":76.3144512,"latitude_deg":9.9366816,"altitude":11,"angle":269,"satellites":38,"speed":35,"hex_longitude":"2d7ca940","hex_latitude":"05ec37a0","is_valid_coordinates":true} 
[2026-10-05 09:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539928832001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139403767865933824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993195900087603200,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:37] 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-10-05 09:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791171608000,"timestamp_ms":1791171608000,"timestamp_seconds":1791171608,"priority":1,"record_length":96,"hex_timestamp":"000001a10a25bdc0"} 
[2026-10-05 09:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:11: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-10-05 09:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-10-05 09:11:37] 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-10-05 09:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539928832001,"66":13830,"110":206,"87":13824,"24":35,"16":139403767865933824,"45":8993195900087603200},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-05 09:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539928832001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:11:37] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-05 09:11:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139403767865933824,"km_value":139403767865933.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993195900087603200,"description":"Unknown IO ID 45"} 
[2026-10-05 09:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539928832001,"power":13830,"unknown_110":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8993195900087603200}} 
[2026-10-05 09:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":204396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:11:37] local.INFO: GPS data processed {"connection_id":204396,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:11:37] local.INFO: Acknowledgment sent {"connection_id":204396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:11:45] local.INFO: TCP Data received {"connection_id":205819,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205819,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:11:45] local.INFO: Processing buffer {"connection_id":205819,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:11:45] local.INFO: IMEI packet received {"connection_id":205819,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":205819,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:11:50] local.INFO: TCP Data received {"connection_id":205819,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205819,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:11:50] local.INFO: Processing buffer {"connection_id":205819,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:11:50] local.INFO: IMEI packet received {"connection_id":205819,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":205819,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:11:51] local.INFO: TCP Data received {"connection_id":205819,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a262b20012d0a81c00705a9d0001100b525..."} 
[2026-10-05 09:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a262b20012d0a81c00705a9d0001100b525..."} 
[2026-10-05 09:11:51] local.INFO: Processing buffer {"connection_id":205819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a262b20012d0a81c00705a9d0001100b525..."} 
[2026-10-05 09:11:51] local.INFO: Packet analysis {"connection_id":205819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a26"} 
[2026-10-05 09:11:51] local.INFO: Extracted packet for processing {"connection_id":205819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a26"} 
[2026-10-05 09:11:51] local.INFO: GPS Element Parsed {"raw_longitude":755663296,"raw_latitude":117811664,"longitude_deg":75.5663296,"latitude_deg":11.7811664,"altitude":17,"angle":181,"satellites":37,"speed":9,"hex_longitude":"2d0a81c0","hex_latitude":"0705a9d0","is_valid_coordinates":true} 
[2026-10-05 09:11: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-10-05 09:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539938560001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34736007567900672,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757097348767330304,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:51] 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-10-05 09:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791171636000,"timestamp_ms":1791171636000,"timestamp_seconds":1791171636,"priority":1,"record_length":96,"hex_timestamp":"000001a10a262b20"} 
[2026-10-05 09:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:11: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":16,"data_length":795,"current_offset":136} 
[2026-10-05 09:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733147904,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:51] local.WARNING: Large IO value detected {"io_id":10,"raw_value":8430746224340500497,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:51] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2986344448,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:51] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:51] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504129645379584,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:51] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3739222034,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:51] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639457998432153,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:51] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6989850508769165568,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738080462,"corrected_to":0} 
[2026-10-05 09:11:51] local.WARNING: Large IO value detected {"io_id":114,"raw_value":2147943904,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:51] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3372272999,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:51] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:51] local.WARNING: Large IO value detected {"io_id":152,"raw_value":84735465617819109,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:51] local.WARNING: Large IO value detected {"io_id":72,"raw_value":4785917038432256,"note":"Value kept but may cause issues"} 
[2026-10-05 09:11:51] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,153,94,24,241,157,16,104,161,23,45,192,174,17,37,10,66,252,64,188,18,103,201,1,240,179,227,5,4,113,205,12,114,8,239,56,2,123,7,11,206,152,72],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1738080462,"validated":0}]} 
[2026-10-05 09:11:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225157378442854400,"timestamp_seconds":1225157378442854.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 09:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":205819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":205819,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":205819,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539938560001,"66":14352,"153":206,"94":10240,"24":9,"16":34736007567900672,"45":757097348767330304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-05 09:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539938560001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:11:51] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-05 09:11:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34736007567900672,"km_value":34736007567900.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":757097348767330304,"description":"Unknown IO ID 45"} 
[2026-10-05 09:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539938560001,"power":14352,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":757097348767330304}} 
[2026-10-05 09:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":205819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966394,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:11:52] local.INFO: GPS data processed {"connection_id":205819,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:11:52] local.INFO: Acknowledgment sent {"connection_id":205819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:11:55] local.INFO: TCP Data received {"connection_id":205820,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:11:55] local.INFO: Processing buffer {"connection_id":205820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:11:55] local.INFO: IMEI packet received {"connection_id":205820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":205820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:12:00] local.INFO: TCP Data received {"connection_id":205820,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:12:00] local.INFO: Processing buffer {"connection_id":205820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:12:00] local.INFO: IMEI packet received {"connection_id":205820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":205820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:12:01] local.INFO: TCP Data received {"connection_id":205820,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:12:01] local.INFO: Processing buffer {"connection_id":205820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:12:01] local.INFO: Packet analysis {"connection_id":205820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a26"} 
[2026-10-05 09:12:01] local.INFO: Extracted packet for processing {"connection_id":205820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a26"} 
[2026-10-05 09:12:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539867904001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791171658000,"timestamp_ms":1791171658000,"timestamp_seconds":1791171658,"priority":1,"record_length":96,"hex_timestamp":"000001a10a268110"} 
[2026-10-05 09:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09: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":112,"data_length":795,"current_offset":136} 
[2026-10-05 09:12: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-10-05 09: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-10-05 09:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:12: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-10-05 09:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539867904001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539867904001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:12:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:12:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539867904001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":205820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:12:01] local.INFO: GPS data processed {"connection_id":205820,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:12:01] local.INFO: Acknowledgment sent {"connection_id":205820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:12:14] local.INFO: TCP Data received {"connection_id":204397,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:12:14] local.INFO: Processing buffer {"connection_id":204397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:12:14] local.INFO: IMEI packet received {"connection_id":204397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":204397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:12:23] local.INFO: TCP Data received {"connection_id":205819,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a277b10012d0a47c007058918000f012325..."} 
[2026-10-05 09:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a277b10012d0a47c007058918000f012325..."} 
[2026-10-05 09:12:23] local.INFO: Processing buffer {"connection_id":205819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a277b10012d0a47c007058918000f012325..."} 
[2026-10-05 09:12:23] local.INFO: Packet analysis {"connection_id":205819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a27"} 
[2026-10-05 09:12:23] local.INFO: Extracted packet for processing {"connection_id":205819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a27"} 
[2026-10-05 09:12:23] local.INFO: GPS Element Parsed {"raw_longitude":755648448,"raw_latitude":117803288,"longitude_deg":75.5648448,"latitude_deg":11.7803288,"altitude":15,"angle":291,"satellites":37,"speed":10,"hex_longitude":"2d0a47c0","hex_latitude":"07058918","is_valid_coordinates":true} 
[2026-10-05 09:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539960576001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34737081309724672,"note":"Value kept but may cause issues"} 
[2026-10-05 09:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":741053275092582400,"note":"Value kept but may cause issues"} 
[2026-10-05 09:12:23] 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-10-05 09:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1791171722000,"timestamp_ms":1791171722000,"timestamp_seconds":1791171722,"priority":1,"record_length":96,"hex_timestamp":"000001a10a277b10"} 
[2026-10-05 09:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 09:12:23] 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-10-05 09:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":205819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":205819,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":205819,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539960576001,"66":14396,"177":206,"94":10240,"24":10,"16":34737081309724672,"45":741053275092582400},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-10-05 09:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539960576001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:12:23] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-05 09:12:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34737081309724672,"km_value":34737081309724.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":741053275092582400,"description":"Unknown IO ID 45"} 
[2026-10-05 09:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539960576001,"power":14396,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":741053275092582400}} 
[2026-10-05 09:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":205819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966396,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:12:23] local.INFO: GPS data processed {"connection_id":205819,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:12:23] local.INFO: Acknowledgment sent {"connection_id":205819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:12:32] local.INFO: TCP Data received {"connection_id":205820,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:12:32] local.INFO: Processing buffer {"connection_id":205820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:12:32] local.INFO: Packet analysis {"connection_id":205820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a26"} 
[2026-10-05 09:12:32] local.INFO: Extracted packet for processing {"connection_id":205820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a26"} 
[2026-10-05 09:12:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539867904001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791171658000,"timestamp_ms":1791171658000,"timestamp_seconds":1791171658,"priority":1,"record_length":96,"hex_timestamp":"000001a10a268110"} 
[2026-10-05 09:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09: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":112,"data_length":795,"current_offset":136} 
[2026-10-05 09:12:32] 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-10-05 09: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-10-05 09:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:12: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-10-05 09:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539867904001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539867904001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:12:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:12:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539867904001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":205820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:12:32] local.INFO: GPS data processed {"connection_id":205820,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:12:32] local.INFO: Acknowledgment sent {"connection_id":205820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:12:36] local.INFO: TCP Data received {"connection_id":204397,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:12:36] local.INFO: Processing buffer {"connection_id":204397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:12:36] local.INFO: IMEI packet received {"connection_id":204397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":204397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:12:37] local.INFO: TCP Data received {"connection_id":204397,"ip":"42.106.6.55","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-05 09:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204397,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-05 09:12:37] local.INFO: Processing buffer {"connection_id":204397,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-05 09:12:37] local.INFO: IMEI packet received {"connection_id":204397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":204397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:12:45] local.INFO: TCP Data received {"connection_id":204278,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204278,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:12:45] local.INFO: Processing buffer {"connection_id":204278,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:12:45] local.INFO: IMEI packet received {"connection_id":204278,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":204278,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:12:50] local.INFO: TCP Data received {"connection_id":204278,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204278,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:12:50] local.INFO: Processing buffer {"connection_id":204278,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:12:50] local.INFO: IMEI packet received {"connection_id":204278,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":204278,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:12:51] local.INFO: TCP Data received {"connection_id":204278,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a277ef8012d0a46c007058940000f011025..."} 
[2026-10-05 09:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a277ef8012d0a46c007058940000f011025..."} 
[2026-10-05 09:12:51] local.INFO: Processing buffer {"connection_id":204278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a277ef8012d0a46c007058940000f011025..."} 
[2026-10-05 09:12:51] local.INFO: Packet analysis {"connection_id":204278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a27"} 
[2026-10-05 09:12:51] local.INFO: Extracted packet for processing {"connection_id":204278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a27"} 
[2026-10-05 09:12:51] local.INFO: GPS Element Parsed {"raw_longitude":755648192,"raw_latitude":117803328,"longitude_deg":75.5648192,"latitude_deg":11.7803328,"altitude":15,"angle":272,"satellites":37,"speed":10,"hex_longitude":"2d0a46c0","hex_latitude":"07058940","is_valid_coordinates":true} 
[2026-10-05 09:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539960832001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34737089899659264,"note":"Value kept but may cause issues"} 
[2026-10-05 09:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740771800115910656,"note":"Value kept but may cause issues"} 
[2026-10-05 09:12:51] 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-10-05 09:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791171723000,"timestamp_ms":1791171723000,"timestamp_seconds":1791171723,"priority":1,"record_length":96,"hex_timestamp":"000001a10a277ef8"} 
[2026-10-05 09:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-05 09:12:51] 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-10-05 09:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":204278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":204278,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":204278,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539960832001,"66":14396,"177":206,"94":10240,"24":10,"16":34737089899659264,"45":740771800115910656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-10-05 09:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539960832001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:12:51] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-05 09:12:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34737089899659264,"km_value":34737089899659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":740771800115910656,"description":"Unknown IO ID 45"} 
[2026-10-05 09:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539960832001,"power":14396,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":740771800115910656}} 
[2026-10-05 09:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":204278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966398,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:12:51] local.INFO: GPS data processed {"connection_id":204278,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:12:51] local.INFO: Acknowledgment sent {"connection_id":204278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:12:55] local.INFO: TCP Data received {"connection_id":207377,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:12:55] local.INFO: Processing buffer {"connection_id":207377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:12:55] local.INFO: IMEI packet received {"connection_id":207377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":207377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:13:00] local.INFO: TCP Data received {"connection_id":207377,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:13:00] local.INFO: Processing buffer {"connection_id":207377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:13:00] local.INFO: IMEI packet received {"connection_id":207377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":207377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:13:01] local.INFO: TCP Data received {"connection_id":207377,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:13:01] local.INFO: Processing buffer {"connection_id":207377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:13:01] local.INFO: Packet analysis {"connection_id":207377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a26"} 
[2026-10-05 09:13:01] local.INFO: Extracted packet for processing {"connection_id":207377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a26"} 
[2026-10-05 09:13:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539867904001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791171658000,"timestamp_ms":1791171658000,"timestamp_seconds":1791171658,"priority":1,"record_length":96,"hex_timestamp":"000001a10a268110"} 
[2026-10-05 09:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09: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":112,"data_length":795,"current_offset":136} 
[2026-10-05 09:13: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-10-05 09: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-10-05 09:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:13: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-10-05 09:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539867904001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539867904001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:13:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:13:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539867904001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":207377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:13:01] local.INFO: GPS data processed {"connection_id":207377,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:13:01] local.INFO: Acknowledgment sent {"connection_id":207377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:13:22] local.INFO: TCP Data received {"connection_id":204278,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a289450012d09e84007056fb0000c00f825..."} 
[2026-10-05 09:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a289450012d09e84007056fb0000c00f825..."} 
[2026-10-05 09:13:22] local.INFO: Processing buffer {"connection_id":204278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a289450012d09e84007056fb0000c00f825..."} 
[2026-10-05 09:13:22] local.INFO: Packet analysis {"connection_id":204278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a28"} 
[2026-10-05 09:13:22] local.INFO: Extracted packet for processing {"connection_id":204278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a28"} 
[2026-10-05 09:13:22] local.INFO: GPS Element Parsed {"raw_longitude":755624000,"raw_latitude":117796784,"longitude_deg":75.5624,"latitude_deg":11.7796784,"altitude":12,"angle":248,"satellites":37,"speed":10,"hex_longitude":"2d09e840","hex_latitude":"07056fb0","is_valid_coordinates":true} 
[2026-10-05 09:13: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-10-05 09:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539979008001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34738399864684544,"note":"Value kept but may cause issues"} 
[2026-10-05 09:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":714172414815125504,"note":"Value kept but may cause issues"} 
[2026-10-05 09:13:22] 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-10-05 09:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791171794000,"timestamp_ms":1791171794000,"timestamp_seconds":1791171794,"priority":1,"record_length":96,"hex_timestamp":"000001a10a289450"} 
[2026-10-05 09:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:13: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":115,"data_length":795,"current_offset":136} 
[2026-10-05 09:13:22] 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-10-05 09:13: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-10-05 09:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":204278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":204278,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":204278,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539979008001,"66":14461,"177":206,"94":10240,"24":10,"16":34738399864684544,"45":714172414815125504},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-10-05 09:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539979008001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:13:22] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-05 09:13:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34738399864684544,"km_value":34738399864684.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":714172414815125504,"description":"Unknown IO ID 45"} 
[2026-10-05 09:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539979008001,"power":14461,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":714172414815125504}} 
[2026-10-05 09:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":204278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966400,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:13:23] local.INFO: GPS data processed {"connection_id":204278,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:13:23] local.INFO: Acknowledgment sent {"connection_id":204278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:13:32] local.INFO: TCP Data received {"connection_id":207377,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:13:32] local.INFO: Processing buffer {"connection_id":207377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:13:32] local.INFO: Packet analysis {"connection_id":207377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a26"} 
[2026-10-05 09:13:32] local.INFO: Extracted packet for processing {"connection_id":207377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a26"} 
[2026-10-05 09:13:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539867904001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:13: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-10-05 09:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791171658000,"timestamp_ms":1791171658000,"timestamp_seconds":1791171658,"priority":1,"record_length":96,"hex_timestamp":"000001a10a268110"} 
[2026-10-05 09:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-10-05 09:13:32] 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-10-05 09: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-10-05 09:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:13: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-10-05 09:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539867904001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539867904001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:13:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:13:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539867904001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":207377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:13:32] local.INFO: GPS data processed {"connection_id":207377,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:13:32] local.INFO: Acknowledgment sent {"connection_id":207377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:13:45] local.INFO: TCP Data received {"connection_id":205822,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205822,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:13:45] local.INFO: Processing buffer {"connection_id":205822,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:13:45] local.INFO: IMEI packet received {"connection_id":205822,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":205822,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:13:46] local.INFO: TCP Data received {"connection_id":205822,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205822,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:13:46] local.INFO: Processing buffer {"connection_id":205822,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:13:46] local.INFO: IMEI packet received {"connection_id":205822,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":205822,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:13:47] local.INFO: TCP Data received {"connection_id":205822,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205822,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:13:47] local.INFO: Processing buffer {"connection_id":205822,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:13:47] local.INFO: IMEI packet received {"connection_id":205822,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":205822,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:13:48] local.INFO: TCP Data received {"connection_id":205822,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205822,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:13:48] local.INFO: Processing buffer {"connection_id":205822,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:13:48] local.INFO: IMEI packet received {"connection_id":205822,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":205822,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:13:55] local.INFO: TCP Data received {"connection_id":204399,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:13:55] local.INFO: Processing buffer {"connection_id":204399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:13:55] local.INFO: IMEI packet received {"connection_id":204399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":204399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:14:00] local.INFO: TCP Data received {"connection_id":204399,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:14:00] local.INFO: Processing buffer {"connection_id":204399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:14:00] local.INFO: IMEI packet received {"connection_id":204399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":204399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:14:02] local.INFO: TCP Data received {"connection_id":204399,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:14:02] local.INFO: Processing buffer {"connection_id":204399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:14:02] local.INFO: Packet analysis {"connection_id":204399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a26"} 
[2026-10-05 09:14:02] local.INFO: Extracted packet for processing {"connection_id":204399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a26"} 
[2026-10-05 09:14:02] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 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-10-05 09:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539867904001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:14: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-10-05 09:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791171658000,"timestamp_ms":1791171658000,"timestamp_seconds":1791171658,"priority":1,"record_length":96,"hex_timestamp":"000001a10a268110"} 
[2026-10-05 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-10-05 09:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-10-05 09:14:02] 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-10-05 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-10-05 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-10-05 09:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:14: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-10-05 09:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539867904001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539867904001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:14:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:14:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539867904001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":204399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:14:02] local.INFO: GPS data processed {"connection_id":204399,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:14:02] local.INFO: Acknowledgment sent {"connection_id":204399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:14:08] local.INFO: TCP Data received {"connection_id":205821,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205821,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:14:08] local.INFO: Processing buffer {"connection_id":205821,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:14:08] local.INFO: IMEI packet received {"connection_id":205821,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 09:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":205821,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:14:33] local.INFO: TCP Data received {"connection_id":204399,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:14:33] local.INFO: Processing buffer {"connection_id":204399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:14:33] local.INFO: Packet analysis {"connection_id":204399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a26"} 
[2026-10-05 09:14:33] local.INFO: Extracted packet for processing {"connection_id":204399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a26"} 
[2026-10-05 09:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 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-10-05 09:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539867904001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791171658000,"timestamp_ms":1791171658000,"timestamp_seconds":1791171658,"priority":1,"record_length":96,"hex_timestamp":"000001a10a268110"} 
[2026-10-05 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-10-05 09:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-10-05 09:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 09:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:14: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-10-05 09:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539867904001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539867904001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:14:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:14:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539867904001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":204399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:14:34] local.INFO: GPS data processed {"connection_id":204399,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:14:34] local.INFO: Acknowledgment sent {"connection_id":204399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:14:42] local.INFO: TCP Data received {"connection_id":204279,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204279,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:14:42] local.INFO: Processing buffer {"connection_id":204279,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:14:42] local.INFO: IMEI packet received {"connection_id":204279,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 09:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":204279,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:14:55] local.INFO: TCP Data received {"connection_id":207379,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:14:55] local.INFO: Processing buffer {"connection_id":207379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:14:55] local.INFO: IMEI packet received {"connection_id":207379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":207379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:15:00] local.INFO: TCP Data received {"connection_id":207379,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:15:00] local.INFO: Processing buffer {"connection_id":207379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:15:00] local.INFO: IMEI packet received {"connection_id":207379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":207379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:15:01] local.INFO: TCP Data received {"connection_id":207379,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:15:01] local.INFO: Processing buffer {"connection_id":207379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:15:01] local.INFO: Packet analysis {"connection_id":207379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a26"} 
[2026-10-05 09:15:01] local.INFO: Extracted packet for processing {"connection_id":207379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a26"} 
[2026-10-05 09:15:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539867904001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791171658000,"timestamp_ms":1791171658000,"timestamp_seconds":1791171658,"priority":1,"record_length":96,"hex_timestamp":"000001a10a268110"} 
[2026-10-05 09:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09: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":112,"data_length":795,"current_offset":136} 
[2026-10-05 09:15: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-10-05 09: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-10-05 09:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:15: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-10-05 09:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539867904001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539867904001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:15:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:15:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539867904001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":207379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:15:01] local.INFO: GPS data processed {"connection_id":207379,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:15:01] local.INFO: Acknowledgment sent {"connection_id":207379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:15:32] local.INFO: TCP Data received {"connection_id":207379,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:15:32] local.INFO: Processing buffer {"connection_id":207379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:15:32] local.INFO: Packet analysis {"connection_id":207379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a26"} 
[2026-10-05 09:15:32] local.INFO: Extracted packet for processing {"connection_id":207379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a26"} 
[2026-10-05 09:15:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539867904001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:15: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-10-05 09:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791171658000,"timestamp_ms":1791171658000,"timestamp_seconds":1791171658,"priority":1,"record_length":96,"hex_timestamp":"000001a10a268110"} 
[2026-10-05 09:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-10-05 09:15:32] 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-10-05 09:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:15: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-10-05 09:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539867904001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539867904001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:15:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:15:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539867904001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":207379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:15:32] local.INFO: GPS data processed {"connection_id":207379,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:15:32] local.INFO: Acknowledgment sent {"connection_id":207379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:15:55] local.INFO: TCP Data received {"connection_id":204402,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:15:55] local.INFO: Processing buffer {"connection_id":204402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:15:55] local.INFO: IMEI packet received {"connection_id":204402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":204402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:16:00] local.INFO: TCP Data received {"connection_id":204402,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:16:00] local.INFO: Processing buffer {"connection_id":204402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:16:00] local.INFO: IMEI packet received {"connection_id":204402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":204402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:16:01] local.INFO: TCP Data received {"connection_id":204402,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:16:01] local.INFO: Processing buffer {"connection_id":204402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a268110012d7f908005afe5380000000026..."} 
[2026-10-05 09:16:01] local.INFO: Packet analysis {"connection_id":204402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a26"} 
[2026-10-05 09:16:01] local.INFO: Extracted packet for processing {"connection_id":204402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a26"} 
[2026-10-05 09:16:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539867904001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791171658000,"timestamp_ms":1791171658000,"timestamp_seconds":1791171658,"priority":1,"record_length":96,"hex_timestamp":"000001a10a268110"} 
[2026-10-05 09:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09: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":112,"data_length":795,"current_offset":136} 
[2026-10-05 09:16: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-10-05 09: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-10-05 09:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:16: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-10-05 09:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539867904001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539867904001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:16:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:16:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539867904001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":204402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:16:01] local.INFO: GPS data processed {"connection_id":204402,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:16:01] local.INFO: Acknowledgment sent {"connection_id":204402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:16:32] local.INFO: TCP Data received {"connection_id":204402,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2b0d20012d7f908005afe5380000000025..."} 
[2026-10-05 09:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2b0d20012d7f908005afe5380000000025..."} 
[2026-10-05 09:16:32] local.INFO: Processing buffer {"connection_id":204402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2b0d20012d7f908005afe5380000000025..."} 
[2026-10-05 09:16:32] local.INFO: Packet analysis {"connection_id":204402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2b"} 
[2026-10-05 09:16:32] local.INFO: Extracted packet for processing {"connection_id":204402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2b"} 
[2026-10-05 09:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539944448001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791171956000,"timestamp_ms":1791171956000,"timestamp_seconds":1791171956,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2b0d20"} 
[2026-10-05 09:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 09:16: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-10-05 09:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:16: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-10-05 09:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539944448001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539944448001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:16:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:16:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539944448001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":204402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:16:32] local.INFO: GPS data processed {"connection_id":204402,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:16:32] local.INFO: Acknowledgment sent {"connection_id":204402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:16:55] local.INFO: TCP Data received {"connection_id":204283,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:16:55] local.INFO: Processing buffer {"connection_id":204283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:16:55] local.INFO: IMEI packet received {"connection_id":204283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":204283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:17:00] local.INFO: TCP Data received {"connection_id":204283,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:17:00] local.INFO: Processing buffer {"connection_id":204283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:17:00] local.INFO: IMEI packet received {"connection_id":204283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":204283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:17:01] local.INFO: TCP Data received {"connection_id":204283,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2b0d20012d7f908005afe5380000000025..."} 
[2026-10-05 09:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2b0d20012d7f908005afe5380000000025..."} 
[2026-10-05 09:17:01] local.INFO: Processing buffer {"connection_id":204283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2b0d20012d7f908005afe5380000000025..."} 
[2026-10-05 09:17:01] local.INFO: Packet analysis {"connection_id":204283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2b"} 
[2026-10-05 09:17:01] local.INFO: Extracted packet for processing {"connection_id":204283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2b"} 
[2026-10-05 09:17:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539944448001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791171956000,"timestamp_ms":1791171956000,"timestamp_seconds":1791171956,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2b0d20"} 
[2026-10-05 09:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09: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":102,"data_length":795,"current_offset":136} 
[2026-10-05 09:17: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-10-05 09: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-10-05 09:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:17: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-10-05 09:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539944448001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539944448001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:17:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:17:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539944448001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":204283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:17:01] local.INFO: GPS data processed {"connection_id":204283,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:17:01] local.INFO: Acknowledgment sent {"connection_id":204283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:17:32] local.INFO: TCP Data received {"connection_id":204283,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2b0d20012d7f908005afe5380000000025..."} 
[2026-10-05 09:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2b0d20012d7f908005afe5380000000025..."} 
[2026-10-05 09:17:32] local.INFO: Processing buffer {"connection_id":204283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2b0d20012d7f908005afe5380000000025..."} 
[2026-10-05 09:17:32] local.INFO: Packet analysis {"connection_id":204283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2b"} 
[2026-10-05 09:17:32] local.INFO: Extracted packet for processing {"connection_id":204283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2b"} 
[2026-10-05 09:17:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539944448001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:17: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-10-05 09:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791171956000,"timestamp_ms":1791171956000,"timestamp_seconds":1791171956,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2b0d20"} 
[2026-10-05 09:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 09:17: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-10-05 09: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-10-05 09:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539944448001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539944448001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:17:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:17:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539944448001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":204283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:17:32] local.INFO: GPS data processed {"connection_id":204283,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:17:32] local.INFO: Acknowledgment sent {"connection_id":204283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:17:40] local.INFO: TCP Data received {"connection_id":205823,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:17:40] local.INFO: Processing buffer {"connection_id":205823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:17:40] local.INFO: IMEI packet received {"connection_id":205823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":205823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:17:41] local.INFO: TCP Data received {"connection_id":205823,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2a97f0012d7a6c0005eb99800008010322..."} 
[2026-10-05 09:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2a97f0012d7a6c0005eb99800008010322..."} 
[2026-10-05 09:17:41] local.INFO: Processing buffer {"connection_id":205823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2a97f0012d7a6c0005eb99800008010322..."} 
[2026-10-05 09:17:41] local.INFO: Packet analysis {"connection_id":205823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2a"} 
[2026-10-05 09:17:41] local.INFO: Extracted packet for processing {"connection_id":205823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2a"} 
[2026-10-05 09:17:41] local.INFO: GPS Element Parsed {"raw_longitude":762997760,"raw_latitude":99326336,"longitude_deg":76.299776,"latitude_deg":9.9326336,"altitude":8,"angle":259,"satellites":34,"speed":1,"hex_longitude":"2d7a6c00","hex_latitude":"05eb9980","is_valid_coordinates":true} 
[2026-10-05 09:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540009728001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139411159504650240,"note":"Value kept but may cause issues"} 
[2026-10-05 09:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8821988745492985856,"note":"Value kept but may cause issues"} 
[2026-10-05 09:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791171926000,"timestamp_ms":1791171926000,"timestamp_seconds":1791171926,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2a97f0"} 
[2026-10-05 09:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-05 09:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":205823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":205823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":205823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540009728001,"66":13319,"161":206,"87":13824,"24":1,"16":139411159504650240,"45":8821988745492985856},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-10-05 09:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540009728001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:17:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 09:17:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139411159504650240,"km_value":139411159504650.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8821988745492985856,"description":"Unknown IO ID 45"} 
[2026-10-05 09:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540009728001,"power":13319,"unknown_161":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8821988745492985856}} 
[2026-10-05 09:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":205823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966410,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:17:41] local.INFO: GPS data processed {"connection_id":205823,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:17:41] local.INFO: Acknowledgment sent {"connection_id":205823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:17:55] local.INFO: TCP Data received {"connection_id":207381,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:17:55] local.INFO: Processing buffer {"connection_id":207381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:17:55] local.INFO: IMEI packet received {"connection_id":207381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":207381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:17:59] local.INFO: TCP Data received {"connection_id":205825,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205825,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:17:59] local.INFO: Processing buffer {"connection_id":205825,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:17:59] local.INFO: IMEI packet received {"connection_id":205825,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":205825,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:18:00] local.INFO: TCP Data received {"connection_id":207381,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:18:00] local.INFO: Processing buffer {"connection_id":207381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:18:00] local.INFO: IMEI packet received {"connection_id":207381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":207381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:18:01] local.INFO: TCP Data received {"connection_id":207381,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2b0d20012d7f908005afe5380000000025..."} 
[2026-10-05 09:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2b0d20012d7f908005afe5380000000025..."} 
[2026-10-05 09:18:01] local.INFO: Processing buffer {"connection_id":207381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2b0d20012d7f908005afe5380000000025..."} 
[2026-10-05 09:18:01] local.INFO: Packet analysis {"connection_id":207381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2b"} 
[2026-10-05 09:18:01] local.INFO: Extracted packet for processing {"connection_id":207381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2b"} 
[2026-10-05 09:18:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 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-10-05 09:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539944448001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:18: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-10-05 09:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791171956000,"timestamp_ms":1791171956000,"timestamp_seconds":1791171956,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2b0d20"} 
[2026-10-05 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-10-05 09:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 09:18: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-10-05 09: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-10-05 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-10-05 09:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:18: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-10-05 09:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539944448001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539944448001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:18:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:18:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539944448001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":207381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:18:01] local.INFO: GPS data processed {"connection_id":207381,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:18:01] local.INFO: Acknowledgment sent {"connection_id":207381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:18:05] local.INFO: TCP Data received {"connection_id":205825,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205825,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:18:05] local.INFO: Processing buffer {"connection_id":205825,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:18:05] local.INFO: IMEI packet received {"connection_id":205825,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":205825,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:18:06] local.INFO: TCP Data received {"connection_id":205825,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2cb300012d7a130005ec1f28000c01561e..."} 
[2026-10-05 09:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2cb300012d7a130005ec1f28000c01561e..."} 
[2026-10-05 09:18:06] local.INFO: Processing buffer {"connection_id":205825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2cb300012d7a130005ec1f28000c01561e..."} 
[2026-10-05 09:18:06] local.INFO: Packet analysis {"connection_id":205825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2c"} 
[2026-10-05 09:18:06] local.INFO: Extracted packet for processing {"connection_id":205825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2c"} 
[2026-10-05 09:18:06] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":99360552,"longitude_deg":76.2974976,"latitude_deg":9.9360552,"altitude":12,"angle":342,"satellites":30,"speed":17,"hex_longitude":"2d7a1300","hex_latitude":"05ec1f28","is_valid_coordinates":true} 
[2026-10-05 09:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540043264001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139413397182611456,"note":"Value kept but may cause issues"} 
[2026-10-05 09:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799963328571955200,"note":"Value kept but may cause issues"} 
[2026-10-05 09:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791172064000,"timestamp_ms":1791172064000,"timestamp_seconds":1791172064,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2cb300"} 
[2026-10-05 09:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 09:18:06] 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-10-05 09:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540043264001,"66":13493,"99":206,"87":13824,"24":17,"16":139413397182611456,"45":8799963328571955200},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-05 09:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540043264001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:18:06] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-05 09:18:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139413397182611456,"km_value":139413397182611.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799963328571955200,"description":"Unknown IO ID 45"} 
[2026-10-05 09:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540043264001,"power":13493,"unknown_99":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8799963328571955200}} 
[2026-10-05 09:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":205825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:18:06] local.INFO: GPS data processed {"connection_id":205825,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:18:06] local.INFO: Acknowledgment sent {"connection_id":205825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:18:32] local.INFO: TCP Data received {"connection_id":207381,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2b0d20012d7f908005afe5380000000025..."} 
[2026-10-05 09:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2b0d20012d7f908005afe5380000000025..."} 
[2026-10-05 09:18:32] local.INFO: Processing buffer {"connection_id":207381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2b0d20012d7f908005afe5380000000025..."} 
[2026-10-05 09:18:32] local.INFO: Packet analysis {"connection_id":207381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2b"} 
[2026-10-05 09:18:32] local.INFO: Extracted packet for processing {"connection_id":207381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2b"} 
[2026-10-05 09:18:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 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-10-05 09:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539944448001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:18: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-10-05 09:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791171956000,"timestamp_ms":1791171956000,"timestamp_seconds":1791171956,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2b0d20"} 
[2026-10-05 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-10-05 09:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 09:18: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-10-05 09: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-10-05 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-10-05 09:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:18: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-10-05 09:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539944448001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539944448001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:18:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:18:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539944448001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":207381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:18:32] local.INFO: GPS data processed {"connection_id":207381,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:18:32] local.INFO: Acknowledgment sent {"connection_id":207381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:18:37] local.INFO: TCP Data received {"connection_id":205825,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2cc2a0012d7a10c005ec24a0000b014b1f..."} 
[2026-10-05 09:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2cc2a0012d7a10c005ec24a0000b014b1f..."} 
[2026-10-05 09:18:37] local.INFO: Processing buffer {"connection_id":205825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2cc2a0012d7a10c005ec24a0000b014b1f..."} 
[2026-10-05 09:18:37] local.INFO: Packet analysis {"connection_id":205825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2c"} 
[2026-10-05 09:18:37] local.INFO: Extracted packet for processing {"connection_id":205825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2c"} 
[2026-10-05 09:18:37] local.INFO: GPS Element Parsed {"raw_longitude":762974400,"raw_latitude":99361952,"longitude_deg":76.29744,"latitude_deg":9.9361952,"altitude":11,"angle":331,"satellites":31,"speed":12,"hex_longitude":"2d7a10c0","hex_latitude":"05ec24a0","is_valid_coordinates":true} 
[2026-10-05 09:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540048384001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139413470197055488,"note":"Value kept but may cause issues"} 
[2026-10-05 09:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522621011968,"note":"Value kept but may cause issues"} 
[2026-10-05 09:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791172068000,"timestamp_ms":1791172068000,"timestamp_seconds":1791172068,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2cc2a0"} 
[2026-10-05 09:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:18: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-10-05 09:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-10-05 09:18:37] 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-10-05 09:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540048384001,"66":13222,"99":206,"87":13824,"24":12,"16":139413470197055488,"45":8796374522621011968},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-05 09:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540048384001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:18:37] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-05 09:18:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139413470197055488,"km_value":139413470197055.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522621011968,"description":"Unknown IO ID 45"} 
[2026-10-05 09:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540048384001,"power":13222,"unknown_99":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8796374522621011968}} 
[2026-10-05 09:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":205825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966414,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:18:37] local.INFO: GPS data processed {"connection_id":205825,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:18:37] local.INFO: Acknowledgment sent {"connection_id":205825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:18:55] local.INFO: TCP Data received {"connection_id":207382,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:18:55] local.INFO: Processing buffer {"connection_id":207382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:18:55] local.INFO: IMEI packet received {"connection_id":207382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":207382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:19:00] local.INFO: TCP Data received {"connection_id":204406,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:19:00] local.INFO: Processing buffer {"connection_id":204406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:19:00] local.INFO: IMEI packet received {"connection_id":204406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":204406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:19:00] local.INFO: TCP Data received {"connection_id":207382,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:19:00] local.INFO: Processing buffer {"connection_id":207382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:19:00] local.INFO: IMEI packet received {"connection_id":207382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":207382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:19:01] local.INFO: TCP Data received {"connection_id":207382,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2b0d20012d7f908005afe5380000000025..."} 
[2026-10-05 09:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2b0d20012d7f908005afe5380000000025..."} 
[2026-10-05 09:19:01] local.INFO: Processing buffer {"connection_id":207382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2b0d20012d7f908005afe5380000000025..."} 
[2026-10-05 09:19:01] local.INFO: Packet analysis {"connection_id":207382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2b"} 
[2026-10-05 09:19:01] local.INFO: Extracted packet for processing {"connection_id":207382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2b"} 
[2026-10-05 09:19:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539944448001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:19: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-10-05 09:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791171956000,"timestamp_ms":1791171956000,"timestamp_seconds":1791171956,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2b0d20"} 
[2026-10-05 09:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 09:19: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-10-05 09:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:19: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-10-05 09:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539944448001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539944448001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:19:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:19:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539944448001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":207382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:19:01] local.INFO: GPS data processed {"connection_id":207382,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:19:01] local.INFO: Acknowledgment sent {"connection_id":207382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:19:01] local.INFO: TCP Data received {"connection_id":204405,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204405,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:19:01] local.INFO: Processing buffer {"connection_id":204405,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:19:01] local.INFO: IMEI packet received {"connection_id":204405,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":204405,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:19:03] local.INFO: TCP Data received {"connection_id":204405,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2ce1e0012d0a5a8007047038001300f123..."} 
[2026-10-05 09:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2ce1e0012d0a5a8007047038001300f123..."} 
[2026-10-05 09:19:03] local.INFO: Processing buffer {"connection_id":204405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2ce1e0012d0a5a8007047038001300f123..."} 
[2026-10-05 09:19:03] local.INFO: Packet analysis {"connection_id":204405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2c"} 
[2026-10-05 09:19:03] local.INFO: Extracted packet for processing {"connection_id":204405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2c"} 
[2026-10-05 09:19:03] local.INFO: GPS Element Parsed {"raw_longitude":755653248,"raw_latitude":117731384,"longitude_deg":75.5653248,"latitude_deg":11.7731384,"altitude":19,"angle":241,"satellites":35,"speed":15,"hex_longitude":"2d0a5a80","hex_latitude":"07047038","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540051200001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34745426431180800,"note":"Value kept but may cause issues"} 
[2026-10-05 09:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":746471668375934976,"note":"Value kept but may cause issues"} 
[2026-10-05 09:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791172076000,"timestamp_ms":1791172076000,"timestamp_seconds":1791172076,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2ce1e0"} 
[2026-10-05 09:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:19: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-10-05 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-05 09:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09: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-10-05 09:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":204405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":204405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":204405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540051200001,"66":14439,"177":206,"94":10240,"24":15,"16":34745426431180800,"45":746471668375934976},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-10-05 09:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540051200001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:19:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-05 09:19:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34745426431180800,"km_value":34745426431180.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":746471668375934976,"description":"Unknown IO ID 45"} 
[2026-10-05 09:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540051200001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":746471668375934976}} 
[2026-10-05 09:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":204405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966416,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:19:03] local.INFO: GPS data processed {"connection_id":204405,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:19:03] local.INFO: Acknowledgment sent {"connection_id":204405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:19:05] local.INFO: TCP Data received {"connection_id":204406,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:19:05] local.INFO: Processing buffer {"connection_id":204406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:19:05] local.INFO: IMEI packet received {"connection_id":204406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":204406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:19:06] local.INFO: TCP Data received {"connection_id":204406,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2ce1e0012d7a0c8005ec2cc0000a015822..."} 
[2026-10-05 09:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2ce1e0012d7a0c8005ec2cc0000a015822..."} 
[2026-10-05 09:19:06] local.INFO: Processing buffer {"connection_id":204406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2ce1e0012d7a0c8005ec2cc0000a015822..."} 
[2026-10-05 09:19:06] local.INFO: Packet analysis {"connection_id":204406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2c"} 
[2026-10-05 09:19:06] local.INFO: Extracted packet for processing {"connection_id":204406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2c"} 
[2026-10-05 09:19:06] local.INFO: GPS Element Parsed {"raw_longitude":762973312,"raw_latitude":99364032,"longitude_deg":76.2973312,"latitude_deg":9.9364032,"altitude":10,"angle":344,"satellites":34,"speed":9,"hex_longitude":"2d7a0c80","hex_latitude":"05ec2cc0","is_valid_coordinates":true} 
[2026-10-05 09:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540049408001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139413586161172480,"note":"Value kept but may cause issues"} 
[2026-10-05 09:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795741203923771392,"note":"Value kept but may cause issues"} 
[2026-10-05 09:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791172076000,"timestamp_ms":1791172076000,"timestamp_seconds":1791172076,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2ce1e0"} 
[2026-10-05 09:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-10-05 09:19: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-10-05 09:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540049408001,"66":13961,"99":206,"87":13824,"24":9,"16":139413586161172480,"45":8795741203923771392},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-05 09:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540049408001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:19:06] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-05 09:19:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139413586161172480,"km_value":139413586161172.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795741203923771392,"description":"Unknown IO ID 45"} 
[2026-10-05 09:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540049408001,"power":13961,"unknown_99":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8795741203923771392}} 
[2026-10-05 09:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":204406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:19:06] local.INFO: GPS data processed {"connection_id":204406,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:19:06] local.INFO: Acknowledgment sent {"connection_id":204406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:19:32] local.INFO: TCP Data received {"connection_id":207382,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2b0d20012d7f908005afe5380000000025..."} 
[2026-10-05 09:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2b0d20012d7f908005afe5380000000025..."} 
[2026-10-05 09:19:32] local.INFO: Processing buffer {"connection_id":207382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2b0d20012d7f908005afe5380000000025..."} 
[2026-10-05 09:19:32] local.INFO: Packet analysis {"connection_id":207382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2b"} 
[2026-10-05 09:19:32] local.INFO: Extracted packet for processing {"connection_id":207382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2b"} 
[2026-10-05 09:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539944448001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:19: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-10-05 09:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791171956000,"timestamp_ms":1791171956000,"timestamp_seconds":1791171956,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2b0d20"} 
[2026-10-05 09:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 09:19: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-10-05 09:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:19: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-10-05 09:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539944448001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539944448001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:19:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:19:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539944448001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":207382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:19:32] local.INFO: GPS data processed {"connection_id":207382,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:19:32] local.INFO: Acknowledgment sent {"connection_id":207382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:19:37] local.INFO: TCP Data received {"connection_id":204406,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2d2060012d7a038005ec4ee80009015824..."} 
[2026-10-05 09:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2d2060012d7a038005ec4ee80009015824..."} 
[2026-10-05 09:19:37] local.INFO: Processing buffer {"connection_id":204406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2d2060012d7a038005ec4ee80009015824..."} 
[2026-10-05 09:19:37] local.INFO: Packet analysis {"connection_id":204406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2d"} 
[2026-10-05 09:19:37] local.INFO: Extracted packet for processing {"connection_id":204406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2d"} 
[2026-10-05 09:19:37] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":99372776,"longitude_deg":76.2971008,"latitude_deg":9.9372776,"altitude":9,"angle":344,"satellites":36,"speed":23,"hex_longitude":"2d7a0380","hex_latitude":"05ec4ee8","is_valid_coordinates":true} 
[2026-10-05 09:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540051456001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139414024247836672,"note":"Value kept but may cause issues"} 
[2026-10-05 09:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794544935273283584,"note":"Value kept but may cause issues"} 
[2026-10-05 09:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791172092000,"timestamp_ms":1791172092000,"timestamp_seconds":1791172092,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2d2060"} 
[2026-10-05 09:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:19: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-10-05 09:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-05 09:19:37] 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-10-05 09:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540051456001,"66":13798,"99":206,"87":13824,"24":23,"16":139414024247836672,"45":8794544935273283584},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-05 09:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540051456001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:19:37] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-05 09:19:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139414024247836672,"km_value":139414024247836.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794544935273283584,"description":"Unknown IO ID 45"} 
[2026-10-05 09:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540051456001,"power":13798,"unknown_99":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8794544935273283584}} 
[2026-10-05 09:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":204406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:19:37] local.INFO: GPS data processed {"connection_id":204406,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:19:37] local.INFO: Acknowledgment sent {"connection_id":204406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:19:45] local.INFO: TCP Data received {"connection_id":205826,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205826,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:19:45] local.INFO: Processing buffer {"connection_id":205826,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:19:45] local.INFO: IMEI packet received {"connection_id":205826,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":205826,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:19:48] local.INFO: TCP Data received {"connection_id":205826,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205826,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:19:48] local.INFO: Processing buffer {"connection_id":205826,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:19:48] local.INFO: IMEI packet received {"connection_id":205826,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":205826,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:19:50] local.INFO: TCP Data received {"connection_id":205826,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205826,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:19:50] local.INFO: Processing buffer {"connection_id":205826,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:19:50] local.INFO: IMEI packet received {"connection_id":205826,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":205826,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:19:51] local.INFO: TCP Data received {"connection_id":205826,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2e2de8012d0a5c80070471d00017003c23..."} 
[2026-10-05 09:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2e2de8012d0a5c80070471d00017003c23..."} 
[2026-10-05 09:19:51] local.INFO: Processing buffer {"connection_id":205826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2e2de8012d0a5c80070471d00017003c23..."} 
[2026-10-05 09:19:51] local.INFO: Packet analysis {"connection_id":205826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2e"} 
[2026-10-05 09:19:51] local.INFO: Extracted packet for processing {"connection_id":205826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2e"} 
[2026-10-05 09:19:51] local.INFO: GPS Element Parsed {"raw_longitude":755653760,"raw_latitude":117731792,"longitude_deg":75.565376,"latitude_deg":11.7731792,"altitude":23,"angle":60,"satellites":35,"speed":15,"hex_longitude":"2d0a5c80","hex_latitude":"070471d0","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540072960001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34746813705617408,"note":"Value kept but may cause issues"} 
[2026-10-05 09:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":746190193399236608,"note":"Value kept but may cause issues"} 
[2026-10-05 09:19:51] 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-10-05 09:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791172161000,"timestamp_ms":1791172161000,"timestamp_seconds":1791172161,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2e2de8"} 
[2026-10-05 09:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-05 09:19:51] 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-10-05 09: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-10-05 09:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":205826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":205826,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":205826,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540072960001,"66":14515,"96":206,"94":10240,"24":15,"16":34746813705617408,"45":746190193399236608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-10-05 09:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540072960001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:19:51] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 09:19:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34746813705617408,"km_value":34746813705617.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":746190193399236608,"description":"Unknown IO ID 45"} 
[2026-10-05 09:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540072960001,"power":14515,"unknown_96":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":746190193399236608}} 
[2026-10-05 09:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":205826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966420,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:19:51] local.INFO: GPS data processed {"connection_id":205826,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:19:51] local.INFO: Acknowledgment sent {"connection_id":205826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:19:55] local.INFO: TCP Data received {"connection_id":204285,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:19:55] local.INFO: Processing buffer {"connection_id":204285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:19:55] local.INFO: IMEI packet received {"connection_id":204285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":204285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:19:59] local.INFO: TCP Data received {"connection_id":204286,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:19:59] local.INFO: Processing buffer {"connection_id":204286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:19:59] local.INFO: IMEI packet received {"connection_id":204286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":204286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:20:00] local.INFO: TCP Data received {"connection_id":204285,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:20:00] local.INFO: Processing buffer {"connection_id":204285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:20:00] local.INFO: IMEI packet received {"connection_id":204285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":204285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:20:01] local.INFO: TCP Data received {"connection_id":204285,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2b0d20012d7f908005afe5380000000025..."} 
[2026-10-05 09:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2b0d20012d7f908005afe5380000000025..."} 
[2026-10-05 09:20:01] local.INFO: Processing buffer {"connection_id":204285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2b0d20012d7f908005afe5380000000025..."} 
[2026-10-05 09:20:01] local.INFO: Packet analysis {"connection_id":204285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2b"} 
[2026-10-05 09:20:01] local.INFO: Extracted packet for processing {"connection_id":204285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2b"} 
[2026-10-05 09:20:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539944448001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:20: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-10-05 09:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791171956000,"timestamp_ms":1791171956000,"timestamp_seconds":1791171956,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2b0d20"} 
[2026-10-05 09:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 09:20: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-10-05 09:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:20: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-10-05 09:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539944448001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539944448001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:20:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:20:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539944448001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":204285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:20:01] local.INFO: GPS data processed {"connection_id":204285,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:20:01] local.INFO: Acknowledgment sent {"connection_id":204285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:20:03] local.INFO: TCP Data received {"connection_id":204407,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:20:03] local.INFO: Processing buffer {"connection_id":204407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:20:03] local.INFO: IMEI packet received {"connection_id":204407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 09:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":204407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:20:05] local.INFO: TCP Data received {"connection_id":204286,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:20:05] local.INFO: Processing buffer {"connection_id":204286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:20:05] local.INFO: IMEI packet received {"connection_id":204286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":204286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:20:06] local.INFO: TCP Data received {"connection_id":204286,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2d6e80012d79f98005ec6c58000a015324..."} 
[2026-10-05 09:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2d6e80012d79f98005ec6c58000a015324..."} 
[2026-10-05 09:20:06] local.INFO: Processing buffer {"connection_id":204286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2d6e80012d79f98005ec6c58000a015324..."} 
[2026-10-05 09:20:06] local.INFO: Packet analysis {"connection_id":204286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2d"} 
[2026-10-05 09:20:06] local.INFO: Extracted packet for processing {"connection_id":204286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2d"} 
[2026-10-05 09:20:06] local.INFO: GPS Element Parsed {"raw_longitude":762968448,"raw_latitude":99380312,"longitude_deg":76.2968448,"latitude_deg":9.9380312,"altitude":10,"angle":339,"satellites":36,"speed":3,"hex_longitude":"2d79f980","hex_latitude":"05ec6c58","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540055552001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139414410794893312,"note":"Value kept but may cause issues"} 
[2026-10-05 09:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792011660485126144,"note":"Value kept but may cause issues"} 
[2026-10-05 09:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791172112000,"timestamp_ms":1791172112000,"timestamp_seconds":1791172112,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2d6e80"} 
[2026-10-05 09:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 09:20:06] 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-10-05 09: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-10-05 09:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540055552001,"66":14004,"99":206,"87":13824,"24":3,"16":139414410794893312,"45":8792011660485126144},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-05 09:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540055552001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:20:06] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-05 09:20:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139414410794893312,"km_value":139414410794893.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792011660485126144,"description":"Unknown IO ID 45"} 
[2026-10-05 09:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540055552001,"power":14004,"unknown_99":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8792011660485126144}} 
[2026-10-05 09:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":204286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:20:06] local.INFO: GPS data processed {"connection_id":204286,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:20:06] local.INFO: Acknowledgment sent {"connection_id":204286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:20:23] local.INFO: TCP Data received {"connection_id":205826,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2efcf0012d0a83000704e0e80015001322..."} 
[2026-10-05 09:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2efcf0012d0a83000704e0e80015001322..."} 
[2026-10-05 09:20:23] local.INFO: Processing buffer {"connection_id":205826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2efcf0012d0a83000704e0e80015001322..."} 
[2026-10-05 09:20:23] local.INFO: Packet analysis {"connection_id":205826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2e"} 
[2026-10-05 09:20:23] local.INFO: Extracted packet for processing {"connection_id":205826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2e"} 
[2026-10-05 09:20:23] local.INFO: GPS Element Parsed {"raw_longitude":755663616,"raw_latitude":117760232,"longitude_deg":75.5663616,"latitude_deg":11.7760232,"altitude":21,"angle":19,"satellites":34,"speed":8,"hex_longitude":"2d0a8300","hex_latitude":"0704e0e8","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540084736001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34748604706979840,"note":"Value kept but may cause issues"} 
[2026-10-05 09:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757097348752797696,"note":"Value kept but may cause issues"} 
[2026-10-05 09:20:23] 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-10-05 09:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1791172214000,"timestamp_ms":1791172214000,"timestamp_seconds":1791172214,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2efcf0"} 
[2026-10-05 09:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-10-05 09:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09: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-10-05 09:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":205826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":205826,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":205826,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540084736001,"66":14559,"177":206,"94":10240,"24":8,"16":34748604706979840,"45":757097348752797696},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-10-05 09:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540084736001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:20:23] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-05 09:20:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34748604706979840,"km_value":34748604706979.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":757097348752797696,"description":"Unknown IO ID 45"} 
[2026-10-05 09:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540084736001,"power":14559,"unknown_177":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":757097348752797696}} 
[2026-10-05 09:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":205826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966423,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:20:23] local.INFO: GPS data processed {"connection_id":205826,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:20:23] local.INFO: Acknowledgment sent {"connection_id":205826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:20:33] local.INFO: TCP Data received {"connection_id":204285,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2b0d20012d7f908005afe5380000000025..."} 
[2026-10-05 09:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2b0d20012d7f908005afe5380000000025..."} 
[2026-10-05 09:20:33] local.INFO: Processing buffer {"connection_id":204285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2b0d20012d7f908005afe5380000000025..."} 
[2026-10-05 09:20:33] local.INFO: Packet analysis {"connection_id":204285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2b"} 
[2026-10-05 09:20:33] local.INFO: Extracted packet for processing {"connection_id":204285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2b"} 
[2026-10-05 09:20:33] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458539944448001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791171956000,"timestamp_ms":1791171956000,"timestamp_seconds":1791171956,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2b0d20"} 
[2026-10-05 09:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 09:20: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-10-05 09: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-10-05 09:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:20:33] 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-10-05 09:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458539944448001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458539944448001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:20:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:20:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458539944448001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":204285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:20:33] local.INFO: GPS data processed {"connection_id":204285,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:20:33] local.INFO: Acknowledgment sent {"connection_id":204285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:20:37] local.INFO: TCP Data received {"connection_id":204286,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2dad00012d79f80005ec73e00007001727..."} 
[2026-10-05 09:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2dad00012d79f80005ec73e00007001727..."} 
[2026-10-05 09:20:37] local.INFO: Processing buffer {"connection_id":204286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2dad00012d79f80005ec73e00007001727..."} 
[2026-10-05 09:20:37] local.INFO: Packet analysis {"connection_id":204286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2d"} 
[2026-10-05 09:20:37] local.INFO: Extracted packet for processing {"connection_id":204286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2d"} 
[2026-10-05 09:20:37] local.INFO: GPS Element Parsed {"raw_longitude":762968064,"raw_latitude":99382240,"longitude_deg":76.2968064,"latitude_deg":9.938224,"altitude":7,"angle":23,"satellites":39,"speed":6,"hex_longitude":"2d79f800","hex_latitude":"05ec73e0","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540060672001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139414513874108416,"note":"Value kept but may cause issues"} 
[2026-10-05 09:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789196910719948800,"note":"Value kept but may cause issues"} 
[2026-10-05 09:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791172128000,"timestamp_ms":1791172128000,"timestamp_seconds":1791172128,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2dad00"} 
[2026-10-05 09:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:20: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-10-05 09: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-10-05 09:20:37] 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-10-05 09: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-10-05 09:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540060672001,"66":13015,"118":206,"87":13824,"24":6,"16":139414513874108416,"45":8789196910719948800},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 09:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540060672001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:20:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 09:20:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139414513874108416,"km_value":139414513874108.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789196910719948800,"description":"Unknown IO ID 45"} 
[2026-10-05 09:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540060672001,"power":13015,"unknown_118":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8789196910719948800}} 
[2026-10-05 09:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":204286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966425,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:20:37] local.INFO: GPS data processed {"connection_id":204286,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:20:37] local.INFO: Acknowledgment sent {"connection_id":204286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:20:42] local.INFO: TCP Data received {"connection_id":207383,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:20:42] local.INFO: Processing buffer {"connection_id":207383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:20:42] local.INFO: IMEI packet received {"connection_id":207383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 09:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":207383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:20:45] local.INFO: TCP Data received {"connection_id":207384,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207384,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:20:45] local.INFO: Processing buffer {"connection_id":207384,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:20:45] local.INFO: IMEI packet received {"connection_id":207384,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":207384,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:20:51] local.INFO: TCP Data received {"connection_id":207384,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207384,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:20:51] local.INFO: Processing buffer {"connection_id":207384,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:20:51] local.INFO: IMEI packet received {"connection_id":207384,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":207384,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:20:52] local.INFO: TCP Data received {"connection_id":207384,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2f0c90012d0a84800704e1b00015004e23..."} 
[2026-10-05 09:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2f0c90012d0a84800704e1b00015004e23..."} 
[2026-10-05 09:20:52] local.INFO: Processing buffer {"connection_id":207384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2f0c90012d0a84800704e1b00015004e23..."} 
[2026-10-05 09:20:52] local.INFO: Packet analysis {"connection_id":207384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:20:52] local.INFO: Extracted packet for processing {"connection_id":207384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:20:52] local.INFO: GPS Element Parsed {"raw_longitude":755664000,"raw_latitude":117760432,"longitude_deg":75.5664,"latitude_deg":11.7760432,"altitude":21,"angle":78,"satellites":35,"speed":7,"hex_longitude":"2d0a8480","hex_latitude":"0704e1b0","is_valid_coordinates":true} 
[2026-10-05 09:20: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-10-05 09:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540086784001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34748626181816320,"note":"Value kept but may cause issues"} 
[2026-10-05 09:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757449192474994688,"note":"Value kept but may cause issues"} 
[2026-10-05 09:20: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-10-05 09:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1791172218000,"timestamp_ms":1791172218000,"timestamp_seconds":1791172218,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2f0c90"} 
[2026-10-05 09:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:20:52] 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-10-05 09:20: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":223,"data_length":795,"current_offset":136} 
[2026-10-05 09:20:52] 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-10-05 09:20: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-10-05 09:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":207384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":207384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":207384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540086784001,"66":14374,"177":206,"94":10240,"24":7,"16":34748626181816320,"45":757449192474994688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-10-05 09:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540086784001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:20:52] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-05 09:20:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34748626181816320,"km_value":34748626181816.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":757449192474994688,"description":"Unknown IO ID 45"} 
[2026-10-05 09:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540086784001,"power":14374,"unknown_177":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":757449192474994688}} 
[2026-10-05 09:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":207384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966426,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:20:53] local.INFO: GPS data processed {"connection_id":207384,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:20:53] local.INFO: Acknowledgment sent {"connection_id":207384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:21:00] local.INFO: TCP Data received {"connection_id":204287,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:21:00] local.INFO: Processing buffer {"connection_id":204287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:21:00] local.INFO: IMEI packet received {"connection_id":204287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":204287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:21:01] local.INFO: TCP Data received {"connection_id":205827,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:21:01] local.INFO: Processing buffer {"connection_id":205827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:21:01] local.INFO: IMEI packet received {"connection_id":205827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":205827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:21:02] local.INFO: TCP Data received {"connection_id":205827,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:21:02] local.INFO: Processing buffer {"connection_id":205827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:21:02] local.INFO: IMEI packet received {"connection_id":205827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":205827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:21:02] local.INFO: TCP Data received {"connection_id":205827,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:21:02] local.INFO: Processing buffer {"connection_id":205827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:21:02] local.INFO: IMEI packet received {"connection_id":205827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":205827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:21:03] local.INFO: TCP Data received {"connection_id":205827,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:21:03] local.INFO: Processing buffer {"connection_id":205827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:21:03] local.INFO: IMEI packet received {"connection_id":205827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":205827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:21:05] local.INFO: TCP Data received {"connection_id":204287,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:21:05] local.INFO: Processing buffer {"connection_id":204287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:21:05] local.INFO: IMEI packet received {"connection_id":204287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":204287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:21:06] local.INFO: TCP Data received {"connection_id":204287,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:21:06] local.INFO: Processing buffer {"connection_id":204287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:21:06] local.INFO: Packet analysis {"connection_id":204287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:21:06] local.INFO: Extracted packet for processing {"connection_id":204287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:21:06] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540020736001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:21: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-10-05 09:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791172250000,"timestamp_ms":1791172250000,"timestamp_seconds":1791172250,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2f8990"} 
[2026-10-05 09:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 09:21: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-10-05 09:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540020736001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 09:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540020736001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:21:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:21:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540020736001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":204287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:21:06] local.INFO: GPS data processed {"connection_id":204287,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:21:06] local.INFO: Acknowledgment sent {"connection_id":204287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:21:07] local.INFO: TCP Data received {"connection_id":204287,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:21:07] local.INFO: Processing buffer {"connection_id":204287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:21:07] local.INFO: Packet analysis {"connection_id":204287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:21:07] local.INFO: Extracted packet for processing {"connection_id":204287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:21:07] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09:21: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-10-05 09:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540020736001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:21: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-10-05 09:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791172250000,"timestamp_ms":1791172250000,"timestamp_seconds":1791172250,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2f8990"} 
[2026-10-05 09:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09:21: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-10-05 09:21: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-10-05 09:21: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-10-05 09:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540020736001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 09:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540020736001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:21:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:21:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540020736001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":204287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:21:07] local.INFO: GPS data processed {"connection_id":204287,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:21:07] local.INFO: Acknowledgment sent {"connection_id":204287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:21:25] local.INFO: TCP Data received {"connection_id":207384,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2fb0a0012d0aec400704fa000017005523..."} 
[2026-10-05 09:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2fb0a0012d0aec400704fa000017005523..."} 
[2026-10-05 09:21:25] local.INFO: Processing buffer {"connection_id":207384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2fb0a0012d0aec400704fa000017005523..."} 
[2026-10-05 09:21:25] local.INFO: Packet analysis {"connection_id":207384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:21:25] local.INFO: Extracted packet for processing {"connection_id":207384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:21:25] local.INFO: GPS Element Parsed {"raw_longitude":755690560,"raw_latitude":117766656,"longitude_deg":75.569056,"latitude_deg":11.7766656,"altitude":23,"angle":85,"satellites":35,"speed":41,"hex_longitude":"2d0aec40","hex_latitude":"0704fa00","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540096000001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34750030636122112,"note":"Value kept but may cause issues"} 
[2026-10-05 09:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":776659859636668416,"note":"Value kept but may cause issues"} 
[2026-10-05 09:21:25] 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-10-05 09:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1791172260000,"timestamp_ms":1791172260000,"timestamp_seconds":1791172260,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2fb0a0"} 
[2026-10-05 09:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:21: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-10-05 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-05 09:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09: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-10-05 09:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":207384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":207384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":207384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540096000001,"66":14461,"177":206,"94":10240,"24":41,"16":34750030636122112,"45":776659859636668416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-10-05 09:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540096000001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:21:25] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-05 09:21:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34750030636122112,"km_value":34750030636122.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":776659859636668416,"description":"Unknown IO ID 45"} 
[2026-10-05 09:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540096000001,"power":14461,"unknown_177":206,"unknown_94":10240,"ignition":41,"odometer":null,"unknown_45":776659859636668416}} 
[2026-10-05 09:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":207384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966429,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:21:25] local.INFO: GPS data processed {"connection_id":207384,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:21:25] local.INFO: Acknowledgment sent {"connection_id":207384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:21:38] local.INFO: TCP Data received {"connection_id":204287,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:21:38] local.INFO: Processing buffer {"connection_id":204287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:21:38] local.INFO: Packet analysis {"connection_id":204287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:21:38] local.INFO: Extracted packet for processing {"connection_id":204287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:21:38] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540020736001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791172250000,"timestamp_ms":1791172250000,"timestamp_seconds":1791172250,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2f8990"} 
[2026-10-05 09:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 09:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540020736001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 09:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540020736001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:21:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:21:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540020736001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":204287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:21:38] local.INFO: GPS data processed {"connection_id":204287,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:21:38] local.INFO: Acknowledgment sent {"connection_id":204287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:21:55] local.INFO: TCP Data received {"connection_id":204409,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:21:55] local.INFO: Processing buffer {"connection_id":204409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:21:55] local.INFO: IMEI packet received {"connection_id":204409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":204409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:22:00] local.INFO: TCP Data received {"connection_id":204409,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:22:00] local.INFO: Processing buffer {"connection_id":204409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:22:00] local.INFO: IMEI packet received {"connection_id":204409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":204409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:22:01] local.INFO: TCP Data received {"connection_id":204409,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:22:01] local.INFO: Processing buffer {"connection_id":204409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:22:01] local.INFO: Packet analysis {"connection_id":204409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:22:01] local.INFO: Extracted packet for processing {"connection_id":204409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:22:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540020736001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791172250000,"timestamp_ms":1791172250000,"timestamp_seconds":1791172250,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2f8990"} 
[2026-10-05 09:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09: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-10-05 09: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-10-05 09:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540020736001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 09:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540020736001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:22:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:22:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540020736001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":204409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:22:01] local.INFO: GPS data processed {"connection_id":204409,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:22:01] local.INFO: Acknowledgment sent {"connection_id":204409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:22:32] local.INFO: TCP Data received {"connection_id":204409,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:22:32] local.INFO: Processing buffer {"connection_id":204409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:22:32] local.INFO: Packet analysis {"connection_id":204409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:22:32] local.INFO: Extracted packet for processing {"connection_id":204409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540020736001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:22: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-10-05 09:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791172250000,"timestamp_ms":1791172250000,"timestamp_seconds":1791172250,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2f8990"} 
[2026-10-05 09:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 09:22: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-10-05 09:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540020736001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-10-05 09:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540020736001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:22:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:22:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540020736001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":204409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:22:32] local.INFO: GPS data processed {"connection_id":204409,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:22:32] local.INFO: Acknowledgment sent {"connection_id":204409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:22:55] local.INFO: TCP Data received {"connection_id":204411,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204411,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:22:55] local.INFO: Processing buffer {"connection_id":204411,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:22:55] local.INFO: IMEI packet received {"connection_id":204411,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":204411,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:22:55] local.INFO: TCP Data received {"connection_id":204412,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:22:55] local.INFO: Processing buffer {"connection_id":204412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:22:55] local.INFO: IMEI packet received {"connection_id":204412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":204412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:22:56] local.INFO: TCP Data received {"connection_id":204411,"ip":"42.109.136.7","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-05 09:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204411,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-05 09:22:56] local.INFO: Processing buffer {"connection_id":204411,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-05 09:22:56] local.INFO: IMEI packet received {"connection_id":204411,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":204411,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:22:56] local.INFO: TCP Data received {"connection_id":204411,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204411,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:22:56] local.INFO: Processing buffer {"connection_id":204411,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-05 09:22:56] local.INFO: IMEI packet received {"connection_id":204411,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":204411,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:23:00] local.INFO: TCP Data received {"connection_id":204412,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:23:00] local.INFO: Processing buffer {"connection_id":204412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:23:00] local.INFO: IMEI packet received {"connection_id":204412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":204412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:23:01] local.INFO: TCP Data received {"connection_id":204412,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:23:01] local.INFO: Processing buffer {"connection_id":204412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:23:01] local.INFO: Packet analysis {"connection_id":204412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:23:01] local.INFO: Extracted packet for processing {"connection_id":204412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:23:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540020736001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791172250000,"timestamp_ms":1791172250000,"timestamp_seconds":1791172250,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2f8990"} 
[2026-10-05 09:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09: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":102,"data_length":795,"current_offset":136} 
[2026-10-05 09:23: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-10-05 09: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-10-05 09:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:23: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-10-05 09:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540020736001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540020736001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:23:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:23:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540020736001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":204412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:23:01] local.INFO: GPS data processed {"connection_id":204412,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:23:01] local.INFO: Acknowledgment sent {"connection_id":204412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:23:32] local.INFO: TCP Data received {"connection_id":204412,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:23:32] local.INFO: Processing buffer {"connection_id":204412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:23:32] local.INFO: Packet analysis {"connection_id":204412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:23:32] local.INFO: Extracted packet for processing {"connection_id":204412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540020736001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:23: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-10-05 09:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791172250000,"timestamp_ms":1791172250000,"timestamp_seconds":1791172250,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2f8990"} 
[2026-10-05 09:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 09:23: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-10-05 09:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540020736001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540020736001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:23:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:23:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540020736001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":204412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:23:32] local.INFO: GPS data processed {"connection_id":204412,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:23:32] local.INFO: Acknowledgment sent {"connection_id":204412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:23:55] local.INFO: TCP Data received {"connection_id":205832,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:23:55] local.INFO: Processing buffer {"connection_id":205832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:23:55] local.INFO: IMEI packet received {"connection_id":205832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":205832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:24:00] local.INFO: TCP Data received {"connection_id":205832,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:24:00] local.INFO: Processing buffer {"connection_id":205832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:24:00] local.INFO: IMEI packet received {"connection_id":205832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":205832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:24:02] local.INFO: TCP Data received {"connection_id":205832,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:24:02] local.INFO: Processing buffer {"connection_id":205832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:24:02] local.INFO: Packet analysis {"connection_id":205832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:24:02] local.INFO: Extracted packet for processing {"connection_id":205832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:24:02] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 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-10-05 09:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540020736001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:24: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-10-05 09:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791172250000,"timestamp_ms":1791172250000,"timestamp_seconds":1791172250,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2f8990"} 
[2026-10-05 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-10-05 09:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 09:24: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-10-05 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-10-05 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-10-05 09:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:24: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-10-05 09:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540020736001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540020736001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:24:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:24:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540020736001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":205832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:24:03] local.INFO: GPS data processed {"connection_id":205832,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:24:03] local.INFO: Acknowledgment sent {"connection_id":205832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:24:34] local.INFO: TCP Data received {"connection_id":205832,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:24:34] local.INFO: Processing buffer {"connection_id":205832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:24:34] local.INFO: Packet analysis {"connection_id":205832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:24:34] local.INFO: Extracted packet for processing {"connection_id":205832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:24:34] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 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-10-05 09:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540020736001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:24: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-10-05 09:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791172250000,"timestamp_ms":1791172250000,"timestamp_seconds":1791172250,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2f8990"} 
[2026-10-05 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-10-05 09:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 09:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 09:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":205832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":205832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":205832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:24: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-10-05 09:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540020736001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540020736001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:24:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:24:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540020736001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":205832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:24:34] local.INFO: GPS data processed {"connection_id":205832,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:24:34] local.INFO: Acknowledgment sent {"connection_id":205832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:24:55] local.INFO: TCP Data received {"connection_id":204288,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:24:55] local.INFO: Processing buffer {"connection_id":204288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:24:55] local.INFO: IMEI packet received {"connection_id":204288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":204288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:25:00] local.INFO: TCP Data received {"connection_id":204288,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:25:00] local.INFO: Processing buffer {"connection_id":204288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:25:00] local.INFO: IMEI packet received {"connection_id":204288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":204288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:25:01] local.INFO: TCP Data received {"connection_id":204288,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:25:01] local.INFO: Processing buffer {"connection_id":204288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:25:01] local.INFO: Packet analysis {"connection_id":204288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:25:01] local.INFO: Extracted packet for processing {"connection_id":204288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:25:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540020736001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791172250000,"timestamp_ms":1791172250000,"timestamp_seconds":1791172250,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2f8990"} 
[2026-10-05 09:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 09:25: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-10-05 09: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-10-05 09:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:25: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-10-05 09:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540020736001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540020736001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:25:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:25:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540020736001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":204288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:25:01] local.INFO: GPS data processed {"connection_id":204288,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:25:01] local.INFO: Acknowledgment sent {"connection_id":204288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:25:32] local.INFO: TCP Data received {"connection_id":204288,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:25:32] local.INFO: Processing buffer {"connection_id":204288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:25:32] local.INFO: Packet analysis {"connection_id":204288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:25:32] local.INFO: Extracted packet for processing {"connection_id":204288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:25:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540020736001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791172250000,"timestamp_ms":1791172250000,"timestamp_seconds":1791172250,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2f8990"} 
[2026-10-05 09:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 09:25: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-10-05 09: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-10-05 09:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:25: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-10-05 09:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540020736001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540020736001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:25:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:25:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540020736001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":204288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:25:32] local.INFO: GPS data processed {"connection_id":204288,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:25:32] local.INFO: Acknowledgment sent {"connection_id":204288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:26:00] local.INFO: TCP Data received {"connection_id":204416,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:26:00] local.INFO: Processing buffer {"connection_id":204416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:26:00] local.INFO: IMEI packet received {"connection_id":204416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":204416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:26:05] local.INFO: TCP Data received {"connection_id":204417,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204417,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:26:05] local.INFO: Processing buffer {"connection_id":204417,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:26:05] local.INFO: IMEI packet received {"connection_id":204417,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":204417,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:26:05] local.INFO: TCP Data received {"connection_id":204416,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:26:05] local.INFO: Processing buffer {"connection_id":204416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:26:05] local.INFO: IMEI packet received {"connection_id":204416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":204416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:26:06] local.INFO: TCP Data received {"connection_id":204417,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3361f0012d79e2c005eca9f0000900b527..."} 
[2026-10-05 09:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3361f0012d79e2c005eca9f0000900b527..."} 
[2026-10-05 09:26:06] local.INFO: Processing buffer {"connection_id":204417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3361f0012d79e2c005eca9f0000900b527..."} 
[2026-10-05 09:26:06] local.INFO: Packet analysis {"connection_id":204417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a33"} 
[2026-10-05 09:26:06] local.INFO: Extracted packet for processing {"connection_id":204417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a33"} 
[2026-10-05 09:26:06] local.INFO: GPS Element Parsed {"raw_longitude":762962624,"raw_latitude":99396080,"longitude_deg":76.2962624,"latitude_deg":9.939608,"altitude":9,"angle":181,"satellites":39,"speed":2,"hex_longitude":"2d79e2c0","hex_latitude":"05eca9f0","is_valid_coordinates":true} 
[2026-10-05 09:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540160256001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139416807386644480,"note":"Value kept but may cause issues"} 
[2026-10-05 09:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782793355003836416,"note":"Value kept but may cause issues"} 
[2026-10-05 09:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791172502000,"timestamp_ms":1791172502000,"timestamp_seconds":1791172502,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3361f0"} 
[2026-10-05 09:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-10-05 09:26:06] 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-10-05 09:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540160256001,"66":13135,"118":206,"87":13824,"24":2,"16":139416807386644480,"45":8782793355003836416},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 09:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540160256001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:26:06] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 09:26:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139416807386644480,"km_value":139416807386644.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782793355003836416,"description":"Unknown IO ID 45"} 
[2026-10-05 09:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540160256001,"power":13135,"unknown_118":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8782793355003836416}} 
[2026-10-05 09:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":204417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966439,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:26:06] local.INFO: GPS data processed {"connection_id":204417,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:26:06] local.INFO: Acknowledgment sent {"connection_id":204417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:26:06] local.INFO: TCP Data received {"connection_id":204416,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:26:06] local.INFO: Processing buffer {"connection_id":204416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a2f8990012d7f908005afe5380000000028..."} 
[2026-10-05 09:26:06] local.INFO: Packet analysis {"connection_id":204416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:26:06] local.INFO: Extracted packet for processing {"connection_id":204416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a2f"} 
[2026-10-05 09:26:06] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540020736001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:26: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-10-05 09:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791172250000,"timestamp_ms":1791172250000,"timestamp_seconds":1791172250,"priority":1,"record_length":96,"hex_timestamp":"000001a10a2f8990"} 
[2026-10-05 09:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 09:26: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-10-05 09:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:26: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-10-05 09:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540020736001,"66":25702,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540020736001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:26:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:26:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540020736001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":204416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:26:06] local.INFO: GPS data processed {"connection_id":204416,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:26:06] local.INFO: Acknowledgment sent {"connection_id":204416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:26:07] local.INFO: TCP Data received {"connection_id":204416,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a33fa48012d7f908005afe5380000000028..."} 
[2026-10-05 09:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a33fa48012d7f908005afe5380000000028..."} 
[2026-10-05 09:26:07] local.INFO: Processing buffer {"connection_id":204416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a33fa48012d7f908005afe5380000000028..."} 
[2026-10-05 09:26:07] local.INFO: Packet analysis {"connection_id":204416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a33"} 
[2026-10-05 09:26:07] local.INFO: Extracted packet for processing {"connection_id":204416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a33"} 
[2026-10-05 09:26:07] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540096000001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:26: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-10-05 09:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791172541000,"timestamp_ms":1791172541000,"timestamp_seconds":1791172541,"priority":1,"record_length":96,"hex_timestamp":"000001a10a33fa48"} 
[2026-10-05 09:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 09:26: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-10-05 09: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-10-05 09:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:26: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-10-05 09:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540096000001,"66":25647,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540096000001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:26:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:26:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540096000001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":204416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:26:07] local.INFO: GPS data processed {"connection_id":204416,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:26:07] local.INFO: Acknowledgment sent {"connection_id":204416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:26:08] local.INFO: TCP Data received {"connection_id":204289,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:26:08] local.INFO: Processing buffer {"connection_id":204289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:26:08] local.INFO: IMEI packet received {"connection_id":204289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 09:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":204289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:26:38] local.INFO: TCP Data received {"connection_id":204417,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3365d8012d79e2c005eca968000900a526..."} 
[2026-10-05 09:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3365d8012d79e2c005eca968000900a526..."} 
[2026-10-05 09:26:38] local.INFO: Processing buffer {"connection_id":204417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3365d8012d79e2c005eca968000900a526..."} 
[2026-10-05 09:26:38] local.INFO: Packet analysis {"connection_id":204417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a33"} 
[2026-10-05 09:26:38] local.INFO: Extracted packet for processing {"connection_id":204417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a33"} 
[2026-10-05 09:26:38] local.INFO: GPS Element Parsed {"raw_longitude":762962624,"raw_latitude":99395944,"longitude_deg":76.2962624,"latitude_deg":9.9395944,"altitude":9,"angle":165,"satellites":38,"speed":4,"hex_longitude":"2d79e2c0","hex_latitude":"05eca968","is_valid_coordinates":true} 
[2026-10-05 09:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540160512001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139416815976579072,"note":"Value kept but may cause issues"} 
[2026-10-05 09:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782793355003817984,"note":"Value kept but may cause issues"} 
[2026-10-05 09:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791172503000,"timestamp_ms":1791172503000,"timestamp_seconds":1791172503,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3365d8"} 
[2026-10-05 09:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-10-05 09:26: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-10-05 09:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540160512001,"66":13135,"118":206,"87":13824,"24":4,"16":139416815976579072,"45":8782793355003817984},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 09:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540160512001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:26:38] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 09:26:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139416815976579072,"km_value":139416815976579.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782793355003817984,"description":"Unknown IO ID 45"} 
[2026-10-05 09:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540160512001,"power":13135,"unknown_118":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8782793355003817984}} 
[2026-10-05 09:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":204417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:26:38] local.INFO: GPS data processed {"connection_id":204417,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:26:38] local.INFO: Acknowledgment sent {"connection_id":204417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:26:42] local.INFO: TCP Data received {"connection_id":205834,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:26:42] local.INFO: Processing buffer {"connection_id":205834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:26:42] local.INFO: IMEI packet received {"connection_id":205834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 09:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":205834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:26:43] local.INFO: TCP Data received {"connection_id":204416,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a33fa48012d7f908005afe5380000000028..."} 
[2026-10-05 09:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a33fa48012d7f908005afe5380000000028..."} 
[2026-10-05 09:26:43] local.INFO: Processing buffer {"connection_id":204416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a33fa48012d7f908005afe5380000000028..."} 
[2026-10-05 09:26:43] local.INFO: Packet analysis {"connection_id":204416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a33"} 
[2026-10-05 09:26:43] local.INFO: Extracted packet for processing {"connection_id":204416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a33"} 
[2026-10-05 09:26:43] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540096000001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791172541000,"timestamp_ms":1791172541000,"timestamp_seconds":1791172541,"priority":1,"record_length":96,"hex_timestamp":"000001a10a33fa48"} 
[2026-10-05 09:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 09:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540096000001,"66":25647,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540096000001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:26:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:26:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540096000001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":204416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:26:43] local.INFO: GPS data processed {"connection_id":204416,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:26:43] local.INFO: Acknowledgment sent {"connection_id":204416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:26:55] local.INFO: TCP Data received {"connection_id":205836,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:26:55] local.INFO: Processing buffer {"connection_id":205836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:26:55] local.INFO: IMEI packet received {"connection_id":205836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":205836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:27:00] local.INFO: TCP Data received {"connection_id":205836,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:27:00] local.INFO: Processing buffer {"connection_id":205836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:27:00] local.INFO: IMEI packet received {"connection_id":205836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":205836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:27:00] local.INFO: TCP Data received {"connection_id":204290,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:27:00] local.INFO: Processing buffer {"connection_id":204290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:27:00] local.INFO: IMEI packet received {"connection_id":204290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":204290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:27:01] local.INFO: TCP Data received {"connection_id":205836,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10a33fa48012d7f908005afe5380000000028..."} 
[2026-10-05 09:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a33fa48012d7f908005afe5380000000028..."} 
[2026-10-05 09:27:01] local.INFO: Processing buffer {"connection_id":205836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a33fa48012d7f908005afe5380000000028..."} 
[2026-10-05 09:27:01] local.INFO: Packet analysis {"connection_id":205836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a33"} 
[2026-10-05 09:27:01] local.INFO: Extracted packet for processing {"connection_id":205836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a33"} 
[2026-10-05 09:27:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540096000001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791172541000,"timestamp_ms":1791172541000,"timestamp_seconds":1791172541,"priority":1,"record_length":96,"hex_timestamp":"000001a10a33fa48"} 
[2026-10-05 09:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09: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-10-05 09: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-10-05 09:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:27: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-10-05 09:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540096000001,"66":25647,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540096000001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:27:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:27:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540096000001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":205836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:27:01] local.INFO: GPS data processed {"connection_id":205836,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:27:01] local.INFO: Acknowledgment sent {"connection_id":205836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:27:05] local.INFO: TCP Data received {"connection_id":204290,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:27:05] local.INFO: Processing buffer {"connection_id":204290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:27:05] local.INFO: IMEI packet received {"connection_id":204290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":204290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:27:10] local.INFO: TCP Data received {"connection_id":204290,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:27:10] local.INFO: Processing buffer {"connection_id":204290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:27:10] local.INFO: IMEI packet received {"connection_id":204290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":204290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:27:10] local.INFO: TCP Data received {"connection_id":204290,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a33a840012d79ee4005ec8880000800a028..."} 
[2026-10-05 09:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a33a840012d79ee4005ec8880000800a028..."} 
[2026-10-05 09:27:10] local.INFO: Processing buffer {"connection_id":204290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a33a840012d79ee4005ec8880000800a028..."} 
[2026-10-05 09:27:10] local.INFO: Packet analysis {"connection_id":204290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a33"} 
[2026-10-05 09:27:10] local.INFO: Extracted packet for processing {"connection_id":204290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a33"} 
[2026-10-05 09:27:10] local.INFO: GPS Element Parsed {"raw_longitude":762965568,"raw_latitude":99387520,"longitude_deg":76.2965568,"latitude_deg":9.938752,"altitude":8,"angle":160,"satellites":40,"speed":20,"hex_longitude":"2d79ee40","hex_latitude":"05ec8880","is_valid_coordinates":true} 
[2026-10-05 09:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540160768001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139417245473308672,"note":"Value kept but may cause issues"} 
[2026-10-05 09:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782793355003783168,"note":"Value kept but may cause issues"} 
[2026-10-05 09:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791172520000,"timestamp_ms":1791172520000,"timestamp_seconds":1791172520,"priority":1,"record_length":96,"hex_timestamp":"000001a10a33a840"} 
[2026-10-05 09:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-10-05 09:27:10] 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-10-05 09:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540160768001,"66":13896,"118":206,"87":13824,"24":20,"16":139417245473308672,"45":8782793355003783168},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 09:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540160768001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:27:10] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 09:27:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139417245473308672,"km_value":139417245473308.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782793355003783168,"description":"Unknown IO ID 45"} 
[2026-10-05 09:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540160768001,"power":13896,"unknown_118":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8782793355003783168}} 
[2026-10-05 09:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":204290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:27:10] local.INFO: GPS data processed {"connection_id":204290,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:27:10] local.INFO: Acknowledgment sent {"connection_id":204290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:27:15] local.INFO: TCP Data received {"connection_id":204290,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a33b7e0012d79f24005ec80580008009527..."} 
[2026-10-05 09:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a33b7e0012d79f24005ec80580008009527..."} 
[2026-10-05 09:27:15] local.INFO: Processing buffer {"connection_id":204290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a33b7e0012d79f24005ec80580008009527..."} 
[2026-10-05 09:27:15] local.INFO: Packet analysis {"connection_id":204290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a33"} 
[2026-10-05 09:27:15] local.INFO: Extracted packet for processing {"connection_id":204290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a33"} 
[2026-10-05 09:27:15] local.INFO: GPS Element Parsed {"raw_longitude":762966592,"raw_latitude":99385432,"longitude_deg":76.2966592,"latitude_deg":9.9385432,"altitude":8,"angle":149,"satellites":39,"speed":20,"hex_longitude":"2d79f240","hex_latitude":"05ec8058","is_valid_coordinates":true} 
[2026-10-05 09:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540165120001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139417361437425664,"note":"Value kept but may cause issues"} 
[2026-10-05 09:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786030317233799168,"note":"Value kept but may cause issues"} 
[2026-10-05 09:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791172524000,"timestamp_ms":1791172524000,"timestamp_seconds":1791172524,"priority":1,"record_length":96,"hex_timestamp":"000001a10a33b7e0"} 
[2026-10-05 09:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-10-05 09:27:15] 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-10-05 09:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540165120001,"66":13428,"118":206,"87":13824,"24":20,"16":139417361437425664,"45":8786030317233799168},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 09:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540165120001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:27:15] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 09:27:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139417361437425664,"km_value":139417361437425.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786030317233799168,"description":"Unknown IO ID 45"} 
[2026-10-05 09:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540165120001,"power":13428,"unknown_118":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8786030317233799168}} 
[2026-10-05 09:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":204290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:27:15] local.INFO: GPS data processed {"connection_id":204290,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:27:15] local.INFO: Acknowledgment sent {"connection_id":204290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:27:32] local.INFO: TCP Data received {"connection_id":205836,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10a33fa48012d7f908005afe5380000000028..."} 
[2026-10-05 09:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a33fa48012d7f908005afe5380000000028..."} 
[2026-10-05 09:27:32] local.INFO: Processing buffer {"connection_id":205836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a33fa48012d7f908005afe5380000000028..."} 
[2026-10-05 09:27:32] local.INFO: Packet analysis {"connection_id":205836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a33"} 
[2026-10-05 09:27:32] local.INFO: Extracted packet for processing {"connection_id":205836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a33"} 
[2026-10-05 09:27:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 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-10-05 09:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540096000001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 09:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791172541000,"timestamp_ms":1791172541000,"timestamp_seconds":1791172541,"priority":1,"record_length":96,"hex_timestamp":"000001a10a33fa48"} 
[2026-10-05 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-10-05 09:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 09:27: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-10-05 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-10-05 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-10-05 09:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:27: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-10-05 09:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540096000001,"66":25647,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540096000001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:27:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:27:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540096000001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":205836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:27:32] local.INFO: GPS data processed {"connection_id":205836,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:27:32] local.INFO: Acknowledgment sent {"connection_id":205836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:27:55] local.INFO: TCP Data received {"connection_id":204291,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:27:55] local.INFO: Processing buffer {"connection_id":204291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:27:55] local.INFO: IMEI packet received {"connection_id":204291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":204291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:27:57] local.INFO: TCP Data received {"connection_id":205837,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205837,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:27:57] local.INFO: Processing buffer {"connection_id":205837,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:27:57] local.INFO: IMEI packet received {"connection_id":205837,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":205837,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:27:58] local.INFO: TCP Data received {"connection_id":205837,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a354a38012d0c3c4007062e100020003222..."} 
[2026-10-05 09:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a354a38012d0c3c4007062e100020003222..."} 
[2026-10-05 09:27:58] local.INFO: Processing buffer {"connection_id":205837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a354a38012d0c3c4007062e100020003222..."} 
[2026-10-05 09:27:58] local.INFO: Packet analysis {"connection_id":205837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a35"} 
[2026-10-05 09:27:58] local.INFO: Extracted packet for processing {"connection_id":205837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a35"} 
[2026-10-05 09:27:58] local.INFO: GPS Element Parsed {"raw_longitude":755776576,"raw_latitude":117845520,"longitude_deg":75.5776576,"latitude_deg":11.784552,"altitude":32,"angle":50,"satellites":34,"speed":14,"hex_longitude":"2d0c3c40","hex_latitude":"07062e10","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540192256001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34758036455161856,"note":"Value kept but may cause issues"} 
[2026-10-05 09:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881368550993637376,"note":"Value kept but may cause issues"} 
[2026-10-05 09:27:58] 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-10-05 09:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1791172627000,"timestamp_ms":1791172627000,"timestamp_seconds":1791172627,"priority":1,"record_length":96,"hex_timestamp":"000001a10a354a38"} 
[2026-10-05 09:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09: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":103,"data_length":795,"current_offset":136} 
[2026-10-05 09:27:58] 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-10-05 09: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-10-05 09:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":205837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":205837,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":205837,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540192256001,"66":14439,"164":206,"94":10240,"24":14,"16":34758036455161856,"45":881368550993637376},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-10-05 09:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540192256001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:27:58] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-10-05 09:27:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34758036455161856,"km_value":34758036455161.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":881368550993637376,"description":"Unknown IO ID 45"} 
[2026-10-05 09:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540192256001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":881368550993637376}} 
[2026-10-05 09:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":205837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966448,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:27:58] local.INFO: GPS data processed {"connection_id":205837,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:27:58] local.INFO: Acknowledgment sent {"connection_id":205837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:28:00] local.INFO: TCP Data received {"connection_id":204292,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:28:00] local.INFO: Processing buffer {"connection_id":204292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:28:00] local.INFO: IMEI packet received {"connection_id":204292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":204292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:28:00] local.INFO: TCP Data received {"connection_id":204291,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:28:00] local.INFO: Processing buffer {"connection_id":204291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:28:00] local.INFO: IMEI packet received {"connection_id":204291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":204291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:28:01] local.INFO: TCP Data received {"connection_id":204291,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a33fa48012d7f908005afe5380000000028..."} 
[2026-10-05 09:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a33fa48012d7f908005afe5380000000028..."} 
[2026-10-05 09:28:01] local.INFO: Processing buffer {"connection_id":204291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a33fa48012d7f908005afe5380000000028..."} 
[2026-10-05 09:28:01] local.INFO: Packet analysis {"connection_id":204291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a33"} 
[2026-10-05 09:28:01] local.INFO: Extracted packet for processing {"connection_id":204291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a33"} 
[2026-10-05 09:28:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540096000001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791172541000,"timestamp_ms":1791172541000,"timestamp_seconds":1791172541,"priority":1,"record_length":96,"hex_timestamp":"000001a10a33fa48"} 
[2026-10-05 09:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09: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":102,"data_length":795,"current_offset":136} 
[2026-10-05 09:28: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-10-05 09: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-10-05 09:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:28: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-10-05 09:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540096000001,"66":25647,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540096000001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:28:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:28:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540096000001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":204291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:28:01] local.INFO: GPS data processed {"connection_id":204291,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:28:01] local.INFO: Acknowledgment sent {"connection_id":204291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:28:05] local.INFO: TCP Data received {"connection_id":204292,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:28:05] local.INFO: Processing buffer {"connection_id":204292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:28:05] local.INFO: IMEI packet received {"connection_id":204292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":204292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:28:05] local.INFO: TCP Data received {"connection_id":204292,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a33def0012d79fa8005ec6fb8000800a028..."} 
[2026-10-05 09:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a33def0012d79fa8005ec6fb8000800a028..."} 
[2026-10-05 09:28:05] local.INFO: Processing buffer {"connection_id":204292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a33def0012d79fa8005ec6fb8000800a028..."} 
[2026-10-05 09:28:05] local.INFO: Packet analysis {"connection_id":204292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a33"} 
[2026-10-05 09:28:05] local.INFO: Extracted packet for processing {"connection_id":204292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a33"} 
[2026-10-05 09:28:05] local.INFO: GPS Element Parsed {"raw_longitude":762968704,"raw_latitude":99381176,"longitude_deg":76.2968704,"latitude_deg":9.9381176,"altitude":8,"angle":160,"satellites":40,"speed":11,"hex_longitude":"2d79fa80","hex_latitude":"05ec6fb8","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540166144001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139417589070692352,"note":"Value kept but may cause issues"} 
[2026-10-05 09:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787156217140107264,"note":"Value kept but may cause issues"} 
[2026-10-05 09:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791172534000,"timestamp_ms":1791172534000,"timestamp_seconds":1791172534,"priority":1,"record_length":96,"hex_timestamp":"000001a10a33def0"} 
[2026-10-05 09:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:28: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-10-05 09: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 09:28:05] 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-10-05 09: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-10-05 09:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540166144001,"66":13798,"118":206,"87":13824,"24":11,"16":139417589070692352,"45":8787156217140107264},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 09:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540166144001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:28:05] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 09:28:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139417589070692352,"km_value":139417589070692.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787156217140107264,"description":"Unknown IO ID 45"} 
[2026-10-05 09:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540166144001,"power":13798,"unknown_118":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8787156217140107264}} 
[2026-10-05 09:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":204292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:28:05] local.INFO: GPS data processed {"connection_id":204292,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:28:05] local.INFO: Acknowledgment sent {"connection_id":204292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:28:30] local.INFO: TCP Data received {"connection_id":205837,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a366760012d0c3c00070644f80019009c23..."} 
[2026-10-05 09:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a366760012d0c3c00070644f80019009c23..."} 
[2026-10-05 09:28:30] local.INFO: Processing buffer {"connection_id":205837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a366760012d0c3c00070644f80019009c23..."} 
[2026-10-05 09:28:30] local.INFO: Packet analysis {"connection_id":205837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a36"} 
[2026-10-05 09:28:30] local.INFO: Extracted packet for processing {"connection_id":205837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a36"} 
[2026-10-05 09:28:30] local.INFO: GPS Element Parsed {"raw_longitude":755776512,"raw_latitude":117851384,"longitude_deg":75.5776512,"latitude_deg":11.7851384,"altitude":25,"angle":156,"satellites":35,"speed":5,"hex_longitude":"2d0c3c00","hex_latitude":"070644f8","is_valid_coordinates":true} 
[2026-10-05 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-10-05 09:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540210944001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34758418707251200,"note":"Value kept but may cause issues"} 
[2026-10-05 09:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881509288483577856,"note":"Value kept but may cause issues"} 
[2026-10-05 09:28:30] 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-10-05 09:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1791172700000,"timestamp_ms":1791172700000,"timestamp_seconds":1791172700,"priority":1,"record_length":96,"hex_timestamp":"000001a10a366760"} 
[2026-10-05 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-10-05 09:28: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-10-05 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-10-05 09:28: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-10-05 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-10-05 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-10-05 09:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":205837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":205837,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":205837,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540210944001,"66":14515,"164":206,"94":10240,"24":5,"16":34758418707251200,"45":881509288483577856},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-10-05 09:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540210944001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:28:30] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-10-05 09:28:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34758418707251200,"km_value":34758418707251.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":881509288483577856,"description":"Unknown IO ID 45"} 
[2026-10-05 09:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540210944001,"power":14515,"unknown_164":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":881509288483577856}} 
[2026-10-05 09:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":205837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966451,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:28:31] local.INFO: GPS data processed {"connection_id":205837,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:28:31] local.INFO: Acknowledgment sent {"connection_id":205837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:28:32] local.INFO: TCP Data received {"connection_id":204291,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a33fa48012d7f908005afe5380000000028..."} 
[2026-10-05 09:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a33fa48012d7f908005afe5380000000028..."} 
[2026-10-05 09:28:32] local.INFO: Processing buffer {"connection_id":204291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a33fa48012d7f908005afe5380000000028..."} 
[2026-10-05 09:28:32] local.INFO: Packet analysis {"connection_id":204291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a33"} 
[2026-10-05 09:28:32] local.INFO: Extracted packet for processing {"connection_id":204291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a33"} 
[2026-10-05 09:28:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09:28: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-10-05 09:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540096000001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:28: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-10-05 09:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791172541000,"timestamp_ms":1791172541000,"timestamp_seconds":1791172541,"priority":1,"record_length":96,"hex_timestamp":"000001a10a33fa48"} 
[2026-10-05 09:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09:28: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-10-05 09:28: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-10-05 09:28: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-10-05 09:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:28: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-10-05 09:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540096000001,"66":25647,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540096000001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:28:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:28:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540096000001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":204291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:28:32] local.INFO: GPS data processed {"connection_id":204291,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:28:32] local.INFO: Acknowledgment sent {"connection_id":204291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:28:36] local.INFO: TCP Data received {"connection_id":204292,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a342d10012d7a034005ec5350000a00a126..."} 
[2026-10-05 09:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a342d10012d7a034005ec5350000a00a126..."} 
[2026-10-05 09:28:36] local.INFO: Processing buffer {"connection_id":204292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a342d10012d7a034005ec5350000a00a126..."} 
[2026-10-05 09:28:36] local.INFO: Packet analysis {"connection_id":204292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a34"} 
[2026-10-05 09:28:36] local.INFO: Extracted packet for processing {"connection_id":204292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a34"} 
[2026-10-05 09:28:36] local.INFO: GPS Element Parsed {"raw_longitude":762970944,"raw_latitude":99373904,"longitude_deg":76.2970944,"latitude_deg":9.9373904,"altitude":10,"angle":161,"satellites":38,"speed":16,"hex_longitude":"2d7a0340","hex_latitude":"05ec5350","is_valid_coordinates":true} 
[2026-10-05 09:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540168704001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139417958437879808,"note":"Value kept but may cause issues"} 
[2026-10-05 09:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789478385696880640,"note":"Value kept but may cause issues"} 
[2026-10-05 09:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791172554000,"timestamp_ms":1791172554000,"timestamp_seconds":1791172554,"priority":1,"record_length":96,"hex_timestamp":"000001a10a342d10"} 
[2026-10-05 09:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 09:28:36] 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-10-05 09: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-10-05 09:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540168704001,"66":13493,"100":206,"87":13824,"24":16,"16":139417958437879808,"45":8789478385696880640},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 09:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540168704001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:28:36] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 09:28:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139417958437879808,"km_value":139417958437879.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789478385696880640,"description":"Unknown IO ID 45"} 
[2026-10-05 09:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540168704001,"power":13493,"unknown_100":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8789478385696880640}} 
[2026-10-05 09:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":204292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:28:36] local.INFO: GPS data processed {"connection_id":204292,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:28:36] local.INFO: Acknowledgment sent {"connection_id":204292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:28:51] local.INFO: TCP Data received {"connection_id":207388,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207388,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:28:51] local.INFO: Processing buffer {"connection_id":207388,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:28:51] local.INFO: IMEI packet received {"connection_id":207388,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":207388,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:28:55] local.INFO: TCP Data received {"connection_id":204419,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:28:55] local.INFO: Processing buffer {"connection_id":204419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:28:55] local.INFO: IMEI packet received {"connection_id":204419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":204419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:28:59] local.INFO: TCP Data received {"connection_id":204293,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:28:59] local.INFO: Processing buffer {"connection_id":204293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:28:59] local.INFO: IMEI packet received {"connection_id":204293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":204293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:29:00] local.INFO: TCP Data received {"connection_id":204419,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:29:00] local.INFO: Processing buffer {"connection_id":204419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:29:00] local.INFO: IMEI packet received {"connection_id":204419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":204419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:29:01] local.INFO: TCP Data received {"connection_id":204419,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a33fa48012d7f908005afe5380000000028..."} 
[2026-10-05 09:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a33fa48012d7f908005afe5380000000028..."} 
[2026-10-05 09:29:01] local.INFO: Processing buffer {"connection_id":204419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a33fa48012d7f908005afe5380000000028..."} 
[2026-10-05 09:29:01] local.INFO: Packet analysis {"connection_id":204419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a33"} 
[2026-10-05 09:29:01] local.INFO: Extracted packet for processing {"connection_id":204419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a33"} 
[2026-10-05 09:29:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540096000001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:29: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-10-05 09:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791172541000,"timestamp_ms":1791172541000,"timestamp_seconds":1791172541,"priority":1,"record_length":96,"hex_timestamp":"000001a10a33fa48"} 
[2026-10-05 09:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09: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":102,"data_length":795,"current_offset":136} 
[2026-10-05 09:29: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-10-05 09: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-10-05 09:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:29: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-10-05 09:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540096000001,"66":25647,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540096000001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:29:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:29:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540096000001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":204419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:29:01] local.INFO: GPS data processed {"connection_id":204419,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:29:01] local.INFO: Acknowledgment sent {"connection_id":204419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:29:05] local.INFO: TCP Data received {"connection_id":204293,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:29:05] local.INFO: Processing buffer {"connection_id":204293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:29:05] local.INFO: IMEI packet received {"connection_id":204293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":204293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:29:05] local.INFO: TCP Data received {"connection_id":204293,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a369a28012d7a55c005eb9668000a007a28..."} 
[2026-10-05 09:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a369a28012d7a55c005eb9668000a007a28..."} 
[2026-10-05 09:29:05] local.INFO: Processing buffer {"connection_id":204293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a369a28012d7a55c005eb9668000a007a28..."} 
[2026-10-05 09:29:05] local.INFO: Packet analysis {"connection_id":204293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a36"} 
[2026-10-05 09:29:05] local.INFO: Extracted packet for processing {"connection_id":204293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a36"} 
[2026-10-05 09:29:05] local.INFO: GPS Element Parsed {"raw_longitude":762992064,"raw_latitude":99325544,"longitude_deg":76.2992064,"latitude_deg":9.9325544,"altitude":10,"angle":122,"satellites":40,"speed":1,"hex_longitude":"2d7a55c0","hex_latitude":"05eb9668","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540209152001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139420539713224704,"note":"Value kept but may cause issues"} 
[2026-10-05 09:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815022239819208704,"note":"Value kept but may cause issues"} 
[2026-10-05 09:29:05] 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-10-05 09:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791172713000,"timestamp_ms":1791172713000,"timestamp_seconds":1791172713,"priority":1,"record_length":96,"hex_timestamp":"000001a10a369a28"} 
[2026-10-05 09:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:29: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-10-05 09: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-10-05 09:29: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-10-05 09: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-10-05 09:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540209152001,"66":12928,"163":206,"87":13824,"24":1,"16":139420539713224704,"45":8815022239819208704},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 09:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540209152001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:29:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 09:29:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139420539713224704,"km_value":139420539713224.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815022239819208704,"description":"Unknown IO ID 45"} 
[2026-10-05 09:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540209152001,"power":12928,"unknown_163":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8815022239819208704}} 
[2026-10-05 09:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":204293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:29:05] local.INFO: GPS data processed {"connection_id":204293,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:29:05] local.INFO: Acknowledgment sent {"connection_id":204293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:29:33] local.INFO: TCP Data received {"connection_id":204419,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a33fa48012d7f908005afe5380000000028..."} 
[2026-10-05 09:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a33fa48012d7f908005afe5380000000028..."} 
[2026-10-05 09:29:33] local.INFO: Processing buffer {"connection_id":204419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a33fa48012d7f908005afe5380000000028..."} 
[2026-10-05 09:29:33] local.INFO: Packet analysis {"connection_id":204419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a33"} 
[2026-10-05 09:29:33] local.INFO: Extracted packet for processing {"connection_id":204419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a33"} 
[2026-10-05 09:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540096000001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:29: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-10-05 09:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791172541000,"timestamp_ms":1791172541000,"timestamp_seconds":1791172541,"priority":1,"record_length":96,"hex_timestamp":"000001a10a33fa48"} 
[2026-10-05 09:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 09:29: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-10-05 09: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-10-05 09:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:29: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-10-05 09:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540096000001,"66":25647,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540096000001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:29:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:29:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540096000001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":204419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:29:33] local.INFO: GPS data processed {"connection_id":204419,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:29:33] local.INFO: Acknowledgment sent {"connection_id":204419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:29:45] local.INFO: TCP Data received {"connection_id":204293,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a36b198012d7a570005eb95e0000a006827..."} 
[2026-10-05 09:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a36b198012d7a570005eb95e0000a006827..."} 
[2026-10-05 09:29:45] local.INFO: Processing buffer {"connection_id":204293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a36b198012d7a570005eb95e0000a006827..."} 
[2026-10-05 09:29:45] local.INFO: Packet analysis {"connection_id":204293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a36"} 
[2026-10-05 09:29:45] local.INFO: Extracted packet for processing {"connection_id":204293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a36"} 
[2026-10-05 09:29:45] local.INFO: GPS Element Parsed {"raw_longitude":762992384,"raw_latitude":99325408,"longitude_deg":76.2992384,"latitude_deg":9.9325408,"altitude":10,"angle":104,"satellites":39,"speed":2,"hex_longitude":"2d7a5700","hex_latitude":"05eb95e0","is_valid_coordinates":true} 
[2026-10-05 09:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540214528001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139420556893093888,"note":"Value kept but may cause issues"} 
[2026-10-05 09:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815162977307486208,"note":"Value kept but may cause issues"} 
[2026-10-05 09:29:45] 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-10-05 09:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791172719000,"timestamp_ms":1791172719000,"timestamp_seconds":1791172719,"priority":1,"record_length":96,"hex_timestamp":"000001a10a36b198"} 
[2026-10-05 09:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-10-05 09:29:45] 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-10-05 09:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":204293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":204293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":204293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540214528001,"66":14048,"163":206,"87":13824,"24":2,"16":139420556893093888,"45":8815162977307486208},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 09:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540214528001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:29:45] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 09:29:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139420556893093888,"km_value":139420556893093.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815162977307486208,"description":"Unknown IO ID 45"} 
[2026-10-05 09:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540214528001,"power":14048,"unknown_163":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8815162977307486208}} 
[2026-10-05 09:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":204293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:29:45] local.INFO: GPS data processed {"connection_id":204293,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:29:45] local.INFO: Acknowledgment sent {"connection_id":204293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:29:48] local.INFO: TCP Data received {"connection_id":207388,"ip":"42.109.136.7","data_length":51,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-05 09:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207388,"packet_length":51,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-05 09:29:48] local.INFO: Processing buffer {"connection_id":207388,"buffer_length":51,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-05 09:29:48] local.INFO: IMEI packet received {"connection_id":207388,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":207388,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:29:56] local.INFO: TCP Data received {"connection_id":205838,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:29:56] local.INFO: Processing buffer {"connection_id":205838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:29:56] local.INFO: IMEI packet received {"connection_id":205838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":205838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:29:59] local.INFO: TCP Data received {"connection_id":204421,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204421,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:29:59] local.INFO: Processing buffer {"connection_id":204421,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:29:59] local.INFO: IMEI packet received {"connection_id":204421,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":204421,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:30:00] local.INFO: TCP Data received {"connection_id":205838,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:30:00] local.INFO: Processing buffer {"connection_id":205838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:30:00] local.INFO: IMEI packet received {"connection_id":205838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":205838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:30:01] local.INFO: TCP Data received {"connection_id":205838,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:30:01] local.INFO: Processing buffer {"connection_id":205838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:30:01] local.INFO: IMEI packet received {"connection_id":205838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":205838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:30:02] local.INFO: TCP Data received {"connection_id":205838,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3755a8012d7f908005afe5380000000025..."} 
[2026-10-05 09:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3755a8012d7f908005afe5380000000025..."} 
[2026-10-05 09:30:02] local.INFO: Processing buffer {"connection_id":205838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3755a8012d7f908005afe5380000000025..."} 
[2026-10-05 09:30:02] local.INFO: Packet analysis {"connection_id":205838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:30:02] local.INFO: Extracted packet for processing {"connection_id":205838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413560,"longitude_deg":76.3334784,"latitude_deg":9.541356,"altitude":0,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe538","is_valid_coordinates":true} 
[2026-10-05 09:30: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-10-05 09:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540170496001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:30: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-10-05 09:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791172761000,"timestamp_ms":1791172761000,"timestamp_seconds":1791172761,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3755a8"} 
[2026-10-05 09:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:30: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-10-05 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-05 09:30: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-10-05 09: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-10-05 09:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09: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-10-05 09:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540170496001,"66":25691,"250":206,"85":12544,"24":0,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540170496001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:30:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:30:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540170496001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":205838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:30:02] local.INFO: GPS data processed {"connection_id":205838,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:30:02] local.INFO: Acknowledgment sent {"connection_id":205838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:30:05] local.INFO: TCP Data received {"connection_id":204421,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204421,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:30:05] local.INFO: Processing buffer {"connection_id":204421,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:30:05] local.INFO: IMEI packet received {"connection_id":204421,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":204421,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:30:06] local.INFO: TCP Data received {"connection_id":204421,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a36c138012d7a580005eb95e0000a005b27..."} 
[2026-10-05 09:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a36c138012d7a580005eb95e0000a005b27..."} 
[2026-10-05 09:30:06] local.INFO: Processing buffer {"connection_id":204421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a36c138012d7a580005eb95e0000a005b27..."} 
[2026-10-05 09:30:06] local.INFO: Packet analysis {"connection_id":204421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a36"} 
[2026-10-05 09:30:06] local.INFO: Extracted packet for processing {"connection_id":204421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a36"} 
[2026-10-05 09:30:06] local.INFO: GPS Element Parsed {"raw_longitude":762992640,"raw_latitude":99325408,"longitude_deg":76.299264,"latitude_deg":9.9325408,"altitude":10,"angle":91,"satellites":39,"speed":3,"hex_longitude":"2d7a5800","hex_latitude":"05eb95e0","is_valid_coordinates":true} 
[2026-10-05 09:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540216064001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139420565483028480,"note":"Value kept but may cause issues"} 
[2026-10-05 09:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815514821028339712,"note":"Value kept but may cause issues"} 
[2026-10-05 09:30:06] 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-10-05 09:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791172723000,"timestamp_ms":1791172723000,"timestamp_seconds":1791172723,"priority":1,"record_length":96,"hex_timestamp":"000001a10a36c138"} 
[2026-10-05 09:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-05 09:30:06] 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-10-05 09:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540216064001,"66":13178,"163":206,"87":13824,"24":3,"16":139420565483028480,"45":8815514821028339712},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 09:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540216064001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:30:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 09:30:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139420565483028480,"km_value":139420565483028.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815514821028339712,"description":"Unknown IO ID 45"} 
[2026-10-05 09:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540216064001,"power":13178,"unknown_163":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8815514821028339712}} 
[2026-10-05 09:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":204421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:30:06] local.INFO: GPS data processed {"connection_id":204421,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:30:06] local.INFO: Acknowledgment sent {"connection_id":204421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:30:06] local.INFO: TCP Data received {"connection_id":205838,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10a376d18012d7f8e4005afe3980000002125..."} 
[2026-10-05 09:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a376d18012d7f8e4005afe3980000002125..."} 
[2026-10-05 09:30:06] local.INFO: Processing buffer {"connection_id":205838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a376d18012d7f8e4005afe3980000002125..."} 
[2026-10-05 09:30:06] local.INFO: Packet analysis {"connection_id":205838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:30:06] local.INFO: Extracted packet for processing {"connection_id":205838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:30:06] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95413144,"longitude_deg":76.3334208,"latitude_deg":9.5413144,"altitude":0,"angle":33,"satellites":37,"speed":1,"hex_longitude":"2d7f8e40","hex_latitude":"05afe398","is_valid_coordinates":true} 
[2026-10-05 09:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540226816001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893543706624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377409024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:30: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-10-05 09:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791172767000,"timestamp_ms":1791172767000,"timestamp_seconds":1791172767,"priority":1,"record_length":96,"hex_timestamp":"000001a10a376d18"} 
[2026-10-05 09:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 09:30: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-10-05 09:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:30: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-10-05 09:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540226816001,"66":25495,"250":206,"85":12544,"24":1,"16":1893543706624000,"45":9191987601377409024},"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-10-05 09:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540226816001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:30:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:30:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893543706624000,"km_value":1893543706624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377409024,"description":"Unknown IO ID 45"} 
[2026-10-05 09:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540226816001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191987601377409024}} 
[2026-10-05 09:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":205838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:30:06] local.INFO: GPS data processed {"connection_id":205838,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:30:06] local.INFO: Acknowledgment sent {"connection_id":205838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:30:37] local.INFO: TCP Data received {"connection_id":205838,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10a378870012d7f8ec005afe4100000002e24..."} 
[2026-10-05 09:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a378870012d7f8ec005afe4100000002e24..."} 
[2026-10-05 09:30:37] local.INFO: Processing buffer {"connection_id":205838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a378870012d7f8ec005afe4100000002e24..."} 
[2026-10-05 09:30:37] local.INFO: Packet analysis {"connection_id":205838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:30:37] local.INFO: Extracted packet for processing {"connection_id":205838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:30:37] local.INFO: GPS Element Parsed {"raw_longitude":763334336,"raw_latitude":95413264,"longitude_deg":76.3334336,"latitude_deg":9.5413264,"altitude":0,"angle":46,"satellites":36,"speed":1,"hex_longitude":"2d7f8ec0","hex_latitude":"05afe410","is_valid_coordinates":true} 
[2026-10-05 09:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540228352001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893556591525888,"note":"Value kept but may cause issues"} 
[2026-10-05 09:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282679703552,"note":"Value kept but may cause issues"} 
[2026-10-05 09:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791172774000,"timestamp_ms":1791172774000,"timestamp_seconds":1791172774,"priority":1,"record_length":96,"hex_timestamp":"000001a10a378870"} 
[2026-10-05 09:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:30:37] 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-10-05 09:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 09:30:37] 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-10-05 09:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540228352001,"66":25441,"250":206,"85":12544,"24":1,"16":1893556591525888,"45":9191354282679703552},"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-10-05 09:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540228352001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:30:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:30:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893556591525888,"km_value":1893556591525.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282679703552,"description":"Unknown IO ID 45"} 
[2026-10-05 09:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540228352001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191354282679703552}} 
[2026-10-05 09:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":205838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:30:37] local.INFO: GPS data processed {"connection_id":205838,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:30:37] local.INFO: Acknowledgment sent {"connection_id":205838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:30:42] local.INFO: TCP Data received {"connection_id":204421,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a36d4c0012d7a598005eb9600000a004728..."} 
[2026-10-05 09:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a36d4c0012d7a598005eb9600000a004728..."} 
[2026-10-05 09:30:42] local.INFO: Processing buffer {"connection_id":204421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a36d4c0012d7a598005eb9600000a004728..."} 
[2026-10-05 09:30:42] local.INFO: Packet analysis {"connection_id":204421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a36"} 
[2026-10-05 09:30:42] local.INFO: Extracted packet for processing {"connection_id":204421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a36"} 
[2026-10-05 09:30:42] local.INFO: GPS Element Parsed {"raw_longitude":762993024,"raw_latitude":99325440,"longitude_deg":76.2993024,"latitude_deg":9.932544,"altitude":10,"angle":71,"satellites":40,"speed":2,"hex_longitude":"2d7a5980","hex_latitude":"05eb9600","is_valid_coordinates":true} 
[2026-10-05 09:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540217088001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139420586957864960,"note":"Value kept but may cause issues"} 
[2026-10-05 09:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815796296005050368,"note":"Value kept but may cause issues"} 
[2026-10-05 09:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791172728000,"timestamp_ms":1791172728000,"timestamp_seconds":1791172728,"priority":1,"record_length":96,"hex_timestamp":"000001a10a36d4c0"} 
[2026-10-05 09:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:30: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-10-05 09:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-10-05 09:30:42] 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-10-05 09:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540217088001,"66":14026,"163":206,"87":13824,"24":2,"16":139420586957864960,"45":8815796296005050368},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 09:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540217088001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:30:42] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 09:30:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139420586957864960,"km_value":139420586957864.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815796296005050368,"description":"Unknown IO ID 45"} 
[2026-10-05 09:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540217088001,"power":14026,"unknown_163":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8815796296005050368}} 
[2026-10-05 09:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":204421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966462,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:30:42] local.INFO: GPS data processed {"connection_id":204421,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:30:42] local.INFO: Acknowledgment sent {"connection_id":204421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:30:55] local.INFO: TCP Data received {"connection_id":207389,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:30:55] local.INFO: Processing buffer {"connection_id":207389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:30:55] local.INFO: IMEI packet received {"connection_id":207389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":207389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:30:59] local.INFO: TCP Data received {"connection_id":204295,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:30:59] local.INFO: Processing buffer {"connection_id":204295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:30:59] local.INFO: IMEI packet received {"connection_id":204295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":204295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:31:00] local.INFO: TCP Data received {"connection_id":207389,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:31:00] local.INFO: Processing buffer {"connection_id":207389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:31:00] local.INFO: IMEI packet received {"connection_id":207389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":207389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:31:00] local.INFO: TCP Data received {"connection_id":204295,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:31:00] local.INFO: Processing buffer {"connection_id":204295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:31:00] local.INFO: IMEI packet received {"connection_id":204295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":204295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:31:01] local.INFO: TCP Data received {"connection_id":207389,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a379040012d7f8ec005afe4480000002324..."} 
[2026-10-05 09:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a379040012d7f8ec005afe4480000002324..."} 
[2026-10-05 09:31:01] local.INFO: Processing buffer {"connection_id":207389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a379040012d7f8ec005afe4480000002324..."} 
[2026-10-05 09:31:01] local.INFO: Packet analysis {"connection_id":207389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:31:01] local.INFO: Extracted packet for processing {"connection_id":207389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:31:01] local.INFO: GPS Element Parsed {"raw_longitude":763334336,"raw_latitude":95413320,"longitude_deg":76.3334336,"latitude_deg":9.541332,"altitude":0,"angle":35,"satellites":36,"speed":1,"hex_longitude":"2d7f8ec0","hex_latitude":"05afe448","is_valid_coordinates":true} 
[2026-10-05 09:31: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-10-05 09:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540230144001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191495020168089600,"note":"Value kept but may cause issues"} 
[2026-10-05 09:31: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-10-05 09:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791172776000,"timestamp_ms":1791172776000,"timestamp_seconds":1791172776,"priority":1,"record_length":96,"hex_timestamp":"000001a10a379040"} 
[2026-10-05 09:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:31: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-10-05 09: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 09:31:01] 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-10-05 09: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-10-05 09:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:31: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-10-05 09:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540230144001,"66":25462,"250":206,"85":12544,"24":1,"16":1893560886493184,"45":9191495020168089600},"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-10-05 09:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540230144001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:31:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:31:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191495020168089600,"description":"Unknown IO ID 45"} 
[2026-10-05 09:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540230144001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191495020168089600}} 
[2026-10-05 09:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":207389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:31:01] local.INFO: GPS data processed {"connection_id":207389,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:31:01] local.INFO: Acknowledgment sent {"connection_id":207389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:31:08] local.INFO: TCP Data received {"connection_id":204295,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:31:08] local.INFO: Processing buffer {"connection_id":204295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:31:08] local.INFO: IMEI packet received {"connection_id":204295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":204295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:31:18] local.INFO: TCP Data received {"connection_id":204295,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3722e0012d7a700005eb9d780008004628..."} 
[2026-10-05 09:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3722e0012d7a700005eb9d780008004628..."} 
[2026-10-05 09:31:18] local.INFO: Processing buffer {"connection_id":204295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3722e0012d7a700005eb9d780008004628..."} 
[2026-10-05 09:31:18] local.INFO: Packet analysis {"connection_id":204295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:31:18] local.INFO: Extracted packet for processing {"connection_id":204295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:31:18] local.INFO: GPS Element Parsed {"raw_longitude":762998784,"raw_latitude":99327352,"longitude_deg":76.2998784,"latitude_deg":9.9327352,"altitude":8,"angle":70,"satellites":40,"speed":20,"hex_longitude":"2d7a7000","hex_latitude":"05eb9d78","is_valid_coordinates":true} 
[2026-10-05 09:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540218368001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139420879015641088,"note":"Value kept but may cause issues"} 
[2026-10-05 09:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816218508470124544,"note":"Value kept but may cause issues"} 
[2026-10-05 09:31:18] 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-10-05 09:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791172748000,"timestamp_ms":1791172748000,"timestamp_seconds":1791172748,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3722e0"} 
[2026-10-05 09:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-10-05 09:31:18] 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-10-05 09: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-10-05 09:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":204295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":204295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":204295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540218368001,"66":13896,"163":206,"87":13824,"24":20,"16":139420879015641088,"45":8816218508470124544},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 09:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540218368001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:31:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 09:31:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139420879015641088,"km_value":139420879015641.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816218508470124544,"description":"Unknown IO ID 45"} 
[2026-10-05 09:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540218368001,"power":13896,"unknown_163":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8816218508470124544}} 
[2026-10-05 09:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":204295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:31:19] local.INFO: GPS data processed {"connection_id":204295,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:31:19] local.INFO: Acknowledgment sent {"connection_id":204295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:31:19] local.INFO: TCP Data received {"connection_id":204295,"ip":"42.106.6.55","data_length":1340,"data_hex":"000000000000030f8e0a000001a10a376548012d7a910005ebaa400009004526..."} 
[2026-10-05 09:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204295,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a10a376548012d7a910005ebaa400009004526..."} 
[2026-10-05 09:31:19] local.INFO: Processing buffer {"connection_id":204295,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000001a10a376548012d7a910005ebaa400009004526..."} 
[2026-10-05 09:31:19] local.INFO: Packet analysis {"connection_id":204295,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:31:19] local.INFO: Extracted packet for processing {"connection_id":204295,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:31:19] local.INFO: GPS Element Parsed {"raw_longitude":763007232,"raw_latitude":99330624,"longitude_deg":76.3007232,"latitude_deg":9.9330624,"altitude":9,"angle":69,"satellites":38,"speed":21,"hex_longitude":"2d7a9100","hex_latitude":"05ebaa40","is_valid_coordinates":true} 
[2026-10-05 09:31: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-10-05 09:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540223488001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139421308512370688,"note":"Value kept but may cause issues"} 
[2026-10-05 09:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822551695446603776,"note":"Value kept but may cause issues"} 
[2026-10-05 09:31:19] 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-10-05 09:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791172765000,"timestamp_ms":1791172765000,"timestamp_seconds":1791172765,"priority":1,"record_length":96,"hex_timestamp":"000001a10a376548"} 
[2026-10-05 09:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-10-05 09:31:19] 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-10-05 09:31: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-10-05 09:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":204295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":204295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":204295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540223488001,"66":13678,"163":206,"87":13824,"24":21,"16":139421308512370688,"45":8822551695446603776},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 09:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540223488001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:31:19] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 09:31:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139421308512370688,"km_value":139421308512370.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822551695446603776,"description":"Unknown IO ID 45"} 
[2026-10-05 09:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540223488001,"power":13678,"unknown_163":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8822551695446603776}} 
[2026-10-05 09:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":204295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:31:20] local.INFO: GPS data processed {"connection_id":204295,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:31:20] local.INFO: Acknowledgment sent {"connection_id":204295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:31:20] local.INFO: Packet analysis {"connection_id":204295,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:31:20] local.INFO: Incomplete packet, waiting for more data {"connection_id":204295,"needed":795,"available":545} 
[2026-10-05 09:31:20] local.INFO: TCP Data received {"connection_id":204295,"ip":"42.106.6.55","data_length":250,"data_hex":"e3001001ef523e00000000000001a10a364820012d7a554005eb9798000b008c..."} 
[2026-10-05 09:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204295,"packet_length":250,"packet_hex":"e3001001ef523e00000000000001a10a364820012d7a554005eb9798000b008c..."} 
[2026-10-05 09:31:20] local.INFO: Processing buffer {"connection_id":204295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a37a3c8012d7ab3c005ebb760000c004329..."} 
[2026-10-05 09:31:20] local.INFO: Packet analysis {"connection_id":204295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:31:20] local.INFO: Extracted packet for processing {"connection_id":204295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:31:20] local.INFO: GPS Element Parsed {"raw_longitude":763016128,"raw_latitude":99333984,"longitude_deg":76.3016128,"latitude_deg":9.9333984,"altitude":12,"angle":67,"satellites":41,"speed":21,"hex_longitude":"2d7ab3c0","hex_latitude":"05ebb760","is_valid_coordinates":true} 
[2026-10-05 09:31: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-10-05 09:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540227840001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139421768073871360,"note":"Value kept but may cause issues"} 
[2026-10-05 09:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8831840369678893056,"note":"Value kept but may cause issues"} 
[2026-10-05 09:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791172781000,"timestamp_ms":1791172781000,"timestamp_seconds":1791172781,"priority":1,"record_length":96,"hex_timestamp":"000001a10a37a3c8"} 
[2026-10-05 09:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 09:31:20] 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-10-05 09:31: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-10-05 09:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":204295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":204295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":204295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540227840001,"66":14102,"161":206,"87":13824,"24":21,"16":139421768073871360,"45":8831840369678893056},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-10-05 09:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540227840001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:31:20] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 09:31:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139421768073871360,"km_value":139421768073871.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8831840369678893056,"description":"Unknown IO ID 45"} 
[2026-10-05 09:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540227840001,"power":14102,"unknown_161":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8831840369678893056}} 
[2026-10-05 09:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":204295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966466,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:31:20] local.INFO: GPS data processed {"connection_id":204295,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:31:20] local.INFO: Acknowledgment sent {"connection_id":204295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:31:32] local.INFO: TCP Data received {"connection_id":207389,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a37a3c8012d7f8f0005afe470000000d824..."} 
[2026-10-05 09:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a37a3c8012d7f8f0005afe470000000d824..."} 
[2026-10-05 09:31:32] local.INFO: Processing buffer {"connection_id":207389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a37a3c8012d7f8f0005afe470000000d824..."} 
[2026-10-05 09:31:32] local.INFO: Packet analysis {"connection_id":207389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:31:32] local.INFO: Extracted packet for processing {"connection_id":207389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:31:32] local.INFO: GPS Element Parsed {"raw_longitude":763334400,"raw_latitude":95413360,"longitude_deg":76.33344,"latitude_deg":9.541336,"altitude":0,"angle":216,"satellites":36,"speed":1,"hex_longitude":"2d7f8f00","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540230656001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191495020168103936,"note":"Value kept but may cause issues"} 
[2026-10-05 09:31: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-10-05 09:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791172781000,"timestamp_ms":1791172781000,"timestamp_seconds":1791172781,"priority":1,"record_length":96,"hex_timestamp":"000001a10a37a3c8"} 
[2026-10-05 09:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:31: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-10-05 09: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 09:31:32] 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-10-05 09: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-10-05 09:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:31: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-10-05 09:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540230656001,"66":25538,"250":206,"85":12544,"24":1,"16":1893560886493184,"45":9191495020168103936},"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-10-05 09:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540230656001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:31:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:31:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191495020168103936,"description":"Unknown IO ID 45"} 
[2026-10-05 09:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540230656001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191495020168103936}} 
[2026-10-05 09:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":207389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:31:32] local.INFO: GPS data processed {"connection_id":207389,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:31:32] local.INFO: Acknowledgment sent {"connection_id":207389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:31:55] local.INFO: TCP Data received {"connection_id":204425,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:31:55] local.INFO: Processing buffer {"connection_id":204425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:31:55] local.INFO: IMEI packet received {"connection_id":204425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":204425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:31:57] local.INFO: TCP Data received {"connection_id":204424,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204424,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:31:57] local.INFO: Processing buffer {"connection_id":204424,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:31:57] local.INFO: IMEI packet received {"connection_id":204424,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 09:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":204424,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:31:59] local.INFO: TCP Data received {"connection_id":207390,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207390,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:31:59] local.INFO: Processing buffer {"connection_id":207390,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:31:59] local.INFO: IMEI packet received {"connection_id":207390,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":207390,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:32:00] local.INFO: TCP Data received {"connection_id":204425,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:32:00] local.INFO: Processing buffer {"connection_id":204425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:32:00] local.INFO: IMEI packet received {"connection_id":204425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":204425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:32:01] local.INFO: TCP Data received {"connection_id":204425,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a37a3c8012d7f8f0005afe470000000d824..."} 
[2026-10-05 09:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a37a3c8012d7f8f0005afe470000000d824..."} 
[2026-10-05 09:32:01] local.INFO: Processing buffer {"connection_id":204425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a37a3c8012d7f8f0005afe470000000d824..."} 
[2026-10-05 09:32:01] local.INFO: Packet analysis {"connection_id":204425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:32:01] local.INFO: Extracted packet for processing {"connection_id":204425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:32:01] local.INFO: GPS Element Parsed {"raw_longitude":763334400,"raw_latitude":95413360,"longitude_deg":76.33344,"latitude_deg":9.541336,"altitude":0,"angle":216,"satellites":36,"speed":1,"hex_longitude":"2d7f8f00","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540230656001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191495020168103936,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791172781000,"timestamp_ms":1791172781000,"timestamp_seconds":1791172781,"priority":1,"record_length":96,"hex_timestamp":"000001a10a37a3c8"} 
[2026-10-05 09:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:32: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-10-05 09:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 09:32:01] 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-10-05 09: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-10-05 09:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:32: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-10-05 09:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540230656001,"66":25538,"250":206,"85":12544,"24":1,"16":1893560886493184,"45":9191495020168103936},"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-10-05 09:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540230656001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:32:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:32:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191495020168103936,"description":"Unknown IO ID 45"} 
[2026-10-05 09:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540230656001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191495020168103936}} 
[2026-10-05 09:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":204425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:32:01] local.INFO: GPS data processed {"connection_id":204425,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:32:01] local.INFO: Acknowledgment sent {"connection_id":204425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:32:05] local.INFO: TCP Data received {"connection_id":207390,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207390,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:32:05] local.INFO: Processing buffer {"connection_id":207390,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:32:05] local.INFO: IMEI packet received {"connection_id":207390,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":207390,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:32:06] local.INFO: TCP Data received {"connection_id":207390,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a37da78012d7ad48005ebc5b0000e003e2a..."} 
[2026-10-05 09:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a37da78012d7ad48005ebc5b0000e003e2a..."} 
[2026-10-05 09:32:06] local.INFO: Processing buffer {"connection_id":207390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a37da78012d7ad48005ebc5b0000e003e2a..."} 
[2026-10-05 09:32:06] local.INFO: Packet analysis {"connection_id":207390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:32:06] local.INFO: Extracted packet for processing {"connection_id":207390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:32:06] local.INFO: GPS Element Parsed {"raw_longitude":763024512,"raw_latitude":99337648,"longitude_deg":76.3024512,"latitude_deg":9.9337648,"altitude":14,"angle":62,"satellites":42,"speed":34,"hex_longitude":"2d7ad480","hex_latitude":"05ebc5b0","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540231936001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139422206160535552,"note":"Value kept but may cause issues"} 
[2026-10-05 09:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8841621625120448512,"note":"Value kept but may cause issues"} 
[2026-10-05 09:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791172795000,"timestamp_ms":1791172795000,"timestamp_seconds":1791172795,"priority":1,"record_length":96,"hex_timestamp":"000001a10a37da78"} 
[2026-10-05 09:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-05 09:32:06] 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-10-05 09: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-10-05 09:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540231936001,"66":13678,"99":206,"87":13824,"24":34,"16":139422206160535552,"45":8841621625120448512},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-05 09:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540231936001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:32:06] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-05 09:32:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139422206160535552,"km_value":139422206160535.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8841621625120448512,"description":"Unknown IO ID 45"} 
[2026-10-05 09:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540231936001,"power":13678,"unknown_99":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8841621625120448512}} 
[2026-10-05 09:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":207390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:32:06] local.INFO: GPS data processed {"connection_id":207390,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:32:06] local.INFO: Acknowledgment sent {"connection_id":207390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:32:32] local.INFO: TCP Data received {"connection_id":204425,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a37a3c8012d7f8f0005afe470000000d824..."} 
[2026-10-05 09:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a37a3c8012d7f8f0005afe470000000d824..."} 
[2026-10-05 09:32:32] local.INFO: Processing buffer {"connection_id":204425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a37a3c8012d7f8f0005afe470000000d824..."} 
[2026-10-05 09:32:32] local.INFO: Packet analysis {"connection_id":204425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:32:32] local.INFO: Extracted packet for processing {"connection_id":204425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:32:32] local.INFO: GPS Element Parsed {"raw_longitude":763334400,"raw_latitude":95413360,"longitude_deg":76.33344,"latitude_deg":9.541336,"altitude":0,"angle":216,"satellites":36,"speed":1,"hex_longitude":"2d7f8f00","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540230656001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191495020168103936,"note":"Value kept but may cause issues"} 
[2026-10-05 09:32: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-10-05 09:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791172781000,"timestamp_ms":1791172781000,"timestamp_seconds":1791172781,"priority":1,"record_length":96,"hex_timestamp":"000001a10a37a3c8"} 
[2026-10-05 09:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:32: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-10-05 09: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 09:32:32] 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-10-05 09: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-10-05 09:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:32: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-10-05 09:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540230656001,"66":25538,"250":206,"85":12544,"24":1,"16":1893560886493184,"45":9191495020168103936},"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-10-05 09:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540230656001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:32:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:32:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191495020168103936,"description":"Unknown IO ID 45"} 
[2026-10-05 09:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540230656001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191495020168103936}} 
[2026-10-05 09:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":204425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:32:32] local.INFO: GPS data processed {"connection_id":204425,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:32:32] local.INFO: Acknowledgment sent {"connection_id":204425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:32:37] local.INFO: TCP Data received {"connection_id":207390,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a380188012d7af4c005ebd5a8000f003e2a..."} 
[2026-10-05 09:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a380188012d7af4c005ebd5a8000f003e2a..."} 
[2026-10-05 09:32:37] local.INFO: Processing buffer {"connection_id":207390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a380188012d7af4c005ebd5a8000f003e2a..."} 
[2026-10-05 09:32:37] local.INFO: Packet analysis {"connection_id":207390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a38"} 
[2026-10-05 09:32:37] local.INFO: Extracted packet for processing {"connection_id":207390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a38"} 
[2026-10-05 09:32:37] local.INFO: GPS Element Parsed {"raw_longitude":763032768,"raw_latitude":99341736,"longitude_deg":76.3032768,"latitude_deg":9.9341736,"altitude":15,"angle":62,"satellites":42,"speed":39,"hex_longitude":"2d7af4c0","hex_latitude":"05ebd5a8","is_valid_coordinates":true} 
[2026-10-05 09:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540235520001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139422644247199744,"note":"Value kept but may cause issues"} 
[2026-10-05 09:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850839930608660480,"note":"Value kept but may cause issues"} 
[2026-10-05 09:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791172805000,"timestamp_ms":1791172805000,"timestamp_seconds":1791172805,"priority":1,"record_length":96,"hex_timestamp":"000001a10a380188"} 
[2026-10-05 09:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:32: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-10-05 09:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 09:32:37] 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-10-05 09:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540235520001,"66":13678,"99":206,"87":13824,"24":39,"16":139422644247199744,"45":8850839930608660480},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-05 09:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540235520001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:32:37] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-05 09:32:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139422644247199744,"km_value":139422644247199.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850839930608660480,"description":"Unknown IO ID 45"} 
[2026-10-05 09:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540235520001,"power":13678,"unknown_99":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8850839930608660480}} 
[2026-10-05 09:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":207390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:32:37] local.INFO: GPS data processed {"connection_id":207390,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:32:37] local.INFO: Acknowledgment sent {"connection_id":207390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:32:55] local.INFO: TCP Data received {"connection_id":205840,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:32:55] local.INFO: Processing buffer {"connection_id":205840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:32:55] local.INFO: IMEI packet received {"connection_id":205840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":205840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:32:59] local.INFO: TCP Data received {"connection_id":205841,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:32:59] local.INFO: Processing buffer {"connection_id":205841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:32:59] local.INFO: IMEI packet received {"connection_id":205841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":205841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:33:00] local.INFO: TCP Data received {"connection_id":205841,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:33:00] local.INFO: Processing buffer {"connection_id":205841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:33:00] local.INFO: IMEI packet received {"connection_id":205841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":205841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:33:00] local.INFO: TCP Data received {"connection_id":205840,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:33:00] local.INFO: Processing buffer {"connection_id":205840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:33:00] local.INFO: IMEI packet received {"connection_id":205840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":205840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:33:01] local.INFO: TCP Data received {"connection_id":205840,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a37a3c8012d7f8f0005afe470000000d824..."} 
[2026-10-05 09:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a37a3c8012d7f8f0005afe470000000d824..."} 
[2026-10-05 09:33:01] local.INFO: Processing buffer {"connection_id":205840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a37a3c8012d7f8f0005afe470000000d824..."} 
[2026-10-05 09:33:01] local.INFO: Packet analysis {"connection_id":205840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:33:01] local.INFO: Extracted packet for processing {"connection_id":205840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:33:01] local.INFO: GPS Element Parsed {"raw_longitude":763334400,"raw_latitude":95413360,"longitude_deg":76.33344,"latitude_deg":9.541336,"altitude":0,"angle":216,"satellites":36,"speed":1,"hex_longitude":"2d7f8f00","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540230656001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191495020168103936,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791172781000,"timestamp_ms":1791172781000,"timestamp_seconds":1791172781,"priority":1,"record_length":96,"hex_timestamp":"000001a10a37a3c8"} 
[2026-10-05 09:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:33: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-10-05 09: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":118,"data_length":795,"current_offset":136} 
[2026-10-05 09:33:01] 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-10-05 09: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-10-05 09:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:33: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-10-05 09:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540230656001,"66":25538,"250":206,"85":12544,"24":1,"16":1893560886493184,"45":9191495020168103936},"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-10-05 09:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540230656001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:33:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:33:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191495020168103936,"description":"Unknown IO ID 45"} 
[2026-10-05 09:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540230656001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191495020168103936}} 
[2026-10-05 09:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":205840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:33:01] local.INFO: GPS data processed {"connection_id":205840,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:33:01] local.INFO: Acknowledgment sent {"connection_id":205840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:33:05] local.INFO: TCP Data received {"connection_id":205841,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:33:05] local.INFO: Processing buffer {"connection_id":205841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:33:05] local.INFO: IMEI packet received {"connection_id":205841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":205841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:33:05] local.INFO: TCP Data received {"connection_id":205841,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3a2468012d7c650005ec36f0000f00582b..."} 
[2026-10-05 09:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3a2468012d7c650005ec36f0000f00582b..."} 
[2026-10-05 09:33:05] local.INFO: Processing buffer {"connection_id":205841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3a2468012d7c650005ec36f0000f00582b..."} 
[2026-10-05 09:33:05] local.INFO: Packet analysis {"connection_id":205841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3a"} 
[2026-10-05 09:33:05] local.INFO: Extracted packet for processing {"connection_id":205841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3a"} 
[2026-10-05 09:33:05] local.INFO: GPS Element Parsed {"raw_longitude":763127040,"raw_latitude":99366640,"longitude_deg":76.312704,"latitude_deg":9.936664,"altitude":15,"angle":88,"satellites":43,"speed":36,"hex_longitude":"2d7c6500","hex_latitude":"05ec36f0","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540271360001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139427368711225344,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953507928371230720,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:05] 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-10-05 09:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791172945000,"timestamp_ms":1791172945000,"timestamp_seconds":1791172945,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3a2468"} 
[2026-10-05 09:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:33: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-10-05 09: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 09:33:05] local.WARNING: Large IO value detected {"io_id":24,"raw_value":10133107767312384,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626603520256,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:05] local.WARNING: Large IO value detected {"io_id":86,"raw_value":4043309056,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147273422,"corrected_to":0} 
[2026-10-05 09:33:05] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2415996283,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:05] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2147871772,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:05] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2298531140,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-4035204374259433437,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:05] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-6917197544879553044,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:05] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,110,87,24,241,157,16,88,161,210,45,192,53,19,43,10,66,163,50,20,81,128,1,240,78,227,86,236,4,113,205,28,208,158,32,42,239,54,98,2,5,36,122],"length":528,"final_offset":658,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1147273422,"validated":0}]} 
[2026-10-05 09:33:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225076040353710080,"timestamp_seconds":1225076040353710.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 09:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540271360001,"66":13580,"110":206,"87":13824,"24":36,"16":139427368711225344,"45":8953507928371230720},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-05 09:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540271360001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:33:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-05 09:33:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139427368711225344,"km_value":139427368711225.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953507928371230720,"description":"Unknown IO ID 45"} 
[2026-10-05 09:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540271360001,"power":13580,"unknown_110":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8953507928371230720}} 
[2026-10-05 09:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":205841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:33:06] local.INFO: GPS data processed {"connection_id":205841,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:33:06] local.INFO: Acknowledgment sent {"connection_id":205841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:33:32] local.INFO: TCP Data received {"connection_id":205840,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a37a3c8012d7f8f0005afe470000000d824..."} 
[2026-10-05 09:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a37a3c8012d7f8f0005afe470000000d824..."} 
[2026-10-05 09:33:32] local.INFO: Processing buffer {"connection_id":205840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a37a3c8012d7f8f0005afe470000000d824..."} 
[2026-10-05 09:33:32] local.INFO: Packet analysis {"connection_id":205840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:33:32] local.INFO: Extracted packet for processing {"connection_id":205840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763334400,"raw_latitude":95413360,"longitude_deg":76.33344,"latitude_deg":9.541336,"altitude":0,"angle":216,"satellites":36,"speed":1,"hex_longitude":"2d7f8f00","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540230656001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191495020168103936,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791172781000,"timestamp_ms":1791172781000,"timestamp_seconds":1791172781,"priority":1,"record_length":96,"hex_timestamp":"000001a10a37a3c8"} 
[2026-10-05 09:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:33: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-10-05 09:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 09:33:32] 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-10-05 09:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540230656001,"66":25538,"250":206,"85":12544,"24":1,"16":1893560886493184,"45":9191495020168103936},"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-10-05 09:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540230656001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:33:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:33:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191495020168103936,"description":"Unknown IO ID 45"} 
[2026-10-05 09:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540230656001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191495020168103936}} 
[2026-10-05 09:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":205840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:33:32] local.INFO: GPS data processed {"connection_id":205840,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:33:32] local.INFO: Acknowledgment sent {"connection_id":205840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:33:39] local.INFO: TCP Data received {"connection_id":205841,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3a4f60012d7c8b8005ec3838000d00572a..."} 
[2026-10-05 09:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3a4f60012d7c8b8005ec3838000d00572a..."} 
[2026-10-05 09:33:39] local.INFO: Processing buffer {"connection_id":205841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3a4f60012d7c8b8005ec3838000d00572a..."} 
[2026-10-05 09:33:39] local.INFO: Packet analysis {"connection_id":205841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3a"} 
[2026-10-05 09:33:39] local.INFO: Extracted packet for processing {"connection_id":205841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3a"} 
[2026-10-05 09:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763136896,"raw_latitude":99366968,"longitude_deg":76.3136896,"latitude_deg":9.9366968,"altitude":13,"angle":87,"satellites":42,"speed":34,"hex_longitude":"2d7c8b80","hex_latitude":"05ec3838","is_valid_coordinates":true} 
[2026-10-05 09:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540273920001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139427841157627904,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963570658788700160,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791172956000,"timestamp_ms":1791172956000,"timestamp_seconds":1791172956,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3a4f60"} 
[2026-10-05 09:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:33: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-10-05 09:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 09:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751640405,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:39] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812228,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:39] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2147871782,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-1200712877019758592,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637310514775138,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-10-05 09:33:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3961266176,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:39] local.WARNING: Large IO value detected {"io_id":123,"raw_value":8917133773661798420,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:39] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-8502570402889806249,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:39] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755554060009713,"note":"Value kept but may cause issues"} 
[2026-10-05 09:33:39] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,110,87,24,241,157,16,88,161,253,45,64,53,17,43,10,66,210,192,19,163,1,240,115,227,236,4,113,205,8,255,96,239,98,2,5,20,27,123,52,54],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-10-05 09:33:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080960852278116352,"timestamp_seconds":1080960852278116.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 09:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":205841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":205841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":205841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540273920001,"66":13830,"198":206,"87":13824,"24":34,"16":139427841157627904,"45":8963570658788700160},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-10-05 09:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540273920001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:33:39] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-05 09:33:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139427841157627904,"km_value":139427841157627.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963570658788700160,"description":"Unknown IO ID 45"} 
[2026-10-05 09:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540273920001,"power":13830,"unknown_198":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8963570658788700160}} 
[2026-10-05 09:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":205841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:33:39] local.INFO: GPS data processed {"connection_id":205841,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:33:39] local.INFO: Acknowledgment sent {"connection_id":205841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:33:55] local.INFO: TCP Data received {"connection_id":204426,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:33:55] local.INFO: Processing buffer {"connection_id":204426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:33:55] local.INFO: IMEI packet received {"connection_id":204426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":204426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:33:59] local.INFO: TCP Data received {"connection_id":204296,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:33:59] local.INFO: Processing buffer {"connection_id":204296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:33:59] local.INFO: IMEI packet received {"connection_id":204296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":204296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:34:00] local.INFO: TCP Data received {"connection_id":204426,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:34:00] local.INFO: Processing buffer {"connection_id":204426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:34:00] local.INFO: IMEI packet received {"connection_id":204426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":204426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:34:01] local.INFO: TCP Data received {"connection_id":204426,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a37a3c8012d7f8f0005afe470000000d824..."} 
[2026-10-05 09:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a37a3c8012d7f8f0005afe470000000d824..."} 
[2026-10-05 09:34:01] local.INFO: Processing buffer {"connection_id":204426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a37a3c8012d7f8f0005afe470000000d824..."} 
[2026-10-05 09:34:01] local.INFO: Packet analysis {"connection_id":204426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:34:01] local.INFO: Extracted packet for processing {"connection_id":204426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:34:01] local.INFO: GPS Element Parsed {"raw_longitude":763334400,"raw_latitude":95413360,"longitude_deg":76.33344,"latitude_deg":9.541336,"altitude":0,"angle":216,"satellites":36,"speed":1,"hex_longitude":"2d7f8f00","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540230656001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191495020168103936,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791172781000,"timestamp_ms":1791172781000,"timestamp_seconds":1791172781,"priority":1,"record_length":96,"hex_timestamp":"000001a10a37a3c8"} 
[2026-10-05 09:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:34: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-10-05 09: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 09:34:01] 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-10-05 09: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-10-05 09:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:34: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-10-05 09:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540230656001,"66":25538,"250":206,"85":12544,"24":1,"16":1893560886493184,"45":9191495020168103936},"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-10-05 09:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540230656001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:34:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:34:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191495020168103936,"description":"Unknown IO ID 45"} 
[2026-10-05 09:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540230656001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191495020168103936}} 
[2026-10-05 09:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":204426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:34:01] local.INFO: GPS data processed {"connection_id":204426,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:34:01] local.INFO: Acknowledgment sent {"connection_id":204426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:34:05] local.INFO: TCP Data received {"connection_id":204296,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:34:05] local.INFO: Processing buffer {"connection_id":204296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:34:05] local.INFO: IMEI packet received {"connection_id":204296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":204296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:34:06] local.INFO: TCP Data received {"connection_id":204296,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3a7a58012d7cb10005ec3948000a00592a..."} 
[2026-10-05 09:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3a7a58012d7cb10005ec3948000a00592a..."} 
[2026-10-05 09:34:06] local.INFO: Processing buffer {"connection_id":204296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3a7a58012d7cb10005ec3948000a00592a..."} 
[2026-10-05 09:34:06] local.INFO: Packet analysis {"connection_id":204296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3a"} 
[2026-10-05 09:34:06] local.INFO: Extracted packet for processing {"connection_id":204296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3a"} 
[2026-10-05 09:34:06] local.INFO: GPS Element Parsed {"raw_longitude":763146496,"raw_latitude":99367240,"longitude_deg":76.3146496,"latitude_deg":9.936724,"altitude":10,"angle":89,"satellites":42,"speed":35,"hex_longitude":"2d7cb100","hex_latitude":"05ec3948","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540276736001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139428300719128576,"note":"Value kept but may cause issues"} 
[2026-10-05 09:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974407445392144384,"note":"Value kept but may cause issues"} 
[2026-10-05 09:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791172967000,"timestamp_ms":1791172967000,"timestamp_seconds":1791172967,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3a7a58"} 
[2026-10-05 09:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 09:34:06] local.WARNING: Large IO value detected {"io_id":24,"raw_value":7881307953627136,"note":"Value kept but may cause issues"} 
[2026-10-05 09:34:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626603468032,"note":"Value kept but may cause issues"} 
[2026-10-05 09:34:06] local.WARNING: Large IO value detected {"io_id":28,"raw_value":2305865000656961563,"note":"Value kept but may cause issues"} 
[2026-10-05 09:34:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-10-05 09:34:06] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2147871790,"note":"Value kept but may cause issues"} 
[2026-10-05 09:34:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3961937920,"note":"Value kept but may cause issues"} 
[2026-10-05 09:34:06] local.WARNING: Large IO value detected {"io_id":208,"raw_value":-8070119048307800596,"note":"Value kept but may cause issues"} 
[2026-10-05 09:34:06] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,198,87,24,241,157,16,88,161,36,45,54,15,43,10,66,110,253,64,53,17,210,192,1,240,28,227,236,4,113,205,81,221,56,239,2,5,20,208],"length":528,"final_offset":658,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-10-05 09:34:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936844560395534336,"timestamp_seconds":936844560395534.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 09:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540276736001,"66":14048,"198":206,"87":13824,"24":35,"16":139428300719128576,"45":8974407445392144384},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-10-05 09:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540276736001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:34:06] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-05 09:34:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139428300719128576,"km_value":139428300719128.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974407445392144384,"description":"Unknown IO ID 45"} 
[2026-10-05 09:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540276736001,"power":14048,"unknown_198":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8974407445392144384}} 
[2026-10-05 09:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":204296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:34:06] local.INFO: GPS data processed {"connection_id":204296,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:34:06] local.INFO: Acknowledgment sent {"connection_id":204296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:34:32] local.INFO: TCP Data received {"connection_id":204426,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a37a3c8012d7f8f0005afe470000000d824..."} 
[2026-10-05 09:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a37a3c8012d7f8f0005afe470000000d824..."} 
[2026-10-05 09:34:32] local.INFO: Processing buffer {"connection_id":204426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a37a3c8012d7f8f0005afe470000000d824..."} 
[2026-10-05 09:34:32] local.INFO: Packet analysis {"connection_id":204426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:34:32] local.INFO: Extracted packet for processing {"connection_id":204426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:34:32] local.INFO: GPS Element Parsed {"raw_longitude":763334400,"raw_latitude":95413360,"longitude_deg":76.33344,"latitude_deg":9.541336,"altitude":0,"angle":216,"satellites":36,"speed":1,"hex_longitude":"2d7f8f00","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540230656001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191495020168103936,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791172781000,"timestamp_ms":1791172781000,"timestamp_seconds":1791172781,"priority":1,"record_length":96,"hex_timestamp":"000001a10a37a3c8"} 
[2026-10-05 09:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:34: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-10-05 09: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 09:34:32] 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-10-05 09: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-10-05 09:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:34: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-10-05 09:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540230656001,"66":25538,"250":206,"85":12544,"24":1,"16":1893560886493184,"45":9191495020168103936},"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-10-05 09:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540230656001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:34:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:34:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191495020168103936,"description":"Unknown IO ID 45"} 
[2026-10-05 09:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540230656001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191495020168103936}} 
[2026-10-05 09:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":204426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:34:32] local.INFO: GPS data processed {"connection_id":204426,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:34:32] local.INFO: Acknowledgment sent {"connection_id":204426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:34:40] local.INFO: TCP Data received {"connection_id":204296,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3c08c8012d7d314005ec83780009000922..."} 
[2026-10-05 09:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3c08c8012d7d314005ec83780009000922..."} 
[2026-10-05 09:34:40] local.INFO: Processing buffer {"connection_id":204296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3c08c8012d7d314005ec83780009000922..."} 
[2026-10-05 09:34:40] local.INFO: Packet analysis {"connection_id":204296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:34:40] local.INFO: Extracted packet for processing {"connection_id":204296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:34:40] local.INFO: GPS Element Parsed {"raw_longitude":763179328,"raw_latitude":99386232,"longitude_deg":76.3179328,"latitude_deg":9.9386232,"altitude":9,"angle":9,"satellites":34,"speed":6,"hex_longitude":"2d7d3140","hex_latitude":"05ec8378","is_valid_coordinates":true} 
[2026-10-05 09:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540303872001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139430641476304896,"note":"Value kept but may cause issues"} 
[2026-10-05 09:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021132291530731520,"note":"Value kept but may cause issues"} 
[2026-10-05 09:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791173069000,"timestamp_ms":1791173069000,"timestamp_seconds":1791173069,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3c08c8"} 
[2026-10-05 09:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-10-05 09:34:40] 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-10-05 09:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540303872001,"66":13852,"110":206,"87":13824,"24":6,"16":139430641476304896,"45":9021132291530731520},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-05 09:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540303872001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:34:40] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-05 09:34:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139430641476304896,"km_value":139430641476304.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021132291530731520,"description":"Unknown IO ID 45"} 
[2026-10-05 09:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540303872001,"power":13852,"unknown_110":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9021132291530731520}} 
[2026-10-05 09:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":204296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:34:40] local.INFO: GPS data processed {"connection_id":204296,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:34:40] local.INFO: Acknowledgment sent {"connection_id":204296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:34:56] local.INFO: TCP Data received {"connection_id":207393,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207393,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:34:56] local.INFO: Processing buffer {"connection_id":207393,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:34:56] local.INFO: IMEI packet received {"connection_id":207393,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":207393,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:34:56] local.INFO: TCP Data received {"connection_id":207395,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:34:57] local.INFO: Processing buffer {"connection_id":207395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:34:57] local.INFO: IMEI packet received {"connection_id":207395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":207395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:34:57] local.INFO: TCP Data received {"connection_id":207393,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207393,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:34:57] local.INFO: Processing buffer {"connection_id":207393,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:34:57] local.INFO: IMEI packet received {"connection_id":207393,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":207393,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:34:58] local.INFO: TCP Data received {"connection_id":207393,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3a05280100000000000000000000000000..."} 
[2026-10-05 09:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3a05280100000000000000000000000000..."} 
[2026-10-05 09:34:58] local.INFO: Processing buffer {"connection_id":207393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3a05280100000000000000000000000000..."} 
[2026-10-05 09:34:58] local.INFO: Packet analysis {"connection_id":207393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3a"} 
[2026-10-05 09:34:58] local.INFO: Extracted packet for processing {"connection_id":207393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3a"} 
[2026-10-05 09:34:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-05 09:34:58] 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-10-05 09:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34763529718333440,"note":"Value kept but may cause issues"} 
[2026-10-05 09:34:58] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-10-05 09:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1791172937000,"timestamp_ms":1791172937000,"timestamp_seconds":1791172937,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3a0528"} 
[2026-10-05 09:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:34: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 09:34: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-10-05 09: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-10-05 09:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":207393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":207393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":207393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":207393,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-05 09:34:58] local.INFO: GPS data processed {"connection_id":207393,"processed":0,"errors":0,"total":1} 
[2026-10-05 09:34:58] local.INFO: Acknowledgment sent {"connection_id":207393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:34:59] local.INFO: TCP Data received {"connection_id":207395,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:34:59] local.INFO: Processing buffer {"connection_id":207395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:34:59] local.INFO: IMEI packet received {"connection_id":207395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":207395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:35:00] local.INFO: TCP Data received {"connection_id":207394,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:35:00] local.INFO: Processing buffer {"connection_id":207394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:35:00] local.INFO: IMEI packet received {"connection_id":207394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":207394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:35:05] local.INFO: TCP Data received {"connection_id":207395,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:35:05] local.INFO: Processing buffer {"connection_id":207395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:35:05] local.INFO: IMEI packet received {"connection_id":207395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":207395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:35:05] local.INFO: TCP Data received {"connection_id":207394,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:35:05] local.INFO: Processing buffer {"connection_id":207394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:35:05] local.INFO: IMEI packet received {"connection_id":207394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":207394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:35:05] local.INFO: TCP Data received {"connection_id":207395,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3c1480012d7d318005ec85a00009016023..."} 
[2026-10-05 09:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3c1480012d7d318005ec85a00009016023..."} 
[2026-10-05 09:35:05] local.INFO: Processing buffer {"connection_id":207395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3c1480012d7d318005ec85a00009016023..."} 
[2026-10-05 09:35:05] local.INFO: Packet analysis {"connection_id":207395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:35:05] local.INFO: Extracted packet for processing {"connection_id":207395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:35:05] local.INFO: GPS Element Parsed {"raw_longitude":763179392,"raw_latitude":99386784,"longitude_deg":76.3179392,"latitude_deg":9.9386784,"altitude":9,"angle":352,"satellites":35,"speed":5,"hex_longitude":"2d7d3180","hex_latitude":"05ec85a0","is_valid_coordinates":true} 
[2026-10-05 09:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540305664001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139430671541075968,"note":"Value kept but may cause issues"} 
[2026-10-05 09:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021061922786867200,"note":"Value kept but may cause issues"} 
[2026-10-05 09:35:05] 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-10-05 09:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791173072000,"timestamp_ms":1791173072000,"timestamp_seconds":1791173072,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3c1480"} 
[2026-10-05 09:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:35: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-10-05 09:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-05 09:35: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-10-05 09:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540305664001,"66":13961,"110":206,"87":13824,"24":5,"16":139430671541075968,"45":9021061922786867200},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-05 09:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540305664001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:35:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-05 09:35:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139430671541075968,"km_value":139430671541075.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021061922786867200,"description":"Unknown IO ID 45"} 
[2026-10-05 09:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540305664001,"power":13961,"unknown_110":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9021061922786867200}} 
[2026-10-05 09:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":207395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966480,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:35:05] local.INFO: GPS data processed {"connection_id":207395,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:35:05] local.INFO: Acknowledgment sent {"connection_id":207395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:35:06] local.INFO: TCP Data received {"connection_id":207394,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10a37a3c8012d7f8f0005afe470000000d824..."} 
[2026-10-05 09:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a37a3c8012d7f8f0005afe470000000d824..."} 
[2026-10-05 09:35:06] local.INFO: Processing buffer {"connection_id":207394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a37a3c8012d7f8f0005afe470000000d824..."} 
[2026-10-05 09:35:06] local.INFO: Packet analysis {"connection_id":207394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:35:06] local.INFO: Extracted packet for processing {"connection_id":207394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:35:06] local.INFO: GPS Element Parsed {"raw_longitude":763334400,"raw_latitude":95413360,"longitude_deg":76.33344,"latitude_deg":9.541336,"altitude":0,"angle":216,"satellites":36,"speed":1,"hex_longitude":"2d7f8f00","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540230656001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191495020168103936,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791172781000,"timestamp_ms":1791172781000,"timestamp_seconds":1791172781,"priority":1,"record_length":96,"hex_timestamp":"000001a10a37a3c8"} 
[2026-10-05 09:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09: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-10-05 09: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":118,"data_length":795,"current_offset":136} 
[2026-10-05 09:35:06] 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-10-05 09: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-10-05 09:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:35: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-10-05 09:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540230656001,"66":25538,"250":206,"85":12544,"24":1,"16":1893560886493184,"45":9191495020168103936},"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-10-05 09:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540230656001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:35:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:35:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191495020168103936,"description":"Unknown IO ID 45"} 
[2026-10-05 09:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540230656001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191495020168103936}} 
[2026-10-05 09:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":207394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:35:06] local.INFO: GPS data processed {"connection_id":207394,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:35:06] local.INFO: Acknowledgment sent {"connection_id":207394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:35:11] local.INFO: TCP Data received {"connection_id":207394,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10a37a3c8012d7f8f0005afe470000000d824..."} 
[2026-10-05 09:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a37a3c8012d7f8f0005afe470000000d824..."} 
[2026-10-05 09:35:11] local.INFO: Processing buffer {"connection_id":207394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a37a3c8012d7f8f0005afe470000000d824..."} 
[2026-10-05 09:35:11] local.INFO: Packet analysis {"connection_id":207394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:35:11] local.INFO: Extracted packet for processing {"connection_id":207394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a37"} 
[2026-10-05 09:35:11] local.INFO: GPS Element Parsed {"raw_longitude":763334400,"raw_latitude":95413360,"longitude_deg":76.33344,"latitude_deg":9.541336,"altitude":0,"angle":216,"satellites":36,"speed":1,"hex_longitude":"2d7f8f00","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540230656001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191495020168103936,"note":"Value kept but may cause issues"} 
[2026-10-05 09:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791172781000,"timestamp_ms":1791172781000,"timestamp_seconds":1791172781,"priority":1,"record_length":96,"hex_timestamp":"000001a10a37a3c8"} 
[2026-10-05 09:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 09:35:11] 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-10-05 09:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540230656001,"66":25538,"250":206,"85":12544,"24":1,"16":1893560886493184,"45":9191495020168103936},"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-10-05 09:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540230656001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:35:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:35:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191495020168103936,"description":"Unknown IO ID 45"} 
[2026-10-05 09:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540230656001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191495020168103936}} 
[2026-10-05 09:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":207394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:35:11] local.INFO: GPS data processed {"connection_id":207394,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:35:11] local.INFO: Acknowledgment sent {"connection_id":207394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:35:29] local.INFO: TCP Data received {"connection_id":207393,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3c89b0012d0d3bc00704b930001f00b125..."} 
[2026-10-05 09:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3c89b0012d0d3bc00704b930001f00b125..."} 
[2026-10-05 09:35:29] local.INFO: Processing buffer {"connection_id":207393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3c89b0012d0d3bc00704b930001f00b125..."} 
[2026-10-05 09:35:29] local.INFO: Packet analysis {"connection_id":207393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:35:29] local.INFO: Extracted packet for processing {"connection_id":207393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:35:29] local.INFO: GPS Element Parsed {"raw_longitude":755841984,"raw_latitude":117750064,"longitude_deg":75.5841984,"latitude_deg":11.7750064,"altitude":31,"angle":177,"satellites":37,"speed":10,"hex_longitude":"2d0d3bc0","hex_latitude":"0704b930","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540313600001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34765376554270720,"note":"Value kept but may cause issues"} 
[2026-10-05 09:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953496513751482368,"note":"Value kept but may cause issues"} 
[2026-10-05 09:35:29] 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-10-05 09:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1791173102000,"timestamp_ms":1791173102000,"timestamp_seconds":1791173102,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3c89b0"} 
[2026-10-05 09:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09: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-10-05 09: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":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-10-05 09:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09: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-10-05 09:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":207393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":207393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":207393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540313600001,"66":14515,"17":206,"94":11008,"24":10,"16":34765376554270720,"45":953496513751482368},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-05 09:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540313600001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:35:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 09:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34765376554270720,"km_value":34765376554270.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":953496513751482368,"description":"Unknown IO ID 45"} 
[2026-10-05 09:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540313600001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":953496513751482368}} 
[2026-10-05 09:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":207393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966483,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:35:29] local.INFO: GPS data processed {"connection_id":207393,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:35:29] local.INFO: Acknowledgment sent {"connection_id":207393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:35:40] local.INFO: TCP Data received {"connection_id":207395,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3c1c50012d7d318005ec86d80008000424..."} 
[2026-10-05 09:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3c1c50012d7d318005ec86d80008000424..."} 
[2026-10-05 09:35:40] local.INFO: Processing buffer {"connection_id":207395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3c1c50012d7d318005ec86d80008000424..."} 
[2026-10-05 09:35:40] local.INFO: Packet analysis {"connection_id":207395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:35:40] local.INFO: Extracted packet for processing {"connection_id":207395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:35:40] local.INFO: GPS Element Parsed {"raw_longitude":763179392,"raw_latitude":99387096,"longitude_deg":76.3179392,"latitude_deg":9.9387096,"altitude":8,"angle":4,"satellites":36,"speed":7,"hex_longitude":"2d7d3180","hex_latitude":"05ec86d8","is_valid_coordinates":true} 
[2026-10-05 09:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540306432001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139430684425977856,"note":"Value kept but may cause issues"} 
[2026-10-05 09:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021132291531186176,"note":"Value kept but may cause issues"} 
[2026-10-05 09:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791173074000,"timestamp_ms":1791173074000,"timestamp_seconds":1791173074,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3c1c50"} 
[2026-10-05 09:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-05 09:35:40] 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-10-05 09:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":207395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":207395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":207395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540306432001,"66":13472,"110":206,"87":13824,"24":7,"16":139430684425977856,"45":9021132291531186176},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-05 09:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540306432001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:35:40] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-05 09:35:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139430684425977856,"km_value":139430684425977.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021132291531186176,"description":"Unknown IO ID 45"} 
[2026-10-05 09:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540306432001,"power":13472,"unknown_110":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9021132291531186176}} 
[2026-10-05 09:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":207395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966484,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:35:40] local.INFO: GPS data processed {"connection_id":207395,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:35:40] local.INFO: Acknowledgment sent {"connection_id":207395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:35:55] local.INFO: TCP Data received {"connection_id":207396,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:35:55] local.INFO: Processing buffer {"connection_id":207396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:35:55] local.INFO: IMEI packet received {"connection_id":207396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":207396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:35:58] local.INFO: TCP Data received {"connection_id":204297,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:35:58] local.INFO: Processing buffer {"connection_id":204297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:35:58] local.INFO: IMEI packet received {"connection_id":204297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":204297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:35:59] local.INFO: TCP Data received {"connection_id":204297,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:35:59] local.INFO: Processing buffer {"connection_id":204297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:35:59] local.INFO: IMEI packet received {"connection_id":204297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":204297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:36:00] local.INFO: TCP Data received {"connection_id":207393,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3c9950012d0d3b400704b3c0001e00bd24..."} 
[2026-10-05 09:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3c9950012d0d3b400704b3c0001e00bd24..."} 
[2026-10-05 09:36:00] local.INFO: Processing buffer {"connection_id":207393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3c9950012d0d3b400704b3c0001e00bd24..."} 
[2026-10-05 09:36:00] local.INFO: Packet analysis {"connection_id":207393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:36:00] local.INFO: Extracted packet for processing {"connection_id":207393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:36:00] local.INFO: GPS Element Parsed {"raw_longitude":755841856,"raw_latitude":117748672,"longitude_deg":75.5841856,"latitude_deg":11.7748672,"altitude":30,"angle":189,"satellites":36,"speed":16,"hex_longitude":"2d0d3b40","hex_latitude":"0704b3c0","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540314112001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34765445273747456,"note":"Value kept but may cause issues"} 
[2026-10-05 09:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953566882495541248,"note":"Value kept but may cause issues"} 
[2026-10-05 09:36:00] 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-10-05 09:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791173106000,"timestamp_ms":1791173106000,"timestamp_seconds":1791173106,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3c9950"} 
[2026-10-05 09:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-05 09:36: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-10-05 09: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-10-05 09:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540314112001,"66":14428,"17":206,"94":11008,"24":16,"16":34765445273747456,"45":953566882495541248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-05 09:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540314112001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:36:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 09:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34765445273747456,"km_value":34765445273747.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":953566882495541248,"description":"Unknown IO ID 45"} 
[2026-10-05 09:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540314112001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":953566882495541248}} 
[2026-10-05 09:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":207393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966485,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:36:00] local.INFO: GPS data processed {"connection_id":207393,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:36:00] local.INFO: Acknowledgment sent {"connection_id":207393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:36:00] local.INFO: TCP Data received {"connection_id":207396,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:36:00] local.INFO: Processing buffer {"connection_id":207396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:36:00] local.INFO: IMEI packet received {"connection_id":207396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":207396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:36:05] local.INFO: TCP Data received {"connection_id":204297,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:36:05] local.INFO: Processing buffer {"connection_id":204297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:36:05] local.INFO: IMEI packet received {"connection_id":204297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":204297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:36:05] local.INFO: TCP Data received {"connection_id":204297,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3c6a70012d7d318005ec90a8000800092a..."} 
[2026-10-05 09:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3c6a70012d7d318005ec90a8000800092a..."} 
[2026-10-05 09:36:05] local.INFO: Processing buffer {"connection_id":204297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3c6a70012d7d318005ec90a8000800092a..."} 
[2026-10-05 09:36:05] local.INFO: Packet analysis {"connection_id":204297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:36:05] local.INFO: Extracted packet for processing {"connection_id":204297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:36:05] local.INFO: GPS Element Parsed {"raw_longitude":763179392,"raw_latitude":99389608,"longitude_deg":76.3179392,"latitude_deg":9.9389608,"altitude":8,"angle":9,"satellites":42,"speed":9,"hex_longitude":"2d7d3180","hex_latitude":"05ec90a8","is_valid_coordinates":true} 
[2026-10-05 09:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540306944001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139430808980029440,"note":"Value kept but may cause issues"} 
[2026-10-05 09:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021132291531266048,"note":"Value kept but may cause issues"} 
[2026-10-05 09:36:05] 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-10-05 09:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791173094000,"timestamp_ms":1791173094000,"timestamp_seconds":1791173094,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3c6a70"} 
[2026-10-05 09:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:36: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-10-05 09:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-10-05 09:36: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-10-05 09:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540306944001,"66":13830,"110":206,"87":13824,"24":9,"16":139430808980029440,"45":9021132291531266048},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-05 09:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540306944001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:36:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-05 09:36:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139430808980029440,"km_value":139430808980029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021132291531266048,"description":"Unknown IO ID 45"} 
[2026-10-05 09:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540306944001,"power":13830,"unknown_110":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9021132291531266048}} 
[2026-10-05 09:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":204297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966486,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:36:05] local.INFO: GPS data processed {"connection_id":204297,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:36:05] local.INFO: Acknowledgment sent {"connection_id":204297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:36:15] local.INFO: TCP Data received {"connection_id":207396,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3c2bf0012d7f908005afe470000000db23..."} 
[2026-10-05 09:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3c2bf0012d7f908005afe470000000db23..."} 
[2026-10-05 09:36:15] local.INFO: Processing buffer {"connection_id":207396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3c2bf0012d7f908005afe470000000db23..."} 
[2026-10-05 09:36:15] local.INFO: Packet analysis {"connection_id":207396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:36:15] local.INFO: Extracted packet for processing {"connection_id":207396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:36:15] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":35,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540231936001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191565388912291840,"note":"Value kept but may cause issues"} 
[2026-10-05 09:36: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-10-05 09:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791173078000,"timestamp_ms":1791173078000,"timestamp_seconds":1791173078,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3c2bf0"} 
[2026-10-05 09:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:36: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-10-05 09: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 09:36:15] 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-10-05 09: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-10-05 09:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540231936001,"66":25625,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191565388912291840},"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-10-05 09:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540231936001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:36:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:36:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191565388912291840,"description":"Unknown IO ID 45"} 
[2026-10-05 09:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540231936001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191565388912291840}} 
[2026-10-05 09:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":207396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:36:15] local.INFO: GPS data processed {"connection_id":207396,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:36:15] local.INFO: Acknowledgment sent {"connection_id":207396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:36:31] local.INFO: TCP Data received {"connection_id":207393,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3ce770012d0d3a0007049ad0001c00b224..."} 
[2026-10-05 09:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3ce770012d0d3a0007049ad0001c00b224..."} 
[2026-10-05 09:36:31] local.INFO: Processing buffer {"connection_id":207393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3ce770012d0d3a0007049ad0001c00b224..."} 
[2026-10-05 09:36:31] local.INFO: Packet analysis {"connection_id":207393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:36:31] local.INFO: Extracted packet for processing {"connection_id":207393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:36:31] local.INFO: GPS Element Parsed {"raw_longitude":755841536,"raw_latitude":117742288,"longitude_deg":75.5841536,"latitude_deg":11.7742288,"altitude":28,"angle":178,"satellites":36,"speed":8,"hex_longitude":"2d0d3a00","hex_latitude":"07049ad0","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540315136001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34765758806360064,"note":"Value kept but may cause issues"} 
[2026-10-05 09:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953426145006829568,"note":"Value kept but may cause issues"} 
[2026-10-05 09:36:31] 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-10-05 09:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791173126000,"timestamp_ms":1791173126000,"timestamp_seconds":1791173126,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3ce770"} 
[2026-10-05 09:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:36:31] 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-10-05 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 09:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09: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-10-05 09:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540315136001,"66":14515,"17":206,"94":11008,"24":8,"16":34765758806360064,"45":953426145006829568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-05 09:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540315136001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:36:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 09:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34765758806360064,"km_value":34765758806360.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":953426145006829568,"description":"Unknown IO ID 45"} 
[2026-10-05 09:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540315136001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":953426145006829568}} 
[2026-10-05 09:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":207393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966488,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:36:31] local.INFO: GPS data processed {"connection_id":207393,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:36:31] local.INFO: Acknowledgment sent {"connection_id":207393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:36:37] local.INFO: TCP Data received {"connection_id":204297,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3c6e58012d7d318005ec91a0000801662a..."} 
[2026-10-05 09:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3c6e58012d7d318005ec91a0000801662a..."} 
[2026-10-05 09:36:37] local.INFO: Processing buffer {"connection_id":204297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3c6e58012d7d318005ec91a0000801662a..."} 
[2026-10-05 09:36:37] local.INFO: Packet analysis {"connection_id":204297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:36:37] local.INFO: Extracted packet for processing {"connection_id":204297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:36:37] local.INFO: GPS Element Parsed {"raw_longitude":763179392,"raw_latitude":99389856,"longitude_deg":76.3179392,"latitude_deg":9.9389856,"altitude":8,"angle":358,"satellites":42,"speed":10,"hex_longitude":"2d7d3180","hex_latitude":"05ec91a0","is_valid_coordinates":true} 
[2026-10-05 09:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540312064001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139430817569964032,"note":"Value kept but may cause issues"} 
[2026-10-05 09:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021132291531909120,"note":"Value kept but may cause issues"} 
[2026-10-05 09:36:37] 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-10-05 09:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791173095000,"timestamp_ms":1791173095000,"timestamp_seconds":1791173095,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3c6e58"} 
[2026-10-05 09:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:36: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-10-05 09:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 09:36:37] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2533283396124672,"note":"Value kept but may cause issues"} 
[2026-10-05 09:36:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626603197696,"note":"Value kept but may cause issues"} 
[2026-10-05 09:36:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-10-05 09:36:37] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3221278025,"note":"Value kept but may cause issues"} 
[2026-10-05 09:36:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3964004352,"note":"Value kept but may cause issues"} 
[2026-10-05 09:36:37] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2882635252180714988,"note":"Value kept but may cause issues"} 
[2026-10-05 09:36:37] local.WARNING: Large IO value detected {"io_id":69,"raw_value":2882311458386477062,"note":"Value kept but may cause issues"} 
[2026-10-05 09:36:37] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,110,87,24,241,157,16,91,161,28,45,128,134,8,36,10,66,20,133,9,35,64,1,240,227,236,4,113,205,194,48,224,41,239,52,2,5,7,124,69],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-10-05 09:36:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576470828297289728,"timestamp_seconds":576470828297289.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 09:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540312064001,"66":13830,"110":206,"87":13824,"24":10,"16":139430817569964032,"45":9021132291531909120},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-05 09:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540312064001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:36:37] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-05 09:36:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139430817569964032,"km_value":139430817569964.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021132291531909120,"description":"Unknown IO ID 45"} 
[2026-10-05 09:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540312064001,"power":13830,"unknown_110":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9021132291531909120}} 
[2026-10-05 09:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":204297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966489,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:36:37] local.INFO: GPS data processed {"connection_id":204297,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:36:37] local.INFO: Acknowledgment sent {"connection_id":204297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:36:55] local.INFO: TCP Data received {"connection_id":205843,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:36:55] local.INFO: Processing buffer {"connection_id":205843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:36:55] local.INFO: IMEI packet received {"connection_id":205843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":205843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:37:00] local.INFO: TCP Data received {"connection_id":205843,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:37:00] local.INFO: Processing buffer {"connection_id":205843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:37:00] local.INFO: IMEI packet received {"connection_id":205843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":205843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:37:02] local.INFO: TCP Data received {"connection_id":205843,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3c2bf0012d7f908005afe470000000db23..."} 
[2026-10-05 09:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3c2bf0012d7f908005afe470000000db23..."} 
[2026-10-05 09:37:02] local.INFO: Processing buffer {"connection_id":205843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3c2bf0012d7f908005afe470000000db23..."} 
[2026-10-05 09:37:02] local.INFO: Packet analysis {"connection_id":205843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:37:02] local.INFO: Extracted packet for processing {"connection_id":205843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:37:02] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":35,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540231936001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191565388912291840,"note":"Value kept but may cause issues"} 
[2026-10-05 09:37: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-10-05 09:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791173078000,"timestamp_ms":1791173078000,"timestamp_seconds":1791173078,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3c2bf0"} 
[2026-10-05 09:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:37: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-10-05 09: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 09:37:02] 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-10-05 09:37: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-10-05 09:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:37: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-10-05 09:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540231936001,"66":25625,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191565388912291840},"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-10-05 09:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540231936001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:37:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:37:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191565388912291840,"description":"Unknown IO ID 45"} 
[2026-10-05 09:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540231936001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191565388912291840}} 
[2026-10-05 09:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":205843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:37:02] local.INFO: GPS data processed {"connection_id":205843,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:37:02] local.INFO: Acknowledgment sent {"connection_id":205843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:37:02] local.INFO: TCP Data received {"connection_id":207393,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3d1e20012d0d390007048568001a00be24..."} 
[2026-10-05 09:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3d1e20012d0d390007048568001a00be24..."} 
[2026-10-05 09:37:02] local.INFO: Processing buffer {"connection_id":207393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3d1e20012d0d390007048568001a00be24..."} 
[2026-10-05 09:37:02] local.INFO: Packet analysis {"connection_id":207393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3d"} 
[2026-10-05 09:37:02] local.INFO: Extracted packet for processing {"connection_id":207393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3d"} 
[2026-10-05 09:37:02] local.INFO: GPS Element Parsed {"raw_longitude":755841280,"raw_latitude":117736808,"longitude_deg":75.584128,"latitude_deg":11.7736808,"altitude":26,"angle":190,"satellites":36,"speed":10,"hex_longitude":"2d0d3900","hex_latitude":"07048568","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540320256001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34766025094332416,"note":"Value kept but may cause issues"} 
[2026-10-05 09:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953074301284306944,"note":"Value kept but may cause issues"} 
[2026-10-05 09:37:02] 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-10-05 09:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791173140000,"timestamp_ms":1791173140000,"timestamp_seconds":1791173140,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3d1e20"} 
[2026-10-05 09:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:37: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-10-05 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-05 09:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09:37: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-10-05 09:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540320256001,"66":14548,"17":206,"94":11008,"24":10,"16":34766025094332416,"45":953074301284306944},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-05 09:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540320256001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:37:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 09:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34766025094332416,"km_value":34766025094332.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":953074301284306944,"description":"Unknown IO ID 45"} 
[2026-10-05 09:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540320256001,"power":14548,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":953074301284306944}} 
[2026-10-05 09:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":207393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966491,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:37:02] local.INFO: GPS data processed {"connection_id":207393,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:37:02] local.INFO: Acknowledgment sent {"connection_id":207393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:37:09] local.INFO: TCP Data received {"connection_id":207398,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:37:09] local.INFO: Processing buffer {"connection_id":207398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:37:09] local.INFO: IMEI packet received {"connection_id":207398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":207398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:37:09] local.INFO: TCP Data received {"connection_id":207398,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:37:09] local.INFO: Processing buffer {"connection_id":207398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:37:09] local.INFO: IMEI packet received {"connection_id":207398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":207398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:37:15] local.INFO: TCP Data received {"connection_id":207398,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:37:15] local.INFO: Processing buffer {"connection_id":207398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:37:15] local.INFO: IMEI packet received {"connection_id":207398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":207398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:37:15] local.INFO: TCP Data received {"connection_id":207398,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3df4f8012d7d3d8005ee19280009000328..."} 
[2026-10-05 09:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3df4f8012d7d3d8005ee19280009000328..."} 
[2026-10-05 09:37:15] local.INFO: Processing buffer {"connection_id":207398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3df4f8012d7d3d8005ee19280009000328..."} 
[2026-10-05 09:37:15] local.INFO: Packet analysis {"connection_id":207398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3d"} 
[2026-10-05 09:37:15] local.INFO: Extracted packet for processing {"connection_id":207398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3d"} 
[2026-10-05 09:37:15] local.INFO: GPS Element Parsed {"raw_longitude":763182464,"raw_latitude":99490088,"longitude_deg":76.3182464,"latitude_deg":9.9490088,"altitude":9,"angle":3,"satellites":40,"speed":43,"hex_longitude":"2d7d3d80","hex_latitude":"05ee1928","is_valid_coordinates":true} 
[2026-10-05 09:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540335616001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139435683767910400,"note":"Value kept but may cause issues"} 
[2026-10-05 09:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024087778810669056,"note":"Value kept but may cause issues"} 
[2026-10-05 09:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791173195000,"timestamp_ms":1791173195000,"timestamp_seconds":1791173195,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3df4f8"} 
[2026-10-05 09:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 09:37:15] 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-10-05 09:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540335616001,"66":13526,"255":206,"87":13824,"24":43,"16":139435683767910400,"45":9024087778810669056},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-10-05 09:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540335616001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:37:15] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-10-05 09:37:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139435683767910400,"km_value":139435683767910.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024087778810669056,"description":"Unknown IO ID 45"} 
[2026-10-05 09:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540335616001,"power":13526,"unknown_255":206,"unknown_87":13824,"ignition":43,"odometer":null,"unknown_45":9024087778810669056}} 
[2026-10-05 09:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":207398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:37:15] local.INFO: GPS data processed {"connection_id":207398,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:37:15] local.INFO: Acknowledgment sent {"connection_id":207398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:37:33] local.INFO: TCP Data received {"connection_id":207393,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3d25f0012d0d3880070483a8001900c924..."} 
[2026-10-05 09:37:33] local.INFO: TCP Data received {"connection_id":205843,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3c2bf0012d7f908005afe470000000db23..."} 
[2026-10-05 09:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3d25f0012d0d3880070483a8001900c924..."} 
[2026-10-05 09:37:33] local.INFO: Processing buffer {"connection_id":207393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3d25f0012d0d3880070483a8001900c924..."} 
[2026-10-05 09:37:33] local.INFO: Packet analysis {"connection_id":207393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3d"} 
[2026-10-05 09:37:33] local.INFO: Extracted packet for processing {"connection_id":207393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3d"} 
[2026-10-05 09:37:33] local.INFO: GPS Element Parsed {"raw_longitude":755841152,"raw_latitude":117736360,"longitude_deg":75.5841152,"latitude_deg":11.773636,"altitude":25,"angle":201,"satellites":36,"speed":8,"hex_longitude":"2d0d3880","hex_latitude":"070483a8","is_valid_coordinates":true} 
[2026-10-05 09:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540323840001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34766046569168896,"note":"Value kept but may cause issues"} 
[2026-10-05 09:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952792826306193408,"note":"Value kept but may cause issues"} 
[2026-10-05 09:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791173142000,"timestamp_ms":1791173142000,"timestamp_seconds":1791173142,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3d25f0"} 
[2026-10-05 09:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:37: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-10-05 09:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-10-05 09:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3c2bf0012d7f908005afe470000000db23..."} 
[2026-10-05 09:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:37:33] local.INFO: Processing buffer {"connection_id":205843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3c2bf0012d7f908005afe470000000db23..."} 
[2026-10-05 09:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:37:33] local.INFO: Packet analysis {"connection_id":205843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:37:33] local.INFO: Extracted packet for processing {"connection_id":205843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:37:33] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":35,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540231936001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191565388912291840,"note":"Value kept but may cause issues"} 
[2026-10-05 09:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:37: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-10-05 09:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791173078000,"timestamp_ms":1791173078000,"timestamp_seconds":1791173078,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3c2bf0"} 
[2026-10-05 09:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:37:33] 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-10-05 09:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 09:37:33] 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-10-05 09:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540323840001,"66":14298,"17":206,"94":11008,"24":8,"16":34766046569168896,"45":952792826306193408},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-05 09:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540231936001,"66":25625,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191565388912291840},"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-10-05 09:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540323840001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:37:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 09:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34766046569168896,"km_value":34766046569168.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":952792826306193408,"description":"Unknown IO ID 45"} 
[2026-10-05 09:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540323840001,"power":14298,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":952792826306193408}} 
[2026-10-05 09:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540231936001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:37:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:37:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191565388912291840,"description":"Unknown IO ID 45"} 
[2026-10-05 09:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540231936001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191565388912291840}} 
[2026-10-05 09:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":205843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:37:33] local.INFO: GPS data processed {"connection_id":205843,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:37:33] local.INFO: Acknowledgment sent {"connection_id":205843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":207393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966494,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:37:33] local.INFO: GPS data processed {"connection_id":207393,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:37:33] local.INFO: Acknowledgment sent {"connection_id":207393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:37:48] local.INFO: TCP Data received {"connection_id":204298,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204298,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:37:48] local.INFO: Processing buffer {"connection_id":204298,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:37:48] local.INFO: IMEI packet received {"connection_id":204298,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 09:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":204298,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:37:58] local.INFO: TCP Data received {"connection_id":204428,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:37:58] local.INFO: Processing buffer {"connection_id":204428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:37:58] local.INFO: IMEI packet received {"connection_id":204428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":204428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:37:59] local.INFO: TCP Data received {"connection_id":204428,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:37:59] local.INFO: Processing buffer {"connection_id":204428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:37:59] local.INFO: IMEI packet received {"connection_id":204428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":204428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:38:00] local.INFO: TCP Data received {"connection_id":204427,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:38:00] local.INFO: Processing buffer {"connection_id":204427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:38:00] local.INFO: IMEI packet received {"connection_id":204427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":204427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:38:05] local.INFO: TCP Data received {"connection_id":204428,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:38:05] local.INFO: Processing buffer {"connection_id":204428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:38:05] local.INFO: IMEI packet received {"connection_id":204428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":204428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:38:05] local.INFO: TCP Data received {"connection_id":207393,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3f0280012d0d2740070439880015016225..."} 
[2026-10-05 09:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3f0280012d0d2740070439880015016225..."} 
[2026-10-05 09:38:05] local.INFO: Processing buffer {"connection_id":207393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3f0280012d0d2740070439880015016225..."} 
[2026-10-05 09:38:05] local.INFO: Packet analysis {"connection_id":207393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3f"} 
[2026-10-05 09:38:05] local.INFO: Extracted packet for processing {"connection_id":207393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3f"} 
[2026-10-05 09:38:05] local.INFO: GPS Element Parsed {"raw_longitude":755836736,"raw_latitude":117717384,"longitude_deg":75.5836736,"latitude_deg":11.7717384,"altitude":21,"angle":354,"satellites":37,"speed":5,"hex_longitude":"2d0d2740","hex_latitude":"07043988","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540354816001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34767107426091008,"note":"Value kept but may cause issues"} 
[2026-10-05 09:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947867014208690176,"note":"Value kept but may cause issues"} 
[2026-10-05 09:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791173264000,"timestamp_ms":1791173264000,"timestamp_seconds":1791173264,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3f0280"} 
[2026-10-05 09:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:38: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-10-05 09: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-10-05 09:38:05] 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-10-05 09: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-10-05 09:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540354816001,"66":13754,"17":206,"94":11008,"24":5,"16":34767107426091008,"45":947867014208690176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-05 09:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540354816001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:38:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 09:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34767107426091008,"km_value":34767107426091.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":947867014208690176,"description":"Unknown IO ID 45"} 
[2026-10-05 09:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540354816001,"power":13754,"axis_x":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":947867014208690176}} 
[2026-10-05 09:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":207393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966495,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:38:05] local.INFO: GPS data processed {"connection_id":207393,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:38:05] local.INFO: Acknowledgment sent {"connection_id":207393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:38:05] local.INFO: TCP Data received {"connection_id":204427,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:38:05] local.INFO: Processing buffer {"connection_id":204427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:38:05] local.INFO: IMEI packet received {"connection_id":204427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":204427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:38:06] local.INFO: TCP Data received {"connection_id":204428,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3e1820012d7d3ec005ee3c10000a000029..."} 
[2026-10-05 09:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3e1820012d7d3ec005ee3c10000a000029..."} 
[2026-10-05 09:38:06] local.INFO: Processing buffer {"connection_id":204428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3e1820012d7d3ec005ee3c10000a000029..."} 
[2026-10-05 09:38:06] local.INFO: Packet analysis {"connection_id":204428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3e"} 
[2026-10-05 09:38:06] local.INFO: Extracted packet for processing {"connection_id":204428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3e"} 
[2026-10-05 09:38:06] local.INFO: GPS Element Parsed {"raw_longitude":763182784,"raw_latitude":99499024,"longitude_deg":76.3182784,"latitude_deg":9.9499024,"altitude":10,"angle":0,"satellites":41,"speed":43,"hex_longitude":"2d7d3ec0","hex_latitude":"05ee3c10","is_valid_coordinates":true} 
[2026-10-05 09:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540337920001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139436117559607296,"note":"Value kept but may cause issues"} 
[2026-10-05 09:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024509991278159872,"note":"Value kept but may cause issues"} 
[2026-10-05 09:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791173204000,"timestamp_ms":1791173204000,"timestamp_seconds":1791173204,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3e1820"} 
[2026-10-05 09:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-05 09:38:06] 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-10-05 09:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540337920001,"66":13689,"255":206,"87":13824,"24":43,"16":139436117559607296,"45":9024509991278159872},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-10-05 09:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540337920001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:38:06] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-10-05 09:38:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139436117559607296,"km_value":139436117559607.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024509991278159872,"description":"Unknown IO ID 45"} 
[2026-10-05 09:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540337920001,"power":13689,"unknown_255":206,"unknown_87":13824,"ignition":43,"odometer":null,"unknown_45":9024509991278159872}} 
[2026-10-05 09:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":204428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966496,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:38:06] local.INFO: GPS data processed {"connection_id":204428,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:38:06] local.INFO: Acknowledgment sent {"connection_id":204428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:38:08] local.INFO: TCP Data received {"connection_id":204427,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3c2bf0012d7f908005afe470000000db23..."} 
[2026-10-05 09:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3c2bf0012d7f908005afe470000000db23..."} 
[2026-10-05 09:38:08] local.INFO: Processing buffer {"connection_id":204427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3c2bf0012d7f908005afe470000000db23..."} 
[2026-10-05 09:38:08] local.INFO: Packet analysis {"connection_id":204427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:38:08] local.INFO: Extracted packet for processing {"connection_id":204427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:38:08] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":35,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540231936001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191565388912291840,"note":"Value kept but may cause issues"} 
[2026-10-05 09:38: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-10-05 09:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791173078000,"timestamp_ms":1791173078000,"timestamp_seconds":1791173078,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3c2bf0"} 
[2026-10-05 09:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:38:08] 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-10-05 09: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 09:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09: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-10-05 09:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540231936001,"66":25625,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191565388912291840},"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-10-05 09:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540231936001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:38:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:38:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191565388912291840,"description":"Unknown IO ID 45"} 
[2026-10-05 09:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540231936001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191565388912291840}} 
[2026-10-05 09:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":204427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:38:08] local.INFO: GPS data processed {"connection_id":204427,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:38:08] local.INFO: Acknowledgment sent {"connection_id":204427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:38:36] local.INFO: TCP Data received {"connection_id":207393,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3f0668012d0d274007043a280015000725..."} 
[2026-10-05 09:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3f0668012d0d274007043a280015000725..."} 
[2026-10-05 09:38:36] local.INFO: Processing buffer {"connection_id":207393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3f0668012d0d274007043a280015000725..."} 
[2026-10-05 09:38:36] local.INFO: Packet analysis {"connection_id":207393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3f"} 
[2026-10-05 09:38:36] local.INFO: Extracted packet for processing {"connection_id":207393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3f"} 
[2026-10-05 09:38:36] local.INFO: GPS Element Parsed {"raw_longitude":755836736,"raw_latitude":117717544,"longitude_deg":75.5836736,"latitude_deg":11.7717544,"altitude":21,"angle":7,"satellites":37,"speed":7,"hex_longitude":"2d0d2740","hex_latitude":"07043a28","is_valid_coordinates":true} 
[2026-10-05 09:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540355584001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34767116016025600,"note":"Value kept but may cause issues"} 
[2026-10-05 09:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947796645464606720,"note":"Value kept but may cause issues"} 
[2026-10-05 09:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791173265000,"timestamp_ms":1791173265000,"timestamp_seconds":1791173265,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3f0668"} 
[2026-10-05 09:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:38: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-10-05 09:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-10-05 09:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540355584001,"66":14515,"17":206,"94":11008,"24":7,"16":34767116016025600,"45":947796645464606720},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-05 09:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540355584001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:38:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 09:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34767116016025600,"km_value":34767116016025.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":947796645464606720,"description":"Unknown IO ID 45"} 
[2026-10-05 09:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540355584001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":947796645464606720}} 
[2026-10-05 09:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":207393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966498,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:38:36] local.INFO: GPS data processed {"connection_id":207393,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:38:36] local.INFO: Acknowledgment sent {"connection_id":207393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:38:37] local.INFO: TCP Data received {"connection_id":204428,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3e3760012d7d3f0005ee63c8000c00002a..."} 
[2026-10-05 09:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3e3760012d7d3f0005ee63c8000c00002a..."} 
[2026-10-05 09:38:37] local.INFO: Processing buffer {"connection_id":204428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3e3760012d7d3f0005ee63c8000c00002a..."} 
[2026-10-05 09:38:37] local.INFO: Packet analysis {"connection_id":204428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3e"} 
[2026-10-05 09:38:37] local.INFO: Extracted packet for processing {"connection_id":204428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3e"} 
[2026-10-05 09:38:37] local.INFO: GPS Element Parsed {"raw_longitude":763182848,"raw_latitude":99509192,"longitude_deg":76.3182848,"latitude_deg":9.9509192,"altitude":12,"angle":0,"satellites":42,"speed":56,"hex_longitude":"2d7d3f00","hex_latitude":"05ee63c8","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540340224001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139436611480846336,"note":"Value kept but may cause issues"} 
[2026-10-05 09:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024861835001335808,"note":"Value kept but may cause issues"} 
[2026-10-05 09:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791173212000,"timestamp_ms":1791173212000,"timestamp_seconds":1791173212,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3e3760"} 
[2026-10-05 09:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:38: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-10-05 09: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-10-05 09:38:37] 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-10-05 09: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-10-05 09:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540340224001,"66":13928,"255":206,"87":13824,"24":56,"16":139436611480846336,"45":9024861835001335808},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-10-05 09:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540340224001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:38:37] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-10-05 09:38:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139436611480846336,"km_value":139436611480846.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024861835001335808,"description":"Unknown IO ID 45"} 
[2026-10-05 09:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540340224001,"power":13928,"unknown_255":206,"unknown_87":13824,"ignition":56,"odometer":null,"unknown_45":9024861835001335808}} 
[2026-10-05 09:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":204428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966499,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:38:37] local.INFO: GPS data processed {"connection_id":204428,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:38:37] local.INFO: Acknowledgment sent {"connection_id":204428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:38:39] local.INFO: TCP Data received {"connection_id":204427,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3c2bf0012d7f908005afe470000000db23..."} 
[2026-10-05 09:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3c2bf0012d7f908005afe470000000db23..."} 
[2026-10-05 09:38:39] local.INFO: Processing buffer {"connection_id":204427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3c2bf0012d7f908005afe470000000db23..."} 
[2026-10-05 09:38:39] local.INFO: Packet analysis {"connection_id":204427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:38:39] local.INFO: Extracted packet for processing {"connection_id":204427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:38:39] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":35,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09:38: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-10-05 09:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540231936001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191565388912291840,"note":"Value kept but may cause issues"} 
[2026-10-05 09:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791173078000,"timestamp_ms":1791173078000,"timestamp_seconds":1791173078,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3c2bf0"} 
[2026-10-05 09:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:38:39] 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-10-05 09:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 09:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09:38: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-10-05 09:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":204427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":204427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":204427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540231936001,"66":25625,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191565388912291840},"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-10-05 09:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540231936001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:38:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:38:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191565388912291840,"description":"Unknown IO ID 45"} 
[2026-10-05 09:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540231936001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191565388912291840}} 
[2026-10-05 09:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":204427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:38:39] local.INFO: GPS data processed {"connection_id":204427,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:38:39] local.INFO: Acknowledgment sent {"connection_id":204427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:38:55] local.INFO: TCP Data received {"connection_id":205844,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:38:55] local.INFO: Processing buffer {"connection_id":205844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:38:55] local.INFO: IMEI packet received {"connection_id":205844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":205844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:38:59] local.INFO: TCP Data received {"connection_id":207399,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:38:59] local.INFO: Processing buffer {"connection_id":207399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:38:59] local.INFO: IMEI packet received {"connection_id":207399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":207399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:39:00] local.INFO: TCP Data received {"connection_id":205844,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:39:00] local.INFO: Processing buffer {"connection_id":205844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:39:00] local.INFO: IMEI packet received {"connection_id":205844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":205844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:39:01] local.INFO: TCP Data received {"connection_id":205844,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3c2bf0012d7f908005afe470000000db23..."} 
[2026-10-05 09:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3c2bf0012d7f908005afe470000000db23..."} 
[2026-10-05 09:39:01] local.INFO: Processing buffer {"connection_id":205844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3c2bf0012d7f908005afe470000000db23..."} 
[2026-10-05 09:39:01] local.INFO: Packet analysis {"connection_id":205844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:39:01] local.INFO: Extracted packet for processing {"connection_id":205844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:39:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":35,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540231936001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191565388912291840,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791173078000,"timestamp_ms":1791173078000,"timestamp_seconds":1791173078,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3c2bf0"} 
[2026-10-05 09:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:39: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-10-05 09: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":194,"data_length":795,"current_offset":136} 
[2026-10-05 09:39: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-10-05 09: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-10-05 09:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:39: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-10-05 09:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540231936001,"66":25625,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191565388912291840},"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-10-05 09:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540231936001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:39:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:39:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191565388912291840,"description":"Unknown IO ID 45"} 
[2026-10-05 09:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540231936001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191565388912291840}} 
[2026-10-05 09:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":205844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:39:01] local.INFO: GPS data processed {"connection_id":205844,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:39:01] local.INFO: Acknowledgment sent {"connection_id":205844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:39:04] local.INFO: TCP Data received {"connection_id":207399,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:39:04] local.INFO: Processing buffer {"connection_id":207399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:39:04] local.INFO: IMEI packet received {"connection_id":207399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":207399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:39:04] local.INFO: TCP Data received {"connection_id":207399,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:39:04] local.INFO: Processing buffer {"connection_id":207399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:39:04] local.INFO: IMEI packet received {"connection_id":207399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":207399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:39:05] local.INFO: TCP Data received {"connection_id":207399,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3e52b8012d7d3fc005ee8890000d00002a..."} 
[2026-10-05 09:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3e52b8012d7d3fc005ee8890000d00002a..."} 
[2026-10-05 09:39:05] local.INFO: Processing buffer {"connection_id":207399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3e52b8012d7d3fc005ee8890000d00002a..."} 
[2026-10-05 09:39:05] local.INFO: Packet analysis {"connection_id":207399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3e"} 
[2026-10-05 09:39:05] local.INFO: Extracted packet for processing {"connection_id":207399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3e"} 
[2026-10-05 09:39:05] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99518608,"longitude_deg":76.318304,"latitude_deg":9.9518608,"altitude":13,"angle":0,"satellites":42,"speed":47,"hex_longitude":"2d7d3fc0","hex_latitude":"05ee8890","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540342272001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139437066747379712,"note":"Value kept but may cause issues"} 
[2026-10-05 09:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024932203748116480,"note":"Value kept but may cause issues"} 
[2026-10-05 09:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791173219000,"timestamp_ms":1791173219000,"timestamp_seconds":1791173219,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3e52b8"} 
[2026-10-05 09:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:39: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-10-05 09: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-05 09:39:05] 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-10-05 09: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-10-05 09:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540342272001,"66":13917,"255":206,"87":13824,"24":47,"16":139437066747379712,"45":9024932203748116480},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-10-05 09:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540342272001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:39:05] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-10-05 09:39:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139437066747379712,"km_value":139437066747379.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024932203748116480,"description":"Unknown IO ID 45"} 
[2026-10-05 09:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540342272001,"power":13917,"unknown_255":206,"unknown_87":13824,"ignition":47,"odometer":null,"unknown_45":9024932203748116480}} 
[2026-10-05 09:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":207399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966502,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:39:05] local.INFO: GPS data processed {"connection_id":207399,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:39:05] local.INFO: Acknowledgment sent {"connection_id":207399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:39:10] local.INFO: TCP Data received {"connection_id":207399,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3e71f8012d7d40c005eeae68001000002a..."} 
[2026-10-05 09:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3e71f8012d7d40c005eeae68001000002a..."} 
[2026-10-05 09:39:10] local.INFO: Processing buffer {"connection_id":207399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3e71f8012d7d40c005eeae68001000002a..."} 
[2026-10-05 09:39:10] local.INFO: Packet analysis {"connection_id":207399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3e"} 
[2026-10-05 09:39:10] local.INFO: Extracted packet for processing {"connection_id":207399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3e"} 
[2026-10-05 09:39:10] local.INFO: GPS Element Parsed {"raw_longitude":763183296,"raw_latitude":99528296,"longitude_deg":76.3183296,"latitude_deg":9.9528296,"altitude":16,"angle":0,"satellites":42,"speed":47,"hex_longitude":"2d7d40c0","hex_latitude":"05eeae68","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540344064001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139437539193782272,"note":"Value kept but may cause issues"} 
[2026-10-05 09:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309983059968,"note":"Value kept but may cause issues"} 
[2026-10-05 09:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791173227000,"timestamp_ms":1791173227000,"timestamp_seconds":1791173227,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3e71f8"} 
[2026-10-05 09:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-10-05 09:39:10] 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-10-05 09: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-10-05 09:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540344064001,"66":13243,"255":206,"87":13824,"24":47,"16":139437539193782272,"45":9025143309983059968},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-10-05 09:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540344064001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:39:10] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-10-05 09:39:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 09:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139437539193782272,"km_value":139437539193782.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309983059968,"description":"Unknown IO ID 45"} 
[2026-10-05 09:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540344064001,"power":13243,"unknown_255":206,"unknown_87":13824,"ignition":47,"odometer":null,"unknown_45":9025143309983059968}} 
[2026-10-05 09:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":207399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:39:10] local.INFO: GPS data processed {"connection_id":207399,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:39:10] local.INFO: Acknowledgment sent {"connection_id":207399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:39:11] local.INFO: TCP Data received {"connection_id":205845,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205845,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:39:11] local.INFO: Processing buffer {"connection_id":205845,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:39:11] local.INFO: IMEI packet received {"connection_id":205845,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":205845,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:39:16] local.INFO: TCP Data received {"connection_id":205845,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205845,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:39:16] local.INFO: Processing buffer {"connection_id":205845,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:39:16] local.INFO: IMEI packet received {"connection_id":205845,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":205845,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:39:17] local.INFO: TCP Data received {"connection_id":205845,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3f4100012d0d2b00070449500017001525..."} 
[2026-10-05 09:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3f4100012d0d2b00070449500017001525..."} 
[2026-10-05 09:39:17] local.INFO: Processing buffer {"connection_id":205845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3f4100012d0d2b00070449500017001525..."} 
[2026-10-05 09:39:17] local.INFO: Packet analysis {"connection_id":205845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3f"} 
[2026-10-05 09:39:17] local.INFO: Extracted packet for processing {"connection_id":205845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3f"} 
[2026-10-05 09:39:17] local.INFO: GPS Element Parsed {"raw_longitude":755837696,"raw_latitude":117721424,"longitude_deg":75.5837696,"latitude_deg":11.7721424,"altitude":23,"angle":21,"satellites":37,"speed":7,"hex_longitude":"2d0d2b00","hex_latitude":"07044950","is_valid_coordinates":true} 
[2026-10-05 09:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540355840001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34767313584521216,"note":"Value kept but may cause issues"} 
[2026-10-05 09:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947796645464647680,"note":"Value kept but may cause issues"} 
[2026-10-05 09:39:17] 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-10-05 09:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791173280000,"timestamp_ms":1791173280000,"timestamp_seconds":1791173280,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3f4100"} 
[2026-10-05 09:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:39: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-10-05 09:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-05 09:39:17] 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-10-05 09:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":205845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":205845,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":205845,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540355840001,"66":14309,"17":206,"94":11008,"24":7,"16":34767313584521216,"45":947796645464647680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-05 09:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540355840001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:39:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 09:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34767313584521216,"km_value":34767313584521.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":947796645464647680,"description":"Unknown IO ID 45"} 
[2026-10-05 09:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540355840001,"power":14309,"axis_x":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":947796645464647680}} 
[2026-10-05 09:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":205845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966504,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:39:17] local.INFO: GPS data processed {"connection_id":205845,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:39:17] local.INFO: Acknowledgment sent {"connection_id":205845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:39:32] local.INFO: TCP Data received {"connection_id":205844,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3c2bf0012d7f908005afe470000000db23..."} 
[2026-10-05 09:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3c2bf0012d7f908005afe470000000db23..."} 
[2026-10-05 09:39:32] local.INFO: Processing buffer {"connection_id":205844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3c2bf0012d7f908005afe470000000db23..."} 
[2026-10-05 09:39:32] local.INFO: Packet analysis {"connection_id":205844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:39:32] local.INFO: Extracted packet for processing {"connection_id":205844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:39:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":35,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540231936001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191565388912291840,"note":"Value kept but may cause issues"} 
[2026-10-05 09:39: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-10-05 09:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791173078000,"timestamp_ms":1791173078000,"timestamp_seconds":1791173078,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3c2bf0"} 
[2026-10-05 09:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:39:32] 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-10-05 09:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 09:39:32] 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-10-05 09:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:39: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-10-05 09:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540231936001,"66":25625,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191565388912291840},"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-10-05 09:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540231936001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:39:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:39:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191565388912291840,"description":"Unknown IO ID 45"} 
[2026-10-05 09:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540231936001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191565388912291840}} 
[2026-10-05 09:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":205844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:39:32] local.INFO: GPS data processed {"connection_id":205844,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:39:32] local.INFO: Acknowledgment sent {"connection_id":205844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:39:42] local.INFO: TCP Data received {"connection_id":207399,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4065f8012d7d438005f040d0000901662b..."} 
[2026-10-05 09:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4065f8012d7d438005f040d0000901662b..."} 
[2026-10-05 09:39:42] local.INFO: Processing buffer {"connection_id":207399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4065f8012d7d438005f040d0000901662b..."} 
[2026-10-05 09:39:42] local.INFO: Packet analysis {"connection_id":207399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:39:42] local.INFO: Extracted packet for processing {"connection_id":207399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:39:42] local.INFO: GPS Element Parsed {"raw_longitude":763184000,"raw_latitude":99631312,"longitude_deg":76.3184,"latitude_deg":9.9631312,"altitude":9,"angle":358,"satellites":43,"speed":18,"hex_longitude":"2d7d4380","hex_latitude":"05f040d0","is_valid_coordinates":true} 
[2026-10-05 09:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540375552001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139442538535714816,"note":"Value kept but may cause issues"} 
[2026-10-05 09:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026409947404822528,"note":"Value kept but may cause issues"} 
[2026-10-05 09:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791173355000,"timestamp_ms":1791173355000,"timestamp_seconds":1791173355,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4065f8"} 
[2026-10-05 09:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:39: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-10-05 09:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-05 09:39:42] 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-10-05 09:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540375552001,"66":13798,"108":206,"87":11264,"24":18,"16":139442538535714816,"45":9026409947404822528},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-10-05 09:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540375552001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:39:42] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-10-05 09:39:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-10-05 09:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139442538535714816,"km_value":139442538535714.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026409947404822528,"description":"Unknown IO ID 45"} 
[2026-10-05 09:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540375552001,"power":13798,"unknown_108":206,"unknown_87":11264,"ignition":18,"odometer":null,"unknown_45":9026409947404822528}} 
[2026-10-05 09:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":207399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:39:42] local.INFO: GPS data processed {"connection_id":207399,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:39:42] local.INFO: Acknowledgment sent {"connection_id":207399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:39:48] local.INFO: TCP Data received {"connection_id":205845,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a408920012d0d3a400704bab8001b013e24..."} 
[2026-10-05 09:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a408920012d0d3a400704bab8001b013e24..."} 
[2026-10-05 09:39:48] local.INFO: Processing buffer {"connection_id":205845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a408920012d0d3a400704bab8001b013e24..."} 
[2026-10-05 09:39:48] local.INFO: Packet analysis {"connection_id":205845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:39:48] local.INFO: Extracted packet for processing {"connection_id":205845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:39:48] local.INFO: GPS Element Parsed {"raw_longitude":755841600,"raw_latitude":117750456,"longitude_deg":75.58416,"latitude_deg":11.7750456,"altitude":27,"angle":318,"satellites":36,"speed":6,"hex_longitude":"2d0d3a40","hex_latitude":"0704bab8","is_valid_coordinates":true} 
[2026-10-05 09:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540380928001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34768752398565376,"note":"Value kept but may cause issues"} 
[2026-10-05 09:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953285407518894080,"note":"Value kept but may cause issues"} 
[2026-10-05 09:39: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-10-05 09:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791173364000,"timestamp_ms":1791173364000,"timestamp_seconds":1791173364,"priority":1,"record_length":96,"hex_timestamp":"000001a10a408920"} 
[2026-10-05 09:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-05 09:39: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-10-05 09:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":205845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":205845,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":205845,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540380928001,"66":14374,"17":206,"94":11008,"24":6,"16":34768752398565376,"45":953285407518894080},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-05 09:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540380928001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:39:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 09:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34768752398565376,"km_value":34768752398565.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":953285407518894080,"description":"Unknown IO ID 45"} 
[2026-10-05 09:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540380928001,"power":14374,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":953285407518894080}} 
[2026-10-05 09:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":205845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966507,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:39:48] local.INFO: GPS data processed {"connection_id":205845,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:39:48] local.INFO: Acknowledgment sent {"connection_id":205845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:39:55] local.INFO: TCP Data received {"connection_id":207400,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:39:55] local.INFO: Processing buffer {"connection_id":207400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:39:55] local.INFO: IMEI packet received {"connection_id":207400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":207400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:40:00] local.INFO: TCP Data received {"connection_id":207400,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:40:00] local.INFO: Processing buffer {"connection_id":207400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:40:00] local.INFO: IMEI packet received {"connection_id":207400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":207400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:40:01] local.INFO: TCP Data received {"connection_id":207400,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a3c2bf0012d7f908005afe470000000db23..."} 
[2026-10-05 09:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a3c2bf0012d7f908005afe470000000db23..."} 
[2026-10-05 09:40:01] local.INFO: Processing buffer {"connection_id":207400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a3c2bf0012d7f908005afe470000000db23..."} 
[2026-10-05 09:40:01] local.INFO: Packet analysis {"connection_id":207400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:40:01] local.INFO: Extracted packet for processing {"connection_id":207400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a3c"} 
[2026-10-05 09:40:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":35,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540231936001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191565388912291840,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791173078000,"timestamp_ms":1791173078000,"timestamp_seconds":1791173078,"priority":1,"record_length":96,"hex_timestamp":"000001a10a3c2bf0"} 
[2026-10-05 09:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09: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-10-05 09: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":194,"data_length":795,"current_offset":136} 
[2026-10-05 09:40: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-10-05 09: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-10-05 09:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:40: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-10-05 09:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540231936001,"66":25625,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191565388912291840},"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-10-05 09:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540231936001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:40:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:40:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191565388912291840,"description":"Unknown IO ID 45"} 
[2026-10-05 09:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540231936001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191565388912291840}} 
[2026-10-05 09:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":207400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:40:01] local.INFO: GPS data processed {"connection_id":207400,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:40:01] local.INFO: Acknowledgment sent {"connection_id":207400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:40:01] local.INFO: TCP Data received {"connection_id":207401,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:40:01] local.INFO: Processing buffer {"connection_id":207401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:40:01] local.INFO: IMEI packet received {"connection_id":207401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":207401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:40:05] local.INFO: TCP Data received {"connection_id":207401,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:40:05] local.INFO: Processing buffer {"connection_id":207401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:40:05] local.INFO: IMEI packet received {"connection_id":207401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":207401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:40:09] local.INFO: TCP Data received {"connection_id":207401,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:40:09] local.INFO: Processing buffer {"connection_id":207401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:40:09] local.INFO: IMEI packet received {"connection_id":207401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":207401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:40:09] local.INFO: TCP Data received {"connection_id":207401,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4090f0012d7d418005f064880009016528..."} 
[2026-10-05 09:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4090f0012d7d418005f064880009016528..."} 
[2026-10-05 09:40:09] local.INFO: Processing buffer {"connection_id":207401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4090f0012d7d418005f064880009016528..."} 
[2026-10-05 09:40:09] local.INFO: Packet analysis {"connection_id":207401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:40:09] local.INFO: Extracted packet for processing {"connection_id":207401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:40:09] local.INFO: GPS Element Parsed {"raw_longitude":763183488,"raw_latitude":99640456,"longitude_deg":76.3183488,"latitude_deg":9.9640456,"altitude":9,"angle":357,"satellites":40,"speed":44,"hex_longitude":"2d7d4180","hex_latitude":"05f06488","is_valid_coordinates":true} 
[2026-10-05 09:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540378880001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139442985212313600,"note":"Value kept but may cause issues"} 
[2026-10-05 09:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026198841174577152,"note":"Value kept but may cause issues"} 
[2026-10-05 09:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791173366000,"timestamp_ms":1791173366000,"timestamp_seconds":1791173366,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4090f0"} 
[2026-10-05 09:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 09:40: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-10-05 09:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":207401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":207401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":207401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540378880001,"66":13906,"117":206,"87":11264,"24":44,"16":139442985212313600,"45":9026198841174577152},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-10-05 09:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540378880001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:40:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-10-05 09:40:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-10-05 09:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139442985212313600,"km_value":139442985212313.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026198841174577152,"description":"Unknown IO ID 45"} 
[2026-10-05 09:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540378880001,"power":13906,"unknown_117":206,"unknown_87":11264,"ignition":44,"odometer":null,"unknown_45":9026198841174577152}} 
[2026-10-05 09:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":207401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:40:09] local.INFO: GPS data processed {"connection_id":207401,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:40:09] local.INFO: Acknowledgment sent {"connection_id":207401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:40:22] local.INFO: TCP Data received {"connection_id":205845,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a40a478012d0d37000704bbc0001c010825..."} 
[2026-10-05 09:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a40a478012d0d37000704bbc0001c010825..."} 
[2026-10-05 09:40:22] local.INFO: Processing buffer {"connection_id":205845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a40a478012d0d37000704bbc0001c010825..."} 
[2026-10-05 09:40:22] local.INFO: Packet analysis {"connection_id":205845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:40:22] local.INFO: Extracted packet for processing {"connection_id":205845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:40:22] local.INFO: GPS Element Parsed {"raw_longitude":755840768,"raw_latitude":117750720,"longitude_deg":75.5840768,"latitude_deg":11.775072,"altitude":28,"angle":264,"satellites":37,"speed":8,"hex_longitude":"2d0d3700","hex_latitude":"0704bbc0","is_valid_coordinates":true} 
[2026-10-05 09:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540381184001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34768799643205632,"note":"Value kept but may cause issues"} 
[2026-10-05 09:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953144670030575616,"note":"Value kept but may cause issues"} 
[2026-10-05 09:40:22] 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-10-05 09:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791173371000,"timestamp_ms":1791173371000,"timestamp_seconds":1791173371,"priority":1,"record_length":96,"hex_timestamp":"000001a10a40a478"} 
[2026-10-05 09:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:40: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-10-05 09:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-05 09:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":205845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":205845,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":205845,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540381184001,"66":14396,"17":206,"94":11008,"24":8,"16":34768799643205632,"45":953144670030575616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-05 09:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540381184001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:40:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 09:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34768799643205632,"km_value":34768799643205.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":953144670030575616,"description":"Unknown IO ID 45"} 
[2026-10-05 09:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540381184001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":953144670030575616}} 
[2026-10-05 09:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":205845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966510,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:40:23] local.INFO: GPS data processed {"connection_id":205845,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:40:23] local.INFO: Acknowledgment sent {"connection_id":205845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:40:32] local.INFO: TCP Data received {"connection_id":207400,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:40:32] local.INFO: Processing buffer {"connection_id":207400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:40:32] local.INFO: Packet analysis {"connection_id":207400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:40:32] local.INFO: Extracted packet for processing {"connection_id":207400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":36,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540307968001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:40: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-10-05 09:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791173379000,"timestamp_ms":1791173379000,"timestamp_seconds":1791173379,"priority":1,"record_length":96,"hex_timestamp":"000001a10a40c3b8"} 
[2026-10-05 09:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:40:32] 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-10-05 09:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 09:40: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-10-05 09:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:40: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-10-05 09:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540307968001,"66":25625,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540307968001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:40:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:40:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540307968001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":207400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:40:32] local.INFO: GPS data processed {"connection_id":207400,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:40:32] local.INFO: Acknowledgment sent {"connection_id":207400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:40:40] local.INFO: TCP Data received {"connection_id":207401,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a40ac48012d7d3fc005f08740000801642a..."} 
[2026-10-05 09:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a40ac48012d7d3fc005f08740000801642a..."} 
[2026-10-05 09:40:40] local.INFO: Processing buffer {"connection_id":207401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a40ac48012d7d3fc005f08740000801642a..."} 
[2026-10-05 09:40:40] local.INFO: Packet analysis {"connection_id":207401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:40:40] local.INFO: Extracted packet for processing {"connection_id":207401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:40:40] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99649344,"longitude_deg":76.318304,"latitude_deg":9.9649344,"altitude":8,"angle":356,"satellites":42,"speed":54,"hex_longitude":"2d7d3fc0","hex_latitude":"05f08740","is_valid_coordinates":true} 
[2026-10-05 09:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540381696001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139443414709043200,"note":"Value kept but may cause issues"} 
[2026-10-05 09:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025635891223496704,"note":"Value kept but may cause issues"} 
[2026-10-05 09:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791173373000,"timestamp_ms":1791173373000,"timestamp_seconds":1791173373,"priority":1,"record_length":96,"hex_timestamp":"000001a10a40ac48"} 
[2026-10-05 09:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 09:40:40] 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-10-05 09:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":207401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":207401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":207401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540381696001,"66":13798,"117":206,"87":11264,"24":54,"16":139443414709043200,"45":9025635891223496704},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-10-05 09:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540381696001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:40:40] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-10-05 09:40:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-10-05 09:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139443414709043200,"km_value":139443414709043.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025635891223496704,"description":"Unknown IO ID 45"} 
[2026-10-05 09:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540381696001,"power":13798,"unknown_117":206,"unknown_87":11264,"ignition":54,"odometer":null,"unknown_45":9025635891223496704}} 
[2026-10-05 09:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":207401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:40:40] local.INFO: GPS data processed {"connection_id":207401,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:40:40] local.INFO: Acknowledgment sent {"connection_id":207401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:40:55] local.INFO: TCP Data received {"connection_id":205847,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:40:55] local.INFO: Processing buffer {"connection_id":205847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:40:55] local.INFO: IMEI packet received {"connection_id":205847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":205847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:40:59] local.INFO: TCP Data received {"connection_id":204431,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:40:59] local.INFO: Processing buffer {"connection_id":204431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:40:59] local.INFO: IMEI packet received {"connection_id":204431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":204431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:41:00] local.INFO: TCP Data received {"connection_id":205847,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:41:00] local.INFO: Processing buffer {"connection_id":205847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:41:00] local.INFO: IMEI packet received {"connection_id":205847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":205847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:41:01] local.INFO: TCP Data received {"connection_id":205847,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:41:01] local.INFO: Processing buffer {"connection_id":205847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:41:01] local.INFO: Packet analysis {"connection_id":205847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:41:01] local.INFO: Extracted packet for processing {"connection_id":205847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:41:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":36,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 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-10-05 09:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540307968001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 09:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791173379000,"timestamp_ms":1791173379000,"timestamp_seconds":1791173379,"priority":1,"record_length":96,"hex_timestamp":"000001a10a40c3b8"} 
[2026-10-05 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-10-05 09:41: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-10-05 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 09:41: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-10-05 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-10-05 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-10-05 09:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:41: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-10-05 09:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540307968001,"66":25625,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540307968001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:41:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:41:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540307968001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":205847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:41:01] local.INFO: GPS data processed {"connection_id":205847,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:41:01] local.INFO: Acknowledgment sent {"connection_id":205847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:41:05] local.INFO: TCP Data received {"connection_id":204431,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:41:05] local.INFO: Processing buffer {"connection_id":204431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:41:05] local.INFO: IMEI packet received {"connection_id":204431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":204431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:41:06] local.INFO: TCP Data received {"connection_id":204431,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a40c7a0012d7d3dc005f0ae80000901662c..."} 
[2026-10-05 09:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a40c7a0012d7d3dc005f0ae80000901662c..."} 
[2026-10-05 09:41:06] local.INFO: Processing buffer {"connection_id":204431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a40c7a0012d7d3dc005f0ae80000901662c..."} 
[2026-10-05 09:41:06] local.INFO: Packet analysis {"connection_id":204431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:41:06] local.INFO: Extracted packet for processing {"connection_id":204431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:41:06] local.INFO: GPS Element Parsed {"raw_longitude":763182528,"raw_latitude":99659392,"longitude_deg":76.3182528,"latitude_deg":9.9659392,"altitude":9,"angle":358,"satellites":44,"speed":57,"hex_longitude":"2d7d3dc0","hex_latitude":"05f0ae80","is_valid_coordinates":true} 
[2026-10-05 09:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540383488001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139443904335314944,"note":"Value kept but may cause issues"} 
[2026-10-05 09:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143310016528384,"note":"Value kept but may cause issues"} 
[2026-10-05 09:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791173380000,"timestamp_ms":1791173380000,"timestamp_seconds":1791173380,"priority":1,"record_length":96,"hex_timestamp":"000001a10a40c7a0"} 
[2026-10-05 09:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 09:41:06] 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-10-05 09:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540383488001,"66":13341,"117":206,"87":11264,"24":57,"16":139443904335314944,"45":9025143310016528384},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-10-05 09:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540383488001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:41:06] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-10-05 09:41:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-10-05 09:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139443904335314944,"km_value":139443904335314.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143310016528384,"description":"Unknown IO ID 45"} 
[2026-10-05 09:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540383488001,"power":13341,"unknown_117":206,"unknown_87":11264,"ignition":57,"odometer":null,"unknown_45":9025143310016528384}} 
[2026-10-05 09:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":204431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:41:06] local.INFO: GPS data processed {"connection_id":204431,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:41:06] local.INFO: Acknowledgment sent {"connection_id":204431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:41:11] local.INFO: TCP Data received {"connection_id":205845,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a41bdb8012d0c97c00704cd400024011d23..."} 
[2026-10-05 09:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a41bdb8012d0c97c00704cd400024011d23..."} 
[2026-10-05 09:41:11] local.INFO: Processing buffer {"connection_id":205845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a41bdb8012d0c97c00704cd400024011d23..."} 
[2026-10-05 09:41:11] local.INFO: Packet analysis {"connection_id":205845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a41"} 
[2026-10-05 09:41:11] local.INFO: Extracted packet for processing {"connection_id":205845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a41"} 
[2026-10-05 09:41:11] local.INFO: GPS Element Parsed {"raw_longitude":755800000,"raw_latitude":117755200,"longitude_deg":75.58,"latitude_deg":11.77552,"altitude":36,"angle":285,"satellites":35,"speed":22,"hex_longitude":"2d0c97c0","hex_latitude":"0704cd40","is_valid_coordinates":true} 
[2026-10-05 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-10-05 09:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540400640001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34770805392932864,"note":"Value kept but may cause issues"} 
[2026-10-05 09:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":909445679897290752,"note":"Value kept but may cause issues"} 
[2026-10-05 09:41:11] 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-10-05 09:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791173443000,"timestamp_ms":1791173443000,"timestamp_seconds":1791173443,"priority":1,"record_length":96,"hex_timestamp":"000001a10a41bdb8"} 
[2026-10-05 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-10-05 09:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-05 09:41:11] 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-10-05 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-10-05 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-10-05 09:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205845,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205845,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540400640001,"66":14211,"95":206,"94":10240,"24":22,"16":34770805392932864,"45":909445679897290752},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-10-05 09:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540400640001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:41:11] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 09:41:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34770805392932864,"km_value":34770805392932.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":909445679897290752,"description":"Unknown IO ID 45"} 
[2026-10-05 09:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540400640001,"power":14211,"unknown_95":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":909445679897290752}} 
[2026-10-05 09:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":205845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966515,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:41:11] local.INFO: GPS data processed {"connection_id":205845,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:41:11] local.INFO: Acknowledgment sent {"connection_id":205845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:41:32] local.INFO: TCP Data received {"connection_id":205847,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:41:32] local.INFO: Processing buffer {"connection_id":205847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:41:32] local.INFO: Packet analysis {"connection_id":205847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:41:32] local.INFO: Extracted packet for processing {"connection_id":205847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:41:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":36,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540307968001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:41: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-10-05 09:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791173379000,"timestamp_ms":1791173379000,"timestamp_seconds":1791173379,"priority":1,"record_length":96,"hex_timestamp":"000001a10a40c3b8"} 
[2026-10-05 09:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:41:32] 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-10-05 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 09:41: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-10-05 09: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-10-05 09:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:41: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-10-05 09:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540307968001,"66":25625,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540307968001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:41:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:41:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540307968001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":205847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:41:32] local.INFO: GPS data processed {"connection_id":205847,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:41:32] local.INFO: Acknowledgment sent {"connection_id":205847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:41:38] local.INFO: TCP Data received {"connection_id":204431,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a40eac8012d7d3d8005f0d2b8000b01652c..."} 
[2026-10-05 09:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a40eac8012d7d3d8005f0d2b8000b01652c..."} 
[2026-10-05 09:41:38] local.INFO: Processing buffer {"connection_id":204431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a40eac8012d7d3d8005f0d2b8000b01652c..."} 
[2026-10-05 09:41:38] local.INFO: Packet analysis {"connection_id":204431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:41:38] local.INFO: Extracted packet for processing {"connection_id":204431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:41:38] local.INFO: GPS Element Parsed {"raw_longitude":763182464,"raw_latitude":99668664,"longitude_deg":76.3182464,"latitude_deg":9.9668664,"altitude":11,"angle":357,"satellites":44,"speed":32,"hex_longitude":"2d7d3d80","hex_latitude":"05f0d2b8","is_valid_coordinates":true} 
[2026-10-05 09:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540385280001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139444351011913728,"note":"Value kept but may cause issues"} 
[2026-10-05 09:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024580360065679360,"note":"Value kept but may cause issues"} 
[2026-10-05 09:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791173389000,"timestamp_ms":1791173389000,"timestamp_seconds":1791173389,"priority":1,"record_length":96,"hex_timestamp":"000001a10a40eac8"} 
[2026-10-05 09:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-10-05 09:41:38] 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-10-05 09:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540385280001,"66":13906,"117":206,"87":11264,"24":32,"16":139444351011913728,"45":9024580360065679360},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-10-05 09:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540385280001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:41:38] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-10-05 09:41:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-10-05 09:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139444351011913728,"km_value":139444351011913.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024580360065679360,"description":"Unknown IO ID 45"} 
[2026-10-05 09:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540385280001,"power":13906,"unknown_117":206,"unknown_87":11264,"ignition":32,"odometer":null,"unknown_45":9024580360065679360}} 
[2026-10-05 09:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":204431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:41:38] local.INFO: GPS data processed {"connection_id":204431,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:41:38] local.INFO: Acknowledgment sent {"connection_id":204431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:41:42] local.INFO: TCP Data received {"connection_id":205845,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a41c970012d0c93400704ce500022011223..."} 
[2026-10-05 09:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a41c970012d0c93400704ce500022011223..."} 
[2026-10-05 09:41:42] local.INFO: Processing buffer {"connection_id":205845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a41c970012d0c93400704ce500022011223..."} 
[2026-10-05 09:41:42] local.INFO: Packet analysis {"connection_id":205845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a41"} 
[2026-10-05 09:41:42] local.INFO: Extracted packet for processing {"connection_id":205845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a41"} 
[2026-10-05 09:41:42] local.INFO: GPS Element Parsed {"raw_longitude":755798848,"raw_latitude":117755472,"longitude_deg":75.5798848,"latitude_deg":11.7755472,"altitude":34,"angle":274,"satellites":35,"speed":7,"hex_longitude":"2d0c9340","hex_latitude":"0704ce50","is_valid_coordinates":true} 
[2026-10-05 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-10-05 09:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540401408001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34770861227507712,"note":"Value kept but may cause issues"} 
[2026-10-05 09:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907404986316308480,"note":"Value kept but may cause issues"} 
[2026-10-05 09:41:42] 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-10-05 09:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791173446000,"timestamp_ms":1791173446000,"timestamp_seconds":1791173446,"priority":1,"record_length":96,"hex_timestamp":"000001a10a41c970"} 
[2026-10-05 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-10-05 09:41: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-10-05 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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-05 09:41:42] 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-10-05 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-10-05 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-10-05 09:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":205845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":205845,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":205845,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540401408001,"66":14265,"95":206,"94":10240,"24":7,"16":34770861227507712,"45":907404986316308480},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-10-05 09:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540401408001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:41:42] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 09:41:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34770861227507712,"km_value":34770861227507.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":907404986316308480,"description":"Unknown IO ID 45"} 
[2026-10-05 09:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540401408001,"power":14265,"unknown_95":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":907404986316308480}} 
[2026-10-05 09:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":205845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966518,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:41:42] local.INFO: GPS data processed {"connection_id":205845,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:41:42] local.INFO: Acknowledgment sent {"connection_id":205845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:41:55] local.INFO: TCP Data received {"connection_id":207403,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:41:55] local.INFO: Processing buffer {"connection_id":207403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:41:55] local.INFO: IMEI packet received {"connection_id":207403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":207403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:41:59] local.INFO: TCP Data received {"connection_id":204432,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:41:59] local.INFO: Processing buffer {"connection_id":204432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:41:59] local.INFO: IMEI packet received {"connection_id":204432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":204432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:42:00] local.INFO: TCP Data received {"connection_id":207403,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:42:00] local.INFO: Processing buffer {"connection_id":207403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:42:00] local.INFO: IMEI packet received {"connection_id":207403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":207403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:42:01] local.INFO: TCP Data received {"connection_id":207403,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:42:01] local.INFO: Processing buffer {"connection_id":207403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:42:01] local.INFO: Packet analysis {"connection_id":207403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:42:01] local.INFO: Extracted packet for processing {"connection_id":207403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:42:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":36,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540307968001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:42: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-10-05 09:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791173379000,"timestamp_ms":1791173379000,"timestamp_seconds":1791173379,"priority":1,"record_length":96,"hex_timestamp":"000001a10a40c3b8"} 
[2026-10-05 09:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:42: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-10-05 09:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 09:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09: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-10-05 09:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09: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-10-05 09:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540307968001,"66":25625,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540307968001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:42:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:42:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540307968001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":207403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:42:01] local.INFO: GPS data processed {"connection_id":207403,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:42:01] local.INFO: Acknowledgment sent {"connection_id":207403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:42:04] local.INFO: TCP Data received {"connection_id":204432,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:42:04] local.INFO: Processing buffer {"connection_id":204432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:42:04] local.INFO: IMEI packet received {"connection_id":204432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":204432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:42:04] local.INFO: TCP Data received {"connection_id":204432,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4111d8012d7d3bc005f0f658001001622c..."} 
[2026-10-05 09:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4111d8012d7d3bc005f0f658001001622c..."} 
[2026-10-05 09:42:04] local.INFO: Processing buffer {"connection_id":204432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4111d8012d7d3bc005f0f658001001622c..."} 
[2026-10-05 09:42:04] local.INFO: Packet analysis {"connection_id":204432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a41"} 
[2026-10-05 09:42:04] local.INFO: Extracted packet for processing {"connection_id":204432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a41"} 
[2026-10-05 09:42:04] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":99677784,"longitude_deg":76.3182016,"latitude_deg":9.9677784,"altitude":16,"angle":354,"satellites":44,"speed":40,"hex_longitude":"2d7d3bc0","hex_latitude":"05f0f658","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540387584001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139444797688512512,"note":"Value kept but may cause issues"} 
[2026-10-05 09:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024509991323875328,"note":"Value kept but may cause issues"} 
[2026-10-05 09:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791173399000,"timestamp_ms":1791173399000,"timestamp_seconds":1791173399,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4111d8"} 
[2026-10-05 09:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:42: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-10-05 09:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 09:42:04] 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-10-05 09: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-10-05 09:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":204432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":204432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":204432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540387584001,"66":13678,"117":206,"87":11264,"24":40,"16":139444797688512512,"45":9024509991323875328},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-10-05 09:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540387584001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:42:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-10-05 09:42:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-10-05 09:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139444797688512512,"km_value":139444797688512.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024509991323875328,"description":"Unknown IO ID 45"} 
[2026-10-05 09:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540387584001,"power":13678,"unknown_117":206,"unknown_87":11264,"ignition":40,"odometer":null,"unknown_45":9024509991323875328}} 
[2026-10-05 09:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":204432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966520,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:42:04] local.INFO: GPS data processed {"connection_id":204432,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:42:04] local.INFO: Acknowledgment sent {"connection_id":204432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:42:10] local.INFO: TCP Data received {"connection_id":204300,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204300,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:42:10] local.INFO: Processing buffer {"connection_id":204300,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:42:10] local.INFO: IMEI packet received {"connection_id":204300,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":204300,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:42:11] local.INFO: TCP Data received {"connection_id":204300,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204300,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:42:11] local.INFO: Processing buffer {"connection_id":204300,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:42:11] local.INFO: IMEI packet received {"connection_id":204300,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":204300,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:42:16] local.INFO: TCP Data received {"connection_id":204300,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204300,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:42:16] local.INFO: Processing buffer {"connection_id":204300,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:42:16] local.INFO: IMEI packet received {"connection_id":204300,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":204300,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:42:17] local.INFO: TCP Data received {"connection_id":204300,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a421b78012d0c92800704ce680020011223..."} 
[2026-10-05 09:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a421b78012d0c92800704ce680020011223..."} 
[2026-10-05 09:42:17] local.INFO: Processing buffer {"connection_id":204300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a421b78012d0c92800704ce680020011223..."} 
[2026-10-05 09:42:17] local.INFO: Packet analysis {"connection_id":204300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a42"} 
[2026-10-05 09:42:17] local.INFO: Extracted packet for processing {"connection_id":204300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a42"} 
[2026-10-05 09:42:17] local.INFO: GPS Element Parsed {"raw_longitude":755798656,"raw_latitude":117755496,"longitude_deg":75.5798656,"latitude_deg":11.7755496,"altitude":32,"angle":274,"satellites":35,"speed":0,"hex_longitude":"2d0c9280","hex_latitude":"0704ce68","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540402176001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34770874112409600,"note":"Value kept but may cause issues"} 
[2026-10-05 09:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906138348921180160,"note":"Value kept but may cause issues"} 
[2026-10-05 09:42:17] 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-10-05 09:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791173467000,"timestamp_ms":1791173467000,"timestamp_seconds":1791173467,"priority":1,"record_length":96,"hex_timestamp":"000001a10a421b78"} 
[2026-10-05 09:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:42:17] 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-10-05 09: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-05 09:42:17] 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-10-05 09: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-10-05 09:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":204300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":204300,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":204300,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540402176001,"66":14407,"95":206,"94":10240,"24":0,"16":34770874112409600,"45":906138348921180160},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-10-05 09:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540402176001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:42:17] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 09:42:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34770874112409600,"km_value":34770874112409.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":906138348921180160,"description":"Unknown IO ID 45"} 
[2026-10-05 09:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540402176001,"power":14407,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":906138348921180160}} 
[2026-10-05 09:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":204300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966521,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:42:17] local.INFO: GPS data processed {"connection_id":204300,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:42:17] local.INFO: Acknowledgment sent {"connection_id":204300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:42:33] local.INFO: TCP Data received {"connection_id":207403,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:42:33] local.INFO: Processing buffer {"connection_id":207403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:42:33] local.INFO: Packet analysis {"connection_id":207403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:42:33] local.INFO: Extracted packet for processing {"connection_id":207403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":36,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 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-10-05 09:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540307968001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:42: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-10-05 09:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791173379000,"timestamp_ms":1791173379000,"timestamp_seconds":1791173379,"priority":1,"record_length":96,"hex_timestamp":"000001a10a40c3b8"} 
[2026-10-05 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-10-05 09:42:33] 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-10-05 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 09:42:33] 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-10-05 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-10-05 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-10-05 09:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09: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-10-05 09:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540307968001,"66":25625,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540307968001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:42:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540307968001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":207403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:42:33] local.INFO: GPS data processed {"connection_id":207403,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:42:33] local.INFO: Acknowledgment sent {"connection_id":207403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:42:36] local.INFO: TCP Data received {"connection_id":204432,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a431960012d7d198005f274a0000b015f29..."} 
[2026-10-05 09:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a431960012d7d198005f274a0000b015f29..."} 
[2026-10-05 09:42:36] local.INFO: Processing buffer {"connection_id":204432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a431960012d7d198005f274a0000b015f29..."} 
[2026-10-05 09:42:36] local.INFO: Packet analysis {"connection_id":204432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a43"} 
[2026-10-05 09:42:36] local.INFO: Extracted packet for processing {"connection_id":204432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a43"} 
[2026-10-05 09:42:36] local.INFO: GPS Element Parsed {"raw_longitude":763173248,"raw_latitude":99775648,"longitude_deg":76.3173248,"latitude_deg":9.9775648,"altitude":11,"angle":351,"satellites":41,"speed":45,"hex_longitude":"2d7d1980","hex_latitude":"05f274a0","is_valid_coordinates":true} 
[2026-10-05 09:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540421632001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139449565102211072,"note":"Value kept but may cause issues"} 
[2026-10-05 09:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015432423349878784,"note":"Value kept but may cause issues"} 
[2026-10-05 09:42:36] 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-10-05 09:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791173532000,"timestamp_ms":1791173532000,"timestamp_seconds":1791173532,"priority":1,"record_length":96,"hex_timestamp":"000001a10a431960"} 
[2026-10-05 09:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 09:42:36] 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-10-05 09:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540421632001,"66":13820,"28":206,"87":13056,"24":45,"16":139449565102211072,"45":9015432423349878784},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,87,24,16,45]} 
[2026-10-05 09:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540421632001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:42:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-10-05 09:42:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-10-05 09:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139449565102211072,"km_value":139449565102211.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015432423349878784,"description":"Unknown IO ID 45"} 
[2026-10-05 09:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540421632001,"power":13820,"unknown_28":206,"unknown_87":13056,"ignition":45,"odometer":null,"unknown_45":9015432423349878784}} 
[2026-10-05 09:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":204432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966523,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:42:36] local.INFO: GPS data processed {"connection_id":204432,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:42:36] local.INFO: Acknowledgment sent {"connection_id":204432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:42:48] local.INFO: TCP Data received {"connection_id":204300,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4357e0012d0cb900070466a0001400bc27..."} 
[2026-10-05 09:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4357e0012d0cb900070466a0001400bc27..."} 
[2026-10-05 09:42:48] local.INFO: Processing buffer {"connection_id":204300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4357e0012d0cb900070466a0001400bc27..."} 
[2026-10-05 09:42:48] local.INFO: Packet analysis {"connection_id":204300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a43"} 
[2026-10-05 09:42:48] local.INFO: Extracted packet for processing {"connection_id":204300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a43"} 
[2026-10-05 09:42:48] local.INFO: GPS Element Parsed {"raw_longitude":755808512,"raw_latitude":117728928,"longitude_deg":75.5808512,"latitude_deg":11.7728928,"altitude":20,"angle":188,"satellites":39,"speed":39,"hex_longitude":"2d0cb900","hex_latitude":"070466a0","is_valid_coordinates":true} 
[2026-10-05 09:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540427008001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34772317221421056,"note":"Value kept but may cause issues"} 
[2026-10-05 09:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917256610495780864,"note":"Value kept but may cause issues"} 
[2026-10-05 09:42:48] 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-10-05 09:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791173548000,"timestamp_ms":1791173548000,"timestamp_seconds":1791173548,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4357e0"} 
[2026-10-05 09:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:42: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-10-05 09:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-05 09:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204300,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204300,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540427008001,"66":14461,"95":206,"94":10240,"24":39,"16":34772317221421056,"45":917256610495780864},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-10-05 09:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540427008001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:42:48] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 09:42:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34772317221421056,"km_value":34772317221421.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":917256610495780864,"description":"Unknown IO ID 45"} 
[2026-10-05 09:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540427008001,"power":14461,"unknown_95":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_45":917256610495780864}} 
[2026-10-05 09:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":204300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966524,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:42:48] local.INFO: GPS data processed {"connection_id":204300,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:42:48] local.INFO: Acknowledgment sent {"connection_id":204300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:43:01] local.INFO: TCP Data received {"connection_id":205850,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:43:01] local.INFO: Processing buffer {"connection_id":205850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:43:01] local.INFO: IMEI packet received {"connection_id":205850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":205850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:43:02] local.INFO: TCP Data received {"connection_id":205849,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:43:02] local.INFO: Processing buffer {"connection_id":205849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:43:02] local.INFO: IMEI packet received {"connection_id":205849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":205849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:43:06] local.INFO: TCP Data received {"connection_id":205849,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:43:06] local.INFO: Processing buffer {"connection_id":205849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:43:06] local.INFO: IMEI packet received {"connection_id":205849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":205849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:43:07] local.INFO: TCP Data received {"connection_id":205849,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:43:07] local.INFO: Processing buffer {"connection_id":205849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:43:07] local.INFO: Packet analysis {"connection_id":205849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:43:07] local.INFO: Extracted packet for processing {"connection_id":205849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:43:07] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":36,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540307968001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:43: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-10-05 09:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791173379000,"timestamp_ms":1791173379000,"timestamp_seconds":1791173379,"priority":1,"record_length":96,"hex_timestamp":"000001a10a40c3b8"} 
[2026-10-05 09:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:43:07] 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-10-05 09:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 09:43:07] 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-10-05 09:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540307968001,"66":25625,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540307968001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:43:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:43:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540307968001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":205849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:43:07] local.INFO: GPS data processed {"connection_id":205849,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:43:07] local.INFO: Acknowledgment sent {"connection_id":205849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:43:09] local.INFO: TCP Data received {"connection_id":205850,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:43:09] local.INFO: Processing buffer {"connection_id":205850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:43:09] local.INFO: IMEI packet received {"connection_id":205850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":205850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:43:10] local.INFO: TCP Data received {"connection_id":205850,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:43:10] local.INFO: Processing buffer {"connection_id":205850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:43:10] local.INFO: IMEI packet received {"connection_id":205850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":205850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:43:10] local.INFO: TCP Data received {"connection_id":205849,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:43:10] local.INFO: Processing buffer {"connection_id":205849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:43:10] local.INFO: Packet analysis {"connection_id":205849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:43:10] local.INFO: Extracted packet for processing {"connection_id":205849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:43:10] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":36,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540307968001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:43: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-10-05 09:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791173379000,"timestamp_ms":1791173379000,"timestamp_seconds":1791173379,"priority":1,"record_length":96,"hex_timestamp":"000001a10a40c3b8"} 
[2026-10-05 09:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:43: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-10-05 09:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 09:43:10] 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-10-05 09: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-10-05 09:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":205849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":205849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":205849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540307968001,"66":25625,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540307968001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:43:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:43:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540307968001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":205849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:43:11] local.INFO: GPS data processed {"connection_id":205849,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:43:11] local.INFO: Acknowledgment sent {"connection_id":205849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:43:12] local.INFO: TCP Data received {"connection_id":205850,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4338a0012d7d154005f298c0000901632a..."} 
[2026-10-05 09:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4338a0012d7d154005f298c0000901632a..."} 
[2026-10-05 09:43:12] local.INFO: Processing buffer {"connection_id":205850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4338a0012d7d154005f298c0000901632a..."} 
[2026-10-05 09:43:12] local.INFO: Packet analysis {"connection_id":205850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a43"} 
[2026-10-05 09:43:12] local.INFO: Extracted packet for processing {"connection_id":205850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a43"} 
[2026-10-05 09:43:12] local.INFO: GPS Element Parsed {"raw_longitude":763172160,"raw_latitude":99784896,"longitude_deg":76.317216,"latitude_deg":9.9784896,"altitude":9,"angle":355,"satellites":42,"speed":43,"hex_longitude":"2d7d1540","hex_latitude":"05f298c0","is_valid_coordinates":true} 
[2026-10-05 09:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540424192001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139450016073777152,"note":"Value kept but may cause issues"} 
[2026-10-05 09:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014376892189679616,"note":"Value kept but may cause issues"} 
[2026-10-05 09:43:12] 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-10-05 09:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791173540000,"timestamp_ms":1791173540000,"timestamp_seconds":1791173540,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4338a0"} 
[2026-10-05 09:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 09:43:12] 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-10-05 09:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":205850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":205850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":205850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540424192001,"66":13374,"28":206,"87":13056,"24":43,"16":139450016073777152,"45":9014376892189679616},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,87,24,16,45]} 
[2026-10-05 09:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540424192001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:43:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-10-05 09:43:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-10-05 09:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139450016073777152,"km_value":139450016073777.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014376892189679616,"description":"Unknown IO ID 45"} 
[2026-10-05 09:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540424192001,"power":13374,"unknown_28":206,"unknown_87":13056,"ignition":43,"odometer":null,"unknown_45":9014376892189679616}} 
[2026-10-05 09:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":205850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:43:12] local.INFO: GPS data processed {"connection_id":205850,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:43:12] local.INFO: Acknowledgment sent {"connection_id":205850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:43:12] local.INFO: TCP Data received {"connection_id":204433,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:43:12] local.INFO: Processing buffer {"connection_id":204433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:43:12] local.INFO: IMEI packet received {"connection_id":204433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 09:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":204433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:43:15] local.INFO: TCP Data received {"connection_id":205850,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a435bc8012d7d110005f2bd500009016227..."} 
[2026-10-05 09:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a435bc8012d7d110005f2bd500009016227..."} 
[2026-10-05 09:43:15] local.INFO: Processing buffer {"connection_id":205850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a435bc8012d7d110005f2bd500009016227..."} 
[2026-10-05 09:43:15] local.INFO: Packet analysis {"connection_id":205850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a43"} 
[2026-10-05 09:43:15] local.INFO: Extracted packet for processing {"connection_id":205850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a43"} 
[2026-10-05 09:43:15] local.INFO: GPS Element Parsed {"raw_longitude":763171072,"raw_latitude":99794256,"longitude_deg":76.3171072,"latitude_deg":9.9794256,"altitude":9,"angle":354,"satellites":39,"speed":40,"hex_longitude":"2d7d1100","hex_latitude":"05f2bd50","is_valid_coordinates":true} 
[2026-10-05 09:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540426240001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139450475635277824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013180623541026816,"note":"Value kept but may cause issues"} 
[2026-10-05 09:43:15] 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-10-05 09:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791173549000,"timestamp_ms":1791173549000,"timestamp_seconds":1791173549,"priority":1,"record_length":96,"hex_timestamp":"000001a10a435bc8"} 
[2026-10-05 09:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-10-05 09:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":205850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":205850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":205850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540426240001,"66":13515,"28":206,"87":13056,"24":40,"16":139450475635277824,"45":9013180623541026816},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,87,24,16,45]} 
[2026-10-05 09:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540426240001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:43:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-10-05 09:43:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-10-05 09:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139450475635277824,"km_value":139450475635277.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013180623541026816,"description":"Unknown IO ID 45"} 
[2026-10-05 09:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540426240001,"power":13515,"unknown_28":206,"unknown_87":13056,"ignition":40,"odometer":null,"unknown_45":9013180623541026816}} 
[2026-10-05 09:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":205850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966528,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:43:15] local.INFO: GPS data processed {"connection_id":205850,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:43:15] local.INFO: Acknowledgment sent {"connection_id":205850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:43:16] local.INFO: TCP Data received {"connection_id":205851,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205851,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:43:16] local.INFO: Processing buffer {"connection_id":205851,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:43:16] local.INFO: IMEI packet received {"connection_id":205851,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":205851,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:43:17] local.INFO: TCP Data received {"connection_id":205851,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205851,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:43:17] local.INFO: Processing buffer {"connection_id":205851,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:43:17] local.INFO: IMEI packet received {"connection_id":205851,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":205851,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:43:21] local.INFO: TCP Data received {"connection_id":205851,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205851,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:43:21] local.INFO: Processing buffer {"connection_id":205851,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:43:21] local.INFO: IMEI packet received {"connection_id":205851,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":205851,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:43:22] local.INFO: TCP Data received {"connection_id":205851,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a437338012d0cb1c007044b38001200c827..."} 
[2026-10-05 09:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a437338012d0cb1c007044b38001200c827..."} 
[2026-10-05 09:43:22] local.INFO: Processing buffer {"connection_id":205851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a437338012d0cb1c007044b38001200c827..."} 
[2026-10-05 09:43:22] local.INFO: Packet analysis {"connection_id":205851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a43"} 
[2026-10-05 09:43:22] local.INFO: Extracted packet for processing {"connection_id":205851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a43"} 
[2026-10-05 09:43:22] local.INFO: GPS Element Parsed {"raw_longitude":755806656,"raw_latitude":117721912,"longitude_deg":75.5806656,"latitude_deg":11.7721912,"altitude":18,"angle":200,"satellites":39,"speed":40,"hex_longitude":"2d0cb1c0","hex_latitude":"07044b38","is_valid_coordinates":true} 
[2026-10-05 09:43: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-10-05 09:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540428288001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34772669408739328,"note":"Value kept but may cause issues"} 
[2026-10-05 09:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916764029285212160,"note":"Value kept but may cause issues"} 
[2026-10-05 09:43:22] 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-10-05 09:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791173555000,"timestamp_ms":1791173555000,"timestamp_seconds":1791173555,"priority":1,"record_length":96,"hex_timestamp":"000001a10a437338"} 
[2026-10-05 09:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:43:22] 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-10-05 09:43: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":125,"data_length":795,"current_offset":136} 
[2026-10-05 09:43:22] 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-10-05 09:43: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-10-05 09:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":205851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":205851,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":205851,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540428288001,"66":14548,"95":206,"94":10240,"24":40,"16":34772669408739328,"45":916764029285212160},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-10-05 09:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540428288001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:43:22] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 09:43:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34772669408739328,"km_value":34772669408739.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":916764029285212160,"description":"Unknown IO ID 45"} 
[2026-10-05 09:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540428288001,"power":14548,"unknown_95":206,"unknown_94":10240,"ignition":40,"odometer":null,"unknown_45":916764029285212160}} 
[2026-10-05 09:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":205851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966529,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:43:22] local.INFO: GPS data processed {"connection_id":205851,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:43:22] local.INFO: Acknowledgment sent {"connection_id":205851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:43:26] local.INFO: TCP Data received {"connection_id":205851,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a439a48012d0ca34007042a10001400d225..."} 
[2026-10-05 09:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a439a48012d0ca34007042a10001400d225..."} 
[2026-10-05 09:43:26] local.INFO: Processing buffer {"connection_id":205851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a439a48012d0ca34007042a10001400d225..."} 
[2026-10-05 09:43:26] local.INFO: Packet analysis {"connection_id":205851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a43"} 
[2026-10-05 09:43:26] local.INFO: Extracted packet for processing {"connection_id":205851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a43"} 
[2026-10-05 09:43:26] local.INFO: GPS Element Parsed {"raw_longitude":755802944,"raw_latitude":117713424,"longitude_deg":75.5802944,"latitude_deg":11.7713424,"altitude":20,"angle":210,"satellites":37,"speed":33,"hex_longitude":"2d0ca340","hex_latitude":"07042a10","is_valid_coordinates":true} 
[2026-10-05 09:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540430080001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34773116085338112,"note":"Value kept but may cause issues"} 
[2026-10-05 09:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":914723335702263808,"note":"Value kept but may cause issues"} 
[2026-10-05 09:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1791173565000,"timestamp_ms":1791173565000,"timestamp_seconds":1791173565,"priority":1,"record_length":96,"hex_timestamp":"000001a10a439a48"} 
[2026-10-05 09:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09: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-10-05 09:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-10-05 09:43:26] 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-10-05 09:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":205851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":205851,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":205851,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540430080001,"66":14439,"95":206,"94":10240,"24":33,"16":34773116085338112,"45":914723335702263808},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-10-05 09:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540430080001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:43:26] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 09:43:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34773116085338112,"km_value":34773116085338.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":914723335702263808,"description":"Unknown IO ID 45"} 
[2026-10-05 09:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540430080001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":33,"odometer":null,"unknown_45":914723335702263808}} 
[2026-10-05 09:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":205851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966530,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:43:26] local.INFO: GPS data processed {"connection_id":205851,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:43:26] local.INFO: Acknowledgment sent {"connection_id":205851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:43:42] local.INFO: TCP Data received {"connection_id":204434,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204434,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:43:42] local.INFO: Processing buffer {"connection_id":204434,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:43:42] local.INFO: IMEI packet received {"connection_id":204434,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 09:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":204434,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:43:55] local.INFO: TCP Data received {"connection_id":204435,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:43:55] local.INFO: Processing buffer {"connection_id":204435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:43:55] local.INFO: IMEI packet received {"connection_id":204435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":204435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:43:59] local.INFO: TCP Data received {"connection_id":204436,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:43:59] local.INFO: Processing buffer {"connection_id":204436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:43:59] local.INFO: IMEI packet received {"connection_id":204436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":204436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:44:00] local.INFO: TCP Data received {"connection_id":204435,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:44:00] local.INFO: Processing buffer {"connection_id":204435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:44:00] local.INFO: IMEI packet received {"connection_id":204435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":204435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:44:01] local.INFO: TCP Data received {"connection_id":204435,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:44:01] local.INFO: Processing buffer {"connection_id":204435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:44:01] local.INFO: Packet analysis {"connection_id":204435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:44:01] local.INFO: Extracted packet for processing {"connection_id":204435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:44:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":36,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540307968001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791173379000,"timestamp_ms":1791173379000,"timestamp_seconds":1791173379,"priority":1,"record_length":96,"hex_timestamp":"000001a10a40c3b8"} 
[2026-10-05 09:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:44: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-10-05 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 09:44: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-10-05 09: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-10-05 09:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:44: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-10-05 09:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540307968001,"66":25625,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540307968001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:44:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:44:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540307968001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":204435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:44:01] local.INFO: GPS data processed {"connection_id":204435,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:44:01] local.INFO: Acknowledgment sent {"connection_id":204435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:44:05] local.INFO: TCP Data received {"connection_id":204436,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:44:05] local.INFO: Processing buffer {"connection_id":204436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:44:05] local.INFO: IMEI packet received {"connection_id":204436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":204436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:44:06] local.INFO: TCP Data received {"connection_id":204436,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4382d8012d7d0c8005f2e3700009015e28..."} 
[2026-10-05 09:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4382d8012d7d0c8005f2e3700009015e28..."} 
[2026-10-05 09:44:06] local.INFO: Processing buffer {"connection_id":204436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4382d8012d7d0c8005f2e3700009015e28..."} 
[2026-10-05 09:44:06] local.INFO: Packet analysis {"connection_id":204436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a43"} 
[2026-10-05 09:44:06] local.INFO: Extracted packet for processing {"connection_id":204436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a43"} 
[2026-10-05 09:44:06] local.INFO: GPS Element Parsed {"raw_longitude":763169920,"raw_latitude":99804016,"longitude_deg":76.316992,"latitude_deg":9.9804016,"altitude":9,"angle":350,"satellites":40,"speed":39,"hex_longitude":"2d7d0c80","hex_latitude":"05f2e370","is_valid_coordinates":true} 
[2026-10-05 09:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540428544001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139450952376647680,"note":"Value kept but may cause issues"} 
[2026-10-05 09:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011984354892402688,"note":"Value kept but may cause issues"} 
[2026-10-05 09:44:06] 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-10-05 09:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791173559000,"timestamp_ms":1791173559000,"timestamp_seconds":1791173559,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4382d8"} 
[2026-10-05 09:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-10-05 09:44:06] 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-10-05 09:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540428544001,"66":13363,"28":206,"87":13056,"24":39,"16":139450952376647680,"45":9011984354892402688},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,87,24,16,45]} 
[2026-10-05 09:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540428544001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:44:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-10-05 09:44:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-10-05 09:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139450952376647680,"km_value":139450952376647.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011984354892402688,"description":"Unknown IO ID 45"} 
[2026-10-05 09:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540428544001,"power":13363,"unknown_28":206,"unknown_87":13056,"ignition":39,"odometer":null,"unknown_45":9011984354892402688}} 
[2026-10-05 09:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":204436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:44:06] local.INFO: GPS data processed {"connection_id":204436,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:44:06] local.INFO: Acknowledgment sent {"connection_id":204436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:44:11] local.INFO: TCP Data received {"connection_id":204437,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204437,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:44:11] local.INFO: Processing buffer {"connection_id":204437,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:44:11] local.INFO: IMEI packet received {"connection_id":204437,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":204437,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:44:16] local.INFO: TCP Data received {"connection_id":204437,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204437,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:44:16] local.INFO: Processing buffer {"connection_id":204437,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:44:16] local.INFO: IMEI packet received {"connection_id":204437,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":204437,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:44:17] local.INFO: TCP Data received {"connection_id":204437,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a43b5a0012d0c94c0070415a8001400df25..."} 
[2026-10-05 09:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a43b5a0012d0c94c0070415a8001400df25..."} 
[2026-10-05 09:44:17] local.INFO: Processing buffer {"connection_id":204437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a43b5a0012d0c94c0070415a8001400df25..."} 
[2026-10-05 09:44:17] local.INFO: Packet analysis {"connection_id":204437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a43"} 
[2026-10-05 09:44:17] local.INFO: Extracted packet for processing {"connection_id":204437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a43"} 
[2026-10-05 09:44:17] local.INFO: GPS Element Parsed {"raw_longitude":755799232,"raw_latitude":117708200,"longitude_deg":75.5799232,"latitude_deg":11.77082,"altitude":20,"angle":223,"satellites":37,"speed":36,"hex_longitude":"2d0c94c0","hex_latitude":"070415a8","is_valid_coordinates":true} 
[2026-10-05 09:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540432640001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34773425322983424,"note":"Value kept but may cause issues"} 
[2026-10-05 09:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910641948537786368,"note":"Value kept but may cause issues"} 
[2026-10-05 09:44:17] 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-10-05 09:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791173572000,"timestamp_ms":1791173572000,"timestamp_seconds":1791173572,"priority":1,"record_length":96,"hex_timestamp":"000001a10a43b5a0"} 
[2026-10-05 09:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-05 09:44:17] 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-10-05 09:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":204437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":204437,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":204437,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540432640001,"66":14439,"95":206,"94":10240,"24":36,"16":34773425322983424,"45":910641948537786368},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-10-05 09:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540432640001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:44:17] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 09:44:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 09:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34773425322983424,"km_value":34773425322983.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":910641948537786368,"description":"Unknown IO ID 45"} 
[2026-10-05 09:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540432640001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":36,"odometer":null,"unknown_45":910641948537786368}} 
[2026-10-05 09:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":204437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966533,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:44:17] local.INFO: GPS data processed {"connection_id":204437,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:44:17] local.INFO: Acknowledgment sent {"connection_id":204437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:44:32] local.INFO: TCP Data received {"connection_id":204435,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:44:32] local.INFO: Processing buffer {"connection_id":204435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:44:32] local.INFO: Packet analysis {"connection_id":204435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:44:32] local.INFO: Extracted packet for processing {"connection_id":204435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:44:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":36,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540307968001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:44: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-10-05 09:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791173379000,"timestamp_ms":1791173379000,"timestamp_seconds":1791173379,"priority":1,"record_length":96,"hex_timestamp":"000001a10a40c3b8"} 
[2026-10-05 09:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:44:32] 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-10-05 09:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 09:44: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-10-05 09:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:44: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-10-05 09:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540307968001,"66":25625,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540307968001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:44:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:44:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540307968001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":204435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:44:32] local.INFO: GPS data processed {"connection_id":204435,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:44:32] local.INFO: Acknowledgment sent {"connection_id":204435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:44:39] local.INFO: TCP Data received {"connection_id":204436,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a43a9e8012d7d060005f309380009015e28..."} 
[2026-10-05 09:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a43a9e8012d7d060005f309380009015e28..."} 
[2026-10-05 09:44:39] local.INFO: Processing buffer {"connection_id":204436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a43a9e8012d7d060005f309380009015e28..."} 
[2026-10-05 09:44:39] local.INFO: Packet analysis {"connection_id":204436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a43"} 
[2026-10-05 09:44:39] local.INFO: Extracted packet for processing {"connection_id":204436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a43"} 
[2026-10-05 09:44:39] local.INFO: GPS Element Parsed {"raw_longitude":763168256,"raw_latitude":99813688,"longitude_deg":76.3168256,"latitude_deg":9.9813688,"altitude":9,"angle":350,"satellites":40,"speed":40,"hex_longitude":"2d7d0600","hex_latitude":"05f30938","is_valid_coordinates":true} 
[2026-10-05 09:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540431104001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139451424823050240,"note":"Value kept but may cause issues"} 
[2026-10-05 09:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010717717499703296,"note":"Value kept but may cause issues"} 
[2026-10-05 09:44:39] 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-10-05 09:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791173569000,"timestamp_ms":1791173569000,"timestamp_seconds":1791173569,"priority":1,"record_length":96,"hex_timestamp":"000001a10a43a9e8"} 
[2026-10-05 09:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:44: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-10-05 09:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-10-05 09:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":204436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":204436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":204436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540431104001,"66":13830,"28":206,"87":13056,"24":40,"16":139451424823050240,"45":9010717717499703296},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,87,24,16,45]} 
[2026-10-05 09:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540431104001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:44:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-10-05 09:44:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-10-05 09:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139451424823050240,"km_value":139451424823050.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010717717499703296,"description":"Unknown IO ID 45"} 
[2026-10-05 09:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540431104001,"power":13830,"unknown_28":206,"unknown_87":13056,"ignition":40,"odometer":null,"unknown_45":9010717717499703296}} 
[2026-10-05 09:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":204436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:44:39] local.INFO: GPS data processed {"connection_id":204436,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:44:39] local.INFO: Acknowledgment sent {"connection_id":204436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:44:48] local.INFO: TCP Data received {"connection_id":204437,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4501a8012d0c6a800703b420001700bf25..."} 
[2026-10-05 09:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4501a8012d0c6a800703b420001700bf25..."} 
[2026-10-05 09:44:48] local.INFO: Processing buffer {"connection_id":204437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4501a8012d0c6a800703b420001700bf25..."} 
[2026-10-05 09:44:48] local.INFO: Packet analysis {"connection_id":204437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:44:48] local.INFO: Extracted packet for processing {"connection_id":204437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:44:48] local.INFO: GPS Element Parsed {"raw_longitude":755788416,"raw_latitude":117683232,"longitude_deg":75.5788416,"latitude_deg":11.7683232,"altitude":23,"angle":191,"satellites":37,"speed":21,"hex_longitude":"2d0c6a80","hex_latitude":"0703b420","is_valid_coordinates":true} 
[2026-10-05 09:44: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-10-05 09:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540452352001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34775461137481728,"note":"Value kept but may cause issues"} 
[2026-10-05 09:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895512668534226944,"note":"Value kept but may cause issues"} 
[2026-10-05 09:44:48] 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-10-05 09:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791173657000,"timestamp_ms":1791173657000,"timestamp_seconds":1791173657,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4501a8"} 
[2026-10-05 09:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-10-05 09:44:48] 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-10-05 09:44: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-10-05 09:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204437,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204437,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540452352001,"66":14439,"16":34775461137481728,"94":11008,"24":21,"45":895512668534226944},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-10-05 09:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540452352001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34775461137481728,"km_value":34775461137481.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:44:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 09:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":895512668534226944,"description":"Unknown IO ID 45"} 
[2026-10-05 09:44:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458540452352001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":21,"unknown_45":895512668534226944}} 
[2026-10-05 09:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":204437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966536,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:44:48] local.INFO: GPS data processed {"connection_id":204437,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:44:48] local.INFO: Acknowledgment sent {"connection_id":204437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:44:55] local.INFO: TCP Data received {"connection_id":207404,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:44:55] local.INFO: Processing buffer {"connection_id":207404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:44:55] local.INFO: IMEI packet received {"connection_id":207404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":207404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:44:59] local.INFO: TCP Data received {"connection_id":205852,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:44:59] local.INFO: Processing buffer {"connection_id":205852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:44:59] local.INFO: IMEI packet received {"connection_id":205852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":205852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:45:00] local.INFO: TCP Data received {"connection_id":207404,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:45:00] local.INFO: Processing buffer {"connection_id":207404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:45:00] local.INFO: IMEI packet received {"connection_id":207404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":207404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:45:01] local.INFO: TCP Data received {"connection_id":205852,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:45:01] local.INFO: Processing buffer {"connection_id":205852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:45:01] local.INFO: IMEI packet received {"connection_id":205852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":205852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:45:02] local.INFO: TCP Data received {"connection_id":207404,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:45:02] local.INFO: Processing buffer {"connection_id":207404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a40c3b8012d7f908005afe470000000db24..."} 
[2026-10-05 09:45:02] local.INFO: Packet analysis {"connection_id":207404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:45:02] local.INFO: Extracted packet for processing {"connection_id":207404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a40"} 
[2026-10-05 09:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":36,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 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-10-05 09:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540307968001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:45: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-10-05 09:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791173379000,"timestamp_ms":1791173379000,"timestamp_seconds":1791173379,"priority":1,"record_length":96,"hex_timestamp":"000001a10a40c3b8"} 
[2026-10-05 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-10-05 09:45: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-10-05 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 09:45:02] 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-10-05 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-10-05 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-10-05 09:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:45:02] 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-10-05 09:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540307968001,"66":25625,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540307968001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:45:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:45:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540307968001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":207404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:45:02] local.INFO: GPS data processed {"connection_id":207404,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:45:02] local.INFO: Acknowledgment sent {"connection_id":207404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:45:02] local.INFO: TCP Data received {"connection_id":205852,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:45:02] local.INFO: Processing buffer {"connection_id":205852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:45:02] local.INFO: IMEI packet received {"connection_id":205852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":205852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:45:05] local.INFO: TCP Data received {"connection_id":205852,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:45:05] local.INFO: Processing buffer {"connection_id":205852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:45:05] local.INFO: IMEI packet received {"connection_id":205852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":205852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:45:07] local.INFO: TCP Data received {"connection_id":205852,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a43d0f8012d7d004005f32cb8000a015e2a..."} 
[2026-10-05 09:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a43d0f8012d7d004005f32cb8000a015e2a..."} 
[2026-10-05 09:45:07] local.INFO: Processing buffer {"connection_id":205852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a43d0f8012d7d004005f32cb8000a015e2a..."} 
[2026-10-05 09:45:07] local.INFO: Packet analysis {"connection_id":205852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a43"} 
[2026-10-05 09:45:07] local.INFO: Extracted packet for processing {"connection_id":205852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a43"} 
[2026-10-05 09:45:07] local.INFO: GPS Element Parsed {"raw_longitude":763166784,"raw_latitude":99822776,"longitude_deg":76.3166784,"latitude_deg":9.9822776,"altitude":10,"angle":350,"satellites":42,"speed":31,"hex_longitude":"2d7d0040","hex_latitude":"05f32cb8","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540433664001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139451871499649024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008888130153560064,"note":"Value kept but may cause issues"} 
[2026-10-05 09:45:07] 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-10-05 09:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791173579000,"timestamp_ms":1791173579000,"timestamp_seconds":1791173579,"priority":1,"record_length":96,"hex_timestamp":"000001a10a43d0f8"} 
[2026-10-05 09:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 09:45:07] local.WARNING: Large IO value detected {"io_id":24,"raw_value":6473933070073856,"note":"Value kept but may cause issues"} 
[2026-10-05 09:45:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626602078208,"note":"Value kept but may cause issues"} 
[2026-10-05 09:45:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1226571982,"corrected_to":0} 
[2026-10-05 09:45:07] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812233,"note":"Value kept but may cause issues"} 
[2026-10-05 09:45:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4062953472,"note":"Value kept but may cause issues"} 
[2026-10-05 09:45:07] local.WARNING: Large IO value detected {"io_id":117,"raw_value":5764939013509088754,"note":"Value kept but may cause issues"} 
[2026-10-05 09:45:07] local.WARNING: Large IO value detected {"io_id":7,"raw_value":-1729366857805463516,"note":"Value kept but may cause issues"} 
[2026-10-05 09:45:07] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,28,87,24,241,157,16,110,161,130,45,128,227,9,40,10,66,109,91,189,39,56,64,1,240,62,242,4,113,205,29,43,239,53,2,5,12,23,117,7],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1226571982,"validated":0}]} 
[2026-10-05 09:45:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648903347212386304,"timestamp_seconds":648903347212386.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 09:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540433664001,"66":13472,"28":206,"87":13056,"24":31,"16":139451871499649024,"45":9008888130153560064},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,87,24,16,45]} 
[2026-10-05 09:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540433664001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:45:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-10-05 09:45:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-10-05 09:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139451871499649024,"km_value":139451871499649.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008888130153560064,"description":"Unknown IO ID 45"} 
[2026-10-05 09:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540433664001,"power":13472,"unknown_28":206,"unknown_87":13056,"ignition":31,"odometer":null,"unknown_45":9008888130153560064}} 
[2026-10-05 09:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":205852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:45:07] local.INFO: GPS data processed {"connection_id":205852,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:45:07] local.INFO: Acknowledgment sent {"connection_id":205852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:45:11] local.INFO: TCP Data received {"connection_id":207405,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207405,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:45:11] local.INFO: Processing buffer {"connection_id":207405,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:45:11] local.INFO: IMEI packet received {"connection_id":207405,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":207405,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:45:16] local.INFO: TCP Data received {"connection_id":207405,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207405,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:45:16] local.INFO: Processing buffer {"connection_id":207405,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:45:16] local.INFO: IMEI packet received {"connection_id":207405,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":207405,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:45:17] local.INFO: TCP Data received {"connection_id":207405,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4528b8012d0c68400703a628001800cb26..."} 
[2026-10-05 09:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4528b8012d0c68400703a628001800cb26..."} 
[2026-10-05 09:45:17] local.INFO: Processing buffer {"connection_id":207405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4528b8012d0c68400703a628001800cb26..."} 
[2026-10-05 09:45:17] local.INFO: Packet analysis {"connection_id":207405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:45:17] local.INFO: Extracted packet for processing {"connection_id":207405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:45:17] local.INFO: GPS Element Parsed {"raw_longitude":755787840,"raw_latitude":117679656,"longitude_deg":75.578784,"latitude_deg":11.7679656,"altitude":24,"angle":203,"satellites":38,"speed":11,"hex_longitude":"2d0c6840","hex_latitude":"0703a628","is_valid_coordinates":true} 
[2026-10-05 09:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540456192001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34775637231140864,"note":"Value kept but may cause issues"} 
[2026-10-05 09:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894668243601727488,"note":"Value kept but may cause issues"} 
[2026-10-05 09:45:17] 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-10-05 09:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791173667000,"timestamp_ms":1791173667000,"timestamp_seconds":1791173667,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4528b8"} 
[2026-10-05 09:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:45: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-10-05 09:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-05 09:45:17] 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-10-05 09:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":207405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":207405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":207405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540456192001,"66":14439,"16":34775637231140864,"94":11008,"24":11,"45":894668243601727488},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-10-05 09:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540456192001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34775637231140864,"km_value":34775637231140.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:45:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 09:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":894668243601727488,"description":"Unknown IO ID 45"} 
[2026-10-05 09:45:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458540456192001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":11,"unknown_45":894668243601727488}} 
[2026-10-05 09:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":207405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966539,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:45:17] local.INFO: GPS data processed {"connection_id":207405,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:45:17] local.INFO: Acknowledgment sent {"connection_id":207405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:45:33] local.INFO: TCP Data received {"connection_id":207404,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:45:33] local.INFO: Processing buffer {"connection_id":207404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:45:33] local.INFO: Packet analysis {"connection_id":207404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:45:33] local.INFO: Extracted packet for processing {"connection_id":207404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 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-10-05 09:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540385024001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:45: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-10-05 09:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791173680000,"timestamp_ms":1791173680000,"timestamp_seconds":1791173680,"priority":1,"record_length":96,"hex_timestamp":"000001a10a455b80"} 
[2026-10-05 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-10-05 09:45:33] 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-10-05 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 09:45:33] 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-10-05 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-10-05 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-10-05 09:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:45:33] 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-10-05 09:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540385024001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540385024001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:45:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540385024001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":207404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:45:33] local.INFO: GPS data processed {"connection_id":207404,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:45:33] local.INFO: Acknowledgment sent {"connection_id":207404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:45:50] local.INFO: TCP Data received {"connection_id":205852,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a43ffd8012d7cf9c005f351d8000a015e2b..."} 
[2026-10-05 09:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a43ffd8012d7cf9c005f351d8000a015e2b..."} 
[2026-10-05 09:45:50] local.INFO: Processing buffer {"connection_id":205852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a43ffd8012d7cf9c005f351d8000a015e2b..."} 
[2026-10-05 09:45:50] local.INFO: Packet analysis {"connection_id":205852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a43"} 
[2026-10-05 09:45:50] local.INFO: Extracted packet for processing {"connection_id":205852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a43"} 
[2026-10-05 09:45:50] local.INFO: GPS Element Parsed {"raw_longitude":763165120,"raw_latitude":99832280,"longitude_deg":76.316512,"latitude_deg":9.983228,"altitude":10,"angle":350,"satellites":43,"speed":34,"hex_longitude":"2d7cf9c0","hex_latitude":"05f351d8","is_valid_coordinates":true} 
[2026-10-05 09:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540436224001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139452339651084288,"note":"Value kept but may cause issues"} 
[2026-10-05 09:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007269649039800320,"note":"Value kept but may cause issues"} 
[2026-10-05 09:45:50] 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-10-05 09:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1791173591000,"timestamp_ms":1791173591000,"timestamp_seconds":1791173591,"priority":1,"record_length":96,"hex_timestamp":"000001a10a43ffd8"} 
[2026-10-05 09:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-10-05 09:45:50] 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-10-05 09:45:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":205852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":205852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":205852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540436224001,"66":13830,"28":206,"87":13056,"24":34,"16":139452339651084288,"45":9007269649039800320},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,87,24,16,45]} 
[2026-10-05 09:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540436224001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:45:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-10-05 09:45:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-10-05 09:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139452339651084288,"km_value":139452339651084.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007269649039800320,"description":"Unknown IO ID 45"} 
[2026-10-05 09:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540436224001,"power":13830,"unknown_28":206,"unknown_87":13056,"ignition":34,"odometer":null,"unknown_45":9007269649039800320}} 
[2026-10-05 09:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":205852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:45:50] local.INFO: GPS data processed {"connection_id":205852,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:45:50] local.INFO: Acknowledgment sent {"connection_id":205852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:45:59] local.INFO: TCP Data received {"connection_id":204439,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:45:59] local.INFO: Processing buffer {"connection_id":204439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:45:59] local.INFO: IMEI packet received {"connection_id":204439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":204439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:46:00] local.INFO: TCP Data received {"connection_id":207406,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:46:00] local.INFO: Processing buffer {"connection_id":207406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:46:00] local.INFO: IMEI packet received {"connection_id":207406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":207406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:46:05] local.INFO: TCP Data received {"connection_id":204439,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:46:05] local.INFO: Processing buffer {"connection_id":204439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:46:05] local.INFO: IMEI packet received {"connection_id":204439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":204439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:46:05] local.INFO: TCP Data received {"connection_id":207406,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:46:05] local.INFO: Processing buffer {"connection_id":207406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:46:05] local.INFO: IMEI packet received {"connection_id":207406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":207406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:46:05] local.INFO: TCP Data received {"connection_id":204439,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a461700012d7ccf0005f44f70001001612a..."} 
[2026-10-05 09:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a461700012d7ccf0005f44f70001001612a..."} 
[2026-10-05 09:46:05] local.INFO: Processing buffer {"connection_id":204439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a461700012d7ccf0005f44f70001001612a..."} 
[2026-10-05 09:46:05] local.INFO: Packet analysis {"connection_id":204439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a46"} 
[2026-10-05 09:46:05] local.INFO: Extracted packet for processing {"connection_id":204439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a46"} 
[2026-10-05 09:46:05] local.INFO: GPS Element Parsed {"raw_longitude":763154176,"raw_latitude":99897200,"longitude_deg":76.3154176,"latitude_deg":9.98972,"altitude":16,"angle":353,"satellites":42,"speed":19,"hex_longitude":"2d7ccf00","hex_latitude":"05f44f70","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540469760001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139455547991654400,"note":"Value kept but may cause issues"} 
[2026-10-05 09:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994462537616211968,"note":"Value kept but may cause issues"} 
[2026-10-05 09:46:05] 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-10-05 09:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791173728000,"timestamp_ms":1791173728000,"timestamp_seconds":1791173728,"priority":1,"record_length":96,"hex_timestamp":"000001a10a461700"} 
[2026-10-05 09:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:46: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-10-05 09: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 09:46:05] 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-10-05 09: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-10-05 09:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540469760001,"66":13820,"250":206,"87":13056,"24":19,"16":139455547991654400,"45":8994462537616211968},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-10-05 09:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540469760001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:46:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:46:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-10-05 09:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139455547991654400,"km_value":139455547991654.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994462537616211968,"description":"Unknown IO ID 45"} 
[2026-10-05 09:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540469760001,"power":13820,"unknown_250":206,"unknown_87":13056,"ignition":19,"odometer":null,"unknown_45":8994462537616211968}} 
[2026-10-05 09:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":204439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:46:05] local.INFO: GPS data processed {"connection_id":204439,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:46:05] local.INFO: Acknowledgment sent {"connection_id":204439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:46:06] local.INFO: TCP Data received {"connection_id":207406,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:46:06] local.INFO: Processing buffer {"connection_id":207406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:46:06] local.INFO: Packet analysis {"connection_id":207406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:46:06] local.INFO: Extracted packet for processing {"connection_id":207406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:46:06] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540385024001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:46: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-10-05 09:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791173680000,"timestamp_ms":1791173680000,"timestamp_seconds":1791173680,"priority":1,"record_length":96,"hex_timestamp":"000001a10a455b80"} 
[2026-10-05 09:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:46:06] 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-10-05 09:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 09:46: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-10-05 09: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-10-05 09:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540385024001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540385024001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:46:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:46:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540385024001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":207406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:46:06] local.INFO: GPS data processed {"connection_id":207406,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:46:06] local.INFO: Acknowledgment sent {"connection_id":207406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:46:09] local.INFO: TCP Data received {"connection_id":204302,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204302,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:46:09] local.INFO: Processing buffer {"connection_id":204302,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:46:09] local.INFO: IMEI packet received {"connection_id":204302,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":204302,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:46:11] local.INFO: TCP Data received {"connection_id":204302,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204302,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:46:11] local.INFO: Processing buffer {"connection_id":204302,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:46:11] local.INFO: IMEI packet received {"connection_id":204302,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":204302,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:46:11] local.INFO: TCP Data received {"connection_id":207406,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:46:11] local.INFO: Processing buffer {"connection_id":207406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:46:11] local.INFO: Packet analysis {"connection_id":207406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:46:11] local.INFO: Extracted packet for processing {"connection_id":207406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:46:11] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540385024001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791173680000,"timestamp_ms":1791173680000,"timestamp_seconds":1791173680,"priority":1,"record_length":96,"hex_timestamp":"000001a10a455b80"} 
[2026-10-05 09:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:46:11] 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-10-05 09:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 09:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:46:11] 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-10-05 09:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540385024001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540385024001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:46:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:46:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540385024001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":207406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:46:11] local.INFO: GPS data processed {"connection_id":207406,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:46:11] local.INFO: Acknowledgment sent {"connection_id":207406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:46:17] local.INFO: TCP Data received {"connection_id":204302,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204302,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:46:17] local.INFO: Processing buffer {"connection_id":204302,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:46:17] local.INFO: IMEI packet received {"connection_id":204302,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":204302,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:46:18] local.INFO: TCP Data received {"connection_id":204302,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a455798012d0c640007039970001700bf27..."} 
[2026-10-05 09:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a455798012d0c640007039970001700bf27..."} 
[2026-10-05 09:46:18] local.INFO: Processing buffer {"connection_id":204302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a455798012d0c640007039970001700bf27..."} 
[2026-10-05 09:46:18] local.INFO: Packet analysis {"connection_id":204302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:46:18] local.INFO: Extracted packet for processing {"connection_id":204302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:46:18] local.INFO: GPS Element Parsed {"raw_longitude":755786752,"raw_latitude":117676400,"longitude_deg":75.5786752,"latitude_deg":11.76764,"altitude":23,"angle":191,"satellites":39,"speed":7,"hex_longitude":"2d0c6400","hex_latitude":"07039970","is_valid_coordinates":true} 
[2026-10-05 09:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540458752001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34775804734865408,"note":"Value kept but may cause issues"} 
[2026-10-05 09:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894034924903213056,"note":"Value kept but may cause issues"} 
[2026-10-05 09:46:18] 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-10-05 09:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791173679000,"timestamp_ms":1791173679000,"timestamp_seconds":1791173679,"priority":1,"record_length":96,"hex_timestamp":"000001a10a455798"} 
[2026-10-05 09:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-05 09:46: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-10-05 09:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":204302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":204302,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":204302,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540458752001,"66":14450,"16":34775804734865408,"94":11008,"24":7,"45":894034924903213056},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-10-05 09:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540458752001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34775804734865408,"km_value":34775804734865.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:46:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 09:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":894034924903213056,"description":"Unknown IO ID 45"} 
[2026-10-05 09:46:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458540458752001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":7,"unknown_45":894034924903213056}} 
[2026-10-05 09:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":204302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966545,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:46:18] local.INFO: GPS data processed {"connection_id":204302,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:46:18] local.INFO: Acknowledgment sent {"connection_id":204302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:46:44] local.INFO: TCP Data received {"connection_id":204439,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a465968012d7cc9c005f47428001101602a..."} 
[2026-10-05 09:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a465968012d7cc9c005f47428001101602a..."} 
[2026-10-05 09:46:44] local.INFO: Processing buffer {"connection_id":204439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a465968012d7cc9c005f47428001101602a..."} 
[2026-10-05 09:46:44] local.INFO: Packet analysis {"connection_id":204439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a46"} 
[2026-10-05 09:46:44] local.INFO: Extracted packet for processing {"connection_id":204439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a46"} 
[2026-10-05 09:46:44] local.INFO: GPS Element Parsed {"raw_longitude":763152832,"raw_latitude":99906600,"longitude_deg":76.3152832,"latitude_deg":9.99066,"altitude":17,"angle":352,"satellites":42,"speed":33,"hex_longitude":"2d7cc9c0","hex_latitude":"05f47428","is_valid_coordinates":true} 
[2026-10-05 09:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540474368001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139456007553155072,"note":"Value kept but may cause issues"} 
[2026-10-05 09:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993407006455853056,"note":"Value kept but may cause issues"} 
[2026-10-05 09:46:44] 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-10-05 09:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791173745000,"timestamp_ms":1791173745000,"timestamp_seconds":1791173745,"priority":1,"record_length":96,"hex_timestamp":"000001a10a465968"} 
[2026-10-05 09:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 09:46:44] 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-10-05 09:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":204439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":204439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":204439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540474368001,"66":13798,"250":206,"87":13056,"24":33,"16":139456007553155072,"45":8993407006455853056},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-10-05 09:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540474368001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:46:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:46:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-10-05 09:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139456007553155072,"km_value":139456007553155.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993407006455853056,"description":"Unknown IO ID 45"} 
[2026-10-05 09:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540474368001,"power":13798,"unknown_250":206,"unknown_87":13056,"ignition":33,"odometer":null,"unknown_45":8993407006455853056}} 
[2026-10-05 09:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":204439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:46:44] local.INFO: GPS data processed {"connection_id":204439,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:46:44] local.INFO: Acknowledgment sent {"connection_id":204439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:46:49] local.INFO: TCP Data received {"connection_id":204302,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a472870012d0c388007035fa0001300be24..."} 
[2026-10-05 09:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a472870012d0c388007035fa0001300be24..."} 
[2026-10-05 09:46:49] local.INFO: Processing buffer {"connection_id":204302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a472870012d0c388007035fa0001300be24..."} 
[2026-10-05 09:46:49] local.INFO: Packet analysis {"connection_id":204302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a47"} 
[2026-10-05 09:46:49] local.INFO: Extracted packet for processing {"connection_id":204302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a47"} 
[2026-10-05 09:46:49] local.INFO: GPS Element Parsed {"raw_longitude":755775616,"raw_latitude":117661600,"longitude_deg":75.5775616,"latitude_deg":11.76616,"altitude":19,"angle":190,"satellites":36,"speed":8,"hex_longitude":"2d0c3880","hex_latitude":"07035fa0","is_valid_coordinates":true} 
[2026-10-05 09:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540492032001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34776887066624000,"note":"Value kept but may cause issues"} 
[2026-10-05 09:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880664863504887808,"note":"Value kept but may cause issues"} 
[2026-10-05 09:46:49] 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-10-05 09:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1791173798000,"timestamp_ms":1791173798000,"timestamp_seconds":1791173798,"priority":1,"record_length":96,"hex_timestamp":"000001a10a472870"} 
[2026-10-05 09:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-05 09:46:49] 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-10-05 09:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":204302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":204302,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":204302,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540492032001,"66":14537,"16":34776887066624000,"94":11008,"24":8,"45":880664863504887808},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-10-05 09:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540492032001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34776887066624000,"km_value":34776887066624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:46:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 09:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":880664863504887808,"description":"Unknown IO ID 45"} 
[2026-10-05 09:46:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458540492032001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":880664863504887808}} 
[2026-10-05 09:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":204302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966547,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:46:49] local.INFO: GPS data processed {"connection_id":204302,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:46:49] local.INFO: Acknowledgment sent {"connection_id":204302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:46:56] local.INFO: TCP Data received {"connection_id":204303,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:46:56] local.INFO: Processing buffer {"connection_id":204303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:46:56] local.INFO: IMEI packet received {"connection_id":204303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":204303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:47:00] local.INFO: TCP Data received {"connection_id":204303,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:47:00] local.INFO: Processing buffer {"connection_id":204303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:47:00] local.INFO: IMEI packet received {"connection_id":204303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":204303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:47:01] local.INFO: TCP Data received {"connection_id":204303,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:47:01] local.INFO: Processing buffer {"connection_id":204303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:47:01] local.INFO: Packet analysis {"connection_id":204303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:47:01] local.INFO: Extracted packet for processing {"connection_id":204303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:47:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540385024001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:47: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-10-05 09:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791173680000,"timestamp_ms":1791173680000,"timestamp_seconds":1791173680,"priority":1,"record_length":96,"hex_timestamp":"000001a10a455b80"} 
[2026-10-05 09:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:47: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-10-05 09:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 09:47: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-10-05 09:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:47: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-10-05 09:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540385024001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540385024001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:47:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:47:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540385024001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":204303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:47:01] local.INFO: GPS data processed {"connection_id":204303,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:47:01] local.INFO: Acknowledgment sent {"connection_id":204303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:47:05] local.INFO: TCP Data received {"connection_id":205853,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:47:05] local.INFO: Processing buffer {"connection_id":205853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:47:05] local.INFO: IMEI packet received {"connection_id":205853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":205853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:47:06] local.INFO: TCP Data received {"connection_id":204303,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:47:06] local.INFO: Processing buffer {"connection_id":204303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:47:06] local.INFO: Packet analysis {"connection_id":204303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:47:06] local.INFO: Extracted packet for processing {"connection_id":204303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:47:06] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540385024001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:47: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-10-05 09:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791173680000,"timestamp_ms":1791173680000,"timestamp_seconds":1791173680,"priority":1,"record_length":96,"hex_timestamp":"000001a10a455b80"} 
[2026-10-05 09:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:47:06] 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-10-05 09:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 09:47: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-10-05 09:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540385024001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540385024001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:47:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:47:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540385024001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":204303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:47:06] local.INFO: GPS data processed {"connection_id":204303,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:47:06] local.INFO: Acknowledgment sent {"connection_id":204303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:47:11] local.INFO: TCP Data received {"connection_id":205853,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:47:11] local.INFO: Processing buffer {"connection_id":205853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:47:11] local.INFO: IMEI packet received {"connection_id":205853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":205853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:47:11] local.INFO: TCP Data received {"connection_id":204304,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204304,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:47:11] local.INFO: Processing buffer {"connection_id":204304,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:47:11] local.INFO: IMEI packet received {"connection_id":204304,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":204304,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:47:13] local.INFO: TCP Data received {"connection_id":205853,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a468078012d7cc38005f499e80010015f2b..."} 
[2026-10-05 09:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a468078012d7cc38005f499e80010015f2b..."} 
[2026-10-05 09:47:13] local.INFO: Processing buffer {"connection_id":205853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a468078012d7cc38005f499e80010015f2b..."} 
[2026-10-05 09:47:13] local.INFO: Packet analysis {"connection_id":205853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a46"} 
[2026-10-05 09:47:13] local.INFO: Extracted packet for processing {"connection_id":205853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a46"} 
[2026-10-05 09:47:13] local.INFO: GPS Element Parsed {"raw_longitude":763151232,"raw_latitude":99916264,"longitude_deg":76.3151232,"latitude_deg":9.9916264,"altitude":16,"angle":351,"satellites":43,"speed":39,"hex_longitude":"2d7cc380","hex_latitude":"05f499e8","is_valid_coordinates":true} 
[2026-10-05 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-10-05 09:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540478720001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139456484294524928,"note":"Value kept but may cause issues"} 
[2026-10-05 09:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8991929262830528512,"note":"Value kept but may cause issues"} 
[2026-10-05 09:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791173755000,"timestamp_ms":1791173755000,"timestamp_seconds":1791173755,"priority":1,"record_length":96,"hex_timestamp":"000001a10a468078"} 
[2026-10-05 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-10-05 09:47:13] 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-10-05 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 09:47: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-10-05 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-10-05 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-10-05 09:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":205853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":205853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":205853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540478720001,"66":13678,"176":206,"87":12800,"24":39,"16":139456484294524928,"45":8991929262830528512},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,87,24,16,45]} 
[2026-10-05 09:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540478720001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:47:13] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 09:47:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 09:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139456484294524928,"km_value":139456484294524.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8991929262830528512,"description":"Unknown IO ID 45"} 
[2026-10-05 09:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540478720001,"power":13678,"unknown_176":206,"unknown_87":12800,"ignition":39,"odometer":null,"unknown_45":8991929262830528512}} 
[2026-10-05 09:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":205853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:47:13] local.INFO: GPS data processed {"connection_id":205853,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:47:13] local.INFO: Acknowledgment sent {"connection_id":205853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:47:16] local.INFO: TCP Data received {"connection_id":204304,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204304,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:47:16] local.INFO: Processing buffer {"connection_id":204304,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:47:16] local.INFO: IMEI packet received {"connection_id":204304,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":204304,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:47:17] local.INFO: TCP Data received {"connection_id":204304,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a473040012d0c388007035e08001200b024..."} 
[2026-10-05 09:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a473040012d0c388007035e08001200b024..."} 
[2026-10-05 09:47:17] local.INFO: Processing buffer {"connection_id":204304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a473040012d0c388007035e08001200b024..."} 
[2026-10-05 09:47:17] local.INFO: Packet analysis {"connection_id":204304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a47"} 
[2026-10-05 09:47:17] local.INFO: Extracted packet for processing {"connection_id":204304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a47"} 
[2026-10-05 09:47:17] local.INFO: GPS Element Parsed {"raw_longitude":755775616,"raw_latitude":117661192,"longitude_deg":75.5775616,"latitude_deg":11.7661192,"altitude":18,"angle":176,"satellites":36,"speed":7,"hex_longitude":"2d0c3880","hex_latitude":"07035e08","is_valid_coordinates":true} 
[2026-10-05 09:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540492288001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34776904246493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880594494760656896,"note":"Value kept but may cause issues"} 
[2026-10-05 09:47: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-10-05 09:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791173800000,"timestamp_ms":1791173800000,"timestamp_seconds":1791173800,"priority":1,"record_length":96,"hex_timestamp":"000001a10a473040"} 
[2026-10-05 09:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:47:17] 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-10-05 09:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-05 09:47:17] 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-10-05 09:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":204304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":204304,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":204304,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540492288001,"66":14439,"37":206,"94":11008,"24":7,"16":34776904246493184,"45":880594494760656896},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 09:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540492288001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:47:17] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 09:47:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 09:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34776904246493184,"km_value":34776904246493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":880594494760656896,"description":"Unknown IO ID 45"} 
[2026-10-05 09:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540492288001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":880594494760656896}} 
[2026-10-05 09:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":204304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966551,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:47:17] local.INFO: GPS data processed {"connection_id":204304,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:47:17] local.INFO: Acknowledgment sent {"connection_id":204304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:47:20] local.INFO: TCP Data received {"connection_id":205853,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a46b340012d7cbd8005f4bd10000f015f2a..."} 
[2026-10-05 09:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a46b340012d7cbd8005f4bd10000f015f2a..."} 
[2026-10-05 09:47:20] local.INFO: Processing buffer {"connection_id":205853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a46b340012d7cbd8005f4bd10000f015f2a..."} 
[2026-10-05 09:47:20] local.INFO: Packet analysis {"connection_id":205853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a46"} 
[2026-10-05 09:47:20] local.INFO: Extracted packet for processing {"connection_id":205853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a46"} 
[2026-10-05 09:47:20] local.INFO: GPS Element Parsed {"raw_longitude":763149696,"raw_latitude":99925264,"longitude_deg":76.3149696,"latitude_deg":9.9925264,"altitude":15,"angle":351,"satellites":42,"speed":26,"hex_longitude":"2d7cbd80","hex_latitude":"05f4bd10","is_valid_coordinates":true} 
[2026-10-05 09:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540481280001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139456926676156416,"note":"Value kept but may cause issues"} 
[2026-10-05 09:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8990170044228560896,"note":"Value kept but may cause issues"} 
[2026-10-05 09:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791173768000,"timestamp_ms":1791173768000,"timestamp_seconds":1791173768,"priority":1,"record_length":96,"hex_timestamp":"000001a10a46b340"} 
[2026-10-05 09:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 09:47:20] 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-10-05 09:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":205853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":205853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":205853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540481280001,"66":13820,"177":206,"87":12800,"24":26,"16":139456926676156416,"45":8990170044228560896},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,87,24,16,45]} 
[2026-10-05 09:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540481280001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:47:20] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-05 09:47:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 09:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139456926676156416,"km_value":139456926676156.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8990170044228560896,"description":"Unknown IO ID 45"} 
[2026-10-05 09:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540481280001,"power":13820,"unknown_177":206,"unknown_87":12800,"ignition":26,"odometer":null,"unknown_45":8990170044228560896}} 
[2026-10-05 09:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":205853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:47:20] local.INFO: GPS data processed {"connection_id":205853,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:47:20] local.INFO: Acknowledgment sent {"connection_id":205853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:47:37] local.INFO: TCP Data received {"connection_id":204303,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:47:37] local.INFO: Processing buffer {"connection_id":204303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:47:37] local.INFO: Packet analysis {"connection_id":204303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:47:37] local.INFO: Extracted packet for processing {"connection_id":204303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:47:37] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540385024001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791173680000,"timestamp_ms":1791173680000,"timestamp_seconds":1791173680,"priority":1,"record_length":96,"hex_timestamp":"000001a10a455b80"} 
[2026-10-05 09:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:47:37] 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-10-05 09:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 09:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540385024001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540385024001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:47:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:47:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540385024001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":204303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:47:37] local.INFO: GPS data processed {"connection_id":204303,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:47:37] local.INFO: Acknowledgment sent {"connection_id":204303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:47:48] local.INFO: TCP Data received {"connection_id":204304,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a473bf8012d0c388007035b58001100be24..."} 
[2026-10-05 09:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a473bf8012d0c388007035b58001100be24..."} 
[2026-10-05 09:47:48] local.INFO: Processing buffer {"connection_id":204304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a473bf8012d0c388007035b58001100be24..."} 
[2026-10-05 09:47:48] local.INFO: Packet analysis {"connection_id":204304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a47"} 
[2026-10-05 09:47:48] local.INFO: Extracted packet for processing {"connection_id":204304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a47"} 
[2026-10-05 09:47:48] local.INFO: GPS Element Parsed {"raw_longitude":755775616,"raw_latitude":117660504,"longitude_deg":75.5775616,"latitude_deg":11.7660504,"altitude":17,"angle":190,"satellites":36,"speed":8,"hex_longitude":"2d0c3880","hex_latitude":"07035b58","is_valid_coordinates":true} 
[2026-10-05 09:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540492800001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34776938606231552,"note":"Value kept but may cause issues"} 
[2026-10-05 09:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880594494760552448,"note":"Value kept but may cause issues"} 
[2026-10-05 09:47: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-10-05 09:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791173803000,"timestamp_ms":1791173803000,"timestamp_seconds":1791173803,"priority":1,"record_length":96,"hex_timestamp":"000001a10a473bf8"} 
[2026-10-05 09:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:47:48] 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-10-05 09:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-05 09:47:48] 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-10-05 09:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204304,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204304,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540492800001,"66":14396,"37":206,"94":11008,"24":8,"16":34776938606231552,"45":880594494760552448},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 09:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540492800001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:47:48] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 09:47:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 09:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34776938606231552,"km_value":34776938606231.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":880594494760552448,"description":"Unknown IO ID 45"} 
[2026-10-05 09:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540492800001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":880594494760552448}} 
[2026-10-05 09:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":204304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966554,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:47:48] local.INFO: GPS data processed {"connection_id":204304,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:47:48] local.INFO: Acknowledgment sent {"connection_id":204304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:47:55] local.INFO: TCP Data received {"connection_id":204441,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:47:55] local.INFO: Processing buffer {"connection_id":204441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:47:55] local.INFO: IMEI packet received {"connection_id":204441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":204441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:47:56] local.INFO: TCP Data received {"connection_id":204442,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:47:56] local.INFO: Processing buffer {"connection_id":204442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:47:56] local.INFO: IMEI packet received {"connection_id":204442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":204442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:47:59] local.INFO: TCP Data received {"connection_id":204442,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:47:59] local.INFO: Processing buffer {"connection_id":204442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:47:59] local.INFO: IMEI packet received {"connection_id":204442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":204442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:48:00] local.INFO: TCP Data received {"connection_id":204441,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:48:00] local.INFO: Processing buffer {"connection_id":204441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:48:00] local.INFO: IMEI packet received {"connection_id":204441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":204441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:48:01] local.INFO: TCP Data received {"connection_id":204441,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:48:01] local.INFO: Processing buffer {"connection_id":204441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:48:01] local.INFO: Packet analysis {"connection_id":204441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:48:01] local.INFO: Extracted packet for processing {"connection_id":204441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:48:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540385024001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791173680000,"timestamp_ms":1791173680000,"timestamp_seconds":1791173680,"priority":1,"record_length":96,"hex_timestamp":"000001a10a455b80"} 
[2026-10-05 09:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:48: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-10-05 09: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":25,"data_length":795,"current_offset":136} 
[2026-10-05 09:48: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-10-05 09: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-10-05 09:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:48: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-10-05 09:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540385024001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540385024001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:48:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:48:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540385024001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":204441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:48:01] local.INFO: GPS data processed {"connection_id":204441,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:48:01] local.INFO: Acknowledgment sent {"connection_id":204441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:48:06] local.INFO: TCP Data received {"connection_id":204442,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:48:06] local.INFO: Processing buffer {"connection_id":204442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:48:06] local.INFO: IMEI packet received {"connection_id":204442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":204442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:48:07] local.INFO: TCP Data received {"connection_id":204442,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a46e608012d7cb74005f4e228000e015d2a..."} 
[2026-10-05 09:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a46e608012d7cb74005f4e228000e015d2a..."} 
[2026-10-05 09:48:07] local.INFO: Processing buffer {"connection_id":204442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a46e608012d7cb74005f4e228000e015d2a..."} 
[2026-10-05 09:48:07] local.INFO: Packet analysis {"connection_id":204442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a46"} 
[2026-10-05 09:48:07] local.INFO: Extracted packet for processing {"connection_id":204442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a46"} 
[2026-10-05 09:48:07] local.INFO: GPS Element Parsed {"raw_longitude":763148096,"raw_latitude":99934760,"longitude_deg":76.3148096,"latitude_deg":9.993476,"altitude":14,"angle":349,"satellites":42,"speed":32,"hex_longitude":"2d7cb740","hex_latitude":"05f4e228","is_valid_coordinates":true} 
[2026-10-05 09:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540484608001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139457394827591680,"note":"Value kept but may cause issues"} 
[2026-10-05 09:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8988481194370600960,"note":"Value kept but may cause issues"} 
[2026-10-05 09:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791173781000,"timestamp_ms":1791173781000,"timestamp_seconds":1791173781,"priority":1,"record_length":96,"hex_timestamp":"000001a10a46e608"} 
[2026-10-05 09:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:48: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-10-05 09:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 09:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540484608001,"66":13852,"177":206,"87":12800,"24":32,"16":139457394827591680,"45":8988481194370600960},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,87,24,16,45]} 
[2026-10-05 09:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540484608001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:48:07] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-05 09:48:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 09:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139457394827591680,"km_value":139457394827591.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8988481194370600960,"description":"Unknown IO ID 45"} 
[2026-10-05 09:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540484608001,"power":13852,"unknown_177":206,"unknown_87":12800,"ignition":32,"odometer":null,"unknown_45":8988481194370600960}} 
[2026-10-05 09:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":204442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:48:07] local.INFO: GPS data processed {"connection_id":204442,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:48:07] local.INFO: Acknowledgment sent {"connection_id":204442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:48:11] local.INFO: TCP Data received {"connection_id":204305,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204305,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:48:11] local.INFO: Processing buffer {"connection_id":204305,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:48:11] local.INFO: IMEI packet received {"connection_id":204305,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":204305,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:48:14] local.INFO: TCP Data received {"connection_id":204305,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204305,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:48:14] local.INFO: Processing buffer {"connection_id":204305,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:48:14] local.INFO: IMEI packet received {"connection_id":204305,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":204305,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:48:16] local.INFO: TCP Data received {"connection_id":204305,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204305,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:48:16] local.INFO: Processing buffer {"connection_id":204305,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:48:16] local.INFO: IMEI packet received {"connection_id":204305,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":204305,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:48:16] local.INFO: TCP Data received {"connection_id":204305,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a478a18012d0c37c0070359c8001100c825..."} 
[2026-10-05 09:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a478a18012d0c37c0070359c8001100c825..."} 
[2026-10-05 09:48:16] local.INFO: Processing buffer {"connection_id":204305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a478a18012d0c37c0070359c8001100c825..."} 
[2026-10-05 09:48:16] local.INFO: Packet analysis {"connection_id":204305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a47"} 
[2026-10-05 09:48:16] local.INFO: Extracted packet for processing {"connection_id":204305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a47"} 
[2026-10-05 09:48:16] local.INFO: GPS Element Parsed {"raw_longitude":755775424,"raw_latitude":117660104,"longitude_deg":75.5775424,"latitude_deg":11.7660104,"altitude":17,"angle":200,"satellites":37,"speed":0,"hex_longitude":"2d0c37c0","hex_latitude":"070359c8","is_valid_coordinates":true} 
[2026-10-05 09:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540493568001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34776964376035328,"note":"Value kept but may cause issues"} 
[2026-10-05 09:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880594494760376320,"note":"Value kept but may cause issues"} 
[2026-10-05 09:48: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-10-05 09:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791173823000,"timestamp_ms":1791173823000,"timestamp_seconds":1791173823,"priority":1,"record_length":96,"hex_timestamp":"000001a10a478a18"} 
[2026-10-05 09:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:48: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-10-05 09:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-05 09:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540493568001,"66":14374,"37":206,"94":11008,"24":0,"16":34776964376035328,"45":880594494760376320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 09:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540493568001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:48:16] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 09:48:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 09:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34776964376035328,"km_value":34776964376035.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":880594494760376320,"description":"Unknown IO ID 45"} 
[2026-10-05 09:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540493568001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":880594494760376320}} 
[2026-10-05 09:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":204305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966557,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:48:17] local.INFO: GPS data processed {"connection_id":204305,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:48:17] local.INFO: Acknowledgment sent {"connection_id":204305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:48:17] local.INFO: TCP Data received {"connection_id":204305,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a47dc20012d0c37c0070359c8001100c826..."} 
[2026-10-05 09:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a47dc20012d0c37c0070359c8001100c826..."} 
[2026-10-05 09:48:17] local.INFO: Processing buffer {"connection_id":204305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a47dc20012d0c37c0070359c8001100c826..."} 
[2026-10-05 09:48:17] local.INFO: Packet analysis {"connection_id":204305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a47"} 
[2026-10-05 09:48:17] local.INFO: Extracted packet for processing {"connection_id":204305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a47"} 
[2026-10-05 09:48:17] local.INFO: GPS Element Parsed {"raw_longitude":755775424,"raw_latitude":117660104,"longitude_deg":75.5775424,"latitude_deg":11.7660104,"altitude":17,"angle":200,"satellites":38,"speed":0,"hex_longitude":"2d0c37c0","hex_latitude":"070359c8","is_valid_coordinates":true} 
[2026-10-05 09:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540498688001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34776964376035328,"note":"Value kept but may cause issues"} 
[2026-10-05 09:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880383388527740928,"note":"Value kept but may cause issues"} 
[2026-10-05 09:48: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-10-05 09:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791173844000,"timestamp_ms":1791173844000,"timestamp_seconds":1791173844,"priority":1,"record_length":96,"hex_timestamp":"000001a10a47dc20"} 
[2026-10-05 09:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:48:17] 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-10-05 09:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-05 09:48:17] 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-10-05 09:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":204305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":204305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":204305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540498688001,"66":14428,"37":206,"94":11008,"24":0,"16":34776964376035328,"45":880383388527740928},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 09:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540498688001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:48:17] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 09:48:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 09:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34776964376035328,"km_value":34776964376035.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":880383388527740928,"description":"Unknown IO ID 45"} 
[2026-10-05 09:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540498688001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":880383388527740928}} 
[2026-10-05 09:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":204305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966558,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:48:17] local.INFO: GPS data processed {"connection_id":204305,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:48:17] local.INFO: Acknowledgment sent {"connection_id":204305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:48:33] local.INFO: TCP Data received {"connection_id":204441,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:48:33] local.INFO: Processing buffer {"connection_id":204441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:48:33] local.INFO: Packet analysis {"connection_id":204441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:48:33] local.INFO: Extracted packet for processing {"connection_id":204441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540385024001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:48: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-10-05 09:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791173680000,"timestamp_ms":1791173680000,"timestamp_seconds":1791173680,"priority":1,"record_length":96,"hex_timestamp":"000001a10a455b80"} 
[2026-10-05 09:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:48:33] 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-10-05 09:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 09:48:33] 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-10-05 09:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:48: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-10-05 09:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540385024001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540385024001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:48:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:48:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540385024001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":204441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:48:33] local.INFO: GPS data processed {"connection_id":204441,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:48:33] local.INFO: Acknowledgment sent {"connection_id":204441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:48:38] local.INFO: TCP Data received {"connection_id":204442,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a470d18012d7cb1c005f50630000e015e2a..."} 
[2026-10-05 09:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a470d18012d7cb1c005f50630000e015e2a..."} 
[2026-10-05 09:48:38] local.INFO: Processing buffer {"connection_id":204442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a470d18012d7cb1c005f50630000e015e2a..."} 
[2026-10-05 09:48:38] local.INFO: Packet analysis {"connection_id":204442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a47"} 
[2026-10-05 09:48:38] local.INFO: Extracted packet for processing {"connection_id":204442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a47"} 
[2026-10-05 09:48:38] local.INFO: GPS Element Parsed {"raw_longitude":763146688,"raw_latitude":99943984,"longitude_deg":76.3146688,"latitude_deg":9.9943984,"altitude":14,"angle":350,"satellites":42,"speed":37,"hex_longitude":"2d7cb1c0","hex_latitude":"05f50630","is_valid_coordinates":true} 
[2026-10-05 09:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540487936001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139457845799157760,"note":"Value kept but may cause issues"} 
[2026-10-05 09:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8986721975768590336,"note":"Value kept but may cause issues"} 
[2026-10-05 09:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791173791000,"timestamp_ms":1791173791000,"timestamp_seconds":1791173791,"priority":1,"record_length":96,"hex_timestamp":"000001a10a470d18"} 
[2026-10-05 09:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-05 09:48:38] 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-10-05 09:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540487936001,"66":13276,"177":206,"87":12800,"24":37,"16":139457845799157760,"45":8986721975768590336},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,87,24,16,45]} 
[2026-10-05 09:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540487936001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:48:38] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-05 09:48:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 09:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139457845799157760,"km_value":139457845799157.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8986721975768590336,"description":"Unknown IO ID 45"} 
[2026-10-05 09:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540487936001,"power":13276,"unknown_177":206,"unknown_87":12800,"ignition":37,"odometer":null,"unknown_45":8986721975768590336}} 
[2026-10-05 09:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":204442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:48:39] local.INFO: GPS data processed {"connection_id":204442,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:48:39] local.INFO: Acknowledgment sent {"connection_id":204442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:48:48] local.INFO: TCP Data received {"connection_id":204305,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a48ce50012d0c174007034180001100f626..."} 
[2026-10-05 09:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a48ce50012d0c174007034180001100f626..."} 
[2026-10-05 09:48:48] local.INFO: Processing buffer {"connection_id":204305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a48ce50012d0c174007034180001100f626..."} 
[2026-10-05 09:48:48] local.INFO: Packet analysis {"connection_id":204305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a48"} 
[2026-10-05 09:48:48] local.INFO: Extracted packet for processing {"connection_id":204305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a48"} 
[2026-10-05 09:48:48] local.INFO: GPS Element Parsed {"raw_longitude":755767104,"raw_latitude":117653888,"longitude_deg":75.5767104,"latitude_deg":11.7653888,"altitude":17,"angle":246,"satellites":38,"speed":13,"hex_longitude":"2d0c1740","hex_latitude":"07034180","is_valid_coordinates":true} 
[2026-10-05 09:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540519680001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34777527016751104,"note":"Value kept but may cause issues"} 
[2026-10-05 09:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871587295503994880,"note":"Value kept but may cause issues"} 
[2026-10-05 09:48: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-10-05 09:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791173906000,"timestamp_ms":1791173906000,"timestamp_seconds":1791173906,"priority":1,"record_length":96,"hex_timestamp":"000001a10a48ce50"} 
[2026-10-05 09:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:48: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-10-05 09:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-05 09:48:48] 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-10-05 09:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540519680001,"66":14439,"37":206,"94":11008,"24":13,"16":34777527016751104,"45":871587295503994880},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 09:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540519680001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:48:48] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 09:48:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 09:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34777527016751104,"km_value":34777527016751.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":871587295503994880,"description":"Unknown IO ID 45"} 
[2026-10-05 09:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540519680001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":871587295503994880}} 
[2026-10-05 09:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":204305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966561,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:48:49] local.INFO: GPS data processed {"connection_id":204305,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:48:49] local.INFO: Acknowledgment sent {"connection_id":204305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:48:55] local.INFO: TCP Data received {"connection_id":207408,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:48:55] local.INFO: Processing buffer {"connection_id":207408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:48:55] local.INFO: IMEI packet received {"connection_id":207408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":207408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:48:59] local.INFO: TCP Data received {"connection_id":204443,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:48:59] local.INFO: Processing buffer {"connection_id":204443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:48:59] local.INFO: IMEI packet received {"connection_id":204443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":204443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:49:00] local.INFO: TCP Data received {"connection_id":207408,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:49:00] local.INFO: Processing buffer {"connection_id":207408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:49:00] local.INFO: IMEI packet received {"connection_id":207408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":207408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:49:01] local.INFO: TCP Data received {"connection_id":207408,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:49:01] local.INFO: Processing buffer {"connection_id":207408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:49:01] local.INFO: Packet analysis {"connection_id":207408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:49:01] local.INFO: Extracted packet for processing {"connection_id":207408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:49:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540385024001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:49: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-10-05 09:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791173680000,"timestamp_ms":1791173680000,"timestamp_seconds":1791173680,"priority":1,"record_length":96,"hex_timestamp":"000001a10a455b80"} 
[2026-10-05 09:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:49: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-10-05 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 09:49: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-10-05 09: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-10-05 09:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:49: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-10-05 09:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540385024001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540385024001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:49:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:49:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540385024001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":207408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:49:01] local.INFO: GPS data processed {"connection_id":207408,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:49:01] local.INFO: Acknowledgment sent {"connection_id":207408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:49:02] local.INFO: TCP Data received {"connection_id":204443,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:49:02] local.INFO: Processing buffer {"connection_id":204443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:49:02] local.INFO: IMEI packet received {"connection_id":204443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":204443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:49:03] local.INFO: TCP Data received {"connection_id":204443,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a48e1d8012d7c728005f692080016015f29..."} 
[2026-10-05 09:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a48e1d8012d7c728005f692080016015f29..."} 
[2026-10-05 09:49:03] local.INFO: Processing buffer {"connection_id":204443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a48e1d8012d7c728005f692080016015f29..."} 
[2026-10-05 09:49:03] local.INFO: Packet analysis {"connection_id":204443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a48"} 
[2026-10-05 09:49:03] local.INFO: Extracted packet for processing {"connection_id":204443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a48"} 
[2026-10-05 09:49:03] local.INFO: GPS Element Parsed {"raw_longitude":763130496,"raw_latitude":100045320,"longitude_deg":76.3130496,"latitude_deg":10.004532,"altitude":22,"angle":351,"satellites":41,"speed":54,"hex_longitude":"2d7c7280","hex_latitude":"05f69208","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540519424001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139462823666253824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968848314773473280,"note":"Value kept but may cause issues"} 
[2026-10-05 09:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791173911000,"timestamp_ms":1791173911000,"timestamp_seconds":1791173911,"priority":1,"record_length":96,"hex_timestamp":"000001a10a48e1d8"} 
[2026-10-05 09:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:49: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-10-05 09: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-10-05 09:49:03] 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-10-05 09: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-10-05 09:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":204443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":204443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":204443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540519424001,"66":13722,"166":206,"87":12800,"24":54,"16":139462823666253824,"45":8968848314773473280},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,87,24,16,45]} 
[2026-10-05 09:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540519424001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:49:03] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-10-05 09:49:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 09:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139462823666253824,"km_value":139462823666253.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968848314773473280,"description":"Unknown IO ID 45"} 
[2026-10-05 09:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540519424001,"power":13722,"unknown_166":206,"unknown_87":12800,"ignition":54,"odometer":null,"unknown_45":8968848314773473280}} 
[2026-10-05 09:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":204443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:49:03] local.INFO: GPS data processed {"connection_id":204443,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:49:03] local.INFO: Acknowledgment sent {"connection_id":204443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:49:08] local.INFO: TCP Data received {"connection_id":204306,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204306,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:49:08] local.INFO: Processing buffer {"connection_id":204306,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:49:08] local.INFO: IMEI packet received {"connection_id":204306,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 09:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":204306,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:49:11] local.INFO: TCP Data received {"connection_id":204444,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204444,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:49:11] local.INFO: Processing buffer {"connection_id":204444,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:49:11] local.INFO: IMEI packet received {"connection_id":204444,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":204444,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:49:12] local.INFO: TCP Data received {"connection_id":204444,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204444,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:49:12] local.INFO: Processing buffer {"connection_id":204444,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:49:12] local.INFO: IMEI packet received {"connection_id":204444,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":204444,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:49:16] local.INFO: TCP Data received {"connection_id":204444,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204444,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:49:16] local.INFO: Processing buffer {"connection_id":204444,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:49:16] local.INFO: IMEI packet received {"connection_id":204444,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":204444,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:49:17] local.INFO: TCP Data received {"connection_id":204444,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a48d238012d0c1640070341100012010826..."} 
[2026-10-05 09:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a48d238012d0c1640070341100012010826..."} 
[2026-10-05 09:49:17] local.INFO: Processing buffer {"connection_id":204444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a48d238012d0c1640070341100012010826..."} 
[2026-10-05 09:49:17] local.INFO: Packet analysis {"connection_id":204444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a48"} 
[2026-10-05 09:49:17] local.INFO: Extracted packet for processing {"connection_id":204444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a48"} 
[2026-10-05 09:49:17] local.INFO: GPS Element Parsed {"raw_longitude":755766848,"raw_latitude":117653776,"longitude_deg":75.5766848,"latitude_deg":11.7653776,"altitude":18,"angle":264,"satellites":38,"speed":13,"hex_longitude":"2d0c1640","hex_latitude":"07034110","is_valid_coordinates":true} 
[2026-10-05 09:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540519936001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34777539901652992,"note":"Value kept but may cause issues"} 
[2026-10-05 09:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871235451783053312,"note":"Value kept but may cause issues"} 
[2026-10-05 09:49: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-10-05 09:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791173907000,"timestamp_ms":1791173907000,"timestamp_seconds":1791173907,"priority":1,"record_length":96,"hex_timestamp":"000001a10a48d238"} 
[2026-10-05 09:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:49:17] 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-10-05 09:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-05 09:49:17] 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-10-05 09:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":204444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":204444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":204444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540519936001,"66":14515,"37":206,"94":11008,"24":13,"16":34777539901652992,"45":871235451783053312},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 09:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540519936001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:49:17] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 09:49:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 09:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34777539901652992,"km_value":34777539901652.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":871235451783053312,"description":"Unknown IO ID 45"} 
[2026-10-05 09:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540519936001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":871235451783053312}} 
[2026-10-05 09:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":204444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966564,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:49:17] local.INFO: GPS data processed {"connection_id":204444,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:49:17] local.INFO: Acknowledgment sent {"connection_id":204444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:49:32] local.INFO: TCP Data received {"connection_id":207408,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:49:32] local.INFO: Processing buffer {"connection_id":207408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:49:32] local.INFO: Packet analysis {"connection_id":207408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:49:32] local.INFO: Extracted packet for processing {"connection_id":207408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540385024001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:49: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-10-05 09:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791173680000,"timestamp_ms":1791173680000,"timestamp_seconds":1791173680,"priority":1,"record_length":96,"hex_timestamp":"000001a10a455b80"} 
[2026-10-05 09:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:49:32] 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-10-05 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 09:49: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-10-05 09: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-10-05 09:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:49: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-10-05 09:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540385024001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540385024001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:49:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:49:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540385024001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":207408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:49:32] local.INFO: GPS data processed {"connection_id":207408,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:49:32] local.INFO: Acknowledgment sent {"connection_id":207408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:49:36] local.INFO: TCP Data received {"connection_id":204443,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a48fd30012d7c6c8005f6b8300017015e28..."} 
[2026-10-05 09:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a48fd30012d7c6c8005f6b8300017015e28..."} 
[2026-10-05 09:49:36] local.INFO: Processing buffer {"connection_id":204443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a48fd30012d7c6c8005f6b8300017015e28..."} 
[2026-10-05 09:49:36] local.INFO: Packet analysis {"connection_id":204443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a48"} 
[2026-10-05 09:49:36] local.INFO: Extracted packet for processing {"connection_id":204443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a48"} 
[2026-10-05 09:49:36] local.INFO: GPS Element Parsed {"raw_longitude":763128960,"raw_latitude":100055088,"longitude_deg":76.312896,"latitude_deg":10.0055088,"altitude":23,"angle":350,"satellites":40,"speed":59,"hex_longitude":"2d7c6c80","hex_latitude":"05f6b830","is_valid_coordinates":true} 
[2026-10-05 09:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540521216001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139463304702590976,"note":"Value kept but may cause issues"} 
[2026-10-05 09:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8967370571148036096,"note":"Value kept but may cause issues"} 
[2026-10-05 09:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791173918000,"timestamp_ms":1791173918000,"timestamp_seconds":1791173918,"priority":1,"record_length":96,"hex_timestamp":"000001a10a48fd30"} 
[2026-10-05 09:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-10-05 09:49:36] 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-10-05 09:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540521216001,"66":13798,"166":206,"87":12800,"24":59,"16":139463304702590976,"45":8967370571148036096},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,87,24,16,45]} 
[2026-10-05 09:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540521216001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:49:36] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-10-05 09:49:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 09:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139463304702590976,"km_value":139463304702590.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8967370571148036096,"description":"Unknown IO ID 45"} 
[2026-10-05 09:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540521216001,"power":13798,"unknown_166":206,"unknown_87":12800,"ignition":59,"odometer":null,"unknown_45":8967370571148036096}} 
[2026-10-05 09:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":204443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:49:36] local.INFO: GPS data processed {"connection_id":204443,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:49:36] local.INFO: Acknowledgment sent {"connection_id":204443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:49:46] local.INFO: TCP Data received {"connection_id":205854,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:49:46] local.INFO: Processing buffer {"connection_id":205854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:49:46] local.INFO: IMEI packet received {"connection_id":205854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 09:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":205854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:49:49] local.INFO: TCP Data received {"connection_id":204444,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a48ddf0012d0c1180070340e80012011426..."} 
[2026-10-05 09:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a48ddf0012d0c1180070340e80012011426..."} 
[2026-10-05 09:49:49] local.INFO: Processing buffer {"connection_id":204444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a48ddf0012d0c1180070340e80012011426..."} 
[2026-10-05 09:49:49] local.INFO: Packet analysis {"connection_id":204444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a48"} 
[2026-10-05 09:49:49] local.INFO: Extracted packet for processing {"connection_id":204444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a48"} 
[2026-10-05 09:49:49] local.INFO: GPS Element Parsed {"raw_longitude":755765632,"raw_latitude":117653736,"longitude_deg":75.5765632,"latitude_deg":11.7653736,"altitude":18,"angle":276,"satellites":38,"speed":19,"hex_longitude":"2d0c1180","hex_latitude":"070340e8","is_valid_coordinates":true} 
[2026-10-05 09:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540520192001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34777600031195136,"note":"Value kept but may cause issues"} 
[2026-10-05 09:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":870953976806313984,"note":"Value kept but may cause issues"} 
[2026-10-05 09:49: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-10-05 09:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1791173910000,"timestamp_ms":1791173910000,"timestamp_seconds":1791173910,"priority":1,"record_length":96,"hex_timestamp":"000001a10a48ddf0"} 
[2026-10-05 09:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:49:49] 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-10-05 09:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-05 09:49:49] 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-10-05 09:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":204444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":204444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":204444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540520192001,"66":14396,"37":206,"94":11008,"24":19,"16":34777600031195136,"45":870953976806313984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 09:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540520192001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:49:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 09:49:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 09:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34777600031195136,"km_value":34777600031195.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":870953976806313984,"description":"Unknown IO ID 45"} 
[2026-10-05 09:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540520192001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":870953976806313984}} 
[2026-10-05 09:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":204444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966567,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:49:49] local.INFO: GPS data processed {"connection_id":204444,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:49:49] local.INFO: Acknowledgment sent {"connection_id":204444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:49:56] local.INFO: TCP Data received {"connection_id":205855,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:49:56] local.INFO: Processing buffer {"connection_id":205855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:49:56] local.INFO: IMEI packet received {"connection_id":205855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":205855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:49:59] local.INFO: TCP Data received {"connection_id":204307,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204307,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:49:59] local.INFO: Processing buffer {"connection_id":204307,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:49:59] local.INFO: IMEI packet received {"connection_id":204307,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":204307,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:50:00] local.INFO: TCP Data received {"connection_id":205855,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:50:00] local.INFO: Processing buffer {"connection_id":205855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:50:00] local.INFO: IMEI packet received {"connection_id":205855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":205855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:50:00] local.INFO: TCP Data received {"connection_id":204307,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204307,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:50:00] local.INFO: Processing buffer {"connection_id":204307,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:50:00] local.INFO: IMEI packet received {"connection_id":204307,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":204307,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:50:01] local.INFO: TCP Data received {"connection_id":205855,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:50:01] local.INFO: Processing buffer {"connection_id":205855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a455b80012d7f908005afe470000000db25..."} 
[2026-10-05 09:50:01] local.INFO: Packet analysis {"connection_id":205855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:50:01] local.INFO: Extracted packet for processing {"connection_id":205855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a45"} 
[2026-10-05 09:50:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540385024001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791173680000,"timestamp_ms":1791173680000,"timestamp_seconds":1791173680,"priority":1,"record_length":96,"hex_timestamp":"000001a10a455b80"} 
[2026-10-05 09:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09: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-10-05 09: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":25,"data_length":795,"current_offset":136} 
[2026-10-05 09:50: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-10-05 09: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-10-05 09:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:50: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-10-05 09:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540385024001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540385024001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:50:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:50:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540385024001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":205855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:50:01] local.INFO: GPS data processed {"connection_id":205855,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:50:01] local.INFO: Acknowledgment sent {"connection_id":205855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:50:05] local.INFO: TCP Data received {"connection_id":204307,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204307,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:50:05] local.INFO: Processing buffer {"connection_id":204307,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:50:05] local.INFO: IMEI packet received {"connection_id":204307,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":204307,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:50:07] local.INFO: TCP Data received {"connection_id":204307,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a491888012d7c660005f6dee80015015e2b..."} 
[2026-10-05 09:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a491888012d7c660005f6dee80015015e2b..."} 
[2026-10-05 09:50:07] local.INFO: Processing buffer {"connection_id":204307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a491888012d7c660005f6dee80015015e2b..."} 
[2026-10-05 09:50:07] local.INFO: Packet analysis {"connection_id":204307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a49"} 
[2026-10-05 09:50:07] local.INFO: Extracted packet for processing {"connection_id":204307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a49"} 
[2026-10-05 09:50:07] local.INFO: GPS Element Parsed {"raw_longitude":763127296,"raw_latitude":100065000,"longitude_deg":76.3127296,"latitude_deg":10.0065,"altitude":21,"angle":350,"satellites":43,"speed":55,"hex_longitude":"2d7c6600","hex_latitude":"05f6dee8","is_valid_coordinates":true} 
[2026-10-05 09:50: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-10-05 09:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540523008001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139463790033895424,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965681721290272768,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:07] 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-10-05 09:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791173925000,"timestamp_ms":1791173925000,"timestamp_seconds":1791173925,"priority":1,"record_length":96,"hex_timestamp":"000001a10a491888"} 
[2026-10-05 09:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 09:50:07] 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-10-05 09:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540523008001,"66":13319,"32":206,"87":12800,"24":55,"16":139463790033895424,"45":8965681721290272768},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,87,24,16,45]} 
[2026-10-05 09:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540523008001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:50:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-10-05 09:50:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 09:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139463790033895424,"km_value":139463790033895.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965681721290272768,"description":"Unknown IO ID 45"} 
[2026-10-05 09:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540523008001,"power":13319,"unknown_32":206,"unknown_87":12800,"ignition":55,"odometer":null,"unknown_45":8965681721290272768}} 
[2026-10-05 09:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":204307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:50:07] local.INFO: GPS data processed {"connection_id":204307,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:50:07] local.INFO: Acknowledgment sent {"connection_id":204307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:50:12] local.INFO: TCP Data received {"connection_id":204445,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204445,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:50:12] local.INFO: Processing buffer {"connection_id":204445,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:50:12] local.INFO: IMEI packet received {"connection_id":204445,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":204445,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:50:18] local.INFO: TCP Data received {"connection_id":204445,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204445,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:50:18] local.INFO: Processing buffer {"connection_id":204445,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:50:18] local.INFO: IMEI packet received {"connection_id":204445,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":204445,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:50:24] local.INFO: TCP Data received {"connection_id":204445,"ip":"42.106.6.37","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-05 09:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204445,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-05 09:50:24] local.INFO: Processing buffer {"connection_id":204445,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-05 09:50:24] local.INFO: IMEI packet received {"connection_id":204445,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":204445,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:50:25] local.INFO: TCP Data received {"connection_id":204445,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4a1e40012d0bd8400703b1a00015011523..."} 
[2026-10-05 09:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4a1e40012d0bd8400703b1a00015011523..."} 
[2026-10-05 09:50:25] local.INFO: Processing buffer {"connection_id":204445,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a10a..."} 
[2026-10-05 09:50:25] local.INFO: IMEI packet received {"connection_id":204445,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":204445,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:50:27] local.INFO: TCP Data received {"connection_id":204445,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4a2610012d0bd1c00703b1b00016010824..."} 
[2026-10-05 09:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4a2610012d0bd1c00703b1b00016010824..."} 
[2026-10-05 09:50:27] local.INFO: Processing buffer {"connection_id":204445,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a10a4a1e40012d0bd8400703b1a00015011523..."} 
[2026-10-05 09:50:27] local.INFO: Packet analysis {"connection_id":204445,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a10a4a"} 
[2026-10-05 09:50:27] local.INFO: Extracted packet for processing {"connection_id":204445,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a4a"} 
[2026-10-05 09:50:27] local.INFO: GPS Element Parsed {"raw_longitude":755750976,"raw_latitude":117682592,"longitude_deg":75.5750976,"latitude_deg":11.7682592,"altitude":21,"angle":277,"satellites":35,"speed":34,"hex_longitude":"2d0bd840","hex_latitude":"0703b1a0","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540540928001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34779562831249408,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":857372809187170304,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1791173992000,"timestamp_ms":1791173992000,"timestamp_seconds":1791173992,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4a1e40"} 
[2026-10-05 09:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-05 09:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09: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-10-05 09:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":204445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":204445,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":204445,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540540928001,"66":14352,"37":206,"94":11008,"24":34,"16":34779562831249408,"45":857372809187170304},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 09:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540540928001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:50:27] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 09:50:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 09:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34779562831249408,"km_value":34779562831249.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":857372809187170304,"description":"Unknown IO ID 45"} 
[2026-10-05 09:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540540928001,"power":14352,"unknown_37":206,"unknown_94":11008,"ignition":34,"odometer":null,"unknown_45":857372809187170304}} 
[2026-10-05 09:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":204445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966570,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:50:27] local.INFO: GPS data processed {"connection_id":204445,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:50:27] local.INFO: Acknowledgment sent {"connection_id":204445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:50:27] local.INFO: Packet analysis {"connection_id":204445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a4a"} 
[2026-10-05 09:50:27] local.INFO: Extracted packet for processing {"connection_id":204445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a4a"} 
[2026-10-05 09:50:27] local.INFO: GPS Element Parsed {"raw_longitude":755749312,"raw_latitude":117682608,"longitude_deg":75.5749312,"latitude_deg":11.7682608,"altitude":22,"angle":264,"satellites":36,"speed":31,"hex_longitude":"2d0bd1c0","hex_latitude":"0703b1b0","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540541952001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34779640140660736,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":853502528257630208,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1791173994000,"timestamp_ms":1791173994000,"timestamp_seconds":1791173994,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4a2610"} 
[2026-10-05 09:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-10-05 09:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733145088,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:27] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504130304802816,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:27] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2624585746,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:27] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639316264508197,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:27] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6197216974351958272,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1529151694,"corrected_to":0} 
[2026-10-05 09:50:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1342254348,"corrected_to":0} 
[2026-10-05 09:50:27] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3221685147,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:27] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:27] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2402484224,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:27] local.WARNING: Large IO value detected {"io_id":192,"raw_value":5348033784978944,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:27] local.WARNING: Large IO value detected {"io_id":12,"raw_value":54050906735378451,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:27] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,37,94,24,241,157,16,143,161,14,45,174,20,10,66,251,128,165,19,36,223,1,240,212,227,3,4,113,205,200,11,104,239,56,2,123,7,206,192,12],"length":628,"final_offset":758,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1529151694,"validated":0},{"io_id":200,"original":1342254348,"validated":0}]} 
[2026-10-05 09:50:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513514189843464192,"timestamp_seconds":1513514189843464.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 09:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":204445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":204445,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":204445,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540541952001,"66":14428,"37":206,"94":11008,"24":31,"16":34779640140660736,"45":853502528257630208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 09:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540541952001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:50:27] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 09:50:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 09:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34779640140660736,"km_value":34779640140660.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":853502528257630208,"description":"Unknown IO ID 45"} 
[2026-10-05 09:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540541952001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":31,"odometer":null,"unknown_45":853502528257630208}} 
[2026-10-05 09:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":204445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966571,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:50:27] local.INFO: GPS data processed {"connection_id":204445,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:50:27] local.INFO: Acknowledgment sent {"connection_id":204445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:50:28] local.INFO: TCP Data received {"connection_id":204445,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4a2de0012d0bcb800703b050001700fd24..."} 
[2026-10-05 09:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4a2de0012d0bcb800703b050001700fd24..."} 
[2026-10-05 09:50:28] local.INFO: Processing buffer {"connection_id":204445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4a2de0012d0bcb800703b050001700fd24..."} 
[2026-10-05 09:50:28] local.INFO: Packet analysis {"connection_id":204445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a4a"} 
[2026-10-05 09:50:28] local.INFO: Extracted packet for processing {"connection_id":204445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a4a"} 
[2026-10-05 09:50:28] local.INFO: GPS Element Parsed {"raw_longitude":755747712,"raw_latitude":117682256,"longitude_deg":75.5747712,"latitude_deg":11.7682256,"altitude":23,"angle":253,"satellites":36,"speed":30,"hex_longitude":"2d0bcb80","hex_latitude":"0703b050","is_valid_coordinates":true} 
[2026-10-05 09:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540542464001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34779717450072064,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":851672940909015040,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1791173996000,"timestamp_ms":1791173996000,"timestamp_seconds":1791173996,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4a2de0"} 
[2026-10-05 09:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:50: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-10-05 09:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 09:50: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-10-05 09:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":204445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":204445,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":204445,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540542464001,"66":14461,"37":206,"94":11008,"24":30,"16":34779717450072064,"45":851672940909015040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 09:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540542464001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:50:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 09:50:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 09:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34779717450072064,"km_value":34779717450072.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":851672940909015040,"description":"Unknown IO ID 45"} 
[2026-10-05 09:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540542464001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":30,"odometer":null,"unknown_45":851672940909015040}} 
[2026-10-05 09:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":204445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966572,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:50:28] local.INFO: GPS data processed {"connection_id":204445,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:50:28] local.INFO: Acknowledgment sent {"connection_id":204445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:50:32] local.INFO: TCP Data received {"connection_id":205855,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:50:32] local.INFO: Processing buffer {"connection_id":205855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:50:32] local.INFO: Packet analysis {"connection_id":205855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a49"} 
[2026-10-05 09:50:32] local.INFO: Extracted packet for processing {"connection_id":205855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a49"} 
[2026-10-05 09:50:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540462080001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791173981000,"timestamp_ms":1791173981000,"timestamp_seconds":1791173981,"priority":1,"record_length":96,"hex_timestamp":"000001a10a49f348"} 
[2026-10-05 09:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:50:32] 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-10-05 09: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":15,"data_length":795,"current_offset":136} 
[2026-10-05 09:50:32] 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-10-05 09: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-10-05 09:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:50: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-10-05 09:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540462080001,"66":25582,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540462080001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:50:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:50:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540462080001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":205855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:50:32] local.INFO: GPS data processed {"connection_id":205855,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:50:32] local.INFO: Acknowledgment sent {"connection_id":205855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:50:38] local.INFO: TCP Data received {"connection_id":204307,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4a5cc0012d7c240005f871500012015a2a..."} 
[2026-10-05 09:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4a5cc0012d7c240005f871500012015a2a..."} 
[2026-10-05 09:50:38] local.INFO: Processing buffer {"connection_id":204307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4a5cc0012d7c240005f871500012015a2a..."} 
[2026-10-05 09:50:38] local.INFO: Packet analysis {"connection_id":204307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a4a"} 
[2026-10-05 09:50:38] local.INFO: Extracted packet for processing {"connection_id":204307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a4a"} 
[2026-10-05 09:50:38] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":100168016,"longitude_deg":76.31104,"latitude_deg":10.0168016,"altitude":18,"angle":346,"satellites":42,"speed":28,"hex_longitude":"2d7c2400","hex_latitude":"05f87150","is_valid_coordinates":true} 
[2026-10-05 09:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540543744001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139468853800337408,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946893266621470720,"note":"Value kept but may cause issues"} 
[2026-10-05 09:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791174008000,"timestamp_ms":1791174008000,"timestamp_seconds":1791174008,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4a5cc0"} 
[2026-10-05 09:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 09:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540543744001,"66":13363,"75":206,"87":12800,"24":28,"16":139468853800337408,"45":8946893266621470720},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-10-05 09:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540543744001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:50:38] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-10-05 09:50:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 09:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139468853800337408,"km_value":139468853800337.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946893266621470720,"description":"Unknown IO ID 45"} 
[2026-10-05 09:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540543744001,"power":13363,"unknown_75":206,"unknown_87":12800,"ignition":28,"odometer":null,"unknown_45":8946893266621470720}} 
[2026-10-05 09:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":204307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:50:38] local.INFO: GPS data processed {"connection_id":204307,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:50:38] local.INFO: Acknowledgment sent {"connection_id":204307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:50:55] local.INFO: TCP Data received {"connection_id":207409,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:50:55] local.INFO: Processing buffer {"connection_id":207409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:50:55] local.INFO: IMEI packet received {"connection_id":207409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":207409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:50:59] local.INFO: TCP Data received {"connection_id":205856,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205856,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:50:59] local.INFO: Processing buffer {"connection_id":205856,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:50:59] local.INFO: IMEI packet received {"connection_id":205856,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":205856,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:51:00] local.INFO: TCP Data received {"connection_id":207409,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:51:00] local.INFO: Processing buffer {"connection_id":207409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:51:00] local.INFO: IMEI packet received {"connection_id":207409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":207409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:51:01] local.INFO: TCP Data received {"connection_id":207409,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:51:01] local.INFO: Processing buffer {"connection_id":207409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:51:01] local.INFO: Packet analysis {"connection_id":207409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a49"} 
[2026-10-05 09:51:01] local.INFO: Extracted packet for processing {"connection_id":207409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a49"} 
[2026-10-05 09:51:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540462080001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:51: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-10-05 09:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791173981000,"timestamp_ms":1791173981000,"timestamp_seconds":1791173981,"priority":1,"record_length":96,"hex_timestamp":"000001a10a49f348"} 
[2026-10-05 09:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:51: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-10-05 09:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 09:51: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-10-05 09:51: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-10-05 09:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:51: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-10-05 09:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540462080001,"66":25582,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540462080001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:51:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:51:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540462080001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":207409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:51:01] local.INFO: GPS data processed {"connection_id":207409,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:51:01] local.INFO: Acknowledgment sent {"connection_id":207409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:51:05] local.INFO: TCP Data received {"connection_id":205856,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205856,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:51:05] local.INFO: Processing buffer {"connection_id":205856,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:51:05] local.INFO: IMEI packet received {"connection_id":205856,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":205856,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:51:05] local.INFO: TCP Data received {"connection_id":205856,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4aaae0012d7c1f4005f88008000e01532b..."} 
[2026-10-05 09:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4aaae0012d7c1f4005f88008000e01532b..."} 
[2026-10-05 09:51:05] local.INFO: Processing buffer {"connection_id":205856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4aaae0012d7c1f4005f88008000e01532b..."} 
[2026-10-05 09:51:05] local.INFO: Packet analysis {"connection_id":205856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a4a"} 
[2026-10-05 09:51:05] local.INFO: Extracted packet for processing {"connection_id":205856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a4a"} 
[2026-10-05 09:51:05] local.INFO: GPS Element Parsed {"raw_longitude":763109184,"raw_latitude":100171784,"longitude_deg":76.3109184,"latitude_deg":10.0171784,"altitude":14,"angle":339,"satellites":43,"speed":0,"hex_longitude":"2d7c1f40","hex_latitude":"05f88008","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540546048001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139469047073865728,"note":"Value kept but may cause issues"} 
[2026-10-05 09:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785507659776,"note":"Value kept but may cause issues"} 
[2026-10-05 09:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791174028000,"timestamp_ms":1791174028000,"timestamp_seconds":1791174028,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4aaae0"} 
[2026-10-05 09:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:51: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-10-05 09:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-10-05 09:51: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-10-05 09: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-10-05 09:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540546048001,"66":13830,"43":206,"87":12800,"24":0,"16":139469047073865728,"45":8945274785507659776},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,87,24,16,45]} 
[2026-10-05 09:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540546048001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:51:05] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-05 09:51:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 09:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139469047073865728,"km_value":139469047073865.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785507659776,"description":"Unknown IO ID 45"} 
[2026-10-05 09:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540546048001,"power":13830,"unknown_43":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8945274785507659776}} 
[2026-10-05 09:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":205856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:51:05] local.INFO: GPS data processed {"connection_id":205856,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:51:05] local.INFO: Acknowledgment sent {"connection_id":205856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:51:32] local.INFO: TCP Data received {"connection_id":207409,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:51:32] local.INFO: Processing buffer {"connection_id":207409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:51:32] local.INFO: Packet analysis {"connection_id":207409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a49"} 
[2026-10-05 09:51:32] local.INFO: Extracted packet for processing {"connection_id":207409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a49"} 
[2026-10-05 09:51:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540462080001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:51: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-10-05 09:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791173981000,"timestamp_ms":1791173981000,"timestamp_seconds":1791173981,"priority":1,"record_length":96,"hex_timestamp":"000001a10a49f348"} 
[2026-10-05 09:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:51:32] 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-10-05 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 09:51:32] 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-10-05 09: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-10-05 09:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:51: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-10-05 09:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540462080001,"66":25582,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540462080001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:51:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:51:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540462080001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":207409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:51:32] local.INFO: GPS data processed {"connection_id":207409,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:51:32] local.INFO: Acknowledgment sent {"connection_id":207409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:51:37] local.INFO: TCP Data received {"connection_id":205856,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4ab698012d7c1ec005f88288000e015f2b..."} 
[2026-10-05 09:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4ab698012d7c1ec005f88288000e015f2b..."} 
[2026-10-05 09:51:37] local.INFO: Processing buffer {"connection_id":205856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4ab698012d7c1ec005f88288000e015f2b..."} 
[2026-10-05 09:51:37] local.INFO: Packet analysis {"connection_id":205856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a4a"} 
[2026-10-05 09:51:37] local.INFO: Extracted packet for processing {"connection_id":205856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a4a"} 
[2026-10-05 09:51:37] local.INFO: GPS Element Parsed {"raw_longitude":763109056,"raw_latitude":100172424,"longitude_deg":76.3109056,"latitude_deg":10.0172424,"altitude":14,"angle":351,"satellites":43,"speed":12,"hex_longitude":"2d7c1ec0","hex_latitude":"05f88288","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540551168001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139469077138636800,"note":"Value kept but may cause issues"} 
[2026-10-05 09:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943937779369248768,"note":"Value kept but may cause issues"} 
[2026-10-05 09:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791174031000,"timestamp_ms":1791174031000,"timestamp_seconds":1791174031,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4ab698"} 
[2026-10-05 09:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:51: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-10-05 09: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 09:51:37] local.WARNING: Large IO value detected {"io_id":24,"raw_value":11540482650865664,"note":"Value kept but may cause issues"} 
[2026-10-05 09:51:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626601010432,"note":"Value kept but may cause issues"} 
[2026-10-05 09:51:37] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2818649468,"note":"Value kept but may cause issues"} 
[2026-10-05 09:51:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":831455438,"corrected_to":0} 
[2026-10-05 09:51:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4156262400,"note":"Value kept but may cause issues"} 
[2026-10-05 09:51:37] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2882635248275817975,"note":"Value kept but may cause issues"} 
[2026-10-05 09:51:37] local.WARNING: Large IO value detected {"io_id":153,"raw_value":5188164368774791219,"note":"Value kept but may cause issues"} 
[2026-10-05 09:51:37] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,43,87,24,241,157,16,126,161,92,45,113,18,42,10,66,75,57,192,78,17,125,30,64,1,240,28,227,248,4,205,50,59,239,54,143,2,5,41,165,153],"length":528,"final_offset":658,"validated_count":41,"validation_warnings":[{"io_id":205,"original":831455438,"validated":0}]} 
[2026-10-05 09:51:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009179235656400896,"timestamp_seconds":1009179235656400.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 09:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540551168001,"66":13798,"43":206,"87":12800,"24":12,"16":139469077138636800,"45":8943937779369248768},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,87,24,16,45]} 
[2026-10-05 09:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540551168001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:51:37] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-05 09:51:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 09:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139469077138636800,"km_value":139469077138636.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943937779369248768,"description":"Unknown IO ID 45"} 
[2026-10-05 09:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540551168001,"power":13798,"unknown_43":206,"unknown_87":12800,"ignition":12,"odometer":null,"unknown_45":8943937779369248768}} 
[2026-10-05 09:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":205856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966578,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:51:37] local.INFO: GPS data processed {"connection_id":205856,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:51:37] local.INFO: Acknowledgment sent {"connection_id":205856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:51:41] local.INFO: TCP Data received {"connection_id":204447,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204447,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:51:41] local.INFO: Processing buffer {"connection_id":204447,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:51:41] local.INFO: IMEI packet received {"connection_id":204447,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":204447,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:51:41] local.INFO: TCP Data received {"connection_id":204447,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204447,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:51:41] local.INFO: Processing buffer {"connection_id":204447,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:51:41] local.INFO: IMEI packet received {"connection_id":204447,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":204447,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:51:51] local.INFO: TCP Data received {"connection_id":204447,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204447,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:51:51] local.INFO: Processing buffer {"connection_id":204447,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:51:51] local.INFO: IMEI packet received {"connection_id":204447,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 09:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":204447,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:52:00] local.INFO: TCP Data received {"connection_id":205858,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:52:00] local.INFO: Processing buffer {"connection_id":205858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:52:00] local.INFO: IMEI packet received {"connection_id":205858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":205858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:52:00] local.INFO: TCP Data received {"connection_id":205859,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:52:00] local.INFO: Processing buffer {"connection_id":205859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:52:00] local.INFO: IMEI packet received {"connection_id":205859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":205859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:52:05] local.INFO: TCP Data received {"connection_id":205859,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:52:05] local.INFO: Processing buffer {"connection_id":205859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:52:05] local.INFO: IMEI packet received {"connection_id":205859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":205859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:52:05] local.INFO: TCP Data received {"connection_id":205858,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:52:05] local.INFO: Processing buffer {"connection_id":205858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:52:05] local.INFO: IMEI packet received {"connection_id":205858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":205858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:52:06] local.INFO: TCP Data received {"connection_id":205858,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:52:06] local.INFO: Processing buffer {"connection_id":205858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:52:06] local.INFO: Packet analysis {"connection_id":205858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a49"} 
[2026-10-05 09:52:06] local.INFO: Extracted packet for processing {"connection_id":205858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a49"} 
[2026-10-05 09:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540462080001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:52: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-10-05 09:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791173981000,"timestamp_ms":1791173981000,"timestamp_seconds":1791173981,"priority":1,"record_length":96,"hex_timestamp":"000001a10a49f348"} 
[2026-10-05 09:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:52:06] 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-10-05 09:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 09:52: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-10-05 09: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-10-05 09:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:52: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-10-05 09:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540462080001,"66":25582,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540462080001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:52:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:52:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540462080001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":205858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:52:06] local.INFO: GPS data processed {"connection_id":205858,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:52:06] local.INFO: Acknowledgment sent {"connection_id":205858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:52:07] local.INFO: TCP Data received {"connection_id":205859,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:52:07] local.INFO: Processing buffer {"connection_id":205859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:52:07] local.INFO: IMEI packet received {"connection_id":205859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":205859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:52:11] local.INFO: TCP Data received {"connection_id":205859,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4afce8012d7c188005f8a578000e016029..."} 
[2026-10-05 09:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4afce8012d7c188005f8a578000e016029..."} 
[2026-10-05 09:52:11] local.INFO: Processing buffer {"connection_id":205859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4afce8012d7c188005f8a578000e016029..."} 
[2026-10-05 09:52:11] local.INFO: Packet analysis {"connection_id":205859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a4a"} 
[2026-10-05 09:52:11] local.INFO: Extracted packet for processing {"connection_id":205859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a4a"} 
[2026-10-05 09:52:11] local.INFO: GPS Element Parsed {"raw_longitude":763107456,"raw_latitude":100181368,"longitude_deg":76.3107456,"latitude_deg":10.0181368,"altitude":14,"angle":352,"satellites":41,"speed":21,"hex_longitude":"2d7c1880","hex_latitude":"05f8a578","is_valid_coordinates":true} 
[2026-10-05 09:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540551936001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139469519520268288,"note":"Value kept but may cause issues"} 
[2026-10-05 09:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943797041881057280,"note":"Value kept but may cause issues"} 
[2026-10-05 09:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791174049000,"timestamp_ms":1791174049000,"timestamp_seconds":1791174049,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4afce8"} 
[2026-10-05 09:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:52: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-10-05 09:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 09:52:11] 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-10-05 09:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540551936001,"66":13276,"75":206,"87":12800,"24":21,"16":139469519520268288,"45":8943797041881057280},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-10-05 09:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540551936001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:52:11] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-10-05 09:52:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 09:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139469519520268288,"km_value":139469519520268.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943797041881057280,"description":"Unknown IO ID 45"} 
[2026-10-05 09:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540551936001,"power":13276,"unknown_75":206,"unknown_87":12800,"ignition":21,"odometer":null,"unknown_45":8943797041881057280}} 
[2026-10-05 09:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":205859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:52:11] local.INFO: GPS data processed {"connection_id":205859,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:52:11] local.INFO: Acknowledgment sent {"connection_id":205859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:52:11] local.INFO: TCP Data received {"connection_id":205858,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:52:11] local.INFO: Processing buffer {"connection_id":205858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:52:11] local.INFO: Packet analysis {"connection_id":205858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a49"} 
[2026-10-05 09:52:11] local.INFO: Extracted packet for processing {"connection_id":205858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a49"} 
[2026-10-05 09:52:11] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540462080001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791173981000,"timestamp_ms":1791173981000,"timestamp_seconds":1791173981,"priority":1,"record_length":96,"hex_timestamp":"000001a10a49f348"} 
[2026-10-05 09:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:52:11] 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-10-05 09:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 09:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540462080001,"66":25582,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540462080001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:52:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:52:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540462080001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":205858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:52:11] local.INFO: GPS data processed {"connection_id":205858,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:52:11] local.INFO: Acknowledgment sent {"connection_id":205858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:52:12] local.INFO: TCP Data received {"connection_id":205859,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4b4b08012d7c150005f8b798000f015b2a..."} 
[2026-10-05 09:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4b4b08012d7c150005f8b798000f015b2a..."} 
[2026-10-05 09:52:12] local.INFO: Processing buffer {"connection_id":205859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4b4b08012d7c150005f8b798000f015b2a..."} 
[2026-10-05 09:52:12] local.INFO: Packet analysis {"connection_id":205859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a4b"} 
[2026-10-05 09:52:12] local.INFO: Extracted packet for processing {"connection_id":205859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a4b"} 
[2026-10-05 09:52:12] local.INFO: GPS Element Parsed {"raw_longitude":763106560,"raw_latitude":100186008,"longitude_deg":76.310656,"latitude_deg":10.0186008,"altitude":15,"angle":347,"satellites":42,"speed":8,"hex_longitude":"2d7c1500","hex_latitude":"05f8b798","is_valid_coordinates":true} 
[2026-10-05 09:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540556544001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139469751448502272,"note":"Value kept but may cause issues"} 
[2026-10-05 09:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942037823278905344,"note":"Value kept but may cause issues"} 
[2026-10-05 09:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791174069000,"timestamp_ms":1791174069000,"timestamp_seconds":1791174069,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4b4b08"} 
[2026-10-05 09:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-05 09:52:12] 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-10-05 09:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":205859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":205859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":205859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540556544001,"66":13656,"75":206,"87":12800,"24":8,"16":139469751448502272,"45":8942037823278905344},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-10-05 09:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540556544001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:52:12] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-10-05 09:52:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 09:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139469751448502272,"km_value":139469751448502.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942037823278905344,"description":"Unknown IO ID 45"} 
[2026-10-05 09:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540556544001,"power":13656,"unknown_75":206,"unknown_87":12800,"ignition":8,"odometer":null,"unknown_45":8942037823278905344}} 
[2026-10-05 09:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":205859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966582,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:52:12] local.INFO: GPS data processed {"connection_id":205859,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:52:12] local.INFO: Acknowledgment sent {"connection_id":205859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:52:32] local.INFO: TCP Data received {"connection_id":204309,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204309,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:52:32] local.INFO: Processing buffer {"connection_id":204309,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:52:32] local.INFO: IMEI packet received {"connection_id":204309,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":204309,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:52:43] local.INFO: TCP Data received {"connection_id":205859,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4b9928012d7c114005f8c8a8001100022b..."} 
[2026-10-05 09:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4b9928012d7c114005f8c8a8001100022b..."} 
[2026-10-05 09:52:43] local.INFO: Processing buffer {"connection_id":205859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4b9928012d7c114005f8c8a8001100022b..."} 
[2026-10-05 09:52:43] local.INFO: Packet analysis {"connection_id":205859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a4b"} 
[2026-10-05 09:52:43] local.INFO: Extracted packet for processing {"connection_id":205859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a4b"} 
[2026-10-05 09:52:43] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":100190376,"longitude_deg":76.31056,"latitude_deg":10.0190376,"altitude":17,"angle":2,"satellites":43,"speed":15,"hex_longitude":"2d7c1140","hex_latitude":"05f8c8a8","is_valid_coordinates":true} 
[2026-10-05 09:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540561664001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139469970491834368,"note":"Value kept but may cause issues"} 
[2026-10-05 09:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941052660861605888,"note":"Value kept but may cause issues"} 
[2026-10-05 09:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791174089000,"timestamp_ms":1791174089000,"timestamp_seconds":1791174089,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4b9928"} 
[2026-10-05 09:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:52: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-10-05 09:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-05 09:52:43] 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-10-05 09:52:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":205859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":205859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":205859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:52:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540561664001,"66":13526,"75":206,"87":12800,"24":15,"16":139469970491834368,"45":8941052660861605888},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-10-05 09:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540561664001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:52:43] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-10-05 09:52:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 09:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139469970491834368,"km_value":139469970491834.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941052660861605888,"description":"Unknown IO ID 45"} 
[2026-10-05 09:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540561664001,"power":13526,"unknown_75":206,"unknown_87":12800,"ignition":15,"odometer":null,"unknown_45":8941052660861605888}} 
[2026-10-05 09:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":205859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:52:43] local.INFO: GPS data processed {"connection_id":205859,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:52:43] local.INFO: Acknowledgment sent {"connection_id":205859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:52:55] local.INFO: TCP Data received {"connection_id":205860,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:52:55] local.INFO: Processing buffer {"connection_id":205860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:52:55] local.INFO: IMEI packet received {"connection_id":205860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":205860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:52:59] local.INFO: TCP Data received {"connection_id":207411,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207411,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:52:59] local.INFO: Processing buffer {"connection_id":207411,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:52:59] local.INFO: IMEI packet received {"connection_id":207411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":207411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:53:00] local.INFO: TCP Data received {"connection_id":205860,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:53:00] local.INFO: Processing buffer {"connection_id":205860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:53:00] local.INFO: IMEI packet received {"connection_id":205860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":205860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:53:00] local.INFO: TCP Data received {"connection_id":207411,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207411,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:53:00] local.INFO: Processing buffer {"connection_id":207411,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:53:00] local.INFO: IMEI packet received {"connection_id":207411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":207411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:53:01] local.INFO: TCP Data received {"connection_id":205860,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:53:01] local.INFO: Processing buffer {"connection_id":205860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:53:01] local.INFO: Packet analysis {"connection_id":205860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a49"} 
[2026-10-05 09:53:01] local.INFO: Extracted packet for processing {"connection_id":205860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a49"} 
[2026-10-05 09:53:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540462080001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791173981000,"timestamp_ms":1791173981000,"timestamp_seconds":1791173981,"priority":1,"record_length":96,"hex_timestamp":"000001a10a49f348"} 
[2026-10-05 09:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:53: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-10-05 09:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 09: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-10-05 09:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:53: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-10-05 09:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540462080001,"66":25582,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540462080001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:53:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:53:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540462080001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":205860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:53:01] local.INFO: GPS data processed {"connection_id":205860,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:53:01] local.INFO: Acknowledgment sent {"connection_id":205860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:53:05] local.INFO: TCP Data received {"connection_id":207411,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207411,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:53:05] local.INFO: Processing buffer {"connection_id":207411,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:53:05] local.INFO: IMEI packet received {"connection_id":207411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":207411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:53:05] local.INFO: TCP Data received {"connection_id":207411,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4bc420012d7c12c005f8dd50001301602a..."} 
[2026-10-05 09:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4bc420012d7c12c005f8dd50001301602a..."} 
[2026-10-05 09:53:05] local.INFO: Processing buffer {"connection_id":207411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4bc420012d7c12c005f8dd50001301602a..."} 
[2026-10-05 09:53:05] local.INFO: Packet analysis {"connection_id":207411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a4b"} 
[2026-10-05 09:53:05] local.INFO: Extracted packet for processing {"connection_id":207411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a4b"} 
[2026-10-05 09:53:05] local.INFO: GPS Element Parsed {"raw_longitude":763105984,"raw_latitude":100195664,"longitude_deg":76.3105984,"latitude_deg":10.0195664,"altitude":19,"angle":352,"satellites":42,"speed":10,"hex_longitude":"2d7c12c0","hex_latitude":"05f8dd50","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540566784001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139470232484839424,"note":"Value kept but may cause issues"} 
[2026-10-05 09:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129700059136,"note":"Value kept but may cause issues"} 
[2026-10-05 09:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791174100000,"timestamp_ms":1791174100000,"timestamp_seconds":1791174100,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4bc420"} 
[2026-10-05 09:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:53: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-10-05 09: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-05 09:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09: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-10-05 09:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540566784001,"66":13896,"75":206,"87":12800,"24":10,"16":139470232484839424,"45":8939997129700059136},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-10-05 09:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540566784001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:53:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-10-05 09:53:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 09:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139470232484839424,"km_value":139470232484839.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129700059136,"description":"Unknown IO ID 45"} 
[2026-10-05 09:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540566784001,"power":13896,"unknown_75":206,"unknown_87":12800,"ignition":10,"odometer":null,"unknown_45":8939997129700059136}} 
[2026-10-05 09:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":207411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966585,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:53:05] local.INFO: GPS data processed {"connection_id":207411,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:53:05] local.INFO: Acknowledgment sent {"connection_id":207411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:53:10] local.INFO: TCP Data received {"connection_id":207411,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4bf300012d7c0c0005f8ff48001301582b..."} 
[2026-10-05 09:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4bf300012d7c0c0005f8ff48001301582b..."} 
[2026-10-05 09:53:10] local.INFO: Processing buffer {"connection_id":207411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4bf300012d7c0c0005f8ff48001301582b..."} 
[2026-10-05 09:53:10] local.INFO: Packet analysis {"connection_id":207411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a4b"} 
[2026-10-05 09:53:10] local.INFO: Extracted packet for processing {"connection_id":207411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a4b"} 
[2026-10-05 09:53:10] local.INFO: GPS Element Parsed {"raw_longitude":763104256,"raw_latitude":100204360,"longitude_deg":76.3104256,"latitude_deg":10.020436,"altitude":19,"angle":344,"satellites":43,"speed":42,"hex_longitude":"2d7c0c00","hex_latitude":"05f8ff48","is_valid_coordinates":true} 
[2026-10-05 09:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540569600001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139470661981569024,"note":"Value kept but may cause issues"} 
[2026-10-05 09:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940419342166478848,"note":"Value kept but may cause issues"} 
[2026-10-05 09:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791174112000,"timestamp_ms":1791174112000,"timestamp_seconds":1791174112,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4bf300"} 
[2026-10-05 09:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-10-05 09:53:10] 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-10-05 09:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540569600001,"66":13896,"75":206,"87":12800,"24":42,"16":139470661981569024,"45":8940419342166478848},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-10-05 09:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540569600001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:53:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-10-05 09:53:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 09:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139470661981569024,"km_value":139470661981569.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940419342166478848,"description":"Unknown IO ID 45"} 
[2026-10-05 09:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540569600001,"power":13896,"unknown_75":206,"unknown_87":12800,"ignition":42,"odometer":null,"unknown_45":8940419342166478848}} 
[2026-10-05 09:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":207411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:53:10] local.INFO: GPS data processed {"connection_id":207411,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:53:10] local.INFO: Acknowledgment sent {"connection_id":207411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:53:32] local.INFO: TCP Data received {"connection_id":205860,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:53:32] local.INFO: Processing buffer {"connection_id":205860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:53:32] local.INFO: Packet analysis {"connection_id":205860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a49"} 
[2026-10-05 09:53:32] local.INFO: Extracted packet for processing {"connection_id":205860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a49"} 
[2026-10-05 09:53:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540462080001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:53: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-10-05 09:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791173981000,"timestamp_ms":1791173981000,"timestamp_seconds":1791173981,"priority":1,"record_length":96,"hex_timestamp":"000001a10a49f348"} 
[2026-10-05 09:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:53:32] 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-10-05 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 09:53:32] 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-10-05 09: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-10-05 09:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:53: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-10-05 09:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540462080001,"66":25582,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540462080001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:53:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:53:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540462080001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":205860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:53:32] local.INFO: GPS data processed {"connection_id":205860,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:53:32] local.INFO: Acknowledgment sent {"connection_id":205860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:53:41] local.INFO: TCP Data received {"connection_id":207411,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4c0e58012d7c01c005f92088001101522c..."} 
[2026-10-05 09:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4c0e58012d7c01c005f92088001101522c..."} 
[2026-10-05 09:53:41] local.INFO: Processing buffer {"connection_id":207411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4c0e58012d7c01c005f92088001101522c..."} 
[2026-10-05 09:53:41] local.INFO: Packet analysis {"connection_id":207411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a4c"} 
[2026-10-05 09:53:41] local.INFO: Extracted packet for processing {"connection_id":207411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a4c"} 
[2026-10-05 09:53:41] local.INFO: GPS Element Parsed {"raw_longitude":763101632,"raw_latitude":100212872,"longitude_deg":76.3101632,"latitude_deg":10.0212872,"altitude":17,"angle":338,"satellites":44,"speed":56,"hex_longitude":"2d7c01c0","hex_latitude":"05f92088","is_valid_coordinates":true} 
[2026-10-05 09:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540572672001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139471091478298624,"note":"Value kept but may cause issues"} 
[2026-10-05 09:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938519386075908096,"note":"Value kept but may cause issues"} 
[2026-10-05 09:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791174119000,"timestamp_ms":1791174119000,"timestamp_seconds":1791174119,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4c0e58"} 
[2026-10-05 09:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-10-05 09:53:41] 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-10-05 09:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":207411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":207411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":207411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540572672001,"66":13678,"75":206,"87":12800,"24":56,"16":139471091478298624,"45":8938519386075908096},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-10-05 09:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540572672001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:53:41] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-10-05 09:53:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 09:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139471091478298624,"km_value":139471091478298.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938519386075908096,"description":"Unknown IO ID 45"} 
[2026-10-05 09:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540572672001,"power":13678,"unknown_75":206,"unknown_87":12800,"ignition":56,"odometer":null,"unknown_45":8938519386075908096}} 
[2026-10-05 09:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":207411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966588,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:53:41] local.INFO: GPS data processed {"connection_id":207411,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:53:41] local.INFO: Acknowledgment sent {"connection_id":207411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:53:55] local.INFO: TCP Data received {"connection_id":204449,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:53:55] local.INFO: Processing buffer {"connection_id":204449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:53:55] local.INFO: IMEI packet received {"connection_id":204449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":204449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:53:57] local.INFO: TCP Data received {"connection_id":207413,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:53:57] local.INFO: Processing buffer {"connection_id":207413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:53:57] local.INFO: IMEI packet received {"connection_id":207413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":207413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:53:57] local.INFO: TCP Data received {"connection_id":207413,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:53:57] local.INFO: Processing buffer {"connection_id":207413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:53:57] local.INFO: IMEI packet received {"connection_id":207413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":207413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:53:58] local.INFO: TCP Data received {"connection_id":207413,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:53:58] local.INFO: Processing buffer {"connection_id":207413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:53:58] local.INFO: IMEI packet received {"connection_id":207413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":207413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:53:59] local.INFO: TCP Data received {"connection_id":207413,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:53:59] local.INFO: Processing buffer {"connection_id":207413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:53:59] local.INFO: IMEI packet received {"connection_id":207413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 09:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":207413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:54:00] local.INFO: TCP Data received {"connection_id":204449,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:54:00] local.INFO: Processing buffer {"connection_id":204449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:54:00] local.INFO: IMEI packet received {"connection_id":204449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":204449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:54:01] local.INFO: TCP Data received {"connection_id":204449,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:54:01] local.INFO: Processing buffer {"connection_id":204449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:54:01] local.INFO: Packet analysis {"connection_id":204449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a49"} 
[2026-10-05 09:54:01] local.INFO: Extracted packet for processing {"connection_id":204449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a49"} 
[2026-10-05 09:54:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540462080001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791173981000,"timestamp_ms":1791173981000,"timestamp_seconds":1791173981,"priority":1,"record_length":96,"hex_timestamp":"000001a10a49f348"} 
[2026-10-05 09:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:54: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-10-05 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 09:54: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-10-05 09: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-10-05 09:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:54: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-10-05 09:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540462080001,"66":25582,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540462080001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:54:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:54:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540462080001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":204449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:54:01] local.INFO: GPS data processed {"connection_id":204449,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:54:01] local.INFO: Acknowledgment sent {"connection_id":204449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:54:32] local.INFO: TCP Data received {"connection_id":204449,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:54:32] local.INFO: Processing buffer {"connection_id":204449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:54:32] local.INFO: Packet analysis {"connection_id":204449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a49"} 
[2026-10-05 09:54:32] local.INFO: Extracted packet for processing {"connection_id":204449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a49"} 
[2026-10-05 09:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540462080001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791173981000,"timestamp_ms":1791173981000,"timestamp_seconds":1791173981,"priority":1,"record_length":96,"hex_timestamp":"000001a10a49f348"} 
[2026-10-05 09:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:54:32] 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-10-05 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 09:54:32] 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-10-05 09: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-10-05 09:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:54: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-10-05 09:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540462080001,"66":25582,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540462080001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:54:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:54:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540462080001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":204449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:54:32] local.INFO: GPS data processed {"connection_id":204449,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:54:32] local.INFO: Acknowledgment sent {"connection_id":204449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:54:55] local.INFO: TCP Data received {"connection_id":204450,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:54:55] local.INFO: Processing buffer {"connection_id":204450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:54:55] local.INFO: IMEI packet received {"connection_id":204450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":204450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:55:00] local.INFO: TCP Data received {"connection_id":204450,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:55:00] local.INFO: Processing buffer {"connection_id":204450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:55:00] local.INFO: IMEI packet received {"connection_id":204450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":204450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:55:01] local.INFO: TCP Data received {"connection_id":204450,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:55:01] local.INFO: Processing buffer {"connection_id":204450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a49f348012d7f908005afe470000000db28..."} 
[2026-10-05 09:55:01] local.INFO: Packet analysis {"connection_id":204450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a49"} 
[2026-10-05 09:55:01] local.INFO: Extracted packet for processing {"connection_id":204450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a49"} 
[2026-10-05 09:55:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540462080001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791173981000,"timestamp_ms":1791173981000,"timestamp_seconds":1791173981,"priority":1,"record_length":96,"hex_timestamp":"000001a10a49f348"} 
[2026-10-05 09:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09: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-10-05 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 09:55: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-10-05 09: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-10-05 09:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:55: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-10-05 09:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540462080001,"66":25582,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540462080001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:55:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:55:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540462080001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":204450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:55:01] local.INFO: GPS data processed {"connection_id":204450,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:55:01] local.INFO: Acknowledgment sent {"connection_id":204450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:55:10] local.INFO: TCP Data received {"connection_id":205861,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:55:10] local.INFO: Processing buffer {"connection_id":205861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 09:55:10] local.INFO: IMEI packet received {"connection_id":205861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 09:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":205861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:55:32] local.INFO: TCP Data received {"connection_id":204450,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 09:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 09:55:32] local.INFO: Processing buffer {"connection_id":204450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 09:55:32] local.INFO: Packet analysis {"connection_id":204450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a4e"} 
[2026-10-05 09:55:32] local.INFO: Extracted packet for processing {"connection_id":204450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a4e"} 
[2026-10-05 09:55:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540539136001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:55: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-10-05 09:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791174282000,"timestamp_ms":1791174282000,"timestamp_seconds":1791174282,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4e8b10"} 
[2026-10-05 09:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 09:55: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-10-05 09: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-10-05 09:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:55: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-10-05 09:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540539136001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540539136001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:55:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:55:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540539136001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":204450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:55:32] local.INFO: GPS data processed {"connection_id":204450,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:55:32] local.INFO: Acknowledgment sent {"connection_id":204450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:56:00] local.INFO: TCP Data received {"connection_id":205864,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:56:00] local.INFO: Processing buffer {"connection_id":205864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:56:00] local.INFO: IMEI packet received {"connection_id":205864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":205864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:56:05] local.INFO: TCP Data received {"connection_id":205864,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:56:05] local.INFO: Processing buffer {"connection_id":205864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:56:05] local.INFO: IMEI packet received {"connection_id":205864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":205864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:56:06] local.INFO: TCP Data received {"connection_id":205864,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 09:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 09:56:06] local.INFO: Processing buffer {"connection_id":205864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 09:56:06] local.INFO: Packet analysis {"connection_id":205864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a4e"} 
[2026-10-05 09:56:06] local.INFO: Extracted packet for processing {"connection_id":205864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a4e"} 
[2026-10-05 09:56:06] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540539136001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791174282000,"timestamp_ms":1791174282000,"timestamp_seconds":1791174282,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4e8b10"} 
[2026-10-05 09:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 09:56:06] 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-10-05 09: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-10-05 09:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540539136001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540539136001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:56:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:56:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540539136001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":205864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:56:06] local.INFO: GPS data processed {"connection_id":205864,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:56:06] local.INFO: Acknowledgment sent {"connection_id":205864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:56:11] local.INFO: TCP Data received {"connection_id":205864,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 09:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 09:56:11] local.INFO: Processing buffer {"connection_id":205864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 09:56:11] local.INFO: Packet analysis {"connection_id":205864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a4e"} 
[2026-10-05 09:56:11] local.INFO: Extracted packet for processing {"connection_id":205864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a4e"} 
[2026-10-05 09:56:11] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540539136001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791174282000,"timestamp_ms":1791174282000,"timestamp_seconds":1791174282,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4e8b10"} 
[2026-10-05 09:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 09:56:11] 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-10-05 09:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:56:11] 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-10-05 09:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540539136001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540539136001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:56:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:56:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540539136001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":205864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:56:11] local.INFO: GPS data processed {"connection_id":205864,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:56:11] local.INFO: Acknowledgment sent {"connection_id":205864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:56:55] local.INFO: TCP Data received {"connection_id":204313,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:56:55] local.INFO: Processing buffer {"connection_id":204313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:56:55] local.INFO: IMEI packet received {"connection_id":204313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":204313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:57:00] local.INFO: TCP Data received {"connection_id":204313,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:57:00] local.INFO: Processing buffer {"connection_id":204313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:57:00] local.INFO: IMEI packet received {"connection_id":204313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":204313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:57:01] local.INFO: TCP Data received {"connection_id":204313,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 09:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 09:57:01] local.INFO: Processing buffer {"connection_id":204313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 09:57:01] local.INFO: Packet analysis {"connection_id":204313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a4e"} 
[2026-10-05 09:57:01] local.INFO: Extracted packet for processing {"connection_id":204313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a4e"} 
[2026-10-05 09:57:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540539136001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09: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-10-05 09:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791174282000,"timestamp_ms":1791174282000,"timestamp_seconds":1791174282,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4e8b10"} 
[2026-10-05 09:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 09:57: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-10-05 09: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-10-05 09:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:57: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-10-05 09:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540539136001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540539136001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:57:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:57:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540539136001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":204313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:57:01] local.INFO: GPS data processed {"connection_id":204313,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:57:01] local.INFO: Acknowledgment sent {"connection_id":204313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:57:32] local.INFO: TCP Data received {"connection_id":204313,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 09:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 09:57:32] local.INFO: Processing buffer {"connection_id":204313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 09:57:32] local.INFO: Packet analysis {"connection_id":204313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a4e"} 
[2026-10-05 09:57:32] local.INFO: Extracted packet for processing {"connection_id":204313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a4e"} 
[2026-10-05 09:57:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540539136001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:57: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-10-05 09:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791174282000,"timestamp_ms":1791174282000,"timestamp_seconds":1791174282,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4e8b10"} 
[2026-10-05 09:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09: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-10-05 09: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-10-05 09:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:57: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-10-05 09:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540539136001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540539136001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:57:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:57:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540539136001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":204313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:57:32] local.INFO: GPS data processed {"connection_id":204313,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:57:32] local.INFO: Acknowledgment sent {"connection_id":204313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:57:36] local.INFO: TCP Data received {"connection_id":204314,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204314,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:57:36] local.INFO: Processing buffer {"connection_id":204314,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 09:57:36] local.INFO: IMEI packet received {"connection_id":204314,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 09:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":204314,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:57:37] local.INFO: TCP Data received {"connection_id":204314,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4e73a0012d0b124007029ed80012007022..."} 
[2026-10-05 09:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4e73a0012d0b124007029ed80012007022..."} 
[2026-10-05 09:57:37] local.INFO: Processing buffer {"connection_id":204314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4e73a0012d0b124007029ed80012007022..."} 
[2026-10-05 09:57:37] local.INFO: Packet analysis {"connection_id":204314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a4e"} 
[2026-10-05 09:57:37] local.INFO: Extracted packet for processing {"connection_id":204314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a4e"} 
[2026-10-05 09:57:37] local.INFO: GPS Element Parsed {"raw_longitude":755700288,"raw_latitude":117612248,"longitude_deg":75.5700288,"latitude_deg":11.7612248,"altitude":18,"angle":112,"satellites":34,"speed":2,"hex_longitude":"2d0b1240","hex_latitude":"07029ed8","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540612096001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34785330972327936,"note":"Value kept but may cause issues"} 
[2026-10-05 09:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797277901641795584,"note":"Value kept but may cause issues"} 
[2026-10-05 09:57:37] 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-10-05 09:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791174276000,"timestamp_ms":1791174276000,"timestamp_seconds":1791174276,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4e73a0"} 
[2026-10-05 09:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-05 09:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09: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-10-05 09:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 09:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 09:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 09:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540612096001,"66":14537,"17":206,"94":11008,"24":2,"16":34785330972327936,"45":797277901641795584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-05 09:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 09:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 09:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540612096001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:57:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 09:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34785330972327936,"km_value":34785330972327.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":797277901641795584,"description":"Unknown IO ID 45"} 
[2026-10-05 09:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540612096001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":797277901641795584}} 
[2026-10-05 09:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":204314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966597,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:57:37] local.INFO: GPS data processed {"connection_id":204314,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:57:37] local.INFO: Acknowledgment sent {"connection_id":204314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:57:55] local.INFO: TCP Data received {"connection_id":204453,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:57:55] local.INFO: Processing buffer {"connection_id":204453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:57:55] local.INFO: IMEI packet received {"connection_id":204453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":204453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:58:00] local.INFO: TCP Data received {"connection_id":204453,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:58:00] local.INFO: Processing buffer {"connection_id":204453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:58:00] local.INFO: IMEI packet received {"connection_id":204453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":204453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:58:03] local.INFO: TCP Data received {"connection_id":204453,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 09:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 09:58:03] local.INFO: Processing buffer {"connection_id":204453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 09:58:03] local.INFO: Packet analysis {"connection_id":204453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a4e"} 
[2026-10-05 09:58:03] local.INFO: Extracted packet for processing {"connection_id":204453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a4e"} 
[2026-10-05 09:58:03] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540539136001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:58: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-10-05 09:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791174282000,"timestamp_ms":1791174282000,"timestamp_seconds":1791174282,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4e8b10"} 
[2026-10-05 09:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 09:58:03] 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-10-05 09: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-10-05 09:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":204453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":204453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":204453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:58: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-10-05 09:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540539136001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540539136001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:58:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:58:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540539136001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":204453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:58:03] local.INFO: GPS data processed {"connection_id":204453,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:58:03] local.INFO: Acknowledgment sent {"connection_id":204453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:58:35] local.INFO: TCP Data received {"connection_id":204453,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 09:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 09:58:35] local.INFO: Processing buffer {"connection_id":204453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 09:58:35] local.INFO: Packet analysis {"connection_id":204453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a4e"} 
[2026-10-05 09:58:35] local.INFO: Extracted packet for processing {"connection_id":204453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a4e"} 
[2026-10-05 09:58:35] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540539136001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:58: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-10-05 09:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791174282000,"timestamp_ms":1791174282000,"timestamp_seconds":1791174282,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4e8b10"} 
[2026-10-05 09:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 09:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 09: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-10-05 09:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":204453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":204453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":204453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:58:35] 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-10-05 09:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540539136001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540539136001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:58:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:58:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540539136001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":204453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:58:35] local.INFO: GPS data processed {"connection_id":204453,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:58:35] local.INFO: Acknowledgment sent {"connection_id":204453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:58:55] local.INFO: TCP Data received {"connection_id":207416,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:58:55] local.INFO: Processing buffer {"connection_id":207416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:58:55] local.INFO: IMEI packet received {"connection_id":207416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":207416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:59:00] local.INFO: TCP Data received {"connection_id":207416,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:59:00] local.INFO: Processing buffer {"connection_id":207416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:59:00] local.INFO: IMEI packet received {"connection_id":207416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 09:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":207416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 09:59:01] local.INFO: TCP Data received {"connection_id":207416,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 09:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 09:59:01] local.INFO: Processing buffer {"connection_id":207416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 09:59:01] local.INFO: Packet analysis {"connection_id":207416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a4e"} 
[2026-10-05 09:59:01] local.INFO: Extracted packet for processing {"connection_id":207416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a4e"} 
[2026-10-05 09:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540539136001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:59: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-10-05 09:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791174282000,"timestamp_ms":1791174282000,"timestamp_seconds":1791174282,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4e8b10"} 
[2026-10-05 09:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 09:59: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-10-05 09:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:59: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-10-05 09:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540539136001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540539136001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:59:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:59:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540539136001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":207416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:59:01] local.INFO: GPS data processed {"connection_id":207416,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:59:01] local.INFO: Acknowledgment sent {"connection_id":207416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:59:04] local.INFO: TCP Data received {"connection_id":204455,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:59:04] local.INFO: Processing buffer {"connection_id":204455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 09:59:04] local.INFO: IMEI packet received {"connection_id":204455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 09:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":204455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 09:59:06] local.INFO: TCP Data received {"connection_id":204455,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a511380012d7cddc005fbe748000b001828..."} 
[2026-10-05 09:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a511380012d7cddc005fbe748000b001828..."} 
[2026-10-05 09:59:06] local.INFO: Processing buffer {"connection_id":204455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a511380012d7cddc005fbe748000b001828..."} 
[2026-10-05 09:59:06] local.INFO: Packet analysis {"connection_id":204455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a51"} 
[2026-10-05 09:59:06] local.INFO: Extracted packet for processing {"connection_id":204455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a51"} 
[2026-10-05 09:59:06] local.INFO: GPS Element Parsed {"raw_longitude":763157952,"raw_latitude":100394824,"longitude_deg":76.3157952,"latitude_deg":10.0394824,"altitude":11,"angle":24,"satellites":40,"speed":25,"hex_longitude":"2d7cddc0","hex_latitude":"05fbe748","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540653568001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139481176061509632,"note":"Value kept but may cause issues"} 
[2026-10-05 09:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993969956534671360,"note":"Value kept but may cause issues"} 
[2026-10-05 09:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791174448000,"timestamp_ms":1791174448000,"timestamp_seconds":1791174448,"priority":1,"record_length":96,"hex_timestamp":"000001a10a511380"} 
[2026-10-05 09:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 09: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-10-05 09:59:06] 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-10-05 09: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-10-05 09:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540653568001,"66":13798,"117":206,"87":10752,"24":25,"16":139481176061509632,"45":8993969956534671360},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-10-05 09:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540653568001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:59:06] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-10-05 09:59:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 09:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139481176061509632,"km_value":139481176061509.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993969956534671360,"description":"Unknown IO ID 45"} 
[2026-10-05 09:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540653568001,"power":13798,"unknown_117":206,"unknown_87":10752,"ignition":25,"odometer":null,"unknown_45":8993969956534671360}} 
[2026-10-05 09:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":204455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:59:06] local.INFO: GPS data processed {"connection_id":204455,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:59:06] local.INFO: Acknowledgment sent {"connection_id":204455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:59:32] local.INFO: TCP Data received {"connection_id":207416,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 09:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 09:59:32] local.INFO: Processing buffer {"connection_id":207416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 09:59:32] local.INFO: Packet analysis {"connection_id":207416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a4e"} 
[2026-10-05 09:59:32] local.INFO: Extracted packet for processing {"connection_id":207416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a4e"} 
[2026-10-05 09:59:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 09:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 09:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540539136001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 09:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 09:59: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-10-05 09:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791174282000,"timestamp_ms":1791174282000,"timestamp_seconds":1791174282,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4e8b10"} 
[2026-10-05 09:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 09:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 09:59: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-10-05 09:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 09:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 09:59: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-10-05 09:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 09:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 09:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540539136001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 09:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 09:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 09:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540539136001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:59:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 09:59:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 09:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 09:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540539136001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 09:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":207416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:59:32] local.INFO: GPS data processed {"connection_id":207416,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:59:32] local.INFO: Acknowledgment sent {"connection_id":207416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:59:37] local.INFO: TCP Data received {"connection_id":204455,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a52b960012d7d570005fd65f0000f000b26..."} 
[2026-10-05 09:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a52b960012d7d570005fd65f0000f000b26..."} 
[2026-10-05 09:59:37] local.INFO: Processing buffer {"connection_id":204455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a52b960012d7d570005fd65f0000f000b26..."} 
[2026-10-05 09:59:37] local.INFO: Packet analysis {"connection_id":204455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a52"} 
[2026-10-05 09:59:37] local.INFO: Extracted packet for processing {"connection_id":204455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a52"} 
[2026-10-05 09:59:37] local.INFO: GPS Element Parsed {"raw_longitude":763188992,"raw_latitude":100492784,"longitude_deg":76.3188992,"latitude_deg":10.0492784,"altitude":15,"angle":11,"satellites":38,"speed":41,"hex_longitude":"2d7d5700","hex_latitude":"05fd65f0","is_valid_coordinates":true} 
[2026-10-05 09: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-10-05 09:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540683520001,"note":"Value kept but may cause issues"} 
[2026-10-05 09:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139486166813507584,"note":"Value kept but may cause issues"} 
[2026-10-05 09:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029435803624914944,"note":"Value kept but may cause issues"} 
[2026-10-05 09:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 09:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791174556000,"timestamp_ms":1791174556000,"timestamp_seconds":1791174556,"priority":1,"record_length":96,"hex_timestamp":"000001a10a52b960"} 
[2026-10-05 09:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 09:59:37] 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-10-05 09: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 09:59:37] 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-10-05 09: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-10-05 09:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 09:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 09:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 09:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 09:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 09:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 09:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 09:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540683520001,"66":13852,"118":206,"87":10752,"24":41,"16":139486166813507584,"45":9029435803624914944},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 09:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 09:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 09:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540683520001,"description":"Unknown IO ID 0"} 
[2026-10-05 09:59:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 09:59:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 09:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139486166813507584,"km_value":139486166813507.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 09:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029435803624914944,"description":"Unknown IO ID 45"} 
[2026-10-05 09:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540683520001,"power":13852,"unknown_118":206,"unknown_87":10752,"ignition":41,"odometer":null,"unknown_45":9029435803624914944}} 
[2026-10-05 09:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":204455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 09:59:37] local.INFO: GPS data processed {"connection_id":204455,"processed":1,"errors":0,"total":1} 
[2026-10-05 09:59:37] local.INFO: Acknowledgment sent {"connection_id":204455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 09:59:55] local.INFO: TCP Data received {"connection_id":204317,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:59:55] local.INFO: Processing buffer {"connection_id":204317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 09:59:55] local.INFO: IMEI packet received {"connection_id":204317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 09:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":204317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:00:00] local.INFO: TCP Data received {"connection_id":204317,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:00:00] local.INFO: Processing buffer {"connection_id":204317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:00:00] local.INFO: IMEI packet received {"connection_id":204317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":204317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:00:01] local.INFO: TCP Data received {"connection_id":204317,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 10:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 10:00:01] local.INFO: Processing buffer {"connection_id":204317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a4e8b10012d7f908005afe470000000db26..."} 
[2026-10-05 10:00:01] local.INFO: Packet analysis {"connection_id":204317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a4e"} 
[2026-10-05 10:00:01] local.INFO: Extracted packet for processing {"connection_id":204317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a4e"} 
[2026-10-05 10:00:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 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-10-05 10:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540539136001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 10:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791174282000,"timestamp_ms":1791174282000,"timestamp_seconds":1791174282,"priority":1,"record_length":96,"hex_timestamp":"000001a10a4e8b10"} 
[2026-10-05 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-10-05 10:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 10:00: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-10-05 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-10-05 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-10-05 10:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:00: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-10-05 10:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540539136001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540539136001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:00:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:00:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540539136001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":204317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:00:01] local.INFO: GPS data processed {"connection_id":204317,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:00:01] local.INFO: Acknowledgment sent {"connection_id":204317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:00:12] local.INFO: TCP Data received {"connection_id":204456,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:00:12] local.INFO: Processing buffer {"connection_id":204456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:00:12] local.INFO: IMEI packet received {"connection_id":204456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":204456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:00:12] local.INFO: TCP Data received {"connection_id":204456,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:00:12] local.INFO: Processing buffer {"connection_id":204456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:00:12] local.INFO: IMEI packet received {"connection_id":204456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":204456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:00:14] local.INFO: TCP Data received {"connection_id":204456,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:00:14] local.INFO: Processing buffer {"connection_id":204456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:00:14] local.INFO: IMEI packet received {"connection_id":204456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":204456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:00:15] local.INFO: TCP Data received {"connection_id":204456,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a52e070012d7d5f8005fd8798000f000927..."} 
[2026-10-05 10:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a52e070012d7d5f8005fd8798000f000927..."} 
[2026-10-05 10:00:15] local.INFO: Processing buffer {"connection_id":204456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a52e070012d7d5f8005fd8798000f000927..."} 
[2026-10-05 10:00:15] local.INFO: Packet analysis {"connection_id":204456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a52"} 
[2026-10-05 10:00:15] local.INFO: Extracted packet for processing {"connection_id":204456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a52"} 
[2026-10-05 10:00:15] local.INFO: GPS Element Parsed {"raw_longitude":763191168,"raw_latitude":100501400,"longitude_deg":76.3191168,"latitude_deg":10.05014,"altitude":15,"angle":9,"satellites":39,"speed":34,"hex_longitude":"2d7d5f80","hex_latitude":"05fd8798","is_valid_coordinates":true} 
[2026-10-05 10:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540686336001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139486596310237184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031687603440971776,"note":"Value kept but may cause issues"} 
[2026-10-05 10:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791174566000,"timestamp_ms":1791174566000,"timestamp_seconds":1791174566,"priority":1,"record_length":96,"hex_timestamp":"000001a10a52e070"} 
[2026-10-05 10:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-05 10:00:15] 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-10-05 10:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540686336001,"66":13852,"118":206,"87":10752,"24":34,"16":139486596310237184,"45":9031687603440971776},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 10:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540686336001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:00:15] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 10:00:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139486596310237184,"km_value":139486596310237.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031687603440971776,"description":"Unknown IO ID 45"} 
[2026-10-05 10:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540686336001,"power":13852,"unknown_118":206,"unknown_87":10752,"ignition":34,"odometer":null,"unknown_45":9031687603440971776}} 
[2026-10-05 10:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":204456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:00:15] local.INFO: GPS data processed {"connection_id":204456,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:00:15] local.INFO: Acknowledgment sent {"connection_id":204456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:00:16] local.INFO: TCP Data received {"connection_id":204456,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a52ffb0012d7d68c005fdaa080010000f1d..."} 
[2026-10-05 10:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a52ffb0012d7d68c005fdaa080010000f1d..."} 
[2026-10-05 10:00:16] local.INFO: Processing buffer {"connection_id":204456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a52ffb0012d7d68c005fdaa080010000f1d..."} 
[2026-10-05 10:00:16] local.INFO: Packet analysis {"connection_id":204456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a52"} 
[2026-10-05 10:00:16] local.INFO: Extracted packet for processing {"connection_id":204456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a52"} 
[2026-10-05 10:00:16] local.INFO: GPS Element Parsed {"raw_longitude":763193536,"raw_latitude":100510216,"longitude_deg":76.3193536,"latitude_deg":10.0510216,"altitude":16,"angle":15,"satellites":29,"speed":54,"hex_longitude":"2d7d68c0","hex_latitude":"05fdaa08","is_valid_coordinates":true} 
[2026-10-05 10:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540688896001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139487038691868672,"note":"Value kept but may cause issues"} 
[2026-10-05 10:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9034080140745218048,"note":"Value kept but may cause issues"} 
[2026-10-05 10:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791174574000,"timestamp_ms":1791174574000,"timestamp_seconds":1791174574,"priority":1,"record_length":96,"hex_timestamp":"000001a10a52ffb0"} 
[2026-10-05 10:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-05 10:00:16] 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-10-05 10:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540688896001,"66":13798,"75":206,"87":10752,"24":54,"16":139487038691868672,"45":9034080140745218048},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-10-05 10:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540688896001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:00:16] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-10-05 10:00:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139487038691868672,"km_value":139487038691868.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9034080140745218048,"description":"Unknown IO ID 45"} 
[2026-10-05 10:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540688896001,"power":13798,"unknown_75":206,"unknown_87":10752,"ignition":54,"odometer":null,"unknown_45":9034080140745218048}} 
[2026-10-05 10:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":204456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:00:16] local.INFO: GPS data processed {"connection_id":204456,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:00:16] local.INFO: Acknowledgment sent {"connection_id":204456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:00:33] local.INFO: TCP Data received {"connection_id":204317,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:00:33] local.INFO: Processing buffer {"connection_id":204317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:00:33] local.INFO: Packet analysis {"connection_id":204317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a53"} 
[2026-10-05 10:00:33] local.INFO: Extracted packet for processing {"connection_id":204317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a53"} 
[2026-10-05 10:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540616192001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:00: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-10-05 10:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791174583000,"timestamp_ms":1791174583000,"timestamp_seconds":1791174583,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5322d8"} 
[2026-10-05 10:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:00:33] 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-10-05 10:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:00: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-10-05 10:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:00: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-10-05 10:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540616192001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540616192001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:00:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:00:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540616192001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":204317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:00:33] local.INFO: GPS data processed {"connection_id":204317,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:00:33] local.INFO: Acknowledgment sent {"connection_id":204317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:00:42] local.INFO: TCP Data received {"connection_id":207417,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207417,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:00:42] local.INFO: Processing buffer {"connection_id":207417,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:00:42] local.INFO: IMEI packet received {"connection_id":207417,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 10:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":207417,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:01:00] local.INFO: TCP Data received {"connection_id":205865,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205865,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:01:00] local.INFO: Processing buffer {"connection_id":205865,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:01:00] local.INFO: IMEI packet received {"connection_id":205865,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":205865,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:01:00] local.INFO: TCP Data received {"connection_id":204318,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:01:00] local.INFO: Processing buffer {"connection_id":204318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:01:00] local.INFO: IMEI packet received {"connection_id":204318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":204318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:01:01] local.INFO: TCP Data received {"connection_id":205865,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205865,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:01:01] local.INFO: Processing buffer {"connection_id":205865,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:01:01] local.INFO: IMEI packet received {"connection_id":205865,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":205865,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:01:03] local.INFO: TCP Data received {"connection_id":205865,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a531b08012d7d720005fdce08000c00141f..."} 
[2026-10-05 10:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a531b08012d7d720005fdce08000c00141f..."} 
[2026-10-05 10:01:03] local.INFO: Processing buffer {"connection_id":205865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a531b08012d7d720005fdce08000c00141f..."} 
[2026-10-05 10:01:03] local.INFO: Packet analysis {"connection_id":205865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a53"} 
[2026-10-05 10:01:03] local.INFO: Extracted packet for processing {"connection_id":205865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a53"} 
[2026-10-05 10:01:03] local.INFO: GPS Element Parsed {"raw_longitude":763195904,"raw_latitude":100519432,"longitude_deg":76.3195904,"latitude_deg":10.0519432,"altitude":12,"angle":20,"satellites":31,"speed":52,"hex_longitude":"2d7d7200","hex_latitude":"05fdce08","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540690944001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139487502548336640,"note":"Value kept but may cause issues"} 
[2026-10-05 10:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9036683784282048512,"note":"Value kept but may cause issues"} 
[2026-10-05 10:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791174581000,"timestamp_ms":1791174581000,"timestamp_seconds":1791174581,"priority":1,"record_length":96,"hex_timestamp":"000001a10a531b08"} 
[2026-10-05 10:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:01: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-10-05 10: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 10:01:03] 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-10-05 10: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-10-05 10:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":205865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":205865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":205865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540690944001,"66":13222,"75":206,"87":10752,"24":52,"16":139487502548336640,"45":9036683784282048512},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-10-05 10:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540690944001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:01:03] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-10-05 10:01:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139487502548336640,"km_value":139487502548336.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9036683784282048512,"description":"Unknown IO ID 45"} 
[2026-10-05 10:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540690944001,"power":13222,"unknown_75":206,"unknown_87":10752,"ignition":52,"odometer":null,"unknown_45":9036683784282048512}} 
[2026-10-05 10:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":205865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:01:03] local.INFO: GPS data processed {"connection_id":205865,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:01:03] local.INFO: Acknowledgment sent {"connection_id":205865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:01:05] local.INFO: TCP Data received {"connection_id":204318,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:01:05] local.INFO: Processing buffer {"connection_id":204318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:01:05] local.INFO: IMEI packet received {"connection_id":204318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":204318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:01:06] local.INFO: TCP Data received {"connection_id":204318,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:01:06] local.INFO: Processing buffer {"connection_id":204318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:01:06] local.INFO: Packet analysis {"connection_id":204318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a53"} 
[2026-10-05 10:01:06] local.INFO: Extracted packet for processing {"connection_id":204318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a53"} 
[2026-10-05 10:01:06] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540616192001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:01: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-10-05 10:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791174583000,"timestamp_ms":1791174583000,"timestamp_seconds":1791174583,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5322d8"} 
[2026-10-05 10:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:01:06] 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-10-05 10:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:01: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-10-05 10:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540616192001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540616192001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:01:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:01:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540616192001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":204318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:01:06] local.INFO: GPS data processed {"connection_id":204318,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:01:06] local.INFO: Acknowledgment sent {"connection_id":204318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:01:10] local.INFO: TCP Data received {"connection_id":204318,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:01:10] local.INFO: Processing buffer {"connection_id":204318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:01:10] local.INFO: Packet analysis {"connection_id":204318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a53"} 
[2026-10-05 10:01:10] local.INFO: Extracted packet for processing {"connection_id":204318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a53"} 
[2026-10-05 10:01:10] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540616192001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:01: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-10-05 10:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791174583000,"timestamp_ms":1791174583000,"timestamp_seconds":1791174583,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5322d8"} 
[2026-10-05 10:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:01: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-10-05 10:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:01:10] 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-10-05 10:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540616192001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540616192001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:01:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540616192001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":204318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:01:10] local.INFO: GPS data processed {"connection_id":204318,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:01:10] local.INFO: Acknowledgment sent {"connection_id":204318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:01:34] local.INFO: TCP Data received {"connection_id":205865,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a54b918012d7dfb8005ff46680014000627..."} 
[2026-10-05 10:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a54b918012d7dfb8005ff46680014000627..."} 
[2026-10-05 10:01:34] local.INFO: Processing buffer {"connection_id":205865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a54b918012d7dfb8005ff46680014000627..."} 
[2026-10-05 10:01:34] local.INFO: Packet analysis {"connection_id":205865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a54"} 
[2026-10-05 10:01:34] local.INFO: Extracted packet for processing {"connection_id":205865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a54"} 
[2026-10-05 10:01:34] local.INFO: GPS Element Parsed {"raw_longitude":763231104,"raw_latitude":100615784,"longitude_deg":76.3231104,"latitude_deg":10.0615784,"altitude":20,"angle":6,"satellites":39,"speed":20,"hex_longitude":"2d7dfb80","hex_latitude":"05ff4668","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540718848001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139492484710400000,"note":"Value kept but may cause issues"} 
[2026-10-05 10:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9077145812210563072,"note":"Value kept but may cause issues"} 
[2026-10-05 10:01:34] 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-10-05 10:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791174687000,"timestamp_ms":1791174687000,"timestamp_seconds":1791174687,"priority":1,"record_length":96,"hex_timestamp":"000001a10a54b918"} 
[2026-10-05 10:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:01: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-10-05 10: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 10:01:34] 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-10-05 10: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-10-05 10:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":205865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":205865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":205865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540718848001,"66":13450,"5":206,"87":10752,"24":20,"16":139492484710400000,"45":9077145812210563072},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-10-05 10:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540718848001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:01:34] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-05 10:01:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139492484710400000,"km_value":139492484710400,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9077145812210563072,"description":"Unknown IO ID 45"} 
[2026-10-05 10:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540718848001,"power":13450,"unknown_5":206,"unknown_87":10752,"ignition":20,"odometer":null,"unknown_45":9077145812210563072}} 
[2026-10-05 10:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":205865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:01:34] local.INFO: GPS data processed {"connection_id":205865,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:01:34] local.INFO: Acknowledgment sent {"connection_id":205865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:01:55] local.INFO: TCP Data received {"connection_id":204458,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:01:55] local.INFO: Processing buffer {"connection_id":204458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:01:55] local.INFO: IMEI packet received {"connection_id":204458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":204458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:02:00] local.INFO: TCP Data received {"connection_id":204459,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:02:00] local.INFO: Processing buffer {"connection_id":204459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:02:00] local.INFO: IMEI packet received {"connection_id":204459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":204459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:02:00] local.INFO: TCP Data received {"connection_id":204458,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:02:00] local.INFO: Processing buffer {"connection_id":204458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:02:00] local.INFO: IMEI packet received {"connection_id":204458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":204458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:02:01] local.INFO: TCP Data received {"connection_id":204458,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:02:01] local.INFO: Processing buffer {"connection_id":204458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:02:01] local.INFO: Packet analysis {"connection_id":204458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a53"} 
[2026-10-05 10:02:01] local.INFO: Extracted packet for processing {"connection_id":204458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a53"} 
[2026-10-05 10:02:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540616192001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:02: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-10-05 10:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791174583000,"timestamp_ms":1791174583000,"timestamp_seconds":1791174583,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5322d8"} 
[2026-10-05 10:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:02: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-10-05 10:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:02: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-10-05 10:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:02: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-10-05 10:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540616192001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540616192001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:02:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:02:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540616192001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":204458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:02:01] local.INFO: GPS data processed {"connection_id":204458,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:02:01] local.INFO: Acknowledgment sent {"connection_id":204458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:02:03] local.INFO: TCP Data received {"connection_id":204459,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:02:03] local.INFO: Processing buffer {"connection_id":204459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:02:03] local.INFO: IMEI packet received {"connection_id":204459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":204459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:02:04] local.INFO: TCP Data received {"connection_id":204459,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a54c0e8012d7dfc0005ff49900015016228..."} 
[2026-10-05 10:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a54c0e8012d7dfc0005ff49900015016228..."} 
[2026-10-05 10:02:04] local.INFO: Processing buffer {"connection_id":204459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a54c0e8012d7dfc0005ff49900015016228..."} 
[2026-10-05 10:02:04] local.INFO: Packet analysis {"connection_id":204459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a54"} 
[2026-10-05 10:02:04] local.INFO: Extracted packet for processing {"connection_id":204459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a54"} 
[2026-10-05 10:02:04] local.INFO: GPS Element Parsed {"raw_longitude":763231232,"raw_latitude":100616592,"longitude_deg":76.3231232,"latitude_deg":10.0616592,"altitude":21,"angle":354,"satellites":40,"speed":13,"hex_longitude":"2d7dfc00","hex_latitude":"05ff4990","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540719872001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139492523365105664,"note":"Value kept but may cause issues"} 
[2026-10-05 10:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9077990237141362688,"note":"Value kept but may cause issues"} 
[2026-10-05 10:02: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-10-05 10:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791174689000,"timestamp_ms":1791174689000,"timestamp_seconds":1791174689,"priority":1,"record_length":96,"hex_timestamp":"000001a10a54c0e8"} 
[2026-10-05 10:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:02: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-10-05 10: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 10:02: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-10-05 10: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-10-05 10:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":204459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":204459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":204459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540719872001,"66":13450,"5":206,"87":10752,"24":13,"16":139492523365105664,"45":9077990237141362688},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-10-05 10:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540719872001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:02:04] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-05 10:02:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139492523365105664,"km_value":139492523365105.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9077990237141362688,"description":"Unknown IO ID 45"} 
[2026-10-05 10:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540719872001,"power":13450,"unknown_5":206,"unknown_87":10752,"ignition":13,"odometer":null,"unknown_45":9077990237141362688}} 
[2026-10-05 10:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":204459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:02:04] local.INFO: GPS data processed {"connection_id":204459,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:02:04] local.INFO: Acknowledgment sent {"connection_id":204459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:02:32] local.INFO: TCP Data received {"connection_id":204458,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:02:32] local.INFO: Processing buffer {"connection_id":204458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:02:32] local.INFO: Packet analysis {"connection_id":204458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a53"} 
[2026-10-05 10:02:32] local.INFO: Extracted packet for processing {"connection_id":204458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a53"} 
[2026-10-05 10:02:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540616192001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:02: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-10-05 10:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791174583000,"timestamp_ms":1791174583000,"timestamp_seconds":1791174583,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5322d8"} 
[2026-10-05 10:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:02:32] 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-10-05 10:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:02:32] 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-10-05 10:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:02: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-10-05 10:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540616192001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540616192001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:02:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:02:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540616192001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":204458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:02:32] local.INFO: GPS data processed {"connection_id":204458,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:02:32] local.INFO: Acknowledgment sent {"connection_id":204458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:02:36] local.INFO: TCP Data received {"connection_id":204459,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a54c4d0012d7dfb8005ff4ac80015015528..."} 
[2026-10-05 10:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a54c4d0012d7dfb8005ff4ac80015015528..."} 
[2026-10-05 10:02:36] local.INFO: Processing buffer {"connection_id":204459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a54c4d0012d7dfb8005ff4ac80015015528..."} 
[2026-10-05 10:02:36] local.INFO: Packet analysis {"connection_id":204459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a54"} 
[2026-10-05 10:02:36] local.INFO: Extracted packet for processing {"connection_id":204459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a54"} 
[2026-10-05 10:02:36] local.INFO: GPS Element Parsed {"raw_longitude":763231104,"raw_latitude":100616904,"longitude_deg":76.3231104,"latitude_deg":10.0616904,"altitude":21,"angle":341,"satellites":40,"speed":14,"hex_longitude":"2d7dfb80","hex_latitude":"05ff4ac8","is_valid_coordinates":true} 
[2026-10-05 10:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540720384001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139492540544974848,"note":"Value kept but may cause issues"} 
[2026-10-05 10:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9078130974629924864,"note":"Value kept but may cause issues"} 
[2026-10-05 10:02:36] 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-10-05 10:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791174690000,"timestamp_ms":1791174690000,"timestamp_seconds":1791174690,"priority":1,"record_length":96,"hex_timestamp":"000001a10a54c4d0"} 
[2026-10-05 10:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 10:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 10:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540720384001,"66":13820,"5":206,"87":10752,"24":14,"16":139492540544974848,"45":9078130974629924864},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-10-05 10:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540720384001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:02:36] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-05 10:02:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139492540544974848,"km_value":139492540544974.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9078130974629924864,"description":"Unknown IO ID 45"} 
[2026-10-05 10:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540720384001,"power":13820,"unknown_5":206,"unknown_87":10752,"ignition":14,"odometer":null,"unknown_45":9078130974629924864}} 
[2026-10-05 10:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":204459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:02:36] local.INFO: GPS data processed {"connection_id":204459,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:02:36] local.INFO: Acknowledgment sent {"connection_id":204459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:02:55] local.INFO: TCP Data received {"connection_id":204319,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:02:55] local.INFO: Processing buffer {"connection_id":204319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:02:55] local.INFO: IMEI packet received {"connection_id":204319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":204319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:02:59] local.INFO: TCP Data received {"connection_id":207419,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207419,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:02:59] local.INFO: Processing buffer {"connection_id":207419,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:02:59] local.INFO: IMEI packet received {"connection_id":207419,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":207419,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:03:00] local.INFO: TCP Data received {"connection_id":204319,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:03:00] local.INFO: Processing buffer {"connection_id":204319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:03:00] local.INFO: IMEI packet received {"connection_id":204319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":204319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:03:01] local.INFO: TCP Data received {"connection_id":204319,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:03:01] local.INFO: Processing buffer {"connection_id":204319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:03:01] local.INFO: Packet analysis {"connection_id":204319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a53"} 
[2026-10-05 10:03:01] local.INFO: Extracted packet for processing {"connection_id":204319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a53"} 
[2026-10-05 10:03:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540616192001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10: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-10-05 10:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791174583000,"timestamp_ms":1791174583000,"timestamp_seconds":1791174583,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5322d8"} 
[2026-10-05 10:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:03: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-10-05 10: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":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:03: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-10-05 10: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-10-05 10:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:03: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-10-05 10:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540616192001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540616192001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:03:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:03:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540616192001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":204319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:03:01] local.INFO: GPS data processed {"connection_id":204319,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:03:01] local.INFO: Acknowledgment sent {"connection_id":204319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:03:03] local.INFO: TCP Data received {"connection_id":207419,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207419,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:03:03] local.INFO: Processing buffer {"connection_id":207419,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:03:03] local.INFO: IMEI packet received {"connection_id":207419,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":207419,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:03:04] local.INFO: TCP Data received {"connection_id":207419,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207419,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:03:05] local.INFO: Processing buffer {"connection_id":207419,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:03:05] local.INFO: IMEI packet received {"connection_id":207419,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":207419,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:03:06] local.INFO: TCP Data received {"connection_id":207419,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a54ff68012d7def0005ff6bd80013015329..."} 
[2026-10-05 10:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a54ff68012d7def0005ff6bd80013015329..."} 
[2026-10-05 10:03:06] local.INFO: Processing buffer {"connection_id":207419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a54ff68012d7def0005ff6bd80013015329..."} 
[2026-10-05 10:03:06] local.INFO: Packet analysis {"connection_id":207419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a54"} 
[2026-10-05 10:03:06] local.INFO: Extracted packet for processing {"connection_id":207419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a54"} 
[2026-10-05 10:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763227904,"raw_latitude":100625368,"longitude_deg":76.3227904,"latitude_deg":10.0625368,"altitude":19,"angle":339,"satellites":41,"speed":38,"hex_longitude":"2d7def00","hex_latitude":"05ff6bd8","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540720640001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139492978631639040,"note":"Value kept but may cause issues"} 
[2026-10-05 10:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9077990237141649408,"note":"Value kept but may cause issues"} 
[2026-10-05 10:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791174705000,"timestamp_ms":1791174705000,"timestamp_seconds":1791174705,"priority":1,"record_length":96,"hex_timestamp":"000001a10a54ff68"} 
[2026-10-05 10:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:03:06] 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-10-05 10: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 10:03:06] 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-10-05 10: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-10-05 10:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540720640001,"66":13798,"6":206,"87":10752,"24":38,"16":139492978631639040,"45":9077990237141649408},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,87,24,16,45]} 
[2026-10-05 10:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540720640001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:03:06] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-10-05 10:03:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139492978631639040,"km_value":139492978631639.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9077990237141649408,"description":"Unknown IO ID 45"} 
[2026-10-05 10:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540720640001,"power":13798,"unknown_6":206,"unknown_87":10752,"ignition":38,"odometer":null,"unknown_45":9077990237141649408}} 
[2026-10-05 10:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":207419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:03:06] local.INFO: GPS data processed {"connection_id":207419,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:03:06] local.INFO: Acknowledgment sent {"connection_id":207419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:03:10] local.INFO: TCP Data received {"connection_id":207419,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a552290012d7de2c005ff8fe00011015a2a..."} 
[2026-10-05 10:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a552290012d7de2c005ff8fe00011015a2a..."} 
[2026-10-05 10:03:10] local.INFO: Processing buffer {"connection_id":207419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a552290012d7de2c005ff8fe00011015a2a..."} 
[2026-10-05 10:03:10] local.INFO: Packet analysis {"connection_id":207419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a55"} 
[2026-10-05 10:03:10] local.INFO: Extracted packet for processing {"connection_id":207419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a55"} 
[2026-10-05 10:03:10] local.INFO: GPS Element Parsed {"raw_longitude":763224768,"raw_latitude":100634592,"longitude_deg":76.3224768,"latitude_deg":10.0634592,"altitude":17,"angle":346,"satellites":42,"speed":44,"hex_longitude":"2d7de2c0","hex_latitude":"05ff8fe0","is_valid_coordinates":true} 
[2026-10-05 10:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540724480001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139493451078041600,"note":"Value kept but may cause issues"} 
[2026-10-05 10:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9074471799934932992,"note":"Value kept but may cause issues"} 
[2026-10-05 10:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791174714000,"timestamp_ms":1791174714000,"timestamp_seconds":1791174714,"priority":1,"record_length":96,"hex_timestamp":"000001a10a552290"} 
[2026-10-05 10:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 10:03:10] 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-10-05 10:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540724480001,"66":13678,"6":206,"87":10752,"24":44,"16":139493451078041600,"45":9074471799934932992},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,87,24,16,45]} 
[2026-10-05 10:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540724480001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:03:10] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-10-05 10:03:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139493451078041600,"km_value":139493451078041.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9074471799934932992,"description":"Unknown IO ID 45"} 
[2026-10-05 10:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540724480001,"power":13678,"unknown_6":206,"unknown_87":10752,"ignition":44,"odometer":null,"unknown_45":9074471799934932992}} 
[2026-10-05 10:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":207419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:03:10] local.INFO: GPS data processed {"connection_id":207419,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:03:10] local.INFO: Acknowledgment sent {"connection_id":207419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:03:33] local.INFO: TCP Data received {"connection_id":204319,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:03:33] local.INFO: Processing buffer {"connection_id":204319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:03:33] local.INFO: Packet analysis {"connection_id":204319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a53"} 
[2026-10-05 10:03:33] local.INFO: Extracted packet for processing {"connection_id":204319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a53"} 
[2026-10-05 10:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540616192001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:03: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-10-05 10:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791174583000,"timestamp_ms":1791174583000,"timestamp_seconds":1791174583,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5322d8"} 
[2026-10-05 10:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:03:33] 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-10-05 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:03: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-10-05 10: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-10-05 10:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540616192001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540616192001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:03:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:03:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540616192001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":204319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:03:33] local.INFO: GPS data processed {"connection_id":204319,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:03:33] local.INFO: Acknowledgment sent {"connection_id":204319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:03:41] local.INFO: TCP Data received {"connection_id":207419,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a553de8012d7ddb8005ffaf70001301662b..."} 
[2026-10-05 10:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a553de8012d7ddb8005ffaf70001301662b..."} 
[2026-10-05 10:03:41] local.INFO: Processing buffer {"connection_id":207419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a553de8012d7ddb8005ffaf70001301662b..."} 
[2026-10-05 10:03:41] local.INFO: Packet analysis {"connection_id":207419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a55"} 
[2026-10-05 10:03:41] local.INFO: Extracted packet for processing {"connection_id":207419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a55"} 
[2026-10-05 10:03:41] local.INFO: GPS Element Parsed {"raw_longitude":763222912,"raw_latitude":100642672,"longitude_deg":76.3222912,"latitude_deg":10.0642672,"altitude":19,"angle":358,"satellites":43,"speed":47,"hex_longitude":"2d7ddb80","hex_latitude":"05ffaf70","is_valid_coordinates":true} 
[2026-10-05 10:03: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-10-05 10:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540726784001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139493854804967424,"note":"Value kept but may cause issues"} 
[2026-10-05 10:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9071023731472588800,"note":"Value kept but may cause issues"} 
[2026-10-05 10:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791174721000,"timestamp_ms":1791174721000,"timestamp_seconds":1791174721,"priority":1,"record_length":96,"hex_timestamp":"000001a10a553de8"} 
[2026-10-05 10:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:03: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-10-05 10:03: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-10-05 10:03: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-10-05 10:03: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-10-05 10:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":207419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":207419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":207419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540726784001,"66":13222,"6":206,"87":10752,"24":47,"16":139493854804967424,"45":9071023731472588800},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,87,24,16,45]} 
[2026-10-05 10:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540726784001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:03:41] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-10-05 10:03:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139493854804967424,"km_value":139493854804967.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9071023731472588800,"description":"Unknown IO ID 45"} 
[2026-10-05 10:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540726784001,"power":13222,"unknown_6":206,"unknown_87":10752,"ignition":47,"odometer":null,"unknown_45":9071023731472588800}} 
[2026-10-05 10:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":207419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:03:41] local.INFO: GPS data processed {"connection_id":207419,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:03:41] local.INFO: Acknowledgment sent {"connection_id":207419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:03:55] local.INFO: TCP Data received {"connection_id":207420,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:03:55] local.INFO: Processing buffer {"connection_id":207420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:03:55] local.INFO: IMEI packet received {"connection_id":207420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":207420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:03:59] local.INFO: TCP Data received {"connection_id":207421,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207421,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:03:59] local.INFO: Processing buffer {"connection_id":207421,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:03:59] local.INFO: IMEI packet received {"connection_id":207421,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":207421,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:04:00] local.INFO: TCP Data received {"connection_id":207420,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:04:00] local.INFO: Processing buffer {"connection_id":207420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:04:00] local.INFO: IMEI packet received {"connection_id":207420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":207420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:04:01] local.INFO: TCP Data received {"connection_id":207420,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:04:01] local.INFO: Processing buffer {"connection_id":207420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:04:01] local.INFO: Packet analysis {"connection_id":207420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a53"} 
[2026-10-05 10:04:01] local.INFO: Extracted packet for processing {"connection_id":207420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a53"} 
[2026-10-05 10:04:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540616192001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10: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-10-05 10:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791174583000,"timestamp_ms":1791174583000,"timestamp_seconds":1791174583,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5322d8"} 
[2026-10-05 10:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:04: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-10-05 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:04: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-10-05 10: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-10-05 10:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:04: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-10-05 10:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540616192001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540616192001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:04:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:04:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540616192001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":207420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:04:01] local.INFO: GPS data processed {"connection_id":207420,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:04:01] local.INFO: Acknowledgment sent {"connection_id":207420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:04:05] local.INFO: TCP Data received {"connection_id":207421,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207421,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:04:05] local.INFO: Processing buffer {"connection_id":207421,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:04:05] local.INFO: IMEI packet received {"connection_id":207421,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":207421,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:04:06] local.INFO: TCP Data received {"connection_id":207421,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a555940012d7ddd0005ffc8e0001400092a..."} 
[2026-10-05 10:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a555940012d7ddd0005ffc8e0001400092a..."} 
[2026-10-05 10:04:06] local.INFO: Processing buffer {"connection_id":207421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a555940012d7ddd0005ffc8e0001400092a..."} 
[2026-10-05 10:04:06] local.INFO: Packet analysis {"connection_id":207421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a55"} 
[2026-10-05 10:04:06] local.INFO: Extracted packet for processing {"connection_id":207421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a55"} 
[2026-10-05 10:04:06] local.INFO: GPS Element Parsed {"raw_longitude":763223296,"raw_latitude":100649184,"longitude_deg":76.3223296,"latitude_deg":10.0649184,"altitude":20,"angle":9,"satellites":42,"speed":27,"hex_longitude":"2d7ddd00","hex_latitude":"05ffc8e0","is_valid_coordinates":true} 
[2026-10-05 10:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540728576001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139494172632547328,"note":"Value kept but may cause issues"} 
[2026-10-05 10:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068983037893505024,"note":"Value kept but may cause issues"} 
[2026-10-05 10:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791174728000,"timestamp_ms":1791174728000,"timestamp_seconds":1791174728,"priority":1,"record_length":96,"hex_timestamp":"000001a10a555940"} 
[2026-10-05 10:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-10-05 10:04: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-10-05 10:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540728576001,"66":13917,"6":206,"87":10752,"24":27,"16":139494172632547328,"45":9068983037893505024},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,87,24,16,45]} 
[2026-10-05 10:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540728576001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:04:06] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-10-05 10:04:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139494172632547328,"km_value":139494172632547.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068983037893505024,"description":"Unknown IO ID 45"} 
[2026-10-05 10:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540728576001,"power":13917,"unknown_6":206,"unknown_87":10752,"ignition":27,"odometer":null,"unknown_45":9068983037893505024}} 
[2026-10-05 10:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":207421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966622,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:04:06] local.INFO: GPS data processed {"connection_id":207421,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:04:06] local.INFO: Acknowledgment sent {"connection_id":207421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:04:32] local.INFO: TCP Data received {"connection_id":207420,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:04:32] local.INFO: Processing buffer {"connection_id":207420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:04:32] local.INFO: Packet analysis {"connection_id":207420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a53"} 
[2026-10-05 10:04:32] local.INFO: Extracted packet for processing {"connection_id":207420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a53"} 
[2026-10-05 10:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540616192001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:04: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-10-05 10:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791174583000,"timestamp_ms":1791174583000,"timestamp_seconds":1791174583,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5322d8"} 
[2026-10-05 10:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:04:32] 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-10-05 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:04:32] 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-10-05 10: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-10-05 10:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:04: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-10-05 10:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540616192001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540616192001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:04:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:04:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540616192001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":207420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:04:32] local.INFO: GPS data processed {"connection_id":207420,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:04:32] local.INFO: Acknowledgment sent {"connection_id":207420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:04:38] local.INFO: TCP Data received {"connection_id":207421,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a56c870012d7d81000600a2b0000a012d2b..."} 
[2026-10-05 10:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a56c870012d7d81000600a2b0000a012d2b..."} 
[2026-10-05 10:04:38] local.INFO: Processing buffer {"connection_id":207421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a56c870012d7d81000600a2b0000a012d2b..."} 
[2026-10-05 10:04:38] local.INFO: Packet analysis {"connection_id":207421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a56"} 
[2026-10-05 10:04:38] local.INFO: Extracted packet for processing {"connection_id":207421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a56"} 
[2026-10-05 10:04:38] local.INFO: GPS Element Parsed {"raw_longitude":763199744,"raw_latitude":100704944,"longitude_deg":76.3199744,"latitude_deg":10.0704944,"altitude":10,"angle":301,"satellites":43,"speed":0,"hex_longitude":"2d7d8100","hex_latitude":"0600a2b0","is_valid_coordinates":true} 
[2026-10-05 10:04: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-10-05 10:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540749312001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139497325138542592,"note":"Value kept but may cause issues"} 
[2026-10-05 10:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9047872414655500288,"note":"Value kept but may cause issues"} 
[2026-10-05 10:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791174822000,"timestamp_ms":1791174822000,"timestamp_seconds":1791174822,"priority":1,"record_length":96,"hex_timestamp":"000001a10a56c870"} 
[2026-10-05 10:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-05 10:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 10:04: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-10-05 10:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540749312001,"66":13830,"11":206,"87":10752,"24":0,"16":139497325138542592,"45":9047872414655500288},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,87,24,16,45]} 
[2026-10-05 10:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540749312001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:04:38] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-10-05 10:04:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139497325138542592,"km_value":139497325138542.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9047872414655500288,"description":"Unknown IO ID 45"} 
[2026-10-05 10:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540749312001,"power":13830,"unknown_11":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9047872414655500288}} 
[2026-10-05 10:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":207421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:04:38] local.INFO: GPS data processed {"connection_id":207421,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:04:38] local.INFO: Acknowledgment sent {"connection_id":207421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:04:55] local.INFO: TCP Data received {"connection_id":205867,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:04:55] local.INFO: Processing buffer {"connection_id":205867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:04:55] local.INFO: IMEI packet received {"connection_id":205867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":205867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:05:01] local.INFO: TCP Data received {"connection_id":205867,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:05:01] local.INFO: Processing buffer {"connection_id":205867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:05:01] local.INFO: IMEI packet received {"connection_id":205867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":205867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:05:02] local.INFO: TCP Data received {"connection_id":205867,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:05:02] local.INFO: Processing buffer {"connection_id":205867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5322d8012d7f908005afe470000000db27..."} 
[2026-10-05 10:05:02] local.INFO: Packet analysis {"connection_id":205867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a53"} 
[2026-10-05 10:05:02] local.INFO: Extracted packet for processing {"connection_id":205867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a53"} 
[2026-10-05 10:05:02] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540616192001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:05: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-10-05 10:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791174583000,"timestamp_ms":1791174583000,"timestamp_seconds":1791174583,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5322d8"} 
[2026-10-05 10:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:05: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-10-05 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:05:02] 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-10-05 10: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-10-05 10:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:05:02] 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-10-05 10:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540616192001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540616192001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:05:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:05:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540616192001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":205867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:05:02] local.INFO: GPS data processed {"connection_id":205867,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:05:02] local.INFO: Acknowledgment sent {"connection_id":205867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:05:05] local.INFO: TCP Data received {"connection_id":204460,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:05:05] local.INFO: Processing buffer {"connection_id":204460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:05:05] local.INFO: IMEI packet received {"connection_id":204460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":204460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:05:10] local.INFO: TCP Data received {"connection_id":204460,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:05:10] local.INFO: Processing buffer {"connection_id":204460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:05:10] local.INFO: IMEI packet received {"connection_id":204460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":204460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:05:11] local.INFO: TCP Data received {"connection_id":204460,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a571a78012d7d79000600a6c8000a012a2c..."} 
[2026-10-05 10:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a571a78012d7d79000600a6c8000a012a2c..."} 
[2026-10-05 10:05:11] local.INFO: Processing buffer {"connection_id":204460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a571a78012d7d79000600a6c8000a012a2c..."} 
[2026-10-05 10:05:11] local.INFO: Packet analysis {"connection_id":204460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:05:11] local.INFO: Extracted packet for processing {"connection_id":204460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:05:11] local.INFO: GPS Element Parsed {"raw_longitude":763197696,"raw_latitude":100705992,"longitude_deg":76.3197696,"latitude_deg":10.0705992,"altitude":10,"angle":298,"satellites":44,"speed":5,"hex_longitude":"2d7d7900","hex_latitude":"0600a6c8","is_valid_coordinates":true} 
[2026-10-05 10:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540754432001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139497445397626880,"note":"Value kept but may cause issues"} 
[2026-10-05 10:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9043509552517132288,"note":"Value kept but may cause issues"} 
[2026-10-05 10:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791174843000,"timestamp_ms":1791174843000,"timestamp_seconds":1791174843,"priority":1,"record_length":96,"hex_timestamp":"000001a10a571a78"} 
[2026-10-05 10:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:05: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-10-05 10:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 10:05:11] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8162782930337792,"note":"Value kept but may cause issues"} 
[2026-10-05 10:05:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626599291136,"note":"Value kept but may cause issues"} 
[2026-10-05 10:05:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1594556622,"corrected_to":0} 
[2026-10-05 10:05:11] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2526740480,"note":"Value kept but may cause issues"} 
[2026-10-05 10:05:11] local.WARNING: Large IO value detected {"io_id":9,"raw_value":576792245961754112,"note":"Value kept but may cause issues"} 
[2026-10-05 10:05:11] local.WARNING: Large IO value detected {"io_id":39,"raw_value":4035243963763589144,"note":"Value kept but may cause issues"} 
[2026-10-05 10:05:11] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,11,87,24,241,157,16,152,161,122,45,128,8,43,10,66,151,94,129,42,1,240,230,227,4,113,205,57,40,214,239,54,2,6,29,9,39],"length":528,"final_offset":658,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1594556622,"validated":0}]} 
[2026-10-05 10:05:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720907078062833664,"timestamp_seconds":720907078062833.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 10:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540754432001,"66":13961,"11":206,"87":10752,"24":5,"16":139497445397626880,"45":9043509552517132288},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,87,24,16,45]} 
[2026-10-05 10:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540754432001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:05:11] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-10-05 10:05:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139497445397626880,"km_value":139497445397626.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9043509552517132288,"description":"Unknown IO ID 45"} 
[2026-10-05 10:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540754432001,"power":13961,"unknown_11":206,"unknown_87":10752,"ignition":5,"odometer":null,"unknown_45":9043509552517132288}} 
[2026-10-05 10:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":204460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:05:11] local.INFO: GPS data processed {"connection_id":204460,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:05:11] local.INFO: Acknowledgment sent {"connection_id":204460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:05:33] local.INFO: TCP Data received {"connection_id":205867,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:05:33] local.INFO: Processing buffer {"connection_id":205867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:05:33] local.INFO: Packet analysis {"connection_id":205867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:05:33] local.INFO: Extracted packet for processing {"connection_id":205867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:05:33] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540693248001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:05: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-10-05 10:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791174884000,"timestamp_ms":1791174884000,"timestamp_seconds":1791174884,"priority":1,"record_length":96,"hex_timestamp":"000001a10a57baa0"} 
[2026-10-05 10:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:05:33] 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-10-05 10: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-10-05 10: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-10-05 10: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-10-05 10:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:05:33] 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-10-05 10:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540693248001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540693248001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:05:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:05:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540693248001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":205867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:05:33] local.INFO: GPS data processed {"connection_id":205867,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:05:33] local.INFO: Acknowledgment sent {"connection_id":205867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:05:43] local.INFO: TCP Data received {"connection_id":204460,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a576c80012d7d69000600ad60000901212a..."} 
[2026-10-05 10:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a576c80012d7d69000600ad60000901212a..."} 
[2026-10-05 10:05:43] local.INFO: Processing buffer {"connection_id":204460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a576c80012d7d69000600ad60000901212a..."} 
[2026-10-05 10:05:43] local.INFO: Packet analysis {"connection_id":204460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:05:43] local.INFO: Extracted packet for processing {"connection_id":204460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:05:43] local.INFO: GPS Element Parsed {"raw_longitude":763193600,"raw_latitude":100707680,"longitude_deg":76.31936,"latitude_deg":10.070768,"altitude":9,"angle":289,"satellites":42,"speed":13,"hex_longitude":"2d7d6900","hex_latitude":"0600ad60","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540759808001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139497655851024384,"note":"Value kept but may cause issues"} 
[2026-10-05 10:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9041257752703715328,"note":"Value kept but may cause issues"} 
[2026-10-05 10:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791174864000,"timestamp_ms":1791174864000,"timestamp_seconds":1791174864,"priority":1,"record_length":96,"hex_timestamp":"000001a10a576c80"} 
[2026-10-05 10:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:05: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-10-05 10: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-05 10:05:43] 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-10-05 10: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-10-05 10:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540759808001,"66":13656,"11":206,"87":10752,"24":13,"16":139497655851024384,"45":9041257752703715328},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,87,24,16,45]} 
[2026-10-05 10:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540759808001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:05:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-10-05 10:05:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139497655851024384,"km_value":139497655851024.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9041257752703715328,"description":"Unknown IO ID 45"} 
[2026-10-05 10:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540759808001,"power":13656,"unknown_11":206,"unknown_87":10752,"ignition":13,"odometer":null,"unknown_45":9041257752703715328}} 
[2026-10-05 10:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":204460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:05:43] local.INFO: GPS data processed {"connection_id":204460,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:05:43] local.INFO: Acknowledgment sent {"connection_id":204460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:05:55] local.INFO: TCP Data received {"connection_id":204320,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:05:55] local.INFO: Processing buffer {"connection_id":204320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:05:55] local.INFO: IMEI packet received {"connection_id":204320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":204320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:06:00] local.INFO: TCP Data received {"connection_id":204320,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:06:00] local.INFO: Processing buffer {"connection_id":204320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:06:00] local.INFO: IMEI packet received {"connection_id":204320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":204320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:06:01] local.INFO: TCP Data received {"connection_id":204320,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:06:01] local.INFO: Processing buffer {"connection_id":204320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:06:01] local.INFO: Packet analysis {"connection_id":204320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:06:01] local.INFO: Extracted packet for processing {"connection_id":204320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:06:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540693248001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:06: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-10-05 10:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791174884000,"timestamp_ms":1791174884000,"timestamp_seconds":1791174884,"priority":1,"record_length":96,"hex_timestamp":"000001a10a57baa0"} 
[2026-10-05 10:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:06: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-10-05 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:06: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-10-05 10: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-10-05 10:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:06: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-10-05 10:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540693248001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540693248001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:06:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:06:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540693248001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":204320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:06:01] local.INFO: GPS data processed {"connection_id":204320,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:06:01] local.INFO: Acknowledgment sent {"connection_id":204320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:06:03] local.INFO: TCP Data received {"connection_id":207423,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:06:03] local.INFO: Processing buffer {"connection_id":207423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:06:03] local.INFO: IMEI packet received {"connection_id":207423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":207423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:06:03] local.INFO: TCP Data received {"connection_id":207423,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:06:03] local.INFO: Processing buffer {"connection_id":207423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:06:03] local.INFO: IMEI packet received {"connection_id":207423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":207423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:06:13] local.INFO: TCP Data received {"connection_id":207422,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:06:13] local.INFO: Processing buffer {"connection_id":207422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:06:13] local.INFO: IMEI packet received {"connection_id":207422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 10:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":207422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:06:20] local.INFO: TCP Data received {"connection_id":207423,"ip":"42.106.6.55","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a10a..."} 
[2026-10-05 10:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207423,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a10a..."} 
[2026-10-05 10:06:20] local.INFO: Processing buffer {"connection_id":207423,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a10a..."} 
[2026-10-05 10:06:20] local.INFO: IMEI packet received {"connection_id":207423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":207423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:06:22] local.INFO: TCP Data received {"connection_id":207423,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a57e980012d7d4a800600b448000a01152a..."} 
[2026-10-05 10:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a57e980012d7d4a800600b448000a01152a..."} 
[2026-10-05 10:06:22] local.INFO: Processing buffer {"connection_id":207423,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a10a579b60012d7d56400600b248000a01162a..."} 
[2026-10-05 10:06:22] local.INFO: Packet analysis {"connection_id":207423,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:06:22] local.INFO: Extracted packet for processing {"connection_id":207423,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:06:22] local.INFO: GPS Element Parsed {"raw_longitude":763188800,"raw_latitude":100708936,"longitude_deg":76.31888,"latitude_deg":10.0708936,"altitude":10,"angle":278,"satellites":42,"speed":12,"hex_longitude":"2d7d5640","hex_latitude":"0600b248","is_valid_coordinates":true} 
[2026-10-05 10:06: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-10-05 10:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540765184001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139497896369192960,"note":"Value kept but may cause issues"} 
[2026-10-05 10:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9036754153076776960,"note":"Value kept but may cause issues"} 
[2026-10-05 10:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791174876000,"timestamp_ms":1791174876000,"timestamp_seconds":1791174876,"priority":1,"record_length":96,"hex_timestamp":"000001a10a579b60"} 
[2026-10-05 10:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-05 10:06:22] 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-10-05 10:06: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-10-05 10:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":207423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":207423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":207423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540765184001,"66":13656,"11":206,"87":10752,"24":12,"16":139497896369192960,"45":9036754153076776960},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,87,24,16,45]} 
[2026-10-05 10:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540765184001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:06:22] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-10-05 10:06:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139497896369192960,"km_value":139497896369192.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9036754153076776960,"description":"Unknown IO ID 45"} 
[2026-10-05 10:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540765184001,"power":13656,"unknown_11":206,"unknown_87":10752,"ignition":12,"odometer":null,"unknown_45":9036754153076776960}} 
[2026-10-05 10:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":207423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:06:22] local.INFO: GPS data processed {"connection_id":207423,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:06:22] local.INFO: Acknowledgment sent {"connection_id":207423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:06:22] local.INFO: Packet analysis {"connection_id":207423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:06:22] local.INFO: Extracted packet for processing {"connection_id":207423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:06:22] local.INFO: GPS Element Parsed {"raw_longitude":763185792,"raw_latitude":100709448,"longitude_deg":76.3185792,"latitude_deg":10.0709448,"altitude":10,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d7d4a80","hex_latitude":"0600b448","is_valid_coordinates":true} 
[2026-10-05 10:06: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-10-05 10:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540768256001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139498038103113728,"note":"Value kept but may cause issues"} 
[2026-10-05 10:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031476497263773696,"note":"Value kept but may cause issues"} 
[2026-10-05 10:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791174896000,"timestamp_ms":1791174896000,"timestamp_seconds":1791174896,"priority":1,"record_length":96,"hex_timestamp":"000001a10a57e980"} 
[2026-10-05 10:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-05 10:06:22] 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-10-05 10:06: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-10-05 10:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":207423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":207423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":207423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540768256001,"66":12961,"11":206,"87":10752,"24":0,"16":139498038103113728,"45":9031476497263773696},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,87,24,16,45]} 
[2026-10-05 10:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540768256001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:06:22] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-10-05 10:06:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139498038103113728,"km_value":139498038103113.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031476497263773696,"description":"Unknown IO ID 45"} 
[2026-10-05 10:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540768256001,"power":12961,"unknown_11":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9031476497263773696}} 
[2026-10-05 10:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":207423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:06:22] local.INFO: GPS data processed {"connection_id":207423,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:06:22] local.INFO: Acknowledgment sent {"connection_id":207423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:06:22] local.INFO: TCP Data received {"connection_id":207423,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a583b88012d7d4a800600b448000a011529..."} 
[2026-10-05 10:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a583b88012d7d4a800600b448000a011529..."} 
[2026-10-05 10:06:22] local.INFO: Processing buffer {"connection_id":207423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a583b88012d7d4a800600b448000a011529..."} 
[2026-10-05 10:06:22] local.INFO: Packet analysis {"connection_id":207423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a58"} 
[2026-10-05 10:06:22] local.INFO: Extracted packet for processing {"connection_id":207423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a58"} 
[2026-10-05 10:06:22] local.INFO: GPS Element Parsed {"raw_longitude":763185792,"raw_latitude":100709448,"longitude_deg":76.3185792,"latitude_deg":10.0709448,"altitude":10,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d7d4a80","hex_latitude":"0600b448","is_valid_coordinates":true} 
[2026-10-05 10:06: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-10-05 10:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540773376001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139498038103113728,"note":"Value kept but may cause issues"} 
[2026-10-05 10:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028169166287554560,"note":"Value kept but may cause issues"} 
[2026-10-05 10:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791174917000,"timestamp_ms":1791174917000,"timestamp_seconds":1791174917,"priority":1,"record_length":96,"hex_timestamp":"000001a10a583b88"} 
[2026-10-05 10:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10:06: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":161,"data_length":795,"current_offset":136} 
[2026-10-05 10:06:22] 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-10-05 10:06: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-10-05 10:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":207423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":207423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":207423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540773376001,"66":13580,"11":206,"87":10752,"24":0,"16":139498038103113728,"45":9028169166287554560},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,87,24,16,45]} 
[2026-10-05 10:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540773376001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:06:22] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-10-05 10:06:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139498038103113728,"km_value":139498038103113.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028169166287554560,"description":"Unknown IO ID 45"} 
[2026-10-05 10:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540773376001,"power":13580,"unknown_11":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9028169166287554560}} 
[2026-10-05 10:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":207423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:06:22] local.INFO: GPS data processed {"connection_id":207423,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:06:22] local.INFO: Acknowledgment sent {"connection_id":207423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:06:32] local.INFO: TCP Data received {"connection_id":204320,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:06:32] local.INFO: Processing buffer {"connection_id":204320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:06:32] local.INFO: Packet analysis {"connection_id":204320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:06:32] local.INFO: Extracted packet for processing {"connection_id":204320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:06:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540693248001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:06: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-10-05 10:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791174884000,"timestamp_ms":1791174884000,"timestamp_seconds":1791174884,"priority":1,"record_length":96,"hex_timestamp":"000001a10a57baa0"} 
[2026-10-05 10:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:06:32] 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-10-05 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:06:32] 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-10-05 10: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-10-05 10:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:06: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-10-05 10:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540693248001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540693248001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:06:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:06:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540693248001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":204320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:06:32] local.INFO: GPS data processed {"connection_id":204320,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:06:32] local.INFO: Acknowledgment sent {"connection_id":204320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:06:44] local.INFO: TCP Data received {"connection_id":204461,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204461,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:06:44] local.INFO: Processing buffer {"connection_id":204461,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:06:44] local.INFO: IMEI packet received {"connection_id":204461,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 10:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":204461,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:06:46] local.INFO: TCP Data received {"connection_id":204461,"ip":"42.106.6.20","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-10-05 10:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204461,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-10-05 10:06:46] local.INFO: Processing buffer {"connection_id":204461,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-10-05 10:06:46] local.INFO: IMEI packet received {"connection_id":204461,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 10:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":204461,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:06:55] local.INFO: TCP Data received {"connection_id":207424,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:06:55] local.INFO: Processing buffer {"connection_id":207424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:06:55] local.INFO: IMEI packet received {"connection_id":207424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":207424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:07:00] local.INFO: TCP Data received {"connection_id":207424,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:07:00] local.INFO: Processing buffer {"connection_id":207424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:07:00] local.INFO: IMEI packet received {"connection_id":207424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":207424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:07:01] local.INFO: TCP Data received {"connection_id":207424,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:07:01] local.INFO: Processing buffer {"connection_id":207424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:07:01] local.INFO: Packet analysis {"connection_id":207424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:07:01] local.INFO: Extracted packet for processing {"connection_id":207424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:07:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540693248001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:07: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-10-05 10:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791174884000,"timestamp_ms":1791174884000,"timestamp_seconds":1791174884,"priority":1,"record_length":96,"hex_timestamp":"000001a10a57baa0"} 
[2026-10-05 10:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:07: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-10-05 10:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:07: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-10-05 10:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:07: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-10-05 10:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540693248001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540693248001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:07:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:07:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540693248001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":207424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:07:01] local.INFO: GPS data processed {"connection_id":207424,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:07:01] local.INFO: Acknowledgment sent {"connection_id":207424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:07:02] local.INFO: TCP Data received {"connection_id":205868,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:07:02] local.INFO: Processing buffer {"connection_id":205868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:07:02] local.INFO: IMEI packet received {"connection_id":205868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":205868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:07:03] local.INFO: TCP Data received {"connection_id":205868,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:07:03] local.INFO: Processing buffer {"connection_id":205868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:07:03] local.INFO: IMEI packet received {"connection_id":205868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":205868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:07:06] local.INFO: TCP Data received {"connection_id":205868,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:07:06] local.INFO: Processing buffer {"connection_id":205868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:07:06] local.INFO: IMEI packet received {"connection_id":205868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":205868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:07:07] local.INFO: TCP Data received {"connection_id":205868,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a588d90012d7d4a800600b448000a01152a..."} 
[2026-10-05 10:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a588d90012d7d4a800600b448000a01152a..."} 
[2026-10-05 10:07:07] local.INFO: Processing buffer {"connection_id":205868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a588d90012d7d4a800600b448000a01152a..."} 
[2026-10-05 10:07:07] local.INFO: Packet analysis {"connection_id":205868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a58"} 
[2026-10-05 10:07:07] local.INFO: Extracted packet for processing {"connection_id":205868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a58"} 
[2026-10-05 10:07:07] local.INFO: GPS Element Parsed {"raw_longitude":763185792,"raw_latitude":100709448,"longitude_deg":76.3185792,"latitude_deg":10.0709448,"altitude":10,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d7d4a80","hex_latitude":"0600b448","is_valid_coordinates":true} 
[2026-10-05 10:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540778752001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139498038103113728,"note":"Value kept but may cause issues"} 
[2026-10-05 10:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028169166287554560,"note":"Value kept but may cause issues"} 
[2026-10-05 10:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791174938000,"timestamp_ms":1791174938000,"timestamp_seconds":1791174938,"priority":1,"record_length":96,"hex_timestamp":"000001a10a588d90"} 
[2026-10-05 10:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 10:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751640471,"note":"Value kept but may cause issues"} 
[2026-10-05 10:07:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 10:07:07] local.WARNING: Large IO value detected {"io_id":42,"raw_value":6755631369421041,"note":"Value kept but may cause issues"} 
[2026-10-05 10:07:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":4335277823225757706,"note":"Value kept but may cause issues"} 
[2026-10-05 10:07:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 10:07:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635442204008203,"note":"Value kept but may cause issues"} 
[2026-10-05 10:07:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1594556622,"corrected_to":0} 
[2026-10-05 10:07:07] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1879125373,"corrected_to":0} 
[2026-10-05 10:07:07] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2551447552,"note":"Value kept but may cause issues"} 
[2026-10-05 10:07:07] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 10:07:07] local.WARNING: Large IO value detected {"io_id":125,"raw_value":-6124888893977788408,"note":"Value kept but may cause issues"} 
[2026-10-05 10:07:07] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-1873271636895936937,"note":"Value kept but may cause issues"} 
[2026-10-05 10:07:07] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,11,87,24,241,157,16,152,161,233,45,128,180,10,42,66,155,64,178,108,1,240,88,227,4,113,205,5,200,129,176,43,239,54,2,6,8,40,125,53],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1594556622,"validated":0},{"io_id":200,"original":1879125373,"validated":0}]} 
[2026-10-05 10:07:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720880681193832448,"timestamp_seconds":720880681193832.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 10:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540778752001,"66":13363,"11":206,"87":10752,"24":0,"16":139498038103113728,"45":9028169166287554560},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,87,24,16,45]} 
[2026-10-05 10:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540778752001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:07:07] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-10-05 10:07:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139498038103113728,"km_value":139498038103113.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028169166287554560,"description":"Unknown IO ID 45"} 
[2026-10-05 10:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540778752001,"power":13363,"unknown_11":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9028169166287554560}} 
[2026-10-05 10:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":205868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:07:07] local.INFO: GPS data processed {"connection_id":205868,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:07:07] local.INFO: Acknowledgment sent {"connection_id":205868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:07:15] local.INFO: TCP Data received {"connection_id":205868,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a58df98012d7d4a800600b448000a01152b..."} 
[2026-10-05 10:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a58df98012d7d4a800600b448000a01152b..."} 
[2026-10-05 10:07:15] local.INFO: Processing buffer {"connection_id":205868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a58df98012d7d4a800600b448000a01152b..."} 
[2026-10-05 10:07:15] local.INFO: Packet analysis {"connection_id":205868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a58"} 
[2026-10-05 10:07:15] local.INFO: Extracted packet for processing {"connection_id":205868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a58"} 
[2026-10-05 10:07:15] local.INFO: GPS Element Parsed {"raw_longitude":763185792,"raw_latitude":100709448,"longitude_deg":76.3185792,"latitude_deg":10.0709448,"altitude":10,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d7d4a80","hex_latitude":"0600b448","is_valid_coordinates":true} 
[2026-10-05 10:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540784128001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139498038103113728,"note":"Value kept but may cause issues"} 
[2026-10-05 10:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028169166287554560,"note":"Value kept but may cause issues"} 
[2026-10-05 10:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791174959000,"timestamp_ms":1791174959000,"timestamp_seconds":1791174959,"priority":1,"record_length":96,"hex_timestamp":"000001a10a58df98"} 
[2026-10-05 10:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:07: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-10-05 10:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-10-05 10:07:15] 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-10-05 10:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":205868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":205868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":205868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540784128001,"66":13515,"11":206,"87":10752,"24":0,"16":139498038103113728,"45":9028169166287554560},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,87,24,16,45]} 
[2026-10-05 10:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540784128001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:07:15] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-10-05 10:07:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139498038103113728,"km_value":139498038103113.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028169166287554560,"description":"Unknown IO ID 45"} 
[2026-10-05 10:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540784128001,"power":13515,"unknown_11":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9028169166287554560}} 
[2026-10-05 10:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":205868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966636,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:07:15] local.INFO: GPS data processed {"connection_id":205868,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:07:15] local.INFO: Acknowledgment sent {"connection_id":205868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:07:32] local.INFO: TCP Data received {"connection_id":207424,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:07:32] local.INFO: Processing buffer {"connection_id":207424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:07:32] local.INFO: Packet analysis {"connection_id":207424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:07:32] local.INFO: Extracted packet for processing {"connection_id":207424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:07:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540693248001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:07: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-10-05 10:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791174884000,"timestamp_ms":1791174884000,"timestamp_seconds":1791174884,"priority":1,"record_length":96,"hex_timestamp":"000001a10a57baa0"} 
[2026-10-05 10:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:07:32] 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-10-05 10:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:07:32] 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-10-05 10:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:07: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-10-05 10:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540693248001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540693248001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:07:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:07:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540693248001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":207424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:07:32] local.INFO: GPS data processed {"connection_id":207424,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:07:32] local.INFO: Acknowledgment sent {"connection_id":207424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:07:55] local.INFO: TCP Data received {"connection_id":204321,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:07:55] local.INFO: Processing buffer {"connection_id":204321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:07:55] local.INFO: IMEI packet received {"connection_id":204321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":204321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:07:59] local.INFO: TCP Data received {"connection_id":204322,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:07:59] local.INFO: Processing buffer {"connection_id":204322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:07:59] local.INFO: IMEI packet received {"connection_id":204322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":204322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:08:00] local.INFO: TCP Data received {"connection_id":204321,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:08:00] local.INFO: Processing buffer {"connection_id":204321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:08:00] local.INFO: IMEI packet received {"connection_id":204321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":204321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:08:01] local.INFO: TCP Data received {"connection_id":204321,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:08:01] local.INFO: Processing buffer {"connection_id":204321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:08:01] local.INFO: Packet analysis {"connection_id":204321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:08:01] local.INFO: Extracted packet for processing {"connection_id":204321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:08:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540693248001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10: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-10-05 10:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791174884000,"timestamp_ms":1791174884000,"timestamp_seconds":1791174884,"priority":1,"record_length":96,"hex_timestamp":"000001a10a57baa0"} 
[2026-10-05 10:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:08: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-10-05 10: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":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:08: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-10-05 10: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-10-05 10:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10: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-10-05 10:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540693248001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540693248001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:08:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:08:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540693248001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":204321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:08:01] local.INFO: GPS data processed {"connection_id":204321,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:08:01] local.INFO: Acknowledgment sent {"connection_id":204321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:08:05] local.INFO: TCP Data received {"connection_id":204322,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:08:05] local.INFO: Processing buffer {"connection_id":204322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:08:05] local.INFO: IMEI packet received {"connection_id":204322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":204322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:08:08] local.INFO: TCP Data received {"connection_id":204322,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5a3f28012d7d26c0060100b0000f00102a..."} 
[2026-10-05 10:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5a3f28012d7d26c0060100b0000f00102a..."} 
[2026-10-05 10:08:08] local.INFO: Processing buffer {"connection_id":204322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5a3f28012d7d26c0060100b0000f00102a..."} 
[2026-10-05 10:08:08] local.INFO: Packet analysis {"connection_id":204322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a5a"} 
[2026-10-05 10:08:08] local.INFO: Extracted packet for processing {"connection_id":204322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a5a"} 
[2026-10-05 10:08:08] local.INFO: GPS Element Parsed {"raw_longitude":763176640,"raw_latitude":100729008,"longitude_deg":76.317664,"latitude_deg":10.0729008,"altitude":15,"angle":16,"satellites":42,"speed":32,"hex_longitude":"2d7d26c0","hex_latitude":"060100b0","is_valid_coordinates":true} 
[2026-10-05 10:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540809216001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139499721730293760,"note":"Value kept but may cause issues"} 
[2026-10-05 10:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015432423594201088,"note":"Value kept but may cause issues"} 
[2026-10-05 10:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791175049000,"timestamp_ms":1791175049000,"timestamp_seconds":1791175049,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5a3f28"} 
[2026-10-05 10:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:08: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-10-05 10:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 10:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-5609233258561459200,"note":"Value kept but may cause issues"} 
[2026-10-05 10:08:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 10:08:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-10-05 10:08:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1791230158,"corrected_to":0} 
[2026-10-05 10:08:08] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2573008896,"note":"Value kept but may cause issues"} 
[2026-10-05 10:08:08] local.WARNING: Large IO value detected {"io_id":181,"raw_value":57819760285341481,"note":"Value kept but may cause issues"} 
[2026-10-05 10:08:08] local.WARNING: Large IO value detected {"io_id":89,"raw_value":-8396960210348638202,"note":"Value kept but may cause issues"} 
[2026-10-05 10:08:08] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,13,87,24,241,157,16,153,161,201,45,187,21,44,10,66,196,186,128,183,20,43,166,192,1,240,94,227,4,113,205,6,159,18,239,54,2,7,181,89],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1791230158,"validated":0}]} 
[2026-10-05 10:08:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1152937091044540416,"timestamp_seconds":1152937091044540.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 10:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540809216001,"66":13906,"13":206,"87":10752,"24":32,"16":139499721730293760,"45":9015432423594201088},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,87,24,16,45]} 
[2026-10-05 10:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540809216001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:08:08] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-10-05 10:08:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139499721730293760,"km_value":139499721730293.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015432423594201088,"description":"Unknown IO ID 45"} 
[2026-10-05 10:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540809216001,"power":13906,"unknown_13":206,"unknown_87":10752,"ignition":32,"odometer":null,"unknown_45":9015432423594201088}} 
[2026-10-05 10:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":204322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:08:08] local.INFO: GPS data processed {"connection_id":204322,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:08:08] local.INFO: Acknowledgment sent {"connection_id":204322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:08:32] local.INFO: TCP Data received {"connection_id":204321,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:08:32] local.INFO: Processing buffer {"connection_id":204321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:08:32] local.INFO: Packet analysis {"connection_id":204321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:08:32] local.INFO: Extracted packet for processing {"connection_id":204321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540693248001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10: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-10-05 10:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791174884000,"timestamp_ms":1791174884000,"timestamp_seconds":1791174884,"priority":1,"record_length":96,"hex_timestamp":"000001a10a57baa0"} 
[2026-10-05 10:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:08:32] 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-10-05 10: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":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:08:32] 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-10-05 10: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-10-05 10:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10: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-10-05 10:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540693248001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540693248001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:08:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:08:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540693248001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":204321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:08:32] local.INFO: GPS data processed {"connection_id":204321,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:08:32] local.INFO: Acknowledgment sent {"connection_id":204321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:08:40] local.INFO: TCP Data received {"connection_id":204322,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5a6638012d7d310006012438001200102a..."} 
[2026-10-05 10:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5a6638012d7d310006012438001200102a..."} 
[2026-10-05 10:08:40] local.INFO: Processing buffer {"connection_id":204322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5a6638012d7d310006012438001200102a..."} 
[2026-10-05 10:08:40] local.INFO: Packet analysis {"connection_id":204322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a5a"} 
[2026-10-05 10:08:40] local.INFO: Extracted packet for processing {"connection_id":204322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a5a"} 
[2026-10-05 10:08:40] local.INFO: GPS Element Parsed {"raw_longitude":763179264,"raw_latitude":100738104,"longitude_deg":76.3179264,"latitude_deg":10.0738104,"altitude":18,"angle":16,"satellites":42,"speed":36,"hex_longitude":"2d7d3100","hex_latitude":"06012438","is_valid_coordinates":true} 
[2026-10-05 10:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540812544001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139500181291794432,"note":"Value kept but may cause issues"} 
[2026-10-05 10:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018106435875155968,"note":"Value kept but may cause issues"} 
[2026-10-05 10:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791175059000,"timestamp_ms":1791175059000,"timestamp_seconds":1791175059,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5a6638"} 
[2026-10-05 10:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 10:08:40] 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-10-05 10:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540812544001,"66":13917,"13":206,"87":10752,"24":36,"16":139500181291794432,"45":9018106435875155968},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,87,24,16,45]} 
[2026-10-05 10:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540812544001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:08:40] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-10-05 10:08:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139500181291794432,"km_value":139500181291794.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018106435875155968,"description":"Unknown IO ID 45"} 
[2026-10-05 10:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540812544001,"power":13917,"unknown_13":206,"unknown_87":10752,"ignition":36,"odometer":null,"unknown_45":9018106435875155968}} 
[2026-10-05 10:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":204322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:08:40] local.INFO: GPS data processed {"connection_id":204322,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:08:40] local.INFO: Acknowledgment sent {"connection_id":204322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:08:55] local.INFO: TCP Data received {"connection_id":204462,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:08:55] local.INFO: Processing buffer {"connection_id":204462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:08:55] local.INFO: IMEI packet received {"connection_id":204462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":204462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:08:59] local.INFO: TCP Data received {"connection_id":205871,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:08:59] local.INFO: Processing buffer {"connection_id":205871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:08:59] local.INFO: IMEI packet received {"connection_id":205871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":205871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:09:00] local.INFO: TCP Data received {"connection_id":204462,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:09:00] local.INFO: Processing buffer {"connection_id":204462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:09:00] local.INFO: IMEI packet received {"connection_id":204462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":204462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:09:00] local.INFO: TCP Data received {"connection_id":205871,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:09:00] local.INFO: Processing buffer {"connection_id":205871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:09:00] local.INFO: IMEI packet received {"connection_id":205871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":205871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:09:01] local.INFO: TCP Data received {"connection_id":204462,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:09:01] local.INFO: Processing buffer {"connection_id":204462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:09:01] local.INFO: Packet analysis {"connection_id":204462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:09:01] local.INFO: Extracted packet for processing {"connection_id":204462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:09:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540693248001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10: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-10-05 10:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791174884000,"timestamp_ms":1791174884000,"timestamp_seconds":1791174884,"priority":1,"record_length":96,"hex_timestamp":"000001a10a57baa0"} 
[2026-10-05 10:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:09: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-10-05 10: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":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:09: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-10-05 10: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-10-05 10:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:09: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-10-05 10:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540693248001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540693248001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:09:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:09:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540693248001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":204462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:09:01] local.INFO: GPS data processed {"connection_id":204462,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:09:01] local.INFO: Acknowledgment sent {"connection_id":204462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:09:04] local.INFO: TCP Data received {"connection_id":205871,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:09:04] local.INFO: Processing buffer {"connection_id":205871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:09:04] local.INFO: IMEI packet received {"connection_id":205871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":205871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:09:04] local.INFO: TCP Data received {"connection_id":205871,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:09:04] local.INFO: Processing buffer {"connection_id":205871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:09:04] local.INFO: IMEI packet received {"connection_id":205871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":205871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:09:05] local.INFO: TCP Data received {"connection_id":205871,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5a8960012d7d3ac0060146900012000d28..."} 
[2026-10-05 10:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5a8960012d7d3ac0060146900012000d28..."} 
[2026-10-05 10:09:05] local.INFO: Processing buffer {"connection_id":205871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5a8960012d7d3ac0060146900012000d28..."} 
[2026-10-05 10:09:05] local.INFO: Packet analysis {"connection_id":205871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a5a"} 
[2026-10-05 10:09:05] local.INFO: Extracted packet for processing {"connection_id":205871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a5a"} 
[2026-10-05 10:09:05] local.INFO: GPS Element Parsed {"raw_longitude":763181760,"raw_latitude":100746896,"longitude_deg":76.318176,"latitude_deg":10.0746896,"altitude":18,"angle":13,"satellites":40,"speed":42,"hex_longitude":"2d7d3ac0","hex_latitude":"06014690","is_valid_coordinates":true} 
[2026-10-05 10:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540815104001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139500623673425920,"note":"Value kept but may cause issues"} 
[2026-10-05 10:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020991554388768768,"note":"Value kept but may cause issues"} 
[2026-10-05 10:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791175068000,"timestamp_ms":1791175068000,"timestamp_seconds":1791175068,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5a8960"} 
[2026-10-05 10:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:09: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-10-05 10:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-10-05 10:09:05] 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-10-05 10:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540815104001,"66":13798,"13":206,"87":10752,"24":42,"16":139500623673425920,"45":9020991554388768768},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,87,24,16,45]} 
[2026-10-05 10:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540815104001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:09:05] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-10-05 10:09:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139500623673425920,"km_value":139500623673425.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020991554388768768,"description":"Unknown IO ID 45"} 
[2026-10-05 10:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540815104001,"power":13798,"unknown_13":206,"unknown_87":10752,"ignition":42,"odometer":null,"unknown_45":9020991554388768768}} 
[2026-10-05 10:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":205871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:09:05] local.INFO: GPS data processed {"connection_id":205871,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:09:05] local.INFO: Acknowledgment sent {"connection_id":205871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:09:06] local.INFO: TCP Data received {"connection_id":205871,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5aa8a0012d7d3f8006016a60001100052d..."} 
[2026-10-05 10:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5aa8a0012d7d3f8006016a60001100052d..."} 
[2026-10-05 10:09:06] local.INFO: Processing buffer {"connection_id":205871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5aa8a0012d7d3f8006016a60001100052d..."} 
[2026-10-05 10:09:06] local.INFO: Packet analysis {"connection_id":205871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a5a"} 
[2026-10-05 10:09:06] local.INFO: Extracted packet for processing {"connection_id":205871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a5a"} 
[2026-10-05 10:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763182976,"raw_latitude":100756064,"longitude_deg":76.3182976,"latitude_deg":10.0756064,"altitude":17,"angle":5,"satellites":45,"speed":43,"hex_longitude":"2d7d3f80","hex_latitude":"06016a60","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540817408001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139501074644992000,"note":"Value kept but may cause issues"} 
[2026-10-05 10:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023735935413948416,"note":"Value kept but may cause issues"} 
[2026-10-05 10:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791175076000,"timestamp_ms":1791175076000,"timestamp_seconds":1791175076,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5aa8a0"} 
[2026-10-05 10:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 10:09:06] 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-10-05 10: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-10-05 10:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540817408001,"66":13515,"13":206,"87":10752,"24":43,"16":139501074644992000,"45":9023735935413948416},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,87,24,16,45]} 
[2026-10-05 10:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540817408001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:09:06] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-10-05 10:09:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139501074644992000,"km_value":139501074644992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023735935413948416,"description":"Unknown IO ID 45"} 
[2026-10-05 10:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540817408001,"power":13515,"unknown_13":206,"unknown_87":10752,"ignition":43,"odometer":null,"unknown_45":9023735935413948416}} 
[2026-10-05 10:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":205871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:09:06] local.INFO: GPS data processed {"connection_id":205871,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:09:06] local.INFO: Acknowledgment sent {"connection_id":205871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:09:32] local.INFO: TCP Data received {"connection_id":204462,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:09:32] local.INFO: Processing buffer {"connection_id":204462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:09:32] local.INFO: Packet analysis {"connection_id":204462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:09:32] local.INFO: Extracted packet for processing {"connection_id":204462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:09:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 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-10-05 10:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540693248001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:09: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-10-05 10:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791174884000,"timestamp_ms":1791174884000,"timestamp_seconds":1791174884,"priority":1,"record_length":96,"hex_timestamp":"000001a10a57baa0"} 
[2026-10-05 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-10-05 10:09:32] 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-10-05 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":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:09:32] 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-10-05 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-10-05 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-10-05 10:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:09: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-10-05 10:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540693248001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540693248001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:09:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:09:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540693248001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":204462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:09:32] local.INFO: GPS data processed {"connection_id":204462,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:09:32] local.INFO: Acknowledgment sent {"connection_id":204462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:09:37] local.INFO: TCP Data received {"connection_id":205871,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5acfb0012d7d428006018d48001000042a..."} 
[2026-10-05 10:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5acfb0012d7d428006018d48001000042a..."} 
[2026-10-05 10:09:37] local.INFO: Processing buffer {"connection_id":205871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5acfb0012d7d428006018d48001000042a..."} 
[2026-10-05 10:09:37] local.INFO: Packet analysis {"connection_id":205871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a5a"} 
[2026-10-05 10:09:37] local.INFO: Extracted packet for processing {"connection_id":205871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a5a"} 
[2026-10-05 10:09:37] local.INFO: GPS Element Parsed {"raw_longitude":763183744,"raw_latitude":100765000,"longitude_deg":76.3183744,"latitude_deg":10.0765,"altitude":16,"angle":4,"satellites":42,"speed":28,"hex_longitude":"2d7d4280","hex_latitude":"06018d48","is_valid_coordinates":true} 
[2026-10-05 10:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540819456001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139501508436688896,"note":"Value kept but may cause issues"} 
[2026-10-05 10:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025072941555671040,"note":"Value kept but may cause issues"} 
[2026-10-05 10:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791175086000,"timestamp_ms":1791175086000,"timestamp_seconds":1791175086,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5acfb0"} 
[2026-10-05 10:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:09: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-10-05 10:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-10-05 10:09:37] 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-10-05 10:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540819456001,"66":13352,"13":206,"87":10752,"24":28,"16":139501508436688896,"45":9025072941555671040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,87,24,16,45]} 
[2026-10-05 10:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540819456001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:09:37] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-10-05 10:09:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139501508436688896,"km_value":139501508436688.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025072941555671040,"description":"Unknown IO ID 45"} 
[2026-10-05 10:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540819456001,"power":13352,"unknown_13":206,"unknown_87":10752,"ignition":28,"odometer":null,"unknown_45":9025072941555671040}} 
[2026-10-05 10:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":205871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:09:37] local.INFO: GPS data processed {"connection_id":205871,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:09:37] local.INFO: Acknowledgment sent {"connection_id":205871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:09:55] local.INFO: TCP Data received {"connection_id":204323,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:09:55] local.INFO: Processing buffer {"connection_id":204323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:09:55] local.INFO: IMEI packet received {"connection_id":204323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":204323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:10:00] local.INFO: TCP Data received {"connection_id":204323,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:10:00] local.INFO: Processing buffer {"connection_id":204323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:10:00] local.INFO: IMEI packet received {"connection_id":204323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":204323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:10:01] local.INFO: TCP Data received {"connection_id":204323,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:10:01] local.INFO: Processing buffer {"connection_id":204323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a57baa0012d7f908005afe470000000db28..."} 
[2026-10-05 10:10:01] local.INFO: Packet analysis {"connection_id":204323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:10:01] local.INFO: Extracted packet for processing {"connection_id":204323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a57"} 
[2026-10-05 10:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540693248001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10: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-10-05 10:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791174884000,"timestamp_ms":1791174884000,"timestamp_seconds":1791174884,"priority":1,"record_length":96,"hex_timestamp":"000001a10a57baa0"} 
[2026-10-05 10:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:10: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-10-05 10: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":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:10: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-10-05 10: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-10-05 10:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:10: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-10-05 10:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540693248001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540693248001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:10:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:10:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540693248001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":204323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:10:01] local.INFO: GPS data processed {"connection_id":204323,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:10:01] local.INFO: Acknowledgment sent {"connection_id":204323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:10:05] local.INFO: TCP Data received {"connection_id":205872,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:10:05] local.INFO: Processing buffer {"connection_id":205872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:10:05] local.INFO: IMEI packet received {"connection_id":205872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":205872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:10:05] local.INFO: TCP Data received {"connection_id":205872,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:10:05] local.INFO: Processing buffer {"connection_id":205872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:10:05] local.INFO: IMEI packet received {"connection_id":205872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":205872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:10:06] local.INFO: TCP Data received {"connection_id":205872,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5c3328012d7cd74006027820000e012b2c..."} 
[2026-10-05 10:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5c3328012d7cd74006027820000e012b2c..."} 
[2026-10-05 10:10:06] local.INFO: Processing buffer {"connection_id":205872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5c3328012d7cd74006027820000e012b2c..."} 
[2026-10-05 10:10:06] local.INFO: Packet analysis {"connection_id":205872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:10:06] local.INFO: Extracted packet for processing {"connection_id":205872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763156288,"raw_latitude":100825120,"longitude_deg":76.3156288,"latitude_deg":10.082512,"altitude":14,"angle":299,"satellites":44,"speed":46,"hex_longitude":"2d7cd740","hex_latitude":"06027820","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540843008001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139505163453857792,"note":"Value kept but may cause issues"} 
[2026-10-05 10:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004947480737351680,"note":"Value kept but may cause issues"} 
[2026-10-05 10:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791175177000,"timestamp_ms":1791175177000,"timestamp_seconds":1791175177,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5c3328"} 
[2026-10-05 10:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 10:10:06] 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-10-05 10:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540843008001,"66":13787,"197":206,"87":10496,"24":46,"16":139505163453857792,"45":9004947480737351680},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540843008001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:10:06] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:10:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139505163453857792,"km_value":139505163453857.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004947480737351680,"description":"Unknown IO ID 45"} 
[2026-10-05 10:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540843008001,"power":13787,"unknown_197":206,"unknown_87":10496,"ignition":46,"odometer":null,"unknown_45":9004947480737351680}} 
[2026-10-05 10:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":205872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966648,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:10:06] local.INFO: GPS data processed {"connection_id":205872,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:10:06] local.INFO: Acknowledgment sent {"connection_id":205872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:10:07] local.INFO: TCP Data received {"connection_id":205872,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5c46b0012d7cc5c006028488000e013c2c..."} 
[2026-10-05 10:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5c46b0012d7cc5c006028488000e013c2c..."} 
[2026-10-05 10:10:07] local.INFO: Processing buffer {"connection_id":205872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5c46b0012d7cc5c006028488000e013c2c..."} 
[2026-10-05 10:10:07] local.INFO: Packet analysis {"connection_id":205872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:10:07] local.INFO: Extracted packet for processing {"connection_id":205872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:10:07] local.INFO: GPS Element Parsed {"raw_longitude":763151808,"raw_latitude":100828296,"longitude_deg":76.3151808,"latitude_deg":10.0828296,"altitude":14,"angle":316,"satellites":44,"speed":40,"hex_longitude":"2d7cc5c0","hex_latitude":"06028488","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540845312001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139505429741830144,"note":"Value kept but may cause issues"} 
[2026-10-05 10:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995729175251263488,"note":"Value kept but may cause issues"} 
[2026-10-05 10:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791175182000,"timestamp_ms":1791175182000,"timestamp_seconds":1791175182,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5c46b0"} 
[2026-10-05 10:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-10-05 10:10:07] 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-10-05 10: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-10-05 10:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540845312001,"66":13319,"197":206,"87":10496,"24":40,"16":139505429741830144,"45":8995729175251263488},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540845312001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:10:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:10:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139505429741830144,"km_value":139505429741830.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995729175251263488,"description":"Unknown IO ID 45"} 
[2026-10-05 10:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540845312001,"power":13319,"unknown_197":206,"unknown_87":10496,"ignition":40,"odometer":null,"unknown_45":8995729175251263488}} 
[2026-10-05 10:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":205872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:10:08] local.INFO: GPS data processed {"connection_id":205872,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:10:08] local.INFO: Acknowledgment sent {"connection_id":205872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:10:32] local.INFO: TCP Data received {"connection_id":204323,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:10:32] local.INFO: Processing buffer {"connection_id":204323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:10:32] local.INFO: Packet analysis {"connection_id":204323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:10:32] local.INFO: Extracted packet for processing {"connection_id":204323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:10:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540770304001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10: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-10-05 10:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791175185000,"timestamp_ms":1791175185000,"timestamp_seconds":1791175185,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5c5268"} 
[2026-10-05 10:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:10:32] 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-10-05 10: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":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:10:32] 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-10-05 10: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-10-05 10:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:10: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-10-05 10:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540770304001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540770304001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:10:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:10:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540770304001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":204323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:10:32] local.INFO: GPS data processed {"connection_id":204323,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:10:32] local.INFO: Acknowledgment sent {"connection_id":204323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:10:39] local.INFO: TCP Data received {"connection_id":205872,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5c6dc0012d7cb0800602a130000e01442b..."} 
[2026-10-05 10:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5c6dc0012d7cb0800602a130000e01442b..."} 
[2026-10-05 10:10:39] local.INFO: Processing buffer {"connection_id":205872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5c6dc0012d7cb0800602a130000e01442b..."} 
[2026-10-05 10:10:39] local.INFO: Packet analysis {"connection_id":205872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:10:39] local.INFO: Extracted packet for processing {"connection_id":205872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:10:39] local.INFO: GPS Element Parsed {"raw_longitude":763146368,"raw_latitude":100835632,"longitude_deg":76.3146368,"latitude_deg":10.0835632,"altitude":14,"angle":324,"satellites":43,"speed":30,"hex_longitude":"2d7cb080","hex_latitude":"0602a130","is_valid_coordinates":true} 
[2026-10-05 10:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540846592001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139505867828494336,"note":"Value kept but may cause issues"} 
[2026-10-05 10:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8990803363159640064,"note":"Value kept but may cause issues"} 
[2026-10-05 10:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791175192000,"timestamp_ms":1791175192000,"timestamp_seconds":1791175192,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5c6dc0"} 
[2026-10-05 10:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:10: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-10-05 10:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 10:10:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 10:10:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-10-05 10:10:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":2265310668424423424,"note":"Value kept but may cause issues"} 
[2026-10-05 10:10:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1791230158,"corrected_to":0} 
[2026-10-05 10:10:39] local.WARNING: Large IO value detected {"io_id":189,"raw_value":4160826749,"note":"Value kept but may cause issues"} 
[2026-10-05 10:10:39] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2647785472,"note":"Value kept but may cause issues"} 
[2026-10-05 10:10:39] local.WARNING: Large IO value detected {"io_id":221,"raw_value":57819760285341481,"note":"Value kept but may cause issues"} 
[2026-10-05 10:10:39] local.WARNING: Large IO value detected {"io_id":91,"raw_value":-6165426594982936570,"note":"Value kept but may cause issues"} 
[2026-10-05 10:10:39] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,197,87,24,241,157,16,159,161,51,45,64,120,14,44,10,66,102,158,229,192,1,240,7,227,2,4,113,205,189,63,136,43,239,53,196,6,50,221,91],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1791230158,"validated":0}]} 
[2026-10-05 10:10:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009153951186550784,"timestamp_seconds":1009153951186550.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 10:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":205872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":205872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":205872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540846592001,"66":13406,"197":206,"87":10496,"24":30,"16":139505867828494336,"45":8990803363159640064},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540846592001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:10:39] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:10:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139505867828494336,"km_value":139505867828494.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8990803363159640064,"description":"Unknown IO ID 45"} 
[2026-10-05 10:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540846592001,"power":13406,"unknown_197":206,"unknown_87":10496,"ignition":30,"odometer":null,"unknown_45":8990803363159640064}} 
[2026-10-05 10:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":205872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966651,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:10:39] local.INFO: GPS data processed {"connection_id":205872,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:10:39] local.INFO: Acknowledgment sent {"connection_id":205872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:10:55] local.INFO: TCP Data received {"connection_id":205873,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:10:55] local.INFO: Processing buffer {"connection_id":205873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:10:55] local.INFO: IMEI packet received {"connection_id":205873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":205873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:11:00] local.INFO: TCP Data received {"connection_id":207426,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207426,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:11:00] local.INFO: Processing buffer {"connection_id":207426,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:11:00] local.INFO: IMEI packet received {"connection_id":207426,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":207426,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:11:00] local.INFO: TCP Data received {"connection_id":205873,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:11:00] local.INFO: Processing buffer {"connection_id":205873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:11:00] local.INFO: IMEI packet received {"connection_id":205873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":205873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:11:00] local.INFO: TCP Data received {"connection_id":207426,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207426,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:11:00] local.INFO: Processing buffer {"connection_id":207426,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:11:00] local.INFO: IMEI packet received {"connection_id":207426,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":207426,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:11:01] local.INFO: TCP Data received {"connection_id":205873,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:11:01] local.INFO: Processing buffer {"connection_id":205873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:11:01] local.INFO: Packet analysis {"connection_id":205873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:11:01] local.INFO: Extracted packet for processing {"connection_id":205873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:11:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540770304001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:11: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-10-05 10:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791175185000,"timestamp_ms":1791175185000,"timestamp_seconds":1791175185,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5c5268"} 
[2026-10-05 10:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:11: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-10-05 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:11: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-10-05 10: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-10-05 10:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:11: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-10-05 10:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540770304001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540770304001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:11:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:11:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540770304001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":205873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:11:01] local.INFO: GPS data processed {"connection_id":205873,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:11:01] local.INFO: Acknowledgment sent {"connection_id":205873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:11:05] local.INFO: TCP Data received {"connection_id":207426,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207426,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:11:05] local.INFO: Processing buffer {"connection_id":207426,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:11:05] local.INFO: IMEI packet received {"connection_id":207426,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":207426,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:11:06] local.INFO: TCP Data received {"connection_id":207426,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5c9ca0012d7ca1c00602b3d0000e01512b..."} 
[2026-10-05 10:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5c9ca0012d7ca1c00602b3d0000e01512b..."} 
[2026-10-05 10:11:06] local.INFO: Processing buffer {"connection_id":207426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5c9ca0012d7ca1c00602b3d0000e01512b..."} 
[2026-10-05 10:11:06] local.INFO: Packet analysis {"connection_id":207426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:11:06] local.INFO: Extracted packet for processing {"connection_id":207426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:11:06] local.INFO: GPS Element Parsed {"raw_longitude":763142592,"raw_latitude":100840400,"longitude_deg":76.3142592,"latitude_deg":10.08404,"altitude":14,"angle":337,"satellites":43,"speed":12,"hex_longitude":"2d7ca1c0","hex_latitude":"0602b3d0","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540849152001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139506164181237760,"note":"Value kept but may cause issues"} 
[2026-10-05 10:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984822019906416640,"note":"Value kept but may cause issues"} 
[2026-10-05 10:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791175204000,"timestamp_ms":1791175204000,"timestamp_seconds":1791175204,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5c9ca0"} 
[2026-10-05 10:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-10-05 10:11:06] 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-10-05 10: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-10-05 10:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540849152001,"66":13048,"197":206,"87":10496,"24":12,"16":139506164181237760,"45":8984822019906416640},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540849152001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:11:06] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:11:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139506164181237760,"km_value":139506164181237.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984822019906416640,"description":"Unknown IO ID 45"} 
[2026-10-05 10:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540849152001,"power":13048,"unknown_197":206,"unknown_87":10496,"ignition":12,"odometer":null,"unknown_45":8984822019906416640}} 
[2026-10-05 10:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":207426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:11:06] local.INFO: GPS data processed {"connection_id":207426,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:11:06] local.INFO: Acknowledgment sent {"connection_id":207426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:11:32] local.INFO: TCP Data received {"connection_id":205873,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:11:32] local.INFO: Processing buffer {"connection_id":205873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:11:32] local.INFO: Packet analysis {"connection_id":205873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:11:32] local.INFO: Extracted packet for processing {"connection_id":205873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:11:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540770304001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:11: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-10-05 10:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791175185000,"timestamp_ms":1791175185000,"timestamp_seconds":1791175185,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5c5268"} 
[2026-10-05 10:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:11:32] 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-10-05 10:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:11:32] 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-10-05 10:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:11: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-10-05 10:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540770304001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540770304001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:11:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:11:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540770304001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":205873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:11:32] local.INFO: GPS data processed {"connection_id":205873,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:11:32] local.INFO: Acknowledgment sent {"connection_id":205873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:11:38] local.INFO: TCP Data received {"connection_id":207426,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5ca088012d7ca1800602b4f8000e00072c..."} 
[2026-10-05 10:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5ca088012d7ca1800602b4f8000e00072c..."} 
[2026-10-05 10:11:38] local.INFO: Processing buffer {"connection_id":207426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5ca088012d7ca1800602b4f8000e00072c..."} 
[2026-10-05 10:11:38] local.INFO: Packet analysis {"connection_id":207426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:11:38] local.INFO: Extracted packet for processing {"connection_id":207426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:11:38] local.INFO: GPS Element Parsed {"raw_longitude":763142528,"raw_latitude":100840696,"longitude_deg":76.3142528,"latitude_deg":10.0840696,"altitude":14,"angle":7,"satellites":44,"speed":11,"hex_longitude":"2d7ca180","hex_latitude":"0602b4f8","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540852224001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139506177066139648,"note":"Value kept but may cause issues"} 
[2026-10-05 10:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980670264001155072,"note":"Value kept but may cause issues"} 
[2026-10-05 10:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791175205000,"timestamp_ms":1791175205000,"timestamp_seconds":1791175205,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5ca088"} 
[2026-10-05 10:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 10:11:38] 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-10-05 10: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-10-05 10:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540852224001,"66":13048,"197":206,"87":10496,"24":11,"16":139506177066139648,"45":8980670264001155072},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540852224001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:11:38] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:11:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139506177066139648,"km_value":139506177066139.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980670264001155072,"description":"Unknown IO ID 45"} 
[2026-10-05 10:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540852224001,"power":13048,"unknown_197":206,"unknown_87":10496,"ignition":11,"odometer":null,"unknown_45":8980670264001155072}} 
[2026-10-05 10:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":207426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966655,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:11:38] local.INFO: GPS data processed {"connection_id":207426,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:11:38] local.INFO: Acknowledgment sent {"connection_id":207426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:11:48] local.INFO: TCP Data received {"connection_id":204324,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:11:48] local.INFO: Processing buffer {"connection_id":204324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:11:48] local.INFO: IMEI packet received {"connection_id":204324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 10:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":204324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:11:52] local.INFO: TCP Data received {"connection_id":204324,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:11:53] local.INFO: Processing buffer {"connection_id":204324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:11:53] local.INFO: IMEI packet received {"connection_id":204324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 10:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":204324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:11:54] local.INFO: TCP Data received {"connection_id":204324,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:11:54] local.INFO: Processing buffer {"connection_id":204324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:11:54] local.INFO: IMEI packet received {"connection_id":204324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 10:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":204324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:11:55] local.INFO: TCP Data received {"connection_id":207427,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:11:55] local.INFO: Processing buffer {"connection_id":207427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:11:55] local.INFO: IMEI packet received {"connection_id":207427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":207427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:11:59] local.INFO: TCP Data received {"connection_id":204464,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:11:59] local.INFO: Processing buffer {"connection_id":204464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:11:59] local.INFO: IMEI packet received {"connection_id":204464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":204464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:12:00] local.INFO: TCP Data received {"connection_id":207427,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:12:00] local.INFO: Processing buffer {"connection_id":207427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:12:00] local.INFO: IMEI packet received {"connection_id":207427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":207427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:12:01] local.INFO: TCP Data received {"connection_id":207427,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:12:01] local.INFO: Processing buffer {"connection_id":207427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:12:01] local.INFO: Packet analysis {"connection_id":207427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:12:01] local.INFO: Extracted packet for processing {"connection_id":207427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:12:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 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-10-05 10:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540770304001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 10:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791175185000,"timestamp_ms":1791175185000,"timestamp_seconds":1791175185,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5c5268"} 
[2026-10-05 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-10-05 10:12: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-10-05 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":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:12: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-10-05 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-10-05 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-10-05 10:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:12: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-10-05 10:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540770304001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540770304001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:12:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:12:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540770304001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":207427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:12:01] local.INFO: GPS data processed {"connection_id":207427,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:12:01] local.INFO: Acknowledgment sent {"connection_id":207427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:12:04] local.INFO: TCP Data received {"connection_id":204464,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:12:04] local.INFO: Processing buffer {"connection_id":204464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:12:04] local.INFO: IMEI packet received {"connection_id":204464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":204464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:12:05] local.INFO: TCP Data received {"connection_id":204464,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5ca470012d7ca1c00602b5f0000e00212d..."} 
[2026-10-05 10:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5ca470012d7ca1c00602b5f0000e00212d..."} 
[2026-10-05 10:12:05] local.INFO: Processing buffer {"connection_id":204464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5ca470012d7ca1c00602b5f0000e00212d..."} 
[2026-10-05 10:12:05] local.INFO: Packet analysis {"connection_id":204464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:12:05] local.INFO: Extracted packet for processing {"connection_id":204464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:12:05] local.INFO: GPS Element Parsed {"raw_longitude":763142592,"raw_latitude":100840944,"longitude_deg":76.3142592,"latitude_deg":10.0840944,"altitude":14,"angle":33,"satellites":45,"speed":9,"hex_longitude":"2d7ca1c0","hex_latitude":"0602b5f0","is_valid_coordinates":true} 
[2026-10-05 10:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540852480001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139506189951041536,"note":"Value kept but may cause issues"} 
[2026-10-05 10:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980599895257053184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791175206000,"timestamp_ms":1791175206000,"timestamp_seconds":1791175206,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5ca470"} 
[2026-10-05 10:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 10:12:05] 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-10-05 10:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540852480001,"66":12906,"197":206,"87":10496,"24":9,"16":139506189951041536,"45":8980599895257053184},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540852480001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:12:05] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:12:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139506189951041536,"km_value":139506189951041.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980599895257053184,"description":"Unknown IO ID 45"} 
[2026-10-05 10:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540852480001,"power":12906,"unknown_197":206,"unknown_87":10496,"ignition":9,"odometer":null,"unknown_45":8980599895257053184}} 
[2026-10-05 10:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":204464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966657,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:12:05] local.INFO: GPS data processed {"connection_id":204464,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:12:05] local.INFO: Acknowledgment sent {"connection_id":204464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:12:33] local.INFO: TCP Data received {"connection_id":207427,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:12:33] local.INFO: Processing buffer {"connection_id":207427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:12:33] local.INFO: Packet analysis {"connection_id":207427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:12:33] local.INFO: Extracted packet for processing {"connection_id":207427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540770304001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:12: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-10-05 10:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791175185000,"timestamp_ms":1791175185000,"timestamp_seconds":1791175185,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5c5268"} 
[2026-10-05 10:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:12:33] 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-10-05 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:12: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-10-05 10: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-10-05 10:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:12:33] 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-10-05 10:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540770304001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540770304001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:12:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:12:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540770304001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":207427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:12:33] local.INFO: GPS data processed {"connection_id":207427,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:12:33] local.INFO: Acknowledgment sent {"connection_id":207427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:12:37] local.INFO: TCP Data received {"connection_id":204464,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5ca858012d7ca2800602b688000e00372d..."} 
[2026-10-05 10:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5ca858012d7ca2800602b688000e00372d..."} 
[2026-10-05 10:12:37] local.INFO: Processing buffer {"connection_id":204464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5ca858012d7ca2800602b688000e00372d..."} 
[2026-10-05 10:12:37] local.INFO: Packet analysis {"connection_id":204464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:12:37] local.INFO: Extracted packet for processing {"connection_id":204464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:12:37] local.INFO: GPS Element Parsed {"raw_longitude":763142784,"raw_latitude":100841096,"longitude_deg":76.3142784,"latitude_deg":10.0841096,"altitude":14,"angle":55,"satellites":45,"speed":6,"hex_longitude":"2d7ca280","hex_latitude":"0602b688","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540852736001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139506198540976128,"note":"Value kept but may cause issues"} 
[2026-10-05 10:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980670264001294336,"note":"Value kept but may cause issues"} 
[2026-10-05 10:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791175207000,"timestamp_ms":1791175207000,"timestamp_seconds":1791175207,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5ca858"} 
[2026-10-05 10:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:12: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-10-05 10: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 10:12:37] 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-10-05 10:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540852736001,"66":12906,"197":206,"87":10496,"24":6,"16":139506198540976128,"45":8980670264001294336},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540852736001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:12:37] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:12:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139506198540976128,"km_value":139506198540976.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980670264001294336,"description":"Unknown IO ID 45"} 
[2026-10-05 10:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540852736001,"power":12906,"unknown_197":206,"unknown_87":10496,"ignition":6,"odometer":null,"unknown_45":8980670264001294336}} 
[2026-10-05 10:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":204464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:12:37] local.INFO: GPS data processed {"connection_id":204464,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:12:37] local.INFO: Acknowledgment sent {"connection_id":204464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:12:55] local.INFO: TCP Data received {"connection_id":204325,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:12:55] local.INFO: Processing buffer {"connection_id":204325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:12:55] local.INFO: IMEI packet received {"connection_id":204325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":204325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:12:59] local.INFO: TCP Data received {"connection_id":207428,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:12:59] local.INFO: Processing buffer {"connection_id":207428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:12:59] local.INFO: IMEI packet received {"connection_id":207428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":207428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:13:00] local.INFO: TCP Data received {"connection_id":204325,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:13:00] local.INFO: Processing buffer {"connection_id":204325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:13:00] local.INFO: IMEI packet received {"connection_id":204325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":204325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:13:01] local.INFO: TCP Data received {"connection_id":204325,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:13:01] local.INFO: Processing buffer {"connection_id":204325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:13:01] local.INFO: Packet analysis {"connection_id":204325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:13:01] local.INFO: Extracted packet for processing {"connection_id":204325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:13:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540770304001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10: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-10-05 10:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791175185000,"timestamp_ms":1791175185000,"timestamp_seconds":1791175185,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5c5268"} 
[2026-10-05 10:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:13: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-10-05 10: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":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:13: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-10-05 10: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-10-05 10:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:13: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-10-05 10:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540770304001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540770304001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:13:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:13:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540770304001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":204325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:13:01] local.INFO: GPS data processed {"connection_id":204325,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:13:01] local.INFO: Acknowledgment sent {"connection_id":204325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:13:05] local.INFO: TCP Data received {"connection_id":207428,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:13:05] local.INFO: Processing buffer {"connection_id":207428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:13:05] local.INFO: IMEI packet received {"connection_id":207428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":207428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:13:06] local.INFO: TCP Data received {"connection_id":207428,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5cac40012d7ca3000602b6a8000d00582d..."} 
[2026-10-05 10:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5cac40012d7ca3000602b6a8000d00582d..."} 
[2026-10-05 10:13:06] local.INFO: Processing buffer {"connection_id":207428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5cac40012d7ca3000602b6a8000d00582d..."} 
[2026-10-05 10:13:06] local.INFO: Packet analysis {"connection_id":207428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:13:06] local.INFO: Extracted packet for processing {"connection_id":207428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:13:06] local.INFO: GPS Element Parsed {"raw_longitude":763142912,"raw_latitude":100841128,"longitude_deg":76.3142912,"latitude_deg":10.0841128,"altitude":13,"angle":88,"satellites":45,"speed":5,"hex_longitude":"2d7ca300","hex_latitude":"0602b6a8","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540852992001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139506207130910720,"note":"Value kept but may cause issues"} 
[2026-10-05 10:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980881370233866240,"note":"Value kept but may cause issues"} 
[2026-10-05 10:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791175208000,"timestamp_ms":1791175208000,"timestamp_seconds":1791175208,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5cac40"} 
[2026-10-05 10:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 10:13:06] 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-10-05 10:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540852992001,"66":13961,"197":206,"87":10496,"24":5,"16":139506207130910720,"45":8980881370233866240},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540852992001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:13:06] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:13:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139506207130910720,"km_value":139506207130910.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980881370233866240,"description":"Unknown IO ID 45"} 
[2026-10-05 10:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540852992001,"power":13961,"unknown_197":206,"unknown_87":10496,"ignition":5,"odometer":null,"unknown_45":8980881370233866240}} 
[2026-10-05 10:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":207428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966661,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:13:06] local.INFO: GPS data processed {"connection_id":207428,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:13:06] local.INFO: Acknowledgment sent {"connection_id":207428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:13:09] local.INFO: TCP Data received {"connection_id":204465,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:13:09] local.INFO: Processing buffer {"connection_id":204465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:13:09] local.INFO: IMEI packet received {"connection_id":204465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 10:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":204465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:13:33] local.INFO: TCP Data received {"connection_id":204325,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:13:33] local.INFO: Processing buffer {"connection_id":204325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:13:33] local.INFO: Packet analysis {"connection_id":204325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:13:33] local.INFO: Extracted packet for processing {"connection_id":204325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540770304001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:13: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-10-05 10:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791175185000,"timestamp_ms":1791175185000,"timestamp_seconds":1791175185,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5c5268"} 
[2026-10-05 10:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:13:33] 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-10-05 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:13: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-10-05 10:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:13:33] 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-10-05 10:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540770304001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540770304001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:13:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:13:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540770304001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":204325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:13:33] local.INFO: GPS data processed {"connection_id":204325,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:13:33] local.INFO: Acknowledgment sent {"connection_id":204325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:13:37] local.INFO: TCP Data received {"connection_id":207428,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5f0da0012d7cb2800602a398000f00922a..."} 
[2026-10-05 10:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5f0da0012d7cb2800602a398000f00922a..."} 
[2026-10-05 10:13:37] local.INFO: Processing buffer {"connection_id":207428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5f0da0012d7cb2800602a398000f00922a..."} 
[2026-10-05 10:13:37] local.INFO: Packet analysis {"connection_id":207428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a5f"} 
[2026-10-05 10:13:37] local.INFO: Extracted packet for processing {"connection_id":207428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a5f"} 
[2026-10-05 10:13:37] local.INFO: GPS Element Parsed {"raw_longitude":763146880,"raw_latitude":100836248,"longitude_deg":76.314688,"latitude_deg":10.0836248,"altitude":15,"angle":146,"satellites":42,"speed":0,"hex_longitude":"2d7cb280","hex_latitude":"0602a398","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540887808001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139506520663523328,"note":"Value kept but may cause issues"} 
[2026-10-05 10:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985384969859995648,"note":"Value kept but may cause issues"} 
[2026-10-05 10:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791175364000,"timestamp_ms":1791175364000,"timestamp_seconds":1791175364,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5f0da0"} 
[2026-10-05 10:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:13: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-10-05 10: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 10:13:37] local.WARNING: Large IO value detected {"io_id":24,"raw_value":5910983116652544,"note":"Value kept but may cause issues"} 
[2026-10-05 10:13:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626598634752,"note":"Value kept but may cause issues"} 
[2026-10-05 10:13:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1791295694,"corrected_to":0} 
[2026-10-05 10:13:37] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-4035209870357757934,"note":"Value kept but may cause issues"} 
[2026-10-05 10:13:37] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2691760128,"note":"Value kept but may cause issues"} 
[2026-10-05 10:13:37] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758148970,"note":"Value kept but may cause issues"} 
[2026-10-05 10:13:37] local.WARNING: Large IO value detected {"io_id":191,"raw_value":-4034893777725291006,"note":"Value kept but may cause issues"} 
[2026-10-05 10:13:37] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,197,87,24,241,157,16,160,161,105,45,128,163,15,44,10,66,23,43,1,240,72,227,2,4,113,205,33,178,152,239,54,6,21,191],"length":528,"final_offset":658,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1791295694,"validated":0}]} 
[2026-10-05 10:13:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081024619655200768,"timestamp_seconds":1081024619655200.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 10:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540887808001,"66":13939,"197":206,"87":10496,"24":0,"16":139506520663523328,"45":8985384969859995648},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540887808001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:13:37] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:13:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139506520663523328,"km_value":139506520663523.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985384969859995648,"description":"Unknown IO ID 45"} 
[2026-10-05 10:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540887808001,"power":13939,"unknown_197":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":8985384969859995648}} 
[2026-10-05 10:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":207428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:13:37] local.INFO: GPS data processed {"connection_id":207428,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:13:37] local.INFO: Acknowledgment sent {"connection_id":207428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:13:56] local.INFO: TCP Data received {"connection_id":204466,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:13:56] local.INFO: Processing buffer {"connection_id":204466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:13:56] local.INFO: IMEI packet received {"connection_id":204466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":204466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:14:00] local.INFO: TCP Data received {"connection_id":204466,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:14:00] local.INFO: Processing buffer {"connection_id":204466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:14:00] local.INFO: IMEI packet received {"connection_id":204466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":204466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:14:01] local.INFO: TCP Data received {"connection_id":204466,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:14:01] local.INFO: Processing buffer {"connection_id":204466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:14:01] local.INFO: Packet analysis {"connection_id":204466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:14:01] local.INFO: Extracted packet for processing {"connection_id":204466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:14:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540770304001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10: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-10-05 10:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791175185000,"timestamp_ms":1791175185000,"timestamp_seconds":1791175185,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5c5268"} 
[2026-10-05 10:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:14: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-10-05 10: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":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:14: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-10-05 10: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-10-05 10:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:14: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-10-05 10:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540770304001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540770304001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:14:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:14:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540770304001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":204466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:14:01] local.INFO: GPS data processed {"connection_id":204466,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:14:01] local.INFO: Acknowledgment sent {"connection_id":204466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:14:05] local.INFO: TCP Data received {"connection_id":204327,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:14:05] local.INFO: Processing buffer {"connection_id":204327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:14:05] local.INFO: IMEI packet received {"connection_id":204327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":204327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:14:10] local.INFO: TCP Data received {"connection_id":204327,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:14:10] local.INFO: Processing buffer {"connection_id":204327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:14:10] local.INFO: IMEI packet received {"connection_id":204327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":204327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:14:11] local.INFO: TCP Data received {"connection_id":204327,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5f5fa8012d7cb2800602a398000f00922a..."} 
[2026-10-05 10:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5f5fa8012d7cb2800602a398000f00922a..."} 
[2026-10-05 10:14:11] local.INFO: Processing buffer {"connection_id":204327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5f5fa8012d7cb2800602a398000f00922a..."} 
[2026-10-05 10:14:11] local.INFO: Packet analysis {"connection_id":204327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a5f"} 
[2026-10-05 10:14:11] local.INFO: Extracted packet for processing {"connection_id":204327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a5f"} 
[2026-10-05 10:14:11] local.INFO: GPS Element Parsed {"raw_longitude":763146880,"raw_latitude":100836248,"longitude_deg":76.314688,"latitude_deg":10.0836248,"altitude":15,"angle":146,"satellites":42,"speed":0,"hex_longitude":"2d7cb280","hex_latitude":"0602a398","is_valid_coordinates":true} 
[2026-10-05 10:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540893184001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139506520663523328,"note":"Value kept but may cause issues"} 
[2026-10-05 10:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985384969859995648,"note":"Value kept but may cause issues"} 
[2026-10-05 10:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791175385000,"timestamp_ms":1791175385000,"timestamp_seconds":1791175385,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5f5fa8"} 
[2026-10-05 10:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:14: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-10-05 10:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-10-05 10:14:11] 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-10-05 10:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540893184001,"66":13939,"197":206,"87":10496,"24":0,"16":139506520663523328,"45":8985384969859995648},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540893184001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:14:11] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:14:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139506520663523328,"km_value":139506520663523.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985384969859995648,"description":"Unknown IO ID 45"} 
[2026-10-05 10:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540893184001,"power":13939,"unknown_197":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":8985384969859995648}} 
[2026-10-05 10:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":204327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966665,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:14:11] local.INFO: GPS data processed {"connection_id":204327,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:14:11] local.INFO: Acknowledgment sent {"connection_id":204327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:14:12] local.INFO: TCP Data received {"connection_id":204327,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5fb1b0012d7cb2800602a398000f00922b..."} 
[2026-10-05 10:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5fb1b0012d7cb2800602a398000f00922b..."} 
[2026-10-05 10:14:12] local.INFO: Processing buffer {"connection_id":204327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5fb1b0012d7cb2800602a398000f00922b..."} 
[2026-10-05 10:14:12] local.INFO: Packet analysis {"connection_id":204327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a5f"} 
[2026-10-05 10:14:12] local.INFO: Extracted packet for processing {"connection_id":204327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a5f"} 
[2026-10-05 10:14:12] local.INFO: GPS Element Parsed {"raw_longitude":763146880,"raw_latitude":100836248,"longitude_deg":76.314688,"latitude_deg":10.0836248,"altitude":15,"angle":146,"satellites":43,"speed":0,"hex_longitude":"2d7cb280","hex_latitude":"0602a398","is_valid_coordinates":true} 
[2026-10-05 10:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540898560001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139506520663523328,"note":"Value kept but may cause issues"} 
[2026-10-05 10:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985384969859995648,"note":"Value kept but may cause issues"} 
[2026-10-05 10:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791175406000,"timestamp_ms":1791175406000,"timestamp_seconds":1791175406,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5fb1b0"} 
[2026-10-05 10:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-10-05 10:14:12] 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-10-05 10:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540898560001,"66":13820,"197":206,"87":10496,"24":0,"16":139506520663523328,"45":8985384969859995648},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540898560001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:14:12] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:14:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139506520663523328,"km_value":139506520663523.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985384969859995648,"description":"Unknown IO ID 45"} 
[2026-10-05 10:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540898560001,"power":13820,"unknown_197":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":8985384969859995648}} 
[2026-10-05 10:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":204327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966666,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:14:12] local.INFO: GPS data processed {"connection_id":204327,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:14:12] local.INFO: Acknowledgment sent {"connection_id":204327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:14:32] local.INFO: TCP Data received {"connection_id":204466,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:14:32] local.INFO: Processing buffer {"connection_id":204466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:14:32] local.INFO: Packet analysis {"connection_id":204466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:14:32] local.INFO: Extracted packet for processing {"connection_id":204466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:14:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540770304001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:14: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-10-05 10:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791175185000,"timestamp_ms":1791175185000,"timestamp_seconds":1791175185,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5c5268"} 
[2026-10-05 10:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:14:32] 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-10-05 10:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:14:32] 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-10-05 10:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:14: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-10-05 10:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540770304001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540770304001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:14:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:14:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540770304001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":204466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:14:32] local.INFO: GPS data processed {"connection_id":204466,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:14:32] local.INFO: Acknowledgment sent {"connection_id":204466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:14:43] local.INFO: TCP Data received {"connection_id":204327,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6003b8012d7cb2800602a398000f009226..."} 
[2026-10-05 10:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6003b8012d7cb2800602a398000f009226..."} 
[2026-10-05 10:14:43] local.INFO: Processing buffer {"connection_id":204327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6003b8012d7cb2800602a398000f009226..."} 
[2026-10-05 10:14:43] local.INFO: Packet analysis {"connection_id":204327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:14:43] local.INFO: Extracted packet for processing {"connection_id":204327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:14:43] local.INFO: GPS Element Parsed {"raw_longitude":763146880,"raw_latitude":100836248,"longitude_deg":76.314688,"latitude_deg":10.0836248,"altitude":15,"angle":146,"satellites":38,"speed":0,"hex_longitude":"2d7cb280","hex_latitude":"0602a398","is_valid_coordinates":true} 
[2026-10-05 10:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540903936001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139506520663523328,"note":"Value kept but may cause issues"} 
[2026-10-05 10:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985384969859995648,"note":"Value kept but may cause issues"} 
[2026-10-05 10:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791175427000,"timestamp_ms":1791175427000,"timestamp_seconds":1791175427,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6003b8"} 
[2026-10-05 10:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:14: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-10-05 10:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 10:14:43] 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-10-05 10:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540903936001,"66":13678,"197":206,"87":10496,"24":0,"16":139506520663523328,"45":8985384969859995648},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540903936001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:14:43] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:14:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139506520663523328,"km_value":139506520663523.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985384969859995648,"description":"Unknown IO ID 45"} 
[2026-10-05 10:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540903936001,"power":13678,"unknown_197":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":8985384969859995648}} 
[2026-10-05 10:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":204327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966668,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:14:43] local.INFO: GPS data processed {"connection_id":204327,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:14:43] local.INFO: Acknowledgment sent {"connection_id":204327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:14:55] local.INFO: TCP Data received {"connection_id":204467,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:14:55] local.INFO: Processing buffer {"connection_id":204467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:14:55] local.INFO: IMEI packet received {"connection_id":204467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":204467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:15:00] local.INFO: TCP Data received {"connection_id":204468,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:15:00] local.INFO: Processing buffer {"connection_id":204468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:15:00] local.INFO: IMEI packet received {"connection_id":204468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":204468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:15:00] local.INFO: TCP Data received {"connection_id":204467,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:15:00] local.INFO: Processing buffer {"connection_id":204467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:15:00] local.INFO: IMEI packet received {"connection_id":204467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":204467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:15:01] local.INFO: TCP Data received {"connection_id":204467,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:15:01] local.INFO: Processing buffer {"connection_id":204467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a5c5268012d7f908005afe470000000db2a..."} 
[2026-10-05 10:15:01] local.INFO: Packet analysis {"connection_id":204467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:15:01] local.INFO: Extracted packet for processing {"connection_id":204467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a5c"} 
[2026-10-05 10:15:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540770304001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10: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-10-05 10:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791175185000,"timestamp_ms":1791175185000,"timestamp_seconds":1791175185,"priority":1,"record_length":96,"hex_timestamp":"000001a10a5c5268"} 
[2026-10-05 10:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:15: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-10-05 10: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":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:15: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-10-05 10: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-10-05 10:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:15: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-10-05 10:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540770304001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540770304001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:15:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:15:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540770304001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":204467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:15:01] local.INFO: GPS data processed {"connection_id":204467,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:15:01] local.INFO: Acknowledgment sent {"connection_id":204467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:15:04] local.INFO: TCP Data received {"connection_id":204468,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:15:04] local.INFO: Processing buffer {"connection_id":204468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:15:04] local.INFO: IMEI packet received {"connection_id":204468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":204468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:15:05] local.INFO: TCP Data received {"connection_id":204468,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6055c0012d7cb2800602a398000f00922b..."} 
[2026-10-05 10:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6055c0012d7cb2800602a398000f00922b..."} 
[2026-10-05 10:15:05] local.INFO: Processing buffer {"connection_id":204468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6055c0012d7cb2800602a398000f00922b..."} 
[2026-10-05 10:15:05] local.INFO: Packet analysis {"connection_id":204468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:15:05] local.INFO: Extracted packet for processing {"connection_id":204468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:15:05] local.INFO: GPS Element Parsed {"raw_longitude":763146880,"raw_latitude":100836248,"longitude_deg":76.314688,"latitude_deg":10.0836248,"altitude":15,"angle":146,"satellites":43,"speed":0,"hex_longitude":"2d7cb280","hex_latitude":"0602a398","is_valid_coordinates":true} 
[2026-10-05 10:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540909312001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139506520663523328,"note":"Value kept but may cause issues"} 
[2026-10-05 10:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985384969859995648,"note":"Value kept but may cause issues"} 
[2026-10-05 10:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791175448000,"timestamp_ms":1791175448000,"timestamp_seconds":1791175448,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6055c0"} 
[2026-10-05 10:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:15: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-10-05 10:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 10:15:05] 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-10-05 10:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540909312001,"66":13820,"197":206,"87":10496,"24":0,"16":139506520663523328,"45":8985384969859995648},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540909312001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:15:05] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:15:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139506520663523328,"km_value":139506520663523.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985384969859995648,"description":"Unknown IO ID 45"} 
[2026-10-05 10:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540909312001,"power":13820,"unknown_197":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":8985384969859995648}} 
[2026-10-05 10:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":204468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966670,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:15:05] local.INFO: GPS data processed {"connection_id":204468,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:15:05] local.INFO: Acknowledgment sent {"connection_id":204468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:15:33] local.INFO: TCP Data received {"connection_id":204467,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:15:33] local.INFO: Processing buffer {"connection_id":204467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:15:33] local.INFO: Packet analysis {"connection_id":204467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:15:33] local.INFO: Extracted packet for processing {"connection_id":204467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:15: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-10-05 10:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540847360001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:15: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-10-05 10:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791175486000,"timestamp_ms":1791175486000,"timestamp_seconds":1791175486,"priority":1,"record_length":96,"hex_timestamp":"000001a10a60ea30"} 
[2026-10-05 10:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:15:33] 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-10-05 10:15: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-10-05 10:15: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-10-05 10:15: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-10-05 10:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:15:33] 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-10-05 10:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540847360001,"66":25604,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540847360001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:15:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:15:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540847360001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":204467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:15:33] local.INFO: GPS data processed {"connection_id":204467,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:15:33] local.INFO: Acknowledgment sent {"connection_id":204467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:15:36] local.INFO: TCP Data received {"connection_id":204468,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10a609828012d7cb880060295d8001100a52d..."} 
[2026-10-05 10:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a609828012d7cb880060295d8001100a52d..."} 
[2026-10-05 10:15:36] local.INFO: Processing buffer {"connection_id":204468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a609828012d7cb880060295d8001100a52d..."} 
[2026-10-05 10:15:36] local.INFO: Packet analysis {"connection_id":204468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:15:36] local.INFO: Extracted packet for processing {"connection_id":204468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:15:36] local.INFO: GPS Element Parsed {"raw_longitude":763148416,"raw_latitude":100832728,"longitude_deg":76.3148416,"latitude_deg":10.0832728,"altitude":17,"angle":165,"satellites":45,"speed":8,"hex_longitude":"2d7cb880","hex_latitude":"060295d8","is_valid_coordinates":true} 
[2026-10-05 10:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540914688001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139506709642084352,"note":"Value kept but may cause issues"} 
[2026-10-05 10:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985384969859995648,"note":"Value kept but may cause issues"} 
[2026-10-05 10:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791175465000,"timestamp_ms":1791175465000,"timestamp_seconds":1791175465,"priority":1,"record_length":96,"hex_timestamp":"000001a10a609828"} 
[2026-10-05 10:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 10:15:36] 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-10-05 10:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540914688001,"66":13472,"197":206,"87":10496,"24":8,"16":139506709642084352,"45":8985384969859995648},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540914688001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:15:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:15:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139506709642084352,"km_value":139506709642084.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985384969859995648,"description":"Unknown IO ID 45"} 
[2026-10-05 10:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540914688001,"power":13472,"unknown_197":206,"unknown_87":10496,"ignition":8,"odometer":null,"unknown_45":8985384969859995648}} 
[2026-10-05 10:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":204468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966672,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:15:36] local.INFO: GPS data processed {"connection_id":204468,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:15:36] local.INFO: Acknowledgment sent {"connection_id":204468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:15:55] local.INFO: TCP Data received {"connection_id":205875,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:15:55] local.INFO: Processing buffer {"connection_id":205875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:15:55] local.INFO: IMEI packet received {"connection_id":205875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":205875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:15:57] local.INFO: TCP Data received {"connection_id":204469,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:15:57] local.INFO: Processing buffer {"connection_id":204469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:15:57] local.INFO: IMEI packet received {"connection_id":204469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":204469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:15:58] local.INFO: TCP Data received {"connection_id":204469,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:15:58] local.INFO: Processing buffer {"connection_id":204469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:15:58] local.INFO: IMEI packet received {"connection_id":204469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":204469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:15:59] local.INFO: TCP Data received {"connection_id":204469,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:15:59] local.INFO: Processing buffer {"connection_id":204469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:15:59] local.INFO: IMEI packet received {"connection_id":204469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":204469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:16:00] local.INFO: TCP Data received {"connection_id":204469,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:16:00] local.INFO: Processing buffer {"connection_id":204469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:16:00] local.INFO: IMEI packet received {"connection_id":204469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":204469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:16:00] local.INFO: TCP Data received {"connection_id":205875,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:16:00] local.INFO: Processing buffer {"connection_id":205875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:16:00] local.INFO: IMEI packet received {"connection_id":205875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":205875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:16:01] local.INFO: TCP Data received {"connection_id":205875,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:16:01] local.INFO: Processing buffer {"connection_id":205875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:16:01] local.INFO: Packet analysis {"connection_id":205875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:16:01] local.INFO: Extracted packet for processing {"connection_id":205875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:16:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540847360001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10: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-10-05 10:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791175486000,"timestamp_ms":1791175486000,"timestamp_seconds":1791175486,"priority":1,"record_length":96,"hex_timestamp":"000001a10a60ea30"} 
[2026-10-05 10:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:16: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-10-05 10: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":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:16: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-10-05 10: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-10-05 10:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:16: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-10-05 10:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540847360001,"66":25604,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540847360001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:16:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:16:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540847360001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":205875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:16:01] local.INFO: GPS data processed {"connection_id":205875,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:16:01] local.INFO: Acknowledgment sent {"connection_id":205875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:16:33] local.INFO: TCP Data received {"connection_id":205875,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:16:33] local.INFO: Processing buffer {"connection_id":205875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:16:33] local.INFO: Packet analysis {"connection_id":205875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:16:33] local.INFO: Extracted packet for processing {"connection_id":205875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:16: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-10-05 10:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540847360001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10: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-10-05 10:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791175486000,"timestamp_ms":1791175486000,"timestamp_seconds":1791175486,"priority":1,"record_length":96,"hex_timestamp":"000001a10a60ea30"} 
[2026-10-05 10:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:16:33] 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-10-05 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:16: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-10-05 10: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-10-05 10:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:16:33] 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-10-05 10:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540847360001,"66":25604,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540847360001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:16:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:16:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540847360001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":205875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:16:33] local.INFO: GPS data processed {"connection_id":205875,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:16:33] local.INFO: Acknowledgment sent {"connection_id":205875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:16:55] local.INFO: TCP Data received {"connection_id":204470,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:16:55] local.INFO: Processing buffer {"connection_id":204470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:16:55] local.INFO: IMEI packet received {"connection_id":204470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":204470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:17:00] local.INFO: TCP Data received {"connection_id":204470,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:17:00] local.INFO: Processing buffer {"connection_id":204470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:17:00] local.INFO: IMEI packet received {"connection_id":204470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":204470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:17:01] local.INFO: TCP Data received {"connection_id":204470,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:17:01] local.INFO: Processing buffer {"connection_id":204470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:17:01] local.INFO: Packet analysis {"connection_id":204470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:17:01] local.INFO: Extracted packet for processing {"connection_id":204470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:17:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 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-10-05 10:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540847360001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 10:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791175486000,"timestamp_ms":1791175486000,"timestamp_seconds":1791175486,"priority":1,"record_length":96,"hex_timestamp":"000001a10a60ea30"} 
[2026-10-05 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-10-05 10:17: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-10-05 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:17: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-10-05 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-10-05 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-10-05 10:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10: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-10-05 10:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540847360001,"66":25604,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540847360001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:17:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:17:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540847360001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":204470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:17:01] local.INFO: GPS data processed {"connection_id":204470,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:17:01] local.INFO: Acknowledgment sent {"connection_id":204470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:17:33] local.INFO: TCP Data received {"connection_id":204470,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:17:33] local.INFO: Processing buffer {"connection_id":204470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:17:33] local.INFO: Packet analysis {"connection_id":204470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:17:33] local.INFO: Extracted packet for processing {"connection_id":204470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540847360001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:17: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-10-05 10:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791175486000,"timestamp_ms":1791175486000,"timestamp_seconds":1791175486,"priority":1,"record_length":96,"hex_timestamp":"000001a10a60ea30"} 
[2026-10-05 10:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:17:33] 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-10-05 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:17: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-10-05 10: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-10-05 10:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:17: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-10-05 10:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540847360001,"66":25604,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540847360001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:17:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:17:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540847360001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":204470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:17:33] local.INFO: GPS data processed {"connection_id":204470,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:17:33] local.INFO: Acknowledgment sent {"connection_id":204470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:17:55] local.INFO: TCP Data received {"connection_id":204331,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:17:55] local.INFO: Processing buffer {"connection_id":204331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:17:55] local.INFO: IMEI packet received {"connection_id":204331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":204331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:18:00] local.INFO: TCP Data received {"connection_id":204331,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:18:00] local.INFO: Processing buffer {"connection_id":204331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:18:00] local.INFO: IMEI packet received {"connection_id":204331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":204331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:18:01] local.INFO: TCP Data received {"connection_id":204331,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:18:01] local.INFO: Processing buffer {"connection_id":204331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:18:01] local.INFO: Packet analysis {"connection_id":204331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:18:01] local.INFO: Extracted packet for processing {"connection_id":204331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:18:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540847360001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:18: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-10-05 10:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791175486000,"timestamp_ms":1791175486000,"timestamp_seconds":1791175486,"priority":1,"record_length":96,"hex_timestamp":"000001a10a60ea30"} 
[2026-10-05 10:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:18: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-10-05 10:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:18: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-10-05 10:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:18: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-10-05 10:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540847360001,"66":25604,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540847360001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:18:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:18:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540847360001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":204331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:18:01] local.INFO: GPS data processed {"connection_id":204331,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:18:01] local.INFO: Acknowledgment sent {"connection_id":204331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:18:33] local.INFO: TCP Data received {"connection_id":204331,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:18:33] local.INFO: Processing buffer {"connection_id":204331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:18:33] local.INFO: Packet analysis {"connection_id":204331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:18:33] local.INFO: Extracted packet for processing {"connection_id":204331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:18:33] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:18: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-10-05 10:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540847360001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:18: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-10-05 10:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791175486000,"timestamp_ms":1791175486000,"timestamp_seconds":1791175486,"priority":1,"record_length":96,"hex_timestamp":"000001a10a60ea30"} 
[2026-10-05 10:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:18:33] 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-10-05 10:18: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-10-05 10:18: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-10-05 10:18: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-10-05 10:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:18:33] 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-10-05 10:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540847360001,"66":25604,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540847360001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:18:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:18:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540847360001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":204331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:18:33] local.INFO: GPS data processed {"connection_id":204331,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:18:33] local.INFO: Acknowledgment sent {"connection_id":204331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:18:42] local.INFO: TCP Data received {"connection_id":204333,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:18:42] local.INFO: Processing buffer {"connection_id":204333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:18:42] local.INFO: IMEI packet received {"connection_id":204333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 10:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":204333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:18:55] local.INFO: TCP Data received {"connection_id":207430,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:18:55] local.INFO: Processing buffer {"connection_id":207430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:18:55] local.INFO: IMEI packet received {"connection_id":207430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":207430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:19:00] local.INFO: TCP Data received {"connection_id":207430,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:19:00] local.INFO: Processing buffer {"connection_id":207430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:19:00] local.INFO: IMEI packet received {"connection_id":207430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":207430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:19:01] local.INFO: TCP Data received {"connection_id":207430,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:19:01] local.INFO: Processing buffer {"connection_id":207430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:19:01] local.INFO: Packet analysis {"connection_id":207430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:19:01] local.INFO: Extracted packet for processing {"connection_id":207430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:19:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540847360001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:19: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-10-05 10:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791175486000,"timestamp_ms":1791175486000,"timestamp_seconds":1791175486,"priority":1,"record_length":96,"hex_timestamp":"000001a10a60ea30"} 
[2026-10-05 10:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:19: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-10-05 10:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:19: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-10-05 10:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:19: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-10-05 10:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540847360001,"66":25604,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540847360001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:19:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:19:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540847360001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":207430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:19:01] local.INFO: GPS data processed {"connection_id":207430,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:19:01] local.INFO: Acknowledgment sent {"connection_id":207430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:19:32] local.INFO: TCP Data received {"connection_id":207430,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:19:32] local.INFO: Processing buffer {"connection_id":207430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:19:32] local.INFO: Packet analysis {"connection_id":207430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:19:32] local.INFO: Extracted packet for processing {"connection_id":207430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540847360001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:19: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-10-05 10:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791175486000,"timestamp_ms":1791175486000,"timestamp_seconds":1791175486,"priority":1,"record_length":96,"hex_timestamp":"000001a10a60ea30"} 
[2026-10-05 10:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:19:32] 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-10-05 10:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:19:32] 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-10-05 10:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540847360001,"66":25604,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540847360001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:19:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:19:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540847360001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":207430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:19:32] local.INFO: GPS data processed {"connection_id":207430,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:19:32] local.INFO: Acknowledgment sent {"connection_id":207430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:20:00] local.INFO: TCP Data received {"connection_id":204472,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:20:00] local.INFO: Processing buffer {"connection_id":204472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:20:00] local.INFO: IMEI packet received {"connection_id":204472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":204472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:20:05] local.INFO: TCP Data received {"connection_id":204472,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:20:05] local.INFO: Processing buffer {"connection_id":204472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:20:05] local.INFO: IMEI packet received {"connection_id":204472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":204472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:20:06] local.INFO: TCP Data received {"connection_id":204472,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:20:06] local.INFO: Processing buffer {"connection_id":204472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:20:06] local.INFO: Packet analysis {"connection_id":204472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:20:06] local.INFO: Extracted packet for processing {"connection_id":204472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:20:06] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540847360001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:20: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-10-05 10:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791175486000,"timestamp_ms":1791175486000,"timestamp_seconds":1791175486,"priority":1,"record_length":96,"hex_timestamp":"000001a10a60ea30"} 
[2026-10-05 10:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:20:06] 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-10-05 10:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:20: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-10-05 10: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-10-05 10:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:20: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-10-05 10:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540847360001,"66":25604,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540847360001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:20:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:20:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540847360001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":204472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:20:06] local.INFO: GPS data processed {"connection_id":204472,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:20:06] local.INFO: Acknowledgment sent {"connection_id":204472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:20:10] local.INFO: TCP Data received {"connection_id":204472,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:20:10] local.INFO: Processing buffer {"connection_id":204472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a60ea30012d7f908005afe470000000db28..."} 
[2026-10-05 10:20:10] local.INFO: Packet analysis {"connection_id":204472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:20:10] local.INFO: Extracted packet for processing {"connection_id":204472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a60"} 
[2026-10-05 10:20:10] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540847360001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:20: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-10-05 10:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791175486000,"timestamp_ms":1791175486000,"timestamp_seconds":1791175486,"priority":1,"record_length":96,"hex_timestamp":"000001a10a60ea30"} 
[2026-10-05 10:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:20: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-10-05 10:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:20:10] 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-10-05 10:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540847360001,"66":25604,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540847360001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:20:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:20:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540847360001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":204472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:20:10] local.INFO: GPS data processed {"connection_id":204472,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:20:10] local.INFO: Acknowledgment sent {"connection_id":204472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:20:55] local.INFO: TCP Data received {"connection_id":204474,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:20:55] local.INFO: Processing buffer {"connection_id":204474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:20:55] local.INFO: IMEI packet received {"connection_id":204474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":204474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:21:00] local.INFO: TCP Data received {"connection_id":204474,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:21:00] local.INFO: Processing buffer {"connection_id":204474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:21:00] local.INFO: IMEI packet received {"connection_id":204474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":204474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:21:01] local.INFO: TCP Data received {"connection_id":204474,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:21:01] local.INFO: Processing buffer {"connection_id":204474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:21:01] local.INFO: Packet analysis {"connection_id":204474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a65"} 
[2026-10-05 10:21:01] local.INFO: Extracted packet for processing {"connection_id":204474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a65"} 
[2026-10-05 10:21:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540924416001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10: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-10-05 10:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791175787000,"timestamp_ms":1791175787000,"timestamp_seconds":1791175787,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6581f8"} 
[2026-10-05 10:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10: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-10-05 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 10:21: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-10-05 10: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-10-05 10:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:21: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-10-05 10:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540924416001,"66":25582,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540924416001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:21:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:21:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540924416001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":204474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:21:01] local.INFO: GPS data processed {"connection_id":204474,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:21:01] local.INFO: Acknowledgment sent {"connection_id":204474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:21:05] local.INFO: TCP Data received {"connection_id":204475,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204475,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:21:05] local.INFO: Processing buffer {"connection_id":204475,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:21:05] local.INFO: IMEI packet received {"connection_id":204475,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":204475,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:21:05] local.INFO: TCP Data received {"connection_id":204475,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10a61ff88012d7cbb8006024700000e01052d..."} 
[2026-10-05 10:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a61ff88012d7cbb8006024700000e01052d..."} 
[2026-10-05 10:21:05] local.INFO: Processing buffer {"connection_id":204475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a61ff88012d7cbb8006024700000e01052d..."} 
[2026-10-05 10:21:05] local.INFO: Packet analysis {"connection_id":204475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a61"} 
[2026-10-05 10:21:05] local.INFO: Extracted packet for processing {"connection_id":204475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a61"} 
[2026-10-05 10:21:05] local.INFO: GPS Element Parsed {"raw_longitude":763149184,"raw_latitude":100812544,"longitude_deg":76.3149184,"latitude_deg":10.0812544,"altitude":14,"angle":261,"satellites":45,"speed":6,"hex_longitude":"2d7cbb80","hex_latitude":"06024700","is_valid_coordinates":true} 
[2026-10-05 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-10-05 10:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540942336001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139507886463123456,"note":"Value kept but may cause issues"} 
[2026-10-05 10:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987988613388509184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791175557000,"timestamp_ms":1791175557000,"timestamp_seconds":1791175557,"priority":1,"record_length":96,"hex_timestamp":"000001a10a61ff88"} 
[2026-10-05 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-10-05 10:21: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-10-05 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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-10-05 10:21:05] 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-10-05 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-10-05 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-10-05 10:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540942336001,"66":13765,"197":206,"87":10496,"24":6,"16":139507886463123456,"45":8987988613388509184},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540942336001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:21:05] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:21:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139507886463123456,"km_value":139507886463123.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987988613388509184,"description":"Unknown IO ID 45"} 
[2026-10-05 10:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540942336001,"power":13765,"unknown_197":206,"unknown_87":10496,"ignition":6,"odometer":null,"unknown_45":8987988613388509184}} 
[2026-10-05 10:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":204475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:21:06] local.INFO: GPS data processed {"connection_id":204475,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:21:06] local.INFO: Acknowledgment sent {"connection_id":204475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:21:32] local.INFO: TCP Data received {"connection_id":204474,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:21:32] local.INFO: Processing buffer {"connection_id":204474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:21:32] local.INFO: Packet analysis {"connection_id":204474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a65"} 
[2026-10-05 10:21:32] local.INFO: Extracted packet for processing {"connection_id":204474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a65"} 
[2026-10-05 10:21:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540924416001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:21: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-10-05 10:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791175787000,"timestamp_ms":1791175787000,"timestamp_seconds":1791175787,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6581f8"} 
[2026-10-05 10:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:21:32] 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-10-05 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 10:21: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-10-05 10: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-10-05 10:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:21: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-10-05 10:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540924416001,"66":25582,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540924416001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:21:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:21:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540924416001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":204474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:21:32] local.INFO: GPS data processed {"connection_id":204474,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:21:32] local.INFO: Acknowledgment sent {"connection_id":204474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:21:37] local.INFO: TCP Data received {"connection_id":204475,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10a620370012d7cbb4006024708000d011b2c..."} 
[2026-10-05 10:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a620370012d7cbb4006024708000d011b2c..."} 
[2026-10-05 10:21:37] local.INFO: Processing buffer {"connection_id":204475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a620370012d7cbb4006024708000d011b2c..."} 
[2026-10-05 10:21:37] local.INFO: Packet analysis {"connection_id":204475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a62"} 
[2026-10-05 10:21:37] local.INFO: Extracted packet for processing {"connection_id":204475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a62"} 
[2026-10-05 10:21:37] local.INFO: GPS Element Parsed {"raw_longitude":763149120,"raw_latitude":100812552,"longitude_deg":76.314912,"latitude_deg":10.0812552,"altitude":13,"angle":283,"satellites":44,"speed":5,"hex_longitude":"2d7cbb40","hex_latitude":"06024708","is_valid_coordinates":true} 
[2026-10-05 10:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540942592001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139507886463123456,"note":"Value kept but may cause issues"} 
[2026-10-05 10:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987918244644323328,"note":"Value kept but may cause issues"} 
[2026-10-05 10:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791175558000,"timestamp_ms":1791175558000,"timestamp_seconds":1791175558,"priority":1,"record_length":96,"hex_timestamp":"000001a10a620370"} 
[2026-10-05 10:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:21:37] 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-10-05 10:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-10-05 10:21:37] 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-10-05 10:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540942592001,"66":13222,"197":206,"87":10496,"24":5,"16":139507886463123456,"45":8987918244644323328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540942592001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:21:37] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:21:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139507886463123456,"km_value":139507886463123.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987918244644323328,"description":"Unknown IO ID 45"} 
[2026-10-05 10:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540942592001,"power":13222,"unknown_197":206,"unknown_87":10496,"ignition":5,"odometer":null,"unknown_45":8987918244644323328}} 
[2026-10-05 10:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":204475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:21:37] local.INFO: GPS data processed {"connection_id":204475,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:21:37] local.INFO: Acknowledgment sent {"connection_id":204475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:21:55] local.INFO: TCP Data received {"connection_id":204476,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:21:55] local.INFO: Processing buffer {"connection_id":204476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:21:55] local.INFO: IMEI packet received {"connection_id":204476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":204476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:22:00] local.INFO: TCP Data received {"connection_id":204476,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:22:00] local.INFO: Processing buffer {"connection_id":204476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:22:00] local.INFO: IMEI packet received {"connection_id":204476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":204476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:22:01] local.INFO: TCP Data received {"connection_id":204476,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:22:01] local.INFO: Processing buffer {"connection_id":204476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:22:01] local.INFO: Packet analysis {"connection_id":204476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a65"} 
[2026-10-05 10:22:01] local.INFO: Extracted packet for processing {"connection_id":204476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a65"} 
[2026-10-05 10:22:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540924416001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10: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-10-05 10:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791175787000,"timestamp_ms":1791175787000,"timestamp_seconds":1791175787,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6581f8"} 
[2026-10-05 10:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:22: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-10-05 10: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":4,"data_length":795,"current_offset":136} 
[2026-10-05 10:22: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-10-05 10: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-10-05 10:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:22: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-10-05 10:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540924416001,"66":25582,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540924416001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:22:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:22:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540924416001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":204476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:22:01] local.INFO: GPS data processed {"connection_id":204476,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:22:01] local.INFO: Acknowledgment sent {"connection_id":204476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:22:04] local.INFO: TCP Data received {"connection_id":204335,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:22:04] local.INFO: Processing buffer {"connection_id":204335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:22:04] local.INFO: IMEI packet received {"connection_id":204335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":204335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:22:10] local.INFO: TCP Data received {"connection_id":204335,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:22:10] local.INFO: Processing buffer {"connection_id":204335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:22:10] local.INFO: IMEI packet received {"connection_id":204335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":204335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:22:11] local.INFO: TCP Data received {"connection_id":204335,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10a623e08012d7cba40060247a8000b01302c..."} 
[2026-10-05 10:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a623e08012d7cba40060247a8000b01302c..."} 
[2026-10-05 10:22:11] local.INFO: Processing buffer {"connection_id":204335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a623e08012d7cba40060247a8000b01302c..."} 
[2026-10-05 10:22:11] local.INFO: Packet analysis {"connection_id":204335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a62"} 
[2026-10-05 10:22:11] local.INFO: Extracted packet for processing {"connection_id":204335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a62"} 
[2026-10-05 10:22:11] local.INFO: GPS Element Parsed {"raw_longitude":763148864,"raw_latitude":100812712,"longitude_deg":76.3148864,"latitude_deg":10.0812712,"altitude":11,"angle":304,"satellites":44,"speed":4,"hex_longitude":"2d7cba40","hex_latitude":"060247a8","is_valid_coordinates":true} 
[2026-10-05 10:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540942848001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139507933707763712,"note":"Value kept but may cause issues"} 
[2026-10-05 10:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987847875900147712,"note":"Value kept but may cause issues"} 
[2026-10-05 10:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791175573000,"timestamp_ms":1791175573000,"timestamp_seconds":1791175573,"priority":1,"record_length":96,"hex_timestamp":"000001a10a623e08"} 
[2026-10-05 10:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:22: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-10-05 10:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-10-05 10:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 10:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540942848001,"66":13135,"197":206,"87":10496,"24":4,"16":139507933707763712,"45":8987847875900147712},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540942848001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:22:11] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:22:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139507933707763712,"km_value":139507933707763.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987847875900147712,"description":"Unknown IO ID 45"} 
[2026-10-05 10:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540942848001,"power":13135,"unknown_197":206,"unknown_87":10496,"ignition":4,"odometer":null,"unknown_45":8987847875900147712}} 
[2026-10-05 10:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":204335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966688,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:22:11] local.INFO: GPS data processed {"connection_id":204335,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:22:11] local.INFO: Acknowledgment sent {"connection_id":204335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:22:32] local.INFO: TCP Data received {"connection_id":204476,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:22:32] local.INFO: Processing buffer {"connection_id":204476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:22:32] local.INFO: Packet analysis {"connection_id":204476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a65"} 
[2026-10-05 10:22:32] local.INFO: Extracted packet for processing {"connection_id":204476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a65"} 
[2026-10-05 10:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540924416001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:22: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-10-05 10:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791175787000,"timestamp_ms":1791175787000,"timestamp_seconds":1791175787,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6581f8"} 
[2026-10-05 10:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:22:32] 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-10-05 10:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 10:22: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-10-05 10:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540924416001,"66":25582,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540924416001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:22:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:22:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540924416001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":204476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:22:32] local.INFO: GPS data processed {"connection_id":204476,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:22:32] local.INFO: Acknowledgment sent {"connection_id":204476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:22:42] local.INFO: TCP Data received {"connection_id":204335,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6245d8012d7cb9c0060247e8000b011c2b..."} 
[2026-10-05 10:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6245d8012d7cb9c0060247e8000b011c2b..."} 
[2026-10-05 10:22:42] local.INFO: Processing buffer {"connection_id":204335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6245d8012d7cb9c0060247e8000b011c2b..."} 
[2026-10-05 10:22:42] local.INFO: Packet analysis {"connection_id":204335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a62"} 
[2026-10-05 10:22:42] local.INFO: Extracted packet for processing {"connection_id":204335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a62"} 
[2026-10-05 10:22:42] local.INFO: GPS Element Parsed {"raw_longitude":763148736,"raw_latitude":100812776,"longitude_deg":76.3148736,"latitude_deg":10.0812776,"altitude":11,"angle":284,"satellites":43,"speed":1,"hex_longitude":"2d7cb9c0","hex_latitude":"060247e8","is_valid_coordinates":true} 
[2026-10-05 10:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540946688001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139507942297698304,"note":"Value kept but may cause issues"} 
[2026-10-05 10:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987566400923478016,"note":"Value kept but may cause issues"} 
[2026-10-05 10:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791175575000,"timestamp_ms":1791175575000,"timestamp_seconds":1791175575,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6245d8"} 
[2026-10-05 10:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-10-05 10:22:42] 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-10-05 10:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540946688001,"66":13319,"197":206,"87":10496,"24":1,"16":139507942297698304,"45":8987566400923478016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540946688001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:22:42] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:22:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139507942297698304,"km_value":139507942297698.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987566400923478016,"description":"Unknown IO ID 45"} 
[2026-10-05 10:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540946688001,"power":13319,"unknown_197":206,"unknown_87":10496,"ignition":1,"odometer":null,"unknown_45":8987566400923478016}} 
[2026-10-05 10:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":204335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966690,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:22:42] local.INFO: GPS data processed {"connection_id":204335,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:22:42] local.INFO: Acknowledgment sent {"connection_id":204335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:22:55] local.INFO: TCP Data received {"connection_id":204477,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:22:55] local.INFO: Processing buffer {"connection_id":204477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:22:55] local.INFO: IMEI packet received {"connection_id":204477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":204477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:22:59] local.INFO: TCP Data received {"connection_id":204478,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:22:59] local.INFO: Processing buffer {"connection_id":204478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:22:59] local.INFO: IMEI packet received {"connection_id":204478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":204478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:23:00] local.INFO: TCP Data received {"connection_id":204477,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:23:00] local.INFO: Processing buffer {"connection_id":204477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:23:00] local.INFO: IMEI packet received {"connection_id":204477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":204477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:23:01] local.INFO: TCP Data received {"connection_id":204477,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:23:01] local.INFO: Processing buffer {"connection_id":204477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:23:01] local.INFO: Packet analysis {"connection_id":204477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a65"} 
[2026-10-05 10:23:01] local.INFO: Extracted packet for processing {"connection_id":204477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a65"} 
[2026-10-05 10:23:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540924416001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10: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-10-05 10:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791175787000,"timestamp_ms":1791175787000,"timestamp_seconds":1791175787,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6581f8"} 
[2026-10-05 10:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:23: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-10-05 10: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":4,"data_length":795,"current_offset":136} 
[2026-10-05 10:23: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-10-05 10: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-10-05 10:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10: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-10-05 10:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540924416001,"66":25582,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540924416001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:23:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:23:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540924416001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":204477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:23:01] local.INFO: GPS data processed {"connection_id":204477,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:23:01] local.INFO: Acknowledgment sent {"connection_id":204477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:23:05] local.INFO: TCP Data received {"connection_id":204478,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:23:05] local.INFO: Processing buffer {"connection_id":204478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:23:05] local.INFO: IMEI packet received {"connection_id":204478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":204478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:23:05] local.INFO: TCP Data received {"connection_id":204478,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a624da8012d7cb9c006024808000a01182b..."} 
[2026-10-05 10:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a624da8012d7cb9c006024808000a01182b..."} 
[2026-10-05 10:23:05] local.INFO: Processing buffer {"connection_id":204478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a624da8012d7cb9c006024808000a01182b..."} 
[2026-10-05 10:23:05] local.INFO: Packet analysis {"connection_id":204478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a62"} 
[2026-10-05 10:23:05] local.INFO: Extracted packet for processing {"connection_id":204478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a62"} 
[2026-10-05 10:23:05] local.INFO: GPS Element Parsed {"raw_longitude":763148736,"raw_latitude":100812808,"longitude_deg":76.3148736,"latitude_deg":10.0812808,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d7cb9c0","hex_latitude":"06024808","is_valid_coordinates":true} 
[2026-10-05 10:23: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-10-05 10:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540947200001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139507946592665600,"note":"Value kept but may cause issues"} 
[2026-10-05 10:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987425663435139072,"note":"Value kept but may cause issues"} 
[2026-10-05 10:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791175577000,"timestamp_ms":1791175577000,"timestamp_seconds":1791175577,"priority":1,"record_length":96,"hex_timestamp":"000001a10a624da8"} 
[2026-10-05 10:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:23: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-10-05 10:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 10:23:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 10:23:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 10:23:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":5242190026401065984,"note":"Value kept but may cause issues"} 
[2026-10-05 10:23:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1791295694,"corrected_to":0} 
[2026-10-05 10:23:05] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":3087084924,"corrected_to":0} 
[2026-10-05 10:23:05] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2712403968,"note":"Value kept but may cause issues"} 
[2026-10-05 10:23:05] local.WARNING: Large IO value detected {"io_id":56,"raw_value":57819764580308777,"note":"Value kept but may cause issues"} 
[2026-10-05 10:23:05] local.WARNING: Large IO value detected {"io_id":97,"raw_value":-1159675609170018298,"note":"Value kept but may cause issues"} 
[2026-10-05 10:23:05] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,197,87,24,241,157,16,161,62,45,64,71,11,44,10,66,3,13,255,128,1,240,227,2,4,113,205,6,247,188,239,53,14,7,56,97],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1791295694,"validated":0},{"io_id":247,"original":3087084924,"validated":0}]} 
[2026-10-05 10:23:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792945980403154944,"timestamp_seconds":792945980403155.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 10:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:23: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-10-05 10:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540947200001,"66":13352,"197":206,"87":10496,"24":0,"16":139507946592665600,"45":8987425663435139072},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540947200001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:23:05] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:23:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139507946592665600,"km_value":139507946592665.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987425663435139072,"description":"Unknown IO ID 45"} 
[2026-10-05 10:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540947200001,"power":13352,"unknown_197":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":8987425663435139072}} 
[2026-10-05 10:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":204478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966692,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:23:05] local.INFO: GPS data processed {"connection_id":204478,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:23:05] local.INFO: Acknowledgment sent {"connection_id":204478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:23:32] local.INFO: TCP Data received {"connection_id":204477,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:23:32] local.INFO: Processing buffer {"connection_id":204477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:23:32] local.INFO: Packet analysis {"connection_id":204477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a65"} 
[2026-10-05 10:23:32] local.INFO: Extracted packet for processing {"connection_id":204477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a65"} 
[2026-10-05 10:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540924416001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:23: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-10-05 10:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791175787000,"timestamp_ms":1791175787000,"timestamp_seconds":1791175787,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6581f8"} 
[2026-10-05 10:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:23:32] 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-10-05 10:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 10:23: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-10-05 10:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:23: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-10-05 10:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540924416001,"66":25582,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540924416001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:23:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:23:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540924416001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":204477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:23:32] local.INFO: GPS data processed {"connection_id":204477,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:23:32] local.INFO: Acknowledgment sent {"connection_id":204477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:23:38] local.INFO: TCP Data received {"connection_id":204478,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10a624da8012d7cb9c006024808000a01182b..."} 
[2026-10-05 10:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a624da8012d7cb9c006024808000a01182b..."} 
[2026-10-05 10:23:38] local.INFO: Processing buffer {"connection_id":204478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a624da8012d7cb9c006024808000a01182b..."} 
[2026-10-05 10:23:38] local.INFO: Packet analysis {"connection_id":204478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a62"} 
[2026-10-05 10:23:38] local.INFO: Extracted packet for processing {"connection_id":204478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a62"} 
[2026-10-05 10:23:38] local.INFO: GPS Element Parsed {"raw_longitude":763148736,"raw_latitude":100812808,"longitude_deg":76.3148736,"latitude_deg":10.0812808,"altitude":10,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d7cb9c0","hex_latitude":"06024808","is_valid_coordinates":true} 
[2026-10-05 10:23: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-10-05 10:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540947712001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139507946592665600,"note":"Value kept but may cause issues"} 
[2026-10-05 10:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987425663435147264,"note":"Value kept but may cause issues"} 
[2026-10-05 10:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791175577000,"timestamp_ms":1791175577000,"timestamp_seconds":1791175577,"priority":1,"record_length":96,"hex_timestamp":"000001a10a624da8"} 
[2026-10-05 10:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 10:23:38] 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-10-05 10:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540947712001,"66":13352,"197":206,"87":10496,"24":0,"16":139507946592665600,"45":8987425663435147264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540947712001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:23:38] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:23:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139507946592665600,"km_value":139507946592665.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987425663435147264,"description":"Unknown IO ID 45"} 
[2026-10-05 10:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540947712001,"power":13352,"unknown_197":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":8987425663435147264}} 
[2026-10-05 10:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":204478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:23:38] local.INFO: GPS data processed {"connection_id":204478,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:23:38] local.INFO: Acknowledgment sent {"connection_id":204478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:23:55] local.INFO: TCP Data received {"connection_id":207432,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:23:55] local.INFO: Processing buffer {"connection_id":207432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:23:55] local.INFO: IMEI packet received {"connection_id":207432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":207432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:24:00] local.INFO: TCP Data received {"connection_id":207432,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:24:00] local.INFO: Processing buffer {"connection_id":207432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:24:00] local.INFO: IMEI packet received {"connection_id":207432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":207432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:24:02] local.INFO: TCP Data received {"connection_id":207432,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:24:02] local.INFO: Processing buffer {"connection_id":207432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:24:02] local.INFO: Packet analysis {"connection_id":207432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a65"} 
[2026-10-05 10:24:02] local.INFO: Extracted packet for processing {"connection_id":207432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a65"} 
[2026-10-05 10:24:02] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540924416001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:24: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-10-05 10:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791175787000,"timestamp_ms":1791175787000,"timestamp_seconds":1791175787,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6581f8"} 
[2026-10-05 10:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:24: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-10-05 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 10:24:02] 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-10-05 10: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-10-05 10:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:24: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-10-05 10:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540924416001,"66":25582,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540924416001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:24:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:24:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540924416001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":207432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:24:02] local.INFO: GPS data processed {"connection_id":207432,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:24:02] local.INFO: Acknowledgment sent {"connection_id":207432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:24:05] local.INFO: TCP Data received {"connection_id":204336,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:24:05] local.INFO: Processing buffer {"connection_id":204336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:24:05] local.INFO: IMEI packet received {"connection_id":204336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":204336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:24:10] local.INFO: TCP Data received {"connection_id":204336,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:24:10] local.INFO: Processing buffer {"connection_id":204336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:24:10] local.INFO: IMEI packet received {"connection_id":204336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":204336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:24:11] local.INFO: TCP Data received {"connection_id":204479,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:24:11] local.INFO: Processing buffer {"connection_id":204479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:24:11] local.INFO: IMEI packet received {"connection_id":204479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 10:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":204479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:24:11] local.INFO: TCP Data received {"connection_id":204336,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10a66e570012d7cbb0006024800000a011827..."} 
[2026-10-05 10:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a66e570012d7cbb0006024800000a011827..."} 
[2026-10-05 10:24:11] local.INFO: Processing buffer {"connection_id":204336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a66e570012d7cbb0006024800000a011827..."} 
[2026-10-05 10:24:11] local.INFO: Packet analysis {"connection_id":204336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a66"} 
[2026-10-05 10:24:11] local.INFO: Extracted packet for processing {"connection_id":204336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a66"} 
[2026-10-05 10:24:11] local.INFO: GPS Element Parsed {"raw_longitude":763149056,"raw_latitude":100812800,"longitude_deg":76.3149056,"latitude_deg":10.08128,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d7cbb00","hex_latitude":"06024800","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540947712001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139507946592665600,"note":"Value kept but may cause issues"} 
[2026-10-05 10:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987425663435147264,"note":"Value kept but may cause issues"} 
[2026-10-05 10:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791175878000,"timestamp_ms":1791175878000,"timestamp_seconds":1791175878,"priority":1,"record_length":96,"hex_timestamp":"000001a10a66e570"} 
[2026-10-05 10:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 10:24:11] 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-10-05 10: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-10-05 10:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540947712001,"66":13352,"197":206,"87":10496,"24":0,"16":139507946592665600,"45":8987425663435147264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540947712001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:24:11] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:24:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139507946592665600,"km_value":139507946592665.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987425663435147264,"description":"Unknown IO ID 45"} 
[2026-10-05 10:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540947712001,"power":13352,"unknown_197":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":8987425663435147264}} 
[2026-10-05 10:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":204336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966696,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:24:11] local.INFO: GPS data processed {"connection_id":204336,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:24:11] local.INFO: Acknowledgment sent {"connection_id":204336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:24:33] local.INFO: TCP Data received {"connection_id":207432,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:24:33] local.INFO: Processing buffer {"connection_id":207432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:24:33] local.INFO: Packet analysis {"connection_id":207432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a65"} 
[2026-10-05 10:24:33] local.INFO: Extracted packet for processing {"connection_id":207432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a65"} 
[2026-10-05 10:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540924416001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:24: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-10-05 10:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791175787000,"timestamp_ms":1791175787000,"timestamp_seconds":1791175787,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6581f8"} 
[2026-10-05 10:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:24:33] 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-10-05 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 10:24:33] 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-10-05 10: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-10-05 10:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:24: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-10-05 10:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540924416001,"66":25582,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540924416001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:24:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:24:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540924416001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":207432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:24:33] local.INFO: GPS data processed {"connection_id":207432,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:24:33] local.INFO: Acknowledgment sent {"connection_id":207432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:24:42] local.INFO: TCP Data received {"connection_id":204480,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:24:42] local.INFO: Processing buffer {"connection_id":204480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:24:42] local.INFO: IMEI packet received {"connection_id":204480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 10:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":204480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:24:43] local.INFO: TCP Data received {"connection_id":204336,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10a66e570012d7cbb0006024800000a011827..."} 
[2026-10-05 10:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a66e570012d7cbb0006024800000a011827..."} 
[2026-10-05 10:24:43] local.INFO: Processing buffer {"connection_id":204336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a66e570012d7cbb0006024800000a011827..."} 
[2026-10-05 10:24:43] local.INFO: Packet analysis {"connection_id":204336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a66"} 
[2026-10-05 10:24:43] local.INFO: Extracted packet for processing {"connection_id":204336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a66"} 
[2026-10-05 10:24:43] local.INFO: GPS Element Parsed {"raw_longitude":763149056,"raw_latitude":100812800,"longitude_deg":76.3149056,"latitude_deg":10.08128,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d7cbb00","hex_latitude":"06024800","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540947712001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139507946592665600,"note":"Value kept but may cause issues"} 
[2026-10-05 10:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987425663435147264,"note":"Value kept but may cause issues"} 
[2026-10-05 10:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791175878000,"timestamp_ms":1791175878000,"timestamp_seconds":1791175878,"priority":1,"record_length":96,"hex_timestamp":"000001a10a66e570"} 
[2026-10-05 10:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 10:24:43] 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-10-05 10: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-10-05 10:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540947712001,"66":13352,"197":206,"87":10496,"24":0,"16":139507946592665600,"45":8987425663435147264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540947712001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:24:43] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:24:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139507946592665600,"km_value":139507946592665.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987425663435147264,"description":"Unknown IO ID 45"} 
[2026-10-05 10:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540947712001,"power":13352,"unknown_197":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":8987425663435147264}} 
[2026-10-05 10:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":204336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:24:43] local.INFO: GPS data processed {"connection_id":204336,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:24:43] local.INFO: Acknowledgment sent {"connection_id":204336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:25:00] local.INFO: TCP Data received {"connection_id":204481,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:25:00] local.INFO: Processing buffer {"connection_id":204481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:25:00] local.INFO: IMEI packet received {"connection_id":204481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":204481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:25:00] local.INFO: TCP Data received {"connection_id":205879,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:25:00] local.INFO: Processing buffer {"connection_id":205879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:25:00] local.INFO: IMEI packet received {"connection_id":205879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":205879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:25:05] local.INFO: TCP Data received {"connection_id":204481,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:25:05] local.INFO: Processing buffer {"connection_id":204481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:25:05] local.INFO: IMEI packet received {"connection_id":204481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":204481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:25:05] local.INFO: TCP Data received {"connection_id":205879,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:25:05] local.INFO: Processing buffer {"connection_id":205879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:25:05] local.INFO: IMEI packet received {"connection_id":205879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":205879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:25:05] local.INFO: TCP Data received {"connection_id":204481,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10a66e570012d7cbb0006024800000a011827..."} 
[2026-10-05 10:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a66e570012d7cbb0006024800000a011827..."} 
[2026-10-05 10:25:05] local.INFO: Processing buffer {"connection_id":204481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a66e570012d7cbb0006024800000a011827..."} 
[2026-10-05 10:25:05] local.INFO: Packet analysis {"connection_id":204481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a66"} 
[2026-10-05 10:25:05] local.INFO: Extracted packet for processing {"connection_id":204481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a66"} 
[2026-10-05 10:25:05] local.INFO: GPS Element Parsed {"raw_longitude":763149056,"raw_latitude":100812800,"longitude_deg":76.3149056,"latitude_deg":10.08128,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d7cbb00","hex_latitude":"06024800","is_valid_coordinates":true} 
[2026-10-05 10:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540947712001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139507946592665600,"note":"Value kept but may cause issues"} 
[2026-10-05 10:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987425663435147264,"note":"Value kept but may cause issues"} 
[2026-10-05 10:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791175878000,"timestamp_ms":1791175878000,"timestamp_seconds":1791175878,"priority":1,"record_length":96,"hex_timestamp":"000001a10a66e570"} 
[2026-10-05 10:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:25: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-10-05 10:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 10:25: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-10-05 10:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540947712001,"66":13352,"197":206,"87":10496,"24":0,"16":139507946592665600,"45":8987425663435147264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540947712001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:25:05] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:25:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139507946592665600,"km_value":139507946592665.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987425663435147264,"description":"Unknown IO ID 45"} 
[2026-10-05 10:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540947712001,"power":13352,"unknown_197":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":8987425663435147264}} 
[2026-10-05 10:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":204481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:25:05] local.INFO: GPS data processed {"connection_id":204481,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:25:05] local.INFO: Acknowledgment sent {"connection_id":204481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:25:06] local.INFO: TCP Data received {"connection_id":205879,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:25:06] local.INFO: Processing buffer {"connection_id":205879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:25:06] local.INFO: Packet analysis {"connection_id":205879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a65"} 
[2026-10-05 10:25:06] local.INFO: Extracted packet for processing {"connection_id":205879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a65"} 
[2026-10-05 10:25:06] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540924416001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:25: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-10-05 10:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791175787000,"timestamp_ms":1791175787000,"timestamp_seconds":1791175787,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6581f8"} 
[2026-10-05 10:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:25:06] 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-10-05 10:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 10:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 10:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540924416001,"66":25582,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540924416001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:25:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:25:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540924416001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":205879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:25:06] local.INFO: GPS data processed {"connection_id":205879,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:25:06] local.INFO: Acknowledgment sent {"connection_id":205879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:25:10] local.INFO: TCP Data received {"connection_id":205879,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:25:10] local.INFO: Processing buffer {"connection_id":205879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6581f8012d7f908005afe470000000db2b..."} 
[2026-10-05 10:25:10] local.INFO: Packet analysis {"connection_id":205879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a65"} 
[2026-10-05 10:25:10] local.INFO: Extracted packet for processing {"connection_id":205879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a65"} 
[2026-10-05 10:25:10] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540924416001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:25: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-10-05 10:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791175787000,"timestamp_ms":1791175787000,"timestamp_seconds":1791175787,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6581f8"} 
[2026-10-05 10:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:25: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-10-05 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 10:25:10] 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-10-05 10: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-10-05 10:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":205879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":205879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":205879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540924416001,"66":25582,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540924416001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:25:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:25:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540924416001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":205879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:25:11] local.INFO: GPS data processed {"connection_id":205879,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:25:11] local.INFO: Acknowledgment sent {"connection_id":205879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:25:36] local.INFO: TCP Data received {"connection_id":204481,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10a66e570012d7cbb0006024800000a011827..."} 
[2026-10-05 10:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a66e570012d7cbb0006024800000a011827..."} 
[2026-10-05 10:25:36] local.INFO: Processing buffer {"connection_id":204481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a66e570012d7cbb0006024800000a011827..."} 
[2026-10-05 10:25:36] local.INFO: Packet analysis {"connection_id":204481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a66"} 
[2026-10-05 10:25:36] local.INFO: Extracted packet for processing {"connection_id":204481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a66"} 
[2026-10-05 10:25:36] local.INFO: GPS Element Parsed {"raw_longitude":763149056,"raw_latitude":100812800,"longitude_deg":76.3149056,"latitude_deg":10.08128,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d7cbb00","hex_latitude":"06024800","is_valid_coordinates":true} 
[2026-10-05 10:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540947712001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139507946592665600,"note":"Value kept but may cause issues"} 
[2026-10-05 10:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987425663435147264,"note":"Value kept but may cause issues"} 
[2026-10-05 10:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791175878000,"timestamp_ms":1791175878000,"timestamp_seconds":1791175878,"priority":1,"record_length":96,"hex_timestamp":"000001a10a66e570"} 
[2026-10-05 10:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 10:25:36] 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-10-05 10:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540947712001,"66":13352,"197":206,"87":10496,"24":0,"16":139507946592665600,"45":8987425663435147264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540947712001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:25:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:25:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139507946592665600,"km_value":139507946592665.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987425663435147264,"description":"Unknown IO ID 45"} 
[2026-10-05 10:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540947712001,"power":13352,"unknown_197":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":8987425663435147264}} 
[2026-10-05 10:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":204481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:25:37] local.INFO: GPS data processed {"connection_id":204481,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:25:37] local.INFO: Acknowledgment sent {"connection_id":204481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:25:55] local.INFO: TCP Data received {"connection_id":204482,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:25:55] local.INFO: Processing buffer {"connection_id":204482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:25:55] local.INFO: IMEI packet received {"connection_id":204482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":204482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:26:00] local.INFO: TCP Data received {"connection_id":207433,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207433,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:26:00] local.INFO: Processing buffer {"connection_id":207433,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:26:00] local.INFO: IMEI packet received {"connection_id":207433,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":207433,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:26:00] local.INFO: TCP Data received {"connection_id":204482,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:26:00] local.INFO: Processing buffer {"connection_id":204482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:26:00] local.INFO: IMEI packet received {"connection_id":204482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":204482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:26:01] local.INFO: TCP Data received {"connection_id":204482,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:26:01] local.INFO: Processing buffer {"connection_id":204482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:26:01] local.INFO: Packet analysis {"connection_id":204482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6a"} 
[2026-10-05 10:26:01] local.INFO: Extracted packet for processing {"connection_id":204482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6a"} 
[2026-10-05 10:26:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541001472001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10: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-10-05 10:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791176088000,"timestamp_ms":1791176088000,"timestamp_seconds":1791176088,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6a19c0"} 
[2026-10-05 10:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10: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-10-05 10: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":238,"data_length":795,"current_offset":136} 
[2026-10-05 10:26: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-10-05 10: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-10-05 10:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:26: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-10-05 10:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541001472001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541001472001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:26:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:26:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541001472001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":204482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:26:01] local.INFO: GPS data processed {"connection_id":204482,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:26:01] local.INFO: Acknowledgment sent {"connection_id":204482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:26:05] local.INFO: TCP Data received {"connection_id":207433,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207433,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:26:05] local.INFO: Processing buffer {"connection_id":207433,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:26:05] local.INFO: IMEI packet received {"connection_id":207433,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":207433,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:26:06] local.INFO: TCP Data received {"connection_id":207433,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10a66e570012d7cbb0006024800000a011827..."} 
[2026-10-05 10:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a66e570012d7cbb0006024800000a011827..."} 
[2026-10-05 10:26:06] local.INFO: Processing buffer {"connection_id":207433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a66e570012d7cbb0006024800000a011827..."} 
[2026-10-05 10:26:06] local.INFO: Packet analysis {"connection_id":207433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a66"} 
[2026-10-05 10:26:06] local.INFO: Extracted packet for processing {"connection_id":207433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a66"} 
[2026-10-05 10:26:06] local.INFO: GPS Element Parsed {"raw_longitude":763149056,"raw_latitude":100812800,"longitude_deg":76.3149056,"latitude_deg":10.08128,"altitude":10,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d7cbb00","hex_latitude":"06024800","is_valid_coordinates":true} 
[2026-10-05 10:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458540947712001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139507946592665600,"note":"Value kept but may cause issues"} 
[2026-10-05 10:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987425663435147264,"note":"Value kept but may cause issues"} 
[2026-10-05 10:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791175878000,"timestamp_ms":1791175878000,"timestamp_seconds":1791175878,"priority":1,"record_length":96,"hex_timestamp":"000001a10a66e570"} 
[2026-10-05 10:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 10:26:06] 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-10-05 10:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458540947712001,"66":13352,"197":206,"87":10496,"24":0,"16":139507946592665600,"45":8987425663435147264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458540947712001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:26:06] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:26:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139507946592665600,"km_value":139507946592665.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987425663435147264,"description":"Unknown IO ID 45"} 
[2026-10-05 10:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458540947712001,"power":13352,"unknown_197":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":8987425663435147264}} 
[2026-10-05 10:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":207433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:26:06] local.INFO: GPS data processed {"connection_id":207433,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:26:06] local.INFO: Acknowledgment sent {"connection_id":207433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:26:32] local.INFO: TCP Data received {"connection_id":204482,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:26:32] local.INFO: Processing buffer {"connection_id":204482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:26:32] local.INFO: Packet analysis {"connection_id":204482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6a"} 
[2026-10-05 10:26:32] local.INFO: Extracted packet for processing {"connection_id":204482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6a"} 
[2026-10-05 10:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:26: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-10-05 10:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541001472001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:26: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-10-05 10:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791176088000,"timestamp_ms":1791176088000,"timestamp_seconds":1791176088,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6a19c0"} 
[2026-10-05 10:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:26:32] 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-10-05 10:26: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-10-05 10:26: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-10-05 10:26: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-10-05 10:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:26: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-10-05 10:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541001472001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541001472001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:26:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:26:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541001472001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":204482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:26:32] local.INFO: GPS data processed {"connection_id":204482,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:26:32] local.INFO: Acknowledgment sent {"connection_id":204482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:26:37] local.INFO: TCP Data received {"connection_id":207433,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:26:37] local.INFO: Processing buffer {"connection_id":207433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:26:37] local.INFO: Packet analysis {"connection_id":207433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6b"} 
[2026-10-05 10:26:37] local.INFO: Extracted packet for processing {"connection_id":207433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6b"} 
[2026-10-05 10:26:37] local.INFO: GPS Element Parsed {"raw_longitude":763149056,"raw_latitude":100812800,"longitude_deg":76.3149056,"latitude_deg":10.08128,"altitude":12,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d7cbb00","hex_latitude":"06024800","is_valid_coordinates":true} 
[2026-10-05 10:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541024768001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139507946592665600,"note":"Value kept but may cause issues"} 
[2026-10-05 10:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987777507156033536,"note":"Value kept but may cause issues"} 
[2026-10-05 10:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791176179000,"timestamp_ms":1791176179000,"timestamp_seconds":1791176179,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6b7d38"} 
[2026-10-05 10:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 10:26: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-10-05 10:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541024768001,"66":13254,"197":206,"87":10496,"24":0,"16":139507946592665600,"45":8987777507156033536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541024768001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:26:37] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:26:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139507946592665600,"km_value":139507946592665.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987777507156033536,"description":"Unknown IO ID 45"} 
[2026-10-05 10:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541024768001,"power":13254,"unknown_197":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":8987777507156033536}} 
[2026-10-05 10:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":207433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966706,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:26:37] local.INFO: GPS data processed {"connection_id":207433,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:26:37] local.INFO: Acknowledgment sent {"connection_id":207433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:26:55] local.INFO: TCP Data received {"connection_id":204483,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:26:55] local.INFO: Processing buffer {"connection_id":204483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:26:55] local.INFO: IMEI packet received {"connection_id":204483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":204483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:27:00] local.INFO: TCP Data received {"connection_id":204483,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:27:00] local.INFO: Processing buffer {"connection_id":204483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:27:00] local.INFO: IMEI packet received {"connection_id":204483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":204483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:27:01] local.INFO: TCP Data received {"connection_id":204483,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:27:01] local.INFO: Processing buffer {"connection_id":204483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:27:01] local.INFO: Packet analysis {"connection_id":204483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6a"} 
[2026-10-05 10:27:01] local.INFO: Extracted packet for processing {"connection_id":204483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6a"} 
[2026-10-05 10:27:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541001472001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10: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-10-05 10:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791176088000,"timestamp_ms":1791176088000,"timestamp_seconds":1791176088,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6a19c0"} 
[2026-10-05 10:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:27: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-10-05 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 10:27: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-10-05 10: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-10-05 10:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:27: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-10-05 10:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541001472001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541001472001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:27:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:27:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541001472001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":204483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:27:01] local.INFO: GPS data processed {"connection_id":204483,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:27:01] local.INFO: Acknowledgment sent {"connection_id":204483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:27:05] local.INFO: TCP Data received {"connection_id":204338,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:27:05] local.INFO: Processing buffer {"connection_id":204338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:27:05] local.INFO: IMEI packet received {"connection_id":204338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":204338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:27:10] local.INFO: TCP Data received {"connection_id":204338,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:27:10] local.INFO: Processing buffer {"connection_id":204338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:27:10] local.INFO: IMEI packet received {"connection_id":204338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":204338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:27:11] local.INFO: TCP Data received {"connection_id":204338,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:27:11] local.INFO: Processing buffer {"connection_id":204338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:27:11] local.INFO: Packet analysis {"connection_id":204338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6b"} 
[2026-10-05 10:27:11] local.INFO: Extracted packet for processing {"connection_id":204338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6b"} 
[2026-10-05 10:27:11] local.INFO: GPS Element Parsed {"raw_longitude":763149056,"raw_latitude":100812800,"longitude_deg":76.3149056,"latitude_deg":10.08128,"altitude":12,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d7cbb00","hex_latitude":"06024800","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541024768001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139507946592665600,"note":"Value kept but may cause issues"} 
[2026-10-05 10:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987777507156033536,"note":"Value kept but may cause issues"} 
[2026-10-05 10:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791176179000,"timestamp_ms":1791176179000,"timestamp_seconds":1791176179,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6b7d38"} 
[2026-10-05 10:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 10:27:11] 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-10-05 10: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-10-05 10:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541024768001,"66":13254,"197":206,"87":10496,"24":0,"16":139507946592665600,"45":8987777507156033536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541024768001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:27:11] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:27:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139507946592665600,"km_value":139507946592665.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987777507156033536,"description":"Unknown IO ID 45"} 
[2026-10-05 10:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541024768001,"power":13254,"unknown_197":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":8987777507156033536}} 
[2026-10-05 10:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":204338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:27:11] local.INFO: GPS data processed {"connection_id":204338,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:27:11] local.INFO: Acknowledgment sent {"connection_id":204338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:27:15] local.INFO: TCP Data received {"connection_id":204338,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:27:15] local.INFO: Processing buffer {"connection_id":204338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:27:15] local.INFO: Packet analysis {"connection_id":204338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6b"} 
[2026-10-05 10:27:15] local.INFO: Extracted packet for processing {"connection_id":204338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6b"} 
[2026-10-05 10:27:15] local.INFO: GPS Element Parsed {"raw_longitude":763149056,"raw_latitude":100812800,"longitude_deg":76.3149056,"latitude_deg":10.08128,"altitude":12,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d7cbb00","hex_latitude":"06024800","is_valid_coordinates":true} 
[2026-10-05 10:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541024768001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139507946592665600,"note":"Value kept but may cause issues"} 
[2026-10-05 10:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987777507156033536,"note":"Value kept but may cause issues"} 
[2026-10-05 10:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791176179000,"timestamp_ms":1791176179000,"timestamp_seconds":1791176179,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6b7d38"} 
[2026-10-05 10:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 10:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 10:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541024768001,"66":13254,"197":206,"87":10496,"24":0,"16":139507946592665600,"45":8987777507156033536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541024768001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:27:15] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:27:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139507946592665600,"km_value":139507946592665.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987777507156033536,"description":"Unknown IO ID 45"} 
[2026-10-05 10:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541024768001,"power":13254,"unknown_197":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":8987777507156033536}} 
[2026-10-05 10:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":204338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:27:15] local.INFO: GPS data processed {"connection_id":204338,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:27:15] local.INFO: Acknowledgment sent {"connection_id":204338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:27:32] local.INFO: TCP Data received {"connection_id":204483,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:27:32] local.INFO: Processing buffer {"connection_id":204483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:27:32] local.INFO: Packet analysis {"connection_id":204483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6a"} 
[2026-10-05 10:27:32] local.INFO: Extracted packet for processing {"connection_id":204483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6a"} 
[2026-10-05 10:27:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541001472001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10: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-10-05 10:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791176088000,"timestamp_ms":1791176088000,"timestamp_seconds":1791176088,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6a19c0"} 
[2026-10-05 10:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:27:32] 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-10-05 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 10:27: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-10-05 10: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-10-05 10:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:27: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-10-05 10:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541001472001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541001472001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:27:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:27:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541001472001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":204483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:27:32] local.INFO: GPS data processed {"connection_id":204483,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:27:32] local.INFO: Acknowledgment sent {"connection_id":204483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:27:55] local.INFO: TCP Data received {"connection_id":204484,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:27:55] local.INFO: Processing buffer {"connection_id":204484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:27:55] local.INFO: IMEI packet received {"connection_id":204484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":204484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:28:00] local.INFO: TCP Data received {"connection_id":204339,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:28:00] local.INFO: Processing buffer {"connection_id":204339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:28:00] local.INFO: IMEI packet received {"connection_id":204339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":204339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:28:00] local.INFO: TCP Data received {"connection_id":204484,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:28:00] local.INFO: Processing buffer {"connection_id":204484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:28:00] local.INFO: IMEI packet received {"connection_id":204484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":204484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:28:01] local.INFO: TCP Data received {"connection_id":204484,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:28:01] local.INFO: Processing buffer {"connection_id":204484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:28:01] local.INFO: Packet analysis {"connection_id":204484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6a"} 
[2026-10-05 10:28:01] local.INFO: Extracted packet for processing {"connection_id":204484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6a"} 
[2026-10-05 10:28:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541001472001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10: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-10-05 10:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791176088000,"timestamp_ms":1791176088000,"timestamp_seconds":1791176088,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6a19c0"} 
[2026-10-05 10:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:28: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-10-05 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 10:28: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-10-05 10: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-10-05 10:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:28: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-10-05 10:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541001472001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541001472001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:28:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:28:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541001472001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":204484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:28:01] local.INFO: GPS data processed {"connection_id":204484,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:28:01] local.INFO: Acknowledgment sent {"connection_id":204484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:28:05] local.INFO: TCP Data received {"connection_id":204339,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:28:05] local.INFO: Processing buffer {"connection_id":204339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:28:05] local.INFO: IMEI packet received {"connection_id":204339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":204339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:28:06] local.INFO: TCP Data received {"connection_id":204339,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:28:06] local.INFO: Processing buffer {"connection_id":204339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:28:06] local.INFO: Packet analysis {"connection_id":204339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6b"} 
[2026-10-05 10:28:06] local.INFO: Extracted packet for processing {"connection_id":204339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6b"} 
[2026-10-05 10:28:06] local.INFO: GPS Element Parsed {"raw_longitude":763149056,"raw_latitude":100812800,"longitude_deg":76.3149056,"latitude_deg":10.08128,"altitude":12,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d7cbb00","hex_latitude":"06024800","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541024768001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139507946592665600,"note":"Value kept but may cause issues"} 
[2026-10-05 10:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987777507156033536,"note":"Value kept but may cause issues"} 
[2026-10-05 10:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791176179000,"timestamp_ms":1791176179000,"timestamp_seconds":1791176179,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6b7d38"} 
[2026-10-05 10:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 10:28:06] 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-10-05 10: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-10-05 10:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541024768001,"66":13254,"197":206,"87":10496,"24":0,"16":139507946592665600,"45":8987777507156033536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541024768001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:28:06] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:28:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139507946592665600,"km_value":139507946592665.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987777507156033536,"description":"Unknown IO ID 45"} 
[2026-10-05 10:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541024768001,"power":13254,"unknown_197":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":8987777507156033536}} 
[2026-10-05 10:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":204339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966712,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:28:06] local.INFO: GPS data processed {"connection_id":204339,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:28:06] local.INFO: Acknowledgment sent {"connection_id":204339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:28:32] local.INFO: TCP Data received {"connection_id":204484,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:28:32] local.INFO: Processing buffer {"connection_id":204484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:28:32] local.INFO: Packet analysis {"connection_id":204484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6a"} 
[2026-10-05 10:28:32] local.INFO: Extracted packet for processing {"connection_id":204484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6a"} 
[2026-10-05 10:28:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:28: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-10-05 10:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541001472001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:28: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-10-05 10:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791176088000,"timestamp_ms":1791176088000,"timestamp_seconds":1791176088,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6a19c0"} 
[2026-10-05 10:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:28:32] 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-10-05 10:28: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-10-05 10:28: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-10-05 10:28: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-10-05 10:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:28: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-10-05 10:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541001472001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541001472001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:28:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:28:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541001472001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":204484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:28:32] local.INFO: GPS data processed {"connection_id":204484,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:28:32] local.INFO: Acknowledgment sent {"connection_id":204484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:28:37] local.INFO: TCP Data received {"connection_id":204339,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:28:37] local.INFO: Processing buffer {"connection_id":204339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:28:37] local.INFO: Packet analysis {"connection_id":204339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6b"} 
[2026-10-05 10:28:37] local.INFO: Extracted packet for processing {"connection_id":204339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6b"} 
[2026-10-05 10:28:37] local.INFO: GPS Element Parsed {"raw_longitude":763149056,"raw_latitude":100812800,"longitude_deg":76.3149056,"latitude_deg":10.08128,"altitude":12,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d7cbb00","hex_latitude":"06024800","is_valid_coordinates":true} 
[2026-10-05 10:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541024768001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139507946592665600,"note":"Value kept but may cause issues"} 
[2026-10-05 10:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987777507156033536,"note":"Value kept but may cause issues"} 
[2026-10-05 10:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791176179000,"timestamp_ms":1791176179000,"timestamp_seconds":1791176179,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6b7d38"} 
[2026-10-05 10:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 10:28: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-10-05 10:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541024768001,"66":13254,"197":206,"87":10496,"24":0,"16":139507946592665600,"45":8987777507156033536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541024768001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:28:37] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:28:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139507946592665600,"km_value":139507946592665.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987777507156033536,"description":"Unknown IO ID 45"} 
[2026-10-05 10:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541024768001,"power":13254,"unknown_197":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":8987777507156033536}} 
[2026-10-05 10:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":204339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966714,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:28:37] local.INFO: GPS data processed {"connection_id":204339,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:28:37] local.INFO: Acknowledgment sent {"connection_id":204339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:28:55] local.INFO: TCP Data received {"connection_id":205882,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:28:55] local.INFO: Processing buffer {"connection_id":205882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:28:55] local.INFO: IMEI packet received {"connection_id":205882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":205882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:29:00] local.INFO: TCP Data received {"connection_id":204486,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:29:00] local.INFO: Processing buffer {"connection_id":204486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:29:00] local.INFO: IMEI packet received {"connection_id":204486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":204486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:29:00] local.INFO: TCP Data received {"connection_id":205882,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:29:00] local.INFO: Processing buffer {"connection_id":205882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:29:00] local.INFO: IMEI packet received {"connection_id":205882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":205882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:29:01] local.INFO: TCP Data received {"connection_id":205882,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:29:01] local.INFO: Processing buffer {"connection_id":205882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:29:01] local.INFO: Packet analysis {"connection_id":205882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6a"} 
[2026-10-05 10:29:01] local.INFO: Extracted packet for processing {"connection_id":205882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6a"} 
[2026-10-05 10:29:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541001472001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:29: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-10-05 10:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791176088000,"timestamp_ms":1791176088000,"timestamp_seconds":1791176088,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6a19c0"} 
[2026-10-05 10:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:29: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-10-05 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 10:29: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-10-05 10: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-10-05 10:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:29: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-10-05 10:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541001472001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541001472001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:29:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:29:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541001472001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":205882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:29:01] local.INFO: GPS data processed {"connection_id":205882,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:29:01] local.INFO: Acknowledgment sent {"connection_id":205882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:29:05] local.INFO: TCP Data received {"connection_id":204486,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:29:05] local.INFO: Processing buffer {"connection_id":204486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:29:05] local.INFO: IMEI packet received {"connection_id":204486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":204486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:29:06] local.INFO: TCP Data received {"connection_id":204486,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:29:06] local.INFO: Processing buffer {"connection_id":204486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:29:06] local.INFO: Packet analysis {"connection_id":204486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6b"} 
[2026-10-05 10:29:06] local.INFO: Extracted packet for processing {"connection_id":204486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6b"} 
[2026-10-05 10:29:06] local.INFO: GPS Element Parsed {"raw_longitude":763149056,"raw_latitude":100812800,"longitude_deg":76.3149056,"latitude_deg":10.08128,"altitude":12,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d7cbb00","hex_latitude":"06024800","is_valid_coordinates":true} 
[2026-10-05 10:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541024768001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139507946592665600,"note":"Value kept but may cause issues"} 
[2026-10-05 10:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987777507156033536,"note":"Value kept but may cause issues"} 
[2026-10-05 10:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791176179000,"timestamp_ms":1791176179000,"timestamp_seconds":1791176179,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6b7d38"} 
[2026-10-05 10:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 10:29:06] 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-10-05 10:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541024768001,"66":13254,"197":206,"87":10496,"24":0,"16":139507946592665600,"45":8987777507156033536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541024768001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:29:06] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:29:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139507946592665600,"km_value":139507946592665.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987777507156033536,"description":"Unknown IO ID 45"} 
[2026-10-05 10:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541024768001,"power":13254,"unknown_197":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":8987777507156033536}} 
[2026-10-05 10:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":204486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:29:06] local.INFO: GPS data processed {"connection_id":204486,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:29:06] local.INFO: Acknowledgment sent {"connection_id":204486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:29:32] local.INFO: TCP Data received {"connection_id":205882,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:29:32] local.INFO: Processing buffer {"connection_id":205882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:29:32] local.INFO: Packet analysis {"connection_id":205882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6a"} 
[2026-10-05 10:29:32] local.INFO: Extracted packet for processing {"connection_id":205882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6a"} 
[2026-10-05 10:29:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541001472001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:29: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-10-05 10:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791176088000,"timestamp_ms":1791176088000,"timestamp_seconds":1791176088,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6a19c0"} 
[2026-10-05 10:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:29:32] 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-10-05 10:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 10:29: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-10-05 10:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:29: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-10-05 10:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541001472001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541001472001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:29:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:29:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541001472001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":205882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:29:32] local.INFO: GPS data processed {"connection_id":205882,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:29:32] local.INFO: Acknowledgment sent {"connection_id":205882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:29:37] local.INFO: TCP Data received {"connection_id":204486,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:29:37] local.INFO: Processing buffer {"connection_id":204486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:29:37] local.INFO: Packet analysis {"connection_id":204486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6b"} 
[2026-10-05 10:29:37] local.INFO: Extracted packet for processing {"connection_id":204486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6b"} 
[2026-10-05 10:29:37] local.INFO: GPS Element Parsed {"raw_longitude":763149056,"raw_latitude":100812800,"longitude_deg":76.3149056,"latitude_deg":10.08128,"altitude":12,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d7cbb00","hex_latitude":"06024800","is_valid_coordinates":true} 
[2026-10-05 10:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541024768001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139507946592665600,"note":"Value kept but may cause issues"} 
[2026-10-05 10:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987777507156033536,"note":"Value kept but may cause issues"} 
[2026-10-05 10:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791176179000,"timestamp_ms":1791176179000,"timestamp_seconds":1791176179,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6b7d38"} 
[2026-10-05 10:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 10:29: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-10-05 10:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541024768001,"66":13254,"197":206,"87":10496,"24":0,"16":139507946592665600,"45":8987777507156033536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541024768001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:29:37] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:29:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139507946592665600,"km_value":139507946592665.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987777507156033536,"description":"Unknown IO ID 45"} 
[2026-10-05 10:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541024768001,"power":13254,"unknown_197":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":8987777507156033536}} 
[2026-10-05 10:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":204486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966718,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:29:38] local.INFO: GPS data processed {"connection_id":204486,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:29:38] local.INFO: Acknowledgment sent {"connection_id":204486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:30:00] local.INFO: TCP Data received {"connection_id":204342,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:30:00] local.INFO: Processing buffer {"connection_id":204342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:30:00] local.INFO: IMEI packet received {"connection_id":204342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":204342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:30:00] local.INFO: TCP Data received {"connection_id":204341,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:30:00] local.INFO: Processing buffer {"connection_id":204341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:30:00] local.INFO: IMEI packet received {"connection_id":204341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":204341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:30:05] local.INFO: TCP Data received {"connection_id":204342,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:30:05] local.INFO: Processing buffer {"connection_id":204342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:30:05] local.INFO: IMEI packet received {"connection_id":204342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":204342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:30:05] local.INFO: TCP Data received {"connection_id":204341,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:30:05] local.INFO: Processing buffer {"connection_id":204341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:30:05] local.INFO: IMEI packet received {"connection_id":204341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":204341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:30:06] local.INFO: TCP Data received {"connection_id":204342,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:30:06] local.INFO: Processing buffer {"connection_id":204342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:30:06] local.INFO: Packet analysis {"connection_id":204342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6b"} 
[2026-10-05 10:30:06] local.INFO: Extracted packet for processing {"connection_id":204342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6b"} 
[2026-10-05 10:30:06] local.INFO: GPS Element Parsed {"raw_longitude":763149056,"raw_latitude":100812800,"longitude_deg":76.3149056,"latitude_deg":10.08128,"altitude":12,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d7cbb00","hex_latitude":"06024800","is_valid_coordinates":true} 
[2026-10-05 10:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541024768001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139507946592665600,"note":"Value kept but may cause issues"} 
[2026-10-05 10:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987777507156033536,"note":"Value kept but may cause issues"} 
[2026-10-05 10:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791176179000,"timestamp_ms":1791176179000,"timestamp_seconds":1791176179,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6b7d38"} 
[2026-10-05 10:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 10:30:06] 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-10-05 10: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-10-05 10:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541024768001,"66":13254,"197":206,"87":10496,"24":0,"16":139507946592665600,"45":8987777507156033536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541024768001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:30:06] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:30:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139507946592665600,"km_value":139507946592665.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987777507156033536,"description":"Unknown IO ID 45"} 
[2026-10-05 10:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541024768001,"power":13254,"unknown_197":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":8987777507156033536}} 
[2026-10-05 10:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":204342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966719,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:30:06] local.INFO: GPS data processed {"connection_id":204342,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:30:06] local.INFO: Acknowledgment sent {"connection_id":204342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:30:06] local.INFO: TCP Data received {"connection_id":204341,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:30:06] local.INFO: Processing buffer {"connection_id":204341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:30:06] local.INFO: Packet analysis {"connection_id":204341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6a"} 
[2026-10-05 10:30:06] local.INFO: Extracted packet for processing {"connection_id":204341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6a"} 
[2026-10-05 10:30:06] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541001472001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:30: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-10-05 10:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791176088000,"timestamp_ms":1791176088000,"timestamp_seconds":1791176088,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6a19c0"} 
[2026-10-05 10:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:30:06] 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-10-05 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 10:30:06] 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-10-05 10: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-10-05 10:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541001472001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541001472001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:30:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:30:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541001472001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":204341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:30:06] local.INFO: GPS data processed {"connection_id":204341,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:30:06] local.INFO: Acknowledgment sent {"connection_id":204341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:30:07] local.INFO: TCP Data received {"connection_id":204340,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:30:07] local.INFO: Processing buffer {"connection_id":204340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:30:07] local.INFO: IMEI packet received {"connection_id":204340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 10:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":204340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:30:11] local.INFO: TCP Data received {"connection_id":204341,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:30:11] local.INFO: Processing buffer {"connection_id":204341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6a19c0012d7f908005afe470000000db29..."} 
[2026-10-05 10:30:11] local.INFO: Packet analysis {"connection_id":204341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6a"} 
[2026-10-05 10:30:11] local.INFO: Extracted packet for processing {"connection_id":204341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6a"} 
[2026-10-05 10:30:11] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:30: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-10-05 10:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541001472001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791176088000,"timestamp_ms":1791176088000,"timestamp_seconds":1791176088,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6a19c0"} 
[2026-10-05 10:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:30:11] 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-10-05 10:30: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 10:30:11] 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-10-05 10:30: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-10-05 10:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:30:11] 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-10-05 10:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541001472001,"66":25615,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541001472001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:30:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541001472001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":204341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:30:11] local.INFO: GPS data processed {"connection_id":204341,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:30:11] local.INFO: Acknowledgment sent {"connection_id":204341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:30:37] local.INFO: TCP Data received {"connection_id":204342,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:30:37] local.INFO: Processing buffer {"connection_id":204342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:30:37] local.INFO: Packet analysis {"connection_id":204342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6b"} 
[2026-10-05 10:30:37] local.INFO: Extracted packet for processing {"connection_id":204342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6b"} 
[2026-10-05 10:30:37] local.INFO: GPS Element Parsed {"raw_longitude":763149056,"raw_latitude":100812800,"longitude_deg":76.3149056,"latitude_deg":10.08128,"altitude":12,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d7cbb00","hex_latitude":"06024800","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541024768001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139507946592665600,"note":"Value kept but may cause issues"} 
[2026-10-05 10:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987777507156033536,"note":"Value kept but may cause issues"} 
[2026-10-05 10:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791176179000,"timestamp_ms":1791176179000,"timestamp_seconds":1791176179,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6b7d38"} 
[2026-10-05 10:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10: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":40,"data_length":795,"current_offset":136} 
[2026-10-05 10:30: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-10-05 10: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-10-05 10:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541024768001,"66":13254,"197":206,"87":10496,"24":0,"16":139507946592665600,"45":8987777507156033536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541024768001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:30:37] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:30:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139507946592665600,"km_value":139507946592665.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987777507156033536,"description":"Unknown IO ID 45"} 
[2026-10-05 10:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541024768001,"power":13254,"unknown_197":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":8987777507156033536}} 
[2026-10-05 10:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":204342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966722,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:30:38] local.INFO: GPS data processed {"connection_id":204342,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:30:38] local.INFO: Acknowledgment sent {"connection_id":204342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:30:42] local.INFO: TCP Data received {"connection_id":205883,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:30:42] local.INFO: Processing buffer {"connection_id":205883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:30:42] local.INFO: IMEI packet received {"connection_id":205883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 10:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":205883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:30:55] local.INFO: TCP Data received {"connection_id":205884,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:30:55] local.INFO: Processing buffer {"connection_id":205884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:30:55] local.INFO: IMEI packet received {"connection_id":205884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":205884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:31:00] local.INFO: TCP Data received {"connection_id":205884,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:31:00] local.INFO: Processing buffer {"connection_id":205884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:31:00] local.INFO: IMEI packet received {"connection_id":205884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":205884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:31:01] local.INFO: TCP Data received {"connection_id":205885,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:31:01] local.INFO: Processing buffer {"connection_id":205885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:31:01] local.INFO: IMEI packet received {"connection_id":205885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":205885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:31:02] local.INFO: TCP Data received {"connection_id":205884,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6eb188012d7f908005afe470000000db26..."} 
[2026-10-05 10:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6eb188012d7f908005afe470000000db26..."} 
[2026-10-05 10:31:02] local.INFO: Processing buffer {"connection_id":205884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6eb188012d7f908005afe470000000db26..."} 
[2026-10-05 10:31:02] local.INFO: Packet analysis {"connection_id":205884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6e"} 
[2026-10-05 10:31:02] local.INFO: Extracted packet for processing {"connection_id":205884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6e"} 
[2026-10-05 10:31:02] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541078528001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:31: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-10-05 10:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791176389000,"timestamp_ms":1791176389000,"timestamp_seconds":1791176389,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6eb188"} 
[2026-10-05 10:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:31:02] 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-10-05 10: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-10-05 10:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":205884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":205884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":205884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:31: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-10-05 10:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541078528001,"66":25604,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541078528001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:31:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:31:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541078528001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":205884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:31:02] local.INFO: GPS data processed {"connection_id":205884,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:31:02] local.INFO: Acknowledgment sent {"connection_id":205884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:31:05] local.INFO: TCP Data received {"connection_id":205885,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:31:05] local.INFO: Processing buffer {"connection_id":205885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:31:05] local.INFO: IMEI packet received {"connection_id":205885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":205885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:31:06] local.INFO: TCP Data received {"connection_id":205885,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:31:06] local.INFO: Processing buffer {"connection_id":205885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6b7d38012d7cbb0006024800000c011828..."} 
[2026-10-05 10:31:06] local.INFO: Packet analysis {"connection_id":205885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6b"} 
[2026-10-05 10:31:06] local.INFO: Extracted packet for processing {"connection_id":205885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6b"} 
[2026-10-05 10:31:06] local.INFO: GPS Element Parsed {"raw_longitude":763149056,"raw_latitude":100812800,"longitude_deg":76.3149056,"latitude_deg":10.08128,"altitude":12,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d7cbb00","hex_latitude":"06024800","is_valid_coordinates":true} 
[2026-10-05 10:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541024768001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139507946592665600,"note":"Value kept but may cause issues"} 
[2026-10-05 10:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987777507156033536,"note":"Value kept but may cause issues"} 
[2026-10-05 10:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791176179000,"timestamp_ms":1791176179000,"timestamp_seconds":1791176179,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6b7d38"} 
[2026-10-05 10:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 10:31:06] 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-10-05 10:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541024768001,"66":13254,"197":206,"87":10496,"24":0,"16":139507946592665600,"45":8987777507156033536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 10:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541024768001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:31:06] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 10:31:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 10:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139507946592665600,"km_value":139507946592665.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987777507156033536,"description":"Unknown IO ID 45"} 
[2026-10-05 10:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541024768001,"power":13254,"unknown_197":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":8987777507156033536}} 
[2026-10-05 10:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":205885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:31:06] local.INFO: GPS data processed {"connection_id":205885,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:31:06] local.INFO: Acknowledgment sent {"connection_id":205885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:31:34] local.INFO: TCP Data received {"connection_id":205884,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6eb188012d7f908005afe470000000db26..."} 
[2026-10-05 10:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6eb188012d7f908005afe470000000db26..."} 
[2026-10-05 10:31:34] local.INFO: Processing buffer {"connection_id":205884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6eb188012d7f908005afe470000000db26..."} 
[2026-10-05 10:31:34] local.INFO: Packet analysis {"connection_id":205884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6e"} 
[2026-10-05 10:31:34] local.INFO: Extracted packet for processing {"connection_id":205884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6e"} 
[2026-10-05 10:31:34] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541078528001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:31: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-10-05 10:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791176389000,"timestamp_ms":1791176389000,"timestamp_seconds":1791176389,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6eb188"} 
[2026-10-05 10:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 10:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":205884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":205884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":205884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:31: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-10-05 10:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541078528001,"66":25604,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541078528001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:31:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:31:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541078528001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":205884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:31:34] local.INFO: GPS data processed {"connection_id":205884,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:31:34] local.INFO: Acknowledgment sent {"connection_id":205884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:31:55] local.INFO: TCP Data received {"connection_id":207435,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:31:55] local.INFO: Processing buffer {"connection_id":207435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:31:55] local.INFO: IMEI packet received {"connection_id":207435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":207435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:32:00] local.INFO: TCP Data received {"connection_id":207435,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:32:00] local.INFO: Processing buffer {"connection_id":207435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:32:00] local.INFO: IMEI packet received {"connection_id":207435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":207435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:32:01] local.INFO: TCP Data received {"connection_id":207435,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6eb188012d7f908005afe470000000db26..."} 
[2026-10-05 10:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6eb188012d7f908005afe470000000db26..."} 
[2026-10-05 10:32:01] local.INFO: Processing buffer {"connection_id":207435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6eb188012d7f908005afe470000000db26..."} 
[2026-10-05 10:32:01] local.INFO: Packet analysis {"connection_id":207435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6e"} 
[2026-10-05 10:32:01] local.INFO: Extracted packet for processing {"connection_id":207435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6e"} 
[2026-10-05 10:32:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541078528001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10: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-10-05 10:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791176389000,"timestamp_ms":1791176389000,"timestamp_seconds":1791176389,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6eb188"} 
[2026-10-05 10:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10: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-10-05 10: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-10-05 10:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10: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-10-05 10:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541078528001,"66":25604,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541078528001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:32:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:32:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541078528001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":207435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:32:01] local.INFO: GPS data processed {"connection_id":207435,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:32:01] local.INFO: Acknowledgment sent {"connection_id":207435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:32:32] local.INFO: TCP Data received {"connection_id":207435,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6eb188012d7f908005afe470000000db26..."} 
[2026-10-05 10:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6eb188012d7f908005afe470000000db26..."} 
[2026-10-05 10:32:32] local.INFO: Processing buffer {"connection_id":207435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6eb188012d7f908005afe470000000db26..."} 
[2026-10-05 10:32:32] local.INFO: Packet analysis {"connection_id":207435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6e"} 
[2026-10-05 10:32:32] local.INFO: Extracted packet for processing {"connection_id":207435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6e"} 
[2026-10-05 10:32:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541078528001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:32: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-10-05 10:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791176389000,"timestamp_ms":1791176389000,"timestamp_seconds":1791176389,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6eb188"} 
[2026-10-05 10:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:32:32] 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-10-05 10: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-10-05 10:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:32: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-10-05 10:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541078528001,"66":25604,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541078528001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:32:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:32:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541078528001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":207435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:32:32] local.INFO: GPS data processed {"connection_id":207435,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:32:32] local.INFO: Acknowledgment sent {"connection_id":207435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:32:55] local.INFO: TCP Data received {"connection_id":204344,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:32:55] local.INFO: Processing buffer {"connection_id":204344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:32:55] local.INFO: IMEI packet received {"connection_id":204344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":204344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:33:00] local.INFO: TCP Data received {"connection_id":204344,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:33:00] local.INFO: Processing buffer {"connection_id":204344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:33:00] local.INFO: IMEI packet received {"connection_id":204344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":204344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:33:01] local.INFO: TCP Data received {"connection_id":204344,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6eb188012d7f908005afe470000000db26..."} 
[2026-10-05 10:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6eb188012d7f908005afe470000000db26..."} 
[2026-10-05 10:33:01] local.INFO: Processing buffer {"connection_id":204344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6eb188012d7f908005afe470000000db26..."} 
[2026-10-05 10:33:01] local.INFO: Packet analysis {"connection_id":204344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6e"} 
[2026-10-05 10:33:01] local.INFO: Extracted packet for processing {"connection_id":204344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6e"} 
[2026-10-05 10:33:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541078528001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10: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-10-05 10:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791176389000,"timestamp_ms":1791176389000,"timestamp_seconds":1791176389,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6eb188"} 
[2026-10-05 10:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10: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":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:33: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-10-05 10: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-10-05 10:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10: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-10-05 10:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541078528001,"66":25604,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541078528001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:33:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:33:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541078528001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":204344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:33:01] local.INFO: GPS data processed {"connection_id":204344,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:33:01] local.INFO: Acknowledgment sent {"connection_id":204344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:33:32] local.INFO: TCP Data received {"connection_id":204344,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6eb188012d7f908005afe470000000db26..."} 
[2026-10-05 10:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6eb188012d7f908005afe470000000db26..."} 
[2026-10-05 10:33:32] local.INFO: Processing buffer {"connection_id":204344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6eb188012d7f908005afe470000000db26..."} 
[2026-10-05 10:33:32] local.INFO: Packet analysis {"connection_id":204344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6e"} 
[2026-10-05 10:33:32] local.INFO: Extracted packet for processing {"connection_id":204344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6e"} 
[2026-10-05 10:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541078528001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10: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-10-05 10:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791176389000,"timestamp_ms":1791176389000,"timestamp_seconds":1791176389,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6eb188"} 
[2026-10-05 10:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10: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":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:33:32] 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-10-05 10: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-10-05 10:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:33: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-10-05 10:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541078528001,"66":25604,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541078528001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:33:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:33:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541078528001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":204344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:33:32] local.INFO: GPS data processed {"connection_id":204344,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:33:32] local.INFO: Acknowledgment sent {"connection_id":204344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:34:00] local.INFO: TCP Data received {"connection_id":204488,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:34:00] local.INFO: Processing buffer {"connection_id":204488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:34:00] local.INFO: IMEI packet received {"connection_id":204488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":204488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:34:05] local.INFO: TCP Data received {"connection_id":204488,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:34:05] local.INFO: Processing buffer {"connection_id":204488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:34:05] local.INFO: IMEI packet received {"connection_id":204488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":204488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:34:06] local.INFO: TCP Data received {"connection_id":204488,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6eb188012d7f908005afe470000000db26..."} 
[2026-10-05 10:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6eb188012d7f908005afe470000000db26..."} 
[2026-10-05 10:34:06] local.INFO: Processing buffer {"connection_id":204488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6eb188012d7f908005afe470000000db26..."} 
[2026-10-05 10:34:06] local.INFO: Packet analysis {"connection_id":204488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6e"} 
[2026-10-05 10:34:06] local.INFO: Extracted packet for processing {"connection_id":204488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6e"} 
[2026-10-05 10:34:06] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541078528001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:34: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-10-05 10:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791176389000,"timestamp_ms":1791176389000,"timestamp_seconds":1791176389,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6eb188"} 
[2026-10-05 10:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:34: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-10-05 10: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-10-05 10:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:34: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-10-05 10:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541078528001,"66":25604,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541078528001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:34:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:34:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541078528001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":204488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:34:06] local.INFO: GPS data processed {"connection_id":204488,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:34:06] local.INFO: Acknowledgment sent {"connection_id":204488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:34:11] local.INFO: TCP Data received {"connection_id":204488,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6eb188012d7f908005afe470000000db26..."} 
[2026-10-05 10:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6eb188012d7f908005afe470000000db26..."} 
[2026-10-05 10:34:11] local.INFO: Processing buffer {"connection_id":204488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6eb188012d7f908005afe470000000db26..."} 
[2026-10-05 10:34:11] local.INFO: Packet analysis {"connection_id":204488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6e"} 
[2026-10-05 10:34:11] local.INFO: Extracted packet for processing {"connection_id":204488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6e"} 
[2026-10-05 10:34:11] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:34: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-10-05 10:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541078528001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791176389000,"timestamp_ms":1791176389000,"timestamp_seconds":1791176389,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6eb188"} 
[2026-10-05 10:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 10:34: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-10-05 10:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541078528001,"66":25604,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541078528001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:34:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:34:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541078528001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":204488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:34:11] local.INFO: GPS data processed {"connection_id":204488,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:34:11] local.INFO: Acknowledgment sent {"connection_id":204488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:34:55] local.INFO: TCP Data received {"connection_id":207437,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:34:55] local.INFO: Processing buffer {"connection_id":207437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:34:55] local.INFO: IMEI packet received {"connection_id":207437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":207437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:35:00] local.INFO: TCP Data received {"connection_id":207437,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:35:00] local.INFO: Processing buffer {"connection_id":207437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:35:00] local.INFO: IMEI packet received {"connection_id":207437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":207437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:35:01] local.INFO: TCP Data received {"connection_id":207437,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a6eb188012d7f908005afe470000000db26..."} 
[2026-10-05 10:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a6eb188012d7f908005afe470000000db26..."} 
[2026-10-05 10:35:01] local.INFO: Processing buffer {"connection_id":207437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a6eb188012d7f908005afe470000000db26..."} 
[2026-10-05 10:35:01] local.INFO: Packet analysis {"connection_id":207437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a6e"} 
[2026-10-05 10:35:01] local.INFO: Extracted packet for processing {"connection_id":207437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a6e"} 
[2026-10-05 10:35:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541078528001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:35: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-10-05 10:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791176389000,"timestamp_ms":1791176389000,"timestamp_seconds":1791176389,"priority":1,"record_length":96,"hex_timestamp":"000001a10a6eb188"} 
[2026-10-05 10:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 10:35: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-10-05 10:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:35: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-10-05 10:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541078528001,"66":25604,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541078528001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:35:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:35:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541078528001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":207437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:35:01] local.INFO: GPS data processed {"connection_id":207437,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:35:01] local.INFO: Acknowledgment sent {"connection_id":207437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:35:33] local.INFO: TCP Data received {"connection_id":207437,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a734950012d7f908005afe470000000db27..."} 
[2026-10-05 10:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a734950012d7f908005afe470000000db27..."} 
[2026-10-05 10:35:33] local.INFO: Processing buffer {"connection_id":207437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a734950012d7f908005afe470000000db27..."} 
[2026-10-05 10:35:33] local.INFO: Packet analysis {"connection_id":207437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a73"} 
[2026-10-05 10:35:33] local.INFO: Extracted packet for processing {"connection_id":207437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a73"} 
[2026-10-05 10:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541155584001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:35: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-10-05 10:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791176690000,"timestamp_ms":1791176690000,"timestamp_seconds":1791176690,"priority":1,"record_length":96,"hex_timestamp":"000001a10a734950"} 
[2026-10-05 10:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 10:35:33] 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-10-05 10: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-10-05 10:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:35: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-10-05 10:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541155584001,"66":25593,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541155584001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:35:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:35:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541155584001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":207437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:35:33] local.INFO: GPS data processed {"connection_id":207437,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:35:33] local.INFO: Acknowledgment sent {"connection_id":207437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:35:55] local.INFO: TCP Data received {"connection_id":204490,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:35:55] local.INFO: Processing buffer {"connection_id":204490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:35:55] local.INFO: IMEI packet received {"connection_id":204490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":204490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:35:59] local.INFO: TCP Data received {"connection_id":204345,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204345,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:35:59] local.INFO: Processing buffer {"connection_id":204345,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:35:59] local.INFO: IMEI packet received {"connection_id":204345,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 10:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":204345,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:36:00] local.INFO: TCP Data received {"connection_id":204490,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:36:00] local.INFO: Processing buffer {"connection_id":204490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:36:00] local.INFO: IMEI packet received {"connection_id":204490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":204490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:36:01] local.INFO: TCP Data received {"connection_id":204490,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a734950012d7f908005afe470000000db27..."} 
[2026-10-05 10:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a734950012d7f908005afe470000000db27..."} 
[2026-10-05 10:36:01] local.INFO: Processing buffer {"connection_id":204490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a734950012d7f908005afe470000000db27..."} 
[2026-10-05 10:36:01] local.INFO: Packet analysis {"connection_id":204490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a73"} 
[2026-10-05 10:36:01] local.INFO: Extracted packet for processing {"connection_id":204490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a73"} 
[2026-10-05 10:36:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541155584001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10: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-10-05 10:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791176690000,"timestamp_ms":1791176690000,"timestamp_seconds":1791176690,"priority":1,"record_length":96,"hex_timestamp":"000001a10a734950"} 
[2026-10-05 10:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10: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-10-05 10: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-10-05 10:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:36: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-10-05 10:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541155584001,"66":25593,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541155584001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:36:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:36:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541155584001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":204490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:36:01] local.INFO: GPS data processed {"connection_id":204490,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:36:01] local.INFO: Acknowledgment sent {"connection_id":204490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:36:33] local.INFO: TCP Data received {"connection_id":204490,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a734950012d7f908005afe470000000db27..."} 
[2026-10-05 10:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a734950012d7f908005afe470000000db27..."} 
[2026-10-05 10:36:33] local.INFO: Processing buffer {"connection_id":204490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a734950012d7f908005afe470000000db27..."} 
[2026-10-05 10:36:33] local.INFO: Packet analysis {"connection_id":204490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a73"} 
[2026-10-05 10:36:33] local.INFO: Extracted packet for processing {"connection_id":204490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a73"} 
[2026-10-05 10:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541155584001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:36: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-10-05 10:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791176690000,"timestamp_ms":1791176690000,"timestamp_seconds":1791176690,"priority":1,"record_length":96,"hex_timestamp":"000001a10a734950"} 
[2026-10-05 10:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 10:36:33] 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-10-05 10: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-10-05 10:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:36: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-10-05 10:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541155584001,"66":25593,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541155584001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:36:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:36:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541155584001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":204490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:36:33] local.INFO: GPS data processed {"connection_id":204490,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:36:33] local.INFO: Acknowledgment sent {"connection_id":204490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:36:55] local.INFO: TCP Data received {"connection_id":207438,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:36:55] local.INFO: Processing buffer {"connection_id":207438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:36:55] local.INFO: IMEI packet received {"connection_id":207438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":207438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:36:57] local.INFO: TCP Data received {"connection_id":204346,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204346,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:36:57] local.INFO: Processing buffer {"connection_id":204346,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:36:57] local.INFO: IMEI packet received {"connection_id":204346,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 10:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":204346,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:37:00] local.INFO: TCP Data received {"connection_id":207438,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:37:00] local.INFO: Processing buffer {"connection_id":207438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:37:00] local.INFO: IMEI packet received {"connection_id":207438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":207438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:37:01] local.INFO: TCP Data received {"connection_id":207438,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a734950012d7f908005afe470000000db27..."} 
[2026-10-05 10:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a734950012d7f908005afe470000000db27..."} 
[2026-10-05 10:37:01] local.INFO: Processing buffer {"connection_id":207438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a734950012d7f908005afe470000000db27..."} 
[2026-10-05 10:37:01] local.INFO: Packet analysis {"connection_id":207438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a73"} 
[2026-10-05 10:37:01] local.INFO: Extracted packet for processing {"connection_id":207438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a73"} 
[2026-10-05 10:37:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541155584001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10: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-10-05 10:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791176690000,"timestamp_ms":1791176690000,"timestamp_seconds":1791176690,"priority":1,"record_length":96,"hex_timestamp":"000001a10a734950"} 
[2026-10-05 10:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10: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-10-05 10: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-10-05 10:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:37: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-10-05 10:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541155584001,"66":25593,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541155584001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:37:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:37:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541155584001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":207438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:37:01] local.INFO: GPS data processed {"connection_id":207438,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:37:01] local.INFO: Acknowledgment sent {"connection_id":207438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:37:32] local.INFO: TCP Data received {"connection_id":207438,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10a734950012d7f908005afe470000000db27..."} 
[2026-10-05 10:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a734950012d7f908005afe470000000db27..."} 
[2026-10-05 10:37:32] local.INFO: Processing buffer {"connection_id":207438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a734950012d7f908005afe470000000db27..."} 
[2026-10-05 10:37:32] local.INFO: Packet analysis {"connection_id":207438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a73"} 
[2026-10-05 10:37:32] local.INFO: Extracted packet for processing {"connection_id":207438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a73"} 
[2026-10-05 10:37:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541155584001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10: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-10-05 10:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791176690000,"timestamp_ms":1791176690000,"timestamp_seconds":1791176690,"priority":1,"record_length":96,"hex_timestamp":"000001a10a734950"} 
[2026-10-05 10:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10: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":4,"data_length":795,"current_offset":136} 
[2026-10-05 10:37: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-10-05 10: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-10-05 10:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:37: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-10-05 10:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541155584001,"66":25593,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541155584001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:37:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:37:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541155584001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":207438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:37:32] local.INFO: GPS data processed {"connection_id":207438,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:37:32] local.INFO: Acknowledgment sent {"connection_id":207438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:37:55] local.INFO: TCP Data received {"connection_id":204348,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:37:55] local.INFO: Processing buffer {"connection_id":204348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:37:55] local.INFO: IMEI packet received {"connection_id":204348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":204348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:38:00] local.INFO: TCP Data received {"connection_id":204348,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:38:00] local.INFO: Processing buffer {"connection_id":204348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:38:00] local.INFO: IMEI packet received {"connection_id":204348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":204348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:38:01] local.INFO: TCP Data received {"connection_id":204348,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a734950012d7f908005afe470000000db27..."} 
[2026-10-05 10:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a734950012d7f908005afe470000000db27..."} 
[2026-10-05 10:38:01] local.INFO: Processing buffer {"connection_id":204348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a734950012d7f908005afe470000000db27..."} 
[2026-10-05 10:38:01] local.INFO: Packet analysis {"connection_id":204348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a73"} 
[2026-10-05 10:38:01] local.INFO: Extracted packet for processing {"connection_id":204348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a73"} 
[2026-10-05 10:38:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541155584001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:38: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-10-05 10:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791176690000,"timestamp_ms":1791176690000,"timestamp_seconds":1791176690,"priority":1,"record_length":96,"hex_timestamp":"000001a10a734950"} 
[2026-10-05 10:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 10:38: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-10-05 10:38:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:38: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-10-05 10:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541155584001,"66":25593,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541155584001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:38:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:38:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541155584001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":204348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:38:01] local.INFO: GPS data processed {"connection_id":204348,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:38:01] local.INFO: Acknowledgment sent {"connection_id":204348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:38:32] local.INFO: TCP Data received {"connection_id":204348,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10a734950012d7f908005afe470000000db27..."} 
[2026-10-05 10:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a734950012d7f908005afe470000000db27..."} 
[2026-10-05 10:38:32] local.INFO: Processing buffer {"connection_id":204348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a734950012d7f908005afe470000000db27..."} 
[2026-10-05 10:38:32] local.INFO: Packet analysis {"connection_id":204348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a73"} 
[2026-10-05 10:38:32] local.INFO: Extracted packet for processing {"connection_id":204348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a73"} 
[2026-10-05 10:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541155584001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:38: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-10-05 10:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791176690000,"timestamp_ms":1791176690000,"timestamp_seconds":1791176690,"priority":1,"record_length":96,"hex_timestamp":"000001a10a734950"} 
[2026-10-05 10:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10: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":4,"data_length":795,"current_offset":136} 
[2026-10-05 10:38: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-10-05 10: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-10-05 10:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:38: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-10-05 10:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541155584001,"66":25593,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541155584001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:38:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:38:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541155584001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":204348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:38:32] local.INFO: GPS data processed {"connection_id":204348,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:38:32] local.INFO: Acknowledgment sent {"connection_id":204348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:38:55] local.INFO: TCP Data received {"connection_id":204349,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:38:55] local.INFO: Processing buffer {"connection_id":204349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:38:55] local.INFO: IMEI packet received {"connection_id":204349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 10:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":204349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:39:00] local.INFO: TCP Data received {"connection_id":204349,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:39:00] local.INFO: Processing buffer {"connection_id":204349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 10:39:00] local.INFO: IMEI packet received {"connection_id":204349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 10:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":204349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:39:01] local.INFO: TCP Data received {"connection_id":204349,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a734950012d7f908005afe470000000db27..."} 
[2026-10-05 10:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a734950012d7f908005afe470000000db27..."} 
[2026-10-05 10:39:01] local.INFO: Processing buffer {"connection_id":204349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a734950012d7f908005afe470000000db27..."} 
[2026-10-05 10:39:01] local.INFO: Packet analysis {"connection_id":204349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a73"} 
[2026-10-05 10:39:01] local.INFO: Extracted packet for processing {"connection_id":204349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a73"} 
[2026-10-05 10:39:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541155584001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10: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-10-05 10:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791176690000,"timestamp_ms":1791176690000,"timestamp_seconds":1791176690,"priority":1,"record_length":96,"hex_timestamp":"000001a10a734950"} 
[2026-10-05 10:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 10:39: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-10-05 10: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-10-05 10:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:39: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-10-05 10:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541155584001,"66":25593,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541155584001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:39:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:39:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541155584001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":204349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:39:01] local.INFO: GPS data processed {"connection_id":204349,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:39:01] local.INFO: Acknowledgment sent {"connection_id":204349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:39:33] local.INFO: TCP Data received {"connection_id":204349,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10a734950012d7f908005afe470000000db27..."} 
[2026-10-05 10:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a734950012d7f908005afe470000000db27..."} 
[2026-10-05 10:39:33] local.INFO: Processing buffer {"connection_id":204349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a734950012d7f908005afe470000000db27..."} 
[2026-10-05 10:39:33] local.INFO: Packet analysis {"connection_id":204349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a73"} 
[2026-10-05 10:39:33] local.INFO: Extracted packet for processing {"connection_id":204349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a73"} 
[2026-10-05 10:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":0,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541155584001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 10:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:39: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-10-05 10:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791176690000,"timestamp_ms":1791176690000,"timestamp_seconds":1791176690,"priority":1,"record_length":96,"hex_timestamp":"000001a10a734950"} 
[2026-10-05 10:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 10:39:33] 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-10-05 10: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-10-05 10:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 10:39:33] 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-10-05 10:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 10:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 10:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541155584001,"66":25593,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 10:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 10:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 10:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541155584001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:39:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 10:39:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 10:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 10:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541155584001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 10:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":204349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:39:33] local.INFO: GPS data processed {"connection_id":204349,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:39:33] local.INFO: Acknowledgment sent {"connection_id":204349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:42:16] local.INFO: TCP Data received {"connection_id":204491,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:42:16] local.INFO: Processing buffer {"connection_id":204491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:42:16] local.INFO: IMEI packet received {"connection_id":204491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 10:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":204491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:42:42] local.INFO: TCP Data received {"connection_id":207440,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:42:42] local.INFO: Processing buffer {"connection_id":207440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:42:42] local.INFO: IMEI packet received {"connection_id":207440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 10:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":207440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:43:05] local.INFO: TCP Data received {"connection_id":204492,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:43:05] local.INFO: Processing buffer {"connection_id":204492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:43:05] local.INFO: IMEI packet received {"connection_id":204492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":204492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:43:10] local.INFO: TCP Data received {"connection_id":204492,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:43:10] local.INFO: Processing buffer {"connection_id":204492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:43:10] local.INFO: IMEI packet received {"connection_id":204492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":204492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:43:11] local.INFO: TCP Data received {"connection_id":204492,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a792d20012d7e81c005ffb898000500872c..."} 
[2026-10-05 10:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a792d20012d7e81c005ffb898000500872c..."} 
[2026-10-05 10:43:11] local.INFO: Processing buffer {"connection_id":204492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a792d20012d7e81c005ffb898000500872c..."} 
[2026-10-05 10:43:11] local.INFO: Packet analysis {"connection_id":204492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a79"} 
[2026-10-05 10:43:11] local.INFO: Extracted packet for processing {"connection_id":204492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a79"} 
[2026-10-05 10:43:11] local.INFO: GPS Element Parsed {"raw_longitude":763265472,"raw_latitude":100645016,"longitude_deg":76.3265472,"latitude_deg":10.0645016,"altitude":5,"angle":135,"satellites":44,"speed":13,"hex_longitude":"2d7e81c0","hex_latitude":"05ffb898","is_valid_coordinates":true} 
[2026-10-05 10:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541330176001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139521789272260608,"note":"Value kept but may cause issues"} 
[2026-10-05 10:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9113807927935578112,"note":"Value kept but may cause issues"} 
[2026-10-05 10:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791177076000,"timestamp_ms":1791177076000,"timestamp_seconds":1791177076,"priority":1,"record_length":96,"hex_timestamp":"000001a10a792d20"} 
[2026-10-05 10:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:43: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-10-05 10:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-10-05 10:43:11] 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-10-05 10:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541330176001,"66":12809,"11":206,"87":10752,"24":13,"16":139521789272260608,"45":9113807927935578112},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,87,24,16,45]} 
[2026-10-05 10:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541330176001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:43:11] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-10-05 10:43:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139521789272260608,"km_value":139521789272260.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9113807927935578112,"description":"Unknown IO ID 45"} 
[2026-10-05 10:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541330176001,"power":12809,"unknown_11":206,"unknown_87":10752,"ignition":13,"odometer":null,"unknown_45":9113807927935578112}} 
[2026-10-05 10:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":204492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:43:11] local.INFO: GPS data processed {"connection_id":204492,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:43:11] local.INFO: Acknowledgment sent {"connection_id":204492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:43:45] local.INFO: TCP Data received {"connection_id":204492,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a7b34a8012d7e12c005ff4c38000f00e22a..."} 
[2026-10-05 10:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a7b34a8012d7e12c005ff4c38000f00e22a..."} 
[2026-10-05 10:43:45] local.INFO: Processing buffer {"connection_id":204492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a7b34a8012d7e12c005ff4c38000f00e22a..."} 
[2026-10-05 10:43:45] local.INFO: Packet analysis {"connection_id":204492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a7b"} 
[2026-10-05 10:43:45] local.INFO: Extracted packet for processing {"connection_id":204492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a7b"} 
[2026-10-05 10:43:45] local.INFO: GPS Element Parsed {"raw_longitude":763237056,"raw_latitude":100617272,"longitude_deg":76.3237056,"latitude_deg":10.0617272,"altitude":15,"angle":226,"satellites":42,"speed":11,"hex_longitude":"2d7e12c0","hex_latitude":"05ff4c38","is_valid_coordinates":true} 
[2026-10-05 10:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541360128001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139523752072314880,"note":"Value kept but may cause issues"} 
[2026-10-05 10:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087912230071478272,"note":"Value kept but may cause issues"} 
[2026-10-05 10:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791177209000,"timestamp_ms":1791177209000,"timestamp_seconds":1791177209,"priority":1,"record_length":96,"hex_timestamp":"000001a10a7b34a8"} 
[2026-10-05 10:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-05 10:43:45] 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-10-05 10:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":204492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":204492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":204492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541360128001,"66":13820,"11":206,"87":10752,"24":11,"16":139523752072314880,"45":9087912230071478272},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,87,24,16,45]} 
[2026-10-05 10:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541360128001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:43:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-10-05 10:43:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139523752072314880,"km_value":139523752072314.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087912230071478272,"description":"Unknown IO ID 45"} 
[2026-10-05 10:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541360128001,"power":13820,"unknown_11":206,"unknown_87":10752,"ignition":11,"odometer":null,"unknown_45":9087912230071478272}} 
[2026-10-05 10:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":204492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966743,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:43:45] local.INFO: GPS data processed {"connection_id":204492,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:43:45] local.INFO: Acknowledgment sent {"connection_id":204492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:43:59] local.INFO: TCP Data received {"connection_id":204350,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204350,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:43:59] local.INFO: Processing buffer {"connection_id":204350,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:43:59] local.INFO: IMEI packet received {"connection_id":204350,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":204350,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:44:00] local.INFO: TCP Data received {"connection_id":204350,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204350,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:44:00] local.INFO: Processing buffer {"connection_id":204350,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:44:00] local.INFO: IMEI packet received {"connection_id":204350,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":204350,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:44:04] local.INFO: TCP Data received {"connection_id":204350,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204350,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:44:04] local.INFO: Processing buffer {"connection_id":204350,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:44:04] local.INFO: IMEI packet received {"connection_id":204350,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":204350,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:44:07] local.INFO: TCP Data received {"connection_id":204350,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a7b4448012d7e110005ff4a40000f00f92a..."} 
[2026-10-05 10:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a7b4448012d7e110005ff4a40000f00f92a..."} 
[2026-10-05 10:44:07] local.INFO: Processing buffer {"connection_id":204350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a7b4448012d7e110005ff4a40000f00f92a..."} 
[2026-10-05 10:44:07] local.INFO: Packet analysis {"connection_id":204350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a7b"} 
[2026-10-05 10:44:07] local.INFO: Extracted packet for processing {"connection_id":204350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a7b"} 
[2026-10-05 10:44:07] local.INFO: GPS Element Parsed {"raw_longitude":763236608,"raw_latitude":100616768,"longitude_deg":76.3236608,"latitude_deg":10.0616768,"altitude":15,"angle":249,"satellites":42,"speed":0,"hex_longitude":"2d7e1100","hex_latitude":"05ff4a40","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541365504001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139523786432053248,"note":"Value kept but may cause issues"} 
[2026-10-05 10:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084534530350266368,"note":"Value kept but may cause issues"} 
[2026-10-05 10:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791177213000,"timestamp_ms":1791177213000,"timestamp_seconds":1791177213,"priority":1,"record_length":96,"hex_timestamp":"000001a10a7b4448"} 
[2026-10-05 10:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:44: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-10-05 10: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 10:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 10: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-10-05 10:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541365504001,"66":13493,"11":206,"87":10752,"24":0,"16":139523786432053248,"45":9084534530350266368},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,87,24,16,45]} 
[2026-10-05 10:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541365504001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:44:07] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-10-05 10:44:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139523786432053248,"km_value":139523786432053.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084534530350266368,"description":"Unknown IO ID 45"} 
[2026-10-05 10:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541365504001,"power":13493,"unknown_11":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9084534530350266368}} 
[2026-10-05 10:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":204350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966744,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:44:07] local.INFO: GPS data processed {"connection_id":204350,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:44:07] local.INFO: Acknowledgment sent {"connection_id":204350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:44:41] local.INFO: TCP Data received {"connection_id":204350,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a7b5fa0012d7e110005ff4a18001000e829..."} 
[2026-10-05 10:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a7b5fa0012d7e110005ff4a18001000e829..."} 
[2026-10-05 10:44:41] local.INFO: Processing buffer {"connection_id":204350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a7b5fa0012d7e110005ff4a18001000e829..."} 
[2026-10-05 10:44:41] local.INFO: Packet analysis {"connection_id":204350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a7b"} 
[2026-10-05 10:44:41] local.INFO: Extracted packet for processing {"connection_id":204350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a7b"} 
[2026-10-05 10:44:41] local.INFO: GPS Element Parsed {"raw_longitude":763236608,"raw_latitude":100616728,"longitude_deg":76.3236608,"latitude_deg":10.0616728,"altitude":16,"angle":232,"satellites":41,"speed":2,"hex_longitude":"2d7e1100","hex_latitude":"05ff4a18","is_valid_coordinates":true} 
[2026-10-05 10:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541366528001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139523786432053248,"note":"Value kept but may cause issues"} 
[2026-10-05 10:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084041949140893696,"note":"Value kept but may cause issues"} 
[2026-10-05 10:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791177220000,"timestamp_ms":1791177220000,"timestamp_seconds":1791177220,"priority":1,"record_length":96,"hex_timestamp":"000001a10a7b5fa0"} 
[2026-10-05 10:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:44:41] 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-10-05 10:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-10-05 10:44:41] 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-10-05 10:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541366528001,"66":14080,"11":206,"87":10752,"24":2,"16":139523786432053248,"45":9084041949140893696},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,87,24,16,45]} 
[2026-10-05 10:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541366528001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:44:41] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-10-05 10:44:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139523786432053248,"km_value":139523786432053.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084041949140893696,"description":"Unknown IO ID 45"} 
[2026-10-05 10:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541366528001,"power":14080,"unknown_11":206,"unknown_87":10752,"ignition":2,"odometer":null,"unknown_45":9084041949140893696}} 
[2026-10-05 10:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":204350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966745,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:44:41] local.INFO: GPS data processed {"connection_id":204350,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:44:41] local.INFO: Acknowledgment sent {"connection_id":204350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:45:04] local.INFO: TCP Data received {"connection_id":204493,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:45:04] local.INFO: Processing buffer {"connection_id":204493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:45:04] local.INFO: IMEI packet received {"connection_id":204493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":204493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:45:05] local.INFO: TCP Data received {"connection_id":204493,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:45:05] local.INFO: Processing buffer {"connection_id":204493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:45:05] local.INFO: IMEI packet received {"connection_id":204493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":204493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:45:10] local.INFO: TCP Data received {"connection_id":204493,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:45:10] local.INFO: Processing buffer {"connection_id":204493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:45:10] local.INFO: IMEI packet received {"connection_id":204493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":204493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:45:10] local.INFO: TCP Data received {"connection_id":204493,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a7c6940012d7df84005ff2db0001400f429..."} 
[2026-10-05 10:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a7c6940012d7df84005ff2db0001400f429..."} 
[2026-10-05 10:45:10] local.INFO: Processing buffer {"connection_id":204493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a7c6940012d7df84005ff2db0001400f429..."} 
[2026-10-05 10:45:10] local.INFO: Packet analysis {"connection_id":204493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a7c"} 
[2026-10-05 10:45:10] local.INFO: Extracted packet for processing {"connection_id":204493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a7c"} 
[2026-10-05 10:45:10] local.INFO: GPS Element Parsed {"raw_longitude":763230272,"raw_latitude":100609456,"longitude_deg":76.3230272,"latitude_deg":10.0609456,"altitude":20,"angle":244,"satellites":41,"speed":3,"hex_longitude":"2d7df840","hex_latitude":"05ff2db0","is_valid_coordinates":true} 
[2026-10-05 10:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541382912001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139524267468390400,"note":"Value kept but may cause issues"} 
[2026-10-05 10:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9078412449605150720,"note":"Value kept but may cause issues"} 
[2026-10-05 10:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791177288000,"timestamp_ms":1791177288000,"timestamp_seconds":1791177288,"priority":1,"record_length":96,"hex_timestamp":"000001a10a7c6940"} 
[2026-10-05 10:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 10:45:10] 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-10-05 10:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541382912001,"66":13906,"11":206,"87":10752,"24":3,"16":139524267468390400,"45":9078412449605150720},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,87,24,16,45]} 
[2026-10-05 10:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541382912001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:45:10] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-10-05 10:45:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139524267468390400,"km_value":139524267468390.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9078412449605150720,"description":"Unknown IO ID 45"} 
[2026-10-05 10:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541382912001,"power":13906,"unknown_11":206,"unknown_87":10752,"ignition":3,"odometer":null,"unknown_45":9078412449605150720}} 
[2026-10-05 10:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":204493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966746,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:45:10] local.INFO: GPS data processed {"connection_id":204493,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:45:10] local.INFO: Acknowledgment sent {"connection_id":204493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:45:41] local.INFO: TCP Data received {"connection_id":204493,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a7c6d28012d7df80005ff2d70001400e02a..."} 
[2026-10-05 10:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a7c6d28012d7df80005ff2d70001400e02a..."} 
[2026-10-05 10:45:41] local.INFO: Processing buffer {"connection_id":204493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a7c6d28012d7df80005ff2d70001400e02a..."} 
[2026-10-05 10:45:41] local.INFO: Packet analysis {"connection_id":204493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a7c"} 
[2026-10-05 10:45:41] local.INFO: Extracted packet for processing {"connection_id":204493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a7c"} 
[2026-10-05 10:45:41] local.INFO: GPS Element Parsed {"raw_longitude":763230208,"raw_latitude":100609392,"longitude_deg":76.3230208,"latitude_deg":10.0609392,"altitude":20,"angle":224,"satellites":42,"speed":3,"hex_longitude":"2d7df800","hex_latitude":"05ff2d70","is_valid_coordinates":true} 
[2026-10-05 10:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541385728001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139524271763357696,"note":"Value kept but may cause issues"} 
[2026-10-05 10:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9077075443465433088,"note":"Value kept but may cause issues"} 
[2026-10-05 10:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791177289000,"timestamp_ms":1791177289000,"timestamp_seconds":1791177289,"priority":1,"record_length":96,"hex_timestamp":"000001a10a7c6d28"} 
[2026-10-05 10:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:45: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-10-05 10:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 10:45:41] 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-10-05 10:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541385728001,"66":13906,"11":206,"87":10752,"24":3,"16":139524271763357696,"45":9077075443465433088},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,87,24,16,45]} 
[2026-10-05 10:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541385728001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:45:41] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-10-05 10:45:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139524271763357696,"km_value":139524271763357.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9077075443465433088,"description":"Unknown IO ID 45"} 
[2026-10-05 10:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541385728001,"power":13906,"unknown_11":206,"unknown_87":10752,"ignition":3,"odometer":null,"unknown_45":9077075443465433088}} 
[2026-10-05 10:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":204493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966747,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:45:41] local.INFO: GPS data processed {"connection_id":204493,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:45:41] local.INFO: Acknowledgment sent {"connection_id":204493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:45:59] local.INFO: TCP Data received {"connection_id":207441,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:45:59] local.INFO: Processing buffer {"connection_id":207441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:45:59] local.INFO: IMEI packet received {"connection_id":207441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":207441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:46:03] local.INFO: TCP Data received {"connection_id":207441,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:46:03] local.INFO: Processing buffer {"connection_id":207441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:46:03] local.INFO: IMEI packet received {"connection_id":207441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":207441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:46:04] local.INFO: TCP Data received {"connection_id":207441,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:46:04] local.INFO: Processing buffer {"connection_id":207441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:46:04] local.INFO: IMEI packet received {"connection_id":207441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":207441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:46:05] local.INFO: TCP Data received {"connection_id":207441,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a7c7cc8012d7df70005ff2bf0001400f02a..."} 
[2026-10-05 10:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a7c7cc8012d7df70005ff2bf0001400f02a..."} 
[2026-10-05 10:46:05] local.INFO: Processing buffer {"connection_id":207441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a7c7cc8012d7df70005ff2bf0001400f02a..."} 
[2026-10-05 10:46:05] local.INFO: Packet analysis {"connection_id":207441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a7c"} 
[2026-10-05 10:46:05] local.INFO: Extracted packet for processing {"connection_id":207441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a7c"} 
[2026-10-05 10:46:05] local.INFO: GPS Element Parsed {"raw_longitude":763229952,"raw_latitude":100609008,"longitude_deg":76.3229952,"latitude_deg":10.0609008,"altitude":20,"angle":240,"satellites":42,"speed":2,"hex_longitude":"2d7df700","hex_latitude":"05ff2bf0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 10:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541385984001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139524293238194176,"note":"Value kept but may cause issues"} 
[2026-10-05 10:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9077005074721239040,"note":"Value kept but may cause issues"} 
[2026-10-05 10:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791177293000,"timestamp_ms":1791177293000,"timestamp_seconds":1791177293,"priority":1,"record_length":96,"hex_timestamp":"000001a10a7c7cc8"} 
[2026-10-05 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-10-05 10:46: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-10-05 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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 10:46:05] 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-10-05 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-10-05 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-10-05 10:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541385984001,"66":13689,"11":206,"87":10752,"24":2,"16":139524293238194176,"45":9077005074721239040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,87,24,16,45]} 
[2026-10-05 10:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541385984001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:46:05] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-10-05 10:46:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139524293238194176,"km_value":139524293238194.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9077005074721239040,"description":"Unknown IO ID 45"} 
[2026-10-05 10:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541385984001,"power":13689,"unknown_11":206,"unknown_87":10752,"ignition":2,"odometer":null,"unknown_45":9077005074721239040}} 
[2026-10-05 10:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":207441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966748,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:46:05] local.INFO: GPS data processed {"connection_id":207441,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:46:05] local.INFO: Acknowledgment sent {"connection_id":207441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:46:37] local.INFO: TCP Data received {"connection_id":207441,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a7c8498012d7df68005ff2b58001400db2b..."} 
[2026-10-05 10:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a7c8498012d7df68005ff2b58001400db2b..."} 
[2026-10-05 10:46:37] local.INFO: Processing buffer {"connection_id":207441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a7c8498012d7df68005ff2b58001400db2b..."} 
[2026-10-05 10:46:37] local.INFO: Packet analysis {"connection_id":207441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a7c"} 
[2026-10-05 10:46:37] local.INFO: Extracted packet for processing {"connection_id":207441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a7c"} 
[2026-10-05 10:46:37] local.INFO: GPS Element Parsed {"raw_longitude":763229824,"raw_latitude":100608856,"longitude_deg":76.3229824,"latitude_deg":10.0608856,"altitude":20,"angle":219,"satellites":43,"speed":4,"hex_longitude":"2d7df680","hex_latitude":"05ff2b58","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541387008001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139524306123096064,"note":"Value kept but may cause issues"} 
[2026-10-05 10:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9076723599744430080,"note":"Value kept but may cause issues"} 
[2026-10-05 10:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791177295000,"timestamp_ms":1791177295000,"timestamp_seconds":1791177295,"priority":1,"record_length":96,"hex_timestamp":"000001a10a7c8498"} 
[2026-10-05 10:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:46:37] 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-10-05 10: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-10-05 10:46:37] 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-10-05 10: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-10-05 10:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541387008001,"66":13189,"11":206,"87":10752,"24":4,"16":139524306123096064,"45":9076723599744430080},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,87,24,16,45]} 
[2026-10-05 10:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541387008001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:46:37] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-10-05 10:46:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139524306123096064,"km_value":139524306123096.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9076723599744430080,"description":"Unknown IO ID 45"} 
[2026-10-05 10:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541387008001,"power":13189,"unknown_11":206,"unknown_87":10752,"ignition":4,"odometer":null,"unknown_45":9076723599744430080}} 
[2026-10-05 10:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":207441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:46:37] local.INFO: GPS data processed {"connection_id":207441,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:46:37] local.INFO: Acknowledgment sent {"connection_id":207441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:46:59] local.INFO: TCP Data received {"connection_id":204494,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:46:59] local.INFO: Processing buffer {"connection_id":204494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:46:59] local.INFO: IMEI packet received {"connection_id":204494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":204494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:47:05] local.INFO: TCP Data received {"connection_id":204494,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:47:05] local.INFO: Processing buffer {"connection_id":204494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:47:05] local.INFO: IMEI packet received {"connection_id":204494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":204494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:47:05] local.INFO: TCP Data received {"connection_id":204494,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a7e22a8012d7de3c005ff0b40001300c927..."} 
[2026-10-05 10:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a7e22a8012d7de3c005ff0b40001300c927..."} 
[2026-10-05 10:47:05] local.INFO: Processing buffer {"connection_id":204494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a7e22a8012d7de3c005ff0b40001300c927..."} 
[2026-10-05 10:47:05] local.INFO: Packet analysis {"connection_id":204494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a7e"} 
[2026-10-05 10:47:05] local.INFO: Extracted packet for processing {"connection_id":204494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a7e"} 
[2026-10-05 10:47:05] local.INFO: GPS Element Parsed {"raw_longitude":763225024,"raw_latitude":100600640,"longitude_deg":76.3225024,"latitude_deg":10.060064,"altitude":19,"angle":201,"satellites":39,"speed":5,"hex_longitude":"2d7de3c0","hex_latitude":"05ff0b40","is_valid_coordinates":true} 
[2026-10-05 10:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541414144001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139524787159433216,"note":"Value kept but may cause issues"} 
[2026-10-05 10:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9071375575184844800,"note":"Value kept but may cause issues"} 
[2026-10-05 10:47:05] 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-10-05 10:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791177401000,"timestamp_ms":1791177401000,"timestamp_seconds":1791177401,"priority":1,"record_length":96,"hex_timestamp":"000001a10a7e22a8"} 
[2026-10-05 10:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:47: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-10-05 10:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-10-05 10:47:05] 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-10-05 10:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541414144001,"66":13820,"5":206,"87":10752,"24":5,"16":139524787159433216,"45":9071375575184844800},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-10-05 10:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541414144001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:47:05] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-05 10:47:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139524787159433216,"km_value":139524787159433.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9071375575184844800,"description":"Unknown IO ID 45"} 
[2026-10-05 10:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541414144001,"power":13820,"unknown_5":206,"unknown_87":10752,"ignition":5,"odometer":null,"unknown_45":9071375575184844800}} 
[2026-10-05 10:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":204494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966750,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:47:05] local.INFO: GPS data processed {"connection_id":204494,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:47:05] local.INFO: Acknowledgment sent {"connection_id":204494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:47:37] local.INFO: TCP Data received {"connection_id":204494,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a7e41e8012d7de1c005ff0648001200e129..."} 
[2026-10-05 10:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a7e41e8012d7de1c005ff0648001200e129..."} 
[2026-10-05 10:47:37] local.INFO: Processing buffer {"connection_id":204494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a7e41e8012d7de1c005ff0648001200e129..."} 
[2026-10-05 10:47:37] local.INFO: Packet analysis {"connection_id":204494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a7e"} 
[2026-10-05 10:47:37] local.INFO: Extracted packet for processing {"connection_id":204494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a7e"} 
[2026-10-05 10:47:37] local.INFO: GPS Element Parsed {"raw_longitude":763224512,"raw_latitude":100599368,"longitude_deg":76.3224512,"latitude_deg":10.0599368,"altitude":18,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d7de1c0","hex_latitude":"05ff0648","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541414656001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139524855878909952,"note":"Value kept but may cause issues"} 
[2026-10-05 10:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9071305206440607744,"note":"Value kept but may cause issues"} 
[2026-10-05 10:47:37] 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-10-05 10:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791177409000,"timestamp_ms":1791177409000,"timestamp_seconds":1791177409,"priority":1,"record_length":96,"hex_timestamp":"000001a10a7e41e8"} 
[2026-10-05 10:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:47:37] 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-10-05 10: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":252,"data_length":795,"current_offset":136} 
[2026-10-05 10:47:37] 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-10-05 10:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541414656001,"66":13526,"5":206,"87":10752,"24":0,"16":139524855878909952,"45":9071305206440607744},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-10-05 10:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541414656001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:47:37] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-05 10:47:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139524855878909952,"km_value":139524855878909.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9071305206440607744,"description":"Unknown IO ID 45"} 
[2026-10-05 10:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541414656001,"power":13526,"unknown_5":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9071305206440607744}} 
[2026-10-05 10:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":204494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966751,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:47:37] local.INFO: GPS data processed {"connection_id":204494,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:47:37] local.INFO: Acknowledgment sent {"connection_id":204494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:47:57] local.INFO: TCP Data received {"connection_id":205890,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:47:57] local.INFO: Processing buffer {"connection_id":205890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:47:57] local.INFO: IMEI packet received {"connection_id":205890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 10:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":205890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:48:00] local.INFO: TCP Data received {"connection_id":204353,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:48:00] local.INFO: Processing buffer {"connection_id":204353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:48:00] local.INFO: IMEI packet received {"connection_id":204353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":204353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:48:04] local.INFO: TCP Data received {"connection_id":204353,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:48:04] local.INFO: Processing buffer {"connection_id":204353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:48:04] local.INFO: IMEI packet received {"connection_id":204353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":204353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:48:09] local.INFO: TCP Data received {"connection_id":204353,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:48:09] local.INFO: Processing buffer {"connection_id":204353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:48:09] local.INFO: IMEI packet received {"connection_id":204353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":204353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:48:10] local.INFO: TCP Data received {"connection_id":204353,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a7e7898012d7de08005ff0488001200c920..."} 
[2026-10-05 10:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a7e7898012d7de08005ff0488001200c920..."} 
[2026-10-05 10:48:10] local.INFO: Processing buffer {"connection_id":204353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a7e7898012d7de08005ff0488001200c920..."} 
[2026-10-05 10:48:10] local.INFO: Packet analysis {"connection_id":204353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a7e"} 
[2026-10-05 10:48:10] local.INFO: Extracted packet for processing {"connection_id":204353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a7e"} 
[2026-10-05 10:48:10] local.INFO: GPS Element Parsed {"raw_longitude":763224192,"raw_latitude":100598920,"longitude_deg":76.3224192,"latitude_deg":10.059892,"altitude":18,"angle":201,"satellites":32,"speed":1,"hex_longitude":"2d7de080","hex_latitude":"05ff0488","is_valid_coordinates":true} 
[2026-10-05 10:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541416704001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139524881648713728,"note":"Value kept but may cause issues"} 
[2026-10-05 10:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9070742256486860800,"note":"Value kept but may cause issues"} 
[2026-10-05 10:48:10] 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-10-05 10:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791177423000,"timestamp_ms":1791177423000,"timestamp_seconds":1791177423,"priority":1,"record_length":96,"hex_timestamp":"000001a10a7e7898"} 
[2026-10-05 10:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-05 10:48:10] 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-10-05 10:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541416704001,"66":13798,"5":206,"87":10752,"24":1,"16":139524881648713728,"45":9070742256486860800},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-10-05 10:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541416704001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:48:10] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-05 10:48:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139524881648713728,"km_value":139524881648713.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9070742256486860800,"description":"Unknown IO ID 45"} 
[2026-10-05 10:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541416704001,"power":13798,"unknown_5":206,"unknown_87":10752,"ignition":1,"odometer":null,"unknown_45":9070742256486860800}} 
[2026-10-05 10:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":204353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966752,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:48:10] local.INFO: GPS data processed {"connection_id":204353,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:48:10] local.INFO: Acknowledgment sent {"connection_id":204353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:48:16] local.INFO: TCP Data received {"connection_id":204353,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a7e97d8012d7ddf4005ff0050001200bd1f..."} 
[2026-10-05 10:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a7e97d8012d7ddf4005ff0050001200bd1f..."} 
[2026-10-05 10:48:16] local.INFO: Processing buffer {"connection_id":204353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a7e97d8012d7ddf4005ff0050001200bd1f..."} 
[2026-10-05 10:48:16] local.INFO: Packet analysis {"connection_id":204353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a7e"} 
[2026-10-05 10:48:16] local.INFO: Extracted packet for processing {"connection_id":204353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a7e"} 
[2026-10-05 10:48:16] local.INFO: GPS Element Parsed {"raw_longitude":763223872,"raw_latitude":100597840,"longitude_deg":76.3223872,"latitude_deg":10.059784,"altitude":18,"angle":189,"satellites":31,"speed":7,"hex_longitude":"2d7ddf40","hex_latitude":"05ff0050","is_valid_coordinates":true} 
[2026-10-05 10:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541420288001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139524937483288576,"note":"Value kept but may cause issues"} 
[2026-10-05 10:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9070390412765857792,"note":"Value kept but may cause issues"} 
[2026-10-05 10:48:16] 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-10-05 10:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791177431000,"timestamp_ms":1791177431000,"timestamp_seconds":1791177431,"priority":1,"record_length":96,"hex_timestamp":"000001a10a7e97d8"} 
[2026-10-05 10:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 10:48:16] 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-10-05 10:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541420288001,"66":13722,"5":206,"87":10752,"24":7,"16":139524937483288576,"45":9070390412765857792},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-10-05 10:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541420288001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:48:16] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-05 10:48:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139524937483288576,"km_value":139524937483288.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9070390412765857792,"description":"Unknown IO ID 45"} 
[2026-10-05 10:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541420288001,"power":13722,"unknown_5":206,"unknown_87":10752,"ignition":7,"odometer":null,"unknown_45":9070390412765857792}} 
[2026-10-05 10:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":204353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966753,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:48:16] local.INFO: GPS data processed {"connection_id":204353,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:48:16] local.INFO: Acknowledgment sent {"connection_id":204353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:49:00] local.INFO: TCP Data received {"connection_id":204495,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:49:00] local.INFO: Processing buffer {"connection_id":204495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:49:00] local.INFO: IMEI packet received {"connection_id":204495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":204495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:49:01] local.INFO: TCP Data received {"connection_id":204495,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:49:01] local.INFO: Processing buffer {"connection_id":204495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:49:01] local.INFO: IMEI packet received {"connection_id":204495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":204495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:49:04] local.INFO: TCP Data received {"connection_id":204495,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:49:04] local.INFO: Processing buffer {"connection_id":204495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:49:04] local.INFO: IMEI packet received {"connection_id":204495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":204495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:49:06] local.INFO: TCP Data received {"connection_id":204495,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a7fc888012d7dd58005fee1780010007420..."} 
[2026-10-05 10:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a7fc888012d7dd58005fee1780010007420..."} 
[2026-10-05 10:49:06] local.INFO: Processing buffer {"connection_id":204495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a7fc888012d7dd58005fee1780010007420..."} 
[2026-10-05 10:49:06] local.INFO: Packet analysis {"connection_id":204495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a7f"} 
[2026-10-05 10:49:06] local.INFO: Extracted packet for processing {"connection_id":204495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a7f"} 
[2026-10-05 10:49:06] local.INFO: GPS Element Parsed {"raw_longitude":763221376,"raw_latitude":100589944,"longitude_deg":76.3221376,"latitude_deg":10.0589944,"altitude":16,"angle":116,"satellites":32,"speed":1,"hex_longitude":"2d7dd580","hex_latitude":"05fee178","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541442048001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139525358390083584,"note":"Value kept but may cause issues"} 
[2026-10-05 10:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067294188019742720,"note":"Value kept but may cause issues"} 
[2026-10-05 10:49:06] 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-10-05 10:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791177509000,"timestamp_ms":1791177509000,"timestamp_seconds":1791177509,"priority":1,"record_length":96,"hex_timestamp":"000001a10a7fc888"} 
[2026-10-05 10:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:49:06] 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-10-05 10: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-05 10:49:06] 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-10-05 10: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-10-05 10:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541442048001,"66":13656,"5":206,"87":10752,"24":1,"16":139525358390083584,"45":9067294188019742720},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-10-05 10:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541442048001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:49:06] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-05 10:49:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139525358390083584,"km_value":139525358390083.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067294188019742720,"description":"Unknown IO ID 45"} 
[2026-10-05 10:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541442048001,"power":13656,"unknown_5":206,"unknown_87":10752,"ignition":1,"odometer":null,"unknown_45":9067294188019742720}} 
[2026-10-05 10:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":204495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966754,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:49:06] local.INFO: GPS data processed {"connection_id":204495,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:49:06] local.INFO: Acknowledgment sent {"connection_id":204495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:49:07] local.INFO: TCP Data received {"connection_id":204495,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a7fe7c8012d7dd5c005fee128001000ae1d..."} 
[2026-10-05 10:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a7fe7c8012d7dd5c005fee128001000ae1d..."} 
[2026-10-05 10:49:07] local.INFO: Processing buffer {"connection_id":204495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a7fe7c8012d7dd5c005fee128001000ae1d..."} 
[2026-10-05 10:49:07] local.INFO: Packet analysis {"connection_id":204495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a7f"} 
[2026-10-05 10:49:07] local.INFO: Extracted packet for processing {"connection_id":204495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a7f"} 
[2026-10-05 10:49:07] local.INFO: GPS Element Parsed {"raw_longitude":763221440,"raw_latitude":100589864,"longitude_deg":76.322144,"latitude_deg":10.0589864,"altitude":16,"angle":174,"satellites":29,"speed":2,"hex_longitude":"2d7dd5c0","hex_latitude":"05fee128","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541442304001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139525366980018176,"note":"Value kept but may cause issues"} 
[2026-10-05 10:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067294188019742720,"note":"Value kept but may cause issues"} 
[2026-10-05 10:49:07] 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-10-05 10:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791177517000,"timestamp_ms":1791177517000,"timestamp_seconds":1791177517,"priority":1,"record_length":96,"hex_timestamp":"000001a10a7fe7c8"} 
[2026-10-05 10:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:49: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-10-05 10: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-05 10:49:07] 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-10-05 10: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-10-05 10:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541442304001,"66":13820,"5":206,"87":10752,"24":2,"16":139525366980018176,"45":9067294188019742720},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-10-05 10:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541442304001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:49:07] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-05 10:49:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139525366980018176,"km_value":139525366980018.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067294188019742720,"description":"Unknown IO ID 45"} 
[2026-10-05 10:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541442304001,"power":13820,"unknown_5":206,"unknown_87":10752,"ignition":2,"odometer":null,"unknown_45":9067294188019742720}} 
[2026-10-05 10:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":204495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:49:07] local.INFO: GPS data processed {"connection_id":204495,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:49:07] local.INFO: Acknowledgment sent {"connection_id":204495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:49:38] local.INFO: TCP Data received {"connection_id":204495,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a80c288012d7dcfc005fed918000f00c10e..."} 
[2026-10-05 10:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a80c288012d7dcfc005fed918000f00c10e..."} 
[2026-10-05 10:49:38] local.INFO: Processing buffer {"connection_id":204495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a80c288012d7dcfc005fed918000f00c10e..."} 
[2026-10-05 10:49:38] local.INFO: Packet analysis {"connection_id":204495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a80"} 
[2026-10-05 10:49:38] local.INFO: Extracted packet for processing {"connection_id":204495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a80"} 
[2026-10-05 10:49:38] local.INFO: GPS Element Parsed {"raw_longitude":763219904,"raw_latitude":100587800,"longitude_deg":76.3219904,"latitude_deg":10.05878,"altitude":15,"angle":193,"satellites":14,"speed":2,"hex_longitude":"2d7dcfc0","hex_latitude":"05fed918","is_valid_coordinates":true} 
[2026-10-05 10:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541458176001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139525560253546496,"note":"Value kept but may cause issues"} 
[2026-10-05 10:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9065675706903138304,"note":"Value kept but may cause issues"} 
[2026-10-05 10:49:38] 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-10-05 10:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791177573000,"timestamp_ms":1791177573000,"timestamp_seconds":1791177573,"priority":1,"record_length":96,"hex_timestamp":"000001a10a80c288"} 
[2026-10-05 10:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 10:49:38] 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-10-05 10:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541458176001,"66":13276,"5":206,"87":10752,"24":2,"16":139525560253546496,"45":9065675706903138304},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-10-05 10:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541458176001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:49:38] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-05 10:49:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139525560253546496,"km_value":139525560253546.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9065675706903138304,"description":"Unknown IO ID 45"} 
[2026-10-05 10:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541458176001,"power":13276,"unknown_5":206,"unknown_87":10752,"ignition":2,"odometer":null,"unknown_45":9065675706903138304}} 
[2026-10-05 10:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":204495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966756,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:49:39] local.INFO: GPS data processed {"connection_id":204495,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:49:39] local.INFO: Acknowledgment sent {"connection_id":204495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:50:00] local.INFO: TCP Data received {"connection_id":207442,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:50:00] local.INFO: Processing buffer {"connection_id":207442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:50:00] local.INFO: IMEI packet received {"connection_id":207442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":207442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:50:00] local.INFO: TCP Data received {"connection_id":207442,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:50:00] local.INFO: Processing buffer {"connection_id":207442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:50:00] local.INFO: IMEI packet received {"connection_id":207442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":207442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:50:01] local.INFO: TCP Data received {"connection_id":207442,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:50:01] local.INFO: Processing buffer {"connection_id":207442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:50:01] local.INFO: IMEI packet received {"connection_id":207442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":207442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:50:03] local.INFO: TCP Data received {"connection_id":207442,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:50:03] local.INFO: Processing buffer {"connection_id":207442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:50:03] local.INFO: IMEI packet received {"connection_id":207442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":207442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:50:04] local.INFO: TCP Data received {"connection_id":207442,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a80ca58012d7dcf8005fed8c8000f00e80f..."} 
[2026-10-05 10:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a80ca58012d7dcf8005fed8c8000f00e80f..."} 
[2026-10-05 10:50:04] local.INFO: Processing buffer {"connection_id":207442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a80ca58012d7dcf8005fed8c8000f00e80f..."} 
[2026-10-05 10:50:04] local.INFO: Packet analysis {"connection_id":207442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a80"} 
[2026-10-05 10:50:04] local.INFO: Extracted packet for processing {"connection_id":207442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a80"} 
[2026-10-05 10:50:04] local.INFO: GPS Element Parsed {"raw_longitude":763219840,"raw_latitude":100587720,"longitude_deg":76.321984,"latitude_deg":10.058772,"altitude":15,"angle":232,"satellites":15,"speed":1,"hex_longitude":"2d7dcf80","hex_latitude":"05fed8c8","is_valid_coordinates":true} 
[2026-10-05 10:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541458688001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139525564548513792,"note":"Value kept but may cause issues"} 
[2026-10-05 10:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9065675706903107584,"note":"Value kept but may cause issues"} 
[2026-10-05 10:50: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-10-05 10:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791177575000,"timestamp_ms":1791177575000,"timestamp_seconds":1791177575,"priority":1,"record_length":96,"hex_timestamp":"000001a10a80ca58"} 
[2026-10-05 10:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:50:04] 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-10-05 10:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-05 10:50: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-10-05 10:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":207442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":207442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":207442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541458688001,"66":13276,"5":206,"87":10752,"24":1,"16":139525564548513792,"45":9065675706903107584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-10-05 10:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541458688001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:50:04] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-05 10:50:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139525564548513792,"km_value":139525564548513.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9065675706903107584,"description":"Unknown IO ID 45"} 
[2026-10-05 10:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541458688001,"power":13276,"unknown_5":206,"unknown_87":10752,"ignition":1,"odometer":null,"unknown_45":9065675706903107584}} 
[2026-10-05 10:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":207442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:50:04] local.INFO: GPS data processed {"connection_id":207442,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:50:04] local.INFO: Acknowledgment sent {"connection_id":207442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:50:05] local.INFO: TCP Data received {"connection_id":207442,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a80ce40012d7dcf0005fed8c0000f00f80c..."} 
[2026-10-05 10:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a80ce40012d7dcf0005fed8c0000f00f80c..."} 
[2026-10-05 10:50:05] local.INFO: Processing buffer {"connection_id":207442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a80ce40012d7dcf0005fed8c0000f00f80c..."} 
[2026-10-05 10:50:05] local.INFO: Packet analysis {"connection_id":207442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a80"} 
[2026-10-05 10:50:05] local.INFO: Extracted packet for processing {"connection_id":207442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a80"} 
[2026-10-05 10:50:05] local.INFO: GPS Element Parsed {"raw_longitude":763219712,"raw_latitude":100587712,"longitude_deg":76.3219712,"latitude_deg":10.0587712,"altitude":15,"angle":248,"satellites":12,"speed":3,"hex_longitude":"2d7dcf00","hex_latitude":"05fed8c0","is_valid_coordinates":true} 
[2026-10-05 10:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541459200001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139525573138448384,"note":"Value kept but may cause issues"} 
[2026-10-05 10:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9065605338158909440,"note":"Value kept but may cause issues"} 
[2026-10-05 10:50:05] 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-10-05 10:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791177576000,"timestamp_ms":1791177576000,"timestamp_seconds":1791177576,"priority":1,"record_length":96,"hex_timestamp":"000001a10a80ce40"} 
[2026-10-05 10:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:50: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-10-05 10:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-05 10:50:05] 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-10-05 10:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541459200001,"66":13319,"5":206,"87":10752,"24":3,"16":139525573138448384,"45":9065605338158909440},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-10-05 10:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541459200001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:50:05] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-05 10:50:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139525573138448384,"km_value":139525573138448.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9065605338158909440,"description":"Unknown IO ID 45"} 
[2026-10-05 10:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541459200001,"power":13319,"unknown_5":206,"unknown_87":10752,"ignition":3,"odometer":null,"unknown_45":9065605338158909440}} 
[2026-10-05 10:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":207442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966758,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:50:06] local.INFO: GPS data processed {"connection_id":207442,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:50:06] local.INFO: Acknowledgment sent {"connection_id":207442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:50:37] local.INFO: TCP Data received {"connection_id":207442,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8189c0012d7dcc0005fed708000e00cd0f..."} 
[2026-10-05 10:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8189c0012d7dcc0005fed708000e00cd0f..."} 
[2026-10-05 10:50:37] local.INFO: Processing buffer {"connection_id":207442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8189c0012d7dcc0005fed708000e00cd0f..."} 
[2026-10-05 10:50:37] local.INFO: Packet analysis {"connection_id":207442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a81"} 
[2026-10-05 10:50:37] local.INFO: Extracted packet for processing {"connection_id":207442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a81"} 
[2026-10-05 10:50:37] local.INFO: GPS Element Parsed {"raw_longitude":763218944,"raw_latitude":100587272,"longitude_deg":76.3218944,"latitude_deg":10.0587272,"altitude":14,"angle":205,"satellites":15,"speed":13,"hex_longitude":"2d7dcc00","hex_latitude":"05fed708","is_valid_coordinates":true} 
[2026-10-05 10:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541471488001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139525779296878592,"note":"Value kept but may cause issues"} 
[2026-10-05 10:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9064690544484581376,"note":"Value kept but may cause issues"} 
[2026-10-05 10:50:37] 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-10-05 10:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791177624000,"timestamp_ms":1791177624000,"timestamp_seconds":1791177624,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8189c0"} 
[2026-10-05 10:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:50:37] 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-10-05 10:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-10-05 10:50:37] 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-10-05 10:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541471488001,"66":13678,"5":206,"87":10752,"24":13,"16":139525779296878592,"45":9064690544484581376},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-10-05 10:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541471488001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:50:37] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-05 10:50:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139525779296878592,"km_value":139525779296878.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9064690544484581376,"description":"Unknown IO ID 45"} 
[2026-10-05 10:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541471488001,"power":13678,"unknown_5":206,"unknown_87":10752,"ignition":13,"odometer":null,"unknown_45":9064690544484581376}} 
[2026-10-05 10:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":207442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:50:37] local.INFO: GPS data processed {"connection_id":207442,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:50:37] local.INFO: Acknowledgment sent {"connection_id":207442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:51:00] local.INFO: TCP Data received {"connection_id":205893,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:51:00] local.INFO: Processing buffer {"connection_id":205893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:51:00] local.INFO: IMEI packet received {"connection_id":205893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":205893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:51:01] local.INFO: TCP Data received {"connection_id":205893,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:51:01] local.INFO: Processing buffer {"connection_id":205893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:51:01] local.INFO: IMEI packet received {"connection_id":205893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":205893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:51:07] local.INFO: TCP Data received {"connection_id":205893,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:51:07] local.INFO: Processing buffer {"connection_id":205893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:51:07] local.INFO: IMEI packet received {"connection_id":205893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":205893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:51:08] local.INFO: TCP Data received {"connection_id":205893,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a81a518012d7dc7c005fecf00000d00da10..."} 
[2026-10-05 10:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a81a518012d7dc7c005fecf00000d00da10..."} 
[2026-10-05 10:51:08] local.INFO: Processing buffer {"connection_id":205893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a81a518012d7dc7c005fecf00000d00da10..."} 
[2026-10-05 10:51:08] local.INFO: Packet analysis {"connection_id":205893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a81"} 
[2026-10-05 10:51:08] local.INFO: Extracted packet for processing {"connection_id":205893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a81"} 
[2026-10-05 10:51:08] local.INFO: GPS Element Parsed {"raw_longitude":763217856,"raw_latitude":100585216,"longitude_deg":76.3217856,"latitude_deg":10.0585216,"altitude":13,"angle":218,"satellites":16,"speed":7,"hex_longitude":"2d7dc7c0","hex_latitude":"05fecf00","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541471744001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139525899555962880,"note":"Value kept but may cause issues"} 
[2026-10-05 10:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9064620175740307456,"note":"Value kept but may cause issues"} 
[2026-10-05 10:51:08] 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-10-05 10:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791177631000,"timestamp_ms":1791177631000,"timestamp_seconds":1791177631,"priority":1,"record_length":96,"hex_timestamp":"000001a10a81a518"} 
[2026-10-05 10:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:51: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-10-05 10: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 10:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 10: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-10-05 10:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541471744001,"66":13450,"5":206,"87":10752,"24":7,"16":139525899555962880,"45":9064620175740307456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-10-05 10:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541471744001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:51:08] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-05 10:51:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139525899555962880,"km_value":139525899555962.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9064620175740307456,"description":"Unknown IO ID 45"} 
[2026-10-05 10:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541471744001,"power":13450,"unknown_5":206,"unknown_87":10752,"ignition":7,"odometer":null,"unknown_45":9064620175740307456}} 
[2026-10-05 10:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":205893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:51:08] local.INFO: GPS data processed {"connection_id":205893,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:51:08] local.INFO: Acknowledgment sent {"connection_id":205893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:51:59] local.INFO: TCP Data received {"connection_id":207443,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:51:59] local.INFO: Processing buffer {"connection_id":207443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:51:59] local.INFO: IMEI packet received {"connection_id":207443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":207443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:52:03] local.INFO: TCP Data received {"connection_id":207443,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:52:03] local.INFO: Processing buffer {"connection_id":207443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:52:03] local.INFO: IMEI packet received {"connection_id":207443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":207443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:52:04] local.INFO: TCP Data received {"connection_id":207443,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:52:04] local.INFO: Processing buffer {"connection_id":207443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:52:04] local.INFO: IMEI packet received {"connection_id":207443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":207443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:52:06] local.INFO: TCP Data received {"connection_id":207443,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a81ace8012d7dc48005fecbb8000d00e616..."} 
[2026-10-05 10:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a81ace8012d7dc48005fecbb8000d00e616..."} 
[2026-10-05 10:52:06] local.INFO: Processing buffer {"connection_id":207443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a81ace8012d7dc48005fecbb8000d00e616..."} 
[2026-10-05 10:52:06] local.INFO: Packet analysis {"connection_id":207443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a81"} 
[2026-10-05 10:52:06] local.INFO: Extracted packet for processing {"connection_id":207443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a81"} 
[2026-10-05 10:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763217024,"raw_latitude":100584376,"longitude_deg":76.3217024,"latitude_deg":10.0584376,"altitude":13,"angle":230,"satellites":22,"speed":6,"hex_longitude":"2d7dc480","hex_latitude":"05fecbb8","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541473536001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139525959685505024,"note":"Value kept but may cause issues"} 
[2026-10-05 10:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063423907088760832,"note":"Value kept but may cause issues"} 
[2026-10-05 10:52:06] 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-10-05 10:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791177633000,"timestamp_ms":1791177633000,"timestamp_seconds":1791177633,"priority":1,"record_length":96,"hex_timestamp":"000001a10a81ace8"} 
[2026-10-05 10:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:52:06] 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-10-05 10: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":138,"data_length":795,"current_offset":136} 
[2026-10-05 10:52: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-10-05 10: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-10-05 10:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541473536001,"66":13656,"5":206,"87":10752,"24":6,"16":139525959685505024,"45":9063423907088760832},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-10-05 10:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541473536001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:52:06] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-05 10:52:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139525959685505024,"km_value":139525959685505.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063423907088760832,"description":"Unknown IO ID 45"} 
[2026-10-05 10:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541473536001,"power":13656,"unknown_5":206,"unknown_87":10752,"ignition":6,"odometer":null,"unknown_45":9063423907088760832}} 
[2026-10-05 10:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":207443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966761,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:52:06] local.INFO: GPS data processed {"connection_id":207443,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:52:06] local.INFO: Acknowledgment sent {"connection_id":207443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:52:09] local.INFO: TCP Data received {"connection_id":207443,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a81c070012d7dc94005fec5c8000d00c81f..."} 
[2026-10-05 10:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a81c070012d7dc94005fec5c8000d00c81f..."} 
[2026-10-05 10:52:09] local.INFO: Processing buffer {"connection_id":207443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a81c070012d7dc94005fec5c8000d00c81f..."} 
[2026-10-05 10:52:09] local.INFO: Packet analysis {"connection_id":207443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a81"} 
[2026-10-05 10:52:09] local.INFO: Extracted packet for processing {"connection_id":207443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a81"} 
[2026-10-05 10:52:09] local.INFO: GPS Element Parsed {"raw_longitude":763218240,"raw_latitude":100582856,"longitude_deg":76.321824,"latitude_deg":10.0582856,"altitude":13,"angle":200,"satellites":31,"speed":6,"hex_longitude":"2d7dc940","hex_latitude":"05fec5c8","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541474048001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139526058469752832,"note":"Value kept but may cause issues"} 
[2026-10-05 10:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062509113414236160,"note":"Value kept but may cause issues"} 
[2026-10-05 10:52:09] 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-10-05 10:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791177638000,"timestamp_ms":1791177638000,"timestamp_seconds":1791177638,"priority":1,"record_length":96,"hex_timestamp":"000001a10a81c070"} 
[2026-10-05 10:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-05 10:52:09] 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-10-05 10: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-10-05 10:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":207443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":207443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":207443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541474048001,"66":13406,"5":206,"87":10752,"24":6,"16":139526058469752832,"45":9062509113414236160},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-10-05 10:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541474048001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:52:09] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-05 10:52:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139526058469752832,"km_value":139526058469752.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062509113414236160,"description":"Unknown IO ID 45"} 
[2026-10-05 10:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541474048001,"power":13406,"unknown_5":206,"unknown_87":10752,"ignition":6,"odometer":null,"unknown_45":9062509113414236160}} 
[2026-10-05 10:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":207443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:52:09] local.INFO: GPS data processed {"connection_id":207443,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:52:09] local.INFO: Acknowledgment sent {"connection_id":207443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:52:41] local.INFO: TCP Data received {"connection_id":207443,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a820e90012d7dc9c005febd18000d00c82a..."} 
[2026-10-05 10:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a820e90012d7dc9c005febd18000d00c82a..."} 
[2026-10-05 10:52:41] local.INFO: Processing buffer {"connection_id":207443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a820e90012d7dc9c005febd18000d00c82a..."} 
[2026-10-05 10:52:41] local.INFO: Packet analysis {"connection_id":207443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a82"} 
[2026-10-05 10:52:41] local.INFO: Extracted packet for processing {"connection_id":207443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a82"} 
[2026-10-05 10:52:41] local.INFO: GPS Element Parsed {"raw_longitude":763218368,"raw_latitude":100580632,"longitude_deg":76.3218368,"latitude_deg":10.0580632,"altitude":13,"angle":200,"satellites":42,"speed":4,"hex_longitude":"2d7dc9c0","hex_latitude":"05febd18","is_valid_coordinates":true} 
[2026-10-05 10:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541475328001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139526174433869824,"note":"Value kept but may cause issues"} 
[2026-10-05 10:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063846119553222656,"note":"Value kept but may cause issues"} 
[2026-10-05 10:52:41] 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-10-05 10:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791177658000,"timestamp_ms":1791177658000,"timestamp_seconds":1791177658,"priority":1,"record_length":96,"hex_timestamp":"000001a10a820e90"} 
[2026-10-05 10:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:52: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-10-05 10:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-10-05 10:52:41] 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-10-05 10:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":207443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":207443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":207443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541475328001,"66":13678,"5":206,"87":10752,"24":4,"16":139526174433869824,"45":9063846119553222656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-10-05 10:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541475328001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:52:41] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-05 10:52:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139526174433869824,"km_value":139526174433869.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063846119553222656,"description":"Unknown IO ID 45"} 
[2026-10-05 10:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541475328001,"power":13678,"unknown_5":206,"unknown_87":10752,"ignition":4,"odometer":null,"unknown_45":9063846119553222656}} 
[2026-10-05 10:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":207443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966763,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:52:41] local.INFO: GPS data processed {"connection_id":207443,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:52:41] local.INFO: Acknowledgment sent {"connection_id":207443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:52:59] local.INFO: TCP Data received {"connection_id":204356,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204356,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:52:59] local.INFO: Processing buffer {"connection_id":204356,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:52:59] local.INFO: IMEI packet received {"connection_id":204356,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":204356,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:53:05] local.INFO: TCP Data received {"connection_id":204356,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204356,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:53:05] local.INFO: Processing buffer {"connection_id":204356,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:53:05] local.INFO: IMEI packet received {"connection_id":204356,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":204356,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:53:06] local.INFO: TCP Data received {"connection_id":204356,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a826098012d7dc44005fead00000d00c52d..."} 
[2026-10-05 10:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a826098012d7dc44005fead00000d00c52d..."} 
[2026-10-05 10:53:06] local.INFO: Processing buffer {"connection_id":204356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a826098012d7dc44005fead00000d00c52d..."} 
[2026-10-05 10:53:06] local.INFO: Packet analysis {"connection_id":204356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a82"} 
[2026-10-05 10:53:06] local.INFO: Extracted packet for processing {"connection_id":204356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a82"} 
[2026-10-05 10:53:06] local.INFO: GPS Element Parsed {"raw_longitude":763216960,"raw_latitude":100576512,"longitude_deg":76.321696,"latitude_deg":10.0576512,"altitude":13,"angle":197,"satellites":45,"speed":7,"hex_longitude":"2d7dc440","hex_latitude":"05fead00","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541480448001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139526389182234624,"note":"Value kept but may cause issues"} 
[2026-10-05 10:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063986857041008640,"note":"Value kept but may cause issues"} 
[2026-10-05 10:53:06] 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-10-05 10:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791177679000,"timestamp_ms":1791177679000,"timestamp_seconds":1791177679,"priority":1,"record_length":96,"hex_timestamp":"000001a10a826098"} 
[2026-10-05 10:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:53:06] 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-10-05 10: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 10:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 10: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-10-05 10:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541480448001,"66":13906,"5":206,"87":10752,"24":7,"16":139526389182234624,"45":9063986857041008640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-10-05 10:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541480448001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:53:06] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-05 10:53:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139526389182234624,"km_value":139526389182234.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063986857041008640,"description":"Unknown IO ID 45"} 
[2026-10-05 10:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541480448001,"power":13906,"unknown_5":206,"unknown_87":10752,"ignition":7,"odometer":null,"unknown_45":9063986857041008640}} 
[2026-10-05 10:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":204356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:53:06] local.INFO: GPS data processed {"connection_id":204356,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:53:06] local.INFO: Acknowledgment sent {"connection_id":204356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:53:37] local.INFO: TCP Data received {"connection_id":204356,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a82b2a0012d7dbec005fe9b28001000c928..."} 
[2026-10-05 10:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a82b2a0012d7dbec005fe9b28001000c928..."} 
[2026-10-05 10:53:37] local.INFO: Processing buffer {"connection_id":204356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a82b2a0012d7dbec005fe9b28001000c928..."} 
[2026-10-05 10:53:37] local.INFO: Packet analysis {"connection_id":204356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a82"} 
[2026-10-05 10:53:37] local.INFO: Extracted packet for processing {"connection_id":204356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a82"} 
[2026-10-05 10:53:37] local.INFO: GPS Element Parsed {"raw_longitude":763215552,"raw_latitude":100571944,"longitude_deg":76.3215552,"latitude_deg":10.0571944,"altitude":16,"angle":201,"satellites":40,"speed":6,"hex_longitude":"2d7dbec0","hex_latitude":"05fe9b28","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541485824001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139526621110468608,"note":"Value kept but may cause issues"} 
[2026-10-05 10:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062438744668045312,"note":"Value kept but may cause issues"} 
[2026-10-05 10:53:37] 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-10-05 10:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791177700000,"timestamp_ms":1791177700000,"timestamp_seconds":1791177700,"priority":1,"record_length":96,"hex_timestamp":"000001a10a82b2a0"} 
[2026-10-05 10:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:53:37] 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-10-05 10: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 10:53:37] 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-10-05 10:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541485824001,"66":13852,"38":206,"87":10752,"24":6,"16":139526621110468608,"45":9062438744668045312},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-10-05 10:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541485824001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:53:37] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-10-05 10:53:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139526621110468608,"km_value":139526621110468.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062438744668045312,"description":"Unknown IO ID 45"} 
[2026-10-05 10:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541485824001,"power":13852,"unknown_38":206,"unknown_87":10752,"ignition":6,"odometer":null,"unknown_45":9062438744668045312}} 
[2026-10-05 10:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":204356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966765,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:53:38] local.INFO: GPS data processed {"connection_id":204356,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:53:38] local.INFO: Acknowledgment sent {"connection_id":204356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:53:52] local.INFO: TCP Data received {"connection_id":205894,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:53:52] local.INFO: Processing buffer {"connection_id":205894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:53:52] local.INFO: IMEI packet received {"connection_id":205894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 10:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":205894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:54:00] local.INFO: TCP Data received {"connection_id":207444,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207444,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:54:00] local.INFO: Processing buffer {"connection_id":207444,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:54:00] local.INFO: IMEI packet received {"connection_id":207444,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":207444,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:54:01] local.INFO: TCP Data received {"connection_id":207444,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207444,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:54:01] local.INFO: Processing buffer {"connection_id":207444,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:54:01] local.INFO: IMEI packet received {"connection_id":207444,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":207444,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:54:02] local.INFO: TCP Data received {"connection_id":207444,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207444,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:54:02] local.INFO: Processing buffer {"connection_id":207444,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:54:02] local.INFO: IMEI packet received {"connection_id":207444,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":207444,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:54:05] local.INFO: TCP Data received {"connection_id":207444,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207444,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:54:05] local.INFO: Processing buffer {"connection_id":207444,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:54:05] local.INFO: IMEI packet received {"connection_id":207444,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":207444,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:56:54] local.INFO: TCP Data received {"connection_id":207445,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 10:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 10:56:54] local.INFO: Processing buffer {"connection_id":207445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 10:56:54] local.INFO: IMEI packet received {"connection_id":207445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 10:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":207445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:56:55] local.INFO: TCP Data received {"connection_id":207445,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 10:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 10:56:55] local.INFO: Processing buffer {"connection_id":207445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 10:56:55] local.INFO: IMEI packet received {"connection_id":207445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 10:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":207445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:56:59] local.INFO: TCP Data received {"connection_id":207445,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 10:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 10:56:59] local.INFO: Processing buffer {"connection_id":207445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 10:56:59] local.INFO: IMEI packet received {"connection_id":207445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 10:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":207445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:57:00] local.INFO: TCP Data received {"connection_id":207445,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-10-05 10:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207445,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-10-05 10:57:00] local.INFO: Processing buffer {"connection_id":207445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-10-05 10:57:00] local.INFO: Packet analysis {"connection_id":207445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-10-05 10:57:00] local.INFO: Extracted packet for processing {"connection_id":207445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-10-05 10:57:00] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24983300774821888,"note":"Value kept but may cause issues"} 
[2026-10-05 10:57:00] 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-10-05 10:57:00] 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-10-05 10:57:00] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-10-05 10:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207445,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207445,"device_imei":"862567074811360","avl_records_count":0} 
[2026-10-05 10:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207445,"device_imei":"862567074811360","avl_records_count":0} 
[2026-10-05 10:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-10-05 10:57:00] local.WARNING: DEBUG: No valid data to process  
[2026-10-05 10:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":207445,"result":{"success":false,"message":"No valid data to process"}} 
[2026-10-05 10:57:00] local.ERROR: GPS data processing failed {"connection_id":207445,"error":"No valid data to process"} 
[2026-10-05 10:57:00] local.INFO: Acknowledgment sent {"connection_id":207445,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-10-05 10:57:31] local.INFO: TCP Data received {"connection_id":207445,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-10-05 10:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-10-05 10:57:31] local.INFO: Processing buffer {"connection_id":207445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-10-05 10:57:31] local.INFO: Packet analysis {"connection_id":207445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-10-05 10:57:31] local.INFO: Extracted packet for processing {"connection_id":207445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-10-05 10:57:31] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24983300774821888,"note":"Value kept but may cause issues"} 
[2026-10-05 10:57:31] 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-10-05 10:57:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":69000,"timestamp_seconds":69,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 10:57:31] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-10-05 10:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207445,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207445,"device_imei":"862567074811360","avl_records_count":0} 
[2026-10-05 10:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207445,"device_imei":"862567074811360","avl_records_count":0} 
[2026-10-05 10:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-10-05 10:57:31] local.WARNING: DEBUG: No valid data to process  
[2026-10-05 10:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":207445,"result":{"success":false,"message":"No valid data to process"}} 
[2026-10-05 10:57:31] local.ERROR: GPS data processing failed {"connection_id":207445,"error":"No valid data to process"} 
[2026-10-05 10:57:31] local.INFO: Acknowledgment sent {"connection_id":207445,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-10-05 10:58:02] local.INFO: TCP Data received {"connection_id":207445,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8821400100000000000000000000000000..."} 
[2026-10-05 10:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8821400100000000000000000000000000..."} 
[2026-10-05 10:58:02] local.INFO: Processing buffer {"connection_id":207445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8821400100000000000000000000000000..."} 
[2026-10-05 10:58:02] local.INFO: Packet analysis {"connection_id":207445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a88"} 
[2026-10-05 10:58:02] local.INFO: Extracted packet for processing {"connection_id":207445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a88"} 
[2026-10-05 10:58:02] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24983300774821888,"note":"Value kept but may cause issues"} 
[2026-10-05 10:58:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 10:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791178056000,"timestamp_ms":1791178056000,"timestamp_seconds":1791178056,"priority":1,"record_length":96,"hex_timestamp":"000001a10a882140"} 
[2026-10-05 10:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:58:02] 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-10-05 10: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-05 10:58:02] 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-10-05 10: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-10-05 10:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 10:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 10:58: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-10-05 10:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 10:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 10:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":207445,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-05 10:58:02] local.INFO: GPS data processed {"connection_id":207445,"processed":0,"errors":0,"total":1} 
[2026-10-05 10:58:02] local.INFO: Acknowledgment sent {"connection_id":207445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:58:33] local.INFO: TCP Data received {"connection_id":207445,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8873480100000000000000000000000000..."} 
[2026-10-05 10:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8873480100000000000000000000000000..."} 
[2026-10-05 10:58:33] local.INFO: Processing buffer {"connection_id":207445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8873480100000000000000000000000000..."} 
[2026-10-05 10:58:33] local.INFO: Packet analysis {"connection_id":207445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a88"} 
[2026-10-05 10:58:33] local.INFO: Extracted packet for processing {"connection_id":207445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a88"} 
[2026-10-05 10:58:33] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-05 10:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24983300774821888,"note":"Value kept but may cause issues"} 
[2026-10-05 10:58:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 10:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791178077000,"timestamp_ms":1791178077000,"timestamp_seconds":1791178077,"priority":1,"record_length":96,"hex_timestamp":"000001a10a887348"} 
[2026-10-05 10:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:58:33] 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-10-05 10:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-10-05 10:58:33] 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-10-05 10:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 10:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 10:58: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-10-05 10:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 10:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 10:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":207445,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-05 10:58:33] local.INFO: GPS data processed {"connection_id":207445,"processed":0,"errors":0,"total":1} 
[2026-10-05 10:58:33] local.INFO: Acknowledgment sent {"connection_id":207445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:59:05] local.INFO: TCP Data received {"connection_id":207445,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a88c5500100000000000000000000000000..."} 
[2026-10-05 10:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a88c5500100000000000000000000000000..."} 
[2026-10-05 10:59:05] local.INFO: Processing buffer {"connection_id":207445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a88c5500100000000000000000000000000..."} 
[2026-10-05 10:59:05] local.INFO: Packet analysis {"connection_id":207445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a88"} 
[2026-10-05 10:59:05] local.INFO: Extracted packet for processing {"connection_id":207445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a88"} 
[2026-10-05 10:59:05] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-05 10:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24983300774821888,"note":"Value kept but may cause issues"} 
[2026-10-05 10:59:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 10:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791178098000,"timestamp_ms":1791178098000,"timestamp_seconds":1791178098,"priority":1,"record_length":96,"hex_timestamp":"000001a10a88c550"} 
[2026-10-05 10:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:59:05] 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-10-05 10:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-05 10:59:05] 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-10-05 10:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 10:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 10:59: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-10-05 10:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 10:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 10:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":207445,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-05 10:59:05] local.INFO: GPS data processed {"connection_id":207445,"processed":0,"errors":0,"total":1} 
[2026-10-05 10:59:05] local.INFO: Acknowledgment sent {"connection_id":207445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:59:07] local.INFO: TCP Data received {"connection_id":204358,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:59:07] local.INFO: Processing buffer {"connection_id":204358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:59:07] local.INFO: IMEI packet received {"connection_id":204358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 10:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":204358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:59:14] local.INFO: TCP Data received {"connection_id":204359,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:59:14] local.INFO: Processing buffer {"connection_id":204359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:59:14] local.INFO: IMEI packet received {"connection_id":204359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":204359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:59:35] local.INFO: TCP Data received {"connection_id":204359,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:59:35] local.INFO: Processing buffer {"connection_id":204359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:59:35] local.INFO: IMEI packet received {"connection_id":204359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":204359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:59:35] local.INFO: TCP Data received {"connection_id":207445,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8917580100000000000000000000000000..."} 
[2026-10-05 10:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8917580100000000000000000000000000..."} 
[2026-10-05 10:59:35] local.INFO: Processing buffer {"connection_id":207445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8917580100000000000000000000000000..."} 
[2026-10-05 10:59:35] local.INFO: Packet analysis {"connection_id":207445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a89"} 
[2026-10-05 10:59:35] local.INFO: Extracted packet for processing {"connection_id":207445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a89"} 
[2026-10-05 10:59: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-10-05 10:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24983300774821888,"note":"Value kept but may cause issues"} 
[2026-10-05 10:59:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 10:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791178119000,"timestamp_ms":1791178119000,"timestamp_seconds":1791178119,"priority":1,"record_length":96,"hex_timestamp":"000001a10a891758"} 
[2026-10-05 10:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:59:35] 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-10-05 10:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-05 10:59:35] 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-10-05 10:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":207445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":207445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 10:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":207445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 10:59: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-10-05 10:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 10:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 10:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":207445,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-05 10:59:35] local.INFO: GPS data processed {"connection_id":207445,"processed":0,"errors":0,"total":1} 
[2026-10-05 10:59:35] local.INFO: Acknowledgment sent {"connection_id":207445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:59:36] local.INFO: TCP Data received {"connection_id":204359,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:59:36] local.INFO: Processing buffer {"connection_id":204359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:59:36] local.INFO: IMEI packet received {"connection_id":204359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 10:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":204359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 10:59:37] local.INFO: TCP Data received {"connection_id":204359,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a889670012d7c154005fa4e10000600d029..."} 
[2026-10-05 10:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a889670012d7c154005fa4e10000600d029..."} 
[2026-10-05 10:59:37] local.INFO: Processing buffer {"connection_id":204359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a889670012d7c154005fa4e10000600d029..."} 
[2026-10-05 10:59:37] local.INFO: Packet analysis {"connection_id":204359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a88"} 
[2026-10-05 10:59:37] local.INFO: Extracted packet for processing {"connection_id":204359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a88"} 
[2026-10-05 10:59:37] local.INFO: GPS Element Parsed {"raw_longitude":763106624,"raw_latitude":100290064,"longitude_deg":76.3106624,"latitude_deg":10.0290064,"altitude":6,"angle":208,"satellites":41,"speed":29,"hex_longitude":"2d7c1540","hex_latitude":"05fa4e10","is_valid_coordinates":true} 
[2026-10-05 10: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-10-05 10:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541587456001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139541623431233536,"note":"Value kept but may cause issues"} 
[2026-10-05 10:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946259947959357440,"note":"Value kept but may cause issues"} 
[2026-10-05 10:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791178086000,"timestamp_ms":1791178086000,"timestamp_seconds":1791178086,"priority":1,"record_length":96,"hex_timestamp":"000001a10a889670"} 
[2026-10-05 10:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:59:37] 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-10-05 10: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 10:59:37] 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-10-05 10: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-10-05 10:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541587456001,"66":13472,"34":206,"87":10752,"24":29,"16":139541623431233536,"45":8946259947959357440},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-10-05 10:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541587456001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:59:37] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-05 10:59:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139541623431233536,"km_value":139541623431233.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946259947959357440,"description":"Unknown IO ID 45"} 
[2026-10-05 10:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541587456001,"power":13472,"unknown_34":206,"unknown_87":10752,"ignition":29,"odometer":null,"unknown_45":8946259947959357440}} 
[2026-10-05 10:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":204359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:59:37] local.INFO: GPS data processed {"connection_id":204359,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:59:37] local.INFO: Acknowledgment sent {"connection_id":204359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:59:38] local.INFO: TCP Data received {"connection_id":204359,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a88d8d8012d7c030005fa2ee8000500d229..."} 
[2026-10-05 10:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a88d8d8012d7c030005fa2ee8000500d229..."} 
[2026-10-05 10:59:38] local.INFO: Processing buffer {"connection_id":204359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a88d8d8012d7c030005fa2ee8000500d229..."} 
[2026-10-05 10:59:38] local.INFO: Packet analysis {"connection_id":204359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a88"} 
[2026-10-05 10:59:38] local.INFO: Extracted packet for processing {"connection_id":204359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a88"} 
[2026-10-05 10:59:38] local.INFO: GPS Element Parsed {"raw_longitude":763101952,"raw_latitude":100282088,"longitude_deg":76.3101952,"latitude_deg":10.0282088,"altitude":5,"angle":210,"satellites":41,"speed":22,"hex_longitude":"2d7c0300","hex_latitude":"05fa2ee8","is_valid_coordinates":true} 
[2026-10-05 10:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 10:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541590016001,"note":"Value kept but may cause issues"} 
[2026-10-05 10:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139542070107832320,"note":"Value kept but may cause issues"} 
[2026-10-05 10:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941123029632421888,"note":"Value kept but may cause issues"} 
[2026-10-05 10:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 10:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791178103000,"timestamp_ms":1791178103000,"timestamp_seconds":1791178103,"priority":1,"record_length":96,"hex_timestamp":"000001a10a88d8d8"} 
[2026-10-05 10:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 10:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 10:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-10-05 10:59: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-10-05 10:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 10:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 10:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 10:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 10:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 10:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 10:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 10:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 10:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541590016001,"66":13928,"34":206,"87":10752,"24":22,"16":139542070107832320,"45":8941123029632421888},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-10-05 10:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 10:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 10:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541590016001,"description":"Unknown IO ID 0"} 
[2026-10-05 10:59:38] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-05 10:59:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 10:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139542070107832320,"km_value":139542070107832.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 10:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941123029632421888,"description":"Unknown IO ID 45"} 
[2026-10-05 10:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541590016001,"power":13928,"unknown_34":206,"unknown_87":10752,"ignition":22,"odometer":null,"unknown_45":8941123029632421888}} 
[2026-10-05 10:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":204359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966767,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 10:59:38] local.INFO: GPS data processed {"connection_id":204359,"processed":1,"errors":0,"total":1} 
[2026-10-05 10:59:38] local.INFO: Acknowledgment sent {"connection_id":204359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 10:59:44] local.INFO: TCP Data received {"connection_id":204500,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:59:44] local.INFO: Processing buffer {"connection_id":204500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 10:59:44] local.INFO: IMEI packet received {"connection_id":204500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 10:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":204500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 10:59:59] local.INFO: TCP Data received {"connection_id":204501,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:59:59] local.INFO: Processing buffer {"connection_id":204501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 10:59:59] local.INFO: IMEI packet received {"connection_id":204501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 10:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":204501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:00:05] local.INFO: TCP Data received {"connection_id":204501,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:00:05] local.INFO: Processing buffer {"connection_id":204501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:00:05] local.INFO: IMEI packet received {"connection_id":204501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":204501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:00:06] local.INFO: TCP Data received {"connection_id":204501,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a891b40012d7bf18005fa10d0000300d02a..."} 
[2026-10-05 11:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a891b40012d7bf18005fa10d0000300d02a..."} 
[2026-10-05 11:00:06] local.INFO: Processing buffer {"connection_id":204501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a891b40012d7bf18005fa10d0000300d02a..."} 
[2026-10-05 11:00:06] local.INFO: Packet analysis {"connection_id":204501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a89"} 
[2026-10-05 11:00:06] local.INFO: Extracted packet for processing {"connection_id":204501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a89"} 
[2026-10-05 11:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763097472,"raw_latitude":100274384,"longitude_deg":76.3097472,"latitude_deg":10.0274384,"altitude":3,"angle":208,"satellites":42,"speed":28,"hex_longitude":"2d7bf180","hex_latitude":"05fa10d0","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541594368001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139542499604561920,"note":"Value kept but may cause issues"} 
[2026-10-05 11:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935986111305410560,"note":"Value kept but may cause issues"} 
[2026-10-05 11:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791178120000,"timestamp_ms":1791178120000,"timestamp_seconds":1791178120,"priority":1,"record_length":96,"hex_timestamp":"000001a10a891b40"} 
[2026-10-05 11:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:00:06] 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-10-05 11: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-05 11:00:06] 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-10-05 11: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-10-05 11:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541594368001,"66":13678,"34":206,"87":10752,"24":28,"16":139542499604561920,"45":8935986111305410560},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-10-05 11:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541594368001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:00:06] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-05 11:00:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 11:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139542499604561920,"km_value":139542499604561.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935986111305410560,"description":"Unknown IO ID 45"} 
[2026-10-05 11:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541594368001,"power":13678,"unknown_34":206,"unknown_87":10752,"ignition":28,"odometer":null,"unknown_45":8935986111305410560}} 
[2026-10-05 11:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":204501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:00:06] local.INFO: GPS data processed {"connection_id":204501,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:00:06] local.INFO: Acknowledgment sent {"connection_id":204501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:00:06] local.INFO: TCP Data received {"connection_id":207445,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8969600100000000000000000000000000..."} 
[2026-10-05 11:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8969600100000000000000000000000000..."} 
[2026-10-05 11:00:06] local.INFO: Processing buffer {"connection_id":207445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8969600100000000000000000000000000..."} 
[2026-10-05 11:00:06] local.INFO: Packet analysis {"connection_id":207445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a89"} 
[2026-10-05 11:00:06] local.INFO: Extracted packet for processing {"connection_id":207445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a89"} 
[2026-10-05 11:00:06] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24983300774821888,"note":"Value kept but may cause issues"} 
[2026-10-05 11:00:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 11:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791178140000,"timestamp_ms":1791178140000,"timestamp_seconds":1791178140,"priority":1,"record_length":96,"hex_timestamp":"000001a10a896960"} 
[2026-10-05 11:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:00:06] 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-10-05 11: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-05 11:00:06] 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-10-05 11: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-10-05 11:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:00: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-10-05 11:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":207445,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-05 11:00:06] local.INFO: GPS data processed {"connection_id":207445,"processed":0,"errors":0,"total":1} 
[2026-10-05 11:00:06] local.INFO: Acknowledgment sent {"connection_id":207445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:00:37] local.INFO: TCP Data received {"connection_id":207445,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a89bb680100000000000000000000000000..."} 
[2026-10-05 11:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a89bb680100000000000000000000000000..."} 
[2026-10-05 11:00:37] local.INFO: Processing buffer {"connection_id":207445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a89bb680100000000000000000000000000..."} 
[2026-10-05 11:00:37] local.INFO: Packet analysis {"connection_id":207445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a89"} 
[2026-10-05 11:00:37] local.INFO: Extracted packet for processing {"connection_id":207445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a89"} 
[2026-10-05 11:00:37] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-05 11:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24983300774821888,"note":"Value kept but may cause issues"} 
[2026-10-05 11:00:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 11:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791178161000,"timestamp_ms":1791178161000,"timestamp_seconds":1791178161,"priority":1,"record_length":96,"hex_timestamp":"000001a10a89bb68"} 
[2026-10-05 11:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:00:37] 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-10-05 11:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-05 11:00:37] 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-10-05 11:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:00: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-10-05 11:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":207445,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-05 11:00:37] local.INFO: GPS data processed {"connection_id":207445,"processed":0,"errors":0,"total":1} 
[2026-10-05 11:00:37] local.INFO: Acknowledgment sent {"connection_id":207445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:00:38] local.INFO: TCP Data received {"connection_id":204501,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a894250012d7be04005f9f120000500cf28..."} 
[2026-10-05 11:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a894250012d7be04005f9f120000500cf28..."} 
[2026-10-05 11:00:38] local.INFO: Processing buffer {"connection_id":204501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a894250012d7be04005f9f120000500cf28..."} 
[2026-10-05 11:00:38] local.INFO: Packet analysis {"connection_id":204501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a89"} 
[2026-10-05 11:00:38] local.INFO: Extracted packet for processing {"connection_id":204501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a89"} 
[2026-10-05 11:00:38] local.INFO: GPS Element Parsed {"raw_longitude":763093056,"raw_latitude":100266272,"longitude_deg":76.3093056,"latitude_deg":10.0266272,"altitude":5,"angle":207,"satellites":40,"speed":37,"hex_longitude":"2d7be040","hex_latitude":"05f9f120","is_valid_coordinates":true} 
[2026-10-05 11:00: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-10-05 11:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541598720001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139542946281160704,"note":"Value kept but may cause issues"} 
[2026-10-05 11:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931060299211001856,"note":"Value kept but may cause issues"} 
[2026-10-05 11:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791178130000,"timestamp_ms":1791178130000,"timestamp_seconds":1791178130,"priority":1,"record_length":96,"hex_timestamp":"000001a10a894250"} 
[2026-10-05 11:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:00:38] 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-10-05 11:00: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 11:00:38] 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-10-05 11:00: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-10-05 11:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541598720001,"66":13928,"34":206,"87":10752,"24":37,"16":139542946281160704,"45":8931060299211001856},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-10-05 11:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541598720001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:00:38] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-05 11:00:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 11:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139542946281160704,"km_value":139542946281160.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931060299211001856,"description":"Unknown IO ID 45"} 
[2026-10-05 11:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541598720001,"power":13928,"unknown_34":206,"unknown_87":10752,"ignition":37,"odometer":null,"unknown_45":8931060299211001856}} 
[2026-10-05 11:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":204501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966769,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:00:38] local.INFO: GPS data processed {"connection_id":204501,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:00:38] local.INFO: Acknowledgment sent {"connection_id":204501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:00:59] local.INFO: TCP Data received {"connection_id":207446,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:00:59] local.INFO: Processing buffer {"connection_id":207446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:00:59] local.INFO: IMEI packet received {"connection_id":207446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":207446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:01:00] local.INFO: TCP Data received {"connection_id":207446,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:01:00] local.INFO: Processing buffer {"connection_id":207446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:01:00] local.INFO: IMEI packet received {"connection_id":207446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":207446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:01:05] local.INFO: TCP Data received {"connection_id":207446,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:01:05] local.INFO: Processing buffer {"connection_id":207446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:01:05] local.INFO: IMEI packet received {"connection_id":207446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":207446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:01:06] local.INFO: TCP Data received {"connection_id":207446,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8ac120012d7bff4005f934b8000f009a2a..."} 
[2026-10-05 11:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8ac120012d7bff4005f934b8000f009a2a..."} 
[2026-10-05 11:01:06] local.INFO: Processing buffer {"connection_id":207446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8ac120012d7bff4005f934b8000f009a2a..."} 
[2026-10-05 11:01:06] local.INFO: Packet analysis {"connection_id":207446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8a"} 
[2026-10-05 11:01:06] local.INFO: Extracted packet for processing {"connection_id":207446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8a"} 
[2026-10-05 11:01:06] local.INFO: GPS Element Parsed {"raw_longitude":763100992,"raw_latitude":100218040,"longitude_deg":76.3100992,"latitude_deg":10.021804,"altitude":15,"angle":154,"satellites":42,"speed":43,"hex_longitude":"2d7bff40","hex_latitude":"05f934b8","is_valid_coordinates":true} 
[2026-10-05 11:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541624064001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139545703650164736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930215874268456960,"note":"Value kept but may cause issues"} 
[2026-10-05 11:01:06] 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-10-05 11:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791178228000,"timestamp_ms":1791178228000,"timestamp_seconds":1791178228,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8ac120"} 
[2026-10-05 11:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:01:06] 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-10-05 11:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-10-05 11:01:06] 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-10-05 11:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541624064001,"66":13928,"250":206,"87":12800,"24":43,"16":139545703650164736,"45":8930215874268456960},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-10-05 11:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541624064001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:01:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 11:01:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 11:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139545703650164736,"km_value":139545703650164.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930215874268456960,"description":"Unknown IO ID 45"} 
[2026-10-05 11:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541624064001,"power":13928,"unknown_250":206,"unknown_87":12800,"ignition":43,"odometer":null,"unknown_45":8930215874268456960}} 
[2026-10-05 11:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":207446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:01:06] local.INFO: GPS data processed {"connection_id":207446,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:01:06] local.INFO: Acknowledgment sent {"connection_id":207446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:01:08] local.INFO: TCP Data received {"connection_id":207445,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8a0d700100000000000000000000000000..."} 
[2026-10-05 11:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8a0d700100000000000000000000000000..."} 
[2026-10-05 11:01:08] local.INFO: Processing buffer {"connection_id":207445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8a0d700100000000000000000000000000..."} 
[2026-10-05 11:01:08] local.INFO: Packet analysis {"connection_id":207445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8a"} 
[2026-10-05 11:01:08] local.INFO: Extracted packet for processing {"connection_id":207445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8a"} 
[2026-10-05 11:01:08] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-05 11:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24983300774821888,"note":"Value kept but may cause issues"} 
[2026-10-05 11:01:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 11:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791178182000,"timestamp_ms":1791178182000,"timestamp_seconds":1791178182,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8a0d70"} 
[2026-10-05 11:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:01:08] 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-10-05 11:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-05 11:01:08] 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-10-05 11:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:01: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-10-05 11:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":207445,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-05 11:01:08] local.INFO: GPS data processed {"connection_id":207445,"processed":0,"errors":0,"total":1} 
[2026-10-05 11:01:08] local.INFO: Acknowledgment sent {"connection_id":207445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:01:38] local.INFO: TCP Data received {"connection_id":207446,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8ae060012d7c0c8005f912f8000d00a32d..."} 
[2026-10-05 11:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8ae060012d7c0c8005f912f8000d00a32d..."} 
[2026-10-05 11:01:38] local.INFO: Processing buffer {"connection_id":207446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8ae060012d7c0c8005f912f8000d00a32d..."} 
[2026-10-05 11:01:38] local.INFO: Packet analysis {"connection_id":207446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8a"} 
[2026-10-05 11:01:38] local.INFO: Extracted packet for processing {"connection_id":207446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8a"} 
[2026-10-05 11:01:38] local.INFO: GPS Element Parsed {"raw_longitude":763104384,"raw_latitude":100209400,"longitude_deg":76.3104384,"latitude_deg":10.02094,"altitude":13,"angle":163,"satellites":45,"speed":45,"hex_longitude":"2d7c0c80","hex_latitude":"05f912f8","is_valid_coordinates":true} 
[2026-10-05 11:01: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-10-05 11:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541626368001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139546154621730816,"note":"Value kept but may cause issues"} 
[2026-10-05 11:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934930580126349312,"note":"Value kept but may cause issues"} 
[2026-10-05 11:01:38] 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-10-05 11:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791178236000,"timestamp_ms":1791178236000,"timestamp_seconds":1791178236,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8ae060"} 
[2026-10-05 11:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:01: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":104,"data_length":795,"current_offset":136} 
[2026-10-05 11:01:38] 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-10-05 11:01: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-10-05 11:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541626368001,"66":13906,"250":206,"87":12800,"24":45,"16":139546154621730816,"45":8934930580126349312},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-10-05 11:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541626368001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:01:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 11:01:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 11:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139546154621730816,"km_value":139546154621730.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934930580126349312,"description":"Unknown IO ID 45"} 
[2026-10-05 11:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541626368001,"power":13906,"unknown_250":206,"unknown_87":12800,"ignition":45,"odometer":null,"unknown_45":8934930580126349312}} 
[2026-10-05 11:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":207446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:01:38] local.INFO: GPS data processed {"connection_id":207446,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:01:38] local.INFO: Acknowledgment sent {"connection_id":207446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:01:39] local.INFO: TCP Data received {"connection_id":205899,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:01:39] local.INFO: Processing buffer {"connection_id":205899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:01:39] local.INFO: IMEI packet received {"connection_id":205899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":205899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:01:44] local.INFO: TCP Data received {"connection_id":205899,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:01:44] local.INFO: Processing buffer {"connection_id":205899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:01:44] local.INFO: IMEI packet received {"connection_id":205899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":205899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:01:45] local.INFO: TCP Data received {"connection_id":205899,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8a5f780100000000000000000000000000..."} 
[2026-10-05 11:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8a5f780100000000000000000000000000..."} 
[2026-10-05 11:01:45] local.INFO: Processing buffer {"connection_id":205899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8a5f780100000000000000000000000000..."} 
[2026-10-05 11:01:45] local.INFO: Packet analysis {"connection_id":205899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8a"} 
[2026-10-05 11:01:45] local.INFO: Extracted packet for processing {"connection_id":205899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8a"} 
[2026-10-05 11:01: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-10-05 11:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24983300774821888,"note":"Value kept but may cause issues"} 
[2026-10-05 11:01:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 11:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791178203000,"timestamp_ms":1791178203000,"timestamp_seconds":1791178203,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8a5f78"} 
[2026-10-05 11:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-05 11:01:45] 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-10-05 11:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":205899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":205899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":205899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:01:45] 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-10-05 11:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":205899,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-05 11:01:45] local.INFO: GPS data processed {"connection_id":205899,"processed":0,"errors":0,"total":1} 
[2026-10-05 11:01:45] local.INFO: Acknowledgment sent {"connection_id":205899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:01:56] local.INFO: TCP Data received {"connection_id":204360,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:01:56] local.INFO: Processing buffer {"connection_id":204360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:01:56] local.INFO: IMEI packet received {"connection_id":204360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":204360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:02:01] local.INFO: TCP Data received {"connection_id":204360,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:02:01] local.INFO: Processing buffer {"connection_id":204360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:02:01] local.INFO: IMEI packet received {"connection_id":204360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":204360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:02:05] local.INFO: TCP Data received {"connection_id":204360,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:02:05] local.INFO: Processing buffer {"connection_id":204360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:02:05] local.INFO: IMEI packet received {"connection_id":204360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":204360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:02:07] local.INFO: TCP Data received {"connection_id":204360,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8affa0012d7c168005f8eee8000c00a52a..."} 
[2026-10-05 11:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8affa0012d7c168005f8eee8000c00a52a..."} 
[2026-10-05 11:02:07] local.INFO: Processing buffer {"connection_id":204360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8affa0012d7c168005f8eee8000c00a52a..."} 
[2026-10-05 11:02:07] local.INFO: Packet analysis {"connection_id":204360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8a"} 
[2026-10-05 11:02:07] local.INFO: Extracted packet for processing {"connection_id":204360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8a"} 
[2026-10-05 11:02:07] local.INFO: GPS Element Parsed {"raw_longitude":763106944,"raw_latitude":100200168,"longitude_deg":76.3106944,"latitude_deg":10.0200168,"altitude":12,"angle":165,"satellites":42,"speed":46,"hex_longitude":"2d7c1680","hex_latitude":"05f8eee8","is_valid_coordinates":true} 
[2026-10-05 11:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541628416001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139546618478198784,"note":"Value kept but may cause issues"} 
[2026-10-05 11:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938660123565553664,"note":"Value kept but may cause issues"} 
[2026-10-05 11:02:07] 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-10-05 11:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791178244000,"timestamp_ms":1791178244000,"timestamp_seconds":1791178244,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8affa0"} 
[2026-10-05 11:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:02: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-10-05 11:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 11:02:07] 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-10-05 11:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541628416001,"66":13428,"250":206,"87":12800,"24":46,"16":139546618478198784,"45":8938660123565553664},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-10-05 11:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541628416001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:02:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 11:02:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 11:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139546618478198784,"km_value":139546618478198.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938660123565553664,"description":"Unknown IO ID 45"} 
[2026-10-05 11:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541628416001,"power":13428,"unknown_250":206,"unknown_87":12800,"ignition":46,"odometer":null,"unknown_45":8938660123565553664}} 
[2026-10-05 11:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":204360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966772,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:02:07] local.INFO: GPS data processed {"connection_id":204360,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:02:07] local.INFO: Acknowledgment sent {"connection_id":204360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:02:08] local.INFO: TCP Data received {"connection_id":204360,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8b2e80012d7c1f4005f8cca0000d00a32b..."} 
[2026-10-05 11:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8b2e80012d7c1f4005f8cca0000d00a32b..."} 
[2026-10-05 11:02:08] local.INFO: Processing buffer {"connection_id":204360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8b2e80012d7c1f4005f8cca0000d00a32b..."} 
[2026-10-05 11:02:08] local.INFO: Packet analysis {"connection_id":204360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8b"} 
[2026-10-05 11:02:08] local.INFO: Extracted packet for processing {"connection_id":204360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8b"} 
[2026-10-05 11:02:08] local.INFO: GPS Element Parsed {"raw_longitude":763109184,"raw_latitude":100191392,"longitude_deg":76.3109184,"latitude_deg":10.0191392,"altitude":13,"angle":163,"satellites":43,"speed":19,"hex_longitude":"2d7c1f40","hex_latitude":"05f8cca0","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541630464001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139547056564862976,"note":"Value kept but may cause issues"} 
[2026-10-05 11:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941474873330296832,"note":"Value kept but may cause issues"} 
[2026-10-05 11:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791178256000,"timestamp_ms":1791178256000,"timestamp_seconds":1791178256,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8b2e80"} 
[2026-10-05 11:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:02: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-10-05 11: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 11:02:08] 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-10-05 11: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-10-05 11:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541630464001,"66":13820,"74":206,"87":12800,"24":19,"16":139547056564862976,"45":8941474873330296832},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,87,24,16,45]} 
[2026-10-05 11:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541630464001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:02:08] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-10-05 11:02:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 11:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139547056564862976,"km_value":139547056564862.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941474873330296832,"description":"Unknown IO ID 45"} 
[2026-10-05 11:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541630464001,"power":13820,"unknown_74":206,"unknown_87":12800,"ignition":19,"odometer":null,"unknown_45":8941474873330296832}} 
[2026-10-05 11:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":204360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:02:08] local.INFO: GPS data processed {"connection_id":204360,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:02:08] local.INFO: Acknowledgment sent {"connection_id":204360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:02:16] local.INFO: TCP Data received {"connection_id":205899,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8ab1800100000000000000000000000000..."} 
[2026-10-05 11:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8ab1800100000000000000000000000000..."} 
[2026-10-05 11:02:16] local.INFO: Processing buffer {"connection_id":205899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8ab1800100000000000000000000000000..."} 
[2026-10-05 11:02:16] local.INFO: Packet analysis {"connection_id":205899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8a"} 
[2026-10-05 11:02:16] local.INFO: Extracted packet for processing {"connection_id":205899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8a"} 
[2026-10-05 11:02: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-10-05 11:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24983300774821888,"note":"Value kept but may cause issues"} 
[2026-10-05 11:02:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 11:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791178224000,"timestamp_ms":1791178224000,"timestamp_seconds":1791178224,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8ab180"} 
[2026-10-05 11:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1024,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-05 11:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:02:16] 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-10-05 11:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":205899,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-05 11:02:16] local.INFO: GPS data processed {"connection_id":205899,"processed":0,"errors":0,"total":1} 
[2026-10-05 11:02:16] local.INFO: Acknowledgment sent {"connection_id":205899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:02:43] local.INFO: TCP Data received {"connection_id":204360,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8c72b8012d7c51c005f778b8000b00aa2c..."} 
[2026-10-05 11:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8c72b8012d7c51c005f778b8000b00aa2c..."} 
[2026-10-05 11:02:43] local.INFO: Processing buffer {"connection_id":204360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8c72b8012d7c51c005f778b8000b00aa2c..."} 
[2026-10-05 11:02:43] local.INFO: Packet analysis {"connection_id":204360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8c"} 
[2026-10-05 11:02:43] local.INFO: Extracted packet for processing {"connection_id":204360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8c"} 
[2026-10-05 11:02:43] local.INFO: GPS Element Parsed {"raw_longitude":763122112,"raw_latitude":100104376,"longitude_deg":76.3122112,"latitude_deg":10.0104376,"altitude":11,"angle":170,"satellites":44,"speed":56,"hex_longitude":"2d7c51c0","hex_latitude":"05f778b8","is_valid_coordinates":true} 
[2026-10-05 11:02: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-10-05 11:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541652992001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139551330057322496,"note":"Value kept but may cause issues"} 
[2026-10-05 11:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8956393047073726464,"note":"Value kept but may cause issues"} 
[2026-10-05 11:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791178339000,"timestamp_ms":1791178339000,"timestamp_seconds":1791178339,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8c72b8"} 
[2026-10-05 11:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:02: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-10-05 11:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 11:02:43] 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-10-05 11:02: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-10-05 11:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541652992001,"66":13526,"142":206,"87":12800,"24":56,"16":139551330057322496,"45":8956393047073726464},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-10-05 11:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541652992001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:02:43] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-10-05 11:02:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 11:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139551330057322496,"km_value":139551330057322.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8956393047073726464,"description":"Unknown IO ID 45"} 
[2026-10-05 11:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541652992001,"power":13526,"unknown_142":206,"unknown_87":12800,"ignition":56,"odometer":null,"unknown_45":8956393047073726464}} 
[2026-10-05 11:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":204360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966774,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:02:43] local.INFO: GPS data processed {"connection_id":204360,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:02:43] local.INFO: Acknowledgment sent {"connection_id":204360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:02:47] local.INFO: TCP Data received {"connection_id":205899,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8b03880100000000000000000000000000..."} 
[2026-10-05 11:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8b03880100000000000000000000000000..."} 
[2026-10-05 11:02:47] local.INFO: Processing buffer {"connection_id":205899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8b03880100000000000000000000000000..."} 
[2026-10-05 11:02:47] local.INFO: Packet analysis {"connection_id":205899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8b"} 
[2026-10-05 11:02:47] local.INFO: Extracted packet for processing {"connection_id":205899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8b"} 
[2026-10-05 11:02: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-10-05 11:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24983300774821888,"note":"Value kept but may cause issues"} 
[2026-10-05 11:02:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 11:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791178245000,"timestamp_ms":1791178245000,"timestamp_seconds":1791178245,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8b0388"} 
[2026-10-05 11:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:02:47] 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-10-05 11:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-05 11:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":205899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":205899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":205899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:02:47] 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-10-05 11:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":205899,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-05 11:02:47] local.INFO: GPS data processed {"connection_id":205899,"processed":0,"errors":0,"total":1} 
[2026-10-05 11:02:47] local.INFO: Acknowledgment sent {"connection_id":205899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:03:00] local.INFO: TCP Data received {"connection_id":204361,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:03:00] local.INFO: Processing buffer {"connection_id":204361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:03:00] local.INFO: IMEI packet received {"connection_id":204361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":204361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:03:03] local.INFO: TCP Data received {"connection_id":204361,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:03:03] local.INFO: Processing buffer {"connection_id":204361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:03:03] local.INFO: IMEI packet received {"connection_id":204361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":204361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:03:04] local.INFO: TCP Data received {"connection_id":204361,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8c8e10012d7c574005f75508000f00ab2b..."} 
[2026-10-05 11:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8c8e10012d7c574005f75508000f00ab2b..."} 
[2026-10-05 11:03:04] local.INFO: Processing buffer {"connection_id":204361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8c8e10012d7c574005f75508000f00ab2b..."} 
[2026-10-05 11:03:04] local.INFO: Packet analysis {"connection_id":204361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8c"} 
[2026-10-05 11:03:04] local.INFO: Extracted packet for processing {"connection_id":204361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8c"} 
[2026-10-05 11:03:04] local.INFO: GPS Element Parsed {"raw_longitude":763123520,"raw_latitude":100095240,"longitude_deg":76.312352,"latitude_deg":10.009524,"altitude":15,"angle":171,"satellites":43,"speed":48,"hex_longitude":"2d7c5740","hex_latitude":"05f75508","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541654784001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139551776733921280,"note":"Value kept but may cause issues"} 
[2026-10-05 11:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8958152265675880448,"note":"Value kept but may cause issues"} 
[2026-10-05 11:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791178346000,"timestamp_ms":1791178346000,"timestamp_seconds":1791178346,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8c8e10"} 
[2026-10-05 11:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:03:04] 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-10-05 11: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-05 11:03: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-10-05 11: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-10-05 11:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":204361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":204361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":204361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541654784001,"66":13939,"142":206,"87":12800,"24":48,"16":139551776733921280,"45":8958152265675880448},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-10-05 11:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541654784001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:03:04] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-10-05 11:03:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 11:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139551776733921280,"km_value":139551776733921.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8958152265675880448,"description":"Unknown IO ID 45"} 
[2026-10-05 11:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541654784001,"power":13939,"unknown_142":206,"unknown_87":12800,"ignition":48,"odometer":null,"unknown_45":8958152265675880448}} 
[2026-10-05 11:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":204361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:03:04] local.INFO: GPS data processed {"connection_id":204361,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:03:04] local.INFO: Acknowledgment sent {"connection_id":204361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:03:18] local.INFO: TCP Data received {"connection_id":205899,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8b4dc0012d186580072181d0004e011209..."} 
[2026-10-05 11:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8b4dc0012d186580072181d0004e011209..."} 
[2026-10-05 11:03:18] local.INFO: Processing buffer {"connection_id":205899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8b4dc0012d186580072181d0004e011209..."} 
[2026-10-05 11:03:18] local.INFO: Packet analysis {"connection_id":205899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8b"} 
[2026-10-05 11:03:18] local.INFO: Extracted packet for processing {"connection_id":205899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8b"} 
[2026-10-05 11:03:18] local.INFO: GPS Element Parsed {"raw_longitude":756573568,"raw_latitude":119636432,"longitude_deg":75.6573568,"latitude_deg":11.9636432,"altitude":78,"angle":274,"satellites":9,"speed":38,"hex_longitude":"2d186580","hex_latitude":"072181d0","is_valid_coordinates":true} 
[2026-10-05 11:03: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-10-05 11:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24983300774821888,"note":"Value kept but may cause issues"} 
[2026-10-05 11:03:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 11:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791178264000,"timestamp_ms":1791178264000,"timestamp_seconds":1791178264,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8b4dc0"} 
[2026-10-05 11:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:03:18] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-05 11:03:18] 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-10-05 11:03: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-10-05 11:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":205899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":205899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":205899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:03:18] 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-10-05 11:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":14265,"103":206,"83":41984,"24":38,"16":24983300774821888},"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]} 
[2026-10-05 11:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-05 11:03:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 11:03:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24983300774821888,"km_value":24983300774821.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:03:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null}} 
[2026-10-05 11:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":205899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:03:18] local.INFO: GPS data processed {"connection_id":205899,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:03:18] local.INFO: Acknowledgment sent {"connection_id":205899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:03:34] local.INFO: TCP Data received {"connection_id":207447,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:03:34] local.INFO: Processing buffer {"connection_id":207447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:03:34] local.INFO: IMEI packet received {"connection_id":207447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":207447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:03:37] local.INFO: TCP Data received {"connection_id":204361,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8ca968012d7c5d0005f73208000e00ab28..."} 
[2026-10-05 11:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8ca968012d7c5d0005f73208000e00ab28..."} 
[2026-10-05 11:03:37] local.INFO: Processing buffer {"connection_id":204361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8ca968012d7c5d0005f73208000e00ab28..."} 
[2026-10-05 11:03:37] local.INFO: Packet analysis {"connection_id":204361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8c"} 
[2026-10-05 11:03:37] local.INFO: Extracted packet for processing {"connection_id":204361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8c"} 
[2026-10-05 11:03:37] local.INFO: GPS Element Parsed {"raw_longitude":763124992,"raw_latitude":100086280,"longitude_deg":76.3124992,"latitude_deg":10.008628,"altitude":14,"angle":171,"satellites":40,"speed":54,"hex_longitude":"2d7c5d00","hex_latitude":"05f73208","is_valid_coordinates":true} 
[2026-10-05 11:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541656576001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139552219115552768,"note":"Value kept but may cause issues"} 
[2026-10-05 11:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8959700378045450240,"note":"Value kept but may cause issues"} 
[2026-10-05 11:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791178353000,"timestamp_ms":1791178353000,"timestamp_seconds":1791178353,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8ca968"} 
[2026-10-05 11:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:03:37] 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-10-05 11:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-10-05 11:03:37] 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-10-05 11:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541656576001,"66":13798,"142":206,"87":12800,"24":54,"16":139552219115552768,"45":8959700378045450240},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-10-05 11:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541656576001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:03:37] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-10-05 11:03:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 11:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139552219115552768,"km_value":139552219115552.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8959700378045450240,"description":"Unknown IO ID 45"} 
[2026-10-05 11:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541656576001,"power":13798,"unknown_142":206,"unknown_87":12800,"ignition":54,"odometer":null,"unknown_45":8959700378045450240}} 
[2026-10-05 11:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":204361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:03:37] local.INFO: GPS data processed {"connection_id":204361,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:03:37] local.INFO: Acknowledgment sent {"connection_id":204361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:03:39] local.INFO: TCP Data received {"connection_id":207447,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:03:39] local.INFO: Processing buffer {"connection_id":207447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:03:39] local.INFO: IMEI packet received {"connection_id":207447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":207447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:03:40] local.INFO: TCP Data received {"connection_id":207447,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8b5590012d185e00072183280050011e09..."} 
[2026-10-05 11:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8b5590012d185e00072183280050011e09..."} 
[2026-10-05 11:03:40] local.INFO: Processing buffer {"connection_id":207447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8b5590012d185e00072183280050011e09..."} 
[2026-10-05 11:03:40] local.INFO: Packet analysis {"connection_id":207447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8b"} 
[2026-10-05 11:03:40] local.INFO: Extracted packet for processing {"connection_id":207447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8b"} 
[2026-10-05 11:03:40] local.INFO: GPS Element Parsed {"raw_longitude":756571648,"raw_latitude":119636776,"longitude_deg":75.6571648,"latitude_deg":11.9636776,"altitude":80,"angle":286,"satellites":9,"speed":40,"hex_longitude":"2d185e00","hex_latitude":"07218328","is_valid_coordinates":true} 
[2026-10-05 11:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541635584001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24983390969135104,"note":"Value kept but may cause issues"} 
[2026-10-05 11:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757951997673328640,"note":"Value kept but may cause issues"} 
[2026-10-05 11:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791178266000,"timestamp_ms":1791178266000,"timestamp_seconds":1791178266,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8b5590"} 
[2026-10-05 11:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:03:40] 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-10-05 11:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-05 11:03:40] 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-10-05 11:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":207447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":207447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":207447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:03:40] 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-10-05 11:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541635584001,"66":14243,"103":206,"83":41984,"24":40,"16":24983390969135104,"45":1757951997673328640},"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-10-05 11:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541635584001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:03:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 11:03:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24983390969135104,"km_value":24983390969135.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757951997673328640,"description":"Unknown IO ID 45"} 
[2026-10-05 11:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541635584001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1757951997673328640}} 
[2026-10-05 11:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":207447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:03:40] local.INFO: GPS data processed {"connection_id":207447,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:03:40] local.INFO: Acknowledgment sent {"connection_id":207447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:04:05] local.INFO: TCP Data received {"connection_id":204502,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:04:05] local.INFO: Processing buffer {"connection_id":204502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:04:05] local.INFO: IMEI packet received {"connection_id":204502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":204502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:04:05] local.INFO: TCP Data received {"connection_id":204502,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:04:05] local.INFO: Processing buffer {"connection_id":204502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:04:05] local.INFO: IMEI packet received {"connection_id":204502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":204502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:04:09] local.INFO: TCP Data received {"connection_id":204502,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:04:09] local.INFO: Processing buffer {"connection_id":204502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:04:09] local.INFO: IMEI packet received {"connection_id":204502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":204502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:04:11] local.INFO: TCP Data received {"connection_id":207447,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8b7ca0012d183d00072192280051012409..."} 
[2026-10-05 11:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8b7ca0012d183d00072192280051012409..."} 
[2026-10-05 11:04:11] local.INFO: Processing buffer {"connection_id":207447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8b7ca0012d183d00072192280051012409..."} 
[2026-10-05 11:04:11] local.INFO: Packet analysis {"connection_id":207447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8b"} 
[2026-10-05 11:04:11] local.INFO: Extracted packet for processing {"connection_id":207447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8b"} 
[2026-10-05 11:04:11] local.INFO: GPS Element Parsed {"raw_longitude":756563200,"raw_latitude":119640616,"longitude_deg":75.65632,"latitude_deg":11.9640616,"altitude":81,"angle":292,"satellites":9,"speed":30,"hex_longitude":"2d183d00","hex_latitude":"07219228","is_valid_coordinates":true} 
[2026-10-05 11:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541636096001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24983833350766592,"note":"Value kept but may cause issues"} 
[2026-10-05 11:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755840935348086784,"note":"Value kept but may cause issues"} 
[2026-10-05 11:04:11] 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-10-05 11:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791178276000,"timestamp_ms":1791178276000,"timestamp_seconds":1791178276,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8b7ca0"} 
[2026-10-05 11:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:04:11] 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-10-05 11:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-10-05 11:04:11] 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-10-05 11:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:04:11] 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-10-05 11:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541636096001,"66":13287,"106":206,"83":41984,"24":30,"16":24983833350766592,"45":1755840935348086784},"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-10-05 11:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541636096001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:04:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-10-05 11:04:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24983833350766592,"km_value":24983833350766.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755840935348086784,"description":"Unknown IO ID 45"} 
[2026-10-05 11:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541636096001,"power":13287,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1755840935348086784}} 
[2026-10-05 11:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":207447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:04:11] local.INFO: GPS data processed {"connection_id":207447,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:04:11] local.INFO: Acknowledgment sent {"connection_id":207447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:04:13] local.INFO: TCP Data received {"connection_id":204502,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8cc4c0012d7c61c005f70e40000c00ad2a..."} 
[2026-10-05 11:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8cc4c0012d7c61c005f70e40000c00ad2a..."} 
[2026-10-05 11:04:13] local.INFO: Processing buffer {"connection_id":204502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8cc4c0012d7c61c005f70e40000c00ad2a..."} 
[2026-10-05 11:04:13] local.INFO: Packet analysis {"connection_id":204502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8c"} 
[2026-10-05 11:04:13] local.INFO: Extracted packet for processing {"connection_id":204502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8c"} 
[2026-10-05 11:04:13] local.INFO: GPS Element Parsed {"raw_longitude":763126208,"raw_latitude":100077120,"longitude_deg":76.3126208,"latitude_deg":10.007712,"altitude":12,"angle":173,"satellites":42,"speed":51,"hex_longitude":"2d7c61c0","hex_latitude":"05f70e40","is_valid_coordinates":true} 
[2026-10-05 11:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541658368001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139552665792151552,"note":"Value kept but may cause issues"} 
[2026-10-05 11:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961318859159242752,"note":"Value kept but may cause issues"} 
[2026-10-05 11:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791178360000,"timestamp_ms":1791178360000,"timestamp_seconds":1791178360,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8cc4c0"} 
[2026-10-05 11:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:04:13] 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-10-05 11:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 11:04: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-10-05 11:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":204502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":204502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":204502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541658368001,"66":13852,"142":206,"87":12800,"24":51,"16":139552665792151552,"45":8961318859159242752},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-10-05 11:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541658368001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:04:13] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-10-05 11:04:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 11:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139552665792151552,"km_value":139552665792151.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961318859159242752,"description":"Unknown IO ID 45"} 
[2026-10-05 11:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541658368001,"power":13852,"unknown_142":206,"unknown_87":12800,"ignition":51,"odometer":null,"unknown_45":8961318859159242752}} 
[2026-10-05 11:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":204502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966780,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:04:13] local.INFO: GPS data processed {"connection_id":204502,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:04:13] local.INFO: Acknowledgment sent {"connection_id":204502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:04:34] local.INFO: TCP Data received {"connection_id":207448,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:04:34] local.INFO: Processing buffer {"connection_id":207448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:04:34] local.INFO: IMEI packet received {"connection_id":207448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":207448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:04:39] local.INFO: TCP Data received {"connection_id":207448,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:04:39] local.INFO: Processing buffer {"connection_id":207448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:04:39] local.INFO: IMEI packet received {"connection_id":207448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":207448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:04:40] local.INFO: TCP Data received {"connection_id":207448,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8b97f8012d182c8007219ab80052013509..."} 
[2026-10-05 11:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8b97f8012d182c8007219ab80052013509..."} 
[2026-10-05 11:04:40] local.INFO: Processing buffer {"connection_id":207448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8b97f8012d182c8007219ab80052013509..."} 
[2026-10-05 11:04:40] local.INFO: Packet analysis {"connection_id":207448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8b"} 
[2026-10-05 11:04:40] local.INFO: Extracted packet for processing {"connection_id":207448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8b"} 
[2026-10-05 11:04:40] local.INFO: GPS Element Parsed {"raw_longitude":756558976,"raw_latitude":119642808,"longitude_deg":75.6558976,"latitude_deg":11.9642808,"altitude":82,"angle":309,"satellites":9,"speed":17,"hex_longitude":"2d182c80","hex_latitude":"07219ab8","is_valid_coordinates":true} 
[2026-10-05 11:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541638656001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984060984033280,"note":"Value kept but may cause issues"} 
[2026-10-05 11:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746552261117618176,"note":"Value kept but may cause issues"} 
[2026-10-05 11:04:40] 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-10-05 11:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791178283000,"timestamp_ms":1791178283000,"timestamp_seconds":1791178283,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8b97f8"} 
[2026-10-05 11:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:04:40] 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-10-05 11:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-10-05 11:04:40] 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-10-05 11:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":207448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":207448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":207448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:04:40] 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-10-05 11:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541638656001,"66":13135,"106":206,"83":41984,"24":17,"16":24984060984033280,"45":1746552261117618176},"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-10-05 11:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541638656001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:04:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-10-05 11:04:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984060984033280,"km_value":24984060984033.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746552261117618176,"description":"Unknown IO ID 45"} 
[2026-10-05 11:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541638656001,"power":13135,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1746552261117618176}} 
[2026-10-05 11:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":207448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:04:40] local.INFO: GPS data processed {"connection_id":207448,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:04:40] local.INFO: Acknowledgment sent {"connection_id":207448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:04:44] local.INFO: TCP Data received {"connection_id":204502,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8e5b00012d7ca90005f55a90000d00ab25..."} 
[2026-10-05 11:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8e5b00012d7ca90005f55a90000d00ab25..."} 
[2026-10-05 11:04:44] local.INFO: Processing buffer {"connection_id":204502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8e5b00012d7ca90005f55a90000d00ab25..."} 
[2026-10-05 11:04:44] local.INFO: Packet analysis {"connection_id":204502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8e"} 
[2026-10-05 11:04:44] local.INFO: Extracted packet for processing {"connection_id":204502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8e"} 
[2026-10-05 11:04:44] local.INFO: GPS Element Parsed {"raw_longitude":763144448,"raw_latitude":99965584,"longitude_deg":76.3144448,"latitude_deg":9.9965584,"altitude":13,"angle":171,"satellites":37,"speed":52,"hex_longitude":"2d7ca900","hex_latitude":"05f55a90","is_valid_coordinates":true} 
[2026-10-05 11:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541684736001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139558146170421248,"note":"Value kept but may cause issues"} 
[2026-10-05 11:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980811001267972096,"note":"Value kept but may cause issues"} 
[2026-10-05 11:04:44] 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-10-05 11:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791178464000,"timestamp_ms":1791178464000,"timestamp_seconds":1791178464,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8e5b00"} 
[2026-10-05 11:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-10-05 11:04:44] 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-10-05 11:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":204502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":204502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":204502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541684736001,"66":13798,"164":206,"87":12800,"24":52,"16":139558146170421248,"45":8980811001267972096},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,87,24,16,45]} 
[2026-10-05 11:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541684736001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:04:44] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-10-05 11:04:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 11:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139558146170421248,"km_value":139558146170421.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980811001267972096,"description":"Unknown IO ID 45"} 
[2026-10-05 11:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541684736001,"power":13798,"unknown_164":206,"unknown_87":12800,"ignition":52,"odometer":null,"unknown_45":8980811001267972096}} 
[2026-10-05 11:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":204502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:04:44] local.INFO: GPS data processed {"connection_id":204502,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:04:44] local.INFO: Acknowledgment sent {"connection_id":204502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:04:59] local.INFO: TCP Data received {"connection_id":204362,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204362,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:04:59] local.INFO: Processing buffer {"connection_id":204362,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:04:59] local.INFO: IMEI packet received {"connection_id":204362,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":204362,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:05:11] local.INFO: TCP Data received {"connection_id":207448,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8bab80012d18294007219df80052014309..."} 
[2026-10-05 11:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8bab80012d18294007219df80052014309..."} 
[2026-10-05 11:05:11] local.INFO: Processing buffer {"connection_id":207448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8bab80012d18294007219df80052014309..."} 
[2026-10-05 11:05:11] local.INFO: Packet analysis {"connection_id":207448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8b"} 
[2026-10-05 11:05:11] local.INFO: Extracted packet for processing {"connection_id":207448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8b"} 
[2026-10-05 11:05:11] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643640,"longitude_deg":75.6558144,"latitude_deg":11.964364,"altitude":82,"angle":323,"satellites":9,"speed":5,"hex_longitude":"2d182940","hex_latitude":"07219df8","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541640448001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984116818608128,"note":"Value kept but may cause issues"} 
[2026-10-05 11:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741907924002453504,"note":"Value kept but may cause issues"} 
[2026-10-05 11:05:11] 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-10-05 11:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791178288000,"timestamp_ms":1791178288000,"timestamp_seconds":1791178288,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8bab80"} 
[2026-10-05 11:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:05:11] 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-10-05 11: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-10-05 11:05:11] 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-10-05 11: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-10-05 11:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:05:11] 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-10-05 11:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541640448001,"66":13102,"106":206,"83":41984,"24":5,"16":24984116818608128,"45":1741907924002453504},"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-10-05 11:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541640448001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:05:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-10-05 11:05:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984116818608128,"km_value":24984116818608.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741907924002453504,"description":"Unknown IO ID 45"} 
[2026-10-05 11:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541640448001,"power":13102,"unknown_106":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1741907924002453504}} 
[2026-10-05 11:05:11] local.INFO: TCP Data received {"connection_id":204362,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204362,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:05:11] local.INFO: Processing buffer {"connection_id":204362,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:05:11] local.INFO: IMEI packet received {"connection_id":204362,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":204362,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":207448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:05:11] local.INFO: GPS data processed {"connection_id":207448,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:05:11] local.INFO: Acknowledgment sent {"connection_id":207448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:05:14] local.INFO: TCP Data received {"connection_id":204362,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8e7658012d7caf0005f53820000d00a92d..."} 
[2026-10-05 11:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8e7658012d7caf0005f53820000d00a92d..."} 
[2026-10-05 11:05:14] local.INFO: Processing buffer {"connection_id":204362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8e7658012d7caf0005f53820000d00a92d..."} 
[2026-10-05 11:05:14] local.INFO: Packet analysis {"connection_id":204362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8e"} 
[2026-10-05 11:05:14] local.INFO: Extracted packet for processing {"connection_id":204362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8e"} 
[2026-10-05 11:05:14] local.INFO: GPS Element Parsed {"raw_longitude":763145984,"raw_latitude":99956768,"longitude_deg":76.3145984,"latitude_deg":9.9956768,"altitude":13,"angle":169,"satellites":45,"speed":43,"hex_longitude":"2d7caf00","hex_latitude":"05f53820","is_valid_coordinates":true} 
[2026-10-05 11:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541686784001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139558579962118144,"note":"Value kept but may cause issues"} 
[2026-10-05 11:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982710957358354432,"note":"Value kept but may cause issues"} 
[2026-10-05 11:05:14] 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-10-05 11:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791178471000,"timestamp_ms":1791178471000,"timestamp_seconds":1791178471,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8e7658"} 
[2026-10-05 11:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 11:05:14] 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-10-05 11:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":204362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":204362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":204362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541686784001,"66":13417,"164":206,"87":12800,"24":43,"16":139558579962118144,"45":8982710957358354432},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,87,24,16,45]} 
[2026-10-05 11:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541686784001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:05:14] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-10-05 11:05:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 11:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139558579962118144,"km_value":139558579962118.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982710957358354432,"description":"Unknown IO ID 45"} 
[2026-10-05 11:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541686784001,"power":13417,"unknown_164":206,"unknown_87":12800,"ignition":43,"odometer":null,"unknown_45":8982710957358354432}} 
[2026-10-05 11:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":204362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966784,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:05:14] local.INFO: GPS data processed {"connection_id":204362,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:05:14] local.INFO: Acknowledgment sent {"connection_id":204362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:05:17] local.INFO: TCP Data received {"connection_id":204503,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204503,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:05:17] local.INFO: Processing buffer {"connection_id":204503,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:05:17] local.INFO: IMEI packet received {"connection_id":204503,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 11:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":204503,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:05:21] local.INFO: TCP Data received {"connection_id":204503,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204503,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:05:21] local.INFO: Processing buffer {"connection_id":204503,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:05:21] local.INFO: IMEI packet received {"connection_id":204503,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 11:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":204503,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:05:22] local.INFO: TCP Data received {"connection_id":204503,"ip":"117.224.253.174","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8dfd40012c6b7bc0097be3c002f300052b..."} 
[2026-10-05 11:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8dfd40012c6b7bc0097be3c002f300052b..."} 
[2026-10-05 11:05:22] local.INFO: Processing buffer {"connection_id":204503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8dfd40012c6b7bc0097be3c002f300052b..."} 
[2026-10-05 11:05:22] local.INFO: Packet analysis {"connection_id":204503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8d"} 
[2026-10-05 11:05:22] local.INFO: Extracted packet for processing {"connection_id":204503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8d"} 
[2026-10-05 11:05:22] local.INFO: GPS Element Parsed {"raw_longitude":745241536,"raw_latitude":159114176,"longitude_deg":74.5241536,"latitude_deg":15.9114176,"altitude":755,"angle":5,"satellites":43,"speed":60,"hex_longitude":"2c6b7bc0","hex_latitude":"097be3c0","is_valid_coordinates":true} 
[2026-10-05 11:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541678848001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8479626946936832,"note":"Value kept but may cause issues"} 
[2026-10-05 11:05:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7743798862505803778,"note":"Value kept but may cause issues"} 
[2026-10-05 11:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791178440000,"timestamp_ms":1791178440000,"timestamp_seconds":1791178440,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8dfd40"} 
[2026-10-05 11:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-10-05 11:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":204503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":204503,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":204503,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 11:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 11:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541678848001,"66":28104,"236":206,"9":7680,"24":60,"16":8479626946936832,"44":7743798862505803778},"client_ip":"117.224.253.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,9,24,16,44]} 
[2026-10-05 11:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 11:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 11:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541678848001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:05:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-05 11:05:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 11:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8479626946936832,"km_value":8479626946936.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:05:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":7743798862505803778,"description":"Unknown IO ID 44"} 
[2026-10-05 11:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541678848001,"power":28104,"unknown_236":206,"unknown_9":7680,"ignition":60,"odometer":null,"unknown_44":7743798862505803778}} 
[2026-10-05 11:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":204503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966785,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:05:22] local.INFO: GPS data processed {"connection_id":204503,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:05:22] local.INFO: Acknowledgment sent {"connection_id":204503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:05:34] local.INFO: TCP Data received {"connection_id":205900,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:05:34] local.INFO: Processing buffer {"connection_id":205900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:05:34] local.INFO: IMEI packet received {"connection_id":205900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":205900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:05:34] local.INFO: TCP Data received {"connection_id":205900,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:05:34] local.INFO: Processing buffer {"connection_id":205900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:05:34] local.INFO: IMEI packet received {"connection_id":205900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":205900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:05:39] local.INFO: TCP Data received {"connection_id":205900,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:05:39] local.INFO: Processing buffer {"connection_id":205900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:05:39] local.INFO: IMEI packet received {"connection_id":205900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":205900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:05:40] local.INFO: TCP Data received {"connection_id":205900,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8bfd88012d18298007219e68004e01400c..."} 
[2026-10-05 11:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8bfd88012d18298007219e68004e01400c..."} 
[2026-10-05 11:05:40] local.INFO: Processing buffer {"connection_id":205900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8bfd88012d18298007219e68004e01400c..."} 
[2026-10-05 11:05:40] local.INFO: Packet analysis {"connection_id":205900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8b"} 
[2026-10-05 11:05:40] local.INFO: Extracted packet for processing {"connection_id":205900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8b"} 
[2026-10-05 11:05:40] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119643752,"longitude_deg":75.6558208,"latitude_deg":11.9643752,"altitude":78,"angle":320,"satellites":12,"speed":0,"hex_longitude":"2d182980","hex_latitude":"07219e68","is_valid_coordinates":true} 
[2026-10-05 11:05: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-10-05 11:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541641728001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984146883379200,"note":"Value kept but may cause issues"} 
[2026-10-05 11:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130328356864,"note":"Value kept but may cause issues"} 
[2026-10-05 11:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791178309000,"timestamp_ms":1791178309000,"timestamp_seconds":1791178309,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8bfd88"} 
[2026-10-05 11:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:05:40] 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-10-05 11:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-05 11:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:05: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-10-05 11:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":205900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":205900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":205900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:05:40] 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-10-05 11:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541641728001,"66":13135,"105":206,"83":41984,"24":0,"16":24984146883379200,"45":1740993130328356864},"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-10-05 11:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541641728001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:05:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 11:05:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984146883379200,"km_value":24984146883379.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130328356864,"description":"Unknown IO ID 45"} 
[2026-10-05 11:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541641728001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740993130328356864}} 
[2026-10-05 11:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":205900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:05:40] local.INFO: GPS data processed {"connection_id":205900,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:05:40] local.INFO: Acknowledgment sent {"connection_id":205900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:05:42] local.INFO: TCP Data received {"connection_id":204363,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:05:42] local.INFO: Processing buffer {"connection_id":204363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:05:42] local.INFO: IMEI packet received {"connection_id":204363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 11:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":204363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:05:42] local.INFO: TCP Data received {"connection_id":204363,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:05:42] local.INFO: Processing buffer {"connection_id":204363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:05:42] local.INFO: IMEI packet received {"connection_id":204363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 11:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":204363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:05:47] local.INFO: TCP Data received {"connection_id":204363,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:05:47] local.INFO: Processing buffer {"connection_id":204363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:05:47] local.INFO: IMEI packet received {"connection_id":204363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 11:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":204363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:05:48] local.INFO: TCP Data received {"connection_id":204363,"ip":"117.224.253.174","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8e14b0012c6b7fc0097c086002f000062b..."} 
[2026-10-05 11:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8e14b0012c6b7fc0097c086002f000062b..."} 
[2026-10-05 11:05:48] local.INFO: Processing buffer {"connection_id":204363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8e14b0012c6b7fc0097c086002f000062b..."} 
[2026-10-05 11:05:48] local.INFO: Packet analysis {"connection_id":204363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8e"} 
[2026-10-05 11:05:48] local.INFO: Extracted packet for processing {"connection_id":204363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8e"} 
[2026-10-05 11:05:48] local.INFO: GPS Element Parsed {"raw_longitude":745242560,"raw_latitude":159123552,"longitude_deg":74.524256,"latitude_deg":15.9123552,"altitude":752,"angle":6,"satellites":43,"speed":63,"hex_longitude":"2c6b7fc0","hex_latitude":"097c0860","is_valid_coordinates":true} 
[2026-10-05 11:05: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-10-05 11:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541680640001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8480086508437504,"note":"Value kept but may cause issues"} 
[2026-10-05 11:05:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7744995131159461890,"note":"Value kept but may cause issues"} 
[2026-10-05 11:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791178446000,"timestamp_ms":1791178446000,"timestamp_seconds":1791178446,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8e14b0"} 
[2026-10-05 11:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-05 11:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:05: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-10-05 11:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204363,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204363,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 11:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 11:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541680640001,"66":28028,"236":206,"9":7680,"24":63,"16":8480086508437504,"44":7744995131159461890},"client_ip":"117.224.253.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,9,24,16,44]} 
[2026-10-05 11:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 11:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 11:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541680640001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:05:48] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-05 11:05:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 11:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8480086508437504,"km_value":8480086508437.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:05:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":7744995131159461890,"description":"Unknown IO ID 44"} 
[2026-10-05 11:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541680640001,"power":28028,"unknown_236":206,"unknown_9":7680,"ignition":63,"odometer":null,"unknown_44":7744995131159461890}} 
[2026-10-05 11:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":204363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966787,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:05:48] local.INFO: GPS data processed {"connection_id":204363,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:05:48] local.INFO: Acknowledgment sent {"connection_id":204363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:06:04] local.INFO: TCP Data received {"connection_id":204504,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204504,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:06:04] local.INFO: Processing buffer {"connection_id":204504,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:06:04] local.INFO: IMEI packet received {"connection_id":204504,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":204504,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:06:11] local.INFO: TCP Data received {"connection_id":205900,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8c3050012d18298007219e90004e00ae0e..."} 
[2026-10-05 11:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8c3050012d18298007219e90004e00ae0e..."} 
[2026-10-05 11:06:11] local.INFO: Processing buffer {"connection_id":205900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8c3050012d18298007219e90004e00ae0e..."} 
[2026-10-05 11:06:11] local.INFO: Packet analysis {"connection_id":205900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8c"} 
[2026-10-05 11:06:11] local.INFO: Extracted packet for processing {"connection_id":205900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8c"} 
[2026-10-05 11:06:11] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119643792,"longitude_deg":75.6558208,"latitude_deg":11.9643792,"altitude":78,"angle":174,"satellites":14,"speed":1,"hex_longitude":"2d182980","hex_latitude":"07219e90","is_valid_coordinates":true} 
[2026-10-05 11:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541647104001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984146883379200,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741063499072563200,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06: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-10-05 11:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791178322000,"timestamp_ms":1791178322000,"timestamp_seconds":1791178322,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8c3050"} 
[2026-10-05 11:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3072,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-10-05 11:06:11] 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-10-05 11:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:06:11] 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-10-05 11:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541647104001,"66":13135,"105":206,"83":41984,"24":1,"16":24984146883379200,"45":1741063499072563200},"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-10-05 11:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541647104001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:06:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 11:06:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984146883379200,"km_value":24984146883379.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741063499072563200,"description":"Unknown IO ID 45"} 
[2026-10-05 11:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541647104001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1741063499072563200}} 
[2026-10-05 11:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":205900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:06:11] local.INFO: GPS data processed {"connection_id":205900,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:06:11] local.INFO: Acknowledgment sent {"connection_id":205900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:06:19] local.INFO: TCP Data received {"connection_id":204363,"ip":"117.224.253.174","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8f4948012c6be6c0097dcea002ec000c2b..."} 
[2026-10-05 11:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8f4948012c6be6c0097dcea002ec000c2b..."} 
[2026-10-05 11:06:19] local.INFO: Processing buffer {"connection_id":204363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8f4948012c6be6c0097dcea002ec000c2b..."} 
[2026-10-05 11:06:19] local.INFO: Packet analysis {"connection_id":204363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8f"} 
[2026-10-05 11:06:19] local.INFO: Extracted packet for processing {"connection_id":204363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8f"} 
[2026-10-05 11:06:19] local.INFO: GPS Element Parsed {"raw_longitude":745268928,"raw_latitude":159239840,"longitude_deg":74.5268928,"latitude_deg":15.923984,"altitude":748,"angle":12,"satellites":43,"speed":52,"hex_longitude":"2c6be6c0","hex_latitude":"097dcea0","is_valid_coordinates":true} 
[2026-10-05 11:06: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-10-05 11:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541700608001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8485880419319808,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7772861153883578370,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791178525000,"timestamp_ms":1791178525000,"timestamp_seconds":1791178525,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8f4948"} 
[2026-10-05 11:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:06: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-10-05 11:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-05 11:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:06: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-10-05 11:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":204363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":204363,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":204363,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 11:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 11:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541700608001,"66":28202,"78":206,"9":7680,"24":52,"16":8485880419319808,"44":7772861153883578370},"client_ip":"117.224.253.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,9,24,16,44]} 
[2026-10-05 11:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 11:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 11:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541700608001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:06:19] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-10-05 11:06:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 11:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8485880419319808,"km_value":8485880419319.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:06:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":7772861153883578370,"description":"Unknown IO ID 44"} 
[2026-10-05 11:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541700608001,"power":28202,"unknown_78":206,"unknown_9":7680,"ignition":52,"odometer":null,"unknown_44":7772861153883578370}} 
[2026-10-05 11:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":204363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966789,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:06:19] local.INFO: GPS data processed {"connection_id":204363,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:06:19] local.INFO: Acknowledgment sent {"connection_id":204363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:06:20] local.INFO: TCP Data received {"connection_id":204504,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204504,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:06:20] local.INFO: Processing buffer {"connection_id":204504,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:06:20] local.INFO: IMEI packet received {"connection_id":204504,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":204504,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:06:22] local.INFO: TCP Data received {"connection_id":204504,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8e9980012d7cb54005f513f8000b00aa2c..."} 
[2026-10-05 11:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8e9980012d7cb54005f513f8000b00aa2c..."} 
[2026-10-05 11:06:22] local.INFO: Processing buffer {"connection_id":204504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8e9980012d7cb54005f513f8000b00aa2c..."} 
[2026-10-05 11:06:22] local.INFO: Packet analysis {"connection_id":204504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8e"} 
[2026-10-05 11:06:22] local.INFO: Extracted packet for processing {"connection_id":204504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8e"} 
[2026-10-05 11:06:22] local.INFO: GPS Element Parsed {"raw_longitude":763147584,"raw_latitude":99947512,"longitude_deg":76.3147584,"latitude_deg":9.9947512,"altitude":11,"angle":170,"satellites":44,"speed":39,"hex_longitude":"2d7cb540","hex_latitude":"05f513f8","is_valid_coordinates":true} 
[2026-10-05 11:06: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-10-05 11:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541688576001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139559035228651520,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984399807216361472,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791178480000,"timestamp_ms":1791178480000,"timestamp_seconds":1791178480,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8e9980"} 
[2026-10-05 11:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:06:22] 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-10-05 11:06: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":105,"data_length":795,"current_offset":136} 
[2026-10-05 11:06:22] 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-10-05 11:06: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-10-05 11:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":204504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":204504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":204504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541688576001,"66":13961,"148":206,"87":12800,"24":39,"16":139559035228651520,"45":8984399807216361472},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,87,24,16,45]} 
[2026-10-05 11:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541688576001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:06:22] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-10-05 11:06:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 11:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139559035228651520,"km_value":139559035228651.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984399807216361472,"description":"Unknown IO ID 45"} 
[2026-10-05 11:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541688576001,"power":13961,"unknown_148":206,"unknown_87":12800,"ignition":39,"odometer":null,"unknown_45":8984399807216361472}} 
[2026-10-05 11:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":204504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:06:23] local.INFO: GPS data processed {"connection_id":204504,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:06:23] local.INFO: Acknowledgment sent {"connection_id":204504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:06:37] local.INFO: TCP Data received {"connection_id":204364,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:06:37] local.INFO: Processing buffer {"connection_id":204364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:06:37] local.INFO: IMEI packet received {"connection_id":204364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":204364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:06:40] local.INFO: TCP Data received {"connection_id":204364,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:06:40] local.INFO: Processing buffer {"connection_id":204364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:06:40] local.INFO: IMEI packet received {"connection_id":204364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":204364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:06:44] local.INFO: TCP Data received {"connection_id":204364,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:06:44] local.INFO: Processing buffer {"connection_id":204364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:06:44] local.INFO: IMEI packet received {"connection_id":204364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":204364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:06:44] local.INFO: TCP Data received {"connection_id":207449,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207449,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:06:44] local.INFO: Processing buffer {"connection_id":207449,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:06:44] local.INFO: IMEI packet received {"connection_id":207449,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 11:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":207449,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:06:45] local.INFO: TCP Data received {"connection_id":204364,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8fb6a8012d182a8007219d28006200ae1a..."} 
[2026-10-05 11:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8fb6a8012d182a8007219d28006200ae1a..."} 
[2026-10-05 11:06:45] local.INFO: Processing buffer {"connection_id":204364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8fb6a8012d182a8007219d28006200ae1a..."} 
[2026-10-05 11:06:45] local.INFO: Packet analysis {"connection_id":204364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8f"} 
[2026-10-05 11:06:45] local.INFO: Extracted packet for processing {"connection_id":204364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8f"} 
[2026-10-05 11:06:45] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119643432,"longitude_deg":75.6558464,"latitude_deg":11.9643432,"altitude":98,"angle":174,"satellites":26,"speed":0,"hex_longitude":"2d182a80","hex_latitude":"07219d28","is_valid_coordinates":true} 
[2026-10-05 11:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541704192001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984207012921344,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793357312,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791178553000,"timestamp_ms":1791178553000,"timestamp_seconds":1791178553,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8fb6a8"} 
[2026-10-05 11:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:06:45] 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-10-05 11:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 11:06:45] 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-10-05 11:06:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":204364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":204364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":204364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:06:45] 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-10-05 11:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541704192001,"66":12819,"105":206,"83":41984,"24":0,"16":24984207012921344,"45":1741415342793357312},"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-10-05 11:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541704192001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:06:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 11:06:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984207012921344,"km_value":24984207012921.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793357312,"description":"Unknown IO ID 45"} 
[2026-10-05 11:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541704192001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741415342793357312}} 
[2026-10-05 11:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":204364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:06:45] local.INFO: GPS data processed {"connection_id":204364,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:06:45] local.INFO: Acknowledgment sent {"connection_id":204364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:06:48] local.INFO: TCP Data received {"connection_id":207449,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207449,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:06:48] local.INFO: Processing buffer {"connection_id":207449,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:06:48] local.INFO: IMEI packet received {"connection_id":207449,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 11:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":207449,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:06:49] local.INFO: TCP Data received {"connection_id":204364,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9008b0012d182a4007219d70006000ae1a..."} 
[2026-10-05 11:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9008b0012d182a4007219d70006000ae1a..."} 
[2026-10-05 11:06:49] local.INFO: Processing buffer {"connection_id":204364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9008b0012d182a4007219d70006000ae1a..."} 
[2026-10-05 11:06:49] local.INFO: Packet analysis {"connection_id":204364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a90"} 
[2026-10-05 11:06:49] local.INFO: Extracted packet for processing {"connection_id":204364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a90"} 
[2026-10-05 11:06:49] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643504,"longitude_deg":75.65584,"latitude_deg":11.9643504,"altitude":96,"angle":174,"satellites":26,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219d70","is_valid_coordinates":true} 
[2026-10-05 11:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541709568001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984228487757824,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974049191936,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1791178574000,"timestamp_ms":1791178574000,"timestamp_seconds":1791178574,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9008b0"} 
[2026-10-05 11:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:06:49] 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-10-05 11:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 11:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:49] local.WARNING: Large IO value detected {"io_id":10,"raw_value":-8252723166802597312,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:49] local.WARNING: Large IO value detected {"io_id":194,"raw_value":4278190080,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:49] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:49] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503980855459840,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:49] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2636120154,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:49] local.WARNING: Large IO value detected {"io_id":113,"raw_value":1153185391697002752,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-10-05 11:06:49] local.WARNING: Large IO value detected {"io_id":28,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:49] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2147951005,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:49] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72181916177006848,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:49] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964359349456467,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:49] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3271163904,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:49] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2422364854821105175,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:49] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:49] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:49] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84750535584326046,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:49] local.WARNING: Large IO value detected {"io_id":56,"raw_value":22237270853550080,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:49] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,195,161,100,45,192,156,99,26,10,66,18,97,194,1,240,41,227,33,4,113,205,28,42,64,239,50,2,88,7,84,164,250,69,104,56],"length":625,"final_offset":755,"validated_count":42,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-10-05 11:06:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7061835642409320448,"timestamp_seconds":7061835642409320.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 11:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":204364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":204364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":204364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:06:49] 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-10-05 11:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541709568001,"66":12798,"105":206,"83":41984,"24":0,"16":24984228487757824,"45":1741344974049191936},"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-10-05 11:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541709568001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:06:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 11:06:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984228487757824,"km_value":24984228487757.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974049191936,"description":"Unknown IO ID 45"} 
[2026-10-05 11:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541709568001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741344974049191936}} 
[2026-10-05 11:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":204364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:06:49] local.INFO: GPS data processed {"connection_id":204364,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:06:49] local.INFO: Acknowledgment sent {"connection_id":204364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:06:51] local.INFO: TCP Data received {"connection_id":207449,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207449,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:06:51] local.INFO: Processing buffer {"connection_id":207449,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:06:51] local.INFO: IMEI packet received {"connection_id":207449,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 11:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":207449,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:06:53] local.INFO: TCP Data received {"connection_id":207449,"ip":"117.224.253.174","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8f64a0012c6bee40097df13002ed000b2b..."} 
[2026-10-05 11:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8f64a0012c6bee40097df13002ed000b2b..."} 
[2026-10-05 11:06:53] local.INFO: Processing buffer {"connection_id":207449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8f64a0012c6bee40097df13002ed000b2b..."} 
[2026-10-05 11:06:53] local.INFO: Packet analysis {"connection_id":207449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8f"} 
[2026-10-05 11:06:53] local.INFO: Extracted packet for processing {"connection_id":207449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8f"} 
[2026-10-05 11:06:53] local.INFO: GPS Element Parsed {"raw_longitude":745270848,"raw_latitude":159248688,"longitude_deg":74.5270848,"latitude_deg":15.9248688,"altitude":749,"angle":11,"satellites":43,"speed":50,"hex_longitude":"2c6bee40","hex_latitude":"097df130","is_valid_coordinates":true} 
[2026-10-05 11:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541702400001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8486318505984000,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7775112953699672066,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1791178532000,"timestamp_ms":1791178532000,"timestamp_seconds":1791178532,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8f64a0"} 
[2026-10-05 11:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-10-05 11:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":207449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":207449,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":207449,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 11:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 11:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541702400001,"66":28300,"78":206,"9":7680,"24":50,"16":8486318505984000,"44":7775112953699672066},"client_ip":"117.224.253.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,9,24,16,44]} 
[2026-10-05 11:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 11:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 11:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541702400001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:06:53] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-10-05 11:06:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 11:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8486318505984000,"km_value":8486318505984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:06:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":7775112953699672066,"description":"Unknown IO ID 44"} 
[2026-10-05 11:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541702400001,"power":28300,"unknown_78":206,"unknown_9":7680,"ignition":50,"odometer":null,"unknown_44":7775112953699672066}} 
[2026-10-05 11:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":207449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966793,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:06:53] local.INFO: GPS data processed {"connection_id":207449,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:06:53] local.INFO: Acknowledgment sent {"connection_id":207449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:06:54] local.INFO: TCP Data received {"connection_id":207449,"ip":"117.224.253.174","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8f7ff8012c6bf5c0097e13a002ec000b2b..."} 
[2026-10-05 11:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8f7ff8012c6bf5c0097e13a002ec000b2b..."} 
[2026-10-05 11:06:54] local.INFO: Processing buffer {"connection_id":207449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8f7ff8012c6bf5c0097e13a002ec000b2b..."} 
[2026-10-05 11:06:54] local.INFO: Packet analysis {"connection_id":207449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8f"} 
[2026-10-05 11:06:54] local.INFO: Extracted packet for processing {"connection_id":207449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8f"} 
[2026-10-05 11:06:54] local.INFO: GPS Element Parsed {"raw_longitude":745272768,"raw_latitude":159257504,"longitude_deg":74.5272768,"latitude_deg":15.9257504,"altitude":748,"angle":11,"satellites":43,"speed":51,"hex_longitude":"2c6bf5c0","hex_latitude":"097e13a0","is_valid_coordinates":true} 
[2026-10-05 11:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541704192001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8486756592648192,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7777224016027267074,"note":"Value kept but may cause issues"} 
[2026-10-05 11:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1791178539000,"timestamp_ms":1791178539000,"timestamp_seconds":1791178539,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8f7ff8"} 
[2026-10-05 11:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:06: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-10-05 11:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-05 11:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":207449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":207449,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":207449,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 11:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 11:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541704192001,"66":28224,"78":206,"9":7680,"24":51,"16":8486756592648192,"44":7777224016027267074},"client_ip":"117.224.253.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,9,24,16,44]} 
[2026-10-05 11:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 11:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 11:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541704192001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:06:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-10-05 11:06:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 11:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8486756592648192,"km_value":8486756592648.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:06:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":7777224016027267074,"description":"Unknown IO ID 44"} 
[2026-10-05 11:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541704192001,"power":28224,"unknown_78":206,"unknown_9":7680,"ignition":51,"odometer":null,"unknown_44":7777224016027267074}} 
[2026-10-05 11:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":207449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966794,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:06:54] local.INFO: GPS data processed {"connection_id":207449,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:06:54] local.INFO: Acknowledgment sent {"connection_id":207449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:06:59] local.INFO: TCP Data received {"connection_id":204365,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:06:59] local.INFO: Processing buffer {"connection_id":204365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:06:59] local.INFO: IMEI packet received {"connection_id":204365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":204365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:07:05] local.INFO: TCP Data received {"connection_id":204365,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:07:05] local.INFO: Processing buffer {"connection_id":204365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:07:05] local.INFO: IMEI packet received {"connection_id":204365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":204365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:07:06] local.INFO: TCP Data received {"connection_id":204365,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a902fc0012d7cfe4005f35e28000a00ab29..."} 
[2026-10-05 11:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a902fc0012d7cfe4005f35e28000a00ab29..."} 
[2026-10-05 11:07:06] local.INFO: Processing buffer {"connection_id":204365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a902fc0012d7cfe4005f35e28000a00ab29..."} 
[2026-10-05 11:07:06] local.INFO: Packet analysis {"connection_id":204365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a90"} 
[2026-10-05 11:07:06] local.INFO: Extracted packet for processing {"connection_id":204365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a90"} 
[2026-10-05 11:07:06] local.INFO: GPS Element Parsed {"raw_longitude":763166272,"raw_latitude":99835432,"longitude_deg":76.3166272,"latitude_deg":9.9835432,"altitude":10,"angle":171,"satellites":41,"speed":50,"hex_longitude":"2d7cfe40","hex_latitude":"05f35e28","is_valid_coordinates":true} 
[2026-10-05 11:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541715200001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139564541376724992,"note":"Value kept but may cause issues"} 
[2026-10-05 11:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005088217975965696,"note":"Value kept but may cause issues"} 
[2026-10-05 11:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791178584000,"timestamp_ms":1791178584000,"timestamp_seconds":1791178584,"priority":1,"record_length":96,"hex_timestamp":"000001a10a902fc0"} 
[2026-10-05 11:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-10-05 11:07:06] 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-10-05 11:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541715200001,"66":13798,"249":206,"87":13056,"24":50,"16":139564541376724992,"45":9005088217975965696},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,87,24,16,45]} 
[2026-10-05 11:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541715200001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:07:06] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-10-05 11:07:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-10-05 11:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139564541376724992,"km_value":139564541376724.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005088217975965696,"description":"Unknown IO ID 45"} 
[2026-10-05 11:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541715200001,"power":13798,"unknown_249":206,"unknown_87":13056,"ignition":50,"odometer":null,"unknown_45":9005088217975965696}} 
[2026-10-05 11:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":204365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966795,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:07:06] local.INFO: GPS data processed {"connection_id":204365,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:07:06] local.INFO: Acknowledgment sent {"connection_id":204365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:07:27] local.INFO: TCP Data received {"connection_id":207449,"ip":"117.224.253.174","data_length":795,"data_hex":"000000000000030f8e0a000001a10a8f9b50012c6bfb40097e37f002eb00052c..."} 
[2026-10-05 11:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a8f9b50012c6bfb40097e37f002eb00052c..."} 
[2026-10-05 11:07:27] local.INFO: Processing buffer {"connection_id":207449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a8f9b50012c6bfb40097e37f002eb00052c..."} 
[2026-10-05 11:07:27] local.INFO: Packet analysis {"connection_id":207449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a8f"} 
[2026-10-05 11:07:27] local.INFO: Extracted packet for processing {"connection_id":207449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a8f"} 
[2026-10-05 11:07:27] local.INFO: GPS Element Parsed {"raw_longitude":745274176,"raw_latitude":159266800,"longitude_deg":74.5274176,"latitude_deg":15.92668,"altitude":747,"angle":5,"satellites":44,"speed":55,"hex_longitude":"2c6bfb40","hex_latitude":"097e37f0","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541705984001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8487211859181568,"note":"Value kept but may cause issues"} 
[2026-10-05 11:07:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7779335078354853890,"note":"Value kept but may cause issues"} 
[2026-10-05 11:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1791178546000,"timestamp_ms":1791178546000,"timestamp_seconds":1791178546,"priority":1,"record_length":96,"hex_timestamp":"000001a10a8f9b50"} 
[2026-10-05 11:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:07: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-10-05 11: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-10-05 11:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11: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-10-05 11:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":207449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":207449,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":207449,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 11:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 11:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541705984001,"66":28267,"78":206,"9":7680,"24":55,"16":8487211859181568,"44":7779335078354853890},"client_ip":"117.224.253.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,9,24,16,44]} 
[2026-10-05 11:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 11:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 11:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541705984001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:07:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-10-05 11:07:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 11:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8487211859181568,"km_value":8487211859181.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:07:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":7779335078354853890,"description":"Unknown IO ID 44"} 
[2026-10-05 11:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541705984001,"power":28267,"unknown_78":206,"unknown_9":7680,"ignition":55,"odometer":null,"unknown_44":7779335078354853890}} 
[2026-10-05 11:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":207449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966796,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:07:27] local.INFO: GPS data processed {"connection_id":207449,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:07:27] local.INFO: Acknowledgment sent {"connection_id":207449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:07:34] local.INFO: TCP Data received {"connection_id":204505,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:07:34] local.INFO: Processing buffer {"connection_id":204505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:07:34] local.INFO: IMEI packet received {"connection_id":204505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":204505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:07:38] local.INFO: TCP Data received {"connection_id":204365,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a904b18012d7d034005f33b30000a00ab27..."} 
[2026-10-05 11:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a904b18012d7d034005f33b30000a00ab27..."} 
[2026-10-05 11:07:38] local.INFO: Processing buffer {"connection_id":204365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a904b18012d7d034005f33b30000a00ab27..."} 
[2026-10-05 11:07:38] local.INFO: Packet analysis {"connection_id":204365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a90"} 
[2026-10-05 11:07:38] local.INFO: Extracted packet for processing {"connection_id":204365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a90"} 
[2026-10-05 11:07:38] local.INFO: GPS Element Parsed {"raw_longitude":763167552,"raw_latitude":99826480,"longitude_deg":76.3167552,"latitude_deg":9.982648,"altitude":10,"angle":171,"satellites":39,"speed":51,"hex_longitude":"2d7d0340","hex_latitude":"05f33b30","is_valid_coordinates":true} 
[2026-10-05 11:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541717504001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139564979463389184,"note":"Value kept but may cause issues"} 
[2026-10-05 11:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006706699089618944,"note":"Value kept but may cause issues"} 
[2026-10-05 11:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791178591000,"timestamp_ms":1791178591000,"timestamp_seconds":1791178591,"priority":1,"record_length":96,"hex_timestamp":"000001a10a904b18"} 
[2026-10-05 11:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 11:07:38] 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-10-05 11:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541717504001,"66":13820,"249":206,"87":13056,"24":51,"16":139564979463389184,"45":9006706699089618944},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,87,24,16,45]} 
[2026-10-05 11:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541717504001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:07:38] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-10-05 11:07:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-10-05 11:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139564979463389184,"km_value":139564979463389.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006706699089618944,"description":"Unknown IO ID 45"} 
[2026-10-05 11:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541717504001,"power":13820,"unknown_249":206,"unknown_87":13056,"ignition":51,"odometer":null,"unknown_45":9006706699089618944}} 
[2026-10-05 11:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":204365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:07:38] local.INFO: GPS data processed {"connection_id":204365,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:07:38] local.INFO: Acknowledgment sent {"connection_id":204365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:07:39] local.INFO: TCP Data received {"connection_id":204505,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:07:39] local.INFO: Processing buffer {"connection_id":204505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:07:39] local.INFO: IMEI packet received {"connection_id":204505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":204505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:07:40] local.INFO: TCP Data received {"connection_id":204505,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a905ab8012d1829c007219d90005f00ae1a..."} 
[2026-10-05 11:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a905ab8012d1829c007219d90005f00ae1a..."} 
[2026-10-05 11:07:40] local.INFO: Processing buffer {"connection_id":204505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a905ab8012d1829c007219d90005f00ae1a..."} 
[2026-10-05 11:07:40] local.INFO: Packet analysis {"connection_id":204505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a90"} 
[2026-10-05 11:07:40] local.INFO: Extracted packet for processing {"connection_id":204505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a90"} 
[2026-10-05 11:07:40] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643536,"longitude_deg":75.6558272,"latitude_deg":11.9643536,"altitude":95,"angle":174,"satellites":26,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219d90","is_valid_coordinates":true} 
[2026-10-05 11:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541714944001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984232782725120,"note":"Value kept but may cause issues"} 
[2026-10-05 11:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605305032704,"note":"Value kept but may cause issues"} 
[2026-10-05 11:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791178595000,"timestamp_ms":1791178595000,"timestamp_seconds":1791178595,"priority":1,"record_length":96,"hex_timestamp":"000001a10a905ab8"} 
[2026-10-05 11:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:07:40] 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-10-05 11:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 11:07:40] 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-10-05 11:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:07:40] 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-10-05 11:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541714944001,"66":12776,"105":206,"83":41984,"24":0,"16":24984232782725120,"45":1741274605305032704},"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-10-05 11:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541714944001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:07:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 11:07:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984232782725120,"km_value":24984232782725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605305032704,"description":"Unknown IO ID 45"} 
[2026-10-05 11:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541714944001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741274605305032704}} 
[2026-10-05 11:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":204505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:07:40] local.INFO: GPS data processed {"connection_id":204505,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:07:40] local.INFO: Acknowledgment sent {"connection_id":204505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:07:40] local.INFO: TCP Data received {"connection_id":204505,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a90acc0012d182a4007219d90005f00ae1b..."} 
[2026-10-05 11:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a90acc0012d182a4007219d90005f00ae1b..."} 
[2026-10-05 11:07:40] local.INFO: Processing buffer {"connection_id":204505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a90acc0012d182a4007219d90005f00ae1b..."} 
[2026-10-05 11:07:40] local.INFO: Packet analysis {"connection_id":204505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a90"} 
[2026-10-05 11:07:40] local.INFO: Extracted packet for processing {"connection_id":204505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a90"} 
[2026-10-05 11:07:40] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643536,"longitude_deg":75.65584,"latitude_deg":11.9643536,"altitude":95,"angle":174,"satellites":27,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219d90","is_valid_coordinates":true} 
[2026-10-05 11:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541720320001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984241372659712,"note":"Value kept but may cause issues"} 
[2026-10-05 11:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816685568,"note":"Value kept but may cause issues"} 
[2026-10-05 11:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791178616000,"timestamp_ms":1791178616000,"timestamp_seconds":1791178616,"priority":1,"record_length":96,"hex_timestamp":"000001a10a90acc0"} 
[2026-10-05 11:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:07:40] 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-10-05 11:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 11:07:40] 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-10-05 11:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:07:40] 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-10-05 11:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541720320001,"66":12798,"105":206,"83":41984,"24":0,"16":24984241372659712,"45":1741133867816685568},"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-10-05 11:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541720320001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:07:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 11:07:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984241372659712,"km_value":24984241372659.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816685568,"description":"Unknown IO ID 45"} 
[2026-10-05 11:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541720320001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741133867816685568}} 
[2026-10-05 11:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":204505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:07:41] local.INFO: GPS data processed {"connection_id":204505,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:07:41] local.INFO: Acknowledgment sent {"connection_id":204505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:07:52] local.INFO: TCP Data received {"connection_id":204506,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:07:52] local.INFO: Processing buffer {"connection_id":204506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:07:52] local.INFO: IMEI packet received {"connection_id":204506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 11:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":204506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:07:53] local.INFO: TCP Data received {"connection_id":204506,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:07:53] local.INFO: Processing buffer {"connection_id":204506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:07:53] local.INFO: IMEI packet received {"connection_id":204506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 11:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":204506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:07:58] local.INFO: TCP Data received {"connection_id":204506,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:07:58] local.INFO: Processing buffer {"connection_id":204506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:07:58] local.INFO: IMEI packet received {"connection_id":204506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 11:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":204506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:07:58] local.INFO: TCP Data received {"connection_id":204506,"ip":"117.224.253.174","data_length":795,"data_hex":"000000000000030f8e0a000001a10a90bc60012c6bbb40097fd88002e2015d2b..."} 
[2026-10-05 11:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a90bc60012c6bbb40097fd88002e2015d2b..."} 
[2026-10-05 11:07:58] local.INFO: Processing buffer {"connection_id":204506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a90bc60012c6bbb40097fd88002e2015d2b..."} 
[2026-10-05 11:07:58] local.INFO: Packet analysis {"connection_id":204506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a90"} 
[2026-10-05 11:07:58] local.INFO: Extracted packet for processing {"connection_id":204506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a90"} 
[2026-10-05 11:07:58] local.INFO: GPS Element Parsed {"raw_longitude":745257792,"raw_latitude":159373440,"longitude_deg":74.5257792,"latitude_deg":15.937344,"altitude":738,"angle":349,"satellites":43,"speed":57,"hex_longitude":"2c6bbb40","hex_latitude":"097fd880","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541724928001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8492447424315392,"note":"Value kept but may cause issues"} 
[2026-10-05 11:07:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7765120592058056706,"note":"Value kept but may cause issues"} 
[2026-10-05 11:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1791178620000,"timestamp_ms":1791178620000,"timestamp_seconds":1791178620,"priority":1,"record_length":96,"hex_timestamp":"000001a10a90bc60"} 
[2026-10-05 11:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:07: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-10-05 11: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 11:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11: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-10-05 11:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":204506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":204506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":204506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 11:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 11:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541724928001,"66":28354,"76":206,"9":7680,"24":57,"16":8492447424315392,"44":7765120592058056706},"client_ip":"117.224.253.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,9,24,16,44]} 
[2026-10-05 11:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 11:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 11:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541724928001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:07:58] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-10-05 11:07:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 11:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8492447424315392,"km_value":8492447424315.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:07:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":7765120592058056706,"description":"Unknown IO ID 44"} 
[2026-10-05 11:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541724928001,"power":28354,"unknown_76":206,"unknown_9":7680,"ignition":57,"odometer":null,"unknown_44":7765120592058056706}} 
[2026-10-05 11:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":204506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966800,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:07:58] local.INFO: GPS data processed {"connection_id":204506,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:07:58] local.INFO: Acknowledgment sent {"connection_id":204506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:07:59] local.INFO: TCP Data received {"connection_id":204506,"ip":"117.224.253.174","data_length":795,"data_hex":"000000000000030f8e0a000001a10a90d7b8012c6bb3c0097fff8002e1015d2c..."} 
[2026-10-05 11:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a90d7b8012c6bb3c0097fff8002e1015d2c..."} 
[2026-10-05 11:07:59] local.INFO: Processing buffer {"connection_id":204506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a90d7b8012c6bb3c0097fff8002e1015d2c..."} 
[2026-10-05 11:07:59] local.INFO: Packet analysis {"connection_id":204506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a90"} 
[2026-10-05 11:07:59] local.INFO: Extracted packet for processing {"connection_id":204506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a90"} 
[2026-10-05 11:07:59] local.INFO: GPS Element Parsed {"raw_longitude":745255872,"raw_latitude":159383424,"longitude_deg":74.5255872,"latitude_deg":15.9383424,"altitude":737,"angle":349,"satellites":44,"speed":57,"hex_longitude":"2c6bb3c0","hex_latitude":"097fff80","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541726720001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8492941345554432,"note":"Value kept but may cause issues"} 
[2026-10-05 11:07:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7762868792246960130,"note":"Value kept but may cause issues"} 
[2026-10-05 11:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791178627000,"timestamp_ms":1791178627000,"timestamp_seconds":1791178627,"priority":1,"record_length":96,"hex_timestamp":"000001a10a90d7b8"} 
[2026-10-05 11:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:07: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-10-05 11: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 11:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11: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-10-05 11:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":204506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":204506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":204506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 11:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 11:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541726720001,"66":28224,"76":206,"9":7680,"24":57,"16":8492941345554432,"44":7762868792246960130},"client_ip":"117.224.253.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,9,24,16,44]} 
[2026-10-05 11:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 11:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 11:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541726720001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:07:59] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-10-05 11:07:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 11:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8492941345554432,"km_value":8492941345554.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:07:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":7762868792246960130,"description":"Unknown IO ID 44"} 
[2026-10-05 11:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541726720001,"power":28224,"unknown_76":206,"unknown_9":7680,"ignition":57,"odometer":null,"unknown_44":7762868792246960130}} 
[2026-10-05 11:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":204506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966801,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:07:59] local.INFO: GPS data processed {"connection_id":204506,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:07:59] local.INFO: Acknowledgment sent {"connection_id":204506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:08:02] local.INFO: TCP Data received {"connection_id":204506,"ip":"117.224.253.174","data_length":795,"data_hex":"000000000000030f8e0a000001a10a90f310012c6bac000980269002e1015c2c..."} 
[2026-10-05 11:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a90f310012c6bac000980269002e1015c2c..."} 
[2026-10-05 11:08:02] local.INFO: Processing buffer {"connection_id":204506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a90f310012c6bac000980269002e1015c2c..."} 
[2026-10-05 11:08:02] local.INFO: Packet analysis {"connection_id":204506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a90"} 
[2026-10-05 11:08:02] local.INFO: Extracted packet for processing {"connection_id":204506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a90"} 
[2026-10-05 11:08:02] local.INFO: GPS Element Parsed {"raw_longitude":745253888,"raw_latitude":159393424,"longitude_deg":74.5253888,"latitude_deg":15.9393424,"altitude":737,"angle":348,"satellites":44,"speed":57,"hex_longitude":"2c6bac00","hex_latitude":"09802690","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541728512001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8493435266793472,"note":"Value kept but may cause issues"} 
[2026-10-05 11:08:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7760757729924186114,"note":"Value kept but may cause issues"} 
[2026-10-05 11:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791178634000,"timestamp_ms":1791178634000,"timestamp_seconds":1791178634,"priority":1,"record_length":96,"hex_timestamp":"000001a10a90f310"} 
[2026-10-05 11:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:08: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-10-05 11: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-10-05 11:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11: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-10-05 11:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 11:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 11:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541728512001,"66":28398,"76":206,"9":7680,"24":57,"16":8493435266793472,"44":7760757729924186114},"client_ip":"117.224.253.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,9,24,16,44]} 
[2026-10-05 11:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 11:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 11:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541728512001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:08:02] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-10-05 11:08:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 11:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8493435266793472,"km_value":8493435266793.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:08:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":7760757729924186114,"description":"Unknown IO ID 44"} 
[2026-10-05 11:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541728512001,"power":28398,"unknown_76":206,"unknown_9":7680,"ignition":57,"odometer":null,"unknown_44":7760757729924186114}} 
[2026-10-05 11:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":204506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966802,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:08:02] local.INFO: GPS data processed {"connection_id":204506,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:08:02] local.INFO: Acknowledgment sent {"connection_id":204506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:08:04] local.INFO: TCP Data received {"connection_id":207450,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207450,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:08:04] local.INFO: Processing buffer {"connection_id":207450,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:08:04] local.INFO: IMEI packet received {"connection_id":207450,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":207450,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:08:06] local.INFO: TCP Data received {"connection_id":207450,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207450,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:08:06] local.INFO: Processing buffer {"connection_id":207450,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:08:06] local.INFO: IMEI packet received {"connection_id":207450,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":207450,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:08:09] local.INFO: TCP Data received {"connection_id":207450,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207450,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:08:09] local.INFO: Processing buffer {"connection_id":207450,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:08:09] local.INFO: IMEI packet received {"connection_id":207450,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":207450,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:08:10] local.INFO: TCP Data received {"connection_id":207450,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a906670012d7d08c005f316e0000800ab2b..."} 
[2026-10-05 11:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a906670012d7d08c005f316e0000800ab2b..."} 
[2026-10-05 11:08:10] local.INFO: Processing buffer {"connection_id":207450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a906670012d7d08c005f316e0000800ab2b..."} 
[2026-10-05 11:08:10] local.INFO: Packet analysis {"connection_id":207450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a90"} 
[2026-10-05 11:08:10] local.INFO: Extracted packet for processing {"connection_id":207450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a90"} 
[2026-10-05 11:08:10] local.INFO: GPS Element Parsed {"raw_longitude":763168960,"raw_latitude":99817184,"longitude_deg":76.316896,"latitude_deg":9.9817184,"altitude":8,"angle":171,"satellites":43,"speed":54,"hex_longitude":"2d7d08c0","hex_latitude":"05f316e0","is_valid_coordinates":true} 
[2026-10-05 11:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541719296001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139565439024889856,"note":"Value kept but may cause issues"} 
[2026-10-05 11:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008114073970880512,"note":"Value kept but may cause issues"} 
[2026-10-05 11:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791178598000,"timestamp_ms":1791178598000,"timestamp_seconds":1791178598,"priority":1,"record_length":96,"hex_timestamp":"000001a10a906670"} 
[2026-10-05 11:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 11:08:10] 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-10-05 11:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541719296001,"66":13580,"249":206,"87":13056,"24":54,"16":139565439024889856,"45":9008114073970880512},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,87,24,16,45]} 
[2026-10-05 11:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541719296001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:08:10] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-10-05 11:08:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-10-05 11:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139565439024889856,"km_value":139565439024889.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008114073970880512,"description":"Unknown IO ID 45"} 
[2026-10-05 11:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541719296001,"power":13580,"unknown_249":206,"unknown_87":13056,"ignition":54,"odometer":null,"unknown_45":9008114073970880512}} 
[2026-10-05 11:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":207450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:08:10] local.INFO: GPS data processed {"connection_id":207450,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:08:10] local.INFO: Acknowledgment sent {"connection_id":207450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:08:11] local.INFO: TCP Data received {"connection_id":204505,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a90fae0012d182ac007219dc8005e00ae1a..."} 
[2026-10-05 11:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a90fae0012d182ac007219dc8005e00ae1a..."} 
[2026-10-05 11:08:11] local.INFO: Processing buffer {"connection_id":204505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a90fae0012d182ac007219dc8005e00ae1a..."} 
[2026-10-05 11:08:11] local.INFO: Packet analysis {"connection_id":204505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a90"} 
[2026-10-05 11:08:11] local.INFO: Extracted packet for processing {"connection_id":204505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a90"} 
[2026-10-05 11:08:11] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643592,"longitude_deg":75.6558528,"latitude_deg":11.9643592,"altitude":94,"angle":174,"satellites":26,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219dc8","is_valid_coordinates":true} 
[2026-10-05 11:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541725696001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984254257561600,"note":"Value kept but may cause issues"} 
[2026-10-05 11:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605305040896,"note":"Value kept but may cause issues"} 
[2026-10-05 11:08: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-10-05 11:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791178636000,"timestamp_ms":1791178636000,"timestamp_seconds":1791178636,"priority":1,"record_length":96,"hex_timestamp":"000001a10a90fae0"} 
[2026-10-05 11:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:08:11] 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-10-05 11:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 11:08:11] 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-10-05 11:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:08:11] 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-10-05 11:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541725696001,"66":12765,"105":206,"83":41984,"24":0,"16":24984254257561600,"45":1741274605305040896},"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-10-05 11:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541725696001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:08:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 11:08:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984254257561600,"km_value":24984254257561.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605305040896,"description":"Unknown IO ID 45"} 
[2026-10-05 11:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541725696001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741274605305040896}} 
[2026-10-05 11:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":204505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:08:12] local.INFO: GPS data processed {"connection_id":204505,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:08:12] local.INFO: Acknowledgment sent {"connection_id":204505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:08:34] local.INFO: TCP Data received {"connection_id":205901,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:08:34] local.INFO: Processing buffer {"connection_id":205901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:08:34] local.INFO: IMEI packet received {"connection_id":205901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":205901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:08:39] local.INFO: TCP Data received {"connection_id":205901,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:08:39] local.INFO: Processing buffer {"connection_id":205901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:08:39] local.INFO: IMEI packet received {"connection_id":205901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":205901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:08:40] local.INFO: TCP Data received {"connection_id":205901,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a914900012d182b0007219df0005d00ae1b..."} 
[2026-10-05 11:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a914900012d182b0007219df0005d00ae1b..."} 
[2026-10-05 11:08:40] local.INFO: Processing buffer {"connection_id":205901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a914900012d182b0007219df0005d00ae1b..."} 
[2026-10-05 11:08:40] local.INFO: Packet analysis {"connection_id":205901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a91"} 
[2026-10-05 11:08:40] local.INFO: Extracted packet for processing {"connection_id":205901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a91"} 
[2026-10-05 11:08:40] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119643632,"longitude_deg":75.6558592,"latitude_deg":11.9643632,"altitude":93,"angle":174,"satellites":27,"speed":0,"hex_longitude":"2d182b00","hex_latitude":"07219df0","is_valid_coordinates":true} 
[2026-10-05 11:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541730816001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984258552528896,"note":"Value kept but may cause issues"} 
[2026-10-05 11:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793410560,"note":"Value kept but may cause issues"} 
[2026-10-05 11:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791178656000,"timestamp_ms":1791178656000,"timestamp_seconds":1791178656,"priority":1,"record_length":96,"hex_timestamp":"000001a10a914900"} 
[2026-10-05 11:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:08:40] 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-10-05 11:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 11:08:40] 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-10-05 11:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":205901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":205901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":205901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:08:40] 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-10-05 11:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541730816001,"66":12776,"105":206,"83":41984,"24":0,"16":24984258552528896,"45":1741415342793410560},"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-10-05 11:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541730816001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:08:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 11:08:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984258552528896,"km_value":24984258552528.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793410560,"description":"Unknown IO ID 45"} 
[2026-10-05 11:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541730816001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741415342793410560}} 
[2026-10-05 11:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":205901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:08:40] local.INFO: GPS data processed {"connection_id":205901,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:08:40] local.INFO: Acknowledgment sent {"connection_id":205901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:08:40] local.INFO: TCP Data received {"connection_id":207451,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:08:40] local.INFO: Processing buffer {"connection_id":207451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:08:40] local.INFO: IMEI packet received {"connection_id":207451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 11:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":207451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:08:42] local.INFO: TCP Data received {"connection_id":207451,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:08:42] local.INFO: Processing buffer {"connection_id":207451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:08:42] local.INFO: IMEI packet received {"connection_id":207451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 11:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":207451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:08:42] local.INFO: TCP Data received {"connection_id":207450,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a91f4e0012d7d38c005f16008000b00af2b..."} 
[2026-10-05 11:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a91f4e0012d7d38c005f16008000b00af2b..."} 
[2026-10-05 11:08:42] local.INFO: Processing buffer {"connection_id":207450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a91f4e0012d7d38c005f16008000b00af2b..."} 
[2026-10-05 11:08:42] local.INFO: Packet analysis {"connection_id":207450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a91"} 
[2026-10-05 11:08:42] local.INFO: Extracted packet for processing {"connection_id":207450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a91"} 
[2026-10-05 11:08:42] local.INFO: GPS Element Parsed {"raw_longitude":763181248,"raw_latitude":99704840,"longitude_deg":76.3181248,"latitude_deg":9.970484,"altitude":11,"angle":175,"satellites":43,"speed":32,"hex_longitude":"2d7d38c0","hex_latitude":"05f16008","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541745152001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139570919403159552,"note":"Value kept but may cause issues"} 
[2026-10-05 11:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022469297754269696,"note":"Value kept but may cause issues"} 
[2026-10-05 11:08:42] 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-10-05 11:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791178700000,"timestamp_ms":1791178700000,"timestamp_seconds":1791178700,"priority":1,"record_length":96,"hex_timestamp":"000001a10a91f4e0"} 
[2026-10-05 11:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:08:42] 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-10-05 11: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-10-05 11:08:42] 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-10-05 11:08: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-10-05 11:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541745152001,"66":13428,"137":206,"87":13056,"24":32,"16":139570919403159552,"45":9022469297754269696},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,87,24,16,45]} 
[2026-10-05 11:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541745152001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:08:42] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-10-05 11:08:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-10-05 11:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139570919403159552,"km_value":139570919403159.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022469297754269696,"description":"Unknown IO ID 45"} 
[2026-10-05 11:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541745152001,"power":13428,"unknown_137":206,"unknown_87":13056,"ignition":32,"odometer":null,"unknown_45":9022469297754269696}} 
[2026-10-05 11:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":207450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:08:42] local.INFO: GPS data processed {"connection_id":207450,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:08:42] local.INFO: Acknowledgment sent {"connection_id":207450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:08:47] local.INFO: TCP Data received {"connection_id":207451,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:08:47] local.INFO: Processing buffer {"connection_id":207451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:08:47] local.INFO: IMEI packet received {"connection_id":207451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 11:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":207451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:08:48] local.INFO: TCP Data received {"connection_id":207451,"ip":"117.224.253.174","data_length":795,"data_hex":"000000000000030f8e0a000001a10a910e68012c6ba44009804e1002e0015c2c..."} 
[2026-10-05 11:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a910e68012c6ba44009804e1002e0015c2c..."} 
[2026-10-05 11:08:48] local.INFO: Processing buffer {"connection_id":207451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a910e68012c6ba44009804e1002e0015c2c..."} 
[2026-10-05 11:08:48] local.INFO: Packet analysis {"connection_id":207451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a91"} 
[2026-10-05 11:08:48] local.INFO: Extracted packet for processing {"connection_id":207451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a91"} 
[2026-10-05 11:08:48] local.INFO: GPS Element Parsed {"raw_longitude":745251904,"raw_latitude":159403536,"longitude_deg":74.5251904,"latitude_deg":15.9403536,"altitude":736,"angle":348,"satellites":44,"speed":58,"hex_longitude":"2c6ba440","hex_latitude":"09804e10","is_valid_coordinates":true} 
[2026-10-05 11:08: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-10-05 11:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541730304001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8493933482999808,"note":"Value kept but may cause issues"} 
[2026-10-05 11:08:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7758576298857238530,"note":"Value kept but may cause issues"} 
[2026-10-05 11:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791178641000,"timestamp_ms":1791178641000,"timestamp_seconds":1791178641,"priority":1,"record_length":96,"hex_timestamp":"000001a10a910e68"} 
[2026-10-05 11:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:08: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 11:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:08: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-10-05 11:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":207451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":207451,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":207451,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 11:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 11:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541730304001,"66":28278,"157":206,"9":7680,"24":58,"16":8493933482999808,"44":7758576298857238530},"client_ip":"117.224.253.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,9,24,16,44]} 
[2026-10-05 11:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 11:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 11:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541730304001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:08:48] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-10-05 11:08:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 11:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8493933482999808,"km_value":8493933482999.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:08:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":7758576298857238530,"description":"Unknown IO ID 44"} 
[2026-10-05 11:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541730304001,"power":28278,"unknown_157":206,"unknown_9":7680,"ignition":58,"odometer":null,"unknown_44":7758576298857238530}} 
[2026-10-05 11:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":207451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966807,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:08:48] local.INFO: GPS data processed {"connection_id":207451,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:08:48] local.INFO: Acknowledgment sent {"connection_id":207451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:09:05] local.INFO: TCP Data received {"connection_id":204507,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204507,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:09:05] local.INFO: Processing buffer {"connection_id":204507,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:09:05] local.INFO: IMEI packet received {"connection_id":204507,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":204507,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:09:05] local.INFO: TCP Data received {"connection_id":204507,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204507,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:09:05] local.INFO: Processing buffer {"connection_id":204507,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:09:05] local.INFO: IMEI packet received {"connection_id":204507,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":204507,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:09:10] local.INFO: TCP Data received {"connection_id":204507,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204507,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:09:10] local.INFO: Processing buffer {"connection_id":204507,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:09:10] local.INFO: IMEI packet received {"connection_id":204507,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":204507,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:09:11] local.INFO: TCP Data received {"connection_id":205901,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a919338012d182a8007219da0005b00ae1a..."} 
[2026-10-05 11:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a919338012d182a8007219da0005b00ae1a..."} 
[2026-10-05 11:09:11] local.INFO: Processing buffer {"connection_id":205901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a919338012d182a8007219da0005b00ae1a..."} 
[2026-10-05 11:09:11] local.INFO: Packet analysis {"connection_id":205901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a91"} 
[2026-10-05 11:09:11] local.INFO: Extracted packet for processing {"connection_id":205901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a91"} 
[2026-10-05 11:09:11] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119643552,"longitude_deg":75.6558464,"latitude_deg":11.9643552,"altitude":91,"angle":174,"satellites":26,"speed":0,"hex_longitude":"2d182a80","hex_latitude":"07219da0","is_valid_coordinates":true} 
[2026-10-05 11:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541735936001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984271437430784,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711537598464,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09: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-10-05 11:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791178675000,"timestamp_ms":1791178675000,"timestamp_seconds":1791178675,"priority":1,"record_length":96,"hex_timestamp":"000001a10a919338"} 
[2026-10-05 11:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:09:11] 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-10-05 11:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 11:09:11] 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-10-05 11:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:09:11] 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-10-05 11:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541735936001,"66":12743,"105":206,"83":41984,"24":0,"16":24984271437430784,"45":1741485711537598464},"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-10-05 11:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541735936001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:09:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 11:09:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984271437430784,"km_value":24984271437430.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711537598464,"description":"Unknown IO ID 45"} 
[2026-10-05 11:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541735936001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741485711537598464}} 
[2026-10-05 11:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":205901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:09:11] local.INFO: GPS data processed {"connection_id":205901,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:09:11] local.INFO: Acknowledgment sent {"connection_id":205901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:09:12] local.INFO: TCP Data received {"connection_id":204507,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a923f18012d7d3dc005f114f8001200b22e..."} 
[2026-10-05 11:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a923f18012d7d3dc005f114f8001200b22e..."} 
[2026-10-05 11:09:12] local.INFO: Processing buffer {"connection_id":204507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a923f18012d7d3dc005f114f8001200b22e..."} 
[2026-10-05 11:09:12] local.INFO: Packet analysis {"connection_id":204507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a92"} 
[2026-10-05 11:09:12] local.INFO: Extracted packet for processing {"connection_id":204507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a92"} 
[2026-10-05 11:09:12] local.INFO: GPS Element Parsed {"raw_longitude":763182528,"raw_latitude":99685624,"longitude_deg":76.3182528,"latitude_deg":9.9685624,"altitude":18,"angle":178,"satellites":46,"speed":48,"hex_longitude":"2d7d3dc0","hex_latitude":"05f114f8","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541749760001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139571851411062784,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023876672633184256,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:12] 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-10-05 11:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791178719000,"timestamp_ms":1791178719000,"timestamp_seconds":1791178719,"priority":1,"record_length":96,"hex_timestamp":"000001a10a923f18"} 
[2026-10-05 11:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:09: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-10-05 11: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 11:09:12] local.WARNING: Large IO value detected {"io_id":24,"raw_value":10696057720733696,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:12] local.WARNING: Large IO value detected {"io_id":241,"raw_value":3437756430,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626594924288,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:12] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2442856449,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1226571982,"corrected_to":0} 
[2026-10-05 11:09:12] local.WARNING: Large IO value detected {"io_id":41,"raw_value":-4611354527927368206,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:12] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3758173565,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:12] local.WARNING: Large IO value detected {"io_id":239,"raw_value":3647143936,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4061394944,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:12] local.WARNING: Large IO value detected {"io_id":57,"raw_value":-5764593226477797337,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:12] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,137,87,24,241,157,16,219,161,244,45,192,96,11,43,10,66,213,64,130,218,186,128,1,240,230,227,4,113,205,41,119,160,47,239,54,28,2,5,14,38,57],"length":528,"final_offset":658,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1226571982,"validated":0}]} 
[2026-10-05 11:09:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153115211929616384,"timestamp_seconds":1153115211929616.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 11:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541749760001,"66":13820,"137":206,"87":13056,"24":48,"16":139571851411062784,"45":9023876672633184256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,87,24,16,45]} 
[2026-10-05 11:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541749760001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:09:12] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-10-05 11:09:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-10-05 11:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139571851411062784,"km_value":139571851411062.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023876672633184256,"description":"Unknown IO ID 45"} 
[2026-10-05 11:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541749760001,"power":13820,"unknown_137":206,"unknown_87":13056,"ignition":48,"odometer":null,"unknown_45":9023876672633184256}} 
[2026-10-05 11:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":204507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:09:12] local.INFO: GPS data processed {"connection_id":204507,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:09:12] local.INFO: Acknowledgment sent {"connection_id":204507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:09:13] local.INFO: TCP Data received {"connection_id":204507,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a925a70012d7d3f4005f0f008001100b12e..."} 
[2026-10-05 11:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a925a70012d7d3f4005f0f008001100b12e..."} 
[2026-10-05 11:09:13] local.INFO: Processing buffer {"connection_id":204507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a925a70012d7d3f4005f0f008001100b12e..."} 
[2026-10-05 11:09:13] local.INFO: Packet analysis {"connection_id":204507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a92"} 
[2026-10-05 11:09:13] local.INFO: Extracted packet for processing {"connection_id":204507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a92"} 
[2026-10-05 11:09:13] local.INFO: GPS Element Parsed {"raw_longitude":763182912,"raw_latitude":99676168,"longitude_deg":76.3182912,"latitude_deg":9.9676168,"altitude":17,"angle":177,"satellites":46,"speed":55,"hex_longitude":"2d7d3f40","hex_latitude":"05f0f008","is_valid_coordinates":true} 
[2026-10-05 11:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541752064001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139572310972563456,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024580360072394752,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:13] 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-10-05 11:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791178726000,"timestamp_ms":1791178726000,"timestamp_seconds":1791178726,"priority":1,"record_length":96,"hex_timestamp":"000001a10a925a70"} 
[2026-10-05 11:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:09: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-10-05 11:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 11:09:13] 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-10-05 11:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":204507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":204507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":204507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541752064001,"66":13830,"137":206,"87":13056,"24":55,"16":139572310972563456,"45":9024580360072394752},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,87,24,16,45]} 
[2026-10-05 11:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541752064001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:09:13] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-10-05 11:09:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-10-05 11:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139572310972563456,"km_value":139572310972563.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024580360072394752,"description":"Unknown IO ID 45"} 
[2026-10-05 11:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541752064001,"power":13830,"unknown_137":206,"unknown_87":13056,"ignition":55,"odometer":null,"unknown_45":9024580360072394752}} 
[2026-10-05 11:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":204507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:09:13] local.INFO: GPS data processed {"connection_id":204507,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:09:13] local.INFO: Acknowledgment sent {"connection_id":204507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:09:15] local.INFO: TCP Data received {"connection_id":204507,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9275c8012d7d40c005f0cc48000d00b230..."} 
[2026-10-05 11:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9275c8012d7d40c005f0cc48000d00b230..."} 
[2026-10-05 11:09:15] local.INFO: Processing buffer {"connection_id":204507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9275c8012d7d40c005f0cc48000d00b230..."} 
[2026-10-05 11:09:15] local.INFO: Packet analysis {"connection_id":204507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a92"} 
[2026-10-05 11:09:15] local.INFO: Extracted packet for processing {"connection_id":204507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a92"} 
[2026-10-05 11:09:15] local.INFO: GPS Element Parsed {"raw_longitude":763183296,"raw_latitude":99667016,"longitude_deg":76.3183296,"latitude_deg":9.9667016,"altitude":13,"angle":178,"satellites":48,"speed":41,"hex_longitude":"2d7d40c0","hex_latitude":"05f0cc48","is_valid_coordinates":true} 
[2026-10-05 11:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541753856001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139572757649162240,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025002572535040000,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:15] 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-10-05 11:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791178733000,"timestamp_ms":1791178733000,"timestamp_seconds":1791178733,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9275c8"} 
[2026-10-05 11:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:09: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-10-05 11:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 11:09:15] local.WARNING: Large IO value detected {"io_id":24,"raw_value":11540482650865664,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:15] local.WARNING: Large IO value detected {"io_id":241,"raw_value":2196242442,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626594871552,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:15] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2446696449,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":931725518,"corrected_to":0} 
[2026-10-05 11:09:15] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147873192,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:15] local.WARNING: Large IO value detected {"io_id":239,"raw_value":-6917512532044349401,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:15] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812215,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4056737792,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:15] local.WARNING: Large IO value detected {"io_id":119,"raw_value":-2305511518587845135,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:15] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,137,87,24,241,157,16,220,161,63,45,192,20,18,46,10,66,219,27,64,60,244,1,240,116,227,4,113,205,57,186,51,144,44,239,53,2,5,14,41,119],"length":528,"final_offset":658,"validated_count":41,"validation_warnings":[{"io_id":205,"original":931725518,"validated":0}]} 
[2026-10-05 11:09:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225173909774991360,"timestamp_seconds":1225173909774991.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 11:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541753856001,"66":13374,"116":206,"87":11264,"24":41,"16":139572757649162240,"45":9025002572535040000},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-10-05 11:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541753856001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:09:15] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-10-05 11:09:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-10-05 11:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139572757649162240,"km_value":139572757649162.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025002572535040000,"description":"Unknown IO ID 45"} 
[2026-10-05 11:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541753856001,"power":13374,"unknown_116":206,"unknown_87":11264,"ignition":41,"odometer":null,"unknown_45":9025002572535040000}} 
[2026-10-05 11:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":204507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966811,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:09:15] local.INFO: GPS data processed {"connection_id":204507,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:09:15] local.INFO: Acknowledgment sent {"connection_id":204507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:09:20] local.INFO: TCP Data received {"connection_id":207451,"ip":"117.224.253.174","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9129c0012c6b9c800980758002df015d2d..."} 
[2026-10-05 11:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9129c0012c6b9c800980758002df015d2d..."} 
[2026-10-05 11:09:20] local.INFO: Processing buffer {"connection_id":207451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9129c0012c6b9c800980758002df015d2d..."} 
[2026-10-05 11:09:20] local.INFO: Packet analysis {"connection_id":207451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a91"} 
[2026-10-05 11:09:20] local.INFO: Extracted packet for processing {"connection_id":207451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a91"} 
[2026-10-05 11:09:20] local.INFO: GPS Element Parsed {"raw_longitude":745249920,"raw_latitude":159413632,"longitude_deg":74.524992,"latitude_deg":15.9413632,"altitude":735,"angle":349,"satellites":45,"speed":57,"hex_longitude":"2c6b9c80","hex_latitude":"09807580","is_valid_coordinates":true} 
[2026-10-05 11:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541732096001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8494431699206144,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7756394867790319618,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791178648000,"timestamp_ms":1791178648000,"timestamp_seconds":1791178648,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9129c0"} 
[2026-10-05 11:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 11:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1810,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":207451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":207451,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":207451,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 11:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 11:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541732096001,"66":28354,"157":206,"9":7680,"24":57,"16":8494431699206144,"44":7756394867790319618},"client_ip":"117.224.253.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,9,24,16,44]} 
[2026-10-05 11:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 11:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 11:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541732096001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:09:20] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-10-05 11:09:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 11:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8494431699206144,"km_value":8494431699206.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:09:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":7756394867790319618,"description":"Unknown IO ID 44"} 
[2026-10-05 11:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541732096001,"power":28354,"unknown_157":206,"unknown_9":7680,"ignition":57,"odometer":null,"unknown_44":7756394867790319618}} 
[2026-10-05 11:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":207451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966812,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:09:20] local.INFO: GPS data processed {"connection_id":207451,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:09:20] local.INFO: Acknowledgment sent {"connection_id":207451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:09:34] local.INFO: TCP Data received {"connection_id":205902,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:09:34] local.INFO: Processing buffer {"connection_id":205902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:09:34] local.INFO: IMEI packet received {"connection_id":205902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":205902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:09:39] local.INFO: TCP Data received {"connection_id":205902,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:09:39] local.INFO: Processing buffer {"connection_id":205902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:09:39] local.INFO: IMEI packet received {"connection_id":205902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":205902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:09:40] local.INFO: TCP Data received {"connection_id":205902,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a91e158012d182ac007219dd0005b00ae1b..."} 
[2026-10-05 11:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a91e158012d182ac007219dd0005b00ae1b..."} 
[2026-10-05 11:09:40] local.INFO: Processing buffer {"connection_id":205902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a91e158012d182ac007219dd0005b00ae1b..."} 
[2026-10-05 11:09:40] local.INFO: Packet analysis {"connection_id":205902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a91"} 
[2026-10-05 11:09:40] local.INFO: Extracted packet for processing {"connection_id":205902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a91"} 
[2026-10-05 11:09:40] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643600,"longitude_deg":75.6558528,"latitude_deg":11.96436,"altitude":91,"angle":174,"satellites":27,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219dd0","is_valid_coordinates":true} 
[2026-10-05 11:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541740800001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984275732398080,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974049222656,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791178695000,"timestamp_ms":1791178695000,"timestamp_seconds":1791178695,"priority":1,"record_length":96,"hex_timestamp":"000001a10a91e158"} 
[2026-10-05 11:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:09:40] 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-10-05 11:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 11:09:40] 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-10-05 11:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":205902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":205902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":205902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:09:40] 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-10-05 11:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541740800001,"66":12667,"105":206,"83":41984,"24":0,"16":24984275732398080,"45":1741344974049222656},"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-10-05 11:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541740800001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:09:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 11:09:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984275732398080,"km_value":24984275732398.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974049222656,"description":"Unknown IO ID 45"} 
[2026-10-05 11:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541740800001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741344974049222656}} 
[2026-10-05 11:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":205902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:09:40] local.INFO: GPS data processed {"connection_id":205902,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:09:40] local.INFO: Acknowledgment sent {"connection_id":205902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:09:42] local.INFO: TCP Data received {"connection_id":204366,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204366,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:09:42] local.INFO: Processing buffer {"connection_id":204366,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:09:42] local.INFO: IMEI packet received {"connection_id":204366,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 11:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":204366,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:09:45] local.INFO: TCP Data received {"connection_id":204366,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204366,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:09:45] local.INFO: Processing buffer {"connection_id":204366,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:09:45] local.INFO: IMEI packet received {"connection_id":204366,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 11:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":204366,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:09:46] local.INFO: TCP Data received {"connection_id":204366,"ip":"117.224.253.174","data_length":795,"data_hex":"000000000000030f8e0a000001a10a925a70012c6a89c00981a83002e0014029..."} 
[2026-10-05 11:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a925a70012c6a89c00981a83002e0014029..."} 
[2026-10-05 11:09:46] local.INFO: Processing buffer {"connection_id":204366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a925a70012c6a89c00981a83002e0014029..."} 
[2026-10-05 11:09:46] local.INFO: Packet analysis {"connection_id":204366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a92"} 
[2026-10-05 11:09:46] local.INFO: Extracted packet for processing {"connection_id":204366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a92"} 
[2026-10-05 11:09:46] local.INFO: GPS Element Parsed {"raw_longitude":745179584,"raw_latitude":159492144,"longitude_deg":74.5179584,"latitude_deg":15.9492144,"altitude":736,"angle":320,"satellites":41,"speed":42,"hex_longitude":"2c6a89c0","hex_latitude":"0981a830","is_valid_coordinates":true} 
[2026-10-05 11:09: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-10-05 11:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541751808001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8499620019699712,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7683844692564185090,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791178726000,"timestamp_ms":1791178726000,"timestamp_seconds":1791178726,"priority":1,"record_length":96,"hex_timestamp":"000001a10a925a70"} 
[2026-10-05 11:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:09: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 11:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:09: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-10-05 11:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 11:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 11:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541751808001,"66":27821,"158":206,"9":7680,"24":42,"16":8499620019699712,"44":7683844692564185090},"client_ip":"117.224.253.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,9,24,16,44]} 
[2026-10-05 11:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 11:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 11:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541751808001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:09:46] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-10-05 11:09:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 11:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8499620019699712,"km_value":8499620019699.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:09:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":7683844692564185090,"description":"Unknown IO ID 44"} 
[2026-10-05 11:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541751808001,"power":27821,"unknown_158":206,"unknown_9":7680,"ignition":42,"odometer":null,"unknown_44":7683844692564185090}} 
[2026-10-05 11:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":204366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966814,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:09:46] local.INFO: GPS data processed {"connection_id":204366,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:09:46] local.INFO: Acknowledgment sent {"connection_id":204366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:09:47] local.INFO: TCP Data received {"connection_id":204366,"ip":"117.224.253.174","data_length":795,"data_hex":"000000000000030f8e0a000001a10a928180012c6a74400981c62002e3014828..."} 
[2026-10-05 11:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a928180012c6a74400981c62002e3014828..."} 
[2026-10-05 11:09:47] local.INFO: Processing buffer {"connection_id":204366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a928180012c6a74400981c62002e3014828..."} 
[2026-10-05 11:09:47] local.INFO: Packet analysis {"connection_id":204366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a92"} 
[2026-10-05 11:09:47] local.INFO: Extracted packet for processing {"connection_id":204366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a92"} 
[2026-10-05 11:09:47] local.INFO: GPS Element Parsed {"raw_longitude":745174080,"raw_latitude":159499808,"longitude_deg":74.517408,"latitude_deg":15.9499808,"altitude":739,"angle":328,"satellites":40,"speed":35,"hex_longitude":"2c6a7440","hex_latitude":"0981c620","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541753856001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8500070991265792,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7676878186892242946,"note":"Value kept but may cause issues"} 
[2026-10-05 11:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791178736000,"timestamp_ms":1791178736000,"timestamp_seconds":1791178736,"priority":1,"record_length":96,"hex_timestamp":"000001a10a928180"} 
[2026-10-05 11:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 11:09:47] 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-10-05 11: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-10-05 11:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":204366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":204366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":204366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 11:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 11:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541753856001,"66":28300,"158":206,"9":7680,"24":35,"16":8500070991265792,"44":7676878186892242946},"client_ip":"117.224.253.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,9,24,16,44]} 
[2026-10-05 11:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 11:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 11:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541753856001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:09:47] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-10-05 11:09:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 11:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8500070991265792,"km_value":8500070991265.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:09:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":7676878186892242946,"description":"Unknown IO ID 44"} 
[2026-10-05 11:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541753856001,"power":28300,"unknown_158":206,"unknown_9":7680,"ignition":35,"odometer":null,"unknown_44":7676878186892242946}} 
[2026-10-05 11:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":204366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966815,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:09:47] local.INFO: GPS data processed {"connection_id":204366,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:09:47] local.INFO: Acknowledgment sent {"connection_id":204366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:09:59] local.INFO: TCP Data received {"connection_id":207452,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:09:59] local.INFO: Processing buffer {"connection_id":207452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:09:59] local.INFO: IMEI packet received {"connection_id":207452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":207452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:09:59] local.INFO: TCP Data received {"connection_id":207452,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:09:59] local.INFO: Processing buffer {"connection_id":207452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:09:59] local.INFO: IMEI packet received {"connection_id":207452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":207452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:10:05] local.INFO: TCP Data received {"connection_id":207452,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:10:05] local.INFO: Processing buffer {"connection_id":207452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:10:05] local.INFO: IMEI packet received {"connection_id":207452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":207452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:10:06] local.INFO: TCP Data received {"connection_id":207452,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a929cd8012d7d414005f0a5a8000a00b12e..."} 
[2026-10-05 11:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a929cd8012d7d414005f0a5a8000a00b12e..."} 
[2026-10-05 11:10:06] local.INFO: Processing buffer {"connection_id":207452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a929cd8012d7d414005f0a5a8000a00b12e..."} 
[2026-10-05 11:10:06] local.INFO: Packet analysis {"connection_id":207452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a92"} 
[2026-10-05 11:10:06] local.INFO: Extracted packet for processing {"connection_id":207452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a92"} 
[2026-10-05 11:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763183424,"raw_latitude":99657128,"longitude_deg":76.3183424,"latitude_deg":9.9657128,"altitude":10,"angle":177,"satellites":46,"speed":49,"hex_longitude":"2d7d4140","hex_latitude":"05f0a5a8","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541755648001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139573234390532096,"note":"Value kept but may cause issues"} 
[2026-10-05 11:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025424784997763072,"note":"Value kept but may cause issues"} 
[2026-10-05 11:10:06] 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-10-05 11:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791178743000,"timestamp_ms":1791178743000,"timestamp_seconds":1791178743,"priority":1,"record_length":96,"hex_timestamp":"000001a10a929cd8"} 
[2026-10-05 11:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:10:06] 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-10-05 11: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-10-05 11:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541755648001,"66":13624,"116":206,"87":11264,"24":49,"16":139573234390532096,"45":9025424784997763072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-10-05 11:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541755648001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:10:06] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-10-05 11:10:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-10-05 11:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139573234390532096,"km_value":139573234390532.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025424784997763072,"description":"Unknown IO ID 45"} 
[2026-10-05 11:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541755648001,"power":13624,"unknown_116":206,"unknown_87":11264,"ignition":49,"odometer":null,"unknown_45":9025424784997763072}} 
[2026-10-05 11:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":207452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966816,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:10:06] local.INFO: GPS data processed {"connection_id":207452,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:10:06] local.INFO: Acknowledgment sent {"connection_id":207452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:10:11] local.INFO: TCP Data received {"connection_id":205902,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a922f78012d182b0007219d80005900ae1a..."} 
[2026-10-05 11:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a922f78012d182b0007219d80005900ae1a..."} 
[2026-10-05 11:10:11] local.INFO: Processing buffer {"connection_id":205902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a922f78012d182b0007219d80005900ae1a..."} 
[2026-10-05 11:10:11] local.INFO: Packet analysis {"connection_id":205902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a92"} 
[2026-10-05 11:10:11] local.INFO: Extracted packet for processing {"connection_id":205902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a92"} 
[2026-10-05 11:10:11] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119643520,"longitude_deg":75.6558592,"latitude_deg":11.964352,"altitude":89,"angle":174,"satellites":26,"speed":0,"hex_longitude":"2d182b00","hex_latitude":"07219d80","is_valid_coordinates":true} 
[2026-10-05 11:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541745920001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984284322332672,"note":"Value kept but may cause issues"} 
[2026-10-05 11:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793412608,"note":"Value kept but may cause issues"} 
[2026-10-05 11:10: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-10-05 11:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791178715000,"timestamp_ms":1791178715000,"timestamp_seconds":1791178715,"priority":1,"record_length":96,"hex_timestamp":"000001a10a922f78"} 
[2026-10-05 11:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 11:10:11] 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-10-05 11:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:10:11] 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-10-05 11:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541745920001,"66":12722,"105":206,"83":41984,"24":0,"16":24984284322332672,"45":1741415342793412608},"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-10-05 11:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541745920001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:10:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 11:10:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984284322332672,"km_value":24984284322332.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793412608,"description":"Unknown IO ID 45"} 
[2026-10-05 11:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541745920001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741415342793412608}} 
[2026-10-05 11:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":205902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:10:11] local.INFO: GPS data processed {"connection_id":205902,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:10:11] local.INFO: Acknowledgment sent {"connection_id":205902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:10:18] local.INFO: TCP Data received {"connection_id":204366,"ip":"117.224.253.174","data_length":795,"data_hex":"000000000000030f8e0a000001a10a92ac78012c6a60000981e64002e701482a..."} 
[2026-10-05 11:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a92ac78012c6a60000981e64002e701482a..."} 
[2026-10-05 11:10:18] local.INFO: Processing buffer {"connection_id":204366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a92ac78012c6a60000981e64002e701482a..."} 
[2026-10-05 11:10:18] local.INFO: Packet analysis {"connection_id":204366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a92"} 
[2026-10-05 11:10:18] local.INFO: Extracted packet for processing {"connection_id":204366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a92"} 
[2026-10-05 11:10:18] local.INFO: GPS Element Parsed {"raw_longitude":745168896,"raw_latitude":159508032,"longitude_deg":74.5168896,"latitude_deg":15.9508032,"altitude":743,"angle":328,"satellites":42,"speed":35,"hex_longitude":"2c6a6000","hex_latitude":"0981e640","is_valid_coordinates":true} 
[2026-10-05 11:10: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-10-05 11:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541756416001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8500539142701056,"note":"Value kept but may cause issues"} 
[2026-10-05 11:10:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7670826474894925826,"note":"Value kept but may cause issues"} 
[2026-10-05 11:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791178747000,"timestamp_ms":1791178747000,"timestamp_seconds":1791178747,"priority":1,"record_length":96,"hex_timestamp":"000001a10a92ac78"} 
[2026-10-05 11:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-05 11:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":204366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":204366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":204366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 11:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 11:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541756416001,"66":28430,"156":206,"9":7680,"24":35,"16":8500539142701056,"44":7670826474894925826},"client_ip":"117.224.253.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,9,24,16,44]} 
[2026-10-05 11:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 11:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 11:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541756416001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:10:18] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-10-05 11:10:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 11:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8500539142701056,"km_value":8500539142701.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:10:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":7670826474894925826,"description":"Unknown IO ID 44"} 
[2026-10-05 11:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541756416001,"power":28430,"unknown_156":206,"unknown_9":7680,"ignition":35,"odometer":null,"unknown_44":7670826474894925826}} 
[2026-10-05 11:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":204366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966818,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:10:19] local.INFO: GPS data processed {"connection_id":204366,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:10:19] local.INFO: Acknowledgment sent {"connection_id":204366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:10:34] local.INFO: TCP Data received {"connection_id":205903,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:10:34] local.INFO: Processing buffer {"connection_id":205903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:10:34] local.INFO: IMEI packet received {"connection_id":205903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":205903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:10:37] local.INFO: TCP Data received {"connection_id":207452,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a92b830012d7d438005f07f90000a00b12e..."} 
[2026-10-05 11:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a92b830012d7d438005f07f90000a00b12e..."} 
[2026-10-05 11:10:37] local.INFO: Processing buffer {"connection_id":207452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a92b830012d7d438005f07f90000a00b12e..."} 
[2026-10-05 11:10:37] local.INFO: Packet analysis {"connection_id":207452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a92"} 
[2026-10-05 11:10:37] local.INFO: Extracted packet for processing {"connection_id":207452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a92"} 
[2026-10-05 11:10:37] local.INFO: GPS Element Parsed {"raw_longitude":763184000,"raw_latitude":99647376,"longitude_deg":76.3184,"latitude_deg":9.9647376,"altitude":10,"angle":177,"satellites":46,"speed":59,"hex_longitude":"2d7d4380","hex_latitude":"05f07f90","is_valid_coordinates":true} 
[2026-10-05 11:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541758208001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139573706836934656,"note":"Value kept but may cause issues"} 
[2026-10-05 11:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025565522483587072,"note":"Value kept but may cause issues"} 
[2026-10-05 11:10:37] 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-10-05 11:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791178750000,"timestamp_ms":1791178750000,"timestamp_seconds":1791178750,"priority":1,"record_length":96,"hex_timestamp":"000001a10a92b830"} 
[2026-10-05 11:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:10:37] 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-10-05 11:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-10-05 11:10:37] 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-10-05 11:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541758208001,"66":13852,"116":206,"87":11264,"24":59,"16":139573706836934656,"45":9025565522483587072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-10-05 11:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541758208001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:10:37] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-10-05 11:10:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-10-05 11:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139573706836934656,"km_value":139573706836934.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025565522483587072,"description":"Unknown IO ID 45"} 
[2026-10-05 11:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541758208001,"power":13852,"unknown_116":206,"unknown_87":11264,"ignition":59,"odometer":null,"unknown_45":9025565522483587072}} 
[2026-10-05 11:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":207452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:10:37] local.INFO: GPS data processed {"connection_id":207452,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:10:37] local.INFO: Acknowledgment sent {"connection_id":207452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:10:39] local.INFO: TCP Data received {"connection_id":205903,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:10:39] local.INFO: Processing buffer {"connection_id":205903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:10:39] local.INFO: IMEI packet received {"connection_id":205903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":205903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:10:40] local.INFO: TCP Data received {"connection_id":205903,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a927d98012d182ac007219d98005600ae1b..."} 
[2026-10-05 11:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a927d98012d182ac007219d98005600ae1b..."} 
[2026-10-05 11:10:40] local.INFO: Processing buffer {"connection_id":205903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a927d98012d182ac007219d98005600ae1b..."} 
[2026-10-05 11:10:40] local.INFO: Packet analysis {"connection_id":205903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a92"} 
[2026-10-05 11:10:40] local.INFO: Extracted packet for processing {"connection_id":205903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a92"} 
[2026-10-05 11:10:40] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643544,"longitude_deg":75.6558528,"latitude_deg":11.9643544,"altitude":86,"angle":174,"satellites":27,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219d98","is_valid_coordinates":true} 
[2026-10-05 11:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541751040001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984297207234560,"note":"Value kept but may cause issues"} 
[2026-10-05 11:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711537569792,"note":"Value kept but may cause issues"} 
[2026-10-05 11:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791178735000,"timestamp_ms":1791178735000,"timestamp_seconds":1791178735,"priority":1,"record_length":96,"hex_timestamp":"000001a10a927d98"} 
[2026-10-05 11:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:10:40] 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-10-05 11:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 11:10: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-10-05 11:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":205903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":205903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":205903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:10:40] 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-10-05 11:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541751040001,"66":12722,"105":206,"83":41984,"24":0,"16":24984297207234560,"45":1741485711537569792},"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-10-05 11:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541751040001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:10:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 11:10:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984297207234560,"km_value":24984297207234.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711537569792,"description":"Unknown IO ID 45"} 
[2026-10-05 11:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541751040001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741485711537569792}} 
[2026-10-05 11:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":205903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:10:40] local.INFO: GPS data processed {"connection_id":205903,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:10:40] local.INFO: Acknowledgment sent {"connection_id":205903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:10:42] local.INFO: TCP Data received {"connection_id":204367,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:10:42] local.INFO: Processing buffer {"connection_id":204367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:10:42] local.INFO: IMEI packet received {"connection_id":204367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 11:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":204367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:10:44] local.INFO: TCP Data received {"connection_id":204367,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:10:44] local.INFO: Processing buffer {"connection_id":204367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:10:44] local.INFO: IMEI packet received {"connection_id":204367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 11:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":204367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:10:47] local.INFO: TCP Data received {"connection_id":204367,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:10:47] local.INFO: Processing buffer {"connection_id":204367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:10:47] local.INFO: IMEI packet received {"connection_id":204367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 11:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":204367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:10:47] local.INFO: TCP Data received {"connection_id":204367,"ip":"117.224.253.174","data_length":795,"data_hex":"000000000000030f8e0a000001a10a92d388012c6a4e00098205d002e9014d2c..."} 
[2026-10-05 11:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a92d388012c6a4e00098205d002e9014d2c..."} 
[2026-10-05 11:10:47] local.INFO: Processing buffer {"connection_id":204367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a92d388012c6a4e00098205d002e9014d2c..."} 
[2026-10-05 11:10:47] local.INFO: Packet analysis {"connection_id":204367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a92"} 
[2026-10-05 11:10:47] local.INFO: Extracted packet for processing {"connection_id":204367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a92"} 
[2026-10-05 11:10:47] local.INFO: GPS Element Parsed {"raw_longitude":745164288,"raw_latitude":159516112,"longitude_deg":74.5164288,"latitude_deg":15.9516112,"altitude":745,"angle":333,"satellites":44,"speed":38,"hex_longitude":"2c6a4e00","hex_latitude":"098205d0","is_valid_coordinates":true} 
[2026-10-05 11:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541759232001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8500985819299840,"note":"Value kept but may cause issues"} 
[2026-10-05 11:10:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7665126606618640386,"note":"Value kept but may cause issues"} 
[2026-10-05 11:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791178757000,"timestamp_ms":1791178757000,"timestamp_seconds":1791178757,"priority":1,"record_length":96,"hex_timestamp":"000001a10a92d388"} 
[2026-10-05 11:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-10-05 11:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":204367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":204367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":204367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 11:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 11:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541759232001,"66":28376,"156":206,"9":7680,"24":38,"16":8500985819299840,"44":7665126606618640386},"client_ip":"117.224.253.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,9,24,16,44]} 
[2026-10-05 11:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 11:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 11:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541759232001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:10:47] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-10-05 11:10:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 11:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8500985819299840,"km_value":8500985819299.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:10:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":7665126606618640386,"description":"Unknown IO ID 44"} 
[2026-10-05 11:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541759232001,"power":28376,"unknown_156":206,"unknown_9":7680,"ignition":38,"odometer":null,"unknown_44":7665126606618640386}} 
[2026-10-05 11:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":204367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966821,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:10:48] local.INFO: GPS data processed {"connection_id":204367,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:10:48] local.INFO: Acknowledgment sent {"connection_id":204367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:10:52] local.INFO: TCP Data received {"connection_id":204367,"ip":"117.224.253.174","data_length":795,"data_hex":"000000000000030f8e0a000001a10a92fa98012c6a3e80098227d002e901532c..."} 
[2026-10-05 11:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a92fa98012c6a3e80098227d002e901532c..."} 
[2026-10-05 11:10:52] local.INFO: Processing buffer {"connection_id":204367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a92fa98012c6a3e80098227d002e901532c..."} 
[2026-10-05 11:10:52] local.INFO: Packet analysis {"connection_id":204367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a92"} 
[2026-10-05 11:10:52] local.INFO: Extracted packet for processing {"connection_id":204367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a92"} 
[2026-10-05 11:10:52] local.INFO: GPS Element Parsed {"raw_longitude":745160320,"raw_latitude":159524816,"longitude_deg":74.516032,"latitude_deg":15.9524816,"altitude":745,"angle":339,"satellites":44,"speed":39,"hex_longitude":"2c6a3e80","hex_latitude":"098227d0","is_valid_coordinates":true} 
[2026-10-05 11:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541761792001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8501445380800512,"note":"Value kept but may cause issues"} 
[2026-10-05 11:10:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7660060057039917058,"note":"Value kept but may cause issues"} 
[2026-10-05 11:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1791178767000,"timestamp_ms":1791178767000,"timestamp_seconds":1791178767,"priority":1,"record_length":96,"hex_timestamp":"000001a10a92fa98"} 
[2026-10-05 11:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:10: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-10-05 11:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 11:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":204367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":204367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":204367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 11:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 11:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541761792001,"66":28256,"156":206,"9":7680,"24":39,"16":8501445380800512,"44":7660060057039917058},"client_ip":"117.224.253.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,9,24,16,44]} 
[2026-10-05 11:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 11:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 11:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541761792001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:10:52] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-10-05 11:10:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 11:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8501445380800512,"km_value":8501445380800.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:10:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":7660060057039917058,"description":"Unknown IO ID 44"} 
[2026-10-05 11:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541761792001,"power":28256,"unknown_156":206,"unknown_9":7680,"ignition":39,"odometer":null,"unknown_44":7660060057039917058}} 
[2026-10-05 11:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":204367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966822,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:10:52] local.INFO: GPS data processed {"connection_id":204367,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:10:52] local.INFO: Acknowledgment sent {"connection_id":204367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:10:57] local.INFO: TCP Data received {"connection_id":207453,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:10:57] local.INFO: Processing buffer {"connection_id":207453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:10:57] local.INFO: IMEI packet received {"connection_id":207453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":207453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:10:59] local.INFO: TCP Data received {"connection_id":207453,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:10:59] local.INFO: Processing buffer {"connection_id":207453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:10:59] local.INFO: IMEI packet received {"connection_id":207453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":207453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:11:09] local.INFO: TCP Data received {"connection_id":207453,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:11:09] local.INFO: Processing buffer {"connection_id":207453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:11:09] local.INFO: IMEI packet received {"connection_id":207453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":207453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:11:10] local.INFO: TCP Data received {"connection_id":207453,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9413d8012d7d46c005eeefa8000d00b72f..."} 
[2026-10-05 11:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9413d8012d7d46c005eeefa8000d00b72f..."} 
[2026-10-05 11:11:10] local.INFO: Processing buffer {"connection_id":207453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9413d8012d7d46c005eeefa8000d00b72f..."} 
[2026-10-05 11:11:10] local.INFO: Packet analysis {"connection_id":207453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a94"} 
[2026-10-05 11:11:10] local.INFO: Extracted packet for processing {"connection_id":207453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a94"} 
[2026-10-05 11:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763184832,"raw_latitude":99545000,"longitude_deg":76.3184832,"latitude_deg":9.9545,"altitude":13,"angle":183,"satellites":47,"speed":28,"hex_longitude":"2d7d46c0","hex_latitude":"05eeefa8","is_valid_coordinates":true} 
[2026-10-05 11:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541779968001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139578676114096128,"note":"Value kept but may cause issues"} 
[2026-10-05 11:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027535847294246912,"note":"Value kept but may cause issues"} 
[2026-10-05 11:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791178839000,"timestamp_ms":1791178839000,"timestamp_seconds":1791178839,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9413d8"} 
[2026-10-05 11:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 11:11:10] 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-10-05 11:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541779968001,"66":13678,"92":206,"87":11264,"24":28,"16":139578676114096128,"45":9027535847294246912},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,87,24,16,45]} 
[2026-10-05 11:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541779968001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:11:10] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-10-05 11:11:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-10-05 11:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139578676114096128,"km_value":139578676114096.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027535847294246912,"description":"Unknown IO ID 45"} 
[2026-10-05 11:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541779968001,"power":13678,"unknown_92":206,"unknown_87":11264,"ignition":28,"odometer":null,"unknown_45":9027535847294246912}} 
[2026-10-05 11:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":207453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:11:10] local.INFO: GPS data processed {"connection_id":207453,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:11:10] local.INFO: Acknowledgment sent {"connection_id":207453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:11:10] local.INFO: TCP Data received {"connection_id":205903,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a92c7d0012d182a8007219d68005500ae1d..."} 
[2026-10-05 11:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a92c7d0012d182a8007219d68005500ae1d..."} 
[2026-10-05 11:11:10] local.INFO: Processing buffer {"connection_id":205903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a92c7d0012d182a8007219d68005500ae1d..."} 
[2026-10-05 11:11:10] local.INFO: Packet analysis {"connection_id":205903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a92"} 
[2026-10-05 11:11:10] local.INFO: Extracted packet for processing {"connection_id":205903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a92"} 
[2026-10-05 11:11:10] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119643496,"longitude_deg":75.6558464,"latitude_deg":11.9643496,"altitude":85,"angle":174,"satellites":29,"speed":0,"hex_longitude":"2d182a80","hex_latitude":"07219d68","is_valid_coordinates":true} 
[2026-10-05 11:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541756160001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984305797169152,"note":"Value kept but may cause issues"} 
[2026-10-05 11:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793398272,"note":"Value kept but may cause issues"} 
[2026-10-05 11:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791178754000,"timestamp_ms":1791178754000,"timestamp_seconds":1791178754,"priority":1,"record_length":96,"hex_timestamp":"000001a10a92c7d0"} 
[2026-10-05 11:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:11:10] 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-10-05 11:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 11:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":205903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":205903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":205903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:11:10] 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-10-05 11:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541756160001,"66":12711,"105":206,"83":41984,"24":0,"16":24984305797169152,"45":1741415342793398272},"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-10-05 11:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541756160001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:11:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 11:11:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984305797169152,"km_value":24984305797169.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793398272,"description":"Unknown IO ID 45"} 
[2026-10-05 11:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541756160001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741415342793398272}} 
[2026-10-05 11:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":205903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:11:11] local.INFO: GPS data processed {"connection_id":205903,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:11:11] local.INFO: Acknowledgment sent {"connection_id":205903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:11:24] local.INFO: TCP Data received {"connection_id":204367,"ip":"117.224.253.174","data_length":795,"data_hex":"000000000000030f8e0a000001a10a931dc0012c6a328009824c1002e701582c..."} 
[2026-10-05 11:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a931dc0012c6a328009824c1002e701582c..."} 
[2026-10-05 11:11:24] local.INFO: Processing buffer {"connection_id":204367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a931dc0012c6a328009824c1002e701582c..."} 
[2026-10-05 11:11:24] local.INFO: Packet analysis {"connection_id":204367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a93"} 
[2026-10-05 11:11:24] local.INFO: Extracted packet for processing {"connection_id":204367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a93"} 
[2026-10-05 11:11:24] local.INFO: GPS Element Parsed {"raw_longitude":745157248,"raw_latitude":159534096,"longitude_deg":74.5157248,"latitude_deg":15.9534096,"altitude":743,"angle":344,"satellites":44,"speed":45,"hex_longitude":"2c6a3280","hex_latitude":"09824c10","is_valid_coordinates":true} 
[2026-10-05 11:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541764352001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8501917827203072,"note":"Value kept but may cause issues"} 
[2026-10-05 11:11:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7655697194903130114,"note":"Value kept but may cause issues"} 
[2026-10-05 11:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1791178776000,"timestamp_ms":1791178776000,"timestamp_seconds":1791178776,"priority":1,"record_length":96,"hex_timestamp":"000001a10a931dc0"} 
[2026-10-05 11:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 11:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":204367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":204367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":204367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 11:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 11:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541764352001,"66":28256,"156":206,"9":7680,"24":45,"16":8501917827203072,"44":7655697194903130114},"client_ip":"117.224.253.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,9,24,16,44]} 
[2026-10-05 11:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 11:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 11:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541764352001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:11:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-10-05 11:11:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 11:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8501917827203072,"km_value":8501917827203.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:11:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":7655697194903130114,"description":"Unknown IO ID 44"} 
[2026-10-05 11:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541764352001,"power":28256,"unknown_156":206,"unknown_9":7680,"ignition":45,"odometer":null,"unknown_44":7655697194903130114}} 
[2026-10-05 11:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":204367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966825,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:11:24] local.INFO: GPS data processed {"connection_id":204367,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:11:24] local.INFO: Acknowledgment sent {"connection_id":204367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:11:34] local.INFO: TCP Data received {"connection_id":207454,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:11:34] local.INFO: Processing buffer {"connection_id":207454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:11:34] local.INFO: IMEI packet received {"connection_id":207454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":207454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:11:39] local.INFO: TCP Data received {"connection_id":207454,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:11:39] local.INFO: Processing buffer {"connection_id":207454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:11:39] local.INFO: IMEI packet received {"connection_id":207454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":207454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:11:40] local.INFO: TCP Data received {"connection_id":207454,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9315f0012d182a8007219d28005400ae1d..."} 
[2026-10-05 11:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9315f0012d182a8007219d28005400ae1d..."} 
[2026-10-05 11:11:40] local.INFO: Processing buffer {"connection_id":207454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9315f0012d182a8007219d28005400ae1d..."} 
[2026-10-05 11:11:40] local.INFO: Packet analysis {"connection_id":207454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a93"} 
[2026-10-05 11:11:40] local.INFO: Extracted packet for processing {"connection_id":207454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a93"} 
[2026-10-05 11:11:40] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119643432,"longitude_deg":75.6558464,"latitude_deg":11.9643432,"altitude":84,"angle":174,"satellites":29,"speed":0,"hex_longitude":"2d182a80","hex_latitude":"07219d28","is_valid_coordinates":true} 
[2026-10-05 11:11: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-10-05 11:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541761024001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984310092136448,"note":"Value kept but may cause issues"} 
[2026-10-05 11:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974049208320,"note":"Value kept but may cause issues"} 
[2026-10-05 11:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791178774000,"timestamp_ms":1791178774000,"timestamp_seconds":1791178774,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9315f0"} 
[2026-10-05 11:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:11:40] 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-10-05 11:11: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":167,"data_length":795,"current_offset":136} 
[2026-10-05 11:11:40] 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-10-05 11:11: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-10-05 11:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":207454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":207454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":207454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:11:40] 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-10-05 11:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541761024001,"66":12711,"105":206,"83":41984,"24":0,"16":24984310092136448,"45":1741344974049208320},"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-10-05 11:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541761024001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:11:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 11:11:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984310092136448,"km_value":24984310092136.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974049208320,"description":"Unknown IO ID 45"} 
[2026-10-05 11:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541761024001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741344974049208320}} 
[2026-10-05 11:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":207454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:11:40] local.INFO: GPS data processed {"connection_id":207454,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:11:40] local.INFO: Acknowledgment sent {"connection_id":207454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:11:42] local.INFO: TCP Data received {"connection_id":207453,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a943ae8012d7d450005eec908000e00b52f..."} 
[2026-10-05 11:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a943ae8012d7d450005eec908000e00b52f..."} 
[2026-10-05 11:11:42] local.INFO: Processing buffer {"connection_id":207453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a943ae8012d7d450005eec908000e00b52f..."} 
[2026-10-05 11:11:42] local.INFO: Packet analysis {"connection_id":207453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a94"} 
[2026-10-05 11:11:42] local.INFO: Extracted packet for processing {"connection_id":207453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a94"} 
[2026-10-05 11:11:42] local.INFO: GPS Element Parsed {"raw_longitude":763184384,"raw_latitude":99535112,"longitude_deg":76.3184384,"latitude_deg":9.9535112,"altitude":14,"angle":181,"satellites":47,"speed":48,"hex_longitude":"2d7d4500","hex_latitude":"05eec908","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541782784001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139579157150433280,"note":"Value kept but may cause issues"} 
[2026-10-05 11:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027113634826790912,"note":"Value kept but may cause issues"} 
[2026-10-05 11:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791178849000,"timestamp_ms":1791178849000,"timestamp_seconds":1791178849,"priority":1,"record_length":96,"hex_timestamp":"000001a10a943ae8"} 
[2026-10-05 11:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 11:11:42] 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-10-05 11: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-10-05 11:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541782784001,"66":13820,"92":206,"87":11264,"24":48,"16":139579157150433280,"45":9027113634826790912},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,87,24,16,45]} 
[2026-10-05 11:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541782784001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:11:42] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-10-05 11:11:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-10-05 11:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139579157150433280,"km_value":139579157150433.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027113634826790912,"description":"Unknown IO ID 45"} 
[2026-10-05 11:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541782784001,"power":13820,"unknown_92":206,"unknown_87":11264,"ignition":48,"odometer":null,"unknown_45":9027113634826790912}} 
[2026-10-05 11:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":207453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:11:42] local.INFO: GPS data processed {"connection_id":207453,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:11:42] local.INFO: Acknowledgment sent {"connection_id":207453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:11:42] local.INFO: TCP Data received {"connection_id":207455,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:11:42] local.INFO: Processing buffer {"connection_id":207455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:11:42] local.INFO: IMEI packet received {"connection_id":207455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 11:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":207455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:11:47] local.INFO: TCP Data received {"connection_id":207455,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:11:47] local.INFO: Processing buffer {"connection_id":207455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:11:47] local.INFO: IMEI packet received {"connection_id":207455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 11:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":207455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:11:48] local.INFO: TCP Data received {"connection_id":207455,"ip":"117.224.253.174","data_length":795,"data_hex":"000000000000030f8e0a000001a10a933d00012c6a284009826fc002e601592c..."} 
[2026-10-05 11:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a933d00012c6a284009826fc002e601592c..."} 
[2026-10-05 11:11:48] local.INFO: Processing buffer {"connection_id":207455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a933d00012c6a284009826fc002e601592c..."} 
[2026-10-05 11:11:48] local.INFO: Packet analysis {"connection_id":207455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a93"} 
[2026-10-05 11:11:48] local.INFO: Extracted packet for processing {"connection_id":207455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a93"} 
[2026-10-05 11:11:48] local.INFO: GPS Element Parsed {"raw_longitude":745154624,"raw_latitude":159543232,"longitude_deg":74.5154624,"latitude_deg":15.9543232,"altitude":742,"angle":345,"satellites":44,"speed":46,"hex_longitude":"2c6a2840","hex_latitude":"09826fc0","is_valid_coordinates":true} 
[2026-10-05 11:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541766656001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8502377388703744,"note":"Value kept but may cause issues"} 
[2026-10-05 11:11:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7652319495184977922,"note":"Value kept but may cause issues"} 
[2026-10-05 11:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791178784000,"timestamp_ms":1791178784000,"timestamp_seconds":1791178784,"priority":1,"record_length":96,"hex_timestamp":"000001a10a933d00"} 
[2026-10-05 11:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 11:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":207455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":207455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":207455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 11:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 11:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541766656001,"66":28398,"156":206,"9":7680,"24":46,"16":8502377388703744,"44":7652319495184977922},"client_ip":"117.224.253.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,9,24,16,44]} 
[2026-10-05 11:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 11:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 11:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541766656001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:11:48] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-10-05 11:11:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 11:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8502377388703744,"km_value":8502377388703.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:11:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":7652319495184977922,"description":"Unknown IO ID 44"} 
[2026-10-05 11:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541766656001,"power":28398,"unknown_156":206,"unknown_9":7680,"ignition":46,"odometer":null,"unknown_44":7652319495184977922}} 
[2026-10-05 11:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":207455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966828,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:11:48] local.INFO: GPS data processed {"connection_id":207455,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:11:48] local.INFO: Acknowledgment sent {"connection_id":207455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:11:59] local.INFO: TCP Data received {"connection_id":205904,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:11:59] local.INFO: Processing buffer {"connection_id":205904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:11:59] local.INFO: IMEI packet received {"connection_id":205904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":205904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:12:04] local.INFO: TCP Data received {"connection_id":205904,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:12:04] local.INFO: Processing buffer {"connection_id":205904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:12:04] local.INFO: IMEI packet received {"connection_id":205904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":205904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:12:05] local.INFO: TCP Data received {"connection_id":205904,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a945640012d7d444005eea338000d00b52d..."} 
[2026-10-05 11:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a945640012d7d444005eea338000d00b52d..."} 
[2026-10-05 11:12:05] local.INFO: Processing buffer {"connection_id":205904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a945640012d7d444005eea338000d00b52d..."} 
[2026-10-05 11:12:05] local.INFO: Packet analysis {"connection_id":205904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a94"} 
[2026-10-05 11:12:05] local.INFO: Extracted packet for processing {"connection_id":205904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a94"} 
[2026-10-05 11:12:05] local.INFO: GPS Element Parsed {"raw_longitude":763184192,"raw_latitude":99525432,"longitude_deg":76.3184192,"latitude_deg":9.9525432,"altitude":13,"angle":181,"satellites":45,"speed":60,"hex_longitude":"2d7d4440","hex_latitude":"05eea338","is_valid_coordinates":true} 
[2026-10-05 11:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541785344001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139579625301868544,"note":"Value kept but may cause issues"} 
[2026-10-05 11:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026621053615015936,"note":"Value kept but may cause issues"} 
[2026-10-05 11:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791178856000,"timestamp_ms":1791178856000,"timestamp_seconds":1791178856,"priority":1,"record_length":96,"hex_timestamp":"000001a10a945640"} 
[2026-10-05 11:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 11:12:05] 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-10-05 11:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541785344001,"66":13798,"92":206,"87":11264,"24":60,"16":139579625301868544,"45":9026621053615015936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,87,24,16,45]} 
[2026-10-05 11:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541785344001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:12:05] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-10-05 11:12:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-10-05 11:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139579625301868544,"km_value":139579625301868.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026621053615015936,"description":"Unknown IO ID 45"} 
[2026-10-05 11:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541785344001,"power":13798,"unknown_92":206,"unknown_87":11264,"ignition":60,"odometer":null,"unknown_45":9026621053615015936}} 
[2026-10-05 11:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":205904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:12:05] local.INFO: GPS data processed {"connection_id":205904,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:12:05] local.INFO: Acknowledgment sent {"connection_id":205904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:12:11] local.INFO: TCP Data received {"connection_id":207454,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a935c40012d182a8007219d28005400ae1e..."} 
[2026-10-05 11:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a935c40012d182a8007219d28005400ae1e..."} 
[2026-10-05 11:12:11] local.INFO: Processing buffer {"connection_id":207454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a935c40012d182a8007219d28005400ae1e..."} 
[2026-10-05 11:12:11] local.INFO: Packet analysis {"connection_id":207454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a93"} 
[2026-10-05 11:12:11] local.INFO: Extracted packet for processing {"connection_id":207454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a93"} 
[2026-10-05 11:12:11] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119643432,"longitude_deg":75.6558464,"latitude_deg":11.9643432,"altitude":84,"angle":174,"satellites":30,"speed":0,"hex_longitude":"2d182a80","hex_latitude":"07219d28","is_valid_coordinates":true} 
[2026-10-05 11:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541766144001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984310092136448,"note":"Value kept but may cause issues"} 
[2026-10-05 11:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974049191936,"note":"Value kept but may cause issues"} 
[2026-10-05 11:12: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-10-05 11:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791178792000,"timestamp_ms":1791178792000,"timestamp_seconds":1791178792,"priority":1,"record_length":96,"hex_timestamp":"000001a10a935c40"} 
[2026-10-05 11:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:12:11] 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-10-05 11:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-05 11:12:11] 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-10-05 11:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:12:11] 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-10-05 11:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541766144001,"66":12689,"105":206,"83":41984,"24":0,"16":24984310092136448,"45":1741344974049191936},"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-10-05 11:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541766144001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:12:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 11:12:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984310092136448,"km_value":24984310092136.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974049191936,"description":"Unknown IO ID 45"} 
[2026-10-05 11:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541766144001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741344974049191936}} 
[2026-10-05 11:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":207454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:12:11] local.INFO: GPS data processed {"connection_id":207454,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:12:11] local.INFO: Acknowledgment sent {"connection_id":207454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:12:20] local.INFO: TCP Data received {"connection_id":207455,"ip":"117.224.253.174","data_length":795,"data_hex":"000000000000030f8e0a000001a10a94bbd0012c69a38009846ef002e5015a2c..."} 
[2026-10-05 11:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a94bbd0012c69a38009846ef002e5015a2c..."} 
[2026-10-05 11:12:20] local.INFO: Processing buffer {"connection_id":207455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a94bbd0012c69a38009846ef002e5015a2c..."} 
[2026-10-05 11:12:20] local.INFO: Packet analysis {"connection_id":207455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a94"} 
[2026-10-05 11:12:20] local.INFO: Extracted packet for processing {"connection_id":207455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a94"} 
[2026-10-05 11:12:20] local.INFO: GPS Element Parsed {"raw_longitude":745120640,"raw_latitude":159674096,"longitude_deg":74.512064,"latitude_deg":15.9674096,"altitude":741,"angle":346,"satellites":44,"speed":57,"hex_longitude":"2c69a380","hex_latitude":"09846ef0","is_valid_coordinates":true} 
[2026-10-05 11:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541792000001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8508918623895552,"note":"Value kept but may cause issues"} 
[2026-10-05 11:12:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7614742585827409922,"note":"Value kept but may cause issues"} 
[2026-10-05 11:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791178882000,"timestamp_ms":1791178882000,"timestamp_seconds":1791178882,"priority":1,"record_length":96,"hex_timestamp":"000001a10a94bbd0"} 
[2026-10-05 11:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-10-05 11:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":207455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":207455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":207455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 11:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 11:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541792000001,"66":28376,"156":206,"9":7680,"24":57,"16":8508918623895552,"44":7614742585827409922},"client_ip":"117.224.253.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,9,24,16,44]} 
[2026-10-05 11:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 11:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 11:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541792000001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:12:20] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-10-05 11:12:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 11:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8508918623895552,"km_value":8508918623895.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:12:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":7614742585827409922,"description":"Unknown IO ID 44"} 
[2026-10-05 11:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541792000001,"power":28376,"unknown_156":206,"unknown_9":7680,"ignition":57,"odometer":null,"unknown_44":7614742585827409922}} 
[2026-10-05 11:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":207455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966831,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:12:20] local.INFO: GPS data processed {"connection_id":207455,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:12:20] local.INFO: Acknowledgment sent {"connection_id":207455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:12:34] local.INFO: TCP Data received {"connection_id":204508,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:12:34] local.INFO: Processing buffer {"connection_id":204508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:12:34] local.INFO: IMEI packet received {"connection_id":204508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":204508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:12:34] local.INFO: TCP Data received {"connection_id":204508,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:12:34] local.INFO: Processing buffer {"connection_id":204508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:12:34] local.INFO: IMEI packet received {"connection_id":204508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":204508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:12:35] local.INFO: TCP Data received {"connection_id":205904,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a946db0012d7d43c005ee7f78000b00b32e..."} 
[2026-10-05 11:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a946db0012d7d43c005ee7f78000b00b32e..."} 
[2026-10-05 11:12:35] local.INFO: Processing buffer {"connection_id":205904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a946db0012d7d43c005ee7f78000b00b32e..."} 
[2026-10-05 11:12:35] local.INFO: Packet analysis {"connection_id":205904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a94"} 
[2026-10-05 11:12:35] local.INFO: Extracted packet for processing {"connection_id":205904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a94"} 
[2026-10-05 11:12:35] local.INFO: GPS Element Parsed {"raw_longitude":763184064,"raw_latitude":99516280,"longitude_deg":76.3184064,"latitude_deg":9.951628,"altitude":11,"angle":179,"satellites":46,"speed":58,"hex_longitude":"2d7d43c0","hex_latitude":"05ee7f78","is_valid_coordinates":true} 
[2026-10-05 11:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541787136001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139580071978467328,"note":"Value kept but may cause issues"} 
[2026-10-05 11:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026409947380004864,"note":"Value kept but may cause issues"} 
[2026-10-05 11:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791178862000,"timestamp_ms":1791178862000,"timestamp_seconds":1791178862,"priority":1,"record_length":96,"hex_timestamp":"000001a10a946db0"} 
[2026-10-05 11:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 11:12:35] 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-10-05 11:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":205904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":205904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":205904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541787136001,"66":13319,"92":206,"87":11264,"24":58,"16":139580071978467328,"45":9026409947380004864},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,87,24,16,45]} 
[2026-10-05 11:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541787136001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:12:35] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-10-05 11:12:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-10-05 11:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139580071978467328,"km_value":139580071978467.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026409947380004864,"description":"Unknown IO ID 45"} 
[2026-10-05 11:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541787136001,"power":13319,"unknown_92":206,"unknown_87":11264,"ignition":58,"odometer":null,"unknown_45":9026409947380004864}} 
[2026-10-05 11:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":205904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966832,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:12:35] local.INFO: GPS data processed {"connection_id":205904,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:12:35] local.INFO: Acknowledgment sent {"connection_id":205904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:12:39] local.INFO: TCP Data received {"connection_id":204508,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:12:39] local.INFO: Processing buffer {"connection_id":204508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:12:39] local.INFO: IMEI packet received {"connection_id":204508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":204508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:12:40] local.INFO: TCP Data received {"connection_id":204508,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a93a678012d182a8007219d30005500ae1e..."} 
[2026-10-05 11:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a93a678012d182a8007219d30005500ae1e..."} 
[2026-10-05 11:12:40] local.INFO: Processing buffer {"connection_id":204508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a93a678012d182a8007219d30005500ae1e..."} 
[2026-10-05 11:12:40] local.INFO: Packet analysis {"connection_id":204508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a93"} 
[2026-10-05 11:12:40] local.INFO: Extracted packet for processing {"connection_id":204508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a93"} 
[2026-10-05 11:12:40] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119643440,"longitude_deg":75.6558464,"latitude_deg":11.964344,"altitude":85,"angle":174,"satellites":30,"speed":0,"hex_longitude":"2d182a80","hex_latitude":"07219d30","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541770752001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984314387103744,"note":"Value kept but may cause issues"} 
[2026-10-05 11:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974049191936,"note":"Value kept but may cause issues"} 
[2026-10-05 11:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791178811000,"timestamp_ms":1791178811000,"timestamp_seconds":1791178811,"priority":1,"record_length":96,"hex_timestamp":"000001a10a93a678"} 
[2026-10-05 11:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:12:40] 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-10-05 11: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 11:12:40] 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-10-05 11: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-10-05 11:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:12:40] 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-10-05 11:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541770752001,"66":12689,"105":206,"83":41984,"24":0,"16":24984314387103744,"45":1741344974049191936},"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-10-05 11:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541770752001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:12:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 11:12:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984314387103744,"km_value":24984314387103.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974049191936,"description":"Unknown IO ID 45"} 
[2026-10-05 11:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541770752001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741344974049191936}} 
[2026-10-05 11:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":204508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:12:40] local.INFO: GPS data processed {"connection_id":204508,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:12:40] local.INFO: Acknowledgment sent {"connection_id":204508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:12:42] local.INFO: TCP Data received {"connection_id":204368,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:12:42] local.INFO: Processing buffer {"connection_id":204368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:12:42] local.INFO: IMEI packet received {"connection_id":204368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 11:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":204368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:12:43] local.INFO: TCP Data received {"connection_id":204368,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:12:43] local.INFO: Processing buffer {"connection_id":204368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:12:43] local.INFO: IMEI packet received {"connection_id":204368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 11:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":204368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:12:47] local.INFO: TCP Data received {"connection_id":204368,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:12:47] local.INFO: Processing buffer {"connection_id":204368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:12:47] local.INFO: IMEI packet received {"connection_id":204368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 11:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":204368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:12:48] local.INFO: TCP Data received {"connection_id":204368,"ip":"117.224.253.174","data_length":795,"data_hex":"000000000000030f8e0a000001a10a94d728012c699a000984958002e7015a2d..."} 
[2026-10-05 11:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a94d728012c699a000984958002e7015a2d..."} 
[2026-10-05 11:12:48] local.INFO: Processing buffer {"connection_id":204368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a94d728012c699a000984958002e7015a2d..."} 
[2026-10-05 11:12:48] local.INFO: Packet analysis {"connection_id":204368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a94"} 
[2026-10-05 11:12:48] local.INFO: Extracted packet for processing {"connection_id":204368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a94"} 
[2026-10-05 11:12:48] local.INFO: GPS Element Parsed {"raw_longitude":745118208,"raw_latitude":159683968,"longitude_deg":74.5118208,"latitude_deg":15.9683968,"altitude":743,"angle":346,"satellites":45,"speed":57,"hex_longitude":"2c699a00","hex_latitude":"09849580","is_valid_coordinates":true} 
[2026-10-05 11:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541793792001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8509412545134592,"note":"Value kept but may cause issues"} 
[2026-10-05 11:12:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7612068573551194114,"note":"Value kept but may cause issues"} 
[2026-10-05 11:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791178889000,"timestamp_ms":1791178889000,"timestamp_seconds":1791178889,"priority":1,"record_length":96,"hex_timestamp":"000001a10a94d728"} 
[2026-10-05 11:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 11:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 11:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 11:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541793792001,"66":28376,"156":206,"9":7680,"24":57,"16":8509412545134592,"44":7612068573551194114},"client_ip":"117.224.253.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,9,24,16,44]} 
[2026-10-05 11:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 11:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 11:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541793792001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:12:48] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-10-05 11:12:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 11:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8509412545134592,"km_value":8509412545134.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:12:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":7612068573551194114,"description":"Unknown IO ID 44"} 
[2026-10-05 11:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541793792001,"power":28376,"unknown_156":206,"unknown_9":7680,"ignition":57,"odometer":null,"unknown_44":7612068573551194114}} 
[2026-10-05 11:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":204368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966834,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:12:48] local.INFO: GPS data processed {"connection_id":204368,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:12:48] local.INFO: Acknowledgment sent {"connection_id":204368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:12:59] local.INFO: TCP Data received {"connection_id":205905,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:12:59] local.INFO: Processing buffer {"connection_id":205905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:12:59] local.INFO: IMEI packet received {"connection_id":205905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":205905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:13:05] local.INFO: TCP Data received {"connection_id":205905,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:13:05] local.INFO: Processing buffer {"connection_id":205905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:13:05] local.INFO: IMEI packet received {"connection_id":205905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":205905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:13:08] local.INFO: TCP Data received {"connection_id":205905,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a948908012d7d438005ee5ae0000800b42d..."} 
[2026-10-05 11:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a948908012d7d438005ee5ae0000800b42d..."} 
[2026-10-05 11:13:08] local.INFO: Processing buffer {"connection_id":205905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a948908012d7d438005ee5ae0000800b42d..."} 
[2026-10-05 11:13:08] local.INFO: Packet analysis {"connection_id":205905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a94"} 
[2026-10-05 11:13:08] local.INFO: Extracted packet for processing {"connection_id":205905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a94"} 
[2026-10-05 11:13:08] local.INFO: GPS Element Parsed {"raw_longitude":763184000,"raw_latitude":99506912,"longitude_deg":76.3184,"latitude_deg":9.9506912,"altitude":8,"angle":180,"satellites":45,"speed":43,"hex_longitude":"2d7d4380","hex_latitude":"05ee5ae0","is_valid_coordinates":true} 
[2026-10-05 11:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541788672001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139580522950033408,"note":"Value kept but may cause issues"} 
[2026-10-05 11:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026269209889306624,"note":"Value kept but may cause issues"} 
[2026-10-05 11:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791178869000,"timestamp_ms":1791178869000,"timestamp_seconds":1791178869,"priority":1,"record_length":96,"hex_timestamp":"000001a10a948908"} 
[2026-10-05 11:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:13: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-10-05 11:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 11:13:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 11:13:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 11:13:08] local.WARNING: Large IO value detected {"io_id":239,"raw_value":-9018458219437937664,"note":"Value kept but may cause issues"} 
[2026-10-05 11:13:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2281778557,"corrected_to":0} 
[2026-10-05 11:13:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4015904768,"note":"Value kept but may cause issues"} 
[2026-10-05 11:13:08] local.WARNING: Large IO value detected {"io_id":34,"raw_value":57750113095669548,"note":"Value kept but may cause issues"} 
[2026-10-05 11:13:08] local.WARNING: Large IO value detected {"io_id":147,"raw_value":-7858780054874406907,"note":"Value kept but may cause issues"} 
[2026-10-05 11:13:08] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,92,87,24,241,157,16,227,161,86,45,64,163,13,10,66,226,58,201,14,47,19,192,1,240,110,239,4,113,205,49,73,96,53,108,2,5,50,34,147],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2281778557,"validated":0}]} 
[2026-10-05 11:13:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792830544570875904,"timestamp_seconds":792830544570875.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 11:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541788672001,"66":13472,"92":206,"87":11264,"24":43,"16":139580522950033408,"45":9026269209889306624},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,87,24,16,45]} 
[2026-10-05 11:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541788672001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:13:08] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-10-05 11:13:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-10-05 11:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139580522950033408,"km_value":139580522950033.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026269209889306624,"description":"Unknown IO ID 45"} 
[2026-10-05 11:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541788672001,"power":13472,"unknown_92":206,"unknown_87":11264,"ignition":43,"odometer":null,"unknown_45":9026269209889306624}} 
[2026-10-05 11:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":205905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966835,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:13:08] local.INFO: GPS data processed {"connection_id":205905,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:13:08] local.INFO: Acknowledgment sent {"connection_id":205905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:13:11] local.INFO: TCP Data received {"connection_id":204508,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a93ecc8012d182a8007219d88005400ae1e..."} 
[2026-10-05 11:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a93ecc8012d182a8007219d88005400ae1e..."} 
[2026-10-05 11:13:11] local.INFO: Processing buffer {"connection_id":204508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a93ecc8012d182a8007219d88005400ae1e..."} 
[2026-10-05 11:13:11] local.INFO: Packet analysis {"connection_id":204508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a93"} 
[2026-10-05 11:13:11] local.INFO: Extracted packet for processing {"connection_id":204508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a93"} 
[2026-10-05 11:13:11] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119643528,"longitude_deg":75.6558464,"latitude_deg":11.9643528,"altitude":84,"angle":174,"satellites":30,"speed":0,"hex_longitude":"2d182a80","hex_latitude":"07219d88","is_valid_coordinates":true} 
[2026-10-05 11:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541775616001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984318682071040,"note":"Value kept but may cause issues"} 
[2026-10-05 11:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974049193984,"note":"Value kept but may cause issues"} 
[2026-10-05 11:13: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-10-05 11:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791178829000,"timestamp_ms":1791178829000,"timestamp_seconds":1791178829,"priority":1,"record_length":96,"hex_timestamp":"000001a10a93ecc8"} 
[2026-10-05 11:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:13:11] 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-10-05 11:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 11:13:11] 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-10-05 11:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:13:11] 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-10-05 11:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541775616001,"66":12667,"105":206,"83":41984,"24":0,"16":24984318682071040,"45":1741344974049193984},"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-10-05 11:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541775616001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:13:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 11:13:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984318682071040,"km_value":24984318682071.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974049193984,"description":"Unknown IO ID 45"} 
[2026-10-05 11:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541775616001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741344974049193984}} 
[2026-10-05 11:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":204508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:13:11] local.INFO: GPS data processed {"connection_id":204508,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:13:11] local.INFO: Acknowledgment sent {"connection_id":204508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:13:20] local.INFO: TCP Data received {"connection_id":204368,"ip":"117.224.253.174","data_length":795,"data_hex":"000000000000030f8e0a000001a10a94f280012c6990000984baf002e801592d..."} 
[2026-10-05 11:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a94f280012c6990000984baf002e801592d..."} 
[2026-10-05 11:13:20] local.INFO: Processing buffer {"connection_id":204368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a94f280012c6990000984baf002e801592d..."} 
[2026-10-05 11:13:20] local.INFO: Packet analysis {"connection_id":204368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a94"} 
[2026-10-05 11:13:20] local.INFO: Extracted packet for processing {"connection_id":204368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a94"} 
[2026-10-05 11:13:20] local.INFO: GPS Element Parsed {"raw_longitude":745115648,"raw_latitude":159693552,"longitude_deg":74.5115648,"latitude_deg":15.9693552,"altitude":744,"angle":345,"satellites":45,"speed":55,"hex_longitude":"2c699000","hex_latitude":"0984baf0","is_valid_coordinates":true} 
[2026-10-05 11:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541795584001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8509889286504448,"note":"Value kept but may cause issues"} 
[2026-10-05 11:13:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7609394561274970114,"note":"Value kept but may cause issues"} 
[2026-10-05 11:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791178896000,"timestamp_ms":1791178896000,"timestamp_seconds":1791178896,"priority":1,"record_length":96,"hex_timestamp":"000001a10a94f280"} 
[2026-10-05 11:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 11:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":204368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":204368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":204368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 11:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 11:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541795584001,"66":28267,"156":206,"9":7680,"24":55,"16":8509889286504448,"44":7609394561274970114},"client_ip":"117.224.253.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,9,24,16,44]} 
[2026-10-05 11:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 11:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 11:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541795584001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:13:20] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-10-05 11:13:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 11:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8509889286504448,"km_value":8509889286504.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:13:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":7609394561274970114,"description":"Unknown IO ID 44"} 
[2026-10-05 11:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541795584001,"power":28267,"unknown_156":206,"unknown_9":7680,"ignition":55,"odometer":null,"unknown_44":7609394561274970114}} 
[2026-10-05 11:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":204368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966837,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:13:20] local.INFO: GPS data processed {"connection_id":204368,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:13:20] local.INFO: Acknowledgment sent {"connection_id":204368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:13:37] local.INFO: TCP Data received {"connection_id":204509,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:13:37] local.INFO: Processing buffer {"connection_id":204509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:13:37] local.INFO: IMEI packet received {"connection_id":204509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":204509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:13:39] local.INFO: TCP Data received {"connection_id":204509,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:13:39] local.INFO: Processing buffer {"connection_id":204509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:13:39] local.INFO: IMEI packet received {"connection_id":204509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":204509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:13:40] local.INFO: TCP Data received {"connection_id":205905,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a94a848012d7d43c005ee45f8000800a52d..."} 
[2026-10-05 11:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a94a848012d7d43c005ee45f8000800a52d..."} 
[2026-10-05 11:13:40] local.INFO: Processing buffer {"connection_id":205905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a94a848012d7d43c005ee45f8000800a52d..."} 
[2026-10-05 11:13:40] local.INFO: Packet analysis {"connection_id":205905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a94"} 
[2026-10-05 11:13:40] local.INFO: Extracted packet for processing {"connection_id":205905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a94"} 
[2026-10-05 11:13:40] local.INFO: GPS Element Parsed {"raw_longitude":763184064,"raw_latitude":99501560,"longitude_deg":76.3184064,"latitude_deg":9.950156,"altitude":8,"angle":165,"satellites":45,"speed":6,"hex_longitude":"2d7d43c0","hex_latitude":"05ee45f8","is_valid_coordinates":true} 
[2026-10-05 11:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541790464001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139580784943038464,"note":"Value kept but may cause issues"} 
[2026-10-05 11:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026198841142730752,"note":"Value kept but may cause issues"} 
[2026-10-05 11:13:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,87,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 11:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791178877000,"timestamp_ms":1791178877000,"timestamp_seconds":1791178877,"priority":1,"record_length":96,"hex_timestamp":"000001a10a94a848"} 
[2026-10-05 11:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-10-05 11:13:40] 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-10-05 11:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":205905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":205905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":205905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541790464001,"66":13319,"87":13824,"24":6,"16":139580784943038464,"45":9026198841142730752},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,24,16,45]} 
[2026-10-05 11:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541790464001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:13:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 11:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139580784943038464,"km_value":139580784943038.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026198841142730752,"description":"Unknown IO ID 45"} 
[2026-10-05 11:13:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458541790464001,"power":13319,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9026198841142730752}} 
[2026-10-05 11:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":205905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966838,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:13:40] local.INFO: GPS data processed {"connection_id":205905,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:13:40] local.INFO: Acknowledgment sent {"connection_id":205905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:13:44] local.INFO: TCP Data received {"connection_id":204509,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:13:44] local.INFO: Processing buffer {"connection_id":204509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:13:44] local.INFO: IMEI packet received {"connection_id":204509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":204509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:13:45] local.INFO: TCP Data received {"connection_id":204509,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a943700012d182ac007219d88005600ae1e..."} 
[2026-10-05 11:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a943700012d182ac007219d88005600ae1e..."} 
[2026-10-05 11:13:45] local.INFO: Processing buffer {"connection_id":204509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a943700012d182ac007219d88005600ae1e..."} 
[2026-10-05 11:13:45] local.INFO: Packet analysis {"connection_id":204509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a94"} 
[2026-10-05 11:13:45] local.INFO: Extracted packet for processing {"connection_id":204509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a94"} 
[2026-10-05 11:13:45] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643528,"longitude_deg":75.6558528,"latitude_deg":11.9643528,"altitude":86,"angle":174,"satellites":30,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219d88","is_valid_coordinates":true} 
[2026-10-05 11:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541780224001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984327272005632,"note":"Value kept but may cause issues"} 
[2026-10-05 11:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974049216512,"note":"Value kept but may cause issues"} 
[2026-10-05 11:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791178848000,"timestamp_ms":1791178848000,"timestamp_seconds":1791178848,"priority":1,"record_length":96,"hex_timestamp":"000001a10a943700"} 
[2026-10-05 11:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:13:45] 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-10-05 11:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 11:13:45] 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-10-05 11:13:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":204509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":204509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":204509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:13:45] 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-10-05 11:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541780224001,"66":12678,"105":206,"83":41984,"24":0,"16":24984327272005632,"45":1741344974049216512},"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-10-05 11:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541780224001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:13:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 11:13:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984327272005632,"km_value":24984327272005.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974049216512,"description":"Unknown IO ID 45"} 
[2026-10-05 11:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541780224001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741344974049216512}} 
[2026-10-05 11:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":204509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:13:45] local.INFO: GPS data processed {"connection_id":204509,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:13:45] local.INFO: Acknowledgment sent {"connection_id":204509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:13:49] local.INFO: TCP Data received {"connection_id":204509,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a948138012d182a4007219d50005800ae1f..."} 
[2026-10-05 11:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a948138012d182a4007219d50005800ae1f..."} 
[2026-10-05 11:13:49] local.INFO: Processing buffer {"connection_id":204509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a948138012d182a4007219d50005800ae1f..."} 
[2026-10-05 11:13:49] local.INFO: Packet analysis {"connection_id":204509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a94"} 
[2026-10-05 11:13:49] local.INFO: Extracted packet for processing {"connection_id":204509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a94"} 
[2026-10-05 11:13:49] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643472,"longitude_deg":75.65584,"latitude_deg":11.9643472,"altitude":88,"angle":174,"satellites":31,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219d50","is_valid_coordinates":true} 
[2026-10-05 11:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541785088001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984335861940224,"note":"Value kept but may cause issues"} 
[2026-10-05 11:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793394176,"note":"Value kept but may cause issues"} 
[2026-10-05 11:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1791178867000,"timestamp_ms":1791178867000,"timestamp_seconds":1791178867,"priority":1,"record_length":96,"hex_timestamp":"000001a10a948138"} 
[2026-10-05 11:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:13:49] 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-10-05 11:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 11:13:49] 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-10-05 11:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":204509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":204509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":204509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:13:49] 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-10-05 11:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541785088001,"66":12678,"105":206,"83":41984,"24":0,"16":24984335861940224,"45":1741415342793394176},"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-10-05 11:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541785088001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:13:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 11:13:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984335861940224,"km_value":24984335861940.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793394176,"description":"Unknown IO ID 45"} 
[2026-10-05 11:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541785088001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741415342793394176}} 
[2026-10-05 11:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":204509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:13:50] local.INFO: GPS data processed {"connection_id":204509,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:13:50] local.INFO: Acknowledgment sent {"connection_id":204509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:13:57] local.INFO: TCP Data received {"connection_id":205906,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:13:57] local.INFO: Processing buffer {"connection_id":205906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:13:57] local.INFO: IMEI packet received {"connection_id":205906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 11:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":205906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:14:01] local.INFO: TCP Data received {"connection_id":205906,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:14:01] local.INFO: Processing buffer {"connection_id":205906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:14:01] local.INFO: IMEI packet received {"connection_id":205906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 11:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":205906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:14:09] local.INFO: TCP Data received {"connection_id":205907,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:14:09] local.INFO: Processing buffer {"connection_id":205907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:14:09] local.INFO: IMEI packet received {"connection_id":205907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":205907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:14:09] local.INFO: TCP Data received {"connection_id":205907,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:14:09] local.INFO: Processing buffer {"connection_id":205907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:14:09] local.INFO: IMEI packet received {"connection_id":205907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":205907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:14:10] local.INFO: TCP Data received {"connection_id":205906,"ip":"117.224.253.174","data_length":795,"data_hex":"000000000000030f8e0a000001a10a964270012c693ac009863f9002fa015d2d..."} 
[2026-10-05 11:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a964270012c693ac009863f9002fa015d2d..."} 
[2026-10-05 11:14:10] local.INFO: Processing buffer {"connection_id":205906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a964270012c693ac009863f9002fa015d2d..."} 
[2026-10-05 11:14:10] local.INFO: Packet analysis {"connection_id":205906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a96"} 
[2026-10-05 11:14:10] local.INFO: Extracted packet for processing {"connection_id":205906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a96"} 
[2026-10-05 11:14:10] local.INFO: GPS Element Parsed {"raw_longitude":745093824,"raw_latitude":159793040,"longitude_deg":74.5093824,"latitude_deg":15.979304,"altitude":762,"angle":349,"satellites":45,"speed":38,"hex_longitude":"2c693ac0","hex_latitude":"09863f90","is_valid_coordinates":true} 
[2026-10-05 11:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541817088001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8514824203927552,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7584554394605953026,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791178982000,"timestamp_ms":1791178982000,"timestamp_seconds":1791178982,"priority":1,"record_length":96,"hex_timestamp":"000001a10a964270"} 
[2026-10-05 11:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:14: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-10-05 11:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 11:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":205906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":205906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":205906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 11:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 11:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541817088001,"66":27887,"50":206,"9":7680,"24":38,"16":8514824203927552,"44":7584554394605953026},"client_ip":"117.224.253.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,9,24,16,44]} 
[2026-10-05 11:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 11:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 11:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541817088001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:14:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-10-05 11:14:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 11:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8514824203927552,"km_value":8514824203927.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:14:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":7584554394605953026,"description":"Unknown IO ID 44"} 
[2026-10-05 11:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541817088001,"power":27887,"unknown_50":206,"unknown_9":7680,"ignition":38,"odometer":null,"unknown_44":7584554394605953026}} 
[2026-10-05 11:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":205906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966841,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:14:10] local.INFO: GPS data processed {"connection_id":205906,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:14:10] local.INFO: Acknowledgment sent {"connection_id":205906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:14:12] local.INFO: TCP Data received {"connection_id":205906,"ip":"117.224.253.174","data_length":795,"data_hex":"000000000000030f8e0a000001a10a966980012c6933400986621002fd015b2c..."} 
[2026-10-05 11:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a966980012c6933400986621002fd015b2c..."} 
[2026-10-05 11:14:12] local.INFO: Processing buffer {"connection_id":205906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a966980012c6933400986621002fd015b2c..."} 
[2026-10-05 11:14:12] local.INFO: Packet analysis {"connection_id":205906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a96"} 
[2026-10-05 11:14:12] local.INFO: Extracted packet for processing {"connection_id":205906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a96"} 
[2026-10-05 11:14:12] local.INFO: GPS Element Parsed {"raw_longitude":745091904,"raw_latitude":159801872,"longitude_deg":74.5091904,"latitude_deg":15.9801872,"altitude":765,"angle":347,"satellites":44,"speed":33,"hex_longitude":"2c693340","hex_latitude":"09866210","is_valid_coordinates":true} 
[2026-10-05 11:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541819392001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8515262290591744,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7582584069771202562,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791178992000,"timestamp_ms":1791178992000,"timestamp_seconds":1791178992,"priority":1,"record_length":96,"hex_timestamp":"000001a10a966980"} 
[2026-10-05 11:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:14: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-10-05 11:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-10-05 11:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":205906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":205906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":205906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 11:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 11:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541819392001,"66":28256,"50":206,"9":7680,"24":33,"16":8515262290591744,"44":7582584069771202562},"client_ip":"117.224.253.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,9,24,16,44]} 
[2026-10-05 11:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 11:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 11:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541819392001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:14:12] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-10-05 11:14:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 11:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8515262290591744,"km_value":8515262290591.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:14:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":7582584069771202562,"description":"Unknown IO ID 44"} 
[2026-10-05 11:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541819392001,"power":28256,"unknown_50":206,"unknown_9":7680,"ignition":33,"odometer":null,"unknown_44":7582584069771202562}} 
[2026-10-05 11:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":205906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966842,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:14:12] local.INFO: GPS data processed {"connection_id":205906,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:14:12] local.INFO: Acknowledgment sent {"connection_id":205906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:14:15] local.INFO: TCP Data received {"connection_id":205907,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:14:15] local.INFO: Processing buffer {"connection_id":205907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:14:15] local.INFO: IMEI packet received {"connection_id":205907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":205907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:14:16] local.INFO: TCP Data received {"connection_id":205907,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a94b7e8012d7d444005ee4180000800b22e..."} 
[2026-10-05 11:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a94b7e8012d7d444005ee4180000800b22e..."} 
[2026-10-05 11:14:16] local.INFO: Processing buffer {"connection_id":205907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a94b7e8012d7d444005ee4180000800b22e..."} 
[2026-10-05 11:14:16] local.INFO: Packet analysis {"connection_id":205907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a94"} 
[2026-10-05 11:14:16] local.INFO: Extracted packet for processing {"connection_id":205907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a94"} 
[2026-10-05 11:14:16] local.INFO: GPS Element Parsed {"raw_longitude":763184192,"raw_latitude":99500416,"longitude_deg":76.3184192,"latitude_deg":9.9500416,"altitude":8,"angle":178,"satellites":46,"speed":22,"hex_longitude":"2d7d4440","hex_latitude":"05ee4180","is_valid_coordinates":true} 
[2026-10-05 11:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541792512001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139580840777613312,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026269209885538304,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,87,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 11:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791178881000,"timestamp_ms":1791178881000,"timestamp_seconds":1791178881,"priority":1,"record_length":96,"hex_timestamp":"000001a10a94b7e8"} 
[2026-10-05 11:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:14: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-10-05 11:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 11:14:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:16] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2486888449,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:16] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3992977408,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:16] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3372744718,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1029439694,"corrected_to":0} 
[2026-10-05 11:14:16] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3623955837,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:16] local.WARNING: Large IO value detected {"io_id":70,"raw_value":3221614319,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:16] local.WARNING: Large IO value detected {"io_id":239,"raw_value":4134304509477530880,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4011073536,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:16] local.WARNING: Large IO value detected {"io_id":116,"raw_value":57750113095669548,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:16] local.WARNING: Large IO value detected {"io_id":147,"raw_value":-3636655404214566907,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:16] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,87,24,241,157,16,227,161,137,45,128,90,8,10,66,92,109,192,127,11,46,86,64,1,240,230,226,238,4,113,205,48,19,70,168,47,239,53,2,5,13,49,116,147],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1029439694,"validated":0}]} 
[2026-10-05 11:14:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576642364995928064,"timestamp_seconds":576642364995928.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 11:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541792512001,"66":13906,"87":13824,"24":22,"16":139580840777613312,"45":9026269209885538304},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,24,16,45]} 
[2026-10-05 11:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541792512001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:14:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 11:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139580840777613312,"km_value":139580840777613.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026269209885538304,"description":"Unknown IO ID 45"} 
[2026-10-05 11:14:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458541792512001,"power":13906,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":9026269209885538304}} 
[2026-10-05 11:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":205907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:14:16] local.INFO: GPS data processed {"connection_id":205907,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:14:16] local.INFO: Acknowledgment sent {"connection_id":205907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:14:17] local.INFO: TCP Data received {"connection_id":205907,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a950608012d7d440005ee2270000b00b72e..."} 
[2026-10-05 11:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a950608012d7d440005ee2270000b00b72e..."} 
[2026-10-05 11:14:17] local.INFO: Processing buffer {"connection_id":205907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a950608012d7d440005ee2270000b00b72e..."} 
[2026-10-05 11:14:17] local.INFO: Packet analysis {"connection_id":205907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a95"} 
[2026-10-05 11:14:17] local.INFO: Extracted packet for processing {"connection_id":205907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a95"} 
[2026-10-05 11:14:17] local.INFO: GPS Element Parsed {"raw_longitude":763184128,"raw_latitude":99492464,"longitude_deg":76.3184128,"latitude_deg":9.9492464,"altitude":11,"angle":183,"satellites":46,"speed":15,"hex_longitude":"2d7d4400","hex_latitude":"05ee2270","is_valid_coordinates":true} 
[2026-10-05 11:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541793536001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139581227324669952,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026409947373600768,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,87,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 11:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791178901000,"timestamp_ms":1791178901000,"timestamp_seconds":1791178901,"priority":1,"record_length":96,"hex_timestamp":"000001a10a950608"} 
[2026-10-05 11:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 11:14:17] 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-10-05 11:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":205907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":205907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":205907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541793536001,"66":13798,"87":13824,"24":15,"16":139581227324669952,"45":9026409947373600768},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,24,16,45]} 
[2026-10-05 11:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541793536001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:14:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 11:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139581227324669952,"km_value":139581227324669.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026409947373600768,"description":"Unknown IO ID 45"} 
[2026-10-05 11:14:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458541793536001,"power":13798,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":9026409947373600768}} 
[2026-10-05 11:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":205907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:14:17] local.INFO: GPS data processed {"connection_id":205907,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:14:17] local.INFO: Acknowledgment sent {"connection_id":205907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:14:34] local.INFO: TCP Data received {"connection_id":204369,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:14:34] local.INFO: Processing buffer {"connection_id":204369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:14:34] local.INFO: IMEI packet received {"connection_id":204369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":204369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:14:39] local.INFO: TCP Data received {"connection_id":204369,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:14:39] local.INFO: Processing buffer {"connection_id":204369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:14:39] local.INFO: IMEI packet received {"connection_id":204369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":204369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:14:40] local.INFO: TCP Data received {"connection_id":204369,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a94cb70012d182a4007219d90005600ae1f..."} 
[2026-10-05 11:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a94cb70012d182a4007219d90005600ae1f..."} 
[2026-10-05 11:14:40] local.INFO: Processing buffer {"connection_id":204369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a94cb70012d182a4007219d90005600ae1f..."} 
[2026-10-05 11:14:40] local.INFO: Packet analysis {"connection_id":204369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a94"} 
[2026-10-05 11:14:40] local.INFO: Extracted packet for processing {"connection_id":204369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a94"} 
[2026-10-05 11:14:40] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643536,"longitude_deg":75.65584,"latitude_deg":11.9643536,"altitude":86,"angle":174,"satellites":31,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219d90","is_valid_coordinates":true} 
[2026-10-05 11:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541789952001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984340156907520,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605305024512,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791178886000,"timestamp_ms":1791178886000,"timestamp_seconds":1791178886,"priority":1,"record_length":96,"hex_timestamp":"000001a10a94cb70"} 
[2026-10-05 11:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:14:40] 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-10-05 11:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 11:14:40] 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-10-05 11:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:14:40] 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-10-05 11:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541789952001,"66":12667,"105":206,"83":41984,"24":0,"16":24984340156907520,"45":1741274605305024512},"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-10-05 11:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541789952001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:14:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 11:14:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984340156907520,"km_value":24984340156907.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605305024512,"description":"Unknown IO ID 45"} 
[2026-10-05 11:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541789952001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741274605305024512}} 
[2026-10-05 11:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":204369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:14:40] local.INFO: GPS data processed {"connection_id":204369,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:14:40] local.INFO: Acknowledgment sent {"connection_id":204369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:14:43] local.INFO: TCP Data received {"connection_id":204510,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204510,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:14:43] local.INFO: Processing buffer {"connection_id":204510,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:14:43] local.INFO: IMEI packet received {"connection_id":204510,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 11:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":204510,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:14:44] local.INFO: TCP Data received {"connection_id":204510,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204510,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:14:44] local.INFO: Processing buffer {"connection_id":204510,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:14:44] local.INFO: IMEI packet received {"connection_id":204510,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 11:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":204510,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:14:47] local.INFO: TCP Data received {"connection_id":204510,"ip":"117.224.253.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204510,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:14:47] local.INFO: Processing buffer {"connection_id":204510,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:14:47] local.INFO: IMEI packet received {"connection_id":204510,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 11:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":204510,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:14:48] local.INFO: TCP Data received {"connection_id":204510,"ip":"117.224.253.174","data_length":795,"data_hex":"000000000000030f8e0a000001a10a969478012c692b40098685700300015c2d..."} 
[2026-10-05 11:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a969478012c692b40098685700300015c2d..."} 
[2026-10-05 11:14:48] local.INFO: Processing buffer {"connection_id":204510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a969478012c692b40098685700300015c2d..."} 
[2026-10-05 11:14:48] local.INFO: Packet analysis {"connection_id":204510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a96"} 
[2026-10-05 11:14:48] local.INFO: Extracted packet for processing {"connection_id":204510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a96"} 
[2026-10-05 11:14:48] local.INFO: GPS Element Parsed {"raw_longitude":745089856,"raw_latitude":159810928,"longitude_deg":74.5089856,"latitude_deg":15.9810928,"altitude":768,"angle":348,"satellites":45,"speed":33,"hex_longitude":"2c692b40","hex_latitude":"09868570","is_valid_coordinates":true} 
[2026-10-05 11:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541821952001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8515708967190528,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7580473007448133634,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791179003000,"timestamp_ms":1791179003000,"timestamp_seconds":1791179003,"priority":1,"record_length":96,"hex_timestamp":"000001a10a969478"} 
[2026-10-05 11:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 11:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:14:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204510,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204510,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 11:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 11:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541821952001,"66":28256,"50":206,"9":7680,"24":33,"16":8515708967190528,"44":7580473007448133634},"client_ip":"117.224.253.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,9,24,16,44]} 
[2026-10-05 11:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 11:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 11:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541821952001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:14:48] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-10-05 11:14:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 11:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8515708967190528,"km_value":8515708967190.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:14:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":7580473007448133634,"description":"Unknown IO ID 44"} 
[2026-10-05 11:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541821952001,"power":28256,"unknown_50":206,"unknown_9":7680,"ignition":33,"odometer":null,"unknown_44":7580473007448133634}} 
[2026-10-05 11:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":204510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966846,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:14:48] local.INFO: GPS data processed {"connection_id":204510,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:14:48] local.INFO: Acknowledgment sent {"connection_id":204510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:14:52] local.INFO: TCP Data received {"connection_id":204510,"ip":"117.224.253.174","data_length":795,"data_hex":"000000000000030f8e0a000001a10a96bf70012c6923800986a9f00302015b2d..."} 
[2026-10-05 11:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a96bf70012c6923800986a9f00302015b2d..."} 
[2026-10-05 11:14:52] local.INFO: Processing buffer {"connection_id":204510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a96bf70012c6923800986a9f00302015b2d..."} 
[2026-10-05 11:14:52] local.INFO: Packet analysis {"connection_id":204510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a96"} 
[2026-10-05 11:14:52] local.INFO: Extracted packet for processing {"connection_id":204510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a96"} 
[2026-10-05 11:14:52] local.INFO: GPS Element Parsed {"raw_longitude":745087872,"raw_latitude":159820272,"longitude_deg":74.5087872,"latitude_deg":15.9820272,"altitude":770,"angle":347,"satellites":45,"speed":34,"hex_longitude":"2c692380","hex_latitude":"0986a9f0","is_valid_coordinates":true} 
[2026-10-05 11:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541824768001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8516172823658496,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7578221207636766723,"note":"Value kept but may cause issues"} 
[2026-10-05 11:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1791179014000,"timestamp_ms":1791179014000,"timestamp_seconds":1791179014,"priority":1,"record_length":96,"hex_timestamp":"000001a10a96bf70"} 
[2026-10-05 11:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:14: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-10-05 11:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 11:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":204510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":204510,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":204510,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 11:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 11:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541824768001,"66":27800,"50":206,"9":7680,"24":34,"16":8516172823658496,"44":7578221207636766723},"client_ip":"117.224.253.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,9,24,16,44]} 
[2026-10-05 11:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 11:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 11:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541824768001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:14:52] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-10-05 11:14:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 11:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8516172823658496,"km_value":8516172823658.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:14:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":7578221207636766723,"description":"Unknown IO ID 44"} 
[2026-10-05 11:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541824768001,"power":27800,"unknown_50":206,"unknown_9":7680,"ignition":34,"odometer":null,"unknown_44":7578221207636766723}} 
[2026-10-05 11:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":204510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966847,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:14:53] local.INFO: GPS data processed {"connection_id":204510,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:14:53] local.INFO: Acknowledgment sent {"connection_id":204510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:14:57] local.INFO: TCP Data received {"connection_id":204511,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:14:57] local.INFO: Processing buffer {"connection_id":204511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:14:57] local.INFO: IMEI packet received {"connection_id":204511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":204511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:14:59] local.INFO: TCP Data received {"connection_id":204511,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:14:59] local.INFO: Processing buffer {"connection_id":204511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:14:59] local.INFO: IMEI packet received {"connection_id":204511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":204511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:15:05] local.INFO: TCP Data received {"connection_id":204511,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:15:05] local.INFO: Processing buffer {"connection_id":204511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:15:05] local.INFO: IMEI packet received {"connection_id":204511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":204511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:15:11] local.INFO: TCP Data received {"connection_id":204369,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9511c0012d182a4007219dc8005500ae20..."} 
[2026-10-05 11:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9511c0012d182a4007219dc8005500ae20..."} 
[2026-10-05 11:15:11] local.INFO: Processing buffer {"connection_id":204369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9511c0012d182a4007219dc8005500ae20..."} 
[2026-10-05 11:15:11] local.INFO: Packet analysis {"connection_id":204369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a95"} 
[2026-10-05 11:15:11] local.INFO: Extracted packet for processing {"connection_id":204369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a95"} 
[2026-10-05 11:15:11] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643592,"longitude_deg":75.65584,"latitude_deg":11.9643592,"altitude":85,"angle":174,"satellites":32,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219dc8","is_valid_coordinates":true} 
[2026-10-05 11:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541794816001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984344451874816,"note":"Value kept but may cause issues"} 
[2026-10-05 11:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605305040896,"note":"Value kept but may cause issues"} 
[2026-10-05 11:15: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-10-05 11:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791178904000,"timestamp_ms":1791178904000,"timestamp_seconds":1791178904,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9511c0"} 
[2026-10-05 11:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:15:11] 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-10-05 11:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 11:15:11] 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-10-05 11:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:15:11] 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-10-05 11:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541794816001,"66":12645,"105":206,"83":41984,"24":0,"16":24984344451874816,"45":1741274605305040896},"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-10-05 11:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541794816001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:15:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 11:15:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984344451874816,"km_value":24984344451874.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605305040896,"description":"Unknown IO ID 45"} 
[2026-10-05 11:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541794816001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741274605305040896}} 
[2026-10-05 11:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":204369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:15:11] local.INFO: GPS data processed {"connection_id":204369,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:15:11] local.INFO: Acknowledgment sent {"connection_id":204369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:15:21] local.INFO: TCP Data received {"connection_id":204511,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a977320012d7d3ac005eca4f0000d00b32c..."} 
[2026-10-05 11:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a977320012d7d3ac005eca4f0000d00b32c..."} 
[2026-10-05 11:15:21] local.INFO: Processing buffer {"connection_id":204511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a977320012d7d3ac005eca4f0000d00b32c..."} 
[2026-10-05 11:15:21] local.INFO: Packet analysis {"connection_id":204511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a97"} 
[2026-10-05 11:15:21] local.INFO: Extracted packet for processing {"connection_id":204511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a97"} 
[2026-10-05 11:15:21] local.INFO: GPS Element Parsed {"raw_longitude":763181760,"raw_latitude":99394800,"longitude_deg":76.318176,"latitude_deg":9.93948,"altitude":13,"angle":179,"satellites":44,"speed":57,"hex_longitude":"2d7d3ac0","hex_latitude":"05eca4f0","is_valid_coordinates":true} 
[2026-10-05 11:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541837824001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139585973263532032,"note":"Value kept but may cause issues"} 
[2026-10-05 11:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023735935070109696,"note":"Value kept but may cause issues"} 
[2026-10-05 11:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791179060000,"timestamp_ms":1791179060000,"timestamp_seconds":1791179060,"priority":1,"record_length":96,"hex_timestamp":"000001a10a977320"} 
[2026-10-05 11:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-10-05 11:15:21] 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-10-05 11:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":204511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":204511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":204511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541837824001,"66":13319,"172":206,"87":13824,"24":57,"16":139585973263532032,"45":9023735935070109696},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,87,24,16,45]} 
[2026-10-05 11:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541837824001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:15:21] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-10-05 11:15:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 11:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139585973263532032,"km_value":139585973263532.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023735935070109696,"description":"Unknown IO ID 45"} 
[2026-10-05 11:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541837824001,"power":13319,"unknown_172":206,"unknown_87":13824,"ignition":57,"odometer":null,"unknown_45":9023735935070109696}} 
[2026-10-05 11:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":204511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:15:21] local.INFO: GPS data processed {"connection_id":204511,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:15:21] local.INFO: Acknowledgment sent {"connection_id":204511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:15:22] local.INFO: TCP Data received {"connection_id":204511,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a979648012d7d3b0005ec8090000d00b629..."} 
[2026-10-05 11:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a979648012d7d3b0005ec8090000d00b629..."} 
[2026-10-05 11:15:22] local.INFO: Processing buffer {"connection_id":204511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a979648012d7d3b0005ec8090000d00b629..."} 
[2026-10-05 11:15:22] local.INFO: Packet analysis {"connection_id":204511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a97"} 
[2026-10-05 11:15:22] local.INFO: Extracted packet for processing {"connection_id":204511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a97"} 
[2026-10-05 11:15:22] local.INFO: GPS Element Parsed {"raw_longitude":763181824,"raw_latitude":99385488,"longitude_deg":76.3181824,"latitude_deg":9.9385488,"altitude":13,"angle":182,"satellites":41,"speed":25,"hex_longitude":"2d7d3b00","hex_latitude":"05ec8090","is_valid_coordinates":true} 
[2026-10-05 11:15: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-10-05 11:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541839360001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139586424235098112,"note":"Value kept but may cause issues"} 
[2026-10-05 11:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023735935067811840,"note":"Value kept but may cause issues"} 
[2026-10-05 11:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791179069000,"timestamp_ms":1791179069000,"timestamp_seconds":1791179069,"priority":1,"record_length":96,"hex_timestamp":"000001a10a979648"} 
[2026-10-05 11:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 11:15:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 11:15:22] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2531688449,"note":"Value kept but may cause issues"} 
[2026-10-05 11:15:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-10-05 11:15:22] local.WARNING: Large IO value detected {"io_id":237,"raw_value":8243839160863173632,"note":"Value kept but may cause issues"} 
[2026-10-05 11:15:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1370226894,"corrected_to":0} 
[2026-10-05 11:15:22] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3221613906,"note":"Value kept but may cause issues"} 
[2026-10-05 11:15:22] local.WARNING: Large IO value detected {"io_id":239,"raw_value":3871211520,"note":"Value kept but may cause issues"} 
[2026-10-05 11:15:22] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3981746176,"note":"Value kept but may cause issues"} 
[2026-10-05 11:15:22] local.WARNING: Large IO value detected {"io_id":116,"raw_value":57782630293067574,"note":"Value kept but may cause issues"} 
[2026-10-05 11:15:22] local.WARNING: Large IO value detected {"io_id":150,"raw_value":2817002861806665733,"note":"Value kept but may cause issues"} 
[2026-10-05 11:15:22] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,172,87,24,241,157,16,232,161,91,45,192,200,14,41,10,66,64,238,231,33,1,240,230,227,237,4,113,205,152,61,136,48,239,53,255,2,5,7,6,116,150],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1370226894,"validated":0}]} 
[2026-10-05 11:15:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936945724056731648,"timestamp_seconds":936945724056731.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 11:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":204511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":204511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":204511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541839360001,"66":13624,"172":206,"87":13824,"24":25,"16":139586424235098112,"45":9023735935067811840},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,87,24,16,45]} 
[2026-10-05 11:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541839360001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:15:22] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-10-05 11:15:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 11:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139586424235098112,"km_value":139586424235098.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023735935067811840,"description":"Unknown IO ID 45"} 
[2026-10-05 11:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541839360001,"power":13624,"unknown_172":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":9023735935067811840}} 
[2026-10-05 11:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":204511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:15:22] local.INFO: GPS data processed {"connection_id":204511,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:15:22] local.INFO: Acknowledgment sent {"connection_id":204511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:15:27] local.INFO: TCP Data received {"connection_id":204510,"ip":"117.224.253.174","data_length":795,"data_hex":"000000000000030f8e0a000001a10a96e680012c691c000986cc000304015b2d..."} 
[2026-10-05 11:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a96e680012c691c000986cc000304015b2d..."} 
[2026-10-05 11:15:27] local.INFO: Processing buffer {"connection_id":204510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a96e680012c691c000986cc000304015b2d..."} 
[2026-10-05 11:15:27] local.INFO: Packet analysis {"connection_id":204510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a96"} 
[2026-10-05 11:15:27] local.INFO: Extracted packet for processing {"connection_id":204510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a96"} 
[2026-10-05 11:15:27] local.INFO: GPS Element Parsed {"raw_longitude":745085952,"raw_latitude":159828992,"longitude_deg":74.5085952,"latitude_deg":15.9828992,"altitude":772,"angle":347,"satellites":45,"speed":36,"hex_longitude":"2c691c00","hex_latitude":"0986cc00","is_valid_coordinates":true} 
[2026-10-05 11:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541827584001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8516606615355392,"note":"Value kept but may cause issues"} 
[2026-10-05 11:15:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7576039776569651203,"note":"Value kept but may cause issues"} 
[2026-10-05 11:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1791179024000,"timestamp_ms":1791179024000,"timestamp_seconds":1791179024,"priority":1,"record_length":96,"hex_timestamp":"000001a10a96e680"} 
[2026-10-05 11:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-05 11:15: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-10-05 11:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":204510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":204510,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":204510,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 11:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 11:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541827584001,"66":28354,"50":206,"9":7680,"24":36,"16":8516606615355392,"44":7576039776569651203},"client_ip":"117.224.253.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,9,24,16,44]} 
[2026-10-05 11:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 11:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 11:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541827584001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:15:27] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-10-05 11:15:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 11:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8516606615355392,"km_value":8516606615355.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:15:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":7576039776569651203,"description":"Unknown IO ID 44"} 
[2026-10-05 11:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541827584001,"power":28354,"unknown_50":206,"unknown_9":7680,"ignition":36,"odometer":null,"unknown_44":7576039776569651203}} 
[2026-10-05 11:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":204510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966851,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:15:27] local.INFO: GPS data processed {"connection_id":204510,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:15:27] local.INFO: Acknowledgment sent {"connection_id":204510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:15:34] local.INFO: TCP Data received {"connection_id":204370,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:15:34] local.INFO: Processing buffer {"connection_id":204370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:15:34] local.INFO: IMEI packet received {"connection_id":204370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":204370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:15:39] local.INFO: TCP Data received {"connection_id":204370,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:15:39] local.INFO: Processing buffer {"connection_id":204370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:15:39] local.INFO: IMEI packet received {"connection_id":204370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":204370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:15:40] local.INFO: TCP Data received {"connection_id":204370,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a955bf8012d182a4007219d10005500ae1f..."} 
[2026-10-05 11:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a955bf8012d182a4007219d10005500ae1f..."} 
[2026-10-05 11:15:40] local.INFO: Processing buffer {"connection_id":204370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a955bf8012d182a4007219d10005500ae1f..."} 
[2026-10-05 11:15:40] local.INFO: Packet analysis {"connection_id":204370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a95"} 
[2026-10-05 11:15:40] local.INFO: Extracted packet for processing {"connection_id":204370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a95"} 
[2026-10-05 11:15:40] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643408,"longitude_deg":75.65584,"latitude_deg":11.9643408,"altitude":85,"angle":174,"satellites":31,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219d10","is_valid_coordinates":true} 
[2026-10-05 11:15: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-10-05 11:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541799424001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984353041809408,"note":"Value kept but may cause issues"} 
[2026-10-05 11:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605305055232,"note":"Value kept but may cause issues"} 
[2026-10-05 11:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791178923000,"timestamp_ms":1791178923000,"timestamp_seconds":1791178923,"priority":1,"record_length":96,"hex_timestamp":"000001a10a955bf8"} 
[2026-10-05 11:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:15:40] 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-10-05 11:15: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":101,"data_length":795,"current_offset":136} 
[2026-10-05 11:15:40] 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-10-05 11:15: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-10-05 11:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:15:40] 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-10-05 11:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541799424001,"66":12645,"105":206,"83":41984,"24":0,"16":24984353041809408,"45":1741274605305055232},"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-10-05 11:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541799424001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:15:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 11:15:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984353041809408,"km_value":24984353041809.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605305055232,"description":"Unknown IO ID 45"} 
[2026-10-05 11:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541799424001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741274605305055232}} 
[2026-10-05 11:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":204370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:15:40] local.INFO: GPS data processed {"connection_id":204370,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:15:40] local.INFO: Acknowledgment sent {"connection_id":204370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:16:00] local.INFO: TCP Data received {"connection_id":205908,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:16:00] local.INFO: Processing buffer {"connection_id":205908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:16:00] local.INFO: IMEI packet received {"connection_id":205908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":205908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:16:00] local.INFO: TCP Data received {"connection_id":205908,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:16:00] local.INFO: Processing buffer {"connection_id":205908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:16:00] local.INFO: IMEI packet received {"connection_id":205908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":205908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:16:08] local.INFO: TCP Data received {"connection_id":205908,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:16:08] local.INFO: Processing buffer {"connection_id":205908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:16:08] local.INFO: IMEI packet received {"connection_id":205908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":205908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:16:09] local.INFO: TCP Data received {"connection_id":205908,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a97c140012d7d390005ec5af0001000b62f..."} 
[2026-10-05 11:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a97c140012d7d390005ec5af0001000b62f..."} 
[2026-10-05 11:16:09] local.INFO: Processing buffer {"connection_id":205908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a97c140012d7d390005ec5af0001000b62f..."} 
[2026-10-05 11:16:09] local.INFO: Packet analysis {"connection_id":205908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a97"} 
[2026-10-05 11:16:09] local.INFO: Extracted packet for processing {"connection_id":205908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a97"} 
[2026-10-05 11:16:09] local.INFO: GPS Element Parsed {"raw_longitude":763181312,"raw_latitude":99375856,"longitude_deg":76.3181312,"latitude_deg":9.9375856,"altitude":16,"angle":182,"satellites":47,"speed":41,"hex_longitude":"2d7d3900","hex_latitude":"05ec5af0","is_valid_coordinates":true} 
[2026-10-05 11:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541841664001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139586892386533376,"note":"Value kept but may cause issues"} 
[2026-10-05 11:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023806303809605632,"note":"Value kept but may cause issues"} 
[2026-10-05 11:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791179080000,"timestamp_ms":1791179080000,"timestamp_seconds":1791179080,"priority":1,"record_length":96,"hex_timestamp":"000001a10a97c140"} 
[2026-10-05 11:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-10-05 11:16:09] 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-10-05 11:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":205908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":205908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":205908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541841664001,"66":13798,"172":206,"87":13824,"24":41,"16":139586892386533376,"45":9023806303809605632},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,87,24,16,45]} 
[2026-10-05 11:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541841664001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:16:09] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-10-05 11:16:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 11:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139586892386533376,"km_value":139586892386533.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023806303809605632,"description":"Unknown IO ID 45"} 
[2026-10-05 11:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541841664001,"power":13798,"unknown_172":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":9023806303809605632}} 
[2026-10-05 11:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":205908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966853,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:16:09] local.INFO: GPS data processed {"connection_id":205908,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:16:09] local.INFO: Acknowledgment sent {"connection_id":205908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:16:11] local.INFO: TCP Data received {"connection_id":204370,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a95a248012d182a4007219c98005700ae20..."} 
[2026-10-05 11:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a95a248012d182a4007219c98005700ae20..."} 
[2026-10-05 11:16:11] local.INFO: Processing buffer {"connection_id":204370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a95a248012d182a4007219c98005700ae20..."} 
[2026-10-05 11:16:11] local.INFO: Packet analysis {"connection_id":204370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a95"} 
[2026-10-05 11:16:11] local.INFO: Extracted packet for processing {"connection_id":204370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a95"} 
[2026-10-05 11:16:11] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643288,"longitude_deg":75.65584,"latitude_deg":11.9643288,"altitude":87,"angle":174,"satellites":32,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219c98","is_valid_coordinates":true} 
[2026-10-05 11:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541804288001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984361631744000,"note":"Value kept but may cause issues"} 
[2026-10-05 11:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605305008128,"note":"Value kept but may cause issues"} 
[2026-10-05 11:16: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-10-05 11:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791178941000,"timestamp_ms":1791178941000,"timestamp_seconds":1791178941,"priority":1,"record_length":96,"hex_timestamp":"000001a10a95a248"} 
[2026-10-05 11:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:16:11] 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-10-05 11:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 11:16:11] 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-10-05 11:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:16:11] 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-10-05 11:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541804288001,"66":12645,"105":206,"83":41984,"24":0,"16":24984361631744000,"45":1741274605305008128},"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-10-05 11:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541804288001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:16:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 11:16:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984361631744000,"km_value":24984361631744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605305008128,"description":"Unknown IO ID 45"} 
[2026-10-05 11:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541804288001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741274605305008128}} 
[2026-10-05 11:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":204370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:16:11] local.INFO: GPS data processed {"connection_id":204370,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:16:11] local.INFO: Acknowledgment sent {"connection_id":204370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:16:34] local.INFO: TCP Data received {"connection_id":205909,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:16:34] local.INFO: Processing buffer {"connection_id":205909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:16:34] local.INFO: IMEI packet received {"connection_id":205909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":205909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:16:38] local.INFO: TCP Data received {"connection_id":205909,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:16:38] local.INFO: Processing buffer {"connection_id":205909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:16:38] local.INFO: IMEI packet received {"connection_id":205909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":205909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:16:39] local.INFO: TCP Data received {"connection_id":205909,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a95e898012d1829c007219c78005700ae21..."} 
[2026-10-05 11:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a95e898012d1829c007219c78005700ae21..."} 
[2026-10-05 11:16:39] local.INFO: Processing buffer {"connection_id":205909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a95e898012d1829c007219c78005700ae21..."} 
[2026-10-05 11:16:39] local.INFO: Packet analysis {"connection_id":205909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a95"} 
[2026-10-05 11:16:39] local.INFO: Extracted packet for processing {"connection_id":205909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a95"} 
[2026-10-05 11:16:39] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643256,"longitude_deg":75.6558272,"latitude_deg":11.9643256,"altitude":87,"angle":174,"satellites":33,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219c78","is_valid_coordinates":true} 
[2026-10-05 11:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541808896001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984365926711296,"note":"Value kept but may cause issues"} 
[2026-10-05 11:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304977408,"note":"Value kept but may cause issues"} 
[2026-10-05 11:16: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-10-05 11:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791178959000,"timestamp_ms":1791178959000,"timestamp_seconds":1791178959,"priority":1,"record_length":96,"hex_timestamp":"000001a10a95e898"} 
[2026-10-05 11:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:16:39] 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-10-05 11:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 11:16:39] 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-10-05 11:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":205909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":205909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":205909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:16:39] 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-10-05 11:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541808896001,"66":12645,"105":206,"83":41984,"24":0,"16":24984365926711296,"45":1741274605304977408},"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-10-05 11:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541808896001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:16:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 11:16:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984365926711296,"km_value":24984365926711.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304977408,"description":"Unknown IO ID 45"} 
[2026-10-05 11:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541808896001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741274605304977408}} 
[2026-10-05 11:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":205909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:16:39] local.INFO: GPS data processed {"connection_id":205909,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:16:39] local.INFO: Acknowledgment sent {"connection_id":205909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:16:40] local.INFO: TCP Data received {"connection_id":205908,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9928a0012d7d254005ea9a10000900b62d..."} 
[2026-10-05 11:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9928a0012d7d254005ea9a10000900b62d..."} 
[2026-10-05 11:16:40] local.INFO: Processing buffer {"connection_id":205908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9928a0012d7d254005ea9a10000900b62d..."} 
[2026-10-05 11:16:40] local.INFO: Packet analysis {"connection_id":205908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a99"} 
[2026-10-05 11:16:40] local.INFO: Extracted packet for processing {"connection_id":205908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a99"} 
[2026-10-05 11:16:40] local.INFO: GPS Element Parsed {"raw_longitude":763176256,"raw_latitude":99260944,"longitude_deg":76.3176256,"latitude_deg":9.9260944,"altitude":9,"angle":182,"satellites":45,"speed":54,"hex_longitude":"2d7d2540","hex_latitude":"05ea9a10","is_valid_coordinates":true} 
[2026-10-05 11:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541866240001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139592471549050880,"note":"Value kept but may cause issues"} 
[2026-10-05 11:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018458279222675456,"note":"Value kept but may cause issues"} 
[2026-10-05 11:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791179172000,"timestamp_ms":1791179172000,"timestamp_seconds":1791179172,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9928a0"} 
[2026-10-05 11:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-10-05 11:16:40] 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-10-05 11:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":205908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":205908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":205908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541866240001,"66":13319,"156":206,"87":13824,"24":54,"16":139592471549050880,"45":9018458279222675456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-10-05 11:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541866240001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:16:40] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-10-05 11:16:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 11:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139592471549050880,"km_value":139592471549050.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018458279222675456,"description":"Unknown IO ID 45"} 
[2026-10-05 11:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541866240001,"power":13319,"unknown_156":206,"unknown_87":13824,"ignition":54,"odometer":null,"unknown_45":9018458279222675456}} 
[2026-10-05 11:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":205908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966856,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:16:40] local.INFO: GPS data processed {"connection_id":205908,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:16:40] local.INFO: Acknowledgment sent {"connection_id":205908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:16:59] local.INFO: TCP Data received {"connection_id":204512,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:16:59] local.INFO: Processing buffer {"connection_id":204512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:16:59] local.INFO: IMEI packet received {"connection_id":204512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":204512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:17:10] local.INFO: TCP Data received {"connection_id":205909,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a993070012d182c00072199a80050008b22..."} 
[2026-10-05 11:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a993070012d182c00072199a80050008b22..."} 
[2026-10-05 11:17:10] local.INFO: Processing buffer {"connection_id":205909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a993070012d182c00072199a80050008b22..."} 
[2026-10-05 11:17:10] local.INFO: Packet analysis {"connection_id":205909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a99"} 
[2026-10-05 11:17:10] local.INFO: Extracted packet for processing {"connection_id":205909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a99"} 
[2026-10-05 11:17:10] local.INFO: GPS Element Parsed {"raw_longitude":756558848,"raw_latitude":119642536,"longitude_deg":75.6558848,"latitude_deg":11.9642536,"altitude":80,"angle":139,"satellites":34,"speed":6,"hex_longitude":"2d182c00","hex_latitude":"072199a8","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541868288001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984516250566656,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741556080281528320,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791179174000,"timestamp_ms":1791179174000,"timestamp_seconds":1791179174,"priority":1,"record_length":96,"hex_timestamp":"000001a10a993070"} 
[2026-10-05 11:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:17:10] 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-10-05 11: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-10-05 11:17:10] 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-10-05 11: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-10-05 11:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":205909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":205909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":205909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:17:10] 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-10-05 11:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541868288001,"66":14004,"105":206,"83":41984,"24":6,"16":24984516250566656,"45":1741556080281528320},"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-10-05 11:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541868288001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:17:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 11:17:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984516250566656,"km_value":24984516250566.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741556080281528320,"description":"Unknown IO ID 45"} 
[2026-10-05 11:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541868288001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1741556080281528320}} 
[2026-10-05 11:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":205909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:17:11] local.INFO: GPS data processed {"connection_id":205909,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:17:11] local.INFO: Acknowledgment sent {"connection_id":205909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:17:13] local.INFO: TCP Data received {"connection_id":204512,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:17:13] local.INFO: Processing buffer {"connection_id":204512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:17:13] local.INFO: IMEI packet received {"connection_id":204512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":204512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:17:15] local.INFO: TCP Data received {"connection_id":204512,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9947e0012d7d250005ea75e8000900b12d..."} 
[2026-10-05 11:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9947e0012d7d250005ea75e8000900b12d..."} 
[2026-10-05 11:17:15] local.INFO: Processing buffer {"connection_id":204512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9947e0012d7d250005ea75e8000900b12d..."} 
[2026-10-05 11:17:15] local.INFO: Packet analysis {"connection_id":204512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a99"} 
[2026-10-05 11:17:15] local.INFO: Extracted packet for processing {"connection_id":204512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a99"} 
[2026-10-05 11:17:15] local.INFO: GPS Element Parsed {"raw_longitude":763176192,"raw_latitude":99251688,"longitude_deg":76.3176192,"latitude_deg":9.9251688,"altitude":9,"angle":177,"satellites":45,"speed":31,"hex_longitude":"2d7d2500","hex_latitude":"05ea75e8","is_valid_coordinates":true} 
[2026-10-05 11:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541868032001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139592918225649664,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017684223034265600,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791179180000,"timestamp_ms":1791179180000,"timestamp_seconds":1791179180,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9947e0"} 
[2026-10-05 11:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 11:17:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:15] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2562920449,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:15] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-6660823784444580608,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352401102,"corrected_to":0} 
[2026-10-05 11:17:15] local.WARNING: Large IO value detected {"io_id":167,"raw_value":3087084925,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:15] local.WARNING: Large IO value detected {"io_id":239,"raw_value":3967483904,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3950899200,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:15] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57796674836125494,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:15] local.WARNING: Large IO value detected {"io_id":152,"raw_value":6737386337431977989,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:15] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,156,87,24,241,157,16,238,161,13,45,191,9,44,10,66,128,231,43,237,218,1,240,230,227,235,4,113,205,61,167,48,120,46,239,54,197,2,5,40,166,152],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1352401102,"validated":0}]} 
[2026-10-05 11:17:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648718650734673920,"timestamp_seconds":648718650734673.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 11:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541868032001,"66":13059,"156":206,"87":13824,"24":31,"16":139592918225649664,"45":9017684223034265600},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-10-05 11:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541868032001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:17:15] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-10-05 11:17:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 11:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139592918225649664,"km_value":139592918225649.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017684223034265600,"description":"Unknown IO ID 45"} 
[2026-10-05 11:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541868032001,"power":13059,"unknown_156":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":9017684223034265600}} 
[2026-10-05 11:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":204512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:17:15] local.INFO: GPS data processed {"connection_id":204512,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:17:15] local.INFO: Acknowledgment sent {"connection_id":204512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:17:16] local.INFO: TCP Data received {"connection_id":204512,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9976c0012d7d23c005ea5a30000900bf29..."} 
[2026-10-05 11:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9976c0012d7d23c005ea5a30000900bf29..."} 
[2026-10-05 11:17:16] local.INFO: Processing buffer {"connection_id":204512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9976c0012d7d23c005ea5a30000900bf29..."} 
[2026-10-05 11:17:16] local.INFO: Packet analysis {"connection_id":204512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a99"} 
[2026-10-05 11:17:16] local.INFO: Extracted packet for processing {"connection_id":204512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a99"} 
[2026-10-05 11:17:16] local.INFO: GPS Element Parsed {"raw_longitude":763175872,"raw_latitude":99244592,"longitude_deg":76.3175872,"latitude_deg":9.9244592,"altitude":9,"angle":191,"satellites":41,"speed":26,"hex_longitude":"2d7d23c0","hex_latitude":"05ea5a30","is_valid_coordinates":true} 
[2026-10-05 11:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541870080001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139593266118000640,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017613854287718400,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791179192000,"timestamp_ms":1791179192000,"timestamp_seconds":1791179192,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9976c0"} 
[2026-10-05 11:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 11:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303176317193557,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:16] local.WARNING: Large IO value detected {"io_id":239,"raw_value":3975151616,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3221613358,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:16] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2564456449,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:16] local.WARNING: Large IO value detected {"io_id":237,"raw_value":3170893824,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352401102,"corrected_to":0} 
[2026-10-05 11:17:16] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743824,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3948312576,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:16] local.WARNING: Large IO value detected {"io_id":197,"raw_value":58079734643818548,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:16] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,156,87,24,241,157,16,239,161,40,45,64,154,9,10,66,238,13,191,44,128,1,240,110,227,237,235,4,113,205,58,195,80,53,2,5,14,52,197],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1352401102,"validated":0}]} 
[2026-10-05 11:17:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648713153175027712,"timestamp_seconds":648713153175027.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 11:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541870080001,"66":13678,"156":206,"87":13824,"24":26,"16":139593266118000640,"45":9017613854287718400},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-10-05 11:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541870080001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:17:16] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-10-05 11:17:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 11:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139593266118000640,"km_value":139593266118000.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017613854287718400,"description":"Unknown IO ID 45"} 
[2026-10-05 11:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541870080001,"power":13678,"unknown_156":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":9017613854287718400}} 
[2026-10-05 11:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":204512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:17:16] local.INFO: GPS data processed {"connection_id":204512,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:17:16] local.INFO: Acknowledgment sent {"connection_id":204512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:17:33] local.INFO: TCP Data received {"connection_id":207456,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:17:33] local.INFO: Processing buffer {"connection_id":207456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:17:33] local.INFO: IMEI packet received {"connection_id":207456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":207456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:17:34] local.INFO: TCP Data received {"connection_id":207456,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:17:34] local.INFO: Processing buffer {"connection_id":207456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:17:34] local.INFO: IMEI packet received {"connection_id":207456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":207456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:17:35] local.INFO: TCP Data received {"connection_id":207456,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:17:35] local.INFO: Processing buffer {"connection_id":207456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:17:35] local.INFO: IMEI packet received {"connection_id":207456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":207456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:17:39] local.INFO: TCP Data received {"connection_id":207456,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:17:39] local.INFO: Processing buffer {"connection_id":207456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:17:39] local.INFO: IMEI packet received {"connection_id":207456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":207456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:17:40] local.INFO: TCP Data received {"connection_id":207456,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a993458012d182cc0072199200050007922..."} 
[2026-10-05 11:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a993458012d182cc0072199200050007922..."} 
[2026-10-05 11:17:40] local.INFO: Processing buffer {"connection_id":207456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a993458012d182cc0072199200050007922..."} 
[2026-10-05 11:17:40] local.INFO: Packet analysis {"connection_id":207456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a99"} 
[2026-10-05 11:17:40] local.INFO: Extracted packet for processing {"connection_id":207456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a99"} 
[2026-10-05 11:17:40] local.INFO: GPS Element Parsed {"raw_longitude":756559040,"raw_latitude":119642400,"longitude_deg":75.655904,"latitude_deg":11.96424,"altitude":80,"angle":121,"satellites":34,"speed":11,"hex_longitude":"2d182cc0","hex_latitude":"07219920","is_valid_coordinates":true} 
[2026-10-05 11:17: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-10-05 11:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541868544001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24984529135468544,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741767186514028544,"note":"Value kept but may cause issues"} 
[2026-10-05 11:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791179175000,"timestamp_ms":1791179175000,"timestamp_seconds":1791179175,"priority":1,"record_length":96,"hex_timestamp":"000001a10a993458"} 
[2026-10-05 11:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:17:40] 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-10-05 11:17: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-10-05 11:17:40] 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-10-05 11:17: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-10-05 11:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":207456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":207456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":207456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:17:40] 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-10-05 11:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541868544001,"66":14070,"105":206,"83":41984,"24":11,"16":24984529135468544,"45":1741767186514028544},"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-10-05 11:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541868544001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:17:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 11:17:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24984529135468544,"km_value":24984529135468.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741767186514028544,"description":"Unknown IO ID 45"} 
[2026-10-05 11:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541868544001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1741767186514028544}} 
[2026-10-05 11:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":207456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:17:40] local.INFO: GPS data processed {"connection_id":207456,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:17:40] local.INFO: Acknowledgment sent {"connection_id":207456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:17:59] local.INFO: TCP Data received {"connection_id":205910,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:17:59] local.INFO: Processing buffer {"connection_id":205910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:17:59] local.INFO: IMEI packet received {"connection_id":205910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":205910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:18:04] local.INFO: TCP Data received {"connection_id":205910,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:18:04] local.INFO: Processing buffer {"connection_id":205910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:18:04] local.INFO: IMEI packet received {"connection_id":205910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":205910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:18:05] local.INFO: TCP Data received {"connection_id":205910,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a999dd0012d7d214005ea34a8000b00b928..."} 
[2026-10-05 11:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a999dd0012d7d214005ea34a8000b00b928..."} 
[2026-10-05 11:18:05] local.INFO: Processing buffer {"connection_id":205910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a999dd0012d7d214005ea34a8000b00b928..."} 
[2026-10-05 11:18:05] local.INFO: Packet analysis {"connection_id":205910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a99"} 
[2026-10-05 11:18:05] local.INFO: Extracted packet for processing {"connection_id":205910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a99"} 
[2026-10-05 11:18:05] local.INFO: GPS Element Parsed {"raw_longitude":763175232,"raw_latitude":99234984,"longitude_deg":76.3175232,"latitude_deg":9.9234984,"altitude":11,"angle":185,"satellites":40,"speed":45,"hex_longitude":"2d7d2140","hex_latitude":"05ea34a8","is_valid_coordinates":true} 
[2026-10-05 11:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541873152001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139593734269435904,"note":"Value kept but may cause issues"} 
[2026-10-05 11:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017262010565013504,"note":"Value kept but may cause issues"} 
[2026-10-05 11:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791179202000,"timestamp_ms":1791179202000,"timestamp_seconds":1791179202,"priority":1,"record_length":96,"hex_timestamp":"000001a10a999dd0"} 
[2026-10-05 11:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:18: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-10-05 11:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 11:18:05] 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-10-05 11:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541873152001,"66":13646,"158":206,"87":13824,"24":45,"16":139593734269435904,"45":9017262010565013504},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-10-05 11:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541873152001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:18:05] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-10-05 11:18:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 11:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139593734269435904,"km_value":139593734269435.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017262010565013504,"description":"Unknown IO ID 45"} 
[2026-10-05 11:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541873152001,"power":13646,"unknown_158":206,"unknown_87":13824,"ignition":45,"odometer":null,"unknown_45":9017262010565013504}} 
[2026-10-05 11:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":205910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966861,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:18:05] local.INFO: GPS data processed {"connection_id":205910,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:18:05] local.INFO: Acknowledgment sent {"connection_id":205910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:18:11] local.INFO: TCP Data received {"connection_id":207456,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9a3628012d18c54007214f08004400af23..."} 
[2026-10-05 11:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9a3628012d18c54007214f08004400af23..."} 
[2026-10-05 11:18:11] local.INFO: Processing buffer {"connection_id":207456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9a3628012d18c54007214f08004400af23..."} 
[2026-10-05 11:18:11] local.INFO: Packet analysis {"connection_id":207456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a9a"} 
[2026-10-05 11:18:11] local.INFO: Extracted packet for processing {"connection_id":207456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a9a"} 
[2026-10-05 11:18:11] local.INFO: GPS Element Parsed {"raw_longitude":756598080,"raw_latitude":119623432,"longitude_deg":75.659808,"latitude_deg":11.9623432,"altitude":68,"angle":175,"satellites":35,"speed":20,"hex_longitude":"2d18c540","hex_latitude":"07214f08","is_valid_coordinates":true} 
[2026-10-05 11:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541885184001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24986719568789504,"note":"Value kept but may cause issues"} 
[2026-10-05 11:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120457707520,"note":"Value kept but may cause issues"} 
[2026-10-05 11:18:11] 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-10-05 11:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791179241000,"timestamp_ms":1791179241000,"timestamp_seconds":1791179241,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9a3628"} 
[2026-10-05 11:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-05 11:18:11] 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-10-05 11:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:18:11] 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-10-05 11:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541885184001,"66":14265,"106":206,"83":41984,"24":20,"16":24986719568789504,"45":1784692120457707520},"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-10-05 11:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541885184001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:18:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-10-05 11:18:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24986719568789504,"km_value":24986719568789.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120457707520,"description":"Unknown IO ID 45"} 
[2026-10-05 11:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541885184001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1784692120457707520}} 
[2026-10-05 11:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":207456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:18:11] local.INFO: GPS data processed {"connection_id":207456,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:18:11] local.INFO: Acknowledgment sent {"connection_id":207456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:18:34] local.INFO: TCP Data received {"connection_id":204371,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:18:34] local.INFO: Processing buffer {"connection_id":204371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:18:34] local.INFO: IMEI packet received {"connection_id":204371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":204371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:18:37] local.INFO: TCP Data received {"connection_id":205910,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9aab58012d7d0a0005e8aaa8000b00b72a..."} 
[2026-10-05 11:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9aab58012d7d0a0005e8aaa8000b00b72a..."} 
[2026-10-05 11:18:37] local.INFO: Processing buffer {"connection_id":205910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9aab58012d7d0a0005e8aaa8000b00b72a..."} 
[2026-10-05 11:18:37] local.INFO: Packet analysis {"connection_id":205910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a9a"} 
[2026-10-05 11:18:37] local.INFO: Extracted packet for processing {"connection_id":205910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a9a"} 
[2026-10-05 11:18:37] local.INFO: GPS Element Parsed {"raw_longitude":763169280,"raw_latitude":99134120,"longitude_deg":76.316928,"latitude_deg":9.913412,"altitude":11,"angle":183,"satellites":42,"speed":45,"hex_longitude":"2d7d0a00","hex_latitude":"05e8aaa8","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541891584001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139598630532153344,"note":"Value kept but may cause issues"} 
[2026-10-05 11:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010506611098128384,"note":"Value kept but may cause issues"} 
[2026-10-05 11:18:37] 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-10-05 11:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791179271000,"timestamp_ms":1791179271000,"timestamp_seconds":1791179271,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9aab58"} 
[2026-10-05 11:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:18:37] 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-10-05 11: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 11:18:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 11:18:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2586984449,"note":"Value kept but may cause issues"} 
[2026-10-05 11:18:37] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2483027968,"note":"Value kept but may cause issues"} 
[2026-10-05 11:18:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-10-05 11:18:37] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-3789779026290791168,"note":"Value kept but may cause issues"} 
[2026-10-05 11:18:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-10-05 11:18:37] local.WARNING: Large IO value detected {"io_id":26,"raw_value":3489738109,"note":"Value kept but may cause issues"} 
[2026-10-05 11:18:37] local.WARNING: Large IO value detected {"io_id":22,"raw_value":3221612929,"note":"Value kept but may cause issues"} 
[2026-10-05 11:18:37] local.WARNING: Large IO value detected {"io_id":239,"raw_value":4056547328,"note":"Value kept but may cause issues"} 
[2026-10-05 11:18:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3920091136,"note":"Value kept but may cause issues"} 
[2026-10-05 11:18:37] local.WARNING: Large IO value detected {"io_id":6,"raw_value":57791009774262070,"note":"Value kept but may cause issues"} 
[2026-10-05 11:18:37] local.WARNING: Large IO value detected {"io_id":153,"raw_value":-1727129162212491259,"note":"Value kept but may cause issues"} 
[2026-10-05 11:18:37] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,154,87,24,241,157,16,243,161,120,45,192,244,13,41,10,66,97,128,14,42,242,73,1,240,230,227,233,4,113,205,61,26,22,64,44,239,53,2,5,15,60,6,153],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1455423694,"validated":0}]} 
[2026-10-05 11:18:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792834925437583360,"timestamp_seconds":792834925437583.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 11:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541891584001,"66":13493,"154":206,"87":13824,"24":45,"16":139598630532153344,"45":9010506611098128384},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-10-05 11:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541891584001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:18:37] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-10-05 11:18:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 11:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139598630532153344,"km_value":139598630532153.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010506611098128384,"description":"Unknown IO ID 45"} 
[2026-10-05 11:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541891584001,"power":13493,"unknown_154":206,"unknown_87":13824,"ignition":45,"odometer":null,"unknown_45":9010506611098128384}} 
[2026-10-05 11:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":205910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:18:37] local.INFO: GPS data processed {"connection_id":205910,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:18:37] local.INFO: Acknowledgment sent {"connection_id":205910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:18:39] local.INFO: TCP Data received {"connection_id":204371,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:18:39] local.INFO: Processing buffer {"connection_id":204371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:18:39] local.INFO: IMEI packet received {"connection_id":204371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":204371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:18:40] local.INFO: TCP Data received {"connection_id":204371,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9a5180012d18c74007213bd00043009c23..."} 
[2026-10-05 11:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9a5180012d18c74007213bd00043009c23..."} 
[2026-10-05 11:18:40] local.INFO: Processing buffer {"connection_id":204371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9a5180012d18c74007213bd00043009c23..."} 
[2026-10-05 11:18:40] local.INFO: Packet analysis {"connection_id":204371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a9a"} 
[2026-10-05 11:18:40] local.INFO: Extracted packet for processing {"connection_id":204371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a9a"} 
[2026-10-05 11:18:40] local.INFO: GPS Element Parsed {"raw_longitude":756598592,"raw_latitude":119618512,"longitude_deg":75.6598592,"latitude_deg":11.9618512,"altitude":67,"angle":156,"satellites":35,"speed":30,"hex_longitude":"2d18c740","hex_latitude":"07213bd0","is_valid_coordinates":true} 
[2026-10-05 11:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541885696001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24986964381925376,"note":"Value kept but may cause issues"} 
[2026-10-05 11:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784903226690045952,"note":"Value kept but may cause issues"} 
[2026-10-05 11:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791179248000,"timestamp_ms":1791179248000,"timestamp_seconds":1791179248,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9a5180"} 
[2026-10-05 11:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-05 11:18:40] 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-10-05 11:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:18:40] 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-10-05 11:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541885696001,"66":14265,"103":206,"83":41984,"24":30,"16":24986964381925376,"45":1784903226690045952},"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-10-05 11:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541885696001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:18:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 11:18:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24986964381925376,"km_value":24986964381925.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784903226690045952,"description":"Unknown IO ID 45"} 
[2026-10-05 11:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541885696001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1784903226690045952}} 
[2026-10-05 11:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":204371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:18:40] local.INFO: GPS data processed {"connection_id":204371,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:18:40] local.INFO: Acknowledgment sent {"connection_id":204371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:18:59] local.INFO: TCP Data received {"connection_id":204372,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:18:59] local.INFO: Processing buffer {"connection_id":204372,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:18:59] local.INFO: IMEI packet received {"connection_id":204372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":204372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:19:00] local.INFO: TCP Data received {"connection_id":204372,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:19:00] local.INFO: Processing buffer {"connection_id":204372,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:19:00] local.INFO: IMEI packet received {"connection_id":204372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":204372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:19:04] local.INFO: TCP Data received {"connection_id":204372,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:19:04] local.INFO: Processing buffer {"connection_id":204372,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:19:04] local.INFO: IMEI packet received {"connection_id":204372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":204372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:19:05] local.INFO: TCP Data received {"connection_id":204372,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9afd60012d7d080005e88e80000b00ba2a..."} 
[2026-10-05 11:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9afd60012d7d080005e88e80000b00ba2a..."} 
[2026-10-05 11:19:05] local.INFO: Processing buffer {"connection_id":204372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9afd60012d7d080005e88e80000b00ba2a..."} 
[2026-10-05 11:19:05] local.INFO: Packet analysis {"connection_id":204372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a9a"} 
[2026-10-05 11:19:05] local.INFO: Extracted packet for processing {"connection_id":204372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a9a"} 
[2026-10-05 11:19:05] local.INFO: GPS Element Parsed {"raw_longitude":763168768,"raw_latitude":99126912,"longitude_deg":76.3168768,"latitude_deg":9.9126912,"altitude":11,"angle":186,"satellites":42,"speed":14,"hex_longitude":"2d7d0800","hex_latitude":"05e88e80","is_valid_coordinates":true} 
[2026-10-05 11:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541893376001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139598982719471616,"note":"Value kept but may cause issues"} 
[2026-10-05 11:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010014029886433280,"note":"Value kept but may cause issues"} 
[2026-10-05 11:19:05] 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-10-05 11:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791179292000,"timestamp_ms":1791179292000,"timestamp_seconds":1791179292,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9afd60"} 
[2026-10-05 11:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:19: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-10-05 11:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-10-05 11:19: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-10-05 11:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541893376001,"66":13830,"155":206,"87":13824,"24":14,"16":139598982719471616,"45":9010014029886433280},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-10-05 11:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541893376001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:19:05] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-10-05 11:19:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 11:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139598982719471616,"km_value":139598982719471.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010014029886433280,"description":"Unknown IO ID 45"} 
[2026-10-05 11:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541893376001,"power":13830,"unknown_155":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":9010014029886433280}} 
[2026-10-05 11:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":204372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966865,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:19:05] local.INFO: GPS data processed {"connection_id":204372,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:19:05] local.INFO: Acknowledgment sent {"connection_id":204372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:19:11] local.INFO: TCP Data received {"connection_id":204371,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9b2470012d1946000720aeb80028006d23..."} 
[2026-10-05 11:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9b2470012d1946000720aeb80028006d23..."} 
[2026-10-05 11:19:11] local.INFO: Processing buffer {"connection_id":204371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9b2470012d1946000720aeb80028006d23..."} 
[2026-10-05 11:19:11] local.INFO: Packet analysis {"connection_id":204371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a9b"} 
[2026-10-05 11:19:11] local.INFO: Extracted packet for processing {"connection_id":204371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a9b"} 
[2026-10-05 11:19:11] local.INFO: GPS Element Parsed {"raw_longitude":756631040,"raw_latitude":119582392,"longitude_deg":75.663104,"latitude_deg":11.9582392,"altitude":40,"angle":109,"satellites":35,"speed":42,"hex_longitude":"2d194600","hex_latitude":"0720aeb8","is_valid_coordinates":true} 
[2026-10-05 11:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541900288001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24989476937793536,"note":"Value kept but may cause issues"} 
[2026-10-05 11:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1816639530304225280,"note":"Value kept but may cause issues"} 
[2026-10-05 11:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791179302000,"timestamp_ms":1791179302000,"timestamp_seconds":1791179302,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9b2470"} 
[2026-10-05 11:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-05 11:19:11] 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-10-05 11:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:19:11] 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-10-05 11:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541900288001,"66":14211,"103":206,"83":41984,"24":42,"16":24989476937793536,"45":1816639530304225280},"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-10-05 11:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541900288001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:19:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 11:19:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24989476937793536,"km_value":24989476937793.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1816639530304225280,"description":"Unknown IO ID 45"} 
[2026-10-05 11:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541900288001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1816639530304225280}} 
[2026-10-05 11:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":204371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:19:11] local.INFO: GPS data processed {"connection_id":204371,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:19:11] local.INFO: Acknowledgment sent {"connection_id":204371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:19:35] local.INFO: TCP Data received {"connection_id":204513,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:19:35] local.INFO: Processing buffer {"connection_id":204513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:19:35] local.INFO: IMEI packet received {"connection_id":204513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":204513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:19:36] local.INFO: TCP Data received {"connection_id":204372,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9b3be0012d7d068005e869d0000b00ba28..."} 
[2026-10-05 11:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9b3be0012d7d068005e869d0000b00ba28..."} 
[2026-10-05 11:19:36] local.INFO: Processing buffer {"connection_id":204372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9b3be0012d7d068005e869d0000b00ba28..."} 
[2026-10-05 11:19:36] local.INFO: Packet analysis {"connection_id":204372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a9b"} 
[2026-10-05 11:19:36] local.INFO: Extracted packet for processing {"connection_id":204372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a9b"} 
[2026-10-05 11:19:36] local.INFO: GPS Element Parsed {"raw_longitude":763168384,"raw_latitude":99117520,"longitude_deg":76.3168384,"latitude_deg":9.911752,"altitude":11,"angle":186,"satellites":40,"speed":30,"hex_longitude":"2d7d0680","hex_latitude":"05e869d0","is_valid_coordinates":true} 
[2026-10-05 11:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541898752001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139599442280972288,"note":"Value kept but may cause issues"} 
[2026-10-05 11:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009451079931166720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:19:36] 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-10-05 11:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791179308000,"timestamp_ms":1791179308000,"timestamp_seconds":1791179308,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9b3be0"} 
[2026-10-05 11:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 11:19:36] local.WARNING: Large IO value detected {"io_id":24,"raw_value":17169982185078784,"note":"Value kept but may cause issues"} 
[2026-10-05 11:19:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626593272320,"note":"Value kept but may cause issues"} 
[2026-10-05 11:19:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2590056449,"note":"Value kept but may cause issues"} 
[2026-10-05 11:19:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-10-05 11:19:36] local.WARNING: Large IO value detected {"io_id":73,"raw_value":2952867197,"note":"Value kept but may cause issues"} 
[2026-10-05 11:19:36] local.WARNING: Large IO value detected {"io_id":239,"raw_value":4069785600,"note":"Value kept but may cause issues"} 
[2026-10-05 11:19:36] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812246,"note":"Value kept but may cause issues"} 
[2026-10-05 11:19:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3915290624,"note":"Value kept but may cause issues"} 
[2026-10-05 11:19:36] local.WARNING: Large IO value detected {"io_id":26,"raw_value":-3458433023567985175,"note":"Value kept but may cause issues"} 
[2026-10-05 11:19:36] local.WARNING: Large IO value detected {"io_id":129,"raw_value":4611702514158141494,"note":"Value kept but may cause issues"} 
[2026-10-05 11:19:36] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,155,87,24,241,157,16,244,161,171,45,170,11,42,10,66,154,144,192,208,243,120,1,240,6,227,233,4,113,205,60,73,18,128,41,239,53,2,5,15,61,26,129],"length":528,"final_offset":658,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1455423694,"validated":0}]} 
[2026-10-05 11:19:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792838223969517568,"timestamp_seconds":792838223969517.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 11:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541898752001,"66":13722,"155":206,"87":13824,"24":30,"16":139599442280972288,"45":9009451079931166720},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-10-05 11:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541898752001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:19:36] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-10-05 11:19:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 11:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139599442280972288,"km_value":139599442280972.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009451079931166720,"description":"Unknown IO ID 45"} 
[2026-10-05 11:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541898752001,"power":13722,"unknown_155":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":9009451079931166720}} 
[2026-10-05 11:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":204372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:19:36] local.INFO: GPS data processed {"connection_id":204372,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:19:36] local.INFO: Acknowledgment sent {"connection_id":204372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:19:39] local.INFO: TCP Data received {"connection_id":204513,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:19:39] local.INFO: Processing buffer {"connection_id":204513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:19:39] local.INFO: IMEI packet received {"connection_id":204513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":204513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:19:44] local.INFO: TCP Data received {"connection_id":204513,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:19:44] local.INFO: Processing buffer {"connection_id":204513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:19:44] local.INFO: IMEI packet received {"connection_id":204513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":204513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:19:44] local.INFO: TCP Data received {"connection_id":204513,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9b3410012d1953400720ab680026005d22..."} 
[2026-10-05 11:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9b3410012d1953400720ab680026005d22..."} 
[2026-10-05 11:19:44] local.INFO: Processing buffer {"connection_id":204513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9b3410012d1953400720ab680026005d22..."} 
[2026-10-05 11:19:44] local.INFO: Packet analysis {"connection_id":204513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a9b"} 
[2026-10-05 11:19:44] local.INFO: Extracted packet for processing {"connection_id":204513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a9b"} 
[2026-10-05 11:19:44] local.INFO: GPS Element Parsed {"raw_longitude":756634432,"raw_latitude":119581544,"longitude_deg":75.6634432,"latitude_deg":11.9581544,"altitude":38,"angle":93,"satellites":34,"speed":29,"hex_longitude":"2d195340","hex_latitude":"0720ab68","is_valid_coordinates":true} 
[2026-10-05 11:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541901312001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24989644441518080,"note":"Value kept but may cause issues"} 
[2026-10-05 11:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821143129931036672,"note":"Value kept but may cause issues"} 
[2026-10-05 11:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791179306000,"timestamp_ms":1791179306000,"timestamp_seconds":1791179306,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9b3410"} 
[2026-10-05 11:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:19:44] 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-10-05 11:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-05 11:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:19:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":204513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":204513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":204513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:19:44] 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-10-05 11:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541901312001,"66":14233,"103":206,"83":41984,"24":29,"16":24989644441518080,"45":1821143129931036672},"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-10-05 11:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541901312001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:19:44] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 11:19:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24989644441518080,"km_value":24989644441518.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821143129931036672,"description":"Unknown IO ID 45"} 
[2026-10-05 11:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541901312001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1821143129931036672}} 
[2026-10-05 11:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":204513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:19:44] local.INFO: GPS data processed {"connection_id":204513,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:19:44] local.INFO: Acknowledgment sent {"connection_id":204513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:19:47] local.INFO: TCP Data received {"connection_id":204513,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9b3be0012d1958000720ab600028005222..."} 
[2026-10-05 11:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9b3be0012d1958000720ab600028005222..."} 
[2026-10-05 11:19:47] local.INFO: Processing buffer {"connection_id":204513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9b3be0012d1958000720ab600028005222..."} 
[2026-10-05 11:19:47] local.INFO: Packet analysis {"connection_id":204513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a9b"} 
[2026-10-05 11:19:47] local.INFO: Extracted packet for processing {"connection_id":204513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a9b"} 
[2026-10-05 11:19:47] local.INFO: GPS Element Parsed {"raw_longitude":756635648,"raw_latitude":119581536,"longitude_deg":75.6635648,"latitude_deg":11.9581536,"altitude":40,"angle":82,"satellites":34,"speed":21,"hex_longitude":"2d195800","hex_latitude":"0720ab60","is_valid_coordinates":true} 
[2026-10-05 11:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541902336001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24989700276092928,"note":"Value kept but may cause issues"} 
[2026-10-05 11:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824872673372235776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791179308000,"timestamp_ms":1791179308000,"timestamp_seconds":1791179308,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9b3be0"} 
[2026-10-05 11:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:19:47] 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-10-05 11:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-05 11:19:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":204513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":204513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":204513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:19:47] 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-10-05 11:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541902336001,"66":14211,"103":206,"83":41984,"24":21,"16":24989700276092928,"45":1824872673372235776},"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-10-05 11:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541902336001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:19:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 11:19:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24989700276092928,"km_value":24989700276092.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824872673372235776,"description":"Unknown IO ID 45"} 
[2026-10-05 11:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541902336001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1824872673372235776}} 
[2026-10-05 11:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":204513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:19:47] local.INFO: GPS data processed {"connection_id":204513,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:19:47] local.INFO: Acknowledgment sent {"connection_id":204513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:19:59] local.INFO: TCP Data received {"connection_id":207457,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:19:59] local.INFO: Processing buffer {"connection_id":207457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:19:59] local.INFO: IMEI packet received {"connection_id":207457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":207457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:20:05] local.INFO: TCP Data received {"connection_id":207457,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:20:05] local.INFO: Processing buffer {"connection_id":207457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:20:05] local.INFO: IMEI packet received {"connection_id":207457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":207457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:20:06] local.INFO: TCP Data received {"connection_id":207457,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9b5f08012d7d044005e84690000b00b62b..."} 
[2026-10-05 11:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9b5f08012d7d044005e84690000b00b62b..."} 
[2026-10-05 11:20:06] local.INFO: Processing buffer {"connection_id":207457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9b5f08012d7d044005e84690000b00b62b..."} 
[2026-10-05 11:20:06] local.INFO: Packet analysis {"connection_id":207457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a9b"} 
[2026-10-05 11:20:06] local.INFO: Extracted packet for processing {"connection_id":207457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a9b"} 
[2026-10-05 11:20:06] local.INFO: GPS Element Parsed {"raw_longitude":763167808,"raw_latitude":99108496,"longitude_deg":76.3167808,"latitude_deg":9.9108496,"altitude":11,"angle":182,"satellites":43,"speed":46,"hex_longitude":"2d7d0440","hex_latitude":"05e84690","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541902848001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139599880367636480,"note":"Value kept but may cause issues"} 
[2026-10-05 11:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009028867463696384,"note":"Value kept but may cause issues"} 
[2026-10-05 11:20:06] 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-10-05 11:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791179317000,"timestamp_ms":1791179317000,"timestamp_seconds":1791179317,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9b5f08"} 
[2026-10-05 11:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-10-05 11:20:06] 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-10-05 11: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-10-05 11:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541902848001,"66":13678,"155":206,"87":13824,"24":46,"16":139599880367636480,"45":9009028867463696384},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-10-05 11:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541902848001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:20:06] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-10-05 11:20:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 11:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139599880367636480,"km_value":139599880367636.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009028867463696384,"description":"Unknown IO ID 45"} 
[2026-10-05 11:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541902848001,"power":13678,"unknown_155":206,"unknown_87":13824,"ignition":46,"odometer":null,"unknown_45":9009028867463696384}} 
[2026-10-05 11:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":207457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966870,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:20:06] local.INFO: GPS data processed {"connection_id":207457,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:20:06] local.INFO: Acknowledgment sent {"connection_id":207457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:20:18] local.INFO: TCP Data received {"connection_id":204513,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9c3db0012d19af00072093b8002900ce22..."} 
[2026-10-05 11:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9c3db0012d19af00072093b8002900ce22..."} 
[2026-10-05 11:20:18] local.INFO: Processing buffer {"connection_id":204513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9c3db0012d19af00072093b8002900ce22..."} 
[2026-10-05 11:20:18] local.INFO: Packet analysis {"connection_id":204513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a9c"} 
[2026-10-05 11:20:18] local.INFO: Extracted packet for processing {"connection_id":204513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a9c"} 
[2026-10-05 11:20:18] local.INFO: GPS Element Parsed {"raw_longitude":756657920,"raw_latitude":119575480,"longitude_deg":75.665792,"latitude_deg":11.957548,"altitude":41,"angle":206,"satellites":34,"speed":28,"hex_longitude":"2d19af00","hex_latitude":"072093b8","is_valid_coordinates":true} 
[2026-10-05 11:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541918720001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24991263644188672,"note":"Value kept but may cause issues"} 
[2026-10-05 11:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852738696065630208,"note":"Value kept but may cause issues"} 
[2026-10-05 11:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791179374000,"timestamp_ms":1791179374000,"timestamp_seconds":1791179374,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9c3db0"} 
[2026-10-05 11:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-05 11:20:18] 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-10-05 11:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":204513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":204513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":204513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:20:18] 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-10-05 11:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541918720001,"66":14265,"103":206,"83":41984,"24":28,"16":24991263644188672,"45":1852738696065630208},"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-10-05 11:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541918720001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:20:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 11:20:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24991263644188672,"km_value":24991263644188.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852738696065630208,"description":"Unknown IO ID 45"} 
[2026-10-05 11:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541918720001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1852738696065630208}} 
[2026-10-05 11:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":204513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:20:18] local.INFO: GPS data processed {"connection_id":204513,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:20:18] local.INFO: Acknowledgment sent {"connection_id":204513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:20:34] local.INFO: TCP Data received {"connection_id":205911,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:20:34] local.INFO: Processing buffer {"connection_id":205911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:20:34] local.INFO: IMEI packet received {"connection_id":205911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":205911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:20:35] local.INFO: TCP Data received {"connection_id":205911,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:20:35] local.INFO: Processing buffer {"connection_id":205911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:20:35] local.INFO: IMEI packet received {"connection_id":205911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":205911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:20:36] local.INFO: TCP Data received {"connection_id":207457,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9ce1c0012d7ca94005e68e50000800c02c..."} 
[2026-10-05 11:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9ce1c0012d7ca94005e68e50000800c02c..."} 
[2026-10-05 11:20:36] local.INFO: Processing buffer {"connection_id":207457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9ce1c0012d7ca94005e68e50000800c02c..."} 
[2026-10-05 11:20:36] local.INFO: Packet analysis {"connection_id":207457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a9c"} 
[2026-10-05 11:20:36] local.INFO: Extracted packet for processing {"connection_id":207457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a9c"} 
[2026-10-05 11:20:36] local.INFO: GPS Element Parsed {"raw_longitude":763144512,"raw_latitude":98995792,"longitude_deg":76.3144512,"latitude_deg":9.8995792,"altitude":8,"angle":192,"satellites":44,"speed":59,"hex_longitude":"2d7ca940","hex_latitude":"05e68e50","is_valid_coordinates":true} 
[2026-10-05 11:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541928960001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139605459530153984,"note":"Value kept but may cause issues"} 
[2026-10-05 11:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984962756926021632,"note":"Value kept but may cause issues"} 
[2026-10-05 11:20:36] 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-10-05 11:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791179416000,"timestamp_ms":1791179416000,"timestamp_seconds":1791179416,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9ce1c0"} 
[2026-10-05 11:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-05 11:20: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-10-05 11:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541928960001,"66":13830,"31":206,"87":13824,"24":59,"16":139605459530153984,"45":8984962756926021632},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-10-05 11:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541928960001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:20:36] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-10-05 11:20:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 11:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139605459530153984,"km_value":139605459530153.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984962756926021632,"description":"Unknown IO ID 45"} 
[2026-10-05 11:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541928960001,"power":13830,"unknown_31":206,"unknown_87":13824,"ignition":59,"odometer":null,"unknown_45":8984962756926021632}} 
[2026-10-05 11:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":207457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:20:37] local.INFO: GPS data processed {"connection_id":207457,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:20:37] local.INFO: Acknowledgment sent {"connection_id":207457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:20:37] local.INFO: TCP Data received {"connection_id":205911,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:20:37] local.INFO: Processing buffer {"connection_id":205911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:20:37] local.INFO: IMEI packet received {"connection_id":205911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":205911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:20:38] local.INFO: TCP Data received {"connection_id":205911,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9c4198012d19ae4007209118002a00c021..."} 
[2026-10-05 11:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9c4198012d19ae4007209118002a00c021..."} 
[2026-10-05 11:20:38] local.INFO: Processing buffer {"connection_id":205911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9c4198012d19ae4007209118002a00c021..."} 
[2026-10-05 11:20:38] local.INFO: Packet analysis {"connection_id":205911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a9c"} 
[2026-10-05 11:20:38] local.INFO: Extracted packet for processing {"connection_id":205911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a9c"} 
[2026-10-05 11:20:38] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119574808,"longitude_deg":75.6657728,"latitude_deg":11.9574808,"altitude":42,"angle":192,"satellites":33,"speed":28,"hex_longitude":"2d19ae40","hex_latitude":"07209118","is_valid_coordinates":true} 
[2026-10-05 11:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541919744001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24991298003927040,"note":"Value kept but may cause issues"} 
[2026-10-05 11:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850698002483886080,"note":"Value kept but may cause issues"} 
[2026-10-05 11:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791179375000,"timestamp_ms":1791179375000,"timestamp_seconds":1791179375,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9c4198"} 
[2026-10-05 11:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:20:38] 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-10-05 11:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-05 11:20:38] 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-10-05 11:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:20:38] 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-10-05 11:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541919744001,"66":13993,"103":206,"83":41984,"24":28,"16":24991298003927040,"45":1850698002483886080},"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-10-05 11:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541919744001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:20:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 11:20:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24991298003927040,"km_value":24991298003927.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850698002483886080,"description":"Unknown IO ID 45"} 
[2026-10-05 11:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541919744001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1850698002483886080}} 
[2026-10-05 11:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":205911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:20:38] local.INFO: GPS data processed {"connection_id":205911,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:20:38] local.INFO: Acknowledgment sent {"connection_id":205911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:20:39] local.INFO: TCP Data received {"connection_id":205911,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9c4580012d19ae0007208e40002900b421..."} 
[2026-10-05 11:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9c4580012d19ae0007208e40002900b421..."} 
[2026-10-05 11:20:39] local.INFO: Processing buffer {"connection_id":205911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9c4580012d19ae0007208e40002900b421..."} 
[2026-10-05 11:20:39] local.INFO: Packet analysis {"connection_id":205911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a9c"} 
[2026-10-05 11:20:39] local.INFO: Extracted packet for processing {"connection_id":205911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a9c"} 
[2026-10-05 11:20:39] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119574080,"longitude_deg":75.6657664,"latitude_deg":11.957408,"altitude":41,"angle":180,"satellites":33,"speed":28,"hex_longitude":"2d19ae00","hex_latitude":"07208e40","is_valid_coordinates":true} 
[2026-10-05 11:20: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-10-05 11:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541920000001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24991336658632704,"note":"Value kept but may cause issues"} 
[2026-10-05 11:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850486896251181056,"note":"Value kept but may cause issues"} 
[2026-10-05 11:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791179376000,"timestamp_ms":1791179376000,"timestamp_seconds":1791179376,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9c4580"} 
[2026-10-05 11:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:20:39] 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-10-05 11:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 11:20:39] 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-10-05 11:20: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-10-05 11:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":205911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":205911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":205911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:20:39] 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-10-05 11:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541920000001,"66":13993,"103":206,"83":41984,"24":28,"16":24991336658632704,"45":1850486896251181056},"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-10-05 11:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541920000001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:20:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 11:20:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24991336658632704,"km_value":24991336658632.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850486896251181056,"description":"Unknown IO ID 45"} 
[2026-10-05 11:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541920000001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1850486896251181056}} 
[2026-10-05 11:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":205911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:20:39] local.INFO: GPS data processed {"connection_id":205911,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:20:39] local.INFO: Acknowledgment sent {"connection_id":205911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:20:59] local.INFO: TCP Data received {"connection_id":207458,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:20:59] local.INFO: Processing buffer {"connection_id":207458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:20:59] local.INFO: IMEI packet received {"connection_id":207458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":207458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:21:05] local.INFO: TCP Data received {"connection_id":207458,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:21:05] local.INFO: Processing buffer {"connection_id":207458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:21:05] local.INFO: IMEI packet received {"connection_id":207458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":207458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:21:05] local.INFO: TCP Data received {"connection_id":207458,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9cf930012d7ca28005e66c28000700bf2c..."} 
[2026-10-05 11:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9cf930012d7ca28005e66c28000700bf2c..."} 
[2026-10-05 11:21:05] local.INFO: Processing buffer {"connection_id":207458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9cf930012d7ca28005e66c28000700bf2c..."} 
[2026-10-05 11:21:05] local.INFO: Packet analysis {"connection_id":207458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a9c"} 
[2026-10-05 11:21:05] local.INFO: Extracted packet for processing {"connection_id":207458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a9c"} 
[2026-10-05 11:21:05] local.INFO: GPS Element Parsed {"raw_longitude":763142784,"raw_latitude":98987048,"longitude_deg":76.3142784,"latitude_deg":9.8987048,"altitude":7,"angle":191,"satellites":44,"speed":56,"hex_longitude":"2d7ca280","hex_latitude":"05e66c28","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541930496001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139605893321850880,"note":"Value kept but may cause issues"} 
[2026-10-05 11:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982781325854265344,"note":"Value kept but may cause issues"} 
[2026-10-05 11:21:05] 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-10-05 11:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791179422000,"timestamp_ms":1791179422000,"timestamp_seconds":1791179422,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9cf930"} 
[2026-10-05 11:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:21: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-10-05 11: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 11:21:05] local.WARNING: Large IO value detected {"io_id":24,"raw_value":9570157813891072,"note":"Value kept but may cause issues"} 
[2026-10-05 11:21:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626592897280,"note":"Value kept but may cause issues"} 
[2026-10-05 11:21:05] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":20481,"corrected_to":0} 
[2026-10-05 11:21:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2624616449,"note":"Value kept but may cause issues"} 
[2026-10-05 11:21:05] local.WARNING: Large IO value detected {"io_id":231,"raw_value":-4611354529034664473,"note":"Value kept but may cause issues"} 
[2026-10-05 11:21:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1629421774,"corrected_to":0} 
[2026-10-05 11:21:05] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3355520380,"note":"Value kept but may cause issues"} 
[2026-10-05 11:21:05] local.WARNING: Large IO value detected {"io_id":239,"raw_value":4165664768,"note":"Value kept but may cause issues"} 
[2026-10-05 11:21:05] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911009,"note":"Value kept but may cause issues"} 
[2026-10-05 11:21:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3882375168,"note":"Value kept but may cause issues"} 
[2026-10-05 11:21:05] local.WARNING: Large IO value detected {"io_id":140,"raw_value":-3458750216945270741,"note":"Value kept but may cause issues"} 
[2026-10-05 11:21:05] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,31,87,24,241,157,16,250,161,202,45,176,8,44,10,66,174,128,215,7,249,147,1,240,230,227,231,4,113,205,36,57,211,144,43,239,53,2,5,15,34,140],"length":528,"final_offset":658,"validated_count":42,"validation_warnings":[{"io_id":202,"original":20481,"validated":0},{"io_id":205,"original":1629421774,"validated":0}]} 
[2026-10-05 11:21:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576672047518384128,"timestamp_seconds":576672047518384.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 11:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541930496001,"66":13722,"31":206,"87":13824,"24":56,"16":139605893321850880,"45":8982781325854265344},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-10-05 11:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541930496001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:21:05] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-10-05 11:21:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 11:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139605893321850880,"km_value":139605893321850.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982781325854265344,"description":"Unknown IO ID 45"} 
[2026-10-05 11:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541930496001,"power":13722,"unknown_31":206,"unknown_87":13824,"ignition":56,"odometer":null,"unknown_45":8982781325854265344}} 
[2026-10-05 11:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":207458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966875,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:21:06] local.INFO: GPS data processed {"connection_id":207458,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:21:06] local.INFO: Acknowledgment sent {"connection_id":207458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:21:11] local.INFO: TCP Data received {"connection_id":205911,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9c5520012d19afc007208148002700a920..."} 
[2026-10-05 11:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9c5520012d19afc007208148002700a920..."} 
[2026-10-05 11:21:11] local.INFO: Processing buffer {"connection_id":205911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9c5520012d19afc007208148002700a920..."} 
[2026-10-05 11:21:11] local.INFO: Packet analysis {"connection_id":205911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a9c"} 
[2026-10-05 11:21:11] local.INFO: Extracted packet for processing {"connection_id":205911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a9c"} 
[2026-10-05 11:21:11] local.INFO: GPS Element Parsed {"raw_longitude":756658112,"raw_latitude":119570760,"longitude_deg":75.6658112,"latitude_deg":11.957076,"altitude":39,"angle":169,"satellites":32,"speed":36,"hex_longitude":"2d19afc0","hex_latitude":"07208148","is_valid_coordinates":true} 
[2026-10-05 11:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541920256001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24991495572422656,"note":"Value kept but may cause issues"} 
[2026-10-05 11:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506817024,"note":"Value kept but may cause issues"} 
[2026-10-05 11:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791179380000,"timestamp_ms":1791179380000,"timestamp_seconds":1791179380,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9c5520"} 
[2026-10-05 11:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:21:11] 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-10-05 11:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 11:21:11] 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-10-05 11:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:21:11] 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-10-05 11:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541920256001,"66":14102,"103":206,"83":41984,"24":36,"16":24991495572422656,"45":1850416527506817024},"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-10-05 11:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541920256001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:21:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 11:21:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24991495572422656,"km_value":24991495572422.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506817024,"description":"Unknown IO ID 45"} 
[2026-10-05 11:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541920256001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1850416527506817024}} 
[2026-10-05 11:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":205911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:21:11] local.INFO: GPS data processed {"connection_id":205911,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:21:11] local.INFO: Acknowledgment sent {"connection_id":205911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:21:34] local.INFO: TCP Data received {"connection_id":204514,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:21:34] local.INFO: Processing buffer {"connection_id":204514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:21:34] local.INFO: IMEI packet received {"connection_id":204514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":204514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:21:37] local.INFO: TCP Data received {"connection_id":207458,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9d1488012d7c9b4005e64788000700be2b..."} 
[2026-10-05 11:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9d1488012d7c9b4005e64788000700be2b..."} 
[2026-10-05 11:21:37] local.INFO: Processing buffer {"connection_id":207458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9d1488012d7c9b4005e64788000700be2b..."} 
[2026-10-05 11:21:37] local.INFO: Packet analysis {"connection_id":207458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a9d"} 
[2026-10-05 11:21:37] local.INFO: Extracted packet for processing {"connection_id":207458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a9d"} 
[2026-10-05 11:21:37] local.INFO: GPS Element Parsed {"raw_longitude":763140928,"raw_latitude":98977672,"longitude_deg":76.3140928,"latitude_deg":9.8977672,"altitude":7,"angle":190,"satellites":43,"speed":49,"hex_longitude":"2d7c9b40","hex_latitude":"05e64788","is_valid_coordinates":true} 
[2026-10-05 11:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541932032001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139606357178318848,"note":"Value kept but may cause issues"} 
[2026-10-05 11:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980881369759229952,"note":"Value kept but may cause issues"} 
[2026-10-05 11:21:37] 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-10-05 11:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791179429000,"timestamp_ms":1791179429000,"timestamp_seconds":1791179429,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9d1488"} 
[2026-10-05 11:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:21:37] 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-10-05 11:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-10-05 11:21:37] 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-10-05 11:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541932032001,"66":13602,"31":206,"87":13824,"24":49,"16":139606357178318848,"45":8980881369759229952},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-10-05 11:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541932032001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:21:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-10-05 11:21:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 11:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139606357178318848,"km_value":139606357178318.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980881369759229952,"description":"Unknown IO ID 45"} 
[2026-10-05 11:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541932032001,"power":13602,"unknown_31":206,"unknown_87":13824,"ignition":49,"odometer":null,"unknown_45":8980881369759229952}} 
[2026-10-05 11:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":207458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966877,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:21:37] local.INFO: GPS data processed {"connection_id":207458,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:21:37] local.INFO: Acknowledgment sent {"connection_id":207458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:21:39] local.INFO: TCP Data received {"connection_id":204514,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:21:39] local.INFO: Processing buffer {"connection_id":204514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:21:39] local.INFO: IMEI packet received {"connection_id":204514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":204514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:21:40] local.INFO: TCP Data received {"connection_id":204514,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9c68a8012d19b60007206e380025009d1f..."} 
[2026-10-05 11:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9c68a8012d19b60007206e380025009d1f..."} 
[2026-10-05 11:21:40] local.INFO: Processing buffer {"connection_id":204514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9c68a8012d19b60007206e380025009d1f..."} 
[2026-10-05 11:21:40] local.INFO: Packet analysis {"connection_id":204514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a9c"} 
[2026-10-05 11:21:40] local.INFO: Extracted packet for processing {"connection_id":204514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a9c"} 
[2026-10-05 11:21:40] local.INFO: GPS Element Parsed {"raw_longitude":756659712,"raw_latitude":119565880,"longitude_deg":75.6659712,"latitude_deg":11.956588,"altitude":37,"angle":157,"satellites":31,"speed":40,"hex_longitude":"2d19b600","hex_latitude":"07206e38","is_valid_coordinates":true} 
[2026-10-05 11:21: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-10-05 11:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541921280001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24991744680525824,"note":"Value kept but may cause issues"} 
[2026-10-05 11:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850909108715210752,"note":"Value kept but may cause issues"} 
[2026-10-05 11:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791179385000,"timestamp_ms":1791179385000,"timestamp_seconds":1791179385,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9c68a8"} 
[2026-10-05 11:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:21: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-05 11:21:40] 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-10-05 11:21: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-10-05 11:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:21:40] 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-10-05 11:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541921280001,"66":14004,"103":206,"83":41984,"24":40,"16":24991744680525824,"45":1850909108715210752},"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-10-05 11:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541921280001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:21:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 11:21:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24991744680525824,"km_value":24991744680525.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850909108715210752,"description":"Unknown IO ID 45"} 
[2026-10-05 11:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541921280001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1850909108715210752}} 
[2026-10-05 11:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":204514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:21:40] local.INFO: GPS data processed {"connection_id":204514,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:21:40] local.INFO: Acknowledgment sent {"connection_id":204514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:22:02] local.INFO: TCP Data received {"connection_id":207459,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:22:02] local.INFO: Processing buffer {"connection_id":207459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:22:02] local.INFO: IMEI packet received {"connection_id":207459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":207459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:22:05] local.INFO: TCP Data received {"connection_id":207459,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:22:05] local.INFO: Processing buffer {"connection_id":207459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:22:05] local.INFO: IMEI packet received {"connection_id":207459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":207459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:22:09] local.INFO: TCP Data received {"connection_id":207459,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:22:09] local.INFO: Processing buffer {"connection_id":207459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:22:09] local.INFO: IMEI packet received {"connection_id":207459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":207459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:22:10] local.INFO: TCP Data received {"connection_id":207459,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9d33c8012d7c948005e62590000900bd2b..."} 
[2026-10-05 11:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9d33c8012d7c948005e62590000900bd2b..."} 
[2026-10-05 11:22:10] local.INFO: Processing buffer {"connection_id":207459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9d33c8012d7c948005e62590000900bd2b..."} 
[2026-10-05 11:22:10] local.INFO: Packet analysis {"connection_id":207459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a9d"} 
[2026-10-05 11:22:10] local.INFO: Extracted packet for processing {"connection_id":207459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a9d"} 
[2026-10-05 11:22:10] local.INFO: GPS Element Parsed {"raw_longitude":763139200,"raw_latitude":98968976,"longitude_deg":76.31392,"latitude_deg":9.8968976,"altitude":9,"angle":189,"satellites":43,"speed":44,"hex_longitude":"2d7c9480","hex_latitude":"05e62590","is_valid_coordinates":true} 
[2026-10-05 11:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541933824001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139606786675048448,"note":"Value kept but may cause issues"} 
[2026-10-05 11:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978840676175677440,"note":"Value kept but may cause issues"} 
[2026-10-05 11:22:10] 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-10-05 11:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791179437000,"timestamp_ms":1791179437000,"timestamp_seconds":1791179437,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9d33c8"} 
[2026-10-05 11:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-10-05 11:22:10] 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-10-05 11:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541933824001,"66":13602,"31":206,"87":13824,"24":44,"16":139606786675048448,"45":8978840676175677440},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-10-05 11:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541933824001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:22:10] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-10-05 11:22:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 11:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139606786675048448,"km_value":139606786675048.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978840676175677440,"description":"Unknown IO ID 45"} 
[2026-10-05 11:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541933824001,"power":13602,"unknown_31":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":8978840676175677440}} 
[2026-10-05 11:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":207459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:22:11] local.INFO: GPS data processed {"connection_id":207459,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:22:11] local.INFO: Acknowledgment sent {"connection_id":207459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:22:11] local.INFO: TCP Data received {"connection_id":204514,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9d6690012d19e24007200b000027008120..."} 
[2026-10-05 11:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9d6690012d19e24007200b000027008120..."} 
[2026-10-05 11:22:11] local.INFO: Processing buffer {"connection_id":204514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9d6690012d19e24007200b000027008120..."} 
[2026-10-05 11:22:11] local.INFO: Packet analysis {"connection_id":204514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a9d"} 
[2026-10-05 11:22:11] local.INFO: Extracted packet for processing {"connection_id":204514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a9d"} 
[2026-10-05 11:22:11] local.INFO: GPS Element Parsed {"raw_longitude":756671040,"raw_latitude":119540480,"longitude_deg":75.667104,"latitude_deg":11.954048,"altitude":39,"angle":129,"satellites":32,"speed":5,"hex_longitude":"2d19e240","hex_latitude":"07200b00","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541938688001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24993187789537280,"note":"Value kept but may cause issues"} 
[2026-10-05 11:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864912488798853120,"note":"Value kept but may cause issues"} 
[2026-10-05 11:22:11] 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-10-05 11:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791179450000,"timestamp_ms":1791179450000,"timestamp_seconds":1791179450,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9d6690"} 
[2026-10-05 11:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:22:11] 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-10-05 11:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-10-05 11:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11: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-10-05 11:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:22:11] 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-10-05 11:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541938688001,"66":13080,"101":206,"83":41984,"24":5,"16":24993187789537280,"45":1864912488798853120},"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-10-05 11:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541938688001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:22:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:22:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24993187789537280,"km_value":24993187789537.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864912488798853120,"description":"Unknown IO ID 45"} 
[2026-10-05 11:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541938688001,"power":13080,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1864912488798853120}} 
[2026-10-05 11:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":204514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:22:11] local.INFO: GPS data processed {"connection_id":204514,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:22:11] local.INFO: Acknowledgment sent {"connection_id":204514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:22:12] local.INFO: TCP Data received {"connection_id":207459,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9d5ec0012d7c8f0005e601d0000900b12a..."} 
[2026-10-05 11:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9d5ec0012d7c8f0005e601d0000900b12a..."} 
[2026-10-05 11:22:12] local.INFO: Processing buffer {"connection_id":207459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9d5ec0012d7c8f0005e601d0000900b12a..."} 
[2026-10-05 11:22:12] local.INFO: Packet analysis {"connection_id":207459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a9d"} 
[2026-10-05 11:22:12] local.INFO: Extracted packet for processing {"connection_id":207459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a9d"} 
[2026-10-05 11:22:12] local.INFO: GPS Element Parsed {"raw_longitude":763137792,"raw_latitude":98959824,"longitude_deg":76.3137792,"latitude_deg":9.8959824,"altitude":9,"angle":177,"satellites":42,"speed":22,"hex_longitude":"2d7c8f00","hex_latitude":"05e601d0","is_valid_coordinates":true} 
[2026-10-05 11:22: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-10-05 11:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541935872001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139607233351647232,"note":"Value kept but may cause issues"} 
[2026-10-05 11:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976940720080654336,"note":"Value kept but may cause issues"} 
[2026-10-05 11:22:12] 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-10-05 11:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791179448000,"timestamp_ms":1791179448000,"timestamp_seconds":1791179448,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9d5ec0"} 
[2026-10-05 11:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:22: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-10-05 11:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-10-05 11:22:12] 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-10-05 11:22: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-10-05 11:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":207459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":207459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":207459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541935872001,"66":13798,"31":206,"87":13824,"24":22,"16":139607233351647232,"45":8976940720080654336},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-10-05 11:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541935872001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:22:12] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-10-05 11:22:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 11:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139607233351647232,"km_value":139607233351647.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976940720080654336,"description":"Unknown IO ID 45"} 
[2026-10-05 11:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541935872001,"power":13798,"unknown_31":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8976940720080654336}} 
[2026-10-05 11:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":207459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:22:12] local.INFO: GPS data processed {"connection_id":207459,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:22:12] local.INFO: Acknowledgment sent {"connection_id":207459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:22:34] local.INFO: TCP Data received {"connection_id":204515,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:22:34] local.INFO: Processing buffer {"connection_id":204515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:22:34] local.INFO: IMEI packet received {"connection_id":204515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":204515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:22:39] local.INFO: TCP Data received {"connection_id":204515,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:22:39] local.INFO: Processing buffer {"connection_id":204515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:22:39] local.INFO: IMEI packet received {"connection_id":204515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":204515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:22:40] local.INFO: TCP Data received {"connection_id":204515,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9db898012d19e380072009d80026007e1f..."} 
[2026-10-05 11:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9db898012d19e380072009d80026007e1f..."} 
[2026-10-05 11:22:40] local.INFO: Processing buffer {"connection_id":204515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9db898012d19e380072009d80026007e1f..."} 
[2026-10-05 11:22:40] local.INFO: Packet analysis {"connection_id":204515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a9d"} 
[2026-10-05 11:22:40] local.INFO: Extracted packet for processing {"connection_id":204515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a9d"} 
[2026-10-05 11:22:40] local.INFO: GPS Element Parsed {"raw_longitude":756671360,"raw_latitude":119540184,"longitude_deg":75.667136,"latitude_deg":11.9540184,"altitude":38,"angle":126,"satellites":31,"speed":0,"hex_longitude":"2d19e380","hex_latitude":"072009d8","is_valid_coordinates":true} 
[2026-10-05 11:22: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-10-05 11:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541939200001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24993209264373760,"note":"Value kept but may cause issues"} 
[2026-10-05 11:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865123595031347200,"note":"Value kept but may cause issues"} 
[2026-10-05 11:22:40] 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-10-05 11:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791179471000,"timestamp_ms":1791179471000,"timestamp_seconds":1791179471,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9db898"} 
[2026-10-05 11:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:22:40] 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-10-05 11:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-10-05 11:22:40] 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-10-05 11:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:22:40] 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-10-05 11:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541939200001,"66":13048,"101":206,"83":41984,"24":0,"16":24993209264373760,"45":1865123595031347200},"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-10-05 11:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541939200001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:22:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:22:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24993209264373760,"km_value":24993209264373.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865123595031347200,"description":"Unknown IO ID 45"} 
[2026-10-05 11:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541939200001,"power":13048,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1865123595031347200}} 
[2026-10-05 11:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":204515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:22:40] local.INFO: GPS data processed {"connection_id":204515,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:22:40] local.INFO: Acknowledgment sent {"connection_id":204515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:22:43] local.INFO: TCP Data received {"connection_id":207459,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9d5ec0012d7c8f0005e601d0000900b12a..."} 
[2026-10-05 11:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9d5ec0012d7c8f0005e601d0000900b12a..."} 
[2026-10-05 11:22:43] local.INFO: Processing buffer {"connection_id":207459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9d5ec0012d7c8f0005e601d0000900b12a..."} 
[2026-10-05 11:22:43] local.INFO: Packet analysis {"connection_id":207459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a9d"} 
[2026-10-05 11:22:43] local.INFO: Extracted packet for processing {"connection_id":207459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a9d"} 
[2026-10-05 11:22:43] local.INFO: GPS Element Parsed {"raw_longitude":763137792,"raw_latitude":98959824,"longitude_deg":76.3137792,"latitude_deg":9.8959824,"altitude":9,"angle":177,"satellites":42,"speed":22,"hex_longitude":"2d7c8f00","hex_latitude":"05e601d0","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541938688001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139607233351647232,"note":"Value kept but may cause issues"} 
[2026-10-05 11:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975392607706402816,"note":"Value kept but may cause issues"} 
[2026-10-05 11:22:43] 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-10-05 11:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791179448000,"timestamp_ms":1791179448000,"timestamp_seconds":1791179448,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9d5ec0"} 
[2026-10-05 11:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:22: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-10-05 11: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 11:22:43] 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-10-05 11: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-10-05 11:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541938688001,"66":13798,"31":206,"87":13824,"24":22,"16":139607233351647232,"45":8975392607706402816},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-10-05 11:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541938688001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:22:43] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-10-05 11:22:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 11:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139607233351647232,"km_value":139607233351647.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975392607706402816,"description":"Unknown IO ID 45"} 
[2026-10-05 11:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541938688001,"power":13798,"unknown_31":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8975392607706402816}} 
[2026-10-05 11:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":207459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966883,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:22:43] local.INFO: GPS data processed {"connection_id":207459,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:22:43] local.INFO: Acknowledgment sent {"connection_id":207459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:22:59] local.INFO: TCP Data received {"connection_id":207460,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:22:59] local.INFO: Processing buffer {"connection_id":207460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:22:59] local.INFO: IMEI packet received {"connection_id":207460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":207460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:23:00] local.INFO: TCP Data received {"connection_id":207460,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:23:00] local.INFO: Processing buffer {"connection_id":207460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:23:00] local.INFO: IMEI packet received {"connection_id":207460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":207460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:23:04] local.INFO: TCP Data received {"connection_id":207460,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:23:04] local.INFO: Processing buffer {"connection_id":207460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:23:04] local.INFO: IMEI packet received {"connection_id":207460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":207460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:23:06] local.INFO: TCP Data received {"connection_id":207460,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9f1c10012d7c358005e50660000700d22c..."} 
[2026-10-05 11:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9f1c10012d7c358005e50660000700d22c..."} 
[2026-10-05 11:23:06] local.INFO: Processing buffer {"connection_id":207460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9f1c10012d7c358005e50660000700d22c..."} 
[2026-10-05 11:23:06] local.INFO: Packet analysis {"connection_id":207460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a9f"} 
[2026-10-05 11:23:06] local.INFO: Extracted packet for processing {"connection_id":207460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a9f"} 
[2026-10-05 11:23:06] local.INFO: GPS Element Parsed {"raw_longitude":763114880,"raw_latitude":98895456,"longitude_deg":76.311488,"latitude_deg":9.8895456,"altitude":7,"angle":210,"satellites":44,"speed":60,"hex_longitude":"2d7c3580","hex_latitude":"05e50660","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541966336001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139610587721105408,"note":"Value kept but may cause issues"} 
[2026-10-05 11:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8955337515601309696,"note":"Value kept but may cause issues"} 
[2026-10-05 11: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-10-05 11:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791179562000,"timestamp_ms":1791179562000,"timestamp_seconds":1791179562,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9f1c10"} 
[2026-10-05 11:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:23:06] 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-10-05 11: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 11:23:06] 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-10-05 11: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-10-05 11:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541966336001,"66":13678,"39":206,"87":13824,"24":60,"16":139610587721105408,"45":8955337515601309696},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-10-05 11:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541966336001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:23:06] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-10-05 11:23:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 11:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139610587721105408,"km_value":139610587721105.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8955337515601309696,"description":"Unknown IO ID 45"} 
[2026-10-05 11:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541966336001,"power":13678,"unknown_39":206,"unknown_87":13824,"ignition":60,"odometer":null,"unknown_45":8955337515601309696}} 
[2026-10-05 11:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":207460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:23:06] local.INFO: GPS data processed {"connection_id":207460,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:23:06] local.INFO: Acknowledgment sent {"connection_id":207460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:23:10] local.INFO: TCP Data received {"connection_id":204515,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9e0aa0012d19e380072009d80026007e1e..."} 
[2026-10-05 11:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9e0aa0012d19e380072009d80026007e1e..."} 
[2026-10-05 11:23:10] local.INFO: Processing buffer {"connection_id":204515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9e0aa0012d19e380072009d80026007e1e..."} 
[2026-10-05 11:23:10] local.INFO: Packet analysis {"connection_id":204515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a9e"} 
[2026-10-05 11:23:10] local.INFO: Extracted packet for processing {"connection_id":204515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a9e"} 
[2026-10-05 11:23:10] local.INFO: GPS Element Parsed {"raw_longitude":756671360,"raw_latitude":119540184,"longitude_deg":75.667136,"latitude_deg":11.9540184,"altitude":38,"angle":126,"satellites":30,"speed":0,"hex_longitude":"2d19e380","hex_latitude":"072009d8","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541944576001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24993209264373760,"note":"Value kept but may cause issues"} 
[2026-10-05 11:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865475438752159744,"note":"Value kept but may cause issues"} 
[2026-10-05 11:23:10] 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-10-05 11:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791179492000,"timestamp_ms":1791179492000,"timestamp_seconds":1791179492,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9e0aa0"} 
[2026-10-05 11:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:23:10] 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-10-05 11: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 11:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11: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-10-05 11:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:23:10] 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-10-05 11:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541944576001,"66":12993,"101":206,"83":41984,"24":0,"16":24993209264373760,"45":1865475438752159744},"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-10-05 11:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541944576001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:23:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:23:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24993209264373760,"km_value":24993209264373.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865475438752159744,"description":"Unknown IO ID 45"} 
[2026-10-05 11:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541944576001,"power":12993,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1865475438752159744}} 
[2026-10-05 11:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":204515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:23:11] local.INFO: GPS data processed {"connection_id":204515,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:23:11] local.INFO: Acknowledgment sent {"connection_id":204515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:23:34] local.INFO: TCP Data received {"connection_id":204373,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:23:34] local.INFO: Processing buffer {"connection_id":204373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:23:34] local.INFO: IMEI packet received {"connection_id":204373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":204373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:23:34] local.INFO: TCP Data received {"connection_id":204373,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:23:34] local.INFO: Processing buffer {"connection_id":204373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:23:34] local.INFO: IMEI packet received {"connection_id":204373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":204373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:23:37] local.INFO: TCP Data received {"connection_id":204516,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:23:37] local.INFO: Processing buffer {"connection_id":204516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:23:37] local.INFO: IMEI packet received {"connection_id":204516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 11:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":204516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:23:39] local.INFO: TCP Data received {"connection_id":204373,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:23:39] local.INFO: Processing buffer {"connection_id":204373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:23:39] local.INFO: IMEI packet received {"connection_id":204373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":204373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:23:40] local.INFO: TCP Data received {"connection_id":204373,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9e5ca8012d19e380072009d80026007e23..."} 
[2026-10-05 11:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9e5ca8012d19e380072009d80026007e23..."} 
[2026-10-05 11:23:40] local.INFO: Processing buffer {"connection_id":204373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9e5ca8012d19e380072009d80026007e23..."} 
[2026-10-05 11:23:40] local.INFO: Packet analysis {"connection_id":204373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a9e"} 
[2026-10-05 11:23:40] local.INFO: Extracted packet for processing {"connection_id":204373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a9e"} 
[2026-10-05 11:23:40] local.INFO: GPS Element Parsed {"raw_longitude":756671360,"raw_latitude":119540184,"longitude_deg":75.667136,"latitude_deg":11.9540184,"altitude":38,"angle":126,"satellites":35,"speed":0,"hex_longitude":"2d19e380","hex_latitude":"072009d8","is_valid_coordinates":true} 
[2026-10-05 11:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541949952001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24993209264373760,"note":"Value kept but may cause issues"} 
[2026-10-05 11:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865475438752159744,"note":"Value kept but may cause issues"} 
[2026-10-05 11:23:40] 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-10-05 11:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791179513000,"timestamp_ms":1791179513000,"timestamp_seconds":1791179513,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9e5ca8"} 
[2026-10-05 11:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:23:40] 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-10-05 11:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-10-05 11:23:40] 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-10-05 11:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:23:40] 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-10-05 11:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541949952001,"66":12972,"101":206,"83":41984,"24":0,"16":24993209264373760,"45":1865475438752159744},"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-10-05 11:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541949952001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:23:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:23:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24993209264373760,"km_value":24993209264373.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865475438752159744,"description":"Unknown IO ID 45"} 
[2026-10-05 11:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541949952001,"power":12972,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1865475438752159744}} 
[2026-10-05 11:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":204373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:23:40] local.INFO: GPS data processed {"connection_id":204373,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:23:40] local.INFO: Acknowledgment sent {"connection_id":204373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:24:11] local.INFO: TCP Data received {"connection_id":204373,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9eaeb0012d19e380072009d80026007e24..."} 
[2026-10-05 11:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9eaeb0012d19e380072009d80026007e24..."} 
[2026-10-05 11:24:11] local.INFO: Processing buffer {"connection_id":204373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9eaeb0012d19e380072009d80026007e24..."} 
[2026-10-05 11:24:11] local.INFO: Packet analysis {"connection_id":204373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a9e"} 
[2026-10-05 11:24:11] local.INFO: Extracted packet for processing {"connection_id":204373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a9e"} 
[2026-10-05 11:24:11] local.INFO: GPS Element Parsed {"raw_longitude":756671360,"raw_latitude":119540184,"longitude_deg":75.667136,"latitude_deg":11.9540184,"altitude":38,"angle":126,"satellites":36,"speed":0,"hex_longitude":"2d19e380","hex_latitude":"072009d8","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541955328001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24993209264373760,"note":"Value kept but may cause issues"} 
[2026-10-05 11:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865475438752159744,"note":"Value kept but may cause issues"} 
[2026-10-05 11:24:11] 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-10-05 11:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791179534000,"timestamp_ms":1791179534000,"timestamp_seconds":1791179534,"priority":1,"record_length":96,"hex_timestamp":"000001a10a9eaeb0"} 
[2026-10-05 11:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:24:11] 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-10-05 11: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 11:24:11] 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-10-05 11: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-10-05 11:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:24:11] 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-10-05 11:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541955328001,"66":12917,"101":206,"83":41984,"24":0,"16":24993209264373760,"45":1865475438752159744},"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-10-05 11:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541955328001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:24:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:24:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24993209264373760,"km_value":24993209264373.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865475438752159744,"description":"Unknown IO ID 45"} 
[2026-10-05 11:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541955328001,"power":12917,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1865475438752159744}} 
[2026-10-05 11:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":204373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:24:11] local.INFO: GPS data processed {"connection_id":204373,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:24:11] local.INFO: Acknowledgment sent {"connection_id":204373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:24:37] local.INFO: TCP Data received {"connection_id":205912,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:24:37] local.INFO: Processing buffer {"connection_id":205912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:24:37] local.INFO: IMEI packet received {"connection_id":205912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":205912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:24:39] local.INFO: TCP Data received {"connection_id":205912,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:24:39] local.INFO: Processing buffer {"connection_id":205912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:24:39] local.INFO: IMEI packet received {"connection_id":205912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":205912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:24:40] local.INFO: TCP Data received {"connection_id":205912,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10aa03168012d1a4640071fe710002f006923..."} 
[2026-10-05 11:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aa03168012d1a4640071fe710002f006923..."} 
[2026-10-05 11:24:40] local.INFO: Processing buffer {"connection_id":205912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aa03168012d1a4640071fe710002f006923..."} 
[2026-10-05 11:24:40] local.INFO: Packet analysis {"connection_id":205912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aa0"} 
[2026-10-05 11:24:40] local.INFO: Extracted packet for processing {"connection_id":205912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aa0"} 
[2026-10-05 11:24:40] local.INFO: GPS Element Parsed {"raw_longitude":756696640,"raw_latitude":119531280,"longitude_deg":75.669664,"latitude_deg":11.953128,"altitude":47,"angle":105,"satellites":35,"speed":44,"hex_longitude":"2d1a4640","hex_latitude":"071fe710","is_valid_coordinates":true} 
[2026-10-05 11:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541984000001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24994557884104704,"note":"Value kept but may cause issues"} 
[2026-10-05 11:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882997256050690048,"note":"Value kept but may cause issues"} 
[2026-10-05 11:24:40] 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-10-05 11:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791179633000,"timestamp_ms":1791179633000,"timestamp_seconds":1791179633,"priority":1,"record_length":96,"hex_timestamp":"000001a10aa03168"} 
[2026-10-05 11:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:24:40] 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-10-05 11:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-10-05 11:24:40] 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-10-05 11:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":205912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":205912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":205912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:24:40] 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-10-05 11:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541984000001,"66":14243,"101":206,"83":41984,"24":44,"16":24994557884104704,"45":1882997256050690048},"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-10-05 11:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541984000001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:24:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:24:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24994557884104704,"km_value":24994557884104.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882997256050690048,"description":"Unknown IO ID 45"} 
[2026-10-05 11:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541984000001,"power":14243,"unknown_101":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1882997256050690048}} 
[2026-10-05 11:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":205912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:24:40] local.INFO: GPS data processed {"connection_id":205912,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:24:40] local.INFO: Acknowledgment sent {"connection_id":205912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:25:11] local.INFO: TCP Data received {"connection_id":205912,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10aa03938012d1a4e40071fe408002f007625..."} 
[2026-10-05 11:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aa03938012d1a4e40071fe408002f007625..."} 
[2026-10-05 11:25:11] local.INFO: Processing buffer {"connection_id":205912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aa03938012d1a4e40071fe408002f007625..."} 
[2026-10-05 11:25:11] local.INFO: Packet analysis {"connection_id":205912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aa0"} 
[2026-10-05 11:25:11] local.INFO: Extracted packet for processing {"connection_id":205912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aa0"} 
[2026-10-05 11:25:11] local.INFO: GPS Element Parsed {"raw_longitude":756698688,"raw_latitude":119530504,"longitude_deg":75.6698688,"latitude_deg":11.9530504,"altitude":47,"angle":118,"satellites":37,"speed":43,"hex_longitude":"2d1a4e40","hex_latitude":"071fe408","is_valid_coordinates":true} 
[2026-10-05 11:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541986048001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24994665258287104,"note":"Value kept but may cause issues"} 
[2026-10-05 11:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893271092700057600,"note":"Value kept but may cause issues"} 
[2026-10-05 11:25:11] 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-10-05 11:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791179635000,"timestamp_ms":1791179635000,"timestamp_seconds":1791179635,"priority":1,"record_length":96,"hex_timestamp":"000001a10aa03938"} 
[2026-10-05 11:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:25:11] 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-10-05 11:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-10-05 11:25:11] 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-10-05 11:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:25:11] 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-10-05 11:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541986048001,"66":14243,"101":206,"83":41984,"24":43,"16":24994665258287104,"45":1893271092700057600},"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-10-05 11:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541986048001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:25:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:25:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24994665258287104,"km_value":24994665258287.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893271092700057600,"description":"Unknown IO ID 45"} 
[2026-10-05 11:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541986048001,"power":14243,"unknown_101":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1893271092700057600}} 
[2026-10-05 11:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":205912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:25:11] local.INFO: GPS data processed {"connection_id":205912,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:25:11] local.INFO: Acknowledgment sent {"connection_id":205912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:25:39] local.INFO: TCP Data received {"connection_id":207462,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:25:39] local.INFO: Processing buffer {"connection_id":207462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:25:39] local.INFO: IMEI packet received {"connection_id":207462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":207462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:25:40] local.INFO: TCP Data received {"connection_id":207462,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:25:40] local.INFO: Processing buffer {"connection_id":207462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:25:40] local.INFO: IMEI packet received {"connection_id":207462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":207462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:25:44] local.INFO: TCP Data received {"connection_id":207462,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:25:44] local.INFO: Processing buffer {"connection_id":207462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:25:44] local.INFO: IMEI packet received {"connection_id":207462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":207462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:25:45] local.INFO: TCP Data received {"connection_id":207462,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10aa0e900012d1ac600071f8de8003400a026..."} 
[2026-10-05 11:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aa0e900012d1ac600071f8de8003400a026..."} 
[2026-10-05 11:25:45] local.INFO: Processing buffer {"connection_id":207462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aa0e900012d1ac600071f8de8003400a026..."} 
[2026-10-05 11:25:45] local.INFO: Packet analysis {"connection_id":207462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aa0"} 
[2026-10-05 11:25:45] local.INFO: Extracted packet for processing {"connection_id":207462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aa0"} 
[2026-10-05 11:25:45] local.INFO: GPS Element Parsed {"raw_longitude":756729344,"raw_latitude":119508456,"longitude_deg":75.6729344,"latitude_deg":11.9508456,"altitude":52,"angle":160,"satellites":38,"speed":22,"hex_longitude":"2d1ac600","hex_latitude":"071f8de8","is_valid_coordinates":true} 
[2026-10-05 11:25: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-10-05 11:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541997824001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24996563633831936,"note":"Value kept but may cause issues"} 
[2026-10-05 11:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929018414736605184,"note":"Value kept but may cause issues"} 
[2026-10-05 11:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791179680000,"timestamp_ms":1791179680000,"timestamp_seconds":1791179680,"priority":1,"record_length":96,"hex_timestamp":"000001a10aa0e900"} 
[2026-10-05 11:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:25:45] 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-10-05 11:25: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-05 11:25:45] 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-10-05 11:25: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-10-05 11:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":207462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":207462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":207462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:25:45] 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-10-05 11:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541997824001,"66":14233,"101":206,"83":41984,"24":22,"16":24996563633831936,"45":1929018414736605184},"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-10-05 11:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541997824001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:25:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:25:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24996563633831936,"km_value":24996563633831.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929018414736605184,"description":"Unknown IO ID 45"} 
[2026-10-05 11:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541997824001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1929018414736605184}} 
[2026-10-05 11:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":207462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:25:45] local.INFO: GPS data processed {"connection_id":207462,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:25:45] local.INFO: Acknowledgment sent {"connection_id":207462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:25:47] local.INFO: TCP Data received {"connection_id":207462,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10aa0ece8012d1ac640071f8bc0003400b125..."} 
[2026-10-05 11:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aa0ece8012d1ac640071f8bc0003400b125..."} 
[2026-10-05 11:25:47] local.INFO: Processing buffer {"connection_id":207462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aa0ece8012d1ac640071f8bc0003400b125..."} 
[2026-10-05 11:25:47] local.INFO: Packet analysis {"connection_id":207462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aa0"} 
[2026-10-05 11:25:47] local.INFO: Extracted packet for processing {"connection_id":207462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aa0"} 
[2026-10-05 11:25:47] local.INFO: GPS Element Parsed {"raw_longitude":756729408,"raw_latitude":119507904,"longitude_deg":75.6729408,"latitude_deg":11.9507904,"altitude":52,"angle":177,"satellites":37,"speed":22,"hex_longitude":"2d1ac640","hex_latitude":"071f8bc0","is_valid_coordinates":true} 
[2026-10-05 11:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541998080001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24996593698603008,"note":"Value kept but may cause issues"} 
[2026-10-05 11:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929229520969000960,"note":"Value kept but may cause issues"} 
[2026-10-05 11:25: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-10-05 11:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791179681000,"timestamp_ms":1791179681000,"timestamp_seconds":1791179681,"priority":1,"record_length":96,"hex_timestamp":"000001a10aa0ece8"} 
[2026-10-05 11:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-05 11:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":207462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":207462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":207462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:25:47] 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-10-05 11:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541998080001,"66":14243,"101":206,"83":41984,"24":22,"16":24996593698603008,"45":1929229520969000960},"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-10-05 11:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541998080001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:25:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:25:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24996593698603008,"km_value":24996593698603.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929229520969000960,"description":"Unknown IO ID 45"} 
[2026-10-05 11:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541998080001,"power":14243,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1929229520969000960}} 
[2026-10-05 11:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":207462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:25:47] local.INFO: GPS data processed {"connection_id":207462,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:25:47] local.INFO: Acknowledgment sent {"connection_id":207462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:26:18] local.INFO: TCP Data received {"connection_id":207462,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10aa0fc88012d1ac580071f86a8003400a325..."} 
[2026-10-05 11:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aa0fc88012d1ac580071f86a8003400a325..."} 
[2026-10-05 11:26:18] local.INFO: Processing buffer {"connection_id":207462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aa0fc88012d1ac580071f86a8003400a325..."} 
[2026-10-05 11:26:18] local.INFO: Packet analysis {"connection_id":207462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aa0"} 
[2026-10-05 11:26:18] local.INFO: Extracted packet for processing {"connection_id":207462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aa0"} 
[2026-10-05 11:26:18] local.INFO: GPS Element Parsed {"raw_longitude":756729216,"raw_latitude":119506600,"longitude_deg":75.6729216,"latitude_deg":11.95066,"altitude":52,"angle":163,"satellites":37,"speed":7,"hex_longitude":"2d1ac580","hex_latitude":"071f86a8","is_valid_coordinates":true} 
[2026-10-05 11:26: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-10-05 11:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458541998336001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24996658123112448,"note":"Value kept but may cause issues"} 
[2026-10-05 11:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929299889713037312,"note":"Value kept but may cause issues"} 
[2026-10-05 11:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791179685000,"timestamp_ms":1791179685000,"timestamp_seconds":1791179685,"priority":1,"record_length":96,"hex_timestamp":"000001a10aa0fc88"} 
[2026-10-05 11:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:26:18] 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-10-05 11:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-10-05 11:26:18] 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-10-05 11:26: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-10-05 11:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":207462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":207462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":207462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:26:18] 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-10-05 11:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458541998336001,"66":13559,"101":206,"83":41984,"24":7,"16":24996658123112448,"45":1929299889713037312},"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-10-05 11:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458541998336001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:26:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:26:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24996658123112448,"km_value":24996658123112.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929299889713037312,"description":"Unknown IO ID 45"} 
[2026-10-05 11:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458541998336001,"power":13559,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1929299889713037312}} 
[2026-10-05 11:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":207462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:26:18] local.INFO: GPS data processed {"connection_id":207462,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:26:18] local.INFO: Acknowledgment sent {"connection_id":207462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:29:44] local.INFO: TCP Data received {"connection_id":205915,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205915,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:29:44] local.INFO: Processing buffer {"connection_id":205915,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:29:44] local.INFO: IMEI packet received {"connection_id":205915,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 11:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":205915,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:30:25] local.INFO: TCP Data received {"connection_id":207463,"ip":"117.224.37.126","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:30:25] local.INFO: Processing buffer {"connection_id":207463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:30:25] local.INFO: IMEI packet received {"connection_id":207463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":207463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:31:23] local.INFO: TCP Data received {"connection_id":204518,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:31:23] local.INFO: Processing buffer {"connection_id":204518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:31:23] local.INFO: IMEI packet received {"connection_id":204518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":204518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:31:25] local.INFO: TCP Data received {"connection_id":204518,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:31:25] local.INFO: Processing buffer {"connection_id":204518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:31:25] local.INFO: IMEI packet received {"connection_id":204518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":204518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:31:30] local.INFO: TCP Data received {"connection_id":204518,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:31:30] local.INFO: Processing buffer {"connection_id":204518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:31:30] local.INFO: IMEI packet received {"connection_id":204518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":204518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:31:31] local.INFO: TCP Data received {"connection_id":204518,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aa61920012d1b8f80071f76680058000b24..."} 
[2026-10-05 11:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aa61920012d1b8f80071f76680058000b24..."} 
[2026-10-05 11:31:31] local.INFO: Processing buffer {"connection_id":204518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aa61920012d1b8f80071f76680058000b24..."} 
[2026-10-05 11:31:31] local.INFO: Packet analysis {"connection_id":204518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aa6"} 
[2026-10-05 11:31:31] local.INFO: Extracted packet for processing {"connection_id":204518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aa6"} 
[2026-10-05 11:31:31] local.INFO: GPS Element Parsed {"raw_longitude":756780928,"raw_latitude":119502440,"longitude_deg":75.6780928,"latitude_deg":11.950244,"altitude":88,"angle":11,"satellites":36,"speed":1,"hex_longitude":"2d1b8f80","hex_latitude":"071f7668","is_valid_coordinates":true} 
[2026-10-05 11:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24999381132378112,"note":"Value kept but may cause issues"} 
[2026-10-05 11:31:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 11:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791180020000,"timestamp_ms":1791180020000,"timestamp_seconds":1791180020,"priority":1,"record_length":96,"hex_timestamp":"000001a10aa61920"} 
[2026-10-05 11:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:31:31] 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-10-05 11:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-05 11:31: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-10-05 11:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:31:31] 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-10-05 11:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":14189,"101":206,"83":41984,"24":1,"16":24999381132378112},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16]} 
[2026-10-05 11:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-05 11:31:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:31:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24999381132378112,"km_value":24999381132378.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:31:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":14189,"unknown_101":206,"unknown_83":41984,"ignition":1,"odometer":null}} 
[2026-10-05 11:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":204518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:31:31] local.INFO: GPS data processed {"connection_id":204518,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:31:31] local.INFO: Acknowledgment sent {"connection_id":204518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:32:02] local.INFO: TCP Data received {"connection_id":204518,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aa62ca8012d1b8e40071f76d80058011f24..."} 
[2026-10-05 11:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aa62ca8012d1b8e40071f76d80058011f24..."} 
[2026-10-05 11:32:02] local.INFO: Processing buffer {"connection_id":204518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aa62ca8012d1b8e40071f76d80058011f24..."} 
[2026-10-05 11:32:02] local.INFO: Packet analysis {"connection_id":204518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aa6"} 
[2026-10-05 11:32:02] local.INFO: Extracted packet for processing {"connection_id":204518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aa6"} 
[2026-10-05 11:32:02] local.INFO: GPS Element Parsed {"raw_longitude":756780608,"raw_latitude":119502552,"longitude_deg":75.6780608,"latitude_deg":11.9502552,"altitude":88,"angle":287,"satellites":36,"speed":3,"hex_longitude":"2d1b8e40","hex_latitude":"071f76d8","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542085120001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24999398312247296,"note":"Value kept but may cause issues"} 
[2026-10-05 11:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1985946728774658048,"note":"Value kept but may cause issues"} 
[2026-10-05 11:32:02] 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-10-05 11:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791180025000,"timestamp_ms":1791180025000,"timestamp_seconds":1791180025,"priority":1,"record_length":96,"hex_timestamp":"000001a10aa62ca8"} 
[2026-10-05 11:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:32:02] 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-10-05 11: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-10-05 11:32:02] 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-10-05 11: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-10-05 11:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:32: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-10-05 11:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542085120001,"66":14157,"101":206,"83":41984,"24":3,"16":24999398312247296,"45":1985946728774658048},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542085120001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:32:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:32:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24999398312247296,"km_value":24999398312247.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1985946728774658048,"description":"Unknown IO ID 45"} 
[2026-10-05 11:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542085120001,"power":14157,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1985946728774658048}} 
[2026-10-05 11:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":204518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:32:02] local.INFO: GPS data processed {"connection_id":204518,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:32:02] local.INFO: Acknowledgment sent {"connection_id":204518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:32:33] local.INFO: TCP Data received {"connection_id":204518,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aa76cf8012d1b4640071f7d60003e00ff24..."} 
[2026-10-05 11:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aa76cf8012d1b4640071f7d60003e00ff24..."} 
[2026-10-05 11:32:33] local.INFO: Processing buffer {"connection_id":204518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aa76cf8012d1b4640071f7d60003e00ff24..."} 
[2026-10-05 11:32:33] local.INFO: Packet analysis {"connection_id":204518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aa7"} 
[2026-10-05 11:32:33] local.INFO: Extracted packet for processing {"connection_id":204518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aa7"} 
[2026-10-05 11:32:33] local.INFO: GPS Element Parsed {"raw_longitude":756762176,"raw_latitude":119504224,"longitude_deg":75.6762176,"latitude_deg":11.9504224,"altitude":62,"angle":255,"satellites":36,"speed":17,"hex_longitude":"2d1b4640","hex_latitude":"071f7d60","is_valid_coordinates":true} 
[2026-10-05 11:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542107136001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25000399039627264,"note":"Value kept but may cause issues"} 
[2026-10-05 11:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965821267940329472,"note":"Value kept but may cause issues"} 
[2026-10-05 11:32: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-10-05 11:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791180107000,"timestamp_ms":1791180107000,"timestamp_seconds":1791180107,"priority":1,"record_length":96,"hex_timestamp":"000001a10aa76cf8"} 
[2026-10-05 11:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:32:33] 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-10-05 11:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 11:32: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-10-05 11:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:32:33] 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-10-05 11:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542107136001,"66":13091,"101":206,"83":41984,"24":17,"16":25000399039627264,"45":1965821267940329472},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542107136001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:32:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:32:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25000399039627264,"km_value":25000399039627.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965821267940329472,"description":"Unknown IO ID 45"} 
[2026-10-05 11:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542107136001,"power":13091,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1965821267940329472}} 
[2026-10-05 11:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":204518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:32:33] local.INFO: GPS data processed {"connection_id":204518,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:32:33] local.INFO: Acknowledgment sent {"connection_id":204518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:33:04] local.INFO: TCP Data received {"connection_id":204518,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aa770e0012d1b44c0071f7c80003d00f424..."} 
[2026-10-05 11:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aa770e0012d1b44c0071f7c80003d00f424..."} 
[2026-10-05 11:33:04] local.INFO: Processing buffer {"connection_id":204518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aa770e0012d1b44c0071f7c80003d00f424..."} 
[2026-10-05 11:33:04] local.INFO: Packet analysis {"connection_id":204518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aa7"} 
[2026-10-05 11:33:04] local.INFO: Extracted packet for processing {"connection_id":204518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aa7"} 
[2026-10-05 11:33:04] local.INFO: GPS Element Parsed {"raw_longitude":756761792,"raw_latitude":119504000,"longitude_deg":75.6761792,"latitude_deg":11.9504,"altitude":61,"angle":244,"satellites":36,"speed":18,"hex_longitude":"2d1b44c0","hex_latitude":"071f7c80","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542107392001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25000420514463744,"note":"Value kept but may cause issues"} 
[2026-10-05 11:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965328686731059200,"note":"Value kept but may cause issues"} 
[2026-10-05 11:33: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-10-05 11:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791180108000,"timestamp_ms":1791180108000,"timestamp_seconds":1791180108,"priority":1,"record_length":96,"hex_timestamp":"000001a10aa770e0"} 
[2026-10-05 11:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:33: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-10-05 11: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 11:33:04] 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-10-05 11: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-10-05 11:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":204518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":204518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":204518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:33:04] 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-10-05 11:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542107392001,"66":13091,"101":206,"83":41984,"24":18,"16":25000420514463744,"45":1965328686731059200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542107392001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:33:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:33:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25000420514463744,"km_value":25000420514463.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965328686731059200,"description":"Unknown IO ID 45"} 
[2026-10-05 11:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542107392001,"power":13091,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1965328686731059200}} 
[2026-10-05 11:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":204518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:33:04] local.INFO: GPS data processed {"connection_id":204518,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:33:04] local.INFO: Acknowledgment sent {"connection_id":204518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:33:35] local.INFO: TCP Data received {"connection_id":204518,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aa78c38012d1b38c0071f74a0003a010724..."} 
[2026-10-05 11:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aa78c38012d1b38c0071f74a0003a010724..."} 
[2026-10-05 11:33:35] local.INFO: Processing buffer {"connection_id":204518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aa78c38012d1b38c0071f74a0003a010724..."} 
[2026-10-05 11:33:35] local.INFO: Packet analysis {"connection_id":204518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aa7"} 
[2026-10-05 11:33:35] local.INFO: Extracted packet for processing {"connection_id":204518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aa7"} 
[2026-10-05 11:33:35] local.INFO: GPS Element Parsed {"raw_longitude":756758720,"raw_latitude":119501984,"longitude_deg":75.675872,"latitude_deg":11.9501984,"altitude":58,"angle":263,"satellites":36,"speed":23,"hex_longitude":"2d1b38c0","hex_latitude":"071f74a0","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542107648001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25000600903090176,"note":"Value kept but may cause issues"} 
[2026-10-05 11:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964906474265935872,"note":"Value kept but may cause issues"} 
[2026-10-05 11:33: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-10-05 11:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791180115000,"timestamp_ms":1791180115000,"timestamp_seconds":1791180115,"priority":1,"record_length":96,"hex_timestamp":"000001a10aa78c38"} 
[2026-10-05 11:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 11:33:35] 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-10-05 11: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-10-05 11:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":204518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":204518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":204518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:33:35] 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-10-05 11:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542107648001,"66":13102,"101":206,"83":41984,"24":23,"16":25000600903090176,"45":1964906474265935872},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542107648001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:33:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:33:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25000600903090176,"km_value":25000600903090.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964906474265935872,"description":"Unknown IO ID 45"} 
[2026-10-05 11:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542107648001,"power":13102,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1964906474265935872}} 
[2026-10-05 11:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":204518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:33:36] local.INFO: GPS data processed {"connection_id":204518,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:33:36] local.INFO: Acknowledgment sent {"connection_id":204518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:34:07] local.INFO: TCP Data received {"connection_id":204518,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aa797f0012d1b3280071f74b00038011624..."} 
[2026-10-05 11:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aa797f0012d1b3280071f74b00038011624..."} 
[2026-10-05 11:34:07] local.INFO: Processing buffer {"connection_id":204518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aa797f0012d1b3280071f74b00038011624..."} 
[2026-10-05 11:34:07] local.INFO: Packet analysis {"connection_id":204518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aa7"} 
[2026-10-05 11:34:07] local.INFO: Extracted packet for processing {"connection_id":204518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aa7"} 
[2026-10-05 11:34:07] local.INFO: GPS Element Parsed {"raw_longitude":756757120,"raw_latitude":119502000,"longitude_deg":75.675712,"latitude_deg":11.9502,"altitude":56,"angle":278,"satellites":36,"speed":22,"hex_longitude":"2d1b3280","hex_latitude":"071f74b0","is_valid_coordinates":true} 
[2026-10-05 11:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542109440001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25000678212501504,"note":"Value kept but may cause issues"} 
[2026-10-05 11:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961528774544891904,"note":"Value kept but may cause issues"} 
[2026-10-05 11:34:07] 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-10-05 11:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791180118000,"timestamp_ms":1791180118000,"timestamp_seconds":1791180118,"priority":1,"record_length":96,"hex_timestamp":"000001a10aa797f0"} 
[2026-10-05 11:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:34:07] 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-10-05 11:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-05 11:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:34: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-10-05 11:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542109440001,"66":13048,"101":206,"83":41984,"24":22,"16":25000678212501504,"45":1961528774544891904},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542109440001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:34:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:34:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25000678212501504,"km_value":25000678212501.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961528774544891904,"description":"Unknown IO ID 45"} 
[2026-10-05 11:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542109440001,"power":13048,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1961528774544891904}} 
[2026-10-05 11:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":204518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:34:07] local.INFO: GPS data processed {"connection_id":204518,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:34:07] local.INFO: Acknowledgment sent {"connection_id":204518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:34:38] local.INFO: TCP Data received {"connection_id":204518,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aa7a3a8012d1b2cc0071f75d80036012122..."} 
[2026-10-05 11:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aa7a3a8012d1b2cc0071f75d80036012122..."} 
[2026-10-05 11:34:38] local.INFO: Processing buffer {"connection_id":204518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aa7a3a8012d1b2cc0071f75d80036012122..."} 
[2026-10-05 11:34:38] local.INFO: Packet analysis {"connection_id":204518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aa7"} 
[2026-10-05 11:34:38] local.INFO: Extracted packet for processing {"connection_id":204518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aa7"} 
[2026-10-05 11:34:38] local.INFO: GPS Element Parsed {"raw_longitude":756755648,"raw_latitude":119502296,"longitude_deg":75.6755648,"latitude_deg":11.9502296,"altitude":54,"angle":289,"satellites":34,"speed":20,"hex_longitude":"2d1b2cc0","hex_latitude":"071f75d8","is_valid_coordinates":true} 
[2026-10-05 11:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542110208001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25000746931978240,"note":"Value kept but may cause issues"} 
[2026-10-05 11:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959769555940454400,"note":"Value kept but may cause issues"} 
[2026-10-05 11:34: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-10-05 11:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791180121000,"timestamp_ms":1791180121000,"timestamp_seconds":1791180121,"priority":1,"record_length":96,"hex_timestamp":"000001a10aa7a3a8"} 
[2026-10-05 11:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:34:38] 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-10-05 11:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 11:34:38] 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-10-05 11:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:34:38] 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-10-05 11:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542110208001,"66":13080,"101":206,"83":41984,"24":20,"16":25000746931978240,"45":1959769555940454400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542110208001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:34:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:34:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25000746931978240,"km_value":25000746931978.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959769555940454400,"description":"Unknown IO ID 45"} 
[2026-10-05 11:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542110208001,"power":13080,"unknown_101":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1959769555940454400}} 
[2026-10-05 11:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":204518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:34:38] local.INFO: GPS data processed {"connection_id":204518,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:34:38] local.INFO: Acknowledgment sent {"connection_id":204518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:35:07] local.INFO: TCP Data received {"connection_id":205917,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:35:07] local.INFO: Processing buffer {"connection_id":205917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:35:07] local.INFO: IMEI packet received {"connection_id":205917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 11:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":205917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:35:09] local.INFO: TCP Data received {"connection_id":204518,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aa7e228012d1b2640071f77e80033013224..."} 
[2026-10-05 11:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aa7e228012d1b2640071f77e80033013224..."} 
[2026-10-05 11:35:09] local.INFO: Processing buffer {"connection_id":204518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aa7e228012d1b2640071f77e80033013224..."} 
[2026-10-05 11:35:09] local.INFO: Packet analysis {"connection_id":204518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aa7"} 
[2026-10-05 11:35:09] local.INFO: Extracted packet for processing {"connection_id":204518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aa7"} 
[2026-10-05 11:35:09] local.INFO: GPS Element Parsed {"raw_longitude":756753984,"raw_latitude":119502824,"longitude_deg":75.6753984,"latitude_deg":11.9502824,"altitude":51,"angle":306,"satellites":36,"speed":5,"hex_longitude":"2d1b2640","hex_latitude":"071f77e8","is_valid_coordinates":true} 
[2026-10-05 11:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542110976001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25000850011193344,"note":"Value kept but may cause issues"} 
[2026-10-05 11:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958151074824443904,"note":"Value kept but may cause issues"} 
[2026-10-05 11:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791180137000,"timestamp_ms":1791180137000,"timestamp_seconds":1791180137,"priority":1,"record_length":96,"hex_timestamp":"000001a10aa7e228"} 
[2026-10-05 11:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:35: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-10-05 11:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-10-05 11:35:09] 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-10-05 11:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:35:09] 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-10-05 11:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542110976001,"66":12841,"101":206,"83":41984,"24":5,"16":25000850011193344,"45":1958151074824443904},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542110976001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:35:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:35:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25000850011193344,"km_value":25000850011193.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958151074824443904,"description":"Unknown IO ID 45"} 
[2026-10-05 11:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542110976001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1958151074824443904}} 
[2026-10-05 11:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":204518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:35:09] local.INFO: GPS data processed {"connection_id":204518,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:35:09] local.INFO: Acknowledgment sent {"connection_id":204518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:35:40] local.INFO: TCP Data received {"connection_id":207465,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:35:40] local.INFO: Processing buffer {"connection_id":207465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:35:40] local.INFO: IMEI packet received {"connection_id":207465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 11:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":207465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:35:40] local.INFO: TCP Data received {"connection_id":204518,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aa80938012d1b2240071f7a18002d012723..."} 
[2026-10-05 11:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aa80938012d1b2240071f7a18002d012723..."} 
[2026-10-05 11:35:40] local.INFO: Processing buffer {"connection_id":204518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aa80938012d1b2240071f7a18002d012723..."} 
[2026-10-05 11:35:40] local.INFO: Packet analysis {"connection_id":204518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aa8"} 
[2026-10-05 11:35:40] local.INFO: Extracted packet for processing {"connection_id":204518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aa8"} 
[2026-10-05 11:35:40] local.INFO: GPS Element Parsed {"raw_longitude":756752960,"raw_latitude":119503384,"longitude_deg":75.675296,"latitude_deg":11.9503384,"altitude":45,"angle":295,"satellites":35,"speed":4,"hex_longitude":"2d1b2240","hex_latitude":"071f7a18","is_valid_coordinates":true} 
[2026-10-05 11:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542115072001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25000905845768192,"note":"Value kept but may cause issues"} 
[2026-10-05 11:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1956321487475959808,"note":"Value kept but may cause issues"} 
[2026-10-05 11:35:40] 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-10-05 11:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791180147000,"timestamp_ms":1791180147000,"timestamp_seconds":1791180147,"priority":1,"record_length":96,"hex_timestamp":"000001a10aa80938"} 
[2026-10-05 11:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:35:40] 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-10-05 11:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 11:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:35:40] 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-10-05 11:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542115072001,"66":12722,"101":206,"83":41984,"24":4,"16":25000905845768192,"45":1956321487475959808},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542115072001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:35:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:35:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25000905845768192,"km_value":25000905845768.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1956321487475959808,"description":"Unknown IO ID 45"} 
[2026-10-05 11:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542115072001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1956321487475959808}} 
[2026-10-05 11:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":204518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:35:40] local.INFO: GPS data processed {"connection_id":204518,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:35:40] local.INFO: Acknowledgment sent {"connection_id":204518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:36:00] local.INFO: TCP Data received {"connection_id":207466,"ip":"117.224.37.126","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:36:00] local.INFO: Processing buffer {"connection_id":207466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:36:00] local.INFO: IMEI packet received {"connection_id":207466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":207466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:36:05] local.INFO: TCP Data received {"connection_id":207466,"ip":"117.224.37.126","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:36:05] local.INFO: Processing buffer {"connection_id":207466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:36:05] local.INFO: IMEI packet received {"connection_id":207466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":207466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:36:05] local.INFO: TCP Data received {"connection_id":204519,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:36:05] local.INFO: Processing buffer {"connection_id":204519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:36:05] local.INFO: IMEI packet received {"connection_id":204519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":204519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:36:09] local.INFO: TCP Data received {"connection_id":204519,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:36:09] local.INFO: Processing buffer {"connection_id":204519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:36:09] local.INFO: IMEI packet received {"connection_id":204519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":204519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:36:10] local.INFO: TCP Data received {"connection_id":204519,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aa85758012d1b1700071f7eb80028012c24..."} 
[2026-10-05 11:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aa85758012d1b1700071f7eb80028012c24..."} 
[2026-10-05 11:36:10] local.INFO: Processing buffer {"connection_id":204519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aa85758012d1b1700071f7eb80028012c24..."} 
[2026-10-05 11:36:10] local.INFO: Packet analysis {"connection_id":204519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aa8"} 
[2026-10-05 11:36:10] local.INFO: Extracted packet for processing {"connection_id":204519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aa8"} 
[2026-10-05 11:36:10] local.INFO: GPS Element Parsed {"raw_longitude":756750080,"raw_latitude":119504568,"longitude_deg":75.675008,"latitude_deg":11.9504568,"altitude":40,"angle":300,"satellites":36,"speed":4,"hex_longitude":"2d1b1700","hex_latitude":"071f7eb8","is_valid_coordinates":true} 
[2026-10-05 11:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542117632001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001051874656256,"note":"Value kept but may cause issues"} 
[2026-10-05 11:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1955195587569260544,"note":"Value kept but may cause issues"} 
[2026-10-05 11:36:10] 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-10-05 11:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791180167000,"timestamp_ms":1791180167000,"timestamp_seconds":1791180167,"priority":1,"record_length":96,"hex_timestamp":"000001a10aa85758"} 
[2026-10-05 11:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:36:10] 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-10-05 11:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 11:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:36:10] 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-10-05 11:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542117632001,"66":12580,"101":206,"83":41984,"24":4,"16":25001051874656256,"45":1955195587569260544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542117632001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:36:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:36:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001051874656256,"km_value":25001051874656.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1955195587569260544,"description":"Unknown IO ID 45"} 
[2026-10-05 11:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542117632001,"power":12580,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1955195587569260544}} 
[2026-10-05 11:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":204519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:36:10] local.INFO: GPS data processed {"connection_id":204519,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:36:10] local.INFO: Acknowledgment sent {"connection_id":204519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:36:41] local.INFO: TCP Data received {"connection_id":204519,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aa8a960012d1b1600071f7f10002a013125..."} 
[2026-10-05 11:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aa8a960012d1b1600071f7f10002a013125..."} 
[2026-10-05 11:36:41] local.INFO: Processing buffer {"connection_id":204519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aa8a960012d1b1600071f7f10002a013125..."} 
[2026-10-05 11:36:41] local.INFO: Packet analysis {"connection_id":204519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aa8"} 
[2026-10-05 11:36:41] local.INFO: Extracted packet for processing {"connection_id":204519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aa8"} 
[2026-10-05 11:36:41] local.INFO: GPS Element Parsed {"raw_longitude":756749824,"raw_latitude":119504656,"longitude_deg":75.6749824,"latitude_deg":11.9504656,"altitude":42,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d1b1600","hex_latitude":"071f7f10","is_valid_coordinates":true} 
[2026-10-05 11:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542122752001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001069054525440,"note":"Value kept but may cause issues"} 
[2026-10-05 11:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1952028994081568768,"note":"Value kept but may cause issues"} 
[2026-10-05 11:36:41] 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-10-05 11:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791180188000,"timestamp_ms":1791180188000,"timestamp_seconds":1791180188,"priority":1,"record_length":96,"hex_timestamp":"000001a10aa8a960"} 
[2026-10-05 11:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:36:41] 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-10-05 11:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-10-05 11:36:41] 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-10-05 11:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:36:41] 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-10-05 11:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542122752001,"66":12461,"101":206,"83":41984,"24":0,"16":25001069054525440,"45":1952028994081568768},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542122752001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:36:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:36:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001069054525440,"km_value":25001069054525.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1952028994081568768,"description":"Unknown IO ID 45"} 
[2026-10-05 11:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542122752001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1952028994081568768}} 
[2026-10-05 11:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":204519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:36:41] local.INFO: GPS data processed {"connection_id":204519,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:36:41] local.INFO: Acknowledgment sent {"connection_id":204519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:37:12] local.INFO: TCP Data received {"connection_id":204519,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aa8fb68012d1b1600071f7f10002a013126..."} 
[2026-10-05 11:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aa8fb68012d1b1600071f7f10002a013126..."} 
[2026-10-05 11:37:12] local.INFO: Processing buffer {"connection_id":204519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aa8fb68012d1b1600071f7f10002a013126..."} 
[2026-10-05 11:37:12] local.INFO: Packet analysis {"connection_id":204519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aa8"} 
[2026-10-05 11:37:12] local.INFO: Extracted packet for processing {"connection_id":204519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aa8"} 
[2026-10-05 11:37:12] local.INFO: GPS Element Parsed {"raw_longitude":756749824,"raw_latitude":119504656,"longitude_deg":75.6749824,"latitude_deg":11.9504656,"altitude":42,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d1b1600","hex_latitude":"071f7f10","is_valid_coordinates":true} 
[2026-10-05 11:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542128128001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001069054525440,"note":"Value kept but may cause issues"} 
[2026-10-05 11:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1951747519104880640,"note":"Value kept but may cause issues"} 
[2026-10-05 11:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791180209000,"timestamp_ms":1791180209000,"timestamp_seconds":1791180209,"priority":1,"record_length":96,"hex_timestamp":"000001a10aa8fb68"} 
[2026-10-05 11:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:37:12] 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-10-05 11:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 11:37:12] 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-10-05 11:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:37:12] 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-10-05 11:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542128128001,"66":13928,"101":206,"83":41984,"24":0,"16":25001069054525440,"45":1951747519104880640},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542128128001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:37:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:37:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001069054525440,"km_value":25001069054525.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1951747519104880640,"description":"Unknown IO ID 45"} 
[2026-10-05 11:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542128128001,"power":13928,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1951747519104880640}} 
[2026-10-05 11:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":204519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:37:12] local.INFO: GPS data processed {"connection_id":204519,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:37:12] local.INFO: Acknowledgment sent {"connection_id":204519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:37:43] local.INFO: TCP Data received {"connection_id":204519,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aab7ff0012d1adb80071f8688003c011322..."} 
[2026-10-05 11:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aab7ff0012d1adb80071f8688003c011322..."} 
[2026-10-05 11:37:43] local.INFO: Processing buffer {"connection_id":204519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aab7ff0012d1adb80071f8688003c011322..."} 
[2026-10-05 11:37:43] local.INFO: Packet analysis {"connection_id":204519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aab"} 
[2026-10-05 11:37:43] local.INFO: Extracted packet for processing {"connection_id":204519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aab"} 
[2026-10-05 11:37:43] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":34,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542170368001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791180374000,"timestamp_ms":1791180374000,"timestamp_seconds":1791180374,"priority":1,"record_length":96,"hex_timestamp":"000001a10aab7ff0"} 
[2026-10-05 11:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:37:43] 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-10-05 11: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 11:37:43] 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-10-05 11: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-10-05 11:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:37:43] 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-10-05 11:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542170368001,"66":12819,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542170368001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:37:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:37:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542170368001,"power":12819,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":204519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:37:43] local.INFO: GPS data processed {"connection_id":204519,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:37:43] local.INFO: Acknowledgment sent {"connection_id":204519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:38:05] local.INFO: TCP Data received {"connection_id":204377,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:38:05] local.INFO: Processing buffer {"connection_id":204377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:38:05] local.INFO: IMEI packet received {"connection_id":204377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":204377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:38:11] local.INFO: TCP Data received {"connection_id":204377,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:38:11] local.INFO: Processing buffer {"connection_id":204377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:38:11] local.INFO: IMEI packet received {"connection_id":204377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":204377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:38:12] local.INFO: TCP Data received {"connection_id":204377,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aabd1f8012d1adb80071f8688003c011326..."} 
[2026-10-05 11:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aabd1f8012d1adb80071f8688003c011326..."} 
[2026-10-05 11:38:12] local.INFO: Processing buffer {"connection_id":204377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aabd1f8012d1adb80071f8688003c011326..."} 
[2026-10-05 11:38:12] local.INFO: Packet analysis {"connection_id":204377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aab"} 
[2026-10-05 11:38:12] local.INFO: Extracted packet for processing {"connection_id":204377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aab"} 
[2026-10-05 11:38:12] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542175744001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791180395000,"timestamp_ms":1791180395000,"timestamp_seconds":1791180395,"priority":1,"record_length":96,"hex_timestamp":"000001a10aabd1f8"} 
[2026-10-05 11:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:38:12] 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-10-05 11:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 11:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:12] local.WARNING: Large IO value detected {"io_id":10,"raw_value":-6202133981000172416,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:12] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:12] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503981118783488,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:12] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2248147005,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:12] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3819316371100336384,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675341143365648408,"corrected_to":0} 
[2026-10-05 11:38:12] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182066500862208,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:12] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505912,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:12] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3537829888,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:12] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2273350242596359717,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:12] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522241708301798995,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:12] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755446685827313,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:12] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195075584,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:12] local.WARNING: Large IO value detected {"io_id":176,"raw_value":84753645140647820,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:12] local.WARNING: Large IO value detected {"io_id":120,"raw_value":16608256902302464,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:12] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,101,83,24,241,157,16,211,161,45,128,134,60,38,10,66,215,36,133,1,240,150,227,31,4,113,205,8,48,235,34,239,50,2,88,7,11,51,164,175,69,176,120],"length":625,"final_offset":755,"validated_count":43,"validation_warnings":[{"io_id":205,"original":8675341143365648408,"validated":0}]} 
[2026-10-05 11:38:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758154002202624,"timestamp_seconds":4323758154002202.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 11:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:38:12] 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-10-05 11:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542175744001,"66":12667,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542175744001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:38:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:38:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542175744001,"power":12667,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":204377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:38:12] local.INFO: GPS data processed {"connection_id":204377,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:38:12] local.INFO: Acknowledgment sent {"connection_id":204377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:38:22] local.INFO: TCP Data received {"connection_id":205920,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:38:22] local.INFO: Processing buffer {"connection_id":205920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:38:22] local.INFO: IMEI packet received {"connection_id":205920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":205920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:38:26] local.INFO: TCP Data received {"connection_id":205920,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:38:26] local.INFO: Processing buffer {"connection_id":205920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:38:26] local.INFO: IMEI packet received {"connection_id":205920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":205920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:38:29] local.INFO: TCP Data received {"connection_id":205920,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10aac9548012d7acb4005e411b0000700942e..."} 
[2026-10-05 11:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aac9548012d7acb4005e411b0000700942e..."} 
[2026-10-05 11:38:29] local.INFO: Processing buffer {"connection_id":205920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aac9548012d7acb4005e411b0000700942e..."} 
[2026-10-05 11:38:29] local.INFO: Packet analysis {"connection_id":205920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aac"} 
[2026-10-05 11:38:29] local.INFO: Extracted packet for processing {"connection_id":205920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aac"} 
[2026-10-05 11:38:29] local.INFO: GPS Element Parsed {"raw_longitude":763022144,"raw_latitude":98832816,"longitude_deg":76.3022144,"latitude_deg":9.8832816,"altitude":7,"angle":148,"satellites":46,"speed":32,"hex_longitude":"2d7acb40","hex_latitude":"05e411b0","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542192128001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139627694575845376,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8843662318574497792,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:29] 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-10-05 11:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1791180445000,"timestamp_ms":1791180445000,"timestamp_seconds":1791180445,"priority":1,"record_length":96,"hex_timestamp":"000001a10aac9548"} 
[2026-10-05 11:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:38: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-10-05 11: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-05 11:38: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-10-05 11: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-10-05 11:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":205920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":205920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":205920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:38:29] 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-10-05 11:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542192128001,"66":13798,"39":206,"87":13824,"24":32,"16":139627694575845376,"45":8843662318574497792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-10-05 11:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542192128001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:38:29] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-10-05 11:38:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 11:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139627694575845376,"km_value":139627694575845.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8843662318574497792,"description":"Unknown IO ID 45"} 
[2026-10-05 11:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542192128001,"power":13798,"unknown_39":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8843662318574497792}} 
[2026-10-05 11:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":205920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:38:29] local.INFO: GPS data processed {"connection_id":205920,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:38:29] local.INFO: Acknowledgment sent {"connection_id":205920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:38:34] local.INFO: TCP Data received {"connection_id":205920,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10aaca100012d7acfc005e40820000600a42d..."} 
[2026-10-05 11:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aaca100012d7acfc005e40820000600a42d..."} 
[2026-10-05 11:38:34] local.INFO: Processing buffer {"connection_id":205920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aaca100012d7acfc005e40820000600a42d..."} 
[2026-10-05 11:38:34] local.INFO: Packet analysis {"connection_id":205920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aac"} 
[2026-10-05 11:38:34] local.INFO: Extracted packet for processing {"connection_id":205920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aac"} 
[2026-10-05 11:38:34] local.INFO: GPS Element Parsed {"raw_longitude":763023296,"raw_latitude":98830368,"longitude_deg":76.3023296,"latitude_deg":9.8830368,"altitude":6,"angle":164,"satellites":45,"speed":37,"hex_longitude":"2d7acfc0","hex_latitude":"05e40820","is_valid_coordinates":true} 
[2026-10-05 11:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542193920001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139627827719831552,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848236286944849920,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:34] 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-10-05 11:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791180448000,"timestamp_ms":1791180448000,"timestamp_seconds":1791180448,"priority":1,"record_length":96,"hex_timestamp":"000001a10aaca100"} 
[2026-10-05 11:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:38: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-10-05 11:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 11:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":205920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":205920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":205920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:38:34] 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-10-05 11:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542193920001,"66":13820,"39":206,"87":13824,"24":37,"16":139627827719831552,"45":8848236286944849920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-10-05 11:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542193920001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:38:34] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-10-05 11:38:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 11:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139627827719831552,"km_value":139627827719831.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848236286944849920,"description":"Unknown IO ID 45"} 
[2026-10-05 11:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542193920001,"power":13820,"unknown_39":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8848236286944849920}} 
[2026-10-05 11:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":205920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:38:34] local.INFO: GPS data processed {"connection_id":205920,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:38:34] local.INFO: Acknowledgment sent {"connection_id":205920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:38:43] local.INFO: TCP Data received {"connection_id":204377,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aac2400012d1adb80071f8688003c011326..."} 
[2026-10-05 11:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aac2400012d1adb80071f8688003c011326..."} 
[2026-10-05 11:38:43] local.INFO: Processing buffer {"connection_id":204377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aac2400012d1adb80071f8688003c011326..."} 
[2026-10-05 11:38:43] local.INFO: Packet analysis {"connection_id":204377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aac"} 
[2026-10-05 11:38:43] local.INFO: Extracted packet for processing {"connection_id":204377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aac"} 
[2026-10-05 11:38:43] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542181120001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791180416000,"timestamp_ms":1791180416000,"timestamp_seconds":1791180416,"priority":1,"record_length":96,"hex_timestamp":"000001a10aac2400"} 
[2026-10-05 11:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:38:43] 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-10-05 11:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 11:38:43] 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-10-05 11:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:38:43] 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-10-05 11:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542181120001,"66":12722,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542181120001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:38:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:38:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542181120001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":204377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:38:43] local.INFO: GPS data processed {"connection_id":204377,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:38:43] local.INFO: Acknowledgment sent {"connection_id":204377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:39:03] local.INFO: TCP Data received {"connection_id":204521,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204521,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:39:03] local.INFO: Processing buffer {"connection_id":204521,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:39:03] local.INFO: IMEI packet received {"connection_id":204521,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":204521,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:39:05] local.INFO: TCP Data received {"connection_id":207468,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:39:05] local.INFO: Processing buffer {"connection_id":207468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:39:05] local.INFO: IMEI packet received {"connection_id":207468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":207468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:39:07] local.INFO: TCP Data received {"connection_id":204521,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204521,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:39:07] local.INFO: Processing buffer {"connection_id":204521,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:39:07] local.INFO: IMEI packet received {"connection_id":204521,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":204521,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:39:10] local.INFO: TCP Data received {"connection_id":207468,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:39:10] local.INFO: Processing buffer {"connection_id":207468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:39:10] local.INFO: IMEI packet received {"connection_id":207468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":207468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:39:11] local.INFO: TCP Data received {"connection_id":207468,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aac7608012d1adb80071f8688003c011327..."} 
[2026-10-05 11:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aac7608012d1adb80071f8688003c011327..."} 
[2026-10-05 11:39:11] local.INFO: Processing buffer {"connection_id":207468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aac7608012d1adb80071f8688003c011327..."} 
[2026-10-05 11:39:11] local.INFO: Packet analysis {"connection_id":207468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aac"} 
[2026-10-05 11:39:11] local.INFO: Extracted packet for processing {"connection_id":207468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aac"} 
[2026-10-05 11:39:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542186496001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:39:11] 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-10-05 11:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791180437000,"timestamp_ms":1791180437000,"timestamp_seconds":1791180437,"priority":1,"record_length":96,"hex_timestamp":"000001a10aac7608"} 
[2026-10-05 11:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:39:11] 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-10-05 11:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 11:39:11] 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-10-05 11:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:39:11] 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-10-05 11:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542186496001,"66":12678,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542186496001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:39:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:39:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542186496001,"power":12678,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":207468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:39:11] local.INFO: GPS data processed {"connection_id":207468,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:39:11] local.INFO: Acknowledgment sent {"connection_id":207468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:39:13] local.INFO: TCP Data received {"connection_id":204521,"ip":"42.109.136.7","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a10a..."} 
[2026-10-05 11:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204521,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a10a..."} 
[2026-10-05 11:39:13] local.INFO: Processing buffer {"connection_id":204521,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a10a..."} 
[2026-10-05 11:39:13] local.INFO: IMEI packet received {"connection_id":204521,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":204521,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:39:23] local.INFO: TCP Data received {"connection_id":204521,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10aad02a8012d7ae20005e3c090000800a32e..."} 
[2026-10-05 11:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aad02a8012d7ae20005e3c090000800a32e..."} 
[2026-10-05 11:39:23] local.INFO: Processing buffer {"connection_id":204521,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a10aaccfe0012d7ad78005e3e4c0000700a72c..."} 
[2026-10-05 11:39:23] local.INFO: Packet analysis {"connection_id":204521,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a10aac"} 
[2026-10-05 11:39:23] local.INFO: Extracted packet for processing {"connection_id":204521,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aac"} 
[2026-10-05 11:39:23] local.INFO: GPS Element Parsed {"raw_longitude":763025280,"raw_latitude":98821312,"longitude_deg":76.302528,"latitude_deg":9.8821312,"altitude":7,"angle":167,"satellites":44,"speed":18,"hex_longitude":"2d7ad780","hex_latitude":"05e3e4c0","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542194688001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139628274396430336,"note":"Value kept but may cause issues"} 
[2026-10-05 11:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849502924339421184,"note":"Value kept but may cause issues"} 
[2026-10-05 11:39:23] 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-10-05 11:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1791180460000,"timestamp_ms":1791180460000,"timestamp_seconds":1791180460,"priority":1,"record_length":96,"hex_timestamp":"000001a10aaccfe0"} 
[2026-10-05 11:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 11:39:23] 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-10-05 11: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-10-05 11:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":204521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":204521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":204521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:39:23] 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-10-05 11:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542194688001,"66":13374,"39":206,"87":13824,"24":18,"16":139628274396430336,"45":8849502924339421184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-10-05 11:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542194688001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:39:23] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-10-05 11:39:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 11:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139628274396430336,"km_value":139628274396430.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849502924339421184,"description":"Unknown IO ID 45"} 
[2026-10-05 11:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542194688001,"power":13374,"unknown_39":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8849502924339421184}} 
[2026-10-05 11:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":204521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966911,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:39:23] local.INFO: GPS data processed {"connection_id":204521,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:39:23] local.INFO: Acknowledgment sent {"connection_id":204521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:39:23] local.INFO: Packet analysis {"connection_id":204521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aad"} 
[2026-10-05 11:39:23] local.INFO: Extracted packet for processing {"connection_id":204521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aad"} 
[2026-10-05 11:39:23] local.INFO: GPS Element Parsed {"raw_longitude":763027968,"raw_latitude":98812048,"longitude_deg":76.3027968,"latitude_deg":9.8812048,"altitude":8,"angle":163,"satellites":46,"speed":34,"hex_longitude":"2d7ae200","hex_latitude":"05e3c090","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542197760001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139628742547865600,"note":"Value kept but may cause issues"} 
[2026-10-05 11:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851684355406610432,"note":"Value kept but may cause issues"} 
[2026-10-05 11:39:23] 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-10-05 11:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1791180473000,"timestamp_ms":1791180473000,"timestamp_seconds":1791180473,"priority":1,"record_length":96,"hex_timestamp":"000001a10aad02a8"} 
[2026-10-05 11:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-10-05 11:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11: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-10-05 11:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":204521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":204521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":204521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:39:23] 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-10-05 11:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542197760001,"66":13352,"208":206,"85":15104,"24":34,"16":139628742547865600,"45":8851684355406610432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 11:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542197760001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:39:23] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 11:39:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139628742547865600,"km_value":139628742547865.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851684355406610432,"description":"Unknown IO ID 45"} 
[2026-10-05 11:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542197760001,"power":13352,"unknown_208":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8851684355406610432}} 
[2026-10-05 11:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":204521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:39:23] local.INFO: GPS data processed {"connection_id":204521,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:39:23] local.INFO: Acknowledgment sent {"connection_id":204521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:39:31] local.INFO: TCP Data received {"connection_id":204521,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10aad2da0012d7aed0005e39e58000800a32d..."} 
[2026-10-05 11:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aad2da0012d7aed0005e39e58000800a32d..."} 
[2026-10-05 11:39:31] local.INFO: Processing buffer {"connection_id":204521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aad2da0012d7aed0005e39e58000800a32d..."} 
[2026-10-05 11:39:31] local.INFO: Packet analysis {"connection_id":204521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aad"} 
[2026-10-05 11:39:31] local.INFO: Extracted packet for processing {"connection_id":204521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aad"} 
[2026-10-05 11:39:31] local.INFO: GPS Element Parsed {"raw_longitude":763030784,"raw_latitude":98803288,"longitude_deg":76.3030784,"latitude_deg":9.8803288,"altitude":8,"angle":163,"satellites":45,"speed":25,"hex_longitude":"2d7aed00","hex_latitude":"05e39e58","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542201088001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139629189224464384,"note":"Value kept but may cause issues"} 
[2026-10-05 11:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854639842659700736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:39:31] 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-10-05 11:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791180484000,"timestamp_ms":1791180484000,"timestamp_seconds":1791180484,"priority":1,"record_length":96,"hex_timestamp":"000001a10aad2da0"} 
[2026-10-05 11:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:39:31] 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-10-05 11: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 11:39:31] 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-10-05 11: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-10-05 11:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:39:31] 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-10-05 11:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542201088001,"66":13450,"208":206,"85":15104,"24":25,"16":139629189224464384,"45":8854639842659700736},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 11:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542201088001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:39:31] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 11:39:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139629189224464384,"km_value":139629189224464.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854639842659700736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542201088001,"power":13450,"unknown_208":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8854639842659700736}} 
[2026-10-05 11:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":204521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966913,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:39:31] local.INFO: GPS data processed {"connection_id":204521,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:39:31] local.INFO: Acknowledgment sent {"connection_id":204521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:39:42] local.INFO: TCP Data received {"connection_id":207468,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aacc810012d1adb80071f8688003c011325..."} 
[2026-10-05 11:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aacc810012d1adb80071f8688003c011325..."} 
[2026-10-05 11:39:42] local.INFO: Processing buffer {"connection_id":207468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aacc810012d1adb80071f8688003c011325..."} 
[2026-10-05 11:39:42] local.INFO: Packet analysis {"connection_id":207468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aac"} 
[2026-10-05 11:39:42] local.INFO: Extracted packet for processing {"connection_id":207468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aac"} 
[2026-10-05 11:39:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542191872001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791180458000,"timestamp_ms":1791180458000,"timestamp_seconds":1791180458,"priority":1,"record_length":96,"hex_timestamp":"000001a10aacc810"} 
[2026-10-05 11:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:39:42] 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-10-05 11:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 11:39:42] 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-10-05 11:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:39:42] 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-10-05 11:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542191872001,"66":12667,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542191872001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:39:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:39:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542191872001,"power":12667,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":207468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:39:43] local.INFO: GPS data processed {"connection_id":207468,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:39:43] local.INFO: Acknowledgment sent {"connection_id":207468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:39:59] local.INFO: TCP Data received {"connection_id":207469,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:39:59] local.INFO: Processing buffer {"connection_id":207469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:39:59] local.INFO: IMEI packet received {"connection_id":207469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":207469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:40:01] local.INFO: TCP Data received {"connection_id":207469,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:40:01] local.INFO: Processing buffer {"connection_id":207469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:40:01] local.INFO: IMEI packet received {"connection_id":207469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":207469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:40:04] local.INFO: TCP Data received {"connection_id":207469,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:40:04] local.INFO: Processing buffer {"connection_id":207469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:40:04] local.INFO: IMEI packet received {"connection_id":207469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":207469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:40:07] local.INFO: TCP Data received {"connection_id":207469,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10aad7bc0012d7af6c005e380580009009f2d..."} 
[2026-10-05 11:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aad7bc0012d7af6c005e380580009009f2d..."} 
[2026-10-05 11:40:07] local.INFO: Processing buffer {"connection_id":207469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aad7bc0012d7af6c005e380580009009f2d..."} 
[2026-10-05 11:40:07] local.INFO: Packet analysis {"connection_id":207469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aad"} 
[2026-10-05 11:40:07] local.INFO: Extracted packet for processing {"connection_id":207469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aad"} 
[2026-10-05 11:40:07] local.INFO: GPS Element Parsed {"raw_longitude":763033280,"raw_latitude":98795608,"longitude_deg":76.303328,"latitude_deg":9.8795608,"altitude":9,"angle":159,"satellites":45,"speed":15,"hex_longitude":"2d7af6c0","hex_latitude":"05e38058","is_valid_coordinates":true} 
[2026-10-05 11:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542203904001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139629580066488320,"note":"Value kept but may cause issues"} 
[2026-10-05 11:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857736067401275392,"note":"Value kept but may cause issues"} 
[2026-10-05 11: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-10-05 11:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791180504000,"timestamp_ms":1791180504000,"timestamp_seconds":1791180504,"priority":1,"record_length":96,"hex_timestamp":"000001a10aad7bc0"} 
[2026-10-05 11:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:40: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-10-05 11: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 11:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11: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-10-05 11:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:40:07] 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-10-05 11:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542203904001,"66":13928,"208":206,"85":15104,"24":15,"16":139629580066488320,"45":8857736067401275392},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 11:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542203904001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:40:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 11:40:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139629580066488320,"km_value":139629580066488.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857736067401275392,"description":"Unknown IO ID 45"} 
[2026-10-05 11:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542203904001,"power":13928,"unknown_208":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8857736067401275392}} 
[2026-10-05 11:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":207469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966915,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:40:07] local.INFO: GPS data processed {"connection_id":207469,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:40:07] local.INFO: Acknowledgment sent {"connection_id":207469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:40:11] local.INFO: TCP Data received {"connection_id":204522,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:40:11] local.INFO: Processing buffer {"connection_id":204522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:40:11] local.INFO: IMEI packet received {"connection_id":204522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":204522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:40:15] local.INFO: TCP Data received {"connection_id":204522,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:40:15] local.INFO: Processing buffer {"connection_id":204522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:40:15] local.INFO: IMEI packet received {"connection_id":204522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":204522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:40:16] local.INFO: TCP Data received {"connection_id":204522,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aad1630012d1adb80071f8688003c011327..."} 
[2026-10-05 11:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aad1630012d1adb80071f8688003c011327..."} 
[2026-10-05 11:40:16] local.INFO: Processing buffer {"connection_id":204522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aad1630012d1adb80071f8688003c011327..."} 
[2026-10-05 11:40:16] local.INFO: Packet analysis {"connection_id":204522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aad"} 
[2026-10-05 11:40:16] local.INFO: Extracted packet for processing {"connection_id":204522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aad"} 
[2026-10-05 11:40:16] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542197248001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791180478000,"timestamp_ms":1791180478000,"timestamp_seconds":1791180478,"priority":1,"record_length":96,"hex_timestamp":"000001a10aad1630"} 
[2026-10-05 11:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:40:16] 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-10-05 11:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 11:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:40:16] 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-10-05 11:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542197248001,"66":12591,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542197248001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:40:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:40:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542197248001,"power":12591,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":204522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:40:16] local.INFO: GPS data processed {"connection_id":204522,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:40:16] local.INFO: Acknowledgment sent {"connection_id":204522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:40:38] local.INFO: TCP Data received {"connection_id":207469,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10aadb270012d7b010005e35e68000c00a12d..."} 
[2026-10-05 11:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aadb270012d7b010005e35e68000c00a12d..."} 
[2026-10-05 11:40:38] local.INFO: Processing buffer {"connection_id":207469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aadb270012d7b010005e35e68000c00a12d..."} 
[2026-10-05 11:40:38] local.INFO: Packet analysis {"connection_id":207469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aad"} 
[2026-10-05 11:40:38] local.INFO: Extracted packet for processing {"connection_id":207469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aad"} 
[2026-10-05 11:40:38] local.INFO: GPS Element Parsed {"raw_longitude":763035904,"raw_latitude":98786920,"longitude_deg":76.3035904,"latitude_deg":9.878692,"altitude":12,"angle":161,"satellites":45,"speed":21,"hex_longitude":"2d7b0100","hex_latitude":"05e35e68","is_valid_coordinates":true} 
[2026-10-05 11:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542209024001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139630022448119808,"note":"Value kept but may cause issues"} 
[2026-10-05 11:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860480448422238208,"note":"Value kept but may cause issues"} 
[2026-10-05 11:40:38] 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-10-05 11:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791180518000,"timestamp_ms":1791180518000,"timestamp_seconds":1791180518,"priority":1,"record_length":96,"hex_timestamp":"000001a10aadb270"} 
[2026-10-05 11:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-05 11:40:38] 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-10-05 11:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:40:38] 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-10-05 11:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542209024001,"66":13830,"208":206,"85":15104,"24":21,"16":139630022448119808,"45":8860480448422238208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 11:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542209024001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:40:38] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 11:40:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139630022448119808,"km_value":139630022448119.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860480448422238208,"description":"Unknown IO ID 45"} 
[2026-10-05 11:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542209024001,"power":13830,"unknown_208":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8860480448422238208}} 
[2026-10-05 11:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":207469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966917,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:40:38] local.INFO: GPS data processed {"connection_id":207469,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:40:38] local.INFO: Acknowledgment sent {"connection_id":207469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:40:47] local.INFO: TCP Data received {"connection_id":204522,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aad6838012d1adb80071f8688003c011326..."} 
[2026-10-05 11:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aad6838012d1adb80071f8688003c011326..."} 
[2026-10-05 11:40:47] local.INFO: Processing buffer {"connection_id":204522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aad6838012d1adb80071f8688003c011326..."} 
[2026-10-05 11:40:47] local.INFO: Packet analysis {"connection_id":204522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aad"} 
[2026-10-05 11:40:47] local.INFO: Extracted packet for processing {"connection_id":204522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aad"} 
[2026-10-05 11:40:47] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542202368001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:40: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-10-05 11:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791180499000,"timestamp_ms":1791180499000,"timestamp_seconds":1791180499,"priority":1,"record_length":96,"hex_timestamp":"000001a10aad6838"} 
[2026-10-05 11:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:40:47] 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-10-05 11:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-05 11:40:47] 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-10-05 11:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":204522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":204522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":204522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:40:47] 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-10-05 11:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542202368001,"66":12613,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542202368001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:40:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:40:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542202368001,"power":12613,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":204522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:40:47] local.INFO: GPS data processed {"connection_id":204522,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:40:47] local.INFO: Acknowledgment sent {"connection_id":204522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:40:59] local.INFO: TCP Data received {"connection_id":205922,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:40:59] local.INFO: Processing buffer {"connection_id":205922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:40:59] local.INFO: IMEI packet received {"connection_id":205922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":205922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:41:00] local.INFO: TCP Data received {"connection_id":205922,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:41:00] local.INFO: Processing buffer {"connection_id":205922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:41:00] local.INFO: IMEI packet received {"connection_id":205922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":205922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:41:03] local.INFO: TCP Data received {"connection_id":204378,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:41:03] local.INFO: Processing buffer {"connection_id":204378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:41:03] local.INFO: IMEI packet received {"connection_id":204378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":204378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:41:04] local.INFO: TCP Data received {"connection_id":205922,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:41:04] local.INFO: Processing buffer {"connection_id":205922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:41:04] local.INFO: IMEI packet received {"connection_id":205922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":205922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:41:05] local.INFO: TCP Data received {"connection_id":205922,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10aae0090012d7b078005e34f18000e00a32d..."} 
[2026-10-05 11:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aae0090012d7b078005e34f18000e00a32d..."} 
[2026-10-05 11:41:05] local.INFO: Processing buffer {"connection_id":205922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aae0090012d7b078005e34f18000e00a32d..."} 
[2026-10-05 11:41:05] local.INFO: Packet analysis {"connection_id":205922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aae"} 
[2026-10-05 11:41:05] local.INFO: Extracted packet for processing {"connection_id":205922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aae"} 
[2026-10-05 11:41:05] local.INFO: GPS Element Parsed {"raw_longitude":763037568,"raw_latitude":98783000,"longitude_deg":76.3037568,"latitude_deg":9.8783,"altitude":14,"angle":163,"satellites":45,"speed":8,"hex_longitude":"2d7b0780","hex_latitude":"05e34f18","is_valid_coordinates":true} 
[2026-10-05 11:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542212608001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139630232901517312,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863365566931298304,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41: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-10-05 11:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791180538000,"timestamp_ms":1791180538000,"timestamp_seconds":1791180538,"priority":1,"record_length":96,"hex_timestamp":"000001a10aae0090"} 
[2026-10-05 11:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 11:41:05] local.WARNING: Large IO value detected {"io_id":24,"raw_value":9007207860469760,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626591406592,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2899304449,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:05] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3837788167,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:05] local.WARNING: Large IO value detected {"io_id":15,"raw_value":2583691264,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-10-05 11:41:05] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3221611528,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:05] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911000,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3826364416,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:05] local.WARNING: Large IO value detected {"io_id":121,"raw_value":-1152590024483535388,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:05] local.WARNING: Large IO value detected {"io_id":35,"raw_value":-1152910507239604181,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,208,85,24,241,157,16,161,123,45,192,128,9,10,66,158,8,2,1,240,40,227,15,4,113,205,87,18,207,32,239,53,39,5,7,121,35],"length":528,"final_offset":658,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-10-05 11:41:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864868343102111744,"timestamp_seconds":864868343102111.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 11:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:41:05] 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-10-05 11:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542212608001,"66":13765,"208":206,"85":15104,"24":8,"16":139630232901517312,"45":8863365566931298304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 11:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542212608001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:41:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 11:41:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139630232901517312,"km_value":139630232901517.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863365566931298304,"description":"Unknown IO ID 45"} 
[2026-10-05 11:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542212608001,"power":13765,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8863365566931298304}} 
[2026-10-05 11:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":205922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:41:05] local.INFO: GPS data processed {"connection_id":205922,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:41:05] local.INFO: Acknowledgment sent {"connection_id":205922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:41:06] local.INFO: TCP Data received {"connection_id":204378,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:41:06] local.INFO: Processing buffer {"connection_id":204378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:41:06] local.INFO: IMEI packet received {"connection_id":204378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":204378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:41:11] local.INFO: TCP Data received {"connection_id":204378,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:41:11] local.INFO: Processing buffer {"connection_id":204378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:41:11] local.INFO: IMEI packet received {"connection_id":204378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":204378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:41:11] local.INFO: TCP Data received {"connection_id":204378,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aadba40012d1adb80071f8688003c011325..."} 
[2026-10-05 11:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aadba40012d1adb80071f8688003c011325..."} 
[2026-10-05 11:41:11] local.INFO: Processing buffer {"connection_id":204378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aadba40012d1adb80071f8688003c011325..."} 
[2026-10-05 11:41:11] local.INFO: Packet analysis {"connection_id":204378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aad"} 
[2026-10-05 11:41:11] local.INFO: Extracted packet for processing {"connection_id":204378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aad"} 
[2026-10-05 11:41:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542207744001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:11] 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-10-05 11:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791180520000,"timestamp_ms":1791180520000,"timestamp_seconds":1791180520,"priority":1,"record_length":96,"hex_timestamp":"000001a10aadba40"} 
[2026-10-05 11:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:41:11] 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-10-05 11: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 11:41:11] 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-10-05 11: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-10-05 11:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:41:11] 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-10-05 11:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542207744001,"66":12558,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542207744001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:41:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:41:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542207744001,"power":12558,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":204378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:41:11] local.INFO: GPS data processed {"connection_id":204378,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:41:11] local.INFO: Acknowledgment sent {"connection_id":204378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:41:17] local.INFO: TCP Data received {"connection_id":207470,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:41:17] local.INFO: Processing buffer {"connection_id":207470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:41:17] local.INFO: IMEI packet received {"connection_id":207470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 11:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":207470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:41:36] local.INFO: TCP Data received {"connection_id":205922,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10aae3358012d7b098005e34598001000b029..."} 
[2026-10-05 11:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aae3358012d7b098005e34598001000b029..."} 
[2026-10-05 11:41:36] local.INFO: Processing buffer {"connection_id":205922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aae3358012d7b098005e34598001000b029..."} 
[2026-10-05 11:41:36] local.INFO: Packet analysis {"connection_id":205922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aae"} 
[2026-10-05 11:41:36] local.INFO: Extracted packet for processing {"connection_id":205922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aae"} 
[2026-10-05 11:41:36] local.INFO: GPS Element Parsed {"raw_longitude":763038080,"raw_latitude":98780568,"longitude_deg":76.303808,"latitude_deg":9.8780568,"altitude":16,"angle":176,"satellites":41,"speed":5,"hex_longitude":"2d7b0980","hex_latitude":"05e34598","is_valid_coordinates":true} 
[2026-10-05 11:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542217728001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139630353160601600,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865195154278914048,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41: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-10-05 11:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791180551000,"timestamp_ms":1791180551000,"timestamp_seconds":1791180551,"priority":1,"record_length":96,"hex_timestamp":"000001a10aae3358"} 
[2026-10-05 11:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-10-05 11:41:36] 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-10-05 11:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:41:36] 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-10-05 11:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542217728001,"66":13352,"208":206,"85":15104,"24":5,"16":139630353160601600,"45":8865195154278914048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 11:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542217728001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:41:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 11:41:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139630353160601600,"km_value":139630353160601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865195154278914048,"description":"Unknown IO ID 45"} 
[2026-10-05 11:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542217728001,"power":13352,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8865195154278914048}} 
[2026-10-05 11:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":205922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966921,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:41:36] local.INFO: GPS data processed {"connection_id":205922,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:41:36] local.INFO: Acknowledgment sent {"connection_id":205922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:41:42] local.INFO: TCP Data received {"connection_id":204523,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204523,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:41:42] local.INFO: Processing buffer {"connection_id":204523,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:41:42] local.INFO: IMEI packet received {"connection_id":204523,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 11:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":204523,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:41:42] local.INFO: TCP Data received {"connection_id":204378,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aae0c48012d1adb80071f8688003c011323..."} 
[2026-10-05 11:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aae0c48012d1adb80071f8688003c011323..."} 
[2026-10-05 11:41:42] local.INFO: Processing buffer {"connection_id":204378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aae0c48012d1adb80071f8688003c011323..."} 
[2026-10-05 11:41:42] local.INFO: Packet analysis {"connection_id":204378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aae"} 
[2026-10-05 11:41:42] local.INFO: Extracted packet for processing {"connection_id":204378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aae"} 
[2026-10-05 11:41:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":35,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542213120001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791180541000,"timestamp_ms":1791180541000,"timestamp_seconds":1791180541,"priority":1,"record_length":96,"hex_timestamp":"000001a10aae0c48"} 
[2026-10-05 11:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:41:42] 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-10-05 11: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-10-05 11:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:42] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2893416449,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4097,"corrected_to":0} 
[2026-10-05 11:41:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250151424023037576,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 11:41:42] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:42] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397048,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:42] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:42] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:42] local.WARNING: Large IO value detected {"io_id":54,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:42] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-10-05 11:41:42] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,101,83,24,241,157,16,211,161,104,45,128,134,60,38,10,66,22,39,200,1,240,123,227,31,4,113,205,36,219,136,239,49,2,88,7,120,54,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":200,"original":4097,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 11:41:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758166887104512,"timestamp_seconds":4323758166887104.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 11:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:41:42] 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-10-05 11:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542213120001,"66":12558,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542213120001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:41:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:41:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542213120001,"power":12558,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":204378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:41:42] local.INFO: GPS data processed {"connection_id":204378,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:41:42] local.INFO: Acknowledgment sent {"connection_id":204378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:42:00] local.INFO: TCP Data received {"connection_id":204379,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:42:00] local.INFO: Processing buffer {"connection_id":204379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:42:00] local.INFO: IMEI packet received {"connection_id":204379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":204379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:42:04] local.INFO: TCP Data received {"connection_id":204379,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:42:04] local.INFO: Processing buffer {"connection_id":204379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:42:04] local.INFO: IMEI packet received {"connection_id":204379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":204379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:42:06] local.INFO: TCP Data received {"connection_id":207471,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:42:06] local.INFO: Processing buffer {"connection_id":207471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:42:06] local.INFO: IMEI packet received {"connection_id":207471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":207471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:42:06] local.INFO: TCP Data received {"connection_id":207471,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:42:06] local.INFO: Processing buffer {"connection_id":207471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:42:06] local.INFO: IMEI packet received {"connection_id":207471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":207471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:42:06] local.INFO: TCP Data received {"connection_id":204379,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10aae8178012d7b0c4005e32dc8000e00b32e..."} 
[2026-10-05 11:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aae8178012d7b0c4005e32dc8000e00b32e..."} 
[2026-10-05 11:42:06] local.INFO: Processing buffer {"connection_id":204379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aae8178012d7b0c4005e32dc8000e00b32e..."} 
[2026-10-05 11:42:06] local.INFO: Packet analysis {"connection_id":204379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aae"} 
[2026-10-05 11:42:06] local.INFO: Extracted packet for processing {"connection_id":204379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aae"} 
[2026-10-05 11:42:06] local.INFO: GPS Element Parsed {"raw_longitude":763038784,"raw_latitude":98774472,"longitude_deg":76.3038784,"latitude_deg":9.8774472,"altitude":14,"angle":179,"satellites":46,"speed":24,"hex_longitude":"2d7b0c40","hex_latitude":"05e32dc8","is_valid_coordinates":true} 
[2026-10-05 11:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542221056001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139630658103279616,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865758104231712768,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42: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-10-05 11:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791180571000,"timestamp_ms":1791180571000,"timestamp_seconds":1791180571,"priority":1,"record_length":96,"hex_timestamp":"000001a10aae8178"} 
[2026-10-05 11:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 11:42:06] 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-10-05 11:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:42:06] 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-10-05 11:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542221056001,"66":13765,"208":206,"85":15104,"24":24,"16":139630658103279616,"45":8865758104231712768},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 11:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542221056001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:42:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 11:42:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139630658103279616,"km_value":139630658103279.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865758104231712768,"description":"Unknown IO ID 45"} 
[2026-10-05 11:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542221056001,"power":13765,"unknown_208":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8865758104231712768}} 
[2026-10-05 11:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":204379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:42:06] local.INFO: GPS data processed {"connection_id":204379,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:42:06] local.INFO: Acknowledgment sent {"connection_id":204379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:42:10] local.INFO: TCP Data received {"connection_id":207471,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:42:10] local.INFO: Processing buffer {"connection_id":207471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:42:10] local.INFO: IMEI packet received {"connection_id":207471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":207471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:42:11] local.INFO: TCP Data received {"connection_id":207471,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aae5e50012d1adb80071f8688003c011327..."} 
[2026-10-05 11:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aae5e50012d1adb80071f8688003c011327..."} 
[2026-10-05 11:42:11] local.INFO: Processing buffer {"connection_id":207471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aae5e50012d1adb80071f8688003c011327..."} 
[2026-10-05 11:42:11] local.INFO: Packet analysis {"connection_id":207471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aae"} 
[2026-10-05 11:42:11] local.INFO: Extracted packet for processing {"connection_id":207471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aae"} 
[2026-10-05 11:42:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542218496001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:11] 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-10-05 11:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791180562000,"timestamp_ms":1791180562000,"timestamp_seconds":1791180562,"priority":1,"record_length":96,"hex_timestamp":"000001a10aae5e50"} 
[2026-10-05 11:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:42:11] 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-10-05 11: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-10-05 11:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2898792449,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250151424023037576,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 11:42:11] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:11] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2248199544,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:11] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:11] local.WARNING: Large IO value detected {"io_id":53,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:11] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:11] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,101,83,24,241,157,16,211,161,186,45,128,134,60,37,10,66,104,38,22,1,240,47,227,31,4,113,205,118,219,136,39,239,49,2,88,7,120,53,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 11:42:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758158297169920,"timestamp_seconds":4323758158297170.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 11:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:42:11] 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-10-05 11:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542218496001,"66":12548,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542218496001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:42:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:42:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542218496001,"power":12548,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":207471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:42:11] local.INFO: GPS data processed {"connection_id":207471,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:42:11] local.INFO: Acknowledgment sent {"connection_id":207471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:42:37] local.INFO: TCP Data received {"connection_id":204379,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab0e6c0012d7b3e0005e1c4c0000400b028..."} 
[2026-10-05 11:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab0e6c0012d7b3e0005e1c4c0000400b028..."} 
[2026-10-05 11:42:37] local.INFO: Processing buffer {"connection_id":204379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab0e6c0012d7b3e0005e1c4c0000400b028..."} 
[2026-10-05 11:42:37] local.INFO: Packet analysis {"connection_id":204379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab0"} 
[2026-10-05 11:42:37] local.INFO: Extracted packet for processing {"connection_id":204379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab0"} 
[2026-10-05 11:42:37] local.INFO: GPS Element Parsed {"raw_longitude":763051520,"raw_latitude":98682048,"longitude_deg":76.305152,"latitude_deg":9.8682048,"altitude":4,"angle":176,"satellites":40,"speed":25,"hex_longitude":"2d7b3e00","hex_latitude":"05e1c4c0","is_valid_coordinates":true} 
[2026-10-05 11:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542263040001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139635189293776896,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879691115555964928,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:37] 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-10-05 11:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791180728000,"timestamp_ms":1791180728000,"timestamp_seconds":1791180728,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab0e6c0"} 
[2026-10-05 11:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:42:37] 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-10-05 11:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 11:42:37] 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-10-05 11:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:42:37] 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-10-05 11:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542263040001,"66":13820,"207":206,"85":15104,"24":25,"16":139635189293776896,"45":8879691115555964928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 11:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542263040001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:42:37] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 11:42:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139635189293776896,"km_value":139635189293776.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879691115555964928,"description":"Unknown IO ID 45"} 
[2026-10-05 11:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542263040001,"power":13820,"unknown_207":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8879691115555964928}} 
[2026-10-05 11:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":204379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966925,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:42:37] local.INFO: GPS data processed {"connection_id":204379,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:42:37] local.INFO: Acknowledgment sent {"connection_id":204379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:42:42] local.INFO: TCP Data received {"connection_id":207471,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aaeb058012d1adb80071f8688003c011324..."} 
[2026-10-05 11:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aaeb058012d1adb80071f8688003c011324..."} 
[2026-10-05 11:42:42] local.INFO: Processing buffer {"connection_id":207471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aaeb058012d1adb80071f8688003c011324..."} 
[2026-10-05 11:42:42] local.INFO: Packet analysis {"connection_id":207471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aae"} 
[2026-10-05 11:42:42] local.INFO: Extracted packet for processing {"connection_id":207471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aae"} 
[2026-10-05 11:42:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":36,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542223872001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791180583000,"timestamp_ms":1791180583000,"timestamp_seconds":1791180583,"priority":1,"record_length":96,"hex_timestamp":"000001a10aaeb058"} 
[2026-10-05 11:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:42:42] 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-10-05 11:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 11:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:42] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2903912449,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184205549773,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 11:42:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":268512538,"corrected_to":0} 
[2026-10-05 11:42:42] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:42] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:42] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-10-05 11:42:42] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,211,161,12,45,128,134,60,35,10,66,186,37,104,1,240,69,227,31,4,113,205,200,219,136,239,49,2,88,7,120],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0},{"io_id":200,"original":268512538,"validated":0}]} 
[2026-10-05 11:42:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758175477039104,"timestamp_seconds":4323758175477039.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 11:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:42:42] 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-10-05 11:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542223872001,"66":12526,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542223872001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:42:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:42:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542223872001,"power":12526,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":207471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:42:42] local.INFO: GPS data processed {"connection_id":207471,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:42:42] local.INFO: Acknowledgment sent {"connection_id":207471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:43:02] local.INFO: TCP Data received {"connection_id":204525,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:43:02] local.INFO: Processing buffer {"connection_id":204525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:43:02] local.INFO: IMEI packet received {"connection_id":204525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":204525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:43:04] local.INFO: TCP Data received {"connection_id":204525,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:43:04] local.INFO: Processing buffer {"connection_id":204525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:43:04] local.INFO: IMEI packet received {"connection_id":204525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":204525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:43:04] local.INFO: TCP Data received {"connection_id":204525,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:43:04] local.INFO: Processing buffer {"connection_id":204525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:43:04] local.INFO: IMEI packet received {"connection_id":204525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":204525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:43:06] local.INFO: TCP Data received {"connection_id":207472,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:43:06] local.INFO: Processing buffer {"connection_id":207472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:43:06] local.INFO: IMEI packet received {"connection_id":207472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":207472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:43:09] local.INFO: TCP Data received {"connection_id":204525,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:43:09] local.INFO: Processing buffer {"connection_id":204525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:43:09] local.INFO: IMEI packet received {"connection_id":204525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":204525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:43:10] local.INFO: TCP Data received {"connection_id":207472,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:43:10] local.INFO: Processing buffer {"connection_id":207472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:43:10] local.INFO: IMEI packet received {"connection_id":207472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":207472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:43:10] local.INFO: TCP Data received {"connection_id":204525,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab11d70012d7b410005e1a1d8000400af26..."} 
[2026-10-05 11:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab11d70012d7b410005e1a1d8000400af26..."} 
[2026-10-05 11:43:10] local.INFO: Processing buffer {"connection_id":204525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab11d70012d7b410005e1a1d8000400af26..."} 
[2026-10-05 11:43:10] local.INFO: Packet analysis {"connection_id":204525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:43:10] local.INFO: Extracted packet for processing {"connection_id":204525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:43:10] local.INFO: GPS Element Parsed {"raw_longitude":763052288,"raw_latitude":98673112,"longitude_deg":76.3052288,"latitude_deg":9.8673112,"altitude":4,"angle":175,"satellites":38,"speed":31,"hex_longitude":"2d7b4100","hex_latitude":"05e1a1d8","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542266368001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880535540483801088,"note":"Value kept but may cause issues"} 
[2026-10-05 11:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139635627380441088,"note":"Value kept but may cause issues"} 
[2026-10-05 11:43:10] 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-10-05 11:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791180742000,"timestamp_ms":1791180742000,"timestamp_seconds":1791180742,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab11d70"} 
[2026-10-05 11:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 11:43:10] 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-10-05 11: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-10-05 11:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:43:10] 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-10-05 11:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542266368001,"66":13798,"45":8880535540483801088,"85":15104,"24":31,"16":139635627380441088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542266368001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880535540483801088,"description":"Unknown IO ID 45"} 
[2026-10-05 11:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139635627380441088,"km_value":139635627380441.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:43:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542266368001,"power":13798,"unknown_45":8880535540483801088,"unknown_85":15104,"ignition":31,"odometer":null}} 
[2026-10-05 11:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":204525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966927,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:43:10] local.INFO: GPS data processed {"connection_id":204525,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:43:10] local.INFO: Acknowledgment sent {"connection_id":204525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:43:11] local.INFO: TCP Data received {"connection_id":207472,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aaf0260012d1adb80071f8688003c011324..."} 
[2026-10-05 11:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aaf0260012d1adb80071f8688003c011324..."} 
[2026-10-05 11:43:11] local.INFO: Processing buffer {"connection_id":207472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aaf0260012d1adb80071f8688003c011324..."} 
[2026-10-05 11:43:11] local.INFO: Packet analysis {"connection_id":207472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aaf"} 
[2026-10-05 11:43:11] local.INFO: Extracted packet for processing {"connection_id":207472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aaf"} 
[2026-10-05 11:43:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":36,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542229248001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:43:11] 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-10-05 11:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791180604000,"timestamp_ms":1791180604000,"timestamp_seconds":1791180604,"priority":1,"record_length":96,"hex_timestamp":"000001a10aaf0260"} 
[2026-10-05 11:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:43:11] 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-10-05 11:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 11:43:11] 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-10-05 11:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:43:11] 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-10-05 11:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542229248001,"66":12548,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542229248001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:43:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:43:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542229248001,"power":12548,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":207472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:43:11] local.INFO: GPS data processed {"connection_id":207472,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:43:11] local.INFO: Acknowledgment sent {"connection_id":207472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:43:12] local.INFO: TCP Data received {"connection_id":204525,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab14c50012d7b458005e17e38000100ac24..."} 
[2026-10-05 11:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab14c50012d7b458005e17e38000100ac24..."} 
[2026-10-05 11:43:12] local.INFO: Processing buffer {"connection_id":204525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab14c50012d7b458005e17e38000100ac24..."} 
[2026-10-05 11:43:12] local.INFO: Packet analysis {"connection_id":204525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:43:12] local.INFO: Extracted packet for processing {"connection_id":204525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:43:12] local.INFO: GPS Element Parsed {"raw_longitude":763053440,"raw_latitude":98663992,"longitude_deg":76.305344,"latitude_deg":9.8663992,"altitude":1,"angle":172,"satellites":36,"speed":31,"hex_longitude":"2d7b4580","hex_latitude":"05e17e38","is_valid_coordinates":true} 
[2026-10-05 11:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542269952001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881379965411645440,"note":"Value kept but may cause issues"} 
[2026-10-05 11:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636069762072576,"note":"Value kept but may cause issues"} 
[2026-10-05 11:43: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-10-05 11:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791180754000,"timestamp_ms":1791180754000,"timestamp_seconds":1791180754,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab14c50"} 
[2026-10-05 11:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:43: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-10-05 11:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 11:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:43:12] 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-10-05 11:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542269952001,"66":13798,"45":8881379965411645440,"85":15104,"24":31,"16":139636069762072576},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542269952001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881379965411645440,"description":"Unknown IO ID 45"} 
[2026-10-05 11:43:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636069762072576,"km_value":139636069762072.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:43:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542269952001,"power":13798,"unknown_45":8881379965411645440,"unknown_85":15104,"ignition":31,"odometer":null}} 
[2026-10-05 11:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":204525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966929,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:43:12] local.INFO: GPS data processed {"connection_id":204525,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:43:12] local.INFO: Acknowledgment sent {"connection_id":204525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:43:42] local.INFO: TCP Data received {"connection_id":207472,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aaf5468012d1adb80071f8688003c011326..."} 
[2026-10-05 11:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aaf5468012d1adb80071f8688003c011326..."} 
[2026-10-05 11:43:42] local.INFO: Processing buffer {"connection_id":207472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aaf5468012d1adb80071f8688003c011326..."} 
[2026-10-05 11:43:42] local.INFO: Packet analysis {"connection_id":207472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aaf"} 
[2026-10-05 11:43:42] local.INFO: Extracted packet for processing {"connection_id":207472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aaf"} 
[2026-10-05 11:43:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:43: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-10-05 11:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542234624001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791180625000,"timestamp_ms":1791180625000,"timestamp_seconds":1791180625,"priority":1,"record_length":96,"hex_timestamp":"000001a10aaf5468"} 
[2026-10-05 11:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:43:42] 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-10-05 11:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 11:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-10-05 11:43:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-05 11:43:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 11:43:42] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2914664449,"note":"Value kept but may cause issues"} 
[2026-10-05 11:43:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-10-05 11:43:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 11:43:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 11:43:42] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 11:43:42] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 11:43:42] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-10-05 11:43:42] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,101,83,24,241,157,16,211,161,176,45,128,134,60,36,10,66,94,39,12,1,240,14,227,31,4,113,205,104,219,136,38,239,49,2,88,7,120],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 11:43:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758162592137216,"timestamp_seconds":4323758162592137.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 11:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:43:42] 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-10-05 11:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542234624001,"66":11961,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542234624001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:43:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:43:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542234624001,"power":11961,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":207472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:43:42] local.INFO: GPS data processed {"connection_id":207472,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:43:42] local.INFO: Acknowledgment sent {"connection_id":207472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:43:43] local.INFO: TCP Data received {"connection_id":204525,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab17f18012d7b4b8005e15a90000000ab26..."} 
[2026-10-05 11:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab17f18012d7b4b8005e15a90000000ab26..."} 
[2026-10-05 11:43:43] local.INFO: Processing buffer {"connection_id":204525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab17f18012d7b4b8005e15a90000000ab26..."} 
[2026-10-05 11:43:43] local.INFO: Packet analysis {"connection_id":204525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:43:43] local.INFO: Extracted packet for processing {"connection_id":204525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:43:43] local.INFO: GPS Element Parsed {"raw_longitude":763054976,"raw_latitude":98654864,"longitude_deg":76.3054976,"latitude_deg":9.8654864,"altitude":0,"angle":171,"satellites":38,"speed":21,"hex_longitude":"2d7b4b80","hex_latitude":"05e15a90","is_valid_coordinates":true} 
[2026-10-05 11:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542273024001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882646602804508672,"note":"Value kept but may cause issues"} 
[2026-10-05 11:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636520733638656,"note":"Value kept but may cause issues"} 
[2026-10-05 11:43:43] 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-10-05 11:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791180767000,"timestamp_ms":1791180767000,"timestamp_seconds":1791180767,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab17f18"} 
[2026-10-05 11:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:43: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-10-05 11:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 11:43:43] 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-10-05 11:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:43:43] 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-10-05 11:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542273024001,"66":13602,"45":8882646602804508672,"85":15104,"24":21,"16":139636520733638656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542273024001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882646602804508672,"description":"Unknown IO ID 45"} 
[2026-10-05 11:43:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636520733638656,"km_value":139636520733638.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:43:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542273024001,"power":13602,"unknown_45":8882646602804508672,"unknown_85":15104,"ignition":21,"odometer":null}} 
[2026-10-05 11:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":204525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966931,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:43:43] local.INFO: GPS data processed {"connection_id":204525,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:43:43] local.INFO: Acknowledgment sent {"connection_id":204525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:43:59] local.INFO: TCP Data received {"connection_id":204526,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204526,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:43:59] local.INFO: Processing buffer {"connection_id":204526,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:43:59] local.INFO: IMEI packet received {"connection_id":204526,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":204526,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:44:04] local.INFO: TCP Data received {"connection_id":204526,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204526,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:44:04] local.INFO: Processing buffer {"connection_id":204526,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:44:04] local.INFO: IMEI packet received {"connection_id":204526,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":204526,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:44:05] local.INFO: TCP Data received {"connection_id":204526,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab1b1e0012d7b50c005e14128000000a029..."} 
[2026-10-05 11:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab1b1e0012d7b50c005e14128000000a029..."} 
[2026-10-05 11:44:05] local.INFO: Processing buffer {"connection_id":204526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab1b1e0012d7b50c005e14128000000a029..."} 
[2026-10-05 11:44:05] local.INFO: Packet analysis {"connection_id":204526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:44:05] local.INFO: Extracted packet for processing {"connection_id":204526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:44:05] local.INFO: GPS Element Parsed {"raw_longitude":763056320,"raw_latitude":98648360,"longitude_deg":76.305632,"latitude_deg":9.864836,"altitude":0,"angle":160,"satellites":41,"speed":17,"hex_longitude":"2d7b50c0","hex_latitude":"05e14128","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542276352001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884335452662435840,"note":"Value kept but may cause issues"} 
[2026-10-05 11:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636842856185856,"note":"Value kept but may cause issues"} 
[2026-10-05 11:44:05] 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-10-05 11:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791180780000,"timestamp_ms":1791180780000,"timestamp_seconds":1791180780,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab1b1e0"} 
[2026-10-05 11:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:44: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-10-05 11: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-10-05 11:44:05] 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-10-05 11: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-10-05 11:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:44:05] 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-10-05 11:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542276352001,"66":12961,"45":8884335452662435840,"85":15104,"24":17,"16":139636842856185856},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542276352001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884335452662435840,"description":"Unknown IO ID 45"} 
[2026-10-05 11:44:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636842856185856,"km_value":139636842856185.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:44:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542276352001,"power":12961,"unknown_45":8884335452662435840,"unknown_85":15104,"ignition":17,"odometer":null}} 
[2026-10-05 11:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":204526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:44:05] local.INFO: GPS data processed {"connection_id":204526,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:44:05] local.INFO: Acknowledgment sent {"connection_id":204526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:44:05] local.INFO: TCP Data received {"connection_id":205923,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:44:05] local.INFO: Processing buffer {"connection_id":205923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:44:05] local.INFO: IMEI packet received {"connection_id":205923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":205923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:44:10] local.INFO: TCP Data received {"connection_id":205923,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:44:10] local.INFO: Processing buffer {"connection_id":205923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:44:10] local.INFO: IMEI packet received {"connection_id":205923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":205923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:44:11] local.INFO: TCP Data received {"connection_id":205923,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aafaa58012d1adb80071f8688003c011325..."} 
[2026-10-05 11:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aafaa58012d1adb80071f8688003c011325..."} 
[2026-10-05 11:44:11] local.INFO: Processing buffer {"connection_id":205923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aafaa58012d1adb80071f8688003c011325..."} 
[2026-10-05 11:44:11] local.INFO: Packet analysis {"connection_id":205923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aaf"} 
[2026-10-05 11:44:11] local.INFO: Extracted packet for processing {"connection_id":205923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aaf"} 
[2026-10-05 11:44:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542240000001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:44:11] 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-10-05 11:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791180647000,"timestamp_ms":1791180647000,"timestamp_seconds":1791180647,"priority":1,"record_length":96,"hex_timestamp":"000001a10aafaa58"} 
[2026-10-05 11:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:44:11] 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-10-05 11: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":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-05 11:44:11] 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-10-05 11: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-10-05 11:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:44:11] 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-10-05 11:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542240000001,"66":12461,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542240000001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:44:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:44:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542240000001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":205923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:44:11] local.INFO: GPS data processed {"connection_id":205923,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:44:11] local.INFO: Acknowledgment sent {"connection_id":205923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:44:35] local.INFO: TCP Data received {"connection_id":204526,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab1bd98012d7b520005e13cf8000000ab28..."} 
[2026-10-05 11:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab1bd98012d7b520005e13cf8000000ab28..."} 
[2026-10-05 11:44:35] local.INFO: Processing buffer {"connection_id":204526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab1bd98012d7b520005e13cf8000000ab28..."} 
[2026-10-05 11:44:35] local.INFO: Packet analysis {"connection_id":204526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:44:35] local.INFO: Extracted packet for processing {"connection_id":204526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:44:35] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98647288,"longitude_deg":76.305664,"latitude_deg":9.8647288,"altitude":0,"angle":171,"satellites":40,"speed":12,"hex_longitude":"2d7b5200","hex_latitude":"05e13cf8","is_valid_coordinates":true} 
[2026-10-05 11:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542279680001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885813196288501760,"note":"Value kept but may cause issues"} 
[2026-10-05 11:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636898690760704,"note":"Value kept but may cause issues"} 
[2026-10-05 11:44: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-10-05 11:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791180783000,"timestamp_ms":1791180783000,"timestamp_seconds":1791180783,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab1bd98"} 
[2026-10-05 11:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 11:44:35] 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-10-05 11:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":204526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":204526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":204526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:44:35] 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-10-05 11:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542279680001,"66":13222,"45":8885813196288501760,"85":15104,"24":12,"16":139636898690760704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542279680001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885813196288501760,"description":"Unknown IO ID 45"} 
[2026-10-05 11:44:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636898690760704,"km_value":139636898690760.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:44:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542279680001,"power":13222,"unknown_45":8885813196288501760,"unknown_85":15104,"ignition":12,"odometer":null}} 
[2026-10-05 11:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":204526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:44:35] local.INFO: GPS data processed {"connection_id":204526,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:44:35] local.INFO: Acknowledgment sent {"connection_id":204526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:44:42] local.INFO: TCP Data received {"connection_id":205923,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aaffc60012d1adb80071f8688003c011325..."} 
[2026-10-05 11:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aaffc60012d1adb80071f8688003c011325..."} 
[2026-10-05 11:44:42] local.INFO: Processing buffer {"connection_id":205923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aaffc60012d1adb80071f8688003c011325..."} 
[2026-10-05 11:44:42] local.INFO: Packet analysis {"connection_id":205923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aaf"} 
[2026-10-05 11:44:42] local.INFO: Extracted packet for processing {"connection_id":205923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aaf"} 
[2026-10-05 11:44:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542245632001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791180668000,"timestamp_ms":1791180668000,"timestamp_seconds":1791180668,"priority":1,"record_length":96,"hex_timestamp":"000001a10aaffc60"} 
[2026-10-05 11:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:44:42] 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-10-05 11:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 11:44:42] 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-10-05 11:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":205923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":205923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":205923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:44:42] 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-10-05 11:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542245632001,"66":12461,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542245632001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:44:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:44:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542245632001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":205923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:44:42] local.INFO: GPS data processed {"connection_id":205923,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:44:42] local.INFO: Acknowledgment sent {"connection_id":205923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:44:59] local.INFO: TCP Data received {"connection_id":207474,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207474,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:44:59] local.INFO: Processing buffer {"connection_id":207474,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:44:59] local.INFO: IMEI packet received {"connection_id":207474,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":207474,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:45:05] local.INFO: TCP Data received {"connection_id":207474,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207474,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:45:05] local.INFO: Processing buffer {"connection_id":207474,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:45:05] local.INFO: IMEI packet received {"connection_id":207474,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":207474,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:45:05] local.INFO: TCP Data received {"connection_id":204527,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:45:05] local.INFO: Processing buffer {"connection_id":204527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:45:05] local.INFO: IMEI packet received {"connection_id":204527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":204527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:45:05] local.INFO: TCP Data received {"connection_id":207474,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab1d8f0012d7b524005e13ab0000000a928..."} 
[2026-10-05 11:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab1d8f0012d7b524005e13ab0000000a928..."} 
[2026-10-05 11:45:05] local.INFO: Processing buffer {"connection_id":207474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab1d8f0012d7b524005e13ab0000000a928..."} 
[2026-10-05 11:45:05] local.INFO: Packet analysis {"connection_id":207474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:45:05] local.INFO: Extracted packet for processing {"connection_id":207474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:45:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646704,"longitude_deg":76.3056704,"latitude_deg":9.8646704,"altitude":0,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13ab0","is_valid_coordinates":true} 
[2026-10-05 11:45: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-10-05 11:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542280448001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886165040009115648,"note":"Value kept but may cause issues"} 
[2026-10-05 11:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:45:05] 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-10-05 11:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791180790000,"timestamp_ms":1791180790000,"timestamp_seconds":1791180790,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab1d8f0"} 
[2026-10-05 11:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:45: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-10-05 11:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-10-05 11:45: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-10-05 11: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-10-05 11:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:45:05] 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-10-05 11:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542280448001,"66":13352,"45":8886165040009115648,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542280448001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886165040009115648,"description":"Unknown IO ID 45"} 
[2026-10-05 11:45:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:45:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542280448001,"power":13352,"unknown_45":8886165040009115648,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":207474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:45:06] local.INFO: GPS data processed {"connection_id":207474,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:45:06] local.INFO: Acknowledgment sent {"connection_id":207474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:45:11] local.INFO: TCP Data received {"connection_id":204527,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:45:11] local.INFO: Processing buffer {"connection_id":204527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:45:11] local.INFO: IMEI packet received {"connection_id":204527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":204527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:45:11] local.INFO: TCP Data received {"connection_id":204527,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab04e68012d1adb80071f8688003c011325..."} 
[2026-10-05 11:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab04e68012d1adb80071f8688003c011325..."} 
[2026-10-05 11:45:11] local.INFO: Processing buffer {"connection_id":204527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab04e68012d1adb80071f8688003c011325..."} 
[2026-10-05 11:45:11] local.INFO: Packet analysis {"connection_id":204527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab0"} 
[2026-10-05 11:45:11] local.INFO: Extracted packet for processing {"connection_id":204527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab0"} 
[2026-10-05 11:45:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542251008001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:45:11] 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-10-05 11:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791180689000,"timestamp_ms":1791180689000,"timestamp_seconds":1791180689,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab04e68"} 
[2026-10-05 11:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:45:11] 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-10-05 11:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 11:45:11] 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-10-05 11:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:45:11] 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-10-05 11:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542251008001,"66":12461,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542251008001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:45:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:45:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542251008001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":204527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:45:11] local.INFO: GPS data processed {"connection_id":204527,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:45:11] local.INFO: Acknowledgment sent {"connection_id":204527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:45:36] local.INFO: TCP Data received {"connection_id":207474,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab1d8f0012d7b524005e13ab0000000a928..."} 
[2026-10-05 11:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab1d8f0012d7b524005e13ab0000000a928..."} 
[2026-10-05 11:45:36] local.INFO: Processing buffer {"connection_id":207474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab1d8f0012d7b524005e13ab0000000a928..."} 
[2026-10-05 11:45:36] local.INFO: Packet analysis {"connection_id":207474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:45:36] local.INFO: Extracted packet for processing {"connection_id":207474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:45:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646704,"longitude_deg":76.3056704,"latitude_deg":9.8646704,"altitude":0,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13ab0","is_valid_coordinates":true} 
[2026-10-05 11:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542282240001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753143808,"note":"Value kept but may cause issues"} 
[2026-10-05 11:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:45:36] 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-10-05 11:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791180790000,"timestamp_ms":1791180790000,"timestamp_seconds":1791180790,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab1d8f0"} 
[2026-10-05 11:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 11: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 11:45:36] 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-10-05 11: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-10-05 11:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:45:36] 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-10-05 11:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542282240001,"66":13352,"45":8886235408753143808,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542282240001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753143808,"description":"Unknown IO ID 45"} 
[2026-10-05 11:45:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:45:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542282240001,"power":13352,"unknown_45":8886235408753143808,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":207474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:45:36] local.INFO: GPS data processed {"connection_id":207474,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:45:36] local.INFO: Acknowledgment sent {"connection_id":207474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:45:42] local.INFO: TCP Data received {"connection_id":204527,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab0a070012d1adb80071f8688003c011327..."} 
[2026-10-05 11:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab0a070012d1adb80071f8688003c011327..."} 
[2026-10-05 11:45:42] local.INFO: Processing buffer {"connection_id":204527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab0a070012d1adb80071f8688003c011327..."} 
[2026-10-05 11:45:42] local.INFO: Packet analysis {"connection_id":204527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab0"} 
[2026-10-05 11:45:42] local.INFO: Extracted packet for processing {"connection_id":204527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab0"} 
[2026-10-05 11:45:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542256384001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791180710000,"timestamp_ms":1791180710000,"timestamp_seconds":1791180710,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab0a070"} 
[2026-10-05 11:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:45:42] 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-10-05 11:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 11:45:42] 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-10-05 11:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:45:42] 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-10-05 11:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542256384001,"66":12504,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542256384001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:45:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:45:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542256384001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":204527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:45:43] local.INFO: GPS data processed {"connection_id":204527,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:45:43] local.INFO: Acknowledgment sent {"connection_id":204527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:45:59] local.INFO: TCP Data received {"connection_id":205924,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:45:59] local.INFO: Processing buffer {"connection_id":205924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:45:59] local.INFO: IMEI packet received {"connection_id":205924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":205924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:46:04] local.INFO: TCP Data received {"connection_id":205924,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:46:04] local.INFO: Processing buffer {"connection_id":205924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:46:04] local.INFO: IMEI packet received {"connection_id":205924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":205924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:46:05] local.INFO: TCP Data received {"connection_id":205924,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab1d8f0012d7b524005e13ab0000000a928..."} 
[2026-10-05 11:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab1d8f0012d7b524005e13ab0000000a928..."} 
[2026-10-05 11:46:05] local.INFO: Processing buffer {"connection_id":205924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab1d8f0012d7b524005e13ab0000000a928..."} 
[2026-10-05 11:46:05] local.INFO: Packet analysis {"connection_id":205924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:46:05] local.INFO: Extracted packet for processing {"connection_id":205924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:46:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646704,"longitude_deg":76.3056704,"latitude_deg":9.8646704,"altitude":0,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13ab0","is_valid_coordinates":true} 
[2026-10-05 11:46:05] 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-10-05 11:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542282240001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753143808,"note":"Value kept but may cause issues"} 
[2026-10-05 11:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:46:05] 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-10-05 11:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791180790000,"timestamp_ms":1791180790000,"timestamp_seconds":1791180790,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab1d8f0"} 
[2026-10-05 11:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:46: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-10-05 11:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 11:46: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-10-05 11: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-10-05 11:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:46:05] 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-10-05 11:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542282240001,"66":13352,"45":8886235408753143808,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542282240001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753143808,"description":"Unknown IO ID 45"} 
[2026-10-05 11:46:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:46:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542282240001,"power":13352,"unknown_45":8886235408753143808,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":205924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966940,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:46:05] local.INFO: GPS data processed {"connection_id":205924,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:46:05] local.INFO: Acknowledgment sent {"connection_id":205924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:46:11] local.INFO: TCP Data received {"connection_id":204528,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:46:11] local.INFO: Processing buffer {"connection_id":204528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:46:11] local.INFO: IMEI packet received {"connection_id":204528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":204528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:46:16] local.INFO: TCP Data received {"connection_id":204528,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:46:16] local.INFO: Processing buffer {"connection_id":204528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:46:16] local.INFO: IMEI packet received {"connection_id":204528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":204528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:46:16] local.INFO: TCP Data received {"connection_id":204528,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab0ee90012d1adb80071f8688003c011327..."} 
[2026-10-05 11:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab0ee90012d1adb80071f8688003c011327..."} 
[2026-10-05 11:46:16] local.INFO: Processing buffer {"connection_id":204528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab0ee90012d1adb80071f8688003c011327..."} 
[2026-10-05 11:46:16] local.INFO: Packet analysis {"connection_id":204528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab0"} 
[2026-10-05 11:46:16] local.INFO: Extracted packet for processing {"connection_id":204528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab0"} 
[2026-10-05 11:46:16] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542261760001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791180730000,"timestamp_ms":1791180730000,"timestamp_seconds":1791180730,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab0ee90"} 
[2026-10-05 11:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:46:16] 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-10-05 11:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 11:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:46:16] 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-10-05 11:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542261760001,"66":12461,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542261760001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:46:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:46:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542261760001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":204528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:46:16] local.INFO: GPS data processed {"connection_id":204528,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:46:16] local.INFO: Acknowledgment sent {"connection_id":204528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:46:19] local.INFO: TCP Data received {"connection_id":204528,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab14098012d1adb80071f8688003c011326..."} 
[2026-10-05 11:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab14098012d1adb80071f8688003c011326..."} 
[2026-10-05 11:46:19] local.INFO: Processing buffer {"connection_id":204528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab14098012d1adb80071f8688003c011326..."} 
[2026-10-05 11:46:19] local.INFO: Packet analysis {"connection_id":204528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:46:19] local.INFO: Extracted packet for processing {"connection_id":204528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:46:19] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542266880001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:46:19] 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-10-05 11:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791180751000,"timestamp_ms":1791180751000,"timestamp_seconds":1791180751,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab14098"} 
[2026-10-05 11:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:46:19] 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-10-05 11:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 11:46:19] 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-10-05 11: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-10-05 11:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":204528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":204528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":204528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:46:19] 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-10-05 11:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542266880001,"66":12439,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542266880001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:46:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:46:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542266880001,"power":12439,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":204528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:46:19] local.INFO: GPS data processed {"connection_id":204528,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:46:19] local.INFO: Acknowledgment sent {"connection_id":204528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:46:35] local.INFO: TCP Data received {"connection_id":205924,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab1d8f0012d7b524005e13ab0000000a928..."} 
[2026-10-05 11:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab1d8f0012d7b524005e13ab0000000a928..."} 
[2026-10-05 11:46:35] local.INFO: Processing buffer {"connection_id":205924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab1d8f0012d7b524005e13ab0000000a928..."} 
[2026-10-05 11:46:35] local.INFO: Packet analysis {"connection_id":205924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:46:35] local.INFO: Extracted packet for processing {"connection_id":205924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:46:35] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646704,"longitude_deg":76.3056704,"latitude_deg":9.8646704,"altitude":0,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13ab0","is_valid_coordinates":true} 
[2026-10-05 11:46:35] 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-10-05 11:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542282240001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753143808,"note":"Value kept but may cause issues"} 
[2026-10-05 11:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:46: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-10-05 11:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791180790000,"timestamp_ms":1791180790000,"timestamp_seconds":1791180790,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab1d8f0"} 
[2026-10-05 11:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 11:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 11:46:35] 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-10-05 11:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":205924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":205924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":205924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:46:35] 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-10-05 11:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542282240001,"66":13352,"45":8886235408753143808,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542282240001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753143808,"description":"Unknown IO ID 45"} 
[2026-10-05 11:46:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:46:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542282240001,"power":13352,"unknown_45":8886235408753143808,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":205924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966943,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:46:36] local.INFO: GPS data processed {"connection_id":205924,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:46:36] local.INFO: Acknowledgment sent {"connection_id":205924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:46:51] local.INFO: TCP Data received {"connection_id":204528,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab192a0012d1adb80071f8688003c011327..."} 
[2026-10-05 11:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab192a0012d1adb80071f8688003c011327..."} 
[2026-10-05 11:46:51] local.INFO: Processing buffer {"connection_id":204528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab192a0012d1adb80071f8688003c011327..."} 
[2026-10-05 11:46:51] local.INFO: Packet analysis {"connection_id":204528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:46:51] local.INFO: Extracted packet for processing {"connection_id":204528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:46:51] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:46: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-10-05 11:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542272256001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791180772000,"timestamp_ms":1791180772000,"timestamp_seconds":1791180772,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab192a0"} 
[2026-10-05 11:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:46:51] 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-10-05 11:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 11:46:51] 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-10-05 11:46: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-10-05 11:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":204528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":204528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":204528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:46:51] 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-10-05 11:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542272256001,"66":12504,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542272256001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:46:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:46:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542272256001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":204528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:46:51] local.INFO: GPS data processed {"connection_id":204528,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:46:51] local.INFO: Acknowledgment sent {"connection_id":204528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:46:59] local.INFO: TCP Data received {"connection_id":204381,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:46:59] local.INFO: Processing buffer {"connection_id":204381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:46:59] local.INFO: IMEI packet received {"connection_id":204381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":204381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:47:04] local.INFO: TCP Data received {"connection_id":204381,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:47:04] local.INFO: Processing buffer {"connection_id":204381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:47:04] local.INFO: IMEI packet received {"connection_id":204381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":204381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:47:05] local.INFO: TCP Data received {"connection_id":204381,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab1d8f0012d7b524005e13ab0000000a928..."} 
[2026-10-05 11:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab1d8f0012d7b524005e13ab0000000a928..."} 
[2026-10-05 11:47:05] local.INFO: Processing buffer {"connection_id":204381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab1d8f0012d7b524005e13ab0000000a928..."} 
[2026-10-05 11:47:05] local.INFO: Packet analysis {"connection_id":204381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:47:05] local.INFO: Extracted packet for processing {"connection_id":204381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:47:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646704,"longitude_deg":76.3056704,"latitude_deg":9.8646704,"altitude":0,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13ab0","is_valid_coordinates":true} 
[2026-10-05 11:47:05] 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-10-05 11:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542282240001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753143808,"note":"Value kept but may cause issues"} 
[2026-10-05 11:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:47:05] 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-10-05 11:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791180790000,"timestamp_ms":1791180790000,"timestamp_seconds":1791180790,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab1d8f0"} 
[2026-10-05 11:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:47: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-10-05 11: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 11:47: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-10-05 11: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-10-05 11:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:47:05] 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-10-05 11:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542282240001,"66":13352,"45":8886235408753143808,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542282240001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753143808,"description":"Unknown IO ID 45"} 
[2026-10-05 11:47:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:47:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542282240001,"power":13352,"unknown_45":8886235408753143808,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":204381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966945,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:47:05] local.INFO: GPS data processed {"connection_id":204381,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:47:05] local.INFO: Acknowledgment sent {"connection_id":204381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:47:06] local.INFO: TCP Data received {"connection_id":204382,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:47:06] local.INFO: Processing buffer {"connection_id":204382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:47:06] local.INFO: IMEI packet received {"connection_id":204382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":204382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:47:11] local.INFO: TCP Data received {"connection_id":204382,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:47:11] local.INFO: Processing buffer {"connection_id":204382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:47:11] local.INFO: IMEI packet received {"connection_id":204382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":204382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:47:11] local.INFO: TCP Data received {"connection_id":204382,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab1e4a8012d1adb80071f8688003c011327..."} 
[2026-10-05 11:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab1e4a8012d1adb80071f8688003c011327..."} 
[2026-10-05 11:47:11] local.INFO: Processing buffer {"connection_id":204382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab1e4a8012d1adb80071f8688003c011327..."} 
[2026-10-05 11:47:11] local.INFO: Packet analysis {"connection_id":204382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:47:11] local.INFO: Extracted packet for processing {"connection_id":204382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:47:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542277632001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:47:11] 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-10-05 11:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791180793000,"timestamp_ms":1791180793000,"timestamp_seconds":1791180793,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab1e4a8"} 
[2026-10-05 11:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:47:11] 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-10-05 11: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 11:47:11] 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-10-05 11:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:47:11] 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-10-05 11:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542277632001,"66":12504,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542277632001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:47:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:47:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542277632001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":204382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:47:11] local.INFO: GPS data processed {"connection_id":204382,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:47:11] local.INFO: Acknowledgment sent {"connection_id":204382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:47:16] local.INFO: TCP Data received {"connection_id":204382,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab236b0012d1adb80071f8688003c011325..."} 
[2026-10-05 11:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab236b0012d1adb80071f8688003c011325..."} 
[2026-10-05 11:47:16] local.INFO: Processing buffer {"connection_id":204382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab236b0012d1adb80071f8688003c011325..."} 
[2026-10-05 11:47:16] local.INFO: Packet analysis {"connection_id":204382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab2"} 
[2026-10-05 11:47:16] local.INFO: Extracted packet for processing {"connection_id":204382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab2"} 
[2026-10-05 11:47:16] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542283008001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791180814000,"timestamp_ms":1791180814000,"timestamp_seconds":1791180814,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab236b0"} 
[2026-10-05 11:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 11:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:47:16] 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-10-05 11:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542283008001,"66":12439,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542283008001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:47:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:47:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542283008001,"power":12439,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":204382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:47:16] local.INFO: GPS data processed {"connection_id":204382,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:47:16] local.INFO: Acknowledgment sent {"connection_id":204382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:47:17] local.INFO: TCP Data received {"connection_id":205925,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205925,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:47:17] local.INFO: Processing buffer {"connection_id":205925,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:47:17] local.INFO: IMEI packet received {"connection_id":205925,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 11:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":205925,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:47:35] local.INFO: TCP Data received {"connection_id":204381,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab1d8f0012d7b524005e13ab0000000a928..."} 
[2026-10-05 11:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab1d8f0012d7b524005e13ab0000000a928..."} 
[2026-10-05 11:47:35] local.INFO: Processing buffer {"connection_id":204381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab1d8f0012d7b524005e13ab0000000a928..."} 
[2026-10-05 11:47:35] local.INFO: Packet analysis {"connection_id":204381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:47:35] local.INFO: Extracted packet for processing {"connection_id":204381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:47:35] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646704,"longitude_deg":76.3056704,"latitude_deg":9.8646704,"altitude":0,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13ab0","is_valid_coordinates":true} 
[2026-10-05 11:47:35] 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-10-05 11:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542282240001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753143808,"note":"Value kept but may cause issues"} 
[2026-10-05 11:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:47: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-10-05 11:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791180790000,"timestamp_ms":1791180790000,"timestamp_seconds":1791180790,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab1d8f0"} 
[2026-10-05 11:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 11:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 11:47:35] 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-10-05 11:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":204381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":204381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":204381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:47:35] 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-10-05 11:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542282240001,"66":13352,"45":8886235408753143808,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542282240001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753143808,"description":"Unknown IO ID 45"} 
[2026-10-05 11:47:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:47:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542282240001,"power":13352,"unknown_45":8886235408753143808,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":204381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:47:35] local.INFO: GPS data processed {"connection_id":204381,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:47:35] local.INFO: Acknowledgment sent {"connection_id":204381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:47:42] local.INFO: TCP Data received {"connection_id":205926,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205926,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:47:42] local.INFO: Processing buffer {"connection_id":205926,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:47:42] local.INFO: IMEI packet received {"connection_id":205926,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 11:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":205926,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:47:47] local.INFO: TCP Data received {"connection_id":204382,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab288b8012d1adb80071f8688003c011325..."} 
[2026-10-05 11:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab288b8012d1adb80071f8688003c011325..."} 
[2026-10-05 11:47:47] local.INFO: Processing buffer {"connection_id":204382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab288b8012d1adb80071f8688003c011325..."} 
[2026-10-05 11:47:47] local.INFO: Packet analysis {"connection_id":204382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab2"} 
[2026-10-05 11:47:47] local.INFO: Extracted packet for processing {"connection_id":204382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab2"} 
[2026-10-05 11:47:47] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542288384001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:47: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-10-05 11:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791180835000,"timestamp_ms":1791180835000,"timestamp_seconds":1791180835,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab288b8"} 
[2026-10-05 11:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:47:47] 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-10-05 11: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 11:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11: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-10-05 11:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":204382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":204382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":204382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:47:47] 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-10-05 11:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542288384001,"66":12504,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542288384001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:47:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:47:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542288384001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":204382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:47:47] local.INFO: GPS data processed {"connection_id":204382,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:47:47] local.INFO: Acknowledgment sent {"connection_id":204382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:47:47] local.INFO: TCP Data received {"connection_id":205926,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205926,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:47:47] local.INFO: Processing buffer {"connection_id":205926,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:47:47] local.INFO: IMEI packet received {"connection_id":205926,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 11:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":205926,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:47:48] local.INFO: TCP Data received {"connection_id":205926,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab45d78012c6a994009a81a00028301662c..."} 
[2026-10-05 11:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab45d78012c6a994009a81a00028301662c..."} 
[2026-10-05 11:47:48] local.INFO: Processing buffer {"connection_id":205926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab45d78012c6a994009a81a00028301662c..."} 
[2026-10-05 11:47:48] local.INFO: Packet analysis {"connection_id":205926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab4"} 
[2026-10-05 11:47:48] local.INFO: Extracted packet for processing {"connection_id":205926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab4"} 
[2026-10-05 11:47:48] local.INFO: GPS Element Parsed {"raw_longitude":745183552,"raw_latitude":162011648,"longitude_deg":74.5183552,"latitude_deg":16.2011648,"altitude":643,"angle":358,"satellites":44,"speed":53,"hex_longitude":"2c6a9940","hex_latitude":"09a81a00","is_valid_coordinates":true} 
[2026-10-05 11:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542322688001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8632446178295808,"note":"Value kept but may cause issues"} 
[2026-10-05 11:47:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7681522524650610690,"note":"Value kept but may cause issues"} 
[2026-10-05 11:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,117,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791180955000,"timestamp_ms":1791180955000,"timestamp_seconds":1791180955,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab45d78"} 
[2026-10-05 11:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 11:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1810,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":205926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":205926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":205926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 11:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 11:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 11:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 11:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542322688001,"66":28202,"115":206,"117":13312,"24":53,"16":8632446178295808,"44":7681522524650610690},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,117,24,16,44]} 
[2026-10-05 11:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 11:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 11:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542322688001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:47:48] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-10-05 11:47:48] local.INFO: Unknown IO ID detected {"io_id":117,"value":13312,"description":"Unknown IO ID 117"} 
[2026-10-05 11:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8632446178295808,"km_value":8632446178295.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:47:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":7681522524650610690,"description":"Unknown IO ID 44"} 
[2026-10-05 11:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542322688001,"power":28202,"unknown_115":206,"unknown_117":13312,"ignition":53,"odometer":null,"unknown_44":7681522524650610690}} 
[2026-10-05 11:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":205926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966950,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:47:49] local.INFO: GPS data processed {"connection_id":205926,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:47:49] local.INFO: Acknowledgment sent {"connection_id":205926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:48:03] local.INFO: TCP Data received {"connection_id":205927,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:48:03] local.INFO: Processing buffer {"connection_id":205927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:48:03] local.INFO: IMEI packet received {"connection_id":205927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":205927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:48:04] local.INFO: TCP Data received {"connection_id":204529,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204529,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:48:04] local.INFO: Processing buffer {"connection_id":204529,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:48:04] local.INFO: IMEI packet received {"connection_id":204529,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":204529,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:48:06] local.INFO: TCP Data received {"connection_id":205927,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:48:06] local.INFO: Processing buffer {"connection_id":205927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:48:06] local.INFO: IMEI packet received {"connection_id":205927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":205927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:48:09] local.INFO: TCP Data received {"connection_id":204529,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204529,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:48:09] local.INFO: Processing buffer {"connection_id":204529,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:48:09] local.INFO: IMEI packet received {"connection_id":204529,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":204529,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:48:10] local.INFO: TCP Data received {"connection_id":204529,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab1d8f0012d7b524005e13ab0000000a928..."} 
[2026-10-05 11:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab1d8f0012d7b524005e13ab0000000a928..."} 
[2026-10-05 11:48:10] local.INFO: Processing buffer {"connection_id":204529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab1d8f0012d7b524005e13ab0000000a928..."} 
[2026-10-05 11:48:10] local.INFO: Packet analysis {"connection_id":204529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:48:10] local.INFO: Extracted packet for processing {"connection_id":204529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:48:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646704,"longitude_deg":76.3056704,"latitude_deg":9.8646704,"altitude":0,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13ab0","is_valid_coordinates":true} 
[2026-10-05 11:48:10] 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-10-05 11:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542282240001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753143808,"note":"Value kept but may cause issues"} 
[2026-10-05 11:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:48:10] 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-10-05 11:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791180790000,"timestamp_ms":1791180790000,"timestamp_seconds":1791180790,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab1d8f0"} 
[2026-10-05 11:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 11:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 11:48:10] 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-10-05 11:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:48:10] 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-10-05 11:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542282240001,"66":13352,"45":8886235408753143808,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542282240001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753143808,"description":"Unknown IO ID 45"} 
[2026-10-05 11:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:48:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542282240001,"power":13352,"unknown_45":8886235408753143808,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":204529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966951,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:48:10] local.INFO: GPS data processed {"connection_id":204529,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:48:10] local.INFO: Acknowledgment sent {"connection_id":204529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:48:10] local.INFO: TCP Data received {"connection_id":205927,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:48:10] local.INFO: Processing buffer {"connection_id":205927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:48:10] local.INFO: IMEI packet received {"connection_id":205927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":205927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:48:11] local.INFO: TCP Data received {"connection_id":205927,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab2dac0012d1adb80071f8688003c011327..."} 
[2026-10-05 11:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab2dac0012d1adb80071f8688003c011327..."} 
[2026-10-05 11:48:11] local.INFO: Processing buffer {"connection_id":205927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab2dac0012d1adb80071f8688003c011327..."} 
[2026-10-05 11:48:11] local.INFO: Packet analysis {"connection_id":205927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab2"} 
[2026-10-05 11:48:11] local.INFO: Extracted packet for processing {"connection_id":205927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab2"} 
[2026-10-05 11:48:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542293760001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:48:11] 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-10-05 11:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791180856000,"timestamp_ms":1791180856000,"timestamp_seconds":1791180856,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab2dac0"} 
[2026-10-05 11:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:48:11] 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-10-05 11:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 11:48:11] 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-10-05 11:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:48:11] 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-10-05 11:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542293760001,"66":12504,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542293760001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:48:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:48:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542293760001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":205927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:48:11] local.INFO: GPS data processed {"connection_id":205927,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:48:11] local.INFO: Acknowledgment sent {"connection_id":205927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:48:15] local.INFO: TCP Data received {"connection_id":204529,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab1d8f0012d7b524005e13ab0000000a928..."} 
[2026-10-05 11:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab1d8f0012d7b524005e13ab0000000a928..."} 
[2026-10-05 11:48:15] local.INFO: Processing buffer {"connection_id":204529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab1d8f0012d7b524005e13ab0000000a928..."} 
[2026-10-05 11:48:15] local.INFO: Packet analysis {"connection_id":204529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:48:15] local.INFO: Extracted packet for processing {"connection_id":204529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab1"} 
[2026-10-05 11:48:15] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646704,"longitude_deg":76.3056704,"latitude_deg":9.8646704,"altitude":0,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13ab0","is_valid_coordinates":true} 
[2026-10-05 11:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542282240001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753143808,"note":"Value kept but may cause issues"} 
[2026-10-05 11:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:48:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 11:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791180790000,"timestamp_ms":1791180790000,"timestamp_seconds":1791180790,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab1d8f0"} 
[2026-10-05 11:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 11:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 11:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:48:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:48:15] 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-10-05 11:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542282240001,"66":13352,"45":8886235408753143808,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542282240001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753143808,"description":"Unknown IO ID 45"} 
[2026-10-05 11:48:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:48:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542282240001,"power":13352,"unknown_45":8886235408753143808,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":204529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966953,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:48:15] local.INFO: GPS data processed {"connection_id":204529,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:48:15] local.INFO: Acknowledgment sent {"connection_id":204529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:48:42] local.INFO: TCP Data received {"connection_id":205928,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:48:42] local.INFO: Processing buffer {"connection_id":205928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:48:42] local.INFO: IMEI packet received {"connection_id":205928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 11:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":205928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:48:42] local.INFO: TCP Data received {"connection_id":205927,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab32cc8012d1adb80071f8688003c011327..."} 
[2026-10-05 11:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab32cc8012d1adb80071f8688003c011327..."} 
[2026-10-05 11:48:42] local.INFO: Processing buffer {"connection_id":205927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab32cc8012d1adb80071f8688003c011327..."} 
[2026-10-05 11:48:42] local.INFO: Packet analysis {"connection_id":205927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab3"} 
[2026-10-05 11:48:42] local.INFO: Extracted packet for processing {"connection_id":205927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab3"} 
[2026-10-05 11:48:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542299136001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791180877000,"timestamp_ms":1791180877000,"timestamp_seconds":1791180877,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab32cc8"} 
[2026-10-05 11:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:48:42] 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-10-05 11:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 11:48:42] 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-10-05 11:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":205927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":205927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":205927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:48:42] 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-10-05 11:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542299136001,"66":12461,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542299136001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:48:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:48:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542299136001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":205927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:48:42] local.INFO: GPS data processed {"connection_id":205927,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:48:42] local.INFO: Acknowledgment sent {"connection_id":205927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:48:59] local.INFO: TCP Data received {"connection_id":204383,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:48:59] local.INFO: Processing buffer {"connection_id":204383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:48:59] local.INFO: IMEI packet received {"connection_id":204383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":204383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:49:04] local.INFO: TCP Data received {"connection_id":204383,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:49:04] local.INFO: Processing buffer {"connection_id":204383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:49:04] local.INFO: IMEI packet received {"connection_id":204383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":204383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:49:05] local.INFO: TCP Data received {"connection_id":204383,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab67888012d7b524005e13b08000000a929..."} 
[2026-10-05 11:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab67888012d7b524005e13b08000000a929..."} 
[2026-10-05 11:49:05] local.INFO: Processing buffer {"connection_id":204383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab67888012d7b524005e13b08000000a929..."} 
[2026-10-05 11:49:05] local.INFO: Packet analysis {"connection_id":204383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab6"} 
[2026-10-05 11:49:05] local.INFO: Extracted packet for processing {"connection_id":204383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab6"} 
[2026-10-05 11:49:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 11:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542282240001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753143808,"note":"Value kept but may cause issues"} 
[2026-10-05 11:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:49:05] 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-10-05 11:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791181093000,"timestamp_ms":1791181093000,"timestamp_seconds":1791181093,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab67888"} 
[2026-10-05 11:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:49: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-10-05 11:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 11:49: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-10-05 11:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:49:05] 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-10-05 11:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542282240001,"66":13319,"45":8886235408753143808,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542282240001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753143808,"description":"Unknown IO ID 45"} 
[2026-10-05 11:49:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:49:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542282240001,"power":13319,"unknown_45":8886235408753143808,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":204383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:49:05] local.INFO: GPS data processed {"connection_id":204383,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:49:05] local.INFO: Acknowledgment sent {"connection_id":204383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:49:06] local.INFO: TCP Data received {"connection_id":204530,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:49:06] local.INFO: Processing buffer {"connection_id":204530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:49:06] local.INFO: IMEI packet received {"connection_id":204530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":204530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:49:06] local.INFO: TCP Data received {"connection_id":204530,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:49:06] local.INFO: Processing buffer {"connection_id":204530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:49:06] local.INFO: IMEI packet received {"connection_id":204530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":204530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:49:11] local.INFO: TCP Data received {"connection_id":204530,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:49:11] local.INFO: Processing buffer {"connection_id":204530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:49:11] local.INFO: IMEI packet received {"connection_id":204530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":204530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:49:11] local.INFO: TCP Data received {"connection_id":204530,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab37ed0012d1adb80071f8688003c011326..."} 
[2026-10-05 11:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab37ed0012d1adb80071f8688003c011326..."} 
[2026-10-05 11:49:11] local.INFO: Processing buffer {"connection_id":204530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab37ed0012d1adb80071f8688003c011326..."} 
[2026-10-05 11:49:11] local.INFO: Packet analysis {"connection_id":204530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab3"} 
[2026-10-05 11:49:11] local.INFO: Extracted packet for processing {"connection_id":204530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab3"} 
[2026-10-05 11:49:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542304512001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:49:11] 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-10-05 11:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791180898000,"timestamp_ms":1791180898000,"timestamp_seconds":1791180898,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab37ed0"} 
[2026-10-05 11:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:49:11] 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-10-05 11:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 11:49:11] 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-10-05 11:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:49:11] 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-10-05 11:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542304512001,"66":12461,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542304512001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:49:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:49:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542304512001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":204530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:49:12] local.INFO: GPS data processed {"connection_id":204530,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:49:12] local.INFO: Acknowledgment sent {"connection_id":204530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:49:36] local.INFO: TCP Data received {"connection_id":204383,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab67888012d7b524005e13b08000000a929..."} 
[2026-10-05 11:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab67888012d7b524005e13b08000000a929..."} 
[2026-10-05 11:49:36] local.INFO: Processing buffer {"connection_id":204383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab67888012d7b524005e13b08000000a929..."} 
[2026-10-05 11:49:36] local.INFO: Packet analysis {"connection_id":204383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab6"} 
[2026-10-05 11:49:36] local.INFO: Extracted packet for processing {"connection_id":204383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab6"} 
[2026-10-05 11:49:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 11:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542282240001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753143808,"note":"Value kept but may cause issues"} 
[2026-10-05 11:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:49:36] 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-10-05 11:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791181093000,"timestamp_ms":1791181093000,"timestamp_seconds":1791181093,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab67888"} 
[2026-10-05 11:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 11:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 11:49:36] 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-10-05 11:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:49:36] 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-10-05 11:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542282240001,"66":13319,"45":8886235408753143808,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542282240001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753143808,"description":"Unknown IO ID 45"} 
[2026-10-05 11:49:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:49:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542282240001,"power":13319,"unknown_45":8886235408753143808,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":204383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966957,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:49:36] local.INFO: GPS data processed {"connection_id":204383,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:49:36] local.INFO: Acknowledgment sent {"connection_id":204383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:49:43] local.INFO: TCP Data received {"connection_id":204530,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab3d0d8012d1adb80071f8688003c011328..."} 
[2026-10-05 11:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab3d0d8012d1adb80071f8688003c011328..."} 
[2026-10-05 11:49:43] local.INFO: Processing buffer {"connection_id":204530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab3d0d8012d1adb80071f8688003c011328..."} 
[2026-10-05 11:49:43] local.INFO: Packet analysis {"connection_id":204530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab3"} 
[2026-10-05 11:49:43] local.INFO: Extracted packet for processing {"connection_id":204530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab3"} 
[2026-10-05 11:49:43] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542309888001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791180919000,"timestamp_ms":1791180919000,"timestamp_seconds":1791180919,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab3d0d8"} 
[2026-10-05 11:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:49:43] 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-10-05 11:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 11:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:49:43] 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-10-05 11:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542309888001,"66":12385,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542309888001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:49:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:49:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542309888001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":204530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:49:43] local.INFO: GPS data processed {"connection_id":204530,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:49:43] local.INFO: Acknowledgment sent {"connection_id":204530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:49:59] local.INFO: TCP Data received {"connection_id":204384,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:49:59] local.INFO: Processing buffer {"connection_id":204384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:49:59] local.INFO: IMEI packet received {"connection_id":204384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":204384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:50:04] local.INFO: TCP Data received {"connection_id":204384,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:50:04] local.INFO: Processing buffer {"connection_id":204384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:50:04] local.INFO: IMEI packet received {"connection_id":204384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":204384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:50:05] local.INFO: TCP Data received {"connection_id":204384,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab67888012d7b524005e13b08000000a929..."} 
[2026-10-05 11:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab67888012d7b524005e13b08000000a929..."} 
[2026-10-05 11:50:05] local.INFO: Processing buffer {"connection_id":204384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab67888012d7b524005e13b08000000a929..."} 
[2026-10-05 11:50:05] local.INFO: Packet analysis {"connection_id":204384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab6"} 
[2026-10-05 11:50:05] local.INFO: Extracted packet for processing {"connection_id":204384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab6"} 
[2026-10-05 11:50:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542282240001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753143808,"note":"Value kept but may cause issues"} 
[2026-10-05 11:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:50:05] 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-10-05 11:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791181093000,"timestamp_ms":1791181093000,"timestamp_seconds":1791181093,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab67888"} 
[2026-10-05 11:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:50: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-10-05 11: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 11:50: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-10-05 11: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-10-05 11:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:50:05] 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-10-05 11:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542282240001,"66":13319,"45":8886235408753143808,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542282240001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753143808,"description":"Unknown IO ID 45"} 
[2026-10-05 11:50:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:50:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542282240001,"power":13319,"unknown_45":8886235408753143808,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":204384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966959,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:50:05] local.INFO: GPS data processed {"connection_id":204384,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:50:05] local.INFO: Acknowledgment sent {"connection_id":204384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:50:06] local.INFO: TCP Data received {"connection_id":205930,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:50:06] local.INFO: Processing buffer {"connection_id":205930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:50:06] local.INFO: IMEI packet received {"connection_id":205930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":205930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:50:09] local.INFO: TCP Data received {"connection_id":205930,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:50:09] local.INFO: Processing buffer {"connection_id":205930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:50:09] local.INFO: IMEI packet received {"connection_id":205930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":205930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:50:10] local.INFO: TCP Data received {"connection_id":205930,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab422e0012d1adb80071f8688003c011328..."} 
[2026-10-05 11:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab422e0012d1adb80071f8688003c011328..."} 
[2026-10-05 11:50:10] local.INFO: Processing buffer {"connection_id":205930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab422e0012d1adb80071f8688003c011328..."} 
[2026-10-05 11:50:10] local.INFO: Packet analysis {"connection_id":205930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab4"} 
[2026-10-05 11:50:10] local.INFO: Extracted packet for processing {"connection_id":205930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab4"} 
[2026-10-05 11:50:10] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542315264001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:50:10] 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-10-05 11:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791180940000,"timestamp_ms":1791180940000,"timestamp_seconds":1791180940,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab422e0"} 
[2026-10-05 11:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:50:10] 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-10-05 11:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 11:50:10] 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-10-05 11:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":205930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":205930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":205930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:50:10] 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-10-05 11:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542315264001,"66":12439,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542315264001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:50:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:50:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542315264001,"power":12439,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":205930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:50:10] local.INFO: GPS data processed {"connection_id":205930,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:50:10] local.INFO: Acknowledgment sent {"connection_id":205930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:50:36] local.INFO: TCP Data received {"connection_id":204384,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab67888012d7b524005e13b08000000a929..."} 
[2026-10-05 11:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab67888012d7b524005e13b08000000a929..."} 
[2026-10-05 11:50:36] local.INFO: Processing buffer {"connection_id":204384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab67888012d7b524005e13b08000000a929..."} 
[2026-10-05 11:50:36] local.INFO: Packet analysis {"connection_id":204384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab6"} 
[2026-10-05 11:50:36] local.INFO: Extracted packet for processing {"connection_id":204384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab6"} 
[2026-10-05 11:50:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542282240001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753143808,"note":"Value kept but may cause issues"} 
[2026-10-05 11:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:50:36] 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-10-05 11:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791181093000,"timestamp_ms":1791181093000,"timestamp_seconds":1791181093,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab67888"} 
[2026-10-05 11:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 11: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 11:50:36] 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-10-05 11: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-10-05 11:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:50:36] 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-10-05 11:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542282240001,"66":13319,"45":8886235408753143808,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542282240001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753143808,"description":"Unknown IO ID 45"} 
[2026-10-05 11:50:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:50:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542282240001,"power":13319,"unknown_45":8886235408753143808,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":204384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:50:36] local.INFO: GPS data processed {"connection_id":204384,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:50:36] local.INFO: Acknowledgment sent {"connection_id":204384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:50:41] local.INFO: TCP Data received {"connection_id":205930,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab478d0012d1adb80071f8688003c011327..."} 
[2026-10-05 11:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab478d0012d1adb80071f8688003c011327..."} 
[2026-10-05 11:50:41] local.INFO: Processing buffer {"connection_id":205930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab478d0012d1adb80071f8688003c011327..."} 
[2026-10-05 11:50:41] local.INFO: Packet analysis {"connection_id":205930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab4"} 
[2026-10-05 11:50:41] local.INFO: Extracted packet for processing {"connection_id":205930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab4"} 
[2026-10-05 11:50:41] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542320640001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:50:41] 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-10-05 11:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791180962000,"timestamp_ms":1791180962000,"timestamp_seconds":1791180962,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab478d0"} 
[2026-10-05 11:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-05 11:50:41] 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-10-05 11:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":205930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":205930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":205930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:50:41] 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-10-05 11:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542320640001,"66":12461,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542320640001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:50:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:50:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542320640001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":205930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:50:41] local.INFO: GPS data processed {"connection_id":205930,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:50:41] local.INFO: Acknowledgment sent {"connection_id":205930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:50:59] local.INFO: TCP Data received {"connection_id":205932,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:50:59] local.INFO: Processing buffer {"connection_id":205932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:50:59] local.INFO: IMEI packet received {"connection_id":205932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":205932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:51:04] local.INFO: TCP Data received {"connection_id":205932,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:51:04] local.INFO: Processing buffer {"connection_id":205932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:51:04] local.INFO: IMEI packet received {"connection_id":205932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":205932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:51:05] local.INFO: TCP Data received {"connection_id":205932,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab67888012d7b524005e13b08000000a929..."} 
[2026-10-05 11:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab67888012d7b524005e13b08000000a929..."} 
[2026-10-05 11:51:05] local.INFO: Processing buffer {"connection_id":205932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab67888012d7b524005e13b08000000a929..."} 
[2026-10-05 11:51:05] local.INFO: Packet analysis {"connection_id":205932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab6"} 
[2026-10-05 11:51:05] local.INFO: Extracted packet for processing {"connection_id":205932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab6"} 
[2026-10-05 11:51:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542282240001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753143808,"note":"Value kept but may cause issues"} 
[2026-10-05 11:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:51:05] 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-10-05 11:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791181093000,"timestamp_ms":1791181093000,"timestamp_seconds":1791181093,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab67888"} 
[2026-10-05 11:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:51: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-10-05 11:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 11:51: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-10-05 11: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-10-05 11:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:51:05] 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-10-05 11:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542282240001,"66":13319,"45":8886235408753143808,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542282240001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753143808,"description":"Unknown IO ID 45"} 
[2026-10-05 11:51:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:51:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542282240001,"power":13319,"unknown_45":8886235408753143808,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":205932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:51:05] local.INFO: GPS data processed {"connection_id":205932,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:51:05] local.INFO: Acknowledgment sent {"connection_id":205932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:51:05] local.INFO: TCP Data received {"connection_id":207476,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:51:05] local.INFO: Processing buffer {"connection_id":207476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:51:05] local.INFO: IMEI packet received {"connection_id":207476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":207476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:51:11] local.INFO: TCP Data received {"connection_id":207476,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:51:11] local.INFO: Processing buffer {"connection_id":207476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:51:11] local.INFO: IMEI packet received {"connection_id":207476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":207476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:51:12] local.INFO: TCP Data received {"connection_id":207476,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab4cad8012d1adb80071f8688003c011326..."} 
[2026-10-05 11:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab4cad8012d1adb80071f8688003c011326..."} 
[2026-10-05 11:51:12] local.INFO: Processing buffer {"connection_id":207476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab4cad8012d1adb80071f8688003c011326..."} 
[2026-10-05 11:51:12] local.INFO: Packet analysis {"connection_id":207476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab4"} 
[2026-10-05 11:51:12] local.INFO: Extracted packet for processing {"connection_id":207476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab4"} 
[2026-10-05 11:51:12] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:51: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-10-05 11:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542326272001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791180983000,"timestamp_ms":1791180983000,"timestamp_seconds":1791180983,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab4cad8"} 
[2026-10-05 11:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:51:12] 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-10-05 11:51: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 11:51:12] 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-10-05 11:51: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-10-05 11:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":207476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":207476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":207476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:51:12] 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-10-05 11:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542326272001,"66":12461,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542326272001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:51:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:51:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542326272001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":207476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:51:12] local.INFO: GPS data processed {"connection_id":207476,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:51:12] local.INFO: Acknowledgment sent {"connection_id":207476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:51:36] local.INFO: TCP Data received {"connection_id":205932,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab67888012d7b524005e13b08000000a929..."} 
[2026-10-05 11:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab67888012d7b524005e13b08000000a929..."} 
[2026-10-05 11:51:36] local.INFO: Processing buffer {"connection_id":205932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab67888012d7b524005e13b08000000a929..."} 
[2026-10-05 11:51:36] local.INFO: Packet analysis {"connection_id":205932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab6"} 
[2026-10-05 11:51:36] local.INFO: Extracted packet for processing {"connection_id":205932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab6"} 
[2026-10-05 11:51:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 11:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542282240001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753143808,"note":"Value kept but may cause issues"} 
[2026-10-05 11:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:51:36] 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-10-05 11:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791181093000,"timestamp_ms":1791181093000,"timestamp_seconds":1791181093,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab67888"} 
[2026-10-05 11:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 11:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 11:51:36] 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-10-05 11:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:51:36] 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-10-05 11:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542282240001,"66":13319,"45":8886235408753143808,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542282240001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753143808,"description":"Unknown IO ID 45"} 
[2026-10-05 11:51:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:51:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542282240001,"power":13319,"unknown_45":8886235408753143808,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":205932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:51:36] local.INFO: GPS data processed {"connection_id":205932,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:51:36] local.INFO: Acknowledgment sent {"connection_id":205932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:51:43] local.INFO: TCP Data received {"connection_id":207476,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab84d48012d1adb80071f8688003c011328..."} 
[2026-10-05 11:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab84d48012d1adb80071f8688003c011328..."} 
[2026-10-05 11:51:43] local.INFO: Processing buffer {"connection_id":207476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab84d48012d1adb80071f8688003c011328..."} 
[2026-10-05 11:51:43] local.INFO: Packet analysis {"connection_id":207476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab8"} 
[2026-10-05 11:51:43] local.INFO: Extracted packet for processing {"connection_id":207476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab8"} 
[2026-10-05 11:51:43] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542385152001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791181213000,"timestamp_ms":1791181213000,"timestamp_seconds":1791181213,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab84d48"} 
[2026-10-05 11:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:51:43] 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-10-05 11:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 11:51:43] 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-10-05 11:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:51:43] 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-10-05 11:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542385152001,"66":12363,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542385152001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:51:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:51:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542385152001,"power":12363,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":207476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:51:43] local.INFO: GPS data processed {"connection_id":207476,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:51:43] local.INFO: Acknowledgment sent {"connection_id":207476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:52:01] local.INFO: TCP Data received {"connection_id":205934,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:52:01] local.INFO: Processing buffer {"connection_id":205934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:52:01] local.INFO: IMEI packet received {"connection_id":205934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":205934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:52:04] local.INFO: TCP Data received {"connection_id":205934,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:52:04] local.INFO: Processing buffer {"connection_id":205934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:52:04] local.INFO: IMEI packet received {"connection_id":205934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":205934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:52:05] local.INFO: TCP Data received {"connection_id":205934,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab67888012d7b524005e13b08000000a929..."} 
[2026-10-05 11:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab67888012d7b524005e13b08000000a929..."} 
[2026-10-05 11:52:05] local.INFO: Processing buffer {"connection_id":205934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab67888012d7b524005e13b08000000a929..."} 
[2026-10-05 11:52:05] local.INFO: Packet analysis {"connection_id":205934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab6"} 
[2026-10-05 11:52:05] local.INFO: Extracted packet for processing {"connection_id":205934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab6"} 
[2026-10-05 11:52:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542282240001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753143808,"note":"Value kept but may cause issues"} 
[2026-10-05 11:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:52:05] 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-10-05 11:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791181093000,"timestamp_ms":1791181093000,"timestamp_seconds":1791181093,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab67888"} 
[2026-10-05 11:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11: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-10-05 11: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":40,"data_length":795,"current_offset":136} 
[2026-10-05 11:52: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-10-05 11: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-10-05 11:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:52:05] 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-10-05 11:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542282240001,"66":13319,"45":8886235408753143808,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542282240001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753143808,"description":"Unknown IO ID 45"} 
[2026-10-05 11:52:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:52:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542282240001,"power":13319,"unknown_45":8886235408753143808,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":205934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:52:05] local.INFO: GPS data processed {"connection_id":205934,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:52:05] local.INFO: Acknowledgment sent {"connection_id":205934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:52:05] local.INFO: TCP Data received {"connection_id":205935,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:52:05] local.INFO: Processing buffer {"connection_id":205935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:52:05] local.INFO: IMEI packet received {"connection_id":205935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":205935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:52:10] local.INFO: TCP Data received {"connection_id":205935,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:52:10] local.INFO: Processing buffer {"connection_id":205935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:52:10] local.INFO: IMEI packet received {"connection_id":205935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":205935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:52:11] local.INFO: TCP Data received {"connection_id":205935,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab89f50012d1adb80071f8688003c011327..."} 
[2026-10-05 11:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab89f50012d1adb80071f8688003c011327..."} 
[2026-10-05 11:52:11] local.INFO: Processing buffer {"connection_id":205935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab89f50012d1adb80071f8688003c011327..."} 
[2026-10-05 11:52:11] local.INFO: Packet analysis {"connection_id":205935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab8"} 
[2026-10-05 11:52:11] local.INFO: Extracted packet for processing {"connection_id":205935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab8"} 
[2026-10-05 11:52:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542390528001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:52:11] 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-10-05 11:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791181234000,"timestamp_ms":1791181234000,"timestamp_seconds":1791181234,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab89f50"} 
[2026-10-05 11:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:52:11] 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-10-05 11:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-10-05 11:52:11] 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-10-05 11:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:52:11] 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-10-05 11:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542390528001,"66":12341,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542390528001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:52:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:52:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542390528001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":205935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:52:11] local.INFO: GPS data processed {"connection_id":205935,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:52:11] local.INFO: Acknowledgment sent {"connection_id":205935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:52:36] local.INFO: TCP Data received {"connection_id":205934,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab67888012d7b524005e13b08000000a929..."} 
[2026-10-05 11:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab67888012d7b524005e13b08000000a929..."} 
[2026-10-05 11:52:36] local.INFO: Processing buffer {"connection_id":205934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab67888012d7b524005e13b08000000a929..."} 
[2026-10-05 11:52:36] local.INFO: Packet analysis {"connection_id":205934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab6"} 
[2026-10-05 11:52:36] local.INFO: Extracted packet for processing {"connection_id":205934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab6"} 
[2026-10-05 11:52:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 11:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542282240001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753143808,"note":"Value kept but may cause issues"} 
[2026-10-05 11:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:52:36] 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-10-05 11:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791181093000,"timestamp_ms":1791181093000,"timestamp_seconds":1791181093,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab67888"} 
[2026-10-05 11:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 11:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 11:52:36] 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-10-05 11:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:52:36] 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-10-05 11:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542282240001,"66":13319,"45":8886235408753143808,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542282240001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753143808,"description":"Unknown IO ID 45"} 
[2026-10-05 11:52:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:52:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542282240001,"power":13319,"unknown_45":8886235408753143808,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":205934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:52:36] local.INFO: GPS data processed {"connection_id":205934,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:52:36] local.INFO: Acknowledgment sent {"connection_id":205934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:52:42] local.INFO: TCP Data received {"connection_id":205935,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab8f540012d1adb80071f8688003c011329..."} 
[2026-10-05 11:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab8f540012d1adb80071f8688003c011329..."} 
[2026-10-05 11:52:42] local.INFO: Processing buffer {"connection_id":205935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab8f540012d1adb80071f8688003c011329..."} 
[2026-10-05 11:52:42] local.INFO: Packet analysis {"connection_id":205935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab8"} 
[2026-10-05 11:52:42] local.INFO: Extracted packet for processing {"connection_id":205935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab8"} 
[2026-10-05 11:52:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:52: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-10-05 11:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542395904001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791181256000,"timestamp_ms":1791181256000,"timestamp_seconds":1791181256,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab8f540"} 
[2026-10-05 11:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:52:42] 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-10-05 11:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 11:52:42] 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-10-05 11:52: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-10-05 11:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":205935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":205935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":205935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:52:42] 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-10-05 11:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542395904001,"66":12385,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542395904001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:52:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:52:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542395904001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":205935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:52:42] local.INFO: GPS data processed {"connection_id":205935,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:52:42] local.INFO: Acknowledgment sent {"connection_id":205935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:53:00] local.INFO: TCP Data received {"connection_id":205936,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:53:00] local.INFO: Processing buffer {"connection_id":205936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:53:00] local.INFO: IMEI packet received {"connection_id":205936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":205936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:53:04] local.INFO: TCP Data received {"connection_id":205936,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:53:04] local.INFO: Processing buffer {"connection_id":205936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:53:04] local.INFO: IMEI packet received {"connection_id":205936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":205936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:53:05] local.INFO: TCP Data received {"connection_id":207477,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:53:05] local.INFO: Processing buffer {"connection_id":207477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:53:05] local.INFO: IMEI packet received {"connection_id":207477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":207477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:53:05] local.INFO: TCP Data received {"connection_id":205936,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab67888012d7b524005e13b08000000a929..."} 
[2026-10-05 11:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab67888012d7b524005e13b08000000a929..."} 
[2026-10-05 11:53:05] local.INFO: Processing buffer {"connection_id":205936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab67888012d7b524005e13b08000000a929..."} 
[2026-10-05 11:53:05] local.INFO: Packet analysis {"connection_id":205936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab6"} 
[2026-10-05 11:53:05] local.INFO: Extracted packet for processing {"connection_id":205936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab6"} 
[2026-10-05 11:53:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542282240001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753143808,"note":"Value kept but may cause issues"} 
[2026-10-05 11:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:53:05] 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-10-05 11:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791181093000,"timestamp_ms":1791181093000,"timestamp_seconds":1791181093,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab67888"} 
[2026-10-05 11:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11: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-10-05 11: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 11:53: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-10-05 11: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-10-05 11:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:53:05] 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-10-05 11:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542282240001,"66":13319,"45":8886235408753143808,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542282240001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753143808,"description":"Unknown IO ID 45"} 
[2026-10-05 11:53:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:53:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542282240001,"power":13319,"unknown_45":8886235408753143808,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":205936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966971,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:53:05] local.INFO: GPS data processed {"connection_id":205936,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:53:05] local.INFO: Acknowledgment sent {"connection_id":205936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:53:11] local.INFO: TCP Data received {"connection_id":207477,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:53:11] local.INFO: Processing buffer {"connection_id":207477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:53:11] local.INFO: IMEI packet received {"connection_id":207477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":207477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:53:12] local.INFO: TCP Data received {"connection_id":207477,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab94748012d1adb80071f8688003c011329..."} 
[2026-10-05 11:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab94748012d1adb80071f8688003c011329..."} 
[2026-10-05 11:53:12] local.INFO: Processing buffer {"connection_id":207477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab94748012d1adb80071f8688003c011329..."} 
[2026-10-05 11:53:12] local.INFO: Packet analysis {"connection_id":207477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab9"} 
[2026-10-05 11:53:12] local.INFO: Extracted packet for processing {"connection_id":207477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab9"} 
[2026-10-05 11:53:12] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542401536001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791181277000,"timestamp_ms":1791181277000,"timestamp_seconds":1791181277,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab94748"} 
[2026-10-05 11:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:53:12] 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-10-05 11:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 11:53:12] 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-10-05 11:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":207477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":207477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":207477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:53:12] 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-10-05 11:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542401536001,"66":12385,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542401536001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:53:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:53:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542401536001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":207477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:53:12] local.INFO: GPS data processed {"connection_id":207477,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:53:12] local.INFO: Acknowledgment sent {"connection_id":207477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:53:36] local.INFO: TCP Data received {"connection_id":205936,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:53:36] local.INFO: Processing buffer {"connection_id":205936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:53:36] local.INFO: Packet analysis {"connection_id":205936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abb"} 
[2026-10-05 11:53:36] local.INFO: Extracted packet for processing {"connection_id":205936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abb"} 
[2026-10-05 11:53:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 11:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542359808001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 11:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:53:36] 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-10-05 11:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791181394000,"timestamp_ms":1791181394000,"timestamp_seconds":1791181394,"priority":1,"record_length":96,"hex_timestamp":"000001a10abb1050"} 
[2026-10-05 11:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 11:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 11:53:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 11:53:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2981224449,"note":"Value kept but may cause issues"} 
[2026-10-05 11:53:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 11:53:36] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-6784672821442304512,"note":"Value kept but may cause issues"} 
[2026-10-05 11:53:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-05 11:53:36] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2147869018,"note":"Value kept but may cause issues"} 
[2026-10-05 11:53:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3783145472,"note":"Value kept but may cause issues"} 
[2026-10-05 11:53:36] local.WARNING: Large IO value detected {"io_id":230,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-10-05 11:53:36] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2121196719344517125,"note":"Value kept but may cause issues"} 
[2026-10-05 11:53:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,45,85,24,241,157,16,23,161,216,64,58,40,10,66,189,1,240,166,227,225,4,113,205,17,127,75,144,38,239,53,2,5,31,230,177],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-10-05 11:53:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":185993558753280,"timestamp_seconds":185993558753.28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 11:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:53:36] 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-10-05 11:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542359808001,"66":13243,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542359808001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 11:53:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:53:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542359808001,"power":13243,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":205936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:53:36] local.INFO: GPS data processed {"connection_id":205936,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:53:36] local.INFO: Acknowledgment sent {"connection_id":205936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:53:43] local.INFO: TCP Data received {"connection_id":207477,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab99950012d1adb80071f8688003c011329..."} 
[2026-10-05 11:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab99950012d1adb80071f8688003c011329..."} 
[2026-10-05 11:53:43] local.INFO: Processing buffer {"connection_id":207477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab99950012d1adb80071f8688003c011329..."} 
[2026-10-05 11:53:43] local.INFO: Packet analysis {"connection_id":207477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab9"} 
[2026-10-05 11:53:43] local.INFO: Extracted packet for processing {"connection_id":207477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab9"} 
[2026-10-05 11:53:43] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542406912001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791181298000,"timestamp_ms":1791181298000,"timestamp_seconds":1791181298,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab99950"} 
[2026-10-05 11:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:53:43] 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-10-05 11:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 11:53:43] 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-10-05 11:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:53:43] 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-10-05 11:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542406912001,"66":12385,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542406912001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:53:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:53:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542406912001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":207477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:53:43] local.INFO: GPS data processed {"connection_id":207477,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:53:43] local.INFO: Acknowledgment sent {"connection_id":207477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:54:04] local.INFO: TCP Data received {"connection_id":207478,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:54:04] local.INFO: Processing buffer {"connection_id":207478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:54:04] local.INFO: IMEI packet received {"connection_id":207478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":207478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:54:09] local.INFO: TCP Data received {"connection_id":207478,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:54:09] local.INFO: Processing buffer {"connection_id":207478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:54:09] local.INFO: IMEI packet received {"connection_id":207478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":207478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:54:10] local.INFO: TCP Data received {"connection_id":207478,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:54:10] local.INFO: Processing buffer {"connection_id":207478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:54:10] local.INFO: Packet analysis {"connection_id":207478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abb"} 
[2026-10-05 11:54:10] local.INFO: Extracted packet for processing {"connection_id":207478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abb"} 
[2026-10-05 11:54:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542359808001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:10] 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-10-05 11:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791181394000,"timestamp_ms":1791181394000,"timestamp_seconds":1791181394,"priority":1,"record_length":96,"hex_timestamp":"000001a10abb1050"} 
[2026-10-05 11:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 11: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 11:54:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:10] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2981224449,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:10] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-6784672821442304512,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-05 11:54:10] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2147869018,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3783145472,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:10] local.WARNING: Large IO value detected {"io_id":230,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:10] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2121196719344517125,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:10] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,45,85,24,241,157,16,23,161,216,64,58,40,10,66,189,1,240,166,227,225,4,113,205,17,127,75,144,38,239,53,2,5,31,230,177],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-10-05 11:54:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":185993558753280,"timestamp_seconds":185993558753.28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 11:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:54:10] 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-10-05 11:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542359808001,"66":13243,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542359808001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 11:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:54:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542359808001,"power":13243,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":207478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:54:10] local.INFO: GPS data processed {"connection_id":207478,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:54:10] local.INFO: Acknowledgment sent {"connection_id":207478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:54:11] local.INFO: TCP Data received {"connection_id":205937,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:54:11] local.INFO: Processing buffer {"connection_id":205937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:54:11] local.INFO: IMEI packet received {"connection_id":205937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":205937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:54:15] local.INFO: TCP Data received {"connection_id":207478,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:54:15] local.INFO: Processing buffer {"connection_id":207478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:54:15] local.INFO: Packet analysis {"connection_id":207478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abb"} 
[2026-10-05 11:54:15] local.INFO: Extracted packet for processing {"connection_id":207478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abb"} 
[2026-10-05 11:54:15] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 11:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542359808001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 11:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791181394000,"timestamp_ms":1791181394000,"timestamp_seconds":1791181394,"priority":1,"record_length":96,"hex_timestamp":"000001a10abb1050"} 
[2026-10-05 11:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 11:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 11:54:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:15] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2981224449,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:15] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-6784672821442304512,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-05 11:54:15] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2147869018,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3783145472,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:15] local.WARNING: Large IO value detected {"io_id":230,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:15] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2121196719344517125,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:15] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,45,85,24,241,157,16,23,161,216,64,58,40,10,66,189,1,240,166,227,225,4,113,205,17,127,75,144,38,239,53,2,5,31,230,177],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-10-05 11:54:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":185993558753280,"timestamp_seconds":185993558753.28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 11:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:54:15] 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-10-05 11:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542359808001,"66":13243,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542359808001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 11:54:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:54:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542359808001,"power":13243,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":207478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:54:15] local.INFO: GPS data processed {"connection_id":207478,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:54:15] local.INFO: Acknowledgment sent {"connection_id":207478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:54:16] local.INFO: TCP Data received {"connection_id":205937,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:54:16] local.INFO: Processing buffer {"connection_id":205937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:54:16] local.INFO: IMEI packet received {"connection_id":205937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":205937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:54:16] local.INFO: TCP Data received {"connection_id":205937,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ab9e770012d1adb80071f8688003c011328..."} 
[2026-10-05 11:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ab9e770012d1adb80071f8688003c011328..."} 
[2026-10-05 11:54:16] local.INFO: Processing buffer {"connection_id":205937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ab9e770012d1adb80071f8688003c011328..."} 
[2026-10-05 11:54:16] local.INFO: Packet analysis {"connection_id":205937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ab9"} 
[2026-10-05 11:54:16] local.INFO: Extracted packet for processing {"connection_id":205937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ab9"} 
[2026-10-05 11:54:16] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542412288001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791181318000,"timestamp_ms":1791181318000,"timestamp_seconds":1791181318,"priority":1,"record_length":96,"hex_timestamp":"000001a10ab9e770"} 
[2026-10-05 11:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 11:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 11:54:16] 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-10-05 11:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:54:16] 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-10-05 11:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542412288001,"66":12385,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542412288001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:54:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:54:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542412288001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":205937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:54:16] local.INFO: GPS data processed {"connection_id":205937,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:54:16] local.INFO: Acknowledgment sent {"connection_id":205937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:54:21] local.INFO: TCP Data received {"connection_id":205937,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aba3978012d1adb80071f8688003c011329..."} 
[2026-10-05 11:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aba3978012d1adb80071f8688003c011329..."} 
[2026-10-05 11:54:21] local.INFO: Processing buffer {"connection_id":205937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aba3978012d1adb80071f8688003c011329..."} 
[2026-10-05 11:54:21] local.INFO: Packet analysis {"connection_id":205937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aba"} 
[2026-10-05 11:54:21] local.INFO: Extracted packet for processing {"connection_id":205937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aba"} 
[2026-10-05 11:54:21] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:54: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-10-05 11:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542417408001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791181339000,"timestamp_ms":1791181339000,"timestamp_seconds":1791181339,"priority":1,"record_length":96,"hex_timestamp":"000001a10aba3978"} 
[2026-10-05 11:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:54:21] 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-10-05 11:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 11:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 11:54: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-10-05 11:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":205937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":205937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":205937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:54:21] 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-10-05 11:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542417408001,"66":12385,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542417408001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:54:21] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:54:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542417408001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":205937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:54:21] local.INFO: GPS data processed {"connection_id":205937,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:54:21] local.INFO: Acknowledgment sent {"connection_id":205937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:54:24] local.INFO: TCP Data received {"connection_id":204385,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:54:24] local.INFO: Processing buffer {"connection_id":204385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:54:24] local.INFO: IMEI packet received {"connection_id":204385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 11:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":204385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:54:59] local.INFO: TCP Data received {"connection_id":204386,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:54:59] local.INFO: Processing buffer {"connection_id":204386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:54:59] local.INFO: IMEI packet received {"connection_id":204386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":204386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:55:04] local.INFO: TCP Data received {"connection_id":204533,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:55:04] local.INFO: Processing buffer {"connection_id":204533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:55:04] local.INFO: IMEI packet received {"connection_id":204533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":204533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:55:04] local.INFO: TCP Data received {"connection_id":204386,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:55:04] local.INFO: Processing buffer {"connection_id":204386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:55:04] local.INFO: IMEI packet received {"connection_id":204386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":204386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:55:05] local.INFO: TCP Data received {"connection_id":204386,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:55:05] local.INFO: TCP Data received {"connection_id":204533,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:55:05] local.INFO: Processing buffer {"connection_id":204386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:55:05] local.INFO: Packet analysis {"connection_id":204386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abb"} 
[2026-10-05 11:55:05] local.INFO: Extracted packet for processing {"connection_id":204386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abb"} 
[2026-10-05 11:55:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 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-10-05 11:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542359808001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:05] 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-10-05 11:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791181394000,"timestamp_ms":1791181394000,"timestamp_seconds":1791181394,"priority":1,"record_length":96,"hex_timestamp":"000001a10abb1050"} 
[2026-10-05 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-10-05 11: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-10-05 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 11:55:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2981224449,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:05] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-6784672821442304512,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-05 11:55:05] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2147869018,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3783145472,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:05] local.WARNING: Large IO value detected {"io_id":230,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:05] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2121196719344517125,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:05] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,45,85,24,241,157,16,23,161,216,64,58,40,10,66,189,1,240,166,227,225,4,113,205,17,127,75,144,38,239,53,2,5,31,230,177],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-10-05 11:55:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":185993558753280,"timestamp_seconds":185993558753.28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 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-10-05 11:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:55:05] local.INFO: Processing buffer {"connection_id":204533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:55:05] local.INFO: IMEI packet received {"connection_id":204533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:55:05] 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-10-05 11:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":204533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542359808001,"66":13243,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542359808001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 11:55:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:55:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542359808001,"power":13243,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":204386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966979,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:55:05] local.INFO: GPS data processed {"connection_id":204386,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:55:05] local.INFO: Acknowledgment sent {"connection_id":204386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:55:10] local.INFO: TCP Data received {"connection_id":204533,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:55:10] local.INFO: Processing buffer {"connection_id":204533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:55:10] local.INFO: IMEI packet received {"connection_id":204533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":204533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:55:11] local.INFO: TCP Data received {"connection_id":204533,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aba8b80012d1adb80071f8688003c01132a..."} 
[2026-10-05 11:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aba8b80012d1adb80071f8688003c01132a..."} 
[2026-10-05 11:55:11] local.INFO: Processing buffer {"connection_id":204533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aba8b80012d1adb80071f8688003c01132a..."} 
[2026-10-05 11:55:11] local.INFO: Packet analysis {"connection_id":204533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aba"} 
[2026-10-05 11:55:11] local.INFO: Extracted packet for processing {"connection_id":204533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aba"} 
[2026-10-05 11:55:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542422784001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:11] 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-10-05 11:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791181360000,"timestamp_ms":1791181360000,"timestamp_seconds":1791181360,"priority":1,"record_length":96,"hex_timestamp":"000001a10aba8b80"} 
[2026-10-05 11:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:55:11] 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-10-05 11:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 11:55:11] 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-10-05 11:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:55:11] 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-10-05 11:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542422784001,"66":12385,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542422784001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:55:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:55:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542422784001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":204533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:55:11] local.INFO: GPS data processed {"connection_id":204533,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:55:11] local.INFO: Acknowledgment sent {"connection_id":204533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:55:18] local.INFO: TCP Data received {"connection_id":204532,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204532,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:55:18] local.INFO: Processing buffer {"connection_id":204532,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 11:55:18] local.INFO: IMEI packet received {"connection_id":204532,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 11:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":204532,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:55:20] local.INFO: TCP Data received {"connection_id":204532,"ip":"42.106.6.37","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-10-05 11:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204532,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-10-05 11:55:20] local.INFO: Processing buffer {"connection_id":204532,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-10-05 11:55:20] local.INFO: IMEI packet received {"connection_id":204532,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 11:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":204532,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:55:36] local.INFO: TCP Data received {"connection_id":204386,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:55:36] local.INFO: Processing buffer {"connection_id":204386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:55:36] local.INFO: Packet analysis {"connection_id":204386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abb"} 
[2026-10-05 11:55:36] local.INFO: Extracted packet for processing {"connection_id":204386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abb"} 
[2026-10-05 11:55:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542359808001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:36] 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-10-05 11:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791181394000,"timestamp_ms":1791181394000,"timestamp_seconds":1791181394,"priority":1,"record_length":96,"hex_timestamp":"000001a10abb1050"} 
[2026-10-05 11:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 11: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 11:55:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2981224449,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:36] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-6784672821442304512,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-05 11:55:36] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2147869018,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3783145472,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:36] local.WARNING: Large IO value detected {"io_id":230,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:36] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2121196719344517125,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,45,85,24,241,157,16,23,161,216,64,58,40,10,66,189,1,240,166,227,225,4,113,205,17,127,75,144,38,239,53,2,5,31,230,177],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-10-05 11:55:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":185993558753280,"timestamp_seconds":185993558753.28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 11:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:55:36] 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-10-05 11:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542359808001,"66":13243,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542359808001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 11:55:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:55:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542359808001,"power":13243,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":204386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:55:36] local.INFO: GPS data processed {"connection_id":204386,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:55:36] local.INFO: Acknowledgment sent {"connection_id":204386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:55:42] local.INFO: TCP Data received {"connection_id":204533,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10abadd88012d1adb80071f8688003c011328..."} 
[2026-10-05 11:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abadd88012d1adb80071f8688003c011328..."} 
[2026-10-05 11:55:42] local.INFO: Processing buffer {"connection_id":204533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abadd88012d1adb80071f8688003c011328..."} 
[2026-10-05 11:55:42] local.INFO: Packet analysis {"connection_id":204533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aba"} 
[2026-10-05 11:55:42] local.INFO: Extracted packet for processing {"connection_id":204533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aba"} 
[2026-10-05 11:55:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542428160001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791181381000,"timestamp_ms":1791181381000,"timestamp_seconds":1791181381,"priority":1,"record_length":96,"hex_timestamp":"000001a10abadd88"} 
[2026-10-05 11:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:55:42] 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-10-05 11: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 11:55:42] 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-10-05 11: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-10-05 11:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:55:42] 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-10-05 11:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542428160001,"66":12385,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542428160001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:55:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:55:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542428160001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":204533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:55:42] local.INFO: GPS data processed {"connection_id":204533,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:55:42] local.INFO: Acknowledgment sent {"connection_id":204533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:55:59] local.INFO: TCP Data received {"connection_id":204387,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:55:59] local.INFO: Processing buffer {"connection_id":204387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:55:59] local.INFO: IMEI packet received {"connection_id":204387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":204387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:56:04] local.INFO: TCP Data received {"connection_id":204387,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:56:04] local.INFO: Processing buffer {"connection_id":204387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:56:04] local.INFO: IMEI packet received {"connection_id":204387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":204387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:56:05] local.INFO: TCP Data received {"connection_id":204387,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:56:05] local.INFO: Processing buffer {"connection_id":204387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:56:05] local.INFO: Packet analysis {"connection_id":204387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abb"} 
[2026-10-05 11:56:05] local.INFO: Extracted packet for processing {"connection_id":204387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abb"} 
[2026-10-05 11:56:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542359808001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:05] 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-10-05 11:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791181394000,"timestamp_ms":1791181394000,"timestamp_seconds":1791181394,"priority":1,"record_length":96,"hex_timestamp":"000001a10abb1050"} 
[2026-10-05 11:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:56: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-10-05 11: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 11:56:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2981224449,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:05] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-6784672821442304512,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-05 11:56:05] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2147869018,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3783145472,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:05] local.WARNING: Large IO value detected {"io_id":230,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:05] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2121196719344517125,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:05] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,45,85,24,241,157,16,23,161,216,64,58,40,10,66,189,1,240,166,227,225,4,113,205,17,127,75,144,38,239,53,2,5,31,230,177],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-10-05 11:56:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":185993558753280,"timestamp_seconds":185993558753.28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 11:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:56:05] 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-10-05 11:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542359808001,"66":13243,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542359808001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 11:56:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:56:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542359808001,"power":13243,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":204387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:56:05] local.INFO: GPS data processed {"connection_id":204387,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:56:05] local.INFO: Acknowledgment sent {"connection_id":204387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:56:06] local.INFO: TCP Data received {"connection_id":204534,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:56:06] local.INFO: Processing buffer {"connection_id":204534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:56:06] local.INFO: IMEI packet received {"connection_id":204534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":204534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:56:06] local.INFO: TCP Data received {"connection_id":204534,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:56:06] local.INFO: Processing buffer {"connection_id":204534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:56:06] local.INFO: IMEI packet received {"connection_id":204534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":204534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:56:11] local.INFO: TCP Data received {"connection_id":204534,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:56:11] local.INFO: Processing buffer {"connection_id":204534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:56:11] local.INFO: IMEI packet received {"connection_id":204534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":204534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:56:11] local.INFO: TCP Data received {"connection_id":204534,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10abb2f90012d1adb80071f8688003c011329..."} 
[2026-10-05 11:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abb2f90012d1adb80071f8688003c011329..."} 
[2026-10-05 11:56:11] local.INFO: Processing buffer {"connection_id":204534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abb2f90012d1adb80071f8688003c011329..."} 
[2026-10-05 11:56:11] local.INFO: Packet analysis {"connection_id":204534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abb"} 
[2026-10-05 11:56:11] local.INFO: Extracted packet for processing {"connection_id":204534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abb"} 
[2026-10-05 11:56:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542433536001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:11] 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-10-05 11:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791181402000,"timestamp_ms":1791181402000,"timestamp_seconds":1791181402,"priority":1,"record_length":96,"hex_timestamp":"000001a10abb2f90"} 
[2026-10-05 11:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:56:11] 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-10-05 11:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 11:56:11] 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-10-05 11:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:56:11] 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-10-05 11:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542433536001,"66":12385,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542433536001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:56:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:56:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542433536001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":204534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:56:11] local.INFO: GPS data processed {"connection_id":204534,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:56:11] local.INFO: Acknowledgment sent {"connection_id":204534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:56:36] local.INFO: TCP Data received {"connection_id":204387,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:56:36] local.INFO: Processing buffer {"connection_id":204387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:56:36] local.INFO: Packet analysis {"connection_id":204387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abb"} 
[2026-10-05 11:56:36] local.INFO: Extracted packet for processing {"connection_id":204387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abb"} 
[2026-10-05 11:56:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542359808001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:36] 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-10-05 11:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791181394000,"timestamp_ms":1791181394000,"timestamp_seconds":1791181394,"priority":1,"record_length":96,"hex_timestamp":"000001a10abb1050"} 
[2026-10-05 11:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 11: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 11:56:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2981224449,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:36] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-6784672821442304512,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-05 11:56:36] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2147869018,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3783145472,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:36] local.WARNING: Large IO value detected {"io_id":230,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:36] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2121196719344517125,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,45,85,24,241,157,16,23,161,216,64,58,40,10,66,189,1,240,166,227,225,4,113,205,17,127,75,144,38,239,53,2,5,31,230,177],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-10-05 11:56:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":185993558753280,"timestamp_seconds":185993558753.28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 11:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:56:36] 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-10-05 11:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542359808001,"66":13243,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542359808001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 11:56:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:56:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542359808001,"power":13243,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":204387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:56:36] local.INFO: GPS data processed {"connection_id":204387,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:56:36] local.INFO: Acknowledgment sent {"connection_id":204387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:56:43] local.INFO: TCP Data received {"connection_id":204534,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10abb8198012d1adb80071f8688003c01132a..."} 
[2026-10-05 11:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abb8198012d1adb80071f8688003c01132a..."} 
[2026-10-05 11:56:43] local.INFO: Processing buffer {"connection_id":204534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abb8198012d1adb80071f8688003c01132a..."} 
[2026-10-05 11:56:43] local.INFO: Packet analysis {"connection_id":204534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abb"} 
[2026-10-05 11:56:43] local.INFO: Extracted packet for processing {"connection_id":204534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abb"} 
[2026-10-05 11:56:43] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542438912001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791181423000,"timestamp_ms":1791181423000,"timestamp_seconds":1791181423,"priority":1,"record_length":96,"hex_timestamp":"000001a10abb8198"} 
[2026-10-05 11:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:56:43] 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-10-05 11: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 11:56:43] 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-10-05 11: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-10-05 11:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:56:43] 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-10-05 11:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542438912001,"66":12374,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542438912001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:56:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:56:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542438912001,"power":12374,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":204534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:56:43] local.INFO: GPS data processed {"connection_id":204534,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:56:43] local.INFO: Acknowledgment sent {"connection_id":204534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:56:59] local.INFO: TCP Data received {"connection_id":205938,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:56:59] local.INFO: Processing buffer {"connection_id":205938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:56:59] local.INFO: IMEI packet received {"connection_id":205938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":205938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:57:04] local.INFO: TCP Data received {"connection_id":205938,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:57:04] local.INFO: Processing buffer {"connection_id":205938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:57:04] local.INFO: IMEI packet received {"connection_id":205938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":205938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:57:05] local.INFO: TCP Data received {"connection_id":205938,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:57:05] local.INFO: Processing buffer {"connection_id":205938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:57:05] local.INFO: Packet analysis {"connection_id":205938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abb"} 
[2026-10-05 11:57:05] local.INFO: Extracted packet for processing {"connection_id":205938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abb"} 
[2026-10-05 11:57:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542359808001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:05] 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-10-05 11:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791181394000,"timestamp_ms":1791181394000,"timestamp_seconds":1791181394,"priority":1,"record_length":96,"hex_timestamp":"000001a10abb1050"} 
[2026-10-05 11:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:57: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-10-05 11:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 11:57:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2981224449,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:05] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-6784672821442304512,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-05 11:57:05] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2147869018,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3783145472,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:05] local.WARNING: Large IO value detected {"io_id":230,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:05] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2121196719344517125,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:05] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,45,85,24,241,157,16,23,161,216,64,58,40,10,66,189,1,240,166,227,225,4,113,205,17,127,75,144,38,239,53,2,5,31,230,177],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-10-05 11:57:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":185993558753280,"timestamp_seconds":185993558753.28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 11:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:57:05] 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-10-05 11:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542359808001,"66":13243,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542359808001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 11:57:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:57:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542359808001,"power":13243,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":205938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:57:05] local.INFO: GPS data processed {"connection_id":205938,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:57:05] local.INFO: Acknowledgment sent {"connection_id":205938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:57:06] local.INFO: TCP Data received {"connection_id":205939,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:57:06] local.INFO: Processing buffer {"connection_id":205939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:57:06] local.INFO: IMEI packet received {"connection_id":205939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":205939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:57:09] local.INFO: TCP Data received {"connection_id":205939,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:57:09] local.INFO: Processing buffer {"connection_id":205939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:57:09] local.INFO: IMEI packet received {"connection_id":205939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":205939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:57:10] local.INFO: TCP Data received {"connection_id":205939,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10abbd3a0012d1adb80071f8688003c011328..."} 
[2026-10-05 11:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abbd3a0012d1adb80071f8688003c011328..."} 
[2026-10-05 11:57:10] local.INFO: Processing buffer {"connection_id":205939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abbd3a0012d1adb80071f8688003c011328..."} 
[2026-10-05 11:57:10] local.INFO: Packet analysis {"connection_id":205939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abb"} 
[2026-10-05 11:57:10] local.INFO: Extracted packet for processing {"connection_id":205939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abb"} 
[2026-10-05 11:57:10] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542444288001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:10] 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-10-05 11:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791181444000,"timestamp_ms":1791181444000,"timestamp_seconds":1791181444,"priority":1,"record_length":96,"hex_timestamp":"000001a10abbd3a0"} 
[2026-10-05 11:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:57:10] 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-10-05 11:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-05 11:57:10] 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-10-05 11:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":205939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":205939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":205939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:57:10] 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-10-05 11:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542444288001,"66":12374,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542444288001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:57:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:57:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542444288001,"power":12374,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":205939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:57:10] local.INFO: GPS data processed {"connection_id":205939,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:57:10] local.INFO: Acknowledgment sent {"connection_id":205939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:57:36] local.INFO: TCP Data received {"connection_id":205938,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:57:36] local.INFO: Processing buffer {"connection_id":205938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:57:36] local.INFO: Packet analysis {"connection_id":205938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abb"} 
[2026-10-05 11:57:36] local.INFO: Extracted packet for processing {"connection_id":205938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abb"} 
[2026-10-05 11:57:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 11:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542359808001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:36] 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-10-05 11:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791181394000,"timestamp_ms":1791181394000,"timestamp_seconds":1791181394,"priority":1,"record_length":96,"hex_timestamp":"000001a10abb1050"} 
[2026-10-05 11:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 11:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 11:57:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2981224449,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:36] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-6784672821442304512,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-05 11:57:36] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2147869018,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3783145472,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:36] local.WARNING: Large IO value detected {"io_id":230,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:36] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2121196719344517125,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,45,85,24,241,157,16,23,161,216,64,58,40,10,66,189,1,240,166,227,225,4,113,205,17,127,75,144,38,239,53,2,5,31,230,177],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-10-05 11:57:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":185993558753280,"timestamp_seconds":185993558753.28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 11:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:57:36] 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-10-05 11:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542359808001,"66":13243,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542359808001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 11:57:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:57:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542359808001,"power":13243,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":205938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:57:36] local.INFO: GPS data processed {"connection_id":205938,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:57:36] local.INFO: Acknowledgment sent {"connection_id":205938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:57:41] local.INFO: TCP Data received {"connection_id":205939,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10abc25a8012d1adb80071f8688003c01132a..."} 
[2026-10-05 11:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abc25a8012d1adb80071f8688003c01132a..."} 
[2026-10-05 11:57:41] local.INFO: Processing buffer {"connection_id":205939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abc25a8012d1adb80071f8688003c01132a..."} 
[2026-10-05 11:57:41] local.INFO: Packet analysis {"connection_id":205939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abc"} 
[2026-10-05 11:57:41] local.INFO: Extracted packet for processing {"connection_id":205939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abc"} 
[2026-10-05 11:57:41] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542449664001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:57:41] 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-10-05 11:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791181465000,"timestamp_ms":1791181465000,"timestamp_seconds":1791181465,"priority":1,"record_length":96,"hex_timestamp":"000001a10abc25a8"} 
[2026-10-05 11:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:57:41] 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-10-05 11:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-05 11:57:41] 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-10-05 11:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":205939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":205939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":205939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:57:41] 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-10-05 11:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542449664001,"66":11547,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542449664001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:57:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:57:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542449664001,"power":11547,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":205939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:57:41] local.INFO: GPS data processed {"connection_id":205939,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:57:41] local.INFO: Acknowledgment sent {"connection_id":205939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:57:59] local.INFO: TCP Data received {"connection_id":205940,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:57:59] local.INFO: Processing buffer {"connection_id":205940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:57:59] local.INFO: IMEI packet received {"connection_id":205940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":205940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:58:04] local.INFO: TCP Data received {"connection_id":205940,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:58:04] local.INFO: Processing buffer {"connection_id":205940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:58:04] local.INFO: IMEI packet received {"connection_id":205940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":205940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:58:05] local.INFO: TCP Data received {"connection_id":205941,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:58:05] local.INFO: Processing buffer {"connection_id":205941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:58:05] local.INFO: IMEI packet received {"connection_id":205941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":205941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:58:05] local.INFO: TCP Data received {"connection_id":205940,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:58:05] local.INFO: Processing buffer {"connection_id":205940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abb1050012d7b524005e13b08000000a929..."} 
[2026-10-05 11:58:05] local.INFO: Packet analysis {"connection_id":205940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abb"} 
[2026-10-05 11:58:05] local.INFO: Extracted packet for processing {"connection_id":205940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abb"} 
[2026-10-05 11:58:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542359808001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 11:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:58:05] 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-10-05 11:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791181394000,"timestamp_ms":1791181394000,"timestamp_seconds":1791181394,"priority":1,"record_length":96,"hex_timestamp":"000001a10abb1050"} 
[2026-10-05 11:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:58: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-10-05 11: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":7,"data_length":795,"current_offset":136} 
[2026-10-05 11:58:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 11:58:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2981224449,"note":"Value kept but may cause issues"} 
[2026-10-05 11:58:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 11:58:05] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-6784672821442304512,"note":"Value kept but may cause issues"} 
[2026-10-05 11:58:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-05 11:58:05] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2147869018,"note":"Value kept but may cause issues"} 
[2026-10-05 11:58:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3783145472,"note":"Value kept but may cause issues"} 
[2026-10-05 11:58:05] local.WARNING: Large IO value detected {"io_id":230,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-10-05 11:58:05] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2121196719344517125,"note":"Value kept but may cause issues"} 
[2026-10-05 11:58:05] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,45,85,24,241,157,16,23,161,216,64,58,40,10,66,189,1,240,166,227,225,4,113,205,17,127,75,144,38,239,53,2,5,31,230,177],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-10-05 11:58:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":185993558753280,"timestamp_seconds":185993558753.28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 11:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:58:05] 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-10-05 11:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542359808001,"66":13243,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542359808001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 11:58:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:58:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542359808001,"power":13243,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":205940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:58:05] local.INFO: GPS data processed {"connection_id":205940,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:58:05] local.INFO: Acknowledgment sent {"connection_id":205940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:58:10] local.INFO: TCP Data received {"connection_id":205941,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:58:10] local.INFO: Processing buffer {"connection_id":205941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:58:10] local.INFO: IMEI packet received {"connection_id":205941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":205941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:58:11] local.INFO: TCP Data received {"connection_id":205941,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10abc77b0012d1adb80071f8688003c01132a..."} 
[2026-10-05 11:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abc77b0012d1adb80071f8688003c01132a..."} 
[2026-10-05 11:58:11] local.INFO: Processing buffer {"connection_id":205941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abc77b0012d1adb80071f8688003c01132a..."} 
[2026-10-05 11:58:11] local.INFO: Packet analysis {"connection_id":205941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abc"} 
[2026-10-05 11:58:11] local.INFO: Extracted packet for processing {"connection_id":205941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abc"} 
[2026-10-05 11:58:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542455040001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:58:11] 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-10-05 11:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791181486000,"timestamp_ms":1791181486000,"timestamp_seconds":1791181486,"priority":1,"record_length":96,"hex_timestamp":"000001a10abc77b0"} 
[2026-10-05 11:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:58: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-10-05 11:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-10-05 11:58: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-10-05 11:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:58:11] 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-10-05 11:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542455040001,"66":12374,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542455040001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:58:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:58:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542455040001,"power":12374,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":205941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:58:11] local.INFO: GPS data processed {"connection_id":205941,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:58:11] local.INFO: Acknowledgment sent {"connection_id":205941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:58:36] local.INFO: TCP Data received {"connection_id":205940,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 11:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 11:58:36] local.INFO: Processing buffer {"connection_id":205940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 11:58:36] local.INFO: Packet analysis {"connection_id":205940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 11:58:36] local.INFO: Extracted packet for processing {"connection_id":205940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 11:58:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 11: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-10-05 11:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542436864001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 11:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:58:36] 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-10-05 11:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791181695000,"timestamp_ms":1791181695000,"timestamp_seconds":1791181695,"priority":1,"record_length":96,"hex_timestamp":"000001a10abfa818"} 
[2026-10-05 11:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 11: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-05 11:58: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-10-05 11: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-10-05 11:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:58:36] 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-10-05 11:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542436864001,"66":13091,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542436864001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 11:58:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:58:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542436864001,"power":13091,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":205940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:58:36] local.INFO: GPS data processed {"connection_id":205940,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:58:36] local.INFO: Acknowledgment sent {"connection_id":205940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:58:42] local.INFO: TCP Data received {"connection_id":205941,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10abcc9b8012d1adb80071f8688003c01132a..."} 
[2026-10-05 11:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abcc9b8012d1adb80071f8688003c01132a..."} 
[2026-10-05 11:58:42] local.INFO: Processing buffer {"connection_id":205941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abcc9b8012d1adb80071f8688003c01132a..."} 
[2026-10-05 11:58:42] local.INFO: Packet analysis {"connection_id":205941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abc"} 
[2026-10-05 11:58:42] local.INFO: Extracted packet for processing {"connection_id":205941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abc"} 
[2026-10-05 11:58:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542460416001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791181507000,"timestamp_ms":1791181507000,"timestamp_seconds":1791181507,"priority":1,"record_length":96,"hex_timestamp":"000001a10abcc9b8"} 
[2026-10-05 11:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:58:42] 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-10-05 11:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-05 11:58:42] 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-10-05 11:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":205941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":205941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":205941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:58:42] 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-10-05 11:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542460416001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542460416001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:58:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:58:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542460416001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":205941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:58:43] local.INFO: GPS data processed {"connection_id":205941,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:58:43] local.INFO: Acknowledgment sent {"connection_id":205941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:58:59] local.INFO: TCP Data received {"connection_id":204389,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:58:59] local.INFO: Processing buffer {"connection_id":204389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:58:59] local.INFO: IMEI packet received {"connection_id":204389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 11:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":204389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:59:04] local.INFO: TCP Data received {"connection_id":204389,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:59:04] local.INFO: Processing buffer {"connection_id":204389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 11:59:04] local.INFO: IMEI packet received {"connection_id":204389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 11:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":204389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:59:05] local.INFO: TCP Data received {"connection_id":204536,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:59:05] local.INFO: Processing buffer {"connection_id":204536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:59:05] local.INFO: IMEI packet received {"connection_id":204536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 11:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":204536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 11:59:05] local.INFO: TCP Data received {"connection_id":204389,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 11:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 11:59:05] local.INFO: Processing buffer {"connection_id":204389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 11:59:05] local.INFO: Packet analysis {"connection_id":204389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 11:59:05] local.INFO: Extracted packet for processing {"connection_id":204389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 11:59:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 11:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542436864001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 11:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:59:05] 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-10-05 11:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791181695000,"timestamp_ms":1791181695000,"timestamp_seconds":1791181695,"priority":1,"record_length":96,"hex_timestamp":"000001a10abfa818"} 
[2026-10-05 11:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:59: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-10-05 11:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-05 11:59:05] 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-10-05 11:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:59:05] 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-10-05 11:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542436864001,"66":13091,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542436864001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 11:59:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:59:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542436864001,"power":13091,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":204389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:59:05] local.INFO: GPS data processed {"connection_id":204389,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:59:05] local.INFO: Acknowledgment sent {"connection_id":204389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:59:10] local.INFO: TCP Data received {"connection_id":204536,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:59:10] local.INFO: Processing buffer {"connection_id":204536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 11:59:10] local.INFO: IMEI packet received {"connection_id":204536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 11:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":204536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 11:59:11] local.INFO: TCP Data received {"connection_id":204536,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10abd1bc0012d1adb80071f8688003c011329..."} 
[2026-10-05 11:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abd1bc0012d1adb80071f8688003c011329..."} 
[2026-10-05 11:59:11] local.INFO: Processing buffer {"connection_id":204536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abd1bc0012d1adb80071f8688003c011329..."} 
[2026-10-05 11:59:11] local.INFO: Packet analysis {"connection_id":204536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abd"} 
[2026-10-05 11:59:11] local.INFO: Extracted packet for processing {"connection_id":204536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abd"} 
[2026-10-05 11:59:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542465792001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:59:11] 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-10-05 11:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791181528000,"timestamp_ms":1791181528000,"timestamp_seconds":1791181528,"priority":1,"record_length":96,"hex_timestamp":"000001a10abd1bc0"} 
[2026-10-05 11:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:59: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-10-05 11:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 11:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 11:59:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 11:59:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 11:59:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 11:59:11] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 11:59:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":773083667939269339,"note":"Value kept but may cause issues"} 
[2026-10-05 11:59:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 11:59:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77449599060541440,"note":"Value kept but may cause issues"} 
[2026-10-05 11:59:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832569,"note":"Value kept but may cause issues"} 
[2026-10-05 11:59:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068469049655502,"note":"Value kept but may cause issues"} 
[2026-10-05 11:59:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 11:59:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 11:59:11] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2415996186,"note":"Value kept but may cause issues"} 
[2026-10-05 11:59:11] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 11:59:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 11:59:11] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,101,83,24,241,157,16,211,161,119,45,128,134,60,42,10,66,37,1,240,86,227,31,4,113,205,47,219,136,41,239,48,2,88,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 11:59:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758188361940992,"timestamp_seconds":4323758188361941.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 11:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:59:11] 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-10-05 11:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542465792001,"66":12319,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542465792001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:59:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:59:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542465792001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":204536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:59:11] local.INFO: GPS data processed {"connection_id":204536,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:59:11] local.INFO: Acknowledgment sent {"connection_id":204536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:59:36] local.INFO: TCP Data received {"connection_id":204389,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 11:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 11:59:36] local.INFO: Processing buffer {"connection_id":204389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 11:59:36] local.INFO: Packet analysis {"connection_id":204389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 11:59:36] local.INFO: Extracted packet for processing {"connection_id":204389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 11:59:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 11:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542436864001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 11:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 11:59:36] 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-10-05 11:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791181695000,"timestamp_ms":1791181695000,"timestamp_seconds":1791181695,"priority":1,"record_length":96,"hex_timestamp":"000001a10abfa818"} 
[2026-10-05 11:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 11:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-05 11:59: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-10-05 11:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 11:59:36] 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-10-05 11:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 11:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 11:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542436864001,"66":13091,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 11:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 11:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 11:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542436864001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 11:59:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 11:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:59:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542436864001,"power":13091,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 11:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":204389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966997,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:59:36] local.INFO: GPS data processed {"connection_id":204389,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:59:36] local.INFO: Acknowledgment sent {"connection_id":204389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 11:59:42] local.INFO: TCP Data received {"connection_id":204536,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10abd6dc8012d1adb80071f8688003c01132a..."} 
[2026-10-05 11:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abd6dc8012d1adb80071f8688003c01132a..."} 
[2026-10-05 11:59:42] local.INFO: Processing buffer {"connection_id":204536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abd6dc8012d1adb80071f8688003c01132a..."} 
[2026-10-05 11:59:42] local.INFO: Packet analysis {"connection_id":204536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abd"} 
[2026-10-05 11:59:42] local.INFO: Extracted packet for processing {"connection_id":204536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abd"} 
[2026-10-05 11:59:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 11:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 11:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542471168001,"note":"Value kept but may cause issues"} 
[2026-10-05 11:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 11:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 11:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 11:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791181549000,"timestamp_ms":1791181549000,"timestamp_seconds":1791181549,"priority":1,"record_length":96,"hex_timestamp":"000001a10abd6dc8"} 
[2026-10-05 11:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 11:59:42] 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-10-05 11:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-10-05 11:59:42] 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-10-05 11:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 11:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 11:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 11:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 11:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 11:59:42] 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-10-05 11:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 11:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 11:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542471168001,"66":12374,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 11:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 11:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 11:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542471168001,"description":"Unknown IO ID 0"} 
[2026-10-05 11:59:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 11:59:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 11:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 11:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 11:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542471168001,"power":12374,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 11:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":204536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 11:59:43] local.INFO: GPS data processed {"connection_id":204536,"processed":1,"errors":0,"total":1} 
[2026-10-05 11:59:43] local.INFO: Acknowledgment sent {"connection_id":204536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:00:04] local.INFO: TCP Data received {"connection_id":204390,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204390,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:00:04] local.INFO: Processing buffer {"connection_id":204390,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:00:04] local.INFO: IMEI packet received {"connection_id":204390,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":204390,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:00:09] local.INFO: TCP Data received {"connection_id":204390,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204390,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:00:09] local.INFO: Processing buffer {"connection_id":204390,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:00:09] local.INFO: IMEI packet received {"connection_id":204390,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":204390,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:00:10] local.INFO: TCP Data received {"connection_id":205943,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:00:10] local.INFO: Processing buffer {"connection_id":205943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:00:10] local.INFO: IMEI packet received {"connection_id":205943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":205943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:00:11] local.INFO: TCP Data received {"connection_id":204390,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 12:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 12:00:11] local.INFO: Processing buffer {"connection_id":204390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 12:00:11] local.INFO: Packet analysis {"connection_id":204390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 12:00:11] local.INFO: Extracted packet for processing {"connection_id":204390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 12:00:11] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542436864001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00: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-10-05 12:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791181695000,"timestamp_ms":1791181695000,"timestamp_seconds":1791181695,"priority":1,"record_length":96,"hex_timestamp":"000001a10abfa818"} 
[2026-10-05 12:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-05 12:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:00:11] 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-10-05 12:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542436864001,"66":13091,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542436864001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:00:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:00:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542436864001,"power":13091,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":204390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:00:11] local.INFO: GPS data processed {"connection_id":204390,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:00:11] local.INFO: Acknowledgment sent {"connection_id":204390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:00:15] local.INFO: TCP Data received {"connection_id":205943,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:00:15] local.INFO: Processing buffer {"connection_id":205943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:00:15] local.INFO: IMEI packet received {"connection_id":205943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":205943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:00:16] local.INFO: TCP Data received {"connection_id":205943,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10abdbfd0012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abdbfd0012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:00:16] local.INFO: Processing buffer {"connection_id":205943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abdbfd0012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:00:16] local.INFO: Packet analysis {"connection_id":205943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abd"} 
[2026-10-05 12:00:16] local.INFO: Extracted packet for processing {"connection_id":205943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abd"} 
[2026-10-05 12:00:16] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542476544001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791181570000,"timestamp_ms":1791181570000,"timestamp_seconds":1791181570,"priority":1,"record_length":96,"hex_timestamp":"000001a10abdbfd0"} 
[2026-10-05 12:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-05 12:00:16] 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-10-05 12:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:00:16] 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-10-05 12:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542476544001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542476544001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:00:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:00:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542476544001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":205943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:00:17] local.INFO: GPS data processed {"connection_id":205943,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:00:17] local.INFO: Acknowledgment sent {"connection_id":205943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:00:19] local.INFO: TCP Data received {"connection_id":205943,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10abe11d8012d1adb80071f8688003c011329..."} 
[2026-10-05 12:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abe11d8012d1adb80071f8688003c011329..."} 
[2026-10-05 12:00:19] local.INFO: Processing buffer {"connection_id":205943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abe11d8012d1adb80071f8688003c011329..."} 
[2026-10-05 12:00:19] local.INFO: Packet analysis {"connection_id":205943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abe"} 
[2026-10-05 12:00:19] local.INFO: Extracted packet for processing {"connection_id":205943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abe"} 
[2026-10-05 12:00:19] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542481920001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:19] 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-10-05 12:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791181591000,"timestamp_ms":1791181591000,"timestamp_seconds":1791181591,"priority":1,"record_length":96,"hex_timestamp":"000001a10abe11d8"} 
[2026-10-05 12:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:00: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-10-05 12:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:19] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:19] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:19] local.WARNING: Large IO value detected {"io_id":161,"raw_value":773354250878917339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:19] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:19] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77449599060541440,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:19] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832569,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972244305838286,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:00:19] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2818649370,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:19] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:19] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:19] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,101,83,24,241,157,16,211,161,109,45,128,134,60,42,10,66,27,41,201,1,240,227,31,4,113,205,37,219,136,239,2,88,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:00:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758188361940992,"timestamp_seconds":4323758188361941.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":205943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":205943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":205943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:00:19] 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-10-05 12:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542481920001,"66":12341,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542481920001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:00:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:00:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542481920001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":205943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:00:19] local.INFO: GPS data processed {"connection_id":205943,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:00:19] local.INFO: Acknowledgment sent {"connection_id":205943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:00:21] local.INFO: TCP Data received {"connection_id":205942,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:00:21] local.INFO: Processing buffer {"connection_id":205942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:00:21] local.INFO: IMEI packet received {"connection_id":205942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":205942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:00:41] local.INFO: TCP Data received {"connection_id":204390,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 12:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 12:00:41] local.INFO: Processing buffer {"connection_id":204390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 12:00:41] local.INFO: Packet analysis {"connection_id":204390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 12:00:41] local.INFO: Extracted packet for processing {"connection_id":204390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 12:00:41] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542436864001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:41] 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-10-05 12:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791181695000,"timestamp_ms":1791181695000,"timestamp_seconds":1791181695,"priority":1,"record_length":96,"hex_timestamp":"000001a10abfa818"} 
[2026-10-05 12:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-05 12:00:41] 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-10-05 12:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:00:41] 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-10-05 12:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542436864001,"66":13091,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542436864001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:00:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:00:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542436864001,"power":13091,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":204390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:00:41] local.INFO: GPS data processed {"connection_id":204390,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:00:41] local.INFO: Acknowledgment sent {"connection_id":204390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:00:50] local.INFO: TCP Data received {"connection_id":205943,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10abe63e0012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abe63e0012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:00:50] local.INFO: Processing buffer {"connection_id":205943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abe63e0012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:00:50] local.INFO: Packet analysis {"connection_id":205943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abe"} 
[2026-10-05 12:00:50] local.INFO: Extracted packet for processing {"connection_id":205943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abe"} 
[2026-10-05 12:00:50] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:00: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-10-05 12:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542487296001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1791181612000,"timestamp_ms":1791181612000,"timestamp_seconds":1791181612,"priority":1,"record_length":96,"hex_timestamp":"000001a10abe63e0"} 
[2026-10-05 12:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:00:50] 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-10-05 12:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 12:00:50] 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-10-05 12:00: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-10-05 12:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":205943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":205943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":205943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:00:50] 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-10-05 12:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542487296001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542487296001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:00:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:00:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542487296001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":205943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:00:50] local.INFO: GPS data processed {"connection_id":205943,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:00:50] local.INFO: Acknowledgment sent {"connection_id":205943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:00:59] local.INFO: TCP Data received {"connection_id":205944,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:00:59] local.INFO: Processing buffer {"connection_id":205944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:00:59] local.INFO: IMEI packet received {"connection_id":205944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":205944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:01:02] local.INFO: TCP Data received {"connection_id":204537,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204537,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:01:02] local.INFO: Processing buffer {"connection_id":204537,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:01:02] local.INFO: IMEI packet received {"connection_id":204537,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":204537,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:01:05] local.INFO: TCP Data received {"connection_id":205944,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:01:05] local.INFO: Processing buffer {"connection_id":205944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:01:05] local.INFO: IMEI packet received {"connection_id":205944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":205944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:01:05] local.INFO: TCP Data received {"connection_id":204391,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:01:05] local.INFO: Processing buffer {"connection_id":204391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:01:05] local.INFO: IMEI packet received {"connection_id":204391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":204391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:01:06] local.INFO: TCP Data received {"connection_id":205944,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 12:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 12:01:06] local.INFO: Processing buffer {"connection_id":205944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 12:01:06] local.INFO: Packet analysis {"connection_id":205944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 12:01:06] local.INFO: Extracted packet for processing {"connection_id":205944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 12:01:06] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542436864001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:01:06] 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-10-05 12:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791181695000,"timestamp_ms":1791181695000,"timestamp_seconds":1791181695,"priority":1,"record_length":96,"hex_timestamp":"000001a10abfa818"} 
[2026-10-05 12:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-05 12:01:06] 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-10-05 12:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:01:06] 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-10-05 12:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542436864001,"66":13091,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542436864001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:01:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:01:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542436864001,"power":13091,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":205944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967004,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:01:06] local.INFO: GPS data processed {"connection_id":205944,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:01:06] local.INFO: Acknowledgment sent {"connection_id":205944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:01:11] local.INFO: TCP Data received {"connection_id":204391,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:01:11] local.INFO: Processing buffer {"connection_id":204391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:01:11] local.INFO: IMEI packet received {"connection_id":204391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":204391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:01:11] local.INFO: TCP Data received {"connection_id":204391,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10abeb5e8012d1adb80071f8688003c011329..."} 
[2026-10-05 12:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abeb5e8012d1adb80071f8688003c011329..."} 
[2026-10-05 12:01:11] local.INFO: Processing buffer {"connection_id":204391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abeb5e8012d1adb80071f8688003c011329..."} 
[2026-10-05 12:01:11] local.INFO: Packet analysis {"connection_id":204391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abe"} 
[2026-10-05 12:01:11] local.INFO: Extracted packet for processing {"connection_id":204391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abe"} 
[2026-10-05 12:01:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542492672001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:01:11] 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-10-05 12:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791181633000,"timestamp_ms":1791181633000,"timestamp_seconds":1791181633,"priority":1,"record_length":96,"hex_timestamp":"000001a10abeb5e8"} 
[2026-10-05 12:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:01: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-10-05 12:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:01:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:01:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:01:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:01:11] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:01:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":773534639505349339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:01:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:01:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77451798083796992,"note":"Value kept but may cause issues"} 
[2026-10-05 12:01:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832569,"note":"Value kept but may cause issues"} 
[2026-10-05 12:01:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972244305838286,"note":"Value kept but may cause issues"} 
[2026-10-05 12:01:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:01:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:01:11] local.WARNING: Large IO value detected {"io_id":201,"raw_value":3087084826,"note":"Value kept but may cause issues"} 
[2026-10-05 12:01:11] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:01:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:01:11] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,211,161,17,45,128,134,60,41,10,66,191,42,109,1,240,86,227,31,4,113,205,201,219,136,239,48,2,88,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:01:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758188361940992,"timestamp_seconds":4323758188361941.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:01:11] 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-10-05 12:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542492672001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542492672001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:01:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:01:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542492672001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":204391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:01:11] local.INFO: GPS data processed {"connection_id":204391,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:01:11] local.INFO: Acknowledgment sent {"connection_id":204391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:01:37] local.INFO: TCP Data received {"connection_id":205944,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 12:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 12:01:37] local.INFO: Processing buffer {"connection_id":205944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 12:01:37] local.INFO: Packet analysis {"connection_id":205944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 12:01:37] local.INFO: Extracted packet for processing {"connection_id":205944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 12:01:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542436864001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:01:37] 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-10-05 12:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791181695000,"timestamp_ms":1791181695000,"timestamp_seconds":1791181695,"priority":1,"record_length":96,"hex_timestamp":"000001a10abfa818"} 
[2026-10-05 12:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-05 12:01:37] 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-10-05 12:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:01:37] 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-10-05 12:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542436864001,"66":13091,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542436864001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:01:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:01:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542436864001,"power":13091,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":205944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967006,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:01:37] local.INFO: GPS data processed {"connection_id":205944,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:01:37] local.INFO: Acknowledgment sent {"connection_id":205944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:01:42] local.INFO: TCP Data received {"connection_id":204391,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10abf07f0012d1adb80071f8688003c011329..."} 
[2026-10-05 12:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abf07f0012d1adb80071f8688003c011329..."} 
[2026-10-05 12:01:42] local.INFO: Processing buffer {"connection_id":204391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abf07f0012d1adb80071f8688003c011329..."} 
[2026-10-05 12:01:42] local.INFO: Packet analysis {"connection_id":204391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 12:01:42] local.INFO: Extracted packet for processing {"connection_id":204391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 12:01:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:01: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-10-05 12:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542498048001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791181654000,"timestamp_ms":1791181654000,"timestamp_seconds":1791181654,"priority":1,"record_length":96,"hex_timestamp":"000001a10abf07f0"} 
[2026-10-05 12:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:01:42] 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-10-05 12:01: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:01:42] 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-10-05 12:01: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-10-05 12:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:01:42] 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-10-05 12:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542498048001,"66":11721,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542498048001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:01:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:01:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542498048001,"power":11721,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":204391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:01:43] local.INFO: GPS data processed {"connection_id":204391,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:01:43] local.INFO: Acknowledgment sent {"connection_id":204391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:01:54] local.INFO: TCP Data received {"connection_id":207481,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207481,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:01:54] local.INFO: Processing buffer {"connection_id":207481,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:01:54] local.INFO: IMEI packet received {"connection_id":207481,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":207481,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:02:03] local.INFO: TCP Data received {"connection_id":207483,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:02:03] local.INFO: Processing buffer {"connection_id":207483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:02:03] local.INFO: IMEI packet received {"connection_id":207483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":207483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:02:04] local.INFO: TCP Data received {"connection_id":207482,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:02:04] local.INFO: Processing buffer {"connection_id":207482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:02:04] local.INFO: IMEI packet received {"connection_id":207482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":207482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:02:06] local.INFO: TCP Data received {"connection_id":207483,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:02:06] local.INFO: Processing buffer {"connection_id":207483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:02:06] local.INFO: IMEI packet received {"connection_id":207483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":207483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:02:09] local.INFO: TCP Data received {"connection_id":207482,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:02:09] local.INFO: Processing buffer {"connection_id":207482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:02:09] local.INFO: IMEI packet received {"connection_id":207482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":207482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:02:10] local.INFO: TCP Data received {"connection_id":207481,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207481,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:02:10] local.INFO: Processing buffer {"connection_id":207481,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:02:10] local.INFO: IMEI packet received {"connection_id":207481,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":207481,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:02:10] local.INFO: TCP Data received {"connection_id":207483,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:02:10] local.INFO: Processing buffer {"connection_id":207483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:02:10] local.INFO: IMEI packet received {"connection_id":207483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":207483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:02:11] local.INFO: TCP Data received {"connection_id":207482,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 12:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 12:02:11] local.INFO: Processing buffer {"connection_id":207482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 12:02:11] local.INFO: Packet analysis {"connection_id":207482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 12:02:11] local.INFO: Extracted packet for processing {"connection_id":207482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 12:02:11] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542436864001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:02: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-10-05 12:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791181695000,"timestamp_ms":1791181695000,"timestamp_seconds":1791181695,"priority":1,"record_length":96,"hex_timestamp":"000001a10abfa818"} 
[2026-10-05 12:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-05 12:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:02:11] 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-10-05 12:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542436864001,"66":13091,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542436864001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:02:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:02:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542436864001,"power":13091,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":207482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967008,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:02:11] local.INFO: GPS data processed {"connection_id":207482,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:02:11] local.INFO: Acknowledgment sent {"connection_id":207482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:02:11] local.INFO: TCP Data received {"connection_id":207483,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10abf59f8012d1adb80071f8688003c011326..."} 
[2026-10-05 12:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abf59f8012d1adb80071f8688003c011326..."} 
[2026-10-05 12:02:11] local.INFO: Processing buffer {"connection_id":207483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abf59f8012d1adb80071f8688003c011326..."} 
[2026-10-05 12:02:11] local.INFO: Packet analysis {"connection_id":207483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 12:02:11] local.INFO: Extracted packet for processing {"connection_id":207483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 12:02:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542503424001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:02:11] 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-10-05 12:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791181675000,"timestamp_ms":1791181675000,"timestamp_seconds":1791181675,"priority":1,"record_length":96,"hex_timestamp":"000001a10abf59f8"} 
[2026-10-05 12:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:02: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-10-05 12:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-05 12:02:11] 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-10-05 12:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:02:11] 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-10-05 12:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542503424001,"66":12363,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542503424001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:02:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:02:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542503424001,"power":12363,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":207483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:02:11] local.INFO: GPS data processed {"connection_id":207483,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:02:11] local.INFO: Acknowledgment sent {"connection_id":207483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:02:15] local.INFO: TCP Data received {"connection_id":207482,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 12:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 12:02:15] local.INFO: Processing buffer {"connection_id":207482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 12:02:15] local.INFO: Packet analysis {"connection_id":207482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 12:02:15] local.INFO: Extracted packet for processing {"connection_id":207482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 12:02:15] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542436864001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:02:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 12:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791181695000,"timestamp_ms":1791181695000,"timestamp_seconds":1791181695,"priority":1,"record_length":96,"hex_timestamp":"000001a10abfa818"} 
[2026-10-05 12:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-05 12:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:02:15] 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-10-05 12:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542436864001,"66":13091,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542436864001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:02:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:02:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542436864001,"power":13091,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":207482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:02:15] local.INFO: GPS data processed {"connection_id":207482,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:02:15] local.INFO: Acknowledgment sent {"connection_id":207482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:02:42] local.INFO: TCP Data received {"connection_id":207483,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10abfac00012d1adb80071f8688003c011328..."} 
[2026-10-05 12:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abfac00012d1adb80071f8688003c011328..."} 
[2026-10-05 12:02:42] local.INFO: Processing buffer {"connection_id":207483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abfac00012d1adb80071f8688003c011328..."} 
[2026-10-05 12:02:42] local.INFO: Packet analysis {"connection_id":207483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 12:02:42] local.INFO: Extracted packet for processing {"connection_id":207483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 12:02:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542508800001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791181696000,"timestamp_ms":1791181696000,"timestamp_seconds":1791181696,"priority":1,"record_length":96,"hex_timestamp":"000001a10abfac00"} 
[2026-10-05 12:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:02:42] 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-10-05 12:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-10-05 12:02:42] 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-10-05 12:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:02:42] 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-10-05 12:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542508800001,"66":12341,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542508800001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:02:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:02:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542508800001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":207483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:02:42] local.INFO: GPS data processed {"connection_id":207483,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:02:42] local.INFO: Acknowledgment sent {"connection_id":207483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:02:59] local.INFO: TCP Data received {"connection_id":207484,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:02:59] local.INFO: Processing buffer {"connection_id":207484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:02:59] local.INFO: IMEI packet received {"connection_id":207484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":207484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:03:04] local.INFO: TCP Data received {"connection_id":207484,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:03:04] local.INFO: Processing buffer {"connection_id":207484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:03:04] local.INFO: IMEI packet received {"connection_id":207484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":207484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:03:05] local.INFO: TCP Data received {"connection_id":207484,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 12:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 12:03:05] local.INFO: Processing buffer {"connection_id":207484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abfa818012d7b524005e13b08000000a928..."} 
[2026-10-05 12:03:05] local.INFO: Packet analysis {"connection_id":207484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 12:03:05] local.INFO: Extracted packet for processing {"connection_id":207484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 12:03:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542436864001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:03:05] 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-10-05 12:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791181695000,"timestamp_ms":1791181695000,"timestamp_seconds":1791181695,"priority":1,"record_length":96,"hex_timestamp":"000001a10abfa818"} 
[2026-10-05 12:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:03: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-10-05 12:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-05 12:03:05] 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-10-05 12:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:03:05] 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-10-05 12:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542436864001,"66":13091,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542436864001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:03:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:03:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542436864001,"power":13091,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":207484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967012,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:03:05] local.INFO: GPS data processed {"connection_id":207484,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:03:05] local.INFO: Acknowledgment sent {"connection_id":207484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:03:05] local.INFO: TCP Data received {"connection_id":204392,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:03:05] local.INFO: Processing buffer {"connection_id":204392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:03:05] local.INFO: IMEI packet received {"connection_id":204392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":204392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:03:06] local.INFO: TCP Data received {"connection_id":204392,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:03:06] local.INFO: Processing buffer {"connection_id":204392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:03:06] local.INFO: IMEI packet received {"connection_id":204392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":204392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:03:10] local.INFO: TCP Data received {"connection_id":204392,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:03:10] local.INFO: Processing buffer {"connection_id":204392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:03:10] local.INFO: IMEI packet received {"connection_id":204392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":204392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:03:11] local.INFO: TCP Data received {"connection_id":204392,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10abffe08012d1adb80071f8688003c011329..."} 
[2026-10-05 12:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10abffe08012d1adb80071f8688003c011329..."} 
[2026-10-05 12:03:11] local.INFO: Processing buffer {"connection_id":204392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10abffe08012d1adb80071f8688003c011329..."} 
[2026-10-05 12:03:11] local.INFO: Packet analysis {"connection_id":204392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 12:03:11] local.INFO: Extracted packet for processing {"connection_id":204392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10abf"} 
[2026-10-05 12:03:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:03: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-10-05 12:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542514176001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:03:11] 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-10-05 12:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791181717000,"timestamp_ms":1791181717000,"timestamp_seconds":1791181717,"priority":1,"record_length":96,"hex_timestamp":"000001a10abffe08"} 
[2026-10-05 12:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:03: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-10-05 12:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 12:03:11] 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-10-05 12:03: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-10-05 12:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:03:11] 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-10-05 12:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542514176001,"66":12363,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542514176001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:03:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:03:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542514176001,"power":12363,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":204392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:03:11] local.INFO: GPS data processed {"connection_id":204392,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:03:11] local.INFO: Acknowledgment sent {"connection_id":204392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:03:36] local.INFO: TCP Data received {"connection_id":207484,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:03:36] local.INFO: Processing buffer {"connection_id":207484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:03:36] local.INFO: Packet analysis {"connection_id":207484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac4"} 
[2026-10-05 12:03:36] local.INFO: Extracted packet for processing {"connection_id":207484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac4"} 
[2026-10-05 12:03:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542513920001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:03:36] 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-10-05 12:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791181996000,"timestamp_ms":1791181996000,"timestamp_seconds":1791181996,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac43fe0"} 
[2026-10-05 12:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 12:03:36] 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-10-05 12:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:03:36] 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-10-05 12:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542513920001,"66":13059,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542513920001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:03:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:03:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542513920001,"power":13059,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":207484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:03:37] local.INFO: GPS data processed {"connection_id":207484,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:03:37] local.INFO: Acknowledgment sent {"connection_id":207484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:03:42] local.INFO: TCP Data received {"connection_id":204392,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac05010012d1adb80071f8688003c011329..."} 
[2026-10-05 12:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac05010012d1adb80071f8688003c011329..."} 
[2026-10-05 12:03:42] local.INFO: Processing buffer {"connection_id":204392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac05010012d1adb80071f8688003c011329..."} 
[2026-10-05 12:03:42] local.INFO: Packet analysis {"connection_id":204392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac0"} 
[2026-10-05 12:03:42] local.INFO: Extracted packet for processing {"connection_id":204392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac0"} 
[2026-10-05 12:03:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:03: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-10-05 12:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542519552001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791181738000,"timestamp_ms":1791181738000,"timestamp_seconds":1791181738,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac05010"} 
[2026-10-05 12:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:03:42] 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-10-05 12:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-10-05 12:03:42] 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-10-05 12:03: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-10-05 12:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:03:42] 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-10-05 12:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542519552001,"66":12341,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542519552001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:03:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:03:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542519552001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":204392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:03:42] local.INFO: GPS data processed {"connection_id":204392,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:03:42] local.INFO: Acknowledgment sent {"connection_id":204392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:03:59] local.INFO: TCP Data received {"connection_id":205945,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:03:59] local.INFO: Processing buffer {"connection_id":205945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:03:59] local.INFO: IMEI packet received {"connection_id":205945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":205945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:04:04] local.INFO: TCP Data received {"connection_id":205945,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:04:04] local.INFO: Processing buffer {"connection_id":205945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:04:04] local.INFO: IMEI packet received {"connection_id":205945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":205945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:04:06] local.INFO: TCP Data received {"connection_id":205945,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:04:06] local.INFO: Processing buffer {"connection_id":205945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:04:06] local.INFO: Packet analysis {"connection_id":205945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac4"} 
[2026-10-05 12:04:06] local.INFO: Extracted packet for processing {"connection_id":205945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac4"} 
[2026-10-05 12:04:06] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542513920001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:04:06] 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-10-05 12:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791181996000,"timestamp_ms":1791181996000,"timestamp_seconds":1791181996,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac43fe0"} 
[2026-10-05 12:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:04: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-10-05 12: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 12:04:06] 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-10-05 12: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-10-05 12:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:04:06] 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-10-05 12:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542513920001,"66":13059,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542513920001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:04:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:04:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542513920001,"power":13059,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":205945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:04:06] local.INFO: GPS data processed {"connection_id":205945,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:04:06] local.INFO: Acknowledgment sent {"connection_id":205945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:04:06] local.INFO: TCP Data received {"connection_id":205946,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:04:06] local.INFO: Processing buffer {"connection_id":205946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:04:06] local.INFO: IMEI packet received {"connection_id":205946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":205946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:04:09] local.INFO: TCP Data received {"connection_id":205946,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:04:09] local.INFO: Processing buffer {"connection_id":205946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:04:09] local.INFO: IMEI packet received {"connection_id":205946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":205946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:04:10] local.INFO: TCP Data received {"connection_id":205946,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac3d668012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac3d668012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:04:10] local.INFO: Processing buffer {"connection_id":205946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac3d668012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:04:10] local.INFO: Packet analysis {"connection_id":205946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac3"} 
[2026-10-05 12:04:10] local.INFO: Extracted packet for processing {"connection_id":205946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac3"} 
[2026-10-05 12:04:10] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542578688001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:04:10] 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-10-05 12:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791181969000,"timestamp_ms":1791181969000,"timestamp_seconds":1791181969,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac3d668"} 
[2026-10-05 12:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:04:10] 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-10-05 12:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:04:10] 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-10-05 12:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":205946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":205946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":205946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:04:10] 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-10-05 12:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542578688001,"66":12363,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542578688001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:04:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:04:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542578688001,"power":12363,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":205946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:04:10] local.INFO: GPS data processed {"connection_id":205946,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:04:10] local.INFO: Acknowledgment sent {"connection_id":205946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:04:37] local.INFO: TCP Data received {"connection_id":205945,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:04:37] local.INFO: Processing buffer {"connection_id":205945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:04:37] local.INFO: Packet analysis {"connection_id":205945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac4"} 
[2026-10-05 12:04:37] local.INFO: Extracted packet for processing {"connection_id":205945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac4"} 
[2026-10-05 12:04:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542513920001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:04:37] 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-10-05 12:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791181996000,"timestamp_ms":1791181996000,"timestamp_seconds":1791181996,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac43fe0"} 
[2026-10-05 12:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 12:04:37] 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-10-05 12:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:04:37] 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-10-05 12:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542513920001,"66":13059,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542513920001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:04:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:04:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542513920001,"power":13059,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":205945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967018,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:04:37] local.INFO: GPS data processed {"connection_id":205945,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:04:37] local.INFO: Acknowledgment sent {"connection_id":205945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:04:41] local.INFO: TCP Data received {"connection_id":205946,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac42870012d1adb80071f8688003c011329..."} 
[2026-10-05 12:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac42870012d1adb80071f8688003c011329..."} 
[2026-10-05 12:04:41] local.INFO: Processing buffer {"connection_id":205946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac42870012d1adb80071f8688003c011329..."} 
[2026-10-05 12:04:41] local.INFO: Packet analysis {"connection_id":205946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac4"} 
[2026-10-05 12:04:41] local.INFO: Extracted packet for processing {"connection_id":205946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac4"} 
[2026-10-05 12:04:41] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542584064001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:04:41] 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-10-05 12:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791181990000,"timestamp_ms":1791181990000,"timestamp_seconds":1791181990,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac42870"} 
[2026-10-05 12:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-10-05 12:04:41] 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-10-05 12:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":205946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":205946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":205946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:04:41] 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-10-05 12:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542584064001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542584064001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:04:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:04:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542584064001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":205946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:04:41] local.INFO: GPS data processed {"connection_id":205946,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:04:41] local.INFO: Acknowledgment sent {"connection_id":205946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:05:00] local.INFO: TCP Data received {"connection_id":205947,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:05:00] local.INFO: Processing buffer {"connection_id":205947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:05:00] local.INFO: IMEI packet received {"connection_id":205947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":205947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:05:04] local.INFO: TCP Data received {"connection_id":205947,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:05:04] local.INFO: Processing buffer {"connection_id":205947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:05:04] local.INFO: IMEI packet received {"connection_id":205947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":205947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:05:05] local.INFO: TCP Data received {"connection_id":205947,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:05:05] local.INFO: Processing buffer {"connection_id":205947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:05:05] local.INFO: Packet analysis {"connection_id":205947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac4"} 
[2026-10-05 12:05:05] local.INFO: Extracted packet for processing {"connection_id":205947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac4"} 
[2026-10-05 12:05:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542513920001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:05:05] 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-10-05 12:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791181996000,"timestamp_ms":1791181996000,"timestamp_seconds":1791181996,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac43fe0"} 
[2026-10-05 12:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12: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-10-05 12:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 12:05:05] 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-10-05 12:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:05:05] 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-10-05 12:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542513920001,"66":13059,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542513920001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:05:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:05:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542513920001,"power":13059,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:05:05] local.INFO: TCP Data received {"connection_id":204539,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:05:05] local.INFO: Processing buffer {"connection_id":204539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:05:05] local.INFO: IMEI packet received {"connection_id":204539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":204539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":205947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967020,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:05:05] local.INFO: GPS data processed {"connection_id":205947,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:05:05] local.INFO: Acknowledgment sent {"connection_id":205947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:05:11] local.INFO: TCP Data received {"connection_id":204539,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:05:11] local.INFO: Processing buffer {"connection_id":204539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:05:11] local.INFO: IMEI packet received {"connection_id":204539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":204539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:05:12] local.INFO: TCP Data received {"connection_id":204539,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac47a78012d1adb80071f8688003c011329..."} 
[2026-10-05 12:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac47a78012d1adb80071f8688003c011329..."} 
[2026-10-05 12:05:12] local.INFO: Processing buffer {"connection_id":204539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac47a78012d1adb80071f8688003c011329..."} 
[2026-10-05 12:05:12] local.INFO: Packet analysis {"connection_id":204539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac4"} 
[2026-10-05 12:05:12] local.INFO: Extracted packet for processing {"connection_id":204539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac4"} 
[2026-10-05 12:05:12] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542589440001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791182011000,"timestamp_ms":1791182011000,"timestamp_seconds":1791182011,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac47a78"} 
[2026-10-05 12:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:05:12] 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-10-05 12:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:05:12] 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-10-05 12:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542589440001,"66":12319,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542589440001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:05:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:05:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542589440001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":204539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:05:12] local.INFO: GPS data processed {"connection_id":204539,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:05:12] local.INFO: Acknowledgment sent {"connection_id":204539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:05:36] local.INFO: TCP Data received {"connection_id":205947,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:05:36] local.INFO: Processing buffer {"connection_id":205947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:05:36] local.INFO: Packet analysis {"connection_id":205947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac4"} 
[2026-10-05 12:05:36] local.INFO: Extracted packet for processing {"connection_id":205947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac4"} 
[2026-10-05 12:05:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542513920001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:05:36] 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-10-05 12:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791181996000,"timestamp_ms":1791181996000,"timestamp_seconds":1791181996,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac43fe0"} 
[2026-10-05 12:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 12:05:36] 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-10-05 12:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:05:36] 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-10-05 12:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542513920001,"66":13059,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542513920001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:05:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:05:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542513920001,"power":13059,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":205947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:05:36] local.INFO: GPS data processed {"connection_id":205947,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:05:36] local.INFO: Acknowledgment sent {"connection_id":205947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:05:43] local.INFO: TCP Data received {"connection_id":204539,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac4cc80012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac4cc80012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:05:43] local.INFO: Processing buffer {"connection_id":204539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac4cc80012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:05:43] local.INFO: Packet analysis {"connection_id":204539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac4"} 
[2026-10-05 12:05:43] local.INFO: Extracted packet for processing {"connection_id":204539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac4"} 
[2026-10-05 12:05:43] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542594816001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791182032000,"timestamp_ms":1791182032000,"timestamp_seconds":1791182032,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac4cc80"} 
[2026-10-05 12:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:05:43] 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-10-05 12: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-10-05 12:05:43] 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-10-05 12: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-10-05 12:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:05:43] 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-10-05 12:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542594816001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542594816001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:05:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:05:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542594816001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":204539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:05:43] local.INFO: GPS data processed {"connection_id":204539,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:05:43] local.INFO: Acknowledgment sent {"connection_id":204539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:05:59] local.INFO: TCP Data received {"connection_id":204541,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:05:59] local.INFO: Processing buffer {"connection_id":204541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:05:59] local.INFO: IMEI packet received {"connection_id":204541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":204541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:06:04] local.INFO: TCP Data received {"connection_id":204541,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:06:04] local.INFO: Processing buffer {"connection_id":204541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:06:04] local.INFO: IMEI packet received {"connection_id":204541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":204541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:06:05] local.INFO: TCP Data received {"connection_id":204542,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:06:05] local.INFO: Processing buffer {"connection_id":204542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:06:05] local.INFO: IMEI packet received {"connection_id":204542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":204542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:06:05] local.INFO: TCP Data received {"connection_id":204541,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:06:05] local.INFO: Processing buffer {"connection_id":204541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:06:05] local.INFO: Packet analysis {"connection_id":204541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac4"} 
[2026-10-05 12:06:05] local.INFO: Extracted packet for processing {"connection_id":204541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac4"} 
[2026-10-05 12:06:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542513920001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:06:05] 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-10-05 12:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791181996000,"timestamp_ms":1791181996000,"timestamp_seconds":1791181996,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac43fe0"} 
[2026-10-05 12:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:06: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-10-05 12: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 12:06:05] 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-10-05 12: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-10-05 12:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:06:05] 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-10-05 12:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542513920001,"66":13059,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542513920001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:06:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:06:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542513920001,"power":13059,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":204541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967024,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:06:05] local.INFO: GPS data processed {"connection_id":204541,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:06:05] local.INFO: Acknowledgment sent {"connection_id":204541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:06:11] local.INFO: TCP Data received {"connection_id":204542,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:06:11] local.INFO: Processing buffer {"connection_id":204542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:06:11] local.INFO: IMEI packet received {"connection_id":204542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":204542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:06:12] local.INFO: TCP Data received {"connection_id":204542,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac51e88012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac51e88012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:06:12] local.INFO: Processing buffer {"connection_id":204542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac51e88012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:06:12] local.INFO: Packet analysis {"connection_id":204542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac5"} 
[2026-10-05 12:06:12] local.INFO: Extracted packet for processing {"connection_id":204542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac5"} 
[2026-10-05 12:06:12] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542600192001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791182053000,"timestamp_ms":1791182053000,"timestamp_seconds":1791182053,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac51e88"} 
[2026-10-05 12:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:06:12] 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-10-05 12:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542600192001,"66":12319,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542600192001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:06:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:06:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542600192001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":204542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:06:12] local.INFO: GPS data processed {"connection_id":204542,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:06:12] local.INFO: Acknowledgment sent {"connection_id":204542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:06:36] local.INFO: TCP Data received {"connection_id":204541,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:06:36] local.INFO: Processing buffer {"connection_id":204541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:06:36] local.INFO: Packet analysis {"connection_id":204541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac4"} 
[2026-10-05 12:06:36] local.INFO: Extracted packet for processing {"connection_id":204541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac4"} 
[2026-10-05 12:06:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542513920001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:06:36] 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-10-05 12:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791181996000,"timestamp_ms":1791181996000,"timestamp_seconds":1791181996,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac43fe0"} 
[2026-10-05 12:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 12:06:36] 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-10-05 12:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:06:36] 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-10-05 12:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542513920001,"66":13059,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542513920001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:06:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:06:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542513920001,"power":13059,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":204541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:06:36] local.INFO: GPS data processed {"connection_id":204541,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:06:36] local.INFO: Acknowledgment sent {"connection_id":204541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:06:43] local.INFO: TCP Data received {"connection_id":204542,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac57090012d1adb80071f8688003c011329..."} 
[2026-10-05 12:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac57090012d1adb80071f8688003c011329..."} 
[2026-10-05 12:06:43] local.INFO: Processing buffer {"connection_id":204542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac57090012d1adb80071f8688003c011329..."} 
[2026-10-05 12:06:43] local.INFO: Packet analysis {"connection_id":204542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac5"} 
[2026-10-05 12:06:43] local.INFO: Extracted packet for processing {"connection_id":204542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac5"} 
[2026-10-05 12:06:43] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542605568001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791182074000,"timestamp_ms":1791182074000,"timestamp_seconds":1791182074,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac57090"} 
[2026-10-05 12:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:06: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-10-05 12:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-10-05 12:06:43] 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-10-05 12:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:06:43] 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-10-05 12:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542605568001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542605568001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:06:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:06:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542605568001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":204542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:06:43] local.INFO: GPS data processed {"connection_id":204542,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:06:43] local.INFO: Acknowledgment sent {"connection_id":204542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:07:04] local.INFO: TCP Data received {"connection_id":204394,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:07:04] local.INFO: Processing buffer {"connection_id":204394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:07:04] local.INFO: IMEI packet received {"connection_id":204394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":204394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:07:08] local.INFO: TCP Data received {"connection_id":207486,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:07:08] local.INFO: Processing buffer {"connection_id":207486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:07:08] local.INFO: IMEI packet received {"connection_id":207486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":207486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:07:09] local.INFO: TCP Data received {"connection_id":204394,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:07:09] local.INFO: Processing buffer {"connection_id":204394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:07:09] local.INFO: IMEI packet received {"connection_id":204394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":204394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:07:10] local.INFO: TCP Data received {"connection_id":204394,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:07:10] local.INFO: Processing buffer {"connection_id":204394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:07:10] local.INFO: Packet analysis {"connection_id":204394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac4"} 
[2026-10-05 12:07:10] local.INFO: Extracted packet for processing {"connection_id":204394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac4"} 
[2026-10-05 12:07:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542513920001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:07:10] 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-10-05 12:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791181996000,"timestamp_ms":1791181996000,"timestamp_seconds":1791181996,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac43fe0"} 
[2026-10-05 12:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 12:07: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-10-05 12:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:07:10] 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-10-05 12:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542513920001,"66":13059,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542513920001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:07:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542513920001,"power":13059,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":204394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:07:10] local.INFO: GPS data processed {"connection_id":204394,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:07:10] local.INFO: Acknowledgment sent {"connection_id":204394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:07:11] local.INFO: TCP Data received {"connection_id":204543,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:07:11] local.INFO: Processing buffer {"connection_id":204543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:07:11] local.INFO: IMEI packet received {"connection_id":204543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":204543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:07:15] local.INFO: TCP Data received {"connection_id":204394,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:07:15] local.INFO: Processing buffer {"connection_id":204394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:07:15] local.INFO: Packet analysis {"connection_id":204394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac4"} 
[2026-10-05 12:07:15] local.INFO: Extracted packet for processing {"connection_id":204394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac4"} 
[2026-10-05 12:07:15] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542513920001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:07:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 12:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791181996000,"timestamp_ms":1791181996000,"timestamp_seconds":1791181996,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac43fe0"} 
[2026-10-05 12:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 12:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:07:15] 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-10-05 12:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542513920001,"66":13059,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542513920001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:07:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:07:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542513920001,"power":13059,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":204394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967029,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:07:15] local.INFO: GPS data processed {"connection_id":204394,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:07:15] local.INFO: Acknowledgment sent {"connection_id":204394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:07:15] local.INFO: TCP Data received {"connection_id":204543,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:07:15] local.INFO: Processing buffer {"connection_id":204543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:07:15] local.INFO: IMEI packet received {"connection_id":204543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":204543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:07:16] local.INFO: TCP Data received {"connection_id":204543,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac5c298012d1adb80071f8688003c011329..."} 
[2026-10-05 12:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac5c298012d1adb80071f8688003c011329..."} 
[2026-10-05 12:07:16] local.INFO: Processing buffer {"connection_id":204543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac5c298012d1adb80071f8688003c011329..."} 
[2026-10-05 12:07:16] local.INFO: Packet analysis {"connection_id":204543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac5"} 
[2026-10-05 12:07:16] local.INFO: Extracted packet for processing {"connection_id":204543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac5"} 
[2026-10-05 12:07:16] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542610944001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791182095000,"timestamp_ms":1791182095000,"timestamp_seconds":1791182095,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac5c298"} 
[2026-10-05 12:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:07:16] 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-10-05 12:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542610944001,"66":12341,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542610944001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:07:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:07:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542610944001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":204543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:07:16] local.INFO: GPS data processed {"connection_id":204543,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:07:16] local.INFO: Acknowledgment sent {"connection_id":204543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:07:19] local.INFO: TCP Data received {"connection_id":204543,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac614a0012d1adb80071f8688003c011329..."} 
[2026-10-05 12:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac614a0012d1adb80071f8688003c011329..."} 
[2026-10-05 12:07:19] local.INFO: Processing buffer {"connection_id":204543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac614a0012d1adb80071f8688003c011329..."} 
[2026-10-05 12:07:19] local.INFO: Packet analysis {"connection_id":204543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac6"} 
[2026-10-05 12:07:19] local.INFO: Extracted packet for processing {"connection_id":204543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac6"} 
[2026-10-05 12:07:19] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:07: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-10-05 12:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542616320001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:07:19] 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-10-05 12:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791182116000,"timestamp_ms":1791182116000,"timestamp_seconds":1791182116,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac614a0"} 
[2026-10-05 12:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:07:19] 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-10-05 12:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 12:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:07: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-10-05 12:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":204543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":204543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":204543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:07:19] 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-10-05 12:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542616320001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542616320001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:07:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:07:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542616320001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":204543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:07:19] local.INFO: GPS data processed {"connection_id":204543,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:07:19] local.INFO: Acknowledgment sent {"connection_id":204543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:07:42] local.INFO: TCP Data received {"connection_id":204395,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204395,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:07:42] local.INFO: Processing buffer {"connection_id":204395,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:07:42] local.INFO: IMEI packet received {"connection_id":204395,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":204395,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:07:50] local.INFO: TCP Data received {"connection_id":204543,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac666a8012d1adb80071f8688003c011328..."} 
[2026-10-05 12:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac666a8012d1adb80071f8688003c011328..."} 
[2026-10-05 12:07:50] local.INFO: Processing buffer {"connection_id":204543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac666a8012d1adb80071f8688003c011328..."} 
[2026-10-05 12:07:50] local.INFO: Packet analysis {"connection_id":204543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac6"} 
[2026-10-05 12:07:50] local.INFO: Extracted packet for processing {"connection_id":204543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac6"} 
[2026-10-05 12:07:50] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:07: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-10-05 12:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542621696001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1791182137000,"timestamp_ms":1791182137000,"timestamp_seconds":1791182137,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac666a8"} 
[2026-10-05 12:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:07:50] 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-10-05 12:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:07:50] 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-10-05 12:07: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-10-05 12:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":204543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":204543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":204543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:07:50] 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-10-05 12:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542621696001,"66":12341,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542621696001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:07:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:07:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542621696001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":204543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:07:50] local.INFO: GPS data processed {"connection_id":204543,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:07:50] local.INFO: Acknowledgment sent {"connection_id":204543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:07:59] local.INFO: TCP Data received {"connection_id":204544,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:07:59] local.INFO: Processing buffer {"connection_id":204544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:07:59] local.INFO: IMEI packet received {"connection_id":204544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":204544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:08:04] local.INFO: TCP Data received {"connection_id":204544,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:08:04] local.INFO: Processing buffer {"connection_id":204544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:08:04] local.INFO: IMEI packet received {"connection_id":204544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":204544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:08:05] local.INFO: TCP Data received {"connection_id":204544,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:08:05] local.INFO: Processing buffer {"connection_id":204544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac43fe0012d7b524005e13b08000000a92a..."} 
[2026-10-05 12:08:05] local.INFO: Packet analysis {"connection_id":204544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac4"} 
[2026-10-05 12:08:05] local.INFO: Extracted packet for processing {"connection_id":204544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac4"} 
[2026-10-05 12:08:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":0,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542513920001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:08:05] 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-10-05 12:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791181996000,"timestamp_ms":1791181996000,"timestamp_seconds":1791181996,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac43fe0"} 
[2026-10-05 12:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12: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-10-05 12: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 12:08:05] 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-10-05 12: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-10-05 12:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:08:05] 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-10-05 12:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542513920001,"66":13059,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542513920001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:08:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:08:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542513920001,"power":13059,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":204544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:08:05] local.INFO: GPS data processed {"connection_id":204544,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:08:05] local.INFO: Acknowledgment sent {"connection_id":204544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:08:05] local.INFO: TCP Data received {"connection_id":207487,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:08:05] local.INFO: Processing buffer {"connection_id":207487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:08:05] local.INFO: IMEI packet received {"connection_id":207487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":207487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:08:10] local.INFO: TCP Data received {"connection_id":207487,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:08:10] local.INFO: Processing buffer {"connection_id":207487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:08:10] local.INFO: IMEI packet received {"connection_id":207487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":207487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:08:11] local.INFO: TCP Data received {"connection_id":207487,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac6b8b0012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac6b8b0012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:08:11] local.INFO: Processing buffer {"connection_id":207487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac6b8b0012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:08:11] local.INFO: Packet analysis {"connection_id":207487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac6"} 
[2026-10-05 12:08:11] local.INFO: Extracted packet for processing {"connection_id":207487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac6"} 
[2026-10-05 12:08:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542627072001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:08:11] 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-10-05 12:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791182158000,"timestamp_ms":1791182158000,"timestamp_seconds":1791182158,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac6b8b0"} 
[2026-10-05 12:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:08:11] 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-10-05 12:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 12:08:11] 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-10-05 12:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:08:11] 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-10-05 12:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542627072001,"66":12341,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542627072001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:08:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:08:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542627072001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":207487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:08:11] local.INFO: GPS data processed {"connection_id":207487,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:08:11] local.INFO: Acknowledgment sent {"connection_id":207487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:08:36] local.INFO: TCP Data received {"connection_id":204544,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:08:36] local.INFO: Processing buffer {"connection_id":204544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:08:36] local.INFO: Packet analysis {"connection_id":204544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:08:36] local.INFO: Extracted packet for processing {"connection_id":204544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:08:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":14,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542590976001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:08:36] 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-10-05 12:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791182297000,"timestamp_ms":1791182297000,"timestamp_seconds":1791182297,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac8d7a8"} 
[2026-10-05 12:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 12:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165747547470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":58077557095399436,"note":"Value kept but may cause issues"} 
[2026-10-05 12:08:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 12:08:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2983784449,"note":"Value kept but may cause issues"} 
[2026-10-05 12:08:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-05 12:08:36] local.WARNING: Large IO value detected {"io_id":216,"raw_value":4026609019,"note":"Value kept but may cause issues"} 
[2026-10-05 12:08:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3778869248,"note":"Value kept but may cause issues"} 
[2026-10-05 12:08:36] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,45,85,24,241,157,16,23,161,168,64,59,40,10,66,41,120,240,7,227,225,4,113,205,216,82,176,239,1,52,2,5,12],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-10-05 12:08:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":185997853720576,"timestamp_seconds":185997853720.576,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:08:36] 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-10-05 12:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542590976001,"66":13048,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542590976001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:08:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:08:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542590976001,"power":13048,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":204544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:08:36] local.INFO: GPS data processed {"connection_id":204544,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:08:36] local.INFO: Acknowledgment sent {"connection_id":204544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:08:42] local.INFO: TCP Data received {"connection_id":207487,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac70ab8012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac70ab8012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:08:42] local.INFO: Processing buffer {"connection_id":207487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac70ab8012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:08:42] local.INFO: Packet analysis {"connection_id":207487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac7"} 
[2026-10-05 12:08:42] local.INFO: Extracted packet for processing {"connection_id":207487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac7"} 
[2026-10-05 12:08:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542632448001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791182179000,"timestamp_ms":1791182179000,"timestamp_seconds":1791182179,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac70ab8"} 
[2026-10-05 12:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:08:42] 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-10-05 12: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 12:08:42] 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-10-05 12:08: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-10-05 12:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:08:42] 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-10-05 12:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542632448001,"66":12330,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542632448001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:08:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:08:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542632448001,"power":12330,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":207487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:08:42] local.INFO: GPS data processed {"connection_id":207487,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:08:42] local.INFO: Acknowledgment sent {"connection_id":207487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:08:59] local.INFO: TCP Data received {"connection_id":207488,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:08:59] local.INFO: Processing buffer {"connection_id":207488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:08:59] local.INFO: IMEI packet received {"connection_id":207488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":207488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:09:04] local.INFO: TCP Data received {"connection_id":207489,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:09:04] local.INFO: Processing buffer {"connection_id":207489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:09:04] local.INFO: IMEI packet received {"connection_id":207489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":207489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:09:04] local.INFO: TCP Data received {"connection_id":207488,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:09:04] local.INFO: Processing buffer {"connection_id":207488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:09:04] local.INFO: IMEI packet received {"connection_id":207488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":207488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:09:05] local.INFO: TCP Data received {"connection_id":207488,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:09:05] local.INFO: Processing buffer {"connection_id":207488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:09:05] local.INFO: Packet analysis {"connection_id":207488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:09:05] local.INFO: Extracted packet for processing {"connection_id":207488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:09:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":14,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542590976001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:09:05] 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-10-05 12:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791182297000,"timestamp_ms":1791182297000,"timestamp_seconds":1791182297,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac8d7a8"} 
[2026-10-05 12:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:09: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-10-05 12: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 12:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165747547470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":58077557095399436,"note":"Value kept but may cause issues"} 
[2026-10-05 12:09:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 12:09:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2983784449,"note":"Value kept but may cause issues"} 
[2026-10-05 12:09:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-05 12:09:05] local.WARNING: Large IO value detected {"io_id":216,"raw_value":4026609019,"note":"Value kept but may cause issues"} 
[2026-10-05 12:09:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3778869248,"note":"Value kept but may cause issues"} 
[2026-10-05 12:09:05] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,45,85,24,241,157,16,23,161,168,64,59,40,10,66,41,120,240,7,227,225,4,113,205,216,82,176,239,1,52,2,5,12],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-10-05 12:09:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":185997853720576,"timestamp_seconds":185997853720.576,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:09:05] 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-10-05 12:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542590976001,"66":13048,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542590976001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:09:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:09:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542590976001,"power":13048,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":207488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967037,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:09:05] local.INFO: GPS data processed {"connection_id":207488,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:09:05] local.INFO: Acknowledgment sent {"connection_id":207488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:09:05] local.INFO: TCP Data received {"connection_id":207489,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:09:05] local.INFO: Processing buffer {"connection_id":207489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:09:05] local.INFO: IMEI packet received {"connection_id":207489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":207489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:09:10] local.INFO: TCP Data received {"connection_id":207489,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:09:10] local.INFO: Processing buffer {"connection_id":207489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:09:10] local.INFO: IMEI packet received {"connection_id":207489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":207489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:09:11] local.INFO: TCP Data received {"connection_id":207489,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac75cc0012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac75cc0012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:09:11] local.INFO: Processing buffer {"connection_id":207489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac75cc0012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:09:11] local.INFO: Packet analysis {"connection_id":207489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac7"} 
[2026-10-05 12:09:11] local.INFO: Extracted packet for processing {"connection_id":207489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac7"} 
[2026-10-05 12:09:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542637824001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:09:11] 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-10-05 12:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791182200000,"timestamp_ms":1791182200000,"timestamp_seconds":1791182200,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac75cc0"} 
[2026-10-05 12:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:09:11] 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-10-05 12:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-10-05 12:09:11] 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-10-05 12:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:09:11] 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-10-05 12:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542637824001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542637824001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:09:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:09:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542637824001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":207489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:09:11] local.INFO: GPS data processed {"connection_id":207489,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:09:11] local.INFO: Acknowledgment sent {"connection_id":207489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:09:36] local.INFO: TCP Data received {"connection_id":207488,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:09:36] local.INFO: Processing buffer {"connection_id":207488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:09:36] local.INFO: Packet analysis {"connection_id":207488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:09:36] local.INFO: Extracted packet for processing {"connection_id":207488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:09:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":14,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542590976001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:09:36] 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-10-05 12:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791182297000,"timestamp_ms":1791182297000,"timestamp_seconds":1791182297,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac8d7a8"} 
[2026-10-05 12:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 12:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165747547470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":58077557095399436,"note":"Value kept but may cause issues"} 
[2026-10-05 12:09:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 12:09:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2983784449,"note":"Value kept but may cause issues"} 
[2026-10-05 12:09:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-05 12:09:36] local.WARNING: Large IO value detected {"io_id":216,"raw_value":4026609019,"note":"Value kept but may cause issues"} 
[2026-10-05 12:09:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3778869248,"note":"Value kept but may cause issues"} 
[2026-10-05 12:09:36] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,45,85,24,241,157,16,23,161,168,64,59,40,10,66,41,120,240,7,227,225,4,113,205,216,82,176,239,1,52,2,5,12],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-10-05 12:09:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":185997853720576,"timestamp_seconds":185997853720.576,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:09:36] 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-10-05 12:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542590976001,"66":13048,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542590976001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:09:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:09:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542590976001,"power":13048,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":207488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:09:36] local.INFO: GPS data processed {"connection_id":207488,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:09:36] local.INFO: Acknowledgment sent {"connection_id":207488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:09:42] local.INFO: TCP Data received {"connection_id":207489,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac7aec8012d1adb80071f8688003c011329..."} 
[2026-10-05 12:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac7aec8012d1adb80071f8688003c011329..."} 
[2026-10-05 12:09:42] local.INFO: Processing buffer {"connection_id":207489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac7aec8012d1adb80071f8688003c011329..."} 
[2026-10-05 12:09:42] local.INFO: Packet analysis {"connection_id":207489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac7"} 
[2026-10-05 12:09:42] local.INFO: Extracted packet for processing {"connection_id":207489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac7"} 
[2026-10-05 12:09:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:09: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-10-05 12:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542643200001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791182221000,"timestamp_ms":1791182221000,"timestamp_seconds":1791182221,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac7aec8"} 
[2026-10-05 12:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:09:42] 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-10-05 12:09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:09:42] 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-10-05 12:09: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-10-05 12:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:09:42] 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-10-05 12:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542643200001,"66":12341,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542643200001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:09:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:09:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542643200001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":207489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:09:42] local.INFO: GPS data processed {"connection_id":207489,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:09:42] local.INFO: Acknowledgment sent {"connection_id":207489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:09:59] local.INFO: TCP Data received {"connection_id":205948,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:09:59] local.INFO: Processing buffer {"connection_id":205948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:09:59] local.INFO: IMEI packet received {"connection_id":205948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":205948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:10:04] local.INFO: TCP Data received {"connection_id":205948,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:10:04] local.INFO: Processing buffer {"connection_id":205948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:10:04] local.INFO: IMEI packet received {"connection_id":205948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":205948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:10:05] local.INFO: TCP Data received {"connection_id":205948,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:10:05] local.INFO: Processing buffer {"connection_id":205948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:10:05] local.INFO: Packet analysis {"connection_id":205948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:10:05] local.INFO: Extracted packet for processing {"connection_id":205948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:10:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":14,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542590976001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:10:05] 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-10-05 12:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791182297000,"timestamp_ms":1791182297000,"timestamp_seconds":1791182297,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac8d7a8"} 
[2026-10-05 12:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12: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-10-05 12: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":3,"data_length":795,"current_offset":136} 
[2026-10-05 12:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165747547470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":58077557095399436,"note":"Value kept but may cause issues"} 
[2026-10-05 12:10:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 12:10:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2983784449,"note":"Value kept but may cause issues"} 
[2026-10-05 12:10:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-05 12:10:05] local.WARNING: Large IO value detected {"io_id":216,"raw_value":4026609019,"note":"Value kept but may cause issues"} 
[2026-10-05 12:10:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3778869248,"note":"Value kept but may cause issues"} 
[2026-10-05 12:10:05] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,45,85,24,241,157,16,23,161,168,64,59,40,10,66,41,120,240,7,227,225,4,113,205,216,82,176,239,1,52,2,5,12],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-10-05 12:10:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":185997853720576,"timestamp_seconds":185997853720.576,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:10:05] 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-10-05 12:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542590976001,"66":13048,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542590976001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:10:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:10:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542590976001,"power":13048,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":205948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967041,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:10:05] local.INFO: GPS data processed {"connection_id":205948,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:10:05] local.INFO: Acknowledgment sent {"connection_id":205948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:10:05] local.INFO: TCP Data received {"connection_id":204545,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:10:05] local.INFO: Processing buffer {"connection_id":204545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:10:05] local.INFO: IMEI packet received {"connection_id":204545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":204545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:10:06] local.INFO: TCP Data received {"connection_id":204545,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:10:06] local.INFO: Processing buffer {"connection_id":204545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:10:06] local.INFO: IMEI packet received {"connection_id":204545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":204545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:10:11] local.INFO: TCP Data received {"connection_id":204545,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:10:11] local.INFO: Processing buffer {"connection_id":204545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:10:11] local.INFO: IMEI packet received {"connection_id":204545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":204545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:10:11] local.INFO: TCP Data received {"connection_id":204545,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac800d0012d1adb80071f8688003c011328..."} 
[2026-10-05 12:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac800d0012d1adb80071f8688003c011328..."} 
[2026-10-05 12:10:11] local.INFO: Processing buffer {"connection_id":204545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac800d0012d1adb80071f8688003c011328..."} 
[2026-10-05 12:10:11] local.INFO: Packet analysis {"connection_id":204545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:10:11] local.INFO: Extracted packet for processing {"connection_id":204545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:10:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542648576001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:10:11] 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-10-05 12:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791182242000,"timestamp_ms":1791182242000,"timestamp_seconds":1791182242,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac800d0"} 
[2026-10-05 12:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:10:11] 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-10-05 12:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 12:10:11] 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-10-05 12:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:10:11] 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-10-05 12:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542648576001,"66":12374,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542648576001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:10:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:10:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542648576001,"power":12374,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":204545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:10:11] local.INFO: GPS data processed {"connection_id":204545,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:10:11] local.INFO: Acknowledgment sent {"connection_id":204545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:10:36] local.INFO: TCP Data received {"connection_id":205948,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:10:36] local.INFO: Processing buffer {"connection_id":205948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:10:36] local.INFO: Packet analysis {"connection_id":205948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:10:36] local.INFO: Extracted packet for processing {"connection_id":205948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:10:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":14,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542590976001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:10:36] 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-10-05 12:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791182297000,"timestamp_ms":1791182297000,"timestamp_seconds":1791182297,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac8d7a8"} 
[2026-10-05 12:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 12:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165747547470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":58077557095399436,"note":"Value kept but may cause issues"} 
[2026-10-05 12:10:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 12:10:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2983784449,"note":"Value kept but may cause issues"} 
[2026-10-05 12:10:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-05 12:10:36] local.WARNING: Large IO value detected {"io_id":216,"raw_value":4026609019,"note":"Value kept but may cause issues"} 
[2026-10-05 12:10:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3778869248,"note":"Value kept but may cause issues"} 
[2026-10-05 12:10:36] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,45,85,24,241,157,16,23,161,168,64,59,40,10,66,41,120,240,7,227,225,4,113,205,216,82,176,239,1,52,2,5,12],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-10-05 12:10:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":185997853720576,"timestamp_seconds":185997853720.576,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:10:36] 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-10-05 12:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542590976001,"66":13048,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542590976001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:10:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:10:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542590976001,"power":13048,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":205948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967043,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:10:36] local.INFO: GPS data processed {"connection_id":205948,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:10:36] local.INFO: Acknowledgment sent {"connection_id":205948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:10:42] local.INFO: TCP Data received {"connection_id":204545,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac852d8012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac852d8012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:10:42] local.INFO: Processing buffer {"connection_id":204545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac852d8012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:10:42] local.INFO: Packet analysis {"connection_id":204545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:10:42] local.INFO: Extracted packet for processing {"connection_id":204545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:10:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542653952001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791182263000,"timestamp_ms":1791182263000,"timestamp_seconds":1791182263,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac852d8"} 
[2026-10-05 12:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:10:42] 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-10-05 12: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-05 12:10:42] 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-10-05 12: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-10-05 12:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:10:42] 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-10-05 12:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542653952001,"66":12341,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542653952001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:10:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:10:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542653952001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":204545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:10:42] local.INFO: GPS data processed {"connection_id":204545,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:10:42] local.INFO: Acknowledgment sent {"connection_id":204545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:11:04] local.INFO: TCP Data received {"connection_id":207490,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207490,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:11:04] local.INFO: Processing buffer {"connection_id":207490,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:11:04] local.INFO: IMEI packet received {"connection_id":207490,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":207490,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:11:06] local.INFO: TCP Data received {"connection_id":207491,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:11:06] local.INFO: Processing buffer {"connection_id":207491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:11:06] local.INFO: IMEI packet received {"connection_id":207491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":207491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:11:09] local.INFO: TCP Data received {"connection_id":207490,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207490,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:11:09] local.INFO: Processing buffer {"connection_id":207490,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:11:09] local.INFO: IMEI packet received {"connection_id":207490,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":207490,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:11:10] local.INFO: TCP Data received {"connection_id":207491,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:11:10] local.INFO: Processing buffer {"connection_id":207491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:11:10] local.INFO: IMEI packet received {"connection_id":207491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":207491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:11:10] local.INFO: TCP Data received {"connection_id":207490,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:11:10] local.INFO: Processing buffer {"connection_id":207490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:11:10] local.INFO: Packet analysis {"connection_id":207490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:11:10] local.INFO: Extracted packet for processing {"connection_id":207490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":14,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542590976001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:10] 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-10-05 12:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791182297000,"timestamp_ms":1791182297000,"timestamp_seconds":1791182297,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac8d7a8"} 
[2026-10-05 12:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 12:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165747547470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":58077557095399436,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:10] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2983784449,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-05 12:11:10] local.WARNING: Large IO value detected {"io_id":216,"raw_value":4026609019,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3778869248,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:10] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,45,85,24,241,157,16,23,161,168,64,59,40,10,66,41,120,240,7,227,225,4,113,205,216,82,176,239,1,52,2,5,12],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-10-05 12:11:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":185997853720576,"timestamp_seconds":185997853720.576,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:11:10] 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-10-05 12:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542590976001,"66":13048,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542590976001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:11:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542590976001,"power":13048,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":207490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967045,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:11:10] local.INFO: GPS data processed {"connection_id":207490,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:11:10] local.INFO: Acknowledgment sent {"connection_id":207490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:11:10] local.INFO: TCP Data received {"connection_id":207491,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac8a4e0012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac8a4e0012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:11:10] local.INFO: Processing buffer {"connection_id":207491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac8a4e0012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:11:10] local.INFO: Packet analysis {"connection_id":207491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:11:10] local.INFO: Extracted packet for processing {"connection_id":207491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:11:10] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542659328001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:10] 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-10-05 12:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791182284000,"timestamp_ms":1791182284000,"timestamp_seconds":1791182284,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac8a4e0"} 
[2026-10-05 12:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:11: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-10-05 12:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 12:11:10] 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-10-05 12:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:11:10] 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-10-05 12:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542659328001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542659328001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:11:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:11:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542659328001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":207491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:11:11] local.INFO: GPS data processed {"connection_id":207491,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:11:11] local.INFO: Acknowledgment sent {"connection_id":207491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:11:15] local.INFO: TCP Data received {"connection_id":207490,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:11:15] local.INFO: Processing buffer {"connection_id":207490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:11:15] local.INFO: Packet analysis {"connection_id":207490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:11:15] local.INFO: Extracted packet for processing {"connection_id":207490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:11:15] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":14,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542590976001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 12:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791182297000,"timestamp_ms":1791182297000,"timestamp_seconds":1791182297,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac8d7a8"} 
[2026-10-05 12:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 12:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165747547470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":58077557095399436,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:15] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2983784449,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-05 12:11:15] local.WARNING: Large IO value detected {"io_id":216,"raw_value":4026609019,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3778869248,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:15] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,45,85,24,241,157,16,23,161,168,64,59,40,10,66,41,120,240,7,227,225,4,113,205,216,82,176,239,1,52,2,5,12],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-10-05 12:11:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":185997853720576,"timestamp_seconds":185997853720.576,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:11:15] 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-10-05 12:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542590976001,"66":13048,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542590976001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:11:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:11:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542590976001,"power":13048,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":207490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:11:15] local.INFO: GPS data processed {"connection_id":207490,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:11:15] local.INFO: Acknowledgment sent {"connection_id":207490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:11:41] local.INFO: TCP Data received {"connection_id":207491,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac8f6e8012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac8f6e8012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:11:41] local.INFO: Processing buffer {"connection_id":207491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac8f6e8012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:11:41] local.INFO: Packet analysis {"connection_id":207491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:11:41] local.INFO: Extracted packet for processing {"connection_id":207491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:11:41] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:11: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-10-05 12:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542664704001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:41] 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-10-05 12:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791182305000,"timestamp_ms":1791182305000,"timestamp_seconds":1791182305,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac8f6e8"} 
[2026-10-05 12:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:11: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-10-05 12:11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:41] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:41] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:41] local.WARNING: Large IO value detected {"io_id":161,"raw_value":776420857528261339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:41] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:41] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77452897595424768,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:41] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832572,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:41] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074386638,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:41] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:11:41] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:41] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:11:41] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,101,83,24,241,157,16,211,161,82,45,128,134,60,42,10,66,40,174,1,240,53,227,31,4,113,205,219,136,239,48,2,88,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:11:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758188361940992,"timestamp_seconds":4323758188361941.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":207491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":207491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":207491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:11:41] 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-10-05 12:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542664704001,"66":12113,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542664704001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:11:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:11:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542664704001,"power":12113,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":207491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:11:42] local.INFO: GPS data processed {"connection_id":207491,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:11:42] local.INFO: Acknowledgment sent {"connection_id":207491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:11:59] local.INFO: TCP Data received {"connection_id":204398,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:11:59] local.INFO: Processing buffer {"connection_id":204398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:11:59] local.INFO: IMEI packet received {"connection_id":204398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":204398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:12:04] local.INFO: TCP Data received {"connection_id":204398,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:12:04] local.INFO: Processing buffer {"connection_id":204398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:12:04] local.INFO: IMEI packet received {"connection_id":204398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":204398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:12:05] local.INFO: TCP Data received {"connection_id":204398,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:12:05] local.INFO: Processing buffer {"connection_id":204398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:12:05] local.INFO: Packet analysis {"connection_id":204398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:12:05] local.INFO: Extracted packet for processing {"connection_id":204398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:12:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":14,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542590976001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:12:05] 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-10-05 12:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791182297000,"timestamp_ms":1791182297000,"timestamp_seconds":1791182297,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac8d7a8"} 
[2026-10-05 12:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:12: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-10-05 12:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 12:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165747547470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":58077557095399436,"note":"Value kept but may cause issues"} 
[2026-10-05 12:12:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 12:12:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2983784449,"note":"Value kept but may cause issues"} 
[2026-10-05 12:12:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-05 12:12:05] local.WARNING: Large IO value detected {"io_id":216,"raw_value":4026609019,"note":"Value kept but may cause issues"} 
[2026-10-05 12:12:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3778869248,"note":"Value kept but may cause issues"} 
[2026-10-05 12:12:05] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,45,85,24,241,157,16,23,161,168,64,59,40,10,66,41,120,240,7,227,225,4,113,205,216,82,176,239,1,52,2,5,12],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-10-05 12:12:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":185997853720576,"timestamp_seconds":185997853720.576,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:12:05] 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-10-05 12:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542590976001,"66":13048,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542590976001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:12:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:12:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542590976001,"power":13048,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":204398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967049,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:12:05] local.INFO: GPS data processed {"connection_id":204398,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:12:05] local.INFO: Acknowledgment sent {"connection_id":204398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:12:05] local.INFO: TCP Data received {"connection_id":205950,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:12:05] local.INFO: Processing buffer {"connection_id":205950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:12:05] local.INFO: IMEI packet received {"connection_id":205950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":205950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:12:10] local.INFO: TCP Data received {"connection_id":205950,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:12:10] local.INFO: Processing buffer {"connection_id":205950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:12:10] local.INFO: IMEI packet received {"connection_id":205950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":205950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:12:11] local.INFO: TCP Data received {"connection_id":205950,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac948f0012d1adb80071f8688003c011328..."} 
[2026-10-05 12:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac948f0012d1adb80071f8688003c011328..."} 
[2026-10-05 12:12:11] local.INFO: Processing buffer {"connection_id":205950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac948f0012d1adb80071f8688003c011328..."} 
[2026-10-05 12:12:11] local.INFO: Packet analysis {"connection_id":205950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac9"} 
[2026-10-05 12:12:11] local.INFO: Extracted packet for processing {"connection_id":205950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac9"} 
[2026-10-05 12:12:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542670080001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:12:11] 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-10-05 12:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791182326000,"timestamp_ms":1791182326000,"timestamp_seconds":1791182326,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac948f0"} 
[2026-10-05 12:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:12:11] 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-10-05 12:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-10-05 12:12:11] 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-10-05 12:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:12:11] 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-10-05 12:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542670080001,"66":12341,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542670080001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:12:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:12:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542670080001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":205950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:12:11] local.INFO: GPS data processed {"connection_id":205950,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:12:11] local.INFO: Acknowledgment sent {"connection_id":205950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:12:36] local.INFO: TCP Data received {"connection_id":204398,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:12:36] local.INFO: Processing buffer {"connection_id":204398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:12:36] local.INFO: Packet analysis {"connection_id":204398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:12:36] local.INFO: Extracted packet for processing {"connection_id":204398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:12:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":14,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542590976001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:12:36] 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-10-05 12:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791182297000,"timestamp_ms":1791182297000,"timestamp_seconds":1791182297,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac8d7a8"} 
[2026-10-05 12:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 12:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165747547470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":58077557095399436,"note":"Value kept but may cause issues"} 
[2026-10-05 12:12:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 12:12:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2983784449,"note":"Value kept but may cause issues"} 
[2026-10-05 12:12:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-05 12:12:36] local.WARNING: Large IO value detected {"io_id":216,"raw_value":4026609019,"note":"Value kept but may cause issues"} 
[2026-10-05 12:12:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3778869248,"note":"Value kept but may cause issues"} 
[2026-10-05 12:12:36] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,45,85,24,241,157,16,23,161,168,64,59,40,10,66,41,120,240,7,227,225,4,113,205,216,82,176,239,1,52,2,5,12],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-10-05 12:12:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":185997853720576,"timestamp_seconds":185997853720.576,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:12:36] 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-10-05 12:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542590976001,"66":13048,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542590976001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:12:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:12:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542590976001,"power":13048,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":204398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:12:36] local.INFO: GPS data processed {"connection_id":204398,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:12:36] local.INFO: Acknowledgment sent {"connection_id":204398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:12:42] local.INFO: TCP Data received {"connection_id":205950,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac99af8012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac99af8012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:12:42] local.INFO: Processing buffer {"connection_id":205950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac99af8012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:12:42] local.INFO: Packet analysis {"connection_id":205950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac9"} 
[2026-10-05 12:12:42] local.INFO: Extracted packet for processing {"connection_id":205950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac9"} 
[2026-10-05 12:12:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542675456001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791182347000,"timestamp_ms":1791182347000,"timestamp_seconds":1791182347,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac99af8"} 
[2026-10-05 12:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:12:42] 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-10-05 12:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 12:12:42] 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-10-05 12:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":205950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":205950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":205950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:12:42] 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-10-05 12:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542675456001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542675456001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:12:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:12:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542675456001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":205950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:12:42] local.INFO: GPS data processed {"connection_id":205950,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:12:42] local.INFO: Acknowledgment sent {"connection_id":205950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:12:59] local.INFO: TCP Data received {"connection_id":207493,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:12:59] local.INFO: Processing buffer {"connection_id":207493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:12:59] local.INFO: IMEI packet received {"connection_id":207493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":207493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:13:04] local.INFO: TCP Data received {"connection_id":207493,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:13:04] local.INFO: Processing buffer {"connection_id":207493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:13:04] local.INFO: IMEI packet received {"connection_id":207493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":207493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:13:05] local.INFO: TCP Data received {"connection_id":207493,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:13:05] local.INFO: Processing buffer {"connection_id":207493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac8d7a8012d7b524005e13b08000e00a929..."} 
[2026-10-05 12:13:05] local.INFO: Packet analysis {"connection_id":207493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:13:05] local.INFO: Extracted packet for processing {"connection_id":207493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac8"} 
[2026-10-05 12:13:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":14,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542590976001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:13:05] 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-10-05 12:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791182297000,"timestamp_ms":1791182297000,"timestamp_seconds":1791182297,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac8d7a8"} 
[2026-10-05 12:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:13: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-10-05 12:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 12:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165747547470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":58077557095399436,"note":"Value kept but may cause issues"} 
[2026-10-05 12:13:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 12:13:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2983784449,"note":"Value kept but may cause issues"} 
[2026-10-05 12:13:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-05 12:13:05] local.WARNING: Large IO value detected {"io_id":216,"raw_value":4026609019,"note":"Value kept but may cause issues"} 
[2026-10-05 12:13:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3778869248,"note":"Value kept but may cause issues"} 
[2026-10-05 12:13:05] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,45,85,24,241,157,16,23,161,168,64,59,40,10,66,41,120,240,7,227,225,4,113,205,216,82,176,239,1,52,2,5,12],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-10-05 12:13:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":185997853720576,"timestamp_seconds":185997853720.576,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:13:05] 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-10-05 12:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542590976001,"66":13048,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542590976001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:13:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:13:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542590976001,"power":13048,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:13:05] local.INFO: TCP Data received {"connection_id":205952,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:13:05] local.INFO: Processing buffer {"connection_id":205952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:13:05] local.INFO: IMEI packet received {"connection_id":205952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":205952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":207493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:13:05] local.INFO: GPS data processed {"connection_id":207493,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:13:05] local.INFO: Acknowledgment sent {"connection_id":207493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:13:11] local.INFO: TCP Data received {"connection_id":205952,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:13:11] local.INFO: Processing buffer {"connection_id":205952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:13:11] local.INFO: IMEI packet received {"connection_id":205952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":205952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:13:12] local.INFO: TCP Data received {"connection_id":205952,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ac9ed00012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ac9ed00012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:13:12] local.INFO: Processing buffer {"connection_id":205952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ac9ed00012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:13:12] local.INFO: Packet analysis {"connection_id":205952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ac9"} 
[2026-10-05 12:13:12] local.INFO: Extracted packet for processing {"connection_id":205952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ac9"} 
[2026-10-05 12:13:12] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542680832001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791182368000,"timestamp_ms":1791182368000,"timestamp_seconds":1791182368,"priority":1,"record_length":96,"hex_timestamp":"000001a10ac9ed00"} 
[2026-10-05 12:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:13: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-10-05 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12: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-10-05 12:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":205952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":205952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":205952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:13:12] 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-10-05 12:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542680832001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542680832001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:13:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:13:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542680832001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":205952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:13:12] local.INFO: GPS data processed {"connection_id":205952,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:13:12] local.INFO: Acknowledgment sent {"connection_id":205952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:13:36] local.INFO: TCP Data received {"connection_id":207493,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:13:36] local.INFO: Processing buffer {"connection_id":207493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:13:36] local.INFO: Packet analysis {"connection_id":207493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10acd"} 
[2026-10-05 12:13:36] local.INFO: Extracted packet for processing {"connection_id":207493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10acd"} 
[2026-10-05 12:13:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":14,"angle":169,"satellites":39,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542668032001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:13:36] 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-10-05 12:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791182598000,"timestamp_ms":1791182598000,"timestamp_seconds":1791182598,"priority":1,"record_length":96,"hex_timestamp":"000001a10acd6f70"} 
[2026-10-05 12:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 12:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:13:36] 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-10-05 12:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542668032001,"66":13004,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542668032001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:13:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:13:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542668032001,"power":13004,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":207493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:13:36] local.INFO: GPS data processed {"connection_id":207493,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:13:36] local.INFO: Acknowledgment sent {"connection_id":207493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:13:42] local.INFO: TCP Data received {"connection_id":205953,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:13:42] local.INFO: Processing buffer {"connection_id":205953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:13:42] local.INFO: IMEI packet received {"connection_id":205953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":205953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:13:43] local.INFO: TCP Data received {"connection_id":205952,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aca3f08012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aca3f08012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:13:43] local.INFO: Processing buffer {"connection_id":205952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aca3f08012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:13:43] local.INFO: Packet analysis {"connection_id":205952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aca"} 
[2026-10-05 12:13:43] local.INFO: Extracted packet for processing {"connection_id":205952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aca"} 
[2026-10-05 12:13:43] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542686208001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791182389000,"timestamp_ms":1791182389000,"timestamp_seconds":1791182389,"priority":1,"record_length":96,"hex_timestamp":"000001a10aca3f08"} 
[2026-10-05 12:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:13:43] 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-10-05 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:13:43] 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-10-05 12: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-10-05 12:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":205952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":205952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":205952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:13:43] 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-10-05 12:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542686208001,"66":12341,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542686208001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:13:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:13:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542686208001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":205952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:13:43] local.INFO: GPS data processed {"connection_id":205952,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:13:43] local.INFO: Acknowledgment sent {"connection_id":205952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:13:59] local.INFO: TCP Data received {"connection_id":205954,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:13:59] local.INFO: Processing buffer {"connection_id":205954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:13:59] local.INFO: IMEI packet received {"connection_id":205954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":205954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:14:04] local.INFO: TCP Data received {"connection_id":205954,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:14:04] local.INFO: Processing buffer {"connection_id":205954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:14:04] local.INFO: IMEI packet received {"connection_id":205954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":205954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:14:05] local.INFO: TCP Data received {"connection_id":205954,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:14:05] local.INFO: Processing buffer {"connection_id":205954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:14:05] local.INFO: Packet analysis {"connection_id":205954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10acd"} 
[2026-10-05 12:14:05] local.INFO: Extracted packet for processing {"connection_id":205954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10acd"} 
[2026-10-05 12:14:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":14,"angle":169,"satellites":39,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542668032001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:14:05] 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-10-05 12:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791182598000,"timestamp_ms":1791182598000,"timestamp_seconds":1791182598,"priority":1,"record_length":96,"hex_timestamp":"000001a10acd6f70"} 
[2026-10-05 12:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:14: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-10-05 12:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 12:14:05] 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-10-05 12:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:14:05] 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-10-05 12:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542668032001,"66":13004,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542668032001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:14:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:14:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542668032001,"power":13004,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":205954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:14:05] local.INFO: GPS data processed {"connection_id":205954,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:14:05] local.INFO: Acknowledgment sent {"connection_id":205954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:14:10] local.INFO: TCP Data received {"connection_id":204546,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:14:10] local.INFO: Processing buffer {"connection_id":204546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:14:10] local.INFO: IMEI packet received {"connection_id":204546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":204546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:14:15] local.INFO: TCP Data received {"connection_id":204546,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:14:15] local.INFO: Processing buffer {"connection_id":204546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:14:15] local.INFO: IMEI packet received {"connection_id":204546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":204546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:14:16] local.INFO: TCP Data received {"connection_id":204546,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aca9110012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aca9110012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:14:16] local.INFO: Processing buffer {"connection_id":204546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aca9110012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:14:16] local.INFO: Packet analysis {"connection_id":204546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aca"} 
[2026-10-05 12:14:16] local.INFO: Extracted packet for processing {"connection_id":204546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aca"} 
[2026-10-05 12:14:16] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542691584001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791182410000,"timestamp_ms":1791182410000,"timestamp_seconds":1791182410,"priority":1,"record_length":96,"hex_timestamp":"000001a10aca9110"} 
[2026-10-05 12:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:14:16] 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-10-05 12:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 12:14:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:14:16] 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-10-05 12:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542691584001,"66":11471,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542691584001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:14:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:14:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542691584001,"power":11471,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":204546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:14:16] local.INFO: GPS data processed {"connection_id":204546,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:14:16] local.INFO: Acknowledgment sent {"connection_id":204546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:14:19] local.INFO: TCP Data received {"connection_id":204546,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10acae318012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10acae318012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:14:19] local.INFO: Processing buffer {"connection_id":204546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10acae318012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:14:19] local.INFO: Packet analysis {"connection_id":204546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aca"} 
[2026-10-05 12:14:19] local.INFO: Extracted packet for processing {"connection_id":204546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aca"} 
[2026-10-05 12:14:19] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542696960001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:14:19] 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-10-05 12:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791182431000,"timestamp_ms":1791182431000,"timestamp_seconds":1791182431,"priority":1,"record_length":96,"hex_timestamp":"000001a10acae318"} 
[2026-10-05 12:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12: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":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-05 12:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12: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-10-05 12:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":204546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":204546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":204546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:14:19] 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-10-05 12:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542696960001,"66":12004,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542696960001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:14:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:14:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542696960001,"power":12004,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":204546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:14:19] local.INFO: GPS data processed {"connection_id":204546,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:14:19] local.INFO: Acknowledgment sent {"connection_id":204546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:14:36] local.INFO: TCP Data received {"connection_id":205954,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:14:36] local.INFO: Processing buffer {"connection_id":205954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:14:36] local.INFO: Packet analysis {"connection_id":205954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10acd"} 
[2026-10-05 12:14:36] local.INFO: Extracted packet for processing {"connection_id":205954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10acd"} 
[2026-10-05 12:14:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":14,"angle":169,"satellites":39,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542668032001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:14:36] 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-10-05 12:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791182598000,"timestamp_ms":1791182598000,"timestamp_seconds":1791182598,"priority":1,"record_length":96,"hex_timestamp":"000001a10acd6f70"} 
[2026-10-05 12:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 12:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12: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-10-05 12:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:14:36] 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-10-05 12:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542668032001,"66":13004,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542668032001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:14:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:14:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542668032001,"power":13004,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":205954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:14:36] local.INFO: GPS data processed {"connection_id":205954,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:14:36] local.INFO: Acknowledgment sent {"connection_id":205954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:14:50] local.INFO: TCP Data received {"connection_id":204546,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10acb3520012d1adb80071f8688003c011329..."} 
[2026-10-05 12:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10acb3520012d1adb80071f8688003c011329..."} 
[2026-10-05 12:14:50] local.INFO: Processing buffer {"connection_id":204546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10acb3520012d1adb80071f8688003c011329..."} 
[2026-10-05 12:14:50] local.INFO: Packet analysis {"connection_id":204546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10acb"} 
[2026-10-05 12:14:50] local.INFO: Extracted packet for processing {"connection_id":204546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10acb"} 
[2026-10-05 12:14:50] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542702336001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1791182452000,"timestamp_ms":1791182452000,"timestamp_seconds":1791182452,"priority":1,"record_length":96,"hex_timestamp":"000001a10acb3520"} 
[2026-10-05 12:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:14:50] 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-10-05 12:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-05 12:14:50] 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-10-05 12:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":204546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":204546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":204546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:14:50] 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-10-05 12:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542702336001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542702336001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:14:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:14:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542702336001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":204546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:14:50] local.INFO: GPS data processed {"connection_id":204546,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:14:50] local.INFO: Acknowledgment sent {"connection_id":204546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:14:59] local.INFO: TCP Data received {"connection_id":204399,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:14:59] local.INFO: Processing buffer {"connection_id":204399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:14:59] local.INFO: IMEI packet received {"connection_id":204399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":204399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:15:04] local.INFO: TCP Data received {"connection_id":204399,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:15:04] local.INFO: Processing buffer {"connection_id":204399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:15:04] local.INFO: IMEI packet received {"connection_id":204399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":204399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:15:05] local.INFO: TCP Data received {"connection_id":204399,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:15:05] local.INFO: Processing buffer {"connection_id":204399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:15:05] local.INFO: Packet analysis {"connection_id":204399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10acd"} 
[2026-10-05 12:15:05] local.INFO: Extracted packet for processing {"connection_id":204399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10acd"} 
[2026-10-05 12:15:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":14,"angle":169,"satellites":39,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542668032001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:15:05] 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-10-05 12:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791182598000,"timestamp_ms":1791182598000,"timestamp_seconds":1791182598,"priority":1,"record_length":96,"hex_timestamp":"000001a10acd6f70"} 
[2026-10-05 12:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:15: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-10-05 12:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 12:15:05] 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-10-05 12:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:15:05] 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-10-05 12:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542668032001,"66":13004,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542668032001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:15:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:15:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542668032001,"power":13004,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":204399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:15:05] local.INFO: GPS data processed {"connection_id":204399,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:15:05] local.INFO: Acknowledgment sent {"connection_id":204399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:15:05] local.INFO: TCP Data received {"connection_id":204547,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:15:05] local.INFO: Processing buffer {"connection_id":204547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:15:05] local.INFO: IMEI packet received {"connection_id":204547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":204547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:15:10] local.INFO: TCP Data received {"connection_id":204547,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:15:10] local.INFO: Processing buffer {"connection_id":204547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:15:10] local.INFO: IMEI packet received {"connection_id":204547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":204547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:15:11] local.INFO: TCP Data received {"connection_id":204547,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10acb8728012d1adb80071f8688003c011326..."} 
[2026-10-05 12:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10acb8728012d1adb80071f8688003c011326..."} 
[2026-10-05 12:15:11] local.INFO: Processing buffer {"connection_id":204547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10acb8728012d1adb80071f8688003c011326..."} 
[2026-10-05 12:15:11] local.INFO: Packet analysis {"connection_id":204547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10acb"} 
[2026-10-05 12:15:11] local.INFO: Extracted packet for processing {"connection_id":204547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10acb"} 
[2026-10-05 12:15:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542707712001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:15:11] 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-10-05 12:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791182473000,"timestamp_ms":1791182473000,"timestamp_seconds":1791182473,"priority":1,"record_length":96,"hex_timestamp":"000001a10acb8728"} 
[2026-10-05 12:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:15:11] 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-10-05 12:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:15:11] 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-10-05 12:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:15:11] 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-10-05 12:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542707712001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542707712001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:15:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:15:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542707712001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":204547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:15:11] local.INFO: GPS data processed {"connection_id":204547,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:15:11] local.INFO: Acknowledgment sent {"connection_id":204547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:15:36] local.INFO: TCP Data received {"connection_id":204399,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:15:36] local.INFO: Processing buffer {"connection_id":204399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:15:36] local.INFO: Packet analysis {"connection_id":204399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10acd"} 
[2026-10-05 12:15:36] local.INFO: Extracted packet for processing {"connection_id":204399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10acd"} 
[2026-10-05 12:15:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":14,"angle":169,"satellites":39,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542668032001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:15:36] 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-10-05 12:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791182598000,"timestamp_ms":1791182598000,"timestamp_seconds":1791182598,"priority":1,"record_length":96,"hex_timestamp":"000001a10acd6f70"} 
[2026-10-05 12:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 12:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:15:36] 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-10-05 12:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542668032001,"66":13004,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542668032001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:15:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:15:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542668032001,"power":13004,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":204399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967064,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:15:36] local.INFO: GPS data processed {"connection_id":204399,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:15:36] local.INFO: Acknowledgment sent {"connection_id":204399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:15:42] local.INFO: TCP Data received {"connection_id":204547,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10acbd930012d1adb80071f8688003c011328..."} 
[2026-10-05 12:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10acbd930012d1adb80071f8688003c011328..."} 
[2026-10-05 12:15:42] local.INFO: Processing buffer {"connection_id":204547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10acbd930012d1adb80071f8688003c011328..."} 
[2026-10-05 12:15:42] local.INFO: Packet analysis {"connection_id":204547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10acb"} 
[2026-10-05 12:15:42] local.INFO: Extracted packet for processing {"connection_id":204547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10acb"} 
[2026-10-05 12:15:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:15: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-10-05 12:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542713088001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791182494000,"timestamp_ms":1791182494000,"timestamp_seconds":1791182494,"priority":1,"record_length":96,"hex_timestamp":"000001a10acbd930"} 
[2026-10-05 12:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:15:42] 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-10-05 12:15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:15:42] 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-10-05 12:15: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-10-05 12:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:15:42] 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-10-05 12:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542713088001,"66":11569,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542713088001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:15:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:15:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542713088001,"power":11569,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":204547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:15:42] local.INFO: GPS data processed {"connection_id":204547,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:15:42] local.INFO: Acknowledgment sent {"connection_id":204547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:15:59] local.INFO: TCP Data received {"connection_id":207494,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:15:59] local.INFO: Processing buffer {"connection_id":207494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:15:59] local.INFO: IMEI packet received {"connection_id":207494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":207494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:16:03] local.INFO: TCP Data received {"connection_id":207495,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:16:03] local.INFO: Processing buffer {"connection_id":207495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:16:03] local.INFO: IMEI packet received {"connection_id":207495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":207495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:16:04] local.INFO: TCP Data received {"connection_id":207494,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:16:04] local.INFO: Processing buffer {"connection_id":207494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:16:04] local.INFO: IMEI packet received {"connection_id":207494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":207494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:16:05] local.INFO: TCP Data received {"connection_id":207494,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:16:05] local.INFO: Processing buffer {"connection_id":207494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:16:05] local.INFO: Packet analysis {"connection_id":207494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10acd"} 
[2026-10-05 12:16:05] local.INFO: Extracted packet for processing {"connection_id":207494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10acd"} 
[2026-10-05 12:16:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":14,"angle":169,"satellites":39,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542668032001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:16:05] 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-10-05 12:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791182598000,"timestamp_ms":1791182598000,"timestamp_seconds":1791182598,"priority":1,"record_length":96,"hex_timestamp":"000001a10acd6f70"} 
[2026-10-05 12:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:16: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-10-05 12: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 12:16:05] 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-10-05 12: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-10-05 12:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:16:05] 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-10-05 12:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542668032001,"66":13004,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542668032001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:16:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:16:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542668032001,"power":13004,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":207494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:16:05] local.INFO: GPS data processed {"connection_id":207494,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:16:05] local.INFO: Acknowledgment sent {"connection_id":207494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:16:06] local.INFO: TCP Data received {"connection_id":207495,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:16:06] local.INFO: Processing buffer {"connection_id":207495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:16:06] local.INFO: IMEI packet received {"connection_id":207495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":207495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:16:11] local.INFO: TCP Data received {"connection_id":207495,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:16:11] local.INFO: Processing buffer {"connection_id":207495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:16:11] local.INFO: IMEI packet received {"connection_id":207495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":207495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:16:12] local.INFO: TCP Data received {"connection_id":207495,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10acc2b38012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10acc2b38012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:16:12] local.INFO: Processing buffer {"connection_id":207495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10acc2b38012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:16:12] local.INFO: Packet analysis {"connection_id":207495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10acc"} 
[2026-10-05 12:16:12] local.INFO: Extracted packet for processing {"connection_id":207495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10acc"} 
[2026-10-05 12:16:12] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542718464001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791182515000,"timestamp_ms":1791182515000,"timestamp_seconds":1791182515,"priority":1,"record_length":96,"hex_timestamp":"000001a10acc2b38"} 
[2026-10-05 12:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:16: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-10-05 12: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":45,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-10-05 12:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":864,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12: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-10-05 12:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":207495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":207495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":207495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:16:12] 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-10-05 12:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542718464001,"66":12341,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542718464001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:16:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:16:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542718464001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":207495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:16:12] local.INFO: GPS data processed {"connection_id":207495,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:16:12] local.INFO: Acknowledgment sent {"connection_id":207495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:16:36] local.INFO: TCP Data received {"connection_id":207494,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:16:36] local.INFO: Processing buffer {"connection_id":207494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:16:36] local.INFO: Packet analysis {"connection_id":207494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10acd"} 
[2026-10-05 12:16:36] local.INFO: Extracted packet for processing {"connection_id":207494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10acd"} 
[2026-10-05 12:16:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":14,"angle":169,"satellites":39,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542668032001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:16:36] 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-10-05 12:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791182598000,"timestamp_ms":1791182598000,"timestamp_seconds":1791182598,"priority":1,"record_length":96,"hex_timestamp":"000001a10acd6f70"} 
[2026-10-05 12:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 12:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:16:36] 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-10-05 12:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542668032001,"66":13004,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542668032001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:16:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:16:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542668032001,"power":13004,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":207494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:16:36] local.INFO: GPS data processed {"connection_id":207494,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:16:36] local.INFO: Acknowledgment sent {"connection_id":207494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:16:43] local.INFO: TCP Data received {"connection_id":207495,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10acc7d40012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10acc7d40012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:16:43] local.INFO: Processing buffer {"connection_id":207495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10acc7d40012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:16:43] local.INFO: Packet analysis {"connection_id":207495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10acc"} 
[2026-10-05 12:16:43] local.INFO: Extracted packet for processing {"connection_id":207495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10acc"} 
[2026-10-05 12:16:43] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542723840001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791182536000,"timestamp_ms":1791182536000,"timestamp_seconds":1791182536,"priority":1,"record_length":96,"hex_timestamp":"000001a10acc7d40"} 
[2026-10-05 12:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:16:43] 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-10-05 12:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 12:16:43] 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-10-05 12:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:16:43] 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-10-05 12:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542723840001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542723840001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:16:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:16:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542723840001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":207495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:16:43] local.INFO: GPS data processed {"connection_id":207495,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:16:43] local.INFO: Acknowledgment sent {"connection_id":207495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:17:04] local.INFO: TCP Data received {"connection_id":204400,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:17:04] local.INFO: Processing buffer {"connection_id":204400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:17:04] local.INFO: IMEI packet received {"connection_id":204400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":204400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:17:06] local.INFO: TCP Data received {"connection_id":204548,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:17:06] local.INFO: Processing buffer {"connection_id":204548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:17:06] local.INFO: IMEI packet received {"connection_id":204548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":204548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:17:06] local.INFO: TCP Data received {"connection_id":204548,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:17:06] local.INFO: Processing buffer {"connection_id":204548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:17:06] local.INFO: IMEI packet received {"connection_id":204548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":204548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:17:09] local.INFO: TCP Data received {"connection_id":204400,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:17:09] local.INFO: Processing buffer {"connection_id":204400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:17:09] local.INFO: IMEI packet received {"connection_id":204400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":204400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:17:10] local.INFO: TCP Data received {"connection_id":204400,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:17:10] local.INFO: Processing buffer {"connection_id":204400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:17:10] local.INFO: Packet analysis {"connection_id":204400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10acd"} 
[2026-10-05 12:17:10] local.INFO: Extracted packet for processing {"connection_id":204400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10acd"} 
[2026-10-05 12:17:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":14,"angle":169,"satellites":39,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542668032001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:17:10] 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-10-05 12:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791182598000,"timestamp_ms":1791182598000,"timestamp_seconds":1791182598,"priority":1,"record_length":96,"hex_timestamp":"000001a10acd6f70"} 
[2026-10-05 12:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 12:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12: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-10-05 12:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542668032001,"66":13004,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542668032001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:17:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:17:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542668032001,"power":13004,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":204400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967070,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:17:10] local.INFO: GPS data processed {"connection_id":204400,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:17:10] local.INFO: Acknowledgment sent {"connection_id":204400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:17:10] local.INFO: TCP Data received {"connection_id":204548,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:17:10] local.INFO: Processing buffer {"connection_id":204548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:17:10] local.INFO: IMEI packet received {"connection_id":204548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":204548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:17:11] local.INFO: TCP Data received {"connection_id":204548,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10acccf48012d1adb80071f8688003c011326..."} 
[2026-10-05 12:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10acccf48012d1adb80071f8688003c011326..."} 
[2026-10-05 12:17:11] local.INFO: Processing buffer {"connection_id":204548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10acccf48012d1adb80071f8688003c011326..."} 
[2026-10-05 12:17:11] local.INFO: Packet analysis {"connection_id":204548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10acc"} 
[2026-10-05 12:17:11] local.INFO: Extracted packet for processing {"connection_id":204548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10acc"} 
[2026-10-05 12:17:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542729216001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:17:11] 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-10-05 12:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791182557000,"timestamp_ms":1791182557000,"timestamp_seconds":1791182557,"priority":1,"record_length":96,"hex_timestamp":"000001a10acccf48"} 
[2026-10-05 12:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:17:11] 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-10-05 12:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:17:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:17:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:17:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:17:11] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:17:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":777503189286853339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:17:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:17:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77451798083796992,"note":"Value kept but may cause issues"} 
[2026-10-05 12:17:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832573,"note":"Value kept but may cause issues"} 
[2026-10-05 12:17:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3228800340336115918,"note":"Value kept but may cause issues"} 
[2026-10-05 12:17:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:17:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:17:11] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:17:11] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3825257848,"note":"Value kept but may cause issues"} 
[2026-10-05 12:17:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:17:11] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,101,83,24,241,157,16,211,161,43,45,128,134,60,42,10,66,217,40,135,1,240,255,227,31,4,113,205,219,136,239,46,2,88,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:17:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758188361940992,"timestamp_seconds":4323758188361941.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:17:11] 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-10-05 12:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542729216001,"66":12319,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542729216001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:17:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:17:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542729216001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":204548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:17:11] local.INFO: GPS data processed {"connection_id":204548,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:17:11] local.INFO: Acknowledgment sent {"connection_id":204548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:17:15] local.INFO: TCP Data received {"connection_id":204400,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:17:15] local.INFO: Processing buffer {"connection_id":204400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:17:15] local.INFO: Packet analysis {"connection_id":204400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10acd"} 
[2026-10-05 12:17:15] local.INFO: Extracted packet for processing {"connection_id":204400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10acd"} 
[2026-10-05 12:17:15] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":14,"angle":169,"satellites":39,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542668032001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:17:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 12:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791182598000,"timestamp_ms":1791182598000,"timestamp_seconds":1791182598,"priority":1,"record_length":96,"hex_timestamp":"000001a10acd6f70"} 
[2026-10-05 12:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 12:17:15] 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-10-05 12:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542668032001,"66":13004,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542668032001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:17:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:17:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542668032001,"power":13004,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":204400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967072,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:17:15] local.INFO: GPS data processed {"connection_id":204400,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:17:15] local.INFO: Acknowledgment sent {"connection_id":204400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:17:42] local.INFO: TCP Data received {"connection_id":204548,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10acd2150012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10acd2150012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:17:42] local.INFO: Processing buffer {"connection_id":204548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10acd2150012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:17:42] local.INFO: Packet analysis {"connection_id":204548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10acd"} 
[2026-10-05 12:17:42] local.INFO: Extracted packet for processing {"connection_id":204548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10acd"} 
[2026-10-05 12:17:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542734592001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791182578000,"timestamp_ms":1791182578000,"timestamp_seconds":1791182578,"priority":1,"record_length":96,"hex_timestamp":"000001a10acd2150"} 
[2026-10-05 12:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:17:42] 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-10-05 12:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-10-05 12:17:42] 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-10-05 12:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:17:42] 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-10-05 12:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542734592001,"66":12341,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542734592001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:17:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:17:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542734592001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":204548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:17:42] local.INFO: GPS data processed {"connection_id":204548,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:17:42] local.INFO: Acknowledgment sent {"connection_id":204548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:17:59] local.INFO: TCP Data received {"connection_id":207496,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207496,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:17:59] local.INFO: Processing buffer {"connection_id":207496,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:17:59] local.INFO: IMEI packet received {"connection_id":207496,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":207496,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:18:04] local.INFO: TCP Data received {"connection_id":207496,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207496,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:18:04] local.INFO: Processing buffer {"connection_id":207496,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:18:04] local.INFO: IMEI packet received {"connection_id":207496,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":207496,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:18:05] local.INFO: TCP Data received {"connection_id":205955,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:18:05] local.INFO: Processing buffer {"connection_id":205955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:18:05] local.INFO: IMEI packet received {"connection_id":205955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":205955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:18:05] local.INFO: TCP Data received {"connection_id":207496,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:18:05] local.INFO: Processing buffer {"connection_id":207496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10acd6f70012d7b524005e13b08000e00a927..."} 
[2026-10-05 12:18:05] local.INFO: Packet analysis {"connection_id":207496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10acd"} 
[2026-10-05 12:18:05] local.INFO: Extracted packet for processing {"connection_id":207496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10acd"} 
[2026-10-05 12:18:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":14,"angle":169,"satellites":39,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542668032001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:18:05] 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-10-05 12:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791182598000,"timestamp_ms":1791182598000,"timestamp_seconds":1791182598,"priority":1,"record_length":96,"hex_timestamp":"000001a10acd6f70"} 
[2026-10-05 12:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:18: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-10-05 12:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 12:18:05] 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-10-05 12:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542668032001,"66":13004,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542668032001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:18:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:18:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542668032001,"power":13004,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":207496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967074,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:18:05] local.INFO: GPS data processed {"connection_id":207496,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:18:05] local.INFO: Acknowledgment sent {"connection_id":207496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:18:09] local.INFO: TCP Data received {"connection_id":205955,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:18:09] local.INFO: Processing buffer {"connection_id":205955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:18:09] local.INFO: IMEI packet received {"connection_id":205955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":205955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:18:10] local.INFO: TCP Data received {"connection_id":205955,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad0a7a8012d1adb80071f8688003c011326..."} 
[2026-10-05 12:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad0a7a8012d1adb80071f8688003c011326..."} 
[2026-10-05 12:18:10] local.INFO: Processing buffer {"connection_id":205955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad0a7a8012d1adb80071f8688003c011326..."} 
[2026-10-05 12:18:10] local.INFO: Packet analysis {"connection_id":205955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad0"} 
[2026-10-05 12:18:10] local.INFO: Extracted packet for processing {"connection_id":205955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad0"} 
[2026-10-05 12:18:10] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542793728001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:18:10] 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-10-05 12:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791182809000,"timestamp_ms":1791182809000,"timestamp_seconds":1791182809,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad0a7a8"} 
[2026-10-05 12:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:18:10] 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-10-05 12:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-05 12:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":765,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":205955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":205955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":205955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:18:10] 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-10-05 12:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542793728001,"66":12341,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542793728001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:18:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:18:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542793728001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":205955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:18:10] local.INFO: GPS data processed {"connection_id":205955,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:18:10] local.INFO: Acknowledgment sent {"connection_id":205955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:18:36] local.INFO: TCP Data received {"connection_id":207496,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:18:36] local.INFO: Processing buffer {"connection_id":207496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:18:36] local.INFO: Packet analysis {"connection_id":207496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:18:36] local.INFO: Extracted packet for processing {"connection_id":207496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:18:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":13,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542745088001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:18:36] 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-10-05 12:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791182899000,"timestamp_ms":1791182899000,"timestamp_seconds":1791182899,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad20738"} 
[2026-10-05 12:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-10-05 12:18:36] 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-10-05 12: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-10-05 12:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542745088001,"66":12950,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542745088001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:18:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:18:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542745088001,"power":12950,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":207496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967076,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:18:36] local.INFO: GPS data processed {"connection_id":207496,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:18:36] local.INFO: Acknowledgment sent {"connection_id":207496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:18:41] local.INFO: TCP Data received {"connection_id":205955,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad0f9b0012d1adb80071f8688003c011328..."} 
[2026-10-05 12:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad0f9b0012d1adb80071f8688003c011328..."} 
[2026-10-05 12:18:41] local.INFO: Processing buffer {"connection_id":205955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad0f9b0012d1adb80071f8688003c011328..."} 
[2026-10-05 12:18:41] local.INFO: Packet analysis {"connection_id":205955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad0"} 
[2026-10-05 12:18:41] local.INFO: Extracted packet for processing {"connection_id":205955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad0"} 
[2026-10-05 12:18:41] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542799104001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:18:41] 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-10-05 12:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791182830000,"timestamp_ms":1791182830000,"timestamp_seconds":1791182830,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad0f9b0"} 
[2026-10-05 12:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:18:41] 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-10-05 12:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 12:18:41] 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-10-05 12:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":205955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":205955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":205955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:18:41] 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-10-05 12:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542799104001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542799104001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:18:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:18:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542799104001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":205955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:18:41] local.INFO: GPS data processed {"connection_id":205955,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:18:41] local.INFO: Acknowledgment sent {"connection_id":205955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:19:00] local.INFO: TCP Data received {"connection_id":207497,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:19:00] local.INFO: Processing buffer {"connection_id":207497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:19:00] local.INFO: IMEI packet received {"connection_id":207497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":207497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:19:04] local.INFO: TCP Data received {"connection_id":207498,"ip":"117.224.56.244","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:19:04] local.INFO: Processing buffer {"connection_id":207498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:19:04] local.INFO: IMEI packet received {"connection_id":207498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":207498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:19:04] local.INFO: TCP Data received {"connection_id":207497,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:19:04] local.INFO: Processing buffer {"connection_id":207497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:19:04] local.INFO: IMEI packet received {"connection_id":207497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":207497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:19:05] local.INFO: TCP Data received {"connection_id":207499,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:19:05] local.INFO: Processing buffer {"connection_id":207499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:19:05] local.INFO: IMEI packet received {"connection_id":207499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":207499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:19:05] local.INFO: TCP Data received {"connection_id":207497,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:19:05] local.INFO: Processing buffer {"connection_id":207497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:19:05] local.INFO: Packet analysis {"connection_id":207497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:19:05] local.INFO: Extracted packet for processing {"connection_id":207497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:19:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":13,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542745088001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:19:05] 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-10-05 12:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791182899000,"timestamp_ms":1791182899000,"timestamp_seconds":1791182899,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad20738"} 
[2026-10-05 12:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:19: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-10-05 12:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-10-05 12:19:05] 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-10-05 12:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542745088001,"66":12950,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542745088001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:19:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:19:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542745088001,"power":12950,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":207497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:19:05] local.INFO: GPS data processed {"connection_id":207497,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:19:05] local.INFO: Acknowledgment sent {"connection_id":207497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:19:09] local.INFO: TCP Data received {"connection_id":207498,"ip":"117.224.56.244","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:19:09] local.INFO: Processing buffer {"connection_id":207498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:19:09] local.INFO: IMEI packet received {"connection_id":207498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":207498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:19:10] local.INFO: TCP Data received {"connection_id":207499,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:19:10] local.INFO: Processing buffer {"connection_id":207499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:19:10] local.INFO: IMEI packet received {"connection_id":207499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":207499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:19:11] local.INFO: TCP Data received {"connection_id":207499,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad14bb8012d1adb80071f8688003c011328..."} 
[2026-10-05 12:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad14bb8012d1adb80071f8688003c011328..."} 
[2026-10-05 12:19:11] local.INFO: Processing buffer {"connection_id":207499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad14bb8012d1adb80071f8688003c011328..."} 
[2026-10-05 12:19:11] local.INFO: Packet analysis {"connection_id":207499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad1"} 
[2026-10-05 12:19:11] local.INFO: Extracted packet for processing {"connection_id":207499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad1"} 
[2026-10-05 12:19:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542804480001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:19:11] 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-10-05 12:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791182851000,"timestamp_ms":1791182851000,"timestamp_seconds":1791182851,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad14bb8"} 
[2026-10-05 12:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:19:11] 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-10-05 12:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:19:11] 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-10-05 12:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:19:11] 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-10-05 12:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542804480001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542804480001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:19:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:19:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542804480001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":207499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:19:11] local.INFO: GPS data processed {"connection_id":207499,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:19:11] local.INFO: Acknowledgment sent {"connection_id":207499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:19:15] local.INFO: TCP Data received {"connection_id":207498,"ip":"117.224.56.244","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad05988012c5880c009bfbdf002d5000823..."} 
[2026-10-05 12:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad05988012c5880c009bfbdf002d5000823..."} 
[2026-10-05 12:19:15] local.INFO: Processing buffer {"connection_id":207498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad05988012c5880c009bfbdf002d5000823..."} 
[2026-10-05 12:19:15] local.INFO: Packet analysis {"connection_id":207498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad0"} 
[2026-10-05 12:19:15] local.INFO: Extracted packet for processing {"connection_id":207498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad0"} 
[2026-10-05 12:19:15] local.INFO: GPS Element Parsed {"raw_longitude":743997632,"raw_latitude":163560944,"longitude_deg":74.3997632,"latitude_deg":16.3560944,"altitude":725,"angle":8,"satellites":35,"speed":31,"hex_longitude":"2c5880c0","hex_latitude":"09bfbdf0","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542791424001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8702312411299840,"note":"Value kept but may cause issues"} 
[2026-10-05 12:19:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6375900845574918146,"note":"Value kept but may cause issues"} 
[2026-10-05 12:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791182789000,"timestamp_ms":1791182789000,"timestamp_seconds":1791182789,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad05988"} 
[2026-10-05 12:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 12:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12: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-10-05 12:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.56.244","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542791424001,"66":28256,"6":206,"37":22784,"24":31,"16":8702312411299840,"44":6375900845574918146},"client_ip":"117.224.56.244","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,37,24,16,44]} 
[2026-10-05 12:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542791424001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:19:15] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-10-05 12:19:15] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-10-05 12:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8702312411299840,"km_value":8702312411299.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:19:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":6375900845574918146,"description":"Unknown IO ID 44"} 
[2026-10-05 12:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542791424001,"power":28256,"unknown_6":206,"unknown_37":22784,"ignition":31,"odometer":null,"unknown_44":6375900845574918146}} 
[2026-10-05 12:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":207498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967080,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:19:15] local.INFO: GPS data processed {"connection_id":207498,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:19:15] local.INFO: Acknowledgment sent {"connection_id":207498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:19:36] local.INFO: TCP Data received {"connection_id":207497,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:19:36] local.INFO: Processing buffer {"connection_id":207497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:19:36] local.INFO: Packet analysis {"connection_id":207497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:19:36] local.INFO: Extracted packet for processing {"connection_id":207497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:19:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":13,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542745088001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:19:36] 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-10-05 12:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791182899000,"timestamp_ms":1791182899000,"timestamp_seconds":1791182899,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad20738"} 
[2026-10-05 12:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-10-05 12:19:36] 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-10-05 12:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542745088001,"66":12950,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542745088001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:19:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:19:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542745088001,"power":12950,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":207497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:19:36] local.INFO: GPS data processed {"connection_id":207497,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:19:36] local.INFO: Acknowledgment sent {"connection_id":207497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:19:42] local.INFO: TCP Data received {"connection_id":207499,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad19dc0012d1adb80071f8688003c011329..."} 
[2026-10-05 12:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad19dc0012d1adb80071f8688003c011329..."} 
[2026-10-05 12:19:42] local.INFO: Processing buffer {"connection_id":207499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad19dc0012d1adb80071f8688003c011329..."} 
[2026-10-05 12:19:42] local.INFO: Packet analysis {"connection_id":207499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad1"} 
[2026-10-05 12:19:42] local.INFO: Extracted packet for processing {"connection_id":207499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad1"} 
[2026-10-05 12:19:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542809856001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791182872000,"timestamp_ms":1791182872000,"timestamp_seconds":1791182872,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad19dc0"} 
[2026-10-05 12:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:19:42] 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-10-05 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:19:42] 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-10-05 12: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-10-05 12:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:19:42] 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-10-05 12:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542809856001,"66":12341,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542809856001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:19:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:19:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542809856001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":207499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:19:42] local.INFO: GPS data processed {"connection_id":207499,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:19:42] local.INFO: Acknowledgment sent {"connection_id":207499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:19:46] local.INFO: TCP Data received {"connection_id":207498,"ip":"117.224.56.244","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad08480012c58868009bfe2e002d3000826..."} 
[2026-10-05 12:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad08480012c58868009bfe2e002d3000826..."} 
[2026-10-05 12:19:46] local.INFO: Processing buffer {"connection_id":207498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad08480012c58868009bfe2e002d3000826..."} 
[2026-10-05 12:19:46] local.INFO: Packet analysis {"connection_id":207498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad0"} 
[2026-10-05 12:19:46] local.INFO: Extracted packet for processing {"connection_id":207498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad0"} 
[2026-10-05 12:19:46] local.INFO: GPS Element Parsed {"raw_longitude":743999104,"raw_latitude":163570400,"longitude_deg":74.3999104,"latitude_deg":16.35704,"altitude":723,"angle":8,"satellites":38,"speed":31,"hex_longitude":"2c588680","hex_latitude":"09bfe2e0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 12:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542793984001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8702776267767808,"note":"Value kept but may cause issues"} 
[2026-10-05 12:19:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6377308220460756994,"note":"Value kept but may cause issues"} 
[2026-10-05 12:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,19,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791182800000,"timestamp_ms":1791182800000,"timestamp_seconds":1791182800,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad08480"} 
[2026-10-05 12:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:19: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-10-05 12:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 12:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":207498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":207498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":207498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.56.244","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542793984001,"66":28137,"48":206,"19":59904,"24":31,"16":8702776267767808,"44":6377308220460756994},"client_ip":"117.224.56.244","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,19,24,16,44]} 
[2026-10-05 12:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542793984001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:19:46] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-10-05 12:19:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":59904,"description":"Unknown IO ID 19"} 
[2026-10-05 12:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8702776267767808,"km_value":8702776267767.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:19:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":6377308220460756994,"description":"Unknown IO ID 44"} 
[2026-10-05 12:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542793984001,"power":28137,"unknown_48":206,"unknown_19":59904,"ignition":31,"odometer":null,"unknown_44":6377308220460756994}} 
[2026-10-05 12:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":207498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967083,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:19:47] local.INFO: GPS data processed {"connection_id":207498,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:19:47] local.INFO: Acknowledgment sent {"connection_id":207498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:19:59] local.INFO: TCP Data received {"connection_id":205956,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:19:59] local.INFO: Processing buffer {"connection_id":205956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:19:59] local.INFO: IMEI packet received {"connection_id":205956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":205956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:20:04] local.INFO: TCP Data received {"connection_id":205956,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:20:04] local.INFO: Processing buffer {"connection_id":205956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:20:04] local.INFO: IMEI packet received {"connection_id":205956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":205956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:20:05] local.INFO: TCP Data received {"connection_id":205956,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:20:05] local.INFO: Processing buffer {"connection_id":205956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:20:05] local.INFO: Packet analysis {"connection_id":205956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:20:05] local.INFO: Extracted packet for processing {"connection_id":205956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:20:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":13,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542745088001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:05] 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-10-05 12:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791182899000,"timestamp_ms":1791182899000,"timestamp_seconds":1791182899,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad20738"} 
[2026-10-05 12:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:20: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-10-05 12:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-10-05 12:20:05] 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-10-05 12:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542745088001,"66":12950,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542745088001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:20:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:20:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542745088001,"power":12950,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":205956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967084,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:20:05] local.INFO: GPS data processed {"connection_id":205956,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:20:05] local.INFO: Acknowledgment sent {"connection_id":205956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:20:10] local.INFO: TCP Data received {"connection_id":207500,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:20:10] local.INFO: Processing buffer {"connection_id":207500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:20:10] local.INFO: IMEI packet received {"connection_id":207500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":207500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:20:16] local.INFO: TCP Data received {"connection_id":207500,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:20:16] local.INFO: Processing buffer {"connection_id":207500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:20:16] local.INFO: IMEI packet received {"connection_id":207500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":207500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:20:16] local.INFO: TCP Data received {"connection_id":207500,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad1efc8012d1adb80071f8688003c011329..."} 
[2026-10-05 12:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad1efc8012d1adb80071f8688003c011329..."} 
[2026-10-05 12:20:16] local.INFO: Processing buffer {"connection_id":207500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad1efc8012d1adb80071f8688003c011329..."} 
[2026-10-05 12:20:16] local.INFO: Packet analysis {"connection_id":207500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad1"} 
[2026-10-05 12:20:16] local.INFO: Extracted packet for processing {"connection_id":207500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad1"} 
[2026-10-05 12:20:16] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542815232001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791182893000,"timestamp_ms":1791182893000,"timestamp_seconds":1791182893,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad1efc8"} 
[2026-10-05 12:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:20:16] 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-10-05 12:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 12:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:20:16] 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-10-05 12:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542815232001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542815232001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:20:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:20:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542815232001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":207500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:20:16] local.INFO: GPS data processed {"connection_id":207500,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:20:16] local.INFO: Acknowledgment sent {"connection_id":207500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:20:17] local.INFO: TCP Data received {"connection_id":207500,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad241d0012d1adb80071f8688003c011327..."} 
[2026-10-05 12:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad241d0012d1adb80071f8688003c011327..."} 
[2026-10-05 12:20:17] local.INFO: Processing buffer {"connection_id":207500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad241d0012d1adb80071f8688003c011327..."} 
[2026-10-05 12:20:17] local.INFO: Packet analysis {"connection_id":207500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:20:17] local.INFO: Extracted packet for processing {"connection_id":207500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:20:17] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 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-10-05 12:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542820608001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791182914000,"timestamp_ms":1791182914000,"timestamp_seconds":1791182914,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad241d0"} 
[2026-10-05 12:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":207500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":207500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":207500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:20:17] 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-10-05 12:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542820608001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542820608001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:20:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:20:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542820608001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":207500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:20:17] local.INFO: GPS data processed {"connection_id":207500,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:20:17] local.INFO: Acknowledgment sent {"connection_id":207500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:20:18] local.INFO: TCP Data received {"connection_id":207498,"ip":"117.224.56.244","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad2f968012c59504009c0bc2002a400152c..."} 
[2026-10-05 12:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad2f968012c59504009c0bc2002a400152c..."} 
[2026-10-05 12:20:18] local.INFO: Processing buffer {"connection_id":207498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad2f968012c59504009c0bc2002a400152c..."} 
[2026-10-05 12:20:18] local.INFO: Packet analysis {"connection_id":207498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:20:18] local.INFO: Extracted packet for processing {"connection_id":207498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:20:18] local.INFO: GPS Element Parsed {"raw_longitude":744050752,"raw_latitude":163626016,"longitude_deg":74.4050752,"latitude_deg":16.3626016,"altitude":676,"angle":21,"satellites":44,"speed":13,"hex_longitude":"2c595040","hex_latitude":"09c0bc20","is_valid_coordinates":true} 
[2026-10-05 12:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542834944001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8706736227614720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6433532847074516994,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791182961000,"timestamp_ms":1791182961000,"timestamp_seconds":1791182961,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad2f968"} 
[2026-10-05 12:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:20:18] 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-10-05 12:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 12:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":207498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":207498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":207498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.56.244","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542834944001,"66":28398,"205":206,"9":7936,"24":13,"16":8706736227614720,"44":6433532847074516994},"client_ip":"117.224.56.244","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,9,24,16,44]} 
[2026-10-05 12:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542834944001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:20:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8706736227614720,"km_value":8706736227614.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:20:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":6433532847074516994,"description":"Unknown IO ID 44"} 
[2026-10-05 12:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542834944001,"power":28398,"cell_id":206,"unknown_9":7936,"ignition":13,"odometer":null,"unknown_44":6433532847074516994}} 
[2026-10-05 12:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":207498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967087,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:20:18] local.INFO: GPS data processed {"connection_id":207498,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:20:18] local.INFO: Acknowledgment sent {"connection_id":207498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:20:36] local.INFO: TCP Data received {"connection_id":205956,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:20:36] local.INFO: Processing buffer {"connection_id":205956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:20:36] local.INFO: Packet analysis {"connection_id":205956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:20:36] local.INFO: Extracted packet for processing {"connection_id":205956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:20:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":13,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542745088001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:36] 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-10-05 12:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791182899000,"timestamp_ms":1791182899000,"timestamp_seconds":1791182899,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad20738"} 
[2026-10-05 12:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-10-05 12:20:36] 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-10-05 12:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542745088001,"66":12950,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542745088001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:20:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:20:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542745088001,"power":12950,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":205956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967088,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:20:36] local.INFO: GPS data processed {"connection_id":205956,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:20:36] local.INFO: Acknowledgment sent {"connection_id":205956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:20:48] local.INFO: TCP Data received {"connection_id":207500,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad293d8012d1adb80071f8688003c011328..."} 
[2026-10-05 12:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad293d8012d1adb80071f8688003c011328..."} 
[2026-10-05 12:20:48] local.INFO: Processing buffer {"connection_id":207500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad293d8012d1adb80071f8688003c011328..."} 
[2026-10-05 12:20:48] local.INFO: Packet analysis {"connection_id":207500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:20:48] local.INFO: Extracted packet for processing {"connection_id":207500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:20:48] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:20: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-10-05 12:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542825984001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791182935000,"timestamp_ms":1791182935000,"timestamp_seconds":1791182935,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad293d8"} 
[2026-10-05 12:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:20:48] 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-10-05 12:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:48] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:48] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:48] local.WARNING: Large IO value detected {"io_id":161,"raw_value":779126686924741339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:48] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:48] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77448499548913664,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:48] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832574,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3253288663309942990,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:20:48] local.WARNING: Large IO value detected {"io_id":167,"raw_value":2818649370,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:48] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:48] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:20:48] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,101,83,24,241,157,16,211,161,239,45,128,134,60,41,10,66,75,1,240,255,227,31,4,113,205,167,219,136,38,48,2,88,7,42],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:20:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758175477039104,"timestamp_seconds":4323758175477039.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":207500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":207500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":207500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:20:48] 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-10-05 12:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542825984001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542825984001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:20:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:20:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542825984001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":207500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:20:48] local.INFO: GPS data processed {"connection_id":207500,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:20:48] local.INFO: Acknowledgment sent {"connection_id":207500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:20:59] local.INFO: TCP Data received {"connection_id":204401,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:20:59] local.INFO: Processing buffer {"connection_id":204401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:20:59] local.INFO: IMEI packet received {"connection_id":204401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":204401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:21:04] local.INFO: TCP Data received {"connection_id":204401,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:21:04] local.INFO: Processing buffer {"connection_id":204401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:21:04] local.INFO: IMEI packet received {"connection_id":204401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":204401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:21:05] local.INFO: TCP Data received {"connection_id":204401,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:21:05] local.INFO: Processing buffer {"connection_id":204401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:21:05] local.INFO: Packet analysis {"connection_id":204401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:21:05] local.INFO: Extracted packet for processing {"connection_id":204401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:21:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":13,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542745088001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:21:05] 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-10-05 12:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791182899000,"timestamp_ms":1791182899000,"timestamp_seconds":1791182899,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad20738"} 
[2026-10-05 12:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:21: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-10-05 12: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":204,"data_length":795,"current_offset":136} 
[2026-10-05 12:21:05] 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-10-05 12: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-10-05 12:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542745088001,"66":12950,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542745088001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:21:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:21:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542745088001,"power":12950,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":204401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:21:05] local.INFO: GPS data processed {"connection_id":204401,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:21:05] local.INFO: Acknowledgment sent {"connection_id":204401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:21:05] local.INFO: TCP Data received {"connection_id":204402,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:21:05] local.INFO: Processing buffer {"connection_id":204402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:21:05] local.INFO: IMEI packet received {"connection_id":204402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":204402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:21:11] local.INFO: TCP Data received {"connection_id":204402,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:21:11] local.INFO: Processing buffer {"connection_id":204402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:21:11] local.INFO: IMEI packet received {"connection_id":204402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":204402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:21:11] local.INFO: TCP Data received {"connection_id":204402,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad2e5e0012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad2e5e0012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:21:11] local.INFO: Processing buffer {"connection_id":204402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad2e5e0012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:21:11] local.INFO: Packet analysis {"connection_id":204402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:21:11] local.INFO: Extracted packet for processing {"connection_id":204402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:21:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542831360001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:21:11] 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-10-05 12:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791182956000,"timestamp_ms":1791182956000,"timestamp_seconds":1791182956,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad2e5e0"} 
[2026-10-05 12:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:21:11] 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-10-05 12:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:21:11] 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-10-05 12:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:21:11] 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-10-05 12:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542831360001,"66":12319,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542831360001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:21:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:21:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542831360001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":204402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:21:12] local.INFO: GPS data processed {"connection_id":204402,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:21:12] local.INFO: Acknowledgment sent {"connection_id":204402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:21:36] local.INFO: TCP Data received {"connection_id":204401,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:21:36] local.INFO: Processing buffer {"connection_id":204401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:21:36] local.INFO: Packet analysis {"connection_id":204401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:21:36] local.INFO: Extracted packet for processing {"connection_id":204401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:21:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":13,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542745088001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:21:36] 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-10-05 12:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791182899000,"timestamp_ms":1791182899000,"timestamp_seconds":1791182899,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad20738"} 
[2026-10-05 12:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12: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":204,"data_length":795,"current_offset":136} 
[2026-10-05 12:21:36] 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-10-05 12: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-10-05 12:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542745088001,"66":12950,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542745088001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:21:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:21:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542745088001,"power":12950,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":204401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:21:36] local.INFO: GPS data processed {"connection_id":204401,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:21:36] local.INFO: Acknowledgment sent {"connection_id":204401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:21:43] local.INFO: TCP Data received {"connection_id":204402,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad337e8012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad337e8012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:21:43] local.INFO: Processing buffer {"connection_id":204402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad337e8012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:21:43] local.INFO: Packet analysis {"connection_id":204402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad3"} 
[2026-10-05 12:21:43] local.INFO: Extracted packet for processing {"connection_id":204402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad3"} 
[2026-10-05 12:21:43] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542836736001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791182977000,"timestamp_ms":1791182977000,"timestamp_seconds":1791182977,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad337e8"} 
[2026-10-05 12:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:21:43] 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-10-05 12:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-10-05 12:21:43] 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-10-05 12:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:21:43] 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-10-05 12:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542836736001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542836736001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:21:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:21:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542836736001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":204402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:21:43] local.INFO: GPS data processed {"connection_id":204402,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:21:43] local.INFO: Acknowledgment sent {"connection_id":204402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:22:04] local.INFO: TCP Data received {"connection_id":204403,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:22:04] local.INFO: Processing buffer {"connection_id":204403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:22:04] local.INFO: IMEI packet received {"connection_id":204403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":204403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:22:05] local.INFO: TCP Data received {"connection_id":204549,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:22:05] local.INFO: Processing buffer {"connection_id":204549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:22:05] local.INFO: IMEI packet received {"connection_id":204549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":204549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:22:09] local.INFO: TCP Data received {"connection_id":204403,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:22:09] local.INFO: Processing buffer {"connection_id":204403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:22:09] local.INFO: IMEI packet received {"connection_id":204403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":204403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:22:10] local.INFO: TCP Data received {"connection_id":204403,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:22:10] local.INFO: Processing buffer {"connection_id":204403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:22:10] local.INFO: Packet analysis {"connection_id":204403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:22:10] local.INFO: Extracted packet for processing {"connection_id":204403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:22:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":13,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542745088001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:22:10] 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-10-05 12:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791182899000,"timestamp_ms":1791182899000,"timestamp_seconds":1791182899,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad20738"} 
[2026-10-05 12:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-10-05 12:22:10] 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-10-05 12:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542745088001,"66":12950,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542745088001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:22:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542745088001,"power":12950,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":204403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:22:10] local.INFO: GPS data processed {"connection_id":204403,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:22:10] local.INFO: Acknowledgment sent {"connection_id":204403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:22:11] local.INFO: TCP Data received {"connection_id":204549,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:22:11] local.INFO: Processing buffer {"connection_id":204549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:22:11] local.INFO: IMEI packet received {"connection_id":204549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":204549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:22:11] local.INFO: TCP Data received {"connection_id":204549,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad389f0012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad389f0012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:22:11] local.INFO: Processing buffer {"connection_id":204549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad389f0012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:22:11] local.INFO: Packet analysis {"connection_id":204549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad3"} 
[2026-10-05 12:22:11] local.INFO: Extracted packet for processing {"connection_id":204549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad3"} 
[2026-10-05 12:22:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542842112001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:22:11] 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-10-05 12:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791182998000,"timestamp_ms":1791182998000,"timestamp_seconds":1791182998,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad389f0"} 
[2026-10-05 12:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:22:11] 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-10-05 12: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:22:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:22:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:22:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:22:11] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:22:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":779397269864389339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:22:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:22:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77449599060541440,"note":"Value kept but may cause issues"} 
[2026-10-05 12:22:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832574,"note":"Value kept but may cause issues"} 
[2026-10-05 12:22:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332011214,"note":"Value kept but may cause issues"} 
[2026-10-05 12:22:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:22:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:22:11] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:22:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:22:11] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,101,83,24,241,157,16,211,161,229,45,128,134,60,42,10,66,147,40,65,1,240,227,31,4,113,205,219,136,41,239,48,2,88,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:22:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758188361940992,"timestamp_seconds":4323758188361941.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:22:11] 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-10-05 12:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542842112001,"66":12341,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542842112001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:22:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:22:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542842112001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":204549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:22:12] local.INFO: GPS data processed {"connection_id":204549,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:22:12] local.INFO: Acknowledgment sent {"connection_id":204549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:22:16] local.INFO: TCP Data received {"connection_id":204403,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:22:16] local.INFO: Processing buffer {"connection_id":204403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:22:16] local.INFO: Packet analysis {"connection_id":204403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:22:16] local.INFO: Extracted packet for processing {"connection_id":204403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:22:16] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":13,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542745088001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:22:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 12:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791182899000,"timestamp_ms":1791182899000,"timestamp_seconds":1791182899,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad20738"} 
[2026-10-05 12:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-10-05 12:22:16] 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-10-05 12: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-10-05 12:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542745088001,"66":12950,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542745088001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:22:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:22:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542745088001,"power":12950,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":204403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:22:16] local.INFO: GPS data processed {"connection_id":204403,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:22:16] local.INFO: Acknowledgment sent {"connection_id":204403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:22:43] local.INFO: TCP Data received {"connection_id":204549,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad3dbf8012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad3dbf8012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:22:43] local.INFO: Processing buffer {"connection_id":204549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad3dbf8012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:22:43] local.INFO: Packet analysis {"connection_id":204549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad3"} 
[2026-10-05 12:22:43] local.INFO: Extracted packet for processing {"connection_id":204549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad3"} 
[2026-10-05 12:22:43] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542847488001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791183019000,"timestamp_ms":1791183019000,"timestamp_seconds":1791183019,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad3dbf8"} 
[2026-10-05 12:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:22:43] 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-10-05 12: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 12:22:43] 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-10-05 12: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-10-05 12:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:22:43] 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-10-05 12:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542847488001,"66":12319,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542847488001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:22:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:22:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542847488001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":204549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:22:43] local.INFO: GPS data processed {"connection_id":204549,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:22:43] local.INFO: Acknowledgment sent {"connection_id":204549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:22:44] local.INFO: TCP Data received {"connection_id":204551,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:22:44] local.INFO: Processing buffer {"connection_id":204551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:22:44] local.INFO: IMEI packet received {"connection_id":204551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":204551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:22:51] local.INFO: TCP Data received {"connection_id":204551,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:22:51] local.INFO: Processing buffer {"connection_id":204551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:22:51] local.INFO: IMEI packet received {"connection_id":204551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":204551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:22:59] local.INFO: TCP Data received {"connection_id":204404,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:22:59] local.INFO: Processing buffer {"connection_id":204404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:22:59] local.INFO: IMEI packet received {"connection_id":204404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":204404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:23:03] local.INFO: TCP Data received {"connection_id":207501,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:23:03] local.INFO: Processing buffer {"connection_id":207501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:23:03] local.INFO: IMEI packet received {"connection_id":207501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":207501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:23:04] local.INFO: TCP Data received {"connection_id":204404,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:23:04] local.INFO: Processing buffer {"connection_id":204404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:23:04] local.INFO: IMEI packet received {"connection_id":204404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":204404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:23:05] local.INFO: TCP Data received {"connection_id":204404,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:23:05] local.INFO: Processing buffer {"connection_id":204404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad20738012d7b524005e13b08000d00a92a..."} 
[2026-10-05 12:23:05] local.INFO: Packet analysis {"connection_id":204404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:23:05] local.INFO: Extracted packet for processing {"connection_id":204404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad2"} 
[2026-10-05 12:23:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":13,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542745088001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:23:05] 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-10-05 12:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791182899000,"timestamp_ms":1791182899000,"timestamp_seconds":1791182899,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad20738"} 
[2026-10-05 12:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:23: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-10-05 12:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-10-05 12:23:05] 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-10-05 12:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542745088001,"66":12950,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542745088001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:23:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:23:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542745088001,"power":12950,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":204404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:23:05] local.INFO: GPS data processed {"connection_id":204404,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:23:05] local.INFO: Acknowledgment sent {"connection_id":204404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:23:06] local.INFO: TCP Data received {"connection_id":207501,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:23:06] local.INFO: Processing buffer {"connection_id":207501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:23:06] local.INFO: IMEI packet received {"connection_id":207501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":207501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:23:10] local.INFO: TCP Data received {"connection_id":207501,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:23:10] local.INFO: Processing buffer {"connection_id":207501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:23:10] local.INFO: IMEI packet received {"connection_id":207501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":207501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:23:11] local.INFO: TCP Data received {"connection_id":207501,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad42e00012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad42e00012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:23:11] local.INFO: Processing buffer {"connection_id":207501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad42e00012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:23:11] local.INFO: Packet analysis {"connection_id":207501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad4"} 
[2026-10-05 12:23:11] local.INFO: Extracted packet for processing {"connection_id":207501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad4"} 
[2026-10-05 12:23:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542852864001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:23:11] 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-10-05 12:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791183040000,"timestamp_ms":1791183040000,"timestamp_seconds":1791183040,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad42e00"} 
[2026-10-05 12:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:23: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-10-05 12:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-10-05 12:23:11] 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-10-05 12:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:23:11] 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-10-05 12:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542852864001,"66":12319,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542852864001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:23:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:23:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542852864001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":207501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:23:11] local.INFO: GPS data processed {"connection_id":207501,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:23:11] local.INFO: Acknowledgment sent {"connection_id":207501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:23:36] local.INFO: TCP Data received {"connection_id":204404,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:23:36] local.INFO: Processing buffer {"connection_id":204404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:23:36] local.INFO: Packet analysis {"connection_id":204404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad6"} 
[2026-10-05 12:23:36] local.INFO: Extracted packet for processing {"connection_id":204404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad6"} 
[2026-10-05 12:23:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":9,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542822144001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:23:36] 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-10-05 12:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791183200000,"timestamp_ms":1791183200000,"timestamp_seconds":1791183200,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad69f00"} 
[2026-10-05 12:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 12:23:36] 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-10-05 12:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542822144001,"66":12917,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 12:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542822144001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:23:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 12:23:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542822144001,"power":12917,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":204404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967100,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:23:36] local.INFO: GPS data processed {"connection_id":204404,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:23:36] local.INFO: Acknowledgment sent {"connection_id":204404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:23:42] local.INFO: TCP Data received {"connection_id":207501,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad48008012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad48008012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:23:42] local.INFO: Processing buffer {"connection_id":207501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad48008012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:23:42] local.INFO: Packet analysis {"connection_id":207501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad4"} 
[2026-10-05 12:23:42] local.INFO: Extracted packet for processing {"connection_id":207501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad4"} 
[2026-10-05 12:23:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542858240001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791183061000,"timestamp_ms":1791183061000,"timestamp_seconds":1791183061,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad48008"} 
[2026-10-05 12:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:23:42] 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-10-05 12:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-10-05 12:23:42] 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-10-05 12:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:23:42] 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-10-05 12:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542858240001,"66":12341,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542858240001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:23:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:23:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542858240001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":207501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:23:42] local.INFO: GPS data processed {"connection_id":207501,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:23:42] local.INFO: Acknowledgment sent {"connection_id":207501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:23:59] local.INFO: TCP Data received {"connection_id":204552,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204552,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:23:59] local.INFO: Processing buffer {"connection_id":204552,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:23:59] local.INFO: IMEI packet received {"connection_id":204552,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":204552,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:24:04] local.INFO: TCP Data received {"connection_id":204552,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204552,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:24:04] local.INFO: Processing buffer {"connection_id":204552,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:24:04] local.INFO: IMEI packet received {"connection_id":204552,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":204552,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:24:05] local.INFO: TCP Data received {"connection_id":204552,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:24:05] local.INFO: Processing buffer {"connection_id":204552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:24:05] local.INFO: Packet analysis {"connection_id":204552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad6"} 
[2026-10-05 12:24:05] local.INFO: Extracted packet for processing {"connection_id":204552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad6"} 
[2026-10-05 12:24:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":9,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542822144001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:24: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-10-05 12:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791183200000,"timestamp_ms":1791183200000,"timestamp_seconds":1791183200,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad69f00"} 
[2026-10-05 12:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12: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-10-05 12: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 12:24:05] 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-10-05 12: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-10-05 12:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542822144001,"66":12917,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 12:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542822144001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:24:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 12:24:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542822144001,"power":12917,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":204552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:24:05] local.INFO: GPS data processed {"connection_id":204552,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:24:05] local.INFO: Acknowledgment sent {"connection_id":204552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:24:05] local.INFO: TCP Data received {"connection_id":204405,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:24:05] local.INFO: Processing buffer {"connection_id":204405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:24:05] local.INFO: IMEI packet received {"connection_id":204405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":204405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:24:06] local.INFO: TCP Data received {"connection_id":204405,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:24:06] local.INFO: Processing buffer {"connection_id":204405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:24:06] local.INFO: IMEI packet received {"connection_id":204405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":204405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:24:10] local.INFO: TCP Data received {"connection_id":204405,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:24:10] local.INFO: Processing buffer {"connection_id":204405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:24:10] local.INFO: IMEI packet received {"connection_id":204405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":204405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:24:11] local.INFO: TCP Data received {"connection_id":204405,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad4d210012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad4d210012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:24:11] local.INFO: Processing buffer {"connection_id":204405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad4d210012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:24:11] local.INFO: Packet analysis {"connection_id":204405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad4"} 
[2026-10-05 12:24:11] local.INFO: Extracted packet for processing {"connection_id":204405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad4"} 
[2026-10-05 12:24:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542863616001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:24:11] 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-10-05 12:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791183082000,"timestamp_ms":1791183082000,"timestamp_seconds":1791183082,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad4d210"} 
[2026-10-05 12:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:24:11] 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-10-05 12: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 12:24:11] 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-10-05 12: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-10-05 12:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:24:11] 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-10-05 12:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542863616001,"66":12341,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542863616001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:24:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:24:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542863616001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":204405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:24:12] local.INFO: GPS data processed {"connection_id":204405,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:24:12] local.INFO: Acknowledgment sent {"connection_id":204405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:24:37] local.INFO: TCP Data received {"connection_id":204552,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:24:37] local.INFO: Processing buffer {"connection_id":204552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:24:37] local.INFO: Packet analysis {"connection_id":204552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad6"} 
[2026-10-05 12:24:37] local.INFO: Extracted packet for processing {"connection_id":204552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad6"} 
[2026-10-05 12:24:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":9,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542822144001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:24:37] 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-10-05 12:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791183200000,"timestamp_ms":1791183200000,"timestamp_seconds":1791183200,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad69f00"} 
[2026-10-05 12:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 12:24:37] 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-10-05 12:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542822144001,"66":12917,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 12:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542822144001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:24:37] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 12:24:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542822144001,"power":12917,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":204552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967104,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:24:37] local.INFO: GPS data processed {"connection_id":204552,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:24:37] local.INFO: Acknowledgment sent {"connection_id":204552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:24:43] local.INFO: TCP Data received {"connection_id":204405,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad52418012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad52418012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:24:43] local.INFO: Processing buffer {"connection_id":204405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad52418012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:24:43] local.INFO: Packet analysis {"connection_id":204405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad5"} 
[2026-10-05 12:24:43] local.INFO: Extracted packet for processing {"connection_id":204405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad5"} 
[2026-10-05 12:24:43] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542868992001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791183103000,"timestamp_ms":1791183103000,"timestamp_seconds":1791183103,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad52418"} 
[2026-10-05 12:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:24:43] 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-10-05 12: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 12:24:43] 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-10-05 12: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-10-05 12:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:24:43] 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-10-05 12:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542868992001,"66":12319,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542868992001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:24:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:24:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542868992001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":204405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:24:43] local.INFO: GPS data processed {"connection_id":204405,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:24:43] local.INFO: Acknowledgment sent {"connection_id":204405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:24:59] local.INFO: TCP Data received {"connection_id":204406,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:24:59] local.INFO: Processing buffer {"connection_id":204406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:24:59] local.INFO: IMEI packet received {"connection_id":204406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":204406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:25:04] local.INFO: TCP Data received {"connection_id":204406,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:25:04] local.INFO: Processing buffer {"connection_id":204406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:25:04] local.INFO: IMEI packet received {"connection_id":204406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":204406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:25:05] local.INFO: TCP Data received {"connection_id":204406,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:25:05] local.INFO: Processing buffer {"connection_id":204406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:25:05] local.INFO: Packet analysis {"connection_id":204406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad6"} 
[2026-10-05 12:25:05] local.INFO: Extracted packet for processing {"connection_id":204406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad6"} 
[2026-10-05 12:25:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":9,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542822144001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:25: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-10-05 12:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791183200000,"timestamp_ms":1791183200000,"timestamp_seconds":1791183200,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad69f00"} 
[2026-10-05 12:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:25: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-10-05 12: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 12:25:05] 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-10-05 12: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-10-05 12:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542822144001,"66":12917,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 12:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542822144001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:25:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 12:25:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542822144001,"power":12917,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:25:05] local.INFO: TCP Data received {"connection_id":204553,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:25:05] local.INFO: Processing buffer {"connection_id":204553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:25:05] local.INFO: IMEI packet received {"connection_id":204553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":204553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":204406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:25:05] local.INFO: GPS data processed {"connection_id":204406,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:25:05] local.INFO: Acknowledgment sent {"connection_id":204406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:25:09] local.INFO: TCP Data received {"connection_id":204553,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:25:09] local.INFO: Processing buffer {"connection_id":204553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:25:09] local.INFO: IMEI packet received {"connection_id":204553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":204553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:25:10] local.INFO: TCP Data received {"connection_id":204553,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad57620012d1adb80071f8688003c011326..."} 
[2026-10-05 12:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad57620012d1adb80071f8688003c011326..."} 
[2026-10-05 12:25:10] local.INFO: Processing buffer {"connection_id":204553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad57620012d1adb80071f8688003c011326..."} 
[2026-10-05 12:25:10] local.INFO: Packet analysis {"connection_id":204553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad5"} 
[2026-10-05 12:25:10] local.INFO: Extracted packet for processing {"connection_id":204553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad5"} 
[2026-10-05 12:25:10] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542874368001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:25:10] 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-10-05 12:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791183124000,"timestamp_ms":1791183124000,"timestamp_seconds":1791183124,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad57620"} 
[2026-10-05 12:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:25:10] 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-10-05 12: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-10-05 12:25:10] 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-10-05 12: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-10-05 12:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:25:10] 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-10-05 12:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542874368001,"66":12341,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542874368001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:25:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:25:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542874368001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":204553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:25:10] local.INFO: GPS data processed {"connection_id":204553,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:25:10] local.INFO: Acknowledgment sent {"connection_id":204553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:25:37] local.INFO: TCP Data received {"connection_id":204406,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:25:37] local.INFO: Processing buffer {"connection_id":204406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:25:37] local.INFO: Packet analysis {"connection_id":204406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad6"} 
[2026-10-05 12:25:37] local.INFO: Extracted packet for processing {"connection_id":204406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad6"} 
[2026-10-05 12:25:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":9,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542822144001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:25:37] 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-10-05 12:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791183200000,"timestamp_ms":1791183200000,"timestamp_seconds":1791183200,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad69f00"} 
[2026-10-05 12:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 12:25:37] 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-10-05 12:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542822144001,"66":12917,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 12:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542822144001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:25:37] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 12:25:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542822144001,"power":12917,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":204406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967108,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:25:37] local.INFO: GPS data processed {"connection_id":204406,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:25:37] local.INFO: Acknowledgment sent {"connection_id":204406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:25:41] local.INFO: TCP Data received {"connection_id":204553,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad5c828012d1adb80071f8688003c011329..."} 
[2026-10-05 12:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad5c828012d1adb80071f8688003c011329..."} 
[2026-10-05 12:25:41] local.INFO: Processing buffer {"connection_id":204553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad5c828012d1adb80071f8688003c011329..."} 
[2026-10-05 12:25:41] local.INFO: Packet analysis {"connection_id":204553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad5"} 
[2026-10-05 12:25:41] local.INFO: Extracted packet for processing {"connection_id":204553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad5"} 
[2026-10-05 12:25:41] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542879744001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:25:41] 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-10-05 12:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791183145000,"timestamp_ms":1791183145000,"timestamp_seconds":1791183145,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad5c828"} 
[2026-10-05 12:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:25:41] 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-10-05 12:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 12:25:41] 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-10-05 12:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:25:41] 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-10-05 12:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542879744001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542879744001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:25:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:25:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542879744001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":204553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:25:41] local.INFO: GPS data processed {"connection_id":204553,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:25:41] local.INFO: Acknowledgment sent {"connection_id":204553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:26:04] local.INFO: TCP Data received {"connection_id":204407,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:26:04] local.INFO: Processing buffer {"connection_id":204407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:26:04] local.INFO: IMEI packet received {"connection_id":204407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":204407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:26:05] local.INFO: TCP Data received {"connection_id":204408,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:26:05] local.INFO: Processing buffer {"connection_id":204408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:26:05] local.INFO: IMEI packet received {"connection_id":204408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":204408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:26:09] local.INFO: TCP Data received {"connection_id":204407,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:26:09] local.INFO: Processing buffer {"connection_id":204407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:26:09] local.INFO: IMEI packet received {"connection_id":204407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":204407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:26:11] local.INFO: TCP Data received {"connection_id":204407,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:26:11] local.INFO: Processing buffer {"connection_id":204407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:26:11] local.INFO: Packet analysis {"connection_id":204407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad6"} 
[2026-10-05 12:26:11] local.INFO: Extracted packet for processing {"connection_id":204407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad6"} 
[2026-10-05 12:26:11] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":9,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542822144001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:26:11] 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-10-05 12:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791183200000,"timestamp_ms":1791183200000,"timestamp_seconds":1791183200,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad69f00"} 
[2026-10-05 12:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 12:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542822144001,"66":12917,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 12:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542822144001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:26:11] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 12:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542822144001,"power":12917,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":204407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:26:11] local.INFO: GPS data processed {"connection_id":204407,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:26:11] local.INFO: Acknowledgment sent {"connection_id":204407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:26:11] local.INFO: TCP Data received {"connection_id":204408,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:26:11] local.INFO: Processing buffer {"connection_id":204408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:26:11] local.INFO: IMEI packet received {"connection_id":204408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":204408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:26:12] local.INFO: TCP Data received {"connection_id":204408,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad61a30012d1adb80071f8688003c011329..."} 
[2026-10-05 12:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad61a30012d1adb80071f8688003c011329..."} 
[2026-10-05 12:26:12] local.INFO: Processing buffer {"connection_id":204408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad61a30012d1adb80071f8688003c011329..."} 
[2026-10-05 12:26:12] local.INFO: Packet analysis {"connection_id":204408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad6"} 
[2026-10-05 12:26:12] local.INFO: Extracted packet for processing {"connection_id":204408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad6"} 
[2026-10-05 12:26:12] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542885120001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791183166000,"timestamp_ms":1791183166000,"timestamp_seconds":1791183166,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad61a30"} 
[2026-10-05 12:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:26:12] 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-10-05 12:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:26:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:26:12] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:26:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:26:12] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:26:12] local.WARNING: Large IO value detected {"io_id":161,"raw_value":780118824370117339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:26:12] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:26:12] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77452897595424768,"note":"Value kept but may cause issues"} 
[2026-10-05 12:26:12] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832576,"note":"Value kept but may cause issues"} 
[2026-10-05 12:26:12] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586752206,"note":"Value kept but may cause issues"} 
[2026-10-05 12:26:12] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:26:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:26:12] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:26:12] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:26:12] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,211,161,118,45,128,134,60,38,10,66,36,42,210,1,240,53,227,31,4,113,205,46,219,136,43,239,48,2,88,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:26:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758184066973696,"timestamp_seconds":4323758184066973.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:26:12] 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-10-05 12:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542885120001,"66":12341,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542885120001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:26:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:26:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542885120001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":204408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:26:12] local.INFO: GPS data processed {"connection_id":204408,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:26:12] local.INFO: Acknowledgment sent {"connection_id":204408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:26:15] local.INFO: TCP Data received {"connection_id":204407,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:26:15] local.INFO: Processing buffer {"connection_id":204407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:26:15] local.INFO: Packet analysis {"connection_id":204407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad6"} 
[2026-10-05 12:26:15] local.INFO: Extracted packet for processing {"connection_id":204407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad6"} 
[2026-10-05 12:26:15] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":9,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542822144001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:26:15] 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-10-05 12:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791183200000,"timestamp_ms":1791183200000,"timestamp_seconds":1791183200,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad69f00"} 
[2026-10-05 12:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 12:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542822144001,"66":12917,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 12:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542822144001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:26:15] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 12:26:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542822144001,"power":12917,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":204407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:26:15] local.INFO: GPS data processed {"connection_id":204407,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:26:15] local.INFO: Acknowledgment sent {"connection_id":204407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:26:43] local.INFO: TCP Data received {"connection_id":204408,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad66c38012d1adb80071f8688003c011329..."} 
[2026-10-05 12:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad66c38012d1adb80071f8688003c011329..."} 
[2026-10-05 12:26:43] local.INFO: Processing buffer {"connection_id":204408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad66c38012d1adb80071f8688003c011329..."} 
[2026-10-05 12:26:43] local.INFO: Packet analysis {"connection_id":204408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad6"} 
[2026-10-05 12:26:43] local.INFO: Extracted packet for processing {"connection_id":204408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad6"} 
[2026-10-05 12:26:43] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542890496001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791183187000,"timestamp_ms":1791183187000,"timestamp_seconds":1791183187,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad66c38"} 
[2026-10-05 12:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:26:43] 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-10-05 12:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 12:26:43] 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-10-05 12:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:26:43] 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-10-05 12:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542890496001,"66":12341,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542890496001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:26:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:26:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542890496001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":204408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:26:43] local.INFO: GPS data processed {"connection_id":204408,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:26:43] local.INFO: Acknowledgment sent {"connection_id":204408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:26:59] local.INFO: TCP Data received {"connection_id":204555,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:26:59] local.INFO: Processing buffer {"connection_id":204555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:26:59] local.INFO: IMEI packet received {"connection_id":204555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":204555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:27:04] local.INFO: TCP Data received {"connection_id":204555,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:27:04] local.INFO: Processing buffer {"connection_id":204555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:27:04] local.INFO: IMEI packet received {"connection_id":204555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":204555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:27:05] local.INFO: TCP Data received {"connection_id":204555,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:27:05] local.INFO: Processing buffer {"connection_id":204555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:27:05] local.INFO: Packet analysis {"connection_id":204555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad6"} 
[2026-10-05 12:27:05] local.INFO: Extracted packet for processing {"connection_id":204555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad6"} 
[2026-10-05 12:27:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":9,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542822144001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:27: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-10-05 12:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791183200000,"timestamp_ms":1791183200000,"timestamp_seconds":1791183200,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad69f00"} 
[2026-10-05 12:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:27: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-10-05 12:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 12:27:05] 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-10-05 12:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542822144001,"66":12917,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 12:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542822144001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:27:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 12:27:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542822144001,"power":12917,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":204555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:27:05] local.INFO: GPS data processed {"connection_id":204555,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:27:05] local.INFO: Acknowledgment sent {"connection_id":204555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:27:10] local.INFO: TCP Data received {"connection_id":205957,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:27:10] local.INFO: Processing buffer {"connection_id":205957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:27:10] local.INFO: IMEI packet received {"connection_id":205957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":205957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:27:16] local.INFO: TCP Data received {"connection_id":205957,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:27:16] local.INFO: Processing buffer {"connection_id":205957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:27:16] local.INFO: IMEI packet received {"connection_id":205957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":205957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:27:16] local.INFO: TCP Data received {"connection_id":205957,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad6be40012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad6be40012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:27:16] local.INFO: Processing buffer {"connection_id":205957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad6be40012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:27:16] local.INFO: Packet analysis {"connection_id":205957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad6"} 
[2026-10-05 12:27:16] local.INFO: Extracted packet for processing {"connection_id":205957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad6"} 
[2026-10-05 12:27:16] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542895872001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791183208000,"timestamp_ms":1791183208000,"timestamp_seconds":1791183208,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad6be40"} 
[2026-10-05 12:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 12:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:27:16] 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-10-05 12:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542895872001,"66":12341,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542895872001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:27:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:27:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542895872001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":205957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:27:17] local.INFO: GPS data processed {"connection_id":205957,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:27:17] local.INFO: Acknowledgment sent {"connection_id":205957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:27:17] local.INFO: TCP Data received {"connection_id":205957,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad71048012d1adb80071f8688003c011328..."} 
[2026-10-05 12:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad71048012d1adb80071f8688003c011328..."} 
[2026-10-05 12:27:17] local.INFO: Processing buffer {"connection_id":205957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad71048012d1adb80071f8688003c011328..."} 
[2026-10-05 12:27:17] local.INFO: Packet analysis {"connection_id":205957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad7"} 
[2026-10-05 12:27:17] local.INFO: Extracted packet for processing {"connection_id":205957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad7"} 
[2026-10-05 12:27:17] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542901248001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791183229000,"timestamp_ms":1791183229000,"timestamp_seconds":1791183229,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad71048"} 
[2026-10-05 12:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 12:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":205957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":205957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":205957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:27:17] 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-10-05 12:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542901248001,"66":12319,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542901248001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:27:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:27:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542901248001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":205957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:27:17] local.INFO: GPS data processed {"connection_id":205957,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:27:17] local.INFO: Acknowledgment sent {"connection_id":205957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:27:36] local.INFO: TCP Data received {"connection_id":204555,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:27:36] local.INFO: Processing buffer {"connection_id":204555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:27:36] local.INFO: Packet analysis {"connection_id":204555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad6"} 
[2026-10-05 12:27:36] local.INFO: Extracted packet for processing {"connection_id":204555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad6"} 
[2026-10-05 12:27:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":9,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542822144001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:27:36] 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-10-05 12:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791183200000,"timestamp_ms":1791183200000,"timestamp_seconds":1791183200,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad69f00"} 
[2026-10-05 12:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 12:27:36] 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-10-05 12:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542822144001,"66":12917,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 12:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542822144001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:27:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 12:27:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542822144001,"power":12917,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":204555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967117,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:27:36] local.INFO: GPS data processed {"connection_id":204555,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:27:36] local.INFO: Acknowledgment sent {"connection_id":204555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:27:48] local.INFO: TCP Data received {"connection_id":205957,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad76250012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad76250012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:27:48] local.INFO: Processing buffer {"connection_id":205957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad76250012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:27:48] local.INFO: Packet analysis {"connection_id":205957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad7"} 
[2026-10-05 12:27:48] local.INFO: Extracted packet for processing {"connection_id":205957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad7"} 
[2026-10-05 12:27:48] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542906624001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791183250000,"timestamp_ms":1791183250000,"timestamp_seconds":1791183250,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad76250"} 
[2026-10-05 12:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:27:48] 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-10-05 12:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-10-05 12:27:48] 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-10-05 12:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":205957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":205957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":205957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:27:48] 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-10-05 12:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542906624001,"66":11526,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542906624001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:27:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:27:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542906624001,"power":11526,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":205957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:27:48] local.INFO: GPS data processed {"connection_id":205957,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:27:48] local.INFO: Acknowledgment sent {"connection_id":205957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:27:50] local.INFO: TCP Data received {"connection_id":204554,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:27:50] local.INFO: Processing buffer {"connection_id":204554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:27:50] local.INFO: IMEI packet received {"connection_id":204554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":204554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:27:51] local.INFO: TCP Data received {"connection_id":204554,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad7d780012c56a08009c45b50025b014b2c..."} 
[2026-10-05 12:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad7d780012c56a08009c45b50025b014b2c..."} 
[2026-10-05 12:27:51] local.INFO: Processing buffer {"connection_id":204554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad7d780012c56a08009c45b50025b014b2c..."} 
[2026-10-05 12:27:51] local.INFO: Packet analysis {"connection_id":204554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad7"} 
[2026-10-05 12:27:51] local.INFO: Extracted packet for processing {"connection_id":204554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad7"} 
[2026-10-05 12:27:51] local.INFO: GPS Element Parsed {"raw_longitude":743874688,"raw_latitude":163863376,"longitude_deg":74.3874688,"latitude_deg":16.3863376,"altitude":603,"angle":331,"satellites":44,"speed":18,"hex_longitude":"2c56a080","hex_latitude":"09c45b50","is_valid_coordinates":true} 
[2026-10-05 12:27: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-10-05 12:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542915072001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8721102893219840,"note":"Value kept but may cause issues"} 
[2026-10-05 12:27:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6247900099993575426,"note":"Value kept but may cause issues"} 
[2026-10-05 12:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791183280000,"timestamp_ms":1791183280000,"timestamp_seconds":1791183280,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad7d780"} 
[2026-10-05 12:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:27: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 12:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:27: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-10-05 12:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":204554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":204554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":204554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542915072001,"66":27952,"111":206,"9":7680,"24":18,"16":8721102893219840,"44":6247900099993575426},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,9,24,16,44]} 
[2026-10-05 12:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542915072001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:27:51] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-10-05 12:27:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 12:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8721102893219840,"km_value":8721102893219.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:27:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":6247900099993575426,"description":"Unknown IO ID 44"} 
[2026-10-05 12:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542915072001,"power":27952,"unknown_111":206,"unknown_9":7680,"ignition":18,"odometer":null,"unknown_44":6247900099993575426}} 
[2026-10-05 12:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":204554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967119,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:27:51] local.INFO: GPS data processed {"connection_id":204554,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:27:51] local.INFO: Acknowledgment sent {"connection_id":204554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:27:59] local.INFO: TCP Data received {"connection_id":207503,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:27:59] local.INFO: Processing buffer {"connection_id":207503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:27:59] local.INFO: IMEI packet received {"connection_id":207503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":207503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:28:04] local.INFO: TCP Data received {"connection_id":207503,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:28:04] local.INFO: Processing buffer {"connection_id":207503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:28:04] local.INFO: IMEI packet received {"connection_id":207503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":207503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:28:05] local.INFO: TCP Data received {"connection_id":207503,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:28:05] local.INFO: Processing buffer {"connection_id":207503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad69f00012d7b524005e13b08000900a928..."} 
[2026-10-05 12:28:05] local.INFO: Packet analysis {"connection_id":207503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad6"} 
[2026-10-05 12:28:05] local.INFO: Extracted packet for processing {"connection_id":207503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad6"} 
[2026-10-05 12:28:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":9,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542822144001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:28: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-10-05 12:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791183200000,"timestamp_ms":1791183200000,"timestamp_seconds":1791183200,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad69f00"} 
[2026-10-05 12:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12: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-10-05 12:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 12:28:05] 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-10-05 12:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542822144001,"66":12917,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 12:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542822144001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:28:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 12:28:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542822144001,"power":12917,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":207503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:28:05] local.INFO: GPS data processed {"connection_id":207503,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:28:05] local.INFO: Acknowledgment sent {"connection_id":207503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:28:05] local.INFO: TCP Data received {"connection_id":204409,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:28:05] local.INFO: Processing buffer {"connection_id":204409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:28:05] local.INFO: IMEI packet received {"connection_id":204409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":204409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:28:10] local.INFO: TCP Data received {"connection_id":204409,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:28:10] local.INFO: Processing buffer {"connection_id":204409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:28:10] local.INFO: IMEI packet received {"connection_id":204409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":204409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:28:11] local.INFO: TCP Data received {"connection_id":204409,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad7b458012d1adb80071f8688003c011329..."} 
[2026-10-05 12:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad7b458012d1adb80071f8688003c011329..."} 
[2026-10-05 12:28:11] local.INFO: Processing buffer {"connection_id":204409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad7b458012d1adb80071f8688003c011329..."} 
[2026-10-05 12:28:11] local.INFO: Packet analysis {"connection_id":204409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad7"} 
[2026-10-05 12:28:11] local.INFO: Extracted packet for processing {"connection_id":204409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad7"} 
[2026-10-05 12:28:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542912000001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:28:11] 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-10-05 12:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791183271000,"timestamp_ms":1791183271000,"timestamp_seconds":1791183271,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad7b458"} 
[2026-10-05 12:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:28: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-10-05 12:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 12:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3641049244593052672,"note":"Value kept but may cause issues"} 
[2026-10-05 12:28:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-05 12:28:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:28:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":780659990249413339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:28:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:28:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":3592040449,"note":"Value kept but may cause issues"} 
[2026-10-05 12:28:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:28:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:28:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":671165722,"corrected_to":0} 
[2026-10-05 12:28:11] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:28:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:28:11] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,211,161,45,128,134,60,40,10,66,190,42,108,1,240,53,227,31,4,113,205,200,219,136,41,239,48,2,88,38],"length":483,"final_offset":613,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0},{"io_id":200,"original":671165722,"validated":0}]} 
[2026-10-05 12:28:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758188361940992,"timestamp_seconds":4323758188361941.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:28:11] 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-10-05 12:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542912000001,"66":11624,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542912000001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:28:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:28:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542912000001,"power":11624,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":204409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:28:11] local.INFO: GPS data processed {"connection_id":204409,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:28:11] local.INFO: Acknowledgment sent {"connection_id":204409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:28:36] local.INFO: TCP Data received {"connection_id":207503,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:28:36] local.INFO: Processing buffer {"connection_id":207503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:28:36] local.INFO: Packet analysis {"connection_id":207503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adb"} 
[2026-10-05 12:28:36] local.INFO: Extracted packet for processing {"connection_id":207503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adb"} 
[2026-10-05 12:28:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":9,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542899200001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:28:36] 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-10-05 12:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791183501000,"timestamp_ms":1791183501000,"timestamp_seconds":1791183501,"priority":1,"record_length":96,"hex_timestamp":"000001a10adb36c8"} 
[2026-10-05 12:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 12:28:36] 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-10-05 12:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542899200001,"66":12906,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542899200001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:28:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:28:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542899200001,"power":12906,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":207503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:28:36] local.INFO: GPS data processed {"connection_id":207503,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:28:36] local.INFO: Acknowledgment sent {"connection_id":207503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:28:42] local.INFO: TCP Data received {"connection_id":204409,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad80660012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad80660012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:28:42] local.INFO: Processing buffer {"connection_id":204409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad80660012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:28:42] local.INFO: Packet analysis {"connection_id":204409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad8"} 
[2026-10-05 12:28:42] local.INFO: Extracted packet for processing {"connection_id":204409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad8"} 
[2026-10-05 12:28:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542917376001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791183292000,"timestamp_ms":1791183292000,"timestamp_seconds":1791183292,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad80660"} 
[2026-10-05 12:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:28:42] 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-10-05 12: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-05 12:28:42] 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-10-05 12: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-10-05 12:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:28:42] 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-10-05 12:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542917376001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542917376001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:28:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:28:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542917376001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":204409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:28:42] local.INFO: GPS data processed {"connection_id":204409,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:28:42] local.INFO: Acknowledgment sent {"connection_id":204409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:28:59] local.INFO: TCP Data received {"connection_id":205958,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205958,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:28:59] local.INFO: Processing buffer {"connection_id":205958,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:28:59] local.INFO: IMEI packet received {"connection_id":205958,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":205958,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:29:04] local.INFO: TCP Data received {"connection_id":205958,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205958,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:29:04] local.INFO: Processing buffer {"connection_id":205958,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:29:04] local.INFO: IMEI packet received {"connection_id":205958,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":205958,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:29:05] local.INFO: TCP Data received {"connection_id":205958,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:29:05] local.INFO: Processing buffer {"connection_id":205958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:29:05] local.INFO: Packet analysis {"connection_id":205958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adb"} 
[2026-10-05 12:29:05] local.INFO: Extracted packet for processing {"connection_id":205958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adb"} 
[2026-10-05 12:29:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":9,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542899200001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:29:05] 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-10-05 12:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791183501000,"timestamp_ms":1791183501000,"timestamp_seconds":1791183501,"priority":1,"record_length":96,"hex_timestamp":"000001a10adb36c8"} 
[2026-10-05 12:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12: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-10-05 12: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 12:29:05] 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-10-05 12: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-10-05 12:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542899200001,"66":12906,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542899200001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:29:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:29:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542899200001,"power":12906,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":205958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:29:05] local.INFO: GPS data processed {"connection_id":205958,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:29:05] local.INFO: Acknowledgment sent {"connection_id":205958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:29:05] local.INFO: TCP Data received {"connection_id":207504,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:29:05] local.INFO: Processing buffer {"connection_id":207504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:29:05] local.INFO: IMEI packet received {"connection_id":207504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":207504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:29:10] local.INFO: TCP Data received {"connection_id":207504,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:29:10] local.INFO: Processing buffer {"connection_id":207504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:29:10] local.INFO: IMEI packet received {"connection_id":207504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":207504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:29:11] local.INFO: TCP Data received {"connection_id":207504,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad85868012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad85868012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:29:11] local.INFO: Processing buffer {"connection_id":207504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad85868012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:29:11] local.INFO: Packet analysis {"connection_id":207504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad8"} 
[2026-10-05 12:29:11] local.INFO: Extracted packet for processing {"connection_id":207504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad8"} 
[2026-10-05 12:29:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542922752001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:29:11] 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-10-05 12:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791183313000,"timestamp_ms":1791183313000,"timestamp_seconds":1791183313,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad85868"} 
[2026-10-05 12:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:29: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-10-05 12:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:29:11] 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-10-05 12:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:29:11] 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-10-05 12:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542922752001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542922752001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:29:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:29:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542922752001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":207504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:29:11] local.INFO: GPS data processed {"connection_id":207504,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:29:11] local.INFO: Acknowledgment sent {"connection_id":207504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:29:36] local.INFO: TCP Data received {"connection_id":205958,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:29:36] local.INFO: Processing buffer {"connection_id":205958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:29:36] local.INFO: Packet analysis {"connection_id":205958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adb"} 
[2026-10-05 12:29:36] local.INFO: Extracted packet for processing {"connection_id":205958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adb"} 
[2026-10-05 12:29:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":9,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542899200001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:29:36] 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-10-05 12:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791183501000,"timestamp_ms":1791183501000,"timestamp_seconds":1791183501,"priority":1,"record_length":96,"hex_timestamp":"000001a10adb36c8"} 
[2026-10-05 12:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 12:29:36] 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-10-05 12:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542899200001,"66":12906,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542899200001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:29:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:29:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542899200001,"power":12906,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":205958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967126,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:29:36] local.INFO: GPS data processed {"connection_id":205958,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:29:36] local.INFO: Acknowledgment sent {"connection_id":205958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:29:42] local.INFO: TCP Data received {"connection_id":207504,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad8aa70012d1adb80071f8688003c011328..."} 
[2026-10-05 12:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad8aa70012d1adb80071f8688003c011328..."} 
[2026-10-05 12:29:42] local.INFO: Processing buffer {"connection_id":207504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad8aa70012d1adb80071f8688003c011328..."} 
[2026-10-05 12:29:42] local.INFO: Packet analysis {"connection_id":207504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad8"} 
[2026-10-05 12:29:42] local.INFO: Extracted packet for processing {"connection_id":207504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad8"} 
[2026-10-05 12:29:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542928128001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791183334000,"timestamp_ms":1791183334000,"timestamp_seconds":1791183334,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad8aa70"} 
[2026-10-05 12:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:29:42] 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-10-05 12: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:29:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:29:42] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:29:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:29:42] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:29:42] local.WARNING: Large IO value detected {"io_id":161,"raw_value":780840378875845339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:29:42] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:29:42] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77450698572169216,"note":"Value kept but may cause issues"} 
[2026-10-05 12:29:42] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832576,"note":"Value kept but may cause issues"} 
[2026-10-05 12:29:42] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074386638,"note":"Value kept but may cause issues"} 
[2026-10-05 12:29:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:29:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:29:42] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:29:42] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:29:42] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,211,161,6,45,128,134,60,43,10,66,180,41,98,1,240,227,31,4,113,205,190,219,136,42,239,48,2,88,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:29:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758188361940992,"timestamp_seconds":4323758188361941.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:29:42] 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-10-05 12:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542928128001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542928128001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:29:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:29:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542928128001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":207504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:29:42] local.INFO: GPS data processed {"connection_id":207504,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:29:42] local.INFO: Acknowledgment sent {"connection_id":207504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:29:59] local.INFO: TCP Data received {"connection_id":205959,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:29:59] local.INFO: Processing buffer {"connection_id":205959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:29:59] local.INFO: IMEI packet received {"connection_id":205959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":205959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:30:03] local.INFO: TCP Data received {"connection_id":205960,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:30:03] local.INFO: Processing buffer {"connection_id":205960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:30:03] local.INFO: IMEI packet received {"connection_id":205960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":205960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:30:04] local.INFO: TCP Data received {"connection_id":205959,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:30:04] local.INFO: Processing buffer {"connection_id":205959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:30:04] local.INFO: IMEI packet received {"connection_id":205959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":205959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:30:05] local.INFO: TCP Data received {"connection_id":205959,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:30:05] local.INFO: Processing buffer {"connection_id":205959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:30:05] local.INFO: Packet analysis {"connection_id":205959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adb"} 
[2026-10-05 12:30:05] local.INFO: Extracted packet for processing {"connection_id":205959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adb"} 
[2026-10-05 12:30:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":9,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542899200001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:30:05] 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-10-05 12:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791183501000,"timestamp_ms":1791183501000,"timestamp_seconds":1791183501,"priority":1,"record_length":96,"hex_timestamp":"000001a10adb36c8"} 
[2026-10-05 12:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:30: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-10-05 12:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 12:30:05] 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-10-05 12:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542899200001,"66":12906,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542899200001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:30:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:30:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542899200001,"power":12906,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":205959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:30:05] local.INFO: GPS data processed {"connection_id":205959,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:30:05] local.INFO: Acknowledgment sent {"connection_id":205959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:30:06] local.INFO: TCP Data received {"connection_id":205960,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:30:06] local.INFO: Processing buffer {"connection_id":205960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:30:06] local.INFO: IMEI packet received {"connection_id":205960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":205960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:30:10] local.INFO: TCP Data received {"connection_id":205960,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:30:10] local.INFO: Processing buffer {"connection_id":205960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:30:10] local.INFO: IMEI packet received {"connection_id":205960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":205960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:30:12] local.INFO: TCP Data received {"connection_id":205960,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad8fc78012d1adb80071f8688003c011327..."} 
[2026-10-05 12:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad8fc78012d1adb80071f8688003c011327..."} 
[2026-10-05 12:30:12] local.INFO: Processing buffer {"connection_id":205960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad8fc78012d1adb80071f8688003c011327..."} 
[2026-10-05 12:30:12] local.INFO: Packet analysis {"connection_id":205960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad8"} 
[2026-10-05 12:30:12] local.INFO: Extracted packet for processing {"connection_id":205960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad8"} 
[2026-10-05 12:30:12] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542933504001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791183355000,"timestamp_ms":1791183355000,"timestamp_seconds":1791183355,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad8fc78"} 
[2026-10-05 12:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:30:12] 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-10-05 12:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":205960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":205960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":205960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:30:12] 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-10-05 12:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542933504001,"66":12341,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542933504001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:30:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:30:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542933504001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":205960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:30:12] local.INFO: GPS data processed {"connection_id":205960,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:30:12] local.INFO: Acknowledgment sent {"connection_id":205960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:30:36] local.INFO: TCP Data received {"connection_id":205959,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:30:36] local.INFO: Processing buffer {"connection_id":205959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:30:36] local.INFO: Packet analysis {"connection_id":205959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adb"} 
[2026-10-05 12:30:36] local.INFO: Extracted packet for processing {"connection_id":205959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adb"} 
[2026-10-05 12:30:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":9,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542899200001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:30:36] 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-10-05 12:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791183501000,"timestamp_ms":1791183501000,"timestamp_seconds":1791183501,"priority":1,"record_length":96,"hex_timestamp":"000001a10adb36c8"} 
[2026-10-05 12:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 12:30:36] 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-10-05 12:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542899200001,"66":12906,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542899200001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:30:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:30:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542899200001,"power":12906,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":205959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:30:37] local.INFO: GPS data processed {"connection_id":205959,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:30:37] local.INFO: Acknowledgment sent {"connection_id":205959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:30:42] local.INFO: TCP Data received {"connection_id":205960,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad94e80012d1adb80071f8688003c011328..."} 
[2026-10-05 12:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad94e80012d1adb80071f8688003c011328..."} 
[2026-10-05 12:30:42] local.INFO: Processing buffer {"connection_id":205960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad94e80012d1adb80071f8688003c011328..."} 
[2026-10-05 12:30:42] local.INFO: Packet analysis {"connection_id":205960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad9"} 
[2026-10-05 12:30:42] local.INFO: Extracted packet for processing {"connection_id":205960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad9"} 
[2026-10-05 12:30:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542938880001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791183376000,"timestamp_ms":1791183376000,"timestamp_seconds":1791183376,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad94e80"} 
[2026-10-05 12:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:30:42] 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-10-05 12:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 12:30:42] 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-10-05 12:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":205960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":205960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":205960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:30:42] 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-10-05 12:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542938880001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542938880001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:30:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:30:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542938880001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":205960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:30:43] local.INFO: GPS data processed {"connection_id":205960,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:30:43] local.INFO: Acknowledgment sent {"connection_id":205960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:31:04] local.INFO: TCP Data received {"connection_id":207505,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:31:04] local.INFO: Processing buffer {"connection_id":207505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:31:04] local.INFO: IMEI packet received {"connection_id":207505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":207505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:31:06] local.INFO: TCP Data received {"connection_id":205961,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:31:06] local.INFO: Processing buffer {"connection_id":205961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:31:06] local.INFO: IMEI packet received {"connection_id":205961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":205961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:31:06] local.INFO: TCP Data received {"connection_id":205961,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:31:06] local.INFO: Processing buffer {"connection_id":205961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:31:06] local.INFO: IMEI packet received {"connection_id":205961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":205961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:31:09] local.INFO: TCP Data received {"connection_id":207506,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:31:09] local.INFO: Processing buffer {"connection_id":207506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:31:09] local.INFO: IMEI packet received {"connection_id":207506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":207506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:31:09] local.INFO: TCP Data received {"connection_id":207505,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:31:09] local.INFO: Processing buffer {"connection_id":207505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:31:09] local.INFO: IMEI packet received {"connection_id":207505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":207505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:31:10] local.INFO: TCP Data received {"connection_id":207506,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:31:10] local.INFO: Processing buffer {"connection_id":207506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:31:10] local.INFO: IMEI packet received {"connection_id":207506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":207506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:31:10] local.INFO: TCP Data received {"connection_id":207505,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:31:10] local.INFO: Processing buffer {"connection_id":207505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:31:10] local.INFO: Packet analysis {"connection_id":207505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adb"} 
[2026-10-05 12:31:10] local.INFO: Extracted packet for processing {"connection_id":207505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adb"} 
[2026-10-05 12:31:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":9,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542899200001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:10] 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-10-05 12:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791183501000,"timestamp_ms":1791183501000,"timestamp_seconds":1791183501,"priority":1,"record_length":96,"hex_timestamp":"000001a10adb36c8"} 
[2026-10-05 12:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 12:31:10] 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-10-05 12:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542899200001,"66":12906,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542899200001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:31:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542899200001,"power":12906,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":207505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:31:10] local.INFO: GPS data processed {"connection_id":207505,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:31:10] local.INFO: Acknowledgment sent {"connection_id":207505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:31:10] local.INFO: TCP Data received {"connection_id":205961,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:31:10] local.INFO: Processing buffer {"connection_id":205961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:31:10] local.INFO: IMEI packet received {"connection_id":205961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":205961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:31:11] local.INFO: TCP Data received {"connection_id":205961,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad9a088012d1adb80071f8688003c011329..."} 
[2026-10-05 12:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad9a088012d1adb80071f8688003c011329..."} 
[2026-10-05 12:31:11] local.INFO: Processing buffer {"connection_id":205961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad9a088012d1adb80071f8688003c011329..."} 
[2026-10-05 12:31:11] local.INFO: Packet analysis {"connection_id":205961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad9"} 
[2026-10-05 12:31:11] local.INFO: Extracted packet for processing {"connection_id":205961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad9"} 
[2026-10-05 12:31:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542944256001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:11] 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-10-05 12:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791183397000,"timestamp_ms":1791183397000,"timestamp_seconds":1791183397,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad9a088"} 
[2026-10-05 12:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:31:11] 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-10-05 12:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:11] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":781110961815493339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77451798083796992,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832576,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3244281464055201998,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:31:11] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:11] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,101,83,24,241,157,16,211,161,252,45,128,134,60,39,10,66,170,40,88,1,240,227,31,4,113,205,180,219,136,41,239,2,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:31:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758179772006400,"timestamp_seconds":4323758179772006.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:31:11] 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-10-05 12:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542944256001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542944256001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:31:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:31:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542944256001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":205961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:31:11] local.INFO: GPS data processed {"connection_id":205961,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:31:11] local.INFO: Acknowledgment sent {"connection_id":205961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:31:15] local.INFO: TCP Data received {"connection_id":207506,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:31:15] local.INFO: Processing buffer {"connection_id":207506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:31:15] local.INFO: IMEI packet received {"connection_id":207506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":207506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:31:16] local.INFO: TCP Data received {"connection_id":207506,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10add3680012c54fc8009c57bd0025e012a30..."} 
[2026-10-05 12:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10add3680012c54fc8009c57bd0025e012a30..."} 
[2026-10-05 12:31:16] local.INFO: Processing buffer {"connection_id":207506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10add3680012c54fc8009c57bd0025e012a30..."} 
[2026-10-05 12:31:16] local.INFO: Packet analysis {"connection_id":207506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10add"} 
[2026-10-05 12:31:16] local.INFO: Extracted packet for processing {"connection_id":207506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10add"} 
[2026-10-05 12:31:16] local.INFO: GPS Element Parsed {"raw_longitude":743767168,"raw_latitude":163937232,"longitude_deg":74.3767168,"latitude_deg":16.3937232,"altitude":606,"angle":298,"satellites":48,"speed":15,"hex_longitude":"2c54fc80","hex_latitude":"09c57bd0","is_valid_coordinates":true} 
[2026-10-05 12:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543004416001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8727420790112256,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6129188028585934850,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791183632000,"timestamp_ms":1791183632000,"timestamp_seconds":1791183632,"priority":1,"record_length":96,"hex_timestamp":"000001a10add3680"} 
[2026-10-05 12:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 12:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543004416001,"66":28234,"112":206,"9":7680,"24":15,"16":8727420790112256,"44":6129188028585934850},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,9,24,16,44]} 
[2026-10-05 12:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543004416001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:31:16] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-10-05 12:31:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 12:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8727420790112256,"km_value":8727420790112.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:31:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":6129188028585934850,"description":"Unknown IO ID 44"} 
[2026-10-05 12:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543004416001,"power":28234,"unknown_112":206,"unknown_9":7680,"ignition":15,"odometer":null,"unknown_44":6129188028585934850}} 
[2026-10-05 12:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":207506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967134,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:31:16] local.INFO: GPS data processed {"connection_id":207506,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:31:16] local.INFO: Acknowledgment sent {"connection_id":207506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:31:39] local.INFO: TCP Data received {"connection_id":204556,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:31:39] local.INFO: Processing buffer {"connection_id":204556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:31:39] local.INFO: IMEI packet received {"connection_id":204556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":204556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:31:42] local.INFO: TCP Data received {"connection_id":207505,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:31:42] local.INFO: Processing buffer {"connection_id":207505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:31:42] local.INFO: Packet analysis {"connection_id":207505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adb"} 
[2026-10-05 12:31:42] local.INFO: Extracted packet for processing {"connection_id":207505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adb"} 
[2026-10-05 12:31:42] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":9,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542899200001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:42] 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-10-05 12:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791183501000,"timestamp_ms":1791183501000,"timestamp_seconds":1791183501,"priority":1,"record_length":96,"hex_timestamp":"000001a10adb36c8"} 
[2026-10-05 12:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 12:31:42] 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-10-05 12: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-10-05 12:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542899200001,"66":12906,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542899200001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:31:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:31:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542899200001,"power":12906,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":207505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:31:42] local.INFO: GPS data processed {"connection_id":207505,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:31:42] local.INFO: Acknowledgment sent {"connection_id":207505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:31:42] local.INFO: TCP Data received {"connection_id":204556,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:31:42] local.INFO: Processing buffer {"connection_id":204556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:31:42] local.INFO: IMEI packet received {"connection_id":204556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":204556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:31:43] local.INFO: TCP Data received {"connection_id":205961,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ad9f290012d1adb80071f8688003c011327..."} 
[2026-10-05 12:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ad9f290012d1adb80071f8688003c011327..."} 
[2026-10-05 12:31:43] local.INFO: Processing buffer {"connection_id":205961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ad9f290012d1adb80071f8688003c011327..."} 
[2026-10-05 12:31:43] local.INFO: Packet analysis {"connection_id":205961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ad9"} 
[2026-10-05 12:31:43] local.INFO: Extracted packet for processing {"connection_id":205961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ad9"} 
[2026-10-05 12:31:43] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:31: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-10-05 12:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542949632001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791183418000,"timestamp_ms":1791183418000,"timestamp_seconds":1791183418,"priority":1,"record_length":96,"hex_timestamp":"000001a10ad9f290"} 
[2026-10-05 12:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:31:43] 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-10-05 12:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:43] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:43] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:43] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:43] local.WARNING: Large IO value detected {"io_id":161,"raw_value":781201156128709339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:43] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:43] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77450698572169216,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:43] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832576,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:43] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3271866011772846286,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:43] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:31:43] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:43] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:43] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:43] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,101,83,24,241,157,16,211,161,78,45,128,134,60,40,10,66,252,39,170,1,240,255,227,31,4,113,205,6,219,136,43,239,47,2,88,7,42],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:31:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758184066973696,"timestamp_seconds":4323758184066973.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":205961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":205961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":205961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:31:43] 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-10-05 12:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542949632001,"66":12341,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542949632001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:31:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:31:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542949632001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":205961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:31:43] local.INFO: GPS data processed {"connection_id":205961,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:31:43] local.INFO: Acknowledgment sent {"connection_id":205961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:31:44] local.INFO: TCP Data received {"connection_id":204556,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:31:44] local.INFO: Processing buffer {"connection_id":204556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:31:44] local.INFO: IMEI packet received {"connection_id":204556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":204556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:31:45] local.INFO: TCP Data received {"connection_id":204556,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10add6948012c54ee0009c583d0025d013530..."} 
[2026-10-05 12:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10add6948012c54ee0009c583d0025d013530..."} 
[2026-10-05 12:31:45] local.INFO: Processing buffer {"connection_id":204556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10add6948012c54ee0009c583d0025d013530..."} 
[2026-10-05 12:31:45] local.INFO: Packet analysis {"connection_id":204556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10add"} 
[2026-10-05 12:31:45] local.INFO: Extracted packet for processing {"connection_id":204556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10add"} 
[2026-10-05 12:31:45] local.INFO: GPS Element Parsed {"raw_longitude":743763456,"raw_latitude":163939280,"longitude_deg":74.3763456,"latitude_deg":16.393928,"altitude":605,"angle":309,"satellites":48,"speed":11,"hex_longitude":"2c54ee00","hex_latitude":"09c583d0","is_valid_coordinates":true} 
[2026-10-05 12:31: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-10-05 12:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543009792001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8727622653575168,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6123910372773318658,"note":"Value kept but may cause issues"} 
[2026-10-05 12:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791183645000,"timestamp_ms":1791183645000,"timestamp_seconds":1791183645,"priority":1,"record_length":96,"hex_timestamp":"000001a10add6948"} 
[2026-10-05 12:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:31: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-10-05 12:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:31: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-10-05 12:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":204556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":204556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":204556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543009792001,"66":28332,"112":206,"9":7680,"24":11,"16":8727622653575168,"44":6123910372773318658},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,9,24,16,44]} 
[2026-10-05 12:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543009792001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:31:45] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-10-05 12:31:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 12:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8727622653575168,"km_value":8727622653575.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:31:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":6123910372773318658,"description":"Unknown IO ID 44"} 
[2026-10-05 12:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543009792001,"power":28332,"unknown_112":206,"unknown_9":7680,"ignition":11,"odometer":null,"unknown_44":6123910372773318658}} 
[2026-10-05 12:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":204556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967137,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:31:45] local.INFO: GPS data processed {"connection_id":204556,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:31:45] local.INFO: Acknowledgment sent {"connection_id":204556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:31:59] local.INFO: TCP Data received {"connection_id":204410,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:31:59] local.INFO: Processing buffer {"connection_id":204410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:31:59] local.INFO: IMEI packet received {"connection_id":204410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":204410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:32:04] local.INFO: TCP Data received {"connection_id":204410,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:32:04] local.INFO: Processing buffer {"connection_id":204410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:32:04] local.INFO: IMEI packet received {"connection_id":204410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":204410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:32:05] local.INFO: TCP Data received {"connection_id":204411,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:32:05] local.INFO: Processing buffer {"connection_id":204411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:32:05] local.INFO: IMEI packet received {"connection_id":204411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":204411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:32:05] local.INFO: TCP Data received {"connection_id":204410,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:32:05] local.INFO: Processing buffer {"connection_id":204410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:32:05] local.INFO: Packet analysis {"connection_id":204410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adb"} 
[2026-10-05 12:32:05] local.INFO: Extracted packet for processing {"connection_id":204410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adb"} 
[2026-10-05 12:32:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":9,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542899200001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:32:05] 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-10-05 12:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791183501000,"timestamp_ms":1791183501000,"timestamp_seconds":1791183501,"priority":1,"record_length":96,"hex_timestamp":"000001a10adb36c8"} 
[2026-10-05 12:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:32: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-10-05 12:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 12:32:05] 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-10-05 12:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542899200001,"66":12906,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542899200001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:32:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:32:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542899200001,"power":12906,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":204410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:32:05] local.INFO: GPS data processed {"connection_id":204410,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:32:05] local.INFO: Acknowledgment sent {"connection_id":204410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:32:09] local.INFO: TCP Data received {"connection_id":204411,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:32:09] local.INFO: Processing buffer {"connection_id":204411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:32:09] local.INFO: IMEI packet received {"connection_id":204411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":204411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:32:10] local.INFO: TCP Data received {"connection_id":204411,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10add78e8012d1adb80071f8688003c011329..."} 
[2026-10-05 12:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10add78e8012d1adb80071f8688003c011329..."} 
[2026-10-05 12:32:10] local.INFO: Processing buffer {"connection_id":204411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10add78e8012d1adb80071f8688003c011329..."} 
[2026-10-05 12:32:10] local.INFO: Packet analysis {"connection_id":204411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10add"} 
[2026-10-05 12:32:10] local.INFO: Extracted packet for processing {"connection_id":204411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10add"} 
[2026-10-05 12:32:10] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543008768001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:32:10] 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-10-05 12:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791183649000,"timestamp_ms":1791183649000,"timestamp_seconds":1791183649,"priority":1,"record_length":96,"hex_timestamp":"000001a10add78e8"} 
[2026-10-05 12:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:32:10] 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-10-05 12:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-10-05 12:32:10] 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-10-05 12:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:32:10] 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-10-05 12:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543008768001,"66":12319,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543008768001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:32:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:32:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543008768001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":204411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:32:10] local.INFO: GPS data processed {"connection_id":204411,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:32:10] local.INFO: Acknowledgment sent {"connection_id":204411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:32:28] local.INFO: TCP Data received {"connection_id":204556,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10add84a0012c54e6c009c58a60025c01412e..."} 
[2026-10-05 12:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10add84a0012c54e6c009c58a60025c01412e..."} 
[2026-10-05 12:32:28] local.INFO: Processing buffer {"connection_id":204556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10add84a0012c54e6c009c58a60025c01412e..."} 
[2026-10-05 12:32:28] local.INFO: Packet analysis {"connection_id":204556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10add"} 
[2026-10-05 12:32:28] local.INFO: Extracted packet for processing {"connection_id":204556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10add"} 
[2026-10-05 12:32:28] local.INFO: GPS Element Parsed {"raw_longitude":743761600,"raw_latitude":163940960,"longitude_deg":74.37616,"latitude_deg":16.394096,"altitude":604,"angle":321,"satellites":46,"speed":15,"hex_longitude":"2c54e6c0","hex_latitude":"09c58a60","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543013120001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8727738617692160,"note":"Value kept but may cause issues"} 
[2026-10-05 12:32:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6119828985611538434,"note":"Value kept but may cause issues"} 
[2026-10-05 12:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1791183652000,"timestamp_ms":1791183652000,"timestamp_seconds":1791183652,"priority":1,"record_length":96,"hex_timestamp":"000001a10add84a0"} 
[2026-10-05 12:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:32: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-10-05 12: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 12:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12: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-10-05 12:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":204556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":204556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":204556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543013120001,"66":28354,"112":206,"9":7680,"24":15,"16":8727738617692160,"44":6119828985611538434},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,9,24,16,44]} 
[2026-10-05 12:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543013120001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:32:28] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-10-05 12:32:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 12:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8727738617692160,"km_value":8727738617692.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:32:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":6119828985611538434,"description":"Unknown IO ID 44"} 
[2026-10-05 12:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543013120001,"power":28354,"unknown_112":206,"unknown_9":7680,"ignition":15,"odometer":null,"unknown_44":6119828985611538434}} 
[2026-10-05 12:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":204556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967140,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:32:28] local.INFO: GPS data processed {"connection_id":204556,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:32:28] local.INFO: Acknowledgment sent {"connection_id":204556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:32:36] local.INFO: TCP Data received {"connection_id":204410,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:32:36] local.INFO: Processing buffer {"connection_id":204410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:32:36] local.INFO: Packet analysis {"connection_id":204410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adb"} 
[2026-10-05 12:32:36] local.INFO: Extracted packet for processing {"connection_id":204410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adb"} 
[2026-10-05 12:32:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":9,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542899200001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:32:36] 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-10-05 12:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791183501000,"timestamp_ms":1791183501000,"timestamp_seconds":1791183501,"priority":1,"record_length":96,"hex_timestamp":"000001a10adb36c8"} 
[2026-10-05 12:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 12:32:36] 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-10-05 12:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542899200001,"66":12906,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542899200001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:32:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:32:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542899200001,"power":12906,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":204410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:32:36] local.INFO: GPS data processed {"connection_id":204410,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:32:36] local.INFO: Acknowledgment sent {"connection_id":204410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:32:41] local.INFO: TCP Data received {"connection_id":204411,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10addcaf0012d1adb80071f8688003c011329..."} 
[2026-10-05 12:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10addcaf0012d1adb80071f8688003c011329..."} 
[2026-10-05 12:32:41] local.INFO: Processing buffer {"connection_id":204411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10addcaf0012d1adb80071f8688003c011329..."} 
[2026-10-05 12:32:41] local.INFO: Packet analysis {"connection_id":204411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10add"} 
[2026-10-05 12:32:41] local.INFO: Extracted packet for processing {"connection_id":204411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10add"} 
[2026-10-05 12:32:41] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543014144001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:32:41] 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-10-05 12:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791183670000,"timestamp_ms":1791183670000,"timestamp_seconds":1791183670,"priority":1,"record_length":96,"hex_timestamp":"000001a10addcaf0"} 
[2026-10-05 12:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:32:41] 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-10-05 12:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-10-05 12:32:41] 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-10-05 12:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:32:41] 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-10-05 12:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543014144001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543014144001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:32:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:32:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543014144001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":204411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:32:41] local.INFO: GPS data processed {"connection_id":204411,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:32:41] local.INFO: Acknowledgment sent {"connection_id":204411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:32:59] local.INFO: TCP Data received {"connection_id":205962,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:32:59] local.INFO: Processing buffer {"connection_id":205962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:32:59] local.INFO: IMEI packet received {"connection_id":205962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":205962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:32:59] local.INFO: TCP Data received {"connection_id":204556,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10addb380012c54dbc009c59920025a01352e..."} 
[2026-10-05 12:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10addb380012c54dbc009c59920025a01352e..."} 
[2026-10-05 12:32:59] local.INFO: Processing buffer {"connection_id":204556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10addb380012c54dbc009c59920025a01352e..."} 
[2026-10-05 12:32:59] local.INFO: Packet analysis {"connection_id":204556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10add"} 
[2026-10-05 12:32:59] local.INFO: Extracted packet for processing {"connection_id":204556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10add"} 
[2026-10-05 12:32:59] local.INFO: GPS Element Parsed {"raw_longitude":743758784,"raw_latitude":163944736,"longitude_deg":74.3758784,"latitude_deg":16.3944736,"altitude":602,"angle":309,"satellites":46,"speed":20,"hex_longitude":"2c54dbc0","hex_latitude":"09c59920","is_valid_coordinates":true} 
[2026-10-05 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-10-05 12:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543014912001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8727966250958848,"note":"Value kept but may cause issues"} 
[2026-10-05 12:32:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6117788292030816258,"note":"Value kept but may cause issues"} 
[2026-10-05 12:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791183664000,"timestamp_ms":1791183664000,"timestamp_seconds":1791183664,"priority":1,"record_length":96,"hex_timestamp":"000001a10addb380"} 
[2026-10-05 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-10-05 12:32: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-10-05 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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 12:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12: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-10-05 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-10-05 12:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":204556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":204556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":204556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543014912001,"66":28354,"112":206,"9":7680,"24":20,"16":8727966250958848,"44":6117788292030816258},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,9,24,16,44]} 
[2026-10-05 12:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543014912001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:32:59] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-10-05 12:32:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-10-05 12:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8727966250958848,"km_value":8727966250958.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:32:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":6117788292030816258,"description":"Unknown IO ID 44"} 
[2026-10-05 12:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543014912001,"power":28354,"unknown_112":206,"unknown_9":7680,"ignition":20,"odometer":null,"unknown_44":6117788292030816258}} 
[2026-10-05 12:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":204556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967143,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:32:59] local.INFO: GPS data processed {"connection_id":204556,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:32:59] local.INFO: Acknowledgment sent {"connection_id":204556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:33:04] local.INFO: TCP Data received {"connection_id":205962,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:33:04] local.INFO: Processing buffer {"connection_id":205962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:33:04] local.INFO: IMEI packet received {"connection_id":205962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":205962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:33:05] local.INFO: TCP Data received {"connection_id":205963,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:33:05] local.INFO: Processing buffer {"connection_id":205963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:33:05] local.INFO: IMEI packet received {"connection_id":205963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":205963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:33:05] local.INFO: TCP Data received {"connection_id":205962,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:33:05] local.INFO: Processing buffer {"connection_id":205962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adb36c8012d7b524005e13b08000900a925..."} 
[2026-10-05 12:33:05] local.INFO: Packet analysis {"connection_id":205962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adb"} 
[2026-10-05 12:33:05] local.INFO: Extracted packet for processing {"connection_id":205962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adb"} 
[2026-10-05 12:33:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":9,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542899200001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:05] 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-10-05 12:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791183501000,"timestamp_ms":1791183501000,"timestamp_seconds":1791183501,"priority":1,"record_length":96,"hex_timestamp":"000001a10adb36c8"} 
[2026-10-05 12:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:33: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-10-05 12: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 12:33:05] 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-10-05 12: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-10-05 12:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542899200001,"66":12906,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 12:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542899200001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:33:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:33:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458542899200001,"power":12906,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 12:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":205962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:33:05] local.INFO: GPS data processed {"connection_id":205962,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:33:05] local.INFO: Acknowledgment sent {"connection_id":205962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:33:10] local.INFO: TCP Data received {"connection_id":205963,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:33:10] local.INFO: Processing buffer {"connection_id":205963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:33:10] local.INFO: IMEI packet received {"connection_id":205963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":205963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:33:11] local.INFO: TCP Data received {"connection_id":205963,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ade1cf8012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ade1cf8012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:33:11] local.INFO: Processing buffer {"connection_id":205963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ade1cf8012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:33:11] local.INFO: Packet analysis {"connection_id":205963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ade"} 
[2026-10-05 12:33:11] local.INFO: Extracted packet for processing {"connection_id":205963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ade"} 
[2026-10-05 12:33:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543019520001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:11] 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-10-05 12:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791183691000,"timestamp_ms":1791183691000,"timestamp_seconds":1791183691,"priority":1,"record_length":96,"hex_timestamp":"000001a10ade1cf8"} 
[2026-10-05 12:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:33:11] 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-10-05 12:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:33:11] 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-10-05 12:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:33:11] 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-10-05 12:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543019520001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543019520001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:33:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:33:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543019520001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":205963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:33:11] local.INFO: GPS data processed {"connection_id":205963,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:33:11] local.INFO: Acknowledgment sent {"connection_id":205963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:33:31] local.INFO: TCP Data received {"connection_id":204556,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10adf1ae0012c5433c009c69bb0025a016630..."} 
[2026-10-05 12:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adf1ae0012c5433c009c69bb0025a016630..."} 
[2026-10-05 12:33:31] local.INFO: Processing buffer {"connection_id":204556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adf1ae0012c5433c009c69bb0025a016630..."} 
[2026-10-05 12:33:31] local.INFO: Packet analysis {"connection_id":204556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:33:31] local.INFO: Extracted packet for processing {"connection_id":204556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:33:31] local.INFO: GPS Element Parsed {"raw_longitude":743715776,"raw_latitude":164010928,"longitude_deg":74.3715776,"latitude_deg":16.4010928,"altitude":602,"angle":358,"satellites":48,"speed":54,"hex_longitude":"2c5433c0","hex_latitude":"09c69bb0","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543039744001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8732102304464896,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6067756114936082434,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791183756000,"timestamp_ms":1791183756000,"timestamp_seconds":1791183756,"priority":1,"record_length":96,"hex_timestamp":"000001a10adf1ae0"} 
[2026-10-05 12:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:33: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-10-05 12: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 12:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12: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-10-05 12:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543039744001,"66":28300,"206":206,"9":7936,"24":54,"16":8732102304464896,"44":6067756114936082434},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-10-05 12:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543039744001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:33:31] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-10-05 12:33:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8732102304464896,"km_value":8732102304464.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:33:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":6067756114936082434,"description":"Unknown IO ID 44"} 
[2026-10-05 12:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543039744001,"power":28300,"unknown_206":206,"unknown_9":7936,"ignition":54,"odometer":null,"unknown_44":6067756114936082434}} 
[2026-10-05 12:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":204556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967146,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:33:31] local.INFO: GPS data processed {"connection_id":204556,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:33:31] local.INFO: Acknowledgment sent {"connection_id":204556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:33:36] local.INFO: TCP Data received {"connection_id":205962,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:33:36] local.INFO: Processing buffer {"connection_id":205962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:33:36] local.INFO: Packet analysis {"connection_id":205962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:33:36] local.INFO: Extracted packet for processing {"connection_id":205962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:33:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":8,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542976256001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:36] 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-10-05 12:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791183802000,"timestamp_ms":1791183802000,"timestamp_seconds":1791183802,"priority":1,"record_length":96,"hex_timestamp":"000001a10adfce90"} 
[2026-10-05 12:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 12:33:36] 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-10-05 12:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542976256001,"66":12863,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542976256001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:33:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:33:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542976256001,"power":12863,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":205962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:33:36] local.INFO: GPS data processed {"connection_id":205962,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:33:36] local.INFO: Acknowledgment sent {"connection_id":205962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:33:42] local.INFO: TCP Data received {"connection_id":205963,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ade6f00012d1adb80071f8688003c011326..."} 
[2026-10-05 12:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ade6f00012d1adb80071f8688003c011326..."} 
[2026-10-05 12:33:42] local.INFO: Processing buffer {"connection_id":205963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ade6f00012d1adb80071f8688003c011326..."} 
[2026-10-05 12:33:42] local.INFO: Packet analysis {"connection_id":205963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ade"} 
[2026-10-05 12:33:42] local.INFO: Extracted packet for processing {"connection_id":205963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ade"} 
[2026-10-05 12:33:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:33: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-10-05 12:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543024896001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791183712000,"timestamp_ms":1791183712000,"timestamp_seconds":1791183712,"priority":1,"record_length":96,"hex_timestamp":"000001a10ade6f00"} 
[2026-10-05 12:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:33:42] 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-10-05 12:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:42] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:42] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:42] local.WARNING: Large IO value detected {"io_id":161,"raw_value":782463876513733339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:42] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":61441,"corrected_to":0} 
[2026-10-05 12:33:42] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:42] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77451798083796992,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:42] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832577,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:42] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332011214,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:33:42] local.WARNING: Large IO value detected {"io_id":130,"raw_value":3489738010,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:42] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:42] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:33:42] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,211,161,202,45,128,134,60,41,10,66,120,38,1,240,87,227,31,4,113,205,130,219,136,40,239,48,2,88,7,43],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":202,"original":61441,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:33:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758196951875584,"timestamp_seconds":4323758196951875.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":205963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":205963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":205963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:33:42] 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-10-05 12:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543024896001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543024896001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:33:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:33:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543024896001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":205963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:33:42] local.INFO: GPS data processed {"connection_id":205963,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:33:42] local.INFO: Acknowledgment sent {"connection_id":205963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:33:59] local.INFO: TCP Data received {"connection_id":204557,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:33:59] local.INFO: Processing buffer {"connection_id":204557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:33:59] local.INFO: IMEI packet received {"connection_id":204557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":204557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:34:04] local.INFO: TCP Data received {"connection_id":204557,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:34:04] local.INFO: Processing buffer {"connection_id":204557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:34:04] local.INFO: IMEI packet received {"connection_id":204557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":204557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:34:05] local.INFO: TCP Data received {"connection_id":204557,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:34:05] local.INFO: Processing buffer {"connection_id":204557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:34:05] local.INFO: Packet analysis {"connection_id":204557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:34:05] local.INFO: Extracted packet for processing {"connection_id":204557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:34:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":8,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542976256001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:05] 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-10-05 12:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791183802000,"timestamp_ms":1791183802000,"timestamp_seconds":1791183802,"priority":1,"record_length":96,"hex_timestamp":"000001a10adfce90"} 
[2026-10-05 12:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:34: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-10-05 12:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 12:34:05] 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-10-05 12:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542976256001,"66":12863,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542976256001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:34:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:34:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542976256001,"power":12863,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":204557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:34:05] local.INFO: GPS data processed {"connection_id":204557,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:34:05] local.INFO: Acknowledgment sent {"connection_id":204557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:34:07] local.INFO: TCP Data received {"connection_id":204556,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10adf3638012c5432c009c6c2100257016630..."} 
[2026-10-05 12:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adf3638012c5432c009c6c2100257016630..."} 
[2026-10-05 12:34:07] local.INFO: Processing buffer {"connection_id":204556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adf3638012c5432c009c6c2100257016630..."} 
[2026-10-05 12:34:07] local.INFO: Packet analysis {"connection_id":204556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:34:07] local.INFO: Extracted packet for processing {"connection_id":204556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:34:07] local.INFO: GPS Element Parsed {"raw_longitude":743715520,"raw_latitude":164020752,"longitude_deg":74.371552,"latitude_deg":16.4020752,"altitude":599,"angle":358,"satellites":48,"speed":55,"hex_longitude":"2c5432c0","hex_latitude":"09c6c210","is_valid_coordinates":true} 
[2026-10-05 12:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543041536001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8732579045834752,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6067404271217520642,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791183763000,"timestamp_ms":1791183763000,"timestamp_seconds":1791183763,"priority":1,"record_length":96,"hex_timestamp":"000001a10adf3638"} 
[2026-10-05 12:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:34: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-10-05 12:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-05 12:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543041536001,"66":28398,"206":206,"9":7936,"24":55,"16":8732579045834752,"44":6067404271217520642},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-10-05 12:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543041536001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:34:07] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-10-05 12:34:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8732579045834752,"km_value":8732579045834.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:34:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":6067404271217520642,"description":"Unknown IO ID 44"} 
[2026-10-05 12:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543041536001,"power":28398,"unknown_206":206,"unknown_9":7936,"ignition":55,"odometer":null,"unknown_44":6067404271217520642}} 
[2026-10-05 12:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":204556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967150,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:34:07] local.INFO: GPS data processed {"connection_id":204556,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:34:07] local.INFO: Acknowledgment sent {"connection_id":204556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:34:11] local.INFO: TCP Data received {"connection_id":205964,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:34:11] local.INFO: Processing buffer {"connection_id":205964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:34:11] local.INFO: IMEI packet received {"connection_id":205964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":205964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:34:15] local.INFO: TCP Data received {"connection_id":205964,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:34:15] local.INFO: Processing buffer {"connection_id":205964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:34:15] local.INFO: IMEI packet received {"connection_id":205964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":205964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:34:16] local.INFO: TCP Data received {"connection_id":205964,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10adec108012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adec108012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:34:16] local.INFO: Processing buffer {"connection_id":205964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adec108012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:34:16] local.INFO: Packet analysis {"connection_id":205964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ade"} 
[2026-10-05 12:34:16] local.INFO: Extracted packet for processing {"connection_id":205964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ade"} 
[2026-10-05 12:34:16] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543030272001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791183733000,"timestamp_ms":1791183733000,"timestamp_seconds":1791183733,"priority":1,"record_length":96,"hex_timestamp":"000001a10adec108"} 
[2026-10-05 12:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:34:16] 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-10-05 12:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:16] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:16] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:16] local.WARNING: Large IO value detected {"io_id":161,"raw_value":782554070826949339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:16] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:16] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77449599060541440,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:16] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832577,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:16] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075828430,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:16] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":61441,"corrected_to":0} 
[2026-10-05 12:34:16] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:34:16] local.WARNING: Large IO value detected {"io_id":212,"raw_value":3623955738,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:16] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:16] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:16] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:16] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,211,161,28,45,128,134,60,44,10,66,202,41,120,1,240,31,227,4,113,205,212,219,136,42,239,47,2,88,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":202,"original":61441,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:34:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758171182071808,"timestamp_seconds":4323758171182072.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:34:16] 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-10-05 12:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543030272001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543030272001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:34:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:34:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543030272001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":205964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:34:16] local.INFO: GPS data processed {"connection_id":205964,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:34:16] local.INFO: Acknowledgment sent {"connection_id":205964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:34:17] local.INFO: TCP Data received {"connection_id":205964,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10adf1310012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adf1310012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:34:17] local.INFO: Processing buffer {"connection_id":205964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adf1310012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:34:17] local.INFO: Packet analysis {"connection_id":205964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:34:17] local.INFO: Extracted packet for processing {"connection_id":205964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:34:17] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543035648001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791183754000,"timestamp_ms":1791183754000,"timestamp_seconds":1791183754,"priority":1,"record_length":96,"hex_timestamp":"000001a10adf1310"} 
[2026-10-05 12:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:34:17] 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-10-05 12:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":205964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":205964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":205964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:34:17] 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-10-05 12:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543035648001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543035648001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:34:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:34:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543035648001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":205964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:34:17] local.INFO: GPS data processed {"connection_id":205964,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:34:17] local.INFO: Acknowledgment sent {"connection_id":205964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:34:37] local.INFO: TCP Data received {"connection_id":204557,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:34:37] local.INFO: Processing buffer {"connection_id":204557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:34:37] local.INFO: Packet analysis {"connection_id":204557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:34:37] local.INFO: Extracted packet for processing {"connection_id":204557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:34:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":8,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542976256001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:37] 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-10-05 12:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791183802000,"timestamp_ms":1791183802000,"timestamp_seconds":1791183802,"priority":1,"record_length":96,"hex_timestamp":"000001a10adfce90"} 
[2026-10-05 12:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 12:34:37] 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-10-05 12: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-10-05 12:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542976256001,"66":12863,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542976256001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:34:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:34:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542976256001,"power":12863,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":204557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:34:37] local.INFO: GPS data processed {"connection_id":204557,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:34:37] local.INFO: Acknowledgment sent {"connection_id":204557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:34:39] local.INFO: TCP Data received {"connection_id":204556,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10adf5190012c5432c009c6e6800257000030..."} 
[2026-10-05 12:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adf5190012c5432c009c6e6800257000030..."} 
[2026-10-05 12:34:39] local.INFO: Processing buffer {"connection_id":204556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adf5190012c5432c009c6e6800257000030..."} 
[2026-10-05 12:34:39] local.INFO: Packet analysis {"connection_id":204556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:34:39] local.INFO: Extracted packet for processing {"connection_id":204556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:34:39] local.INFO: GPS Element Parsed {"raw_longitude":743715520,"raw_latitude":164030080,"longitude_deg":74.371552,"latitude_deg":16.403008,"altitude":599,"angle":0,"satellites":48,"speed":50,"hex_longitude":"2c5432c0","hex_latitude":"09c6e680","is_valid_coordinates":true} 
[2026-10-05 12:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543043328001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8733034312368128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6067122796243324930,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791183770000,"timestamp_ms":1791183770000,"timestamp_seconds":1791183770,"priority":1,"record_length":96,"hex_timestamp":"000001a10adf5190"} 
[2026-10-05 12:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 12:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":204556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":204556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":204556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543043328001,"66":28398,"206":206,"9":7936,"24":50,"16":8733034312368128,"44":6067122796243324930},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-10-05 12:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543043328001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:34:39] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-10-05 12:34:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8733034312368128,"km_value":8733034312368.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:34:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":6067122796243324930,"description":"Unknown IO ID 44"} 
[2026-10-05 12:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543043328001,"power":28398,"unknown_206":206,"unknown_9":7936,"ignition":50,"odometer":null,"unknown_44":6067122796243324930}} 
[2026-10-05 12:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":204556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967154,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:34:39] local.INFO: GPS data processed {"connection_id":204556,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:34:39] local.INFO: Acknowledgment sent {"connection_id":204556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:34:48] local.INFO: TCP Data received {"connection_id":205964,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10adf6518012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adf6518012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:34:48] local.INFO: Processing buffer {"connection_id":205964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adf6518012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:34:48] local.INFO: Packet analysis {"connection_id":205964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:34:48] local.INFO: Extracted packet for processing {"connection_id":205964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:34:48] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543041024001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791183775000,"timestamp_ms":1791183775000,"timestamp_seconds":1791183775,"priority":1,"record_length":96,"hex_timestamp":"000001a10adf6518"} 
[2026-10-05 12:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:34: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":205964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":205964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":205964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:34:48] 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-10-05 12:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543041024001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543041024001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:34:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:34:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543041024001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":205964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:34:48] local.INFO: GPS data processed {"connection_id":205964,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:34:48] local.INFO: Acknowledgment sent {"connection_id":205964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:34:59] local.INFO: TCP Data received {"connection_id":205965,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:34:59] local.INFO: Processing buffer {"connection_id":205965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:34:59] local.INFO: IMEI packet received {"connection_id":205965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":205965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:35:04] local.INFO: TCP Data received {"connection_id":205965,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:35:04] local.INFO: Processing buffer {"connection_id":205965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:35:04] local.INFO: IMEI packet received {"connection_id":205965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":205965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:35:05] local.INFO: TCP Data received {"connection_id":204412,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:35:05] local.INFO: Processing buffer {"connection_id":204412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:35:05] local.INFO: IMEI packet received {"connection_id":204412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":204412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:35:06] local.INFO: TCP Data received {"connection_id":205965,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:35:06] local.INFO: Processing buffer {"connection_id":205965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:35:06] local.INFO: Packet analysis {"connection_id":205965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:35:06] local.INFO: Extracted packet for processing {"connection_id":205965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:35:06] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":8,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542976256001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:06] 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-10-05 12:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791183802000,"timestamp_ms":1791183802000,"timestamp_seconds":1791183802,"priority":1,"record_length":96,"hex_timestamp":"000001a10adfce90"} 
[2026-10-05 12:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 12:35:06] 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-10-05 12: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-10-05 12:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542976256001,"66":12863,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542976256001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:35:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:35:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542976256001,"power":12863,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":205965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:35:06] local.INFO: GPS data processed {"connection_id":205965,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:35:06] local.INFO: Acknowledgment sent {"connection_id":205965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:35:11] local.INFO: TCP Data received {"connection_id":204556,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae09d98012c547f0009c89f600241000c2c..."} 
[2026-10-05 12:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae09d98012c547f0009c89f600241000c2c..."} 
[2026-10-05 12:35:11] local.INFO: Processing buffer {"connection_id":204556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae09d98012c547f0009c89f600241000c2c..."} 
[2026-10-05 12:35:11] local.INFO: Packet analysis {"connection_id":204556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:35:11] local.INFO: Extracted packet for processing {"connection_id":204556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:35:11] local.INFO: GPS Element Parsed {"raw_longitude":743735040,"raw_latitude":164142944,"longitude_deg":74.373504,"latitude_deg":16.4142944,"altitude":577,"angle":12,"satellites":44,"speed":58,"hex_longitude":"2c547f00","hex_latitude":"09c89f60","is_valid_coordinates":true} 
[2026-10-05 12:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543065088001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8738613474885632,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6085629775990796290,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791183855000,"timestamp_ms":1791183855000,"timestamp_seconds":1791183855,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae09d98"} 
[2026-10-05 12:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 12:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543065088001,"66":27800,"140":206,"9":7936,"24":58,"16":8738613474885632,"44":6085629775990796290},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543065088001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:35:11] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:35:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8738613474885632,"km_value":8738613474885.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:35:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":6085629775990796290,"description":"Unknown IO ID 44"} 
[2026-10-05 12:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543065088001,"power":27800,"unknown_140":206,"unknown_9":7936,"ignition":58,"odometer":null,"unknown_44":6085629775990796290}} 
[2026-10-05 12:35:11] local.INFO: TCP Data received {"connection_id":204412,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:35:11] local.INFO: Processing buffer {"connection_id":204412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:35:11] local.INFO: IMEI packet received {"connection_id":204412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":204412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":204556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967157,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:35:11] local.INFO: GPS data processed {"connection_id":204556,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:35:11] local.INFO: Acknowledgment sent {"connection_id":204556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:35:12] local.INFO: TCP Data received {"connection_id":204412,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10adfb720012d1adb80071f8688003c011328..."} 
[2026-10-05 12:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adfb720012d1adb80071f8688003c011328..."} 
[2026-10-05 12:35:12] local.INFO: Processing buffer {"connection_id":204412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adfb720012d1adb80071f8688003c011328..."} 
[2026-10-05 12:35:12] local.INFO: Packet analysis {"connection_id":204412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:35:12] local.INFO: Extracted packet for processing {"connection_id":204412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:35:12] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543046400001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791183796000,"timestamp_ms":1791183796000,"timestamp_seconds":1791183796,"priority":1,"record_length":96,"hex_timestamp":"000001a10adfb720"} 
[2026-10-05 12:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:35:12] 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-10-05 12:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:35:12] 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-10-05 12:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543046400001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543046400001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:35:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:35:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543046400001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":204412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:35:12] local.INFO: GPS data processed {"connection_id":204412,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:35:12] local.INFO: Acknowledgment sent {"connection_id":204412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:35:30] local.INFO: TCP Data received {"connection_id":204558,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:35:30] local.INFO: Processing buffer {"connection_id":204558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:35:30] local.INFO: IMEI packet received {"connection_id":204558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 12:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":204558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:35:35] local.INFO: TCP Data received {"connection_id":204558,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:35:35] local.INFO: Processing buffer {"connection_id":204558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:35:35] local.INFO: IMEI packet received {"connection_id":204558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":204558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:35:35] local.INFO: TCP Data received {"connection_id":207507,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207507,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:35:35] local.INFO: Processing buffer {"connection_id":207507,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:35:35] local.INFO: IMEI packet received {"connection_id":207507,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":207507,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:35:36] local.INFO: TCP Data received {"connection_id":204558,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10adfa780012d7f908005afe470000400db29..."} 
[2026-10-05 12:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adfa780012d7f908005afe470000400db29..."} 
[2026-10-05 12:35:36] local.INFO: Processing buffer {"connection_id":204558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adfa780012d7f908005afe470000400db29..."} 
[2026-10-05 12:35:36] local.INFO: Packet analysis {"connection_id":204558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:35:36] local.INFO: Extracted packet for processing {"connection_id":204558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:35:36] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":4,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 12:35: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-10-05 12:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543050752001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:36] 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-10-05 12:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791183792000,"timestamp_ms":1791183792000,"timestamp_seconds":1791183792,"priority":1,"record_length":96,"hex_timestamp":"000001a10adfa780"} 
[2026-10-05 12:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":5,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-05 12:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543050752001,"66":1394,"24":0,"16":1893560886493184,"45":9191987601377357824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-10-05 12:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543050752001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 12:35:36] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":458543050752001,"power":1394,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 12:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":204558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:35:36] local.INFO: GPS data processed {"connection_id":204558,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:35:36] local.INFO: Acknowledgment sent {"connection_id":204558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:35:37] local.INFO: TCP Data received {"connection_id":205965,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:35:37] local.INFO: Processing buffer {"connection_id":205965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:35:37] local.INFO: Packet analysis {"connection_id":205965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:35:37] local.INFO: Extracted packet for processing {"connection_id":205965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:35:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":8,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542976256001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:37] 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-10-05 12:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791183802000,"timestamp_ms":1791183802000,"timestamp_seconds":1791183802,"priority":1,"record_length":96,"hex_timestamp":"000001a10adfce90"} 
[2026-10-05 12:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 12:35:37] 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-10-05 12:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542976256001,"66":12863,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542976256001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:35:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:35:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542976256001,"power":12863,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":205965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:35:37] local.INFO: GPS data processed {"connection_id":205965,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:35:37] local.INFO: Acknowledgment sent {"connection_id":205965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:35:40] local.INFO: TCP Data received {"connection_id":207507,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207507,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:35:40] local.INFO: Processing buffer {"connection_id":207507,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:35:40] local.INFO: IMEI packet received {"connection_id":207507,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":207507,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:35:42] local.INFO: TCP Data received {"connection_id":207507,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207507,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:35:42] local.INFO: Processing buffer {"connection_id":207507,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:35:42] local.INFO: IMEI packet received {"connection_id":207507,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":207507,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:35:43] local.INFO: TCP Data received {"connection_id":204412,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae00928012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae00928012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:35:43] local.INFO: Processing buffer {"connection_id":204412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae00928012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:35:43] local.INFO: Packet analysis {"connection_id":204412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:35:43] local.INFO: Extracted packet for processing {"connection_id":204412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:35:43] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 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-10-05 12:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543051776001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791183817000,"timestamp_ms":1791183817000,"timestamp_seconds":1791183817,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae00928"} 
[2026-10-05 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-10-05 12:35:43] 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-10-05 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:43] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:43] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:43] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:43] local.WARNING: Large IO value detected {"io_id":161,"raw_value":782914848079813339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:43] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:43] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77450698572169216,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:43] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832577,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:43] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332011214,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:43] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:35:43] local.WARNING: Large IO value detected {"io_id":28,"raw_value":4160826650,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:43] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:43] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:43] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,211,161,45,128,134,60,44,10,66,19,43,193,1,240,255,227,31,4,113,205,28,219,136,239,48,2,88,7,41],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:35:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758179772006400,"timestamp_seconds":4323758179772006.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 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-10-05 12:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:35:43] 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-10-05 12:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543051776001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543051776001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:35:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:35:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543051776001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":204412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:35:43] local.INFO: GPS data processed {"connection_id":204412,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:35:43] local.INFO: Acknowledgment sent {"connection_id":204412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:35:43] local.INFO: TCP Data received {"connection_id":207507,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae0b508012c54830009c8c160024100002e..."} 
[2026-10-05 12:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae0b508012c54830009c8c160024100002e..."} 
[2026-10-05 12:35:43] local.INFO: Processing buffer {"connection_id":207507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae0b508012c54830009c8c160024100002e..."} 
[2026-10-05 12:35:43] local.INFO: Packet analysis {"connection_id":207507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:35:43] local.INFO: Extracted packet for processing {"connection_id":207507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:35:43] local.INFO: GPS Element Parsed {"raw_longitude":743736064,"raw_latitude":164151648,"longitude_deg":74.3736064,"latitude_deg":16.4151648,"altitude":577,"angle":0,"satellites":46,"speed":58,"hex_longitude":"2c548300","hex_latitude":"09c8c160","is_valid_coordinates":true} 
[2026-10-05 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-10-05 12:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543066880001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8739038676647936,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6088585263248793602,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791183861000,"timestamp_ms":1791183861000,"timestamp_seconds":1791183861,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae0b508"} 
[2026-10-05 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-10-05 12:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-05 12:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 12:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207507,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207507,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543066880001,"66":28104,"140":206,"9":7936,"24":58,"16":8739038676647936,"44":6088585263248793602},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543066880001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:35:43] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:35:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8739038676647936,"km_value":8739038676647.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:35:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":6088585263248793602,"description":"Unknown IO ID 44"} 
[2026-10-05 12:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543066880001,"power":28104,"unknown_140":206,"unknown_9":7936,"ignition":58,"odometer":null,"unknown_44":6088585263248793602}} 
[2026-10-05 12:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":207507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967162,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:35:43] local.INFO: GPS data processed {"connection_id":207507,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:35:43] local.INFO: Acknowledgment sent {"connection_id":207507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:35:44] local.INFO: TCP Data received {"connection_id":207507,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae0c890012c54804009c8ddb00241015d2d..."} 
[2026-10-05 12:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae0c890012c54804009c8ddb00241015d2d..."} 
[2026-10-05 12:35:44] local.INFO: Processing buffer {"connection_id":207507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae0c890012c54804009c8ddb00241015d2d..."} 
[2026-10-05 12:35:44] local.INFO: Packet analysis {"connection_id":207507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:35:44] local.INFO: Extracted packet for processing {"connection_id":207507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:35:44] local.INFO: GPS Element Parsed {"raw_longitude":743735360,"raw_latitude":164158896,"longitude_deg":74.373536,"latitude_deg":16.4158896,"altitude":577,"angle":349,"satellites":45,"speed":57,"hex_longitude":"2c548040","hex_latitude":"09c8ddb0","is_valid_coordinates":true} 
[2026-10-05 12:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543068416001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8739395158933504,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6089711163157864450,"note":"Value kept but may cause issues"} 
[2026-10-05 12:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791183866000,"timestamp_ms":1791183866000,"timestamp_seconds":1791183866,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae0c890"} 
[2026-10-05 12:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:35:44] 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-10-05 12:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-05 12:35:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":207507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":207507,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":207507,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543068416001,"66":28245,"140":206,"9":7936,"24":57,"16":8739395158933504,"44":6089711163157864450},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543068416001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:35:44] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:35:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8739395158933504,"km_value":8739395158933.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:35:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":6089711163157864450,"description":"Unknown IO ID 44"} 
[2026-10-05 12:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543068416001,"power":28245,"unknown_140":206,"unknown_9":7936,"ignition":57,"odometer":null,"unknown_44":6089711163157864450}} 
[2026-10-05 12:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":207507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967163,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:35:44] local.INFO: GPS data processed {"connection_id":207507,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:35:44] local.INFO: Acknowledgment sent {"connection_id":207507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:36:00] local.INFO: TCP Data received {"connection_id":204413,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:36:00] local.INFO: Processing buffer {"connection_id":204413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:36:00] local.INFO: IMEI packet received {"connection_id":204413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 12:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":204413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:36:04] local.INFO: TCP Data received {"connection_id":205966,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205966,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:36:04] local.INFO: Processing buffer {"connection_id":205966,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:36:04] local.INFO: IMEI packet received {"connection_id":205966,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":205966,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:36:05] local.INFO: TCP Data received {"connection_id":204413,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:36:05] local.INFO: Processing buffer {"connection_id":204413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:36:05] local.INFO: IMEI packet received {"connection_id":204413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":204413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:36:05] local.INFO: TCP Data received {"connection_id":205967,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:36:05] local.INFO: Processing buffer {"connection_id":205967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:36:05] local.INFO: IMEI packet received {"connection_id":205967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":205967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:36:06] local.INFO: TCP Data received {"connection_id":204413,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10adfab68012d7f908005afe470000400db29..."} 
[2026-10-05 12:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adfab68012d7f908005afe470000400db29..."} 
[2026-10-05 12:36:06] local.INFO: Processing buffer {"connection_id":204413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adfab68012d7f908005afe470000400db29..."} 
[2026-10-05 12:36:06] local.INFO: Packet analysis {"connection_id":204413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:36:06] local.INFO: Extracted packet for processing {"connection_id":204413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":4,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 12:36: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-10-05 12:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543050752001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36: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-10-05 12:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791183793000,"timestamp_ms":1791183793000,"timestamp_seconds":1791183793,"priority":1,"record_length":96,"hex_timestamp":"000001a10adfab68"} 
[2026-10-05 12:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12: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":5,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-05 12:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12: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-10-05 12:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543050752001,"66":1394,"24":0,"16":1893560886493184,"45":9191987601377357824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-10-05 12:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543050752001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 12:36:06] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":458543050752001,"power":1394,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 12:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":204413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:36:06] local.INFO: GPS data processed {"connection_id":204413,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:36:06] local.INFO: Acknowledgment sent {"connection_id":204413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:36:09] local.INFO: TCP Data received {"connection_id":205966,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205966,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:36:09] local.INFO: Processing buffer {"connection_id":205966,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:36:09] local.INFO: IMEI packet received {"connection_id":205966,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":205966,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:36:11] local.INFO: TCP Data received {"connection_id":205967,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:36:11] local.INFO: Processing buffer {"connection_id":205967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:36:11] local.INFO: IMEI packet received {"connection_id":205967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":205967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:36:11] local.INFO: TCP Data received {"connection_id":205966,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:36:11] local.INFO: Processing buffer {"connection_id":205966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:36:11] local.INFO: Packet analysis {"connection_id":205966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:36:11] local.INFO: Extracted packet for processing {"connection_id":205966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:36:11] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":8,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542976256001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:11] 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-10-05 12:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791183802000,"timestamp_ms":1791183802000,"timestamp_seconds":1791183802,"priority":1,"record_length":96,"hex_timestamp":"000001a10adfce90"} 
[2026-10-05 12:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 12:36:11] 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-10-05 12:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542976256001,"66":12863,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542976256001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:36:11] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:36:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542976256001,"power":12863,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":205966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967165,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:36:11] local.INFO: GPS data processed {"connection_id":205966,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:36:11] local.INFO: Acknowledgment sent {"connection_id":205966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:36:11] local.INFO: TCP Data received {"connection_id":205967,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae05b30012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae05b30012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:36:11] local.INFO: Processing buffer {"connection_id":205967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae05b30012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:36:11] local.INFO: Packet analysis {"connection_id":205967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:36:11] local.INFO: Extracted packet for processing {"connection_id":205967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:36:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543057152001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:11] 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-10-05 12:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791183838000,"timestamp_ms":1791183838000,"timestamp_seconds":1791183838,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae05b30"} 
[2026-10-05 12:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:36:11] 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-10-05 12:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:36:11] 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-10-05 12:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:36:11] 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-10-05 12:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543057152001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543057152001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:36:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:36:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543057152001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":205967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:36:12] local.INFO: GPS data processed {"connection_id":205967,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:36:12] local.INFO: Acknowledgment sent {"connection_id":205967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:36:15] local.INFO: TCP Data received {"connection_id":205966,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:36:15] local.INFO: Processing buffer {"connection_id":205966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:36:15] local.INFO: Packet analysis {"connection_id":205966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:36:15] local.INFO: Extracted packet for processing {"connection_id":205966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:36:15] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":8,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 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-10-05 12:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542976256001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:15] 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-10-05 12:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791183802000,"timestamp_ms":1791183802000,"timestamp_seconds":1791183802,"priority":1,"record_length":96,"hex_timestamp":"000001a10adfce90"} 
[2026-10-05 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-10-05 12:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 12:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 12:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":205966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":205966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":205966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542976256001,"66":12863,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542976256001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:36:15] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:36:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542976256001,"power":12863,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":205966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:36:15] local.INFO: GPS data processed {"connection_id":205966,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:36:15] local.INFO: Acknowledgment sent {"connection_id":205966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:36:15] local.INFO: TCP Data received {"connection_id":207507,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae0e000012c54760009c8fe80023f01512f..."} 
[2026-10-05 12:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae0e000012c54760009c8fe80023f01512f..."} 
[2026-10-05 12:36:15] local.INFO: Processing buffer {"connection_id":207507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae0e000012c54760009c8fe80023f01512f..."} 
[2026-10-05 12:36:15] local.INFO: Packet analysis {"connection_id":207507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:36:15] local.INFO: Extracted packet for processing {"connection_id":207507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:36:15] local.INFO: GPS Element Parsed {"raw_longitude":743732736,"raw_latitude":164167296,"longitude_deg":74.3732736,"latitude_deg":16.4167296,"altitude":575,"angle":337,"satellites":47,"speed":58,"hex_longitude":"2c547600","hex_latitude":"09c8fe80","is_valid_coordinates":true} 
[2026-10-05 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-10-05 12:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543069696001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8739820360695808,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6088937106973765634,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791183872000,"timestamp_ms":1791183872000,"timestamp_seconds":1791183872,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae0e000"} 
[2026-10-05 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-10-05 12:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 12:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1513,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 12:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207507,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207507,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543069696001,"66":28256,"140":206,"9":7936,"24":58,"16":8739820360695808,"44":6088937106973765634},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543069696001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:36:15] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:36:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8739820360695808,"km_value":8739820360695.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:36:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":6088937106973765634,"description":"Unknown IO ID 44"} 
[2026-10-05 12:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543069696001,"power":28256,"unknown_140":206,"unknown_9":7936,"ignition":58,"odometer":null,"unknown_44":6088937106973765634}} 
[2026-10-05 12:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":207507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967168,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:36:15] local.INFO: GPS data processed {"connection_id":207507,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:36:15] local.INFO: Acknowledgment sent {"connection_id":207507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:36:31] local.INFO: TCP Data received {"connection_id":204414,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:36:31] local.INFO: Processing buffer {"connection_id":204414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:36:31] local.INFO: IMEI packet received {"connection_id":204414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":204414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:36:37] local.INFO: TCP Data received {"connection_id":204413,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10adfab68012d7f908005afe470000400db29..."} 
[2026-10-05 12:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adfab68012d7f908005afe470000400db29..."} 
[2026-10-05 12:36:37] local.INFO: Processing buffer {"connection_id":204413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adfab68012d7f908005afe470000400db29..."} 
[2026-10-05 12:36:37] local.INFO: Packet analysis {"connection_id":204413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:36:37] local.INFO: Extracted packet for processing {"connection_id":204413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:36:37] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":4,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 12:36: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-10-05 12:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543051008001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36: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-10-05 12:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791183793000,"timestamp_ms":1791183793000,"timestamp_seconds":1791183793,"priority":1,"record_length":96,"hex_timestamp":"000001a10adfab68"} 
[2026-10-05 12:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":5,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-05 12:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543051008001,"66":1394,"24":0,"16":1893560886493184,"45":9191987601377357824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-10-05 12:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543051008001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 12:36:37] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":458543051008001,"power":1394,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 12:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":204413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:36:37] local.INFO: GPS data processed {"connection_id":204413,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:36:37] local.INFO: Acknowledgment sent {"connection_id":204413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:36:37] local.INFO: TCP Data received {"connection_id":204414,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:36:37] local.INFO: Processing buffer {"connection_id":204414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:36:37] local.INFO: IMEI packet received {"connection_id":204414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":204414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:36:38] local.INFO: TCP Data received {"connection_id":204414,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:36:38] local.INFO: Processing buffer {"connection_id":204414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:36:38] local.INFO: IMEI packet received {"connection_id":204414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":204414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:36:39] local.INFO: TCP Data received {"connection_id":204414,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae20110012c53b40009ca8020022f014e2e..."} 
[2026-10-05 12:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae20110012c53b40009ca8020022f014e2e..."} 
[2026-10-05 12:36:39] local.INFO: Processing buffer {"connection_id":204414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae20110012c53b40009ca8020022f014e2e..."} 
[2026-10-05 12:36:39] local.INFO: Packet analysis {"connection_id":204414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae2"} 
[2026-10-05 12:36:39] local.INFO: Extracted packet for processing {"connection_id":204414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae2"} 
[2026-10-05 12:36:39] local.INFO: GPS Element Parsed {"raw_longitude":743683072,"raw_latitude":164266016,"longitude_deg":74.3683072,"latitude_deg":16.4266016,"altitude":559,"angle":334,"satellites":46,"speed":57,"hex_longitude":"2c53b400","hex_latitude":"09ca8020","is_valid_coordinates":true} 
[2026-10-05 12:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543088384001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8745133235240960,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6036442023842291714,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791183946000,"timestamp_ms":1791183946000,"timestamp_seconds":1791183946,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae20110"} 
[2026-10-05 12:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-10-05 12:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":204414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":204414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":204414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543088384001,"66":28354,"140":206,"9":7936,"24":57,"16":8745133235240960,"44":6036442023842291714},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543088384001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:36:39] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:36:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8745133235240960,"km_value":8745133235240.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:36:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":6036442023842291714,"description":"Unknown IO ID 44"} 
[2026-10-05 12:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543088384001,"power":28354,"unknown_140":206,"unknown_9":7936,"ignition":57,"odometer":null,"unknown_44":6036442023842291714}} 
[2026-10-05 12:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":204414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967170,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:36:39] local.INFO: GPS data processed {"connection_id":204414,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:36:39] local.INFO: Acknowledgment sent {"connection_id":204414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:36:40] local.INFO: TCP Data received {"connection_id":204414,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae21c68012c53a2c009caa3e00231014f2f..."} 
[2026-10-05 12:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae21c68012c53a2c009caa3e00231014f2f..."} 
[2026-10-05 12:36:40] local.INFO: Processing buffer {"connection_id":204414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae21c68012c53a2c009caa3e00231014f2f..."} 
[2026-10-05 12:36:40] local.INFO: Packet analysis {"connection_id":204414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae2"} 
[2026-10-05 12:36:40] local.INFO: Extracted packet for processing {"connection_id":204414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae2"} 
[2026-10-05 12:36:40] local.INFO: GPS Element Parsed {"raw_longitude":743678656,"raw_latitude":164275168,"longitude_deg":74.3678656,"latitude_deg":16.4275168,"altitude":561,"angle":335,"satellites":47,"speed":56,"hex_longitude":"2c53a2c0","hex_latitude":"09caa3e0","is_valid_coordinates":true} 
[2026-10-05 12:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543090176001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8745622861512704,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6031445843008036866,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791183953000,"timestamp_ms":1791183953000,"timestamp_seconds":1791183953,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae21c68"} 
[2026-10-05 12:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 12:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543090176001,"66":28398,"140":206,"9":7936,"24":56,"16":8745622861512704,"44":6031445843008036866},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543090176001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:36:40] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:36:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8745622861512704,"km_value":8745622861512.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:36:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":6031445843008036866,"description":"Unknown IO ID 44"} 
[2026-10-05 12:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543090176001,"power":28398,"unknown_140":206,"unknown_9":7936,"ignition":56,"odometer":null,"unknown_44":6031445843008036866}} 
[2026-10-05 12:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":204414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967171,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:36:40] local.INFO: GPS data processed {"connection_id":204414,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:36:40] local.INFO: Acknowledgment sent {"connection_id":204414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:36:43] local.INFO: TCP Data received {"connection_id":205967,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae0ad38012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae0ad38012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:36:43] local.INFO: Processing buffer {"connection_id":205967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae0ad38012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:36:43] local.INFO: Packet analysis {"connection_id":205967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:36:43] local.INFO: Extracted packet for processing {"connection_id":205967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:36:43] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 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-10-05 12:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543062528001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791183859000,"timestamp_ms":1791183859000,"timestamp_seconds":1791183859,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae0ad38"} 
[2026-10-05 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-10-05 12:36:43] 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-10-05 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:43] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:43] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:43] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:43] local.WARNING: Large IO value detected {"io_id":161,"raw_value":783095236706245339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:43] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:43] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77447400037285888,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:43] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832578,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:43] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075828430,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:43] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:36:43] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:43] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:43] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:36:43] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,211,161,9,45,128,134,60,43,10,66,183,40,1,240,255,227,31,4,113,205,193,219,136,239,47,2,88,7,44],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:36:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758192656908288,"timestamp_seconds":4323758192656908.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 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-10-05 12:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":205967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":205967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":205967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:36:43] 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-10-05 12:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543062528001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543062528001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:36:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:36:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543062528001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":205967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:36:43] local.INFO: GPS data processed {"connection_id":205967,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:36:43] local.INFO: Acknowledgment sent {"connection_id":205967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:36:55] local.INFO: TCP Data received {"connection_id":204415,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:36:55] local.INFO: Processing buffer {"connection_id":204415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:36:55] local.INFO: IMEI packet received {"connection_id":204415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 12:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":204415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:36:59] local.INFO: TCP Data received {"connection_id":204559,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:36:59] local.INFO: Processing buffer {"connection_id":204559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:36:59] local.INFO: IMEI packet received {"connection_id":204559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":204559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:37:00] local.INFO: TCP Data received {"connection_id":204415,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:37:00] local.INFO: Processing buffer {"connection_id":204415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:37:00] local.INFO: IMEI packet received {"connection_id":204415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":204415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:37:01] local.INFO: TCP Data received {"connection_id":204415,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae00d10012d7f908005afe470000400db29..."} 
[2026-10-05 12:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae00d10012d7f908005afe470000400db29..."} 
[2026-10-05 12:37:01] local.INFO: Processing buffer {"connection_id":204415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae00d10012d7f908005afe470000400db29..."} 
[2026-10-05 12:37:01] local.INFO: Packet analysis {"connection_id":204415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:37:01] local.INFO: Extracted packet for processing {"connection_id":204415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:37:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":4,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 12:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543051008001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:01] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-10-05 12:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791183818000,"timestamp_ms":1791183818000,"timestamp_seconds":1791183818,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae00d10"} 
[2026-10-05 12:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":5,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-05 12:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:37: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-10-05 12:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543051008001,"66":5503,"24":0,"16":1893560886493184,"45":9191987601377357824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-10-05 12:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543051008001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 12:37:01] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":458543051008001,"power":5503,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 12:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":204415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:37:01] local.INFO: GPS data processed {"connection_id":204415,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:37:01] local.INFO: Acknowledgment sent {"connection_id":204415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:37:03] local.INFO: TCP Data received {"connection_id":204560,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:37:03] local.INFO: Processing buffer {"connection_id":204560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:37:03] local.INFO: IMEI packet received {"connection_id":204560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":204560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:37:04] local.INFO: TCP Data received {"connection_id":204559,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:37:04] local.INFO: Processing buffer {"connection_id":204559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:37:04] local.INFO: IMEI packet received {"connection_id":204559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":204559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:37:05] local.INFO: TCP Data received {"connection_id":204559,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:37:05] local.INFO: Processing buffer {"connection_id":204559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:37:05] local.INFO: Packet analysis {"connection_id":204559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:37:05] local.INFO: Extracted packet for processing {"connection_id":204559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:37:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":8,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542976256001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:05] 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-10-05 12:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791183802000,"timestamp_ms":1791183802000,"timestamp_seconds":1791183802,"priority":1,"record_length":96,"hex_timestamp":"000001a10adfce90"} 
[2026-10-05 12:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12: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-10-05 12:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 12:37:05] 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-10-05 12:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542976256001,"66":12863,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542976256001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:37:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:37:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542976256001,"power":12863,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":204559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967174,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:37:05] local.INFO: GPS data processed {"connection_id":204559,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:37:05] local.INFO: Acknowledgment sent {"connection_id":204559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:37:06] local.INFO: TCP Data received {"connection_id":204560,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:37:06] local.INFO: Processing buffer {"connection_id":204560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:37:06] local.INFO: IMEI packet received {"connection_id":204560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":204560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:37:10] local.INFO: TCP Data received {"connection_id":204560,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:37:10] local.INFO: Processing buffer {"connection_id":204560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:37:10] local.INFO: IMEI packet received {"connection_id":204560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":204560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:37:11] local.INFO: TCP Data received {"connection_id":204560,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae0ff40012d1adb80071f8688003c011329..."} 
[2026-10-05 12:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae0ff40012d1adb80071f8688003c011329..."} 
[2026-10-05 12:37:11] local.INFO: Processing buffer {"connection_id":204560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae0ff40012d1adb80071f8688003c011329..."} 
[2026-10-05 12:37:11] local.INFO: Packet analysis {"connection_id":204560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:37:11] local.INFO: Extracted packet for processing {"connection_id":204560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:37:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543067904001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:11] 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-10-05 12:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791183880000,"timestamp_ms":1791183880000,"timestamp_seconds":1791183880,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae0ff40"} 
[2026-10-05 12:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:37:11] 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-10-05 12:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:11] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":783185431019461339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77452897595424768,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832578,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332011214,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:37:11] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:11] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:11] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,101,83,24,241,157,16,211,161,91,45,128,134,60,43,10,66,9,183,1,240,227,31,4,113,205,19,219,136,239,47,2,88,7,38],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:37:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758192656908288,"timestamp_seconds":4323758192656908.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:37:11] 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-10-05 12:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543067904001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543067904001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:37:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:37:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543067904001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":204560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:37:11] local.INFO: GPS data processed {"connection_id":204560,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:37:11] local.INFO: Acknowledgment sent {"connection_id":204560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:37:16] local.INFO: TCP Data received {"connection_id":204414,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae237c0012c53920009cac6000233014f2f..."} 
[2026-10-05 12:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae237c0012c53920009cac6000233014f2f..."} 
[2026-10-05 12:37:16] local.INFO: Processing buffer {"connection_id":204414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae237c0012c53920009cac6000233014f2f..."} 
[2026-10-05 12:37:16] local.INFO: Packet analysis {"connection_id":204414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae2"} 
[2026-10-05 12:37:16] local.INFO: Extracted packet for processing {"connection_id":204414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae2"} 
[2026-10-05 12:37:16] local.INFO: GPS Element Parsed {"raw_longitude":743674368,"raw_latitude":164283904,"longitude_deg":74.3674368,"latitude_deg":16.4283904,"altitude":563,"angle":335,"satellites":47,"speed":53,"hex_longitude":"2c539200","hex_latitude":"09cac600","is_valid_coordinates":true} 
[2026-10-05 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-10-05 12:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543091968001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8746091012947968,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6026590399662120962,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791183960000,"timestamp_ms":1791183960000,"timestamp_seconds":1791183960,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae237c0"} 
[2026-10-05 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-10-05 12:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 12:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 12:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543091968001,"66":28376,"140":206,"9":7936,"24":53,"16":8746091012947968,"44":6026590399662120962},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543091968001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:37:16] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:37:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8746091012947968,"km_value":8746091012947.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:37:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":6026590399662120962,"description":"Unknown IO ID 44"} 
[2026-10-05 12:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543091968001,"power":28376,"unknown_140":206,"unknown_9":7936,"ignition":53,"odometer":null,"unknown_44":6026590399662120962}} 
[2026-10-05 12:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":204414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967176,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:37:16] local.INFO: GPS data processed {"connection_id":204414,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:37:16] local.INFO: Acknowledgment sent {"connection_id":204414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:37:32] local.INFO: TCP Data received {"connection_id":204415,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae00d10012d7f908005afe470000400db29..."} 
[2026-10-05 12:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae00d10012d7f908005afe470000400db29..."} 
[2026-10-05 12:37:32] local.INFO: Processing buffer {"connection_id":204415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae00d10012d7f908005afe470000400db29..."} 
[2026-10-05 12:37:32] local.INFO: Packet analysis {"connection_id":204415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:37:32] local.INFO: Extracted packet for processing {"connection_id":204415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:37:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":4,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 12:37:32] 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-10-05 12:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543057408001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:32] 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-10-05 12:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791183818000,"timestamp_ms":1791183818000,"timestamp_seconds":1791183818,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae00d10"} 
[2026-10-05 12:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12: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":21,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-10-05 12:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1446,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12: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-10-05 12:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543057408001,"66":5503,"24":0,"16":1893560886493184,"45":9191987601377357824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-10-05 12:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543057408001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 12:37:32] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":458543057408001,"power":5503,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 12:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":204415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:37:32] local.INFO: GPS data processed {"connection_id":204415,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:37:32] local.INFO: Acknowledgment sent {"connection_id":204415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:37:36] local.INFO: TCP Data received {"connection_id":205968,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205968,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:37:36] local.INFO: Processing buffer {"connection_id":205968,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:37:36] local.INFO: IMEI packet received {"connection_id":205968,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":205968,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:37:36] local.INFO: TCP Data received {"connection_id":205968,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205968,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:37:36] local.INFO: Processing buffer {"connection_id":205968,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:37:36] local.INFO: IMEI packet received {"connection_id":205968,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":205968,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:37:37] local.INFO: TCP Data received {"connection_id":204559,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:37:37] local.INFO: Processing buffer {"connection_id":204559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:37:37] local.INFO: Packet analysis {"connection_id":204559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:37:37] local.INFO: Extracted packet for processing {"connection_id":204559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:37:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":8,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542976256001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:37] 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-10-05 12:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791183802000,"timestamp_ms":1791183802000,"timestamp_seconds":1791183802,"priority":1,"record_length":96,"hex_timestamp":"000001a10adfce90"} 
[2026-10-05 12:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 12:37:37] 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-10-05 12: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-10-05 12:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542976256001,"66":12863,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542976256001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:37:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:37:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542976256001,"power":12863,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":204559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:37:37] local.INFO: GPS data processed {"connection_id":204559,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:37:37] local.INFO: Acknowledgment sent {"connection_id":204559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:37:39] local.INFO: TCP Data received {"connection_id":205968,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205968,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:37:39] local.INFO: Processing buffer {"connection_id":205968,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:37:39] local.INFO: IMEI packet received {"connection_id":205968,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":205968,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:37:40] local.INFO: TCP Data received {"connection_id":205968,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae25318012c53824009cae6b00235014f2f..."} 
[2026-10-05 12:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae25318012c53824009cae6b00235014f2f..."} 
[2026-10-05 12:37:40] local.INFO: Processing buffer {"connection_id":205968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae25318012c53824009cae6b00235014f2f..."} 
[2026-10-05 12:37:40] local.INFO: Packet analysis {"connection_id":205968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae2"} 
[2026-10-05 12:37:40] local.INFO: Extracted packet for processing {"connection_id":205968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae2"} 
[2026-10-05 12:37:40] local.INFO: GPS Element Parsed {"raw_longitude":743670336,"raw_latitude":164292272,"longitude_deg":74.3670336,"latitude_deg":16.4292272,"altitude":565,"angle":335,"satellites":47,"speed":51,"hex_longitude":"2c538240","hex_latitude":"09cae6b0","is_valid_coordinates":true} 
[2026-10-05 12:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543093760001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8746537689546752,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6021875693804453890,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791183967000,"timestamp_ms":1791183967000,"timestamp_seconds":1791183967,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae25318"} 
[2026-10-05 12:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 12:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":205968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":205968,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":205968,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543093760001,"66":28332,"140":206,"9":7936,"24":51,"16":8746537689546752,"44":6021875693804453890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543093760001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:37:40] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:37:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8746537689546752,"km_value":8746537689546.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:37:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":6021875693804453890,"description":"Unknown IO ID 44"} 
[2026-10-05 12:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543093760001,"power":28332,"unknown_140":206,"unknown_9":7936,"ignition":51,"odometer":null,"unknown_44":6021875693804453890}} 
[2026-10-05 12:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":205968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967179,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:37:40] local.INFO: GPS data processed {"connection_id":205968,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:37:40] local.INFO: Acknowledgment sent {"connection_id":205968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:37:41] local.INFO: TCP Data received {"connection_id":205968,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae26e70012c5372c009cb06b00237014e2f..."} 
[2026-10-05 12:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae26e70012c5372c009cb06b00237014e2f..."} 
[2026-10-05 12:37:41] local.INFO: Processing buffer {"connection_id":205968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae26e70012c5372c009cb06b00237014e2f..."} 
[2026-10-05 12:37:41] local.INFO: Packet analysis {"connection_id":205968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae2"} 
[2026-10-05 12:37:41] local.INFO: Extracted packet for processing {"connection_id":205968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae2"} 
[2026-10-05 12:37:41] local.INFO: GPS Element Parsed {"raw_longitude":743666368,"raw_latitude":164300464,"longitude_deg":74.3666368,"latitude_deg":16.4300464,"altitude":567,"angle":334,"satellites":47,"speed":51,"hex_longitude":"2c5372c0","hex_latitude":"09cb06b0","is_valid_coordinates":true} 
[2026-10-05 12:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543095552001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8746975776210944,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6017442462923403266,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791183974000,"timestamp_ms":1791183974000,"timestamp_seconds":1791183974,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae26e70"} 
[2026-10-05 12:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 12:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":205968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":205968,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":205968,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543095552001,"66":28398,"140":206,"9":7936,"24":51,"16":8746975776210944,"44":6017442462923403266},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543095552001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:37:41] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:37:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8746975776210944,"km_value":8746975776210.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:37:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":6017442462923403266,"description":"Unknown IO ID 44"} 
[2026-10-05 12:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543095552001,"power":28398,"unknown_140":206,"unknown_9":7936,"ignition":51,"odometer":null,"unknown_44":6017442462923403266}} 
[2026-10-05 12:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":205968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967180,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:37:41] local.INFO: GPS data processed {"connection_id":205968,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:37:41] local.INFO: Acknowledgment sent {"connection_id":205968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:37:42] local.INFO: TCP Data received {"connection_id":204560,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae15148012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae15148012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:37:42] local.INFO: Processing buffer {"connection_id":204560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae15148012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:37:42] local.INFO: Packet analysis {"connection_id":204560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae1"} 
[2026-10-05 12:37:42] local.INFO: Extracted packet for processing {"connection_id":204560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae1"} 
[2026-10-05 12:37:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543073280001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791183901000,"timestamp_ms":1791183901000,"timestamp_seconds":1791183901,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae15148"} 
[2026-10-05 12:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:37:42] 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-10-05 12:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:42] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:42] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:42] local.WARNING: Large IO value detected {"io_id":161,"raw_value":783275625332677339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:42] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:42] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77452897595424768,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:42] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832578,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:42] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332011214,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:37:42] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:42] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:42] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:37:42] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,101,83,24,241,157,16,211,161,173,45,128,134,60,43,10,66,91,9,1,240,255,227,31,4,113,205,219,136,44,239,47,2,88,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:37:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758184066973696,"timestamp_seconds":4323758184066973.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:37:42] 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-10-05 12:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543073280001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543073280001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:37:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:37:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543073280001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":204560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:37:42] local.INFO: GPS data processed {"connection_id":204560,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:37:42] local.INFO: Acknowledgment sent {"connection_id":204560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:37:59] local.INFO: TCP Data received {"connection_id":204561,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:37:59] local.INFO: Processing buffer {"connection_id":204561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:37:59] local.INFO: IMEI packet received {"connection_id":204561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":204561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:38:04] local.INFO: TCP Data received {"connection_id":204561,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:38:04] local.INFO: Processing buffer {"connection_id":204561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:38:04] local.INFO: IMEI packet received {"connection_id":204561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":204561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:38:04] local.INFO: TCP Data received {"connection_id":207508,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:38:04] local.INFO: Processing buffer {"connection_id":207508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:38:04] local.INFO: IMEI packet received {"connection_id":207508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 12:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":207508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:38:06] local.INFO: TCP Data received {"connection_id":204561,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:38:06] local.INFO: Processing buffer {"connection_id":204561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10adfce90012d7b524005e13b08000800a923..."} 
[2026-10-05 12:38:06] local.INFO: Packet analysis {"connection_id":204561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:38:06] local.INFO: Extracted packet for processing {"connection_id":204561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10adf"} 
[2026-10-05 12:38:06] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":8,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458542976256001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:06] 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-10-05 12:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791183802000,"timestamp_ms":1791183802000,"timestamp_seconds":1791183802,"priority":1,"record_length":96,"hex_timestamp":"000001a10adfce90"} 
[2026-10-05 12:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 12:38:06] 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-10-05 12:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458542976256001,"66":12863,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458542976256001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:38:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:38:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458542976256001,"power":12863,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":204561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967182,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:38:06] local.INFO: GPS data processed {"connection_id":204561,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:38:06] local.INFO: Acknowledgment sent {"connection_id":204561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:38:06] local.INFO: TCP Data received {"connection_id":207509,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:38:06] local.INFO: Processing buffer {"connection_id":207509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:38:06] local.INFO: IMEI packet received {"connection_id":207509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":207509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:38:06] local.INFO: TCP Data received {"connection_id":207509,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:38:06] local.INFO: Processing buffer {"connection_id":207509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:38:06] local.INFO: IMEI packet received {"connection_id":207509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":207509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:38:10] local.INFO: TCP Data received {"connection_id":207508,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:38:10] local.INFO: Processing buffer {"connection_id":207508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:38:10] local.INFO: IMEI packet received {"connection_id":207508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":207508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:38:10] local.INFO: TCP Data received {"connection_id":207509,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:38:10] local.INFO: Processing buffer {"connection_id":207509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:38:10] local.INFO: IMEI packet received {"connection_id":207509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":207509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:38:11] local.INFO: TCP Data received {"connection_id":207508,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae043c0012d7f908005afe470000400db28..."} 
[2026-10-05 12:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae043c0012d7f908005afe470000400db28..."} 
[2026-10-05 12:38:11] local.INFO: Processing buffer {"connection_id":207508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae043c0012d7f908005afe470000400db28..."} 
[2026-10-05 12:38:11] local.INFO: Packet analysis {"connection_id":207508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:38:11] local.INFO: Extracted packet for processing {"connection_id":207508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:38:11] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":4,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 12:38:11] 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-10-05 12:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543057408001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38: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-10-05 12:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791183832000,"timestamp_ms":1791183832000,"timestamp_seconds":1791183832,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae043c0"} 
[2026-10-05 12:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":21,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-10-05 12:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1446,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543057408001,"66":3970,"24":0,"16":1893560886493184,"45":9191987601377357824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-10-05 12:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543057408001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 12:38:11] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":458543057408001,"power":3970,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 12:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":207508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:38:11] local.INFO: GPS data processed {"connection_id":207508,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:38:11] local.INFO: Acknowledgment sent {"connection_id":207508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:38:11] local.INFO: TCP Data received {"connection_id":207509,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae1a350012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae1a350012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:38:11] local.INFO: Processing buffer {"connection_id":207509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae1a350012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:38:11] local.INFO: Packet analysis {"connection_id":207509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae1"} 
[2026-10-05 12:38:11] local.INFO: Extracted packet for processing {"connection_id":207509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae1"} 
[2026-10-05 12:38:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543078656001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:11] 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-10-05 12:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791183922000,"timestamp_ms":1791183922000,"timestamp_seconds":1791183922,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae1a350"} 
[2026-10-05 12:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:38:11] 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-10-05 12:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:11] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":783365819645893339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77453997107052544,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832577,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332011214,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:38:11] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:11] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,211,161,255,45,128,134,60,41,10,66,173,43,91,1,240,227,31,4,113,205,183,219,136,40,239,48,2,88,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:38:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758188361940992,"timestamp_seconds":4323758188361941.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:38:11] 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-10-05 12:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543078656001,"66":12319,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543078656001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:38:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:38:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543078656001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":207509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:38:11] local.INFO: GPS data processed {"connection_id":207509,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:38:11] local.INFO: Acknowledgment sent {"connection_id":207509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:38:14] local.INFO: TCP Data received {"connection_id":205968,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae289c8012c53634009cb26500237014f2f..."} 
[2026-10-05 12:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae289c8012c53634009cb26500237014f2f..."} 
[2026-10-05 12:38:14] local.INFO: Processing buffer {"connection_id":205968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae289c8012c53634009cb26500237014f2f..."} 
[2026-10-05 12:38:14] local.INFO: Packet analysis {"connection_id":205968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae2"} 
[2026-10-05 12:38:14] local.INFO: Extracted packet for processing {"connection_id":205968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae2"} 
[2026-10-05 12:38:14] local.INFO: GPS Element Parsed {"raw_longitude":743662400,"raw_latitude":164308560,"longitude_deg":74.36624,"latitude_deg":16.430856,"altitude":567,"angle":335,"satellites":47,"speed":50,"hex_longitude":"2c536340","hex_latitude":"09cb2650","is_valid_coordinates":true} 
[2026-10-05 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-10-05 12:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543097344001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8747409567907840,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6013079600786485250,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791183981000,"timestamp_ms":1791183981000,"timestamp_seconds":1791183981,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae289c8"} 
[2026-10-05 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-10-05 12:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 12:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 12:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":205968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":205968,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":205968,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543097344001,"66":28148,"140":206,"9":7936,"24":50,"16":8747409567907840,"44":6013079600786485250},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543097344001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:38:14] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:38:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8747409567907840,"km_value":8747409567907.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:38:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":6013079600786485250,"description":"Unknown IO ID 44"} 
[2026-10-05 12:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543097344001,"power":28148,"unknown_140":206,"unknown_9":7936,"ignition":50,"odometer":null,"unknown_44":6013079600786485250}} 
[2026-10-05 12:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":205968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967185,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:38:15] local.INFO: GPS data processed {"connection_id":205968,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:38:15] local.INFO: Acknowledgment sent {"connection_id":205968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:38:34] local.INFO: TCP Data received {"connection_id":204562,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:38:34] local.INFO: Processing buffer {"connection_id":204562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:38:34] local.INFO: IMEI packet received {"connection_id":204562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":204562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:38:37] local.INFO: TCP Data received {"connection_id":204561,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:38:37] local.INFO: Processing buffer {"connection_id":204561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:38:37] local.INFO: Packet analysis {"connection_id":204561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:38:37] local.INFO: Extracted packet for processing {"connection_id":204561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:38:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":3,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543053312001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:37] 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-10-05 12:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791184103000,"timestamp_ms":1791184103000,"timestamp_seconds":1791184103,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae46658"} 
[2026-10-05 12:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 12:38:37] 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-10-05 12: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-10-05 12:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543053312001,"66":12841,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543053312001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:38:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:38:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543053312001,"power":12841,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":204561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:38:37] local.INFO: GPS data processed {"connection_id":204561,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:38:37] local.INFO: Acknowledgment sent {"connection_id":204561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:38:41] local.INFO: TCP Data received {"connection_id":204562,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:38:41] local.INFO: Processing buffer {"connection_id":204562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:38:41] local.INFO: IMEI packet received {"connection_id":204562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":204562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:38:42] local.INFO: TCP Data received {"connection_id":204562,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae2a520012c53540009cb45f00238014f2f..."} 
[2026-10-05 12:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae2a520012c53540009cb45f00238014f2f..."} 
[2026-10-05 12:38:42] local.INFO: Processing buffer {"connection_id":204562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae2a520012c53540009cb45f00238014f2f..."} 
[2026-10-05 12:38:42] local.INFO: Packet analysis {"connection_id":204562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae2"} 
[2026-10-05 12:38:42] local.INFO: Extracted packet for processing {"connection_id":204562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae2"} 
[2026-10-05 12:38:42] local.INFO: GPS Element Parsed {"raw_longitude":743658496,"raw_latitude":164316656,"longitude_deg":74.3658496,"latitude_deg":16.4316656,"altitude":568,"angle":335,"satellites":47,"speed":51,"hex_longitude":"2c535400","hex_latitude":"09cb45f0","is_valid_coordinates":true} 
[2026-10-05 12:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543099136001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8747843359604736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6008716738649542658,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791183988000,"timestamp_ms":1791183988000,"timestamp_seconds":1791183988,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae2a520"} 
[2026-10-05 12:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-10-05 12:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543099136001,"66":28376,"140":206,"9":7936,"24":51,"16":8747843359604736,"44":6008716738649542658},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543099136001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:38:42] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:38:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8747843359604736,"km_value":8747843359604.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:38:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":6008716738649542658,"description":"Unknown IO ID 44"} 
[2026-10-05 12:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543099136001,"power":28376,"unknown_140":206,"unknown_9":7936,"ignition":51,"odometer":null,"unknown_44":6008716738649542658}} 
[2026-10-05 12:38:42] local.INFO: TCP Data received {"connection_id":207509,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae1f558012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae1f558012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:38:42] local.INFO: Processing buffer {"connection_id":207509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae1f558012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:38:42] local.INFO: Packet analysis {"connection_id":207509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae1"} 
[2026-10-05 12:38:42] local.INFO: Extracted packet for processing {"connection_id":207509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae1"} 
[2026-10-05 12:38:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543084032001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791183943000,"timestamp_ms":1791183943000,"timestamp_seconds":1791183943,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae1f558"} 
[2026-10-05 12:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:38:42] 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-10-05 12:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-10-05 12:38:42] 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-10-05 12:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:38:42] 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-10-05 12:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543084032001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543084032001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:38:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:38:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543084032001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":204562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967187,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:38:42] local.INFO: GPS data processed {"connection_id":204562,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:38:42] local.INFO: Acknowledgment sent {"connection_id":204562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":207509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:38:42] local.INFO: GPS data processed {"connection_id":207509,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:38:42] local.INFO: Acknowledgment sent {"connection_id":207509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:38:54] local.INFO: TCP Data received {"connection_id":205969,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:38:54] local.INFO: Processing buffer {"connection_id":205969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:38:54] local.INFO: IMEI packet received {"connection_id":205969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 12:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":205969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:38:59] local.INFO: TCP Data received {"connection_id":204416,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:38:59] local.INFO: Processing buffer {"connection_id":204416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:38:59] local.INFO: IMEI packet received {"connection_id":204416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":204416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:39:00] local.INFO: TCP Data received {"connection_id":205969,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:39:00] local.INFO: Processing buffer {"connection_id":205969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:39:00] local.INFO: IMEI packet received {"connection_id":205969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":205969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:39:01] local.INFO: TCP Data received {"connection_id":205969,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae043c0012d7f908005afe470000400db28..."} 
[2026-10-05 12:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae043c0012d7f908005afe470000400db28..."} 
[2026-10-05 12:39:01] local.INFO: Processing buffer {"connection_id":205969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae043c0012d7f908005afe470000400db28..."} 
[2026-10-05 12:39:01] local.INFO: Packet analysis {"connection_id":205969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:39:01] local.INFO: Extracted packet for processing {"connection_id":205969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:39:01] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":4,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 12:39: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-10-05 12:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543060992001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:01] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-10-05 12:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791183832000,"timestamp_ms":1791183832000,"timestamp_seconds":1791183832,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae043c0"} 
[2026-10-05 12:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12: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":15,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-10-05 12:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1443,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12: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-10-05 12:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:39: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-10-05 12:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543060992001,"66":3970,"24":0,"16":1893560886493184,"45":9191987601377357824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-10-05 12:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543060992001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 12:39:01] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":458543060992001,"power":3970,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 12:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":205969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:39:01] local.INFO: GPS data processed {"connection_id":205969,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:39:01] local.INFO: Acknowledgment sent {"connection_id":205969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:39:04] local.INFO: TCP Data received {"connection_id":204416,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:39:04] local.INFO: Processing buffer {"connection_id":204416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:39:04] local.INFO: IMEI packet received {"connection_id":204416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":204416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:39:05] local.INFO: TCP Data received {"connection_id":207510,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:39:05] local.INFO: Processing buffer {"connection_id":207510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:39:05] local.INFO: IMEI packet received {"connection_id":207510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":207510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:39:05] local.INFO: TCP Data received {"connection_id":204416,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:39:05] local.INFO: Processing buffer {"connection_id":204416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:39:05] local.INFO: Packet analysis {"connection_id":204416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:39:05] local.INFO: Extracted packet for processing {"connection_id":204416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:39:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":3,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543053312001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:05] 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-10-05 12:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791184103000,"timestamp_ms":1791184103000,"timestamp_seconds":1791184103,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae46658"} 
[2026-10-05 12:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:39: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-10-05 12: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 12:39:05] 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-10-05 12: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-10-05 12:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543053312001,"66":12841,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543053312001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:39:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:39:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543053312001,"power":12841,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":204416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967190,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:39:06] local.INFO: GPS data processed {"connection_id":204416,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:39:06] local.INFO: Acknowledgment sent {"connection_id":204416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:39:09] local.INFO: TCP Data received {"connection_id":207510,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:39:09] local.INFO: Processing buffer {"connection_id":207510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:39:09] local.INFO: IMEI packet received {"connection_id":207510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":207510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:39:10] local.INFO: TCP Data received {"connection_id":207510,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:39:10] local.INFO: Processing buffer {"connection_id":207510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:39:10] local.INFO: IMEI packet received {"connection_id":207510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":207510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:39:11] local.INFO: TCP Data received {"connection_id":207510,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae24760012d1adb80071f8688003c011328..."} 
[2026-10-05 12:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae24760012d1adb80071f8688003c011328..."} 
[2026-10-05 12:39:11] local.INFO: Processing buffer {"connection_id":207510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae24760012d1adb80071f8688003c011328..."} 
[2026-10-05 12:39:11] local.INFO: Packet analysis {"connection_id":207510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae2"} 
[2026-10-05 12:39:11] local.INFO: Extracted packet for processing {"connection_id":207510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae2"} 
[2026-10-05 12:39:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543089408001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:11] 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-10-05 12:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791183964000,"timestamp_ms":1791183964000,"timestamp_seconds":1791183964,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae24760"} 
[2026-10-05 12:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:39:11] 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-10-05 12:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:11] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":783546208272325339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77452897595424768,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332011214,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:39:11] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:11] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,211,161,163,45,128,134,60,42,10,66,81,255,1,240,227,31,4,113,205,91,219,136,43,239,48,2,88,7,40],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:39:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758196951875584,"timestamp_seconds":4323758196951875.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:39:11] 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-10-05 12:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543089408001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543089408001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:39:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:39:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543089408001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":207510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:39:11] local.INFO: GPS data processed {"connection_id":207510,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:39:11] local.INFO: Acknowledgment sent {"connection_id":207510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:39:15] local.INFO: TCP Data received {"connection_id":207510,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae29968012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae29968012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:39:15] local.INFO: Processing buffer {"connection_id":207510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae29968012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:39:15] local.INFO: Packet analysis {"connection_id":207510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae2"} 
[2026-10-05 12:39:15] local.INFO: Extracted packet for processing {"connection_id":207510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae2"} 
[2026-10-05 12:39:15] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543094784001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791183985000,"timestamp_ms":1791183985000,"timestamp_seconds":1791183985,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae29968"} 
[2026-10-05 12:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:15] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:15] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:15] local.WARNING: Large IO value detected {"io_id":161,"raw_value":783636402585541339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:15] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:15] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77452897595424768,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:15] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832578,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:15] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075828430,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:15] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:39:15] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:15] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:15] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,211,161,245,45,128,134,60,44,10,66,163,42,81,1,240,227,31,4,113,205,173,219,136,43,239,48,2,88,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:39:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758179772006400,"timestamp_seconds":4323758179772006.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:39:15] 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-10-05 12:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543094784001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543094784001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:39:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:39:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543094784001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":207510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:39:15] local.INFO: GPS data processed {"connection_id":207510,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:39:15] local.INFO: Acknowledgment sent {"connection_id":207510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:39:15] local.INFO: TCP Data received {"connection_id":204562,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae2c078012c5343c009cb66f00237014e2f..."} 
[2026-10-05 12:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae2c078012c5343c009cb66f00237014e2f..."} 
[2026-10-05 12:39:15] local.INFO: Processing buffer {"connection_id":204562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae2c078012c5343c009cb66f00237014e2f..."} 
[2026-10-05 12:39:15] local.INFO: Packet analysis {"connection_id":204562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae2"} 
[2026-10-05 12:39:15] local.INFO: Extracted packet for processing {"connection_id":204562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae2"} 
[2026-10-05 12:39:15] local.INFO: GPS Element Parsed {"raw_longitude":743654336,"raw_latitude":164325104,"longitude_deg":74.3654336,"latitude_deg":16.4325104,"altitude":567,"angle":334,"satellites":47,"speed":54,"hex_longitude":"2c5343c0","hex_latitude":"09cb66f0","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543100928001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8748294331170816,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6004424245256777730,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791183995000,"timestamp_ms":1791183995000,"timestamp_seconds":1791183995,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae2c078"} 
[2026-10-05 12:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 12:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12: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-10-05 12:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543100928001,"66":28430,"140":206,"9":7936,"24":54,"16":8748294331170816,"44":6004424245256777730},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543100928001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:39:15] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:39:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8748294331170816,"km_value":8748294331170.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:39:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":6004424245256777730,"description":"Unknown IO ID 44"} 
[2026-10-05 12:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543100928001,"power":28430,"unknown_140":206,"unknown_9":7936,"ignition":54,"odometer":null,"unknown_44":6004424245256777730}} 
[2026-10-05 12:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":204562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967193,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:39:16] local.INFO: GPS data processed {"connection_id":204562,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:39:16] local.INFO: Acknowledgment sent {"connection_id":204562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:39:32] local.INFO: TCP Data received {"connection_id":205969,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae06eb8012d7f908005afe470000500db28..."} 
[2026-10-05 12:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae06eb8012d7f908005afe470000500db28..."} 
[2026-10-05 12:39:32] local.INFO: Processing buffer {"connection_id":205969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae06eb8012d7f908005afe470000500db28..."} 
[2026-10-05 12:39:32] local.INFO: Packet analysis {"connection_id":205969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:39:32] local.INFO: Extracted packet for processing {"connection_id":205969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:39:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":5,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 12:39:32] 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-10-05 12:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543060992001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:32] 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-10-05 12:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791183843000,"timestamp_ms":1791183843000,"timestamp_seconds":1791183843,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae06eb8"} 
[2026-10-05 12:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":15,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-10-05 12:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1443,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543060992001,"66":1307,"24":0,"16":1893560886493184,"45":9191987601377357824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-10-05 12:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543060992001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 12:39:32] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":458543060992001,"power":1307,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 12:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":205969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:39:32] local.INFO: GPS data processed {"connection_id":205969,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:39:32] local.INFO: Acknowledgment sent {"connection_id":205969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:39:34] local.INFO: TCP Data received {"connection_id":207511,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:39:34] local.INFO: Processing buffer {"connection_id":207511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:39:34] local.INFO: IMEI packet received {"connection_id":207511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":207511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:39:37] local.INFO: TCP Data received {"connection_id":204416,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:39:37] local.INFO: Processing buffer {"connection_id":204416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:39:37] local.INFO: Packet analysis {"connection_id":204416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:39:37] local.INFO: Extracted packet for processing {"connection_id":204416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:39:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":3,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543053312001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:37] 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-10-05 12:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791184103000,"timestamp_ms":1791184103000,"timestamp_seconds":1791184103,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae46658"} 
[2026-10-05 12:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 12:39:37] 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-10-05 12:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543053312001,"66":12841,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543053312001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:39:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:39:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543053312001,"power":12841,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":204416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:39:37] local.INFO: GPS data processed {"connection_id":204416,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:39:37] local.INFO: Acknowledgment sent {"connection_id":204416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:39:39] local.INFO: TCP Data received {"connection_id":207511,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:39:39] local.INFO: Processing buffer {"connection_id":207511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:39:39] local.INFO: IMEI packet received {"connection_id":207511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":207511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:39:40] local.INFO: TCP Data received {"connection_id":207511,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae2dbd0012c53330009cb89600235014e2f..."} 
[2026-10-05 12:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae2dbd0012c53330009cb89600235014e2f..."} 
[2026-10-05 12:39:40] local.INFO: Processing buffer {"connection_id":207511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae2dbd0012c53330009cb89600235014e2f..."} 
[2026-10-05 12:39:40] local.INFO: Packet analysis {"connection_id":207511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae2"} 
[2026-10-05 12:39:40] local.INFO: Extracted packet for processing {"connection_id":207511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae2"} 
[2026-10-05 12:39:40] local.INFO: GPS Element Parsed {"raw_longitude":743650048,"raw_latitude":164333920,"longitude_deg":74.3650048,"latitude_deg":16.433392,"altitude":565,"angle":334,"satellites":47,"speed":56,"hex_longitude":"2c533300","hex_latitude":"09cb8960","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543102720001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8748766777573376,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5999850276887392258,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791184002000,"timestamp_ms":1791184002000,"timestamp_seconds":1791184002,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae2dbd0"} 
[2026-10-05 12:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-10-05 12:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12: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-10-05 12:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":207511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":207511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":207511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543102720001,"66":28137,"140":206,"9":7936,"24":56,"16":8748766777573376,"44":5999850276887392258},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543102720001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:39:40] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:39:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8748766777573376,"km_value":8748766777573.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:39:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":5999850276887392258,"description":"Unknown IO ID 44"} 
[2026-10-05 12:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543102720001,"power":28137,"unknown_140":206,"unknown_9":7936,"ignition":56,"odometer":null,"unknown_44":5999850276887392258}} 
[2026-10-05 12:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":207511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967196,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:39:41] local.INFO: GPS data processed {"connection_id":207511,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:39:41] local.INFO: Acknowledgment sent {"connection_id":207511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:39:46] local.INFO: TCP Data received {"connection_id":207510,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae2eb70012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae2eb70012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:39:46] local.INFO: Processing buffer {"connection_id":207510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae2eb70012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:39:46] local.INFO: Packet analysis {"connection_id":207510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae2"} 
[2026-10-05 12:39:46] local.INFO: Extracted packet for processing {"connection_id":207510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae2"} 
[2026-10-05 12:39:46] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543100160001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:39:46] 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-10-05 12:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791184006000,"timestamp_ms":1791184006000,"timestamp_seconds":1791184006,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae2eb70"} 
[2026-10-05 12:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":207510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":207510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":207510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:39:46] 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-10-05 12:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543100160001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543100160001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:39:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:39:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543100160001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":207510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:39:46] local.INFO: GPS data processed {"connection_id":207510,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:39:46] local.INFO: Acknowledgment sent {"connection_id":207510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:39:59] local.INFO: TCP Data received {"connection_id":204563,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:39:59] local.INFO: Processing buffer {"connection_id":204563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:39:59] local.INFO: IMEI packet received {"connection_id":204563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":204563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:40:00] local.INFO: TCP Data received {"connection_id":204417,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:40:00] local.INFO: Processing buffer {"connection_id":204417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:40:00] local.INFO: IMEI packet received {"connection_id":204417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 12:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":204417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:40:04] local.INFO: TCP Data received {"connection_id":204563,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:40:04] local.INFO: Processing buffer {"connection_id":204563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:40:04] local.INFO: IMEI packet received {"connection_id":204563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":204563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:40:05] local.INFO: TCP Data received {"connection_id":204417,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:40:05] local.INFO: Processing buffer {"connection_id":204417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:40:05] local.INFO: IMEI packet received {"connection_id":204417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":204417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:40:05] local.INFO: TCP Data received {"connection_id":205970,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:40:05] local.INFO: Processing buffer {"connection_id":205970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:40:05] local.INFO: IMEI packet received {"connection_id":205970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":205970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:40:05] local.INFO: TCP Data received {"connection_id":204563,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:40:05] local.INFO: Processing buffer {"connection_id":204563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:40:05] local.INFO: Packet analysis {"connection_id":204563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:40:05] local.INFO: Extracted packet for processing {"connection_id":204563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:40:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":3,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543053312001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:05] 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-10-05 12:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791184103000,"timestamp_ms":1791184103000,"timestamp_seconds":1791184103,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae46658"} 
[2026-10-05 12:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:40: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-10-05 12: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 12:40:05] 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-10-05 12: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-10-05 12:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543053312001,"66":12841,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543053312001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:40:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:40:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543053312001,"power":12841,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":204563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:40:05] local.INFO: GPS data processed {"connection_id":204563,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:40:05] local.INFO: Acknowledgment sent {"connection_id":204563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:40:06] local.INFO: TCP Data received {"connection_id":204417,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae06eb8012d7f908005afe470000500db28..."} 
[2026-10-05 12:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae06eb8012d7f908005afe470000500db28..."} 
[2026-10-05 12:40:06] local.INFO: Processing buffer {"connection_id":204417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae06eb8012d7f908005afe470000500db28..."} 
[2026-10-05 12:40:06] local.INFO: Packet analysis {"connection_id":204417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:40:06] local.INFO: Extracted packet for processing {"connection_id":204417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:40:06] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":5,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 12:40: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-10-05 12:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543063808001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40: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-10-05 12:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791183843000,"timestamp_ms":1791183843000,"timestamp_seconds":1791183843,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae06eb8"} 
[2026-10-05 12:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":5,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-10-05 12:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493159438155776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:06] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18583335660748800,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":-2302166237272108928,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:06] local.WARNING: Large IO value detected {"io_id":21,"raw_value":9151539842700594688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-5772365677012657367,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:06] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124244829667328,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:06] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993193144064,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":884763263000,"corrected_to":0} 
[2026-10-05 12:40:06] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84864226589781988,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:06] local.WARNING: Large IO value detected {"io_id":112,"raw_value":1126841192546304,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:06] local.WARNING: Large IO value detected {"io_id":113,"raw_value":263882795188480,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:06] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:06] local.WARNING: Large IO value detected {"io_id":127,"raw_value":-8034415482219003900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:06] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,24,241,16,186,161,67,45,128,228,4,40,10,66,13,240,21,47,5,239,69,205,104,112,113,2,127],"length":472,"final_offset":602,"validated_count":27,"validation_warnings":[{"io_id":205,"original":884763263000,"validated":0}]} 
[2026-10-05 12:40:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360528935034814495,"timestamp_seconds":360528935034814.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543063808001,"66":1307,"24":0,"16":1893560886493184,"45":9191987601377357824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-10-05 12:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543063808001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 12:40:06] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":458543063808001,"power":1307,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 12:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":204417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:40:06] local.INFO: GPS data processed {"connection_id":204417,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:40:06] local.INFO: Acknowledgment sent {"connection_id":204417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:40:10] local.INFO: TCP Data received {"connection_id":205970,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:40:10] local.INFO: Processing buffer {"connection_id":205970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:40:10] local.INFO: IMEI packet received {"connection_id":205970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":205970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:40:11] local.INFO: TCP Data received {"connection_id":205970,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae33d78012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae33d78012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:40:11] local.INFO: Processing buffer {"connection_id":205970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae33d78012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:40:11] local.INFO: Packet analysis {"connection_id":205970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae3"} 
[2026-10-05 12:40:11] local.INFO: Extracted packet for processing {"connection_id":205970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae3"} 
[2026-10-05 12:40:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543105536001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:11] 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-10-05 12:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791184027000,"timestamp_ms":1791184027000,"timestamp_seconds":1791184027,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae33d78"} 
[2026-10-05 12:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:40:11] 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-10-05 12: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:11] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":783816791211973339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77450698572169216,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832578,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075828430,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:40:11] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:11] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,211,161,153,45,128,134,60,42,10,66,71,40,245,1,240,227,31,4,113,205,81,219,136,239,48,2,88,7,43],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:40:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758192656908288,"timestamp_seconds":4323758192656908.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:40:11] 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-10-05 12:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543105536001,"66":11471,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543105536001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:40:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:40:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543105536001,"power":11471,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":205970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:40:11] local.INFO: GPS data processed {"connection_id":205970,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:40:11] local.INFO: Acknowledgment sent {"connection_id":205970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:40:13] local.INFO: TCP Data received {"connection_id":207511,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae4c800012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae4c800012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:40:13] local.INFO: Processing buffer {"connection_id":207511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae4c800012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:40:13] local.INFO: Packet analysis {"connection_id":207511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:40:13] local.INFO: Extracted packet for processing {"connection_id":207511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:40:13] local.INFO: GPS Element Parsed {"raw_longitude":743616640,"raw_latitude":164399392,"longitude_deg":74.361664,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b080","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543131392001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791184128000,"timestamp_ms":1791184128000,"timestamp_seconds":1791184128,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae4c800"} 
[2026-10-05 12:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 12:40:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":207511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":207511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":207511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543131392001,"66":28539,"140":206,"9":7936,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543131392001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:40:13] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:40:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:40:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 12:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543131392001,"power":28539,"unknown_140":206,"unknown_9":7936,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 12:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":207511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967201,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:40:13] local.INFO: GPS data processed {"connection_id":207511,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:40:13] local.INFO: Acknowledgment sent {"connection_id":207511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:40:37] local.INFO: TCP Data received {"connection_id":204417,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae0ff40012d7f908005afe470000600db26..."} 
[2026-10-05 12:40:37] local.INFO: TCP Data received {"connection_id":204563,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae0ff40012d7f908005afe470000600db26..."} 
[2026-10-05 12:40:37] local.INFO: Processing buffer {"connection_id":204417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae0ff40012d7f908005afe470000600db26..."} 
[2026-10-05 12:40:37] local.INFO: Packet analysis {"connection_id":204417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:40:37] local.INFO: Extracted packet for processing {"connection_id":204417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae0"} 
[2026-10-05 12:40:37] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95413360,"longitude_deg":76.3334784,"latitude_deg":9.541336,"altitude":6,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2d7f9080","hex_latitude":"05afe470","is_valid_coordinates":true} 
[2026-10-05 12:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543063808001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893560886493184,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791183880000,"timestamp_ms":1791183880000,"timestamp_seconds":1791183880,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae0ff40"} 
[2026-10-05 12:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":5,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-10-05 12:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493159438155776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":84864226589781988,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-5772365677012657367,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":-2302166237272108928,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18600983681368064,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:40:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:37] local.WARNING: Large IO value detected {"io_id":15,"raw_value":-9079031448895173120,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:37] local.INFO: Processing buffer {"connection_id":204563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:40:37] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124244829667328,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:37] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993193144064,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:37] local.INFO: Packet analysis {"connection_id":204563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:40:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":884763263000,"corrected_to":0} 
[2026-10-05 12:40:37] local.INFO: Extracted packet for processing {"connection_id":204563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:40:37] local.WARNING: Large IO value detected {"io_id":112,"raw_value":1126841192546304,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":3,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:40:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543053312001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:37] local.WARNING: Large IO value detected {"io_id":113,"raw_value":263882795188480,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:37] 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-10-05 12:40:37] local.WARNING: Large IO value detected {"io_id":127,"raw_value":-8034415482219003900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791184103000,"timestamp_ms":1791184103000,"timestamp_seconds":1791184103,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae46658"} 
[2026-10-05 12:40:37] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,24,241,16,186,161,110,45,128,228,5,40,10,66,67,4,240,15,47,239,69,205,112,31,113,2,127],"length":472,"final_offset":602,"validated_count":27,"validation_warnings":[{"io_id":205,"original":884763263000,"validated":0}]} 
[2026-10-05 12:40:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360528935034814530,"timestamp_seconds":360528935034814.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 12:40:37] 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-10-05 12:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543063808001,"66":25625,"250":206,"85":12544,"24":0,"16":1893560886493184,"45":9191987601377357824},"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-10-05 12:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543053312001,"66":12841,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543063808001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:40:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:40:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893560886493184,"km_value":1893560886493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 12:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543053312001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543063808001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 12:40:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:40:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543053312001,"power":12841,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":204417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:40:37] local.INFO: GPS data processed {"connection_id":204417,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:40:37] local.INFO: Acknowledgment sent {"connection_id":204417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":204563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:40:37] local.INFO: GPS data processed {"connection_id":204563,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:40:37] local.INFO: Acknowledgment sent {"connection_id":204563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:40:40] local.INFO: TCP Data received {"connection_id":204564,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:40:40] local.INFO: Processing buffer {"connection_id":204564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:40:40] local.INFO: IMEI packet received {"connection_id":204564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":204564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:40:42] local.INFO: TCP Data received {"connection_id":205970,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae38f80012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae38f80012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:40:42] local.INFO: Processing buffer {"connection_id":205970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae38f80012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:40:42] local.INFO: Packet analysis {"connection_id":205970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae3"} 
[2026-10-05 12:40:42] local.INFO: Extracted packet for processing {"connection_id":205970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae3"} 
[2026-10-05 12:40:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543110912001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791184048000,"timestamp_ms":1791184048000,"timestamp_seconds":1791184048,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae38f80"} 
[2026-10-05 12:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:40:42] 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-10-05 12: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":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-05 12:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12: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-10-05 12:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":205970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":205970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":205970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:40:42] 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-10-05 12:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543110912001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543110912001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:40:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:40:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543110912001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":205970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:40:42] local.INFO: GPS data processed {"connection_id":205970,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:40:42] local.INFO: Acknowledgment sent {"connection_id":205970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:40:44] local.INFO: TCP Data received {"connection_id":204564,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:40:44] local.INFO: Processing buffer {"connection_id":204564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:40:44] local.INFO: IMEI packet received {"connection_id":204564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":204564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:40:45] local.INFO: TCP Data received {"connection_id":204564,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae51a08012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae51a08012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:40:45] local.INFO: Processing buffer {"connection_id":204564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae51a08012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:40:45] local.INFO: Packet analysis {"connection_id":204564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae5"} 
[2026-10-05 12:40:45] local.INFO: Extracted packet for processing {"connection_id":204564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae5"} 
[2026-10-05 12:40:45] local.INFO: GPS Element Parsed {"raw_longitude":743616640,"raw_latitude":164399392,"longitude_deg":74.361664,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b080","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543136768001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791184149000,"timestamp_ms":1791184149000,"timestamp_seconds":1791184149,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae51a08"} 
[2026-10-05 12:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 12:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1860,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":204564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":204564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":204564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543136768001,"66":28332,"140":206,"9":7936,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543136768001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:40:45] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:40:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:40:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 12:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543136768001,"power":28332,"unknown_140":206,"unknown_9":7936,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 12:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":204564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967205,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:40:45] local.INFO: GPS data processed {"connection_id":204564,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:40:45] local.INFO: Acknowledgment sent {"connection_id":204564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:40:50] local.INFO: TCP Data received {"connection_id":204564,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae56c10012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae56c10012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:40:50] local.INFO: Processing buffer {"connection_id":204564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae56c10012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:40:50] local.INFO: Packet analysis {"connection_id":204564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae5"} 
[2026-10-05 12:40:50] local.INFO: Extracted packet for processing {"connection_id":204564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae5"} 
[2026-10-05 12:40:50] local.INFO: GPS Element Parsed {"raw_longitude":743616640,"raw_latitude":164399392,"longitude_deg":74.361664,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b080","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543142144001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 12:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1791184170000,"timestamp_ms":1791184170000,"timestamp_seconds":1791184170,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae56c10"} 
[2026-10-05 12:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 12:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":204564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":204564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":204564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543142144001,"66":28517,"140":206,"9":7936,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543142144001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:40:50] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:40:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:40:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 12:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543142144001,"power":28517,"unknown_140":206,"unknown_9":7936,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 12:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":204564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967206,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:40:50] local.INFO: GPS data processed {"connection_id":204564,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:40:50] local.INFO: Acknowledgment sent {"connection_id":204564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:40:59] local.INFO: TCP Data received {"connection_id":205971,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:40:59] local.INFO: Processing buffer {"connection_id":205971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:40:59] local.INFO: IMEI packet received {"connection_id":205971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":205971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:40:59] local.INFO: TCP Data received {"connection_id":204565,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:40:59] local.INFO: Processing buffer {"connection_id":204565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:40:59] local.INFO: IMEI packet received {"connection_id":204565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 12:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":204565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:41:00] local.INFO: TCP Data received {"connection_id":204565,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:41:00] local.INFO: Processing buffer {"connection_id":204565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:41:00] local.INFO: IMEI packet received {"connection_id":204565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":204565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:41:02] local.INFO: TCP Data received {"connection_id":204565,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:41:02] local.INFO: Processing buffer {"connection_id":204565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:41:02] local.INFO: IMEI packet received {"connection_id":204565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":204565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:41:04] local.INFO: TCP Data received {"connection_id":205971,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:41:04] local.INFO: Processing buffer {"connection_id":205971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:41:04] local.INFO: IMEI packet received {"connection_id":205971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":205971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:41:05] local.INFO: TCP Data received {"connection_id":204565,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:41:05] local.INFO: Processing buffer {"connection_id":204565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:41:05] local.INFO: IMEI packet received {"connection_id":204565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":204565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:41:05] local.INFO: TCP Data received {"connection_id":205971,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:41:05] local.INFO: Processing buffer {"connection_id":205971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:41:05] local.INFO: Packet analysis {"connection_id":205971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:41:05] local.INFO: Extracted packet for processing {"connection_id":205971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:41:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":3,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543053312001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:05] 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-10-05 12:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791184103000,"timestamp_ms":1791184103000,"timestamp_seconds":1791184103,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae46658"} 
[2026-10-05 12:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:41: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-10-05 12:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 12:41:05] 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-10-05 12:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543053312001,"66":12841,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543053312001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:41:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:41:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543053312001,"power":12841,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":205971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:41:05] local.INFO: GPS data processed {"connection_id":205971,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:41:05] local.INFO: Acknowledgment sent {"connection_id":205971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:41:06] local.INFO: TCP Data received {"connection_id":204565,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae10af8012d7f900005afe5880006002726..."} 
[2026-10-05 12:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae10af8012d7f900005afe5880006002726..."} 
[2026-10-05 12:41:06] local.INFO: Processing buffer {"connection_id":204565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae10af8012d7f900005afe5880006002726..."} 
[2026-10-05 12:41:06] local.INFO: Packet analysis {"connection_id":204565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae1"} 
[2026-10-05 12:41:06] local.INFO: Extracted packet for processing {"connection_id":204565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae1"} 
[2026-10-05 12:41:06] local.INFO: GPS Element Parsed {"raw_longitude":763334656,"raw_latitude":95413640,"longitude_deg":76.3334656,"latitude_deg":9.541364,"altitude":6,"angle":39,"satellites":38,"speed":1,"hex_longitude":"2d7f9000","hex_latitude":"05afe588","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543073280001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893565181460480,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377357824,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41: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-10-05 12:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791183883000,"timestamp_ms":1791183883000,"timestamp_seconds":1791183883,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae10af8"} 
[2026-10-05 12:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:41:06] 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-10-05 12: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":25,"data_length":795,"current_offset":136} 
[2026-10-05 12:41: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-10-05 12: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-10-05 12:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543073280001,"66":25473,"250":206,"85":12544,"24":1,"16":1893565181460480,"45":9191987601377357824},"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-10-05 12:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543073280001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:41:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:41:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893565181460480,"km_value":1893565181460.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377357824,"description":"Unknown IO ID 45"} 
[2026-10-05 12:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543073280001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191987601377357824}} 
[2026-10-05 12:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":204565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:41:06] local.INFO: GPS data processed {"connection_id":204565,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:41:06] local.INFO: Acknowledgment sent {"connection_id":204565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:41:11] local.INFO: TCP Data received {"connection_id":204566,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:41:11] local.INFO: Processing buffer {"connection_id":204566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:41:11] local.INFO: IMEI packet received {"connection_id":204566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":204566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:41:15] local.INFO: TCP Data received {"connection_id":204566,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:41:15] local.INFO: Processing buffer {"connection_id":204566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:41:15] local.INFO: IMEI packet received {"connection_id":204566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":204566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:41:16] local.INFO: TCP Data received {"connection_id":204566,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae3e188012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae3e188012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:41:16] local.INFO: Processing buffer {"connection_id":204566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae3e188012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:41:16] local.INFO: Packet analysis {"connection_id":204566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae3"} 
[2026-10-05 12:41:16] local.INFO: Extracted packet for processing {"connection_id":204566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae3"} 
[2026-10-05 12:41:16] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543116288001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791184069000,"timestamp_ms":1791184069000,"timestamp_seconds":1791184069,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae3e188"} 
[2026-10-05 12:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:41:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:41:16] 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-10-05 12:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543116288001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543116288001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:41:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:41:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543116288001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":204566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:41:16] local.INFO: GPS data processed {"connection_id":204566,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:41:16] local.INFO: Acknowledgment sent {"connection_id":204566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:41:17] local.INFO: TCP Data received {"connection_id":204566,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae43390012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae43390012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:41:17] local.INFO: Processing buffer {"connection_id":204566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae43390012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:41:17] local.INFO: Packet analysis {"connection_id":204566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:41:17] local.INFO: Extracted packet for processing {"connection_id":204566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:41:17] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543121664001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791184090000,"timestamp_ms":1791184090000,"timestamp_seconds":1791184090,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae43390"} 
[2026-10-05 12:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:17] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:17] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:17] local.WARNING: Large IO value detected {"io_id":161,"raw_value":784087374151621339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:17] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:17] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77453997107052544,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:17] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832578,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:17] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075828430,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:17] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:41:17] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:17] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:17] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,211,161,143,45,128,134,60,43,10,66,61,42,235,1,240,227,31,4,113,205,71,219,136,40,239,48,2,88,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:41:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758188361940992,"timestamp_seconds":4323758188361941.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":204566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":204566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":204566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:41:17] 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-10-05 12:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543121664001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543121664001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:41:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:41:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543121664001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":204566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:41:17] local.INFO: GPS data processed {"connection_id":204566,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:41:17] local.INFO: Acknowledgment sent {"connection_id":204566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:41:34] local.INFO: TCP Data received {"connection_id":205972,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:41:34] local.INFO: Processing buffer {"connection_id":205972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:41:34] local.INFO: IMEI packet received {"connection_id":205972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":205972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:41:37] local.INFO: TCP Data received {"connection_id":205971,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:41:37] local.INFO: Processing buffer {"connection_id":205971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:41:37] local.INFO: Packet analysis {"connection_id":205971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:41:37] local.INFO: Extracted packet for processing {"connection_id":205971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:41:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":3,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543053312001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:37] 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-10-05 12:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791184103000,"timestamp_ms":1791184103000,"timestamp_seconds":1791184103,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae46658"} 
[2026-10-05 12:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 12:41:37] 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-10-05 12:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543053312001,"66":12841,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543053312001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:41:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:41:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543053312001,"power":12841,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:41:37] local.INFO: TCP Data received {"connection_id":204565,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae116b0012d7f900005afe5900006002726..."} 
[2026-10-05 12:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae116b0012d7f900005afe5900006002726..."} 
[2026-10-05 12:41:37] local.INFO: Processing buffer {"connection_id":204565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae116b0012d7f900005afe5900006002726..."} 
[2026-10-05 12:41:37] local.INFO: Packet analysis {"connection_id":204565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae1"} 
[2026-10-05 12:41:37] local.INFO: Extracted packet for processing {"connection_id":204565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae1"} 
[2026-10-05 12:41:37] local.INFO: GPS Element Parsed {"raw_longitude":763334656,"raw_latitude":95413648,"longitude_deg":76.3334656,"latitude_deg":9.5413648,"altitude":6,"angle":39,"satellites":38,"speed":0,"hex_longitude":"2d7f9000","hex_latitude":"05afe590","is_valid_coordinates":true} 
[2026-10-05 12:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543074048001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893565181460480,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191846863889074176,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791183886000,"timestamp_ms":1791183886000,"timestamp_seconds":1791183886,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae116b0"} 
[2026-10-05 12:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:41:37] 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-10-05 12:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 12:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543074048001,"66":25093,"250":206,"85":12544,"24":0,"16":1893565181460480,"45":9191846863889074176},"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-10-05 12:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543074048001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:41:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:41:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893565181460480,"km_value":1893565181460.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191846863889074176,"description":"Unknown IO ID 45"} 
[2026-10-05 12:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543074048001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191846863889074176}} 
[2026-10-05 12:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":205971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:41:37] local.INFO: GPS data processed {"connection_id":205971,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:41:37] local.INFO: Acknowledgment sent {"connection_id":205971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":204565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:41:37] local.INFO: GPS data processed {"connection_id":204565,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:41:37] local.INFO: Acknowledgment sent {"connection_id":204565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:41:40] local.INFO: TCP Data received {"connection_id":205972,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:41:40] local.INFO: Processing buffer {"connection_id":205972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:41:40] local.INFO: IMEI packet received {"connection_id":205972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":205972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:41:41] local.INFO: TCP Data received {"connection_id":205972,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae5be18012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae5be18012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:41:41] local.INFO: Processing buffer {"connection_id":205972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae5be18012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:41:41] local.INFO: Packet analysis {"connection_id":205972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae5"} 
[2026-10-05 12:41:41] local.INFO: Extracted packet for processing {"connection_id":205972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae5"} 
[2026-10-05 12:41:41] local.INFO: GPS Element Parsed {"raw_longitude":743616640,"raw_latitude":164399392,"longitude_deg":74.361664,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b080","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543147520001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791184191000,"timestamp_ms":1791184191000,"timestamp_seconds":1791184191,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae5be18"} 
[2026-10-05 12:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 12:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1662,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":205972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":205972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":205972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543147520001,"66":28506,"140":206,"9":7936,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543147520001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:41:41] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:41:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:41:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 12:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543147520001,"power":28506,"unknown_140":206,"unknown_9":7936,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 12:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":205972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967213,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:41:42] local.INFO: GPS data processed {"connection_id":205972,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:41:42] local.INFO: Acknowledgment sent {"connection_id":205972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:41:48] local.INFO: TCP Data received {"connection_id":204566,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae48598012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae48598012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:41:48] local.INFO: Processing buffer {"connection_id":204566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae48598012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:41:48] local.INFO: Packet analysis {"connection_id":204566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:41:48] local.INFO: Extracted packet for processing {"connection_id":204566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:41:48] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543127040001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791184111000,"timestamp_ms":1791184111000,"timestamp_seconds":1791184111,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae48598"} 
[2026-10-05 12:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:41:48] 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-10-05 12:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:41:48] 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-10-05 12:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543127040001,"66":12254,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543127040001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:41:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:41:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543127040001,"power":12254,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":204566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:41:48] local.INFO: GPS data processed {"connection_id":204566,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:41:48] local.INFO: Acknowledgment sent {"connection_id":204566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:41:55] local.INFO: TCP Data received {"connection_id":204418,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:41:55] local.INFO: Processing buffer {"connection_id":204418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:41:55] local.INFO: IMEI packet received {"connection_id":204418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 12:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":204418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:42:00] local.INFO: TCP Data received {"connection_id":204418,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:42:00] local.INFO: Processing buffer {"connection_id":204418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:42:00] local.INFO: IMEI packet received {"connection_id":204418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":204418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:42:01] local.INFO: TCP Data received {"connection_id":204418,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae6d758012d7f8bc005afdeb0000400a727..."} 
[2026-10-05 12:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae6d758012d7f8bc005afdeb0000400a727..."} 
[2026-10-05 12:42:01] local.INFO: Processing buffer {"connection_id":204418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae6d758012d7f8bc005afdeb0000400a727..."} 
[2026-10-05 12:42:01] local.INFO: Packet analysis {"connection_id":204418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae6"} 
[2026-10-05 12:42:01] local.INFO: Extracted packet for processing {"connection_id":204418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae6"} 
[2026-10-05 12:42:01] local.INFO: GPS Element Parsed {"raw_longitude":763333568,"raw_latitude":95411888,"longitude_deg":76.3333568,"latitude_deg":9.5411888,"altitude":4,"angle":167,"satellites":39,"speed":1,"hex_longitude":"2d7f8bc0","hex_latitude":"05afdeb0","is_valid_coordinates":true} 
[2026-10-05 12:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543167232001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893612426100736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190720963981793280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:42: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-10-05 12:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791184263000,"timestamp_ms":1791184263000,"timestamp_seconds":1791184263,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae6d758"} 
[2026-10-05 12:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:42:01] 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-10-05 12:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-10-05 12:42:01] 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-10-05 12:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:42: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-10-05 12:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543167232001,"66":25147,"250":206,"85":12544,"24":1,"16":1893612426100736,"45":9190720963981793280},"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-10-05 12:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543167232001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:42:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:42:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893612426100736,"km_value":1893612426100.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190720963981793280,"description":"Unknown IO ID 45"} 
[2026-10-05 12:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543167232001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9190720963981793280}} 
[2026-10-05 12:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":204418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:42:01] local.INFO: GPS data processed {"connection_id":204418,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:42:01] local.INFO: Acknowledgment sent {"connection_id":204418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:42:04] local.INFO: TCP Data received {"connection_id":204419,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204419,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:42:04] local.INFO: Processing buffer {"connection_id":204419,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:42:04] local.INFO: IMEI packet received {"connection_id":204419,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":204419,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:42:05] local.INFO: TCP Data received {"connection_id":204567,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:42:05] local.INFO: Processing buffer {"connection_id":204567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:42:05] local.INFO: IMEI packet received {"connection_id":204567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":204567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:42:09] local.INFO: TCP Data received {"connection_id":204419,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204419,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:42:09] local.INFO: Processing buffer {"connection_id":204419,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:42:09] local.INFO: IMEI packet received {"connection_id":204419,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":204419,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:42:10] local.INFO: TCP Data received {"connection_id":204419,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:42:10] local.INFO: Processing buffer {"connection_id":204419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:42:10] local.INFO: Packet analysis {"connection_id":204419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:42:10] local.INFO: Extracted packet for processing {"connection_id":204419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:42:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":3,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543053312001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:42:10] 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-10-05 12:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791184103000,"timestamp_ms":1791184103000,"timestamp_seconds":1791184103,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae46658"} 
[2026-10-05 12:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 12:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543053312001,"66":12841,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543053312001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:42:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543053312001,"power":12841,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":204419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:42:10] local.INFO: GPS data processed {"connection_id":204419,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:42:10] local.INFO: Acknowledgment sent {"connection_id":204419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:42:11] local.INFO: TCP Data received {"connection_id":204567,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:42:11] local.INFO: Processing buffer {"connection_id":204567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:42:11] local.INFO: IMEI packet received {"connection_id":204567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":204567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:42:11] local.INFO: TCP Data received {"connection_id":204567,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae4d7a0012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae4d7a0012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:42:11] local.INFO: Processing buffer {"connection_id":204567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae4d7a0012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:42:11] local.INFO: Packet analysis {"connection_id":204567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:42:11] local.INFO: Extracted packet for processing {"connection_id":204567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:42:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543132416001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:42:11] 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-10-05 12:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791184132000,"timestamp_ms":1791184132000,"timestamp_seconds":1791184132,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae4d7a0"} 
[2026-10-05 12:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:42:11] 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-10-05 12: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-10-05 12:42:11] 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-10-05 12: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-10-05 12:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:42:11] 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-10-05 12:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543132416001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543132416001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:42:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:42:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543132416001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":204567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:42:11] local.INFO: GPS data processed {"connection_id":204567,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:42:11] local.INFO: Acknowledgment sent {"connection_id":204567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:42:18] local.INFO: TCP Data received {"connection_id":205972,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae61020012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae61020012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:42:18] local.INFO: Processing buffer {"connection_id":205972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae61020012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:42:18] local.INFO: Packet analysis {"connection_id":205972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae6"} 
[2026-10-05 12:42:18] local.INFO: Extracted packet for processing {"connection_id":205972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae6"} 
[2026-10-05 12:42:18] local.INFO: GPS Element Parsed {"raw_longitude":743616640,"raw_latitude":164399392,"longitude_deg":74.361664,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b080","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:42: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-10-05 12:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543152896001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:42:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 12:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791184212000,"timestamp_ms":1791184212000,"timestamp_seconds":1791184212,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae61020"} 
[2026-10-05 12:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:42: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":111,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-10-05 12:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1563,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:42: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-10-05 12:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":205972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":205972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":205972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543152896001,"66":28485,"140":206,"9":7936,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543152896001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:42:18] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:42:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:42:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 12:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543152896001,"power":28485,"unknown_140":206,"unknown_9":7936,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 12:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":205972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967218,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:42:18] local.INFO: GPS data processed {"connection_id":205972,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:42:18] local.INFO: Acknowledgment sent {"connection_id":205972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:42:18] local.INFO: TCP Data received {"connection_id":204419,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:42:18] local.INFO: Processing buffer {"connection_id":204419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:42:18] local.INFO: Packet analysis {"connection_id":204419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:42:18] local.INFO: Extracted packet for processing {"connection_id":204419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:42:18] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":3,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:42: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-10-05 12:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543053312001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:42:18] 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-10-05 12:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791184103000,"timestamp_ms":1791184103000,"timestamp_seconds":1791184103,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae46658"} 
[2026-10-05 12:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 12:42:18] 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-10-05 12:42: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-10-05 12:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":204419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":204419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":204419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543053312001,"66":12841,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543053312001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:42:18] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:42:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543053312001,"power":12841,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":204419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:42:19] local.INFO: GPS data processed {"connection_id":204419,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:42:19] local.INFO: Acknowledgment sent {"connection_id":204419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:42:36] local.INFO: TCP Data received {"connection_id":204418,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae6e310012d7f8bc005afde70000400bd26..."} 
[2026-10-05 12:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae6e310012d7f8bc005afde70000400bd26..."} 
[2026-10-05 12:42:36] local.INFO: Processing buffer {"connection_id":204418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae6e310012d7f8bc005afde70000400bd26..."} 
[2026-10-05 12:42:36] local.INFO: Packet analysis {"connection_id":204418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae6"} 
[2026-10-05 12:42:36] local.INFO: Extracted packet for processing {"connection_id":204418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae6"} 
[2026-10-05 12:42:36] local.INFO: GPS Element Parsed {"raw_longitude":763333568,"raw_latitude":95411824,"longitude_deg":76.3333568,"latitude_deg":9.5411824,"altitude":4,"angle":189,"satellites":38,"speed":1,"hex_longitude":"2d7f8bc0","hex_latitude":"05afde70","is_valid_coordinates":true} 
[2026-10-05 12:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543171328001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893612426100736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190650595237605376,"note":"Value kept but may cause issues"} 
[2026-10-05 12:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791184266000,"timestamp_ms":1791184266000,"timestamp_seconds":1791184266,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae6e310"} 
[2026-10-05 12:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-10-05 12:42:36] 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-10-05 12:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543171328001,"66":25147,"250":206,"85":12544,"24":1,"16":1893612426100736,"45":9190650595237605376},"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-10-05 12:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543171328001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:42:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:42:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893612426100736,"km_value":1893612426100.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190650595237605376,"description":"Unknown IO ID 45"} 
[2026-10-05 12:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543171328001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9190650595237605376}} 
[2026-10-05 12:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":204418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:42:36] local.INFO: GPS data processed {"connection_id":204418,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:42:36] local.INFO: Acknowledgment sent {"connection_id":204418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:42:40] local.INFO: TCP Data received {"connection_id":205973,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205973,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:42:40] local.INFO: Processing buffer {"connection_id":205973,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:42:40] local.INFO: IMEI packet received {"connection_id":205973,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":205973,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:42:42] local.INFO: TCP Data received {"connection_id":204567,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae529a8012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae529a8012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:42:42] local.INFO: Processing buffer {"connection_id":204567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae529a8012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:42:42] local.INFO: Packet analysis {"connection_id":204567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae5"} 
[2026-10-05 12:42:42] local.INFO: Extracted packet for processing {"connection_id":204567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae5"} 
[2026-10-05 12:42:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543137792001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791184153000,"timestamp_ms":1791184153000,"timestamp_seconds":1791184153,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae529a8"} 
[2026-10-05 12:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:42:42] 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-10-05 12:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:42:42] 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-10-05 12:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:42:42] 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-10-05 12:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543137792001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543137792001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:42:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:42:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543137792001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":204567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:42:43] local.INFO: GPS data processed {"connection_id":204567,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:42:43] local.INFO: Acknowledgment sent {"connection_id":204567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:42:44] local.INFO: TCP Data received {"connection_id":205973,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205973,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:42:44] local.INFO: Processing buffer {"connection_id":205973,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:42:44] local.INFO: IMEI packet received {"connection_id":205973,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":205973,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:42:45] local.INFO: TCP Data received {"connection_id":205973,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae66228012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae66228012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:42:45] local.INFO: Processing buffer {"connection_id":205973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae66228012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:42:45] local.INFO: Packet analysis {"connection_id":205973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae6"} 
[2026-10-05 12:42:45] local.INFO: Extracted packet for processing {"connection_id":205973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae6"} 
[2026-10-05 12:42:45] local.INFO: GPS Element Parsed {"raw_longitude":743616640,"raw_latitude":164399392,"longitude_deg":74.361664,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b080","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543158272001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:42:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 12:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791184233000,"timestamp_ms":1791184233000,"timestamp_seconds":1791184233,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae66228"} 
[2026-10-05 12:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12: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":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 12:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12: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-10-05 12:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":205973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":205973,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":205973,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543158272001,"66":28571,"140":206,"9":7936,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543158272001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:42:45] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:42:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:42:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 12:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543158272001,"power":28571,"unknown_140":206,"unknown_9":7936,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 12:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":205973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967222,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:42:45] local.INFO: GPS data processed {"connection_id":205973,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:42:45] local.INFO: Acknowledgment sent {"connection_id":205973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:42:50] local.INFO: TCP Data received {"connection_id":205973,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae671c8012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae671c8012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:42:50] local.INFO: Processing buffer {"connection_id":205973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae671c8012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:42:50] local.INFO: Packet analysis {"connection_id":205973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae6"} 
[2026-10-05 12:42:50] local.INFO: Extracted packet for processing {"connection_id":205973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae6"} 
[2026-10-05 12:42:50] local.INFO: GPS Element Parsed {"raw_longitude":743616640,"raw_latitude":164399392,"longitude_deg":74.361664,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b080","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543163648001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:42:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 12:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1791184237000,"timestamp_ms":1791184237000,"timestamp_seconds":1791184237,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae671c8"} 
[2026-10-05 12:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:42: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":111,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-10-05 12:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2148,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:42: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-10-05 12:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":205973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":205973,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":205973,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543163648001,"66":28506,"140":206,"9":7936,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543163648001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:42:50] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:42:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:42:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 12:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543163648001,"power":28506,"unknown_140":206,"unknown_9":7936,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 12:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":205973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967223,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:42:50] local.INFO: GPS data processed {"connection_id":205973,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:42:50] local.INFO: Acknowledgment sent {"connection_id":205973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:42:59] local.INFO: TCP Data received {"connection_id":204420,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204420,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:42:59] local.INFO: Processing buffer {"connection_id":204420,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:42:59] local.INFO: IMEI packet received {"connection_id":204420,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":204420,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:42:59] local.INFO: TCP Data received {"connection_id":207512,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:42:59] local.INFO: Processing buffer {"connection_id":207512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:42:59] local.INFO: IMEI packet received {"connection_id":207512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 12:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":207512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:43:04] local.INFO: TCP Data received {"connection_id":207512,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:43:04] local.INFO: Processing buffer {"connection_id":207512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:43:04] local.INFO: IMEI packet received {"connection_id":207512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":207512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:43:04] local.INFO: TCP Data received {"connection_id":204420,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204420,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:43:04] local.INFO: Processing buffer {"connection_id":204420,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:43:04] local.INFO: IMEI packet received {"connection_id":204420,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":204420,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:43:05] local.INFO: TCP Data received {"connection_id":207512,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae70250012d7f8bc005afdde8000400c824..."} 
[2026-10-05 12:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae70250012d7f8bc005afdde8000400c824..."} 
[2026-10-05 12:43:05] local.INFO: Processing buffer {"connection_id":207512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae70250012d7f8bc005afdde8000400c824..."} 
[2026-10-05 12:43:05] local.INFO: Packet analysis {"connection_id":207512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae7"} 
[2026-10-05 12:43:05] local.INFO: Extracted packet for processing {"connection_id":207512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae7"} 
[2026-10-05 12:43:05] local.INFO: GPS Element Parsed {"raw_longitude":763333568,"raw_latitude":95411688,"longitude_deg":76.3333568,"latitude_deg":9.5411688,"altitude":4,"angle":200,"satellites":36,"speed":1,"hex_longitude":"2d7f8bc0","hex_latitude":"05afdde8","is_valid_coordinates":true} 
[2026-10-05 12:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543172096001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893621016035328,"note":"Value kept but may cause issues"} 
[2026-10-05 12:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190650595237588992,"note":"Value kept but may cause issues"} 
[2026-10-05 12: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-10-05 12:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791184274000,"timestamp_ms":1791184274000,"timestamp_seconds":1791184274,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae70250"} 
[2026-10-05 12:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:43:05] 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-10-05 12:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-10-05 12:43:05] 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-10-05 12:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:43: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-10-05 12:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543172096001,"66":25093,"250":206,"85":12544,"24":1,"16":1893621016035328,"45":9190650595237588992},"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-10-05 12:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543172096001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:43:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:43:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893621016035328,"km_value":1893621016035.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190650595237588992,"description":"Unknown IO ID 45"} 
[2026-10-05 12:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543172096001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9190650595237588992}} 
[2026-10-05 12:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":207512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:43:05] local.INFO: GPS data processed {"connection_id":207512,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:43:05] local.INFO: Acknowledgment sent {"connection_id":207512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:43:05] local.INFO: TCP Data received {"connection_id":207513,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:43:05] local.INFO: Processing buffer {"connection_id":207513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:43:05] local.INFO: IMEI packet received {"connection_id":207513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":207513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:43:06] local.INFO: TCP Data received {"connection_id":207512,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae75458012d7f8c0005afdd38000300c924..."} 
[2026-10-05 12:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae75458012d7f8c0005afdd38000300c924..."} 
[2026-10-05 12:43:06] local.INFO: Processing buffer {"connection_id":207512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae75458012d7f8c0005afdd38000300c924..."} 
[2026-10-05 12:43:06] local.INFO: Packet analysis {"connection_id":207512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae7"} 
[2026-10-05 12:43:06] local.INFO: Extracted packet for processing {"connection_id":207512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae7"} 
[2026-10-05 12:43:06] local.INFO: GPS Element Parsed {"raw_longitude":763333632,"raw_latitude":95411512,"longitude_deg":76.3333632,"latitude_deg":9.5411512,"altitude":3,"angle":201,"satellites":36,"speed":0,"hex_longitude":"2d7f8c00","hex_latitude":"05afdd38","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543174144001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893651080806400,"note":"Value kept but may cause issues"} 
[2026-10-05 12:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190650595237554176,"note":"Value kept but may cause issues"} 
[2026-10-05 12: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-10-05 12:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791184295000,"timestamp_ms":1791184295000,"timestamp_seconds":1791184295,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae75458"} 
[2026-10-05 12:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-05 12:43:06] 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-10-05 12: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-10-05 12:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12: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-10-05 12:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543174144001,"66":25125,"250":206,"85":12544,"24":0,"16":1893651080806400,"45":9190650595237554176},"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-10-05 12:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543174144001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:43:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:43:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893651080806400,"km_value":1893651080806.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190650595237554176,"description":"Unknown IO ID 45"} 
[2026-10-05 12:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543174144001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190650595237554176}} 
[2026-10-05 12:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":207512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:43:06] local.INFO: GPS data processed {"connection_id":207512,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:43:06] local.INFO: Acknowledgment sent {"connection_id":207512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:43:06] local.INFO: TCP Data received {"connection_id":204420,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:43:06] local.INFO: Processing buffer {"connection_id":204420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae46658012d7b524005e13b08000300a922..."} 
[2026-10-05 12:43:06] local.INFO: Packet analysis {"connection_id":204420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:43:06] local.INFO: Extracted packet for processing {"connection_id":204420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae4"} 
[2026-10-05 12:43:06] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":3,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543053312001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:43:06] 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-10-05 12:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791184103000,"timestamp_ms":1791184103000,"timestamp_seconds":1791184103,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae46658"} 
[2026-10-05 12:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 12:43:06] 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-10-05 12: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-10-05 12:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543053312001,"66":12841,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543053312001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:43:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:43:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543053312001,"power":12841,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":204420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:43:06] local.INFO: GPS data processed {"connection_id":204420,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:43:06] local.INFO: Acknowledgment sent {"connection_id":204420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:43:10] local.INFO: TCP Data received {"connection_id":207513,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:43:10] local.INFO: Processing buffer {"connection_id":207513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:43:10] local.INFO: IMEI packet received {"connection_id":207513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":207513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:43:11] local.INFO: TCP Data received {"connection_id":207513,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae57bb0012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae57bb0012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:43:11] local.INFO: Processing buffer {"connection_id":207513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae57bb0012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:43:11] local.INFO: Packet analysis {"connection_id":207513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae5"} 
[2026-10-05 12:43:11] local.INFO: Extracted packet for processing {"connection_id":207513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae5"} 
[2026-10-05 12:43:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543143168001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:43:11] 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-10-05 12:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791184174000,"timestamp_ms":1791184174000,"timestamp_seconds":1791184174,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae57bb0"} 
[2026-10-05 12:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:43:11] 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-10-05 12:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:43:11] 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-10-05 12:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:43:11] 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-10-05 12:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543143168001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543143168001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:43:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:43:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543143168001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":207513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:43:11] local.INFO: GPS data processed {"connection_id":207513,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:43:11] local.INFO: Acknowledgment sent {"connection_id":207513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:43:34] local.INFO: TCP Data received {"connection_id":205974,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:43:34] local.INFO: Processing buffer {"connection_id":205974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:43:34] local.INFO: IMEI packet received {"connection_id":205974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":205974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:43:37] local.INFO: TCP Data received {"connection_id":207512,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae7a660012d7f8bc005afdd08000400ca27..."} 
[2026-10-05 12:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae7a660012d7f8bc005afdd08000400ca27..."} 
[2026-10-05 12:43:37] local.INFO: Processing buffer {"connection_id":207512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae7a660012d7f8bc005afdd08000400ca27..."} 
[2026-10-05 12:43:37] local.INFO: Packet analysis {"connection_id":207512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae7"} 
[2026-10-05 12:43:37] local.INFO: Extracted packet for processing {"connection_id":207512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae7"} 
[2026-10-05 12:43:37] local.INFO: GPS Element Parsed {"raw_longitude":763333568,"raw_latitude":95411464,"longitude_deg":76.3333568,"latitude_deg":9.5411464,"altitude":4,"angle":202,"satellites":39,"speed":0,"hex_longitude":"2d7f8bc0","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-10-05 12:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543179520001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893659670740992,"note":"Value kept but may cause issues"} 
[2026-10-05 12:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190720963981686784,"note":"Value kept but may cause issues"} 
[2026-10-05 12:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791184316000,"timestamp_ms":1791184316000,"timestamp_seconds":1791184316,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae7a660"} 
[2026-10-05 12:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-10-05 12:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543179520001,"66":25125,"250":206,"85":12544,"24":0,"16":1893659670740992,"45":9190720963981686784},"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-10-05 12:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543179520001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:43:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:43:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893659670740992,"km_value":1893659670740.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190720963981686784,"description":"Unknown IO ID 45"} 
[2026-10-05 12:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543179520001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190720963981686784}} 
[2026-10-05 12:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":207512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:43:37] local.INFO: GPS data processed {"connection_id":207512,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:43:37] local.INFO: Acknowledgment sent {"connection_id":207512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:43:37] local.INFO: TCP Data received {"connection_id":204420,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:43:37] local.INFO: Processing buffer {"connection_id":204420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:43:37] local.INFO: Packet analysis {"connection_id":204420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:43:37] local.INFO: Extracted packet for processing {"connection_id":204420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:43:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":3,"angle":169,"satellites":33,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543130368001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:43:37] 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-10-05 12:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791184404000,"timestamp_ms":1791184404000,"timestamp_seconds":1791184404,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae8fe20"} 
[2026-10-05 12:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 12:43:37] 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-10-05 12:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543130368001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543130368001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:43:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:43:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543130368001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":204420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:43:37] local.INFO: GPS data processed {"connection_id":204420,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:43:37] local.INFO: Acknowledgment sent {"connection_id":204420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:43:42] local.INFO: TCP Data received {"connection_id":207513,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae5cdb8012d1adb80071f8688003c011328..."} 
[2026-10-05 12:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae5cdb8012d1adb80071f8688003c011328..."} 
[2026-10-05 12:43:42] local.INFO: Processing buffer {"connection_id":207513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae5cdb8012d1adb80071f8688003c011328..."} 
[2026-10-05 12:43:42] local.INFO: Packet analysis {"connection_id":207513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae5"} 
[2026-10-05 12:43:42] local.INFO: Extracted packet for processing {"connection_id":207513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae5"} 
[2026-10-05 12:43:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:43: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-10-05 12:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543148544001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791184195000,"timestamp_ms":1791184195000,"timestamp_seconds":1791184195,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae5cdb8"} 
[2026-10-05 12:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:43:42] 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-10-05 12:43: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:43:42] 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-10-05 12:43: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-10-05 12:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:43:42] 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-10-05 12:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543148544001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543148544001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:43:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:43:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543148544001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":207513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:43:42] local.INFO: GPS data processed {"connection_id":207513,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:43:42] local.INFO: Acknowledgment sent {"connection_id":207513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:43:44] local.INFO: TCP Data received {"connection_id":205974,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:43:44] local.INFO: Processing buffer {"connection_id":205974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:43:44] local.INFO: IMEI packet received {"connection_id":205974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":205974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:43:45] local.INFO: TCP Data received {"connection_id":205974,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae671c8012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae671c8012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:43:45] local.INFO: Processing buffer {"connection_id":205974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae671c8012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:43:45] local.INFO: Packet analysis {"connection_id":205974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae6"} 
[2026-10-05 12:43:45] local.INFO: Extracted packet for processing {"connection_id":205974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae6"} 
[2026-10-05 12:43:45] local.INFO: GPS Element Parsed {"raw_longitude":743616640,"raw_latitude":164399392,"longitude_deg":74.361664,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b080","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543163648001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:43:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 12:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791184237000,"timestamp_ms":1791184237000,"timestamp_seconds":1791184237,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae671c8"} 
[2026-10-05 12:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-10-05 12:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2148,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":205974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":205974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":205974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543163648001,"66":28506,"140":206,"9":7936,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543163648001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:43:45] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:43:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:43:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 12:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543163648001,"power":28506,"unknown_140":206,"unknown_9":7936,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 12:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":205974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967231,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:43:45] local.INFO: GPS data processed {"connection_id":205974,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:43:45] local.INFO: Acknowledgment sent {"connection_id":205974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:43:55] local.INFO: TCP Data received {"connection_id":205975,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:43:55] local.INFO: Processing buffer {"connection_id":205975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:43:55] local.INFO: IMEI packet received {"connection_id":205975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 12:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":205975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:43:55] local.INFO: TCP Data received {"connection_id":205975,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:43:55] local.INFO: Processing buffer {"connection_id":205975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:43:55] local.INFO: IMEI packet received {"connection_id":205975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":205975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:44:00] local.INFO: TCP Data received {"connection_id":205975,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:44:00] local.INFO: Processing buffer {"connection_id":205975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:44:00] local.INFO: IMEI packet received {"connection_id":205975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":205975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:44:01] local.INFO: TCP Data received {"connection_id":205975,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae7c988012d7f8b8005afdc88000300bc25..."} 
[2026-10-05 12:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae7c988012d7f8b8005afdc88000300bc25..."} 
[2026-10-05 12:44:01] local.INFO: Processing buffer {"connection_id":205975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae7c988012d7f8b8005afdc88000300bc25..."} 
[2026-10-05 12:44:01] local.INFO: Packet analysis {"connection_id":205975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae7"} 
[2026-10-05 12:44:01] local.INFO: Extracted packet for processing {"connection_id":205975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae7"} 
[2026-10-05 12:44:01] local.INFO: GPS Element Parsed {"raw_longitude":763333504,"raw_latitude":95411336,"longitude_deg":76.3333504,"latitude_deg":9.5411336,"altitude":3,"angle":188,"satellites":37,"speed":1,"hex_longitude":"2d7f8b80","hex_latitude":"05afdc88","is_valid_coordinates":true} 
[2026-10-05 12:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543184896001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893668260675584,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190650595237496832,"note":"Value kept but may cause issues"} 
[2026-10-05 12: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-10-05 12:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791184325000,"timestamp_ms":1791184325000,"timestamp_seconds":1791184325,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae7c988"} 
[2026-10-05 12:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-10-05 12:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:44: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-10-05 12:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543184896001,"66":25093,"250":206,"85":12544,"24":1,"16":1893668260675584,"45":9190650595237496832},"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-10-05 12:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543184896001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:44:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:44:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893668260675584,"km_value":1893668260675.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190650595237496832,"description":"Unknown IO ID 45"} 
[2026-10-05 12:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543184896001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9190650595237496832}} 
[2026-10-05 12:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":205975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:44:01] local.INFO: GPS data processed {"connection_id":205975,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:44:01] local.INFO: Acknowledgment sent {"connection_id":205975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:44:03] local.INFO: TCP Data received {"connection_id":207514,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:44:03] local.INFO: Processing buffer {"connection_id":207514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:44:03] local.INFO: IMEI packet received {"connection_id":207514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":207514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:44:04] local.INFO: TCP Data received {"connection_id":205976,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:44:04] local.INFO: Processing buffer {"connection_id":205976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:44:04] local.INFO: IMEI packet received {"connection_id":205976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":205976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:44:06] local.INFO: TCP Data received {"connection_id":207514,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:44:06] local.INFO: Processing buffer {"connection_id":207514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:44:06] local.INFO: IMEI packet received {"connection_id":207514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":207514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:44:09] local.INFO: TCP Data received {"connection_id":205976,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:44:09] local.INFO: Processing buffer {"connection_id":205976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:44:09] local.INFO: IMEI packet received {"connection_id":205976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":205976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:44:10] local.INFO: TCP Data received {"connection_id":205976,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:44:10] local.INFO: Processing buffer {"connection_id":205976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:44:10] local.INFO: Packet analysis {"connection_id":205976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:44:10] local.INFO: Extracted packet for processing {"connection_id":205976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:44:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":3,"angle":169,"satellites":33,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543130368001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:10] 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-10-05 12:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791184404000,"timestamp_ms":1791184404000,"timestamp_seconds":1791184404,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae8fe20"} 
[2026-10-05 12:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 12:44:10] 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-10-05 12: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-10-05 12:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":205976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":205976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":205976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543130368001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543130368001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:44:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543130368001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":205976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:44:10] local.INFO: GPS data processed {"connection_id":205976,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:44:10] local.INFO: Acknowledgment sent {"connection_id":205976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:44:11] local.INFO: TCP Data received {"connection_id":207514,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:44:11] local.INFO: Processing buffer {"connection_id":207514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:44:11] local.INFO: IMEI packet received {"connection_id":207514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":207514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:44:11] local.INFO: TCP Data received {"connection_id":207514,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae61fc0012d1adb80071f8688003c011329..."} 
[2026-10-05 12:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae61fc0012d1adb80071f8688003c011329..."} 
[2026-10-05 12:44:11] local.INFO: Processing buffer {"connection_id":207514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae61fc0012d1adb80071f8688003c011329..."} 
[2026-10-05 12:44:11] local.INFO: Packet analysis {"connection_id":207514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae6"} 
[2026-10-05 12:44:11] local.INFO: Extracted packet for processing {"connection_id":207514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae6"} 
[2026-10-05 12:44:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543153920001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:11] 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-10-05 12:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791184216000,"timestamp_ms":1791184216000,"timestamp_seconds":1791184216,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae61fc0"} 
[2026-10-05 12:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:44:11] 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-10-05 12: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:11] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":784628540030917339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77451798083796992,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075828430,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:44:11] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2415996186,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:11] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:11] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:11] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,211,161,123,45,128,134,60,42,10,66,41,44,215,1,240,255,227,31,4,113,205,51,219,136,239,47,2,88,7,43],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:44:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758179772006400,"timestamp_seconds":4323758179772006.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:44:11] 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-10-05 12:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543153920001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543153920001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:44:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:44:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543153920001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":207514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:44:11] local.INFO: GPS data processed {"connection_id":207514,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:44:11] local.INFO: Acknowledgment sent {"connection_id":207514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:44:17] local.INFO: TCP Data received {"connection_id":205976,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:44:17] local.INFO: Processing buffer {"connection_id":205976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:44:17] local.INFO: Packet analysis {"connection_id":205976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:44:17] local.INFO: Extracted packet for processing {"connection_id":205976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:44:17] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":3,"angle":169,"satellites":33,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543130368001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:17] 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-10-05 12:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791184404000,"timestamp_ms":1791184404000,"timestamp_seconds":1791184404,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae8fe20"} 
[2026-10-05 12:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 12:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":205976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":205976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":205976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543130368001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543130368001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:44:17] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:44:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543130368001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":205976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967235,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:44:17] local.INFO: GPS data processed {"connection_id":205976,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:44:17] local.INFO: Acknowledgment sent {"connection_id":205976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:44:18] local.INFO: TCP Data received {"connection_id":205974,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae671c8012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae671c8012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:44:18] local.INFO: Processing buffer {"connection_id":205974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae671c8012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:44:18] local.INFO: Packet analysis {"connection_id":205974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae6"} 
[2026-10-05 12:44:18] local.INFO: Extracted packet for processing {"connection_id":205974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae6"} 
[2026-10-05 12:44:18] local.INFO: GPS Element Parsed {"raw_longitude":743616640,"raw_latitude":164399392,"longitude_deg":74.361664,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b080","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:44: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-10-05 12:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543163648001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791184237000,"timestamp_ms":1791184237000,"timestamp_seconds":1791184237,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae671c8"} 
[2026-10-05 12:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12: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":111,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-10-05 12:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2148,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12: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-10-05 12:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":205974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":205974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":205974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543163648001,"66":28506,"140":206,"9":7936,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543163648001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:44:18] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:44:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:44:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 12:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543163648001,"power":28506,"unknown_140":206,"unknown_9":7936,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 12:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":205974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967236,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:44:18] local.INFO: GPS data processed {"connection_id":205974,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:44:18] local.INFO: Acknowledgment sent {"connection_id":205974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:44:32] local.INFO: TCP Data received {"connection_id":205975,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae81b90012d7f8bc005afdc88000400bc26..."} 
[2026-10-05 12:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae81b90012d7f8bc005afdc88000400bc26..."} 
[2026-10-05 12:44:32] local.INFO: Processing buffer {"connection_id":205975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae81b90012d7f8bc005afdc88000400bc26..."} 
[2026-10-05 12:44:32] local.INFO: Packet analysis {"connection_id":205975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:44:32] local.INFO: Extracted packet for processing {"connection_id":205975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:44:32] local.INFO: GPS Element Parsed {"raw_longitude":763333568,"raw_latitude":95411336,"longitude_deg":76.3333568,"latitude_deg":9.5411336,"altitude":4,"angle":188,"satellites":38,"speed":0,"hex_longitude":"2d7f8bc0","hex_latitude":"05afdc88","is_valid_coordinates":true} 
[2026-10-05 12:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543187200001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893681145577472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190580226493286400,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44: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-10-05 12:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791184346000,"timestamp_ms":1791184346000,"timestamp_seconds":1791184346,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae81b90"} 
[2026-10-05 12:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:44:32] 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-10-05 12:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-05 12:44:32] 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-10-05 12:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543187200001,"66":25093,"250":206,"85":12544,"24":0,"16":1893681145577472,"45":9190580226493286400},"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-10-05 12:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543187200001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:44:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:44:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893681145577472,"km_value":1893681145577.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190580226493286400,"description":"Unknown IO ID 45"} 
[2026-10-05 12:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543187200001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190580226493286400}} 
[2026-10-05 12:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":205975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:44:32] local.INFO: GPS data processed {"connection_id":205975,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:44:32] local.INFO: Acknowledgment sent {"connection_id":205975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:44:42] local.INFO: TCP Data received {"connection_id":207514,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae671c8012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae671c8012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:44:42] local.INFO: Processing buffer {"connection_id":207514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae671c8012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:44:42] local.INFO: Packet analysis {"connection_id":207514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae6"} 
[2026-10-05 12:44:42] local.INFO: Extracted packet for processing {"connection_id":207514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae6"} 
[2026-10-05 12:44:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543159296001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791184237000,"timestamp_ms":1791184237000,"timestamp_seconds":1791184237,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae671c8"} 
[2026-10-05 12:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:44:42] 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-10-05 12:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:42] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:42] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:42] local.WARNING: Large IO value detected {"io_id":161,"raw_value":784718734344133339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:44:42] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:42] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77451798083796992,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:42] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:42] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332011214,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:42] local.WARNING: Large IO value detected {"io_id":133,"raw_value":2550213914,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:42] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:42] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594552,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:42] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:42] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,211,161,205,45,128,134,60,40,10,66,123,42,41,1,240,255,227,31,4,113,133,219,136,43,239,47,2,88,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:44:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758184066973696,"timestamp_seconds":4323758184066973.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:44:42] 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-10-05 12:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543159296001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543159296001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:44:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:44:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543159296001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":207514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:44:43] local.INFO: GPS data processed {"connection_id":207514,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:44:43] local.INFO: Acknowledgment sent {"connection_id":207514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:44:44] local.INFO: TCP Data received {"connection_id":205977,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205977,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:44:44] local.INFO: Processing buffer {"connection_id":205977,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:44:44] local.INFO: IMEI packet received {"connection_id":205977,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":205977,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:44:49] local.INFO: TCP Data received {"connection_id":205977,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205977,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:44:49] local.INFO: Processing buffer {"connection_id":205977,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:44:49] local.INFO: IMEI packet received {"connection_id":205977,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":205977,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:44:51] local.INFO: TCP Data received {"connection_id":205977,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae671c8012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae671c8012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:44:51] local.INFO: Processing buffer {"connection_id":205977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae671c8012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:44:51] local.INFO: Packet analysis {"connection_id":205977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae6"} 
[2026-10-05 12:44:51] local.INFO: Extracted packet for processing {"connection_id":205977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae6"} 
[2026-10-05 12:44:51] local.INFO: GPS Element Parsed {"raw_longitude":743616640,"raw_latitude":164399392,"longitude_deg":74.361664,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b080","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543163648001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791184237000,"timestamp_ms":1791184237000,"timestamp_seconds":1791184237,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae671c8"} 
[2026-10-05 12:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:44: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":111,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-10-05 12:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2148,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:44: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-10-05 12:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":205977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":205977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":205977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543163648001,"66":28506,"140":206,"9":7936,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543163648001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:44:51] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:44:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:44:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 12:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543163648001,"power":28506,"unknown_140":206,"unknown_9":7936,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 12:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":205977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967239,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:44:51] local.INFO: GPS data processed {"connection_id":205977,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:44:51] local.INFO: Acknowledgment sent {"connection_id":205977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:44:54] local.INFO: TCP Data received {"connection_id":207515,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:44:54] local.INFO: Processing buffer {"connection_id":207515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:44:54] local.INFO: IMEI packet received {"connection_id":207515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 12:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":207515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:44:58] local.INFO: TCP Data received {"connection_id":207515,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:44:58] local.INFO: Processing buffer {"connection_id":207515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:44:58] local.INFO: IMEI packet received {"connection_id":207515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":207515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:44:59] local.INFO: TCP Data received {"connection_id":207515,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae86d98012d7f8c0005afdc98000400bc26..."} 
[2026-10-05 12:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae86d98012d7f8c0005afdc98000400bc26..."} 
[2026-10-05 12:44:59] local.INFO: Processing buffer {"connection_id":207515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae86d98012d7f8c0005afdc98000400bc26..."} 
[2026-10-05 12:44:59] local.INFO: Packet analysis {"connection_id":207515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:44:59] local.INFO: Extracted packet for processing {"connection_id":207515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:44:59] local.INFO: GPS Element Parsed {"raw_longitude":763333632,"raw_latitude":95411352,"longitude_deg":76.3333632,"latitude_deg":9.5411352,"altitude":4,"angle":188,"satellites":38,"speed":0,"hex_longitude":"2d7f8c00","hex_latitude":"05afdc98","is_valid_coordinates":true} 
[2026-10-05 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-10-05 12:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543192576001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893689735512064,"note":"Value kept but may cause issues"} 
[2026-10-05 12:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190650595237464064,"note":"Value kept but may cause issues"} 
[2026-10-05 12: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-10-05 12:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791184367000,"timestamp_ms":1791184367000,"timestamp_seconds":1791184367,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae86d98"} 
[2026-10-05 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-10-05 12:44:59] 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-10-05 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-05 12:44:59] 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-10-05 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-10-05 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-10-05 12:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":207515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":207515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":207515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12: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-10-05 12:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543192576001,"66":25125,"250":206,"85":12544,"24":0,"16":1893689735512064,"45":9190650595237464064},"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-10-05 12:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543192576001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:44:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:44:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893689735512064,"km_value":1893689735512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190650595237464064,"description":"Unknown IO ID 45"} 
[2026-10-05 12:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543192576001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190650595237464064}} 
[2026-10-05 12:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":207515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:44:59] local.INFO: GPS data processed {"connection_id":207515,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:44:59] local.INFO: Acknowledgment sent {"connection_id":207515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:44:59] local.INFO: TCP Data received {"connection_id":204421,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204421,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:44:59] local.INFO: Processing buffer {"connection_id":204421,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:44:59] local.INFO: IMEI packet received {"connection_id":204421,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":204421,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:45:04] local.INFO: TCP Data received {"connection_id":204421,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204421,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:45:04] local.INFO: Processing buffer {"connection_id":204421,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:45:04] local.INFO: IMEI packet received {"connection_id":204421,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":204421,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:45:05] local.INFO: TCP Data received {"connection_id":204421,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:45:05] local.INFO: Processing buffer {"connection_id":204421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:45:05] local.INFO: Packet analysis {"connection_id":204421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:45:05] local.INFO: Extracted packet for processing {"connection_id":204421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:45:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":3,"angle":169,"satellites":33,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543130368001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:05] 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-10-05 12:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791184404000,"timestamp_ms":1791184404000,"timestamp_seconds":1791184404,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae8fe20"} 
[2026-10-05 12:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:45: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-10-05 12:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 12:45: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-10-05 12:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543130368001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543130368001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:45:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:45:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543130368001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":204421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:45:05] local.INFO: GPS data processed {"connection_id":204421,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:45:05] local.INFO: Acknowledgment sent {"connection_id":204421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:45:06] local.INFO: TCP Data received {"connection_id":205978,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:45:06] local.INFO: Processing buffer {"connection_id":205978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:45:06] local.INFO: IMEI packet received {"connection_id":205978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":205978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:45:06] local.INFO: TCP Data received {"connection_id":205978,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:45:06] local.INFO: Processing buffer {"connection_id":205978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:45:06] local.INFO: IMEI packet received {"connection_id":205978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":205978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:45:10] local.INFO: TCP Data received {"connection_id":205978,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:45:10] local.INFO: Processing buffer {"connection_id":205978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:45:10] local.INFO: IMEI packet received {"connection_id":205978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":205978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:45:11] local.INFO: TCP Data received {"connection_id":205978,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae6c3d0012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae6c3d0012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:45:11] local.INFO: Processing buffer {"connection_id":205978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae6c3d0012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:45:11] local.INFO: Packet analysis {"connection_id":205978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae6"} 
[2026-10-05 12:45:11] local.INFO: Extracted packet for processing {"connection_id":205978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae6"} 
[2026-10-05 12:45:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543164672001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:11] 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-10-05 12:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791184258000,"timestamp_ms":1791184258000,"timestamp_seconds":1791184258,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae6c3d0"} 
[2026-10-05 12:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:45:11] 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-10-05 12:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:11] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":784808928657349339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77452897595424768,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3449195247100559566,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:45:11] local.WARNING: Large IO value detected {"io_id":215,"raw_value":2684431642,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:11] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:11] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:11] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,211,161,31,45,128,134,60,41,10,66,205,40,123,1,240,255,227,4,113,215,219,136,44,239,47,2,88,7,42],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:45:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758196951875584,"timestamp_seconds":4323758196951875.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:45:11] 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-10-05 12:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543164672001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543164672001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:45:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:45:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543164672001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":205978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:45:11] local.INFO: GPS data processed {"connection_id":205978,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:45:11] local.INFO: Acknowledgment sent {"connection_id":205978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:45:30] local.INFO: TCP Data received {"connection_id":207515,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae890c0012d7f8c8005afdc800004006223..."} 
[2026-10-05 12:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae890c0012d7f8c8005afdc800004006223..."} 
[2026-10-05 12:45:30] local.INFO: Processing buffer {"connection_id":207515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae890c0012d7f8c8005afdc800004006223..."} 
[2026-10-05 12:45:30] local.INFO: Packet analysis {"connection_id":207515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:45:30] local.INFO: Extracted packet for processing {"connection_id":207515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:45:30] local.INFO: GPS Element Parsed {"raw_longitude":763333760,"raw_latitude":95411328,"longitude_deg":76.333376,"latitude_deg":9.5411328,"altitude":4,"angle":98,"satellites":35,"speed":1,"hex_longitude":"2d7f8c80","hex_latitude":"05afdc80","is_valid_coordinates":true} 
[2026-10-05 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-10-05 12:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543197952001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893694030479360,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190720963981645824,"note":"Value kept but may cause issues"} 
[2026-10-05 12: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-10-05 12:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1791184376000,"timestamp_ms":1791184376000,"timestamp_seconds":1791184376,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae890c0"} 
[2026-10-05 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-10-05 12:45:30] 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-10-05 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-10-05 12:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 12:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":207515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":207515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":207515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12: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-10-05 12:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543197952001,"66":25038,"250":206,"85":12544,"24":1,"16":1893694030479360,"45":9190720963981645824},"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-10-05 12:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543197952001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:45:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:45:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893694030479360,"km_value":1893694030479.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190720963981645824,"description":"Unknown IO ID 45"} 
[2026-10-05 12:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543197952001,"power":25038,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9190720963981645824}} 
[2026-10-05 12:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":207515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:45:30] local.INFO: GPS data processed {"connection_id":207515,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:45:30] local.INFO: Acknowledgment sent {"connection_id":207515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:45:34] local.INFO: TCP Data received {"connection_id":204568,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204568,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:45:34] local.INFO: Processing buffer {"connection_id":204568,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:45:34] local.INFO: IMEI packet received {"connection_id":204568,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":204568,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:45:36] local.INFO: TCP Data received {"connection_id":204421,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:45:36] local.INFO: Processing buffer {"connection_id":204421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:45:36] local.INFO: Packet analysis {"connection_id":204421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:45:36] local.INFO: Extracted packet for processing {"connection_id":204421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:45:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":3,"angle":169,"satellites":33,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543130368001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:36] 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-10-05 12:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791184404000,"timestamp_ms":1791184404000,"timestamp_seconds":1791184404,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae8fe20"} 
[2026-10-05 12:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 12:45:36] 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-10-05 12:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543130368001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543130368001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:45:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:45:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543130368001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":204421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:45:36] local.INFO: GPS data processed {"connection_id":204421,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:45:36] local.INFO: Acknowledgment sent {"connection_id":204421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:45:40] local.INFO: TCP Data received {"connection_id":204568,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204568,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:45:40] local.INFO: Processing buffer {"connection_id":204568,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:45:40] local.INFO: IMEI packet received {"connection_id":204568,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":204568,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:45:41] local.INFO: TCP Data received {"connection_id":204568,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae671c8012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae671c8012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:45:41] local.INFO: Processing buffer {"connection_id":204568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae671c8012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:45:41] local.INFO: Packet analysis {"connection_id":204568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae6"} 
[2026-10-05 12:45:41] local.INFO: Extracted packet for processing {"connection_id":204568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae6"} 
[2026-10-05 12:45:41] local.INFO: GPS Element Parsed {"raw_longitude":743616640,"raw_latitude":164399392,"longitude_deg":74.361664,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b080","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543163648001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791184237000,"timestamp_ms":1791184237000,"timestamp_seconds":1791184237,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae671c8"} 
[2026-10-05 12:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-10-05 12:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2148,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204568,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204568,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543163648001,"66":28506,"140":206,"9":7936,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543163648001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:45:41] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:45:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:45:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 12:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543163648001,"power":28506,"unknown_140":206,"unknown_9":7936,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 12:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":204568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967245,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:45:41] local.INFO: GPS data processed {"connection_id":204568,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:45:41] local.INFO: Acknowledgment sent {"connection_id":204568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:45:42] local.INFO: TCP Data received {"connection_id":205978,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae715d8012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae715d8012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:45:42] local.INFO: Processing buffer {"connection_id":205978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae715d8012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:45:42] local.INFO: Packet analysis {"connection_id":205978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae7"} 
[2026-10-05 12:45:42] local.INFO: Extracted packet for processing {"connection_id":205978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae7"} 
[2026-10-05 12:45:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543170048001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791184279000,"timestamp_ms":1791184279000,"timestamp_seconds":1791184279,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae715d8"} 
[2026-10-05 12:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:45:42] 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-10-05 12:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:42] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:42] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:42] local.WARNING: Large IO value detected {"io_id":161,"raw_value":784899122970565339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:42] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:42] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77453997107052544,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:42] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:42] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332011214,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:42] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2818649370,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:45:42] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:42] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:42] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:45:42] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,101,83,24,241,157,16,211,161,113,45,128,134,60,44,10,66,31,41,205,1,240,227,4,219,136,239,47,2,88,7,43],"length":534,"final_offset":664,"validated_count":32,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:45:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758196951875584,"timestamp_seconds":4323758196951875.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":205978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":205978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":205978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:45:42] 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-10-05 12:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543170048001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543170048001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:45:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:45:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543170048001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":205978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:45:42] local.INFO: GPS data processed {"connection_id":205978,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:45:42] local.INFO: Acknowledgment sent {"connection_id":205978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:45:55] local.INFO: TCP Data received {"connection_id":205979,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:45:55] local.INFO: Processing buffer {"connection_id":205979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:45:55] local.INFO: IMEI packet received {"connection_id":205979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 12:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":205979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:45:59] local.INFO: TCP Data received {"connection_id":204569,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:45:59] local.INFO: Processing buffer {"connection_id":204569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:45:59] local.INFO: IMEI packet received {"connection_id":204569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":204569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:46:00] local.INFO: TCP Data received {"connection_id":205979,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:46:00] local.INFO: Processing buffer {"connection_id":205979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:46:00] local.INFO: IMEI packet received {"connection_id":205979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":205979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:46:00] local.INFO: TCP Data received {"connection_id":205979,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae8e2c8012d7f8c8005afdc980004006224..."} 
[2026-10-05 12:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae8e2c8012d7f8c8005afdc980004006224..."} 
[2026-10-05 12:46:00] local.INFO: Processing buffer {"connection_id":205979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae8e2c8012d7f8c8005afdc980004006224..."} 
[2026-10-05 12:46:00] local.INFO: Packet analysis {"connection_id":205979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:46:00] local.INFO: Extracted packet for processing {"connection_id":205979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:46:00] local.INFO: GPS Element Parsed {"raw_longitude":763333760,"raw_latitude":95411352,"longitude_deg":76.333376,"latitude_deg":9.5411352,"altitude":4,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2d7f8c80","hex_latitude":"05afdc98","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543200256001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893698325446656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190861701469995008,"note":"Value kept but may cause issues"} 
[2026-10-05 12: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-10-05 12:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791184397000,"timestamp_ms":1791184397000,"timestamp_seconds":1791184397,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae8e2c8"} 
[2026-10-05 12:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:46:00] 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-10-05 12: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-10-05 12:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12: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-10-05 12:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":205979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":205979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":205979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:46: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-10-05 12:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543200256001,"66":25071,"250":206,"85":12544,"24":0,"16":1893698325446656,"45":9190861701469995008},"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-10-05 12:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543200256001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:46:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:46:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893698325446656,"km_value":1893698325446.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190861701469995008,"description":"Unknown IO ID 45"} 
[2026-10-05 12:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543200256001,"power":25071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190861701469995008}} 
[2026-10-05 12:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":205979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:46:01] local.INFO: GPS data processed {"connection_id":205979,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:46:01] local.INFO: Acknowledgment sent {"connection_id":205979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:46:04] local.INFO: TCP Data received {"connection_id":204569,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:46:04] local.INFO: Processing buffer {"connection_id":204569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:46:04] local.INFO: IMEI packet received {"connection_id":204569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":204569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:46:05] local.INFO: TCP Data received {"connection_id":207516,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:46:05] local.INFO: Processing buffer {"connection_id":207516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:46:05] local.INFO: IMEI packet received {"connection_id":207516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":207516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:46:05] local.INFO: TCP Data received {"connection_id":204569,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:46:05] local.INFO: Processing buffer {"connection_id":204569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:46:05] local.INFO: Packet analysis {"connection_id":204569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:46:05] local.INFO: Extracted packet for processing {"connection_id":204569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:46:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":3,"angle":169,"satellites":33,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543130368001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:05] 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-10-05 12:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791184404000,"timestamp_ms":1791184404000,"timestamp_seconds":1791184404,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae8fe20"} 
[2026-10-05 12:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:46: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-10-05 12: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 12:46: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-10-05 12: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-10-05 12:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543130368001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543130368001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:46:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:46:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543130368001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":204569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:46:05] local.INFO: GPS data processed {"connection_id":204569,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:46:05] local.INFO: Acknowledgment sent {"connection_id":204569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:46:09] local.INFO: TCP Data received {"connection_id":207516,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:46:09] local.INFO: Processing buffer {"connection_id":207516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:46:09] local.INFO: IMEI packet received {"connection_id":207516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":207516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:46:10] local.INFO: TCP Data received {"connection_id":207516,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:46:10] local.INFO: Processing buffer {"connection_id":207516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:46:10] local.INFO: IMEI packet received {"connection_id":207516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":207516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:46:11] local.INFO: TCP Data received {"connection_id":207516,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae767e0012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae767e0012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:46:11] local.INFO: Processing buffer {"connection_id":207516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae767e0012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:46:11] local.INFO: Packet analysis {"connection_id":207516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae7"} 
[2026-10-05 12:46:11] local.INFO: Extracted packet for processing {"connection_id":207516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae7"} 
[2026-10-05 12:46:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543175424001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:11] 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-10-05 12:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791184300000,"timestamp_ms":1791184300000,"timestamp_seconds":1791184300,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae767e0"} 
[2026-10-05 12:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:46:11] 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-10-05 12:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:11] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":784989317283781339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77453997107052544,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332011214,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:46:11] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2952867098,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:11] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:11] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:11] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,101,83,24,241,157,16,211,161,195,45,128,134,60,44,10,66,113,31,1,240,227,4,205,123,219,136,42,239,47,2,88,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:46:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758192656908288,"timestamp_seconds":4323758192656908.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:46:11] 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-10-05 12:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543175424001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543175424001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:46:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:46:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543175424001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":207516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:46:11] local.INFO: GPS data processed {"connection_id":207516,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:46:11] local.INFO: Acknowledgment sent {"connection_id":207516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:46:12] local.INFO: TCP Data received {"connection_id":204568,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae671c8012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae671c8012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:46:12] local.INFO: Processing buffer {"connection_id":204568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae671c8012c52b08009cc8920022f013d2d..."} 
[2026-10-05 12:46:12] local.INFO: Packet analysis {"connection_id":204568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae6"} 
[2026-10-05 12:46:12] local.INFO: Extracted packet for processing {"connection_id":204568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae6"} 
[2026-10-05 12:46:12] local.INFO: GPS Element Parsed {"raw_longitude":743616640,"raw_latitude":164399392,"longitude_deg":74.361664,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b080","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543163648001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791184237000,"timestamp_ms":1791184237000,"timestamp_seconds":1791184237,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae671c8"} 
[2026-10-05 12:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:46: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":111,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-10-05 12:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2148,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:46: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-10-05 12:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204568,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204568,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543163648001,"66":28506,"140":206,"9":7936,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543163648001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:46:12] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:46:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:46:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 12:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543163648001,"power":28506,"unknown_140":206,"unknown_9":7936,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 12:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":204568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967250,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:46:12] local.INFO: GPS data processed {"connection_id":204568,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:46:12] local.INFO: Acknowledgment sent {"connection_id":204568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:46:16] local.INFO: TCP Data received {"connection_id":207516,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae7b9e8012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae7b9e8012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:46:16] local.INFO: Processing buffer {"connection_id":207516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae7b9e8012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:46:16] local.INFO: Packet analysis {"connection_id":207516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae7"} 
[2026-10-05 12:46:16] local.INFO: Extracted packet for processing {"connection_id":207516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae7"} 
[2026-10-05 12:46:16] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543180800001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791184321000,"timestamp_ms":1791184321000,"timestamp_seconds":1791184321,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae7b9e8"} 
[2026-10-05 12:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:16] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:16] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:16] local.WARNING: Large IO value detected {"io_id":161,"raw_value":785079511596997339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:16] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:16] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77451798083796992,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:16] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:16] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332011214,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:16] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3087084826,"corrected_to":0} 
[2026-10-05 12:46:16] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:16] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:16] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,101,83,24,241,157,16,211,161,21,45,128,134,60,43,10,66,195,44,113,1,240,227,31,4,205,219,136,40,239,48,2,88,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3087084826,"validated":0}]} 
[2026-10-05 12:46:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758188361940992,"timestamp_seconds":4323758188361941.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:46:16] 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-10-05 12:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543180800001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543180800001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:46:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:46:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543180800001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":207516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:46:16] local.INFO: GPS data processed {"connection_id":207516,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:46:16] local.INFO: Acknowledgment sent {"connection_id":207516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:46:32] local.INFO: TCP Data received {"connection_id":205979,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae934d0012d7f8c8005afdcc80004006224..."} 
[2026-10-05 12:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae934d0012d7f8c8005afdcc80004006224..."} 
[2026-10-05 12:46:32] local.INFO: Processing buffer {"connection_id":205979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae934d0012d7f8c8005afdcc80004006224..."} 
[2026-10-05 12:46:32] local.INFO: Packet analysis {"connection_id":205979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae9"} 
[2026-10-05 12:46:32] local.INFO: Extracted packet for processing {"connection_id":205979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae9"} 
[2026-10-05 12:46:32] local.INFO: GPS Element Parsed {"raw_longitude":763333760,"raw_latitude":95411400,"longitude_deg":76.333376,"latitude_deg":9.54114,"altitude":4,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2d7f8c80","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-10-05 12:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543205632001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893702620413952,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190861701470001152,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46: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-10-05 12:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791184418000,"timestamp_ms":1791184418000,"timestamp_seconds":1791184418,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae934d0"} 
[2026-10-05 12:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:46:32] 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-10-05 12:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-10-05 12:46:32] 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-10-05 12:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543205632001,"66":25038,"250":206,"85":12544,"24":0,"16":1893702620413952,"45":9190861701470001152},"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-10-05 12:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543205632001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:46:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:46:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893702620413952,"km_value":1893702620413.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190861701470001152,"description":"Unknown IO ID 45"} 
[2026-10-05 12:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543205632001,"power":25038,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190861701470001152}} 
[2026-10-05 12:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":205979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:46:32] local.INFO: GPS data processed {"connection_id":205979,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:46:32] local.INFO: Acknowledgment sent {"connection_id":205979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:46:36] local.INFO: TCP Data received {"connection_id":204569,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:46:36] local.INFO: Processing buffer {"connection_id":204569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:46:36] local.INFO: Packet analysis {"connection_id":204569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:46:36] local.INFO: Extracted packet for processing {"connection_id":204569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:46:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":3,"angle":169,"satellites":33,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543130368001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:36] 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-10-05 12:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791184404000,"timestamp_ms":1791184404000,"timestamp_seconds":1791184404,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae8fe20"} 
[2026-10-05 12:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 12:46:36] 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-10-05 12:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543130368001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543130368001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:46:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:46:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543130368001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":204569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:46:37] local.INFO: GPS data processed {"connection_id":204569,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:46:37] local.INFO: Acknowledgment sent {"connection_id":204569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:46:40] local.INFO: TCP Data received {"connection_id":204422,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:46:40] local.INFO: Processing buffer {"connection_id":204422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:46:40] local.INFO: IMEI packet received {"connection_id":204422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":204422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:46:45] local.INFO: TCP Data received {"connection_id":204422,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:46:45] local.INFO: Processing buffer {"connection_id":204422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:46:45] local.INFO: IMEI packet received {"connection_id":204422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":204422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:46:46] local.INFO: TCP Data received {"connection_id":204422,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:46:46] local.INFO: Processing buffer {"connection_id":204422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:46:46] local.INFO: Packet analysis {"connection_id":204422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aeb"} 
[2026-10-05 12:46:46] local.INFO: Extracted packet for processing {"connection_id":204422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aeb"} 
[2026-10-05 12:46:46] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:46: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-10-05 12:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543164672001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791184542000,"timestamp_ms":1791184542000,"timestamp_seconds":1791184542,"priority":1,"record_length":96,"hex_timestamp":"000001a10aeb1930"} 
[2026-10-05 12:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25600,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:46: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":111,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-10-05 12:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1563,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:46: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-10-05 12:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204422,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204422,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543164672001,"66":26908,"140":206,"9":7936,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543164672001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:46:46] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:46:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:46:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 12:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543164672001,"power":26908,"unknown_140":206,"unknown_9":7936,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 12:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":204422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967254,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:46:46] local.INFO: GPS data processed {"connection_id":204422,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:46:46] local.INFO: Acknowledgment sent {"connection_id":204422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:46:47] local.INFO: TCP Data received {"connection_id":207516,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae80bf0012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae80bf0012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:46:47] local.INFO: Processing buffer {"connection_id":207516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae80bf0012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:46:47] local.INFO: Packet analysis {"connection_id":207516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:46:47] local.INFO: Extracted packet for processing {"connection_id":207516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:46:47] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543186176001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46: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-10-05 12:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791184342000,"timestamp_ms":1791184342000,"timestamp_seconds":1791184342,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae80bf0"} 
[2026-10-05 12:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:47] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:47] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:47] local.WARNING: Large IO value detected {"io_id":161,"raw_value":785169705910213339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:47] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:47] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77449599060541440,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:47] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:47] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075828430,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:47] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221302554,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:46:47] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:47] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:46:47] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,101,83,24,241,157,16,211,161,103,45,128,134,60,42,10,66,21,43,195,1,240,227,31,4,113,205,219,136,41,239,48,2,88,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:46:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758196951875584,"timestamp_seconds":4323758196951875.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":207516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":207516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":207516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:46:47] 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-10-05 12:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543186176001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543186176001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:46:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:46:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543186176001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":207516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:46:47] local.INFO: GPS data processed {"connection_id":207516,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:46:47] local.INFO: Acknowledgment sent {"connection_id":207516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:46:56] local.INFO: TCP Data received {"connection_id":204423,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:46:56] local.INFO: Processing buffer {"connection_id":204423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:46:56] local.INFO: IMEI packet received {"connection_id":204423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 12:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":204423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:47:00] local.INFO: TCP Data received {"connection_id":204423,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:47:00] local.INFO: Processing buffer {"connection_id":204423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:47:00] local.INFO: IMEI packet received {"connection_id":204423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":204423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:47:00] local.INFO: TCP Data received {"connection_id":204424,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:47:00] local.INFO: Processing buffer {"connection_id":204424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:47:00] local.INFO: IMEI packet received {"connection_id":204424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":204424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:47:01] local.INFO: TCP Data received {"connection_id":204423,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae986d8012d7f8c8005afdcd00004006226..."} 
[2026-10-05 12:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae986d8012d7f8c8005afdcd00004006226..."} 
[2026-10-05 12:47:01] local.INFO: Processing buffer {"connection_id":204423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae986d8012d7f8c8005afdcd00004006226..."} 
[2026-10-05 12:47:01] local.INFO: Packet analysis {"connection_id":204423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae9"} 
[2026-10-05 12:47:01] local.INFO: Extracted packet for processing {"connection_id":204423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae9"} 
[2026-10-05 12:47:01] local.INFO: GPS Element Parsed {"raw_longitude":763333760,"raw_latitude":95411408,"longitude_deg":76.333376,"latitude_deg":9.5411408,"altitude":4,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d7f8c80","hex_latitude":"05afdcd0","is_valid_coordinates":true} 
[2026-10-05 12:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543211008001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893702620413952,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190861701470013440,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47: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-10-05 12:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791184439000,"timestamp_ms":1791184439000,"timestamp_seconds":1791184439,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae986d8"} 
[2026-10-05 12:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-10-05 12:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:47: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-10-05 12:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543211008001,"66":25071,"250":206,"85":12544,"24":0,"16":1893702620413952,"45":9190861701470013440},"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-10-05 12:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543211008001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:47:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:47:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893702620413952,"km_value":1893702620413.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190861701470013440,"description":"Unknown IO ID 45"} 
[2026-10-05 12:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543211008001,"power":25071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190861701470013440}} 
[2026-10-05 12:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":204423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:47:01] local.INFO: GPS data processed {"connection_id":204423,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:47:01] local.INFO: Acknowledgment sent {"connection_id":204423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:47:04] local.INFO: TCP Data received {"connection_id":204424,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:47:04] local.INFO: Processing buffer {"connection_id":204424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:47:04] local.INFO: IMEI packet received {"connection_id":204424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":204424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:47:05] local.INFO: TCP Data received {"connection_id":207517,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:47:05] local.INFO: Processing buffer {"connection_id":207517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:47:05] local.INFO: IMEI packet received {"connection_id":207517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":207517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:47:05] local.INFO: TCP Data received {"connection_id":204424,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:47:05] local.INFO: Processing buffer {"connection_id":204424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:47:05] local.INFO: Packet analysis {"connection_id":204424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:47:05] local.INFO: Extracted packet for processing {"connection_id":204424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:47:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":3,"angle":169,"satellites":33,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543130368001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:05] 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-10-05 12:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791184404000,"timestamp_ms":1791184404000,"timestamp_seconds":1791184404,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae8fe20"} 
[2026-10-05 12:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:47: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-10-05 12: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 12:47: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-10-05 12: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-10-05 12:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543130368001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543130368001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:47:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:47:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543130368001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":204424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:47:05] local.INFO: GPS data processed {"connection_id":204424,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:47:05] local.INFO: Acknowledgment sent {"connection_id":204424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:47:10] local.INFO: TCP Data received {"connection_id":207517,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:47:10] local.INFO: Processing buffer {"connection_id":207517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:47:10] local.INFO: IMEI packet received {"connection_id":207517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":207517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:47:11] local.INFO: TCP Data received {"connection_id":207517,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae85df8012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae85df8012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:47:11] local.INFO: Processing buffer {"connection_id":207517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae85df8012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:47:11] local.INFO: Packet analysis {"connection_id":207517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:47:11] local.INFO: Extracted packet for processing {"connection_id":207517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:47:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543191552001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:11] 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-10-05 12:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791184363000,"timestamp_ms":1791184363000,"timestamp_seconds":1791184363,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae85df8"} 
[2026-10-05 12:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:47:11] 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-10-05 12: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:11] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":785259900223429339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77450698572169216,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075828430,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:11] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3355520282,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:47:11] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:11] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,101,83,24,241,157,16,211,161,185,45,128,134,60,44,10,66,103,42,21,1,240,227,31,4,113,205,219,136,239,48,2,88,7,40],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:47:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758196951875584,"timestamp_seconds":4323758196951875.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:47:11] 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-10-05 12:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543191552001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543191552001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:47:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:47:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543191552001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":207517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:47:11] local.INFO: GPS data processed {"connection_id":207517,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:47:11] local.INFO: Acknowledgment sent {"connection_id":207517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:47:21] local.INFO: TCP Data received {"connection_id":204422,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:47:21] local.INFO: Processing buffer {"connection_id":204422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:47:21] local.INFO: Packet analysis {"connection_id":204422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aeb"} 
[2026-10-05 12:47:21] local.INFO: Extracted packet for processing {"connection_id":204422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aeb"} 
[2026-10-05 12:47:21] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543164672001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791184542000,"timestamp_ms":1791184542000,"timestamp_seconds":1791184542,"priority":1,"record_length":96,"hex_timestamp":"000001a10aeb1930"} 
[2026-10-05 12:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25600,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-10-05 12:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1563,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":204422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":204422,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":204422,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543164672001,"66":26908,"140":206,"9":7936,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543164672001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:47:21] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:47:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:47:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 12:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543164672001,"power":26908,"unknown_140":206,"unknown_9":7936,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 12:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":204422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967259,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:47:21] local.INFO: GPS data processed {"connection_id":204422,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:47:21] local.INFO: Acknowledgment sent {"connection_id":204422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:47:32] local.INFO: TCP Data received {"connection_id":204423,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae9d8e0012d7f8c8005afdcd00004006220..."} 
[2026-10-05 12:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae9d8e0012d7f8c8005afdcd00004006220..."} 
[2026-10-05 12:47:32] local.INFO: Processing buffer {"connection_id":204423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae9d8e0012d7f8c8005afdcd00004006220..."} 
[2026-10-05 12:47:32] local.INFO: Packet analysis {"connection_id":204423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae9"} 
[2026-10-05 12:47:32] local.INFO: Extracted packet for processing {"connection_id":204423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae9"} 
[2026-10-05 12:47:32] local.INFO: GPS Element Parsed {"raw_longitude":763333760,"raw_latitude":95411408,"longitude_deg":76.333376,"latitude_deg":9.5411408,"altitude":4,"angle":98,"satellites":32,"speed":0,"hex_longitude":"2d7f8c80","hex_latitude":"05afdcd0","is_valid_coordinates":true} 
[2026-10-05 12:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543216384001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893706915381248,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190861701470015488,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47: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-10-05 12:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791184460000,"timestamp_ms":1791184460000,"timestamp_seconds":1791184460,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae9d8e0"} 
[2026-10-05 12:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:47:32] 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-10-05 12:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-10-05 12:47:32] 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-10-05 12:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543216384001,"66":25071,"250":206,"85":12544,"24":0,"16":1893706915381248,"45":9190861701470015488},"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-10-05 12:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543216384001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:47:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:47:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893706915381248,"km_value":1893706915381.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190861701470015488,"description":"Unknown IO ID 45"} 
[2026-10-05 12:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543216384001,"power":25071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190861701470015488}} 
[2026-10-05 12:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":204423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:47:32] local.INFO: GPS data processed {"connection_id":204423,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:47:32] local.INFO: Acknowledgment sent {"connection_id":204423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:47:34] local.INFO: TCP Data received {"connection_id":204425,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:47:34] local.INFO: Processing buffer {"connection_id":204425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:47:34] local.INFO: IMEI packet received {"connection_id":204425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":204425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:47:36] local.INFO: TCP Data received {"connection_id":204424,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:47:36] local.INFO: Processing buffer {"connection_id":204424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:47:36] local.INFO: Packet analysis {"connection_id":204424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:47:36] local.INFO: Extracted packet for processing {"connection_id":204424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:47:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":3,"angle":169,"satellites":33,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543130368001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:36] 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-10-05 12:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791184404000,"timestamp_ms":1791184404000,"timestamp_seconds":1791184404,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae8fe20"} 
[2026-10-05 12:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 12:47:36] 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-10-05 12: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-10-05 12:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543130368001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543130368001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:47:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:47:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543130368001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":204424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967261,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:47:36] local.INFO: GPS data processed {"connection_id":204424,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:47:36] local.INFO: Acknowledgment sent {"connection_id":204424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:47:42] local.INFO: TCP Data received {"connection_id":207517,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae8b000012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae8b000012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:47:42] local.INFO: Processing buffer {"connection_id":207517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae8b000012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:47:42] local.INFO: Packet analysis {"connection_id":207517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:47:42] local.INFO: Extracted packet for processing {"connection_id":207517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:47:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543196928001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791184384000,"timestamp_ms":1791184384000,"timestamp_seconds":1791184384,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae8b000"} 
[2026-10-05 12:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:47:42] 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-10-05 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:47:42] 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-10-05 12:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:47:42] 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-10-05 12:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543196928001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543196928001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:47:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:47:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543196928001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:47:42] local.INFO: TCP Data received {"connection_id":204425,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:47:42] local.INFO: Processing buffer {"connection_id":204425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:47:42] local.INFO: IMEI packet received {"connection_id":204425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":204425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":207517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:47:42] local.INFO: GPS data processed {"connection_id":207517,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:47:42] local.INFO: Acknowledgment sent {"connection_id":207517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:47:43] local.INFO: TCP Data received {"connection_id":204425,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:47:43] local.INFO: Processing buffer {"connection_id":204425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:47:43] local.INFO: Packet analysis {"connection_id":204425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aeb"} 
[2026-10-05 12:47:43] local.INFO: Extracted packet for processing {"connection_id":204425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aeb"} 
[2026-10-05 12:47:43] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 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-10-05 12:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543164672001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 12:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791184542000,"timestamp_ms":1791184542000,"timestamp_seconds":1791184542,"priority":1,"record_length":96,"hex_timestamp":"000001a10aeb1930"} 
[2026-10-05 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-10-05 12:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25600,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":111,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-10-05 12:47:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1563,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 12:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543164672001,"66":26908,"140":206,"9":7936,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543164672001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:47:43] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:47:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:47:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 12:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543164672001,"power":26908,"unknown_140":206,"unknown_9":7936,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 12:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":204425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967263,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:47:43] local.INFO: GPS data processed {"connection_id":204425,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:47:43] local.INFO: Acknowledgment sent {"connection_id":204425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:47:54] local.INFO: TCP Data received {"connection_id":207518,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:47:54] local.INFO: Processing buffer {"connection_id":207518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:47:54] local.INFO: IMEI packet received {"connection_id":207518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 12:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":207518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:47:59] local.INFO: TCP Data received {"connection_id":207519,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:47:59] local.INFO: Processing buffer {"connection_id":207519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:47:59] local.INFO: IMEI packet received {"connection_id":207519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":207519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:48:00] local.INFO: TCP Data received {"connection_id":207518,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:48:00] local.INFO: Processing buffer {"connection_id":207518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:48:00] local.INFO: IMEI packet received {"connection_id":207518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":207518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:48:00] local.INFO: TCP Data received {"connection_id":207518,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10aea1b48012d7f8c8005afdcd0000400ed23..."} 
[2026-10-05 12:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aea1b48012d7f8c8005afdcd0000400ed23..."} 
[2026-10-05 12:48:00] local.INFO: Processing buffer {"connection_id":207518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aea1b48012d7f8c8005afdcd0000400ed23..."} 
[2026-10-05 12:48:00] local.INFO: Packet analysis {"connection_id":207518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aea"} 
[2026-10-05 12:48:00] local.INFO: Extracted packet for processing {"connection_id":207518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aea"} 
[2026-10-05 12:48:00] local.INFO: GPS Element Parsed {"raw_longitude":763333760,"raw_latitude":95411408,"longitude_deg":76.333376,"latitude_deg":9.5411408,"altitude":4,"angle":237,"satellites":35,"speed":1,"hex_longitude":"2d7f8c80","hex_latitude":"05afdcd0","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543221760001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893711210348544,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190861701470015488,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48: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-10-05 12:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791184477000,"timestamp_ms":1791184477000,"timestamp_seconds":1791184477,"priority":1,"record_length":96,"hex_timestamp":"000001a10aea1b48"} 
[2026-10-05 12:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:48: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-10-05 12: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-10-05 12:48:00] 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-10-05 12: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-10-05 12:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:48: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-10-05 12:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543221760001,"66":25125,"250":206,"85":12544,"24":1,"16":1893711210348544,"45":9190861701470015488},"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-10-05 12:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543221760001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:48:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:48:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893711210348544,"km_value":1893711210348.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190861701470015488,"description":"Unknown IO ID 45"} 
[2026-10-05 12:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543221760001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9190861701470015488}} 
[2026-10-05 12:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":207518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:48:01] local.INFO: GPS data processed {"connection_id":207518,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:48:01] local.INFO: Acknowledgment sent {"connection_id":207518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:48:04] local.INFO: TCP Data received {"connection_id":207519,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:48:04] local.INFO: Processing buffer {"connection_id":207519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:48:04] local.INFO: IMEI packet received {"connection_id":207519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":207519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:48:05] local.INFO: TCP Data received {"connection_id":207519,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:48:05] local.INFO: Processing buffer {"connection_id":207519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae8fe20012d7b524005e13b08000300a921..."} 
[2026-10-05 12:48:05] local.INFO: Packet analysis {"connection_id":207519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:48:05] local.INFO: Extracted packet for processing {"connection_id":207519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae8"} 
[2026-10-05 12:48:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":3,"angle":169,"satellites":33,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543130368001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:05] 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-10-05 12:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791184404000,"timestamp_ms":1791184404000,"timestamp_seconds":1791184404,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae8fe20"} 
[2026-10-05 12:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12: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-10-05 12:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 12:48: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-10-05 12:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543130368001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543130368001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:48:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:48:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543130368001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":207519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:48:05] local.INFO: GPS data processed {"connection_id":207519,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:48:05] local.INFO: Acknowledgment sent {"connection_id":207519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:48:10] local.INFO: TCP Data received {"connection_id":204570,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:48:10] local.INFO: Processing buffer {"connection_id":204570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:48:10] local.INFO: IMEI packet received {"connection_id":204570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":204570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:48:15] local.INFO: TCP Data received {"connection_id":204570,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:48:15] local.INFO: Processing buffer {"connection_id":204570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:48:15] local.INFO: IMEI packet received {"connection_id":204570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":204570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:48:16] local.INFO: TCP Data received {"connection_id":204570,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae90208012d1adb80071f8688003c01132d..."} 
[2026-10-05 12:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae90208012d1adb80071f8688003c01132d..."} 
[2026-10-05 12:48:16] local.INFO: Processing buffer {"connection_id":204570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae90208012d1adb80071f8688003c01132d..."} 
[2026-10-05 12:48:16] local.INFO: Packet analysis {"connection_id":204570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae9"} 
[2026-10-05 12:48:16] local.INFO: Extracted packet for processing {"connection_id":204570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae9"} 
[2026-10-05 12:48:16] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543202304001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791184405000,"timestamp_ms":1791184405000,"timestamp_seconds":1791184405,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae90208"} 
[2026-10-05 12:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:48:16] 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-10-05 12:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:48:16] 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-10-05 12:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543202304001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543202304001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:48:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:48:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543202304001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":204570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:48:16] local.INFO: GPS data processed {"connection_id":204570,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:48:16] local.INFO: Acknowledgment sent {"connection_id":204570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:48:17] local.INFO: TCP Data received {"connection_id":204570,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae95410012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae95410012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:48:17] local.INFO: Processing buffer {"connection_id":204570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae95410012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:48:17] local.INFO: Packet analysis {"connection_id":204570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae9"} 
[2026-10-05 12:48:17] local.INFO: Extracted packet for processing {"connection_id":204570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae9"} 
[2026-10-05 12:48:17] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543207680001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791184426000,"timestamp_ms":1791184426000,"timestamp_seconds":1791184426,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae95410"} 
[2026-10-05 12:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:48:17] 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-10-05 12:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":204570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":204570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":204570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:48:17] 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-10-05 12:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543207680001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543207680001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:48:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:48:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543207680001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":204570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:48:17] local.INFO: GPS data processed {"connection_id":204570,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:48:17] local.INFO: Acknowledgment sent {"connection_id":204570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:48:31] local.INFO: TCP Data received {"connection_id":207518,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10aea4640012d7f8c0005afdcb0000400cb26..."} 
[2026-10-05 12:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aea4640012d7f8c0005afdcb0000400cb26..."} 
[2026-10-05 12:48:31] local.INFO: Processing buffer {"connection_id":207518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aea4640012d7f8c0005afdcb0000400cb26..."} 
[2026-10-05 12:48:31] local.INFO: Packet analysis {"connection_id":207518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aea"} 
[2026-10-05 12:48:31] local.INFO: Extracted packet for processing {"connection_id":207518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aea"} 
[2026-10-05 12:48:31] local.INFO: GPS Element Parsed {"raw_longitude":763333632,"raw_latitude":95411376,"longitude_deg":76.3333632,"latitude_deg":9.5411376,"altitude":4,"angle":203,"satellites":38,"speed":1,"hex_longitude":"2d7f8c00","hex_latitude":"05afdcb0","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543226112001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893715505315840,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190861701470015488,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48: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-10-05 12:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791184488000,"timestamp_ms":1791184488000,"timestamp_seconds":1791184488,"priority":1,"record_length":96,"hex_timestamp":"000001a10aea4640"} 
[2026-10-05 12:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:48: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-10-05 12: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-10-05 12:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12: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-10-05 12:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543226112001,"66":25071,"250":206,"85":12544,"24":1,"16":1893715505315840,"45":9190861701470015488},"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-10-05 12:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543226112001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:48:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:48:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893715505315840,"km_value":1893715505315.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190861701470015488,"description":"Unknown IO ID 45"} 
[2026-10-05 12:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543226112001,"power":25071,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9190861701470015488}} 
[2026-10-05 12:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":207518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:48:31] local.INFO: GPS data processed {"connection_id":207518,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:48:31] local.INFO: Acknowledgment sent {"connection_id":207518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:48:33] local.INFO: TCP Data received {"connection_id":204425,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:48:33] local.INFO: Processing buffer {"connection_id":204425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:48:33] local.INFO: Packet analysis {"connection_id":204425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aeb"} 
[2026-10-05 12:48:33] local.INFO: Extracted packet for processing {"connection_id":204425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aeb"} 
[2026-10-05 12:48:33] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543164672001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791184542000,"timestamp_ms":1791184542000,"timestamp_seconds":1791184542,"priority":1,"record_length":96,"hex_timestamp":"000001a10aeb1930"} 
[2026-10-05 12:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25600,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12: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":111,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-10-05 12:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1563,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12: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-10-05 12:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543164672001,"66":26908,"140":206,"9":7936,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543164672001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:48:33] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:48:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:48:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 12:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543164672001,"power":26908,"unknown_140":206,"unknown_9":7936,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 12:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":204425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967269,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:48:33] local.INFO: GPS data processed {"connection_id":204425,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:48:33] local.INFO: Acknowledgment sent {"connection_id":204425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:48:36] local.INFO: TCP Data received {"connection_id":207519,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:48:36] local.INFO: Processing buffer {"connection_id":207519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:48:36] local.INFO: Packet analysis {"connection_id":207519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aed"} 
[2026-10-05 12:48:36] local.INFO: Extracted packet for processing {"connection_id":207519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aed"} 
[2026-10-05 12:48:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":15,"angle":169,"satellites":31,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543207424001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:36] 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-10-05 12:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791184705000,"timestamp_ms":1791184705000,"timestamp_seconds":1791184705,"priority":1,"record_length":96,"hex_timestamp":"000001a10aed95e8"} 
[2026-10-05 12:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 12:48:36] 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-10-05 12:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543207424001,"66":12798,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543207424001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:48:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:48:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543207424001,"power":12798,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":207519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:48:36] local.INFO: GPS data processed {"connection_id":207519,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:48:36] local.INFO: Acknowledgment sent {"connection_id":207519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:48:41] local.INFO: TCP Data received {"connection_id":204426,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204426,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:48:41] local.INFO: Processing buffer {"connection_id":204426,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:48:41] local.INFO: IMEI packet received {"connection_id":204426,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":204426,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:48:47] local.INFO: TCP Data received {"connection_id":204426,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204426,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:48:47] local.INFO: Processing buffer {"connection_id":204426,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:48:47] local.INFO: IMEI packet received {"connection_id":204426,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":204426,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:48:48] local.INFO: TCP Data received {"connection_id":204570,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae9a618012d1adb80071f8688003c01132d..."} 
[2026-10-05 12:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae9a618012d1adb80071f8688003c01132d..."} 
[2026-10-05 12:48:48] local.INFO: Processing buffer {"connection_id":204570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae9a618012d1adb80071f8688003c01132d..."} 
[2026-10-05 12:48:48] local.INFO: Packet analysis {"connection_id":204570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae9"} 
[2026-10-05 12:48:48] local.INFO: Extracted packet for processing {"connection_id":204570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae9"} 
[2026-10-05 12:48:48] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543213056001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791184447000,"timestamp_ms":1791184447000,"timestamp_seconds":1791184447,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae9a618"} 
[2026-10-05 12:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:48:48] 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-10-05 12:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:48] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:48] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:48] local.WARNING: Large IO value detected {"io_id":161,"raw_value":785620677476293339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:48] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:48] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77451798083796992,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:48] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075828430,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:48:48] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3892391194,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:48] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:48] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:48] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,101,83,24,241,157,16,211,161,2,45,128,134,60,10,66,176,44,93,1,240,255,227,31,4,113,205,185,219,136,239,48,88,7,43],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:48:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758196951875584,"timestamp_seconds":4323758196951875.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:48:48] 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-10-05 12:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543213056001,"66":12254,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543213056001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:48:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:48:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543213056001,"power":12254,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":204570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:48:48] local.INFO: GPS data processed {"connection_id":204570,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:48:48] local.INFO: Acknowledgment sent {"connection_id":204570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:48:48] local.INFO: TCP Data received {"connection_id":204426,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:48:48] local.INFO: Processing buffer {"connection_id":204426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:48:48] local.INFO: Packet analysis {"connection_id":204426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aeb"} 
[2026-10-05 12:48:48] local.INFO: Extracted packet for processing {"connection_id":204426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aeb"} 
[2026-10-05 12:48:48] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543164672001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791184542000,"timestamp_ms":1791184542000,"timestamp_seconds":1791184542,"priority":1,"record_length":96,"hex_timestamp":"000001a10aeb1930"} 
[2026-10-05 12:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25600,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-10-05 12:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1563,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204426,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204426,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543164672001,"66":26908,"140":206,"9":7936,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543164672001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:48:48] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:48:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:48:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 12:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543164672001,"power":26908,"unknown_140":206,"unknown_9":7936,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 12:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":204426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967272,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:48:48] local.INFO: GPS data processed {"connection_id":204426,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:48:48] local.INFO: Acknowledgment sent {"connection_id":204426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:48:50] local.INFO: TCP Data received {"connection_id":204426,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:48:50] local.INFO: Processing buffer {"connection_id":204426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:48:50] local.INFO: Packet analysis {"connection_id":204426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aeb"} 
[2026-10-05 12:48:50] local.INFO: Extracted packet for processing {"connection_id":204426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aeb"} 
[2026-10-05 12:48:50] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543164672001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 12:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1791184542000,"timestamp_ms":1791184542000,"timestamp_seconds":1791184542,"priority":1,"record_length":96,"hex_timestamp":"000001a10aeb1930"} 
[2026-10-05 12:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25600,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-10-05 12:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1563,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":204426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":204426,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":204426,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543164672001,"66":26908,"140":206,"9":7936,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543164672001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:48:50] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:48:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:48:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 12:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543164672001,"power":26908,"unknown_140":206,"unknown_9":7936,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 12:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":204426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967273,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:48:50] local.INFO: GPS data processed {"connection_id":204426,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:48:50] local.INFO: Acknowledgment sent {"connection_id":204426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:48:54] local.INFO: TCP Data received {"connection_id":204427,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:48:54] local.INFO: Processing buffer {"connection_id":204427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:48:54] local.INFO: IMEI packet received {"connection_id":204427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 12:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":204427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:48:59] local.INFO: TCP Data received {"connection_id":207520,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:48:59] local.INFO: Processing buffer {"connection_id":207520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:48:59] local.INFO: IMEI packet received {"connection_id":207520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":207520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:49:00] local.INFO: TCP Data received {"connection_id":204427,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:49:00] local.INFO: Processing buffer {"connection_id":204427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:49:00] local.INFO: IMEI packet received {"connection_id":204427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":204427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:49:01] local.INFO: TCP Data received {"connection_id":204427,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10aea9848012d7f8c8005afdce8000400cb25..."} 
[2026-10-05 12:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aea9848012d7f8c8005afdce8000400cb25..."} 
[2026-10-05 12:49:01] local.INFO: Processing buffer {"connection_id":204427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aea9848012d7f8c8005afdce8000400cb25..."} 
[2026-10-05 12:49:01] local.INFO: Packet analysis {"connection_id":204427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aea"} 
[2026-10-05 12:49:01] local.INFO: Extracted packet for processing {"connection_id":204427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aea"} 
[2026-10-05 12:49:01] local.INFO: GPS Element Parsed {"raw_longitude":763333760,"raw_latitude":95411432,"longitude_deg":76.333376,"latitude_deg":9.5411432,"altitude":4,"angle":203,"satellites":37,"speed":0,"hex_longitude":"2d7f8c80","hex_latitude":"05afdce8","is_valid_coordinates":true} 
[2026-10-05 12:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543228928001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893724095250432,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190720963981651968,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49: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-10-05 12:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791184509000,"timestamp_ms":1791184509000,"timestamp_seconds":1791184509,"priority":1,"record_length":96,"hex_timestamp":"000001a10aea9848"} 
[2026-10-05 12:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:49:01] 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-10-05 12:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-10-05 12:49:01] 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-10-05 12:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:49: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-10-05 12:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543228928001,"66":25093,"250":206,"85":12544,"24":0,"16":1893724095250432,"45":9190720963981651968},"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-10-05 12:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543228928001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:49:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:49:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893724095250432,"km_value":1893724095250.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190720963981651968,"description":"Unknown IO ID 45"} 
[2026-10-05 12:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543228928001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190720963981651968}} 
[2026-10-05 12:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":204427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:49:01] local.INFO: GPS data processed {"connection_id":204427,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:49:01] local.INFO: Acknowledgment sent {"connection_id":204427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:49:04] local.INFO: TCP Data received {"connection_id":207520,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:49:04] local.INFO: Processing buffer {"connection_id":207520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:49:04] local.INFO: IMEI packet received {"connection_id":207520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":207520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:49:05] local.INFO: TCP Data received {"connection_id":207520,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:49:05] local.INFO: Processing buffer {"connection_id":207520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:49:05] local.INFO: Packet analysis {"connection_id":207520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aed"} 
[2026-10-05 12:49:05] local.INFO: Extracted packet for processing {"connection_id":207520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aed"} 
[2026-10-05 12:49:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":15,"angle":169,"satellites":31,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543207424001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:05] 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-10-05 12:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791184705000,"timestamp_ms":1791184705000,"timestamp_seconds":1791184705,"priority":1,"record_length":96,"hex_timestamp":"000001a10aed95e8"} 
[2026-10-05 12:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:49: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-10-05 12:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 12:49: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-10-05 12:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:49:05] 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-10-05 12:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543207424001,"66":12798,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543207424001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:49:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:49:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543207424001,"power":12798,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":207520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967275,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:49:05] local.INFO: GPS data processed {"connection_id":207520,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:49:05] local.INFO: Acknowledgment sent {"connection_id":207520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:49:05] local.INFO: TCP Data received {"connection_id":207521,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:49:05] local.INFO: Processing buffer {"connection_id":207521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:49:05] local.INFO: IMEI packet received {"connection_id":207521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":207521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:49:10] local.INFO: TCP Data received {"connection_id":207521,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:49:10] local.INFO: Processing buffer {"connection_id":207521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:49:10] local.INFO: IMEI packet received {"connection_id":207521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":207521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:49:11] local.INFO: TCP Data received {"connection_id":207521,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ae9f820012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ae9f820012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:49:11] local.INFO: Processing buffer {"connection_id":207521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ae9f820012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:49:11] local.INFO: Packet analysis {"connection_id":207521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ae9"} 
[2026-10-05 12:49:11] local.INFO: Extracted packet for processing {"connection_id":207521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ae9"} 
[2026-10-05 12:49:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543218432001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:11] 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-10-05 12:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791184468000,"timestamp_ms":1791184468000,"timestamp_seconds":1791184468,"priority":1,"record_length":96,"hex_timestamp":"000001a10ae9f820"} 
[2026-10-05 12:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:49:11] 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-10-05 12:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-10-05 12:49:11] 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-10-05 12:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:49:11] 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-10-05 12:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543218432001,"66":11406,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543218432001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:49:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:49:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543218432001,"power":11406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":207521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:49:11] local.INFO: GPS data processed {"connection_id":207521,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:49:11] local.INFO: Acknowledgment sent {"connection_id":207521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:49:32] local.INFO: TCP Data received {"connection_id":204427,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10aeaea50012d7f8c8005afdd00000400cb22..."} 
[2026-10-05 12:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aeaea50012d7f8c8005afdd00000400cb22..."} 
[2026-10-05 12:49:32] local.INFO: Processing buffer {"connection_id":204427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aeaea50012d7f8c8005afdd00000400cb22..."} 
[2026-10-05 12:49:32] local.INFO: Packet analysis {"connection_id":204427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aea"} 
[2026-10-05 12:49:32] local.INFO: Extracted packet for processing {"connection_id":204427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aea"} 
[2026-10-05 12:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763333760,"raw_latitude":95411456,"longitude_deg":76.333376,"latitude_deg":9.5411456,"altitude":4,"angle":203,"satellites":34,"speed":0,"hex_longitude":"2d7f8c80","hex_latitude":"05afdd00","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543234304001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893724095250432,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190861701470021632,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49: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-10-05 12:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791184530000,"timestamp_ms":1791184530000,"timestamp_seconds":1791184530,"priority":1,"record_length":96,"hex_timestamp":"000001a10aeaea50"} 
[2026-10-05 12:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:49:32] 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-10-05 12: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-05 12:49:32] 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-10-05 12: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-10-05 12:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543234304001,"66":25093,"250":206,"85":12544,"24":0,"16":1893724095250432,"45":9190861701470021632},"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-10-05 12:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543234304001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:49:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:49:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893724095250432,"km_value":1893724095250.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190861701470021632,"description":"Unknown IO ID 45"} 
[2026-10-05 12:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543234304001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190861701470021632}} 
[2026-10-05 12:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":204427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:49:32] local.INFO: GPS data processed {"connection_id":204427,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:49:32] local.INFO: Acknowledgment sent {"connection_id":204427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:49:34] local.INFO: TCP Data received {"connection_id":205980,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:49:34] local.INFO: Processing buffer {"connection_id":205980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:49:34] local.INFO: IMEI packet received {"connection_id":205980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":205980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:49:37] local.INFO: TCP Data received {"connection_id":207520,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:49:37] local.INFO: Processing buffer {"connection_id":207520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:49:37] local.INFO: Packet analysis {"connection_id":207520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aed"} 
[2026-10-05 12:49:37] local.INFO: Extracted packet for processing {"connection_id":207520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aed"} 
[2026-10-05 12:49:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":15,"angle":169,"satellites":31,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543207424001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:37] 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-10-05 12:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791184705000,"timestamp_ms":1791184705000,"timestamp_seconds":1791184705,"priority":1,"record_length":96,"hex_timestamp":"000001a10aed95e8"} 
[2026-10-05 12:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 12:49: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-10-05 12: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-10-05 12:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:49:37] 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-10-05 12:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543207424001,"66":12798,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543207424001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:49:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:49:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543207424001,"power":12798,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":207520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967278,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:49:37] local.INFO: GPS data processed {"connection_id":207520,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:49:37] local.INFO: Acknowledgment sent {"connection_id":207520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:49:40] local.INFO: TCP Data received {"connection_id":205980,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:49:40] local.INFO: Processing buffer {"connection_id":205980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:49:40] local.INFO: IMEI packet received {"connection_id":205980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":205980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:49:40] local.INFO: TCP Data received {"connection_id":205980,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:49:41] local.INFO: Processing buffer {"connection_id":205980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:49:41] local.INFO: Packet analysis {"connection_id":205980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aeb"} 
[2026-10-05 12:49:41] local.INFO: Extracted packet for processing {"connection_id":205980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aeb"} 
[2026-10-05 12:49:41] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543164672001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791184542000,"timestamp_ms":1791184542000,"timestamp_seconds":1791184542,"priority":1,"record_length":96,"hex_timestamp":"000001a10aeb1930"} 
[2026-10-05 12:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25600,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12: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":111,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-10-05 12:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1563,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12: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-10-05 12:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":205980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":205980,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":205980,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543164672001,"66":26908,"140":206,"9":7936,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543164672001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:49:41] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:49:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:49:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 12:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543164672001,"power":26908,"unknown_140":206,"unknown_9":7936,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 12:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":205980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967279,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:49:41] local.INFO: GPS data processed {"connection_id":205980,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:49:41] local.INFO: Acknowledgment sent {"connection_id":205980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:49:42] local.INFO: TCP Data received {"connection_id":207521,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aed7e78012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aed7e78012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:49:42] local.INFO: Processing buffer {"connection_id":207521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aed7e78012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:49:42] local.INFO: Packet analysis {"connection_id":207521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aed"} 
[2026-10-05 12:49:42] local.INFO: Extracted packet for processing {"connection_id":207521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aed"} 
[2026-10-05 12:49:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 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-10-05 12:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543277568001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791184699000,"timestamp_ms":1791184699000,"timestamp_seconds":1791184699,"priority":1,"record_length":96,"hex_timestamp":"000001a10aed7e78"} 
[2026-10-05 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-10-05 12:49:42] 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-10-05 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:42] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:42] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:42] local.WARNING: Large IO value detected {"io_id":161,"raw_value":786703009234885339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:42] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:42] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77449599060541440,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:42] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:42] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332011214,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:49:42] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:42] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:49:42] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,211,161,218,45,128,134,60,44,10,66,136,42,54,1,240,255,227,31,4,113,205,146,219,43,239,48,2,88,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:49:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758196951875584,"timestamp_seconds":4323758196951875.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 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-10-05 12:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:49:42] 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-10-05 12:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543277568001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543277568001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:49:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:49:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543277568001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":207521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:49:42] local.INFO: GPS data processed {"connection_id":207521,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:49:42] local.INFO: Acknowledgment sent {"connection_id":207521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:50:00] local.INFO: TCP Data received {"connection_id":204571,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:50:00] local.INFO: Processing buffer {"connection_id":204571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:50:00] local.INFO: IMEI packet received {"connection_id":204571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 12:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":204571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:50:04] local.INFO: TCP Data received {"connection_id":204428,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:50:04] local.INFO: Processing buffer {"connection_id":204428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:50:04] local.INFO: IMEI packet received {"connection_id":204428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":204428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:50:05] local.INFO: TCP Data received {"connection_id":204571,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:50:05] local.INFO: Processing buffer {"connection_id":204571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:50:05] local.INFO: IMEI packet received {"connection_id":204571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":204571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:50:05] local.INFO: TCP Data received {"connection_id":207522,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:50:05] local.INFO: Processing buffer {"connection_id":207522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:50:05] local.INFO: IMEI packet received {"connection_id":207522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":207522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:50:06] local.INFO: TCP Data received {"connection_id":204571,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10aeb3c58012d7f8cc005afdca8000400cb24..."} 
[2026-10-05 12:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aeb3c58012d7f8cc005afdca8000400cb24..."} 
[2026-10-05 12:50:06] local.INFO: Processing buffer {"connection_id":204571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aeb3c58012d7f8cc005afdca8000400cb24..."} 
[2026-10-05 12:50:06] local.INFO: Packet analysis {"connection_id":204571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aeb"} 
[2026-10-05 12:50:06] local.INFO: Extracted packet for processing {"connection_id":204571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aeb"} 
[2026-10-05 12:50:06] local.INFO: GPS Element Parsed {"raw_longitude":763333824,"raw_latitude":95411368,"longitude_deg":76.3333824,"latitude_deg":9.5411368,"altitude":4,"angle":203,"satellites":36,"speed":0,"hex_longitude":"2d7f8cc0","hex_latitude":"05afdca8","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543239680001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893732685185024,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190861701470027776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50: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-10-05 12:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791184551000,"timestamp_ms":1791184551000,"timestamp_seconds":1791184551,"priority":1,"record_length":96,"hex_timestamp":"000001a10aeb3c58"} 
[2026-10-05 12:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:50:06] 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-10-05 12: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-05 12:50:06] 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-10-05 12: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-10-05 12:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:50: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-10-05 12:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543239680001,"66":25060,"250":206,"85":12544,"24":0,"16":1893732685185024,"45":9190861701470027776},"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-10-05 12:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543239680001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:50:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:50:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893732685185024,"km_value":1893732685185.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190861701470027776,"description":"Unknown IO ID 45"} 
[2026-10-05 12:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543239680001,"power":25060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190861701470027776}} 
[2026-10-05 12:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":204571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:50:06] local.INFO: GPS data processed {"connection_id":204571,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:50:06] local.INFO: Acknowledgment sent {"connection_id":204571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:50:09] local.INFO: TCP Data received {"connection_id":204428,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:50:09] local.INFO: Processing buffer {"connection_id":204428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:50:09] local.INFO: IMEI packet received {"connection_id":204428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":204428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:50:10] local.INFO: TCP Data received {"connection_id":207522,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:50:10] local.INFO: Processing buffer {"connection_id":207522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:50:10] local.INFO: IMEI packet received {"connection_id":207522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":207522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:50:10] local.INFO: TCP Data received {"connection_id":204571,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10aeb8e60012d7f8cc005afdcb8000400cb22..."} 
[2026-10-05 12:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aeb8e60012d7f8cc005afdcb8000400cb22..."} 
[2026-10-05 12:50:10] local.INFO: Processing buffer {"connection_id":204571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aeb8e60012d7f8cc005afdcb8000400cb22..."} 
[2026-10-05 12:50:10] local.INFO: Packet analysis {"connection_id":204571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aeb"} 
[2026-10-05 12:50:10] local.INFO: Extracted packet for processing {"connection_id":204571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aeb"} 
[2026-10-05 12:50:10] local.INFO: GPS Element Parsed {"raw_longitude":763333824,"raw_latitude":95411384,"longitude_deg":76.3333824,"latitude_deg":9.5411384,"altitude":4,"angle":203,"satellites":34,"speed":0,"hex_longitude":"2d7f8cc0","hex_latitude":"05afdcb8","is_valid_coordinates":true} 
[2026-10-05 12:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543245056001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893736980152320,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190932070214182912,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50: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-10-05 12:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791184572000,"timestamp_ms":1791184572000,"timestamp_seconds":1791184572,"priority":1,"record_length":96,"hex_timestamp":"000001a10aeb8e60"} 
[2026-10-05 12:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:50:10] 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-10-05 12:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-05 12:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543245056001,"66":25071,"250":206,"85":12544,"24":0,"16":1893736980152320,"45":9190932070214182912},"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-10-05 12:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543245056001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:50:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893736980152320,"km_value":1893736980152.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190932070214182912,"description":"Unknown IO ID 45"} 
[2026-10-05 12:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543245056001,"power":25071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190932070214182912}} 
[2026-10-05 12:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":204571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:50:10] local.INFO: GPS data processed {"connection_id":204571,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:50:10] local.INFO: Acknowledgment sent {"connection_id":204571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:50:10] local.INFO: TCP Data received {"connection_id":204428,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:50:10] local.INFO: Processing buffer {"connection_id":204428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:50:10] local.INFO: Packet analysis {"connection_id":204428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aed"} 
[2026-10-05 12:50:10] local.INFO: Extracted packet for processing {"connection_id":204428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aed"} 
[2026-10-05 12:50:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":15,"angle":169,"satellites":31,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543207424001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:10] 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-10-05 12:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791184705000,"timestamp_ms":1791184705000,"timestamp_seconds":1791184705,"priority":1,"record_length":96,"hex_timestamp":"000001a10aed95e8"} 
[2026-10-05 12:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 12:50:10] 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-10-05 12:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:50: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-10-05 12:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543207424001,"66":12798,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543207424001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:50:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543207424001,"power":12798,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":204428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:50:10] local.INFO: GPS data processed {"connection_id":204428,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:50:10] local.INFO: Acknowledgment sent {"connection_id":204428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:50:11] local.INFO: TCP Data received {"connection_id":207522,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aedd080012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aedd080012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:50:11] local.INFO: Processing buffer {"connection_id":207522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aedd080012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:50:11] local.INFO: Packet analysis {"connection_id":207522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aed"} 
[2026-10-05 12:50:11] local.INFO: Extracted packet for processing {"connection_id":207522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aed"} 
[2026-10-05 12:50:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543282944001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:11] 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-10-05 12:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791184720000,"timestamp_ms":1791184720000,"timestamp_seconds":1791184720,"priority":1,"record_length":96,"hex_timestamp":"000001a10aedd080"} 
[2026-10-05 12:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:50:11] 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-10-05 12:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:11] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":786793203548101339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77452897595424768,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075828430,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:50:11] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:11] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3909143928,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:11] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,101,83,24,241,157,16,211,161,44,45,128,134,60,10,66,218,136,1,240,255,227,31,4,113,205,228,219,43,239,47,2,88,7,40],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:50:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758196951875584,"timestamp_seconds":4323758196951875.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:50:11] 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-10-05 12:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543282944001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543282944001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:50:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:50:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543282944001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":207522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:50:11] local.INFO: GPS data processed {"connection_id":207522,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:50:11] local.INFO: Acknowledgment sent {"connection_id":207522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:50:12] local.INFO: TCP Data received {"connection_id":205980,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:50:12] local.INFO: Processing buffer {"connection_id":205980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:50:12] local.INFO: Packet analysis {"connection_id":205980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aeb"} 
[2026-10-05 12:50:12] local.INFO: Extracted packet for processing {"connection_id":205980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aeb"} 
[2026-10-05 12:50:12] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543164672001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791184542000,"timestamp_ms":1791184542000,"timestamp_seconds":1791184542,"priority":1,"record_length":96,"hex_timestamp":"000001a10aeb1930"} 
[2026-10-05 12:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25600,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-10-05 12:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1563,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":205980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":205980,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":205980,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543164672001,"66":26908,"140":206,"9":7936,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543164672001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:50:12] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:50:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:50:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 12:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543164672001,"power":26908,"unknown_140":206,"unknown_9":7936,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 12:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":205980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967285,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:50:12] local.INFO: GPS data processed {"connection_id":205980,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:50:12] local.INFO: Acknowledgment sent {"connection_id":205980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:50:15] local.INFO: TCP Data received {"connection_id":204428,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:50:15] local.INFO: Processing buffer {"connection_id":204428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:50:15] local.INFO: Packet analysis {"connection_id":204428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aed"} 
[2026-10-05 12:50:15] local.INFO: Extracted packet for processing {"connection_id":204428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aed"} 
[2026-10-05 12:50:15] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":15,"angle":169,"satellites":31,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543207424001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:15] 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-10-05 12:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791184705000,"timestamp_ms":1791184705000,"timestamp_seconds":1791184705,"priority":1,"record_length":96,"hex_timestamp":"000001a10aed95e8"} 
[2026-10-05 12:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 12:50:15] 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-10-05 12:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543207424001,"66":12798,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543207424001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:50:15] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:50:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543207424001,"power":12798,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":204428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:50:15] local.INFO: GPS data processed {"connection_id":204428,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:50:15] local.INFO: Acknowledgment sent {"connection_id":204428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:50:34] local.INFO: TCP Data received {"connection_id":204572,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:50:34] local.INFO: Processing buffer {"connection_id":204572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:50:34] local.INFO: IMEI packet received {"connection_id":204572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":204572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:50:40] local.INFO: TCP Data received {"connection_id":204572,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:50:40] local.INFO: Processing buffer {"connection_id":204572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:50:40] local.INFO: IMEI packet received {"connection_id":204572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":204572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:50:41] local.INFO: TCP Data received {"connection_id":204572,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:50:41] local.INFO: Processing buffer {"connection_id":204572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:50:41] local.INFO: Packet analysis {"connection_id":204572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aeb"} 
[2026-10-05 12:50:41] local.INFO: Extracted packet for processing {"connection_id":204572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aeb"} 
[2026-10-05 12:50:41] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543164672001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791184542000,"timestamp_ms":1791184542000,"timestamp_seconds":1791184542,"priority":1,"record_length":96,"hex_timestamp":"000001a10aeb1930"} 
[2026-10-05 12:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25600,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-10-05 12:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1563,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543164672001,"66":26908,"140":206,"9":7936,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543164672001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:50:41] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:50:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:50:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 12:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543164672001,"power":26908,"unknown_140":206,"unknown_9":7936,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 12:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":204572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967287,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:50:41] local.INFO: GPS data processed {"connection_id":204572,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:50:41] local.INFO: Acknowledgment sent {"connection_id":204572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:50:42] local.INFO: TCP Data received {"connection_id":207522,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aee2288012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aee2288012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:50:42] local.INFO: Processing buffer {"connection_id":207522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aee2288012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:50:42] local.INFO: Packet analysis {"connection_id":207522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aee"} 
[2026-10-05 12:50:42] local.INFO: Extracted packet for processing {"connection_id":207522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aee"} 
[2026-10-05 12:50:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543288320001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791184741000,"timestamp_ms":1791184741000,"timestamp_seconds":1791184741,"priority":1,"record_length":96,"hex_timestamp":"000001a10aee2288"} 
[2026-10-05 12:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:50:42] 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-10-05 12:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:42] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:42] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:42] local.WARNING: Large IO value detected {"io_id":161,"raw_value":786883397861317339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:42] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:42] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77452897595424768,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:42] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:42] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3452291471844376782,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:50:42] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:42] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:42] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:50:42] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,101,83,24,241,157,16,211,161,126,45,128,134,60,44,10,66,218,1,240,227,31,4,113,205,54,219,136,43,239,47,2,88,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:50:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758192656908288,"timestamp_seconds":4323758192656908.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:50:42] 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-10-05 12:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543288320001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543288320001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:50:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:50:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543288320001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":207522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:50:42] local.INFO: GPS data processed {"connection_id":207522,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:50:42] local.INFO: Acknowledgment sent {"connection_id":207522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:50:52] local.INFO: TCP Data received {"connection_id":204429,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:50:52] local.INFO: Processing buffer {"connection_id":204429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:50:52] local.INFO: IMEI packet received {"connection_id":204429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 12:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":204429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:50:54] local.INFO: TCP Data received {"connection_id":204429,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:50:54] local.INFO: Processing buffer {"connection_id":204429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:50:54] local.INFO: IMEI packet received {"connection_id":204429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":204429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:50:55] local.INFO: TCP Data received {"connection_id":204429,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:50:55] local.INFO: Processing buffer {"connection_id":204429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:50:55] local.INFO: IMEI packet received {"connection_id":204429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":204429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:50:59] local.INFO: TCP Data received {"connection_id":204573,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204573,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:50:59] local.INFO: Processing buffer {"connection_id":204573,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:50:59] local.INFO: IMEI packet received {"connection_id":204573,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":204573,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:51:01] local.INFO: TCP Data received {"connection_id":204429,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:51:01] local.INFO: Processing buffer {"connection_id":204429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:51:01] local.INFO: IMEI packet received {"connection_id":204429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":204429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:51:03] local.INFO: TCP Data received {"connection_id":205981,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:51:03] local.INFO: Processing buffer {"connection_id":205981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:51:03] local.INFO: IMEI packet received {"connection_id":205981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":205981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:51:05] local.INFO: TCP Data received {"connection_id":204429,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10aeeeda8012d7f8c0005afdca8000500db28..."} 
[2026-10-05 12:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aeeeda8012d7f8c0005afdca8000500db28..."} 
[2026-10-05 12:51:05] local.INFO: Processing buffer {"connection_id":204429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aeeeda8012d7f8c0005afdca8000500db28..."} 
[2026-10-05 12:51:05] local.INFO: Packet analysis {"connection_id":204429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aee"} 
[2026-10-05 12:51:05] local.INFO: Extracted packet for processing {"connection_id":204429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aee"} 
[2026-10-05 12:51:05] local.INFO: GPS Element Parsed {"raw_longitude":763333632,"raw_latitude":95411368,"longitude_deg":76.3333632,"latitude_deg":9.5411368,"altitude":5,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f8c00","hex_latitude":"05afdca8","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543301632001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893827174465536,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190720963981649920,"note":"Value kept but may cause issues"} 
[2026-10-05 12: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-10-05 12:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791184793000,"timestamp_ms":1791184793000,"timestamp_seconds":1791184793,"priority":1,"record_length":96,"hex_timestamp":"000001a10aeeeda8"} 
[2026-10-05 12:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-10-05 12:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12: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-10-05 12:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:51: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-10-05 12:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543301632001,"66":25093,"250":206,"85":12544,"24":0,"16":1893827174465536,"45":9190720963981649920},"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-10-05 12:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543301632001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:51:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:51:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893827174465536,"km_value":1893827174465.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190720963981649920,"description":"Unknown IO ID 45"} 
[2026-10-05 12:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543301632001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190720963981649920}} 
[2026-10-05 12:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":204429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:51:05] local.INFO: GPS data processed {"connection_id":204429,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:51:05] local.INFO: Acknowledgment sent {"connection_id":204429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:51:05] local.INFO: TCP Data received {"connection_id":204573,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204573,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:51:05] local.INFO: Processing buffer {"connection_id":204573,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:51:05] local.INFO: IMEI packet received {"connection_id":204573,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":204573,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:51:06] local.INFO: TCP Data received {"connection_id":205981,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:51:06] local.INFO: Processing buffer {"connection_id":205981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:51:06] local.INFO: IMEI packet received {"connection_id":205981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":205981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:51:06] local.INFO: TCP Data received {"connection_id":204573,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:51:06] local.INFO: Processing buffer {"connection_id":204573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:51:06] local.INFO: Packet analysis {"connection_id":204573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aed"} 
[2026-10-05 12:51:06] local.INFO: Extracted packet for processing {"connection_id":204573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aed"} 
[2026-10-05 12:51:06] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":15,"angle":169,"satellites":31,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543207424001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:06] 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-10-05 12:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791184705000,"timestamp_ms":1791184705000,"timestamp_seconds":1791184705,"priority":1,"record_length":96,"hex_timestamp":"000001a10aed95e8"} 
[2026-10-05 12:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:51: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-10-05 12: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 12:51: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-10-05 12: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-10-05 12:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:51:06] 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-10-05 12:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543207424001,"66":12798,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543207424001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:51:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:51:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543207424001,"power":12798,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":204573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:51:06] local.INFO: GPS data processed {"connection_id":204573,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:51:06] local.INFO: Acknowledgment sent {"connection_id":204573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:51:10] local.INFO: TCP Data received {"connection_id":205981,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:51:10] local.INFO: Processing buffer {"connection_id":205981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:51:10] local.INFO: IMEI packet received {"connection_id":205981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":205981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:51:11] local.INFO: TCP Data received {"connection_id":205981,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aee7490012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aee7490012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:51:11] local.INFO: Processing buffer {"connection_id":205981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aee7490012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:51:11] local.INFO: Packet analysis {"connection_id":205981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aee"} 
[2026-10-05 12:51:11] local.INFO: Extracted packet for processing {"connection_id":205981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aee"} 
[2026-10-05 12:51:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:51: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-10-05 12:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543293696001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:11] 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-10-05 12:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791184762000,"timestamp_ms":1791184762000,"timestamp_seconds":1791184762,"priority":1,"record_length":96,"hex_timestamp":"000001a10aee7490"} 
[2026-10-05 12:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:51:11] 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-10-05 12:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:11] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":786973592174533339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77452897595424768,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332011214,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:51:11] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:11] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:11] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,101,83,24,241,157,16,211,161,208,45,128,134,60,43,10,66,126,44,1,240,227,31,4,113,205,136,219,42,239,47,2,88,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:51:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758192656908288,"timestamp_seconds":4323758192656908.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:51:11] 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-10-05 12:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543293696001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543293696001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:51:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:51:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543293696001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":205981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:51:11] local.INFO: GPS data processed {"connection_id":205981,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:51:11] local.INFO: Acknowledgment sent {"connection_id":205981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:51:12] local.INFO: TCP Data received {"connection_id":204572,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:51:12] local.INFO: Processing buffer {"connection_id":204572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aeb1930012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:51:12] local.INFO: Packet analysis {"connection_id":204572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aeb"} 
[2026-10-05 12:51:12] local.INFO: Extracted packet for processing {"connection_id":204572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aeb"} 
[2026-10-05 12:51:12] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:51: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-10-05 12:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543164672001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791184542000,"timestamp_ms":1791184542000,"timestamp_seconds":1791184542,"priority":1,"record_length":96,"hex_timestamp":"000001a10aeb1930"} 
[2026-10-05 12:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25600,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:51: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":111,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-10-05 12:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1563,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:51: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-10-05 12:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543164672001,"66":26908,"140":206,"9":7936,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-10-05 12:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543164672001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:51:12] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-10-05 12:51:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-10-05 12:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:51:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 12:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543164672001,"power":26908,"unknown_140":206,"unknown_9":7936,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 12:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":204572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967292,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:51:12] local.INFO: GPS data processed {"connection_id":204572,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:51:12] local.INFO: Acknowledgment sent {"connection_id":204572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:51:35] local.INFO: TCP Data received {"connection_id":204429,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10aef3fb0012d7f8c0005afdc80000500db28..."} 
[2026-10-05 12:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aef3fb0012d7f8c0005afdc80000500db28..."} 
[2026-10-05 12:51:35] local.INFO: Processing buffer {"connection_id":204429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aef3fb0012d7f8c0005afdc80000500db28..."} 
[2026-10-05 12:51:35] local.INFO: Packet analysis {"connection_id":204429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:51:35] local.INFO: Extracted packet for processing {"connection_id":204429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:51:35] local.INFO: GPS Element Parsed {"raw_longitude":763333632,"raw_latitude":95411328,"longitude_deg":76.3333632,"latitude_deg":9.5411328,"altitude":5,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d7f8c00","hex_latitude":"05afdc80","is_valid_coordinates":true} 
[2026-10-05 12:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543307008001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893831469432832,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190720963981649920,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51: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-10-05 12:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791184814000,"timestamp_ms":1791184814000,"timestamp_seconds":1791184814,"priority":1,"record_length":96,"hex_timestamp":"000001a10aef3fb0"} 
[2026-10-05 12:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:51:35] 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-10-05 12:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-05 12:51:35] 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-10-05 12:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":204429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":204429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":204429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543307008001,"66":25071,"250":206,"85":12544,"24":0,"16":1893831469432832,"45":9190720963981649920},"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-10-05 12:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543307008001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:51:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:51:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893831469432832,"km_value":1893831469432.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190720963981649920,"description":"Unknown IO ID 45"} 
[2026-10-05 12:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543307008001,"power":25071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190720963981649920}} 
[2026-10-05 12:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":204429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:51:35] local.INFO: GPS data processed {"connection_id":204429,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:51:35] local.INFO: Acknowledgment sent {"connection_id":204429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:51:38] local.INFO: TCP Data received {"connection_id":204573,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:51:38] local.INFO: Processing buffer {"connection_id":204573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:51:38] local.INFO: Packet analysis {"connection_id":204573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aed"} 
[2026-10-05 12:51:38] local.INFO: Extracted packet for processing {"connection_id":204573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aed"} 
[2026-10-05 12:51:38] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":15,"angle":169,"satellites":31,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543207424001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:38] 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-10-05 12:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791184705000,"timestamp_ms":1791184705000,"timestamp_seconds":1791184705,"priority":1,"record_length":96,"hex_timestamp":"000001a10aed95e8"} 
[2026-10-05 12:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 12:51:38] 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-10-05 12:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:51:38] 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-10-05 12:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543207424001,"66":12798,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543207424001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:51:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:51:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543207424001,"power":12798,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":204573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:51:38] local.INFO: GPS data processed {"connection_id":204573,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:51:38] local.INFO: Acknowledgment sent {"connection_id":204573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:51:40] local.INFO: TCP Data received {"connection_id":204430,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:51:40] local.INFO: Processing buffer {"connection_id":204430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:51:40] local.INFO: IMEI packet received {"connection_id":204430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":204430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:51:42] local.INFO: TCP Data received {"connection_id":205981,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aeec698012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aeec698012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:51:42] local.INFO: Processing buffer {"connection_id":205981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aeec698012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:51:42] local.INFO: Packet analysis {"connection_id":205981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aee"} 
[2026-10-05 12:51:42] local.INFO: Extracted packet for processing {"connection_id":205981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aee"} 
[2026-10-05 12:51:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:51: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-10-05 12:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543299072001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791184783000,"timestamp_ms":1791184783000,"timestamp_seconds":1791184783,"priority":1,"record_length":96,"hex_timestamp":"000001a10aeec698"} 
[2026-10-05 12:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:51:42] 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-10-05 12:51: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:51:42] 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-10-05 12:51: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-10-05 12:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":205981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":205981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":205981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:51:42] 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-10-05 12:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543299072001,"66":12319,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543299072001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:51:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:51:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543299072001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":205981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:51:43] local.INFO: GPS data processed {"connection_id":205981,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:51:43] local.INFO: Acknowledgment sent {"connection_id":205981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:51:45] local.INFO: TCP Data received {"connection_id":204430,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:51:45] local.INFO: Processing buffer {"connection_id":204430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:51:45] local.INFO: IMEI packet received {"connection_id":204430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":204430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:51:45] local.INFO: TCP Data received {"connection_id":204430,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:51:45] local.INFO: Processing buffer {"connection_id":204430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:51:45] local.INFO: Packet analysis {"connection_id":204430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:51:45] local.INFO: Extracted packet for processing {"connection_id":204430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:51:45] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543242752001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958262349097410562,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791184843000,"timestamp_ms":1791184843000,"timestamp_seconds":1791184843,"priority":1,"record_length":96,"hex_timestamp":"000001a10aefb0f8"} 
[2026-10-05 12:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-05 12:51:45] 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-10-05 12:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":204430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":204430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":204430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543242752001,"66":26713,"241":206,"9":8448,"24":0,"16":8752305830625280,"44":5958262349097410562},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-10-05 12:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543242752001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:51:45] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-05 12:51:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 12:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:51:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958262349097410562,"description":"Unknown IO ID 44"} 
[2026-10-05 12:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543242752001,"power":26713,"unknown_241":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5958262349097410562}} 
[2026-10-05 12:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":204430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967296,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:51:45] local.INFO: GPS data processed {"connection_id":204430,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:51:45] local.INFO: Acknowledgment sent {"connection_id":204430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:51:49] local.INFO: TCP Data received {"connection_id":204430,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:51:49] local.INFO: Processing buffer {"connection_id":204430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:51:49] local.INFO: Packet analysis {"connection_id":204430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:51:49] local.INFO: Extracted packet for processing {"connection_id":204430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:51:49] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:51: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-10-05 12:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543242752001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958262349097410562,"note":"Value kept but may cause issues"} 
[2026-10-05 12:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1791184843000,"timestamp_ms":1791184843000,"timestamp_seconds":1791184843,"priority":1,"record_length":96,"hex_timestamp":"000001a10aefb0f8"} 
[2026-10-05 12:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:51: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":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-05 12:51:49] 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-10-05 12:51: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-10-05 12:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":204430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":204430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":204430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543242752001,"66":26713,"241":206,"9":8448,"24":0,"16":8752305830625280,"44":5958262349097410562},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-10-05 12:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543242752001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:51:49] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-05 12:51:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 12:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:51:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958262349097410562,"description":"Unknown IO ID 44"} 
[2026-10-05 12:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543242752001,"power":26713,"unknown_241":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5958262349097410562}} 
[2026-10-05 12:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":204430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967297,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:51:49] local.INFO: GPS data processed {"connection_id":204430,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:51:49] local.INFO: Acknowledgment sent {"connection_id":204430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:51:55] local.INFO: TCP Data received {"connection_id":205982,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:51:55] local.INFO: Processing buffer {"connection_id":205982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:51:55] local.INFO: IMEI packet received {"connection_id":205982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 12:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":205982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:51:57] local.INFO: TCP Data received {"connection_id":205982,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:51:57] local.INFO: Processing buffer {"connection_id":205982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:51:57] local.INFO: IMEI packet received {"connection_id":205982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":205982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:51:59] local.INFO: TCP Data received {"connection_id":207523,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207523,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:51:59] local.INFO: Processing buffer {"connection_id":207523,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:51:59] local.INFO: IMEI packet received {"connection_id":207523,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":207523,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:52:00] local.INFO: TCP Data received {"connection_id":205982,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:52:00] local.INFO: Processing buffer {"connection_id":205982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:52:00] local.INFO: IMEI packet received {"connection_id":205982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":205982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:52:01] local.INFO: TCP Data received {"connection_id":205982,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10aef4780012d7f8c0005afdc880005004028..."} 
[2026-10-05 12:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aef4780012d7f8c0005afdc880005004028..."} 
[2026-10-05 12:52:01] local.INFO: Processing buffer {"connection_id":205982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aef4780012d7f8c0005afdc880005004028..."} 
[2026-10-05 12:52:01] local.INFO: Packet analysis {"connection_id":205982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:52:01] local.INFO: Extracted packet for processing {"connection_id":205982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:52:01] local.INFO: GPS Element Parsed {"raw_longitude":763333632,"raw_latitude":95411336,"longitude_deg":76.3333632,"latitude_deg":9.5411336,"altitude":5,"angle":64,"satellites":40,"speed":1,"hex_longitude":"2d7f8c00","hex_latitude":"05afdc88","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543312384001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893831469432832,"note":"Value kept but may cause issues"} 
[2026-10-05 12:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190720963981639680,"note":"Value kept but may cause issues"} 
[2026-10-05 12: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-10-05 12:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791184816000,"timestamp_ms":1791184816000,"timestamp_seconds":1791184816,"priority":1,"record_length":96,"hex_timestamp":"000001a10aef4780"} 
[2026-10-05 12:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-10-05 12:52:01] 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-10-05 12: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-10-05 12:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:52: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-10-05 12:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543312384001,"66":25071,"250":206,"85":12544,"24":1,"16":1893831469432832,"45":9190720963981639680},"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-10-05 12:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543312384001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:52:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:52:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893831469432832,"km_value":1893831469432.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190720963981639680,"description":"Unknown IO ID 45"} 
[2026-10-05 12:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543312384001,"power":25071,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9190720963981639680}} 
[2026-10-05 12:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":205982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:52:01] local.INFO: GPS data processed {"connection_id":205982,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:52:01] local.INFO: Acknowledgment sent {"connection_id":205982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:52:04] local.INFO: TCP Data received {"connection_id":207523,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207523,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:52:04] local.INFO: Processing buffer {"connection_id":207523,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:52:04] local.INFO: IMEI packet received {"connection_id":207523,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":207523,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:52:05] local.INFO: TCP Data received {"connection_id":207523,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:52:05] local.INFO: Processing buffer {"connection_id":207523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:52:05] local.INFO: Packet analysis {"connection_id":207523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aed"} 
[2026-10-05 12:52:05] local.INFO: Extracted packet for processing {"connection_id":207523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aed"} 
[2026-10-05 12:52:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":15,"angle":169,"satellites":31,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543207424001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:52:05] 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-10-05 12:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791184705000,"timestamp_ms":1791184705000,"timestamp_seconds":1791184705,"priority":1,"record_length":96,"hex_timestamp":"000001a10aed95e8"} 
[2026-10-05 12:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:52: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-10-05 12:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 12:52: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-10-05 12:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207523,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207523,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:52:05] 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-10-05 12:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543207424001,"66":12798,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543207424001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:52:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:52:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543207424001,"power":12798,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":207523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:52:05] local.INFO: GPS data processed {"connection_id":207523,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:52:05] local.INFO: Acknowledgment sent {"connection_id":207523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:52:06] local.INFO: TCP Data received {"connection_id":204574,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:52:06] local.INFO: Processing buffer {"connection_id":204574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:52:06] local.INFO: IMEI packet received {"connection_id":204574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":204574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:52:06] local.INFO: TCP Data received {"connection_id":204574,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:52:06] local.INFO: Processing buffer {"connection_id":204574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:52:06] local.INFO: IMEI packet received {"connection_id":204574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":204574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:52:11] local.INFO: TCP Data received {"connection_id":204574,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:52:11] local.INFO: Processing buffer {"connection_id":204574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:52:11] local.INFO: IMEI packet received {"connection_id":204574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":204574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:52:11] local.INFO: TCP Data received {"connection_id":204574,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aef18a0012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aef18a0012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:52:11] local.INFO: Processing buffer {"connection_id":204574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aef18a0012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:52:11] local.INFO: Packet analysis {"connection_id":204574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:52:11] local.INFO: Extracted packet for processing {"connection_id":204574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:52:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543304448001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:52:11] 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-10-05 12:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791184804000,"timestamp_ms":1791184804000,"timestamp_seconds":1791184804,"priority":1,"record_length":96,"hex_timestamp":"000001a10aef18a0"} 
[2026-10-05 12:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:52:11] 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-10-05 12:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-10-05 12:52:11] 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-10-05 12:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:52:11] 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-10-05 12:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543304448001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543304448001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:52:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:52:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543304448001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":204574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:52:12] local.INFO: GPS data processed {"connection_id":204574,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:52:12] local.INFO: Acknowledgment sent {"connection_id":204574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:52:32] local.INFO: TCP Data received {"connection_id":205982,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10aef9988012d7f8c8005afdcc80005003528..."} 
[2026-10-05 12:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aef9988012d7f8c8005afdcc80005003528..."} 
[2026-10-05 12:52:32] local.INFO: Processing buffer {"connection_id":205982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aef9988012d7f8c8005afdcc80005003528..."} 
[2026-10-05 12:52:32] local.INFO: Packet analysis {"connection_id":205982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:52:32] local.INFO: Extracted packet for processing {"connection_id":205982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:52:32] local.INFO: GPS Element Parsed {"raw_longitude":763333760,"raw_latitude":95411400,"longitude_deg":76.333376,"latitude_deg":9.54114,"altitude":5,"angle":53,"satellites":40,"speed":0,"hex_longitude":"2d7f8c80","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-10-05 12:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543312896001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893840059367424,"note":"Value kept but may cause issues"} 
[2026-10-05 12:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190720963981641728,"note":"Value kept but may cause issues"} 
[2026-10-05 12:52: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-10-05 12:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791184837000,"timestamp_ms":1791184837000,"timestamp_seconds":1791184837,"priority":1,"record_length":96,"hex_timestamp":"000001a10aef9988"} 
[2026-10-05 12:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:52:32] 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-10-05 12:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-10-05 12:52:32] 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-10-05 12:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543312896001,"66":25093,"250":206,"85":12544,"24":0,"16":1893840059367424,"45":9190720963981641728},"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-10-05 12:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543312896001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:52:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:52:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893840059367424,"km_value":1893840059367.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190720963981641728,"description":"Unknown IO ID 45"} 
[2026-10-05 12:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543312896001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190720963981641728}} 
[2026-10-05 12:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":205982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:52:32] local.INFO: GPS data processed {"connection_id":205982,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:52:32] local.INFO: Acknowledgment sent {"connection_id":205982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:52:35] local.INFO: TCP Data received {"connection_id":204575,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:52:35] local.INFO: Processing buffer {"connection_id":204575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:52:35] local.INFO: IMEI packet received {"connection_id":204575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":204575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:52:37] local.INFO: TCP Data received {"connection_id":207523,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:52:37] local.INFO: Processing buffer {"connection_id":207523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:52:37] local.INFO: Packet analysis {"connection_id":207523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aed"} 
[2026-10-05 12:52:37] local.INFO: Extracted packet for processing {"connection_id":207523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aed"} 
[2026-10-05 12:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":15,"angle":169,"satellites":31,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543207424001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:52:37] 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-10-05 12:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791184705000,"timestamp_ms":1791184705000,"timestamp_seconds":1791184705,"priority":1,"record_length":96,"hex_timestamp":"000001a10aed95e8"} 
[2026-10-05 12:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 12:52: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-10-05 12: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-10-05 12:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207523,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207523,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:52:37] 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-10-05 12:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543207424001,"66":12798,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543207424001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:52:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:52:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543207424001,"power":12798,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":207523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:52:37] local.INFO: GPS data processed {"connection_id":207523,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:52:37] local.INFO: Acknowledgment sent {"connection_id":207523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:52:40] local.INFO: TCP Data received {"connection_id":204575,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:52:40] local.INFO: Processing buffer {"connection_id":204575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:52:40] local.INFO: IMEI packet received {"connection_id":204575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":204575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:52:40] local.INFO: TCP Data received {"connection_id":204575,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:52:40] local.INFO: Processing buffer {"connection_id":204575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:52:40] local.INFO: Packet analysis {"connection_id":204575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:52:40] local.INFO: Extracted packet for processing {"connection_id":204575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:52:40] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543242752001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:52:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958262349097410562,"note":"Value kept but may cause issues"} 
[2026-10-05 12:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791184843000,"timestamp_ms":1791184843000,"timestamp_seconds":1791184843,"priority":1,"record_length":96,"hex_timestamp":"000001a10aefb0f8"} 
[2026-10-05 12:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-05 12:52:40] 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-10-05 12:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543242752001,"66":26713,"241":206,"9":8448,"24":0,"16":8752305830625280,"44":5958262349097410562},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-10-05 12:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543242752001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:52:40] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-05 12:52:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 12:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:52:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958262349097410562,"description":"Unknown IO ID 44"} 
[2026-10-05 12:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543242752001,"power":26713,"unknown_241":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5958262349097410562}} 
[2026-10-05 12:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":204575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967303,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:52:41] local.INFO: GPS data processed {"connection_id":204575,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:52:41] local.INFO: Acknowledgment sent {"connection_id":204575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:52:43] local.INFO: TCP Data received {"connection_id":204574,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aef6aa8012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aef6aa8012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:52:43] local.INFO: Processing buffer {"connection_id":204574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aef6aa8012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:52:43] local.INFO: Packet analysis {"connection_id":204574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:52:43] local.INFO: Extracted packet for processing {"connection_id":204574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:52:43] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543309824001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791184825000,"timestamp_ms":1791184825000,"timestamp_seconds":1791184825,"priority":1,"record_length":96,"hex_timestamp":"000001a10aef6aa8"} 
[2026-10-05 12:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:52:43] 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-10-05 12:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:52:43] 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-10-05 12:52:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:52:43] 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-10-05 12:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543309824001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543309824001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:52:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:52:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543309824001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":204574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:52:43] local.INFO: GPS data processed {"connection_id":204574,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:52:43] local.INFO: Acknowledgment sent {"connection_id":204574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:52:54] local.INFO: TCP Data received {"connection_id":207524,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:52:54] local.INFO: Processing buffer {"connection_id":207524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:52:54] local.INFO: IMEI packet received {"connection_id":207524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 12:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":207524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:53:00] local.INFO: TCP Data received {"connection_id":207524,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:53:00] local.INFO: Processing buffer {"connection_id":207524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:53:00] local.INFO: IMEI packet received {"connection_id":207524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":207524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:53:01] local.INFO: TCP Data received {"connection_id":207524,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10aefeb90012d7f8cc005afdcb80005003527..."} 
[2026-10-05 12:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aefeb90012d7f8cc005afdcb80005003527..."} 
[2026-10-05 12:53:01] local.INFO: Processing buffer {"connection_id":207524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aefeb90012d7f8cc005afdcb80005003527..."} 
[2026-10-05 12:53:01] local.INFO: Packet analysis {"connection_id":207524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:53:01] local.INFO: Extracted packet for processing {"connection_id":207524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:53:01] local.INFO: GPS Element Parsed {"raw_longitude":763333824,"raw_latitude":95411384,"longitude_deg":76.3333824,"latitude_deg":9.5411384,"altitude":5,"angle":53,"satellites":39,"speed":0,"hex_longitude":"2d7f8cc0","hex_latitude":"05afdcb8","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543318272001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893844354334720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190861701470013440,"note":"Value kept but may cause issues"} 
[2026-10-05 12: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-10-05 12:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791184858000,"timestamp_ms":1791184858000,"timestamp_seconds":1791184858,"priority":1,"record_length":96,"hex_timestamp":"000001a10aefeb90"} 
[2026-10-05 12:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:53:01] 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-10-05 12: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-05 12:53:01] 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-10-05 12: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-10-05 12:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:53: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-10-05 12:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543318272001,"66":25060,"250":206,"85":12544,"24":0,"16":1893844354334720,"45":9190861701470013440},"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-10-05 12:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543318272001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:53:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:53:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893844354334720,"km_value":1893844354334.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190861701470013440,"description":"Unknown IO ID 45"} 
[2026-10-05 12:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543318272001,"power":25060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190861701470013440}} 
[2026-10-05 12:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":207524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:53:01] local.INFO: GPS data processed {"connection_id":207524,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:53:01] local.INFO: Acknowledgment sent {"connection_id":207524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:53:01] local.INFO: TCP Data received {"connection_id":204431,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:53:01] local.INFO: Processing buffer {"connection_id":204431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:53:01] local.INFO: IMEI packet received {"connection_id":204431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":204431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:53:04] local.INFO: TCP Data received {"connection_id":204431,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:53:04] local.INFO: Processing buffer {"connection_id":204431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:53:04] local.INFO: IMEI packet received {"connection_id":204431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":204431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:53:05] local.INFO: TCP Data received {"connection_id":207525,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:53:05] local.INFO: Processing buffer {"connection_id":207525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:53:05] local.INFO: IMEI packet received {"connection_id":207525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":207525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:53:06] local.INFO: TCP Data received {"connection_id":204431,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:53:06] local.INFO: Processing buffer {"connection_id":204431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aed95e8012d7b524005e13b08000f00a91f..."} 
[2026-10-05 12:53:06] local.INFO: Packet analysis {"connection_id":204431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aed"} 
[2026-10-05 12:53:06] local.INFO: Extracted packet for processing {"connection_id":204431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aed"} 
[2026-10-05 12:53:06] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":15,"angle":169,"satellites":31,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543207424001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:53:06] 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-10-05 12:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791184705000,"timestamp_ms":1791184705000,"timestamp_seconds":1791184705,"priority":1,"record_length":96,"hex_timestamp":"000001a10aed95e8"} 
[2026-10-05 12:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:53: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-10-05 12:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 12:53: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-10-05 12:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543207424001,"66":12798,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543207424001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:53:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:53:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543207424001,"power":12798,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":204431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:53:06] local.INFO: GPS data processed {"connection_id":204431,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:53:06] local.INFO: Acknowledgment sent {"connection_id":204431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:53:09] local.INFO: TCP Data received {"connection_id":207525,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:53:09] local.INFO: Processing buffer {"connection_id":207525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:53:09] local.INFO: IMEI packet received {"connection_id":207525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":207525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:53:10] local.INFO: TCP Data received {"connection_id":207525,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:53:10] local.INFO: Processing buffer {"connection_id":207525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:53:10] local.INFO: IMEI packet received {"connection_id":207525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":207525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:53:11] local.INFO: TCP Data received {"connection_id":207525,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aefbcb0012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aefbcb0012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:53:11] local.INFO: Processing buffer {"connection_id":207525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aefbcb0012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:53:11] local.INFO: Packet analysis {"connection_id":207525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:53:11] local.INFO: Extracted packet for processing {"connection_id":207525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:53:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543315200001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:53:11] 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-10-05 12:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791184846000,"timestamp_ms":1791184846000,"timestamp_seconds":1791184846,"priority":1,"record_length":96,"hex_timestamp":"000001a10aefbcb0"} 
[2026-10-05 12:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:53:11] 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-10-05 12:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:53:11] 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-10-05 12:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:53:11] 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-10-05 12:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543315200001,"66":11743,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543315200001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:53:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:53:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543315200001,"power":11743,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":207525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:53:11] local.INFO: GPS data processed {"connection_id":207525,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:53:11] local.INFO: Acknowledgment sent {"connection_id":207525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:53:12] local.INFO: TCP Data received {"connection_id":204575,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:53:12] local.INFO: Processing buffer {"connection_id":204575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:53:12] local.INFO: Packet analysis {"connection_id":204575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:53:12] local.INFO: Extracted packet for processing {"connection_id":204575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:53:12] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543242752001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:53:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958262349097410562,"note":"Value kept but may cause issues"} 
[2026-10-05 12:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791184843000,"timestamp_ms":1791184843000,"timestamp_seconds":1791184843,"priority":1,"record_length":96,"hex_timestamp":"000001a10aefb0f8"} 
[2026-10-05 12:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-05 12:53:12] 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-10-05 12:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543242752001,"66":26713,"241":206,"9":8448,"24":0,"16":8752305830625280,"44":5958262349097410562},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-10-05 12:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543242752001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:53:12] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-05 12:53:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 12:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:53:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958262349097410562,"description":"Unknown IO ID 44"} 
[2026-10-05 12:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543242752001,"power":26713,"unknown_241":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5958262349097410562}} 
[2026-10-05 12:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":204575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967308,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:53:12] local.INFO: GPS data processed {"connection_id":204575,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:53:12] local.INFO: Acknowledgment sent {"connection_id":204575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:53:16] local.INFO: TCP Data received {"connection_id":207525,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af00eb8012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af00eb8012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:53:16] local.INFO: Processing buffer {"connection_id":207525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af00eb8012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:53:16] local.INFO: Packet analysis {"connection_id":207525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af0"} 
[2026-10-05 12:53:16] local.INFO: Extracted packet for processing {"connection_id":207525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af0"} 
[2026-10-05 12:53:16] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543320576001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791184867000,"timestamp_ms":1791184867000,"timestamp_seconds":1791184867,"priority":1,"record_length":96,"hex_timestamp":"000001a10af00eb8"} 
[2026-10-05 12:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:53:16] 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-10-05 12:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-05 12:53:16] 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-10-05 12:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:53:16] 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-10-05 12:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543320576001,"66":12145,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543320576001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:53:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:53:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543320576001,"power":12145,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":207525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:53:16] local.INFO: GPS data processed {"connection_id":207525,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:53:16] local.INFO: Acknowledgment sent {"connection_id":207525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:53:32] local.INFO: TCP Data received {"connection_id":207524,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af03d98012d7f8cc005afdc980005003528..."} 
[2026-10-05 12:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af03d98012d7f8cc005afdc980005003528..."} 
[2026-10-05 12:53:32] local.INFO: Processing buffer {"connection_id":207524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af03d98012d7f8cc005afdc980005003528..."} 
[2026-10-05 12:53:32] local.INFO: Packet analysis {"connection_id":207524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af0"} 
[2026-10-05 12:53:32] local.INFO: Extracted packet for processing {"connection_id":207524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af0"} 
[2026-10-05 12:53:32] local.INFO: GPS Element Parsed {"raw_longitude":763333824,"raw_latitude":95411352,"longitude_deg":76.3333824,"latitude_deg":9.5411352,"altitude":5,"angle":53,"satellites":40,"speed":0,"hex_longitude":"2d7f8cc0","hex_latitude":"05afdc98","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543323648001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893848649302016,"note":"Value kept but may cause issues"} 
[2026-10-05 12:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190932070214187008,"note":"Value kept but may cause issues"} 
[2026-10-05 12:53: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-10-05 12:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791184879000,"timestamp_ms":1791184879000,"timestamp_seconds":1791184879,"priority":1,"record_length":96,"hex_timestamp":"000001a10af03d98"} 
[2026-10-05 12:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:53:32] 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-10-05 12: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-05 12:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12: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-10-05 12:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543323648001,"66":25071,"250":206,"85":12544,"24":0,"16":1893848649302016,"45":9190932070214187008},"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-10-05 12:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543323648001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:53:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:53:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893848649302016,"km_value":1893848649302.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190932070214187008,"description":"Unknown IO ID 45"} 
[2026-10-05 12:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543323648001,"power":25071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190932070214187008}} 
[2026-10-05 12:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":207524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:53:32] local.INFO: GPS data processed {"connection_id":207524,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:53:32] local.INFO: Acknowledgment sent {"connection_id":207524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:53:34] local.INFO: TCP Data received {"connection_id":207526,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207526,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:53:34] local.INFO: Processing buffer {"connection_id":207526,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:53:34] local.INFO: IMEI packet received {"connection_id":207526,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":207526,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:53:37] local.INFO: TCP Data received {"connection_id":204431,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:53:37] local.INFO: Processing buffer {"connection_id":204431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:53:37] local.INFO: Packet analysis {"connection_id":204431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:53:37] local.INFO: Extracted packet for processing {"connection_id":204431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:53:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":33,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543284480001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:53:37] 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-10-05 12:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791185006000,"timestamp_ms":1791185006000,"timestamp_seconds":1791185006,"priority":1,"record_length":96,"hex_timestamp":"000001a10af22db0"} 
[2026-10-05 12:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 12:53:37] 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-10-05 12:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543284480001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543284480001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:53:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:53:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543284480001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":204431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:53:37] local.INFO: GPS data processed {"connection_id":204431,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:53:37] local.INFO: Acknowledgment sent {"connection_id":204431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:53:40] local.INFO: TCP Data received {"connection_id":207526,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207526,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:53:40] local.INFO: Processing buffer {"connection_id":207526,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:53:40] local.INFO: IMEI packet received {"connection_id":207526,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":207526,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:53:41] local.INFO: TCP Data received {"connection_id":207526,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:53:41] local.INFO: Processing buffer {"connection_id":207526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:53:41] local.INFO: Packet analysis {"connection_id":207526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:53:41] local.INFO: Extracted packet for processing {"connection_id":207526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:53:41] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543242752001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:53:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958262349097410562,"note":"Value kept but may cause issues"} 
[2026-10-05 12:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791184843000,"timestamp_ms":1791184843000,"timestamp_seconds":1791184843,"priority":1,"record_length":96,"hex_timestamp":"000001a10aefb0f8"} 
[2026-10-05 12:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-05 12:53:41] 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-10-05 12:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":207526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":207526,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":207526,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543242752001,"66":26713,"241":206,"9":8448,"24":0,"16":8752305830625280,"44":5958262349097410562},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-10-05 12:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543242752001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:53:41] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-05 12:53:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 12:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:53:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958262349097410562,"description":"Unknown IO ID 44"} 
[2026-10-05 12:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543242752001,"power":26713,"unknown_241":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5958262349097410562}} 
[2026-10-05 12:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":207526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967312,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:53:41] local.INFO: GPS data processed {"connection_id":207526,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:53:41] local.INFO: Acknowledgment sent {"connection_id":207526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:53:47] local.INFO: TCP Data received {"connection_id":207525,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af060c0012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af060c0012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:53:47] local.INFO: Processing buffer {"connection_id":207525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af060c0012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:53:47] local.INFO: Packet analysis {"connection_id":207525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af0"} 
[2026-10-05 12:53:47] local.INFO: Extracted packet for processing {"connection_id":207525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af0"} 
[2026-10-05 12:53:47] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543325952001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:53: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-10-05 12:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791184888000,"timestamp_ms":1791184888000,"timestamp_seconds":1791184888,"priority":1,"record_length":96,"hex_timestamp":"000001a10af060c0"} 
[2026-10-05 12:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-10-05 12:53:47] 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-10-05 12:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":207525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":207525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":207525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:53:47] 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-10-05 12:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543325952001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543325952001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:53:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:53:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543325952001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":207525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:53:47] local.INFO: GPS data processed {"connection_id":207525,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:53:47] local.INFO: Acknowledgment sent {"connection_id":207525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:53:55] local.INFO: TCP Data received {"connection_id":207527,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:53:55] local.INFO: Processing buffer {"connection_id":207527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:53:55] local.INFO: IMEI packet received {"connection_id":207527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 12:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":207527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:53:59] local.INFO: TCP Data received {"connection_id":204576,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:53:59] local.INFO: Processing buffer {"connection_id":204576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:53:59] local.INFO: IMEI packet received {"connection_id":204576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":204576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:54:00] local.INFO: TCP Data received {"connection_id":207527,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:54:00] local.INFO: Processing buffer {"connection_id":207527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:54:00] local.INFO: IMEI packet received {"connection_id":207527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":207527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:54:01] local.INFO: TCP Data received {"connection_id":207527,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af08fa0012d7f8cc005afdc700005003525..."} 
[2026-10-05 12:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af08fa0012d7f8cc005afdc700005003525..."} 
[2026-10-05 12:54:01] local.INFO: Processing buffer {"connection_id":207527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af08fa0012d7f8cc005afdc700005003525..."} 
[2026-10-05 12:54:01] local.INFO: Packet analysis {"connection_id":207527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af0"} 
[2026-10-05 12:54:01] local.INFO: Extracted packet for processing {"connection_id":207527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af0"} 
[2026-10-05 12:54:01] local.INFO: GPS Element Parsed {"raw_longitude":763333824,"raw_latitude":95411312,"longitude_deg":76.3333824,"latitude_deg":9.5411312,"altitude":5,"angle":53,"satellites":37,"speed":0,"hex_longitude":"2d7f8cc0","hex_latitude":"05afdc70","is_valid_coordinates":true} 
[2026-10-05 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-10-05 12:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543329024001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893861534203904,"note":"Value kept but may cause issues"} 
[2026-10-05 12:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190932070214178816,"note":"Value kept but may cause issues"} 
[2026-10-05 12: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-10-05 12:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791184900000,"timestamp_ms":1791184900000,"timestamp_seconds":1791184900,"priority":1,"record_length":96,"hex_timestamp":"000001a10af08fa0"} 
[2026-10-05 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-10-05 12:54:01] 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-10-05 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-10-05 12:54:01] 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-10-05 12:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 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-10-05 12:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:54: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-10-05 12:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543329024001,"66":25093,"250":206,"85":12544,"24":0,"16":1893861534203904,"45":9190932070214178816},"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-10-05 12:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543329024001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:54:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:54:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893861534203904,"km_value":1893861534203.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190932070214178816,"description":"Unknown IO ID 45"} 
[2026-10-05 12:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543329024001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190932070214178816}} 
[2026-10-05 12:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":207527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:54:01] local.INFO: GPS data processed {"connection_id":207527,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:54:01] local.INFO: Acknowledgment sent {"connection_id":207527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:54:04] local.INFO: TCP Data received {"connection_id":204576,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:54:04] local.INFO: Processing buffer {"connection_id":204576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:54:04] local.INFO: IMEI packet received {"connection_id":204576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":204576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:54:05] local.INFO: TCP Data received {"connection_id":204577,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:54:05] local.INFO: Processing buffer {"connection_id":204577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:54:05] local.INFO: IMEI packet received {"connection_id":204577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":204577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:54:05] local.INFO: TCP Data received {"connection_id":204576,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:54:05] local.INFO: Processing buffer {"connection_id":204576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:54:05] local.INFO: Packet analysis {"connection_id":204576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:54:05] local.INFO: Extracted packet for processing {"connection_id":204576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:54:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":33,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543284480001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:54:05] 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-10-05 12:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791185006000,"timestamp_ms":1791185006000,"timestamp_seconds":1791185006,"priority":1,"record_length":96,"hex_timestamp":"000001a10af22db0"} 
[2026-10-05 12:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:54: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-10-05 12:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 12:54:05] 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-10-05 12:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543284480001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543284480001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:54:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:54:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543284480001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":204576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:54:05] local.INFO: GPS data processed {"connection_id":204576,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:54:05] local.INFO: Acknowledgment sent {"connection_id":204576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:54:11] local.INFO: TCP Data received {"connection_id":204577,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:54:11] local.INFO: Processing buffer {"connection_id":204577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:54:11] local.INFO: IMEI packet received {"connection_id":204577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":204577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:54:12] local.INFO: TCP Data received {"connection_id":204577,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af0b2c8012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af0b2c8012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:54:12] local.INFO: Processing buffer {"connection_id":204577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af0b2c8012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:54:12] local.INFO: Packet analysis {"connection_id":204577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af0"} 
[2026-10-05 12:54:12] local.INFO: Extracted packet for processing {"connection_id":204577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af0"} 
[2026-10-05 12:54:12] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543331328001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791184909000,"timestamp_ms":1791184909000,"timestamp_seconds":1791184909,"priority":1,"record_length":96,"hex_timestamp":"000001a10af0b2c8"} 
[2026-10-05 12:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:54:12] 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-10-05 12:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:54:12] 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-10-05 12:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543331328001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543331328001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:54:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:54:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543331328001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":204577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:54:12] local.INFO: GPS data processed {"connection_id":204577,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:54:12] local.INFO: Acknowledgment sent {"connection_id":204577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:54:12] local.INFO: TCP Data received {"connection_id":207526,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:54:12] local.INFO: Processing buffer {"connection_id":207526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:54:12] local.INFO: Packet analysis {"connection_id":207526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:54:12] local.INFO: Extracted packet for processing {"connection_id":207526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:54:12] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543242752001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:54:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958262349097410562,"note":"Value kept but may cause issues"} 
[2026-10-05 12:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791184843000,"timestamp_ms":1791184843000,"timestamp_seconds":1791184843,"priority":1,"record_length":96,"hex_timestamp":"000001a10aefb0f8"} 
[2026-10-05 12:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-05 12:54:12] 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-10-05 12:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":207526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":207526,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":207526,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543242752001,"66":26713,"241":206,"9":8448,"24":0,"16":8752305830625280,"44":5958262349097410562},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-10-05 12:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543242752001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:54:12] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-05 12:54:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 12:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:54:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958262349097410562,"description":"Unknown IO ID 44"} 
[2026-10-05 12:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543242752001,"power":26713,"unknown_241":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5958262349097410562}} 
[2026-10-05 12:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":207526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967317,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:54:12] local.INFO: GPS data processed {"connection_id":207526,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:54:12] local.INFO: Acknowledgment sent {"connection_id":207526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:54:31] local.INFO: TCP Data received {"connection_id":207527,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af0e1a8012d7f8cc005afdc680005003525..."} 
[2026-10-05 12:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af0e1a8012d7f8cc005afdc680005003525..."} 
[2026-10-05 12:54:31] local.INFO: Processing buffer {"connection_id":207527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af0e1a8012d7f8cc005afdc680005003525..."} 
[2026-10-05 12:54:31] local.INFO: Packet analysis {"connection_id":207527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af0"} 
[2026-10-05 12:54:31] local.INFO: Extracted packet for processing {"connection_id":207527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af0"} 
[2026-10-05 12:54:31] local.INFO: GPS Element Parsed {"raw_longitude":763333824,"raw_latitude":95411304,"longitude_deg":76.3333824,"latitude_deg":9.5411304,"altitude":5,"angle":53,"satellites":37,"speed":0,"hex_longitude":"2d7f8cc0","hex_latitude":"05afdc68","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543334400001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893865829171200,"note":"Value kept but may cause issues"} 
[2026-10-05 12:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190932070214168576,"note":"Value kept but may cause issues"} 
[2026-10-05 12: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-10-05 12:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791184921000,"timestamp_ms":1791184921000,"timestamp_seconds":1791184921,"priority":1,"record_length":96,"hex_timestamp":"000001a10af0e1a8"} 
[2026-10-05 12:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:54: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-10-05 12: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-05 12:54:31] 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-10-05 12: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-10-05 12:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543334400001,"66":25125,"250":206,"85":12544,"24":0,"16":1893865829171200,"45":9190932070214168576},"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-10-05 12:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543334400001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:54:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:54:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893865829171200,"km_value":1893865829171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190932070214168576,"description":"Unknown IO ID 45"} 
[2026-10-05 12:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543334400001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190932070214168576}} 
[2026-10-05 12:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":207527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:54:31] local.INFO: GPS data processed {"connection_id":207527,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:54:31] local.INFO: Acknowledgment sent {"connection_id":207527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:54:34] local.INFO: TCP Data received {"connection_id":204432,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:54:34] local.INFO: Processing buffer {"connection_id":204432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:54:34] local.INFO: IMEI packet received {"connection_id":204432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":204432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:54:37] local.INFO: TCP Data received {"connection_id":204576,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:54:37] local.INFO: Processing buffer {"connection_id":204576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:54:37] local.INFO: Packet analysis {"connection_id":204576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:54:37] local.INFO: Extracted packet for processing {"connection_id":204576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:54:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":33,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543284480001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:54:37] 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-10-05 12:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791185006000,"timestamp_ms":1791185006000,"timestamp_seconds":1791185006,"priority":1,"record_length":96,"hex_timestamp":"000001a10af22db0"} 
[2026-10-05 12:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 12:54:37] 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-10-05 12:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543284480001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543284480001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:54:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:54:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543284480001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":204576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:54:37] local.INFO: GPS data processed {"connection_id":204576,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:54:37] local.INFO: Acknowledgment sent {"connection_id":204576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:54:40] local.INFO: TCP Data received {"connection_id":204432,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:54:40] local.INFO: Processing buffer {"connection_id":204432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:54:40] local.INFO: IMEI packet received {"connection_id":204432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":204432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:54:40] local.INFO: TCP Data received {"connection_id":204432,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:54:40] local.INFO: Processing buffer {"connection_id":204432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:54:40] local.INFO: Packet analysis {"connection_id":204432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:54:40] local.INFO: Extracted packet for processing {"connection_id":204432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:54:40] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543242752001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:54:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958262349097410562,"note":"Value kept but may cause issues"} 
[2026-10-05 12:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791184843000,"timestamp_ms":1791184843000,"timestamp_seconds":1791184843,"priority":1,"record_length":96,"hex_timestamp":"000001a10aefb0f8"} 
[2026-10-05 12:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-05 12:54:40] 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-10-05 12:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543242752001,"66":26713,"241":206,"9":8448,"24":0,"16":8752305830625280,"44":5958262349097410562},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-10-05 12:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543242752001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:54:40] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-05 12:54:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 12:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:54:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958262349097410562,"description":"Unknown IO ID 44"} 
[2026-10-05 12:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543242752001,"power":26713,"unknown_241":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5958262349097410562}} 
[2026-10-05 12:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":204432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967320,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:54:40] local.INFO: GPS data processed {"connection_id":204432,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:54:40] local.INFO: Acknowledgment sent {"connection_id":204432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:54:43] local.INFO: TCP Data received {"connection_id":204577,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af104d0012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af104d0012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:54:43] local.INFO: Processing buffer {"connection_id":204577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af104d0012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:54:43] local.INFO: Packet analysis {"connection_id":204577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af1"} 
[2026-10-05 12:54:43] local.INFO: Extracted packet for processing {"connection_id":204577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af1"} 
[2026-10-05 12:54:43] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543336704001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791184930000,"timestamp_ms":1791184930000,"timestamp_seconds":1791184930,"priority":1,"record_length":96,"hex_timestamp":"000001a10af104d0"} 
[2026-10-05 12:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:54:43] 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-10-05 12:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:54:43] 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-10-05 12:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:54:43] 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-10-05 12:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543336704001,"66":12265,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543336704001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:54:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:54:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543336704001,"power":12265,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":204577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:54:43] local.INFO: GPS data processed {"connection_id":204577,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:54:43] local.INFO: Acknowledgment sent {"connection_id":204577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:54:59] local.INFO: TCP Data received {"connection_id":205983,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:54:59] local.INFO: Processing buffer {"connection_id":205983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:54:59] local.INFO: IMEI packet received {"connection_id":205983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 12:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":205983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:55:04] local.INFO: TCP Data received {"connection_id":204578,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:55:04] local.INFO: Processing buffer {"connection_id":204578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:55:04] local.INFO: IMEI packet received {"connection_id":204578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":204578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:55:05] local.INFO: TCP Data received {"connection_id":205983,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:55:05] local.INFO: Processing buffer {"connection_id":205983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:55:05] local.INFO: IMEI packet received {"connection_id":205983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":205983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:55:06] local.INFO: TCP Data received {"connection_id":205983,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af133b0012d7f8cc005afdc580005003524..."} 
[2026-10-05 12:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af133b0012d7f8cc005afdc580005003524..."} 
[2026-10-05 12:55:06] local.INFO: Processing buffer {"connection_id":205983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af133b0012d7f8cc005afdc580005003524..."} 
[2026-10-05 12:55:06] local.INFO: Packet analysis {"connection_id":205983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af1"} 
[2026-10-05 12:55:06] local.INFO: Extracted packet for processing {"connection_id":205983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af1"} 
[2026-10-05 12:55:06] local.INFO: GPS Element Parsed {"raw_longitude":763333824,"raw_latitude":95411288,"longitude_deg":76.3333824,"latitude_deg":9.5411288,"altitude":5,"angle":53,"satellites":36,"speed":0,"hex_longitude":"2d7f8cc0","hex_latitude":"05afdc58","is_valid_coordinates":true} 
[2026-10-05 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-10-05 12:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543339776001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893874419105792,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190932070214166528,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55: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-10-05 12:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791184942000,"timestamp_ms":1791184942000,"timestamp_seconds":1791184942,"priority":1,"record_length":96,"hex_timestamp":"000001a10af133b0"} 
[2026-10-05 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-10-05 12:55:06] 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-10-05 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-10-05 12:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 12:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:55: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-10-05 12:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543339776001,"66":25125,"250":206,"85":12544,"24":0,"16":1893874419105792,"45":9190932070214166528},"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-10-05 12:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543339776001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:55:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:55:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893874419105792,"km_value":1893874419105.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190932070214166528,"description":"Unknown IO ID 45"} 
[2026-10-05 12:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543339776001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190932070214166528}} 
[2026-10-05 12:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":205983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:55:06] local.INFO: GPS data processed {"connection_id":205983,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:55:06] local.INFO: Acknowledgment sent {"connection_id":205983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:55:07] local.INFO: TCP Data received {"connection_id":205983,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af185b8012d7f8cc005afdc480005003525..."} 
[2026-10-05 12:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af185b8012d7f8cc005afdc480005003525..."} 
[2026-10-05 12:55:07] local.INFO: Processing buffer {"connection_id":205983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af185b8012d7f8cc005afdc480005003525..."} 
[2026-10-05 12:55:07] local.INFO: Packet analysis {"connection_id":205983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af1"} 
[2026-10-05 12:55:07] local.INFO: Extracted packet for processing {"connection_id":205983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af1"} 
[2026-10-05 12:55:07] local.INFO: GPS Element Parsed {"raw_longitude":763333824,"raw_latitude":95411272,"longitude_deg":76.3333824,"latitude_deg":9.5411272,"altitude":5,"angle":53,"satellites":37,"speed":0,"hex_longitude":"2d7f8cc0","hex_latitude":"05afdc48","is_valid_coordinates":true} 
[2026-10-05 12:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543345152001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893878714073088,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190932070214162432,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55: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-10-05 12:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791184963000,"timestamp_ms":1791184963000,"timestamp_seconds":1791184963,"priority":1,"record_length":96,"hex_timestamp":"000001a10af185b8"} 
[2026-10-05 12:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:55:07] 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-10-05 12:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-10-05 12:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543345152001,"66":25147,"250":206,"85":12544,"24":0,"16":1893878714073088,"45":9190932070214162432},"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-10-05 12:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543345152001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:55:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:55:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893878714073088,"km_value":1893878714073.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190932070214162432,"description":"Unknown IO ID 45"} 
[2026-10-05 12:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543345152001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190932070214162432}} 
[2026-10-05 12:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":205983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:55:07] local.INFO: GPS data processed {"connection_id":205983,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:55:07] local.INFO: Acknowledgment sent {"connection_id":205983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:55:09] local.INFO: TCP Data received {"connection_id":204578,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:55:09] local.INFO: Processing buffer {"connection_id":204578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:55:09] local.INFO: IMEI packet received {"connection_id":204578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":204578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:55:10] local.INFO: TCP Data received {"connection_id":204578,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:55:10] local.INFO: Processing buffer {"connection_id":204578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:55:10] local.INFO: Packet analysis {"connection_id":204578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:55:10] local.INFO: Extracted packet for processing {"connection_id":204578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:55:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":33,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543284480001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:10] 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-10-05 12:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791185006000,"timestamp_ms":1791185006000,"timestamp_seconds":1791185006,"priority":1,"record_length":96,"hex_timestamp":"000001a10af22db0"} 
[2026-10-05 12:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 12:55:10] 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-10-05 12:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:55:10] 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-10-05 12:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543284480001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543284480001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:55:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543284480001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":204578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:55:11] local.INFO: GPS data processed {"connection_id":204578,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:55:11] local.INFO: Acknowledgment sent {"connection_id":204578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:55:11] local.INFO: TCP Data received {"connection_id":204433,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:55:11] local.INFO: Processing buffer {"connection_id":204433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:55:11] local.INFO: IMEI packet received {"connection_id":204433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":204433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:55:12] local.INFO: TCP Data received {"connection_id":204432,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:55:12] local.INFO: Processing buffer {"connection_id":204432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:55:12] local.INFO: Packet analysis {"connection_id":204432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:55:12] local.INFO: Extracted packet for processing {"connection_id":204432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:55:12] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:55: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-10-05 12:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543242752001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958262349097410562,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791184843000,"timestamp_ms":1791184843000,"timestamp_seconds":1791184843,"priority":1,"record_length":96,"hex_timestamp":"000001a10aefb0f8"} 
[2026-10-05 12:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-05 12:55:12] 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-10-05 12:55: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-10-05 12:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543242752001,"66":26713,"241":206,"9":8448,"24":0,"16":8752305830625280,"44":5958262349097410562},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-10-05 12:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543242752001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:55:12] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-05 12:55:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 12:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:55:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958262349097410562,"description":"Unknown IO ID 44"} 
[2026-10-05 12:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543242752001,"power":26713,"unknown_241":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5958262349097410562}} 
[2026-10-05 12:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":204432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967325,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:55:12] local.INFO: GPS data processed {"connection_id":204432,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:55:12] local.INFO: Acknowledgment sent {"connection_id":204432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:55:15] local.INFO: TCP Data received {"connection_id":204578,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:55:15] local.INFO: Processing buffer {"connection_id":204578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:55:15] local.INFO: Packet analysis {"connection_id":204578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:55:15] local.INFO: Extracted packet for processing {"connection_id":204578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:55:15] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":33,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543284480001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:15] 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-10-05 12:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791185006000,"timestamp_ms":1791185006000,"timestamp_seconds":1791185006,"priority":1,"record_length":96,"hex_timestamp":"000001a10af22db0"} 
[2026-10-05 12:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 12:55:15] 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-10-05 12:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:55:15] 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-10-05 12:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543284480001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543284480001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:55:15] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:55:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543284480001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":204578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967326,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:55:15] local.INFO: GPS data processed {"connection_id":204578,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:55:15] local.INFO: Acknowledgment sent {"connection_id":204578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:55:15] local.INFO: TCP Data received {"connection_id":204433,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:55:15] local.INFO: Processing buffer {"connection_id":204433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:55:15] local.INFO: IMEI packet received {"connection_id":204433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":204433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:55:16] local.INFO: TCP Data received {"connection_id":204433,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af156d8012d1adb80071f8688003c01132d..."} 
[2026-10-05 12:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af156d8012d1adb80071f8688003c01132d..."} 
[2026-10-05 12:55:16] local.INFO: Processing buffer {"connection_id":204433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af156d8012d1adb80071f8688003c01132d..."} 
[2026-10-05 12:55:16] local.INFO: Packet analysis {"connection_id":204433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af1"} 
[2026-10-05 12:55:16] local.INFO: Extracted packet for processing {"connection_id":204433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af1"} 
[2026-10-05 12:55:16] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543342080001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791184951000,"timestamp_ms":1791184951000,"timestamp_seconds":1791184951,"priority":1,"record_length":96,"hex_timestamp":"000001a10af156d8"} 
[2026-10-05 12:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 12:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:55:16] 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-10-05 12:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543342080001,"66":12254,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543342080001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:55:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:55:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543342080001,"power":12254,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":204433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:55:16] local.INFO: GPS data processed {"connection_id":204433,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:55:16] local.INFO: Acknowledgment sent {"connection_id":204433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:55:17] local.INFO: TCP Data received {"connection_id":204433,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af1a8e0012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af1a8e0012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:55:17] local.INFO: Processing buffer {"connection_id":204433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af1a8e0012d1adb80071f8688003c01132a..."} 
[2026-10-05 12:55:17] local.INFO: Packet analysis {"connection_id":204433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af1"} 
[2026-10-05 12:55:17] local.INFO: Extracted packet for processing {"connection_id":204433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af1"} 
[2026-10-05 12:55:17] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543347456001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791184972000,"timestamp_ms":1791184972000,"timestamp_seconds":1791184972,"priority":1,"record_length":96,"hex_timestamp":"000001a10af1a8e0"} 
[2026-10-05 12:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 12:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-10-05 12:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":204433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":204433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":204433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:55:17] 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-10-05 12:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543347456001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543347456001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:55:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:55:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543347456001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":204433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:55:17] local.INFO: GPS data processed {"connection_id":204433,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:55:17] local.INFO: Acknowledgment sent {"connection_id":204433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:55:34] local.INFO: TCP Data received {"connection_id":204434,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204434,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:55:34] local.INFO: Processing buffer {"connection_id":204434,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:55:34] local.INFO: IMEI packet received {"connection_id":204434,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":204434,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:55:38] local.INFO: TCP Data received {"connection_id":205983,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af1d7c0012d7f8d0005afdc580005003526..."} 
[2026-10-05 12:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af1d7c0012d7f8d0005afdc580005003526..."} 
[2026-10-05 12:55:38] local.INFO: Processing buffer {"connection_id":205983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af1d7c0012d7f8d0005afdc580005003526..."} 
[2026-10-05 12:55:38] local.INFO: Packet analysis {"connection_id":205983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af1"} 
[2026-10-05 12:55:38] local.INFO: Extracted packet for processing {"connection_id":205983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af1"} 
[2026-10-05 12:55:38] local.INFO: GPS Element Parsed {"raw_longitude":763333888,"raw_latitude":95411288,"longitude_deg":76.3333888,"latitude_deg":9.5411288,"altitude":5,"angle":53,"satellites":38,"speed":0,"hex_longitude":"2d7f8d00","hex_latitude":"05afdc58","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543350528001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893883009040384,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190932070214158336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791184984000,"timestamp_ms":1791184984000,"timestamp_seconds":1791184984,"priority":1,"record_length":96,"hex_timestamp":"000001a10af1d7c0"} 
[2026-10-05 12:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:55:38] 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-10-05 12: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-10-05 12:55:38] 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-10-05 12: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-10-05 12:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543350528001,"66":25028,"250":206,"85":12544,"24":0,"16":1893883009040384,"45":9190932070214158336},"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-10-05 12:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543350528001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:55:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:55:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893883009040384,"km_value":1893883009040.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190932070214158336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543350528001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190932070214158336}} 
[2026-10-05 12:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":205983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:55:38] local.INFO: GPS data processed {"connection_id":205983,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:55:38] local.INFO: Acknowledgment sent {"connection_id":205983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:55:40] local.INFO: TCP Data received {"connection_id":204434,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204434,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:55:40] local.INFO: Processing buffer {"connection_id":204434,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:55:40] local.INFO: IMEI packet received {"connection_id":204434,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":204434,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:55:40] local.INFO: TCP Data received {"connection_id":204434,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:55:40] local.INFO: Processing buffer {"connection_id":204434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:55:40] local.INFO: Packet analysis {"connection_id":204434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:55:40] local.INFO: Extracted packet for processing {"connection_id":204434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:55:40] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543242752001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958262349097410562,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791184843000,"timestamp_ms":1791184843000,"timestamp_seconds":1791184843,"priority":1,"record_length":96,"hex_timestamp":"000001a10aefb0f8"} 
[2026-10-05 12:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-05 12:55:40] 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-10-05 12:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204434,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204434,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543242752001,"66":26713,"241":206,"9":8448,"24":0,"16":8752305830625280,"44":5958262349097410562},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-10-05 12:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543242752001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:55:40] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-05 12:55:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 12:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:55:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958262349097410562,"description":"Unknown IO ID 44"} 
[2026-10-05 12:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543242752001,"power":26713,"unknown_241":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5958262349097410562}} 
[2026-10-05 12:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":204434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967330,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:55:41] local.INFO: GPS data processed {"connection_id":204434,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:55:41] local.INFO: Acknowledgment sent {"connection_id":204434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:55:48] local.INFO: TCP Data received {"connection_id":204433,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af1fae8012d1adb80071f8688003c01132d..."} 
[2026-10-05 12:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af1fae8012d1adb80071f8688003c01132d..."} 
[2026-10-05 12:55:48] local.INFO: Processing buffer {"connection_id":204433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af1fae8012d1adb80071f8688003c01132d..."} 
[2026-10-05 12:55:48] local.INFO: Packet analysis {"connection_id":204433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af1"} 
[2026-10-05 12:55:48] local.INFO: Extracted packet for processing {"connection_id":204433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af1"} 
[2026-10-05 12:55:48] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543352832001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791184993000,"timestamp_ms":1791184993000,"timestamp_seconds":1791184993,"priority":1,"record_length":96,"hex_timestamp":"000001a10af1fae8"} 
[2026-10-05 12:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:55:48] 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-10-05 12:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:55:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:55:48] 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-10-05 12:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543352832001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543352832001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:55:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:55:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543352832001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":204433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:55:48] local.INFO: GPS data processed {"connection_id":204433,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:55:48] local.INFO: Acknowledgment sent {"connection_id":204433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:55:54] local.INFO: TCP Data received {"connection_id":207528,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:55:54] local.INFO: Processing buffer {"connection_id":207528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:55:54] local.INFO: IMEI packet received {"connection_id":207528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 12:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":207528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:55:59] local.INFO: TCP Data received {"connection_id":204579,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:55:59] local.INFO: Processing buffer {"connection_id":204579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:55:59] local.INFO: IMEI packet received {"connection_id":204579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":204579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:56:00] local.INFO: TCP Data received {"connection_id":207528,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:56:00] local.INFO: Processing buffer {"connection_id":207528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:56:00] local.INFO: IMEI packet received {"connection_id":207528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":207528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:56:01] local.INFO: TCP Data received {"connection_id":207528,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af229c8012d7f8d0005afdc480005003527..."} 
[2026-10-05 12:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af229c8012d7f8d0005afdc480005003527..."} 
[2026-10-05 12:56:01] local.INFO: Processing buffer {"connection_id":207528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af229c8012d7f8d0005afdc480005003527..."} 
[2026-10-05 12:56:01] local.INFO: Packet analysis {"connection_id":207528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:56:01] local.INFO: Extracted packet for processing {"connection_id":207528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:56:01] local.INFO: GPS Element Parsed {"raw_longitude":763333888,"raw_latitude":95411272,"longitude_deg":76.3333888,"latitude_deg":9.5411272,"altitude":5,"angle":53,"satellites":39,"speed":0,"hex_longitude":"2d7f8d00","hex_latitude":"05afdc48","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543355904001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893887304007680,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191002438958340096,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56: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-10-05 12:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791185005000,"timestamp_ms":1791185005000,"timestamp_seconds":1791185005,"priority":1,"record_length":96,"hex_timestamp":"000001a10af229c8"} 
[2026-10-05 12:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:56:01] 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-10-05 12: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-05 12:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12: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-10-05 12:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:56: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-10-05 12:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543355904001,"66":25060,"250":206,"85":12544,"24":0,"16":1893887304007680,"45":9191002438958340096},"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-10-05 12:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543355904001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:56:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:56:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893887304007680,"km_value":1893887304007.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191002438958340096,"description":"Unknown IO ID 45"} 
[2026-10-05 12:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543355904001,"power":25060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191002438958340096}} 
[2026-10-05 12:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":207528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:56:01] local.INFO: GPS data processed {"connection_id":207528,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:56:01] local.INFO: Acknowledgment sent {"connection_id":207528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:56:04] local.INFO: TCP Data received {"connection_id":204579,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:56:04] local.INFO: Processing buffer {"connection_id":204579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:56:04] local.INFO: IMEI packet received {"connection_id":204579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":204579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:56:05] local.INFO: TCP Data received {"connection_id":207529,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:56:05] local.INFO: Processing buffer {"connection_id":207529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:56:05] local.INFO: IMEI packet received {"connection_id":207529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":207529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:56:06] local.INFO: TCP Data received {"connection_id":204579,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:56:06] local.INFO: Processing buffer {"connection_id":204579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:56:06] local.INFO: Packet analysis {"connection_id":204579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:56:06] local.INFO: Extracted packet for processing {"connection_id":204579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:56:06] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":33,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543284480001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:06] 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-10-05 12:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791185006000,"timestamp_ms":1791185006000,"timestamp_seconds":1791185006,"priority":1,"record_length":96,"hex_timestamp":"000001a10af22db0"} 
[2026-10-05 12:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:56: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-10-05 12: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 12:56:06] 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-10-05 12: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-10-05 12:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:56:06] 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-10-05 12:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543284480001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543284480001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:56:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:56:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543284480001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":204579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:56:06] local.INFO: GPS data processed {"connection_id":204579,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:56:06] local.INFO: Acknowledgment sent {"connection_id":204579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:56:11] local.INFO: TCP Data received {"connection_id":207529,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:56:11] local.INFO: Processing buffer {"connection_id":207529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:56:11] local.INFO: IMEI packet received {"connection_id":207529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":207529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:56:11] local.INFO: TCP Data received {"connection_id":207529,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af24cf0012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af24cf0012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:56:11] local.INFO: Processing buffer {"connection_id":207529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af24cf0012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:56:11] local.INFO: Packet analysis {"connection_id":207529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:56:11] local.INFO: Extracted packet for processing {"connection_id":207529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:56:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543358208001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:11] 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-10-05 12:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791185014000,"timestamp_ms":1791185014000,"timestamp_seconds":1791185014,"priority":1,"record_length":96,"hex_timestamp":"000001a10af24cf0"} 
[2026-10-05 12:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:56:11] 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-10-05 12:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:11] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":788055923933125339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77452897595424768,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3418514474639098062,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:56:11] local.WARNING: Large IO value detected {"io_id":96,"raw_value":3221302554,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:11] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:11] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:11] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,211,161,168,45,128,134,60,42,10,66,86,4,1,240,233,227,31,113,205,96,219,136,44,239,47,2,88,7,43],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:56:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758201246842880,"timestamp_seconds":4323758201246843.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:56:11] 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-10-05 12:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543358208001,"66":11471,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543358208001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:56:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:56:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543358208001,"power":11471,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":207529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:56:12] local.INFO: GPS data processed {"connection_id":207529,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:56:12] local.INFO: Acknowledgment sent {"connection_id":207529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:56:12] local.INFO: TCP Data received {"connection_id":204434,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:56:12] local.INFO: Processing buffer {"connection_id":204434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aefb0f8012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:56:12] local.INFO: Packet analysis {"connection_id":204434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:56:12] local.INFO: Extracted packet for processing {"connection_id":204434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aef"} 
[2026-10-05 12:56:12] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543242752001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958262349097410562,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791184843000,"timestamp_ms":1791184843000,"timestamp_seconds":1791184843,"priority":1,"record_length":96,"hex_timestamp":"000001a10aefb0f8"} 
[2026-10-05 12:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-05 12:56:12] 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-10-05 12:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204434,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204434,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543242752001,"66":26713,"241":206,"9":8448,"24":0,"16":8752305830625280,"44":5958262349097410562},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-10-05 12:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543242752001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:56:12] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-05 12:56:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 12:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:56:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958262349097410562,"description":"Unknown IO ID 44"} 
[2026-10-05 12:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543242752001,"power":26713,"unknown_241":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5958262349097410562}} 
[2026-10-05 12:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":204434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967335,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:56:12] local.INFO: GPS data processed {"connection_id":204434,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:56:12] local.INFO: Acknowledgment sent {"connection_id":204434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:56:32] local.INFO: TCP Data received {"connection_id":207528,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af27bd0012d7f8d0005afdc700005003526..."} 
[2026-10-05 12:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af27bd0012d7f8d0005afdc700005003526..."} 
[2026-10-05 12:56:32] local.INFO: Processing buffer {"connection_id":207528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af27bd0012d7f8d0005afdc700005003526..."} 
[2026-10-05 12:56:32] local.INFO: Packet analysis {"connection_id":207528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:56:32] local.INFO: Extracted packet for processing {"connection_id":207528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763333888,"raw_latitude":95411312,"longitude_deg":76.3333888,"latitude_deg":9.5411312,"altitude":5,"angle":53,"satellites":38,"speed":0,"hex_longitude":"2d7f8d00","hex_latitude":"05afdc70","is_valid_coordinates":true} 
[2026-10-05 12:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543361280001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893891598974976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191002438958336000,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56: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-10-05 12:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791185026000,"timestamp_ms":1791185026000,"timestamp_seconds":1791185026,"priority":1,"record_length":96,"hex_timestamp":"000001a10af27bd0"} 
[2026-10-05 12:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:56: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-10-05 12:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-05 12:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543361280001,"66":25093,"250":206,"85":12544,"24":0,"16":1893891598974976,"45":9191002438958336000},"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-10-05 12:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543361280001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:56:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:56:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893891598974976,"km_value":1893891598974.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191002438958336000,"description":"Unknown IO ID 45"} 
[2026-10-05 12:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543361280001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191002438958336000}} 
[2026-10-05 12:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":207528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:56:32] local.INFO: GPS data processed {"connection_id":207528,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:56:32] local.INFO: Acknowledgment sent {"connection_id":207528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:56:37] local.INFO: TCP Data received {"connection_id":204579,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:56:37] local.INFO: Processing buffer {"connection_id":204579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:56:37] local.INFO: Packet analysis {"connection_id":204579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:56:37] local.INFO: Extracted packet for processing {"connection_id":204579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:56:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":33,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543284480001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:37] 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-10-05 12:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791185006000,"timestamp_ms":1791185006000,"timestamp_seconds":1791185006,"priority":1,"record_length":96,"hex_timestamp":"000001a10af22db0"} 
[2026-10-05 12:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 12:56:37] 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-10-05 12:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:56:37] 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-10-05 12:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543284480001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543284480001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:56:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:56:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543284480001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":204579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:56:37] local.INFO: GPS data processed {"connection_id":204579,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:56:37] local.INFO: Acknowledgment sent {"connection_id":204579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:56:39] local.INFO: TCP Data received {"connection_id":204435,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204435,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:56:39] local.INFO: Processing buffer {"connection_id":204435,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:56:39] local.INFO: IMEI packet received {"connection_id":204435,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":204435,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:56:43] local.INFO: TCP Data received {"connection_id":207529,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af29ef8012d1adb80071f8688003c011329..."} 
[2026-10-05 12:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af29ef8012d1adb80071f8688003c011329..."} 
[2026-10-05 12:56:43] local.INFO: Processing buffer {"connection_id":207529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af29ef8012d1adb80071f8688003c011329..."} 
[2026-10-05 12:56:43] local.INFO: Packet analysis {"connection_id":207529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:56:43] local.INFO: Extracted packet for processing {"connection_id":207529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:56:43] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543363584001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791185035000,"timestamp_ms":1791185035000,"timestamp_seconds":1791185035,"priority":1,"record_length":96,"hex_timestamp":"000001a10af29ef8"} 
[2026-10-05 12:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:56:43] 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-10-05 12: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":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-05 12:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12: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-10-05 12:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:56:43] 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-10-05 12:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543363584001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543363584001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:56:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:56:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543363584001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":207529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:56:43] local.INFO: GPS data processed {"connection_id":207529,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:56:43] local.INFO: Acknowledgment sent {"connection_id":207529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:56:45] local.INFO: TCP Data received {"connection_id":204435,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204435,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:56:45] local.INFO: Processing buffer {"connection_id":204435,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:56:45] local.INFO: IMEI packet received {"connection_id":204435,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":204435,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:56:46] local.INFO: TCP Data received {"connection_id":204435,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10af448c0012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af448c0012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:56:46] local.INFO: Processing buffer {"connection_id":204435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af448c0012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:56:46] local.INFO: Packet analysis {"connection_id":204435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af4"} 
[2026-10-05 12:56:46] local.INFO: Extracted packet for processing {"connection_id":204435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af4"} 
[2026-10-05 12:56:46] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:56: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-10-05 12:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543319808001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958262349097410562,"note":"Value kept but may cause issues"} 
[2026-10-05 12:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791185144000,"timestamp_ms":1791185144000,"timestamp_seconds":1791185144,"priority":1,"record_length":96,"hex_timestamp":"000001a10af448c0"} 
[2026-10-05 12:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:56: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":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-10-05 12:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:56: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-10-05 12:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204435,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204435,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543319808001,"66":26604,"241":206,"9":8448,"24":0,"16":8752305830625280,"44":5958262349097410562},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-10-05 12:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543319808001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:56:46] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-05 12:56:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 12:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:56:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958262349097410562,"description":"Unknown IO ID 44"} 
[2026-10-05 12:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543319808001,"power":26604,"unknown_241":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5958262349097410562}} 
[2026-10-05 12:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":204435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967339,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:56:46] local.INFO: GPS data processed {"connection_id":204435,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:56:46] local.INFO: Acknowledgment sent {"connection_id":204435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:56:54] local.INFO: TCP Data received {"connection_id":207530,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:56:54] local.INFO: Processing buffer {"connection_id":207530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:56:54] local.INFO: IMEI packet received {"connection_id":207530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 12:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":207530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:57:00] local.INFO: TCP Data received {"connection_id":207530,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:57:00] local.INFO: Processing buffer {"connection_id":207530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:57:00] local.INFO: IMEI packet received {"connection_id":207530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":207530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:57:00] local.INFO: TCP Data received {"connection_id":207531,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207531,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:57:00] local.INFO: Processing buffer {"connection_id":207531,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:57:00] local.INFO: IMEI packet received {"connection_id":207531,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":207531,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:57:01] local.INFO: TCP Data received {"connection_id":207530,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af2cdd8012d7f8d4005afdca00005003526..."} 
[2026-10-05 12:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af2cdd8012d7f8d4005afdca00005003526..."} 
[2026-10-05 12:57:01] local.INFO: Processing buffer {"connection_id":207530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af2cdd8012d7f8d4005afdca00005003526..."} 
[2026-10-05 12:57:01] local.INFO: Packet analysis {"connection_id":207530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:57:01] local.INFO: Extracted packet for processing {"connection_id":207530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:57:01] local.INFO: GPS Element Parsed {"raw_longitude":763333952,"raw_latitude":95411360,"longitude_deg":76.3333952,"latitude_deg":9.541136,"altitude":5,"angle":53,"satellites":38,"speed":0,"hex_longitude":"2d7f8d40","hex_latitude":"05afdca0","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543366656001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893895893942272,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191002438958346240,"note":"Value kept but may cause issues"} 
[2026-10-05 12: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-10-05 12:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791185047000,"timestamp_ms":1791185047000,"timestamp_seconds":1791185047,"priority":1,"record_length":96,"hex_timestamp":"000001a10af2cdd8"} 
[2026-10-05 12:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:57:01] 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-10-05 12: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-05 12:57:01] 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-10-05 12: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-10-05 12:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:57: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-10-05 12:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543366656001,"66":25125,"250":206,"85":12544,"24":0,"16":1893895893942272,"45":9191002438958346240},"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-10-05 12:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543366656001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:57:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:57:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893895893942272,"km_value":1893895893942.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191002438958346240,"description":"Unknown IO ID 45"} 
[2026-10-05 12:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543366656001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191002438958346240}} 
[2026-10-05 12:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":207530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:57:01] local.INFO: GPS data processed {"connection_id":207530,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:57:01] local.INFO: Acknowledgment sent {"connection_id":207530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:57:04] local.INFO: TCP Data received {"connection_id":207531,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207531,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:57:04] local.INFO: Processing buffer {"connection_id":207531,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:57:04] local.INFO: IMEI packet received {"connection_id":207531,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":207531,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:57:05] local.INFO: TCP Data received {"connection_id":207531,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:57:05] local.INFO: Processing buffer {"connection_id":207531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:57:05] local.INFO: Packet analysis {"connection_id":207531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:57:05] local.INFO: Extracted packet for processing {"connection_id":207531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:57:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":33,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543284480001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:05] 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-10-05 12:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791185006000,"timestamp_ms":1791185006000,"timestamp_seconds":1791185006,"priority":1,"record_length":96,"hex_timestamp":"000001a10af22db0"} 
[2026-10-05 12:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:57: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-10-05 12:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 12:57:05] 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-10-05 12:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543284480001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543284480001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:57:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:57:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543284480001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":207531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967341,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:57:05] local.INFO: GPS data processed {"connection_id":207531,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:57:05] local.INFO: Acknowledgment sent {"connection_id":207531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:57:05] local.INFO: TCP Data received {"connection_id":207532,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:57:05] local.INFO: Processing buffer {"connection_id":207532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:57:05] local.INFO: IMEI packet received {"connection_id":207532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":207532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:57:11] local.INFO: TCP Data received {"connection_id":207532,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:57:11] local.INFO: Processing buffer {"connection_id":207532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:57:11] local.INFO: IMEI packet received {"connection_id":207532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":207532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:57:12] local.INFO: TCP Data received {"connection_id":207532,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af2f100012d1adb80071f8688003c01132d..."} 
[2026-10-05 12:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af2f100012d1adb80071f8688003c01132d..."} 
[2026-10-05 12:57:12] local.INFO: Processing buffer {"connection_id":207532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af2f100012d1adb80071f8688003c01132d..."} 
[2026-10-05 12:57:12] local.INFO: Packet analysis {"connection_id":207532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:57:12] local.INFO: Extracted packet for processing {"connection_id":207532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:57:12] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:57: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-10-05 12:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543368960001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791185056000,"timestamp_ms":1791185056000,"timestamp_seconds":1791185056,"priority":1,"record_length":96,"hex_timestamp":"000001a10af2f100"} 
[2026-10-05 12:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:57:12] 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-10-05 12:57: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:12] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:12] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:12] local.WARNING: Large IO value detected {"io_id":161,"raw_value":788236312559557339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:12] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:12] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77452897595424768,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:12] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:12] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332011214,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:12] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:12] local.WARNING: Large IO value detected {"io_id":4,"raw_value":3489738010,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:57:12] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:12] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3909143928,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:12] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:12] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,101,83,24,241,157,16,211,161,76,45,128,134,60,43,10,66,250,168,1,240,255,227,31,4,113,205,219,136,239,47,2,88,7,44],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:57:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758184066973696,"timestamp_seconds":4323758184066973.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":207532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":207532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":207532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:57:12] 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-10-05 12:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543368960001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543368960001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:57:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:57:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543368960001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":207532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:57:12] local.INFO: GPS data processed {"connection_id":207532,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:57:12] local.INFO: Acknowledgment sent {"connection_id":207532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:57:17] local.INFO: TCP Data received {"connection_id":204435,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10af448c0012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af448c0012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:57:17] local.INFO: Processing buffer {"connection_id":204435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af448c0012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:57:17] local.INFO: Packet analysis {"connection_id":204435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af4"} 
[2026-10-05 12:57:17] local.INFO: Extracted packet for processing {"connection_id":204435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af4"} 
[2026-10-05 12:57:17] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543319808001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958262349097410562,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791185144000,"timestamp_ms":1791185144000,"timestamp_seconds":1791185144,"priority":1,"record_length":96,"hex_timestamp":"000001a10af448c0"} 
[2026-10-05 12:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-10-05 12:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":204435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":204435,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":204435,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543319808001,"66":26604,"241":206,"9":8448,"24":0,"16":8752305830625280,"44":5958262349097410562},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-10-05 12:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543319808001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:57:17] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-05 12:57:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 12:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:57:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958262349097410562,"description":"Unknown IO ID 44"} 
[2026-10-05 12:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543319808001,"power":26604,"unknown_241":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5958262349097410562}} 
[2026-10-05 12:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":204435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967343,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:57:17] local.INFO: GPS data processed {"connection_id":204435,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:57:17] local.INFO: Acknowledgment sent {"connection_id":204435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:57:31] local.INFO: TCP Data received {"connection_id":207530,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af31fe0012d7f8d4005afdca80005003527..."} 
[2026-10-05 12:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af31fe0012d7f8d4005afdca80005003527..."} 
[2026-10-05 12:57:31] local.INFO: Processing buffer {"connection_id":207530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af31fe0012d7f8d4005afdca80005003527..."} 
[2026-10-05 12:57:31] local.INFO: Packet analysis {"connection_id":207530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af3"} 
[2026-10-05 12:57:31] local.INFO: Extracted packet for processing {"connection_id":207530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af3"} 
[2026-10-05 12:57:31] local.INFO: GPS Element Parsed {"raw_longitude":763333952,"raw_latitude":95411368,"longitude_deg":76.3333952,"latitude_deg":9.5411368,"altitude":5,"angle":53,"satellites":39,"speed":0,"hex_longitude":"2d7f8d40","hex_latitude":"05afdca8","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543372032001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893908778844160,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191072807702536192,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57: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-10-05 12:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791185068000,"timestamp_ms":1791185068000,"timestamp_seconds":1791185068,"priority":1,"record_length":96,"hex_timestamp":"000001a10af31fe0"} 
[2026-10-05 12:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:57:31] 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-10-05 12: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-10-05 12:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12: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-10-05 12:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543372032001,"66":25093,"250":206,"85":12544,"24":0,"16":1893908778844160,"45":9191072807702536192},"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-10-05 12:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543372032001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:57:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:57:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893908778844160,"km_value":1893908778844.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191072807702536192,"description":"Unknown IO ID 45"} 
[2026-10-05 12:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543372032001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191072807702536192}} 
[2026-10-05 12:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":207530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:57:31] local.INFO: GPS data processed {"connection_id":207530,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:57:31] local.INFO: Acknowledgment sent {"connection_id":207530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:57:36] local.INFO: TCP Data received {"connection_id":205984,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:57:36] local.INFO: Processing buffer {"connection_id":205984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:57:36] local.INFO: IMEI packet received {"connection_id":205984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":205984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:57:37] local.INFO: TCP Data received {"connection_id":207531,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:57:37] local.INFO: Processing buffer {"connection_id":207531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:57:37] local.INFO: Packet analysis {"connection_id":207531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:57:37] local.INFO: Extracted packet for processing {"connection_id":207531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:57:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":33,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543284480001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:37] 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-10-05 12:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791185006000,"timestamp_ms":1791185006000,"timestamp_seconds":1791185006,"priority":1,"record_length":96,"hex_timestamp":"000001a10af22db0"} 
[2026-10-05 12:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 12:57:37] 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-10-05 12: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-10-05 12:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543284480001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543284480001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:57:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:57:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543284480001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":207531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:57:37] local.INFO: GPS data processed {"connection_id":207531,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:57:37] local.INFO: Acknowledgment sent {"connection_id":207531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:57:39] local.INFO: TCP Data received {"connection_id":205984,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:57:39] local.INFO: Processing buffer {"connection_id":205984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:57:39] local.INFO: IMEI packet received {"connection_id":205984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":205984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:57:40] local.INFO: TCP Data received {"connection_id":205984,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10af448c0012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af448c0012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:57:40] local.INFO: Processing buffer {"connection_id":205984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af448c0012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:57:40] local.INFO: Packet analysis {"connection_id":205984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af4"} 
[2026-10-05 12:57:40] local.INFO: Extracted packet for processing {"connection_id":205984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af4"} 
[2026-10-05 12:57:40] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543319808001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958262349097410562,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791185144000,"timestamp_ms":1791185144000,"timestamp_seconds":1791185144,"priority":1,"record_length":96,"hex_timestamp":"000001a10af448c0"} 
[2026-10-05 12:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-10-05 12:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":205984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":205984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":205984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543319808001,"66":26604,"241":206,"9":8448,"24":0,"16":8752305830625280,"44":5958262349097410562},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-10-05 12:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543319808001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:57:40] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-05 12:57:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 12:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:57:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958262349097410562,"description":"Unknown IO ID 44"} 
[2026-10-05 12:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543319808001,"power":26604,"unknown_241":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5958262349097410562}} 
[2026-10-05 12:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":205984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967346,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:57:40] local.INFO: GPS data processed {"connection_id":205984,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:57:40] local.INFO: Acknowledgment sent {"connection_id":205984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:57:43] local.INFO: TCP Data received {"connection_id":207532,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af34308012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af34308012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:57:43] local.INFO: Processing buffer {"connection_id":207532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af34308012d1adb80071f8688003c01132c..."} 
[2026-10-05 12:57:43] local.INFO: Packet analysis {"connection_id":207532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af3"} 
[2026-10-05 12:57:43] local.INFO: Extracted packet for processing {"connection_id":207532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af3"} 
[2026-10-05 12:57:43] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:57: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-10-05 12:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543374336001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791185077000,"timestamp_ms":1791185077000,"timestamp_seconds":1791185077,"priority":1,"record_length":96,"hex_timestamp":"000001a10af34308"} 
[2026-10-05 12:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:57:43] 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-10-05 12:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 12:57:43] 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-10-05 12:57: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-10-05 12:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:57:43] 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-10-05 12:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543374336001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543374336001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:57:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:57:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543374336001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":207532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:57:43] local.INFO: GPS data processed {"connection_id":207532,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:57:43] local.INFO: Acknowledgment sent {"connection_id":207532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:57:45] local.INFO: TCP Data received {"connection_id":205984,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10af448c0012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af448c0012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:57:45] local.INFO: Processing buffer {"connection_id":205984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af448c0012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:57:45] local.INFO: Packet analysis {"connection_id":205984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af4"} 
[2026-10-05 12:57:45] local.INFO: Extracted packet for processing {"connection_id":205984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af4"} 
[2026-10-05 12:57:45] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543319808001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958262349097410562,"note":"Value kept but may cause issues"} 
[2026-10-05 12:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791185144000,"timestamp_ms":1791185144000,"timestamp_seconds":1791185144,"priority":1,"record_length":96,"hex_timestamp":"000001a10af448c0"} 
[2026-10-05 12:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-10-05 12:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":205984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":205984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":205984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543319808001,"66":26604,"241":206,"9":8448,"24":0,"16":8752305830625280,"44":5958262349097410562},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-10-05 12:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543319808001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:57:45] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-05 12:57:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 12:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:57:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958262349097410562,"description":"Unknown IO ID 44"} 
[2026-10-05 12:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543319808001,"power":26604,"unknown_241":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5958262349097410562}} 
[2026-10-05 12:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":205984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967348,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:57:45] local.INFO: GPS data processed {"connection_id":205984,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:57:45] local.INFO: Acknowledgment sent {"connection_id":205984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:57:54] local.INFO: TCP Data received {"connection_id":204436,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:57:54] local.INFO: Processing buffer {"connection_id":204436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:57:54] local.INFO: IMEI packet received {"connection_id":204436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 12:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":204436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:57:54] local.INFO: TCP Data received {"connection_id":204436,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:57:54] local.INFO: Processing buffer {"connection_id":204436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:57:54] local.INFO: IMEI packet received {"connection_id":204436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":204436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:58:00] local.INFO: TCP Data received {"connection_id":205985,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:58:00] local.INFO: Processing buffer {"connection_id":205985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:58:00] local.INFO: IMEI packet received {"connection_id":205985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":205985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:58:00] local.INFO: TCP Data received {"connection_id":204436,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:58:00] local.INFO: Processing buffer {"connection_id":204436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:58:00] local.INFO: IMEI packet received {"connection_id":204436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":204436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:58:00] local.INFO: TCP Data received {"connection_id":204436,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af371e8012d7f8d4005afdc980005003526..."} 
[2026-10-05 12:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af371e8012d7f8d4005afdc980005003526..."} 
[2026-10-05 12:58:00] local.INFO: Processing buffer {"connection_id":204436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af371e8012d7f8d4005afdc980005003526..."} 
[2026-10-05 12:58:00] local.INFO: Packet analysis {"connection_id":204436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af3"} 
[2026-10-05 12:58:00] local.INFO: Extracted packet for processing {"connection_id":204436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af3"} 
[2026-10-05 12:58:00] local.INFO: GPS Element Parsed {"raw_longitude":763333952,"raw_latitude":95411352,"longitude_deg":76.3333952,"latitude_deg":9.5411352,"altitude":5,"angle":53,"satellites":38,"speed":0,"hex_longitude":"2d7f8d40","hex_latitude":"05afdc98","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543377408001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893908778844160,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191072807702538240,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58: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-10-05 12:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791185089000,"timestamp_ms":1791185089000,"timestamp_seconds":1791185089,"priority":1,"record_length":96,"hex_timestamp":"000001a10af371e8"} 
[2026-10-05 12:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:58:00] 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-10-05 12: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-05 12:58:00] 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-10-05 12: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-10-05 12:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:58: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-10-05 12:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543377408001,"66":25093,"250":206,"85":12544,"24":0,"16":1893908778844160,"45":9191072807702538240},"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-10-05 12:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543377408001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:58:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:58:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893908778844160,"km_value":1893908778844.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191072807702538240,"description":"Unknown IO ID 45"} 
[2026-10-05 12:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543377408001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191072807702538240}} 
[2026-10-05 12:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":204436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:58:00] local.INFO: GPS data processed {"connection_id":204436,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:58:00] local.INFO: Acknowledgment sent {"connection_id":204436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:58:03] local.INFO: TCP Data received {"connection_id":204580,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:58:03] local.INFO: Processing buffer {"connection_id":204580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:58:03] local.INFO: IMEI packet received {"connection_id":204580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":204580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:58:04] local.INFO: TCP Data received {"connection_id":205985,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:58:04] local.INFO: Processing buffer {"connection_id":205985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:58:04] local.INFO: IMEI packet received {"connection_id":205985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":205985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:58:05] local.INFO: TCP Data received {"connection_id":205985,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:58:05] local.INFO: Processing buffer {"connection_id":205985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af22db0012d7b524005e13b08000c00a921..."} 
[2026-10-05 12:58:05] local.INFO: Packet analysis {"connection_id":205985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:58:05] local.INFO: Extracted packet for processing {"connection_id":205985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af2"} 
[2026-10-05 12:58:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":33,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543284480001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:05] 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-10-05 12:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791185006000,"timestamp_ms":1791185006000,"timestamp_seconds":1791185006,"priority":1,"record_length":96,"hex_timestamp":"000001a10af22db0"} 
[2026-10-05 12:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:58: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-10-05 12:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 12:58:05] 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-10-05 12:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:58:05] 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-10-05 12:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543284480001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543284480001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:58:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:58:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543284480001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":205985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:58:05] local.INFO: GPS data processed {"connection_id":205985,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:58:05] local.INFO: Acknowledgment sent {"connection_id":205985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:58:06] local.INFO: TCP Data received {"connection_id":204580,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:58:06] local.INFO: Processing buffer {"connection_id":204580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:58:06] local.INFO: IMEI packet received {"connection_id":204580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":204580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:58:10] local.INFO: TCP Data received {"connection_id":204580,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:58:10] local.INFO: Processing buffer {"connection_id":204580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:58:10] local.INFO: IMEI packet received {"connection_id":204580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":204580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:58:11] local.INFO: TCP Data received {"connection_id":204580,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af39510012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af39510012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:58:11] local.INFO: Processing buffer {"connection_id":204580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af39510012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:58:11] local.INFO: Packet analysis {"connection_id":204580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af3"} 
[2026-10-05 12:58:11] local.INFO: Extracted packet for processing {"connection_id":204580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af3"} 
[2026-10-05 12:58:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543379712001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:11] 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-10-05 12:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791185098000,"timestamp_ms":1791185098000,"timestamp_seconds":1791185098,"priority":1,"record_length":96,"hex_timestamp":"000001a10af39510"} 
[2026-10-05 12:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:58: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-10-05 12:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:11] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":788416701185989339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77455096618680320,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3449195247100559566,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:58:11] local.WARNING: Large IO value detected {"io_id":168,"raw_value":3758173466,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:11] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:11] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:11] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,211,161,45,128,134,60,10,66,158,41,76,1,240,207,227,31,4,113,205,168,219,136,42,239,47,2,88,7,43],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:58:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758196951875584,"timestamp_seconds":4323758196951875.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:58:11] 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-10-05 12:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543379712001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543379712001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:58:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:58:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543379712001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":204580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:58:11] local.INFO: GPS data processed {"connection_id":204580,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:58:11] local.INFO: Acknowledgment sent {"connection_id":204580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:58:16] local.INFO: TCP Data received {"connection_id":205984,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10af448c0012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af448c0012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:58:16] local.INFO: Processing buffer {"connection_id":205984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af448c0012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:58:16] local.INFO: Packet analysis {"connection_id":205984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af4"} 
[2026-10-05 12:58:16] local.INFO: Extracted packet for processing {"connection_id":205984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af4"} 
[2026-10-05 12:58:16] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543319808001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958262349097410562,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791185144000,"timestamp_ms":1791185144000,"timestamp_seconds":1791185144,"priority":1,"record_length":96,"hex_timestamp":"000001a10af448c0"} 
[2026-10-05 12:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-10-05 12:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543319808001,"66":26604,"241":206,"9":8448,"24":0,"16":8752305830625280,"44":5958262349097410562},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-10-05 12:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543319808001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:58:16] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-05 12:58:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 12:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:58:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958262349097410562,"description":"Unknown IO ID 44"} 
[2026-10-05 12:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543319808001,"power":26604,"unknown_241":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5958262349097410562}} 
[2026-10-05 12:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":205984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967352,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:58:16] local.INFO: GPS data processed {"connection_id":205984,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:58:16] local.INFO: Acknowledgment sent {"connection_id":205984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:58:32] local.INFO: TCP Data received {"connection_id":204436,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af3c3f0012d7f8d4005afdcc80005003527..."} 
[2026-10-05 12:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af3c3f0012d7f8d4005afdcc80005003527..."} 
[2026-10-05 12:58:32] local.INFO: Processing buffer {"connection_id":204436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af3c3f0012d7f8d4005afdcc80005003527..."} 
[2026-10-05 12:58:32] local.INFO: Packet analysis {"connection_id":204436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af3"} 
[2026-10-05 12:58:32] local.INFO: Extracted packet for processing {"connection_id":204436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af3"} 
[2026-10-05 12:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763333952,"raw_latitude":95411400,"longitude_deg":76.3333952,"latitude_deg":9.54114,"altitude":5,"angle":53,"satellites":39,"speed":0,"hex_longitude":"2d7f8d40","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-10-05 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-10-05 12:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543382784001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893913073811456,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191072807702534144,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58: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-10-05 12:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791185110000,"timestamp_ms":1791185110000,"timestamp_seconds":1791185110,"priority":1,"record_length":96,"hex_timestamp":"000001a10af3c3f0"} 
[2026-10-05 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-10-05 12:58:32] 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-10-05 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-05 12:58:32] 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-10-05 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-10-05 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-10-05 12:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543382784001,"66":25071,"250":206,"85":12544,"24":0,"16":1893913073811456,"45":9191072807702534144},"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-10-05 12:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543382784001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:58:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:58:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893913073811456,"km_value":1893913073811.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191072807702534144,"description":"Unknown IO ID 45"} 
[2026-10-05 12:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543382784001,"power":25071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191072807702534144}} 
[2026-10-05 12:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":204436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:58:32] local.INFO: GPS data processed {"connection_id":204436,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:58:32] local.INFO: Acknowledgment sent {"connection_id":204436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:58:34] local.INFO: TCP Data received {"connection_id":204581,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204581,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:58:34] local.INFO: Processing buffer {"connection_id":204581,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:58:34] local.INFO: IMEI packet received {"connection_id":204581,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":204581,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:58:37] local.INFO: TCP Data received {"connection_id":205985,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 12:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 12:58:37] local.INFO: Processing buffer {"connection_id":205985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 12:58:37] local.INFO: Packet analysis {"connection_id":205985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af6"} 
[2026-10-05 12:58:37] local.INFO: Extracted packet for processing {"connection_id":205985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af6"} 
[2026-10-05 12:58:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543361536001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:37] 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-10-05 12:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791185307000,"timestamp_ms":1791185307000,"timestamp_seconds":1791185307,"priority":1,"record_length":96,"hex_timestamp":"000001a10af6c578"} 
[2026-10-05 12:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 12:58: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-10-05 12: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-10-05 12:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:58:37] 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-10-05 12:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543361536001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543361536001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:58:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:58:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543361536001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":205985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:58:37] local.INFO: GPS data processed {"connection_id":205985,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:58:37] local.INFO: Acknowledgment sent {"connection_id":205985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:58:39] local.INFO: TCP Data received {"connection_id":204581,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204581,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:58:39] local.INFO: Processing buffer {"connection_id":204581,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:58:39] local.INFO: IMEI packet received {"connection_id":204581,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":204581,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:58:40] local.INFO: TCP Data received {"connection_id":204581,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10af448c0012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af448c0012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:58:40] local.INFO: Processing buffer {"connection_id":204581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af448c0012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:58:40] local.INFO: Packet analysis {"connection_id":204581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af4"} 
[2026-10-05 12:58:40] local.INFO: Extracted packet for processing {"connection_id":204581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af4"} 
[2026-10-05 12:58:40] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543319808001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958262349097410562,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791185144000,"timestamp_ms":1791185144000,"timestamp_seconds":1791185144,"priority":1,"record_length":96,"hex_timestamp":"000001a10af448c0"} 
[2026-10-05 12:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-10-05 12:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204581,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204581,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543319808001,"66":26604,"241":206,"9":8448,"24":0,"16":8752305830625280,"44":5958262349097410562},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-10-05 12:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543319808001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:58:40] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-05 12:58:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 12:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:58:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958262349097410562,"description":"Unknown IO ID 44"} 
[2026-10-05 12:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543319808001,"power":26604,"unknown_241":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5958262349097410562}} 
[2026-10-05 12:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":204581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967355,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:58:40] local.INFO: GPS data processed {"connection_id":204581,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:58:40] local.INFO: Acknowledgment sent {"connection_id":204581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:58:42] local.INFO: TCP Data received {"connection_id":204580,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af3e718012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af3e718012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:58:42] local.INFO: Processing buffer {"connection_id":204580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af3e718012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:58:42] local.INFO: Packet analysis {"connection_id":204580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af3"} 
[2026-10-05 12:58:42] local.INFO: Extracted packet for processing {"connection_id":204580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af3"} 
[2026-10-05 12:58:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543385088001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791185119000,"timestamp_ms":1791185119000,"timestamp_seconds":1791185119,"priority":1,"record_length":96,"hex_timestamp":"000001a10af3e718"} 
[2026-10-05 12:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:58: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-10-05 12:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:42] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:42] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:42] local.WARNING: Large IO value detected {"io_id":161,"raw_value":788506895499205339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:42] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:42] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77451798083796992,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:42] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:42] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332011214,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:58:42] local.WARNING: Large IO value detected {"io_id":250,"raw_value":3892391194,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:42] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:42] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:58:42] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,101,83,24,241,157,16,211,161,67,45,128,134,60,44,10,66,158,1,240,227,31,4,113,205,250,219,136,239,48,2,88,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:58:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758192656908288,"timestamp_seconds":4323758192656908.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:58:42] 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-10-05 12:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543385088001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543385088001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:58:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:58:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543385088001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":204580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:58:42] local.INFO: GPS data processed {"connection_id":204580,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:58:42] local.INFO: Acknowledgment sent {"connection_id":204580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:58:54] local.INFO: TCP Data received {"connection_id":207533,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:58:54] local.INFO: Processing buffer {"connection_id":207533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:58:54] local.INFO: IMEI packet received {"connection_id":207533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 12:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":207533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:58:57] local.INFO: TCP Data received {"connection_id":207533,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:58:57] local.INFO: Processing buffer {"connection_id":207533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:58:57] local.INFO: IMEI packet received {"connection_id":207533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":207533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:59:00] local.INFO: TCP Data received {"connection_id":207533,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:59:00] local.INFO: Processing buffer {"connection_id":207533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:59:00] local.INFO: IMEI packet received {"connection_id":207533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 12:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":207533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:59:00] local.INFO: TCP Data received {"connection_id":207533,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af415f8012d7f8d4005afdcd00005003525..."} 
[2026-10-05 12:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af415f8012d7f8d4005afdcd00005003525..."} 
[2026-10-05 12:59:00] local.INFO: Processing buffer {"connection_id":207533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af415f8012d7f8d4005afdcd00005003525..."} 
[2026-10-05 12:59:00] local.INFO: Packet analysis {"connection_id":207533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af4"} 
[2026-10-05 12:59:00] local.INFO: Extracted packet for processing {"connection_id":207533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af4"} 
[2026-10-05 12:59:00] local.INFO: GPS Element Parsed {"raw_longitude":763333952,"raw_latitude":95411408,"longitude_deg":76.3333952,"latitude_deg":9.5411408,"altitude":5,"angle":53,"satellites":37,"speed":0,"hex_longitude":"2d7f8d40","hex_latitude":"05afdcd0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 12:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543388160001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893913073811456,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191072807702546432,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59: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-10-05 12:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791185131000,"timestamp_ms":1791185131000,"timestamp_seconds":1791185131,"priority":1,"record_length":96,"hex_timestamp":"000001a10af415f8"} 
[2026-10-05 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-10-05 12:59: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-10-05 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-10-05 12:59:00] 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-10-05 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-10-05 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-10-05 12:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:59: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-10-05 12:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543388160001,"66":25147,"250":206,"85":12544,"24":0,"16":1893913073811456,"45":9191072807702546432},"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-10-05 12:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543388160001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:59:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:59:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893913073811456,"km_value":1893913073811.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191072807702546432,"description":"Unknown IO ID 45"} 
[2026-10-05 12:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543388160001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191072807702546432}} 
[2026-10-05 12:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":207533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:59:00] local.INFO: GPS data processed {"connection_id":207533,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:59:00] local.INFO: Acknowledgment sent {"connection_id":207533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:59:04] local.INFO: TCP Data received {"connection_id":204437,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:59:04] local.INFO: Processing buffer {"connection_id":204437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:59:04] local.INFO: IMEI packet received {"connection_id":204437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":204437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:59:05] local.INFO: TCP Data received {"connection_id":205986,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:59:05] local.INFO: Processing buffer {"connection_id":205986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:59:05] local.INFO: IMEI packet received {"connection_id":205986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 12:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":205986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:59:06] local.INFO: TCP Data received {"connection_id":205986,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:59:06] local.INFO: Processing buffer {"connection_id":205986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:59:06] local.INFO: IMEI packet received {"connection_id":205986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":205986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:59:09] local.INFO: TCP Data received {"connection_id":204437,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:59:09] local.INFO: Processing buffer {"connection_id":204437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:59:09] local.INFO: IMEI packet received {"connection_id":204437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 12:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":204437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:59:10] local.INFO: TCP Data received {"connection_id":204437,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 12:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 12:59:10] local.INFO: Processing buffer {"connection_id":204437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 12:59:10] local.INFO: Packet analysis {"connection_id":204437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af6"} 
[2026-10-05 12:59:10] local.INFO: Extracted packet for processing {"connection_id":204437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af6"} 
[2026-10-05 12:59:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12:59: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-10-05 12:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543361536001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:10] 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-10-05 12:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791185307000,"timestamp_ms":1791185307000,"timestamp_seconds":1791185307,"priority":1,"record_length":96,"hex_timestamp":"000001a10af6c578"} 
[2026-10-05 12:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 12:59:10] 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-10-05 12:59: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-10-05 12:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:59:10] 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-10-05 12:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543361536001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543361536001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:59:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:59:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543361536001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":204437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:59:10] local.INFO: GPS data processed {"connection_id":204437,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:59:10] local.INFO: Acknowledgment sent {"connection_id":204437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:59:10] local.INFO: TCP Data received {"connection_id":205986,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:59:10] local.INFO: Processing buffer {"connection_id":205986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 12:59:10] local.INFO: IMEI packet received {"connection_id":205986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 12:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":205986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:59:11] local.INFO: TCP Data received {"connection_id":205986,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af43920012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af43920012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:59:11] local.INFO: Processing buffer {"connection_id":205986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af43920012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:59:11] local.INFO: Packet analysis {"connection_id":205986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af4"} 
[2026-10-05 12:59:11] local.INFO: Extracted packet for processing {"connection_id":205986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af4"} 
[2026-10-05 12:59:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543390464001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:11] 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-10-05 12:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791185140000,"timestamp_ms":1791185140000,"timestamp_seconds":1791185140,"priority":1,"record_length":96,"hex_timestamp":"000001a10af43920"} 
[2026-10-05 12:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:59: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-10-05 12:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:11] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":788597089812421339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77455096618680320,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075828430,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3472936312,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:59:11] local.WARNING: Large IO value detected {"io_id":76,"raw_value":4026608922,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:11] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:11] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,101,83,24,241,157,16,211,161,149,45,128,134,60,43,10,66,67,44,1,240,255,227,31,4,113,205,76,219,136,239,2,88,7,42],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:59:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758192656908288,"timestamp_seconds":4323758192656908.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:59:11] 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-10-05 12:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543390464001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543390464001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:59:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:59:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543390464001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":205986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:59:11] local.INFO: GPS data processed {"connection_id":205986,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:59:11] local.INFO: Acknowledgment sent {"connection_id":205986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:59:11] local.INFO: TCP Data received {"connection_id":204581,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10af448c0012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af448c0012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:59:11] local.INFO: Processing buffer {"connection_id":204581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af448c0012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:59:11] local.INFO: Packet analysis {"connection_id":204581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af4"} 
[2026-10-05 12:59:11] local.INFO: Extracted packet for processing {"connection_id":204581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af4"} 
[2026-10-05 12:59:11] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543319808001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958262349097410562,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791185144000,"timestamp_ms":1791185144000,"timestamp_seconds":1791185144,"priority":1,"record_length":96,"hex_timestamp":"000001a10af448c0"} 
[2026-10-05 12:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-10-05 12:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204581,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204581,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543319808001,"66":26604,"241":206,"9":8448,"24":0,"16":8752305830625280,"44":5958262349097410562},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-10-05 12:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543319808001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:59:11] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-05 12:59:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 12:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:59:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958262349097410562,"description":"Unknown IO ID 44"} 
[2026-10-05 12:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543319808001,"power":26604,"unknown_241":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5958262349097410562}} 
[2026-10-05 12:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":204581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967360,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:59:11] local.INFO: GPS data processed {"connection_id":204581,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:59:11] local.INFO: Acknowledgment sent {"connection_id":204581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:59:15] local.INFO: TCP Data received {"connection_id":204437,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 12:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 12:59:15] local.INFO: Processing buffer {"connection_id":204437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 12:59:15] local.INFO: Packet analysis {"connection_id":204437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af6"} 
[2026-10-05 12:59:15] local.INFO: Extracted packet for processing {"connection_id":204437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af6"} 
[2026-10-05 12:59:15] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 12: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-10-05 12:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543361536001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:15] 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-10-05 12:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791185307000,"timestamp_ms":1791185307000,"timestamp_seconds":1791185307,"priority":1,"record_length":96,"hex_timestamp":"000001a10af6c578"} 
[2026-10-05 12:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 12:59:15] 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-10-05 12: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-10-05 12:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 12:59:15] 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-10-05 12:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 12:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 12:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543361536001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 12:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 12:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 12:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543361536001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:59:15] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 12:59:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 12:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 12:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543361536001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 12:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":204437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:59:15] local.INFO: GPS data processed {"connection_id":204437,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:59:15] local.INFO: Acknowledgment sent {"connection_id":204437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:59:31] local.INFO: TCP Data received {"connection_id":207533,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af703f8012d7f8e0005afdd300005005e23..."} 
[2026-10-05 12:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af703f8012d7f8e0005afdd300005005e23..."} 
[2026-10-05 12:59:31] local.INFO: Processing buffer {"connection_id":207533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af703f8012d7f8e0005afdd300005005e23..."} 
[2026-10-05 12:59:31] local.INFO: Packet analysis {"connection_id":207533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 12:59:31] local.INFO: Extracted packet for processing {"connection_id":207533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 12:59:31] local.INFO: GPS Element Parsed {"raw_longitude":763334144,"raw_latitude":95411504,"longitude_deg":76.3334144,"latitude_deg":9.5411504,"altitude":5,"angle":94,"satellites":35,"speed":1,"hex_longitude":"2d7f8e00","hex_latitude":"05afdd30","is_valid_coordinates":true} 
[2026-10-05 12:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543442176001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893968908386304,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191143176446752768,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59: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-10-05 12:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791185323000,"timestamp_ms":1791185323000,"timestamp_seconds":1791185323,"priority":1,"record_length":96,"hex_timestamp":"000001a10af703f8"} 
[2026-10-05 12:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:59: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-10-05 12:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-10-05 12:59:31] 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-10-05 12:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 12:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 12:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 12:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543442176001,"66":28028,"250":206,"85":12544,"24":1,"16":1893968908386304,"45":9191143176446752768},"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-10-05 12:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 12:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 12:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543442176001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:59:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 12:59:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 12:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893968908386304,"km_value":1893968908386.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191143176446752768,"description":"Unknown IO ID 45"} 
[2026-10-05 12:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543442176001,"power":28028,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191143176446752768}} 
[2026-10-05 12:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":207533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:59:31] local.INFO: GPS data processed {"connection_id":207533,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:59:31] local.INFO: Acknowledgment sent {"connection_id":207533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:59:34] local.INFO: TCP Data received {"connection_id":204582,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:59:34] local.INFO: Processing buffer {"connection_id":204582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:59:34] local.INFO: IMEI packet received {"connection_id":204582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 12:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":204582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:59:40] local.INFO: TCP Data received {"connection_id":204582,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:59:40] local.INFO: Processing buffer {"connection_id":204582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 12:59:40] local.INFO: IMEI packet received {"connection_id":204582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 12:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":204582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 12:59:40] local.INFO: TCP Data received {"connection_id":204582,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10af448c0012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af448c0012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:59:40] local.INFO: Processing buffer {"connection_id":204582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af448c0012c52b00009cc8920022f013d2d..."} 
[2026-10-05 12:59:40] local.INFO: Packet analysis {"connection_id":204582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af4"} 
[2026-10-05 12:59:40] local.INFO: Extracted packet for processing {"connection_id":204582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af4"} 
[2026-10-05 12:59:40] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 12:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543319808001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958262349097410562,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791185144000,"timestamp_ms":1791185144000,"timestamp_seconds":1791185144,"priority":1,"record_length":96,"hex_timestamp":"000001a10af448c0"} 
[2026-10-05 12:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 12:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-10-05 12:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 12:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 12:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 12:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 12:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 12:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 12:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543319808001,"66":26604,"241":206,"9":8448,"24":0,"16":8752305830625280,"44":5958262349097410562},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-10-05 12:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 12:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 12:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543319808001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:59:40] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-05 12:59:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 12:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:59:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958262349097410562,"description":"Unknown IO ID 44"} 
[2026-10-05 12:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543319808001,"power":26604,"unknown_241":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5958262349097410562}} 
[2026-10-05 12:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":204582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967363,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:59:40] local.INFO: GPS data processed {"connection_id":204582,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:59:40] local.INFO: Acknowledgment sent {"connection_id":204582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:59:42] local.INFO: TCP Data received {"connection_id":205986,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af48b28012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af48b28012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:59:42] local.INFO: Processing buffer {"connection_id":205986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af48b28012d1adb80071f8688003c01132b..."} 
[2026-10-05 12:59:42] local.INFO: Packet analysis {"connection_id":205986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af4"} 
[2026-10-05 12:59:42] local.INFO: Extracted packet for processing {"connection_id":205986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af4"} 
[2026-10-05 12:59:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 12:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 12:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543395840001,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 12:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791185161000,"timestamp_ms":1791185161000,"timestamp_seconds":1791185161,"priority":1,"record_length":96,"hex_timestamp":"000001a10af48b28"} 
[2026-10-05 12:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 12:59:42] 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-10-05 12:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 12:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:42] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:42] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:42] local.WARNING: Large IO value detected {"io_id":161,"raw_value":788687284125637339,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:42] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:42] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77452897595424768,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:42] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:42] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3228800340336115918,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 12:59:42] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4160826650,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:42] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:42] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 12:59:42] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,101,83,24,241,157,16,211,161,231,45,128,134,60,43,10,66,149,67,1,240,227,31,4,113,205,158,219,136,41,239,48,2,88,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 12:59:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758192656908288,"timestamp_seconds":4323758192656908.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 12:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 12:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 12:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":205986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 12:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":205986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":205986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 12:59:42] 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-10-05 12:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 12:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 12:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543395840001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 12:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 12:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 12:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543395840001,"description":"Unknown IO ID 0"} 
[2026-10-05 12:59:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 12:59:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 12:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 12:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 12:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543395840001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 12:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":205986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 12:59:42] local.INFO: GPS data processed {"connection_id":205986,"processed":1,"errors":0,"total":1} 
[2026-10-05 12:59:42] local.INFO: Acknowledgment sent {"connection_id":205986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 12:59:54] local.INFO: TCP Data received {"connection_id":204583,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:59:54] local.INFO: Processing buffer {"connection_id":204583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 12:59:54] local.INFO: IMEI packet received {"connection_id":204583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 12:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":204583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 12:59:59] local.INFO: TCP Data received {"connection_id":204438,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:59:59] local.INFO: Processing buffer {"connection_id":204438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 12:59:59] local.INFO: IMEI packet received {"connection_id":204438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 12:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":204438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:00:00] local.INFO: TCP Data received {"connection_id":204583,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:00:00] local.INFO: Processing buffer {"connection_id":204583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:00:00] local.INFO: IMEI packet received {"connection_id":204583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":204583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:00:01] local.INFO: TCP Data received {"connection_id":204583,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af70bc8012d7f8e4005afdd500005004624..."} 
[2026-10-05 13:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af70bc8012d7f8e4005afdd500005004624..."} 
[2026-10-05 13:00:01] local.INFO: Processing buffer {"connection_id":204583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af70bc8012d7f8e4005afdd500005004624..."} 
[2026-10-05 13:00:01] local.INFO: Packet analysis {"connection_id":204583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:00:01] local.INFO: Extracted packet for processing {"connection_id":204583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:00:01] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95411536,"longitude_deg":76.3334208,"latitude_deg":9.5411536,"altitude":5,"angle":70,"satellites":36,"speed":1,"hex_longitude":"2d7f8e40","hex_latitude":"05afdd50","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543442688001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893977498320896,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191283913935106048,"note":"Value kept but may cause issues"} 
[2026-10-05 13: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-10-05 13:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791185325000,"timestamp_ms":1791185325000,"timestamp_seconds":1791185325,"priority":1,"record_length":96,"hex_timestamp":"000001a10af70bc8"} 
[2026-10-05 13:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:00:01] 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-10-05 13: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-10-05 13:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:00: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-10-05 13:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543442688001,"66":27843,"250":206,"85":12544,"24":1,"16":1893977498320896,"45":9191283913935106048},"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-10-05 13:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543442688001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:00:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:00:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893977498320896,"km_value":1893977498320.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191283913935106048,"description":"Unknown IO ID 45"} 
[2026-10-05 13:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543442688001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191283913935106048}} 
[2026-10-05 13:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":204583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:00:01] local.INFO: GPS data processed {"connection_id":204583,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:00:01] local.INFO: Acknowledgment sent {"connection_id":204583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:00:04] local.INFO: TCP Data received {"connection_id":204438,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:00:04] local.INFO: Processing buffer {"connection_id":204438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:00:04] local.INFO: IMEI packet received {"connection_id":204438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":204438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:00:05] local.INFO: TCP Data received {"connection_id":204439,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:00:05] local.INFO: Processing buffer {"connection_id":204439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:00:05] local.INFO: IMEI packet received {"connection_id":204439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":204439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:00:06] local.INFO: TCP Data received {"connection_id":204438,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:00:06] local.INFO: Processing buffer {"connection_id":204438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:00:06] local.INFO: Packet analysis {"connection_id":204438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af6"} 
[2026-10-05 13:00:06] local.INFO: Extracted packet for processing {"connection_id":204438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af6"} 
[2026-10-05 13:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543361536001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:06] 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-10-05 13:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791185307000,"timestamp_ms":1791185307000,"timestamp_seconds":1791185307,"priority":1,"record_length":96,"hex_timestamp":"000001a10af6c578"} 
[2026-10-05 13:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:00: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-10-05 13: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:00: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-10-05 13: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-10-05 13:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543361536001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543361536001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:00:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:00:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543361536001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":204438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:00:06] local.INFO: GPS data processed {"connection_id":204438,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:00:06] local.INFO: Acknowledgment sent {"connection_id":204438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:00:09] local.INFO: TCP Data received {"connection_id":204439,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:00:09] local.INFO: Processing buffer {"connection_id":204439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:00:09] local.INFO: IMEI packet received {"connection_id":204439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":204439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:00:10] local.INFO: TCP Data received {"connection_id":204439,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:00:10] local.INFO: Processing buffer {"connection_id":204439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:00:10] local.INFO: IMEI packet received {"connection_id":204439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":204439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:00:11] local.INFO: TCP Data received {"connection_id":204439,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af4dd30012d1adb80071f8688003c01132a..."} 
[2026-10-05 13:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af4dd30012d1adb80071f8688003c01132a..."} 
[2026-10-05 13:00:11] local.INFO: Processing buffer {"connection_id":204439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af4dd30012d1adb80071f8688003c01132a..."} 
[2026-10-05 13:00:11] local.INFO: Packet analysis {"connection_id":204439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af4"} 
[2026-10-05 13:00:11] local.INFO: Extracted packet for processing {"connection_id":204439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af4"} 
[2026-10-05 13:00:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543401216001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:11] 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-10-05 13:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791185182000,"timestamp_ms":1791185182000,"timestamp_seconds":1791185182,"priority":1,"record_length":96,"hex_timestamp":"000001a10af4dd30"} 
[2026-10-05 13:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:00: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-10-05 13: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 13:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:11] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":788777478438853339,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77450698572169216,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075828430,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 13:00:11] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:11] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:11] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,101,83,24,241,157,16,211,161,57,45,128,134,60,43,10,66,231,149,1,240,227,31,4,113,205,219,136,239,47,2,88,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 13:00:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758192656908288,"timestamp_seconds":4323758192656908.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 13:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:00:11] 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-10-05 13:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543401216001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543401216001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:00:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:00:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543401216001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":204439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:00:11] local.INFO: GPS data processed {"connection_id":204439,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:00:11] local.INFO: Acknowledgment sent {"connection_id":204439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:00:12] local.INFO: TCP Data received {"connection_id":204582,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10af77158012c52b00009cc8920022f013d2d..."} 
[2026-10-05 13:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af77158012c52b00009cc8920022f013d2d..."} 
[2026-10-05 13:00:12] local.INFO: Processing buffer {"connection_id":204582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af77158012c52b00009cc8920022f013d2d..."} 
[2026-10-05 13:00:12] local.INFO: Packet analysis {"connection_id":204582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:00:12] local.INFO: Extracted packet for processing {"connection_id":204582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:00:12] local.INFO: GPS Element Parsed {"raw_longitude":743616512,"raw_latitude":164399392,"longitude_deg":74.3616512,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b000","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 13:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543396864001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958262349097410562,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791185351000,"timestamp_ms":1791185351000,"timestamp_seconds":1791185351,"priority":1,"record_length":96,"hex_timestamp":"000001a10af77158"} 
[2026-10-05 13:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:00:12] 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-10-05 13: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-10-05 13:00:12] 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-10-05 13: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-10-05 13:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 13:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 13:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543396864001,"66":26604,"241":206,"9":8448,"24":0,"16":8752305830625280,"44":5958262349097410562},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-10-05 13:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 13:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 13:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543396864001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:00:12] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-05 13:00:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 13:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:00:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958262349097410562,"description":"Unknown IO ID 44"} 
[2026-10-05 13:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543396864001,"power":26604,"unknown_241":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5958262349097410562}} 
[2026-10-05 13:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":204582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967368,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:00:12] local.INFO: GPS data processed {"connection_id":204582,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:00:12] local.INFO: Acknowledgment sent {"connection_id":204582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:00:16] local.INFO: TCP Data received {"connection_id":204439,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af52f38012d1adb80071f8688003c01132c..."} 
[2026-10-05 13:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af52f38012d1adb80071f8688003c01132c..."} 
[2026-10-05 13:00:16] local.INFO: Processing buffer {"connection_id":204439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af52f38012d1adb80071f8688003c01132c..."} 
[2026-10-05 13:00:16] local.INFO: Packet analysis {"connection_id":204439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af5"} 
[2026-10-05 13:00:16] local.INFO: Extracted packet for processing {"connection_id":204439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af5"} 
[2026-10-05 13:00:16] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543406592001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791185203000,"timestamp_ms":1791185203000,"timestamp_seconds":1791185203,"priority":1,"record_length":96,"hex_timestamp":"000001a10af52f38"} 
[2026-10-05 13:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 13:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:16] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:16] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:16] local.WARNING: Large IO value detected {"io_id":161,"raw_value":788867672752069339,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:16] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:16] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77455096618680320,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:16] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:16] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332011214,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:16] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 13:00:16] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:16] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:16] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,211,161,139,45,128,134,60,43,10,66,57,231,1,240,227,31,4,113,205,67,219,136,44,239,48,2,88,7,41],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 13:00:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758188361940992,"timestamp_seconds":4323758188361941.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 13:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:00:16] 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-10-05 13:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543406592001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543406592001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:00:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:00:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543406592001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":204439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:00:16] local.INFO: GPS data processed {"connection_id":204439,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:00:16] local.INFO: Acknowledgment sent {"connection_id":204439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:00:32] local.INFO: TCP Data received {"connection_id":204583,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af70fb0012d7f8e8005afdd780005003424..."} 
[2026-10-05 13:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af70fb0012d7f8e8005afdd780005003424..."} 
[2026-10-05 13:00:32] local.INFO: Processing buffer {"connection_id":204583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af70fb0012d7f8e8005afdd780005003424..."} 
[2026-10-05 13:00:32] local.INFO: Packet analysis {"connection_id":204583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:00:32] local.INFO: Extracted packet for processing {"connection_id":204583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:00:32] local.INFO: GPS Element Parsed {"raw_longitude":763334272,"raw_latitude":95411576,"longitude_deg":76.3334272,"latitude_deg":9.5411576,"altitude":5,"angle":52,"satellites":36,"speed":1,"hex_longitude":"2d7f8e80","hex_latitude":"05afdd78","is_valid_coordinates":true} 
[2026-10-05 13:00: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-10-05 13:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543443200001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893977498320896,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282679291904,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00: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-10-05 13:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791185326000,"timestamp_ms":1791185326000,"timestamp_seconds":1791185326,"priority":1,"record_length":96,"hex_timestamp":"000001a10af70fb0"} 
[2026-10-05 13:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:00:32] 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-10-05 13:00: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-10-05 13:00: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-10-05 13:00: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-10-05 13:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543443200001,"66":27974,"250":206,"85":12544,"24":1,"16":1893977498320896,"45":9191354282679291904},"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-10-05 13:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543443200001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:00:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:00:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893977498320896,"km_value":1893977498320.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282679291904,"description":"Unknown IO ID 45"} 
[2026-10-05 13:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543443200001,"power":27974,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191354282679291904}} 
[2026-10-05 13:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":204583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:00:32] local.INFO: GPS data processed {"connection_id":204583,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:00:32] local.INFO: Acknowledgment sent {"connection_id":204583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:00:34] local.INFO: TCP Data received {"connection_id":204440,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:00:34] local.INFO: Processing buffer {"connection_id":204440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:00:34] local.INFO: IMEI packet received {"connection_id":204440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 13:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":204440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:00:36] local.INFO: TCP Data received {"connection_id":204440,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:00:36] local.INFO: Processing buffer {"connection_id":204440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:00:36] local.INFO: IMEI packet received {"connection_id":204440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 13:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":204440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:00:37] local.INFO: TCP Data received {"connection_id":204438,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:00:37] local.INFO: Processing buffer {"connection_id":204438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:00:37] local.INFO: Packet analysis {"connection_id":204438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af6"} 
[2026-10-05 13:00:37] local.INFO: Extracted packet for processing {"connection_id":204438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af6"} 
[2026-10-05 13:00:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543361536001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:37] 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-10-05 13:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791185307000,"timestamp_ms":1791185307000,"timestamp_seconds":1791185307,"priority":1,"record_length":96,"hex_timestamp":"000001a10af6c578"} 
[2026-10-05 13:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:00: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-10-05 13:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543361536001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543361536001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:00:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:00:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543361536001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":204438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:00:37] local.INFO: GPS data processed {"connection_id":204438,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:00:37] local.INFO: Acknowledgment sent {"connection_id":204438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:00:39] local.INFO: TCP Data received {"connection_id":204440,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:00:39] local.INFO: Processing buffer {"connection_id":204440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:00:39] local.INFO: IMEI packet received {"connection_id":204440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 13:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":204440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:00:47] local.INFO: TCP Data received {"connection_id":204439,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af58140012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af58140012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:00:47] local.INFO: Processing buffer {"connection_id":204439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af58140012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:00:47] local.INFO: Packet analysis {"connection_id":204439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af5"} 
[2026-10-05 13:00:47] local.INFO: Extracted packet for processing {"connection_id":204439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af5"} 
[2026-10-05 13:00:47] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543411968001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00: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-10-05 13:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791185224000,"timestamp_ms":1791185224000,"timestamp_seconds":1791185224,"priority":1,"record_length":96,"hex_timestamp":"000001a10af58140"} 
[2026-10-05 13:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 13:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:47] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:47] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:47] local.WARNING: Large IO value detected {"io_id":161,"raw_value":788957867065285339,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:47] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:47] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77453997107052544,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:47] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:47] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075828430,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:47] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 13:00:47] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:47] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:47] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,101,83,24,241,157,16,211,161,221,45,128,134,60,42,10,66,139,43,57,1,240,227,31,4,113,205,149,219,136,239,48,2,88,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 13:00:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758196951875584,"timestamp_seconds":4323758196951875.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 13:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":204439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":204439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":204439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:00:47] 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-10-05 13:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543411968001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543411968001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:00:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:00:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543411968001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":204439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:00:47] local.INFO: GPS data processed {"connection_id":204439,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:00:47] local.INFO: Acknowledgment sent {"connection_id":204439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:00:48] local.INFO: TCP Data received {"connection_id":204440,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10af7d6e8012c52b08009cc8920022f013d2d..."} 
[2026-10-05 13:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af7d6e8012c52b08009cc8920022f013d2d..."} 
[2026-10-05 13:00:48] local.INFO: Processing buffer {"connection_id":204440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af7d6e8012c52b08009cc8920022f013d2d..."} 
[2026-10-05 13:00:48] local.INFO: Packet analysis {"connection_id":204440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:00:48] local.INFO: Extracted packet for processing {"connection_id":204440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:00:48] local.INFO: GPS Element Parsed {"raw_longitude":743616640,"raw_latitude":164399392,"longitude_deg":74.361664,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b080","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 13:00: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-10-05 13:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543449856001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958262349097410562,"note":"Value kept but may cause issues"} 
[2026-10-05 13:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791185377000,"timestamp_ms":1791185377000,"timestamp_seconds":1791185377,"priority":1,"record_length":96,"hex_timestamp":"000001a10af7d6e8"} 
[2026-10-05 13:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:00: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-10-05 13:00: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-10-05 13:00:48] 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-10-05 13:00: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-10-05 13:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 13:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 13:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543449856001,"66":26408,"241":206,"9":8448,"24":0,"16":8752305830625280,"44":5958262349097410562},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-10-05 13:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 13:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 13:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543449856001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:00:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-05 13:00:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 13:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:00:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958262349097410562,"description":"Unknown IO ID 44"} 
[2026-10-05 13:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543449856001,"power":26408,"unknown_241":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5958262349097410562}} 
[2026-10-05 13:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":204440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967373,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:00:48] local.INFO: GPS data processed {"connection_id":204440,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:00:48] local.INFO: Acknowledgment sent {"connection_id":204440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:00:59] local.INFO: TCP Data received {"connection_id":204441,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:00:59] local.INFO: Processing buffer {"connection_id":204441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:00:59] local.INFO: IMEI packet received {"connection_id":204441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":204441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:01:00] local.INFO: TCP Data received {"connection_id":205987,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:01:00] local.INFO: Processing buffer {"connection_id":205987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:01:00] local.INFO: IMEI packet received {"connection_id":205987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":205987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:01:04] local.INFO: TCP Data received {"connection_id":204441,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:01:04] local.INFO: Processing buffer {"connection_id":204441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:01:04] local.INFO: IMEI packet received {"connection_id":204441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":204441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:01:05] local.INFO: TCP Data received {"connection_id":205987,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:01:05] local.INFO: Processing buffer {"connection_id":205987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:01:05] local.INFO: IMEI packet received {"connection_id":205987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":205987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:01:05] local.INFO: TCP Data received {"connection_id":204441,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:01:05] local.INFO: Processing buffer {"connection_id":204441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:01:05] local.INFO: Packet analysis {"connection_id":204441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af6"} 
[2026-10-05 13:01:05] local.INFO: Extracted packet for processing {"connection_id":204441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af6"} 
[2026-10-05 13:01:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543361536001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:05] 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-10-05 13:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791185307000,"timestamp_ms":1791185307000,"timestamp_seconds":1791185307,"priority":1,"record_length":96,"hex_timestamp":"000001a10af6c578"} 
[2026-10-05 13:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:01: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-10-05 13:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:01: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-10-05 13:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543361536001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543361536001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:01:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:01:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543361536001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":204441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:01:05] local.INFO: GPS data processed {"connection_id":204441,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:01:05] local.INFO: Acknowledgment sent {"connection_id":204441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:01:05] local.INFO: TCP Data received {"connection_id":205987,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af732d8012d7f8f8005afde880004005324..."} 
[2026-10-05 13:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af732d8012d7f8f8005afde880004005324..."} 
[2026-10-05 13:01:05] local.INFO: Processing buffer {"connection_id":205987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af732d8012d7f8f8005afde880004005324..."} 
[2026-10-05 13:01:05] local.INFO: Packet analysis {"connection_id":205987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:01:05] local.INFO: Extracted packet for processing {"connection_id":205987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:01:05] local.INFO: GPS Element Parsed {"raw_longitude":763334528,"raw_latitude":95411848,"longitude_deg":76.3334528,"latitude_deg":9.5411848,"altitude":4,"angle":83,"satellites":36,"speed":1,"hex_longitude":"2d7f8f80","hex_latitude":"05afde88","is_valid_coordinates":true} 
[2026-10-05 13:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543443456001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893998973157376,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191424651423479808,"note":"Value kept but may cause issues"} 
[2026-10-05 13: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-10-05 13:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791185335000,"timestamp_ms":1791185335000,"timestamp_seconds":1791185335,"priority":1,"record_length":96,"hex_timestamp":"000001a10af732d8"} 
[2026-10-05 13:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:01:05] 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-10-05 13:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 13:01: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-10-05 13:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13: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-10-05 13:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543443456001,"66":27995,"250":206,"85":12544,"24":1,"16":1893998973157376,"45":9191424651423479808},"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-10-05 13:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543443456001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:01:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:01:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893998973157376,"km_value":1893998973157.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191424651423479808,"description":"Unknown IO ID 45"} 
[2026-10-05 13:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543443456001,"power":27995,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191424651423479808}} 
[2026-10-05 13:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":205987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:01:05] local.INFO: GPS data processed {"connection_id":205987,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:01:05] local.INFO: Acknowledgment sent {"connection_id":205987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:01:10] local.INFO: TCP Data received {"connection_id":207534,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:01:10] local.INFO: Processing buffer {"connection_id":207534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:01:10] local.INFO: IMEI packet received {"connection_id":207534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":207534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:01:12] local.INFO: TCP Data received {"connection_id":207534,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:01:12] local.INFO: Processing buffer {"connection_id":207534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:01:12] local.INFO: IMEI packet received {"connection_id":207534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":207534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:01:13] local.INFO: TCP Data received {"connection_id":207534,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af5d348012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af5d348012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:01:13] local.INFO: Processing buffer {"connection_id":207534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af5d348012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:01:13] local.INFO: Packet analysis {"connection_id":207534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af5"} 
[2026-10-05 13:01:13] local.INFO: Extracted packet for processing {"connection_id":207534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af5"} 
[2026-10-05 13:01:13] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13:01: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-10-05 13:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543417344001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791185245000,"timestamp_ms":1791185245000,"timestamp_seconds":1791185245,"priority":1,"record_length":96,"hex_timestamp":"000001a10af5d348"} 
[2026-10-05 13:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:01: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-10-05 13:01: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-10-05 13:01: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-10-05 13:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":207534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":207534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":207534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:01:13] 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-10-05 13:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543417344001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543417344001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:01:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:01:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543417344001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":207534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:01:13] local.INFO: GPS data processed {"connection_id":207534,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:01:13] local.INFO: Acknowledgment sent {"connection_id":207534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:01:16] local.INFO: TCP Data received {"connection_id":207534,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af62550012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af62550012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:01:16] local.INFO: Processing buffer {"connection_id":207534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af62550012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:01:16] local.INFO: Packet analysis {"connection_id":207534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af6"} 
[2026-10-05 13:01:16] local.INFO: Extracted packet for processing {"connection_id":207534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af6"} 
[2026-10-05 13:01:16] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543422720001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791185266000,"timestamp_ms":1791185266000,"timestamp_seconds":1791185266,"priority":1,"record_length":96,"hex_timestamp":"000001a10af62550"} 
[2026-10-05 13:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 13:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:01:16] 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-10-05 13:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543422720001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543422720001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:01:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:01:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543422720001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":207534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:01:16] local.INFO: GPS data processed {"connection_id":207534,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:01:16] local.INFO: Acknowledgment sent {"connection_id":207534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:01:19] local.INFO: TCP Data received {"connection_id":204440,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10af828f0012c52b08009cc8920022f013d2d..."} 
[2026-10-05 13:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af828f0012c52b08009cc8920022f013d2d..."} 
[2026-10-05 13:01:19] local.INFO: Processing buffer {"connection_id":204440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af828f0012c52b08009cc8920022f013d2d..."} 
[2026-10-05 13:01:19] local.INFO: Packet analysis {"connection_id":204440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af8"} 
[2026-10-05 13:01:19] local.INFO: Extracted packet for processing {"connection_id":204440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af8"} 
[2026-10-05 13:01:19] local.INFO: GPS Element Parsed {"raw_longitude":743616640,"raw_latitude":164399392,"longitude_deg":74.361664,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b080","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 13:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543456512001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791185398000,"timestamp_ms":1791185398000,"timestamp_seconds":1791185398,"priority":1,"record_length":96,"hex_timestamp":"000001a10af828f0"} 
[2026-10-05 13:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:01: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-10-05 13:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 13:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":204440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":204440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":204440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 13:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 13:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543456512001,"66":26006,"241":206,"9":8448,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-10-05 13:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 13:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 13:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543456512001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:01:19] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-05 13:01:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 13:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:01:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 13:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543456512001,"power":26006,"unknown_241":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 13:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":204440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967378,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:01:19] local.INFO: GPS data processed {"connection_id":204440,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:01:19] local.INFO: Acknowledgment sent {"connection_id":204440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:01:34] local.INFO: TCP Data received {"connection_id":205988,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:01:34] local.INFO: Processing buffer {"connection_id":205988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:01:34] local.INFO: IMEI packet received {"connection_id":205988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 13:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":205988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:01:36] local.INFO: TCP Data received {"connection_id":205987,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af736c0012d7f8fc005afdeb00004006f24..."} 
[2026-10-05 13:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af736c0012d7f8fc005afdeb00004006f24..."} 
[2026-10-05 13:01:36] local.INFO: Processing buffer {"connection_id":205987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af736c0012d7f8fc005afdeb00004006f24..."} 
[2026-10-05 13:01:36] local.INFO: Packet analysis {"connection_id":205987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:01:36] local.INFO: Extracted packet for processing {"connection_id":205987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:01:36] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411888,"longitude_deg":76.3334592,"latitude_deg":9.5411888,"altitude":4,"angle":111,"satellites":36,"speed":1,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdeb0","is_valid_coordinates":true} 
[2026-10-05 13:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543445760001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894003268124672,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191706126400260096,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791185336000,"timestamp_ms":1791185336000,"timestamp_seconds":1791185336,"priority":1,"record_length":96,"hex_timestamp":"000001a10af736c0"} 
[2026-10-05 13:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:01:36] 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-10-05 13:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 13:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543445760001,"66":27930,"250":206,"85":12544,"24":1,"16":1894003268124672,"45":9191706126400260096},"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-10-05 13:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543445760001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:01:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:01:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894003268124672,"km_value":1894003268124.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191706126400260096,"description":"Unknown IO ID 45"} 
[2026-10-05 13:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543445760001,"power":27930,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191706126400260096}} 
[2026-10-05 13:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":205987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:01:36] local.INFO: GPS data processed {"connection_id":205987,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:01:36] local.INFO: Acknowledgment sent {"connection_id":205987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:01:37] local.INFO: TCP Data received {"connection_id":204441,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:01:37] local.INFO: Processing buffer {"connection_id":204441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:01:37] local.INFO: Packet analysis {"connection_id":204441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af6"} 
[2026-10-05 13:01:37] local.INFO: Extracted packet for processing {"connection_id":204441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af6"} 
[2026-10-05 13:01:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543361536001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:37] 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-10-05 13:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791185307000,"timestamp_ms":1791185307000,"timestamp_seconds":1791185307,"priority":1,"record_length":96,"hex_timestamp":"000001a10af6c578"} 
[2026-10-05 13:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:01: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-10-05 13:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543361536001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543361536001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:01:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:01:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543361536001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":204441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:01:37] local.INFO: GPS data processed {"connection_id":204441,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:01:37] local.INFO: Acknowledgment sent {"connection_id":204441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:01:39] local.INFO: TCP Data received {"connection_id":205988,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:01:39] local.INFO: Processing buffer {"connection_id":205988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:01:39] local.INFO: IMEI packet received {"connection_id":205988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 13:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":205988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:01:40] local.INFO: TCP Data received {"connection_id":205988,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10af87af8012c52b08009cc8920022f013d2d..."} 
[2026-10-05 13:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af87af8012c52b08009cc8920022f013d2d..."} 
[2026-10-05 13:01:40] local.INFO: Processing buffer {"connection_id":205988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af87af8012c52b08009cc8920022f013d2d..."} 
[2026-10-05 13:01:40] local.INFO: Packet analysis {"connection_id":205988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af8"} 
[2026-10-05 13:01:40] local.INFO: Extracted packet for processing {"connection_id":205988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af8"} 
[2026-10-05 13:01:40] local.INFO: GPS Element Parsed {"raw_longitude":743616640,"raw_latitude":164399392,"longitude_deg":74.361664,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b080","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 13:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543461888001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791185419000,"timestamp_ms":1791185419000,"timestamp_seconds":1791185419,"priority":1,"record_length":96,"hex_timestamp":"000001a10af87af8"} 
[2026-10-05 13:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 13:01:40] 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-10-05 13:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":205988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":205988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":205988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 13:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 13:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543461888001,"66":26408,"241":206,"9":8448,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-10-05 13:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 13:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 13:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543461888001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:01:40] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-05 13:01:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 13:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:01:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 13:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543461888001,"power":26408,"unknown_241":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 13:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":205988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967381,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:01:40] local.INFO: GPS data processed {"connection_id":205988,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:01:40] local.INFO: Acknowledgment sent {"connection_id":205988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:01:47] local.INFO: TCP Data received {"connection_id":207534,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af67758012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af67758012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:01:47] local.INFO: Processing buffer {"connection_id":207534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af67758012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:01:47] local.INFO: Packet analysis {"connection_id":207534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af6"} 
[2026-10-05 13:01:47] local.INFO: Extracted packet for processing {"connection_id":207534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af6"} 
[2026-10-05 13:01:47] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543428096001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13: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-10-05 13:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791185287000,"timestamp_ms":1791185287000,"timestamp_seconds":1791185287,"priority":1,"record_length":96,"hex_timestamp":"000001a10af67758"} 
[2026-10-05 13:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 13:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:47] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:47] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:47] local.WARNING: Large IO value detected {"io_id":161,"raw_value":789228450004933339,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:47] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:47] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77452897595424768,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:47] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:47] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075828430,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:47] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 13:01:47] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:47] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 13:01:47] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,101,83,24,241,157,16,211,161,45,128,134,60,43,10,66,129,47,1,240,227,31,4,113,205,139,219,136,239,48,2,88,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 13:01:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758192656908288,"timestamp_seconds":4323758192656908.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 13:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":207534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":207534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":207534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:01:47] 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-10-05 13:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543428096001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543428096001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:01:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:01:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543428096001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":207534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:01:47] local.INFO: GPS data processed {"connection_id":207534,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:01:47] local.INFO: Acknowledgment sent {"connection_id":207534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:01:54] local.INFO: TCP Data received {"connection_id":204584,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:01:54] local.INFO: Processing buffer {"connection_id":204584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:01:54] local.INFO: IMEI packet received {"connection_id":204584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":204584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:01:59] local.INFO: TCP Data received {"connection_id":204442,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:01:59] local.INFO: Processing buffer {"connection_id":204442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:01:59] local.INFO: IMEI packet received {"connection_id":204442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":204442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:02:00] local.INFO: TCP Data received {"connection_id":204584,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:02:00] local.INFO: Processing buffer {"connection_id":204584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:02:00] local.INFO: IMEI packet received {"connection_id":204584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":204584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:02:00] local.INFO: TCP Data received {"connection_id":204584,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af73e90012d7f908005afdf380003005d24..."} 
[2026-10-05 13:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af73e90012d7f908005afdf380003005d24..."} 
[2026-10-05 13:02:00] local.INFO: Processing buffer {"connection_id":204584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af73e90012d7f908005afdf380003005d24..."} 
[2026-10-05 13:02:00] local.INFO: Packet analysis {"connection_id":204584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:02:00] local.INFO: Extracted packet for processing {"connection_id":204584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:02:00] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95412024,"longitude_deg":76.3334784,"latitude_deg":9.5412024,"altitude":3,"angle":93,"satellites":36,"speed":1,"hex_longitude":"2d7f9080","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543446016001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894016153026560,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144448000,"note":"Value kept but may cause issues"} 
[2026-10-05 13: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-10-05 13:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791185338000,"timestamp_ms":1791185338000,"timestamp_seconds":1791185338,"priority":1,"record_length":96,"hex_timestamp":"000001a10af73e90"} 
[2026-10-05 13:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-05 13:02: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-10-05 13: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-10-05 13:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:02: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-10-05 13:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543446016001,"66":27995,"250":206,"85":12544,"24":1,"16":1894016153026560,"45":9191776495144448000},"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-10-05 13:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543446016001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:02:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:02:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894016153026560,"km_value":1894016153026.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144448000,"description":"Unknown IO ID 45"} 
[2026-10-05 13:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543446016001,"power":27995,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191776495144448000}} 
[2026-10-05 13:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":204584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:02:00] local.INFO: GPS data processed {"connection_id":204584,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:02:00] local.INFO: Acknowledgment sent {"connection_id":204584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:02:04] local.INFO: TCP Data received {"connection_id":204442,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:02:04] local.INFO: Processing buffer {"connection_id":204442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:02:04] local.INFO: IMEI packet received {"connection_id":204442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":204442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:02:05] local.INFO: TCP Data received {"connection_id":204442,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:02:05] local.INFO: Processing buffer {"connection_id":204442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:02:05] local.INFO: Packet analysis {"connection_id":204442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af6"} 
[2026-10-05 13:02:05] local.INFO: Extracted packet for processing {"connection_id":204442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af6"} 
[2026-10-05 13:02:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543361536001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:05] 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-10-05 13:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791185307000,"timestamp_ms":1791185307000,"timestamp_seconds":1791185307,"priority":1,"record_length":96,"hex_timestamp":"000001a10af6c578"} 
[2026-10-05 13:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:02: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-10-05 13:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:02: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-10-05 13:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:02:05] 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-10-05 13:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543361536001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543361536001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:02:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:02:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543361536001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":204442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:02:05] local.INFO: GPS data processed {"connection_id":204442,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:02:05] local.INFO: Acknowledgment sent {"connection_id":204442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:02:05] local.INFO: TCP Data received {"connection_id":204585,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:02:05] local.INFO: Processing buffer {"connection_id":204585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:02:05] local.INFO: IMEI packet received {"connection_id":204585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":204585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:02:10] local.INFO: TCP Data received {"connection_id":204585,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:02:10] local.INFO: Processing buffer {"connection_id":204585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:02:10] local.INFO: IMEI packet received {"connection_id":204585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":204585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:02:11] local.INFO: TCP Data received {"connection_id":204585,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af6c960012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af6c960012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:02:11] local.INFO: Processing buffer {"connection_id":204585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af6c960012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:02:11] local.INFO: Packet analysis {"connection_id":204585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af6"} 
[2026-10-05 13:02:11] local.INFO: Extracted packet for processing {"connection_id":204585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af6"} 
[2026-10-05 13:02:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543433472001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:11] 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-10-05 13:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791185308000,"timestamp_ms":1791185308000,"timestamp_seconds":1791185308,"priority":1,"record_length":96,"hex_timestamp":"000001a10af6c960"} 
[2026-10-05 13:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:02: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-10-05 13:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 13:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:11] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":789318644318149339,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77452897595424768,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075828430,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 13:02:11] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:11] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,101,83,24,241,157,16,211,161,37,45,128,134,60,43,10,66,129,1,240,255,227,31,4,113,205,221,219,136,42,239,48,2,88,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 13:02:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758192656908288,"timestamp_seconds":4323758192656908.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 13:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:02:11] 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-10-05 13:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543433472001,"66":12254,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543433472001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:02:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:02:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543433472001,"power":12254,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":204585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:02:11] local.INFO: GPS data processed {"connection_id":204585,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:02:11] local.INFO: Acknowledgment sent {"connection_id":204585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:02:11] local.INFO: TCP Data received {"connection_id":205988,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10af8cd00012c52b08009cc8920022f013d2d..."} 
[2026-10-05 13:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af8cd00012c52b08009cc8920022f013d2d..."} 
[2026-10-05 13:02:11] local.INFO: Processing buffer {"connection_id":205988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af8cd00012c52b08009cc8920022f013d2d..."} 
[2026-10-05 13:02:11] local.INFO: Packet analysis {"connection_id":205988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af8"} 
[2026-10-05 13:02:11] local.INFO: Extracted packet for processing {"connection_id":205988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af8"} 
[2026-10-05 13:02:11] local.INFO: GPS Element Parsed {"raw_longitude":743616640,"raw_latitude":164399392,"longitude_deg":74.361664,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b080","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 13:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543467264001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791185440000,"timestamp_ms":1791185440000,"timestamp_seconds":1791185440,"priority":1,"record_length":96,"hex_timestamp":"000001a10af8cd00"} 
[2026-10-05 13:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 13:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 13:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 13:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543467264001,"66":26376,"241":206,"9":8448,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-10-05 13:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 13:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 13:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543467264001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:02:11] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-05 13:02:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 13:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:02:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 13:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543467264001,"power":26376,"unknown_241":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 13:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":205988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967386,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:02:12] local.INFO: GPS data processed {"connection_id":205988,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:02:12] local.INFO: Acknowledgment sent {"connection_id":205988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:02:32] local.INFO: TCP Data received {"connection_id":204584,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af73e90012d7f908005afdf380003005d24..."} 
[2026-10-05 13:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af73e90012d7f908005afdf380003005d24..."} 
[2026-10-05 13:02:32] local.INFO: Processing buffer {"connection_id":204584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af73e90012d7f908005afdf380003005d24..."} 
[2026-10-05 13:02:32] local.INFO: Packet analysis {"connection_id":204584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:02:32] local.INFO: Extracted packet for processing {"connection_id":204584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:02:32] local.INFO: GPS Element Parsed {"raw_longitude":763334784,"raw_latitude":95412024,"longitude_deg":76.3334784,"latitude_deg":9.5412024,"altitude":3,"angle":93,"satellites":36,"speed":1,"hex_longitude":"2d7f9080","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-10-05 13:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543446528001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894016153026560,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377015808,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02: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-10-05 13:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791185338000,"timestamp_ms":1791185338000,"timestamp_seconds":1791185338,"priority":1,"record_length":96,"hex_timestamp":"000001a10af73e90"} 
[2026-10-05 13:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:02:32] 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-10-05 13: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 13:02:32] 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-10-05 13: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-10-05 13:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543446528001,"66":27995,"250":206,"85":12544,"24":1,"16":1894016153026560,"45":9191987601377015808},"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-10-05 13:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543446528001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:02:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:02:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894016153026560,"km_value":1894016153026.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377015808,"description":"Unknown IO ID 45"} 
[2026-10-05 13:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543446528001,"power":27995,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191987601377015808}} 
[2026-10-05 13:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":204584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:02:32] local.INFO: GPS data processed {"connection_id":204584,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:02:32] local.INFO: Acknowledgment sent {"connection_id":204584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:02:38] local.INFO: TCP Data received {"connection_id":204442,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:02:38] local.INFO: Processing buffer {"connection_id":204442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:02:38] local.INFO: Packet analysis {"connection_id":204442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af6"} 
[2026-10-05 13:02:38] local.INFO: Extracted packet for processing {"connection_id":204442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af6"} 
[2026-10-05 13:02:38] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543361536001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:38] 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-10-05 13:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791185307000,"timestamp_ms":1791185307000,"timestamp_seconds":1791185307,"priority":1,"record_length":96,"hex_timestamp":"000001a10af6c578"} 
[2026-10-05 13:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:02:38] 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-10-05 13:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:02:38] 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-10-05 13:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543361536001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543361536001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:02:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:02:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543361536001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":204442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:02:38] local.INFO: GPS data processed {"connection_id":204442,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:02:38] local.INFO: Acknowledgment sent {"connection_id":204442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:02:42] local.INFO: TCP Data received {"connection_id":204585,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af71b68012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af71b68012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:02:42] local.INFO: Processing buffer {"connection_id":204585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af71b68012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:02:42] local.INFO: Packet analysis {"connection_id":204585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:02:42] local.INFO: Extracted packet for processing {"connection_id":204585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:02:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543438848001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791185329000,"timestamp_ms":1791185329000,"timestamp_seconds":1791185329,"priority":1,"record_length":96,"hex_timestamp":"000001a10af71b68"} 
[2026-10-05 13:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:02: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-10-05 13:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-10-05 13:02:42] 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-10-05 13:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:02:42] 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-10-05 13:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543438848001,"66":12265,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543438848001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:02:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:02:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543438848001,"power":12265,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":204585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:02:42] local.INFO: GPS data processed {"connection_id":204585,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:02:42] local.INFO: Acknowledgment sent {"connection_id":204585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:02:45] local.INFO: TCP Data received {"connection_id":204443,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:02:45] local.INFO: Processing buffer {"connection_id":204443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:02:45] local.INFO: IMEI packet received {"connection_id":204443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 13:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":204443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:02:50] local.INFO: TCP Data received {"connection_id":204443,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:02:50] local.INFO: Processing buffer {"connection_id":204443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:02:50] local.INFO: IMEI packet received {"connection_id":204443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 13:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":204443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:02:50] local.INFO: TCP Data received {"connection_id":204443,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10af91f08012c52b08009cc8920022f013d2d..."} 
[2026-10-05 13:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af91f08012c52b08009cc8920022f013d2d..."} 
[2026-10-05 13:02:50] local.INFO: Processing buffer {"connection_id":204443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af91f08012c52b08009cc8920022f013d2d..."} 
[2026-10-05 13:02:50] local.INFO: Packet analysis {"connection_id":204443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af9"} 
[2026-10-05 13:02:50] local.INFO: Extracted packet for processing {"connection_id":204443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af9"} 
[2026-10-05 13:02:50] local.INFO: GPS Element Parsed {"raw_longitude":743616640,"raw_latitude":164399392,"longitude_deg":74.361664,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b080","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 13:02: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-10-05 13:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543472640001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1791185461000,"timestamp_ms":1791185461000,"timestamp_seconds":1791185461,"priority":1,"record_length":96,"hex_timestamp":"000001a10af91f08"} 
[2026-10-05 13:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:02:50] 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-10-05 13:02: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-10-05 13:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:02: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-10-05 13:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":204443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":204443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":204443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 13:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 13:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543472640001,"66":28495,"241":206,"9":8448,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-10-05 13:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 13:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 13:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543472640001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:02:50] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-05 13:02:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 13:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:02:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 13:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543472640001,"power":28495,"unknown_241":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 13:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":204443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967390,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:02:50] local.INFO: GPS data processed {"connection_id":204443,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:02:50] local.INFO: Acknowledgment sent {"connection_id":204443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:02:54] local.INFO: TCP Data received {"connection_id":204444,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:02:54] local.INFO: Processing buffer {"connection_id":204444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:02:54] local.INFO: IMEI packet received {"connection_id":204444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":204444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:02:56] local.INFO: TCP Data received {"connection_id":204443,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10af97110012c52b08009cc8920022f013d2d..."} 
[2026-10-05 13:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af97110012c52b08009cc8920022f013d2d..."} 
[2026-10-05 13:02:56] local.INFO: Processing buffer {"connection_id":204443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af97110012c52b08009cc8920022f013d2d..."} 
[2026-10-05 13:02:56] local.INFO: Packet analysis {"connection_id":204443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af9"} 
[2026-10-05 13:02:56] local.INFO: Extracted packet for processing {"connection_id":204443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af9"} 
[2026-10-05 13:02:56] local.INFO: GPS Element Parsed {"raw_longitude":743616640,"raw_latitude":164399392,"longitude_deg":74.361664,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b080","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543478016001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 13:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1791185482000,"timestamp_ms":1791185482000,"timestamp_seconds":1791185482,"priority":1,"record_length":96,"hex_timestamp":"000001a10af97110"} 
[2026-10-05 13:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13: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":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-10-05 13:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1464,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":204443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":204443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":204443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 13:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 13:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543478016001,"66":28354,"241":206,"9":8448,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-10-05 13:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 13:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 13:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543478016001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:02:56] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-05 13:02:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 13:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:02:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 13:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543478016001,"power":28354,"unknown_241":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 13:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":204443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967391,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:02:56] local.INFO: GPS data processed {"connection_id":204443,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:02:56] local.INFO: Acknowledgment sent {"connection_id":204443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:02:59] local.INFO: TCP Data received {"connection_id":205989,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:02:59] local.INFO: Processing buffer {"connection_id":205989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:02:59] local.INFO: IMEI packet received {"connection_id":205989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":205989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:03:00] local.INFO: TCP Data received {"connection_id":204444,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:03:00] local.INFO: Processing buffer {"connection_id":204444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:03:00] local.INFO: IMEI packet received {"connection_id":204444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":204444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:03:01] local.INFO: TCP Data received {"connection_id":204444,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af74660012d7f914005afdf800003007125..."} 
[2026-10-05 13:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af74660012d7f914005afdf800003007125..."} 
[2026-10-05 13:03:01] local.INFO: Processing buffer {"connection_id":204444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af74660012d7f914005afdf800003007125..."} 
[2026-10-05 13:03:01] local.INFO: Packet analysis {"connection_id":204444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:03:01] local.INFO: Extracted packet for processing {"connection_id":204444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:03:01] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95412096,"longitude_deg":76.3334976,"latitude_deg":9.5412096,"altitude":3,"angle":113,"satellites":37,"speed":1,"hex_longitude":"2d7f9140","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543446528001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894016153026560,"note":"Value kept but may cause issues"} 
[2026-10-05 13:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377015808,"note":"Value kept but may cause issues"} 
[2026-10-05 13: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-10-05 13:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791185340000,"timestamp_ms":1791185340000,"timestamp_seconds":1791185340,"priority":1,"record_length":96,"hex_timestamp":"000001a10af74660"} 
[2026-10-05 13:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 13:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:03: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-10-05 13:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543446528001,"66":27484,"250":206,"85":12544,"24":1,"16":1894016153026560,"45":9191987601377015808},"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-10-05 13:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543446528001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:03:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:03:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894016153026560,"km_value":1894016153026.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377015808,"description":"Unknown IO ID 45"} 
[2026-10-05 13:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543446528001,"power":27484,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191987601377015808}} 
[2026-10-05 13:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":204444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:03:01] local.INFO: GPS data processed {"connection_id":204444,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:03:01] local.INFO: Acknowledgment sent {"connection_id":204444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:03:04] local.INFO: TCP Data received {"connection_id":205989,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:03:04] local.INFO: Processing buffer {"connection_id":205989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:03:04] local.INFO: IMEI packet received {"connection_id":205989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":205989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:03:05] local.INFO: TCP Data received {"connection_id":207535,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:03:05] local.INFO: Processing buffer {"connection_id":207535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:03:05] local.INFO: IMEI packet received {"connection_id":207535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":207535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:03:05] local.INFO: TCP Data received {"connection_id":205989,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:03:05] local.INFO: Processing buffer {"connection_id":205989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af6c578012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:03:05] local.INFO: Packet analysis {"connection_id":205989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af6"} 
[2026-10-05 13:03:05] local.INFO: Extracted packet for processing {"connection_id":205989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af6"} 
[2026-10-05 13:03:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543361536001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:03:05] 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-10-05 13:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791185307000,"timestamp_ms":1791185307000,"timestamp_seconds":1791185307,"priority":1,"record_length":96,"hex_timestamp":"000001a10af6c578"} 
[2026-10-05 13:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:03: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-10-05 13:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:03: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-10-05 13:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543361536001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543361536001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:03:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:03:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543361536001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":205989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:03:06] local.INFO: GPS data processed {"connection_id":205989,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:03:06] local.INFO: Acknowledgment sent {"connection_id":205989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:03:11] local.INFO: TCP Data received {"connection_id":207535,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:03:11] local.INFO: Processing buffer {"connection_id":207535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:03:11] local.INFO: IMEI packet received {"connection_id":207535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":207535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:03:11] local.INFO: TCP Data received {"connection_id":207535,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af76d70012d1adb80071f8688003c01132a..."} 
[2026-10-05 13:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af76d70012d1adb80071f8688003c01132a..."} 
[2026-10-05 13:03:11] local.INFO: Processing buffer {"connection_id":207535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af76d70012d1adb80071f8688003c01132a..."} 
[2026-10-05 13:03:11] local.INFO: Packet analysis {"connection_id":207535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:03:11] local.INFO: Extracted packet for processing {"connection_id":207535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:03:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13:03: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-10-05 13:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543444224001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:03:11] 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-10-05 13:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791185350000,"timestamp_ms":1791185350000,"timestamp_seconds":1791185350,"priority":1,"record_length":96,"hex_timestamp":"000001a10af76d70"} 
[2026-10-05 13:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:03: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-10-05 13:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 13:03:11] 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-10-05 13:03: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-10-05 13:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:03:11] 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-10-05 13:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543444224001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543444224001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:03:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:03:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543444224001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":207535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:03:12] local.INFO: GPS data processed {"connection_id":207535,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:03:12] local.INFO: Acknowledgment sent {"connection_id":207535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:03:32] local.INFO: TCP Data received {"connection_id":204444,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af74660012d7f914005afdf800003007125..."} 
[2026-10-05 13:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af74660012d7f914005afdf800003007125..."} 
[2026-10-05 13:03:32] local.INFO: Processing buffer {"connection_id":204444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af74660012d7f914005afdf800003007125..."} 
[2026-10-05 13:03:32] local.INFO: Packet analysis {"connection_id":204444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:03:32] local.INFO: Extracted packet for processing {"connection_id":204444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:03:32] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95412096,"longitude_deg":76.3334976,"latitude_deg":9.5412096,"altitude":3,"angle":113,"satellites":37,"speed":1,"hex_longitude":"2d7f9140","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-10-05 13:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543446528001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894016153026560,"note":"Value kept but may cause issues"} 
[2026-10-05 13:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377015808,"note":"Value kept but may cause issues"} 
[2026-10-05 13:03: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-10-05 13:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791185340000,"timestamp_ms":1791185340000,"timestamp_seconds":1791185340,"priority":1,"record_length":96,"hex_timestamp":"000001a10af74660"} 
[2026-10-05 13:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 13:03:32] 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-10-05 13:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543446528001,"66":27484,"250":206,"85":12544,"24":1,"16":1894016153026560,"45":9191987601377015808},"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-10-05 13:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543446528001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:03:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:03:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894016153026560,"km_value":1894016153026.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377015808,"description":"Unknown IO ID 45"} 
[2026-10-05 13:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543446528001,"power":27484,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191987601377015808}} 
[2026-10-05 13:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":204444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:03:32] local.INFO: GPS data processed {"connection_id":204444,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:03:32] local.INFO: Acknowledgment sent {"connection_id":204444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:03:35] local.INFO: TCP Data received {"connection_id":205990,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:03:35] local.INFO: Processing buffer {"connection_id":205990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:03:35] local.INFO: IMEI packet received {"connection_id":205990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 13:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":205990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:03:37] local.INFO: TCP Data received {"connection_id":205989,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:03:37] local.INFO: Processing buffer {"connection_id":205989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:03:37] local.INFO: Packet analysis {"connection_id":205989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:03:37] local.INFO: Extracted packet for processing {"connection_id":205989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:03:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543438592001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:03:37] 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-10-05 13:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791185608000,"timestamp_ms":1791185608000,"timestamp_seconds":1791185608,"priority":1,"record_length":96,"hex_timestamp":"000001a10afb5d40"} 
[2026-10-05 13:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:03: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-10-05 13:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543438592001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543438592001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:03:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:03:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543438592001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":205989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:03:37] local.INFO: GPS data processed {"connection_id":205989,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:03:37] local.INFO: Acknowledgment sent {"connection_id":205989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:03:39] local.INFO: TCP Data received {"connection_id":205990,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:03:39] local.INFO: Processing buffer {"connection_id":205990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:03:39] local.INFO: IMEI packet received {"connection_id":205990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 13:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":205990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:03:40] local.INFO: TCP Data received {"connection_id":205990,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10af9c318012c52b08009cc8920022f013d2d..."} 
[2026-10-05 13:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af9c318012c52b08009cc8920022f013d2d..."} 
[2026-10-05 13:03:40] local.INFO: Processing buffer {"connection_id":205990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af9c318012c52b08009cc8920022f013d2d..."} 
[2026-10-05 13:03:40] local.INFO: Packet analysis {"connection_id":205990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af9"} 
[2026-10-05 13:03:40] local.INFO: Extracted packet for processing {"connection_id":205990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af9"} 
[2026-10-05 13:03:40] local.INFO: GPS Element Parsed {"raw_longitude":743616640,"raw_latitude":164399392,"longitude_deg":74.361664,"latitude_deg":16.4399392,"altitude":559,"angle":317,"satellites":45,"speed":0,"hex_longitude":"2c52b080","hex_latitude":"09cc8920","is_valid_coordinates":true} 
[2026-10-05 13:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543483392001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 13:03:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 13:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791185503000,"timestamp_ms":1791185503000,"timestamp_seconds":1791185503,"priority":1,"record_length":96,"hex_timestamp":"000001a10af9c318"} 
[2026-10-05 13:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 13:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":205990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":205990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":205990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 13:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 13:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543483392001,"66":28050,"241":206,"9":8448,"24":0,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-10-05 13:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 13:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 13:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543483392001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:03:40] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-05 13:03:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 13:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:03:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 13:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543483392001,"power":28050,"unknown_241":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 13:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":205990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967397,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:03:40] local.INFO: GPS data processed {"connection_id":205990,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:03:40] local.INFO: Acknowledgment sent {"connection_id":205990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:03:43] local.INFO: TCP Data received {"connection_id":207535,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af7bf78012d1adb80071f8688003c01132a..."} 
[2026-10-05 13:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af7bf78012d1adb80071f8688003c01132a..."} 
[2026-10-05 13:03:43] local.INFO: Processing buffer {"connection_id":207535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af7bf78012d1adb80071f8688003c01132a..."} 
[2026-10-05 13:03:43] local.INFO: Packet analysis {"connection_id":207535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:03:43] local.INFO: Extracted packet for processing {"connection_id":207535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:03:43] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543449600001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791185371000,"timestamp_ms":1791185371000,"timestamp_seconds":1791185371,"priority":1,"record_length":96,"hex_timestamp":"000001a10af7bf78"} 
[2026-10-05 13:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:03:43] 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-10-05 13:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 13:03:43] 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-10-05 13:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:03:43] 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-10-05 13:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543449600001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543449600001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:03:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:03:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543449600001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":207535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:03:43] local.INFO: GPS data processed {"connection_id":207535,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:03:43] local.INFO: Acknowledgment sent {"connection_id":207535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:03:45] local.INFO: TCP Data received {"connection_id":205990,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10af9fdb0012c52948009ccc4900227014d2c..."} 
[2026-10-05 13:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af9fdb0012c52948009ccc4900227014d2c..."} 
[2026-10-05 13:03:45] local.INFO: Processing buffer {"connection_id":205990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af9fdb0012c52948009ccc4900227014d2c..."} 
[2026-10-05 13:03:45] local.INFO: Packet analysis {"connection_id":205990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af9"} 
[2026-10-05 13:03:45] local.INFO: Extracted packet for processing {"connection_id":205990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af9"} 
[2026-10-05 13:03:45] local.INFO: GPS Element Parsed {"raw_longitude":743609472,"raw_latitude":164414608,"longitude_deg":74.3609472,"latitude_deg":16.4414608,"altitude":551,"angle":333,"satellites":44,"speed":38,"hex_longitude":"2c529480","hex_latitude":"09ccc490","is_valid_coordinates":true} 
[2026-10-05 13:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543488768001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 13:03:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5958403086585765890,"note":"Value kept but may cause issues"} 
[2026-10-05 13:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791185518000,"timestamp_ms":1791185518000,"timestamp_seconds":1791185518,"priority":1,"record_length":96,"hex_timestamp":"000001a10af9fdb0"} 
[2026-10-05 13:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:03:45] 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-10-05 13:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-10-05 13:03:45] 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-10-05 13:03:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":205990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":205990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":205990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 13:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 13:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543488768001,"66":28376,"241":206,"9":8448,"24":38,"16":8752305830625280,"44":5958403086585765890},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-10-05 13:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 13:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 13:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543488768001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:03:45] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-05 13:03:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 13:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:03:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":5958403086585765890,"description":"Unknown IO ID 44"} 
[2026-10-05 13:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543488768001,"power":28376,"unknown_241":206,"unknown_9":8448,"ignition":38,"odometer":null,"unknown_44":5958403086585765890}} 
[2026-10-05 13:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":205990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967399,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:03:45] local.INFO: GPS data processed {"connection_id":205990,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:03:45] local.INFO: Acknowledgment sent {"connection_id":205990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:03:54] local.INFO: TCP Data received {"connection_id":204445,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:03:54] local.INFO: Processing buffer {"connection_id":204445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:03:54] local.INFO: IMEI packet received {"connection_id":204445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":204445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:04:00] local.INFO: TCP Data received {"connection_id":204445,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:04:00] local.INFO: Processing buffer {"connection_id":204445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:04:00] local.INFO: IMEI packet received {"connection_id":204445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":204445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:04:00] local.INFO: TCP Data received {"connection_id":204445,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af74660012d7f914005afdf800003007125..."} 
[2026-10-05 13:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af74660012d7f914005afdf800003007125..."} 
[2026-10-05 13:04:00] local.INFO: Processing buffer {"connection_id":204445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af74660012d7f914005afdf800003007125..."} 
[2026-10-05 13:04:00] local.INFO: Packet analysis {"connection_id":204445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:04:00] local.INFO: Extracted packet for processing {"connection_id":204445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:04:00] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95412096,"longitude_deg":76.3334976,"latitude_deg":9.5412096,"altitude":3,"angle":113,"satellites":37,"speed":1,"hex_longitude":"2d7f9140","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543446528001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894016153026560,"note":"Value kept but may cause issues"} 
[2026-10-05 13:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377015808,"note":"Value kept but may cause issues"} 
[2026-10-05 13: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-10-05 13:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791185340000,"timestamp_ms":1791185340000,"timestamp_seconds":1791185340,"priority":1,"record_length":96,"hex_timestamp":"000001a10af74660"} 
[2026-10-05 13:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 13:04:00] 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-10-05 13: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-10-05 13:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13: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-10-05 13:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543446528001,"66":27484,"250":206,"85":12544,"24":1,"16":1894016153026560,"45":9191987601377015808},"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-10-05 13:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543446528001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:04:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:04:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894016153026560,"km_value":1894016153026.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377015808,"description":"Unknown IO ID 45"} 
[2026-10-05 13:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543446528001,"power":27484,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191987601377015808}} 
[2026-10-05 13:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":204445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:04:00] local.INFO: GPS data processed {"connection_id":204445,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:04:00] local.INFO: Acknowledgment sent {"connection_id":204445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:04:04] local.INFO: TCP Data received {"connection_id":207536,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207536,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:04:04] local.INFO: Processing buffer {"connection_id":207536,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:04:04] local.INFO: IMEI packet received {"connection_id":207536,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":207536,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:04:05] local.INFO: TCP Data received {"connection_id":204446,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:04:05] local.INFO: Processing buffer {"connection_id":204446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:04:05] local.INFO: IMEI packet received {"connection_id":204446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":204446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:04:09] local.INFO: TCP Data received {"connection_id":207536,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207536,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:04:09] local.INFO: Processing buffer {"connection_id":207536,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:04:09] local.INFO: IMEI packet received {"connection_id":207536,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":207536,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:04:10] local.INFO: TCP Data received {"connection_id":207536,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:04:10] local.INFO: Processing buffer {"connection_id":207536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:04:10] local.INFO: Packet analysis {"connection_id":207536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:04:10] local.INFO: Extracted packet for processing {"connection_id":207536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:04:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543438592001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:04:10] 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-10-05 13:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791185608000,"timestamp_ms":1791185608000,"timestamp_seconds":1791185608,"priority":1,"record_length":96,"hex_timestamp":"000001a10afb5d40"} 
[2026-10-05 13:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:04:10] 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-10-05 13:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543438592001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543438592001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:04:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543438592001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:04:10] local.INFO: TCP Data received {"connection_id":204446,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:04:10] local.INFO: Processing buffer {"connection_id":204446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:04:10] local.INFO: IMEI packet received {"connection_id":204446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":204446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":207536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:04:10] local.INFO: GPS data processed {"connection_id":207536,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:04:10] local.INFO: Acknowledgment sent {"connection_id":207536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:04:11] local.INFO: TCP Data received {"connection_id":204446,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af81180012d1adb80071f8688003c01132c..."} 
[2026-10-05 13:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af81180012d1adb80071f8688003c01132c..."} 
[2026-10-05 13:04:11] local.INFO: Processing buffer {"connection_id":204446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af81180012d1adb80071f8688003c01132c..."} 
[2026-10-05 13:04:11] local.INFO: Packet analysis {"connection_id":204446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af8"} 
[2026-10-05 13:04:11] local.INFO: Extracted packet for processing {"connection_id":204446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af8"} 
[2026-10-05 13:04:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543454976001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:04:11] 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-10-05 13:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791185392000,"timestamp_ms":1791185392000,"timestamp_seconds":1791185392,"priority":1,"record_length":96,"hex_timestamp":"000001a10af81180"} 
[2026-10-05 13:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:04: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-10-05 13:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 13:04:11] 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-10-05 13:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:04:11] 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-10-05 13:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543454976001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543454976001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:04:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:04:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543454976001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":204446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:04:11] local.INFO: GPS data processed {"connection_id":204446,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:04:11] local.INFO: Acknowledgment sent {"connection_id":204446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:04:15] local.INFO: TCP Data received {"connection_id":207536,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:04:15] local.INFO: Processing buffer {"connection_id":207536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:04:15] local.INFO: Packet analysis {"connection_id":207536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:04:15] local.INFO: Extracted packet for processing {"connection_id":207536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:04:15] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543438592001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:04:15] 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-10-05 13:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791185608000,"timestamp_ms":1791185608000,"timestamp_seconds":1791185608,"priority":1,"record_length":96,"hex_timestamp":"000001a10afb5d40"} 
[2026-10-05 13:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:04:15] 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-10-05 13:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543438592001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543438592001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:04:15] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:04:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543438592001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":207536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:04:15] local.INFO: GPS data processed {"connection_id":207536,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:04:15] local.INFO: Acknowledgment sent {"connection_id":207536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:04:16] local.INFO: TCP Data received {"connection_id":205990,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10afa4fb8012c52730009cd06600225014d2c..."} 
[2026-10-05 13:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afa4fb8012c52730009cd06600225014d2c..."} 
[2026-10-05 13:04:16] local.INFO: Processing buffer {"connection_id":205990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afa4fb8012c52730009cd06600225014d2c..."} 
[2026-10-05 13:04:16] local.INFO: Packet analysis {"connection_id":205990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afa"} 
[2026-10-05 13:04:16] local.INFO: Extracted packet for processing {"connection_id":205990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afa"} 
[2026-10-05 13:04:16] local.INFO: GPS Element Parsed {"raw_longitude":743600896,"raw_latitude":164431456,"longitude_deg":74.3600896,"latitude_deg":16.4431456,"altitude":549,"angle":333,"satellites":44,"speed":0,"hex_longitude":"2c527300","hex_latitude":"09cd0660","is_valid_coordinates":true} 
[2026-10-05 13:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543492608001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 13:04:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5950521787241762818,"note":"Value kept but may cause issues"} 
[2026-10-05 13:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791185539000,"timestamp_ms":1791185539000,"timestamp_seconds":1791185539,"priority":1,"record_length":96,"hex_timestamp":"000001a10afa4fb8"} 
[2026-10-05 13:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 13:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 13:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 13:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543492608001,"66":27908,"165":206,"9":8448,"24":0,"16":8752305830625280,"44":5950521787241762818},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,9,24,16,44]} 
[2026-10-05 13:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 13:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 13:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543492608001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:04:16] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-05 13:04:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 13:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:04:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":5950521787241762818,"description":"Unknown IO ID 44"} 
[2026-10-05 13:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543492608001,"power":27908,"unknown_165":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5950521787241762818}} 
[2026-10-05 13:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":205990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967404,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:04:16] local.INFO: GPS data processed {"connection_id":205990,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:04:16] local.INFO: Acknowledgment sent {"connection_id":205990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:04:31] local.INFO: TCP Data received {"connection_id":204445,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10af74660012d7f914005afdf800003007125..."} 
[2026-10-05 13:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af74660012d7f914005afdf800003007125..."} 
[2026-10-05 13:04:31] local.INFO: Processing buffer {"connection_id":204445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af74660012d7f914005afdf800003007125..."} 
[2026-10-05 13:04:31] local.INFO: Packet analysis {"connection_id":204445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:04:31] local.INFO: Extracted packet for processing {"connection_id":204445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af7"} 
[2026-10-05 13:04:31] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95412096,"longitude_deg":76.3334976,"latitude_deg":9.5412096,"altitude":3,"angle":113,"satellites":37,"speed":1,"hex_longitude":"2d7f9140","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543446528001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894016153026560,"note":"Value kept but may cause issues"} 
[2026-10-05 13:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191987601377015808,"note":"Value kept but may cause issues"} 
[2026-10-05 13:04: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-10-05 13:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791185340000,"timestamp_ms":1791185340000,"timestamp_seconds":1791185340,"priority":1,"record_length":96,"hex_timestamp":"000001a10af74660"} 
[2026-10-05 13:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 13:04:31] 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-10-05 13: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-10-05 13:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543446528001,"66":27484,"250":206,"85":12544,"24":1,"16":1894016153026560,"45":9191987601377015808},"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-10-05 13:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543446528001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:04:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:04:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894016153026560,"km_value":1894016153026.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191987601377015808,"description":"Unknown IO ID 45"} 
[2026-10-05 13:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543446528001,"power":27484,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9191987601377015808}} 
[2026-10-05 13:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":204445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:04:31] local.INFO: GPS data processed {"connection_id":204445,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:04:31] local.INFO: Acknowledgment sent {"connection_id":204445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:04:34] local.INFO: TCP Data received {"connection_id":204586,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:04:34] local.INFO: Processing buffer {"connection_id":204586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:04:34] local.INFO: IMEI packet received {"connection_id":204586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 13:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":204586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:04:40] local.INFO: TCP Data received {"connection_id":204586,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:04:40] local.INFO: Processing buffer {"connection_id":204586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:04:40] local.INFO: IMEI packet received {"connection_id":204586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 13:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":204586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:04:40] local.INFO: TCP Data received {"connection_id":204586,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10a9767680100000000000000000000000000..."} 
[2026-10-05 13:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10a9767680100000000000000000000000000..."} 
[2026-10-05 13:04:40] local.INFO: Processing buffer {"connection_id":204586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10a9767680100000000000000000000000000..."} 
[2026-10-05 13:04:40] local.INFO: Packet analysis {"connection_id":204586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10a97"} 
[2026-10-05 13:04:40] local.INFO: Extracted packet for processing {"connection_id":204586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10a97"} 
[2026-10-05 13:04:40] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-05 13:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543497984001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 13:04:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5941092375526268930,"note":"Value kept but may cause issues"} 
[2026-10-05 13:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791179057000,"timestamp_ms":1791179057000,"timestamp_seconds":1791179057,"priority":1,"record_length":96,"hex_timestamp":"000001a10a976768"} 
[2026-10-05 13:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 13:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 13:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 13:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":204586,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-05 13:04:40] local.INFO: GPS data processed {"connection_id":204586,"processed":0,"errors":0,"total":1} 
[2026-10-05 13:04:40] local.INFO: Acknowledgment sent {"connection_id":204586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:04:42] local.INFO: TCP Data received {"connection_id":204446,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af86388012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af86388012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:04:42] local.INFO: Processing buffer {"connection_id":204446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af86388012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:04:42] local.INFO: Packet analysis {"connection_id":204446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af8"} 
[2026-10-05 13:04:42] local.INFO: Extracted packet for processing {"connection_id":204446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af8"} 
[2026-10-05 13:04:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543460352001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791185413000,"timestamp_ms":1791185413000,"timestamp_seconds":1791185413,"priority":1,"record_length":96,"hex_timestamp":"000001a10af86388"} 
[2026-10-05 13:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:04: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-10-05 13:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 13:04:42] 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-10-05 13:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:04:42] 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-10-05 13:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543460352001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543460352001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:04:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:04:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543460352001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":204446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:04:42] local.INFO: GPS data processed {"connection_id":204446,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:04:42] local.INFO: Acknowledgment sent {"connection_id":204446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:04:59] local.INFO: TCP Data received {"connection_id":207537,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:04:59] local.INFO: Processing buffer {"connection_id":207537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:04:59] local.INFO: IMEI packet received {"connection_id":207537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":207537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:05:00] local.INFO: TCP Data received {"connection_id":207538,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:05:00] local.INFO: Processing buffer {"connection_id":207538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:05:00] local.INFO: IMEI packet received {"connection_id":207538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":207538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:05:04] local.INFO: TCP Data received {"connection_id":207537,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:05:04] local.INFO: Processing buffer {"connection_id":207537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:05:04] local.INFO: IMEI packet received {"connection_id":207537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":207537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:05:05] local.INFO: TCP Data received {"connection_id":207538,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:05:05] local.INFO: Processing buffer {"connection_id":207538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:05:05] local.INFO: IMEI packet received {"connection_id":207538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":207538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:05:05] local.INFO: TCP Data received {"connection_id":207537,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:05:05] local.INFO: Processing buffer {"connection_id":207537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:05:05] local.INFO: Packet analysis {"connection_id":207537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:05:05] local.INFO: Extracted packet for processing {"connection_id":207537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:05:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543438592001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:05] 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-10-05 13:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791185608000,"timestamp_ms":1791185608000,"timestamp_seconds":1791185608,"priority":1,"record_length":96,"hex_timestamp":"000001a10afb5d40"} 
[2026-10-05 13:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13: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-10-05 13: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:05: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-10-05 13: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-10-05 13:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543438592001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543438592001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:05:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:05:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543438592001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":207537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:05:05] local.INFO: GPS data processed {"connection_id":207537,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:05:05] local.INFO: Acknowledgment sent {"connection_id":207537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:05:05] local.INFO: TCP Data received {"connection_id":207538,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10afbe5f8012d7f930005afdbf00009006922..."} 
[2026-10-05 13:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afbe5f8012d7f930005afdbf00009006922..."} 
[2026-10-05 13:05:05] local.INFO: Processing buffer {"connection_id":207538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afbe5f8012d7f930005afdbf00009006922..."} 
[2026-10-05 13:05:05] local.INFO: Packet analysis {"connection_id":207538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:05:05] local.INFO: Extracted packet for processing {"connection_id":207538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:05:05] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95411184,"longitude_deg":76.3335424,"latitude_deg":9.5411184,"altitude":9,"angle":105,"satellites":34,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdbf0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543447040001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894016153026560,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609567232,"note":"Value kept but may cause issues"} 
[2026-10-05 13: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-10-05 13:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791185643000,"timestamp_ms":1791185643000,"timestamp_seconds":1791185643,"priority":1,"record_length":96,"hex_timestamp":"000001a10afbe5f8"} 
[2026-10-05 13:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 13:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543447040001,"66":26180,"250":206,"85":12544,"24":0,"16":1894016153026560,"45":9192198707609567232},"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-10-05 13:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543447040001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:05:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:05:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894016153026560,"km_value":1894016153026.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609567232,"description":"Unknown IO ID 45"} 
[2026-10-05 13:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543447040001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609567232}} 
[2026-10-05 13:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":207538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:05:05] local.INFO: GPS data processed {"connection_id":207538,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:05:05] local.INFO: Acknowledgment sent {"connection_id":207538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:05:06] local.INFO: TCP Data received {"connection_id":205991,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:05:06] local.INFO: Processing buffer {"connection_id":205991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:05:06] local.INFO: IMEI packet received {"connection_id":205991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":205991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:05:10] local.INFO: TCP Data received {"connection_id":207538,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10afbe5f8012d7f930005afdbf00009006922..."} 
[2026-10-05 13:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afbe5f8012d7f930005afdbf00009006922..."} 
[2026-10-05 13:05:10] local.INFO: Processing buffer {"connection_id":207538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afbe5f8012d7f930005afdbf00009006922..."} 
[2026-10-05 13:05:10] local.INFO: Packet analysis {"connection_id":207538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:05:10] local.INFO: Extracted packet for processing {"connection_id":207538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:05:10] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95411184,"longitude_deg":76.3335424,"latitude_deg":9.5411184,"altitude":9,"angle":105,"satellites":34,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdbf0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543447040001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894016153026560,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609567232,"note":"Value kept but may cause issues"} 
[2026-10-05 13: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-10-05 13:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791185643000,"timestamp_ms":1791185643000,"timestamp_seconds":1791185643,"priority":1,"record_length":96,"hex_timestamp":"000001a10afbe5f8"} 
[2026-10-05 13:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 13:05:10] 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-10-05 13: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-10-05 13:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543447040001,"66":26180,"250":206,"85":12544,"24":0,"16":1894016153026560,"45":9192198707609567232},"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-10-05 13:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543447040001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:05:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894016153026560,"km_value":1894016153026.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609567232,"description":"Unknown IO ID 45"} 
[2026-10-05 13:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543447040001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609567232}} 
[2026-10-05 13:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":207538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:05:10] local.INFO: GPS data processed {"connection_id":207538,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:05:10] local.INFO: Acknowledgment sent {"connection_id":207538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:05:10] local.INFO: TCP Data received {"connection_id":205991,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:05:10] local.INFO: Processing buffer {"connection_id":205991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:05:10] local.INFO: IMEI packet received {"connection_id":205991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":205991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:05:11] local.INFO: TCP Data received {"connection_id":205991,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af8b590012d1adb80071f8688003c011326..."} 
[2026-10-05 13:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af8b590012d1adb80071f8688003c011326..."} 
[2026-10-05 13:05:11] local.INFO: Processing buffer {"connection_id":205991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af8b590012d1adb80071f8688003c011326..."} 
[2026-10-05 13:05:11] local.INFO: Packet analysis {"connection_id":205991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af8"} 
[2026-10-05 13:05:11] local.INFO: Extracted packet for processing {"connection_id":205991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af8"} 
[2026-10-05 13:05:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543465728001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:11] 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-10-05 13:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791185434000,"timestamp_ms":1791185434000,"timestamp_seconds":1791185434,"priority":1,"record_length":96,"hex_timestamp":"000001a10af8b590"} 
[2026-10-05 13:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:05: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-10-05 13: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 13:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:11] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":789859810197445339,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77452897595424768,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075828430,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 13:05:11] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:11] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594552,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:11] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,211,161,17,45,128,134,60,44,10,66,191,42,109,1,240,255,227,31,4,113,205,201,219,136,43,239,47,2,88,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 13:05:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758192656908288,"timestamp_seconds":4323758192656908.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 13:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:05:11] 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-10-05 13:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543465728001,"66":12265,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543465728001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:05:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:05:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543465728001,"power":12265,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:05:11] local.INFO: TCP Data received {"connection_id":204586,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10afac8d0012c52260009cd9da00229014d2d..."} 
[2026-10-05 13:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afac8d0012c52260009cd9da00229014d2d..."} 
[2026-10-05 13:05:11] local.INFO: Processing buffer {"connection_id":204586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afac8d0012c52260009cd9da00229014d2d..."} 
[2026-10-05 13:05:11] local.INFO: Packet analysis {"connection_id":204586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afa"} 
[2026-10-05 13:05:11] local.INFO: Extracted packet for processing {"connection_id":204586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afa"} 
[2026-10-05 13:05:11] local.INFO: GPS Element Parsed {"raw_longitude":743581184,"raw_latitude":164470176,"longitude_deg":74.3581184,"latitude_deg":16.4470176,"altitude":553,"angle":333,"satellites":45,"speed":52,"hex_longitude":"2c522600","hex_latitude":"09cd9da0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8752305830625280,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,165,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 13:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791185570000,"timestamp_ms":1791185570000,"timestamp_seconds":1791185570,"priority":1,"record_length":96,"hex_timestamp":"000001a10afac8d0"} 
[2026-10-05 13:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-05 13:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 13:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 13:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27484,"165":206,"9":8448,"24":52,"16":8752305830625280},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,9,24,16]} 
[2026-10-05 13:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 13:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 13:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-05 13:05:11] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-05 13:05:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 13:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8752305830625280,"km_value":8752305830625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:05:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27484,"unknown_165":206,"unknown_9":8448,"ignition":52,"odometer":null}} 
[2026-10-05 13:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":205991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:05:11] local.INFO: GPS data processed {"connection_id":205991,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:05:11] local.INFO: Acknowledgment sent {"connection_id":205991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":204586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967411,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:05:11] local.INFO: GPS data processed {"connection_id":204586,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:05:11] local.INFO: Acknowledgment sent {"connection_id":204586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:05:37] local.INFO: TCP Data received {"connection_id":207537,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:05:37] local.INFO: Processing buffer {"connection_id":207537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:05:37] local.INFO: Packet analysis {"connection_id":207537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:05:37] local.INFO: Extracted packet for processing {"connection_id":207537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:05:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543438592001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:37] 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-10-05 13:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791185608000,"timestamp_ms":1791185608000,"timestamp_seconds":1791185608,"priority":1,"record_length":96,"hex_timestamp":"000001a10afb5d40"} 
[2026-10-05 13:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:05: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-10-05 13:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543438592001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543438592001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:05:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:05:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543438592001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":207537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:05:37] local.INFO: GPS data processed {"connection_id":207537,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:05:37] local.INFO: Acknowledgment sent {"connection_id":207537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:05:42] local.INFO: TCP Data received {"connection_id":205991,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10af90798012d1adb80071f8688003c01132c..."} 
[2026-10-05 13:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10af90798012d1adb80071f8688003c01132c..."} 
[2026-10-05 13:05:42] local.INFO: Processing buffer {"connection_id":205991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10af90798012d1adb80071f8688003c01132c..."} 
[2026-10-05 13:05:42] local.INFO: Packet analysis {"connection_id":205991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10af9"} 
[2026-10-05 13:05:42] local.INFO: Extracted packet for processing {"connection_id":205991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10af9"} 
[2026-10-05 13:05:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543471104001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791185455000,"timestamp_ms":1791185455000,"timestamp_seconds":1791185455,"priority":1,"record_length":96,"hex_timestamp":"000001a10af90798"} 
[2026-10-05 13:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:05: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-10-05 13:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 13:05:42] 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-10-05 13:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":205991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":205991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":205991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:05:42] 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-10-05 13:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543471104001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543471104001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:05:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:05:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543471104001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":205991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:05:42] local.INFO: GPS data processed {"connection_id":205991,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:05:42] local.INFO: Acknowledgment sent {"connection_id":205991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:05:55] local.INFO: TCP Data received {"connection_id":207539,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:05:55] local.INFO: Processing buffer {"connection_id":207539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:05:55] local.INFO: IMEI packet received {"connection_id":207539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":207539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:05:59] local.INFO: TCP Data received {"connection_id":204587,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:05:59] local.INFO: Processing buffer {"connection_id":204587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:05:59] local.INFO: IMEI packet received {"connection_id":204587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":204587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:06:00] local.INFO: TCP Data received {"connection_id":207539,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:06:00] local.INFO: Processing buffer {"connection_id":207539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:06:00] local.INFO: IMEI packet received {"connection_id":207539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":207539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:06:00] local.INFO: TCP Data received {"connection_id":207539,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10afbe5f8012d7f930005afdbf00009006922..."} 
[2026-10-05 13:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afbe5f8012d7f930005afdbf00009006922..."} 
[2026-10-05 13:06:00] local.INFO: Processing buffer {"connection_id":207539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afbe5f8012d7f930005afdbf00009006922..."} 
[2026-10-05 13:06:00] local.INFO: Packet analysis {"connection_id":207539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:06:00] local.INFO: Extracted packet for processing {"connection_id":207539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:06:00] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95411184,"longitude_deg":76.3335424,"latitude_deg":9.5411184,"altitude":9,"angle":105,"satellites":34,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdbf0","is_valid_coordinates":true} 
[2026-10-05 13:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543447040001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894016153026560,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609567232,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06: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-10-05 13:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791185643000,"timestamp_ms":1791185643000,"timestamp_seconds":1791185643,"priority":1,"record_length":96,"hex_timestamp":"000001a10afbe5f8"} 
[2026-10-05 13:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 13:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:06: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-10-05 13:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543447040001,"66":26180,"250":206,"85":12544,"24":0,"16":1894016153026560,"45":9192198707609567232},"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-10-05 13:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543447040001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:06:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:06:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894016153026560,"km_value":1894016153026.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609567232,"description":"Unknown IO ID 45"} 
[2026-10-05 13:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543447040001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609567232}} 
[2026-10-05 13:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":207539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:06:00] local.INFO: GPS data processed {"connection_id":207539,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:06:00] local.INFO: Acknowledgment sent {"connection_id":207539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:06:04] local.INFO: TCP Data received {"connection_id":204587,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:06:04] local.INFO: Processing buffer {"connection_id":204587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:06:04] local.INFO: IMEI packet received {"connection_id":204587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":204587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:06:05] local.INFO: TCP Data received {"connection_id":204447,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:06:05] local.INFO: Processing buffer {"connection_id":204447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:06:05] local.INFO: IMEI packet received {"connection_id":204447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":204447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:06:05] local.INFO: TCP Data received {"connection_id":204587,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:06:05] local.INFO: Processing buffer {"connection_id":204587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:06:05] local.INFO: Packet analysis {"connection_id":204587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:06:05] local.INFO: Extracted packet for processing {"connection_id":204587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:06:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 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-10-05 13:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543438592001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:05] 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-10-05 13:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791185608000,"timestamp_ms":1791185608000,"timestamp_seconds":1791185608,"priority":1,"record_length":96,"hex_timestamp":"000001a10afb5d40"} 
[2026-10-05 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-10-05 13:06: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-10-05 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:06: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-10-05 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-10-05 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-10-05 13:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543438592001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543438592001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:06:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:06:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543438592001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":204587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:06:05] local.INFO: GPS data processed {"connection_id":204587,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:06:05] local.INFO: Acknowledgment sent {"connection_id":204587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:06:06] local.INFO: TCP Data received {"connection_id":204447,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:06:06] local.INFO: Processing buffer {"connection_id":204447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:06:06] local.INFO: IMEI packet received {"connection_id":204447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":204447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:06:10] local.INFO: TCP Data received {"connection_id":204447,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:06:10] local.INFO: Processing buffer {"connection_id":204447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:06:10] local.INFO: IMEI packet received {"connection_id":204447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":204447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:06:11] local.INFO: TCP Data received {"connection_id":204447,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10afc8df0012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afc8df0012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:06:11] local.INFO: Processing buffer {"connection_id":204447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afc8df0012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:06:11] local.INFO: Packet analysis {"connection_id":204447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afc"} 
[2026-10-05 13:06:11] local.INFO: Extracted packet for processing {"connection_id":204447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afc"} 
[2026-10-05 13:06:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543530240001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:11] 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-10-05 13:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791185686000,"timestamp_ms":1791185686000,"timestamp_seconds":1791185686,"priority":1,"record_length":96,"hex_timestamp":"000001a10afc8df0"} 
[2026-10-05 13:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 13:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:11] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":790942141956037339,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77451798083796992,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075828430,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 13:06:11] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:11] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,101,83,24,241,157,16,211,161,233,45,128,134,60,43,10,66,151,44,69,1,240,31,227,4,113,205,219,136,41,239,48,2,88,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 13:06:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758188361940992,"timestamp_seconds":4323758188361941.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 13:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:06:11] 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-10-05 13:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543530240001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543530240001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:06:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:06:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543530240001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":204447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:06:11] local.INFO: GPS data processed {"connection_id":204447,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:06:11] local.INFO: Acknowledgment sent {"connection_id":204447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:06:31] local.INFO: TCP Data received {"connection_id":207539,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10afbe5f8012d7f930005afdbf00009006922..."} 
[2026-10-05 13:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afbe5f8012d7f930005afdbf00009006922..."} 
[2026-10-05 13:06:31] local.INFO: Processing buffer {"connection_id":207539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afbe5f8012d7f930005afdbf00009006922..."} 
[2026-10-05 13:06:31] local.INFO: Packet analysis {"connection_id":207539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:06:31] local.INFO: Extracted packet for processing {"connection_id":207539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:06:31] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95411184,"longitude_deg":76.3335424,"latitude_deg":9.5411184,"altitude":9,"angle":105,"satellites":34,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdbf0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543447040001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894016153026560,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609567232,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06: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-10-05 13:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791185643000,"timestamp_ms":1791185643000,"timestamp_seconds":1791185643,"priority":1,"record_length":96,"hex_timestamp":"000001a10afbe5f8"} 
[2026-10-05 13:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 13:06:31] 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-10-05 13: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-10-05 13:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543447040001,"66":26180,"250":206,"85":12544,"24":0,"16":1894016153026560,"45":9192198707609567232},"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-10-05 13:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543447040001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:06:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:06:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894016153026560,"km_value":1894016153026.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609567232,"description":"Unknown IO ID 45"} 
[2026-10-05 13:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543447040001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609567232}} 
[2026-10-05 13:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":207539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:06:31] local.INFO: GPS data processed {"connection_id":207539,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:06:31] local.INFO: Acknowledgment sent {"connection_id":207539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:06:37] local.INFO: TCP Data received {"connection_id":204587,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:06:37] local.INFO: Processing buffer {"connection_id":204587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:06:37] local.INFO: Packet analysis {"connection_id":204587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:06:37] local.INFO: Extracted packet for processing {"connection_id":204587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:06:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543438592001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:37] 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-10-05 13:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791185608000,"timestamp_ms":1791185608000,"timestamp_seconds":1791185608,"priority":1,"record_length":96,"hex_timestamp":"000001a10afb5d40"} 
[2026-10-05 13:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:06: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-10-05 13:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543438592001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543438592001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:06:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:06:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543438592001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":204587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:06:37] local.INFO: GPS data processed {"connection_id":204587,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:06:37] local.INFO: Acknowledgment sent {"connection_id":204587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:06:42] local.INFO: TCP Data received {"connection_id":204447,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10afcdff8012d1adb80071f8688003c011329..."} 
[2026-10-05 13:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afcdff8012d1adb80071f8688003c011329..."} 
[2026-10-05 13:06:42] local.INFO: Processing buffer {"connection_id":204447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afcdff8012d1adb80071f8688003c011329..."} 
[2026-10-05 13:06:42] local.INFO: Packet analysis {"connection_id":204447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afc"} 
[2026-10-05 13:06:42] local.INFO: Extracted packet for processing {"connection_id":204447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afc"} 
[2026-10-05 13:06:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543535616001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791185707000,"timestamp_ms":1791185707000,"timestamp_seconds":1791185707,"priority":1,"record_length":96,"hex_timestamp":"000001a10afcdff8"} 
[2026-10-05 13:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 13:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:42] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:42] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:42] local.WARNING: Large IO value detected {"io_id":161,"raw_value":791032336269253339,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:42] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:42] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77450698572169216,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:42] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:42] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075828430,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 13:06:42] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3355520282,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:42] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:42] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:42] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,101,83,24,241,157,16,211,161,59,45,128,134,60,42,10,66,233,43,151,1,240,227,31,4,113,205,243,219,136,239,48,2,88,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 13:06:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758192656908288,"timestamp_seconds":4323758192656908.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 13:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:06:42] 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-10-05 13:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543535616001,"66":12265,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543535616001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:06:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:06:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543535616001,"power":12265,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":204447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:06:42] local.INFO: GPS data processed {"connection_id":204447,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:06:42] local.INFO: Acknowledgment sent {"connection_id":204447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:06:49] local.INFO: TCP Data received {"connection_id":207540,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:06:49] local.INFO: Processing buffer {"connection_id":207540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:06:49] local.INFO: IMEI packet received {"connection_id":207540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 13:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":207540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:06:51] local.INFO: TCP Data received {"connection_id":207540,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:06:51] local.INFO: Processing buffer {"connection_id":207540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:06:51] local.INFO: IMEI packet received {"connection_id":207540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 13:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":207540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:06:55] local.INFO: TCP Data received {"connection_id":205992,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:06:55] local.INFO: Processing buffer {"connection_id":205992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:06:55] local.INFO: IMEI packet received {"connection_id":205992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":205992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:06:56] local.INFO: TCP Data received {"connection_id":207540,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10afcf768012c513f0009cf8a200224014e2c..."} 
[2026-10-05 13:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afcf768012c513f0009cf8a200224014e2c..."} 
[2026-10-05 13:06:56] local.INFO: Processing buffer {"connection_id":207540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afcf768012c513f0009cf8a200224014e2c..."} 
[2026-10-05 13:06:56] local.INFO: Packet analysis {"connection_id":207540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afc"} 
[2026-10-05 13:06:56] local.INFO: Extracted packet for processing {"connection_id":207540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afc"} 
[2026-10-05 13:06:56] local.INFO: GPS Element Parsed {"raw_longitude":743522048,"raw_latitude":164596256,"longitude_deg":74.3522048,"latitude_deg":16.4596256,"altitude":548,"angle":334,"satellites":44,"speed":30,"hex_longitude":"2c513f00","hex_latitude":"09cf8a20","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543539200001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8755892128317440,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5859183157343506434,"note":"Value kept but may cause issues"} 
[2026-10-05 13:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1791185713000,"timestamp_ms":1791185713000,"timestamp_seconds":1791185713,"priority":1,"record_length":96,"hex_timestamp":"000001a10afcf768"} 
[2026-10-05 13:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:06:56] 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-10-05 13: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":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 13:06:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":207540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":207540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":207540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 13:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 13:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543539200001,"66":28354,"165":206,"9":8448,"24":30,"16":8755892128317440,"44":5859183157343506434},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,9,24,16,44]} 
[2026-10-05 13:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 13:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 13:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543539200001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:06:56] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-05 13:06:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 13:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8755892128317440,"km_value":8755892128317.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:06:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":5859183157343506434,"description":"Unknown IO ID 44"} 
[2026-10-05 13:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543539200001,"power":28354,"unknown_165":206,"unknown_9":8448,"ignition":30,"odometer":null,"unknown_44":5859183157343506434}} 
[2026-10-05 13:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":207540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967420,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:06:56] local.INFO: GPS data processed {"connection_id":207540,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:06:56] local.INFO: Acknowledgment sent {"connection_id":207540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:06:57] local.INFO: TCP Data received {"connection_id":205992,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:06:57] local.INFO: Processing buffer {"connection_id":205992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:06:57] local.INFO: IMEI packet received {"connection_id":205992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":205992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:06:59] local.INFO: TCP Data received {"connection_id":204588,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:06:59] local.INFO: Processing buffer {"connection_id":204588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:06:59] local.INFO: IMEI packet received {"connection_id":204588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":204588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:06:59] local.INFO: TCP Data received {"connection_id":205992,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:06:59] local.INFO: Processing buffer {"connection_id":205992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:06:59] local.INFO: IMEI packet received {"connection_id":205992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":205992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:07:00] local.INFO: TCP Data received {"connection_id":205992,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10afd9f60012d7f930005afdbf00009006926..."} 
[2026-10-05 13:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afd9f60012d7f930005afdbf00009006926..."} 
[2026-10-05 13:07:00] local.INFO: Processing buffer {"connection_id":205992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afd9f60012d7f930005afdbf00009006926..."} 
[2026-10-05 13:07:00] local.INFO: Packet analysis {"connection_id":205992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afd"} 
[2026-10-05 13:07:00] local.INFO: Extracted packet for processing {"connection_id":205992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afd"} 
[2026-10-05 13:07:00] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95411184,"longitude_deg":76.3335424,"latitude_deg":9.5411184,"altitude":9,"angle":105,"satellites":38,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afdbf0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543524608001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894016153026560,"note":"Value kept but may cause issues"} 
[2026-10-05 13:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818577408,"note":"Value kept but may cause issues"} 
[2026-10-05 13: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-10-05 13:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791185756000,"timestamp_ms":1791185756000,"timestamp_seconds":1791185756,"priority":1,"record_length":96,"hex_timestamp":"000001a10afd9f60"} 
[2026-10-05 13:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-10-05 13:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":205992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":205992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":205992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:07: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-10-05 13:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543524608001,"66":26082,"250":206,"85":12544,"24":0,"16":1894016153026560,"45":9192691288818577408},"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-10-05 13:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543524608001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:07:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:07:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894016153026560,"km_value":1894016153026.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818577408,"description":"Unknown IO ID 45"} 
[2026-10-05 13:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543524608001,"power":26082,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818577408}} 
[2026-10-05 13:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":205992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:07:00] local.INFO: GPS data processed {"connection_id":205992,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:07:00] local.INFO: Acknowledgment sent {"connection_id":205992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:07:04] local.INFO: TCP Data received {"connection_id":204588,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:07:04] local.INFO: Processing buffer {"connection_id":204588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:07:04] local.INFO: IMEI packet received {"connection_id":204588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":204588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:07:05] local.INFO: TCP Data received {"connection_id":204448,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:07:05] local.INFO: TCP Data received {"connection_id":205992,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10afda730012d7f944005afd9c00009005226..."} 
[2026-10-05 13:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:07:05] local.INFO: Processing buffer {"connection_id":204448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:07:05] local.INFO: IMEI packet received {"connection_id":204448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":204448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afda730012d7f944005afd9c00009005226..."} 
[2026-10-05 13:07:05] local.INFO: Processing buffer {"connection_id":205992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afda730012d7f944005afd9c00009005226..."} 
[2026-10-05 13:07:05] local.INFO: Packet analysis {"connection_id":205992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afd"} 
[2026-10-05 13:07:05] local.INFO: Extracted packet for processing {"connection_id":205992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afd"} 
[2026-10-05 13:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763335744,"raw_latitude":95410624,"longitude_deg":76.3335744,"latitude_deg":9.5410624,"altitude":9,"angle":82,"satellites":38,"speed":0,"hex_longitude":"2d7f9440","hex_latitude":"05afd9c0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543553536001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894016153026560,"note":"Value kept but may cause issues"} 
[2026-10-05 13:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818577408,"note":"Value kept but may cause issues"} 
[2026-10-05 13: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-10-05 13:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791185758000,"timestamp_ms":1791185758000,"timestamp_seconds":1791185758,"priority":1,"record_length":96,"hex_timestamp":"000001a10afda730"} 
[2026-10-05 13:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:07:05] 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-10-05 13: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-05 13:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:07: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-10-05 13:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543553536001,"66":22060,"250":206,"85":12544,"24":0,"16":1894016153026560,"45":9192691288818577408},"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-10-05 13:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543553536001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:07:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:07:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894016153026560,"km_value":1894016153026.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818577408,"description":"Unknown IO ID 45"} 
[2026-10-05 13:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543553536001,"power":22060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818577408}} 
[2026-10-05 13:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":205992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:07:05] local.INFO: GPS data processed {"connection_id":205992,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:07:05] local.INFO: Acknowledgment sent {"connection_id":205992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:07:05] local.INFO: TCP Data received {"connection_id":204588,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:07:05] local.INFO: Processing buffer {"connection_id":204588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:07:05] local.INFO: Packet analysis {"connection_id":204588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:07:05] local.INFO: Extracted packet for processing {"connection_id":204588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543438592001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:07:05] 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-10-05 13:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791185608000,"timestamp_ms":1791185608000,"timestamp_seconds":1791185608,"priority":1,"record_length":96,"hex_timestamp":"000001a10afb5d40"} 
[2026-10-05 13:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:07: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-10-05 13: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:07: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-10-05 13: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-10-05 13:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543438592001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543438592001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:07:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:07:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543438592001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":204588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967423,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:07:05] local.INFO: GPS data processed {"connection_id":204588,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:07:05] local.INFO: Acknowledgment sent {"connection_id":204588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:07:09] local.INFO: TCP Data received {"connection_id":204448,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:07:09] local.INFO: Processing buffer {"connection_id":204448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:07:09] local.INFO: IMEI packet received {"connection_id":204448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":204448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:07:10] local.INFO: TCP Data received {"connection_id":204448,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:07:10] local.INFO: Processing buffer {"connection_id":204448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:07:10] local.INFO: IMEI packet received {"connection_id":204448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":204448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:07:11] local.INFO: TCP Data received {"connection_id":204448,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10afd3200012d1adb80071f8688003c011329..."} 
[2026-10-05 13:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afd3200012d1adb80071f8688003c011329..."} 
[2026-10-05 13:07:11] local.INFO: Processing buffer {"connection_id":204448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afd3200012d1adb80071f8688003c011329..."} 
[2026-10-05 13:07:11] local.INFO: Packet analysis {"connection_id":204448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afd"} 
[2026-10-05 13:07:11] local.INFO: Extracted packet for processing {"connection_id":204448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afd"} 
[2026-10-05 13:07:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543540992001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:07:11] 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-10-05 13:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791185728000,"timestamp_ms":1791185728000,"timestamp_seconds":1791185728,"priority":1,"record_length":96,"hex_timestamp":"000001a10afd3200"} 
[2026-10-05 13:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 13:07:11] 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-10-05 13:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:07:11] 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-10-05 13:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543540992001,"66":11928,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543540992001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:07:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:07:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543540992001,"power":11928,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":204448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:07:11] local.INFO: GPS data processed {"connection_id":204448,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:07:11] local.INFO: Acknowledgment sent {"connection_id":204448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:07:34] local.INFO: TCP Data received {"connection_id":205993,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:07:34] local.INFO: Processing buffer {"connection_id":205993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:07:34] local.INFO: IMEI packet received {"connection_id":205993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 13:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":205993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:07:35] local.INFO: TCP Data received {"connection_id":205993,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:07:35] local.INFO: Processing buffer {"connection_id":205993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:07:35] local.INFO: IMEI packet received {"connection_id":205993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 13:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":205993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:07:36] local.INFO: TCP Data received {"connection_id":205992,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10afdf938012d7f94c005afda000009005226..."} 
[2026-10-05 13:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afdf938012d7f94c005afda000009005226..."} 
[2026-10-05 13:07:36] local.INFO: Processing buffer {"connection_id":205992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afdf938012d7f94c005afda000009005226..."} 
[2026-10-05 13:07:36] local.INFO: Packet analysis {"connection_id":205992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afd"} 
[2026-10-05 13:07:36] local.INFO: Extracted packet for processing {"connection_id":205992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afd"} 
[2026-10-05 13:07:36] local.INFO: GPS Element Parsed {"raw_longitude":763335872,"raw_latitude":95410688,"longitude_deg":76.3335872,"latitude_deg":9.5410688,"altitude":9,"angle":82,"satellites":38,"speed":0,"hex_longitude":"2d7f94c0","hex_latitude":"05afda00","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543554048001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894029037928448,"note":"Value kept but may cause issues"} 
[2026-10-05 13:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193043132539322368,"note":"Value kept but may cause issues"} 
[2026-10-05 13:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791185779000,"timestamp_ms":1791185779000,"timestamp_seconds":1791185779,"priority":1,"record_length":96,"hex_timestamp":"000001a10afdf938"} 
[2026-10-05 13:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:07:36] 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-10-05 13: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":86,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-10-05 13:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1024,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543554048001,"66":27593,"250":206,"85":12544,"24":0,"16":1894029037928448,"45":9193043132539322368},"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-10-05 13:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543554048001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:07:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:07:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894029037928448,"km_value":1894029037928.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193043132539322368,"description":"Unknown IO ID 45"} 
[2026-10-05 13:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543554048001,"power":27593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193043132539322368}} 
[2026-10-05 13:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":205992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:07:36] local.INFO: GPS data processed {"connection_id":205992,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:07:36] local.INFO: Acknowledgment sent {"connection_id":205992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:07:37] local.INFO: TCP Data received {"connection_id":204588,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:07:37] local.INFO: Processing buffer {"connection_id":204588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:07:37] local.INFO: Packet analysis {"connection_id":204588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:07:37] local.INFO: Extracted packet for processing {"connection_id":204588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:07:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543438592001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:07:37] 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-10-05 13:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791185608000,"timestamp_ms":1791185608000,"timestamp_seconds":1791185608,"priority":1,"record_length":96,"hex_timestamp":"000001a10afb5d40"} 
[2026-10-05 13:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:07: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-10-05 13: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-10-05 13:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543438592001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543438592001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:07:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:07:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543438592001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":204588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:07:37] local.INFO: GPS data processed {"connection_id":204588,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:07:37] local.INFO: Acknowledgment sent {"connection_id":204588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:07:40] local.INFO: TCP Data received {"connection_id":205993,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:07:40] local.INFO: Processing buffer {"connection_id":205993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:07:40] local.INFO: IMEI packet received {"connection_id":205993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 13:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":205993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:07:40] local.INFO: TCP Data received {"connection_id":205993,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10afe5310012c509d8009d0f880022401552d..."} 
[2026-10-05 13:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afe5310012c509d8009d0f880022401552d..."} 
[2026-10-05 13:07:40] local.INFO: Processing buffer {"connection_id":205993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afe5310012c509d8009d0f880022401552d..."} 
[2026-10-05 13:07:40] local.INFO: Packet analysis {"connection_id":205993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:07:40] local.INFO: Extracted packet for processing {"connection_id":205993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:07:40] local.INFO: GPS Element Parsed {"raw_longitude":743480704,"raw_latitude":164690048,"longitude_deg":74.3480704,"latitude_deg":16.4690048,"altitude":548,"angle":341,"satellites":45,"speed":54,"hex_longitude":"2c509d80","hex_latitude":"09d0f880","is_valid_coordinates":true} 
[2026-10-05 13:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543563520001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8760831340707840,"note":"Value kept but may cause issues"} 
[2026-10-05 13:07:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5812599048721825794,"note":"Value kept but may cause issues"} 
[2026-10-05 13:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791185802000,"timestamp_ms":1791185802000,"timestamp_seconds":1791185802,"priority":1,"record_length":96,"hex_timestamp":"000001a10afe5310"} 
[2026-10-05 13:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-05 13:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":205993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":205993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":205993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 13:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 13:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543563520001,"66":28354,"166":206,"9":8448,"24":54,"16":8760831340707840,"44":5812599048721825794},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,9,24,16,44]} 
[2026-10-05 13:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 13:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 13:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543563520001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:07:40] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-10-05 13:07:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 13:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8760831340707840,"km_value":8760831340707.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:07:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":5812599048721825794,"description":"Unknown IO ID 44"} 
[2026-10-05 13:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543563520001,"power":28354,"unknown_166":206,"unknown_9":8448,"ignition":54,"odometer":null,"unknown_44":5812599048721825794}} 
[2026-10-05 13:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":205993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967427,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:07:41] local.INFO: GPS data processed {"connection_id":205993,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:07:41] local.INFO: Acknowledgment sent {"connection_id":205993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:07:42] local.INFO: TCP Data received {"connection_id":204448,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10afd8408012d1adb80071f8688003c01132c..."} 
[2026-10-05 13:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afd8408012d1adb80071f8688003c01132c..."} 
[2026-10-05 13:07:42] local.INFO: Processing buffer {"connection_id":204448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afd8408012d1adb80071f8688003c01132c..."} 
[2026-10-05 13:07:42] local.INFO: Packet analysis {"connection_id":204448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afd"} 
[2026-10-05 13:07:42] local.INFO: Extracted packet for processing {"connection_id":204448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afd"} 
[2026-10-05 13:07:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543546368001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791185749000,"timestamp_ms":1791185749000,"timestamp_seconds":1791185749,"priority":1,"record_length":96,"hex_timestamp":"000001a10afd8408"} 
[2026-10-05 13:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13: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":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-05 13:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1796,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:07:42] 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-10-05 13:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543546368001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543546368001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:07:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:07:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543546368001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":204448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:07:42] local.INFO: GPS data processed {"connection_id":204448,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:07:42] local.INFO: Acknowledgment sent {"connection_id":204448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:07:55] local.INFO: TCP Data received {"connection_id":204589,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:07:55] local.INFO: Processing buffer {"connection_id":204589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:07:55] local.INFO: IMEI packet received {"connection_id":204589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":204589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:07:57] local.INFO: TCP Data received {"connection_id":204589,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:07:57] local.INFO: Processing buffer {"connection_id":204589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:07:57] local.INFO: IMEI packet received {"connection_id":204589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":204589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:07:59] local.INFO: TCP Data received {"connection_id":204449,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:07:59] local.INFO: Processing buffer {"connection_id":204449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:07:59] local.INFO: IMEI packet received {"connection_id":204449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":204449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:08:01] local.INFO: TCP Data received {"connection_id":204589,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:08:01] local.INFO: Processing buffer {"connection_id":204589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:08:01] local.INFO: IMEI packet received {"connection_id":204589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":204589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:08:01] local.INFO: TCP Data received {"connection_id":204589,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10afe4b40012d7f94c005afda080009005226..."} 
[2026-10-05 13:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afe4b40012d7f94c005afda080009005226..."} 
[2026-10-05 13:08:01] local.INFO: Processing buffer {"connection_id":204589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afe4b40012d7f94c005afda080009005226..."} 
[2026-10-05 13:08:01] local.INFO: Packet analysis {"connection_id":204589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:08:01] local.INFO: Extracted packet for processing {"connection_id":204589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:08:01] local.INFO: GPS Element Parsed {"raw_longitude":763335872,"raw_latitude":95410696,"longitude_deg":76.3335872,"latitude_deg":9.5410696,"altitude":9,"angle":82,"satellites":38,"speed":0,"hex_longitude":"2d7f94c0","hex_latitude":"05afda08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543559424001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894033332895744,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193183870027694080,"note":"Value kept but may cause issues"} 
[2026-10-05 13: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-10-05 13:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791185800000,"timestamp_ms":1791185800000,"timestamp_seconds":1791185800,"priority":1,"record_length":96,"hex_timestamp":"000001a10afe4b40"} 
[2026-10-05 13:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:08: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-10-05 13: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-05 13:08:01] 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-10-05 13: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-10-05 13:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:08: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-10-05 13:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543559424001,"66":27919,"250":206,"85":12544,"24":0,"16":1894033332895744,"45":9193183870027694080},"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-10-05 13:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543559424001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:08:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:08:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894033332895744,"km_value":1894033332895.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193183870027694080,"description":"Unknown IO ID 45"} 
[2026-10-05 13:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543559424001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193183870027694080}} 
[2026-10-05 13:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":204589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:08:01] local.INFO: GPS data processed {"connection_id":204589,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:08:01] local.INFO: Acknowledgment sent {"connection_id":204589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:08:04] local.INFO: TCP Data received {"connection_id":204449,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:08:04] local.INFO: Processing buffer {"connection_id":204449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:08:04] local.INFO: IMEI packet received {"connection_id":204449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":204449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:08:05] local.INFO: TCP Data received {"connection_id":204449,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:08:05] local.INFO: Processing buffer {"connection_id":204449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afb5d40012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:08:05] local.INFO: Packet analysis {"connection_id":204449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:08:05] local.INFO: Extracted packet for processing {"connection_id":204449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afb"} 
[2026-10-05 13:08:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543438592001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:05] 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-10-05 13:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791185608000,"timestamp_ms":1791185608000,"timestamp_seconds":1791185608,"priority":1,"record_length":96,"hex_timestamp":"000001a10afb5d40"} 
[2026-10-05 13:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13: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-10-05 13:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:08: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-10-05 13:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:08:05] 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-10-05 13:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543438592001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543438592001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:08:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:08:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543438592001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":204449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:08:05] local.INFO: GPS data processed {"connection_id":204449,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:08:05] local.INFO: Acknowledgment sent {"connection_id":204449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:08:10] local.INFO: TCP Data received {"connection_id":204590,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:08:10] local.INFO: Processing buffer {"connection_id":204590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:08:10] local.INFO: IMEI packet received {"connection_id":204590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":204590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:08:12] local.INFO: TCP Data received {"connection_id":204590,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:08:12] local.INFO: Processing buffer {"connection_id":204590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:08:12] local.INFO: IMEI packet received {"connection_id":204590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":204590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:08:13] local.INFO: TCP Data received {"connection_id":204590,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10afdd610012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afdd610012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:08:13] local.INFO: Processing buffer {"connection_id":204590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afdd610012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:08:13] local.INFO: Packet analysis {"connection_id":204590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afd"} 
[2026-10-05 13:08:13] local.INFO: Extracted packet for processing {"connection_id":204590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afd"} 
[2026-10-05 13:08:13] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13:08: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-10-05 13:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543551744001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791185770000,"timestamp_ms":1791185770000,"timestamp_seconds":1791185770,"priority":1,"record_length":96,"hex_timestamp":"000001a10afdd610"} 
[2026-10-05 13:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:08:13] 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-10-05 13:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 13:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:13] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:13] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:13] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:13] local.WARNING: Large IO value detected {"io_id":161,"raw_value":791302919208901339,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:13] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:13] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77453997107052544,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:13] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:13] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075828430,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:13] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 13:08:13] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3758173466,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:13] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:13] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:13] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:13] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,101,83,24,241,157,16,211,161,50,45,128,134,60,41,10,66,223,141,1,240,227,31,4,113,205,233,219,136,43,239,47,2,88,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 13:08:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758196951875584,"timestamp_seconds":4323758196951875.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 13:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":204590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":204590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":204590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:08:13] 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-10-05 13:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543551744001,"66":12113,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543551744001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:08:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:08:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543551744001,"power":12113,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":204590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:08:13] local.INFO: GPS data processed {"connection_id":204590,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:08:13] local.INFO: Acknowledgment sent {"connection_id":204590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:08:16] local.INFO: TCP Data received {"connection_id":204590,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10afe2818012d1adb80071f8688003c01132a..."} 
[2026-10-05 13:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afe2818012d1adb80071f8688003c01132a..."} 
[2026-10-05 13:08:16] local.INFO: Processing buffer {"connection_id":204590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afe2818012d1adb80071f8688003c01132a..."} 
[2026-10-05 13:08:16] local.INFO: Packet analysis {"connection_id":204590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:08:16] local.INFO: Extracted packet for processing {"connection_id":204590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:08:16] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543557120001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791185791000,"timestamp_ms":1791185791000,"timestamp_seconds":1791185791,"priority":1,"record_length":96,"hex_timestamp":"000001a10afe2818"} 
[2026-10-05 13:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-10-05 13:08: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-10-05 13:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:08:16] 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-10-05 13:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543557120001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543557120001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:08:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:08:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543557120001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":204590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:08:16] local.INFO: GPS data processed {"connection_id":204590,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:08:16] local.INFO: Acknowledgment sent {"connection_id":204590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:08:25] local.INFO: TCP Data received {"connection_id":205993,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10afe6e68012c50910009d11c70022401552d..."} 
[2026-10-05 13:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afe6e68012c50910009d11c70022401552d..."} 
[2026-10-05 13:08:25] local.INFO: Processing buffer {"connection_id":205993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afe6e68012c50910009d11c70022401552d..."} 
[2026-10-05 13:08:25] local.INFO: Packet analysis {"connection_id":205993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:08:25] local.INFO: Extracted packet for processing {"connection_id":205993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:08:25] local.INFO: GPS Element Parsed {"raw_longitude":743477504,"raw_latitude":164699248,"longitude_deg":74.3477504,"latitude_deg":16.4699248,"altitude":548,"angle":341,"satellites":45,"speed":56,"hex_longitude":"2c509100","hex_latitude":"09d11c70","is_valid_coordinates":true} 
[2026-10-05 13:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543565312001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8761299492143104,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5808939874026815490,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1791185809000,"timestamp_ms":1791185809000,"timestamp_seconds":1791185809,"priority":1,"record_length":96,"hex_timestamp":"000001a10afe6e68"} 
[2026-10-05 13:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-05 13:08:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:08:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":205993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":205993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":205993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:08:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 13:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 13:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543565312001,"66":28343,"166":206,"9":8448,"24":56,"16":8761299492143104,"44":5808939874026815490},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,9,24,16,44]} 
[2026-10-05 13:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 13:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 13:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543565312001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:08:25] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-10-05 13:08:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 13:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8761299492143104,"km_value":8761299492143.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:08:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":5808939874026815490,"description":"Unknown IO ID 44"} 
[2026-10-05 13:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543565312001,"power":28343,"unknown_166":206,"unknown_9":8448,"ignition":56,"odometer":null,"unknown_44":5808939874026815490}} 
[2026-10-05 13:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":205993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967433,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:08:25] local.INFO: GPS data processed {"connection_id":205993,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:08:25] local.INFO: Acknowledgment sent {"connection_id":205993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:08:32] local.INFO: TCP Data received {"connection_id":204589,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10afe9d48012d7f950005afd9f80009005226..."} 
[2026-10-05 13:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afe9d48012d7f950005afd9f80009005226..."} 
[2026-10-05 13:08:32] local.INFO: Processing buffer {"connection_id":204589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afe9d48012d7f950005afd9f80009005226..."} 
[2026-10-05 13:08:32] local.INFO: Packet analysis {"connection_id":204589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:08:32] local.INFO: Extracted packet for processing {"connection_id":204589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763335936,"raw_latitude":95410680,"longitude_deg":76.3335936,"latitude_deg":9.541068,"altitude":9,"angle":82,"satellites":38,"speed":0,"hex_longitude":"2d7f9500","hex_latitude":"05afd9f8","is_valid_coordinates":true} 
[2026-10-05 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-10-05 13:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543564800001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894046217797632,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193183870027696128,"note":"Value kept but may cause issues"} 
[2026-10-05 13: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-10-05 13:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791185821000,"timestamp_ms":1791185821000,"timestamp_seconds":1791185821,"priority":1,"record_length":96,"hex_timestamp":"000001a10afe9d48"} 
[2026-10-05 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-10-05 13:08:32] 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-10-05 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 13:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 13:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543564800001,"66":27919,"250":206,"85":12544,"24":0,"16":1894046217797632,"45":9193183870027696128},"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-10-05 13:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543564800001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:08:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:08:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894046217797632,"km_value":1894046217797.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193183870027696128,"description":"Unknown IO ID 45"} 
[2026-10-05 13:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543564800001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193183870027696128}} 
[2026-10-05 13:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":204589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:08:32] local.INFO: GPS data processed {"connection_id":204589,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:08:32] local.INFO: Acknowledgment sent {"connection_id":204589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:08:38] local.INFO: TCP Data received {"connection_id":204449,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:08:38] local.INFO: Processing buffer {"connection_id":204449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:08:38] local.INFO: Packet analysis {"connection_id":204449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aff"} 
[2026-10-05 13:08:38] local.INFO: Extracted packet for processing {"connection_id":204449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aff"} 
[2026-10-05 13:08:38] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":36,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543515648001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:38] 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-10-05 13:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791185909000,"timestamp_ms":1791185909000,"timestamp_seconds":1791185909,"priority":1,"record_length":96,"hex_timestamp":"000001a10afff508"} 
[2026-10-05 13:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:08:38] 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-10-05 13:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:08:38] 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-10-05 13:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543515648001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543515648001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:08:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:08:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543515648001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":204449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:08:38] local.INFO: GPS data processed {"connection_id":204449,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:08:38] local.INFO: Acknowledgment sent {"connection_id":204449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:08:39] local.INFO: TCP Data received {"connection_id":207541,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:08:39] local.INFO: Processing buffer {"connection_id":207541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:08:39] local.INFO: IMEI packet received {"connection_id":207541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 13:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":207541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:08:41] local.INFO: TCP Data received {"connection_id":207541,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:08:41] local.INFO: Processing buffer {"connection_id":207541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:08:41] local.INFO: IMEI packet received {"connection_id":207541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 13:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":207541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:08:47] local.INFO: TCP Data received {"connection_id":204590,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10afe7a20012d1adb80071f8688003c011329..."} 
[2026-10-05 13:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afe7a20012d1adb80071f8688003c011329..."} 
[2026-10-05 13:08:47] local.INFO: Processing buffer {"connection_id":204590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afe7a20012d1adb80071f8688003c011329..."} 
[2026-10-05 13:08:47] local.INFO: Packet analysis {"connection_id":204590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:08:47] local.INFO: Extracted packet for processing {"connection_id":204590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:08:47] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543562496001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791185812000,"timestamp_ms":1791185812000,"timestamp_seconds":1791185812,"priority":1,"record_length":96,"hex_timestamp":"000001a10afe7a20"} 
[2026-10-05 13:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 13:08:47] 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-10-05 13:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":204590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":204590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":204590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:08:47] 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-10-05 13:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543562496001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543562496001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:08:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:08:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543562496001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":204590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:08:47] local.INFO: GPS data processed {"connection_id":204590,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:08:47] local.INFO: Acknowledgment sent {"connection_id":204590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:08:55] local.INFO: TCP Data received {"connection_id":205994,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:08:55] local.INFO: Processing buffer {"connection_id":205994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:08:55] local.INFO: IMEI packet received {"connection_id":205994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":205994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:09:00] local.INFO: TCP Data received {"connection_id":205994,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:09:00] local.INFO: Processing buffer {"connection_id":205994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:09:00] local.INFO: IMEI packet received {"connection_id":205994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":205994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:09:01] local.INFO: TCP Data received {"connection_id":207541,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:09:01] local.INFO: Processing buffer {"connection_id":207541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:09:01] local.INFO: IMEI packet received {"connection_id":207541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 13:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":207541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:09:01] local.INFO: TCP Data received {"connection_id":205994,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10afee398012d7f950005afda000009006627..."} 
[2026-10-05 13:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afee398012d7f950005afda000009006627..."} 
[2026-10-05 13:09:01] local.INFO: Processing buffer {"connection_id":205994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afee398012d7f950005afda000009006627..."} 
[2026-10-05 13:09:01] local.INFO: Packet analysis {"connection_id":205994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:09:01] local.INFO: Extracted packet for processing {"connection_id":205994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:09:01] local.INFO: GPS Element Parsed {"raw_longitude":763335936,"raw_latitude":95410688,"longitude_deg":76.3335936,"latitude_deg":9.5410688,"altitude":9,"angle":102,"satellites":39,"speed":1,"hex_longitude":"2d7f9500","hex_latitude":"05afda00","is_valid_coordinates":true} 
[2026-10-05 13:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543570176001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894050512764928,"note":"Value kept but may cause issues"} 
[2026-10-05 13:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193254238771869696,"note":"Value kept but may cause issues"} 
[2026-10-05 13: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-10-05 13:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791185839000,"timestamp_ms":1791185839000,"timestamp_seconds":1791185839,"priority":1,"record_length":96,"hex_timestamp":"000001a10afee398"} 
[2026-10-05 13:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:09:01] 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-10-05 13:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 13:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:09: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-10-05 13:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543570176001,"66":27800,"250":206,"85":12544,"24":1,"16":1894050512764928,"45":9193254238771869696},"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-10-05 13:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543570176001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:09:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:09:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894050512764928,"km_value":1894050512764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193254238771869696,"description":"Unknown IO ID 45"} 
[2026-10-05 13:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543570176001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9193254238771869696}} 
[2026-10-05 13:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":205994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:09:01] local.INFO: GPS data processed {"connection_id":205994,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:09:01] local.INFO: Acknowledgment sent {"connection_id":205994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:09:02] local.INFO: TCP Data received {"connection_id":207541,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10afe89c0012c50838009d14160022601532c..."} 
[2026-10-05 13:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afe89c0012c50838009d14160022601532c..."} 
[2026-10-05 13:09:02] local.INFO: Processing buffer {"connection_id":207541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afe89c0012c50838009d14160022601532c..."} 
[2026-10-05 13:09:02] local.INFO: Packet analysis {"connection_id":207541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:09:02] local.INFO: Extracted packet for processing {"connection_id":207541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:09:02] local.INFO: GPS Element Parsed {"raw_longitude":743474048,"raw_latitude":164708704,"longitude_deg":74.3474048,"latitude_deg":16.4708704,"altitude":550,"angle":339,"satellites":44,"speed":57,"hex_longitude":"2c508380","hex_latitude":"09d14160","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543567104001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8761784823447552,"note":"Value kept but may cause issues"} 
[2026-10-05 13:09:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5805421436820287490,"note":"Value kept but may cause issues"} 
[2026-10-05 13:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791185816000,"timestamp_ms":1791185816000,"timestamp_seconds":1791185816,"priority":1,"record_length":96,"hex_timestamp":"000001a10afe89c0"} 
[2026-10-05 13:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13: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-10-05 13: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":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-05 13:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2395,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":207541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":207541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":207541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 13:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 13:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543567104001,"66":28398,"166":206,"9":8448,"24":57,"16":8761784823447552,"44":5805421436820287490},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,9,24,16,44]} 
[2026-10-05 13:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 13:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 13:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543567104001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:09:02] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-10-05 13:09:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 13:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8761784823447552,"km_value":8761784823447.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:09:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":5805421436820287490,"description":"Unknown IO ID 44"} 
[2026-10-05 13:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543567104001,"power":28398,"unknown_166":206,"unknown_9":8448,"ignition":57,"odometer":null,"unknown_44":5805421436820287490}} 
[2026-10-05 13:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":207541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967438,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:09:03] local.INFO: GPS data processed {"connection_id":207541,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:09:03] local.INFO: Acknowledgment sent {"connection_id":207541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:09:03] local.INFO: TCP Data received {"connection_id":207541,"ip":"117.224.146.139","data_length":795,"data_hex":"000000000000030f8e0a000001a10afea518012c5072c009d164300227014b2c..."} 
[2026-10-05 13:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afea518012c5072c009d164300227014b2c..."} 
[2026-10-05 13:09:03] local.INFO: Processing buffer {"connection_id":207541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afea518012c5072c009d164300227014b2c..."} 
[2026-10-05 13:09:03] local.INFO: Packet analysis {"connection_id":207541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:09:03] local.INFO: Extracted packet for processing {"connection_id":207541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:09:03] local.INFO: GPS Element Parsed {"raw_longitude":743469760,"raw_latitude":164717616,"longitude_deg":74.346976,"latitude_deg":16.4717616,"altitude":551,"angle":331,"satellites":44,"speed":55,"hex_longitude":"2c5072c0","hex_latitude":"09d16430","is_valid_coordinates":true} 
[2026-10-05 13:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543568896001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762261564817408,"note":"Value kept but may cause issues"} 
[2026-10-05 13:09:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5801621524637114370,"note":"Value kept but may cause issues"} 
[2026-10-05 13:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791185823000,"timestamp_ms":1791185823000,"timestamp_seconds":1791185823,"priority":1,"record_length":96,"hex_timestamp":"000001a10afea518"} 
[2026-10-05 13:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:09: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-10-05 13:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 13:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":207541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":207541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":207541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 13:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.146.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 13:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 13:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543568896001,"66":28300,"166":206,"9":8448,"24":55,"16":8762261564817408,"44":5801621524637114370},"client_ip":"117.224.146.139","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,9,24,16,44]} 
[2026-10-05 13:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 13:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 13:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543568896001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:09:03] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-10-05 13:09:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-10-05 13:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762261564817408,"km_value":8762261564817.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:09:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":5801621524637114370,"description":"Unknown IO ID 44"} 
[2026-10-05 13:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543568896001,"power":28300,"unknown_166":206,"unknown_9":8448,"ignition":55,"odometer":null,"unknown_44":5801621524637114370}} 
[2026-10-05 13:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":207541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967439,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:09:04] local.INFO: GPS data processed {"connection_id":207541,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:09:04] local.INFO: Acknowledgment sent {"connection_id":207541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:09:04] local.INFO: TCP Data received {"connection_id":207542,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207542,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:09:04] local.INFO: Processing buffer {"connection_id":207542,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:09:04] local.INFO: IMEI packet received {"connection_id":207542,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":207542,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:09:05] local.INFO: TCP Data received {"connection_id":205995,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:09:05] local.INFO: Processing buffer {"connection_id":205995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:09:05] local.INFO: IMEI packet received {"connection_id":205995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":205995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:09:09] local.INFO: TCP Data received {"connection_id":207542,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207542,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:09:09] local.INFO: Processing buffer {"connection_id":207542,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:09:09] local.INFO: IMEI packet received {"connection_id":207542,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":207542,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:09:10] local.INFO: TCP Data received {"connection_id":207542,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:09:10] local.INFO: Processing buffer {"connection_id":207542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:09:10] local.INFO: Packet analysis {"connection_id":207542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aff"} 
[2026-10-05 13:09:10] local.INFO: Extracted packet for processing {"connection_id":207542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aff"} 
[2026-10-05 13:09:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":36,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543515648001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:09:10] 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-10-05 13:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791185909000,"timestamp_ms":1791185909000,"timestamp_seconds":1791185909,"priority":1,"record_length":96,"hex_timestamp":"000001a10afff508"} 
[2026-10-05 13:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:09:10] 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-10-05 13: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-10-05 13:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543515648001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543515648001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:09:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543515648001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":207542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:09:10] local.INFO: GPS data processed {"connection_id":207542,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:09:10] local.INFO: Acknowledgment sent {"connection_id":207542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:09:10] local.INFO: TCP Data received {"connection_id":205995,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:09:10] local.INFO: Processing buffer {"connection_id":205995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:09:10] local.INFO: IMEI packet received {"connection_id":205995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":205995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:09:11] local.INFO: TCP Data received {"connection_id":205995,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10afecc28012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afecc28012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:09:11] local.INFO: Processing buffer {"connection_id":205995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afecc28012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:09:11] local.INFO: Packet analysis {"connection_id":205995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:09:11] local.INFO: Extracted packet for processing {"connection_id":205995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:09:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543567872001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:09:11] 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-10-05 13:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791185833000,"timestamp_ms":1791185833000,"timestamp_seconds":1791185833,"priority":1,"record_length":96,"hex_timestamp":"000001a10afecc28"} 
[2026-10-05 13:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 13:09:11] 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-10-05 13:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:09:11] 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-10-05 13:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543567872001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543567872001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:09:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:09:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543567872001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":205995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:09:11] local.INFO: GPS data processed {"connection_id":205995,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:09:11] local.INFO: Acknowledgment sent {"connection_id":205995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:09:15] local.INFO: TCP Data received {"connection_id":207542,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:09:15] local.INFO: Processing buffer {"connection_id":207542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:09:15] local.INFO: Packet analysis {"connection_id":207542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aff"} 
[2026-10-05 13:09:15] local.INFO: Extracted packet for processing {"connection_id":207542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aff"} 
[2026-10-05 13:09:15] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":36,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543515648001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:09:15] 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-10-05 13:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791185909000,"timestamp_ms":1791185909000,"timestamp_seconds":1791185909,"priority":1,"record_length":96,"hex_timestamp":"000001a10afff508"} 
[2026-10-05 13:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:09:15] 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-10-05 13:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543515648001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543515648001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:09:15] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:09:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543515648001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":207542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:09:15] local.INFO: GPS data processed {"connection_id":207542,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:09:15] local.INFO: Acknowledgment sent {"connection_id":207542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:09:32] local.INFO: TCP Data received {"connection_id":205994,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10afef720012d7f954005afd9e80009006627..."} 
[2026-10-05 13:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afef720012d7f954005afd9e80009006627..."} 
[2026-10-05 13:09:32] local.INFO: Processing buffer {"connection_id":205994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afef720012d7f954005afd9e80009006627..."} 
[2026-10-05 13:09:32] local.INFO: Packet analysis {"connection_id":205994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:09:32] local.INFO: Extracted packet for processing {"connection_id":205994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:09:32] local.INFO: GPS Element Parsed {"raw_longitude":763336000,"raw_latitude":95410664,"longitude_deg":76.3336,"latitude_deg":9.5410664,"altitude":9,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7f9540","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-10-05 13:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543574784001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193254238771871744,"note":"Value kept but may cause issues"} 
[2026-10-05 13:09: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-10-05 13:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791185844000,"timestamp_ms":1791185844000,"timestamp_seconds":1791185844,"priority":1,"record_length":96,"hex_timestamp":"000001a10afef720"} 
[2026-10-05 13:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:09:32] 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-10-05 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-05 13:09: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-10-05 13: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-10-05 13:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543574784001,"66":27800,"250":206,"85":12544,"24":0,"16":1894054807732224,"45":9193254238771871744},"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-10-05 13:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543574784001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:09:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:09:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193254238771871744,"description":"Unknown IO ID 45"} 
[2026-10-05 13:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543574784001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193254238771871744}} 
[2026-10-05 13:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":205994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:09:32] local.INFO: GPS data processed {"connection_id":205994,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:09:32] local.INFO: Acknowledgment sent {"connection_id":205994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:09:42] local.INFO: TCP Data received {"connection_id":205995,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aff1e30012d1adb80071f8688003c011329..."} 
[2026-10-05 13:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aff1e30012d1adb80071f8688003c011329..."} 
[2026-10-05 13:09:42] local.INFO: Processing buffer {"connection_id":205995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aff1e30012d1adb80071f8688003c011329..."} 
[2026-10-05 13:09:42] local.INFO: Packet analysis {"connection_id":205995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aff"} 
[2026-10-05 13:09:42] local.INFO: Extracted packet for processing {"connection_id":205995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aff"} 
[2026-10-05 13:09:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13:09: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-10-05 13:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543573248001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791185854000,"timestamp_ms":1791185854000,"timestamp_seconds":1791185854,"priority":1,"record_length":96,"hex_timestamp":"000001a10aff1e30"} 
[2026-10-05 13:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 13:09:42] 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-10-05 13:09: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-10-05 13:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":205995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":205995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":205995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:09:42] 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-10-05 13:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543573248001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543573248001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:09:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:09:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543573248001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":205995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:09:42] local.INFO: GPS data processed {"connection_id":205995,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:09:42] local.INFO: Acknowledgment sent {"connection_id":205995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:09:54] local.INFO: TCP Data received {"connection_id":204450,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:09:54] local.INFO: Processing buffer {"connection_id":204450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:09:54] local.INFO: IMEI packet received {"connection_id":204450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":204450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:09:59] local.INFO: TCP Data received {"connection_id":204451,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:09:59] local.INFO: Processing buffer {"connection_id":204451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:09:59] local.INFO: IMEI packet received {"connection_id":204451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":204451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:10:01] local.INFO: TCP Data received {"connection_id":204450,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:10:01] local.INFO: Processing buffer {"connection_id":204450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:10:01] local.INFO: IMEI packet received {"connection_id":204450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":204450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:10:01] local.INFO: TCP Data received {"connection_id":204450,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10afef720012d7f954005afd9e80009006627..."} 
[2026-10-05 13:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afef720012d7f954005afd9e80009006627..."} 
[2026-10-05 13:10:01] local.INFO: Processing buffer {"connection_id":204450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afef720012d7f954005afd9e80009006627..."} 
[2026-10-05 13:10:01] local.INFO: Packet analysis {"connection_id":204450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:10:01] local.INFO: Extracted packet for processing {"connection_id":204450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763336000,"raw_latitude":95410664,"longitude_deg":76.3336,"latitude_deg":9.5410664,"altitude":9,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7f9540","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-10-05 13:10: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-10-05 13:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543574784001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193254238771871744,"note":"Value kept but may cause issues"} 
[2026-10-05 13: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-10-05 13:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791185844000,"timestamp_ms":1791185844000,"timestamp_seconds":1791185844,"priority":1,"record_length":96,"hex_timestamp":"000001a10afef720"} 
[2026-10-05 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-10-05 13:10:01] 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-10-05 13:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-05 13:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 13:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:10: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-10-05 13:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543574784001,"66":27800,"250":206,"85":12544,"24":0,"16":1894054807732224,"45":9193254238771871744},"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-10-05 13:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543574784001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:10:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:10:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193254238771871744,"description":"Unknown IO ID 45"} 
[2026-10-05 13:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543574784001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193254238771871744}} 
[2026-10-05 13:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":204450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:10:02] local.INFO: GPS data processed {"connection_id":204450,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:10:02] local.INFO: Acknowledgment sent {"connection_id":204450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:10:04] local.INFO: TCP Data received {"connection_id":204451,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:10:04] local.INFO: Processing buffer {"connection_id":204451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:10:04] local.INFO: IMEI packet received {"connection_id":204451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":204451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:10:05] local.INFO: TCP Data received {"connection_id":207543,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:10:05] local.INFO: Processing buffer {"connection_id":207543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:10:05] local.INFO: IMEI packet received {"connection_id":207543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":207543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:10:06] local.INFO: TCP Data received {"connection_id":204451,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:10:06] local.INFO: Processing buffer {"connection_id":204451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:10:06] local.INFO: Packet analysis {"connection_id":204451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aff"} 
[2026-10-05 13:10:06] local.INFO: Extracted packet for processing {"connection_id":204451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aff"} 
[2026-10-05 13:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":36,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543515648001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:10:06] 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-10-05 13:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791185909000,"timestamp_ms":1791185909000,"timestamp_seconds":1791185909,"priority":1,"record_length":96,"hex_timestamp":"000001a10afff508"} 
[2026-10-05 13:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:10: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-10-05 13: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:10: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-10-05 13:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543515648001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543515648001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:10:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:10:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543515648001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":204451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:10:06] local.INFO: GPS data processed {"connection_id":204451,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:10:06] local.INFO: Acknowledgment sent {"connection_id":204451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:10:10] local.INFO: TCP Data received {"connection_id":207543,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:10:10] local.INFO: Processing buffer {"connection_id":207543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:10:10] local.INFO: IMEI packet received {"connection_id":207543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":207543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:10:11] local.INFO: TCP Data received {"connection_id":207543,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10aff7038012d1adb80071f8688003c01132d..."} 
[2026-10-05 13:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10aff7038012d1adb80071f8688003c01132d..."} 
[2026-10-05 13:10:11] local.INFO: Processing buffer {"connection_id":207543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10aff7038012d1adb80071f8688003c01132d..."} 
[2026-10-05 13:10:11] local.INFO: Packet analysis {"connection_id":207543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aff"} 
[2026-10-05 13:10:11] local.INFO: Extracted packet for processing {"connection_id":207543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aff"} 
[2026-10-05 13:10:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543578624001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:10:11] 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-10-05 13:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791185875000,"timestamp_ms":1791185875000,"timestamp_seconds":1791185875,"priority":1,"record_length":96,"hex_timestamp":"000001a10aff7038"} 
[2026-10-05 13:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 13:10:11] 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-10-05 13:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:10:11] 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-10-05 13:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543578624001,"66":12287,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543578624001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:10:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:10:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543578624001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":207543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:10:11] local.INFO: GPS data processed {"connection_id":207543,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:10:11] local.INFO: Acknowledgment sent {"connection_id":207543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:10:32] local.INFO: TCP Data received {"connection_id":204450,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10afef720012d7f954005afd9e80009006627..."} 
[2026-10-05 13:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afef720012d7f954005afd9e80009006627..."} 
[2026-10-05 13:10:32] local.INFO: Processing buffer {"connection_id":204450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afef720012d7f954005afd9e80009006627..."} 
[2026-10-05 13:10:32] local.INFO: Packet analysis {"connection_id":204450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:10:32] local.INFO: Extracted packet for processing {"connection_id":204450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:10:32] local.INFO: GPS Element Parsed {"raw_longitude":763336000,"raw_latitude":95410664,"longitude_deg":76.3336,"latitude_deg":9.5410664,"altitude":9,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7f9540","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-10-05 13:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543574784001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193254238771871744,"note":"Value kept but may cause issues"} 
[2026-10-05 13: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-10-05 13:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791185844000,"timestamp_ms":1791185844000,"timestamp_seconds":1791185844,"priority":1,"record_length":96,"hex_timestamp":"000001a10afef720"} 
[2026-10-05 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-10-05 13:10:32] 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-10-05 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-05 13:10: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-10-05 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-10-05 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-10-05 13:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543574784001,"66":27800,"250":206,"85":12544,"24":0,"16":1894054807732224,"45":9193254238771871744},"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-10-05 13:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543574784001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:10:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:10:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193254238771871744,"description":"Unknown IO ID 45"} 
[2026-10-05 13:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543574784001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193254238771871744}} 
[2026-10-05 13:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":204450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:10:32] local.INFO: GPS data processed {"connection_id":204450,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:10:32] local.INFO: Acknowledgment sent {"connection_id":204450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:10:37] local.INFO: TCP Data received {"connection_id":204451,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:10:37] local.INFO: Processing buffer {"connection_id":204451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:10:37] local.INFO: Packet analysis {"connection_id":204451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aff"} 
[2026-10-05 13:10:37] local.INFO: Extracted packet for processing {"connection_id":204451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aff"} 
[2026-10-05 13:10:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":36,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543515648001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:10:37] 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-10-05 13:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791185909000,"timestamp_ms":1791185909000,"timestamp_seconds":1791185909,"priority":1,"record_length":96,"hex_timestamp":"000001a10afff508"} 
[2026-10-05 13:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:10: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-10-05 13:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543515648001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543515648001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:10:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:10:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543515648001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":204451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:10:37] local.INFO: GPS data processed {"connection_id":204451,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:10:37] local.INFO: Acknowledgment sent {"connection_id":204451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:10:42] local.INFO: TCP Data received {"connection_id":207543,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10affc240012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10affc240012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:10:42] local.INFO: Processing buffer {"connection_id":207543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10affc240012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:10:42] local.INFO: Packet analysis {"connection_id":207543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aff"} 
[2026-10-05 13:10:42] local.INFO: Extracted packet for processing {"connection_id":207543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aff"} 
[2026-10-05 13:10:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543584000001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791185896000,"timestamp_ms":1791185896000,"timestamp_seconds":1791185896,"priority":1,"record_length":96,"hex_timestamp":"000001a10affc240"} 
[2026-10-05 13:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 13:10:42] 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-10-05 13: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-10-05 13:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:10:42] 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-10-05 13:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543584000001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543584000001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:10:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:10:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543584000001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":207543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:10:42] local.INFO: GPS data processed {"connection_id":207543,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:10:42] local.INFO: Acknowledgment sent {"connection_id":207543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:10:50] local.INFO: TCP Data received {"connection_id":204452,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204452,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:10:50] local.INFO: Processing buffer {"connection_id":204452,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:10:50] local.INFO: IMEI packet received {"connection_id":204452,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 13:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":204452,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:10:51] local.INFO: TCP Data received {"connection_id":204452,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204452,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:10:51] local.INFO: Processing buffer {"connection_id":204452,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:10:51] local.INFO: IMEI packet received {"connection_id":204452,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 13:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":204452,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:10:59] local.INFO: TCP Data received {"connection_id":204454,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:10:59] local.INFO: Processing buffer {"connection_id":204454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:10:59] local.INFO: IMEI packet received {"connection_id":204454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":204454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:11:00] local.INFO: TCP Data received {"connection_id":204453,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:11:00] local.INFO: Processing buffer {"connection_id":204453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:11:00] local.INFO: IMEI packet received {"connection_id":204453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":204453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:11:02] local.INFO: TCP Data received {"connection_id":204452,"ip":"117.224.146.139","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204452,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:11:02] local.INFO: Processing buffer {"connection_id":204452,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:11:02] local.INFO: IMEI packet received {"connection_id":204452,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 13:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":204452,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:11:04] local.INFO: TCP Data received {"connection_id":204453,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:11:04] local.INFO: Processing buffer {"connection_id":204453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:11:04] local.INFO: IMEI packet received {"connection_id":204453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":204453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:11:05] local.INFO: TCP Data received {"connection_id":204454,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:11:05] local.INFO: Processing buffer {"connection_id":204454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:11:05] local.INFO: IMEI packet received {"connection_id":204454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":204454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:11:05] local.INFO: TCP Data received {"connection_id":204453,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:11:05] local.INFO: Processing buffer {"connection_id":204453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:11:05] local.INFO: Packet analysis {"connection_id":204453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aff"} 
[2026-10-05 13:11:05] local.INFO: Extracted packet for processing {"connection_id":204453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aff"} 
[2026-10-05 13:11:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":36,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 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-10-05 13:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543515648001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:05] 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-10-05 13:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791185909000,"timestamp_ms":1791185909000,"timestamp_seconds":1791185909,"priority":1,"record_length":96,"hex_timestamp":"000001a10afff508"} 
[2026-10-05 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-10-05 13:11: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-10-05 13:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:11: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-10-05 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-10-05 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-10-05 13:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:11:05] 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-10-05 13:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543515648001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543515648001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:11:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:11:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543515648001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":204453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:11:05] local.INFO: GPS data processed {"connection_id":204453,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:11:05] local.INFO: Acknowledgment sent {"connection_id":204453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:11:06] local.INFO: TCP Data received {"connection_id":204591,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:11:06] local.INFO: Processing buffer {"connection_id":204591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:11:06] local.INFO: IMEI packet received {"connection_id":204591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":204591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:11:06] local.INFO: TCP Data received {"connection_id":204454,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10afef720012d7f954005afd9e80009006627..."} 
[2026-10-05 13:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afef720012d7f954005afd9e80009006627..."} 
[2026-10-05 13:11:06] local.INFO: Processing buffer {"connection_id":204454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afef720012d7f954005afd9e80009006627..."} 
[2026-10-05 13:11:06] local.INFO: Packet analysis {"connection_id":204454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:11:06] local.INFO: Extracted packet for processing {"connection_id":204454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:11:06] local.INFO: GPS Element Parsed {"raw_longitude":763336000,"raw_latitude":95410664,"longitude_deg":76.3336,"latitude_deg":9.5410664,"altitude":9,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7f9540","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-10-05 13:11: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-10-05 13:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543574784001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193254238771871744,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11: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-10-05 13:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791185844000,"timestamp_ms":1791185844000,"timestamp_seconds":1791185844,"priority":1,"record_length":96,"hex_timestamp":"000001a10afef720"} 
[2026-10-05 13:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:11:06] 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-10-05 13: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":152,"data_length":795,"current_offset":136} 
[2026-10-05 13:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:11: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-10-05 13:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543574784001,"66":27800,"250":206,"85":12544,"24":0,"16":1894054807732224,"45":9193254238771871744},"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-10-05 13:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543574784001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:11:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:11:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193254238771871744,"description":"Unknown IO ID 45"} 
[2026-10-05 13:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543574784001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193254238771871744}} 
[2026-10-05 13:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":204454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:11:06] local.INFO: GPS data processed {"connection_id":204454,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:11:06] local.INFO: Acknowledgment sent {"connection_id":204454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:11:10] local.INFO: TCP Data received {"connection_id":204591,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:11:10] local.INFO: Processing buffer {"connection_id":204591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:11:10] local.INFO: IMEI packet received {"connection_id":204591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":204591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:11:11] local.INFO: TCP Data received {"connection_id":204591,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b001448012d1adb80071f8688003c01132a..."} 
[2026-10-05 13:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b001448012d1adb80071f8688003c01132a..."} 
[2026-10-05 13:11:11] local.INFO: Processing buffer {"connection_id":204591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b001448012d1adb80071f8688003c01132a..."} 
[2026-10-05 13:11:11] local.INFO: Packet analysis {"connection_id":204591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b00"} 
[2026-10-05 13:11:11] local.INFO: Extracted packet for processing {"connection_id":204591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b00"} 
[2026-10-05 13:11:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543589376001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:11] 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-10-05 13:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791185917000,"timestamp_ms":1791185917000,"timestamp_seconds":1791185917,"priority":1,"record_length":96,"hex_timestamp":"000001a10b001448"} 
[2026-10-05 13:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 13:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:11] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":791934279401413339,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77452897595424768,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3409507275384357070,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 13:11:11] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:11] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:11] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,211,161,112,45,128,134,60,10,66,30,41,204,1,240,255,227,31,4,113,205,40,219,136,42,239,47,2,88,7,44],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 13:11:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758192656908288,"timestamp_seconds":4323758192656908.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 13:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:11:11] 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-10-05 13:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543589376001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543589376001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:11:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:11:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543589376001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":204591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:11:11] local.INFO: GPS data processed {"connection_id":204591,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:11:11] local.INFO: Acknowledgment sent {"connection_id":204591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:11:36] local.INFO: TCP Data received {"connection_id":204453,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:11:36] local.INFO: Processing buffer {"connection_id":204453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:11:36] local.INFO: Packet analysis {"connection_id":204453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aff"} 
[2026-10-05 13:11:36] local.INFO: Extracted packet for processing {"connection_id":204453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aff"} 
[2026-10-05 13:11:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":36,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543515648001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:36] 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-10-05 13:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791185909000,"timestamp_ms":1791185909000,"timestamp_seconds":1791185909,"priority":1,"record_length":96,"hex_timestamp":"000001a10afff508"} 
[2026-10-05 13:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:11:36] 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-10-05 13:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:11:36] 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-10-05 13:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543515648001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543515648001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:11:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:11:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543515648001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":204453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:11:36] local.INFO: GPS data processed {"connection_id":204453,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:11:36] local.INFO: Acknowledgment sent {"connection_id":204453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:11:37] local.INFO: TCP Data received {"connection_id":204454,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10afef720012d7f954005afd9e80009006627..."} 
[2026-10-05 13:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afef720012d7f954005afd9e80009006627..."} 
[2026-10-05 13:11:37] local.INFO: Processing buffer {"connection_id":204454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afef720012d7f954005afd9e80009006627..."} 
[2026-10-05 13:11:37] local.INFO: Packet analysis {"connection_id":204454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:11:37] local.INFO: Extracted packet for processing {"connection_id":204454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:11:37] local.INFO: GPS Element Parsed {"raw_longitude":763336000,"raw_latitude":95410664,"longitude_deg":76.3336,"latitude_deg":9.5410664,"altitude":9,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7f9540","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-10-05 13:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543574784001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193254238771871744,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791185844000,"timestamp_ms":1791185844000,"timestamp_seconds":1791185844,"priority":1,"record_length":96,"hex_timestamp":"000001a10afef720"} 
[2026-10-05 13:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:11:37] 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-10-05 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-05 13:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543574784001,"66":27800,"250":206,"85":12544,"24":0,"16":1894054807732224,"45":9193254238771871744},"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-10-05 13:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543574784001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:11:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:11:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193254238771871744,"description":"Unknown IO ID 45"} 
[2026-10-05 13:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543574784001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193254238771871744}} 
[2026-10-05 13:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":204454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:11:37] local.INFO: GPS data processed {"connection_id":204454,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:11:37] local.INFO: Acknowledgment sent {"connection_id":204454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:11:42] local.INFO: TCP Data received {"connection_id":204591,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b006650012d1adb80071f8688003c011329..."} 
[2026-10-05 13:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b006650012d1adb80071f8688003c011329..."} 
[2026-10-05 13:11:42] local.INFO: Processing buffer {"connection_id":204591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b006650012d1adb80071f8688003c011329..."} 
[2026-10-05 13:11:42] local.INFO: Packet analysis {"connection_id":204591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b00"} 
[2026-10-05 13:11:42] local.INFO: Extracted packet for processing {"connection_id":204591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b00"} 
[2026-10-05 13:11:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543594752001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791185938000,"timestamp_ms":1791185938000,"timestamp_seconds":1791185938,"priority":1,"record_length":96,"hex_timestamp":"000001a10b006650"} 
[2026-10-05 13:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 13:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:42] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:42] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:42] local.WARNING: Large IO value detected {"io_id":161,"raw_value":792024473714629339,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:42] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:42] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77451798083796992,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:42] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:42] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332011214,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 13:11:42] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:42] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:42] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 13:11:42] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,211,161,194,45,128,134,60,43,10,66,112,30,1,240,255,227,31,4,113,205,122,219,136,41,239,47,2,88,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 13:11:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758188361940992,"timestamp_seconds":4323758188361941.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 13:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:11:42] 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-10-05 13:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543594752001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543594752001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:11:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:11:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543594752001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":204591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:11:42] local.INFO: GPS data processed {"connection_id":204591,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:11:42] local.INFO: Acknowledgment sent {"connection_id":204591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:11:54] local.INFO: TCP Data received {"connection_id":204455,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:11:54] local.INFO: Processing buffer {"connection_id":204455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:11:54] local.INFO: IMEI packet received {"connection_id":204455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":204455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:11:59] local.INFO: TCP Data received {"connection_id":207544,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:11:59] local.INFO: Processing buffer {"connection_id":207544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:11:59] local.INFO: IMEI packet received {"connection_id":207544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":207544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:12:00] local.INFO: TCP Data received {"connection_id":204455,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:12:00] local.INFO: Processing buffer {"connection_id":204455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:12:00] local.INFO: IMEI packet received {"connection_id":204455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":204455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:12:01] local.INFO: TCP Data received {"connection_id":204455,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10afef720012d7f954005afd9e80009006627..."} 
[2026-10-05 13:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afef720012d7f954005afd9e80009006627..."} 
[2026-10-05 13:12:01] local.INFO: Processing buffer {"connection_id":204455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afef720012d7f954005afd9e80009006627..."} 
[2026-10-05 13:12:01] local.INFO: Packet analysis {"connection_id":204455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:12:01] local.INFO: Extracted packet for processing {"connection_id":204455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:12:01] local.INFO: GPS Element Parsed {"raw_longitude":763336000,"raw_latitude":95410664,"longitude_deg":76.3336,"latitude_deg":9.5410664,"altitude":9,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7f9540","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-10-05 13:12: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-10-05 13:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543574784001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193254238771871744,"note":"Value kept but may cause issues"} 
[2026-10-05 13: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-10-05 13:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791185844000,"timestamp_ms":1791185844000,"timestamp_seconds":1791185844,"priority":1,"record_length":96,"hex_timestamp":"000001a10afef720"} 
[2026-10-05 13:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:12:01] 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-10-05 13:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-05 13:12:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:12: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-10-05 13:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543574784001,"66":27800,"250":206,"85":12544,"24":0,"16":1894054807732224,"45":9193254238771871744},"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-10-05 13:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543574784001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:12:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:12:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193254238771871744,"description":"Unknown IO ID 45"} 
[2026-10-05 13:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543574784001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193254238771871744}} 
[2026-10-05 13:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":204455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:12:01] local.INFO: GPS data processed {"connection_id":204455,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:12:01] local.INFO: Acknowledgment sent {"connection_id":204455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:12:04] local.INFO: TCP Data received {"connection_id":207544,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:12:04] local.INFO: Processing buffer {"connection_id":207544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:12:04] local.INFO: IMEI packet received {"connection_id":207544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":207544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:12:05] local.INFO: TCP Data received {"connection_id":204456,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:12:05] local.INFO: Processing buffer {"connection_id":204456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:12:05] local.INFO: IMEI packet received {"connection_id":204456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":204456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:12:05] local.INFO: TCP Data received {"connection_id":207544,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:12:05] local.INFO: Processing buffer {"connection_id":207544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:12:05] local.INFO: Packet analysis {"connection_id":207544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aff"} 
[2026-10-05 13:12:05] local.INFO: Extracted packet for processing {"connection_id":207544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aff"} 
[2026-10-05 13:12:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":36,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543515648001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:05] 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-10-05 13:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791185909000,"timestamp_ms":1791185909000,"timestamp_seconds":1791185909,"priority":1,"record_length":96,"hex_timestamp":"000001a10afff508"} 
[2026-10-05 13:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:12: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-10-05 13:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:12: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-10-05 13:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:12:05] 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-10-05 13:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543515648001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543515648001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:12:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:12:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543515648001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":207544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:12:05] local.INFO: GPS data processed {"connection_id":207544,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:12:05] local.INFO: Acknowledgment sent {"connection_id":207544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:12:10] local.INFO: TCP Data received {"connection_id":204456,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:12:10] local.INFO: Processing buffer {"connection_id":204456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:12:10] local.INFO: IMEI packet received {"connection_id":204456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":204456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:12:11] local.INFO: TCP Data received {"connection_id":204456,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b00b858012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b00b858012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:12:11] local.INFO: Processing buffer {"connection_id":204456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b00b858012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:12:11] local.INFO: Packet analysis {"connection_id":204456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b00"} 
[2026-10-05 13:12:11] local.INFO: Extracted packet for processing {"connection_id":204456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b00"} 
[2026-10-05 13:12:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543600128001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:11] 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-10-05 13:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791185959000,"timestamp_ms":1791185959000,"timestamp_seconds":1791185959,"priority":1,"record_length":96,"hex_timestamp":"000001a10b00b858"} 
[2026-10-05 13:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:12:11] 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-10-05 13:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 13:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:11] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":792114668027845339,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77450698572169216,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332011214,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 13:12:11] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":671165722,"corrected_to":0} 
[2026-10-05 13:12:11] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:11] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:11] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,211,161,20,45,128,134,60,42,10,66,194,43,112,1,240,255,227,31,4,113,205,204,219,136,239,47,2,88,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0},{"io_id":204,"original":671165722,"validated":0}]} 
[2026-10-05 13:12:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758184066973696,"timestamp_seconds":4323758184066973.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 13:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:12:11] 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-10-05 13:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543600128001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543600128001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:12:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:12:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543600128001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":204456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:12:11] local.INFO: GPS data processed {"connection_id":204456,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:12:11] local.INFO: Acknowledgment sent {"connection_id":204456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:12:32] local.INFO: TCP Data received {"connection_id":204455,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10afef720012d7f954005afd9e80009006627..."} 
[2026-10-05 13:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afef720012d7f954005afd9e80009006627..."} 
[2026-10-05 13:12:32] local.INFO: Processing buffer {"connection_id":204455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afef720012d7f954005afd9e80009006627..."} 
[2026-10-05 13:12:32] local.INFO: Packet analysis {"connection_id":204455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:12:32] local.INFO: Extracted packet for processing {"connection_id":204455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:12:32] local.INFO: GPS Element Parsed {"raw_longitude":763336000,"raw_latitude":95410664,"longitude_deg":76.3336,"latitude_deg":9.5410664,"altitude":9,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7f9540","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-10-05 13:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543574784001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193254238771871744,"note":"Value kept but may cause issues"} 
[2026-10-05 13: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-10-05 13:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791185844000,"timestamp_ms":1791185844000,"timestamp_seconds":1791185844,"priority":1,"record_length":96,"hex_timestamp":"000001a10afef720"} 
[2026-10-05 13:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:12:32] 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-10-05 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-05 13:12: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-10-05 13: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-10-05 13:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543574784001,"66":27800,"250":206,"85":12544,"24":0,"16":1894054807732224,"45":9193254238771871744},"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-10-05 13:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543574784001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:12:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:12:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193254238771871744,"description":"Unknown IO ID 45"} 
[2026-10-05 13:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543574784001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193254238771871744}} 
[2026-10-05 13:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":204455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:12:32] local.INFO: GPS data processed {"connection_id":204455,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:12:32] local.INFO: Acknowledgment sent {"connection_id":204455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:12:37] local.INFO: TCP Data received {"connection_id":207544,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:12:37] local.INFO: Processing buffer {"connection_id":207544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:12:37] local.INFO: Packet analysis {"connection_id":207544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aff"} 
[2026-10-05 13:12:37] local.INFO: Extracted packet for processing {"connection_id":207544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aff"} 
[2026-10-05 13:12:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":36,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543515648001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:37] 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-10-05 13:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791185909000,"timestamp_ms":1791185909000,"timestamp_seconds":1791185909,"priority":1,"record_length":96,"hex_timestamp":"000001a10afff508"} 
[2026-10-05 13:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:12: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-10-05 13:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:12:37] 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-10-05 13:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543515648001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543515648001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:12:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:12:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543515648001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":207544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:12:37] local.INFO: GPS data processed {"connection_id":207544,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:12:37] local.INFO: Acknowledgment sent {"connection_id":207544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:12:42] local.INFO: TCP Data received {"connection_id":204456,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b010a60012d1adb80071f8688003c01132a..."} 
[2026-10-05 13:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b010a60012d1adb80071f8688003c01132a..."} 
[2026-10-05 13:12:42] local.INFO: Processing buffer {"connection_id":204456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b010a60012d1adb80071f8688003c01132a..."} 
[2026-10-05 13:12:42] local.INFO: Packet analysis {"connection_id":204456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b01"} 
[2026-10-05 13:12:42] local.INFO: Extracted packet for processing {"connection_id":204456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b01"} 
[2026-10-05 13:12:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543605504001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791185980000,"timestamp_ms":1791185980000,"timestamp_seconds":1791185980,"priority":1,"record_length":96,"hex_timestamp":"000001a10b010a60"} 
[2026-10-05 13:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 13:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:42] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:42] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:42] local.WARNING: Large IO value detected {"io_id":161,"raw_value":792204862341061339,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:42] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:42] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77452897595424768,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:42] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:42] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332011214,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 13:12:42] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:42] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:42] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 13:12:42] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,101,83,24,241,157,16,211,161,102,45,128,134,60,41,10,66,20,42,194,1,240,227,31,4,113,205,30,219,136,239,47,2,88,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 13:12:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758192656908288,"timestamp_seconds":4323758192656908.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 13:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:12:42] 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-10-05 13:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543605504001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543605504001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:12:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:12:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543605504001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":204456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:12:42] local.INFO: GPS data processed {"connection_id":204456,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:12:42] local.INFO: Acknowledgment sent {"connection_id":204456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:12:55] local.INFO: TCP Data received {"connection_id":207545,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:12:55] local.INFO: Processing buffer {"connection_id":207545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:12:55] local.INFO: IMEI packet received {"connection_id":207545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":207545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:12:59] local.INFO: TCP Data received {"connection_id":204592,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:12:59] local.INFO: Processing buffer {"connection_id":204592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:12:59] local.INFO: IMEI packet received {"connection_id":204592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":204592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:13:00] local.INFO: TCP Data received {"connection_id":207545,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:13:00] local.INFO: Processing buffer {"connection_id":207545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:13:00] local.INFO: IMEI packet received {"connection_id":207545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":207545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:13:01] local.INFO: TCP Data received {"connection_id":207545,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10afef720012d7f954005afd9e80009006627..."} 
[2026-10-05 13:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afef720012d7f954005afd9e80009006627..."} 
[2026-10-05 13:13:01] local.INFO: Processing buffer {"connection_id":207545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afef720012d7f954005afd9e80009006627..."} 
[2026-10-05 13:13:01] local.INFO: Packet analysis {"connection_id":207545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:13:01] local.INFO: Extracted packet for processing {"connection_id":207545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10afe"} 
[2026-10-05 13:13:01] local.INFO: GPS Element Parsed {"raw_longitude":763336000,"raw_latitude":95410664,"longitude_deg":76.3336,"latitude_deg":9.5410664,"altitude":9,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d7f9540","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-10-05 13:13: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-10-05 13:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543574784001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193254238771871744,"note":"Value kept but may cause issues"} 
[2026-10-05 13: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-10-05 13:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791185844000,"timestamp_ms":1791185844000,"timestamp_seconds":1791185844,"priority":1,"record_length":96,"hex_timestamp":"000001a10afef720"} 
[2026-10-05 13:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:13:01] 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-10-05 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-05 13:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:13: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-10-05 13:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543574784001,"66":27800,"250":206,"85":12544,"24":0,"16":1894054807732224,"45":9193254238771871744},"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-10-05 13:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543574784001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:13:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:13:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193254238771871744,"description":"Unknown IO ID 45"} 
[2026-10-05 13:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543574784001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193254238771871744}} 
[2026-10-05 13:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":207545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:13:01] local.INFO: GPS data processed {"connection_id":207545,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:13:01] local.INFO: Acknowledgment sent {"connection_id":207545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:13:04] local.INFO: TCP Data received {"connection_id":204592,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:13:04] local.INFO: Processing buffer {"connection_id":204592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:13:04] local.INFO: IMEI packet received {"connection_id":204592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":204592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:13:05] local.INFO: TCP Data received {"connection_id":205996,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:13:05] local.INFO: Processing buffer {"connection_id":205996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:13:05] local.INFO: IMEI packet received {"connection_id":205996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":205996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:13:05] local.INFO: TCP Data received {"connection_id":204592,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:13:05] local.INFO: Processing buffer {"connection_id":204592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10afff508012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:13:05] local.INFO: Packet analysis {"connection_id":204592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10aff"} 
[2026-10-05 13:13:05] local.INFO: Extracted packet for processing {"connection_id":204592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10aff"} 
[2026-10-05 13:13:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":36,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543515648001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:05] 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-10-05 13:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791185909000,"timestamp_ms":1791185909000,"timestamp_seconds":1791185909,"priority":1,"record_length":96,"hex_timestamp":"000001a10afff508"} 
[2026-10-05 13:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13: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-10-05 13:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:13: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-10-05 13:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543515648001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543515648001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:13:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:13:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543515648001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":204592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:13:05] local.INFO: GPS data processed {"connection_id":204592,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:13:05] local.INFO: Acknowledgment sent {"connection_id":204592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:13:06] local.INFO: TCP Data received {"connection_id":205996,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:13:06] local.INFO: Processing buffer {"connection_id":205996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:13:06] local.INFO: IMEI packet received {"connection_id":205996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":205996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:13:10] local.INFO: TCP Data received {"connection_id":205996,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:13:10] local.INFO: Processing buffer {"connection_id":205996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:13:10] local.INFO: IMEI packet received {"connection_id":205996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":205996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:13:11] local.INFO: TCP Data received {"connection_id":205996,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b015c68012d1adb80071f8688003c011329..."} 
[2026-10-05 13:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b015c68012d1adb80071f8688003c011329..."} 
[2026-10-05 13:13:11] local.INFO: Processing buffer {"connection_id":205996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b015c68012d1adb80071f8688003c011329..."} 
[2026-10-05 13:13:11] local.INFO: Packet analysis {"connection_id":205996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b01"} 
[2026-10-05 13:13:11] local.INFO: Extracted packet for processing {"connection_id":205996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b01"} 
[2026-10-05 13:13:11] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543610880001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:11] 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-10-05 13:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791186001000,"timestamp_ms":1791186001000,"timestamp_seconds":1791186001,"priority":1,"record_length":96,"hex_timestamp":"000001a10b015c68"} 
[2026-10-05 13:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:13:11] 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-10-05 13:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 13:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:11] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":792295056654277339,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77450698572169216,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332011214,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 13:13:11] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:11] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:11] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,101,83,24,241,157,16,211,161,184,45,128,134,60,43,10,66,102,41,20,1,240,227,31,4,113,205,112,219,136,239,47,2,88,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 13:13:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758188361940992,"timestamp_seconds":4323758188361941.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 13:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:13:11] 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-10-05 13:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543610880001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543610880001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:13:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:13:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543610880001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":205996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:13:11] local.INFO: GPS data processed {"connection_id":205996,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:13:11] local.INFO: Acknowledgment sent {"connection_id":205996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:13:32] local.INFO: TCP Data received {"connection_id":207545,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:13:32] local.INFO: Processing buffer {"connection_id":207545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:13:32] local.INFO: Packet analysis {"connection_id":207545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b03"} 
[2026-10-05 13:13:32] local.INFO: Extracted packet for processing {"connection_id":207545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b03"} 
[2026-10-05 13:13:32] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":9,"angle":102,"satellites":42,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543576064001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193324607516043264,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:32] 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-10-05 13:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791186148000,"timestamp_ms":1791186148000,"timestamp_seconds":1791186148,"priority":1,"record_length":96,"hex_timestamp":"000001a10b039aa0"} 
[2026-10-05 13:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:13:32] 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-10-05 13:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-05 13:13: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-10-05 13:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543576064001,"66":26245,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9193324607516043264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543576064001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:13:32] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:13:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193324607516043264,"description":"Unknown IO ID 45"} 
[2026-10-05 13:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543576064001,"power":26245,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193324607516043264}} 
[2026-10-05 13:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":207545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:13:32] local.INFO: GPS data processed {"connection_id":207545,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:13:32] local.INFO: Acknowledgment sent {"connection_id":207545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:13:37] local.INFO: TCP Data received {"connection_id":204592,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:13:37] local.INFO: Processing buffer {"connection_id":204592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:13:37] local.INFO: Packet analysis {"connection_id":204592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b04"} 
[2026-10-05 13:13:37] local.INFO: Extracted packet for processing {"connection_id":204592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b04"} 
[2026-10-05 13:13:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":36,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543592704001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:37] 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-10-05 13:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791186210000,"timestamp_ms":1791186210000,"timestamp_seconds":1791186210,"priority":1,"record_length":96,"hex_timestamp":"000001a10b048cd0"} 
[2026-10-05 13:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:13: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-10-05 13:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543592704001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543592704001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:13:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:13:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543592704001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":204592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:13:37] local.INFO: GPS data processed {"connection_id":204592,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:13:37] local.INFO: Acknowledgment sent {"connection_id":204592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:13:42] local.INFO: TCP Data received {"connection_id":205996,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b01ae70012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b01ae70012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:13:42] local.INFO: Processing buffer {"connection_id":205996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b01ae70012d1adb80071f8688003c01132b..."} 
[2026-10-05 13:13:42] local.INFO: Packet analysis {"connection_id":205996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b01"} 
[2026-10-05 13:13:42] local.INFO: Extracted packet for processing {"connection_id":205996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b01"} 
[2026-10-05 13:13:42] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543616256001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791186022000,"timestamp_ms":1791186022000,"timestamp_seconds":1791186022,"priority":1,"record_length":96,"hex_timestamp":"000001a10b01ae70"} 
[2026-10-05 13:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 13:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:42] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:42] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:42] local.WARNING: Large IO value detected {"io_id":161,"raw_value":792385250967493339,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:42] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:42] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:42] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77455096618680320,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:42] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332011214,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 13:13:42] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:42] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 13:13:42] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,211,161,10,45,128,134,60,42,66,184,43,102,1,240,227,11,31,4,113,205,194,219,136,239,48,2,88,7,41],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 13:13:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758184066973696,"timestamp_seconds":4323758184066973.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 13:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":205996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":205996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":205996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:13:42] 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-10-05 13:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543616256001,"66":12319,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543616256001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:13:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:13:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543616256001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":205996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:13:42] local.INFO: GPS data processed {"connection_id":205996,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:13:42] local.INFO: Acknowledgment sent {"connection_id":205996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:13:54] local.INFO: TCP Data received {"connection_id":205997,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:13:54] local.INFO: Processing buffer {"connection_id":205997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:13:54] local.INFO: IMEI packet received {"connection_id":205997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":205997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:14:00] local.INFO: TCP Data received {"connection_id":205997,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:14:00] local.INFO: Processing buffer {"connection_id":205997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:14:00] local.INFO: IMEI packet received {"connection_id":205997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":205997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:14:01] local.INFO: TCP Data received {"connection_id":205997,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:14:01] local.INFO: Processing buffer {"connection_id":205997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:14:01] local.INFO: Packet analysis {"connection_id":205997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b03"} 
[2026-10-05 13:14:01] local.INFO: Extracted packet for processing {"connection_id":205997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b03"} 
[2026-10-05 13:14:01] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":9,"angle":102,"satellites":42,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543576064001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193324607516043264,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14: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-10-05 13:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791186148000,"timestamp_ms":1791186148000,"timestamp_seconds":1791186148,"priority":1,"record_length":96,"hex_timestamp":"000001a10b039aa0"} 
[2026-10-05 13:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:14:01] 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-10-05 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-05 13:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":205997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":205997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":205997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:14: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-10-05 13:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543576064001,"66":26245,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9193324607516043264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543576064001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:14:01] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:14:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193324607516043264,"description":"Unknown IO ID 45"} 
[2026-10-05 13:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543576064001,"power":26245,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193324607516043264}} 
[2026-10-05 13:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":205997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:14:01] local.INFO: GPS data processed {"connection_id":205997,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:14:01] local.INFO: Acknowledgment sent {"connection_id":205997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:14:04] local.INFO: TCP Data received {"connection_id":205998,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:14:04] local.INFO: Processing buffer {"connection_id":205998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:14:04] local.INFO: IMEI packet received {"connection_id":205998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":205998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:14:09] local.INFO: TCP Data received {"connection_id":204457,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:14:09] local.INFO: Processing buffer {"connection_id":204457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:14:09] local.INFO: IMEI packet received {"connection_id":204457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":204457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:14:09] local.INFO: TCP Data received {"connection_id":205998,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:14:09] local.INFO: Processing buffer {"connection_id":205998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:14:09] local.INFO: IMEI packet received {"connection_id":205998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":205998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:14:10] local.INFO: TCP Data received {"connection_id":205998,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:14:10] local.INFO: Processing buffer {"connection_id":205998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:14:10] local.INFO: Packet analysis {"connection_id":205998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b04"} 
[2026-10-05 13:14:10] local.INFO: Extracted packet for processing {"connection_id":205998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b04"} 
[2026-10-05 13:14:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":36,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543592704001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:10] 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-10-05 13:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791186210000,"timestamp_ms":1791186210000,"timestamp_seconds":1791186210,"priority":1,"record_length":96,"hex_timestamp":"000001a10b048cd0"} 
[2026-10-05 13:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:14:10] 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-10-05 13:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":205998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":205998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":205998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:14:10] 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-10-05 13:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543592704001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543592704001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:14:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543592704001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:14:10] local.INFO: TCP Data received {"connection_id":204457,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:14:10] local.INFO: Processing buffer {"connection_id":204457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:14:10] local.INFO: IMEI packet received {"connection_id":204457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":204457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":205998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967470,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:14:10] local.INFO: GPS data processed {"connection_id":205998,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:14:10] local.INFO: Acknowledgment sent {"connection_id":205998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:14:15] local.INFO: TCP Data received {"connection_id":205998,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:14:15] local.INFO: Processing buffer {"connection_id":205998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:14:15] local.INFO: Packet analysis {"connection_id":205998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b04"} 
[2026-10-05 13:14:15] local.INFO: Extracted packet for processing {"connection_id":205998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b04"} 
[2026-10-05 13:14:15] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":36,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543592704001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:15] 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-10-05 13:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791186210000,"timestamp_ms":1791186210000,"timestamp_seconds":1791186210,"priority":1,"record_length":96,"hex_timestamp":"000001a10b048cd0"} 
[2026-10-05 13:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:14:15] 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-10-05 13:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":205998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":205998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":205998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:14:15] 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-10-05 13:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543592704001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543592704001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:14:15] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:14:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543592704001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":205998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:14:15] local.INFO: GPS data processed {"connection_id":205998,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:14:15] local.INFO: Acknowledgment sent {"connection_id":205998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:14:15] local.INFO: TCP Data received {"connection_id":204457,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:14:15] local.INFO: Processing buffer {"connection_id":204457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:14:15] local.INFO: IMEI packet received {"connection_id":204457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":204457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:14:16] local.INFO: TCP Data received {"connection_id":204457,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b020078012d1adb80071f8688003c011328..."} 
[2026-10-05 13:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b020078012d1adb80071f8688003c011328..."} 
[2026-10-05 13:14:16] local.INFO: Processing buffer {"connection_id":204457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b020078012d1adb80071f8688003c011328..."} 
[2026-10-05 13:14:16] local.INFO: Packet analysis {"connection_id":204457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b02"} 
[2026-10-05 13:14:16] local.INFO: Extracted packet for processing {"connection_id":204457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b02"} 
[2026-10-05 13:14:16] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543621632001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791186043000,"timestamp_ms":1791186043000,"timestamp_seconds":1791186043,"priority":1,"record_length":96,"hex_timestamp":"000001a10b020078"} 
[2026-10-05 13:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-10-05 13:14:16] 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-10-05 13:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:14:16] 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-10-05 13:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543621632001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543621632001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:14:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:14:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543621632001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":204457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:14:16] local.INFO: GPS data processed {"connection_id":204457,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:14:16] local.INFO: Acknowledgment sent {"connection_id":204457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:14:32] local.INFO: TCP Data received {"connection_id":205997,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:14:32] local.INFO: Processing buffer {"connection_id":205997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:14:32] local.INFO: Packet analysis {"connection_id":205997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b03"} 
[2026-10-05 13:14:32] local.INFO: Extracted packet for processing {"connection_id":205997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b03"} 
[2026-10-05 13:14:32] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":9,"angle":102,"satellites":42,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543576064001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193324607516043264,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:32] 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-10-05 13:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791186148000,"timestamp_ms":1791186148000,"timestamp_seconds":1791186148,"priority":1,"record_length":96,"hex_timestamp":"000001a10b039aa0"} 
[2026-10-05 13:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:14:32] 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-10-05 13:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-05 13:14: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-10-05 13:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":205997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":205997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":205997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543576064001,"66":26245,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9193324607516043264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543576064001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:14:32] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:14:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193324607516043264,"description":"Unknown IO ID 45"} 
[2026-10-05 13:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543576064001,"power":26245,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193324607516043264}} 
[2026-10-05 13:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":205997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:14:32] local.INFO: GPS data processed {"connection_id":205997,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:14:32] local.INFO: Acknowledgment sent {"connection_id":205997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:14:47] local.INFO: TCP Data received {"connection_id":204457,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b025280012d1adb80071f8688003c01132a..."} 
[2026-10-05 13:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b025280012d1adb80071f8688003c01132a..."} 
[2026-10-05 13:14:47] local.INFO: Processing buffer {"connection_id":204457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b025280012d1adb80071f8688003c01132a..."} 
[2026-10-05 13:14:47] local.INFO: Packet analysis {"connection_id":204457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b02"} 
[2026-10-05 13:14:47] local.INFO: Extracted packet for processing {"connection_id":204457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b02"} 
[2026-10-05 13:14:47] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 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-10-05 13:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543627008001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14: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-10-05 13:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791186064000,"timestamp_ms":1791186064000,"timestamp_seconds":1791186064,"priority":1,"record_length":96,"hex_timestamp":"000001a10b025280"} 
[2026-10-05 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-10-05 13:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 13:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:47] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:47] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:47] local.WARNING: Large IO value detected {"io_id":161,"raw_value":792565639593925339,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:47] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:47] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77451798083796992,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:47] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:47] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075828430,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:47] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 13:14:47] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:47] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 13:14:47] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,101,83,24,241,157,16,211,161,174,45,128,134,60,43,10,66,92,41,1,240,227,11,31,4,113,205,102,219,136,239,48,2,88,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 13:14:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758179772006400,"timestamp_seconds":4323758179772006.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 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-10-05 13:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":204457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":204457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":204457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:14:47] 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-10-05 13:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543627008001,"66":12298,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543627008001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:14:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:14:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543627008001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":204457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:14:47] local.INFO: GPS data processed {"connection_id":204457,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:14:47] local.INFO: Acknowledgment sent {"connection_id":204457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:14:54] local.INFO: TCP Data received {"connection_id":204593,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:14:54] local.INFO: Processing buffer {"connection_id":204593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:14:54] local.INFO: IMEI packet received {"connection_id":204593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 13:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":204593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:14:54] local.INFO: TCP Data received {"connection_id":207546,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:14:54] local.INFO: Processing buffer {"connection_id":207546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:14:54] local.INFO: IMEI packet received {"connection_id":207546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":207546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:14:59] local.INFO: TCP Data received {"connection_id":207547,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207547,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:14:59] local.INFO: Processing buffer {"connection_id":207547,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:14:59] local.INFO: IMEI packet received {"connection_id":207547,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":207547,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:15:00] local.INFO: TCP Data received {"connection_id":207546,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:15:00] local.INFO: Processing buffer {"connection_id":207546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:15:00] local.INFO: IMEI packet received {"connection_id":207546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":207546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:15:01] local.INFO: TCP Data received {"connection_id":207546,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:15:01] local.INFO: Processing buffer {"connection_id":207546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:15:01] local.INFO: Packet analysis {"connection_id":207546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b03"} 
[2026-10-05 13:15:01] local.INFO: Extracted packet for processing {"connection_id":207546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b03"} 
[2026-10-05 13:15:01] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":9,"angle":102,"satellites":42,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543576064001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193324607516043264,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15: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-10-05 13:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791186148000,"timestamp_ms":1791186148000,"timestamp_seconds":1791186148,"priority":1,"record_length":96,"hex_timestamp":"000001a10b039aa0"} 
[2026-10-05 13:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:15:01] 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-10-05 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-05 13:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13: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-10-05 13:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543576064001,"66":26245,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9193324607516043264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543576064001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:15:01] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:15:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193324607516043264,"description":"Unknown IO ID 45"} 
[2026-10-05 13:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543576064001,"power":26245,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193324607516043264}} 
[2026-10-05 13:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":207546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:15:01] local.INFO: GPS data processed {"connection_id":207546,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:15:01] local.INFO: Acknowledgment sent {"connection_id":207546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:15:04] local.INFO: TCP Data received {"connection_id":207547,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207547,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:15:04] local.INFO: Processing buffer {"connection_id":207547,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:15:04] local.INFO: IMEI packet received {"connection_id":207547,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":207547,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:15:05] local.INFO: TCP Data received {"connection_id":207547,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:15:05] local.INFO: Processing buffer {"connection_id":207547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:15:05] local.INFO: Packet analysis {"connection_id":207547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b04"} 
[2026-10-05 13:15:05] local.INFO: Extracted packet for processing {"connection_id":207547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b04"} 
[2026-10-05 13:15:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":36,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543592704001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:05] 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-10-05 13:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791186210000,"timestamp_ms":1791186210000,"timestamp_seconds":1791186210,"priority":1,"record_length":96,"hex_timestamp":"000001a10b048cd0"} 
[2026-10-05 13:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13: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-10-05 13: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:15: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-10-05 13: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-10-05 13:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543592704001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543592704001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:15:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:15:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543592704001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":207547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:15:05] local.INFO: GPS data processed {"connection_id":207547,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:15:05] local.INFO: Acknowledgment sent {"connection_id":207547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:15:05] local.INFO: TCP Data received {"connection_id":205999,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:15:05] local.INFO: Processing buffer {"connection_id":205999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:15:05] local.INFO: IMEI packet received {"connection_id":205999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":205999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:15:11] local.INFO: TCP Data received {"connection_id":205999,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:15:11] local.INFO: Processing buffer {"connection_id":205999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:15:11] local.INFO: IMEI packet received {"connection_id":205999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":205999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:15:12] local.INFO: TCP Data received {"connection_id":205999,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b02a488012d1adb80071f8688003c01132a..."} 
[2026-10-05 13:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b02a488012d1adb80071f8688003c01132a..."} 
[2026-10-05 13:15:12] local.INFO: Processing buffer {"connection_id":205999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b02a488012d1adb80071f8688003c01132a..."} 
[2026-10-05 13:15:12] local.INFO: Packet analysis {"connection_id":205999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b02"} 
[2026-10-05 13:15:12] local.INFO: Extracted packet for processing {"connection_id":205999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b02"} 
[2026-10-05 13:15:12] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119506568,"longitude_deg":75.6734848,"latitude_deg":11.9506568,"altitude":60,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d1adb80","hex_latitude":"071f8688","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543632384001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25001842148638720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281232967796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791186085000,"timestamp_ms":1791186085000,"timestamp_seconds":1791186085,"priority":1,"record_length":96,"hex_timestamp":"000001a10b02a488"} 
[2026-10-05 13:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:15:12] 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-10-05 13: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 13:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:12] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185688,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:12] local.WARNING: Large IO value detected {"io_id":211,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:12] local.WARNING: Large IO value detected {"io_id":161,"raw_value":792655833907141339,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:12] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513276801221132563,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:12] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77450698572169216,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:12] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832584,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:12] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075828430,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:12] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2257059900,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 13:15:12] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950470,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:12] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3540713472,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:12] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,211,161,45,128,134,60,40,10,66,174,43,92,1,240,227,11,31,4,113,205,184,219,136,239,48,2,88,7,42],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 13:15:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758188361940992,"timestamp_seconds":4323758188361941.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 13:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":205999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":205999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":205999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:15:12] 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-10-05 13:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543632384001,"66":12319,"101":206,"83":41984,"24":0,"16":25001842148638720,"45":1935281232967796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543632384001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:15:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:15:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25001842148638720,"km_value":25001842148638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281232967796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543632384001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1935281232967796736}} 
[2026-10-05 13:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":205999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:15:12] local.INFO: GPS data processed {"connection_id":205999,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:15:12] local.INFO: Acknowledgment sent {"connection_id":205999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:15:32] local.INFO: TCP Data received {"connection_id":207546,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:15:32] local.INFO: Processing buffer {"connection_id":207546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:15:32] local.INFO: Packet analysis {"connection_id":207546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b03"} 
[2026-10-05 13:15:32] local.INFO: Extracted packet for processing {"connection_id":207546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b03"} 
[2026-10-05 13:15:32] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":9,"angle":102,"satellites":42,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543576064001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193324607516043264,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:32] 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-10-05 13:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791186148000,"timestamp_ms":1791186148000,"timestamp_seconds":1791186148,"priority":1,"record_length":96,"hex_timestamp":"000001a10b039aa0"} 
[2026-10-05 13:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:15:32] 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-10-05 13:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-05 13:15: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-10-05 13: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-10-05 13:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543576064001,"66":26245,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9193324607516043264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543576064001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:15:32] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:15:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193324607516043264,"description":"Unknown IO ID 45"} 
[2026-10-05 13:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543576064001,"power":26245,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193324607516043264}} 
[2026-10-05 13:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":207546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:15:32] local.INFO: GPS data processed {"connection_id":207546,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:15:32] local.INFO: Acknowledgment sent {"connection_id":207546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:15:36] local.INFO: TCP Data received {"connection_id":207547,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:15:36] local.INFO: Processing buffer {"connection_id":207547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:15:36] local.INFO: Packet analysis {"connection_id":207547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b04"} 
[2026-10-05 13:15:36] local.INFO: Extracted packet for processing {"connection_id":207547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b04"} 
[2026-10-05 13:15:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":36,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543592704001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:36] 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-10-05 13:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791186210000,"timestamp_ms":1791186210000,"timestamp_seconds":1791186210,"priority":1,"record_length":96,"hex_timestamp":"000001a10b048cd0"} 
[2026-10-05 13:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:15:36] 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-10-05 13:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543592704001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543592704001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:15:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:15:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543592704001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":207547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:15:36] local.INFO: GPS data processed {"connection_id":207547,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:15:36] local.INFO: Acknowledgment sent {"connection_id":207547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:15:43] local.INFO: TCP Data received {"connection_id":205999,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b05f048012d1ac4c0071f8ed0003a015427..."} 
[2026-10-05 13:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b05f048012d1ac4c0071f8ed0003a015427..."} 
[2026-10-05 13:15:43] local.INFO: Processing buffer {"connection_id":205999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b05f048012d1ac4c0071f8ed0003a015427..."} 
[2026-10-05 13:15:43] local.INFO: Packet analysis {"connection_id":205999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b05"} 
[2026-10-05 13:15:43] local.INFO: Extracted packet for processing {"connection_id":205999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b05"} 
[2026-10-05 13:15:43] local.INFO: GPS Element Parsed {"raw_longitude":756729024,"raw_latitude":119508688,"longitude_deg":75.6729024,"latitude_deg":11.9508688,"altitude":58,"angle":340,"satellites":39,"speed":18,"hex_longitude":"2d1ac4c0","hex_latitude":"071f8ed0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 13:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543692032001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25002220105760768,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929159152224454656,"note":"Value kept but may cause issues"} 
[2026-10-05 13:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791186301000,"timestamp_ms":1791186301000,"timestamp_seconds":1791186301,"priority":1,"record_length":96,"hex_timestamp":"000001a10b05f048"} 
[2026-10-05 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-10-05 13:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-05 13:15:43] 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-10-05 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-10-05 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-10-05 13:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":205999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":205999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":205999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:15:43] 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-10-05 13:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543692032001,"66":13559,"101":206,"83":41984,"24":18,"16":25002220105760768,"45":1929159152224454656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543692032001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:15:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:15:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25002220105760768,"km_value":25002220105760.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929159152224454656,"description":"Unknown IO ID 45"} 
[2026-10-05 13:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543692032001,"power":13559,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1929159152224454656}} 
[2026-10-05 13:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":205999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:15:43] local.INFO: GPS data processed {"connection_id":205999,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:15:43] local.INFO: Acknowledgment sent {"connection_id":205999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:15:59] local.INFO: TCP Data received {"connection_id":204458,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:15:59] local.INFO: Processing buffer {"connection_id":204458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:15:59] local.INFO: IMEI packet received {"connection_id":204458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":204458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:16:00] local.INFO: TCP Data received {"connection_id":206000,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:16:00] local.INFO: Processing buffer {"connection_id":206000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:16:00] local.INFO: IMEI packet received {"connection_id":206000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":206000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:16:05] local.INFO: TCP Data received {"connection_id":204458,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:16:05] local.INFO: Processing buffer {"connection_id":204458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:16:05] local.INFO: IMEI packet received {"connection_id":204458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":204458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:16:05] local.INFO: TCP Data received {"connection_id":206000,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:16:05] local.INFO: Processing buffer {"connection_id":206000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:16:05] local.INFO: IMEI packet received {"connection_id":206000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":206000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:16:05] local.INFO: TCP Data received {"connection_id":207548,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:16:05] local.INFO: Processing buffer {"connection_id":207548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:16:05] local.INFO: IMEI packet received {"connection_id":207548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":207548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:16:05] local.INFO: TCP Data received {"connection_id":204458,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:16:05] local.INFO: Processing buffer {"connection_id":204458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:16:05] local.INFO: Packet analysis {"connection_id":204458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b04"} 
[2026-10-05 13:16:05] local.INFO: Extracted packet for processing {"connection_id":204458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b04"} 
[2026-10-05 13:16:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":36,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543592704001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:16:05] 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-10-05 13:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791186210000,"timestamp_ms":1791186210000,"timestamp_seconds":1791186210,"priority":1,"record_length":96,"hex_timestamp":"000001a10b048cd0"} 
[2026-10-05 13:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:16: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-10-05 13:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:16: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-10-05 13:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:16: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-10-05 13:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543592704001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543592704001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:16:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:16:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543592704001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":204458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:16:06] local.INFO: GPS data processed {"connection_id":204458,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:16:06] local.INFO: Acknowledgment sent {"connection_id":204458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:16:06] local.INFO: TCP Data received {"connection_id":206000,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:16:06] local.INFO: Processing buffer {"connection_id":206000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:16:06] local.INFO: Packet analysis {"connection_id":206000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b03"} 
[2026-10-05 13:16:06] local.INFO: Extracted packet for processing {"connection_id":206000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b03"} 
[2026-10-05 13:16:06] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":9,"angle":102,"satellites":42,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543576064001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193324607516043264,"note":"Value kept but may cause issues"} 
[2026-10-05 13:16: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-10-05 13:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791186148000,"timestamp_ms":1791186148000,"timestamp_seconds":1791186148,"priority":1,"record_length":96,"hex_timestamp":"000001a10b039aa0"} 
[2026-10-05 13:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:16:06] 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-10-05 13:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-05 13:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":206000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":206000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":206000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:16: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-10-05 13:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543576064001,"66":26245,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9193324607516043264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543576064001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:16:06] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:16:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193324607516043264,"description":"Unknown IO ID 45"} 
[2026-10-05 13:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543576064001,"power":26245,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193324607516043264}} 
[2026-10-05 13:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":206000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:16:06] local.INFO: GPS data processed {"connection_id":206000,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:16:06] local.INFO: Acknowledgment sent {"connection_id":206000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:16:06] local.INFO: TCP Data received {"connection_id":207548,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:16:06] local.INFO: Processing buffer {"connection_id":207548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:16:06] local.INFO: IMEI packet received {"connection_id":207548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":207548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:16:08] local.INFO: TCP Data received {"connection_id":207548,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:16:08] local.INFO: Processing buffer {"connection_id":207548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:16:08] local.INFO: IMEI packet received {"connection_id":207548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":207548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:16:10] local.INFO: TCP Data received {"connection_id":206000,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:16:10] local.INFO: Processing buffer {"connection_id":206000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:16:10] local.INFO: Packet analysis {"connection_id":206000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b03"} 
[2026-10-05 13:16:10] local.INFO: Extracted packet for processing {"connection_id":206000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b03"} 
[2026-10-05 13:16:10] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":9,"angle":102,"satellites":42,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543576064001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193324607516043264,"note":"Value kept but may cause issues"} 
[2026-10-05 13:16:10] 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-10-05 13:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791186148000,"timestamp_ms":1791186148000,"timestamp_seconds":1791186148,"priority":1,"record_length":96,"hex_timestamp":"000001a10b039aa0"} 
[2026-10-05 13:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:16:10] 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-10-05 13:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-05 13:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":206000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":206000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":206000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543576064001,"66":26245,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9193324607516043264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543576064001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:16:10] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193324607516043264,"description":"Unknown IO ID 45"} 
[2026-10-05 13:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543576064001,"power":26245,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193324607516043264}} 
[2026-10-05 13:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":206000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:16:10] local.INFO: GPS data processed {"connection_id":206000,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:16:10] local.INFO: Acknowledgment sent {"connection_id":206000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:16:11] local.INFO: TCP Data received {"connection_id":207548,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b05f430012d1ac3c0071f9060003a014327..."} 
[2026-10-05 13:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b05f430012d1ac3c0071f9060003a014327..."} 
[2026-10-05 13:16:11] local.INFO: Processing buffer {"connection_id":207548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b05f430012d1ac3c0071f9060003a014327..."} 
[2026-10-05 13:16:11] local.INFO: Packet analysis {"connection_id":207548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b05"} 
[2026-10-05 13:16:11] local.INFO: Extracted packet for processing {"connection_id":207548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b05"} 
[2026-10-05 13:16:11] local.INFO: GPS Element Parsed {"raw_longitude":756728768,"raw_latitude":119509088,"longitude_deg":75.6728768,"latitude_deg":11.9509088,"altitude":58,"angle":323,"satellites":39,"speed":18,"hex_longitude":"2d1ac3c0","hex_latitude":"071f9060","is_valid_coordinates":true} 
[2026-10-05 13:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543693056001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25002245875564544,"note":"Value kept but may cause issues"} 
[2026-10-05 13:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928877677248172032,"note":"Value kept but may cause issues"} 
[2026-10-05 13:16:11] 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-10-05 13:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791186302000,"timestamp_ms":1791186302000,"timestamp_seconds":1791186302,"priority":1,"record_length":96,"hex_timestamp":"000001a10b05f430"} 
[2026-10-05 13:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-05 13:16:11] 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-10-05 13:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:16:11] 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-10-05 13:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543693056001,"66":13493,"101":206,"83":41984,"24":18,"16":25002245875564544,"45":1928877677248172032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543693056001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:16:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:16:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25002245875564544,"km_value":25002245875564.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928877677248172032,"description":"Unknown IO ID 45"} 
[2026-10-05 13:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543693056001,"power":13493,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1928877677248172032}} 
[2026-10-05 13:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":207548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:16:11] local.INFO: GPS data processed {"connection_id":207548,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:16:11] local.INFO: Acknowledgment sent {"connection_id":207548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:16:37] local.INFO: TCP Data received {"connection_id":204458,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:16:37] local.INFO: Processing buffer {"connection_id":204458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:16:37] local.INFO: Packet analysis {"connection_id":204458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b04"} 
[2026-10-05 13:16:37] local.INFO: Extracted packet for processing {"connection_id":204458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b04"} 
[2026-10-05 13:16:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":36,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543592704001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:16:37] 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-10-05 13:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791186210000,"timestamp_ms":1791186210000,"timestamp_seconds":1791186210,"priority":1,"record_length":96,"hex_timestamp":"000001a10b048cd0"} 
[2026-10-05 13:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:16: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-10-05 13:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:16: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-10-05 13:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543592704001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543592704001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:16:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:16:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543592704001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":204458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967485,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:16:37] local.INFO: GPS data processed {"connection_id":204458,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:16:37] local.INFO: Acknowledgment sent {"connection_id":204458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:16:42] local.INFO: TCP Data received {"connection_id":207548,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b05f818012d1ac240071f91b8003a013327..."} 
[2026-10-05 13:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b05f818012d1ac240071f91b8003a013327..."} 
[2026-10-05 13:16:42] local.INFO: Processing buffer {"connection_id":207548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b05f818012d1ac240071f91b8003a013327..."} 
[2026-10-05 13:16:42] local.INFO: Packet analysis {"connection_id":207548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b05"} 
[2026-10-05 13:16:42] local.INFO: Extracted packet for processing {"connection_id":207548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b05"} 
[2026-10-05 13:16:42] local.INFO: GPS Element Parsed {"raw_longitude":756728384,"raw_latitude":119509432,"longitude_deg":75.6728384,"latitude_deg":11.9509432,"altitude":58,"angle":307,"satellites":39,"speed":19,"hex_longitude":"2d1ac240","hex_latitude":"071f91b8","is_valid_coordinates":true} 
[2026-10-05 13:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543693312001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25002271645368320,"note":"Value kept but may cause issues"} 
[2026-10-05 13:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928596202271563776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791186303000,"timestamp_ms":1791186303000,"timestamp_seconds":1791186303,"priority":1,"record_length":96,"hex_timestamp":"000001a10b05f818"} 
[2026-10-05 13:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-10-05 13:16:42] 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-10-05 13:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:16:42] 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-10-05 13:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543693312001,"66":13493,"101":206,"83":41984,"24":19,"16":25002271645368320,"45":1928596202271563776},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543693312001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:16:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:16:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25002271645368320,"km_value":25002271645368.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928596202271563776,"description":"Unknown IO ID 45"} 
[2026-10-05 13:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543693312001,"power":13493,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1928596202271563776}} 
[2026-10-05 13:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":207548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:16:42] local.INFO: GPS data processed {"connection_id":207548,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:16:42] local.INFO: Acknowledgment sent {"connection_id":207548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:16:55] local.INFO: TCP Data received {"connection_id":204459,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:16:55] local.INFO: Processing buffer {"connection_id":204459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:16:55] local.INFO: IMEI packet received {"connection_id":204459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":204459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:16:59] local.INFO: TCP Data received {"connection_id":207549,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207549,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:16:59] local.INFO: Processing buffer {"connection_id":207549,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:16:59] local.INFO: IMEI packet received {"connection_id":207549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":207549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:17:00] local.INFO: TCP Data received {"connection_id":204459,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:17:00] local.INFO: Processing buffer {"connection_id":204459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:17:00] local.INFO: IMEI packet received {"connection_id":204459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":204459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:17:01] local.INFO: TCP Data received {"connection_id":204459,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:17:01] local.INFO: Processing buffer {"connection_id":204459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:17:01] local.INFO: Packet analysis {"connection_id":204459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b03"} 
[2026-10-05 13:17:01] local.INFO: Extracted packet for processing {"connection_id":204459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b03"} 
[2026-10-05 13:17:01] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":9,"angle":102,"satellites":42,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543576064001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193324607516043264,"note":"Value kept but may cause issues"} 
[2026-10-05 13:17: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-10-05 13:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791186148000,"timestamp_ms":1791186148000,"timestamp_seconds":1791186148,"priority":1,"record_length":96,"hex_timestamp":"000001a10b039aa0"} 
[2026-10-05 13:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:17:01] 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-10-05 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-05 13:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:17: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-10-05 13:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543576064001,"66":26245,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9193324607516043264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543576064001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:17:01] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:17:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193324607516043264,"description":"Unknown IO ID 45"} 
[2026-10-05 13:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543576064001,"power":26245,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193324607516043264}} 
[2026-10-05 13:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":204459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:17:01] local.INFO: GPS data processed {"connection_id":204459,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:17:01] local.INFO: Acknowledgment sent {"connection_id":204459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:17:04] local.INFO: TCP Data received {"connection_id":207549,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207549,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:17:04] local.INFO: Processing buffer {"connection_id":207549,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:17:04] local.INFO: IMEI packet received {"connection_id":207549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":207549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:17:05] local.INFO: TCP Data received {"connection_id":207549,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:17:05] local.INFO: Processing buffer {"connection_id":207549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:17:05] local.INFO: Packet analysis {"connection_id":207549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b04"} 
[2026-10-05 13:17:05] local.INFO: Extracted packet for processing {"connection_id":207549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b04"} 
[2026-10-05 13:17:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":36,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543592704001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:17:05] 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-10-05 13:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791186210000,"timestamp_ms":1791186210000,"timestamp_seconds":1791186210,"priority":1,"record_length":96,"hex_timestamp":"000001a10b048cd0"} 
[2026-10-05 13:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13: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-10-05 13:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:17: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-10-05 13:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:17: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-10-05 13:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543592704001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543592704001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:17:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:17:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543592704001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":207549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:17:05] local.INFO: GPS data processed {"connection_id":207549,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:17:05] local.INFO: Acknowledgment sent {"connection_id":207549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:17:05] local.INFO: TCP Data received {"connection_id":206002,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:17:05] local.INFO: Processing buffer {"connection_id":206002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:17:05] local.INFO: IMEI packet received {"connection_id":206002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":206002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:17:11] local.INFO: TCP Data received {"connection_id":206002,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:17:11] local.INFO: Processing buffer {"connection_id":206002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:17:11] local.INFO: IMEI packet received {"connection_id":206002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":206002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:17:11] local.INFO: TCP Data received {"connection_id":206002,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b05ffe8012d1abe40071f93c0003a012527..."} 
[2026-10-05 13:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b05ffe8012d1abe40071f93c0003a012527..."} 
[2026-10-05 13:17:11] local.INFO: Processing buffer {"connection_id":206002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b05ffe8012d1abe40071f93c0003a012527..."} 
[2026-10-05 13:17:11] local.INFO: Packet analysis {"connection_id":206002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b05"} 
[2026-10-05 13:17:11] local.INFO: Extracted packet for processing {"connection_id":206002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b05"} 
[2026-10-05 13:17:11] local.INFO: GPS Element Parsed {"raw_longitude":756727360,"raw_latitude":119509952,"longitude_deg":75.672736,"latitude_deg":11.9509952,"altitude":58,"angle":293,"satellites":39,"speed":24,"hex_longitude":"2d1abe40","hex_latitude":"071f93c0","is_valid_coordinates":true} 
[2026-10-05 13:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543693568001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25002323184975872,"note":"Value kept but may cause issues"} 
[2026-10-05 13:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928173989806585856,"note":"Value kept but may cause issues"} 
[2026-10-05 13:17:11] 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-10-05 13:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791186305000,"timestamp_ms":1791186305000,"timestamp_seconds":1791186305,"priority":1,"record_length":96,"hex_timestamp":"000001a10b05ffe8"} 
[2026-10-05 13:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-10-05 13:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:17:11] 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-10-05 13:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543693568001,"66":13472,"101":206,"83":41984,"24":24,"16":25002323184975872,"45":1928173989806585856},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543693568001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:17:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:17:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25002323184975872,"km_value":25002323184975.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928173989806585856,"description":"Unknown IO ID 45"} 
[2026-10-05 13:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543693568001,"power":13472,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1928173989806585856}} 
[2026-10-05 13:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":206002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:17:11] local.INFO: GPS data processed {"connection_id":206002,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:17:11] local.INFO: Acknowledgment sent {"connection_id":206002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:17:32] local.INFO: TCP Data received {"connection_id":204459,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:17:32] local.INFO: Processing buffer {"connection_id":204459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:17:32] local.INFO: Packet analysis {"connection_id":204459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b03"} 
[2026-10-05 13:17:32] local.INFO: Extracted packet for processing {"connection_id":204459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b03"} 
[2026-10-05 13:17:32] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":9,"angle":102,"satellites":42,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543576064001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193324607516043264,"note":"Value kept but may cause issues"} 
[2026-10-05 13:17:32] 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-10-05 13:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791186148000,"timestamp_ms":1791186148000,"timestamp_seconds":1791186148,"priority":1,"record_length":96,"hex_timestamp":"000001a10b039aa0"} 
[2026-10-05 13:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:17:32] 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-10-05 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-05 13:17: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-10-05 13: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-10-05 13:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543576064001,"66":26245,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9193324607516043264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543576064001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:17:32] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:17:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193324607516043264,"description":"Unknown IO ID 45"} 
[2026-10-05 13:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543576064001,"power":26245,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193324607516043264}} 
[2026-10-05 13:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":204459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:17:32] local.INFO: GPS data processed {"connection_id":204459,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:17:32] local.INFO: Acknowledgment sent {"connection_id":204459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:17:36] local.INFO: TCP Data received {"connection_id":207549,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:17:36] local.INFO: Processing buffer {"connection_id":207549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:17:36] local.INFO: Packet analysis {"connection_id":207549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b04"} 
[2026-10-05 13:17:36] local.INFO: Extracted packet for processing {"connection_id":207549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b04"} 
[2026-10-05 13:17:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":36,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543592704001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:17:36] 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-10-05 13:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791186210000,"timestamp_ms":1791186210000,"timestamp_seconds":1791186210,"priority":1,"record_length":96,"hex_timestamp":"000001a10b048cd0"} 
[2026-10-05 13:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:17:36] 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-10-05 13:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:17:36] 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-10-05 13:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543592704001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543592704001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:17:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:17:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543592704001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":207549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:17:36] local.INFO: GPS data processed {"connection_id":207549,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:17:36] local.INFO: Acknowledgment sent {"connection_id":207549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:17:42] local.INFO: TCP Data received {"connection_id":206002,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b060ba0012d1ab6c0071f95f80039011929..."} 
[2026-10-05 13:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b060ba0012d1ab6c0071f95f80039011929..."} 
[2026-10-05 13:17:42] local.INFO: Processing buffer {"connection_id":206002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b060ba0012d1ab6c0071f95f80039011929..."} 
[2026-10-05 13:17:42] local.INFO: Packet analysis {"connection_id":206002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b06"} 
[2026-10-05 13:17:42] local.INFO: Extracted packet for processing {"connection_id":206002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b06"} 
[2026-10-05 13:17:42] local.INFO: GPS Element Parsed {"raw_longitude":756725440,"raw_latitude":119510520,"longitude_deg":75.672544,"latitude_deg":11.951052,"altitude":57,"angle":281,"satellites":41,"speed":25,"hex_longitude":"2d1ab6c0","hex_latitude":"071f95f8","is_valid_coordinates":true} 
[2026-10-05 13:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543694080001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25002417674256384,"note":"Value kept but may cause issues"} 
[2026-10-05 13:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927048089899876352,"note":"Value kept but may cause issues"} 
[2026-10-05 13:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791186308000,"timestamp_ms":1791186308000,"timestamp_seconds":1791186308,"priority":1,"record_length":96,"hex_timestamp":"000001a10b060ba0"} 
[2026-10-05 13:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-10-05 13:17:42] 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-10-05 13:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:17:42] 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-10-05 13:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543694080001,"66":13472,"101":206,"83":41984,"24":25,"16":25002417674256384,"45":1927048089899876352},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543694080001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:17:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:17:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25002417674256384,"km_value":25002417674256.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927048089899876352,"description":"Unknown IO ID 45"} 
[2026-10-05 13:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543694080001,"power":13472,"unknown_101":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1927048089899876352}} 
[2026-10-05 13:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":206002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:17:43] local.INFO: GPS data processed {"connection_id":206002,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:17:43] local.INFO: Acknowledgment sent {"connection_id":206002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:17:55] local.INFO: TCP Data received {"connection_id":207550,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:17:55] local.INFO: Processing buffer {"connection_id":207550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:17:55] local.INFO: IMEI packet received {"connection_id":207550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":207550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:17:59] local.INFO: TCP Data received {"connection_id":206004,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:17:59] local.INFO: Processing buffer {"connection_id":206004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:17:59] local.INFO: IMEI packet received {"connection_id":206004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":206004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:18:00] local.INFO: TCP Data received {"connection_id":207550,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:18:00] local.INFO: Processing buffer {"connection_id":207550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:18:00] local.INFO: IMEI packet received {"connection_id":207550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":207550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:18:01] local.INFO: TCP Data received {"connection_id":207550,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:18:01] local.INFO: Processing buffer {"connection_id":207550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b039aa0012d7f9b4005afd4b0000900662a..."} 
[2026-10-05 13:18:01] local.INFO: Packet analysis {"connection_id":207550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b03"} 
[2026-10-05 13:18:01] local.INFO: Extracted packet for processing {"connection_id":207550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b03"} 
[2026-10-05 13:18:01] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":9,"angle":102,"satellites":42,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543576064001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193324607516043264,"note":"Value kept but may cause issues"} 
[2026-10-05 13:18: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-10-05 13:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791186148000,"timestamp_ms":1791186148000,"timestamp_seconds":1791186148,"priority":1,"record_length":96,"hex_timestamp":"000001a10b039aa0"} 
[2026-10-05 13:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:18:01] 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-10-05 13:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-05 13:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:18: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-10-05 13:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543576064001,"66":26245,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9193324607516043264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543576064001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:18:01] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:18:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193324607516043264,"description":"Unknown IO ID 45"} 
[2026-10-05 13:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543576064001,"power":26245,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193324607516043264}} 
[2026-10-05 13:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":207550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:18:01] local.INFO: GPS data processed {"connection_id":207550,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:18:01] local.INFO: Acknowledgment sent {"connection_id":207550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:18:04] local.INFO: TCP Data received {"connection_id":206004,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:18:04] local.INFO: Processing buffer {"connection_id":206004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:18:04] local.INFO: IMEI packet received {"connection_id":206004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":206004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:18:05] local.INFO: TCP Data received {"connection_id":207551,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:18:05] local.INFO: Processing buffer {"connection_id":207551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:18:05] local.INFO: IMEI packet received {"connection_id":207551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":207551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:18:05] local.INFO: TCP Data received {"connection_id":206004,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:18:05] local.INFO: Processing buffer {"connection_id":206004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b048cd0012d7b524005e13b08000c00a924..."} 
[2026-10-05 13:18:05] local.INFO: Packet analysis {"connection_id":206004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b04"} 
[2026-10-05 13:18:05] local.INFO: Extracted packet for processing {"connection_id":206004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b04"} 
[2026-10-05 13:18:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":36,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543592704001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:18:05] 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-10-05 13:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791186210000,"timestamp_ms":1791186210000,"timestamp_seconds":1791186210,"priority":1,"record_length":96,"hex_timestamp":"000001a10b048cd0"} 
[2026-10-05 13:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:18: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-10-05 13:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:18: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-10-05 13:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":206004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":206004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":206004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543592704001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543592704001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:18:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:18:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543592704001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":206004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:18:06] local.INFO: GPS data processed {"connection_id":206004,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:18:06] local.INFO: Acknowledgment sent {"connection_id":206004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:18:11] local.INFO: TCP Data received {"connection_id":207551,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:18:11] local.INFO: Processing buffer {"connection_id":207551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:18:11] local.INFO: IMEI packet received {"connection_id":207551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":207551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:18:11] local.INFO: TCP Data received {"connection_id":207551,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b062ae0012d1aa240071f99900039012729..."} 
[2026-10-05 13:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b062ae0012d1aa240071f99900039012729..."} 
[2026-10-05 13:18:11] local.INFO: Processing buffer {"connection_id":207551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b062ae0012d1aa240071f99900039012729..."} 
[2026-10-05 13:18:11] local.INFO: Packet analysis {"connection_id":207551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b06"} 
[2026-10-05 13:18:11] local.INFO: Extracted packet for processing {"connection_id":207551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b06"} 
[2026-10-05 13:18:11] local.INFO: GPS Element Parsed {"raw_longitude":756720192,"raw_latitude":119511440,"longitude_deg":75.6720192,"latitude_deg":11.951144,"altitude":57,"angle":295,"satellites":41,"speed":26,"hex_longitude":"2d1aa240","hex_latitude":"071f9990","is_valid_coordinates":true} 
[2026-10-05 13:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543694848001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25002671077326848,"note":"Value kept but may cause issues"} 
[2026-10-05 13:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924937027574691840,"note":"Value kept but may cause issues"} 
[2026-10-05 13:18:11] 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-10-05 13:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791186316000,"timestamp_ms":1791186316000,"timestamp_seconds":1791186316,"priority":1,"record_length":96,"hex_timestamp":"000001a10b062ae0"} 
[2026-10-05 13:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:18:11] 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-10-05 13:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-10-05 13:18:11] 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-10-05 13:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:18:11] 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-10-05 13:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543694848001,"66":13428,"101":206,"83":41984,"24":26,"16":25002671077326848,"45":1924937027574691840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543694848001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:18:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:18:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25002671077326848,"km_value":25002671077326.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924937027574691840,"description":"Unknown IO ID 45"} 
[2026-10-05 13:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543694848001,"power":13428,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1924937027574691840}} 
[2026-10-05 13:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":207551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:18:12] local.INFO: GPS data processed {"connection_id":207551,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:18:12] local.INFO: Acknowledgment sent {"connection_id":207551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:18:32] local.INFO: TCP Data received {"connection_id":207550,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:18:32] local.INFO: Processing buffer {"connection_id":207550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:18:32] local.INFO: Packet analysis {"connection_id":207550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b08"} 
[2026-10-05 13:18:32] local.INFO: Extracted packet for processing {"connection_id":207550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b08"} 
[2026-10-05 13:18:32] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":4,"angle":102,"satellites":42,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543653888001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457375965184,"note":"Value kept but may cause issues"} 
[2026-10-05 13:18:32] 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-10-05 13:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791186449000,"timestamp_ms":1791186449000,"timestamp_seconds":1791186449,"priority":1,"record_length":96,"hex_timestamp":"000001a10b083268"} 
[2026-10-05 13:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 13:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543653888001,"66":26169,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9195013457375965184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543653888001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:18:32] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:18:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457375965184,"description":"Unknown IO ID 45"} 
[2026-10-05 13:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543653888001,"power":26169,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457375965184}} 
[2026-10-05 13:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":207550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:18:32] local.INFO: GPS data processed {"connection_id":207550,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:18:32] local.INFO: Acknowledgment sent {"connection_id":207550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:18:37] local.INFO: TCP Data received {"connection_id":206004,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:18:37] local.INFO: Processing buffer {"connection_id":206004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:18:37] local.INFO: Packet analysis {"connection_id":206004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b09"} 
[2026-10-05 13:18:37] local.INFO: Extracted packet for processing {"connection_id":206004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b09"} 
[2026-10-05 13:18:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543669760001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:18:37] 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-10-05 13:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791186511000,"timestamp_ms":1791186511000,"timestamp_seconds":1791186511,"priority":1,"record_length":96,"hex_timestamp":"000001a10b092498"} 
[2026-10-05 13:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:18: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-10-05 13: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-10-05 13:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543669760001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543669760001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:18:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:18:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543669760001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":206004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:18:37] local.INFO: GPS data processed {"connection_id":206004,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:18:37] local.INFO: Acknowledgment sent {"connection_id":206004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:18:43] local.INFO: TCP Data received {"connection_id":207551,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0632b0012d1a9e00071f9cb00039013727..."} 
[2026-10-05 13:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0632b0012d1a9e00071f9cb00039013727..."} 
[2026-10-05 13:18:43] local.INFO: Processing buffer {"connection_id":207551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0632b0012d1a9e00071f9cb00039013727..."} 
[2026-10-05 13:18:43] local.INFO: Packet analysis {"connection_id":207551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b06"} 
[2026-10-05 13:18:43] local.INFO: Extracted packet for processing {"connection_id":207551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b06"} 
[2026-10-05 13:18:43] local.INFO: GPS Element Parsed {"raw_longitude":756719104,"raw_latitude":119512240,"longitude_deg":75.6719104,"latitude_deg":11.951224,"altitude":57,"angle":311,"satellites":39,"speed":27,"hex_longitude":"2d1a9e00","hex_latitude":"071f9cb0","is_valid_coordinates":true} 
[2026-10-05 13:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543696896001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25002735501836288,"note":"Value kept but may cause issues"} 
[2026-10-05 13:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919166790552358912,"note":"Value kept but may cause issues"} 
[2026-10-05 13:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791186318000,"timestamp_ms":1791186318000,"timestamp_seconds":1791186318,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0632b0"} 
[2026-10-05 13:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:18:43] 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-10-05 13:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 13:18:43] 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-10-05 13:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:18:43] 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-10-05 13:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543696896001,"66":13341,"101":206,"83":41984,"24":27,"16":25002735501836288,"45":1919166790552358912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543696896001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:18:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:18:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25002735501836288,"km_value":25002735501836.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919166790552358912,"description":"Unknown IO ID 45"} 
[2026-10-05 13:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543696896001,"power":13341,"unknown_101":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1919166790552358912}} 
[2026-10-05 13:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":207551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:18:43] local.INFO: GPS data processed {"connection_id":207551,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:18:43] local.INFO: Acknowledgment sent {"connection_id":207551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:19:00] local.INFO: TCP Data received {"connection_id":206005,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:19:00] local.INFO: Processing buffer {"connection_id":206005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:19:00] local.INFO: IMEI packet received {"connection_id":206005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":206005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:19:04] local.INFO: TCP Data received {"connection_id":206006,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:19:04] local.INFO: Processing buffer {"connection_id":206006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:19:04] local.INFO: IMEI packet received {"connection_id":206006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":206006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:19:05] local.INFO: TCP Data received {"connection_id":206005,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:19:05] local.INFO: Processing buffer {"connection_id":206005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:19:05] local.INFO: IMEI packet received {"connection_id":206005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":206005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:19:05] local.INFO: TCP Data received {"connection_id":204460,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:19:05] local.INFO: Processing buffer {"connection_id":204460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:19:05] local.INFO: IMEI packet received {"connection_id":204460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":204460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:19:06] local.INFO: TCP Data received {"connection_id":206005,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:19:06] local.INFO: Processing buffer {"connection_id":206005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:19:06] local.INFO: Packet analysis {"connection_id":206005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b08"} 
[2026-10-05 13:19:06] local.INFO: Extracted packet for processing {"connection_id":206005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b08"} 
[2026-10-05 13:19:06] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":4,"angle":102,"satellites":42,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543653888001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457375965184,"note":"Value kept but may cause issues"} 
[2026-10-05 13:19: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-10-05 13:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791186449000,"timestamp_ms":1791186449000,"timestamp_seconds":1791186449,"priority":1,"record_length":96,"hex_timestamp":"000001a10b083268"} 
[2026-10-05 13:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 13:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":206005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":206005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":206005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:19: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-10-05 13:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543653888001,"66":26169,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9195013457375965184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543653888001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:19:06] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:19:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457375965184,"description":"Unknown IO ID 45"} 
[2026-10-05 13:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543653888001,"power":26169,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457375965184}} 
[2026-10-05 13:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":206005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:19:06] local.INFO: GPS data processed {"connection_id":206005,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:19:06] local.INFO: Acknowledgment sent {"connection_id":206005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:19:09] local.INFO: TCP Data received {"connection_id":206006,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:19:09] local.INFO: Processing buffer {"connection_id":206006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:19:09] local.INFO: IMEI packet received {"connection_id":206006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":206006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:19:10] local.INFO: TCP Data received {"connection_id":204460,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:19:10] local.INFO: Processing buffer {"connection_id":204460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:19:10] local.INFO: IMEI packet received {"connection_id":204460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":204460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:19:10] local.INFO: TCP Data received {"connection_id":206005,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:19:10] local.INFO: Processing buffer {"connection_id":206005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:19:10] local.INFO: Packet analysis {"connection_id":206005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b08"} 
[2026-10-05 13:19:10] local.INFO: Extracted packet for processing {"connection_id":206005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b08"} 
[2026-10-05 13:19:10] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":4,"angle":102,"satellites":42,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543653888001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457375965184,"note":"Value kept but may cause issues"} 
[2026-10-05 13:19:10] 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-10-05 13:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791186449000,"timestamp_ms":1791186449000,"timestamp_seconds":1791186449,"priority":1,"record_length":96,"hex_timestamp":"000001a10b083268"} 
[2026-10-05 13:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 13:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":206005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":206005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":206005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543653888001,"66":26169,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9195013457375965184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543653888001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:19:10] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457375965184,"description":"Unknown IO ID 45"} 
[2026-10-05 13:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543653888001,"power":26169,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457375965184}} 
[2026-10-05 13:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":206005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:19:10] local.INFO: GPS data processed {"connection_id":206005,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:19:10] local.INFO: Acknowledgment sent {"connection_id":206005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:19:10] local.INFO: TCP Data received {"connection_id":206006,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:19:10] local.INFO: Processing buffer {"connection_id":206006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:19:10] local.INFO: Packet analysis {"connection_id":206006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b09"} 
[2026-10-05 13:19:10] local.INFO: Extracted packet for processing {"connection_id":206006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b09"} 
[2026-10-05 13:19:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543669760001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:19:10] 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-10-05 13:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791186511000,"timestamp_ms":1791186511000,"timestamp_seconds":1791186511,"priority":1,"record_length":96,"hex_timestamp":"000001a10b092498"} 
[2026-10-05 13:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:19:10] 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-10-05 13:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":206006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":206006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":206006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:19:10] 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-10-05 13:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543669760001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543669760001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:19:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543669760001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":206006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:19:10] local.INFO: GPS data processed {"connection_id":206006,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:19:10] local.INFO: Acknowledgment sent {"connection_id":206006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:19:11] local.INFO: TCP Data received {"connection_id":204460,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0659c0012d1a8d80071facd80036012927..."} 
[2026-10-05 13:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0659c0012d1a8d80071facd80036012927..."} 
[2026-10-05 13:19:11] local.INFO: Processing buffer {"connection_id":204460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0659c0012d1a8d80071facd80036012927..."} 
[2026-10-05 13:19:11] local.INFO: Packet analysis {"connection_id":204460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b06"} 
[2026-10-05 13:19:11] local.INFO: Extracted packet for processing {"connection_id":204460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b06"} 
[2026-10-05 13:19:11] local.INFO: GPS Element Parsed {"raw_longitude":756714880,"raw_latitude":119516376,"longitude_deg":75.671488,"latitude_deg":11.9516376,"altitude":54,"angle":297,"satellites":39,"speed":11,"hex_longitude":"2d1a8d80","hex_latitude":"071facd8","is_valid_coordinates":true} 
[2026-10-05 13:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543697408001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25003023264645120,"note":"Value kept but may cause issues"} 
[2026-10-05 13:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1917970521901543424,"note":"Value kept but may cause issues"} 
[2026-10-05 13:19:11] 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-10-05 13:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791186328000,"timestamp_ms":1791186328000,"timestamp_seconds":1791186328,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0659c0"} 
[2026-10-05 13:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:19:11] 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-10-05 13:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-10-05 13:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:19:11] 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-10-05 13:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543697408001,"66":12548,"101":206,"83":41984,"24":11,"16":25003023264645120,"45":1917970521901543424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543697408001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:19:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:19:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25003023264645120,"km_value":25003023264645.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1917970521901543424,"description":"Unknown IO ID 45"} 
[2026-10-05 13:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543697408001,"power":12548,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1917970521901543424}} 
[2026-10-05 13:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":204460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:19:11] local.INFO: GPS data processed {"connection_id":204460,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:19:11] local.INFO: Acknowledgment sent {"connection_id":204460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:19:15] local.INFO: TCP Data received {"connection_id":206006,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:19:15] local.INFO: Processing buffer {"connection_id":206006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:19:15] local.INFO: Packet analysis {"connection_id":206006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b09"} 
[2026-10-05 13:19:15] local.INFO: Extracted packet for processing {"connection_id":206006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b09"} 
[2026-10-05 13:19:15] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543669760001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:19:15] 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-10-05 13:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791186511000,"timestamp_ms":1791186511000,"timestamp_seconds":1791186511,"priority":1,"record_length":96,"hex_timestamp":"000001a10b092498"} 
[2026-10-05 13:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:19:15] 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-10-05 13: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-10-05 13:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":206006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":206006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":206006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:19:15] 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-10-05 13:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543669760001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543669760001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:19:15] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:19:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543669760001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":206006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:19:15] local.INFO: GPS data processed {"connection_id":206006,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:19:15] local.INFO: Acknowledgment sent {"connection_id":206006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:19:42] local.INFO: TCP Data received {"connection_id":204460,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b066190012d1a8c40071fad880036013825..."} 
[2026-10-05 13:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b066190012d1a8c40071fad880036013825..."} 
[2026-10-05 13:19:42] local.INFO: Processing buffer {"connection_id":204460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b066190012d1a8c40071fad880036013825..."} 
[2026-10-05 13:19:42] local.INFO: Packet analysis {"connection_id":204460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b06"} 
[2026-10-05 13:19:42] local.INFO: Extracted packet for processing {"connection_id":204460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b06"} 
[2026-10-05 13:19:42] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516552,"longitude_deg":75.671456,"latitude_deg":11.9516552,"altitude":54,"angle":312,"satellites":37,"speed":5,"hex_longitude":"2d1a8c40","hex_latitude":"071fad88","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543699968001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25003040444514304,"note":"Value kept but may cause issues"} 
[2026-10-05 13:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913326184786876416,"note":"Value kept but may cause issues"} 
[2026-10-05 13:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791186330000,"timestamp_ms":1791186330000,"timestamp_seconds":1791186330,"priority":1,"record_length":96,"hex_timestamp":"000001a10b066190"} 
[2026-10-05 13:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 13:19:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-05 13:19:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 13:19:42] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2432696320,"note":"Value kept but may cause issues"} 
[2026-10-05 13:19:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184258961613,"note":"Value kept but may cause issues"} 
[2026-10-05 13:19:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2478833722,"note":"Value kept but may cause issues"} 
[2026-10-05 13:19:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 13:19:42] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728696,"note":"Value kept but may cause issues"} 
[2026-10-05 13:19:42] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3547267072,"note":"Value kept but may cause issues"} 
[2026-10-05 13:19:42] local.WARNING: Large IO value detected {"io_id":18,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-10-05 13:19:42] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-10-05 13:19:42] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,101,83,24,241,157,16,212,161,50,45,156,57,39,10,66,211,42,64,153,41,11,192,1,240,160,227,31,4,113,205,248,194,184,239,52,2,88,7,58,18,120],"length":485,"final_offset":615,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 13:19:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891436800506003456,"timestamp_seconds":3891436800506003.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 13:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:19:42] 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-10-05 13:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543699968001,"66":13276,"101":206,"83":41984,"24":5,"16":25003040444514304,"45":1913326184786876416},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543699968001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:19:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:19:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25003040444514304,"km_value":25003040444514.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913326184786876416,"description":"Unknown IO ID 45"} 
[2026-10-05 13:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543699968001,"power":13276,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1913326184786876416}} 
[2026-10-05 13:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":204460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:19:42] local.INFO: GPS data processed {"connection_id":204460,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:19:42] local.INFO: Acknowledgment sent {"connection_id":204460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:19:55] local.INFO: TCP Data received {"connection_id":206007,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:19:55] local.INFO: Processing buffer {"connection_id":206007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:19:55] local.INFO: IMEI packet received {"connection_id":206007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":206007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:19:59] local.INFO: TCP Data received {"connection_id":206008,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:19:59] local.INFO: Processing buffer {"connection_id":206008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:19:59] local.INFO: IMEI packet received {"connection_id":206008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":206008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:20:00] local.INFO: TCP Data received {"connection_id":206007,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:20:00] local.INFO: Processing buffer {"connection_id":206007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:20:00] local.INFO: IMEI packet received {"connection_id":206007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":206007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:20:00] local.INFO: TCP Data received {"connection_id":206007,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:20:00] local.INFO: Processing buffer {"connection_id":206007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:20:00] local.INFO: Packet analysis {"connection_id":206007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b08"} 
[2026-10-05 13:20:00] local.INFO: Extracted packet for processing {"connection_id":206007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b08"} 
[2026-10-05 13:20:00] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":4,"angle":102,"satellites":42,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543653888001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457375965184,"note":"Value kept but may cause issues"} 
[2026-10-05 13:20:00] 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-10-05 13:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791186449000,"timestamp_ms":1791186449000,"timestamp_seconds":1791186449,"priority":1,"record_length":96,"hex_timestamp":"000001a10b083268"} 
[2026-10-05 13:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 13:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:20: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-10-05 13:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543653888001,"66":26169,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9195013457375965184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543653888001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:20:00] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:20:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457375965184,"description":"Unknown IO ID 45"} 
[2026-10-05 13:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543653888001,"power":26169,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457375965184}} 
[2026-10-05 13:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":206007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:20:01] local.INFO: GPS data processed {"connection_id":206007,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:20:01] local.INFO: Acknowledgment sent {"connection_id":206007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:20:04] local.INFO: TCP Data received {"connection_id":206008,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:20:04] local.INFO: Processing buffer {"connection_id":206008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:20:04] local.INFO: IMEI packet received {"connection_id":206008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":206008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:20:05] local.INFO: TCP Data received {"connection_id":206008,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:20:05] local.INFO: Processing buffer {"connection_id":206008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:20:05] local.INFO: Packet analysis {"connection_id":206008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b09"} 
[2026-10-05 13:20:05] local.INFO: Extracted packet for processing {"connection_id":206008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b09"} 
[2026-10-05 13:20:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543669760001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:20:05] 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-10-05 13:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791186511000,"timestamp_ms":1791186511000,"timestamp_seconds":1791186511,"priority":1,"record_length":96,"hex_timestamp":"000001a10b092498"} 
[2026-10-05 13:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:20: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-10-05 13:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:20: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-10-05 13:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":206008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":206008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":206008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543669760001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543669760001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:20:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:20:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543669760001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":206008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:20:05] local.INFO: GPS data processed {"connection_id":206008,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:20:05] local.INFO: Acknowledgment sent {"connection_id":206008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:20:10] local.INFO: TCP Data received {"connection_id":204461,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:20:10] local.INFO: Processing buffer {"connection_id":204461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:20:10] local.INFO: IMEI packet received {"connection_id":204461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":204461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:20:14] local.INFO: TCP Data received {"connection_id":207552,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:20:14] local.INFO: Processing buffer {"connection_id":207552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:20:14] local.INFO: IMEI packet received {"connection_id":207552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 13:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":207552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:20:15] local.INFO: TCP Data received {"connection_id":204461,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:20:15] local.INFO: Processing buffer {"connection_id":204461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:20:15] local.INFO: IMEI packet received {"connection_id":204461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":204461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:20:16] local.INFO: TCP Data received {"connection_id":204461,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b06b398012d1a8c00071fadb00036013825..."} 
[2026-10-05 13:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b06b398012d1a8c00071fadb00036013825..."} 
[2026-10-05 13:20:16] local.INFO: Processing buffer {"connection_id":204461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b06b398012d1a8c00071fadb00036013825..."} 
[2026-10-05 13:20:16] local.INFO: Packet analysis {"connection_id":204461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b06"} 
[2026-10-05 13:20:16] local.INFO: Extracted packet for processing {"connection_id":204461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b06"} 
[2026-10-05 13:20:16] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516592,"longitude_deg":75.6714496,"latitude_deg":11.9516592,"altitude":54,"angle":312,"satellites":37,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fadb0","is_valid_coordinates":true} 
[2026-10-05 13:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543700480001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25003044739481600,"note":"Value kept but may cause issues"} 
[2026-10-05 13:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066033152,"note":"Value kept but may cause issues"} 
[2026-10-05 13:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791186351000,"timestamp_ms":1791186351000,"timestamp_seconds":1791186351,"priority":1,"record_length":96,"hex_timestamp":"000001a10b06b398"} 
[2026-10-05 13:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-05 13:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:20:16] 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-10-05 13:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543700480001,"66":13135,"101":206,"83":41984,"24":0,"16":25003044739481600,"45":1912974341066033152},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543700480001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:20:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:20:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25003044739481600,"km_value":25003044739481.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066033152,"description":"Unknown IO ID 45"} 
[2026-10-05 13:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543700480001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912974341066033152}} 
[2026-10-05 13:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":204461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:20:16] local.INFO: GPS data processed {"connection_id":204461,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:20:16] local.INFO: Acknowledgment sent {"connection_id":204461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:20:21] local.INFO: TCP Data received {"connection_id":204461,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0705a0012d1a8c00071fadb00036013823..."} 
[2026-10-05 13:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0705a0012d1a8c00071fadb00036013823..."} 
[2026-10-05 13:20:21] local.INFO: Processing buffer {"connection_id":204461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0705a0012d1a8c00071fadb00036013823..."} 
[2026-10-05 13:20:21] local.INFO: Packet analysis {"connection_id":204461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b07"} 
[2026-10-05 13:20:21] local.INFO: Extracted packet for processing {"connection_id":204461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b07"} 
[2026-10-05 13:20:21] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516592,"longitude_deg":75.6714496,"latitude_deg":11.9516592,"altitude":54,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fadb0","is_valid_coordinates":true} 
[2026-10-05 13:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543705856001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25003044739481600,"note":"Value kept but may cause issues"} 
[2026-10-05 13:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321865728,"note":"Value kept but may cause issues"} 
[2026-10-05 13:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791186372000,"timestamp_ms":1791186372000,"timestamp_seconds":1791186372,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0705a0"} 
[2026-10-05 13:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-10-05 13:20:21] 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-10-05 13:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":204461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":204461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":204461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:20:21] 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-10-05 13:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543705856001,"66":13048,"101":206,"83":41984,"24":0,"16":25003044739481600,"45":1912903972321865728},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543705856001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:20:21] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:20:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25003044739481600,"km_value":25003044739481.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321865728,"description":"Unknown IO ID 45"} 
[2026-10-05 13:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543705856001,"power":13048,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321865728}} 
[2026-10-05 13:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":204461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:20:21] local.INFO: GPS data processed {"connection_id":204461,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:20:21] local.INFO: Acknowledgment sent {"connection_id":204461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:20:32] local.INFO: TCP Data received {"connection_id":206007,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:20:32] local.INFO: Processing buffer {"connection_id":206007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:20:32] local.INFO: Packet analysis {"connection_id":206007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b08"} 
[2026-10-05 13:20:32] local.INFO: Extracted packet for processing {"connection_id":206007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b08"} 
[2026-10-05 13:20:32] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":4,"angle":102,"satellites":42,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543653888001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457375965184,"note":"Value kept but may cause issues"} 
[2026-10-05 13:20:32] 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-10-05 13:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791186449000,"timestamp_ms":1791186449000,"timestamp_seconds":1791186449,"priority":1,"record_length":96,"hex_timestamp":"000001a10b083268"} 
[2026-10-05 13:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 13:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543653888001,"66":26169,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9195013457375965184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543653888001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:20:32] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:20:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457375965184,"description":"Unknown IO ID 45"} 
[2026-10-05 13:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543653888001,"power":26169,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457375965184}} 
[2026-10-05 13:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":206007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:20:32] local.INFO: GPS data processed {"connection_id":206007,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:20:32] local.INFO: Acknowledgment sent {"connection_id":206007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:20:37] local.INFO: TCP Data received {"connection_id":206008,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:20:37] local.INFO: Processing buffer {"connection_id":206008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:20:37] local.INFO: Packet analysis {"connection_id":206008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b09"} 
[2026-10-05 13:20:37] local.INFO: Extracted packet for processing {"connection_id":206008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b09"} 
[2026-10-05 13:20:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543669760001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:20:37] 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-10-05 13:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791186511000,"timestamp_ms":1791186511000,"timestamp_seconds":1791186511,"priority":1,"record_length":96,"hex_timestamp":"000001a10b092498"} 
[2026-10-05 13:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:20: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-10-05 13: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-10-05 13:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543669760001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543669760001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:20:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:20:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543669760001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":206008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967510,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:20:37] local.INFO: GPS data processed {"connection_id":206008,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:20:37] local.INFO: Acknowledgment sent {"connection_id":206008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:20:37] local.INFO: TCP Data received {"connection_id":207553,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:20:37] local.INFO: Processing buffer {"connection_id":207553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:20:37] local.INFO: IMEI packet received {"connection_id":207553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 13:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":207553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:20:55] local.INFO: TCP Data received {"connection_id":204462,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:20:55] local.INFO: Processing buffer {"connection_id":204462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:20:55] local.INFO: IMEI packet received {"connection_id":204462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":204462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:20:59] local.INFO: TCP Data received {"connection_id":204596,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:20:59] local.INFO: Processing buffer {"connection_id":204596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:20:59] local.INFO: IMEI packet received {"connection_id":204596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":204596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:21:00] local.INFO: TCP Data received {"connection_id":204462,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:21:00] local.INFO: Processing buffer {"connection_id":204462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:21:00] local.INFO: IMEI packet received {"connection_id":204462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":204462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:21:00] local.INFO: TCP Data received {"connection_id":204462,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:21:00] local.INFO: Processing buffer {"connection_id":204462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:21:00] local.INFO: Packet analysis {"connection_id":204462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b08"} 
[2026-10-05 13:21:00] local.INFO: Extracted packet for processing {"connection_id":204462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b08"} 
[2026-10-05 13:21:00] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":4,"angle":102,"satellites":42,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 13:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543653888001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457375965184,"note":"Value kept but may cause issues"} 
[2026-10-05 13:21:00] 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-10-05 13:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791186449000,"timestamp_ms":1791186449000,"timestamp_seconds":1791186449,"priority":1,"record_length":96,"hex_timestamp":"000001a10b083268"} 
[2026-10-05 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-10-05 13:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 13:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 13:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543653888001,"66":26169,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9195013457375965184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543653888001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:21:00] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:21:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457375965184,"description":"Unknown IO ID 45"} 
[2026-10-05 13:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543653888001,"power":26169,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457375965184}} 
[2026-10-05 13:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":204462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:21:00] local.INFO: GPS data processed {"connection_id":204462,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:21:00] local.INFO: Acknowledgment sent {"connection_id":204462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:21:02] local.INFO: TCP Data received {"connection_id":207554,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:21:02] local.INFO: Processing buffer {"connection_id":207554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:21:02] local.INFO: IMEI packet received {"connection_id":207554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":207554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:21:04] local.INFO: TCP Data received {"connection_id":204596,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:21:04] local.INFO: Processing buffer {"connection_id":204596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:21:04] local.INFO: IMEI packet received {"connection_id":204596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":204596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:21:05] local.INFO: TCP Data received {"connection_id":204596,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:21:05] local.INFO: Processing buffer {"connection_id":204596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:21:05] local.INFO: Packet analysis {"connection_id":204596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b09"} 
[2026-10-05 13:21:05] local.INFO: Extracted packet for processing {"connection_id":204596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b09"} 
[2026-10-05 13:21:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543669760001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:21:05] 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-10-05 13:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791186511000,"timestamp_ms":1791186511000,"timestamp_seconds":1791186511,"priority":1,"record_length":96,"hex_timestamp":"000001a10b092498"} 
[2026-10-05 13:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:21: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-10-05 13: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:21: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-10-05 13: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-10-05 13:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:21: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-10-05 13:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543669760001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543669760001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:21:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:21:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543669760001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:21:05] local.INFO: TCP Data received {"connection_id":207554,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:21:05] local.INFO: Processing buffer {"connection_id":207554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:21:05] local.INFO: IMEI packet received {"connection_id":207554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":207554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":204596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:21:05] local.INFO: GPS data processed {"connection_id":204596,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:21:05] local.INFO: Acknowledgment sent {"connection_id":204596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:21:11] local.INFO: TCP Data received {"connection_id":207554,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:21:11] local.INFO: Processing buffer {"connection_id":207554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:21:11] local.INFO: IMEI packet received {"connection_id":207554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":207554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:21:11] local.INFO: TCP Data received {"connection_id":207554,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0757a8012d1a8c00071fadb00036013827..."} 
[2026-10-05 13:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0757a8012d1a8c00071fadb00036013827..."} 
[2026-10-05 13:21:11] local.INFO: Processing buffer {"connection_id":207554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0757a8012d1a8c00071fadb00036013827..."} 
[2026-10-05 13:21:11] local.INFO: Packet analysis {"connection_id":207554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b07"} 
[2026-10-05 13:21:11] local.INFO: Extracted packet for processing {"connection_id":207554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b07"} 
[2026-10-05 13:21:11] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516592,"longitude_deg":75.6714496,"latitude_deg":11.9516592,"altitude":54,"angle":312,"satellites":39,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fadb0","is_valid_coordinates":true} 
[2026-10-05 13:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543711232001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25003044739481600,"note":"Value kept but may cause issues"} 
[2026-10-05 13:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321865728,"note":"Value kept but may cause issues"} 
[2026-10-05 13:21:11] 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-10-05 13:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791186393000,"timestamp_ms":1791186393000,"timestamp_seconds":1791186393,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0757a8"} 
[2026-10-05 13:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:21:11] 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-10-05 13:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 13:21:11] 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-10-05 13:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:21:11] 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-10-05 13:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543711232001,"66":12982,"101":206,"83":41984,"24":0,"16":25003044739481600,"45":1912903972321865728},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543711232001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:21:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:21:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25003044739481600,"km_value":25003044739481.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321865728,"description":"Unknown IO ID 45"} 
[2026-10-05 13:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543711232001,"power":12982,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321865728}} 
[2026-10-05 13:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":207554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:21:11] local.INFO: GPS data processed {"connection_id":207554,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:21:11] local.INFO: Acknowledgment sent {"connection_id":207554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:21:32] local.INFO: TCP Data received {"connection_id":204462,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:21:32] local.INFO: Processing buffer {"connection_id":204462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:21:32] local.INFO: Packet analysis {"connection_id":204462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b08"} 
[2026-10-05 13:21:32] local.INFO: Extracted packet for processing {"connection_id":204462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b08"} 
[2026-10-05 13:21:32] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":4,"angle":102,"satellites":42,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 13:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543653888001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457375965184,"note":"Value kept but may cause issues"} 
[2026-10-05 13:21:32] 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-10-05 13:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791186449000,"timestamp_ms":1791186449000,"timestamp_seconds":1791186449,"priority":1,"record_length":96,"hex_timestamp":"000001a10b083268"} 
[2026-10-05 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-10-05 13:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 13:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 13:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543653888001,"66":26169,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9195013457375965184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543653888001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:21:32] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:21:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457375965184,"description":"Unknown IO ID 45"} 
[2026-10-05 13:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543653888001,"power":26169,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457375965184}} 
[2026-10-05 13:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":204462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:21:32] local.INFO: GPS data processed {"connection_id":204462,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:21:32] local.INFO: Acknowledgment sent {"connection_id":204462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:21:37] local.INFO: TCP Data received {"connection_id":204596,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:21:37] local.INFO: Processing buffer {"connection_id":204596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:21:37] local.INFO: Packet analysis {"connection_id":204596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b09"} 
[2026-10-05 13:21:37] local.INFO: Extracted packet for processing {"connection_id":204596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b09"} 
[2026-10-05 13:21:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543669760001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:21:37] 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-10-05 13:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791186511000,"timestamp_ms":1791186511000,"timestamp_seconds":1791186511,"priority":1,"record_length":96,"hex_timestamp":"000001a10b092498"} 
[2026-10-05 13:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:21: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-10-05 13:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:21: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-10-05 13:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543669760001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543669760001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:21:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:21:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543669760001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":204596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:21:37] local.INFO: GPS data processed {"connection_id":204596,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:21:37] local.INFO: Acknowledgment sent {"connection_id":204596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:21:42] local.INFO: TCP Data received {"connection_id":207554,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b07a9b0012d1a8c00071fadb00036013827..."} 
[2026-10-05 13:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b07a9b0012d1a8c00071fadb00036013827..."} 
[2026-10-05 13:21:42] local.INFO: Processing buffer {"connection_id":207554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b07a9b0012d1a8c00071fadb00036013827..."} 
[2026-10-05 13:21:42] local.INFO: Packet analysis {"connection_id":207554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b07"} 
[2026-10-05 13:21:42] local.INFO: Extracted packet for processing {"connection_id":207554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b07"} 
[2026-10-05 13:21:42] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516592,"longitude_deg":75.6714496,"latitude_deg":11.9516592,"altitude":54,"angle":312,"satellites":39,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fadb0","is_valid_coordinates":true} 
[2026-10-05 13:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543716608001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25003044739481600,"note":"Value kept but may cause issues"} 
[2026-10-05 13:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321865728,"note":"Value kept but may cause issues"} 
[2026-10-05 13:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791186414000,"timestamp_ms":1791186414000,"timestamp_seconds":1791186414,"priority":1,"record_length":96,"hex_timestamp":"000001a10b07a9b0"} 
[2026-10-05 13:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 13:21:42] 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-10-05 13:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:21:42] 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-10-05 13:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543716608001,"66":12950,"101":206,"83":41984,"24":0,"16":25003044739481600,"45":1912903972321865728},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543716608001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:21:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:21:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25003044739481600,"km_value":25003044739481.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321865728,"description":"Unknown IO ID 45"} 
[2026-10-05 13:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543716608001,"power":12950,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321865728}} 
[2026-10-05 13:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":207554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:21:43] local.INFO: GPS data processed {"connection_id":207554,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:21:43] local.INFO: Acknowledgment sent {"connection_id":207554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:21:55] local.INFO: TCP Data received {"connection_id":206010,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:21:55] local.INFO: Processing buffer {"connection_id":206010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:21:55] local.INFO: IMEI packet received {"connection_id":206010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":206010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:21:59] local.INFO: TCP Data received {"connection_id":204463,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:21:59] local.INFO: Processing buffer {"connection_id":204463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:21:59] local.INFO: IMEI packet received {"connection_id":204463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":204463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:22:00] local.INFO: TCP Data received {"connection_id":206010,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:22:00] local.INFO: Processing buffer {"connection_id":206010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:22:00] local.INFO: IMEI packet received {"connection_id":206010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":206010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:22:01] local.INFO: TCP Data received {"connection_id":206010,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:22:01] local.INFO: Processing buffer {"connection_id":206010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:22:01] local.INFO: Packet analysis {"connection_id":206010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b08"} 
[2026-10-05 13:22:01] local.INFO: Extracted packet for processing {"connection_id":206010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b08"} 
[2026-10-05 13:22:01] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":4,"angle":102,"satellites":42,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543653888001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457375965184,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22: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-10-05 13:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791186449000,"timestamp_ms":1791186449000,"timestamp_seconds":1791186449,"priority":1,"record_length":96,"hex_timestamp":"000001a10b083268"} 
[2026-10-05 13:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 13:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":206010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":206010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":206010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:22: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-10-05 13:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543653888001,"66":26169,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9195013457375965184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543653888001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:22:01] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:22:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457375965184,"description":"Unknown IO ID 45"} 
[2026-10-05 13:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543653888001,"power":26169,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457375965184}} 
[2026-10-05 13:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":206010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:22:01] local.INFO: GPS data processed {"connection_id":206010,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:22:01] local.INFO: Acknowledgment sent {"connection_id":206010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:22:04] local.INFO: TCP Data received {"connection_id":204463,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:22:04] local.INFO: Processing buffer {"connection_id":204463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:22:04] local.INFO: IMEI packet received {"connection_id":204463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":204463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:22:05] local.INFO: TCP Data received {"connection_id":204464,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:22:05] local.INFO: Processing buffer {"connection_id":204464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:22:05] local.INFO: IMEI packet received {"connection_id":204464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":204464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:22:05] local.INFO: TCP Data received {"connection_id":204463,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:22:05] local.INFO: Processing buffer {"connection_id":204463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:22:05] local.INFO: Packet analysis {"connection_id":204463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b09"} 
[2026-10-05 13:22:05] local.INFO: Extracted packet for processing {"connection_id":204463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b09"} 
[2026-10-05 13:22:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543669760001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:05] 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-10-05 13:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791186511000,"timestamp_ms":1791186511000,"timestamp_seconds":1791186511,"priority":1,"record_length":96,"hex_timestamp":"000001a10b092498"} 
[2026-10-05 13:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:22: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-10-05 13: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:22: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-10-05 13: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-10-05 13:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:22:05] 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-10-05 13:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543669760001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543669760001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:22:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:22:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543669760001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":204463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967518,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:22:06] local.INFO: GPS data processed {"connection_id":204463,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:22:06] local.INFO: Acknowledgment sent {"connection_id":204463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:22:06] local.INFO: TCP Data received {"connection_id":204464,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:22:06] local.INFO: Processing buffer {"connection_id":204464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:22:06] local.INFO: IMEI packet received {"connection_id":204464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":204464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:22:10] local.INFO: TCP Data received {"connection_id":204464,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:22:10] local.INFO: Processing buffer {"connection_id":204464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:22:10] local.INFO: IMEI packet received {"connection_id":204464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":204464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:22:11] local.INFO: TCP Data received {"connection_id":204464,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0b3008012d1a8c00071fadb00036013822..."} 
[2026-10-05 13:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0b3008012d1a8c00071fadb00036013822..."} 
[2026-10-05 13:22:11] local.INFO: Processing buffer {"connection_id":204464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0b3008012d1a8c00071fadb00036013822..."} 
[2026-10-05 13:22:11] local.INFO: Packet analysis {"connection_id":204464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0b"} 
[2026-10-05 13:22:11] local.INFO: Extracted packet for processing {"connection_id":204464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0b"} 
[2026-10-05 13:22:11] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516592,"longitude_deg":75.6714496,"latitude_deg":11.9516592,"altitude":54,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fadb0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543775744001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25003044739481600,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321865728,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:11] 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-10-05 13:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791186645000,"timestamp_ms":1791186645000,"timestamp_seconds":1791186645,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0b3008"} 
[2026-10-05 13:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:22:11] 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-10-05 13: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 13:22:11] 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-10-05 13: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-10-05 13:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:22:11] 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-10-05 13:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543775744001,"66":12558,"101":206,"83":41984,"24":0,"16":25003044739481600,"45":1912903972321865728},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543775744001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:22:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:22:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25003044739481600,"km_value":25003044739481.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321865728,"description":"Unknown IO ID 45"} 
[2026-10-05 13:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543775744001,"power":12558,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321865728}} 
[2026-10-05 13:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":204464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:22:11] local.INFO: GPS data processed {"connection_id":204464,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:22:11] local.INFO: Acknowledgment sent {"connection_id":204464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:22:32] local.INFO: TCP Data received {"connection_id":206010,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:22:32] local.INFO: Processing buffer {"connection_id":206010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:22:32] local.INFO: Packet analysis {"connection_id":206010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b08"} 
[2026-10-05 13:22:32] local.INFO: Extracted packet for processing {"connection_id":206010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b08"} 
[2026-10-05 13:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":4,"angle":102,"satellites":42,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543653888001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457375965184,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:32] 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-10-05 13:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791186449000,"timestamp_ms":1791186449000,"timestamp_seconds":1791186449,"priority":1,"record_length":96,"hex_timestamp":"000001a10b083268"} 
[2026-10-05 13:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 13:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543653888001,"66":26169,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9195013457375965184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543653888001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:22:32] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:22:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457375965184,"description":"Unknown IO ID 45"} 
[2026-10-05 13:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543653888001,"power":26169,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457375965184}} 
[2026-10-05 13:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":206010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:22:32] local.INFO: GPS data processed {"connection_id":206010,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:22:32] local.INFO: Acknowledgment sent {"connection_id":206010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:22:37] local.INFO: TCP Data received {"connection_id":204463,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:22:37] local.INFO: Processing buffer {"connection_id":204463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:22:37] local.INFO: Packet analysis {"connection_id":204463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b09"} 
[2026-10-05 13:22:37] local.INFO: Extracted packet for processing {"connection_id":204463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b09"} 
[2026-10-05 13:22:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543669760001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:37] 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-10-05 13:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791186511000,"timestamp_ms":1791186511000,"timestamp_seconds":1791186511,"priority":1,"record_length":96,"hex_timestamp":"000001a10b092498"} 
[2026-10-05 13:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:22: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-10-05 13: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-10-05 13:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:22:37] 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-10-05 13:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543669760001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543669760001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:22:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:22:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543669760001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":204463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:22:37] local.INFO: GPS data processed {"connection_id":204463,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:22:37] local.INFO: Acknowledgment sent {"connection_id":204463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:22:42] local.INFO: TCP Data received {"connection_id":204464,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0b8210012d1a8c00071fadb00036013825..."} 
[2026-10-05 13:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0b8210012d1a8c00071fadb00036013825..."} 
[2026-10-05 13:22:42] local.INFO: Processing buffer {"connection_id":204464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0b8210012d1a8c00071fadb00036013825..."} 
[2026-10-05 13:22:42] local.INFO: Packet analysis {"connection_id":204464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0b"} 
[2026-10-05 13:22:42] local.INFO: Extracted packet for processing {"connection_id":204464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0b"} 
[2026-10-05 13:22:42] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516592,"longitude_deg":75.6714496,"latitude_deg":11.9516592,"altitude":54,"angle":312,"satellites":37,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fadb0","is_valid_coordinates":true} 
[2026-10-05 13:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543781120001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25003044739481600,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321865728,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791186666000,"timestamp_ms":1791186666000,"timestamp_seconds":1791186666,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0b8210"} 
[2026-10-05 13:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:22:42] 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-10-05 13:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-10-05 13:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250064012848639408,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2913992758,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 13:22:42] local.WARNING: Large IO value detected {"io_id":149,"raw_value":3758173466,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:42] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847672,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:42] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3559063552,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:42] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:42] local.WARNING: Large IO value detected {"io_id":72,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:42] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-10-05 13:22:42] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,101,83,24,241,157,16,212,161,222,45,173,54,40,10,66,139,37,57,1,240,123,227,11,31,4,113,205,149,140,176,39,239,49,2,88,7,120,72,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 13:22:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891453271704862720,"timestamp_seconds":3891453271704862.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 13:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:22:42] 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-10-05 13:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543781120001,"66":12504,"101":206,"83":41984,"24":0,"16":25003044739481600,"45":1912903972321865728},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543781120001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:22:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:22:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25003044739481600,"km_value":25003044739481.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321865728,"description":"Unknown IO ID 45"} 
[2026-10-05 13:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543781120001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321865728}} 
[2026-10-05 13:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":204464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:22:42] local.INFO: GPS data processed {"connection_id":204464,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:22:42] local.INFO: Acknowledgment sent {"connection_id":204464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:22:54] local.INFO: TCP Data received {"connection_id":204598,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:22:54] local.INFO: Processing buffer {"connection_id":204598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:22:54] local.INFO: IMEI packet received {"connection_id":204598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":204598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:22:59] local.INFO: TCP Data received {"connection_id":207555,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:22:59] local.INFO: Processing buffer {"connection_id":207555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:22:59] local.INFO: IMEI packet received {"connection_id":207555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":207555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:23:01] local.INFO: TCP Data received {"connection_id":204598,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:23:01] local.INFO: Processing buffer {"connection_id":204598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:23:01] local.INFO: IMEI packet received {"connection_id":204598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":204598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:23:02] local.INFO: TCP Data received {"connection_id":204598,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:23:02] local.INFO: Processing buffer {"connection_id":204598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b083268012d7f9b4005afd4b0000400662a..."} 
[2026-10-05 13:23:02] local.INFO: Packet analysis {"connection_id":204598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b08"} 
[2026-10-05 13:23:02] local.INFO: Extracted packet for processing {"connection_id":204598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b08"} 
[2026-10-05 13:23:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":4,"angle":102,"satellites":42,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543653888001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457375965184,"note":"Value kept but may cause issues"} 
[2026-10-05 13:23: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-10-05 13:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791186449000,"timestamp_ms":1791186449000,"timestamp_seconds":1791186449,"priority":1,"record_length":96,"hex_timestamp":"000001a10b083268"} 
[2026-10-05 13:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 13:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543653888001,"66":26169,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9195013457375965184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543653888001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:23:02] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:23:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457375965184,"description":"Unknown IO ID 45"} 
[2026-10-05 13:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543653888001,"power":26169,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457375965184}} 
[2026-10-05 13:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":204598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:23:02] local.INFO: GPS data processed {"connection_id":204598,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:23:02] local.INFO: Acknowledgment sent {"connection_id":204598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:23:04] local.INFO: TCP Data received {"connection_id":207555,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:23:04] local.INFO: Processing buffer {"connection_id":207555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:23:04] local.INFO: IMEI packet received {"connection_id":207555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":207555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:23:05] local.INFO: TCP Data received {"connection_id":207555,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:23:05] local.INFO: Processing buffer {"connection_id":207555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b092498012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:23:05] local.INFO: Packet analysis {"connection_id":207555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b09"} 
[2026-10-05 13:23:05] local.INFO: Extracted packet for processing {"connection_id":207555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b09"} 
[2026-10-05 13:23:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543669760001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:23:05] 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-10-05 13:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791186511000,"timestamp_ms":1791186511000,"timestamp_seconds":1791186511,"priority":1,"record_length":96,"hex_timestamp":"000001a10b092498"} 
[2026-10-05 13:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:23: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-10-05 13:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:23: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-10-05 13:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:23:05] 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-10-05 13:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543669760001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543669760001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:23:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:23:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543669760001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":207555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:23:05] local.INFO: GPS data processed {"connection_id":207555,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:23:05] local.INFO: Acknowledgment sent {"connection_id":207555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:23:05] local.INFO: TCP Data received {"connection_id":204599,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:23:05] local.INFO: Processing buffer {"connection_id":204599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:23:05] local.INFO: IMEI packet received {"connection_id":204599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":204599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:23:08] local.INFO: TCP Data received {"connection_id":204599,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:23:08] local.INFO: Processing buffer {"connection_id":204599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:23:08] local.INFO: IMEI packet received {"connection_id":204599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":204599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:23:09] local.INFO: TCP Data received {"connection_id":204599,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0bd418012d1a8c00071fadb00036013825..."} 
[2026-10-05 13:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0bd418012d1a8c00071fadb00036013825..."} 
[2026-10-05 13:23:09] local.INFO: Processing buffer {"connection_id":204599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0bd418012d1a8c00071fadb00036013825..."} 
[2026-10-05 13:23:09] local.INFO: Packet analysis {"connection_id":204599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0b"} 
[2026-10-05 13:23:09] local.INFO: Extracted packet for processing {"connection_id":204599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0b"} 
[2026-10-05 13:23:09] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516592,"longitude_deg":75.6714496,"latitude_deg":11.9516592,"altitude":54,"angle":312,"satellites":37,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fadb0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543786496001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25003044739481600,"note":"Value kept but may cause issues"} 
[2026-10-05 13:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321865728,"note":"Value kept but may cause issues"} 
[2026-10-05 13:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791186687000,"timestamp_ms":1791186687000,"timestamp_seconds":1791186687,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0bd418"} 
[2026-10-05 13:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:23: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-10-05 13: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":216,"data_length":795,"current_offset":136} 
[2026-10-05 13:23: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-10-05 13: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-10-05 13:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:23:09] 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-10-05 13:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543786496001,"66":12504,"101":206,"83":41984,"24":0,"16":25003044739481600,"45":1912903972321865728},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543786496001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:23:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:23:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25003044739481600,"km_value":25003044739481.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321865728,"description":"Unknown IO ID 45"} 
[2026-10-05 13:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543786496001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321865728}} 
[2026-10-05 13:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":204599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:23:09] local.INFO: GPS data processed {"connection_id":204599,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:23:09] local.INFO: Acknowledgment sent {"connection_id":204599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:23:33] local.INFO: TCP Data received {"connection_id":204598,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:23:33] local.INFO: Processing buffer {"connection_id":204598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:23:33] local.INFO: Packet analysis {"connection_id":204598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0c"} 
[2026-10-05 13:23:33] local.INFO: Extracted packet for processing {"connection_id":204598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0c"} 
[2026-10-05 13:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":7,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543730944001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457375965184,"note":"Value kept but may cause issues"} 
[2026-10-05 13:23:33] 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-10-05 13:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791186750000,"timestamp_ms":1791186750000,"timestamp_seconds":1791186750,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0cca30"} 
[2026-10-05 13:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:23:33] 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-10-05 13: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-10-05 13:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:23: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-10-05 13:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543730944001,"66":26115,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9195013457375965184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543730944001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:23:33] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:23:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457375965184,"description":"Unknown IO ID 45"} 
[2026-10-05 13:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543730944001,"power":26115,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457375965184}} 
[2026-10-05 13:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":204598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:23:33] local.INFO: GPS data processed {"connection_id":204598,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:23:33] local.INFO: Acknowledgment sent {"connection_id":204598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:23:37] local.INFO: TCP Data received {"connection_id":207555,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:23:37] local.INFO: Processing buffer {"connection_id":207555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:23:37] local.INFO: Packet analysis {"connection_id":207555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0d"} 
[2026-10-05 13:23:37] local.INFO: Extracted packet for processing {"connection_id":207555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0d"} 
[2026-10-05 13:23:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543746816001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:23:37] 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-10-05 13:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791186812000,"timestamp_ms":1791186812000,"timestamp_seconds":1791186812,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0dbc60"} 
[2026-10-05 13:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:23: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-10-05 13: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-10-05 13:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:23:37] 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-10-05 13:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543746816001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543746816001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:23:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:23:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543746816001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":207555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:23:37] local.INFO: GPS data processed {"connection_id":207555,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:23:37] local.INFO: Acknowledgment sent {"connection_id":207555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:23:40] local.INFO: TCP Data received {"connection_id":204599,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0c2620012d1a8c00071fadb0003601381e..."} 
[2026-10-05 13:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0c2620012d1a8c00071fadb0003601381e..."} 
[2026-10-05 13:23:40] local.INFO: Processing buffer {"connection_id":204599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0c2620012d1a8c00071fadb0003601381e..."} 
[2026-10-05 13:23:40] local.INFO: Packet analysis {"connection_id":204599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0c"} 
[2026-10-05 13:23:40] local.INFO: Extracted packet for processing {"connection_id":204599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0c"} 
[2026-10-05 13:23:40] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516592,"longitude_deg":75.6714496,"latitude_deg":11.9516592,"altitude":54,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fadb0","is_valid_coordinates":true} 
[2026-10-05 13:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543791872001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25003044739481600,"note":"Value kept but may cause issues"} 
[2026-10-05 13:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321865728,"note":"Value kept but may cause issues"} 
[2026-10-05 13:23:40] 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-10-05 13:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791186708000,"timestamp_ms":1791186708000,"timestamp_seconds":1791186708,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0c2620"} 
[2026-10-05 13:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:23:40] 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-10-05 13:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 13:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:23:40] 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-10-05 13:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543791872001,"66":12515,"101":206,"83":41984,"24":0,"16":25003044739481600,"45":1912903972321865728},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543791872001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:23:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:23:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25003044739481600,"km_value":25003044739481.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321865728,"description":"Unknown IO ID 45"} 
[2026-10-05 13:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543791872001,"power":12515,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321865728}} 
[2026-10-05 13:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":204599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:23:40] local.INFO: GPS data processed {"connection_id":204599,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:23:40] local.INFO: Acknowledgment sent {"connection_id":204599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:24:00] local.INFO: TCP Data received {"connection_id":204465,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:24:00] local.INFO: Processing buffer {"connection_id":204465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:24:00] local.INFO: IMEI packet received {"connection_id":204465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":204465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:24:04] local.INFO: TCP Data received {"connection_id":204600,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:24:04] local.INFO: Processing buffer {"connection_id":204600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:24:04] local.INFO: IMEI packet received {"connection_id":204600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":204600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:24:05] local.INFO: TCP Data received {"connection_id":204465,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:24:05] local.INFO: Processing buffer {"connection_id":204465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:24:05] local.INFO: IMEI packet received {"connection_id":204465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":204465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:24:05] local.INFO: TCP Data received {"connection_id":204466,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:24:05] local.INFO: Processing buffer {"connection_id":204466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:24:05] local.INFO: IMEI packet received {"connection_id":204466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":204466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:24:06] local.INFO: TCP Data received {"connection_id":204465,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:24:06] local.INFO: Processing buffer {"connection_id":204465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:24:06] local.INFO: Packet analysis {"connection_id":204465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0c"} 
[2026-10-05 13:24:06] local.INFO: Extracted packet for processing {"connection_id":204465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0c"} 
[2026-10-05 13:24:06] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":7,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543730944001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457375965184,"note":"Value kept but may cause issues"} 
[2026-10-05 13:24: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-10-05 13:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791186750000,"timestamp_ms":1791186750000,"timestamp_seconds":1791186750,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0cca30"} 
[2026-10-05 13:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:24:06] 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-10-05 13: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-10-05 13:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543730944001,"66":26115,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9195013457375965184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543730944001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:24:06] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:24:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457375965184,"description":"Unknown IO ID 45"} 
[2026-10-05 13:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543730944001,"power":26115,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457375965184}} 
[2026-10-05 13:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":204465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:24:06] local.INFO: GPS data processed {"connection_id":204465,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:24:06] local.INFO: Acknowledgment sent {"connection_id":204465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:24:09] local.INFO: TCP Data received {"connection_id":204600,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:24:09] local.INFO: Processing buffer {"connection_id":204600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:24:09] local.INFO: IMEI packet received {"connection_id":204600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":204600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:24:10] local.INFO: TCP Data received {"connection_id":204466,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:24:10] local.INFO: Processing buffer {"connection_id":204466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:24:10] local.INFO: IMEI packet received {"connection_id":204466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":204466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:24:10] local.INFO: TCP Data received {"connection_id":204465,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:24:10] local.INFO: Processing buffer {"connection_id":204465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:24:10] local.INFO: Packet analysis {"connection_id":204465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0c"} 
[2026-10-05 13:24:10] local.INFO: Extracted packet for processing {"connection_id":204465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0c"} 
[2026-10-05 13:24:10] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":7,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543730944001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457375965184,"note":"Value kept but may cause issues"} 
[2026-10-05 13:24:10] 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-10-05 13:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791186750000,"timestamp_ms":1791186750000,"timestamp_seconds":1791186750,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0cca30"} 
[2026-10-05 13:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:24:10] 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-10-05 13:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-10-05 13:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543730944001,"66":26115,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9195013457375965184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543730944001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:24:10] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457375965184,"description":"Unknown IO ID 45"} 
[2026-10-05 13:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543730944001,"power":26115,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457375965184}} 
[2026-10-05 13:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":204465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:24:10] local.INFO: GPS data processed {"connection_id":204465,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:24:10] local.INFO: Acknowledgment sent {"connection_id":204465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:24:10] local.INFO: TCP Data received {"connection_id":204600,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:24:10] local.INFO: Processing buffer {"connection_id":204600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:24:10] local.INFO: Packet analysis {"connection_id":204600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0d"} 
[2026-10-05 13:24:10] local.INFO: Extracted packet for processing {"connection_id":204600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0d"} 
[2026-10-05 13:24:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543746816001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:24:10] 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-10-05 13:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791186812000,"timestamp_ms":1791186812000,"timestamp_seconds":1791186812,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0dbc60"} 
[2026-10-05 13:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:24:10] 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-10-05 13:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:24: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-10-05 13:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543746816001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543746816001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:24:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543746816001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":204600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:24:10] local.INFO: GPS data processed {"connection_id":204600,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:24:10] local.INFO: Acknowledgment sent {"connection_id":204600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:24:11] local.INFO: TCP Data received {"connection_id":204466,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0c7828012d1a8c00071fadb00036013825..."} 
[2026-10-05 13:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0c7828012d1a8c00071fadb00036013825..."} 
[2026-10-05 13:24:11] local.INFO: Processing buffer {"connection_id":204466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0c7828012d1a8c00071fadb00036013825..."} 
[2026-10-05 13:24:11] local.INFO: Packet analysis {"connection_id":204466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0c"} 
[2026-10-05 13:24:11] local.INFO: Extracted packet for processing {"connection_id":204466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0c"} 
[2026-10-05 13:24:11] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516592,"longitude_deg":75.6714496,"latitude_deg":11.9516592,"altitude":54,"angle":312,"satellites":37,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fadb0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543797248001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25003044739481600,"note":"Value kept but may cause issues"} 
[2026-10-05 13:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321865728,"note":"Value kept but may cause issues"} 
[2026-10-05 13:24:11] 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-10-05 13:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791186729000,"timestamp_ms":1791186729000,"timestamp_seconds":1791186729,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0c7828"} 
[2026-10-05 13:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:24:11] 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-10-05 13: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-05 13:24:11] 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-10-05 13: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-10-05 13:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:24:11] 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-10-05 13:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543797248001,"66":12504,"101":206,"83":41984,"24":0,"16":25003044739481600,"45":1912903972321865728},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543797248001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:24:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:24:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25003044739481600,"km_value":25003044739481.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321865728,"description":"Unknown IO ID 45"} 
[2026-10-05 13:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543797248001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321865728}} 
[2026-10-05 13:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":204466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:24:11] local.INFO: GPS data processed {"connection_id":204466,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:24:11] local.INFO: Acknowledgment sent {"connection_id":204466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:24:15] local.INFO: TCP Data received {"connection_id":204600,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:24:15] local.INFO: Processing buffer {"connection_id":204600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:24:15] local.INFO: Packet analysis {"connection_id":204600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0d"} 
[2026-10-05 13:24:15] local.INFO: Extracted packet for processing {"connection_id":204600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0d"} 
[2026-10-05 13:24:15] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 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-10-05 13:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543746816001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:24:15] 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-10-05 13:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791186812000,"timestamp_ms":1791186812000,"timestamp_seconds":1791186812,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0dbc60"} 
[2026-10-05 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-10-05 13:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:24:15] 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-10-05 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-10-05 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-10-05 13:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543746816001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543746816001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:24:15] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:24:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543746816001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":204600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967533,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:24:15] local.INFO: GPS data processed {"connection_id":204600,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:24:15] local.INFO: Acknowledgment sent {"connection_id":204600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:24:42] local.INFO: TCP Data received {"connection_id":204466,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0cca30012d1a8c00071fadb00036013825..."} 
[2026-10-05 13:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0cca30012d1a8c00071fadb00036013825..."} 
[2026-10-05 13:24:42] local.INFO: Processing buffer {"connection_id":204466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0cca30012d1a8c00071fadb00036013825..."} 
[2026-10-05 13:24:42] local.INFO: Packet analysis {"connection_id":204466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0c"} 
[2026-10-05 13:24:42] local.INFO: Extracted packet for processing {"connection_id":204466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0c"} 
[2026-10-05 13:24:42] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516592,"longitude_deg":75.6714496,"latitude_deg":11.9516592,"altitude":54,"angle":312,"satellites":37,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fadb0","is_valid_coordinates":true} 
[2026-10-05 13:24: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-10-05 13:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543802624001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25003044739481600,"note":"Value kept but may cause issues"} 
[2026-10-05 13:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321865728,"note":"Value kept but may cause issues"} 
[2026-10-05 13:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791186750000,"timestamp_ms":1791186750000,"timestamp_seconds":1791186750,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0cca30"} 
[2026-10-05 13:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:24:42] 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-10-05 13:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 13:24:42] 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-10-05 13:24: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-10-05 13:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:24:42] 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-10-05 13:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543802624001,"66":11678,"101":206,"83":41984,"24":0,"16":25003044739481600,"45":1912903972321865728},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543802624001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:24:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:24:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25003044739481600,"km_value":25003044739481.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321865728,"description":"Unknown IO ID 45"} 
[2026-10-05 13:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543802624001,"power":11678,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321865728}} 
[2026-10-05 13:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":204466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:24:42] local.INFO: GPS data processed {"connection_id":204466,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:24:42] local.INFO: Acknowledgment sent {"connection_id":204466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:24:55] local.INFO: TCP Data received {"connection_id":204467,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:24:55] local.INFO: Processing buffer {"connection_id":204467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:24:55] local.INFO: IMEI packet received {"connection_id":204467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":204467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:24:59] local.INFO: TCP Data received {"connection_id":204468,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:24:59] local.INFO: Processing buffer {"connection_id":204468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:24:59] local.INFO: IMEI packet received {"connection_id":204468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":204468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:25:00] local.INFO: TCP Data received {"connection_id":204467,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:25:00] local.INFO: Processing buffer {"connection_id":204467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:25:00] local.INFO: IMEI packet received {"connection_id":204467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":204467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:25:01] local.INFO: TCP Data received {"connection_id":204467,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:25:01] local.INFO: Processing buffer {"connection_id":204467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:25:01] local.INFO: Packet analysis {"connection_id":204467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0c"} 
[2026-10-05 13:25:01] local.INFO: Extracted packet for processing {"connection_id":204467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0c"} 
[2026-10-05 13:25:01] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":7,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543730944001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457375965184,"note":"Value kept but may cause issues"} 
[2026-10-05 13:25: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-10-05 13:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791186750000,"timestamp_ms":1791186750000,"timestamp_seconds":1791186750,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0cca30"} 
[2026-10-05 13:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:25:01] 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-10-05 13: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-10-05 13:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:25: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-10-05 13:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543730944001,"66":26115,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9195013457375965184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543730944001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:25:01] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:25:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457375965184,"description":"Unknown IO ID 45"} 
[2026-10-05 13:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543730944001,"power":26115,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457375965184}} 
[2026-10-05 13:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":204467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:25:01] local.INFO: GPS data processed {"connection_id":204467,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:25:01] local.INFO: Acknowledgment sent {"connection_id":204467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:25:04] local.INFO: TCP Data received {"connection_id":204468,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:25:04] local.INFO: Processing buffer {"connection_id":204468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:25:04] local.INFO: IMEI packet received {"connection_id":204468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":204468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:25:05] local.INFO: TCP Data received {"connection_id":206012,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:25:05] local.INFO: Processing buffer {"connection_id":206012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:25:05] local.INFO: IMEI packet received {"connection_id":206012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":206012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:25:05] local.INFO: TCP Data received {"connection_id":204468,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:25:05] local.INFO: Processing buffer {"connection_id":204468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:25:05] local.INFO: Packet analysis {"connection_id":204468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0d"} 
[2026-10-05 13:25:05] local.INFO: Extracted packet for processing {"connection_id":204468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0d"} 
[2026-10-05 13:25:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543746816001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:25:05] 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-10-05 13:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791186812000,"timestamp_ms":1791186812000,"timestamp_seconds":1791186812,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0dbc60"} 
[2026-10-05 13:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:25: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-10-05 13: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:25: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-10-05 13: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-10-05 13:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:25:05] 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-10-05 13:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543746816001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543746816001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:25:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:25:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543746816001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":204468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:25:06] local.INFO: GPS data processed {"connection_id":204468,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:25:06] local.INFO: Acknowledgment sent {"connection_id":204468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:25:10] local.INFO: TCP Data received {"connection_id":206012,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:25:10] local.INFO: Processing buffer {"connection_id":206012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:25:10] local.INFO: IMEI packet received {"connection_id":206012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":206012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:25:11] local.INFO: TCP Data received {"connection_id":206012,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0d1c38012d1a8c00071fadb00036013825..."} 
[2026-10-05 13:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0d1c38012d1a8c00071fadb00036013825..."} 
[2026-10-05 13:25:11] local.INFO: Processing buffer {"connection_id":206012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0d1c38012d1a8c00071fadb00036013825..."} 
[2026-10-05 13:25:11] local.INFO: Packet analysis {"connection_id":206012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0d"} 
[2026-10-05 13:25:11] local.INFO: Extracted packet for processing {"connection_id":206012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0d"} 
[2026-10-05 13:25:11] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516592,"longitude_deg":75.6714496,"latitude_deg":11.9516592,"altitude":54,"angle":312,"satellites":37,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fadb0","is_valid_coordinates":true} 
[2026-10-05 13:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543808000001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25003044739481600,"note":"Value kept but may cause issues"} 
[2026-10-05 13:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321865728,"note":"Value kept but may cause issues"} 
[2026-10-05 13:25:11] 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-10-05 13:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791186771000,"timestamp_ms":1791186771000,"timestamp_seconds":1791186771,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0d1c38"} 
[2026-10-05 13:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:25:11] 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-10-05 13:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-10-05 13:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:25:11] 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-10-05 13:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543808000001,"66":11808,"101":206,"83":41984,"24":0,"16":25003044739481600,"45":1912903972321865728},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543808000001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:25:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:25:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25003044739481600,"km_value":25003044739481.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321865728,"description":"Unknown IO ID 45"} 
[2026-10-05 13:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543808000001,"power":11808,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321865728}} 
[2026-10-05 13:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":206012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:25:11] local.INFO: GPS data processed {"connection_id":206012,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:25:11] local.INFO: Acknowledgment sent {"connection_id":206012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:25:32] local.INFO: TCP Data received {"connection_id":204467,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:25:32] local.INFO: Processing buffer {"connection_id":204467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:25:32] local.INFO: Packet analysis {"connection_id":204467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0c"} 
[2026-10-05 13:25:32] local.INFO: Extracted packet for processing {"connection_id":204467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0c"} 
[2026-10-05 13:25:32] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":7,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543730944001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457375965184,"note":"Value kept but may cause issues"} 
[2026-10-05 13:25:32] 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-10-05 13:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791186750000,"timestamp_ms":1791186750000,"timestamp_seconds":1791186750,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0cca30"} 
[2026-10-05 13:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:25:32] 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-10-05 13: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-10-05 13:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543730944001,"66":26115,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9195013457375965184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543730944001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:25:32] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:25:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457375965184,"description":"Unknown IO ID 45"} 
[2026-10-05 13:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543730944001,"power":26115,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457375965184}} 
[2026-10-05 13:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":204467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:25:32] local.INFO: GPS data processed {"connection_id":204467,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:25:32] local.INFO: Acknowledgment sent {"connection_id":204467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:25:37] local.INFO: TCP Data received {"connection_id":204468,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:25:37] local.INFO: Processing buffer {"connection_id":204468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:25:37] local.INFO: Packet analysis {"connection_id":204468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0d"} 
[2026-10-05 13:25:37] local.INFO: Extracted packet for processing {"connection_id":204468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0d"} 
[2026-10-05 13:25:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543746816001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:25:37] 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-10-05 13:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791186812000,"timestamp_ms":1791186812000,"timestamp_seconds":1791186812,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0dbc60"} 
[2026-10-05 13:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:25: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-10-05 13:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:25: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-10-05 13:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543746816001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543746816001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:25:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:25:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543746816001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":204468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:25:37] local.INFO: GPS data processed {"connection_id":204468,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:25:37] local.INFO: Acknowledgment sent {"connection_id":204468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:25:42] local.INFO: TCP Data received {"connection_id":206012,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0d6e40012d1a8c00071fadb00036013827..."} 
[2026-10-05 13:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0d6e40012d1a8c00071fadb00036013827..."} 
[2026-10-05 13:25:42] local.INFO: Processing buffer {"connection_id":206012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0d6e40012d1a8c00071fadb00036013827..."} 
[2026-10-05 13:25:42] local.INFO: Packet analysis {"connection_id":206012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0d"} 
[2026-10-05 13:25:42] local.INFO: Extracted packet for processing {"connection_id":206012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0d"} 
[2026-10-05 13:25:42] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516592,"longitude_deg":75.6714496,"latitude_deg":11.9516592,"altitude":54,"angle":312,"satellites":39,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fadb0","is_valid_coordinates":true} 
[2026-10-05 13:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543813376001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25003044739481600,"note":"Value kept but may cause issues"} 
[2026-10-05 13:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321865728,"note":"Value kept but may cause issues"} 
[2026-10-05 13:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791186792000,"timestamp_ms":1791186792000,"timestamp_seconds":1791186792,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0d6e40"} 
[2026-10-05 13:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:25:42] 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-10-05 13:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-10-05 13:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":716,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:25:42] 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-10-05 13:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543813376001,"66":12428,"101":206,"83":41984,"24":0,"16":25003044739481600,"45":1912903972321865728},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543813376001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:25:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:25:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25003044739481600,"km_value":25003044739481.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321865728,"description":"Unknown IO ID 45"} 
[2026-10-05 13:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543813376001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321865728}} 
[2026-10-05 13:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":206012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:25:42] local.INFO: GPS data processed {"connection_id":206012,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:25:42] local.INFO: Acknowledgment sent {"connection_id":206012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:25:55] local.INFO: TCP Data received {"connection_id":204601,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:25:55] local.INFO: Processing buffer {"connection_id":204601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:25:55] local.INFO: IMEI packet received {"connection_id":204601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":204601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:26:00] local.INFO: TCP Data received {"connection_id":204601,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:26:00] local.INFO: Processing buffer {"connection_id":204601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:26:00] local.INFO: IMEI packet received {"connection_id":204601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":204601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:26:00] local.INFO: TCP Data received {"connection_id":207558,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207558,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:26:00] local.INFO: Processing buffer {"connection_id":207558,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:26:00] local.INFO: IMEI packet received {"connection_id":207558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":207558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:26:01] local.INFO: TCP Data received {"connection_id":204601,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:26:01] local.INFO: Processing buffer {"connection_id":204601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:26:01] local.INFO: Packet analysis {"connection_id":204601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0c"} 
[2026-10-05 13:26:01] local.INFO: Extracted packet for processing {"connection_id":204601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0c"} 
[2026-10-05 13:26:01] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":7,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543730944001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457375965184,"note":"Value kept but may cause issues"} 
[2026-10-05 13:26: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-10-05 13:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791186750000,"timestamp_ms":1791186750000,"timestamp_seconds":1791186750,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0cca30"} 
[2026-10-05 13:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:26:01] 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-10-05 13:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-10-05 13:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:26: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-10-05 13:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543730944001,"66":26115,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9195013457375965184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543730944001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:26:01] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:26:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457375965184,"description":"Unknown IO ID 45"} 
[2026-10-05 13:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543730944001,"power":26115,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457375965184}} 
[2026-10-05 13:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":204601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:26:01] local.INFO: GPS data processed {"connection_id":204601,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:26:01] local.INFO: Acknowledgment sent {"connection_id":204601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:26:04] local.INFO: TCP Data received {"connection_id":207558,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207558,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:26:04] local.INFO: Processing buffer {"connection_id":207558,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:26:04] local.INFO: IMEI packet received {"connection_id":207558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":207558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:26:05] local.INFO: TCP Data received {"connection_id":207558,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:26:05] local.INFO: Processing buffer {"connection_id":207558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:26:05] local.INFO: Packet analysis {"connection_id":207558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0d"} 
[2026-10-05 13:26:05] local.INFO: Extracted packet for processing {"connection_id":207558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0d"} 
[2026-10-05 13:26:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543746816001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:26:05] 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-10-05 13:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791186812000,"timestamp_ms":1791186812000,"timestamp_seconds":1791186812,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0dbc60"} 
[2026-10-05 13:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:26: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-10-05 13:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:26: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-10-05 13:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543746816001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543746816001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:26:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:26:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543746816001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":207558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:26:05] local.INFO: GPS data processed {"connection_id":207558,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:26:05] local.INFO: Acknowledgment sent {"connection_id":207558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:26:10] local.INFO: TCP Data received {"connection_id":206014,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:26:10] local.INFO: Processing buffer {"connection_id":206014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:26:10] local.INFO: IMEI packet received {"connection_id":206014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":206014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:26:14] local.INFO: TCP Data received {"connection_id":206013,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206013,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:26:14] local.INFO: Processing buffer {"connection_id":206013,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:26:14] local.INFO: IMEI packet received {"connection_id":206013,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 13:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":206013,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:26:15] local.INFO: TCP Data received {"connection_id":206014,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:26:15] local.INFO: Processing buffer {"connection_id":206014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:26:15] local.INFO: IMEI packet received {"connection_id":206014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":206014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:26:16] local.INFO: TCP Data received {"connection_id":206014,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0dc048012d1a8c00071fadb00036013828..."} 
[2026-10-05 13:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0dc048012d1a8c00071fadb00036013828..."} 
[2026-10-05 13:26:16] local.INFO: Processing buffer {"connection_id":206014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0dc048012d1a8c00071fadb00036013828..."} 
[2026-10-05 13:26:16] local.INFO: Packet analysis {"connection_id":206014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0d"} 
[2026-10-05 13:26:16] local.INFO: Extracted packet for processing {"connection_id":206014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0d"} 
[2026-10-05 13:26:16] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516592,"longitude_deg":75.6714496,"latitude_deg":11.9516592,"altitude":54,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fadb0","is_valid_coordinates":true} 
[2026-10-05 13:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543818752001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25003044739481600,"note":"Value kept but may cause issues"} 
[2026-10-05 13:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321865728,"note":"Value kept but may cause issues"} 
[2026-10-05 13:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791186813000,"timestamp_ms":1791186813000,"timestamp_seconds":1791186813,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0dc048"} 
[2026-10-05 13:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-05 13:26:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:26:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":206014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":206014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":206014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:26:16] 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-10-05 13:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543818752001,"66":12406,"101":206,"83":41984,"24":0,"16":25003044739481600,"45":1912903972321865728},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543818752001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:26:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:26:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25003044739481600,"km_value":25003044739481.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321865728,"description":"Unknown IO ID 45"} 
[2026-10-05 13:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543818752001,"power":12406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321865728}} 
[2026-10-05 13:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":206014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:26:16] local.INFO: GPS data processed {"connection_id":206014,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:26:16] local.INFO: Acknowledgment sent {"connection_id":206014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:26:17] local.INFO: TCP Data received {"connection_id":206014,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0e1250012d1a8c00071fadb00036013825..."} 
[2026-10-05 13:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0e1250012d1a8c00071fadb00036013825..."} 
[2026-10-05 13:26:17] local.INFO: Processing buffer {"connection_id":206014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0e1250012d1a8c00071fadb00036013825..."} 
[2026-10-05 13:26:17] local.INFO: Packet analysis {"connection_id":206014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0e"} 
[2026-10-05 13:26:17] local.INFO: Extracted packet for processing {"connection_id":206014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0e"} 
[2026-10-05 13:26:17] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516592,"longitude_deg":75.6714496,"latitude_deg":11.9516592,"altitude":54,"angle":312,"satellites":37,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fadb0","is_valid_coordinates":true} 
[2026-10-05 13:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543824128001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25003044739481600,"note":"Value kept but may cause issues"} 
[2026-10-05 13:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321865728,"note":"Value kept but may cause issues"} 
[2026-10-05 13:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791186834000,"timestamp_ms":1791186834000,"timestamp_seconds":1791186834,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0e1250"} 
[2026-10-05 13:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 13:26:17] 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-10-05 13:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":206014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":206014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":206014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:26:17] 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-10-05 13:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543824128001,"66":12428,"101":206,"83":41984,"24":0,"16":25003044739481600,"45":1912903972321865728},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543824128001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:26:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:26:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25003044739481600,"km_value":25003044739481.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321865728,"description":"Unknown IO ID 45"} 
[2026-10-05 13:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543824128001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321865728}} 
[2026-10-05 13:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":206014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:26:17] local.INFO: GPS data processed {"connection_id":206014,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:26:17] local.INFO: Acknowledgment sent {"connection_id":206014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:26:32] local.INFO: TCP Data received {"connection_id":204601,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:26:32] local.INFO: Processing buffer {"connection_id":204601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:26:32] local.INFO: Packet analysis {"connection_id":204601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0c"} 
[2026-10-05 13:26:32] local.INFO: Extracted packet for processing {"connection_id":204601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0c"} 
[2026-10-05 13:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":7,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13:26: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-10-05 13:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543730944001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457375965184,"note":"Value kept but may cause issues"} 
[2026-10-05 13:26:32] 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-10-05 13:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791186750000,"timestamp_ms":1791186750000,"timestamp_seconds":1791186750,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0cca30"} 
[2026-10-05 13:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:26:32] 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-10-05 13:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-10-05 13:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:26: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-10-05 13:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543730944001,"66":26115,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9195013457375965184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543730944001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:26:32] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:26:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457375965184,"description":"Unknown IO ID 45"} 
[2026-10-05 13:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543730944001,"power":26115,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457375965184}} 
[2026-10-05 13:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":204601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:26:32] local.INFO: GPS data processed {"connection_id":204601,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:26:32] local.INFO: Acknowledgment sent {"connection_id":204601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:26:34] local.INFO: TCP Data received {"connection_id":207559,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:26:34] local.INFO: Processing buffer {"connection_id":207559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:26:34] local.INFO: IMEI packet received {"connection_id":207559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 13:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":207559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:26:36] local.INFO: TCP Data received {"connection_id":207558,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:26:36] local.INFO: Processing buffer {"connection_id":207558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:26:36] local.INFO: Packet analysis {"connection_id":207558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0d"} 
[2026-10-05 13:26:36] local.INFO: Extracted packet for processing {"connection_id":207558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0d"} 
[2026-10-05 13:26:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543746816001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:26:36] 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-10-05 13:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791186812000,"timestamp_ms":1791186812000,"timestamp_seconds":1791186812,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0dbc60"} 
[2026-10-05 13:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:26:36] 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-10-05 13: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-10-05 13:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543746816001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543746816001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:26:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:26:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543746816001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":207558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:26:36] local.INFO: GPS data processed {"connection_id":207558,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:26:36] local.INFO: Acknowledgment sent {"connection_id":207558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:26:48] local.INFO: TCP Data received {"connection_id":206014,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0e6458012d1a8c00071fadb00036013824..."} 
[2026-10-05 13:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0e6458012d1a8c00071fadb00036013824..."} 
[2026-10-05 13:26:48] local.INFO: Processing buffer {"connection_id":206014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0e6458012d1a8c00071fadb00036013824..."} 
[2026-10-05 13:26:48] local.INFO: Packet analysis {"connection_id":206014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0e"} 
[2026-10-05 13:26:48] local.INFO: Extracted packet for processing {"connection_id":206014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0e"} 
[2026-10-05 13:26:48] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516592,"longitude_deg":75.6714496,"latitude_deg":11.9516592,"altitude":54,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fadb0","is_valid_coordinates":true} 
[2026-10-05 13:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543829504001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25003044739481600,"note":"Value kept but may cause issues"} 
[2026-10-05 13:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321865728,"note":"Value kept but may cause issues"} 
[2026-10-05 13:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791186855000,"timestamp_ms":1791186855000,"timestamp_seconds":1791186855,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0e6458"} 
[2026-10-05 13:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-05 13:26:48] 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-10-05 13:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":206014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":206014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":206014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:26:48] 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-10-05 13:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543829504001,"66":12374,"101":206,"83":41984,"24":0,"16":25003044739481600,"45":1912903972321865728},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543829504001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:26:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:26:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25003044739481600,"km_value":25003044739481.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321865728,"description":"Unknown IO ID 45"} 
[2026-10-05 13:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543829504001,"power":12374,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321865728}} 
[2026-10-05 13:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":206014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:26:48] local.INFO: GPS data processed {"connection_id":206014,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:26:48] local.INFO: Acknowledgment sent {"connection_id":206014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:26:55] local.INFO: TCP Data received {"connection_id":204469,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:26:55] local.INFO: Processing buffer {"connection_id":204469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:26:55] local.INFO: IMEI packet received {"connection_id":204469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":204469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:26:59] local.INFO: TCP Data received {"connection_id":204602,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:26:59] local.INFO: Processing buffer {"connection_id":204602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:26:59] local.INFO: IMEI packet received {"connection_id":204602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":204602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:27:00] local.INFO: TCP Data received {"connection_id":204469,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:27:00] local.INFO: Processing buffer {"connection_id":204469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:27:00] local.INFO: IMEI packet received {"connection_id":204469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":204469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:27:01] local.INFO: TCP Data received {"connection_id":204469,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:27:01] local.INFO: Processing buffer {"connection_id":204469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:27:01] local.INFO: Packet analysis {"connection_id":204469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0c"} 
[2026-10-05 13:27:01] local.INFO: Extracted packet for processing {"connection_id":204469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0c"} 
[2026-10-05 13:27:01] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":7,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543730944001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457375965184,"note":"Value kept but may cause issues"} 
[2026-10-05 13:27: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-10-05 13:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791186750000,"timestamp_ms":1791186750000,"timestamp_seconds":1791186750,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0cca30"} 
[2026-10-05 13:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:27:01] 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-10-05 13: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-10-05 13:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:27: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-10-05 13:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543730944001,"66":26115,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9195013457375965184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543730944001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:27:01] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:27:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457375965184,"description":"Unknown IO ID 45"} 
[2026-10-05 13:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543730944001,"power":26115,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457375965184}} 
[2026-10-05 13:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":204469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:27:01] local.INFO: GPS data processed {"connection_id":204469,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:27:01] local.INFO: Acknowledgment sent {"connection_id":204469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:27:04] local.INFO: TCP Data received {"connection_id":204602,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:27:04] local.INFO: Processing buffer {"connection_id":204602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:27:04] local.INFO: IMEI packet received {"connection_id":204602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":204602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:27:05] local.INFO: TCP Data received {"connection_id":204470,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:27:05] local.INFO: Processing buffer {"connection_id":204470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:27:05] local.INFO: IMEI packet received {"connection_id":204470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":204470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:27:06] local.INFO: TCP Data received {"connection_id":204602,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:27:06] local.INFO: Processing buffer {"connection_id":204602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:27:06] local.INFO: Packet analysis {"connection_id":204602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0d"} 
[2026-10-05 13:27:06] local.INFO: Extracted packet for processing {"connection_id":204602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0d"} 
[2026-10-05 13:27:06] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543746816001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:27:06] 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-10-05 13:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791186812000,"timestamp_ms":1791186812000,"timestamp_seconds":1791186812,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0dbc60"} 
[2026-10-05 13:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:27: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-10-05 13: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:27: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-10-05 13: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-10-05 13:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543746816001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543746816001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:27:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:27:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543746816001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":204602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:27:06] local.INFO: GPS data processed {"connection_id":204602,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:27:06] local.INFO: Acknowledgment sent {"connection_id":204602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:27:10] local.INFO: TCP Data received {"connection_id":204470,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:27:10] local.INFO: Processing buffer {"connection_id":204470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:27:10] local.INFO: IMEI packet received {"connection_id":204470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":204470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:27:11] local.INFO: TCP Data received {"connection_id":204470,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0eb660012d1a8c00071fadb00036013827..."} 
[2026-10-05 13:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0eb660012d1a8c00071fadb00036013827..."} 
[2026-10-05 13:27:11] local.INFO: Processing buffer {"connection_id":204470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0eb660012d1a8c00071fadb00036013827..."} 
[2026-10-05 13:27:11] local.INFO: Packet analysis {"connection_id":204470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0e"} 
[2026-10-05 13:27:11] local.INFO: Extracted packet for processing {"connection_id":204470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0e"} 
[2026-10-05 13:27:11] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516592,"longitude_deg":75.6714496,"latitude_deg":11.9516592,"altitude":54,"angle":312,"satellites":39,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fadb0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543834880001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25003044739481600,"note":"Value kept but may cause issues"} 
[2026-10-05 13:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321865728,"note":"Value kept but may cause issues"} 
[2026-10-05 13:27:11] 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-10-05 13:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791186876000,"timestamp_ms":1791186876000,"timestamp_seconds":1791186876,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0eb660"} 
[2026-10-05 13:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:27:11] 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-10-05 13: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-05 13:27:11] 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-10-05 13: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-10-05 13:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:27:11] 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-10-05 13:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543834880001,"66":12406,"101":206,"83":41984,"24":0,"16":25003044739481600,"45":1912903972321865728},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543834880001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:27:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:27:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25003044739481600,"km_value":25003044739481.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321865728,"description":"Unknown IO ID 45"} 
[2026-10-05 13:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543834880001,"power":12406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321865728}} 
[2026-10-05 13:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":204470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:27:11] local.INFO: GPS data processed {"connection_id":204470,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:27:11] local.INFO: Acknowledgment sent {"connection_id":204470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:27:16] local.INFO: TCP Data received {"connection_id":204470,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0f0868012d1a8c00071fadb00036013828..."} 
[2026-10-05 13:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0f0868012d1a8c00071fadb00036013828..."} 
[2026-10-05 13:27:16] local.INFO: Processing buffer {"connection_id":204470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0f0868012d1a8c00071fadb00036013828..."} 
[2026-10-05 13:27:16] local.INFO: Packet analysis {"connection_id":204470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0f"} 
[2026-10-05 13:27:16] local.INFO: Extracted packet for processing {"connection_id":204470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0f"} 
[2026-10-05 13:27:16] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516592,"longitude_deg":75.6714496,"latitude_deg":11.9516592,"altitude":54,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fadb0","is_valid_coordinates":true} 
[2026-10-05 13:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543840256001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25003044739481600,"note":"Value kept but may cause issues"} 
[2026-10-05 13:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321865728,"note":"Value kept but may cause issues"} 
[2026-10-05 13:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791186897000,"timestamp_ms":1791186897000,"timestamp_seconds":1791186897,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0f0868"} 
[2026-10-05 13:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 13:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:27:16] 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-10-05 13:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543840256001,"66":12406,"101":206,"83":41984,"24":0,"16":25003044739481600,"45":1912903972321865728},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543840256001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:27:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:27:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25003044739481600,"km_value":25003044739481.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321865728,"description":"Unknown IO ID 45"} 
[2026-10-05 13:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543840256001,"power":12406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321865728}} 
[2026-10-05 13:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":204470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:27:16] local.INFO: GPS data processed {"connection_id":204470,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:27:16] local.INFO: Acknowledgment sent {"connection_id":204470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:27:32] local.INFO: TCP Data received {"connection_id":204469,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:27:32] local.INFO: Processing buffer {"connection_id":204469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:27:32] local.INFO: Packet analysis {"connection_id":204469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0c"} 
[2026-10-05 13:27:32] local.INFO: Extracted packet for processing {"connection_id":204469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0c"} 
[2026-10-05 13:27:32] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":7,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543730944001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457375965184,"note":"Value kept but may cause issues"} 
[2026-10-05 13:27:32] 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-10-05 13:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791186750000,"timestamp_ms":1791186750000,"timestamp_seconds":1791186750,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0cca30"} 
[2026-10-05 13:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:27:32] 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-10-05 13:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-10-05 13:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543730944001,"66":26115,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9195013457375965184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543730944001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:27:32] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:27:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457375965184,"description":"Unknown IO ID 45"} 
[2026-10-05 13:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543730944001,"power":26115,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457375965184}} 
[2026-10-05 13:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":204469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:27:32] local.INFO: GPS data processed {"connection_id":204469,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:27:32] local.INFO: Acknowledgment sent {"connection_id":204469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:27:37] local.INFO: TCP Data received {"connection_id":204602,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:27:37] local.INFO: Processing buffer {"connection_id":204602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:27:37] local.INFO: Packet analysis {"connection_id":204602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0d"} 
[2026-10-05 13:27:37] local.INFO: Extracted packet for processing {"connection_id":204602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0d"} 
[2026-10-05 13:27:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543746816001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:27:37] 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-10-05 13:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791186812000,"timestamp_ms":1791186812000,"timestamp_seconds":1791186812,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0dbc60"} 
[2026-10-05 13:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:27: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-10-05 13:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543746816001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543746816001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:27:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:27:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543746816001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":204602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:27:37] local.INFO: GPS data processed {"connection_id":204602,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:27:37] local.INFO: Acknowledgment sent {"connection_id":204602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:27:47] local.INFO: TCP Data received {"connection_id":204470,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0f5a70012d1a8c00071fadb00036013826..."} 
[2026-10-05 13:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0f5a70012d1a8c00071fadb00036013826..."} 
[2026-10-05 13:27:47] local.INFO: Processing buffer {"connection_id":204470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0f5a70012d1a8c00071fadb00036013826..."} 
[2026-10-05 13:27:47] local.INFO: Packet analysis {"connection_id":204470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0f"} 
[2026-10-05 13:27:47] local.INFO: Extracted packet for processing {"connection_id":204470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0f"} 
[2026-10-05 13:27:47] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516592,"longitude_deg":75.6714496,"latitude_deg":11.9516592,"altitude":54,"angle":312,"satellites":38,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fadb0","is_valid_coordinates":true} 
[2026-10-05 13:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543845632001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25003044739481600,"note":"Value kept but may cause issues"} 
[2026-10-05 13:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321865728,"note":"Value kept but may cause issues"} 
[2026-10-05 13:27: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-10-05 13:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791186918000,"timestamp_ms":1791186918000,"timestamp_seconds":1791186918,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0f5a70"} 
[2026-10-05 13:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 13:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":204470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":204470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":204470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:27:47] 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-10-05 13:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543845632001,"66":12385,"101":206,"83":41984,"24":0,"16":25003044739481600,"45":1912903972321865728},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543845632001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:27:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:27:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25003044739481600,"km_value":25003044739481.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321865728,"description":"Unknown IO ID 45"} 
[2026-10-05 13:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543845632001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321865728}} 
[2026-10-05 13:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":204470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:27:47] local.INFO: GPS data processed {"connection_id":204470,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:27:47] local.INFO: Acknowledgment sent {"connection_id":204470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:27:54] local.INFO: TCP Data received {"connection_id":206015,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:27:54] local.INFO: Processing buffer {"connection_id":206015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:27:54] local.INFO: IMEI packet received {"connection_id":206015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":206015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:27:59] local.INFO: TCP Data received {"connection_id":206016,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:27:59] local.INFO: Processing buffer {"connection_id":206016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:27:59] local.INFO: IMEI packet received {"connection_id":206016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":206016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:28:00] local.INFO: TCP Data received {"connection_id":206015,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:28:00] local.INFO: Processing buffer {"connection_id":206015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:28:00] local.INFO: IMEI packet received {"connection_id":206015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":206015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:28:01] local.INFO: TCP Data received {"connection_id":206015,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:28:01] local.INFO: Processing buffer {"connection_id":206015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0cca30012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:28:01] local.INFO: Packet analysis {"connection_id":206015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0c"} 
[2026-10-05 13:28:01] local.INFO: Extracted packet for processing {"connection_id":206015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0c"} 
[2026-10-05 13:28:01] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":7,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543730944001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457375965184,"note":"Value kept but may cause issues"} 
[2026-10-05 13:28: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-10-05 13:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791186750000,"timestamp_ms":1791186750000,"timestamp_seconds":1791186750,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0cca30"} 
[2026-10-05 13:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:28:01] 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-10-05 13:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-10-05 13:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":206015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":206015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":206015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:28: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-10-05 13:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543730944001,"66":26115,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9195013457375965184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543730944001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:28:01] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:28:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457375965184,"description":"Unknown IO ID 45"} 
[2026-10-05 13:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543730944001,"power":26115,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457375965184}} 
[2026-10-05 13:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":206015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:28:01] local.INFO: GPS data processed {"connection_id":206015,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:28:01] local.INFO: Acknowledgment sent {"connection_id":206015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:28:01] local.INFO: TCP Data received {"connection_id":204603,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:28:01] local.INFO: Processing buffer {"connection_id":204603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:28:01] local.INFO: IMEI packet received {"connection_id":204603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":204603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:28:04] local.INFO: TCP Data received {"connection_id":206016,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:28:04] local.INFO: Processing buffer {"connection_id":206016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:28:04] local.INFO: IMEI packet received {"connection_id":206016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":206016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:28:05] local.INFO: TCP Data received {"connection_id":206016,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:28:05] local.INFO: Processing buffer {"connection_id":206016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0dbc60012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:28:05] local.INFO: Packet analysis {"connection_id":206016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0d"} 
[2026-10-05 13:28:05] local.INFO: Extracted packet for processing {"connection_id":206016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0d"} 
[2026-10-05 13:28:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543746816001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:28:05] 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-10-05 13:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791186812000,"timestamp_ms":1791186812000,"timestamp_seconds":1791186812,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0dbc60"} 
[2026-10-05 13:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:28: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-10-05 13:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:28: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-10-05 13:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":206016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":206016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":206016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543746816001,"66":12765,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543746816001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:28:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:28:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543746816001,"power":12765,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":206016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:28:05] local.INFO: GPS data processed {"connection_id":206016,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:28:05] local.INFO: Acknowledgment sent {"connection_id":206016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:28:05] local.INFO: TCP Data received {"connection_id":204603,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:28:05] local.INFO: Processing buffer {"connection_id":204603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:28:05] local.INFO: IMEI packet received {"connection_id":204603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":204603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:28:09] local.INFO: TCP Data received {"connection_id":204603,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:28:09] local.INFO: Processing buffer {"connection_id":204603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:28:09] local.INFO: IMEI packet received {"connection_id":204603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":204603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:28:10] local.INFO: TCP Data received {"connection_id":204603,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b0fac78012d1a8c00071fadb00036013825..."} 
[2026-10-05 13:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b0fac78012d1a8c00071fadb00036013825..."} 
[2026-10-05 13:28:10] local.INFO: Processing buffer {"connection_id":204603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b0fac78012d1a8c00071fadb00036013825..."} 
[2026-10-05 13:28:10] local.INFO: Packet analysis {"connection_id":204603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b0f"} 
[2026-10-05 13:28:10] local.INFO: Extracted packet for processing {"connection_id":204603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b0f"} 
[2026-10-05 13:28:10] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516592,"longitude_deg":75.6714496,"latitude_deg":11.9516592,"altitude":54,"angle":312,"satellites":37,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fadb0","is_valid_coordinates":true} 
[2026-10-05 13:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543851008001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25003044739481600,"note":"Value kept but may cause issues"} 
[2026-10-05 13:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321865728,"note":"Value kept but may cause issues"} 
[2026-10-05 13:28:10] 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-10-05 13:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791186939000,"timestamp_ms":1791186939000,"timestamp_seconds":1791186939,"priority":1,"record_length":96,"hex_timestamp":"000001a10b0fac78"} 
[2026-10-05 13:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:28:10] 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-10-05 13:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 13:28:10] 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-10-05 13:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:28:10] 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-10-05 13:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543851008001,"66":12341,"101":206,"83":41984,"24":0,"16":25003044739481600,"45":1912903972321865728},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543851008001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:28:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:28:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25003044739481600,"km_value":25003044739481.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321865728,"description":"Unknown IO ID 45"} 
[2026-10-05 13:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543851008001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321865728}} 
[2026-10-05 13:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":204603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:28:10] local.INFO: GPS data processed {"connection_id":204603,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:28:10] local.INFO: Acknowledgment sent {"connection_id":204603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:28:31] local.INFO: TCP Data received {"connection_id":206015,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1161f8012d7f9b4005afd4b00006006628..."} 
[2026-10-05 13:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1161f8012d7f9b4005afd4b00006006628..."} 
[2026-10-05 13:28:31] local.INFO: Processing buffer {"connection_id":206015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1161f8012d7f9b4005afd4b00006006628..."} 
[2026-10-05 13:28:31] local.INFO: Packet analysis {"connection_id":206015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b11"} 
[2026-10-05 13:28:31] local.INFO: Extracted packet for processing {"connection_id":206015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b11"} 
[2026-10-05 13:28:31] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":6,"angle":102,"satellites":40,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543808000001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457375965184,"note":"Value kept but may cause issues"} 
[2026-10-05 13:28:31] 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-10-05 13:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791187051000,"timestamp_ms":1791187051000,"timestamp_seconds":1791187051,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1161f8"} 
[2026-10-05 13:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:28:31] 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-10-05 13: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 13:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543808000001,"66":26115,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9195013457375965184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543808000001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:28:32] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:28:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457375965184,"description":"Unknown IO ID 45"} 
[2026-10-05 13:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543808000001,"power":26115,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457375965184}} 
[2026-10-05 13:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":206015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:28:32] local.INFO: GPS data processed {"connection_id":206015,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:28:32] local.INFO: Acknowledgment sent {"connection_id":206015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:28:36] local.INFO: TCP Data received {"connection_id":206016,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:28:36] local.INFO: Processing buffer {"connection_id":206016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:28:36] local.INFO: Packet analysis {"connection_id":206016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:28:36] local.INFO: Extracted packet for processing {"connection_id":206016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:28:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543823872001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:28:36] 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-10-05 13:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791187113000,"timestamp_ms":1791187113000,"timestamp_seconds":1791187113,"priority":1,"record_length":96,"hex_timestamp":"000001a10b125428"} 
[2026-10-05 13:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:28:36] 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-10-05 13:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543823872001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543823872001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:28:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:28:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543823872001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":206016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:28:36] local.INFO: GPS data processed {"connection_id":206016,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:28:36] local.INFO: Acknowledgment sent {"connection_id":206016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:28:41] local.INFO: TCP Data received {"connection_id":204603,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1198a8012d1a5380071fdeb80031013027..."} 
[2026-10-05 13:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1198a8012d1a5380071fdeb80031013027..."} 
[2026-10-05 13:28:41] local.INFO: Processing buffer {"connection_id":204603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1198a8012d1a5380071fdeb80031013027..."} 
[2026-10-05 13:28:41] local.INFO: Packet analysis {"connection_id":204603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b11"} 
[2026-10-05 13:28:41] local.INFO: Extracted packet for processing {"connection_id":204603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b11"} 
[2026-10-05 13:28:41] local.INFO: GPS Element Parsed {"raw_longitude":756700032,"raw_latitude":119529144,"longitude_deg":75.6700032,"latitude_deg":11.9529144,"altitude":49,"angle":304,"satellites":39,"speed":37,"hex_longitude":"2d1a5380","hex_latitude":"071fdeb8","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543888128001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25004036876926976,"note":"Value kept but may cause issues"} 
[2026-10-05 13:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1898970960977688576,"note":"Value kept but may cause issues"} 
[2026-10-05 13:28:41] 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-10-05 13:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791187065000,"timestamp_ms":1791187065000,"timestamp_seconds":1791187065,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1198a8"} 
[2026-10-05 13:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:28:41] 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-10-05 13: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-10-05 13:28:41] 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-10-05 13: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-10-05 13:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:28:41] 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-10-05 13:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543888128001,"66":13396,"101":206,"83":41984,"24":37,"16":25004036876926976,"45":1898970960977688576},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543888128001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:28:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:28:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25004036876926976,"km_value":25004036876926.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1898970960977688576,"description":"Unknown IO ID 45"} 
[2026-10-05 13:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543888128001,"power":13396,"unknown_101":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1898970960977688576}} 
[2026-10-05 13:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":204603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:28:41] local.INFO: GPS data processed {"connection_id":204603,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:28:41] local.INFO: Acknowledgment sent {"connection_id":204603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:28:55] local.INFO: TCP Data received {"connection_id":204472,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:28:55] local.INFO: Processing buffer {"connection_id":204472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:28:55] local.INFO: IMEI packet received {"connection_id":204472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":204472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:29:00] local.INFO: TCP Data received {"connection_id":204472,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:29:00] local.INFO: Processing buffer {"connection_id":204472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:29:00] local.INFO: IMEI packet received {"connection_id":204472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":204472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:29:00] local.INFO: TCP Data received {"connection_id":204472,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1161f8012d7f9b4005afd4b00006006628..."} 
[2026-10-05 13:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1161f8012d7f9b4005afd4b00006006628..."} 
[2026-10-05 13:29:00] local.INFO: Processing buffer {"connection_id":204472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1161f8012d7f9b4005afd4b00006006628..."} 
[2026-10-05 13:29:00] local.INFO: Packet analysis {"connection_id":204472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b11"} 
[2026-10-05 13:29:00] local.INFO: Extracted packet for processing {"connection_id":204472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b11"} 
[2026-10-05 13:29:00] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":6,"angle":102,"satellites":40,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543808000001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457375965184,"note":"Value kept but may cause issues"} 
[2026-10-05 13:29:00] 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-10-05 13:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791187051000,"timestamp_ms":1791187051000,"timestamp_seconds":1791187051,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1161f8"} 
[2026-10-05 13:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:29:00] 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-10-05 13: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 13:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:29: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-10-05 13:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543808000001,"66":26115,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9195013457375965184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543808000001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:29:00] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:29:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457375965184,"description":"Unknown IO ID 45"} 
[2026-10-05 13:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543808000001,"power":26115,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457375965184}} 
[2026-10-05 13:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":204472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:29:00] local.INFO: GPS data processed {"connection_id":204472,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:29:00] local.INFO: Acknowledgment sent {"connection_id":204472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:29:04] local.INFO: TCP Data received {"connection_id":204473,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:29:04] local.INFO: Processing buffer {"connection_id":204473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:29:04] local.INFO: IMEI packet received {"connection_id":204473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":204473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:29:05] local.INFO: TCP Data received {"connection_id":207560,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:29:05] local.INFO: Processing buffer {"connection_id":207560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:29:05] local.INFO: IMEI packet received {"connection_id":207560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":207560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:29:09] local.INFO: TCP Data received {"connection_id":204473,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:29:09] local.INFO: Processing buffer {"connection_id":204473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:29:09] local.INFO: IMEI packet received {"connection_id":204473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":204473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:29:10] local.INFO: TCP Data received {"connection_id":204473,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:29:10] local.INFO: Processing buffer {"connection_id":204473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:29:10] local.INFO: Packet analysis {"connection_id":204473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:29:10] local.INFO: Extracted packet for processing {"connection_id":204473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:29:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543823872001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:29:10] 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-10-05 13:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791187113000,"timestamp_ms":1791187113000,"timestamp_seconds":1791187113,"priority":1,"record_length":96,"hex_timestamp":"000001a10b125428"} 
[2026-10-05 13:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:29:10] 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-10-05 13:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543823872001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543823872001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:29:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543823872001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":204473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:29:10] local.INFO: GPS data processed {"connection_id":204473,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:29:10] local.INFO: Acknowledgment sent {"connection_id":204473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:29:10] local.INFO: TCP Data received {"connection_id":207560,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:29:10] local.INFO: Processing buffer {"connection_id":207560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:29:10] local.INFO: IMEI packet received {"connection_id":207560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":207560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:29:11] local.INFO: TCP Data received {"connection_id":207560,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b11a848012d1a4600071fe6100030011e27..."} 
[2026-10-05 13:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b11a848012d1a4600071fe6100030011e27..."} 
[2026-10-05 13:29:11] local.INFO: Processing buffer {"connection_id":207560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b11a848012d1a4600071fe6100030011e27..."} 
[2026-10-05 13:29:11] local.INFO: Packet analysis {"connection_id":207560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b11"} 
[2026-10-05 13:29:11] local.INFO: Extracted packet for processing {"connection_id":207560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b11"} 
[2026-10-05 13:29:11] local.INFO: GPS Element Parsed {"raw_longitude":756696576,"raw_latitude":119531024,"longitude_deg":75.6696576,"latitude_deg":11.9531024,"altitude":48,"angle":286,"satellites":39,"speed":39,"hex_longitude":"2d1a4600","hex_latitude":"071fe610","is_valid_coordinates":true} 
[2026-10-05 13:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543888640001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25004230150455296,"note":"Value kept but may cause issues"} 
[2026-10-05 13:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1897000636140926976,"note":"Value kept but may cause issues"} 
[2026-10-05 13:29:11] 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-10-05 13:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791187069000,"timestamp_ms":1791187069000,"timestamp_seconds":1791187069,"priority":1,"record_length":96,"hex_timestamp":"000001a10b11a848"} 
[2026-10-05 13:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:29:11] 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-10-05 13:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-05 13:29:11] 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-10-05 13:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:29:11] 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-10-05 13:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543888640001,"66":13993,"101":206,"83":41984,"24":39,"16":25004230150455296,"45":1897000636140926976},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543888640001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:29:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:29:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25004230150455296,"km_value":25004230150455.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1897000636140926976,"description":"Unknown IO ID 45"} 
[2026-10-05 13:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543888640001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1897000636140926976}} 
[2026-10-05 13:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":207560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:29:11] local.INFO: GPS data processed {"connection_id":207560,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:29:11] local.INFO: Acknowledgment sent {"connection_id":207560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:29:15] local.INFO: TCP Data received {"connection_id":204473,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:29:15] local.INFO: Processing buffer {"connection_id":204473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:29:15] local.INFO: Packet analysis {"connection_id":204473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:29:15] local.INFO: Extracted packet for processing {"connection_id":204473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:29:15] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543823872001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:29:15] 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-10-05 13:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791187113000,"timestamp_ms":1791187113000,"timestamp_seconds":1791187113,"priority":1,"record_length":96,"hex_timestamp":"000001a10b125428"} 
[2026-10-05 13:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:29:15] 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-10-05 13:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543823872001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543823872001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:29:15] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:29:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543823872001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":204473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:29:15] local.INFO: GPS data processed {"connection_id":204473,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:29:15] local.INFO: Acknowledgment sent {"connection_id":204473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:29:32] local.INFO: TCP Data received {"connection_id":204472,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b125810012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b125810012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:29:32] local.INFO: Processing buffer {"connection_id":204472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b125810012d7f9b4005afd4b00007006629..."} 
[2026-10-05 13:29:32] local.INFO: Packet analysis {"connection_id":204472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:29:32] local.INFO: Extracted packet for processing {"connection_id":204472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:29:32] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409328,"longitude_deg":76.3337536,"latitude_deg":9.5409328,"altitude":7,"angle":102,"satellites":41,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-10-05 13:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543885056001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457375965184,"note":"Value kept but may cause issues"} 
[2026-10-05 13:29:32] 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-10-05 13:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791187114000,"timestamp_ms":1791187114000,"timestamp_seconds":1791187114,"priority":1,"record_length":96,"hex_timestamp":"000001a10b125810"} 
[2026-10-05 13:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:29:32] 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-10-05 13:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 13:29:32] 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-10-05 13:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543885056001,"66":26115,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9195013457375965184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543885056001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:29:32] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:29:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457375965184,"description":"Unknown IO ID 45"} 
[2026-10-05 13:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543885056001,"power":26115,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457375965184}} 
[2026-10-05 13:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":204472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:29:32] local.INFO: GPS data processed {"connection_id":204472,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:29:32] local.INFO: Acknowledgment sent {"connection_id":204472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:29:43] local.INFO: TCP Data received {"connection_id":207560,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b11cf58012d1a2040071ff0480029011e27..."} 
[2026-10-05 13:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b11cf58012d1a2040071ff0480029011e27..."} 
[2026-10-05 13:29:43] local.INFO: Processing buffer {"connection_id":207560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b11cf58012d1a2040071ff0480029011e27..."} 
[2026-10-05 13:29:43] local.INFO: Packet analysis {"connection_id":207560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b11"} 
[2026-10-05 13:29:43] local.INFO: Extracted packet for processing {"connection_id":207560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b11"} 
[2026-10-05 13:29:43] local.INFO: GPS Element Parsed {"raw_longitude":756686912,"raw_latitude":119533640,"longitude_deg":75.6686912,"latitude_deg":11.953364,"altitude":41,"angle":286,"satellites":39,"speed":38,"hex_longitude":"2d1a2040","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-05 13:29: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-10-05 13:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543889664001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25004702596857856,"note":"Value kept but may cause issues"} 
[2026-10-05 13:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893200723955814400,"note":"Value kept but may cause issues"} 
[2026-10-05 13:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791187079000,"timestamp_ms":1791187079000,"timestamp_seconds":1791187079,"priority":1,"record_length":96,"hex_timestamp":"000001a10b11cf58"} 
[2026-10-05 13:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:29: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 13:29:43] 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-10-05 13:29: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-10-05 13:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:29:43] 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-10-05 13:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543889664001,"66":13906,"101":206,"83":41984,"24":38,"16":25004702596857856,"45":1893200723955814400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543889664001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:29:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:29:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25004702596857856,"km_value":25004702596857.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893200723955814400,"description":"Unknown IO ID 45"} 
[2026-10-05 13:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543889664001,"power":13906,"unknown_101":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1893200723955814400}} 
[2026-10-05 13:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":207560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:29:43] local.INFO: GPS data processed {"connection_id":207560,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:29:43] local.INFO: Acknowledgment sent {"connection_id":207560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:29:55] local.INFO: TCP Data received {"connection_id":206018,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:29:55] local.INFO: Processing buffer {"connection_id":206018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:29:55] local.INFO: IMEI packet received {"connection_id":206018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":206018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:29:58] local.INFO: TCP Data received {"connection_id":206018,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:29:58] local.INFO: Processing buffer {"connection_id":206018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:29:58] local.INFO: IMEI packet received {"connection_id":206018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":206018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:29:59] local.INFO: TCP Data received {"connection_id":206018,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1267b0012d7f9d8005afd1300006009729..."} 
[2026-10-05 13:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1267b0012d7f9d8005afd1300006009729..."} 
[2026-10-05 13:29:59] local.INFO: Processing buffer {"connection_id":206018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1267b0012d7f9d8005afd1300006009729..."} 
[2026-10-05 13:29:59] local.INFO: Packet analysis {"connection_id":206018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:29:59] local.INFO: Extracted packet for processing {"connection_id":206018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:29:59] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408432,"longitude_deg":76.3338112,"latitude_deg":9.5408432,"altitude":6,"angle":151,"satellites":41,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05afd130","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543901184001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894054807732224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457375965184,"note":"Value kept but may cause issues"} 
[2026-10-05 13:29:59] 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-10-05 13:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791187118000,"timestamp_ms":1791187118000,"timestamp_seconds":1791187118,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1267b0"} 
[2026-10-05 13:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:29: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-10-05 13: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 13:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":206018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":206018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":206018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:29: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-10-05 13:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543901184001,"66":28006,"33":206,"85":12544,"24":0,"16":1894054807732224,"45":9195013457375965184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543901184001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:29:59] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:29:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894054807732224,"km_value":1894054807732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457375965184,"description":"Unknown IO ID 45"} 
[2026-10-05 13:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543901184001,"power":28006,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457375965184}} 
[2026-10-05 13:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":206018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:29:59] local.INFO: GPS data processed {"connection_id":206018,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:29:59] local.INFO: Acknowledgment sent {"connection_id":206018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:29:59] local.INFO: TCP Data received {"connection_id":204604,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:29:59] local.INFO: Processing buffer {"connection_id":204604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:29:59] local.INFO: IMEI packet received {"connection_id":204604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":204604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:30:04] local.INFO: TCP Data received {"connection_id":204474,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:30:04] local.INFO: Processing buffer {"connection_id":204474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:30:04] local.INFO: IMEI packet received {"connection_id":204474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":204474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:30:04] local.INFO: TCP Data received {"connection_id":204604,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:30:04] local.INFO: Processing buffer {"connection_id":204604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:30:04] local.INFO: IMEI packet received {"connection_id":204604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":204604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:30:05] local.INFO: TCP Data received {"connection_id":204474,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:30:05] local.INFO: Processing buffer {"connection_id":204474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:30:05] local.INFO: IMEI packet received {"connection_id":204474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":204474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:30:05] local.INFO: TCP Data received {"connection_id":204604,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:30:05] local.INFO: Processing buffer {"connection_id":204604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:30:05] local.INFO: Packet analysis {"connection_id":204604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:30:05] local.INFO: Extracted packet for processing {"connection_id":204604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:30:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543823872001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:30:05] 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-10-05 13:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791187113000,"timestamp_ms":1791187113000,"timestamp_seconds":1791187113,"priority":1,"record_length":96,"hex_timestamp":"000001a10b125428"} 
[2026-10-05 13:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:30: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-10-05 13: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:30: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-10-05 13: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-10-05 13:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543823872001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543823872001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:30:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:30:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543823872001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":204604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:30:05] local.INFO: GPS data processed {"connection_id":204604,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:30:05] local.INFO: Acknowledgment sent {"connection_id":204604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:30:06] local.INFO: TCP Data received {"connection_id":204474,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:30:06] local.INFO: Processing buffer {"connection_id":204474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:30:06] local.INFO: IMEI packet received {"connection_id":204474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":204474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:30:07] local.INFO: TCP Data received {"connection_id":204474,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:30:07] local.INFO: Processing buffer {"connection_id":204474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:30:07] local.INFO: IMEI packet received {"connection_id":204474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":204474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:30:30] local.INFO: TCP Data received {"connection_id":206018,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b12b9b8012d7f9dc005afd0f80007009728..."} 
[2026-10-05 13:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b12b9b8012d7f9dc005afd0f80007009728..."} 
[2026-10-05 13:30:30] local.INFO: Processing buffer {"connection_id":206018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b12b9b8012d7f9dc005afd0f80007009728..."} 
[2026-10-05 13:30:30] local.INFO: Packet analysis {"connection_id":206018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:30:30] local.INFO: Extracted packet for processing {"connection_id":206018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:30:30] local.INFO: GPS Element Parsed {"raw_longitude":763338176,"raw_latitude":95408376,"longitude_deg":76.3338176,"latitude_deg":9.5408376,"altitude":7,"angle":151,"satellites":40,"speed":0,"hex_longitude":"2d7f9dc0","hex_latitude":"05afd0f8","is_valid_coordinates":true} 
[2026-10-05 13:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543902208001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894067692634112,"note":"Value kept but may cause issues"} 
[2026-10-05 13:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776073334784,"note":"Value kept but may cause issues"} 
[2026-10-05 13:30:30] 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-10-05 13:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1791187139000,"timestamp_ms":1791187139000,"timestamp_seconds":1791187139,"priority":1,"record_length":96,"hex_timestamp":"000001a10b12b9b8"} 
[2026-10-05 13:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:30: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-10-05 13:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 13:30:30] 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-10-05 13:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":206018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":206018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":206018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:30: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-10-05 13:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543902208001,"66":27995,"33":206,"85":12544,"24":0,"16":1894067692634112,"45":9195646776073334784},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-10-05 13:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543902208001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:30:30] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-05 13:30:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894067692634112,"km_value":1894067692634.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776073334784,"description":"Unknown IO ID 45"} 
[2026-10-05 13:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543902208001,"power":27995,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195646776073334784}} 
[2026-10-05 13:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":206018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:30:30] local.INFO: GPS data processed {"connection_id":206018,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:30:30] local.INFO: Acknowledgment sent {"connection_id":206018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:30:38] local.INFO: TCP Data received {"connection_id":204604,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:30:38] local.INFO: Processing buffer {"connection_id":204604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:30:38] local.INFO: Packet analysis {"connection_id":204604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:30:38] local.INFO: Extracted packet for processing {"connection_id":204604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:30:38] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543823872001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:30:38] 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-10-05 13:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791187113000,"timestamp_ms":1791187113000,"timestamp_seconds":1791187113,"priority":1,"record_length":96,"hex_timestamp":"000001a10b125428"} 
[2026-10-05 13:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:30:38] 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-10-05 13: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-10-05 13:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543823872001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543823872001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:30:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:30:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543823872001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":204604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967570,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:30:38] local.INFO: GPS data processed {"connection_id":204604,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:30:38] local.INFO: Acknowledgment sent {"connection_id":204604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:30:55] local.INFO: TCP Data received {"connection_id":206020,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:30:55] local.INFO: Processing buffer {"connection_id":206020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:30:55] local.INFO: IMEI packet received {"connection_id":206020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":206020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:31:00] local.INFO: TCP Data received {"connection_id":206020,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:31:00] local.INFO: Processing buffer {"connection_id":206020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:31:00] local.INFO: IMEI packet received {"connection_id":206020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":206020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:31:01] local.INFO: TCP Data received {"connection_id":206020,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b130bc0012d7f9e0005afd0880008007f28..."} 
[2026-10-05 13:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b130bc0012d7f9e0005afd0880008007f28..."} 
[2026-10-05 13:31:01] local.INFO: Processing buffer {"connection_id":206020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b130bc0012d7f9e0005afd0880008007f28..."} 
[2026-10-05 13:31:01] local.INFO: Packet analysis {"connection_id":206020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b13"} 
[2026-10-05 13:31:01] local.INFO: Extracted packet for processing {"connection_id":206020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b13"} 
[2026-10-05 13:31:01] local.INFO: GPS Element Parsed {"raw_longitude":763338240,"raw_latitude":95408264,"longitude_deg":76.333824,"latitude_deg":9.5408264,"altitude":8,"angle":127,"satellites":40,"speed":4,"hex_longitude":"2d7f9e00","hex_latitude":"05afd088","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543907584001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894076282568704,"note":"Value kept but may cause issues"} 
[2026-10-05 13:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144817498112,"note":"Value kept but may cause issues"} 
[2026-10-05 13:31: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-10-05 13:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791187160000,"timestamp_ms":1791187160000,"timestamp_seconds":1791187160,"priority":1,"record_length":96,"hex_timestamp":"000001a10b130bc0"} 
[2026-10-05 13:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:31:01] 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-10-05 13: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 13:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":206020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":206020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":206020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:31: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-10-05 13:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543907584001,"66":27800,"27":206,"85":12544,"24":4,"16":1894076282568704,"45":9195717144817498112},"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-10-05 13:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543907584001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:31:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-10-05 13:31:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894076282568704,"km_value":1894076282568.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144817498112,"description":"Unknown IO ID 45"} 
[2026-10-05 13:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543907584001,"power":27800,"unknown_27":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9195717144817498112}} 
[2026-10-05 13:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":206020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:31:01] local.INFO: GPS data processed {"connection_id":206020,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:31:01] local.INFO: Acknowledgment sent {"connection_id":206020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:31:01] local.INFO: TCP Data received {"connection_id":207562,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207562,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:31:01] local.INFO: Processing buffer {"connection_id":207562,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:31:01] local.INFO: IMEI packet received {"connection_id":207562,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":207562,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:31:04] local.INFO: TCP Data received {"connection_id":207562,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207562,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:31:04] local.INFO: Processing buffer {"connection_id":207562,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:31:04] local.INFO: IMEI packet received {"connection_id":207562,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":207562,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:31:05] local.INFO: TCP Data received {"connection_id":207562,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:31:05] local.INFO: Processing buffer {"connection_id":207562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:31:05] local.INFO: Packet analysis {"connection_id":207562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:31:05] local.INFO: Extracted packet for processing {"connection_id":207562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:31:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543823872001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:31:05] 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-10-05 13:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791187113000,"timestamp_ms":1791187113000,"timestamp_seconds":1791187113,"priority":1,"record_length":96,"hex_timestamp":"000001a10b125428"} 
[2026-10-05 13:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:31: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-10-05 13:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:31: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-10-05 13:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543823872001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543823872001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:31:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:31:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543823872001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":207562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:31:05] local.INFO: GPS data processed {"connection_id":207562,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:31:05] local.INFO: Acknowledgment sent {"connection_id":207562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:31:10] local.INFO: TCP Data received {"connection_id":207562,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:31:10] local.INFO: Processing buffer {"connection_id":207562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:31:10] local.INFO: Packet analysis {"connection_id":207562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:31:10] local.INFO: Extracted packet for processing {"connection_id":207562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:31:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543823872001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:31:10] 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-10-05 13:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791187113000,"timestamp_ms":1791187113000,"timestamp_seconds":1791187113,"priority":1,"record_length":96,"hex_timestamp":"000001a10b125428"} 
[2026-10-05 13:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:31:10] 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-10-05 13:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543823872001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543823872001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:31:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543823872001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":207562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967573,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:31:10] local.INFO: GPS data processed {"connection_id":207562,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:31:10] local.INFO: Acknowledgment sent {"connection_id":207562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:31:32] local.INFO: TCP Data received {"connection_id":206020,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b13d2f8012d7fa0c005afbc50000a00bb27..."} 
[2026-10-05 13:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b13d2f8012d7fa0c005afbc50000a00bb27..."} 
[2026-10-05 13:31:32] local.INFO: Processing buffer {"connection_id":206020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b13d2f8012d7fa0c005afbc50000a00bb27..."} 
[2026-10-05 13:31:32] local.INFO: Packet analysis {"connection_id":206020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b13"} 
[2026-10-05 13:31:32] local.INFO: Extracted packet for processing {"connection_id":206020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b13"} 
[2026-10-05 13:31:32] local.INFO: GPS Element Parsed {"raw_longitude":763338944,"raw_latitude":95403088,"longitude_deg":76.3338944,"latitude_deg":9.5403088,"altitude":10,"angle":187,"satellites":39,"speed":0,"hex_longitude":"2d7fa0c0","hex_latitude":"05afbc50","is_valid_coordinates":true} 
[2026-10-05 13:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543920640001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894372635312128,"note":"Value kept but may cause issues"} 
[2026-10-05 13:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196631938490519552,"note":"Value kept but may cause issues"} 
[2026-10-05 13:31: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-10-05 13:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791187211000,"timestamp_ms":1791187211000,"timestamp_seconds":1791187211,"priority":1,"record_length":96,"hex_timestamp":"000001a10b13d2f8"} 
[2026-10-05 13:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:31:32] 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-10-05 13:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 13:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543920640001,"66":28093,"27":206,"85":12544,"24":0,"16":1894372635312128,"45":9196631938490519552},"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-10-05 13:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543920640001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:31:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-10-05 13:31:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894372635312128,"km_value":1894372635312.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196631938490519552,"description":"Unknown IO ID 45"} 
[2026-10-05 13:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543920640001,"power":28093,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196631938490519552}} 
[2026-10-05 13:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":206020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:31:32] local.INFO: GPS data processed {"connection_id":206020,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:31:32] local.INFO: Acknowledgment sent {"connection_id":206020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:31:41] local.INFO: TCP Data received {"connection_id":207562,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:31:41] local.INFO: Processing buffer {"connection_id":207562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:31:41] local.INFO: Packet analysis {"connection_id":207562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:31:41] local.INFO: Extracted packet for processing {"connection_id":207562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:31:41] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543823872001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:31:41] 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-10-05 13:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791187113000,"timestamp_ms":1791187113000,"timestamp_seconds":1791187113,"priority":1,"record_length":96,"hex_timestamp":"000001a10b125428"} 
[2026-10-05 13:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:31:41] 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-10-05 13: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-10-05 13:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":207562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":207562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":207562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543823872001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543823872001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:31:41] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:31:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543823872001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":207562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967575,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:31:41] local.INFO: GPS data processed {"connection_id":207562,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:31:41] local.INFO: Acknowledgment sent {"connection_id":207562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:31:55] local.INFO: TCP Data received {"connection_id":206021,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:31:55] local.INFO: Processing buffer {"connection_id":206021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:31:55] local.INFO: IMEI packet received {"connection_id":206021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":206021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:31:56] local.INFO: TCP Data received {"connection_id":206021,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:31:56] local.INFO: Processing buffer {"connection_id":206021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:31:56] local.INFO: IMEI packet received {"connection_id":206021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":206021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:31:59] local.INFO: TCP Data received {"connection_id":204606,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:31:59] local.INFO: Processing buffer {"connection_id":204606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:31:59] local.INFO: IMEI packet received {"connection_id":204606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":204606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:31:59] local.INFO: TCP Data received {"connection_id":204605,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:31:59] local.INFO: Processing buffer {"connection_id":204605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:31:59] local.INFO: IMEI packet received {"connection_id":204605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 13:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":204605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:32:00] local.INFO: TCP Data received {"connection_id":206021,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:32:00] local.INFO: Processing buffer {"connection_id":206021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:32:00] local.INFO: IMEI packet received {"connection_id":206021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":206021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:32:00] local.INFO: TCP Data received {"connection_id":206021,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b142500012d7fa0c005afbc38000a00bb27..."} 
[2026-10-05 13:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b142500012d7fa0c005afbc38000a00bb27..."} 
[2026-10-05 13:32:00] local.INFO: Processing buffer {"connection_id":206021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b142500012d7fa0c005afbc38000a00bb27..."} 
[2026-10-05 13:32:00] local.INFO: Packet analysis {"connection_id":206021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b14"} 
[2026-10-05 13:32:00] local.INFO: Extracted packet for processing {"connection_id":206021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b14"} 
[2026-10-05 13:32:00] local.INFO: GPS Element Parsed {"raw_longitude":763338944,"raw_latitude":95403064,"longitude_deg":76.3338944,"latitude_deg":9.5403064,"altitude":10,"angle":187,"satellites":39,"speed":0,"hex_longitude":"2d7fa0c0","hex_latitude":"05afbc38","is_valid_coordinates":true} 
[2026-10-05 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-10-05 13:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543926016001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894376930279424,"note":"Value kept but may cause issues"} 
[2026-10-05 13:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196561569746276352,"note":"Value kept but may cause issues"} 
[2026-10-05 13:32: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-10-05 13:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791187232000,"timestamp_ms":1791187232000,"timestamp_seconds":1791187232,"priority":1,"record_length":96,"hex_timestamp":"000001a10b142500"} 
[2026-10-05 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-10-05 13:32:00] 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-10-05 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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-10-05 13:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 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-10-05 13:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:32: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-10-05 13:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543926016001,"66":28028,"27":206,"85":12544,"24":0,"16":1894376930279424,"45":9196561569746276352},"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-10-05 13:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543926016001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:32:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-10-05 13:32:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894376930279424,"km_value":1894376930279.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196561569746276352,"description":"Unknown IO ID 45"} 
[2026-10-05 13:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543926016001,"power":28028,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196561569746276352}} 
[2026-10-05 13:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":206021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:32:00] local.INFO: GPS data processed {"connection_id":206021,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:32:00] local.INFO: Acknowledgment sent {"connection_id":206021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:32:04] local.INFO: TCP Data received {"connection_id":204606,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:32:04] local.INFO: Processing buffer {"connection_id":204606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:32:04] local.INFO: IMEI packet received {"connection_id":204606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":204606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:32:05] local.INFO: TCP Data received {"connection_id":204606,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:32:05] local.INFO: Processing buffer {"connection_id":204606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:32:05] local.INFO: Packet analysis {"connection_id":204606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:32:05] local.INFO: Extracted packet for processing {"connection_id":204606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:32:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543823872001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:32:05] 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-10-05 13:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791187113000,"timestamp_ms":1791187113000,"timestamp_seconds":1791187113,"priority":1,"record_length":96,"hex_timestamp":"000001a10b125428"} 
[2026-10-05 13:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:32: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-10-05 13:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:32: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-10-05 13:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:32:05] 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-10-05 13:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543823872001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543823872001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:32:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:32:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543823872001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":204606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:32:05] local.INFO: GPS data processed {"connection_id":204606,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:32:05] local.INFO: Acknowledgment sent {"connection_id":204606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:32:31] local.INFO: TCP Data received {"connection_id":206021,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b147708012d7fa0c005afbbb8000b00bb28..."} 
[2026-10-05 13:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b147708012d7fa0c005afbbb8000b00bb28..."} 
[2026-10-05 13:32:31] local.INFO: Processing buffer {"connection_id":206021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b147708012d7fa0c005afbbb8000b00bb28..."} 
[2026-10-05 13:32:31] local.INFO: Packet analysis {"connection_id":206021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b14"} 
[2026-10-05 13:32:31] local.INFO: Extracted packet for processing {"connection_id":206021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b14"} 
[2026-10-05 13:32:31] local.INFO: GPS Element Parsed {"raw_longitude":763338944,"raw_latitude":95402936,"longitude_deg":76.3338944,"latitude_deg":9.5402936,"altitude":11,"angle":187,"satellites":40,"speed":0,"hex_longitude":"2d7fa0c0","hex_latitude":"05afbbb8","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543931392001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1894385520214016,"note":"Value kept but may cause issues"} 
[2026-10-05 13:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196561569746270208,"note":"Value kept but may cause issues"} 
[2026-10-05 13:32: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-10-05 13:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791187253000,"timestamp_ms":1791187253000,"timestamp_seconds":1791187253,"priority":1,"record_length":96,"hex_timestamp":"000001a10b147708"} 
[2026-10-05 13:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:32: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-10-05 13: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-10-05 13:32:31] 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-10-05 13: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-10-05 13:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543931392001,"66":28050,"250":206,"85":12544,"24":0,"16":1894385520214016,"45":9196561569746270208},"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-10-05 13:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543931392001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:32:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:32:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1894385520214016,"km_value":1894385520214.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196561569746270208,"description":"Unknown IO ID 45"} 
[2026-10-05 13:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543931392001,"power":28050,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196561569746270208}} 
[2026-10-05 13:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":206021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:32:31] local.INFO: GPS data processed {"connection_id":206021,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:32:31] local.INFO: Acknowledgment sent {"connection_id":206021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:32:34] local.INFO: TCP Data received {"connection_id":206022,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:32:34] local.INFO: Processing buffer {"connection_id":206022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:32:34] local.INFO: IMEI packet received {"connection_id":206022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 13:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":206022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:32:37] local.INFO: TCP Data received {"connection_id":204606,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:32:37] local.INFO: Processing buffer {"connection_id":204606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:32:37] local.INFO: Packet analysis {"connection_id":204606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:32:37] local.INFO: Extracted packet for processing {"connection_id":204606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:32:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543823872001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:32:37] 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-10-05 13:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791187113000,"timestamp_ms":1791187113000,"timestamp_seconds":1791187113,"priority":1,"record_length":96,"hex_timestamp":"000001a10b125428"} 
[2026-10-05 13:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:32: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-10-05 13:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:32:37] 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-10-05 13:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543823872001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543823872001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:32:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:32:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543823872001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":204606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:32:37] local.INFO: GPS data processed {"connection_id":204606,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:32:37] local.INFO: Acknowledgment sent {"connection_id":204606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:32:55] local.INFO: TCP Data received {"connection_id":204477,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:32:55] local.INFO: Processing buffer {"connection_id":204477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:32:55] local.INFO: IMEI packet received {"connection_id":204477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":204477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:32:59] local.INFO: TCP Data received {"connection_id":207563,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:32:59] local.INFO: Processing buffer {"connection_id":207563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:32:59] local.INFO: IMEI packet received {"connection_id":207563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":207563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:32:59] local.INFO: TCP Data received {"connection_id":204477,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:32:59] local.INFO: Processing buffer {"connection_id":204477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:32:59] local.INFO: IMEI packet received {"connection_id":204477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":204477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:33:00] local.INFO: TCP Data received {"connection_id":204477,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b156d20012d7f3ac005afb768000900d226..."} 
[2026-10-05 13:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b156d20012d7f3ac005afb768000900d226..."} 
[2026-10-05 13:33:00] local.INFO: Processing buffer {"connection_id":204477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b156d20012d7f3ac005afb768000900d226..."} 
[2026-10-05 13:33:00] local.INFO: Packet analysis {"connection_id":204477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b15"} 
[2026-10-05 13:33:00] local.INFO: Extracted packet for processing {"connection_id":204477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b15"} 
[2026-10-05 13:33:00] local.INFO: GPS Element Parsed {"raw_longitude":763312832,"raw_latitude":95401832,"longitude_deg":76.3312832,"latitude_deg":9.5401832,"altitude":9,"angle":210,"satellites":38,"speed":9,"hex_longitude":"2d7f3ac0","hex_latitude":"05afb768","is_valid_coordinates":true} 
[2026-10-05 13:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543952640001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1895665420468224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167991859609864192,"note":"Value kept but may cause issues"} 
[2026-10-05 13: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-10-05 13:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791187316000,"timestamp_ms":1791187316000,"timestamp_seconds":1791187316,"priority":1,"record_length":96,"hex_timestamp":"000001a10b156d20"} 
[2026-10-05 13:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:33:00] 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-10-05 13:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-05 13:33: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-10-05 13:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:33: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-10-05 13:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543952640001,"66":27974,"250":206,"85":12544,"24":9,"16":1895665420468224,"45":9167991859609864192},"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-10-05 13:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543952640001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:33:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:33:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1895665420468224,"km_value":1895665420468.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167991859609864192,"description":"Unknown IO ID 45"} 
[2026-10-05 13:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543952640001,"power":27974,"unknown_250":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":9167991859609864192}} 
[2026-10-05 13:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":204477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:33:00] local.INFO: GPS data processed {"connection_id":204477,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:33:00] local.INFO: Acknowledgment sent {"connection_id":204477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:33:04] local.INFO: TCP Data received {"connection_id":207563,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:33:04] local.INFO: Processing buffer {"connection_id":207563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:33:04] local.INFO: IMEI packet received {"connection_id":207563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":207563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:33:05] local.INFO: TCP Data received {"connection_id":207563,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:33:05] local.INFO: Processing buffer {"connection_id":207563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b125428012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:33:05] local.INFO: Packet analysis {"connection_id":207563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:33:05] local.INFO: Extracted packet for processing {"connection_id":207563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b12"} 
[2026-10-05 13:33:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543823872001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:33:05] 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-10-05 13:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791187113000,"timestamp_ms":1791187113000,"timestamp_seconds":1791187113,"priority":1,"record_length":96,"hex_timestamp":"000001a10b125428"} 
[2026-10-05 13:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:33: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-10-05 13:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 13:33: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-10-05 13: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-10-05 13:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:33:05] 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-10-05 13:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543823872001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543823872001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:33:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:33:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543823872001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":207563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967581,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:33:05] local.INFO: GPS data processed {"connection_id":207563,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:33:05] local.INFO: Acknowledgment sent {"connection_id":207563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:33:33] local.INFO: TCP Data received {"connection_id":204477,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1620d0012d7f2ac005af59d00008015926..."} 
[2026-10-05 13:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1620d0012d7f2ac005af59d00008015926..."} 
[2026-10-05 13:33:33] local.INFO: Processing buffer {"connection_id":204477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1620d0012d7f2ac005af59d00008015926..."} 
[2026-10-05 13:33:33] local.INFO: Packet analysis {"connection_id":204477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:33:33] local.INFO: Extracted packet for processing {"connection_id":204477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:33:33] local.INFO: GPS Element Parsed {"raw_longitude":763308736,"raw_latitude":95377872,"longitude_deg":76.3308736,"latitude_deg":9.5377872,"altitude":8,"angle":345,"satellites":38,"speed":15,"hex_longitude":"2d7f2ac0","hex_latitude":"05af59d0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543964416001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1896988270395392,"note":"Value kept but may cause issues"} 
[2026-10-05 13:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9163417891232053248,"note":"Value kept but may cause issues"} 
[2026-10-05 13:33: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-10-05 13:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791187362000,"timestamp_ms":1791187362000,"timestamp_seconds":1791187362,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1620d0"} 
[2026-10-05 13:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:33:33] 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-10-05 13: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 13:33:33] 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-10-05 13: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-10-05 13:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:33: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-10-05 13:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543964416001,"66":27908,"28":206,"85":12544,"24":15,"16":1896988270395392,"45":9163417891232053248},"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-10-05 13:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543964416001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:33:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-10-05 13:33:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1896988270395392,"km_value":1896988270395.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9163417891232053248,"description":"Unknown IO ID 45"} 
[2026-10-05 13:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543964416001,"power":27908,"unknown_28":206,"unknown_85":12544,"ignition":15,"odometer":null,"unknown_45":9163417891232053248}} 
[2026-10-05 13:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":204477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:33:33] local.INFO: GPS data processed {"connection_id":204477,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:33:33] local.INFO: Acknowledgment sent {"connection_id":204477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:33:36] local.INFO: TCP Data received {"connection_id":207563,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:33:36] local.INFO: Processing buffer {"connection_id":207563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:33:36] local.INFO: Packet analysis {"connection_id":207563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:33:36] local.INFO: Extracted packet for processing {"connection_id":207563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:33:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543900928001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:33:36] 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-10-05 13:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791187414000,"timestamp_ms":1791187414000,"timestamp_seconds":1791187414,"priority":1,"record_length":96,"hex_timestamp":"000001a10b16ebf0"} 
[2026-10-05 13:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:33:36] 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-10-05 13:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 13:33:36] 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-10-05 13:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:33:36] 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-10-05 13:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543900928001,"66":12743,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543900928001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:33:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:33:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543900928001,"power":12743,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":207563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:33:36] local.INFO: GPS data processed {"connection_id":207563,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:33:36] local.INFO: Acknowledgment sent {"connection_id":207563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:33:55] local.INFO: TCP Data received {"connection_id":204608,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:33:55] local.INFO: Processing buffer {"connection_id":204608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:33:55] local.INFO: IMEI packet received {"connection_id":204608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":204608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:33:59] local.INFO: TCP Data received {"connection_id":204608,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:33:59] local.INFO: Processing buffer {"connection_id":204608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:33:59] local.INFO: IMEI packet received {"connection_id":204608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":204608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:34:00] local.INFO: TCP Data received {"connection_id":204608,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1643f8012d7f23c005af6ca80008014624..."} 
[2026-10-05 13:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1643f8012d7f23c005af6ca80008014624..."} 
[2026-10-05 13:34:00] local.INFO: Processing buffer {"connection_id":204608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1643f8012d7f23c005af6ca80008014624..."} 
[2026-10-05 13:34:00] local.INFO: Packet analysis {"connection_id":204608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:34:00] local.INFO: Extracted packet for processing {"connection_id":204608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:34:00] local.INFO: GPS Element Parsed {"raw_longitude":763306944,"raw_latitude":95382696,"longitude_deg":76.3306944,"latitude_deg":9.5382696,"altitude":8,"angle":326,"satellites":36,"speed":26,"hex_longitude":"2d7f23c0","hex_latitude":"05af6ca8","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543964672001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1897237378498560,"note":"Value kept but may cause issues"} 
[2026-10-05 13:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9163347522487963648,"note":"Value kept but may cause issues"} 
[2026-10-05 13:34: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-10-05 13:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791187371000,"timestamp_ms":1791187371000,"timestamp_seconds":1791187371,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1643f8"} 
[2026-10-05 13:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:34:00] 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-10-05 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 13:34: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-10-05 13: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-10-05 13:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:34: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-10-05 13:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543964672001,"66":27995,"28":206,"85":12544,"24":26,"16":1897237378498560,"45":9163347522487963648},"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-10-05 13:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543964672001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:34:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-10-05 13:34:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1897237378498560,"km_value":1897237378498.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9163347522487963648,"description":"Unknown IO ID 45"} 
[2026-10-05 13:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543964672001,"power":27995,"unknown_28":206,"unknown_85":12544,"ignition":26,"odometer":null,"unknown_45":9163347522487963648}} 
[2026-10-05 13:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":204608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:34:00] local.INFO: GPS data processed {"connection_id":204608,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:34:00] local.INFO: Acknowledgment sent {"connection_id":204608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:34:04] local.INFO: TCP Data received {"connection_id":204609,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:34:04] local.INFO: Processing buffer {"connection_id":204609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:34:04] local.INFO: IMEI packet received {"connection_id":204609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":204609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:34:09] local.INFO: TCP Data received {"connection_id":204609,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:34:09] local.INFO: Processing buffer {"connection_id":204609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:34:09] local.INFO: IMEI packet received {"connection_id":204609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":204609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:34:10] local.INFO: TCP Data received {"connection_id":204609,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:34:10] local.INFO: Processing buffer {"connection_id":204609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:34:10] local.INFO: Packet analysis {"connection_id":204609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:34:10] local.INFO: Extracted packet for processing {"connection_id":204609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:34:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:34: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-10-05 13:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543900928001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:34:10] 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-10-05 13:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791187414000,"timestamp_ms":1791187414000,"timestamp_seconds":1791187414,"priority":1,"record_length":96,"hex_timestamp":"000001a10b16ebf0"} 
[2026-10-05 13:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:34: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-10-05 13:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 13:34:10] 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-10-05 13:34: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-10-05 13:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:34:10] 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-10-05 13:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543900928001,"66":12743,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543900928001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:34:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543900928001,"power":12743,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":204609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967585,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:34:10] local.INFO: GPS data processed {"connection_id":204609,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:34:10] local.INFO: Acknowledgment sent {"connection_id":204609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:34:15] local.INFO: TCP Data received {"connection_id":204609,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:34:15] local.INFO: Processing buffer {"connection_id":204609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:34:15] local.INFO: Packet analysis {"connection_id":204609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:34:15] local.INFO: Extracted packet for processing {"connection_id":204609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:34:15] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543900928001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:34:15] 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-10-05 13:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791187414000,"timestamp_ms":1791187414000,"timestamp_seconds":1791187414,"priority":1,"record_length":96,"hex_timestamp":"000001a10b16ebf0"} 
[2026-10-05 13:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:34: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-10-05 13:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 13:34:15] 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-10-05 13:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:34:15] 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-10-05 13:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543900928001,"66":12743,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543900928001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:34:15] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:34:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543900928001,"power":12743,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":204609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:34:15] local.INFO: GPS data processed {"connection_id":204609,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:34:15] local.INFO: Acknowledgment sent {"connection_id":204609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:34:31] local.INFO: TCP Data received {"connection_id":204608,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b164bc8012d7f208005af70c80008013625..."} 
[2026-10-05 13:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b164bc8012d7f208005af70c80008013625..."} 
[2026-10-05 13:34:31] local.INFO: Processing buffer {"connection_id":204608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b164bc8012d7f208005af70c80008013625..."} 
[2026-10-05 13:34:31] local.INFO: Packet analysis {"connection_id":204608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:34:31] local.INFO: Extracted packet for processing {"connection_id":204608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:34:31] local.INFO: GPS Element Parsed {"raw_longitude":763306112,"raw_latitude":95383752,"longitude_deg":76.3306112,"latitude_deg":9.5383752,"altitude":8,"angle":310,"satellites":37,"speed":27,"hex_longitude":"2d7f2080","hex_latitude":"05af70c8","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543966976001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1897301803008000,"note":"Value kept but may cause issues"} 
[2026-10-05 13:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161377197652224000,"note":"Value kept but may cause issues"} 
[2026-10-05 13:34: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-10-05 13:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791187373000,"timestamp_ms":1791187373000,"timestamp_seconds":1791187373,"priority":1,"record_length":96,"hex_timestamp":"000001a10b164bc8"} 
[2026-10-05 13:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13: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-10-05 13: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 13:34:31] 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-10-05 13: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-10-05 13:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543966976001,"66":27800,"28":206,"85":12544,"24":27,"16":1897301803008000,"45":9161377197652224000},"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-10-05 13:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543966976001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:34:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-10-05 13:34:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1897301803008000,"km_value":1897301803008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161377197652224000,"description":"Unknown IO ID 45"} 
[2026-10-05 13:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543966976001,"power":27800,"unknown_28":206,"unknown_85":12544,"ignition":27,"odometer":null,"unknown_45":9161377197652224000}} 
[2026-10-05 13:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":204608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:34:31] local.INFO: GPS data processed {"connection_id":204608,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:34:31] local.INFO: Acknowledgment sent {"connection_id":204608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:34:54] local.INFO: TCP Data received {"connection_id":204479,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:34:54] local.INFO: Processing buffer {"connection_id":204479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:34:54] local.INFO: IMEI packet received {"connection_id":204479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":204479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:34:56] local.INFO: TCP Data received {"connection_id":204479,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:34:56] local.INFO: Processing buffer {"connection_id":204479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:34:56] local.INFO: IMEI packet received {"connection_id":204479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":204479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:34:59] local.INFO: TCP Data received {"connection_id":204480,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:34:59] local.INFO: Processing buffer {"connection_id":204480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:34:59] local.INFO: IMEI packet received {"connection_id":204480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":204480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:35:00] local.INFO: TCP Data received {"connection_id":204479,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:35:00] local.INFO: Processing buffer {"connection_id":204479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:35:00] local.INFO: IMEI packet received {"connection_id":204479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":204479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:35:00] local.INFO: TCP Data received {"connection_id":204479,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b174d98012d7e954005af75900011015024..."} 
[2026-10-05 13:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b174d98012d7e954005af75900011015024..."} 
[2026-10-05 13:35:00] local.INFO: Processing buffer {"connection_id":204479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b174d98012d7e954005af75900011015024..."} 
[2026-10-05 13:35:00] local.INFO: Packet analysis {"connection_id":204479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b17"} 
[2026-10-05 13:35:00] local.INFO: Extracted packet for processing {"connection_id":204479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b17"} 
[2026-10-05 13:35:00] local.INFO: GPS Element Parsed {"raw_longitude":763270464,"raw_latitude":95384976,"longitude_deg":76.3270464,"latitude_deg":9.5384976,"altitude":17,"angle":336,"satellites":36,"speed":7,"hex_longitude":"2d7e9540","hex_latitude":"05af7590","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543984128001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1899049854697472,"note":"Value kept but may cause issues"} 
[2026-10-05 13:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121407750959861760,"note":"Value kept but may cause issues"} 
[2026-10-05 13:35: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-10-05 13:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791187439000,"timestamp_ms":1791187439000,"timestamp_seconds":1791187439,"priority":1,"record_length":96,"hex_timestamp":"000001a10b174d98"} 
[2026-10-05 13:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:35: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-10-05 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 13:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:35: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-10-05 13:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543984128001,"66":27919,"27":206,"85":12544,"24":7,"16":1899049854697472,"45":9121407750959861760},"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-10-05 13:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543984128001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:35:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-10-05 13:35:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1899049854697472,"km_value":1899049854697.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121407750959861760,"description":"Unknown IO ID 45"} 
[2026-10-05 13:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543984128001,"power":27919,"unknown_27":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9121407750959861760}} 
[2026-10-05 13:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":204479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:35:01] local.INFO: GPS data processed {"connection_id":204479,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:35:01] local.INFO: Acknowledgment sent {"connection_id":204479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:35:04] local.INFO: TCP Data received {"connection_id":204480,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:35:04] local.INFO: Processing buffer {"connection_id":204480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:35:04] local.INFO: IMEI packet received {"connection_id":204480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":204480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:35:05] local.INFO: TCP Data received {"connection_id":204480,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:35:05] local.INFO: Processing buffer {"connection_id":204480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:35:05] local.INFO: Packet analysis {"connection_id":204480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:35:05] local.INFO: Extracted packet for processing {"connection_id":204480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:35:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543900928001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:35:05] 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-10-05 13:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791187414000,"timestamp_ms":1791187414000,"timestamp_seconds":1791187414,"priority":1,"record_length":96,"hex_timestamp":"000001a10b16ebf0"} 
[2026-10-05 13:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13: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-10-05 13:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 13:35:05] 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-10-05 13:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:35:05] 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-10-05 13:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543900928001,"66":12743,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543900928001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:35:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:35:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543900928001,"power":12743,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":204480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967589,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:35:06] local.INFO: GPS data processed {"connection_id":204480,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:35:06] local.INFO: Acknowledgment sent {"connection_id":204480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:35:10] local.INFO: TCP Data received {"connection_id":207565,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:35:10] local.INFO: Processing buffer {"connection_id":207565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:35:10] local.INFO: IMEI packet received {"connection_id":207565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":207565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:35:11] local.INFO: TCP Data received {"connection_id":207565,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b16e808012d1780400720f440003c00dd24..."} 
[2026-10-05 13:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b16e808012d1780400720f440003c00dd24..."} 
[2026-10-05 13:35:11] local.INFO: Processing buffer {"connection_id":207565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b16e808012d1780400720f440003c00dd24..."} 
[2026-10-05 13:35:11] local.INFO: Packet analysis {"connection_id":207565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:35:11] local.INFO: Extracted packet for processing {"connection_id":207565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:35:11] local.INFO: GPS Element Parsed {"raw_longitude":756514880,"raw_latitude":119600192,"longitude_deg":75.651488,"latitude_deg":11.9600192,"altitude":60,"angle":221,"satellites":36,"speed":42,"hex_longitude":"2d178040","hex_latitude":"0720f440","is_valid_coordinates":true} 
[2026-10-05 13:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543975424001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25017424289988608,"note":"Value kept but may cause issues"} 
[2026-10-05 13:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701305158602508288,"note":"Value kept but may cause issues"} 
[2026-10-05 13:35:11] 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-10-05 13:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791187413000,"timestamp_ms":1791187413000,"timestamp_seconds":1791187413,"priority":1,"record_length":96,"hex_timestamp":"000001a10b16e808"} 
[2026-10-05 13:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:35:11] 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-10-05 13:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-10-05 13:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:35:11] 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-10-05 13:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543975424001,"66":13243,"107":206,"83":41984,"24":42,"16":25017424289988608,"45":1701305158602508288},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-10-05 13:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543975424001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:35:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-10-05 13:35:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25017424289988608,"km_value":25017424289988.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701305158602508288,"description":"Unknown IO ID 45"} 
[2026-10-05 13:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543975424001,"power":13243,"unknown_107":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1701305158602508288}} 
[2026-10-05 13:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":207565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:35:11] local.INFO: GPS data processed {"connection_id":207565,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:35:11] local.INFO: Acknowledgment sent {"connection_id":207565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:35:32] local.INFO: TCP Data received {"connection_id":204479,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b175180012d7e94c005af76700011015b26..."} 
[2026-10-05 13:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b175180012d7e94c005af76700011015b26..."} 
[2026-10-05 13:35:32] local.INFO: Processing buffer {"connection_id":204479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b175180012d7e94c005af76700011015b26..."} 
[2026-10-05 13:35:32] local.INFO: Packet analysis {"connection_id":204479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b17"} 
[2026-10-05 13:35:32] local.INFO: Extracted packet for processing {"connection_id":204479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b17"} 
[2026-10-05 13:35:32] local.INFO: GPS Element Parsed {"raw_longitude":763270336,"raw_latitude":95385200,"longitude_deg":76.3270336,"latitude_deg":9.53852,"altitude":17,"angle":347,"satellites":38,"speed":10,"hex_longitude":"2d7e94c0","hex_latitude":"05af7670","is_valid_coordinates":true} 
[2026-10-05 13:35: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-10-05 13:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543984384001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1899062739599360,"note":"Value kept but may cause issues"} 
[2026-10-05 13:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121267013471539200,"note":"Value kept but may cause issues"} 
[2026-10-05 13:35: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-10-05 13:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791187440000,"timestamp_ms":1791187440000,"timestamp_seconds":1791187440,"priority":1,"record_length":96,"hex_timestamp":"000001a10b175180"} 
[2026-10-05 13:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:35: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-10-05 13:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 13:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:35: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-10-05 13:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543984384001,"66":27930,"27":206,"85":12544,"24":10,"16":1899062739599360,"45":9121267013471539200},"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-10-05 13:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543984384001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:35:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-10-05 13:35:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1899062739599360,"km_value":1899062739599.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121267013471539200,"description":"Unknown IO ID 45"} 
[2026-10-05 13:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543984384001,"power":27930,"unknown_27":206,"unknown_85":12544,"ignition":10,"odometer":null,"unknown_45":9121267013471539200}} 
[2026-10-05 13:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":204479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:35:32] local.INFO: GPS data processed {"connection_id":204479,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:35:32] local.INFO: Acknowledgment sent {"connection_id":204479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:35:37] local.INFO: TCP Data received {"connection_id":204480,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:35:37] local.INFO: Processing buffer {"connection_id":204480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:35:37] local.INFO: Packet analysis {"connection_id":204480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:35:37] local.INFO: Extracted packet for processing {"connection_id":204480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:35:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543900928001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:35:37] 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-10-05 13:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791187414000,"timestamp_ms":1791187414000,"timestamp_seconds":1791187414,"priority":1,"record_length":96,"hex_timestamp":"000001a10b16ebf0"} 
[2026-10-05 13:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:35:37] 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-10-05 13:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 13:35:37] 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-10-05 13:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:35:37] 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-10-05 13:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543900928001,"66":12743,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543900928001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:35:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:35:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543900928001,"power":12743,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":204480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967592,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:35:37] local.INFO: GPS data processed {"connection_id":204480,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:35:37] local.INFO: Acknowledgment sent {"connection_id":204480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:35:42] local.INFO: TCP Data received {"connection_id":207565,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b16e808012d1780400720f440003c00dd24..."} 
[2026-10-05 13:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b16e808012d1780400720f440003c00dd24..."} 
[2026-10-05 13:35:42] local.INFO: Processing buffer {"connection_id":207565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b16e808012d1780400720f440003c00dd24..."} 
[2026-10-05 13:35:42] local.INFO: Packet analysis {"connection_id":207565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:35:42] local.INFO: Extracted packet for processing {"connection_id":207565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:35:42] local.INFO: GPS Element Parsed {"raw_longitude":756514880,"raw_latitude":119600192,"longitude_deg":75.651488,"latitude_deg":11.9600192,"altitude":60,"angle":221,"satellites":36,"speed":42,"hex_longitude":"2d178040","hex_latitude":"0720f440","is_valid_coordinates":true} 
[2026-10-05 13:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543977728001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25017424289988608,"note":"Value kept but may cause issues"} 
[2026-10-05 13:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1693423859253133312,"note":"Value kept but may cause issues"} 
[2026-10-05 13:35: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-10-05 13:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791187413000,"timestamp_ms":1791187413000,"timestamp_seconds":1791187413,"priority":1,"record_length":96,"hex_timestamp":"000001a10b16e808"} 
[2026-10-05 13:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:35:42] 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-10-05 13:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-05 13:35:42] 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-10-05 13:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:35:42] 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-10-05 13:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543977728001,"66":13243,"107":206,"83":41984,"24":42,"16":25017424289988608,"45":1693423859253133312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-10-05 13:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543977728001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:35:42] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-10-05 13:35:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25017424289988608,"km_value":25017424289988.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1693423859253133312,"description":"Unknown IO ID 45"} 
[2026-10-05 13:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543977728001,"power":13243,"unknown_107":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1693423859253133312}} 
[2026-10-05 13:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":207565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:35:42] local.INFO: GPS data processed {"connection_id":207565,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:35:42] local.INFO: Acknowledgment sent {"connection_id":207565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:35:56] local.INFO: TCP Data received {"connection_id":206024,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:35:56] local.INFO: Processing buffer {"connection_id":206024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:35:56] local.INFO: IMEI packet received {"connection_id":206024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":206024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:35:59] local.INFO: TCP Data received {"connection_id":206025,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:35:59] local.INFO: Processing buffer {"connection_id":206025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:35:59] local.INFO: IMEI packet received {"connection_id":206025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":206025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:36:00] local.INFO: TCP Data received {"connection_id":206024,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:36:00] local.INFO: Processing buffer {"connection_id":206024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:36:00] local.INFO: IMEI packet received {"connection_id":206024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":206024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:36:04] local.INFO: TCP Data received {"connection_id":206025,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:36:04] local.INFO: Processing buffer {"connection_id":206025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:36:04] local.INFO: IMEI packet received {"connection_id":206025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":206025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:36:05] local.INFO: TCP Data received {"connection_id":206024,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:36:05] local.INFO: Processing buffer {"connection_id":206024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:36:05] local.INFO: IMEI packet received {"connection_id":206024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":206024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:36:05] local.INFO: TCP Data received {"connection_id":204611,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:36:05] local.INFO: Processing buffer {"connection_id":204611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:36:05] local.INFO: IMEI packet received {"connection_id":204611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":204611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:36:06] local.INFO: TCP Data received {"connection_id":206025,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:36:06] local.INFO: Processing buffer {"connection_id":206025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:36:06] local.INFO: Packet analysis {"connection_id":206025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:36:06] local.INFO: Extracted packet for processing {"connection_id":206025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543900928001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:36:06] 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-10-05 13:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791187414000,"timestamp_ms":1791187414000,"timestamp_seconds":1791187414,"priority":1,"record_length":96,"hex_timestamp":"000001a10b16ebf0"} 
[2026-10-05 13:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:36:06] 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-10-05 13: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 13:36:06] 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-10-05 13: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-10-05 13:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":206025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":206025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":206025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:36:06] 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-10-05 13:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543900928001,"66":12743,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543900928001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:36:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:36:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543900928001,"power":12743,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":206025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967594,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:36:06] local.INFO: GPS data processed {"connection_id":206025,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:36:06] local.INFO: Acknowledgment sent {"connection_id":206025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:36:06] local.INFO: TCP Data received {"connection_id":206024,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b175950012d7e944005af78b80011000823..."} 
[2026-10-05 13:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b175950012d7e944005af78b80011000823..."} 
[2026-10-05 13:36:06] local.INFO: Processing buffer {"connection_id":206024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b175950012d7e944005af78b80011000823..."} 
[2026-10-05 13:36:06] local.INFO: Packet analysis {"connection_id":206024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b17"} 
[2026-10-05 13:36:06] local.INFO: Extracted packet for processing {"connection_id":206024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b17"} 
[2026-10-05 13:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763270208,"raw_latitude":95385784,"longitude_deg":76.3270208,"latitude_deg":9.5385784,"altitude":17,"angle":8,"satellites":35,"speed":14,"hex_longitude":"2d7e9440","hex_latitude":"05af78b8","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543984640001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1899092804370432,"note":"Value kept but may cause issues"} 
[2026-10-05 13:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121126275983241216,"note":"Value kept but may cause issues"} 
[2026-10-05 13:36: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-10-05 13:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791187442000,"timestamp_ms":1791187442000,"timestamp_seconds":1791187442,"priority":1,"record_length":96,"hex_timestamp":"000001a10b175950"} 
[2026-10-05 13:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:36:06] 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-10-05 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-05 13:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":206024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":206024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":206024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543984640001,"66":27974,"27":206,"85":12544,"24":14,"16":1899092804370432,"45":9121126275983241216},"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-10-05 13:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543984640001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:36:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-10-05 13:36:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1899092804370432,"km_value":1899092804370.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121126275983241216,"description":"Unknown IO ID 45"} 
[2026-10-05 13:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543984640001,"power":27974,"unknown_27":206,"unknown_85":12544,"ignition":14,"odometer":null,"unknown_45":9121126275983241216}} 
[2026-10-05 13:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":206024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:36:06] local.INFO: GPS data processed {"connection_id":206024,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:36:06] local.INFO: Acknowledgment sent {"connection_id":206024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:36:07] local.INFO: TCP Data received {"connection_id":206024,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1768f0012d7e93c005af7fe80013016622..."} 
[2026-10-05 13:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1768f0012d7e93c005af7fe80013016622..."} 
[2026-10-05 13:36:07] local.INFO: Processing buffer {"connection_id":206024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1768f0012d7e93c005af7fe80013016622..."} 
[2026-10-05 13:36:07] local.INFO: Packet analysis {"connection_id":206024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b17"} 
[2026-10-05 13:36:07] local.INFO: Extracted packet for processing {"connection_id":206024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b17"} 
[2026-10-05 13:36:07] local.INFO: GPS Element Parsed {"raw_longitude":763270080,"raw_latitude":95387624,"longitude_deg":76.327008,"latitude_deg":9.5387624,"altitude":19,"angle":358,"satellites":34,"speed":22,"hex_longitude":"2d7e93c0","hex_latitude":"05af7fe8","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543985152001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1899182998683648,"note":"Value kept but may cause issues"} 
[2026-10-05 13:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9120985538495035392,"note":"Value kept but may cause issues"} 
[2026-10-05 13:36: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-10-05 13:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791187446000,"timestamp_ms":1791187446000,"timestamp_seconds":1791187446,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1768f0"} 
[2026-10-05 13:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:36: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-10-05 13: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 13:36:07] 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-10-05 13: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-10-05 13:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":206024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":206024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":206024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:36: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-10-05 13:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543985152001,"66":27876,"27":206,"85":12544,"24":22,"16":1899182998683648,"45":9120985538495035392},"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-10-05 13:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543985152001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:36:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-10-05 13:36:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1899182998683648,"km_value":1899182998683.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9120985538495035392,"description":"Unknown IO ID 45"} 
[2026-10-05 13:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543985152001,"power":27876,"unknown_27":206,"unknown_85":12544,"ignition":22,"odometer":null,"unknown_45":9120985538495035392}} 
[2026-10-05 13:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":206024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:36:07] local.INFO: GPS data processed {"connection_id":206024,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:36:07] local.INFO: Acknowledgment sent {"connection_id":206024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:36:09] local.INFO: TCP Data received {"connection_id":204611,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:36:09] local.INFO: Processing buffer {"connection_id":204611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:36:09] local.INFO: IMEI packet received {"connection_id":204611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":204611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:36:10] local.INFO: TCP Data received {"connection_id":204611,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b170748012d1768800720d9a8003800de25..."} 
[2026-10-05 13:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b170748012d1768800720d9a8003800de25..."} 
[2026-10-05 13:36:10] local.INFO: Processing buffer {"connection_id":204611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b170748012d1768800720d9a8003800de25..."} 
[2026-10-05 13:36:10] local.INFO: Packet analysis {"connection_id":204611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b17"} 
[2026-10-05 13:36:10] local.INFO: Extracted packet for processing {"connection_id":204611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b17"} 
[2026-10-05 13:36:10] local.INFO: GPS Element Parsed {"raw_longitude":756508800,"raw_latitude":119593384,"longitude_deg":75.65088,"latitude_deg":11.9593384,"altitude":56,"angle":222,"satellites":37,"speed":46,"hex_longitude":"2d176880","hex_latitude":"0720d9a8","is_valid_coordinates":true} 
[2026-10-05 13:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543977728001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25017862376652800,"note":"Value kept but may cause issues"} 
[2026-10-05 13:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1693423859253133312,"note":"Value kept but may cause issues"} 
[2026-10-05 13:36:10] 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-10-05 13:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791187421000,"timestamp_ms":1791187421000,"timestamp_seconds":1791187421,"priority":1,"record_length":96,"hex_timestamp":"000001a10b170748"} 
[2026-10-05 13:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-05 13:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:36:10] 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-10-05 13:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543977728001,"66":13167,"107":206,"83":41984,"24":46,"16":25017862376652800,"45":1693423859253133312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-10-05 13:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543977728001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:36:10] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-10-05 13:36:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25017862376652800,"km_value":25017862376652.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1693423859253133312,"description":"Unknown IO ID 45"} 
[2026-10-05 13:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543977728001,"power":13167,"unknown_107":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1693423859253133312}} 
[2026-10-05 13:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":204611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:36:10] local.INFO: GPS data processed {"connection_id":204611,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:36:10] local.INFO: Acknowledgment sent {"connection_id":204611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:36:37] local.INFO: TCP Data received {"connection_id":206025,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:36:37] local.INFO: Processing buffer {"connection_id":206025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:36:37] local.INFO: Packet analysis {"connection_id":206025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:36:37] local.INFO: Extracted packet for processing {"connection_id":206025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:36:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543900928001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:36:37] 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-10-05 13:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791187414000,"timestamp_ms":1791187414000,"timestamp_seconds":1791187414,"priority":1,"record_length":96,"hex_timestamp":"000001a10b16ebf0"} 
[2026-10-05 13:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:36:37] 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-10-05 13:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 13:36:37] 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-10-05 13:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:36:37] 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-10-05 13:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543900928001,"66":12743,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543900928001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:36:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:36:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543900928001,"power":12743,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":206025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:36:37] local.INFO: GPS data processed {"connection_id":206025,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:36:37] local.INFO: Acknowledgment sent {"connection_id":206025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:36:37] local.INFO: TCP Data received {"connection_id":206024,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1797d0012d7e93c005afa4980012000126..."} 
[2026-10-05 13:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1797d0012d7e93c005afa4980012000126..."} 
[2026-10-05 13:36:37] local.INFO: Processing buffer {"connection_id":206024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1797d0012d7e93c005afa4980012000126..."} 
[2026-10-05 13:36:37] local.INFO: Packet analysis {"connection_id":206024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b17"} 
[2026-10-05 13:36:37] local.INFO: Extracted packet for processing {"connection_id":206024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b17"} 
[2026-10-05 13:36:37] local.INFO: GPS Element Parsed {"raw_longitude":763270080,"raw_latitude":95397016,"longitude_deg":76.327008,"latitude_deg":9.5397016,"altitude":18,"angle":1,"satellites":38,"speed":36,"hex_longitude":"2d7e93c0","hex_latitude":"05afa498","is_valid_coordinates":true} 
[2026-10-05 13:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543986176001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1899638265217024,"note":"Value kept but may cause issues"} 
[2026-10-05 13:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9120844801007151104,"note":"Value kept but may cause issues"} 
[2026-10-05 13:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791187458000,"timestamp_ms":1791187458000,"timestamp_seconds":1791187458,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1797d0"} 
[2026-10-05 13:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:36:37] 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-10-05 13:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-05 13:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543986176001,"66":27865,"250":206,"85":12544,"24":36,"16":1899638265217024,"45":9120844801007151104},"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-10-05 13:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543986176001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:36:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 13:36:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1899638265217024,"km_value":1899638265217.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9120844801007151104,"description":"Unknown IO ID 45"} 
[2026-10-05 13:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543986176001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":36,"odometer":null,"unknown_45":9120844801007151104}} 
[2026-10-05 13:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":206024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:36:37] local.INFO: GPS data processed {"connection_id":206024,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:36:37] local.INFO: Acknowledgment sent {"connection_id":206024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:36:41] local.INFO: TCP Data received {"connection_id":204611,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b18cc68012d162180071fe3380026010223..."} 
[2026-10-05 13:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b18cc68012d162180071fe3380026010223..."} 
[2026-10-05 13:36:41] local.INFO: Processing buffer {"connection_id":204611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b18cc68012d162180071fe3380026010223..."} 
[2026-10-05 13:36:41] local.INFO: Packet analysis {"connection_id":204611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b18"} 
[2026-10-05 13:36:41] local.INFO: Extracted packet for processing {"connection_id":204611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b18"} 
[2026-10-05 13:36:41] local.INFO: GPS Element Parsed {"raw_longitude":756425088,"raw_latitude":119530296,"longitude_deg":75.6425088,"latitude_deg":11.9530296,"altitude":38,"angle":258,"satellites":35,"speed":37,"hex_longitude":"2d162180","hex_latitude":"071fe338","is_valid_coordinates":true} 
[2026-10-05 13:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544007936001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25022951912898560,"note":"Value kept but may cause issues"} 
[2026-10-05 13:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1600466748177055744,"note":"Value kept but may cause issues"} 
[2026-10-05 13:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791187537000,"timestamp_ms":1791187537000,"timestamp_seconds":1791187537,"priority":1,"record_length":96,"hex_timestamp":"000001a10b18cc68"} 
[2026-10-05 13:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:36:41] 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-10-05 13:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-05 13:36:41] 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-10-05 13:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:36:41] 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-10-05 13:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544007936001,"66":14157,"87":206,"83":41984,"24":37,"16":25022951912898560,"45":1600466748177055744},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-10-05 13:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544007936001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:36:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-10-05 13:36:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25022951912898560,"km_value":25022951912898.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1600466748177055744,"description":"Unknown IO ID 45"} 
[2026-10-05 13:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544007936001,"power":14157,"unknown_87":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1600466748177055744}} 
[2026-10-05 13:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":204611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:36:41] local.INFO: GPS data processed {"connection_id":204611,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:36:41] local.INFO: Acknowledgment sent {"connection_id":204611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:36:55] local.INFO: TCP Data received {"connection_id":204481,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:36:55] local.INFO: Processing buffer {"connection_id":204481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:36:55] local.INFO: IMEI packet received {"connection_id":204481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":204481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:36:55] local.INFO: TCP Data received {"connection_id":204481,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:36:55] local.INFO: Processing buffer {"connection_id":204481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:36:55] local.INFO: IMEI packet received {"connection_id":204481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":204481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:37:00] local.INFO: TCP Data received {"connection_id":204482,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:37:00] local.INFO: Processing buffer {"connection_id":204482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:37:00] local.INFO: IMEI packet received {"connection_id":204482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":204482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:37:00] local.INFO: TCP Data received {"connection_id":204481,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:37:00] local.INFO: Processing buffer {"connection_id":204481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:37:00] local.INFO: IMEI packet received {"connection_id":204481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":204481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:37:00] local.INFO: TCP Data received {"connection_id":204481,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b191e70012d7ea10005b10250000b000129..."} 
[2026-10-05 13:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b191e70012d7ea10005b10250000b000129..."} 
[2026-10-05 13:37:00] local.INFO: Processing buffer {"connection_id":204481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b191e70012d7ea10005b10250000b000129..."} 
[2026-10-05 13:37:00] local.INFO: Packet analysis {"connection_id":204481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b19"} 
[2026-10-05 13:37:00] local.INFO: Extracted packet for processing {"connection_id":204481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b19"} 
[2026-10-05 13:37:00] local.INFO: GPS Element Parsed {"raw_longitude":763273472,"raw_latitude":95486544,"longitude_deg":76.3273472,"latitude_deg":9.5486544,"altitude":11,"angle":1,"satellites":41,"speed":40,"hex_longitude":"2d7ea100","hex_latitude":"05b10250","is_valid_coordinates":true} 
[2026-10-05 13:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544012288001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1903989067087872,"note":"Value kept but may cause issues"} 
[2026-10-05 13:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124222500750702592,"note":"Value kept but may cause issues"} 
[2026-10-05 13:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791187558000,"timestamp_ms":1791187558000,"timestamp_seconds":1791187558,"priority":1,"record_length":96,"hex_timestamp":"000001a10b191e70"} 
[2026-10-05 13:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:37: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-10-05 13:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 13:37:00] 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-10-05 13:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:37: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-10-05 13:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544012288001,"66":27974,"92":206,"85":12544,"24":40,"16":1903989067087872,"45":9124222500750702592},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-10-05 13:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544012288001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:37:00] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-10-05 13:37:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1903989067087872,"km_value":1903989067087.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124222500750702592,"description":"Unknown IO ID 45"} 
[2026-10-05 13:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544012288001,"power":27974,"unknown_92":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9124222500750702592}} 
[2026-10-05 13:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":204481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:37:00] local.INFO: GPS data processed {"connection_id":204481,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:37:00] local.INFO: Acknowledgment sent {"connection_id":204481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:37:04] local.INFO: TCP Data received {"connection_id":204482,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:37:04] local.INFO: Processing buffer {"connection_id":204482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:37:04] local.INFO: IMEI packet received {"connection_id":204482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":204482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:37:05] local.INFO: TCP Data received {"connection_id":204481,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b194580012d7ea24005b126d0000b00022a..."} 
[2026-10-05 13:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b194580012d7ea24005b126d0000b00022a..."} 
[2026-10-05 13:37:05] local.INFO: Processing buffer {"connection_id":204481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b194580012d7ea24005b126d0000b00022a..."} 
[2026-10-05 13:37:05] local.INFO: Packet analysis {"connection_id":204481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b19"} 
[2026-10-05 13:37:05] local.INFO: Extracted packet for processing {"connection_id":204481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b19"} 
[2026-10-05 13:37:05] local.INFO: GPS Element Parsed {"raw_longitude":763273792,"raw_latitude":95495888,"longitude_deg":76.3273792,"latitude_deg":9.5495888,"altitude":11,"angle":2,"satellites":42,"speed":32,"hex_longitude":"2d7ea240","hex_latitude":"05b126d0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544014848001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1904440038653952,"note":"Value kept but may cause issues"} 
[2026-10-05 13:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124574344473890816,"note":"Value kept but may cause issues"} 
[2026-10-05 13:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791187568000,"timestamp_ms":1791187568000,"timestamp_seconds":1791187568,"priority":1,"record_length":96,"hex_timestamp":"000001a10b194580"} 
[2026-10-05 13:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13: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-10-05 13:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 13:37: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-10-05 13: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-10-05 13:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544014848001,"66":28006,"92":206,"85":12544,"24":32,"16":1904440038653952,"45":9124574344473890816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-10-05 13:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544014848001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:37:05] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-10-05 13:37:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1904440038653952,"km_value":1904440038653.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124574344473890816,"description":"Unknown IO ID 45"} 
[2026-10-05 13:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544014848001,"power":28006,"unknown_92":206,"unknown_85":12544,"ignition":32,"odometer":null,"unknown_45":9124574344473890816}} 
[2026-10-05 13:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":204481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:37:05] local.INFO: GPS data processed {"connection_id":204481,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:37:05] local.INFO: Acknowledgment sent {"connection_id":204481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:37:05] local.INFO: TCP Data received {"connection_id":204482,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:37:05] local.INFO: Processing buffer {"connection_id":204482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:37:05] local.INFO: Packet analysis {"connection_id":204482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:37:05] local.INFO: Extracted packet for processing {"connection_id":204482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:37:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543900928001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:37:05] 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-10-05 13:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791187414000,"timestamp_ms":1791187414000,"timestamp_seconds":1791187414,"priority":1,"record_length":96,"hex_timestamp":"000001a10b16ebf0"} 
[2026-10-05 13:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:37: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-10-05 13: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 13:37:05] 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-10-05 13: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-10-05 13:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:37:05] 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-10-05 13:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543900928001,"66":12743,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543900928001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:37:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:37:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543900928001,"power":12743,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":204482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:37:05] local.INFO: GPS data processed {"connection_id":204482,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:37:05] local.INFO: Acknowledgment sent {"connection_id":204482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:37:06] local.INFO: TCP Data received {"connection_id":204483,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:37:06] local.INFO: Processing buffer {"connection_id":204483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:37:06] local.INFO: IMEI packet received {"connection_id":204483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":204483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:37:08] local.INFO: TCP Data received {"connection_id":204483,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:37:08] local.INFO: Processing buffer {"connection_id":204483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:37:08] local.INFO: IMEI packet received {"connection_id":204483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":204483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:37:22] local.INFO: TCP Data received {"connection_id":204483,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:37:22] local.INFO: Processing buffer {"connection_id":204483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:37:22] local.INFO: IMEI packet received {"connection_id":204483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":204483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:37:24] local.INFO: TCP Data received {"connection_id":204483,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b18f378012d15fd80071fde500023010824..."} 
[2026-10-05 13:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b18f378012d15fd80071fde500023010824..."} 
[2026-10-05 13:37:24] local.INFO: Processing buffer {"connection_id":204483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b18f378012d15fd80071fde500023010824..."} 
[2026-10-05 13:37:24] local.INFO: Packet analysis {"connection_id":204483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b18"} 
[2026-10-05 13:37:24] local.INFO: Extracted packet for processing {"connection_id":204483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b18"} 
[2026-10-05 13:37:24] local.INFO: GPS Element Parsed {"raw_longitude":756415872,"raw_latitude":119529040,"longitude_deg":75.6415872,"latitude_deg":11.952904,"altitude":35,"angle":264,"satellites":36,"speed":35,"hex_longitude":"2d15fd80","hex_latitude":"071fde50","is_valid_coordinates":true} 
[2026-10-05 13:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544009472001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25023394294530048,"note":"Value kept but may cause issues"} 
[2026-10-05 13:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1594696511153977344,"note":"Value kept but may cause issues"} 
[2026-10-05 13:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1791187547000,"timestamp_ms":1791187547000,"timestamp_seconds":1791187547,"priority":1,"record_length":96,"hex_timestamp":"000001a10b18f378"} 
[2026-10-05 13:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:37:24] 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-10-05 13:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-05 13:37:24] 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-10-05 13:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":204483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":204483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":204483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:37:24] 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-10-05 13:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544009472001,"66":14113,"87":206,"83":41984,"24":35,"16":25023394294530048,"45":1594696511153977344},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-10-05 13:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544009472001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:37:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-10-05 13:37:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25023394294530048,"km_value":25023394294530.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1594696511153977344,"description":"Unknown IO ID 45"} 
[2026-10-05 13:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544009472001,"power":14113,"unknown_87":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1594696511153977344}} 
[2026-10-05 13:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":204483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:37:24] local.INFO: GPS data processed {"connection_id":204483,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:37:24] local.INFO: Acknowledgment sent {"connection_id":204483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:37:24] local.INFO: TCP Data received {"connection_id":204483,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b191e70012d15d880071fd8c80020010526..."} 
[2026-10-05 13:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b191e70012d15d880071fd8c80020010526..."} 
[2026-10-05 13:37:24] local.INFO: Processing buffer {"connection_id":204483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b191e70012d15d880071fd8c80020010526..."} 
[2026-10-05 13:37:24] local.INFO: Packet analysis {"connection_id":204483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b19"} 
[2026-10-05 13:37:24] local.INFO: Extracted packet for processing {"connection_id":204483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b19"} 
[2026-10-05 13:37:24] local.INFO: GPS Element Parsed {"raw_longitude":756406400,"raw_latitude":119527624,"longitude_deg":75.64064,"latitude_deg":11.9527624,"altitude":32,"angle":261,"satellites":38,"speed":31,"hex_longitude":"2d15d880","hex_latitude":"071fd8c8","is_valid_coordinates":true} 
[2026-10-05 13:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544012032001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25023845266096128,"note":"Value kept but may cause issues"} 
[2026-10-05 13:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1584563411992072192,"note":"Value kept but may cause issues"} 
[2026-10-05 13:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1791187558000,"timestamp_ms":1791187558000,"timestamp_seconds":1791187558,"priority":1,"record_length":96,"hex_timestamp":"000001a10b191e70"} 
[2026-10-05 13:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-10-05 13:37:24] 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-10-05 13:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":204483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":204483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":204483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:37:24] 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-10-05 13:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544012032001,"66":14157,"87":206,"83":41984,"24":31,"16":25023845266096128,"45":1584563411992072192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-10-05 13:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544012032001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:37:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-10-05 13:37:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25023845266096128,"km_value":25023845266096.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1584563411992072192,"description":"Unknown IO ID 45"} 
[2026-10-05 13:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544012032001,"power":14157,"unknown_87":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1584563411992072192}} 
[2026-10-05 13:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":204483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:37:25] local.INFO: GPS data processed {"connection_id":204483,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:37:25] local.INFO: Acknowledgment sent {"connection_id":204483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:37:36] local.INFO: TCP Data received {"connection_id":204481,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b196c90012d7ea30005b149e0000c00012a..."} 
[2026-10-05 13:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b196c90012d7ea30005b149e0000c00012a..."} 
[2026-10-05 13:37:36] local.INFO: Processing buffer {"connection_id":204481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b196c90012d7ea30005b149e0000c00012a..."} 
[2026-10-05 13:37:36] local.INFO: Packet analysis {"connection_id":204481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b19"} 
[2026-10-05 13:37:36] local.INFO: Extracted packet for processing {"connection_id":204481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b19"} 
[2026-10-05 13:37:36] local.INFO: GPS Element Parsed {"raw_longitude":763273984,"raw_latitude":95504864,"longitude_deg":76.3273984,"latitude_deg":9.5504864,"altitude":12,"angle":1,"satellites":42,"speed":38,"hex_longitude":"2d7ea300","hex_latitude":"05b149e0","is_valid_coordinates":true} 
[2026-10-05 13:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544017408001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1904878125318144,"note":"Value kept but may cause issues"} 
[2026-10-05 13:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124926188197171200,"note":"Value kept but may cause issues"} 
[2026-10-05 13:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791187578000,"timestamp_ms":1791187578000,"timestamp_seconds":1791187578,"priority":1,"record_length":96,"hex_timestamp":"000001a10b196c90"} 
[2026-10-05 13:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:37: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-10-05 13:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 13:37:36] 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-10-05 13:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544017408001,"66":27332,"58":206,"85":12544,"24":38,"16":1904878125318144,"45":9124926188197171200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-10-05 13:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544017408001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:37:36] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-10-05 13:37:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1904878125318144,"km_value":1904878125318.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124926188197171200,"description":"Unknown IO ID 45"} 
[2026-10-05 13:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544017408001,"power":27332,"unknown_58":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9124926188197171200}} 
[2026-10-05 13:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":204481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:37:36] local.INFO: GPS data processed {"connection_id":204481,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:37:36] local.INFO: Acknowledgment sent {"connection_id":204481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:37:37] local.INFO: TCP Data received {"connection_id":204482,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:37:37] local.INFO: Processing buffer {"connection_id":204482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:37:37] local.INFO: Packet analysis {"connection_id":204482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:37:37] local.INFO: Extracted packet for processing {"connection_id":204482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:37:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543900928001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:37:37] 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-10-05 13:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791187414000,"timestamp_ms":1791187414000,"timestamp_seconds":1791187414,"priority":1,"record_length":96,"hex_timestamp":"000001a10b16ebf0"} 
[2026-10-05 13:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:37:37] 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-10-05 13: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 13:37:37] 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-10-05 13: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-10-05 13:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:37: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-10-05 13:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543900928001,"66":12743,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543900928001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:37:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:37:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543900928001,"power":12743,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":204482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967607,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:37:37] local.INFO: GPS data processed {"connection_id":204482,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:37:37] local.INFO: Acknowledgment sent {"connection_id":204482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:37:54] local.INFO: TCP Data received {"connection_id":206027,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:37:54] local.INFO: Processing buffer {"connection_id":206027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:37:54] local.INFO: IMEI packet received {"connection_id":206027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":206027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:37:54] local.INFO: TCP Data received {"connection_id":204484,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:37:54] local.INFO: Processing buffer {"connection_id":204484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:37:54] local.INFO: IMEI packet received {"connection_id":204484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 13:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":204484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:37:54] local.INFO: TCP Data received {"connection_id":206027,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:37:54] local.INFO: Processing buffer {"connection_id":206027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:37:54] local.INFO: IMEI packet received {"connection_id":206027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":206027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:37:59] local.INFO: TCP Data received {"connection_id":204612,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:37:59] local.INFO: Processing buffer {"connection_id":204612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:37:59] local.INFO: IMEI packet received {"connection_id":204612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":204612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:38:00] local.INFO: TCP Data received {"connection_id":206027,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:38:00] local.INFO: Processing buffer {"connection_id":206027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:38:00] local.INFO: IMEI packet received {"connection_id":206027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":206027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:38:01] local.INFO: TCP Data received {"connection_id":206027,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1993a0012d7ea48005b16e70000e00042a..."} 
[2026-10-05 13:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1993a0012d7ea48005b16e70000e00042a..."} 
[2026-10-05 13:38:01] local.INFO: Processing buffer {"connection_id":206027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1993a0012d7ea48005b16e70000e00042a..."} 
[2026-10-05 13:38:01] local.INFO: Packet analysis {"connection_id":206027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b19"} 
[2026-10-05 13:38:01] local.INFO: Extracted packet for processing {"connection_id":206027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b19"} 
[2026-10-05 13:38:01] local.INFO: GPS Element Parsed {"raw_longitude":763274368,"raw_latitude":95514224,"longitude_deg":76.3274368,"latitude_deg":9.5514224,"altitude":14,"angle":4,"satellites":42,"speed":36,"hex_longitude":"2d7ea480","hex_latitude":"05b16e70","is_valid_coordinates":true} 
[2026-10-05 13:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544019968001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1905329096884224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125137294432002048,"note":"Value kept but may cause issues"} 
[2026-10-05 13:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791187588000,"timestamp_ms":1791187588000,"timestamp_seconds":1791187588,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1993a0"} 
[2026-10-05 13:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:38:01] 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-10-05 13:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-05 13:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:38:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":206027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":206027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":206027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:38: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-10-05 13:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544019968001,"66":27908,"58":206,"85":12544,"24":36,"16":1905329096884224,"45":9125137294432002048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-10-05 13:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544019968001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:38:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-10-05 13:38:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1905329096884224,"km_value":1905329096884.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125137294432002048,"description":"Unknown IO ID 45"} 
[2026-10-05 13:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544019968001,"power":27908,"unknown_58":206,"unknown_85":12544,"ignition":36,"odometer":null,"unknown_45":9125137294432002048}} 
[2026-10-05 13:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":206027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:38:01] local.INFO: GPS data processed {"connection_id":206027,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:38:01] local.INFO: Acknowledgment sent {"connection_id":206027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:38:04] local.INFO: TCP Data received {"connection_id":204613,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:38:04] local.INFO: Processing buffer {"connection_id":204613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:38:04] local.INFO: IMEI packet received {"connection_id":204613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":204613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:38:04] local.INFO: TCP Data received {"connection_id":204612,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:38:04] local.INFO: Processing buffer {"connection_id":204612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:38:04] local.INFO: IMEI packet received {"connection_id":204612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":204612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:38:05] local.INFO: TCP Data received {"connection_id":204613,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:38:05] local.INFO: Processing buffer {"connection_id":204613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:38:05] local.INFO: IMEI packet received {"connection_id":204613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":204613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:38:05] local.INFO: TCP Data received {"connection_id":204612,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:38:05] local.INFO: Processing buffer {"connection_id":204612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:38:05] local.INFO: Packet analysis {"connection_id":204612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:38:05] local.INFO: Extracted packet for processing {"connection_id":204612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:38:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543900928001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:38:05] 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-10-05 13:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791187414000,"timestamp_ms":1791187414000,"timestamp_seconds":1791187414,"priority":1,"record_length":96,"hex_timestamp":"000001a10b16ebf0"} 
[2026-10-05 13:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:38: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-10-05 13: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 13:38:05] 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-10-05 13: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-10-05 13:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543900928001,"66":12743,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543900928001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:38:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:38:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543900928001,"power":12743,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":204612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967609,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:38:05] local.INFO: GPS data processed {"connection_id":204612,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:38:05] local.INFO: Acknowledgment sent {"connection_id":204612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:38:08] local.INFO: TCP Data received {"connection_id":204613,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:38:08] local.INFO: Processing buffer {"connection_id":204613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:38:08] local.INFO: IMEI packet received {"connection_id":204613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":204613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:38:10] local.INFO: TCP Data received {"connection_id":204613,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:38:10] local.INFO: Processing buffer {"connection_id":204613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:38:10] local.INFO: IMEI packet received {"connection_id":204613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":204613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:38:10] local.INFO: TCP Data received {"connection_id":204613,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1a6a78012d14cf80071f8a30003400ff25..."} 
[2026-10-05 13:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1a6a78012d14cf80071f8a30003400ff25..."} 
[2026-10-05 13:38:10] local.INFO: Processing buffer {"connection_id":204613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1a6a78012d14cf80071f8a30003400ff25..."} 
[2026-10-05 13:38:10] local.INFO: Packet analysis {"connection_id":204613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1a"} 
[2026-10-05 13:38:10] local.INFO: Extracted packet for processing {"connection_id":204613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1a"} 
[2026-10-05 13:38:10] local.INFO: GPS Element Parsed {"raw_longitude":756338560,"raw_latitude":119507504,"longitude_deg":75.633856,"latitude_deg":11.9507504,"altitude":52,"angle":255,"satellites":37,"speed":21,"hex_longitude":"2d14cf80","hex_latitude":"071f8a30","is_valid_coordinates":true} 
[2026-10-05 13:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544036608001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25027307009736704,"note":"Value kept but may cause issues"} 
[2026-10-05 13:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1499557969019940864,"note":"Value kept but may cause issues"} 
[2026-10-05 13:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791187643000,"timestamp_ms":1791187643000,"timestamp_seconds":1791187643,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1a6a78"} 
[2026-10-05 13:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 13:38:10] 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-10-05 13:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:38:10] 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-10-05 13:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544036608001,"66":13993,"12":206,"83":41984,"24":21,"16":25027307009736704,"45":1499557969019940864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-10-05 13:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544036608001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:38:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-10-05 13:38:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25027307009736704,"km_value":25027307009736.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1499557969019940864,"description":"Unknown IO ID 45"} 
[2026-10-05 13:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544036608001,"power":13993,"unknown_12":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1499557969019940864}} 
[2026-10-05 13:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":204613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:38:11] local.INFO: GPS data processed {"connection_id":204613,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:38:11] local.INFO: Acknowledgment sent {"connection_id":204613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:38:32] local.INFO: TCP Data received {"connection_id":206027,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b19bab0012d7ea70005b19298000f00042a..."} 
[2026-10-05 13:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b19bab0012d7ea70005b19298000f00042a..."} 
[2026-10-05 13:38:32] local.INFO: Processing buffer {"connection_id":206027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b19bab0012d7ea70005b19298000f00042a..."} 
[2026-10-05 13:38:32] local.INFO: Packet analysis {"connection_id":206027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b19"} 
[2026-10-05 13:38:32] local.INFO: Extracted packet for processing {"connection_id":206027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b19"} 
[2026-10-05 13:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763275008,"raw_latitude":95523480,"longitude_deg":76.3275008,"latitude_deg":9.552348,"altitude":15,"angle":4,"satellites":42,"speed":38,"hex_longitude":"2d7ea700","hex_latitude":"05b19298","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544022528001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1905780068450304,"note":"Value kept but may cause issues"} 
[2026-10-05 13:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125559506899464192,"note":"Value kept but may cause issues"} 
[2026-10-05 13:38:32] 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-10-05 13:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791187598000,"timestamp_ms":1791187598000,"timestamp_seconds":1791187598,"priority":1,"record_length":96,"hex_timestamp":"000001a10b19bab0"} 
[2026-10-05 13:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:38:32] 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-10-05 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 13:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544022528001,"66":27974,"93":206,"85":12544,"24":38,"16":1905780068450304,"45":9125559506899464192},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-10-05 13:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544022528001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:38:32] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-10-05 13:38:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1905780068450304,"km_value":1905780068450.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125559506899464192,"description":"Unknown IO ID 45"} 
[2026-10-05 13:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544022528001,"power":27974,"unknown_93":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9125559506899464192}} 
[2026-10-05 13:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":206027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:38:32] local.INFO: GPS data processed {"connection_id":206027,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:38:32] local.INFO: Acknowledgment sent {"connection_id":206027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:38:34] local.INFO: TCP Data received {"connection_id":207566,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:38:34] local.INFO: Processing buffer {"connection_id":207566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:38:34] local.INFO: IMEI packet received {"connection_id":207566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 13:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":207566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:38:37] local.INFO: TCP Data received {"connection_id":204612,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:38:37] local.INFO: Processing buffer {"connection_id":204612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b16ebf0012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:38:37] local.INFO: Packet analysis {"connection_id":204612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:38:37] local.INFO: Extracted packet for processing {"connection_id":204612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b16"} 
[2026-10-05 13:38:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543900928001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:38:37] 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-10-05 13:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791187414000,"timestamp_ms":1791187414000,"timestamp_seconds":1791187414,"priority":1,"record_length":96,"hex_timestamp":"000001a10b16ebf0"} 
[2026-10-05 13:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:38:37] 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-10-05 13: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 13:38:37] 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-10-05 13: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-10-05 13:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543900928001,"66":12743,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543900928001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:38:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:38:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458543900928001,"power":12743,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":204612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967612,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:38:37] local.INFO: GPS data processed {"connection_id":204612,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:38:37] local.INFO: Acknowledgment sent {"connection_id":204612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:38:42] local.INFO: TCP Data received {"connection_id":204613,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1a7630012d14ca80071f8838003400e524..."} 
[2026-10-05 13:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1a7630012d14ca80071f8838003400e524..."} 
[2026-10-05 13:38:42] local.INFO: Processing buffer {"connection_id":204613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1a7630012d14ca80071f8838003400e524..."} 
[2026-10-05 13:38:42] local.INFO: Packet analysis {"connection_id":204613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1a"} 
[2026-10-05 13:38:42] local.INFO: Extracted packet for processing {"connection_id":204613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1a"} 
[2026-10-05 13:38:42] local.INFO: GPS Element Parsed {"raw_longitude":756337280,"raw_latitude":119507000,"longitude_deg":75.633728,"latitude_deg":11.9507,"altitude":52,"angle":229,"satellites":36,"speed":11,"hex_longitude":"2d14ca80","hex_latitude":"071f8838","is_valid_coordinates":true} 
[2026-10-05 13:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544036608001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25027371434246144,"note":"Value kept but may cause issues"} 
[2026-10-05 13:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1499557969019940864,"note":"Value kept but may cause issues"} 
[2026-10-05 13:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791187646000,"timestamp_ms":1791187646000,"timestamp_seconds":1791187646,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1a7630"} 
[2026-10-05 13:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:38:42] 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-10-05 13:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 13:38:42] 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-10-05 13:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:38:42] 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-10-05 13:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544036608001,"66":13417,"12":206,"83":41984,"24":11,"16":25027371434246144,"45":1499557969019940864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-10-05 13:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544036608001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:38:42] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-10-05 13:38:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25027371434246144,"km_value":25027371434246.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1499557969019940864,"description":"Unknown IO ID 45"} 
[2026-10-05 13:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544036608001,"power":13417,"unknown_12":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1499557969019940864}} 
[2026-10-05 13:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":204613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:38:42] local.INFO: GPS data processed {"connection_id":204613,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:38:42] local.INFO: Acknowledgment sent {"connection_id":204613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:38:55] local.INFO: TCP Data received {"connection_id":207567,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:38:55] local.INFO: Processing buffer {"connection_id":207567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:38:55] local.INFO: IMEI packet received {"connection_id":207567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":207567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:38:59] local.INFO: TCP Data received {"connection_id":204485,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:38:59] local.INFO: Processing buffer {"connection_id":204485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:38:59] local.INFO: IMEI packet received {"connection_id":204485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":204485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:39:00] local.INFO: TCP Data received {"connection_id":207567,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:39:00] local.INFO: Processing buffer {"connection_id":207567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:39:00] local.INFO: IMEI packet received {"connection_id":207567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":207567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:39:01] local.INFO: TCP Data received {"connection_id":207567,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b19ddd8012d7eaa4005b1b7e0000f00052a..."} 
[2026-10-05 13:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b19ddd8012d7eaa4005b1b7e0000f00052a..."} 
[2026-10-05 13:39:01] local.INFO: Processing buffer {"connection_id":207567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b19ddd8012d7eaa4005b1b7e0000f00052a..."} 
[2026-10-05 13:39:01] local.INFO: Packet analysis {"connection_id":207567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b19"} 
[2026-10-05 13:39:01] local.INFO: Extracted packet for processing {"connection_id":207567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b19"} 
[2026-10-05 13:39:01] local.INFO: GPS Element Parsed {"raw_longitude":763275840,"raw_latitude":95533024,"longitude_deg":76.327584,"latitude_deg":9.5533024,"altitude":15,"angle":5,"satellites":42,"speed":46,"hex_longitude":"2d7eaa40","hex_latitude":"05b1b7e0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544025088001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1906243924918272,"note":"Value kept but may cause issues"} 
[2026-10-05 13:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126263194343610368,"note":"Value kept but may cause issues"} 
[2026-10-05 13:39:01] 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-10-05 13:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791187607000,"timestamp_ms":1791187607000,"timestamp_seconds":1791187607,"priority":1,"record_length":96,"hex_timestamp":"000001a10b19ddd8"} 
[2026-10-05 13:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:39:01] 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-10-05 13: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 13:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:39: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-10-05 13:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544025088001,"66":27930,"93":206,"85":12544,"24":46,"16":1906243924918272,"45":9126263194343610368},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-10-05 13:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544025088001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:39:01] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-10-05 13:39:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1906243924918272,"km_value":1906243924918.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126263194343610368,"description":"Unknown IO ID 45"} 
[2026-10-05 13:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544025088001,"power":27930,"unknown_93":206,"unknown_85":12544,"ignition":46,"odometer":null,"unknown_45":9126263194343610368}} 
[2026-10-05 13:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":207567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:39:01] local.INFO: GPS data processed {"connection_id":207567,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:39:01] local.INFO: Acknowledgment sent {"connection_id":207567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:39:04] local.INFO: TCP Data received {"connection_id":204485,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:39:04] local.INFO: Processing buffer {"connection_id":204485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:39:04] local.INFO: IMEI packet received {"connection_id":204485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":204485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:39:05] local.INFO: TCP Data received {"connection_id":204614,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:39:05] local.INFO: Processing buffer {"connection_id":204614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:39:05] local.INFO: IMEI packet received {"connection_id":204614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":204614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:39:05] local.INFO: TCP Data received {"connection_id":204485,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:39:05] local.INFO: Processing buffer {"connection_id":204485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:39:05] local.INFO: Packet analysis {"connection_id":204485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:39:05] local.INFO: Extracted packet for processing {"connection_id":204485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:39:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":39,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543977984001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:39:05] 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-10-05 13:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791187715000,"timestamp_ms":1791187715000,"timestamp_seconds":1791187715,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1b83b8"} 
[2026-10-05 13:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13: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-10-05 13: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:39:05] 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-10-05 13: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-10-05 13:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543977984001,"66":12743,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 13:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543977984001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:39:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:39:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458543977984001,"power":12743,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 13:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":204485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:39:05] local.INFO: GPS data processed {"connection_id":204485,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:39:05] local.INFO: Acknowledgment sent {"connection_id":204485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:39:10] local.INFO: TCP Data received {"connection_id":204614,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:39:10] local.INFO: Processing buffer {"connection_id":204614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:39:10] local.INFO: IMEI packet received {"connection_id":204614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":204614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:39:11] local.INFO: TCP Data received {"connection_id":204614,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1a85d0012d14ca00071f8698003500aa24..."} 
[2026-10-05 13:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1a85d0012d14ca00071f8698003500aa24..."} 
[2026-10-05 13:39:11] local.INFO: Processing buffer {"connection_id":204614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1a85d0012d14ca00071f8698003500aa24..."} 
[2026-10-05 13:39:11] local.INFO: Packet analysis {"connection_id":204614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1a"} 
[2026-10-05 13:39:11] local.INFO: Extracted packet for processing {"connection_id":204614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1a"} 
[2026-10-05 13:39:11] local.INFO: GPS Element Parsed {"raw_longitude":756337152,"raw_latitude":119506584,"longitude_deg":75.6337152,"latitude_deg":11.9506584,"altitude":53,"angle":170,"satellites":36,"speed":5,"hex_longitude":"2d14ca00","hex_latitude":"071f8698","is_valid_coordinates":true} 
[2026-10-05 13:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544037376001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25027397204049920,"note":"Value kept but may cause issues"} 
[2026-10-05 13:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1498150594136258560,"note":"Value kept but may cause issues"} 
[2026-10-05 13:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791187650000,"timestamp_ms":1791187650000,"timestamp_seconds":1791187650,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1a85d0"} 
[2026-10-05 13:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:39:11] 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-10-05 13:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-10-05 13:39:11] 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-10-05 13:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:39:11] 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-10-05 13:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544037376001,"66":13450,"12":206,"83":41984,"24":5,"16":25027397204049920,"45":1498150594136258560},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-10-05 13:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544037376001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:39:11] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-10-05 13:39:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25027397204049920,"km_value":25027397204049.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1498150594136258560,"description":"Unknown IO ID 45"} 
[2026-10-05 13:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544037376001,"power":13450,"unknown_12":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1498150594136258560}} 
[2026-10-05 13:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":204614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:39:11] local.INFO: GPS data processed {"connection_id":204614,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:39:11] local.INFO: Acknowledgment sent {"connection_id":204614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:39:32] local.INFO: TCP Data received {"connection_id":207567,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b19f930012d7ead8005b1da58000d00062a..."} 
[2026-10-05 13:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b19f930012d7ead8005b1da58000d00062a..."} 
[2026-10-05 13:39:32] local.INFO: Processing buffer {"connection_id":207567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b19f930012d7ead8005b1da58000d00062a..."} 
[2026-10-05 13:39:32] local.INFO: Packet analysis {"connection_id":207567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b19"} 
[2026-10-05 13:39:32] local.INFO: Extracted packet for processing {"connection_id":207567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b19"} 
[2026-10-05 13:39:32] local.INFO: GPS Element Parsed {"raw_longitude":763276672,"raw_latitude":95541848,"longitude_deg":76.3276672,"latitude_deg":9.5541848,"altitude":13,"angle":6,"satellites":42,"speed":54,"hex_longitude":"2d7ead80","hex_latitude":"05b1da58","is_valid_coordinates":true} 
[2026-10-05 13:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544027392001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1906673421647872,"note":"Value kept but may cause issues"} 
[2026-10-05 13:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127177988020363264,"note":"Value kept but may cause issues"} 
[2026-10-05 13:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791187614000,"timestamp_ms":1791187614000,"timestamp_seconds":1791187614,"priority":1,"record_length":96,"hex_timestamp":"000001a10b19f930"} 
[2026-10-05 13:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:39:32] 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-10-05 13:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-05 13:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544027392001,"66":27930,"58":206,"85":12544,"24":54,"16":1906673421647872,"45":9127177988020363264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-10-05 13:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544027392001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:39:32] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-10-05 13:39:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1906673421647872,"km_value":1906673421647.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127177988020363264,"description":"Unknown IO ID 45"} 
[2026-10-05 13:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544027392001,"power":27930,"unknown_58":206,"unknown_85":12544,"ignition":54,"odometer":null,"unknown_45":9127177988020363264}} 
[2026-10-05 13:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":207567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:39:32] local.INFO: GPS data processed {"connection_id":207567,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:39:32] local.INFO: Acknowledgment sent {"connection_id":207567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:39:37] local.INFO: TCP Data received {"connection_id":204485,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:39:37] local.INFO: Processing buffer {"connection_id":204485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:39:37] local.INFO: Packet analysis {"connection_id":204485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:39:37] local.INFO: Extracted packet for processing {"connection_id":204485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:39:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":39,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543977984001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:39:37] 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-10-05 13:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791187715000,"timestamp_ms":1791187715000,"timestamp_seconds":1791187715,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1b83b8"} 
[2026-10-05 13:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:39:37] 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-10-05 13:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543977984001,"66":12743,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 13:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543977984001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:39:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:39:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458543977984001,"power":12743,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 13:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":204485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:39:37] local.INFO: GPS data processed {"connection_id":204485,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:39:37] local.INFO: Acknowledgment sent {"connection_id":204485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:39:42] local.INFO: TCP Data received {"connection_id":204614,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1a9188012d14ca40071f84c00036009b23..."} 
[2026-10-05 13:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1a9188012d14ca40071f84c00036009b23..."} 
[2026-10-05 13:39:42] local.INFO: Processing buffer {"connection_id":204614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1a9188012d14ca40071f84c00036009b23..."} 
[2026-10-05 13:39:42] local.INFO: Packet analysis {"connection_id":204614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1a"} 
[2026-10-05 13:39:42] local.INFO: Extracted packet for processing {"connection_id":204614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1a"} 
[2026-10-05 13:39:42] local.INFO: GPS Element Parsed {"raw_longitude":756337216,"raw_latitude":119506112,"longitude_deg":75.6337216,"latitude_deg":11.9506112,"altitude":54,"angle":155,"satellites":35,"speed":6,"hex_longitude":"2d14ca40","hex_latitude":"071f84c0","is_valid_coordinates":true} 
[2026-10-05 13:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544038400001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25027418678886400,"note":"Value kept but may cause issues"} 
[2026-10-05 13:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1498009856647796736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791187653000,"timestamp_ms":1791187653000,"timestamp_seconds":1791187653,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1a9188"} 
[2026-10-05 13:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:39:42] 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-10-05 13:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 13:39:42] 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-10-05 13:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:39:42] 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-10-05 13:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544038400001,"66":13450,"12":206,"83":41984,"24":6,"16":25027418678886400,"45":1498009856647796736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-10-05 13:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544038400001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:39:42] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-10-05 13:39:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25027418678886400,"km_value":25027418678886.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1498009856647796736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544038400001,"power":13450,"unknown_12":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1498009856647796736}} 
[2026-10-05 13:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":204614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:39:42] local.INFO: GPS data processed {"connection_id":204614,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:39:42] local.INFO: Acknowledgment sent {"connection_id":204614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:39:54] local.INFO: TCP Data received {"connection_id":206028,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:39:54] local.INFO: Processing buffer {"connection_id":206028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:39:54] local.INFO: IMEI packet received {"connection_id":206028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":206028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:39:55] local.INFO: TCP Data received {"connection_id":206028,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:39:55] local.INFO: Processing buffer {"connection_id":206028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:39:55] local.INFO: IMEI packet received {"connection_id":206028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":206028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:40:00] local.INFO: TCP Data received {"connection_id":206028,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:40:00] local.INFO: Processing buffer {"connection_id":206028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:40:00] local.INFO: IMEI packet received {"connection_id":206028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":206028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:40:01] local.INFO: TCP Data received {"connection_id":206028,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1baeb0012d7eb4c005b33f38000d000028..."} 
[2026-10-05 13:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1baeb0012d7eb4c005b33f38000d000028..."} 
[2026-10-05 13:40:01] local.INFO: Processing buffer {"connection_id":206028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1baeb0012d7eb4c005b33f38000d000028..."} 
[2026-10-05 13:40:01] local.INFO: Packet analysis {"connection_id":206028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:40:01] local.INFO: Extracted packet for processing {"connection_id":206028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:40:01] local.INFO: GPS Element Parsed {"raw_longitude":763278528,"raw_latitude":95633208,"longitude_deg":76.3278528,"latitude_deg":9.5633208,"altitude":13,"angle":0,"satellites":40,"speed":21,"hex_longitude":"2d7eb4c0","hex_latitude":"05b33f38","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544052480001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1911114417831936,"note":"Value kept but may cause issues"} 
[2026-10-05 13:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129992737812361216,"note":"Value kept but may cause issues"} 
[2026-10-05 13:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791187726000,"timestamp_ms":1791187726000,"timestamp_seconds":1791187726,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1baeb0"} 
[2026-10-05 13:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:40:01] 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-10-05 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-05 13:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":206028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":206028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":206028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544052480001,"66":27876,"58":206,"85":12544,"24":21,"16":1911114417831936,"45":9129992737812361216},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-10-05 13:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544052480001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:40:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-10-05 13:40:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1911114417831936,"km_value":1911114417831.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129992737812361216,"description":"Unknown IO ID 45"} 
[2026-10-05 13:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544052480001,"power":27876,"unknown_58":206,"unknown_85":12544,"ignition":21,"odometer":null,"unknown_45":9129992737812361216}} 
[2026-10-05 13:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":206028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:40:01] local.INFO: GPS data processed {"connection_id":206028,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:40:01] local.INFO: Acknowledgment sent {"connection_id":206028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:40:04] local.INFO: TCP Data received {"connection_id":204487,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:40:04] local.INFO: Processing buffer {"connection_id":204487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:40:04] local.INFO: IMEI packet received {"connection_id":204487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":204487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:40:09] local.INFO: TCP Data received {"connection_id":204487,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:40:09] local.INFO: Processing buffer {"connection_id":204487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:40:09] local.INFO: IMEI packet received {"connection_id":204487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":204487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:40:10] local.INFO: TCP Data received {"connection_id":204487,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:40:10] local.INFO: Processing buffer {"connection_id":204487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:40:10] local.INFO: Packet analysis {"connection_id":204487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:40:10] local.INFO: Extracted packet for processing {"connection_id":204487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:40:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":39,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543977984001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:40:10] 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-10-05 13:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791187715000,"timestamp_ms":1791187715000,"timestamp_seconds":1791187715,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1b83b8"} 
[2026-10-05 13:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:40:10] 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-10-05 13:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543977984001,"66":12743,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 13:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543977984001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:40:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458543977984001,"power":12743,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 13:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":204487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:40:10] local.INFO: GPS data processed {"connection_id":204487,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:40:10] local.INFO: Acknowledgment sent {"connection_id":204487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:40:10] local.INFO: TCP Data received {"connection_id":207568,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:40:10] local.INFO: Processing buffer {"connection_id":207568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:40:10] local.INFO: IMEI packet received {"connection_id":207568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":207568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:40:14] local.INFO: TCP Data received {"connection_id":207568,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:40:14] local.INFO: Processing buffer {"connection_id":207568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:40:14] local.INFO: IMEI packet received {"connection_id":207568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":207568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:40:15] local.INFO: TCP Data received {"connection_id":204487,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:40:15] local.INFO: Processing buffer {"connection_id":204487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:40:15] local.INFO: Packet analysis {"connection_id":204487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:40:15] local.INFO: Extracted packet for processing {"connection_id":204487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:40:15] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":39,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543977984001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:40:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 13:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791187715000,"timestamp_ms":1791187715000,"timestamp_seconds":1791187715,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1b83b8"} 
[2026-10-05 13:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543977984001,"66":12743,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 13:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543977984001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:40:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:40:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458543977984001,"power":12743,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 13:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":204487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967622,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:40:15] local.INFO: GPS data processed {"connection_id":204487,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:40:15] local.INFO: Acknowledgment sent {"connection_id":204487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:40:16] local.INFO: TCP Data received {"connection_id":207568,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1a9570012d14ca80071f8408003600ab22..."} 
[2026-10-05 13:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1a9570012d14ca80071f8408003600ab22..."} 
[2026-10-05 13:40:16] local.INFO: Processing buffer {"connection_id":207568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1a9570012d14ca80071f8408003600ab22..."} 
[2026-10-05 13:40:16] local.INFO: Packet analysis {"connection_id":207568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1a"} 
[2026-10-05 13:40:16] local.INFO: Extracted packet for processing {"connection_id":207568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1a"} 
[2026-10-05 13:40:16] local.INFO: GPS Element Parsed {"raw_longitude":756337280,"raw_latitude":119505928,"longitude_deg":75.633728,"latitude_deg":11.9505928,"altitude":54,"angle":171,"satellites":34,"speed":7,"hex_longitude":"2d14ca80","hex_latitude":"071f8408","is_valid_coordinates":true} 
[2026-10-05 13:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544039168001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25027427268820992,"note":"Value kept but may cause issues"} 
[2026-10-05 13:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1498080225391853568,"note":"Value kept but may cause issues"} 
[2026-10-05 13:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791187654000,"timestamp_ms":1791187654000,"timestamp_seconds":1791187654,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1a9570"} 
[2026-10-05 13:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 13:40: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-10-05 13:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:40:16] 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-10-05 13:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544039168001,"66":13406,"12":206,"83":41984,"24":7,"16":25027427268820992,"45":1498080225391853568},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-10-05 13:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544039168001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:40:16] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-10-05 13:40:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25027427268820992,"km_value":25027427268820.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1498080225391853568,"description":"Unknown IO ID 45"} 
[2026-10-05 13:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544039168001,"power":13406,"unknown_12":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1498080225391853568}} 
[2026-10-05 13:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":207568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:40:16] local.INFO: GPS data processed {"connection_id":207568,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:40:16] local.INFO: Acknowledgment sent {"connection_id":207568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:40:16] local.INFO: TCP Data received {"connection_id":207568,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1a9958012d14ca80071f83380036009a22..."} 
[2026-10-05 13:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1a9958012d14ca80071f83380036009a22..."} 
[2026-10-05 13:40:16] local.INFO: Processing buffer {"connection_id":207568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1a9958012d14ca80071f83380036009a22..."} 
[2026-10-05 13:40:16] local.INFO: Packet analysis {"connection_id":207568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1a"} 
[2026-10-05 13:40:16] local.INFO: Extracted packet for processing {"connection_id":207568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1a"} 
[2026-10-05 13:40:16] local.INFO: GPS Element Parsed {"raw_longitude":756337280,"raw_latitude":119505720,"longitude_deg":75.633728,"latitude_deg":11.950572,"altitude":54,"angle":154,"satellites":34,"speed":8,"hex_longitude":"2d14ca80","hex_latitude":"071f8338","is_valid_coordinates":true} 
[2026-10-05 13:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544039424001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25027440153722880,"note":"Value kept but may cause issues"} 
[2026-10-05 13:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1498150594135984128,"note":"Value kept but may cause issues"} 
[2026-10-05 13:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791187655000,"timestamp_ms":1791187655000,"timestamp_seconds":1791187655,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1a9958"} 
[2026-10-05 13:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-10-05 13:40:16] 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-10-05 13:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:40:16] 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-10-05 13:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544039424001,"66":13406,"12":206,"83":41984,"24":8,"16":25027440153722880,"45":1498150594135984128},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-10-05 13:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544039424001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:40:16] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-10-05 13:40:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25027440153722880,"km_value":25027440153722.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1498150594135984128,"description":"Unknown IO ID 45"} 
[2026-10-05 13:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544039424001,"power":13406,"unknown_12":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1498150594135984128}} 
[2026-10-05 13:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":207568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:40:16] local.INFO: GPS data processed {"connection_id":207568,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:40:16] local.INFO: Acknowledgment sent {"connection_id":207568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:40:32] local.INFO: TCP Data received {"connection_id":206028,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1be178012d7eb3c005b36420000c000026..."} 
[2026-10-05 13:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1be178012d7eb3c005b36420000c000026..."} 
[2026-10-05 13:40:32] local.INFO: Processing buffer {"connection_id":206028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1be178012d7eb3c005b36420000c000026..."} 
[2026-10-05 13:40:32] local.INFO: Packet analysis {"connection_id":206028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:40:32] local.INFO: Extracted packet for processing {"connection_id":206028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763278272,"raw_latitude":95642656,"longitude_deg":76.3278272,"latitude_deg":9.5642656,"altitude":12,"angle":0,"satellites":38,"speed":36,"hex_longitude":"2d7eb3c0","hex_latitude":"05b36420","is_valid_coordinates":true} 
[2026-10-05 13:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544057856001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1911573979332608,"note":"Value kept but may cause issues"} 
[2026-10-05 13:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130133475301472256,"note":"Value kept but may cause issues"} 
[2026-10-05 13:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791187739000,"timestamp_ms":1791187739000,"timestamp_seconds":1791187739,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1be178"} 
[2026-10-05 13:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:40:32] 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-10-05 13:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-05 13:40:32] 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-10-05 13:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544057856001,"66":27876,"58":206,"85":12544,"24":36,"16":1911573979332608,"45":9130133475301472256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-10-05 13:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544057856001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:40:32] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-10-05 13:40:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1911573979332608,"km_value":1911573979332.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130133475301472256,"description":"Unknown IO ID 45"} 
[2026-10-05 13:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544057856001,"power":27876,"unknown_58":206,"unknown_85":12544,"ignition":36,"odometer":null,"unknown_45":9130133475301472256}} 
[2026-10-05 13:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":206028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:40:32] local.INFO: GPS data processed {"connection_id":206028,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:40:32] local.INFO: Acknowledgment sent {"connection_id":206028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:40:48] local.INFO: TCP Data received {"connection_id":207568,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1ad7d8012d14d1c0071f76a00037008424..."} 
[2026-10-05 13:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1ad7d8012d14d1c0071f76a00037008424..."} 
[2026-10-05 13:40:48] local.INFO: Processing buffer {"connection_id":207568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1ad7d8012d14d1c0071f76a00037008424..."} 
[2026-10-05 13:40:48] local.INFO: Packet analysis {"connection_id":207568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1a"} 
[2026-10-05 13:40:48] local.INFO: Extracted packet for processing {"connection_id":207568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1a"} 
[2026-10-05 13:40:48] local.INFO: GPS Element Parsed {"raw_longitude":756339136,"raw_latitude":119502496,"longitude_deg":75.6339136,"latitude_deg":11.9502496,"altitude":55,"angle":132,"satellites":36,"speed":6,"hex_longitude":"2d14d1c0","hex_latitude":"071f76a0","is_valid_coordinates":true} 
[2026-10-05 13:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544039680001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25027620542349312,"note":"Value kept but may cause issues"} 
[2026-10-05 13:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1498150594135930880,"note":"Value kept but may cause issues"} 
[2026-10-05 13:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791187671000,"timestamp_ms":1791187671000,"timestamp_seconds":1791187671,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1ad7d8"} 
[2026-10-05 13:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-10-05 13:40:48] 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-10-05 13:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":207568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":207568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":207568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:40:48] 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-10-05 13:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544039680001,"66":13276,"12":206,"83":41984,"24":6,"16":25027620542349312,"45":1498150594135930880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-10-05 13:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544039680001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:40:48] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-10-05 13:40:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25027620542349312,"km_value":25027620542349.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1498150594135930880,"description":"Unknown IO ID 45"} 
[2026-10-05 13:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544039680001,"power":13276,"unknown_12":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1498150594135930880}} 
[2026-10-05 13:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":207568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:40:48] local.INFO: GPS data processed {"connection_id":207568,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:40:48] local.INFO: Acknowledgment sent {"connection_id":207568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:40:54] local.INFO: TCP Data received {"connection_id":204489,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:40:54] local.INFO: Processing buffer {"connection_id":204489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:40:54] local.INFO: IMEI packet received {"connection_id":204489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":204489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:40:55] local.INFO: TCP Data received {"connection_id":204489,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:40:56] local.INFO: Processing buffer {"connection_id":204489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:40:56] local.INFO: IMEI packet received {"connection_id":204489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":204489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:40:59] local.INFO: TCP Data received {"connection_id":206029,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:40:59] local.INFO: Processing buffer {"connection_id":206029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:40:59] local.INFO: IMEI packet received {"connection_id":206029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":206029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:41:00] local.INFO: TCP Data received {"connection_id":204489,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:41:00] local.INFO: Processing buffer {"connection_id":204489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:41:00] local.INFO: IMEI packet received {"connection_id":204489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":204489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:41:01] local.INFO: TCP Data received {"connection_id":204489,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1c04a0012d7eb2c005b38728000c016626..."} 
[2026-10-05 13:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1c04a0012d7eb2c005b38728000c016626..."} 
[2026-10-05 13:41:01] local.INFO: Processing buffer {"connection_id":204489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1c04a0012d7eb2c005b38728000c016626..."} 
[2026-10-05 13:41:01] local.INFO: Packet analysis {"connection_id":204489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1c"} 
[2026-10-05 13:41:01] local.INFO: Extracted packet for processing {"connection_id":204489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1c"} 
[2026-10-05 13:41:01] local.INFO: GPS Element Parsed {"raw_longitude":763278016,"raw_latitude":95651624,"longitude_deg":76.3278016,"latitude_deg":9.5651624,"altitude":12,"angle":358,"satellites":38,"speed":41,"hex_longitude":"2d7eb2c0","hex_latitude":"05b38728","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544061184001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1912007771029504,"note":"Value kept but may cause issues"} 
[2026-10-05 13:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129852000327180288,"note":"Value kept but may cause issues"} 
[2026-10-05 13:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791187748000,"timestamp_ms":1791187748000,"timestamp_seconds":1791187748,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1c04a0"} 
[2026-10-05 13:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:41:01] 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-10-05 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-05 13:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:41: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-10-05 13:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544061184001,"66":27995,"13":206,"85":12544,"24":41,"16":1912007771029504,"45":9129852000327180288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,85,24,16,45]} 
[2026-10-05 13:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544061184001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:41:01] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-10-05 13:41:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1912007771029504,"km_value":1912007771029.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129852000327180288,"description":"Unknown IO ID 45"} 
[2026-10-05 13:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544061184001,"power":27995,"unknown_13":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9129852000327180288}} 
[2026-10-05 13:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":204489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:41:01] local.INFO: GPS data processed {"connection_id":204489,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:41:01] local.INFO: Acknowledgment sent {"connection_id":204489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:41:04] local.INFO: TCP Data received {"connection_id":206029,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:41:04] local.INFO: Processing buffer {"connection_id":206029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:41:04] local.INFO: IMEI packet received {"connection_id":206029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":206029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:41:05] local.INFO: TCP Data received {"connection_id":206029,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:41:05] local.INFO: Processing buffer {"connection_id":206029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:41:05] local.INFO: Packet analysis {"connection_id":206029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:41:05] local.INFO: Extracted packet for processing {"connection_id":206029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:41:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":39,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543977984001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:41:05] 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-10-05 13:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791187715000,"timestamp_ms":1791187715000,"timestamp_seconds":1791187715,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1b83b8"} 
[2026-10-05 13:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:41: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-10-05 13:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:41:05] 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-10-05 13:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":206029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":206029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":206029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543977984001,"66":12743,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 13:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543977984001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:41:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:41:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458543977984001,"power":12743,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 13:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":206029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:41:05] local.INFO: GPS data processed {"connection_id":206029,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:41:05] local.INFO: Acknowledgment sent {"connection_id":206029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:41:05] local.INFO: TCP Data received {"connection_id":207569,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:41:05] local.INFO: Processing buffer {"connection_id":207569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:41:05] local.INFO: IMEI packet received {"connection_id":207569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":207569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:41:10] local.INFO: TCP Data received {"connection_id":207569,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:41:10] local.INFO: Processing buffer {"connection_id":207569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:41:10] local.INFO: IMEI packet received {"connection_id":207569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":207569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:41:11] local.INFO: TCP Data received {"connection_id":207569,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1b29e0012d14d240071f76000037008422..."} 
[2026-10-05 13:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1b29e0012d14d240071f76000037008422..."} 
[2026-10-05 13:41:11] local.INFO: Processing buffer {"connection_id":207569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1b29e0012d14d240071f76000037008422..."} 
[2026-10-05 13:41:11] local.INFO: Packet analysis {"connection_id":207569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:41:11] local.INFO: Extracted packet for processing {"connection_id":207569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:41:11] local.INFO: GPS Element Parsed {"raw_longitude":756339264,"raw_latitude":119502336,"longitude_deg":75.6339264,"latitude_deg":11.9502336,"altitude":55,"angle":132,"satellites":34,"speed":0,"hex_longitude":"2d14d240","hex_latitude":"071f7600","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544043776001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25027633427251200,"note":"Value kept but may cause issues"} 
[2026-10-05 13:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1500191287716257792,"note":"Value kept but may cause issues"} 
[2026-10-05 13:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791187692000,"timestamp_ms":1791187692000,"timestamp_seconds":1791187692,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1b29e0"} 
[2026-10-05 13:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:41:11] 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-10-05 13: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-05 13:41:11] 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-10-05 13: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-10-05 13:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:41:11] 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-10-05 13:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544043776001,"66":13135,"12":206,"83":41984,"24":0,"16":25027633427251200,"45":1500191287716257792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-10-05 13:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544043776001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:41:11] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-10-05 13:41:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25027633427251200,"km_value":25027633427251.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1500191287716257792,"description":"Unknown IO ID 45"} 
[2026-10-05 13:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544043776001,"power":13135,"unknown_12":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1500191287716257792}} 
[2026-10-05 13:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":207569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:41:11] local.INFO: GPS data processed {"connection_id":207569,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:41:11] local.INFO: Acknowledgment sent {"connection_id":207569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:41:32] local.INFO: TCP Data received {"connection_id":204489,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1d5490012d7ea48005b52308000b016629..."} 
[2026-10-05 13:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1d5490012d7ea48005b52308000b016629..."} 
[2026-10-05 13:41:32] local.INFO: Processing buffer {"connection_id":204489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1d5490012d7ea48005b52308000b016629..."} 
[2026-10-05 13:41:32] local.INFO: Packet analysis {"connection_id":204489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1d"} 
[2026-10-05 13:41:32] local.INFO: Extracted packet for processing {"connection_id":204489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1d"} 
[2026-10-05 13:41:32] local.INFO: GPS Element Parsed {"raw_longitude":763274368,"raw_latitude":95757064,"longitude_deg":76.3274368,"latitude_deg":9.5757064,"altitude":11,"angle":358,"satellites":41,"speed":50,"hex_longitude":"2d7ea480","hex_latitude":"05b52308","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544083456001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1917123077079040,"note":"Value kept but may cause issues"} 
[2026-10-05 13:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125840981935775744,"note":"Value kept but may cause issues"} 
[2026-10-05 13:41:32] 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-10-05 13:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791187834000,"timestamp_ms":1791187834000,"timestamp_seconds":1791187834,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1d5490"} 
[2026-10-05 13:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:41:32] 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-10-05 13:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 13:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544083456001,"66":27865,"122":206,"85":12544,"24":50,"16":1917123077079040,"45":9125840981935775744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-10-05 13:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544083456001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:41:32] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-05 13:41:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1917123077079040,"km_value":1917123077079.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125840981935775744,"description":"Unknown IO ID 45"} 
[2026-10-05 13:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544083456001,"power":27865,"unknown_122":206,"unknown_85":12544,"ignition":50,"odometer":null,"unknown_45":9125840981935775744}} 
[2026-10-05 13:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":204489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:41:32] local.INFO: GPS data processed {"connection_id":204489,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:41:32] local.INFO: Acknowledgment sent {"connection_id":204489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:41:36] local.INFO: TCP Data received {"connection_id":206029,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:41:36] local.INFO: Processing buffer {"connection_id":206029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:41:36] local.INFO: Packet analysis {"connection_id":206029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:41:36] local.INFO: Extracted packet for processing {"connection_id":206029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:41:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":39,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543977984001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:41:36] 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-10-05 13:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791187715000,"timestamp_ms":1791187715000,"timestamp_seconds":1791187715,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1b83b8"} 
[2026-10-05 13:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:41:36] 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-10-05 13:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543977984001,"66":12743,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 13:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543977984001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:41:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:41:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458543977984001,"power":12743,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 13:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":206029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:41:36] local.INFO: GPS data processed {"connection_id":206029,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:41:36] local.INFO: Acknowledgment sent {"connection_id":206029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:41:42] local.INFO: TCP Data received {"connection_id":207569,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1b7be8012d14d240071f76000037008424..."} 
[2026-10-05 13:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1b7be8012d14d240071f76000037008424..."} 
[2026-10-05 13:41:42] local.INFO: Processing buffer {"connection_id":207569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1b7be8012d14d240071f76000037008424..."} 
[2026-10-05 13:41:42] local.INFO: Packet analysis {"connection_id":207569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:41:42] local.INFO: Extracted packet for processing {"connection_id":207569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:41:42] local.INFO: GPS Element Parsed {"raw_longitude":756339264,"raw_latitude":119502336,"longitude_deg":75.6339264,"latitude_deg":11.9502336,"altitude":55,"angle":132,"satellites":36,"speed":0,"hex_longitude":"2d14d240","hex_latitude":"071f7600","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544049152001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25027633427251200,"note":"Value kept but may cause issues"} 
[2026-10-05 13:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1500332025204572160,"note":"Value kept but may cause issues"} 
[2026-10-05 13:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791187713000,"timestamp_ms":1791187713000,"timestamp_seconds":1791187713,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1b7be8"} 
[2026-10-05 13:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:41:42] 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-10-05 13: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-10-05 13:41:42] 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-10-05 13: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-10-05 13:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:41:42] 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-10-05 13:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544049152001,"66":13048,"12":206,"83":41984,"24":0,"16":25027633427251200,"45":1500332025204572160},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-10-05 13:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544049152001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:41:42] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-10-05 13:41:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25027633427251200,"km_value":25027633427251.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1500332025204572160,"description":"Unknown IO ID 45"} 
[2026-10-05 13:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544049152001,"power":13048,"unknown_12":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1500332025204572160}} 
[2026-10-05 13:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":207569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:41:42] local.INFO: GPS data processed {"connection_id":207569,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:41:42] local.INFO: Acknowledgment sent {"connection_id":207569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:41:59] local.INFO: TCP Data received {"connection_id":204491,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:41:59] local.INFO: Processing buffer {"connection_id":204491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:41:59] local.INFO: IMEI packet received {"connection_id":204491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":204491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:42:00] local.INFO: TCP Data received {"connection_id":206030,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:42:00] local.INFO: Processing buffer {"connection_id":206030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:42:00] local.INFO: IMEI packet received {"connection_id":206030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":206030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:42:03] local.INFO: TCP Data received {"connection_id":206030,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:42:03] local.INFO: Processing buffer {"connection_id":206030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:42:03] local.INFO: IMEI packet received {"connection_id":206030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":206030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:42:04] local.INFO: TCP Data received {"connection_id":206030,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1d73d0012d7ea48005b54a10000b000129..."} 
[2026-10-05 13:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1d73d0012d7ea48005b54a10000b000129..."} 
[2026-10-05 13:42:04] local.INFO: Processing buffer {"connection_id":206030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1d73d0012d7ea48005b54a10000b000129..."} 
[2026-10-05 13:42:04] local.INFO: Packet analysis {"connection_id":206030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1d"} 
[2026-10-05 13:42:04] local.INFO: Extracted packet for processing {"connection_id":206030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1d"} 
[2026-10-05 13:42:04] local.INFO: GPS Element Parsed {"raw_longitude":763274368,"raw_latitude":95767056,"longitude_deg":76.3274368,"latitude_deg":9.5767056,"altitude":11,"angle":1,"satellites":41,"speed":49,"hex_longitude":"2d7ea480","hex_latitude":"05b54a10","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544085504001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1917608408383488,"note":"Value kept but may cause issues"} 
[2026-10-05 13:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125559506961631232,"note":"Value kept but may cause issues"} 
[2026-10-05 13:42:04] 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-10-05 13:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791187842000,"timestamp_ms":1791187842000,"timestamp_seconds":1791187842,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1d73d0"} 
[2026-10-05 13:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:42:04] 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-10-05 13:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 13:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":206030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":206030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":206030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:42: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-10-05 13:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544085504001,"66":27995,"122":206,"85":12544,"24":49,"16":1917608408383488,"45":9125559506961631232},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-10-05 13:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544085504001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:42:04] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-05 13:42:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1917608408383488,"km_value":1917608408383.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125559506961631232,"description":"Unknown IO ID 45"} 
[2026-10-05 13:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544085504001,"power":27995,"unknown_122":206,"unknown_85":12544,"ignition":49,"odometer":null,"unknown_45":9125559506961631232}} 
[2026-10-05 13:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":206030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:42:04] local.INFO: GPS data processed {"connection_id":206030,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:42:04] local.INFO: Acknowledgment sent {"connection_id":206030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:42:04] local.INFO: TCP Data received {"connection_id":204491,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:42:04] local.INFO: Processing buffer {"connection_id":204491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:42:04] local.INFO: IMEI packet received {"connection_id":204491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":204491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:42:05] local.INFO: TCP Data received {"connection_id":206030,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1d9310012d7ea70005b56f10000a000a29..."} 
[2026-10-05 13:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1d9310012d7ea70005b56f10000a000a29..."} 
[2026-10-05 13:42:05] local.INFO: Processing buffer {"connection_id":206030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1d9310012d7ea70005b56f10000a000a29..."} 
[2026-10-05 13:42:05] local.INFO: Packet analysis {"connection_id":206030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1d"} 
[2026-10-05 13:42:05] local.INFO: Extracted packet for processing {"connection_id":206030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1d"} 
[2026-10-05 13:42:05] local.INFO: GPS Element Parsed {"raw_longitude":763275008,"raw_latitude":95776528,"longitude_deg":76.3275008,"latitude_deg":9.5776528,"altitude":10,"angle":10,"satellites":41,"speed":45,"hex_longitude":"2d7ea700","hex_latitude":"05b56f10","is_valid_coordinates":true} 
[2026-10-05 13:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544087552001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1918072264851456,"note":"Value kept but may cause issues"} 
[2026-10-05 13:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125559506964189184,"note":"Value kept but may cause issues"} 
[2026-10-05 13:42:05] 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-10-05 13:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791187850000,"timestamp_ms":1791187850000,"timestamp_seconds":1791187850,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1d9310"} 
[2026-10-05 13:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:42: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-10-05 13:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 13:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":206030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":206030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":206030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:42: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-10-05 13:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544087552001,"66":27908,"122":206,"85":12544,"24":45,"16":1918072264851456,"45":9125559506964189184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-10-05 13:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544087552001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:42:05] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-05 13:42:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1918072264851456,"km_value":1918072264851.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125559506964189184,"description":"Unknown IO ID 45"} 
[2026-10-05 13:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544087552001,"power":27908,"unknown_122":206,"unknown_85":12544,"ignition":45,"odometer":null,"unknown_45":9125559506964189184}} 
[2026-10-05 13:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":206030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:42:05] local.INFO: GPS data processed {"connection_id":206030,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:42:05] local.INFO: Acknowledgment sent {"connection_id":206030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:42:05] local.INFO: TCP Data received {"connection_id":204491,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:42:05] local.INFO: Processing buffer {"connection_id":204491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:42:05] local.INFO: Packet analysis {"connection_id":204491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:42:05] local.INFO: Extracted packet for processing {"connection_id":204491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:42:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":39,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543977984001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:42:05] 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-10-05 13:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791187715000,"timestamp_ms":1791187715000,"timestamp_seconds":1791187715,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1b83b8"} 
[2026-10-05 13:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:42: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-10-05 13:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:42:05] 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-10-05 13:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543977984001,"66":12743,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 13:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543977984001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:42:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:42:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458543977984001,"power":12743,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 13:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":204491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:42:05] local.INFO: GPS data processed {"connection_id":204491,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:42:05] local.INFO: Acknowledgment sent {"connection_id":204491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:42:05] local.INFO: TCP Data received {"connection_id":206031,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:42:05] local.INFO: Processing buffer {"connection_id":206031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:42:05] local.INFO: IMEI packet received {"connection_id":206031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":206031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:42:10] local.INFO: TCP Data received {"connection_id":206031,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:42:10] local.INFO: Processing buffer {"connection_id":206031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:42:10] local.INFO: IMEI packet received {"connection_id":206031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":206031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:42:11] local.INFO: TCP Data received {"connection_id":206031,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1bcdf0012d14d240071f76000037008425..."} 
[2026-10-05 13:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1bcdf0012d14d240071f76000037008425..."} 
[2026-10-05 13:42:11] local.INFO: Processing buffer {"connection_id":206031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1bcdf0012d14d240071f76000037008425..."} 
[2026-10-05 13:42:11] local.INFO: Packet analysis {"connection_id":206031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:42:11] local.INFO: Extracted packet for processing {"connection_id":206031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:42:11] local.INFO: GPS Element Parsed {"raw_longitude":756339264,"raw_latitude":119502336,"longitude_deg":75.6339264,"latitude_deg":11.9502336,"altitude":55,"angle":132,"satellites":37,"speed":0,"hex_longitude":"2d14d240","hex_latitude":"071f7600","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544054528001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25027633427251200,"note":"Value kept but may cause issues"} 
[2026-10-05 13:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1500332025204572160,"note":"Value kept but may cause issues"} 
[2026-10-05 13:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791187734000,"timestamp_ms":1791187734000,"timestamp_seconds":1791187734,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1bcdf0"} 
[2026-10-05 13:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:42:11] 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-10-05 13: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":248,"data_length":795,"current_offset":136} 
[2026-10-05 13:42:11] 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-10-05 13: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-10-05 13:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:42:11] 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-10-05 13:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544054528001,"66":12993,"12":206,"83":41984,"24":0,"16":25027633427251200,"45":1500332025204572160},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-10-05 13:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544054528001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:42:11] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-10-05 13:42:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25027633427251200,"km_value":25027633427251.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1500332025204572160,"description":"Unknown IO ID 45"} 
[2026-10-05 13:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544054528001,"power":12993,"unknown_12":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1500332025204572160}} 
[2026-10-05 13:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":206031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:42:11] local.INFO: GPS data processed {"connection_id":206031,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:42:11] local.INFO: Acknowledgment sent {"connection_id":206031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:42:36] local.INFO: TCP Data received {"connection_id":206030,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1db250012d7eaac005b592a8000a000529..."} 
[2026-10-05 13:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1db250012d7eaac005b592a8000a000529..."} 
[2026-10-05 13:42:36] local.INFO: Processing buffer {"connection_id":206030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1db250012d7eaac005b592a8000a000529..."} 
[2026-10-05 13:42:36] local.INFO: Packet analysis {"connection_id":206030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1d"} 
[2026-10-05 13:42:36] local.INFO: Extracted packet for processing {"connection_id":206030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1d"} 
[2026-10-05 13:42:36] local.INFO: GPS Element Parsed {"raw_longitude":763275968,"raw_latitude":95785640,"longitude_deg":76.3275968,"latitude_deg":9.578564,"altitude":10,"angle":5,"satellites":41,"speed":45,"hex_longitude":"2d7eaac0","hex_latitude":"05b592a8","is_valid_coordinates":true} 
[2026-10-05 13:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544089600001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1918514646482944,"note":"Value kept but may cause issues"} 
[2026-10-05 13:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126263194408390656,"note":"Value kept but may cause issues"} 
[2026-10-05 13:42:36] 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-10-05 13:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791187858000,"timestamp_ms":1791187858000,"timestamp_seconds":1791187858,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1db250"} 
[2026-10-05 13:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:42:36] 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-10-05 13:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 13:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544089600001,"66":27843,"122":206,"85":12544,"24":45,"16":1918514646482944,"45":9126263194408390656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-10-05 13:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544089600001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:42:36] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-05 13:42:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1918514646482944,"km_value":1918514646482.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126263194408390656,"description":"Unknown IO ID 45"} 
[2026-10-05 13:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544089600001,"power":27843,"unknown_122":206,"unknown_85":12544,"ignition":45,"odometer":null,"unknown_45":9126263194408390656}} 
[2026-10-05 13:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":206030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:42:36] local.INFO: GPS data processed {"connection_id":206030,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:42:36] local.INFO: Acknowledgment sent {"connection_id":206030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:42:37] local.INFO: TCP Data received {"connection_id":204491,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:42:37] local.INFO: Processing buffer {"connection_id":204491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:42:37] local.INFO: Packet analysis {"connection_id":204491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:42:37] local.INFO: Extracted packet for processing {"connection_id":204491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:42:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":39,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543977984001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:42:37] 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-10-05 13:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791187715000,"timestamp_ms":1791187715000,"timestamp_seconds":1791187715,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1b83b8"} 
[2026-10-05 13:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:42:37] 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-10-05 13:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543977984001,"66":12743,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 13:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543977984001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:42:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:42:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458543977984001,"power":12743,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 13:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":204491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967638,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:42:37] local.INFO: GPS data processed {"connection_id":204491,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:42:37] local.INFO: Acknowledgment sent {"connection_id":204491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:42:42] local.INFO: TCP Data received {"connection_id":206031,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1c1ff8012d14d240071f76000037008429..."} 
[2026-10-05 13:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1c1ff8012d14d240071f76000037008429..."} 
[2026-10-05 13:42:42] local.INFO: Processing buffer {"connection_id":206031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1c1ff8012d14d240071f76000037008429..."} 
[2026-10-05 13:42:42] local.INFO: Packet analysis {"connection_id":206031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1c"} 
[2026-10-05 13:42:42] local.INFO: Extracted packet for processing {"connection_id":206031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1c"} 
[2026-10-05 13:42:42] local.INFO: GPS Element Parsed {"raw_longitude":756339264,"raw_latitude":119502336,"longitude_deg":75.6339264,"latitude_deg":11.9502336,"altitude":55,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d14d240","hex_latitude":"071f7600","is_valid_coordinates":true} 
[2026-10-05 13:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544059904001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25027633427251200,"note":"Value kept but may cause issues"} 
[2026-10-05 13:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1500332025204572160,"note":"Value kept but may cause issues"} 
[2026-10-05 13:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791187755000,"timestamp_ms":1791187755000,"timestamp_seconds":1791187755,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1c1ff8"} 
[2026-10-05 13:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:42:42] 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-10-05 13:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-10-05 13:42:42] 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-10-05 13:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:42:42] 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-10-05 13:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544059904001,"66":12950,"12":206,"83":41984,"24":0,"16":25027633427251200,"45":1500332025204572160},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-10-05 13:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544059904001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:42:42] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-10-05 13:42:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25027633427251200,"km_value":25027633427251.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1500332025204572160,"description":"Unknown IO ID 45"} 
[2026-10-05 13:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544059904001,"power":12950,"unknown_12":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1500332025204572160}} 
[2026-10-05 13:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":206031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:42:42] local.INFO: GPS data processed {"connection_id":206031,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:42:42] local.INFO: Acknowledgment sent {"connection_id":206031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:42:55] local.INFO: TCP Data received {"connection_id":204616,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:42:55] local.INFO: Processing buffer {"connection_id":204616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:42:55] local.INFO: IMEI packet received {"connection_id":204616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":204616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:42:59] local.INFO: TCP Data received {"connection_id":204492,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:42:59] local.INFO: Processing buffer {"connection_id":204492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:42:59] local.INFO: IMEI packet received {"connection_id":204492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":204492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:43:04] local.INFO: TCP Data received {"connection_id":204616,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:43:04] local.INFO: Processing buffer {"connection_id":204616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:43:04] local.INFO: IMEI packet received {"connection_id":204616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":204616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:43:04] local.INFO: TCP Data received {"connection_id":204492,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:43:04] local.INFO: Processing buffer {"connection_id":204492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:43:04] local.INFO: IMEI packet received {"connection_id":204492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":204492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:43:05] local.INFO: TCP Data received {"connection_id":204616,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1dd578012d7ead8005b5b760000a000228..."} 
[2026-10-05 13:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1dd578012d7ead8005b5b760000a000228..."} 
[2026-10-05 13:43:05] local.INFO: Processing buffer {"connection_id":204616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1dd578012d7ead8005b5b760000a000228..."} 
[2026-10-05 13:43:05] local.INFO: Packet analysis {"connection_id":204616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1d"} 
[2026-10-05 13:43:05] local.INFO: Extracted packet for processing {"connection_id":204616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1d"} 
[2026-10-05 13:43:05] local.INFO: GPS Element Parsed {"raw_longitude":763276672,"raw_latitude":95795040,"longitude_deg":76.3276672,"latitude_deg":9.579504,"altitude":10,"angle":2,"satellites":40,"speed":40,"hex_longitude":"2d7ead80","hex_latitude":"05b5b760","is_valid_coordinates":true} 
[2026-10-05 13:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544091648001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1918974207983616,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127318725573388288,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:05] 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-10-05 13:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791187867000,"timestamp_ms":1791187867000,"timestamp_seconds":1791187867,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1dd578"} 
[2026-10-05 13:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:43: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-10-05 13:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-10-05 13:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:43: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-10-05 13:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544091648001,"66":27865,"122":206,"85":12544,"24":40,"16":1918974207983616,"45":9127318725573388288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-10-05 13:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544091648001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:43:05] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-05 13:43:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1918974207983616,"km_value":1918974207983.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127318725573388288,"description":"Unknown IO ID 45"} 
[2026-10-05 13:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544091648001,"power":27865,"unknown_122":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9127318725573388288}} 
[2026-10-05 13:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":204616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:43:05] local.INFO: GPS data processed {"connection_id":204616,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:43:05] local.INFO: Acknowledgment sent {"connection_id":204616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:43:05] local.INFO: TCP Data received {"connection_id":204617,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:43:05] local.INFO: Processing buffer {"connection_id":204617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:43:05] local.INFO: IMEI packet received {"connection_id":204617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":204617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:43:05] local.INFO: TCP Data received {"connection_id":204492,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:43:05] local.INFO: Processing buffer {"connection_id":204492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:43:05] local.INFO: Packet analysis {"connection_id":204492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:43:05] local.INFO: Extracted packet for processing {"connection_id":204492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:43:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":39,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543977984001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:05] 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-10-05 13:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791187715000,"timestamp_ms":1791187715000,"timestamp_seconds":1791187715,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1b83b8"} 
[2026-10-05 13:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:43: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-10-05 13:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:43:05] 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-10-05 13:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:43:05] 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-10-05 13:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543977984001,"66":12743,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 13:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543977984001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:43:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:43:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458543977984001,"power":12743,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 13:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":204492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:43:05] local.INFO: GPS data processed {"connection_id":204492,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:43:05] local.INFO: Acknowledgment sent {"connection_id":204492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:43:10] local.INFO: TCP Data received {"connection_id":204617,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:43:10] local.INFO: Processing buffer {"connection_id":204617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:43:10] local.INFO: IMEI packet received {"connection_id":204617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":204617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:43:11] local.INFO: TCP Data received {"connection_id":204617,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1c7200012d14d240071f76000037008428..."} 
[2026-10-05 13:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1c7200012d14d240071f76000037008428..."} 
[2026-10-05 13:43:11] local.INFO: Processing buffer {"connection_id":204617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1c7200012d14d240071f76000037008428..."} 
[2026-10-05 13:43:11] local.INFO: Packet analysis {"connection_id":204617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1c"} 
[2026-10-05 13:43:11] local.INFO: Extracted packet for processing {"connection_id":204617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1c"} 
[2026-10-05 13:43:11] local.INFO: GPS Element Parsed {"raw_longitude":756339264,"raw_latitude":119502336,"longitude_deg":75.6339264,"latitude_deg":11.9502336,"altitude":55,"angle":132,"satellites":40,"speed":0,"hex_longitude":"2d14d240","hex_latitude":"071f7600","is_valid_coordinates":true} 
[2026-10-05 13:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544065280001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25027633427251200,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1500332025204572160,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791187776000,"timestamp_ms":1791187776000,"timestamp_seconds":1791187776,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1c7200"} 
[2026-10-05 13:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:43:11] 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-10-05 13:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 13:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:43:11] 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-10-05 13:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544065280001,"66":12548,"12":206,"83":41984,"24":0,"16":25027633427251200,"45":1500332025204572160},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-10-05 13:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544065280001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:43:11] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-10-05 13:43:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25027633427251200,"km_value":25027633427251.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1500332025204572160,"description":"Unknown IO ID 45"} 
[2026-10-05 13:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544065280001,"power":12548,"unknown_12":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1500332025204572160}} 
[2026-10-05 13:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":204617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:43:11] local.INFO: GPS data processed {"connection_id":204617,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:43:11] local.INFO: Acknowledgment sent {"connection_id":204617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:43:35] local.INFO: TCP Data received {"connection_id":204616,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1dfc88012d7eae0005b5dab0000a000029..."} 
[2026-10-05 13:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1dfc88012d7eae0005b5dab0000a000029..."} 
[2026-10-05 13:43:35] local.INFO: Processing buffer {"connection_id":204616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1dfc88012d7eae0005b5dab0000a000029..."} 
[2026-10-05 13:43:35] local.INFO: Packet analysis {"connection_id":204616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1d"} 
[2026-10-05 13:43:35] local.INFO: Extracted packet for processing {"connection_id":204616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1d"} 
[2026-10-05 13:43:35] local.INFO: GPS Element Parsed {"raw_longitude":763276800,"raw_latitude":95804080,"longitude_deg":76.32768,"latitude_deg":9.580408,"altitude":10,"angle":0,"satellites":41,"speed":23,"hex_longitude":"2d7eae00","hex_latitude":"05b5dab0","is_valid_coordinates":true} 
[2026-10-05 13:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544093952001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1919412294647808,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128092781761748992,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:35] 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-10-05 13:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791187877000,"timestamp_ms":1791187877000,"timestamp_seconds":1791187877,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1dfc88"} 
[2026-10-05 13:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:43:35] 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-10-05 13:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 13:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":204616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":204616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":204616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544093952001,"66":27995,"122":206,"85":12544,"24":23,"16":1919412294647808,"45":9128092781761748992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-10-05 13:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544093952001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:43:35] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-05 13:43:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1919412294647808,"km_value":1919412294647.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128092781761748992,"description":"Unknown IO ID 45"} 
[2026-10-05 13:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544093952001,"power":27995,"unknown_122":206,"unknown_85":12544,"ignition":23,"odometer":null,"unknown_45":9128092781761748992}} 
[2026-10-05 13:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":204616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:43:35] local.INFO: GPS data processed {"connection_id":204616,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:43:35] local.INFO: Acknowledgment sent {"connection_id":204616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:43:38] local.INFO: TCP Data received {"connection_id":204492,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:43:38] local.INFO: Processing buffer {"connection_id":204492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1b83b8012d7b524005e13b08000c00a927..."} 
[2026-10-05 13:43:38] local.INFO: Packet analysis {"connection_id":204492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:43:38] local.INFO: Extracted packet for processing {"connection_id":204492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1b"} 
[2026-10-05 13:43:38] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":39,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458543977984001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 13:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791187715000,"timestamp_ms":1791187715000,"timestamp_seconds":1791187715,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1b83b8"} 
[2026-10-05 13:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:43:38] 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-10-05 13: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-10-05 13:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:43:38] 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-10-05 13:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458543977984001,"66":12743,"45":8886235408753166336,"85":15104,"24":0,"16":139636928755531776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 13:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458543977984001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:43:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:43:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458543977984001,"power":12743,"unknown_45":8886235408753166336,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-05 13:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":204492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:43:38] local.INFO: GPS data processed {"connection_id":204492,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:43:38] local.INFO: Acknowledgment sent {"connection_id":204492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:43:42] local.INFO: TCP Data received {"connection_id":204617,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1cc408012d14d240071f76000037008427..."} 
[2026-10-05 13:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1cc408012d14d240071f76000037008427..."} 
[2026-10-05 13:43:42] local.INFO: Processing buffer {"connection_id":204617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1cc408012d14d240071f76000037008427..."} 
[2026-10-05 13:43:42] local.INFO: Packet analysis {"connection_id":204617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1c"} 
[2026-10-05 13:43:42] local.INFO: Extracted packet for processing {"connection_id":204617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1c"} 
[2026-10-05 13:43:42] local.INFO: GPS Element Parsed {"raw_longitude":756339264,"raw_latitude":119502336,"longitude_deg":75.6339264,"latitude_deg":11.9502336,"altitude":55,"angle":132,"satellites":39,"speed":0,"hex_longitude":"2d14d240","hex_latitude":"071f7600","is_valid_coordinates":true} 
[2026-10-05 13:43: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-10-05 13:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544070656001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25027633427251200,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1500332025204572160,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791187797000,"timestamp_ms":1791187797000,"timestamp_seconds":1791187797,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1cc408"} 
[2026-10-05 13:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:43:42] 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-10-05 13:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 13:43:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:42] local.WARNING: Large IO value detected {"io_id":234,"raw_value":2147483648,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1712062670,"corrected_to":0} 
[2026-10-05 13:43:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184253259981,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:42] local.WARNING: Large IO value detected {"io_id":215,"raw_value":3623955732,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:42] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3221692278,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:42] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040102,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:42] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3934060544,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:42] local.WARNING: Large IO value detected {"io_id":8,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:42] local.WARNING: Large IO value detected {"io_id":102,"raw_value":864917987084212224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:42] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,12,83,24,241,157,16,234,161,31,45,64,118,55,41,10,66,205,37,123,1,240,248,227,11,4,113,215,209,160,36,239,51,2,88,7,54,8,102],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1712062670,"validated":0}]} 
[2026-10-05 13:43:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963312979419594752,"timestamp_seconds":3963312979419595.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 13:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:43:42] 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-10-05 13:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544070656001,"66":12722,"12":206,"83":41984,"24":0,"16":25027633427251200,"45":1500332025204572160},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-10-05 13:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544070656001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:43:42] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-10-05 13:43:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25027633427251200,"km_value":25027633427251.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1500332025204572160,"description":"Unknown IO ID 45"} 
[2026-10-05 13:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544070656001,"power":12722,"unknown_12":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1500332025204572160}} 
[2026-10-05 13:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":204617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:43:42] local.INFO: GPS data processed {"connection_id":204617,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:43:42] local.INFO: Acknowledgment sent {"connection_id":204617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:43:49] local.INFO: TCP Data received {"connection_id":206032,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206032,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:43:49] local.INFO: Processing buffer {"connection_id":206032,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:43:49] local.INFO: IMEI packet received {"connection_id":206032,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 13:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":206032,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:43:56] local.INFO: TCP Data received {"connection_id":207571,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:43:56] local.INFO: Processing buffer {"connection_id":207571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:43:56] local.INFO: IMEI packet received {"connection_id":207571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":207571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:43:58] local.INFO: TCP Data received {"connection_id":207571,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:43:58] local.INFO: Processing buffer {"connection_id":207571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:43:58] local.INFO: IMEI packet received {"connection_id":207571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":207571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:43:59] local.INFO: TCP Data received {"connection_id":207571,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1f9e80012d7eae8005b75848000e000029..."} 
[2026-10-05 13:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1f9e80012d7eae8005b75848000e000029..."} 
[2026-10-05 13:43:59] local.INFO: Processing buffer {"connection_id":207571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1f9e80012d7eae8005b75848000e000029..."} 
[2026-10-05 13:43:59] local.INFO: Packet analysis {"connection_id":207571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1f"} 
[2026-10-05 13:43:59] local.INFO: Extracted packet for processing {"connection_id":207571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1f"} 
[2026-10-05 13:43:59] local.INFO: GPS Element Parsed {"raw_longitude":763276928,"raw_latitude":95901768,"longitude_deg":76.3276928,"latitude_deg":9.5901768,"altitude":14,"angle":0,"satellites":41,"speed":46,"hex_longitude":"2d7eae80","hex_latitude":"05b75848","is_valid_coordinates":true} 
[2026-10-05 13:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544121856001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1924166823444480,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128022413042532352,"note":"Value kept but may cause issues"} 
[2026-10-05 13:43:59] 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-10-05 13:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791187984000,"timestamp_ms":1791187984000,"timestamp_seconds":1791187984,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1f9e80"} 
[2026-10-05 13:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:43: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-10-05 13:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 13:43:59] 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-10-05 13:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":207571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":207571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":207571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:43: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-10-05 13:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544121856001,"66":27974,"121":206,"85":12544,"24":46,"16":1924166823444480,"45":9128022413042532352},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-10-05 13:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544121856001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:43:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 13:43:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1924166823444480,"km_value":1924166823444.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128022413042532352,"description":"Unknown IO ID 45"} 
[2026-10-05 13:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544121856001,"power":27974,"unknown_121":206,"unknown_85":12544,"ignition":46,"odometer":null,"unknown_45":9128022413042532352}} 
[2026-10-05 13:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":207571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:43:59] local.INFO: GPS data processed {"connection_id":207571,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:43:59] local.INFO: Acknowledgment sent {"connection_id":207571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:43:59] local.INFO: TCP Data received {"connection_id":206033,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:43:59] local.INFO: Processing buffer {"connection_id":206033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:43:59] local.INFO: IMEI packet received {"connection_id":206033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":206033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:44:04] local.INFO: TCP Data received {"connection_id":206033,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:44:04] local.INFO: Processing buffer {"connection_id":206033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:44:04] local.INFO: IMEI packet received {"connection_id":206033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":206033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:44:05] local.INFO: TCP Data received {"connection_id":206033,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:44:05] local.INFO: Processing buffer {"connection_id":206033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:44:05] local.INFO: Packet analysis {"connection_id":206033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b20"} 
[2026-10-05 13:44:05] local.INFO: Extracted packet for processing {"connection_id":206033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b20"} 
[2026-10-05 13:44:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544055040001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:44:05] 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-10-05 13:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791188016000,"timestamp_ms":1791188016000,"timestamp_seconds":1791188016,"priority":1,"record_length":96,"hex_timestamp":"000001a10b201b80"} 
[2026-10-05 13:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13: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-10-05 13:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:44:05] 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-10-05 13:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":206033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":206033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":206033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:44:05] 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-10-05 13:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544055040001,"66":12743,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544055040001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:44:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:44:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544055040001,"power":12743,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":206033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:44:05] local.INFO: GPS data processed {"connection_id":206033,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:44:05] local.INFO: Acknowledgment sent {"connection_id":206033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:44:06] local.INFO: TCP Data received {"connection_id":206034,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:44:06] local.INFO: Processing buffer {"connection_id":206034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:44:06] local.INFO: IMEI packet received {"connection_id":206034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":206034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:44:06] local.INFO: TCP Data received {"connection_id":206034,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:44:06] local.INFO: Processing buffer {"connection_id":206034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:44:06] local.INFO: IMEI packet received {"connection_id":206034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":206034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:44:07] local.INFO: TCP Data received {"connection_id":206034,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:44:07] local.INFO: Processing buffer {"connection_id":206034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:44:07] local.INFO: IMEI packet received {"connection_id":206034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":206034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:44:08] local.INFO: TCP Data received {"connection_id":206034,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:44:08] local.INFO: Processing buffer {"connection_id":206034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:44:08] local.INFO: IMEI packet received {"connection_id":206034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":206034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:44:31] local.INFO: TCP Data received {"connection_id":207571,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1fbdc0012d7eaf4005b77d20000d000229..."} 
[2026-10-05 13:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1fbdc0012d7eaf4005b77d20000d000229..."} 
[2026-10-05 13:44:31] local.INFO: Processing buffer {"connection_id":207571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1fbdc0012d7eaf4005b77d20000d000229..."} 
[2026-10-05 13:44:31] local.INFO: Packet analysis {"connection_id":207571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1f"} 
[2026-10-05 13:44:31] local.INFO: Extracted packet for processing {"connection_id":207571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1f"} 
[2026-10-05 13:44:31] local.INFO: GPS Element Parsed {"raw_longitude":763277120,"raw_latitude":95911200,"longitude_deg":76.327712,"latitude_deg":9.59112,"altitude":13,"angle":2,"satellites":41,"speed":47,"hex_longitude":"2d7eaf40","hex_latitude":"05b77d20","is_valid_coordinates":true} 
[2026-10-05 13:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544123904001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1924622089977856,"note":"Value kept but may cause issues"} 
[2026-10-05 13:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128374256765782016,"note":"Value kept but may cause issues"} 
[2026-10-05 13:44:31] 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-10-05 13:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791187992000,"timestamp_ms":1791187992000,"timestamp_seconds":1791187992,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1fbdc0"} 
[2026-10-05 13:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:44: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-10-05 13:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 13:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544123904001,"66":27974,"121":206,"85":12544,"24":47,"16":1924622089977856,"45":9128374256765782016},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-10-05 13:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544123904001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:44:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 13:44:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1924622089977856,"km_value":1924622089977.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128374256765782016,"description":"Unknown IO ID 45"} 
[2026-10-05 13:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544123904001,"power":27974,"unknown_121":206,"unknown_85":12544,"ignition":47,"odometer":null,"unknown_45":9128374256765782016}} 
[2026-10-05 13:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":207571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:44:31] local.INFO: GPS data processed {"connection_id":207571,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:44:31] local.INFO: Acknowledgment sent {"connection_id":207571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:44:34] local.INFO: TCP Data received {"connection_id":204618,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204618,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:44:34] local.INFO: Processing buffer {"connection_id":204618,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:44:34] local.INFO: IMEI packet received {"connection_id":204618,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 13:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":204618,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:44:36] local.INFO: TCP Data received {"connection_id":206033,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:44:36] local.INFO: Processing buffer {"connection_id":206033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:44:36] local.INFO: Packet analysis {"connection_id":206033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b20"} 
[2026-10-05 13:44:36] local.INFO: Extracted packet for processing {"connection_id":206033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b20"} 
[2026-10-05 13:44:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544055040001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:44:36] 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-10-05 13:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791188016000,"timestamp_ms":1791188016000,"timestamp_seconds":1791188016,"priority":1,"record_length":96,"hex_timestamp":"000001a10b201b80"} 
[2026-10-05 13:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:44:36] 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-10-05 13:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:44:36] 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-10-05 13:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544055040001,"66":12743,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544055040001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:44:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:44:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544055040001,"power":12743,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":206033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:44:36] local.INFO: GPS data processed {"connection_id":206033,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:44:36] local.INFO: Acknowledgment sent {"connection_id":206033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:45:00] local.INFO: TCP Data received {"connection_id":204493,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:45:00] local.INFO: Processing buffer {"connection_id":204493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:45:00] local.INFO: IMEI packet received {"connection_id":204493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":204493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:45:00] local.INFO: TCP Data received {"connection_id":204493,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:45:00] local.INFO: Processing buffer {"connection_id":204493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:45:00] local.INFO: IMEI packet received {"connection_id":204493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":204493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:45:01] local.INFO: TCP Data received {"connection_id":204493,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1fdd00012d7eb04005b7a218000b00002a..."} 
[2026-10-05 13:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1fdd00012d7eb04005b7a218000b00002a..."} 
[2026-10-05 13:45:01] local.INFO: Processing buffer {"connection_id":204493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1fdd00012d7eb04005b7a218000b00002a..."} 
[2026-10-05 13:45:01] local.INFO: Packet analysis {"connection_id":204493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1f"} 
[2026-10-05 13:45:01] local.INFO: Extracted packet for processing {"connection_id":204493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1f"} 
[2026-10-05 13:45:01] local.INFO: GPS Element Parsed {"raw_longitude":763277376,"raw_latitude":95920664,"longitude_deg":76.3277376,"latitude_deg":9.5920664,"altitude":11,"angle":0,"satellites":42,"speed":47,"hex_longitude":"2d7eb040","hex_latitude":"05b7a218","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544125952001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1925081651478528,"note":"Value kept but may cause issues"} 
[2026-10-05 13:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128585363000729600,"note":"Value kept but may cause issues"} 
[2026-10-05 13:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791188000000,"timestamp_ms":1791188000000,"timestamp_seconds":1791188000,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1fdd00"} 
[2026-10-05 13:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:45:01] 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-10-05 13: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 13:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:45: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-10-05 13:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544125952001,"66":27876,"121":206,"85":12544,"24":47,"16":1925081651478528,"45":9128585363000729600},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-10-05 13:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544125952001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:45:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 13:45:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1925081651478528,"km_value":1925081651478.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128585363000729600,"description":"Unknown IO ID 45"} 
[2026-10-05 13:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544125952001,"power":27876,"unknown_121":206,"unknown_85":12544,"ignition":47,"odometer":null,"unknown_45":9128585363000729600}} 
[2026-10-05 13:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":204493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:45:01] local.INFO: GPS data processed {"connection_id":204493,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:45:01] local.INFO: Acknowledgment sent {"connection_id":204493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:45:02] local.INFO: TCP Data received {"connection_id":204493,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b1ffc40012d7eb18005b7c768000a00022a..."} 
[2026-10-05 13:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b1ffc40012d7eb18005b7c768000a00022a..."} 
[2026-10-05 13:45:02] local.INFO: Processing buffer {"connection_id":204493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b1ffc40012d7eb18005b7c768000a00022a..."} 
[2026-10-05 13:45:02] local.INFO: Packet analysis {"connection_id":204493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b1f"} 
[2026-10-05 13:45:02] local.INFO: Extracted packet for processing {"connection_id":204493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b1f"} 
[2026-10-05 13:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763277696,"raw_latitude":95930216,"longitude_deg":76.3277696,"latitude_deg":9.5930216,"altitude":10,"angle":2,"satellites":42,"speed":47,"hex_longitude":"2d7eb180","hex_latitude":"05b7c768","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544128000001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1925545507946496,"note":"Value kept but may cause issues"} 
[2026-10-05 13:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128866837979863040,"note":"Value kept but may cause issues"} 
[2026-10-05 13:45:02] 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-10-05 13:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791188008000,"timestamp_ms":1791188008000,"timestamp_seconds":1791188008,"priority":1,"record_length":96,"hex_timestamp":"000001a10b1ffc40"} 
[2026-10-05 13:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:45: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-10-05 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-05 13:45:02] 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-10-05 13: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-10-05 13:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544128000001,"66":27865,"121":206,"85":12544,"24":47,"16":1925545507946496,"45":9128866837979863040},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-10-05 13:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544128000001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:45:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 13:45:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1925545507946496,"km_value":1925545507946.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128866837979863040,"description":"Unknown IO ID 45"} 
[2026-10-05 13:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544128000001,"power":27865,"unknown_121":206,"unknown_85":12544,"ignition":47,"odometer":null,"unknown_45":9128866837979863040}} 
[2026-10-05 13:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":204493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:45:02] local.INFO: GPS data processed {"connection_id":204493,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:45:02] local.INFO: Acknowledgment sent {"connection_id":204493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:45:04] local.INFO: TCP Data received {"connection_id":204494,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:45:04] local.INFO: Processing buffer {"connection_id":204494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:45:04] local.INFO: IMEI packet received {"connection_id":204494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":204494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:45:09] local.INFO: TCP Data received {"connection_id":204494,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:45:09] local.INFO: Processing buffer {"connection_id":204494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:45:09] local.INFO: IMEI packet received {"connection_id":204494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":204494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:45:10] local.INFO: TCP Data received {"connection_id":204494,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:45:10] local.INFO: Processing buffer {"connection_id":204494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:45:10] local.INFO: Packet analysis {"connection_id":204494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b20"} 
[2026-10-05 13:45:10] local.INFO: Extracted packet for processing {"connection_id":204494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b20"} 
[2026-10-05 13:45:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544055040001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:45:10] 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-10-05 13:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791188016000,"timestamp_ms":1791188016000,"timestamp_seconds":1791188016,"priority":1,"record_length":96,"hex_timestamp":"000001a10b201b80"} 
[2026-10-05 13:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:45:10] 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-10-05 13:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:45: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-10-05 13:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544055040001,"66":12743,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544055040001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:45:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:45:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544055040001,"power":12743,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":204494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967652,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:45:10] local.INFO: GPS data processed {"connection_id":204494,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:45:10] local.INFO: Acknowledgment sent {"connection_id":204494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:45:15] local.INFO: TCP Data received {"connection_id":204494,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:45:15] local.INFO: Processing buffer {"connection_id":204494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:45:15] local.INFO: Packet analysis {"connection_id":204494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b20"} 
[2026-10-05 13:45:15] local.INFO: Extracted packet for processing {"connection_id":204494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b20"} 
[2026-10-05 13:45:15] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544055040001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:45:15] 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-10-05 13:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791188016000,"timestamp_ms":1791188016000,"timestamp_seconds":1791188016,"priority":1,"record_length":96,"hex_timestamp":"000001a10b201b80"} 
[2026-10-05 13:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544055040001,"66":12743,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544055040001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:45:15] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:45:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544055040001,"power":12743,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":204494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:45:15] local.INFO: GPS data processed {"connection_id":204494,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:45:15] local.INFO: Acknowledgment sent {"connection_id":204494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:45:33] local.INFO: TCP Data received {"connection_id":204493,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b201b80012d7eb2c005b7ec20000900022a..."} 
[2026-10-05 13:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b201b80012d7eb2c005b7ec20000900022a..."} 
[2026-10-05 13:45:33] local.INFO: Processing buffer {"connection_id":204493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b201b80012d7eb2c005b7ec20000900022a..."} 
[2026-10-05 13:45:33] local.INFO: Packet analysis {"connection_id":204493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b20"} 
[2026-10-05 13:45:33] local.INFO: Extracted packet for processing {"connection_id":204493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b20"} 
[2026-10-05 13:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763278016,"raw_latitude":95939616,"longitude_deg":76.3278016,"latitude_deg":9.5939616,"altitude":9,"angle":2,"satellites":42,"speed":47,"hex_longitude":"2d7eb2c0","hex_latitude":"05b7ec20","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544130048001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1926000774479872,"note":"Value kept but may cause issues"} 
[2026-10-05 13:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129218681703196672,"note":"Value kept but may cause issues"} 
[2026-10-05 13:45:33] 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-10-05 13:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791188016000,"timestamp_ms":1791188016000,"timestamp_seconds":1791188016,"priority":1,"record_length":96,"hex_timestamp":"000001a10b201b80"} 
[2026-10-05 13:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:45:33] 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-10-05 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 13:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:45: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-10-05 13:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544130048001,"66":27908,"166":206,"85":12544,"24":47,"16":1926000774479872,"45":9129218681703196672},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-10-05 13:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544130048001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:45:33] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-10-05 13:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1926000774479872,"km_value":1926000774479.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129218681703196672,"description":"Unknown IO ID 45"} 
[2026-10-05 13:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544130048001,"power":27908,"unknown_166":206,"unknown_85":12544,"ignition":47,"odometer":null,"unknown_45":9129218681703196672}} 
[2026-10-05 13:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":204493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:45:33] local.INFO: GPS data processed {"connection_id":204493,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:45:33] local.INFO: Acknowledgment sent {"connection_id":204493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:45:55] local.INFO: TCP Data received {"connection_id":207573,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:45:55] local.INFO: Processing buffer {"connection_id":207573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:45:55] local.INFO: IMEI packet received {"connection_id":207573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":207573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:45:57] local.INFO: TCP Data received {"connection_id":207573,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:45:57] local.INFO: Processing buffer {"connection_id":207573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:45:57] local.INFO: IMEI packet received {"connection_id":207573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":207573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:45:59] local.INFO: TCP Data received {"connection_id":206036,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:45:59] local.INFO: Processing buffer {"connection_id":206036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:45:59] local.INFO: IMEI packet received {"connection_id":206036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":206036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:46:00] local.INFO: TCP Data received {"connection_id":207573,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:46:00] local.INFO: Processing buffer {"connection_id":207573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:46:00] local.INFO: IMEI packet received {"connection_id":207573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":207573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:46:01] local.INFO: TCP Data received {"connection_id":207573,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b215018012d7ed34005b96db00008000a29..."} 
[2026-10-05 13:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b215018012d7ed34005b96db00008000a29..."} 
[2026-10-05 13:46:01] local.INFO: Processing buffer {"connection_id":207573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b215018012d7ed34005b96db00008000a29..."} 
[2026-10-05 13:46:01] local.INFO: Packet analysis {"connection_id":207573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b21"} 
[2026-10-05 13:46:01] local.INFO: Extracted packet for processing {"connection_id":207573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b21"} 
[2026-10-05 13:46:01] local.INFO: GPS Element Parsed {"raw_longitude":763286336,"raw_latitude":96038320,"longitude_deg":76.3286336,"latitude_deg":9.603832,"altitude":8,"angle":10,"satellites":41,"speed":47,"hex_longitude":"2d7ed340","hex_latitude":"05b96db0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544150272001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1930811137851392,"note":"Value kept but may cause issues"} 
[2026-10-05 13:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137170349820645376,"note":"Value kept but may cause issues"} 
[2026-10-05 13:46:01] 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-10-05 13:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791188095000,"timestamp_ms":1791188095000,"timestamp_seconds":1791188095,"priority":1,"record_length":96,"hex_timestamp":"000001a10b215018"} 
[2026-10-05 13:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:46:01] 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-10-05 13:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 13:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:46: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-10-05 13:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544150272001,"66":27745,"127":206,"85":12544,"24":47,"16":1930811137851392,"45":9137170349820645376},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-10-05 13:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544150272001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:46:01] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-10-05 13:46:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1930811137851392,"km_value":1930811137851.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137170349820645376,"description":"Unknown IO ID 45"} 
[2026-10-05 13:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544150272001,"power":27745,"unknown_127":206,"unknown_85":12544,"ignition":47,"odometer":null,"unknown_45":9137170349820645376}} 
[2026-10-05 13:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":207573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:46:01] local.INFO: GPS data processed {"connection_id":207573,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:46:01] local.INFO: Acknowledgment sent {"connection_id":207573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:46:04] local.INFO: TCP Data received {"connection_id":206036,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:46:04] local.INFO: Processing buffer {"connection_id":206036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:46:04] local.INFO: IMEI packet received {"connection_id":206036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":206036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:46:05] local.INFO: TCP Data received {"connection_id":206036,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:46:05] local.INFO: Processing buffer {"connection_id":206036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:46:05] local.INFO: Packet analysis {"connection_id":206036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b20"} 
[2026-10-05 13:46:05] local.INFO: Extracted packet for processing {"connection_id":206036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b20"} 
[2026-10-05 13:46:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544055040001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:46:05] 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-10-05 13:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791188016000,"timestamp_ms":1791188016000,"timestamp_seconds":1791188016,"priority":1,"record_length":96,"hex_timestamp":"000001a10b201b80"} 
[2026-10-05 13:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:46: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-10-05 13:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:46:05] 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-10-05 13:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":206036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":206036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":206036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:46:05] 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-10-05 13:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544055040001,"66":12743,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544055040001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:46:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:46:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544055040001,"power":12743,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":206036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:46:05] local.INFO: GPS data processed {"connection_id":206036,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:46:05] local.INFO: Acknowledgment sent {"connection_id":206036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:46:33] local.INFO: TCP Data received {"connection_id":207573,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b216f58012d7eda4005b992780008000a28..."} 
[2026-10-05 13:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b216f58012d7eda4005b992780008000a28..."} 
[2026-10-05 13:46:33] local.INFO: Processing buffer {"connection_id":207573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b216f58012d7eda4005b992780008000a28..."} 
[2026-10-05 13:46:33] local.INFO: Packet analysis {"connection_id":207573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b21"} 
[2026-10-05 13:46:33] local.INFO: Extracted packet for processing {"connection_id":207573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b21"} 
[2026-10-05 13:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763288128,"raw_latitude":96047736,"longitude_deg":76.3288128,"latitude_deg":9.6047736,"altitude":8,"angle":10,"satellites":40,"speed":47,"hex_longitude":"2d7eda40","hex_latitude":"05b99278","is_valid_coordinates":true} 
[2026-10-05 13:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544152320001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1931274994319360,"note":"Value kept but may cause issues"} 
[2026-10-05 13:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138718462194855936,"note":"Value kept but may cause issues"} 
[2026-10-05 13:46:33] 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-10-05 13:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791188103000,"timestamp_ms":1791188103000,"timestamp_seconds":1791188103,"priority":1,"record_length":96,"hex_timestamp":"000001a10b216f58"} 
[2026-10-05 13:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:46:33] 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-10-05 13:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 13:46: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-10-05 13:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:46: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-10-05 13:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544152320001,"66":27865,"127":206,"85":12544,"24":47,"16":1931274994319360,"45":9138718462194855936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-10-05 13:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544152320001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:46:33] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-10-05 13:46:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1931274994319360,"km_value":1931274994319.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138718462194855936,"description":"Unknown IO ID 45"} 
[2026-10-05 13:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544152320001,"power":27865,"unknown_127":206,"unknown_85":12544,"ignition":47,"odometer":null,"unknown_45":9138718462194855936}} 
[2026-10-05 13:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":207573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:46:33] local.INFO: GPS data processed {"connection_id":207573,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:46:33] local.INFO: Acknowledgment sent {"connection_id":207573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:46:37] local.INFO: TCP Data received {"connection_id":206036,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:46:37] local.INFO: Processing buffer {"connection_id":206036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:46:37] local.INFO: Packet analysis {"connection_id":206036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b20"} 
[2026-10-05 13:46:37] local.INFO: Extracted packet for processing {"connection_id":206036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b20"} 
[2026-10-05 13:46:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544055040001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:46:37] 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-10-05 13:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791188016000,"timestamp_ms":1791188016000,"timestamp_seconds":1791188016,"priority":1,"record_length":96,"hex_timestamp":"000001a10b201b80"} 
[2026-10-05 13:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:46:37] 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-10-05 13: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-10-05 13:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:46:37] 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-10-05 13:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544055040001,"66":12743,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544055040001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:46:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:46:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544055040001,"power":12743,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":206036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:46:37] local.INFO: GPS data processed {"connection_id":206036,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:46:37] local.INFO: Acknowledgment sent {"connection_id":206036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:46:54] local.INFO: TCP Data received {"connection_id":204621,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:46:54] local.INFO: Processing buffer {"connection_id":204621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:46:54] local.INFO: IMEI packet received {"connection_id":204621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":204621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:46:59] local.INFO: TCP Data received {"connection_id":204495,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:46:59] local.INFO: Processing buffer {"connection_id":204495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:46:59] local.INFO: IMEI packet received {"connection_id":204495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":204495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:47:00] local.INFO: TCP Data received {"connection_id":204621,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:47:00] local.INFO: Processing buffer {"connection_id":204621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:47:00] local.INFO: IMEI packet received {"connection_id":204621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":204621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:47:01] local.INFO: TCP Data received {"connection_id":204621,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b218e98012d7ee0c005b9b6a00008000929..."} 
[2026-10-05 13:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b218e98012d7ee0c005b9b6a00008000929..."} 
[2026-10-05 13:47:01] local.INFO: Processing buffer {"connection_id":204621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b218e98012d7ee0c005b9b6a00008000929..."} 
[2026-10-05 13:47:01] local.INFO: Packet analysis {"connection_id":204621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b21"} 
[2026-10-05 13:47:01] local.INFO: Extracted packet for processing {"connection_id":204621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b21"} 
[2026-10-05 13:47:01] local.INFO: GPS Element Parsed {"raw_longitude":763289792,"raw_latitude":96056992,"longitude_deg":76.3289792,"latitude_deg":9.6056992,"altitude":8,"angle":9,"satellites":41,"speed":47,"hex_longitude":"2d7ee0c0","hex_latitude":"05b9b6a0","is_valid_coordinates":true} 
[2026-10-05 13:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544154368001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1931730260852736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9140688787034241024,"note":"Value kept but may cause issues"} 
[2026-10-05 13:47:01] 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-10-05 13:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791188111000,"timestamp_ms":1791188111000,"timestamp_seconds":1791188111,"priority":1,"record_length":96,"hex_timestamp":"000001a10b218e98"} 
[2026-10-05 13:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:47:01] 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-10-05 13:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 13:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:47: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-10-05 13:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544154368001,"66":27908,"127":206,"85":12544,"24":47,"16":1931730260852736,"45":9140688787034241024},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-10-05 13:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544154368001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:47:01] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-10-05 13:47:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1931730260852736,"km_value":1931730260852.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9140688787034241024,"description":"Unknown IO ID 45"} 
[2026-10-05 13:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544154368001,"power":27908,"unknown_127":206,"unknown_85":12544,"ignition":47,"odometer":null,"unknown_45":9140688787034241024}} 
[2026-10-05 13:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":204621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:47:01] local.INFO: GPS data processed {"connection_id":204621,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:47:01] local.INFO: Acknowledgment sent {"connection_id":204621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:47:04] local.INFO: TCP Data received {"connection_id":204495,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:47:04] local.INFO: Processing buffer {"connection_id":204495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:47:04] local.INFO: IMEI packet received {"connection_id":204495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":204495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:47:05] local.INFO: TCP Data received {"connection_id":204495,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:47:05] local.INFO: Processing buffer {"connection_id":204495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:47:05] local.INFO: Packet analysis {"connection_id":204495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b20"} 
[2026-10-05 13:47:05] local.INFO: Extracted packet for processing {"connection_id":204495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b20"} 
[2026-10-05 13:47:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544055040001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:47:05] 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-10-05 13:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791188016000,"timestamp_ms":1791188016000,"timestamp_seconds":1791188016,"priority":1,"record_length":96,"hex_timestamp":"000001a10b201b80"} 
[2026-10-05 13:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:47: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-10-05 13: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:47:05] 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-10-05 13: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-10-05 13:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:47:05] 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-10-05 13:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544055040001,"66":12743,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544055040001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:47:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:47:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544055040001,"power":12743,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":204495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967660,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:47:05] local.INFO: GPS data processed {"connection_id":204495,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:47:05] local.INFO: Acknowledgment sent {"connection_id":204495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:47:32] local.INFO: TCP Data received {"connection_id":204621,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b21add8012d7ee70005b9dad80008000a24..."} 
[2026-10-05 13:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b21add8012d7ee70005b9dad80008000a24..."} 
[2026-10-05 13:47:32] local.INFO: Processing buffer {"connection_id":204621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b21add8012d7ee70005b9dad80008000a24..."} 
[2026-10-05 13:47:32] local.INFO: Packet analysis {"connection_id":204621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b21"} 
[2026-10-05 13:47:32] local.INFO: Extracted packet for processing {"connection_id":204621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b21"} 
[2026-10-05 13:47:32] local.INFO: GPS Element Parsed {"raw_longitude":763291392,"raw_latitude":96066264,"longitude_deg":76.3291392,"latitude_deg":9.6066264,"altitude":8,"angle":10,"satellites":36,"speed":47,"hex_longitude":"2d7ee700","hex_latitude":"05b9dad8","is_valid_coordinates":true} 
[2026-10-05 13:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544156416001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1932185527386112,"note":"Value kept but may cause issues"} 
[2026-10-05 13:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9142518374385229824,"note":"Value kept but may cause issues"} 
[2026-10-05 13:47: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-10-05 13:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791188119000,"timestamp_ms":1791188119000,"timestamp_seconds":1791188119,"priority":1,"record_length":96,"hex_timestamp":"000001a10b21add8"} 
[2026-10-05 13:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:47:32] 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-10-05 13:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 13:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544156416001,"66":27908,"127":206,"85":12544,"24":47,"16":1932185527386112,"45":9142518374385229824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-10-05 13:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544156416001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:47:32] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-10-05 13:47:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1932185527386112,"km_value":1932185527386.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9142518374385229824,"description":"Unknown IO ID 45"} 
[2026-10-05 13:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544156416001,"power":27908,"unknown_127":206,"unknown_85":12544,"ignition":47,"odometer":null,"unknown_45":9142518374385229824}} 
[2026-10-05 13:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":204621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:47:32] local.INFO: GPS data processed {"connection_id":204621,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:47:32] local.INFO: Acknowledgment sent {"connection_id":204621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:47:37] local.INFO: TCP Data received {"connection_id":204495,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:47:37] local.INFO: Processing buffer {"connection_id":204495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:47:37] local.INFO: Packet analysis {"connection_id":204495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b20"} 
[2026-10-05 13:47:37] local.INFO: Extracted packet for processing {"connection_id":204495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b20"} 
[2026-10-05 13:47:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544055040001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:47:37] 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-10-05 13:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791188016000,"timestamp_ms":1791188016000,"timestamp_seconds":1791188016,"priority":1,"record_length":96,"hex_timestamp":"000001a10b201b80"} 
[2026-10-05 13:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:47:37] 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-10-05 13:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:47:37] 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-10-05 13:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544055040001,"66":12743,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544055040001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:47:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:47:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544055040001,"power":12743,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":204495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967662,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:47:37] local.INFO: GPS data processed {"connection_id":204495,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:47:37] local.INFO: Acknowledgment sent {"connection_id":204495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:47:57] local.INFO: TCP Data received {"connection_id":206038,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:47:57] local.INFO: Processing buffer {"connection_id":206038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:47:57] local.INFO: IMEI packet received {"connection_id":206038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":206038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:47:59] local.INFO: TCP Data received {"connection_id":204496,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204496,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:47:59] local.INFO: Processing buffer {"connection_id":204496,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:47:59] local.INFO: IMEI packet received {"connection_id":204496,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":204496,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:48:00] local.INFO: TCP Data received {"connection_id":206038,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:48:00] local.INFO: Processing buffer {"connection_id":206038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:48:00] local.INFO: IMEI packet received {"connection_id":206038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":206038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:48:04] local.INFO: TCP Data received {"connection_id":206038,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:48:04] local.INFO: Processing buffer {"connection_id":206038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:48:04] local.INFO: IMEI packet received {"connection_id":206038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":206038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:48:04] local.INFO: TCP Data received {"connection_id":204496,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204496,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:48:04] local.INFO: Processing buffer {"connection_id":204496,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:48:04] local.INFO: IMEI packet received {"connection_id":204496,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":204496,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:48:04] local.INFO: TCP Data received {"connection_id":206038,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b21cd18012d7eecc005b9fef80007000824..."} 
[2026-10-05 13:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b21cd18012d7eecc005b9fef80007000824..."} 
[2026-10-05 13:48:04] local.INFO: Processing buffer {"connection_id":206038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b21cd18012d7eecc005b9fef80007000824..."} 
[2026-10-05 13:48:04] local.INFO: Packet analysis {"connection_id":206038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b21"} 
[2026-10-05 13:48:04] local.INFO: Extracted packet for processing {"connection_id":206038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b21"} 
[2026-10-05 13:48:04] local.INFO: GPS Element Parsed {"raw_longitude":763292864,"raw_latitude":96075512,"longitude_deg":76.3292864,"latitude_deg":9.6075512,"altitude":7,"angle":8,"satellites":36,"speed":45,"hex_longitude":"2d7eecc0","hex_latitude":"05b9fef8","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544158464001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1932640793919488,"note":"Value kept but may cause issues"} 
[2026-10-05 13:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9144277592992045056,"note":"Value kept but may cause issues"} 
[2026-10-05 13:48:04] 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-10-05 13:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791188127000,"timestamp_ms":1791188127000,"timestamp_seconds":1791188127,"priority":1,"record_length":96,"hex_timestamp":"000001a10b21cd18"} 
[2026-10-05 13:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:48: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-10-05 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 13:48: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-10-05 13: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-10-05 13:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":206038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":206038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":206038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544158464001,"66":27876,"128":206,"85":12544,"24":45,"16":1932640793919488,"45":9144277592992045056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,85,24,16,45]} 
[2026-10-05 13:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544158464001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:48:04] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-10-05 13:48:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1932640793919488,"km_value":1932640793919.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9144277592992045056,"description":"Unknown IO ID 45"} 
[2026-10-05 13:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544158464001,"power":27876,"unknown_128":206,"unknown_85":12544,"ignition":45,"odometer":null,"unknown_45":9144277592992045056}} 
[2026-10-05 13:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":206038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:48:04] local.INFO: GPS data processed {"connection_id":206038,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:48:04] local.INFO: Acknowledgment sent {"connection_id":206038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:48:05] local.INFO: TCP Data received {"connection_id":206038,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b21f428012d7ef24005ba24400007000a27..."} 
[2026-10-05 13:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b21f428012d7ef24005ba24400007000a27..."} 
[2026-10-05 13:48:05] local.INFO: Processing buffer {"connection_id":206038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b21f428012d7ef24005ba24400007000a27..."} 
[2026-10-05 13:48:05] local.INFO: Packet analysis {"connection_id":206038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b21"} 
[2026-10-05 13:48:05] local.INFO: Extracted packet for processing {"connection_id":206038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b21"} 
[2026-10-05 13:48:05] local.INFO: GPS Element Parsed {"raw_longitude":763294272,"raw_latitude":96085056,"longitude_deg":76.3294272,"latitude_deg":9.6085056,"altitude":7,"angle":10,"satellites":39,"speed":35,"hex_longitude":"2d7ef240","hex_latitude":"05ba2440","is_valid_coordinates":true} 
[2026-10-05 13:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544160512001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1933108945354752,"note":"Value kept but may cause issues"} 
[2026-10-05 13:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9145896074110498816,"note":"Value kept but may cause issues"} 
[2026-10-05 13:48:05] 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-10-05 13:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791188137000,"timestamp_ms":1791188137000,"timestamp_seconds":1791188137,"priority":1,"record_length":96,"hex_timestamp":"000001a10b21f428"} 
[2026-10-05 13:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:48:05] 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-10-05 13:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-05 13:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":206038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":206038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":206038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:48: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-10-05 13:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544160512001,"66":27908,"128":206,"85":12544,"24":35,"16":1933108945354752,"45":9145896074110498816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,85,24,16,45]} 
[2026-10-05 13:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544160512001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:48:05] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-10-05 13:48:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1933108945354752,"km_value":1933108945354.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9145896074110498816,"description":"Unknown IO ID 45"} 
[2026-10-05 13:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544160512001,"power":27908,"unknown_128":206,"unknown_85":12544,"ignition":35,"odometer":null,"unknown_45":9145896074110498816}} 
[2026-10-05 13:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":206038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:48:05] local.INFO: GPS data processed {"connection_id":206038,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:48:05] local.INFO: Acknowledgment sent {"connection_id":206038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:48:05] local.INFO: TCP Data received {"connection_id":204496,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:48:05] local.INFO: Processing buffer {"connection_id":204496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:48:05] local.INFO: Packet analysis {"connection_id":204496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b20"} 
[2026-10-05 13:48:05] local.INFO: Extracted packet for processing {"connection_id":204496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b20"} 
[2026-10-05 13:48:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544055040001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:48:05] 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-10-05 13:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791188016000,"timestamp_ms":1791188016000,"timestamp_seconds":1791188016,"priority":1,"record_length":96,"hex_timestamp":"000001a10b201b80"} 
[2026-10-05 13:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13: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-10-05 13:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:48:05] 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-10-05 13:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:48:05] 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-10-05 13:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544055040001,"66":12743,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544055040001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:48:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:48:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544055040001,"power":12743,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":204496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967665,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:48:05] local.INFO: GPS data processed {"connection_id":204496,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:48:05] local.INFO: Acknowledgment sent {"connection_id":204496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:48:36] local.INFO: TCP Data received {"connection_id":206038,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b222ec0012d7ef80005ba46e80007000825..."} 
[2026-10-05 13:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b222ec0012d7ef80005ba46e80007000825..."} 
[2026-10-05 13:48:36] local.INFO: Processing buffer {"connection_id":206038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b222ec0012d7ef80005ba46e80007000825..."} 
[2026-10-05 13:48:36] local.INFO: Packet analysis {"connection_id":206038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b22"} 
[2026-10-05 13:48:36] local.INFO: Extracted packet for processing {"connection_id":206038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b22"} 
[2026-10-05 13:48:36] local.INFO: GPS Element Parsed {"raw_longitude":763295744,"raw_latitude":96093928,"longitude_deg":76.3295744,"latitude_deg":9.6093928,"altitude":7,"angle":8,"satellites":37,"speed":22,"hex_longitude":"2d7ef800","hex_latitude":"05ba46e8","is_valid_coordinates":true} 
[2026-10-05 13:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544163072001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1933547032018944,"note":"Value kept but may cause issues"} 
[2026-10-05 13:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9147444186484850688,"note":"Value kept but may cause issues"} 
[2026-10-05 13:48:36] 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-10-05 13:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791188152000,"timestamp_ms":1791188152000,"timestamp_seconds":1791188152,"priority":1,"record_length":96,"hex_timestamp":"000001a10b222ec0"} 
[2026-10-05 13:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:48: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-10-05 13:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 13:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544163072001,"66":27995,"128":206,"85":12544,"24":22,"16":1933547032018944,"45":9147444186484850688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,85,24,16,45]} 
[2026-10-05 13:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544163072001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:48:36] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-10-05 13:48:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1933547032018944,"km_value":1933547032018.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9147444186484850688,"description":"Unknown IO ID 45"} 
[2026-10-05 13:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544163072001,"power":27995,"unknown_128":206,"unknown_85":12544,"ignition":22,"odometer":null,"unknown_45":9147444186484850688}} 
[2026-10-05 13:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":206038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:48:36] local.INFO: GPS data processed {"connection_id":206038,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:48:36] local.INFO: Acknowledgment sent {"connection_id":206038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:48:37] local.INFO: TCP Data received {"connection_id":204496,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:48:37] local.INFO: Processing buffer {"connection_id":204496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b201b80012d7b524005e13b08000c00a925..."} 
[2026-10-05 13:48:37] local.INFO: Packet analysis {"connection_id":204496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b20"} 
[2026-10-05 13:48:37] local.INFO: Extracted packet for processing {"connection_id":204496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b20"} 
[2026-10-05 13:48:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544055040001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:48:37] 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-10-05 13:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791188016000,"timestamp_ms":1791188016000,"timestamp_seconds":1791188016,"priority":1,"record_length":96,"hex_timestamp":"000001a10b201b80"} 
[2026-10-05 13:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:48:37] 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-10-05 13: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-10-05 13:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:48:37] 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-10-05 13:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544055040001,"66":12743,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544055040001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:48:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:48:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544055040001,"power":12743,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":204496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:48:37] local.INFO: GPS data processed {"connection_id":204496,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:48:37] local.INFO: Acknowledgment sent {"connection_id":204496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:48:52] local.INFO: TCP Data received {"connection_id":204499,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:48:52] local.INFO: Processing buffer {"connection_id":204499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:48:52] local.INFO: IMEI packet received {"connection_id":204499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":204499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:48:55] local.INFO: TCP Data received {"connection_id":204499,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:48:55] local.INFO: Processing buffer {"connection_id":204499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:48:55] local.INFO: IMEI packet received {"connection_id":204499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":204499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:49:00] local.INFO: TCP Data received {"connection_id":204499,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:49:00] local.INFO: Processing buffer {"connection_id":204499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:49:00] local.INFO: IMEI packet received {"connection_id":204499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":204499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:49:00] local.INFO: TCP Data received {"connection_id":204499,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b23eff8012d7f2bc005bb64b8000a000a2a..."} 
[2026-10-05 13:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b23eff8012d7f2bc005bb64b8000a000a2a..."} 
[2026-10-05 13:49:00] local.INFO: Processing buffer {"connection_id":204499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b23eff8012d7f2bc005bb64b8000a000a2a..."} 
[2026-10-05 13:49:00] local.INFO: Packet analysis {"connection_id":204499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b23"} 
[2026-10-05 13:49:00] local.INFO: Extracted packet for processing {"connection_id":204499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b23"} 
[2026-10-05 13:49:00] local.INFO: GPS Element Parsed {"raw_longitude":763308992,"raw_latitude":96167096,"longitude_deg":76.3308992,"latitude_deg":9.6167096,"altitude":10,"angle":10,"satellites":42,"speed":32,"hex_longitude":"2d7f2bc0","hex_latitude":"05bb64b8","is_valid_coordinates":true} 
[2026-10-05 13:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544192768001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1937167689449472,"note":"Value kept but may cause issues"} 
[2026-10-05 13:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9162080885292404736,"note":"Value kept but may cause issues"} 
[2026-10-05 13:49:00] 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-10-05 13:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791188267000,"timestamp_ms":1791188267000,"timestamp_seconds":1791188267,"priority":1,"record_length":96,"hex_timestamp":"000001a10b23eff8"} 
[2026-10-05 13:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:49:00] 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-10-05 13:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 13:49: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-10-05 13:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:49: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-10-05 13:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544192768001,"66":27767,"120":206,"85":12544,"24":32,"16":1937167689449472,"45":9162080885292404736},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-10-05 13:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544192768001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:49:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 13:49:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1937167689449472,"km_value":1937167689449.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9162080885292404736,"description":"Unknown IO ID 45"} 
[2026-10-05 13:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544192768001,"power":27767,"unknown_120":206,"unknown_85":12544,"ignition":32,"odometer":null,"unknown_45":9162080885292404736}} 
[2026-10-05 13:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":204499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:49:00] local.INFO: GPS data processed {"connection_id":204499,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:49:00] local.INFO: Acknowledgment sent {"connection_id":204499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:49:03] local.INFO: TCP Data received {"connection_id":204499,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2426a8012d7f310005bb86e00009000826..."} 
[2026-10-05 13:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2426a8012d7f310005bb86e00009000826..."} 
[2026-10-05 13:49:03] local.INFO: Processing buffer {"connection_id":204499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2426a8012d7f310005bb86e00009000826..."} 
[2026-10-05 13:49:03] local.INFO: Packet analysis {"connection_id":204499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:49:03] local.INFO: Extracted packet for processing {"connection_id":204499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:49:03] local.INFO: GPS Element Parsed {"raw_longitude":763310336,"raw_latitude":96175840,"longitude_deg":76.3310336,"latitude_deg":9.617584,"altitude":9,"angle":8,"satellites":38,"speed":17,"hex_longitude":"2d7f3100","hex_latitude":"05bb86e0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544196352001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1937597186179072,"note":"Value kept but may cause issues"} 
[2026-10-05 13:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9163628997666715648,"note":"Value kept but may cause issues"} 
[2026-10-05 13:49:03] 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-10-05 13:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791188281000,"timestamp_ms":1791188281000,"timestamp_seconds":1791188281,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2426a8"} 
[2026-10-05 13:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:49:03] 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-10-05 13: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-05 13:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":204499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":204499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":204499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544196352001,"66":27930,"120":206,"85":12544,"24":17,"16":1937597186179072,"45":9163628997666715648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-10-05 13:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544196352001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:49:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 13:49:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1937597186179072,"km_value":1937597186179.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9163628997666715648,"description":"Unknown IO ID 45"} 
[2026-10-05 13:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544196352001,"power":27930,"unknown_120":206,"unknown_85":12544,"ignition":17,"odometer":null,"unknown_45":9163628997666715648}} 
[2026-10-05 13:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":204499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:49:03] local.INFO: GPS data processed {"connection_id":204499,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:49:03] local.INFO: Acknowledgment sent {"connection_id":204499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:49:04] local.INFO: TCP Data received {"connection_id":204623,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:49:04] local.INFO: Processing buffer {"connection_id":204623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:49:04] local.INFO: IMEI packet received {"connection_id":204623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":204623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:49:09] local.INFO: TCP Data received {"connection_id":204623,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:49:09] local.INFO: Processing buffer {"connection_id":204623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:49:09] local.INFO: IMEI packet received {"connection_id":204623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":204623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:49:10] local.INFO: TCP Data received {"connection_id":204623,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:49:10] local.INFO: Processing buffer {"connection_id":204623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:49:10] local.INFO: Packet analysis {"connection_id":204623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:49:10] local.INFO: Extracted packet for processing {"connection_id":204623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:49:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544132096001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:49:10] 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-10-05 13:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791188317000,"timestamp_ms":1791188317000,"timestamp_seconds":1791188317,"priority":1,"record_length":96,"hex_timestamp":"000001a10b24b348"} 
[2026-10-05 13:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:49:10] 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-10-05 13: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-10-05 13:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544132096001,"66":12689,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544132096001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:49:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544132096001,"power":12689,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":204623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967670,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:49:10] local.INFO: GPS data processed {"connection_id":204623,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:49:10] local.INFO: Acknowledgment sent {"connection_id":204623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:49:10] local.INFO: TCP Data received {"connection_id":206039,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:49:10] local.INFO: Processing buffer {"connection_id":206039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:49:10] local.INFO: IMEI packet received {"connection_id":206039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":206039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:49:11] local.INFO: TCP Data received {"connection_id":206039,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b20cb48012d148b00071f6640002d010127..."} 
[2026-10-05 13:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b20cb48012d148b00071f6640002d010127..."} 
[2026-10-05 13:49:11] local.INFO: Processing buffer {"connection_id":206039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b20cb48012d148b00071f6640002d010127..."} 
[2026-10-05 13:49:11] local.INFO: Packet analysis {"connection_id":206039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b20"} 
[2026-10-05 13:49:11] local.INFO: Extracted packet for processing {"connection_id":206039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b20"} 
[2026-10-05 13:49:11] local.INFO: GPS Element Parsed {"raw_longitude":756321024,"raw_latitude":119498304,"longitude_deg":75.6321024,"latitude_deg":11.9498304,"altitude":45,"angle":257,"satellites":39,"speed":8,"hex_longitude":"2d148b00","hex_latitude":"071f6640","is_valid_coordinates":true} 
[2026-10-05 13:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544143616001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25028758708682752,"note":"Value kept but may cause issues"} 
[2026-10-05 13:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1480276933112905728,"note":"Value kept but may cause issues"} 
[2026-10-05 13:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791188061000,"timestamp_ms":1791188061000,"timestamp_seconds":1791188061,"priority":1,"record_length":96,"hex_timestamp":"000001a10b20cb48"} 
[2026-10-05 13:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:49:11] 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-10-05 13:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 13:49:11] 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-10-05 13:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:49:11] 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-10-05 13:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544143616001,"66":13993,"11":206,"83":41984,"24":8,"16":25028758708682752,"45":1480276933112905728},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-10-05 13:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544143616001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:49:11] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-10-05 13:49:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25028758708682752,"km_value":25028758708682.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1480276933112905728,"description":"Unknown IO ID 45"} 
[2026-10-05 13:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544143616001,"power":13993,"unknown_11":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1480276933112905728}} 
[2026-10-05 13:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":206039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:49:11] local.INFO: GPS data processed {"connection_id":206039,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:49:11] local.INFO: Acknowledgment sent {"connection_id":206039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:49:41] local.INFO: TCP Data received {"connection_id":204623,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:49:41] local.INFO: Processing buffer {"connection_id":204623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:49:41] local.INFO: Packet analysis {"connection_id":204623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:49:41] local.INFO: Extracted packet for processing {"connection_id":204623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:49:41] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544132096001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:49:41] 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-10-05 13:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791188317000,"timestamp_ms":1791188317000,"timestamp_seconds":1791188317,"priority":1,"record_length":96,"hex_timestamp":"000001a10b24b348"} 
[2026-10-05 13:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:49:41] 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-10-05 13: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-10-05 13:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544132096001,"66":12689,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544132096001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:49:41] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544132096001,"power":12689,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":204623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967672,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:49:41] local.INFO: GPS data processed {"connection_id":204623,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:49:41] local.INFO: Acknowledgment sent {"connection_id":204623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:49:42] local.INFO: TCP Data received {"connection_id":206039,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b24c2e8012d148640071f67800026005b2d..."} 
[2026-10-05 13:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b24c2e8012d148640071f67800026005b2d..."} 
[2026-10-05 13:49:42] local.INFO: Processing buffer {"connection_id":206039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b24c2e8012d148640071f67800026005b2d..."} 
[2026-10-05 13:49:42] local.INFO: Packet analysis {"connection_id":206039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:49:42] local.INFO: Extracted packet for processing {"connection_id":206039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:49:42] local.INFO: GPS Element Parsed {"raw_longitude":756319808,"raw_latitude":119498624,"longitude_deg":75.6319808,"latitude_deg":11.9498624,"altitude":38,"angle":91,"satellites":45,"speed":6,"hex_longitude":"2d148640","hex_latitude":"071f6780","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544209664001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25028814543257600,"note":"Value kept but may cause issues"} 
[2026-10-05 13:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1478517714508531712,"note":"Value kept but may cause issues"} 
[2026-10-05 13:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791188321000,"timestamp_ms":1791188321000,"timestamp_seconds":1791188321,"priority":1,"record_length":96,"hex_timestamp":"000001a10b24c2e8"} 
[2026-10-05 13:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:49:42] 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-10-05 13: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 13:49:42] 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-10-05 13: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-10-05 13:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:49:42] 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-10-05 13:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544209664001,"66":13787,"11":206,"83":41984,"24":6,"16":25028814543257600,"45":1478517714508531712},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-10-05 13:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544209664001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:49:42] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-10-05 13:49:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25028814543257600,"km_value":25028814543257.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1478517714508531712,"description":"Unknown IO ID 45"} 
[2026-10-05 13:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544209664001,"power":13787,"unknown_11":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1478517714508531712}} 
[2026-10-05 13:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":206039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:49:42] local.INFO: GPS data processed {"connection_id":206039,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:49:42] local.INFO: Acknowledgment sent {"connection_id":206039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:49:44] local.INFO: TCP Data received {"connection_id":204499,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b245d58012d7f368005bbabe0000900092a..."} 
[2026-10-05 13:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b245d58012d7f368005bbabe0000900092a..."} 
[2026-10-05 13:49:44] local.INFO: Processing buffer {"connection_id":204499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b245d58012d7f368005bbabe0000900092a..."} 
[2026-10-05 13:49:44] local.INFO: Packet analysis {"connection_id":204499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:49:44] local.INFO: Extracted packet for processing {"connection_id":204499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:49:44] local.INFO: GPS Element Parsed {"raw_longitude":763311744,"raw_latitude":96185312,"longitude_deg":76.3311744,"latitude_deg":9.6185312,"altitude":9,"angle":9,"satellites":42,"speed":36,"hex_longitude":"2d7f3680","hex_latitude":"05bbabe0","is_valid_coordinates":true} 
[2026-10-05 13:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544199936001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1938061042647040,"note":"Value kept but may cause issues"} 
[2026-10-05 13:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165106741296685056,"note":"Value kept but may cause issues"} 
[2026-10-05 13:49:44] 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-10-05 13:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791188295000,"timestamp_ms":1791188295000,"timestamp_seconds":1791188295,"priority":1,"record_length":96,"hex_timestamp":"000001a10b245d58"} 
[2026-10-05 13:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:49:44] 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-10-05 13:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-05 13:49:44] 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-10-05 13:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":204499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":204499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":204499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544199936001,"66":27865,"120":206,"85":12544,"24":36,"16":1938061042647040,"45":9165106741296685056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-10-05 13:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544199936001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:49:44] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 13:49:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1938061042647040,"km_value":1938061042647.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165106741296685056,"description":"Unknown IO ID 45"} 
[2026-10-05 13:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544199936001,"power":27865,"unknown_120":206,"unknown_85":12544,"ignition":36,"odometer":null,"unknown_45":9165106741296685056}} 
[2026-10-05 13:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":204499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:49:44] local.INFO: GPS data processed {"connection_id":204499,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:49:44] local.INFO: Acknowledgment sent {"connection_id":204499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:49:54] local.INFO: TCP Data received {"connection_id":207576,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:49:54] local.INFO: Processing buffer {"connection_id":207576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:49:54] local.INFO: IMEI packet received {"connection_id":207576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":207576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:49:55] local.INFO: TCP Data received {"connection_id":207576,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:49:55] local.INFO: Processing buffer {"connection_id":207576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:49:55] local.INFO: IMEI packet received {"connection_id":207576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":207576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:49:59] local.INFO: TCP Data received {"connection_id":207575,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:49:59] local.INFO: Processing buffer {"connection_id":207575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:49:59] local.INFO: IMEI packet received {"connection_id":207575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 13:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":207575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:49:59] local.INFO: TCP Data received {"connection_id":207576,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:49:59] local.INFO: Processing buffer {"connection_id":207576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:49:59] local.INFO: IMEI packet received {"connection_id":207576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":207576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:50:01] local.INFO: TCP Data received {"connection_id":206040,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:50:01] local.INFO: Processing buffer {"connection_id":206040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:50:01] local.INFO: IMEI packet received {"connection_id":206040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":206040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:50:05] local.INFO: TCP Data received {"connection_id":206041,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:50:05] local.INFO: Processing buffer {"connection_id":206041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:50:05] local.INFO: IMEI packet received {"connection_id":206041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":206041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:50:05] local.INFO: TCP Data received {"connection_id":206040,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:50:05] local.INFO: Processing buffer {"connection_id":206040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:50:05] local.INFO: IMEI packet received {"connection_id":206040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":206040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:50:06] local.INFO: TCP Data received {"connection_id":207576,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b248468012d7f3d8005bbd0c0000a000a2a..."} 
[2026-10-05 13:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b248468012d7f3d8005bbd0c0000a000a2a..."} 
[2026-10-05 13:50:06] local.INFO: Processing buffer {"connection_id":207576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b248468012d7f3d8005bbd0c0000a000a2a..."} 
[2026-10-05 13:50:06] local.INFO: Packet analysis {"connection_id":207576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:50:06] local.INFO: Extracted packet for processing {"connection_id":207576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:50:06] local.INFO: GPS Element Parsed {"raw_longitude":763313536,"raw_latitude":96194752,"longitude_deg":76.3313536,"latitude_deg":9.6194752,"altitude":10,"angle":10,"satellites":42,"speed":40,"hex_longitude":"2d7f3d80","hex_latitude":"05bbd0c0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544203520001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1938529194082304,"note":"Value kept but may cause issues"} 
[2026-10-05 13:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9166654853671018496,"note":"Value kept but may cause issues"} 
[2026-10-05 13:50:06] 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-10-05 13:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791188305000,"timestamp_ms":1791188305000,"timestamp_seconds":1791188305,"priority":1,"record_length":96,"hex_timestamp":"000001a10b248468"} 
[2026-10-05 13:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:50: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-10-05 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 13:50: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-10-05 13: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-10-05 13:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:50: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-10-05 13:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544203520001,"66":27887,"120":206,"85":12544,"24":40,"16":1938529194082304,"45":9166654853671018496},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-10-05 13:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544203520001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:50:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 13:50:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1938529194082304,"km_value":1938529194082.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9166654853671018496,"description":"Unknown IO ID 45"} 
[2026-10-05 13:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544203520001,"power":27887,"unknown_120":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9166654853671018496}} 
[2026-10-05 13:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":207576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:50:06] local.INFO: GPS data processed {"connection_id":207576,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:50:06] local.INFO: Acknowledgment sent {"connection_id":207576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:50:07] local.INFO: TCP Data received {"connection_id":206040,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:50:07] local.INFO: Processing buffer {"connection_id":206040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:50:07] local.INFO: Packet analysis {"connection_id":206040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:50:07] local.INFO: Extracted packet for processing {"connection_id":206040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:50:07] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:50: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-10-05 13:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544132096001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:50:07] 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-10-05 13:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791188317000,"timestamp_ms":1791188317000,"timestamp_seconds":1791188317,"priority":1,"record_length":96,"hex_timestamp":"000001a10b24b348"} 
[2026-10-05 13:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:50:07] 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-10-05 13:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":206040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":206040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":206040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:50:07] 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-10-05 13:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544132096001,"66":12689,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544132096001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:50:07] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:50:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544132096001,"power":12689,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":206040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:50:07] local.INFO: GPS data processed {"connection_id":206040,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:50:07] local.INFO: Acknowledgment sent {"connection_id":206040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:50:08] local.INFO: TCP Data received {"connection_id":206041,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:50:08] local.INFO: Processing buffer {"connection_id":206041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:50:08] local.INFO: IMEI packet received {"connection_id":206041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":206041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:50:10] local.INFO: TCP Data received {"connection_id":206040,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:50:10] local.INFO: Processing buffer {"connection_id":206040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:50:10] local.INFO: Packet analysis {"connection_id":206040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:50:10] local.INFO: Extracted packet for processing {"connection_id":206040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:50:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544132096001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:50:10] 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-10-05 13:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791188317000,"timestamp_ms":1791188317000,"timestamp_seconds":1791188317,"priority":1,"record_length":96,"hex_timestamp":"000001a10b24b348"} 
[2026-10-05 13:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:50:10] 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-10-05 13:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":206040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":206040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":206040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:50:10] 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-10-05 13:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544132096001,"66":12689,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544132096001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:50:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544132096001,"power":12689,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":206040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967677,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:50:10] local.INFO: GPS data processed {"connection_id":206040,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:50:10] local.INFO: Acknowledgment sent {"connection_id":206040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:50:10] local.INFO: TCP Data received {"connection_id":206041,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:50:10] local.INFO: Processing buffer {"connection_id":206041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:50:10] local.INFO: IMEI packet received {"connection_id":206041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":206041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:50:11] local.INFO: TCP Data received {"connection_id":206041,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b24f1c8012d1489c0071f6838002a00482e..."} 
[2026-10-05 13:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b24f1c8012d1489c0071f6838002a00482e..."} 
[2026-10-05 13:50:11] local.INFO: Processing buffer {"connection_id":206041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b24f1c8012d1489c0071f6838002a00482e..."} 
[2026-10-05 13:50:11] local.INFO: Packet analysis {"connection_id":206041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:50:11] local.INFO: Extracted packet for processing {"connection_id":206041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:50:11] local.INFO: GPS Element Parsed {"raw_longitude":756320704,"raw_latitude":119498808,"longitude_deg":75.6320704,"latitude_deg":11.9498808,"altitude":42,"angle":72,"satellites":46,"speed":5,"hex_longitude":"2d1489c0","hex_latitude":"071f6838","is_valid_coordinates":true} 
[2026-10-05 13:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544210176001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25028857492930560,"note":"Value kept but may cause issues"} 
[2026-10-05 13:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1478939926973612032,"note":"Value kept but may cause issues"} 
[2026-10-05 13:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791188333000,"timestamp_ms":1791188333000,"timestamp_seconds":1791188333,"priority":1,"record_length":96,"hex_timestamp":"000001a10b24f1c8"} 
[2026-10-05 13:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:50:11] 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-10-05 13:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-10-05 13:50:11] 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-10-05 13:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:50:11] 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-10-05 13:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544210176001,"66":13993,"11":206,"83":41984,"24":5,"16":25028857492930560,"45":1478939926973612032},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-10-05 13:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544210176001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:50:11] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-10-05 13:50:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25028857492930560,"km_value":25028857492930.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1478939926973612032,"description":"Unknown IO ID 45"} 
[2026-10-05 13:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544210176001,"power":13993,"unknown_11":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1478939926973612032}} 
[2026-10-05 13:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":206041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:50:11] local.INFO: GPS data processed {"connection_id":206041,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:50:11] local.INFO: Acknowledgment sent {"connection_id":206041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:50:14] local.INFO: TCP Data received {"connection_id":206041,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b24f998012d148b40071f6918002b00382e..."} 
[2026-10-05 13:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b24f998012d148b40071f6918002b00382e..."} 
[2026-10-05 13:50:14] local.INFO: Processing buffer {"connection_id":206041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b24f998012d148b40071f6918002b00382e..."} 
[2026-10-05 13:50:14] local.INFO: Packet analysis {"connection_id":206041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:50:14] local.INFO: Extracted packet for processing {"connection_id":206041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:50:14] local.INFO: GPS Element Parsed {"raw_longitude":756321088,"raw_latitude":119499032,"longitude_deg":75.6321088,"latitude_deg":11.9499032,"altitude":43,"angle":56,"satellites":46,"speed":9,"hex_longitude":"2d148b40","hex_latitude":"071f6918","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544213248001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25028878967767040,"note":"Value kept but may cause issues"} 
[2026-10-05 13:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1479925089392146432,"note":"Value kept but may cause issues"} 
[2026-10-05 13:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791188335000,"timestamp_ms":1791188335000,"timestamp_seconds":1791188335,"priority":1,"record_length":96,"hex_timestamp":"000001a10b24f998"} 
[2026-10-05 13:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 13:50:14] 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-10-05 13: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-10-05 13:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":206041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":206041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":206041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:50:14] 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-10-05 13:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544213248001,"66":13450,"11":206,"83":41984,"24":9,"16":25028878967767040,"45":1479925089392146432},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-10-05 13:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544213248001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:50:14] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-10-05 13:50:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25028878967767040,"km_value":25028878967767.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1479925089392146432,"description":"Unknown IO ID 45"} 
[2026-10-05 13:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544213248001,"power":13450,"unknown_11":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1479925089392146432}} 
[2026-10-05 13:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":206041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:50:14] local.INFO: GPS data processed {"connection_id":206041,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:50:14] local.INFO: Acknowledgment sent {"connection_id":206041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:50:34] local.INFO: TCP Data received {"connection_id":206042,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:50:34] local.INFO: Processing buffer {"connection_id":206042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:50:34] local.INFO: IMEI packet received {"connection_id":206042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 13:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":206042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:50:40] local.INFO: TCP Data received {"connection_id":207576,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b24a790012d7f448005bbf5f0000b000a2a..."} 
[2026-10-05 13:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b24a790012d7f448005bbf5f0000b000a2a..."} 
[2026-10-05 13:50:40] local.INFO: Processing buffer {"connection_id":207576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b24a790012d7f448005bbf5f0000b000a2a..."} 
[2026-10-05 13:50:40] local.INFO: Packet analysis {"connection_id":207576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:50:40] local.INFO: Extracted packet for processing {"connection_id":207576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:50:40] local.INFO: GPS Element Parsed {"raw_longitude":763315328,"raw_latitude":96204272,"longitude_deg":76.3315328,"latitude_deg":9.6204272,"altitude":11,"angle":10,"satellites":42,"speed":45,"hex_longitude":"2d7f4480","hex_latitude":"05bbf5f0","is_valid_coordinates":true} 
[2026-10-05 13:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544206080001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1938997345517568,"note":"Value kept but may cause issues"} 
[2026-10-05 13:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168625178510409728,"note":"Value kept but may cause issues"} 
[2026-10-05 13:50:40] 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-10-05 13:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791188314000,"timestamp_ms":1791188314000,"timestamp_seconds":1791188314,"priority":1,"record_length":96,"hex_timestamp":"000001a10b24a790"} 
[2026-10-05 13:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:50:40] 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-10-05 13:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-10-05 13:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":207576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":207576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":207576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544206080001,"66":27821,"120":206,"85":12544,"24":45,"16":1938997345517568,"45":9168625178510409728},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-10-05 13:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544206080001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:50:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 13:50:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1938997345517568,"km_value":1938997345517.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168625178510409728,"description":"Unknown IO ID 45"} 
[2026-10-05 13:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544206080001,"power":27821,"unknown_120":206,"unknown_85":12544,"ignition":45,"odometer":null,"unknown_45":9168625178510409728}} 
[2026-10-05 13:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":207576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:50:40] local.INFO: GPS data processed {"connection_id":207576,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:50:40] local.INFO: Acknowledgment sent {"connection_id":207576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:50:41] local.INFO: TCP Data received {"connection_id":206040,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:50:41] local.INFO: Processing buffer {"connection_id":206040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:50:41] local.INFO: Packet analysis {"connection_id":206040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:50:41] local.INFO: Extracted packet for processing {"connection_id":206040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:50:41] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544132096001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:50:41] 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-10-05 13:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791188317000,"timestamp_ms":1791188317000,"timestamp_seconds":1791188317,"priority":1,"record_length":96,"hex_timestamp":"000001a10b24b348"} 
[2026-10-05 13:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:50:41] 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-10-05 13:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":206040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":206040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":206040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:50:41] 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-10-05 13:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544132096001,"66":12689,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544132096001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:50:41] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544132096001,"power":12689,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":206040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967681,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:50:41] local.INFO: GPS data processed {"connection_id":206040,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:50:41] local.INFO: Acknowledgment sent {"connection_id":206040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:50:45] local.INFO: TCP Data received {"connection_id":206041,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b253048012d14a8c0071f7c180030003d2a..."} 
[2026-10-05 13:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b253048012d14a8c0071f7c180030003d2a..."} 
[2026-10-05 13:50:45] local.INFO: Processing buffer {"connection_id":206041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b253048012d14a8c0071f7c180030003d2a..."} 
[2026-10-05 13:50:45] local.INFO: Packet analysis {"connection_id":206041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b25"} 
[2026-10-05 13:50:45] local.INFO: Extracted packet for processing {"connection_id":206041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b25"} 
[2026-10-05 13:50:45] local.INFO: GPS Element Parsed {"raw_longitude":756328640,"raw_latitude":119503896,"longitude_deg":75.632864,"latitude_deg":11.9503896,"altitude":48,"angle":61,"satellites":42,"speed":32,"hex_longitude":"2d14a8c0","hex_latitude":"071f7c18","is_valid_coordinates":true} 
[2026-10-05 13:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544213760001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25029308464496640,"note":"Value kept but may cause issues"} 
[2026-10-05 13:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1480347301857269760,"note":"Value kept but may cause issues"} 
[2026-10-05 13:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791188349000,"timestamp_ms":1791188349000,"timestamp_seconds":1791188349,"priority":1,"record_length":96,"hex_timestamp":"000001a10b253048"} 
[2026-10-05 13:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 13:50:45] 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-10-05 13:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":206041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":206041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":206041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:50:45] 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-10-05 13:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544213760001,"66":13928,"11":206,"83":41984,"24":32,"16":25029308464496640,"45":1480347301857269760},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-10-05 13:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544213760001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:50:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-10-05 13:50:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25029308464496640,"km_value":25029308464496.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1480347301857269760,"description":"Unknown IO ID 45"} 
[2026-10-05 13:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544213760001,"power":13928,"unknown_11":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1480347301857269760}} 
[2026-10-05 13:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":206041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:50:45] local.INFO: GPS data processed {"connection_id":206041,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:50:45] local.INFO: Acknowledgment sent {"connection_id":206041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:50:55] local.INFO: TCP Data received {"connection_id":206043,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:50:55] local.INFO: Processing buffer {"connection_id":206043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:50:55] local.INFO: IMEI packet received {"connection_id":206043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":206043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:50:55] local.INFO: TCP Data received {"connection_id":206043,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:50:55] local.INFO: Processing buffer {"connection_id":206043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:50:55] local.INFO: IMEI packet received {"connection_id":206043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":206043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:50:59] local.INFO: TCP Data received {"connection_id":204624,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:50:59] local.INFO: Processing buffer {"connection_id":204624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:50:59] local.INFO: IMEI packet received {"connection_id":204624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":204624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:51:00] local.INFO: TCP Data received {"connection_id":206043,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:51:00] local.INFO: Processing buffer {"connection_id":206043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:51:00] local.INFO: IMEI packet received {"connection_id":206043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":206043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:51:00] local.INFO: TCP Data received {"connection_id":206043,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b25e010012d7f8b8005bd8940000d000b29..."} 
[2026-10-05 13:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b25e010012d7f8b8005bd8940000d000b29..."} 
[2026-10-05 13:51:00] local.INFO: Processing buffer {"connection_id":206043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b25e010012d7f8b8005bd8940000d000b29..."} 
[2026-10-05 13:51:00] local.INFO: Packet analysis {"connection_id":206043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b25"} 
[2026-10-05 13:51:00] local.INFO: Extracted packet for processing {"connection_id":206043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b25"} 
[2026-10-05 13:51:00] local.INFO: GPS Element Parsed {"raw_longitude":763333504,"raw_latitude":96307520,"longitude_deg":76.3333504,"latitude_deg":9.630752,"altitude":13,"angle":11,"satellites":41,"speed":56,"hex_longitude":"2d7f8b80","hex_latitude":"05bd8940","is_valid_coordinates":true} 
[2026-10-05 13:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544227072001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1944082586796032,"note":"Value kept but may cause issues"} 
[2026-10-05 13:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188258058162391040,"note":"Value kept but may cause issues"} 
[2026-10-05 13:51: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-10-05 13:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791188394000,"timestamp_ms":1791188394000,"timestamp_seconds":1791188394,"priority":1,"record_length":96,"hex_timestamp":"000001a10b25e010"} 
[2026-10-05 13:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-05 13:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:51: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-10-05 13:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544227072001,"66":27919,"119":206,"85":12544,"24":56,"16":1944082586796032,"45":9188258058162391040},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-10-05 13:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544227072001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:51:00] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-10-05 13:51:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-10-05 13:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1944082586796032,"km_value":1944082586796.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188258058162391040,"description":"Unknown IO ID 45"} 
[2026-10-05 13:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544227072001,"power":27919,"unknown_119":206,"unknown_85":12544,"ignition":56,"odometer":null,"unknown_45":9188258058162391040}} 
[2026-10-05 13:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":206043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:51:00] local.INFO: GPS data processed {"connection_id":206043,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:51:00] local.INFO: Acknowledgment sent {"connection_id":206043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:51:04] local.INFO: TCP Data received {"connection_id":204624,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:51:04] local.INFO: Processing buffer {"connection_id":204624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:51:04] local.INFO: IMEI packet received {"connection_id":204624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":204624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:51:05] local.INFO: TCP Data received {"connection_id":204625,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:51:05] local.INFO: Processing buffer {"connection_id":204625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:51:05] local.INFO: IMEI packet received {"connection_id":204625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":204625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:51:05] local.INFO: TCP Data received {"connection_id":204624,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:51:05] local.INFO: Processing buffer {"connection_id":204624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:51:05] local.INFO: Packet analysis {"connection_id":204624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:51:05] local.INFO: Extracted packet for processing {"connection_id":204624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:51:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544132096001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:51:05] 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-10-05 13:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791188317000,"timestamp_ms":1791188317000,"timestamp_seconds":1791188317,"priority":1,"record_length":96,"hex_timestamp":"000001a10b24b348"} 
[2026-10-05 13:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:51: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-10-05 13:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:51:05] 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-10-05 13:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544132096001,"66":12689,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544132096001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:51:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:51:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544132096001,"power":12689,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":204624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:51:05] local.INFO: GPS data processed {"connection_id":204624,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:51:05] local.INFO: Acknowledgment sent {"connection_id":204624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:51:07] local.INFO: TCP Data received {"connection_id":204625,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:51:07] local.INFO: Processing buffer {"connection_id":204625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:51:07] local.INFO: IMEI packet received {"connection_id":204625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":204625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:51:10] local.INFO: TCP Data received {"connection_id":204625,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:51:10] local.INFO: Processing buffer {"connection_id":204625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:51:10] local.INFO: IMEI packet received {"connection_id":204625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":204625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:51:11] local.INFO: TCP Data received {"connection_id":204625,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b258250012d14c340071f8818003300422c..."} 
[2026-10-05 13:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b258250012d14c340071f8818003300422c..."} 
[2026-10-05 13:51:11] local.INFO: Processing buffer {"connection_id":204625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b258250012d14c340071f8818003300422c..."} 
[2026-10-05 13:51:11] local.INFO: Packet analysis {"connection_id":204625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b25"} 
[2026-10-05 13:51:11] local.INFO: Extracted packet for processing {"connection_id":204625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b25"} 
[2026-10-05 13:51:11] local.INFO: GPS Element Parsed {"raw_longitude":756335424,"raw_latitude":119506968,"longitude_deg":75.6335424,"latitude_deg":11.9506968,"altitude":51,"angle":66,"satellites":44,"speed":0,"hex_longitude":"2d14c340","hex_latitude":"071f8818","is_valid_coordinates":true} 
[2026-10-05 13:51: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-10-05 13:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544217344001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25029664946782208,"note":"Value kept but may cause issues"} 
[2026-10-05 13:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1488650813671479296,"note":"Value kept but may cause issues"} 
[2026-10-05 13:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791188370000,"timestamp_ms":1791188370000,"timestamp_seconds":1791188370,"priority":1,"record_length":96,"hex_timestamp":"000001a10b258250"} 
[2026-10-05 13:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:51:11] 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-10-05 13:51: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-05 13:51:11] 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-10-05 13:51: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-10-05 13:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:51:11] 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-10-05 13:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544217344001,"66":14157,"12":206,"83":41984,"24":0,"16":25029664946782208,"45":1488650813671479296},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-10-05 13:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544217344001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:51:11] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-10-05 13:51:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25029664946782208,"km_value":25029664946782.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1488650813671479296,"description":"Unknown IO ID 45"} 
[2026-10-05 13:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544217344001,"power":14157,"unknown_12":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1488650813671479296}} 
[2026-10-05 13:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":204625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:51:12] local.INFO: GPS data processed {"connection_id":204625,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:51:12] local.INFO: Acknowledgment sent {"connection_id":204625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:51:32] local.INFO: TCP Data received {"connection_id":206043,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b25fb68012d7f92c005bdadb8000b000b2b..."} 
[2026-10-05 13:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b25fb68012d7f92c005bdadb8000b000b2b..."} 
[2026-10-05 13:51:32] local.INFO: Processing buffer {"connection_id":206043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b25fb68012d7f92c005bdadb8000b000b2b..."} 
[2026-10-05 13:51:32] local.INFO: Packet analysis {"connection_id":206043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b25"} 
[2026-10-05 13:51:32] local.INFO: Extracted packet for processing {"connection_id":206043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b25"} 
[2026-10-05 13:51:32] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":96316856,"longitude_deg":76.333536,"latitude_deg":9.6316856,"altitude":11,"angle":11,"satellites":43,"speed":50,"hex_longitude":"2d7f92c0","hex_latitude":"05bdadb8","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544228864001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1944542148296704,"note":"Value kept but may cause issues"} 
[2026-10-05 13:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190580226722709504,"note":"Value kept but may cause issues"} 
[2026-10-05 13:51:32] 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-10-05 13:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791188401000,"timestamp_ms":1791188401000,"timestamp_seconds":1791188401,"priority":1,"record_length":96,"hex_timestamp":"000001a10b25fb68"} 
[2026-10-05 13:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:51:32] 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-10-05 13:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 13:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544228864001,"66":27930,"227":206,"85":12288,"24":50,"16":1944542148296704,"45":9190580226722709504},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-10-05 13:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544228864001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:51:32] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-10-05 13:51:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 13:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1944542148296704,"km_value":1944542148296.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190580226722709504,"description":"Unknown IO ID 45"} 
[2026-10-05 13:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544228864001,"power":27930,"unknown_227":206,"unknown_85":12288,"ignition":50,"odometer":null,"unknown_45":9190580226722709504}} 
[2026-10-05 13:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":206043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:51:32] local.INFO: GPS data processed {"connection_id":206043,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:51:32] local.INFO: Acknowledgment sent {"connection_id":206043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:51:36] local.INFO: TCP Data received {"connection_id":204624,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:51:36] local.INFO: Processing buffer {"connection_id":204624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:51:36] local.INFO: Packet analysis {"connection_id":204624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:51:36] local.INFO: Extracted packet for processing {"connection_id":204624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:51:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544132096001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:51:36] 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-10-05 13:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791188317000,"timestamp_ms":1791188317000,"timestamp_seconds":1791188317,"priority":1,"record_length":96,"hex_timestamp":"000001a10b24b348"} 
[2026-10-05 13:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:51:36] 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-10-05 13:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544132096001,"66":12689,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544132096001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:51:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:51:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544132096001,"power":12689,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":204624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:51:36] local.INFO: GPS data processed {"connection_id":204624,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:51:36] local.INFO: Acknowledgment sent {"connection_id":204624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:51:42] local.INFO: TCP Data received {"connection_id":204625,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b26af18012d159f80071fcdb8001c004b29..."} 
[2026-10-05 13:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b26af18012d159f80071fcdb8001c004b29..."} 
[2026-10-05 13:51:42] local.INFO: Processing buffer {"connection_id":204625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b26af18012d159f80071fcdb8001c004b29..."} 
[2026-10-05 13:51:42] local.INFO: Packet analysis {"connection_id":204625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b26"} 
[2026-10-05 13:51:42] local.INFO: Extracted packet for processing {"connection_id":204625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b26"} 
[2026-10-05 13:51:42] local.INFO: GPS Element Parsed {"raw_longitude":756391808,"raw_latitude":119524792,"longitude_deg":75.6391808,"latitude_deg":11.9524792,"altitude":28,"angle":75,"satellites":41,"speed":48,"hex_longitude":"2d159f80","hex_latitude":"071fcdb8","is_valid_coordinates":true} 
[2026-10-05 13:51: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-10-05 13:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544240640001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25032572639641600,"note":"Value kept but may cause issues"} 
[2026-10-05 13:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1548393877483171840,"note":"Value kept but may cause issues"} 
[2026-10-05 13:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791188447000,"timestamp_ms":1791188447000,"timestamp_seconds":1791188447,"priority":1,"record_length":96,"hex_timestamp":"000001a10b26af18"} 
[2026-10-05 13:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:51:42] 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-10-05 13:51: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-05 13:51:42] 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-10-05 13:51: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-10-05 13:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:51:42] 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-10-05 13:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544240640001,"66":14157,"87":206,"83":41984,"24":48,"16":25032572639641600,"45":1548393877483171840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-10-05 13:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544240640001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:51:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-10-05 13:51:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25032572639641600,"km_value":25032572639641.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1548393877483171840,"description":"Unknown IO ID 45"} 
[2026-10-05 13:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544240640001,"power":14157,"unknown_87":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1548393877483171840}} 
[2026-10-05 13:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":204625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:51:43] local.INFO: GPS data processed {"connection_id":204625,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:51:43] local.INFO: Acknowledgment sent {"connection_id":204625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:51:55] local.INFO: TCP Data received {"connection_id":207577,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:51:55] local.INFO: Processing buffer {"connection_id":207577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:51:55] local.INFO: IMEI packet received {"connection_id":207577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":207577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:51:55] local.INFO: TCP Data received {"connection_id":207577,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:51:55] local.INFO: Processing buffer {"connection_id":207577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:51:55] local.INFO: IMEI packet received {"connection_id":207577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":207577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:51:59] local.INFO: TCP Data received {"connection_id":207578,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:51:59] local.INFO: Processing buffer {"connection_id":207578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:51:59] local.INFO: IMEI packet received {"connection_id":207578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":207578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:52:00] local.INFO: TCP Data received {"connection_id":207577,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:52:00] local.INFO: Processing buffer {"connection_id":207577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:52:00] local.INFO: IMEI packet received {"connection_id":207577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":207577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:52:00] local.INFO: TCP Data received {"connection_id":207577,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b261aa8012d7f9a4005bdd3a0000c00092a..."} 
[2026-10-05 13:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b261aa8012d7f9a4005bdd3a0000c00092a..."} 
[2026-10-05 13:52:00] local.INFO: Processing buffer {"connection_id":207577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b261aa8012d7f9a4005bdd3a0000c00092a..."} 
[2026-10-05 13:52:00] local.INFO: Packet analysis {"connection_id":207577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b26"} 
[2026-10-05 13:52:00] local.INFO: Extracted packet for processing {"connection_id":207577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b26"} 
[2026-10-05 13:52:00] local.INFO: GPS Element Parsed {"raw_longitude":763337280,"raw_latitude":96326560,"longitude_deg":76.333728,"latitude_deg":9.632656,"altitude":12,"angle":9,"satellites":42,"speed":49,"hex_longitude":"2d7f9a40","hex_latitude":"05bdd3a0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544230656001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1945018889666560,"note":"Value kept but may cause issues"} 
[2026-10-05 13:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920306251776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:52: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-10-05 13:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791188409000,"timestamp_ms":1791188409000,"timestamp_seconds":1791188409,"priority":1,"record_length":96,"hex_timestamp":"000001a10b261aa8"} 
[2026-10-05 13:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13: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":26,"data_length":795,"current_offset":136} 
[2026-10-05 13:52: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-10-05 13: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-10-05 13:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:52: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-10-05 13:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544230656001,"66":27930,"227":206,"85":12288,"24":49,"16":1945018889666560,"45":9192620920306251776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-10-05 13:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544230656001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:52:00] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-10-05 13:52:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 13:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1945018889666560,"km_value":1945018889666.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920306251776,"description":"Unknown IO ID 45"} 
[2026-10-05 13:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544230656001,"power":27930,"unknown_227":206,"unknown_85":12288,"ignition":49,"odometer":null,"unknown_45":9192620920306251776}} 
[2026-10-05 13:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":207577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:52:00] local.INFO: GPS data processed {"connection_id":207577,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:52:00] local.INFO: Acknowledgment sent {"connection_id":207577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:52:04] local.INFO: TCP Data received {"connection_id":207578,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:52:04] local.INFO: Processing buffer {"connection_id":207578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:52:04] local.INFO: IMEI packet received {"connection_id":207578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":207578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:52:05] local.INFO: TCP Data received {"connection_id":207578,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:52:05] local.INFO: Processing buffer {"connection_id":207578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:52:05] local.INFO: Packet analysis {"connection_id":207578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:52:05] local.INFO: Extracted packet for processing {"connection_id":207578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:52:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544132096001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:52:05] 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-10-05 13:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791188317000,"timestamp_ms":1791188317000,"timestamp_seconds":1791188317,"priority":1,"record_length":96,"hex_timestamp":"000001a10b24b348"} 
[2026-10-05 13:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:52: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-10-05 13:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:52:05] 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-10-05 13:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544132096001,"66":12689,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544132096001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:52:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:52:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544132096001,"power":12689,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":207578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967690,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:52:05] local.INFO: GPS data processed {"connection_id":207578,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:52:05] local.INFO: Acknowledgment sent {"connection_id":207578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:52:10] local.INFO: TCP Data received {"connection_id":204627,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:52:10] local.INFO: Processing buffer {"connection_id":204627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:52:10] local.INFO: IMEI packet received {"connection_id":204627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":204627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:52:15] local.INFO: TCP Data received {"connection_id":204627,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:52:15] local.INFO: Processing buffer {"connection_id":204627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:52:15] local.INFO: IMEI packet received {"connection_id":204627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":204627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:52:16] local.INFO: TCP Data received {"connection_id":204627,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b26ce58012d15c3c0071fd660001a004d2e..."} 
[2026-10-05 13:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b26ce58012d15c3c0071fd660001a004d2e..."} 
[2026-10-05 13:52:16] local.INFO: Processing buffer {"connection_id":204627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b26ce58012d15c3c0071fd660001a004d2e..."} 
[2026-10-05 13:52:16] local.INFO: Packet analysis {"connection_id":204627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b26"} 
[2026-10-05 13:52:16] local.INFO: Extracted packet for processing {"connection_id":204627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b26"} 
[2026-10-05 13:52:16] local.INFO: GPS Element Parsed {"raw_longitude":756401088,"raw_latitude":119527008,"longitude_deg":75.6401088,"latitude_deg":11.9527008,"altitude":26,"angle":77,"satellites":46,"speed":47,"hex_longitude":"2d15c3c0","hex_latitude":"071fd660","is_valid_coordinates":true} 
[2026-10-05 13:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544242432001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25033023611207680,"note":"Value kept but may cause issues"} 
[2026-10-05 13:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1558104764180183040,"note":"Value kept but may cause issues"} 
[2026-10-05 13:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791188455000,"timestamp_ms":1791188455000,"timestamp_seconds":1791188455,"priority":1,"record_length":96,"hex_timestamp":"000001a10b26ce58"} 
[2026-10-05 13:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-05 13:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:52:16] 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-10-05 13:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544242432001,"66":14189,"87":206,"83":41984,"24":47,"16":25033023611207680,"45":1558104764180183040},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-10-05 13:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544242432001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:52:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-10-05 13:52:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25033023611207680,"km_value":25033023611207.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1558104764180183040,"description":"Unknown IO ID 45"} 
[2026-10-05 13:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544242432001,"power":14189,"unknown_87":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1558104764180183040}} 
[2026-10-05 13:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":204627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:52:16] local.INFO: GPS data processed {"connection_id":204627,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:52:16] local.INFO: Acknowledgment sent {"connection_id":204627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:52:19] local.INFO: TCP Data received {"connection_id":204627,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b26ed98012d15e700071fdc78001a00522a..."} 
[2026-10-05 13:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b26ed98012d15e700071fdc78001a00522a..."} 
[2026-10-05 13:52:19] local.INFO: Processing buffer {"connection_id":204627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b26ed98012d15e700071fdc78001a00522a..."} 
[2026-10-05 13:52:19] local.INFO: Packet analysis {"connection_id":204627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b26"} 
[2026-10-05 13:52:19] local.INFO: Extracted packet for processing {"connection_id":204627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b26"} 
[2026-10-05 13:52:19] local.INFO: GPS Element Parsed {"raw_longitude":756410112,"raw_latitude":119528568,"longitude_deg":75.6410112,"latitude_deg":11.9528568,"altitude":26,"angle":82,"satellites":42,"speed":40,"hex_longitude":"2d15e700","hex_latitude":"071fdc78","is_valid_coordinates":true} 
[2026-10-05 13:52: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-10-05 13:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544244480001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25033461697871872,"note":"Value kept but may cause issues"} 
[2026-10-05 13:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1568308232086511616,"note":"Value kept but may cause issues"} 
[2026-10-05 13:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791188463000,"timestamp_ms":1791188463000,"timestamp_seconds":1791188463,"priority":1,"record_length":96,"hex_timestamp":"000001a10b26ed98"} 
[2026-10-05 13:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-10-05 13:52:19] 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-10-05 13:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":204627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":204627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":204627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:52:19] 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-10-05 13:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544244480001,"66":14157,"87":206,"83":41984,"24":40,"16":25033461697871872,"45":1568308232086511616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-10-05 13:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544244480001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:52:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-10-05 13:52:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25033461697871872,"km_value":25033461697871.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1568308232086511616,"description":"Unknown IO ID 45"} 
[2026-10-05 13:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544244480001,"power":14157,"unknown_87":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1568308232086511616}} 
[2026-10-05 13:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":204627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:52:19] local.INFO: GPS data processed {"connection_id":204627,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:52:19] local.INFO: Acknowledgment sent {"connection_id":204627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:52:31] local.INFO: TCP Data received {"connection_id":207577,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2639e8012d7f9fc005bdf9c8000b000a29..."} 
[2026-10-05 13:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2639e8012d7f9fc005bdf9c8000b000a29..."} 
[2026-10-05 13:52:31] local.INFO: Processing buffer {"connection_id":207577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2639e8012d7f9fc005bdf9c8000b000a29..."} 
[2026-10-05 13:52:31] local.INFO: Packet analysis {"connection_id":207577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b26"} 
[2026-10-05 13:52:31] local.INFO: Extracted packet for processing {"connection_id":207577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b26"} 
[2026-10-05 13:52:31] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":96336328,"longitude_deg":76.3338688,"latitude_deg":9.6336328,"altitude":11,"angle":10,"satellites":41,"speed":48,"hex_longitude":"2d7f9fc0","hex_latitude":"05bdf9c8","is_valid_coordinates":true} 
[2026-10-05 13:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544232704001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1945499926003712,"note":"Value kept but may cause issues"} 
[2026-10-05 13:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194731982634065920,"note":"Value kept but may cause issues"} 
[2026-10-05 13:52: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-10-05 13:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791188417000,"timestamp_ms":1791188417000,"timestamp_seconds":1791188417,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2639e8"} 
[2026-10-05 13:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:52: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-10-05 13:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-05 13:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544232704001,"66":27800,"227":206,"85":12288,"24":48,"16":1945499926003712,"45":9194731982634065920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-10-05 13:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544232704001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:52:31] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-10-05 13:52:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 13:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1945499926003712,"km_value":1945499926003.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194731982634065920,"description":"Unknown IO ID 45"} 
[2026-10-05 13:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544232704001,"power":27800,"unknown_227":206,"unknown_85":12288,"ignition":48,"odometer":null,"unknown_45":9194731982634065920}} 
[2026-10-05 13:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":207577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:52:31] local.INFO: GPS data processed {"connection_id":207577,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:52:31] local.INFO: Acknowledgment sent {"connection_id":207577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:52:37] local.INFO: TCP Data received {"connection_id":207578,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:52:37] local.INFO: Processing buffer {"connection_id":207578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:52:37] local.INFO: Packet analysis {"connection_id":207578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:52:37] local.INFO: Extracted packet for processing {"connection_id":207578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544132096001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:52:37] 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-10-05 13:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791188317000,"timestamp_ms":1791188317000,"timestamp_seconds":1791188317,"priority":1,"record_length":96,"hex_timestamp":"000001a10b24b348"} 
[2026-10-05 13:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:52:37] 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-10-05 13: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-10-05 13:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544132096001,"66":12689,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544132096001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:52:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:52:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544132096001,"power":12689,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":207578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:52:37] local.INFO: GPS data processed {"connection_id":207578,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:52:37] local.INFO: Acknowledgment sent {"connection_id":207578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:52:50] local.INFO: TCP Data received {"connection_id":204627,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2710c0012d160cc0071fe090001b005329..."} 
[2026-10-05 13:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2710c0012d160cc0071fe090001b005329..."} 
[2026-10-05 13:52:50] local.INFO: Processing buffer {"connection_id":204627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2710c0012d160cc0071fe090001b005329..."} 
[2026-10-05 13:52:50] local.INFO: Packet analysis {"connection_id":204627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b27"} 
[2026-10-05 13:52:50] local.INFO: Extracted packet for processing {"connection_id":204627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b27"} 
[2026-10-05 13:52:50] local.INFO: GPS Element Parsed {"raw_longitude":756419776,"raw_latitude":119529616,"longitude_deg":75.6419776,"latitude_deg":11.9529616,"altitude":27,"angle":83,"satellites":41,"speed":44,"hex_longitude":"2d160cc0","hex_latitude":"071fe090","is_valid_coordinates":true} 
[2026-10-05 13:52: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-10-05 13:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544246528001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25033916964405248,"note":"Value kept but may cause issues"} 
[2026-10-05 13:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1578230225015961600,"note":"Value kept but may cause issues"} 
[2026-10-05 13:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1791188472000,"timestamp_ms":1791188472000,"timestamp_seconds":1791188472,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2710c0"} 
[2026-10-05 13:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:52:50] 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-10-05 13:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-05 13:52:50] 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-10-05 13:52: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-10-05 13:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":204627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":204627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":204627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:52:50] 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-10-05 13:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544246528001,"66":14102,"87":206,"83":41984,"24":44,"16":25033916964405248,"45":1578230225015961600},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-10-05 13:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544246528001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:52:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-10-05 13:52:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25033916964405248,"km_value":25033916964405.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1578230225015961600,"description":"Unknown IO ID 45"} 
[2026-10-05 13:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544246528001,"power":14102,"unknown_87":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1578230225015961600}} 
[2026-10-05 13:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":204627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:52:50] local.INFO: GPS data processed {"connection_id":204627,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:52:50] local.INFO: Acknowledgment sent {"connection_id":204627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:52:55] local.INFO: TCP Data received {"connection_id":207579,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:52:55] local.INFO: Processing buffer {"connection_id":207579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:52:55] local.INFO: IMEI packet received {"connection_id":207579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":207579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:52:57] local.INFO: TCP Data received {"connection_id":207579,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:52:57] local.INFO: Processing buffer {"connection_id":207579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:52:57] local.INFO: IMEI packet received {"connection_id":207579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":207579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:52:59] local.INFO: TCP Data received {"connection_id":204500,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:52:59] local.INFO: Processing buffer {"connection_id":204500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:52:59] local.INFO: IMEI packet received {"connection_id":204500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":204500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:53:00] local.INFO: TCP Data received {"connection_id":207579,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:53:00] local.INFO: Processing buffer {"connection_id":207579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:53:00] local.INFO: IMEI packet received {"connection_id":207579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":207579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:53:01] local.INFO: TCP Data received {"connection_id":207579,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b27a530012d7fe38005bf8e200009000828..."} 
[2026-10-05 13:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b27a530012d7fe38005bf8e200009000828..."} 
[2026-10-05 13:53:01] local.INFO: Processing buffer {"connection_id":207579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b27a530012d7fe38005bf8e200009000828..."} 
[2026-10-05 13:53:01] local.INFO: Packet analysis {"connection_id":207579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b27"} 
[2026-10-05 13:53:01] local.INFO: Extracted packet for processing {"connection_id":207579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b27"} 
[2026-10-05 13:53:01] local.INFO: GPS Element Parsed {"raw_longitude":763356032,"raw_latitude":96439840,"longitude_deg":76.3356032,"latitude_deg":9.643984,"altitude":9,"angle":8,"satellites":40,"speed":46,"hex_longitude":"2d7fe380","hex_latitude":"05bf8e20","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544256512001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1950589462249472,"note":"Value kept but may cause issues"} 
[2026-10-05 13:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9213731543588792320,"note":"Value kept but may cause issues"} 
[2026-10-05 13:53:01] 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-10-05 13:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791188510000,"timestamp_ms":1791188510000,"timestamp_seconds":1791188510,"priority":1,"record_length":96,"hex_timestamp":"000001a10b27a530"} 
[2026-10-05 13:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:53:01] 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-10-05 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-05 13:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:53: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-10-05 13:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544256512001,"66":27974,"227":206,"85":12288,"24":46,"16":1950589462249472,"45":9213731543588792320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-10-05 13:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544256512001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:53:01] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-10-05 13:53:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 13:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1950589462249472,"km_value":1950589462249.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9213731543588792320,"description":"Unknown IO ID 45"} 
[2026-10-05 13:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544256512001,"power":27974,"unknown_227":206,"unknown_85":12288,"ignition":46,"odometer":null,"unknown_45":9213731543588792320}} 
[2026-10-05 13:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":207579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:53:01] local.INFO: GPS data processed {"connection_id":207579,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:53:01] local.INFO: Acknowledgment sent {"connection_id":207579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:53:04] local.INFO: TCP Data received {"connection_id":204500,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:53:04] local.INFO: Processing buffer {"connection_id":204500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:53:04] local.INFO: IMEI packet received {"connection_id":204500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":204500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:53:05] local.INFO: TCP Data received {"connection_id":207579,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b27c470012d7fe9c005bfb4680009000828..."} 
[2026-10-05 13:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b27c470012d7fe9c005bfb4680009000828..."} 
[2026-10-05 13:53:05] local.INFO: Processing buffer {"connection_id":207579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b27c470012d7fe9c005bfb4680009000828..."} 
[2026-10-05 13:53:05] local.INFO: Packet analysis {"connection_id":207579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b27"} 
[2026-10-05 13:53:05] local.INFO: Extracted packet for processing {"connection_id":207579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b27"} 
[2026-10-05 13:53:05] local.INFO: GPS Element Parsed {"raw_longitude":763357632,"raw_latitude":96449640,"longitude_deg":76.3357632,"latitude_deg":9.644964,"altitude":9,"angle":8,"satellites":40,"speed":51,"hex_longitude":"2d7fe9c0","hex_latitude":"05bfb468","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544258560001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1951070498586624,"note":"Value kept but may cause issues"} 
[2026-10-05 13:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9215350024707121152,"note":"Value kept but may cause issues"} 
[2026-10-05 13:53:05] 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-10-05 13:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791188518000,"timestamp_ms":1791188518000,"timestamp_seconds":1791188518,"priority":1,"record_length":96,"hex_timestamp":"000001a10b27c470"} 
[2026-10-05 13:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 13:53: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-10-05 13: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-10-05 13:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:53: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-10-05 13:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544258560001,"66":27908,"227":206,"85":12288,"24":51,"16":1951070498586624,"45":9215350024707121152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-10-05 13:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544258560001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:53:05] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-10-05 13:53:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 13:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1951070498586624,"km_value":1951070498586.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9215350024707121152,"description":"Unknown IO ID 45"} 
[2026-10-05 13:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544258560001,"power":27908,"unknown_227":206,"unknown_85":12288,"ignition":51,"odometer":null,"unknown_45":9215350024707121152}} 
[2026-10-05 13:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":207579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:53:05] local.INFO: GPS data processed {"connection_id":207579,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:53:05] local.INFO: Acknowledgment sent {"connection_id":207579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:53:05] local.INFO: TCP Data received {"connection_id":204500,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:53:05] local.INFO: Processing buffer {"connection_id":204500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:53:05] local.INFO: Packet analysis {"connection_id":204500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:53:05] local.INFO: Extracted packet for processing {"connection_id":204500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:53:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544132096001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:53:05] 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-10-05 13:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791188317000,"timestamp_ms":1791188317000,"timestamp_seconds":1791188317,"priority":1,"record_length":96,"hex_timestamp":"000001a10b24b348"} 
[2026-10-05 13:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:53: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-10-05 13: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:53:05] 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-10-05 13: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-10-05 13:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:53:05] 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-10-05 13:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544132096001,"66":12689,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544132096001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:53:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:53:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544132096001,"power":12689,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":204500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:53:05] local.INFO: GPS data processed {"connection_id":204500,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:53:05] local.INFO: Acknowledgment sent {"connection_id":204500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:53:05] local.INFO: TCP Data received {"connection_id":204501,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:53:05] local.INFO: Processing buffer {"connection_id":204501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:53:05] local.INFO: IMEI packet received {"connection_id":204501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":204501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:53:06] local.INFO: TCP Data received {"connection_id":204501,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:53:06] local.INFO: Processing buffer {"connection_id":204501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:53:06] local.INFO: IMEI packet received {"connection_id":204501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":204501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:53:07] local.INFO: TCP Data received {"connection_id":204501,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b273000012d162a80071fe650001c00462a..."} 
[2026-10-05 13:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b273000012d162a80071fe650001c00462a..."} 
[2026-10-05 13:53:07] local.INFO: Processing buffer {"connection_id":204501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b273000012d162a80071fe650001c00462a..."} 
[2026-10-05 13:53:07] local.INFO: Packet analysis {"connection_id":204501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b27"} 
[2026-10-05 13:53:07] local.INFO: Extracted packet for processing {"connection_id":204501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b27"} 
[2026-10-05 13:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756427392,"raw_latitude":119531088,"longitude_deg":75.6427392,"latitude_deg":11.9531088,"altitude":28,"angle":70,"satellites":42,"speed":24,"hex_longitude":"2d162a80","hex_latitude":"071fe650","is_valid_coordinates":true} 
[2026-10-05 13:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544248832001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25034290626560000,"note":"Value kept but may cause issues"} 
[2026-10-05 13:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1588855905387057152,"note":"Value kept but may cause issues"} 
[2026-10-05 13:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791188480000,"timestamp_ms":1791188480000,"timestamp_seconds":1791188480,"priority":1,"record_length":96,"hex_timestamp":"000001a10b273000"} 
[2026-10-05 13:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:53: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-10-05 13:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-05 13:53:07] 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-10-05 13:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:53: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-10-05 13:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544248832001,"66":14135,"85":206,"83":41984,"24":24,"16":25034290626560000,"45":1588855905387057152},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-10-05 13:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544248832001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:53:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-10-05 13:53:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25034290626560000,"km_value":25034290626560,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1588855905387057152,"description":"Unknown IO ID 45"} 
[2026-10-05 13:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544248832001,"power":14135,"unknown_85":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1588855905387057152}} 
[2026-10-05 13:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":204501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:53:07] local.INFO: GPS data processed {"connection_id":204501,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:53:07] local.INFO: Acknowledgment sent {"connection_id":204501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:53:11] local.INFO: TCP Data received {"connection_id":204501,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b273fa0012d163180071fe970001f00352b..."} 
[2026-10-05 13:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b273fa0012d163180071fe970001f00352b..."} 
[2026-10-05 13:53:11] local.INFO: Processing buffer {"connection_id":204501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b273fa0012d163180071fe970001f00352b..."} 
[2026-10-05 13:53:11] local.INFO: Packet analysis {"connection_id":204501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b27"} 
[2026-10-05 13:53:11] local.INFO: Extracted packet for processing {"connection_id":204501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b27"} 
[2026-10-05 13:53:11] local.INFO: GPS Element Parsed {"raw_longitude":756429184,"raw_latitude":119531888,"longitude_deg":75.6429184,"latitude_deg":11.9531888,"altitude":31,"angle":53,"satellites":43,"speed":16,"hex_longitude":"2d163180","hex_latitude":"071fe970","is_valid_coordinates":true} 
[2026-10-05 13:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544250880001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25034385115840512,"note":"Value kept but may cause issues"} 
[2026-10-05 13:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1597229785944576000,"note":"Value kept but may cause issues"} 
[2026-10-05 13:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791188484000,"timestamp_ms":1791188484000,"timestamp_seconds":1791188484,"priority":1,"record_length":96,"hex_timestamp":"000001a10b273fa0"} 
[2026-10-05 13:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:53:11] 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-10-05 13:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-10-05 13:53:11] 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-10-05 13:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:53:11] 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-10-05 13:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544250880001,"66":13993,"85":206,"83":41984,"24":16,"16":25034385115840512,"45":1597229785944576000},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-10-05 13:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544250880001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-10-05 13:53:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25034385115840512,"km_value":25034385115840.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1597229785944576000,"description":"Unknown IO ID 45"} 
[2026-10-05 13:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544250880001,"power":13993,"unknown_85":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1597229785944576000}} 
[2026-10-05 13:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":204501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:53:11] local.INFO: GPS data processed {"connection_id":204501,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:53:11] local.INFO: Acknowledgment sent {"connection_id":204501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:53:35] local.INFO: TCP Data received {"connection_id":207579,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b27dfc8012d7fef0005bfd7380008000928..."} 
[2026-10-05 13:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b27dfc8012d7fef0005bfd7380008000928..."} 
[2026-10-05 13:53:35] local.INFO: Processing buffer {"connection_id":207579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b27dfc8012d7fef0005bfd7380008000928..."} 
[2026-10-05 13:53:35] local.INFO: Packet analysis {"connection_id":207579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b27"} 
[2026-10-05 13:53:35] local.INFO: Extracted packet for processing {"connection_id":207579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b27"} 
[2026-10-05 13:53:35] local.INFO: GPS Element Parsed {"raw_longitude":763358976,"raw_latitude":96458552,"longitude_deg":76.3358976,"latitude_deg":9.6458552,"altitude":8,"angle":9,"satellites":40,"speed":51,"hex_longitude":"2d7fef00","hex_latitude":"05bfd738","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544260608001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1951504290283520,"note":"Value kept but may cause issues"} 
[2026-10-05 13:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243314071552,"note":"Value kept but may cause issues"} 
[2026-10-05 13:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791188525000,"timestamp_ms":1791188525000,"timestamp_seconds":1791188525,"priority":1,"record_length":96,"hex_timestamp":"000001a10b27dfc8"} 
[2026-10-05 13:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:53: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-10-05 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 13:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":207579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":207579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":207579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544260608001,"66":27908,"225":206,"85":12288,"24":51,"16":1951504290283520,"45":9217109243314071552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-10-05 13:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544260608001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:53:35] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-10-05 13:53:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 13:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1951504290283520,"km_value":1951504290283.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243314071552,"description":"Unknown IO ID 45"} 
[2026-10-05 13:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544260608001,"power":27908,"unknown_225":206,"unknown_85":12288,"ignition":51,"odometer":null,"unknown_45":9217109243314071552}} 
[2026-10-05 13:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":207579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:53:35] local.INFO: GPS data processed {"connection_id":207579,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:53:35] local.INFO: Acknowledgment sent {"connection_id":207579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:53:37] local.INFO: TCP Data received {"connection_id":204500,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:53:37] local.INFO: Processing buffer {"connection_id":204500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b24b348012d7b524005e13b08000c00a923..."} 
[2026-10-05 13:53:37] local.INFO: Packet analysis {"connection_id":204500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:53:37] local.INFO: Extracted packet for processing {"connection_id":204500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b24"} 
[2026-10-05 13:53:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":35,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544132096001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:53:37] 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-10-05 13:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791188317000,"timestamp_ms":1791188317000,"timestamp_seconds":1791188317,"priority":1,"record_length":96,"hex_timestamp":"000001a10b24b348"} 
[2026-10-05 13:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 13:53:37] 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-10-05 13:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:53:37] 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-10-05 13:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544132096001,"66":12689,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544132096001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:53:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:53:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544132096001,"power":12689,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":204500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:53:37] local.INFO: GPS data processed {"connection_id":204500,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:53:37] local.INFO: Acknowledgment sent {"connection_id":204500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:53:41] local.INFO: TCP Data received {"connection_id":204501,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b274b58012d163540071febf0002000412c..."} 
[2026-10-05 13:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b274b58012d163540071febf0002000412c..."} 
[2026-10-05 13:53:41] local.INFO: Processing buffer {"connection_id":204501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b274b58012d163540071febf0002000412c..."} 
[2026-10-05 13:53:41] local.INFO: Packet analysis {"connection_id":204501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b27"} 
[2026-10-05 13:53:41] local.INFO: Extracted packet for processing {"connection_id":204501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b27"} 
[2026-10-05 13:53:41] local.INFO: GPS Element Parsed {"raw_longitude":756430144,"raw_latitude":119532528,"longitude_deg":75.6430144,"latitude_deg":11.9532528,"altitude":32,"angle":65,"satellites":44,"speed":16,"hex_longitude":"2d163540","hex_latitude":"071febf0","is_valid_coordinates":true} 
[2026-10-05 13:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544251904001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25034436655448064,"note":"Value kept but may cause issues"} 
[2026-10-05 13:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1599200110781755392,"note":"Value kept but may cause issues"} 
[2026-10-05 13:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791188487000,"timestamp_ms":1791188487000,"timestamp_seconds":1791188487,"priority":1,"record_length":96,"hex_timestamp":"000001a10b274b58"} 
[2026-10-05 13:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:53:41] 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-10-05 13:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 13:53:41] 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-10-05 13:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:53:41] 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-10-05 13:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544251904001,"66":14080,"85":206,"83":41984,"24":16,"16":25034436655448064,"45":1599200110781755392},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-10-05 13:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544251904001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:53:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-10-05 13:53:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25034436655448064,"km_value":25034436655448.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1599200110781755392,"description":"Unknown IO ID 45"} 
[2026-10-05 13:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544251904001,"power":14080,"unknown_85":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1599200110781755392}} 
[2026-10-05 13:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":204501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:53:42] local.INFO: GPS data processed {"connection_id":204501,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:53:42] local.INFO: Acknowledgment sent {"connection_id":204501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:53:55] local.INFO: TCP Data received {"connection_id":204502,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:53:55] local.INFO: Processing buffer {"connection_id":204502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:53:55] local.INFO: IMEI packet received {"connection_id":204502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":204502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:53:58] local.INFO: TCP Data received {"connection_id":204502,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:53:58] local.INFO: Processing buffer {"connection_id":204502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:53:58] local.INFO: IMEI packet received {"connection_id":204502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":204502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:53:59] local.INFO: TCP Data received {"connection_id":204502,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:53:59] local.INFO: Processing buffer {"connection_id":204502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:53:59] local.INFO: IMEI packet received {"connection_id":204502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":204502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:54:00] local.INFO: TCP Data received {"connection_id":204502,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b27fb20012d7ff50005bffa400007000928..."} 
[2026-10-05 13:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b27fb20012d7ff50005bffa400007000928..."} 
[2026-10-05 13:54:00] local.INFO: Processing buffer {"connection_id":204502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b27fb20012d7ff50005bffa400007000928..."} 
[2026-10-05 13:54:00] local.INFO: Packet analysis {"connection_id":204502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b27"} 
[2026-10-05 13:54:00] local.INFO: Extracted packet for processing {"connection_id":204502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b27"} 
[2026-10-05 13:54:00] local.INFO: GPS Element Parsed {"raw_longitude":763360512,"raw_latitude":96467520,"longitude_deg":76.3360512,"latitude_deg":9.646752,"altitude":7,"angle":9,"satellites":40,"speed":51,"hex_longitude":"2d7ff500","hex_latitude":"05bffa40","is_valid_coordinates":true} 
[2026-10-05 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-10-05 13:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544262400001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1951946671915008,"note":"Value kept but may cause issues"} 
[2026-10-05 13:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9218586986944083968,"note":"Value kept but may cause issues"} 
[2026-10-05 13:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791188532000,"timestamp_ms":1791188532000,"timestamp_seconds":1791188532,"priority":1,"record_length":96,"hex_timestamp":"000001a10b27fb20"} 
[2026-10-05 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-10-05 13:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 13:54: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-10-05 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-10-05 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-10-05 13:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:54: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-10-05 13:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544262400001,"66":27865,"225":206,"85":12288,"24":51,"16":1951946671915008,"45":9218586986944083968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-10-05 13:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544262400001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:54:00] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-10-05 13:54:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 13:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1951946671915008,"km_value":1951946671915.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9218586986944083968,"description":"Unknown IO ID 45"} 
[2026-10-05 13:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544262400001,"power":27865,"unknown_225":206,"unknown_85":12288,"ignition":51,"odometer":null,"unknown_45":9218586986944083968}} 
[2026-10-05 13:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":204502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:54:00] local.INFO: GPS data processed {"connection_id":204502,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:54:00] local.INFO: Acknowledgment sent {"connection_id":204502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:54:04] local.INFO: TCP Data received {"connection_id":207580,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207580,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:54:04] local.INFO: Processing buffer {"connection_id":207580,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:54:04] local.INFO: IMEI packet received {"connection_id":207580,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":207580,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:54:05] local.INFO: TCP Data received {"connection_id":204502,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b281678012d7ffb0005c01d800008000a28..."} 
[2026-10-05 13:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b281678012d7ffb0005c01d800008000a28..."} 
[2026-10-05 13:54:05] local.INFO: Processing buffer {"connection_id":204502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b281678012d7ffb0005c01d800008000a28..."} 
[2026-10-05 13:54:05] local.INFO: Packet analysis {"connection_id":204502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b28"} 
[2026-10-05 13:54:05] local.INFO: Extracted packet for processing {"connection_id":204502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b28"} 
[2026-10-05 13:54:05] local.INFO: GPS Element Parsed {"raw_longitude":763362048,"raw_latitude":96476544,"longitude_deg":76.3362048,"latitude_deg":9.6476544,"altitude":8,"angle":10,"satellites":40,"speed":51,"hex_longitude":"2d7ffb00","hex_latitude":"05c01d80","is_valid_coordinates":true} 
[2026-10-05 13:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544264192001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1952389053546496,"note":"Value kept but may cause issues"} 
[2026-10-05 13:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9220275836806643712,"note":"Value kept but may cause issues"} 
[2026-10-05 13:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791188539000,"timestamp_ms":1791188539000,"timestamp_seconds":1791188539,"priority":1,"record_length":96,"hex_timestamp":"000001a10b281678"} 
[2026-10-05 13:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:54: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-10-05 13:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 13:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:54: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-10-05 13:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544264192001,"66":27800,"225":206,"85":12288,"24":51,"16":1952389053546496,"45":9220275836806643712},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-10-05 13:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544264192001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:54:05] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-10-05 13:54:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 13:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1952389053546496,"km_value":1952389053546.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9220275836806643712,"description":"Unknown IO ID 45"} 
[2026-10-05 13:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544264192001,"power":27800,"unknown_225":206,"unknown_85":12288,"ignition":51,"odometer":null,"unknown_45":9220275836806643712}} 
[2026-10-05 13:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":204502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:54:05] local.INFO: GPS data processed {"connection_id":204502,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:54:05] local.INFO: Acknowledgment sent {"connection_id":204502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:54:05] local.INFO: TCP Data received {"connection_id":207581,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:54:05] local.INFO: Processing buffer {"connection_id":207581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:54:05] local.INFO: IMEI packet received {"connection_id":207581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":207581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:54:08] local.INFO: TCP Data received {"connection_id":207581,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:54:08] local.INFO: Processing buffer {"connection_id":207581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:54:08] local.INFO: IMEI packet received {"connection_id":207581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":207581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:54:09] local.INFO: TCP Data received {"connection_id":207581,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b28c258012d1760800720d3400031002b29..."} 
[2026-10-05 13:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b28c258012d1760800720d3400031002b29..."} 
[2026-10-05 13:54:09] local.INFO: Processing buffer {"connection_id":207581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b28c258012d1760800720d3400031002b29..."} 
[2026-10-05 13:54:09] local.INFO: Packet analysis {"connection_id":207581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b28"} 
[2026-10-05 13:54:09] local.INFO: Extracted packet for processing {"connection_id":207581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b28"} 
[2026-10-05 13:54:09] local.INFO: GPS Element Parsed {"raw_longitude":756506752,"raw_latitude":119591744,"longitude_deg":75.6506752,"latitude_deg":11.9591744,"altitude":49,"angle":43,"satellites":41,"speed":33,"hex_longitude":"2d176080","hex_latitude":"0720d340","is_valid_coordinates":true} 
[2026-10-05 13:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544274688001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25039131054702592,"note":"Value kept but may cause issues"} 
[2026-10-05 13:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1676464991902593024,"note":"Value kept but may cause issues"} 
[2026-10-05 13:54: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-10-05 13:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791188583000,"timestamp_ms":1791188583000,"timestamp_seconds":1791188583,"priority":1,"record_length":96,"hex_timestamp":"000001a10b28c258"} 
[2026-10-05 13:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 13:54: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-10-05 13:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":207581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":207581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":207581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:54:09] 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-10-05 13:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544274688001,"66":14135,"107":206,"83":41984,"24":33,"16":25039131054702592,"45":1676464991902593024},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-10-05 13:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544274688001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:54:09] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-10-05 13:54:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25039131054702592,"km_value":25039131054702.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1676464991902593024,"description":"Unknown IO ID 45"} 
[2026-10-05 13:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544274688001,"power":14135,"unknown_107":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1676464991902593024}} 
[2026-10-05 13:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":207581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:54:09] local.INFO: GPS data processed {"connection_id":207581,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:54:09] local.INFO: Acknowledgment sent {"connection_id":207581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:54:09] local.INFO: TCP Data received {"connection_id":207580,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207580,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:54:09] local.INFO: Processing buffer {"connection_id":207580,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:54:09] local.INFO: IMEI packet received {"connection_id":207580,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":207580,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:54:10] local.INFO: TCP Data received {"connection_id":207580,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:54:10] local.INFO: Processing buffer {"connection_id":207580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:54:10] local.INFO: Packet analysis {"connection_id":207580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:54:10] local.INFO: Extracted packet for processing {"connection_id":207580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:54:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544209152001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:54:10] 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-10-05 13:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791188618000,"timestamp_ms":1791188618000,"timestamp_seconds":1791188618,"priority":1,"record_length":96,"hex_timestamp":"000001a10b294b10"} 
[2026-10-05 13:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 13:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544209152001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544209152001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:54:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544209152001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":207580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967707,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:54:10] local.INFO: GPS data processed {"connection_id":207580,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:54:10] local.INFO: Acknowledgment sent {"connection_id":207580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:54:36] local.INFO: TCP Data received {"connection_id":204502,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b295ab0012d8037c005c1b0d80007000927..."} 
[2026-10-05 13:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b295ab0012d8037c005c1b0d80007000927..."} 
[2026-10-05 13:54:36] local.INFO: Processing buffer {"connection_id":204502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b295ab0012d8037c005c1b0d80007000927..."} 
[2026-10-05 13:54:36] local.INFO: Packet analysis {"connection_id":204502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:54:36] local.INFO: Extracted packet for processing {"connection_id":204502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:54:36] local.INFO: GPS Element Parsed {"raw_longitude":763377600,"raw_latitude":96579800,"longitude_deg":76.33776,"latitude_deg":9.65798,"altitude":7,"angle":9,"satellites":39,"speed":54,"hex_longitude":"2d8037c0","hex_latitude":"05c1b0d8","is_valid_coordinates":true} 
[2026-10-05 13:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544285440001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1957452819988480,"note":"Value kept but may cause issues"} 
[2026-10-05 13:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9209157525808865280,"note":"Value kept but may cause issues"} 
[2026-10-05 13:54:36] 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-10-05 13:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791188622000,"timestamp_ms":1791188622000,"timestamp_seconds":1791188622,"priority":1,"record_length":96,"hex_timestamp":"000001a10b295ab0"} 
[2026-10-05 13:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:54:36] 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-10-05 13:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 13:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544285440001,"66":27887,"234":206,"85":12288,"24":54,"16":1957452819988480,"45":-9209157525808865280},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-10-05 13:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544285440001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:54:36] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-10-05 13:54:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 13:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1957452819988480,"km_value":1957452819988.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9209157525808865280,"description":"Unknown IO ID 45"} 
[2026-10-05 13:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544285440001,"power":27887,"unknown_234":206,"unknown_85":12288,"ignition":54,"odometer":null,"unknown_45":-9209157525808865280}} 
[2026-10-05 13:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":204502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:54:36] local.INFO: GPS data processed {"connection_id":204502,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:54:36] local.INFO: Acknowledgment sent {"connection_id":204502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:54:40] local.INFO: TCP Data received {"connection_id":207581,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b28ed50012d177a400720ef90003600292c..."} 
[2026-10-05 13:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b28ed50012d177a400720ef90003600292c..."} 
[2026-10-05 13:54:40] local.INFO: Processing buffer {"connection_id":207581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b28ed50012d177a400720ef90003600292c..."} 
[2026-10-05 13:54:40] local.INFO: Packet analysis {"connection_id":207581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b28"} 
[2026-10-05 13:54:40] local.INFO: Extracted packet for processing {"connection_id":207581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b28"} 
[2026-10-05 13:54:40] local.INFO: GPS Element Parsed {"raw_longitude":756513344,"raw_latitude":119598992,"longitude_deg":75.6513344,"latitude_deg":11.9598992,"altitude":54,"angle":41,"satellites":44,"speed":36,"hex_longitude":"2d177a40","hex_latitude":"0720ef90","is_valid_coordinates":true} 
[2026-10-05 13:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544277248001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25039603501105152,"note":"Value kept but may cause issues"} 
[2026-10-05 13:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1684487028740407296,"note":"Value kept but may cause issues"} 
[2026-10-05 13:54:40] 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-10-05 13:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791188594000,"timestamp_ms":1791188594000,"timestamp_seconds":1791188594,"priority":1,"record_length":96,"hex_timestamp":"000001a10b28ed50"} 
[2026-10-05 13:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:54: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-10-05 13:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-10-05 13:54:40] 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-10-05 13:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":207581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":207581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":207581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:54:40] 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-10-05 13:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544277248001,"66":14135,"107":206,"83":41984,"24":36,"16":25039603501105152,"45":1684487028740407296},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-10-05 13:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544277248001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:54:40] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-10-05 13:54:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25039603501105152,"km_value":25039603501105.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1684487028740407296,"description":"Unknown IO ID 45"} 
[2026-10-05 13:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544277248001,"power":14135,"unknown_107":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1684487028740407296}} 
[2026-10-05 13:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":207581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:54:40] local.INFO: GPS data processed {"connection_id":207581,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:54:40] local.INFO: Acknowledgment sent {"connection_id":207581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:54:41] local.INFO: TCP Data received {"connection_id":207580,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:54:41] local.INFO: Processing buffer {"connection_id":207580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:54:41] local.INFO: Packet analysis {"connection_id":207580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:54:41] local.INFO: Extracted packet for processing {"connection_id":207580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:54:41] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544209152001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:54:41] 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-10-05 13:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791188618000,"timestamp_ms":1791188618000,"timestamp_seconds":1791188618,"priority":1,"record_length":96,"hex_timestamp":"000001a10b294b10"} 
[2026-10-05 13:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 13:54:41] 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-10-05 13:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":207580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":207580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":207580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544209152001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544209152001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:54:41] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544209152001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":207580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967710,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:54:41] local.INFO: GPS data processed {"connection_id":207580,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:54:41] local.INFO: Acknowledgment sent {"connection_id":207580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:54:55] local.INFO: TCP Data received {"connection_id":204628,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:54:55] local.INFO: Processing buffer {"connection_id":204628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:54:55] local.INFO: IMEI packet received {"connection_id":204628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":204628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:54:55] local.INFO: TCP Data received {"connection_id":204628,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:54:55] local.INFO: Processing buffer {"connection_id":204628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:54:55] local.INFO: IMEI packet received {"connection_id":204628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":204628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:54:59] local.INFO: TCP Data received {"connection_id":204504,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204504,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:54:59] local.INFO: Processing buffer {"connection_id":204504,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:54:59] local.INFO: IMEI packet received {"connection_id":204504,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":204504,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:55:00] local.INFO: TCP Data received {"connection_id":204628,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:55:00] local.INFO: Processing buffer {"connection_id":204628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:55:00] local.INFO: IMEI packet received {"connection_id":204628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":204628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:55:02] local.INFO: TCP Data received {"connection_id":206046,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:55:02] local.INFO: Processing buffer {"connection_id":206046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:55:02] local.INFO: IMEI packet received {"connection_id":206046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":206046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:55:04] local.INFO: TCP Data received {"connection_id":204504,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204504,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:55:04] local.INFO: Processing buffer {"connection_id":204504,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:55:04] local.INFO: IMEI packet received {"connection_id":204504,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":204504,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:55:05] local.INFO: TCP Data received {"connection_id":204504,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:55:05] local.INFO: Processing buffer {"connection_id":204504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:55:05] local.INFO: Packet analysis {"connection_id":204504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:55:05] local.INFO: Extracted packet for processing {"connection_id":204504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:55:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544209152001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:55:05] 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-10-05 13:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791188618000,"timestamp_ms":1791188618000,"timestamp_seconds":1791188618,"priority":1,"record_length":96,"hex_timestamp":"000001a10b294b10"} 
[2026-10-05 13:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13: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-10-05 13:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 13:55:05] 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-10-05 13:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544209152001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544209152001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:55:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:55:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544209152001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":204504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:55:05] local.INFO: GPS data processed {"connection_id":204504,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:55:05] local.INFO: Acknowledgment sent {"connection_id":204504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:55:05] local.INFO: TCP Data received {"connection_id":206046,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:55:05] local.INFO: Processing buffer {"connection_id":206046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:55:05] local.INFO: IMEI packet received {"connection_id":206046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":206046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:55:06] local.INFO: TCP Data received {"connection_id":206046,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:55:06] local.INFO: Processing buffer {"connection_id":206046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:55:06] local.INFO: IMEI packet received {"connection_id":206046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":206046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:55:10] local.INFO: TCP Data received {"connection_id":206046,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:55:10] local.INFO: Processing buffer {"connection_id":206046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:55:10] local.INFO: IMEI packet received {"connection_id":206046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":206046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:55:11] local.INFO: TCP Data received {"connection_id":206046,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b29fad8012d181f400721a708004500692b..."} 
[2026-10-05 13:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b29fad8012d181f400721a708004500692b..."} 
[2026-10-05 13:55:11] local.INFO: Processing buffer {"connection_id":206046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b29fad8012d181f400721a708004500692b..."} 
[2026-10-05 13:55:11] local.INFO: Packet analysis {"connection_id":206046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:55:11] local.INFO: Extracted packet for processing {"connection_id":206046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:55:11] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119645960,"longitude_deg":75.6555584,"latitude_deg":11.964596,"altitude":69,"angle":105,"satellites":43,"speed":10,"hex_longitude":"2d181f40","hex_latitude":"0721a708","is_valid_coordinates":true} 
[2026-10-05 13:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544297472001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25042682992656384,"note":"Value kept but may cause issues"} 
[2026-10-05 13:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536840968192,"note":"Value kept but may cause issues"} 
[2026-10-05 13:55: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-10-05 13:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791188663000,"timestamp_ms":1791188663000,"timestamp_seconds":1791188663,"priority":1,"record_length":96,"hex_timestamp":"000001a10b29fad8"} 
[2026-10-05 13:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:55:11] 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-10-05 13:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-05 13:55:11] 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-10-05 13:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:55:11] 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-10-05 13:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544297472001,"66":13961,"105":206,"83":41984,"24":10,"16":25042682992656384,"45":1737826536840968192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-05 13:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544297472001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:55:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 13:55:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25042682992656384,"km_value":25042682992656.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536840968192,"description":"Unknown IO ID 45"} 
[2026-10-05 13:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544297472001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737826536840968192}} 
[2026-10-05 13:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":206046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:55:11] local.INFO: GPS data processed {"connection_id":206046,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:55:11] local.INFO: Acknowledgment sent {"connection_id":206046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:55:17] local.INFO: TCP Data received {"connection_id":204628,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b297608012d803d8005c1d5b80006000925..."} 
[2026-10-05 13:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b297608012d803d8005c1d5b80006000925..."} 
[2026-10-05 13:55:17] local.INFO: Processing buffer {"connection_id":204628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b297608012d803d8005c1d5b80006000925..."} 
[2026-10-05 13:55:17] local.INFO: Packet analysis {"connection_id":204628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:55:17] local.INFO: Extracted packet for processing {"connection_id":204628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:55:17] local.INFO: GPS Element Parsed {"raw_longitude":763379072,"raw_latitude":96589240,"longitude_deg":76.3379072,"latitude_deg":9.658924,"altitude":6,"angle":9,"satellites":37,"speed":53,"hex_longitude":"2d803d80","hex_latitude":"05c1d5b8","is_valid_coordinates":true} 
[2026-10-05 13:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544287232001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1957916676456448,"note":"Value kept but may cause issues"} 
[2026-10-05 13:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9207679782178727936,"note":"Value kept but may cause issues"} 
[2026-10-05 13:55:17] 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-10-05 13:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791188629000,"timestamp_ms":1791188629000,"timestamp_seconds":1791188629,"priority":1,"record_length":96,"hex_timestamp":"000001a10b297608"} 
[2026-10-05 13:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-10-05 13:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":204628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":204628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":204628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544287232001,"66":27919,"234":206,"85":12288,"24":53,"16":1957916676456448,"45":-9207679782178727936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-10-05 13:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544287232001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:55:17] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-10-05 13:55:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 13:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1957916676456448,"km_value":1957916676456.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9207679782178727936,"description":"Unknown IO ID 45"} 
[2026-10-05 13:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544287232001,"power":27919,"unknown_234":206,"unknown_85":12288,"ignition":53,"odometer":null,"unknown_45":-9207679782178727936}} 
[2026-10-05 13:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":204628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:55:17] local.INFO: GPS data processed {"connection_id":204628,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:55:17] local.INFO: Acknowledgment sent {"connection_id":204628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:55:36] local.INFO: TCP Data received {"connection_id":204504,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:55:36] local.INFO: Processing buffer {"connection_id":204504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:55:36] local.INFO: Packet analysis {"connection_id":204504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:55:36] local.INFO: Extracted packet for processing {"connection_id":204504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:55:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544209152001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:55:36] 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-10-05 13:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791188618000,"timestamp_ms":1791188618000,"timestamp_seconds":1791188618,"priority":1,"record_length":96,"hex_timestamp":"000001a10b294b10"} 
[2026-10-05 13:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 13:55:36] 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-10-05 13: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-10-05 13:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544209152001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544209152001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:55:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:55:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544209152001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":204504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967714,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:55:36] local.INFO: GPS data processed {"connection_id":204504,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:55:36] local.INFO: Acknowledgment sent {"connection_id":204504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:55:42] local.INFO: TCP Data received {"connection_id":206046,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b29fec0012d181fc00721a6b0004500782a..."} 
[2026-10-05 13:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b29fec0012d181fc00721a6b0004500782a..."} 
[2026-10-05 13:55:42] local.INFO: Processing buffer {"connection_id":206046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b29fec0012d181fc00721a6b0004500782a..."} 
[2026-10-05 13:55:42] local.INFO: Packet analysis {"connection_id":206046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:55:42] local.INFO: Extracted packet for processing {"connection_id":206046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:55:42] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119645872,"longitude_deg":75.6555712,"latitude_deg":11.9645872,"altitude":69,"angle":120,"satellites":42,"speed":7,"hex_longitude":"2d181fc0","hex_latitude":"0721a6b0","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544297728001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25042691582590976,"note":"Value kept but may cause issues"} 
[2026-10-05 13:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561844224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791188664000,"timestamp_ms":1791188664000,"timestamp_seconds":1791188664,"priority":1,"record_length":96,"hex_timestamp":"000001a10b29fec0"} 
[2026-10-05 13:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:55:42] 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-10-05 13: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-05 13:55:42] 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-10-05 13: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-10-05 13:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:55:42] 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-10-05 13:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544297728001,"66":13993,"105":206,"83":41984,"24":7,"16":25042691582590976,"45":1738178380561844224},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-05 13:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544297728001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:55:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 13:55:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25042691582590976,"km_value":25042691582590.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561844224,"description":"Unknown IO ID 45"} 
[2026-10-05 13:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544297728001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738178380561844224}} 
[2026-10-05 13:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":206046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:55:42] local.INFO: GPS data processed {"connection_id":206046,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:55:42] local.INFO: Acknowledgment sent {"connection_id":206046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:55:54] local.INFO: TCP Data received {"connection_id":204629,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204629,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:55:54] local.INFO: Processing buffer {"connection_id":204629,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:55:54] local.INFO: IMEI packet received {"connection_id":204629,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 13:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":204629,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:55:54] local.INFO: TCP Data received {"connection_id":204630,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:55:54] local.INFO: Processing buffer {"connection_id":204630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:55:54] local.INFO: IMEI packet received {"connection_id":204630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":204630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:55:59] local.INFO: TCP Data received {"connection_id":204631,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204631,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:55:59] local.INFO: Processing buffer {"connection_id":204631,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:55:59] local.INFO: IMEI packet received {"connection_id":204631,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":204631,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:56:00] local.INFO: TCP Data received {"connection_id":204630,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:56:00] local.INFO: Processing buffer {"connection_id":204630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:56:00] local.INFO: IMEI packet received {"connection_id":204630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":204630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:56:01] local.INFO: TCP Data received {"connection_id":204630,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b299160012d80428005c1fa380007000726..."} 
[2026-10-05 13:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b299160012d80428005c1fa380007000726..."} 
[2026-10-05 13:56:01] local.INFO: Processing buffer {"connection_id":204630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b299160012d80428005c1fa380007000726..."} 
[2026-10-05 13:56:01] local.INFO: Packet analysis {"connection_id":204630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:56:01] local.INFO: Extracted packet for processing {"connection_id":204630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:56:01] local.INFO: GPS Element Parsed {"raw_longitude":763380352,"raw_latitude":96598584,"longitude_deg":76.3380352,"latitude_deg":9.6598584,"altitude":7,"angle":7,"satellites":38,"speed":53,"hex_longitude":"2d804280","hex_latitude":"05c1fa38","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544289024001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1958376237957120,"note":"Value kept but may cause issues"} 
[2026-10-05 13:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9206061301060225024,"note":"Value kept but may cause issues"} 
[2026-10-05 13:56:01] 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-10-05 13:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791188636000,"timestamp_ms":1791188636000,"timestamp_seconds":1791188636,"priority":1,"record_length":96,"hex_timestamp":"000001a10b299160"} 
[2026-10-05 13:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:56:01] 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-10-05 13:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 13:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:56: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-10-05 13:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544289024001,"66":27843,"234":206,"85":12288,"24":53,"16":1958376237957120,"45":-9206061301060225024},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-10-05 13:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544289024001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:56:01] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-10-05 13:56:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 13:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1958376237957120,"km_value":1958376237957.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9206061301060225024,"description":"Unknown IO ID 45"} 
[2026-10-05 13:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544289024001,"power":27843,"unknown_234":206,"unknown_85":12288,"ignition":53,"odometer":null,"unknown_45":-9206061301060225024}} 
[2026-10-05 13:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":204630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:56:01] local.INFO: GPS data processed {"connection_id":204630,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:56:01] local.INFO: Acknowledgment sent {"connection_id":204630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:56:04] local.INFO: TCP Data received {"connection_id":204631,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204631,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:56:04] local.INFO: Processing buffer {"connection_id":204631,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:56:04] local.INFO: IMEI packet received {"connection_id":204631,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":204631,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:56:05] local.INFO: TCP Data received {"connection_id":204631,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:56:05] local.INFO: Processing buffer {"connection_id":204631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:56:05] local.INFO: Packet analysis {"connection_id":204631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:56:05] local.INFO: Extracted packet for processing {"connection_id":204631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:56:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544209152001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:56:05] 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-10-05 13:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791188618000,"timestamp_ms":1791188618000,"timestamp_seconds":1791188618,"priority":1,"record_length":96,"hex_timestamp":"000001a10b294b10"} 
[2026-10-05 13:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:56: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-10-05 13: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 13:56:05] 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-10-05 13: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-10-05 13:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544209152001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544209152001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:56:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:56:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544209152001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":204631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967717,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:56:05] local.INFO: GPS data processed {"connection_id":204631,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:56:05] local.INFO: Acknowledgment sent {"connection_id":204631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:56:05] local.INFO: TCP Data received {"connection_id":206047,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:56:05] local.INFO: Processing buffer {"connection_id":206047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:56:05] local.INFO: IMEI packet received {"connection_id":206047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":206047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:56:09] local.INFO: TCP Data received {"connection_id":206047,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:56:09] local.INFO: Processing buffer {"connection_id":206047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:56:09] local.INFO: IMEI packet received {"connection_id":206047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":206047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:56:10] local.INFO: TCP Data received {"connection_id":206047,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2a0a78012d1821c00721a4f0004600842b..."} 
[2026-10-05 13:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2a0a78012d1821c00721a4f0004600842b..."} 
[2026-10-05 13:56:10] local.INFO: Processing buffer {"connection_id":206047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2a0a78012d1821c00721a4f0004600842b..."} 
[2026-10-05 13:56:10] local.INFO: Packet analysis {"connection_id":206047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2a"} 
[2026-10-05 13:56:10] local.INFO: Extracted packet for processing {"connection_id":206047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2a"} 
[2026-10-05 13:56:10] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119645424,"longitude_deg":75.6556224,"latitude_deg":11.9645424,"altitude":70,"angle":132,"satellites":43,"speed":13,"hex_longitude":"2d1821c0","hex_latitude":"0721a4f0","is_valid_coordinates":true} 
[2026-10-05 13:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544297984001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25042725942329344,"note":"Value kept but may cause issues"} 
[2026-10-05 13:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050177024,"note":"Value kept but may cause issues"} 
[2026-10-05 13:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791188667000,"timestamp_ms":1791188667000,"timestamp_seconds":1791188667,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2a0a78"} 
[2026-10-05 13:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 13:56:10] 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-10-05 13:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":206047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":206047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":206047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:56:10] 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-10-05 13:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544297984001,"66":13961,"105":206,"83":41984,"24":13,"16":25042725942329344,"45":1738319118050177024},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-05 13:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544297984001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:56:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 13:56:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25042725942329344,"km_value":25042725942329.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050177024,"description":"Unknown IO ID 45"} 
[2026-10-05 13:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544297984001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1738319118050177024}} 
[2026-10-05 13:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":206047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:56:10] local.INFO: GPS data processed {"connection_id":206047,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:56:10] local.INFO: Acknowledgment sent {"connection_id":206047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:56:32] local.INFO: TCP Data received {"connection_id":204630,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b29acb8012d80480005c21ea80007000826..."} 
[2026-10-05 13:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b29acb8012d80480005c21ea80007000826..."} 
[2026-10-05 13:56:32] local.INFO: Processing buffer {"connection_id":204630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b29acb8012d80480005c21ea80007000826..."} 
[2026-10-05 13:56:32] local.INFO: Packet analysis {"connection_id":204630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:56:32] local.INFO: Extracted packet for processing {"connection_id":204630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763381760,"raw_latitude":96607912,"longitude_deg":76.338176,"latitude_deg":9.6607912,"altitude":7,"angle":8,"satellites":38,"speed":52,"hex_longitude":"2d804800","hex_latitude":"05c21ea8","is_valid_coordinates":true} 
[2026-10-05 13:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544290816001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1958831504490496,"note":"Value kept but may cause issues"} 
[2026-10-05 13:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9204653926174279680,"note":"Value kept but may cause issues"} 
[2026-10-05 13:56:32] 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-10-05 13:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791188643000,"timestamp_ms":1791188643000,"timestamp_seconds":1791188643,"priority":1,"record_length":96,"hex_timestamp":"000001a10b29acb8"} 
[2026-10-05 13:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-10-05 13:56: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-10-05 13:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544290816001,"66":27919,"234":206,"85":12288,"24":52,"16":1958831504490496,"45":-9204653926174279680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-10-05 13:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544290816001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:56:32] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-10-05 13:56:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 13:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1958831504490496,"km_value":1958831504490.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9204653926174279680,"description":"Unknown IO ID 45"} 
[2026-10-05 13:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544290816001,"power":27919,"unknown_234":206,"unknown_85":12288,"ignition":52,"odometer":null,"unknown_45":-9204653926174279680}} 
[2026-10-05 13:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":204630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:56:32] local.INFO: GPS data processed {"connection_id":204630,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:56:32] local.INFO: Acknowledgment sent {"connection_id":204630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:56:34] local.INFO: TCP Data received {"connection_id":207582,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:56:34] local.INFO: Processing buffer {"connection_id":207582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 13:56:34] local.INFO: IMEI packet received {"connection_id":207582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 13:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":207582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:56:37] local.INFO: TCP Data received {"connection_id":204631,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:56:37] local.INFO: Processing buffer {"connection_id":204631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:56:37] local.INFO: Packet analysis {"connection_id":204631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:56:37] local.INFO: Extracted packet for processing {"connection_id":204631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:56:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544209152001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:56:37] 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-10-05 13:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791188618000,"timestamp_ms":1791188618000,"timestamp_seconds":1791188618,"priority":1,"record_length":96,"hex_timestamp":"000001a10b294b10"} 
[2026-10-05 13:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 13:56:37] 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-10-05 13:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544209152001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544209152001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:56:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:56:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544209152001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":204631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:56:37] local.INFO: GPS data processed {"connection_id":204631,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:56:37] local.INFO: Acknowledgment sent {"connection_id":204631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:56:41] local.INFO: TCP Data received {"connection_id":206047,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2b6620012d18d24007212498003d00ac28..."} 
[2026-10-05 13:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2b6620012d18d24007212498003d00ac28..."} 
[2026-10-05 13:56:41] local.INFO: Processing buffer {"connection_id":206047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2b6620012d18d24007212498003d00ac28..."} 
[2026-10-05 13:56:41] local.INFO: Packet analysis {"connection_id":206047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2b"} 
[2026-10-05 13:56:41] local.INFO: Extracted packet for processing {"connection_id":206047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2b"} 
[2026-10-05 13:56:41] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119612568,"longitude_deg":75.6601408,"latitude_deg":11.9612568,"altitude":61,"angle":172,"satellites":40,"speed":38,"hex_longitude":"2d18d240","hex_latitude":"07212498","is_valid_coordinates":true} 
[2026-10-05 13:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544321024001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25045663699959808,"note":"Value kept but may cause issues"} 
[2026-10-05 13:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788069820175730688,"note":"Value kept but may cause issues"} 
[2026-10-05 13:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791188756000,"timestamp_ms":1791188756000,"timestamp_seconds":1791188756,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2b6620"} 
[2026-10-05 13:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:56:41] 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-10-05 13:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 13:56:41] 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-10-05 13:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":206047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":206047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":206047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:56:41] 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-10-05 13:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544321024001,"66":12841,"103":206,"83":41984,"24":38,"16":25045663699959808,"45":1788069820175730688},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 13:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544321024001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:56:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 13:56:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25045663699959808,"km_value":25045663699959.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788069820175730688,"description":"Unknown IO ID 45"} 
[2026-10-05 13:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544321024001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1788069820175730688}} 
[2026-10-05 13:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":206047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:56:41] local.INFO: GPS data processed {"connection_id":206047,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:56:41] local.INFO: Acknowledgment sent {"connection_id":206047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:56:54] local.INFO: TCP Data received {"connection_id":207583,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:56:54] local.INFO: Processing buffer {"connection_id":207583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:56:54] local.INFO: IMEI packet received {"connection_id":207583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":207583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:56:59] local.INFO: TCP Data received {"connection_id":207584,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:56:59] local.INFO: Processing buffer {"connection_id":207584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:56:59] local.INFO: IMEI packet received {"connection_id":207584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":207584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:57:00] local.INFO: TCP Data received {"connection_id":207583,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:57:00] local.INFO: Processing buffer {"connection_id":207583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:57:00] local.INFO: IMEI packet received {"connection_id":207583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":207583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:57:01] local.INFO: TCP Data received {"connection_id":207583,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b29c810012d804d0005c242100007000924..."} 
[2026-10-05 13:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b29c810012d804d0005c242100007000924..."} 
[2026-10-05 13:57:01] local.INFO: Processing buffer {"connection_id":207583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b29c810012d804d0005c242100007000924..."} 
[2026-10-05 13:57:01] local.INFO: Packet analysis {"connection_id":207583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:57:01] local.INFO: Extracted packet for processing {"connection_id":207583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:57:01] local.INFO: GPS Element Parsed {"raw_longitude":763383040,"raw_latitude":96616976,"longitude_deg":76.338304,"latitude_deg":9.6616976,"altitude":7,"angle":9,"satellites":36,"speed":51,"hex_longitude":"2d804d00","hex_latitude":"05c24210","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544292608001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1959273886121984,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9203105813799983104,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:01] 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-10-05 13:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791188650000,"timestamp_ms":1791188650000,"timestamp_seconds":1791188650,"priority":1,"record_length":96,"hex_timestamp":"000001a10b29c810"} 
[2026-10-05 13:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:57:01] 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-10-05 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 13:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:57: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-10-05 13:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544292608001,"66":27908,"234":206,"85":12288,"24":51,"16":1959273886121984,"45":-9203105813799983104},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-10-05 13:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544292608001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:57:01] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-10-05 13:57:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 13:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1959273886121984,"km_value":1959273886121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9203105813799983104,"description":"Unknown IO ID 45"} 
[2026-10-05 13:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544292608001,"power":27908,"unknown_234":206,"unknown_85":12288,"ignition":51,"odometer":null,"unknown_45":-9203105813799983104}} 
[2026-10-05 13:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":207583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:57:01] local.INFO: GPS data processed {"connection_id":207583,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:57:01] local.INFO: Acknowledgment sent {"connection_id":207583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:57:04] local.INFO: TCP Data received {"connection_id":207584,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:57:04] local.INFO: Processing buffer {"connection_id":207584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:57:04] local.INFO: IMEI packet received {"connection_id":207584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":207584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:57:05] local.INFO: TCP Data received {"connection_id":207584,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:57:05] local.INFO: Processing buffer {"connection_id":207584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:57:05] local.INFO: Packet analysis {"connection_id":207584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:57:05] local.INFO: Extracted packet for processing {"connection_id":207584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:57:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544209152001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:05] 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-10-05 13:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791188618000,"timestamp_ms":1791188618000,"timestamp_seconds":1791188618,"priority":1,"record_length":96,"hex_timestamp":"000001a10b294b10"} 
[2026-10-05 13:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:57: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-10-05 13:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 13:57:05] 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-10-05 13:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544209152001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544209152001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:57:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:57:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544209152001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":207584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967723,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:57:05] local.INFO: GPS data processed {"connection_id":207584,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:57:05] local.INFO: Acknowledgment sent {"connection_id":207584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:57:05] local.INFO: TCP Data received {"connection_id":207585,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:57:05] local.INFO: Processing buffer {"connection_id":207585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:57:05] local.INFO: IMEI packet received {"connection_id":207585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":207585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:57:10] local.INFO: TCP Data received {"connection_id":207585,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:57:10] local.INFO: Processing buffer {"connection_id":207585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:57:10] local.INFO: IMEI packet received {"connection_id":207585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":207585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:57:11] local.INFO: TCP Data received {"connection_id":207585,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2b6df0012d18d28007211cf0003c00b728..."} 
[2026-10-05 13:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2b6df0012d18d28007211cf0003c00b728..."} 
[2026-10-05 13:57:11] local.INFO: Processing buffer {"connection_id":207585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2b6df0012d18d28007211cf0003c00b728..."} 
[2026-10-05 13:57:11] local.INFO: Packet analysis {"connection_id":207585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2b"} 
[2026-10-05 13:57:11] local.INFO: Extracted packet for processing {"connection_id":207585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2b"} 
[2026-10-05 13:57:11] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119610608,"longitude_deg":75.6601472,"latitude_deg":11.9610608,"altitude":60,"angle":183,"satellites":40,"speed":39,"hex_longitude":"2d18d280","hex_latitude":"07211cf0","is_valid_coordinates":true} 
[2026-10-05 13:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544321536001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25045758189240320,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401384503296,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791188758000,"timestamp_ms":1791188758000,"timestamp_seconds":1791188758,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2b6df0"} 
[2026-10-05 13:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:57:11] 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-10-05 13:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 13:57:11] 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-10-05 13:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:57:11] 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-10-05 13:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544321536001,"66":12809,"103":206,"83":41984,"24":39,"16":25045758189240320,"45":1788562401384503296},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 13:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544321536001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:57:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 13:57:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25045758189240320,"km_value":25045758189240.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401384503296,"description":"Unknown IO ID 45"} 
[2026-10-05 13:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544321536001,"power":12809,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1788562401384503296}} 
[2026-10-05 13:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":207585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:57:11] local.INFO: GPS data processed {"connection_id":207585,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:57:11] local.INFO: Acknowledgment sent {"connection_id":207585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:57:32] local.INFO: TCP Data received {"connection_id":207583,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b29e368012d8051c005c265300007000726..."} 
[2026-10-05 13:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b29e368012d8051c005c265300007000726..."} 
[2026-10-05 13:57:32] local.INFO: Processing buffer {"connection_id":207583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b29e368012d8051c005c265300007000726..."} 
[2026-10-05 13:57:32] local.INFO: Packet analysis {"connection_id":207583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:57:32] local.INFO: Extracted packet for processing {"connection_id":207583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:57:32] local.INFO: GPS Element Parsed {"raw_longitude":763384256,"raw_latitude":96625968,"longitude_deg":76.3384256,"latitude_deg":9.6625968,"altitude":7,"angle":7,"satellites":38,"speed":51,"hex_longitude":"2d8051c0","hex_latitude":"05c26530","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544294400001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1959716267753472,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9201698438914109440,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:32] 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-10-05 13:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791188657000,"timestamp_ms":1791188657000,"timestamp_seconds":1791188657,"priority":1,"record_length":96,"hex_timestamp":"000001a10b29e368"} 
[2026-10-05 13:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 13:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544294400001,"66":27832,"234":206,"85":12288,"24":51,"16":1959716267753472,"45":-9201698438914109440},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-10-05 13:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544294400001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:57:32] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-10-05 13:57:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 13:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1959716267753472,"km_value":1959716267753.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9201698438914109440,"description":"Unknown IO ID 45"} 
[2026-10-05 13:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544294400001,"power":27832,"unknown_234":206,"unknown_85":12288,"ignition":51,"odometer":null,"unknown_45":-9201698438914109440}} 
[2026-10-05 13:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":207583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:57:32] local.INFO: GPS data processed {"connection_id":207583,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:57:32] local.INFO: Acknowledgment sent {"connection_id":207583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:57:36] local.INFO: TCP Data received {"connection_id":207584,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:57:36] local.INFO: Processing buffer {"connection_id":207584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:57:36] local.INFO: Packet analysis {"connection_id":207584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:57:36] local.INFO: Extracted packet for processing {"connection_id":207584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:57:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544209152001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:36] 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-10-05 13:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791188618000,"timestamp_ms":1791188618000,"timestamp_seconds":1791188618,"priority":1,"record_length":96,"hex_timestamp":"000001a10b294b10"} 
[2026-10-05 13:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 13:57:36] 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-10-05 13:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544209152001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544209152001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:57:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:57:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544209152001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":207584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967726,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:57:36] local.INFO: GPS data processed {"connection_id":207584,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:57:36] local.INFO: Acknowledgment sent {"connection_id":207584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:57:42] local.INFO: TCP Data received {"connection_id":207585,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2b7d90012d18d28007210ee8003b00a62a..."} 
[2026-10-05 13:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2b7d90012d18d28007210ee8003b00a62a..."} 
[2026-10-05 13:57:42] local.INFO: Processing buffer {"connection_id":207585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2b7d90012d18d28007210ee8003b00a62a..."} 
[2026-10-05 13:57:42] local.INFO: Packet analysis {"connection_id":207585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2b"} 
[2026-10-05 13:57:42] local.INFO: Extracted packet for processing {"connection_id":207585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2b"} 
[2026-10-05 13:57:42] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119607016,"longitude_deg":75.6601472,"latitude_deg":11.9607016,"altitude":59,"angle":166,"satellites":42,"speed":33,"hex_longitude":"2d18d280","hex_latitude":"07210ee8","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544322048001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25045934282899456,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770128179200,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791188762000,"timestamp_ms":1791188762000,"timestamp_seconds":1791188762,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2b7d90"} 
[2026-10-05 13:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:57:42] 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-10-05 13: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-05 13:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2738188573609034752,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:42] local.WARNING: Large IO value detected {"io_id":250,"raw_value":2952790016,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:42] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:42] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3114028041145730240,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-10-05 13:57:42] local.WARNING: Large IO value detected {"io_id":51,"raw_value":1729608113838935635,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:42] local.WARNING: Large IO value detected {"io_id":88,"raw_value":4201578496,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:42] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2399970001768457511,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:42] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755562649944305,"note":"Value kept but may cause issues"} 
[2026-10-05 13:57:42] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,103,83,24,241,157,16,250,161,102,45,64,36,61,40,10,66,94,128,43,62,39,82,1,240,215,227,11,33,4,113,205,37,59,197,144,239,51,106,2,88,7,67,38,164,100],"length":535,"final_offset":665,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-10-05 13:57:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323657024704806912,"timestamp_seconds":4323657024704807.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 13:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:57:42] 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-10-05 13:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544322048001,"66":10689,"103":206,"83":41984,"24":33,"16":25045934282899456,"45":1788632770128179200},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 13:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544322048001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:57:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 13:57:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25045934282899456,"km_value":25045934282899.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770128179200,"description":"Unknown IO ID 45"} 
[2026-10-05 13:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544322048001,"power":10689,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1788632770128179200}} 
[2026-10-05 13:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":207585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:57:42] local.INFO: GPS data processed {"connection_id":207585,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:57:42] local.INFO: Acknowledgment sent {"connection_id":207585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:57:54] local.INFO: TCP Data received {"connection_id":204505,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:57:54] local.INFO: Processing buffer {"connection_id":204505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:57:54] local.INFO: IMEI packet received {"connection_id":204505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":204505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:57:59] local.INFO: TCP Data received {"connection_id":204632,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:57:59] local.INFO: Processing buffer {"connection_id":204632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:57:59] local.INFO: IMEI packet received {"connection_id":204632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":204632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:58:00] local.INFO: TCP Data received {"connection_id":204505,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:58:00] local.INFO: Processing buffer {"connection_id":204505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:58:00] local.INFO: IMEI packet received {"connection_id":204505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":204505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:58:00] local.INFO: TCP Data received {"connection_id":204505,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b29fec0012d80568005c288180007000627..."} 
[2026-10-05 13:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b29fec0012d80568005c288180007000627..."} 
[2026-10-05 13:58:00] local.INFO: Processing buffer {"connection_id":204505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b29fec0012d80568005c288180007000627..."} 
[2026-10-05 13:58:00] local.INFO: Packet analysis {"connection_id":204505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:58:00] local.INFO: Extracted packet for processing {"connection_id":204505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:58:00] local.INFO: GPS Element Parsed {"raw_longitude":763385472,"raw_latitude":96634904,"longitude_deg":76.3385472,"latitude_deg":9.6634904,"altitude":7,"angle":6,"satellites":39,"speed":50,"hex_longitude":"2d805680","hex_latitude":"05c28818","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544296192001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1960154354417664,"note":"Value kept but may cause issues"} 
[2026-10-05 13:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9200361432772431872,"note":"Value kept but may cause issues"} 
[2026-10-05 13:58:00] 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-10-05 13:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791188664000,"timestamp_ms":1791188664000,"timestamp_seconds":1791188664,"priority":1,"record_length":96,"hex_timestamp":"000001a10b29fec0"} 
[2026-10-05 13:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:58: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-10-05 13: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-10-05 13:58:00] 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-10-05 13: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-10-05 13:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:58: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-10-05 13:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544296192001,"66":27658,"234":206,"85":12288,"24":50,"16":1960154354417664,"45":-9200361432772431872},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-10-05 13:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544296192001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:58:00] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-10-05 13:58:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 13:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1960154354417664,"km_value":1960154354417.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9200361432772431872,"description":"Unknown IO ID 45"} 
[2026-10-05 13:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544296192001,"power":27658,"unknown_234":206,"unknown_85":12288,"ignition":50,"odometer":null,"unknown_45":-9200361432772431872}} 
[2026-10-05 13:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":204505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:58:00] local.INFO: GPS data processed {"connection_id":204505,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:58:00] local.INFO: Acknowledgment sent {"connection_id":204505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:58:04] local.INFO: TCP Data received {"connection_id":204632,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:58:04] local.INFO: Processing buffer {"connection_id":204632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:58:04] local.INFO: IMEI packet received {"connection_id":204632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":204632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:58:05] local.INFO: TCP Data received {"connection_id":204633,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:58:05] local.INFO: Processing buffer {"connection_id":204633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:58:05] local.INFO: IMEI packet received {"connection_id":204633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":204633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:58:05] local.INFO: TCP Data received {"connection_id":204632,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:58:05] local.INFO: Processing buffer {"connection_id":204632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:58:05] local.INFO: Packet analysis {"connection_id":204632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:58:05] local.INFO: Extracted packet for processing {"connection_id":204632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:58:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544209152001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:58:05] 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-10-05 13:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791188618000,"timestamp_ms":1791188618000,"timestamp_seconds":1791188618,"priority":1,"record_length":96,"hex_timestamp":"000001a10b294b10"} 
[2026-10-05 13:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:58: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-10-05 13: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 13:58:05] 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-10-05 13: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-10-05 13:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544209152001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544209152001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:58:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:58:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544209152001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":204632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:58:05] local.INFO: GPS data processed {"connection_id":204632,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:58:05] local.INFO: Acknowledgment sent {"connection_id":204632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:58:06] local.INFO: TCP Data received {"connection_id":204633,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:58:06] local.INFO: Processing buffer {"connection_id":204633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:58:06] local.INFO: IMEI packet received {"connection_id":204633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":204633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:58:10] local.INFO: TCP Data received {"connection_id":204633,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:58:10] local.INFO: Processing buffer {"connection_id":204633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:58:10] local.INFO: IMEI packet received {"connection_id":204633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":204633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:58:11] local.INFO: TCP Data received {"connection_id":204633,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2c96d0012d1952800720ac20002e006327..."} 
[2026-10-05 13:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2c96d0012d1952800720ac20002e006327..."} 
[2026-10-05 13:58:11] local.INFO: Processing buffer {"connection_id":204633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2c96d0012d1952800720ac20002e006327..."} 
[2026-10-05 13:58:11] local.INFO: Packet analysis {"connection_id":204633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2c"} 
[2026-10-05 13:58:11] local.INFO: Extracted packet for processing {"connection_id":204633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2c"} 
[2026-10-05 13:58:11] local.INFO: GPS Element Parsed {"raw_longitude":756634240,"raw_latitude":119581728,"longitude_deg":75.663424,"latitude_deg":11.9581728,"altitude":46,"angle":99,"satellites":39,"speed":0,"hex_longitude":"2d195280","hex_latitude":"0720ac20","is_valid_coordinates":true} 
[2026-10-05 13:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544336128001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25048013047070720,"note":"Value kept but may cause issues"} 
[2026-10-05 13:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823465298488756224,"note":"Value kept but may cause issues"} 
[2026-10-05 13:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791188834000,"timestamp_ms":1791188834000,"timestamp_seconds":1791188834,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2c96d0"} 
[2026-10-05 13:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:58:11] 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-10-05 13:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-10-05 13:58:11] 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-10-05 13:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:58:11] 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-10-05 13:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544336128001,"66":14037,"103":206,"83":41984,"24":0,"16":25048013047070720,"45":1823465298488756224},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 13:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544336128001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:58:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 13:58:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25048013047070720,"km_value":25048013047070.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823465298488756224,"description":"Unknown IO ID 45"} 
[2026-10-05 13:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544336128001,"power":14037,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1823465298488756224}} 
[2026-10-05 13:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":204633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:58:11] local.INFO: GPS data processed {"connection_id":204633,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:58:11] local.INFO: Acknowledgment sent {"connection_id":204633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:58:32] local.INFO: TCP Data received {"connection_id":204505,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2c6bd8012d80778005c37638000a000526..."} 
[2026-10-05 13:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2c6bd8012d80778005c37638000a000526..."} 
[2026-10-05 13:58:32] local.INFO: Processing buffer {"connection_id":204505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2c6bd8012d80778005c37638000a000526..."} 
[2026-10-05 13:58:32] local.INFO: Packet analysis {"connection_id":204505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2c"} 
[2026-10-05 13:58:32] local.INFO: Extracted packet for processing {"connection_id":204505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2c"} 
[2026-10-05 13:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763393920,"raw_latitude":96695864,"longitude_deg":76.339392,"latitude_deg":9.6695864,"altitude":10,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d807780","hex_latitude":"05c37638","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544333312001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1963147946622976,"note":"Value kept but may cause issues"} 
[2026-10-05 13:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9189946858616887296,"note":"Value kept but may cause issues"} 
[2026-10-05 13:58:32] 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-10-05 13:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791188823000,"timestamp_ms":1791188823000,"timestamp_seconds":1791188823,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2c6bd8"} 
[2026-10-05 13:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:58: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-10-05 13: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-10-05 13:58:32] 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-10-05 13: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-10-05 13:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544333312001,"66":27930,"157":206,"85":12288,"24":0,"16":1963147946622976,"45":-9189946858616887296},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-10-05 13:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544333312001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:58:32] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-10-05 13:58:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 13:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1963147946622976,"km_value":1963147946622.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9189946858616887296,"description":"Unknown IO ID 45"} 
[2026-10-05 13:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544333312001,"power":27930,"unknown_157":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9189946858616887296}} 
[2026-10-05 13:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":204505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:58:32] local.INFO: GPS data processed {"connection_id":204505,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:58:32] local.INFO: Acknowledgment sent {"connection_id":204505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:58:37] local.INFO: TCP Data received {"connection_id":204632,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:58:37] local.INFO: Processing buffer {"connection_id":204632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b294b10012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:58:37] local.INFO: Packet analysis {"connection_id":204632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:58:37] local.INFO: Extracted packet for processing {"connection_id":204632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b29"} 
[2026-10-05 13:58:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544209152001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:58:37] 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-10-05 13:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791188618000,"timestamp_ms":1791188618000,"timestamp_seconds":1791188618,"priority":1,"record_length":96,"hex_timestamp":"000001a10b294b10"} 
[2026-10-05 13:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 13:58:37] 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-10-05 13: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-10-05 13:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544209152001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544209152001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:58:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:58:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544209152001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":204632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:58:37] local.INFO: GPS data processed {"connection_id":204632,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:58:37] local.INFO: Acknowledgment sent {"connection_id":204632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:58:42] local.INFO: TCP Data received {"connection_id":204633,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2caa58012d1957400720ab58002e005729..."} 
[2026-10-05 13:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2caa58012d1957400720ab58002e005729..."} 
[2026-10-05 13:58:42] local.INFO: Processing buffer {"connection_id":204633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2caa58012d1957400720ab58002e005729..."} 
[2026-10-05 13:58:42] local.INFO: Packet analysis {"connection_id":204633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2c"} 
[2026-10-05 13:58:42] local.INFO: Extracted packet for processing {"connection_id":204633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2c"} 
[2026-10-05 13:58:42] local.INFO: GPS Element Parsed {"raw_longitude":756635456,"raw_latitude":119581528,"longitude_deg":75.6635456,"latitude_deg":11.9581528,"altitude":46,"angle":87,"satellites":41,"speed":17,"hex_longitude":"2d195740","hex_latitude":"0720ab58","is_valid_coordinates":true} 
[2026-10-05 13:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544341504001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25048073176612864,"note":"Value kept but may cause issues"} 
[2026-10-05 13:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824661567139749888,"note":"Value kept but may cause issues"} 
[2026-10-05 13:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791188839000,"timestamp_ms":1791188839000,"timestamp_seconds":1791188839,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2caa58"} 
[2026-10-05 13:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-10-05 13:58:42] 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-10-05 13:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:58:42] 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-10-05 13:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544341504001,"66":14211,"103":206,"83":41984,"24":17,"16":25048073176612864,"45":1824661567139749888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 13:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544341504001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:58:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 13:58:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25048073176612864,"km_value":25048073176612.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824661567139749888,"description":"Unknown IO ID 45"} 
[2026-10-05 13:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544341504001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1824661567139749888}} 
[2026-10-05 13:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":204633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:58:42] local.INFO: GPS data processed {"connection_id":204633,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:58:42] local.INFO: Acknowledgment sent {"connection_id":204633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:58:59] local.INFO: TCP Data received {"connection_id":207586,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:58:59] local.INFO: Processing buffer {"connection_id":207586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:58:59] local.INFO: IMEI packet received {"connection_id":207586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":207586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:59:00] local.INFO: TCP Data received {"connection_id":206049,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:59:00] local.INFO: Processing buffer {"connection_id":206049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:59:00] local.INFO: IMEI packet received {"connection_id":206049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":206049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:59:04] local.INFO: TCP Data received {"connection_id":207586,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:59:04] local.INFO: Processing buffer {"connection_id":207586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:59:04] local.INFO: IMEI packet received {"connection_id":207586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 13:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":207586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:59:05] local.INFO: TCP Data received {"connection_id":206050,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:59:05] local.INFO: Processing buffer {"connection_id":206050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:59:05] local.INFO: IMEI packet received {"connection_id":206050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 13:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":206050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:59:05] local.INFO: TCP Data received {"connection_id":206049,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:59:05] local.INFO: Processing buffer {"connection_id":206049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:59:05] local.INFO: IMEI packet received {"connection_id":206049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 13:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":206049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:59:05] local.INFO: TCP Data received {"connection_id":207586,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:59:05] local.INFO: Processing buffer {"connection_id":207586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:59:05] local.INFO: Packet analysis {"connection_id":207586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 13:59:05] local.INFO: Extracted packet for processing {"connection_id":207586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 13:59:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544286208001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:59:05] 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-10-05 13:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791188919000,"timestamp_ms":1791188919000,"timestamp_seconds":1791188919,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2de2d8"} 
[2026-10-05 13:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:59: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-10-05 13:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 13:59:05] 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-10-05 13:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544286208001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544286208001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:59:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:59:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544286208001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":207586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967734,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:59:05] local.INFO: GPS data processed {"connection_id":207586,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:59:05] local.INFO: Acknowledgment sent {"connection_id":207586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:59:06] local.INFO: TCP Data received {"connection_id":206049,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2cbde0012d80788005c37a98000b000529..."} 
[2026-10-05 13:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2cbde0012d80788005c37a98000b000529..."} 
[2026-10-05 13:59:06] local.INFO: Processing buffer {"connection_id":206049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2cbde0012d80788005c37a98000b000529..."} 
[2026-10-05 13:59:06] local.INFO: Packet analysis {"connection_id":206049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2c"} 
[2026-10-05 13:59:06] local.INFO: Extracted packet for processing {"connection_id":206049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2c"} 
[2026-10-05 13:59:06] local.INFO: GPS Element Parsed {"raw_longitude":763394176,"raw_latitude":96696984,"longitude_deg":76.3394176,"latitude_deg":9.6696984,"altitude":11,"angle":5,"satellites":41,"speed":0,"hex_longitude":"2d807880","hex_latitude":"05c37a98","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544338688001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1963208076165120,"note":"Value kept but may cause issues"} 
[2026-10-05 13:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9189735752383711232,"note":"Value kept but may cause issues"} 
[2026-10-05 13:59: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-10-05 13:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791188844000,"timestamp_ms":1791188844000,"timestamp_seconds":1791188844,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2cbde0"} 
[2026-10-05 13:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-05 13:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13: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-10-05 13:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":206049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":206049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":206049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:59: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-10-05 13:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544338688001,"66":27832,"157":206,"85":12288,"24":0,"16":1963208076165120,"45":-9189735752383711232},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-10-05 13:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544338688001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:59:06] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-10-05 13:59:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 13:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1963208076165120,"km_value":1963208076165.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9189735752383711232,"description":"Unknown IO ID 45"} 
[2026-10-05 13:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544338688001,"power":27832,"unknown_157":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9189735752383711232}} 
[2026-10-05 13:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":206049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:59:06] local.INFO: GPS data processed {"connection_id":206049,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:59:06] local.INFO: Acknowledgment sent {"connection_id":206049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:59:07] local.INFO: TCP Data received {"connection_id":206049,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2d0fe8012d80794005c38208000a000628..."} 
[2026-10-05 13:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2d0fe8012d80794005c38208000a000628..."} 
[2026-10-05 13:59:07] local.INFO: Processing buffer {"connection_id":206049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2d0fe8012d80794005c38208000a000628..."} 
[2026-10-05 13:59:07] local.INFO: Packet analysis {"connection_id":206049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 13:59:07] local.INFO: Extracted packet for processing {"connection_id":206049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 13:59:07] local.INFO: GPS Element Parsed {"raw_longitude":763394368,"raw_latitude":96698888,"longitude_deg":76.3394368,"latitude_deg":9.6698888,"altitude":10,"angle":6,"satellites":40,"speed":5,"hex_longitude":"2d807940","hex_latitude":"05c38208","is_valid_coordinates":true} 
[2026-10-05 13:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544344064001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1963302565445632,"note":"Value kept but may cause issues"} 
[2026-10-05 13:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9189454277406713856,"note":"Value kept but may cause issues"} 
[2026-10-05 13:59: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-10-05 13:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791188865000,"timestamp_ms":1791188865000,"timestamp_seconds":1791188865,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2d0fe8"} 
[2026-10-05 13:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 13:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-10-05 13:59:07] 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-10-05 13:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":206049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":206049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":206049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:59: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-10-05 13:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544344064001,"66":27995,"157":206,"85":12288,"24":5,"16":1963302565445632,"45":-9189454277406713856},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-10-05 13:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544344064001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:59:07] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-10-05 13:59:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 13:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1963302565445632,"km_value":1963302565445.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9189454277406713856,"description":"Unknown IO ID 45"} 
[2026-10-05 13:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544344064001,"power":27995,"unknown_157":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":-9189454277406713856}} 
[2026-10-05 13:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":206049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:59:07] local.INFO: GPS data processed {"connection_id":206049,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:59:07] local.INFO: Acknowledgment sent {"connection_id":206049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:59:10] local.INFO: TCP Data received {"connection_id":207586,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:59:10] local.INFO: Processing buffer {"connection_id":207586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:59:10] local.INFO: Packet analysis {"connection_id":207586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 13:59:10] local.INFO: Extracted packet for processing {"connection_id":207586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 13:59:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13:59: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-10-05 13:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544286208001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:59:10] 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-10-05 13:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791188919000,"timestamp_ms":1791188919000,"timestamp_seconds":1791188919,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2de2d8"} 
[2026-10-05 13:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 13:59:10] 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-10-05 13:59: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-10-05 13:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544286208001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544286208001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:59:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:59:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544286208001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":207586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967737,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:59:10] local.INFO: GPS data processed {"connection_id":207586,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:59:10] local.INFO: Acknowledgment sent {"connection_id":207586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:59:10] local.INFO: TCP Data received {"connection_id":206050,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:59:10] local.INFO: Processing buffer {"connection_id":206050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 13:59:10] local.INFO: IMEI packet received {"connection_id":206050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 13:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":206050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 13:59:12] local.INFO: TCP Data received {"connection_id":206050,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2d5a20012d19ad8007208f78002e00b62b..."} 
[2026-10-05 13:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2d5a20012d19ad8007208f78002e00b62b..."} 
[2026-10-05 13:59:12] local.INFO: Processing buffer {"connection_id":206050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2d5a20012d19ad8007208f78002e00b62b..."} 
[2026-10-05 13:59:12] local.INFO: Packet analysis {"connection_id":206050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 13:59:12] local.INFO: Extracted packet for processing {"connection_id":206050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 13:59:12] local.INFO: GPS Element Parsed {"raw_longitude":756657536,"raw_latitude":119574392,"longitude_deg":75.6657536,"latitude_deg":11.9574392,"altitude":46,"angle":182,"satellites":43,"speed":26,"hex_longitude":"2d19ad80","hex_latitude":"07208f78","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544354048001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25049688084316160,"note":"Value kept but may cause issues"} 
[2026-10-05 13:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850486896251246592,"note":"Value kept but may cause issues"} 
[2026-10-05 13:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791188884000,"timestamp_ms":1791188884000,"timestamp_seconds":1791188884,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2d5a20"} 
[2026-10-05 13:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:59:12] 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-10-05 13: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-10-05 13:59:12] 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-10-05 13: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-10-05 13:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":206050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":206050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":206050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:59:12] 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-10-05 13:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544354048001,"66":14113,"103":206,"83":41984,"24":26,"16":25049688084316160,"45":1850486896251246592},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 13:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544354048001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:59:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 13:59:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25049688084316160,"km_value":25049688084316.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850486896251246592,"description":"Unknown IO ID 45"} 
[2026-10-05 13:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544354048001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1850486896251246592}} 
[2026-10-05 13:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":206050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:59:12] local.INFO: GPS data processed {"connection_id":206050,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:59:12] local.INFO: Acknowledgment sent {"connection_id":206050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:59:38] local.INFO: TCP Data received {"connection_id":206049,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2d61f0012d807a4005c387d80009000528..."} 
[2026-10-05 13:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2d61f0012d807a4005c387d80009000528..."} 
[2026-10-05 13:59:38] local.INFO: Processing buffer {"connection_id":206049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2d61f0012d807a4005c387d80009000528..."} 
[2026-10-05 13:59:38] local.INFO: Packet analysis {"connection_id":206049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 13:59:38] local.INFO: Extracted packet for processing {"connection_id":206049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 13:59:38] local.INFO: GPS Element Parsed {"raw_longitude":763394624,"raw_latitude":96700376,"longitude_deg":76.3394624,"latitude_deg":9.6700376,"altitude":9,"angle":5,"satellites":40,"speed":0,"hex_longitude":"2d807a40","hex_latitude":"05c387d8","is_valid_coordinates":true} 
[2026-10-05 13:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544349440001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1963379874856960,"note":"Value kept but may cause issues"} 
[2026-10-05 13:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9189243171173693440,"note":"Value kept but may cause issues"} 
[2026-10-05 13:59:38] 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-10-05 13:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791188886000,"timestamp_ms":1791188886000,"timestamp_seconds":1791188886,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2d61f0"} 
[2026-10-05 13:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:59: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-10-05 13:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 13:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 13:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":206049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":206049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":206049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 13:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 13:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 13:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544349440001,"66":27800,"157":206,"85":12288,"24":0,"16":1963379874856960,"45":-9189243171173693440},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-10-05 13:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 13:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 13:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544349440001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:59:38] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-10-05 13:59:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 13:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1963379874856960,"km_value":1963379874856.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9189243171173693440,"description":"Unknown IO ID 45"} 
[2026-10-05 13:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544349440001,"power":27800,"unknown_157":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9189243171173693440}} 
[2026-10-05 13:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":206049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:59:38] local.INFO: GPS data processed {"connection_id":206049,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:59:38] local.INFO: Acknowledgment sent {"connection_id":206049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:59:41] local.INFO: TCP Data received {"connection_id":207586,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:59:41] local.INFO: Processing buffer {"connection_id":207586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 13:59:41] local.INFO: Packet analysis {"connection_id":207586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 13:59:41] local.INFO: Extracted packet for processing {"connection_id":207586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 13:59:41] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 13: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-10-05 13:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544286208001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 13:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 13:59:41] 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-10-05 13:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791188919000,"timestamp_ms":1791188919000,"timestamp_seconds":1791188919,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2de2d8"} 
[2026-10-05 13:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 13: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 13:59:41] 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-10-05 13: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-10-05 13:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":207586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":207586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":207586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 13:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 13:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 13:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 13:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544286208001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 13:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 13:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 13:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544286208001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:59:41] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 13:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 13:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 13:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544286208001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 13:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":207586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967740,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:59:41] local.INFO: GPS data processed {"connection_id":207586,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:59:41] local.INFO: Acknowledgment sent {"connection_id":207586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:59:43] local.INFO: TCP Data received {"connection_id":206050,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2e2928012d19dd80072005f8002c00d629..."} 
[2026-10-05 13:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2e2928012d19dd80072005f8002c00d629..."} 
[2026-10-05 13:59:43] local.INFO: Processing buffer {"connection_id":206050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2e2928012d19dd80072005f8002c00d629..."} 
[2026-10-05 13:59:43] local.INFO: Packet analysis {"connection_id":206050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2e"} 
[2026-10-05 13:59:43] local.INFO: Extracted packet for processing {"connection_id":206050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2e"} 
[2026-10-05 13:59:43] local.INFO: GPS Element Parsed {"raw_longitude":756669824,"raw_latitude":119539192,"longitude_deg":75.6669824,"latitude_deg":11.9539192,"altitude":44,"angle":214,"satellites":41,"speed":18,"hex_longitude":"2d19dd80","hex_latitude":"072005f8","is_valid_coordinates":true} 
[2026-10-05 13:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 13:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544367616001,"note":"Value kept but may cause issues"} 
[2026-10-05 13:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25051569279991808,"note":"Value kept but may cause issues"} 
[2026-10-05 13:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864068063868450816,"note":"Value kept but may cause issues"} 
[2026-10-05 13:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 13:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791188937000,"timestamp_ms":1791188937000,"timestamp_seconds":1791188937,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2e2928"} 
[2026-10-05 13:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 13:59:43] 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-10-05 13:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-05 13:59:43] 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-10-05 13:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 13:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 13:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 13:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":206050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 13:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":206050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":206050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 13:59:43] 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-10-05 13:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 13:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 13:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544367616001,"66":14102,"101":206,"83":41984,"24":18,"16":25051569279991808,"45":1864068063868450816},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 13:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 13:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 13:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544367616001,"description":"Unknown IO ID 0"} 
[2026-10-05 13:59:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 13:59:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 13:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25051569279991808,"km_value":25051569279991.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 13:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864068063868450816,"description":"Unknown IO ID 45"} 
[2026-10-05 13:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544367616001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1864068063868450816}} 
[2026-10-05 13:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":206050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 13:59:43] local.INFO: GPS data processed {"connection_id":206050,"processed":1,"errors":0,"total":1} 
[2026-10-05 13:59:43] local.INFO: Acknowledgment sent {"connection_id":206050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 13:59:54] local.INFO: TCP Data received {"connection_id":204635,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:59:54] local.INFO: Processing buffer {"connection_id":204635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 13:59:54] local.INFO: IMEI packet received {"connection_id":204635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 13:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":204635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 13:59:59] local.INFO: TCP Data received {"connection_id":204636,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:59:59] local.INFO: Processing buffer {"connection_id":204636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 13:59:59] local.INFO: IMEI packet received {"connection_id":204636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 13:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":204636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:00:01] local.INFO: TCP Data received {"connection_id":204635,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:00:01] local.INFO: Processing buffer {"connection_id":204635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:00:01] local.INFO: IMEI packet received {"connection_id":204635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":204635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:00:02] local.INFO: TCP Data received {"connection_id":204635,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2db3f8012d807bc005c38f700009000a28..."} 
[2026-10-05 14:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2db3f8012d807bc005c38f700009000a28..."} 
[2026-10-05 14:00:02] local.INFO: Processing buffer {"connection_id":204635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2db3f8012d807bc005c38f700009000a28..."} 
[2026-10-05 14:00:02] local.INFO: Packet analysis {"connection_id":204635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 14:00:02] local.INFO: Extracted packet for processing {"connection_id":204635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 14:00:02] local.INFO: GPS Element Parsed {"raw_longitude":763395008,"raw_latitude":96702320,"longitude_deg":76.3395008,"latitude_deg":9.670232,"altitude":9,"angle":10,"satellites":40,"speed":0,"hex_longitude":"2d807bc0","hex_latitude":"05c38f70","is_valid_coordinates":true} 
[2026-10-05 14:00: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-10-05 14:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544354816001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1963478659104768,"note":"Value kept but may cause issues"} 
[2026-10-05 14:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188961696196601856,"note":"Value kept but may cause issues"} 
[2026-10-05 14:00:02] 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-10-05 14:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791188907000,"timestamp_ms":1791188907000,"timestamp_seconds":1791188907,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2db3f8"} 
[2026-10-05 14:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:00:02] 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-10-05 14:00: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-10-05 14:00: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-10-05 14:00: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-10-05 14:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544354816001,"66":27908,"157":206,"85":12288,"24":0,"16":1963478659104768,"45":-9188961696196601856},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-10-05 14:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544354816001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:00:02] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-10-05 14:00:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 14:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1963478659104768,"km_value":1963478659104.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188961696196601856,"description":"Unknown IO ID 45"} 
[2026-10-05 14:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544354816001,"power":27908,"unknown_157":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9188961696196601856}} 
[2026-10-05 14:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":204635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:00:02] local.INFO: GPS data processed {"connection_id":204635,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:00:02] local.INFO: Acknowledgment sent {"connection_id":204635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:00:04] local.INFO: TCP Data received {"connection_id":204636,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:00:04] local.INFO: Processing buffer {"connection_id":204636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:00:04] local.INFO: IMEI packet received {"connection_id":204636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":204636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:00:05] local.INFO: TCP Data received {"connection_id":204636,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 14:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 14:00:05] local.INFO: Processing buffer {"connection_id":204636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 14:00:05] local.INFO: Packet analysis {"connection_id":204636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 14:00:05] local.INFO: Extracted packet for processing {"connection_id":204636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 14:00:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544286208001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:00:05] 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-10-05 14:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791188919000,"timestamp_ms":1791188919000,"timestamp_seconds":1791188919,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2de2d8"} 
[2026-10-05 14:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14: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-10-05 14:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:00:05] 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-10-05 14:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544286208001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 14:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544286208001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:00:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 14:00:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544286208001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":204636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967743,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:00:05] local.INFO: GPS data processed {"connection_id":204636,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:00:05] local.INFO: Acknowledgment sent {"connection_id":204636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:00:10] local.INFO: TCP Data received {"connection_id":207587,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:00:10] local.INFO: Processing buffer {"connection_id":207587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:00:10] local.INFO: IMEI packet received {"connection_id":207587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":207587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:00:15] local.INFO: TCP Data received {"connection_id":207587,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:00:15] local.INFO: Processing buffer {"connection_id":207587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:00:15] local.INFO: IMEI packet received {"connection_id":207587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":207587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:00:16] local.INFO: TCP Data received {"connection_id":207587,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2e38c8012d19d840071fffe8002c00e22a..."} 
[2026-10-05 14:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2e38c8012d19d840071fffe8002c00e22a..."} 
[2026-10-05 14:00:16] local.INFO: Processing buffer {"connection_id":207587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2e38c8012d19d840071fffe8002c00e22a..."} 
[2026-10-05 14:00:16] local.INFO: Packet analysis {"connection_id":207587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2e"} 
[2026-10-05 14:00:16] local.INFO: Extracted packet for processing {"connection_id":207587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2e"} 
[2026-10-05 14:00:16] local.INFO: GPS Element Parsed {"raw_longitude":756668480,"raw_latitude":119537640,"longitude_deg":75.666848,"latitude_deg":11.953764,"altitude":44,"angle":226,"satellites":42,"speed":23,"hex_longitude":"2d19d840","hex_latitude":"071fffe8","is_valid_coordinates":true} 
[2026-10-05 14:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544367872001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25051672359206912,"note":"Value kept but may cause issues"} 
[2026-10-05 14:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863786588891641856,"note":"Value kept but may cause issues"} 
[2026-10-05 14:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791188941000,"timestamp_ms":1791188941000,"timestamp_seconds":1791188941,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2e38c8"} 
[2026-10-05 14:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-05 14:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:00:16] 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-10-05 14:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544367872001,"66":14243,"101":206,"83":41984,"24":23,"16":25051672359206912,"45":1863786588891641856},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 14:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544367872001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:00:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 14:00:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25051672359206912,"km_value":25051672359206.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863786588891641856,"description":"Unknown IO ID 45"} 
[2026-10-05 14:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544367872001,"power":14243,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1863786588891641856}} 
[2026-10-05 14:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":207587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:00:16] local.INFO: GPS data processed {"connection_id":207587,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:00:16] local.INFO: Acknowledgment sent {"connection_id":207587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:00:17] local.INFO: TCP Data received {"connection_id":207587,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2e4098012d19d440071ffd00002c00ed2a..."} 
[2026-10-05 14:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2e4098012d19d440071ffd00002c00ed2a..."} 
[2026-10-05 14:00:17] local.INFO: Processing buffer {"connection_id":207587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2e4098012d19d440071ffd00002c00ed2a..."} 
[2026-10-05 14:00:17] local.INFO: Packet analysis {"connection_id":207587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2e"} 
[2026-10-05 14:00:17] local.INFO: Extracted packet for processing {"connection_id":207587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2e"} 
[2026-10-05 14:00:17] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119536896,"longitude_deg":75.6667456,"latitude_deg":11.9536896,"altitude":44,"angle":237,"satellites":42,"speed":23,"hex_longitude":"2d19d440","hex_latitude":"071ffd00","is_valid_coordinates":true} 
[2026-10-05 14:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544368896001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25051732488749056,"note":"Value kept but may cause issues"} 
[2026-10-05 14:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862308845263513600,"note":"Value kept but may cause issues"} 
[2026-10-05 14:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791188943000,"timestamp_ms":1791188943000,"timestamp_seconds":1791188943,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2e4098"} 
[2026-10-05 14:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-10-05 14:00:17] 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-10-05 14:00:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":207587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":207587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":207587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:00:17] 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-10-05 14:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544368896001,"66":14135,"101":206,"83":41984,"24":23,"16":25051732488749056,"45":1862308845263513600},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 14:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544368896001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:00:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 14:00:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25051732488749056,"km_value":25051732488749.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862308845263513600,"description":"Unknown IO ID 45"} 
[2026-10-05 14:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544368896001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1862308845263513600}} 
[2026-10-05 14:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":207587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:00:18] local.INFO: GPS data processed {"connection_id":207587,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:00:18] local.INFO: Acknowledgment sent {"connection_id":207587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:00:34] local.INFO: TCP Data received {"connection_id":204635,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2e0600012d807bc005c38f700009000a29..."} 
[2026-10-05 14:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2e0600012d807bc005c38f700009000a29..."} 
[2026-10-05 14:00:34] local.INFO: Processing buffer {"connection_id":204635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2e0600012d807bc005c38f700009000a29..."} 
[2026-10-05 14:00:34] local.INFO: Packet analysis {"connection_id":204635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2e"} 
[2026-10-05 14:00:34] local.INFO: Extracted packet for processing {"connection_id":204635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2e"} 
[2026-10-05 14:00:34] local.INFO: GPS Element Parsed {"raw_longitude":763395008,"raw_latitude":96702320,"longitude_deg":76.3395008,"latitude_deg":9.670232,"altitude":9,"angle":10,"satellites":41,"speed":0,"hex_longitude":"2d807bc0","hex_latitude":"05c38f70","is_valid_coordinates":true} 
[2026-10-05 14:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544360192001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1963478659104768,"note":"Value kept but may cause issues"} 
[2026-10-05 14:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188539483731038208,"note":"Value kept but may cause issues"} 
[2026-10-05 14:00:34] 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-10-05 14:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791188928000,"timestamp_ms":1791188928000,"timestamp_seconds":1791188928,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2e0600"} 
[2026-10-05 14:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:00:34] 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-10-05 14:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 14:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":204635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":204635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":204635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544360192001,"66":27995,"234":206,"85":12288,"24":0,"16":1963478659104768,"45":-9188539483731038208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-10-05 14:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544360192001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:00:34] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-10-05 14:00:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 14:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1963478659104768,"km_value":1963478659104.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188539483731038208,"description":"Unknown IO ID 45"} 
[2026-10-05 14:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544360192001,"power":27995,"unknown_234":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9188539483731038208}} 
[2026-10-05 14:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":204635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:00:34] local.INFO: GPS data processed {"connection_id":204635,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:00:34] local.INFO: Acknowledgment sent {"connection_id":204635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:00:36] local.INFO: TCP Data received {"connection_id":204636,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 14:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 14:00:36] local.INFO: Processing buffer {"connection_id":204636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 14:00:36] local.INFO: Packet analysis {"connection_id":204636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 14:00:36] local.INFO: Extracted packet for processing {"connection_id":204636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 14:00:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544286208001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:00:36] 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-10-05 14:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791188919000,"timestamp_ms":1791188919000,"timestamp_seconds":1791188919,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2de2d8"} 
[2026-10-05 14:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 14:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:00:36] 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-10-05 14:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544286208001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 14:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544286208001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:00:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 14:00:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544286208001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":204636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967747,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:00:37] local.INFO: GPS data processed {"connection_id":204636,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:00:37] local.INFO: Acknowledgment sent {"connection_id":204636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:00:49] local.INFO: TCP Data received {"connection_id":207587,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2f2710012d198600071ff010003c00fe2b..."} 
[2026-10-05 14:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2f2710012d198600071ff010003c00fe2b..."} 
[2026-10-05 14:00:49] local.INFO: Processing buffer {"connection_id":207587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2f2710012d198600071ff010003c00fe2b..."} 
[2026-10-05 14:00:49] local.INFO: Packet analysis {"connection_id":207587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2f"} 
[2026-10-05 14:00:49] local.INFO: Extracted packet for processing {"connection_id":207587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2f"} 
[2026-10-05 14:00:49] local.INFO: GPS Element Parsed {"raw_longitude":756647424,"raw_latitude":119533584,"longitude_deg":75.6647424,"latitude_deg":11.9533584,"altitude":60,"angle":254,"satellites":43,"speed":12,"hex_longitude":"2d198600","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-10-05 14:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544379648001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25052771870834688,"note":"Value kept but may cause issues"} 
[2026-10-05 14:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845912927869054976,"note":"Value kept but may cause issues"} 
[2026-10-05 14:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1791189002000,"timestamp_ms":1791189002000,"timestamp_seconds":1791189002,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2f2710"} 
[2026-10-05 14:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:00: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-10-05 14:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 14:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":207587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":207587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":207587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:00:49] 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-10-05 14:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544379648001,"66":13341,"102":206,"83":41984,"24":12,"16":25052771870834688,"45":1845912927869054976},"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-10-05 14:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544379648001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:00:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 14:00:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25052771870834688,"km_value":25052771870834.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845912927869054976,"description":"Unknown IO ID 45"} 
[2026-10-05 14:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544379648001,"power":13341,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1845912927869054976}} 
[2026-10-05 14:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":207587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:00:49] local.INFO: GPS data processed {"connection_id":207587,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:00:49] local.INFO: Acknowledgment sent {"connection_id":207587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:00:55] local.INFO: TCP Data received {"connection_id":206051,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:00:55] local.INFO: Processing buffer {"connection_id":206051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:00:55] local.INFO: IMEI packet received {"connection_id":206051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":206051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:00:59] local.INFO: TCP Data received {"connection_id":204638,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:00:59] local.INFO: Processing buffer {"connection_id":204638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:00:59] local.INFO: IMEI packet received {"connection_id":204638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":204638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:01:00] local.INFO: TCP Data received {"connection_id":206051,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:01:00] local.INFO: Processing buffer {"connection_id":206051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:01:00] local.INFO: IMEI packet received {"connection_id":206051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":206051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:01:01] local.INFO: TCP Data received {"connection_id":206051,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2e5808012d807d4005c398a8000a000628..."} 
[2026-10-05 14:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2e5808012d807d4005c398a8000a000628..."} 
[2026-10-05 14:01:01] local.INFO: Processing buffer {"connection_id":206051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2e5808012d807d4005c398a8000a000628..."} 
[2026-10-05 14:01:01] local.INFO: Packet analysis {"connection_id":206051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2e"} 
[2026-10-05 14:01:01] local.INFO: Extracted packet for processing {"connection_id":206051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2e"} 
[2026-10-05 14:01:01] local.INFO: GPS Element Parsed {"raw_longitude":763395392,"raw_latitude":96704680,"longitude_deg":76.3395392,"latitude_deg":9.670468,"altitude":10,"angle":6,"satellites":40,"speed":11,"hex_longitude":"2d807d40","hex_latitude":"05c398a8","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544365568001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1963594623221760,"note":"Value kept but may cause issues"} 
[2026-10-05 14:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188539483731038208,"note":"Value kept but may cause issues"} 
[2026-10-05 14:01:01] 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-10-05 14:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791188949000,"timestamp_ms":1791188949000,"timestamp_seconds":1791188949,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2e5808"} 
[2026-10-05 14:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 14:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":206051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":206051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":206051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14: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-10-05 14:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544365568001,"66":27767,"234":206,"85":12288,"24":11,"16":1963594623221760,"45":-9188539483731038208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-10-05 14:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544365568001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:01:01] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-10-05 14:01:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 14:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1963594623221760,"km_value":1963594623221.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188539483731038208,"description":"Unknown IO ID 45"} 
[2026-10-05 14:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544365568001,"power":27767,"unknown_234":206,"unknown_85":12288,"ignition":11,"odometer":null,"unknown_45":-9188539483731038208}} 
[2026-10-05 14:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":206051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:01:01] local.INFO: GPS data processed {"connection_id":206051,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:01:01] local.INFO: Acknowledgment sent {"connection_id":206051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:01:04] local.INFO: TCP Data received {"connection_id":204638,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:01:04] local.INFO: Processing buffer {"connection_id":204638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:01:04] local.INFO: IMEI packet received {"connection_id":204638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":204638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:01:05] local.INFO: TCP Data received {"connection_id":207588,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:01:05] local.INFO: Processing buffer {"connection_id":207588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:01:05] local.INFO: IMEI packet received {"connection_id":207588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":207588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:01:05] local.INFO: TCP Data received {"connection_id":204638,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 14:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 14:01:05] local.INFO: Processing buffer {"connection_id":204638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 14:01:05] local.INFO: Packet analysis {"connection_id":204638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 14:01:05] local.INFO: Extracted packet for processing {"connection_id":204638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 14:01:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544286208001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:01:05] 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-10-05 14:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791188919000,"timestamp_ms":1791188919000,"timestamp_seconds":1791188919,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2de2d8"} 
[2026-10-05 14:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:01: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-10-05 14:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:01:05] 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-10-05 14:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544286208001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 14:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544286208001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:01:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 14:01:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544286208001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":204638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967750,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:01:05] local.INFO: GPS data processed {"connection_id":204638,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:01:05] local.INFO: Acknowledgment sent {"connection_id":204638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:01:10] local.INFO: TCP Data received {"connection_id":207588,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:01:10] local.INFO: Processing buffer {"connection_id":207588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:01:10] local.INFO: IMEI packet received {"connection_id":207588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":207588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:01:11] local.INFO: TCP Data received {"connection_id":207588,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2f2ee0012d198400071fef38003b00ef2b..."} 
[2026-10-05 14:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2f2ee0012d198400071fef38003b00ef2b..."} 
[2026-10-05 14:01:11] local.INFO: Processing buffer {"connection_id":207588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2f2ee0012d198400071fef38003b00ef2b..."} 
[2026-10-05 14:01:11] local.INFO: Packet analysis {"connection_id":207588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2f"} 
[2026-10-05 14:01:11] local.INFO: Extracted packet for processing {"connection_id":207588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2f"} 
[2026-10-05 14:01:11] local.INFO: GPS Element Parsed {"raw_longitude":756646912,"raw_latitude":119533368,"longitude_deg":75.6646912,"latitude_deg":11.9533368,"altitude":59,"angle":239,"satellites":43,"speed":11,"hex_longitude":"2d198400","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-10-05 14:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544384512001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25052797640638464,"note":"Value kept but may cause issues"} 
[2026-10-05 14:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839157528428023808,"note":"Value kept but may cause issues"} 
[2026-10-05 14:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791189004000,"timestamp_ms":1791189004000,"timestamp_seconds":1791189004,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2f2ee0"} 
[2026-10-05 14:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:01:11] 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-10-05 14:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-10-05 14:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:01:11] 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-10-05 14:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544384512001,"66":13287,"102":206,"83":41984,"24":11,"16":25052797640638464,"45":1839157528428023808},"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-10-05 14:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544384512001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:01:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 14:01:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25052797640638464,"km_value":25052797640638.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839157528428023808,"description":"Unknown IO ID 45"} 
[2026-10-05 14:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544384512001,"power":13287,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1839157528428023808}} 
[2026-10-05 14:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":207588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:01:11] local.INFO: GPS data processed {"connection_id":207588,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:01:11] local.INFO: Acknowledgment sent {"connection_id":207588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:01:32] local.INFO: TCP Data received {"connection_id":206051,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2eaa10012d807f8005c3a7d8000b000b29..."} 
[2026-10-05 14:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2eaa10012d807f8005c3a7d8000b000b29..."} 
[2026-10-05 14:01:32] local.INFO: Processing buffer {"connection_id":206051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2eaa10012d807f8005c3a7d8000b000b29..."} 
[2026-10-05 14:01:32] local.INFO: Packet analysis {"connection_id":206051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2e"} 
[2026-10-05 14:01:32] local.INFO: Extracted packet for processing {"connection_id":206051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2e"} 
[2026-10-05 14:01:32] local.INFO: GPS Element Parsed {"raw_longitude":763395968,"raw_latitude":96708568,"longitude_deg":76.3395968,"latitude_deg":9.6708568,"altitude":11,"angle":11,"satellites":41,"speed":0,"hex_longitude":"2d807f80","hex_latitude":"05c3a7d8","is_valid_coordinates":true} 
[2026-10-05 14:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544370944001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1963787896750080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188117271265368064,"note":"Value kept but may cause issues"} 
[2026-10-05 14:01:32] 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-10-05 14:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791188970000,"timestamp_ms":1791188970000,"timestamp_seconds":1791188970,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2eaa10"} 
[2026-10-05 14:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:01: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-10-05 14:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-05 14:01: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-10-05 14:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544370944001,"66":27876,"234":206,"85":12288,"24":0,"16":1963787896750080,"45":-9188117271265368064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-10-05 14:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544370944001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:01:32] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-10-05 14:01:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 14:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1963787896750080,"km_value":1963787896750.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188117271265368064,"description":"Unknown IO ID 45"} 
[2026-10-05 14:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544370944001,"power":27876,"unknown_234":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9188117271265368064}} 
[2026-10-05 14:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":206051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:01:32] local.INFO: GPS data processed {"connection_id":206051,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:01:32] local.INFO: Acknowledgment sent {"connection_id":206051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:01:36] local.INFO: TCP Data received {"connection_id":204638,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 14:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 14:01:36] local.INFO: Processing buffer {"connection_id":204638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 14:01:36] local.INFO: Packet analysis {"connection_id":204638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 14:01:36] local.INFO: Extracted packet for processing {"connection_id":204638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 14:01:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544286208001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:01:36] 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-10-05 14:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791188919000,"timestamp_ms":1791188919000,"timestamp_seconds":1791188919,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2de2d8"} 
[2026-10-05 14:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 14: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:01:36] 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-10-05 14: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-10-05 14:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544286208001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 14:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544286208001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:01:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 14:01:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544286208001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":204638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967753,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:01:36] local.INFO: GPS data processed {"connection_id":204638,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:01:36] local.INFO: Acknowledgment sent {"connection_id":204638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:01:42] local.INFO: TCP Data received {"connection_id":207588,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2f4650012d197d80071feb80003a00fc2b..."} 
[2026-10-05 14:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2f4650012d197d80071feb80003a00fc2b..."} 
[2026-10-05 14:01:42] local.INFO: Processing buffer {"connection_id":207588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2f4650012d197d80071feb80003a00fc2b..."} 
[2026-10-05 14:01:42] local.INFO: Packet analysis {"connection_id":207588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2f"} 
[2026-10-05 14:01:42] local.INFO: Extracted packet for processing {"connection_id":207588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2f"} 
[2026-10-05 14:01:42] local.INFO: GPS Element Parsed {"raw_longitude":756645248,"raw_latitude":119532416,"longitude_deg":75.6645248,"latitude_deg":11.9532416,"altitude":58,"angle":252,"satellites":43,"speed":13,"hex_longitude":"2d197d80","hex_latitude":"071feb80","is_valid_coordinates":true} 
[2026-10-05 14:01: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-10-05 14:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544385024001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25052887834951680,"note":"Value kept but may cause issues"} 
[2026-10-05 14:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838594578474547200,"note":"Value kept but may cause issues"} 
[2026-10-05 14:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791189010000,"timestamp_ms":1791189010000,"timestamp_seconds":1791189010,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2f4650"} 
[2026-10-05 14:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:01: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":231,"data_length":795,"current_offset":136} 
[2026-10-05 14:01:42] 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-10-05 14:01: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-10-05 14:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:01:42] 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-10-05 14:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544385024001,"66":13319,"102":206,"83":41984,"24":13,"16":25052887834951680,"45":1838594578474547200},"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-10-05 14:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544385024001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:01:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 14:01:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25052887834951680,"km_value":25052887834951.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838594578474547200,"description":"Unknown IO ID 45"} 
[2026-10-05 14:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544385024001,"power":13319,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1838594578474547200}} 
[2026-10-05 14:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":207588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:01:42] local.INFO: GPS data processed {"connection_id":207588,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:01:42] local.INFO: Acknowledgment sent {"connection_id":207588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:01:49] local.INFO: TCP Data received {"connection_id":206052,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206052,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:01:49] local.INFO: Processing buffer {"connection_id":206052,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:01:49] local.INFO: IMEI packet received {"connection_id":206052,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 14:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":206052,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:01:52] local.INFO: TCP Data received {"connection_id":204507,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:01:52] local.INFO: Processing buffer {"connection_id":204507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:01:52] local.INFO: IMEI packet received {"connection_id":204507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":204507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:01:54] local.INFO: TCP Data received {"connection_id":204507,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:01:54] local.INFO: Processing buffer {"connection_id":204507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:01:54] local.INFO: IMEI packet received {"connection_id":204507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":204507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:01:59] local.INFO: TCP Data received {"connection_id":206053,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:01:59] local.INFO: Processing buffer {"connection_id":206053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:01:59] local.INFO: IMEI packet received {"connection_id":206053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":206053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:02:00] local.INFO: TCP Data received {"connection_id":204507,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:02:00] local.INFO: Processing buffer {"connection_id":204507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:02:00] local.INFO: IMEI packet received {"connection_id":204507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":204507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:02:00] local.INFO: TCP Data received {"connection_id":204507,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2efc18012d807f8005c3ac40000b000b29..."} 
[2026-10-05 14:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2efc18012d807f8005c3ac40000b000b29..."} 
[2026-10-05 14:02:00] local.INFO: Processing buffer {"connection_id":204507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2efc18012d807f8005c3ac40000b000b29..."} 
[2026-10-05 14:02:00] local.INFO: Packet analysis {"connection_id":204507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2e"} 
[2026-10-05 14:02:00] local.INFO: Extracted packet for processing {"connection_id":204507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2e"} 
[2026-10-05 14:02:00] local.INFO: GPS Element Parsed {"raw_longitude":763395968,"raw_latitude":96709696,"longitude_deg":76.3395968,"latitude_deg":9.6709696,"altitude":11,"angle":11,"satellites":41,"speed":2,"hex_longitude":"2d807f80","hex_latitude":"05c3ac40","is_valid_coordinates":true} 
[2026-10-05 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-10-05 14:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544376320001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1963848026292224,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9187483952566773760,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:00] 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-10-05 14:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791188991000,"timestamp_ms":1791188991000,"timestamp_seconds":1791188991,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2efc18"} 
[2026-10-05 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-10-05 14:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-05 14:02:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 14:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:02: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-10-05 14:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544376320001,"66":27908,"234":206,"85":12288,"24":2,"16":1963848026292224,"45":-9187483952566773760},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-10-05 14:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544376320001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:02:00] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-10-05 14:02:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 14:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1963848026292224,"km_value":1963848026292.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9187483952566773760,"description":"Unknown IO ID 45"} 
[2026-10-05 14:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544376320001,"power":27908,"unknown_234":206,"unknown_85":12288,"ignition":2,"odometer":null,"unknown_45":-9187483952566773760}} 
[2026-10-05 14:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":204507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:02:00] local.INFO: GPS data processed {"connection_id":204507,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:02:00] local.INFO: Acknowledgment sent {"connection_id":204507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:02:04] local.INFO: TCP Data received {"connection_id":206053,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:02:04] local.INFO: Processing buffer {"connection_id":206053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:02:04] local.INFO: IMEI packet received {"connection_id":206053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":206053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:02:05] local.INFO: TCP Data received {"connection_id":206053,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 14:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 14:02:05] local.INFO: Processing buffer {"connection_id":206053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 14:02:05] local.INFO: Packet analysis {"connection_id":206053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 14:02:05] local.INFO: Extracted packet for processing {"connection_id":206053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 14:02:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544286208001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:05] 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-10-05 14:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791188919000,"timestamp_ms":1791188919000,"timestamp_seconds":1791188919,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2de2d8"} 
[2026-10-05 14:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:02: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-10-05 14: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:02:05] 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-10-05 14: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-10-05 14:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":206053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":206053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":206053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:02: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-10-05 14:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544286208001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 14:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544286208001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:02:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 14:02:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544286208001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":206053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967756,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:02:05] local.INFO: GPS data processed {"connection_id":206053,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:02:05] local.INFO: Acknowledgment sent {"connection_id":206053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:02:05] local.INFO: TCP Data received {"connection_id":206054,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:02:05] local.INFO: Processing buffer {"connection_id":206054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:02:05] local.INFO: IMEI packet received {"connection_id":206054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":206054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:02:10] local.INFO: TCP Data received {"connection_id":206054,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:02:10] local.INFO: Processing buffer {"connection_id":206054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:02:10] local.INFO: IMEI packet received {"connection_id":206054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":206054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:02:11] local.INFO: TCP Data received {"connection_id":206054,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2f4a38012d197c40071feb50003a01082b..."} 
[2026-10-05 14:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2f4a38012d197c40071feb50003a01082b..."} 
[2026-10-05 14:02:11] local.INFO: Processing buffer {"connection_id":206054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2f4a38012d197c40071feb50003a01082b..."} 
[2026-10-05 14:02:11] local.INFO: Packet analysis {"connection_id":206054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2f"} 
[2026-10-05 14:02:11] local.INFO: Extracted packet for processing {"connection_id":206054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2f"} 
[2026-10-05 14:02:11] local.INFO: GPS Element Parsed {"raw_longitude":756644928,"raw_latitude":119532368,"longitude_deg":75.6644928,"latitude_deg":11.9532368,"altitude":58,"angle":264,"satellites":43,"speed":14,"hex_longitude":"2d197c40","hex_latitude":"071feb50","is_valid_coordinates":true} 
[2026-10-05 14:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544386560001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25052905014820864,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836764991125684224,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791189011000,"timestamp_ms":1791189011000,"timestamp_seconds":1791189011,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2f4a38"} 
[2026-10-05 14:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:02:11] 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-10-05 14:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 14:02:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:11] local.WARNING: Large IO value detected {"io_id":46,"raw_value":7750696251922104327,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-1094374516160189696,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":939601177,"corrected_to":0} 
[2026-10-05 14:02:11] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2298531192,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:11] local.WARNING: Large IO value detected {"io_id":252,"raw_value":57834745426236324,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:11] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,1,161,46,45,239,59,43,10,66,39,240,60,220,169,227,11,31,4,113,205,162,160,54,101,2,89,7,48,25,252],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":939601177,"validated":0}]} 
[2026-10-05 14:02:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179617715814465536,"timestamp_seconds":4179617715814465.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 14:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:02:11] 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-10-05 14:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544386560001,"66":13319,"102":206,"83":41984,"24":14,"16":25052905014820864,"45":1836764991125684224},"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-10-05 14:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544386560001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:02:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 14:02:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25052905014820864,"km_value":25052905014820.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836764991125684224,"description":"Unknown IO ID 45"} 
[2026-10-05 14:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544386560001,"power":13319,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1836764991125684224}} 
[2026-10-05 14:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":206054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:02:11] local.INFO: GPS data processed {"connection_id":206054,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:02:11] local.INFO: Acknowledgment sent {"connection_id":206054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:02:31] local.INFO: TCP Data received {"connection_id":204507,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2f4e20012d80818005c3b698000b000e28..."} 
[2026-10-05 14:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2f4e20012d80818005c3b698000b000e28..."} 
[2026-10-05 14:02:31] local.INFO: Processing buffer {"connection_id":204507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2f4e20012d80818005c3b698000b000e28..."} 
[2026-10-05 14:02:31] local.INFO: Packet analysis {"connection_id":204507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2f"} 
[2026-10-05 14:02:31] local.INFO: Extracted packet for processing {"connection_id":204507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2f"} 
[2026-10-05 14:02:31] local.INFO: GPS Element Parsed {"raw_longitude":763396480,"raw_latitude":96712344,"longitude_deg":76.339648,"latitude_deg":9.6712344,"altitude":11,"angle":14,"satellites":40,"speed":7,"hex_longitude":"2d808180","hex_latitude":"05c3b698","is_valid_coordinates":true} 
[2026-10-05 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-10-05 14:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544381696001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1963981170278400,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9187483952566484992,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:31] 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-10-05 14:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791189012000,"timestamp_ms":1791189012000,"timestamp_seconds":1791189012,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2f4e20"} 
[2026-10-05 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-10-05 14:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 14:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 14:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544381696001,"66":27919,"234":206,"85":12288,"24":7,"16":1963981170278400,"45":-9187483952566484992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-10-05 14:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544381696001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:02:31] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-10-05 14:02:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 14:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1963981170278400,"km_value":1963981170278.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9187483952566484992,"description":"Unknown IO ID 45"} 
[2026-10-05 14:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544381696001,"power":27919,"unknown_234":206,"unknown_85":12288,"ignition":7,"odometer":null,"unknown_45":-9187483952566484992}} 
[2026-10-05 14:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":204507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:02:31] local.INFO: GPS data processed {"connection_id":204507,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:02:31] local.INFO: Acknowledgment sent {"connection_id":204507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:02:34] local.INFO: TCP Data received {"connection_id":204639,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:02:34] local.INFO: Processing buffer {"connection_id":204639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:02:34] local.INFO: IMEI packet received {"connection_id":204639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 14:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":204639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:02:36] local.INFO: TCP Data received {"connection_id":206053,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 14:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 14:02:36] local.INFO: Processing buffer {"connection_id":206053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 14:02:36] local.INFO: Packet analysis {"connection_id":206053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 14:02:36] local.INFO: Extracted packet for processing {"connection_id":206053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 14:02:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544286208001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:36] 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-10-05 14:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791188919000,"timestamp_ms":1791188919000,"timestamp_seconds":1791188919,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2de2d8"} 
[2026-10-05 14:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 14:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:02:36] 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-10-05 14:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:02:36] 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-10-05 14:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544286208001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 14:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544286208001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:02:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 14:02:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544286208001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":206053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:02:36] local.INFO: GPS data processed {"connection_id":206053,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:02:36] local.INFO: Acknowledgment sent {"connection_id":206053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:02:42] local.INFO: TCP Data received {"connection_id":206054,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2f5dc0012d197400071feb98003b01142b..."} 
[2026-10-05 14:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2f5dc0012d197400071feb98003b01142b..."} 
[2026-10-05 14:02:42] local.INFO: Processing buffer {"connection_id":206054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2f5dc0012d197400071feb98003b01142b..."} 
[2026-10-05 14:02:42] local.INFO: Packet analysis {"connection_id":206054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2f"} 
[2026-10-05 14:02:42] local.INFO: Extracted packet for processing {"connection_id":206054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2f"} 
[2026-10-05 14:02:42] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119532440,"longitude_deg":75.6642816,"latitude_deg":11.953244,"altitude":59,"angle":276,"satellites":43,"speed":16,"hex_longitude":"2d197400","hex_latitude":"071feb98","is_valid_coordinates":true} 
[2026-10-05 14:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544386816001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053003799068672,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836413147404783616,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791189016000,"timestamp_ms":1791189016000,"timestamp_seconds":1791189016,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2f5dc0"} 
[2026-10-05 14:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 14:02:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:42] local.WARNING: Large IO value detected {"io_id":46,"raw_value":-8444248008103526393,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-1195705494890338048,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 14:02:42] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743864,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:42] local.WARNING: Large IO value detected {"io_id":137,"raw_value":57834745426236324,"note":"Value kept but may cause issues"} 
[2026-10-05 14:02:42] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,1,161,70,45,128,235,58,43,10,66,46,239,59,39,240,29,227,11,31,4,113,205,209,72,40,53,101,2,89,7,55,137],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 14:02:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179630909954064384,"timestamp_seconds":4179630909954064.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 14:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:02:42] 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-10-05 14:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544386816001,"66":13276,"102":206,"83":41984,"24":16,"16":25053003799068672,"45":1836413147404783616},"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-10-05 14:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544386816001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:02:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 14:02:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053003799068672,"km_value":25053003799068.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836413147404783616,"description":"Unknown IO ID 45"} 
[2026-10-05 14:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544386816001,"power":13276,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1836413147404783616}} 
[2026-10-05 14:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":206054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:02:42] local.INFO: GPS data processed {"connection_id":206054,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:02:42] local.INFO: Acknowledgment sent {"connection_id":206054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:02:59] local.INFO: TCP Data received {"connection_id":207590,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207590,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:02:59] local.INFO: Processing buffer {"connection_id":207590,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:02:59] local.INFO: IMEI packet received {"connection_id":207590,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":207590,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:03:00] local.INFO: TCP Data received {"connection_id":207589,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:03:00] local.INFO: Processing buffer {"connection_id":207589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:03:00] local.INFO: IMEI packet received {"connection_id":207589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":207589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:03:03] local.INFO: TCP Data received {"connection_id":207589,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:03:03] local.INFO: Processing buffer {"connection_id":207589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:03:03] local.INFO: IMEI packet received {"connection_id":207589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":207589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:03:04] local.INFO: TCP Data received {"connection_id":207589,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2fa028012d80834005c3c3b8000a000a26..."} 
[2026-10-05 14:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2fa028012d80834005c3c3b8000a000a26..."} 
[2026-10-05 14:03:04] local.INFO: Processing buffer {"connection_id":207589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2fa028012d80834005c3c3b8000a000a26..."} 
[2026-10-05 14:03:04] local.INFO: Packet analysis {"connection_id":207589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2f"} 
[2026-10-05 14:03:04] local.INFO: Extracted packet for processing {"connection_id":207589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2f"} 
[2026-10-05 14:03:04] local.INFO: GPS Element Parsed {"raw_longitude":763396928,"raw_latitude":96715704,"longitude_deg":76.3396928,"latitude_deg":9.6715704,"altitude":10,"angle":10,"satellites":38,"speed":0,"hex_longitude":"2d808340","hex_latitude":"05c3c3b8","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544387072001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1964148674002944,"note":"Value kept but may cause issues"} 
[2026-10-05 14:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9186921002612385792,"note":"Value kept but may cause issues"} 
[2026-10-05 14:03: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-10-05 14:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791189033000,"timestamp_ms":1791189033000,"timestamp_seconds":1791189033,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2fa028"} 
[2026-10-05 14:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:03: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-10-05 14:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 14:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":207589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":207589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":207589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:03: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-10-05 14:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544387072001,"66":28104,"156":206,"85":12288,"24":0,"16":1964148674002944,"45":-9186921002612385792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-10-05 14:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544387072001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:03:04] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-10-05 14:03:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 14:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1964148674002944,"km_value":1964148674002.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9186921002612385792,"description":"Unknown IO ID 45"} 
[2026-10-05 14:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544387072001,"power":28104,"unknown_156":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9186921002612385792}} 
[2026-10-05 14:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":207589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:03:04] local.INFO: GPS data processed {"connection_id":207589,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:03:04] local.INFO: Acknowledgment sent {"connection_id":207589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:03:04] local.INFO: TCP Data received {"connection_id":207590,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207590,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:03:04] local.INFO: Processing buffer {"connection_id":207590,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:03:04] local.INFO: IMEI packet received {"connection_id":207590,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":207590,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:03:06] local.INFO: TCP Data received {"connection_id":204640,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:03:06] local.INFO: Processing buffer {"connection_id":204640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:03:06] local.INFO: IMEI packet received {"connection_id":204640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":204640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:03:06] local.INFO: TCP Data received {"connection_id":207590,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 14:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 14:03:06] local.INFO: Processing buffer {"connection_id":207590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 14:03:06] local.INFO: Packet analysis {"connection_id":207590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 14:03:06] local.INFO: Extracted packet for processing {"connection_id":207590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 14:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544286208001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:03:06] 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-10-05 14:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791188919000,"timestamp_ms":1791188919000,"timestamp_seconds":1791188919,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2de2d8"} 
[2026-10-05 14:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:03: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-10-05 14: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:03:06] 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-10-05 14: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-10-05 14:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:03: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-10-05 14:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544286208001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 14:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544286208001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:03:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 14:03:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544286208001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":207590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:03:06] local.INFO: GPS data processed {"connection_id":207590,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:03:06] local.INFO: Acknowledgment sent {"connection_id":207590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:03:10] local.INFO: TCP Data received {"connection_id":204640,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:03:10] local.INFO: Processing buffer {"connection_id":204640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:03:10] local.INFO: IMEI packet received {"connection_id":204640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":204640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:03:11] local.INFO: TCP Data received {"connection_id":204640,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2fafc8012d195fc0071fee10003d011826..."} 
[2026-10-05 14:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2fafc8012d195fc0071fee10003d011826..."} 
[2026-10-05 14:03:11] local.INFO: Processing buffer {"connection_id":204640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2fafc8012d195fc0071fee10003d011826..."} 
[2026-10-05 14:03:11] local.INFO: Packet analysis {"connection_id":204640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2f"} 
[2026-10-05 14:03:11] local.INFO: Extracted packet for processing {"connection_id":204640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2f"} 
[2026-10-05 14:03:11] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119533072,"longitude_deg":75.6637632,"latitude_deg":11.9533072,"altitude":61,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-10-05 14:03: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-10-05 14:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544388096001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053252907171840,"note":"Value kept but may cause issues"} 
[2026-10-05 14:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834090978846939136,"note":"Value kept but may cause issues"} 
[2026-10-05 14:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791189037000,"timestamp_ms":1791189037000,"timestamp_seconds":1791189037,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2fafc8"} 
[2026-10-05 14:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:03:11] 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-10-05 14:03: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":220,"data_length":795,"current_offset":136} 
[2026-10-05 14:03:11] 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-10-05 14:03: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-10-05 14:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:03:11] 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-10-05 14:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544388096001,"66":13102,"102":206,"83":41984,"24":0,"16":25053252907171840,"45":1834090978846939136},"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-10-05 14:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544388096001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:03:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 14:03:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053252907171840,"km_value":25053252907171.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834090978846939136,"description":"Unknown IO ID 45"} 
[2026-10-05 14:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544388096001,"power":13102,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834090978846939136}} 
[2026-10-05 14:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":204640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:03:11] local.INFO: GPS data processed {"connection_id":204640,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:03:11] local.INFO: Acknowledgment sent {"connection_id":204640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:03:37] local.INFO: TCP Data received {"connection_id":207590,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 14:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 14:03:37] local.INFO: Processing buffer {"connection_id":207590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2de2d8012d7b524005e13b08000c00a922..."} 
[2026-10-05 14:03:37] local.INFO: Packet analysis {"connection_id":207590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 14:03:37] local.INFO: Extracted packet for processing {"connection_id":207590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2d"} 
[2026-10-05 14:03:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":12,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544286208001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:03:37] 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-10-05 14:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791188919000,"timestamp_ms":1791188919000,"timestamp_seconds":1791188919,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2de2d8"} 
[2026-10-05 14:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 14:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:03:37] 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-10-05 14:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:03: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-10-05 14:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544286208001,"66":12667,"218":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-10-05 14:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544286208001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:03:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-05 14:03:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544286208001,"power":12667,"unknown_218":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":207590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:03:37] local.INFO: GPS data processed {"connection_id":207590,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:03:37] local.INFO: Acknowledgment sent {"connection_id":207590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:03:42] local.INFO: TCP Data received {"connection_id":204640,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3001d0012d195fc0071fee10003d011827..."} 
[2026-10-05 14:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3001d0012d195fc0071fee10003d011827..."} 
[2026-10-05 14:03:42] local.INFO: Processing buffer {"connection_id":204640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3001d0012d195fc0071fee10003d011827..."} 
[2026-10-05 14:03:42] local.INFO: Packet analysis {"connection_id":204640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b30"} 
[2026-10-05 14:03:42] local.INFO: Extracted packet for processing {"connection_id":204640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b30"} 
[2026-10-05 14:03:42] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119533072,"longitude_deg":75.6637632,"latitude_deg":11.9533072,"altitude":61,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-10-05 14:03: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-10-05 14:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544393472001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053252907171840,"note":"Value kept but may cause issues"} 
[2026-10-05 14:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110568710144,"note":"Value kept but may cause issues"} 
[2026-10-05 14:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791189058000,"timestamp_ms":1791189058000,"timestamp_seconds":1791189058,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3001d0"} 
[2026-10-05 14:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:03:42] 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-10-05 14:03: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":46,"data_length":795,"current_offset":136} 
[2026-10-05 14:03:42] 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-10-05 14:03: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-10-05 14:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:03:42] 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-10-05 14:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544393472001,"66":13080,"102":206,"83":41984,"24":0,"16":25053252907171840,"45":1828391110568710144},"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-10-05 14:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544393472001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:03:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 14:03:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053252907171840,"km_value":25053252907171.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110568710144,"description":"Unknown IO ID 45"} 
[2026-10-05 14:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544393472001,"power":13080,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110568710144}} 
[2026-10-05 14:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":204640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:03:42] local.INFO: GPS data processed {"connection_id":204640,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:03:42] local.INFO: Acknowledgment sent {"connection_id":204640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:03:43] local.INFO: TCP Data received {"connection_id":207589,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b2ff230012d80840005c3c9a0000c000a28..."} 
[2026-10-05 14:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b2ff230012d80840005c3c9a0000c000a28..."} 
[2026-10-05 14:03:43] local.INFO: Processing buffer {"connection_id":207589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b2ff230012d80840005c3c9a0000c000a28..."} 
[2026-10-05 14:03:43] local.INFO: Packet analysis {"connection_id":207589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b2f"} 
[2026-10-05 14:03:43] local.INFO: Extracted packet for processing {"connection_id":207589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b2f"} 
[2026-10-05 14:03:43] local.INFO: GPS Element Parsed {"raw_longitude":763397120,"raw_latitude":96717216,"longitude_deg":76.339712,"latitude_deg":9.6717216,"altitude":12,"angle":10,"satellites":40,"speed":3,"hex_longitude":"2d808400","hex_latitude":"05c3c9a0","is_valid_coordinates":true} 
[2026-10-05 14:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544392448001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1964225983414272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9186428421402281984,"note":"Value kept but may cause issues"} 
[2026-10-05 14:03:43] 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-10-05 14:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791189054000,"timestamp_ms":1791189054000,"timestamp_seconds":1791189054,"priority":1,"record_length":96,"hex_timestamp":"000001a10b2ff230"} 
[2026-10-05 14:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:03:43] 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-10-05 14:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-05 14:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544392448001,"66":27843,"156":206,"85":12288,"24":3,"16":1964225983414272,"45":-9186428421402281984},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-10-05 14:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544392448001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:03:43] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-10-05 14:03:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 14:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1964225983414272,"km_value":1964225983414.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9186428421402281984,"description":"Unknown IO ID 45"} 
[2026-10-05 14:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544392448001,"power":27843,"unknown_156":206,"unknown_85":12288,"ignition":3,"odometer":null,"unknown_45":-9186428421402281984}} 
[2026-10-05 14:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":207589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:03:43] local.INFO: GPS data processed {"connection_id":207589,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:03:43] local.INFO: Acknowledgment sent {"connection_id":207589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:03:55] local.INFO: TCP Data received {"connection_id":204508,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:03:55] local.INFO: Processing buffer {"connection_id":204508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:03:55] local.INFO: IMEI packet received {"connection_id":204508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":204508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:04:00] local.INFO: TCP Data received {"connection_id":204508,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:04:00] local.INFO: Processing buffer {"connection_id":204508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:04:00] local.INFO: IMEI packet received {"connection_id":204508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":204508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:04:01] local.INFO: TCP Data received {"connection_id":204508,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b304438012d80858005c3d4f0000d000828..."} 
[2026-10-05 14:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b304438012d80858005c3d4f0000d000828..."} 
[2026-10-05 14:04:01] local.INFO: Processing buffer {"connection_id":204508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b304438012d80858005c3d4f0000d000828..."} 
[2026-10-05 14:04:01] local.INFO: Packet analysis {"connection_id":204508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b30"} 
[2026-10-05 14:04:01] local.INFO: Extracted packet for processing {"connection_id":204508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b30"} 
[2026-10-05 14:04:01] local.INFO: GPS Element Parsed {"raw_longitude":763397504,"raw_latitude":96720112,"longitude_deg":76.3397504,"latitude_deg":9.6720112,"altitude":13,"angle":8,"satellites":40,"speed":6,"hex_longitude":"2d808580","hex_latitude":"05c3d4f0","is_valid_coordinates":true} 
[2026-10-05 14:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544397824001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1964367717335040,"note":"Value kept but may cause issues"} 
[2026-10-05 14:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9186217315169361920,"note":"Value kept but may cause issues"} 
[2026-10-05 14:04:01] 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-10-05 14:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791189075000,"timestamp_ms":1791189075000,"timestamp_seconds":1791189075,"priority":1,"record_length":96,"hex_timestamp":"000001a10b304438"} 
[2026-10-05 14:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:04: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-10-05 14:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-10-05 14:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:04: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-10-05 14:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544397824001,"66":27767,"156":206,"85":12288,"24":6,"16":1964367717335040,"45":-9186217315169361920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-10-05 14:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544397824001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:04:01] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-10-05 14:04:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 14:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1964367717335040,"km_value":1964367717335.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9186217315169361920,"description":"Unknown IO ID 45"} 
[2026-10-05 14:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544397824001,"power":27767,"unknown_156":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":-9186217315169361920}} 
[2026-10-05 14:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":204508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:04:01] local.INFO: GPS data processed {"connection_id":204508,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:04:01] local.INFO: Acknowledgment sent {"connection_id":204508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:04:04] local.INFO: TCP Data received {"connection_id":207592,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:04:04] local.INFO: Processing buffer {"connection_id":207592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:04:04] local.INFO: IMEI packet received {"connection_id":207592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":207592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:04:05] local.INFO: TCP Data received {"connection_id":206055,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:04:05] local.INFO: Processing buffer {"connection_id":206055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:04:05] local.INFO: IMEI packet received {"connection_id":206055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":206055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:04:09] local.INFO: TCP Data received {"connection_id":207592,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:04:09] local.INFO: Processing buffer {"connection_id":207592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:04:09] local.INFO: IMEI packet received {"connection_id":207592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":207592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:04:10] local.INFO: TCP Data received {"connection_id":206055,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:04:10] local.INFO: Processing buffer {"connection_id":206055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:04:10] local.INFO: IMEI packet received {"connection_id":206055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":206055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:04:10] local.INFO: TCP Data received {"connection_id":207592,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:04:10] local.INFO: Processing buffer {"connection_id":207592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:04:10] local.INFO: Packet analysis {"connection_id":207592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b32"} 
[2026-10-05 14:04:10] local.INFO: Extracted packet for processing {"connection_id":207592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b32"} 
[2026-10-05 14:04:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":1,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544363264001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:04:10] 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-10-05 14:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791189220000,"timestamp_ms":1791189220000,"timestamp_seconds":1791189220,"priority":1,"record_length":96,"hex_timestamp":"000001a10b327aa0"} 
[2026-10-05 14:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:04: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-10-05 14:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:04:10] 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-10-05 14:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:04:10] 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-10-05 14:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544363264001,"66":12667,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544363264001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:04:10] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544363264001,"power":12667,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":207592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:04:10] local.INFO: GPS data processed {"connection_id":207592,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:04:10] local.INFO: Acknowledgment sent {"connection_id":207592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:04:11] local.INFO: TCP Data received {"connection_id":206055,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3053d8012d195fc0071fee10003d011828..."} 
[2026-10-05 14:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3053d8012d195fc0071fee10003d011828..."} 
[2026-10-05 14:04:11] local.INFO: Processing buffer {"connection_id":206055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3053d8012d195fc0071fee10003d011828..."} 
[2026-10-05 14:04:11] local.INFO: Packet analysis {"connection_id":206055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b30"} 
[2026-10-05 14:04:11] local.INFO: Extracted packet for processing {"connection_id":206055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b30"} 
[2026-10-05 14:04:11] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119533072,"longitude_deg":75.6637632,"latitude_deg":11.9533072,"altitude":61,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-10-05 14:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544398848001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053252907171840,"note":"Value kept but may cause issues"} 
[2026-10-05 14:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110568710144,"note":"Value kept but may cause issues"} 
[2026-10-05 14:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791189079000,"timestamp_ms":1791189079000,"timestamp_seconds":1791189079,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3053d8"} 
[2026-10-05 14:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:04:11] 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-10-05 14:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-10-05 14:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:04:11] 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-10-05 14:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544398848001,"66":13015,"102":206,"83":41984,"24":0,"16":25053252907171840,"45":1828391110568710144},"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-10-05 14:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544398848001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:04:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 14:04:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053252907171840,"km_value":25053252907171.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110568710144,"description":"Unknown IO ID 45"} 
[2026-10-05 14:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544398848001,"power":13015,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110568710144}} 
[2026-10-05 14:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":206055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:04:11] local.INFO: GPS data processed {"connection_id":206055,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:04:11] local.INFO: Acknowledgment sent {"connection_id":206055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:04:15] local.INFO: TCP Data received {"connection_id":207592,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:04:15] local.INFO: Processing buffer {"connection_id":207592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:04:15] local.INFO: Packet analysis {"connection_id":207592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b32"} 
[2026-10-05 14:04:15] local.INFO: Extracted packet for processing {"connection_id":207592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b32"} 
[2026-10-05 14:04:15] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":1,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544363264001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:04:15] 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-10-05 14:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791189220000,"timestamp_ms":1791189220000,"timestamp_seconds":1791189220,"priority":1,"record_length":96,"hex_timestamp":"000001a10b327aa0"} 
[2026-10-05 14:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:04: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-10-05 14:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:04:15] 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-10-05 14:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:04: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-10-05 14:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544363264001,"66":12667,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544363264001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:04:15] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:04:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544363264001,"power":12667,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":207592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:04:15] local.INFO: GPS data processed {"connection_id":207592,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:04:15] local.INFO: Acknowledgment sent {"connection_id":207592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:04:32] local.INFO: TCP Data received {"connection_id":204508,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b309640012d80888005c3e3e0000a000a26..."} 
[2026-10-05 14:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b309640012d80888005c3e3e0000a000a26..."} 
[2026-10-05 14:04:32] local.INFO: Processing buffer {"connection_id":204508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b309640012d80888005c3e3e0000a000a26..."} 
[2026-10-05 14:04:32] local.INFO: Packet analysis {"connection_id":204508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b30"} 
[2026-10-05 14:04:32] local.INFO: Extracted packet for processing {"connection_id":204508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b30"} 
[2026-10-05 14:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763398272,"raw_latitude":96723936,"longitude_deg":76.3398272,"latitude_deg":9.6723936,"altitude":10,"angle":10,"satellites":38,"speed":6,"hex_longitude":"2d808880","hex_latitude":"05c3e3e0","is_valid_coordinates":true} 
[2026-10-05 14:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544403200001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1964560990863360,"note":"Value kept but may cause issues"} 
[2026-10-05 14:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185795102703554560,"note":"Value kept but may cause issues"} 
[2026-10-05 14:04:32] 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-10-05 14:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791189096000,"timestamp_ms":1791189096000,"timestamp_seconds":1791189096,"priority":1,"record_length":96,"hex_timestamp":"000001a10b309640"} 
[2026-10-05 14:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-05 14:04: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-10-05 14:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544403200001,"66":27865,"156":206,"85":12288,"24":6,"16":1964560990863360,"45":-9185795102703554560},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-10-05 14:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544403200001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:04:32] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-10-05 14:04:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 14:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1964560990863360,"km_value":1964560990863.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185795102703554560,"description":"Unknown IO ID 45"} 
[2026-10-05 14:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544403200001,"power":27865,"unknown_156":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":-9185795102703554560}} 
[2026-10-05 14:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":204508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:04:32] local.INFO: GPS data processed {"connection_id":204508,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:04:32] local.INFO: Acknowledgment sent {"connection_id":204508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:04:42] local.INFO: TCP Data received {"connection_id":206055,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b30a5e0012d195fc0071fee10003d011829..."} 
[2026-10-05 14:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b30a5e0012d195fc0071fee10003d011829..."} 
[2026-10-05 14:04:42] local.INFO: Processing buffer {"connection_id":206055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b30a5e0012d195fc0071fee10003d011829..."} 
[2026-10-05 14:04:42] local.INFO: Packet analysis {"connection_id":206055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b30"} 
[2026-10-05 14:04:42] local.INFO: Extracted packet for processing {"connection_id":206055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b30"} 
[2026-10-05 14:04:42] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119533072,"longitude_deg":75.6637632,"latitude_deg":11.9533072,"altitude":61,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-10-05 14:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544404224001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053252907171840,"note":"Value kept but may cause issues"} 
[2026-10-05 14:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110568710144,"note":"Value kept but may cause issues"} 
[2026-10-05 14:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791189100000,"timestamp_ms":1791189100000,"timestamp_seconds":1791189100,"priority":1,"record_length":96,"hex_timestamp":"000001a10b30a5e0"} 
[2026-10-05 14:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-10-05 14:04:42] 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-10-05 14:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:04:42] 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-10-05 14:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544404224001,"66":12972,"102":206,"83":41984,"24":0,"16":25053252907171840,"45":1828391110568710144},"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-10-05 14:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544404224001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:04:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 14:04:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053252907171840,"km_value":25053252907171.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110568710144,"description":"Unknown IO ID 45"} 
[2026-10-05 14:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544404224001,"power":12972,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110568710144}} 
[2026-10-05 14:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":206055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:04:42] local.INFO: GPS data processed {"connection_id":206055,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:04:42] local.INFO: Acknowledgment sent {"connection_id":206055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:04:54] local.INFO: TCP Data received {"connection_id":206056,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:04:54] local.INFO: Processing buffer {"connection_id":206056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:04:54] local.INFO: IMEI packet received {"connection_id":206056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":206056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:04:58] local.INFO: TCP Data received {"connection_id":206056,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:04:58] local.INFO: Processing buffer {"connection_id":206056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:04:58] local.INFO: IMEI packet received {"connection_id":206056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":206056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:04:59] local.INFO: TCP Data received {"connection_id":206056,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b32c4d8012d80098005c4f2c00007014628..."} 
[2026-10-05 14:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b32c4d8012d80098005c4f2c00007014628..."} 
[2026-10-05 14:04:59] local.INFO: Processing buffer {"connection_id":206056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b32c4d8012d80098005c4f2c00007014628..."} 
[2026-10-05 14:04:59] local.INFO: Packet analysis {"connection_id":206056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b32"} 
[2026-10-05 14:04:59] local.INFO: Extracted packet for processing {"connection_id":206056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b32"} 
[2026-10-05 14:04:59] local.INFO: GPS Element Parsed {"raw_longitude":763365760,"raw_latitude":96793280,"longitude_deg":76.336576,"latitude_deg":9.679328,"altitude":7,"angle":326,"satellites":40,"speed":10,"hex_longitude":"2d800980","hex_latitude":"05c4f2c0","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544444160001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1968404986593280,"note":"Value kept but may cause issues"} 
[2026-10-05 14:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9220135049843767296,"note":"Value kept but may cause issues"} 
[2026-10-05 14:04: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-10-05 14:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791189239000,"timestamp_ms":1791189239000,"timestamp_seconds":1791189239,"priority":1,"record_length":96,"hex_timestamp":"000001a10b32c4d8"} 
[2026-10-05 14:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:04: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-10-05 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 14:04: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-10-05 14: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-10-05 14:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":206056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":206056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":206056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:04: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-10-05 14:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544444160001,"66":27876,"98":206,"85":12288,"24":10,"16":1968404986593280,"45":-9220135049843767296},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-10-05 14:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544444160001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:04:59] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-10-05 14:04:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 14:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1968404986593280,"km_value":1968404986593.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9220135049843767296,"description":"Unknown IO ID 45"} 
[2026-10-05 14:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544444160001,"power":27876,"unknown_98":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":-9220135049843767296}} 
[2026-10-05 14:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":206056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:04:59] local.INFO: GPS data processed {"connection_id":206056,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:04:59] local.INFO: Acknowledgment sent {"connection_id":206056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:04:59] local.INFO: TCP Data received {"connection_id":204509,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204509,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:04:59] local.INFO: Processing buffer {"connection_id":204509,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:04:59] local.INFO: IMEI packet received {"connection_id":204509,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":204509,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:05:04] local.INFO: TCP Data received {"connection_id":204509,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204509,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:05:04] local.INFO: Processing buffer {"connection_id":204509,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:05:04] local.INFO: IMEI packet received {"connection_id":204509,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":204509,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:05:05] local.INFO: TCP Data received {"connection_id":206057,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:05:05] local.INFO: Processing buffer {"connection_id":206057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:05:05] local.INFO: IMEI packet received {"connection_id":206057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":206057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:05:05] local.INFO: TCP Data received {"connection_id":204509,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:05:05] local.INFO: Processing buffer {"connection_id":204509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:05:05] local.INFO: Packet analysis {"connection_id":204509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b32"} 
[2026-10-05 14:05:05] local.INFO: Extracted packet for processing {"connection_id":204509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b32"} 
[2026-10-05 14:05:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":1,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544363264001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:05: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-10-05 14:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791189220000,"timestamp_ms":1791189220000,"timestamp_seconds":1791189220,"priority":1,"record_length":96,"hex_timestamp":"000001a10b327aa0"} 
[2026-10-05 14:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:05: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-10-05 14:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:05:05] 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-10-05 14:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:05: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-10-05 14:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544363264001,"66":12667,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544363264001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:05:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:05:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544363264001,"power":12667,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":204509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967774,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:05:05] local.INFO: GPS data processed {"connection_id":204509,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:05:05] local.INFO: Acknowledgment sent {"connection_id":204509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:05:06] local.INFO: TCP Data received {"connection_id":206057,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:05:06] local.INFO: Processing buffer {"connection_id":206057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:05:06] local.INFO: IMEI packet received {"connection_id":206057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":206057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:05:10] local.INFO: TCP Data received {"connection_id":206057,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:05:10] local.INFO: Processing buffer {"connection_id":206057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:05:10] local.INFO: IMEI packet received {"connection_id":206057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":206057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:05:11] local.INFO: TCP Data received {"connection_id":206057,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b30f7e8012d195fc0071fee10003d011829..."} 
[2026-10-05 14:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b30f7e8012d195fc0071fee10003d011829..."} 
[2026-10-05 14:05:11] local.INFO: Processing buffer {"connection_id":206057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b30f7e8012d195fc0071fee10003d011829..."} 
[2026-10-05 14:05:11] local.INFO: Packet analysis {"connection_id":206057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b30"} 
[2026-10-05 14:05:11] local.INFO: Extracted packet for processing {"connection_id":206057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b30"} 
[2026-10-05 14:05:11] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119533072,"longitude_deg":75.6637632,"latitude_deg":11.9533072,"altitude":61,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544409600001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053252907171840,"note":"Value kept but may cause issues"} 
[2026-10-05 14:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110568710144,"note":"Value kept but may cause issues"} 
[2026-10-05 14:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791189121000,"timestamp_ms":1791189121000,"timestamp_seconds":1791189121,"priority":1,"record_length":96,"hex_timestamp":"000001a10b30f7e8"} 
[2026-10-05 14:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:05:11] 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-10-05 14:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 14:05:11] 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-10-05 14: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-10-05 14:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:05:11] 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-10-05 14:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544409600001,"66":12906,"102":206,"83":41984,"24":0,"16":25053252907171840,"45":1828391110568710144},"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-10-05 14:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544409600001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:05:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 14:05:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053252907171840,"km_value":25053252907171.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110568710144,"description":"Unknown IO ID 45"} 
[2026-10-05 14:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544409600001,"power":12906,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110568710144}} 
[2026-10-05 14:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":206057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:05:11] local.INFO: GPS data processed {"connection_id":206057,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:05:11] local.INFO: Acknowledgment sent {"connection_id":206057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:05:33] local.INFO: TCP Data received {"connection_id":206056,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3316e0012d7ff3c005c50fa00007014326..."} 
[2026-10-05 14:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3316e0012d7ff3c005c50fa00007014326..."} 
[2026-10-05 14:05:33] local.INFO: Processing buffer {"connection_id":206056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3316e0012d7ff3c005c50fa00007014326..."} 
[2026-10-05 14:05:33] local.INFO: Packet analysis {"connection_id":206056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b33"} 
[2026-10-05 14:05:33] local.INFO: Extracted packet for processing {"connection_id":206056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b33"} 
[2026-10-05 14:05:33] local.INFO: GPS Element Parsed {"raw_longitude":763360192,"raw_latitude":96800672,"longitude_deg":76.3360192,"latitude_deg":9.6800672,"altitude":7,"angle":323,"satellites":38,"speed":29,"hex_longitude":"2d7ff3c0","hex_latitude":"05c50fa0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 14:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544445184001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1968851663192064,"note":"Value kept but may cause issues"} 
[2026-10-05 14:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9220697999796944896,"note":"Value kept but may cause issues"} 
[2026-10-05 14:05:33] 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-10-05 14:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791189260000,"timestamp_ms":1791189260000,"timestamp_seconds":1791189260,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3316e0"} 
[2026-10-05 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-10-05 14:05:33] 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-10-05 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-05 14:05:33] 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-10-05 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-10-05 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-10-05 14:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":206056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":206056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":206056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:05: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-10-05 14:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544445184001,"66":27876,"98":206,"85":12288,"24":29,"16":1968851663192064,"45":-9220697999796944896},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-10-05 14:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544445184001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:05:33] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-10-05 14:05:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 14:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1968851663192064,"km_value":1968851663192.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9220697999796944896,"description":"Unknown IO ID 45"} 
[2026-10-05 14:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544445184001,"power":27876,"unknown_98":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":-9220697999796944896}} 
[2026-10-05 14:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":206056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:05:33] local.INFO: GPS data processed {"connection_id":206056,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:05:33] local.INFO: Acknowledgment sent {"connection_id":206056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:05:36] local.INFO: TCP Data received {"connection_id":204509,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:05:36] local.INFO: Processing buffer {"connection_id":204509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:05:36] local.INFO: Packet analysis {"connection_id":204509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b32"} 
[2026-10-05 14:05:36] local.INFO: Extracted packet for processing {"connection_id":204509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b32"} 
[2026-10-05 14:05:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":1,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544363264001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:05:36] 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-10-05 14:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791189220000,"timestamp_ms":1791189220000,"timestamp_seconds":1791189220,"priority":1,"record_length":96,"hex_timestamp":"000001a10b327aa0"} 
[2026-10-05 14:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:05:36] 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-10-05 14:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:05:36] 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-10-05 14:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:05:36] 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-10-05 14:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544363264001,"66":12667,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544363264001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:05:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:05:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544363264001,"power":12667,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":204509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:05:36] local.INFO: GPS data processed {"connection_id":204509,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:05:36] local.INFO: Acknowledgment sent {"connection_id":204509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:05:42] local.INFO: TCP Data received {"connection_id":206057,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3149f0012d195fc0071fee10003d01182b..."} 
[2026-10-05 14:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3149f0012d195fc0071fee10003d01182b..."} 
[2026-10-05 14:05:42] local.INFO: Processing buffer {"connection_id":206057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3149f0012d195fc0071fee10003d01182b..."} 
[2026-10-05 14:05:42] local.INFO: Packet analysis {"connection_id":206057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b31"} 
[2026-10-05 14:05:42] local.INFO: Extracted packet for processing {"connection_id":206057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b31"} 
[2026-10-05 14:05:42] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119533072,"longitude_deg":75.6637632,"latitude_deg":11.9533072,"altitude":61,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-10-05 14:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544414976001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053252907171840,"note":"Value kept but may cause issues"} 
[2026-10-05 14:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110568710144,"note":"Value kept but may cause issues"} 
[2026-10-05 14:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791189142000,"timestamp_ms":1791189142000,"timestamp_seconds":1791189142,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3149f0"} 
[2026-10-05 14:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 14:05:42] 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-10-05 14:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:05:42] 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-10-05 14:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544414976001,"66":12852,"102":206,"83":41984,"24":0,"16":25053252907171840,"45":1828391110568710144},"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-10-05 14:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544414976001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:05:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 14:05:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053252907171840,"km_value":25053252907171.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110568710144,"description":"Unknown IO ID 45"} 
[2026-10-05 14:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544414976001,"power":12852,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110568710144}} 
[2026-10-05 14:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":206057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:05:42] local.INFO: GPS data processed {"connection_id":206057,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:05:42] local.INFO: Acknowledgment sent {"connection_id":206057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:05:54] local.INFO: TCP Data received {"connection_id":204510,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:05:54] local.INFO: Processing buffer {"connection_id":204510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:05:54] local.INFO: IMEI packet received {"connection_id":204510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":204510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:05:56] local.INFO: TCP Data received {"connection_id":204510,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:05:56] local.INFO: Processing buffer {"connection_id":204510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:05:56] local.INFO: IMEI packet received {"connection_id":204510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":204510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:05:59] local.INFO: TCP Data received {"connection_id":204643,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:05:59] local.INFO: Processing buffer {"connection_id":204643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:05:59] local.INFO: IMEI packet received {"connection_id":204643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":204643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:06:00] local.INFO: TCP Data received {"connection_id":204510,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:06:00] local.INFO: Processing buffer {"connection_id":204510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:06:00] local.INFO: IMEI packet received {"connection_id":204510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":204510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:06:00] local.INFO: TCP Data received {"connection_id":204510,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3316e0012d7ff3c005c50fa00007014326..."} 
[2026-10-05 14:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3316e0012d7ff3c005c50fa00007014326..."} 
[2026-10-05 14:06:00] local.INFO: Processing buffer {"connection_id":204510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3316e0012d7ff3c005c50fa00007014326..."} 
[2026-10-05 14:06:00] local.INFO: Packet analysis {"connection_id":204510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b33"} 
[2026-10-05 14:06:00] local.INFO: Extracted packet for processing {"connection_id":204510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b33"} 
[2026-10-05 14:06:00] local.INFO: GPS Element Parsed {"raw_longitude":763360192,"raw_latitude":96800672,"longitude_deg":76.3360192,"latitude_deg":9.6800672,"altitude":7,"angle":323,"satellites":38,"speed":29,"hex_longitude":"2d7ff3c0","hex_latitude":"05c50fa0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 14:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544450560001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1968851663192064,"note":"Value kept but may cause issues"} 
[2026-10-05 14:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9219923993171042304,"note":"Value kept but may cause issues"} 
[2026-10-05 14:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791189260000,"timestamp_ms":1791189260000,"timestamp_seconds":1791189260,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3316e0"} 
[2026-10-05 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-10-05 14:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-05 14:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 14:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:06: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-10-05 14:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544450560001,"66":27876,"98":206,"85":12288,"24":29,"16":1968851663192064,"45":9219923993171042304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-10-05 14:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544450560001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:06:00] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-10-05 14:06:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 14:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1968851663192064,"km_value":1968851663192.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9219923993171042304,"description":"Unknown IO ID 45"} 
[2026-10-05 14:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544450560001,"power":27876,"unknown_98":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":9219923993171042304}} 
[2026-10-05 14:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":204510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:06:00] local.INFO: GPS data processed {"connection_id":204510,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:06:00] local.INFO: Acknowledgment sent {"connection_id":204510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:06:04] local.INFO: TCP Data received {"connection_id":204643,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:06:04] local.INFO: Processing buffer {"connection_id":204643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:06:04] local.INFO: IMEI packet received {"connection_id":204643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":204643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:06:05] local.INFO: TCP Data received {"connection_id":204643,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:06:05] local.INFO: Processing buffer {"connection_id":204643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:06:05] local.INFO: Packet analysis {"connection_id":204643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b32"} 
[2026-10-05 14:06:05] local.INFO: Extracted packet for processing {"connection_id":204643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b32"} 
[2026-10-05 14:06:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":1,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544363264001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:06: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-10-05 14:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791189220000,"timestamp_ms":1791189220000,"timestamp_seconds":1791189220,"priority":1,"record_length":96,"hex_timestamp":"000001a10b327aa0"} 
[2026-10-05 14:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:06: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-10-05 14: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:06:05] 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-10-05 14: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-10-05 14:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:06: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-10-05 14:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544363264001,"66":12667,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544363264001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:06:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:06:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544363264001,"power":12667,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":204643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967780,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:06:05] local.INFO: GPS data processed {"connection_id":204643,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:06:05] local.INFO: Acknowledgment sent {"connection_id":204643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:06:09] local.INFO: TCP Data received {"connection_id":206059,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:06:09] local.INFO: Processing buffer {"connection_id":206059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:06:09] local.INFO: IMEI packet received {"connection_id":206059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":206059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:06:10] local.INFO: TCP Data received {"connection_id":206059,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:06:10] local.INFO: Processing buffer {"connection_id":206059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:06:10] local.INFO: IMEI packet received {"connection_id":206059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":206059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:06:15] local.INFO: TCP Data received {"connection_id":206059,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:06:15] local.INFO: Processing buffer {"connection_id":206059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:06:15] local.INFO: IMEI packet received {"connection_id":206059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":206059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:06:16] local.INFO: TCP Data received {"connection_id":206059,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b319bf8012d195fc0071fee10003d01182b..."} 
[2026-10-05 14:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b319bf8012d195fc0071fee10003d01182b..."} 
[2026-10-05 14:06:16] local.INFO: Processing buffer {"connection_id":206059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b319bf8012d195fc0071fee10003d01182b..."} 
[2026-10-05 14:06:16] local.INFO: Packet analysis {"connection_id":206059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b31"} 
[2026-10-05 14:06:16] local.INFO: Extracted packet for processing {"connection_id":206059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b31"} 
[2026-10-05 14:06:16] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119533072,"longitude_deg":75.6637632,"latitude_deg":11.9533072,"altitude":61,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544420352001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053252907171840,"note":"Value kept but may cause issues"} 
[2026-10-05 14:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110568710144,"note":"Value kept but may cause issues"} 
[2026-10-05 14:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791189163000,"timestamp_ms":1791189163000,"timestamp_seconds":1791189163,"priority":1,"record_length":96,"hex_timestamp":"000001a10b319bf8"} 
[2026-10-05 14:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 14:06:16] 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-10-05 14: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-10-05 14:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":206059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":206059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":206059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:06:16] 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-10-05 14:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544420352001,"66":12841,"102":206,"83":41984,"24":0,"16":25053252907171840,"45":1828391110568710144},"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-10-05 14:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544420352001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:06:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 14:06:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053252907171840,"km_value":25053252907171.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110568710144,"description":"Unknown IO ID 45"} 
[2026-10-05 14:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544420352001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110568710144}} 
[2026-10-05 14:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":206059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:06:16] local.INFO: GPS data processed {"connection_id":206059,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:06:16] local.INFO: Acknowledgment sent {"connection_id":206059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:06:31] local.INFO: TCP Data received {"connection_id":204510,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3341d8012d7fdec005c52be80007014328..."} 
[2026-10-05 14:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3341d8012d7fdec005c52be80007014328..."} 
[2026-10-05 14:06:31] local.INFO: Processing buffer {"connection_id":204510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3341d8012d7fdec005c52be80007014328..."} 
[2026-10-05 14:06:31] local.INFO: Packet analysis {"connection_id":204510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b33"} 
[2026-10-05 14:06:31] local.INFO: Extracted packet for processing {"connection_id":204510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b33"} 
[2026-10-05 14:06:31] local.INFO: GPS Element Parsed {"raw_longitude":763354816,"raw_latitude":96807912,"longitude_deg":76.3354816,"latitude_deg":9.6807912,"altitude":7,"angle":323,"satellites":40,"speed":26,"hex_longitude":"2d7fdec0","hex_latitude":"05c52be8","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544450560001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1969285454888960,"note":"Value kept but may cause issues"} 
[2026-10-05 14:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9219923993171042304,"note":"Value kept but may cause issues"} 
[2026-10-05 14:06:31] 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-10-05 14:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791189271000,"timestamp_ms":1791189271000,"timestamp_seconds":1791189271,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3341d8"} 
[2026-10-05 14:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:06: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-10-05 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-05 14:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544450560001,"66":27930,"98":206,"85":12288,"24":26,"16":1969285454888960,"45":9219923993171042304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-10-05 14:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544450560001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:06:31] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-10-05 14:06:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 14:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1969285454888960,"km_value":1969285454888.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9219923993171042304,"description":"Unknown IO ID 45"} 
[2026-10-05 14:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544450560001,"power":27930,"unknown_98":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":9219923993171042304}} 
[2026-10-05 14:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":204510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:06:32] local.INFO: GPS data processed {"connection_id":204510,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:06:32] local.INFO: Acknowledgment sent {"connection_id":204510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:06:37] local.INFO: TCP Data received {"connection_id":204643,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:06:37] local.INFO: Processing buffer {"connection_id":204643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:06:37] local.INFO: Packet analysis {"connection_id":204643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b32"} 
[2026-10-05 14:06:37] local.INFO: Extracted packet for processing {"connection_id":204643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b32"} 
[2026-10-05 14:06:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":1,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544363264001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:06:37] 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-10-05 14:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791189220000,"timestamp_ms":1791189220000,"timestamp_seconds":1791189220,"priority":1,"record_length":96,"hex_timestamp":"000001a10b327aa0"} 
[2026-10-05 14:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:06:37] 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-10-05 14: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:06:37] 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-10-05 14:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:06: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-10-05 14:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544363264001,"66":12667,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544363264001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:06:37] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:06:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544363264001,"power":12667,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":204643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967783,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:06:37] local.INFO: GPS data processed {"connection_id":204643,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:06:37] local.INFO: Acknowledgment sent {"connection_id":204643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:06:47] local.INFO: TCP Data received {"connection_id":206059,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b31ee00012d195fc0071fee10003d01182a..."} 
[2026-10-05 14:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b31ee00012d195fc0071fee10003d01182a..."} 
[2026-10-05 14:06:47] local.INFO: Processing buffer {"connection_id":206059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b31ee00012d195fc0071fee10003d01182a..."} 
[2026-10-05 14:06:47] local.INFO: Packet analysis {"connection_id":206059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b31"} 
[2026-10-05 14:06:47] local.INFO: Extracted packet for processing {"connection_id":206059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b31"} 
[2026-10-05 14:06:47] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119533072,"longitude_deg":75.6637632,"latitude_deg":11.9533072,"altitude":61,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-10-05 14:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544425728001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053252907171840,"note":"Value kept but may cause issues"} 
[2026-10-05 14:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110568710144,"note":"Value kept but may cause issues"} 
[2026-10-05 14:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791189184000,"timestamp_ms":1791189184000,"timestamp_seconds":1791189184,"priority":1,"record_length":96,"hex_timestamp":"000001a10b31ee00"} 
[2026-10-05 14:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 14:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":206059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":206059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":206059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:06:47] 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-10-05 14:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544425728001,"66":12776,"102":206,"83":41984,"24":0,"16":25053252907171840,"45":1828391110568710144},"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-10-05 14:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544425728001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:06:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 14:06:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053252907171840,"km_value":25053252907171.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110568710144,"description":"Unknown IO ID 45"} 
[2026-10-05 14:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544425728001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110568710144}} 
[2026-10-05 14:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":206059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:06:47] local.INFO: GPS data processed {"connection_id":206059,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:06:47] local.INFO: Acknowledgment sent {"connection_id":206059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:06:54] local.INFO: TCP Data received {"connection_id":204644,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:06:54] local.INFO: Processing buffer {"connection_id":204644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:06:54] local.INFO: IMEI packet received {"connection_id":204644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":204644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:07:00] local.INFO: TCP Data received {"connection_id":207594,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:07:00] local.INFO: Processing buffer {"connection_id":207594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:07:00] local.INFO: IMEI packet received {"connection_id":207594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":207594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:07:01] local.INFO: TCP Data received {"connection_id":204644,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:07:01] local.INFO: Processing buffer {"connection_id":204644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:07:01] local.INFO: IMEI packet received {"connection_id":204644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":204644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:07:02] local.INFO: TCP Data received {"connection_id":204644,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b337888012d7fca0005c548480008014129..."} 
[2026-10-05 14:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b337888012d7fca0005c548480008014129..."} 
[2026-10-05 14:07:02] local.INFO: Processing buffer {"connection_id":204644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b337888012d7fca0005c548480008014129..."} 
[2026-10-05 14:07:02] local.INFO: Packet analysis {"connection_id":204644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b33"} 
[2026-10-05 14:07:02] local.INFO: Extracted packet for processing {"connection_id":204644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b33"} 
[2026-10-05 14:07:02] local.INFO: GPS Element Parsed {"raw_longitude":763349504,"raw_latitude":96815176,"longitude_deg":76.3349504,"latitude_deg":9.6815176,"altitude":8,"angle":321,"satellites":41,"speed":24,"hex_longitude":"2d7fca00","hex_latitude":"05c54848","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544453376001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1969719246585856,"note":"Value kept but may cause issues"} 
[2026-10-05 14:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9214013018661971968,"note":"Value kept but may cause issues"} 
[2026-10-05 14:07:02] 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-10-05 14:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791189285000,"timestamp_ms":1791189285000,"timestamp_seconds":1791189285,"priority":1,"record_length":96,"hex_timestamp":"000001a10b337888"} 
[2026-10-05 14:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:07: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-10-05 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-05 14:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544453376001,"66":27930,"98":206,"85":12288,"24":24,"16":1969719246585856,"45":9214013018661971968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-10-05 14:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544453376001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:07:02] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-10-05 14:07:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 14:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1969719246585856,"km_value":1969719246585.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9214013018661971968,"description":"Unknown IO ID 45"} 
[2026-10-05 14:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544453376001,"power":27930,"unknown_98":206,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":9214013018661971968}} 
[2026-10-05 14:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":204644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:07:02] local.INFO: GPS data processed {"connection_id":204644,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:07:02] local.INFO: Acknowledgment sent {"connection_id":204644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:07:04] local.INFO: TCP Data received {"connection_id":207594,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:07:04] local.INFO: Processing buffer {"connection_id":207594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:07:04] local.INFO: IMEI packet received {"connection_id":207594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":207594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:07:05] local.INFO: TCP Data received {"connection_id":207594,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:07:05] local.INFO: Processing buffer {"connection_id":207594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:07:05] local.INFO: Packet analysis {"connection_id":207594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b32"} 
[2026-10-05 14:07:05] local.INFO: Extracted packet for processing {"connection_id":207594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b32"} 
[2026-10-05 14:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":1,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544363264001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:07: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-10-05 14:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791189220000,"timestamp_ms":1791189220000,"timestamp_seconds":1791189220,"priority":1,"record_length":96,"hex_timestamp":"000001a10b327aa0"} 
[2026-10-05 14:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:07: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-10-05 14: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:07:05] 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-10-05 14: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-10-05 14:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:07: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-10-05 14:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544363264001,"66":12667,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544363264001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:07:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:07:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544363264001,"power":12667,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":207594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:07:05] local.INFO: GPS data processed {"connection_id":207594,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:07:05] local.INFO: Acknowledgment sent {"connection_id":207594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:07:05] local.INFO: TCP Data received {"connection_id":207595,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:07:05] local.INFO: Processing buffer {"connection_id":207595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:07:05] local.INFO: IMEI packet received {"connection_id":207595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":207595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:07:10] local.INFO: TCP Data received {"connection_id":207595,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:07:10] local.INFO: Processing buffer {"connection_id":207595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:07:10] local.INFO: IMEI packet received {"connection_id":207595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":207595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:07:11] local.INFO: TCP Data received {"connection_id":207595,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b324008012d195fc0071fee10003d01182a..."} 
[2026-10-05 14:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b324008012d195fc0071fee10003d01182a..."} 
[2026-10-05 14:07:11] local.INFO: Processing buffer {"connection_id":207595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b324008012d195fc0071fee10003d01182a..."} 
[2026-10-05 14:07:11] local.INFO: Packet analysis {"connection_id":207595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b32"} 
[2026-10-05 14:07:11] local.INFO: Extracted packet for processing {"connection_id":207595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b32"} 
[2026-10-05 14:07:11] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119533072,"longitude_deg":75.6637632,"latitude_deg":11.9533072,"altitude":61,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-10-05 14:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544431104001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053252907171840,"note":"Value kept but may cause issues"} 
[2026-10-05 14:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110568710144,"note":"Value kept but may cause issues"} 
[2026-10-05 14:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791189205000,"timestamp_ms":1791189205000,"timestamp_seconds":1791189205,"priority":1,"record_length":96,"hex_timestamp":"000001a10b324008"} 
[2026-10-05 14:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:07:11] 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-10-05 14:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 14:07:11] 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-10-05 14:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:07:11] 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-10-05 14:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544431104001,"66":12798,"102":206,"83":41984,"24":0,"16":25053252907171840,"45":1828391110568710144},"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-10-05 14:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544431104001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:07:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 14:07:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053252907171840,"km_value":25053252907171.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110568710144,"description":"Unknown IO ID 45"} 
[2026-10-05 14:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544431104001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110568710144}} 
[2026-10-05 14:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":207595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:07:11] local.INFO: GPS data processed {"connection_id":207595,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:07:11] local.INFO: Acknowledgment sent {"connection_id":207595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:07:33] local.INFO: TCP Data received {"connection_id":204644,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b33c6a8012d7fb50005c565080008014528..."} 
[2026-10-05 14:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b33c6a8012d7fb50005c565080008014528..."} 
[2026-10-05 14:07:33] local.INFO: Processing buffer {"connection_id":204644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b33c6a8012d7fb50005c565080008014528..."} 
[2026-10-05 14:07:33] local.INFO: Packet analysis {"connection_id":204644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b33"} 
[2026-10-05 14:07:33] local.INFO: Extracted packet for processing {"connection_id":204644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b33"} 
[2026-10-05 14:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763344128,"raw_latitude":96822536,"longitude_deg":76.3344128,"latitude_deg":9.6822536,"altitude":8,"angle":325,"satellites":40,"speed":19,"hex_longitude":"2d7fb500","hex_latitude":"05c56508","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544456960001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1970161628217344,"note":"Value kept but may cause issues"} 
[2026-10-05 14:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9208172412897085440,"note":"Value kept but may cause issues"} 
[2026-10-05 14:07:33] 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-10-05 14:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791189305000,"timestamp_ms":1791189305000,"timestamp_seconds":1791189305,"priority":1,"record_length":96,"hex_timestamp":"000001a10b33c6a8"} 
[2026-10-05 14:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:07:33] 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-10-05 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-05 14:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:07: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-10-05 14:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544456960001,"66":27843,"89":206,"85":12288,"24":19,"16":1970161628217344,"45":9208172412897085440},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-10-05 14:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544456960001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:07:33] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-10-05 14:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 14:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1970161628217344,"km_value":1970161628217.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9208172412897085440,"description":"Unknown IO ID 45"} 
[2026-10-05 14:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544456960001,"power":27843,"unknown_89":206,"unknown_85":12288,"ignition":19,"odometer":null,"unknown_45":9208172412897085440}} 
[2026-10-05 14:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":204644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:07:33] local.INFO: GPS data processed {"connection_id":204644,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:07:33] local.INFO: Acknowledgment sent {"connection_id":204644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:07:36] local.INFO: TCP Data received {"connection_id":207594,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:07:36] local.INFO: Processing buffer {"connection_id":207594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:07:36] local.INFO: Packet analysis {"connection_id":207594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b32"} 
[2026-10-05 14:07:36] local.INFO: Extracted packet for processing {"connection_id":207594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b32"} 
[2026-10-05 14:07:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":1,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544363264001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:07:36] 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-10-05 14:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791189220000,"timestamp_ms":1791189220000,"timestamp_seconds":1791189220,"priority":1,"record_length":96,"hex_timestamp":"000001a10b327aa0"} 
[2026-10-05 14:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:07:36] 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-10-05 14: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:07:36] 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-10-05 14: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-10-05 14:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:07:36] 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-10-05 14:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544363264001,"66":12667,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544363264001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:07:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:07:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544363264001,"power":12667,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":207594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:07:36] local.INFO: GPS data processed {"connection_id":207594,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:07:36] local.INFO: Acknowledgment sent {"connection_id":207594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:07:39] local.INFO: TCP Data received {"connection_id":204511,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:07:39] local.INFO: Processing buffer {"connection_id":204511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:07:39] local.INFO: IMEI packet received {"connection_id":204511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 14:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":204511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:07:42] local.INFO: TCP Data received {"connection_id":207595,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b329210012d195fc0071fee10003d01182a..."} 
[2026-10-05 14:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b329210012d195fc0071fee10003d01182a..."} 
[2026-10-05 14:07:42] local.INFO: Processing buffer {"connection_id":207595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b329210012d195fc0071fee10003d01182a..."} 
[2026-10-05 14:07:42] local.INFO: Packet analysis {"connection_id":207595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b32"} 
[2026-10-05 14:07:42] local.INFO: Extracted packet for processing {"connection_id":207595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b32"} 
[2026-10-05 14:07:42] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119533072,"longitude_deg":75.6637632,"latitude_deg":11.9533072,"altitude":61,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544436480001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053252907171840,"note":"Value kept but may cause issues"} 
[2026-10-05 14:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110568710144,"note":"Value kept but may cause issues"} 
[2026-10-05 14:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791189226000,"timestamp_ms":1791189226000,"timestamp_seconds":1791189226,"priority":1,"record_length":96,"hex_timestamp":"000001a10b329210"} 
[2026-10-05 14:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 14:07:42] 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-10-05 14: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-10-05 14:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:07:42] 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-10-05 14:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544436480001,"66":12743,"102":206,"83":41984,"24":0,"16":25053252907171840,"45":1828391110568710144},"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-10-05 14:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544436480001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:07:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 14:07:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053252907171840,"km_value":25053252907171.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110568710144,"description":"Unknown IO ID 45"} 
[2026-10-05 14:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544436480001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110568710144}} 
[2026-10-05 14:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":207595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:07:42] local.INFO: GPS data processed {"connection_id":207595,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:07:42] local.INFO: Acknowledgment sent {"connection_id":207595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:07:54] local.INFO: TCP Data received {"connection_id":204512,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:07:54] local.INFO: Processing buffer {"connection_id":204512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:07:54] local.INFO: IMEI packet received {"connection_id":204512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":204512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:07:55] local.INFO: TCP Data received {"connection_id":204512,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:07:55] local.INFO: Processing buffer {"connection_id":204512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:07:55] local.INFO: IMEI packet received {"connection_id":204512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":204512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:07:59] local.INFO: TCP Data received {"connection_id":207596,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:07:59] local.INFO: Processing buffer {"connection_id":207596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:07:59] local.INFO: IMEI packet received {"connection_id":207596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":207596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:08:00] local.INFO: TCP Data received {"connection_id":204512,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:08:00] local.INFO: Processing buffer {"connection_id":204512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:08:00] local.INFO: IMEI packet received {"connection_id":204512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":204512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:08:01] local.INFO: TCP Data received {"connection_id":204512,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b357840012d7ef68005c66b10000a012d2a..."} 
[2026-10-05 14:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b357840012d7ef68005c66b10000a012d2a..."} 
[2026-10-05 14:08:01] local.INFO: Processing buffer {"connection_id":204512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b357840012d7ef68005c66b10000a012d2a..."} 
[2026-10-05 14:08:01] local.INFO: Packet analysis {"connection_id":204512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b35"} 
[2026-10-05 14:08:01] local.INFO: Extracted packet for processing {"connection_id":204512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b35"} 
[2026-10-05 14:08:01] local.INFO: GPS Element Parsed {"raw_longitude":763295360,"raw_latitude":96889616,"longitude_deg":76.329536,"latitude_deg":9.6889616,"altitude":10,"angle":301,"satellites":42,"speed":20,"hex_longitude":"2d7ef680","hex_latitude":"05c66b10","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544489472001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:08:01] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-10-05 14:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1974173127671808,"note":"Value kept but may cause issues"} 
[2026-10-05 14:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150258936457641984,"note":"Value kept but may cause issues"} 
[2026-10-05 14:08:01] 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-10-05 14:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791189416000,"timestamp_ms":1791189416000,"timestamp_seconds":1791189416,"priority":1,"record_length":96,"hex_timestamp":"000001a10b357840"} 
[2026-10-05 14:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14: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-10-05 14: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-10-05 14:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:08: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-10-05 14:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544489472001,"66":27800,"200":0,"85":12288,"24":20,"16":1974173127671808,"45":9150258936457641984},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-10-05 14:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544489472001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:08:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 14:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1974173127671808,"km_value":1974173127671.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150258936457641984,"description":"Unknown IO ID 45"} 
[2026-10-05 14:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544489472001,"power":27800,"gsm_signal":0,"unknown_85":12288,"ignition":20,"odometer":null,"unknown_45":9150258936457641984}} 
[2026-10-05 14:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":204512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:08:01] local.INFO: GPS data processed {"connection_id":204512,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:08:01] local.INFO: Acknowledgment sent {"connection_id":204512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:08:02] local.INFO: TCP Data received {"connection_id":204645,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:08:02] local.INFO: Processing buffer {"connection_id":204645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:08:02] local.INFO: IMEI packet received {"connection_id":204645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":204645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:08:04] local.INFO: TCP Data received {"connection_id":207596,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:08:04] local.INFO: Processing buffer {"connection_id":207596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:08:04] local.INFO: IMEI packet received {"connection_id":207596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":207596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:08:05] local.INFO: TCP Data received {"connection_id":207596,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:08:05] local.INFO: Processing buffer {"connection_id":207596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:08:05] local.INFO: Packet analysis {"connection_id":207596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b32"} 
[2026-10-05 14:08:05] local.INFO: Extracted packet for processing {"connection_id":207596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b32"} 
[2026-10-05 14:08:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":1,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544363264001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:08: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-10-05 14:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791189220000,"timestamp_ms":1791189220000,"timestamp_seconds":1791189220,"priority":1,"record_length":96,"hex_timestamp":"000001a10b327aa0"} 
[2026-10-05 14:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:08: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-10-05 14:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:08:05] 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-10-05 14:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544363264001,"66":12667,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544363264001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:08:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:08:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544363264001,"power":12667,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":207596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:08:05] local.INFO: GPS data processed {"connection_id":207596,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:08:05] local.INFO: Acknowledgment sent {"connection_id":207596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:08:05] local.INFO: TCP Data received {"connection_id":204645,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:08:05] local.INFO: Processing buffer {"connection_id":204645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:08:05] local.INFO: IMEI packet received {"connection_id":204645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":204645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:08:07] local.INFO: TCP Data received {"connection_id":204645,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:08:07] local.INFO: Processing buffer {"connection_id":204645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:08:07] local.INFO: IMEI packet received {"connection_id":204645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":204645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:08:08] local.INFO: TCP Data received {"connection_id":204645,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b35ca48012d195f00071feda0003e013b2a..."} 
[2026-10-05 14:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b35ca48012d195f00071feda0003e013b2a..."} 
[2026-10-05 14:08:08] local.INFO: Processing buffer {"connection_id":204645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b35ca48012d195f00071feda0003e013b2a..."} 
[2026-10-05 14:08:08] local.INFO: Packet analysis {"connection_id":204645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b35"} 
[2026-10-05 14:08:08] local.INFO: Extracted packet for processing {"connection_id":204645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b35"} 
[2026-10-05 14:08:08] local.INFO: GPS Element Parsed {"raw_longitude":756637440,"raw_latitude":119532960,"longitude_deg":75.663744,"latitude_deg":11.953296,"altitude":62,"angle":315,"satellites":42,"speed":4,"hex_longitude":"2d195f00","hex_latitude":"071feda0","is_valid_coordinates":true} 
[2026-10-05 14:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544495616001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053265792073728,"note":"Value kept but may cause issues"} 
[2026-10-05 14:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110568710144,"note":"Value kept but may cause issues"} 
[2026-10-05 14:08: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-10-05 14:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791189437000,"timestamp_ms":1791189437000,"timestamp_seconds":1791189437,"priority":1,"record_length":96,"hex_timestamp":"000001a10b35ca48"} 
[2026-10-05 14:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:08:08] 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-10-05 14:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 14:08: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-10-05 14:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:08:08] 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-10-05 14:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544495616001,"66":12841,"102":206,"83":41984,"24":4,"16":25053265792073728,"45":1828391110568710144},"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-10-05 14:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544495616001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:08:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 14:08:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053265792073728,"km_value":25053265792073.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110568710144,"description":"Unknown IO ID 45"} 
[2026-10-05 14:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544495616001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1828391110568710144}} 
[2026-10-05 14:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":204645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:08:08] local.INFO: GPS data processed {"connection_id":204645,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:08:08] local.INFO: Acknowledgment sent {"connection_id":204645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:08:31] local.INFO: TCP Data received {"connection_id":204512,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b35a720012d7eddc005c67bb80008013929..."} 
[2026-10-05 14:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b35a720012d7eddc005c67bb80008013929..."} 
[2026-10-05 14:08:31] local.INFO: Processing buffer {"connection_id":204512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b35a720012d7eddc005c67bb80008013929..."} 
[2026-10-05 14:08:31] local.INFO: Packet analysis {"connection_id":204512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b35"} 
[2026-10-05 14:08:31] local.INFO: Extracted packet for processing {"connection_id":204512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b35"} 
[2026-10-05 14:08:31] local.INFO: GPS Element Parsed {"raw_longitude":763289024,"raw_latitude":96893880,"longitude_deg":76.3289024,"latitude_deg":9.689388,"altitude":8,"angle":313,"satellites":41,"speed":30,"hex_longitude":"2d7eddc0","hex_latitude":"05c67bb8","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544490496001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:08:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-10-05 14:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1974542494859264,"note":"Value kept but may cause issues"} 
[2026-10-05 14:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9148640455341838336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:08:31] 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-10-05 14:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791189428000,"timestamp_ms":1791189428000,"timestamp_seconds":1791189428,"priority":1,"record_length":96,"hex_timestamp":"000001a10b35a720"} 
[2026-10-05 14:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-05 14:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544490496001,"66":27800,"200":0,"85":12288,"24":30,"16":1974542494859264,"45":9148640455341838336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-10-05 14:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544490496001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:08:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 14:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1974542494859264,"km_value":1974542494859.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9148640455341838336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544490496001,"power":27800,"gsm_signal":0,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":9148640455341838336}} 
[2026-10-05 14:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":204512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:08:31] local.INFO: GPS data processed {"connection_id":204512,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:08:31] local.INFO: Acknowledgment sent {"connection_id":204512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:08:36] local.INFO: TCP Data received {"connection_id":207596,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:08:36] local.INFO: Processing buffer {"connection_id":207596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b327aa0012d7b524005e13b08000100a922..."} 
[2026-10-05 14:08:36] local.INFO: Packet analysis {"connection_id":207596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b32"} 
[2026-10-05 14:08:36] local.INFO: Extracted packet for processing {"connection_id":207596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b32"} 
[2026-10-05 14:08:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":1,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544363264001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:08:36] 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-10-05 14:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791189220000,"timestamp_ms":1791189220000,"timestamp_seconds":1791189220,"priority":1,"record_length":96,"hex_timestamp":"000001a10b327aa0"} 
[2026-10-05 14:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:08:36] 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-10-05 14:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:08:36] 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-10-05 14:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544363264001,"66":12667,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544363264001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:08:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:08:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544363264001,"power":12667,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":207596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967795,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:08:36] local.INFO: GPS data processed {"connection_id":207596,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:08:36] local.INFO: Acknowledgment sent {"connection_id":207596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:08:39] local.INFO: TCP Data received {"connection_id":204645,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b35ddd0012d195e40071fee98003e00902b..."} 
[2026-10-05 14:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b35ddd0012d195e40071fee98003e00902b..."} 
[2026-10-05 14:08:39] local.INFO: Processing buffer {"connection_id":204645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b35ddd0012d195e40071fee98003e00902b..."} 
[2026-10-05 14:08:39] local.INFO: Packet analysis {"connection_id":204645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b35"} 
[2026-10-05 14:08:39] local.INFO: Extracted packet for processing {"connection_id":204645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b35"} 
[2026-10-05 14:08:39] local.INFO: GPS Element Parsed {"raw_longitude":756637248,"raw_latitude":119533208,"longitude_deg":75.6637248,"latitude_deg":11.9533208,"altitude":62,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d195e40","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-10-05 14:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544495872001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053287266910208,"note":"Value kept but may cause issues"} 
[2026-10-05 14:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828180004336148480,"note":"Value kept but may cause issues"} 
[2026-10-05 14:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791189442000,"timestamp_ms":1791189442000,"timestamp_seconds":1791189442,"priority":1,"record_length":96,"hex_timestamp":"000001a10b35ddd0"} 
[2026-10-05 14:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:08:39] 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-10-05 14:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 14:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":204645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":204645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":204645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:08:39] 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-10-05 14:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544495872001,"66":12798,"102":206,"83":41984,"24":0,"16":25053287266910208,"45":1828180004336148480},"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-10-05 14:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544495872001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:08:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 14:08:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053287266910208,"km_value":25053287266910.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828180004336148480,"description":"Unknown IO ID 45"} 
[2026-10-05 14:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544495872001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828180004336148480}} 
[2026-10-05 14:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":204645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:08:39] local.INFO: GPS data processed {"connection_id":204645,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:08:39] local.INFO: Acknowledgment sent {"connection_id":204645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:08:59] local.INFO: TCP Data received {"connection_id":206061,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:08:59] local.INFO: Processing buffer {"connection_id":206061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:08:59] local.INFO: IMEI packet received {"connection_id":206061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":206061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:09:00] local.INFO: TCP Data received {"connection_id":206060,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:09:00] local.INFO: Processing buffer {"connection_id":206060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:09:00] local.INFO: IMEI packet received {"connection_id":206060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":206060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:09:03] local.INFO: TCP Data received {"connection_id":206060,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:09:03] local.INFO: Processing buffer {"connection_id":206060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:09:03] local.INFO: IMEI packet received {"connection_id":206060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":206060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:09:03] local.INFO: TCP Data received {"connection_id":206060,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b35ce30012d7ec18005c691400008012e2a..."} 
[2026-10-05 14:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b35ce30012d7ec18005c691400008012e2a..."} 
[2026-10-05 14:09:03] local.INFO: Processing buffer {"connection_id":206060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b35ce30012d7ec18005c691400008012e2a..."} 
[2026-10-05 14:09:03] local.INFO: Packet analysis {"connection_id":206060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b35"} 
[2026-10-05 14:09:03] local.INFO: Extracted packet for processing {"connection_id":206060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b35"} 
[2026-10-05 14:09:03] local.INFO: GPS Element Parsed {"raw_longitude":763281792,"raw_latitude":96899392,"longitude_deg":76.3281792,"latitude_deg":9.6899392,"altitude":8,"angle":302,"satellites":42,"speed":40,"hex_longitude":"2d7ec180","hex_latitude":"05c69140","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544493568001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:09:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-10-05 14:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1974980581523456,"note":"Value kept but may cause issues"} 
[2026-10-05 14:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141673949669341184,"note":"Value kept but may cause issues"} 
[2026-10-05 14:09:03] 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-10-05 14:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791189438000,"timestamp_ms":1791189438000,"timestamp_seconds":1791189438,"priority":1,"record_length":96,"hex_timestamp":"000001a10b35ce30"} 
[2026-10-05 14:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:09: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-10-05 14: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":152,"data_length":795,"current_offset":136} 
[2026-10-05 14:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":206060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":206060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":206060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544493568001,"66":27919,"200":0,"85":12288,"24":40,"16":1974980581523456,"45":9141673949669341184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-10-05 14:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544493568001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:09:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 14:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1974980581523456,"km_value":1974980581523.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141673949669341184,"description":"Unknown IO ID 45"} 
[2026-10-05 14:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544493568001,"power":27919,"gsm_signal":0,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":9141673949669341184}} 
[2026-10-05 14:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":206060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:09:03] local.INFO: GPS data processed {"connection_id":206060,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:09:03] local.INFO: Acknowledgment sent {"connection_id":206060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:09:04] local.INFO: TCP Data received {"connection_id":206061,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:09:04] local.INFO: Processing buffer {"connection_id":206061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:09:04] local.INFO: IMEI packet received {"connection_id":206061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":206061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:09:05] local.INFO: TCP Data received {"connection_id":204513,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:09:05] local.INFO: Processing buffer {"connection_id":204513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:09:05] local.INFO: IMEI packet received {"connection_id":204513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":204513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:09:05] local.INFO: TCP Data received {"connection_id":206061,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:09:05] local.INFO: Processing buffer {"connection_id":206061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:09:05] local.INFO: Packet analysis {"connection_id":206061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:09:05] local.INFO: Extracted packet for processing {"connection_id":206061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:09:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":1,"angle":169,"satellites":32,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544440320001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:09: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-10-05 14:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791189521000,"timestamp_ms":1791189521000,"timestamp_seconds":1791189521,"priority":1,"record_length":96,"hex_timestamp":"000001a10b371268"} 
[2026-10-05 14:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14: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-10-05 14:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:09:05] 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-10-05 14:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":206061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":206061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":206061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544440320001,"66":12722,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544440320001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:09:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:09:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544440320001,"power":12722,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":206061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967798,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:09:05] local.INFO: GPS data processed {"connection_id":206061,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:09:05] local.INFO: Acknowledgment sent {"connection_id":206061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:09:10] local.INFO: TCP Data received {"connection_id":204513,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:09:10] local.INFO: Processing buffer {"connection_id":204513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:09:10] local.INFO: IMEI packet received {"connection_id":204513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":204513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:09:11] local.INFO: TCP Data received {"connection_id":204513,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b35e5a0012d195ec0071fede0003e00a32b..."} 
[2026-10-05 14:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b35e5a0012d195ec0071fede0003e00a32b..."} 
[2026-10-05 14:09:11] local.INFO: Processing buffer {"connection_id":204513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b35e5a0012d195ec0071fede0003e00a32b..."} 
[2026-10-05 14:09:11] local.INFO: Packet analysis {"connection_id":204513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b35"} 
[2026-10-05 14:09:11] local.INFO: Extracted packet for processing {"connection_id":204513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b35"} 
[2026-10-05 14:09:11] local.INFO: GPS Element Parsed {"raw_longitude":756637376,"raw_latitude":119533024,"longitude_deg":75.6637376,"latitude_deg":11.9533024,"altitude":62,"angle":163,"satellites":43,"speed":3,"hex_longitude":"2d195ec0","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-10-05 14:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544497152001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053295856844800,"note":"Value kept but may cause issues"} 
[2026-10-05 14:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827968898103678976,"note":"Value kept but may cause issues"} 
[2026-10-05 14:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791189444000,"timestamp_ms":1791189444000,"timestamp_seconds":1791189444,"priority":1,"record_length":96,"hex_timestamp":"000001a10b35e5a0"} 
[2026-10-05 14:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:09:11] 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-10-05 14:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 14:09:11] 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-10-05 14:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:09:11] 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-10-05 14:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544497152001,"66":12798,"102":206,"83":41984,"24":3,"16":25053295856844800,"45":1827968898103678976},"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-10-05 14:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544497152001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:09:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 14:09:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053295856844800,"km_value":25053295856844.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827968898103678976,"description":"Unknown IO ID 45"} 
[2026-10-05 14:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544497152001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1827968898103678976}} 
[2026-10-05 14:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":204513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:09:11] local.INFO: GPS data processed {"connection_id":204513,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:09:11] local.INFO: Acknowledgment sent {"connection_id":204513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:09:34] local.INFO: TCP Data received {"connection_id":206060,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b35f158012d7ea24005c6a5980007012d28..."} 
[2026-10-05 14:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b35f158012d7ea24005c6a5980007012d28..."} 
[2026-10-05 14:09:34] local.INFO: Processing buffer {"connection_id":206060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b35f158012d7ea24005c6a5980007012d28..."} 
[2026-10-05 14:09:34] local.INFO: Packet analysis {"connection_id":206060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b35"} 
[2026-10-05 14:09:34] local.INFO: Extracted packet for processing {"connection_id":206060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b35"} 
[2026-10-05 14:09:34] local.INFO: GPS Element Parsed {"raw_longitude":763273792,"raw_latitude":96904600,"longitude_deg":76.3273792,"latitude_deg":9.69046,"altitude":7,"angle":301,"satellites":40,"speed":43,"hex_longitude":"2d7ea240","hex_latitude":"05c6a598","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544496128001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:09:34] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-10-05 14:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1975440143024128,"note":"Value kept but may cause issues"} 
[2026-10-05 14:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9133722281578676224,"note":"Value kept but may cause issues"} 
[2026-10-05 14:09:34] 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-10-05 14:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791189447000,"timestamp_ms":1791189447000,"timestamp_seconds":1791189447,"priority":1,"record_length":96,"hex_timestamp":"000001a10b35f158"} 
[2026-10-05 14:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 14:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":206060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":206060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":206060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544496128001,"66":27800,"200":0,"85":12288,"24":43,"16":1975440143024128,"45":9133722281578676224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-10-05 14:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544496128001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:09:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 14:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1975440143024128,"km_value":1975440143024.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9133722281578676224,"description":"Unknown IO ID 45"} 
[2026-10-05 14:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544496128001,"power":27800,"gsm_signal":0,"unknown_85":12288,"ignition":43,"odometer":null,"unknown_45":9133722281578676224}} 
[2026-10-05 14:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":206060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:09:34] local.INFO: GPS data processed {"connection_id":206060,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:09:34] local.INFO: Acknowledgment sent {"connection_id":206060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:09:37] local.INFO: TCP Data received {"connection_id":206061,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:09:37] local.INFO: Processing buffer {"connection_id":206061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:09:37] local.INFO: Packet analysis {"connection_id":206061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:09:37] local.INFO: Extracted packet for processing {"connection_id":206061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:09:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":1,"angle":169,"satellites":32,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544440320001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:09:37] 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-10-05 14:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791189521000,"timestamp_ms":1791189521000,"timestamp_seconds":1791189521,"priority":1,"record_length":96,"hex_timestamp":"000001a10b371268"} 
[2026-10-05 14:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:09:37] 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-10-05 14: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:09:37] 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-10-05 14:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544440320001,"66":12722,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544440320001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:09:37] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:09:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544440320001,"power":12722,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":206061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:09:37] local.INFO: GPS data processed {"connection_id":206061,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:09:37] local.INFO: Acknowledgment sent {"connection_id":206061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:09:42] local.INFO: TCP Data received {"connection_id":204513,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b35f928012d195e40071fed70003d003b2b..."} 
[2026-10-05 14:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b35f928012d195e40071fed70003d003b2b..."} 
[2026-10-05 14:09:42] local.INFO: Processing buffer {"connection_id":204513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b35f928012d195e40071fed70003d003b2b..."} 
[2026-10-05 14:09:42] local.INFO: Packet analysis {"connection_id":204513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b35"} 
[2026-10-05 14:09:42] local.INFO: Extracted packet for processing {"connection_id":204513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b35"} 
[2026-10-05 14:09:42] local.INFO: GPS Element Parsed {"raw_longitude":756637248,"raw_latitude":119532912,"longitude_deg":75.6637248,"latitude_deg":11.9532912,"altitude":61,"angle":59,"satellites":43,"speed":0,"hex_longitude":"2d195e40","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-10-05 14:09: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-10-05 14:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544497664001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053308741746688,"note":"Value kept but may cause issues"} 
[2026-10-05 14:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828109635591987200,"note":"Value kept but may cause issues"} 
[2026-10-05 14:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791189449000,"timestamp_ms":1791189449000,"timestamp_seconds":1791189449,"priority":1,"record_length":96,"hex_timestamp":"000001a10b35f928"} 
[2026-10-05 14:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 14:09:42] 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-10-05 14:09: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-10-05 14:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:09:42] 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-10-05 14:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544497664001,"66":12287,"103":206,"83":41984,"24":0,"16":25053308741746688,"45":1828109635591987200},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544497664001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:09:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:09:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053308741746688,"km_value":25053308741746.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828109635591987200,"description":"Unknown IO ID 45"} 
[2026-10-05 14:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544497664001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828109635591987200}} 
[2026-10-05 14:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":204513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:09:42] local.INFO: GPS data processed {"connection_id":204513,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:09:42] local.INFO: Acknowledgment sent {"connection_id":204513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:09:54] local.INFO: TCP Data received {"connection_id":207598,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:09:54] local.INFO: Processing buffer {"connection_id":207598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:09:54] local.INFO: IMEI packet received {"connection_id":207598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":207598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:09:58] local.INFO: TCP Data received {"connection_id":207598,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:09:58] local.INFO: Processing buffer {"connection_id":207598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:09:58] local.INFO: IMEI packet received {"connection_id":207598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":207598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:09:58] local.INFO: TCP Data received {"connection_id":207598,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b361098012d7e86c005c6b9d80006013a29..."} 
[2026-10-05 14:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b361098012d7e86c005c6b9d80006013a29..."} 
[2026-10-05 14:09:58] local.INFO: Processing buffer {"connection_id":207598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b361098012d7e86c005c6b9d80006013a29..."} 
[2026-10-05 14:09:58] local.INFO: Packet analysis {"connection_id":207598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b36"} 
[2026-10-05 14:09:58] local.INFO: Extracted packet for processing {"connection_id":207598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b36"} 
[2026-10-05 14:09:58] local.INFO: GPS Element Parsed {"raw_longitude":763266752,"raw_latitude":96909784,"longitude_deg":76.3266752,"latitude_deg":9.6909784,"altitude":6,"angle":314,"satellites":41,"speed":34,"hex_longitude":"2d7e86c0","hex_latitude":"05c6b9d8","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544498432001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:09:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-10-05 14:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1975861049819136,"note":"Value kept but may cause issues"} 
[2026-10-05 14:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124926188557801472,"note":"Value kept but may cause issues"} 
[2026-10-05 14:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-10-05 14:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1791189455000,"timestamp_ms":1791189455000,"timestamp_seconds":1791189455,"priority":1,"record_length":96,"hex_timestamp":"000001a10b361098"} 
[2026-10-05 14:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:09: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-10-05 14: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":152,"data_length":795,"current_offset":136} 
[2026-10-05 14:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":207598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":207598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":207598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544498432001,"66":27865,"200":0,"85":12288,"24":34,"16":1975861049819136,"45":9124926188557801472},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-10-05 14:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544498432001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:09:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 14:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1975861049819136,"km_value":1975861049819.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124926188557801472,"description":"Unknown IO ID 45"} 
[2026-10-05 14:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544498432001,"power":27865,"gsm_signal":0,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":9124926188557801472}} 
[2026-10-05 14:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":207598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:09:58] local.INFO: GPS data processed {"connection_id":207598,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:09:58] local.INFO: Acknowledgment sent {"connection_id":207598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:10:04] local.INFO: TCP Data received {"connection_id":204514,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:10:04] local.INFO: Processing buffer {"connection_id":204514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:10:04] local.INFO: IMEI packet received {"connection_id":204514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":204514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:10:06] local.INFO: TCP Data received {"connection_id":204647,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:10:06] local.INFO: Processing buffer {"connection_id":204647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:10:06] local.INFO: IMEI packet received {"connection_id":204647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":204647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:10:09] local.INFO: TCP Data received {"connection_id":204514,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:10:09] local.INFO: Processing buffer {"connection_id":204514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:10:09] local.INFO: IMEI packet received {"connection_id":204514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":204514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:10:10] local.INFO: TCP Data received {"connection_id":204514,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:10:10] local.INFO: Processing buffer {"connection_id":204514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:10:10] local.INFO: Packet analysis {"connection_id":204514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:10:10] local.INFO: Extracted packet for processing {"connection_id":204514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:10:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":1,"angle":169,"satellites":32,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544440320001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:10:10] 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-10-05 14:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791189521000,"timestamp_ms":1791189521000,"timestamp_seconds":1791189521,"priority":1,"record_length":96,"hex_timestamp":"000001a10b371268"} 
[2026-10-05 14:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:10: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-10-05 14: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:10:10] 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-10-05 14: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-10-05 14:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544440320001,"66":12722,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544440320001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:10:10] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:10:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544440320001,"power":12722,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":204514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967804,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:10:10] local.INFO: GPS data processed {"connection_id":204514,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:10:10] local.INFO: Acknowledgment sent {"connection_id":204514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:10:10] local.INFO: TCP Data received {"connection_id":204647,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:10:10] local.INFO: Processing buffer {"connection_id":204647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:10:10] local.INFO: IMEI packet received {"connection_id":204647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":204647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:10:11] local.INFO: TCP Data received {"connection_id":204647,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3600f8012d195f40071fede0003c00512b..."} 
[2026-10-05 14:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3600f8012d195f40071fede0003c00512b..."} 
[2026-10-05 14:10:11] local.INFO: Processing buffer {"connection_id":204647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3600f8012d195f40071fede0003c00512b..."} 
[2026-10-05 14:10:11] local.INFO: Packet analysis {"connection_id":204647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b36"} 
[2026-10-05 14:10:11] local.INFO: Extracted packet for processing {"connection_id":204647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b36"} 
[2026-10-05 14:10:11] local.INFO: GPS Element Parsed {"raw_longitude":756637504,"raw_latitude":119533024,"longitude_deg":75.6637504,"latitude_deg":11.9533024,"altitude":60,"angle":81,"satellites":43,"speed":6,"hex_longitude":"2d195f40","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-10-05 14:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544498944001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053321626648576,"note":"Value kept but may cause issues"} 
[2026-10-05 14:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827968898103603200,"note":"Value kept but may cause issues"} 
[2026-10-05 14:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791189451000,"timestamp_ms":1791189451000,"timestamp_seconds":1791189451,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3600f8"} 
[2026-10-05 14:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:10:11] 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-10-05 14:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 14:10:11] 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-10-05 14:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:10:11] 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-10-05 14:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544498944001,"66":12776,"103":206,"83":41984,"24":6,"16":25053321626648576,"45":1827968898103603200},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544498944001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:10:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:10:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053321626648576,"km_value":25053321626648.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827968898103603200,"description":"Unknown IO ID 45"} 
[2026-10-05 14:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544498944001,"power":12776,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1827968898103603200}} 
[2026-10-05 14:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":204647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:10:11] local.INFO: GPS data processed {"connection_id":204647,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:10:11] local.INFO: Acknowledgment sent {"connection_id":204647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:10:15] local.INFO: TCP Data received {"connection_id":204514,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:10:15] local.INFO: Processing buffer {"connection_id":204514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:10:15] local.INFO: Packet analysis {"connection_id":204514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:10:15] local.INFO: Extracted packet for processing {"connection_id":204514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:10:15] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":1,"angle":169,"satellites":32,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544440320001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:10:15] 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-10-05 14:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791189521000,"timestamp_ms":1791189521000,"timestamp_seconds":1791189521,"priority":1,"record_length":96,"hex_timestamp":"000001a10b371268"} 
[2026-10-05 14:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:10: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-10-05 14:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:10:15] 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-10-05 14:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544440320001,"66":12722,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544440320001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:10:15] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:10:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544440320001,"power":12722,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":204514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:10:15] local.INFO: GPS data processed {"connection_id":204514,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:10:15] local.INFO: Acknowledgment sent {"connection_id":204514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:10:30] local.INFO: TCP Data received {"connection_id":207598,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b362fd8012d7e708005c6cbf00007012e29..."} 
[2026-10-05 14:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b362fd8012d7e708005c6cbf00007012e29..."} 
[2026-10-05 14:10:30] local.INFO: Processing buffer {"connection_id":207598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b362fd8012d7e708005c6cbf00007012e29..."} 
[2026-10-05 14:10:30] local.INFO: Packet analysis {"connection_id":207598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b36"} 
[2026-10-05 14:10:30] local.INFO: Extracted packet for processing {"connection_id":207598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b36"} 
[2026-10-05 14:10:30] local.INFO: GPS Element Parsed {"raw_longitude":763261056,"raw_latitude":96914416,"longitude_deg":76.3261056,"latitude_deg":9.6914416,"altitude":7,"angle":302,"satellites":41,"speed":39,"hex_longitude":"2d7e7080","hex_latitude":"05c6cbf0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 14:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544500480001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:10:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-10-05 14:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1976213237137408,"note":"Value kept but may cause issues"} 
[2026-10-05 14:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9117185626699585536,"note":"Value kept but may cause issues"} 
[2026-10-05 14:10: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-10-05 14:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1791189463000,"timestamp_ms":1791189463000,"timestamp_seconds":1791189463,"priority":1,"record_length":96,"hex_timestamp":"000001a10b362fd8"} 
[2026-10-05 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-10-05 14:10: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-10-05 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 14:10: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-10-05 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-10-05 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-10-05 14:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":207598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":207598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":207598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:10: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-10-05 14:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544500480001,"66":27930,"200":0,"85":12288,"24":39,"16":1976213237137408,"45":9117185626699585536},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-10-05 14:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544500480001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:10:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 14:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1976213237137408,"km_value":1976213237137.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9117185626699585536,"description":"Unknown IO ID 45"} 
[2026-10-05 14:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544500480001,"power":27930,"gsm_signal":0,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":9117185626699585536}} 
[2026-10-05 14:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":207598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:10:30] local.INFO: GPS data processed {"connection_id":207598,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:10:30] local.INFO: Acknowledgment sent {"connection_id":207598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:10:42] local.INFO: TCP Data received {"connection_id":204647,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3608c8012d196100071fedd8003c00652b..."} 
[2026-10-05 14:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3608c8012d196100071fedd8003c00652b..."} 
[2026-10-05 14:10:42] local.INFO: Processing buffer {"connection_id":204647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3608c8012d196100071fedd8003c00652b..."} 
[2026-10-05 14:10:42] local.INFO: Packet analysis {"connection_id":204647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b36"} 
[2026-10-05 14:10:42] local.INFO: Extracted packet for processing {"connection_id":204647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b36"} 
[2026-10-05 14:10:42] local.INFO: GPS Element Parsed {"raw_longitude":756637952,"raw_latitude":119533016,"longitude_deg":75.6637952,"latitude_deg":11.9533016,"altitude":60,"angle":101,"satellites":43,"speed":11,"hex_longitude":"2d196100","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544499456001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053343101485056,"note":"Value kept but may cause issues"} 
[2026-10-05 14:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828250373080342528,"note":"Value kept but may cause issues"} 
[2026-10-05 14:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791189453000,"timestamp_ms":1791189453000,"timestamp_seconds":1791189453,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3608c8"} 
[2026-10-05 14:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 14:10:42] 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-10-05 14: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-10-05 14:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:10:42] 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-10-05 14:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544499456001,"66":12776,"103":206,"83":41984,"24":11,"16":25053343101485056,"45":1828250373080342528},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544499456001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:10:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:10:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053343101485056,"km_value":25053343101485.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828250373080342528,"description":"Unknown IO ID 45"} 
[2026-10-05 14:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544499456001,"power":12776,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1828250373080342528}} 
[2026-10-05 14:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":204647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:10:42] local.INFO: GPS data processed {"connection_id":204647,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:10:42] local.INFO: Acknowledgment sent {"connection_id":204647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:10:52] local.INFO: TCP Data received {"connection_id":204648,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:10:52] local.INFO: Processing buffer {"connection_id":204648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:10:52] local.INFO: IMEI packet received {"connection_id":204648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":204648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:10:55] local.INFO: TCP Data received {"connection_id":204648,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:10:55] local.INFO: Processing buffer {"connection_id":204648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:10:55] local.INFO: IMEI packet received {"connection_id":204648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":204648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:10:59] local.INFO: TCP Data received {"connection_id":204648,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:10:59] local.INFO: Processing buffer {"connection_id":204648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:10:59] local.INFO: IMEI packet received {"connection_id":204648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":204648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:10:59] local.INFO: TCP Data received {"connection_id":204648,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b382f90012d7d3d8005c7c9c0000c014c29..."} 
[2026-10-05 14:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b382f90012d7d3d8005c7c9c0000c014c29..."} 
[2026-10-05 14:11:00] local.INFO: Processing buffer {"connection_id":204648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b382f90012d7d3d8005c7c9c0000c014c29..."} 
[2026-10-05 14:11:00] local.INFO: Packet analysis {"connection_id":204648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b38"} 
[2026-10-05 14:11:00] local.INFO: Extracted packet for processing {"connection_id":204648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b38"} 
[2026-10-05 14:11:00] local.INFO: GPS Element Parsed {"raw_longitude":763182464,"raw_latitude":96979392,"longitude_deg":76.3182464,"latitude_deg":9.6979392,"altitude":12,"angle":332,"satellites":41,"speed":45,"hex_longitude":"2d7d3d80","hex_latitude":"05c7c9c0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 14:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544533760001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:11:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-10-05 14:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1981173924364288,"note":"Value kept but may cause issues"} 
[2026-10-05 14:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029576540214194176,"note":"Value kept but may cause issues"} 
[2026-10-05 14:11:00] 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-10-05 14:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791189594000,"timestamp_ms":1791189594000,"timestamp_seconds":1791189594,"priority":1,"record_length":96,"hex_timestamp":"000001a10b382f90"} 
[2026-10-05 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-10-05 14:11:00] 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-10-05 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 14:11:00] 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-10-05 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-10-05 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-10-05 14:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:11: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-10-05 14:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544533760001,"66":27343,"200":0,"85":12288,"24":45,"16":1981173924364288,"45":9029576540214194176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-10-05 14:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544533760001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:11:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 14:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1981173924364288,"km_value":1981173924364.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029576540214194176,"description":"Unknown IO ID 45"} 
[2026-10-05 14:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544533760001,"power":27343,"gsm_signal":0,"unknown_85":12288,"ignition":45,"odometer":null,"unknown_45":9029576540214194176}} 
[2026-10-05 14:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":204648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:11:00] local.INFO: GPS data processed {"connection_id":204648,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:11:00] local.INFO: Acknowledgment sent {"connection_id":204648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:11:00] local.INFO: TCP Data received {"connection_id":206062,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:11:00] local.INFO: Processing buffer {"connection_id":206062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:11:00] local.INFO: IMEI packet received {"connection_id":206062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":206062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:11:04] local.INFO: TCP Data received {"connection_id":206062,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:11:04] local.INFO: Processing buffer {"connection_id":206062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:11:04] local.INFO: IMEI packet received {"connection_id":206062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":206062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:11:05] local.INFO: TCP Data received {"connection_id":206063,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:11:05] local.INFO: Processing buffer {"connection_id":206063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:11:05] local.INFO: IMEI packet received {"connection_id":206063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":206063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:11:05] local.INFO: TCP Data received {"connection_id":206062,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:11:05] local.INFO: Processing buffer {"connection_id":206062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:11:05] local.INFO: Packet analysis {"connection_id":206062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:11:05] local.INFO: Extracted packet for processing {"connection_id":206062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:11:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":1,"angle":169,"satellites":32,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544440320001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:11: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-10-05 14:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791189521000,"timestamp_ms":1791189521000,"timestamp_seconds":1791189521,"priority":1,"record_length":96,"hex_timestamp":"000001a10b371268"} 
[2026-10-05 14:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:11: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-10-05 14:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:11:05] 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-10-05 14:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":206062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":206062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":206062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544440320001,"66":12722,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544440320001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:11:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:11:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544440320001,"power":12722,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":206062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:11:05] local.INFO: GPS data processed {"connection_id":206062,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:11:05] local.INFO: Acknowledgment sent {"connection_id":206062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:11:10] local.INFO: TCP Data received {"connection_id":206062,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:11:10] local.INFO: Processing buffer {"connection_id":206062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:11:10] local.INFO: Packet analysis {"connection_id":206062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:11:10] local.INFO: Extracted packet for processing {"connection_id":206062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":1,"angle":169,"satellites":32,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544440320001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:11:10] 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-10-05 14:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791189521000,"timestamp_ms":1791189521000,"timestamp_seconds":1791189521,"priority":1,"record_length":96,"hex_timestamp":"000001a10b371268"} 
[2026-10-05 14:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:11: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-10-05 14:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:11:10] 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-10-05 14:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":206062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":206062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":206062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544440320001,"66":12722,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544440320001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:11:10] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544440320001,"power":12722,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":206062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967811,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:11:10] local.INFO: GPS data processed {"connection_id":206062,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:11:10] local.INFO: Acknowledgment sent {"connection_id":206062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:11:10] local.INFO: TCP Data received {"connection_id":206063,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:11:10] local.INFO: Processing buffer {"connection_id":206063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:11:10] local.INFO: IMEI packet received {"connection_id":206063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":206063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:11:11] local.INFO: TCP Data received {"connection_id":206063,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b365ad0012d196840071fec58003a00652a..."} 
[2026-10-05 14:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b365ad0012d196840071fec58003a00652a..."} 
[2026-10-05 14:11:11] local.INFO: Processing buffer {"connection_id":206063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b365ad0012d196840071fec58003a00652a..."} 
[2026-10-05 14:11:11] local.INFO: Packet analysis {"connection_id":206063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b36"} 
[2026-10-05 14:11:11] local.INFO: Extracted packet for processing {"connection_id":206063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b36"} 
[2026-10-05 14:11:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544499968001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828742954289584128,"note":"Value kept but may cause issues"} 
[2026-10-05 14:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791189474000,"timestamp_ms":1791189474000,"timestamp_seconds":1791189474,"priority":1,"record_length":96,"hex_timestamp":"000001a10b365ad0"} 
[2026-10-05 14:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:11:11] 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-10-05 14: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 14:11:11] 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-10-05 14: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-10-05 14:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:11:11] 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-10-05 14:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544499968001,"66":12504,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1828742954289584128},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544499968001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:11:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:11:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828742954289584128,"description":"Unknown IO ID 45"} 
[2026-10-05 14:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544499968001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828742954289584128}} 
[2026-10-05 14:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":206063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:11:11] local.INFO: GPS data processed {"connection_id":206063,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:11:11] local.INFO: Acknowledgment sent {"connection_id":206063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:11:36] local.INFO: TCP Data received {"connection_id":204648,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b384ed0012d7d2f8005c7ee88000a015828..."} 
[2026-10-05 14:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b384ed0012d7d2f8005c7ee88000a015828..."} 
[2026-10-05 14:11:36] local.INFO: Processing buffer {"connection_id":204648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b384ed0012d7d2f8005c7ee88000a015828..."} 
[2026-10-05 14:11:36] local.INFO: Packet analysis {"connection_id":204648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b38"} 
[2026-10-05 14:11:36] local.INFO: Extracted packet for processing {"connection_id":204648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b38"} 
[2026-10-05 14:11:36] local.INFO: GPS Element Parsed {"raw_longitude":763178880,"raw_latitude":96988808,"longitude_deg":76.317888,"latitude_deg":9.6988808,"altitude":10,"angle":344,"satellites":40,"speed":56,"hex_longitude":"2d7d2f80","hex_latitude":"05c7ee88","is_valid_coordinates":true} 
[2026-10-05 14:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544536064001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:11:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-10-05 14:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1981663550636032,"note":"Value kept but may cause issues"} 
[2026-10-05 14:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024509990635421696,"note":"Value kept but may cause issues"} 
[2026-10-05 14:11:36] 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-10-05 14:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791189602000,"timestamp_ms":1791189602000,"timestamp_seconds":1791189602,"priority":1,"record_length":96,"hex_timestamp":"000001a10b384ed0"} 
[2026-10-05 14:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-05 14:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544536064001,"66":27919,"200":0,"85":12288,"24":56,"16":1981663550636032,"45":9024509990635421696},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-10-05 14:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544536064001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:11:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 14:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1981663550636032,"km_value":1981663550636.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024509990635421696,"description":"Unknown IO ID 45"} 
[2026-10-05 14:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544536064001,"power":27919,"gsm_signal":0,"unknown_85":12288,"ignition":56,"odometer":null,"unknown_45":9024509990635421696}} 
[2026-10-05 14:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":204648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:11:36] local.INFO: GPS data processed {"connection_id":204648,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:11:36] local.INFO: Acknowledgment sent {"connection_id":204648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:11:41] local.INFO: TCP Data received {"connection_id":206062,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:11:41] local.INFO: Processing buffer {"connection_id":206062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:11:41] local.INFO: Packet analysis {"connection_id":206062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:11:41] local.INFO: Extracted packet for processing {"connection_id":206062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:11:41] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":1,"angle":169,"satellites":32,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14:11: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-10-05 14:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544440320001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:11:41] 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-10-05 14:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791189521000,"timestamp_ms":1791189521000,"timestamp_seconds":1791189521,"priority":1,"record_length":96,"hex_timestamp":"000001a10b371268"} 
[2026-10-05 14:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:11:41] 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-10-05 14:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:11:41] 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-10-05 14:11: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-10-05 14:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":206062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":206062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":206062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544440320001,"66":12722,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544440320001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:11:41] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544440320001,"power":12722,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":206062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967814,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:11:41] local.INFO: GPS data processed {"connection_id":206062,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:11:41] local.INFO: Acknowledgment sent {"connection_id":206062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:11:42] local.INFO: TCP Data received {"connection_id":206063,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b36acd8012d196840071fec58003a00652a..."} 
[2026-10-05 14:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b36acd8012d196840071fec58003a00652a..."} 
[2026-10-05 14:11:42] local.INFO: Processing buffer {"connection_id":206063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b36acd8012d196840071fec58003a00652a..."} 
[2026-10-05 14:11:42] local.INFO: Packet analysis {"connection_id":206063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b36"} 
[2026-10-05 14:11:42] local.INFO: Extracted packet for processing {"connection_id":206063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b36"} 
[2026-10-05 14:11:42] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544505344001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791189495000,"timestamp_ms":1791189495000,"timestamp_seconds":1791189495,"priority":1,"record_length":96,"hex_timestamp":"000001a10b36acd8"} 
[2026-10-05 14:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 14:11:42] 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-10-05 14: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-10-05 14:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:11:42] 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-10-05 14:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544505344001,"66":12776,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544505344001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:11:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:11:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544505344001,"power":12776,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":206063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:11:42] local.INFO: GPS data processed {"connection_id":206063,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:11:42] local.INFO: Acknowledgment sent {"connection_id":206063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:11:55] local.INFO: TCP Data received {"connection_id":204515,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:11:55] local.INFO: Processing buffer {"connection_id":204515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:11:55] local.INFO: IMEI packet received {"connection_id":204515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":204515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:11:59] local.INFO: TCP Data received {"connection_id":204515,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:11:59] local.INFO: Processing buffer {"connection_id":204515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:11:59] local.INFO: IMEI packet received {"connection_id":204515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":204515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:11:59] local.INFO: TCP Data received {"connection_id":204516,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:11:59] local.INFO: Processing buffer {"connection_id":204516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:11:59] local.INFO: IMEI packet received {"connection_id":204516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":204516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:12:00] local.INFO: TCP Data received {"connection_id":204515,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b384ed0012d7d2f8005c7ee88000a015828..."} 
[2026-10-05 14:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b384ed0012d7d2f8005c7ee88000a015828..."} 
[2026-10-05 14:12:00] local.INFO: Processing buffer {"connection_id":204515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b384ed0012d7d2f8005c7ee88000a015828..."} 
[2026-10-05 14:12:00] local.INFO: Packet analysis {"connection_id":204515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b38"} 
[2026-10-05 14:12:00] local.INFO: Extracted packet for processing {"connection_id":204515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b38"} 
[2026-10-05 14:12:00] local.INFO: GPS Element Parsed {"raw_longitude":763178880,"raw_latitude":96988808,"longitude_deg":76.317888,"latitude_deg":9.6988808,"altitude":10,"angle":344,"satellites":40,"speed":56,"hex_longitude":"2d7d2f80","hex_latitude":"05c7ee88","is_valid_coordinates":true} 
[2026-10-05 14:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544538112001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:12:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-10-05 14:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1981663550636032,"note":"Value kept but may cause issues"} 
[2026-10-05 14:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020569340963883008,"note":"Value kept but may cause issues"} 
[2026-10-05 14:12:00] 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-10-05 14:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791189602000,"timestamp_ms":1791189602000,"timestamp_seconds":1791189602,"priority":1,"record_length":96,"hex_timestamp":"000001a10b384ed0"} 
[2026-10-05 14:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:12:00] 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-10-05 14:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 14:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:12: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-10-05 14:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544538112001,"66":27919,"200":0,"85":12288,"24":56,"16":1981663550636032,"45":9020569340963883008},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-10-05 14:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544538112001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:12:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-10-05 14:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1981663550636032,"km_value":1981663550636.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020569340963883008,"description":"Unknown IO ID 45"} 
[2026-10-05 14:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544538112001,"power":27919,"gsm_signal":0,"unknown_85":12288,"ignition":56,"odometer":null,"unknown_45":9020569340963883008}} 
[2026-10-05 14:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":204515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:12:00] local.INFO: GPS data processed {"connection_id":204515,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:12:00] local.INFO: Acknowledgment sent {"connection_id":204515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:12:04] local.INFO: TCP Data received {"connection_id":204516,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:12:04] local.INFO: Processing buffer {"connection_id":204516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:12:04] local.INFO: IMEI packet received {"connection_id":204516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":204516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:12:05] local.INFO: TCP Data received {"connection_id":204516,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:12:05] local.INFO: Processing buffer {"connection_id":204516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:12:05] local.INFO: Packet analysis {"connection_id":204516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:12:05] local.INFO: Extracted packet for processing {"connection_id":204516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:12:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":1,"angle":169,"satellites":32,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544440320001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:12: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-10-05 14:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791189521000,"timestamp_ms":1791189521000,"timestamp_seconds":1791189521,"priority":1,"record_length":96,"hex_timestamp":"000001a10b371268"} 
[2026-10-05 14:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:12: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-10-05 14:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:12:05] 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-10-05 14:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544440320001,"66":12722,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544440320001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:12:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:12:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544440320001,"power":12722,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":204516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:12:05] local.INFO: GPS data processed {"connection_id":204516,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:12:05] local.INFO: Acknowledgment sent {"connection_id":204516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:12:10] local.INFO: TCP Data received {"connection_id":207600,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:12:10] local.INFO: Processing buffer {"connection_id":207600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:12:10] local.INFO: IMEI packet received {"connection_id":207600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":207600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:12:15] local.INFO: TCP Data received {"connection_id":207600,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:12:15] local.INFO: Processing buffer {"connection_id":207600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:12:15] local.INFO: IMEI packet received {"connection_id":207600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":207600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:12:16] local.INFO: TCP Data received {"connection_id":207600,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b36fee0012d196840071fec58003a006528..."} 
[2026-10-05 14:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b36fee0012d196840071fec58003a006528..."} 
[2026-10-05 14:12:16] local.INFO: Processing buffer {"connection_id":207600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b36fee0012d196840071fec58003a006528..."} 
[2026-10-05 14:12:16] local.INFO: Packet analysis {"connection_id":207600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b36"} 
[2026-10-05 14:12:16] local.INFO: Extracted packet for processing {"connection_id":207600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b36"} 
[2026-10-05 14:12:16] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544510720001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791189516000,"timestamp_ms":1791189516000,"timestamp_seconds":1791189516,"priority":1,"record_length":96,"hex_timestamp":"000001a10b36fee0"} 
[2026-10-05 14:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 14:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:12:16] 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-10-05 14:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544510720001,"66":12743,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544510720001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:12:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:12:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544510720001,"power":12743,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":207600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:12:16] local.INFO: GPS data processed {"connection_id":207600,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:12:16] local.INFO: Acknowledgment sent {"connection_id":207600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:12:20] local.INFO: TCP Data received {"connection_id":207600,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3750e8012d196840071fec58003a00652a..."} 
[2026-10-05 14:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3750e8012d196840071fec58003a00652a..."} 
[2026-10-05 14:12:20] local.INFO: Processing buffer {"connection_id":207600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3750e8012d196840071fec58003a00652a..."} 
[2026-10-05 14:12:20] local.INFO: Packet analysis {"connection_id":207600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:12:20] local.INFO: Extracted packet for processing {"connection_id":207600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:12:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544516096001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791189537000,"timestamp_ms":1791189537000,"timestamp_seconds":1791189537,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3750e8"} 
[2026-10-05 14:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 14:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":207600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":207600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":207600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:12:20] 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-10-05 14:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544516096001,"66":12722,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544516096001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:12:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:12:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544516096001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":207600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:12:21] local.INFO: GPS data processed {"connection_id":207600,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:12:21] local.INFO: Acknowledgment sent {"connection_id":207600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:12:31] local.INFO: TCP Data received {"connection_id":204515,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b39ba18012d7d0cc005c9d0400004000529..."} 
[2026-10-05 14:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b39ba18012d7d0cc005c9d0400004000529..."} 
[2026-10-05 14:12:31] local.INFO: Processing buffer {"connection_id":204515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b39ba18012d7d0cc005c9d0400004000529..."} 
[2026-10-05 14:12:31] local.INFO: Packet analysis {"connection_id":204515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b39"} 
[2026-10-05 14:12:31] local.INFO: Extracted packet for processing {"connection_id":204515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b39"} 
[2026-10-05 14:12:31] local.INFO: GPS Element Parsed {"raw_longitude":763169984,"raw_latitude":97112128,"longitude_deg":76.3169984,"latitude_deg":9.7112128,"altitude":4,"angle":5,"satellites":41,"speed":56,"hex_longitude":"2d7d0cc0","hex_latitude":"05c9d040","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544560128001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1987680799817728,"note":"Value kept but may cause issues"} 
[2026-10-05 14:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009873291877926912,"note":"Value kept but may cause issues"} 
[2026-10-05 14:12:31] 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-10-05 14:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791189695000,"timestamp_ms":1791189695000,"timestamp_seconds":1791189695,"priority":1,"record_length":96,"hex_timestamp":"000001a10b39ba18"} 
[2026-10-05 14:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-05 14:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544560128001,"66":27974,"131":206,"85":15104,"24":56,"16":1987680799817728,"45":9009873291877926912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-10-05 14:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544560128001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:12:31] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-10-05 14:12:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1987680799817728,"km_value":1987680799817.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009873291877926912,"description":"Unknown IO ID 45"} 
[2026-10-05 14:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544560128001,"power":27974,"unknown_131":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":9009873291877926912}} 
[2026-10-05 14:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":204515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:12:31] local.INFO: GPS data processed {"connection_id":204515,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:12:31] local.INFO: Acknowledgment sent {"connection_id":204515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:12:36] local.INFO: TCP Data received {"connection_id":204516,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:12:36] local.INFO: Processing buffer {"connection_id":204516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:12:36] local.INFO: Packet analysis {"connection_id":204516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:12:36] local.INFO: Extracted packet for processing {"connection_id":204516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:12:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":1,"angle":169,"satellites":32,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544440320001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:12:36] 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-10-05 14:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791189521000,"timestamp_ms":1791189521000,"timestamp_seconds":1791189521,"priority":1,"record_length":96,"hex_timestamp":"000001a10b371268"} 
[2026-10-05 14:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:12:36] 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-10-05 14:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:12:36] 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-10-05 14:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544440320001,"66":12722,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544440320001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:12:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:12:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544440320001,"power":12722,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":204516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:12:36] local.INFO: GPS data processed {"connection_id":204516,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:12:36] local.INFO: Acknowledgment sent {"connection_id":204516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:12:55] local.INFO: TCP Data received {"connection_id":206065,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:12:55] local.INFO: Processing buffer {"connection_id":206065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:12:55] local.INFO: IMEI packet received {"connection_id":206065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":206065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:12:55] local.INFO: TCP Data received {"connection_id":206065,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:12:55] local.INFO: Processing buffer {"connection_id":206065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:12:55] local.INFO: IMEI packet received {"connection_id":206065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":206065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:12:59] local.INFO: TCP Data received {"connection_id":207601,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:12:59] local.INFO: Processing buffer {"connection_id":207601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:12:59] local.INFO: IMEI packet received {"connection_id":207601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":207601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:13:00] local.INFO: TCP Data received {"connection_id":206065,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:13:00] local.INFO: Processing buffer {"connection_id":206065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:13:00] local.INFO: IMEI packet received {"connection_id":206065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":206065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:13:00] local.INFO: TCP Data received {"connection_id":206065,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b39d570012d7d104005c9f7200004000629..."} 
[2026-10-05 14:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b39d570012d7d104005c9f7200004000629..."} 
[2026-10-05 14:13:00] local.INFO: Processing buffer {"connection_id":206065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b39d570012d7d104005c9f7200004000629..."} 
[2026-10-05 14:13:00] local.INFO: Packet analysis {"connection_id":206065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b39"} 
[2026-10-05 14:13:00] local.INFO: Extracted packet for processing {"connection_id":206065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b39"} 
[2026-10-05 14:13:00] local.INFO: GPS Element Parsed {"raw_longitude":763170880,"raw_latitude":97122080,"longitude_deg":76.317088,"latitude_deg":9.712208,"altitude":4,"angle":6,"satellites":41,"speed":55,"hex_longitude":"2d7d1040","hex_latitude":"05c9f720","is_valid_coordinates":true} 
[2026-10-05 14:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544561920001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1988166131122176,"note":"Value kept but may cause issues"} 
[2026-10-05 14:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010788085554757632,"note":"Value kept but may cause issues"} 
[2026-10-05 14:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791189702000,"timestamp_ms":1791189702000,"timestamp_seconds":1791189702,"priority":1,"record_length":96,"hex_timestamp":"000001a10b39d570"} 
[2026-10-05 14:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:13:00] 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-10-05 14:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 14:13: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-10-05 14:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:13: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-10-05 14:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544561920001,"66":28028,"131":206,"85":15104,"24":55,"16":1988166131122176,"45":9010788085554757632},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-10-05 14:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544561920001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:13:00] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-10-05 14:13:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1988166131122176,"km_value":1988166131122.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010788085554757632,"description":"Unknown IO ID 45"} 
[2026-10-05 14:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544561920001,"power":28028,"unknown_131":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":9010788085554757632}} 
[2026-10-05 14:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":206065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:13:00] local.INFO: GPS data processed {"connection_id":206065,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:13:00] local.INFO: Acknowledgment sent {"connection_id":206065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:13:04] local.INFO: TCP Data received {"connection_id":207601,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:13:04] local.INFO: Processing buffer {"connection_id":207601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:13:04] local.INFO: IMEI packet received {"connection_id":207601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":207601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:13:05] local.INFO: TCP Data received {"connection_id":207601,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:13:05] local.INFO: Processing buffer {"connection_id":207601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:13:05] local.INFO: Packet analysis {"connection_id":207601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:13:05] local.INFO: Extracted packet for processing {"connection_id":207601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:13:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":1,"angle":169,"satellites":32,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544440320001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:13: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-10-05 14:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791189521000,"timestamp_ms":1791189521000,"timestamp_seconds":1791189521,"priority":1,"record_length":96,"hex_timestamp":"000001a10b371268"} 
[2026-10-05 14:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:13: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-10-05 14:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:13:05] 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-10-05 14:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544440320001,"66":12722,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544440320001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:13:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:13:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544440320001,"power":12722,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":207601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:13:05] local.INFO: GPS data processed {"connection_id":207601,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:13:05] local.INFO: Acknowledgment sent {"connection_id":207601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:13:05] local.INFO: TCP Data received {"connection_id":204517,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:13:05] local.INFO: Processing buffer {"connection_id":204517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:13:05] local.INFO: IMEI packet received {"connection_id":204517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":204517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:13:06] local.INFO: TCP Data received {"connection_id":204517,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:13:06] local.INFO: Processing buffer {"connection_id":204517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:13:06] local.INFO: IMEI packet received {"connection_id":204517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":204517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:13:10] local.INFO: TCP Data received {"connection_id":204517,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:13:10] local.INFO: Processing buffer {"connection_id":204517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:13:10] local.INFO: IMEI packet received {"connection_id":204517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":204517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:13:11] local.INFO: TCP Data received {"connection_id":204517,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b37a2f0012d196840071fec58003a006525..."} 
[2026-10-05 14:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b37a2f0012d196840071fec58003a006525..."} 
[2026-10-05 14:13:11] local.INFO: Processing buffer {"connection_id":204517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b37a2f0012d196840071fec58003a006525..."} 
[2026-10-05 14:13:11] local.INFO: Packet analysis {"connection_id":204517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:13:11] local.INFO: Extracted packet for processing {"connection_id":204517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:13:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544521472001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791189558000,"timestamp_ms":1791189558000,"timestamp_seconds":1791189558,"priority":1,"record_length":96,"hex_timestamp":"000001a10b37a2f0"} 
[2026-10-05 14:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:13:11] 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-10-05 14:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 14:13:11] 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-10-05 14:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:13:11] 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-10-05 14:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544521472001,"66":12765,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544521472001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:13:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:13:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544521472001,"power":12765,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":204517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:13:11] local.INFO: GPS data processed {"connection_id":204517,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:13:11] local.INFO: Acknowledgment sent {"connection_id":204517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:13:12] local.INFO: TCP Data received {"connection_id":204649,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204649,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:13:12] local.INFO: Processing buffer {"connection_id":204649,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:13:12] local.INFO: IMEI packet received {"connection_id":204649,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 14:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":204649,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:13:31] local.INFO: TCP Data received {"connection_id":206065,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b39f0c8012d7d13c005ca1cb8000400082a..."} 
[2026-10-05 14:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b39f0c8012d7d13c005ca1cb8000400082a..."} 
[2026-10-05 14:13:31] local.INFO: Processing buffer {"connection_id":206065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b39f0c8012d7d13c005ca1cb8000400082a..."} 
[2026-10-05 14:13:31] local.INFO: Packet analysis {"connection_id":206065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b39"} 
[2026-10-05 14:13:31] local.INFO: Extracted packet for processing {"connection_id":206065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b39"} 
[2026-10-05 14:13:31] local.INFO: GPS Element Parsed {"raw_longitude":763171776,"raw_latitude":97131704,"longitude_deg":76.3171776,"latitude_deg":9.7131704,"altitude":4,"angle":8,"satellites":42,"speed":54,"hex_longitude":"2d7d13c0","hex_latitude":"05ca1cb8","is_valid_coordinates":true} 
[2026-10-05 14:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544563712001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1988634282557440,"note":"Value kept but may cause issues"} 
[2026-10-05 14:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011773247975792640,"note":"Value kept but may cause issues"} 
[2026-10-05 14:13:31] 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-10-05 14:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791189709000,"timestamp_ms":1791189709000,"timestamp_seconds":1791189709,"priority":1,"record_length":96,"hex_timestamp":"000001a10b39f0c8"} 
[2026-10-05 14:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-10-05 14:13:31] 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-10-05 14:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544563712001,"66":27887,"131":206,"85":15104,"24":54,"16":1988634282557440,"45":9011773247975792640},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-10-05 14:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544563712001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:13:31] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-10-05 14:13:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1988634282557440,"km_value":1988634282557.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011773247975792640,"description":"Unknown IO ID 45"} 
[2026-10-05 14:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544563712001,"power":27887,"unknown_131":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":9011773247975792640}} 
[2026-10-05 14:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":206065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:13:31] local.INFO: GPS data processed {"connection_id":206065,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:13:31] local.INFO: Acknowledgment sent {"connection_id":206065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:13:36] local.INFO: TCP Data received {"connection_id":207601,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:13:36] local.INFO: Processing buffer {"connection_id":207601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b371268012d7b524005e13b08000100a920..."} 
[2026-10-05 14:13:36] local.INFO: Packet analysis {"connection_id":207601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:13:36] local.INFO: Extracted packet for processing {"connection_id":207601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:13:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":1,"angle":169,"satellites":32,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544440320001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:13:36] 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-10-05 14:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791189521000,"timestamp_ms":1791189521000,"timestamp_seconds":1791189521,"priority":1,"record_length":96,"hex_timestamp":"000001a10b371268"} 
[2026-10-05 14:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:13:36] 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-10-05 14: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:13:36] 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-10-05 14: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-10-05 14:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544440320001,"66":12722,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544440320001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:13:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:13:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544440320001,"power":12722,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":207601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967826,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:13:36] local.INFO: GPS data processed {"connection_id":207601,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:13:36] local.INFO: Acknowledgment sent {"connection_id":207601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:13:38] local.INFO: TCP Data received {"connection_id":206066,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:13:38] local.INFO: Processing buffer {"connection_id":206066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:13:38] local.INFO: IMEI packet received {"connection_id":206066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 14:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":206066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:13:42] local.INFO: TCP Data received {"connection_id":204517,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b37f4f8012d196840071fec58003a006526..."} 
[2026-10-05 14:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b37f4f8012d196840071fec58003a006526..."} 
[2026-10-05 14:13:42] local.INFO: Processing buffer {"connection_id":204517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b37f4f8012d196840071fec58003a006526..."} 
[2026-10-05 14:13:42] local.INFO: Packet analysis {"connection_id":204517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:13:42] local.INFO: Extracted packet for processing {"connection_id":204517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b37"} 
[2026-10-05 14:13:42] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544526848001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791189579000,"timestamp_ms":1791189579000,"timestamp_seconds":1791189579,"priority":1,"record_length":96,"hex_timestamp":"000001a10b37f4f8"} 
[2026-10-05 14:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 14:13:42] 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-10-05 14:13: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-10-05 14:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:13:42] 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-10-05 14:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544526848001,"66":12743,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544526848001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:13:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:13:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544526848001,"power":12743,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":204517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:13:42] local.INFO: GPS data processed {"connection_id":204517,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:13:42] local.INFO: Acknowledgment sent {"connection_id":204517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:13:55] local.INFO: TCP Data received {"connection_id":207602,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:13:55] local.INFO: Processing buffer {"connection_id":207602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:13:55] local.INFO: IMEI packet received {"connection_id":207602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":207602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:13:55] local.INFO: TCP Data received {"connection_id":207602,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:13:55] local.INFO: Processing buffer {"connection_id":207602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:13:55] local.INFO: IMEI packet received {"connection_id":207602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":207602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:13:59] local.INFO: TCP Data received {"connection_id":206067,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:13:59] local.INFO: Processing buffer {"connection_id":206067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:13:59] local.INFO: IMEI packet received {"connection_id":206067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":206067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:14:00] local.INFO: TCP Data received {"connection_id":207602,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:14:00] local.INFO: Processing buffer {"connection_id":207602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:14:00] local.INFO: IMEI packet received {"connection_id":207602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":207602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:14:00] local.INFO: TCP Data received {"connection_id":207602,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3a0c20012d7d18c005ca40a8000400032a..."} 
[2026-10-05 14:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3a0c20012d7d18c005ca40a8000400032a..."} 
[2026-10-05 14:14:00] local.INFO: Processing buffer {"connection_id":207602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3a0c20012d7d18c005ca40a8000400032a..."} 
[2026-10-05 14:14:00] local.INFO: Packet analysis {"connection_id":207602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3a"} 
[2026-10-05 14:14:00] local.INFO: Extracted packet for processing {"connection_id":207602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3a"} 
[2026-10-05 14:14:00] local.INFO: GPS Element Parsed {"raw_longitude":763173056,"raw_latitude":97140904,"longitude_deg":76.3173056,"latitude_deg":9.7140904,"altitude":4,"angle":3,"satellites":42,"speed":51,"hex_longitude":"2d7d18c0","hex_latitude":"05ca40a8","is_valid_coordinates":true} 
[2026-10-05 14:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544565504001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1989085254123520,"note":"Value kept but may cause issues"} 
[2026-10-05 14:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012758410396743680,"note":"Value kept but may cause issues"} 
[2026-10-05 14:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791189716000,"timestamp_ms":1791189716000,"timestamp_seconds":1791189716,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3a0c20"} 
[2026-10-05 14:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:14:00] 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-10-05 14:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-10-05 14:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:14: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-10-05 14:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544565504001,"66":27930,"131":206,"85":15104,"24":51,"16":1989085254123520,"45":9012758410396743680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-10-05 14:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544565504001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:14:00] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-10-05 14:14:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1989085254123520,"km_value":1989085254123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012758410396743680,"description":"Unknown IO ID 45"} 
[2026-10-05 14:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544565504001,"power":27930,"unknown_131":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9012758410396743680}} 
[2026-10-05 14:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":207602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:14:00] local.INFO: GPS data processed {"connection_id":207602,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:14:00] local.INFO: Acknowledgment sent {"connection_id":207602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:14:04] local.INFO: TCP Data received {"connection_id":206067,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:14:04] local.INFO: Processing buffer {"connection_id":206067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:14:04] local.INFO: IMEI packet received {"connection_id":206067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":206067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:14:05] local.INFO: TCP Data received {"connection_id":206067,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3baa30012d7b524005e13b08000700a91d..."} 
[2026-10-05 14:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3baa30012d7b524005e13b08000700a91d..."} 
[2026-10-05 14:14:05] local.INFO: Processing buffer {"connection_id":206067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3baa30012d7b524005e13b08000700a91d..."} 
[2026-10-05 14:14:05] local.INFO: Packet analysis {"connection_id":206067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3b"} 
[2026-10-05 14:14:05] local.INFO: Extracted packet for processing {"connection_id":206067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3b"} 
[2026-10-05 14:14:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":7,"angle":169,"satellites":29,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544517376001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:14: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-10-05 14:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791189822000,"timestamp_ms":1791189822000,"timestamp_seconds":1791189822,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3baa30"} 
[2026-10-05 14:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:14: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-10-05 14: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 14:14:05] 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-10-05 14: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-10-05 14:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":206067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":206067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":206067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544517376001,"66":12678,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544517376001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:14:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:14:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544517376001,"power":12678,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":206067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:14:05] local.INFO: GPS data processed {"connection_id":206067,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:14:05] local.INFO: Acknowledgment sent {"connection_id":206067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:14:05] local.INFO: TCP Data received {"connection_id":204518,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:14:05] local.INFO: Processing buffer {"connection_id":204518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:14:05] local.INFO: IMEI packet received {"connection_id":204518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":204518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:14:08] local.INFO: TCP Data received {"connection_id":204518,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:14:08] local.INFO: Processing buffer {"connection_id":204518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:14:08] local.INFO: IMEI packet received {"connection_id":204518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":204518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:14:09] local.INFO: TCP Data received {"connection_id":204518,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b384700012d196840071fec58003a00652b..."} 
[2026-10-05 14:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b384700012d196840071fec58003a00652b..."} 
[2026-10-05 14:14:09] local.INFO: Processing buffer {"connection_id":204518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b384700012d196840071fec58003a00652b..."} 
[2026-10-05 14:14:09] local.INFO: Packet analysis {"connection_id":204518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b38"} 
[2026-10-05 14:14:09] local.INFO: Extracted packet for processing {"connection_id":204518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b38"} 
[2026-10-05 14:14:09] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544532224001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791189600000,"timestamp_ms":1791189600000,"timestamp_seconds":1791189600,"priority":1,"record_length":96,"hex_timestamp":"000001a10b384700"} 
[2026-10-05 14:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:14: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-10-05 14: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 14:14:09] 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-10-05 14: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-10-05 14:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:14:09] 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-10-05 14:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544532224001,"66":12743,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544532224001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:14:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:14:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544532224001,"power":12743,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":204518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:14:09] local.INFO: GPS data processed {"connection_id":204518,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:14:09] local.INFO: Acknowledgment sent {"connection_id":204518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:14:32] local.INFO: TCP Data received {"connection_id":207602,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3b9e78012d7d4e8005cc4348000600072b..."} 
[2026-10-05 14:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3b9e78012d7d4e8005cc4348000600072b..."} 
[2026-10-05 14:14:32] local.INFO: Processing buffer {"connection_id":207602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3b9e78012d7d4e8005cc4348000600072b..."} 
[2026-10-05 14:14:32] local.INFO: Packet analysis {"connection_id":207602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3b"} 
[2026-10-05 14:14:32] local.INFO: Extracted packet for processing {"connection_id":207602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3b"} 
[2026-10-05 14:14:32] local.INFO: GPS Element Parsed {"raw_longitude":763186816,"raw_latitude":97272648,"longitude_deg":76.3186816,"latitude_deg":9.7272648,"altitude":6,"angle":7,"satellites":43,"speed":54,"hex_longitude":"2d7d4e80","hex_latitude":"05cc4348","is_valid_coordinates":true} 
[2026-10-05 14:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544591872001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1995514820165632,"note":"Value kept but may cause issues"} 
[2026-10-05 14:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027606215451944960,"note":"Value kept but may cause issues"} 
[2026-10-05 14:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791189819000,"timestamp_ms":1791189819000,"timestamp_seconds":1791189819,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3b9e78"} 
[2026-10-05 14:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 14:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544591872001,"66":27995,"129":206,"85":15104,"24":54,"16":1995514820165632,"45":9027606215451944960},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-10-05 14:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544591872001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:14:32] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-10-05 14:14:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1995514820165632,"km_value":1995514820165.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027606215451944960,"description":"Unknown IO ID 45"} 
[2026-10-05 14:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544591872001,"power":27995,"unknown_129":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":9027606215451944960}} 
[2026-10-05 14:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":207602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:14:32] local.INFO: GPS data processed {"connection_id":207602,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:14:32] local.INFO: Acknowledgment sent {"connection_id":207602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:14:36] local.INFO: TCP Data received {"connection_id":206067,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3baa30012d7b524005e13b08000700a91d..."} 
[2026-10-05 14:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3baa30012d7b524005e13b08000700a91d..."} 
[2026-10-05 14:14:36] local.INFO: Processing buffer {"connection_id":206067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3baa30012d7b524005e13b08000700a91d..."} 
[2026-10-05 14:14:36] local.INFO: Packet analysis {"connection_id":206067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3b"} 
[2026-10-05 14:14:36] local.INFO: Extracted packet for processing {"connection_id":206067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3b"} 
[2026-10-05 14:14:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":7,"angle":169,"satellites":29,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544517376001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:14:36] 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-10-05 14:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791189822000,"timestamp_ms":1791189822000,"timestamp_seconds":1791189822,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3baa30"} 
[2026-10-05 14:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 14: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 14:14:36] 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-10-05 14: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-10-05 14:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544517376001,"66":12678,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544517376001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:14:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:14:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544517376001,"power":12678,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":206067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967832,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:14:36] local.INFO: GPS data processed {"connection_id":206067,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:14:36] local.INFO: Acknowledgment sent {"connection_id":206067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:14:40] local.INFO: TCP Data received {"connection_id":204518,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b389908012d196840071fec58003a006521..."} 
[2026-10-05 14:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b389908012d196840071fec58003a006521..."} 
[2026-10-05 14:14:40] local.INFO: Processing buffer {"connection_id":204518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b389908012d196840071fec58003a006521..."} 
[2026-10-05 14:14:40] local.INFO: Packet analysis {"connection_id":204518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b38"} 
[2026-10-05 14:14:40] local.INFO: Extracted packet for processing {"connection_id":204518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b38"} 
[2026-10-05 14:14:40] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544537600001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791189621000,"timestamp_ms":1791189621000,"timestamp_seconds":1791189621,"priority":1,"record_length":96,"hex_timestamp":"000001a10b389908"} 
[2026-10-05 14:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:14:40] 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-10-05 14:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 14:14:40] 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-10-05 14:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:14:40] 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-10-05 14:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544537600001,"66":12765,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544537600001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:14:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:14:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544537600001,"power":12765,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":204518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:14:40] local.INFO: GPS data processed {"connection_id":204518,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:14:40] local.INFO: Acknowledgment sent {"connection_id":204518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:14:55] local.INFO: TCP Data received {"connection_id":204651,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:14:55] local.INFO: Processing buffer {"connection_id":204651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:14:55] local.INFO: IMEI packet received {"connection_id":204651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":204651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:14:59] local.INFO: TCP Data received {"connection_id":204651,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:14:59] local.INFO: Processing buffer {"connection_id":204651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:14:59] local.INFO: IMEI packet received {"connection_id":204651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":204651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:15:00] local.INFO: TCP Data received {"connection_id":204651,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3bb9d0012d7d528005cc69400006000529..."} 
[2026-10-05 14:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3bb9d0012d7d528005cc69400006000529..."} 
[2026-10-05 14:15:00] local.INFO: Processing buffer {"connection_id":204651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3bb9d0012d7d528005cc69400006000529..."} 
[2026-10-05 14:15:00] local.INFO: Packet analysis {"connection_id":204651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3b"} 
[2026-10-05 14:15:00] local.INFO: Extracted packet for processing {"connection_id":204651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3b"} 
[2026-10-05 14:15:00] local.INFO: GPS Element Parsed {"raw_longitude":763187840,"raw_latitude":97282368,"longitude_deg":76.318784,"latitude_deg":9.7282368,"altitude":6,"angle":5,"satellites":41,"speed":56,"hex_longitude":"2d7d5280","hex_latitude":"05cc6940","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544593664001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1995987266568192,"note":"Value kept but may cause issues"} 
[2026-10-05 14:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029295065314576384,"note":"Value kept but may cause issues"} 
[2026-10-05 14:15:00] 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-10-05 14:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791189826000,"timestamp_ms":1791189826000,"timestamp_seconds":1791189826,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3bb9d0"} 
[2026-10-05 14:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:15:00] 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-10-05 14:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 14:15:00] 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-10-05 14: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-10-05 14:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:15: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-10-05 14:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544593664001,"66":27908,"129":206,"85":15104,"24":56,"16":1995987266568192,"45":9029295065314576384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-10-05 14:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544593664001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:15:00] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-10-05 14:15:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1995987266568192,"km_value":1995987266568.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029295065314576384,"description":"Unknown IO ID 45"} 
[2026-10-05 14:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544593664001,"power":27908,"unknown_129":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":9029295065314576384}} 
[2026-10-05 14:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":204651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:15:00] local.INFO: GPS data processed {"connection_id":204651,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:15:00] local.INFO: Acknowledgment sent {"connection_id":204651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:15:04] local.INFO: TCP Data received {"connection_id":204652,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:15:04] local.INFO: Processing buffer {"connection_id":204652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:15:04] local.INFO: IMEI packet received {"connection_id":204652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":204652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:15:05] local.INFO: TCP Data received {"connection_id":204653,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:15:05] local.INFO: Processing buffer {"connection_id":204653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:15:05] local.INFO: IMEI packet received {"connection_id":204653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":204653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:15:09] local.INFO: TCP Data received {"connection_id":204652,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:15:09] local.INFO: Processing buffer {"connection_id":204652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:15:09] local.INFO: IMEI packet received {"connection_id":204652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":204652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:15:10] local.INFO: TCP Data received {"connection_id":204652,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3baa30012d7b524005e13b08000700a91d..."} 
[2026-10-05 14:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3baa30012d7b524005e13b08000700a91d..."} 
[2026-10-05 14:15:10] local.INFO: Processing buffer {"connection_id":204652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3baa30012d7b524005e13b08000700a91d..."} 
[2026-10-05 14:15:10] local.INFO: Packet analysis {"connection_id":204652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3b"} 
[2026-10-05 14:15:10] local.INFO: Extracted packet for processing {"connection_id":204652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3b"} 
[2026-10-05 14:15:10] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":7,"angle":169,"satellites":29,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544517376001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:15:10] 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-10-05 14:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791189822000,"timestamp_ms":1791189822000,"timestamp_seconds":1791189822,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3baa30"} 
[2026-10-05 14:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 14: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 14:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544517376001,"66":12678,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544517376001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:15:10] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:15:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544517376001,"power":12678,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":204652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967835,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:15:10] local.INFO: GPS data processed {"connection_id":204652,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:15:10] local.INFO: Acknowledgment sent {"connection_id":204652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:15:10] local.INFO: TCP Data received {"connection_id":204653,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:15:10] local.INFO: Processing buffer {"connection_id":204653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:15:10] local.INFO: IMEI packet received {"connection_id":204653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":204653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:15:11] local.INFO: TCP Data received {"connection_id":204653,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b38eb10012d196840071fec58003a006529..."} 
[2026-10-05 14:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b38eb10012d196840071fec58003a006529..."} 
[2026-10-05 14:15:11] local.INFO: Processing buffer {"connection_id":204653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b38eb10012d196840071fec58003a006529..."} 
[2026-10-05 14:15:11] local.INFO: Packet analysis {"connection_id":204653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b38"} 
[2026-10-05 14:15:11] local.INFO: Extracted packet for processing {"connection_id":204653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b38"} 
[2026-10-05 14:15:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544542976001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791189642000,"timestamp_ms":1791189642000,"timestamp_seconds":1791189642,"priority":1,"record_length":96,"hex_timestamp":"000001a10b38eb10"} 
[2026-10-05 14:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:15:11] 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-10-05 14:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 14:15:11] 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-10-05 14:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:15:11] 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-10-05 14:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544542976001,"66":12722,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544542976001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:15:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:15:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544542976001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":204653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:15:11] local.INFO: GPS data processed {"connection_id":204653,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:15:11] local.INFO: Acknowledgment sent {"connection_id":204653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:15:15] local.INFO: TCP Data received {"connection_id":204652,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3baa30012d7b524005e13b08000700a91d..."} 
[2026-10-05 14:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3baa30012d7b524005e13b08000700a91d..."} 
[2026-10-05 14:15:15] local.INFO: Processing buffer {"connection_id":204652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3baa30012d7b524005e13b08000700a91d..."} 
[2026-10-05 14:15:15] local.INFO: Packet analysis {"connection_id":204652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3b"} 
[2026-10-05 14:15:15] local.INFO: Extracted packet for processing {"connection_id":204652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3b"} 
[2026-10-05 14:15:15] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":7,"angle":169,"satellites":29,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544517376001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:15:15] 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-10-05 14:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791189822000,"timestamp_ms":1791189822000,"timestamp_seconds":1791189822,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3baa30"} 
[2026-10-05 14:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 14: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 14:15: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-10-05 14: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-10-05 14:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544517376001,"66":12678,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544517376001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:15:15] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:15:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544517376001,"power":12678,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":204652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967837,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:15:15] local.INFO: GPS data processed {"connection_id":204652,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:15:15] local.INFO: Acknowledgment sent {"connection_id":204652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:15:31] local.INFO: TCP Data received {"connection_id":204651,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3bd528012d7d554005cc90180006000228..."} 
[2026-10-05 14:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3bd528012d7d554005cc90180006000228..."} 
[2026-10-05 14:15:31] local.INFO: Processing buffer {"connection_id":204651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3bd528012d7d554005cc90180006000228..."} 
[2026-10-05 14:15:31] local.INFO: Packet analysis {"connection_id":204651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3b"} 
[2026-10-05 14:15:31] local.INFO: Extracted packet for processing {"connection_id":204651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3b"} 
[2026-10-05 14:15:31] local.INFO: GPS Element Parsed {"raw_longitude":763188544,"raw_latitude":97292312,"longitude_deg":76.3188544,"latitude_deg":9.7292312,"altitude":6,"angle":2,"satellites":40,"speed":56,"hex_longitude":"2d7d5540","hex_latitude":"05cc9018","is_valid_coordinates":true} 
[2026-10-05 14:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544595456001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1996472597872640,"note":"Value kept but may cause issues"} 
[2026-10-05 14:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030420965223907328,"note":"Value kept but may cause issues"} 
[2026-10-05 14:15:31] 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-10-05 14:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791189833000,"timestamp_ms":1791189833000,"timestamp_seconds":1791189833,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3bd528"} 
[2026-10-05 14:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 14:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544595456001,"66":27767,"129":206,"85":15104,"24":56,"16":1996472597872640,"45":9030420965223907328},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-10-05 14:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544595456001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:15:31] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-10-05 14:15:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1996472597872640,"km_value":1996472597872.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030420965223907328,"description":"Unknown IO ID 45"} 
[2026-10-05 14:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544595456001,"power":27767,"unknown_129":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":9030420965223907328}} 
[2026-10-05 14:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":204651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:15:31] local.INFO: GPS data processed {"connection_id":204651,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:15:31] local.INFO: Acknowledgment sent {"connection_id":204651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:15:42] local.INFO: TCP Data received {"connection_id":204653,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b393d18012d196840071fec58003a00652a..."} 
[2026-10-05 14:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b393d18012d196840071fec58003a00652a..."} 
[2026-10-05 14:15:42] local.INFO: Processing buffer {"connection_id":204653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b393d18012d196840071fec58003a00652a..."} 
[2026-10-05 14:15:42] local.INFO: Packet analysis {"connection_id":204653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b39"} 
[2026-10-05 14:15:42] local.INFO: Extracted packet for processing {"connection_id":204653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b39"} 
[2026-10-05 14:15:42] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:15: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-10-05 14:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544548352001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791189663000,"timestamp_ms":1791189663000,"timestamp_seconds":1791189663,"priority":1,"record_length":96,"hex_timestamp":"000001a10b393d18"} 
[2026-10-05 14:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 14:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:15: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-10-05 14:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:15:42] 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-10-05 14:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544548352001,"66":12722,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544548352001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:15:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:15:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544548352001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":204653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:15:42] local.INFO: GPS data processed {"connection_id":204653,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:15:42] local.INFO: Acknowledgment sent {"connection_id":204653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:15:56] local.INFO: TCP Data received {"connection_id":207604,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:15:56] local.INFO: Processing buffer {"connection_id":207604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:15:56] local.INFO: IMEI packet received {"connection_id":207604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":207604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:15:59] local.INFO: TCP Data received {"connection_id":207603,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:15:59] local.INFO: Processing buffer {"connection_id":207603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:15:59] local.INFO: IMEI packet received {"connection_id":207603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":207603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:15:59] local.INFO: TCP Data received {"connection_id":207604,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:15:59] local.INFO: Processing buffer {"connection_id":207604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:15:59] local.INFO: IMEI packet received {"connection_id":207604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":207604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:16:00] local.INFO: TCP Data received {"connection_id":207603,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:16:00] local.INFO: Processing buffer {"connection_id":207603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:16:00] local.INFO: IMEI packet received {"connection_id":207603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":207603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:16:04] local.INFO: TCP Data received {"connection_id":207604,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:16:04] local.INFO: Processing buffer {"connection_id":207604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:16:04] local.INFO: IMEI packet received {"connection_id":207604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":207604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:16:05] local.INFO: TCP Data received {"connection_id":207603,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:16:05] local.INFO: Processing buffer {"connection_id":207603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:16:05] local.INFO: IMEI packet received {"connection_id":207603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":207603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:16:05] local.INFO: TCP Data received {"connection_id":207605,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:16:05] local.INFO: Processing buffer {"connection_id":207605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:16:05] local.INFO: IMEI packet received {"connection_id":207605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":207605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:16:05] local.INFO: TCP Data received {"connection_id":207604,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3d4840012d7b524005e13b08000700a920..."} 
[2026-10-05 14:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3d4840012d7b524005e13b08000700a920..."} 
[2026-10-05 14:16:05] local.INFO: Processing buffer {"connection_id":207604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3d4840012d7b524005e13b08000700a920..."} 
[2026-10-05 14:16:05] local.INFO: Packet analysis {"connection_id":207604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3d"} 
[2026-10-05 14:16:05] local.INFO: Extracted packet for processing {"connection_id":207604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3d"} 
[2026-10-05 14:16:05] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":7,"angle":169,"satellites":32,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544594432001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:16: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-10-05 14:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791189928000,"timestamp_ms":1791189928000,"timestamp_seconds":1791189928,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3d4840"} 
[2026-10-05 14:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:16: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-10-05 14: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 14:16:05] 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-10-05 14: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-10-05 14:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544594432001,"66":12689,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544594432001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:16:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:16:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544594432001,"power":12689,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":207604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:16:05] local.INFO: GPS data processed {"connection_id":207604,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:16:05] local.INFO: Acknowledgment sent {"connection_id":207604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:16:06] local.INFO: TCP Data received {"connection_id":207603,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3bf080012d7d554005ccb6a0000601672a..."} 
[2026-10-05 14:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3bf080012d7d554005ccb6a0000601672a..."} 
[2026-10-05 14:16:06] local.INFO: Processing buffer {"connection_id":207603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3bf080012d7d554005ccb6a0000601672a..."} 
[2026-10-05 14:16:06] local.INFO: Packet analysis {"connection_id":207603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3b"} 
[2026-10-05 14:16:06] local.INFO: Extracted packet for processing {"connection_id":207603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3b"} 
[2026-10-05 14:16:06] local.INFO: GPS Element Parsed {"raw_longitude":763188544,"raw_latitude":97302176,"longitude_deg":76.3188544,"latitude_deg":9.7302176,"altitude":6,"angle":359,"satellites":42,"speed":56,"hex_longitude":"2d7d5540","hex_latitude":"05ccb6a0","is_valid_coordinates":true} 
[2026-10-05 14:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544597248001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1996949339242496,"note":"Value kept but may cause issues"} 
[2026-10-05 14:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031195021412407296,"note":"Value kept but may cause issues"} 
[2026-10-05 14:16:06] 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-10-05 14:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791189840000,"timestamp_ms":1791189840000,"timestamp_seconds":1791189840,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3bf080"} 
[2026-10-05 14:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:16: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-10-05 14:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-05 14:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:16: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-10-05 14:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544597248001,"66":27974,"129":206,"85":15104,"24":56,"16":1996949339242496,"45":9031195021412407296},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-10-05 14:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544597248001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:16:06] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-10-05 14:16:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1996949339242496,"km_value":1996949339242.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031195021412407296,"description":"Unknown IO ID 45"} 
[2026-10-05 14:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544597248001,"power":27974,"unknown_129":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":9031195021412407296}} 
[2026-10-05 14:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":207603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:16:06] local.INFO: GPS data processed {"connection_id":207603,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:16:06] local.INFO: Acknowledgment sent {"connection_id":207603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:16:07] local.INFO: TCP Data received {"connection_id":207603,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3c0bd8012d7d538005ccddc80006016329..."} 
[2026-10-05 14:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3c0bd8012d7d538005ccddc80006016329..."} 
[2026-10-05 14:16:07] local.INFO: Processing buffer {"connection_id":207603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3c0bd8012d7d538005ccddc80006016329..."} 
[2026-10-05 14:16:07] local.INFO: Packet analysis {"connection_id":207603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3c"} 
[2026-10-05 14:16:07] local.INFO: Extracted packet for processing {"connection_id":207603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3c"} 
[2026-10-05 14:16:07] local.INFO: GPS Element Parsed {"raw_longitude":763188096,"raw_latitude":97312200,"longitude_deg":76.3188096,"latitude_deg":9.73122,"altitude":6,"angle":355,"satellites":41,"speed":57,"hex_longitude":"2d7d5380","hex_latitude":"05ccddc8","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544599040001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1997434670546944,"note":"Value kept but may cause issues"} 
[2026-10-05 14:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031195021414932480,"note":"Value kept but may cause issues"} 
[2026-10-05 14:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791189847000,"timestamp_ms":1791189847000,"timestamp_seconds":1791189847,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3c0bd8"} 
[2026-10-05 14:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:16: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-10-05 14: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 14:16:07] 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-10-05 14: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-10-05 14:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:16: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-10-05 14:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544599040001,"66":27908,"236":206,"85":15104,"24":57,"16":1997434670546944,"45":9031195021414932480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-10-05 14:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544599040001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:16:07] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-05 14:16:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1997434670546944,"km_value":1997434670546.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031195021414932480,"description":"Unknown IO ID 45"} 
[2026-10-05 14:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544599040001,"power":27908,"unknown_236":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9031195021414932480}} 
[2026-10-05 14:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":207603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:16:07] local.INFO: GPS data processed {"connection_id":207603,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:16:07] local.INFO: Acknowledgment sent {"connection_id":207603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:16:10] local.INFO: TCP Data received {"connection_id":207605,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:16:10] local.INFO: Processing buffer {"connection_id":207605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:16:10] local.INFO: IMEI packet received {"connection_id":207605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":207605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:16:11] local.INFO: TCP Data received {"connection_id":207605,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b398f20012d196840071fec58003a006529..."} 
[2026-10-05 14:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b398f20012d196840071fec58003a006529..."} 
[2026-10-05 14:16:11] local.INFO: Processing buffer {"connection_id":207605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b398f20012d196840071fec58003a006529..."} 
[2026-10-05 14:16:11] local.INFO: Packet analysis {"connection_id":207605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b39"} 
[2026-10-05 14:16:11] local.INFO: Extracted packet for processing {"connection_id":207605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b39"} 
[2026-10-05 14:16:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544553728001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791189684000,"timestamp_ms":1791189684000,"timestamp_seconds":1791189684,"priority":1,"record_length":96,"hex_timestamp":"000001a10b398f20"} 
[2026-10-05 14:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:16:11] 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-10-05 14:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 14:16:11] 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-10-05 14:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:16:11] 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-10-05 14:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544553728001,"66":12722,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544553728001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:16:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:16:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544553728001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":207605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:16:11] local.INFO: GPS data processed {"connection_id":207605,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:16:11] local.INFO: Acknowledgment sent {"connection_id":207605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:16:36] local.INFO: TCP Data received {"connection_id":207604,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3d4840012d7b524005e13b08000700a920..."} 
[2026-10-05 14:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3d4840012d7b524005e13b08000700a920..."} 
[2026-10-05 14:16:36] local.INFO: Processing buffer {"connection_id":207604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3d4840012d7b524005e13b08000700a920..."} 
[2026-10-05 14:16:36] local.INFO: Packet analysis {"connection_id":207604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3d"} 
[2026-10-05 14:16:36] local.INFO: Extracted packet for processing {"connection_id":207604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3d"} 
[2026-10-05 14:16:36] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98646792,"longitude_deg":76.3056704,"latitude_deg":9.8646792,"altitude":7,"angle":169,"satellites":32,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13b08","is_valid_coordinates":true} 
[2026-10-05 14:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544621568001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:16:36] 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-10-05 14:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791189928000,"timestamp_ms":1791189928000,"timestamp_seconds":1791189928,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3d4840"} 
[2026-10-05 14:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 14:16:36] 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-10-05 14:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544621568001,"66":12689,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544621568001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:16:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:16:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544621568001,"power":12689,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":207604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:16:36] local.INFO: GPS data processed {"connection_id":207604,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:16:36] local.INFO: Acknowledgment sent {"connection_id":207604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:16:38] local.INFO: TCP Data received {"connection_id":207603,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3d8aa8012d7d4b8005ceccd8000a00002c..."} 
[2026-10-05 14:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3d8aa8012d7d4b8005ceccd8000a00002c..."} 
[2026-10-05 14:16:38] local.INFO: Processing buffer {"connection_id":207603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3d8aa8012d7d4b8005ceccd8000a00002c..."} 
[2026-10-05 14:16:38] local.INFO: Packet analysis {"connection_id":207603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3d"} 
[2026-10-05 14:16:38] local.INFO: Extracted packet for processing {"connection_id":207603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3d"} 
[2026-10-05 14:16:38] local.INFO: GPS Element Parsed {"raw_longitude":763186048,"raw_latitude":97438936,"longitude_deg":76.3186048,"latitude_deg":9.7438936,"altitude":10,"angle":0,"satellites":44,"speed":45,"hex_longitude":"2d7d4b80","hex_latitude":"05ceccd8","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544623872001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2003597948616704,"note":"Value kept but may cause issues"} 
[2026-10-05 14:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028239534192121856,"note":"Value kept but may cause issues"} 
[2026-10-05 14:16:38] 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-10-05 14:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791189945000,"timestamp_ms":1791189945000,"timestamp_seconds":1791189945,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3d8aa8"} 
[2026-10-05 14:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:16: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-10-05 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-05 14:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544623872001,"66":27800,"235":206,"85":15104,"24":45,"16":2003597948616704,"45":9028239534192121856},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-10-05 14:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544623872001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:16:38] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-10-05 14:16:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2003597948616704,"km_value":2003597948616.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028239534192121856,"description":"Unknown IO ID 45"} 
[2026-10-05 14:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544623872001,"power":27800,"unknown_235":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9028239534192121856}} 
[2026-10-05 14:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":207603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:16:38] local.INFO: GPS data processed {"connection_id":207603,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:16:38] local.INFO: Acknowledgment sent {"connection_id":207603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:16:42] local.INFO: TCP Data received {"connection_id":207605,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3d1578012d196840071fec58003a006528..."} 
[2026-10-05 14:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3d1578012d196840071fec58003a006528..."} 
[2026-10-05 14:16:42] local.INFO: Processing buffer {"connection_id":207605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3d1578012d196840071fec58003a006528..."} 
[2026-10-05 14:16:42] local.INFO: Packet analysis {"connection_id":207605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3d"} 
[2026-10-05 14:16:42] local.INFO: Extracted packet for processing {"connection_id":207605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3d"} 
[2026-10-05 14:16:42] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544612864001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791189915000,"timestamp_ms":1791189915000,"timestamp_seconds":1791189915,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3d1578"} 
[2026-10-05 14:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-05 14:16:42] 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-10-05 14:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:16:42] 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-10-05 14:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544612864001,"66":12667,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544612864001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:16:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:16:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544612864001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":207605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:16:42] local.INFO: GPS data processed {"connection_id":207605,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:16:42] local.INFO: Acknowledgment sent {"connection_id":207605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:16:50] local.INFO: TCP Data received {"connection_id":204654,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:16:50] local.INFO: Processing buffer {"connection_id":204654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:16:50] local.INFO: IMEI packet received {"connection_id":204654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":204654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:16:56] local.INFO: TCP Data received {"connection_id":204654,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:16:56] local.INFO: Processing buffer {"connection_id":204654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:16:56] local.INFO: IMEI packet received {"connection_id":204654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":204654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:16:56] local.INFO: TCP Data received {"connection_id":204654,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:16:56] local.INFO: Processing buffer {"connection_id":204654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:16:56] local.INFO: IMEI packet received {"connection_id":204654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":204654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:16:57] local.INFO: TCP Data received {"connection_id":204654,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3da9e8012d7d4b4005cef4a0000701672a..."} 
[2026-10-05 14:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3da9e8012d7d4b4005cef4a0000701672a..."} 
[2026-10-05 14:16:57] local.INFO: Processing buffer {"connection_id":204654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3da9e8012d7d4b4005cef4a0000701672a..."} 
[2026-10-05 14:16:57] local.INFO: Packet analysis {"connection_id":204654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3d"} 
[2026-10-05 14:16:57] local.INFO: Extracted packet for processing {"connection_id":204654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3d"} 
[2026-10-05 14:16:57] local.INFO: GPS Element Parsed {"raw_longitude":763185984,"raw_latitude":97449120,"longitude_deg":76.3185984,"latitude_deg":9.744912,"altitude":7,"angle":359,"satellites":42,"speed":55,"hex_longitude":"2d7d4b40","hex_latitude":"05cef4a0","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544625920001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2004091869855744,"note":"Value kept but may cause issues"} 
[2026-10-05 14:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028450640427014144,"note":"Value kept but may cause issues"} 
[2026-10-05 14:16:57] 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-10-05 14:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1791189953000,"timestamp_ms":1791189953000,"timestamp_seconds":1791189953,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3da9e8"} 
[2026-10-05 14:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:16:57] 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-10-05 14: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":152,"data_length":795,"current_offset":136} 
[2026-10-05 14:16:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":204654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":204654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":204654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14: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-10-05 14:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544625920001,"66":27974,"198":206,"85":15104,"24":55,"16":2004091869855744,"45":9028450640427014144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-10-05 14:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544625920001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:16:57] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-05 14:16:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2004091869855744,"km_value":2004091869855.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028450640427014144,"description":"Unknown IO ID 45"} 
[2026-10-05 14:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544625920001,"power":27974,"unknown_198":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":9028450640427014144}} 
[2026-10-05 14:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":204654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:16:57] local.INFO: GPS data processed {"connection_id":204654,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:16:57] local.INFO: Acknowledgment sent {"connection_id":204654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:17:00] local.INFO: TCP Data received {"connection_id":206069,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:17:00] local.INFO: Processing buffer {"connection_id":206069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:17:00] local.INFO: IMEI packet received {"connection_id":206069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":206069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:17:00] local.INFO: TCP Data received {"connection_id":206069,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:17:00] local.INFO: Processing buffer {"connection_id":206069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:17:00] local.INFO: IMEI packet received {"connection_id":206069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":206069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:17:00] local.INFO: TCP Data received {"connection_id":204654,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3dc540012d7d4a8005cf1b700005016629..."} 
[2026-10-05 14:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3dc540012d7d4a8005cf1b700005016629..."} 
[2026-10-05 14:17:00] local.INFO: Processing buffer {"connection_id":204654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3dc540012d7d4a8005cf1b700005016629..."} 
[2026-10-05 14:17:00] local.INFO: Packet analysis {"connection_id":204654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3d"} 
[2026-10-05 14:17:00] local.INFO: Extracted packet for processing {"connection_id":204654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3d"} 
[2026-10-05 14:17:00] local.INFO: GPS Element Parsed {"raw_longitude":763185792,"raw_latitude":97459056,"longitude_deg":76.3185792,"latitude_deg":9.7459056,"altitude":5,"angle":358,"satellites":41,"speed":56,"hex_longitude":"2d7d4a80","hex_latitude":"05cf1b70","is_valid_coordinates":true} 
[2026-10-05 14:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544627968001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2004572906192896,"note":"Value kept but may cause issues"} 
[2026-10-05 14:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028380271685443584,"note":"Value kept but may cause issues"} 
[2026-10-05 14:17:00] 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-10-05 14:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791189960000,"timestamp_ms":1791189960000,"timestamp_seconds":1791189960,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3dc540"} 
[2026-10-05 14:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:17:00] 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-10-05 14:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 14:17: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-10-05 14:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:17: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-10-05 14:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544627968001,"66":27930,"198":206,"85":15104,"24":56,"16":2004572906192896,"45":9028380271685443584},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-10-05 14:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544627968001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:17:00] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-05 14:17:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2004572906192896,"km_value":2004572906192.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028380271685443584,"description":"Unknown IO ID 45"} 
[2026-10-05 14:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544627968001,"power":27930,"unknown_198":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":9028380271685443584}} 
[2026-10-05 14:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":204654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:17:00] local.INFO: GPS data processed {"connection_id":204654,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:17:00] local.INFO: Acknowledgment sent {"connection_id":204654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:17:04] local.INFO: TCP Data received {"connection_id":206069,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:17:04] local.INFO: Processing buffer {"connection_id":206069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:17:04] local.INFO: IMEI packet received {"connection_id":206069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":206069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:17:05] local.INFO: TCP Data received {"connection_id":204655,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:17:05] local.INFO: Processing buffer {"connection_id":204655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:17:05] local.INFO: IMEI packet received {"connection_id":204655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":204655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:17:05] local.INFO: TCP Data received {"connection_id":206069,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3d5fb0012d7b540005e13a30000700511d..."} 
[2026-10-05 14:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3d5fb0012d7b540005e13a30000700511d..."} 
[2026-10-05 14:17:05] local.INFO: Processing buffer {"connection_id":206069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3d5fb0012d7b540005e13a30000700511d..."} 
[2026-10-05 14:17:05] local.INFO: Packet analysis {"connection_id":206069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3d"} 
[2026-10-05 14:17:05] local.INFO: Extracted packet for processing {"connection_id":206069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3d"} 
[2026-10-05 14:17:05] local.INFO: GPS Element Parsed {"raw_longitude":763057152,"raw_latitude":98646576,"longitude_deg":76.3057152,"latitude_deg":9.8646576,"altitude":7,"angle":81,"satellites":29,"speed":0,"hex_longitude":"2d7b5400","hex_latitude":"05e13a30","is_valid_coordinates":true} 
[2026-10-05 14:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544621568001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139636928755531776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753166336,"note":"Value kept but may cause issues"} 
[2026-10-05 14:17: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-10-05 14:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791189934000,"timestamp_ms":1791189934000,"timestamp_seconds":1791189934,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3d5fb0"} 
[2026-10-05 14:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 14:17:05] 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-10-05 14:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":206069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":206069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":206069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544621568001,"66":12069,"217":206,"85":15104,"24":0,"16":139636928755531776,"45":8886235408753166336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544621568001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:17:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:17:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139636928755531776,"km_value":139636928755531.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753166336,"description":"Unknown IO ID 45"} 
[2026-10-05 14:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544621568001,"power":12069,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753166336}} 
[2026-10-05 14:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":206069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:17:05] local.INFO: GPS data processed {"connection_id":206069,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:17:05] local.INFO: Acknowledgment sent {"connection_id":206069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:17:10] local.INFO: TCP Data received {"connection_id":204655,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:17:10] local.INFO: Processing buffer {"connection_id":204655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:17:10] local.INFO: IMEI packet received {"connection_id":204655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":204655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:17:11] local.INFO: TCP Data received {"connection_id":204655,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3d6780012d196840071fec58003a006526..."} 
[2026-10-05 14:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3d6780012d196840071fec58003a006526..."} 
[2026-10-05 14:17:11] local.INFO: Processing buffer {"connection_id":204655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3d6780012d196840071fec58003a006526..."} 
[2026-10-05 14:17:11] local.INFO: Packet analysis {"connection_id":204655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3d"} 
[2026-10-05 14:17:11] local.INFO: Extracted packet for processing {"connection_id":204655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3d"} 
[2026-10-05 14:17:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544618240001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791189936000,"timestamp_ms":1791189936000,"timestamp_seconds":1791189936,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3d6780"} 
[2026-10-05 14:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:17:11] 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-10-05 14:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:17:11] 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-10-05 14:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:17:11] 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-10-05 14:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544618240001,"66":12678,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544618240001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:17:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:17:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544618240001,"power":12678,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":204655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:17:11] local.INFO: GPS data processed {"connection_id":204655,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:17:11] local.INFO: Acknowledgment sent {"connection_id":204655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:17:31] local.INFO: TCP Data received {"connection_id":204654,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3de098012d7d4a0005cf43c00005016729..."} 
[2026-10-05 14:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3de098012d7d4a0005cf43c00005016729..."} 
[2026-10-05 14:17:31] local.INFO: Processing buffer {"connection_id":204654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3de098012d7d4a0005cf43c00005016729..."} 
[2026-10-05 14:17:31] local.INFO: Packet analysis {"connection_id":204654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3d"} 
[2026-10-05 14:17:31] local.INFO: Extracted packet for processing {"connection_id":204654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3d"} 
[2026-10-05 14:17:31] local.INFO: GPS Element Parsed {"raw_longitude":763185664,"raw_latitude":97469376,"longitude_deg":76.3185664,"latitude_deg":9.7469376,"altitude":5,"angle":359,"satellites":41,"speed":59,"hex_longitude":"2d7d4a00","hex_latitude":"05cf43c0","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544629760001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2005071122399232,"note":"Value kept but may cause issues"} 
[2026-10-05 14:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028169165455454208,"note":"Value kept but may cause issues"} 
[2026-10-05 14:17:31] 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-10-05 14:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791189967000,"timestamp_ms":1791189967000,"timestamp_seconds":1791189967,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3de098"} 
[2026-10-05 14:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-05 14:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544629760001,"66":27865,"198":206,"85":15104,"24":59,"16":2005071122399232,"45":9028169165455454208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-10-05 14:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544629760001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:17:31] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-05 14:17:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2005071122399232,"km_value":2005071122399.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028169165455454208,"description":"Unknown IO ID 45"} 
[2026-10-05 14:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544629760001,"power":27865,"unknown_198":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9028169165455454208}} 
[2026-10-05 14:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":204654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:17:31] local.INFO: GPS data processed {"connection_id":204654,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:17:31] local.INFO: Acknowledgment sent {"connection_id":204654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:17:42] local.INFO: TCP Data received {"connection_id":204655,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3db988012d196840071fec58003a006529..."} 
[2026-10-05 14:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3db988012d196840071fec58003a006529..."} 
[2026-10-05 14:17:42] local.INFO: Processing buffer {"connection_id":204655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3db988012d196840071fec58003a006529..."} 
[2026-10-05 14:17:42] local.INFO: Packet analysis {"connection_id":204655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3d"} 
[2026-10-05 14:17:42] local.INFO: Extracted packet for processing {"connection_id":204655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3d"} 
[2026-10-05 14:17:42] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544623616001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791189957000,"timestamp_ms":1791189957000,"timestamp_seconds":1791189957,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3db988"} 
[2026-10-05 14:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 14:17:42] 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-10-05 14:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:17:42] 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-10-05 14:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544623616001,"66":12613,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544623616001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:17:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:17:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544623616001,"power":12613,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":204655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:17:42] local.INFO: GPS data processed {"connection_id":204655,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:17:42] local.INFO: Acknowledgment sent {"connection_id":204655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:17:55] local.INFO: TCP Data received {"connection_id":204522,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:17:55] local.INFO: Processing buffer {"connection_id":204522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:17:55] local.INFO: IMEI packet received {"connection_id":204522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":204522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:17:58] local.INFO: TCP Data received {"connection_id":204522,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:17:58] local.INFO: Processing buffer {"connection_id":204522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:17:58] local.INFO: IMEI packet received {"connection_id":204522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":204522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:17:59] local.INFO: TCP Data received {"connection_id":204522,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3df808012d7d4a0005cf66f80005016729..."} 
[2026-10-05 14:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3df808012d7d4a0005cf66f80005016729..."} 
[2026-10-05 14:17:59] local.INFO: Processing buffer {"connection_id":204522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3df808012d7d4a0005cf66f80005016729..."} 
[2026-10-05 14:17:59] local.INFO: Packet analysis {"connection_id":204522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3d"} 
[2026-10-05 14:17:59] local.INFO: Extracted packet for processing {"connection_id":204522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3d"} 
[2026-10-05 14:17:59] local.INFO: GPS Element Parsed {"raw_longitude":763185664,"raw_latitude":97478392,"longitude_deg":76.3185664,"latitude_deg":9.7478392,"altitude":5,"angle":359,"satellites":41,"speed":59,"hex_longitude":"2d7d4a00","hex_latitude":"05cf66f8","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544631552001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2005509209063424,"note":"Value kept but may cause issues"} 
[2026-10-05 14:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028028427969740800,"note":"Value kept but may cause issues"} 
[2026-10-05 14:17:59] 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-10-05 14:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791189973000,"timestamp_ms":1791189973000,"timestamp_seconds":1791189973,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3df808"} 
[2026-10-05 14:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:17: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-10-05 14:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 14:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":204522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":204522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":204522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:17: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-10-05 14:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544631552001,"66":27800,"198":206,"85":15104,"24":59,"16":2005509209063424,"45":9028028427969740800},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-10-05 14:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544631552001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:17:59] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-05 14:17:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2005509209063424,"km_value":2005509209063.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028028427969740800,"description":"Unknown IO ID 45"} 
[2026-10-05 14:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544631552001,"power":27800,"unknown_198":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9028028427969740800}} 
[2026-10-05 14:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":204522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:17:59] local.INFO: GPS data processed {"connection_id":204522,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:17:59] local.INFO: Acknowledgment sent {"connection_id":204522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:18:10] local.INFO: TCP Data received {"connection_id":204656,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:18:10] local.INFO: Processing buffer {"connection_id":204656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:18:10] local.INFO: IMEI packet received {"connection_id":204656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":204656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:18:15] local.INFO: TCP Data received {"connection_id":204656,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:18:15] local.INFO: Processing buffer {"connection_id":204656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:18:15] local.INFO: IMEI packet received {"connection_id":204656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":204656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:18:16] local.INFO: TCP Data received {"connection_id":204656,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3e0b90012d196840071fec58003a00652c..."} 
[2026-10-05 14:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3e0b90012d196840071fec58003a00652c..."} 
[2026-10-05 14:18:16] local.INFO: Processing buffer {"connection_id":204656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3e0b90012d196840071fec58003a00652c..."} 
[2026-10-05 14:18:16] local.INFO: Packet analysis {"connection_id":204656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3e"} 
[2026-10-05 14:18:16] local.INFO: Extracted packet for processing {"connection_id":204656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3e"} 
[2026-10-05 14:18:16] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544628992001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791189978000,"timestamp_ms":1791189978000,"timestamp_seconds":1791189978,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3e0b90"} 
[2026-10-05 14:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 14:18:16] 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-10-05 14:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:18:16] 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-10-05 14:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544628992001,"66":12678,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544628992001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:18:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:18:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544628992001,"power":12678,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":204656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:18:16] local.INFO: GPS data processed {"connection_id":204656,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:18:16] local.INFO: Acknowledgment sent {"connection_id":204656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:18:21] local.INFO: TCP Data received {"connection_id":204656,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3e5d98012d196840071fec58003a00652a..."} 
[2026-10-05 14:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3e5d98012d196840071fec58003a00652a..."} 
[2026-10-05 14:18:21] local.INFO: Processing buffer {"connection_id":204656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3e5d98012d196840071fec58003a00652a..."} 
[2026-10-05 14:18:21] local.INFO: Packet analysis {"connection_id":204656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3e"} 
[2026-10-05 14:18:21] local.INFO: Extracted packet for processing {"connection_id":204656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3e"} 
[2026-10-05 14:18:21] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:18: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-10-05 14:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544634368001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791189999000,"timestamp_ms":1791189999000,"timestamp_seconds":1791189999,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3e5d98"} 
[2026-10-05 14:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 14:18:21] 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-10-05 14:18: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-10-05 14:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":204656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":204656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":204656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:18:21] 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-10-05 14:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544634368001,"66":12689,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544634368001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:18:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:18:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544634368001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":204656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:18:21] local.INFO: GPS data processed {"connection_id":204656,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:18:21] local.INFO: Acknowledgment sent {"connection_id":204656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:18:30] local.INFO: TCP Data received {"connection_id":204522,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3e0f78012d7d49c005cf89e00005000028..."} 
[2026-10-05 14:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3e0f78012d7d49c005cf89e00005000028..."} 
[2026-10-05 14:18:30] local.INFO: Processing buffer {"connection_id":204522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3e0f78012d7d49c005cf89e00005000028..."} 
[2026-10-05 14:18:30] local.INFO: Packet analysis {"connection_id":204522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3e"} 
[2026-10-05 14:18:30] local.INFO: Extracted packet for processing {"connection_id":204522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3e"} 
[2026-10-05 14:18:30] local.INFO: GPS Element Parsed {"raw_longitude":763185600,"raw_latitude":97487328,"longitude_deg":76.31856,"latitude_deg":9.7487328,"altitude":5,"angle":0,"satellites":40,"speed":58,"hex_longitude":"2d7d49c0","hex_latitude":"05cf89e0","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544633088001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2005943000760320,"note":"Value kept but may cause issues"} 
[2026-10-05 14:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028028427972048896,"note":"Value kept but may cause issues"} 
[2026-10-05 14:18: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-10-05 14:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1791189979000,"timestamp_ms":1791189979000,"timestamp_seconds":1791189979,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3e0f78"} 
[2026-10-05 14:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:18: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-10-05 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-05 14:18: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-10-05 14: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-10-05 14:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":204522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":204522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":204522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:18: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-10-05 14:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544633088001,"66":27919,"198":206,"85":15104,"24":58,"16":2005943000760320,"45":9028028427972048896},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-10-05 14:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544633088001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:18:30] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-05 14:18:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2005943000760320,"km_value":2005943000760.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028028427972048896,"description":"Unknown IO ID 45"} 
[2026-10-05 14:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544633088001,"power":27919,"unknown_198":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":9028028427972048896}} 
[2026-10-05 14:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":204522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:18:30] local.INFO: GPS data processed {"connection_id":204522,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:18:30] local.INFO: Acknowledgment sent {"connection_id":204522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:18:54] local.INFO: TCP Data received {"connection_id":207606,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:18:54] local.INFO: Processing buffer {"connection_id":207606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:18:54] local.INFO: IMEI packet received {"connection_id":207606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":207606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:18:54] local.INFO: TCP Data received {"connection_id":207606,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:18:54] local.INFO: Processing buffer {"connection_id":207606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:18:54] local.INFO: IMEI packet received {"connection_id":207606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":207606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:19:00] local.INFO: TCP Data received {"connection_id":207606,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:19:00] local.INFO: Processing buffer {"connection_id":207606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:19:00] local.INFO: IMEI packet received {"connection_id":207606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":207606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:19:00] local.INFO: TCP Data received {"connection_id":207606,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3f5f68012d7d3c8005d0e788000701642b..."} 
[2026-10-05 14:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3f5f68012d7d3c8005d0e788000701642b..."} 
[2026-10-05 14:19:00] local.INFO: Processing buffer {"connection_id":207606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3f5f68012d7d3c8005d0e788000701642b..."} 
[2026-10-05 14:19:00] local.INFO: Packet analysis {"connection_id":207606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3f"} 
[2026-10-05 14:19:00] local.INFO: Extracted packet for processing {"connection_id":207606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3f"} 
[2026-10-05 14:19:00] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":97576840,"longitude_deg":76.3182208,"latitude_deg":9.757684,"altitude":7,"angle":356,"satellites":43,"speed":50,"hex_longitude":"2d7d3c80","hex_latitude":"05d0e788","is_valid_coordinates":true} 
[2026-10-05 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-10-05 14:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544654592001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2010293802631168,"note":"Value kept but may cause issues"} 
[2026-10-05 14:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025002571995103232,"note":"Value kept but may cause issues"} 
[2026-10-05 14:19:00] 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-10-05 14:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791190065000,"timestamp_ms":1791190065000,"timestamp_seconds":1791190065,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3f5f68"} 
[2026-10-05 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-10-05 14:19: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-10-05 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 14:19:00] 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-10-05 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-10-05 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-10-05 14:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:19: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-10-05 14:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544654592001,"66":27800,"197":206,"85":15104,"24":50,"16":2010293802631168,"45":9025002571995103232},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-10-05 14:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544654592001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:19:00] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 14:19:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2010293802631168,"km_value":2010293802631.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025002571995103232,"description":"Unknown IO ID 45"} 
[2026-10-05 14:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544654592001,"power":27800,"unknown_197":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9025002571995103232}} 
[2026-10-05 14:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":207606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:19:00] local.INFO: GPS data processed {"connection_id":207606,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:19:00] local.INFO: Acknowledgment sent {"connection_id":207606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:19:02] local.INFO: TCP Data received {"connection_id":204657,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:19:02] local.INFO: Processing buffer {"connection_id":204657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:19:02] local.INFO: IMEI packet received {"connection_id":204657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":204657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:19:04] local.INFO: TCP Data received {"connection_id":204523,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204523,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:19:04] local.INFO: Processing buffer {"connection_id":204523,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:19:04] local.INFO: IMEI packet received {"connection_id":204523,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 14:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":204523,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:19:05] local.INFO: TCP Data received {"connection_id":204657,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:19:05] local.INFO: Processing buffer {"connection_id":204657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:19:05] local.INFO: IMEI packet received {"connection_id":204657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":204657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:19:10] local.INFO: TCP Data received {"connection_id":204657,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:19:10] local.INFO: Processing buffer {"connection_id":204657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:19:10] local.INFO: IMEI packet received {"connection_id":204657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":204657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:19:11] local.INFO: TCP Data received {"connection_id":204657,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3eafa0012d196840071fec58003a00652a..."} 
[2026-10-05 14:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3eafa0012d196840071fec58003a00652a..."} 
[2026-10-05 14:19:11] local.INFO: Processing buffer {"connection_id":204657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3eafa0012d196840071fec58003a00652a..."} 
[2026-10-05 14:19:11] local.INFO: Packet analysis {"connection_id":204657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3e"} 
[2026-10-05 14:19:11] local.INFO: Extracted packet for processing {"connection_id":204657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3e"} 
[2026-10-05 14:19:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544639744001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791190020000,"timestamp_ms":1791190020000,"timestamp_seconds":1791190020,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3eafa0"} 
[2026-10-05 14:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:19:11] 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-10-05 14:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 14:19:11] 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-10-05 14:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:19:11] 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-10-05 14:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544639744001,"66":12689,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544639744001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:19:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:19:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544639744001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":204657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:19:11] local.INFO: GPS data processed {"connection_id":204657,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:19:11] local.INFO: Acknowledgment sent {"connection_id":204657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:19:32] local.INFO: TCP Data received {"connection_id":207606,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3f7ac0012d7d3a4005d10a90000701642b..."} 
[2026-10-05 14:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3f7ac0012d7d3a4005d10a90000701642b..."} 
[2026-10-05 14:19:32] local.INFO: Processing buffer {"connection_id":207606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3f7ac0012d7d3a4005d10a90000701642b..."} 
[2026-10-05 14:19:32] local.INFO: Packet analysis {"connection_id":207606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3f"} 
[2026-10-05 14:19:32] local.INFO: Extracted packet for processing {"connection_id":207606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3f"} 
[2026-10-05 14:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763181632,"raw_latitude":97585808,"longitude_deg":76.3181632,"latitude_deg":9.7585808,"altitude":7,"angle":356,"satellites":43,"speed":52,"hex_longitude":"2d7d3a40","hex_latitude":"05d10a90","is_valid_coordinates":true} 
[2026-10-05 14:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544656640001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2010731889295360,"note":"Value kept but may cause issues"} 
[2026-10-05 14:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515811657728,"note":"Value kept but may cause issues"} 
[2026-10-05 14:19:32] 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-10-05 14:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791190072000,"timestamp_ms":1791190072000,"timestamp_seconds":1791190072,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3f7ac0"} 
[2026-10-05 14:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:19: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-10-05 14:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-05 14:19: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-10-05 14:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544656640001,"66":27919,"24":52,"85":15104,"16":2010731889295360,"45":9024228515811657728},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-10-05 14:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544656640001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:19:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2010731889295360,"km_value":2010731889295.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515811657728,"description":"Unknown IO ID 45"} 
[2026-10-05 14:19:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458544656640001,"power":27919,"ignition":52,"unknown_85":15104,"odometer":null,"unknown_45":9024228515811657728}} 
[2026-10-05 14:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":207606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:19:32] local.INFO: GPS data processed {"connection_id":207606,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:19:32] local.INFO: Acknowledgment sent {"connection_id":207606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:19:34] local.INFO: TCP Data received {"connection_id":204658,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204658,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:19:34] local.INFO: Processing buffer {"connection_id":204658,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:19:34] local.INFO: IMEI packet received {"connection_id":204658,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 14:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":204658,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:19:42] local.INFO: TCP Data received {"connection_id":204657,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3f01a8012d196840071fec58003a00652c..."} 
[2026-10-05 14:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3f01a8012d196840071fec58003a00652c..."} 
[2026-10-05 14:19:42] local.INFO: Processing buffer {"connection_id":204657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3f01a8012d196840071fec58003a00652c..."} 
[2026-10-05 14:19:42] local.INFO: Packet analysis {"connection_id":204657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3f"} 
[2026-10-05 14:19:42] local.INFO: Extracted packet for processing {"connection_id":204657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3f"} 
[2026-10-05 14:19:42] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544645120001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791190041000,"timestamp_ms":1791190041000,"timestamp_seconds":1791190041,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3f01a8"} 
[2026-10-05 14:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 14:19:42] 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-10-05 14: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-10-05 14:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:19:42] 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-10-05 14:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544645120001,"66":12689,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544645120001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:19:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:19:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544645120001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":204657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:19:42] local.INFO: GPS data processed {"connection_id":204657,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:19:42] local.INFO: Acknowledgment sent {"connection_id":204657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:20:05] local.INFO: TCP Data received {"connection_id":206070,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:20:05] local.INFO: Processing buffer {"connection_id":206070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:20:05] local.INFO: IMEI packet received {"connection_id":206070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":206070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:20:06] local.INFO: TCP Data received {"connection_id":206070,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:20:06] local.INFO: Processing buffer {"connection_id":206070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:20:06] local.INFO: IMEI packet received {"connection_id":206070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":206070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:20:10] local.INFO: TCP Data received {"connection_id":206070,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:20:10] local.INFO: Processing buffer {"connection_id":206070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:20:10] local.INFO: IMEI packet received {"connection_id":206070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":206070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:20:11] local.INFO: TCP Data received {"connection_id":206070,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3f53b0012d196840071fec58003a00652b..."} 
[2026-10-05 14:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3f53b0012d196840071fec58003a00652b..."} 
[2026-10-05 14:20:11] local.INFO: Processing buffer {"connection_id":206070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3f53b0012d196840071fec58003a00652b..."} 
[2026-10-05 14:20:11] local.INFO: Packet analysis {"connection_id":206070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3f"} 
[2026-10-05 14:20:11] local.INFO: Extracted packet for processing {"connection_id":206070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3f"} 
[2026-10-05 14:20:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544650496001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791190062000,"timestamp_ms":1791190062000,"timestamp_seconds":1791190062,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3f53b0"} 
[2026-10-05 14:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:20:11] 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-10-05 14: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 14:20:11] 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-10-05 14: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-10-05 14:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:20:11] 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-10-05 14:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544650496001,"66":12678,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544650496001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:20:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:20:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544650496001,"power":12678,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":206070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:20:11] local.INFO: GPS data processed {"connection_id":206070,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:20:11] local.INFO: Acknowledgment sent {"connection_id":206070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:20:17] local.INFO: TCP Data received {"connection_id":207607,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:20:17] local.INFO: Processing buffer {"connection_id":207607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:20:17] local.INFO: IMEI packet received {"connection_id":207607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":207607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:20:17] local.INFO: TCP Data received {"connection_id":207607,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:20:17] local.INFO: Processing buffer {"connection_id":207607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:20:17] local.INFO: IMEI packet received {"connection_id":207607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":207607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:20:18] local.INFO: TCP Data received {"connection_id":207607,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3f9618012d7d380005d12eb8000601642b..."} 
[2026-10-05 14:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3f9618012d7d380005d12eb8000601642b..."} 
[2026-10-05 14:20:18] local.INFO: Processing buffer {"connection_id":207607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3f9618012d7d380005d12eb8000601642b..."} 
[2026-10-05 14:20:18] local.INFO: Packet analysis {"connection_id":207607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3f"} 
[2026-10-05 14:20:18] local.INFO: Extracted packet for processing {"connection_id":207607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3f"} 
[2026-10-05 14:20:18] local.INFO: GPS Element Parsed {"raw_longitude":763181056,"raw_latitude":97595064,"longitude_deg":76.3181056,"latitude_deg":9.7595064,"altitude":6,"angle":356,"satellites":43,"speed":51,"hex_longitude":"2d7d3800","hex_latitude":"05d12eb8","is_valid_coordinates":true} 
[2026-10-05 14:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544658432001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2011178565894144,"note":"Value kept but may cause issues"} 
[2026-10-05 14:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023595197116354560,"note":"Value kept but may cause issues"} 
[2026-10-05 14:20:18] 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-10-05 14:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791190079000,"timestamp_ms":1791190079000,"timestamp_seconds":1791190079,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3f9618"} 
[2026-10-05 14:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 14:20:18] 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-10-05 14:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":207607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":207607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":207607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544658432001,"66":27865,"24":51,"85":15104,"16":2011178565894144,"45":9023595197116354560},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-10-05 14:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544658432001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:20:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2011178565894144,"km_value":2011178565894.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023595197116354560,"description":"Unknown IO ID 45"} 
[2026-10-05 14:20:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458544658432001,"power":27865,"ignition":51,"unknown_85":15104,"odometer":null,"unknown_45":9023595197116354560}} 
[2026-10-05 14:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":207607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:20:18] local.INFO: GPS data processed {"connection_id":207607,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:20:18] local.INFO: Acknowledgment sent {"connection_id":207607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:20:18] local.INFO: TCP Data received {"connection_id":207607,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3fb558012d7d364005d154e8000501652c..."} 
[2026-10-05 14:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3fb558012d7d364005d154e8000501652c..."} 
[2026-10-05 14:20:18] local.INFO: Processing buffer {"connection_id":207607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3fb558012d7d364005d154e8000501652c..."} 
[2026-10-05 14:20:18] local.INFO: Packet analysis {"connection_id":207607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3f"} 
[2026-10-05 14:20:18] local.INFO: Extracted packet for processing {"connection_id":207607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3f"} 
[2026-10-05 14:20:18] local.INFO: GPS Element Parsed {"raw_longitude":763180608,"raw_latitude":97604840,"longitude_deg":76.3180608,"latitude_deg":9.760484,"altitude":5,"angle":357,"satellites":44,"speed":45,"hex_longitude":"2d7d3640","hex_latitude":"05d154e8","is_valid_coordinates":true} 
[2026-10-05 14:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544660224001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2011655307264000,"note":"Value kept but may cause issues"} 
[2026-10-05 14:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022961878421125120,"note":"Value kept but may cause issues"} 
[2026-10-05 14:20:18] 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-10-05 14:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791190087000,"timestamp_ms":1791190087000,"timestamp_seconds":1791190087,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3fb558"} 
[2026-10-05 14:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 14:20:18] 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-10-05 14:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":207607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":207607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":207607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544660224001,"66":27908,"24":45,"85":15104,"16":2011655307264000,"45":9022961878421125120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-10-05 14:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544660224001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:20:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2011655307264000,"km_value":2011655307264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022961878421125120,"description":"Unknown IO ID 45"} 
[2026-10-05 14:20:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458544660224001,"power":27908,"ignition":45,"unknown_85":15104,"odometer":null,"unknown_45":9022961878421125120}} 
[2026-10-05 14:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":207607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:20:18] local.INFO: GPS data processed {"connection_id":207607,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:20:18] local.INFO: Acknowledgment sent {"connection_id":207607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:20:42] local.INFO: TCP Data received {"connection_id":206070,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3fa5b8012d196840071fec58003a00652c..."} 
[2026-10-05 14:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3fa5b8012d196840071fec58003a00652c..."} 
[2026-10-05 14:20:42] local.INFO: Processing buffer {"connection_id":206070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3fa5b8012d196840071fec58003a00652c..."} 
[2026-10-05 14:20:42] local.INFO: Packet analysis {"connection_id":206070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3f"} 
[2026-10-05 14:20:42] local.INFO: Extracted packet for processing {"connection_id":206070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3f"} 
[2026-10-05 14:20:42] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544655872001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791190083000,"timestamp_ms":1791190083000,"timestamp_seconds":1791190083,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3fa5b8"} 
[2026-10-05 14:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 14:20:42] 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-10-05 14: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-10-05 14:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:20:42] 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-10-05 14:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544655872001,"66":12667,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544655872001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:20:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:20:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544655872001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":206070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:20:42] local.INFO: GPS data processed {"connection_id":206070,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:20:42] local.INFO: Acknowledgment sent {"connection_id":206070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:20:54] local.INFO: TCP Data received {"connection_id":204525,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:20:54] local.INFO: Processing buffer {"connection_id":204525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:20:54] local.INFO: IMEI packet received {"connection_id":204525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":204525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:20:55] local.INFO: TCP Data received {"connection_id":204525,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:20:55] local.INFO: Processing buffer {"connection_id":204525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:20:55] local.INFO: IMEI packet received {"connection_id":204525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":204525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:21:05] local.INFO: TCP Data received {"connection_id":206071,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:21:05] local.INFO: Processing buffer {"connection_id":206071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:21:05] local.INFO: IMEI packet received {"connection_id":206071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":206071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:21:08] local.INFO: TCP Data received {"connection_id":206071,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:21:08] local.INFO: Processing buffer {"connection_id":206071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:21:08] local.INFO: IMEI packet received {"connection_id":206071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":206071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:21:09] local.INFO: TCP Data received {"connection_id":206071,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b3ff7c0012d196840071fec58003a00652c..."} 
[2026-10-05 14:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b3ff7c0012d196840071fec58003a00652c..."} 
[2026-10-05 14:21:09] local.INFO: Processing buffer {"connection_id":206071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b3ff7c0012d196840071fec58003a00652c..."} 
[2026-10-05 14:21:09] local.INFO: Packet analysis {"connection_id":206071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b3f"} 
[2026-10-05 14:21:09] local.INFO: Extracted packet for processing {"connection_id":206071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b3f"} 
[2026-10-05 14:21:09] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544661248001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791190104000,"timestamp_ms":1791190104000,"timestamp_seconds":1791190104,"priority":1,"record_length":96,"hex_timestamp":"000001a10b3ff7c0"} 
[2026-10-05 14:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:21: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-10-05 14:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:21:09] 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-10-05 14:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":206071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":206071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":206071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:21:09] 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-10-05 14:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544661248001,"66":12645,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544661248001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:21:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:21:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544661248001,"power":12645,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":206071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:21:09] local.INFO: GPS data processed {"connection_id":206071,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:21:09] local.INFO: Acknowledgment sent {"connection_id":206071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:21:10] local.INFO: TCP Data received {"connection_id":204525,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:21:10] local.INFO: Processing buffer {"connection_id":204525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:21:10] local.INFO: IMEI packet received {"connection_id":204525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":204525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:21:12] local.INFO: TCP Data received {"connection_id":204525,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b415368012d7d388005d28be0000600122a..."} 
[2026-10-05 14:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b415368012d7d388005d28be0000600122a..."} 
[2026-10-05 14:21:12] local.INFO: Processing buffer {"connection_id":204525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b415368012d7d388005d28be0000600122a..."} 
[2026-10-05 14:21:12] local.INFO: Packet analysis {"connection_id":204525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b41"} 
[2026-10-05 14:21:12] local.INFO: Extracted packet for processing {"connection_id":204525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b41"} 
[2026-10-05 14:21:12] local.INFO: GPS Element Parsed {"raw_longitude":763181184,"raw_latitude":97684448,"longitude_deg":76.3181184,"latitude_deg":9.7684448,"altitude":6,"angle":18,"satellites":42,"speed":17,"hex_longitude":"2d7d3880","hex_latitude":"05d28be0","is_valid_coordinates":true} 
[2026-10-05 14:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544688384001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2015559432536064,"note":"Value kept but may cause issues"} 
[2026-10-05 14:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022821140955154432,"note":"Value kept but may cause issues"} 
[2026-10-05 14:21:12] 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-10-05 14:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791190193000,"timestamp_ms":1791190193000,"timestamp_seconds":1791190193,"priority":1,"record_length":96,"hex_timestamp":"000001a10b415368"} 
[2026-10-05 14:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 14:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544688384001,"66":27930,"117":206,"85":15104,"24":17,"16":2015559432536064,"45":9022821140955154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-10-05 14:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544688384001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:21:12] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-10-05 14:21:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2015559432536064,"km_value":2015559432536.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022821140955154432,"description":"Unknown IO ID 45"} 
[2026-10-05 14:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544688384001,"power":27930,"unknown_117":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9022821140955154432}} 
[2026-10-05 14:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":204525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:21:12] local.INFO: GPS data processed {"connection_id":204525,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:21:12] local.INFO: Acknowledgment sent {"connection_id":204525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:21:41] local.INFO: TCP Data received {"connection_id":206071,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4049c8012d196840071fec58003a00652b..."} 
[2026-10-05 14:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4049c8012d196840071fec58003a00652b..."} 
[2026-10-05 14:21:41] local.INFO: Processing buffer {"connection_id":206071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4049c8012d196840071fec58003a00652b..."} 
[2026-10-05 14:21:41] local.INFO: Packet analysis {"connection_id":206071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b40"} 
[2026-10-05 14:21:41] local.INFO: Extracted packet for processing {"connection_id":206071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b40"} 
[2026-10-05 14:21:41] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:21: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-10-05 14:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544666624001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791190125000,"timestamp_ms":1791190125000,"timestamp_seconds":1791190125,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4049c8"} 
[2026-10-05 14:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 14:21:41] 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-10-05 14:21: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-10-05 14:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":206071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":206071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":206071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:21:41] 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-10-05 14:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544666624001,"66":12689,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544666624001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:21:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:21:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544666624001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":206071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:21:41] local.INFO: GPS data processed {"connection_id":206071,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:21:41] local.INFO: Acknowledgment sent {"connection_id":206071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:21:58] local.INFO: TCP Data received {"connection_id":206072,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:21:58] local.INFO: Processing buffer {"connection_id":206072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:21:58] local.INFO: IMEI packet received {"connection_id":206072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":206072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:21:59] local.INFO: TCP Data received {"connection_id":206072,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:21:59] local.INFO: Processing buffer {"connection_id":206072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:21:59] local.INFO: IMEI packet received {"connection_id":206072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":206072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:22:05] local.INFO: TCP Data received {"connection_id":206072,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:22:05] local.INFO: Processing buffer {"connection_id":206072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:22:05] local.INFO: IMEI packet received {"connection_id":206072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":206072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:22:05] local.INFO: TCP Data received {"connection_id":204526,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:22:05] local.INFO: Processing buffer {"connection_id":204526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:22:05] local.INFO: IMEI packet received {"connection_id":204526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":204526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:22:06] local.INFO: TCP Data received {"connection_id":206072,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b416ec0012d7d3c0005d296d0000601672a..."} 
[2026-10-05 14:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b416ec0012d7d3c0005d296d0000601672a..."} 
[2026-10-05 14:22:06] local.INFO: Processing buffer {"connection_id":206072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b416ec0012d7d3c0005d296d0000601672a..."} 
[2026-10-05 14:22:06] local.INFO: Packet analysis {"connection_id":206072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b41"} 
[2026-10-05 14:22:06] local.INFO: Extracted packet for processing {"connection_id":206072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b41"} 
[2026-10-05 14:22:06] local.INFO: GPS Element Parsed {"raw_longitude":763182080,"raw_latitude":97687248,"longitude_deg":76.318208,"latitude_deg":9.7687248,"altitude":6,"angle":359,"satellites":42,"speed":15,"hex_longitude":"2d7d3c00","hex_latitude":"05d296d0","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544689408001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2015705461424128,"note":"Value kept but may cause issues"} 
[2026-10-05 14:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023102615932362752,"note":"Value kept but may cause issues"} 
[2026-10-05 14:22:06] 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-10-05 14:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791190200000,"timestamp_ms":1791190200000,"timestamp_seconds":1791190200,"priority":1,"record_length":96,"hex_timestamp":"000001a10b416ec0"} 
[2026-10-05 14:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:22: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-10-05 14:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-05 14:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":206072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":206072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":206072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544689408001,"66":27908,"117":206,"85":15104,"24":15,"16":2015705461424128,"45":9023102615932362752},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-10-05 14:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544689408001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:22:06] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-10-05 14:22:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2015705461424128,"km_value":2015705461424.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023102615932362752,"description":"Unknown IO ID 45"} 
[2026-10-05 14:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544689408001,"power":27908,"unknown_117":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9023102615932362752}} 
[2026-10-05 14:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":206072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:22:06] local.INFO: GPS data processed {"connection_id":206072,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:22:06] local.INFO: Acknowledgment sent {"connection_id":206072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:22:10] local.INFO: TCP Data received {"connection_id":204526,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:22:10] local.INFO: Processing buffer {"connection_id":204526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:22:10] local.INFO: IMEI packet received {"connection_id":204526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":204526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:22:11] local.INFO: TCP Data received {"connection_id":204526,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b409bd0012d196840071fec58003a006527..."} 
[2026-10-05 14:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b409bd0012d196840071fec58003a006527..."} 
[2026-10-05 14:22:11] local.INFO: Processing buffer {"connection_id":204526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b409bd0012d196840071fec58003a006527..."} 
[2026-10-05 14:22:11] local.INFO: Packet analysis {"connection_id":204526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b40"} 
[2026-10-05 14:22:11] local.INFO: Extracted packet for processing {"connection_id":204526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b40"} 
[2026-10-05 14:22:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544672000001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791190146000,"timestamp_ms":1791190146000,"timestamp_seconds":1791190146,"priority":1,"record_length":96,"hex_timestamp":"000001a10b409bd0"} 
[2026-10-05 14:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:22:11] 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-10-05 14: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 14:22:11] 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-10-05 14: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-10-05 14:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:22:11] 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-10-05 14:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544672000001,"66":12613,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544672000001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:22:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:22:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544672000001,"power":12613,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":204526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:22:11] local.INFO: GPS data processed {"connection_id":204526,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:22:11] local.INFO: Acknowledgment sent {"connection_id":204526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:22:20] local.INFO: TCP Data received {"connection_id":207610,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:22:20] local.INFO: Processing buffer {"connection_id":207610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:22:20] local.INFO: IMEI packet received {"connection_id":207610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":207610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:22:24] local.INFO: TCP Data received {"connection_id":207610,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:22:24] local.INFO: Processing buffer {"connection_id":207610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:22:24] local.INFO: IMEI packet received {"connection_id":207610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":207610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:22:26] local.INFO: TCP Data received {"connection_id":207610,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:22:26] local.INFO: Processing buffer {"connection_id":207610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:22:26] local.INFO: IMEI packet received {"connection_id":207610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":207610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:22:26] local.INFO: TCP Data received {"connection_id":207610,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10b430cd0012d7b530005e106900000015d1d..."} 
[2026-10-05 14:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b430cd0012d7b530005e106900000015d1d..."} 
[2026-10-05 14:22:26] local.INFO: Processing buffer {"connection_id":207610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b430cd0012d7b530005e106900000015d1d..."} 
[2026-10-05 14:22:26] local.INFO: Packet analysis {"connection_id":207610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b43"} 
[2026-10-05 14:22:26] local.INFO: Extracted packet for processing {"connection_id":207610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b43"} 
[2026-10-05 14:22:26] local.INFO: GPS Element Parsed {"raw_longitude":763056896,"raw_latitude":98633360,"longitude_deg":76.3056896,"latitude_deg":9.863336,"altitude":0,"angle":349,"satellites":29,"speed":47,"hex_longitude":"2d7b5300","hex_latitude":"05e10690","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544716288001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139639076239179776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887994627351795712,"note":"Value kept but may cause issues"} 
[2026-10-05 14:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1791190306000,"timestamp_ms":1791190306000,"timestamp_seconds":1791190306,"priority":1,"record_length":96,"hex_timestamp":"000001a10b430cd0"} 
[2026-10-05 14:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-05 14:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":207610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":207610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":207610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544716288001,"66":13917,"102":206,"85":15104,"24":47,"16":139639076239179776,"45":8887994627351795712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,85,24,16,45]} 
[2026-10-05 14:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544716288001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:22:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 14:22:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139639076239179776,"km_value":139639076239179.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887994627351795712,"description":"Unknown IO ID 45"} 
[2026-10-05 14:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544716288001,"power":13917,"unknown_102":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8887994627351795712}} 
[2026-10-05 14:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":207610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967870,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:22:26] local.INFO: GPS data processed {"connection_id":207610,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:22:26] local.INFO: Acknowledgment sent {"connection_id":207610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:22:27] local.INFO: TCP Data received {"connection_id":207610,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10b432c10012d7b4d0005e12b780000016019..."} 
[2026-10-05 14:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b432c10012d7b4d0005e12b780000016019..."} 
[2026-10-05 14:22:27] local.INFO: Processing buffer {"connection_id":207610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b432c10012d7b4d0005e12b780000016019..."} 
[2026-10-05 14:22:27] local.INFO: Packet analysis {"connection_id":207610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b43"} 
[2026-10-05 14:22:27] local.INFO: Extracted packet for processing {"connection_id":207610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b43"} 
[2026-10-05 14:22:27] local.INFO: GPS Element Parsed {"raw_longitude":763055360,"raw_latitude":98642808,"longitude_deg":76.305536,"latitude_deg":9.8642808,"altitude":0,"angle":352,"satellites":25,"speed":46,"hex_longitude":"2d7b4d00","hex_latitude":"05e12b78","is_valid_coordinates":true} 
[2026-10-05 14:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544718336001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139639540095647744,"note":"Value kept but may cause issues"} 
[2026-10-05 14:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886446514982260736,"note":"Value kept but may cause issues"} 
[2026-10-05 14:22:27] 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-10-05 14:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1791190314000,"timestamp_ms":1791190314000,"timestamp_seconds":1791190314,"priority":1,"record_length":96,"hex_timestamp":"000001a10b432c10"} 
[2026-10-05 14:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:22: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-10-05 14:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-10-05 14:22:27] 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-10-05 14:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":207610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":207610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":207610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544718336001,"66":13928,"217":206,"85":15104,"24":46,"16":139639540095647744,"45":8886446514982260736},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544718336001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:22:27] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:22:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139639540095647744,"km_value":139639540095647.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886446514982260736,"description":"Unknown IO ID 45"} 
[2026-10-05 14:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544718336001,"power":13928,"unknown_217":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8886446514982260736}} 
[2026-10-05 14:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":207610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:22:27] local.INFO: GPS data processed {"connection_id":207610,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:22:27] local.INFO: Acknowledgment sent {"connection_id":207610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:22:36] local.INFO: TCP Data received {"connection_id":206072,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b41b128012d7d3b4005d2baa00005016721..."} 
[2026-10-05 14:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b41b128012d7d3b4005d2baa00005016721..."} 
[2026-10-05 14:22:36] local.INFO: Processing buffer {"connection_id":206072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b41b128012d7d3b4005d2baa00005016721..."} 
[2026-10-05 14:22:36] local.INFO: Packet analysis {"connection_id":206072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b41"} 
[2026-10-05 14:22:36] local.INFO: Extracted packet for processing {"connection_id":206072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b41"} 
[2026-10-05 14:22:36] local.INFO: GPS Element Parsed {"raw_longitude":763181888,"raw_latitude":97696416,"longitude_deg":76.3181888,"latitude_deg":9.7696416,"altitude":5,"angle":359,"satellites":33,"speed":30,"hex_longitude":"2d7d3b40","hex_latitude":"05d2baa0","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544691200001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2016147843055616,"note":"Value kept but may cause issues"} 
[2026-10-05 14:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024087778351566848,"note":"Value kept but may cause issues"} 
[2026-10-05 14:22:36] 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-10-05 14:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791190217000,"timestamp_ms":1791190217000,"timestamp_seconds":1791190217,"priority":1,"record_length":96,"hex_timestamp":"000001a10b41b128"} 
[2026-10-05 14:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 14:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544691200001,"66":27930,"117":206,"85":15104,"24":30,"16":2016147843055616,"45":9024087778351566848},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-10-05 14:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544691200001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:22:36] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-10-05 14:22:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2016147843055616,"km_value":2016147843055.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024087778351566848,"description":"Unknown IO ID 45"} 
[2026-10-05 14:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544691200001,"power":27930,"unknown_117":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9024087778351566848}} 
[2026-10-05 14:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":206072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:22:36] local.INFO: GPS data processed {"connection_id":206072,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:22:36] local.INFO: Acknowledgment sent {"connection_id":206072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:22:42] local.INFO: TCP Data received {"connection_id":204526,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b40edd8012d196840071fec58003a00652a..."} 
[2026-10-05 14:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b40edd8012d196840071fec58003a00652a..."} 
[2026-10-05 14:22:42] local.INFO: Processing buffer {"connection_id":204526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b40edd8012d196840071fec58003a00652a..."} 
[2026-10-05 14:22:42] local.INFO: Packet analysis {"connection_id":204526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b40"} 
[2026-10-05 14:22:42] local.INFO: Extracted packet for processing {"connection_id":204526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b40"} 
[2026-10-05 14:22:42] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544677376001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791190167000,"timestamp_ms":1791190167000,"timestamp_seconds":1791190167,"priority":1,"record_length":96,"hex_timestamp":"000001a10b40edd8"} 
[2026-10-05 14:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 14:22:42] 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-10-05 14:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:22:42] 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-10-05 14:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544677376001,"66":12613,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544677376001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:22:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:22:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544677376001,"power":12613,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":204526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:22:43] local.INFO: GPS data processed {"connection_id":204526,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:22:43] local.INFO: Acknowledgment sent {"connection_id":204526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:22:51] local.INFO: TCP Data received {"connection_id":204527,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:22:51] local.INFO: Processing buffer {"connection_id":204527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:22:51] local.INFO: IMEI packet received {"connection_id":204527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":204527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:22:58] local.INFO: TCP Data received {"connection_id":207610,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10b434b50012d7b470005e150f00000015f1c..."} 
[2026-10-05 14:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b434b50012d7b470005e150f00000015f1c..."} 
[2026-10-05 14:22:58] local.INFO: Processing buffer {"connection_id":207610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b434b50012d7b470005e150f00000015f1c..."} 
[2026-10-05 14:22:58] local.INFO: Packet analysis {"connection_id":207610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b43"} 
[2026-10-05 14:22:58] local.INFO: Extracted packet for processing {"connection_id":207610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b43"} 
[2026-10-05 14:22:58] local.INFO: GPS Element Parsed {"raw_longitude":763053824,"raw_latitude":98652400,"longitude_deg":76.3053824,"latitude_deg":9.86524,"altitude":0,"angle":351,"satellites":28,"speed":47,"hex_longitude":"2d7b4700","hex_latitude":"05e150f0","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544720384001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139640012542050304,"note":"Value kept but may cause issues"} 
[2026-10-05 14:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884757665124415488,"note":"Value kept but may cause issues"} 
[2026-10-05 14:22:58] 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-10-05 14:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1791190322000,"timestamp_ms":1791190322000,"timestamp_seconds":1791190322,"priority":1,"record_length":96,"hex_timestamp":"000001a10b434b50"} 
[2026-10-05 14:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:22: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-10-05 14: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-05 14:22: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-10-05 14: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-10-05 14:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":207610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":207610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":207610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544720384001,"66":13830,"217":206,"85":15104,"24":47,"16":139640012542050304,"45":8884757665124415488},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544720384001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:22:58] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:22:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139640012542050304,"km_value":139640012542050.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884757665124415488,"description":"Unknown IO ID 45"} 
[2026-10-05 14:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544720384001,"power":13830,"unknown_217":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8884757665124415488}} 
[2026-10-05 14:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":207610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:22:59] local.INFO: GPS data processed {"connection_id":207610,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:22:59] local.INFO: Acknowledgment sent {"connection_id":207610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:23:05] local.INFO: TCP Data received {"connection_id":204528,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:23:05] local.INFO: Processing buffer {"connection_id":204528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:23:05] local.INFO: IMEI packet received {"connection_id":204528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":204528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:23:10] local.INFO: TCP Data received {"connection_id":204528,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:23:10] local.INFO: Processing buffer {"connection_id":204528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:23:10] local.INFO: IMEI packet received {"connection_id":204528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":204528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:23:11] local.INFO: TCP Data received {"connection_id":204527,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:23:11] local.INFO: Processing buffer {"connection_id":204527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:23:11] local.INFO: IMEI packet received {"connection_id":204527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":204527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:23:11] local.INFO: TCP Data received {"connection_id":204528,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b413fe0012d196840071fec58003a006527..."} 
[2026-10-05 14:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b413fe0012d196840071fec58003a006527..."} 
[2026-10-05 14:23:11] local.INFO: Processing buffer {"connection_id":204528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b413fe0012d196840071fec58003a006527..."} 
[2026-10-05 14:23:11] local.INFO: Packet analysis {"connection_id":204528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b41"} 
[2026-10-05 14:23:11] local.INFO: Extracted packet for processing {"connection_id":204528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b41"} 
[2026-10-05 14:23:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544682752001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791190188000,"timestamp_ms":1791190188000,"timestamp_seconds":1791190188,"priority":1,"record_length":96,"hex_timestamp":"000001a10b413fe0"} 
[2026-10-05 14:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:23:11] 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-10-05 14:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 14:23:11] 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-10-05 14:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:23:11] 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-10-05 14:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544682752001,"66":12678,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544682752001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:23:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:23:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544682752001,"power":12678,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":204528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:23:11] local.INFO: GPS data processed {"connection_id":204528,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:23:11] local.INFO: Acknowledgment sent {"connection_id":204528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:23:11] local.INFO: TCP Data received {"connection_id":204527,"ip":"42.109.136.7","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 14:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204527,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 14:23:11] local.INFO: Processing buffer {"connection_id":204527,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 14:23:11] local.INFO: IMEI packet received {"connection_id":204527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":204527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:23:29] local.INFO: TCP Data received {"connection_id":207610,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10b436a90012d7b410005e17620000001601d..."} 
[2026-10-05 14:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b436a90012d7b410005e17620000001601d..."} 
[2026-10-05 14:23:29] local.INFO: Processing buffer {"connection_id":207610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b436a90012d7b410005e17620000001601d..."} 
[2026-10-05 14:23:29] local.INFO: Packet analysis {"connection_id":207610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b43"} 
[2026-10-05 14:23:29] local.INFO: Extracted packet for processing {"connection_id":207610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b43"} 
[2026-10-05 14:23:29] local.INFO: GPS Element Parsed {"raw_longitude":763052288,"raw_latitude":98661920,"longitude_deg":76.3052288,"latitude_deg":9.866192,"altitude":0,"angle":352,"satellites":29,"speed":47,"hex_longitude":"2d7b4100","hex_latitude":"05e17620","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544722432001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139640480693485568,"note":"Value kept but may cause issues"} 
[2026-10-05 14:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883068815266607104,"note":"Value kept but may cause issues"} 
[2026-10-05 14:23:29] 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-10-05 14:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1791190330000,"timestamp_ms":1791190330000,"timestamp_seconds":1791190330,"priority":1,"record_length":96,"hex_timestamp":"000001a10b436a90"} 
[2026-10-05 14:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:23: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-10-05 14: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 14:23:29] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2814758372835328,"note":"Value kept but may cause issues"} 
[2026-10-05 14:23:29] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3203399680,"note":"Value kept but may cause issues"} 
[2026-10-05 14:23:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2338717902,"corrected_to":0} 
[2026-10-05 14:23:29] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2550214011,"note":"Value kept but may cause issues"} 
[2026-10-05 14:23:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3769896960,"note":"Value kept but may cause issues"} 
[2026-10-05 14:23:29] local.WARNING: Large IO value detected {"io_id":186,"raw_value":-4034893783207246368,"note":"Value kept but may cause issues"} 
[2026-10-05 14:23:29] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-8646911279365488634,"note":"Value kept but may cause issues"} 
[2026-10-05 14:23:29] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,217,85,24,241,157,16,25,161,44,45,43,10,66,12,6,29,102,237,128,1,240,137,11,224,4,113,205,194,96,72,26,239,54,2,5,186,178],"length":528,"final_offset":658,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2338717902,"validated":0}]} 
[2026-10-05 14:23:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":386048843513856,"timestamp_seconds":386048843513.856,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 14:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":207610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":207610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":207610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544722432001,"66":13830,"217":206,"85":15104,"24":47,"16":139640480693485568,"45":8883068815266607104},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544722432001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:23:29] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:23:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139640480693485568,"km_value":139640480693485.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883068815266607104,"description":"Unknown IO ID 45"} 
[2026-10-05 14:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544722432001,"power":13830,"unknown_217":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8883068815266607104}} 
[2026-10-05 14:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":207610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967876,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:23:29] local.INFO: GPS data processed {"connection_id":207610,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:23:29] local.INFO: Acknowledgment sent {"connection_id":207610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:23:42] local.INFO: TCP Data received {"connection_id":204528,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4191e8012d196840071fec58003a006527..."} 
[2026-10-05 14:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4191e8012d196840071fec58003a006527..."} 
[2026-10-05 14:23:42] local.INFO: Processing buffer {"connection_id":204528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4191e8012d196840071fec58003a006527..."} 
[2026-10-05 14:23:42] local.INFO: Packet analysis {"connection_id":204528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b41"} 
[2026-10-05 14:23:42] local.INFO: Extracted packet for processing {"connection_id":204528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b41"} 
[2026-10-05 14:23:42] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544688128001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791190209000,"timestamp_ms":1791190209000,"timestamp_seconds":1791190209,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4191e8"} 
[2026-10-05 14:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 14:23:42] 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-10-05 14:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:23:42] 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-10-05 14:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544688128001,"66":12678,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544688128001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:23:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:23:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544688128001,"power":12678,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":204528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:23:42] local.INFO: GPS data processed {"connection_id":204528,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:23:42] local.INFO: Acknowledgment sent {"connection_id":204528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:24:00] local.INFO: TCP Data received {"connection_id":207610,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4389d0012d7b3cc005e19b980000016219..."} 
[2026-10-05 14:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4389d0012d7b3cc005e19b980000016219..."} 
[2026-10-05 14:24:00] local.INFO: Processing buffer {"connection_id":207610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4389d0012d7b3cc005e19b980000016219..."} 
[2026-10-05 14:24:00] local.INFO: Packet analysis {"connection_id":207610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b43"} 
[2026-10-05 14:24:00] local.INFO: Extracted packet for processing {"connection_id":207610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b43"} 
[2026-10-05 14:24:00] local.INFO: GPS Element Parsed {"raw_longitude":763051200,"raw_latitude":98671512,"longitude_deg":76.30512,"latitude_deg":9.8671512,"altitude":0,"angle":354,"satellites":25,"speed":48,"hex_longitude":"2d7b3cc0","hex_latitude":"05e19b98","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544724480001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139640948844920832,"note":"Value kept but may cause issues"} 
[2026-10-05 14:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881379965408780288,"note":"Value kept but may cause issues"} 
[2026-10-05 14:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791190338000,"timestamp_ms":1791190338000,"timestamp_seconds":1791190338,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4389d0"} 
[2026-10-05 14:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:24: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-10-05 14: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 14:24:00] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4785083209809920,"note":"Value kept but may cause issues"} 
[2026-10-05 14:24:00] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3797417984,"note":"Value kept but may cause issues"} 
[2026-10-05 14:24:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2338717902,"corrected_to":0} 
[2026-10-05 14:24:00] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1744907643,"corrected_to":0} 
[2026-10-05 14:24:00] local.WARNING: Large IO value detected {"io_id":95,"raw_value":2147868862,"note":"Value kept but may cause issues"} 
[2026-10-05 14:24:00] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2483080587,"note":"Value kept but may cause issues"} 
[2026-10-05 14:24:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3770107904,"note":"Value kept but may cause issues"} 
[2026-10-05 14:24:00] local.WARNING: Large IO value detected {"io_id":190,"raw_value":-5764276040125905440,"note":"Value kept but may cause issues"} 
[2026-10-05 14:24:00] local.WARNING: Large IO value detected {"io_id":180,"raw_value":1152921510044368906,"note":"Value kept but may cause issues"} 
[2026-10-05 14:24:00] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,217,85,24,241,157,16,26,161,75,45,80,28,10,66,25,44,43,12,1,240,93,227,11,224,4,113,205,42,202,95,239,54,102,2,5,17,190,180],"length":528,"final_offset":658,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2338717902,"validated":0},{"io_id":202,"original":1744907643,"validated":0}]} 
[2026-10-05 14:24:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":387152650108928,"timestamp_seconds":387152650108.928,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 14:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544724480001,"66":13624,"217":206,"85":15104,"24":48,"16":139640948844920832,"45":8881379965408780288},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544724480001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:24:00] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:24:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139640948844920832,"km_value":139640948844920.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881379965408780288,"description":"Unknown IO ID 45"} 
[2026-10-05 14:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544724480001,"power":13624,"unknown_217":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8881379965408780288}} 
[2026-10-05 14:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":207610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:24:00] local.INFO: GPS data processed {"connection_id":207610,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:24:00] local.INFO: Acknowledgment sent {"connection_id":207610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:24:10] local.INFO: TCP Data received {"connection_id":207613,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:24:10] local.INFO: Processing buffer {"connection_id":207613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:24:10] local.INFO: IMEI packet received {"connection_id":207613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":207613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:24:15] local.INFO: TCP Data received {"connection_id":207613,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:24:15] local.INFO: Processing buffer {"connection_id":207613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:24:15] local.INFO: IMEI packet received {"connection_id":207613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":207613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:24:16] local.INFO: TCP Data received {"connection_id":207613,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b41e3f0012d196840071fec58003a006529..."} 
[2026-10-05 14:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b41e3f0012d196840071fec58003a006529..."} 
[2026-10-05 14:24:16] local.INFO: Processing buffer {"connection_id":207613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b41e3f0012d196840071fec58003a006529..."} 
[2026-10-05 14:24:16] local.INFO: Packet analysis {"connection_id":207613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b41"} 
[2026-10-05 14:24:16] local.INFO: Extracted packet for processing {"connection_id":207613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b41"} 
[2026-10-05 14:24:16] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544693504001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791190230000,"timestamp_ms":1791190230000,"timestamp_seconds":1791190230,"priority":1,"record_length":96,"hex_timestamp":"000001a10b41e3f0"} 
[2026-10-05 14:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 14:24:16] 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-10-05 14:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:24:16] 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-10-05 14:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544693504001,"66":12667,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544693504001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:24:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:24:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544693504001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":207613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:24:16] local.INFO: GPS data processed {"connection_id":207613,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:24:16] local.INFO: Acknowledgment sent {"connection_id":207613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:24:17] local.INFO: TCP Data received {"connection_id":207613,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4235f8012d196840071fec58003a00652b..."} 
[2026-10-05 14:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4235f8012d196840071fec58003a00652b..."} 
[2026-10-05 14:24:17] local.INFO: Processing buffer {"connection_id":207613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4235f8012d196840071fec58003a00652b..."} 
[2026-10-05 14:24:17] local.INFO: Packet analysis {"connection_id":207613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b42"} 
[2026-10-05 14:24:17] local.INFO: Extracted packet for processing {"connection_id":207613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b42"} 
[2026-10-05 14:24:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544698880001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791190251000,"timestamp_ms":1791190251000,"timestamp_seconds":1791190251,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4235f8"} 
[2026-10-05 14:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":207613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":207613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":207613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:24:17] 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-10-05 14:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544698880001,"66":12667,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544698880001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:24:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:24:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544698880001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":207613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:24:17] local.INFO: GPS data processed {"connection_id":207613,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:24:17] local.INFO: Acknowledgment sent {"connection_id":207613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:24:31] local.INFO: TCP Data received {"connection_id":207610,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10b453f50012d7b0a4005e329000000016317..."} 
[2026-10-05 14:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b453f50012d7b0a4005e329000000016317..."} 
[2026-10-05 14:24:32] local.INFO: Processing buffer {"connection_id":207610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b453f50012d7b0a4005e329000000016317..."} 
[2026-10-05 14:24:32] local.INFO: Packet analysis {"connection_id":207610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b45"} 
[2026-10-05 14:24:32] local.INFO: Extracted packet for processing {"connection_id":207610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b45"} 
[2026-10-05 14:24:32] local.INFO: GPS Element Parsed {"raw_longitude":763038272,"raw_latitude":98773248,"longitude_deg":76.3038272,"latitude_deg":9.8773248,"altitude":0,"angle":355,"satellites":23,"speed":38,"hex_longitude":"2d7b0a40","hex_latitude":"05e32900","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544752384001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139645926712016896,"note":"Value kept but may cause issues"} 
[2026-10-05 14:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867446954087747584,"note":"Value kept but may cause issues"} 
[2026-10-05 14:24:32] 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-10-05 14:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791190450000,"timestamp_ms":1791190450000,"timestamp_seconds":1791190450,"priority":1,"record_length":96,"hex_timestamp":"000001a10b453f50"} 
[2026-10-05 14:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:24: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-10-05 14: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-10-05 14:24:32] 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-10-05 14: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-10-05 14:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544752384001,"66":13559,"207":206,"85":15104,"24":38,"16":139645926712016896,"45":8867446954087747584},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 14:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544752384001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:24:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 14:24:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139645926712016896,"km_value":139645926712016.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867446954087747584,"description":"Unknown IO ID 45"} 
[2026-10-05 14:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544752384001,"power":13559,"unknown_207":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8867446954087747584}} 
[2026-10-05 14:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":207610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:24:32] local.INFO: GPS data processed {"connection_id":207610,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:24:32] local.INFO: Acknowledgment sent {"connection_id":207610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:24:48] local.INFO: TCP Data received {"connection_id":207613,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b428800012d196840071fec58003a006529..."} 
[2026-10-05 14:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b428800012d196840071fec58003a006529..."} 
[2026-10-05 14:24:48] local.INFO: Processing buffer {"connection_id":207613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b428800012d196840071fec58003a006529..."} 
[2026-10-05 14:24:48] local.INFO: Packet analysis {"connection_id":207613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b42"} 
[2026-10-05 14:24:48] local.INFO: Extracted packet for processing {"connection_id":207613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b42"} 
[2026-10-05 14:24:48] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544704256001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791190272000,"timestamp_ms":1791190272000,"timestamp_seconds":1791190272,"priority":1,"record_length":96,"hex_timestamp":"000001a10b428800"} 
[2026-10-05 14:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:24:48] 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-10-05 14:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:24:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:24:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":207613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":207613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":207613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:24:48] 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-10-05 14:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544704256001,"66":12667,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544704256001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:24:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:24:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544704256001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":207613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:24:49] local.INFO: GPS data processed {"connection_id":207613,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:24:49] local.INFO: Acknowledgment sent {"connection_id":207613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:24:58] local.INFO: TCP Data received {"connection_id":204659,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204659,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:24:58] local.INFO: Processing buffer {"connection_id":204659,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:24:58] local.INFO: IMEI packet received {"connection_id":204659,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 14:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":204659,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:25:04] local.INFO: TCP Data received {"connection_id":207610,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10b456a48012d7b064005e34da0000001561e..."} 
[2026-10-05 14:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b456a48012d7b064005e34da0000001561e..."} 
[2026-10-05 14:25:04] local.INFO: Processing buffer {"connection_id":207610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b456a48012d7b064005e34da0000001561e..."} 
[2026-10-05 14:25:04] local.INFO: Packet analysis {"connection_id":207610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b45"} 
[2026-10-05 14:25:04] local.INFO: Extracted packet for processing {"connection_id":207610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b45"} 
[2026-10-05 14:25:04] local.INFO: GPS Element Parsed {"raw_longitude":763037248,"raw_latitude":98782624,"longitude_deg":76.3037248,"latitude_deg":9.8782624,"altitude":0,"angle":342,"satellites":30,"speed":26,"hex_longitude":"2d7b0640","hex_latitude":"05e34da0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 14:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544755200001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139646381978550272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865969210462371840,"note":"Value kept but may cause issues"} 
[2026-10-05 14:25: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-10-05 14:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791190461000,"timestamp_ms":1791190461000,"timestamp_seconds":1791190461,"priority":1,"record_length":96,"hex_timestamp":"000001a10b456a48"} 
[2026-10-05 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-10-05 14:25: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-10-05 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-05 14:25:04] 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-10-05 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-10-05 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-10-05 14:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":207610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":207610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":207610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544755200001,"66":13830,"208":206,"85":15104,"24":26,"16":139646381978550272,"45":8865969210462371840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 14:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544755200001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:25:04] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 14:25:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139646381978550272,"km_value":139646381978550.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865969210462371840,"description":"Unknown IO ID 45"} 
[2026-10-05 14:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544755200001,"power":13830,"unknown_208":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8865969210462371840}} 
[2026-10-05 14:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":207610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967883,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:25:04] local.INFO: GPS data processed {"connection_id":207610,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:25:04] local.INFO: Acknowledgment sent {"connection_id":207610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:25:05] local.INFO: TCP Data received {"connection_id":204529,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:25:05] local.INFO: Processing buffer {"connection_id":204529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:25:05] local.INFO: IMEI packet received {"connection_id":204529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":204529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:25:10] local.INFO: TCP Data received {"connection_id":204529,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:25:10] local.INFO: Processing buffer {"connection_id":204529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:25:10] local.INFO: IMEI packet received {"connection_id":204529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":204529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:25:11] local.INFO: TCP Data received {"connection_id":204529,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b42da08012d196840071fec58003a006527..."} 
[2026-10-05 14:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b42da08012d196840071fec58003a006527..."} 
[2026-10-05 14:25:11] local.INFO: Processing buffer {"connection_id":204529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b42da08012d196840071fec58003a006527..."} 
[2026-10-05 14:25:11] local.INFO: Packet analysis {"connection_id":204529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b42"} 
[2026-10-05 14:25:11] local.INFO: Extracted packet for processing {"connection_id":204529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b42"} 
[2026-10-05 14:25:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544709632001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791190293000,"timestamp_ms":1791190293000,"timestamp_seconds":1791190293,"priority":1,"record_length":96,"hex_timestamp":"000001a10b42da08"} 
[2026-10-05 14:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:25:11] 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-10-05 14:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:25:11] 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-10-05 14:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:25:11] 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-10-05 14:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544709632001,"66":12678,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544709632001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:25:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:25:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544709632001,"power":12678,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":204529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:25:11] local.INFO: GPS data processed {"connection_id":204529,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:25:11] local.INFO: Acknowledgment sent {"connection_id":204529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:25:15] local.INFO: TCP Data received {"connection_id":204529,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b432c10012d196840071fec58003a006528..."} 
[2026-10-05 14:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b432c10012d196840071fec58003a006528..."} 
[2026-10-05 14:25:15] local.INFO: Processing buffer {"connection_id":204529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b432c10012d196840071fec58003a006528..."} 
[2026-10-05 14:25:15] local.INFO: Packet analysis {"connection_id":204529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b43"} 
[2026-10-05 14:25:15] local.INFO: Extracted packet for processing {"connection_id":204529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b43"} 
[2026-10-05 14:25:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544715008001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791190314000,"timestamp_ms":1791190314000,"timestamp_seconds":1791190314,"priority":1,"record_length":96,"hex_timestamp":"000001a10b432c10"} 
[2026-10-05 14:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:25:15] 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-10-05 14:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 14:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:25:15] 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-10-05 14:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544715008001,"66":12678,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544715008001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:25:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:25:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544715008001,"power":12678,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":204529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:25:16] local.INFO: GPS data processed {"connection_id":204529,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:25:16] local.INFO: Acknowledgment sent {"connection_id":204529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:25:37] local.INFO: TCP Data received {"connection_id":207610,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10b456a48012d7b064005e34da0000001561e..."} 
[2026-10-05 14:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b456a48012d7b064005e34da0000001561e..."} 
[2026-10-05 14:25:37] local.INFO: Processing buffer {"connection_id":207610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b456a48012d7b064005e34da0000001561e..."} 
[2026-10-05 14:25:37] local.INFO: Packet analysis {"connection_id":207610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b45"} 
[2026-10-05 14:25:37] local.INFO: Extracted packet for processing {"connection_id":207610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b45"} 
[2026-10-05 14:25:37] local.INFO: GPS Element Parsed {"raw_longitude":763037248,"raw_latitude":98782624,"longitude_deg":76.3037248,"latitude_deg":9.8782624,"altitude":0,"angle":342,"satellites":30,"speed":26,"hex_longitude":"2d7b0640","hex_latitude":"05e34da0","is_valid_coordinates":true} 
[2026-10-05 14:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544758016001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139646381978550272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864843310557929472,"note":"Value kept but may cause issues"} 
[2026-10-05 14:25: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-10-05 14:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791190461000,"timestamp_ms":1791190461000,"timestamp_seconds":1791190461,"priority":1,"record_length":96,"hex_timestamp":"000001a10b456a48"} 
[2026-10-05 14:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 14:25:37] local.WARNING: Large IO value detected {"io_id":24,"raw_value":11821957627576320,"note":"Value kept but may cause issues"} 
[2026-10-05 14:25:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626590456832,"note":"Value kept but may cause issues"} 
[2026-10-05 14:25:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221611159,"note":"Value kept but may cause issues"} 
[2026-10-05 14:25:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3799126016,"note":"Value kept but may cause issues"} 
[2026-10-05 14:25:37] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3184001024,"note":"Value kept but may cause issues"} 
[2026-10-05 14:25:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-05 14:25:37] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2147560827,"note":"Value kept but may cause issues"} 
[2026-10-05 14:25:37] local.WARNING: Large IO value detected {"io_id":112,"raw_value":5188478252699616738,"note":"Value kept but may cause issues"} 
[2026-10-05 14:25:37] local.WARNING: Large IO value detected {"io_id":77,"raw_value":-7493989774036893662,"note":"Value kept but may cause issues"} 
[2026-10-05 14:25:37] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,208,85,24,241,157,16,31,161,63,45,64,41,23,10,66,207,20,128,5,25,30,245,1,240,6,227,11,226,4,113,205,52,186,8,28,239,54,2,42,112,77],"length":528,"final_offset":658,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-10-05 14:25:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":376161827422208,"timestamp_seconds":376161827422.208,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 14:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544758016001,"66":13830,"208":206,"85":15104,"24":26,"16":139646381978550272,"45":8864843310557929472},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 14:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544758016001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:25:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 14:25:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139646381978550272,"km_value":139646381978550.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864843310557929472,"description":"Unknown IO ID 45"} 
[2026-10-05 14:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544758016001,"power":13830,"unknown_208":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8864843310557929472}} 
[2026-10-05 14:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":207610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:25:37] local.INFO: GPS data processed {"connection_id":207610,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:25:37] local.INFO: Acknowledgment sent {"connection_id":207610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:25:40] local.INFO: TCP Data received {"connection_id":204661,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:25:40] local.INFO: Processing buffer {"connection_id":204661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:25:40] local.INFO: IMEI packet received {"connection_id":204661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 14:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":204661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:25:47] local.INFO: TCP Data received {"connection_id":204529,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b437e18012d196840071fec58003a006529..."} 
[2026-10-05 14:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b437e18012d196840071fec58003a006529..."} 
[2026-10-05 14:25:47] local.INFO: Processing buffer {"connection_id":204529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b437e18012d196840071fec58003a006529..."} 
[2026-10-05 14:25:47] local.INFO: Packet analysis {"connection_id":204529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b43"} 
[2026-10-05 14:25:47] local.INFO: Extracted packet for processing {"connection_id":204529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b43"} 
[2026-10-05 14:25:47] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544720384001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791190335000,"timestamp_ms":1791190335000,"timestamp_seconds":1791190335,"priority":1,"record_length":96,"hex_timestamp":"000001a10b437e18"} 
[2026-10-05 14:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 14:25:47] 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-10-05 14:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":204529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":204529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":204529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:25:47] 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-10-05 14:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544720384001,"66":12667,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544720384001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:25:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:25:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544720384001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":204529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:25:47] local.INFO: GPS data processed {"connection_id":204529,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:25:47] local.INFO: Acknowledgment sent {"connection_id":204529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:26:02] local.INFO: TCP Data received {"connection_id":206075,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:26:02] local.INFO: Processing buffer {"connection_id":206075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:26:02] local.INFO: IMEI packet received {"connection_id":206075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":206075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:26:05] local.INFO: TCP Data received {"connection_id":206075,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:26:05] local.INFO: Processing buffer {"connection_id":206075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:26:05] local.INFO: IMEI packet received {"connection_id":206075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":206075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:26:09] local.INFO: TCP Data received {"connection_id":207610,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10b459540012d7afb8005e36e880004015a23..."} 
[2026-10-05 14:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b459540012d7afb8005e36e880004015a23..."} 
[2026-10-05 14:26:09] local.INFO: Processing buffer {"connection_id":207610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b459540012d7afb8005e36e880004015a23..."} 
[2026-10-05 14:26:09] local.INFO: Packet analysis {"connection_id":207610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b45"} 
[2026-10-05 14:26:09] local.INFO: Extracted packet for processing {"connection_id":207610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b45"} 
[2026-10-05 14:26:09] local.INFO: GPS Element Parsed {"raw_longitude":763034496,"raw_latitude":98791048,"longitude_deg":76.3034496,"latitude_deg":9.8791048,"altitude":4,"angle":346,"satellites":35,"speed":34,"hex_longitude":"2d7afb80","hex_latitude":"05e36e88","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544758016001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139646815770247168,"note":"Value kept but may cause issues"} 
[2026-10-05 14:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864843310557929472,"note":"Value kept but may cause issues"} 
[2026-10-05 14:26:09] 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-10-05 14:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791190472000,"timestamp_ms":1791190472000,"timestamp_seconds":1791190472,"priority":1,"record_length":96,"hex_timestamp":"000001a10b459540"} 
[2026-10-05 14:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14: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-10-05 14: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 14:26:09] local.WARNING: Large IO value detected {"io_id":24,"raw_value":12384907580997632,"note":"Value kept but may cause issues"} 
[2026-10-05 14:26:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626590429184,"note":"Value kept but may cause issues"} 
[2026-10-05 14:26:09] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3780116480,"note":"Value kept but may cause issues"} 
[2026-10-05 14:26:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-05 14:26:09] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3221302651,"note":"Value kept but may cause issues"} 
[2026-10-05 14:26:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":350,"corrected_to":0} 
[2026-10-05 14:26:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3801548800,"note":"Value kept but may cause issues"} 
[2026-10-05 14:26:09] local.WARNING: Large IO value detected {"io_id":151,"raw_value":6341399757239354850,"note":"Value kept but may cause issues"} 
[2026-10-05 14:26:09] local.WARNING: Large IO value detected {"io_id":114,"raw_value":1152921510497353770,"note":"Value kept but may cause issues"} 
[2026-10-05 14:26:09] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,208,85,24,241,157,16,31,161,106,45,64,77,30,10,66,63,41,23,207,20,128,1,240,78,227,11,226,4,113,205,51,217,26,200,239,54,2,5,44,151,114],"length":528,"final_offset":658,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0},{"io_id":200,"original":350,"validated":0}]} 
[2026-10-05 14:26:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":376161827422208,"timestamp_seconds":376161827422.208,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 14:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":207610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":207610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":207610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544758016001,"66":13798,"208":206,"85":15104,"24":34,"16":139646815770247168,"45":8864843310557929472},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 14:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544758016001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:26:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 14:26:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139646815770247168,"km_value":139646815770247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864843310557929472,"description":"Unknown IO ID 45"} 
[2026-10-05 14:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544758016001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8864843310557929472}} 
[2026-10-05 14:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":207610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:26:09] local.INFO: GPS data processed {"connection_id":207610,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:26:09] local.INFO: Acknowledgment sent {"connection_id":207610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:26:10] local.INFO: TCP Data received {"connection_id":206075,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:26:10] local.INFO: Processing buffer {"connection_id":206075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:26:10] local.INFO: IMEI packet received {"connection_id":206075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":206075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:26:11] local.INFO: TCP Data received {"connection_id":206075,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b43d020012d196840071fec58003a00652b..."} 
[2026-10-05 14:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b43d020012d196840071fec58003a00652b..."} 
[2026-10-05 14:26:11] local.INFO: Processing buffer {"connection_id":206075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b43d020012d196840071fec58003a00652b..."} 
[2026-10-05 14:26:11] local.INFO: Packet analysis {"connection_id":206075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b43"} 
[2026-10-05 14:26:11] local.INFO: Extracted packet for processing {"connection_id":206075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b43"} 
[2026-10-05 14:26:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544725760001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791190356000,"timestamp_ms":1791190356000,"timestamp_seconds":1791190356,"priority":1,"record_length":96,"hex_timestamp":"000001a10b43d020"} 
[2026-10-05 14:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:26:11] 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-10-05 14:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:26:11] 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-10-05 14:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:26:11] 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-10-05 14:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544725760001,"66":12591,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544725760001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:26:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:26:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544725760001,"power":12591,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":206075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:26:11] local.INFO: GPS data processed {"connection_id":206075,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:26:11] local.INFO: Acknowledgment sent {"connection_id":206075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:26:43] local.INFO: TCP Data received {"connection_id":206075,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b442228012d196840071fec58003a00652b..."} 
[2026-10-05 14:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b442228012d196840071fec58003a00652b..."} 
[2026-10-05 14:26:43] local.INFO: Processing buffer {"connection_id":206075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b442228012d196840071fec58003a00652b..."} 
[2026-10-05 14:26:43] local.INFO: Packet analysis {"connection_id":206075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b44"} 
[2026-10-05 14:26:43] local.INFO: Extracted packet for processing {"connection_id":206075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b44"} 
[2026-10-05 14:26:43] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544731136001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791190377000,"timestamp_ms":1791190377000,"timestamp_seconds":1791190377,"priority":1,"record_length":96,"hex_timestamp":"000001a10b442228"} 
[2026-10-05 14:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:26:43] 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-10-05 14:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-05 14:26:43] 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-10-05 14:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":206075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":206075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":206075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:26:43] 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-10-05 14:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544731136001,"66":12385,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544731136001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:26:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:26:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544731136001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":206075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:26:43] local.INFO: GPS data processed {"connection_id":206075,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:26:43] local.INFO: Acknowledgment sent {"connection_id":206075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:27:05] local.INFO: TCP Data received {"connection_id":204662,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:27:05] local.INFO: Processing buffer {"connection_id":204662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:27:05] local.INFO: IMEI packet received {"connection_id":204662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":204662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:27:06] local.INFO: TCP Data received {"connection_id":204662,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:27:06] local.INFO: Processing buffer {"connection_id":204662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:27:06] local.INFO: IMEI packet received {"connection_id":204662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":204662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:27:10] local.INFO: TCP Data received {"connection_id":204662,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:27:10] local.INFO: Processing buffer {"connection_id":204662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:27:10] local.INFO: IMEI packet received {"connection_id":204662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":204662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:27:11] local.INFO: TCP Data received {"connection_id":204662,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b447430012d196840071fec58003a00652a..."} 
[2026-10-05 14:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b447430012d196840071fec58003a00652a..."} 
[2026-10-05 14:27:11] local.INFO: Processing buffer {"connection_id":204662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b447430012d196840071fec58003a00652a..."} 
[2026-10-05 14:27:11] local.INFO: Packet analysis {"connection_id":204662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b44"} 
[2026-10-05 14:27:11] local.INFO: Extracted packet for processing {"connection_id":204662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b44"} 
[2026-10-05 14:27:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544736512001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791190398000,"timestamp_ms":1791190398000,"timestamp_seconds":1791190398,"priority":1,"record_length":96,"hex_timestamp":"000001a10b447430"} 
[2026-10-05 14:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:27:11] 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-10-05 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 14:27:11] 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-10-05 14: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-10-05 14:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:27:11] 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-10-05 14:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544736512001,"66":12645,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544736512001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:27:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:27:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544736512001,"power":12645,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":204662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:27:11] local.INFO: GPS data processed {"connection_id":204662,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:27:11] local.INFO: Acknowledgment sent {"connection_id":204662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:27:42] local.INFO: TCP Data received {"connection_id":204662,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b44c638012d196840071fec58003a006529..."} 
[2026-10-05 14:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b44c638012d196840071fec58003a006529..."} 
[2026-10-05 14:27:42] local.INFO: Processing buffer {"connection_id":204662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b44c638012d196840071fec58003a006529..."} 
[2026-10-05 14:27:42] local.INFO: Packet analysis {"connection_id":204662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b44"} 
[2026-10-05 14:27:42] local.INFO: Extracted packet for processing {"connection_id":204662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b44"} 
[2026-10-05 14:27:42] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544741888001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791190419000,"timestamp_ms":1791190419000,"timestamp_seconds":1791190419,"priority":1,"record_length":96,"hex_timestamp":"000001a10b44c638"} 
[2026-10-05 14:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:27:42] 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-10-05 14:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 14:27:42] 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-10-05 14:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:27:42] 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-10-05 14:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544741888001,"66":12591,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544741888001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:27:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:27:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544741888001,"power":12591,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":204662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:27:42] local.INFO: GPS data processed {"connection_id":204662,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:27:42] local.INFO: Acknowledgment sent {"connection_id":204662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:28:06] local.INFO: TCP Data received {"connection_id":204663,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:28:06] local.INFO: Processing buffer {"connection_id":204663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:28:06] local.INFO: IMEI packet received {"connection_id":204663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":204663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:28:08] local.INFO: TCP Data received {"connection_id":204663,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:28:08] local.INFO: Processing buffer {"connection_id":204663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:28:08] local.INFO: IMEI packet received {"connection_id":204663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":204663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:28:10] local.INFO: TCP Data received {"connection_id":204663,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:28:10] local.INFO: Processing buffer {"connection_id":204663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:28:10] local.INFO: IMEI packet received {"connection_id":204663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":204663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:28:11] local.INFO: TCP Data received {"connection_id":204663,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b451840012d196840071fec58003a006524..."} 
[2026-10-05 14:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b451840012d196840071fec58003a006524..."} 
[2026-10-05 14:28:11] local.INFO: Processing buffer {"connection_id":204663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b451840012d196840071fec58003a006524..."} 
[2026-10-05 14:28:11] local.INFO: Packet analysis {"connection_id":204663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b45"} 
[2026-10-05 14:28:11] local.INFO: Extracted packet for processing {"connection_id":204663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b45"} 
[2026-10-05 14:28:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544747264001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791190440000,"timestamp_ms":1791190440000,"timestamp_seconds":1791190440,"priority":1,"record_length":96,"hex_timestamp":"000001a10b451840"} 
[2026-10-05 14:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:28:11] 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-10-05 14:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-05 14:28:11] 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-10-05 14:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:28:11] 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-10-05 14:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544747264001,"66":12667,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544747264001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:28:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:28:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544747264001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":204663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:28:11] local.INFO: GPS data processed {"connection_id":204663,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:28:11] local.INFO: Acknowledgment sent {"connection_id":204663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:28:13] local.INFO: TCP Data received {"connection_id":206076,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:28:13] local.INFO: Processing buffer {"connection_id":206076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:28:13] local.INFO: IMEI packet received {"connection_id":206076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":206076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:28:14] local.INFO: TCP Data received {"connection_id":206076,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b47a0b0012d7c6b0005da1d380020015b20..."} 
[2026-10-05 14:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b47a0b0012d7c6b0005da1d380020015b20..."} 
[2026-10-05 14:28:14] local.INFO: Processing buffer {"connection_id":206076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b47a0b0012d7c6b0005da1d380020015b20..."} 
[2026-10-05 14:28:14] local.INFO: Packet analysis {"connection_id":206076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b47"} 
[2026-10-05 14:28:14] local.INFO: Extracted packet for processing {"connection_id":206076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b47"} 
[2026-10-05 14:28:14] local.INFO: GPS Element Parsed {"raw_longitude":763128576,"raw_latitude":98180408,"longitude_deg":76.3128576,"latitude_deg":9.8180408,"altitude":32,"angle":347,"satellites":32,"speed":47,"hex_longitude":"2d7c6b00","hex_latitude":"05da1d38","is_valid_coordinates":true} 
[2026-10-05 14:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544793088001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2039886127300608,"note":"Value kept but may cause issues"} 
[2026-10-05 14:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8967370570668281856,"note":"Value kept but may cause issues"} 
[2026-10-05 14:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791190606000,"timestamp_ms":1791190606000,"timestamp_seconds":1791190606,"priority":1,"record_length":96,"hex_timestamp":"000001a10b47a0b0"} 
[2026-10-05 14:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 14:28:14] 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-10-05 14:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":206076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":206076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":206076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544793088001,"66":28006,"161":206,"85":15104,"24":47,"16":2039886127300608,"45":8967370570668281856},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 14:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544793088001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:28:14] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 14:28:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2039886127300608,"km_value":2039886127300.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8967370570668281856,"description":"Unknown IO ID 45"} 
[2026-10-05 14:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544793088001,"power":28006,"unknown_161":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8967370570668281856}} 
[2026-10-05 14:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":206076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:28:14] local.INFO: GPS data processed {"connection_id":206076,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:28:14] local.INFO: Acknowledgment sent {"connection_id":206076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:28:15] local.INFO: TCP Data received {"connection_id":204663,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b456a48012d196840071fec58003a006529..."} 
[2026-10-05 14:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b456a48012d196840071fec58003a006529..."} 
[2026-10-05 14:28:15] local.INFO: Processing buffer {"connection_id":204663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b456a48012d196840071fec58003a006529..."} 
[2026-10-05 14:28:15] local.INFO: Packet analysis {"connection_id":204663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b45"} 
[2026-10-05 14:28:15] local.INFO: Extracted packet for processing {"connection_id":204663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b45"} 
[2026-10-05 14:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544752640001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791190461000,"timestamp_ms":1791190461000,"timestamp_seconds":1791190461,"priority":1,"record_length":96,"hex_timestamp":"000001a10b456a48"} 
[2026-10-05 14:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:28:15] 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-10-05 14:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:28:15] 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-10-05 14:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544752640001,"66":12667,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544752640001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:28:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:28:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544752640001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":204663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:28:16] local.INFO: GPS data processed {"connection_id":204663,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:28:16] local.INFO: Acknowledgment sent {"connection_id":204663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:28:47] local.INFO: TCP Data received {"connection_id":204663,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b45bc50012d196840071fec58003a006528..."} 
[2026-10-05 14:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b45bc50012d196840071fec58003a006528..."} 
[2026-10-05 14:28:47] local.INFO: Processing buffer {"connection_id":204663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b45bc50012d196840071fec58003a006528..."} 
[2026-10-05 14:28:47] local.INFO: Packet analysis {"connection_id":204663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b45"} 
[2026-10-05 14:28:47] local.INFO: Extracted packet for processing {"connection_id":204663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b45"} 
[2026-10-05 14:28:47] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544758016001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791190482000,"timestamp_ms":1791190482000,"timestamp_seconds":1791190482,"priority":1,"record_length":96,"hex_timestamp":"000001a10b45bc50"} 
[2026-10-05 14:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:28: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-10-05 14:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":204663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":204663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":204663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:28:47] 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-10-05 14:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544758016001,"66":12667,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544758016001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:28:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:28:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544758016001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":204663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:28:47] local.INFO: GPS data processed {"connection_id":204663,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:28:47] local.INFO: Acknowledgment sent {"connection_id":204663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:28:55] local.INFO: TCP Data received {"connection_id":204532,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:28:55] local.INFO: Processing buffer {"connection_id":204532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:28:55] local.INFO: IMEI packet received {"connection_id":204532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":204532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:28:56] local.INFO: TCP Data received {"connection_id":204532,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:28:56] local.INFO: Processing buffer {"connection_id":204532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:28:56] local.INFO: IMEI packet received {"connection_id":204532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":204532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:29:00] local.INFO: TCP Data received {"connection_id":204532,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:29:00] local.INFO: Processing buffer {"connection_id":204532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:29:00] local.INFO: IMEI packet received {"connection_id":204532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":204532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:29:01] local.INFO: TCP Data received {"connection_id":204532,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b47bff0012d7c604005da43300021015626..."} 
[2026-10-05 14:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b47bff0012d7c604005da43300021015626..."} 
[2026-10-05 14:29:01] local.INFO: Processing buffer {"connection_id":204532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b47bff0012d7c604005da43300021015626..."} 
[2026-10-05 14:29:01] local.INFO: Packet analysis {"connection_id":204532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b47"} 
[2026-10-05 14:29:01] local.INFO: Extracted packet for processing {"connection_id":204532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b47"} 
[2026-10-05 14:29:01] local.INFO: GPS Element Parsed {"raw_longitude":763125824,"raw_latitude":98190128,"longitude_deg":76.3125824,"latitude_deg":9.8190128,"altitude":33,"angle":342,"satellites":38,"speed":53,"hex_longitude":"2d7c6040","hex_latitude":"05da4330","is_valid_coordinates":true} 
[2026-10-05 14:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544795136001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2040375753572352,"note":"Value kept but may cause issues"} 
[2026-10-05 14:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965259508345288704,"note":"Value kept but may cause issues"} 
[2026-10-05 14:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791190614000,"timestamp_ms":1791190614000,"timestamp_seconds":1791190614,"priority":1,"record_length":96,"hex_timestamp":"000001a10b47bff0"} 
[2026-10-05 14:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:29:01] 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-10-05 14:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 14:29:01] 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-10-05 14:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:29: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-10-05 14:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544795136001,"66":27745,"161":206,"85":15104,"24":53,"16":2040375753572352,"45":8965259508345288704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 14:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544795136001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:29:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 14:29:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2040375753572352,"km_value":2040375753572.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965259508345288704,"description":"Unknown IO ID 45"} 
[2026-10-05 14:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544795136001,"power":27745,"unknown_161":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8965259508345288704}} 
[2026-10-05 14:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":204532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:29:01] local.INFO: GPS data processed {"connection_id":204532,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:29:01] local.INFO: Acknowledgment sent {"connection_id":204532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:29:05] local.INFO: TCP Data received {"connection_id":206077,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:29:05] local.INFO: Processing buffer {"connection_id":206077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:29:05] local.INFO: IMEI packet received {"connection_id":206077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":206077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:29:10] local.INFO: TCP Data received {"connection_id":206077,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:29:10] local.INFO: Processing buffer {"connection_id":206077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:29:10] local.INFO: IMEI packet received {"connection_id":206077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":206077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:29:11] local.INFO: TCP Data received {"connection_id":206077,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b460e58012d196840071fec58003a006527..."} 
[2026-10-05 14:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b460e58012d196840071fec58003a006527..."} 
[2026-10-05 14:29:11] local.INFO: Processing buffer {"connection_id":206077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b460e58012d196840071fec58003a006527..."} 
[2026-10-05 14:29:11] local.INFO: Packet analysis {"connection_id":206077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b46"} 
[2026-10-05 14:29:11] local.INFO: Extracted packet for processing {"connection_id":206077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b46"} 
[2026-10-05 14:29:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544763392001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791190503000,"timestamp_ms":1791190503000,"timestamp_seconds":1791190503,"priority":1,"record_length":96,"hex_timestamp":"000001a10b460e58"} 
[2026-10-05 14:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:29:11] 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-10-05 14:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:29:11] 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-10-05 14:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:29:11] 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-10-05 14:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544763392001,"66":12645,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544763392001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:29:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:29:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544763392001,"power":12645,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":206077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:29:11] local.INFO: GPS data processed {"connection_id":206077,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:29:11] local.INFO: Acknowledgment sent {"connection_id":206077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:29:21] local.INFO: TCP Data received {"connection_id":204664,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:29:21] local.INFO: Processing buffer {"connection_id":204664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:29:21] local.INFO: IMEI packet received {"connection_id":204664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":204664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:29:27] local.INFO: TCP Data received {"connection_id":204664,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:29:27] local.INFO: Processing buffer {"connection_id":204664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:29:27] local.INFO: IMEI packet received {"connection_id":204664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":204664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:29:27] local.INFO: TCP Data received {"connection_id":204664,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4990c8012d79c08005e66ac80005016123..."} 
[2026-10-05 14:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4990c8012d79c08005e66ac80005016123..."} 
[2026-10-05 14:29:28] local.INFO: Processing buffer {"connection_id":204664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4990c8012d79c08005e66ac80005016123..."} 
[2026-10-05 14:29:28] local.INFO: Packet analysis {"connection_id":204664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b49"} 
[2026-10-05 14:29:28] local.INFO: Extracted packet for processing {"connection_id":204664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b49"} 
[2026-10-05 14:29:28] local.INFO: GPS Element Parsed {"raw_longitude":762953856,"raw_latitude":98986696,"longitude_deg":76.2953856,"latitude_deg":9.8986696,"altitude":5,"angle":353,"satellites":35,"speed":40,"hex_longitude":"2d79c080","hex_latitude":"05e66ac8","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544825088001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139657488763977728,"note":"Value kept but may cause issues"} 
[2026-10-05 14:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8774912055548635136,"note":"Value kept but may cause issues"} 
[2026-10-05 14:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1791190733000,"timestamp_ms":1791190733000,"timestamp_seconds":1791190733,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4990c8"} 
[2026-10-05 14:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:29: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-10-05 14: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 14:29:28] local.WARNING: Large IO value detected {"io_id":24,"raw_value":9570157813891072,"note":"Value kept but may cause issues"} 
[2026-10-05 14:29:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626589773824,"note":"Value kept but may cause issues"} 
[2026-10-05 14:29:28] local.WARNING: Large IO value detected {"io_id":229,"raw_value":3644325895,"note":"Value kept but may cause issues"} 
[2026-10-05 14:29:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1787887822,"corrected_to":0} 
[2026-10-05 14:29:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3853285376,"note":"Value kept but may cause issues"} 
[2026-10-05 14:29:28] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2882635237844583909,"note":"Value kept but may cause issues"} 
[2026-10-05 14:29:28] local.WARNING: Large IO value detected {"io_id":150,"raw_value":2305847413084454948,"note":"Value kept but may cause issues"} 
[2026-10-05 14:29:28] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,21,87,24,241,157,16,41,161,54,45,192,31,8,36,10,66,40,4,128,251,7,33,1,240,197,227,11,229,113,205,30,178,215,224,28,239,145,2,5,3,34,135,150],"length":528,"final_offset":658,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1787887822,"validated":0}]} 
[2026-10-05 14:29:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432727257973719040,"timestamp_seconds":432727257973719.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 14:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":204664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":204664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":204664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:29:28] 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-10-05 14:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544825088001,"66":13906,"21":206,"87":13824,"24":40,"16":139657488763977728,"45":8774912055548635136},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,87,24,16,45]} 
[2026-10-05 14:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544825088001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:29:28] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-05 14:29:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139657488763977728,"km_value":139657488763977.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8774912055548635136,"description":"Unknown IO ID 45"} 
[2026-10-05 14:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544825088001,"power":13906,"unknown_21":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8774912055548635136}} 
[2026-10-05 14:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":204664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:29:28] local.INFO: GPS data processed {"connection_id":204664,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:29:28] local.INFO: Acknowledgment sent {"connection_id":204664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:29:37] local.INFO: TCP Data received {"connection_id":204532,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4942a8012d7bed8005dbf0a0002f016024..."} 
[2026-10-05 14:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4942a8012d7bed8005dbf0a0002f016024..."} 
[2026-10-05 14:29:37] local.INFO: Processing buffer {"connection_id":204532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4942a8012d7bed8005dbf0a0002f016024..."} 
[2026-10-05 14:29:37] local.INFO: Packet analysis {"connection_id":204532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b49"} 
[2026-10-05 14:29:37] local.INFO: Extracted packet for processing {"connection_id":204532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b49"} 
[2026-10-05 14:29:37] local.INFO: GPS Element Parsed {"raw_longitude":763096448,"raw_latitude":98300064,"longitude_deg":76.3096448,"latitude_deg":9.8300064,"altitude":47,"angle":352,"satellites":36,"speed":52,"hex_longitude":"2d7bed80","hex_latitude":"05dbf0a0","is_valid_coordinates":true} 
[2026-10-05 14:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544820736001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2045899081515008,"note":"Value kept but may cause issues"} 
[2026-10-05 14:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931482511168323584,"note":"Value kept but may cause issues"} 
[2026-10-05 14:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791190713000,"timestamp_ms":1791190713000,"timestamp_seconds":1791190713,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4942a8"} 
[2026-10-05 14:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:29: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-10-05 14:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 14:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544820736001,"66":27974,"185":206,"85":15104,"24":52,"16":2045899081515008,"45":8931482511168323584},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 14:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544820736001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:29:37] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 14:29:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2045899081515008,"km_value":2045899081515.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931482511168323584,"description":"Unknown IO ID 45"} 
[2026-10-05 14:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544820736001,"power":27974,"unknown_185":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8931482511168323584}} 
[2026-10-05 14:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":204532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:29:37] local.INFO: GPS data processed {"connection_id":204532,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:29:37] local.INFO: Acknowledgment sent {"connection_id":204532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:29:42] local.INFO: TCP Data received {"connection_id":206077,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b466060012d196840071fec58003a006529..."} 
[2026-10-05 14:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b466060012d196840071fec58003a006529..."} 
[2026-10-05 14:29:42] local.INFO: Processing buffer {"connection_id":206077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b466060012d196840071fec58003a006529..."} 
[2026-10-05 14:29:42] local.INFO: Packet analysis {"connection_id":206077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b46"} 
[2026-10-05 14:29:42] local.INFO: Extracted packet for processing {"connection_id":206077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b46"} 
[2026-10-05 14:29:42] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544768768001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791190524000,"timestamp_ms":1791190524000,"timestamp_seconds":1791190524,"priority":1,"record_length":96,"hex_timestamp":"000001a10b466060"} 
[2026-10-05 14:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:29:42] 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-10-05 14: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 14:29:42] 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-10-05 14: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-10-05 14:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:29:42] 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-10-05 14:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544768768001,"66":12591,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544768768001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:29:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:29:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544768768001,"power":12591,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":206077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:29:42] local.INFO: GPS data processed {"connection_id":206077,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:29:42] local.INFO: Acknowledgment sent {"connection_id":206077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:29:54] local.INFO: TCP Data received {"connection_id":207617,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:29:54] local.INFO: Processing buffer {"connection_id":207617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:29:54] local.INFO: IMEI packet received {"connection_id":207617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":207617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:29:55] local.INFO: TCP Data received {"connection_id":207617,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:29:55] local.INFO: Processing buffer {"connection_id":207617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:29:55] local.INFO: IMEI packet received {"connection_id":207617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":207617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:29:59] local.INFO: TCP Data received {"connection_id":204664,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b49b7d8012d79be4005e68f280004016124..."} 
[2026-10-05 14:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b49b7d8012d79be4005e68f280004016124..."} 
[2026-10-05 14:29:59] local.INFO: Processing buffer {"connection_id":204664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b49b7d8012d79be4005e68f280004016124..."} 
[2026-10-05 14:29:59] local.INFO: Packet analysis {"connection_id":204664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b49"} 
[2026-10-05 14:29:59] local.INFO: Extracted packet for processing {"connection_id":204664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b49"} 
[2026-10-05 14:29:59] local.INFO: GPS Element Parsed {"raw_longitude":762953280,"raw_latitude":98996008,"longitude_deg":76.295328,"latitude_deg":9.8996008,"altitude":4,"angle":353,"satellites":36,"speed":35,"hex_longitude":"2d79be40","hex_latitude":"05e68f28","is_valid_coordinates":true} 
[2026-10-05 14:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544827648001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139657944030511104,"note":"Value kept but may cause issues"} 
[2026-10-05 14:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8773152836946675712,"note":"Value kept but may cause issues"} 
[2026-10-05 14:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791190743000,"timestamp_ms":1791190743000,"timestamp_seconds":1791190743,"priority":1,"record_length":96,"hex_timestamp":"000001a10b49b7d8"} 
[2026-10-05 14:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:29: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-10-05 14:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 14:29: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-10-05 14:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":204664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":204664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":204664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:29:59] 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-10-05 14:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544827648001,"66":13798,"21":206,"87":13824,"24":35,"16":139657944030511104,"45":8773152836946675712},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,87,24,16,45]} 
[2026-10-05 14:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544827648001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:29:59] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-05 14:29:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139657944030511104,"km_value":139657944030511.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8773152836946675712,"description":"Unknown IO ID 45"} 
[2026-10-05 14:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544827648001,"power":13798,"unknown_21":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8773152836946675712}} 
[2026-10-05 14:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":204664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:29:59] local.INFO: GPS data processed {"connection_id":204664,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:29:59] local.INFO: Acknowledgment sent {"connection_id":204664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:30:00] local.INFO: TCP Data received {"connection_id":207617,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:30:00] local.INFO: Processing buffer {"connection_id":207617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:30:00] local.INFO: IMEI packet received {"connection_id":207617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":207617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:30:01] local.INFO: TCP Data received {"connection_id":207617,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b495e00012d7be9c005dc1358002e016321..."} 
[2026-10-05 14:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b495e00012d7be9c005dc1358002e016321..."} 
[2026-10-05 14:30:01] local.INFO: Processing buffer {"connection_id":207617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b495e00012d7be9c005dc1358002e016321..."} 
[2026-10-05 14:30:01] local.INFO: Packet analysis {"connection_id":207617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b49"} 
[2026-10-05 14:30:01] local.INFO: Extracted packet for processing {"connection_id":207617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b49"} 
[2026-10-05 14:30:01] local.INFO: GPS Element Parsed {"raw_longitude":763095488,"raw_latitude":98308952,"longitude_deg":76.3095488,"latitude_deg":9.8308952,"altitude":46,"angle":355,"satellites":33,"speed":52,"hex_longitude":"2d7be9c0","hex_latitude":"05dc1358","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544822528001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2046332873211904,"note":"Value kept but may cause issues"} 
[2026-10-05 14:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929934398798733312,"note":"Value kept but may cause issues"} 
[2026-10-05 14:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791190720000,"timestamp_ms":1791190720000,"timestamp_seconds":1791190720,"priority":1,"record_length":96,"hex_timestamp":"000001a10b495e00"} 
[2026-10-05 14:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:30:01] 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-10-05 14: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 14:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:30: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-10-05 14:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544822528001,"66":27908,"185":206,"85":15104,"24":52,"16":2046332873211904,"45":8929934398798733312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 14:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544822528001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:30:01] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 14:30:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2046332873211904,"km_value":2046332873211.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929934398798733312,"description":"Unknown IO ID 45"} 
[2026-10-05 14:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544822528001,"power":27908,"unknown_185":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8929934398798733312}} 
[2026-10-05 14:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":207617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:30:01] local.INFO: GPS data processed {"connection_id":207617,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:30:01] local.INFO: Acknowledgment sent {"connection_id":207617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:30:10] local.INFO: TCP Data received {"connection_id":206079,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:30:10] local.INFO: Processing buffer {"connection_id":206079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:30:10] local.INFO: IMEI packet received {"connection_id":206079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":206079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:30:14] local.INFO: TCP Data received {"connection_id":206079,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:30:14] local.INFO: Processing buffer {"connection_id":206079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:30:14] local.INFO: IMEI packet received {"connection_id":206079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":206079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:30:15] local.INFO: TCP Data received {"connection_id":206079,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b46b268012d196840071fec58003a006529..."} 
[2026-10-05 14:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b46b268012d196840071fec58003a006529..."} 
[2026-10-05 14:30:15] local.INFO: Processing buffer {"connection_id":206079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b46b268012d196840071fec58003a006529..."} 
[2026-10-05 14:30:15] local.INFO: Packet analysis {"connection_id":206079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b46"} 
[2026-10-05 14:30:15] local.INFO: Extracted packet for processing {"connection_id":206079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b46"} 
[2026-10-05 14:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544774144001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791190545000,"timestamp_ms":1791190545000,"timestamp_seconds":1791190545,"priority":1,"record_length":96,"hex_timestamp":"000001a10b46b268"} 
[2026-10-05 14:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:30:15] 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-10-05 14: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-05 14:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":206079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":206079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":206079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:30:15] 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-10-05 14:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544774144001,"66":12667,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544774144001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:30:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:30:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544774144001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":206079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:30:15] local.INFO: GPS data processed {"connection_id":206079,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:30:15] local.INFO: Acknowledgment sent {"connection_id":206079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:30:15] local.INFO: TCP Data received {"connection_id":206079,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b470470012d196840071fec58003a006528..."} 
[2026-10-05 14:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b470470012d196840071fec58003a006528..."} 
[2026-10-05 14:30:15] local.INFO: Processing buffer {"connection_id":206079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b470470012d196840071fec58003a006528..."} 
[2026-10-05 14:30:15] local.INFO: Packet analysis {"connection_id":206079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b47"} 
[2026-10-05 14:30:15] local.INFO: Extracted packet for processing {"connection_id":206079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b47"} 
[2026-10-05 14:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544779520001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791190566000,"timestamp_ms":1791190566000,"timestamp_seconds":1791190566,"priority":1,"record_length":96,"hex_timestamp":"000001a10b470470"} 
[2026-10-05 14:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:30:15] 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-10-05 14: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:30:15] 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-10-05 14: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-10-05 14:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":206079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":206079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":206079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:30:15] 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-10-05 14:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544779520001,"66":12113,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544779520001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:30:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:30:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544779520001,"power":12113,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":206079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:30:15] local.INFO: GPS data processed {"connection_id":206079,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:30:15] local.INFO: Acknowledgment sent {"connection_id":206079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:30:30] local.INFO: TCP Data received {"connection_id":204664,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b49dee8012d79bb8005e6b4600006016526..."} 
[2026-10-05 14:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b49dee8012d79bb8005e6b4600006016526..."} 
[2026-10-05 14:30:30] local.INFO: Processing buffer {"connection_id":204664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b49dee8012d79bb8005e6b4600006016526..."} 
[2026-10-05 14:30:30] local.INFO: Packet analysis {"connection_id":204664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b49"} 
[2026-10-05 14:30:30] local.INFO: Extracted packet for processing {"connection_id":204664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b49"} 
[2026-10-05 14:30:30] local.INFO: GPS Element Parsed {"raw_longitude":762952576,"raw_latitude":99005536,"longitude_deg":76.2952576,"latitude_deg":9.9005536,"altitude":6,"angle":357,"satellites":38,"speed":35,"hex_longitude":"2d79bb80","hex_latitude":"05e6b460","is_valid_coordinates":true} 
[2026-10-05 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-10-05 14:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544830208001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139658403592011776,"note":"Value kept but may cause issues"} 
[2026-10-05 14:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8772519518251460608,"note":"Value kept but may cause issues"} 
[2026-10-05 14:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1791190753000,"timestamp_ms":1791190753000,"timestamp_seconds":1791190753,"priority":1,"record_length":96,"hex_timestamp":"000001a10b49dee8"} 
[2026-10-05 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-10-05 14:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 14:30:30] 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-10-05 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-10-05 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-10-05 14:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":204664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":204664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":204664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:30:30] 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-10-05 14:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544830208001,"66":13798,"20":206,"87":13824,"24":35,"16":139658403592011776,"45":8772519518251460608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,87,24,16,45]} 
[2026-10-05 14:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544830208001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:30:30] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-10-05 14:30:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139658403592011776,"km_value":139658403592011.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8772519518251460608,"description":"Unknown IO ID 45"} 
[2026-10-05 14:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544830208001,"power":13798,"unknown_20":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8772519518251460608}} 
[2026-10-05 14:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":204664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967906,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:30:30] local.INFO: GPS data processed {"connection_id":204664,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:30:30] local.INFO: Acknowledgment sent {"connection_id":204664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:30:32] local.INFO: TCP Data received {"connection_id":207617,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b497958012d7be88005dc36e8002d016625..."} 
[2026-10-05 14:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b497958012d7be88005dc36e8002d016625..."} 
[2026-10-05 14:30:32] local.INFO: Processing buffer {"connection_id":207617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b497958012d7be88005dc36e8002d016625..."} 
[2026-10-05 14:30:32] local.INFO: Packet analysis {"connection_id":207617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b49"} 
[2026-10-05 14:30:32] local.INFO: Extracted packet for processing {"connection_id":207617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b49"} 
[2026-10-05 14:30:32] local.INFO: GPS Element Parsed {"raw_longitude":763095168,"raw_latitude":98318056,"longitude_deg":76.3095168,"latitude_deg":9.8318056,"altitude":45,"angle":358,"satellites":37,"speed":49,"hex_longitude":"2d7be880","hex_latitude":"05dc36e8","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544824320001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2046770959876096,"note":"Value kept but may cause issues"} 
[2026-10-05 14:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928878867638343680,"note":"Value kept but may cause issues"} 
[2026-10-05 14:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791190727000,"timestamp_ms":1791190727000,"timestamp_seconds":1791190727,"priority":1,"record_length":96,"hex_timestamp":"000001a10b497958"} 
[2026-10-05 14:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 14:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544824320001,"66":27974,"185":206,"85":15104,"24":49,"16":2046770959876096,"45":8928878867638343680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 14:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544824320001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:30:32] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 14:30:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2046770959876096,"km_value":2046770959876.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928878867638343680,"description":"Unknown IO ID 45"} 
[2026-10-05 14:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544824320001,"power":27974,"unknown_185":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8928878867638343680}} 
[2026-10-05 14:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":207617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:30:32] local.INFO: GPS data processed {"connection_id":207617,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:30:32] local.INFO: Acknowledgment sent {"connection_id":207617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:30:46] local.INFO: TCP Data received {"connection_id":206079,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b475678012d196840071fec58003a00652b..."} 
[2026-10-05 14:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b475678012d196840071fec58003a00652b..."} 
[2026-10-05 14:30:46] local.INFO: Processing buffer {"connection_id":206079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b475678012d196840071fec58003a00652b..."} 
[2026-10-05 14:30:46] local.INFO: Packet analysis {"connection_id":206079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b47"} 
[2026-10-05 14:30:46] local.INFO: Extracted packet for processing {"connection_id":206079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b47"} 
[2026-10-05 14:30:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544784896001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791190587000,"timestamp_ms":1791190587000,"timestamp_seconds":1791190587,"priority":1,"record_length":96,"hex_timestamp":"000001a10b475678"} 
[2026-10-05 14:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-10-05 14:30:46] 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-10-05 14:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":206079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":206079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":206079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:30:46] 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-10-05 14:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544784896001,"66":12504,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544784896001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:30:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:30:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544784896001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":206079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:30:46] local.INFO: GPS data processed {"connection_id":206079,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:30:46] local.INFO: Acknowledgment sent {"connection_id":206079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:30:54] local.INFO: TCP Data received {"connection_id":204665,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:30:54] local.INFO: Processing buffer {"connection_id":204665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:30:54] local.INFO: IMEI packet received {"connection_id":204665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":204665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:31:00] local.INFO: TCP Data received {"connection_id":204665,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:31:00] local.INFO: Processing buffer {"connection_id":204665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:31:00] local.INFO: IMEI packet received {"connection_id":204665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":204665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:31:01] local.INFO: TCP Data received {"connection_id":204665,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b49a450012d7be74005dc5c08003201661f..."} 
[2026-10-05 14:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b49a450012d7be74005dc5c08003201661f..."} 
[2026-10-05 14:31:01] local.INFO: Processing buffer {"connection_id":204665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b49a450012d7be74005dc5c08003201661f..."} 
[2026-10-05 14:31:01] local.INFO: Packet analysis {"connection_id":204665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b49"} 
[2026-10-05 14:31:01] local.INFO: Extracted packet for processing {"connection_id":204665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b49"} 
[2026-10-05 14:31:01] local.INFO: GPS Element Parsed {"raw_longitude":763094848,"raw_latitude":98327560,"longitude_deg":76.3094848,"latitude_deg":9.832756,"altitude":50,"angle":358,"satellites":31,"speed":30,"hex_longitude":"2d7be740","hex_latitude":"05dc5c08","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544826112001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2047234816344064,"note":"Value kept but may cause issues"} 
[2026-10-05 14:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928527023919785984,"note":"Value kept but may cause issues"} 
[2026-10-05 14:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791190738000,"timestamp_ms":1791190738000,"timestamp_seconds":1791190738,"priority":1,"record_length":96,"hex_timestamp":"000001a10b49a450"} 
[2026-10-05 14:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 14:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:31: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-10-05 14:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544826112001,"66":27995,"185":206,"85":15104,"24":30,"16":2047234816344064,"45":8928527023919785984},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 14:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544826112001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:31:01] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 14:31:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2047234816344064,"km_value":2047234816344.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928527023919785984,"description":"Unknown IO ID 45"} 
[2026-10-05 14:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544826112001,"power":27995,"unknown_185":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8928527023919785984}} 
[2026-10-05 14:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":204665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:31:01] local.INFO: GPS data processed {"connection_id":204665,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:31:01] local.INFO: Acknowledgment sent {"connection_id":204665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:31:01] local.INFO: TCP Data received {"connection_id":204664,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4a09e0012d79b80005e6d6e00006016327..."} 
[2026-10-05 14:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4a09e0012d79b80005e6d6e00006016327..."} 
[2026-10-05 14:31:01] local.INFO: Processing buffer {"connection_id":204664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4a09e0012d79b80005e6d6e00006016327..."} 
[2026-10-05 14:31:01] local.INFO: Packet analysis {"connection_id":204664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4a"} 
[2026-10-05 14:31:01] local.INFO: Extracted packet for processing {"connection_id":204664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4a"} 
[2026-10-05 14:31:01] local.INFO: GPS Element Parsed {"raw_longitude":762951680,"raw_latitude":99014368,"longitude_deg":76.295168,"latitude_deg":9.9014368,"altitude":6,"angle":355,"satellites":39,"speed":23,"hex_longitude":"2d79b800","hex_latitude":"05e6d6e0","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544832768001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139658837383708672,"note":"Value kept but may cause issues"} 
[2026-10-05 14:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771745462067945472,"note":"Value kept but may cause issues"} 
[2026-10-05 14:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791190764000,"timestamp_ms":1791190764000,"timestamp_seconds":1791190764,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4a09e0"} 
[2026-10-05 14:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":230,"data_length":795,"current_offset":136} 
[2026-10-05 14:31: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-10-05 14: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-10-05 14:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:31:01] 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-10-05 14:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544832768001,"66":13852,"20":206,"87":13824,"24":23,"16":139658837383708672,"45":8771745462067945472},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,87,24,16,45]} 
[2026-10-05 14:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544832768001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:31:01] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-10-05 14:31:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139658837383708672,"km_value":139658837383708.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771745462067945472,"description":"Unknown IO ID 45"} 
[2026-10-05 14:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544832768001,"power":13852,"unknown_20":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8771745462067945472}} 
[2026-10-05 14:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":204664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967910,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:31:01] local.INFO: GPS data processed {"connection_id":204664,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:31:01] local.INFO: Acknowledgment sent {"connection_id":204664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:31:05] local.INFO: TCP Data received {"connection_id":207619,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:31:05] local.INFO: Processing buffer {"connection_id":207619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:31:05] local.INFO: IMEI packet received {"connection_id":207619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":207619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:31:09] local.INFO: TCP Data received {"connection_id":207618,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207618,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:31:09] local.INFO: Processing buffer {"connection_id":207618,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:31:09] local.INFO: IMEI packet received {"connection_id":207618,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 14:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":207618,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:31:10] local.INFO: TCP Data received {"connection_id":207619,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:31:10] local.INFO: Processing buffer {"connection_id":207619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:31:10] local.INFO: IMEI packet received {"connection_id":207619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":207619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:31:11] local.INFO: TCP Data received {"connection_id":207619,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b47a880012d196840071fec58003a006528..."} 
[2026-10-05 14:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b47a880012d196840071fec58003a006528..."} 
[2026-10-05 14:31:11] local.INFO: Processing buffer {"connection_id":207619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b47a880012d196840071fec58003a006528..."} 
[2026-10-05 14:31:11] local.INFO: Packet analysis {"connection_id":207619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b47"} 
[2026-10-05 14:31:11] local.INFO: Extracted packet for processing {"connection_id":207619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b47"} 
[2026-10-05 14:31:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544790272001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791190608000,"timestamp_ms":1791190608000,"timestamp_seconds":1791190608,"priority":1,"record_length":96,"hex_timestamp":"000001a10b47a880"} 
[2026-10-05 14:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:31:11] 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-10-05 14:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 14:31:11] 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-10-05 14:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:31:11] 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-10-05 14:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544790272001,"66":12667,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544790272001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:31:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:31:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544790272001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":207619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:31:11] local.INFO: GPS data processed {"connection_id":207619,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:31:11] local.INFO: Acknowledgment sent {"connection_id":207619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:31:31] local.INFO: TCP Data received {"connection_id":204665,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4b1380012d7bbe4005ddee080024015c21..."} 
[2026-10-05 14:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4b1380012d7bbe4005ddee080024015c21..."} 
[2026-10-05 14:31:31] local.INFO: Processing buffer {"connection_id":204665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4b1380012d7bbe4005ddee080024015c21..."} 
[2026-10-05 14:31:31] local.INFO: Packet analysis {"connection_id":204665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4b"} 
[2026-10-05 14:31:31] local.INFO: Extracted packet for processing {"connection_id":204665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4b"} 
[2026-10-05 14:31:31] local.INFO: GPS Element Parsed {"raw_longitude":763084352,"raw_latitude":98430472,"longitude_deg":76.3084352,"latitude_deg":9.8430472,"altitude":36,"angle":348,"satellites":33,"speed":49,"hex_longitude":"2d7bbe40","hex_latitude":"05ddee08","is_valid_coordinates":true} 
[2026-10-05 14:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544850944001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918886505993691136,"note":"Value kept but may cause issues"} 
[2026-10-05 14:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2052259928080384,"note":"Value kept but may cause issues"} 
[2026-10-05 14:31:31] 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-10-05 14:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791190832000,"timestamp_ms":1791190832000,"timestamp_seconds":1791190832,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4b1380"} 
[2026-10-05 14:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-05 14:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544850944001,"66":27887,"45":8918886505993691136,"85":15104,"24":49,"16":2052259928080384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 14:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544850944001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918886505993691136,"description":"Unknown IO ID 45"} 
[2026-10-05 14:31:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2052259928080384,"km_value":2052259928080.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:31:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458544850944001,"power":27887,"unknown_45":8918886505993691136,"unknown_85":15104,"ignition":49,"odometer":null}} 
[2026-10-05 14:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":204665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:31:31] local.INFO: GPS data processed {"connection_id":204665,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:31:31] local.INFO: Acknowledgment sent {"connection_id":204665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:31:35] local.INFO: TCP Data received {"connection_id":204533,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:31:35] local.INFO: Processing buffer {"connection_id":204533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:31:35] local.INFO: IMEI packet received {"connection_id":204533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":204533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:31:35] local.INFO: TCP Data received {"connection_id":204533,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:31:35] local.INFO: Processing buffer {"connection_id":204533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:31:35] local.INFO: IMEI packet received {"connection_id":204533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":204533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:31:36] local.INFO: TCP Data received {"connection_id":204533,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:31:36] local.INFO: Processing buffer {"connection_id":204533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:31:36] local.INFO: IMEI packet received {"connection_id":204533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":204533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:31:36] local.INFO: TCP Data received {"connection_id":206080,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206080,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:31:36] local.INFO: Processing buffer {"connection_id":206080,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:31:36] local.INFO: IMEI packet received {"connection_id":206080,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 14:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":206080,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:31:41] local.INFO: TCP Data received {"connection_id":204533,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:31:41] local.INFO: Processing buffer {"connection_id":204533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:31:41] local.INFO: IMEI packet received {"connection_id":204533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":204533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:31:42] local.INFO: TCP Data received {"connection_id":204533,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4bcf00012d79ae0005e7e4b00007015c26..."} 
[2026-10-05 14:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4bcf00012d79ae0005e7e4b00007015c26..."} 
[2026-10-05 14:31:42] local.INFO: Processing buffer {"connection_id":204533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4bcf00012d79ae0005e7e4b00007015c26..."} 
[2026-10-05 14:31:42] local.INFO: Packet analysis {"connection_id":204533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4b"} 
[2026-10-05 14:31:42] local.INFO: Extracted packet for processing {"connection_id":204533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4b"} 
[2026-10-05 14:31:42] local.INFO: GPS Element Parsed {"raw_longitude":762949120,"raw_latitude":99083440,"longitude_deg":76.294912,"latitude_deg":9.908344,"altitude":7,"angle":348,"satellites":38,"speed":23,"hex_longitude":"2d79ae00","hex_latitude":"05e7e4b0","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544861440001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139662208933036032,"note":"Value kept but may cause issues"} 
[2026-10-05 14:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770126980969582592,"note":"Value kept but may cause issues"} 
[2026-10-05 14:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791190880000,"timestamp_ms":1791190880000,"timestamp_seconds":1791190880,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4bcf00"} 
[2026-10-05 14:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:31: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-10-05 14: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 14:31:42] 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-10-05 14: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-10-05 14:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:31:42] 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-10-05 14:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544861440001,"66":13830,"30":206,"87":13824,"24":23,"16":139662208933036032,"45":8770126980969582592},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-10-05 14:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544861440001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:31:42] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-10-05 14:31:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139662208933036032,"km_value":139662208933036.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770126980969582592,"description":"Unknown IO ID 45"} 
[2026-10-05 14:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544861440001,"power":13830,"unknown_30":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8770126980969582592}} 
[2026-10-05 14:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":204533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967913,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:31:42] local.INFO: GPS data processed {"connection_id":204533,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:31:42] local.INFO: Acknowledgment sent {"connection_id":204533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:31:42] local.INFO: TCP Data received {"connection_id":207619,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b47fa88012d196840071fec58003a006529..."} 
[2026-10-05 14:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b47fa88012d196840071fec58003a006529..."} 
[2026-10-05 14:31:42] local.INFO: Processing buffer {"connection_id":207619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b47fa88012d196840071fec58003a006529..."} 
[2026-10-05 14:31:42] local.INFO: Packet analysis {"connection_id":207619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b47"} 
[2026-10-05 14:31:42] local.INFO: Extracted packet for processing {"connection_id":207619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b47"} 
[2026-10-05 14:31:42] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544795648001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791190629000,"timestamp_ms":1791190629000,"timestamp_seconds":1791190629,"priority":1,"record_length":96,"hex_timestamp":"000001a10b47fa88"} 
[2026-10-05 14:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:31:42] 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-10-05 14:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544795648001,"66":12667,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544795648001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:31:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:31:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544795648001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":207619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:31:42] local.INFO: GPS data processed {"connection_id":207619,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:31:42] local.INFO: Acknowledgment sent {"connection_id":207619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:31:46] local.INFO: TCP Data received {"connection_id":204533,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4c01c8012d79aa4005e806f00006014d25..."} 
[2026-10-05 14:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4c01c8012d79aa4005e806f00006014d25..."} 
[2026-10-05 14:31:46] local.INFO: Processing buffer {"connection_id":204533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4c01c8012d79aa4005e806f00006014d25..."} 
[2026-10-05 14:31:46] local.INFO: Packet analysis {"connection_id":204533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4c"} 
[2026-10-05 14:31:46] local.INFO: Extracted packet for processing {"connection_id":204533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4c"} 
[2026-10-05 14:31:46] local.INFO: GPS Element Parsed {"raw_longitude":762948160,"raw_latitude":99092208,"longitude_deg":76.294816,"latitude_deg":9.9092208,"altitude":6,"angle":333,"satellites":37,"speed":30,"hex_longitude":"2d79aa40","hex_latitude":"05e806f0","is_valid_coordinates":true} 
[2026-10-05 14:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544865280001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139662642724732928,"note":"Value kept but may cause issues"} 
[2026-10-05 14:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8767945549902295040,"note":"Value kept but may cause issues"} 
[2026-10-05 14:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791190893000,"timestamp_ms":1791190893000,"timestamp_seconds":1791190893,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4c01c8"} 
[2026-10-05 14:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 14:31:46] local.WARNING: Large IO value detected {"io_id":24,"raw_value":1970333442703360,"note":"Value kept but may cause issues"} 
[2026-10-05 14:31:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626589432576,"note":"Value kept but may cause issues"} 
[2026-10-05 14:31:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4261412864,"note":"Value kept but may cause issues"} 
[2026-10-05 14:31:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1696530638,"corrected_to":0} 
[2026-10-05 14:31:46] local.WARNING: Large IO value detected {"io_id":228,"raw_value":-6917197551934372377,"note":"Value kept but may cause issues"} 
[2026-10-05 14:31:46] local.WARNING: Large IO value detected {"io_id":92,"raw_value":5188153367853400085,"note":"Value kept but may cause issues"} 
[2026-10-05 14:31:46] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,30,87,24,241,157,16,46,161,148,45,192,194,7,36,10,66,31,117,64,173,35,62,1,240,6,227,44,11,231,4,113,205,21,39,183,136,38,239,54,2,5,228,92],"length":528,"final_offset":658,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1696530638,"validated":0}]} 
[2026-10-05 14:31:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504785951522226176,"timestamp_seconds":504785951522226.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 14:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544865280001,"66":13798,"30":206,"87":13824,"24":30,"16":139662642724732928,"45":8767945549902295040},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-10-05 14:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544865280001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:31:46] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-10-05 14:31:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139662642724732928,"km_value":139662642724732.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8767945549902295040,"description":"Unknown IO ID 45"} 
[2026-10-05 14:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544865280001,"power":13798,"unknown_30":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8767945549902295040}} 
[2026-10-05 14:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":204533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967915,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:31:46] local.INFO: GPS data processed {"connection_id":204533,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:31:46] local.INFO: Acknowledgment sent {"connection_id":204533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:31:54] local.INFO: TCP Data received {"connection_id":204666,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:31:54] local.INFO: Processing buffer {"connection_id":204666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:31:54] local.INFO: IMEI packet received {"connection_id":204666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":204666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:31:59] local.INFO: TCP Data received {"connection_id":204666,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:31:59] local.INFO: Processing buffer {"connection_id":204666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:31:59] local.INFO: IMEI packet received {"connection_id":204666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":204666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:32:00] local.INFO: TCP Data received {"connection_id":204666,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:32:00] local.INFO: Processing buffer {"connection_id":204666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:32:00] local.INFO: IMEI packet received {"connection_id":204666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":204666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:32:01] local.INFO: TCP Data received {"connection_id":204666,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4b32c0012d7bb68005de12d8001c015b22..."} 
[2026-10-05 14:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4b32c0012d7bb68005de12d8001c015b22..."} 
[2026-10-05 14:32:01] local.INFO: Processing buffer {"connection_id":204666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4b32c0012d7bb68005de12d8001c015b22..."} 
[2026-10-05 14:32:01] local.INFO: Packet analysis {"connection_id":204666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4b"} 
[2026-10-05 14:32:01] local.INFO: Extracted packet for processing {"connection_id":204666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4b"} 
[2026-10-05 14:32:01] local.INFO: GPS Element Parsed {"raw_longitude":763082368,"raw_latitude":98439896,"longitude_deg":76.3082368,"latitude_deg":9.8439896,"altitude":28,"angle":347,"satellites":34,"speed":46,"hex_longitude":"2d7bb680","hex_latitude":"05de12d8","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544852992001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916634706182539264,"note":"Value kept but may cause issues"} 
[2026-10-05 14:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2052728079515648,"note":"Value kept but may cause issues"} 
[2026-10-05 14:32: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-10-05 14:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791190840000,"timestamp_ms":1791190840000,"timestamp_seconds":1791190840,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4b32c0"} 
[2026-10-05 14:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-10-05 14:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:32: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-10-05 14:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544852992001,"66":27876,"45":8916634706182539264,"85":15104,"24":46,"16":2052728079515648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 14:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544852992001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916634706182539264,"description":"Unknown IO ID 45"} 
[2026-10-05 14:32:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2052728079515648,"km_value":2052728079515.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:32:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458544852992001,"power":27876,"unknown_45":8916634706182539264,"unknown_85":15104,"ignition":46,"odometer":null}} 
[2026-10-05 14:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":204666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:32:01] local.INFO: GPS data processed {"connection_id":204666,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:32:01] local.INFO: Acknowledgment sent {"connection_id":204666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:32:05] local.INFO: TCP Data received {"connection_id":206081,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:32:05] local.INFO: Processing buffer {"connection_id":206081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:32:05] local.INFO: IMEI packet received {"connection_id":206081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":206081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:32:05] local.INFO: TCP Data received {"connection_id":204666,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4b5200012d7baf4005de35f00016015a22..."} 
[2026-10-05 14:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4b5200012d7baf4005de35f00016015a22..."} 
[2026-10-05 14:32:05] local.INFO: Processing buffer {"connection_id":204666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4b5200012d7baf4005de35f00016015a22..."} 
[2026-10-05 14:32:05] local.INFO: Packet analysis {"connection_id":204666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4b"} 
[2026-10-05 14:32:05] local.INFO: Extracted packet for processing {"connection_id":204666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4b"} 
[2026-10-05 14:32:05] local.INFO: GPS Element Parsed {"raw_longitude":763080512,"raw_latitude":98448880,"longitude_deg":76.3080512,"latitude_deg":9.844888,"altitude":22,"angle":346,"satellites":34,"speed":42,"hex_longitude":"2d7baf40","hex_latitude":"05de35f0","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544855040001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914453275115444224,"note":"Value kept but may cause issues"} 
[2026-10-05 14:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2053170461147136,"note":"Value kept but may cause issues"} 
[2026-10-05 14:32:05] 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-10-05 14:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791190848000,"timestamp_ms":1791190848000,"timestamp_seconds":1791190848,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4b5200"} 
[2026-10-05 14:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:32: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-10-05 14:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-05 14:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:32: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-10-05 14:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544855040001,"66":27745,"45":8914453275115444224,"85":15104,"24":42,"16":2053170461147136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 14:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544855040001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914453275115444224,"description":"Unknown IO ID 45"} 
[2026-10-05 14:32:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2053170461147136,"km_value":2053170461147.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:32:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458544855040001,"power":27745,"unknown_45":8914453275115444224,"unknown_85":15104,"ignition":42,"odometer":null}} 
[2026-10-05 14:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":204666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:32:05] local.INFO: GPS data processed {"connection_id":204666,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:32:05] local.INFO: Acknowledgment sent {"connection_id":204666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:32:10] local.INFO: TCP Data received {"connection_id":206081,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:32:10] local.INFO: Processing buffer {"connection_id":206081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:32:10] local.INFO: IMEI packet received {"connection_id":206081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":206081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:32:11] local.INFO: TCP Data received {"connection_id":206081,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b484c90012d196840071fec58003a006524..."} 
[2026-10-05 14:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b484c90012d196840071fec58003a006524..."} 
[2026-10-05 14:32:11] local.INFO: Processing buffer {"connection_id":206081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b484c90012d196840071fec58003a006524..."} 
[2026-10-05 14:32:11] local.INFO: Packet analysis {"connection_id":206081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b48"} 
[2026-10-05 14:32:11] local.INFO: Extracted packet for processing {"connection_id":206081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b48"} 
[2026-10-05 14:32:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544801024001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791190650000,"timestamp_ms":1791190650000,"timestamp_seconds":1791190650,"priority":1,"record_length":96,"hex_timestamp":"000001a10b484c90"} 
[2026-10-05 14:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:32:11] 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-10-05 14:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:32:11] 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-10-05 14:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:32:11] 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-10-05 14:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544801024001,"66":12558,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544801024001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:32:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:32:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544801024001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":206081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:32:11] local.INFO: GPS data processed {"connection_id":206081,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:32:11] local.INFO: Acknowledgment sent {"connection_id":206081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:32:31] local.INFO: TCP Data received {"connection_id":204668,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204668,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:32:31] local.INFO: Processing buffer {"connection_id":204668,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:32:31] local.INFO: IMEI packet received {"connection_id":204668,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":204668,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:32:32] local.INFO: TCP Data received {"connection_id":204668,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204668,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:32:32] local.INFO: Processing buffer {"connection_id":204668,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:32:32] local.INFO: IMEI packet received {"connection_id":204668,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":204668,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:32:33] local.INFO: TCP Data received {"connection_id":204668,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4c01c8012d79aa4005e806f00006014d25..."} 
[2026-10-05 14:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4c01c8012d79aa4005e806f00006014d25..."} 
[2026-10-05 14:32:33] local.INFO: Processing buffer {"connection_id":204668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4c01c8012d79aa4005e806f00006014d25..."} 
[2026-10-05 14:32:33] local.INFO: Packet analysis {"connection_id":204668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4c"} 
[2026-10-05 14:32:33] local.INFO: Extracted packet for processing {"connection_id":204668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4c"} 
[2026-10-05 14:32:33] local.INFO: GPS Element Parsed {"raw_longitude":762948160,"raw_latitude":99092208,"longitude_deg":76.294816,"latitude_deg":9.9092208,"altitude":6,"angle":333,"satellites":37,"speed":30,"hex_longitude":"2d79aa40","hex_latitude":"05e806f0","is_valid_coordinates":true} 
[2026-10-05 14:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544868608001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139662642724732928,"note":"Value kept but may cause issues"} 
[2026-10-05 14:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8766890018741874688,"note":"Value kept but may cause issues"} 
[2026-10-05 14:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791190893000,"timestamp_ms":1791190893000,"timestamp_seconds":1791190893,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4c01c8"} 
[2026-10-05 14:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:32:33] 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-10-05 14:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 14:32: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-10-05 14:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:32:33] 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-10-05 14:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544868608001,"66":13798,"30":206,"87":13824,"24":30,"16":139662642724732928,"45":8766890018741874688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-10-05 14:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544868608001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:32:33] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-10-05 14:32:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139662642724732928,"km_value":139662642724732.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8766890018741874688,"description":"Unknown IO ID 45"} 
[2026-10-05 14:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544868608001,"power":13798,"unknown_30":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8766890018741874688}} 
[2026-10-05 14:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":204668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:32:33] local.INFO: GPS data processed {"connection_id":204668,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:32:33] local.INFO: Acknowledgment sent {"connection_id":204668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:32:38] local.INFO: TCP Data received {"connection_id":204666,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4b7528012d7ba78005de5d380011015e22..."} 
[2026-10-05 14:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4b7528012d7ba78005de5d380011015e22..."} 
[2026-10-05 14:32:38] local.INFO: Processing buffer {"connection_id":204666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4b7528012d7ba78005de5d380011015e22..."} 
[2026-10-05 14:32:38] local.INFO: Packet analysis {"connection_id":204666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4b"} 
[2026-10-05 14:32:38] local.INFO: Extracted packet for processing {"connection_id":204666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4b"} 
[2026-10-05 14:32:38] local.INFO: GPS Element Parsed {"raw_longitude":763078528,"raw_latitude":98458936,"longitude_deg":76.3078528,"latitude_deg":9.8458936,"altitude":17,"angle":350,"satellites":34,"speed":47,"hex_longitude":"2d7ba780","hex_latitude":"05de5d38","is_valid_coordinates":true} 
[2026-10-05 14:32: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-10-05 14:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544857088001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2053668677353472,"note":"Value kept but may cause issues"} 
[2026-10-05 14:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912412581536591872,"note":"Value kept but may cause issues"} 
[2026-10-05 14:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791190857000,"timestamp_ms":1791190857000,"timestamp_seconds":1791190857,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4b7528"} 
[2026-10-05 14:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 14:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:32: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-10-05 14:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544857088001,"66":27908,"44":206,"85":15104,"24":47,"16":2053668677353472,"45":8912412581536591872},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-10-05 14:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544857088001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:32:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-05 14:32:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2053668677353472,"km_value":2053668677353.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912412581536591872,"description":"Unknown IO ID 45"} 
[2026-10-05 14:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544857088001,"power":27908,"unknown_44":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8912412581536591872}} 
[2026-10-05 14:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":204666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:32:38] local.INFO: GPS data processed {"connection_id":204666,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:32:38] local.INFO: Acknowledgment sent {"connection_id":204666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:32:42] local.INFO: TCP Data received {"connection_id":206081,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4bd2e8012d196840071fec58003a006528..."} 
[2026-10-05 14:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4bd2e8012d196840071fec58003a006528..."} 
[2026-10-05 14:32:42] local.INFO: Processing buffer {"connection_id":206081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4bd2e8012d196840071fec58003a006528..."} 
[2026-10-05 14:32:42] local.INFO: Packet analysis {"connection_id":206081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4b"} 
[2026-10-05 14:32:42] local.INFO: Extracted packet for processing {"connection_id":206081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4b"} 
[2026-10-05 14:32:42] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544860160001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791190881000,"timestamp_ms":1791190881000,"timestamp_seconds":1791190881,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4bd2e8"} 
[2026-10-05 14:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:32:42] 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-10-05 14: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 14:32:42] 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-10-05 14: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-10-05 14:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:32:42] 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-10-05 14:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544860160001,"66":12645,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544860160001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:32:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:32:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544860160001,"power":12645,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":206081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:32:42] local.INFO: GPS data processed {"connection_id":206081,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:32:42] local.INFO: Acknowledgment sent {"connection_id":206081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:33:00] local.INFO: TCP Data received {"connection_id":204534,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:33:00] local.INFO: Processing buffer {"connection_id":204534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:33:00] local.INFO: IMEI packet received {"connection_id":204534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":204534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:33:01] local.INFO: TCP Data received {"connection_id":204534,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:33:01] local.INFO: Processing buffer {"connection_id":204534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:33:01] local.INFO: IMEI packet received {"connection_id":204534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":204534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:33:02] local.INFO: TCP Data received {"connection_id":204534,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4b9468012d7ba1c005de8330000e016120..."} 
[2026-10-05 14:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4b9468012d7ba1c005de8330000e016120..."} 
[2026-10-05 14:33:02] local.INFO: Processing buffer {"connection_id":204534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4b9468012d7ba1c005de8330000e016120..."} 
[2026-10-05 14:33:02] local.INFO: Packet analysis {"connection_id":204534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4b"} 
[2026-10-05 14:33:02] local.INFO: Extracted packet for processing {"connection_id":204534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4b"} 
[2026-10-05 14:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763077056,"raw_latitude":98468656,"longitude_deg":76.3077056,"latitude_deg":9.8468656,"altitude":14,"angle":353,"satellites":32,"speed":51,"hex_longitude":"2d7ba1c0","hex_latitude":"05de8330","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544859392001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2054145418723328,"note":"Value kept but may cause issues"} 
[2026-10-05 14:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910231150469658624,"note":"Value kept but may cause issues"} 
[2026-10-05 14:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791190865000,"timestamp_ms":1791190865000,"timestamp_seconds":1791190865,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4b9468"} 
[2026-10-05 14:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 14:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544859392001,"66":27919,"44":206,"85":15104,"24":51,"16":2054145418723328,"45":8910231150469658624},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-10-05 14:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544859392001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:33:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-05 14:33:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2054145418723328,"km_value":2054145418723.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910231150469658624,"description":"Unknown IO ID 45"} 
[2026-10-05 14:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544859392001,"power":27919,"unknown_44":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8910231150469658624}} 
[2026-10-05 14:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":204534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:33:02] local.INFO: GPS data processed {"connection_id":204534,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:33:02] local.INFO: Acknowledgment sent {"connection_id":204534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:33:04] local.INFO: TCP Data received {"connection_id":204668,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4c2cc0012d799cc005e827600006015624..."} 
[2026-10-05 14:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4c2cc0012d799cc005e827600006015624..."} 
[2026-10-05 14:33:04] local.INFO: Processing buffer {"connection_id":204668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4c2cc0012d799cc005e827600006015624..."} 
[2026-10-05 14:33:04] local.INFO: Packet analysis {"connection_id":204668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4c"} 
[2026-10-05 14:33:04] local.INFO: Extracted packet for processing {"connection_id":204668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4c"} 
[2026-10-05 14:33:04] local.INFO: GPS Element Parsed {"raw_longitude":762944704,"raw_latitude":99100512,"longitude_deg":76.2944704,"latitude_deg":9.9100512,"altitude":6,"angle":342,"satellites":36,"speed":24,"hex_longitude":"2d799cc0","hex_latitude":"05e82760","is_valid_coordinates":true} 
[2026-10-05 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-10-05 14:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544868608001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139663080811397120,"note":"Value kept but may cause issues"} 
[2026-10-05 14:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8766890018741874688,"note":"Value kept but may cause issues"} 
[2026-10-05 14:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791190904000,"timestamp_ms":1791190904000,"timestamp_seconds":1791190904,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4c2cc0"} 
[2026-10-05 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-10-05 14:33: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-10-05 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 14:33: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-10-05 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-10-05 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-10-05 14:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":204668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":204668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":204668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:33:04] 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-10-05 14:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544868608001,"66":13406,"30":206,"87":13824,"24":24,"16":139663080811397120,"45":8766890018741874688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-10-05 14:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544868608001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:33:04] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-10-05 14:33:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139663080811397120,"km_value":139663080811397.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8766890018741874688,"description":"Unknown IO ID 45"} 
[2026-10-05 14:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544868608001,"power":13406,"unknown_30":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8766890018741874688}} 
[2026-10-05 14:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":204668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:33:04] local.INFO: GPS data processed {"connection_id":204668,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:33:04] local.INFO: Acknowledgment sent {"connection_id":204668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:33:05] local.INFO: TCP Data received {"connection_id":206082,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:33:05] local.INFO: Processing buffer {"connection_id":206082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:33:05] local.INFO: IMEI packet received {"connection_id":206082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":206082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:33:10] local.INFO: TCP Data received {"connection_id":206082,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:33:10] local.INFO: Processing buffer {"connection_id":206082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:33:10] local.INFO: IMEI packet received {"connection_id":206082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":206082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:33:11] local.INFO: TCP Data received {"connection_id":206082,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4c24f0012d196840071fec58003a006528..."} 
[2026-10-05 14:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4c24f0012d196840071fec58003a006528..."} 
[2026-10-05 14:33:11] local.INFO: Processing buffer {"connection_id":206082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4c24f0012d196840071fec58003a006528..."} 
[2026-10-05 14:33:11] local.INFO: Packet analysis {"connection_id":206082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4c"} 
[2026-10-05 14:33:11] local.INFO: Extracted packet for processing {"connection_id":206082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4c"} 
[2026-10-05 14:33:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544865536001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791190902000,"timestamp_ms":1791190902000,"timestamp_seconds":1791190902,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4c24f0"} 
[2026-10-05 14:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:33:11] 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-10-05 14:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 14:33:11] 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-10-05 14:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:33:11] 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-10-05 14:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544865536001,"66":12613,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544865536001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:33:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:33:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544865536001,"power":12613,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":206082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:33:11] local.INFO: GPS data processed {"connection_id":206082,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:33:11] local.INFO: Acknowledgment sent {"connection_id":206082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:33:30] local.INFO: TCP Data received {"connection_id":204535,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204535,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:33:30] local.INFO: Processing buffer {"connection_id":204535,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:33:30] local.INFO: IMEI packet received {"connection_id":204535,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":204535,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:33:34] local.INFO: TCP Data received {"connection_id":204534,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4cffb0012d7b738005e03a680008016220..."} 
[2026-10-05 14:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4cffb0012d7b738005e03a680008016220..."} 
[2026-10-05 14:33:34] local.INFO: Processing buffer {"connection_id":204534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4cffb0012d7b738005e03a680008016220..."} 
[2026-10-05 14:33:34] local.INFO: Packet analysis {"connection_id":204534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4c"} 
[2026-10-05 14:33:34] local.INFO: Extracted packet for processing {"connection_id":204534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4c"} 
[2026-10-05 14:33:34] local.INFO: GPS Element Parsed {"raw_longitude":763065216,"raw_latitude":98581096,"longitude_deg":76.3065216,"latitude_deg":9.8581096,"altitude":8,"angle":354,"satellites":32,"speed":49,"hex_longitude":"2d7b7380","hex_latitude":"05e03a68","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544883456001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2059625796993024,"note":"Value kept but may cause issues"} 
[2026-10-05 14:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896720351616546816,"note":"Value kept but may cause issues"} 
[2026-10-05 14:33: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-10-05 14:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791190958000,"timestamp_ms":1791190958000,"timestamp_seconds":1791190958,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4cffb0"} 
[2026-10-05 14:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 14:33:34] 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-10-05 14: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-10-05 14:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":204534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":204534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":204534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544883456001,"66":27930,"217":206,"85":15104,"24":49,"16":2059625796993024,"45":8896720351616546816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544883456001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:33:34] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:33:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2059625796993024,"km_value":2059625796993.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896720351616546816,"description":"Unknown IO ID 45"} 
[2026-10-05 14:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544883456001,"power":27930,"unknown_217":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8896720351616546816}} 
[2026-10-05 14:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":204534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:33:34] local.INFO: GPS data processed {"connection_id":204534,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:33:34] local.INFO: Acknowledgment sent {"connection_id":204534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:33:35] local.INFO: TCP Data received {"connection_id":204535,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204535,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:33:35] local.INFO: Processing buffer {"connection_id":204535,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:33:35] local.INFO: IMEI packet received {"connection_id":204535,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":204535,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:33:36] local.INFO: TCP Data received {"connection_id":204535,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4c5f88012d7991c005e849d80008015626..."} 
[2026-10-05 14:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4c5f88012d7991c005e849d80008015626..."} 
[2026-10-05 14:33:36] local.INFO: Processing buffer {"connection_id":204535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4c5f88012d7991c005e849d80008015626..."} 
[2026-10-05 14:33:36] local.INFO: Packet analysis {"connection_id":204535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4c"} 
[2026-10-05 14:33:36] local.INFO: Extracted packet for processing {"connection_id":204535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4c"} 
[2026-10-05 14:33:36] local.INFO: GPS Element Parsed {"raw_longitude":762941888,"raw_latitude":99109336,"longitude_deg":76.2941888,"latitude_deg":9.9109336,"altitude":8,"angle":342,"satellites":38,"speed":31,"hex_longitude":"2d7991c0","hex_latitude":"05e849d8","is_valid_coordinates":true} 
[2026-10-05 14:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544871424001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139663527487995904,"note":"Value kept but may cause issues"} 
[2026-10-05 14:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8763090106558406656,"note":"Value kept but may cause issues"} 
[2026-10-05 14:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791190917000,"timestamp_ms":1791190917000,"timestamp_seconds":1791190917,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4c5f88"} 
[2026-10-05 14:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-10-05 14:33:36] 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-10-05 14:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:33:36] 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-10-05 14:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544871424001,"66":13722,"30":206,"87":13824,"24":31,"16":139663527487995904,"45":8763090106558406656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-10-05 14:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544871424001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:33:36] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-10-05 14:33:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139663527487995904,"km_value":139663527487995.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8763090106558406656,"description":"Unknown IO ID 45"} 
[2026-10-05 14:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544871424001,"power":13722,"unknown_30":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8763090106558406656}} 
[2026-10-05 14:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":204535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:33:36] local.INFO: GPS data processed {"connection_id":204535,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:33:36] local.INFO: Acknowledgment sent {"connection_id":204535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:33:42] local.INFO: TCP Data received {"connection_id":206082,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4c76f8012d196840071fec58003a006529..."} 
[2026-10-05 14:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4c76f8012d196840071fec58003a006529..."} 
[2026-10-05 14:33:42] local.INFO: Processing buffer {"connection_id":206082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4c76f8012d196840071fec58003a006529..."} 
[2026-10-05 14:33:42] local.INFO: Packet analysis {"connection_id":206082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4c"} 
[2026-10-05 14:33:42] local.INFO: Extracted packet for processing {"connection_id":206082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4c"} 
[2026-10-05 14:33:42] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:33: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-10-05 14:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544870912001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791190923000,"timestamp_ms":1791190923000,"timestamp_seconds":1791190923,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4c76f8"} 
[2026-10-05 14:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:33:42] 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-10-05 14:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 14:33:42] 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-10-05 14:33: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-10-05 14:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:33:42] 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-10-05 14:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544870912001,"66":12667,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544870912001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:33:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:33:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544870912001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":206082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:33:42] local.INFO: GPS data processed {"connection_id":206082,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:33:42] local.INFO: Acknowledgment sent {"connection_id":206082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:34:04] local.INFO: TCP Data received {"connection_id":207620,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:34:04] local.INFO: Processing buffer {"connection_id":207620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:34:04] local.INFO: IMEI packet received {"connection_id":207620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":207620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:34:05] local.INFO: TCP Data received {"connection_id":207620,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:34:05] local.INFO: Processing buffer {"connection_id":207620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:34:05] local.INFO: IMEI packet received {"connection_id":207620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":207620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:34:05] local.INFO: TCP Data received {"connection_id":204671,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:34:05] local.INFO: Processing buffer {"connection_id":204671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:34:05] local.INFO: IMEI packet received {"connection_id":204671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":204671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:34:06] local.INFO: TCP Data received {"connection_id":204671,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:34:06] local.INFO: Processing buffer {"connection_id":204671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:34:06] local.INFO: IMEI packet received {"connection_id":204671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":204671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:34:07] local.INFO: TCP Data received {"connection_id":204535,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4dde58012d7916c005e915380002014f25..."} 
[2026-10-05 14:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4dde58012d7916c005e915380002014f25..."} 
[2026-10-05 14:34:07] local.INFO: Processing buffer {"connection_id":204535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4dde58012d7916c005e915380002014f25..."} 
[2026-10-05 14:34:07] local.INFO: Packet analysis {"connection_id":204535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4d"} 
[2026-10-05 14:34:07] local.INFO: Extracted packet for processing {"connection_id":204535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4d"} 
[2026-10-05 14:34:07] local.INFO: GPS Element Parsed {"raw_longitude":762910400,"raw_latitude":99161400,"longitude_deg":76.29104,"latitude_deg":9.91614,"altitude":2,"angle":335,"satellites":37,"speed":3,"hex_longitude":"2d7916c0","hex_latitude":"05e91538","is_valid_coordinates":true} 
[2026-10-05 14:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544896256001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139666692878893056,"note":"Value kept but may cause issues"} 
[2026-10-05 14:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8728961265645711360,"note":"Value kept but may cause issues"} 
[2026-10-05 14:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791191015000,"timestamp_ms":1791191015000,"timestamp_seconds":1791191015,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4dde58"} 
[2026-10-05 14:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 14:34:07] 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-10-05 14:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:34: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-10-05 14:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544896256001,"66":13820,"203":206,"87":13824,"24":3,"16":139666692878893056,"45":8728961265645711360},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-10-05 14:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544896256001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:34:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139666692878893056,"km_value":139666692878893.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8728961265645711360,"description":"Unknown IO ID 45"} 
[2026-10-05 14:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544896256001,"power":13820,"mnc":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8728961265645711360}} 
[2026-10-05 14:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":204535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:34:07] local.INFO: GPS data processed {"connection_id":204535,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:34:07] local.INFO: Acknowledgment sent {"connection_id":204535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:34:09] local.INFO: TCP Data received {"connection_id":207620,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:34:09] local.INFO: Processing buffer {"connection_id":207620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:34:09] local.INFO: IMEI packet received {"connection_id":207620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":207620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:34:10] local.INFO: TCP Data received {"connection_id":204671,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:34:10] local.INFO: Processing buffer {"connection_id":204671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:34:10] local.INFO: IMEI packet received {"connection_id":204671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":204671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:34:10] local.INFO: TCP Data received {"connection_id":207620,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4d1b08012d7b6f8005e05cc80006016122..."} 
[2026-10-05 14:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4d1b08012d7b6f8005e05cc80006016122..."} 
[2026-10-05 14:34:10] local.INFO: Processing buffer {"connection_id":207620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4d1b08012d7b6f8005e05cc80006016122..."} 
[2026-10-05 14:34:10] local.INFO: Packet analysis {"connection_id":207620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4d"} 
[2026-10-05 14:34:10] local.INFO: Extracted packet for processing {"connection_id":207620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4d"} 
[2026-10-05 14:34:10] local.INFO: GPS Element Parsed {"raw_longitude":763064192,"raw_latitude":98589896,"longitude_deg":76.3064192,"latitude_deg":9.8589896,"altitude":6,"angle":353,"satellites":34,"speed":50,"hex_longitude":"2d7b6f80","hex_latitude":"05e05cc8","is_valid_coordinates":true} 
[2026-10-05 14:34: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-10-05 14:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544885248001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2060055293722624,"note":"Value kept but may cause issues"} 
[2026-10-05 14:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895594451711977472,"note":"Value kept but may cause issues"} 
[2026-10-05 14:34:10] 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-10-05 14:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791190965000,"timestamp_ms":1791190965000,"timestamp_seconds":1791190965,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4d1b08"} 
[2026-10-05 14:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-05 14:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:34: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-10-05 14:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544885248001,"66":27974,"217":206,"85":15104,"24":50,"16":2060055293722624,"45":8895594451711977472},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544885248001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:34:10] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2060055293722624,"km_value":2060055293722.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895594451711977472,"description":"Unknown IO ID 45"} 
[2026-10-05 14:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544885248001,"power":27974,"unknown_217":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8895594451711977472}} 
[2026-10-05 14:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":207620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:34:10] local.INFO: GPS data processed {"connection_id":207620,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:34:10] local.INFO: Acknowledgment sent {"connection_id":207620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:34:11] local.INFO: TCP Data received {"connection_id":204671,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4cc900012d196840071fec58003a006528..."} 
[2026-10-05 14:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4cc900012d196840071fec58003a006528..."} 
[2026-10-05 14:34:11] local.INFO: Processing buffer {"connection_id":204671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4cc900012d196840071fec58003a006528..."} 
[2026-10-05 14:34:11] local.INFO: Packet analysis {"connection_id":204671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4c"} 
[2026-10-05 14:34:11] local.INFO: Extracted packet for processing {"connection_id":204671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4c"} 
[2026-10-05 14:34:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:34: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-10-05 14:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544876288001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791190944000,"timestamp_ms":1791190944000,"timestamp_seconds":1791190944,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4cc900"} 
[2026-10-05 14:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:34:11] 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-10-05 14:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 14:34:11] 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-10-05 14:34: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-10-05 14:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:34:11] 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-10-05 14:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544876288001,"66":12156,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544876288001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:34:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:34:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544876288001,"power":12156,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":204671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:34:11] local.INFO: GPS data processed {"connection_id":204671,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:34:11] local.INFO: Acknowledgment sent {"connection_id":204671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:34:31] local.INFO: TCP Data received {"connection_id":204536,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204536,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:34:31] local.INFO: Processing buffer {"connection_id":204536,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:34:31] local.INFO: IMEI packet received {"connection_id":204536,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":204536,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:34:34] local.INFO: TCP Data received {"connection_id":204536,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204536,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:34:34] local.INFO: Processing buffer {"connection_id":204536,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:34:34] local.INFO: IMEI packet received {"connection_id":204536,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":204536,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:34:35] local.INFO: TCP Data received {"connection_id":204536,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4e20c0012d790a0005e935f00004014d27..."} 
[2026-10-05 14:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4e20c0012d790a0005e935f00004014d27..."} 
[2026-10-05 14:34:35] local.INFO: Processing buffer {"connection_id":204536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4e20c0012d790a0005e935f00004014d27..."} 
[2026-10-05 14:34:35] local.INFO: Packet analysis {"connection_id":204536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4e"} 
[2026-10-05 14:34:35] local.INFO: Extracted packet for processing {"connection_id":204536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4e"} 
[2026-10-05 14:34:35] local.INFO: GPS Element Parsed {"raw_longitude":762907136,"raw_latitude":99169776,"longitude_deg":76.2907136,"latitude_deg":9.9169776,"altitude":4,"angle":333,"satellites":39,"speed":26,"hex_longitude":"2d790a00","hex_latitude":"05e935f0","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544899840001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139667130965557248,"note":"Value kept but may cause issues"} 
[2026-10-05 14:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8725372459694766080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791191032000,"timestamp_ms":1791191032000,"timestamp_seconds":1791191032,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4e20c0"} 
[2026-10-05 14:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 14:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":204536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":204536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":204536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:34:35] 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-10-05 14:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544899840001,"66":13678,"203":206,"87":13824,"24":26,"16":139667130965557248,"45":8725372459694766080},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-10-05 14:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544899840001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:34:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139667130965557248,"km_value":139667130965557.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8725372459694766080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544899840001,"power":13678,"mnc":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8725372459694766080}} 
[2026-10-05 14:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":204536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967931,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:34:35] local.INFO: GPS data processed {"connection_id":204536,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:34:35] local.INFO: Acknowledgment sent {"connection_id":204536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:34:42] local.INFO: TCP Data received {"connection_id":204671,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4d1b08012d196840071fec58003a006529..."} 
[2026-10-05 14:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4d1b08012d196840071fec58003a006529..."} 
[2026-10-05 14:34:42] local.INFO: Processing buffer {"connection_id":204671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4d1b08012d196840071fec58003a006529..."} 
[2026-10-05 14:34:42] local.INFO: Packet analysis {"connection_id":204671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4d"} 
[2026-10-05 14:34:42] local.INFO: Extracted packet for processing {"connection_id":204671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4d"} 
[2026-10-05 14:34:42] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544881664001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791190965000,"timestamp_ms":1791190965000,"timestamp_seconds":1791190965,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4d1b08"} 
[2026-10-05 14:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:34:42] 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-10-05 14:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-10-05 14:34:42] 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-10-05 14:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:34:42] 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-10-05 14:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544881664001,"66":12613,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544881664001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:34:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:34:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544881664001,"power":12613,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":204671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:34:42] local.INFO: GPS data processed {"connection_id":204671,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:34:42] local.INFO: Acknowledgment sent {"connection_id":204671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:34:54] local.INFO: TCP Data received {"connection_id":207621,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:34:54] local.INFO: Processing buffer {"connection_id":207621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:34:54] local.INFO: IMEI packet received {"connection_id":207621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":207621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:35:00] local.INFO: TCP Data received {"connection_id":207621,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:35:00] local.INFO: Processing buffer {"connection_id":207621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:35:00] local.INFO: IMEI packet received {"connection_id":207621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":207621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:35:01] local.INFO: TCP Data received {"connection_id":207621,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4d3660012d7b6b0005e07fc80008016024..."} 
[2026-10-05 14:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4d3660012d7b6b0005e07fc80008016024..."} 
[2026-10-05 14:35:01] local.INFO: Processing buffer {"connection_id":207621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4d3660012d7b6b0005e07fc80008016024..."} 
[2026-10-05 14:35:01] local.INFO: Packet analysis {"connection_id":207621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4d"} 
[2026-10-05 14:35:01] local.INFO: Extracted packet for processing {"connection_id":207621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4d"} 
[2026-10-05 14:35:01] local.INFO: GPS Element Parsed {"raw_longitude":763063040,"raw_latitude":98598856,"longitude_deg":76.306304,"latitude_deg":9.8598856,"altitude":8,"angle":352,"satellites":36,"speed":51,"hex_longitude":"2d7b6b00","hex_latitude":"05e07fc8","is_valid_coordinates":true} 
[2026-10-05 14:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544887040001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2060493380386816,"note":"Value kept but may cause issues"} 
[2026-10-05 14:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894468551807387648,"note":"Value kept but may cause issues"} 
[2026-10-05 14:35:01] 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-10-05 14:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791190972000,"timestamp_ms":1791190972000,"timestamp_seconds":1791190972,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4d3660"} 
[2026-10-05 14:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 14:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:35: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-10-05 14:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544887040001,"66":27876,"217":206,"85":15104,"24":51,"16":2060493380386816,"45":8894468551807387648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544887040001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:35:01] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:35:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2060493380386816,"km_value":2060493380386.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894468551807387648,"description":"Unknown IO ID 45"} 
[2026-10-05 14:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544887040001,"power":27876,"unknown_217":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8894468551807387648}} 
[2026-10-05 14:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":207621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:35:01] local.INFO: GPS data processed {"connection_id":207621,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:35:01] local.INFO: Acknowledgment sent {"connection_id":207621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:35:05] local.INFO: TCP Data received {"connection_id":204672,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:35:05] local.INFO: Processing buffer {"connection_id":204672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:35:05] local.INFO: IMEI packet received {"connection_id":204672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":204672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:35:07] local.INFO: TCP Data received {"connection_id":204536,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4e47d0012d78ffc005e950b00005015827..."} 
[2026-10-05 14:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4e47d0012d78ffc005e950b00005015827..."} 
[2026-10-05 14:35:07] local.INFO: Processing buffer {"connection_id":204536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4e47d0012d78ffc005e950b00005015827..."} 
[2026-10-05 14:35:07] local.INFO: Packet analysis {"connection_id":204536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4e"} 
[2026-10-05 14:35:07] local.INFO: Extracted packet for processing {"connection_id":204536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4e"} 
[2026-10-05 14:35:07] local.INFO: GPS Element Parsed {"raw_longitude":762904512,"raw_latitude":99176624,"longitude_deg":76.2904512,"latitude_deg":9.9176624,"altitude":5,"angle":344,"satellites":39,"speed":19,"hex_longitude":"2d78ffc0","hex_latitude":"05e950b0","is_valid_coordinates":true} 
[2026-10-05 14:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544904192001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139667483152875520,"note":"Value kept but may cause issues"} 
[2026-10-05 14:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8721783653743849472,"note":"Value kept but may cause issues"} 
[2026-10-05 14:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791191042000,"timestamp_ms":1791191042000,"timestamp_seconds":1791191042,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4e47d0"} 
[2026-10-05 14:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 14:35:07] 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-10-05 14:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:35: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-10-05 14:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544904192001,"66":13374,"203":206,"87":13824,"24":19,"16":139667483152875520,"45":8721783653743849472},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-10-05 14:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544904192001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:35:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139667483152875520,"km_value":139667483152875.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8721783653743849472,"description":"Unknown IO ID 45"} 
[2026-10-05 14:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544904192001,"power":13374,"mnc":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8721783653743849472}} 
[2026-10-05 14:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":204536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:35:07] local.INFO: GPS data processed {"connection_id":204536,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:35:07] local.INFO: Acknowledgment sent {"connection_id":204536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:35:08] local.INFO: TCP Data received {"connection_id":204672,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:35:08] local.INFO: Processing buffer {"connection_id":204672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:35:08] local.INFO: IMEI packet received {"connection_id":204672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":204672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:35:10] local.INFO: TCP Data received {"connection_id":204672,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:35:10] local.INFO: Processing buffer {"connection_id":204672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:35:10] local.INFO: IMEI packet received {"connection_id":204672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":204672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:35:11] local.INFO: TCP Data received {"connection_id":204672,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4d6d10012d196840071fec58003a006529..."} 
[2026-10-05 14:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4d6d10012d196840071fec58003a006529..."} 
[2026-10-05 14:35:11] local.INFO: Processing buffer {"connection_id":204672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4d6d10012d196840071fec58003a006529..."} 
[2026-10-05 14:35:11] local.INFO: Packet analysis {"connection_id":204672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4d"} 
[2026-10-05 14:35:11] local.INFO: Extracted packet for processing {"connection_id":204672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4d"} 
[2026-10-05 14:35:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544887040001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791190986000,"timestamp_ms":1791190986000,"timestamp_seconds":1791190986,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4d6d10"} 
[2026-10-05 14:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:35:11] 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-10-05 14:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 14:35:11] 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-10-05 14:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:35:11] 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-10-05 14:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544887040001,"66":12591,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544887040001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:35:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:35:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544887040001,"power":12591,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":204672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:35:11] local.INFO: GPS data processed {"connection_id":204672,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:35:11] local.INFO: Acknowledgment sent {"connection_id":204672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:35:15] local.INFO: TCP Data received {"connection_id":204672,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4dbf18012d196840071fec58003a00652b..."} 
[2026-10-05 14:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4dbf18012d196840071fec58003a00652b..."} 
[2026-10-05 14:35:15] local.INFO: Processing buffer {"connection_id":204672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4dbf18012d196840071fec58003a00652b..."} 
[2026-10-05 14:35:15] local.INFO: Packet analysis {"connection_id":204672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4d"} 
[2026-10-05 14:35:15] local.INFO: Extracted packet for processing {"connection_id":204672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4d"} 
[2026-10-05 14:35:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544892416001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791191007000,"timestamp_ms":1791191007000,"timestamp_seconds":1791191007,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4dbf18"} 
[2026-10-05 14:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-05 14:35:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:35:15] 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-10-05 14:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544892416001,"66":12211,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544892416001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:35:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:35:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544892416001,"power":12211,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":204672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:35:16] local.INFO: GPS data processed {"connection_id":204672,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:35:16] local.INFO: Acknowledgment sent {"connection_id":204672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:35:31] local.INFO: TCP Data received {"connection_id":204538,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204538,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:35:31] local.INFO: Processing buffer {"connection_id":204538,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:35:31] local.INFO: IMEI packet received {"connection_id":204538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":204538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:35:32] local.INFO: TCP Data received {"connection_id":207621,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4d51b8012d7b660005e0a318000b015f24..."} 
[2026-10-05 14:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4d51b8012d7b660005e0a318000b015f24..."} 
[2026-10-05 14:35:32] local.INFO: Processing buffer {"connection_id":207621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4d51b8012d7b660005e0a318000b015f24..."} 
[2026-10-05 14:35:32] local.INFO: Packet analysis {"connection_id":207621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4d"} 
[2026-10-05 14:35:32] local.INFO: Extracted packet for processing {"connection_id":207621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4d"} 
[2026-10-05 14:35:32] local.INFO: GPS Element Parsed {"raw_longitude":763061760,"raw_latitude":98607896,"longitude_deg":76.306176,"latitude_deg":9.8607896,"altitude":11,"angle":351,"satellites":36,"speed":53,"hex_longitude":"2d7b6600","hex_latitude":"05e0a318","is_valid_coordinates":true} 
[2026-10-05 14:35: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-10-05 14:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544888832001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2060935762018304,"note":"Value kept but may cause issues"} 
[2026-10-05 14:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893201914414483456,"note":"Value kept but may cause issues"} 
[2026-10-05 14:35:32] 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-10-05 14:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791190979000,"timestamp_ms":1791190979000,"timestamp_seconds":1791190979,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4d51b8"} 
[2026-10-05 14:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:35: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":228,"data_length":795,"current_offset":136} 
[2026-10-05 14:35:32] 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-10-05 14:35: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-10-05 14:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544888832001,"66":27843,"217":206,"85":15104,"24":53,"16":2060935762018304,"45":8893201914414483456},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 14:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544888832001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:35:32] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 14:35:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2060935762018304,"km_value":2060935762018.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893201914414483456,"description":"Unknown IO ID 45"} 
[2026-10-05 14:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544888832001,"power":27843,"unknown_217":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8893201914414483456}} 
[2026-10-05 14:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":207621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:35:32] local.INFO: GPS data processed {"connection_id":207621,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:35:32] local.INFO: Acknowledgment sent {"connection_id":207621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:35:33] local.INFO: TCP Data received {"connection_id":204538,"ip":"42.106.6.25","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-05 14:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204538,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-05 14:35:33] local.INFO: Processing buffer {"connection_id":204538,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-05 14:35:33] local.INFO: IMEI packet received {"connection_id":204538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":204538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:35:46] local.INFO: TCP Data received {"connection_id":204672,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4e1120012d196840071fec58003a006526..."} 
[2026-10-05 14:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4e1120012d196840071fec58003a006526..."} 
[2026-10-05 14:35:46] local.INFO: Processing buffer {"connection_id":204672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4e1120012d196840071fec58003a006526..."} 
[2026-10-05 14:35:46] local.INFO: Packet analysis {"connection_id":204672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4e"} 
[2026-10-05 14:35:46] local.INFO: Extracted packet for processing {"connection_id":204672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4e"} 
[2026-10-05 14:35:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544897792001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791191028000,"timestamp_ms":1791191028000,"timestamp_seconds":1791191028,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4e1120"} 
[2026-10-05 14:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-05 14:35:46] 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-10-05 14:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:35:46] 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-10-05 14:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544897792001,"66":12613,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544897792001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:35:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:35:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544897792001,"power":12613,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":204672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:35:47] local.INFO: GPS data processed {"connection_id":204672,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:35:47] local.INFO: Acknowledgment sent {"connection_id":204672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:35:59] local.INFO: TCP Data received {"connection_id":206083,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:35:59] local.INFO: Processing buffer {"connection_id":206083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:35:59] local.INFO: IMEI packet received {"connection_id":206083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":206083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:36:00] local.INFO: TCP Data received {"connection_id":206083,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:36:00] local.INFO: Processing buffer {"connection_id":206083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:36:00] local.INFO: IMEI packet received {"connection_id":206083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":206083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:36:01] local.INFO: TCP Data received {"connection_id":206083,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4ed470012d7b2e4005e22e580003016222..."} 
[2026-10-05 14:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4ed470012d7b2e4005e22e580003016222..."} 
[2026-10-05 14:36:01] local.INFO: Processing buffer {"connection_id":206083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4ed470012d7b2e4005e22e580003016222..."} 
[2026-10-05 14:36:01] local.INFO: Packet analysis {"connection_id":206083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4e"} 
[2026-10-05 14:36:01] local.INFO: Extracted packet for processing {"connection_id":206083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4e"} 
[2026-10-05 14:36:01] local.INFO: GPS Element Parsed {"raw_longitude":763047488,"raw_latitude":98709080,"longitude_deg":76.3047488,"latitude_deg":9.870908,"altitude":3,"angle":354,"satellites":34,"speed":22,"hex_longitude":"2d7b2e40","hex_latitude":"05e22e58","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544912128001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877298578256287744,"note":"Value kept but may cause issues"} 
[2026-10-05 14:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2065896449245184,"note":"Value kept but may cause issues"} 
[2026-10-05 14:36: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-10-05 14:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791191078000,"timestamp_ms":1791191078000,"timestamp_seconds":1791191078,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4ed470"} 
[2026-10-05 14:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 14:36:01] 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-10-05 14: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-10-05 14:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":206083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":206083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":206083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:36: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-10-05 14:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544912128001,"66":27995,"45":8877298578256287744,"85":15104,"24":22,"16":2065896449245184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 14:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544912128001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877298578256287744,"description":"Unknown IO ID 45"} 
[2026-10-05 14:36:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2065896449245184,"km_value":2065896449245.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:36:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458544912128001,"power":27995,"unknown_45":8877298578256287744,"unknown_85":15104,"ignition":22,"odometer":null}} 
[2026-10-05 14:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":206083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:36:01] local.INFO: GPS data processed {"connection_id":206083,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:36:01] local.INFO: Acknowledgment sent {"connection_id":206083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:36:05] local.INFO: TCP Data received {"connection_id":204673,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:36:05] local.INFO: Processing buffer {"connection_id":204673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:36:05] local.INFO: IMEI packet received {"connection_id":204673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":204673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:36:05] local.INFO: TCP Data received {"connection_id":206083,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4f12f0012d7b29c005e252380003016225..."} 
[2026-10-05 14:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4f12f0012d7b29c005e252380003016225..."} 
[2026-10-05 14:36:05] local.INFO: Processing buffer {"connection_id":206083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4f12f0012d7b29c005e252380003016225..."} 
[2026-10-05 14:36:05] local.INFO: Packet analysis {"connection_id":206083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4f"} 
[2026-10-05 14:36:05] local.INFO: Extracted packet for processing {"connection_id":206083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4f"} 
[2026-10-05 14:36:05] local.INFO: GPS Element Parsed {"raw_longitude":763046336,"raw_latitude":98718264,"longitude_deg":76.3046336,"latitude_deg":9.8718264,"altitude":3,"angle":354,"satellites":37,"speed":14,"hex_longitude":"2d7b29c0","hex_latitude":"05e25238","is_valid_coordinates":true} 
[2026-10-05 14:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544915968001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876102309607528448,"note":"Value kept but may cause issues"} 
[2026-10-05 14:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2066343125843968,"note":"Value kept but may cause issues"} 
[2026-10-05 14:36:05] 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-10-05 14:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791191094000,"timestamp_ms":1791191094000,"timestamp_seconds":1791191094,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4f12f0"} 
[2026-10-05 14:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 14:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":206083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":206083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":206083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544915968001,"66":27908,"45":8876102309607528448,"85":15104,"24":14,"16":2066343125843968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 14:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544915968001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876102309607528448,"description":"Unknown IO ID 45"} 
[2026-10-05 14:36:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2066343125843968,"km_value":2066343125843.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:36:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458544915968001,"power":27908,"unknown_45":8876102309607528448,"unknown_85":15104,"ignition":14,"odometer":null}} 
[2026-10-05 14:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":206083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:36:05] local.INFO: GPS data processed {"connection_id":206083,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:36:05] local.INFO: Acknowledgment sent {"connection_id":206083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:36:10] local.INFO: TCP Data received {"connection_id":204673,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:36:10] local.INFO: Processing buffer {"connection_id":204673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:36:10] local.INFO: IMEI packet received {"connection_id":204673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":204673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:36:11] local.INFO: TCP Data received {"connection_id":204673,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4e6328012d196840071fec58003a00652a..."} 
[2026-10-05 14:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4e6328012d196840071fec58003a00652a..."} 
[2026-10-05 14:36:11] local.INFO: Processing buffer {"connection_id":204673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4e6328012d196840071fec58003a00652a..."} 
[2026-10-05 14:36:11] local.INFO: Packet analysis {"connection_id":204673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4e"} 
[2026-10-05 14:36:11] local.INFO: Extracted packet for processing {"connection_id":204673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4e"} 
[2026-10-05 14:36:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544903168001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791191049000,"timestamp_ms":1791191049000,"timestamp_seconds":1791191049,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4e6328"} 
[2026-10-05 14:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:36:11] 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-10-05 14:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 14:36:11] 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-10-05 14:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:36:11] 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-10-05 14:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544903168001,"66":12558,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544903168001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:36:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:36:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544903168001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":204673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:36:11] local.INFO: GPS data processed {"connection_id":204673,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:36:11] local.INFO: Acknowledgment sent {"connection_id":204673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:36:37] local.INFO: TCP Data received {"connection_id":206083,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4f5170012d7b24c005e278a80001015e22..."} 
[2026-10-05 14:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4f5170012d7b24c005e278a80001015e22..."} 
[2026-10-05 14:36:37] local.INFO: Processing buffer {"connection_id":206083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4f5170012d7b24c005e278a80001015e22..."} 
[2026-10-05 14:36:37] local.INFO: Packet analysis {"connection_id":206083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4f"} 
[2026-10-05 14:36:37] local.INFO: Extracted packet for processing {"connection_id":206083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4f"} 
[2026-10-05 14:36:37] local.INFO: GPS Element Parsed {"raw_longitude":763045056,"raw_latitude":98728104,"longitude_deg":76.3045056,"latitude_deg":9.8728104,"altitude":1,"angle":350,"satellites":34,"speed":33,"hex_longitude":"2d7b24c0","hex_latitude":"05e278a8","is_valid_coordinates":true} 
[2026-10-05 14:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544920064001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2066824162181120,"note":"Value kept but may cause issues"} 
[2026-10-05 14:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874835672214681600,"note":"Value kept but may cause issues"} 
[2026-10-05 14:36:37] 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-10-05 14:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791191110000,"timestamp_ms":1791191110000,"timestamp_seconds":1791191110,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4f5170"} 
[2026-10-05 14:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 14:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544920064001,"66":28082,"207":206,"85":15104,"24":33,"16":2066824162181120,"45":8874835672214681600},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 14:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544920064001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:36:37] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 14:36:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2066824162181120,"km_value":2066824162181.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874835672214681600,"description":"Unknown IO ID 45"} 
[2026-10-05 14:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544920064001,"power":28082,"unknown_207":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8874835672214681600}} 
[2026-10-05 14:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":206083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:36:37] local.INFO: GPS data processed {"connection_id":206083,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:36:37] local.INFO: Acknowledgment sent {"connection_id":206083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:36:43] local.INFO: TCP Data received {"connection_id":204673,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4eb530012d196840071fec58003a00652b..."} 
[2026-10-05 14:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4eb530012d196840071fec58003a00652b..."} 
[2026-10-05 14:36:43] local.INFO: Processing buffer {"connection_id":204673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4eb530012d196840071fec58003a00652b..."} 
[2026-10-05 14:36:43] local.INFO: Packet analysis {"connection_id":204673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4e"} 
[2026-10-05 14:36:43] local.INFO: Extracted packet for processing {"connection_id":204673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4e"} 
[2026-10-05 14:36:43] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544908544001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791191070000,"timestamp_ms":1791191070000,"timestamp_seconds":1791191070,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4eb530"} 
[2026-10-05 14:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:36:43] 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-10-05 14: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-10-05 14:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-10-05 14:36:43] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-05 14:36:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 14:36:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743230331251800,"note":"Value kept but may cause issues"} 
[2026-10-05 14:36:43] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3965190202,"note":"Value kept but may cause issues"} 
[2026-10-05 14:36:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-10-05 14:36:43] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-10-05 14:36:43] local.WARNING: Large IO value detected {"io_id":77,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-10-05 14:36:43] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-10-05 14:36:43] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,1,161,17,45,64,236,58,38,10,66,191,43,109,240,47,227,11,31,4,113,205,201,104,88,40,239,2,89,7,120,77,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-10-05 14:36:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179451685262852096,"timestamp_seconds":4179451685262852.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 14:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:36:43] 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-10-05 14:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544908544001,"66":12645,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544908544001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:36:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:36:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544908544001,"power":12645,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":204673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:36:43] local.INFO: GPS data processed {"connection_id":204673,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:36:43] local.INFO: Acknowledgment sent {"connection_id":204673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:36:55] local.INFO: TCP Data received {"connection_id":204541,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:36:55] local.INFO: Processing buffer {"connection_id":204541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:36:55] local.INFO: IMEI packet received {"connection_id":204541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":204541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:36:55] local.INFO: TCP Data received {"connection_id":204541,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:36:55] local.INFO: Processing buffer {"connection_id":204541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:36:55] local.INFO: IMEI packet received {"connection_id":204541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":204541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:36:59] local.INFO: TCP Data received {"connection_id":204540,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:36:59] local.INFO: Processing buffer {"connection_id":204540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:36:59] local.INFO: IMEI packet received {"connection_id":204540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 14:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":204540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:37:00] local.INFO: TCP Data received {"connection_id":204541,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:37:00] local.INFO: Processing buffer {"connection_id":204541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:37:00] local.INFO: IMEI packet received {"connection_id":204541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":204541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:37:00] local.INFO: TCP Data received {"connection_id":204541,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4f7880012d7b1f4005e29c580001015f24..."} 
[2026-10-05 14:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4f7880012d7b1f4005e29c580001015f24..."} 
[2026-10-05 14:37:01] local.INFO: Processing buffer {"connection_id":204541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4f7880012d7b1f4005e29c580001015f24..."} 
[2026-10-05 14:37:01] local.INFO: Packet analysis {"connection_id":204541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4f"} 
[2026-10-05 14:37:01] local.INFO: Extracted packet for processing {"connection_id":204541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4f"} 
[2026-10-05 14:37:01] local.INFO: GPS Element Parsed {"raw_longitude":763043648,"raw_latitude":98737240,"longitude_deg":76.3043648,"latitude_deg":9.873724,"altitude":1,"angle":351,"satellites":36,"speed":39,"hex_longitude":"2d7b1f40","hex_latitude":"05e29c58","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544924160001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2067270838779904,"note":"Value kept but may cause issues"} 
[2026-10-05 14:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873428297333647360,"note":"Value kept but may cause issues"} 
[2026-10-05 14:37:01] 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-10-05 14:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791191120000,"timestamp_ms":1791191120000,"timestamp_seconds":1791191120,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4f7880"} 
[2026-10-05 14:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 14:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:37: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-10-05 14:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544924160001,"66":27919,"208":206,"85":15104,"24":39,"16":2067270838779904,"45":8873428297333647360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 14:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544924160001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:37:01] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 14:37:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2067270838779904,"km_value":2067270838779.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873428297333647360,"description":"Unknown IO ID 45"} 
[2026-10-05 14:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544924160001,"power":27919,"unknown_208":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8873428297333647360}} 
[2026-10-05 14:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":204541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:37:01] local.INFO: GPS data processed {"connection_id":204541,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:37:01] local.INFO: Acknowledgment sent {"connection_id":204541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:37:05] local.INFO: TCP Data received {"connection_id":204541,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4f9ba8012d7b1a4005e2c0600000015e21..."} 
[2026-10-05 14:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4f9ba8012d7b1a4005e2c0600000015e21..."} 
[2026-10-05 14:37:05] local.INFO: Processing buffer {"connection_id":204541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4f9ba8012d7b1a4005e2c0600000015e21..."} 
[2026-10-05 14:37:05] local.INFO: Packet analysis {"connection_id":204541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4f"} 
[2026-10-05 14:37:05] local.INFO: Extracted packet for processing {"connection_id":204541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4f"} 
[2026-10-05 14:37:05] local.INFO: GPS Element Parsed {"raw_longitude":763042368,"raw_latitude":98746464,"longitude_deg":76.3042368,"latitude_deg":9.8746464,"altitude":0,"angle":350,"satellites":33,"speed":44,"hex_longitude":"2d7b1a40","hex_latitude":"05e2c060","is_valid_coordinates":true} 
[2026-10-05 14:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544926720001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2067726105313280,"note":"Value kept but may cause issues"} 
[2026-10-05 14:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871880184964077568,"note":"Value kept but may cause issues"} 
[2026-10-05 14:37: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-10-05 14:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791191129000,"timestamp_ms":1791191129000,"timestamp_seconds":1791191129,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4f9ba8"} 
[2026-10-05 14:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:37: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-10-05 14:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 14:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544926720001,"66":27821,"208":206,"85":15104,"24":44,"16":2067726105313280,"45":8871880184964077568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 14:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544926720001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:37:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 14:37:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2067726105313280,"km_value":2067726105313.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871880184964077568,"description":"Unknown IO ID 45"} 
[2026-10-05 14:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544926720001,"power":27821,"unknown_208":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8871880184964077568}} 
[2026-10-05 14:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":204541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:37:05] local.INFO: GPS data processed {"connection_id":204541,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:37:05] local.INFO: Acknowledgment sent {"connection_id":204541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:37:10] local.INFO: TCP Data received {"connection_id":207622,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:37:10] local.INFO: Processing buffer {"connection_id":207622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:37:10] local.INFO: IMEI packet received {"connection_id":207622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":207622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:37:14] local.INFO: TCP Data received {"connection_id":207622,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:37:14] local.INFO: Processing buffer {"connection_id":207622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:37:14] local.INFO: IMEI packet received {"connection_id":207622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":207622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:37:15] local.INFO: TCP Data received {"connection_id":207622,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4f0738012d196840071fec58003a006528..."} 
[2026-10-05 14:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4f0738012d196840071fec58003a006528..."} 
[2026-10-05 14:37:15] local.INFO: Processing buffer {"connection_id":207622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4f0738012d196840071fec58003a006528..."} 
[2026-10-05 14:37:15] local.INFO: Packet analysis {"connection_id":207622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4f"} 
[2026-10-05 14:37:15] local.INFO: Extracted packet for processing {"connection_id":207622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4f"} 
[2026-10-05 14:37:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544913920001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791191091000,"timestamp_ms":1791191091000,"timestamp_seconds":1791191091,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4f0738"} 
[2026-10-05 14:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 14:37:15] 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-10-05 14:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:37:15] 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-10-05 14:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544913920001,"66":12645,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544913920001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:37:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:37:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544913920001,"power":12645,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":207622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:37:15] local.INFO: GPS data processed {"connection_id":207622,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:37:15] local.INFO: Acknowledgment sent {"connection_id":207622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:37:15] local.INFO: TCP Data received {"connection_id":207622,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4f5940012d196840071fec58003a006529..."} 
[2026-10-05 14:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4f5940012d196840071fec58003a006529..."} 
[2026-10-05 14:37:15] local.INFO: Processing buffer {"connection_id":207622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4f5940012d196840071fec58003a006529..."} 
[2026-10-05 14:37:15] local.INFO: Packet analysis {"connection_id":207622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4f"} 
[2026-10-05 14:37:15] local.INFO: Extracted packet for processing {"connection_id":207622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4f"} 
[2026-10-05 14:37:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544919296001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791191112000,"timestamp_ms":1791191112000,"timestamp_seconds":1791191112,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4f5940"} 
[2026-10-05 14:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:37: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-10-05 14:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 14:37:15] 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-10-05 14:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:37:15] 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-10-05 14:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544919296001,"66":12591,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544919296001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:37:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:37:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544919296001,"power":12591,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":207622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:37:15] local.INFO: GPS data processed {"connection_id":207622,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:37:15] local.INFO: Acknowledgment sent {"connection_id":207622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:37:34] local.INFO: TCP Data received {"connection_id":204542,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:37:34] local.INFO: Processing buffer {"connection_id":204542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:37:34] local.INFO: IMEI packet received {"connection_id":204542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 14:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":204542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:37:46] local.INFO: TCP Data received {"connection_id":207622,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4fab48012d196840071fec58003a006523..."} 
[2026-10-05 14:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4fab48012d196840071fec58003a006523..."} 
[2026-10-05 14:37:46] local.INFO: Processing buffer {"connection_id":207622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4fab48012d196840071fec58003a006523..."} 
[2026-10-05 14:37:46] local.INFO: Packet analysis {"connection_id":207622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4f"} 
[2026-10-05 14:37:46] local.INFO: Extracted packet for processing {"connection_id":207622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4f"} 
[2026-10-05 14:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:37: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-10-05 14:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544924672001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791191133000,"timestamp_ms":1791191133000,"timestamp_seconds":1791191133,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4fab48"} 
[2026-10-05 14:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:37: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-10-05 14:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-05 14:37:46] 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-10-05 14:37: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-10-05 14:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":207622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":207622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":207622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:37:46] 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-10-05 14:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544924672001,"66":12613,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544924672001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:37:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:37:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544924672001,"power":12613,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":207622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:37:47] local.INFO: GPS data processed {"connection_id":207622,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:37:47] local.INFO: Acknowledgment sent {"connection_id":207622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:37:48] local.INFO: TCP Data received {"connection_id":204541,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4fbed0012d7b144005e2e6780000015f20..."} 
[2026-10-05 14:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4fbed0012d7b144005e2e6780000015f20..."} 
[2026-10-05 14:37:48] local.INFO: Processing buffer {"connection_id":204541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4fbed0012d7b144005e2e6780000015f20..."} 
[2026-10-05 14:37:48] local.INFO: Packet analysis {"connection_id":204541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4f"} 
[2026-10-05 14:37:48] local.INFO: Extracted packet for processing {"connection_id":204541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4f"} 
[2026-10-05 14:37:48] local.INFO: GPS Element Parsed {"raw_longitude":763040832,"raw_latitude":98756216,"longitude_deg":76.3040832,"latitude_deg":9.8756216,"altitude":0,"angle":351,"satellites":32,"speed":42,"hex_longitude":"2d7b1440","hex_latitude":"05e2e678","is_valid_coordinates":true} 
[2026-10-05 14:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544929024001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2068202846683136,"note":"Value kept but may cause issues"} 
[2026-10-05 14:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870472810082885632,"note":"Value kept but may cause issues"} 
[2026-10-05 14:37:48] 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-10-05 14:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791191138000,"timestamp_ms":1791191138000,"timestamp_seconds":1791191138,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4fbed0"} 
[2026-10-05 14:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 14:37:48] 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-10-05 14:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544929024001,"66":27876,"208":206,"85":15104,"24":42,"16":2068202846683136,"45":8870472810082885632},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 14:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544929024001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:37:48] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 14:37:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2068202846683136,"km_value":2068202846683.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870472810082885632,"description":"Unknown IO ID 45"} 
[2026-10-05 14:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544929024001,"power":27876,"unknown_208":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8870472810082885632}} 
[2026-10-05 14:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":204541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:37:48] local.INFO: GPS data processed {"connection_id":204541,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:37:48] local.INFO: Acknowledgment sent {"connection_id":204541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:37:58] local.INFO: TCP Data received {"connection_id":204543,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:37:58] local.INFO: Processing buffer {"connection_id":204543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:37:58] local.INFO: IMEI packet received {"connection_id":204543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":204543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:37:58] local.INFO: TCP Data received {"connection_id":204543,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:37:58] local.INFO: Processing buffer {"connection_id":204543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:37:58] local.INFO: IMEI packet received {"connection_id":204543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":204543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:37:59] local.INFO: TCP Data received {"connection_id":204543,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4fe5e0012d7b0e4005e30a580001015b1c..."} 
[2026-10-05 14:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4fe5e0012d7b0e4005e30a580001015b1c..."} 
[2026-10-05 14:37:59] local.INFO: Processing buffer {"connection_id":204543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4fe5e0012d7b0e4005e30a580001015b1c..."} 
[2026-10-05 14:37:59] local.INFO: Packet analysis {"connection_id":204543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4f"} 
[2026-10-05 14:37:59] local.INFO: Extracted packet for processing {"connection_id":204543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4f"} 
[2026-10-05 14:37:59] local.INFO: GPS Element Parsed {"raw_longitude":763039296,"raw_latitude":98765400,"longitude_deg":76.3039296,"latitude_deg":9.87654,"altitude":1,"angle":347,"satellites":28,"speed":27,"hex_longitude":"2d7b0e40","hex_latitude":"05e30a58","is_valid_coordinates":true} 
[2026-10-05 14:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544931328001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2068653818249216,"note":"Value kept but may cause issues"} 
[2026-10-05 14:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868783960225118208,"note":"Value kept but may cause issues"} 
[2026-10-05 14:37: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-10-05 14:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791191148000,"timestamp_ms":1791191148000,"timestamp_seconds":1791191148,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4fe5e0"} 
[2026-10-05 14:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:37: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-10-05 14:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-05 14:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":204543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":204543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":204543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:37: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-10-05 14:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544931328001,"66":28017,"208":206,"85":15104,"24":27,"16":2068653818249216,"45":8868783960225118208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 14:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544931328001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:37:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 14:37:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2068653818249216,"km_value":2068653818249.216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868783960225118208,"description":"Unknown IO ID 45"} 
[2026-10-05 14:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544931328001,"power":28017,"unknown_208":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8868783960225118208}} 
[2026-10-05 14:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":204543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:37:59] local.INFO: GPS data processed {"connection_id":204543,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:37:59] local.INFO: Acknowledgment sent {"connection_id":204543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:38:00] local.INFO: TCP Data received {"connection_id":204543,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b5018a8012d7b094005e32c780002015c1a..."} 
[2026-10-05 14:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b5018a8012d7b094005e32c780002015c1a..."} 
[2026-10-05 14:38:00] local.INFO: Processing buffer {"connection_id":204543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b5018a8012d7b094005e32c780002015c1a..."} 
[2026-10-05 14:38:00] local.INFO: Packet analysis {"connection_id":204543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b50"} 
[2026-10-05 14:38:00] local.INFO: Extracted packet for processing {"connection_id":204543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b50"} 
[2026-10-05 14:38:00] local.INFO: GPS Element Parsed {"raw_longitude":763038016,"raw_latitude":98774136,"longitude_deg":76.3038016,"latitude_deg":9.8774136,"altitude":2,"angle":348,"satellites":26,"speed":33,"hex_longitude":"2d7b0940","hex_latitude":"05e32c78","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544933888001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2069083314978816,"note":"Value kept but may cause issues"} 
[2026-10-05 14:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867095110367205376,"note":"Value kept but may cause issues"} 
[2026-10-05 14:38:00] 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-10-05 14:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791191161000,"timestamp_ms":1791191161000,"timestamp_seconds":1791191161,"priority":1,"record_length":96,"hex_timestamp":"000001a10b5018a8"} 
[2026-10-05 14:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-10-05 14:38: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-10-05 14: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-10-05 14:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:38: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-10-05 14:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544933888001,"66":27930,"208":206,"85":15104,"24":33,"16":2069083314978816,"45":8867095110367205376},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 14:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544933888001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:38:00] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 14:38:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2069083314978816,"km_value":2069083314978.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867095110367205376,"description":"Unknown IO ID 45"} 
[2026-10-05 14:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544933888001,"power":27930,"unknown_208":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8867095110367205376}} 
[2026-10-05 14:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":204543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:38:00] local.INFO: GPS data processed {"connection_id":204543,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:38:00] local.INFO: Acknowledgment sent {"connection_id":204543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:38:05] local.INFO: TCP Data received {"connection_id":207623,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:38:05] local.INFO: Processing buffer {"connection_id":207623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:38:05] local.INFO: IMEI packet received {"connection_id":207623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":207623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:38:10] local.INFO: TCP Data received {"connection_id":207623,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:38:10] local.INFO: Processing buffer {"connection_id":207623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:38:10] local.INFO: IMEI packet received {"connection_id":207623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":207623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:38:11] local.INFO: TCP Data received {"connection_id":207623,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b4ffd50012d196840071fec58003a006527..."} 
[2026-10-05 14:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b4ffd50012d196840071fec58003a006527..."} 
[2026-10-05 14:38:11] local.INFO: Processing buffer {"connection_id":207623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b4ffd50012d196840071fec58003a006527..."} 
[2026-10-05 14:38:11] local.INFO: Packet analysis {"connection_id":207623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b4f"} 
[2026-10-05 14:38:11] local.INFO: Extracted packet for processing {"connection_id":207623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b4f"} 
[2026-10-05 14:38:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544930048001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791191154000,"timestamp_ms":1791191154000,"timestamp_seconds":1791191154,"priority":1,"record_length":96,"hex_timestamp":"000001a10b4ffd50"} 
[2026-10-05 14:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:38:11] 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-10-05 14:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 14:38:11] 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-10-05 14:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:38:11] 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-10-05 14:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544930048001,"66":12645,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544930048001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:38:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:38:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544930048001,"power":12645,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":207623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:38:11] local.INFO: GPS data processed {"connection_id":207623,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:38:11] local.INFO: Acknowledgment sent {"connection_id":207623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:38:31] local.INFO: TCP Data received {"connection_id":204543,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b502460012d7b090005e336e0000200001c..."} 
[2026-10-05 14:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b502460012d7b090005e336e0000200001c..."} 
[2026-10-05 14:38:31] local.INFO: Processing buffer {"connection_id":204543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b502460012d7b090005e336e0000200001c..."} 
[2026-10-05 14:38:31] local.INFO: Packet analysis {"connection_id":204543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b50"} 
[2026-10-05 14:38:31] local.INFO: Extracted packet for processing {"connection_id":204543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b50"} 
[2026-10-05 14:38:31] local.INFO: GPS Element Parsed {"raw_longitude":763037952,"raw_latitude":98776800,"longitude_deg":76.3037952,"latitude_deg":9.87768,"altitude":2,"angle":0,"satellites":28,"speed":29,"hex_longitude":"2d7b0900","hex_latitude":"05e336e0","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544937216001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2069212163997696,"note":"Value kept but may cause issues"} 
[2026-10-05 14:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865687735485888512,"note":"Value kept but may cause issues"} 
[2026-10-05 14:38:31] 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-10-05 14:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791191164000,"timestamp_ms":1791191164000,"timestamp_seconds":1791191164,"priority":1,"record_length":96,"hex_timestamp":"000001a10b502460"} 
[2026-10-05 14:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-05 14:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544937216001,"66":27974,"208":206,"85":15104,"24":29,"16":2069212163997696,"45":8865687735485888512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 14:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544937216001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:38:31] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 14:38:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 14:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2069212163997696,"km_value":2069212163997.696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865687735485888512,"description":"Unknown IO ID 45"} 
[2026-10-05 14:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544937216001,"power":27974,"unknown_208":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8865687735485888512}} 
[2026-10-05 14:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":204543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:38:31] local.INFO: GPS data processed {"connection_id":204543,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:38:31] local.INFO: Acknowledgment sent {"connection_id":204543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:38:42] local.INFO: TCP Data received {"connection_id":207623,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b504f58012d196840071fec58003a00652a..."} 
[2026-10-05 14:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b504f58012d196840071fec58003a00652a..."} 
[2026-10-05 14:38:42] local.INFO: Processing buffer {"connection_id":207623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b504f58012d196840071fec58003a00652a..."} 
[2026-10-05 14:38:42] local.INFO: Packet analysis {"connection_id":207623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b50"} 
[2026-10-05 14:38:42] local.INFO: Extracted packet for processing {"connection_id":207623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b50"} 
[2026-10-05 14:38:42] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544935424001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791191175000,"timestamp_ms":1791191175000,"timestamp_seconds":1791191175,"priority":1,"record_length":96,"hex_timestamp":"000001a10b504f58"} 
[2026-10-05 14:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:38: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-10-05 14:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 14:38:42] 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-10-05 14:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:38:42] 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-10-05 14:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544935424001,"66":12558,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544935424001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:38:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:38:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544935424001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":207623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:38:42] local.INFO: GPS data processed {"connection_id":207623,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:38:42] local.INFO: Acknowledgment sent {"connection_id":207623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:38:54] local.INFO: TCP Data received {"connection_id":204545,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:38:54] local.INFO: Processing buffer {"connection_id":204545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:38:54] local.INFO: IMEI packet received {"connection_id":204545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":204545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:38:55] local.INFO: TCP Data received {"connection_id":204545,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:38:55] local.INFO: Processing buffer {"connection_id":204545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:38:55] local.INFO: IMEI packet received {"connection_id":204545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":204545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:39:00] local.INFO: TCP Data received {"connection_id":204545,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:39:00] local.INFO: Processing buffer {"connection_id":204545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:39:00] local.INFO: IMEI packet received {"connection_id":204545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":204545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:39:00] local.INFO: TCP Data received {"connection_id":204545,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b51baa0012d7baec005e43ec80010001f2a..."} 
[2026-10-05 14:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b51baa0012d7baec005e43ec80010001f2a..."} 
[2026-10-05 14:39:00] local.INFO: Processing buffer {"connection_id":204545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b51baa0012d7baec005e43ec80010001f2a..."} 
[2026-10-05 14:39:00] local.INFO: Packet analysis {"connection_id":204545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b51"} 
[2026-10-05 14:39:00] local.INFO: Extracted packet for processing {"connection_id":204545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b51"} 
[2026-10-05 14:39:00] local.INFO: GPS Element Parsed {"raw_longitude":763080384,"raw_latitude":98844360,"longitude_deg":76.3080384,"latitude_deg":9.884436,"altitude":16,"angle":31,"satellites":42,"speed":46,"hex_longitude":"2d7baec0","hex_latitude":"05e43ec8","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544962304001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2073107699335168,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906360869636395008,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:00] 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-10-05 14:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791191268000,"timestamp_ms":1791191268000,"timestamp_seconds":1791191268,"priority":1,"record_length":96,"hex_timestamp":"000001a10b51baa0"} 
[2026-10-05 14:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-05 14:39: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-10-05 14:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:39: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-10-05 14:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544962304001,"66":28006,"39":206,"87":13824,"24":46,"16":2073107699335168,"45":8906360869636395008},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-10-05 14:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544962304001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:39:00] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-10-05 14:39:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2073107699335168,"km_value":2073107699335.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906360869636395008,"description":"Unknown IO ID 45"} 
[2026-10-05 14:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544962304001,"power":28006,"unknown_39":206,"unknown_87":13824,"ignition":46,"odometer":null,"unknown_45":8906360869636395008}} 
[2026-10-05 14:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":204545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:39:00] local.INFO: GPS data processed {"connection_id":204545,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:39:00] local.INFO: Acknowledgment sent {"connection_id":204545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:39:05] local.INFO: TCP Data received {"connection_id":204675,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:39:05] local.INFO: Processing buffer {"connection_id":204675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:39:05] local.INFO: IMEI packet received {"connection_id":204675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":204675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:39:10] local.INFO: TCP Data received {"connection_id":204675,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:39:10] local.INFO: Processing buffer {"connection_id":204675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:39:10] local.INFO: IMEI packet received {"connection_id":204675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":204675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:39:11] local.INFO: TCP Data received {"connection_id":204675,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b50a160012d196840071fec58003a006527..."} 
[2026-10-05 14:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b50a160012d196840071fec58003a006527..."} 
[2026-10-05 14:39:11] local.INFO: Processing buffer {"connection_id":204675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b50a160012d196840071fec58003a006527..."} 
[2026-10-05 14:39:11] local.INFO: Packet analysis {"connection_id":204675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b50"} 
[2026-10-05 14:39:11] local.INFO: Extracted packet for processing {"connection_id":204675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b50"} 
[2026-10-05 14:39:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544940800001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791191196000,"timestamp_ms":1791191196000,"timestamp_seconds":1791191196,"priority":1,"record_length":96,"hex_timestamp":"000001a10b50a160"} 
[2026-10-05 14:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:39:11] 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-10-05 14:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-10-05 14:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743230331251800,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3965190202,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-10-05 14:39:11] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:11] local.WARNING: Large IO value detected {"io_id":77,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:11] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:11] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,1,161,253,45,64,236,58,39,10,66,171,35,89,240,47,227,11,31,4,113,205,181,104,88,43,239,49,2,7,120,77,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-10-05 14:39:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179451685262852096,"timestamp_seconds":4179451685262852.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 14:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:39:11] 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-10-05 14:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544940800001,"66":12558,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544940800001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:39:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:39:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544940800001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":204675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:39:11] local.INFO: GPS data processed {"connection_id":204675,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:39:11] local.INFO: Acknowledgment sent {"connection_id":204675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:39:31] local.INFO: TCP Data received {"connection_id":204545,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b51d9e0012d7bc44005e45f30000f00212c..."} 
[2026-10-05 14:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b51d9e0012d7bc44005e45f30000f00212c..."} 
[2026-10-05 14:39:31] local.INFO: Processing buffer {"connection_id":204545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b51d9e0012d7bc44005e45f30000f00212c..."} 
[2026-10-05 14:39:31] local.INFO: Packet analysis {"connection_id":204545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b51"} 
[2026-10-05 14:39:31] local.INFO: Extracted packet for processing {"connection_id":204545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b51"} 
[2026-10-05 14:39:31] local.INFO: GPS Element Parsed {"raw_longitude":763085888,"raw_latitude":98852656,"longitude_deg":76.3085888,"latitude_deg":9.8852656,"altitude":15,"angle":33,"satellites":44,"speed":51,"hex_longitude":"2d7bc440","hex_latitude":"05e45f30","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544964608001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2073584440705024,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912271844149479424,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:31] 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-10-05 14:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791191276000,"timestamp_ms":1791191276000,"timestamp_seconds":1791191276,"priority":1,"record_length":96,"hex_timestamp":"000001a10b51d9e0"} 
[2026-10-05 14:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 14:39:31] 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-10-05 14: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-10-05 14:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544964608001,"66":27930,"39":206,"87":13824,"24":51,"16":2073584440705024,"45":8912271844149479424},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-10-05 14:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544964608001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:39:31] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-10-05 14:39:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2073584440705024,"km_value":2073584440705.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912271844149479424,"description":"Unknown IO ID 45"} 
[2026-10-05 14:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544964608001,"power":27930,"unknown_39":206,"unknown_87":13824,"ignition":51,"odometer":null,"unknown_45":8912271844149479424}} 
[2026-10-05 14:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":204545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:39:31] local.INFO: GPS data processed {"connection_id":204545,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:39:31] local.INFO: Acknowledgment sent {"connection_id":204545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:39:42] local.INFO: TCP Data received {"connection_id":204675,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b50f368012d196840071fec58003a006527..."} 
[2026-10-05 14:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b50f368012d196840071fec58003a006527..."} 
[2026-10-05 14:39:42] local.INFO: Processing buffer {"connection_id":204675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b50f368012d196840071fec58003a006527..."} 
[2026-10-05 14:39:42] local.INFO: Packet analysis {"connection_id":204675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b50"} 
[2026-10-05 14:39:42] local.INFO: Extracted packet for processing {"connection_id":204675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b50"} 
[2026-10-05 14:39:42] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544946176001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791191217000,"timestamp_ms":1791191217000,"timestamp_seconds":1791191217,"priority":1,"record_length":96,"hex_timestamp":"000001a10b50f368"} 
[2026-10-05 14:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:39:42] 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-10-05 14:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-10-05 14:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743230331251800,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3965190202,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-10-05 14:39:42] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:42] local.WARNING: Large IO value detected {"io_id":77,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:42] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-10-05 14:39:42] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,1,161,79,45,64,236,58,42,10,66,253,39,171,240,69,227,11,31,4,113,205,7,104,88,40,239,49,2,89,120,77,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-10-05 14:39:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179451672377950208,"timestamp_seconds":4179451672377950.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 14:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:39:42] 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-10-05 14:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544946176001,"66":12558,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544946176001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:39:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:39:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544946176001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":204675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:39:42] local.INFO: GPS data processed {"connection_id":204675,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:39:42] local.INFO: Acknowledgment sent {"connection_id":204675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:39:53] local.INFO: TCP Data received {"connection_id":206086,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:39:53] local.INFO: Processing buffer {"connection_id":206086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:39:53] local.INFO: IMEI packet received {"connection_id":206086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":206086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:39:54] local.INFO: TCP Data received {"connection_id":206086,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:39:54] local.INFO: Processing buffer {"connection_id":206086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:39:54] local.INFO: IMEI packet received {"connection_id":206086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":206086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:40:00] local.INFO: TCP Data received {"connection_id":206086,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:40:00] local.INFO: Processing buffer {"connection_id":206086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:40:00] local.INFO: IMEI packet received {"connection_id":206086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":206086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:40:00] local.INFO: TCP Data received {"connection_id":206086,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b51f538012d7bd80005e47d80000f00212b..."} 
[2026-10-05 14:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b51f538012d7bd80005e47d80000f00212b..."} 
[2026-10-05 14:40:00] local.INFO: Processing buffer {"connection_id":206086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b51f538012d7bd80005e47d80000f00212b..."} 
[2026-10-05 14:40:00] local.INFO: Packet analysis {"connection_id":206086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b51"} 
[2026-10-05 14:40:00] local.INFO: Extracted packet for processing {"connection_id":206086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b51"} 
[2026-10-05 14:40:00] local.INFO: GPS Element Parsed {"raw_longitude":763090944,"raw_latitude":98860416,"longitude_deg":76.3090944,"latitude_deg":9.8860416,"altitude":15,"angle":33,"satellites":43,"speed":51,"hex_longitude":"2d7bd800","hex_latitude":"05e47d80","is_valid_coordinates":true} 
[2026-10-05 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-10-05 14:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544966656001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2074035412271104,"note":"Value kept but may cause issues"} 
[2026-10-05 14:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918323556150882304,"note":"Value kept but may cause issues"} 
[2026-10-05 14:40:00] 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-10-05 14:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791191283000,"timestamp_ms":1791191283000,"timestamp_seconds":1791191283,"priority":1,"record_length":96,"hex_timestamp":"000001a10b51f538"} 
[2026-10-05 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-10-05 14:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":26,"data_length":795,"current_offset":136} 
[2026-10-05 14:40: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-10-05 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-10-05 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-10-05 14:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:40: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-10-05 14:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544966656001,"66":27930,"39":206,"87":13824,"24":51,"16":2074035412271104,"45":8918323556150882304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-10-05 14:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544966656001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:40:00] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-10-05 14:40:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2074035412271104,"km_value":2074035412271.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918323556150882304,"description":"Unknown IO ID 45"} 
[2026-10-05 14:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544966656001,"power":27930,"unknown_39":206,"unknown_87":13824,"ignition":51,"odometer":null,"unknown_45":8918323556150882304}} 
[2026-10-05 14:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":206086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:40:00] local.INFO: GPS data processed {"connection_id":206086,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:40:00] local.INFO: Acknowledgment sent {"connection_id":206086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:40:05] local.INFO: TCP Data received {"connection_id":204676,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:40:05] local.INFO: Processing buffer {"connection_id":204676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:40:05] local.INFO: IMEI packet received {"connection_id":204676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":204676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:40:10] local.INFO: TCP Data received {"connection_id":204676,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:40:10] local.INFO: Processing buffer {"connection_id":204676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:40:10] local.INFO: IMEI packet received {"connection_id":204676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":204676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:40:11] local.INFO: TCP Data received {"connection_id":204676,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b514570012d196840071fec58003a006524..."} 
[2026-10-05 14:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b514570012d196840071fec58003a006524..."} 
[2026-10-05 14:40:11] local.INFO: Processing buffer {"connection_id":204676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b514570012d196840071fec58003a006524..."} 
[2026-10-05 14:40:11] local.INFO: Packet analysis {"connection_id":204676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b51"} 
[2026-10-05 14:40:11] local.INFO: Extracted packet for processing {"connection_id":204676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b51"} 
[2026-10-05 14:40:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544951552001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791191238000,"timestamp_ms":1791191238000,"timestamp_seconds":1791191238,"priority":1,"record_length":96,"hex_timestamp":"000001a10b514570"} 
[2026-10-05 14:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:40:11] 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-10-05 14: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-10-05 14:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-10-05 14:40:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-05 14:40:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 14:40:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743230331251800,"note":"Value kept but may cause issues"} 
[2026-10-05 14:40:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3965190202,"note":"Value kept but may cause issues"} 
[2026-10-05 14:40:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-10-05 14:40:11] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-10-05 14:40:11] local.WARNING: Large IO value detected {"io_id":77,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-10-05 14:40:11] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-10-05 14:40:11] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,1,161,45,64,236,58,39,10,66,79,42,253,240,101,227,11,31,4,113,205,89,104,88,41,239,49,2,7,120,77,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-10-05 14:40:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179451672377950208,"timestamp_seconds":4179451672377950.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 14:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:40:11] 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-10-05 14:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544951552001,"66":12591,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544951552001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:40:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:40:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544951552001,"power":12591,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":204676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:40:11] local.INFO: GPS data processed {"connection_id":204676,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:40:11] local.INFO: Acknowledgment sent {"connection_id":204676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:40:33] local.INFO: TCP Data received {"connection_id":206086,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b5383a8012d7c80c005e5e590000600112a..."} 
[2026-10-05 14:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b5383a8012d7c80c005e5e590000600112a..."} 
[2026-10-05 14:40:33] local.INFO: Processing buffer {"connection_id":206086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b5383a8012d7c80c005e5e590000600112a..."} 
[2026-10-05 14:40:33] local.INFO: Packet analysis {"connection_id":206086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b53"} 
[2026-10-05 14:40:33] local.INFO: Extracted packet for processing {"connection_id":206086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b53"} 
[2026-10-05 14:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763134144,"raw_latitude":98952592,"longitude_deg":76.3134144,"latitude_deg":9.8952592,"altitude":6,"angle":17,"satellites":42,"speed":6,"hex_longitude":"2d7c80c0","hex_latitude":"05e5e590","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544994304001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2079039049170944,"note":"Value kept but may cause issues"} 
[2026-10-05 14:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971311220542203904,"note":"Value kept but may cause issues"} 
[2026-10-05 14:40:33] 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-10-05 14:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791191385000,"timestamp_ms":1791191385000,"timestamp_seconds":1791191385,"priority":1,"record_length":96,"hex_timestamp":"000001a10b5383a8"} 
[2026-10-05 14:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:40: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-10-05 14:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 14:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":206086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":206086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":206086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:40: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-10-05 14:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544994304001,"66":27876,"38":206,"87":13824,"24":6,"16":2079039049170944,"45":8971311220542203904},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-10-05 14:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544994304001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:40:33] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-10-05 14:40:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2079039049170944,"km_value":2079039049170.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971311220542203904,"description":"Unknown IO ID 45"} 
[2026-10-05 14:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544994304001,"power":27876,"unknown_38":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8971311220542203904}} 
[2026-10-05 14:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":206086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:40:33] local.INFO: GPS data processed {"connection_id":206086,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:40:33] local.INFO: Acknowledgment sent {"connection_id":206086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:40:36] local.INFO: TCP Data received {"connection_id":204546,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204546,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:40:36] local.INFO: Processing buffer {"connection_id":204546,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:40:36] local.INFO: IMEI packet received {"connection_id":204546,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":204546,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:40:42] local.INFO: TCP Data received {"connection_id":204676,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b519778012d196840071fec58003a00652b..."} 
[2026-10-05 14:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b519778012d196840071fec58003a00652b..."} 
[2026-10-05 14:40:42] local.INFO: Processing buffer {"connection_id":204676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b519778012d196840071fec58003a00652b..."} 
[2026-10-05 14:40:42] local.INFO: Packet analysis {"connection_id":204676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b51"} 
[2026-10-05 14:40:42] local.INFO: Extracted packet for processing {"connection_id":204676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b51"} 
[2026-10-05 14:40:42] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544956928001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791191259000,"timestamp_ms":1791191259000,"timestamp_seconds":1791191259,"priority":1,"record_length":96,"hex_timestamp":"000001a10b519778"} 
[2026-10-05 14:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14: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-10-05 14: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-05 14:40:42] 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-10-05 14: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-10-05 14:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:40:42] 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-10-05 14:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544956928001,"66":12613,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544956928001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:40:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:40:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544956928001,"power":12613,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":204676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:40:42] local.INFO: GPS data processed {"connection_id":204676,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:40:42] local.INFO: Acknowledgment sent {"connection_id":204676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:40:44] local.INFO: TCP Data received {"connection_id":204546,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b522800012d79518005eb30a00007004128..."} 
[2026-10-05 14:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b522800012d79518005eb30a00007004128..."} 
[2026-10-05 14:40:44] local.INFO: Processing buffer {"connection_id":204546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b522800012d79518005eb30a00007004128..."} 
[2026-10-05 14:40:44] local.INFO: Packet analysis {"connection_id":204546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b52"} 
[2026-10-05 14:40:44] local.INFO: Extracted packet for processing {"connection_id":204546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b52"} 
[2026-10-05 14:40:44] local.INFO: GPS Element Parsed {"raw_longitude":762925440,"raw_latitude":99299488,"longitude_deg":76.292544,"latitude_deg":9.9299488,"altitude":7,"angle":65,"satellites":40,"speed":0,"hex_longitude":"2d795180","hex_latitude":"05eb30a0","is_valid_coordinates":true} 
[2026-10-05 14:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544966400001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139675905583742976,"note":"Value kept but may cause issues"} 
[2026-10-05 14:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8740290633495631872,"note":"Value kept but may cause issues"} 
[2026-10-05 14:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791191296000,"timestamp_ms":1791191296000,"timestamp_seconds":1791191296,"priority":1,"record_length":96,"hex_timestamp":"000001a10b522800"} 
[2026-10-05 14:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:40:44] 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-10-05 14:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-05 14:40:44] 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-10-05 14:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":204546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":204546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":204546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:40:44] 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-10-05 14:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544966400001,"66":13515,"163":206,"87":13824,"24":0,"16":139675905583742976,"45":8740290633495631872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 14:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544966400001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:40:44] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 14:40:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139675905583742976,"km_value":139675905583742.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8740290633495631872,"description":"Unknown IO ID 45"} 
[2026-10-05 14:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544966400001,"power":13515,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8740290633495631872}} 
[2026-10-05 14:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":204546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:40:45] local.INFO: GPS data processed {"connection_id":204546,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:40:45] local.INFO: Acknowledgment sent {"connection_id":204546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:40:55] local.INFO: TCP Data received {"connection_id":204677,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:40:55] local.INFO: Processing buffer {"connection_id":204677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:40:55] local.INFO: IMEI packet received {"connection_id":204677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":204677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:41:00] local.INFO: TCP Data received {"connection_id":204677,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:41:00] local.INFO: Processing buffer {"connection_id":204677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:41:00] local.INFO: IMEI packet received {"connection_id":204677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":204677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:41:00] local.INFO: TCP Data received {"connection_id":204677,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b538b78012d7c810005e5e6a80007001c29..."} 
[2026-10-05 14:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b538b78012d7c810005e5e6a80007001c29..."} 
[2026-10-05 14:41:00] local.INFO: Processing buffer {"connection_id":204677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b538b78012d7c810005e5e6a80007001c29..."} 
[2026-10-05 14:41:00] local.INFO: Packet analysis {"connection_id":204677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b53"} 
[2026-10-05 14:41:00] local.INFO: Extracted packet for processing {"connection_id":204677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b53"} 
[2026-10-05 14:41:00] local.INFO: GPS Element Parsed {"raw_longitude":763134208,"raw_latitude":98952872,"longitude_deg":76.3134208,"latitude_deg":9.8952872,"altitude":7,"angle":28,"satellites":41,"speed":5,"hex_longitude":"2d7c8100","hex_latitude":"05e5e6a8","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544994560001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2079051934072832,"note":"Value kept but may cause issues"} 
[2026-10-05 14:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971381589286424576,"note":"Value kept but may cause issues"} 
[2026-10-05 14:41:00] 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-10-05 14:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791191387000,"timestamp_ms":1791191387000,"timestamp_seconds":1791191387,"priority":1,"record_length":96,"hex_timestamp":"000001a10b538b78"} 
[2026-10-05 14:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-05 14:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:41: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-10-05 14:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544994560001,"66":27995,"38":206,"87":13824,"24":5,"16":2079051934072832,"45":8971381589286424576},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-10-05 14:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544994560001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:41:00] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-10-05 14:41:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2079051934072832,"km_value":2079051934072.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971381589286424576,"description":"Unknown IO ID 45"} 
[2026-10-05 14:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544994560001,"power":27995,"unknown_38":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8971381589286424576}} 
[2026-10-05 14:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":204677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:41:00] local.INFO: GPS data processed {"connection_id":204677,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:41:00] local.INFO: Acknowledgment sent {"connection_id":204677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:41:05] local.INFO: TCP Data received {"connection_id":206087,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:41:05] local.INFO: Processing buffer {"connection_id":206087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:41:05] local.INFO: IMEI packet received {"connection_id":206087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":206087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:41:05] local.INFO: TCP Data received {"connection_id":206087,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:41:05] local.INFO: Processing buffer {"connection_id":206087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:41:05] local.INFO: IMEI packet received {"connection_id":206087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":206087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:41:10] local.INFO: TCP Data received {"connection_id":206087,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:41:10] local.INFO: Processing buffer {"connection_id":206087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:41:10] local.INFO: IMEI packet received {"connection_id":206087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":206087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:41:11] local.INFO: TCP Data received {"connection_id":206087,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b51e980012d196840071fec58003a00652a..."} 
[2026-10-05 14:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b51e980012d196840071fec58003a00652a..."} 
[2026-10-05 14:41:11] local.INFO: Processing buffer {"connection_id":206087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b51e980012d196840071fec58003a00652a..."} 
[2026-10-05 14:41:11] local.INFO: Packet analysis {"connection_id":206087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b51"} 
[2026-10-05 14:41:11] local.INFO: Extracted packet for processing {"connection_id":206087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b51"} 
[2026-10-05 14:41:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544962304001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791191280000,"timestamp_ms":1791191280000,"timestamp_seconds":1791191280,"priority":1,"record_length":96,"hex_timestamp":"000001a10b51e980"} 
[2026-10-05 14:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:41:11] 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-10-05 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 14:41:11] 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-10-05 14: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-10-05 14:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:41:11] 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-10-05 14:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544962304001,"66":12613,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544962304001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:41:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:41:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544962304001,"power":12613,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":206087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:41:11] local.INFO: GPS data processed {"connection_id":206087,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:41:11] local.INFO: Acknowledgment sent {"connection_id":206087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:41:16] local.INFO: TCP Data received {"connection_id":204546,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b527a08012d7953c005eb31b80007004128..."} 
[2026-10-05 14:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b527a08012d7953c005eb31b80007004128..."} 
[2026-10-05 14:41:16] local.INFO: Processing buffer {"connection_id":204546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b527a08012d7953c005eb31b80007004128..."} 
[2026-10-05 14:41:16] local.INFO: Packet analysis {"connection_id":204546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b52"} 
[2026-10-05 14:41:16] local.INFO: Extracted packet for processing {"connection_id":204546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b52"} 
[2026-10-05 14:41:16] local.INFO: GPS Element Parsed {"raw_longitude":762926016,"raw_latitude":99299768,"longitude_deg":76.2926016,"latitude_deg":9.9299768,"altitude":7,"angle":65,"satellites":40,"speed":0,"hex_longitude":"2d7953c0","hex_latitude":"05eb31b8","is_valid_coordinates":true} 
[2026-10-05 14:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544971776001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139675939943481344,"note":"Value kept but may cause issues"} 
[2026-10-05 14:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8741909114611867648,"note":"Value kept but may cause issues"} 
[2026-10-05 14:41:16] 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-10-05 14:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791191317000,"timestamp_ms":1791191317000,"timestamp_seconds":1791191317,"priority":1,"record_length":96,"hex_timestamp":"000001a10b527a08"} 
[2026-10-05 14:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-10-05 14:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:41:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:41:16] 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-10-05 14:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544971776001,"66":13689,"163":206,"87":13824,"24":0,"16":139675939943481344,"45":8741909114611867648},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 14:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544971776001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:41:16] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 14:41:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139675939943481344,"km_value":139675939943481.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8741909114611867648,"description":"Unknown IO ID 45"} 
[2026-10-05 14:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544971776001,"power":13689,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8741909114611867648}} 
[2026-10-05 14:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":204546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:41:16] local.INFO: GPS data processed {"connection_id":204546,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:41:16] local.INFO: Acknowledgment sent {"connection_id":204546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:41:32] local.INFO: TCP Data received {"connection_id":204677,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b539730012d7c820005e5e7e00008000023..."} 
[2026-10-05 14:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b539730012d7c820005e5e7e00008000023..."} 
[2026-10-05 14:41:32] local.INFO: Processing buffer {"connection_id":204677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b539730012d7c820005e5e7e00008000023..."} 
[2026-10-05 14:41:32] local.INFO: Packet analysis {"connection_id":204677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b53"} 
[2026-10-05 14:41:32] local.INFO: Extracted packet for processing {"connection_id":204677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b53"} 
[2026-10-05 14:41:32] local.INFO: GPS Element Parsed {"raw_longitude":763134464,"raw_latitude":98953184,"longitude_deg":76.3134464,"latitude_deg":9.8953184,"altitude":8,"angle":0,"satellites":35,"speed":2,"hex_longitude":"2d7c8200","hex_latitude":"05e5e7e0","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544995072001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2079069113942016,"note":"Value kept but may cause issues"} 
[2026-10-05 14:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971451958030673920,"note":"Value kept but may cause issues"} 
[2026-10-05 14:41:32] 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-10-05 14:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791191390000,"timestamp_ms":1791191390000,"timestamp_seconds":1791191390,"priority":1,"record_length":96,"hex_timestamp":"000001a10b539730"} 
[2026-10-05 14:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 14:41:32] 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-10-05 14: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-10-05 14:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544995072001,"66":27974,"38":206,"87":13824,"24":2,"16":2079069113942016,"45":8971451958030673920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-10-05 14:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544995072001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:41:32] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-10-05 14:41:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2079069113942016,"km_value":2079069113942.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971451958030673920,"description":"Unknown IO ID 45"} 
[2026-10-05 14:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544995072001,"power":27974,"unknown_38":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8971451958030673920}} 
[2026-10-05 14:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":204677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:41:32] local.INFO: GPS data processed {"connection_id":204677,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:41:32] local.INFO: Acknowledgment sent {"connection_id":204677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:41:41] local.INFO: TCP Data received {"connection_id":207626,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:41:41] local.INFO: Processing buffer {"connection_id":207626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:41:41] local.INFO: IMEI packet received {"connection_id":207626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":207626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:41:42] local.INFO: TCP Data received {"connection_id":206087,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b523b88012d196840071fec58003a00652a..."} 
[2026-10-05 14:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b523b88012d196840071fec58003a00652a..."} 
[2026-10-05 14:41:42] local.INFO: Processing buffer {"connection_id":206087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b523b88012d196840071fec58003a00652a..."} 
[2026-10-05 14:41:42] local.INFO: Packet analysis {"connection_id":206087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b52"} 
[2026-10-05 14:41:42] local.INFO: Extracted packet for processing {"connection_id":206087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b52"} 
[2026-10-05 14:41:42] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544967680001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791191301000,"timestamp_ms":1791191301000,"timestamp_seconds":1791191301,"priority":1,"record_length":96,"hex_timestamp":"000001a10b523b88"} 
[2026-10-05 14:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:41:42] 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-10-05 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 14:41:42] 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-10-05 14: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-10-05 14:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:41:42] 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-10-05 14:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544967680001,"66":12613,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544967680001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:41:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:41:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544967680001,"power":12613,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":206087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:41:42] local.INFO: GPS data processed {"connection_id":206087,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:41:42] local.INFO: Acknowledgment sent {"connection_id":206087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:41:46] local.INFO: TCP Data received {"connection_id":207626,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:41:46] local.INFO: Processing buffer {"connection_id":207626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:41:46] local.INFO: IMEI packet received {"connection_id":207626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":207626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:41:46] local.INFO: TCP Data received {"connection_id":207626,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b52cc10012d7953c005eb31b80007004128..."} 
[2026-10-05 14:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b52cc10012d7953c005eb31b80007004128..."} 
[2026-10-05 14:41:46] local.INFO: Processing buffer {"connection_id":207626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b52cc10012d7953c005eb31b80007004128..."} 
[2026-10-05 14:41:46] local.INFO: Packet analysis {"connection_id":207626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b52"} 
[2026-10-05 14:41:46] local.INFO: Extracted packet for processing {"connection_id":207626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b52"} 
[2026-10-05 14:41:46] local.INFO: GPS Element Parsed {"raw_longitude":762926016,"raw_latitude":99299768,"longitude_deg":76.2926016,"latitude_deg":9.9299768,"altitude":7,"angle":65,"satellites":40,"speed":0,"hex_longitude":"2d7953c0","hex_latitude":"05eb31b8","is_valid_coordinates":true} 
[2026-10-05 14:41: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-10-05 14:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544977152001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139675939943481344,"note":"Value kept but may cause issues"} 
[2026-10-05 14:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8742542433309538304,"note":"Value kept but may cause issues"} 
[2026-10-05 14:41:46] 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-10-05 14:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791191338000,"timestamp_ms":1791191338000,"timestamp_seconds":1791191338,"priority":1,"record_length":96,"hex_timestamp":"000001a10b52cc10"} 
[2026-10-05 14:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:41:46] 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-10-05 14:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-10-05 14:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:41: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-10-05 14:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":207626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":207626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":207626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544977152001,"66":13493,"163":206,"87":13824,"24":0,"16":139675939943481344,"45":8742542433309538304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 14:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544977152001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:41:46] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 14:41:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139675939943481344,"km_value":139675939943481.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8742542433309538304,"description":"Unknown IO ID 45"} 
[2026-10-05 14:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544977152001,"power":13493,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8742542433309538304}} 
[2026-10-05 14:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":207626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:41:46] local.INFO: GPS data processed {"connection_id":207626,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:41:46] local.INFO: Acknowledgment sent {"connection_id":207626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:41:54] local.INFO: TCP Data received {"connection_id":204679,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:41:54] local.INFO: Processing buffer {"connection_id":204679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:41:54] local.INFO: IMEI packet received {"connection_id":204679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":204679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:41:56] local.INFO: TCP Data received {"connection_id":204679,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:41:56] local.INFO: Processing buffer {"connection_id":204679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:41:56] local.INFO: IMEI packet received {"connection_id":204679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":204679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:42:00] local.INFO: TCP Data received {"connection_id":204679,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:42:00] local.INFO: Processing buffer {"connection_id":204679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:42:00] local.INFO: IMEI packet received {"connection_id":204679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":204679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:42:01] local.INFO: TCP Data received {"connection_id":204679,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b53b288012d7c824005e5eb300009000d22..."} 
[2026-10-05 14:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b53b288012d7c824005e5eb300009000d22..."} 
[2026-10-05 14:42:01] local.INFO: Processing buffer {"connection_id":204679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b53b288012d7c824005e5eb300009000d22..."} 
[2026-10-05 14:42:01] local.INFO: Packet analysis {"connection_id":204679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b53"} 
[2026-10-05 14:42:01] local.INFO: Extracted packet for processing {"connection_id":204679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b53"} 
[2026-10-05 14:42:01] local.INFO: GPS Element Parsed {"raw_longitude":763134528,"raw_latitude":98954032,"longitude_deg":76.3134528,"latitude_deg":9.8954032,"altitude":9,"angle":13,"satellites":34,"speed":13,"hex_longitude":"2d7c8240","hex_latitude":"05e5eb30","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544995840001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2079112063614976,"note":"Value kept but may cause issues"} 
[2026-10-05 14:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971733433007464448,"note":"Value kept but may cause issues"} 
[2026-10-05 14:42:01] 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-10-05 14:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791191397000,"timestamp_ms":1791191397000,"timestamp_seconds":1791191397,"priority":1,"record_length":96,"hex_timestamp":"000001a10b53b288"} 
[2026-10-05 14:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 14:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:42: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-10-05 14:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544995840001,"66":27908,"38":206,"87":13824,"24":13,"16":2079112063614976,"45":8971733433007464448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-10-05 14:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544995840001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:42:01] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-10-05 14:42:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2079112063614976,"km_value":2079112063614.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971733433007464448,"description":"Unknown IO ID 45"} 
[2026-10-05 14:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544995840001,"power":27908,"unknown_38":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8971733433007464448}} 
[2026-10-05 14:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":204679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:42:01] local.INFO: GPS data processed {"connection_id":204679,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:42:01] local.INFO: Acknowledgment sent {"connection_id":204679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:42:05] local.INFO: TCP Data received {"connection_id":204548,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:42:05] local.INFO: Processing buffer {"connection_id":204548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:42:05] local.INFO: IMEI packet received {"connection_id":204548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":204548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:42:08] local.INFO: TCP Data received {"connection_id":204548,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:42:08] local.INFO: Processing buffer {"connection_id":204548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:42:08] local.INFO: IMEI packet received {"connection_id":204548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":204548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:42:10] local.INFO: TCP Data received {"connection_id":204548,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:42:10] local.INFO: Processing buffer {"connection_id":204548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:42:10] local.INFO: IMEI packet received {"connection_id":204548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":204548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:42:11] local.INFO: TCP Data received {"connection_id":204548,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b528d90012d196840071fec58003a006529..."} 
[2026-10-05 14:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b528d90012d196840071fec58003a006529..."} 
[2026-10-05 14:42:11] local.INFO: Processing buffer {"connection_id":204548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b528d90012d196840071fec58003a006529..."} 
[2026-10-05 14:42:11] local.INFO: Packet analysis {"connection_id":204548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b52"} 
[2026-10-05 14:42:11] local.INFO: Extracted packet for processing {"connection_id":204548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b52"} 
[2026-10-05 14:42:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532632,"longitude_deg":75.6639808,"latitude_deg":11.9532632,"altitude":58,"angle":101,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-10-05 14:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544973056001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053433295798272,"note":"Value kept but may cause issues"} 
[2026-10-05 14:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870638080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791191322000,"timestamp_ms":1791191322000,"timestamp_seconds":1791191322,"priority":1,"record_length":96,"hex_timestamp":"000001a10b528d90"} 
[2026-10-05 14:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 14:42:11] 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-10-05 14:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:42:11] 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-10-05 14:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544973056001,"66":12602,"103":206,"83":41984,"24":0,"16":25053433295798272,"45":1830783647870638080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 14:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544973056001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:42:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 14:42:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053433295798272,"km_value":25053433295798.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870638080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544973056001,"power":12602,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870638080}} 
[2026-10-05 14:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":204548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:42:11] local.INFO: GPS data processed {"connection_id":204548,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:42:11] local.INFO: Acknowledgment sent {"connection_id":204548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:42:30] local.INFO: TCP Data received {"connection_id":206088,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:42:30] local.INFO: Processing buffer {"connection_id":206088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:42:30] local.INFO: IMEI packet received {"connection_id":206088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":206088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:42:31] local.INFO: TCP Data received {"connection_id":206088,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:42:31] local.INFO: Processing buffer {"connection_id":206088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:42:31] local.INFO: IMEI packet received {"connection_id":206088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":206088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:42:32] local.INFO: TCP Data received {"connection_id":204679,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b53f108012d7c8d0005e60dd80008000d2b..."} 
[2026-10-05 14:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b53f108012d7c8d0005e60dd80008000d2b..."} 
[2026-10-05 14:42:32] local.INFO: Processing buffer {"connection_id":204679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b53f108012d7c8d0005e60dd80008000d2b..."} 
[2026-10-05 14:42:32] local.INFO: Packet analysis {"connection_id":204679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b53"} 
[2026-10-05 14:42:32] local.INFO: Extracted packet for processing {"connection_id":204679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b53"} 
[2026-10-05 14:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763137280,"raw_latitude":98962904,"longitude_deg":76.313728,"latitude_deg":9.8962904,"altitude":8,"angle":13,"satellites":43,"speed":32,"hex_longitude":"2d7c8d00","hex_latitude":"05e60dd8","is_valid_coordinates":true} 
[2026-10-05 14:42: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-10-05 14:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544997632001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2079563035181056,"note":"Value kept but may cause issues"} 
[2026-10-05 14:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971803801751859200,"note":"Value kept but may cause issues"} 
[2026-10-05 14:42:32] 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-10-05 14:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791191413000,"timestamp_ms":1791191413000,"timestamp_seconds":1791191413,"priority":1,"record_length":96,"hex_timestamp":"000001a10b53f108"} 
[2026-10-05 14:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 14:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:42: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-10-05 14:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544997632001,"66":27930,"31":206,"87":13824,"24":32,"16":2079563035181056,"45":8971803801751859200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-10-05 14:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544997632001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:42:32] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-10-05 14:42:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2079563035181056,"km_value":2079563035181.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971803801751859200,"description":"Unknown IO ID 45"} 
[2026-10-05 14:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544997632001,"power":27930,"unknown_31":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8971803801751859200}} 
[2026-10-05 14:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":204679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:42:32] local.INFO: GPS data processed {"connection_id":204679,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:42:32] local.INFO: Acknowledgment sent {"connection_id":204679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:42:36] local.INFO: TCP Data received {"connection_id":206088,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:42:36] local.INFO: Processing buffer {"connection_id":206088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:42:36] local.INFO: IMEI packet received {"connection_id":206088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":206088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:42:38] local.INFO: TCP Data received {"connection_id":206088,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b531e18012d79574005eb3350000600452a..."} 
[2026-10-05 14:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b531e18012d79574005eb3350000600452a..."} 
[2026-10-05 14:42:38] local.INFO: Processing buffer {"connection_id":206088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b531e18012d79574005eb3350000600452a..."} 
[2026-10-05 14:42:38] local.INFO: Packet analysis {"connection_id":206088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b53"} 
[2026-10-05 14:42:38] local.INFO: Extracted packet for processing {"connection_id":206088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b53"} 
[2026-10-05 14:42:38] local.INFO: GPS Element Parsed {"raw_longitude":762926912,"raw_latitude":99300176,"longitude_deg":76.2926912,"latitude_deg":9.9300176,"altitude":6,"angle":69,"satellites":42,"speed":5,"hex_longitude":"2d795740","hex_latitude":"05eb3350","is_valid_coordinates":true} 
[2026-10-05 14:42: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-10-05 14:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544982528001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139675987188121600,"note":"Value kept but may cause issues"} 
[2026-10-05 14:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8742542433309538304,"note":"Value kept but may cause issues"} 
[2026-10-05 14:42:38] 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-10-05 14:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791191359000,"timestamp_ms":1791191359000,"timestamp_seconds":1791191359,"priority":1,"record_length":96,"hex_timestamp":"000001a10b531e18"} 
[2026-10-05 14:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:42:38] 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-10-05 14:42: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":181,"data_length":795,"current_offset":136} 
[2026-10-05 14:42:38] 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-10-05 14:42: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-10-05 14:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":206088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":206088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":206088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:42:38] 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-10-05 14:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544982528001,"66":13559,"163":206,"87":13824,"24":5,"16":139675987188121600,"45":8742542433309538304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 14:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544982528001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:42:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 14:42:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139675987188121600,"km_value":139675987188121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8742542433309538304,"description":"Unknown IO ID 45"} 
[2026-10-05 14:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544982528001,"power":13559,"unknown_163":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8742542433309538304}} 
[2026-10-05 14:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":206088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:42:38] local.INFO: GPS data processed {"connection_id":206088,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:42:38] local.INFO: Acknowledgment sent {"connection_id":206088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:42:43] local.INFO: TCP Data received {"connection_id":204548,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b5577a8012d197d80071fed80003c00402a..."} 
[2026-10-05 14:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b5577a8012d197d80071fed80003c00402a..."} 
[2026-10-05 14:42:43] local.INFO: Processing buffer {"connection_id":204548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b5577a8012d197d80071fed80003c00402a..."} 
[2026-10-05 14:42:43] local.INFO: Packet analysis {"connection_id":204548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b55"} 
[2026-10-05 14:42:43] local.INFO: Extracted packet for processing {"connection_id":204548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b55"} 
[2026-10-05 14:42:43] local.INFO: GPS Element Parsed {"raw_longitude":756645248,"raw_latitude":119532928,"longitude_deg":75.6645248,"latitude_deg":11.9532928,"altitude":60,"angle":64,"satellites":42,"speed":24,"hex_longitude":"2d197d80","hex_latitude":"071fed80","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545026816001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25053699583770624,"note":"Value kept but may cause issues"} 
[2026-10-05 14:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835287247497977856,"note":"Value kept but may cause issues"} 
[2026-10-05 14:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791191513000,"timestamp_ms":1791191513000,"timestamp_seconds":1791191513,"priority":1,"record_length":96,"hex_timestamp":"000001a10b5577a8"} 
[2026-10-05 14:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:42: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-10-05 14: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-05 14:42:43] 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-10-05 14: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-10-05 14:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:42:43] 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-10-05 14:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545026816001,"66":14080,"101":206,"83":41984,"24":24,"16":25053699583770624,"45":1835287247497977856},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 14:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545026816001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:42:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 14:42:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25053699583770624,"km_value":25053699583770.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835287247497977856,"description":"Unknown IO ID 45"} 
[2026-10-05 14:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545026816001,"power":14080,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1835287247497977856}} 
[2026-10-05 14:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":204548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:42:43] local.INFO: GPS data processed {"connection_id":204548,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:42:43] local.INFO: Acknowledgment sent {"connection_id":204548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:42:54] local.INFO: TCP Data received {"connection_id":207627,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:42:54] local.INFO: Processing buffer {"connection_id":207627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:42:54] local.INFO: IMEI packet received {"connection_id":207627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 14:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":207627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:42:54] local.INFO: TCP Data received {"connection_id":204680,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:42:54] local.INFO: Processing buffer {"connection_id":204680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:42:54] local.INFO: IMEI packet received {"connection_id":204680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":204680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:42:56] local.INFO: TCP Data received {"connection_id":204680,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:42:56] local.INFO: Processing buffer {"connection_id":204680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:42:56] local.INFO: IMEI packet received {"connection_id":204680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":204680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:43:00] local.INFO: TCP Data received {"connection_id":204680,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:43:00] local.INFO: Processing buffer {"connection_id":204680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:43:00] local.INFO: IMEI packet received {"connection_id":204680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":204680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:43:00] local.INFO: TCP Data received {"connection_id":204680,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b541818012d7c944005e631d80007000a2a..."} 
[2026-10-05 14:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b541818012d7c944005e631d80007000a2a..."} 
[2026-10-05 14:43:00] local.INFO: Processing buffer {"connection_id":204680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b541818012d7c944005e631d80007000a2a..."} 
[2026-10-05 14:43:00] local.INFO: Packet analysis {"connection_id":204680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b54"} 
[2026-10-05 14:43:00] local.INFO: Extracted packet for processing {"connection_id":204680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b54"} 
[2026-10-05 14:43:00] local.INFO: GPS Element Parsed {"raw_longitude":763139136,"raw_latitude":98972120,"longitude_deg":76.3139136,"latitude_deg":9.897212,"altitude":7,"angle":10,"satellites":42,"speed":40,"hex_longitude":"2d7c9440","hex_latitude":"05e631d8","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545001728001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2080022596681728,"note":"Value kept but may cause issues"} 
[2026-10-05 14:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974829657753769984,"note":"Value kept but may cause issues"} 
[2026-10-05 14:43: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-10-05 14:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791191423000,"timestamp_ms":1791191423000,"timestamp_seconds":1791191423,"priority":1,"record_length":96,"hex_timestamp":"000001a10b541818"} 
[2026-10-05 14:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-05 14:43: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-10-05 14: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-10-05 14:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:43: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-10-05 14:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545001728001,"66":27919,"31":206,"87":13824,"24":40,"16":2080022596681728,"45":8974829657753769984},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-10-05 14:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545001728001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:43:00] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-10-05 14:43:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2080022596681728,"km_value":2080022596681.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974829657753769984,"description":"Unknown IO ID 45"} 
[2026-10-05 14:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545001728001,"power":27919,"unknown_31":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8974829657753769984}} 
[2026-10-05 14:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":204680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:43:00] local.INFO: GPS data processed {"connection_id":204680,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:43:00] local.INFO: Acknowledgment sent {"connection_id":204680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:43:06] local.INFO: TCP Data received {"connection_id":206089,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:43:06] local.INFO: Processing buffer {"connection_id":206089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:43:06] local.INFO: IMEI packet received {"connection_id":206089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":206089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:43:07] local.INFO: TCP Data received {"connection_id":206089,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:43:07] local.INFO: Processing buffer {"connection_id":206089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:43:07] local.INFO: IMEI packet received {"connection_id":206089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":206089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:43:08] local.INFO: TCP Data received {"connection_id":206089,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:43:08] local.INFO: Processing buffer {"connection_id":206089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:43:08] local.INFO: IMEI packet received {"connection_id":206089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":206089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:43:10] local.INFO: TCP Data received {"connection_id":206088,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b537020012d795bc005eb34e0000600432a..."} 
[2026-10-05 14:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b537020012d795bc005eb34e0000600432a..."} 
[2026-10-05 14:43:10] local.INFO: Processing buffer {"connection_id":206088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b537020012d795bc005eb34e0000600432a..."} 
[2026-10-05 14:43:10] local.INFO: Packet analysis {"connection_id":206088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b53"} 
[2026-10-05 14:43:10] local.INFO: Extracted packet for processing {"connection_id":206088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b53"} 
[2026-10-05 14:43:10] local.INFO: GPS Element Parsed {"raw_longitude":762928064,"raw_latitude":99300576,"longitude_deg":76.2928064,"latitude_deg":9.9300576,"altitude":6,"angle":67,"satellites":42,"speed":0,"hex_longitude":"2d795bc0","hex_latitude":"05eb34e0","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544987904001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139676047317663744,"note":"Value kept but may cause issues"} 
[2026-10-05 14:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8743527595728130048,"note":"Value kept but may cause issues"} 
[2026-10-05 14:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791191380000,"timestamp_ms":1791191380000,"timestamp_seconds":1791191380,"priority":1,"record_length":96,"hex_timestamp":"000001a10b537020"} 
[2026-10-05 14:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-05 14:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":206088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":206088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":206088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:43:10] 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-10-05 14:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544987904001,"66":13319,"163":206,"87":13824,"24":0,"16":139676047317663744,"45":8743527595728130048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 14:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544987904001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:43:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 14:43:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139676047317663744,"km_value":139676047317663.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8743527595728130048,"description":"Unknown IO ID 45"} 
[2026-10-05 14:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544987904001,"power":13319,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8743527595728130048}} 
[2026-10-05 14:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":206088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:43:10] local.INFO: GPS data processed {"connection_id":206088,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:43:10] local.INFO: Acknowledgment sent {"connection_id":206088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:43:11] local.INFO: TCP Data received {"connection_id":206089,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:43:11] local.INFO: Processing buffer {"connection_id":206089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:43:11] local.INFO: IMEI packet received {"connection_id":206089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 14:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":206089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:43:32] local.INFO: TCP Data received {"connection_id":204680,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b55fc78012d7cf2c005e7e6e80005000b2b..."} 
[2026-10-05 14:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b55fc78012d7cf2c005e7e6e80005000b2b..."} 
[2026-10-05 14:43:32] local.INFO: Processing buffer {"connection_id":204680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b55fc78012d7cf2c005e7e6e80005000b2b..."} 
[2026-10-05 14:43:32] local.INFO: Packet analysis {"connection_id":204680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b55"} 
[2026-10-05 14:43:32] local.INFO: Extracted packet for processing {"connection_id":204680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b55"} 
[2026-10-05 14:43:32] local.INFO: GPS Element Parsed {"raw_longitude":763163328,"raw_latitude":99084008,"longitude_deg":76.3163328,"latitude_deg":9.9084008,"altitude":5,"angle":11,"satellites":43,"speed":50,"hex_longitude":"2d7cf2c0","hex_latitude":"05e7e6e8","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545033984001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2085571694428160,"note":"Value kept but may cause issues"} 
[2026-10-05 14:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001147568104701952,"note":"Value kept but may cause issues"} 
[2026-10-05 14:43:32] 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-10-05 14:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791191547000,"timestamp_ms":1791191547000,"timestamp_seconds":1791191547,"priority":1,"record_length":96,"hex_timestamp":"000001a10b55fc78"} 
[2026-10-05 14:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:43: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-10-05 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-05 14:43: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-10-05 14: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-10-05 14:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545033984001,"66":27767,"31":206,"87":13824,"24":50,"16":2085571694428160,"45":9001147568104701952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-10-05 14:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545033984001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:43:32] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-10-05 14:43:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2085571694428160,"km_value":2085571694428.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001147568104701952,"description":"Unknown IO ID 45"} 
[2026-10-05 14:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545033984001,"power":27767,"unknown_31":206,"unknown_87":13824,"ignition":50,"odometer":null,"unknown_45":9001147568104701952}} 
[2026-10-05 14:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":204680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:43:32] local.INFO: GPS data processed {"connection_id":204680,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:43:32] local.INFO: Acknowledgment sent {"connection_id":204680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:43:34] local.INFO: TCP Data received {"connection_id":207628,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207628,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:43:34] local.INFO: Processing buffer {"connection_id":207628,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:43:34] local.INFO: IMEI packet received {"connection_id":207628,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 14:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":207628,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:43:36] local.INFO: TCP Data received {"connection_id":204681,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:43:36] local.INFO: Processing buffer {"connection_id":204681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:43:36] local.INFO: IMEI packet received {"connection_id":204681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":204681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:43:41] local.INFO: TCP Data received {"connection_id":204681,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:43:41] local.INFO: Processing buffer {"connection_id":204681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:43:41] local.INFO: IMEI packet received {"connection_id":204681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":204681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:43:42] local.INFO: TCP Data received {"connection_id":204681,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b53c228012d79610005eb36a8000500462c..."} 
[2026-10-05 14:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b53c228012d79610005eb36a8000500462c..."} 
[2026-10-05 14:43:42] local.INFO: Processing buffer {"connection_id":204681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b53c228012d79610005eb36a8000500462c..."} 
[2026-10-05 14:43:42] local.INFO: Packet analysis {"connection_id":204681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b53"} 
[2026-10-05 14:43:42] local.INFO: Extracted packet for processing {"connection_id":204681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b53"} 
[2026-10-05 14:43:42] local.INFO: GPS Element Parsed {"raw_longitude":762929408,"raw_latitude":99301032,"longitude_deg":76.2929408,"latitude_deg":9.9301032,"altitude":5,"angle":70,"satellites":44,"speed":4,"hex_longitude":"2d796100","hex_latitude":"05eb36a8","is_valid_coordinates":true} 
[2026-10-05 14:43: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-10-05 14:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544993280001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139676111742173184,"note":"Value kept but may cause issues"} 
[2026-10-05 14:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8744794233123430400,"note":"Value kept but may cause issues"} 
[2026-10-05 14:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791191401000,"timestamp_ms":1791191401000,"timestamp_seconds":1791191401,"priority":1,"record_length":96,"hex_timestamp":"000001a10b53c228"} 
[2026-10-05 14:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:43: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-10-05 14:43: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-10-05 14:43:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 14:43:42] local.WARNING: Large IO value detected {"io_id":58,"raw_value":2264924160,"note":"Value kept but may cause issues"} 
[2026-10-05 14:43:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 14:43:42] local.WARNING: Large IO value detected {"io_id":235,"raw_value":1551490097403406592,"note":"Value kept but may cause issues"} 
[2026-10-05 14:43:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-10-05 14:43:42] local.WARNING: Large IO value detected {"io_id":213,"raw_value":4160826745,"note":"Value kept but may cause issues"} 
[2026-10-05 14:43:42] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3221613358,"note":"Value kept but may cause issues"} 
[2026-10-05 14:43:42] local.WARNING: Large IO value detected {"io_id":88,"raw_value":57752548342126390,"note":"Value kept but may cause issues"} 
[2026-10-05 14:43:42] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376749,"note":"Value kept but may cause issues"} 
[2026-10-05 14:43:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3944882176,"note":"Value kept but may cause issues"} 
[2026-10-05 14:43:42] local.WARNING: Large IO value detected {"io_id":81,"raw_value":8944150154773626885,"note":"Value kept but may cause issues"} 
[2026-10-05 14:43:42] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,163,87,24,241,157,16,58,161,30,45,64,51,6,42,10,66,204,192,49,7,40,122,1,240,121,227,11,235,4,113,205,213,75,88,41,239,52,2,5,37,81],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":765657294,"validated":0}]} 
[2026-10-05 14:43:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432419411895255040,"timestamp_seconds":432419411895255.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 14:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:43:42] 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-10-05 14:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544993280001,"66":13396,"163":206,"87":13824,"24":4,"16":139676111742173184,"45":8744794233123430400},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 14:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544993280001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:43:42] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 14:43:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139676111742173184,"km_value":139676111742173.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8744794233123430400,"description":"Unknown IO ID 45"} 
[2026-10-05 14:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544993280001,"power":13396,"unknown_163":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8744794233123430400}} 
[2026-10-05 14:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":204681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967978,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:43:42] local.INFO: GPS data processed {"connection_id":204681,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:43:42] local.INFO: Acknowledgment sent {"connection_id":204681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:44:00] local.INFO: TCP Data received {"connection_id":204549,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:44:00] local.INFO: Processing buffer {"connection_id":204549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:44:00] local.INFO: IMEI packet received {"connection_id":204549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":204549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:44:03] local.INFO: TCP Data received {"connection_id":204549,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:44:03] local.INFO: Processing buffer {"connection_id":204549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:44:03] local.INFO: IMEI packet received {"connection_id":204549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":204549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:44:04] local.INFO: TCP Data received {"connection_id":204549,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b561bb8012d7cfb0005e80d480006000b2c..."} 
[2026-10-05 14:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b561bb8012d7cfb0005e80d480006000b2c..."} 
[2026-10-05 14:44:04] local.INFO: Processing buffer {"connection_id":204549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b561bb8012d7cfb0005e80d480006000b2c..."} 
[2026-10-05 14:44:04] local.INFO: Packet analysis {"connection_id":204549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b56"} 
[2026-10-05 14:44:04] local.INFO: Extracted packet for processing {"connection_id":204549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b56"} 
[2026-10-05 14:44:04] local.INFO: GPS Element Parsed {"raw_longitude":763165440,"raw_latitude":99093832,"longitude_deg":76.316544,"latitude_deg":9.9093832,"altitude":6,"angle":11,"satellites":44,"speed":48,"hex_longitude":"2d7cfb00","hex_latitude":"05e80d48","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545036032001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2086061320699904,"note":"Value kept but may cause issues"} 
[2026-10-05 14:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003469736665081856,"note":"Value kept but may cause issues"} 
[2026-10-05 14:44:04] 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-10-05 14:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791191555000,"timestamp_ms":1791191555000,"timestamp_seconds":1791191555,"priority":1,"record_length":96,"hex_timestamp":"000001a10b561bb8"} 
[2026-10-05 14:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-05 14:44: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-10-05 14: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-10-05 14:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":204549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":204549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":204549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545036032001,"66":28137,"31":206,"87":13824,"24":48,"16":2086061320699904,"45":9003469736665081856},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-10-05 14:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545036032001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:44:04] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-10-05 14:44:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2086061320699904,"km_value":2086061320699.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003469736665081856,"description":"Unknown IO ID 45"} 
[2026-10-05 14:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545036032001,"power":28137,"unknown_31":206,"unknown_87":13824,"ignition":48,"odometer":null,"unknown_45":9003469736665081856}} 
[2026-10-05 14:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":204549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:44:04] local.INFO: GPS data processed {"connection_id":204549,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:44:04] local.INFO: Acknowledgment sent {"connection_id":204549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:44:06] local.INFO: TCP Data received {"connection_id":204549,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b563af8012d7d004005e83208000700012d..."} 
[2026-10-05 14:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b563af8012d7d004005e83208000700012d..."} 
[2026-10-05 14:44:06] local.INFO: Processing buffer {"connection_id":204549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b563af8012d7d004005e83208000700012d..."} 
[2026-10-05 14:44:06] local.INFO: Packet analysis {"connection_id":204549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b56"} 
[2026-10-05 14:44:06] local.INFO: Extracted packet for processing {"connection_id":204549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b56"} 
[2026-10-05 14:44:06] local.INFO: GPS Element Parsed {"raw_longitude":763166784,"raw_latitude":99103240,"longitude_deg":76.3166784,"latitude_deg":9.910324,"altitude":7,"angle":1,"satellites":45,"speed":41,"hex_longitude":"2d7d0040","hex_latitude":"05e83208","is_valid_coordinates":true} 
[2026-10-05 14:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545038080001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2086520882200576,"note":"Value kept but may cause issues"} 
[2026-10-05 14:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005791905225459712,"note":"Value kept but may cause issues"} 
[2026-10-05 14:44:06] 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-10-05 14:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791191563000,"timestamp_ms":1791191563000,"timestamp_seconds":1791191563,"priority":1,"record_length":96,"hex_timestamp":"000001a10b563af8"} 
[2026-10-05 14:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:44: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-10-05 14:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 14:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545038080001,"66":27821,"31":206,"87":13824,"24":41,"16":2086520882200576,"45":9005791905225459712},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-10-05 14:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545038080001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:44:06] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-10-05 14:44:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2086520882200576,"km_value":2086520882200.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005791905225459712,"description":"Unknown IO ID 45"} 
[2026-10-05 14:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545038080001,"power":27821,"unknown_31":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":9005791905225459712}} 
[2026-10-05 14:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":204549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:44:06] local.INFO: GPS data processed {"connection_id":204549,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:44:06] local.INFO: Acknowledgment sent {"connection_id":204549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:44:13] local.INFO: TCP Data received {"connection_id":204681,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b541430012d79654005eb3888000700442b..."} 
[2026-10-05 14:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b541430012d79654005eb3888000700442b..."} 
[2026-10-05 14:44:13] local.INFO: Processing buffer {"connection_id":204681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b541430012d79654005eb3888000700442b..."} 
[2026-10-05 14:44:13] local.INFO: Packet analysis {"connection_id":204681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b54"} 
[2026-10-05 14:44:13] local.INFO: Extracted packet for processing {"connection_id":204681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b54"} 
[2026-10-05 14:44:13] local.INFO: GPS Element Parsed {"raw_longitude":762930496,"raw_latitude":99301512,"longitude_deg":76.2930496,"latitude_deg":9.9301512,"altitude":7,"angle":68,"satellites":43,"speed":9,"hex_longitude":"2d796540","hex_latitude":"05eb3888","is_valid_coordinates":true} 
[2026-10-05 14:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458544998656001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139676171871715328,"note":"Value kept but may cause issues"} 
[2026-10-05 14:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8746271976751278080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:44:13] 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-10-05 14:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791191422000,"timestamp_ms":1791191422000,"timestamp_seconds":1791191422,"priority":1,"record_length":96,"hex_timestamp":"000001a10b541430"} 
[2026-10-05 14:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-05 14:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":204681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":204681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":204681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:44:13] 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-10-05 14:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458544998656001,"66":13820,"163":206,"87":13824,"24":9,"16":139676171871715328,"45":8746271976751278080},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 14:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458544998656001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:44:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 14:44:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139676171871715328,"km_value":139676171871715.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8746271976751278080,"description":"Unknown IO ID 45"} 
[2026-10-05 14:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458544998656001,"power":13820,"unknown_163":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8746271976751278080}} 
[2026-10-05 14:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":204681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:44:13] local.INFO: GPS data processed {"connection_id":204681,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:44:13] local.INFO: Acknowledgment sent {"connection_id":204681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:44:36] local.INFO: TCP Data received {"connection_id":204682,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204682,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:44:36] local.INFO: Processing buffer {"connection_id":204682,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:44:36] local.INFO: IMEI packet received {"connection_id":204682,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":204682,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:44:37] local.INFO: TCP Data received {"connection_id":204549,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b568d00012d7d024005e85240000700002a..."} 
[2026-10-05 14:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b568d00012d7d024005e85240000700002a..."} 
[2026-10-05 14:44:37] local.INFO: Processing buffer {"connection_id":204549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b568d00012d7d024005e85240000700002a..."} 
[2026-10-05 14:44:37] local.INFO: Packet analysis {"connection_id":204549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b56"} 
[2026-10-05 14:44:37] local.INFO: Extracted packet for processing {"connection_id":204549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b56"} 
[2026-10-05 14:44:37] local.INFO: GPS Element Parsed {"raw_longitude":763167296,"raw_latitude":99111488,"longitude_deg":76.3167296,"latitude_deg":9.9111488,"altitude":7,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d7d0240","hex_latitude":"05e85240","is_valid_coordinates":true} 
[2026-10-05 14:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545040128001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2086924609126400,"note":"Value kept but may cause issues"} 
[2026-10-05 14:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007269648855599104,"note":"Value kept but may cause issues"} 
[2026-10-05 14:44:37] 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-10-05 14:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791191584000,"timestamp_ms":1791191584000,"timestamp_seconds":1791191584,"priority":1,"record_length":96,"hex_timestamp":"000001a10b568d00"} 
[2026-10-05 14:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 14:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545040128001,"66":27908,"31":206,"87":13824,"24":0,"16":2086924609126400,"45":9007269648855599104},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-10-05 14:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545040128001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:44:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-10-05 14:44:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2086924609126400,"km_value":2086924609126.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007269648855599104,"description":"Unknown IO ID 45"} 
[2026-10-05 14:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545040128001,"power":27908,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9007269648855599104}} 
[2026-10-05 14:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":204549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:44:37] local.INFO: GPS data processed {"connection_id":204549,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:44:37] local.INFO: Acknowledgment sent {"connection_id":204549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:44:41] local.INFO: TCP Data received {"connection_id":204682,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204682,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:44:41] local.INFO: Processing buffer {"connection_id":204682,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:44:41] local.INFO: IMEI packet received {"connection_id":204682,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":204682,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:44:42] local.INFO: TCP Data received {"connection_id":204682,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b546638012d796e4005eb3bc0000700452b..."} 
[2026-10-05 14:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b546638012d796e4005eb3bc0000700452b..."} 
[2026-10-05 14:44:42] local.INFO: Processing buffer {"connection_id":204682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b546638012d796e4005eb3bc0000700452b..."} 
[2026-10-05 14:44:42] local.INFO: Packet analysis {"connection_id":204682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b54"} 
[2026-10-05 14:44:42] local.INFO: Extracted packet for processing {"connection_id":204682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b54"} 
[2026-10-05 14:44:42] local.INFO: GPS Element Parsed {"raw_longitude":762932800,"raw_latitude":99302336,"longitude_deg":76.29328,"latitude_deg":9.9302336,"altitude":7,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d796e40","hex_latitude":"05eb3bc0","is_valid_coordinates":true} 
[2026-10-05 14:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545004032001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139676292130799616,"note":"Value kept but may cause issues"} 
[2026-10-05 14:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8747468245402421248,"note":"Value kept but may cause issues"} 
[2026-10-05 14:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791191443000,"timestamp_ms":1791191443000,"timestamp_seconds":1791191443,"priority":1,"record_length":96,"hex_timestamp":"000001a10b546638"} 
[2026-10-05 14:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:44: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-10-05 14:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 14:44:42] 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-10-05 14:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:44:42] 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-10-05 14:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545004032001,"66":13319,"163":206,"87":13824,"24":0,"16":139676292130799616,"45":8747468245402421248},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 14:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545004032001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:44:42] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 14:44:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139676292130799616,"km_value":139676292130799.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8747468245402421248,"description":"Unknown IO ID 45"} 
[2026-10-05 14:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545004032001,"power":13319,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8747468245402421248}} 
[2026-10-05 14:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":204682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:44:42] local.INFO: GPS data processed {"connection_id":204682,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:44:42] local.INFO: Acknowledgment sent {"connection_id":204682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:44:46] local.INFO: TCP Data received {"connection_id":204682,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b54b840012d79720005eb3d28000700452b..."} 
[2026-10-05 14:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b54b840012d79720005eb3d28000700452b..."} 
[2026-10-05 14:44:46] local.INFO: Processing buffer {"connection_id":204682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b54b840012d79720005eb3d28000700452b..."} 
[2026-10-05 14:44:46] local.INFO: Packet analysis {"connection_id":204682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b54"} 
[2026-10-05 14:44:46] local.INFO: Extracted packet for processing {"connection_id":204682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b54"} 
[2026-10-05 14:44:46] local.INFO: GPS Element Parsed {"raw_longitude":762933760,"raw_latitude":99302696,"longitude_deg":76.293376,"latitude_deg":9.9302696,"altitude":7,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d797200","hex_latitude":"05eb3d28","is_valid_coordinates":true} 
[2026-10-05 14:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545009408001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139676339375439872,"note":"Value kept but may cause issues"} 
[2026-10-05 14:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8750001520193028096,"note":"Value kept but may cause issues"} 
[2026-10-05 14:44:46] 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-10-05 14:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791191464000,"timestamp_ms":1791191464000,"timestamp_seconds":1791191464,"priority":1,"record_length":96,"hex_timestamp":"000001a10b54b840"} 
[2026-10-05 14:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:44:46] 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-10-05 14:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 14:44:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 14:44:46] local.WARNING: Large IO value detected {"io_id":58,"raw_value":2684354560,"note":"Value kept but may cause issues"} 
[2026-10-05 14:44:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3945904128,"note":"Value kept but may cause issues"} 
[2026-10-05 14:44:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 14:44:46] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3503800540163287040,"note":"Value kept but may cause issues"} 
[2026-10-05 14:44:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-10-05 14:44:46] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":268512633,"corrected_to":0} 
[2026-10-05 14:44:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3221613361,"note":"Value kept but may cause issues"} 
[2026-10-05 14:44:46] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728621,"note":"Value kept but may cause issues"} 
[2026-10-05 14:44:46] local.WARNING: Large IO value detected {"io_id":121,"raw_value":57752548342126390,"note":"Value kept but may cause issues"} 
[2026-10-05 14:44:46] local.WARNING: Large IO value detected {"io_id":82,"raw_value":2882305056337657861,"note":"Value kept but may cause issues"} 
[2026-10-05 14:44:46] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,163,87,24,241,157,16,58,161,20,45,64,56,7,43,10,66,194,54,5,44,112,192,1,240,227,11,235,4,113,205,204,83,184,40,239,52,2,121,82],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":765657294,"validated":0},{"io_id":204,"original":268512633,"validated":0}]} 
[2026-10-05 14:44:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504479209251405824,"timestamp_seconds":504479209251405.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 14:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545009408001,"66":13406,"163":206,"87":13824,"24":0,"16":139676339375439872,"45":8750001520193028096},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 14:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545009408001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:44:46] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 14:44:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139676339375439872,"km_value":139676339375439.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8750001520193028096,"description":"Unknown IO ID 45"} 
[2026-10-05 14:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545009408001,"power":13406,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8750001520193028096}} 
[2026-10-05 14:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":204682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967984,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:44:46] local.INFO: GPS data processed {"connection_id":204682,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:44:46] local.INFO: Acknowledgment sent {"connection_id":204682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:44:55] local.INFO: TCP Data received {"connection_id":207629,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:44:55] local.INFO: Processing buffer {"connection_id":207629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:44:55] local.INFO: IMEI packet received {"connection_id":207629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":207629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:44:55] local.INFO: TCP Data received {"connection_id":207629,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:44:55] local.INFO: Processing buffer {"connection_id":207629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:44:55] local.INFO: IMEI packet received {"connection_id":207629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":207629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:45:00] local.INFO: TCP Data received {"connection_id":207629,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:45:00] local.INFO: Processing buffer {"connection_id":207629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:45:00] local.INFO: IMEI packet received {"connection_id":207629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":207629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:45:04] local.INFO: TCP Data received {"connection_id":207629,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b56df08012d7d024005e85240000700002c..."} 
[2026-10-05 14:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b56df08012d7d024005e85240000700002c..."} 
[2026-10-05 14:45:04] local.INFO: Processing buffer {"connection_id":207629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b56df08012d7d024005e85240000700002c..."} 
[2026-10-05 14:45:04] local.INFO: Packet analysis {"connection_id":207629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b56"} 
[2026-10-05 14:45:04] local.INFO: Extracted packet for processing {"connection_id":207629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b56"} 
[2026-10-05 14:45:04] local.INFO: GPS Element Parsed {"raw_longitude":763167296,"raw_latitude":99111488,"longitude_deg":76.3167296,"latitude_deg":9.9111488,"altitude":7,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d7d0240","hex_latitude":"05e85240","is_valid_coordinates":true} 
[2026-10-05 14:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545045504001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2086924609126400,"note":"Value kept but may cause issues"} 
[2026-10-05 14:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007832598811131904,"note":"Value kept but may cause issues"} 
[2026-10-05 14:45:04] 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-10-05 14:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791191605000,"timestamp_ms":1791191605000,"timestamp_seconds":1791191605,"priority":1,"record_length":96,"hex_timestamp":"000001a10b56df08"} 
[2026-10-05 14:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 14:45: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-10-05 14: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-10-05 14:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":207629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":207629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":207629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14: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-10-05 14:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545045504001,"66":27930,"155":206,"87":13824,"24":0,"16":2086924609126400,"45":9007832598811131904},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-10-05 14:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545045504001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:45:04] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-10-05 14:45:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2086924609126400,"km_value":2086924609126.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007832598811131904,"description":"Unknown IO ID 45"} 
[2026-10-05 14:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545045504001,"power":27930,"unknown_155":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9007832598811131904}} 
[2026-10-05 14:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":207629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:45:04] local.INFO: GPS data processed {"connection_id":207629,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:45:04] local.INFO: Acknowledgment sent {"connection_id":207629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:45:26] local.INFO: TCP Data received {"connection_id":207630,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:45:26] local.INFO: Processing buffer {"connection_id":207630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:45:26] local.INFO: IMEI packet received {"connection_id":207630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":207630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:45:31] local.INFO: TCP Data received {"connection_id":207630,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:45:31] local.INFO: Processing buffer {"connection_id":207630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:45:31] local.INFO: IMEI packet received {"connection_id":207630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":207630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:45:35] local.INFO: TCP Data received {"connection_id":207629,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b573110012d7d040005e86dc8000700032d..."} 
[2026-10-05 14:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b573110012d7d040005e86dc8000700032d..."} 
[2026-10-05 14:45:35] local.INFO: Processing buffer {"connection_id":207629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b573110012d7d040005e86dc8000700032d..."} 
[2026-10-05 14:45:35] local.INFO: Packet analysis {"connection_id":207629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b57"} 
[2026-10-05 14:45:35] local.INFO: Extracted packet for processing {"connection_id":207629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b57"} 
[2026-10-05 14:45:35] local.INFO: GPS Element Parsed {"raw_longitude":763167744,"raw_latitude":99118536,"longitude_deg":76.3167744,"latitude_deg":9.9118536,"altitude":7,"angle":3,"satellites":45,"speed":29,"hex_longitude":"2d7d0400","hex_latitude":"05e86dc8","is_valid_coordinates":true} 
[2026-10-05 14:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545050880001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2087268206510080,"note":"Value kept but may cause issues"} 
[2026-10-05 14:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007832598811131904,"note":"Value kept but may cause issues"} 
[2026-10-05 14:45:35] 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-10-05 14:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791191626000,"timestamp_ms":1791191626000,"timestamp_seconds":1791191626,"priority":1,"record_length":96,"hex_timestamp":"000001a10b573110"} 
[2026-10-05 14:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-05 14:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":207629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":207629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":207629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545050880001,"66":27930,"155":206,"87":13824,"24":29,"16":2087268206510080,"45":9007832598811131904},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-10-05 14:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545050880001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:45:35] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-10-05 14:45:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2087268206510080,"km_value":2087268206510.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007832598811131904,"description":"Unknown IO ID 45"} 
[2026-10-05 14:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545050880001,"power":27930,"unknown_155":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":9007832598811131904}} 
[2026-10-05 14:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":207629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:45:35] local.INFO: GPS data processed {"connection_id":207629,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:45:35] local.INFO: Acknowledgment sent {"connection_id":207629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:45:36] local.INFO: TCP Data received {"connection_id":207630,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:45:36] local.INFO: Processing buffer {"connection_id":207630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:45:36] local.INFO: IMEI packet received {"connection_id":207630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":207630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:45:37] local.INFO: TCP Data received {"connection_id":207630,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b5813a0012d79fcc005eb7168000b00442c..."} 
[2026-10-05 14:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b5813a0012d79fcc005eb7168000b00442c..."} 
[2026-10-05 14:45:37] local.INFO: Processing buffer {"connection_id":207630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b5813a0012d79fcc005eb7168000b00442c..."} 
[2026-10-05 14:45:37] local.INFO: Packet analysis {"connection_id":207630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b58"} 
[2026-10-05 14:45:37] local.INFO: Extracted packet for processing {"connection_id":207630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b58"} 
[2026-10-05 14:45:37] local.INFO: GPS Element Parsed {"raw_longitude":762969280,"raw_latitude":99316072,"longitude_deg":76.296928,"latitude_deg":9.9316072,"altitude":11,"angle":68,"satellites":44,"speed":11,"hex_longitude":"2d79fcc0","hex_latitude":"05eb7168","is_valid_coordinates":true} 
[2026-10-05 14:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545066752001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139678160441573376,"note":"Value kept but may cause issues"} 
[2026-10-05 14:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8780823030145538048,"note":"Value kept but may cause issues"} 
[2026-10-05 14:45:37] 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-10-05 14:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791191684000,"timestamp_ms":1791191684000,"timestamp_seconds":1791191684,"priority":1,"record_length":96,"hex_timestamp":"000001a10b5813a0"} 
[2026-10-05 14:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-10-05 14:45:37] 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-10-05 14:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:45:37] 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-10-05 14:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545066752001,"66":13363,"163":206,"87":13824,"24":11,"16":139678160441573376,"45":8780823030145538048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 14:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545066752001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:45:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 14:45:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139678160441573376,"km_value":139678160441573.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8780823030145538048,"description":"Unknown IO ID 45"} 
[2026-10-05 14:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545066752001,"power":13363,"unknown_163":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8780823030145538048}} 
[2026-10-05 14:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":207630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:45:37] local.INFO: GPS data processed {"connection_id":207630,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:45:37] local.INFO: Acknowledgment sent {"connection_id":207630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:45:53] local.INFO: TCP Data received {"connection_id":206091,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:45:53] local.INFO: Processing buffer {"connection_id":206091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:45:53] local.INFO: IMEI packet received {"connection_id":206091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":206091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:45:54] local.INFO: TCP Data received {"connection_id":206091,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:45:54] local.INFO: Processing buffer {"connection_id":206091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:45:54] local.INFO: IMEI packet received {"connection_id":206091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":206091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:45:59] local.INFO: TCP Data received {"connection_id":206091,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:45:59] local.INFO: Processing buffer {"connection_id":206091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:45:59] local.INFO: IMEI packet received {"connection_id":206091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":206091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:46:00] local.INFO: TCP Data received {"connection_id":206091,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b575c08012d7d064005e89260000600032b..."} 
[2026-10-05 14:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b575c08012d7d064005e89260000600032b..."} 
[2026-10-05 14:46:00] local.INFO: Processing buffer {"connection_id":206091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b575c08012d7d064005e89260000600032b..."} 
[2026-10-05 14:46:00] local.INFO: Packet analysis {"connection_id":206091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b57"} 
[2026-10-05 14:46:00] local.INFO: Extracted packet for processing {"connection_id":206091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b57"} 
[2026-10-05 14:46:00] local.INFO: GPS Element Parsed {"raw_longitude":763168320,"raw_latitude":99127904,"longitude_deg":76.316832,"latitude_deg":9.9127904,"altitude":6,"angle":3,"satellites":43,"speed":36,"hex_longitude":"2d7d0640","hex_latitude":"05e89260","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545056256001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2087723473043456,"note":"Value kept but may cause issues"} 
[2026-10-05 14:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008325180022179840,"note":"Value kept but may cause issues"} 
[2026-10-05 14:46:00] 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-10-05 14:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791191637000,"timestamp_ms":1791191637000,"timestamp_seconds":1791191637,"priority":1,"record_length":96,"hex_timestamp":"000001a10b575c08"} 
[2026-10-05 14:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:46: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-10-05 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-05 14:46: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-10-05 14: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-10-05 14:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:46: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-10-05 14:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545056256001,"66":28028,"155":206,"87":13824,"24":36,"16":2087723473043456,"45":9008325180022179840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-10-05 14:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545056256001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:46:00] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-10-05 14:46:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2087723473043456,"km_value":2087723473043.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008325180022179840,"description":"Unknown IO ID 45"} 
[2026-10-05 14:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545056256001,"power":28028,"unknown_155":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":9008325180022179840}} 
[2026-10-05 14:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":206091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:46:00] local.INFO: GPS data processed {"connection_id":206091,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:46:00] local.INFO: Acknowledgment sent {"connection_id":206091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:46:08] local.INFO: TCP Data received {"connection_id":207630,"ip":"42.106.6.25","data_length":93,"data_hex":"00000000000000518e01000001a10b5861c0012d7a048005eb7450000a00472b..."} 
[2026-10-05 14:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207630,"packet_length":93,"packet_hex":"00000000000000518e01000001a10b5861c0012d7a048005eb7450000a00472b..."} 
[2026-10-05 14:46:08] local.INFO: Processing buffer {"connection_id":207630,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a10b5861c0012d7a048005eb7450000a00472b..."} 
[2026-10-05 14:46:08] local.INFO: Packet analysis {"connection_id":207630,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a10b58"} 
[2026-10-05 14:46:08] local.INFO: Extracted packet for processing {"connection_id":207630,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a10b58"} 
[2026-10-05 14:46:08] local.INFO: GPS Element Parsed {"raw_longitude":762971264,"raw_latitude":99316816,"longitude_deg":76.2971264,"latitude_deg":9.9316816,"altitude":10,"angle":71,"satellites":43,"speed":0,"hex_longitude":"2d7a0480","hex_latitude":"05eb7450","is_valid_coordinates":true} 
[2026-10-05 14: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":93,"current_offset":40} 
[2026-10-05 14:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:46:08] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:46:08] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-10-05 14:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207630,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-10-05 14:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207630,"device_imei":"862567072406932","avl_records_count":0} 
[2026-10-05 14:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207630,"device_imei":"862567072406932","avl_records_count":0} 
[2026-10-05 14:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":0,"parser_version":"unknown"} 
[2026-10-05 14:46:08] local.WARNING: DEBUG: No valid data to process  
[2026-10-05 14:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":207630,"result":{"success":false,"message":"No valid data to process"}} 
[2026-10-05 14:46:08] local.ERROR: GPS data processing failed {"connection_id":207630,"error":"No valid data to process"} 
[2026-10-05 14:46:08] local.INFO: Acknowledgment sent {"connection_id":207630,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-10-05 14:46:29] local.INFO: TCP Data received {"connection_id":204554,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:46:29] local.INFO: Processing buffer {"connection_id":204554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:46:29] local.INFO: IMEI packet received {"connection_id":204554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":204554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:46:31] local.INFO: TCP Data received {"connection_id":204554,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:46:31] local.INFO: Processing buffer {"connection_id":204554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:46:31] local.INFO: IMEI packet received {"connection_id":204554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":204554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:46:32] local.INFO: TCP Data received {"connection_id":206091,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b578318012d7d08c005e8b6f8000700022a..."} 
[2026-10-05 14:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b578318012d7d08c005e8b6f8000700022a..."} 
[2026-10-05 14:46:32] local.INFO: Processing buffer {"connection_id":206091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b578318012d7d08c005e8b6f8000700022a..."} 
[2026-10-05 14:46:32] local.INFO: Packet analysis {"connection_id":206091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b57"} 
[2026-10-05 14:46:32] local.INFO: Extracted packet for processing {"connection_id":206091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b57"} 
[2026-10-05 14:46:32] local.INFO: GPS Element Parsed {"raw_longitude":763168960,"raw_latitude":99137272,"longitude_deg":76.316896,"latitude_deg":9.9137272,"altitude":7,"angle":2,"satellites":42,"speed":39,"hex_longitude":"2d7d08c0","hex_latitude":"05e8b6f8","is_valid_coordinates":true} 
[2026-10-05 14:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545059072001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2088178739576832,"note":"Value kept but may cause issues"} 
[2026-10-05 14:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008958498722177024,"note":"Value kept but may cause issues"} 
[2026-10-05 14:46:32] 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-10-05 14:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791191647000,"timestamp_ms":1791191647000,"timestamp_seconds":1791191647,"priority":1,"record_length":96,"hex_timestamp":"000001a10b578318"} 
[2026-10-05 14:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:46: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-10-05 14:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-10-05 14:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545059072001,"66":28028,"154":206,"87":13824,"24":39,"16":2088178739576832,"45":9008958498722177024},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-10-05 14:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545059072001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:46:32] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-10-05 14:46:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2088178739576832,"km_value":2088178739576.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008958498722177024,"description":"Unknown IO ID 45"} 
[2026-10-05 14:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545059072001,"power":28028,"unknown_154":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":9008958498722177024}} 
[2026-10-05 14:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":206091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:46:32] local.INFO: GPS data processed {"connection_id":206091,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:46:32] local.INFO: Acknowledgment sent {"connection_id":206091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:46:36] local.INFO: TCP Data received {"connection_id":204554,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:46:36] local.INFO: Processing buffer {"connection_id":204554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:46:36] local.INFO: IMEI packet received {"connection_id":204554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":204554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:46:37] local.INFO: TCP Data received {"connection_id":204554,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b58b3c8012d7a0cc005eb7788000a00462c..."} 
[2026-10-05 14:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b58b3c8012d7a0cc005eb7788000a00462c..."} 
[2026-10-05 14:46:37] local.INFO: Processing buffer {"connection_id":204554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b58b3c8012d7a0cc005eb7788000a00462c..."} 
[2026-10-05 14:46:37] local.INFO: Packet analysis {"connection_id":204554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b58"} 
[2026-10-05 14:46:37] local.INFO: Extracted packet for processing {"connection_id":204554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b58"} 
[2026-10-05 14:46:37] local.INFO: GPS Element Parsed {"raw_longitude":762973376,"raw_latitude":99317640,"longitude_deg":76.2973376,"latitude_deg":9.931764,"altitude":10,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d7a0cc0","hex_latitude":"05eb7788","is_valid_coordinates":true} 
[2026-10-05 14:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545076224001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139678375189938176,"note":"Value kept but may cause issues"} 
[2026-10-05 14:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792293135447511040,"note":"Value kept but may cause issues"} 
[2026-10-05 14:46:37] 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-10-05 14:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791191725000,"timestamp_ms":1791191725000,"timestamp_seconds":1791191725,"priority":1,"record_length":96,"hex_timestamp":"000001a10b58b3c8"} 
[2026-10-05 14:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 14:46:37] 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-10-05 14:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:46:37] 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-10-05 14:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545076224001,"66":13243,"163":206,"87":13824,"24":0,"16":139678375189938176,"45":8792293135447511040},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 14:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545076224001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:46:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 14:46:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139678375189938176,"km_value":139678375189938.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792293135447511040,"description":"Unknown IO ID 45"} 
[2026-10-05 14:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545076224001,"power":13243,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8792293135447511040}} 
[2026-10-05 14:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":204554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:46:37] local.INFO: GPS data processed {"connection_id":204554,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:46:37] local.INFO: Acknowledgment sent {"connection_id":204554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:46:54] local.INFO: TCP Data received {"connection_id":206092,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:46:54] local.INFO: Processing buffer {"connection_id":206092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:46:54] local.INFO: IMEI packet received {"connection_id":206092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":206092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:47:00] local.INFO: TCP Data received {"connection_id":206092,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:47:00] local.INFO: Processing buffer {"connection_id":206092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:47:00] local.INFO: IMEI packet received {"connection_id":206092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":206092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:47:01] local.INFO: TCP Data received {"connection_id":206092,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b57aa28012d7d0b0005e8e080000700012d..."} 
[2026-10-05 14:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b57aa28012d7d0b0005e8e080000700012d..."} 
[2026-10-05 14:47:01] local.INFO: Processing buffer {"connection_id":206092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b57aa28012d7d0b0005e8e080000700012d..."} 
[2026-10-05 14:47:01] local.INFO: Packet analysis {"connection_id":206092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b57"} 
[2026-10-05 14:47:01] local.INFO: Extracted packet for processing {"connection_id":206092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b57"} 
[2026-10-05 14:47:01] local.INFO: GPS Element Parsed {"raw_longitude":763169536,"raw_latitude":99147904,"longitude_deg":76.3169536,"latitude_deg":9.9147904,"altitude":7,"angle":1,"satellites":45,"speed":44,"hex_longitude":"2d7d0b00","hex_latitude":"05e8e080","is_valid_coordinates":true} 
[2026-10-05 14:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545061632001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2088694135652352,"note":"Value kept but may cause issues"} 
[2026-10-05 14:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009662186166351872,"note":"Value kept but may cause issues"} 
[2026-10-05 14:47:01] 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-10-05 14:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791191657000,"timestamp_ms":1791191657000,"timestamp_seconds":1791191657,"priority":1,"record_length":96,"hex_timestamp":"000001a10b57aa28"} 
[2026-10-05 14:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-10-05 14:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":206092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":206092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":206092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:47: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-10-05 14:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545061632001,"66":27919,"154":206,"87":13824,"24":44,"16":2088694135652352,"45":9009662186166351872},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-10-05 14:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545061632001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:47:01] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-10-05 14:47:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2088694135652352,"km_value":2088694135652.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009662186166351872,"description":"Unknown IO ID 45"} 
[2026-10-05 14:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545061632001,"power":27919,"unknown_154":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":9009662186166351872}} 
[2026-10-05 14:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":206092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:47:01] local.INFO: GPS data processed {"connection_id":206092,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:47:01] local.INFO: Acknowledgment sent {"connection_id":206092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:47:08] local.INFO: TCP Data received {"connection_id":204554,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b5905d0012d7a0cc005eb7788000a00462b..."} 
[2026-10-05 14:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b5905d0012d7a0cc005eb7788000a00462b..."} 
[2026-10-05 14:47:08] local.INFO: Processing buffer {"connection_id":204554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b5905d0012d7a0cc005eb7788000a00462b..."} 
[2026-10-05 14:47:08] local.INFO: Packet analysis {"connection_id":204554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b59"} 
[2026-10-05 14:47:08] local.INFO: Extracted packet for processing {"connection_id":204554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b59"} 
[2026-10-05 14:47:08] local.INFO: GPS Element Parsed {"raw_longitude":762973376,"raw_latitude":99317640,"longitude_deg":76.2973376,"latitude_deg":9.931764,"altitude":10,"angle":70,"satellites":43,"speed":0,"hex_longitude":"2d7a0cc0","hex_latitude":"05eb7788","is_valid_coordinates":true} 
[2026-10-05 14:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545081600001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139678375189938176,"note":"Value kept but may cause issues"} 
[2026-10-05 14:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794615304005584896,"note":"Value kept but may cause issues"} 
[2026-10-05 14:47:08] 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-10-05 14:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791191746000,"timestamp_ms":1791191746000,"timestamp_seconds":1791191746,"priority":1,"record_length":96,"hex_timestamp":"000001a10b5905d0"} 
[2026-10-05 14:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:47: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-10-05 14:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-05 14:47: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-10-05 14:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:47:08] 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-10-05 14:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545081600001,"66":13254,"163":206,"87":13824,"24":0,"16":139678375189938176,"45":8794615304005584896},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 14:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545081600001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:47:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 14:47:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139678375189938176,"km_value":139678375189938.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794615304005584896,"description":"Unknown IO ID 45"} 
[2026-10-05 14:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545081600001,"power":13254,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8794615304005584896}} 
[2026-10-05 14:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":204554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:47:08] local.INFO: GPS data processed {"connection_id":204554,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:47:08] local.INFO: Acknowledgment sent {"connection_id":204554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:47:30] local.INFO: TCP Data received {"connection_id":207632,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:47:30] local.INFO: Processing buffer {"connection_id":207632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:47:30] local.INFO: IMEI packet received {"connection_id":207632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":207632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:47:31] local.INFO: TCP Data received {"connection_id":207632,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:47:31] local.INFO: Processing buffer {"connection_id":207632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:47:31] local.INFO: IMEI packet received {"connection_id":207632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":207632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:47:33] local.INFO: TCP Data received {"connection_id":206092,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b59b598012d7d24c005eab690000500042c..."} 
[2026-10-05 14:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b59b598012d7d24c005eab690000500042c..."} 
[2026-10-05 14:47:33] local.INFO: Processing buffer {"connection_id":206092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b59b598012d7d24c005eab690000500042c..."} 
[2026-10-05 14:47:33] local.INFO: Packet analysis {"connection_id":206092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b59"} 
[2026-10-05 14:47:33] local.INFO: Extracted packet for processing {"connection_id":206092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b59"} 
[2026-10-05 14:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763176128,"raw_latitude":99268240,"longitude_deg":76.3176128,"latitude_deg":9.926824,"altitude":5,"angle":4,"satellites":44,"speed":40,"hex_longitude":"2d7d24c0","hex_latitude":"05eab690","is_valid_coordinates":true} 
[2026-10-05 14:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545096192001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2094539586142208,"note":"Value kept but may cause issues"} 
[2026-10-05 14:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016910166847868928,"note":"Value kept but may cause issues"} 
[2026-10-05 14:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791191791000,"timestamp_ms":1791191791000,"timestamp_seconds":1791191791,"priority":1,"record_length":96,"hex_timestamp":"000001a10b59b598"} 
[2026-10-05 14:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:47: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-10-05 14:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-10-05 14:47:33] 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-10-05 14:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":206092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":206092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":206092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:47: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-10-05 14:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545096192001,"66":27995,"156":206,"87":13824,"24":40,"16":2094539586142208,"45":9016910166847868928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-10-05 14:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545096192001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:47:33] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-10-05 14:47:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2094539586142208,"km_value":2094539586142.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016910166847868928,"description":"Unknown IO ID 45"} 
[2026-10-05 14:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545096192001,"power":27995,"unknown_156":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":9016910166847868928}} 
[2026-10-05 14:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":206092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:47:33] local.INFO: GPS data processed {"connection_id":206092,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:47:33] local.INFO: Acknowledgment sent {"connection_id":206092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:47:36] local.INFO: TCP Data received {"connection_id":207632,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:47:36] local.INFO: Processing buffer {"connection_id":207632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:47:36] local.INFO: IMEI packet received {"connection_id":207632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":207632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:47:37] local.INFO: TCP Data received {"connection_id":207632,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b5957d8012d7a12c005eb79e8000900442b..."} 
[2026-10-05 14:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b5957d8012d7a12c005eb79e8000900442b..."} 
[2026-10-05 14:47:37] local.INFO: Processing buffer {"connection_id":207632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b5957d8012d7a12c005eb79e8000900442b..."} 
[2026-10-05 14:47:37] local.INFO: Packet analysis {"connection_id":207632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b59"} 
[2026-10-05 14:47:37] local.INFO: Extracted packet for processing {"connection_id":207632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b59"} 
[2026-10-05 14:47:37] local.INFO: GPS Element Parsed {"raw_longitude":762974912,"raw_latitude":99318248,"longitude_deg":76.2974912,"latitude_deg":9.9318248,"altitude":9,"angle":68,"satellites":43,"speed":12,"hex_longitude":"2d7a12c0","hex_latitude":"05eb79e8","is_valid_coordinates":true} 
[2026-10-05 14:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545086976001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139678452499349504,"note":"Value kept but may cause issues"} 
[2026-10-05 14:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794615304005584896,"note":"Value kept but may cause issues"} 
[2026-10-05 14:47:37] 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-10-05 14:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791191767000,"timestamp_ms":1791191767000,"timestamp_seconds":1791191767,"priority":1,"record_length":96,"hex_timestamp":"000001a10b5957d8"} 
[2026-10-05 14:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-10-05 14:47:37] 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-10-05 14:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:47:37] 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-10-05 14:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545086976001,"66":13689,"163":206,"87":13824,"24":12,"16":139678452499349504,"45":8794615304005584896},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 14:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545086976001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:47:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 14:47:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139678452499349504,"km_value":139678452499349.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794615304005584896,"description":"Unknown IO ID 45"} 
[2026-10-05 14:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545086976001,"power":13689,"unknown_163":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8794615304005584896}} 
[2026-10-05 14:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":207632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967994,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:47:37] local.INFO: GPS data processed {"connection_id":207632,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:47:37] local.INFO: Acknowledgment sent {"connection_id":207632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:47:54] local.INFO: TCP Data received {"connection_id":206094,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:47:54] local.INFO: Processing buffer {"connection_id":206094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:47:54] local.INFO: IMEI packet received {"connection_id":206094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":206094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:47:55] local.INFO: TCP Data received {"connection_id":206094,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:47:55] local.INFO: Processing buffer {"connection_id":206094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:47:55] local.INFO: IMEI packet received {"connection_id":206094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":206094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:48:00] local.INFO: TCP Data received {"connection_id":206094,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:48:00] local.INFO: Processing buffer {"connection_id":206094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:48:00] local.INFO: IMEI packet received {"connection_id":206094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":206094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:48:01] local.INFO: TCP Data received {"connection_id":206094,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b59d8c0012d7d268005eadc30000600022b..."} 
[2026-10-05 14:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b59d8c0012d7d268005eadc30000600022b..."} 
[2026-10-05 14:48:01] local.INFO: Processing buffer {"connection_id":206094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b59d8c0012d7d268005eadc30000600022b..."} 
[2026-10-05 14:48:01] local.INFO: Packet analysis {"connection_id":206094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b59"} 
[2026-10-05 14:48:01] local.INFO: Extracted packet for processing {"connection_id":206094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b59"} 
[2026-10-05 14:48:01] local.INFO: GPS Element Parsed {"raw_longitude":763176576,"raw_latitude":99277872,"longitude_deg":76.3176576,"latitude_deg":9.9277872,"altitude":6,"angle":2,"satellites":43,"speed":45,"hex_longitude":"2d7d2680","hex_latitude":"05eadc30","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545098496001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2095007737577472,"note":"Value kept but may cause issues"} 
[2026-10-05 14:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017543485547778048,"note":"Value kept but may cause issues"} 
[2026-10-05 14:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791191800000,"timestamp_ms":1791191800000,"timestamp_seconds":1791191800,"priority":1,"record_length":96,"hex_timestamp":"000001a10b59d8c0"} 
[2026-10-05 14:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:48: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-10-05 14: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 14:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":206094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":206094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":206094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:48: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-10-05 14:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545098496001,"66":27745,"156":206,"87":13824,"24":45,"16":2095007737577472,"45":9017543485547778048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-10-05 14:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545098496001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:48:01] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-10-05 14:48:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2095007737577472,"km_value":2095007737577.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017543485547778048,"description":"Unknown IO ID 45"} 
[2026-10-05 14:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545098496001,"power":27745,"unknown_156":206,"unknown_87":13824,"ignition":45,"odometer":null,"unknown_45":9017543485547778048}} 
[2026-10-05 14:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":206094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:48:01] local.INFO: GPS data processed {"connection_id":206094,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:48:01] local.INFO: Acknowledgment sent {"connection_id":206094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:48:08] local.INFO: TCP Data received {"connection_id":207632,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b59a9e0012d7a2c8005eb8350000800452c..."} 
[2026-10-05 14:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b59a9e0012d7a2c8005eb8350000800452c..."} 
[2026-10-05 14:48:08] local.INFO: Processing buffer {"connection_id":207632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b59a9e0012d7a2c8005eb8350000800452c..."} 
[2026-10-05 14:48:08] local.INFO: Packet analysis {"connection_id":207632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b59"} 
[2026-10-05 14:48:08] local.INFO: Extracted packet for processing {"connection_id":207632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b59"} 
[2026-10-05 14:48:08] local.INFO: GPS Element Parsed {"raw_longitude":762981504,"raw_latitude":99320656,"longitude_deg":76.2981504,"latitude_deg":9.9320656,"altitude":8,"angle":69,"satellites":44,"speed":15,"hex_longitude":"2d7a2c80","hex_latitude":"05eb8350","is_valid_coordinates":true} 
[2026-10-05 14:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545092352001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139678787506798592,"note":"Value kept but may cause issues"} 
[2026-10-05 14:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796304153866004480,"note":"Value kept but may cause issues"} 
[2026-10-05 14:48:08] 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-10-05 14:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791191788000,"timestamp_ms":1791191788000,"timestamp_seconds":1791191788,"priority":1,"record_length":96,"hex_timestamp":"000001a10b59a9e0"} 
[2026-10-05 14:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:48: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-10-05 14:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-10-05 14:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:48:08] 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-10-05 14:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545092352001,"66":13798,"163":206,"87":13824,"24":15,"16":139678787506798592,"45":8796304153866004480},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 14:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545092352001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:48:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 14:48:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139678787506798592,"km_value":139678787506798.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796304153866004480,"description":"Unknown IO ID 45"} 
[2026-10-05 14:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545092352001,"power":13798,"unknown_163":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8796304153866004480}} 
[2026-10-05 14:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":207632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:48:08] local.INFO: GPS data processed {"connection_id":207632,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:48:08] local.INFO: Acknowledgment sent {"connection_id":207632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:48:15] local.INFO: TCP Data received {"connection_id":204685,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:48:15] local.INFO: Processing buffer {"connection_id":204685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 14:48:15] local.INFO: IMEI packet received {"connection_id":204685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 14:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":204685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:48:16] local.INFO: TCP Data received {"connection_id":204685,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b59c150012d1b6900071f6d580035005e21..."} 
[2026-10-05 14:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b59c150012d1b6900071f6d580035005e21..."} 
[2026-10-05 14:48:16] local.INFO: Processing buffer {"connection_id":204685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b59c150012d1b6900071f6d580035005e21..."} 
[2026-10-05 14:48:16] local.INFO: Packet analysis {"connection_id":204685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b59"} 
[2026-10-05 14:48:16] local.INFO: Extracted packet for processing {"connection_id":204685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b59"} 
[2026-10-05 14:48:16] local.INFO: GPS Element Parsed {"raw_longitude":756771072,"raw_latitude":119500120,"longitude_deg":75.6771072,"latitude_deg":11.950012,"altitude":53,"angle":94,"satellites":33,"speed":5,"hex_longitude":"2d1b6900","hex_latitude":"071f6d58","is_valid_coordinates":true} 
[2026-10-05 14:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545099008001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25060751920070656,"note":"Value kept but may cause issues"} 
[2026-10-05 14:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974969204682350592,"note":"Value kept but may cause issues"} 
[2026-10-05 14:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791191794000,"timestamp_ms":1791191794000,"timestamp_seconds":1791191794,"priority":1,"record_length":96,"hex_timestamp":"000001a10b59c150"} 
[2026-10-05 14:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-05 14:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:48:16] 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-10-05 14:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545099008001,"66":14189,"101":206,"83":41984,"24":5,"16":25060751920070656,"45":1974969204682350592},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 14:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545099008001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:48:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 14:48:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25060751920070656,"km_value":25060751920070.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974969204682350592,"description":"Unknown IO ID 45"} 
[2026-10-05 14:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545099008001,"power":14189,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1974969204682350592}} 
[2026-10-05 14:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":204685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:48:16] local.INFO: GPS data processed {"connection_id":204685,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:48:16] local.INFO: Acknowledgment sent {"connection_id":204685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:48:30] local.INFO: TCP Data received {"connection_id":204555,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:48:30] local.INFO: Processing buffer {"connection_id":204555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:48:30] local.INFO: IMEI packet received {"connection_id":204555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":204555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:48:33] local.INFO: TCP Data received {"connection_id":204555,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:48:33] local.INFO: Processing buffer {"connection_id":204555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:48:33] local.INFO: IMEI packet received {"connection_id":204555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":204555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:48:34] local.INFO: TCP Data received {"connection_id":206094,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b59f800012d7d280005eaffa0000700042b..."} 
[2026-10-05 14:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b59f800012d7d280005eaffa0000700042b..."} 
[2026-10-05 14:48:34] local.INFO: Processing buffer {"connection_id":206094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b59f800012d7d280005eaffa0000700042b..."} 
[2026-10-05 14:48:34] local.INFO: Packet analysis {"connection_id":206094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b59"} 
[2026-10-05 14:48:34] local.INFO: Extracted packet for processing {"connection_id":206094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b59"} 
[2026-10-05 14:48:34] local.INFO: GPS Element Parsed {"raw_longitude":763176960,"raw_latitude":99286944,"longitude_deg":76.317696,"latitude_deg":9.9286944,"altitude":7,"angle":4,"satellites":43,"speed":43,"hex_longitude":"2d7d2800","hex_latitude":"05eaffa0","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545100800001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2095450119208960,"note":"Value kept but may cause issues"} 
[2026-10-05 14:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018036066759487488,"note":"Value kept but may cause issues"} 
[2026-10-05 14:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791191808000,"timestamp_ms":1791191808000,"timestamp_seconds":1791191808,"priority":1,"record_length":96,"hex_timestamp":"000001a10b59f800"} 
[2026-10-05 14:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:48: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-10-05 14: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 14:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":206094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":206094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":206094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545100800001,"66":27919,"156":206,"87":13824,"24":43,"16":2095450119208960,"45":9018036066759487488},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-10-05 14:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545100800001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:48:34] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-10-05 14:48:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2095450119208960,"km_value":2095450119208.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018036066759487488,"description":"Unknown IO ID 45"} 
[2026-10-05 14:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545100800001,"power":27919,"unknown_156":206,"unknown_87":13824,"ignition":43,"odometer":null,"unknown_45":9018036066759487488}} 
[2026-10-05 14:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":206094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:48:34] local.INFO: GPS data processed {"connection_id":206094,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:48:34] local.INFO: Acknowledgment sent {"connection_id":206094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:48:36] local.INFO: TCP Data received {"connection_id":204555,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:48:36] local.INFO: Processing buffer {"connection_id":204555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:48:36] local.INFO: IMEI packet received {"connection_id":204555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":204555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:48:37] local.INFO: TCP Data received {"connection_id":204555,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b59fbe8012d7a390005eb8820000600462c..."} 
[2026-10-05 14:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b59fbe8012d7a390005eb8820000600462c..."} 
[2026-10-05 14:48:37] local.INFO: Processing buffer {"connection_id":204555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b59fbe8012d7a390005eb8820000600462c..."} 
[2026-10-05 14:48:37] local.INFO: Packet analysis {"connection_id":204555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b59"} 
[2026-10-05 14:48:37] local.INFO: Extracted packet for processing {"connection_id":204555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b59"} 
[2026-10-05 14:48:37] local.INFO: GPS Element Parsed {"raw_longitude":762984704,"raw_latitude":99321888,"longitude_deg":76.2984704,"latitude_deg":9.9321888,"altitude":6,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d7a3900","hex_latitude":"05eb8820","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545097728001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139678950715555840,"note":"Value kept but may cause issues"} 
[2026-10-05 14:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803552134516920320,"note":"Value kept but may cause issues"} 
[2026-10-05 14:48:37] 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-10-05 14:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791191809000,"timestamp_ms":1791191809000,"timestamp_seconds":1791191809,"priority":1,"record_length":96,"hex_timestamp":"000001a10b59fbe8"} 
[2026-10-05 14:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 14:48:37] 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-10-05 14: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-10-05 14:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:48:37] 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-10-05 14:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545097728001,"66":13439,"163":206,"87":13824,"24":0,"16":139678950715555840,"45":8803552134516920320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 14:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545097728001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:48:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 14:48:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139678950715555840,"km_value":139678950715555.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803552134516920320,"description":"Unknown IO ID 45"} 
[2026-10-05 14:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545097728001,"power":13439,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8803552134516920320}} 
[2026-10-05 14:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":204555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:48:37] local.INFO: GPS data processed {"connection_id":204555,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:48:37] local.INFO: Acknowledgment sent {"connection_id":204555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:48:54] local.INFO: TCP Data received {"connection_id":204685,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a10b5b0970012d1b94c0071f7850003f014124..."} 
[2026-10-05 14:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b5b0970012d1b94c0071f7850003f014124..."} 
[2026-10-05 14:48:54] local.INFO: Processing buffer {"connection_id":204685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b5b0970012d1b94c0071f7850003f014124..."} 
[2026-10-05 14:48:54] local.INFO: Packet analysis {"connection_id":204685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b5b"} 
[2026-10-05 14:48:54] local.INFO: Extracted packet for processing {"connection_id":204685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b5b"} 
[2026-10-05 14:48:54] local.INFO: GPS Element Parsed {"raw_longitude":756782272,"raw_latitude":119502928,"longitude_deg":75.6782272,"latitude_deg":11.9502928,"altitude":63,"angle":321,"satellites":36,"speed":5,"hex_longitude":"2d1b94c0","hex_latitude":"071f7850","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545120256001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25061348920524800,"note":"Value kept but may cause issues"} 
[2026-10-05 14:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1987635578634985472,"note":"Value kept but may cause issues"} 
[2026-10-05 14:48: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-10-05 14:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1791191878000,"timestamp_ms":1791191878000,"timestamp_seconds":1791191878,"priority":1,"record_length":96,"hex_timestamp":"000001a10b5b0970"} 
[2026-10-05 14:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-05 14:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":204685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":204685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":204685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 14:48:54] 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-10-05 14:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 14:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 14:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545120256001,"66":13580,"101":206,"83":41984,"24":5,"16":25061348920524800,"45":1987635578634985472},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 14:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 14:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 14:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545120256001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:48:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 14:48:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 14:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25061348920524800,"km_value":25061348920524.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1987635578634985472,"description":"Unknown IO ID 45"} 
[2026-10-05 14:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545120256001,"power":13580,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1987635578634985472}} 
[2026-10-05 14:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":204685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:48:54] local.INFO: GPS data processed {"connection_id":204685,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:48:54] local.INFO: Acknowledgment sent {"connection_id":204685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:48:54] local.INFO: TCP Data received {"connection_id":204686,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204686,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:48:54] local.INFO: Processing buffer {"connection_id":204686,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:48:54] local.INFO: IMEI packet received {"connection_id":204686,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 14:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":204686,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:48:54] local.INFO: TCP Data received {"connection_id":206095,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:48:54] local.INFO: Processing buffer {"connection_id":206095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:48:54] local.INFO: IMEI packet received {"connection_id":206095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":206095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:49:01] local.INFO: TCP Data received {"connection_id":206095,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:49:01] local.INFO: Processing buffer {"connection_id":206095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:49:01] local.INFO: IMEI packet received {"connection_id":206095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":206095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:49:04] local.INFO: TCP Data received {"connection_id":206095,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b5a1b28012d7d2a4005eb2488000a00032b..."} 
[2026-10-05 14:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b5a1b28012d7d2a4005eb2488000a00032b..."} 
[2026-10-05 14:49:04] local.INFO: Processing buffer {"connection_id":206095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b5a1b28012d7d2a4005eb2488000a00032b..."} 
[2026-10-05 14:49:04] local.INFO: Packet analysis {"connection_id":206095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b5a"} 
[2026-10-05 14:49:04] local.INFO: Extracted packet for processing {"connection_id":206095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b5a"} 
[2026-10-05 14:49:04] local.INFO: GPS Element Parsed {"raw_longitude":763177536,"raw_latitude":99296392,"longitude_deg":76.3177536,"latitude_deg":9.9296392,"altitude":10,"angle":3,"satellites":43,"speed":41,"hex_longitude":"2d7d2a40","hex_latitude":"05eb2488","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545102848001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2095909680709632,"note":"Value kept but may cause issues"} 
[2026-10-05 14:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018458279226875904,"note":"Value kept but may cause issues"} 
[2026-10-05 14:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791191817000,"timestamp_ms":1791191817000,"timestamp_seconds":1791191817,"priority":1,"record_length":96,"hex_timestamp":"000001a10b5a1b28"} 
[2026-10-05 14:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 14:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":206095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":206095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":206095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545102848001,"66":27908,"156":206,"87":13824,"24":41,"16":2095909680709632,"45":9018458279226875904},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-10-05 14:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545102848001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:49:04] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-10-05 14:49:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2095909680709632,"km_value":2095909680709.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018458279226875904,"description":"Unknown IO ID 45"} 
[2026-10-05 14:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545102848001,"power":27908,"unknown_156":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":9018458279226875904}} 
[2026-10-05 14:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":206095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:49:04] local.INFO: GPS data processed {"connection_id":206095,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:49:04] local.INFO: Acknowledgment sent {"connection_id":206095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:49:09] local.INFO: TCP Data received {"connection_id":204555,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b5a4620012d7a3b0005eb88e80008003a2c..."} 
[2026-10-05 14:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b5a4620012d7a3b0005eb88e80008003a2c..."} 
[2026-10-05 14:49:09] local.INFO: Processing buffer {"connection_id":204555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b5a4620012d7a3b0005eb88e80008003a2c..."} 
[2026-10-05 14:49:09] local.INFO: Packet analysis {"connection_id":204555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b5a"} 
[2026-10-05 14:49:09] local.INFO: Extracted packet for processing {"connection_id":204555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b5a"} 
[2026-10-05 14:49:09] local.INFO: GPS Element Parsed {"raw_longitude":762985216,"raw_latitude":99322088,"longitude_deg":76.2985216,"latitude_deg":9.9322088,"altitude":8,"angle":58,"satellites":44,"speed":8,"hex_longitude":"2d7a3b00","hex_latitude":"05eb88e8","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545103104001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139678980780326912,"note":"Value kept but may cause issues"} 
[2026-10-05 14:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807070571726118912,"note":"Value kept but may cause issues"} 
[2026-10-05 14:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791191828000,"timestamp_ms":1791191828000,"timestamp_seconds":1791191828,"priority":1,"record_length":96,"hex_timestamp":"000001a10b5a4620"} 
[2026-10-05 14:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-10-05 14:49:09] 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-10-05 14: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-10-05 14:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:49:09] 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-10-05 14:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545103104001,"66":13254,"163":206,"87":13824,"24":8,"16":139678980780326912,"45":8807070571726118912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 14:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545103104001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:49:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 14:49:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139678980780326912,"km_value":139678980780326.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807070571726118912,"description":"Unknown IO ID 45"} 
[2026-10-05 14:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545103104001,"power":13254,"unknown_163":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8807070571726118912}} 
[2026-10-05 14:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":204555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:49:09] local.INFO: GPS data processed {"connection_id":204555,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:49:09] local.INFO: Acknowledgment sent {"connection_id":204555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:49:30] local.INFO: TCP Data received {"connection_id":204687,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:49:30] local.INFO: Processing buffer {"connection_id":204687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:49:30] local.INFO: IMEI packet received {"connection_id":204687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":204687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:49:34] local.INFO: TCP Data received {"connection_id":204688,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:49:34] local.INFO: Processing buffer {"connection_id":204688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:49:34] local.INFO: IMEI packet received {"connection_id":204688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 14:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":204688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:49:36] local.INFO: TCP Data received {"connection_id":204687,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:49:36] local.INFO: Processing buffer {"connection_id":204687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:49:36] local.INFO: IMEI packet received {"connection_id":204687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":204687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:49:36] local.INFO: TCP Data received {"connection_id":206095,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b5a3e50012d7d2c8005eb4850000b00042c..."} 
[2026-10-05 14:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b5a3e50012d7d2c8005eb4850000b00042c..."} 
[2026-10-05 14:49:36] local.INFO: Processing buffer {"connection_id":206095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b5a3e50012d7d2c8005eb4850000b00042c..."} 
[2026-10-05 14:49:36] local.INFO: Packet analysis {"connection_id":206095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b5a"} 
[2026-10-05 14:49:36] local.INFO: Extracted packet for processing {"connection_id":206095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b5a"} 
[2026-10-05 14:49:36] local.INFO: GPS Element Parsed {"raw_longitude":763178112,"raw_latitude":99305552,"longitude_deg":76.3178112,"latitude_deg":9.9305552,"altitude":11,"angle":4,"satellites":44,"speed":34,"hex_longitude":"2d7d2c80","hex_latitude":"05eb4850","is_valid_coordinates":true} 
[2026-10-05 14:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545105152001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2096352062341120,"note":"Value kept but may cause issues"} 
[2026-10-05 14:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019091597926893568,"note":"Value kept but may cause issues"} 
[2026-10-05 14:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791191826000,"timestamp_ms":1791191826000,"timestamp_seconds":1791191826,"priority":1,"record_length":96,"hex_timestamp":"000001a10b5a3e50"} 
[2026-10-05 14:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:49: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-10-05 14:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 14:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545105152001,"66":27974,"197":206,"87":13824,"24":34,"16":2096352062341120,"45":9019091597926893568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-05 14:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545105152001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:49:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-05 14:49:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2096352062341120,"km_value":2096352062341.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019091597926893568,"description":"Unknown IO ID 45"} 
[2026-10-05 14:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545105152001,"power":27974,"unknown_197":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":9019091597926893568}} 
[2026-10-05 14:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":206095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:49:36] local.INFO: GPS data processed {"connection_id":206095,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:49:36] local.INFO: Acknowledgment sent {"connection_id":206095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:49:37] local.INFO: TCP Data received {"connection_id":204687,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b5a9828012d7a3ec005eb8a98000700452b..."} 
[2026-10-05 14:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b5a9828012d7a3ec005eb8a98000700452b..."} 
[2026-10-05 14:49:37] local.INFO: Processing buffer {"connection_id":204687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b5a9828012d7a3ec005eb8a98000700452b..."} 
[2026-10-05 14:49:37] local.INFO: Packet analysis {"connection_id":204687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b5a"} 
[2026-10-05 14:49:37] local.INFO: Extracted packet for processing {"connection_id":204687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b5a"} 
[2026-10-05 14:49:37] local.INFO: GPS Element Parsed {"raw_longitude":762986176,"raw_latitude":99322520,"longitude_deg":76.2986176,"latitude_deg":9.932252,"altitude":7,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7a3ec0","hex_latitude":"05eb8a98","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545107968001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139679028024967168,"note":"Value kept but may cause issues"} 
[2026-10-05 14:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807633521679591424,"note":"Value kept but may cause issues"} 
[2026-10-05 14:49:37] 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-10-05 14:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791191849000,"timestamp_ms":1791191849000,"timestamp_seconds":1791191849,"priority":1,"record_length":96,"hex_timestamp":"000001a10b5a9828"} 
[2026-10-05 14:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-10-05 14:49:37] 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-10-05 14: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-10-05 14:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:49:37] 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-10-05 14:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545107968001,"66":13428,"163":206,"87":13824,"24":0,"16":139679028024967168,"45":8807633521679591424},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 14:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545107968001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:49:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 14:49:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139679028024967168,"km_value":139679028024967.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807633521679591424,"description":"Unknown IO ID 45"} 
[2026-10-05 14:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545107968001,"power":13428,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8807633521679591424}} 
[2026-10-05 14:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":204687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968004,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:49:37] local.INFO: GPS data processed {"connection_id":204687,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:49:37] local.INFO: Acknowledgment sent {"connection_id":204687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:49:54] local.INFO: TCP Data received {"connection_id":204556,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:49:54] local.INFO: Processing buffer {"connection_id":204556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:49:54] local.INFO: IMEI packet received {"connection_id":204556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":204556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:49:56] local.INFO: TCP Data received {"connection_id":204556,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:49:56] local.INFO: Processing buffer {"connection_id":204556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:49:56] local.INFO: IMEI packet received {"connection_id":204556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":204556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:49:59] local.INFO: TCP Data received {"connection_id":204556,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:49:59] local.INFO: Processing buffer {"connection_id":204556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:49:59] local.INFO: IMEI packet received {"connection_id":204556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":204556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:50:01] local.INFO: TCP Data received {"connection_id":204556,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b5be818012d7d394005ecdcd8000600012a..."} 
[2026-10-05 14:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b5be818012d7d394005ecdcd8000600012a..."} 
[2026-10-05 14:50:01] local.INFO: Processing buffer {"connection_id":204556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b5be818012d7d394005ecdcd8000600012a..."} 
[2026-10-05 14:50:01] local.INFO: Packet analysis {"connection_id":204556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b5b"} 
[2026-10-05 14:50:01] local.INFO: Extracted packet for processing {"connection_id":204556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b5b"} 
[2026-10-05 14:50:01] local.INFO: GPS Element Parsed {"raw_longitude":763181376,"raw_latitude":99409112,"longitude_deg":76.3181376,"latitude_deg":9.9409112,"altitude":6,"angle":1,"satellites":42,"speed":51,"hex_longitude":"2d7d3940","hex_latitude":"05ecdcd8","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545133312001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2101381469044736,"note":"Value kept but may cause issues"} 
[2026-10-05 14:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022961878883012608,"note":"Value kept but may cause issues"} 
[2026-10-05 14:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791191935000,"timestamp_ms":1791191935000,"timestamp_seconds":1791191935,"priority":1,"record_length":96,"hex_timestamp":"000001a10b5be818"} 
[2026-10-05 14:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 14:50:01] 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-10-05 14: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-10-05 14:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:50: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-10-05 14:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545133312001,"66":27919,"255":206,"87":13824,"24":51,"16":2101381469044736,"45":9022961878883012608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-10-05 14:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545133312001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:50:01] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-10-05 14:50:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2101381469044736,"km_value":2101381469044.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022961878883012608,"description":"Unknown IO ID 45"} 
[2026-10-05 14:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545133312001,"power":27919,"unknown_255":206,"unknown_87":13824,"ignition":51,"odometer":null,"unknown_45":9022961878883012608}} 
[2026-10-05 14:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":204556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:50:01] local.INFO: GPS data processed {"connection_id":204556,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:50:01] local.INFO: Acknowledgment sent {"connection_id":204556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:50:07] local.INFO: TCP Data received {"connection_id":204687,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b5aea30012d7a3ec005eb8a980007004523..."} 
[2026-10-05 14:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b5aea30012d7a3ec005eb8a980007004523..."} 
[2026-10-05 14:50:07] local.INFO: Processing buffer {"connection_id":204687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b5aea30012d7a3ec005eb8a980007004523..."} 
[2026-10-05 14:50:07] local.INFO: Packet analysis {"connection_id":204687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b5a"} 
[2026-10-05 14:50:07] local.INFO: Extracted packet for processing {"connection_id":204687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b5a"} 
[2026-10-05 14:50:07] local.INFO: GPS Element Parsed {"raw_longitude":762986176,"raw_latitude":99322520,"longitude_deg":76.2986176,"latitude_deg":9.932252,"altitude":7,"angle":69,"satellites":35,"speed":0,"hex_longitude":"2d7a3ec0","hex_latitude":"05eb8a98","is_valid_coordinates":true} 
[2026-10-05 14:50: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-10-05 14:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545113344001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139679028024967168,"note":"Value kept but may cause issues"} 
[2026-10-05 14:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808689052842366976,"note":"Value kept but may cause issues"} 
[2026-10-05 14:50:07] 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-10-05 14:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791191870000,"timestamp_ms":1791191870000,"timestamp_seconds":1791191870,"priority":1,"record_length":96,"hex_timestamp":"000001a10b5aea30"} 
[2026-10-05 14:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:50: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-10-05 14:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 14:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:50: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-10-05 14:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545113344001,"66":13363,"163":206,"87":13824,"24":0,"16":139679028024967168,"45":8808689052842366976},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 14:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545113344001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:50:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 14:50:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139679028024967168,"km_value":139679028024967.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808689052842366976,"description":"Unknown IO ID 45"} 
[2026-10-05 14:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545113344001,"power":13363,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8808689052842366976}} 
[2026-10-05 14:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":204687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968006,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:50:08] local.INFO: GPS data processed {"connection_id":204687,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:50:08] local.INFO: Acknowledgment sent {"connection_id":204687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:50:32] local.INFO: TCP Data received {"connection_id":204556,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b5c0758012d7d39c005ed0778000500002a..."} 
[2026-10-05 14:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b5c0758012d7d39c005ed0778000500002a..."} 
[2026-10-05 14:50:32] local.INFO: Processing buffer {"connection_id":204556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b5c0758012d7d39c005ed0778000500002a..."} 
[2026-10-05 14:50:32] local.INFO: Packet analysis {"connection_id":204556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b5c"} 
[2026-10-05 14:50:32] local.INFO: Extracted packet for processing {"connection_id":204556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b5c"} 
[2026-10-05 14:50:32] local.INFO: GPS Element Parsed {"raw_longitude":763181504,"raw_latitude":99420024,"longitude_deg":76.3181504,"latitude_deg":9.9420024,"altitude":5,"angle":0,"satellites":42,"speed":56,"hex_longitude":"2d7d39c0","hex_latitude":"05ed0778","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545135360001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2101909750022144,"note":"Value kept but may cause issues"} 
[2026-10-05 14:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023313722606409728,"note":"Value kept but may cause issues"} 
[2026-10-05 14:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791191943000,"timestamp_ms":1791191943000,"timestamp_seconds":1791191943,"priority":1,"record_length":96,"hex_timestamp":"000001a10b5c0758"} 
[2026-10-05 14:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:50: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-10-05 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 14:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545135360001,"66":27876,"255":206,"87":13824,"24":56,"16":2101909750022144,"45":9023313722606409728},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-10-05 14:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545135360001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:50:32] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-10-05 14:50:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2101909750022144,"km_value":2101909750022.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023313722606409728,"description":"Unknown IO ID 45"} 
[2026-10-05 14:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545135360001,"power":27876,"unknown_255":206,"unknown_87":13824,"ignition":56,"odometer":null,"unknown_45":9023313722606409728}} 
[2026-10-05 14:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":204556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:50:32] local.INFO: GPS data processed {"connection_id":204556,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:50:32] local.INFO: Acknowledgment sent {"connection_id":204556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:50:36] local.INFO: TCP Data received {"connection_id":207633,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207633,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:50:36] local.INFO: Processing buffer {"connection_id":207633,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:50:36] local.INFO: IMEI packet received {"connection_id":207633,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":207633,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:50:41] local.INFO: TCP Data received {"connection_id":207633,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207633,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:50:41] local.INFO: Processing buffer {"connection_id":207633,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:50:41] local.INFO: IMEI packet received {"connection_id":207633,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":207633,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:50:43] local.INFO: TCP Data received {"connection_id":207633,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b5cedd0012d7a334005ebd0980010014c29..."} 
[2026-10-05 14:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b5cedd0012d7a334005ebd0980010014c29..."} 
[2026-10-05 14:50:43] local.INFO: Processing buffer {"connection_id":207633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b5cedd0012d7a334005ebd0980010014c29..."} 
[2026-10-05 14:50:43] local.INFO: Packet analysis {"connection_id":207633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b5c"} 
[2026-10-05 14:50:43] local.INFO: Extracted packet for processing {"connection_id":207633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b5c"} 
[2026-10-05 14:50:43] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":99340440,"longitude_deg":76.2983232,"latitude_deg":9.934044,"altitude":16,"angle":332,"satellites":41,"speed":3,"hex_longitude":"2d7a3340","hex_latitude":"05ebd098","is_valid_coordinates":true} 
[2026-10-05 14:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545147136001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139680114651693056,"note":"Value kept but may cause issues"} 
[2026-10-05 14:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809040896566349824,"note":"Value kept but may cause issues"} 
[2026-10-05 14:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791192002000,"timestamp_ms":1791192002000,"timestamp_seconds":1791192002,"priority":1,"record_length":96,"hex_timestamp":"000001a10b5cedd0"} 
[2026-10-05 14:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:50: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-10-05 14:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-10-05 14:50:43] 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-10-05 14:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:50:43] 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-10-05 14:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545147136001,"66":13656,"163":206,"87":13824,"24":3,"16":139680114651693056,"45":8809040896566349824},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 14:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545147136001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:50:43] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 14:50:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139680114651693056,"km_value":139680114651693.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809040896566349824,"description":"Unknown IO ID 45"} 
[2026-10-05 14:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545147136001,"power":13656,"unknown_163":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8809040896566349824}} 
[2026-10-05 14:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":207633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968008,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:50:43] local.INFO: GPS data processed {"connection_id":207633,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:50:43] local.INFO: Acknowledgment sent {"connection_id":207633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:50:44] local.INFO: TCP Data received {"connection_id":207633,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b5d2480012d7a2b4005ebe0200011015a2a..."} 
[2026-10-05 14:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b5d2480012d7a2b4005ebe0200011015a2a..."} 
[2026-10-05 14:50:44] local.INFO: Processing buffer {"connection_id":207633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b5d2480012d7a2b4005ebe0200011015a2a..."} 
[2026-10-05 14:50:44] local.INFO: Packet analysis {"connection_id":207633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b5d"} 
[2026-10-05 14:50:44] local.INFO: Extracted packet for processing {"connection_id":207633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b5d"} 
[2026-10-05 14:50:44] local.INFO: GPS Element Parsed {"raw_longitude":762981184,"raw_latitude":99344416,"longitude_deg":76.2981184,"latitude_deg":9.9344416,"altitude":17,"angle":346,"satellites":42,"speed":8,"hex_longitude":"2d7a2b40","hex_latitude":"05ebe020","is_valid_coordinates":true} 
[2026-10-05 14:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545152512001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139680333695025152,"note":"Value kept but may cause issues"} 
[2026-10-05 14:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090614781952,"note":"Value kept but may cause issues"} 
[2026-10-05 14:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791192016000,"timestamp_ms":1791192016000,"timestamp_seconds":1791192016,"priority":1,"record_length":96,"hex_timestamp":"000001a10b5d2480"} 
[2026-10-05 14:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-05 14:50:44] 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-10-05 14:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":207633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":207633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":207633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:50:44] 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-10-05 14:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545152512001,"66":13472,"163":206,"87":13824,"24":8,"16":139680333695025152,"45":8805452090614781952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 14:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545152512001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:50:44] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 14:50:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139680333695025152,"km_value":139680333695025.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090614781952,"description":"Unknown IO ID 45"} 
[2026-10-05 14:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545152512001,"power":13472,"unknown_163":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8805452090614781952}} 
[2026-10-05 14:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":207633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:50:44] local.INFO: GPS data processed {"connection_id":207633,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:50:44] local.INFO: Acknowledgment sent {"connection_id":207633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:50:57] local.INFO: TCP Data received {"connection_id":204557,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:50:57] local.INFO: Processing buffer {"connection_id":204557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:50:57] local.INFO: IMEI packet received {"connection_id":204557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":204557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:50:59] local.INFO: TCP Data received {"connection_id":204557,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:50:59] local.INFO: Processing buffer {"connection_id":204557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:50:59] local.INFO: IMEI packet received {"connection_id":204557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":204557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:51:05] local.INFO: TCP Data received {"connection_id":204557,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:51:05] local.INFO: Processing buffer {"connection_id":204557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:51:05] local.INFO: IMEI packet received {"connection_id":204557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":204557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:51:05] local.INFO: TCP Data received {"connection_id":204557,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b5c22b0012d7d3ac005ed2f00000500002b..."} 
[2026-10-05 14:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b5c22b0012d7d3ac005ed2f00000500002b..."} 
[2026-10-05 14:51:05] local.INFO: Processing buffer {"connection_id":204557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b5c22b0012d7d3ac005ed2f00000500002b..."} 
[2026-10-05 14:51:05] local.INFO: Packet analysis {"connection_id":204557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b5c"} 
[2026-10-05 14:51:05] local.INFO: Extracted packet for processing {"connection_id":204557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b5c"} 
[2026-10-05 14:51:05] local.INFO: GPS Element Parsed {"raw_longitude":763181760,"raw_latitude":99430144,"longitude_deg":76.318176,"latitude_deg":9.9430144,"altitude":5,"angle":0,"satellites":43,"speed":58,"hex_longitude":"2d7d3ac0","hex_latitude":"05ed2f00","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545137408001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2102399376293888,"note":"Value kept but may cause issues"} 
[2026-10-05 14:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023454460097558528,"note":"Value kept but may cause issues"} 
[2026-10-05 14:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791191950000,"timestamp_ms":1791191950000,"timestamp_seconds":1791191950,"priority":1,"record_length":96,"hex_timestamp":"000001a10b5c22b0"} 
[2026-10-05 14:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-05 14:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:51: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-10-05 14:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545137408001,"66":27919,"255":206,"87":13824,"24":58,"16":2102399376293888,"45":9023454460097558528},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-10-05 14:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545137408001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:51:05] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-10-05 14:51:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2102399376293888,"km_value":2102399376293.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023454460097558528,"description":"Unknown IO ID 45"} 
[2026-10-05 14:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545137408001,"power":27919,"unknown_255":206,"unknown_87":13824,"ignition":58,"odometer":null,"unknown_45":9023454460097558528}} 
[2026-10-05 14:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":204557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:51:05] local.INFO: GPS data processed {"connection_id":204557,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:51:05] local.INFO: Acknowledgment sent {"connection_id":204557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:51:10] local.INFO: TCP Data received {"connection_id":204557,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b5c3e08012d7d3b4005ed5740000500002b..."} 
[2026-10-05 14:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b5c3e08012d7d3b4005ed5740000500002b..."} 
[2026-10-05 14:51:10] local.INFO: Processing buffer {"connection_id":204557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b5c3e08012d7d3b4005ed5740000500002b..."} 
[2026-10-05 14:51:10] local.INFO: Packet analysis {"connection_id":204557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b5c"} 
[2026-10-05 14:51:10] local.INFO: Extracted packet for processing {"connection_id":204557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b5c"} 
[2026-10-05 14:51:10] local.INFO: GPS Element Parsed {"raw_longitude":763181888,"raw_latitude":99440448,"longitude_deg":76.3181888,"latitude_deg":9.9440448,"altitude":5,"angle":0,"satellites":43,"speed":58,"hex_longitude":"2d7d3b40","hex_latitude":"05ed5740","is_valid_coordinates":true} 
[2026-10-05 14:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545139200001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2102901887467520,"note":"Value kept but may cause issues"} 
[2026-10-05 14:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023735935076859904,"note":"Value kept but may cause issues"} 
[2026-10-05 14:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791191957000,"timestamp_ms":1791191957000,"timestamp_seconds":1791191957,"priority":1,"record_length":96,"hex_timestamp":"000001a10b5c3e08"} 
[2026-10-05 14:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 14:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545139200001,"66":27821,"255":206,"87":13824,"24":58,"16":2102901887467520,"45":9023735935076859904},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-10-05 14:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545139200001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:51:10] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-10-05 14:51:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2102901887467520,"km_value":2102901887467.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023735935076859904,"description":"Unknown IO ID 45"} 
[2026-10-05 14:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545139200001,"power":27821,"unknown_255":206,"unknown_87":13824,"ignition":58,"odometer":null,"unknown_45":9023735935076859904}} 
[2026-10-05 14:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":204557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:51:10] local.INFO: GPS data processed {"connection_id":204557,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:51:10] local.INFO: Acknowledgment sent {"connection_id":204557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:51:31] local.INFO: TCP Data received {"connection_id":206096,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:51:31] local.INFO: Processing buffer {"connection_id":206096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:51:31] local.INFO: IMEI packet received {"connection_id":206096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":206096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:51:36] local.INFO: TCP Data received {"connection_id":206096,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:51:36] local.INFO: Processing buffer {"connection_id":206096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:51:36] local.INFO: IMEI packet received {"connection_id":206096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":206096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:51:37] local.INFO: TCP Data received {"connection_id":206096,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b5d3fd8012d7a2ac005ebe1b80012014e25..."} 
[2026-10-05 14:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b5d3fd8012d7a2ac005ebe1b80012014e25..."} 
[2026-10-05 14:51:37] local.INFO: Processing buffer {"connection_id":206096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b5d3fd8012d7a2ac005ebe1b80012014e25..."} 
[2026-10-05 14:51:37] local.INFO: Packet analysis {"connection_id":206096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b5d"} 
[2026-10-05 14:51:37] local.INFO: Extracted packet for processing {"connection_id":206096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b5d"} 
[2026-10-05 14:51:37] local.INFO: GPS Element Parsed {"raw_longitude":762981056,"raw_latitude":99344824,"longitude_deg":76.2981056,"latitude_deg":9.9344824,"altitude":18,"angle":334,"satellites":37,"speed":10,"hex_longitude":"2d7a2ac0","hex_latitude":"05ebe1b8","is_valid_coordinates":true} 
[2026-10-05 14:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545156096001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139680355169861632,"note":"Value kept but may cause issues"} 
[2026-10-05 14:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803200290802114560,"note":"Value kept but may cause issues"} 
[2026-10-05 14:51:37] 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-10-05 14:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791192023000,"timestamp_ms":1791192023000,"timestamp_seconds":1791192023,"priority":1,"record_length":96,"hex_timestamp":"000001a10b5d3fd8"} 
[2026-10-05 14:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-10-05 14:51:37] 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-10-05 14:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:51:37] 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-10-05 14:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545156096001,"66":13765,"163":206,"87":13824,"24":10,"16":139680355169861632,"45":8803200290802114560},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 14:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545156096001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:51:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 14:51:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139680355169861632,"km_value":139680355169861.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803200290802114560,"description":"Unknown IO ID 45"} 
[2026-10-05 14:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545156096001,"power":13765,"unknown_163":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8803200290802114560}} 
[2026-10-05 14:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":206096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968012,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:51:37] local.INFO: GPS data processed {"connection_id":206096,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:51:37] local.INFO: Acknowledgment sent {"connection_id":206096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:51:57] local.INFO: TCP Data received {"connection_id":204559,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:51:57] local.INFO: Processing buffer {"connection_id":204559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:51:57] local.INFO: IMEI packet received {"connection_id":204559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":204559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:52:07] local.INFO: TCP Data received {"connection_id":204559,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:52:07] local.INFO: Processing buffer {"connection_id":204559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:52:07] local.INFO: IMEI packet received {"connection_id":204559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":204559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:52:08] local.INFO: TCP Data received {"connection_id":204559,"ip":"42.109.136.7","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 14:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204559,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 14:52:08] local.INFO: Processing buffer {"connection_id":204559,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 14:52:08] local.INFO: IMEI packet received {"connection_id":204559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":204559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:52:09] local.INFO: TCP Data received {"connection_id":206096,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b5d7e58012d7a1cc005ec02a80012015224..."} 
[2026-10-05 14:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b5d7e58012d7a1cc005ec02a80012015224..."} 
[2026-10-05 14:52:09] local.INFO: Processing buffer {"connection_id":206096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b5d7e58012d7a1cc005ec02a80012015224..."} 
[2026-10-05 14:52:09] local.INFO: Packet analysis {"connection_id":206096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b5d"} 
[2026-10-05 14:52:09] local.INFO: Extracted packet for processing {"connection_id":206096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b5d"} 
[2026-10-05 14:52:09] local.INFO: GPS Element Parsed {"raw_longitude":762977472,"raw_latitude":99353256,"longitude_deg":76.2977472,"latitude_deg":9.9353256,"altitude":18,"angle":338,"satellites":36,"speed":22,"hex_longitude":"2d7a1cc0","hex_latitude":"05ec02a8","is_valid_coordinates":true} 
[2026-10-05 14:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545157888001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139680801846460416,"note":"Value kept but may cause issues"} 
[2026-10-05 14:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803059553313863680,"note":"Value kept but may cause issues"} 
[2026-10-05 14:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791192039000,"timestamp_ms":1791192039000,"timestamp_seconds":1791192039,"priority":1,"record_length":96,"hex_timestamp":"000001a10b5d7e58"} 
[2026-10-05 14:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:52: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-10-05 14:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-10-05 14:52:09] 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-10-05 14:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":206096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":206096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":206096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:52:09] 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-10-05 14:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545157888001,"66":13406,"163":206,"87":13824,"24":22,"16":139680801846460416,"45":8803059553313863680},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 14:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545157888001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:52:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 14:52:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139680801846460416,"km_value":139680801846460.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803059553313863680,"description":"Unknown IO ID 45"} 
[2026-10-05 14:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545157888001,"power":13406,"unknown_163":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8803059553313863680}} 
[2026-10-05 14:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":206096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:52:09] local.INFO: GPS data processed {"connection_id":206096,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:52:09] local.INFO: Acknowledgment sent {"connection_id":206096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:52:31] local.INFO: TCP Data received {"connection_id":204560,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204560,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:52:31] local.INFO: Processing buffer {"connection_id":204560,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:52:31] local.INFO: IMEI packet received {"connection_id":204560,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":204560,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:52:36] local.INFO: TCP Data received {"connection_id":204560,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204560,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:52:36] local.INFO: Processing buffer {"connection_id":204560,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:52:36] local.INFO: IMEI packet received {"connection_id":204560,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":204560,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:52:37] local.INFO: TCP Data received {"connection_id":204560,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b5dd060012d7a18c005ec0e18000e015626..."} 
[2026-10-05 14:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b5dd060012d7a18c005ec0e18000e015626..."} 
[2026-10-05 14:52:37] local.INFO: Processing buffer {"connection_id":204560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b5dd060012d7a18c005ec0e18000e015626..."} 
[2026-10-05 14:52:37] local.INFO: Packet analysis {"connection_id":204560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b5d"} 
[2026-10-05 14:52:37] local.INFO: Extracted packet for processing {"connection_id":204560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b5d"} 
[2026-10-05 14:52:37] local.INFO: GPS Element Parsed {"raw_longitude":762976448,"raw_latitude":99356184,"longitude_deg":76.2976448,"latitude_deg":9.9356184,"altitude":14,"angle":342,"satellites":38,"speed":6,"hex_longitude":"2d7a18c0","hex_latitude":"05ec0e18","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545161984001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139680956465283072,"note":"Value kept but may cause issues"} 
[2026-10-05 14:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799118903642073088,"note":"Value kept but may cause issues"} 
[2026-10-05 14:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791192060000,"timestamp_ms":1791192060000,"timestamp_seconds":1791192060,"priority":1,"record_length":96,"hex_timestamp":"000001a10b5dd060"} 
[2026-10-05 14:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":94,"data_length":795,"current_offset":136} 
[2026-10-05 14:52: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-10-05 14: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-10-05 14:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:52:37] 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-10-05 14:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545161984001,"66":13374,"99":206,"87":13824,"24":6,"16":139680956465283072,"45":8799118903642073088},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-05 14:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545161984001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:52:37] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-05 14:52:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139680956465283072,"km_value":139680956465283.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799118903642073088,"description":"Unknown IO ID 45"} 
[2026-10-05 14:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545161984001,"power":13374,"unknown_99":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8799118903642073088}} 
[2026-10-05 14:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":204560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:52:37] local.INFO: GPS data processed {"connection_id":204560,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:52:37] local.INFO: Acknowledgment sent {"connection_id":204560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:53:08] local.INFO: TCP Data received {"connection_id":204560,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b5e2268012d7a188005ec0eb0000e015229..."} 
[2026-10-05 14:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b5e2268012d7a188005ec0eb0000e015229..."} 
[2026-10-05 14:53:08] local.INFO: Processing buffer {"connection_id":204560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b5e2268012d7a188005ec0eb0000e015229..."} 
[2026-10-05 14:53:08] local.INFO: Packet analysis {"connection_id":204560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b5e"} 
[2026-10-05 14:53:08] local.INFO: Extracted packet for processing {"connection_id":204560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b5e"} 
[2026-10-05 14:53:08] local.INFO: GPS Element Parsed {"raw_longitude":762976384,"raw_latitude":99356336,"longitude_deg":76.2976384,"latitude_deg":9.9356336,"altitude":14,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d7a1880","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-10-05 14:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545167360001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139680965055217664,"note":"Value kept but may cause issues"} 
[2026-10-05 14:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797993003735980032,"note":"Value kept but may cause issues"} 
[2026-10-05 14:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791192081000,"timestamp_ms":1791192081000,"timestamp_seconds":1791192081,"priority":1,"record_length":96,"hex_timestamp":"000001a10b5e2268"} 
[2026-10-05 14:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-10-05 14:53: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-10-05 14:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:53:08] 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-10-05 14:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545167360001,"66":13678,"99":206,"87":13824,"24":0,"16":139680965055217664,"45":8797993003735980032},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-05 14:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545167360001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:53:08] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-05 14:53:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139680965055217664,"km_value":139680965055217.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797993003735980032,"description":"Unknown IO ID 45"} 
[2026-10-05 14:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545167360001,"power":13678,"unknown_99":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797993003735980032}} 
[2026-10-05 14:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":204560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968015,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:53:08] local.INFO: GPS data processed {"connection_id":204560,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:53:08] local.INFO: Acknowledgment sent {"connection_id":204560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:53:31] local.INFO: TCP Data received {"connection_id":204689,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:53:31] local.INFO: Processing buffer {"connection_id":204689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:53:31] local.INFO: IMEI packet received {"connection_id":204689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":204689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:53:36] local.INFO: TCP Data received {"connection_id":204689,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:53:36] local.INFO: Processing buffer {"connection_id":204689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:53:36] local.INFO: IMEI packet received {"connection_id":204689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":204689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:53:37] local.INFO: TCP Data received {"connection_id":204689,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b5e7470012d7a184005ec11d8000e01502c..."} 
[2026-10-05 14:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b5e7470012d7a184005ec11d8000e01502c..."} 
[2026-10-05 14:53:37] local.INFO: Processing buffer {"connection_id":204689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b5e7470012d7a184005ec11d8000e01502c..."} 
[2026-10-05 14:53:37] local.INFO: Packet analysis {"connection_id":204689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b5e"} 
[2026-10-05 14:53:37] local.INFO: Extracted packet for processing {"connection_id":204689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b5e"} 
[2026-10-05 14:53:37] local.INFO: GPS Element Parsed {"raw_longitude":762976320,"raw_latitude":99357144,"longitude_deg":76.297632,"latitude_deg":9.9357144,"altitude":14,"angle":336,"satellites":44,"speed":4,"hex_longitude":"2d7a1840","hex_latitude":"05ec11d8","is_valid_coordinates":true} 
[2026-10-05 14:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545172736001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139681003709923328,"note":"Value kept but may cause issues"} 
[2026-10-05 14:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797922634991841280,"note":"Value kept but may cause issues"} 
[2026-10-05 14:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791192102000,"timestamp_ms":1791192102000,"timestamp_seconds":1791192102,"priority":1,"record_length":96,"hex_timestamp":"000001a10b5e7470"} 
[2026-10-05 14:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 14:53:37] 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-10-05 14:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:53:37] 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-10-05 14:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545172736001,"66":13722,"99":206,"87":13824,"24":4,"16":139681003709923328,"45":8797922634991841280},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-05 14:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545172736001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:53:37] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-05 14:53:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139681003709923328,"km_value":139681003709923.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797922634991841280,"description":"Unknown IO ID 45"} 
[2026-10-05 14:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545172736001,"power":13722,"unknown_99":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8797922634991841280}} 
[2026-10-05 14:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":204689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:53:37] local.INFO: GPS data processed {"connection_id":204689,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:53:37] local.INFO: Acknowledgment sent {"connection_id":204689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:54:08] local.INFO: TCP Data received {"connection_id":204689,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b5ec678012d7a174005ec1418000d01502b..."} 
[2026-10-05 14:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b5ec678012d7a174005ec1418000d01502b..."} 
[2026-10-05 14:54:08] local.INFO: Processing buffer {"connection_id":204689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b5ec678012d7a174005ec1418000d01502b..."} 
[2026-10-05 14:54:08] local.INFO: Packet analysis {"connection_id":204689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b5e"} 
[2026-10-05 14:54:08] local.INFO: Extracted packet for processing {"connection_id":204689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b5e"} 
[2026-10-05 14:54:08] local.INFO: GPS Element Parsed {"raw_longitude":762976064,"raw_latitude":99357720,"longitude_deg":76.2976064,"latitude_deg":9.935772,"altitude":13,"angle":336,"satellites":43,"speed":0,"hex_longitude":"2d7a1740","hex_latitude":"05ec1418","is_valid_coordinates":true} 
[2026-10-05 14:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545178112001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139681038069661696,"note":"Value kept but may cause issues"} 
[2026-10-05 14:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797852266247870464,"note":"Value kept but may cause issues"} 
[2026-10-05 14:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791192123000,"timestamp_ms":1791192123000,"timestamp_seconds":1791192123,"priority":1,"record_length":96,"hex_timestamp":"000001a10b5ec678"} 
[2026-10-05 14:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-10-05 14:54:08] 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-10-05 14:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:54:08] 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-10-05 14:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545178112001,"66":13363,"99":206,"87":13824,"24":0,"16":139681038069661696,"45":8797852266247870464},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-05 14:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545178112001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:54:08] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-05 14:54:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139681038069661696,"km_value":139681038069661.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797852266247870464,"description":"Unknown IO ID 45"} 
[2026-10-05 14:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545178112001,"power":13363,"unknown_99":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797852266247870464}} 
[2026-10-05 14:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":204689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968017,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:54:08] local.INFO: GPS data processed {"connection_id":204689,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:54:08] local.INFO: Acknowledgment sent {"connection_id":204689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:54:31] local.INFO: TCP Data received {"connection_id":206097,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:54:31] local.INFO: Processing buffer {"connection_id":206097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:54:31] local.INFO: IMEI packet received {"connection_id":206097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":206097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:54:32] local.INFO: TCP Data received {"connection_id":206097,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:54:32] local.INFO: Processing buffer {"connection_id":206097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:54:32] local.INFO: IMEI packet received {"connection_id":206097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":206097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:54:36] local.INFO: TCP Data received {"connection_id":206097,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:54:36] local.INFO: Processing buffer {"connection_id":206097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:54:36] local.INFO: IMEI packet received {"connection_id":206097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":206097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:54:37] local.INFO: TCP Data received {"connection_id":206097,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b5f1880012d7a16c005ec1570000d014d2b..."} 
[2026-10-05 14:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b5f1880012d7a16c005ec1570000d014d2b..."} 
[2026-10-05 14:54:37] local.INFO: Processing buffer {"connection_id":206097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b5f1880012d7a16c005ec1570000d014d2b..."} 
[2026-10-05 14:54:37] local.INFO: Packet analysis {"connection_id":206097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b5f"} 
[2026-10-05 14:54:37] local.INFO: Extracted packet for processing {"connection_id":206097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b5f"} 
[2026-10-05 14:54:37] local.INFO: GPS Element Parsed {"raw_longitude":762975936,"raw_latitude":99358064,"longitude_deg":76.2975936,"latitude_deg":9.9358064,"altitude":13,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2d7a16c0","hex_latitude":"05ec1570","is_valid_coordinates":true} 
[2026-10-05 14:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545183488001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139681055249530880,"note":"Value kept but may cause issues"} 
[2026-10-05 14:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797570791271307264,"note":"Value kept but may cause issues"} 
[2026-10-05 14:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791192144000,"timestamp_ms":1791192144000,"timestamp_seconds":1791192144,"priority":1,"record_length":96,"hex_timestamp":"000001a10b5f1880"} 
[2026-10-05 14:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-10-05 14:54:37] 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-10-05 14: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-10-05 14:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:54:37] 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-10-05 14:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545183488001,"66":13526,"99":206,"87":13824,"24":0,"16":139681055249530880,"45":8797570791271307264},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-05 14:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545183488001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:54:37] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-05 14:54:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139681055249530880,"km_value":139681055249530.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797570791271307264,"description":"Unknown IO ID 45"} 
[2026-10-05 14:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545183488001,"power":13526,"unknown_99":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797570791271307264}} 
[2026-10-05 14:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":206097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968018,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:54:37] local.INFO: GPS data processed {"connection_id":206097,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:54:37] local.INFO: Acknowledgment sent {"connection_id":206097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:54:54] local.INFO: TCP Data received {"connection_id":206098,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206098,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:54:54] local.INFO: Processing buffer {"connection_id":206098,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:54:54] local.INFO: IMEI packet received {"connection_id":206098,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 14:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":206098,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:55:08] local.INFO: TCP Data received {"connection_id":206097,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b5f4378012d7a15c005ec1718000c01592c..."} 
[2026-10-05 14:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b5f4378012d7a15c005ec1718000c01592c..."} 
[2026-10-05 14:55:08] local.INFO: Processing buffer {"connection_id":206097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b5f4378012d7a15c005ec1718000c01592c..."} 
[2026-10-05 14:55:08] local.INFO: Packet analysis {"connection_id":206097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b5f"} 
[2026-10-05 14:55:08] local.INFO: Extracted packet for processing {"connection_id":206097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b5f"} 
[2026-10-05 14:55:08] local.INFO: GPS Element Parsed {"raw_longitude":762975680,"raw_latitude":99358488,"longitude_deg":76.297568,"latitude_deg":9.9358488,"altitude":12,"angle":345,"satellites":44,"speed":3,"hex_longitude":"2d7a15c0","hex_latitude":"05ec1718","is_valid_coordinates":true} 
[2026-10-05 14:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545188864001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139681081019334656,"note":"Value kept but may cause issues"} 
[2026-10-05 14:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797430053783040000,"note":"Value kept but may cause issues"} 
[2026-10-05 14:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791192155000,"timestamp_ms":1791192155000,"timestamp_seconds":1791192155,"priority":1,"record_length":96,"hex_timestamp":"000001a10b5f4378"} 
[2026-10-05 14:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-05 14:55:08] 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-10-05 14:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:55:08] 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-10-05 14:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545188864001,"66":13428,"99":206,"87":13824,"24":3,"16":139681081019334656,"45":8797430053783040000},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-05 14:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545188864001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:55:08] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-05 14:55:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139681081019334656,"km_value":139681081019334.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797430053783040000,"description":"Unknown IO ID 45"} 
[2026-10-05 14:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545188864001,"power":13428,"unknown_99":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8797430053783040000}} 
[2026-10-05 14:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":206097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:55:08] local.INFO: GPS data processed {"connection_id":206097,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:55:08] local.INFO: Acknowledgment sent {"connection_id":206097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:55:30] local.INFO: TCP Data received {"connection_id":206100,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:55:30] local.INFO: Processing buffer {"connection_id":206100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:55:30] local.INFO: IMEI packet received {"connection_id":206100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":206100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:55:34] local.INFO: TCP Data received {"connection_id":206100,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:55:34] local.INFO: Processing buffer {"connection_id":206100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:55:34] local.INFO: IMEI packet received {"connection_id":206100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":206100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:55:34] local.INFO: TCP Data received {"connection_id":204563,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:55:34] local.INFO: Processing buffer {"connection_id":204563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 14:55:34] local.INFO: IMEI packet received {"connection_id":204563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 14:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":204563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:55:36] local.INFO: TCP Data received {"connection_id":206100,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:55:36] local.INFO: Processing buffer {"connection_id":206100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:55:36] local.INFO: IMEI packet received {"connection_id":206100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":206100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:55:37] local.INFO: TCP Data received {"connection_id":206100,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b619538012d79f9c005ec6f18000a014e2b..."} 
[2026-10-05 14:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b619538012d79f9c005ec6f18000a014e2b..."} 
[2026-10-05 14:55:37] local.INFO: Processing buffer {"connection_id":206100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b619538012d79f9c005ec6f18000a014e2b..."} 
[2026-10-05 14:55:37] local.INFO: Packet analysis {"connection_id":206100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b61"} 
[2026-10-05 14:55:37] local.INFO: Extracted packet for processing {"connection_id":206100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b61"} 
[2026-10-05 14:55:37] local.INFO: GPS Element Parsed {"raw_longitude":762968512,"raw_latitude":99381016,"longitude_deg":76.2968512,"latitude_deg":9.9381016,"altitude":10,"angle":334,"satellites":43,"speed":3,"hex_longitude":"2d79f9c0","hex_latitude":"05ec6f18","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545229568001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139682262135341056,"note":"Value kept but may cause issues"} 
[2026-10-05 14:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789337648208351232,"note":"Value kept but may cause issues"} 
[2026-10-05 14:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791192307000,"timestamp_ms":1791192307000,"timestamp_seconds":1791192307,"priority":1,"record_length":96,"hex_timestamp":"000001a10b619538"} 
[2026-10-05 14:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:55: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-10-05 14: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 14:55:37] 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-10-05 14: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-10-05 14:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:55:37] 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-10-05 14:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545229568001,"66":13504,"100":206,"87":13824,"24":3,"16":139682262135341056,"45":8789337648208351232},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 14:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545229568001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:55:37] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 14:55:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139682262135341056,"km_value":139682262135341.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789337648208351232,"description":"Unknown IO ID 45"} 
[2026-10-05 14:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545229568001,"power":13504,"unknown_100":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8789337648208351232}} 
[2026-10-05 14:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":206100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968020,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:55:37] local.INFO: GPS data processed {"connection_id":206100,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:55:37] local.INFO: Acknowledgment sent {"connection_id":206100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:55:41] local.INFO: TCP Data received {"connection_id":206100,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b619920012d79f9c005ec6f68000a015e2b..."} 
[2026-10-05 14:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b619920012d79f9c005ec6f68000a015e2b..."} 
[2026-10-05 14:55:41] local.INFO: Processing buffer {"connection_id":206100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b619920012d79f9c005ec6f68000a015e2b..."} 
[2026-10-05 14:55:41] local.INFO: Packet analysis {"connection_id":206100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b61"} 
[2026-10-05 14:55:41] local.INFO: Extracted packet for processing {"connection_id":206100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b61"} 
[2026-10-05 14:55:41] local.INFO: GPS Element Parsed {"raw_longitude":762968512,"raw_latitude":99381096,"longitude_deg":76.2968512,"latitude_deg":9.9381096,"altitude":10,"angle":350,"satellites":43,"speed":2,"hex_longitude":"2d79f9c0","hex_latitude":"05ec6f68","is_valid_coordinates":true} 
[2026-10-05 14:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545230592001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139682266430308352,"note":"Value kept but may cause issues"} 
[2026-10-05 14:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789267279464306688,"note":"Value kept but may cause issues"} 
[2026-10-05 14:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791192308000,"timestamp_ms":1791192308000,"timestamp_seconds":1791192308,"priority":1,"record_length":96,"hex_timestamp":"000001a10b619920"} 
[2026-10-05 14:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:55: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-10-05 14:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-05 14:55:41] 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-10-05 14:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":206100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":206100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":206100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:55:41] 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-10-05 14:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545230592001,"66":13504,"100":206,"87":13824,"24":2,"16":139682266430308352,"45":8789267279464306688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 14:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545230592001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:55:41] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 14:55:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139682266430308352,"km_value":139682266430308.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789267279464306688,"description":"Unknown IO ID 45"} 
[2026-10-05 14:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545230592001,"power":13504,"unknown_100":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8789267279464306688}} 
[2026-10-05 14:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":206100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968021,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:55:41] local.INFO: GPS data processed {"connection_id":206100,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:55:41] local.INFO: Acknowledgment sent {"connection_id":206100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:56:12] local.INFO: TCP Data received {"connection_id":206100,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b61a4d8012d79f98005ec6fe0000a01532b..."} 
[2026-10-05 14:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b61a4d8012d79f98005ec6fe0000a01532b..."} 
[2026-10-05 14:56:12] local.INFO: Processing buffer {"connection_id":206100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b61a4d8012d79f98005ec6fe0000a01532b..."} 
[2026-10-05 14:56:12] local.INFO: Packet analysis {"connection_id":206100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b61"} 
[2026-10-05 14:56:12] local.INFO: Extracted packet for processing {"connection_id":206100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b61"} 
[2026-10-05 14:56:12] local.INFO: GPS Element Parsed {"raw_longitude":762968448,"raw_latitude":99381216,"longitude_deg":76.2968448,"latitude_deg":9.9381216,"altitude":10,"angle":339,"satellites":43,"speed":0,"hex_longitude":"2d79f980","hex_latitude":"05ec6fe0","is_valid_coordinates":true} 
[2026-10-05 14:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545230848001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139682275020242944,"note":"Value kept but may cause issues"} 
[2026-10-05 14:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789267279464327168,"note":"Value kept but may cause issues"} 
[2026-10-05 14:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791192311000,"timestamp_ms":1791192311000,"timestamp_seconds":1791192311,"priority":1,"record_length":96,"hex_timestamp":"000001a10b61a4d8"} 
[2026-10-05 14:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:56: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-10-05 14:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-05 14:56:12] 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-10-05 14:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":206100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":206100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":206100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:56:12] 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-10-05 14:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545230848001,"66":13646,"100":206,"87":13824,"24":0,"16":139682275020242944,"45":8789267279464327168},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 14:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545230848001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:56:12] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 14:56:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139682275020242944,"km_value":139682275020242.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789267279464327168,"description":"Unknown IO ID 45"} 
[2026-10-05 14:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545230848001,"power":13646,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789267279464327168}} 
[2026-10-05 14:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":206100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:56:13] local.INFO: GPS data processed {"connection_id":206100,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:56:13] local.INFO: Acknowledgment sent {"connection_id":206100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:56:30] local.INFO: TCP Data received {"connection_id":207637,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207637,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:56:30] local.INFO: Processing buffer {"connection_id":207637,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:56:30] local.INFO: IMEI packet received {"connection_id":207637,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":207637,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:56:36] local.INFO: TCP Data received {"connection_id":207637,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207637,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:56:36] local.INFO: Processing buffer {"connection_id":207637,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:56:36] local.INFO: IMEI packet received {"connection_id":207637,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":207637,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:56:37] local.INFO: TCP Data received {"connection_id":207637,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b61f6e0012d79f80005ec72b80009014b2b..."} 
[2026-10-05 14:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b61f6e0012d79f80005ec72b80009014b2b..."} 
[2026-10-05 14:56:37] local.INFO: Processing buffer {"connection_id":207637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b61f6e0012d79f80005ec72b80009014b2b..."} 
[2026-10-05 14:56:37] local.INFO: Packet analysis {"connection_id":207637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b61"} 
[2026-10-05 14:56:37] local.INFO: Extracted packet for processing {"connection_id":207637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b61"} 
[2026-10-05 14:56:37] local.INFO: GPS Element Parsed {"raw_longitude":762968064,"raw_latitude":99381944,"longitude_deg":76.2968064,"latitude_deg":9.9381944,"altitude":9,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d79f800","hex_latitude":"05ec72b8","is_valid_coordinates":true} 
[2026-10-05 14:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545231616001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139682317969915904,"note":"Value kept but may cause issues"} 
[2026-10-05 14:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789196910720180224,"note":"Value kept but may cause issues"} 
[2026-10-05 14:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791192332000,"timestamp_ms":1791192332000,"timestamp_seconds":1791192332,"priority":1,"record_length":96,"hex_timestamp":"000001a10b61f6e0"} 
[2026-10-05 14:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:56: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-10-05 14:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-10-05 14:56:37] 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-10-05 14:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:56:37] 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-10-05 14:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545231616001,"66":13852,"100":206,"87":13824,"24":0,"16":139682317969915904,"45":8789196910720180224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 14:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545231616001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:56:37] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 14:56:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139682317969915904,"km_value":139682317969915.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789196910720180224,"description":"Unknown IO ID 45"} 
[2026-10-05 14:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545231616001,"power":13852,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789196910720180224}} 
[2026-10-05 14:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":207637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968023,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:56:37] local.INFO: GPS data processed {"connection_id":207637,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:56:37] local.INFO: Acknowledgment sent {"connection_id":207637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:57:08] local.INFO: TCP Data received {"connection_id":207637,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6248e8012d79eec005ec83380009014e2b..."} 
[2026-10-05 14:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6248e8012d79eec005ec83380009014e2b..."} 
[2026-10-05 14:57:08] local.INFO: Processing buffer {"connection_id":207637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6248e8012d79eec005ec83380009014e2b..."} 
[2026-10-05 14:57:08] local.INFO: Packet analysis {"connection_id":207637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b62"} 
[2026-10-05 14:57:08] local.INFO: Extracted packet for processing {"connection_id":207637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b62"} 
[2026-10-05 14:57:08] local.INFO: GPS Element Parsed {"raw_longitude":762965696,"raw_latitude":99386168,"longitude_deg":76.2965696,"latitude_deg":9.9386168,"altitude":9,"angle":334,"satellites":43,"speed":9,"hex_longitude":"2d79eec0","hex_latitude":"05ec8338","is_valid_coordinates":true} 
[2026-10-05 14:57: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-10-05 14:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545236992001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139682554193117184,"note":"Value kept but may cause issues"} 
[2026-10-05 14:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788774698255300608,"note":"Value kept but may cause issues"} 
[2026-10-05 14:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791192353000,"timestamp_ms":1791192353000,"timestamp_seconds":1791192353,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6248e8"} 
[2026-10-05 14:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:57: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":28,"data_length":795,"current_offset":136} 
[2026-10-05 14:57:08] 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-10-05 14:57: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-10-05 14:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 14:57:08] 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-10-05 14:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 14:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 14:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545236992001,"66":13602,"100":206,"87":13824,"24":9,"16":139682554193117184,"45":8788774698255300608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 14:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 14:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 14:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545236992001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:57:08] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 14:57:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 14:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139682554193117184,"km_value":139682554193117.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788774698255300608,"description":"Unknown IO ID 45"} 
[2026-10-05 14:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545236992001,"power":13602,"unknown_100":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8788774698255300608}} 
[2026-10-05 14:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":207637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968024,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:57:08] local.INFO: GPS data processed {"connection_id":207637,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:57:08] local.INFO: Acknowledgment sent {"connection_id":207637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:57:10] local.INFO: TCP Data received {"connection_id":204566,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:57:10] local.INFO: Processing buffer {"connection_id":204566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:57:10] local.INFO: IMEI packet received {"connection_id":204566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":204566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:57:11] local.INFO: TCP Data received {"connection_id":204566,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b613390012d7d280005f1e210000d01622c..."} 
[2026-10-05 14:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b613390012d7d280005f1e210000d01622c..."} 
[2026-10-05 14:57:11] local.INFO: Processing buffer {"connection_id":204566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b613390012d7d280005f1e210000d01622c..."} 
[2026-10-05 14:57:11] local.INFO: Packet analysis {"connection_id":204566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b61"} 
[2026-10-05 14:57:11] local.INFO: Extracted packet for processing {"connection_id":204566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b61"} 
[2026-10-05 14:57:11] local.INFO: GPS Element Parsed {"raw_longitude":763176960,"raw_latitude":99738128,"longitude_deg":76.317696,"latitude_deg":9.9738128,"altitude":13,"angle":354,"satellites":44,"speed":33,"hex_longitude":"2d7d2800","hex_latitude":"05f1e210","is_valid_coordinates":true} 
[2026-10-05 14:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545221376001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2117354452418560,"note":"Value kept but may cause issues"} 
[2026-10-05 14:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019443441758566400,"note":"Value kept but may cause issues"} 
[2026-10-05 14:57:11] 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-10-05 14:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791192282000,"timestamp_ms":1791192282000,"timestamp_seconds":1791192282,"priority":1,"record_length":96,"hex_timestamp":"000001a10b613390"} 
[2026-10-05 14:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:57: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-10-05 14:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-05 14:57:11] 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-10-05 14:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545221376001,"66":27995,"28":206,"87":13056,"24":33,"16":2117354452418560,"45":9019443441758566400},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,87,24,16,45]} 
[2026-10-05 14:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545221376001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:57:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-10-05 14:57:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-10-05 14:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2117354452418560,"km_value":2117354452418.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019443441758566400,"description":"Unknown IO ID 45"} 
[2026-10-05 14:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545221376001,"power":27995,"unknown_28":206,"unknown_87":13056,"ignition":33,"odometer":null,"unknown_45":9019443441758566400}} 
[2026-10-05 14:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":204566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:57:11] local.INFO: GPS data processed {"connection_id":204566,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:57:11] local.INFO: Acknowledgment sent {"connection_id":204566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:57:30] local.INFO: TCP Data received {"connection_id":204690,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:57:30] local.INFO: Processing buffer {"connection_id":204690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:57:30] local.INFO: IMEI packet received {"connection_id":204690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 14:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":204690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:57:31] local.INFO: TCP Data received {"connection_id":204690,"ip":"42.106.6.25","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-05 14:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204690,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-05 14:57:31] local.INFO: Processing buffer {"connection_id":204690,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-05 14:57:31] local.INFO: IMEI packet received {"connection_id":204690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":204690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:57:32] local.INFO: TCP Data received {"connection_id":204690,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 14:57:32] local.INFO: Processing buffer {"connection_id":204690,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-05 14:57:32] local.INFO: IMEI packet received {"connection_id":204690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 14:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":204690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:57:54] local.INFO: TCP Data received {"connection_id":207638,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:57:54] local.INFO: Processing buffer {"connection_id":207638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:57:54] local.INFO: IMEI packet received {"connection_id":207638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":207638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:57:56] local.INFO: TCP Data received {"connection_id":207638,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:57:56] local.INFO: Processing buffer {"connection_id":207638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:57:56] local.INFO: IMEI packet received {"connection_id":207638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":207638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:57:59] local.INFO: TCP Data received {"connection_id":207638,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:57:59] local.INFO: Processing buffer {"connection_id":207638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:57:59] local.INFO: IMEI packet received {"connection_id":207638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":207638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:58:01] local.INFO: TCP Data received {"connection_id":207638,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b62d1a0012d7d070005f303f80008015e29..."} 
[2026-10-05 14:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b62d1a0012d7d070005f303f80008015e29..."} 
[2026-10-05 14:58:01] local.INFO: Processing buffer {"connection_id":207638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b62d1a0012d7d070005f303f80008015e29..."} 
[2026-10-05 14:58:01] local.INFO: Packet analysis {"connection_id":207638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b62"} 
[2026-10-05 14:58:01] local.INFO: Extracted packet for processing {"connection_id":207638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b62"} 
[2026-10-05 14:58:01] local.INFO: GPS Element Parsed {"raw_longitude":763168512,"raw_latitude":99812344,"longitude_deg":76.3168512,"latitude_deg":9.9812344,"altitude":8,"angle":350,"satellites":41,"speed":12,"hex_longitude":"2d7d0700","hex_latitude":"05f303f8","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545250816001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2120983699783680,"note":"Value kept but may cause issues"} 
[2026-10-05 14:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009310342618132480,"note":"Value kept but may cause issues"} 
[2026-10-05 14:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791192388000,"timestamp_ms":1791192388000,"timestamp_seconds":1791192388,"priority":1,"record_length":96,"hex_timestamp":"000001a10b62d1a0"} 
[2026-10-05 14:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:58: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-10-05 14:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-10-05 14:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:58: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-10-05 14:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545250816001,"66":27919,"249":206,"87":13056,"24":12,"16":2120983699783680,"45":9009310342618132480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,87,24,16,45]} 
[2026-10-05 14:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545250816001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:58:01] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-10-05 14:58:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-10-05 14:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2120983699783680,"km_value":2120983699783.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009310342618132480,"description":"Unknown IO ID 45"} 
[2026-10-05 14:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545250816001,"power":27919,"unknown_249":206,"unknown_87":13056,"ignition":12,"odometer":null,"unknown_45":9009310342618132480}} 
[2026-10-05 14:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":207638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:58:01] local.INFO: GPS data processed {"connection_id":207638,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:58:01] local.INFO: Acknowledgment sent {"connection_id":207638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:58:36] local.INFO: TCP Data received {"connection_id":207638,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6323a8012d7d034005f31f70000a015c24..."} 
[2026-10-05 14:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6323a8012d7d034005f31f70000a015c24..."} 
[2026-10-05 14:58:36] local.INFO: Processing buffer {"connection_id":207638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6323a8012d7d034005f31f70000a015c24..."} 
[2026-10-05 14:58:36] local.INFO: Packet analysis {"connection_id":207638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b63"} 
[2026-10-05 14:58:36] local.INFO: Extracted packet for processing {"connection_id":207638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b63"} 
[2026-10-05 14:58:36] local.INFO: GPS Element Parsed {"raw_longitude":763167552,"raw_latitude":99819376,"longitude_deg":76.3167552,"latitude_deg":9.9819376,"altitude":10,"angle":348,"satellites":36,"speed":4,"hex_longitude":"2d7d0340","hex_latitude":"05f31f70","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545251328001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2121327297167360,"note":"Value kept but may cause issues"} 
[2026-10-05 14:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009169605129926656,"note":"Value kept but may cause issues"} 
[2026-10-05 14:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 14:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791192409000,"timestamp_ms":1791192409000,"timestamp_seconds":1791192409,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6323a8"} 
[2026-10-05 14:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 14:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 14:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545251328001,"66":27930,"249":206,"87":13056,"24":4,"16":2121327297167360,"45":9009169605129926656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,87,24,16,45]} 
[2026-10-05 14:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545251328001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:58:36] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-10-05 14:58:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-10-05 14:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2121327297167360,"km_value":2121327297167.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009169605129926656,"description":"Unknown IO ID 45"} 
[2026-10-05 14:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545251328001,"power":27930,"unknown_249":206,"unknown_87":13056,"ignition":4,"odometer":null,"unknown_45":9009169605129926656}} 
[2026-10-05 14:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":207638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:58:36] local.INFO: GPS data processed {"connection_id":207638,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:58:36] local.INFO: Acknowledgment sent {"connection_id":207638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:58:54] local.INFO: TCP Data received {"connection_id":204568,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:58:54] local.INFO: Processing buffer {"connection_id":204568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:58:54] local.INFO: IMEI packet received {"connection_id":204568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":204568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 14:58:59] local.INFO: TCP Data received {"connection_id":204568,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:58:59] local.INFO: Processing buffer {"connection_id":204568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:58:59] local.INFO: IMEI packet received {"connection_id":204568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 14:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":204568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 14:59:01] local.INFO: TCP Data received {"connection_id":204568,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b636de0012d7cfe4005f342e8000b015e2a..."} 
[2026-10-05 14:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b636de0012d7cfe4005f342e8000b015e2a..."} 
[2026-10-05 14:59:01] local.INFO: Processing buffer {"connection_id":204568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b636de0012d7cfe4005f342e8000b015e2a..."} 
[2026-10-05 14:59:01] local.INFO: Packet analysis {"connection_id":204568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b63"} 
[2026-10-05 14:59:01] local.INFO: Extracted packet for processing {"connection_id":204568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b63"} 
[2026-10-05 14:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763166272,"raw_latitude":99828456,"longitude_deg":76.3166272,"latitude_deg":9.9828456,"altitude":11,"angle":350,"satellites":42,"speed":30,"hex_longitude":"2d7cfe40","hex_latitude":"05f342e8","is_valid_coordinates":true} 
[2026-10-05 14:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 14:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545256704001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2121773973766144,"note":"Value kept but may cause issues"} 
[2026-10-05 14:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008114073969061888,"note":"Value kept but may cause issues"} 
[2026-10-05 14:59:01] 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-10-05 14:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791192428000,"timestamp_ms":1791192428000,"timestamp_seconds":1791192428,"priority":1,"record_length":96,"hex_timestamp":"000001a10b636de0"} 
[2026-10-05 14:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:59: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-10-05 14:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-05 14:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 14:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:59: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-10-05 14:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545256704001,"66":27930,"250":206,"87":13056,"24":30,"16":2121773973766144,"45":9008114073969061888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-10-05 14:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545256704001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:59:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 14:59:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-10-05 14:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2121773973766144,"km_value":2121773973766.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008114073969061888,"description":"Unknown IO ID 45"} 
[2026-10-05 14:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545256704001,"power":27930,"unknown_250":206,"unknown_87":13056,"ignition":30,"odometer":null,"unknown_45":9008114073969061888}} 
[2026-10-05 14:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":204568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:59:01] local.INFO: GPS data processed {"connection_id":204568,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:59:01] local.INFO: Acknowledgment sent {"connection_id":204568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:59:31] local.INFO: TCP Data received {"connection_id":204568,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6394f0012d7cf84005f36780000b015e2a..."} 
[2026-10-05 14:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6394f0012d7cf84005f36780000b015e2a..."} 
[2026-10-05 14:59:31] local.INFO: Processing buffer {"connection_id":204568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6394f0012d7cf84005f36780000b015e2a..."} 
[2026-10-05 14:59:31] local.INFO: Packet analysis {"connection_id":204568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b63"} 
[2026-10-05 14:59:31] local.INFO: Extracted packet for processing {"connection_id":204568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b63"} 
[2026-10-05 14:59:31] local.INFO: GPS Element Parsed {"raw_longitude":763164736,"raw_latitude":99837824,"longitude_deg":76.3164736,"latitude_deg":9.9837824,"altitude":11,"angle":350,"satellites":42,"speed":41,"hex_longitude":"2d7cf840","hex_latitude":"05f36780","is_valid_coordinates":true} 
[2026-10-05 14: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-10-05 14:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545261568001,"note":"Value kept but may cause issues"} 
[2026-10-05 14:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2122233535266816,"note":"Value kept but may cause issues"} 
[2026-10-05 14:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006706699087833088,"note":"Value kept but may cause issues"} 
[2026-10-05 14:59:31] 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-10-05 14:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791192438000,"timestamp_ms":1791192438000,"timestamp_seconds":1791192438,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6394f0"} 
[2026-10-05 14:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 14:59: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-10-05 14:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-05 14:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 14: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-10-05 14:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 14:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 14:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 14:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 14:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 14:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 14:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 14:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545261568001,"66":27843,"250":206,"87":13056,"24":41,"16":2122233535266816,"45":9006706699087833088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-10-05 14:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 14:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 14:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545261568001,"description":"Unknown IO ID 0"} 
[2026-10-05 14:59:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 14:59:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-10-05 14:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2122233535266816,"km_value":2122233535266.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 14:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006706699087833088,"description":"Unknown IO ID 45"} 
[2026-10-05 14:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545261568001,"power":27843,"unknown_250":206,"unknown_87":13056,"ignition":41,"odometer":null,"unknown_45":9006706699087833088}} 
[2026-10-05 14:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":204568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 14:59:31] local.INFO: GPS data processed {"connection_id":204568,"processed":1,"errors":0,"total":1} 
[2026-10-05 14:59:31] local.INFO: Acknowledgment sent {"connection_id":204568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 14:59:54] local.INFO: TCP Data received {"connection_id":204569,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:59:54] local.INFO: Processing buffer {"connection_id":204569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 14:59:54] local.INFO: IMEI packet received {"connection_id":204569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 14:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":204569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:00:00] local.INFO: TCP Data received {"connection_id":204569,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:00:00] local.INFO: Processing buffer {"connection_id":204569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:00:00] local.INFO: IMEI packet received {"connection_id":204569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":204569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:00:00] local.INFO: TCP Data received {"connection_id":204569,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b64fc50012d7cba8005f4d700000a015c26..."} 
[2026-10-05 15:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b64fc50012d7cba8005f4d700000a015c26..."} 
[2026-10-05 15:00:00] local.INFO: Processing buffer {"connection_id":204569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b64fc50012d7cba8005f4d700000a015c26..."} 
[2026-10-05 15:00:00] local.INFO: Packet analysis {"connection_id":204569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b64"} 
[2026-10-05 15:00:00] local.INFO: Extracted packet for processing {"connection_id":204569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b64"} 
[2026-10-05 15:00:00] local.INFO: GPS Element Parsed {"raw_longitude":763148928,"raw_latitude":99931904,"longitude_deg":76.3148928,"latitude_deg":9.9931904,"altitude":10,"angle":348,"satellites":38,"speed":46,"hex_longitude":"2d7cba80","hex_latitude":"05f4d700","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545285632001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2126859215044608,"note":"Value kept but may cause issues"} 
[2026-10-05 15:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8989395988044296192,"note":"Value kept but may cause issues"} 
[2026-10-05 15:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791192530000,"timestamp_ms":1791192530000,"timestamp_seconds":1791192530,"priority":1,"record_length":96,"hex_timestamp":"000001a10b64fc50"} 
[2026-10-05 15:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:00: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-10-05 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 15:00: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-10-05 15: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-10-05 15:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:00: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-10-05 15:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545285632001,"66":27974,"148":206,"87":12800,"24":46,"16":2126859215044608,"45":8989395988044296192},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,87,24,16,45]} 
[2026-10-05 15:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545285632001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:00:00] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-10-05 15:00:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 15:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2126859215044608,"km_value":2126859215044.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8989395988044296192,"description":"Unknown IO ID 45"} 
[2026-10-05 15:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545285632001,"power":27974,"unknown_148":206,"unknown_87":12800,"ignition":46,"odometer":null,"unknown_45":8989395988044296192}} 
[2026-10-05 15:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":204569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:00:01] local.INFO: GPS data processed {"connection_id":204569,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:00:01] local.INFO: Acknowledgment sent {"connection_id":204569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:00:32] local.INFO: TCP Data received {"connection_id":204569,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b651f78012d7cb50005f4f9b80009015f28..."} 
[2026-10-05 15:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b651f78012d7cb50005f4f9b80009015f28..."} 
[2026-10-05 15:00:32] local.INFO: Processing buffer {"connection_id":204569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b651f78012d7cb50005f4f9b80009015f28..."} 
[2026-10-05 15:00:32] local.INFO: Packet analysis {"connection_id":204569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b65"} 
[2026-10-05 15:00:32] local.INFO: Extracted packet for processing {"connection_id":204569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b65"} 
[2026-10-05 15:00:32] local.INFO: GPS Element Parsed {"raw_longitude":763147520,"raw_latitude":99940792,"longitude_deg":76.314752,"latitude_deg":9.9940792,"altitude":9,"angle":351,"satellites":40,"speed":25,"hex_longitude":"2d7cb500","hex_latitude":"05f4f9b8","is_valid_coordinates":true} 
[2026-10-05 15:00: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-10-05 15:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545287680001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2127297301708800,"note":"Value kept but may cause issues"} 
[2026-10-05 15:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987636769442168832,"note":"Value kept but may cause issues"} 
[2026-10-05 15:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791192539000,"timestamp_ms":1791192539000,"timestamp_seconds":1791192539,"priority":1,"record_length":96,"hex_timestamp":"000001a10b651f78"} 
[2026-10-05 15:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:00: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-10-05 15:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 15:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:00: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-10-05 15:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545287680001,"66":27767,"148":206,"87":12800,"24":25,"16":2127297301708800,"45":8987636769442168832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,87,24,16,45]} 
[2026-10-05 15:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545287680001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:00:32] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-10-05 15:00:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 15:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2127297301708800,"km_value":2127297301708.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987636769442168832,"description":"Unknown IO ID 45"} 
[2026-10-05 15:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545287680001,"power":27767,"unknown_148":206,"unknown_87":12800,"ignition":25,"odometer":null,"unknown_45":8987636769442168832}} 
[2026-10-05 15:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":204569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:00:32] local.INFO: GPS data processed {"connection_id":204569,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:00:32] local.INFO: Acknowledgment sent {"connection_id":204569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:00:54] local.INFO: TCP Data received {"connection_id":204693,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204693,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:00:54] local.INFO: Processing buffer {"connection_id":204693,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:00:54] local.INFO: IMEI packet received {"connection_id":204693,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 15:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":204693,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:01:02] local.INFO: TCP Data received {"connection_id":206103,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:01:02] local.INFO: Processing buffer {"connection_id":206103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:01:02] local.INFO: IMEI packet received {"connection_id":206103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":206103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:01:03] local.INFO: TCP Data received {"connection_id":206103,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:01:03] local.INFO: Processing buffer {"connection_id":206103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:01:03] local.INFO: IMEI packet received {"connection_id":206103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":206103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:01:04] local.INFO: TCP Data received {"connection_id":206103,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:01:04] local.INFO: Processing buffer {"connection_id":206103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:01:04] local.INFO: IMEI packet received {"connection_id":206103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":206103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:01:05] local.INFO: TCP Data received {"connection_id":206103,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b655628012d7caf4005f51e200009015d2b..."} 
[2026-10-05 15:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b655628012d7caf4005f51e200009015d2b..."} 
[2026-10-05 15:01:05] local.INFO: Processing buffer {"connection_id":206103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b655628012d7caf4005f51e200009015d2b..."} 
[2026-10-05 15:01:05] local.INFO: Packet analysis {"connection_id":206103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b65"} 
[2026-10-05 15:01:05] local.INFO: Extracted packet for processing {"connection_id":206103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b65"} 
[2026-10-05 15:01:05] local.INFO: GPS Element Parsed {"raw_longitude":763146048,"raw_latitude":99950112,"longitude_deg":76.3146048,"latitude_deg":9.9950112,"altitude":9,"angle":349,"satellites":43,"speed":29,"hex_longitude":"2d7caf40","hex_latitude":"05f51e20","is_valid_coordinates":true} 
[2026-10-05 15:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545289984001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2127752568242176,"note":"Value kept but may cause issues"} 
[2026-10-05 15:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8986088657072535552,"note":"Value kept but may cause issues"} 
[2026-10-05 15:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791192553000,"timestamp_ms":1791192553000,"timestamp_seconds":1791192553,"priority":1,"record_length":96,"hex_timestamp":"000001a10b655628"} 
[2026-10-05 15:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-05 15:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":206103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":206103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":206103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545289984001,"66":27919,"165":206,"87":12800,"24":29,"16":2127752568242176,"45":8986088657072535552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,87,24,16,45]} 
[2026-10-05 15:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545289984001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:01:05] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-05 15:01:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 15:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2127752568242176,"km_value":2127752568242.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8986088657072535552,"description":"Unknown IO ID 45"} 
[2026-10-05 15:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545289984001,"power":27919,"unknown_165":206,"unknown_87":12800,"ignition":29,"odometer":null,"unknown_45":8986088657072535552}} 
[2026-10-05 15:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":206103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:01:05] local.INFO: GPS data processed {"connection_id":206103,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:01:05] local.INFO: Acknowledgment sent {"connection_id":206103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:01:13] local.INFO: TCP Data received {"connection_id":206103,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b657d38012d7ca98005f541900008015c29..."} 
[2026-10-05 15:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b657d38012d7ca98005f541900008015c29..."} 
[2026-10-05 15:01:13] local.INFO: Processing buffer {"connection_id":206103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b657d38012d7ca98005f541900008015c29..."} 
[2026-10-05 15:01:13] local.INFO: Packet analysis {"connection_id":206103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b65"} 
[2026-10-05 15:01:13] local.INFO: Extracted packet for processing {"connection_id":206103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b65"} 
[2026-10-05 15:01:13] local.INFO: GPS Element Parsed {"raw_longitude":763144576,"raw_latitude":99959184,"longitude_deg":76.3144576,"latitude_deg":9.9959184,"altitude":8,"angle":348,"satellites":41,"speed":39,"hex_longitude":"2d7ca980","hex_latitude":"05f54190","is_valid_coordinates":true} 
[2026-10-05 15:01: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-10-05 15:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545293568001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2128199244840960,"note":"Value kept but may cause issues"} 
[2026-10-05 15:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984470175958835200,"note":"Value kept but may cause issues"} 
[2026-10-05 15:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791192563000,"timestamp_ms":1791192563000,"timestamp_seconds":1791192563,"priority":1,"record_length":96,"hex_timestamp":"000001a10b657d38"} 
[2026-10-05 15:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:01: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-10-05 15:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 15:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:01: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-10-05 15:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":206103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":206103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":206103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545293568001,"66":27908,"165":206,"87":12800,"24":39,"16":2128199244840960,"45":8984470175958835200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,87,24,16,45]} 
[2026-10-05 15:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545293568001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:01:13] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-05 15:01:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 15:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2128199244840960,"km_value":2128199244840.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984470175958835200,"description":"Unknown IO ID 45"} 
[2026-10-05 15:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545293568001,"power":27908,"unknown_165":206,"unknown_87":12800,"ignition":39,"odometer":null,"unknown_45":8984470175958835200}} 
[2026-10-05 15:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":206103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:01:13] local.INFO: GPS data processed {"connection_id":206103,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:01:13] local.INFO: Acknowledgment sent {"connection_id":206103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:01:32] local.INFO: TCP Data received {"connection_id":207640,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207640,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:01:32] local.INFO: Processing buffer {"connection_id":207640,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:01:32] local.INFO: IMEI packet received {"connection_id":207640,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 15:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":207640,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:01:55] local.INFO: TCP Data received {"connection_id":207641,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:01:55] local.INFO: Processing buffer {"connection_id":207641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:01:55] local.INFO: IMEI packet received {"connection_id":207641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":207641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:01:55] local.INFO: TCP Data received {"connection_id":207641,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:01:55] local.INFO: Processing buffer {"connection_id":207641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:01:55] local.INFO: IMEI packet received {"connection_id":207641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":207641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:02:00] local.INFO: TCP Data received {"connection_id":207641,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:02:00] local.INFO: Processing buffer {"connection_id":207641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:02:00] local.INFO: IMEI packet received {"connection_id":207641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":207641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:02:00] local.INFO: TCP Data received {"connection_id":207641,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b65a448012d7ca30005f565d80009015e28..."} 
[2026-10-05 15:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b65a448012d7ca30005f565d80009015e28..."} 
[2026-10-05 15:02:00] local.INFO: Processing buffer {"connection_id":207641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b65a448012d7ca30005f565d80009015e28..."} 
[2026-10-05 15:02:00] local.INFO: Packet analysis {"connection_id":207641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b65"} 
[2026-10-05 15:02:00] local.INFO: Extracted packet for processing {"connection_id":207641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b65"} 
[2026-10-05 15:02:00] local.INFO: GPS Element Parsed {"raw_longitude":763142912,"raw_latitude":99968472,"longitude_deg":76.3142912,"latitude_deg":9.9968472,"altitude":9,"angle":350,"satellites":40,"speed":38,"hex_longitude":"2d7ca300","hex_latitude":"05f565d8","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545296128001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2128654511374336,"note":"Value kept but may cause issues"} 
[2026-10-05 15:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982851694845071360,"note":"Value kept but may cause issues"} 
[2026-10-05 15:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791192573000,"timestamp_ms":1791192573000,"timestamp_seconds":1791192573,"priority":1,"record_length":96,"hex_timestamp":"000001a10b65a448"} 
[2026-10-05 15:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:02: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-10-05 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 15:02: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-10-05 15: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-10-05 15:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:02: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-10-05 15:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545296128001,"66":27745,"165":206,"87":12800,"24":38,"16":2128654511374336,"45":8982851694845071360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,87,24,16,45]} 
[2026-10-05 15:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545296128001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:02:00] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-05 15:02:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 15:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2128654511374336,"km_value":2128654511374.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982851694845071360,"description":"Unknown IO ID 45"} 
[2026-10-05 15:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545296128001,"power":27745,"unknown_165":206,"unknown_87":12800,"ignition":38,"odometer":null,"unknown_45":8982851694845071360}} 
[2026-10-05 15:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":207641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:02:00] local.INFO: GPS data processed {"connection_id":207641,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:02:00] local.INFO: Acknowledgment sent {"connection_id":207641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:02:06] local.INFO: TCP Data received {"connection_id":207641,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b65cb58012d7c9cc005f588380009015e22..."} 
[2026-10-05 15:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b65cb58012d7c9cc005f588380009015e22..."} 
[2026-10-05 15:02:06] local.INFO: Processing buffer {"connection_id":207641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b65cb58012d7c9cc005f588380009015e22..."} 
[2026-10-05 15:02:06] local.INFO: Packet analysis {"connection_id":207641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b65"} 
[2026-10-05 15:02:06] local.INFO: Extracted packet for processing {"connection_id":207641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b65"} 
[2026-10-05 15:02:06] local.INFO: GPS Element Parsed {"raw_longitude":763141312,"raw_latitude":99977272,"longitude_deg":76.3141312,"latitude_deg":9.9977272,"altitude":9,"angle":350,"satellites":34,"speed":34,"hex_longitude":"2d7c9cc0","hex_latitude":"05f58838","is_valid_coordinates":true} 
[2026-10-05 15:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545298688001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2129092598038528,"note":"Value kept but may cause issues"} 
[2026-10-05 15:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981022107498829824,"note":"Value kept but may cause issues"} 
[2026-10-05 15:02:06] 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-10-05 15:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791192583000,"timestamp_ms":1791192583000,"timestamp_seconds":1791192583,"priority":1,"record_length":96,"hex_timestamp":"000001a10b65cb58"} 
[2026-10-05 15:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 15:02:06] 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-10-05 15:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545298688001,"66":28028,"164":206,"87":12800,"24":34,"16":2129092598038528,"45":8981022107498829824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,87,24,16,45]} 
[2026-10-05 15:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545298688001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:02:07] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-10-05 15:02:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 15:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2129092598038528,"km_value":2129092598038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981022107498829824,"description":"Unknown IO ID 45"} 
[2026-10-05 15:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545298688001,"power":28028,"unknown_164":206,"unknown_87":12800,"ignition":34,"odometer":null,"unknown_45":8981022107498829824}} 
[2026-10-05 15:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":207641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:02:07] local.INFO: GPS data processed {"connection_id":207641,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:02:07] local.INFO: Acknowledgment sent {"connection_id":207641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:02:36] local.INFO: TCP Data received {"connection_id":206105,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:02:36] local.INFO: Processing buffer {"connection_id":206105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:02:36] local.INFO: IMEI packet received {"connection_id":206105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":206105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:02:37] local.INFO: TCP Data received {"connection_id":206105,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a10b63b430012d79f48005ecb060000d003423..."} 
[2026-10-05 15:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b63b430012d79f48005ecb060000d003423..."} 
[2026-10-05 15:02:37] local.INFO: Processing buffer {"connection_id":206105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b63b430012d79f48005ecb060000d003423..."} 
[2026-10-05 15:02:37] local.INFO: Packet analysis {"connection_id":206105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b63"} 
[2026-10-05 15:02:37] local.INFO: Extracted packet for processing {"connection_id":206105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b63"} 
[2026-10-05 15:02:37] local.INFO: GPS Element Parsed {"raw_longitude":762967168,"raw_latitude":99397728,"longitude_deg":76.2967168,"latitude_deg":9.9397728,"altitude":13,"angle":52,"satellites":35,"speed":0,"hex_longitude":"2d79f480","hex_latitude":"05ecb060","is_valid_coordinates":true} 
[2026-10-05 15:02:37] 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-10-05 15:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545266176001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787789535840854016,"note":"Value kept but may cause issues"} 
[2026-10-05 15:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791192446000,"timestamp_ms":1791192446000,"timestamp_seconds":1791192446,"priority":1,"record_length":96,"hex_timestamp":"000001a10b63b430"} 
[2026-10-05 15:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-05 15:02:37] 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-10-05 15:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545266176001,"66":13852,"100":206,"87":13824,"24":0,"16":139683344467099648,"45":8787789535840854016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545266176001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:02:37] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:02:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787789535840854016,"description":"Unknown IO ID 45"} 
[2026-10-05 15:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545266176001,"power":13852,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787789535840854016}} 
[2026-10-05 15:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":206105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:02:37] local.INFO: GPS data processed {"connection_id":206105,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:02:37] local.INFO: Acknowledgment sent {"connection_id":206105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:02:40] local.INFO: TCP Data received {"connection_id":207641,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b65f268012d7c978005f5ab10000b015e22..."} 
[2026-10-05 15:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b65f268012d7c978005f5ab10000b015e22..."} 
[2026-10-05 15:02:40] local.INFO: Processing buffer {"connection_id":207641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b65f268012d7c978005f5ab10000b015e22..."} 
[2026-10-05 15:02:40] local.INFO: Packet analysis {"connection_id":207641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b65"} 
[2026-10-05 15:02:40] local.INFO: Extracted packet for processing {"connection_id":207641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b65"} 
[2026-10-05 15:02:40] local.INFO: GPS Element Parsed {"raw_longitude":763139968,"raw_latitude":99986192,"longitude_deg":76.3139968,"latitude_deg":9.9986192,"altitude":11,"angle":350,"satellites":34,"speed":30,"hex_longitude":"2d7c9780","hex_latitude":"05f5ab10","is_valid_coordinates":true} 
[2026-10-05 15:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545301248001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2129526389735424,"note":"Value kept but may cause issues"} 
[2026-10-05 15:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979262888896641024,"note":"Value kept but may cause issues"} 
[2026-10-05 15:02:40] 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-10-05 15:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791192593000,"timestamp_ms":1791192593000,"timestamp_seconds":1791192593,"priority":1,"record_length":96,"hex_timestamp":"000001a10b65f268"} 
[2026-10-05 15:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-10-05 15:02:40] 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-10-05 15:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":207641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":207641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":207641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545301248001,"66":28158,"164":206,"87":12800,"24":30,"16":2129526389735424,"45":8979262888896641024},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,87,24,16,45]} 
[2026-10-05 15:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545301248001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:02:40] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-10-05 15:02:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 15:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2129526389735424,"km_value":2129526389735.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979262888896641024,"description":"Unknown IO ID 45"} 
[2026-10-05 15:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545301248001,"power":28158,"unknown_164":206,"unknown_87":12800,"ignition":30,"odometer":null,"unknown_45":8979262888896641024}} 
[2026-10-05 15:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":207641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:02:40] local.INFO: GPS data processed {"connection_id":207641,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:02:40] local.INFO: Acknowledgment sent {"connection_id":207641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:03:00] local.INFO: TCP Data received {"connection_id":204695,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:03:00] local.INFO: Processing buffer {"connection_id":204695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:03:00] local.INFO: IMEI packet received {"connection_id":204695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":204695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:03:03] local.INFO: TCP Data received {"connection_id":204571,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:03:03] local.INFO: Processing buffer {"connection_id":204571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:03:03] local.INFO: IMEI packet received {"connection_id":204571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":204571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:03:05] local.INFO: TCP Data received {"connection_id":204695,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:03:05] local.INFO: Processing buffer {"connection_id":204695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:03:05] local.INFO: IMEI packet received {"connection_id":204695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":204695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:03:06] local.INFO: TCP Data received {"connection_id":204695,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b67cef8012d7c5a4005f72e400009015e2b..."} 
[2026-10-05 15:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b67cef8012d7c5a4005f72e400009015e2b..."} 
[2026-10-05 15:03:06] local.INFO: Processing buffer {"connection_id":204695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b67cef8012d7c5a4005f72e400009015e2b..."} 
[2026-10-05 15:03:06] local.INFO: Packet analysis {"connection_id":204695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b67"} 
[2026-10-05 15:03:06] local.INFO: Extracted packet for processing {"connection_id":204695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b67"} 
[2026-10-05 15:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763124288,"raw_latitude":100085312,"longitude_deg":76.3124288,"latitude_deg":10.0085312,"altitude":9,"angle":350,"satellites":43,"speed":48,"hex_longitude":"2d7c5a40","hex_latitude":"05f72e40","is_valid_coordinates":true} 
[2026-10-05 15:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545333248001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2134396882649088,"note":"Value kept but may cause issues"} 
[2026-10-05 15:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962163284086759424,"note":"Value kept but may cause issues"} 
[2026-10-05 15:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791192715000,"timestamp_ms":1791192715000,"timestamp_seconds":1791192715,"priority":1,"record_length":96,"hex_timestamp":"000001a10b67cef8"} 
[2026-10-05 15:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-05 15:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:03: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-10-05 15:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545333248001,"66":27974,"144":206,"87":12800,"24":48,"16":2134396882649088,"45":8962163284086759424},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-10-05 15:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545333248001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:03:06] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-05 15:03:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 15:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2134396882649088,"km_value":2134396882649.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962163284086759424,"description":"Unknown IO ID 45"} 
[2026-10-05 15:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545333248001,"power":27974,"unknown_144":206,"unknown_87":12800,"ignition":48,"odometer":null,"unknown_45":8962163284086759424}} 
[2026-10-05 15:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":204695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:03:06] local.INFO: GPS data processed {"connection_id":204695,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:03:06] local.INFO: Acknowledgment sent {"connection_id":204695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:03:07] local.INFO: TCP Data received {"connection_id":204571,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:03:07] local.INFO: Processing buffer {"connection_id":204571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:03:07] local.INFO: IMEI packet received {"connection_id":204571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":204571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:03:08] local.INFO: TCP Data received {"connection_id":206105,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a10b63bc00012d79f48005ecb060000d003424..."} 
[2026-10-05 15:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b63bc00012d79f48005ecb060000d003424..."} 
[2026-10-05 15:03:08] local.INFO: Processing buffer {"connection_id":206105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b63bc00012d79f48005ecb060000d003424..."} 
[2026-10-05 15:03:08] local.INFO: Packet analysis {"connection_id":206105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b63"} 
[2026-10-05 15:03:08] local.INFO: Extracted packet for processing {"connection_id":206105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b63"} 
[2026-10-05 15:03:08] local.INFO: GPS Element Parsed {"raw_longitude":762967168,"raw_latitude":99397728,"longitude_deg":76.2967168,"latitude_deg":9.9397728,"altitude":13,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d79f480","hex_latitude":"05ecb060","is_valid_coordinates":true} 
[2026-10-05 15:03: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-10-05 15:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545266176001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787789535840854016,"note":"Value kept but may cause issues"} 
[2026-10-05 15:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791192448000,"timestamp_ms":1791192448000,"timestamp_seconds":1791192448,"priority":1,"record_length":96,"hex_timestamp":"000001a10b63bc00"} 
[2026-10-05 15:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:03: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-10-05 15: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-05 15:03:08] 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-10-05 15: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-10-05 15:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545266176001,"66":13493,"100":206,"87":13824,"24":0,"16":139683344467099648,"45":8787789535840854016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545266176001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:03:08] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:03:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787789535840854016,"description":"Unknown IO ID 45"} 
[2026-10-05 15:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545266176001,"power":13493,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787789535840854016}} 
[2026-10-05 15:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":206105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:03:08] local.INFO: GPS data processed {"connection_id":206105,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:03:08] local.INFO: Acknowledgment sent {"connection_id":206105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:03:36] local.INFO: TCP Data received {"connection_id":204572,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:03:36] local.INFO: Processing buffer {"connection_id":204572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:03:36] local.INFO: IMEI packet received {"connection_id":204572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":204572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:03:37] local.INFO: TCP Data received {"connection_id":204695,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b67f220012d7c53c005f753780008015b24..."} 
[2026-10-05 15:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b67f220012d7c53c005f753780008015b24..."} 
[2026-10-05 15:03:37] local.INFO: Processing buffer {"connection_id":204695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b67f220012d7c53c005f753780008015b24..."} 
[2026-10-05 15:03:37] local.INFO: Packet analysis {"connection_id":204695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b67"} 
[2026-10-05 15:03:37] local.INFO: Extracted packet for processing {"connection_id":204695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b67"} 
[2026-10-05 15:03:37] local.INFO: GPS Element Parsed {"raw_longitude":763122624,"raw_latitude":100094840,"longitude_deg":76.3122624,"latitude_deg":10.009484,"altitude":8,"angle":347,"satellites":36,"speed":42,"hex_longitude":"2d7c53c0","hex_latitude":"05f75378","is_valid_coordinates":true} 
[2026-10-05 15:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545335040001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2134865034084352,"note":"Value kept but may cause issues"} 
[2026-10-05 15:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8960544802973040640,"note":"Value kept but may cause issues"} 
[2026-10-05 15:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791192724000,"timestamp_ms":1791192724000,"timestamp_seconds":1791192724,"priority":1,"record_length":96,"hex_timestamp":"000001a10b67f220"} 
[2026-10-05 15:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 15:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545335040001,"66":28006,"144":206,"87":12800,"24":42,"16":2134865034084352,"45":8960544802973040640},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-10-05 15:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545335040001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:03:37] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-05 15:03:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 15:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2134865034084352,"km_value":2134865034084.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8960544802973040640,"description":"Unknown IO ID 45"} 
[2026-10-05 15:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545335040001,"power":28006,"unknown_144":206,"unknown_87":12800,"ignition":42,"odometer":null,"unknown_45":8960544802973040640}} 
[2026-10-05 15:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":204695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:03:37] local.INFO: GPS data processed {"connection_id":204695,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:03:37] local.INFO: Acknowledgment sent {"connection_id":204695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:03:41] local.INFO: TCP Data received {"connection_id":204572,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:03:41] local.INFO: Processing buffer {"connection_id":204572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:03:41] local.INFO: IMEI packet received {"connection_id":204572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":204572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:03:42] local.INFO: TCP Data received {"connection_id":204572,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a10b63bc00012d79f48005ecb060000d003424..."} 
[2026-10-05 15:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b63bc00012d79f48005ecb060000d003424..."} 
[2026-10-05 15:03:42] local.INFO: Processing buffer {"connection_id":204572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b63bc00012d79f48005ecb060000d003424..."} 
[2026-10-05 15:03:42] local.INFO: Packet analysis {"connection_id":204572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b63"} 
[2026-10-05 15:03:42] local.INFO: Extracted packet for processing {"connection_id":204572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b63"} 
[2026-10-05 15:03:42] local.INFO: GPS Element Parsed {"raw_longitude":762967168,"raw_latitude":99397728,"longitude_deg":76.2967168,"latitude_deg":9.9397728,"altitude":13,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d79f480","hex_latitude":"05ecb060","is_valid_coordinates":true} 
[2026-10-05 15:03:42] 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-10-05 15:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545266688001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787789535840854016,"note":"Value kept but may cause issues"} 
[2026-10-05 15:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791192448000,"timestamp_ms":1791192448000,"timestamp_seconds":1791192448,"priority":1,"record_length":96,"hex_timestamp":"000001a10b63bc00"} 
[2026-10-05 15:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:03: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":181,"data_length":795,"current_offset":136} 
[2026-10-05 15:03:42] 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-10-05 15:03: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-10-05 15:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545266688001,"66":13493,"100":206,"87":13824,"24":0,"16":139683344467099648,"45":8787789535840854016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545266688001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:03:42] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:03:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787789535840854016,"description":"Unknown IO ID 45"} 
[2026-10-05 15:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545266688001,"power":13493,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787789535840854016}} 
[2026-10-05 15:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":204572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968041,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:03:42] local.INFO: GPS data processed {"connection_id":204572,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:03:42] local.INFO: Acknowledgment sent {"connection_id":204572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:03:46] local.INFO: TCP Data received {"connection_id":204572,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a10b63c3d0012d79f48005ecb060000d003425..."} 
[2026-10-05 15:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b63c3d0012d79f48005ecb060000d003425..."} 
[2026-10-05 15:03:46] local.INFO: Processing buffer {"connection_id":204572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b63c3d0012d79f48005ecb060000d003425..."} 
[2026-10-05 15:03:46] local.INFO: Packet analysis {"connection_id":204572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b63"} 
[2026-10-05 15:03:46] local.INFO: Extracted packet for processing {"connection_id":204572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b63"} 
[2026-10-05 15:03:46] local.INFO: GPS Element Parsed {"raw_longitude":762967168,"raw_latitude":99397728,"longitude_deg":76.2967168,"latitude_deg":9.9397728,"altitude":13,"angle":52,"satellites":37,"speed":0,"hex_longitude":"2d79f480","hex_latitude":"05ecb060","is_valid_coordinates":true} 
[2026-10-05 15:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545266688001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787789535840854016,"note":"Value kept but may cause issues"} 
[2026-10-05 15:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791192450000,"timestamp_ms":1791192450000,"timestamp_seconds":1791192450,"priority":1,"record_length":96,"hex_timestamp":"000001a10b63c3d0"} 
[2026-10-05 15:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-10-05 15:03:46] 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-10-05 15:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545266688001,"66":12776,"118":206,"87":13824,"24":0,"16":139683344467099648,"45":8787789535840854016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545266688001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:03:46] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:03:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787789535840854016,"description":"Unknown IO ID 45"} 
[2026-10-05 15:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545266688001,"power":12776,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787789535840854016}} 
[2026-10-05 15:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":204572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:03:46] local.INFO: GPS data processed {"connection_id":204572,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:03:46] local.INFO: Acknowledgment sent {"connection_id":204572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:03:54] local.INFO: TCP Data received {"connection_id":204696,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:03:54] local.INFO: Processing buffer {"connection_id":204696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:03:54] local.INFO: IMEI packet received {"connection_id":204696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":204696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:04:00] local.INFO: TCP Data received {"connection_id":204696,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:04:00] local.INFO: Processing buffer {"connection_id":204696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:04:00] local.INFO: IMEI packet received {"connection_id":204696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":204696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:04:00] local.INFO: TCP Data received {"connection_id":204696,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b681160012d7c4d4005f778a80008015e26..."} 
[2026-10-05 15:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b681160012d7c4d4005f778a80008015e26..."} 
[2026-10-05 15:04:00] local.INFO: Processing buffer {"connection_id":204696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b681160012d7c4d4005f778a80008015e26..."} 
[2026-10-05 15:04:00] local.INFO: Packet analysis {"connection_id":204696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b68"} 
[2026-10-05 15:04:00] local.INFO: Extracted packet for processing {"connection_id":204696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b68"} 
[2026-10-05 15:04:00] local.INFO: GPS Element Parsed {"raw_longitude":763120960,"raw_latitude":100104360,"longitude_deg":76.312096,"latitude_deg":10.010436,"altitude":8,"angle":350,"satellites":38,"speed":52,"hex_longitude":"2d7c4d40","hex_latitude":"05f778a8","is_valid_coordinates":true} 
[2026-10-05 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-10-05 15:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545337344001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2135333185519616,"note":"Value kept but may cause issues"} 
[2026-10-05 15:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8958715215626860544,"note":"Value kept but may cause issues"} 
[2026-10-05 15:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791192732000,"timestamp_ms":1791192732000,"timestamp_seconds":1791192732,"priority":1,"record_length":96,"hex_timestamp":"000001a10b681160"} 
[2026-10-05 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-10-05 15:04: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-10-05 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 15:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 15:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15: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-10-05 15:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545337344001,"66":28006,"144":206,"87":12800,"24":52,"16":2135333185519616,"45":8958715215626860544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-10-05 15:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545337344001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:04:00] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-05 15:04:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 15:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2135333185519616,"km_value":2135333185519.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8958715215626860544,"description":"Unknown IO ID 45"} 
[2026-10-05 15:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545337344001,"power":28006,"unknown_144":206,"unknown_87":12800,"ignition":52,"odometer":null,"unknown_45":8958715215626860544}} 
[2026-10-05 15:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":204696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:04:00] local.INFO: GPS data processed {"connection_id":204696,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:04:00] local.INFO: Acknowledgment sent {"connection_id":204696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:04:31] local.INFO: TCP Data received {"connection_id":206106,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:04:31] local.INFO: Processing buffer {"connection_id":206106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:04:31] local.INFO: IMEI packet received {"connection_id":206106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":206106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:04:32] local.INFO: TCP Data received {"connection_id":204696,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6830a0012d7c484005f79d70000b015e25..."} 
[2026-10-05 15:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6830a0012d7c484005f79d70000b015e25..."} 
[2026-10-05 15:04:32] local.INFO: Processing buffer {"connection_id":204696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6830a0012d7c484005f79d70000b015e25..."} 
[2026-10-05 15:04:32] local.INFO: Packet analysis {"connection_id":204696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b68"} 
[2026-10-05 15:04:32] local.INFO: Extracted packet for processing {"connection_id":204696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b68"} 
[2026-10-05 15:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763119680,"raw_latitude":100113776,"longitude_deg":76.311968,"latitude_deg":10.0113776,"altitude":11,"angle":350,"satellites":37,"speed":40,"hex_longitude":"2d7c4840","hex_latitude":"05f79d70","is_valid_coordinates":true} 
[2026-10-05 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-10-05 15:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545339392001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2135792747020288,"note":"Value kept but may cause issues"} 
[2026-10-05 15:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8956885628280678400,"note":"Value kept but may cause issues"} 
[2026-10-05 15:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791192740000,"timestamp_ms":1791192740000,"timestamp_seconds":1791192740,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6830a0"} 
[2026-10-05 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-10-05 15:04: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-10-05 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 15:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 15:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545339392001,"66":27887,"144":206,"87":12800,"24":40,"16":2135792747020288,"45":8956885628280678400},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-10-05 15:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545339392001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:04:32] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-05 15:04:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 15:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2135792747020288,"km_value":2135792747020.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8956885628280678400,"description":"Unknown IO ID 45"} 
[2026-10-05 15:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545339392001,"power":27887,"unknown_144":206,"unknown_87":12800,"ignition":40,"odometer":null,"unknown_45":8956885628280678400}} 
[2026-10-05 15:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":204696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:04:32] local.INFO: GPS data processed {"connection_id":204696,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:04:32] local.INFO: Acknowledgment sent {"connection_id":204696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:04:36] local.INFO: TCP Data received {"connection_id":206106,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:04:36] local.INFO: Processing buffer {"connection_id":206106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:04:36] local.INFO: IMEI packet received {"connection_id":206106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":206106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:04:37] local.INFO: TCP Data received {"connection_id":206106,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a10b63c3d0012d79f48005ecb060000d003425..."} 
[2026-10-05 15:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b63c3d0012d79f48005ecb060000d003425..."} 
[2026-10-05 15:04:37] local.INFO: Processing buffer {"connection_id":206106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b63c3d0012d79f48005ecb060000d003425..."} 
[2026-10-05 15:04:37] local.INFO: Packet analysis {"connection_id":206106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b63"} 
[2026-10-05 15:04:37] local.INFO: Extracted packet for processing {"connection_id":206106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b63"} 
[2026-10-05 15:04:37] local.INFO: GPS Element Parsed {"raw_longitude":762967168,"raw_latitude":99397728,"longitude_deg":76.2967168,"latitude_deg":9.9397728,"altitude":13,"angle":52,"satellites":37,"speed":0,"hex_longitude":"2d79f480","hex_latitude":"05ecb060","is_valid_coordinates":true} 
[2026-10-05 15:04:37] 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-10-05 15:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545267200001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787789535840854016,"note":"Value kept but may cause issues"} 
[2026-10-05 15:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791192450000,"timestamp_ms":1791192450000,"timestamp_seconds":1791192450,"priority":1,"record_length":96,"hex_timestamp":"000001a10b63c3d0"} 
[2026-10-05 15:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 15:04:37] 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-10-05 15:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545267200001,"66":12776,"118":206,"87":13824,"24":0,"16":139683344467099648,"45":8787789535840854016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545267200001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:04:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:04:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787789535840854016,"description":"Unknown IO ID 45"} 
[2026-10-05 15:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545267200001,"power":12776,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787789535840854016}} 
[2026-10-05 15:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":206106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968045,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:04:37] local.INFO: GPS data processed {"connection_id":206106,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:04:37] local.INFO: Acknowledgment sent {"connection_id":206106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:05:02] local.INFO: TCP Data received {"connection_id":206107,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:05:02] local.INFO: Processing buffer {"connection_id":206107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:05:02] local.INFO: IMEI packet received {"connection_id":206107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":206107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:05:04] local.INFO: TCP Data received {"connection_id":206107,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:05:04] local.INFO: Processing buffer {"connection_id":206107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:05:04] local.INFO: IMEI packet received {"connection_id":206107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":206107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:05:08] local.INFO: TCP Data received {"connection_id":206106,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a10b63c3d0012d79f48005ecb060000d003425..."} 
[2026-10-05 15:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b63c3d0012d79f48005ecb060000d003425..."} 
[2026-10-05 15:05:08] local.INFO: Processing buffer {"connection_id":206106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b63c3d0012d79f48005ecb060000d003425..."} 
[2026-10-05 15:05:08] local.INFO: Packet analysis {"connection_id":206106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b63"} 
[2026-10-05 15:05:08] local.INFO: Extracted packet for processing {"connection_id":206106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b63"} 
[2026-10-05 15:05:08] local.INFO: GPS Element Parsed {"raw_longitude":762967168,"raw_latitude":99397728,"longitude_deg":76.2967168,"latitude_deg":9.9397728,"altitude":13,"angle":52,"satellites":37,"speed":0,"hex_longitude":"2d79f480","hex_latitude":"05ecb060","is_valid_coordinates":true} 
[2026-10-05 15:05: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-10-05 15:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545267200001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787789535840854016,"note":"Value kept but may cause issues"} 
[2026-10-05 15:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791192450000,"timestamp_ms":1791192450000,"timestamp_seconds":1791192450,"priority":1,"record_length":96,"hex_timestamp":"000001a10b63c3d0"} 
[2026-10-05 15:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:05: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-10-05 15: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 15:05:08] 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-10-05 15: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-10-05 15:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545267200001,"66":12776,"118":206,"87":13824,"24":0,"16":139683344467099648,"45":8787789535840854016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545267200001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:05:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:05:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787789535840854016,"description":"Unknown IO ID 45"} 
[2026-10-05 15:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545267200001,"power":12776,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787789535840854016}} 
[2026-10-05 15:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":206106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:05:08] local.INFO: GPS data processed {"connection_id":206106,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:05:08] local.INFO: Acknowledgment sent {"connection_id":206106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:05:10] local.INFO: TCP Data received {"connection_id":206107,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:05:10] local.INFO: Processing buffer {"connection_id":206107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:05:10] local.INFO: IMEI packet received {"connection_id":206107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":206107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:05:10] local.INFO: TCP Data received {"connection_id":206107,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6857b0012d7c420005f7c390000b016025..."} 
[2026-10-05 15:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6857b0012d7c420005f7c390000b016025..."} 
[2026-10-05 15:05:10] local.INFO: Processing buffer {"connection_id":206107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6857b0012d7c420005f7c390000b016025..."} 
[2026-10-05 15:05:10] local.INFO: Packet analysis {"connection_id":206107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b68"} 
[2026-10-05 15:05:10] local.INFO: Extracted packet for processing {"connection_id":206107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b68"} 
[2026-10-05 15:05:10] local.INFO: GPS Element Parsed {"raw_longitude":763118080,"raw_latitude":100123536,"longitude_deg":76.311808,"latitude_deg":10.0123536,"altitude":11,"angle":352,"satellites":37,"speed":41,"hex_longitude":"2d7c4200","hex_latitude":"05f7c390","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545341440001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2136273783357440,"note":"Value kept but may cause issues"} 
[2026-10-05 15:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8955478253399535616,"note":"Value kept but may cause issues"} 
[2026-10-05 15:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791192750000,"timestamp_ms":1791192750000,"timestamp_seconds":1791192750,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6857b0"} 
[2026-10-05 15:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-10-05 15:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":206107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":206107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":206107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545341440001,"66":27876,"76":206,"87":12800,"24":41,"16":2136273783357440,"45":8955478253399535616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,87,24,16,45]} 
[2026-10-05 15:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545341440001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:05:10] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-10-05 15:05:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 15:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2136273783357440,"km_value":2136273783357.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8955478253399535616,"description":"Unknown IO ID 45"} 
[2026-10-05 15:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545341440001,"power":27876,"unknown_76":206,"unknown_87":12800,"ignition":41,"odometer":null,"unknown_45":8955478253399535616}} 
[2026-10-05 15:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":206107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:05:10] local.INFO: GPS data processed {"connection_id":206107,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:05:10] local.INFO: Acknowledgment sent {"connection_id":206107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:05:31] local.INFO: TCP Data received {"connection_id":204574,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:05:31] local.INFO: Processing buffer {"connection_id":204574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:05:31] local.INFO: IMEI packet received {"connection_id":204574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":204574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:05:36] local.INFO: TCP Data received {"connection_id":204574,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:05:36] local.INFO: Processing buffer {"connection_id":204574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:05:36] local.INFO: IMEI packet received {"connection_id":204574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":204574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:05:37] local.INFO: TCP Data received {"connection_id":204574,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b63c3d0012d79f48005ecb060000d003425..."} 
[2026-10-05 15:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b63c3d0012d79f48005ecb060000d003425..."} 
[2026-10-05 15:05:37] local.INFO: Processing buffer {"connection_id":204574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b63c3d0012d79f48005ecb060000d003425..."} 
[2026-10-05 15:05:37] local.INFO: Packet analysis {"connection_id":204574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b63"} 
[2026-10-05 15:05:37] local.INFO: Extracted packet for processing {"connection_id":204574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b63"} 
[2026-10-05 15:05:37] local.INFO: GPS Element Parsed {"raw_longitude":762967168,"raw_latitude":99397728,"longitude_deg":76.2967168,"latitude_deg":9.9397728,"altitude":13,"angle":52,"satellites":37,"speed":0,"hex_longitude":"2d79f480","hex_latitude":"05ecb060","is_valid_coordinates":true} 
[2026-10-05 15:05:37] 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-10-05 15:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545267200001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787789535840854016,"note":"Value kept but may cause issues"} 
[2026-10-05 15:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791192450000,"timestamp_ms":1791192450000,"timestamp_seconds":1791192450,"priority":1,"record_length":96,"hex_timestamp":"000001a10b63c3d0"} 
[2026-10-05 15:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:05: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-10-05 15:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 15:05:37] 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-10-05 15:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:05: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-10-05 15:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545267200001,"66":12776,"118":206,"87":13824,"24":0,"16":139683344467099648,"45":8787789535840854016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545267200001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:05:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:05:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787789535840854016,"description":"Unknown IO ID 45"} 
[2026-10-05 15:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545267200001,"power":12776,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787789535840854016}} 
[2026-10-05 15:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":204574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:05:37] local.INFO: GPS data processed {"connection_id":204574,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:05:37] local.INFO: Acknowledgment sent {"connection_id":204574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:06:08] local.INFO: TCP Data received {"connection_id":204574,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b63c7b8012d79f48005ecb060000d003425..."} 
[2026-10-05 15:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b63c7b8012d79f48005ecb060000d003425..."} 
[2026-10-05 15:06:08] local.INFO: Processing buffer {"connection_id":204574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b63c7b8012d79f48005ecb060000d003425..."} 
[2026-10-05 15:06:08] local.INFO: Packet analysis {"connection_id":204574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b63"} 
[2026-10-05 15:06:08] local.INFO: Extracted packet for processing {"connection_id":204574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b63"} 
[2026-10-05 15:06:08] local.INFO: GPS Element Parsed {"raw_longitude":762967168,"raw_latitude":99397728,"longitude_deg":76.2967168,"latitude_deg":9.9397728,"altitude":13,"angle":52,"satellites":37,"speed":0,"hex_longitude":"2d79f480","hex_latitude":"05ecb060","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545267200001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787789535840854016,"note":"Value kept but may cause issues"} 
[2026-10-05 15:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791192451000,"timestamp_ms":1791192451000,"timestamp_seconds":1791192451,"priority":1,"record_length":96,"hex_timestamp":"000001a10b63c7b8"} 
[2026-10-05 15:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:06: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-10-05 15: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 15:06:08] 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-10-05 15: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-10-05 15:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545267200001,"66":12776,"118":206,"87":13824,"24":0,"16":139683344467099648,"45":8787789535840854016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545267200001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:06:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:06:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787789535840854016,"description":"Unknown IO ID 45"} 
[2026-10-05 15:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545267200001,"power":12776,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787789535840854016}} 
[2026-10-05 15:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":204574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968049,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:06:08] local.INFO: GPS data processed {"connection_id":204574,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:06:08] local.INFO: Acknowledgment sent {"connection_id":204574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:06:30] local.INFO: TCP Data received {"connection_id":206108,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:06:30] local.INFO: Processing buffer {"connection_id":206108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:06:30] local.INFO: IMEI packet received {"connection_id":206108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":206108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:06:31] local.INFO: TCP Data received {"connection_id":207644,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207644,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:06:31] local.INFO: Processing buffer {"connection_id":207644,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:06:31] local.INFO: IMEI packet received {"connection_id":207644,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":207644,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:06:35] local.INFO: TCP Data received {"connection_id":206108,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:06:35] local.INFO: Processing buffer {"connection_id":206108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:06:35] local.INFO: IMEI packet received {"connection_id":206108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":206108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:06:36] local.INFO: TCP Data received {"connection_id":206108,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6a4f98012d7c150005f8ce80000f000d29..."} 
[2026-10-05 15:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6a4f98012d7c150005f8ce80000f000d29..."} 
[2026-10-05 15:06:36] local.INFO: Processing buffer {"connection_id":206108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6a4f98012d7c150005f8ce80000f000d29..."} 
[2026-10-05 15:06:36] local.INFO: Packet analysis {"connection_id":206108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6a"} 
[2026-10-05 15:06:36] local.INFO: Extracted packet for processing {"connection_id":206108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6a"} 
[2026-10-05 15:06:36] local.INFO: GPS Element Parsed {"raw_longitude":763106560,"raw_latitude":100191872,"longitude_deg":76.310656,"latitude_deg":10.0191872,"altitude":15,"angle":13,"satellites":41,"speed":21,"hex_longitude":"2d7c1500","hex_latitude":"05f8ce80","is_valid_coordinates":true} 
[2026-10-05 15:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545376512001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2139649627652096,"note":"Value kept but may cause issues"} 
[2026-10-05 15:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940841554630307840,"note":"Value kept but may cause issues"} 
[2026-10-05 15:06:36] 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-10-05 15:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791192879000,"timestamp_ms":1791192879000,"timestamp_seconds":1791192879,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6a4f98"} 
[2026-10-05 15:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:06: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-10-05 15:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 15:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545376512001,"66":27974,"250":206,"87":12800,"24":21,"16":2139649627652096,"45":8940841554630307840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-10-05 15:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545376512001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:06:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-05 15:06:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 15:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2139649627652096,"km_value":2139649627652.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940841554630307840,"description":"Unknown IO ID 45"} 
[2026-10-05 15:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545376512001,"power":27974,"unknown_250":206,"unknown_87":12800,"ignition":21,"odometer":null,"unknown_45":8940841554630307840}} 
[2026-10-05 15:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":206108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:06:36] local.INFO: GPS data processed {"connection_id":206108,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:06:36] local.INFO: Acknowledgment sent {"connection_id":206108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:06:36] local.INFO: TCP Data received {"connection_id":207644,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207644,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:06:36] local.INFO: Processing buffer {"connection_id":207644,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:06:36] local.INFO: IMEI packet received {"connection_id":207644,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":207644,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:06:37] local.INFO: TCP Data received {"connection_id":207644,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b63db40012d79f48005ecb060000d003423..."} 
[2026-10-05 15:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b63db40012d79f48005ecb060000d003423..."} 
[2026-10-05 15:06:37] local.INFO: Processing buffer {"connection_id":207644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b63db40012d79f48005ecb060000d003423..."} 
[2026-10-05 15:06:37] local.INFO: Packet analysis {"connection_id":207644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b63"} 
[2026-10-05 15:06:37] local.INFO: Extracted packet for processing {"connection_id":207644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b63"} 
[2026-10-05 15:06:37] local.INFO: GPS Element Parsed {"raw_longitude":762967168,"raw_latitude":99397728,"longitude_deg":76.2967168,"latitude_deg":9.9397728,"altitude":13,"angle":52,"satellites":35,"speed":0,"hex_longitude":"2d79f480","hex_latitude":"05ecb060","is_valid_coordinates":true} 
[2026-10-05 15:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545267456001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787789535840854016,"note":"Value kept but may cause issues"} 
[2026-10-05 15:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791192456000,"timestamp_ms":1791192456000,"timestamp_seconds":1791192456,"priority":1,"record_length":96,"hex_timestamp":"000001a10b63db40"} 
[2026-10-05 15:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:06: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-10-05 15:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 15:06:37] 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-10-05 15:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207644,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207644,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15: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-10-05 15:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545267456001,"66":12917,"118":206,"87":13824,"24":0,"16":139683344467099648,"45":8787789535840854016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545267456001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:06:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:06:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787789535840854016,"description":"Unknown IO ID 45"} 
[2026-10-05 15:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545267456001,"power":12917,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787789535840854016}} 
[2026-10-05 15:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":207644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:06:37] local.INFO: GPS data processed {"connection_id":207644,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:06:37] local.INFO: Acknowledgment sent {"connection_id":207644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:06:49] local.INFO: TCP Data received {"connection_id":204697,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204697,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:06:49] local.INFO: Processing buffer {"connection_id":204697,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:06:49] local.INFO: IMEI packet received {"connection_id":204697,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 15:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":204697,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:06:57] local.INFO: TCP Data received {"connection_id":204575,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:06:57] local.INFO: Processing buffer {"connection_id":204575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:06:57] local.INFO: IMEI packet received {"connection_id":204575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":204575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:06:59] local.INFO: TCP Data received {"connection_id":204575,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:06:59] local.INFO: Processing buffer {"connection_id":204575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:06:59] local.INFO: IMEI packet received {"connection_id":204575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":204575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:07:05] local.INFO: TCP Data received {"connection_id":204575,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:07:05] local.INFO: Processing buffer {"connection_id":204575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:07:05] local.INFO: IMEI packet received {"connection_id":204575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":204575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:07:05] local.INFO: TCP Data received {"connection_id":204575,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6b45b0012d7bad8005f9aa68000b001d23..."} 
[2026-10-05 15:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6b45b0012d7bad8005f9aa68000b001d23..."} 
[2026-10-05 15:07:05] local.INFO: Processing buffer {"connection_id":204575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6b45b0012d7bad8005f9aa68000b001d23..."} 
[2026-10-05 15:07:05] local.INFO: Packet analysis {"connection_id":204575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6b"} 
[2026-10-05 15:07:05] local.INFO: Extracted packet for processing {"connection_id":204575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6b"} 
[2026-10-05 15:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763080064,"raw_latitude":100248168,"longitude_deg":76.3080064,"latitude_deg":10.0248168,"altitude":11,"angle":29,"satellites":35,"speed":21,"hex_longitude":"2d7bad80","hex_latitude":"05f9aa68","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545392896001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2142750594039808,"note":"Value kept but may cause issues"} 
[2026-10-05 15:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911568157066956800,"note":"Value kept but may cause issues"} 
[2026-10-05 15:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791192942000,"timestamp_ms":1791192942000,"timestamp_seconds":1791192942,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6b45b0"} 
[2026-10-05 15:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15: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":173,"data_length":795,"current_offset":136} 
[2026-10-05 15:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:07: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-10-05 15:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545392896001,"66":27821,"35":206,"87":10752,"24":21,"16":2142750594039808,"45":8911568157066956800},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,87,24,16,45]} 
[2026-10-05 15:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545392896001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:07:05] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-10-05 15:07:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2142750594039808,"km_value":2142750594039.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911568157066956800,"description":"Unknown IO ID 45"} 
[2026-10-05 15:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545392896001,"power":27821,"unknown_35":206,"unknown_87":10752,"ignition":21,"odometer":null,"unknown_45":8911568157066956800}} 
[2026-10-05 15:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":204575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:07:05] local.INFO: GPS data processed {"connection_id":204575,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:07:05] local.INFO: Acknowledgment sent {"connection_id":204575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:07:08] local.INFO: TCP Data received {"connection_id":207644,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b63db40012d79f48005ecb060000d003423..."} 
[2026-10-05 15:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b63db40012d79f48005ecb060000d003423..."} 
[2026-10-05 15:07:08] local.INFO: Processing buffer {"connection_id":207644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b63db40012d79f48005ecb060000d003423..."} 
[2026-10-05 15:07:08] local.INFO: Packet analysis {"connection_id":207644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b63"} 
[2026-10-05 15:07:08] local.INFO: Extracted packet for processing {"connection_id":207644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b63"} 
[2026-10-05 15:07:08] local.INFO: GPS Element Parsed {"raw_longitude":762967168,"raw_latitude":99397728,"longitude_deg":76.2967168,"latitude_deg":9.9397728,"altitude":13,"angle":52,"satellites":35,"speed":0,"hex_longitude":"2d79f480","hex_latitude":"05ecb060","is_valid_coordinates":true} 
[2026-10-05 15:07:08] 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-10-05 15:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545268736001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787789535840854016,"note":"Value kept but may cause issues"} 
[2026-10-05 15:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791192456000,"timestamp_ms":1791192456000,"timestamp_seconds":1791192456,"priority":1,"record_length":96,"hex_timestamp":"000001a10b63db40"} 
[2026-10-05 15:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:07: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-10-05 15:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 15:07:08] 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-10-05 15:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207644,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207644,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545268736001,"66":12917,"118":206,"87":13824,"24":0,"16":139683344467099648,"45":8787789535840854016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545268736001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:07:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:07:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787789535840854016,"description":"Unknown IO ID 45"} 
[2026-10-05 15:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545268736001,"power":12917,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787789535840854016}} 
[2026-10-05 15:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":207644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:07:08] local.INFO: GPS data processed {"connection_id":207644,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:07:08] local.INFO: Acknowledgment sent {"connection_id":207644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:07:30] local.INFO: TCP Data received {"connection_id":204576,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:07:30] local.INFO: Processing buffer {"connection_id":204576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:07:30] local.INFO: IMEI packet received {"connection_id":204576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":204576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:07:33] local.INFO: TCP Data received {"connection_id":204577,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:07:33] local.INFO: Processing buffer {"connection_id":204577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:07:33] local.INFO: IMEI packet received {"connection_id":204577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 15:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":204577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:07:36] local.INFO: TCP Data received {"connection_id":204576,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:07:36] local.INFO: Processing buffer {"connection_id":204576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:07:36] local.INFO: IMEI packet received {"connection_id":204576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":204576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:07:37] local.INFO: TCP Data received {"connection_id":204576,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b687ad8012d79f40005ecb008000d003425..."} 
[2026-10-05 15:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b687ad8012d79f40005ecb008000d003425..."} 
[2026-10-05 15:07:37] local.INFO: Processing buffer {"connection_id":204576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b687ad8012d79f40005ecb008000d003425..."} 
[2026-10-05 15:07:37] local.INFO: Packet analysis {"connection_id":204576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b68"} 
[2026-10-05 15:07:37] local.INFO: Extracted packet for processing {"connection_id":204576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b68"} 
[2026-10-05 15:07:37] local.INFO: GPS Element Parsed {"raw_longitude":762967040,"raw_latitude":99397640,"longitude_deg":76.296704,"latitude_deg":9.939764,"altitude":13,"angle":52,"satellites":37,"speed":0,"hex_longitude":"2d79f400","hex_latitude":"05ecb008","is_valid_coordinates":true} 
[2026-10-05 15:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545268736001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787789535840854016,"note":"Value kept but may cause issues"} 
[2026-10-05 15:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791192759000,"timestamp_ms":1791192759000,"timestamp_seconds":1791192759,"priority":1,"record_length":96,"hex_timestamp":"000001a10b687ad8"} 
[2026-10-05 15:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 15:07:37] 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-10-05 15:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:07: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-10-05 15:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545268736001,"66":12765,"118":206,"87":13824,"24":0,"16":139683344467099648,"45":8787789535840854016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545268736001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:07:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:07:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787789535840854016,"description":"Unknown IO ID 45"} 
[2026-10-05 15:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545268736001,"power":12765,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787789535840854016}} 
[2026-10-05 15:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":204576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:07:37] local.INFO: GPS data processed {"connection_id":204576,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:07:37] local.INFO: Acknowledgment sent {"connection_id":204576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:07:37] local.INFO: TCP Data received {"connection_id":204575,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6b7c60012d7bbfc005f9cb38000e001d22..."} 
[2026-10-05 15:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6b7c60012d7bbfc005f9cb38000e001d22..."} 
[2026-10-05 15:07:37] local.INFO: Processing buffer {"connection_id":204575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6b7c60012d7bbfc005f9cb38000e001d22..."} 
[2026-10-05 15:07:37] local.INFO: Packet analysis {"connection_id":204575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6b"} 
[2026-10-05 15:07:37] local.INFO: Extracted packet for processing {"connection_id":204575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6b"} 
[2026-10-05 15:07:37] local.INFO: GPS Element Parsed {"raw_longitude":763084736,"raw_latitude":100256568,"longitude_deg":76.3084736,"latitude_deg":10.0256568,"altitude":14,"angle":29,"satellites":34,"speed":33,"hex_longitude":"2d7bbfc0","hex_latitude":"05f9cb38","is_valid_coordinates":true} 
[2026-10-05 15:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545393152001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2143218745475072,"note":"Value kept but may cause issues"} 
[2026-10-05 15:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911920000787965952,"note":"Value kept but may cause issues"} 
[2026-10-05 15:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791192956000,"timestamp_ms":1791192956000,"timestamp_seconds":1791192956,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6b7c60"} 
[2026-10-05 15:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 15:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545393152001,"66":27908,"35":206,"87":10752,"24":33,"16":2143218745475072,"45":8911920000787965952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,87,24,16,45]} 
[2026-10-05 15:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545393152001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:07:37] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-10-05 15:07:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2143218745475072,"km_value":2143218745475.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911920000787965952,"description":"Unknown IO ID 45"} 
[2026-10-05 15:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545393152001,"power":27908,"unknown_35":206,"unknown_87":10752,"ignition":33,"odometer":null,"unknown_45":8911920000787965952}} 
[2026-10-05 15:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":204575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:07:37] local.INFO: GPS data processed {"connection_id":204575,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:07:37] local.INFO: Acknowledgment sent {"connection_id":204575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:07:55] local.INFO: TCP Data received {"connection_id":204698,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:07:55] local.INFO: Processing buffer {"connection_id":204698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:07:55] local.INFO: IMEI packet received {"connection_id":204698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":204698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:08:00] local.INFO: TCP Data received {"connection_id":204698,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:08:00] local.INFO: Processing buffer {"connection_id":204698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:08:00] local.INFO: IMEI packet received {"connection_id":204698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":204698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:08:00] local.INFO: TCP Data received {"connection_id":204698,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6ba758012d7bd44005f9eb780009001e23..."} 
[2026-10-05 15:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6ba758012d7bd44005f9eb780009001e23..."} 
[2026-10-05 15:08:00] local.INFO: Processing buffer {"connection_id":204698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6ba758012d7bd44005f9eb780009001e23..."} 
[2026-10-05 15:08:00] local.INFO: Packet analysis {"connection_id":204698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6b"} 
[2026-10-05 15:08:00] local.INFO: Extracted packet for processing {"connection_id":204698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6b"} 
[2026-10-05 15:08:00] local.INFO: GPS Element Parsed {"raw_longitude":763089984,"raw_latitude":100264824,"longitude_deg":76.3089984,"latitude_deg":10.0264824,"altitude":9,"angle":30,"satellites":35,"speed":35,"hex_longitude":"2d7bd440","hex_latitude":"05f9eb78","is_valid_coordinates":true} 
[2026-10-05 15:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545396736001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2143691191877632,"note":"Value kept but may cause issues"} 
[2026-10-05 15:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917056919115085824,"note":"Value kept but may cause issues"} 
[2026-10-05 15:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791192967000,"timestamp_ms":1791192967000,"timestamp_seconds":1791192967,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6ba758"} 
[2026-10-05 15:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:08: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-10-05 15:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 15:08: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-10-05 15:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:08: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-10-05 15:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545396736001,"66":27995,"35":206,"87":10752,"24":35,"16":2143691191877632,"45":8917056919115085824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,87,24,16,45]} 
[2026-10-05 15:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545396736001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:08:00] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-10-05 15:08:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2143691191877632,"km_value":2143691191877.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917056919115085824,"description":"Unknown IO ID 45"} 
[2026-10-05 15:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545396736001,"power":27995,"unknown_35":206,"unknown_87":10752,"ignition":35,"odometer":null,"unknown_45":8917056919115085824}} 
[2026-10-05 15:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":204698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:08:00] local.INFO: GPS data processed {"connection_id":204698,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:08:00] local.INFO: Acknowledgment sent {"connection_id":204698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:08:08] local.INFO: TCP Data received {"connection_id":204576,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:08:08] local.INFO: Processing buffer {"connection_id":204576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:08:08] local.INFO: Packet analysis {"connection_id":204576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6d"} 
[2026-10-05 15:08:08] local.INFO: Extracted packet for processing {"connection_id":204576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6d"} 
[2026-10-05 15:08:08] local.INFO: GPS Element Parsed {"raw_longitude":762967040,"raw_latitude":99397640,"longitude_deg":76.296704,"latitude_deg":9.939764,"altitude":14,"angle":52,"satellites":38,"speed":0,"hex_longitude":"2d79f400","hex_latitude":"05ecb008","is_valid_coordinates":true} 
[2026-10-05 15:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545346304001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787648798352476160,"note":"Value kept but may cause issues"} 
[2026-10-05 15:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791193060000,"timestamp_ms":1791193060000,"timestamp_seconds":1791193060,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6d12a0"} 
[2026-10-05 15:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:08: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-10-05 15:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 15:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545346304001,"66":12798,"118":206,"87":13824,"24":0,"16":139683344467099648,"45":8787648798352476160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545346304001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:08:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:08:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787648798352476160,"description":"Unknown IO ID 45"} 
[2026-10-05 15:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545346304001,"power":12798,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787648798352476160}} 
[2026-10-05 15:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":204576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:08:08] local.INFO: GPS data processed {"connection_id":204576,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:08:08] local.INFO: Acknowledgment sent {"connection_id":204576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:08:30] local.INFO: TCP Data received {"connection_id":204578,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:08:30] local.INFO: Processing buffer {"connection_id":204578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:08:30] local.INFO: IMEI packet received {"connection_id":204578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":204578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:08:32] local.INFO: TCP Data received {"connection_id":204698,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6bd638012d7be84005fa09e80007001d28..."} 
[2026-10-05 15:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6bd638012d7be84005fa09e80007001d28..."} 
[2026-10-05 15:08:32] local.INFO: Processing buffer {"connection_id":204698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6bd638012d7be84005fa09e80007001d28..."} 
[2026-10-05 15:08:32] local.INFO: Packet analysis {"connection_id":204698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6b"} 
[2026-10-05 15:08:32] local.INFO: Extracted packet for processing {"connection_id":204698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6b"} 
[2026-10-05 15:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763095104,"raw_latitude":100272616,"longitude_deg":76.3095104,"latitude_deg":10.0272616,"altitude":7,"angle":29,"satellites":40,"speed":28,"hex_longitude":"2d7be840","hex_latitude":"05fa09e8","is_valid_coordinates":true} 
[2026-10-05 15:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545399552001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2144142163443712,"note":"Value kept but may cause issues"} 
[2026-10-05 15:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922827156139767808,"note":"Value kept but may cause issues"} 
[2026-10-05 15:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791192979000,"timestamp_ms":1791192979000,"timestamp_seconds":1791192979,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6bd638"} 
[2026-10-05 15:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:08: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-10-05 15:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 15:08:32] 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-10-05 15:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545399552001,"66":27995,"26":206,"87":10752,"24":28,"16":2144142163443712,"45":8922827156139767808},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,87,24,16,45]} 
[2026-10-05 15:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545399552001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:08:32] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-10-05 15:08:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2144142163443712,"km_value":2144142163443.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922827156139767808,"description":"Unknown IO ID 45"} 
[2026-10-05 15:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545399552001,"power":27995,"unknown_26":206,"unknown_87":10752,"ignition":28,"odometer":null,"unknown_45":8922827156139767808}} 
[2026-10-05 15:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":204698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:08:32] local.INFO: GPS data processed {"connection_id":204698,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:08:32] local.INFO: Acknowledgment sent {"connection_id":204698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:08:36] local.INFO: TCP Data received {"connection_id":207645,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:08:36] local.INFO: Processing buffer {"connection_id":207645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:08:36] local.INFO: IMEI packet received {"connection_id":207645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":207645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:08:36] local.INFO: TCP Data received {"connection_id":204578,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:08:36] local.INFO: Processing buffer {"connection_id":204578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:08:36] local.INFO: IMEI packet received {"connection_id":204578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":204578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:08:36] local.INFO: TCP Data received {"connection_id":207645,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:08:36] local.INFO: Processing buffer {"connection_id":207645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:08:36] local.INFO: IMEI packet received {"connection_id":207645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":207645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:08:37] local.INFO: TCP Data received {"connection_id":204578,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:08:37] local.INFO: Processing buffer {"connection_id":204578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:08:37] local.INFO: Packet analysis {"connection_id":204578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6d"} 
[2026-10-05 15:08:37] local.INFO: Extracted packet for processing {"connection_id":204578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6d"} 
[2026-10-05 15:08:37] local.INFO: GPS Element Parsed {"raw_longitude":762967040,"raw_latitude":99397640,"longitude_deg":76.296704,"latitude_deg":9.939764,"altitude":14,"angle":52,"satellites":38,"speed":0,"hex_longitude":"2d79f400","hex_latitude":"05ecb008","is_valid_coordinates":true} 
[2026-10-05 15:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545346304001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787648798352476160,"note":"Value kept but may cause issues"} 
[2026-10-05 15:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791193060000,"timestamp_ms":1791193060000,"timestamp_seconds":1791193060,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6d12a0"} 
[2026-10-05 15:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 15:08: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-10-05 15:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:08: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-10-05 15:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545346304001,"66":12798,"118":206,"87":13824,"24":0,"16":139683344467099648,"45":8787648798352476160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545346304001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:08:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:08:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787648798352476160,"description":"Unknown IO ID 45"} 
[2026-10-05 15:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545346304001,"power":12798,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787648798352476160}} 
[2026-10-05 15:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":204578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968059,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:08:37] local.INFO: GPS data processed {"connection_id":204578,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:08:37] local.INFO: Acknowledgment sent {"connection_id":204578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:08:40] local.INFO: TCP Data received {"connection_id":207645,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:08:40] local.INFO: Processing buffer {"connection_id":207645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:08:40] local.INFO: IMEI packet received {"connection_id":207645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":207645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:08:42] local.INFO: TCP Data received {"connection_id":207645,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6c0130012d181d000721a9000045000c24..."} 
[2026-10-05 15:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6c0130012d181d000721a9000045000c24..."} 
[2026-10-05 15:08:42] local.INFO: Processing buffer {"connection_id":207645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6c0130012d181d000721a9000045000c24..."} 
[2026-10-05 15:08:42] local.INFO: Packet analysis {"connection_id":207645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6c"} 
[2026-10-05 15:08:42] local.INFO: Extracted packet for processing {"connection_id":207645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6c"} 
[2026-10-05 15:08:42] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646464,"longitude_deg":75.6555008,"latitude_deg":11.9646464,"altitude":69,"angle":12,"satellites":36,"speed":14,"hex_longitude":"2d181d00","hex_latitude":"0721a900","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545405184001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25081037050609664,"note":"Value kept but may cause issues"} 
[2026-10-05 15:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864288256,"note":"Value kept but may cause issues"} 
[2026-10-05 15:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791192990000,"timestamp_ms":1791192990000,"timestamp_seconds":1791192990,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6c0130"} 
[2026-10-05 15:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:08: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-10-05 15: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-05 15:08: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-10-05 15:08: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-10-05 15:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545405184001,"66":14004,"120":206,"28":31744,"24":14,"16":25081037050609664,"45":1737545061864288256},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 15:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545405184001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:08:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 15:08:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25081037050609664,"km_value":25081037050609.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864288256,"description":"Unknown IO ID 45"} 
[2026-10-05 15:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545405184001,"power":14004,"unknown_120":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1737545061864288256}} 
[2026-10-05 15:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":207645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:08:42] local.INFO: GPS data processed {"connection_id":207645,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:08:42] local.INFO: Acknowledgment sent {"connection_id":207645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:08:55] local.INFO: TCP Data received {"connection_id":204579,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:08:55] local.INFO: Processing buffer {"connection_id":204579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:08:55] local.INFO: IMEI packet received {"connection_id":204579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":204579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:08:59] local.INFO: TCP Data received {"connection_id":204579,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:08:59] local.INFO: Processing buffer {"connection_id":204579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:08:59] local.INFO: IMEI packet received {"connection_id":204579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":204579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:09:01] local.INFO: TCP Data received {"connection_id":204579,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6c0518012d7bf9c005fa28680005001c27..."} 
[2026-10-05 15:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6c0518012d7bf9c005fa28680005001c27..."} 
[2026-10-05 15:09:01] local.INFO: Processing buffer {"connection_id":204579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6c0518012d7bf9c005fa28680005001c27..."} 
[2026-10-05 15:09:01] local.INFO: Packet analysis {"connection_id":204579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6c"} 
[2026-10-05 15:09:01] local.INFO: Extracted packet for processing {"connection_id":204579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6c"} 
[2026-10-05 15:09:01] local.INFO: GPS Element Parsed {"raw_longitude":763099584,"raw_latitude":100280424,"longitude_deg":76.3099584,"latitude_deg":10.0280424,"altitude":5,"angle":28,"satellites":39,"speed":23,"hex_longitude":"2d7bf9c0","hex_latitude":"05fa2868","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545402624001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2144575955140608,"note":"Value kept but may cause issues"} 
[2026-10-05 15:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928456655675975680,"note":"Value kept but may cause issues"} 
[2026-10-05 15:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791192991000,"timestamp_ms":1791192991000,"timestamp_seconds":1791192991,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6c0518"} 
[2026-10-05 15:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:09: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-10-05 15: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 15:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:09: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-10-05 15:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545402624001,"66":28017,"26":206,"87":10752,"24":23,"16":2144575955140608,"45":8928456655675975680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,87,24,16,45]} 
[2026-10-05 15:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545402624001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:09:01] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-10-05 15:09:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2144575955140608,"km_value":2144575955140.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928456655675975680,"description":"Unknown IO ID 45"} 
[2026-10-05 15:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545402624001,"power":28017,"unknown_26":206,"unknown_87":10752,"ignition":23,"odometer":null,"unknown_45":8928456655675975680}} 
[2026-10-05 15:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":204579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:09:01] local.INFO: GPS data processed {"connection_id":204579,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:09:01] local.INFO: Acknowledgment sent {"connection_id":204579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:09:05] local.INFO: TCP Data received {"connection_id":204699,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:09:05] local.INFO: Processing buffer {"connection_id":204699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:09:05] local.INFO: IMEI packet received {"connection_id":204699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":204699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:09:08] local.INFO: TCP Data received {"connection_id":204578,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:09:08] local.INFO: Processing buffer {"connection_id":204578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:09:08] local.INFO: Packet analysis {"connection_id":204578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6d"} 
[2026-10-05 15:09:08] local.INFO: Extracted packet for processing {"connection_id":204578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6d"} 
[2026-10-05 15:09:08] local.INFO: GPS Element Parsed {"raw_longitude":762967040,"raw_latitude":99397640,"longitude_deg":76.296704,"latitude_deg":9.939764,"altitude":14,"angle":52,"satellites":38,"speed":0,"hex_longitude":"2d79f400","hex_latitude":"05ecb008","is_valid_coordinates":true} 
[2026-10-05 15:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545346304001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787648798352476160,"note":"Value kept but may cause issues"} 
[2026-10-05 15:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791193060000,"timestamp_ms":1791193060000,"timestamp_seconds":1791193060,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6d12a0"} 
[2026-10-05 15:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:09: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-10-05 15:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 15:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545346304001,"66":12798,"118":206,"87":13824,"24":0,"16":139683344467099648,"45":8787648798352476160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545346304001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:09:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:09:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787648798352476160,"description":"Unknown IO ID 45"} 
[2026-10-05 15:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545346304001,"power":12798,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787648798352476160}} 
[2026-10-05 15:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":204578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:09:08] local.INFO: GPS data processed {"connection_id":204578,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:09:08] local.INFO: Acknowledgment sent {"connection_id":204578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:09:10] local.INFO: TCP Data received {"connection_id":204699,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:09:10] local.INFO: Processing buffer {"connection_id":204699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:09:10] local.INFO: IMEI packet received {"connection_id":204699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":204699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:09:14] local.INFO: TCP Data received {"connection_id":204699,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6d7060012d18a64007229c08006a01472b..."} 
[2026-10-05 15:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6d7060012d18a64007229c08006a01472b..."} 
[2026-10-05 15:09:14] local.INFO: Processing buffer {"connection_id":204699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6d7060012d18a64007229c08006a01472b..."} 
[2026-10-05 15:09:14] local.INFO: Packet analysis {"connection_id":204699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6d"} 
[2026-10-05 15:09:14] local.INFO: Extracted packet for processing {"connection_id":204699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6d"} 
[2026-10-05 15:09:14] local.INFO: GPS Element Parsed {"raw_longitude":756590144,"raw_latitude":119708680,"longitude_deg":75.6590144,"latitude_deg":11.970868,"altitude":106,"angle":327,"satellites":43,"speed":9,"hex_longitude":"2d18a640","hex_latitude":"07229c08","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545428992001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25084537448955904,"note":"Value kept but may cause issues"} 
[2026-10-05 15:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776388608666232832,"note":"Value kept but may cause issues"} 
[2026-10-05 15:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791193084000,"timestamp_ms":1791193084000,"timestamp_seconds":1791193084,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6d7060"} 
[2026-10-05 15:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-05 15:09:14] 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-10-05 15: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-10-05 15:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":204699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":204699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":204699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545428992001,"66":13972,"70":206,"28":31744,"24":9,"16":25084537448955904,"45":1776388608666232832},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-10-05 15:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545428992001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:09:14] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-10-05 15:09:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25084537448955904,"km_value":25084537448955.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776388608666232832,"description":"Unknown IO ID 45"} 
[2026-10-05 15:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545428992001,"power":13972,"unknown_70":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1776388608666232832}} 
[2026-10-05 15:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":204699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:09:14] local.INFO: GPS data processed {"connection_id":204699,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:09:14] local.INFO: Acknowledgment sent {"connection_id":204699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:09:36] local.INFO: TCP Data received {"connection_id":206111,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206111,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:09:36] local.INFO: Processing buffer {"connection_id":206111,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:09:36] local.INFO: IMEI packet received {"connection_id":206111,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":206111,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:09:39] local.INFO: TCP Data received {"connection_id":204579,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6c5720012d7c0b4005fa46d00007001f27..."} 
[2026-10-05 15:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6c5720012d7c0b4005fa46d00007001f27..."} 
[2026-10-05 15:09:39] local.INFO: Processing buffer {"connection_id":204579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6c5720012d7c0b4005fa46d00007001f27..."} 
[2026-10-05 15:09:39] local.INFO: Packet analysis {"connection_id":204579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6c"} 
[2026-10-05 15:09:39] local.INFO: Extracted packet for processing {"connection_id":204579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6c"} 
[2026-10-05 15:09:39] local.INFO: GPS Element Parsed {"raw_longitude":763104064,"raw_latitude":100288208,"longitude_deg":76.3104064,"latitude_deg":10.0288208,"altitude":7,"angle":31,"satellites":39,"speed":14,"hex_longitude":"2d7c0b40","hex_latitude":"05fa46d0","is_valid_coordinates":true} 
[2026-10-05 15:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545405696001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2145014041804800,"note":"Value kept but may cause issues"} 
[2026-10-05 15:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933382467770411008,"note":"Value kept but may cause issues"} 
[2026-10-05 15:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791193012000,"timestamp_ms":1791193012000,"timestamp_seconds":1791193012,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6c5720"} 
[2026-10-05 15:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:09:39] 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-10-05 15:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-10-05 15:09:39] 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-10-05 15:09: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-10-05 15:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":204579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":204579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":204579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545405696001,"66":27974,"26":206,"87":10752,"24":14,"16":2145014041804800,"45":8933382467770411008},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,87,24,16,45]} 
[2026-10-05 15:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545405696001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:09:39] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-10-05 15:09:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2145014041804800,"km_value":2145014041804.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933382467770411008,"description":"Unknown IO ID 45"} 
[2026-10-05 15:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545405696001,"power":27974,"unknown_26":206,"unknown_87":10752,"ignition":14,"odometer":null,"unknown_45":8933382467770411008}} 
[2026-10-05 15:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":204579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:09:39] local.INFO: GPS data processed {"connection_id":204579,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:09:39] local.INFO: Acknowledgment sent {"connection_id":204579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:09:41] local.INFO: TCP Data received {"connection_id":206111,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206111,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:09:41] local.INFO: Processing buffer {"connection_id":206111,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:09:41] local.INFO: IMEI packet received {"connection_id":206111,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":206111,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:09:42] local.INFO: TCP Data received {"connection_id":206111,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:09:42] local.INFO: Processing buffer {"connection_id":206111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:09:42] local.INFO: Packet analysis {"connection_id":206111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6d"} 
[2026-10-05 15:09:42] local.INFO: Extracted packet for processing {"connection_id":206111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6d"} 
[2026-10-05 15:09:42] local.INFO: GPS Element Parsed {"raw_longitude":762967040,"raw_latitude":99397640,"longitude_deg":76.296704,"latitude_deg":9.939764,"altitude":14,"angle":52,"satellites":38,"speed":0,"hex_longitude":"2d79f400","hex_latitude":"05ecb008","is_valid_coordinates":true} 
[2026-10-05 15:09: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-10-05 15:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545346304001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787648798352476160,"note":"Value kept but may cause issues"} 
[2026-10-05 15:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791193060000,"timestamp_ms":1791193060000,"timestamp_seconds":1791193060,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6d12a0"} 
[2026-10-05 15:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 15:09:42] 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-10-05 15:09: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-10-05 15:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:09: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-10-05 15:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545346304001,"66":12798,"118":206,"87":13824,"24":0,"16":139683344467099648,"45":8787648798352476160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545346304001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:09:42] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:09:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787648798352476160,"description":"Unknown IO ID 45"} 
[2026-10-05 15:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545346304001,"power":12798,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787648798352476160}} 
[2026-10-05 15:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":206111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968065,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:09:42] local.INFO: GPS data processed {"connection_id":206111,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:09:42] local.INFO: Acknowledgment sent {"connection_id":206111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:09:46] local.INFO: TCP Data received {"connection_id":204699,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6e4738012d18a68007229e88006b001625..."} 
[2026-10-05 15:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6e4738012d18a68007229e88006b001625..."} 
[2026-10-05 15:09:46] local.INFO: Processing buffer {"connection_id":204699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6e4738012d18a68007229e88006b001625..."} 
[2026-10-05 15:09:46] local.INFO: Packet analysis {"connection_id":204699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6e"} 
[2026-10-05 15:09:46] local.INFO: Extracted packet for processing {"connection_id":204699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6e"} 
[2026-10-05 15:09:46] local.INFO: GPS Element Parsed {"raw_longitude":756590208,"raw_latitude":119709320,"longitude_deg":75.6590208,"latitude_deg":11.970932,"altitude":107,"angle":22,"satellites":37,"speed":8,"hex_longitude":"2d18a680","hex_latitude":"07229e88","is_valid_coordinates":true} 
[2026-10-05 15:09: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-10-05 15:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545443328001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25084949765816320,"note":"Value kept but may cause issues"} 
[2026-10-05 15:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776036764945606656,"note":"Value kept but may cause issues"} 
[2026-10-05 15:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791193139000,"timestamp_ms":1791193139000,"timestamp_seconds":1791193139,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6e4738"} 
[2026-10-05 15:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-10-05 15:09:46] 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-10-05 15:09: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-10-05 15:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545443328001,"66":14330,"112":206,"28":31744,"24":8,"16":25084949765816320,"45":1776036764945606656},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-10-05 15:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545443328001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:09:46] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-10-05 15:09:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25084949765816320,"km_value":25084949765816.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776036764945606656,"description":"Unknown IO ID 45"} 
[2026-10-05 15:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545443328001,"power":14330,"unknown_112":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1776036764945606656}} 
[2026-10-05 15:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":204699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:09:46] local.INFO: GPS data processed {"connection_id":204699,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:09:46] local.INFO: Acknowledgment sent {"connection_id":204699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:09:46] local.INFO: TCP Data received {"connection_id":206111,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:09:46] local.INFO: Processing buffer {"connection_id":206111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:09:46] local.INFO: Packet analysis {"connection_id":206111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6d"} 
[2026-10-05 15:09:46] local.INFO: Extracted packet for processing {"connection_id":206111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6d"} 
[2026-10-05 15:09:46] local.INFO: GPS Element Parsed {"raw_longitude":762967040,"raw_latitude":99397640,"longitude_deg":76.296704,"latitude_deg":9.939764,"altitude":14,"angle":52,"satellites":38,"speed":0,"hex_longitude":"2d79f400","hex_latitude":"05ecb008","is_valid_coordinates":true} 
[2026-10-05 15:09: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-10-05 15:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545346304001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787648798352476160,"note":"Value kept but may cause issues"} 
[2026-10-05 15:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791193060000,"timestamp_ms":1791193060000,"timestamp_seconds":1791193060,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6d12a0"} 
[2026-10-05 15:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 15:09:46] 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-10-05 15:09: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-10-05 15:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":206111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":206111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":206111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:09:46] 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-10-05 15:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545346304001,"66":12798,"118":206,"87":13824,"24":0,"16":139683344467099648,"45":8787648798352476160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545346304001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:09:46] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:09:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787648798352476160,"description":"Unknown IO ID 45"} 
[2026-10-05 15:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545346304001,"power":12798,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787648798352476160}} 
[2026-10-05 15:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":206111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968067,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:09:47] local.INFO: GPS data processed {"connection_id":206111,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:09:47] local.INFO: Acknowledgment sent {"connection_id":206111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:09:59] local.INFO: TCP Data received {"connection_id":204580,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:09:59] local.INFO: Processing buffer {"connection_id":204580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:09:59] local.INFO: IMEI packet received {"connection_id":204580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":204580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:10:05] local.INFO: TCP Data received {"connection_id":204580,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:10:05] local.INFO: Processing buffer {"connection_id":204580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:10:05] local.INFO: IMEI packet received {"connection_id":204580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":204580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:10:05] local.INFO: TCP Data received {"connection_id":207646,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:10:05] local.INFO: Processing buffer {"connection_id":207646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:10:05] local.INFO: IMEI packet received {"connection_id":207646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":207646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:10:06] local.INFO: TCP Data received {"connection_id":204580,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6e2028012d7ca6c005fb6538000a001b26..."} 
[2026-10-05 15:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6e2028012d7ca6c005fb6538000a001b26..."} 
[2026-10-05 15:10:06] local.INFO: Processing buffer {"connection_id":204580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6e2028012d7ca6c005fb6538000a001b26..."} 
[2026-10-05 15:10:06] local.INFO: Packet analysis {"connection_id":204580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6e"} 
[2026-10-05 15:10:06] local.INFO: Extracted packet for processing {"connection_id":204580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6e"} 
[2026-10-05 15:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763143872,"raw_latitude":100361528,"longitude_deg":76.3143872,"latitude_deg":10.0361528,"altitude":10,"angle":27,"satellites":38,"speed":37,"hex_longitude":"2d7ca6c0","hex_latitude":"05fb6538","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545438464001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2149051311063040,"note":"Value kept but may cause issues"} 
[2026-10-05 15:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977714776620855296,"note":"Value kept but may cause issues"} 
[2026-10-05 15:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791193129000,"timestamp_ms":1791193129000,"timestamp_seconds":1791193129,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6e2028"} 
[2026-10-05 15:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:10: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-10-05 15: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 15:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:10: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-10-05 15:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545438464001,"66":28017,"117":206,"87":10752,"24":37,"16":2149051311063040,"45":8977714776620855296},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-10-05 15:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545438464001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:10:06] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-10-05 15:10:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2149051311063040,"km_value":2149051311063.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977714776620855296,"description":"Unknown IO ID 45"} 
[2026-10-05 15:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545438464001,"power":28017,"unknown_117":206,"unknown_87":10752,"ignition":37,"odometer":null,"unknown_45":8977714776620855296}} 
[2026-10-05 15:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":204580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:10:06] local.INFO: GPS data processed {"connection_id":204580,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:10:06] local.INFO: Acknowledgment sent {"connection_id":204580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:10:12] local.INFO: TCP Data received {"connection_id":207646,"ip":"117.224.80.205","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-10-05 15:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207646,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-10-05 15:10:12] local.INFO: Processing buffer {"connection_id":207646,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-10-05 15:10:12] local.INFO: IMEI packet received {"connection_id":207646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":207646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:10:12] local.INFO: TCP Data received {"connection_id":207646,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:10:12] local.INFO: Processing buffer {"connection_id":207646,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-10-05 15:10:12] local.INFO: IMEI packet received {"connection_id":207646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":207646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:10:31] local.INFO: TCP Data received {"connection_id":207647,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:10:31] local.INFO: Processing buffer {"connection_id":207647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:10:31] local.INFO: IMEI packet received {"connection_id":207647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":207647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:10:36] local.INFO: TCP Data received {"connection_id":207647,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:10:36] local.INFO: Processing buffer {"connection_id":207647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:10:36] local.INFO: IMEI packet received {"connection_id":207647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":207647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:10:37] local.INFO: TCP Data received {"connection_id":207647,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:10:37] local.INFO: Processing buffer {"connection_id":207647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:10:37] local.INFO: Packet analysis {"connection_id":207647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6d"} 
[2026-10-05 15:10:37] local.INFO: Extracted packet for processing {"connection_id":207647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6d"} 
[2026-10-05 15:10:37] local.INFO: GPS Element Parsed {"raw_longitude":762967040,"raw_latitude":99397640,"longitude_deg":76.296704,"latitude_deg":9.939764,"altitude":14,"angle":52,"satellites":38,"speed":0,"hex_longitude":"2d79f400","hex_latitude":"05ecb008","is_valid_coordinates":true} 
[2026-10-05 15:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545346304001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787648798352476160,"note":"Value kept but may cause issues"} 
[2026-10-05 15:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791193060000,"timestamp_ms":1791193060000,"timestamp_seconds":1791193060,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6d12a0"} 
[2026-10-05 15:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 15:10: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-10-05 15:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:10: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-10-05 15:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545346304001,"66":12798,"118":206,"87":13824,"24":0,"16":139683344467099648,"45":8787648798352476160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545346304001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:10:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:10:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787648798352476160,"description":"Unknown IO ID 45"} 
[2026-10-05 15:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545346304001,"power":12798,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787648798352476160}} 
[2026-10-05 15:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":207647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968069,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:10:37] local.INFO: GPS data processed {"connection_id":207647,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:10:37] local.INFO: Acknowledgment sent {"connection_id":207647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:10:37] local.INFO: TCP Data received {"connection_id":204580,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6e4b20012d7cb50005fb87c00009001925..."} 
[2026-10-05 15:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6e4b20012d7cb50005fb87c00009001925..."} 
[2026-10-05 15:10:37] local.INFO: Processing buffer {"connection_id":204580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6e4b20012d7cb50005fb87c00009001925..."} 
[2026-10-05 15:10:37] local.INFO: Packet analysis {"connection_id":204580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6e"} 
[2026-10-05 15:10:37] local.INFO: Extracted packet for processing {"connection_id":204580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6e"} 
[2026-10-05 15:10:37] local.INFO: GPS Element Parsed {"raw_longitude":763147520,"raw_latitude":100370368,"longitude_deg":76.314752,"latitude_deg":10.0370368,"altitude":9,"angle":25,"satellites":37,"speed":35,"hex_longitude":"2d7cb500","hex_latitude":"05fb87c0","is_valid_coordinates":true} 
[2026-10-05 15:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545441024001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2149515167531008,"note":"Value kept but may cause issues"} 
[2026-10-05 15:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982077638762117120,"note":"Value kept but may cause issues"} 
[2026-10-05 15:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791193140000,"timestamp_ms":1791193140000,"timestamp_seconds":1791193140,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6e4b20"} 
[2026-10-05 15:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:10: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-10-05 15:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-10-05 15:10:37] 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-10-05 15:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545441024001,"66":27908,"117":206,"87":10752,"24":35,"16":2149515167531008,"45":8982077638762117120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-10-05 15:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545441024001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:10:37] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-10-05 15:10:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2149515167531008,"km_value":2149515167531.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982077638762117120,"description":"Unknown IO ID 45"} 
[2026-10-05 15:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545441024001,"power":27908,"unknown_117":206,"unknown_87":10752,"ignition":35,"odometer":null,"unknown_45":8982077638762117120}} 
[2026-10-05 15:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":204580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:10:37] local.INFO: GPS data processed {"connection_id":204580,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:10:37] local.INFO: Acknowledgment sent {"connection_id":204580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:10:59] local.INFO: TCP Data received {"connection_id":207648,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:10:59] local.INFO: Processing buffer {"connection_id":207648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:10:59] local.INFO: IMEI packet received {"connection_id":207648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":207648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:11:00] local.INFO: TCP Data received {"connection_id":207648,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:11:00] local.INFO: Processing buffer {"connection_id":207648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:11:00] local.INFO: IMEI packet received {"connection_id":207648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":207648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:11:05] local.INFO: TCP Data received {"connection_id":207648,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:11:05] local.INFO: Processing buffer {"connection_id":207648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:11:05] local.INFO: IMEI packet received {"connection_id":207648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":207648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:11:05] local.INFO: TCP Data received {"connection_id":207648,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6e89a0012d7cc44005fba8d00007001a2a..."} 
[2026-10-05 15:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6e89a0012d7cc44005fba8d00007001a2a..."} 
[2026-10-05 15:11:05] local.INFO: Processing buffer {"connection_id":207648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6e89a0012d7cc44005fba8d00007001a2a..."} 
[2026-10-05 15:11:05] local.INFO: Packet analysis {"connection_id":207648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6e"} 
[2026-10-05 15:11:05] local.INFO: Extracted packet for processing {"connection_id":207648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6e"} 
[2026-10-05 15:11:05] local.INFO: GPS Element Parsed {"raw_longitude":763151424,"raw_latitude":100378832,"longitude_deg":76.3151424,"latitude_deg":10.0378832,"altitude":7,"angle":26,"satellites":42,"speed":19,"hex_longitude":"2d7cc440","hex_latitude":"05fba8d0","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545443840001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2149966139097088,"note":"Value kept but may cause issues"} 
[2026-10-05 15:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8986088657182507008,"note":"Value kept but may cause issues"} 
[2026-10-05 15:11:05] 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-10-05 15:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791193156000,"timestamp_ms":1791193156000,"timestamp_seconds":1791193156,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6e89a0"} 
[2026-10-05 15:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:11: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-10-05 15:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 15:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545443840001,"66":27930,"116":206,"87":10752,"24":19,"16":2149966139097088,"45":8986088657182507008},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-10-05 15:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545443840001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:11:05] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-10-05 15:11:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2149966139097088,"km_value":2149966139097.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8986088657182507008,"description":"Unknown IO ID 45"} 
[2026-10-05 15:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545443840001,"power":27930,"unknown_116":206,"unknown_87":10752,"ignition":19,"odometer":null,"unknown_45":8986088657182507008}} 
[2026-10-05 15:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":207648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:11:05] local.INFO: GPS data processed {"connection_id":207648,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:11:05] local.INFO: Acknowledgment sent {"connection_id":207648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:11:08] local.INFO: TCP Data received {"connection_id":207647,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:11:08] local.INFO: Processing buffer {"connection_id":207647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:11:08] local.INFO: Packet analysis {"connection_id":207647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6d"} 
[2026-10-05 15:11:08] local.INFO: Extracted packet for processing {"connection_id":207647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6d"} 
[2026-10-05 15:11:08] local.INFO: GPS Element Parsed {"raw_longitude":762967040,"raw_latitude":99397640,"longitude_deg":76.296704,"latitude_deg":9.939764,"altitude":14,"angle":52,"satellites":38,"speed":0,"hex_longitude":"2d79f400","hex_latitude":"05ecb008","is_valid_coordinates":true} 
[2026-10-05 15:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545346304001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787648798352476160,"note":"Value kept but may cause issues"} 
[2026-10-05 15:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791193060000,"timestamp_ms":1791193060000,"timestamp_seconds":1791193060,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6d12a0"} 
[2026-10-05 15:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:11: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-10-05 15:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 15:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:11: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-10-05 15:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545346304001,"66":12798,"118":206,"87":13824,"24":0,"16":139683344467099648,"45":8787648798352476160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545346304001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:11:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:11:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787648798352476160,"description":"Unknown IO ID 45"} 
[2026-10-05 15:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545346304001,"power":12798,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787648798352476160}} 
[2026-10-05 15:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":207647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968072,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:11:08] local.INFO: GPS data processed {"connection_id":207647,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:11:08] local.INFO: Acknowledgment sent {"connection_id":207647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:11:08] local.INFO: TCP Data received {"connection_id":207648,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6ec438012d7cd24005fbca70000800172c..."} 
[2026-10-05 15:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6ec438012d7cd24005fbca70000800172c..."} 
[2026-10-05 15:11:08] local.INFO: Processing buffer {"connection_id":207648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6ec438012d7cd24005fbca70000800172c..."} 
[2026-10-05 15:11:08] local.INFO: Packet analysis {"connection_id":207648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6e"} 
[2026-10-05 15:11:08] local.INFO: Extracted packet for processing {"connection_id":207648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6e"} 
[2026-10-05 15:11:08] local.INFO: GPS Element Parsed {"raw_longitude":763155008,"raw_latitude":100387440,"longitude_deg":76.3155008,"latitude_deg":10.038744,"altitude":8,"angle":23,"satellites":44,"speed":28,"hex_longitude":"2d7cd240","hex_latitude":"05fbca70","is_valid_coordinates":true} 
[2026-10-05 15:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545447936001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2150417110663168,"note":"Value kept but may cause issues"} 
[2026-10-05 15:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8990381150579511296,"note":"Value kept but may cause issues"} 
[2026-10-05 15:11:08] 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-10-05 15:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791193171000,"timestamp_ms":1791193171000,"timestamp_seconds":1791193171,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6ec438"} 
[2026-10-05 15:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:11: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-10-05 15:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-05 15:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:11: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-10-05 15:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:11: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-10-05 15:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545447936001,"66":27930,"134":206,"87":10752,"24":28,"16":2150417110663168,"45":8990381150579511296},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,87,24,16,45]} 
[2026-10-05 15:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545447936001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:11:08] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-10-05 15:11:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2150417110663168,"km_value":2150417110663.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8990381150579511296,"description":"Unknown IO ID 45"} 
[2026-10-05 15:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545447936001,"power":27930,"unknown_134":206,"unknown_87":10752,"ignition":28,"odometer":null,"unknown_45":8990381150579511296}} 
[2026-10-05 15:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":207648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:11:08] local.INFO: GPS data processed {"connection_id":207648,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:11:08] local.INFO: Acknowledgment sent {"connection_id":207648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:11:31] local.INFO: TCP Data received {"connection_id":204581,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:11:31] local.INFO: Processing buffer {"connection_id":204581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:11:31] local.INFO: IMEI packet received {"connection_id":204581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":204581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:11:36] local.INFO: TCP Data received {"connection_id":204581,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:11:36] local.INFO: Processing buffer {"connection_id":204581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:11:36] local.INFO: IMEI packet received {"connection_id":204581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":204581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:11:37] local.INFO: TCP Data received {"connection_id":204581,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:11:37] local.INFO: Processing buffer {"connection_id":204581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:11:37] local.INFO: Packet analysis {"connection_id":204581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6d"} 
[2026-10-05 15:11:37] local.INFO: Extracted packet for processing {"connection_id":204581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6d"} 
[2026-10-05 15:11:37] local.INFO: GPS Element Parsed {"raw_longitude":762967040,"raw_latitude":99397640,"longitude_deg":76.296704,"latitude_deg":9.939764,"altitude":14,"angle":52,"satellites":38,"speed":0,"hex_longitude":"2d79f400","hex_latitude":"05ecb008","is_valid_coordinates":true} 
[2026-10-05 15:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545346304001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787648798352476160,"note":"Value kept but may cause issues"} 
[2026-10-05 15:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791193060000,"timestamp_ms":1791193060000,"timestamp_seconds":1791193060,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6d12a0"} 
[2026-10-05 15:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 15:11: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-10-05 15:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:11: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-10-05 15:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545346304001,"66":12798,"118":206,"87":13824,"24":0,"16":139683344467099648,"45":8787648798352476160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545346304001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:11:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:11:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787648798352476160,"description":"Unknown IO ID 45"} 
[2026-10-05 15:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545346304001,"power":12798,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787648798352476160}} 
[2026-10-05 15:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":204581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968074,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:11:37] local.INFO: GPS data processed {"connection_id":204581,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:11:37] local.INFO: Acknowledgment sent {"connection_id":204581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:11:39] local.INFO: TCP Data received {"connection_id":207648,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6eef30012d7ce14005fbec08000900182a..."} 
[2026-10-05 15:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6eef30012d7ce14005fbec08000900182a..."} 
[2026-10-05 15:11:39] local.INFO: Processing buffer {"connection_id":207648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6eef30012d7ce14005fbec08000900182a..."} 
[2026-10-05 15:11:39] local.INFO: Packet analysis {"connection_id":207648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6e"} 
[2026-10-05 15:11:39] local.INFO: Extracted packet for processing {"connection_id":207648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6e"} 
[2026-10-05 15:11:39] local.INFO: GPS Element Parsed {"raw_longitude":763158848,"raw_latitude":100396040,"longitude_deg":76.3158848,"latitude_deg":10.039604,"altitude":9,"angle":24,"satellites":42,"speed":39,"hex_longitude":"2d7ce140","hex_latitude":"05fbec08","is_valid_coordinates":true} 
[2026-10-05 15:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545451776001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2150872377196544,"note":"Value kept but may cause issues"} 
[2026-10-05 15:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994321800255664128,"note":"Value kept but may cause issues"} 
[2026-10-05 15:11:39] 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-10-05 15:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791193182000,"timestamp_ms":1791193182000,"timestamp_seconds":1791193182,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6eef30"} 
[2026-10-05 15:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:11:39] 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-10-05 15:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-05 15:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":207648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":207648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":207648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545451776001,"66":28017,"134":206,"87":10752,"24":39,"16":2150872377196544,"45":8994321800255664128},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,87,24,16,45]} 
[2026-10-05 15:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545451776001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:11:39] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-10-05 15:11:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2150872377196544,"km_value":2150872377196.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994321800255664128,"description":"Unknown IO ID 45"} 
[2026-10-05 15:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545451776001,"power":28017,"unknown_134":206,"unknown_87":10752,"ignition":39,"odometer":null,"unknown_45":8994321800255664128}} 
[2026-10-05 15:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":207648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:11:39] local.INFO: GPS data processed {"connection_id":207648,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:11:39] local.INFO: Acknowledgment sent {"connection_id":207648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:11:55] local.INFO: TCP Data received {"connection_id":204702,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:11:55] local.INFO: Processing buffer {"connection_id":204702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:11:55] local.INFO: IMEI packet received {"connection_id":204702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":204702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:11:58] local.INFO: TCP Data received {"connection_id":204702,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:11:58] local.INFO: Processing buffer {"connection_id":204702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:11:58] local.INFO: IMEI packet received {"connection_id":204702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":204702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:11:59] local.INFO: TCP Data received {"connection_id":204702,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6f1258012d7cefc005fc0da8000b001529..."} 
[2026-10-05 15:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6f1258012d7cefc005fc0da8000b001529..."} 
[2026-10-05 15:11:59] local.INFO: Processing buffer {"connection_id":204702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6f1258012d7cefc005fc0da8000b001529..."} 
[2026-10-05 15:11:59] local.INFO: Packet analysis {"connection_id":204702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6f"} 
[2026-10-05 15:11:59] local.INFO: Extracted packet for processing {"connection_id":204702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6f"} 
[2026-10-05 15:11:59] local.INFO: GPS Element Parsed {"raw_longitude":763162560,"raw_latitude":100404648,"longitude_deg":76.316256,"latitude_deg":10.0404648,"altitude":11,"angle":21,"satellites":41,"speed":43,"hex_longitude":"2d7cefc0","hex_latitude":"05fc0da8","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545454592001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2151327643729920,"note":"Value kept but may cause issues"} 
[2026-10-05 15:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998543924908525568,"note":"Value kept but may cause issues"} 
[2026-10-05 15:11:59] 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-10-05 15:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791193191000,"timestamp_ms":1791193191000,"timestamp_seconds":1791193191,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6f1258"} 
[2026-10-05 15:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:11: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-10-05 15: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-10-05 15:11:59] 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-10-05 15: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-10-05 15:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":204702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":204702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":204702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:11: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-10-05 15:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545454592001,"66":28050,"134":206,"87":10752,"24":43,"16":2151327643729920,"45":8998543924908525568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,87,24,16,45]} 
[2026-10-05 15:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545454592001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:11:59] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-10-05 15:11:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2151327643729920,"km_value":2151327643729.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998543924908525568,"description":"Unknown IO ID 45"} 
[2026-10-05 15:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545454592001,"power":28050,"unknown_134":206,"unknown_87":10752,"ignition":43,"odometer":null,"unknown_45":8998543924908525568}} 
[2026-10-05 15:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":204702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:11:59] local.INFO: GPS data processed {"connection_id":204702,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:11:59] local.INFO: Acknowledgment sent {"connection_id":204702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:12:08] local.INFO: TCP Data received {"connection_id":204581,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:12:08] local.INFO: Processing buffer {"connection_id":204581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:12:08] local.INFO: Packet analysis {"connection_id":204581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6d"} 
[2026-10-05 15:12:08] local.INFO: Extracted packet for processing {"connection_id":204581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6d"} 
[2026-10-05 15:12:08] local.INFO: GPS Element Parsed {"raw_longitude":762967040,"raw_latitude":99397640,"longitude_deg":76.296704,"latitude_deg":9.939764,"altitude":14,"angle":52,"satellites":38,"speed":0,"hex_longitude":"2d79f400","hex_latitude":"05ecb008","is_valid_coordinates":true} 
[2026-10-05 15:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545346304001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787648798352476160,"note":"Value kept but may cause issues"} 
[2026-10-05 15:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791193060000,"timestamp_ms":1791193060000,"timestamp_seconds":1791193060,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6d12a0"} 
[2026-10-05 15:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:12: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-10-05 15: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 15:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545346304001,"66":12798,"118":206,"87":13824,"24":0,"16":139683344467099648,"45":8787648798352476160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545346304001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:12:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:12:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787648798352476160,"description":"Unknown IO ID 45"} 
[2026-10-05 15:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545346304001,"power":12798,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787648798352476160}} 
[2026-10-05 15:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":204581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968077,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:12:08] local.INFO: GPS data processed {"connection_id":204581,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:12:08] local.INFO: Acknowledgment sent {"connection_id":204581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:12:30] local.INFO: TCP Data received {"connection_id":207649,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:12:30] local.INFO: Processing buffer {"connection_id":207649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:12:30] local.INFO: IMEI packet received {"connection_id":207649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":207649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:12:36] local.INFO: TCP Data received {"connection_id":207649,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:12:36] local.INFO: Processing buffer {"connection_id":207649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:12:36] local.INFO: IMEI packet received {"connection_id":207649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":207649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:12:37] local.INFO: TCP Data received {"connection_id":207649,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:12:37] local.INFO: Processing buffer {"connection_id":207649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6d12a0012d79f40005ecb008000e003426..."} 
[2026-10-05 15:12:37] local.INFO: Packet analysis {"connection_id":207649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6d"} 
[2026-10-05 15:12:37] local.INFO: Extracted packet for processing {"connection_id":207649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6d"} 
[2026-10-05 15:12:37] local.INFO: GPS Element Parsed {"raw_longitude":762967040,"raw_latitude":99397640,"longitude_deg":76.296704,"latitude_deg":9.939764,"altitude":14,"angle":52,"satellites":38,"speed":0,"hex_longitude":"2d79f400","hex_latitude":"05ecb008","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545346304001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787648798352476160,"note":"Value kept but may cause issues"} 
[2026-10-05 15:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791193060000,"timestamp_ms":1791193060000,"timestamp_seconds":1791193060,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6d12a0"} 
[2026-10-05 15:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 15:12: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-10-05 15:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15: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-10-05 15:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545346304001,"66":12798,"118":206,"87":13824,"24":0,"16":139683344467099648,"45":8787648798352476160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545346304001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:12:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:12:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787648798352476160,"description":"Unknown IO ID 45"} 
[2026-10-05 15:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545346304001,"power":12798,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787648798352476160}} 
[2026-10-05 15:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":207649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:12:37] local.INFO: GPS data processed {"connection_id":207649,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:12:37] local.INFO: Acknowledgment sent {"connection_id":207649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:12:40] local.INFO: TCP Data received {"connection_id":204702,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6f3198012d7cfb0005fc2f58000a001126..."} 
[2026-10-05 15:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6f3198012d7cfb0005fc2f58000a001126..."} 
[2026-10-05 15:12:40] local.INFO: Processing buffer {"connection_id":204702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6f3198012d7cfb0005fc2f58000a001126..."} 
[2026-10-05 15:12:40] local.INFO: Packet analysis {"connection_id":204702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6f"} 
[2026-10-05 15:12:40] local.INFO: Extracted packet for processing {"connection_id":204702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6f"} 
[2026-10-05 15:12:40] local.INFO: GPS Element Parsed {"raw_longitude":763165440,"raw_latitude":100413272,"longitude_deg":76.316544,"latitude_deg":10.0413272,"altitude":10,"angle":17,"satellites":38,"speed":46,"hex_longitude":"2d7cfb00","hex_latitude":"05fc2f58","is_valid_coordinates":true} 
[2026-10-05 15:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545456896001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2151765730394112,"note":"Value kept but may cause issues"} 
[2026-10-05 15:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002625312073033728,"note":"Value kept but may cause issues"} 
[2026-10-05 15:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791193199000,"timestamp_ms":1791193199000,"timestamp_seconds":1791193199,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6f3198"} 
[2026-10-05 15:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:12:40] 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-10-05 15: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-10-05 15:12:40] 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-10-05 15: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-10-05 15:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545456896001,"66":27800,"144":206,"87":10752,"24":46,"16":2151765730394112,"45":9002625312073033728},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-10-05 15:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545456896001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:12:40] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-05 15:12:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2151765730394112,"km_value":2151765730394.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002625312073033728,"description":"Unknown IO ID 45"} 
[2026-10-05 15:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545456896001,"power":27800,"unknown_144":206,"unknown_87":10752,"ignition":46,"odometer":null,"unknown_45":9002625312073033728}} 
[2026-10-05 15:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":204702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:12:40] local.INFO: GPS data processed {"connection_id":204702,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:12:40] local.INFO: Acknowledgment sent {"connection_id":204702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:12:52] local.INFO: TCP Data received {"connection_id":204583,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:12:52] local.INFO: Processing buffer {"connection_id":204583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:12:52] local.INFO: IMEI packet received {"connection_id":204583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":204583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:12:54] local.INFO: TCP Data received {"connection_id":204583,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:12:54] local.INFO: Processing buffer {"connection_id":204583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:12:54] local.INFO: IMEI packet received {"connection_id":204583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":204583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:12:54] local.INFO: TCP Data received {"connection_id":207650,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207650,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:12:54] local.INFO: Processing buffer {"connection_id":207650,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:12:54] local.INFO: IMEI packet received {"connection_id":207650,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 15:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":207650,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:13:00] local.INFO: TCP Data received {"connection_id":204583,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:13:00] local.INFO: Processing buffer {"connection_id":204583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:13:00] local.INFO: IMEI packet received {"connection_id":204583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":204583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:13:01] local.INFO: TCP Data received {"connection_id":204583,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b6f58a8012d7d05c005fc5138000e000f29..."} 
[2026-10-05 15:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b6f58a8012d7d05c005fc5138000e000f29..."} 
[2026-10-05 15:13:01] local.INFO: Processing buffer {"connection_id":204583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b6f58a8012d7d05c005fc5138000e000f29..."} 
[2026-10-05 15:13:01] local.INFO: Packet analysis {"connection_id":204583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b6f"} 
[2026-10-05 15:13:01] local.INFO: Extracted packet for processing {"connection_id":204583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b6f"} 
[2026-10-05 15:13:01] local.INFO: GPS Element Parsed {"raw_longitude":763168192,"raw_latitude":100421944,"longitude_deg":76.3168192,"latitude_deg":10.0421944,"altitude":14,"angle":15,"satellites":41,"speed":30,"hex_longitude":"2d7d05c0","hex_latitude":"05fc5138","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545458944001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2152208112025600,"note":"Value kept but may cause issues"} 
[2026-10-05 15:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005791905563236352,"note":"Value kept but may cause issues"} 
[2026-10-05 15:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791193209000,"timestamp_ms":1791193209000,"timestamp_seconds":1791193209,"priority":1,"record_length":96,"hex_timestamp":"000001a10b6f58a8"} 
[2026-10-05 15:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:13: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-10-05 15: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-05 15:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:13: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-10-05 15:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545458944001,"66":27865,"144":206,"87":10752,"24":30,"16":2152208112025600,"45":9005791905563236352},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-10-05 15:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545458944001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:13:01] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-05 15:13:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2152208112025600,"km_value":2152208112025.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005791905563236352,"description":"Unknown IO ID 45"} 
[2026-10-05 15:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545458944001,"power":27865,"unknown_144":206,"unknown_87":10752,"ignition":30,"odometer":null,"unknown_45":9005791905563236352}} 
[2026-10-05 15:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":204583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:13:01] local.INFO: GPS data processed {"connection_id":204583,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:13:01] local.INFO: Acknowledgment sent {"connection_id":204583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:13:08] local.INFO: TCP Data received {"connection_id":207649,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b71aa68012d79f40005ecb008000d00341f..."} 
[2026-10-05 15:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b71aa68012d79f40005ecb008000d00341f..."} 
[2026-10-05 15:13:08] local.INFO: Processing buffer {"connection_id":207649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b71aa68012d79f40005ecb008000d00341f..."} 
[2026-10-05 15:13:08] local.INFO: Packet analysis {"connection_id":207649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b71"} 
[2026-10-05 15:13:08] local.INFO: Extracted packet for processing {"connection_id":207649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b71"} 
[2026-10-05 15:13:08] local.INFO: GPS Element Parsed {"raw_longitude":762967040,"raw_latitude":99397640,"longitude_deg":76.296704,"latitude_deg":9.939764,"altitude":13,"angle":52,"satellites":31,"speed":0,"hex_longitude":"2d79f400","hex_latitude":"05ecb008","is_valid_coordinates":true} 
[2026-10-05 15:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545423360001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787648798352476160,"note":"Value kept but may cause issues"} 
[2026-10-05 15:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791193361000,"timestamp_ms":1791193361000,"timestamp_seconds":1791193361,"priority":1,"record_length":96,"hex_timestamp":"000001a10b71aa68"} 
[2026-10-05 15:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:13: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-10-05 15:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 15:13: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-10-05 15:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545423360001,"66":12809,"118":206,"87":13824,"24":0,"16":139683344467099648,"45":8787648798352476160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545423360001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:13:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:13:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787648798352476160,"description":"Unknown IO ID 45"} 
[2026-10-05 15:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545423360001,"power":12809,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787648798352476160}} 
[2026-10-05 15:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":207649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:13:08] local.INFO: GPS data processed {"connection_id":207649,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:13:08] local.INFO: Acknowledgment sent {"connection_id":207649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:13:30] local.INFO: TCP Data received {"connection_id":204703,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:13:30] local.INFO: Processing buffer {"connection_id":204703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:13:30] local.INFO: IMEI packet received {"connection_id":204703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":204703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:13:34] local.INFO: TCP Data received {"connection_id":206113,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:13:34] local.INFO: Processing buffer {"connection_id":206113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:13:34] local.INFO: IMEI packet received {"connection_id":206113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 15:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":206113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:13:34] local.INFO: TCP Data received {"connection_id":204583,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b717b88012d7d900005fe0de00013001125..."} 
[2026-10-05 15:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b717b88012d7d900005fe0de00013001125..."} 
[2026-10-05 15:13:34] local.INFO: Processing buffer {"connection_id":204583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b717b88012d7d900005fe0de00013001125..."} 
[2026-10-05 15:13:34] local.INFO: Packet analysis {"connection_id":204583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b71"} 
[2026-10-05 15:13:34] local.INFO: Extracted packet for processing {"connection_id":204583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b71"} 
[2026-10-05 15:13:34] local.INFO: GPS Element Parsed {"raw_longitude":763203584,"raw_latitude":100535776,"longitude_deg":76.3203584,"latitude_deg":10.0535776,"altitude":19,"angle":17,"satellites":37,"speed":42,"hex_longitude":"2d7d9000","hex_latitude":"05fe0de0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 15:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545495296001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2157993432973312,"note":"Value kept but may cause issues"} 
[2026-10-05 15:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9044072502424846336,"note":"Value kept but may cause issues"} 
[2026-10-05 15:13:34] 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-10-05 15:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791193349000,"timestamp_ms":1791193349000,"timestamp_seconds":1791193349,"priority":1,"record_length":96,"hex_timestamp":"000001a10b717b88"} 
[2026-10-05 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-10-05 15:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 15:13:34] 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-10-05 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-10-05 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-10-05 15:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":204583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":204583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":204583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545495296001,"66":27995,"138":206,"87":10752,"24":42,"16":2157993432973312,"45":9044072502424846336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,87,24,16,45]} 
[2026-10-05 15:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545495296001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:13:34] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-10-05 15:13:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2157993432973312,"km_value":2157993432973.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9044072502424846336,"description":"Unknown IO ID 45"} 
[2026-10-05 15:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545495296001,"power":27995,"unknown_138":206,"unknown_87":10752,"ignition":42,"odometer":null,"unknown_45":9044072502424846336}} 
[2026-10-05 15:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":204583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:13:34] local.INFO: GPS data processed {"connection_id":204583,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:13:34] local.INFO: Acknowledgment sent {"connection_id":204583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:13:36] local.INFO: TCP Data received {"connection_id":204703,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:13:36] local.INFO: Processing buffer {"connection_id":204703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:13:36] local.INFO: IMEI packet received {"connection_id":204703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":204703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:13:37] local.INFO: TCP Data received {"connection_id":204703,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b71aa68012d79f40005ecb008000d00341f..."} 
[2026-10-05 15:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b71aa68012d79f40005ecb008000d00341f..."} 
[2026-10-05 15:13:37] local.INFO: Processing buffer {"connection_id":204703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b71aa68012d79f40005ecb008000d00341f..."} 
[2026-10-05 15:13:37] local.INFO: Packet analysis {"connection_id":204703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b71"} 
[2026-10-05 15:13:37] local.INFO: Extracted packet for processing {"connection_id":204703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b71"} 
[2026-10-05 15:13:37] local.INFO: GPS Element Parsed {"raw_longitude":762967040,"raw_latitude":99397640,"longitude_deg":76.296704,"latitude_deg":9.939764,"altitude":13,"angle":52,"satellites":31,"speed":0,"hex_longitude":"2d79f400","hex_latitude":"05ecb008","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545423360001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787648798352476160,"note":"Value kept but may cause issues"} 
[2026-10-05 15:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791193361000,"timestamp_ms":1791193361000,"timestamp_seconds":1791193361,"priority":1,"record_length":96,"hex_timestamp":"000001a10b71aa68"} 
[2026-10-05 15:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 15:13:37] 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-10-05 15:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15: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-10-05 15:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545423360001,"66":12809,"118":206,"87":13824,"24":0,"16":139683344467099648,"45":8787648798352476160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545423360001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:13:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:13:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787648798352476160,"description":"Unknown IO ID 45"} 
[2026-10-05 15:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545423360001,"power":12809,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787648798352476160}} 
[2026-10-05 15:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":204703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:13:37] local.INFO: GPS data processed {"connection_id":204703,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:13:37] local.INFO: Acknowledgment sent {"connection_id":204703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:14:03] local.INFO: TCP Data received {"connection_id":204704,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:14:03] local.INFO: Processing buffer {"connection_id":204704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:14:03] local.INFO: IMEI packet received {"connection_id":204704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":204704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:14:03] local.INFO: TCP Data received {"connection_id":204704,"ip":"42.109.136.7","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 15:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204704,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 15:14:03] local.INFO: Processing buffer {"connection_id":204704,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 15:14:03] local.INFO: IMEI packet received {"connection_id":204704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":204704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:14:04] local.INFO: TCP Data received {"connection_id":204704,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:14:04] local.INFO: Processing buffer {"connection_id":204704,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 15:14:04] local.INFO: IMEI packet received {"connection_id":204704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":204704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:14:05] local.INFO: TCP Data received {"connection_id":204704,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b719eb0012d7d9ac005fe2fb00017001121..."} 
[2026-10-05 15:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b719eb0012d7d9ac005fe2fb00017001121..."} 
[2026-10-05 15:14:05] local.INFO: Processing buffer {"connection_id":204704,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a10b..."} 
[2026-10-05 15:14:05] local.INFO: IMEI packet received {"connection_id":204704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":204704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:14:06] local.INFO: TCP Data received {"connection_id":204704,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b71c1d8012d7da5c005fe53e00016000f28..."} 
[2026-10-05 15:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b71c1d8012d7da5c005fe53e00016000f28..."} 
[2026-10-05 15:14:06] local.INFO: Processing buffer {"connection_id":204704,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a10b719eb0012d7d9ac005fe2fb00017001121..."} 
[2026-10-05 15:14:06] local.INFO: Packet analysis {"connection_id":204704,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a10b71"} 
[2026-10-05 15:14:06] local.INFO: Extracted packet for processing {"connection_id":204704,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b71"} 
[2026-10-05 15:14:06] local.INFO: GPS Element Parsed {"raw_longitude":763206336,"raw_latitude":100544432,"longitude_deg":76.3206336,"latitude_deg":10.0544432,"altitude":23,"angle":17,"satellites":33,"speed":39,"hex_longitude":"2d7d9ac0","hex_latitude":"05fe2fb0","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545497344001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2158431519637504,"note":"Value kept but may cause issues"} 
[2026-10-05 15:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9047731677124485120,"note":"Value kept but may cause issues"} 
[2026-10-05 15:14:06] 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-10-05 15:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791193358000,"timestamp_ms":1791193358000,"timestamp_seconds":1791193358,"priority":1,"record_length":96,"hex_timestamp":"000001a10b719eb0"} 
[2026-10-05 15:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:14: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-10-05 15:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 15:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:14: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-10-05 15:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545497344001,"66":28104,"138":206,"87":10752,"24":39,"16":2158431519637504,"45":9047731677124485120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,87,24,16,45]} 
[2026-10-05 15:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545497344001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:14:06] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-10-05 15:14:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2158431519637504,"km_value":2158431519637.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9047731677124485120,"description":"Unknown IO ID 45"} 
[2026-10-05 15:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545497344001,"power":28104,"unknown_138":206,"unknown_87":10752,"ignition":39,"odometer":null,"unknown_45":9047731677124485120}} 
[2026-10-05 15:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":204704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:14:06] local.INFO: GPS data processed {"connection_id":204704,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:14:06] local.INFO: Acknowledgment sent {"connection_id":204704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:14:06] local.INFO: Packet analysis {"connection_id":204704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b71"} 
[2026-10-05 15:14:06] local.INFO: Extracted packet for processing {"connection_id":204704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b71"} 
[2026-10-05 15:14:06] local.INFO: GPS Element Parsed {"raw_longitude":763209152,"raw_latitude":100553696,"longitude_deg":76.3209152,"latitude_deg":10.0553696,"altitude":22,"angle":15,"satellites":40,"speed":45,"hex_longitude":"2d7da5c0","hex_latitude":"05fe53e0","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545499648001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2158899671072768,"note":"Value kept but may cause issues"} 
[2026-10-05 15:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9050757533126340608,"note":"Value kept but may cause issues"} 
[2026-10-05 15:14:06] 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-10-05 15:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791193367000,"timestamp_ms":1791193367000,"timestamp_seconds":1791193367,"priority":1,"record_length":96,"hex_timestamp":"000001a10b71c1d8"} 
[2026-10-05 15:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:14: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-10-05 15:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-05 15:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:14: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-10-05 15:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545499648001,"66":27919,"138":206,"87":10752,"24":45,"16":2158899671072768,"45":9050757533126340608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,87,24,16,45]} 
[2026-10-05 15:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545499648001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:14:06] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-10-05 15:14:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2158899671072768,"km_value":2158899671072.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9050757533126340608,"description":"Unknown IO ID 45"} 
[2026-10-05 15:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545499648001,"power":27919,"unknown_138":206,"unknown_87":10752,"ignition":45,"odometer":null,"unknown_45":9050757533126340608}} 
[2026-10-05 15:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":204704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:14:06] local.INFO: GPS data processed {"connection_id":204704,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:14:06] local.INFO: Acknowledgment sent {"connection_id":204704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:14:08] local.INFO: TCP Data received {"connection_id":204703,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b71aa68012d79f40005ecb008000d00341f..."} 
[2026-10-05 15:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b71aa68012d79f40005ecb008000d00341f..."} 
[2026-10-05 15:14:08] local.INFO: Processing buffer {"connection_id":204703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b71aa68012d79f40005ecb008000d00341f..."} 
[2026-10-05 15:14:08] local.INFO: Packet analysis {"connection_id":204703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b71"} 
[2026-10-05 15:14:08] local.INFO: Extracted packet for processing {"connection_id":204703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b71"} 
[2026-10-05 15:14:08] local.INFO: GPS Element Parsed {"raw_longitude":762967040,"raw_latitude":99397640,"longitude_deg":76.296704,"latitude_deg":9.939764,"altitude":13,"angle":52,"satellites":31,"speed":0,"hex_longitude":"2d79f400","hex_latitude":"05ecb008","is_valid_coordinates":true} 
[2026-10-05 15:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545423360001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787648798352476160,"note":"Value kept but may cause issues"} 
[2026-10-05 15:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791193361000,"timestamp_ms":1791193361000,"timestamp_seconds":1791193361,"priority":1,"record_length":96,"hex_timestamp":"000001a10b71aa68"} 
[2026-10-05 15:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:14: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-10-05 15:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 15:14: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-10-05 15:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545423360001,"66":12809,"118":206,"87":13824,"24":0,"16":139683344467099648,"45":8787648798352476160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545423360001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:14:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:14:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787648798352476160,"description":"Unknown IO ID 45"} 
[2026-10-05 15:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545423360001,"power":12809,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787648798352476160}} 
[2026-10-05 15:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":204703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:14:09] local.INFO: GPS data processed {"connection_id":204703,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:14:09] local.INFO: Acknowledgment sent {"connection_id":204703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:14:10] local.INFO: TCP Data received {"connection_id":204704,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b71e8e8012d7db04005fe76d00014001029..."} 
[2026-10-05 15:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b71e8e8012d7db04005fe76d00014001029..."} 
[2026-10-05 15:14:10] local.INFO: Processing buffer {"connection_id":204704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b71e8e8012d7db04005fe76d00014001029..."} 
[2026-10-05 15:14:10] local.INFO: Packet analysis {"connection_id":204704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b71"} 
[2026-10-05 15:14:10] local.INFO: Extracted packet for processing {"connection_id":204704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b71"} 
[2026-10-05 15:14:10] local.INFO: GPS Element Parsed {"raw_longitude":763211840,"raw_latitude":100562640,"longitude_deg":76.321184,"latitude_deg":10.056264,"altitude":20,"angle":16,"satellites":41,"speed":25,"hex_longitude":"2d7db040","hex_latitude":"05fe76d0","is_valid_coordinates":true} 
[2026-10-05 15:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545501952001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2159350642638848,"note":"Value kept but may cause issues"} 
[2026-10-05 15:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9053853757872529408,"note":"Value kept but may cause issues"} 
[2026-10-05 15:14:10] 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-10-05 15:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791193377000,"timestamp_ms":1791193377000,"timestamp_seconds":1791193377,"priority":1,"record_length":96,"hex_timestamp":"000001a10b71e8e8"} 
[2026-10-05 15:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:14:10] 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-10-05 15:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 15:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545501952001,"66":27908,"138":206,"87":10752,"24":25,"16":2159350642638848,"45":9053853757872529408},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,87,24,16,45]} 
[2026-10-05 15:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545501952001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:14:10] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-10-05 15:14:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2159350642638848,"km_value":2159350642638.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9053853757872529408,"description":"Unknown IO ID 45"} 
[2026-10-05 15:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545501952001,"power":27908,"unknown_138":206,"unknown_87":10752,"ignition":25,"odometer":null,"unknown_45":9053853757872529408}} 
[2026-10-05 15:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":204704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:14:10] local.INFO: GPS data processed {"connection_id":204704,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:14:10] local.INFO: Acknowledgment sent {"connection_id":204704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:14:36] local.INFO: TCP Data received {"connection_id":204586,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:14:36] local.INFO: Processing buffer {"connection_id":204586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:14:36] local.INFO: IMEI packet received {"connection_id":204586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":204586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:14:41] local.INFO: TCP Data received {"connection_id":204586,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:14:41] local.INFO: Processing buffer {"connection_id":204586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:14:41] local.INFO: IMEI packet received {"connection_id":204586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":204586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:14:42] local.INFO: TCP Data received {"connection_id":204586,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b71aa68012d79f40005ecb008000d00341f..."} 
[2026-10-05 15:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b71aa68012d79f40005ecb008000d00341f..."} 
[2026-10-05 15:14:42] local.INFO: Processing buffer {"connection_id":204586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b71aa68012d79f40005ecb008000d00341f..."} 
[2026-10-05 15:14:42] local.INFO: Packet analysis {"connection_id":204586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b71"} 
[2026-10-05 15:14:42] local.INFO: Extracted packet for processing {"connection_id":204586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b71"} 
[2026-10-05 15:14:42] local.INFO: GPS Element Parsed {"raw_longitude":762967040,"raw_latitude":99397640,"longitude_deg":76.296704,"latitude_deg":9.939764,"altitude":13,"angle":52,"satellites":31,"speed":0,"hex_longitude":"2d79f400","hex_latitude":"05ecb008","is_valid_coordinates":true} 
[2026-10-05 15:14: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-10-05 15:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545423360001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787648798352476160,"note":"Value kept but may cause issues"} 
[2026-10-05 15:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791193361000,"timestamp_ms":1791193361000,"timestamp_seconds":1791193361,"priority":1,"record_length":96,"hex_timestamp":"000001a10b71aa68"} 
[2026-10-05 15:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 15:14:42] 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-10-05 15:14: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-10-05 15:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:14: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-10-05 15:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545423360001,"66":12809,"118":206,"87":13824,"24":0,"16":139683344467099648,"45":8787648798352476160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545423360001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:14:42] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:14:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787648798352476160,"description":"Unknown IO ID 45"} 
[2026-10-05 15:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545423360001,"power":12809,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787648798352476160}} 
[2026-10-05 15:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":204586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968088,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:14:42] local.INFO: GPS data processed {"connection_id":204586,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:14:42] local.INFO: Acknowledgment sent {"connection_id":204586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:14:46] local.INFO: TCP Data received {"connection_id":204586,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b71aa68012d79f40005ecb008000d00341f..."} 
[2026-10-05 15:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b71aa68012d79f40005ecb008000d00341f..."} 
[2026-10-05 15:14:46] local.INFO: Processing buffer {"connection_id":204586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b71aa68012d79f40005ecb008000d00341f..."} 
[2026-10-05 15:14:46] local.INFO: Packet analysis {"connection_id":204586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b71"} 
[2026-10-05 15:14:46] local.INFO: Extracted packet for processing {"connection_id":204586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b71"} 
[2026-10-05 15:14:46] local.INFO: GPS Element Parsed {"raw_longitude":762967040,"raw_latitude":99397640,"longitude_deg":76.296704,"latitude_deg":9.939764,"altitude":13,"angle":52,"satellites":31,"speed":0,"hex_longitude":"2d79f400","hex_latitude":"05ecb008","is_valid_coordinates":true} 
[2026-10-05 15:14: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-10-05 15:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545423360001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787648798352476160,"note":"Value kept but may cause issues"} 
[2026-10-05 15:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791193361000,"timestamp_ms":1791193361000,"timestamp_seconds":1791193361,"priority":1,"record_length":96,"hex_timestamp":"000001a10b71aa68"} 
[2026-10-05 15:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 15:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:14: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-10-05 15:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:14:46] 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-10-05 15:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545423360001,"66":12809,"118":206,"87":13824,"24":0,"16":139683344467099648,"45":8787648798352476160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545423360001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:14:46] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:14:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787648798352476160,"description":"Unknown IO ID 45"} 
[2026-10-05 15:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545423360001,"power":12809,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787648798352476160}} 
[2026-10-05 15:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":204586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:14:46] local.INFO: GPS data processed {"connection_id":204586,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:14:46] local.INFO: Acknowledgment sent {"connection_id":204586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:14:54] local.INFO: TCP Data received {"connection_id":207651,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:14:54] local.INFO: Processing buffer {"connection_id":207651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:14:54] local.INFO: IMEI packet received {"connection_id":207651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":207651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:14:57] local.INFO: TCP Data received {"connection_id":207651,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:14:57] local.INFO: Processing buffer {"connection_id":207651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:14:57] local.INFO: IMEI packet received {"connection_id":207651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":207651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:14:59] local.INFO: TCP Data received {"connection_id":207651,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:14:59] local.INFO: Processing buffer {"connection_id":207651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:14:59] local.INFO: IMEI packet received {"connection_id":207651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":207651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:15:00] local.INFO: TCP Data received {"connection_id":207651,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b722b50012d7dbb4005fe9880001500102a..."} 
[2026-10-05 15:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b722b50012d7dbb4005fe9880001500102a..."} 
[2026-10-05 15:15:00] local.INFO: Processing buffer {"connection_id":207651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b722b50012d7dbb4005fe9880001500102a..."} 
[2026-10-05 15:15:00] local.INFO: Packet analysis {"connection_id":207651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b72"} 
[2026-10-05 15:15:00] local.INFO: Extracted packet for processing {"connection_id":207651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b72"} 
[2026-10-05 15:15:00] local.INFO: GPS Element Parsed {"raw_longitude":763214656,"raw_latitude":100571264,"longitude_deg":76.3214656,"latitude_deg":10.0571264,"altitude":21,"angle":16,"satellites":42,"speed":15,"hex_longitude":"2d7dbb40","hex_latitude":"05fe9880","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545504512001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2159793024270336,"note":"Value kept but may cause issues"} 
[2026-10-05 15:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9056809245130280960,"note":"Value kept but may cause issues"} 
[2026-10-05 15:15:00] 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-10-05 15:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791193394000,"timestamp_ms":1791193394000,"timestamp_seconds":1791193394,"priority":1,"record_length":96,"hex_timestamp":"000001a10b722b50"} 
[2026-10-05 15:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:15: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-10-05 15:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 15:15: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-10-05 15: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-10-05 15:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:15: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-10-05 15:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545504512001,"66":28006,"5":206,"87":10752,"24":15,"16":2159793024270336,"45":9056809245130280960},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-10-05 15:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545504512001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:15:00] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-05 15:15:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2159793024270336,"km_value":2159793024270.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9056809245130280960,"description":"Unknown IO ID 45"} 
[2026-10-05 15:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545504512001,"power":28006,"unknown_5":206,"unknown_87":10752,"ignition":15,"odometer":null,"unknown_45":9056809245130280960}} 
[2026-10-05 15:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":207651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:15:00] local.INFO: GPS data processed {"connection_id":207651,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:15:00] local.INFO: Acknowledgment sent {"connection_id":207651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:15:10] local.INFO: TCP Data received {"connection_id":204706,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:15:10] local.INFO: Processing buffer {"connection_id":204706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:15:10] local.INFO: IMEI packet received {"connection_id":204706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":204706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:15:31] local.INFO: TCP Data received {"connection_id":204707,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:15:31] local.INFO: Processing buffer {"connection_id":204707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:15:31] local.INFO: IMEI packet received {"connection_id":204707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":204707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:15:31] local.INFO: TCP Data received {"connection_id":207651,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b725e18012d7dc64005febb70001200102a..."} 
[2026-10-05 15:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b725e18012d7dc64005febb70001200102a..."} 
[2026-10-05 15:15:31] local.INFO: Processing buffer {"connection_id":207651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b725e18012d7dc64005febb70001200102a..."} 
[2026-10-05 15:15:31] local.INFO: Packet analysis {"connection_id":207651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b72"} 
[2026-10-05 15:15:31] local.INFO: Extracted packet for processing {"connection_id":207651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b72"} 
[2026-10-05 15:15:31] local.INFO: GPS Element Parsed {"raw_longitude":763217472,"raw_latitude":100580208,"longitude_deg":76.3217472,"latitude_deg":10.0580208,"altitude":18,"angle":16,"satellites":42,"speed":37,"hex_longitude":"2d7dc640","hex_latitude":"05febb70","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545508864001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2160248290803712,"note":"Value kept but may cause issues"} 
[2026-10-05 15:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9059905469876305920,"note":"Value kept but may cause issues"} 
[2026-10-05 15:15:31] 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-10-05 15:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791193407000,"timestamp_ms":1791193407000,"timestamp_seconds":1791193407,"priority":1,"record_length":96,"hex_timestamp":"000001a10b725e18"} 
[2026-10-05 15:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:15: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-10-05 15:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 15:15:31] 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-10-05 15: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-10-05 15:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545508864001,"66":27745,"5":206,"87":10752,"24":37,"16":2160248290803712,"45":9059905469876305920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-10-05 15:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545508864001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:15:31] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-05 15:15:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2160248290803712,"km_value":2160248290803.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9059905469876305920,"description":"Unknown IO ID 45"} 
[2026-10-05 15:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545508864001,"power":27745,"unknown_5":206,"unknown_87":10752,"ignition":37,"odometer":null,"unknown_45":9059905469876305920}} 
[2026-10-05 15:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":207651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:15:31] local.INFO: GPS data processed {"connection_id":207651,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:15:31] local.INFO: Acknowledgment sent {"connection_id":207651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:15:36] local.INFO: TCP Data received {"connection_id":204707,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:15:36] local.INFO: Processing buffer {"connection_id":204707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:15:36] local.INFO: IMEI packet received {"connection_id":204707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":204707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:15:37] local.INFO: TCP Data received {"connection_id":204707,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b73ae08012d79f40005ecb008000d003421..."} 
[2026-10-05 15:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b73ae08012d79f40005ecb008000d003421..."} 
[2026-10-05 15:15:37] local.INFO: Processing buffer {"connection_id":204707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b73ae08012d79f40005ecb008000d003421..."} 
[2026-10-05 15:15:37] local.INFO: Packet analysis {"connection_id":204707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b73"} 
[2026-10-05 15:15:37] local.INFO: Extracted packet for processing {"connection_id":204707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b73"} 
[2026-10-05 15:15:37] local.INFO: GPS Element Parsed {"raw_longitude":762967040,"raw_latitude":99397640,"longitude_deg":76.296704,"latitude_deg":9.939764,"altitude":13,"angle":52,"satellites":33,"speed":0,"hex_longitude":"2d79f400","hex_latitude":"05ecb008","is_valid_coordinates":true} 
[2026-10-05 15:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545500416001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787648798352476160,"note":"Value kept but may cause issues"} 
[2026-10-05 15:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791193493000,"timestamp_ms":1791193493000,"timestamp_seconds":1791193493,"priority":1,"record_length":96,"hex_timestamp":"000001a10b73ae08"} 
[2026-10-05 15:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-05 15:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":262783446811648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:15:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 15:15:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 15:15:37] local.WARNING: Large IO value detected {"io_id":11,"raw_value":7188818133689955456,"note":"Value kept but may cause issues"} 
[2026-10-05 15:15:37] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2959081485,"note":"Value kept but may cause issues"} 
[2026-10-05 15:15:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1098252494,"corrected_to":0} 
[2026-10-05 15:15:37] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3087084921,"note":"Value kept but may cause issues"} 
[2026-10-05 15:15:37] local.WARNING: Large IO value detected {"io_id":244,"raw_value":2147871920,"note":"Value kept but may cause issues"} 
[2026-10-05 15:15:37] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-1729156575873937833,"note":"Value kept but may cause issues"} 
[2026-10-05 15:15:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1391506731523099611,"note":"Value kept but may cause issues"} 
[2026-10-05 15:15:37] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-10-05 15:15:37] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,118,87,24,241,157,16,65,161,18,45,176,14,38,10,66,122,13,37,219,128,240,117,227,11,236,4,113,205,199,244,96,239,1,49,2,5,54,67],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1098252494,"validated":0}]} 
[2026-10-05 15:15:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936806030241693696,"timestamp_seconds":936806030241693.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 15:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:15: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-10-05 15:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545500416001,"66":12809,"118":206,"87":13824,"24":0,"16":139683344467099648,"45":8787648798352476160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545500416001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:15:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:15:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787648798352476160,"description":"Unknown IO ID 45"} 
[2026-10-05 15:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545500416001,"power":12809,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787648798352476160}} 
[2026-10-05 15:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":204707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:15:37] local.INFO: GPS data processed {"connection_id":204707,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:15:37] local.INFO: Acknowledgment sent {"connection_id":204707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:15:42] local.INFO: TCP Data received {"connection_id":204706,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:15:42] local.INFO: Processing buffer {"connection_id":204706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:15:42] local.INFO: IMEI packet received {"connection_id":204706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":204706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:15:44] local.INFO: TCP Data received {"connection_id":204706,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b737370012d1b6140072566d00026014a2a..."} 
[2026-10-05 15:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b737370012d1b6140072566d00026014a2a..."} 
[2026-10-05 15:15:44] local.INFO: Processing buffer {"connection_id":204706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b737370012d1b6140072566d00026014a2a..."} 
[2026-10-05 15:15:44] local.INFO: Packet analysis {"connection_id":204706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b73"} 
[2026-10-05 15:15:44] local.INFO: Extracted packet for processing {"connection_id":204706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b73"} 
[2026-10-05 15:15:44] local.INFO: GPS Element Parsed {"raw_longitude":756769088,"raw_latitude":119891664,"longitude_deg":75.6769088,"latitude_deg":11.9891664,"altitude":38,"angle":330,"satellites":42,"speed":18,"hex_longitude":"2d1b6140","hex_latitude":"072566d0","is_valid_coordinates":true} 
[2026-10-05 15:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545529088001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25098874049789952,"note":"Value kept but may cause issues"} 
[2026-10-05 15:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973772936131168256,"note":"Value kept but may cause issues"} 
[2026-10-05 15:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791193478000,"timestamp_ms":1791193478000,"timestamp_seconds":1791193478,"priority":1,"record_length":96,"hex_timestamp":"000001a10b737370"} 
[2026-10-05 15:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-10-05 15:15:44] 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-10-05 15:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":204706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":204706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":204706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545529088001,"66":14265,"246":206,"28":31744,"24":18,"16":25098874049789952,"45":1973772936131168256},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,28,24,16,45]} 
[2026-10-05 15:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545529088001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:15:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25098874049789952,"km_value":25098874049789.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973772936131168256,"description":"Unknown IO ID 45"} 
[2026-10-05 15:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545529088001,"power":14265,"main_input_voltage":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1973772936131168256}} 
[2026-10-05 15:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":204706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:15:45] local.INFO: GPS data processed {"connection_id":204706,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:15:45] local.INFO: Acknowledgment sent {"connection_id":204706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:15:46] local.INFO: TCP Data received {"connection_id":204706,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b737f28012d1b5d8007256bd00026013e2b..."} 
[2026-10-05 15:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b737f28012d1b5d8007256bd00026013e2b..."} 
[2026-10-05 15:15:46] local.INFO: Processing buffer {"connection_id":204706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b737f28012d1b5d8007256bd00026013e2b..."} 
[2026-10-05 15:15:46] local.INFO: Packet analysis {"connection_id":204706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b73"} 
[2026-10-05 15:15:46] local.INFO: Extracted packet for processing {"connection_id":204706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b73"} 
[2026-10-05 15:15:46] local.INFO: GPS Element Parsed {"raw_longitude":756768128,"raw_latitude":119892944,"longitude_deg":75.6768128,"latitude_deg":11.9892944,"altitude":38,"angle":318,"satellites":43,"speed":23,"hex_longitude":"2d1b5d80","hex_latitude":"07256bd0","is_valid_coordinates":true} 
[2026-10-05 15:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545530368001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25098951359201280,"note":"Value kept but may cause issues"} 
[2026-10-05 15:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972928511201431552,"note":"Value kept but may cause issues"} 
[2026-10-05 15:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791193481000,"timestamp_ms":1791193481000,"timestamp_seconds":1791193481,"priority":1,"record_length":96,"hex_timestamp":"000001a10b737f28"} 
[2026-10-05 15:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-05 15:15:46] 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-10-05 15:15: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-10-05 15:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545530368001,"66":14298,"246":206,"28":31744,"24":23,"16":25098951359201280,"45":1972928511201431552},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,28,24,16,45]} 
[2026-10-05 15:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545530368001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:15:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25098951359201280,"km_value":25098951359201.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972928511201431552,"description":"Unknown IO ID 45"} 
[2026-10-05 15:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545530368001,"power":14298,"main_input_voltage":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1972928511201431552}} 
[2026-10-05 15:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":204706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:15:46] local.INFO: GPS data processed {"connection_id":204706,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:15:46] local.INFO: Acknowledgment sent {"connection_id":204706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:15:54] local.INFO: TCP Data received {"connection_id":207652,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:15:54] local.INFO: Processing buffer {"connection_id":207652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:15:54] local.INFO: IMEI packet received {"connection_id":207652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":207652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:15:59] local.INFO: TCP Data received {"connection_id":207652,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:15:59] local.INFO: Processing buffer {"connection_id":207652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:15:59] local.INFO: IMEI packet received {"connection_id":207652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":207652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:15:59] local.INFO: TCP Data received {"connection_id":207652,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:15:59] local.INFO: Processing buffer {"connection_id":207652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:15:59] local.INFO: IMEI packet received {"connection_id":207652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":207652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:16:00] local.INFO: TCP Data received {"connection_id":207652,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b728140012d7dd18005fedeb8001200121d..."} 
[2026-10-05 15:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b728140012d7dd18005fedeb8001200121d..."} 
[2026-10-05 15:16:00] local.INFO: Processing buffer {"connection_id":207652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b728140012d7dd18005fedeb8001200121d..."} 
[2026-10-05 15:16:00] local.INFO: Packet analysis {"connection_id":207652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b72"} 
[2026-10-05 15:16:00] local.INFO: Extracted packet for processing {"connection_id":207652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b72"} 
[2026-10-05 15:16:00] local.INFO: GPS Element Parsed {"raw_longitude":763220352,"raw_latitude":100589240,"longitude_deg":76.3220352,"latitude_deg":10.058924,"altitude":18,"angle":18,"satellites":29,"speed":41,"hex_longitude":"2d7dd180","hex_latitude":"05fedeb8","is_valid_coordinates":true} 
[2026-10-05 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-10-05 15:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545512192001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2160707852304384,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063001694622412800,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:00] 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-10-05 15:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791193416000,"timestamp_ms":1791193416000,"timestamp_seconds":1791193416,"priority":1,"record_length":96,"hex_timestamp":"000001a10b728140"} 
[2026-10-05 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-10-05 15:16: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-10-05 15:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 15:16: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-10-05 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-10-05 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-10-05 15:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:16: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-10-05 15:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545512192001,"66":27821,"5":206,"87":10752,"24":41,"16":2160707852304384,"45":9063001694622412800},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-10-05 15:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545512192001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:16:00] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-05 15:16:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2160707852304384,"km_value":2160707852304.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063001694622412800,"description":"Unknown IO ID 45"} 
[2026-10-05 15:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545512192001,"power":27821,"unknown_5":206,"unknown_87":10752,"ignition":41,"odometer":null,"unknown_45":9063001694622412800}} 
[2026-10-05 15:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":207652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:16:00] local.INFO: GPS data processed {"connection_id":207652,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:16:00] local.INFO: Acknowledgment sent {"connection_id":207652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:16:05] local.INFO: TCP Data received {"connection_id":204588,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:16:05] local.INFO: Processing buffer {"connection_id":204588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:16:05] local.INFO: IMEI packet received {"connection_id":204588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":204588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:16:06] local.INFO: TCP Data received {"connection_id":207652,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b72a468012d7dddc005ff0240000f001324..."} 
[2026-10-05 15:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b72a468012d7dddc005ff0240000f001324..."} 
[2026-10-05 15:16:06] local.INFO: Processing buffer {"connection_id":207652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b72a468012d7dddc005ff0240000f001324..."} 
[2026-10-05 15:16:06] local.INFO: Packet analysis {"connection_id":207652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b72"} 
[2026-10-05 15:16:06] local.INFO: Extracted packet for processing {"connection_id":207652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b72"} 
[2026-10-05 15:16:06] local.INFO: GPS Element Parsed {"raw_longitude":763223488,"raw_latitude":100598336,"longitude_deg":76.3223488,"latitude_deg":10.0598336,"altitude":15,"angle":19,"satellites":36,"speed":37,"hex_longitude":"2d7dddc0","hex_latitude":"05ff0240","is_valid_coordinates":true} 
[2026-10-05 15:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545514496001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2161171708772352,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9066168288112719872,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:06] 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-10-05 15:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791193425000,"timestamp_ms":1791193425000,"timestamp_seconds":1791193425,"priority":1,"record_length":96,"hex_timestamp":"000001a10b72a468"} 
[2026-10-05 15:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:16: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-10-05 15:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 15:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:16: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-10-05 15:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545514496001,"66":27908,"5":206,"87":10752,"24":37,"16":2161171708772352,"45":9066168288112719872},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-10-05 15:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545514496001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:16:06] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-05 15:16:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2161171708772352,"km_value":2161171708772.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9066168288112719872,"description":"Unknown IO ID 45"} 
[2026-10-05 15:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545514496001,"power":27908,"unknown_5":206,"unknown_87":10752,"ignition":37,"odometer":null,"unknown_45":9066168288112719872}} 
[2026-10-05 15:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":207652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:16:06] local.INFO: GPS data processed {"connection_id":207652,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:16:06] local.INFO: Acknowledgment sent {"connection_id":207652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:16:08] local.INFO: TCP Data received {"connection_id":204707,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b73ae08012d79f40005ecb008000d003421..."} 
[2026-10-05 15:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b73ae08012d79f40005ecb008000d003421..."} 
[2026-10-05 15:16:08] local.INFO: Processing buffer {"connection_id":204707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b73ae08012d79f40005ecb008000d003421..."} 
[2026-10-05 15:16:08] local.INFO: Packet analysis {"connection_id":204707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b73"} 
[2026-10-05 15:16:08] local.INFO: Extracted packet for processing {"connection_id":204707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b73"} 
[2026-10-05 15:16:08] local.INFO: GPS Element Parsed {"raw_longitude":762967040,"raw_latitude":99397640,"longitude_deg":76.296704,"latitude_deg":9.939764,"altitude":13,"angle":52,"satellites":33,"speed":0,"hex_longitude":"2d79f400","hex_latitude":"05ecb008","is_valid_coordinates":true} 
[2026-10-05 15:16:08] 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-10-05 15:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545534208001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787648798352476160,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791193493000,"timestamp_ms":1791193493000,"timestamp_seconds":1791193493,"priority":1,"record_length":96,"hex_timestamp":"000001a10b73ae08"} 
[2026-10-05 15:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:16: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-10-05 15:16: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":9,"data_length":795,"current_offset":136} 
[2026-10-05 15:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":263882958439424,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:08] local.WARNING: Large IO value detected {"io_id":11,"raw_value":7188818133689955456,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:08] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2959081485,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1098252494,"corrected_to":0} 
[2026-10-05 15:16:08] local.WARNING: Large IO value detected {"io_id":244,"raw_value":2147871920,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1391506731523099611,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:08] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-1729156575873937833,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:08] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:08] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,118,87,24,241,157,16,65,161,170,45,176,13,31,10,66,18,14,38,122,240,221,227,11,236,4,113,205,219,244,96,35,239,1,50,2,5,49,54,67],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1098252494,"validated":0}]} 
[2026-10-05 15:16:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936806038831628527,"timestamp_seconds":936806038831628.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 15:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545534208001,"66":12809,"118":206,"87":13824,"24":0,"16":139683344467099648,"45":8787648798352476160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545534208001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:16:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:16:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787648798352476160,"description":"Unknown IO ID 45"} 
[2026-10-05 15:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545534208001,"power":12809,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787648798352476160}} 
[2026-10-05 15:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":204707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968097,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:16:08] local.INFO: GPS data processed {"connection_id":204707,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:16:08] local.INFO: Acknowledgment sent {"connection_id":204707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:16:10] local.INFO: TCP Data received {"connection_id":204588,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:16:10] local.INFO: Processing buffer {"connection_id":204588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:16:10] local.INFO: IMEI packet received {"connection_id":204588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":204588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:16:11] local.INFO: TCP Data received {"connection_id":204588,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b73aa20012d1b47c0072584280026014929..."} 
[2026-10-05 15:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b73aa20012d1b47c0072584280026014929..."} 
[2026-10-05 15:16:11] local.INFO: Processing buffer {"connection_id":204588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b73aa20012d1b47c0072584280026014929..."} 
[2026-10-05 15:16:11] local.INFO: Packet analysis {"connection_id":204588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b73"} 
[2026-10-05 15:16:11] local.INFO: Extracted packet for processing {"connection_id":204588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b73"} 
[2026-10-05 15:16:11] local.INFO: GPS Element Parsed {"raw_longitude":756762560,"raw_latitude":119899176,"longitude_deg":75.676256,"latitude_deg":11.9899176,"altitude":38,"angle":329,"satellites":41,"speed":32,"hex_longitude":"2d1b47c0","hex_latitude":"07258428","is_valid_coordinates":true} 
[2026-10-05 15:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545531136001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25099355086127104,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971872980039094272,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791193492000,"timestamp_ms":1791193492000,"timestamp_seconds":1791193492,"priority":1,"record_length":96,"hex_timestamp":"000001a10b73aa20"} 
[2026-10-05 15:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-10-05 15:16:11] 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-10-05 15:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545531136001,"66":14396,"246":206,"28":31744,"24":32,"16":25099355086127104,"45":1971872980039094272},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,28,24,16,45]} 
[2026-10-05 15:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545531136001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:16:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25099355086127104,"km_value":25099355086127.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971872980039094272,"description":"Unknown IO ID 45"} 
[2026-10-05 15:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545531136001,"power":14396,"main_input_voltage":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1971872980039094272}} 
[2026-10-05 15:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":204588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:16:11] local.INFO: GPS data processed {"connection_id":204588,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:16:11] local.INFO: Acknowledgment sent {"connection_id":204588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:16:31] local.INFO: TCP Data received {"connection_id":204708,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:16:31] local.INFO: Processing buffer {"connection_id":204708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:16:31] local.INFO: IMEI packet received {"connection_id":204708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":204708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:16:36] local.INFO: TCP Data received {"connection_id":204708,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:16:36] local.INFO: Processing buffer {"connection_id":204708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:16:36] local.INFO: IMEI packet received {"connection_id":204708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":204708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:16:37] local.INFO: TCP Data received {"connection_id":204708,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7403f8012d79f64005ecb048000d003521..."} 
[2026-10-05 15:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7403f8012d79f64005ecb048000d003521..."} 
[2026-10-05 15:16:37] local.INFO: Processing buffer {"connection_id":204708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7403f8012d79f64005ecb048000d003521..."} 
[2026-10-05 15:16:37] local.INFO: Packet analysis {"connection_id":204708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b74"} 
[2026-10-05 15:16:37] local.INFO: Extracted packet for processing {"connection_id":204708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b74"} 
[2026-10-05 15:16:37] local.INFO: GPS Element Parsed {"raw_longitude":762967616,"raw_latitude":99397704,"longitude_deg":76.2967616,"latitude_deg":9.9397704,"altitude":13,"angle":53,"satellites":33,"speed":0,"hex_longitude":"2d79f640","hex_latitude":"05ecb048","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545534208001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683344467099648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787648798352476160,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791193515000,"timestamp_ms":1791193515000,"timestamp_seconds":1791193515,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7403f8"} 
[2026-10-05 15:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:16: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-10-05 15: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-05 15:16:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:37] local.WARNING: Large IO value detected {"io_id":11,"raw_value":7189917645317731456,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:37] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2953314317,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1098252494,"corrected_to":0} 
[2026-10-05 15:16:37] local.WARNING: Large IO value detected {"io_id":244,"raw_value":2147871920,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:37] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964183473901143,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1391506731523099611,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:37] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:37] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,118,87,24,241,157,16,65,161,174,45,176,13,33,10,66,170,31,18,240,254,227,11,236,4,113,205,219,244,96,35,239,1,50,2,5,54,67],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1098252494,"validated":0}]} 
[2026-10-05 15:16:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936806038831628528,"timestamp_seconds":936806038831628.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 15:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15: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-10-05 15:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545534208001,"66":13504,"118":206,"87":13824,"24":0,"16":139683344467099648,"45":8787648798352476160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545534208001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:16:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:16:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683344467099648,"km_value":139683344467099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787648798352476160,"description":"Unknown IO ID 45"} 
[2026-10-05 15:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545534208001,"power":13504,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787648798352476160}} 
[2026-10-05 15:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":204708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:16:37] local.INFO: GPS data processed {"connection_id":204708,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:16:37] local.INFO: Acknowledgment sent {"connection_id":204708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:16:38] local.INFO: TCP Data received {"connection_id":207652,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b746d70012d7ecb0006001a50000a00242a..."} 
[2026-10-05 15:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b746d70012d7ecb0006001a50000a00242a..."} 
[2026-10-05 15:16:38] local.INFO: Processing buffer {"connection_id":207652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b746d70012d7ecb0006001a50000a00242a..."} 
[2026-10-05 15:16:38] local.INFO: Packet analysis {"connection_id":207652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b74"} 
[2026-10-05 15:16:38] local.INFO: Extracted packet for processing {"connection_id":207652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b74"} 
[2026-10-05 15:16:38] local.INFO: GPS Element Parsed {"raw_longitude":763284224,"raw_latitude":100670032,"longitude_deg":76.3284224,"latitude_deg":10.0670032,"altitude":10,"angle":36,"satellites":42,"speed":57,"hex_longitude":"2d7ecb00","hex_latitude":"06001a50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545544960001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2165745848942592,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129781632867891200,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791193542000,"timestamp_ms":1791193542000,"timestamp_seconds":1791193542,"priority":1,"record_length":96,"hex_timestamp":"000001a10b746d70"} 
[2026-10-05 15:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:16:38] 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-10-05 15: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-10-05 15:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545544960001,"66":27974,"21":206,"87":10752,"24":57,"16":2165745848942592,"45":9129781632867891200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,87,24,16,45]} 
[2026-10-05 15:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545544960001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:16:38] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-05 15:16:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2165745848942592,"km_value":2165745848942.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129781632867891200,"description":"Unknown IO ID 45"} 
[2026-10-05 15:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545544960001,"power":27974,"unknown_21":206,"unknown_87":10752,"ignition":57,"odometer":null,"unknown_45":9129781632867891200}} 
[2026-10-05 15:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":207652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:16:38] local.INFO: GPS data processed {"connection_id":207652,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:16:38] local.INFO: Acknowledgment sent {"connection_id":207652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:16:43] local.INFO: TCP Data received {"connection_id":204588,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7465a0012d1b48c00725d308002400c72a..."} 
[2026-10-05 15:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7465a0012d1b48c00725d308002400c72a..."} 
[2026-10-05 15:16:43] local.INFO: Processing buffer {"connection_id":204588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7465a0012d1b48c00725d308002400c72a..."} 
[2026-10-05 15:16:43] local.INFO: Packet analysis {"connection_id":204588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b74"} 
[2026-10-05 15:16:43] local.INFO: Extracted packet for processing {"connection_id":204588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b74"} 
[2026-10-05 15:16:43] local.INFO: GPS Element Parsed {"raw_longitude":756762816,"raw_latitude":119919368,"longitude_deg":75.6762816,"latitude_deg":11.9919368,"altitude":36,"angle":199,"satellites":42,"speed":10,"hex_longitude":"2d1b48c0","hex_latitude":"0725d308","is_valid_coordinates":true} 
[2026-10-05 15:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545545984001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25100527612198912,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966173111767529472,"note":"Value kept but may cause issues"} 
[2026-10-05 15:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791193540000,"timestamp_ms":1791193540000,"timestamp_seconds":1791193540,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7465a0"} 
[2026-10-05 15:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 15:16:43] 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-10-05 15:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545545984001,"66":12743,"82":206,"28":31744,"24":10,"16":25100527612198912,"45":1966173111767529472},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,28,24,16,45]} 
[2026-10-05 15:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545545984001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:16:43] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-10-05 15:16:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25100527612198912,"km_value":25100527612198.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966173111767529472,"description":"Unknown IO ID 45"} 
[2026-10-05 15:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545545984001,"power":12743,"unknown_82":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1966173111767529472}} 
[2026-10-05 15:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":204588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:16:43] local.INFO: GPS data processed {"connection_id":204588,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:16:43] local.INFO: Acknowledgment sent {"connection_id":204588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:16:59] local.INFO: TCP Data received {"connection_id":207653,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:16:59] local.INFO: Processing buffer {"connection_id":207653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:16:59] local.INFO: IMEI packet received {"connection_id":207653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":207653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:17:04] local.INFO: TCP Data received {"connection_id":207653,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:17:04] local.INFO: Processing buffer {"connection_id":207653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:17:04] local.INFO: IMEI packet received {"connection_id":207653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":207653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:17:05] local.INFO: TCP Data received {"connection_id":207654,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:17:05] local.INFO: Processing buffer {"connection_id":207654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:17:05] local.INFO: IMEI packet received {"connection_id":207654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":207654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:17:05] local.INFO: TCP Data received {"connection_id":207653,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7488c8012d7ee20006003910000a00272a..."} 
[2026-10-05 15:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7488c8012d7ee20006003910000a00272a..."} 
[2026-10-05 15:17:05] local.INFO: Processing buffer {"connection_id":207653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7488c8012d7ee20006003910000a00272a..."} 
[2026-10-05 15:17:05] local.INFO: Packet analysis {"connection_id":207653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b74"} 
[2026-10-05 15:17:05] local.INFO: Extracted packet for processing {"connection_id":207653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b74"} 
[2026-10-05 15:17:05] local.INFO: GPS Element Parsed {"raw_longitude":763290112,"raw_latitude":100677904,"longitude_deg":76.3290112,"latitude_deg":10.0677904,"altitude":10,"angle":39,"satellites":42,"speed":57,"hex_longitude":"2d7ee200","hex_latitude":"06003910","is_valid_coordinates":true} 
[2026-10-05 15:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545546752001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2166218295345152,"note":"Value kept but may cause issues"} 
[2026-10-05 15:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136396294822711296,"note":"Value kept but may cause issues"} 
[2026-10-05 15:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791193549000,"timestamp_ms":1791193549000,"timestamp_seconds":1791193549,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7488c8"} 
[2026-10-05 15:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:17:05] 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-10-05 15:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 15:17: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-10-05 15:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:17: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-10-05 15:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545546752001,"66":27995,"21":206,"87":10752,"24":57,"16":2166218295345152,"45":9136396294822711296},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,87,24,16,45]} 
[2026-10-05 15:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545546752001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:17:05] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-05 15:17:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2166218295345152,"km_value":2166218295345.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136396294822711296,"description":"Unknown IO ID 45"} 
[2026-10-05 15:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545546752001,"power":27995,"unknown_21":206,"unknown_87":10752,"ignition":57,"odometer":null,"unknown_45":9136396294822711296}} 
[2026-10-05 15:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":207653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:17:05] local.INFO: GPS data processed {"connection_id":207653,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:17:05] local.INFO: Acknowledgment sent {"connection_id":207653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:17:08] local.INFO: TCP Data received {"connection_id":204708,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b741780012d79f6c005ecafd0000e00ad23..."} 
[2026-10-05 15:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b741780012d79f6c005ecafd0000e00ad23..."} 
[2026-10-05 15:17:08] local.INFO: Processing buffer {"connection_id":204708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b741780012d79f6c005ecafd0000e00ad23..."} 
[2026-10-05 15:17:08] local.INFO: Packet analysis {"connection_id":204708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b74"} 
[2026-10-05 15:17:08] local.INFO: Extracted packet for processing {"connection_id":204708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b74"} 
[2026-10-05 15:17:08] local.INFO: GPS Element Parsed {"raw_longitude":762967744,"raw_latitude":99397584,"longitude_deg":76.2967744,"latitude_deg":9.9397584,"altitude":14,"angle":173,"satellites":35,"speed":3,"hex_longitude":"2d79f6c0","hex_latitude":"05ecafd0","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545539840001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683357352001536,"note":"Value kept but may cause issues"} 
[2026-10-05 15:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788282117050091520,"note":"Value kept but may cause issues"} 
[2026-10-05 15:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791193520000,"timestamp_ms":1791193520000,"timestamp_seconds":1791193520,"priority":1,"record_length":96,"hex_timestamp":"000001a10b741780"} 
[2026-10-05 15:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:17: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-10-05 15: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-05 15:17:08] 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-10-05 15: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-10-05 15:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545539840001,"66":13135,"118":206,"87":13824,"24":3,"16":139683357352001536,"45":8788282117050091520},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545539840001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:17:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:17:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683357352001536,"km_value":139683357352001.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788282117050091520,"description":"Unknown IO ID 45"} 
[2026-10-05 15:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545539840001,"power":13135,"unknown_118":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8788282117050091520}} 
[2026-10-05 15:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":204708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:17:08] local.INFO: GPS data processed {"connection_id":204708,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:17:08] local.INFO: Acknowledgment sent {"connection_id":204708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:17:10] local.INFO: TCP Data received {"connection_id":207654,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:17:10] local.INFO: Processing buffer {"connection_id":207654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:17:10] local.INFO: IMEI packet received {"connection_id":207654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":207654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:17:16] local.INFO: TCP Data received {"connection_id":207654,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b746988012d1b48400725d228002400dc2a..."} 
[2026-10-05 15:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b746988012d1b48400725d228002400dc2a..."} 
[2026-10-05 15:17:16] local.INFO: Processing buffer {"connection_id":207654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b746988012d1b48400725d228002400dc2a..."} 
[2026-10-05 15:17:16] local.INFO: Packet analysis {"connection_id":207654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b74"} 
[2026-10-05 15:17:16] local.INFO: Extracted packet for processing {"connection_id":207654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b74"} 
[2026-10-05 15:17:16] local.INFO: GPS Element Parsed {"raw_longitude":756762688,"raw_latitude":119919144,"longitude_deg":75.6762688,"latitude_deg":11.9919144,"altitude":36,"angle":220,"satellites":42,"speed":10,"hex_longitude":"2d1b4840","hex_latitude":"0725d228","is_valid_coordinates":true} 
[2026-10-05 15:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545546240001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25100540497100800,"note":"Value kept but may cause issues"} 
[2026-10-05 15:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966032374279112704,"note":"Value kept but may cause issues"} 
[2026-10-05 15:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791193541000,"timestamp_ms":1791193541000,"timestamp_seconds":1791193541,"priority":1,"record_length":96,"hex_timestamp":"000001a10b746988"} 
[2026-10-05 15:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 15:17: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-10-05 15:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545546240001,"66":12743,"82":206,"28":31744,"24":10,"16":25100540497100800,"45":1966032374279112704},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,28,24,16,45]} 
[2026-10-05 15:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545546240001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:17:16] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-10-05 15:17:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25100540497100800,"km_value":25100540497100.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966032374279112704,"description":"Unknown IO ID 45"} 
[2026-10-05 15:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545546240001,"power":12743,"unknown_82":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1966032374279112704}} 
[2026-10-05 15:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":207654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:17:16] local.INFO: GPS data processed {"connection_id":207654,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:17:16] local.INFO: Acknowledgment sent {"connection_id":207654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:17:30] local.INFO: TCP Data received {"connection_id":206115,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:17:30] local.INFO: Processing buffer {"connection_id":206115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:17:30] local.INFO: IMEI packet received {"connection_id":206115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":206115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:17:36] local.INFO: TCP Data received {"connection_id":206115,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:17:36] local.INFO: Processing buffer {"connection_id":206115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:17:36] local.INFO: IMEI packet received {"connection_id":206115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":206115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:17:36] local.INFO: TCP Data received {"connection_id":207653,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b74a420012d7efb00060056c0000a002b29..."} 
[2026-10-05 15:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b74a420012d7efb00060056c0000a002b29..."} 
[2026-10-05 15:17:36] local.INFO: Processing buffer {"connection_id":207653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b74a420012d7efb00060056c0000a002b29..."} 
[2026-10-05 15:17:36] local.INFO: Packet analysis {"connection_id":207653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b74"} 
[2026-10-05 15:17:36] local.INFO: Extracted packet for processing {"connection_id":207653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b74"} 
[2026-10-05 15:17:36] local.INFO: GPS Element Parsed {"raw_longitude":763296512,"raw_latitude":100685504,"longitude_deg":76.3296512,"latitude_deg":10.0685504,"altitude":10,"angle":43,"satellites":41,"speed":49,"hex_longitude":"2d7efb00","hex_latitude":"060056c0","is_valid_coordinates":true} 
[2026-10-05 15:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545548544001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2166699331682304,"note":"Value kept but may cause issues"} 
[2026-10-05 15:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9142870219289071616,"note":"Value kept but may cause issues"} 
[2026-10-05 15:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791193556000,"timestamp_ms":1791193556000,"timestamp_seconds":1791193556,"priority":1,"record_length":96,"hex_timestamp":"000001a10b74a420"} 
[2026-10-05 15:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:17: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-10-05 15:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 15:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545548544001,"66":27919,"21":206,"87":10752,"24":49,"16":2166699331682304,"45":9142870219289071616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,87,24,16,45]} 
[2026-10-05 15:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545548544001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:17:36] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-05 15:17:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2166699331682304,"km_value":2166699331682.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9142870219289071616,"description":"Unknown IO ID 45"} 
[2026-10-05 15:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545548544001,"power":27919,"unknown_21":206,"unknown_87":10752,"ignition":49,"odometer":null,"unknown_45":9142870219289071616}} 
[2026-10-05 15:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":207653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:17:36] local.INFO: GPS data processed {"connection_id":207653,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:17:36] local.INFO: Acknowledgment sent {"connection_id":207653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:17:37] local.INFO: TCP Data received {"connection_id":206115,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7465a0012d79f70005ecab60000e00a824..."} 
[2026-10-05 15:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7465a0012d79f70005ecab60000e00a824..."} 
[2026-10-05 15:17:37] local.INFO: Processing buffer {"connection_id":206115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7465a0012d79f70005ecab60000e00a824..."} 
[2026-10-05 15:17:37] local.INFO: Packet analysis {"connection_id":206115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b74"} 
[2026-10-05 15:17:37] local.INFO: Extracted packet for processing {"connection_id":206115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b74"} 
[2026-10-05 15:17:37] local.INFO: GPS Element Parsed {"raw_longitude":762967808,"raw_latitude":99396448,"longitude_deg":76.2967808,"latitude_deg":9.9396448,"altitude":14,"angle":168,"satellites":36,"speed":3,"hex_longitude":"2d79f700","hex_latitude":"05ecab60","is_valid_coordinates":true} 
[2026-10-05 15:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545541120001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683417481543680,"note":"Value kept but may cause issues"} 
[2026-10-05 15:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788422854538416128,"note":"Value kept but may cause issues"} 
[2026-10-05 15:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791193540000,"timestamp_ms":1791193540000,"timestamp_seconds":1791193540,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7465a0"} 
[2026-10-05 15:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:17: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-10-05 15:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-10-05 15:17:37] 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-10-05 15:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15: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-10-05 15:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545541120001,"66":13048,"118":206,"87":13824,"24":3,"16":139683417481543680,"45":8788422854538416128},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545541120001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:17:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:17:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683417481543680,"km_value":139683417481543.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788422854538416128,"description":"Unknown IO ID 45"} 
[2026-10-05 15:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545541120001,"power":13048,"unknown_118":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8788422854538416128}} 
[2026-10-05 15:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":206115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:17:37] local.INFO: GPS data processed {"connection_id":206115,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:17:37] local.INFO: Acknowledgment sent {"connection_id":206115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:17:54] local.INFO: TCP Data received {"connection_id":207655,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:17:54] local.INFO: Processing buffer {"connection_id":207655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:17:54] local.INFO: IMEI packet received {"connection_id":207655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":207655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:18:00] local.INFO: TCP Data received {"connection_id":207655,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:18:00] local.INFO: Processing buffer {"connection_id":207655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:18:00] local.INFO: IMEI packet received {"connection_id":207655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":207655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:18:01] local.INFO: TCP Data received {"connection_id":207655,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b74c748012d7f1680060071b0000c002c28..."} 
[2026-10-05 15:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b74c748012d7f1680060071b0000c002c28..."} 
[2026-10-05 15:18:01] local.INFO: Processing buffer {"connection_id":207655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b74c748012d7f1680060071b0000c002c28..."} 
[2026-10-05 15:18:01] local.INFO: Packet analysis {"connection_id":207655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b74"} 
[2026-10-05 15:18:01] local.INFO: Extracted packet for processing {"connection_id":207655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b74"} 
[2026-10-05 15:18:01] local.INFO: GPS Element Parsed {"raw_longitude":763303552,"raw_latitude":100692400,"longitude_deg":76.3303552,"latitude_deg":10.06924,"altitude":12,"angle":44,"satellites":40,"speed":42,"hex_longitude":"2d7f1680","hex_latitude":"060071b0","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545550336001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2167171778084864,"note":"Value kept but may cause issues"} 
[2026-10-05 15:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9149907093708783616,"note":"Value kept but may cause issues"} 
[2026-10-05 15:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791193565000,"timestamp_ms":1791193565000,"timestamp_seconds":1791193565,"priority":1,"record_length":96,"hex_timestamp":"000001a10b74c748"} 
[2026-10-05 15:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15: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-10-05 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 15:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:18: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-10-05 15:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545550336001,"66":27887,"21":206,"87":10752,"24":42,"16":2167171778084864,"45":9149907093708783616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,87,24,16,45]} 
[2026-10-05 15:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545550336001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:18:01] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-05 15:18:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2167171778084864,"km_value":2167171778084.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9149907093708783616,"description":"Unknown IO ID 45"} 
[2026-10-05 15:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545550336001,"power":27887,"unknown_21":206,"unknown_87":10752,"ignition":42,"odometer":null,"unknown_45":9149907093708783616}} 
[2026-10-05 15:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":207655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:18:01] local.INFO: GPS data processed {"connection_id":207655,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:18:01] local.INFO: Acknowledgment sent {"connection_id":207655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:18:08] local.INFO: TCP Data received {"connection_id":206115,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b768c68012d79f6c005ecadc0000d002f28..."} 
[2026-10-05 15:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b768c68012d79f6c005ecadc0000d002f28..."} 
[2026-10-05 15:18:08] local.INFO: Processing buffer {"connection_id":206115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b768c68012d79f6c005ecadc0000d002f28..."} 
[2026-10-05 15:18:08] local.INFO: Packet analysis {"connection_id":206115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:18:08] local.INFO: Extracted packet for processing {"connection_id":206115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:18:08] local.INFO: GPS Element Parsed {"raw_longitude":762967744,"raw_latitude":99397056,"longitude_deg":76.2967744,"latitude_deg":9.9397056,"altitude":13,"angle":47,"satellites":40,"speed":2,"hex_longitude":"2d79f6c0","hex_latitude":"05ecadc0","is_valid_coordinates":true} 
[2026-10-05 15:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545580800001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683563510431744,"note":"Value kept but may cause issues"} 
[2026-10-05 15:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788352485794048000,"note":"Value kept but may cause issues"} 
[2026-10-05 15:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791193681000,"timestamp_ms":1791193681000,"timestamp_seconds":1791193681,"priority":1,"record_length":96,"hex_timestamp":"000001a10b768c68"} 
[2026-10-05 15:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:18: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-10-05 15:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-10-05 15:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545580800001,"66":13396,"118":206,"87":13824,"24":2,"16":139683563510431744,"45":8788352485794048000},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545580800001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:18:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:18:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683563510431744,"km_value":139683563510431.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788352485794048000,"description":"Unknown IO ID 45"} 
[2026-10-05 15:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545580800001,"power":13396,"unknown_118":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8788352485794048000}} 
[2026-10-05 15:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":206115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968108,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:18:08] local.INFO: GPS data processed {"connection_id":206115,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:18:08] local.INFO: Acknowledgment sent {"connection_id":206115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:18:10] local.INFO: TCP Data received {"connection_id":204589,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:18:10] local.INFO: Processing buffer {"connection_id":204589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:18:10] local.INFO: IMEI packet received {"connection_id":204589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":204589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:18:11] local.INFO: TCP Data received {"connection_id":204589,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:18:11] local.INFO: Processing buffer {"connection_id":204589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:18:11] local.INFO: IMEI packet received {"connection_id":204589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":204589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:18:16] local.INFO: TCP Data received {"connection_id":204589,"ip":"117.224.80.205","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a10b..."} 
[2026-10-05 15:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204589,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a10b..."} 
[2026-10-05 15:18:16] local.INFO: Processing buffer {"connection_id":204589,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a10b..."} 
[2026-10-05 15:18:16] local.INFO: IMEI packet received {"connection_id":204589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":204589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:18:21] local.INFO: TCP Data received {"connection_id":204589,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b75c148012d1b41c00725c678002700682c..."} 
[2026-10-05 15:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b75c148012d1b41c00725c678002700682c..."} 
[2026-10-05 15:18:21] local.INFO: Processing buffer {"connection_id":204589,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a10b75bd60012d1b41800725c698002700402d..."} 
[2026-10-05 15:18:21] local.INFO: Packet analysis {"connection_id":204589,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a10b75"} 
[2026-10-05 15:18:21] local.INFO: Extracted packet for processing {"connection_id":204589,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b75"} 
[2026-10-05 15:18:21] local.INFO: GPS Element Parsed {"raw_longitude":756760960,"raw_latitude":119916184,"longitude_deg":75.676096,"latitude_deg":11.9916184,"altitude":39,"angle":64,"satellites":45,"speed":2,"hex_longitude":"2d1b4180","hex_latitude":"0725c698","is_valid_coordinates":true} 
[2026-10-05 15:18: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-10-05 15:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545568512001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25100750950498304,"note":"Value kept but may cause issues"} 
[2026-10-05 15:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963921311952965632,"note":"Value kept but may cause issues"} 
[2026-10-05 15:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791193628000,"timestamp_ms":1791193628000,"timestamp_seconds":1791193628,"priority":1,"record_length":96,"hex_timestamp":"000001a10b75bd60"} 
[2026-10-05 15:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-10-05 15:18:21] 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-10-05 15:18: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-10-05 15:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":204589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":204589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":204589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545568512001,"66":13004,"80":206,"28":31744,"24":2,"16":25100750950498304,"45":1963921311952965632},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-10-05 15:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545568512001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:18:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-10-05 15:18:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25100750950498304,"km_value":25100750950498.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963921311952965632,"description":"Unknown IO ID 45"} 
[2026-10-05 15:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545568512001,"power":13004,"unknown_80":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1963921311952965632}} 
[2026-10-05 15:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":204589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:18:21] local.INFO: GPS data processed {"connection_id":204589,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:18:21] local.INFO: Acknowledgment sent {"connection_id":204589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:18:21] local.INFO: Packet analysis {"connection_id":204589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b75"} 
[2026-10-05 15:18:21] local.INFO: Extracted packet for processing {"connection_id":204589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b75"} 
[2026-10-05 15:18:21] local.INFO: GPS Element Parsed {"raw_longitude":756761024,"raw_latitude":119916152,"longitude_deg":75.6761024,"latitude_deg":11.9916152,"altitude":39,"angle":104,"satellites":44,"speed":2,"hex_longitude":"2d1b41c0","hex_latitude":"0725c678","is_valid_coordinates":true} 
[2026-10-05 15:18: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-10-05 15:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545568768001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25100755245465600,"note":"Value kept but may cause issues"} 
[2026-10-05 15:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963991680697145344,"note":"Value kept but may cause issues"} 
[2026-10-05 15:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791193629000,"timestamp_ms":1791193629000,"timestamp_seconds":1791193629,"priority":1,"record_length":96,"hex_timestamp":"000001a10b75c148"} 
[2026-10-05 15:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-10-05 15:18:21] 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-10-05 15:18: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-10-05 15:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":204589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":204589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":204589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545568768001,"66":13004,"80":206,"28":31744,"24":2,"16":25100755245465600,"45":1963991680697145344},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-10-05 15:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545568768001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:18:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-10-05 15:18:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25100755245465600,"km_value":25100755245465.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963991680697145344,"description":"Unknown IO ID 45"} 
[2026-10-05 15:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545568768001,"power":13004,"unknown_80":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1963991680697145344}} 
[2026-10-05 15:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":204589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:18:21] local.INFO: GPS data processed {"connection_id":204589,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:18:21] local.INFO: Acknowledgment sent {"connection_id":204589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:18:25] local.INFO: TCP Data received {"connection_id":204589,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b75c918012d1b42400725c648002700752c..."} 
[2026-10-05 15:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b75c918012d1b42400725c648002700752c..."} 
[2026-10-05 15:18:25] local.INFO: Processing buffer {"connection_id":204589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b75c918012d1b42400725c648002700752c..."} 
[2026-10-05 15:18:25] local.INFO: Packet analysis {"connection_id":204589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b75"} 
[2026-10-05 15:18:25] local.INFO: Extracted packet for processing {"connection_id":204589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b75"} 
[2026-10-05 15:18:25] local.INFO: GPS Element Parsed {"raw_longitude":756761152,"raw_latitude":119916104,"longitude_deg":75.6761152,"latitude_deg":11.9916104,"altitude":39,"angle":117,"satellites":44,"speed":2,"hex_longitude":"2d1b4240","hex_latitude":"0725c648","is_valid_coordinates":true} 
[2026-10-05 15:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545569024001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25100763835400192,"note":"Value kept but may cause issues"} 
[2026-10-05 15:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964062049441314816,"note":"Value kept but may cause issues"} 
[2026-10-05 15:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1791193631000,"timestamp_ms":1791193631000,"timestamp_seconds":1791193631,"priority":1,"record_length":96,"hex_timestamp":"000001a10b75c918"} 
[2026-10-05 15:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-10-05 15:18:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:18:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":204589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":204589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":204589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545569024001,"66":12972,"80":206,"28":31744,"24":2,"16":25100763835400192,"45":1964062049441314816},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-10-05 15:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545569024001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:18:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-10-05 15:18:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25100763835400192,"km_value":25100763835400.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964062049441314816,"description":"Unknown IO ID 45"} 
[2026-10-05 15:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545569024001,"power":12972,"unknown_80":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1964062049441314816}} 
[2026-10-05 15:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":204589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:18:25] local.INFO: GPS data processed {"connection_id":204589,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:18:25] local.INFO: Acknowledgment sent {"connection_id":204589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:18:30] local.INFO: TCP Data received {"connection_id":206117,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:18:30] local.INFO: Processing buffer {"connection_id":206117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:18:30] local.INFO: IMEI packet received {"connection_id":206117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":206117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:18:35] local.INFO: TCP Data received {"connection_id":207655,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b74ee58012d7f2f4006008a70000d002b2a..."} 
[2026-10-05 15:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b74ee58012d7f2f4006008a70000d002b2a..."} 
[2026-10-05 15:18:35] local.INFO: Processing buffer {"connection_id":207655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b74ee58012d7f2f4006008a70000d002b2a..."} 
[2026-10-05 15:18:35] local.INFO: Packet analysis {"connection_id":207655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b74"} 
[2026-10-05 15:18:35] local.INFO: Extracted packet for processing {"connection_id":207655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b74"} 
[2026-10-05 15:18:35] local.INFO: GPS Element Parsed {"raw_longitude":763309888,"raw_latitude":100698736,"longitude_deg":76.3309888,"latitude_deg":10.0698736,"altitude":13,"angle":43,"satellites":42,"speed":30,"hex_longitude":"2d7f2f40","hex_latitude":"06008a70","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545552640001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2167601274814464,"note":"Value kept but may cause issues"} 
[2026-10-05 15:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9157647655570092032,"note":"Value kept but may cause issues"} 
[2026-10-05 15:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791193575000,"timestamp_ms":1791193575000,"timestamp_seconds":1791193575,"priority":1,"record_length":96,"hex_timestamp":"000001a10b74ee58"} 
[2026-10-05 15:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:18: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-10-05 15: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-10-05 15:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":207655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":207655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":207655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545552640001,"66":27908,"21":206,"87":10752,"24":30,"16":2167601274814464,"45":9157647655570092032},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,87,24,16,45]} 
[2026-10-05 15:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545552640001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:18:35] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-05 15:18:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2167601274814464,"km_value":2167601274814.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9157647655570092032,"description":"Unknown IO ID 45"} 
[2026-10-05 15:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545552640001,"power":27908,"unknown_21":206,"unknown_87":10752,"ignition":30,"odometer":null,"unknown_45":9157647655570092032}} 
[2026-10-05 15:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":207655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:18:35] local.INFO: GPS data processed {"connection_id":207655,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:18:35] local.INFO: Acknowledgment sent {"connection_id":207655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:18:36] local.INFO: TCP Data received {"connection_id":206117,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:18:36] local.INFO: Processing buffer {"connection_id":206117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:18:36] local.INFO: IMEI packet received {"connection_id":206117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":206117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:18:37] local.INFO: TCP Data received {"connection_id":206117,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b769438012d79f70005ecae48000d001a29..."} 
[2026-10-05 15:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b769438012d79f70005ecae48000d001a29..."} 
[2026-10-05 15:18:37] local.INFO: Processing buffer {"connection_id":206117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b769438012d79f70005ecae48000d001a29..."} 
[2026-10-05 15:18:37] local.INFO: Packet analysis {"connection_id":206117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:18:37] local.INFO: Extracted packet for processing {"connection_id":206117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:18:37] local.INFO: GPS Element Parsed {"raw_longitude":762967808,"raw_latitude":99397192,"longitude_deg":76.2967808,"latitude_deg":9.9397192,"altitude":13,"angle":26,"satellites":41,"speed":2,"hex_longitude":"2d79f700","hex_latitude":"05ecae48","is_valid_coordinates":true} 
[2026-10-05 15:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545582336001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683572100366336,"note":"Value kept but may cause issues"} 
[2026-10-05 15:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788422854538280960,"note":"Value kept but may cause issues"} 
[2026-10-05 15:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791193683000,"timestamp_ms":1791193683000,"timestamp_seconds":1791193683,"priority":1,"record_length":96,"hex_timestamp":"000001a10b769438"} 
[2026-10-05 15:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15: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-10-05 15:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-05 15:18:37] 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-10-05 15:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:18: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-10-05 15:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545582336001,"66":13374,"118":206,"87":13824,"24":2,"16":139683572100366336,"45":8788422854538280960},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545582336001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:18:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:18:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683572100366336,"km_value":139683572100366.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788422854538280960,"description":"Unknown IO ID 45"} 
[2026-10-05 15:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545582336001,"power":13374,"unknown_118":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8788422854538280960}} 
[2026-10-05 15:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":206117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:18:37] local.INFO: GPS data processed {"connection_id":206117,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:18:37] local.INFO: Acknowledgment sent {"connection_id":206117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:18:40] local.INFO: TCP Data received {"connection_id":204590,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:18:40] local.INFO: Processing buffer {"connection_id":204590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:18:40] local.INFO: IMEI packet received {"connection_id":204590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 15:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":204590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:18:54] local.INFO: TCP Data received {"connection_id":207656,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:18:54] local.INFO: Processing buffer {"connection_id":207656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:18:54] local.INFO: IMEI packet received {"connection_id":207656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":207656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:19:00] local.INFO: TCP Data received {"connection_id":207656,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:19:00] local.INFO: Processing buffer {"connection_id":207656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:19:00] local.INFO: IMEI packet received {"connection_id":207656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":207656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:19:01] local.INFO: TCP Data received {"connection_id":207656,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b752cd8012d7f49c00600a428000e002e28..."} 
[2026-10-05 15:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b752cd8012d7f49c00600a428000e002e28..."} 
[2026-10-05 15:19:01] local.INFO: Processing buffer {"connection_id":207656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b752cd8012d7f49c00600a428000e002e28..."} 
[2026-10-05 15:19:01] local.INFO: Packet analysis {"connection_id":207656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b75"} 
[2026-10-05 15:19:01] local.INFO: Extracted packet for processing {"connection_id":207656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b75"} 
[2026-10-05 15:19:01] local.INFO: GPS Element Parsed {"raw_longitude":763316672,"raw_latitude":100705320,"longitude_deg":76.3316672,"latitude_deg":10.070532,"altitude":14,"angle":46,"satellites":40,"speed":29,"hex_longitude":"2d7f49c0","hex_latitude":"0600a428","is_valid_coordinates":true} 
[2026-10-05 15:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545555200001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2168056541347840,"note":"Value kept but may cause issues"} 
[2026-10-05 15:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9164614161245302784,"note":"Value kept but may cause issues"} 
[2026-10-05 15:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791193591000,"timestamp_ms":1791193591000,"timestamp_seconds":1791193591,"priority":1,"record_length":96,"hex_timestamp":"000001a10b752cd8"} 
[2026-10-05 15:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:19: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-10-05 15:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 15:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:19: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-10-05 15:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545555200001,"66":27919,"20":206,"87":10752,"24":29,"16":2168056541347840,"45":9164614161245302784},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,87,24,16,45]} 
[2026-10-05 15:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545555200001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:19:01] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-10-05 15:19:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 15:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2168056541347840,"km_value":2168056541347.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9164614161245302784,"description":"Unknown IO ID 45"} 
[2026-10-05 15:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545555200001,"power":27919,"unknown_20":206,"unknown_87":10752,"ignition":29,"odometer":null,"unknown_45":9164614161245302784}} 
[2026-10-05 15:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":207656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:19:01] local.INFO: GPS data processed {"connection_id":207656,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:19:01] local.INFO: Acknowledgment sent {"connection_id":207656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:19:05] local.INFO: TCP Data received {"connection_id":204591,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:19:05] local.INFO: Processing buffer {"connection_id":204591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:19:05] local.INFO: IMEI packet received {"connection_id":204591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":204591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:19:07] local.INFO: TCP Data received {"connection_id":206117,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10b769c08012d79f70005ecaf10000d000329..."} 
[2026-10-05 15:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b769c08012d79f70005ecaf10000d000329..."} 
[2026-10-05 15:19:07] local.INFO: Processing buffer {"connection_id":206117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b769c08012d79f70005ecaf10000d000329..."} 
[2026-10-05 15:19:07] local.INFO: Packet analysis {"connection_id":206117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:19:07] local.INFO: Extracted packet for processing {"connection_id":206117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:19:07] local.INFO: GPS Element Parsed {"raw_longitude":762967808,"raw_latitude":99397392,"longitude_deg":76.2967808,"latitude_deg":9.9397392,"altitude":13,"angle":3,"satellites":41,"speed":3,"hex_longitude":"2d79f700","hex_latitude":"05ecaf10","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545582848001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683580690300928,"note":"Value kept but may cause issues"} 
[2026-10-05 15:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223282493440,"note":"Value kept but may cause issues"} 
[2026-10-05 15:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791193685000,"timestamp_ms":1791193685000,"timestamp_seconds":1791193685,"priority":1,"record_length":96,"hex_timestamp":"000001a10b769c08"} 
[2026-10-05 15:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:19: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-10-05 15: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-10-05 15:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":206117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":206117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":206117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:19: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-10-05 15:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545582848001,"66":13461,"118":206,"87":13824,"24":3,"16":139683580690300928,"45":8788493223282493440},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545582848001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:19:07] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:19:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683580690300928,"km_value":139683580690300.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223282493440,"description":"Unknown IO ID 45"} 
[2026-10-05 15:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545582848001,"power":13461,"unknown_118":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8788493223282493440}} 
[2026-10-05 15:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":206117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:19:07] local.INFO: GPS data processed {"connection_id":206117,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:19:07] local.INFO: Acknowledgment sent {"connection_id":206117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:19:10] local.INFO: TCP Data received {"connection_id":204591,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:19:10] local.INFO: Processing buffer {"connection_id":204591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:19:10] local.INFO: IMEI packet received {"connection_id":204591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":204591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:19:12] local.INFO: TCP Data received {"connection_id":204591,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b761b20012d1b42400725c6480027007b29..."} 
[2026-10-05 15:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b761b20012d1b42400725c6480027007b29..."} 
[2026-10-05 15:19:12] local.INFO: Processing buffer {"connection_id":204591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b761b20012d1b42400725c6480027007b29..."} 
[2026-10-05 15:19:12] local.INFO: Packet analysis {"connection_id":204591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:19:12] local.INFO: Extracted packet for processing {"connection_id":204591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:19:12] local.INFO: GPS Element Parsed {"raw_longitude":756761152,"raw_latitude":119916104,"longitude_deg":75.6761152,"latitude_deg":11.9916104,"altitude":39,"angle":123,"satellites":41,"speed":0,"hex_longitude":"2d1b4240","hex_latitude":"0725c648","is_valid_coordinates":true} 
[2026-10-05 15:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545569536001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25100763835400192,"note":"Value kept but may cause issues"} 
[2026-10-05 15:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964202786929657856,"note":"Value kept but may cause issues"} 
[2026-10-05 15:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791193652000,"timestamp_ms":1791193652000,"timestamp_seconds":1791193652,"priority":1,"record_length":96,"hex_timestamp":"000001a10b761b20"} 
[2026-10-05 15:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 15:19:12] 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-10-05 15:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545569536001,"66":12939,"80":206,"28":31744,"24":0,"16":25100763835400192,"45":1964202786929657856},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-10-05 15:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545569536001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:19:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-10-05 15:19:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25100763835400192,"km_value":25100763835400.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964202786929657856,"description":"Unknown IO ID 45"} 
[2026-10-05 15:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545569536001,"power":12939,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1964202786929657856}} 
[2026-10-05 15:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":204591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:19:12] local.INFO: GPS data processed {"connection_id":204591,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:19:12] local.INFO: Acknowledgment sent {"connection_id":204591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:19:32] local.INFO: TCP Data received {"connection_id":207656,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b770198012d806a80060211c8000b001223..."} 
[2026-10-05 15:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b770198012d806a80060211c8000b001223..."} 
[2026-10-05 15:19:32] local.INFO: Processing buffer {"connection_id":207656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b770198012d806a80060211c8000b001223..."} 
[2026-10-05 15:19:32] local.INFO: Packet analysis {"connection_id":207656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b77"} 
[2026-10-05 15:19:32] local.INFO: Extracted packet for processing {"connection_id":207656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b77"} 
[2026-10-05 15:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763390592,"raw_latitude":100798920,"longitude_deg":76.3390592,"latitude_deg":10.079892,"altitude":11,"angle":18,"satellites":35,"speed":38,"hex_longitude":"2d806a80","hex_latitude":"060211c8","is_valid_coordinates":true} 
[2026-10-05 15:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545587712001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2173889106935808,"note":"Value kept but may cause issues"} 
[2026-10-05 15:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196983731985870848,"note":"Value kept but may cause issues"} 
[2026-10-05 15:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791193711000,"timestamp_ms":1791193711000,"timestamp_seconds":1791193711,"priority":1,"record_length":96,"hex_timestamp":"000001a10b770198"} 
[2026-10-05 15:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 15:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545587712001,"66":27919,"169":206,"87":10496,"24":38,"16":2173889106935808,"45":-9196983731985870848},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,87,24,16,45]} 
[2026-10-05 15:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545587712001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:19:32] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-10-05 15:19:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2173889106935808,"km_value":2173889106935.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196983731985870848,"description":"Unknown IO ID 45"} 
[2026-10-05 15:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545587712001,"power":27919,"unknown_169":206,"unknown_87":10496,"ignition":38,"odometer":null,"unknown_45":-9196983731985870848}} 
[2026-10-05 15:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":207656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:19:32] local.INFO: GPS data processed {"connection_id":207656,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:19:32] local.INFO: Acknowledgment sent {"connection_id":207656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:19:36] local.INFO: TCP Data received {"connection_id":207657,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207657,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:19:36] local.INFO: Processing buffer {"connection_id":207657,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:19:36] local.INFO: IMEI packet received {"connection_id":207657,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":207657,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:19:41] local.INFO: TCP Data received {"connection_id":207657,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207657,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:19:41] local.INFO: Processing buffer {"connection_id":207657,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:19:41] local.INFO: IMEI packet received {"connection_id":207657,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":207657,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:19:41] local.INFO: TCP Data received {"connection_id":207657,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:19:41] local.INFO: Processing buffer {"connection_id":207657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:19:41] local.INFO: Packet analysis {"connection_id":207657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:19:41] local.INFO: Extracted packet for processing {"connection_id":207657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:19:41] local.INFO: GPS Element Parsed {"raw_longitude":762967808,"raw_latitude":99398464,"longitude_deg":76.2967808,"latitude_deg":9.9398464,"altitude":13,"angle":8,"satellites":41,"speed":0,"hex_longitude":"2d79f700","hex_latitude":"05ecb340","is_valid_coordinates":true} 
[2026-10-05 15:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545583360001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223282544640,"note":"Value kept but may cause issues"} 
[2026-10-05 15:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791193700000,"timestamp_ms":1791193700000,"timestamp_seconds":1791193700,"priority":1,"record_length":96,"hex_timestamp":"000001a10b76d6a0"} 
[2026-10-05 15:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:19: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-10-05 15:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-10-05 15:19:41] 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-10-05 15:19: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-10-05 15:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":207657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":207657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":207657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545583360001,"66":13428,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8788493223282544640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545583360001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:19:42] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:19:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223282544640,"description":"Unknown IO ID 45"} 
[2026-10-05 15:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545583360001,"power":13428,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8788493223282544640}} 
[2026-10-05 15:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":207657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:19:42] local.INFO: GPS data processed {"connection_id":207657,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:19:42] local.INFO: Acknowledgment sent {"connection_id":207657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:19:43] local.INFO: TCP Data received {"connection_id":204591,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b766d28012d1b42400725c6480027007b2b..."} 
[2026-10-05 15:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b766d28012d1b42400725c6480027007b2b..."} 
[2026-10-05 15:19:43] local.INFO: Processing buffer {"connection_id":204591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b766d28012d1b42400725c6480027007b2b..."} 
[2026-10-05 15:19:43] local.INFO: Packet analysis {"connection_id":204591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:19:43] local.INFO: Extracted packet for processing {"connection_id":204591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:19:43] local.INFO: GPS Element Parsed {"raw_longitude":756761152,"raw_latitude":119916104,"longitude_deg":75.6761152,"latitude_deg":11.9916104,"altitude":39,"angle":123,"satellites":43,"speed":0,"hex_longitude":"2d1b4240","hex_latitude":"0725c648","is_valid_coordinates":true} 
[2026-10-05 15:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545574912001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25100763835400192,"note":"Value kept but may cause issues"} 
[2026-10-05 15:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964202786929657856,"note":"Value kept but may cause issues"} 
[2026-10-05 15:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791193673000,"timestamp_ms":1791193673000,"timestamp_seconds":1791193673,"priority":1,"record_length":96,"hex_timestamp":"000001a10b766d28"} 
[2026-10-05 15:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:19:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 15:19:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545574912001,"66":12809,"80":206,"28":31744,"24":0,"16":25100763835400192,"45":1964202786929657856},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-10-05 15:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545574912001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:19:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-10-05 15:19:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25100763835400192,"km_value":25100763835400.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964202786929657856,"description":"Unknown IO ID 45"} 
[2026-10-05 15:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545574912001,"power":12809,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1964202786929657856}} 
[2026-10-05 15:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":204591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:19:43] local.INFO: GPS data processed {"connection_id":204591,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:19:43] local.INFO: Acknowledgment sent {"connection_id":204591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:19:46] local.INFO: TCP Data received {"connection_id":207657,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:19:46] local.INFO: Processing buffer {"connection_id":207657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:19:46] local.INFO: Packet analysis {"connection_id":207657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:19:46] local.INFO: Extracted packet for processing {"connection_id":207657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:19:46] local.INFO: GPS Element Parsed {"raw_longitude":762967808,"raw_latitude":99398464,"longitude_deg":76.2967808,"latitude_deg":9.9398464,"altitude":13,"angle":8,"satellites":41,"speed":0,"hex_longitude":"2d79f700","hex_latitude":"05ecb340","is_valid_coordinates":true} 
[2026-10-05 15:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545587200001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223282819072,"note":"Value kept but may cause issues"} 
[2026-10-05 15:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791193700000,"timestamp_ms":1791193700000,"timestamp_seconds":1791193700,"priority":1,"record_length":96,"hex_timestamp":"000001a10b76d6a0"} 
[2026-10-05 15:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 15:19:46] 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-10-05 15:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":207657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":207657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":207657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:19:46] 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-10-05 15:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545587200001,"66":13428,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8788493223282819072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545587200001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:19:46] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:19:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223282819072,"description":"Unknown IO ID 45"} 
[2026-10-05 15:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545587200001,"power":13428,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8788493223282819072}} 
[2026-10-05 15:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":207657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:19:46] local.INFO: GPS data processed {"connection_id":207657,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:19:46] local.INFO: Acknowledgment sent {"connection_id":207657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:19:51] local.INFO: TCP Data received {"connection_id":207657,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:19:51] local.INFO: Processing buffer {"connection_id":207657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:19:51] local.INFO: Packet analysis {"connection_id":207657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:19:51] local.INFO: Extracted packet for processing {"connection_id":207657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:19:51] local.INFO: GPS Element Parsed {"raw_longitude":762967808,"raw_latitude":99398464,"longitude_deg":76.2967808,"latitude_deg":9.9398464,"altitude":13,"angle":8,"satellites":41,"speed":0,"hex_longitude":"2d79f700","hex_latitude":"05ecb340","is_valid_coordinates":true} 
[2026-10-05 15:19:51] 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-10-05 15:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545587200001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223282819072,"note":"Value kept but may cause issues"} 
[2026-10-05 15:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791193700000,"timestamp_ms":1791193700000,"timestamp_seconds":1791193700,"priority":1,"record_length":96,"hex_timestamp":"000001a10b76d6a0"} 
[2026-10-05 15:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 15:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":207657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":207657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":207657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:19:51] 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-10-05 15:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545587200001,"66":13428,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8788493223282819072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545587200001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:19:51] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:19:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223282819072,"description":"Unknown IO ID 45"} 
[2026-10-05 15:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545587200001,"power":13428,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8788493223282819072}} 
[2026-10-05 15:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":207657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:19:51] local.INFO: GPS data processed {"connection_id":207657,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:19:51] local.INFO: Acknowledgment sent {"connection_id":207657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:19:54] local.INFO: TCP Data received {"connection_id":204710,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:19:54] local.INFO: Processing buffer {"connection_id":204710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:19:54] local.INFO: IMEI packet received {"connection_id":204710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":204710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:19:58] local.INFO: TCP Data received {"connection_id":204710,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:19:58] local.INFO: Processing buffer {"connection_id":204710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:19:58] local.INFO: IMEI packet received {"connection_id":204710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":204710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:19:59] local.INFO: TCP Data received {"connection_id":204710,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:19:59] local.INFO: Processing buffer {"connection_id":204710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:19:59] local.INFO: IMEI packet received {"connection_id":204710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":204710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:20:00] local.INFO: TCP Data received {"connection_id":204710,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7728a8012d80770006023540000d001523..."} 
[2026-10-05 15:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7728a8012d80770006023540000d001523..."} 
[2026-10-05 15:20:00] local.INFO: Processing buffer {"connection_id":204710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7728a8012d80770006023540000d001523..."} 
[2026-10-05 15:20:00] local.INFO: Packet analysis {"connection_id":204710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b77"} 
[2026-10-05 15:20:00] local.INFO: Extracted packet for processing {"connection_id":204710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b77"} 
[2026-10-05 15:20:00] local.INFO: GPS Element Parsed {"raw_longitude":763393792,"raw_latitude":100808000,"longitude_deg":76.3393792,"latitude_deg":10.0808,"altitude":13,"angle":21,"satellites":35,"speed":38,"hex_longitude":"2d807700","hex_latitude":"06023540","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545590016001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2174352963403776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193394926030567424,"note":"Value kept but may cause issues"} 
[2026-10-05 15:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791193721000,"timestamp_ms":1791193721000,"timestamp_seconds":1791193721,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7728a8"} 
[2026-10-05 15:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 15:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:20: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-10-05 15:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545590016001,"66":27930,"194":206,"87":10496,"24":38,"16":2174352963403776,"45":-9193394926030567424},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,87,24,16,45]} 
[2026-10-05 15:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545590016001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:20:00] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-10-05 15:20:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2174352963403776,"km_value":2174352963403.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193394926030567424,"description":"Unknown IO ID 45"} 
[2026-10-05 15:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545590016001,"power":27930,"unknown_194":206,"unknown_87":10496,"ignition":38,"odometer":null,"unknown_45":-9193394926030567424}} 
[2026-10-05 15:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":204710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:20:00] local.INFO: GPS data processed {"connection_id":204710,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:20:00] local.INFO: Acknowledgment sent {"connection_id":204710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:20:05] local.INFO: TCP Data received {"connection_id":206118,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:20:05] local.INFO: Processing buffer {"connection_id":206118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:20:05] local.INFO: IMEI packet received {"connection_id":206118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":206118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:20:06] local.INFO: TCP Data received {"connection_id":206118,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:20:06] local.INFO: Processing buffer {"connection_id":206118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:20:06] local.INFO: IMEI packet received {"connection_id":206118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":206118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:20:09] local.INFO: TCP Data received {"connection_id":206118,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:20:09] local.INFO: Processing buffer {"connection_id":206118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:20:09] local.INFO: IMEI packet received {"connection_id":206118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":206118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:20:10] local.INFO: TCP Data received {"connection_id":206118,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b76bf30012d1b42400725c6480027007b29..."} 
[2026-10-05 15:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b76bf30012d1b42400725c6480027007b29..."} 
[2026-10-05 15:20:10] local.INFO: Processing buffer {"connection_id":206118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b76bf30012d1b42400725c6480027007b29..."} 
[2026-10-05 15:20:10] local.INFO: Packet analysis {"connection_id":206118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:20:10] local.INFO: Extracted packet for processing {"connection_id":206118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:20:10] local.INFO: GPS Element Parsed {"raw_longitude":756761152,"raw_latitude":119916104,"longitude_deg":75.6761152,"latitude_deg":11.9916104,"altitude":39,"angle":123,"satellites":41,"speed":0,"hex_longitude":"2d1b4240","hex_latitude":"0725c648","is_valid_coordinates":true} 
[2026-10-05 15:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545580288001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25100763835400192,"note":"Value kept but may cause issues"} 
[2026-10-05 15:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964202786929657856,"note":"Value kept but may cause issues"} 
[2026-10-05 15:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791193694000,"timestamp_ms":1791193694000,"timestamp_seconds":1791193694,"priority":1,"record_length":96,"hex_timestamp":"000001a10b76bf30"} 
[2026-10-05 15:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-05 15:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":504403158433268736,"note":"Value kept but may cause issues"} 
[2026-10-05 15:20:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 15:20:10] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":13494096,"corrected_to":0} 
[2026-10-05 15:20:10] local.WARNING: Large IO value detected {"io_id":11,"raw_value":8473047714926116992,"note":"Value kept but may cause issues"} 
[2026-10-05 15:20:10] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3331850279,"note":"Value kept but may cause issues"} 
[2026-10-05 15:20:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880779982,"corrected_to":0} 
[2026-10-05 15:20:10] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-3746768496608883172,"note":"Value kept but may cause issues"} 
[2026-10-05 15:20:10] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2721950986359852077,"note":"Value kept but may cause issues"} 
[2026-10-05 15:20:10] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-10-05 15:20:10] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,80,28,24,241,158,16,45,161,27,64,198,39,41,10,66,201,44,193,192,1,240,204,11,37,4,113,205,2,185,65,144,239,50,89,7,124,254],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":204,"original":13494096,"validated":0},{"io_id":205,"original":3880779982,"validated":0}]} 
[2026-10-05 15:20:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2810381592092999680,"timestamp_seconds":2810381592092999.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 15:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":206118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":206118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":206118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545580288001,"66":12841,"80":206,"28":31744,"24":0,"16":25100763835400192,"45":1964202786929657856},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-10-05 15:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545580288001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:20:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-10-05 15:20:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25100763835400192,"km_value":25100763835400.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964202786929657856,"description":"Unknown IO ID 45"} 
[2026-10-05 15:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545580288001,"power":12841,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1964202786929657856}} 
[2026-10-05 15:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":206118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:20:10] local.INFO: GPS data processed {"connection_id":206118,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:20:10] local.INFO: Acknowledgment sent {"connection_id":206118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:20:31] local.INFO: TCP Data received {"connection_id":207659,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:20:31] local.INFO: Processing buffer {"connection_id":207659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:20:31] local.INFO: IMEI packet received {"connection_id":207659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":207659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:20:32] local.INFO: TCP Data received {"connection_id":204710,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b774bd0012d8084c006025710000d001726..."} 
[2026-10-05 15:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b774bd0012d8084c006025710000d001726..."} 
[2026-10-05 15:20:32] local.INFO: Processing buffer {"connection_id":204710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b774bd0012d8084c006025710000d001726..."} 
[2026-10-05 15:20:32] local.INFO: Packet analysis {"connection_id":204710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b77"} 
[2026-10-05 15:20:32] local.INFO: Extracted packet for processing {"connection_id":204710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b77"} 
[2026-10-05 15:20:32] local.INFO: GPS Element Parsed {"raw_longitude":763397312,"raw_latitude":100816656,"longitude_deg":76.3397312,"latitude_deg":10.0816656,"altitude":13,"angle":23,"satellites":38,"speed":43,"hex_longitude":"2d8084c0","hex_latitude":"06025710","is_valid_coordinates":true} 
[2026-10-05 15:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545592576001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2174808229937152,"note":"Value kept but may cause issues"} 
[2026-10-05 15:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9189876488819359744,"note":"Value kept but may cause issues"} 
[2026-10-05 15:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791193730000,"timestamp_ms":1791193730000,"timestamp_seconds":1791193730,"priority":1,"record_length":96,"hex_timestamp":"000001a10b774bd0"} 
[2026-10-05 15:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:20: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-10-05 15:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-05 15:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545592576001,"66":27974,"194":206,"87":10496,"24":43,"16":2174808229937152,"45":-9189876488819359744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,87,24,16,45]} 
[2026-10-05 15:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545592576001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:20:32] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-10-05 15:20:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2174808229937152,"km_value":2174808229937.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9189876488819359744,"description":"Unknown IO ID 45"} 
[2026-10-05 15:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545592576001,"power":27974,"unknown_194":206,"unknown_87":10496,"ignition":43,"odometer":null,"unknown_45":-9189876488819359744}} 
[2026-10-05 15:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":204710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:20:32] local.INFO: GPS data processed {"connection_id":204710,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:20:32] local.INFO: Acknowledgment sent {"connection_id":204710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:20:36] local.INFO: TCP Data received {"connection_id":207659,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:20:36] local.INFO: Processing buffer {"connection_id":207659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:20:36] local.INFO: IMEI packet received {"connection_id":207659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":207659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:20:37] local.INFO: TCP Data received {"connection_id":207659,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:20:37] local.INFO: Processing buffer {"connection_id":207659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:20:37] local.INFO: Packet analysis {"connection_id":207659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:20:37] local.INFO: Extracted packet for processing {"connection_id":207659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:20:37] local.INFO: GPS Element Parsed {"raw_longitude":762967808,"raw_latitude":99398464,"longitude_deg":76.2967808,"latitude_deg":9.9398464,"altitude":13,"angle":8,"satellites":41,"speed":0,"hex_longitude":"2d79f700","hex_latitude":"05ecb340","is_valid_coordinates":true} 
[2026-10-05 15:20:37] 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-10-05 15:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545587200001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223282819072,"note":"Value kept but may cause issues"} 
[2026-10-05 15:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791193700000,"timestamp_ms":1791193700000,"timestamp_seconds":1791193700,"priority":1,"record_length":96,"hex_timestamp":"000001a10b76d6a0"} 
[2026-10-05 15:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 15:20:37] 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-10-05 15: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-10-05 15:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545587200001,"66":13428,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8788493223282819072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545587200001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:20:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:20:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223282819072,"description":"Unknown IO ID 45"} 
[2026-10-05 15:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545587200001,"power":13428,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8788493223282819072}} 
[2026-10-05 15:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":207659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:20:37] local.INFO: GPS data processed {"connection_id":207659,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:20:37] local.INFO: Acknowledgment sent {"connection_id":207659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:20:41] local.INFO: TCP Data received {"connection_id":207659,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:20:41] local.INFO: Processing buffer {"connection_id":207659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:20:41] local.INFO: Packet analysis {"connection_id":207659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:20:41] local.INFO: Extracted packet for processing {"connection_id":207659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:20:41] local.INFO: GPS Element Parsed {"raw_longitude":762967808,"raw_latitude":99398464,"longitude_deg":76.2967808,"latitude_deg":9.9398464,"altitude":13,"angle":8,"satellites":41,"speed":0,"hex_longitude":"2d79f700","hex_latitude":"05ecb340","is_valid_coordinates":true} 
[2026-10-05 15:20:41] 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-10-05 15:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545587200001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223282819072,"note":"Value kept but may cause issues"} 
[2026-10-05 15:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791193700000,"timestamp_ms":1791193700000,"timestamp_seconds":1791193700,"priority":1,"record_length":96,"hex_timestamp":"000001a10b76d6a0"} 
[2026-10-05 15:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 15:20:41] 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-10-05 15:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":207659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":207659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":207659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545587200001,"66":13428,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8788493223282819072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545587200001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:20:41] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:20:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223282819072,"description":"Unknown IO ID 45"} 
[2026-10-05 15:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545587200001,"power":13428,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8788493223282819072}} 
[2026-10-05 15:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":207659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968126,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:20:41] local.INFO: GPS data processed {"connection_id":207659,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:20:41] local.INFO: Acknowledgment sent {"connection_id":207659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:20:42] local.INFO: TCP Data received {"connection_id":206118,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b780b38012d1b35c00725ae90002e01642e..."} 
[2026-10-05 15:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b780b38012d1b35c00725ae90002e01642e..."} 
[2026-10-05 15:20:42] local.INFO: Processing buffer {"connection_id":206118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b780b38012d1b35c00725ae90002e01642e..."} 
[2026-10-05 15:20:42] local.INFO: Packet analysis {"connection_id":206118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b78"} 
[2026-10-05 15:20:42] local.INFO: Extracted packet for processing {"connection_id":206118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b78"} 
[2026-10-05 15:20:42] local.INFO: GPS Element Parsed {"raw_longitude":756757952,"raw_latitude":119910032,"longitude_deg":75.6757952,"latitude_deg":11.9910032,"altitude":46,"angle":356,"satellites":46,"speed":13,"hex_longitude":"2d1b35c0","hex_latitude":"0725ae90","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545606912001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25101223396900864,"note":"Value kept but may cause issues"} 
[2026-10-05 15:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960754718463258624,"note":"Value kept but may cause issues"} 
[2026-10-05 15:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791193779000,"timestamp_ms":1791193779000,"timestamp_seconds":1791193779,"priority":1,"record_length":96,"hex_timestamp":"000001a10b780b38"} 
[2026-10-05 15:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:20: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-10-05 15: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 15:20:42] 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-10-05 15: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-10-05 15:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545606912001,"66":12004,"62":206,"28":31744,"24":13,"16":25101223396900864,"45":1960754718463258624},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545606912001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:20:42] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:20:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25101223396900864,"km_value":25101223396900.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960754718463258624,"description":"Unknown IO ID 45"} 
[2026-10-05 15:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545606912001,"power":12004,"unknown_62":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1960754718463258624}} 
[2026-10-05 15:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":206118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:20:42] local.INFO: GPS data processed {"connection_id":206118,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:20:42] local.INFO: Acknowledgment sent {"connection_id":206118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:21:00] local.INFO: TCP Data received {"connection_id":204712,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:21:00] local.INFO: Processing buffer {"connection_id":204712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:21:00] local.INFO: IMEI packet received {"connection_id":204712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":204712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:21:05] local.INFO: TCP Data received {"connection_id":204712,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:21:05] local.INFO: Processing buffer {"connection_id":204712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:21:05] local.INFO: IMEI packet received {"connection_id":204712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":204712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:21:05] local.INFO: TCP Data received {"connection_id":204713,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:21:05] local.INFO: Processing buffer {"connection_id":204713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:21:05] local.INFO: IMEI packet received {"connection_id":204713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":204713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:21:06] local.INFO: TCP Data received {"connection_id":204712,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b776ef8012d809440060278f8000d001a27..."} 
[2026-10-05 15:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b776ef8012d809440060278f8000d001a27..."} 
[2026-10-05 15:21:06] local.INFO: Processing buffer {"connection_id":204712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b776ef8012d809440060278f8000d001a27..."} 
[2026-10-05 15:21:06] local.INFO: Packet analysis {"connection_id":204712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b77"} 
[2026-10-05 15:21:06] local.INFO: Extracted packet for processing {"connection_id":204712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b77"} 
[2026-10-05 15:21:06] local.INFO: GPS Element Parsed {"raw_longitude":763401280,"raw_latitude":100825336,"longitude_deg":76.340128,"latitude_deg":10.0825336,"altitude":13,"angle":26,"satellites":39,"speed":39,"hex_longitude":"2d809440","hex_latitude":"060278f8","is_valid_coordinates":true} 
[2026-10-05 15:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545594880001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2175267791437824,"note":"Value kept but may cause issues"} 
[2026-10-05 15:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9186006207887372288,"note":"Value kept but may cause issues"} 
[2026-10-05 15:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791193739000,"timestamp_ms":1791193739000,"timestamp_seconds":1791193739,"priority":1,"record_length":96,"hex_timestamp":"000001a10b776ef8"} 
[2026-10-05 15:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 15:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545594880001,"66":27995,"194":206,"87":10496,"24":39,"16":2175267791437824,"45":-9186006207887372288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,87,24,16,45]} 
[2026-10-05 15:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545594880001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:21:06] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-10-05 15:21:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2175267791437824,"km_value":2175267791437.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9186006207887372288,"description":"Unknown IO ID 45"} 
[2026-10-05 15:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545594880001,"power":27995,"unknown_194":206,"unknown_87":10496,"ignition":39,"odometer":null,"unknown_45":-9186006207887372288}} 
[2026-10-05 15:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":204712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:21:06] local.INFO: GPS data processed {"connection_id":204712,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:21:06] local.INFO: Acknowledgment sent {"connection_id":204712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:21:07] local.INFO: TCP Data received {"connection_id":204712,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b779220012d80a40006029888000b001925..."} 
[2026-10-05 15:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b779220012d80a40006029888000b001925..."} 
[2026-10-05 15:21:07] local.INFO: Processing buffer {"connection_id":204712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b779220012d80a40006029888000b001925..."} 
[2026-10-05 15:21:07] local.INFO: Packet analysis {"connection_id":204712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b77"} 
[2026-10-05 15:21:07] local.INFO: Extracted packet for processing {"connection_id":204712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b77"} 
[2026-10-05 15:21:07] local.INFO: GPS Element Parsed {"raw_longitude":763405312,"raw_latitude":100833416,"longitude_deg":76.3405312,"latitude_deg":10.0833416,"altitude":11,"angle":25,"satellites":37,"speed":37,"hex_longitude":"2d80a400","hex_latitude":"06029888","is_valid_coordinates":true} 
[2026-10-05 15:21: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-10-05 15:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545597184001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2175705878102016,"note":"Value kept but may cause issues"} 
[2026-10-05 15:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9181643345746135040,"note":"Value kept but may cause issues"} 
[2026-10-05 15:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791193748000,"timestamp_ms":1791193748000,"timestamp_seconds":1791193748,"priority":1,"record_length":96,"hex_timestamp":"000001a10b779220"} 
[2026-10-05 15:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 15:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:21: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-10-05 15:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:21: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-10-05 15:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545597184001,"66":27995,"194":206,"87":10496,"24":37,"16":2175705878102016,"45":-9181643345746135040},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,87,24,16,45]} 
[2026-10-05 15:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545597184001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:21:07] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-10-05 15:21:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2175705878102016,"km_value":2175705878102.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9181643345746135040,"description":"Unknown IO ID 45"} 
[2026-10-05 15:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545597184001,"power":27995,"unknown_194":206,"unknown_87":10496,"ignition":37,"odometer":null,"unknown_45":-9181643345746135040}} 
[2026-10-05 15:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":204712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:21:07] local.INFO: GPS data processed {"connection_id":204712,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:21:07] local.INFO: Acknowledgment sent {"connection_id":204712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:21:10] local.INFO: TCP Data received {"connection_id":204713,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:21:10] local.INFO: Processing buffer {"connection_id":204713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:21:10] local.INFO: IMEI packet received {"connection_id":204713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":204713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:21:11] local.INFO: TCP Data received {"connection_id":204713,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b785d40012d1b35c00725bd78002b00112d..."} 
[2026-10-05 15:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b785d40012d1b35c00725bd78002b00112d..."} 
[2026-10-05 15:21:11] local.INFO: Processing buffer {"connection_id":204713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b785d40012d1b35c00725bd78002b00112d..."} 
[2026-10-05 15:21:11] local.INFO: Packet analysis {"connection_id":204713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b78"} 
[2026-10-05 15:21:11] local.INFO: Extracted packet for processing {"connection_id":204713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b78"} 
[2026-10-05 15:21:11] local.INFO: GPS Element Parsed {"raw_longitude":756757952,"raw_latitude":119913848,"longitude_deg":75.6757952,"latitude_deg":11.9913848,"altitude":43,"angle":17,"satellites":45,"speed":8,"hex_longitude":"2d1b35c0","hex_latitude":"0725bd78","is_valid_coordinates":true} 
[2026-10-05 15:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545607424001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25101412375461888,"note":"Value kept but may cause issues"} 
[2026-10-05 15:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960684349719220224,"note":"Value kept but may cause issues"} 
[2026-10-05 15:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791193800000,"timestamp_ms":1791193800000,"timestamp_seconds":1791193800,"priority":1,"record_length":96,"hex_timestamp":"000001a10b785d40"} 
[2026-10-05 15:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-05 15:21:11] 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-10-05 15:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545607424001,"66":12982,"62":206,"28":31744,"24":8,"16":25101412375461888,"45":1960684349719220224},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545607424001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:21:11] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:21:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25101412375461888,"km_value":25101412375461.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960684349719220224,"description":"Unknown IO ID 45"} 
[2026-10-05 15:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545607424001,"power":12982,"unknown_62":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1960684349719220224}} 
[2026-10-05 15:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":204713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:21:11] local.INFO: GPS data processed {"connection_id":204713,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:21:11] local.INFO: Acknowledgment sent {"connection_id":204713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:21:12] local.INFO: TCP Data received {"connection_id":207659,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:21:12] local.INFO: Processing buffer {"connection_id":207659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:21:12] local.INFO: Packet analysis {"connection_id":207659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:21:12] local.INFO: Extracted packet for processing {"connection_id":207659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:21:12] local.INFO: GPS Element Parsed {"raw_longitude":762967808,"raw_latitude":99398464,"longitude_deg":76.2967808,"latitude_deg":9.9398464,"altitude":13,"angle":8,"satellites":41,"speed":0,"hex_longitude":"2d79f700","hex_latitude":"05ecb340","is_valid_coordinates":true} 
[2026-10-05 15:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545587200001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223282819072,"note":"Value kept but may cause issues"} 
[2026-10-05 15:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791193700000,"timestamp_ms":1791193700000,"timestamp_seconds":1791193700,"priority":1,"record_length":96,"hex_timestamp":"000001a10b76d6a0"} 
[2026-10-05 15:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:21: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-10-05 15:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 15:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":207659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":207659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":207659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545587200001,"66":13428,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8788493223282819072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545587200001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:21:12] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:21:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223282819072,"description":"Unknown IO ID 45"} 
[2026-10-05 15:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545587200001,"power":13428,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8788493223282819072}} 
[2026-10-05 15:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":207659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:21:12] local.INFO: GPS data processed {"connection_id":207659,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:21:12] local.INFO: Acknowledgment sent {"connection_id":207659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:21:31] local.INFO: TCP Data received {"connection_id":204592,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:21:31] local.INFO: Processing buffer {"connection_id":204592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:21:31] local.INFO: IMEI packet received {"connection_id":204592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":204592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:21:36] local.INFO: TCP Data received {"connection_id":204592,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:21:36] local.INFO: Processing buffer {"connection_id":204592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:21:36] local.INFO: IMEI packet received {"connection_id":204592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":204592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:21:37] local.INFO: TCP Data received {"connection_id":204592,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:21:37] local.INFO: Processing buffer {"connection_id":204592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:21:37] local.INFO: Packet analysis {"connection_id":204592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:21:37] local.INFO: Extracted packet for processing {"connection_id":204592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:21:37] local.INFO: GPS Element Parsed {"raw_longitude":762967808,"raw_latitude":99398464,"longitude_deg":76.2967808,"latitude_deg":9.9398464,"altitude":13,"angle":8,"satellites":41,"speed":0,"hex_longitude":"2d79f700","hex_latitude":"05ecb340","is_valid_coordinates":true} 
[2026-10-05 15:21:37] 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-10-05 15:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545587200001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223282819072,"note":"Value kept but may cause issues"} 
[2026-10-05 15:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791193700000,"timestamp_ms":1791193700000,"timestamp_seconds":1791193700,"priority":1,"record_length":96,"hex_timestamp":"000001a10b76d6a0"} 
[2026-10-05 15:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 15:21:37] 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-10-05 15:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545587200001,"66":13428,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8788493223282819072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545587200001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:21:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:21:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223282819072,"description":"Unknown IO ID 45"} 
[2026-10-05 15:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545587200001,"power":13428,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8788493223282819072}} 
[2026-10-05 15:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":204592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:21:37] local.INFO: GPS data processed {"connection_id":204592,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:21:37] local.INFO: Acknowledgment sent {"connection_id":204592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:21:39] local.INFO: TCP Data received {"connection_id":204712,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b78f598012d81248006037178000900b727..."} 
[2026-10-05 15:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b78f598012d81248006037178000900b727..."} 
[2026-10-05 15:21:39] local.INFO: Processing buffer {"connection_id":204712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b78f598012d81248006037178000900b727..."} 
[2026-10-05 15:21:39] local.INFO: Packet analysis {"connection_id":204712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b78"} 
[2026-10-05 15:21:39] local.INFO: Extracted packet for processing {"connection_id":204712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b78"} 
[2026-10-05 15:21:39] local.INFO: GPS Element Parsed {"raw_longitude":763438208,"raw_latitude":100888952,"longitude_deg":76.3438208,"latitude_deg":10.0888952,"altitude":9,"angle":183,"satellites":39,"speed":8,"hex_longitude":"2d812480","hex_latitude":"06037178","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545622272001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2178888448868352,"note":"Value kept but may cause issues"} 
[2026-10-05 15:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9141181317827598336,"note":"Value kept but may cause issues"} 
[2026-10-05 15:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791193839000,"timestamp_ms":1791193839000,"timestamp_seconds":1791193839,"priority":1,"record_length":96,"hex_timestamp":"000001a10b78f598"} 
[2026-10-05 15:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 15:21:39] 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-10-05 15: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-10-05 15:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":204712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":204712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":204712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545622272001,"66":27930,"192":206,"87":10496,"24":8,"16":2178888448868352,"45":-9141181317827598336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-10-05 15:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545622272001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:21:39] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-10-05 15:21:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2178888448868352,"km_value":2178888448868.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9141181317827598336,"description":"Unknown IO ID 45"} 
[2026-10-05 15:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545622272001,"power":27930,"unknown_192":206,"unknown_87":10496,"ignition":8,"odometer":null,"unknown_45":-9141181317827598336}} 
[2026-10-05 15:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":204712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:21:39] local.INFO: GPS data processed {"connection_id":204712,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:21:39] local.INFO: Acknowledgment sent {"connection_id":204712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:21:43] local.INFO: TCP Data received {"connection_id":204713,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b785d40012d1b35c00725bd78002b00112d..."} 
[2026-10-05 15:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b785d40012d1b35c00725bd78002b00112d..."} 
[2026-10-05 15:21:43] local.INFO: Processing buffer {"connection_id":204713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b785d40012d1b35c00725bd78002b00112d..."} 
[2026-10-05 15:21:43] local.INFO: Packet analysis {"connection_id":204713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b78"} 
[2026-10-05 15:21:43] local.INFO: Extracted packet for processing {"connection_id":204713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b78"} 
[2026-10-05 15:21:43] local.INFO: GPS Element Parsed {"raw_longitude":756757952,"raw_latitude":119913848,"longitude_deg":75.6757952,"latitude_deg":11.9913848,"altitude":43,"angle":17,"satellites":45,"speed":8,"hex_longitude":"2d1b35c0","hex_latitude":"0725bd78","is_valid_coordinates":true} 
[2026-10-05 15:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545612800001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25101412375461888,"note":"Value kept but may cause issues"} 
[2026-10-05 15:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960684349720197120,"note":"Value kept but may cause issues"} 
[2026-10-05 15:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791193800000,"timestamp_ms":1791193800000,"timestamp_seconds":1791193800,"priority":1,"record_length":96,"hex_timestamp":"000001a10b785d40"} 
[2026-10-05 15:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 15:21:43] 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-10-05 15:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545612800001,"66":12982,"62":206,"28":31744,"24":8,"16":25101412375461888,"45":1960684349720197120},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545612800001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:21:43] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:21:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25101412375461888,"km_value":25101412375461.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960684349720197120,"description":"Unknown IO ID 45"} 
[2026-10-05 15:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545612800001,"power":12982,"unknown_62":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1960684349720197120}} 
[2026-10-05 15:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":204713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:21:43] local.INFO: GPS data processed {"connection_id":204713,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:21:43] local.INFO: Acknowledgment sent {"connection_id":204713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:21:55] local.INFO: TCP Data received {"connection_id":204714,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:21:55] local.INFO: Processing buffer {"connection_id":204714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:21:55] local.INFO: IMEI packet received {"connection_id":204714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":204714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:21:58] local.INFO: TCP Data received {"connection_id":204714,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:21:58] local.INFO: Processing buffer {"connection_id":204714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:21:58] local.INFO: IMEI packet received {"connection_id":204714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":204714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:21:59] local.INFO: TCP Data received {"connection_id":204714,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b78f980012d812400060370b0000900c727..."} 
[2026-10-05 15:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b78f980012d812400060370b0000900c727..."} 
[2026-10-05 15:21:59] local.INFO: Processing buffer {"connection_id":204714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b78f980012d812400060370b0000900c727..."} 
[2026-10-05 15:21:59] local.INFO: Packet analysis {"connection_id":204714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b78"} 
[2026-10-05 15:21:59] local.INFO: Extracted packet for processing {"connection_id":204714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b78"} 
[2026-10-05 15:21:59] local.INFO: GPS Element Parsed {"raw_longitude":763438080,"raw_latitude":100888752,"longitude_deg":76.343808,"latitude_deg":10.0888752,"altitude":9,"angle":199,"satellites":39,"speed":7,"hex_longitude":"2d812400","hex_latitude":"060370b0","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545622784001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2178897038802944,"note":"Value kept but may cause issues"} 
[2026-10-05 15:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9141040580339337216,"note":"Value kept but may cause issues"} 
[2026-10-05 15:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791193840000,"timestamp_ms":1791193840000,"timestamp_seconds":1791193840,"priority":1,"record_length":96,"hex_timestamp":"000001a10b78f980"} 
[2026-10-05 15:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:21: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-10-05 15:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-05 15:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":204714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":204714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":204714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:21: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-10-05 15:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545622784001,"66":27930,"192":206,"87":10496,"24":7,"16":2178897038802944,"45":-9141040580339337216},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-10-05 15:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545622784001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:21:59] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-10-05 15:21:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2178897038802944,"km_value":2178897038802.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9141040580339337216,"description":"Unknown IO ID 45"} 
[2026-10-05 15:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545622784001,"power":27930,"unknown_192":206,"unknown_87":10496,"ignition":7,"odometer":null,"unknown_45":-9141040580339337216}} 
[2026-10-05 15:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":204714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:21:59] local.INFO: GPS data processed {"connection_id":204714,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:21:59] local.INFO: Acknowledgment sent {"connection_id":204714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:22:05] local.INFO: TCP Data received {"connection_id":204715,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:22:05] local.INFO: Processing buffer {"connection_id":204715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:22:05] local.INFO: IMEI packet received {"connection_id":204715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":204715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:22:08] local.INFO: TCP Data received {"connection_id":204592,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:22:08] local.INFO: Processing buffer {"connection_id":204592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:22:08] local.INFO: Packet analysis {"connection_id":204592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:22:08] local.INFO: Extracted packet for processing {"connection_id":204592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:22:08] local.INFO: GPS Element Parsed {"raw_longitude":762967808,"raw_latitude":99398464,"longitude_deg":76.2967808,"latitude_deg":9.9398464,"altitude":13,"angle":8,"satellites":41,"speed":0,"hex_longitude":"2d79f700","hex_latitude":"05ecb340","is_valid_coordinates":true} 
[2026-10-05 15:22:08] 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-10-05 15:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545587200001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223282819072,"note":"Value kept but may cause issues"} 
[2026-10-05 15:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791193700000,"timestamp_ms":1791193700000,"timestamp_seconds":1791193700,"priority":1,"record_length":96,"hex_timestamp":"000001a10b76d6a0"} 
[2026-10-05 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-10-05 15:22: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-10-05 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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 15:22:08] 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-10-05 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-10-05 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-10-05 15:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545587200001,"66":13428,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8788493223282819072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545587200001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:22:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:22:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223282819072,"description":"Unknown IO ID 45"} 
[2026-10-05 15:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545587200001,"power":13428,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8788493223282819072}} 
[2026-10-05 15:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":204592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:22:08] local.INFO: GPS data processed {"connection_id":204592,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:22:08] local.INFO: Acknowledgment sent {"connection_id":204592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:22:10] local.INFO: TCP Data received {"connection_id":204715,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:22:10] local.INFO: Processing buffer {"connection_id":204715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:22:10] local.INFO: IMEI packet received {"connection_id":204715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":204715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:22:12] local.INFO: TCP Data received {"connection_id":204715,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b78af48012d1b35c00725c1480029000b2d..."} 
[2026-10-05 15:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b78af48012d1b35c00725c1480029000b2d..."} 
[2026-10-05 15:22:12] local.INFO: Processing buffer {"connection_id":204715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b78af48012d1b35c00725c1480029000b2d..."} 
[2026-10-05 15:22:12] local.INFO: Packet analysis {"connection_id":204715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b78"} 
[2026-10-05 15:22:12] local.INFO: Extracted packet for processing {"connection_id":204715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b78"} 
[2026-10-05 15:22:12] local.INFO: GPS Element Parsed {"raw_longitude":756757952,"raw_latitude":119914824,"longitude_deg":75.6757952,"latitude_deg":11.9914824,"altitude":41,"angle":11,"satellites":45,"speed":0,"hex_longitude":"2d1b35c0","hex_latitude":"0725c148","is_valid_coordinates":true} 
[2026-10-05 15:22: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-10-05 15:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545612800001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25101463915069440,"note":"Value kept but may cause issues"} 
[2026-10-05 15:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960684349720197120,"note":"Value kept but may cause issues"} 
[2026-10-05 15:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791193821000,"timestamp_ms":1791193821000,"timestamp_seconds":1791193821,"priority":1,"record_length":96,"hex_timestamp":"000001a10b78af48"} 
[2026-10-05 15:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:22: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-10-05 15:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 15:22:12] 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-10-05 15:22: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-10-05 15:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545612800001,"66":12928,"62":206,"28":31744,"24":0,"16":25101463915069440,"45":1960684349720197120},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545612800001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:22:12] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:22:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25101463915069440,"km_value":25101463915069.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960684349720197120,"description":"Unknown IO ID 45"} 
[2026-10-05 15:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545612800001,"power":12928,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960684349720197120}} 
[2026-10-05 15:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":204715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:22:12] local.INFO: GPS data processed {"connection_id":204715,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:22:12] local.INFO: Acknowledgment sent {"connection_id":204715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:22:37] local.INFO: TCP Data received {"connection_id":204594,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:22:37] local.INFO: Processing buffer {"connection_id":204594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:22:37] local.INFO: IMEI packet received {"connection_id":204594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":204594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:22:37] local.INFO: TCP Data received {"connection_id":204594,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:22:37] local.INFO: Processing buffer {"connection_id":204594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:22:37] local.INFO: IMEI packet received {"connection_id":204594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":204594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:22:38] local.INFO: TCP Data received {"connection_id":204594,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:22:38] local.INFO: Processing buffer {"connection_id":204594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:22:38] local.INFO: Packet analysis {"connection_id":204594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:22:38] local.INFO: Extracted packet for processing {"connection_id":204594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:22:38] local.INFO: GPS Element Parsed {"raw_longitude":762967808,"raw_latitude":99398464,"longitude_deg":76.2967808,"latitude_deg":9.9398464,"altitude":13,"angle":8,"satellites":41,"speed":0,"hex_longitude":"2d79f700","hex_latitude":"05ecb340","is_valid_coordinates":true} 
[2026-10-05 15:22: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-10-05 15:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545587200001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223282819072,"note":"Value kept but may cause issues"} 
[2026-10-05 15:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791193700000,"timestamp_ms":1791193700000,"timestamp_seconds":1791193700,"priority":1,"record_length":96,"hex_timestamp":"000001a10b76d6a0"} 
[2026-10-05 15:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 15:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545587200001,"66":13428,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8788493223282819072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545587200001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:22:38] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:22:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223282819072,"description":"Unknown IO ID 45"} 
[2026-10-05 15:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545587200001,"power":13428,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8788493223282819072}} 
[2026-10-05 15:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":204594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:22:38] local.INFO: GPS data processed {"connection_id":204594,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:22:38] local.INFO: Acknowledgment sent {"connection_id":204594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:22:41] local.INFO: TCP Data received {"connection_id":204594,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:22:41] local.INFO: Processing buffer {"connection_id":204594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:22:41] local.INFO: Packet analysis {"connection_id":204594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:22:41] local.INFO: Extracted packet for processing {"connection_id":204594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:22:41] local.INFO: GPS Element Parsed {"raw_longitude":762967808,"raw_latitude":99398464,"longitude_deg":76.2967808,"latitude_deg":9.9398464,"altitude":13,"angle":8,"satellites":41,"speed":0,"hex_longitude":"2d79f700","hex_latitude":"05ecb340","is_valid_coordinates":true} 
[2026-10-05 15:22:41] 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-10-05 15:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545587200001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223282819072,"note":"Value kept but may cause issues"} 
[2026-10-05 15:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791193700000,"timestamp_ms":1791193700000,"timestamp_seconds":1791193700,"priority":1,"record_length":96,"hex_timestamp":"000001a10b76d6a0"} 
[2026-10-05 15:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 15:22:41] 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-10-05 15:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545587200001,"66":13428,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8788493223282819072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545587200001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:22:41] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:22:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223282819072,"description":"Unknown IO ID 45"} 
[2026-10-05 15:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545587200001,"power":13428,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8788493223282819072}} 
[2026-10-05 15:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":204594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968139,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:22:41] local.INFO: GPS data processed {"connection_id":204594,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:22:41] local.INFO: Acknowledgment sent {"connection_id":204594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:22:43] local.INFO: TCP Data received {"connection_id":204714,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b78fd68012d8123c006036ff0000a00d327..."} 
[2026-10-05 15:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b78fd68012d8123c006036ff0000a00d327..."} 
[2026-10-05 15:22:43] local.INFO: Processing buffer {"connection_id":204714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b78fd68012d8123c006036ff0000a00d327..."} 
[2026-10-05 15:22:43] local.INFO: Packet analysis {"connection_id":204714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b78"} 
[2026-10-05 15:22:43] local.INFO: Extracted packet for processing {"connection_id":204714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b78"} 
[2026-10-05 15:22:43] local.INFO: GPS Element Parsed {"raw_longitude":763438016,"raw_latitude":100888560,"longitude_deg":76.3438016,"latitude_deg":10.088856,"altitude":10,"angle":211,"satellites":39,"speed":8,"hex_longitude":"2d8123c0","hex_latitude":"06036ff0","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545623040001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2178909923704832,"note":"Value kept but may cause issues"} 
[2026-10-05 15:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9141181317827743744,"note":"Value kept but may cause issues"} 
[2026-10-05 15:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791193841000,"timestamp_ms":1791193841000,"timestamp_seconds":1791193841,"priority":1,"record_length":96,"hex_timestamp":"000001a10b78fd68"} 
[2026-10-05 15:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:22: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-10-05 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-05 15:22:43] 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-10-05 15: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-10-05 15:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545623040001,"66":28006,"192":206,"87":10496,"24":8,"16":2178909923704832,"45":-9141181317827743744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-10-05 15:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545623040001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:22:43] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-10-05 15:22:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2178909923704832,"km_value":2178909923704.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9141181317827743744,"description":"Unknown IO ID 45"} 
[2026-10-05 15:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545623040001,"power":28006,"unknown_192":206,"unknown_87":10496,"ignition":8,"odometer":null,"unknown_45":-9141181317827743744}} 
[2026-10-05 15:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":204714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:22:43] local.INFO: GPS data processed {"connection_id":204714,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:22:43] local.INFO: Acknowledgment sent {"connection_id":204714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:22:43] local.INFO: TCP Data received {"connection_id":204715,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b790150012d1b35c00725c1480029000b2c..."} 
[2026-10-05 15:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b790150012d1b35c00725c1480029000b2c..."} 
[2026-10-05 15:22:43] local.INFO: Processing buffer {"connection_id":204715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b790150012d1b35c00725c1480029000b2c..."} 
[2026-10-05 15:22:43] local.INFO: Packet analysis {"connection_id":204715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b79"} 
[2026-10-05 15:22:43] local.INFO: Extracted packet for processing {"connection_id":204715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b79"} 
[2026-10-05 15:22:43] local.INFO: GPS Element Parsed {"raw_longitude":756757952,"raw_latitude":119914824,"longitude_deg":75.6757952,"latitude_deg":11.9914824,"altitude":41,"angle":11,"satellites":44,"speed":0,"hex_longitude":"2d1b35c0","hex_latitude":"0725c148","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545618176001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25101463915069440,"note":"Value kept but may cause issues"} 
[2026-10-05 15:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960684349720446976,"note":"Value kept but may cause issues"} 
[2026-10-05 15:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791193842000,"timestamp_ms":1791193842000,"timestamp_seconds":1791193842,"priority":1,"record_length":96,"hex_timestamp":"000001a10b790150"} 
[2026-10-05 15:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-10-05 15:22:43] 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-10-05 15: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-10-05 15:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545618176001,"66":12863,"62":206,"28":31744,"24":0,"16":25101463915069440,"45":1960684349720446976},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545618176001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:22:43] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:22:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25101463915069440,"km_value":25101463915069.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960684349720446976,"description":"Unknown IO ID 45"} 
[2026-10-05 15:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545618176001,"power":12863,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960684349720446976}} 
[2026-10-05 15:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":204715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:22:43] local.INFO: GPS data processed {"connection_id":204715,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:22:43] local.INFO: Acknowledgment sent {"connection_id":204715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:22:55] local.INFO: TCP Data received {"connection_id":204716,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:22:55] local.INFO: Processing buffer {"connection_id":204716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:22:55] local.INFO: IMEI packet received {"connection_id":204716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":204716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:22:55] local.INFO: TCP Data received {"connection_id":204716,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:22:55] local.INFO: Processing buffer {"connection_id":204716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:22:55] local.INFO: IMEI packet received {"connection_id":204716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":204716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:23:00] local.INFO: TCP Data received {"connection_id":204716,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:23:00] local.INFO: Processing buffer {"connection_id":204716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:23:00] local.INFO: IMEI packet received {"connection_id":204716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":204716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:23:00] local.INFO: TCP Data received {"connection_id":204716,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7947a0012d81120006035138000c00ce20..."} 
[2026-10-05 15:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7947a0012d81120006035138000c00ce20..."} 
[2026-10-05 15:23:00] local.INFO: Processing buffer {"connection_id":204716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7947a0012d81120006035138000c00ce20..."} 
[2026-10-05 15:23:00] local.INFO: Packet analysis {"connection_id":204716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b79"} 
[2026-10-05 15:23:00] local.INFO: Extracted packet for processing {"connection_id":204716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b79"} 
[2026-10-05 15:23:00] local.INFO: GPS Element Parsed {"raw_longitude":763433472,"raw_latitude":100880696,"longitude_deg":76.3433472,"latitude_deg":10.0880696,"altitude":12,"angle":206,"satellites":32,"speed":23,"hex_longitude":"2d811200","hex_latitude":"06035138","is_valid_coordinates":true} 
[2026-10-05 15:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545623296001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2179348010369024,"note":"Value kept but may cause issues"} 
[2026-10-05 15:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9141251686571970560,"note":"Value kept but may cause issues"} 
[2026-10-05 15:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791193860000,"timestamp_ms":1791193860000,"timestamp_seconds":1791193860,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7947a0"} 
[2026-10-05 15:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:23: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-10-05 15:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 15:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:23: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-10-05 15:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545623296001,"66":27995,"193":206,"87":10496,"24":23,"16":2179348010369024,"45":-9141251686571970560},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,87,24,16,45]} 
[2026-10-05 15:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545623296001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:23:00] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-10-05 15:23:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2179348010369024,"km_value":2179348010369.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9141251686571970560,"description":"Unknown IO ID 45"} 
[2026-10-05 15:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545623296001,"power":27995,"unknown_193":206,"unknown_87":10496,"ignition":23,"odometer":null,"unknown_45":-9141251686571970560}} 
[2026-10-05 15:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":204716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:23:00] local.INFO: GPS data processed {"connection_id":204716,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:23:00] local.INFO: Acknowledgment sent {"connection_id":204716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:23:05] local.INFO: TCP Data received {"connection_id":207660,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:23:05] local.INFO: Processing buffer {"connection_id":207660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:23:05] local.INFO: IMEI packet received {"connection_id":207660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":207660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:23:06] local.INFO: TCP Data received {"connection_id":207660,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:23:06] local.INFO: Processing buffer {"connection_id":207660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:23:06] local.INFO: IMEI packet received {"connection_id":207660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":207660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:23:10] local.INFO: TCP Data received {"connection_id":207660,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:23:10] local.INFO: Processing buffer {"connection_id":207660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:23:10] local.INFO: IMEI packet received {"connection_id":207660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":207660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:23:11] local.INFO: TCP Data received {"connection_id":207660,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b795358012d1b35c00725c1480029000b2c..."} 
[2026-10-05 15:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b795358012d1b35c00725c1480029000b2c..."} 
[2026-10-05 15:23:11] local.INFO: Processing buffer {"connection_id":207660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b795358012d1b35c00725c1480029000b2c..."} 
[2026-10-05 15:23:11] local.INFO: Packet analysis {"connection_id":207660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b79"} 
[2026-10-05 15:23:11] local.INFO: Extracted packet for processing {"connection_id":207660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b79"} 
[2026-10-05 15:23:11] local.INFO: GPS Element Parsed {"raw_longitude":756757952,"raw_latitude":119914824,"longitude_deg":75.6757952,"latitude_deg":11.9914824,"altitude":41,"angle":11,"satellites":44,"speed":0,"hex_longitude":"2d1b35c0","hex_latitude":"0725c148","is_valid_coordinates":true} 
[2026-10-05 15:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545623552001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25101463915069440,"note":"Value kept but may cause issues"} 
[2026-10-05 15:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960684349720446976,"note":"Value kept but may cause issues"} 
[2026-10-05 15:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791193863000,"timestamp_ms":1791193863000,"timestamp_seconds":1791193863,"priority":1,"record_length":96,"hex_timestamp":"000001a10b795358"} 
[2026-10-05 15:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:23: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-10-05 15:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 15:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545623552001,"66":12841,"62":206,"28":31744,"24":0,"16":25101463915069440,"45":1960684349720446976},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545623552001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:23:11] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:23:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25101463915069440,"km_value":25101463915069.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960684349720446976,"description":"Unknown IO ID 45"} 
[2026-10-05 15:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545623552001,"power":12841,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960684349720446976}} 
[2026-10-05 15:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":207660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:23:11] local.INFO: GPS data processed {"connection_id":207660,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:23:11] local.INFO: Acknowledgment sent {"connection_id":207660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:23:12] local.INFO: TCP Data received {"connection_id":204594,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:23:12] local.INFO: Processing buffer {"connection_id":204594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b76d6a0012d79f70005ecb340000d000829..."} 
[2026-10-05 15:23:12] local.INFO: Packet analysis {"connection_id":204594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:23:12] local.INFO: Extracted packet for processing {"connection_id":204594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b76"} 
[2026-10-05 15:23:12] local.INFO: GPS Element Parsed {"raw_longitude":762967808,"raw_latitude":99398464,"longitude_deg":76.2967808,"latitude_deg":9.9398464,"altitude":13,"angle":8,"satellites":41,"speed":0,"hex_longitude":"2d79f700","hex_latitude":"05ecb340","is_valid_coordinates":true} 
[2026-10-05 15:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545587200001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223282819072,"note":"Value kept but may cause issues"} 
[2026-10-05 15:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791193700000,"timestamp_ms":1791193700000,"timestamp_seconds":1791193700,"priority":1,"record_length":96,"hex_timestamp":"000001a10b76d6a0"} 
[2026-10-05 15:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:23: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-10-05 15:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 15:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545587200001,"66":13428,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8788493223282819072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545587200001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:23:12] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:23:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223282819072,"description":"Unknown IO ID 45"} 
[2026-10-05 15:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545587200001,"power":13428,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8788493223282819072}} 
[2026-10-05 15:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":204594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:23:12] local.INFO: GPS data processed {"connection_id":204594,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:23:12] local.INFO: Acknowledgment sent {"connection_id":204594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:23:31] local.INFO: TCP Data received {"connection_id":206120,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:23:31] local.INFO: Processing buffer {"connection_id":206120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:23:31] local.INFO: IMEI packet received {"connection_id":206120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":206120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:23:32] local.INFO: TCP Data received {"connection_id":204716,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10b797680012d81000006033480000c00da23..."} 
[2026-10-05 15:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b797680012d81000006033480000c00da23..."} 
[2026-10-05 15:23:32] local.INFO: Processing buffer {"connection_id":204716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b797680012d81000006033480000c00da23..."} 
[2026-10-05 15:23:32] local.INFO: Packet analysis {"connection_id":204716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b79"} 
[2026-10-05 15:23:32] local.INFO: Extracted packet for processing {"connection_id":204716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b79"} 
[2026-10-05 15:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763428864,"raw_latitude":100873344,"longitude_deg":76.3428864,"latitude_deg":10.0873344,"altitude":12,"angle":218,"satellites":35,"speed":28,"hex_longitude":"2d810000","hex_latitude":"06033480","is_valid_coordinates":true} 
[2026-10-05 15:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545628160001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2179768917164032,"note":"Value kept but may cause issues"} 
[2026-10-05 15:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146247867410597888,"note":"Value kept but may cause issues"} 
[2026-10-05 15:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791193872000,"timestamp_ms":1791193872000,"timestamp_seconds":1791193872,"priority":1,"record_length":96,"hex_timestamp":"000001a10b797680"} 
[2026-10-05 15:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:23: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-10-05 15:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 15:23:32] 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-10-05 15:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545628160001,"66":27995,"193":206,"87":10496,"24":28,"16":2179768917164032,"45":-9146247867410597888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,87,24,16,45]} 
[2026-10-05 15:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545628160001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:23:32] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-10-05 15:23:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2179768917164032,"km_value":2179768917164.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146247867410597888,"description":"Unknown IO ID 45"} 
[2026-10-05 15:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545628160001,"power":27995,"unknown_193":206,"unknown_87":10496,"ignition":28,"odometer":null,"unknown_45":-9146247867410597888}} 
[2026-10-05 15:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":204716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:23:32] local.INFO: GPS data processed {"connection_id":204716,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:23:32] local.INFO: Acknowledgment sent {"connection_id":204716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:23:36] local.INFO: TCP Data received {"connection_id":206120,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:23:36] local.INFO: Processing buffer {"connection_id":206120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:23:36] local.INFO: IMEI packet received {"connection_id":206120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":206120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:23:37] local.INFO: TCP Data received {"connection_id":206120,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:23:37] local.INFO: Processing buffer {"connection_id":206120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:23:37] local.INFO: Packet analysis {"connection_id":206120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7b"} 
[2026-10-05 15:23:37] local.INFO: Extracted packet for processing {"connection_id":206120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7b"} 
[2026-10-05 15:23:37] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":10,"angle":8,"satellites":31,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545587200001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223282819072,"note":"Value kept but may cause issues"} 
[2026-10-05 15:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791194004000,"timestamp_ms":1791194004000,"timestamp_seconds":1791194004,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7b7a20"} 
[2026-10-05 15:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 15:23:37] 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-10-05 15:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545587200001,"66":13319,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8788493223282819072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545587200001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:23:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:23:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223282819072,"description":"Unknown IO ID 45"} 
[2026-10-05 15:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545587200001,"power":13319,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8788493223282819072}} 
[2026-10-05 15:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":206120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:23:37] local.INFO: GPS data processed {"connection_id":206120,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:23:37] local.INFO: Acknowledgment sent {"connection_id":206120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:23:42] local.INFO: TCP Data received {"connection_id":207660,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b79a560012d1b35c00725c1480029000b2e..."} 
[2026-10-05 15:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b79a560012d1b35c00725c1480029000b2e..."} 
[2026-10-05 15:23:42] local.INFO: Processing buffer {"connection_id":207660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b79a560012d1b35c00725c1480029000b2e..."} 
[2026-10-05 15:23:42] local.INFO: Packet analysis {"connection_id":207660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b79"} 
[2026-10-05 15:23:42] local.INFO: Extracted packet for processing {"connection_id":207660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b79"} 
[2026-10-05 15:23:42] local.INFO: GPS Element Parsed {"raw_longitude":756757952,"raw_latitude":119914824,"longitude_deg":75.6757952,"latitude_deg":11.9914824,"altitude":41,"angle":11,"satellites":46,"speed":0,"hex_longitude":"2d1b35c0","hex_latitude":"0725c148","is_valid_coordinates":true} 
[2026-10-05 15:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545628928001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25101463915069440,"note":"Value kept but may cause issues"} 
[2026-10-05 15:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960684349720446976,"note":"Value kept but may cause issues"} 
[2026-10-05 15:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791193884000,"timestamp_ms":1791193884000,"timestamp_seconds":1791193884,"priority":1,"record_length":96,"hex_timestamp":"000001a10b79a560"} 
[2026-10-05 15:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 15:23:42] 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-10-05 15:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545628928001,"66":12743,"62":206,"28":31744,"24":0,"16":25101463915069440,"45":1960684349720446976},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545628928001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:23:42] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:23:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25101463915069440,"km_value":25101463915069.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960684349720446976,"description":"Unknown IO ID 45"} 
[2026-10-05 15:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545628928001,"power":12743,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960684349720446976}} 
[2026-10-05 15:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":207660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:23:42] local.INFO: GPS data processed {"connection_id":207660,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:23:42] local.INFO: Acknowledgment sent {"connection_id":207660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:23:54] local.INFO: TCP Data received {"connection_id":207662,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:23:54] local.INFO: Processing buffer {"connection_id":207662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:23:54] local.INFO: IMEI packet received {"connection_id":207662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":207662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:24:00] local.INFO: TCP Data received {"connection_id":207662,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:24:00] local.INFO: Processing buffer {"connection_id":207662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:24:00] local.INFO: IMEI packet received {"connection_id":207662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":207662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:24:00] local.INFO: TCP Data received {"connection_id":207662,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7991d8012d80f3c006032278000d00cf1d..."} 
[2026-10-05 15:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7991d8012d80f3c006032278000d00cf1d..."} 
[2026-10-05 15:24:00] local.INFO: Processing buffer {"connection_id":207662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7991d8012d80f3c006032278000d00cf1d..."} 
[2026-10-05 15:24:00] local.INFO: Packet analysis {"connection_id":207662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b79"} 
[2026-10-05 15:24:00] local.INFO: Extracted packet for processing {"connection_id":207662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b79"} 
[2026-10-05 15:24:00] local.INFO: GPS Element Parsed {"raw_longitude":763425728,"raw_latitude":100868728,"longitude_deg":76.3425728,"latitude_deg":10.0868728,"altitude":13,"angle":207,"satellites":29,"speed":36,"hex_longitude":"2d80f3c0","hex_latitude":"06032278","is_valid_coordinates":true} 
[2026-10-05 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-10-05 15:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545631232001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2180039500103680,"note":"Value kept but may cause issues"} 
[2026-10-05 15:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9151314416993271808,"note":"Value kept but may cause issues"} 
[2026-10-05 15:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791193879000,"timestamp_ms":1791193879000,"timestamp_seconds":1791193879,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7991d8"} 
[2026-10-05 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-10-05 15:24: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-10-05 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 15:24:00] 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-10-05 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-10-05 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-10-05 15:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:24: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-10-05 15:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545631232001,"66":27995,"193":206,"87":10496,"24":36,"16":2180039500103680,"45":-9151314416993271808},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,87,24,16,45]} 
[2026-10-05 15:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545631232001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:24:00] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-10-05 15:24:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2180039500103680,"km_value":2180039500103.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9151314416993271808,"description":"Unknown IO ID 45"} 
[2026-10-05 15:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545631232001,"power":27995,"unknown_193":206,"unknown_87":10496,"ignition":36,"odometer":null,"unknown_45":-9151314416993271808}} 
[2026-10-05 15:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":207662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:24:00] local.INFO: GPS data processed {"connection_id":207662,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:24:00] local.INFO: Acknowledgment sent {"connection_id":207662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:24:05] local.INFO: TCP Data received {"connection_id":207663,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:24:05] local.INFO: Processing buffer {"connection_id":207663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:24:05] local.INFO: IMEI packet received {"connection_id":207663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":207663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:24:08] local.INFO: TCP Data received {"connection_id":206120,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:24:08] local.INFO: Processing buffer {"connection_id":206120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:24:08] local.INFO: Packet analysis {"connection_id":206120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7b"} 
[2026-10-05 15:24:08] local.INFO: Extracted packet for processing {"connection_id":206120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7b"} 
[2026-10-05 15:24:08] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":10,"angle":8,"satellites":31,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545587200001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223282819072,"note":"Value kept but may cause issues"} 
[2026-10-05 15:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791194004000,"timestamp_ms":1791194004000,"timestamp_seconds":1791194004,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7b7a20"} 
[2026-10-05 15:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:24: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-10-05 15:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 15:24:08] 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-10-05 15:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545587200001,"66":13319,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8788493223282819072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545587200001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:24:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:24:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223282819072,"description":"Unknown IO ID 45"} 
[2026-10-05 15:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545587200001,"power":13319,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8788493223282819072}} 
[2026-10-05 15:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":206120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:24:08] local.INFO: GPS data processed {"connection_id":206120,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:24:08] local.INFO: Acknowledgment sent {"connection_id":206120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:24:09] local.INFO: TCP Data received {"connection_id":207663,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:24:09] local.INFO: Processing buffer {"connection_id":207663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:24:09] local.INFO: IMEI packet received {"connection_id":207663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":207663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:24:10] local.INFO: TCP Data received {"connection_id":207663,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:24:10] local.INFO: Processing buffer {"connection_id":207663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:24:10] local.INFO: IMEI packet received {"connection_id":207663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":207663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:24:11] local.INFO: TCP Data received {"connection_id":207663,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b79f768012d1b35c00725c1480029000b2e..."} 
[2026-10-05 15:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b79f768012d1b35c00725c1480029000b2e..."} 
[2026-10-05 15:24:11] local.INFO: Processing buffer {"connection_id":207663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b79f768012d1b35c00725c1480029000b2e..."} 
[2026-10-05 15:24:11] local.INFO: Packet analysis {"connection_id":207663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b79"} 
[2026-10-05 15:24:11] local.INFO: Extracted packet for processing {"connection_id":207663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b79"} 
[2026-10-05 15:24:11] local.INFO: GPS Element Parsed {"raw_longitude":756757952,"raw_latitude":119914824,"longitude_deg":75.6757952,"latitude_deg":11.9914824,"altitude":41,"angle":11,"satellites":46,"speed":0,"hex_longitude":"2d1b35c0","hex_latitude":"0725c148","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545634304001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25101463915069440,"note":"Value kept but may cause issues"} 
[2026-10-05 15:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960684349720446976,"note":"Value kept but may cause issues"} 
[2026-10-05 15:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791193905000,"timestamp_ms":1791193905000,"timestamp_seconds":1791193905,"priority":1,"record_length":96,"hex_timestamp":"000001a10b79f768"} 
[2026-10-05 15:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:24: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-10-05 15: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 15:24:11] 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-10-05 15: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-10-05 15:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545634304001,"66":12743,"62":206,"28":31744,"24":0,"16":25101463915069440,"45":1960684349720446976},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545634304001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:24:11] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:24:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25101463915069440,"km_value":25101463915069.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960684349720446976,"description":"Unknown IO ID 45"} 
[2026-10-05 15:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545634304001,"power":12743,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960684349720446976}} 
[2026-10-05 15:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":207663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:24:11] local.INFO: GPS data processed {"connection_id":207663,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:24:11] local.INFO: Acknowledgment sent {"connection_id":207663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:24:12] local.INFO: TCP Data received {"connection_id":207661,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:24:12] local.INFO: Processing buffer {"connection_id":207661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:24:12] local.INFO: IMEI packet received {"connection_id":207661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 15:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":207661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:24:16] local.INFO: TCP Data received {"connection_id":207663,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7a4970012d1b35c00725c1480029000b2d..."} 
[2026-10-05 15:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7a4970012d1b35c00725c1480029000b2d..."} 
[2026-10-05 15:24:16] local.INFO: Processing buffer {"connection_id":207663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7a4970012d1b35c00725c1480029000b2d..."} 
[2026-10-05 15:24:16] local.INFO: Packet analysis {"connection_id":207663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7a"} 
[2026-10-05 15:24:16] local.INFO: Extracted packet for processing {"connection_id":207663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7a"} 
[2026-10-05 15:24:16] local.INFO: GPS Element Parsed {"raw_longitude":756757952,"raw_latitude":119914824,"longitude_deg":75.6757952,"latitude_deg":11.9914824,"altitude":41,"angle":11,"satellites":45,"speed":0,"hex_longitude":"2d1b35c0","hex_latitude":"0725c148","is_valid_coordinates":true} 
[2026-10-05 15:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545639680001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25101463915069440,"note":"Value kept but may cause issues"} 
[2026-10-05 15:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960684349720446976,"note":"Value kept but may cause issues"} 
[2026-10-05 15:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791193926000,"timestamp_ms":1791193926000,"timestamp_seconds":1791193926,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7a4970"} 
[2026-10-05 15:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 15:24: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-10-05 15:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545639680001,"66":12711,"62":206,"28":31744,"24":0,"16":25101463915069440,"45":1960684349720446976},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545639680001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:24:16] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:24:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25101463915069440,"km_value":25101463915069.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960684349720446976,"description":"Unknown IO ID 45"} 
[2026-10-05 15:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545639680001,"power":12711,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960684349720446976}} 
[2026-10-05 15:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":207663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:24:16] local.INFO: GPS data processed {"connection_id":207663,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:24:16] local.INFO: Acknowledgment sent {"connection_id":207663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:24:30] local.INFO: TCP Data received {"connection_id":206121,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:24:30] local.INFO: Processing buffer {"connection_id":206121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:24:30] local.INFO: IMEI packet received {"connection_id":206121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":206121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:24:32] local.INFO: TCP Data received {"connection_id":207662,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10b79b8e8012d80e44006030330000d00d222..."} 
[2026-10-05 15:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b79b8e8012d80e44006030330000d00d222..."} 
[2026-10-05 15:24:32] local.INFO: Processing buffer {"connection_id":207662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b79b8e8012d80e44006030330000d00d222..."} 
[2026-10-05 15:24:32] local.INFO: Packet analysis {"connection_id":207662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b79"} 
[2026-10-05 15:24:32] local.INFO: Extracted packet for processing {"connection_id":207662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b79"} 
[2026-10-05 15:24:32] local.INFO: GPS Element Parsed {"raw_longitude":763421760,"raw_latitude":100860720,"longitude_deg":76.342176,"latitude_deg":10.086072,"altitude":13,"angle":210,"satellites":34,"speed":32,"hex_longitude":"2d80e440","hex_latitude":"06030330","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545633024001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2180473291800576,"note":"Value kept but may cause issues"} 
[2026-10-05 15:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154762485459159040,"note":"Value kept but may cause issues"} 
[2026-10-05 15:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791193889000,"timestamp_ms":1791193889000,"timestamp_seconds":1791193889,"priority":1,"record_length":96,"hex_timestamp":"000001a10b79b8e8"} 
[2026-10-05 15:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:24: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-10-05 15: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 15:24:32] 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-10-05 15: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-10-05 15:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:24: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-10-05 15:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545633024001,"66":27908,"168":206,"87":10496,"24":32,"16":2180473291800576,"45":-9154762485459159040},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545633024001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:24:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:24:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2180473291800576,"km_value":2180473291800.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154762485459159040,"description":"Unknown IO ID 45"} 
[2026-10-05 15:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545633024001,"power":27908,"unknown_168":206,"unknown_87":10496,"ignition":32,"odometer":null,"unknown_45":-9154762485459159040}} 
[2026-10-05 15:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":207662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:24:32] local.INFO: GPS data processed {"connection_id":207662,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:24:32] local.INFO: Acknowledgment sent {"connection_id":207662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:24:34] local.INFO: TCP Data received {"connection_id":204595,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204595,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:24:34] local.INFO: Processing buffer {"connection_id":204595,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:24:34] local.INFO: IMEI packet received {"connection_id":204595,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 15:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":204595,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:24:36] local.INFO: TCP Data received {"connection_id":206121,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:24:36] local.INFO: Processing buffer {"connection_id":206121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:24:36] local.INFO: IMEI packet received {"connection_id":206121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":206121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:24:37] local.INFO: TCP Data received {"connection_id":206121,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:24:37] local.INFO: Processing buffer {"connection_id":206121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:24:37] local.INFO: Packet analysis {"connection_id":206121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7b"} 
[2026-10-05 15:24:37] local.INFO: Extracted packet for processing {"connection_id":206121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7b"} 
[2026-10-05 15:24:37] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":10,"angle":8,"satellites":31,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545587200001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223282819072,"note":"Value kept but may cause issues"} 
[2026-10-05 15:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791194004000,"timestamp_ms":1791194004000,"timestamp_seconds":1791194004,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7b7a20"} 
[2026-10-05 15:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 15:24:37] 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-10-05 15:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545587200001,"66":13319,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8788493223282819072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545587200001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:24:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:24:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223282819072,"description":"Unknown IO ID 45"} 
[2026-10-05 15:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545587200001,"power":13319,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8788493223282819072}} 
[2026-10-05 15:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":206121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:24:37] local.INFO: GPS data processed {"connection_id":206121,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:24:37] local.INFO: Acknowledgment sent {"connection_id":206121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:24:47] local.INFO: TCP Data received {"connection_id":207663,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7a9b78012d1b35c00725c1480029000b2e..."} 
[2026-10-05 15:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7a9b78012d1b35c00725c1480029000b2e..."} 
[2026-10-05 15:24:47] local.INFO: Processing buffer {"connection_id":207663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7a9b78012d1b35c00725c1480029000b2e..."} 
[2026-10-05 15:24:47] local.INFO: Packet analysis {"connection_id":207663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7a"} 
[2026-10-05 15:24:47] local.INFO: Extracted packet for processing {"connection_id":207663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7a"} 
[2026-10-05 15:24:47] local.INFO: GPS Element Parsed {"raw_longitude":756757952,"raw_latitude":119914824,"longitude_deg":75.6757952,"latitude_deg":11.9914824,"altitude":41,"angle":11,"satellites":46,"speed":0,"hex_longitude":"2d1b35c0","hex_latitude":"0725c148","is_valid_coordinates":true} 
[2026-10-05 15:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545645056001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25101463915069440,"note":"Value kept but may cause issues"} 
[2026-10-05 15:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960684349720446976,"note":"Value kept but may cause issues"} 
[2026-10-05 15:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791193947000,"timestamp_ms":1791193947000,"timestamp_seconds":1791193947,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7a9b78"} 
[2026-10-05 15:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-05 15:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":207663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":207663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":207663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545645056001,"66":12689,"62":206,"28":31744,"24":0,"16":25101463915069440,"45":1960684349720446976},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545645056001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:24:47] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:24:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25101463915069440,"km_value":25101463915069.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960684349720446976,"description":"Unknown IO ID 45"} 
[2026-10-05 15:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545645056001,"power":12689,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960684349720446976}} 
[2026-10-05 15:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":207663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:24:47] local.INFO: GPS data processed {"connection_id":207663,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:24:47] local.INFO: Acknowledgment sent {"connection_id":207663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:24:54] local.INFO: TCP Data received {"connection_id":204596,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:24:54] local.INFO: Processing buffer {"connection_id":204596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:24:54] local.INFO: IMEI packet received {"connection_id":204596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":204596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:25:00] local.INFO: TCP Data received {"connection_id":204596,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:25:00] local.INFO: Processing buffer {"connection_id":204596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:25:00] local.INFO: IMEI packet received {"connection_id":204596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":204596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:25:00] local.INFO: TCP Data received {"connection_id":204596,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b79ebb0012d80d3400602e2d0000e00cf2a..."} 
[2026-10-05 15:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b79ebb0012d80d3400602e2d0000e00cf2a..."} 
[2026-10-05 15:25:00] local.INFO: Processing buffer {"connection_id":204596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b79ebb0012d80d3400602e2d0000e00cf2a..."} 
[2026-10-05 15:25:00] local.INFO: Packet analysis {"connection_id":204596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b79"} 
[2026-10-05 15:25:00] local.INFO: Extracted packet for processing {"connection_id":204596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b79"} 
[2026-10-05 15:25:00] local.INFO: GPS Element Parsed {"raw_longitude":763417408,"raw_latitude":100852432,"longitude_deg":76.3417408,"latitude_deg":10.0852432,"altitude":14,"angle":207,"satellites":42,"speed":17,"hex_longitude":"2d80d340","hex_latitude":"0602e2d0","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545635584001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2180924263366656,"note":"Value kept but may cause issues"} 
[2026-10-05 15:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9159125347600224256,"note":"Value kept but may cause issues"} 
[2026-10-05 15:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791193902000,"timestamp_ms":1791193902000,"timestamp_seconds":1791193902,"priority":1,"record_length":96,"hex_timestamp":"000001a10b79ebb0"} 
[2026-10-05 15:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:25: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-10-05 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 15:25: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-10-05 15: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-10-05 15:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:25: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-10-05 15:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545635584001,"66":27919,"168":206,"87":10496,"24":17,"16":2180924263366656,"45":-9159125347600224256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545635584001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:25:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:25:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2180924263366656,"km_value":2180924263366.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9159125347600224256,"description":"Unknown IO ID 45"} 
[2026-10-05 15:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545635584001,"power":27919,"unknown_168":206,"unknown_87":10496,"ignition":17,"odometer":null,"unknown_45":-9159125347600224256}} 
[2026-10-05 15:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":204596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:25:00] local.INFO: GPS data processed {"connection_id":204596,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:25:00] local.INFO: Acknowledgment sent {"connection_id":204596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:25:05] local.INFO: TCP Data received {"connection_id":204717,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:25:05] local.INFO: Processing buffer {"connection_id":204717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:25:05] local.INFO: IMEI packet received {"connection_id":204717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":204717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:25:08] local.INFO: TCP Data received {"connection_id":206121,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:25:08] local.INFO: Processing buffer {"connection_id":206121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:25:08] local.INFO: Packet analysis {"connection_id":206121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7b"} 
[2026-10-05 15:25:08] local.INFO: Extracted packet for processing {"connection_id":206121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7b"} 
[2026-10-05 15:25:08] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":10,"angle":8,"satellites":31,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545587200001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223282819072,"note":"Value kept but may cause issues"} 
[2026-10-05 15:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791194004000,"timestamp_ms":1791194004000,"timestamp_seconds":1791194004,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7b7a20"} 
[2026-10-05 15:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:25: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-10-05 15:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 15:25:08] 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-10-05 15:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545587200001,"66":13319,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8788493223282819072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545587200001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:25:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:25:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223282819072,"description":"Unknown IO ID 45"} 
[2026-10-05 15:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545587200001,"power":13319,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8788493223282819072}} 
[2026-10-05 15:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":206121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:25:09] local.INFO: GPS data processed {"connection_id":206121,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:25:09] local.INFO: Acknowledgment sent {"connection_id":206121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:25:10] local.INFO: TCP Data received {"connection_id":204717,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:25:10] local.INFO: Processing buffer {"connection_id":204717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:25:10] local.INFO: IMEI packet received {"connection_id":204717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":204717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:25:11] local.INFO: TCP Data received {"connection_id":204717,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7aed80012d1b35c00725c1480029000b2d..."} 
[2026-10-05 15:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7aed80012d1b35c00725c1480029000b2d..."} 
[2026-10-05 15:25:11] local.INFO: Processing buffer {"connection_id":204717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7aed80012d1b35c00725c1480029000b2d..."} 
[2026-10-05 15:25:11] local.INFO: Packet analysis {"connection_id":204717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7a"} 
[2026-10-05 15:25:11] local.INFO: Extracted packet for processing {"connection_id":204717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7a"} 
[2026-10-05 15:25:11] local.INFO: GPS Element Parsed {"raw_longitude":756757952,"raw_latitude":119914824,"longitude_deg":75.6757952,"latitude_deg":11.9914824,"altitude":41,"angle":11,"satellites":45,"speed":0,"hex_longitude":"2d1b35c0","hex_latitude":"0725c148","is_valid_coordinates":true} 
[2026-10-05 15:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545650432001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25101463915069440,"note":"Value kept but may cause issues"} 
[2026-10-05 15:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960684349720446976,"note":"Value kept but may cause issues"} 
[2026-10-05 15:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791193968000,"timestamp_ms":1791193968000,"timestamp_seconds":1791193968,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7aed80"} 
[2026-10-05 15:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:25: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-10-05 15:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 15:25:11] 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-10-05 15:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545650432001,"66":12667,"62":206,"28":31744,"24":0,"16":25101463915069440,"45":1960684349720446976},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545650432001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:25:11] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:25:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25101463915069440,"km_value":25101463915069.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960684349720446976,"description":"Unknown IO ID 45"} 
[2026-10-05 15:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545650432001,"power":12667,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960684349720446976}} 
[2026-10-05 15:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":204717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:25:11] local.INFO: GPS data processed {"connection_id":204717,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:25:11] local.INFO: Acknowledgment sent {"connection_id":204717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:25:30] local.INFO: TCP Data received {"connection_id":206122,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:25:30] local.INFO: Processing buffer {"connection_id":206122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:25:30] local.INFO: IMEI packet received {"connection_id":206122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":206122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:25:32] local.INFO: TCP Data received {"connection_id":204596,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7a3db8012d80cf400602d988000e00d728..."} 
[2026-10-05 15:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7a3db8012d80cf400602d988000e00d728..."} 
[2026-10-05 15:25:32] local.INFO: Processing buffer {"connection_id":204596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7a3db8012d80cf400602d988000e00d728..."} 
[2026-10-05 15:25:32] local.INFO: Packet analysis {"connection_id":204596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7a"} 
[2026-10-05 15:25:32] local.INFO: Extracted packet for processing {"connection_id":204596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7a"} 
[2026-10-05 15:25:32] local.INFO: GPS Element Parsed {"raw_longitude":763416384,"raw_latitude":100850056,"longitude_deg":76.3416384,"latitude_deg":10.0850056,"altitude":14,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d80cf40","hex_latitude":"0602d988","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545638912001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181053112385536,"note":"Value kept but may cause issues"} 
[2026-10-05 15:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9163910422206427136,"note":"Value kept but may cause issues"} 
[2026-10-05 15:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791193923000,"timestamp_ms":1791193923000,"timestamp_seconds":1791193923,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7a3db8"} 
[2026-10-05 15:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:25: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-10-05 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 15:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:25: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-10-05 15:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545638912001,"66":27908,"168":206,"87":10496,"24":0,"16":2181053112385536,"45":-9163910422206427136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545638912001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:25:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:25:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181053112385536,"km_value":2181053112385.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9163910422206427136,"description":"Unknown IO ID 45"} 
[2026-10-05 15:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545638912001,"power":27908,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9163910422206427136}} 
[2026-10-05 15:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":204596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:25:32] local.INFO: GPS data processed {"connection_id":204596,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:25:32] local.INFO: Acknowledgment sent {"connection_id":204596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:25:36] local.INFO: TCP Data received {"connection_id":206122,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:25:36] local.INFO: Processing buffer {"connection_id":206122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:25:36] local.INFO: IMEI packet received {"connection_id":206122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":206122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:25:38] local.INFO: TCP Data received {"connection_id":206122,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:25:38] local.INFO: Processing buffer {"connection_id":206122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:25:38] local.INFO: Packet analysis {"connection_id":206122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7b"} 
[2026-10-05 15:25:38] local.INFO: Extracted packet for processing {"connection_id":206122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7b"} 
[2026-10-05 15:25:38] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":10,"angle":8,"satellites":31,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545587200001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223282819072,"note":"Value kept but may cause issues"} 
[2026-10-05 15:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791194004000,"timestamp_ms":1791194004000,"timestamp_seconds":1791194004,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7b7a20"} 
[2026-10-05 15:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 15:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":206122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":206122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":206122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545587200001,"66":13319,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8788493223282819072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545587200001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:25:38] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:25:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223282819072,"description":"Unknown IO ID 45"} 
[2026-10-05 15:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545587200001,"power":13319,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8788493223282819072}} 
[2026-10-05 15:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":206122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:25:38] local.INFO: GPS data processed {"connection_id":206122,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:25:38] local.INFO: Acknowledgment sent {"connection_id":206122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:25:42] local.INFO: TCP Data received {"connection_id":204717,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7b3f88012d1b35c00725c1480029000b2d..."} 
[2026-10-05 15:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7b3f88012d1b35c00725c1480029000b2d..."} 
[2026-10-05 15:25:42] local.INFO: Processing buffer {"connection_id":204717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7b3f88012d1b35c00725c1480029000b2d..."} 
[2026-10-05 15:25:42] local.INFO: Packet analysis {"connection_id":204717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7b"} 
[2026-10-05 15:25:42] local.INFO: Extracted packet for processing {"connection_id":204717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7b"} 
[2026-10-05 15:25:42] local.INFO: GPS Element Parsed {"raw_longitude":756757952,"raw_latitude":119914824,"longitude_deg":75.6757952,"latitude_deg":11.9914824,"altitude":41,"angle":11,"satellites":45,"speed":0,"hex_longitude":"2d1b35c0","hex_latitude":"0725c148","is_valid_coordinates":true} 
[2026-10-05 15:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545655808001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25101463915069440,"note":"Value kept but may cause issues"} 
[2026-10-05 15:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960684349720446976,"note":"Value kept but may cause issues"} 
[2026-10-05 15:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791193989000,"timestamp_ms":1791193989000,"timestamp_seconds":1791193989,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7b3f88"} 
[2026-10-05 15:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 15:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545655808001,"66":12613,"62":206,"28":31744,"24":0,"16":25101463915069440,"45":1960684349720446976},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545655808001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:25:42] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:25:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25101463915069440,"km_value":25101463915069.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960684349720446976,"description":"Unknown IO ID 45"} 
[2026-10-05 15:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545655808001,"power":12613,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960684349720446976}} 
[2026-10-05 15:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":204717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:25:43] local.INFO: GPS data processed {"connection_id":204717,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:25:43] local.INFO: Acknowledgment sent {"connection_id":204717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:26:00] local.INFO: TCP Data received {"connection_id":204597,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:26:00] local.INFO: Processing buffer {"connection_id":204597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:26:00] local.INFO: IMEI packet received {"connection_id":204597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":204597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:26:04] local.INFO: TCP Data received {"connection_id":204597,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:26:04] local.INFO: Processing buffer {"connection_id":204597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:26:04] local.INFO: IMEI packet received {"connection_id":204597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":204597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:26:05] local.INFO: TCP Data received {"connection_id":204597,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7a7080012d80c7c00602cde8000b00d22a..."} 
[2026-10-05 15:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7a7080012d80c7c00602cde8000b00d22a..."} 
[2026-10-05 15:26:05] local.INFO: Processing buffer {"connection_id":204597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7a7080012d80c7c00602cde8000b00d22a..."} 
[2026-10-05 15:26:05] local.INFO: Packet analysis {"connection_id":204597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7a"} 
[2026-10-05 15:26:05] local.INFO: Extracted packet for processing {"connection_id":204597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7a"} 
[2026-10-05 15:26:05] local.INFO: GPS Element Parsed {"raw_longitude":763414464,"raw_latitude":100847080,"longitude_deg":76.3414464,"latitude_deg":10.084708,"altitude":11,"angle":210,"satellites":42,"speed":20,"hex_longitude":"2d80c7c0","hex_latitude":"0602cde8","is_valid_coordinates":true} 
[2026-10-05 15:26: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-10-05 15:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545644288001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9165036322113878016,"note":"Value kept but may cause issues"} 
[2026-10-05 15:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791193936000,"timestamp_ms":1791193936000,"timestamp_seconds":1791193936,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7a7080"} 
[2026-10-05 15:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:26:05] 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-10-05 15:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 15:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15: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-10-05 15:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545644288001,"66":27974,"168":206,"87":10496,"24":20,"16":2181224911077376,"45":-9165036322113878016},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545644288001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:26:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:26:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9165036322113878016,"description":"Unknown IO ID 45"} 
[2026-10-05 15:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545644288001,"power":27974,"unknown_168":206,"unknown_87":10496,"ignition":20,"odometer":null,"unknown_45":-9165036322113878016}} 
[2026-10-05 15:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":204597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:26:05] local.INFO: GPS data processed {"connection_id":204597,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:26:05] local.INFO: Acknowledgment sent {"connection_id":204597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:26:06] local.INFO: TCP Data received {"connection_id":207665,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:26:06] local.INFO: Processing buffer {"connection_id":207665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:26:06] local.INFO: IMEI packet received {"connection_id":207665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":207665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:26:09] local.INFO: TCP Data received {"connection_id":206122,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:26:09] local.INFO: Processing buffer {"connection_id":206122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:26:09] local.INFO: Packet analysis {"connection_id":206122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7b"} 
[2026-10-05 15:26:09] local.INFO: Extracted packet for processing {"connection_id":206122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7b"} 
[2026-10-05 15:26:09] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":10,"angle":8,"satellites":31,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545587200001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223282819072,"note":"Value kept but may cause issues"} 
[2026-10-05 15:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791194004000,"timestamp_ms":1791194004000,"timestamp_seconds":1791194004,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7b7a20"} 
[2026-10-05 15:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 15:26: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-10-05 15: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-10-05 15:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":206122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":206122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":206122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545587200001,"66":13319,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8788493223282819072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545587200001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:26:09] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:26:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223282819072,"description":"Unknown IO ID 45"} 
[2026-10-05 15:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545587200001,"power":13319,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8788493223282819072}} 
[2026-10-05 15:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":206122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:26:09] local.INFO: GPS data processed {"connection_id":206122,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:26:09] local.INFO: Acknowledgment sent {"connection_id":206122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:26:10] local.INFO: TCP Data received {"connection_id":207665,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:26:10] local.INFO: Processing buffer {"connection_id":207665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:26:10] local.INFO: IMEI packet received {"connection_id":207665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":207665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:26:10] local.INFO: TCP Data received {"connection_id":204597,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7a7080012d80c7c00602cde8000b00d22a..."} 
[2026-10-05 15:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7a7080012d80c7c00602cde8000b00d22a..."} 
[2026-10-05 15:26:10] local.INFO: Processing buffer {"connection_id":204597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7a7080012d80c7c00602cde8000b00d22a..."} 
[2026-10-05 15:26:10] local.INFO: Packet analysis {"connection_id":204597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7a"} 
[2026-10-05 15:26:10] local.INFO: Extracted packet for processing {"connection_id":204597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7a"} 
[2026-10-05 15:26:10] local.INFO: GPS Element Parsed {"raw_longitude":763414464,"raw_latitude":100847080,"longitude_deg":76.3414464,"latitude_deg":10.084708,"altitude":11,"angle":210,"satellites":42,"speed":20,"hex_longitude":"2d80c7c0","hex_latitude":"0602cde8","is_valid_coordinates":true} 
[2026-10-05 15:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545644288001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9165036322113878016,"note":"Value kept but may cause issues"} 
[2026-10-05 15:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791193936000,"timestamp_ms":1791193936000,"timestamp_seconds":1791193936,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7a7080"} 
[2026-10-05 15:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:26:10] 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-10-05 15:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 15:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545644288001,"66":27974,"168":206,"87":10496,"24":20,"16":2181224911077376,"45":-9165036322113878016},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545644288001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:26:10] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:26:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9165036322113878016,"description":"Unknown IO ID 45"} 
[2026-10-05 15:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545644288001,"power":27974,"unknown_168":206,"unknown_87":10496,"ignition":20,"odometer":null,"unknown_45":-9165036322113878016}} 
[2026-10-05 15:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":204597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:26:10] local.INFO: GPS data processed {"connection_id":204597,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:26:10] local.INFO: Acknowledgment sent {"connection_id":204597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:26:15] local.INFO: TCP Data received {"connection_id":207665,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:26:15] local.INFO: Processing buffer {"connection_id":207665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:26:15] local.INFO: IMEI packet received {"connection_id":207665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":207665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:26:16] local.INFO: TCP Data received {"connection_id":207665,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7d0c78012d1b49400725d3a8002500a92c..."} 
[2026-10-05 15:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7d0c78012d1b49400725d3a8002500a92c..."} 
[2026-10-05 15:26:16] local.INFO: Processing buffer {"connection_id":207665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7d0c78012d1b49400725d3a8002500a92c..."} 
[2026-10-05 15:26:16] local.INFO: Packet analysis {"connection_id":207665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7d"} 
[2026-10-05 15:26:16] local.INFO: Extracted packet for processing {"connection_id":207665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7d"} 
[2026-10-05 15:26:16] local.INFO: GPS Element Parsed {"raw_longitude":756762944,"raw_latitude":119919528,"longitude_deg":75.6762944,"latitude_deg":11.9919528,"altitude":37,"angle":169,"satellites":44,"speed":8,"hex_longitude":"2d1b4940","hex_latitude":"0725d3a8","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545691136001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25101828987289600,"note":"Value kept but may cause issues"} 
[2026-10-05 15:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965962005535029248,"note":"Value kept but may cause issues"} 
[2026-10-05 15:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791194107000,"timestamp_ms":1791194107000,"timestamp_seconds":1791194107,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7d0c78"} 
[2026-10-05 15:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-10-05 15:26:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545691136001,"66":13917,"62":206,"28":31744,"24":8,"16":25101828987289600,"45":1965962005535029248},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545691136001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:26:16] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:26:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25101828987289600,"km_value":25101828987289.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965962005535029248,"description":"Unknown IO ID 45"} 
[2026-10-05 15:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545691136001,"power":13917,"unknown_62":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1965962005535029248}} 
[2026-10-05 15:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":207665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:26:17] local.INFO: GPS data processed {"connection_id":207665,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:26:17] local.INFO: Acknowledgment sent {"connection_id":207665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:26:18] local.INFO: TCP Data received {"connection_id":207665,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7d1060012d1b48c00725d2d0002500cb2c..."} 
[2026-10-05 15:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7d1060012d1b48c00725d2d0002500cb2c..."} 
[2026-10-05 15:26:18] local.INFO: Processing buffer {"connection_id":207665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7d1060012d1b48c00725d2d0002500cb2c..."} 
[2026-10-05 15:26:18] local.INFO: Packet analysis {"connection_id":207665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7d"} 
[2026-10-05 15:26:18] local.INFO: Extracted packet for processing {"connection_id":207665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7d"} 
[2026-10-05 15:26:18] local.INFO: GPS Element Parsed {"raw_longitude":756762816,"raw_latitude":119919312,"longitude_deg":75.6762816,"latitude_deg":11.9919312,"altitude":37,"angle":203,"satellites":44,"speed":9,"hex_longitude":"2d1b48c0","hex_latitude":"0725d2d0","is_valid_coordinates":true} 
[2026-10-05 15:26: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-10-05 15:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545691392001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25101841872191488,"note":"Value kept but may cause issues"} 
[2026-10-05 15:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966173111767508992,"note":"Value kept but may cause issues"} 
[2026-10-05 15:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791194108000,"timestamp_ms":1791194108000,"timestamp_seconds":1791194108,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7d1060"} 
[2026-10-05 15:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-10-05 15:26:18] 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-10-05 15:26: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-10-05 15:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":207665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":207665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":207665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545691392001,"66":14233,"62":206,"28":31744,"24":9,"16":25101841872191488,"45":1966173111767508992},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545691392001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:26:18] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:26:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25101841872191488,"km_value":25101841872191.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966173111767508992,"description":"Unknown IO ID 45"} 
[2026-10-05 15:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545691392001,"power":14233,"unknown_62":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1966173111767508992}} 
[2026-10-05 15:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":207665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:26:18] local.INFO: GPS data processed {"connection_id":207665,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:26:18] local.INFO: Acknowledgment sent {"connection_id":207665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:26:22] local.INFO: TCP Data received {"connection_id":206123,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206123,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:26:22] local.INFO: Processing buffer {"connection_id":206123,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:26:22] local.INFO: IMEI packet received {"connection_id":206123,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 15:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":206123,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:26:27] local.INFO: TCP Data received {"connection_id":206123,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206123,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:26:27] local.INFO: Processing buffer {"connection_id":206123,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:26:27] local.INFO: IMEI packet received {"connection_id":206123,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 15:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":206123,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:26:37] local.INFO: TCP Data received {"connection_id":204719,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:26:37] local.INFO: Processing buffer {"connection_id":204719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:26:37] local.INFO: IMEI packet received {"connection_id":204719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":204719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:26:41] local.INFO: TCP Data received {"connection_id":204719,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:26:41] local.INFO: Processing buffer {"connection_id":204719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:26:41] local.INFO: IMEI packet received {"connection_id":204719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":204719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:26:42] local.INFO: TCP Data received {"connection_id":204719,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:26:42] local.INFO: Processing buffer {"connection_id":204719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:26:42] local.INFO: Packet analysis {"connection_id":204719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7b"} 
[2026-10-05 15:26:42] local.INFO: Extracted packet for processing {"connection_id":204719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7b"} 
[2026-10-05 15:26:42] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":10,"angle":8,"satellites":31,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545587200001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223282819072,"note":"Value kept but may cause issues"} 
[2026-10-05 15:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791194004000,"timestamp_ms":1791194004000,"timestamp_seconds":1791194004,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7b7a20"} 
[2026-10-05 15:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 15:26:42] 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-10-05 15:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545587200001,"66":13319,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8788493223282819072},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545587200001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:26:42] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:26:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223282819072,"description":"Unknown IO ID 45"} 
[2026-10-05 15:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545587200001,"power":13319,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8788493223282819072}} 
[2026-10-05 15:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":204719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:26:42] local.INFO: GPS data processed {"connection_id":204719,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:26:42] local.INFO: Acknowledgment sent {"connection_id":204719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:26:46] local.INFO: TCP Data received {"connection_id":204719,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:26:46] local.INFO: Processing buffer {"connection_id":204719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:26:46] local.INFO: Packet analysis {"connection_id":204719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7b"} 
[2026-10-05 15:26:46] local.INFO: Extracted packet for processing {"connection_id":204719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7b"} 
[2026-10-05 15:26:46] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":10,"angle":8,"satellites":31,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545587200001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223282819072,"note":"Value kept but may cause issues"} 
[2026-10-05 15:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791194004000,"timestamp_ms":1791194004000,"timestamp_seconds":1791194004,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7b7a20"} 
[2026-10-05 15:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 15:26:46] 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-10-05 15:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545587200001,"66":13319,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8788493223282819072},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545587200001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:26:46] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:26:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223282819072,"description":"Unknown IO ID 45"} 
[2026-10-05 15:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545587200001,"power":13319,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8788493223282819072}} 
[2026-10-05 15:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":204719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:26:46] local.INFO: GPS data processed {"connection_id":204719,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:26:46] local.INFO: Acknowledgment sent {"connection_id":204719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:26:49] local.INFO: TCP Data received {"connection_id":207665,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7d1448012d1b48400725d210002500e02b..."} 
[2026-10-05 15:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7d1448012d1b48400725d210002500e02b..."} 
[2026-10-05 15:26:49] local.INFO: Processing buffer {"connection_id":207665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7d1448012d1b48400725d210002500e02b..."} 
[2026-10-05 15:26:49] local.INFO: Packet analysis {"connection_id":207665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7d"} 
[2026-10-05 15:26:49] local.INFO: Extracted packet for processing {"connection_id":207665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7d"} 
[2026-10-05 15:26:49] local.INFO: GPS Element Parsed {"raw_longitude":756762688,"raw_latitude":119919120,"longitude_deg":75.6762688,"latitude_deg":11.991912,"altitude":37,"angle":224,"satellites":43,"speed":10,"hex_longitude":"2d1b4840","hex_latitude":"0725d210","is_valid_coordinates":true} 
[2026-10-05 15:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545691648001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25101850462126080,"note":"Value kept but may cause issues"} 
[2026-10-05 15:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966032374279098368,"note":"Value kept but may cause issues"} 
[2026-10-05 15:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1791194109000,"timestamp_ms":1791194109000,"timestamp_seconds":1791194109,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7d1448"} 
[2026-10-05 15:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-05 15:26:49] 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-10-05 15:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":207665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":207665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":207665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545691648001,"66":14233,"62":206,"28":31744,"24":10,"16":25101850462126080,"45":1966032374279098368},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545691648001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:26:49] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:26:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25101850462126080,"km_value":25101850462126.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966032374279098368,"description":"Unknown IO ID 45"} 
[2026-10-05 15:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545691648001,"power":14233,"unknown_62":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1966032374279098368}} 
[2026-10-05 15:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":207665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:26:49] local.INFO: GPS data processed {"connection_id":207665,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:26:49] local.INFO: Acknowledgment sent {"connection_id":207665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:26:55] local.INFO: TCP Data received {"connection_id":206124,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:26:55] local.INFO: Processing buffer {"connection_id":206124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:26:55] local.INFO: IMEI packet received {"connection_id":206124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":206124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:27:00] local.INFO: TCP Data received {"connection_id":206124,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:27:00] local.INFO: Processing buffer {"connection_id":206124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:27:00] local.INFO: IMEI packet received {"connection_id":206124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":206124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:27:00] local.INFO: TCP Data received {"connection_id":206124,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7a7080012d80c7c00602cde8000b00d22a..."} 
[2026-10-05 15:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7a7080012d80c7c00602cde8000b00d22a..."} 
[2026-10-05 15:27:00] local.INFO: Processing buffer {"connection_id":206124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7a7080012d80c7c00602cde8000b00d22a..."} 
[2026-10-05 15:27:00] local.INFO: Packet analysis {"connection_id":206124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7a"} 
[2026-10-05 15:27:00] local.INFO: Extracted packet for processing {"connection_id":206124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7a"} 
[2026-10-05 15:27:00] local.INFO: GPS Element Parsed {"raw_longitude":763414464,"raw_latitude":100847080,"longitude_deg":76.3414464,"latitude_deg":10.084708,"altitude":11,"angle":210,"satellites":42,"speed":20,"hex_longitude":"2d80c7c0","hex_latitude":"0602cde8","is_valid_coordinates":true} 
[2026-10-05 15:27: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-10-05 15:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545644288001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9165036322113878016,"note":"Value kept but may cause issues"} 
[2026-10-05 15:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791193936000,"timestamp_ms":1791193936000,"timestamp_seconds":1791193936,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7a7080"} 
[2026-10-05 15:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:27: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-10-05 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 15:27: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-10-05 15: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-10-05 15:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15: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-10-05 15:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545644288001,"66":27974,"168":206,"87":10496,"24":20,"16":2181224911077376,"45":-9165036322113878016},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545644288001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:27:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:27:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9165036322113878016,"description":"Unknown IO ID 45"} 
[2026-10-05 15:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545644288001,"power":27974,"unknown_168":206,"unknown_87":10496,"ignition":20,"odometer":null,"unknown_45":-9165036322113878016}} 
[2026-10-05 15:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":206124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:27:00] local.INFO: GPS data processed {"connection_id":206124,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:27:00] local.INFO: Acknowledgment sent {"connection_id":206124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:27:05] local.INFO: TCP Data received {"connection_id":206125,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:27:05] local.INFO: Processing buffer {"connection_id":206125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:27:05] local.INFO: IMEI packet received {"connection_id":206125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":206125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:27:05] local.INFO: TCP Data received {"connection_id":206124,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7a7080012d80c7c00602cde8000b00d22a..."} 
[2026-10-05 15:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7a7080012d80c7c00602cde8000b00d22a..."} 
[2026-10-05 15:27:05] local.INFO: Processing buffer {"connection_id":206124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7a7080012d80c7c00602cde8000b00d22a..."} 
[2026-10-05 15:27:05] local.INFO: Packet analysis {"connection_id":206124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7a"} 
[2026-10-05 15:27:05] local.INFO: Extracted packet for processing {"connection_id":206124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7a"} 
[2026-10-05 15:27:05] local.INFO: GPS Element Parsed {"raw_longitude":763414464,"raw_latitude":100847080,"longitude_deg":76.3414464,"latitude_deg":10.084708,"altitude":11,"angle":210,"satellites":42,"speed":20,"hex_longitude":"2d80c7c0","hex_latitude":"0602cde8","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545644288001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9165036322113878016,"note":"Value kept but may cause issues"} 
[2026-10-05 15:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791193936000,"timestamp_ms":1791193936000,"timestamp_seconds":1791193936,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7a7080"} 
[2026-10-05 15:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:27:05] 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-10-05 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 15:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":206124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":206124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":206124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:27: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-10-05 15:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545644288001,"66":27974,"168":206,"87":10496,"24":20,"16":2181224911077376,"45":-9165036322113878016},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545644288001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:27:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:27:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9165036322113878016,"description":"Unknown IO ID 45"} 
[2026-10-05 15:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545644288001,"power":27974,"unknown_168":206,"unknown_87":10496,"ignition":20,"odometer":null,"unknown_45":-9165036322113878016}} 
[2026-10-05 15:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":206124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:27:05] local.INFO: GPS data processed {"connection_id":206124,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:27:05] local.INFO: Acknowledgment sent {"connection_id":206124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:27:10] local.INFO: TCP Data received {"connection_id":206125,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:27:10] local.INFO: Processing buffer {"connection_id":206125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:27:10] local.INFO: IMEI packet received {"connection_id":206125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":206125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:27:11] local.INFO: TCP Data received {"connection_id":206125,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7d2fa0012d1b40c00725c868002500d32a..."} 
[2026-10-05 15:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7d2fa0012d1b40c00725c868002500d32a..."} 
[2026-10-05 15:27:11] local.INFO: Processing buffer {"connection_id":206125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7d2fa0012d1b40c00725c868002500d32a..."} 
[2026-10-05 15:27:11] local.INFO: Packet analysis {"connection_id":206125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7d"} 
[2026-10-05 15:27:11] local.INFO: Extracted packet for processing {"connection_id":206125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7d"} 
[2026-10-05 15:27:11] local.INFO: GPS Element Parsed {"raw_longitude":756760768,"raw_latitude":119916648,"longitude_deg":75.6760768,"latitude_deg":11.9916648,"altitude":37,"angle":211,"satellites":42,"speed":23,"hex_longitude":"2d1b40c0","hex_latitude":"0725c868","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545691904001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25102000785981440,"note":"Value kept but may cause issues"} 
[2026-10-05 15:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965891636790693888,"note":"Value kept but may cause issues"} 
[2026-10-05 15:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791194116000,"timestamp_ms":1791194116000,"timestamp_seconds":1791194116,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7d2fa0"} 
[2026-10-05 15:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15: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-10-05 15: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-05 15:27:11] 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-10-05 15: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-10-05 15:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545691904001,"66":13852,"62":206,"28":31744,"24":23,"16":25102000785981440,"45":1965891636790693888},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545691904001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:27:11] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:27:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25102000785981440,"km_value":25102000785981.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965891636790693888,"description":"Unknown IO ID 45"} 
[2026-10-05 15:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545691904001,"power":13852,"unknown_62":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1965891636790693888}} 
[2026-10-05 15:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":206125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:27:11] local.INFO: GPS data processed {"connection_id":206125,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:27:11] local.INFO: Acknowledgment sent {"connection_id":206125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:27:31] local.INFO: TCP Data received {"connection_id":204720,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:27:31] local.INFO: Processing buffer {"connection_id":204720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:27:31] local.INFO: IMEI packet received {"connection_id":204720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":204720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:27:36] local.INFO: TCP Data received {"connection_id":204720,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:27:36] local.INFO: Processing buffer {"connection_id":204720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:27:36] local.INFO: IMEI packet received {"connection_id":204720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":204720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:27:36] local.INFO: TCP Data received {"connection_id":206124,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7a7080012d80c7c00602cde8000b00d22a..."} 
[2026-10-05 15:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7a7080012d80c7c00602cde8000b00d22a..."} 
[2026-10-05 15:27:36] local.INFO: Processing buffer {"connection_id":206124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7a7080012d80c7c00602cde8000b00d22a..."} 
[2026-10-05 15:27:36] local.INFO: Packet analysis {"connection_id":206124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7a"} 
[2026-10-05 15:27:36] local.INFO: Extracted packet for processing {"connection_id":206124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7a"} 
[2026-10-05 15:27:36] local.INFO: GPS Element Parsed {"raw_longitude":763414464,"raw_latitude":100847080,"longitude_deg":76.3414464,"latitude_deg":10.084708,"altitude":11,"angle":210,"satellites":42,"speed":20,"hex_longitude":"2d80c7c0","hex_latitude":"0602cde8","is_valid_coordinates":true} 
[2026-10-05 15:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545644288001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9165036322113878016,"note":"Value kept but may cause issues"} 
[2026-10-05 15:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791193936000,"timestamp_ms":1791193936000,"timestamp_seconds":1791193936,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7a7080"} 
[2026-10-05 15:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:27: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-10-05 15:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 15:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545644288001,"66":27974,"168":206,"87":10496,"24":20,"16":2181224911077376,"45":-9165036322113878016},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545644288001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:27:36] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:27:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9165036322113878016,"description":"Unknown IO ID 45"} 
[2026-10-05 15:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545644288001,"power":27974,"unknown_168":206,"unknown_87":10496,"ignition":20,"odometer":null,"unknown_45":-9165036322113878016}} 
[2026-10-05 15:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":206124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:27:36] local.INFO: GPS data processed {"connection_id":206124,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:27:36] local.INFO: Acknowledgment sent {"connection_id":206124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:27:37] local.INFO: TCP Data received {"connection_id":204720,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:27:37] local.INFO: Processing buffer {"connection_id":204720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:27:37] local.INFO: Packet analysis {"connection_id":204720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7b"} 
[2026-10-05 15:27:37] local.INFO: Extracted packet for processing {"connection_id":204720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7b"} 
[2026-10-05 15:27:37] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":10,"angle":8,"satellites":31,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545587200001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223282819072,"note":"Value kept but may cause issues"} 
[2026-10-05 15:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791194004000,"timestamp_ms":1791194004000,"timestamp_seconds":1791194004,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7b7a20"} 
[2026-10-05 15:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 15:27:37] 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-10-05 15:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545587200001,"66":13319,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8788493223282819072},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545587200001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:27:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:27:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223282819072,"description":"Unknown IO ID 45"} 
[2026-10-05 15:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545587200001,"power":13319,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8788493223282819072}} 
[2026-10-05 15:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":204720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:27:37] local.INFO: GPS data processed {"connection_id":204720,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:27:37] local.INFO: Acknowledgment sent {"connection_id":204720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:27:43] local.INFO: TCP Data received {"connection_id":206125,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7d4af8012d1b39000725b950002500c529..."} 
[2026-10-05 15:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7d4af8012d1b39000725b950002500c529..."} 
[2026-10-05 15:27:43] local.INFO: Processing buffer {"connection_id":206125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7d4af8012d1b39000725b950002500c529..."} 
[2026-10-05 15:27:43] local.INFO: Packet analysis {"connection_id":206125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7d"} 
[2026-10-05 15:27:43] local.INFO: Extracted packet for processing {"connection_id":206125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7d"} 
[2026-10-05 15:27:43] local.INFO: GPS Element Parsed {"raw_longitude":756758784,"raw_latitude":119912784,"longitude_deg":75.6758784,"latitude_deg":11.9912784,"altitude":37,"angle":197,"satellites":41,"speed":24,"hex_longitude":"2d1b3900","hex_latitude":"0725b950","is_valid_coordinates":true} 
[2026-10-05 15:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545693696001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25102211239378944,"note":"Value kept but may cause issues"} 
[2026-10-05 15:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963780574464731136,"note":"Value kept but may cause issues"} 
[2026-10-05 15:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791194123000,"timestamp_ms":1791194123000,"timestamp_seconds":1791194123,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7d4af8"} 
[2026-10-05 15:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-05 15:27:43] 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-10-05 15:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":206125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":206125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":206125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545693696001,"66":14265,"62":206,"28":31744,"24":24,"16":25102211239378944,"45":1963780574464731136},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545693696001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:27:43] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:27:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25102211239378944,"km_value":25102211239378.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963780574464731136,"description":"Unknown IO ID 45"} 
[2026-10-05 15:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545693696001,"power":14265,"unknown_62":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1963780574464731136}} 
[2026-10-05 15:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":206125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:27:43] local.INFO: GPS data processed {"connection_id":206125,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:27:43] local.INFO: Acknowledgment sent {"connection_id":206125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:27:54] local.INFO: TCP Data received {"connection_id":207666,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:27:54] local.INFO: Processing buffer {"connection_id":207666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:27:54] local.INFO: IMEI packet received {"connection_id":207666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":207666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:28:00] local.INFO: TCP Data received {"connection_id":207666,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:28:00] local.INFO: Processing buffer {"connection_id":207666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:28:00] local.INFO: IMEI packet received {"connection_id":207666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":207666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:28:00] local.INFO: TCP Data received {"connection_id":207666,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7a7080012d80c7c00602cde8000b00d22a..."} 
[2026-10-05 15:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7a7080012d80c7c00602cde8000b00d22a..."} 
[2026-10-05 15:28:00] local.INFO: Processing buffer {"connection_id":207666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7a7080012d80c7c00602cde8000b00d22a..."} 
[2026-10-05 15:28:00] local.INFO: Packet analysis {"connection_id":207666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7a"} 
[2026-10-05 15:28:00] local.INFO: Extracted packet for processing {"connection_id":207666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7a"} 
[2026-10-05 15:28:00] local.INFO: GPS Element Parsed {"raw_longitude":763414464,"raw_latitude":100847080,"longitude_deg":76.3414464,"latitude_deg":10.084708,"altitude":11,"angle":210,"satellites":42,"speed":20,"hex_longitude":"2d80c7c0","hex_latitude":"0602cde8","is_valid_coordinates":true} 
[2026-10-05 15:28: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-10-05 15:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545644288001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9165036322113878016,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791193936000,"timestamp_ms":1791193936000,"timestamp_seconds":1791193936,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7a7080"} 
[2026-10-05 15:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:28: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-10-05 15: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":4,"data_length":795,"current_offset":136} 
[2026-10-05 15:28: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-10-05 15: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-10-05 15:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15: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-10-05 15:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545644288001,"66":27974,"168":206,"87":10496,"24":20,"16":2181224911077376,"45":-9165036322113878016},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545644288001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:28:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:28:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9165036322113878016,"description":"Unknown IO ID 45"} 
[2026-10-05 15:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545644288001,"power":27974,"unknown_168":206,"unknown_87":10496,"ignition":20,"odometer":null,"unknown_45":-9165036322113878016}} 
[2026-10-05 15:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":207666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:28:00] local.INFO: GPS data processed {"connection_id":207666,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:28:00] local.INFO: Acknowledgment sent {"connection_id":207666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:28:05] local.INFO: TCP Data received {"connection_id":204721,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:28:05] local.INFO: Processing buffer {"connection_id":204721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:28:05] local.INFO: IMEI packet received {"connection_id":204721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":204721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:28:09] local.INFO: TCP Data received {"connection_id":204720,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:28:09] local.INFO: Processing buffer {"connection_id":204720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7b7a20012d79f90005ecb3e0000a00081f..."} 
[2026-10-05 15:28:09] local.INFO: Packet analysis {"connection_id":204720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7b"} 
[2026-10-05 15:28:09] local.INFO: Extracted packet for processing {"connection_id":204720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7b"} 
[2026-10-05 15:28:09] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":10,"angle":8,"satellites":31,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545587200001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223282819072,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791194004000,"timestamp_ms":1791194004000,"timestamp_seconds":1791194004,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7b7a20"} 
[2026-10-05 15:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:28: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-10-05 15: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 15:28: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-10-05 15: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-10-05 15:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545587200001,"66":13319,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8788493223282819072},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545587200001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:28:09] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:28:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223282819072,"description":"Unknown IO ID 45"} 
[2026-10-05 15:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545587200001,"power":13319,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8788493223282819072}} 
[2026-10-05 15:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":204720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:28:09] local.INFO: GPS data processed {"connection_id":204720,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:28:09] local.INFO: Acknowledgment sent {"connection_id":204720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:28:10] local.INFO: TCP Data received {"connection_id":204721,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:28:10] local.INFO: Processing buffer {"connection_id":204721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:28:10] local.INFO: IMEI packet received {"connection_id":204721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":204721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:28:11] local.INFO: TCP Data received {"connection_id":204721,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7d56b0012d1b38000725b208002500b328..."} 
[2026-10-05 15:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7d56b0012d1b38000725b208002500b328..."} 
[2026-10-05 15:28:11] local.INFO: Processing buffer {"connection_id":204721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7d56b0012d1b38000725b208002500b328..."} 
[2026-10-05 15:28:11] local.INFO: Packet analysis {"connection_id":204721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7d"} 
[2026-10-05 15:28:11] local.INFO: Extracted packet for processing {"connection_id":204721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7d"} 
[2026-10-05 15:28:11] local.INFO: GPS Element Parsed {"raw_longitude":756758528,"raw_latitude":119910920,"longitude_deg":75.6758528,"latitude_deg":11.991092,"altitude":37,"angle":179,"satellites":40,"speed":25,"hex_longitude":"2d1b3800","hex_latitude":"0725b208","is_valid_coordinates":true} 
[2026-10-05 15:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545695488001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25102305728659456,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961599143394234368,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791194126000,"timestamp_ms":1791194126000,"timestamp_seconds":1791194126,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7d56b0"} 
[2026-10-05 15:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:28: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-10-05 15:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-05 15:28:11] 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-10-05 15:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545695488001,"66":13993,"62":206,"28":31744,"24":25,"16":25102305728659456,"45":1961599143394234368},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545695488001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:28:11] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:28:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25102305728659456,"km_value":25102305728659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961599143394234368,"description":"Unknown IO ID 45"} 
[2026-10-05 15:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545695488001,"power":13993,"unknown_62":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1961599143394234368}} 
[2026-10-05 15:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":204721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:28:12] local.INFO: GPS data processed {"connection_id":204721,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:28:12] local.INFO: Acknowledgment sent {"connection_id":204721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:28:32] local.INFO: TCP Data received {"connection_id":207666,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:28:32] local.INFO: Processing buffer {"connection_id":207666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:28:32] local.INFO: Packet analysis {"connection_id":207666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7f"} 
[2026-10-05 15:28:32] local.INFO: Extracted packet for processing {"connection_id":207666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7f"} 
[2026-10-05 15:28:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":23,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15:28: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-10-05 15:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545647616001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9167147384439969792,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791194242000,"timestamp_ms":1791194242000,"timestamp_seconds":1791194242,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7f1bd0"} 
[2026-10-05 15:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:28:32] 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-10-05 15:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 15:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:28: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-10-05 15:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:28: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-10-05 15:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545647616001,"66":26560,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9167147384439969792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545647616001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:28:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:28:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9167147384439969792,"description":"Unknown IO ID 45"} 
[2026-10-05 15:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545647616001,"power":26560,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9167147384439969792}} 
[2026-10-05 15:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":207666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:28:32] local.INFO: GPS data processed {"connection_id":207666,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:28:32] local.INFO: Acknowledgment sent {"connection_id":207666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:28:33] local.INFO: TCP Data received {"connection_id":207668,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207668,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:28:33] local.INFO: Processing buffer {"connection_id":207668,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:28:33] local.INFO: IMEI packet received {"connection_id":207668,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":207668,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:28:35] local.INFO: TCP Data received {"connection_id":207668,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207668,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:28:35] local.INFO: Processing buffer {"connection_id":207668,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:28:35] local.INFO: IMEI packet received {"connection_id":207668,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":207668,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:28:36] local.INFO: TCP Data received {"connection_id":207668,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:28:36] local.INFO: Processing buffer {"connection_id":207668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:28:36] local.INFO: Packet analysis {"connection_id":207668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:28:36] local.INFO: Extracted packet for processing {"connection_id":207668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:28:36] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":9,"angle":8,"satellites":33,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545665024001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173236281344,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:36] 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-10-05 15:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791194305000,"timestamp_ms":1791194305000,"timestamp_seconds":1791194305,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8011e8"} 
[2026-10-05 15:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":7,"data_length":795,"current_offset":136} 
[2026-10-05 15:28:36] local.WARNING: Large IO value detected {"io_id":118,"raw_value":6739638137191301125,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":57774345301153590,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:36] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-5969521245945387520,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1098252494,"corrected_to":0} 
[2026-10-05 15:28:36] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":3221613741,"corrected_to":0} 
[2026-10-05 15:28:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970754560,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:36] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,118,87,24,241,157,16,65,161,214,45,179,13,41,10,66,156,1,240,149,227,11,236,4,113,205,2,140,246,192,40,239,52,5,14],"length":527,"final_offset":657,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1098252494,"validated":0},{"io_id":246,"original":3221613741,"validated":0}]} 
[2026-10-05 15:28:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720584869616287744,"timestamp_seconds":720584869616287.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 15:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545665024001,"66":13102,"95":206,"87":13824,"24":0,"16":139683636524875776,"45":8789056173236281344},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-10-05 15:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545665024001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:28:36] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 15:28:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173236281344,"description":"Unknown IO ID 45"} 
[2026-10-05 15:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545665024001,"power":13102,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789056173236281344}} 
[2026-10-05 15:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":207668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:28:36] local.INFO: GPS data processed {"connection_id":207668,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:28:36] local.INFO: Acknowledgment sent {"connection_id":207668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:28:43] local.INFO: TCP Data received {"connection_id":207668,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:28:43] local.INFO: Processing buffer {"connection_id":207668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:28:43] local.INFO: Packet analysis {"connection_id":207668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:28:43] local.INFO: Extracted packet for processing {"connection_id":207668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:28:43] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":9,"angle":8,"satellites":33,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545665024001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173236281344,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:43] 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-10-05 15:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791194305000,"timestamp_ms":1791194305000,"timestamp_seconds":1791194305,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8011e8"} 
[2026-10-05 15:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 15:28:43] local.WARNING: Large IO value detected {"io_id":118,"raw_value":6739638137191301125,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":57774345301153590,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:43] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-5969521245945387520,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1098252494,"corrected_to":0} 
[2026-10-05 15:28:43] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":3221613741,"corrected_to":0} 
[2026-10-05 15:28:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970754560,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:43] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,118,87,24,241,157,16,65,161,214,45,179,13,41,10,66,156,1,240,149,227,11,236,4,113,205,2,140,246,192,40,239,52,5,14],"length":527,"final_offset":657,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1098252494,"validated":0},{"io_id":246,"original":3221613741,"validated":0}]} 
[2026-10-05 15:28:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720584869616287744,"timestamp_seconds":720584869616287.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 15:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545665024001,"66":13102,"95":206,"87":13824,"24":0,"16":139683636524875776,"45":8789056173236281344},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-10-05 15:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545665024001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:28:43] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 15:28:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173236281344,"description":"Unknown IO ID 45"} 
[2026-10-05 15:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545665024001,"power":13102,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789056173236281344}} 
[2026-10-05 15:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":207668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:28:43] local.INFO: GPS data processed {"connection_id":207668,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:28:43] local.INFO: Acknowledgment sent {"connection_id":207668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:28:44] local.INFO: TCP Data received {"connection_id":204721,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7f5e38012d1b5c400724d2b0002300b72c..."} 
[2026-10-05 15:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7f5e38012d1b5c400724d2b0002300b72c..."} 
[2026-10-05 15:28:44] local.INFO: Processing buffer {"connection_id":204721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7f5e38012d1b5c400724d2b0002300b72c..."} 
[2026-10-05 15:28:44] local.INFO: Packet analysis {"connection_id":204721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7f"} 
[2026-10-05 15:28:44] local.INFO: Extracted packet for processing {"connection_id":204721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7f"} 
[2026-10-05 15:28:44] local.INFO: GPS Element Parsed {"raw_longitude":756767808,"raw_latitude":119853744,"longitude_deg":75.6767808,"latitude_deg":11.9853744,"altitude":35,"angle":183,"satellites":44,"speed":15,"hex_longitude":"2d1b5c40","hex_latitude":"0724d2b0","is_valid_coordinates":true} 
[2026-10-05 15:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545729024001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25105286435962880,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971802611285303296,"note":"Value kept but may cause issues"} 
[2026-10-05 15:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791194259000,"timestamp_ms":1791194259000,"timestamp_seconds":1791194259,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7f5e38"} 
[2026-10-05 15:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-10-05 15:28:44] 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-10-05 15: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-10-05 15:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":204721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":204721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":204721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545729024001,"66":13135,"62":206,"28":31744,"24":15,"16":25105286435962880,"45":1971802611285303296},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545729024001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:28:44] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:28:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25105286435962880,"km_value":25105286435962.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971802611285303296,"description":"Unknown IO ID 45"} 
[2026-10-05 15:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545729024001,"power":13135,"unknown_62":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1971802611285303296}} 
[2026-10-05 15:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":204721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:28:44] local.INFO: GPS data processed {"connection_id":204721,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:28:44] local.INFO: Acknowledgment sent {"connection_id":204721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:28:54] local.INFO: TCP Data received {"connection_id":204722,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:28:54] local.INFO: Processing buffer {"connection_id":204722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:28:54] local.INFO: IMEI packet received {"connection_id":204722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":204722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:28:59] local.INFO: TCP Data received {"connection_id":204722,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:28:59] local.INFO: Processing buffer {"connection_id":204722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:28:59] local.INFO: IMEI packet received {"connection_id":204722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":204722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:29:00] local.INFO: TCP Data received {"connection_id":204722,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:29:00] local.INFO: Processing buffer {"connection_id":204722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:29:00] local.INFO: Packet analysis {"connection_id":204722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7f"} 
[2026-10-05 15:29:00] local.INFO: Extracted packet for processing {"connection_id":204722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7f"} 
[2026-10-05 15:29:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":23,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545647616001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9167147384439969792,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791194242000,"timestamp_ms":1791194242000,"timestamp_seconds":1791194242,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7f1bd0"} 
[2026-10-05 15:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:29: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-10-05 15: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 15:29: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-10-05 15: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-10-05 15:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:29: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-10-05 15:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545647616001,"66":26560,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9167147384439969792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545647616001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:29:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:29:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9167147384439969792,"description":"Unknown IO ID 45"} 
[2026-10-05 15:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545647616001,"power":26560,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9167147384439969792}} 
[2026-10-05 15:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":204722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:29:00] local.INFO: GPS data processed {"connection_id":204722,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:29:00] local.INFO: Acknowledgment sent {"connection_id":204722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:29:05] local.INFO: TCP Data received {"connection_id":204598,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:29:05] local.INFO: Processing buffer {"connection_id":204598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:29:05] local.INFO: IMEI packet received {"connection_id":204598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":204598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:29:10] local.INFO: TCP Data received {"connection_id":204598,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:29:10] local.INFO: Processing buffer {"connection_id":204598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:29:10] local.INFO: IMEI packet received {"connection_id":204598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":204598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:29:12] local.INFO: TCP Data received {"connection_id":204598,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7f5e38012d1b5c400724d2b0002300b72c..."} 
[2026-10-05 15:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7f5e38012d1b5c400724d2b0002300b72c..."} 
[2026-10-05 15:29:12] local.INFO: Processing buffer {"connection_id":204598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7f5e38012d1b5c400724d2b0002300b72c..."} 
[2026-10-05 15:29:12] local.INFO: Packet analysis {"connection_id":204598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7f"} 
[2026-10-05 15:29:12] local.INFO: Extracted packet for processing {"connection_id":204598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7f"} 
[2026-10-05 15:29:12] local.INFO: GPS Element Parsed {"raw_longitude":756767808,"raw_latitude":119853744,"longitude_deg":75.6767808,"latitude_deg":11.9853744,"altitude":35,"angle":183,"satellites":44,"speed":15,"hex_longitude":"2d1b5c40","hex_latitude":"0724d2b0","is_valid_coordinates":true} 
[2026-10-05 15:29:12] 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-10-05 15:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545730304001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25105286435962880,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971521136308170752,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791194259000,"timestamp_ms":1791194259000,"timestamp_seconds":1791194259,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7f5e38"} 
[2026-10-05 15:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:29:12] 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-10-05 15:29: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":79,"data_length":795,"current_offset":136} 
[2026-10-05 15:29:12] 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-10-05 15:29: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-10-05 15:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545730304001,"66":13135,"62":206,"28":31744,"24":15,"16":25105286435962880,"45":1971521136308170752},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545730304001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:29:12] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:29:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25105286435962880,"km_value":25105286435962.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971521136308170752,"description":"Unknown IO ID 45"} 
[2026-10-05 15:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545730304001,"power":13135,"unknown_62":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1971521136308170752}} 
[2026-10-05 15:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":204598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:29:12] local.INFO: GPS data processed {"connection_id":204598,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:29:12] local.INFO: Acknowledgment sent {"connection_id":204598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:29:14] local.INFO: TCP Data received {"connection_id":207668,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:29:14] local.INFO: Processing buffer {"connection_id":207668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:29:14] local.INFO: Packet analysis {"connection_id":207668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:29:14] local.INFO: Extracted packet for processing {"connection_id":207668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:29:14] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":9,"angle":8,"satellites":33,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545665024001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173236281344,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:14] 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-10-05 15:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791194305000,"timestamp_ms":1791194305000,"timestamp_seconds":1791194305,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8011e8"} 
[2026-10-05 15:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 15:29:14] local.WARNING: Large IO value detected {"io_id":118,"raw_value":6739638137191301125,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":57774345301153590,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:14] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-5969521245945387520,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1098252494,"corrected_to":0} 
[2026-10-05 15:29:14] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":3221613741,"corrected_to":0} 
[2026-10-05 15:29:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970754560,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:14] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,118,87,24,241,157,16,65,161,214,45,179,13,41,10,66,156,1,240,149,227,11,236,4,113,205,2,140,246,192,40,239,52,5,14],"length":527,"final_offset":657,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1098252494,"validated":0},{"io_id":246,"original":3221613741,"validated":0}]} 
[2026-10-05 15:29:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720584869616287744,"timestamp_seconds":720584869616287.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 15:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":207668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":207668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":207668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545665024001,"66":13102,"95":206,"87":13824,"24":0,"16":139683636524875776,"45":8789056173236281344},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-10-05 15:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545665024001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:29:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 15:29:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173236281344,"description":"Unknown IO ID 45"} 
[2026-10-05 15:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545665024001,"power":13102,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789056173236281344}} 
[2026-10-05 15:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":207668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:29:14] local.INFO: GPS data processed {"connection_id":207668,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:29:14] local.INFO: Acknowledgment sent {"connection_id":207668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:29:30] local.INFO: TCP Data received {"connection_id":204599,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204599,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:29:30] local.INFO: Processing buffer {"connection_id":204599,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:29:30] local.INFO: IMEI packet received {"connection_id":204599,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":204599,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:29:31] local.INFO: TCP Data received {"connection_id":204722,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:29:31] local.INFO: Processing buffer {"connection_id":204722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:29:31] local.INFO: Packet analysis {"connection_id":204722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7f"} 
[2026-10-05 15:29:31] local.INFO: Extracted packet for processing {"connection_id":204722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7f"} 
[2026-10-05 15:29:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":23,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545647616001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9167147384439969792,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791194242000,"timestamp_ms":1791194242000,"timestamp_seconds":1791194242,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7f1bd0"} 
[2026-10-05 15:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:29: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-10-05 15: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 15:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:29: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-10-05 15:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545647616001,"66":26560,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9167147384439969792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545647616001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:29:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:29:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9167147384439969792,"description":"Unknown IO ID 45"} 
[2026-10-05 15:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545647616001,"power":26560,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9167147384439969792}} 
[2026-10-05 15:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":204722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:29:31] local.INFO: GPS data processed {"connection_id":204722,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:29:31] local.INFO: Acknowledgment sent {"connection_id":204722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:29:36] local.INFO: TCP Data received {"connection_id":204599,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204599,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:29:36] local.INFO: Processing buffer {"connection_id":204599,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:29:36] local.INFO: IMEI packet received {"connection_id":204599,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":204599,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:29:37] local.INFO: TCP Data received {"connection_id":204599,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:29:37] local.INFO: Processing buffer {"connection_id":204599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:29:37] local.INFO: Packet analysis {"connection_id":204599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:29:37] local.INFO: Extracted packet for processing {"connection_id":204599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:29:37] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":9,"angle":8,"satellites":33,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545665024001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173236281344,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:37] 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-10-05 15:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791194305000,"timestamp_ms":1791194305000,"timestamp_seconds":1791194305,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8011e8"} 
[2026-10-05 15:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 15:29:37] local.WARNING: Large IO value detected {"io_id":118,"raw_value":6739638137191301125,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":57774345301153590,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:37] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-5969521245945387520,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1098252494,"corrected_to":0} 
[2026-10-05 15:29:37] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":3221613741,"corrected_to":0} 
[2026-10-05 15:29:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970754560,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:37] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,118,87,24,241,157,16,65,161,214,45,179,13,41,10,66,156,1,240,149,227,11,236,4,113,205,2,140,246,192,40,239,52,5,14],"length":527,"final_offset":657,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1098252494,"validated":0},{"io_id":246,"original":3221613741,"validated":0}]} 
[2026-10-05 15:29:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720584869616287744,"timestamp_seconds":720584869616287.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 15:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545665024001,"66":13102,"95":206,"87":13824,"24":0,"16":139683636524875776,"45":8789056173236281344},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-10-05 15:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545665024001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:29:37] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 15:29:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173236281344,"description":"Unknown IO ID 45"} 
[2026-10-05 15:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545665024001,"power":13102,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789056173236281344}} 
[2026-10-05 15:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":204599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:29:37] local.INFO: GPS data processed {"connection_id":204599,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:29:37] local.INFO: Acknowledgment sent {"connection_id":204599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:29:43] local.INFO: TCP Data received {"connection_id":204598,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7f5e38012d1b5c400724d2b0002300b72c..."} 
[2026-10-05 15:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7f5e38012d1b5c400724d2b0002300b72c..."} 
[2026-10-05 15:29:43] local.INFO: Processing buffer {"connection_id":204598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7f5e38012d1b5c400724d2b0002300b72c..."} 
[2026-10-05 15:29:43] local.INFO: Packet analysis {"connection_id":204598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7f"} 
[2026-10-05 15:29:43] local.INFO: Extracted packet for processing {"connection_id":204598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7f"} 
[2026-10-05 15:29:43] local.INFO: GPS Element Parsed {"raw_longitude":756767808,"raw_latitude":119853744,"longitude_deg":75.6767808,"latitude_deg":11.9853744,"altitude":35,"angle":183,"satellites":44,"speed":15,"hex_longitude":"2d1b5c40","hex_latitude":"0724d2b0","is_valid_coordinates":true} 
[2026-10-05 15:29:43] 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-10-05 15:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545730304001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25105286435962880,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971521136308170752,"note":"Value kept but may cause issues"} 
[2026-10-05 15:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791194259000,"timestamp_ms":1791194259000,"timestamp_seconds":1791194259,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7f5e38"} 
[2026-10-05 15:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:29:43] 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-10-05 15:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-10-05 15:29:43] 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-10-05 15:29: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-10-05 15:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545730304001,"66":13135,"62":206,"28":31744,"24":15,"16":25105286435962880,"45":1971521136308170752},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545730304001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:29:43] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:29:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25105286435962880,"km_value":25105286435962.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971521136308170752,"description":"Unknown IO ID 45"} 
[2026-10-05 15:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545730304001,"power":13135,"unknown_62":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1971521136308170752}} 
[2026-10-05 15:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":204598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:29:43] local.INFO: GPS data processed {"connection_id":204598,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:29:43] local.INFO: Acknowledgment sent {"connection_id":204598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:29:54] local.INFO: TCP Data received {"connection_id":204600,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:29:54] local.INFO: Processing buffer {"connection_id":204600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:29:54] local.INFO: IMEI packet received {"connection_id":204600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":204600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:29:59] local.INFO: TCP Data received {"connection_id":204600,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:29:59] local.INFO: Processing buffer {"connection_id":204600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:29:59] local.INFO: IMEI packet received {"connection_id":204600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":204600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:30:00] local.INFO: TCP Data received {"connection_id":204600,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:30:00] local.INFO: Processing buffer {"connection_id":204600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:30:00] local.INFO: Packet analysis {"connection_id":204600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7f"} 
[2026-10-05 15:30:00] local.INFO: Extracted packet for processing {"connection_id":204600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7f"} 
[2026-10-05 15:30:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":23,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 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-10-05 15:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545647616001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9167147384439969792,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791194242000,"timestamp_ms":1791194242000,"timestamp_seconds":1791194242,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7f1bd0"} 
[2026-10-05 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-10-05 15: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-10-05 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 15:30: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-10-05 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-10-05 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-10-05 15:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:30:00] 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-10-05 15:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545647616001,"66":26560,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9167147384439969792},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545647616001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:30:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:30:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9167147384439969792,"description":"Unknown IO ID 45"} 
[2026-10-05 15:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545647616001,"power":26560,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9167147384439969792}} 
[2026-10-05 15:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":204600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:30:00] local.INFO: GPS data processed {"connection_id":204600,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:30:00] local.INFO: Acknowledgment sent {"connection_id":204600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:30:05] local.INFO: TCP Data received {"connection_id":204723,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:30:05] local.INFO: Processing buffer {"connection_id":204723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:30:05] local.INFO: IMEI packet received {"connection_id":204723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":204723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:30:08] local.INFO: TCP Data received {"connection_id":204599,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:30:08] local.INFO: Processing buffer {"connection_id":204599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:30:08] local.INFO: Packet analysis {"connection_id":204599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:30:08] local.INFO: Extracted packet for processing {"connection_id":204599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:30:08] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":9,"angle":8,"satellites":33,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545665024001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173236281344,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:08] 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-10-05 15:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791194305000,"timestamp_ms":1791194305000,"timestamp_seconds":1791194305,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8011e8"} 
[2026-10-05 15:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:30: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-10-05 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 15:30:08] local.WARNING: Large IO value detected {"io_id":118,"raw_value":6739638137191301125,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":57774345301153590,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:08] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-5969521245945387520,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1098252494,"corrected_to":0} 
[2026-10-05 15:30:08] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":3221613741,"corrected_to":0} 
[2026-10-05 15:30:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970754560,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:08] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,118,87,24,241,157,16,65,161,214,45,179,13,41,10,66,156,1,240,149,227,11,236,4,113,205,2,140,246,192,40,239,52,5,14],"length":527,"final_offset":657,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1098252494,"validated":0},{"io_id":246,"original":3221613741,"validated":0}]} 
[2026-10-05 15:30:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720584869616287744,"timestamp_seconds":720584869616287.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 15:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545665024001,"66":13102,"95":206,"87":13824,"24":0,"16":139683636524875776,"45":8789056173236281344},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-10-05 15:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545665024001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:30:08] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 15:30:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173236281344,"description":"Unknown IO ID 45"} 
[2026-10-05 15:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545665024001,"power":13102,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789056173236281344}} 
[2026-10-05 15:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":204599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:30:08] local.INFO: GPS data processed {"connection_id":204599,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:30:08] local.INFO: Acknowledgment sent {"connection_id":204599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:30:09] local.INFO: TCP Data received {"connection_id":207669,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:30:09] local.INFO: Processing buffer {"connection_id":207669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:30:09] local.INFO: IMEI packet received {"connection_id":207669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 15:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":207669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:30:11] local.INFO: TCP Data received {"connection_id":204723,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:30:11] local.INFO: Processing buffer {"connection_id":204723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:30:11] local.INFO: IMEI packet received {"connection_id":204723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":204723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:30:12] local.INFO: TCP Data received {"connection_id":204723,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b80e0f0012d1b4c400724b0a0002200bc2e..."} 
[2026-10-05 15:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b80e0f0012d1b4c400724b0a0002200bc2e..."} 
[2026-10-05 15:30:12] local.INFO: Processing buffer {"connection_id":204723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b80e0f0012d1b4c400724b0a0002200bc2e..."} 
[2026-10-05 15:30:12] local.INFO: Packet analysis {"connection_id":204723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:30:12] local.INFO: Extracted packet for processing {"connection_id":204723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:30:12] local.INFO: GPS Element Parsed {"raw_longitude":756763712,"raw_latitude":119845024,"longitude_deg":75.6763712,"latitude_deg":11.9845024,"altitude":34,"angle":188,"satellites":46,"speed":0,"hex_longitude":"2d1b4c40","hex_latitude":"0724b0a0","is_valid_coordinates":true} 
[2026-10-05 15:30:12] 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-10-05 15:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545730304001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25105286435962880,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971521136308170752,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791194358000,"timestamp_ms":1791194358000,"timestamp_seconds":1791194358,"priority":1,"record_length":96,"hex_timestamp":"000001a10b80e0f0"} 
[2026-10-05 15:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:30:12] 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-10-05 15:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-10-05 15:30:12] 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-10-05 15:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545730304001,"66":2166,"62":206,"28":31744,"24":0,"16":25105286435962880,"45":1971521136308170752},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545730304001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:30:12] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:30:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25105286435962880,"km_value":25105286435962.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971521136308170752,"description":"Unknown IO ID 45"} 
[2026-10-05 15:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545730304001,"power":2166,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1971521136308170752}} 
[2026-10-05 15:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":204723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:30:13] local.INFO: GPS data processed {"connection_id":204723,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:30:13] local.INFO: Acknowledgment sent {"connection_id":204723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:30:30] local.INFO: TCP Data received {"connection_id":204724,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:30:30] local.INFO: Processing buffer {"connection_id":204724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:30:30] local.INFO: IMEI packet received {"connection_id":204724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":204724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:30:32] local.INFO: TCP Data received {"connection_id":204600,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:30:32] local.INFO: Processing buffer {"connection_id":204600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:30:32] local.INFO: Packet analysis {"connection_id":204600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7f"} 
[2026-10-05 15:30:32] local.INFO: Extracted packet for processing {"connection_id":204600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7f"} 
[2026-10-05 15:30:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":23,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545647616001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9167147384439969792,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791194242000,"timestamp_ms":1791194242000,"timestamp_seconds":1791194242,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7f1bd0"} 
[2026-10-05 15:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:30:32] 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-10-05 15: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 15:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:30: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-10-05 15:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545647616001,"66":26560,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9167147384439969792},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545647616001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:30:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:30:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9167147384439969792,"description":"Unknown IO ID 45"} 
[2026-10-05 15:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545647616001,"power":26560,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9167147384439969792}} 
[2026-10-05 15:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":204600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:30:32] local.INFO: GPS data processed {"connection_id":204600,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:30:32] local.INFO: Acknowledgment sent {"connection_id":204600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:30:34] local.INFO: TCP Data received {"connection_id":206126,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:30:34] local.INFO: Processing buffer {"connection_id":206126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:30:34] local.INFO: IMEI packet received {"connection_id":206126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 15:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":206126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:30:36] local.INFO: TCP Data received {"connection_id":204724,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:30:36] local.INFO: Processing buffer {"connection_id":204724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:30:36] local.INFO: IMEI packet received {"connection_id":204724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":204724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:30:37] local.INFO: TCP Data received {"connection_id":204724,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:30:37] local.INFO: Processing buffer {"connection_id":204724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:30:37] local.INFO: Packet analysis {"connection_id":204724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:30:37] local.INFO: Extracted packet for processing {"connection_id":204724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:30:37] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":9,"angle":8,"satellites":33,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545665024001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173236281344,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:37] 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-10-05 15:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791194305000,"timestamp_ms":1791194305000,"timestamp_seconds":1791194305,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8011e8"} 
[2026-10-05 15:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":7,"data_length":795,"current_offset":136} 
[2026-10-05 15:30:37] local.WARNING: Large IO value detected {"io_id":118,"raw_value":6739638137191301125,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":57774345301153590,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:37] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-5969521245945387520,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1098252494,"corrected_to":0} 
[2026-10-05 15:30:37] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":3221613741,"corrected_to":0} 
[2026-10-05 15:30:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970754560,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:37] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,118,87,24,241,157,16,65,161,214,45,179,13,41,10,66,156,1,240,149,227,11,236,4,113,205,2,140,246,192,40,239,52,5,14],"length":527,"final_offset":657,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1098252494,"validated":0},{"io_id":246,"original":3221613741,"validated":0}]} 
[2026-10-05 15:30:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720584869616287744,"timestamp_seconds":720584869616287.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 15:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545665024001,"66":13102,"95":206,"87":13824,"24":0,"16":139683636524875776,"45":8789056173236281344},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-10-05 15:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545665024001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:30:37] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 15:30:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173236281344,"description":"Unknown IO ID 45"} 
[2026-10-05 15:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545665024001,"power":13102,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789056173236281344}} 
[2026-10-05 15:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":204724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:30:37] local.INFO: GPS data processed {"connection_id":204724,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:30:37] local.INFO: Acknowledgment sent {"connection_id":204724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:30:44] local.INFO: TCP Data received {"connection_id":204723,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b80e0f0012d1b4c400724b0a0002200bc2e..."} 
[2026-10-05 15:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b80e0f0012d1b4c400724b0a0002200bc2e..."} 
[2026-10-05 15:30:44] local.INFO: Processing buffer {"connection_id":204723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b80e0f0012d1b4c400724b0a0002200bc2e..."} 
[2026-10-05 15:30:44] local.INFO: Packet analysis {"connection_id":204723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:30:44] local.INFO: Extracted packet for processing {"connection_id":204723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:30:44] local.INFO: GPS Element Parsed {"raw_longitude":756763712,"raw_latitude":119845024,"longitude_deg":75.6763712,"latitude_deg":11.9845024,"altitude":34,"angle":188,"satellites":46,"speed":0,"hex_longitude":"2d1b4c40","hex_latitude":"0724b0a0","is_valid_coordinates":true} 
[2026-10-05 15:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545755648001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25105286435962880,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967017536678567936,"note":"Value kept but may cause issues"} 
[2026-10-05 15:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791194358000,"timestamp_ms":1791194358000,"timestamp_seconds":1791194358,"priority":1,"record_length":96,"hex_timestamp":"000001a10b80e0f0"} 
[2026-10-05 15:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 15:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":204723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":204723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":204723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545755648001,"66":2166,"62":206,"28":31744,"24":0,"16":25105286435962880,"45":1967017536678567936},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545755648001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:30:44] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:30:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25105286435962880,"km_value":25105286435962.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967017536678567936,"description":"Unknown IO ID 45"} 
[2026-10-05 15:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545755648001,"power":2166,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1967017536678567936}} 
[2026-10-05 15:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":204723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:30:44] local.INFO: GPS data processed {"connection_id":204723,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:30:44] local.INFO: Acknowledgment sent {"connection_id":204723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:30:54] local.INFO: TCP Data received {"connection_id":207670,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:30:54] local.INFO: Processing buffer {"connection_id":207670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:30:54] local.INFO: IMEI packet received {"connection_id":207670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":207670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:30:59] local.INFO: TCP Data received {"connection_id":207670,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:30:59] local.INFO: Processing buffer {"connection_id":207670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:30:59] local.INFO: IMEI packet received {"connection_id":207670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":207670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:31:00] local.INFO: TCP Data received {"connection_id":207670,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:31:00] local.INFO: Processing buffer {"connection_id":207670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:31:00] local.INFO: Packet analysis {"connection_id":207670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7f"} 
[2026-10-05 15:31:00] local.INFO: Extracted packet for processing {"connection_id":207670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7f"} 
[2026-10-05 15:31:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":23,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545647616001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9167147384439969792,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791194242000,"timestamp_ms":1791194242000,"timestamp_seconds":1791194242,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7f1bd0"} 
[2026-10-05 15:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:31: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-10-05 15: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 15:31: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-10-05 15: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-10-05 15:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:31: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-10-05 15:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545647616001,"66":26560,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9167147384439969792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545647616001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:31:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:31:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9167147384439969792,"description":"Unknown IO ID 45"} 
[2026-10-05 15:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545647616001,"power":26560,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9167147384439969792}} 
[2026-10-05 15:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":207670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:31:00] local.INFO: GPS data processed {"connection_id":207670,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:31:00] local.INFO: Acknowledgment sent {"connection_id":207670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:31:08] local.INFO: TCP Data received {"connection_id":204724,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:31:08] local.INFO: Processing buffer {"connection_id":204724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:31:08] local.INFO: Packet analysis {"connection_id":204724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:31:08] local.INFO: Extracted packet for processing {"connection_id":204724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:31:08] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":9,"angle":8,"satellites":33,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545665024001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173236281344,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:08] 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-10-05 15:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791194305000,"timestamp_ms":1791194305000,"timestamp_seconds":1791194305,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8011e8"} 
[2026-10-05 15:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:31: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-10-05 15:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 15:31:08] local.WARNING: Large IO value detected {"io_id":118,"raw_value":6739638137191301125,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":57774345301153590,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:08] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-5969521245945387520,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1098252494,"corrected_to":0} 
[2026-10-05 15:31:08] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":3221613741,"corrected_to":0} 
[2026-10-05 15:31:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970754560,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:08] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,118,87,24,241,157,16,65,161,214,45,179,13,41,10,66,156,1,240,149,227,11,236,4,113,205,2,140,246,192,40,239,52,5,14],"length":527,"final_offset":657,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1098252494,"validated":0},{"io_id":246,"original":3221613741,"validated":0}]} 
[2026-10-05 15:31:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720584869616287744,"timestamp_seconds":720584869616287.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 15:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545665024001,"66":13102,"95":206,"87":13824,"24":0,"16":139683636524875776,"45":8789056173236281344},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-10-05 15:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545665024001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:31:08] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 15:31:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173236281344,"description":"Unknown IO ID 45"} 
[2026-10-05 15:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545665024001,"power":13102,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789056173236281344}} 
[2026-10-05 15:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":204724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:31:08] local.INFO: GPS data processed {"connection_id":204724,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:31:08] local.INFO: Acknowledgment sent {"connection_id":204724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:31:10] local.INFO: TCP Data received {"connection_id":204601,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:31:10] local.INFO: Processing buffer {"connection_id":204601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:31:10] local.INFO: IMEI packet received {"connection_id":204601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":204601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:31:17] local.INFO: TCP Data received {"connection_id":204601,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:31:17] local.INFO: Processing buffer {"connection_id":204601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:31:17] local.INFO: IMEI packet received {"connection_id":204601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":204601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:31:18] local.INFO: TCP Data received {"connection_id":204601,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b80e0f0012d1b4c400724b0a0002200bc2e..."} 
[2026-10-05 15:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b80e0f0012d1b4c400724b0a0002200bc2e..."} 
[2026-10-05 15:31:18] local.INFO: Processing buffer {"connection_id":204601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b80e0f0012d1b4c400724b0a0002200bc2e..."} 
[2026-10-05 15:31:18] local.INFO: Packet analysis {"connection_id":204601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:31:18] local.INFO: Extracted packet for processing {"connection_id":204601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:31:18] local.INFO: GPS Element Parsed {"raw_longitude":756763712,"raw_latitude":119845024,"longitude_deg":75.6763712,"latitude_deg":11.9845024,"altitude":34,"angle":188,"satellites":46,"speed":0,"hex_longitude":"2d1b4c40","hex_latitude":"0724b0a0","is_valid_coordinates":true} 
[2026-10-05 15:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545755648001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25105286435962880,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967017536678567936,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791194358000,"timestamp_ms":1791194358000,"timestamp_seconds":1791194358,"priority":1,"record_length":96,"hex_timestamp":"000001a10b80e0f0"} 
[2026-10-05 15:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15: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":118,"data_length":795,"current_offset":136} 
[2026-10-05 15:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":204601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":204601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":204601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545755648001,"66":2166,"62":206,"28":31744,"24":0,"16":25105286435962880,"45":1967017536678567936},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545755648001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:31:18] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:31:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25105286435962880,"km_value":25105286435962.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967017536678567936,"description":"Unknown IO ID 45"} 
[2026-10-05 15:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545755648001,"power":2166,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1967017536678567936}} 
[2026-10-05 15:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":204601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:31:18] local.INFO: GPS data processed {"connection_id":204601,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:31:18] local.INFO: Acknowledgment sent {"connection_id":204601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:31:19] local.INFO: TCP Data received {"connection_id":204601,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b80f478012d1b43c00724aa48002200e82e..."} 
[2026-10-05 15:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b80f478012d1b43c00724aa48002200e82e..."} 
[2026-10-05 15:31:19] local.INFO: Processing buffer {"connection_id":204601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b80f478012d1b43c00724aa48002200e82e..."} 
[2026-10-05 15:31:19] local.INFO: Packet analysis {"connection_id":204601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:31:19] local.INFO: Extracted packet for processing {"connection_id":204601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:31:19] local.INFO: GPS Element Parsed {"raw_longitude":756761536,"raw_latitude":119843400,"longitude_deg":75.6761536,"latitude_deg":11.98434,"altitude":34,"angle":232,"satellites":46,"speed":0,"hex_longitude":"2d1b43c0","hex_latitude":"0724aa48","is_valid_coordinates":true} 
[2026-10-05 15:31: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-10-05 15:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545755648001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25105286435962880,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967017536678567936,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791194363000,"timestamp_ms":1791194363000,"timestamp_seconds":1791194363,"priority":1,"record_length":96,"hex_timestamp":"000001a10b80f478"} 
[2026-10-05 15:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 15:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:31: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-10-05 15:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":204601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":204601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":204601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545755648001,"66":13580,"62":206,"28":31744,"24":0,"16":25105286435962880,"45":1967017536678567936},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545755648001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:31:19] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:31:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25105286435962880,"km_value":25105286435962.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967017536678567936,"description":"Unknown IO ID 45"} 
[2026-10-05 15:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545755648001,"power":13580,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1967017536678567936}} 
[2026-10-05 15:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":204601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:31:19] local.INFO: GPS data processed {"connection_id":204601,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:31:19] local.INFO: Acknowledgment sent {"connection_id":204601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:31:31] local.INFO: TCP Data received {"connection_id":207670,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:31:31] local.INFO: Processing buffer {"connection_id":207670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:31:31] local.INFO: Packet analysis {"connection_id":207670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7f"} 
[2026-10-05 15:31:31] local.INFO: Extracted packet for processing {"connection_id":207670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7f"} 
[2026-10-05 15:31:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":23,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545647616001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9167147384439969792,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791194242000,"timestamp_ms":1791194242000,"timestamp_seconds":1791194242,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7f1bd0"} 
[2026-10-05 15:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:31: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-10-05 15:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 15:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:31: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-10-05 15:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545647616001,"66":26560,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9167147384439969792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545647616001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:31:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:31:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9167147384439969792,"description":"Unknown IO ID 45"} 
[2026-10-05 15:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545647616001,"power":26560,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9167147384439969792}} 
[2026-10-05 15:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":207670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:31:31] local.INFO: GPS data processed {"connection_id":207670,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:31:31] local.INFO: Acknowledgment sent {"connection_id":207670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:31:36] local.INFO: TCP Data received {"connection_id":206128,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206128,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:31:36] local.INFO: Processing buffer {"connection_id":206128,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:31:36] local.INFO: IMEI packet received {"connection_id":206128,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":206128,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:31:41] local.INFO: TCP Data received {"connection_id":206128,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206128,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:31:41] local.INFO: Processing buffer {"connection_id":206128,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:31:41] local.INFO: IMEI packet received {"connection_id":206128,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":206128,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:31:42] local.INFO: TCP Data received {"connection_id":206128,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:31:42] local.INFO: Processing buffer {"connection_id":206128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:31:42] local.INFO: Packet analysis {"connection_id":206128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:31:42] local.INFO: Extracted packet for processing {"connection_id":206128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:31:42] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":9,"angle":8,"satellites":33,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545665024001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173236281344,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:42] 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-10-05 15:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791194305000,"timestamp_ms":1791194305000,"timestamp_seconds":1791194305,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8011e8"} 
[2026-10-05 15:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 15:31:42] local.WARNING: Large IO value detected {"io_id":118,"raw_value":6739638137191301125,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":57774345301153590,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:42] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-5969521245945387520,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1098252494,"corrected_to":0} 
[2026-10-05 15:31:42] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":3221613741,"corrected_to":0} 
[2026-10-05 15:31:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970754560,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:42] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,118,87,24,241,157,16,65,161,214,45,179,13,41,10,66,156,1,240,149,227,11,236,4,113,205,2,140,246,192,40,239,52,5,14],"length":527,"final_offset":657,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1098252494,"validated":0},{"io_id":246,"original":3221613741,"validated":0}]} 
[2026-10-05 15:31:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720584869616287744,"timestamp_seconds":720584869616287.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 15:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545665024001,"66":13102,"95":206,"87":13824,"24":0,"16":139683636524875776,"45":8789056173236281344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-10-05 15:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545665024001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:31:42] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 15:31:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173236281344,"description":"Unknown IO ID 45"} 
[2026-10-05 15:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545665024001,"power":13102,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789056173236281344}} 
[2026-10-05 15:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":206128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:31:42] local.INFO: GPS data processed {"connection_id":206128,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:31:42] local.INFO: Acknowledgment sent {"connection_id":206128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:31:46] local.INFO: TCP Data received {"connection_id":206128,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:31:46] local.INFO: Processing buffer {"connection_id":206128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:31:46] local.INFO: Packet analysis {"connection_id":206128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:31:46] local.INFO: Extracted packet for processing {"connection_id":206128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:31:46] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":9,"angle":8,"satellites":33,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545665024001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173236281344,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:46] 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-10-05 15:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791194305000,"timestamp_ms":1791194305000,"timestamp_seconds":1791194305,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8011e8"} 
[2026-10-05 15:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 15:31:46] local.WARNING: Large IO value detected {"io_id":118,"raw_value":6739638137191301125,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":57774345301153590,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:46] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-5969521245945387520,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1098252494,"corrected_to":0} 
[2026-10-05 15:31:46] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":3221613741,"corrected_to":0} 
[2026-10-05 15:31:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970754560,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:46] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,118,87,24,241,157,16,65,161,214,45,179,13,41,10,66,156,1,240,149,227,11,236,4,113,205,2,140,246,192,40,239,52,5,14],"length":527,"final_offset":657,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1098252494,"validated":0},{"io_id":246,"original":3221613741,"validated":0}]} 
[2026-10-05 15:31:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720584869616287744,"timestamp_seconds":720584869616287.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 15:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":206128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":206128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":206128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545665024001,"66":13102,"95":206,"87":13824,"24":0,"16":139683636524875776,"45":8789056173236281344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-10-05 15:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545665024001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:31:46] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 15:31:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173236281344,"description":"Unknown IO ID 45"} 
[2026-10-05 15:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545665024001,"power":13102,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789056173236281344}} 
[2026-10-05 15:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":206128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:31:46] local.INFO: GPS data processed {"connection_id":206128,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:31:46] local.INFO: Acknowledgment sent {"connection_id":206128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:31:50] local.INFO: TCP Data received {"connection_id":204601,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b814680012d1b43c00724aa48002200e82d..."} 
[2026-10-05 15:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b814680012d1b43c00724aa48002200e82d..."} 
[2026-10-05 15:31:50] local.INFO: Processing buffer {"connection_id":204601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b814680012d1b43c00724aa48002200e82d..."} 
[2026-10-05 15:31:50] local.INFO: Packet analysis {"connection_id":204601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b81"} 
[2026-10-05 15:31:50] local.INFO: Extracted packet for processing {"connection_id":204601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b81"} 
[2026-10-05 15:31:50] local.INFO: GPS Element Parsed {"raw_longitude":756761536,"raw_latitude":119843400,"longitude_deg":75.6761536,"latitude_deg":11.98434,"altitude":34,"angle":232,"satellites":45,"speed":0,"hex_longitude":"2d1b43c0","hex_latitude":"0724aa48","is_valid_coordinates":true} 
[2026-10-05 15:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545756928001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25105286435962880,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964624999376111616,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1791194384000,"timestamp_ms":1791194384000,"timestamp_seconds":1791194384,"priority":1,"record_length":96,"hex_timestamp":"000001a10b814680"} 
[2026-10-05 15:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:31: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-10-05 15:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 15:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867808561,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:50] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3534749731,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:50] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633762871830334,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3879600334,"corrected_to":0} 
[2026-10-05 15:31:50] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:50] local.WARNING: Large IO value detected {"io_id":27,"raw_value":6719378498879750179,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:50] local.WARNING: Large IO value detected {"io_id":53,"raw_value":8719195271650659868,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:50] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755459570729201,"note":"Value kept but may cause issues"} 
[2026-10-05 15:31:50] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,62,28,24,241,158,16,49,161,224,45,64,176,34,46,10,66,1,240,118,11,36,4,113,205,15,94,92,44,239,51,2,89,7,35,27,53,124],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3879600334,"validated":0}]} 
[2026-10-05 15:31:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2450213481555689472,"timestamp_seconds":2450213481555689.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 15:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":204601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":204601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":204601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545756928001,"66":13961,"62":206,"28":31744,"24":0,"16":25105286435962880,"45":1964624999376111616},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545756928001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:31:50] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:31:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25105286435962880,"km_value":25105286435962.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964624999376111616,"description":"Unknown IO ID 45"} 
[2026-10-05 15:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545756928001,"power":13961,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1964624999376111616}} 
[2026-10-05 15:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":204601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:31:51] local.INFO: GPS data processed {"connection_id":204601,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:31:51] local.INFO: Acknowledgment sent {"connection_id":204601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:32:00] local.INFO: TCP Data received {"connection_id":204725,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:32:00] local.INFO: Processing buffer {"connection_id":204725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:32:00] local.INFO: IMEI packet received {"connection_id":204725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":204725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:32:05] local.INFO: TCP Data received {"connection_id":204725,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:32:05] local.INFO: Processing buffer {"connection_id":204725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:32:05] local.INFO: IMEI packet received {"connection_id":204725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":204725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:32:05] local.INFO: TCP Data received {"connection_id":204725,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:32:05] local.INFO: Processing buffer {"connection_id":204725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:32:05] local.INFO: Packet analysis {"connection_id":204725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7f"} 
[2026-10-05 15:32:05] local.INFO: Extracted packet for processing {"connection_id":204725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7f"} 
[2026-10-05 15:32:05] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":23,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545647616001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9167147384439969792,"note":"Value kept but may cause issues"} 
[2026-10-05 15:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791194242000,"timestamp_ms":1791194242000,"timestamp_seconds":1791194242,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7f1bd0"} 
[2026-10-05 15:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:32: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-10-05 15: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 15:32: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-10-05 15: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-10-05 15:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:32: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-10-05 15:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545647616001,"66":26560,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9167147384439969792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545647616001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:32:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:32:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9167147384439969792,"description":"Unknown IO ID 45"} 
[2026-10-05 15:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545647616001,"power":26560,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9167147384439969792}} 
[2026-10-05 15:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":204725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:32:05] local.INFO: GPS data processed {"connection_id":204725,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:32:05] local.INFO: Acknowledgment sent {"connection_id":204725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:32:05] local.INFO: TCP Data received {"connection_id":207671,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:32:05] local.INFO: Processing buffer {"connection_id":207671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:32:05] local.INFO: IMEI packet received {"connection_id":207671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":207671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:32:10] local.INFO: TCP Data received {"connection_id":207671,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:32:10] local.INFO: Processing buffer {"connection_id":207671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:32:10] local.INFO: IMEI packet received {"connection_id":207671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":207671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:32:10] local.INFO: TCP Data received {"connection_id":204725,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:32:10] local.INFO: Processing buffer {"connection_id":204725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:32:10] local.INFO: Packet analysis {"connection_id":204725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7f"} 
[2026-10-05 15:32:10] local.INFO: Extracted packet for processing {"connection_id":204725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7f"} 
[2026-10-05 15:32:10] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":23,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545647616001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9167147384439969792,"note":"Value kept but may cause issues"} 
[2026-10-05 15:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791194242000,"timestamp_ms":1791194242000,"timestamp_seconds":1791194242,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7f1bd0"} 
[2026-10-05 15:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:32: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-10-05 15:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 15:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545647616001,"66":26560,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9167147384439969792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545647616001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:32:10] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:32:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9167147384439969792,"description":"Unknown IO ID 45"} 
[2026-10-05 15:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545647616001,"power":26560,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9167147384439969792}} 
[2026-10-05 15:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":204725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:32:10] local.INFO: GPS data processed {"connection_id":204725,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:32:10] local.INFO: Acknowledgment sent {"connection_id":204725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:32:11] local.INFO: TCP Data received {"connection_id":207671,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b819888012d1b47000724ab70002d00e82c..."} 
[2026-10-05 15:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b819888012d1b47000724ab70002d00e82c..."} 
[2026-10-05 15:32:11] local.INFO: Processing buffer {"connection_id":207671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b819888012d1b47000724ab70002d00e82c..."} 
[2026-10-05 15:32:11] local.INFO: Packet analysis {"connection_id":207671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b81"} 
[2026-10-05 15:32:11] local.INFO: Extracted packet for processing {"connection_id":207671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b81"} 
[2026-10-05 15:32:11] local.INFO: GPS Element Parsed {"raw_longitude":756762368,"raw_latitude":119843696,"longitude_deg":75.6762368,"latitude_deg":11.9843696,"altitude":45,"angle":232,"satellites":44,"speed":0,"hex_longitude":"2d1b4700","hex_latitude":"0724ab70","is_valid_coordinates":true} 
[2026-10-05 15:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545762304001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25105333680603136,"note":"Value kept but may cause issues"} 
[2026-10-05 15:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964624999376111616,"note":"Value kept but may cause issues"} 
[2026-10-05 15:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791194405000,"timestamp_ms":1791194405000,"timestamp_seconds":1791194405,"priority":1,"record_length":96,"hex_timestamp":"000001a10b819888"} 
[2026-10-05 15:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-05 15:32:11] 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-10-05 15:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545762304001,"66":14243,"62":206,"28":31744,"24":0,"16":25105333680603136,"45":1964624999376111616},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545762304001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:32:11] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:32:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25105333680603136,"km_value":25105333680603.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964624999376111616,"description":"Unknown IO ID 45"} 
[2026-10-05 15:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545762304001,"power":14243,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1964624999376111616}} 
[2026-10-05 15:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":207671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:32:11] local.INFO: GPS data processed {"connection_id":207671,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:32:11] local.INFO: Acknowledgment sent {"connection_id":207671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:32:31] local.INFO: TCP Data received {"connection_id":206129,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:32:31] local.INFO: Processing buffer {"connection_id":206129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:32:31] local.INFO: IMEI packet received {"connection_id":206129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":206129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:32:36] local.INFO: TCP Data received {"connection_id":206129,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:32:36] local.INFO: Processing buffer {"connection_id":206129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:32:36] local.INFO: IMEI packet received {"connection_id":206129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":206129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:32:37] local.INFO: TCP Data received {"connection_id":206129,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:32:37] local.INFO: Processing buffer {"connection_id":206129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:32:37] local.INFO: Packet analysis {"connection_id":206129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:32:37] local.INFO: Extracted packet for processing {"connection_id":206129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:32:37] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":9,"angle":8,"satellites":33,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545665024001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173236281344,"note":"Value kept but may cause issues"} 
[2026-10-05 15:32:37] 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-10-05 15:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791194305000,"timestamp_ms":1791194305000,"timestamp_seconds":1791194305,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8011e8"} 
[2026-10-05 15:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 15:32:37] local.WARNING: Large IO value detected {"io_id":118,"raw_value":6739638137191301125,"note":"Value kept but may cause issues"} 
[2026-10-05 15:32:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 15:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":57774345301153590,"note":"Value kept but may cause issues"} 
[2026-10-05 15:32:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 15:32:37] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-5969521245945387520,"note":"Value kept but may cause issues"} 
[2026-10-05 15:32:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1098252494,"corrected_to":0} 
[2026-10-05 15:32:37] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":3221613741,"corrected_to":0} 
[2026-10-05 15:32:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970754560,"note":"Value kept but may cause issues"} 
[2026-10-05 15:32:37] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,118,87,24,241,157,16,65,161,214,45,179,13,41,10,66,156,1,240,149,227,11,236,4,113,205,2,140,246,192,40,239,52,5,14],"length":527,"final_offset":657,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1098252494,"validated":0},{"io_id":246,"original":3221613741,"validated":0}]} 
[2026-10-05 15:32:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720584869616287744,"timestamp_seconds":720584869616287.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 15:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545665024001,"66":13102,"95":206,"87":13824,"24":0,"16":139683636524875776,"45":8789056173236281344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-10-05 15:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545665024001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:32:37] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 15:32:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173236281344,"description":"Unknown IO ID 45"} 
[2026-10-05 15:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545665024001,"power":13102,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789056173236281344}} 
[2026-10-05 15:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":206129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:32:37] local.INFO: GPS data processed {"connection_id":206129,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:32:37] local.INFO: Acknowledgment sent {"connection_id":206129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:32:42] local.INFO: TCP Data received {"connection_id":207671,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b831758012d1a69c0072404e8002c00ea2a..."} 
[2026-10-05 15:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b831758012d1a69c0072404e8002c00ea2a..."} 
[2026-10-05 15:32:42] local.INFO: Processing buffer {"connection_id":207671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b831758012d1a69c0072404e8002c00ea2a..."} 
[2026-10-05 15:32:42] local.INFO: Packet analysis {"connection_id":207671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b83"} 
[2026-10-05 15:32:42] local.INFO: Extracted packet for processing {"connection_id":207671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b83"} 
[2026-10-05 15:32:42] local.INFO: GPS Element Parsed {"raw_longitude":756705728,"raw_latitude":119801064,"longitude_deg":75.6705728,"latitude_deg":11.9801064,"altitude":44,"angle":234,"satellites":42,"speed":35,"hex_longitude":"2d1a69c0","hex_latitude":"072404e8","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545790720001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25108795424243712,"note":"Value kept but may cause issues"} 
[2026-10-05 15:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1909596641419202560,"note":"Value kept but may cause issues"} 
[2026-10-05 15:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791194503000,"timestamp_ms":1791194503000,"timestamp_seconds":1791194503,"priority":1,"record_length":96,"hex_timestamp":"000001a10b831758"} 
[2026-10-05 15:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-10-05 15:32:42] 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-10-05 15: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-10-05 15:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545790720001,"66":14243,"112":206,"28":31744,"24":35,"16":25108795424243712,"45":1909596641419202560},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-10-05 15:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545790720001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:32:42] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-10-05 15:32:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25108795424243712,"km_value":25108795424243.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1909596641419202560,"description":"Unknown IO ID 45"} 
[2026-10-05 15:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545790720001,"power":14243,"unknown_112":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1909596641419202560}} 
[2026-10-05 15:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":207671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:32:43] local.INFO: GPS data processed {"connection_id":207671,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:32:43] local.INFO: Acknowledgment sent {"connection_id":207671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:32:54] local.INFO: TCP Data received {"connection_id":206131,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:32:54] local.INFO: Processing buffer {"connection_id":206131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:32:54] local.INFO: IMEI packet received {"connection_id":206131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":206131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:32:59] local.INFO: TCP Data received {"connection_id":206131,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:32:59] local.INFO: Processing buffer {"connection_id":206131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:32:59] local.INFO: IMEI packet received {"connection_id":206131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":206131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:33:00] local.INFO: TCP Data received {"connection_id":206131,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:33:00] local.INFO: Processing buffer {"connection_id":206131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b7f1bd0012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:33:00] local.INFO: Packet analysis {"connection_id":206131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b7f"} 
[2026-10-05 15:33:00] local.INFO: Extracted packet for processing {"connection_id":206131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b7f"} 
[2026-10-05 15:33:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":23,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545647616001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9167147384439969792,"note":"Value kept but may cause issues"} 
[2026-10-05 15:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791194242000,"timestamp_ms":1791194242000,"timestamp_seconds":1791194242,"priority":1,"record_length":96,"hex_timestamp":"000001a10b7f1bd0"} 
[2026-10-05 15:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:33: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-10-05 15:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 15:33: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-10-05 15:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:33: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-10-05 15:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545647616001,"66":26560,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9167147384439969792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545647616001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:33:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:33:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9167147384439969792,"description":"Unknown IO ID 45"} 
[2026-10-05 15:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545647616001,"power":26560,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9167147384439969792}} 
[2026-10-05 15:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":206131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:33:00] local.INFO: GPS data processed {"connection_id":206131,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:33:00] local.INFO: Acknowledgment sent {"connection_id":206131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:33:03] local.INFO: TCP Data received {"connection_id":207672,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:33:03] local.INFO: Processing buffer {"connection_id":207672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:33:03] local.INFO: IMEI packet received {"connection_id":207672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":207672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:33:05] local.INFO: TCP Data received {"connection_id":207672,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:33:05] local.INFO: Processing buffer {"connection_id":207672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:33:05] local.INFO: IMEI packet received {"connection_id":207672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":207672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:33:08] local.INFO: TCP Data received {"connection_id":206129,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:33:08] local.INFO: Processing buffer {"connection_id":206129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8011e8012d79f90005ecb3e00009000821..."} 
[2026-10-05 15:33:08] local.INFO: Packet analysis {"connection_id":206129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:33:08] local.INFO: Extracted packet for processing {"connection_id":206129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b80"} 
[2026-10-05 15:33:08] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":9,"angle":8,"satellites":33,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545665024001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173236281344,"note":"Value kept but may cause issues"} 
[2026-10-05 15:33:08] 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-10-05 15:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791194305000,"timestamp_ms":1791194305000,"timestamp_seconds":1791194305,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8011e8"} 
[2026-10-05 15:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:33: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-10-05 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 15:33:08] local.WARNING: Large IO value detected {"io_id":118,"raw_value":6739638137191301125,"note":"Value kept but may cause issues"} 
[2026-10-05 15:33:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 15:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":57774345301153590,"note":"Value kept but may cause issues"} 
[2026-10-05 15:33:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 15:33:08] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-5969521245945387520,"note":"Value kept but may cause issues"} 
[2026-10-05 15:33:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1098252494,"corrected_to":0} 
[2026-10-05 15:33:08] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":3221613741,"corrected_to":0} 
[2026-10-05 15:33:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970754560,"note":"Value kept but may cause issues"} 
[2026-10-05 15:33:08] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,118,87,24,241,157,16,65,161,214,45,179,13,41,10,66,156,1,240,149,227,11,236,4,113,205,2,140,246,192,40,239,52,5,14],"length":527,"final_offset":657,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1098252494,"validated":0},{"io_id":246,"original":3221613741,"validated":0}]} 
[2026-10-05 15:33:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720584869616287744,"timestamp_seconds":720584869616287.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 15:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545665024001,"66":13102,"95":206,"87":13824,"24":0,"16":139683636524875776,"45":8789056173236281344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-10-05 15:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545665024001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:33:08] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 15:33:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173236281344,"description":"Unknown IO ID 45"} 
[2026-10-05 15:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545665024001,"power":13102,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789056173236281344}} 
[2026-10-05 15:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":206129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:33:08] local.INFO: GPS data processed {"connection_id":206129,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:33:08] local.INFO: Acknowledgment sent {"connection_id":206129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:33:10] local.INFO: TCP Data received {"connection_id":207672,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:33:10] local.INFO: Processing buffer {"connection_id":207672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:33:10] local.INFO: IMEI packet received {"connection_id":207672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":207672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:33:12] local.INFO: TCP Data received {"connection_id":207672,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8326f8012d1a60800723fc90002b00de2a..."} 
[2026-10-05 15:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8326f8012d1a60800723fc90002b00de2a..."} 
[2026-10-05 15:33:12] local.INFO: Processing buffer {"connection_id":207672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8326f8012d1a60800723fc90002b00de2a..."} 
[2026-10-05 15:33:12] local.INFO: Packet analysis {"connection_id":207672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b83"} 
[2026-10-05 15:33:12] local.INFO: Extracted packet for processing {"connection_id":207672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b83"} 
[2026-10-05 15:33:12] local.INFO: GPS Element Parsed {"raw_longitude":756703360,"raw_latitude":119798928,"longitude_deg":75.670336,"latitude_deg":11.9798928,"altitude":43,"angle":222,"satellites":42,"speed":27,"hex_longitude":"2d1a6080","hex_latitude":"0723fc90","is_valid_coordinates":true} 
[2026-10-05 15:33: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-10-05 15:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545792768001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25108950043066368,"note":"Value kept but may cause issues"} 
[2026-10-05 15:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903263454442350592,"note":"Value kept but may cause issues"} 
[2026-10-05 15:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791194507000,"timestamp_ms":1791194507000,"timestamp_seconds":1791194507,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8326f8"} 
[2026-10-05 15:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:33: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-10-05 15:33: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":163,"data_length":795,"current_offset":136} 
[2026-10-05 15:33:12] 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-10-05 15:33: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-10-05 15:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":207672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":207672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":207672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545792768001,"66":14298,"112":206,"28":31744,"24":27,"16":25108950043066368,"45":1903263454442350592},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-10-05 15:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545792768001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:33:12] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-10-05 15:33:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25108950043066368,"km_value":25108950043066.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903263454442350592,"description":"Unknown IO ID 45"} 
[2026-10-05 15:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545792768001,"power":14298,"unknown_112":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1903263454442350592}} 
[2026-10-05 15:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":207672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:33:12] local.INFO: GPS data processed {"connection_id":207672,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:33:12] local.INFO: Acknowledgment sent {"connection_id":207672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:33:31] local.INFO: TCP Data received {"connection_id":204726,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204726,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:33:31] local.INFO: Processing buffer {"connection_id":204726,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:33:31] local.INFO: IMEI packet received {"connection_id":204726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":204726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:33:32] local.INFO: TCP Data received {"connection_id":206131,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:33:32] local.INFO: Processing buffer {"connection_id":206131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:33:32] local.INFO: Packet analysis {"connection_id":206131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b83"} 
[2026-10-05 15:33:32] local.INFO: Extracted packet for processing {"connection_id":206131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b83"} 
[2026-10-05 15:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":23,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545725952001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791194543000,"timestamp_ms":1791194543000,"timestamp_seconds":1791194543,"priority":1,"record_length":96,"hex_timestamp":"000001a10b83b398"} 
[2026-10-05 15:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:33:32] 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-10-05 15:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-05 15:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:33: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-10-05 15:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545725952001,"66":26321,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545725952001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:33:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:33:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545725952001,"power":26321,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":206131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:33:32] local.INFO: GPS data processed {"connection_id":206131,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:33:32] local.INFO: Acknowledgment sent {"connection_id":206131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:33:36] local.INFO: TCP Data received {"connection_id":204726,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204726,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:33:36] local.INFO: Processing buffer {"connection_id":204726,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:33:36] local.INFO: IMEI packet received {"connection_id":204726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":204726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:33:37] local.INFO: TCP Data received {"connection_id":204726,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:33:37] local.INFO: Processing buffer {"connection_id":204726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:33:37] local.INFO: Packet analysis {"connection_id":204726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:33:37] local.INFO: Extracted packet for processing {"connection_id":204726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:33:37] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":9,"angle":8,"satellites":37,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545742080001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173236281344,"note":"Value kept but may cause issues"} 
[2026-10-05 15:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791194606000,"timestamp_ms":1791194606000,"timestamp_seconds":1791194606,"priority":1,"record_length":96,"hex_timestamp":"000001a10b84a9b0"} 
[2026-10-05 15:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-05 15:33:37] 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-10-05 15:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545742080001,"66":13091,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8789056173236281344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545742080001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:33:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:33:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173236281344,"description":"Unknown IO ID 45"} 
[2026-10-05 15:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545742080001,"power":13091,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789056173236281344}} 
[2026-10-05 15:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":204726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:33:37] local.INFO: GPS data processed {"connection_id":204726,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:33:37] local.INFO: Acknowledgment sent {"connection_id":204726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:33:43] local.INFO: TCP Data received {"connection_id":207672,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b833e68012d1a56400723ef58002b00d328..."} 
[2026-10-05 15:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b833e68012d1a56400723ef58002b00d328..."} 
[2026-10-05 15:33:43] local.INFO: Processing buffer {"connection_id":207672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b833e68012d1a56400723ef58002b00d328..."} 
[2026-10-05 15:33:43] local.INFO: Packet analysis {"connection_id":207672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b83"} 
[2026-10-05 15:33:43] local.INFO: Extracted packet for processing {"connection_id":207672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b83"} 
[2026-10-05 15:33:43] local.INFO: GPS Element Parsed {"raw_longitude":756700736,"raw_latitude":119795544,"longitude_deg":75.6700736,"latitude_deg":11.9795544,"altitude":43,"angle":211,"satellites":40,"speed":29,"hex_longitude":"2d1a5640","hex_latitude":"0723ef58","is_valid_coordinates":true} 
[2026-10-05 15:33: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-10-05 15:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545793792001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25109156201496576,"note":"Value kept but may cause issues"} 
[2026-10-05 15:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900659810907230208,"note":"Value kept but may cause issues"} 
[2026-10-05 15:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791194513000,"timestamp_ms":1791194513000,"timestamp_seconds":1791194513,"priority":1,"record_length":96,"hex_timestamp":"000001a10b833e68"} 
[2026-10-05 15:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:33: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":218,"data_length":795,"current_offset":136} 
[2026-10-05 15:33:43] 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-10-05 15:33: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-10-05 15:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545793792001,"66":14265,"112":206,"28":31744,"24":29,"16":25109156201496576,"45":1900659810907230208},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-10-05 15:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545793792001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:33:43] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-10-05 15:33:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25109156201496576,"km_value":25109156201496.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900659810907230208,"description":"Unknown IO ID 45"} 
[2026-10-05 15:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545793792001,"power":14265,"unknown_112":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1900659810907230208}} 
[2026-10-05 15:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":207672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:33:43] local.INFO: GPS data processed {"connection_id":207672,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:33:43] local.INFO: Acknowledgment sent {"connection_id":207672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:33:54] local.INFO: TCP Data received {"connection_id":206132,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:33:54] local.INFO: Processing buffer {"connection_id":206132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:33:54] local.INFO: IMEI packet received {"connection_id":206132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":206132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:34:00] local.INFO: TCP Data received {"connection_id":206132,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:34:00] local.INFO: Processing buffer {"connection_id":206132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:34:00] local.INFO: IMEI packet received {"connection_id":206132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":206132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:34:00] local.INFO: TCP Data received {"connection_id":206132,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:34:00] local.INFO: Processing buffer {"connection_id":206132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:34:00] local.INFO: Packet analysis {"connection_id":206132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b83"} 
[2026-10-05 15:34:00] local.INFO: Extracted packet for processing {"connection_id":206132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b83"} 
[2026-10-05 15:34:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":23,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545725952001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791194543000,"timestamp_ms":1791194543000,"timestamp_seconds":1791194543,"priority":1,"record_length":96,"hex_timestamp":"000001a10b83b398"} 
[2026-10-05 15:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:34:00] 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-10-05 15: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-05 15:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:34: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-10-05 15:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545725952001,"66":26321,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545725952001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:34:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:34:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545725952001,"power":26321,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":206132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:34:00] local.INFO: GPS data processed {"connection_id":206132,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:34:00] local.INFO: Acknowledgment sent {"connection_id":206132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:34:05] local.INFO: TCP Data received {"connection_id":207673,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:34:05] local.INFO: Processing buffer {"connection_id":207673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:34:05] local.INFO: IMEI packet received {"connection_id":207673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":207673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:34:08] local.INFO: TCP Data received {"connection_id":204726,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:34:08] local.INFO: Processing buffer {"connection_id":204726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:34:08] local.INFO: Packet analysis {"connection_id":204726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:34:08] local.INFO: Extracted packet for processing {"connection_id":204726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:34:08] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":9,"angle":8,"satellites":37,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545742080001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173236281344,"note":"Value kept but may cause issues"} 
[2026-10-05 15:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791194606000,"timestamp_ms":1791194606000,"timestamp_seconds":1791194606,"priority":1,"record_length":96,"hex_timestamp":"000001a10b84a9b0"} 
[2026-10-05 15:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:34: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-10-05 15: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-05 15:34: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-10-05 15: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-10-05 15:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545742080001,"66":13091,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8789056173236281344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545742080001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:34:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:34:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173236281344,"description":"Unknown IO ID 45"} 
[2026-10-05 15:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545742080001,"power":13091,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789056173236281344}} 
[2026-10-05 15:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":204726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:34:08] local.INFO: GPS data processed {"connection_id":204726,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:34:08] local.INFO: Acknowledgment sent {"connection_id":204726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:34:10] local.INFO: TCP Data received {"connection_id":207673,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:34:10] local.INFO: Processing buffer {"connection_id":207673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:34:10] local.INFO: IMEI packet received {"connection_id":207673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":207673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:34:11] local.INFO: TCP Data received {"connection_id":207673,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8453c0012d196b80072388a8003f00de24..."} 
[2026-10-05 15:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8453c0012d196b80072388a8003f00de24..."} 
[2026-10-05 15:34:11] local.INFO: Processing buffer {"connection_id":207673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8453c0012d196b80072388a8003f00de24..."} 
[2026-10-05 15:34:11] local.INFO: Packet analysis {"connection_id":207673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:34:11] local.INFO: Extracted packet for processing {"connection_id":207673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:34:11] local.INFO: GPS Element Parsed {"raw_longitude":756640640,"raw_latitude":119769256,"longitude_deg":75.664064,"latitude_deg":11.9769256,"altitude":63,"angle":222,"satellites":36,"speed":29,"hex_longitude":"2d196b80","hex_latitude":"072388a8","is_valid_coordinates":true} 
[2026-10-05 15:34: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-10-05 15:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545812480001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25112467621281792,"note":"Value kept but may cause issues"} 
[2026-10-05 15:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834090978908051456,"note":"Value kept but may cause issues"} 
[2026-10-05 15:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791194584000,"timestamp_ms":1791194584000,"timestamp_seconds":1791194584,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8453c0"} 
[2026-10-05 15:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:34: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-10-05 15:34: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-10-05 15:34:11] 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-10-05 15:34: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-10-05 15:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545812480001,"66":14070,"112":206,"28":31744,"24":29,"16":25112467621281792,"45":1834090978908051456},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-10-05 15:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545812480001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:34:11] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-10-05 15:34:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25112467621281792,"km_value":25112467621281.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834090978908051456,"description":"Unknown IO ID 45"} 
[2026-10-05 15:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545812480001,"power":14070,"unknown_112":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1834090978908051456}} 
[2026-10-05 15:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":207673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:34:11] local.INFO: GPS data processed {"connection_id":207673,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:34:11] local.INFO: Acknowledgment sent {"connection_id":207673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:34:30] local.INFO: TCP Data received {"connection_id":204728,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:34:30] local.INFO: Processing buffer {"connection_id":204728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:34:30] local.INFO: IMEI packet received {"connection_id":204728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":204728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:34:32] local.INFO: TCP Data received {"connection_id":206132,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:34:32] local.INFO: Processing buffer {"connection_id":206132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:34:32] local.INFO: Packet analysis {"connection_id":206132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b83"} 
[2026-10-05 15:34:32] local.INFO: Extracted packet for processing {"connection_id":206132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b83"} 
[2026-10-05 15:34:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":23,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545725952001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791194543000,"timestamp_ms":1791194543000,"timestamp_seconds":1791194543,"priority":1,"record_length":96,"hex_timestamp":"000001a10b83b398"} 
[2026-10-05 15:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:34:32] 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-10-05 15:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-05 15:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:34: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-10-05 15:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545725952001,"66":26321,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545725952001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:34:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:34:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545725952001,"power":26321,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":206132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:34:32] local.INFO: GPS data processed {"connection_id":206132,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:34:32] local.INFO: Acknowledgment sent {"connection_id":206132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:34:36] local.INFO: TCP Data received {"connection_id":204728,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:34:36] local.INFO: Processing buffer {"connection_id":204728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:34:36] local.INFO: IMEI packet received {"connection_id":204728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":204728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:34:37] local.INFO: TCP Data received {"connection_id":204728,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:34:37] local.INFO: Processing buffer {"connection_id":204728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:34:37] local.INFO: Packet analysis {"connection_id":204728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:34:37] local.INFO: Extracted packet for processing {"connection_id":204728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:34:37] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":9,"angle":8,"satellites":37,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545742080001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173236281344,"note":"Value kept but may cause issues"} 
[2026-10-05 15:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791194606000,"timestamp_ms":1791194606000,"timestamp_seconds":1791194606,"priority":1,"record_length":96,"hex_timestamp":"000001a10b84a9b0"} 
[2026-10-05 15:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-05 15:34:37] 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-10-05 15:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545742080001,"66":13091,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8789056173236281344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545742080001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:34:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:34:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173236281344,"description":"Unknown IO ID 45"} 
[2026-10-05 15:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545742080001,"power":13091,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789056173236281344}} 
[2026-10-05 15:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":204728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968217,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:34:37] local.INFO: GPS data processed {"connection_id":204728,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:34:37] local.INFO: Acknowledgment sent {"connection_id":204728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:34:42] local.INFO: TCP Data received {"connection_id":207673,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b846b30012d1960c007237a80004100d122..."} 
[2026-10-05 15:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b846b30012d1960c007237a80004100d122..."} 
[2026-10-05 15:34:42] local.INFO: Processing buffer {"connection_id":207673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b846b30012d1960c007237a80004100d122..."} 
[2026-10-05 15:34:42] local.INFO: Packet analysis {"connection_id":207673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:34:42] local.INFO: Extracted packet for processing {"connection_id":207673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:34:42] local.INFO: GPS Element Parsed {"raw_longitude":756637888,"raw_latitude":119765632,"longitude_deg":75.6637888,"latitude_deg":11.9765632,"altitude":65,"angle":209,"satellites":34,"speed":30,"hex_longitude":"2d1960c0","hex_latitude":"07237a80","is_valid_coordinates":true} 
[2026-10-05 15:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545813504001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25112686664613888,"note":"Value kept but may cause issues"} 
[2026-10-05 15:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831698441605523456,"note":"Value kept but may cause issues"} 
[2026-10-05 15:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791194590000,"timestamp_ms":1791194590000,"timestamp_seconds":1791194590,"priority":1,"record_length":96,"hex_timestamp":"000001a10b846b30"} 
[2026-10-05 15:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 15:34:42] 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-10-05 15:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545813504001,"66":14048,"112":206,"28":31744,"24":30,"16":25112686664613888,"45":1831698441605523456},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-10-05 15:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545813504001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:34:42] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-10-05 15:34:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25112686664613888,"km_value":25112686664613.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831698441605523456,"description":"Unknown IO ID 45"} 
[2026-10-05 15:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545813504001,"power":14048,"unknown_112":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1831698441605523456}} 
[2026-10-05 15:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":207673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:34:43] local.INFO: GPS data processed {"connection_id":207673,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:34:43] local.INFO: Acknowledgment sent {"connection_id":207673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:34:54] local.INFO: TCP Data received {"connection_id":204730,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:34:54] local.INFO: Processing buffer {"connection_id":204730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:34:54] local.INFO: IMEI packet received {"connection_id":204730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":204730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:34:59] local.INFO: TCP Data received {"connection_id":204730,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:34:59] local.INFO: Processing buffer {"connection_id":204730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:34:59] local.INFO: IMEI packet received {"connection_id":204730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":204730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:35:00] local.INFO: TCP Data received {"connection_id":204730,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:35:00] local.INFO: Processing buffer {"connection_id":204730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:35:00] local.INFO: Packet analysis {"connection_id":204730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b83"} 
[2026-10-05 15:35:00] local.INFO: Extracted packet for processing {"connection_id":204730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b83"} 
[2026-10-05 15:35:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":23,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 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-10-05 15:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545725952001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791194543000,"timestamp_ms":1791194543000,"timestamp_seconds":1791194543,"priority":1,"record_length":96,"hex_timestamp":"000001a10b83b398"} 
[2026-10-05 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-10-05 15:35:00] 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-10-05 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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-05 15:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 15:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:35: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-10-05 15:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545725952001,"66":26321,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545725952001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:35:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:35:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545725952001,"power":26321,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":204730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:35:00] local.INFO: GPS data processed {"connection_id":204730,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:35:00] local.INFO: Acknowledgment sent {"connection_id":204730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:35:05] local.INFO: TCP Data received {"connection_id":204731,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:35:05] local.INFO: Processing buffer {"connection_id":204731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:35:05] local.INFO: IMEI packet received {"connection_id":204731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":204731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:35:08] local.INFO: TCP Data received {"connection_id":204728,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:35:08] local.INFO: Processing buffer {"connection_id":204728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:35:08] local.INFO: Packet analysis {"connection_id":204728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:35:08] local.INFO: Extracted packet for processing {"connection_id":204728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:35:08] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":9,"angle":8,"satellites":37,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545742080001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173236281344,"note":"Value kept but may cause issues"} 
[2026-10-05 15:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791194606000,"timestamp_ms":1791194606000,"timestamp_seconds":1791194606,"priority":1,"record_length":96,"hex_timestamp":"000001a10b84a9b0"} 
[2026-10-05 15:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:35: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-10-05 15:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-05 15:35: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-10-05 15:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545742080001,"66":13091,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8789056173236281344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545742080001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:35:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:35:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173236281344,"description":"Unknown IO ID 45"} 
[2026-10-05 15:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545742080001,"power":13091,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789056173236281344}} 
[2026-10-05 15:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":204728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:35:08] local.INFO: GPS data processed {"connection_id":204728,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:35:08] local.INFO: Acknowledgment sent {"connection_id":204728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:35:10] local.INFO: TCP Data received {"connection_id":204731,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:35:10] local.INFO: Processing buffer {"connection_id":204731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:35:10] local.INFO: IMEI packet received {"connection_id":204731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":204731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:35:12] local.INFO: TCP Data received {"connection_id":204731,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b849628012d194fc007235bf8004600d21e..."} 
[2026-10-05 15:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b849628012d194fc007235bf8004600d21e..."} 
[2026-10-05 15:35:12] local.INFO: Processing buffer {"connection_id":204731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b849628012d194fc007235bf8004600d21e..."} 
[2026-10-05 15:35:12] local.INFO: Packet analysis {"connection_id":204731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:35:12] local.INFO: Extracted packet for processing {"connection_id":204731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:35:12] local.INFO: GPS Element Parsed {"raw_longitude":756633536,"raw_latitude":119757816,"longitude_deg":75.6633536,"latitude_deg":11.9757816,"altitude":70,"angle":210,"satellites":30,"speed":34,"hex_longitude":"2d194fc0","hex_latitude":"07235bf8","is_valid_coordinates":true} 
[2026-10-05 15:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545815040001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25113120456310784,"note":"Value kept but may cause issues"} 
[2026-10-05 15:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828672585604956160,"note":"Value kept but may cause issues"} 
[2026-10-05 15:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791194601000,"timestamp_ms":1791194601000,"timestamp_seconds":1791194601,"priority":1,"record_length":96,"hex_timestamp":"000001a10b849628"} 
[2026-10-05 15:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-05 15:35:12] 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-10-05 15:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545815040001,"66":13993,"112":206,"28":31744,"24":34,"16":25113120456310784,"45":1828672585604956160},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-10-05 15:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545815040001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:35:12] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-10-05 15:35:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25113120456310784,"km_value":25113120456310.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828672585604956160,"description":"Unknown IO ID 45"} 
[2026-10-05 15:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545815040001,"power":13993,"unknown_112":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1828672585604956160}} 
[2026-10-05 15:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":204731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:35:12] local.INFO: GPS data processed {"connection_id":204731,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:35:12] local.INFO: Acknowledgment sent {"connection_id":204731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:35:30] local.INFO: TCP Data received {"connection_id":207675,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:35:30] local.INFO: Processing buffer {"connection_id":207675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:35:30] local.INFO: IMEI packet received {"connection_id":207675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":207675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:35:33] local.INFO: TCP Data received {"connection_id":204730,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:35:33] local.INFO: Processing buffer {"connection_id":204730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:35:33] local.INFO: Packet analysis {"connection_id":204730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b83"} 
[2026-10-05 15:35:33] local.INFO: Extracted packet for processing {"connection_id":204730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b83"} 
[2026-10-05 15:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":23,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545725952001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791194543000,"timestamp_ms":1791194543000,"timestamp_seconds":1791194543,"priority":1,"record_length":96,"hex_timestamp":"000001a10b83b398"} 
[2026-10-05 15:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:35:33] 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-10-05 15: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-05 15:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545725952001,"66":26321,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545725952001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:35:33] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:35:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545725952001,"power":26321,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":204730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:35:33] local.INFO: GPS data processed {"connection_id":204730,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:35:33] local.INFO: Acknowledgment sent {"connection_id":204730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:35:36] local.INFO: TCP Data received {"connection_id":207675,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:35:36] local.INFO: Processing buffer {"connection_id":207675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:35:36] local.INFO: IMEI packet received {"connection_id":207675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":207675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:35:37] local.INFO: TCP Data received {"connection_id":207675,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:35:37] local.INFO: Processing buffer {"connection_id":207675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:35:37] local.INFO: Packet analysis {"connection_id":207675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:35:37] local.INFO: Extracted packet for processing {"connection_id":207675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:35:37] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":9,"angle":8,"satellites":37,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545742080001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173236281344,"note":"Value kept but may cause issues"} 
[2026-10-05 15:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791194606000,"timestamp_ms":1791194606000,"timestamp_seconds":1791194606,"priority":1,"record_length":96,"hex_timestamp":"000001a10b84a9b0"} 
[2026-10-05 15:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-05 15:35:37] 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-10-05 15:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545742080001,"66":13091,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8789056173236281344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545742080001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:35:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:35:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173236281344,"description":"Unknown IO ID 45"} 
[2026-10-05 15:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545742080001,"power":13091,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789056173236281344}} 
[2026-10-05 15:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":207675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:35:37] local.INFO: GPS data processed {"connection_id":207675,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:35:37] local.INFO: Acknowledgment sent {"connection_id":207675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:35:43] local.INFO: TCP Data received {"connection_id":204731,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b84c120012d19390007233d90004c00dc25..."} 
[2026-10-05 15:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b84c120012d19390007233d90004c00dc25..."} 
[2026-10-05 15:35:43] local.INFO: Processing buffer {"connection_id":204731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b84c120012d19390007233d90004c00dc25..."} 
[2026-10-05 15:35:43] local.INFO: Packet analysis {"connection_id":204731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:35:43] local.INFO: Extracted packet for processing {"connection_id":204731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:35:43] local.INFO: GPS Element Parsed {"raw_longitude":756627712,"raw_latitude":119750032,"longitude_deg":75.6627712,"latitude_deg":11.9750032,"altitude":76,"angle":220,"satellites":37,"speed":36,"hex_longitude":"2d193900","hex_latitude":"07233d90","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545817856001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25113588607746048,"note":"Value kept but may cause issues"} 
[2026-10-05 15:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823887510998874112,"note":"Value kept but may cause issues"} 
[2026-10-05 15:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791194612000,"timestamp_ms":1791194612000,"timestamp_seconds":1791194612,"priority":1,"record_length":96,"hex_timestamp":"000001a10b84c120"} 
[2026-10-05 15:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 15:35:43] 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-10-05 15: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-10-05 15:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545817856001,"66":12385,"62":206,"28":31744,"24":36,"16":25113588607746048,"45":1823887510998874112},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545817856001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:35:43] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:35:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25113588607746048,"km_value":25113588607746.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823887510998874112,"description":"Unknown IO ID 45"} 
[2026-10-05 15:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545817856001,"power":12385,"unknown_62":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1823887510998874112}} 
[2026-10-05 15:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":204731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:35:43] local.INFO: GPS data processed {"connection_id":204731,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:35:43] local.INFO: Acknowledgment sent {"connection_id":204731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:35:52] local.INFO: TCP Data received {"connection_id":207674,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:35:52] local.INFO: Processing buffer {"connection_id":207674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:35:52] local.INFO: IMEI packet received {"connection_id":207674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 15:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":207674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:35:54] local.INFO: TCP Data received {"connection_id":204732,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:35:54] local.INFO: Processing buffer {"connection_id":204732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:35:54] local.INFO: IMEI packet received {"connection_id":204732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":204732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:36:00] local.INFO: TCP Data received {"connection_id":204732,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:36:00] local.INFO: Processing buffer {"connection_id":204732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:36:00] local.INFO: IMEI packet received {"connection_id":204732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":204732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:36:00] local.INFO: TCP Data received {"connection_id":204732,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:36:00] local.INFO: Processing buffer {"connection_id":204732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:36:00] local.INFO: Packet analysis {"connection_id":204732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b83"} 
[2026-10-05 15:36:00] local.INFO: Extracted packet for processing {"connection_id":204732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b83"} 
[2026-10-05 15:36:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":23,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545725952001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791194543000,"timestamp_ms":1791194543000,"timestamp_seconds":1791194543,"priority":1,"record_length":96,"hex_timestamp":"000001a10b83b398"} 
[2026-10-05 15:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:36:00] 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-10-05 15: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-05 15:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:36:00] 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-10-05 15:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545725952001,"66":26321,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545725952001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:36:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:36:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545725952001,"power":26321,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":204732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:36:00] local.INFO: GPS data processed {"connection_id":204732,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:36:00] local.INFO: Acknowledgment sent {"connection_id":204732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:36:08] local.INFO: TCP Data received {"connection_id":207675,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:36:08] local.INFO: Processing buffer {"connection_id":207675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:36:08] local.INFO: Packet analysis {"connection_id":207675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:36:08] local.INFO: Extracted packet for processing {"connection_id":207675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:36:08] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":9,"angle":8,"satellites":37,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545742080001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173236281344,"note":"Value kept but may cause issues"} 
[2026-10-05 15:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791194606000,"timestamp_ms":1791194606000,"timestamp_seconds":1791194606,"priority":1,"record_length":96,"hex_timestamp":"000001a10b84a9b0"} 
[2026-10-05 15:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:36: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-10-05 15:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-05 15:36: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-10-05 15:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545742080001,"66":13091,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8789056173236281344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545742080001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:36:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:36:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173236281344,"description":"Unknown IO ID 45"} 
[2026-10-05 15:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545742080001,"power":13091,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789056173236281344}} 
[2026-10-05 15:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":207675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:36:08] local.INFO: GPS data processed {"connection_id":207675,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:36:08] local.INFO: Acknowledgment sent {"connection_id":207675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:36:10] local.INFO: TCP Data received {"connection_id":204603,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:36:10] local.INFO: Processing buffer {"connection_id":204603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:36:10] local.INFO: IMEI packet received {"connection_id":204603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":204603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:36:14] local.INFO: TCP Data received {"connection_id":204603,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:36:14] local.INFO: Processing buffer {"connection_id":204603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:36:14] local.INFO: IMEI packet received {"connection_id":204603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":204603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:36:15] local.INFO: TCP Data received {"connection_id":204603,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b860170012d18d2c0072304d0005d01402b..."} 
[2026-10-05 15:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b860170012d18d2c0072304d0005d01402b..."} 
[2026-10-05 15:36:15] local.INFO: Processing buffer {"connection_id":204603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b860170012d18d2c0072304d0005d01402b..."} 
[2026-10-05 15:36:15] local.INFO: Packet analysis {"connection_id":204603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b86"} 
[2026-10-05 15:36:15] local.INFO: Extracted packet for processing {"connection_id":204603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b86"} 
[2026-10-05 15:36:15] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119735504,"longitude_deg":75.6601536,"latitude_deg":11.9735504,"altitude":93,"angle":320,"satellites":43,"speed":0,"hex_longitude":"2d18d2c0","hex_latitude":"072304d0","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545836288001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25115267939958784,"note":"Value kept but may cause issues"} 
[2026-10-05 15:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138904330240,"note":"Value kept but may cause issues"} 
[2026-10-05 15:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791194694000,"timestamp_ms":1791194694000,"timestamp_seconds":1791194694,"priority":1,"record_length":96,"hex_timestamp":"000001a10b860170"} 
[2026-10-05 15:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 15:36:15] 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-10-05 15:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545836288001,"66":12993,"62":206,"28":31744,"24":0,"16":25115267939958784,"45":1788703138904330240},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545836288001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:36:15] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:36:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25115267939958784,"km_value":25115267939958.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138904330240,"description":"Unknown IO ID 45"} 
[2026-10-05 15:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545836288001,"power":12993,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788703138904330240}} 
[2026-10-05 15:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":204603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:36:15] local.INFO: GPS data processed {"connection_id":204603,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:36:15] local.INFO: Acknowledgment sent {"connection_id":204603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:36:16] local.INFO: TCP Data received {"connection_id":204603,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b865378012d18d2c0072304d0005d01402d..."} 
[2026-10-05 15:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b865378012d18d2c0072304d0005d01402d..."} 
[2026-10-05 15:36:16] local.INFO: Processing buffer {"connection_id":204603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b865378012d18d2c0072304d0005d01402d..."} 
[2026-10-05 15:36:16] local.INFO: Packet analysis {"connection_id":204603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b86"} 
[2026-10-05 15:36:16] local.INFO: Extracted packet for processing {"connection_id":204603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b86"} 
[2026-10-05 15:36:16] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119735504,"longitude_deg":75.6601536,"latitude_deg":11.9735504,"altitude":93,"angle":320,"satellites":45,"speed":0,"hex_longitude":"2d18d2c0","hex_latitude":"072304d0","is_valid_coordinates":true} 
[2026-10-05 15:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545841664001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25115267939958784,"note":"Value kept but may cause issues"} 
[2026-10-05 15:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138904330240,"note":"Value kept but may cause issues"} 
[2026-10-05 15:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791194715000,"timestamp_ms":1791194715000,"timestamp_seconds":1791194715,"priority":1,"record_length":96,"hex_timestamp":"000001a10b865378"} 
[2026-10-05 15:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-10-05 15:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545841664001,"66":12885,"62":206,"28":31744,"24":0,"16":25115267939958784,"45":1788703138904330240},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545841664001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:36:16] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:36:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25115267939958784,"km_value":25115267939958.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138904330240,"description":"Unknown IO ID 45"} 
[2026-10-05 15:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545841664001,"power":12885,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788703138904330240}} 
[2026-10-05 15:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":204603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:36:16] local.INFO: GPS data processed {"connection_id":204603,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:36:16] local.INFO: Acknowledgment sent {"connection_id":204603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:36:30] local.INFO: TCP Data received {"connection_id":207676,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:36:30] local.INFO: Processing buffer {"connection_id":207676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:36:30] local.INFO: IMEI packet received {"connection_id":207676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":207676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:36:32] local.INFO: TCP Data received {"connection_id":204732,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:36:32] local.INFO: Processing buffer {"connection_id":204732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:36:32] local.INFO: Packet analysis {"connection_id":204732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b83"} 
[2026-10-05 15:36:32] local.INFO: Extracted packet for processing {"connection_id":204732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b83"} 
[2026-10-05 15:36:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":23,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545725952001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791194543000,"timestamp_ms":1791194543000,"timestamp_seconds":1791194543,"priority":1,"record_length":96,"hex_timestamp":"000001a10b83b398"} 
[2026-10-05 15:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:36:32] 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-10-05 15:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-05 15:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:36: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-10-05 15:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545725952001,"66":26321,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545725952001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:36:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:36:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545725952001,"power":26321,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":204732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:36:32] local.INFO: GPS data processed {"connection_id":204732,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:36:32] local.INFO: Acknowledgment sent {"connection_id":204732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:36:34] local.INFO: TCP Data received {"connection_id":207677,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:36:34] local.INFO: Processing buffer {"connection_id":207677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:36:34] local.INFO: IMEI packet received {"connection_id":207677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 15:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":207677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:36:36] local.INFO: TCP Data received {"connection_id":207676,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:36:36] local.INFO: Processing buffer {"connection_id":207676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:36:36] local.INFO: IMEI packet received {"connection_id":207676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":207676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:36:37] local.INFO: TCP Data received {"connection_id":207676,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:36:37] local.INFO: Processing buffer {"connection_id":207676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:36:37] local.INFO: Packet analysis {"connection_id":207676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:36:37] local.INFO: Extracted packet for processing {"connection_id":207676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:36:37] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":9,"angle":8,"satellites":37,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545742080001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173236281344,"note":"Value kept but may cause issues"} 
[2026-10-05 15:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791194606000,"timestamp_ms":1791194606000,"timestamp_seconds":1791194606,"priority":1,"record_length":96,"hex_timestamp":"000001a10b84a9b0"} 
[2026-10-05 15:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-05 15:36:37] 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-10-05 15:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545742080001,"66":13091,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8789056173236281344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545742080001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:36:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:36:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173236281344,"description":"Unknown IO ID 45"} 
[2026-10-05 15:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545742080001,"power":13091,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789056173236281344}} 
[2026-10-05 15:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":207676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:36:37] local.INFO: GPS data processed {"connection_id":207676,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:36:37] local.INFO: Acknowledgment sent {"connection_id":207676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:36:47] local.INFO: TCP Data received {"connection_id":204603,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b86a580012d18d2c0072304d0005d01402d..."} 
[2026-10-05 15:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b86a580012d18d2c0072304d0005d01402d..."} 
[2026-10-05 15:36:47] local.INFO: Processing buffer {"connection_id":204603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b86a580012d18d2c0072304d0005d01402d..."} 
[2026-10-05 15:36:47] local.INFO: Packet analysis {"connection_id":204603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b86"} 
[2026-10-05 15:36:47] local.INFO: Extracted packet for processing {"connection_id":204603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b86"} 
[2026-10-05 15:36:47] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119735504,"longitude_deg":75.6601536,"latitude_deg":11.9735504,"altitude":93,"angle":320,"satellites":45,"speed":0,"hex_longitude":"2d18d2c0","hex_latitude":"072304d0","is_valid_coordinates":true} 
[2026-10-05 15:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545847040001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25115267939958784,"note":"Value kept but may cause issues"} 
[2026-10-05 15:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138904330240,"note":"Value kept but may cause issues"} 
[2026-10-05 15:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791194736000,"timestamp_ms":1791194736000,"timestamp_seconds":1791194736,"priority":1,"record_length":96,"hex_timestamp":"000001a10b86a580"} 
[2026-10-05 15:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 15:36:47] 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-10-05 15:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":204603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":204603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":204603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545847040001,"66":12950,"62":206,"28":31744,"24":0,"16":25115267939958784,"45":1788703138904330240},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545847040001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:36:47] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:36:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25115267939958784,"km_value":25115267939958.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138904330240,"description":"Unknown IO ID 45"} 
[2026-10-05 15:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545847040001,"power":12950,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788703138904330240}} 
[2026-10-05 15:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":204603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:36:47] local.INFO: GPS data processed {"connection_id":204603,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:36:47] local.INFO: Acknowledgment sent {"connection_id":204603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:36:59] local.INFO: TCP Data received {"connection_id":207678,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:36:59] local.INFO: Processing buffer {"connection_id":207678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:36:59] local.INFO: IMEI packet received {"connection_id":207678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":207678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:37:04] local.INFO: TCP Data received {"connection_id":207678,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:37:04] local.INFO: Processing buffer {"connection_id":207678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:37:04] local.INFO: IMEI packet received {"connection_id":207678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":207678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:37:05] local.INFO: TCP Data received {"connection_id":206133,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:37:05] local.INFO: Processing buffer {"connection_id":206133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:37:05] local.INFO: IMEI packet received {"connection_id":206133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":206133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:37:05] local.INFO: TCP Data received {"connection_id":207678,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:37:05] local.INFO: Processing buffer {"connection_id":207678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:37:05] local.INFO: Packet analysis {"connection_id":207678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b83"} 
[2026-10-05 15:37:05] local.INFO: Extracted packet for processing {"connection_id":207678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b83"} 
[2026-10-05 15:37:05] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":23,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545725952001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791194543000,"timestamp_ms":1791194543000,"timestamp_seconds":1791194543,"priority":1,"record_length":96,"hex_timestamp":"000001a10b83b398"} 
[2026-10-05 15:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:37:05] 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-10-05 15: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-05 15:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:37: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-10-05 15:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545725952001,"66":26321,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545725952001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:37:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:37:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545725952001,"power":26321,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":207678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:37:05] local.INFO: GPS data processed {"connection_id":207678,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:37:05] local.INFO: Acknowledgment sent {"connection_id":207678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:37:08] local.INFO: TCP Data received {"connection_id":207676,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:37:08] local.INFO: Processing buffer {"connection_id":207676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:37:08] local.INFO: Packet analysis {"connection_id":207676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:37:08] local.INFO: Extracted packet for processing {"connection_id":207676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:37:08] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":9,"angle":8,"satellites":37,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545742080001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173236281344,"note":"Value kept but may cause issues"} 
[2026-10-05 15:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791194606000,"timestamp_ms":1791194606000,"timestamp_seconds":1791194606,"priority":1,"record_length":96,"hex_timestamp":"000001a10b84a9b0"} 
[2026-10-05 15:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-05 15:37: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-10-05 15:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545742080001,"66":13091,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8789056173236281344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545742080001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:37:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:37:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173236281344,"description":"Unknown IO ID 45"} 
[2026-10-05 15:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545742080001,"power":13091,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789056173236281344}} 
[2026-10-05 15:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":207676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:37:08] local.INFO: GPS data processed {"connection_id":207676,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:37:08] local.INFO: Acknowledgment sent {"connection_id":207676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:37:10] local.INFO: TCP Data received {"connection_id":206133,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:37:10] local.INFO: Processing buffer {"connection_id":206133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:37:10] local.INFO: IMEI packet received {"connection_id":206133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":206133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:37:12] local.INFO: TCP Data received {"connection_id":206133,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b86f788012d18d2c0072304d0005d01402d..."} 
[2026-10-05 15:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b86f788012d18d2c0072304d0005d01402d..."} 
[2026-10-05 15:37:12] local.INFO: Processing buffer {"connection_id":206133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b86f788012d18d2c0072304d0005d01402d..."} 
[2026-10-05 15:37:12] local.INFO: Packet analysis {"connection_id":206133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b86"} 
[2026-10-05 15:37:12] local.INFO: Extracted packet for processing {"connection_id":206133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b86"} 
[2026-10-05 15:37:12] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119735504,"longitude_deg":75.6601536,"latitude_deg":11.9735504,"altitude":93,"angle":320,"satellites":45,"speed":0,"hex_longitude":"2d18d2c0","hex_latitude":"072304d0","is_valid_coordinates":true} 
[2026-10-05 15:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545852416001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25115267939958784,"note":"Value kept but may cause issues"} 
[2026-10-05 15:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138904330240,"note":"Value kept but may cause issues"} 
[2026-10-05 15:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791194757000,"timestamp_ms":1791194757000,"timestamp_seconds":1791194757,"priority":1,"record_length":96,"hex_timestamp":"000001a10b86f788"} 
[2026-10-05 15:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:37: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-10-05 15:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 15:37:12] 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-10-05 15:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":206133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":206133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":206133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545852416001,"66":12950,"62":206,"28":31744,"24":0,"16":25115267939958784,"45":1788703138904330240},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545852416001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:37:12] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:37:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25115267939958784,"km_value":25115267939958.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138904330240,"description":"Unknown IO ID 45"} 
[2026-10-05 15:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545852416001,"power":12950,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788703138904330240}} 
[2026-10-05 15:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":206133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:37:12] local.INFO: GPS data processed {"connection_id":206133,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:37:12] local.INFO: Acknowledgment sent {"connection_id":206133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:37:36] local.INFO: TCP Data received {"connection_id":204604,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:37:36] local.INFO: Processing buffer {"connection_id":204604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:37:36] local.INFO: IMEI packet received {"connection_id":204604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":204604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:37:36] local.INFO: TCP Data received {"connection_id":207678,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:37:36] local.INFO: Processing buffer {"connection_id":207678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:37:36] local.INFO: Packet analysis {"connection_id":207678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b83"} 
[2026-10-05 15:37:36] local.INFO: Extracted packet for processing {"connection_id":207678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b83"} 
[2026-10-05 15:37:36] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":23,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545725952001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791194543000,"timestamp_ms":1791194543000,"timestamp_seconds":1791194543,"priority":1,"record_length":96,"hex_timestamp":"000001a10b83b398"} 
[2026-10-05 15:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:37:36] 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-10-05 15:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-05 15:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:37:36] 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-10-05 15:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545725952001,"66":26321,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545725952001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:37:37] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:37:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545725952001,"power":26321,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":207678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:37:37] local.INFO: GPS data processed {"connection_id":207678,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:37:37] local.INFO: Acknowledgment sent {"connection_id":207678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:37:41] local.INFO: TCP Data received {"connection_id":204604,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:37:41] local.INFO: Processing buffer {"connection_id":204604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:37:41] local.INFO: IMEI packet received {"connection_id":204604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":204604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:37:42] local.INFO: TCP Data received {"connection_id":204604,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:37:42] local.INFO: Processing buffer {"connection_id":204604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:37:42] local.INFO: Packet analysis {"connection_id":204604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:37:42] local.INFO: Extracted packet for processing {"connection_id":204604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:37:42] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":9,"angle":8,"satellites":37,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545742080001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173236281344,"note":"Value kept but may cause issues"} 
[2026-10-05 15:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791194606000,"timestamp_ms":1791194606000,"timestamp_seconds":1791194606,"priority":1,"record_length":96,"hex_timestamp":"000001a10b84a9b0"} 
[2026-10-05 15:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-05 15:37:42] 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-10-05 15:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545742080001,"66":13091,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8789056173236281344},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545742080001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:37:42] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:37:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173236281344,"description":"Unknown IO ID 45"} 
[2026-10-05 15:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545742080001,"power":13091,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789056173236281344}} 
[2026-10-05 15:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":204604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:37:42] local.INFO: GPS data processed {"connection_id":204604,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:37:42] local.INFO: Acknowledgment sent {"connection_id":204604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:37:44] local.INFO: TCP Data received {"connection_id":206133,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b874990012d18d2c0072304d0005d01402d..."} 
[2026-10-05 15:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b874990012d18d2c0072304d0005d01402d..."} 
[2026-10-05 15:37:44] local.INFO: Processing buffer {"connection_id":206133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b874990012d18d2c0072304d0005d01402d..."} 
[2026-10-05 15:37:44] local.INFO: Packet analysis {"connection_id":206133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b87"} 
[2026-10-05 15:37:44] local.INFO: Extracted packet for processing {"connection_id":206133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b87"} 
[2026-10-05 15:37:44] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119735504,"longitude_deg":75.6601536,"latitude_deg":11.9735504,"altitude":93,"angle":320,"satellites":45,"speed":0,"hex_longitude":"2d18d2c0","hex_latitude":"072304d0","is_valid_coordinates":true} 
[2026-10-05 15:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545857792001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25115267939958784,"note":"Value kept but may cause issues"} 
[2026-10-05 15:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138904330240,"note":"Value kept but may cause issues"} 
[2026-10-05 15:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791194778000,"timestamp_ms":1791194778000,"timestamp_seconds":1791194778,"priority":1,"record_length":96,"hex_timestamp":"000001a10b874990"} 
[2026-10-05 15:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 15:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:37:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":206133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":206133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":206133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545857792001,"66":12917,"62":206,"28":31744,"24":0,"16":25115267939958784,"45":1788703138904330240},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545857792001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:37:44] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:37:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25115267939958784,"km_value":25115267939958.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138904330240,"description":"Unknown IO ID 45"} 
[2026-10-05 15:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545857792001,"power":12917,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788703138904330240}} 
[2026-10-05 15:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":206133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:37:44] local.INFO: GPS data processed {"connection_id":206133,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:37:44] local.INFO: Acknowledgment sent {"connection_id":206133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:37:46] local.INFO: TCP Data received {"connection_id":204604,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:37:46] local.INFO: Processing buffer {"connection_id":204604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b84a9b0012d79f90005ecb3e00009000825..."} 
[2026-10-05 15:37:46] local.INFO: Packet analysis {"connection_id":204604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:37:46] local.INFO: Extracted packet for processing {"connection_id":204604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b84"} 
[2026-10-05 15:37:46] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99398624,"longitude_deg":76.296832,"latitude_deg":9.9398624,"altitude":9,"angle":8,"satellites":37,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ecb3e0","is_valid_coordinates":true} 
[2026-10-05 15:37: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-10-05 15:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545742080001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683636524875776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173236281344,"note":"Value kept but may cause issues"} 
[2026-10-05 15:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791194606000,"timestamp_ms":1791194606000,"timestamp_seconds":1791194606,"priority":1,"record_length":96,"hex_timestamp":"000001a10b84a9b0"} 
[2026-10-05 15:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-05 15:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:37: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-10-05 15:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545742080001,"66":13091,"118":206,"87":13824,"24":0,"16":139683636524875776,"45":8789056173236281344},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545742080001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:37:46] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:37:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683636524875776,"km_value":139683636524875.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173236281344,"description":"Unknown IO ID 45"} 
[2026-10-05 15:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545742080001,"power":13091,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789056173236281344}} 
[2026-10-05 15:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":204604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:37:46] local.INFO: GPS data processed {"connection_id":204604,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:37:46] local.INFO: Acknowledgment sent {"connection_id":204604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:37:47] local.INFO: TCP Data received {"connection_id":204734,"ip":"117.225.218.78","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204734,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:37:47] local.INFO: Processing buffer {"connection_id":204734,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:37:47] local.INFO: IMEI packet received {"connection_id":204734,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 15:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":204734,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:37:48] local.INFO: TCP Data received {"connection_id":204734,"ip":"117.225.218.78","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204734,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:37:48] local.INFO: Processing buffer {"connection_id":204734,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:37:48] local.INFO: IMEI packet received {"connection_id":204734,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 15:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":204734,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:37:49] local.INFO: TCP Data received {"connection_id":204734,"ip":"117.225.218.78","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204734,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:37:49] local.INFO: Processing buffer {"connection_id":204734,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:37:49] local.INFO: IMEI packet received {"connection_id":204734,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 15:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":204734,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:37:50] local.INFO: TCP Data received {"connection_id":204734,"ip":"117.225.218.78","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204734,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:37:50] local.INFO: Processing buffer {"connection_id":204734,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:37:50] local.INFO: IMEI packet received {"connection_id":204734,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 15:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":204734,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:37:54] local.INFO: TCP Data received {"connection_id":204734,"ip":"117.225.218.78","data_length":795,"data_hex":"000000000000030f8e0a000001a10b885ee8012d0c6dc00703b988000e00040c..."} 
[2026-10-05 15:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b885ee8012d0c6dc00703b988000e00040c..."} 
[2026-10-05 15:37:54] local.INFO: Processing buffer {"connection_id":204734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b885ee8012d0c6dc00703b988000e00040c..."} 
[2026-10-05 15:37:54] local.INFO: Packet analysis {"connection_id":204734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:37:54] local.INFO: Extracted packet for processing {"connection_id":204734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:37:54] local.INFO: GPS Element Parsed {"raw_longitude":755789248,"raw_latitude":117684616,"longitude_deg":75.5789248,"latitude_deg":11.7684616,"altitude":14,"angle":4,"satellites":12,"speed":18,"hex_longitude":"2d0c6dc0","hex_latitude":"0703b988","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545878528001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34788440528650240,"note":"Value kept but may cause issues"} 
[2026-10-05 15:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894668243600863232,"note":"Value kept but may cause issues"} 
[2026-10-05 15:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1791194849000,"timestamp_ms":1791194849000,"timestamp_seconds":1791194849,"priority":1,"record_length":96,"hex_timestamp":"000001a10b885ee8"} 
[2026-10-05 15:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:37: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-10-05 15: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-10-05 15:37:54] 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-10-05 15: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-10-05 15:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":204734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":204734,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":204734,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.218.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 15:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 15:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545878528001,"66":14580,"18":206,"28":32256,"24":18,"16":34788440528650240,"45":894668243600863232},"client_ip":"117.225.218.78","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-05 15:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 15:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 15:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545878528001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:37:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-05 15:37:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-05 15:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34788440528650240,"km_value":34788440528650.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":894668243600863232,"description":"Unknown IO ID 45"} 
[2026-10-05 15:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545878528001,"power":14580,"unknown_18":206,"unknown_28":32256,"ignition":18,"odometer":null,"unknown_45":894668243600863232}} 
[2026-10-05 15:37:54] local.INFO: TCP Data received {"connection_id":206134,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:37:54] local.INFO: Processing buffer {"connection_id":206134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:37:54] local.INFO: IMEI packet received {"connection_id":206134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":206134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":204734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968239,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:37:55] local.INFO: GPS data processed {"connection_id":204734,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:37:55] local.INFO: Acknowledgment sent {"connection_id":204734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:38:00] local.INFO: TCP Data received {"connection_id":206134,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:38:00] local.INFO: Processing buffer {"connection_id":206134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:38:00] local.INFO: IMEI packet received {"connection_id":206134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":206134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:38:00] local.INFO: TCP Data received {"connection_id":204734,"ip":"117.225.218.78","data_length":795,"data_hex":"000000000000030f8e0a000001a10b88a538012d0c6f400703dcf8000b015f0c..."} 
[2026-10-05 15:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b88a538012d0c6f400703dcf8000b015f0c..."} 
[2026-10-05 15:38:00] local.INFO: Processing buffer {"connection_id":204734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b88a538012d0c6f400703dcf8000b015f0c..."} 
[2026-10-05 15:38:00] local.INFO: Packet analysis {"connection_id":204734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:38:00] local.INFO: Extracted packet for processing {"connection_id":204734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:38:00] local.INFO: GPS Element Parsed {"raw_longitude":755789632,"raw_latitude":117693688,"longitude_deg":75.5789632,"latitude_deg":11.7693688,"altitude":11,"angle":351,"satellites":12,"speed":12,"hex_longitude":"2d0c6f40","hex_latitude":"0703dcf8","is_valid_coordinates":true} 
[2026-10-05 15:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545881344001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34788887205249024,"note":"Value kept but may cause issues"} 
[2026-10-05 15:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895583037276391424,"note":"Value kept but may cause issues"} 
[2026-10-05 15:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791194867000,"timestamp_ms":1791194867000,"timestamp_seconds":1791194867,"priority":1,"record_length":96,"hex_timestamp":"000001a10b88a538"} 
[2026-10-05 15:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:38: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-10-05 15:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-10-05 15:38:00] 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-10-05 15:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204734,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204734,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.218.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 15:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 15:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545881344001,"66":14515,"18":206,"28":32256,"24":12,"16":34788887205249024,"45":895583037276391424},"client_ip":"117.225.218.78","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-05 15:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 15:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 15:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545881344001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:38:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-05 15:38:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-05 15:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34788887205249024,"km_value":34788887205249.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":895583037276391424,"description":"Unknown IO ID 45"} 
[2026-10-05 15:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545881344001,"power":14515,"unknown_18":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_45":895583037276391424}} 
[2026-10-05 15:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":204734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968240,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:38:00] local.INFO: GPS data processed {"connection_id":204734,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:38:00] local.INFO: Acknowledgment sent {"connection_id":204734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:38:00] local.INFO: TCP Data received {"connection_id":206134,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:38:00] local.INFO: Processing buffer {"connection_id":206134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b83b398012d80b3c00602ac50001700cf2e..."} 
[2026-10-05 15:38:00] local.INFO: Packet analysis {"connection_id":206134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b83"} 
[2026-10-05 15:38:00] local.INFO: Extracted packet for processing {"connection_id":206134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b83"} 
[2026-10-05 15:38:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":23,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545725952001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791194543000,"timestamp_ms":1791194543000,"timestamp_seconds":1791194543,"priority":1,"record_length":96,"hex_timestamp":"000001a10b83b398"} 
[2026-10-05 15:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:38:00] 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-10-05 15:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-05 15:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:38:00] 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-10-05 15:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545725952001,"66":26321,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545725952001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:38:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:38:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545725952001,"power":26321,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":206134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:38:00] local.INFO: GPS data processed {"connection_id":206134,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:38:00] local.INFO: Acknowledgment sent {"connection_id":206134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:38:05] local.INFO: TCP Data received {"connection_id":206135,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:38:05] local.INFO: Processing buffer {"connection_id":206135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:38:05] local.INFO: IMEI packet received {"connection_id":206135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":206135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:38:10] local.INFO: TCP Data received {"connection_id":206135,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:38:10] local.INFO: Processing buffer {"connection_id":206135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:38:10] local.INFO: IMEI packet received {"connection_id":206135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":206135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:38:11] local.INFO: TCP Data received {"connection_id":206135,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b879b98012d18d2c0072304d0005d01402c..."} 
[2026-10-05 15:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b879b98012d18d2c0072304d0005d01402c..."} 
[2026-10-05 15:38:11] local.INFO: Processing buffer {"connection_id":206135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b879b98012d18d2c0072304d0005d01402c..."} 
[2026-10-05 15:38:11] local.INFO: Packet analysis {"connection_id":206135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b87"} 
[2026-10-05 15:38:11] local.INFO: Extracted packet for processing {"connection_id":206135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b87"} 
[2026-10-05 15:38:11] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119735504,"longitude_deg":75.6601536,"latitude_deg":11.9735504,"altitude":93,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d18d2c0","hex_latitude":"072304d0","is_valid_coordinates":true} 
[2026-10-05 15:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545863168001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25115267939958784,"note":"Value kept but may cause issues"} 
[2026-10-05 15:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138904330240,"note":"Value kept but may cause issues"} 
[2026-10-05 15:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791194799000,"timestamp_ms":1791194799000,"timestamp_seconds":1791194799,"priority":1,"record_length":96,"hex_timestamp":"000001a10b879b98"} 
[2026-10-05 15:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 15:38:11] 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-10-05 15:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545863168001,"66":12917,"62":206,"28":31744,"24":0,"16":25115267939958784,"45":1788703138904330240},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545863168001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:38:11] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:38:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25115267939958784,"km_value":25115267939958.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138904330240,"description":"Unknown IO ID 45"} 
[2026-10-05 15:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545863168001,"power":12917,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788703138904330240}} 
[2026-10-05 15:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":206135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:38:11] local.INFO: GPS data processed {"connection_id":206135,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:38:11] local.INFO: Acknowledgment sent {"connection_id":206135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:38:31] local.INFO: TCP Data received {"connection_id":204734,"ip":"117.225.218.78","data_length":795,"data_hex":"000000000000030f8e0a000001a10b88a538012d0c6f400703dcf8000b015f0c..."} 
[2026-10-05 15:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b88a538012d0c6f400703dcf8000b015f0c..."} 
[2026-10-05 15:38:31] local.INFO: Processing buffer {"connection_id":204734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b88a538012d0c6f400703dcf8000b015f0c..."} 
[2026-10-05 15:38:31] local.INFO: Packet analysis {"connection_id":204734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:38:31] local.INFO: Extracted packet for processing {"connection_id":204734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:38:31] local.INFO: GPS Element Parsed {"raw_longitude":755789632,"raw_latitude":117693688,"longitude_deg":75.5789632,"latitude_deg":11.7693688,"altitude":11,"angle":351,"satellites":12,"speed":12,"hex_longitude":"2d0c6f40","hex_latitude":"0703dcf8","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545885952001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34788887205249024,"note":"Value kept but may cause issues"} 
[2026-10-05 15:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896005249743779840,"note":"Value kept but may cause issues"} 
[2026-10-05 15:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791194867000,"timestamp_ms":1791194867000,"timestamp_seconds":1791194867,"priority":1,"record_length":96,"hex_timestamp":"000001a10b88a538"} 
[2026-10-05 15:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:38: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-10-05 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-05 15:38:31] 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-10-05 15: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-10-05 15:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204734,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204734,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.218.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 15:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 15:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545885952001,"66":14515,"18":206,"28":32256,"24":12,"16":34788887205249024,"45":896005249743779840},"client_ip":"117.225.218.78","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-05 15:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 15:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 15:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545885952001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:38:31] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-05 15:38:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-05 15:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34788887205249024,"km_value":34788887205249.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":896005249743779840,"description":"Unknown IO ID 45"} 
[2026-10-05 15:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545885952001,"power":14515,"unknown_18":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_45":896005249743779840}} 
[2026-10-05 15:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":204734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968243,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:38:31] local.INFO: GPS data processed {"connection_id":204734,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:38:31] local.INFO: Acknowledgment sent {"connection_id":204734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:38:31] local.INFO: TCP Data received {"connection_id":206134,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:38:31] local.INFO: Processing buffer {"connection_id":206134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:38:31] local.INFO: Packet analysis {"connection_id":206134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:38:31] local.INFO: Extracted packet for processing {"connection_id":206134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:38:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":34,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545803008001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791194844000,"timestamp_ms":1791194844000,"timestamp_seconds":1791194844,"priority":1,"record_length":96,"hex_timestamp":"000001a10b884b60"} 
[2026-10-05 15:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-10-05 15:38:31] 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-10-05 15: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-10-05 15:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:38:31] 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-10-05 15:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545803008001,"66":26223,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545803008001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:38:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:38:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545803008001,"power":26223,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":206134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:38:31] local.INFO: GPS data processed {"connection_id":206134,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:38:31] local.INFO: Acknowledgment sent {"connection_id":206134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:38:32] local.INFO: TCP Data received {"connection_id":207679,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:38:32] local.INFO: Processing buffer {"connection_id":207679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:38:32] local.INFO: IMEI packet received {"connection_id":207679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":207679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:38:32] local.INFO: TCP Data received {"connection_id":207679,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:38:32] local.INFO: Processing buffer {"connection_id":207679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:38:32] local.INFO: IMEI packet received {"connection_id":207679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":207679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:38:36] local.INFO: TCP Data received {"connection_id":207679,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:38:36] local.INFO: Processing buffer {"connection_id":207679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:38:36] local.INFO: IMEI packet received {"connection_id":207679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":207679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:38:37] local.INFO: TCP Data received {"connection_id":207679,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b891e50012d79e5c005ecae18000900fa24..."} 
[2026-10-05 15:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b891e50012d79e5c005ecae18000900fa24..."} 
[2026-10-05 15:38:37] local.INFO: Processing buffer {"connection_id":207679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b891e50012d79e5c005ecae18000900fa24..."} 
[2026-10-05 15:38:37] local.INFO: Packet analysis {"connection_id":207679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b89"} 
[2026-10-05 15:38:37] local.INFO: Extracted packet for processing {"connection_id":207679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b89"} 
[2026-10-05 15:38:37] local.INFO: GPS Element Parsed {"raw_longitude":762963392,"raw_latitude":99397144,"longitude_deg":76.2963392,"latitude_deg":9.9397144,"altitude":9,"angle":250,"satellites":36,"speed":9,"hex_longitude":"2d79e5c0","hex_latitude":"05ecae18","is_valid_coordinates":true} 
[2026-10-05 15:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545892352001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683885632978944,"note":"Value kept but may cause issues"} 
[2026-10-05 15:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8785678473515554816,"note":"Value kept but may cause issues"} 
[2026-10-05 15:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791194898000,"timestamp_ms":1791194898000,"timestamp_seconds":1791194898,"priority":1,"record_length":96,"hex_timestamp":"000001a10b891e50"} 
[2026-10-05 15:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:38: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-10-05 15:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-10-05 15:38:37] 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-10-05 15:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545892352001,"66":13472,"118":206,"87":13824,"24":9,"16":139683885632978944,"45":8785678473515554816},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545892352001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:38:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:38:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683885632978944,"km_value":139683885632978.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8785678473515554816,"description":"Unknown IO ID 45"} 
[2026-10-05 15:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545892352001,"power":13472,"unknown_118":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8785678473515554816}} 
[2026-10-05 15:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":207679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968245,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:38:37] local.INFO: GPS data processed {"connection_id":207679,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:38:37] local.INFO: Acknowledgment sent {"connection_id":207679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:38:42] local.INFO: TCP Data received {"connection_id":207679,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b892620012d79e4c005ecad48000800ef24..."} 
[2026-10-05 15:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b892620012d79e4c005ecad48000800ef24..."} 
[2026-10-05 15:38:42] local.INFO: Processing buffer {"connection_id":207679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b892620012d79e4c005ecad48000800ef24..."} 
[2026-10-05 15:38:42] local.INFO: Packet analysis {"connection_id":207679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b89"} 
[2026-10-05 15:38:42] local.INFO: Extracted packet for processing {"connection_id":207679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b89"} 
[2026-10-05 15:38:42] local.INFO: GPS Element Parsed {"raw_longitude":762963136,"raw_latitude":99396936,"longitude_deg":76.2963136,"latitude_deg":9.9396936,"altitude":8,"angle":239,"satellites":36,"speed":5,"hex_longitude":"2d79e4c0","hex_latitude":"05ecad48","is_valid_coordinates":true} 
[2026-10-05 15:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545893888001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683902812848128,"note":"Value kept but may cause issues"} 
[2026-10-05 15:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783637779934222336,"note":"Value kept but may cause issues"} 
[2026-10-05 15:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791194900000,"timestamp_ms":1791194900000,"timestamp_seconds":1791194900,"priority":1,"record_length":96,"hex_timestamp":"000001a10b892620"} 
[2026-10-05 15:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:38: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-10-05 15:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-10-05 15:38:42] 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-10-05 15:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545893888001,"66":13906,"118":206,"87":13824,"24":5,"16":139683902812848128,"45":8783637779934222336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545893888001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:38:42] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:38:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683902812848128,"km_value":139683902812848.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783637779934222336,"description":"Unknown IO ID 45"} 
[2026-10-05 15:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545893888001,"power":13906,"unknown_118":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8783637779934222336}} 
[2026-10-05 15:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":207679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968246,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:38:42] local.INFO: GPS data processed {"connection_id":207679,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:38:42] local.INFO: Acknowledgment sent {"connection_id":207679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:38:43] local.INFO: TCP Data received {"connection_id":206135,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b87eda0012d18d2c0072304d0005d01402d..."} 
[2026-10-05 15:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b87eda0012d18d2c0072304d0005d01402d..."} 
[2026-10-05 15:38:43] local.INFO: Processing buffer {"connection_id":206135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b87eda0012d18d2c0072304d0005d01402d..."} 
[2026-10-05 15:38:43] local.INFO: Packet analysis {"connection_id":206135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b87"} 
[2026-10-05 15:38:43] local.INFO: Extracted packet for processing {"connection_id":206135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b87"} 
[2026-10-05 15:38:43] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119735504,"longitude_deg":75.6601536,"latitude_deg":11.9735504,"altitude":93,"angle":320,"satellites":45,"speed":0,"hex_longitude":"2d18d2c0","hex_latitude":"072304d0","is_valid_coordinates":true} 
[2026-10-05 15:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545868544001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25115267939958784,"note":"Value kept but may cause issues"} 
[2026-10-05 15:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138904330240,"note":"Value kept but may cause issues"} 
[2026-10-05 15:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791194820000,"timestamp_ms":1791194820000,"timestamp_seconds":1791194820,"priority":1,"record_length":96,"hex_timestamp":"000001a10b87eda0"} 
[2026-10-05 15:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 15:38:43] 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-10-05 15:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":206135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":206135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":206135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545868544001,"66":12863,"62":206,"28":31744,"24":0,"16":25115267939958784,"45":1788703138904330240},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545868544001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:38:43] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:38:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25115267939958784,"km_value":25115267939958.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138904330240,"description":"Unknown IO ID 45"} 
[2026-10-05 15:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545868544001,"power":12863,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788703138904330240}} 
[2026-10-05 15:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":206135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:38:43] local.INFO: GPS data processed {"connection_id":206135,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:38:43] local.INFO: Acknowledgment sent {"connection_id":206135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:38:54] local.INFO: TCP Data received {"connection_id":204606,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:38:54] local.INFO: Processing buffer {"connection_id":204606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:38:54] local.INFO: IMEI packet received {"connection_id":204606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":204606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:38:59] local.INFO: TCP Data received {"connection_id":204606,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:38:59] local.INFO: Processing buffer {"connection_id":204606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:38:59] local.INFO: IMEI packet received {"connection_id":204606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":204606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:39:00] local.INFO: TCP Data received {"connection_id":204606,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:39:00] local.INFO: Processing buffer {"connection_id":204606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:39:00] local.INFO: Packet analysis {"connection_id":204606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:39:00] local.INFO: Extracted packet for processing {"connection_id":204606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:39:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":34,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545803008001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791194844000,"timestamp_ms":1791194844000,"timestamp_seconds":1791194844,"priority":1,"record_length":96,"hex_timestamp":"000001a10b884b60"} 
[2026-10-05 15:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-10-05 15:39:00] 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-10-05 15:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:39:00] 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-10-05 15:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545803008001,"66":26223,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545803008001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:39:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:39:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545803008001,"power":26223,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":204606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:39:00] local.INFO: GPS data processed {"connection_id":204606,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:39:00] local.INFO: Acknowledgment sent {"connection_id":204606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:39:03] local.INFO: TCP Data received {"connection_id":204734,"ip":"117.225.218.78","data_length":795,"data_hex":"000000000000030f8e0a000001a10b88ad08012d0c6e800703dee0000a01420c..."} 
[2026-10-05 15:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b88ad08012d0c6e800703dee0000a01420c..."} 
[2026-10-05 15:39:03] local.INFO: Processing buffer {"connection_id":204734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b88ad08012d0c6e800703dee0000a01420c..."} 
[2026-10-05 15:39:03] local.INFO: Packet analysis {"connection_id":204734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:39:03] local.INFO: Extracted packet for processing {"connection_id":204734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:39:03] local.INFO: GPS Element Parsed {"raw_longitude":755789440,"raw_latitude":117694176,"longitude_deg":75.578944,"latitude_deg":11.7694176,"altitude":10,"angle":322,"satellites":12,"speed":8,"hex_longitude":"2d0c6e80","hex_latitude":"0703dee0","is_valid_coordinates":true} 
[2026-10-05 15:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545885952001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34788912975052800,"note":"Value kept but may cause issues"} 
[2026-10-05 15:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896005249743779840,"note":"Value kept but may cause issues"} 
[2026-10-05 15:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791194869000,"timestamp_ms":1791194869000,"timestamp_seconds":1791194869,"priority":1,"record_length":96,"hex_timestamp":"000001a10b88ad08"} 
[2026-10-05 15:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:39: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-10-05 15:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-05 15:39:03] 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-10-05 15:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":204734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":204734,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":204734,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.218.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 15:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 15:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545885952001,"66":14450,"18":206,"28":32256,"24":8,"16":34788912975052800,"45":896005249743779840},"client_ip":"117.225.218.78","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-05 15:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 15:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 15:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545885952001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:39:03] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-05 15:39:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-05 15:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34788912975052800,"km_value":34788912975052.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":896005249743779840,"description":"Unknown IO ID 45"} 
[2026-10-05 15:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545885952001,"power":14450,"unknown_18":206,"unknown_28":32256,"ignition":8,"odometer":null,"unknown_45":896005249743779840}} 
[2026-10-05 15:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":204734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968249,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:39:03] local.INFO: GPS data processed {"connection_id":204734,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:39:03] local.INFO: Acknowledgment sent {"connection_id":204734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:39:05] local.INFO: TCP Data received {"connection_id":207680,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:39:05] local.INFO: Processing buffer {"connection_id":207680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:39:05] local.INFO: IMEI packet received {"connection_id":207680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":207680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:39:10] local.INFO: TCP Data received {"connection_id":207680,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:39:10] local.INFO: Processing buffer {"connection_id":207680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:39:10] local.INFO: IMEI packet received {"connection_id":207680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":207680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:39:11] local.INFO: TCP Data received {"connection_id":207680,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b883fa8012d18d2c0072304d0005d01402d..."} 
[2026-10-05 15:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b883fa8012d18d2c0072304d0005d01402d..."} 
[2026-10-05 15:39:11] local.INFO: Processing buffer {"connection_id":207680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b883fa8012d18d2c0072304d0005d01402d..."} 
[2026-10-05 15:39:11] local.INFO: Packet analysis {"connection_id":207680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:39:11] local.INFO: Extracted packet for processing {"connection_id":207680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:39:11] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119735504,"longitude_deg":75.6601536,"latitude_deg":11.9735504,"altitude":93,"angle":320,"satellites":45,"speed":0,"hex_longitude":"2d18d2c0","hex_latitude":"072304d0","is_valid_coordinates":true} 
[2026-10-05 15:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545873920001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25115267939958784,"note":"Value kept but may cause issues"} 
[2026-10-05 15:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138904330240,"note":"Value kept but may cause issues"} 
[2026-10-05 15:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791194841000,"timestamp_ms":1791194841000,"timestamp_seconds":1791194841,"priority":1,"record_length":96,"hex_timestamp":"000001a10b883fa8"} 
[2026-10-05 15:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 15:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545873920001,"66":12852,"62":206,"28":31744,"24":0,"16":25115267939958784,"45":1788703138904330240},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545873920001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:39:11] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:39:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25115267939958784,"km_value":25115267939958.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138904330240,"description":"Unknown IO ID 45"} 
[2026-10-05 15:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545873920001,"power":12852,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788703138904330240}} 
[2026-10-05 15:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":207680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:39:12] local.INFO: GPS data processed {"connection_id":207680,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:39:12] local.INFO: Acknowledgment sent {"connection_id":207680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:39:13] local.INFO: TCP Data received {"connection_id":207679,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b894d30012d79e24005eca998000600a324..."} 
[2026-10-05 15:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b894d30012d79e24005eca998000600a324..."} 
[2026-10-05 15:39:13] local.INFO: Processing buffer {"connection_id":207679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b894d30012d79e24005eca998000600a324..."} 
[2026-10-05 15:39:13] local.INFO: Packet analysis {"connection_id":207679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b89"} 
[2026-10-05 15:39:13] local.INFO: Extracted packet for processing {"connection_id":207679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b89"} 
[2026-10-05 15:39:13] local.INFO: GPS Element Parsed {"raw_longitude":762962496,"raw_latitude":99395992,"longitude_deg":76.2962496,"latitude_deg":9.9395992,"altitude":6,"angle":163,"satellites":36,"speed":9,"hex_longitude":"2d79e240","hex_latitude":"05eca998","is_valid_coordinates":true} 
[2026-10-05 15:39: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-10-05 15:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545894400001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139683971532324864,"note":"Value kept but may cause issues"} 
[2026-10-05 15:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783356304957458432,"note":"Value kept but may cause issues"} 
[2026-10-05 15:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791194910000,"timestamp_ms":1791194910000,"timestamp_seconds":1791194910,"priority":1,"record_length":96,"hex_timestamp":"000001a10b894d30"} 
[2026-10-05 15:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:39: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-10-05 15:39: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":82,"data_length":795,"current_offset":136} 
[2026-10-05 15:39:13] 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-10-05 15:39: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-10-05 15:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":207679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":207679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":207679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545894400001,"66":13972,"118":206,"87":13824,"24":9,"16":139683971532324864,"45":8783356304957458432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545894400001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:39:13] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:39:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139683971532324864,"km_value":139683971532324.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783356304957458432,"description":"Unknown IO ID 45"} 
[2026-10-05 15:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545894400001,"power":13972,"unknown_118":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8783356304957458432}} 
[2026-10-05 15:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":207679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968251,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:39:13] local.INFO: GPS data processed {"connection_id":207679,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:39:13] local.INFO: Acknowledgment sent {"connection_id":207679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:39:31] local.INFO: TCP Data received {"connection_id":206136,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:39:31] local.INFO: Processing buffer {"connection_id":206136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:39:31] local.INFO: IMEI packet received {"connection_id":206136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":206136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:39:31] local.INFO: TCP Data received {"connection_id":204606,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:39:31] local.INFO: Processing buffer {"connection_id":204606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:39:31] local.INFO: Packet analysis {"connection_id":204606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:39:31] local.INFO: Extracted packet for processing {"connection_id":204606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:39:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":34,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545803008001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791194844000,"timestamp_ms":1791194844000,"timestamp_seconds":1791194844,"priority":1,"record_length":96,"hex_timestamp":"000001a10b884b60"} 
[2026-10-05 15:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-10-05 15:39:31] 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-10-05 15: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-10-05 15:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:39:31] 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-10-05 15:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545803008001,"66":26223,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545803008001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:39:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:39:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545803008001,"power":26223,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":204606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:39:31] local.INFO: GPS data processed {"connection_id":204606,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:39:31] local.INFO: Acknowledgment sent {"connection_id":204606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:39:34] local.INFO: TCP Data received {"connection_id":204734,"ip":"117.225.218.78","data_length":795,"data_hex":"000000000000030f8e0a000001a10b89a708012d0c9d8007041d68000000260c..."} 
[2026-10-05 15:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b89a708012d0c9d8007041d68000000260c..."} 
[2026-10-05 15:39:34] local.INFO: Processing buffer {"connection_id":204734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b89a708012d0c9d8007041d68000000260c..."} 
[2026-10-05 15:39:34] local.INFO: Packet analysis {"connection_id":204734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b89"} 
[2026-10-05 15:39:34] local.INFO: Extracted packet for processing {"connection_id":204734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b89"} 
[2026-10-05 15:39:34] local.INFO: GPS Element Parsed {"raw_longitude":755801472,"raw_latitude":117710184,"longitude_deg":75.5801472,"latitude_deg":11.7710184,"altitude":0,"angle":38,"satellites":12,"speed":34,"hex_longitude":"2d0c9d80","hex_latitude":"07041d68","is_valid_coordinates":true} 
[2026-10-05 15:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545902080001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34790386148835328,"note":"Value kept but may cause issues"} 
[2026-10-05 15:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906982773839202304,"note":"Value kept but may cause issues"} 
[2026-10-05 15:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791194933000,"timestamp_ms":1791194933000,"timestamp_seconds":1791194933,"priority":1,"record_length":96,"hex_timestamp":"000001a10b89a708"} 
[2026-10-05 15:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:39: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-10-05 15:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-05 15:39:34] 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-10-05 15:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":204734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":204734,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":204734,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.218.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 15:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 15:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545902080001,"66":14580,"18":206,"28":32256,"24":34,"16":34790386148835328,"45":906982773839202304},"client_ip":"117.225.218.78","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-05 15:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 15:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 15:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545902080001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:39:34] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-05 15:39:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-05 15:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34790386148835328,"km_value":34790386148835.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":906982773839202304,"description":"Unknown IO ID 45"} 
[2026-10-05 15:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545902080001,"power":14580,"unknown_18":206,"unknown_28":32256,"ignition":34,"odometer":null,"unknown_45":906982773839202304}} 
[2026-10-05 15:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":204734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968253,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:39:34] local.INFO: GPS data processed {"connection_id":204734,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:39:34] local.INFO: Acknowledgment sent {"connection_id":204734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:39:35] local.INFO: TCP Data received {"connection_id":206136,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:39:35] local.INFO: Processing buffer {"connection_id":206136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:39:35] local.INFO: IMEI packet received {"connection_id":206136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":206136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:39:36] local.INFO: TCP Data received {"connection_id":206136,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b899b50012d79ee4005ec88b00007009f2a..."} 
[2026-10-05 15:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b899b50012d79ee4005ec88b00007009f2a..."} 
[2026-10-05 15:39:36] local.INFO: Processing buffer {"connection_id":206136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b899b50012d79ee4005ec88b00007009f2a..."} 
[2026-10-05 15:39:36] local.INFO: Packet analysis {"connection_id":206136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b89"} 
[2026-10-05 15:39:36] local.INFO: Extracted packet for processing {"connection_id":206136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b89"} 
[2026-10-05 15:39:36] local.INFO: GPS Element Parsed {"raw_longitude":762965568,"raw_latitude":99387568,"longitude_deg":76.2965568,"latitude_deg":9.9387568,"altitude":7,"angle":159,"satellites":42,"speed":21,"hex_longitude":"2d79ee40","hex_latitude":"05ec88b0","is_valid_coordinates":true} 
[2026-10-05 15:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545896960001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139684405324021760,"note":"Value kept but may cause issues"} 
[2026-10-05 15:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782652617515440128,"note":"Value kept but may cause issues"} 
[2026-10-05 15:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791194930000,"timestamp_ms":1791194930000,"timestamp_seconds":1791194930,"priority":1,"record_length":96,"hex_timestamp":"000001a10b899b50"} 
[2026-10-05 15:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:39: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-10-05 15:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-10-05 15:39: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-10-05 15:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545896960001,"66":13928,"118":206,"87":13824,"24":21,"16":139684405324021760,"45":8782652617515440128},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-05 15:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545896960001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:39:36] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-05 15:39:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139684405324021760,"km_value":139684405324021.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782652617515440128,"description":"Unknown IO ID 45"} 
[2026-10-05 15:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545896960001,"power":13928,"unknown_118":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8782652617515440128}} 
[2026-10-05 15:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":206136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968254,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:39:36] local.INFO: GPS data processed {"connection_id":206136,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:39:36] local.INFO: Acknowledgment sent {"connection_id":206136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:39:43] local.INFO: TCP Data received {"connection_id":207680,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8891b0012d18d2c0072304d0005d01402b..."} 
[2026-10-05 15:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8891b0012d18d2c0072304d0005d01402b..."} 
[2026-10-05 15:39:43] local.INFO: Processing buffer {"connection_id":207680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8891b0012d18d2c0072304d0005d01402b..."} 
[2026-10-05 15:39:43] local.INFO: Packet analysis {"connection_id":207680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:39:43] local.INFO: Extracted packet for processing {"connection_id":207680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:39:43] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119735504,"longitude_deg":75.6601536,"latitude_deg":11.9735504,"altitude":93,"angle":320,"satellites":43,"speed":0,"hex_longitude":"2d18d2c0","hex_latitude":"072304d0","is_valid_coordinates":true} 
[2026-10-05 15:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545879296001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25115267939958784,"note":"Value kept but may cause issues"} 
[2026-10-05 15:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138904330240,"note":"Value kept but may cause issues"} 
[2026-10-05 15:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791194862000,"timestamp_ms":1791194862000,"timestamp_seconds":1791194862,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8891b0"} 
[2026-10-05 15:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 15:39:43] 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-10-05 15:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545879296001,"66":12852,"62":206,"28":31744,"24":0,"16":25115267939958784,"45":1788703138904330240},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545879296001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:39:43] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:39:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25115267939958784,"km_value":25115267939958.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138904330240,"description":"Unknown IO ID 45"} 
[2026-10-05 15:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545879296001,"power":12852,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788703138904330240}} 
[2026-10-05 15:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":207680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:39:43] local.INFO: GPS data processed {"connection_id":207680,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:39:43] local.INFO: Acknowledgment sent {"connection_id":207680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:39:54] local.INFO: TCP Data received {"connection_id":206138,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:39:54] local.INFO: Processing buffer {"connection_id":206138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:39:54] local.INFO: IMEI packet received {"connection_id":206138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":206138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:39:59] local.INFO: TCP Data received {"connection_id":206138,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:39:59] local.INFO: Processing buffer {"connection_id":206138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:39:59] local.INFO: IMEI packet received {"connection_id":206138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":206138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:40:00] local.INFO: TCP Data received {"connection_id":206138,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:40:00] local.INFO: Processing buffer {"connection_id":206138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:40:00] local.INFO: Packet analysis {"connection_id":206138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:40:00] local.INFO: Extracted packet for processing {"connection_id":206138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:40:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":34,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 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-10-05 15:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545803008001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791194844000,"timestamp_ms":1791194844000,"timestamp_seconds":1791194844,"priority":1,"record_length":96,"hex_timestamp":"000001a10b884b60"} 
[2026-10-05 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-10-05 15:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-10-05 15:40:00] 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-10-05 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-10-05 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-10-05 15:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:40:00] 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-10-05 15:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545803008001,"66":26223,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545803008001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:40:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:40:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545803008001,"power":26223,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":206138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:40:00] local.INFO: GPS data processed {"connection_id":206138,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:40:00] local.INFO: Acknowledgment sent {"connection_id":206138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:40:08] local.INFO: TCP Data received {"connection_id":206136,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8aacc0012d7a180005ec8158000600f52a..."} 
[2026-10-05 15:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8aacc0012d7a180005ec8158000600f52a..."} 
[2026-10-05 15:40:08] local.INFO: Processing buffer {"connection_id":206136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8aacc0012d7a180005ec8158000600f52a..."} 
[2026-10-05 15:40:08] local.INFO: Packet analysis {"connection_id":206136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8a"} 
[2026-10-05 15:40:08] local.INFO: Extracted packet for processing {"connection_id":206136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8a"} 
[2026-10-05 15:40:08] local.INFO: GPS Element Parsed {"raw_longitude":762976256,"raw_latitude":99385688,"longitude_deg":76.2976256,"latitude_deg":9.9385688,"altitude":6,"angle":245,"satellites":42,"speed":7,"hex_longitude":"2d7a1800","hex_latitude":"05ec8158","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545919232001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139685212777873408,"note":"Value kept but may cause issues"} 
[2026-10-05 15:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798204109976162304,"note":"Value kept but may cause issues"} 
[2026-10-05 15:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791195000000,"timestamp_ms":1791195000000,"timestamp_seconds":1791195000,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8aacc0"} 
[2026-10-05 15:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:40: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-10-05 15: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 15:40: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-10-05 15: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-10-05 15:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545919232001,"66":13341,"100":206,"87":13824,"24":7,"16":139685212777873408,"45":8798204109976162304},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545919232001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:40:08] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:40:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139685212777873408,"km_value":139685212777873.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798204109976162304,"description":"Unknown IO ID 45"} 
[2026-10-05 15:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545919232001,"power":13341,"unknown_100":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8798204109976162304}} 
[2026-10-05 15:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":206136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:40:08] local.INFO: GPS data processed {"connection_id":206136,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:40:08] local.INFO: Acknowledgment sent {"connection_id":206136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:40:09] local.INFO: TCP Data received {"connection_id":204734,"ip":"117.225.218.78","data_length":795,"data_hex":"000000000000030f8e0a000001a10b89ce18012d0cae0007043bb00000001a0c..."} 
[2026-10-05 15:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b89ce18012d0cae0007043bb00000001a0c..."} 
[2026-10-05 15:40:09] local.INFO: Processing buffer {"connection_id":204734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b89ce18012d0cae0007043bb00000001a0c..."} 
[2026-10-05 15:40:09] local.INFO: Packet analysis {"connection_id":204734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b89"} 
[2026-10-05 15:40:09] local.INFO: Extracted packet for processing {"connection_id":204734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b89"} 
[2026-10-05 15:40:09] local.INFO: GPS Element Parsed {"raw_longitude":755805696,"raw_latitude":117717936,"longitude_deg":75.5805696,"latitude_deg":11.7717936,"altitude":0,"angle":26,"satellites":12,"speed":33,"hex_longitude":"2d0cae00","hex_latitude":"07043bb0","is_valid_coordinates":true} 
[2026-10-05 15:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545902848001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34790811350597632,"note":"Value kept but may cause issues"} 
[2026-10-05 15:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":909023467420870656,"note":"Value kept but may cause issues"} 
[2026-10-05 15:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791194943000,"timestamp_ms":1791194943000,"timestamp_seconds":1791194943,"priority":1,"record_length":96,"hex_timestamp":"000001a10b89ce18"} 
[2026-10-05 15:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-10-05 15:40:09] 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-10-05 15:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204734,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204734,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.218.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 15:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 15:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545902848001,"66":14439,"18":206,"28":32256,"24":33,"16":34790811350597632,"45":909023467420870656},"client_ip":"117.225.218.78","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-05 15:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 15:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 15:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545902848001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:40:09] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-05 15:40:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-05 15:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34790811350597632,"km_value":34790811350597.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":909023467420870656,"description":"Unknown IO ID 45"} 
[2026-10-05 15:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545902848001,"power":14439,"unknown_18":206,"unknown_28":32256,"ignition":33,"odometer":null,"unknown_45":909023467420870656}} 
[2026-10-05 15:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":204734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968258,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:40:09] local.INFO: GPS data processed {"connection_id":204734,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:40:09] local.INFO: Acknowledgment sent {"connection_id":204734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:40:10] local.INFO: TCP Data received {"connection_id":204736,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:40:10] local.INFO: Processing buffer {"connection_id":204736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:40:10] local.INFO: IMEI packet received {"connection_id":204736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":204736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:40:15] local.INFO: TCP Data received {"connection_id":204736,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:40:15] local.INFO: Processing buffer {"connection_id":204736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:40:15] local.INFO: IMEI packet received {"connection_id":204736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":204736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:40:17] local.INFO: TCP Data received {"connection_id":204736,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b88e3b8012d18d2c0072304d0005d01402b..."} 
[2026-10-05 15:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b88e3b8012d18d2c0072304d0005d01402b..."} 
[2026-10-05 15:40:17] local.INFO: Processing buffer {"connection_id":204736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b88e3b8012d18d2c0072304d0005d01402b..."} 
[2026-10-05 15:40:17] local.INFO: Packet analysis {"connection_id":204736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:40:17] local.INFO: Extracted packet for processing {"connection_id":204736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:40:17] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119735504,"longitude_deg":75.6601536,"latitude_deg":11.9735504,"altitude":93,"angle":320,"satellites":43,"speed":0,"hex_longitude":"2d18d2c0","hex_latitude":"072304d0","is_valid_coordinates":true} 
[2026-10-05 15:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545884672001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25115267939958784,"note":"Value kept but may cause issues"} 
[2026-10-05 15:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138904330240,"note":"Value kept but may cause issues"} 
[2026-10-05 15:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791194883000,"timestamp_ms":1791194883000,"timestamp_seconds":1791194883,"priority":1,"record_length":96,"hex_timestamp":"000001a10b88e3b8"} 
[2026-10-05 15:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 15:40:17] 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-10-05 15:40:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":204736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":204736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":204736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545884672001,"66":12841,"62":206,"28":31744,"24":0,"16":25115267939958784,"45":1788703138904330240},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545884672001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:40:17] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:40:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25115267939958784,"km_value":25115267939958.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138904330240,"description":"Unknown IO ID 45"} 
[2026-10-05 15:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545884672001,"power":12841,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788703138904330240}} 
[2026-10-05 15:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":204736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:40:17] local.INFO: GPS data processed {"connection_id":204736,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:40:17] local.INFO: Acknowledgment sent {"connection_id":204736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:40:19] local.INFO: TCP Data received {"connection_id":204736,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8935c0012d18d2c0072304d0005d01402c..."} 
[2026-10-05 15:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8935c0012d18d2c0072304d0005d01402c..."} 
[2026-10-05 15:40:19] local.INFO: Processing buffer {"connection_id":204736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8935c0012d18d2c0072304d0005d01402c..."} 
[2026-10-05 15:40:19] local.INFO: Packet analysis {"connection_id":204736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b89"} 
[2026-10-05 15:40:19] local.INFO: Extracted packet for processing {"connection_id":204736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b89"} 
[2026-10-05 15:40:19] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119735504,"longitude_deg":75.6601536,"latitude_deg":11.9735504,"altitude":93,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d18d2c0","hex_latitude":"072304d0","is_valid_coordinates":true} 
[2026-10-05 15:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545890048001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25115267939958784,"note":"Value kept but may cause issues"} 
[2026-10-05 15:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138904330240,"note":"Value kept but may cause issues"} 
[2026-10-05 15:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791194904000,"timestamp_ms":1791194904000,"timestamp_seconds":1791194904,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8935c0"} 
[2026-10-05 15:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 15:40:19] 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-10-05 15:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":204736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":204736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":204736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545890048001,"66":12776,"62":206,"28":31744,"24":0,"16":25115267939958784,"45":1788703138904330240},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545890048001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:40:19] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:40:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25115267939958784,"km_value":25115267939958.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138904330240,"description":"Unknown IO ID 45"} 
[2026-10-05 15:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545890048001,"power":12776,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788703138904330240}} 
[2026-10-05 15:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":204736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:40:19] local.INFO: GPS data processed {"connection_id":204736,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:40:19] local.INFO: Acknowledgment sent {"connection_id":204736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:40:30] local.INFO: TCP Data received {"connection_id":204607,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:40:30] local.INFO: Processing buffer {"connection_id":204607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:40:30] local.INFO: IMEI packet received {"connection_id":204607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":204607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:40:31] local.INFO: TCP Data received {"connection_id":206138,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:40:31] local.INFO: Processing buffer {"connection_id":206138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:40:31] local.INFO: Packet analysis {"connection_id":206138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:40:31] local.INFO: Extracted packet for processing {"connection_id":206138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:40:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":34,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545803008001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791194844000,"timestamp_ms":1791194844000,"timestamp_seconds":1791194844,"priority":1,"record_length":96,"hex_timestamp":"000001a10b884b60"} 
[2026-10-05 15:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-10-05 15:40:31] 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-10-05 15: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-10-05 15:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:40:31] 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-10-05 15:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545803008001,"66":26223,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545803008001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:40:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:40:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545803008001,"power":26223,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":206138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:40:31] local.INFO: GPS data processed {"connection_id":206138,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:40:31] local.INFO: Acknowledgment sent {"connection_id":206138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:40:36] local.INFO: TCP Data received {"connection_id":204607,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:40:36] local.INFO: Processing buffer {"connection_id":204607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:40:36] local.INFO: IMEI packet received {"connection_id":204607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":204607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:40:37] local.INFO: TCP Data received {"connection_id":204607,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8ab0a8012d7a174005ec8118000601012a..."} 
[2026-10-05 15:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8ab0a8012d7a174005ec8118000601012a..."} 
[2026-10-05 15:40:37] local.INFO: Processing buffer {"connection_id":204607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8ab0a8012d7a174005ec8118000601012a..."} 
[2026-10-05 15:40:37] local.INFO: Packet analysis {"connection_id":204607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8a"} 
[2026-10-05 15:40:37] local.INFO: Extracted packet for processing {"connection_id":204607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8a"} 
[2026-10-05 15:40:37] local.INFO: GPS Element Parsed {"raw_longitude":762976064,"raw_latitude":99385624,"longitude_deg":76.2976064,"latitude_deg":9.9385624,"altitude":6,"angle":257,"satellites":42,"speed":8,"hex_longitude":"2d7a1740","hex_latitude":"05ec8118","is_valid_coordinates":true} 
[2026-10-05 15:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545920000001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139685221367808000,"note":"Value kept but may cause issues"} 
[2026-10-05 15:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797781897511000064,"note":"Value kept but may cause issues"} 
[2026-10-05 15:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791195001000,"timestamp_ms":1791195001000,"timestamp_seconds":1791195001,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8ab0a8"} 
[2026-10-05 15:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:40: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-10-05 15:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-10-05 15:40:37] 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-10-05 15:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545920000001,"66":13341,"100":206,"87":13824,"24":8,"16":139685221367808000,"45":8797781897511000064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545920000001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:40:37] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:40:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139685221367808000,"km_value":139685221367808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797781897511000064,"description":"Unknown IO ID 45"} 
[2026-10-05 15:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545920000001,"power":13341,"unknown_100":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8797781897511000064}} 
[2026-10-05 15:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":204607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:40:37] local.INFO: GPS data processed {"connection_id":204607,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:40:37] local.INFO: Acknowledgment sent {"connection_id":204607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:40:54] local.INFO: TCP Data received {"connection_id":206139,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:40:54] local.INFO: Processing buffer {"connection_id":206139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:40:54] local.INFO: IMEI packet received {"connection_id":206139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":206139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:40:59] local.INFO: TCP Data received {"connection_id":206139,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:40:59] local.INFO: Processing buffer {"connection_id":206139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:40:59] local.INFO: IMEI packet received {"connection_id":206139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":206139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:41:00] local.INFO: TCP Data received {"connection_id":206139,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:41:00] local.INFO: Processing buffer {"connection_id":206139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:41:00] local.INFO: Packet analysis {"connection_id":206139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:41:00] local.INFO: Extracted packet for processing {"connection_id":206139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:41:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":34,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545803008001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791194844000,"timestamp_ms":1791194844000,"timestamp_seconds":1791194844,"priority":1,"record_length":96,"hex_timestamp":"000001a10b884b60"} 
[2026-10-05 15:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-10-05 15:41:00] 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-10-05 15:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:41:00] 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-10-05 15:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545803008001,"66":26223,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545803008001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:41:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:41:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545803008001,"power":26223,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":206139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:41:00] local.INFO: GPS data processed {"connection_id":206139,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:41:00] local.INFO: Acknowledgment sent {"connection_id":206139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:41:08] local.INFO: TCP Data received {"connection_id":204607,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8ab878012d7a15c005ec80e00006011028..."} 
[2026-10-05 15:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8ab878012d7a15c005ec80e00006011028..."} 
[2026-10-05 15:41:08] local.INFO: Processing buffer {"connection_id":204607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8ab878012d7a15c005ec80e00006011028..."} 
[2026-10-05 15:41:08] local.INFO: Packet analysis {"connection_id":204607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8a"} 
[2026-10-05 15:41:08] local.INFO: Extracted packet for processing {"connection_id":204607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8a"} 
[2026-10-05 15:41:08] local.INFO: GPS Element Parsed {"raw_longitude":762975680,"raw_latitude":99385568,"longitude_deg":76.297568,"latitude_deg":9.9385568,"altitude":6,"angle":272,"satellites":40,"speed":7,"hex_longitude":"2d7a15c0","hex_latitude":"05ec80e0","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545920256001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139685242842644480,"note":"Value kept but may cause issues"} 
[2026-10-05 15:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797570791278450688,"note":"Value kept but may cause issues"} 
[2026-10-05 15:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791195003000,"timestamp_ms":1791195003000,"timestamp_seconds":1791195003,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8ab878"} 
[2026-10-05 15:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:41: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-10-05 15: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-10-05 15:41:08] 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-10-05 15: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-10-05 15:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545920256001,"66":13504,"100":206,"87":13824,"24":7,"16":139685242842644480,"45":8797570791278450688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545920256001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:41:08] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:41:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139685242842644480,"km_value":139685242842644.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797570791278450688,"description":"Unknown IO ID 45"} 
[2026-10-05 15:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545920256001,"power":13504,"unknown_100":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8797570791278450688}} 
[2026-10-05 15:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":204607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:41:08] local.INFO: GPS data processed {"connection_id":204607,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:41:08] local.INFO: Acknowledgment sent {"connection_id":204607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:41:30] local.INFO: TCP Data received {"connection_id":204608,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:41:30] local.INFO: Processing buffer {"connection_id":204608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:41:30] local.INFO: IMEI packet received {"connection_id":204608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":204608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:41:32] local.INFO: TCP Data received {"connection_id":206139,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:41:32] local.INFO: Processing buffer {"connection_id":206139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:41:32] local.INFO: Packet analysis {"connection_id":206139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:41:32] local.INFO: Extracted packet for processing {"connection_id":206139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:41:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":34,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545803008001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791194844000,"timestamp_ms":1791194844000,"timestamp_seconds":1791194844,"priority":1,"record_length":96,"hex_timestamp":"000001a10b884b60"} 
[2026-10-05 15:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-10-05 15:41:32] 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-10-05 15:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:41: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-10-05 15:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545803008001,"66":26223,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545803008001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:41:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:41:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545803008001,"power":26223,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":206139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:41:32] local.INFO: GPS data processed {"connection_id":206139,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:41:32] local.INFO: Acknowledgment sent {"connection_id":206139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:41:36] local.INFO: TCP Data received {"connection_id":204608,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:41:36] local.INFO: Processing buffer {"connection_id":204608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:41:36] local.INFO: IMEI packet received {"connection_id":204608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":204608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:41:37] local.INFO: TCP Data received {"connection_id":204608,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8adba0012d7a120005ec80180005011228..."} 
[2026-10-05 15:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8adba0012d7a120005ec80180005011228..."} 
[2026-10-05 15:41:38] local.INFO: Processing buffer {"connection_id":204608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8adba0012d7a120005ec80180005011228..."} 
[2026-10-05 15:41:38] local.INFO: Packet analysis {"connection_id":204608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8a"} 
[2026-10-05 15:41:38] local.INFO: Extracted packet for processing {"connection_id":204608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8a"} 
[2026-10-05 15:41:38] local.INFO: GPS Element Parsed {"raw_longitude":762974720,"raw_latitude":99385368,"longitude_deg":76.297472,"latitude_deg":9.9385368,"altitude":5,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7a1200","hex_latitude":"05ec8018","is_valid_coordinates":true} 
[2026-10-05 15:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545920768001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139685290087284736,"note":"Value kept but may cause issues"} 
[2026-10-05 15:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797148578813370368,"note":"Value kept but may cause issues"} 
[2026-10-05 15:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791195012000,"timestamp_ms":1791195012000,"timestamp_seconds":1791195012,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8adba0"} 
[2026-10-05 15:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:41: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-10-05 15:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-05 15:41:38] 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-10-05 15:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545920768001,"66":13450,"100":206,"87":13824,"24":0,"16":139685290087284736,"45":8797148578813370368},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545920768001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:41:38] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:41:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139685290087284736,"km_value":139685290087284.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797148578813370368,"description":"Unknown IO ID 45"} 
[2026-10-05 15:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545920768001,"power":13450,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797148578813370368}} 
[2026-10-05 15:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":204608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:41:38] local.INFO: GPS data processed {"connection_id":204608,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:41:38] local.INFO: Acknowledgment sent {"connection_id":204608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:41:44] local.INFO: TCP Data received {"connection_id":204609,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204609,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:41:44] local.INFO: Processing buffer {"connection_id":204609,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:41:44] local.INFO: IMEI packet received {"connection_id":204609,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 15:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":204609,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:41:59] local.INFO: TCP Data received {"connection_id":204610,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:41:59] local.INFO: Processing buffer {"connection_id":204610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:41:59] local.INFO: IMEI packet received {"connection_id":204610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":204610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:42:00] local.INFO: TCP Data received {"connection_id":204611,"ip":"117.225.218.78","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204611,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:42:00] local.INFO: Processing buffer {"connection_id":204611,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:42:00] local.INFO: IMEI packet received {"connection_id":204611,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 15:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":204611,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:42:04] local.INFO: TCP Data received {"connection_id":204610,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:42:04] local.INFO: Processing buffer {"connection_id":204610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:42:04] local.INFO: IMEI packet received {"connection_id":204610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":204610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:42:06] local.INFO: TCP Data received {"connection_id":204610,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:42:06] local.INFO: Processing buffer {"connection_id":204610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:42:06] local.INFO: Packet analysis {"connection_id":204610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:42:06] local.INFO: Extracted packet for processing {"connection_id":204610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:42:06] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":34,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545803008001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791194844000,"timestamp_ms":1791194844000,"timestamp_seconds":1791194844,"priority":1,"record_length":96,"hex_timestamp":"000001a10b884b60"} 
[2026-10-05 15:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-10-05 15:42:06] 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-10-05 15:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545803008001,"66":26223,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545803008001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:42:06] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:42:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545803008001,"power":26223,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":204610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:42:06] local.INFO: GPS data processed {"connection_id":204610,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:42:06] local.INFO: Acknowledgment sent {"connection_id":204610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:42:09] local.INFO: TCP Data received {"connection_id":204608,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8adba0012d7a120005ec80180005011228..."} 
[2026-10-05 15:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8adba0012d7a120005ec80180005011228..."} 
[2026-10-05 15:42:09] local.INFO: Processing buffer {"connection_id":204608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8adba0012d7a120005ec80180005011228..."} 
[2026-10-05 15:42:09] local.INFO: Packet analysis {"connection_id":204608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8a"} 
[2026-10-05 15:42:09] local.INFO: Extracted packet for processing {"connection_id":204608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8a"} 
[2026-10-05 15:42:09] local.INFO: GPS Element Parsed {"raw_longitude":762974720,"raw_latitude":99385368,"longitude_deg":76.297472,"latitude_deg":9.9385368,"altitude":5,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7a1200","hex_latitude":"05ec8018","is_valid_coordinates":true} 
[2026-10-05 15:42:09] 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-10-05 15:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545923072001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139685290087284736,"note":"Value kept but may cause issues"} 
[2026-10-05 15:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796093047650654208,"note":"Value kept but may cause issues"} 
[2026-10-05 15:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791195012000,"timestamp_ms":1791195012000,"timestamp_seconds":1791195012,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8adba0"} 
[2026-10-05 15:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:42: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-10-05 15: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 15:42:09] 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-10-05 15: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-10-05 15:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545923072001,"66":13450,"100":206,"87":13824,"24":0,"16":139685290087284736,"45":8796093047650654208},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545923072001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:42:09] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:42:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139685290087284736,"km_value":139685290087284.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796093047650654208,"description":"Unknown IO ID 45"} 
[2026-10-05 15:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545923072001,"power":13450,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796093047650654208}} 
[2026-10-05 15:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":204608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:42:09] local.INFO: GPS data processed {"connection_id":204608,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:42:09] local.INFO: Acknowledgment sent {"connection_id":204608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:42:10] local.INFO: TCP Data received {"connection_id":207683,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:42:10] local.INFO: Processing buffer {"connection_id":207683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:42:10] local.INFO: IMEI packet received {"connection_id":207683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":207683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:42:30] local.INFO: TCP Data received {"connection_id":204737,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204737,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:42:30] local.INFO: Processing buffer {"connection_id":204737,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:42:30] local.INFO: IMEI packet received {"connection_id":204737,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":204737,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:42:35] local.INFO: TCP Data received {"connection_id":207683,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:42:35] local.INFO: Processing buffer {"connection_id":207683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:42:35] local.INFO: IMEI packet received {"connection_id":207683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":207683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:42:36] local.INFO: TCP Data received {"connection_id":204737,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204737,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:42:36] local.INFO: Processing buffer {"connection_id":204737,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:42:36] local.INFO: IMEI packet received {"connection_id":204737,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":204737,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:42:37] local.INFO: TCP Data received {"connection_id":204737,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8adba0012d7a120005ec80180005011228..."} 
[2026-10-05 15:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8adba0012d7a120005ec80180005011228..."} 
[2026-10-05 15:42:37] local.INFO: Processing buffer {"connection_id":204737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8adba0012d7a120005ec80180005011228..."} 
[2026-10-05 15:42:37] local.INFO: Packet analysis {"connection_id":204737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8a"} 
[2026-10-05 15:42:37] local.INFO: Extracted packet for processing {"connection_id":204737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8a"} 
[2026-10-05 15:42:37] local.INFO: GPS Element Parsed {"raw_longitude":762974720,"raw_latitude":99385368,"longitude_deg":76.297472,"latitude_deg":9.9385368,"altitude":5,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7a1200","hex_latitude":"05ec8018","is_valid_coordinates":true} 
[2026-10-05 15:42:37] 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-10-05 15:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545923072001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139685290087284736,"note":"Value kept but may cause issues"} 
[2026-10-05 15:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796093047650654208,"note":"Value kept but may cause issues"} 
[2026-10-05 15:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791195012000,"timestamp_ms":1791195012000,"timestamp_seconds":1791195012,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8adba0"} 
[2026-10-05 15:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 15:42:37] 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-10-05 15:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545923072001,"66":13450,"100":206,"87":13824,"24":0,"16":139685290087284736,"45":8796093047650654208},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545923072001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:42:37] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:42:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139685290087284736,"km_value":139685290087284.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796093047650654208,"description":"Unknown IO ID 45"} 
[2026-10-05 15:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545923072001,"power":13450,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796093047650654208}} 
[2026-10-05 15:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":204737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968269,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:42:37] local.INFO: GPS data processed {"connection_id":204737,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:42:37] local.INFO: Acknowledgment sent {"connection_id":204737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:42:37] local.INFO: TCP Data received {"connection_id":204610,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:42:37] local.INFO: Processing buffer {"connection_id":204610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:42:37] local.INFO: Packet analysis {"connection_id":204610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:42:37] local.INFO: Extracted packet for processing {"connection_id":204610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:42:37] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":34,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545803008001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791194844000,"timestamp_ms":1791194844000,"timestamp_seconds":1791194844,"priority":1,"record_length":96,"hex_timestamp":"000001a10b884b60"} 
[2026-10-05 15:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-10-05 15:42:37] 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-10-05 15:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545803008001,"66":26223,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545803008001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:42:37] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:42:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545803008001,"power":26223,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":204610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:42:37] local.INFO: GPS data processed {"connection_id":204610,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:42:37] local.INFO: Acknowledgment sent {"connection_id":204610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:42:37] local.INFO: TCP Data received {"connection_id":207683,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8b29c0012d18a3c007229c70006c010d2a..."} 
[2026-10-05 15:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8b29c0012d18a3c007229c70006c010d2a..."} 
[2026-10-05 15:42:37] local.INFO: Processing buffer {"connection_id":207683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8b29c0012d18a3c007229c70006c010d2a..."} 
[2026-10-05 15:42:37] local.INFO: Packet analysis {"connection_id":207683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8b"} 
[2026-10-05 15:42:37] local.INFO: Extracted packet for processing {"connection_id":207683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8b"} 
[2026-10-05 15:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756589504,"raw_latitude":119708784,"longitude_deg":75.6589504,"latitude_deg":11.9708784,"altitude":108,"angle":269,"satellites":42,"speed":12,"hex_longitude":"2d18a3c0","hex_latitude":"07229c70","is_valid_coordinates":true} 
[2026-10-05 15:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545927936001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25116887142629376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775825658712985600,"note":"Value kept but may cause issues"} 
[2026-10-05 15:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791195032000,"timestamp_ms":1791195032000,"timestamp_seconds":1791195032,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8b29c0"} 
[2026-10-05 15:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:42: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-10-05 15:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-05 15:42: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-10-05 15:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545927936001,"66":14048,"62":206,"28":31744,"24":12,"16":25116887142629376,"45":1775825658712985600},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545927936001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:42:37] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:42:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25116887142629376,"km_value":25116887142629.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775825658712985600,"description":"Unknown IO ID 45"} 
[2026-10-05 15:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545927936001,"power":14048,"unknown_62":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1775825658712985600}} 
[2026-10-05 15:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":207683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:42:37] local.INFO: GPS data processed {"connection_id":207683,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:42:37] local.INFO: Acknowledgment sent {"connection_id":207683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:42:38] local.INFO: TCP Data received {"connection_id":207683,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8c6240012d189f4007229d88006b004c2b..."} 
[2026-10-05 15:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8c6240012d189f4007229d88006b004c2b..."} 
[2026-10-05 15:42:38] local.INFO: Processing buffer {"connection_id":207683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8c6240012d189f4007229d88006b004c2b..."} 
[2026-10-05 15:42:38] local.INFO: Packet analysis {"connection_id":207683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:42:38] local.INFO: Extracted packet for processing {"connection_id":207683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:42:38] local.INFO: GPS Element Parsed {"raw_longitude":756588352,"raw_latitude":119709064,"longitude_deg":75.6588352,"latitude_deg":11.9709064,"altitude":107,"angle":76,"satellites":43,"speed":5,"hex_longitude":"2d189f40","hex_latitude":"07229d88","is_valid_coordinates":true} 
[2026-10-05 15:42: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-10-05 15:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545947392001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25117174905438208,"note":"Value kept but may cause issues"} 
[2026-10-05 15:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1773222015178463232,"note":"Value kept but may cause issues"} 
[2026-10-05 15:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791195112000,"timestamp_ms":1791195112000,"timestamp_seconds":1791195112,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8c6240"} 
[2026-10-05 15:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:42: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":202,"data_length":795,"current_offset":136} 
[2026-10-05 15:42:38] 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-10-05 15:42: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-10-05 15:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545947392001,"66":13961,"62":206,"28":31744,"24":5,"16":25117174905438208,"45":1773222015178463232},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545947392001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:42:38] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:42:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25117174905438208,"km_value":25117174905438.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1773222015178463232,"description":"Unknown IO ID 45"} 
[2026-10-05 15:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545947392001,"power":13961,"unknown_62":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1773222015178463232}} 
[2026-10-05 15:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":207683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:42:38] local.INFO: GPS data processed {"connection_id":207683,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:42:38] local.INFO: Acknowledgment sent {"connection_id":207683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:42:40] local.INFO: TCP Data received {"connection_id":204611,"ip":"117.225.218.78","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-05 15:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204611,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-05 15:42:40] local.INFO: Processing buffer {"connection_id":204611,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-05 15:42:40] local.INFO: IMEI packet received {"connection_id":204611,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 15:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":204611,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:42:42] local.INFO: TCP Data received {"connection_id":204611,"ip":"117.225.218.78","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8c0098012d0bbec00704ba28000a01110f..."} 
[2026-10-05 15:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8c0098012d0bbec00704ba28000a01110f..."} 
[2026-10-05 15:42:42] local.INFO: Processing buffer {"connection_id":204611,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a10b..."} 
[2026-10-05 15:42:42] local.INFO: IMEI packet received {"connection_id":204611,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 15:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":204611,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:42:47] local.INFO: TCP Data received {"connection_id":204611,"ip":"117.225.218.78","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8cc000012d0b5f800704eac8000600130f..."} 
[2026-10-05 15:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8cc000012d0b5f800704eac8000600130f..."} 
[2026-10-05 15:42:47] local.INFO: Processing buffer {"connection_id":204611,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a10b8c0098012d0bbec00704ba28000a01110f..."} 
[2026-10-05 15:42:47] local.INFO: Packet analysis {"connection_id":204611,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:42:47] local.INFO: Extracted packet for processing {"connection_id":204611,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:42:47] local.INFO: GPS Element Parsed {"raw_longitude":755744448,"raw_latitude":117750312,"longitude_deg":75.5744448,"latitude_deg":11.7750312,"altitude":10,"angle":273,"satellites":15,"speed":23,"hex_longitude":"2d0bbec0","hex_latitude":"0704ba28","is_valid_coordinates":true} 
[2026-10-05 15:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545941760001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34795557289459712,"note":"Value kept but may cause issues"} 
[2026-10-05 15:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":847591553764085760,"note":"Value kept but may cause issues"} 
[2026-10-05 15:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791195087000,"timestamp_ms":1791195087000,"timestamp_seconds":1791195087,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8c0098"} 
[2026-10-05 15:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 15:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":204611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":204611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":204611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.218.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 15:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 15:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545941760001,"66":14439,"85":206,"28":32256,"24":23,"16":34795557289459712,"45":847591553764085760},"client_ip":"117.225.218.78","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,28,24,16,45]} 
[2026-10-05 15:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 15:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 15:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545941760001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:42:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-10-05 15:42:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-05 15:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34795557289459712,"km_value":34795557289459.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":847591553764085760,"description":"Unknown IO ID 45"} 
[2026-10-05 15:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545941760001,"power":14439,"unknown_85":206,"unknown_28":32256,"ignition":23,"odometer":null,"unknown_45":847591553764085760}} 
[2026-10-05 15:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":204611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968273,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:42:47] local.INFO: GPS data processed {"connection_id":204611,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:42:47] local.INFO: Acknowledgment sent {"connection_id":204611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:42:47] local.INFO: Packet analysis {"connection_id":204611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:42:47] local.INFO: Extracted packet for processing {"connection_id":204611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:42:47] local.INFO: GPS Element Parsed {"raw_longitude":755720064,"raw_latitude":117762760,"longitude_deg":75.5720064,"latitude_deg":11.776276,"altitude":6,"angle":19,"satellites":15,"speed":9,"hex_longitude":"2d0b5f80","hex_latitude":"0704eac8","is_valid_coordinates":true} 
[2026-10-05 15:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545953024001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34797167902195712,"note":"Value kept but may cause issues"} 
[2026-10-05 15:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819936637304588288,"note":"Value kept but may cause issues"} 
[2026-10-05 15:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791195136000,"timestamp_ms":1791195136000,"timestamp_seconds":1791195136,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8cc000"} 
[2026-10-05 15:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-05 15:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":204611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":204611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":204611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.218.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 15:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 15:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545953024001,"66":14580,"85":206,"28":32256,"24":9,"16":34797167902195712,"45":819936637304588288},"client_ip":"117.225.218.78","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,28,24,16,45]} 
[2026-10-05 15:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 15:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 15:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545953024001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:42:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-10-05 15:42:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-05 15:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34797167902195712,"km_value":34797167902195.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":819936637304588288,"description":"Unknown IO ID 45"} 
[2026-10-05 15:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545953024001,"power":14580,"unknown_85":206,"unknown_28":32256,"ignition":9,"odometer":null,"unknown_45":819936637304588288}} 
[2026-10-05 15:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":204611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968274,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:42:47] local.INFO: GPS data processed {"connection_id":204611,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:42:47] local.INFO: Acknowledgment sent {"connection_id":204611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:42:54] local.INFO: TCP Data received {"connection_id":206140,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:42:54] local.INFO: Processing buffer {"connection_id":206140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:42:54] local.INFO: IMEI packet received {"connection_id":206140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":206140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:42:59] local.INFO: TCP Data received {"connection_id":206140,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:42:59] local.INFO: Processing buffer {"connection_id":206140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:42:59] local.INFO: IMEI packet received {"connection_id":206140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":206140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:43:00] local.INFO: TCP Data received {"connection_id":206140,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:43:00] local.INFO: Processing buffer {"connection_id":206140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b884b60012d80b3c00602ac50002200cf2d..."} 
[2026-10-05 15:43:00] local.INFO: Packet analysis {"connection_id":206140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:43:00] local.INFO: Extracted packet for processing {"connection_id":206140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b88"} 
[2026-10-05 15:43:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":34,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545803008001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791194844000,"timestamp_ms":1791194844000,"timestamp_seconds":1791194844,"priority":1,"record_length":96,"hex_timestamp":"000001a10b884b60"} 
[2026-10-05 15:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-10-05 15:43:00] 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-10-05 15:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15: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-10-05 15:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545803008001,"66":26223,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545803008001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:43:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:43:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545803008001,"power":26223,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":206140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:43:00] local.INFO: GPS data processed {"connection_id":206140,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:43:00] local.INFO: Acknowledgment sent {"connection_id":206140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:43:05] local.INFO: TCP Data received {"connection_id":207684,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:43:05] local.INFO: Processing buffer {"connection_id":207684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:43:05] local.INFO: IMEI packet received {"connection_id":207684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":207684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:43:09] local.INFO: TCP Data received {"connection_id":204737,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8adba0012d7a120005ec80180005011228..."} 
[2026-10-05 15:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8adba0012d7a120005ec80180005011228..."} 
[2026-10-05 15:43:09] local.INFO: Processing buffer {"connection_id":204737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8adba0012d7a120005ec80180005011228..."} 
[2026-10-05 15:43:09] local.INFO: Packet analysis {"connection_id":204737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8a"} 
[2026-10-05 15:43:09] local.INFO: Extracted packet for processing {"connection_id":204737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8a"} 
[2026-10-05 15:43:09] local.INFO: GPS Element Parsed {"raw_longitude":762974720,"raw_latitude":99385368,"longitude_deg":76.297472,"latitude_deg":9.9385368,"altitude":5,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7a1200","hex_latitude":"05ec8018","is_valid_coordinates":true} 
[2026-10-05 15:43:09] 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-10-05 15:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545923072001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139685290087284736,"note":"Value kept but may cause issues"} 
[2026-10-05 15:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796093047650654208,"note":"Value kept but may cause issues"} 
[2026-10-05 15:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791195012000,"timestamp_ms":1791195012000,"timestamp_seconds":1791195012,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8adba0"} 
[2026-10-05 15:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:43: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-10-05 15: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 15:43:09] 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-10-05 15: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-10-05 15:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545923072001,"66":13450,"100":206,"87":13824,"24":0,"16":139685290087284736,"45":8796093047650654208},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545923072001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:43:09] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:43:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139685290087284736,"km_value":139685290087284.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796093047650654208,"description":"Unknown IO ID 45"} 
[2026-10-05 15:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545923072001,"power":13450,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796093047650654208}} 
[2026-10-05 15:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":204737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:43:09] local.INFO: GPS data processed {"connection_id":204737,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:43:09] local.INFO: Acknowledgment sent {"connection_id":204737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:43:09] local.INFO: TCP Data received {"connection_id":207684,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:43:09] local.INFO: Processing buffer {"connection_id":207684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:43:09] local.INFO: IMEI packet received {"connection_id":207684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":207684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:43:10] local.INFO: TCP Data received {"connection_id":207684,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8c6628012d18a00007229d98006b005a2b..."} 
[2026-10-05 15:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8c6628012d18a00007229d98006b005a2b..."} 
[2026-10-05 15:43:10] local.INFO: Processing buffer {"connection_id":207684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8c6628012d18a00007229d98006b005a2b..."} 
[2026-10-05 15:43:10] local.INFO: Packet analysis {"connection_id":207684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:43:10] local.INFO: Extracted packet for processing {"connection_id":207684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:43:10] local.INFO: GPS Element Parsed {"raw_longitude":756588544,"raw_latitude":119709080,"longitude_deg":75.6588544,"latitude_deg":11.970908,"altitude":107,"angle":90,"satellites":43,"speed":4,"hex_longitude":"2d18a000","hex_latitude":"07229d98","is_valid_coordinates":true} 
[2026-10-05 15:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545948672001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25117183495372800,"note":"Value kept but may cause issues"} 
[2026-10-05 15:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774207177596962816,"note":"Value kept but may cause issues"} 
[2026-10-05 15:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791195113000,"timestamp_ms":1791195113000,"timestamp_seconds":1791195113,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8c6628"} 
[2026-10-05 15:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:43: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-10-05 15:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-05 15:43:10] 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-10-05 15:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545948672001,"66":13961,"62":206,"28":31744,"24":4,"16":25117183495372800,"45":1774207177596962816},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545948672001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:43:10] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:43:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25117183495372800,"km_value":25117183495372.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774207177596962816,"description":"Unknown IO ID 45"} 
[2026-10-05 15:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545948672001,"power":13961,"unknown_62":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1774207177596962816}} 
[2026-10-05 15:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":207684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:43:10] local.INFO: GPS data processed {"connection_id":207684,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:43:10] local.INFO: Acknowledgment sent {"connection_id":207684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:43:30] local.INFO: TCP Data received {"connection_id":204611,"ip":"117.225.218.78","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8ccfa0012d0b5fc00704ee18000500060f..."} 
[2026-10-05 15:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8ccfa0012d0b5fc00704ee18000500060f..."} 
[2026-10-05 15:43:30] local.INFO: Processing buffer {"connection_id":204611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8ccfa0012d0b5fc00704ee18000500060f..."} 
[2026-10-05 15:43:30] local.INFO: Packet analysis {"connection_id":204611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:43:30] local.INFO: Extracted packet for processing {"connection_id":204611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:43:30] local.INFO: GPS Element Parsed {"raw_longitude":755720128,"raw_latitude":117763608,"longitude_deg":75.5720128,"latitude_deg":11.7763608,"altitude":5,"angle":6,"satellites":15,"speed":5,"hex_longitude":"2d0b5fc0","hex_latitude":"0704ee18","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545954816001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34797210851868672,"note":"Value kept but may cause issues"} 
[2026-10-05 15:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819514424840341504,"note":"Value kept but may cause issues"} 
[2026-10-05 15:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1791195140000,"timestamp_ms":1791195140000,"timestamp_seconds":1791195140,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8ccfa0"} 
[2026-10-05 15:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:43: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-10-05 15: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-10-05 15:43:30] 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-10-05 15: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-10-05 15:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":204611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":204611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":204611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.218.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 15:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 15:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545954816001,"66":14439,"85":206,"28":32256,"24":5,"16":34797210851868672,"45":819514424840341504},"client_ip":"117.225.218.78","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,28,24,16,45]} 
[2026-10-05 15:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 15:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 15:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545954816001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:43:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-10-05 15:43:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-05 15:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34797210851868672,"km_value":34797210851868.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":819514424840341504,"description":"Unknown IO ID 45"} 
[2026-10-05 15:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545954816001,"power":14439,"unknown_85":206,"unknown_28":32256,"ignition":5,"odometer":null,"unknown_45":819514424840341504}} 
[2026-10-05 15:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":204611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968278,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:43:30] local.INFO: GPS data processed {"connection_id":204611,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:43:30] local.INFO: Acknowledgment sent {"connection_id":204611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:43:31] local.INFO: TCP Data received {"connection_id":206140,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:43:31] local.INFO: Processing buffer {"connection_id":206140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:43:31] local.INFO: Packet analysis {"connection_id":206140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:43:31] local.INFO: Extracted packet for processing {"connection_id":206140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:43:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545880064001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791195145000,"timestamp_ms":1791195145000,"timestamp_seconds":1791195145,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8ce328"} 
[2026-10-05 15:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-10-05 15:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15: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-10-05 15:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545880064001,"66":26136,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545880064001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:43:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:43:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545880064001,"power":26136,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":206140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:43:31] local.INFO: GPS data processed {"connection_id":206140,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:43:31] local.INFO: Acknowledgment sent {"connection_id":206140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:43:36] local.INFO: TCP Data received {"connection_id":204739,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204739,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:43:36] local.INFO: Processing buffer {"connection_id":204739,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:43:36] local.INFO: IMEI packet received {"connection_id":204739,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":204739,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:43:41] local.INFO: TCP Data received {"connection_id":204739,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204739,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:43:41] local.INFO: Processing buffer {"connection_id":204739,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:43:41] local.INFO: IMEI packet received {"connection_id":204739,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":204739,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:43:41] local.INFO: TCP Data received {"connection_id":207684,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8c7d98012d18a3c007229d28006c006929..."} 
[2026-10-05 15:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8c7d98012d18a3c007229d28006c006929..."} 
[2026-10-05 15:43:41] local.INFO: Processing buffer {"connection_id":207684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8c7d98012d18a3c007229d28006c006929..."} 
[2026-10-05 15:43:41] local.INFO: Packet analysis {"connection_id":207684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:43:41] local.INFO: Extracted packet for processing {"connection_id":207684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:43:41] local.INFO: GPS Element Parsed {"raw_longitude":756589504,"raw_latitude":119708968,"longitude_deg":75.6589504,"latitude_deg":11.9708968,"altitude":108,"angle":105,"satellites":41,"speed":6,"hex_longitude":"2d18a3c0","hex_latitude":"07229d28","is_valid_coordinates":true} 
[2026-10-05 15:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545948928001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25117230740013056,"note":"Value kept but may cause issues"} 
[2026-10-05 15:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774418283829499904,"note":"Value kept but may cause issues"} 
[2026-10-05 15:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791195119000,"timestamp_ms":1791195119000,"timestamp_seconds":1791195119,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8c7d98"} 
[2026-10-05 15:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-05 15:43:41] 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-10-05 15:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":207684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":207684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":207684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545948928001,"66":13798,"62":206,"28":31744,"24":6,"16":25117230740013056,"45":1774418283829499904},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-10-05 15:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545948928001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:43:41] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-10-05 15:43:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25117230740013056,"km_value":25117230740013.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774418283829499904,"description":"Unknown IO ID 45"} 
[2026-10-05 15:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545948928001,"power":13798,"unknown_62":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1774418283829499904}} 
[2026-10-05 15:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":207684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:43:41] local.INFO: GPS data processed {"connection_id":207684,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:43:41] local.INFO: Acknowledgment sent {"connection_id":207684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:43:42] local.INFO: TCP Data received {"connection_id":204739,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8adba0012d7a120005ec80180005011228..."} 
[2026-10-05 15:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8adba0012d7a120005ec80180005011228..."} 
[2026-10-05 15:43:42] local.INFO: Processing buffer {"connection_id":204739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8adba0012d7a120005ec80180005011228..."} 
[2026-10-05 15:43:42] local.INFO: Packet analysis {"connection_id":204739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8a"} 
[2026-10-05 15:43:42] local.INFO: Extracted packet for processing {"connection_id":204739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8a"} 
[2026-10-05 15:43:42] local.INFO: GPS Element Parsed {"raw_longitude":762974720,"raw_latitude":99385368,"longitude_deg":76.297472,"latitude_deg":9.9385368,"altitude":5,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7a1200","hex_latitude":"05ec8018","is_valid_coordinates":true} 
[2026-10-05 15:43:42] 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-10-05 15:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545923072001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139685290087284736,"note":"Value kept but may cause issues"} 
[2026-10-05 15:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796093047650654208,"note":"Value kept but may cause issues"} 
[2026-10-05 15:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791195012000,"timestamp_ms":1791195012000,"timestamp_seconds":1791195012,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8adba0"} 
[2026-10-05 15:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:43: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":138,"data_length":795,"current_offset":136} 
[2026-10-05 15:43:42] 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-10-05 15:43: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-10-05 15:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545923072001,"66":13450,"100":206,"87":13824,"24":0,"16":139685290087284736,"45":8796093047650654208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545923072001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:43:42] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:43:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139685290087284736,"km_value":139685290087284.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796093047650654208,"description":"Unknown IO ID 45"} 
[2026-10-05 15:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545923072001,"power":13450,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796093047650654208}} 
[2026-10-05 15:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":204739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968281,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:43:42] local.INFO: GPS data processed {"connection_id":204739,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:43:42] local.INFO: Acknowledgment sent {"connection_id":204739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:43:46] local.INFO: TCP Data received {"connection_id":204739,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8adba0012d7a120005ec80180005011228..."} 
[2026-10-05 15:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8adba0012d7a120005ec80180005011228..."} 
[2026-10-05 15:43:46] local.INFO: Processing buffer {"connection_id":204739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8adba0012d7a120005ec80180005011228..."} 
[2026-10-05 15:43:46] local.INFO: Packet analysis {"connection_id":204739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8a"} 
[2026-10-05 15:43:46] local.INFO: Extracted packet for processing {"connection_id":204739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8a"} 
[2026-10-05 15:43:46] local.INFO: GPS Element Parsed {"raw_longitude":762974720,"raw_latitude":99385368,"longitude_deg":76.297472,"latitude_deg":9.9385368,"altitude":5,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7a1200","hex_latitude":"05ec8018","is_valid_coordinates":true} 
[2026-10-05 15:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545923072001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139685290087284736,"note":"Value kept but may cause issues"} 
[2026-10-05 15:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796093047650654208,"note":"Value kept but may cause issues"} 
[2026-10-05 15:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791195012000,"timestamp_ms":1791195012000,"timestamp_seconds":1791195012,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8adba0"} 
[2026-10-05 15:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 15:43:46] 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-10-05 15: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-10-05 15:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545923072001,"66":13450,"100":206,"87":13824,"24":0,"16":139685290087284736,"45":8796093047650654208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545923072001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:43:46] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:43:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139685290087284736,"km_value":139685290087284.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796093047650654208,"description":"Unknown IO ID 45"} 
[2026-10-05 15:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545923072001,"power":13450,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796093047650654208}} 
[2026-10-05 15:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":204739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:43:46] local.INFO: GPS data processed {"connection_id":204739,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:43:46] local.INFO: Acknowledgment sent {"connection_id":204739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:43:54] local.INFO: TCP Data received {"connection_id":207685,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:43:54] local.INFO: Processing buffer {"connection_id":207685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:43:54] local.INFO: IMEI packet received {"connection_id":207685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":207685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:43:59] local.INFO: TCP Data received {"connection_id":207685,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:43:59] local.INFO: Processing buffer {"connection_id":207685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:43:59] local.INFO: IMEI packet received {"connection_id":207685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":207685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:44:00] local.INFO: TCP Data received {"connection_id":207685,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:44:00] local.INFO: Processing buffer {"connection_id":207685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:44:00] local.INFO: Packet analysis {"connection_id":207685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:44:00] local.INFO: Extracted packet for processing {"connection_id":207685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:44:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545880064001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791195145000,"timestamp_ms":1791195145000,"timestamp_seconds":1791195145,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8ce328"} 
[2026-10-05 15:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-10-05 15:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:44: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-10-05 15:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545880064001,"66":26136,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545880064001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:44:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:44:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545880064001,"power":26136,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":207685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:44:00] local.INFO: GPS data processed {"connection_id":207685,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:44:00] local.INFO: Acknowledgment sent {"connection_id":207685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:44:05] local.INFO: TCP Data received {"connection_id":204612,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:44:05] local.INFO: Processing buffer {"connection_id":204612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:44:05] local.INFO: IMEI packet received {"connection_id":204612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":204612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:44:05] local.INFO: TCP Data received {"connection_id":204612,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:44:05] local.INFO: Processing buffer {"connection_id":204612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:44:05] local.INFO: IMEI packet received {"connection_id":204612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":204612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:44:06] local.INFO: TCP Data received {"connection_id":204611,"ip":"117.225.218.78","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8d1dc0012d0b5f400704ee38000300060f..."} 
[2026-10-05 15:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8d1dc0012d0b5f400704ee38000300060f..."} 
[2026-10-05 15:44:06] local.INFO: Processing buffer {"connection_id":204611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8d1dc0012d0b5f400704ee38000300060f..."} 
[2026-10-05 15:44:06] local.INFO: Packet analysis {"connection_id":204611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8d"} 
[2026-10-05 15:44:06] local.INFO: Extracted packet for processing {"connection_id":204611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8d"} 
[2026-10-05 15:44:06] local.INFO: GPS Element Parsed {"raw_longitude":755720000,"raw_latitude":117763640,"longitude_deg":75.572,"latitude_deg":11.776364,"altitude":3,"angle":6,"satellites":15,"speed":0,"hex_longitude":"2d0b5f40","hex_latitude":"0704ee38","is_valid_coordinates":true} 
[2026-10-05 15:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545955840001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34797232326705152,"note":"Value kept but may cause issues"} 
[2026-10-05 15:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819584793584736256,"note":"Value kept but may cause issues"} 
[2026-10-05 15:44:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,28,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 15:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791195160000,"timestamp_ms":1791195160000,"timestamp_seconds":1791195160,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8d1dc0"} 
[2026-10-05 15:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-05 15:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.218.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 15:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 15:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545955840001,"66":14439,"16":34797232326705152,"28":32256,"24":0,"45":819584793584736256},"client_ip":"117.225.218.78","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,28,24,45]} 
[2026-10-05 15:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 15:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 15:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545955840001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34797232326705152,"km_value":34797232326705.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:44:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-05 15:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":819584793584736256,"description":"Unknown IO ID 45"} 
[2026-10-05 15:44:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458545955840001,"power":14439,"odometer":null,"unknown_28":32256,"ignition":0,"unknown_45":819584793584736256}} 
[2026-10-05 15:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":204611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968284,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:44:07] local.INFO: GPS data processed {"connection_id":204611,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:44:07] local.INFO: Acknowledgment sent {"connection_id":204611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:44:08] local.INFO: TCP Data received {"connection_id":204612,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:44:08] local.INFO: Processing buffer {"connection_id":204612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:44:08] local.INFO: IMEI packet received {"connection_id":204612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":204612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:44:09] local.INFO: TCP Data received {"connection_id":204612,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8d7f68012d183c000721d678004900d527..."} 
[2026-10-05 15:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8d7f68012d183c000721d678004900d527..."} 
[2026-10-05 15:44:09] local.INFO: Processing buffer {"connection_id":204612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8d7f68012d183c000721d678004900d527..."} 
[2026-10-05 15:44:09] local.INFO: Packet analysis {"connection_id":204612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8d"} 
[2026-10-05 15:44:09] local.INFO: Extracted packet for processing {"connection_id":204612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8d"} 
[2026-10-05 15:44:09] local.INFO: GPS Element Parsed {"raw_longitude":756562944,"raw_latitude":119658104,"longitude_deg":75.6562944,"latitude_deg":11.9658104,"altitude":73,"angle":213,"satellites":39,"speed":41,"hex_longitude":"2d183c00","hex_latitude":"0721d678","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545965312001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25120095483199488,"note":"Value kept but may cause issues"} 
[2026-10-05 15:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1751759548193196032,"note":"Value kept but may cause issues"} 
[2026-10-05 15:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791195185000,"timestamp_ms":1791195185000,"timestamp_seconds":1791195185,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8d7f68"} 
[2026-10-05 15:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:44: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-10-05 15: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-10-05 15:44: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-10-05 15: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-10-05 15:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545965312001,"66":12526,"120":206,"28":31744,"24":41,"16":25120095483199488,"45":1751759548193196032},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 15:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545965312001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:44:09] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 15:44:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25120095483199488,"km_value":25120095483199.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1751759548193196032,"description":"Unknown IO ID 45"} 
[2026-10-05 15:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545965312001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1751759548193196032}} 
[2026-10-05 15:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":204612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:44:09] local.INFO: GPS data processed {"connection_id":204612,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:44:09] local.INFO: Acknowledgment sent {"connection_id":204612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:44:31] local.INFO: TCP Data received {"connection_id":206141,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206141,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:44:31] local.INFO: Processing buffer {"connection_id":206141,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:44:31] local.INFO: IMEI packet received {"connection_id":206141,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":206141,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:44:31] local.INFO: TCP Data received {"connection_id":207685,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:44:31] local.INFO: Processing buffer {"connection_id":207685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:44:31] local.INFO: Packet analysis {"connection_id":207685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:44:31] local.INFO: Extracted packet for processing {"connection_id":207685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:44:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545880064001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791195145000,"timestamp_ms":1791195145000,"timestamp_seconds":1791195145,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8ce328"} 
[2026-10-05 15:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-10-05 15:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:44: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-10-05 15:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545880064001,"66":26136,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545880064001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:44:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:44:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545880064001,"power":26136,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":207685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:44:32] local.INFO: GPS data processed {"connection_id":207685,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:44:32] local.INFO: Acknowledgment sent {"connection_id":207685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:44:36] local.INFO: TCP Data received {"connection_id":206141,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206141,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:44:36] local.INFO: Processing buffer {"connection_id":206141,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:44:36] local.INFO: IMEI packet received {"connection_id":206141,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":206141,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:44:37] local.INFO: TCP Data received {"connection_id":206141,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8adba0012d7a120005ec80180005011228..."} 
[2026-10-05 15:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8adba0012d7a120005ec80180005011228..."} 
[2026-10-05 15:44:37] local.INFO: Processing buffer {"connection_id":206141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8adba0012d7a120005ec80180005011228..."} 
[2026-10-05 15:44:37] local.INFO: Packet analysis {"connection_id":206141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8a"} 
[2026-10-05 15:44:37] local.INFO: Extracted packet for processing {"connection_id":206141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8a"} 
[2026-10-05 15:44:37] local.INFO: GPS Element Parsed {"raw_longitude":762974720,"raw_latitude":99385368,"longitude_deg":76.297472,"latitude_deg":9.9385368,"altitude":5,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7a1200","hex_latitude":"05ec8018","is_valid_coordinates":true} 
[2026-10-05 15:44:37] 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-10-05 15:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545923072001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139685290087284736,"note":"Value kept but may cause issues"} 
[2026-10-05 15:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796093047650654208,"note":"Value kept but may cause issues"} 
[2026-10-05 15:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791195012000,"timestamp_ms":1791195012000,"timestamp_seconds":1791195012,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8adba0"} 
[2026-10-05 15:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 15:44:37] 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-10-05 15:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545923072001,"66":13450,"100":206,"87":13824,"24":0,"16":139685290087284736,"45":8796093047650654208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545923072001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:44:37] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:44:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139685290087284736,"km_value":139685290087284.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796093047650654208,"description":"Unknown IO ID 45"} 
[2026-10-05 15:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545923072001,"power":13450,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796093047650654208}} 
[2026-10-05 15:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":206141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968287,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:44:37] local.INFO: GPS data processed {"connection_id":206141,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:44:37] local.INFO: Acknowledgment sent {"connection_id":206141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:44:40] local.INFO: TCP Data received {"connection_id":204612,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8da290012d1828800721b898004500d229..."} 
[2026-10-05 15:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8da290012d1828800721b898004500d229..."} 
[2026-10-05 15:44:40] local.INFO: Processing buffer {"connection_id":204612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8da290012d1828800721b898004500d229..."} 
[2026-10-05 15:44:40] local.INFO: Packet analysis {"connection_id":204612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8d"} 
[2026-10-05 15:44:40] local.INFO: Extracted packet for processing {"connection_id":204612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8d"} 
[2026-10-05 15:44:40] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119650456,"longitude_deg":75.6557952,"latitude_deg":11.9650456,"altitude":69,"angle":210,"satellites":41,"speed":35,"hex_longitude":"2d182880","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545967360001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25120537864830976,"note":"Value kept but may cause issues"} 
[2026-10-05 15:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746270786145384448,"note":"Value kept but may cause issues"} 
[2026-10-05 15:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791195194000,"timestamp_ms":1791195194000,"timestamp_seconds":1791195194,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8da290"} 
[2026-10-05 15:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 15:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545967360001,"66":13102,"120":206,"28":31744,"24":35,"16":25120537864830976,"45":1746270786145384448},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 15:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545967360001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:44:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 15:44:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25120537864830976,"km_value":25120537864830.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746270786145384448,"description":"Unknown IO ID 45"} 
[2026-10-05 15:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545967360001,"power":13102,"unknown_120":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1746270786145384448}} 
[2026-10-05 15:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":204612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:44:40] local.INFO: GPS data processed {"connection_id":204612,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:44:40] local.INFO: Acknowledgment sent {"connection_id":204612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:44:41] local.INFO: TCP Data received {"connection_id":204611,"ip":"117.225.218.78","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8ecb70012d0b24c0070585a00016014b0f..."} 
[2026-10-05 15:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8ecb70012d0b24c0070585a00016014b0f..."} 
[2026-10-05 15:44:41] local.INFO: Processing buffer {"connection_id":204611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8ecb70012d0b24c0070585a00016014b0f..."} 
[2026-10-05 15:44:41] local.INFO: Packet analysis {"connection_id":204611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8e"} 
[2026-10-05 15:44:41] local.INFO: Extracted packet for processing {"connection_id":204611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8e"} 
[2026-10-05 15:44:41] local.INFO: GPS Element Parsed {"raw_longitude":755705024,"raw_latitude":117802400,"longitude_deg":75.5705024,"latitude_deg":11.78024,"altitude":22,"angle":331,"satellites":15,"speed":20,"hex_longitude":"2d0b24c0","hex_latitude":"070585a0","is_valid_coordinates":true} 
[2026-10-05 15:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545988864001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34799968220872704,"note":"Value kept but may cause issues"} 
[2026-10-05 15:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803259244945346560,"note":"Value kept but may cause issues"} 
[2026-10-05 15:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791195270000,"timestamp_ms":1791195270000,"timestamp_seconds":1791195270,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8ecb70"} 
[2026-10-05 15:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:44:41] 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-10-05 15:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-05 15:44:41] 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-10-05 15:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.218.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 15:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 15:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545988864001,"66":14537,"21":206,"28":32256,"24":20,"16":34799968220872704,"45":803259244945346560},"client_ip":"117.225.218.78","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-10-05 15:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 15:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 15:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545988864001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:44:41] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-05 15:44:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-05 15:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34799968220872704,"km_value":34799968220872.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":803259244945346560,"description":"Unknown IO ID 45"} 
[2026-10-05 15:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545988864001,"power":14537,"unknown_21":206,"unknown_28":32256,"ignition":20,"odometer":null,"unknown_45":803259244945346560}} 
[2026-10-05 15:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":204611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968289,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:44:41] local.INFO: GPS data processed {"connection_id":204611,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:44:41] local.INFO: Acknowledgment sent {"connection_id":204611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:44:54] local.INFO: TCP Data received {"connection_id":207686,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:44:54] local.INFO: Processing buffer {"connection_id":207686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:44:54] local.INFO: IMEI packet received {"connection_id":207686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":207686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:44:59] local.INFO: TCP Data received {"connection_id":207686,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:44:59] local.INFO: Processing buffer {"connection_id":207686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:44:59] local.INFO: IMEI packet received {"connection_id":207686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":207686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:45:00] local.INFO: TCP Data received {"connection_id":207686,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:45:00] local.INFO: Processing buffer {"connection_id":207686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:45:00] local.INFO: Packet analysis {"connection_id":207686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:45:00] local.INFO: Extracted packet for processing {"connection_id":207686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:45:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545880064001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791195145000,"timestamp_ms":1791195145000,"timestamp_seconds":1791195145,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8ce328"} 
[2026-10-05 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-10-05 15:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-10-05 15:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 15:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:45: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-10-05 15:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545880064001,"66":26136,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545880064001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:45:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:45:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545880064001,"power":26136,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":207686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:45:00] local.INFO: GPS data processed {"connection_id":207686,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:45:00] local.INFO: Acknowledgment sent {"connection_id":207686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:45:05] local.INFO: TCP Data received {"connection_id":206142,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:45:05] local.INFO: Processing buffer {"connection_id":206142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:45:05] local.INFO: IMEI packet received {"connection_id":206142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":206142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:45:08] local.INFO: TCP Data received {"connection_id":206141,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8adba0012d7a120005ec80180005011228..."} 
[2026-10-05 15:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8adba0012d7a120005ec80180005011228..."} 
[2026-10-05 15:45:08] local.INFO: Processing buffer {"connection_id":206141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8adba0012d7a120005ec80180005011228..."} 
[2026-10-05 15:45:08] local.INFO: Packet analysis {"connection_id":206141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8a"} 
[2026-10-05 15:45:08] local.INFO: Extracted packet for processing {"connection_id":206141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8a"} 
[2026-10-05 15:45:08] local.INFO: GPS Element Parsed {"raw_longitude":762974720,"raw_latitude":99385368,"longitude_deg":76.297472,"latitude_deg":9.9385368,"altitude":5,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d7a1200","hex_latitude":"05ec8018","is_valid_coordinates":true} 
[2026-10-05 15:45:08] 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-10-05 15:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545923072001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139685290087284736,"note":"Value kept but may cause issues"} 
[2026-10-05 15:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796093047650654208,"note":"Value kept but may cause issues"} 
[2026-10-05 15:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791195012000,"timestamp_ms":1791195012000,"timestamp_seconds":1791195012,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8adba0"} 
[2026-10-05 15:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:45: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-10-05 15:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 15:45:08] 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-10-05 15:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545923072001,"66":13450,"100":206,"87":13824,"24":0,"16":139685290087284736,"45":8796093047650654208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545923072001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:45:08] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:45:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139685290087284736,"km_value":139685290087284.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796093047650654208,"description":"Unknown IO ID 45"} 
[2026-10-05 15:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545923072001,"power":13450,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796093047650654208}} 
[2026-10-05 15:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":206141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:45:08] local.INFO: GPS data processed {"connection_id":206141,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:45:08] local.INFO: Acknowledgment sent {"connection_id":206141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:45:10] local.INFO: TCP Data received {"connection_id":206142,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:45:10] local.INFO: Processing buffer {"connection_id":206142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:45:10] local.INFO: IMEI packet received {"connection_id":206142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":206142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:45:13] local.INFO: TCP Data received {"connection_id":204611,"ip":"117.225.218.78","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8ed728012d0b220007058d080015015a0f..."} 
[2026-10-05 15:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8ed728012d0b220007058d080015015a0f..."} 
[2026-10-05 15:45:13] local.INFO: Processing buffer {"connection_id":204611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8ed728012d0b220007058d080015015a0f..."} 
[2026-10-05 15:45:13] local.INFO: Packet analysis {"connection_id":204611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8e"} 
[2026-10-05 15:45:13] local.INFO: Extracted packet for processing {"connection_id":204611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8e"} 
[2026-10-05 15:45:13] local.INFO: GPS Element Parsed {"raw_longitude":755704320,"raw_latitude":117804296,"longitude_deg":75.570432,"latitude_deg":11.7804296,"altitude":21,"angle":346,"satellites":15,"speed":29,"hex_longitude":"2d0b2200","hex_latitude":"07058d08","is_valid_coordinates":true} 
[2026-10-05 15:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545989120001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34800062710153216,"note":"Value kept but may cause issues"} 
[2026-10-05 15:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802977769968738304,"note":"Value kept but may cause issues"} 
[2026-10-05 15:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791195273000,"timestamp_ms":1791195273000,"timestamp_seconds":1791195273,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8ed728"} 
[2026-10-05 15:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:45:13] 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-10-05 15:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-05 15:45: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-10-05 15:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":204611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":204611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":204611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.218.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 15:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 15:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545989120001,"66":14515,"21":206,"28":32256,"24":29,"16":34800062710153216,"45":802977769968738304},"client_ip":"117.225.218.78","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-10-05 15:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 15:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 15:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545989120001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:45:13] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-05 15:45:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-05 15:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34800062710153216,"km_value":34800062710153.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":802977769968738304,"description":"Unknown IO ID 45"} 
[2026-10-05 15:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545989120001,"power":14515,"unknown_21":206,"unknown_28":32256,"ignition":29,"odometer":null,"unknown_45":802977769968738304}} 
[2026-10-05 15:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":204611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968292,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:45:13] local.INFO: GPS data processed {"connection_id":204611,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:45:13] local.INFO: Acknowledgment sent {"connection_id":204611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:45:14] local.INFO: TCP Data received {"connection_id":206142,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8dd558012d181d000721a5f8004500c62b..."} 
[2026-10-05 15:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8dd558012d181d000721a5f8004500c62b..."} 
[2026-10-05 15:45:14] local.INFO: Processing buffer {"connection_id":206142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8dd558012d181d000721a5f8004500c62b..."} 
[2026-10-05 15:45:14] local.INFO: Packet analysis {"connection_id":206142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8d"} 
[2026-10-05 15:45:14] local.INFO: Extracted packet for processing {"connection_id":206142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8d"} 
[2026-10-05 15:45:14] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119645688,"longitude_deg":75.6555008,"latitude_deg":11.9645688,"altitude":69,"angle":198,"satellites":43,"speed":7,"hex_longitude":"2d181d00","hex_latitude":"0721a5f8","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545969664001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25120808447770624,"note":"Value kept but may cause issues"} 
[2026-10-05 15:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024097568768,"note":"Value kept but may cause issues"} 
[2026-10-05 15:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791195207000,"timestamp_ms":1791195207000,"timestamp_seconds":1791195207,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8dd558"} 
[2026-10-05 15:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-05 15:45: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-10-05 15: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-10-05 15:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":206142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":206142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":206142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545969664001,"66":12667,"120":206,"28":31744,"24":7,"16":25120808447770624,"45":1740782024097568768},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 15:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545969664001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:45:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 15:45:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25120808447770624,"km_value":25120808447770.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740782024097568768,"description":"Unknown IO ID 45"} 
[2026-10-05 15:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545969664001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1740782024097568768}} 
[2026-10-05 15:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":206142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:45:14] local.INFO: GPS data processed {"connection_id":206142,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:45:14] local.INFO: Acknowledgment sent {"connection_id":206142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:45:31] local.INFO: TCP Data received {"connection_id":207687,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:45:31] local.INFO: Processing buffer {"connection_id":207687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:45:31] local.INFO: IMEI packet received {"connection_id":207687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":207687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:45:31] local.INFO: TCP Data received {"connection_id":207686,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:45:31] local.INFO: Processing buffer {"connection_id":207686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:45:31] local.INFO: Packet analysis {"connection_id":207686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:45:31] local.INFO: Extracted packet for processing {"connection_id":207686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:45:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545880064001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791195145000,"timestamp_ms":1791195145000,"timestamp_seconds":1791195145,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8ce328"} 
[2026-10-05 15:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":111,"data_length":795,"current_offset":136} 
[2026-10-05 15:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:45: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-10-05 15:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545880064001,"66":26136,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545880064001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:45:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:45:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545880064001,"power":26136,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":207686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:45:32] local.INFO: GPS data processed {"connection_id":207686,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:45:32] local.INFO: Acknowledgment sent {"connection_id":207686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:45:36] local.INFO: TCP Data received {"connection_id":207687,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:45:36] local.INFO: Processing buffer {"connection_id":207687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:45:36] local.INFO: IMEI packet received {"connection_id":207687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":207687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:45:37] local.INFO: TCP Data received {"connection_id":207687,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:45:37] local.INFO: Processing buffer {"connection_id":207687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:45:37] local.INFO: Packet analysis {"connection_id":207687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:45:37] local.INFO: Extracted packet for processing {"connection_id":207687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:45:37] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385368,"longitude_deg":76.2974144,"latitude_deg":9.9385368,"altitude":5,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8018","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545923072001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139685290087284736,"note":"Value kept but may cause issues"} 
[2026-10-05 15:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796093047650654208,"note":"Value kept but may cause issues"} 
[2026-10-05 15:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791195314000,"timestamp_ms":1791195314000,"timestamp_seconds":1791195314,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8f7750"} 
[2026-10-05 15:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 15:45:37] 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-10-05 15: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-10-05 15:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:45: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-10-05 15:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545923072001,"66":13298,"100":206,"87":13824,"24":0,"16":139685290087284736,"45":8796093047650654208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545923072001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:45:37] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:45:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139685290087284736,"km_value":139685290087284.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796093047650654208,"description":"Unknown IO ID 45"} 
[2026-10-05 15:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545923072001,"power":13298,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796093047650654208}} 
[2026-10-05 15:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":207687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:45:37] local.INFO: GPS data processed {"connection_id":207687,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:45:37] local.INFO: Acknowledgment sent {"connection_id":207687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:45:42] local.INFO: TCP Data received {"connection_id":204742,"ip":"117.225.218.78","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204742,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:45:42] local.INFO: Processing buffer {"connection_id":204742,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:45:42] local.INFO: IMEI packet received {"connection_id":204742,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 15:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":204742,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:45:45] local.INFO: TCP Data received {"connection_id":206142,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8de110012d181cc00721a488004500d629..."} 
[2026-10-05 15:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8de110012d181cc00721a488004500d629..."} 
[2026-10-05 15:45:45] local.INFO: Processing buffer {"connection_id":206142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8de110012d181cc00721a488004500d629..."} 
[2026-10-05 15:45:45] local.INFO: Packet analysis {"connection_id":206142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8d"} 
[2026-10-05 15:45:45] local.INFO: Extracted packet for processing {"connection_id":206142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8d"} 
[2026-10-05 15:45:45] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119645320,"longitude_deg":75.6554944,"latitude_deg":11.964532,"altitude":69,"angle":214,"satellites":41,"speed":5,"hex_longitude":"2d181cc0","hex_latitude":"0721a488","is_valid_coordinates":true} 
[2026-10-05 15:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545972992001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25120825627639808,"note":"Value kept but may cause issues"} 
[2026-10-05 15:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864175616,"note":"Value kept but may cause issues"} 
[2026-10-05 15:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791195210000,"timestamp_ms":1791195210000,"timestamp_seconds":1791195210,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8de110"} 
[2026-10-05 15:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 15:45:45] 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-10-05 15:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":206142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":206142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":206142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545972992001,"66":12287,"120":206,"28":31744,"24":5,"16":25120825627639808,"45":1737545061864175616},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 15:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545972992001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:45:45] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 15:45:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25120825627639808,"km_value":25120825627639.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864175616,"description":"Unknown IO ID 45"} 
[2026-10-05 15:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545972992001,"power":12287,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1737545061864175616}} 
[2026-10-05 15:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":206142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:45:46] local.INFO: GPS data processed {"connection_id":206142,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:45:46] local.INFO: Acknowledgment sent {"connection_id":206142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:45:47] local.INFO: TCP Data received {"connection_id":204742,"ip":"117.225.218.78","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204742,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:45:47] local.INFO: Processing buffer {"connection_id":204742,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:45:47] local.INFO: IMEI packet received {"connection_id":204742,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 15:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":204742,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:45:51] local.INFO: TCP Data received {"connection_id":204742,"ip":"117.225.218.78","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8fae00012d0ae0c0070593a80029010c0f..."} 
[2026-10-05 15:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8fae00012d0ae0c0070593a80029010c0f..."} 
[2026-10-05 15:45:51] local.INFO: Processing buffer {"connection_id":204742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8fae00012d0ae0c0070593a80029010c0f..."} 
[2026-10-05 15:45:51] local.INFO: Packet analysis {"connection_id":204742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:45:51] local.INFO: Extracted packet for processing {"connection_id":204742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:45:51] local.INFO: GPS Element Parsed {"raw_longitude":755687616,"raw_latitude":117805992,"longitude_deg":75.5687616,"latitude_deg":11.7805992,"altitude":41,"angle":268,"satellites":15,"speed":11,"hex_longitude":"2d0ae0c0","hex_latitude":"070593a8","is_valid_coordinates":true} 
[2026-10-05 15:45: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-10-05 15:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546003712001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34801059142565888,"note":"Value kept but may cause issues"} 
[2026-10-05 15:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784259684018391040,"note":"Value kept but may cause issues"} 
[2026-10-05 15:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791195328000,"timestamp_ms":1791195328000,"timestamp_seconds":1791195328,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8fae00"} 
[2026-10-05 15:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:45:51] 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-10-05 15:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-05 15:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:45: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-10-05 15:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":204742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":204742,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":204742,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.218.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 15:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 15:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546003712001,"66":14559,"139":206,"28":32256,"24":11,"16":34801059142565888,"45":784259684018391040},"client_ip":"117.225.218.78","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,28,24,16,45]} 
[2026-10-05 15:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 15:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 15:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546003712001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:45:51] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-10-05 15:45:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-05 15:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34801059142565888,"km_value":34801059142565.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":784259684018391040,"description":"Unknown IO ID 45"} 
[2026-10-05 15:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546003712001,"power":14559,"unknown_139":206,"unknown_28":32256,"ignition":11,"odometer":null,"unknown_45":784259684018391040}} 
[2026-10-05 15:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":204742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968297,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:45:51] local.INFO: GPS data processed {"connection_id":204742,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:45:51] local.INFO: Acknowledgment sent {"connection_id":204742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:45:59] local.INFO: TCP Data received {"connection_id":204613,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:45:59] local.INFO: Processing buffer {"connection_id":204613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:45:59] local.INFO: IMEI packet received {"connection_id":204613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":204613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:46:04] local.INFO: TCP Data received {"connection_id":204613,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:46:04] local.INFO: Processing buffer {"connection_id":204613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:46:04] local.INFO: IMEI packet received {"connection_id":204613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":204613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:46:05] local.INFO: TCP Data received {"connection_id":207688,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:46:05] local.INFO: Processing buffer {"connection_id":207688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:46:05] local.INFO: IMEI packet received {"connection_id":207688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":207688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:46:05] local.INFO: TCP Data received {"connection_id":204613,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:46:05] local.INFO: Processing buffer {"connection_id":204613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:46:05] local.INFO: Packet analysis {"connection_id":204613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:46:05] local.INFO: Extracted packet for processing {"connection_id":204613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:46:05] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545880064001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791195145000,"timestamp_ms":1791195145000,"timestamp_seconds":1791195145,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8ce328"} 
[2026-10-05 15:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-10-05 15:46:05] 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-10-05 15: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-10-05 15:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:46: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-10-05 15:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545880064001,"66":26136,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545880064001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:46:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:46:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545880064001,"power":26136,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":204613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:46:05] local.INFO: GPS data processed {"connection_id":204613,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:46:05] local.INFO: Acknowledgment sent {"connection_id":204613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:46:08] local.INFO: TCP Data received {"connection_id":207687,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:46:08] local.INFO: Processing buffer {"connection_id":207687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:46:08] local.INFO: Packet analysis {"connection_id":207687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:46:08] local.INFO: Extracted packet for processing {"connection_id":207687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:46:08] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385368,"longitude_deg":76.2974144,"latitude_deg":9.9385368,"altitude":5,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8018","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545923072001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139685290087284736,"note":"Value kept but may cause issues"} 
[2026-10-05 15:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796093047650654208,"note":"Value kept but may cause issues"} 
[2026-10-05 15:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791195314000,"timestamp_ms":1791195314000,"timestamp_seconds":1791195314,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8f7750"} 
[2026-10-05 15:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:46: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-10-05 15: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 15:46:08] 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-10-05 15: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-10-05 15:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:46: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-10-05 15:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545923072001,"66":13298,"100":206,"87":13824,"24":0,"16":139685290087284736,"45":8796093047650654208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545923072001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:46:08] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:46:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139685290087284736,"km_value":139685290087284.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796093047650654208,"description":"Unknown IO ID 45"} 
[2026-10-05 15:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545923072001,"power":13298,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796093047650654208}} 
[2026-10-05 15:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":207687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:46:08] local.INFO: GPS data processed {"connection_id":207687,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:46:08] local.INFO: Acknowledgment sent {"connection_id":207687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:46:10] local.INFO: TCP Data received {"connection_id":207688,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:46:10] local.INFO: Processing buffer {"connection_id":207688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:46:10] local.INFO: IMEI packet received {"connection_id":207688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":207688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:46:10] local.INFO: TCP Data received {"connection_id":204613,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:46:10] local.INFO: Processing buffer {"connection_id":204613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:46:10] local.INFO: Packet analysis {"connection_id":204613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:46:10] local.INFO: Extracted packet for processing {"connection_id":204613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:46:10] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545880064001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791195145000,"timestamp_ms":1791195145000,"timestamp_seconds":1791195145,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8ce328"} 
[2026-10-05 15:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-10-05 15:46:10] 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-10-05 15:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:46: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-10-05 15:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545880064001,"66":26136,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545880064001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:46:10] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:46:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545880064001,"power":26136,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":204613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:46:10] local.INFO: GPS data processed {"connection_id":204613,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:46:10] local.INFO: Acknowledgment sent {"connection_id":204613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:46:11] local.INFO: TCP Data received {"connection_id":207688,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8e3318012d181c800721a450004500d624..."} 
[2026-10-05 15:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8e3318012d181c800721a450004500d624..."} 
[2026-10-05 15:46:11] local.INFO: Processing buffer {"connection_id":207688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8e3318012d181c800721a450004500d624..."} 
[2026-10-05 15:46:11] local.INFO: Packet analysis {"connection_id":207688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8e"} 
[2026-10-05 15:46:11] local.INFO: Extracted packet for processing {"connection_id":207688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8e"} 
[2026-10-05 15:46:11] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645264,"longitude_deg":75.655488,"latitude_deg":11.9645264,"altitude":69,"angle":214,"satellites":36,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a450","is_valid_coordinates":true} 
[2026-10-05 15:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545973760001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25120834217574400,"note":"Value kept but may cause issues"} 
[2026-10-05 15:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693119903744,"note":"Value kept but may cause issues"} 
[2026-10-05 15:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791195231000,"timestamp_ms":1791195231000,"timestamp_seconds":1791195231,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8e3318"} 
[2026-10-05 15:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:46: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-10-05 15:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 15:46:11] 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-10-05 15:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545973760001,"66":13091,"120":206,"28":31744,"24":0,"16":25120834217574400,"45":1737474693119903744},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 15:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545973760001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:46:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 15:46:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25120834217574400,"km_value":25120834217574.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693119903744,"description":"Unknown IO ID 45"} 
[2026-10-05 15:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545973760001,"power":13091,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737474693119903744}} 
[2026-10-05 15:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":207688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:46:11] local.INFO: GPS data processed {"connection_id":207688,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:46:11] local.INFO: Acknowledgment sent {"connection_id":207688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:46:30] local.INFO: TCP Data received {"connection_id":204743,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:46:31] local.INFO: Processing buffer {"connection_id":204743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:46:31] local.INFO: IMEI packet received {"connection_id":204743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":204743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:46:36] local.INFO: TCP Data received {"connection_id":204743,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:46:36] local.INFO: Processing buffer {"connection_id":204743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:46:36] local.INFO: IMEI packet received {"connection_id":204743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":204743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:46:37] local.INFO: TCP Data received {"connection_id":204743,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:46:37] local.INFO: Processing buffer {"connection_id":204743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:46:37] local.INFO: Packet analysis {"connection_id":204743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:46:37] local.INFO: Extracted packet for processing {"connection_id":204743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:46:37] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385368,"longitude_deg":76.2974144,"latitude_deg":9.9385368,"altitude":5,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8018","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545923072001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139685290087284736,"note":"Value kept but may cause issues"} 
[2026-10-05 15:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796093047650654208,"note":"Value kept but may cause issues"} 
[2026-10-05 15:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791195314000,"timestamp_ms":1791195314000,"timestamp_seconds":1791195314,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8f7750"} 
[2026-10-05 15:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 15:46:37] 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-10-05 15: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-10-05 15:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545923072001,"66":13298,"100":206,"87":13824,"24":0,"16":139685290087284736,"45":8796093047650654208},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545923072001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:46:37] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:46:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139685290087284736,"km_value":139685290087284.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796093047650654208,"description":"Unknown IO ID 45"} 
[2026-10-05 15:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545923072001,"power":13298,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796093047650654208}} 
[2026-10-05 15:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":204743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:46:37] local.INFO: GPS data processed {"connection_id":204743,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:46:37] local.INFO: Acknowledgment sent {"connection_id":204743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:46:42] local.INFO: TCP Data received {"connection_id":207688,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8e8520012d181c800721a450004500d624..."} 
[2026-10-05 15:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8e8520012d181c800721a450004500d624..."} 
[2026-10-05 15:46:42] local.INFO: Processing buffer {"connection_id":207688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8e8520012d181c800721a450004500d624..."} 
[2026-10-05 15:46:42] local.INFO: Packet analysis {"connection_id":207688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8e"} 
[2026-10-05 15:46:42] local.INFO: Extracted packet for processing {"connection_id":207688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8e"} 
[2026-10-05 15:46:42] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645264,"longitude_deg":75.655488,"latitude_deg":11.9645264,"altitude":69,"angle":214,"satellites":36,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a450","is_valid_coordinates":true} 
[2026-10-05 15:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545979136001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25120834217574400,"note":"Value kept but may cause issues"} 
[2026-10-05 15:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375711744,"note":"Value kept but may cause issues"} 
[2026-10-05 15:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791195252000,"timestamp_ms":1791195252000,"timestamp_seconds":1791195252,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8e8520"} 
[2026-10-05 15:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 15:46:42] 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-10-05 15:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545979136001,"66":13048,"120":206,"28":31744,"24":0,"16":25120834217574400,"45":1737404324375711744},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 15:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545979136001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:46:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 15:46:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25120834217574400,"km_value":25120834217574.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375711744,"description":"Unknown IO ID 45"} 
[2026-10-05 15:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545979136001,"power":13048,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737404324375711744}} 
[2026-10-05 15:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":207688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:46:42] local.INFO: GPS data processed {"connection_id":207688,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:46:42] local.INFO: Acknowledgment sent {"connection_id":207688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:46:54] local.INFO: TCP Data received {"connection_id":204614,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:46:54] local.INFO: Processing buffer {"connection_id":204614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:46:54] local.INFO: IMEI packet received {"connection_id":204614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":204614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:46:59] local.INFO: TCP Data received {"connection_id":204614,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:46:59] local.INFO: Processing buffer {"connection_id":204614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:46:59] local.INFO: IMEI packet received {"connection_id":204614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":204614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:47:00] local.INFO: TCP Data received {"connection_id":204614,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:47:00] local.INFO: Processing buffer {"connection_id":204614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:47:00] local.INFO: Packet analysis {"connection_id":204614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:47:00] local.INFO: Extracted packet for processing {"connection_id":204614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:47:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545880064001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791195145000,"timestamp_ms":1791195145000,"timestamp_seconds":1791195145,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8ce328"} 
[2026-10-05 15:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-10-05 15:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15: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-10-05 15:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545880064001,"66":26136,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545880064001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:47:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:47:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545880064001,"power":26136,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":204614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:47:00] local.INFO: GPS data processed {"connection_id":204614,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:47:00] local.INFO: Acknowledgment sent {"connection_id":204614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:47:05] local.INFO: TCP Data received {"connection_id":204614,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:47:05] local.INFO: Processing buffer {"connection_id":204614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:47:05] local.INFO: Packet analysis {"connection_id":204614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:47:05] local.INFO: Extracted packet for processing {"connection_id":204614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:47:05] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545880064001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791195145000,"timestamp_ms":1791195145000,"timestamp_seconds":1791195145,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8ce328"} 
[2026-10-05 15:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-10-05 15:47:05] 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-10-05 15: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-10-05 15:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15: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-10-05 15:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545880064001,"66":26136,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545880064001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:47:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:47:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545880064001,"power":26136,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":204614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:47:05] local.INFO: GPS data processed {"connection_id":204614,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:47:05] local.INFO: Acknowledgment sent {"connection_id":204614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:47:09] local.INFO: TCP Data received {"connection_id":204743,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:47:09] local.INFO: Processing buffer {"connection_id":204743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:47:09] local.INFO: Packet analysis {"connection_id":204743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:47:09] local.INFO: Extracted packet for processing {"connection_id":204743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:47:09] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385368,"longitude_deg":76.2974144,"latitude_deg":9.9385368,"altitude":5,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8018","is_valid_coordinates":true} 
[2026-10-05 15:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545923072001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139685290087284736,"note":"Value kept but may cause issues"} 
[2026-10-05 15:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796093047650654208,"note":"Value kept but may cause issues"} 
[2026-10-05 15:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791195314000,"timestamp_ms":1791195314000,"timestamp_seconds":1791195314,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8f7750"} 
[2026-10-05 15:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:47: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-10-05 15:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 15:47:09] 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-10-05 15:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545923072001,"66":13298,"100":206,"87":13824,"24":0,"16":139685290087284736,"45":8796093047650654208},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545923072001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:47:09] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:47:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139685290087284736,"km_value":139685290087284.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796093047650654208,"description":"Unknown IO ID 45"} 
[2026-10-05 15:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545923072001,"power":13298,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796093047650654208}} 
[2026-10-05 15:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":204743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:47:09] local.INFO: GPS data processed {"connection_id":204743,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:47:09] local.INFO: Acknowledgment sent {"connection_id":204743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:47:10] local.INFO: TCP Data received {"connection_id":204744,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:47:10] local.INFO: Processing buffer {"connection_id":204744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:47:10] local.INFO: IMEI packet received {"connection_id":204744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":204744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:47:15] local.INFO: TCP Data received {"connection_id":204744,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:47:15] local.INFO: Processing buffer {"connection_id":204744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:47:15] local.INFO: IMEI packet received {"connection_id":204744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":204744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:47:16] local.INFO: TCP Data received {"connection_id":204744,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8ed728012d181c800721a450004500d627..."} 
[2026-10-05 15:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8ed728012d181c800721a450004500d627..."} 
[2026-10-05 15:47:16] local.INFO: Processing buffer {"connection_id":204744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8ed728012d181c800721a450004500d627..."} 
[2026-10-05 15:47:16] local.INFO: Packet analysis {"connection_id":204744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8e"} 
[2026-10-05 15:47:16] local.INFO: Extracted packet for processing {"connection_id":204744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8e"} 
[2026-10-05 15:47:16] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645264,"longitude_deg":75.655488,"latitude_deg":11.9645264,"altitude":69,"angle":214,"satellites":39,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a450","is_valid_coordinates":true} 
[2026-10-05 15:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545984512001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25120834217574400,"note":"Value kept but may cause issues"} 
[2026-10-05 15:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375711744,"note":"Value kept but may cause issues"} 
[2026-10-05 15:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791195273000,"timestamp_ms":1791195273000,"timestamp_seconds":1791195273,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8ed728"} 
[2026-10-05 15:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 15:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545984512001,"66":13004,"120":206,"28":31744,"24":0,"16":25120834217574400,"45":1737404324375711744},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 15:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545984512001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:47:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 15:47:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25120834217574400,"km_value":25120834217574.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375711744,"description":"Unknown IO ID 45"} 
[2026-10-05 15:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545984512001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737404324375711744}} 
[2026-10-05 15:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":204744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:47:16] local.INFO: GPS data processed {"connection_id":204744,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:47:16] local.INFO: Acknowledgment sent {"connection_id":204744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:47:18] local.INFO: TCP Data received {"connection_id":204744,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8f2930012d181c800721a450004500d625..."} 
[2026-10-05 15:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8f2930012d181c800721a450004500d625..."} 
[2026-10-05 15:47:18] local.INFO: Processing buffer {"connection_id":204744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8f2930012d181c800721a450004500d625..."} 
[2026-10-05 15:47:18] local.INFO: Packet analysis {"connection_id":204744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:47:18] local.INFO: Extracted packet for processing {"connection_id":204744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:47:18] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645264,"longitude_deg":75.655488,"latitude_deg":11.9645264,"altitude":69,"angle":214,"satellites":37,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a450","is_valid_coordinates":true} 
[2026-10-05 15:47: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-10-05 15:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545989888001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25120834217574400,"note":"Value kept but may cause issues"} 
[2026-10-05 15:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375711744,"note":"Value kept but may cause issues"} 
[2026-10-05 15:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791195294000,"timestamp_ms":1791195294000,"timestamp_seconds":1791195294,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8f2930"} 
[2026-10-05 15:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-10-05 15:47:18] 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-10-05 15:47: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-10-05 15:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":204744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":204744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":204744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545989888001,"66":12972,"120":206,"28":31744,"24":0,"16":25120834217574400,"45":1737404324375711744},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 15:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545989888001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:47:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 15:47:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25120834217574400,"km_value":25120834217574.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375711744,"description":"Unknown IO ID 45"} 
[2026-10-05 15:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545989888001,"power":12972,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737404324375711744}} 
[2026-10-05 15:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":204744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:47:18] local.INFO: GPS data processed {"connection_id":204744,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:47:18] local.INFO: Acknowledgment sent {"connection_id":204744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:47:30] local.INFO: TCP Data received {"connection_id":206146,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:47:30] local.INFO: Processing buffer {"connection_id":206146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:47:30] local.INFO: IMEI packet received {"connection_id":206146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":206146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:47:33] local.INFO: TCP Data received {"connection_id":206145,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:47:33] local.INFO: Processing buffer {"connection_id":206145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:47:33] local.INFO: IMEI packet received {"connection_id":206145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 15:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":206145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:47:36] local.INFO: TCP Data received {"connection_id":206146,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:47:36] local.INFO: Processing buffer {"connection_id":206146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:47:36] local.INFO: IMEI packet received {"connection_id":206146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":206146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:47:36] local.INFO: TCP Data received {"connection_id":204614,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:47:36] local.INFO: Processing buffer {"connection_id":204614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:47:36] local.INFO: Packet analysis {"connection_id":204614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:47:36] local.INFO: Extracted packet for processing {"connection_id":204614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:47:36] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545880064001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791195145000,"timestamp_ms":1791195145000,"timestamp_seconds":1791195145,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8ce328"} 
[2026-10-05 15:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-10-05 15:47:36] 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-10-05 15: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-10-05 15:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545880064001,"66":26136,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545880064001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:47:36] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:47:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545880064001,"power":26136,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":204614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:47:36] local.INFO: GPS data processed {"connection_id":204614,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:47:36] local.INFO: Acknowledgment sent {"connection_id":204614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:47:36] local.INFO: TCP Data received {"connection_id":206146,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:47:36] local.INFO: Processing buffer {"connection_id":206146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:47:36] local.INFO: Packet analysis {"connection_id":206146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:47:36] local.INFO: Extracted packet for processing {"connection_id":206146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:47:36] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385368,"longitude_deg":76.2974144,"latitude_deg":9.9385368,"altitude":5,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8018","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545923072001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139685290087284736,"note":"Value kept but may cause issues"} 
[2026-10-05 15:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796093047650654208,"note":"Value kept but may cause issues"} 
[2026-10-05 15:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791195314000,"timestamp_ms":1791195314000,"timestamp_seconds":1791195314,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8f7750"} 
[2026-10-05 15:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":138,"data_length":795,"current_offset":136} 
[2026-10-05 15:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545923072001,"66":13298,"100":206,"87":13824,"24":0,"16":139685290087284736,"45":8796093047650654208},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545923072001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:47:36] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:47:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139685290087284736,"km_value":139685290087284.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796093047650654208,"description":"Unknown IO ID 45"} 
[2026-10-05 15:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545923072001,"power":13298,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796093047650654208}} 
[2026-10-05 15:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":206146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:47:37] local.INFO: GPS data processed {"connection_id":206146,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:47:37] local.INFO: Acknowledgment sent {"connection_id":206146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:47:38] local.INFO: TCP Data received {"connection_id":206147,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206147,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:47:38] local.INFO: Processing buffer {"connection_id":206147,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:47:38] local.INFO: IMEI packet received {"connection_id":206147,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 15:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":206147,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:47:42] local.INFO: TCP Data received {"connection_id":206147,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206147,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:47:42] local.INFO: Processing buffer {"connection_id":206147,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:47:42] local.INFO: IMEI packet received {"connection_id":206147,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 15:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":206147,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:47:46] local.INFO: TCP Data received {"connection_id":206147,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b90c358012d0a9b80070584080034013c0f..."} 
[2026-10-05 15:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b90c358012d0a9b80070584080034013c0f..."} 
[2026-10-05 15:47:46] local.INFO: Processing buffer {"connection_id":206147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b90c358012d0a9b80070584080034013c0f..."} 
[2026-10-05 15:47:46] local.INFO: Packet analysis {"connection_id":206147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b90"} 
[2026-10-05 15:47:46] local.INFO: Extracted packet for processing {"connection_id":206147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b90"} 
[2026-10-05 15:47:46] local.INFO: GPS Element Parsed {"raw_longitude":755669888,"raw_latitude":117801992,"longitude_deg":75.5669888,"latitude_deg":11.7801992,"altitude":52,"angle":316,"satellites":15,"speed":22,"hex_longitude":"2d0a9b80","hex_latitude":"07058408","is_valid_coordinates":true} 
[2026-10-05 15:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546021888001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34801952495763456,"note":"Value kept but may cause issues"} 
[2026-10-05 15:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":764767541880070144,"note":"Value kept but may cause issues"} 
[2026-10-05 15:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791195399000,"timestamp_ms":1791195399000,"timestamp_seconds":1791195399,"priority":1,"record_length":96,"hex_timestamp":"000001a10b90c358"} 
[2026-10-05 15:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:47:46] 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-10-05 15:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 15:47: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-10-05 15:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":206147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":206147,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":206147,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 15:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 15:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546021888001,"66":14548,"139":206,"28":32256,"24":22,"16":34801952495763456,"45":764767541880070144},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,28,24,16,45]} 
[2026-10-05 15:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 15:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 15:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546021888001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:47:46] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-10-05 15:47:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-05 15:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34801952495763456,"km_value":34801952495763.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":764767541880070144,"description":"Unknown IO ID 45"} 
[2026-10-05 15:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546021888001,"power":14548,"unknown_139":206,"unknown_28":32256,"ignition":22,"odometer":null,"unknown_45":764767541880070144}} 
[2026-10-05 15:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":206147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968311,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:47:46] local.INFO: GPS data processed {"connection_id":206147,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:47:46] local.INFO: Acknowledgment sent {"connection_id":206147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:47:49] local.INFO: TCP Data received {"connection_id":204744,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8f7b38012d181c800721a450004500d626..."} 
[2026-10-05 15:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8f7b38012d181c800721a450004500d626..."} 
[2026-10-05 15:47:49] local.INFO: Processing buffer {"connection_id":204744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8f7b38012d181c800721a450004500d626..."} 
[2026-10-05 15:47:49] local.INFO: Packet analysis {"connection_id":204744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:47:49] local.INFO: Extracted packet for processing {"connection_id":204744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:47:49] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645264,"longitude_deg":75.655488,"latitude_deg":11.9645264,"altitude":69,"angle":214,"satellites":38,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a450","is_valid_coordinates":true} 
[2026-10-05 15:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545995264001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25120834217574400,"note":"Value kept but may cause issues"} 
[2026-10-05 15:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375711744,"note":"Value kept but may cause issues"} 
[2026-10-05 15:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1791195315000,"timestamp_ms":1791195315000,"timestamp_seconds":1791195315,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8f7b38"} 
[2026-10-05 15:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 15:47:49] 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-10-05 15:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":204744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":204744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":204744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545995264001,"66":12939,"120":206,"28":31744,"24":0,"16":25120834217574400,"45":1737404324375711744},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 15:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545995264001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:47:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 15:47:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25120834217574400,"km_value":25120834217574.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375711744,"description":"Unknown IO ID 45"} 
[2026-10-05 15:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545995264001,"power":12939,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737404324375711744}} 
[2026-10-05 15:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":204744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:47:49] local.INFO: GPS data processed {"connection_id":204744,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:47:49] local.INFO: Acknowledgment sent {"connection_id":204744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:47:54] local.INFO: TCP Data received {"connection_id":204745,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:47:54] local.INFO: Processing buffer {"connection_id":204745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:47:54] local.INFO: IMEI packet received {"connection_id":204745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":204745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:47:59] local.INFO: TCP Data received {"connection_id":204745,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:47:59] local.INFO: Processing buffer {"connection_id":204745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:47:59] local.INFO: IMEI packet received {"connection_id":204745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":204745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:48:00] local.INFO: TCP Data received {"connection_id":204745,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:48:00] local.INFO: Processing buffer {"connection_id":204745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8ce328012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:48:00] local.INFO: Packet analysis {"connection_id":204745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:48:00] local.INFO: Extracted packet for processing {"connection_id":204745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8c"} 
[2026-10-05 15:48:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545880064001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791195145000,"timestamp_ms":1791195145000,"timestamp_seconds":1791195145,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8ce328"} 
[2026-10-05 15:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-10-05 15:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:48: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-10-05 15:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545880064001,"66":26136,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545880064001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:48:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:48:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545880064001,"power":26136,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":204745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:48:00] local.INFO: GPS data processed {"connection_id":204745,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:48:00] local.INFO: Acknowledgment sent {"connection_id":204745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:48:05] local.INFO: TCP Data received {"connection_id":204746,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:48:05] local.INFO: Processing buffer {"connection_id":204746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:48:05] local.INFO: IMEI packet received {"connection_id":204746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":204746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:48:09] local.INFO: TCP Data received {"connection_id":206146,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:48:09] local.INFO: Processing buffer {"connection_id":206146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:48:09] local.INFO: Packet analysis {"connection_id":206146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:48:09] local.INFO: Extracted packet for processing {"connection_id":206146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:48:09] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385368,"longitude_deg":76.2974144,"latitude_deg":9.9385368,"altitude":5,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8018","is_valid_coordinates":true} 
[2026-10-05 15:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545923072001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139685290087284736,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796093047650654208,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791195314000,"timestamp_ms":1791195314000,"timestamp_seconds":1791195314,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8f7750"} 
[2026-10-05 15:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:48: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-10-05 15:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 15:48:09] 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-10-05 15:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":206146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":206146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":206146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545923072001,"66":13298,"100":206,"87":13824,"24":0,"16":139685290087284736,"45":8796093047650654208},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545923072001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:48:09] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:48:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139685290087284736,"km_value":139685290087284.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796093047650654208,"description":"Unknown IO ID 45"} 
[2026-10-05 15:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545923072001,"power":13298,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796093047650654208}} 
[2026-10-05 15:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":206146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:48:09] local.INFO: GPS data processed {"connection_id":206146,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:48:09] local.INFO: Acknowledgment sent {"connection_id":206146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:48:10] local.INFO: TCP Data received {"connection_id":204746,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:48:10] local.INFO: Processing buffer {"connection_id":204746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:48:10] local.INFO: IMEI packet received {"connection_id":204746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":204746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:48:11] local.INFO: TCP Data received {"connection_id":204746,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8fcd40012d181c800721a450004500d627..."} 
[2026-10-05 15:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8fcd40012d181c800721a450004500d627..."} 
[2026-10-05 15:48:11] local.INFO: Processing buffer {"connection_id":204746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8fcd40012d181c800721a450004500d627..."} 
[2026-10-05 15:48:11] local.INFO: Packet analysis {"connection_id":204746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:48:11] local.INFO: Extracted packet for processing {"connection_id":204746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:48:11] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645264,"longitude_deg":75.655488,"latitude_deg":11.9645264,"altitude":69,"angle":214,"satellites":39,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a450","is_valid_coordinates":true} 
[2026-10-05 15:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546000640001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25120834217574400,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375711744,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791195336000,"timestamp_ms":1791195336000,"timestamp_seconds":1791195336,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8fcd40"} 
[2026-10-05 15:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:48: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-10-05 15:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 15:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546000640001,"66":12809,"120":206,"28":31744,"24":0,"16":25120834217574400,"45":1737404324375711744},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 15:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546000640001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:48:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 15:48:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25120834217574400,"km_value":25120834217574.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375711744,"description":"Unknown IO ID 45"} 
[2026-10-05 15:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546000640001,"power":12809,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737404324375711744}} 
[2026-10-05 15:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":204746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:48:11] local.INFO: GPS data processed {"connection_id":204746,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:48:11] local.INFO: Acknowledgment sent {"connection_id":204746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:48:16] local.INFO: TCP Data received {"connection_id":204746,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b901f48012d181c800721a450004500d625..."} 
[2026-10-05 15:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b901f48012d181c800721a450004500d625..."} 
[2026-10-05 15:48:16] local.INFO: Processing buffer {"connection_id":204746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b901f48012d181c800721a450004500d625..."} 
[2026-10-05 15:48:16] local.INFO: Packet analysis {"connection_id":204746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b90"} 
[2026-10-05 15:48:16] local.INFO: Extracted packet for processing {"connection_id":204746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b90"} 
[2026-10-05 15:48:16] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645264,"longitude_deg":75.655488,"latitude_deg":11.9645264,"altitude":69,"angle":214,"satellites":37,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a450","is_valid_coordinates":true} 
[2026-10-05 15:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546006016001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25120834217574400,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375711744,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791195357000,"timestamp_ms":1791195357000,"timestamp_seconds":1791195357,"priority":1,"record_length":96,"hex_timestamp":"000001a10b901f48"} 
[2026-10-05 15:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-05 15:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":504403158433268736,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:16] local.WARNING: Large IO value detected {"io_id":28,"raw_value":2147951012,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:16] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":13494136,"corrected_to":0} 
[2026-10-05 15:48:16] local.WARNING: Large IO value detected {"io_id":11,"raw_value":-8226572382247576320,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:16] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2756706373,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-10-05 15:48:16] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2424616654450247211,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:16] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-71831200003469796,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:16] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:16] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,63,161,123,45,128,164,69,38,10,66,41,37,215,1,240,204,11,33,4,113,205,51,80,36,239,2,89,7,5,47,124],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":204,"original":13494136,"validated":0},{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-10-05 15:48:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972209451609096192,"timestamp_seconds":4972209451609096.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 15:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546006016001,"66":12939,"120":206,"28":31744,"24":0,"16":25120834217574400,"45":1737404324375711744},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 15:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546006016001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:48:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 15:48:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25120834217574400,"km_value":25120834217574.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375711744,"description":"Unknown IO ID 45"} 
[2026-10-05 15:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546006016001,"power":12939,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737404324375711744}} 
[2026-10-05 15:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":204746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:48:16] local.INFO: GPS data processed {"connection_id":204746,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:48:16] local.INFO: Acknowledgment sent {"connection_id":204746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:48:18] local.INFO: TCP Data received {"connection_id":206147,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b922ea0012d0a72000705db980017000016..."} 
[2026-10-05 15:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b922ea0012d0a72000705db980017000016..."} 
[2026-10-05 15:48:18] local.INFO: Processing buffer {"connection_id":206147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b922ea0012d0a72000705db980017000016..."} 
[2026-10-05 15:48:18] local.INFO: Packet analysis {"connection_id":206147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b92"} 
[2026-10-05 15:48:18] local.INFO: Extracted packet for processing {"connection_id":206147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b92"} 
[2026-10-05 15:48:18] local.INFO: GPS Element Parsed {"raw_longitude":755659264,"raw_latitude":117824408,"longitude_deg":75.5659264,"latitude_deg":11.7824408,"altitude":23,"angle":0,"satellites":22,"speed":13,"hex_longitude":"2d0a7200","hex_latitude":"0705db98","is_valid_coordinates":true} 
[2026-10-05 15:48: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-10-05 15:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546044160001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34803185151377408,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753297436583985152,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:18] 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-10-05 15:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791195492000,"timestamp_ms":1791195492000,"timestamp_seconds":1791195492,"priority":1,"record_length":96,"hex_timestamp":"000001a10b922ea0"} 
[2026-10-05 15:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-05 15:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:48: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-10-05 15:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":206147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":206147,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":206147,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 15:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 15:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546044160001,"66":14722,"153":206,"94":10240,"24":13,"16":34803185151377408,"45":753297436583985152},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-05 15:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 15:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 15:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546044160001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:48:18] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-05 15:48:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 15:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34803185151377408,"km_value":34803185151377.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":753297436583985152,"description":"Unknown IO ID 45"} 
[2026-10-05 15:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546044160001,"power":14722,"unknown_153":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":753297436583985152}} 
[2026-10-05 15:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":206147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968317,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:48:18] local.INFO: GPS data processed {"connection_id":206147,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:48:18] local.INFO: Acknowledgment sent {"connection_id":206147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:48:30] local.INFO: TCP Data received {"connection_id":204747,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:48:30] local.INFO: Processing buffer {"connection_id":204747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:48:30] local.INFO: IMEI packet received {"connection_id":204747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":204747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:48:31] local.INFO: TCP Data received {"connection_id":204745,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:48:31] local.INFO: Processing buffer {"connection_id":204745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:48:31] local.INFO: Packet analysis {"connection_id":204745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b91"} 
[2026-10-05 15:48:31] local.INFO: Extracted packet for processing {"connection_id":204745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b91"} 
[2026-10-05 15:48:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545957120001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791195446000,"timestamp_ms":1791195446000,"timestamp_seconds":1791195446,"priority":1,"record_length":96,"hex_timestamp":"000001a10b917af0"} 
[2026-10-05 15:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-10-05 15:48:31] 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-10-05 15: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-10-05 15:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:48: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-10-05 15:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545957120001,"66":26115,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545957120001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:48:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:48:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545957120001,"power":26115,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":204745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:48:31] local.INFO: GPS data processed {"connection_id":204745,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:48:31] local.INFO: Acknowledgment sent {"connection_id":204745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:48:36] local.INFO: TCP Data received {"connection_id":204747,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:48:36] local.INFO: Processing buffer {"connection_id":204747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:48:36] local.INFO: IMEI packet received {"connection_id":204747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":204747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:48:37] local.INFO: TCP Data received {"connection_id":204747,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:48:37] local.INFO: Processing buffer {"connection_id":204747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:48:37] local.INFO: Packet analysis {"connection_id":204747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:48:37] local.INFO: Extracted packet for processing {"connection_id":204747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:48:37] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385368,"longitude_deg":76.2974144,"latitude_deg":9.9385368,"altitude":5,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8018","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545923072001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139685290087284736,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796093047650654208,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791195314000,"timestamp_ms":1791195314000,"timestamp_seconds":1791195314,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8f7750"} 
[2026-10-05 15:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 15:48:37] 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-10-05 15: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-10-05 15:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:48:37] 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-10-05 15:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545923072001,"66":13298,"100":206,"87":13824,"24":0,"16":139685290087284736,"45":8796093047650654208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545923072001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:48:37] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:48:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139685290087284736,"km_value":139685290087284.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796093047650654208,"description":"Unknown IO ID 45"} 
[2026-10-05 15:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545923072001,"power":13298,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796093047650654208}} 
[2026-10-05 15:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":204747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:48:37] local.INFO: GPS data processed {"connection_id":204747,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:48:37] local.INFO: Acknowledgment sent {"connection_id":204747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:48:42] local.INFO: TCP Data received {"connection_id":204749,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204749,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:48:42] local.INFO: Processing buffer {"connection_id":204749,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:48:42] local.INFO: IMEI packet received {"connection_id":204749,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 15:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":204749,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:48:47] local.INFO: TCP Data received {"connection_id":204749,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204749,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:48:47] local.INFO: Processing buffer {"connection_id":204749,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:48:47] local.INFO: IMEI packet received {"connection_id":204749,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 15:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":204749,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:48:47] local.INFO: TCP Data received {"connection_id":204746,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b907150012d181c800721a450004500d627..."} 
[2026-10-05 15:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b907150012d181c800721a450004500d627..."} 
[2026-10-05 15:48:47] local.INFO: Processing buffer {"connection_id":204746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b907150012d181c800721a450004500d627..."} 
[2026-10-05 15:48:47] local.INFO: Packet analysis {"connection_id":204746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b90"} 
[2026-10-05 15:48:47] local.INFO: Extracted packet for processing {"connection_id":204746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b90"} 
[2026-10-05 15:48:47] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645264,"longitude_deg":75.655488,"latitude_deg":11.9645264,"altitude":69,"angle":214,"satellites":39,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a450","is_valid_coordinates":true} 
[2026-10-05 15:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546011392001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25120834217574400,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375711744,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791195378000,"timestamp_ms":1791195378000,"timestamp_seconds":1791195378,"priority":1,"record_length":96,"hex_timestamp":"000001a10b907150"} 
[2026-10-05 15:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 15:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":204746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":204746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":204746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546011392001,"66":12885,"120":206,"28":31744,"24":0,"16":25120834217574400,"45":1737404324375711744},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 15:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546011392001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:48:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 15:48:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25120834217574400,"km_value":25120834217574.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375711744,"description":"Unknown IO ID 45"} 
[2026-10-05 15:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546011392001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737404324375711744}} 
[2026-10-05 15:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":204746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:48:48] local.INFO: GPS data processed {"connection_id":204746,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:48:48] local.INFO: Acknowledgment sent {"connection_id":204746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:48:48] local.INFO: TCP Data received {"connection_id":204749,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b923670012d0a72000705ddb80015001316..."} 
[2026-10-05 15:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b923670012d0a72000705ddb80015001316..."} 
[2026-10-05 15:48:48] local.INFO: Processing buffer {"connection_id":204749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b923670012d0a72000705ddb80015001316..."} 
[2026-10-05 15:48:48] local.INFO: Packet analysis {"connection_id":204749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b92"} 
[2026-10-05 15:48:48] local.INFO: Extracted packet for processing {"connection_id":204749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b92"} 
[2026-10-05 15:48:48] local.INFO: GPS Element Parsed {"raw_longitude":755659264,"raw_latitude":117824952,"longitude_deg":75.5659264,"latitude_deg":11.7824952,"altitude":21,"angle":19,"satellites":22,"speed":8,"hex_longitude":"2d0a7200","hex_latitude":"0705ddb8","is_valid_coordinates":true} 
[2026-10-05 15:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546045952001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34803210921181184,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752664117887342592,"note":"Value kept but may cause issues"} 
[2026-10-05 15:48:48] 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-10-05 15:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791195494000,"timestamp_ms":1791195494000,"timestamp_seconds":1791195494,"priority":1,"record_length":96,"hex_timestamp":"000001a10b923670"} 
[2026-10-05 15:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:48:48] 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-10-05 15:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-10-05 15:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1653,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204749,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204749,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 15:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 15:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546045952001,"66":14537,"153":206,"94":10240,"24":8,"16":34803210921181184,"45":752664117887342592},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-05 15:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 15:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 15:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546045952001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:48:48] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-05 15:48:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 15:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34803210921181184,"km_value":34803210921181.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":752664117887342592,"description":"Unknown IO ID 45"} 
[2026-10-05 15:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546045952001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":752664117887342592}} 
[2026-10-05 15:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":204749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968321,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:48:48] local.INFO: GPS data processed {"connection_id":204749,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:48:48] local.INFO: Acknowledgment sent {"connection_id":204749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:48:54] local.INFO: TCP Data received {"connection_id":204615,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:48:54] local.INFO: Processing buffer {"connection_id":204615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:48:54] local.INFO: IMEI packet received {"connection_id":204615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":204615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:48:59] local.INFO: TCP Data received {"connection_id":204615,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:48:59] local.INFO: Processing buffer {"connection_id":204615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:48:59] local.INFO: IMEI packet received {"connection_id":204615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":204615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:49:00] local.INFO: TCP Data received {"connection_id":204615,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:49:00] local.INFO: Processing buffer {"connection_id":204615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:49:00] local.INFO: Packet analysis {"connection_id":204615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b91"} 
[2026-10-05 15:49:00] local.INFO: Extracted packet for processing {"connection_id":204615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b91"} 
[2026-10-05 15:49:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545957120001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791195446000,"timestamp_ms":1791195446000,"timestamp_seconds":1791195446,"priority":1,"record_length":96,"hex_timestamp":"000001a10b917af0"} 
[2026-10-05 15:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-10-05 15:49:00] 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-10-05 15:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:49: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-10-05 15:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545957120001,"66":26115,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545957120001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:49:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:49:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545957120001,"power":26115,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":204615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:49:00] local.INFO: GPS data processed {"connection_id":204615,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:49:00] local.INFO: Acknowledgment sent {"connection_id":204615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:49:02] local.INFO: TCP Data received {"connection_id":207689,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:49:02] local.INFO: Processing buffer {"connection_id":207689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:49:02] local.INFO: IMEI packet received {"connection_id":207689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":207689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:49:05] local.INFO: TCP Data received {"connection_id":207689,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:49:05] local.INFO: Processing buffer {"connection_id":207689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:49:05] local.INFO: IMEI packet received {"connection_id":207689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":207689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:49:08] local.INFO: TCP Data received {"connection_id":204747,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:49:08] local.INFO: Processing buffer {"connection_id":204747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:49:08] local.INFO: Packet analysis {"connection_id":204747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:49:08] local.INFO: Extracted packet for processing {"connection_id":204747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:49:08] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385368,"longitude_deg":76.2974144,"latitude_deg":9.9385368,"altitude":5,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8018","is_valid_coordinates":true} 
[2026-10-05 15:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545923072001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139685290087284736,"note":"Value kept but may cause issues"} 
[2026-10-05 15:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796093047650654208,"note":"Value kept but may cause issues"} 
[2026-10-05 15:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791195314000,"timestamp_ms":1791195314000,"timestamp_seconds":1791195314,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8f7750"} 
[2026-10-05 15:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:49: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-10-05 15:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 15:49:08] 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-10-05 15:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:49:08] 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-10-05 15:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545923072001,"66":13298,"100":206,"87":13824,"24":0,"16":139685290087284736,"45":8796093047650654208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545923072001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:49:08] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:49:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139685290087284736,"km_value":139685290087284.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796093047650654208,"description":"Unknown IO ID 45"} 
[2026-10-05 15:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545923072001,"power":13298,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796093047650654208}} 
[2026-10-05 15:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":204747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968323,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:49:08] local.INFO: GPS data processed {"connection_id":204747,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:49:08] local.INFO: Acknowledgment sent {"connection_id":204747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:49:10] local.INFO: TCP Data received {"connection_id":207689,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:49:10] local.INFO: Processing buffer {"connection_id":207689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:49:10] local.INFO: IMEI packet received {"connection_id":207689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":207689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:49:11] local.INFO: TCP Data received {"connection_id":207689,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b90c358012d181c800721a450004500d625..."} 
[2026-10-05 15:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b90c358012d181c800721a450004500d625..."} 
[2026-10-05 15:49:11] local.INFO: Processing buffer {"connection_id":207689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b90c358012d181c800721a450004500d625..."} 
[2026-10-05 15:49:11] local.INFO: Packet analysis {"connection_id":207689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b90"} 
[2026-10-05 15:49:11] local.INFO: Extracted packet for processing {"connection_id":207689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b90"} 
[2026-10-05 15:49:11] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645264,"longitude_deg":75.655488,"latitude_deg":11.9645264,"altitude":69,"angle":214,"satellites":37,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a450","is_valid_coordinates":true} 
[2026-10-05 15:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546016768001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25120834217574400,"note":"Value kept but may cause issues"} 
[2026-10-05 15:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375711744,"note":"Value kept but may cause issues"} 
[2026-10-05 15:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791195399000,"timestamp_ms":1791195399000,"timestamp_seconds":1791195399,"priority":1,"record_length":96,"hex_timestamp":"000001a10b90c358"} 
[2026-10-05 15:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 15:49:11] 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-10-05 15:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546016768001,"66":12874,"120":206,"28":31744,"24":0,"16":25120834217574400,"45":1737404324375711744},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 15:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546016768001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:49:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 15:49:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25120834217574400,"km_value":25120834217574.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375711744,"description":"Unknown IO ID 45"} 
[2026-10-05 15:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546016768001,"power":12874,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737404324375711744}} 
[2026-10-05 15:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":207689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:49:11] local.INFO: GPS data processed {"connection_id":207689,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:49:11] local.INFO: Acknowledgment sent {"connection_id":207689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:49:19] local.INFO: TCP Data received {"connection_id":204749,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b923a58012d0a72400705de700014002016..."} 
[2026-10-05 15:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b923a58012d0a72400705de700014002016..."} 
[2026-10-05 15:49:19] local.INFO: Processing buffer {"connection_id":204749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b923a58012d0a72400705de700014002016..."} 
[2026-10-05 15:49:19] local.INFO: Packet analysis {"connection_id":204749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b92"} 
[2026-10-05 15:49:19] local.INFO: Extracted packet for processing {"connection_id":204749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b92"} 
[2026-10-05 15:49:19] local.INFO: GPS Element Parsed {"raw_longitude":755659328,"raw_latitude":117825136,"longitude_deg":75.5659328,"latitude_deg":11.7825136,"altitude":20,"angle":32,"satellites":22,"speed":8,"hex_longitude":"2d0a7240","hex_latitude":"0705de70","is_valid_coordinates":true} 
[2026-10-05 15:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546046464001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34803219511115776,"note":"Value kept but may cause issues"} 
[2026-10-05 15:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752664117887481856,"note":"Value kept but may cause issues"} 
[2026-10-05 15:49:19] 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-10-05 15:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791195495000,"timestamp_ms":1791195495000,"timestamp_seconds":1791195495,"priority":1,"record_length":96,"hex_timestamp":"000001a10b923a58"} 
[2026-10-05 15:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-05 15:49:19] 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-10-05 15:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":204749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":204749,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":204749,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 15:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 15:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546046464001,"66":14537,"153":206,"94":10240,"24":8,"16":34803219511115776,"45":752664117887481856},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-05 15:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 15:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 15:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546046464001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:49:19] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-05 15:49:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 15:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34803219511115776,"km_value":34803219511115.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":752664117887481856,"description":"Unknown IO ID 45"} 
[2026-10-05 15:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546046464001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":752664117887481856}} 
[2026-10-05 15:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":204749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968325,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:49:19] local.INFO: GPS data processed {"connection_id":204749,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:49:19] local.INFO: Acknowledgment sent {"connection_id":204749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:49:31] local.INFO: TCP Data received {"connection_id":204615,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:49:31] local.INFO: Processing buffer {"connection_id":204615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:49:31] local.INFO: Packet analysis {"connection_id":204615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b91"} 
[2026-10-05 15:49:31] local.INFO: Extracted packet for processing {"connection_id":204615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b91"} 
[2026-10-05 15:49:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545957120001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791195446000,"timestamp_ms":1791195446000,"timestamp_seconds":1791195446,"priority":1,"record_length":96,"hex_timestamp":"000001a10b917af0"} 
[2026-10-05 15:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-10-05 15:49:31] 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-10-05 15: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-10-05 15:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:49: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-10-05 15:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545957120001,"66":26115,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545957120001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:49:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:49:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545957120001,"power":26115,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":204615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:49:31] local.INFO: GPS data processed {"connection_id":204615,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:49:31] local.INFO: Acknowledgment sent {"connection_id":204615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:49:36] local.INFO: TCP Data received {"connection_id":204616,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:49:36] local.INFO: Processing buffer {"connection_id":204616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:49:36] local.INFO: IMEI packet received {"connection_id":204616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":204616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:49:41] local.INFO: TCP Data received {"connection_id":204616,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:49:41] local.INFO: Processing buffer {"connection_id":204616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:49:41] local.INFO: IMEI packet received {"connection_id":204616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":204616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:49:42] local.INFO: TCP Data received {"connection_id":204617,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204617,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:49:42] local.INFO: Processing buffer {"connection_id":204617,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:49:42] local.INFO: IMEI packet received {"connection_id":204617,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 15:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":204617,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:49:42] local.INFO: TCP Data received {"connection_id":204616,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:49:42] local.INFO: Processing buffer {"connection_id":204616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:49:42] local.INFO: Packet analysis {"connection_id":204616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:49:42] local.INFO: Extracted packet for processing {"connection_id":204616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:49:42] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385368,"longitude_deg":76.2974144,"latitude_deg":9.9385368,"altitude":5,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8018","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545923072001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139685290087284736,"note":"Value kept but may cause issues"} 
[2026-10-05 15:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796093047650654208,"note":"Value kept but may cause issues"} 
[2026-10-05 15:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791195314000,"timestamp_ms":1791195314000,"timestamp_seconds":1791195314,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8f7750"} 
[2026-10-05 15:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 15:49:42] 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-10-05 15: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-10-05 15:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:49:42] 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-10-05 15:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545923072001,"66":13298,"100":206,"87":13824,"24":0,"16":139685290087284736,"45":8796093047650654208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545923072001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:49:42] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:49:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139685290087284736,"km_value":139685290087284.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796093047650654208,"description":"Unknown IO ID 45"} 
[2026-10-05 15:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545923072001,"power":13298,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796093047650654208}} 
[2026-10-05 15:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":204616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:49:42] local.INFO: GPS data processed {"connection_id":204616,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:49:42] local.INFO: Acknowledgment sent {"connection_id":204616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:49:42] local.INFO: TCP Data received {"connection_id":207689,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b911560012d181c800721a450004500d625..."} 
[2026-10-05 15:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b911560012d181c800721a450004500d625..."} 
[2026-10-05 15:49:42] local.INFO: Processing buffer {"connection_id":207689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b911560012d181c800721a450004500d625..."} 
[2026-10-05 15:49:42] local.INFO: Packet analysis {"connection_id":207689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b91"} 
[2026-10-05 15:49:42] local.INFO: Extracted packet for processing {"connection_id":207689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b91"} 
[2026-10-05 15:49:42] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645264,"longitude_deg":75.655488,"latitude_deg":11.9645264,"altitude":69,"angle":214,"satellites":37,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a450","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546022144001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25120834217574400,"note":"Value kept but may cause issues"} 
[2026-10-05 15:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375711744,"note":"Value kept but may cause issues"} 
[2026-10-05 15:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791195420000,"timestamp_ms":1791195420000,"timestamp_seconds":1791195420,"priority":1,"record_length":96,"hex_timestamp":"000001a10b911560"} 
[2026-10-05 15:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-10-05 15:49:42] 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-10-05 15: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-10-05 15:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546022144001,"66":12200,"120":206,"28":31744,"24":0,"16":25120834217574400,"45":1737404324375711744},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 15:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546022144001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:49:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 15:49:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25120834217574400,"km_value":25120834217574.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375711744,"description":"Unknown IO ID 45"} 
[2026-10-05 15:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546022144001,"power":12200,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737404324375711744}} 
[2026-10-05 15:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":207689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:49:42] local.INFO: GPS data processed {"connection_id":207689,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:49:42] local.INFO: Acknowledgment sent {"connection_id":207689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:49:46] local.INFO: TCP Data received {"connection_id":204616,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:49:46] local.INFO: Processing buffer {"connection_id":204616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b8f7750012d7a0fc005ec80180005011229..."} 
[2026-10-05 15:49:46] local.INFO: Packet analysis {"connection_id":204616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:49:46] local.INFO: Extracted packet for processing {"connection_id":204616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b8f"} 
[2026-10-05 15:49:46] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385368,"longitude_deg":76.2974144,"latitude_deg":9.9385368,"altitude":5,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8018","is_valid_coordinates":true} 
[2026-10-05 15:49: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-10-05 15:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545923072001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139685290087284736,"note":"Value kept but may cause issues"} 
[2026-10-05 15:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796093047650654208,"note":"Value kept but may cause issues"} 
[2026-10-05 15:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791195314000,"timestamp_ms":1791195314000,"timestamp_seconds":1791195314,"priority":1,"record_length":96,"hex_timestamp":"000001a10b8f7750"} 
[2026-10-05 15:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 15:49:46] 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-10-05 15:49: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-10-05 15:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:49:46] 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-10-05 15:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545923072001,"66":13298,"100":206,"87":13824,"24":0,"16":139685290087284736,"45":8796093047650654208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545923072001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:49:46] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:49:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139685290087284736,"km_value":139685290087284.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796093047650654208,"description":"Unknown IO ID 45"} 
[2026-10-05 15:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545923072001,"power":13298,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796093047650654208}} 
[2026-10-05 15:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":204616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:49:46] local.INFO: GPS data processed {"connection_id":204616,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:49:46] local.INFO: Acknowledgment sent {"connection_id":204616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:49:47] local.INFO: TCP Data received {"connection_id":204617,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204617,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:49:47] local.INFO: Processing buffer {"connection_id":204617,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:49:47] local.INFO: IMEI packet received {"connection_id":204617,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 15:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":204617,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:49:48] local.INFO: TCP Data received {"connection_id":204617,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b924de0012d0a75800705e3700012001216..."} 
[2026-10-05 15:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b924de0012d0a75800705e3700012001216..."} 
[2026-10-05 15:49:48] local.INFO: Processing buffer {"connection_id":204617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b924de0012d0a75800705e3700012001216..."} 
[2026-10-05 15:49:48] local.INFO: Packet analysis {"connection_id":204617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b92"} 
[2026-10-05 15:49:48] local.INFO: Extracted packet for processing {"connection_id":204617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b92"} 
[2026-10-05 15:49:48] local.INFO: GPS Element Parsed {"raw_longitude":755660160,"raw_latitude":117826416,"longitude_deg":75.566016,"latitude_deg":11.7826416,"altitude":18,"angle":18,"satellites":22,"speed":15,"hex_longitude":"2d0a7580","hex_latitude":"0705e370","is_valid_coordinates":true} 
[2026-10-05 15:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546046720001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34803296820527104,"note":"Value kept but may cause issues"} 
[2026-10-05 15:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752734486631706624,"note":"Value kept but may cause issues"} 
[2026-10-05 15:49:48] 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-10-05 15:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791195500000,"timestamp_ms":1791195500000,"timestamp_seconds":1791195500,"priority":1,"record_length":96,"hex_timestamp":"000001a10b924de0"} 
[2026-10-05 15:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:49:48] 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-10-05 15:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-05 15:49:48] 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-10-05 15:49:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 15:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 15:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546046720001,"66":14450,"153":206,"94":10240,"24":15,"16":34803296820527104,"45":752734486631706624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-05 15:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 15:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 15:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546046720001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:49:48] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-05 15:49:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 15:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34803296820527104,"km_value":34803296820527.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":752734486631706624,"description":"Unknown IO ID 45"} 
[2026-10-05 15:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546046720001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":752734486631706624}} 
[2026-10-05 15:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":204617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968330,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:49:48] local.INFO: GPS data processed {"connection_id":204617,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:49:48] local.INFO: Acknowledgment sent {"connection_id":204617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:49:54] local.INFO: TCP Data received {"connection_id":204750,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:49:54] local.INFO: Processing buffer {"connection_id":204750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:49:54] local.INFO: IMEI packet received {"connection_id":204750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":204750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:49:59] local.INFO: TCP Data received {"connection_id":204750,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:49:59] local.INFO: Processing buffer {"connection_id":204750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:49:59] local.INFO: IMEI packet received {"connection_id":204750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":204750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:50:00] local.INFO: TCP Data received {"connection_id":204750,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:50:00] local.INFO: Processing buffer {"connection_id":204750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:50:00] local.INFO: Packet analysis {"connection_id":204750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b91"} 
[2026-10-05 15:50:00] local.INFO: Extracted packet for processing {"connection_id":204750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b91"} 
[2026-10-05 15:50:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545957120001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791195446000,"timestamp_ms":1791195446000,"timestamp_seconds":1791195446,"priority":1,"record_length":96,"hex_timestamp":"000001a10b917af0"} 
[2026-10-05 15:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-10-05 15:50:00] 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-10-05 15: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-10-05 15:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:50: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-10-05 15:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545957120001,"66":26115,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545957120001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:50:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:50:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545957120001,"power":26115,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":204750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:50:00] local.INFO: GPS data processed {"connection_id":204750,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:50:00] local.INFO: Acknowledgment sent {"connection_id":204750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:50:05] local.INFO: TCP Data received {"connection_id":207691,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:50:05] local.INFO: Processing buffer {"connection_id":207691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:50:05] local.INFO: IMEI packet received {"connection_id":207691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":207691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:50:10] local.INFO: TCP Data received {"connection_id":207691,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:50:10] local.INFO: Processing buffer {"connection_id":207691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:50:10] local.INFO: IMEI packet received {"connection_id":207691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":207691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:50:11] local.INFO: TCP Data received {"connection_id":207691,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b916768012d181c800721a450004500d626..."} 
[2026-10-05 15:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b916768012d181c800721a450004500d626..."} 
[2026-10-05 15:50:11] local.INFO: Processing buffer {"connection_id":207691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b916768012d181c800721a450004500d626..."} 
[2026-10-05 15:50:11] local.INFO: Packet analysis {"connection_id":207691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b91"} 
[2026-10-05 15:50:11] local.INFO: Extracted packet for processing {"connection_id":207691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b91"} 
[2026-10-05 15:50:11] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645264,"longitude_deg":75.655488,"latitude_deg":11.9645264,"altitude":69,"angle":214,"satellites":38,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a450","is_valid_coordinates":true} 
[2026-10-05 15:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546027520001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25120834217574400,"note":"Value kept but may cause issues"} 
[2026-10-05 15:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375711744,"note":"Value kept but may cause issues"} 
[2026-10-05 15:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791195441000,"timestamp_ms":1791195441000,"timestamp_seconds":1791195441,"priority":1,"record_length":96,"hex_timestamp":"000001a10b916768"} 
[2026-10-05 15:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-10-05 15:50:11] 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-10-05 15:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546027520001,"66":12819,"120":206,"28":31744,"24":0,"16":25120834217574400,"45":1737404324375711744},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 15:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546027520001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:50:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 15:50:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25120834217574400,"km_value":25120834217574.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375711744,"description":"Unknown IO ID 45"} 
[2026-10-05 15:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546027520001,"power":12819,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737404324375711744}} 
[2026-10-05 15:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":207691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:50:12] local.INFO: GPS data processed {"connection_id":207691,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:50:12] local.INFO: Acknowledgment sent {"connection_id":207691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:50:20] local.INFO: TCP Data received {"connection_id":204617,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b93f7a8012d0a74000705e0c0001300d317..."} 
[2026-10-05 15:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b93f7a8012d0a74000705e0c0001300d317..."} 
[2026-10-05 15:50:20] local.INFO: Processing buffer {"connection_id":204617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b93f7a8012d0a74000705e0c0001300d317..."} 
[2026-10-05 15:50:20] local.INFO: Packet analysis {"connection_id":204617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b93"} 
[2026-10-05 15:50:20] local.INFO: Extracted packet for processing {"connection_id":204617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b93"} 
[2026-10-05 15:50:20] local.INFO: GPS Element Parsed {"raw_longitude":755659776,"raw_latitude":117825728,"longitude_deg":75.5659776,"latitude_deg":11.7825728,"altitude":19,"angle":211,"satellites":23,"speed":11,"hex_longitude":"2d0a7400","hex_latitude":"0705e0c0","is_valid_coordinates":true} 
[2026-10-05 15:50: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-10-05 15:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546075136001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34804250303266816,"note":"Value kept but may cause issues"} 
[2026-10-05 15:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753860386538960896,"note":"Value kept but may cause issues"} 
[2026-10-05 15:50:20] 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-10-05 15:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791195609000,"timestamp_ms":1791195609000,"timestamp_seconds":1791195609,"priority":1,"record_length":96,"hex_timestamp":"000001a10b93f7a8"} 
[2026-10-05 15:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:50: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-10-05 15:50: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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-10-05 15:50:20] 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-10-05 15:50: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-10-05 15:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":204617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":204617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":204617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 15:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 15:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546075136001,"66":14515,"153":206,"94":10240,"24":11,"16":34804250303266816,"45":753860386538960896},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-05 15:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 15:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 15:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546075136001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:50:20] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-05 15:50:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 15:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34804250303266816,"km_value":34804250303266.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":753860386538960896,"description":"Unknown IO ID 45"} 
[2026-10-05 15:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546075136001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":753860386538960896}} 
[2026-10-05 15:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":204617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968333,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:50:20] local.INFO: GPS data processed {"connection_id":204617,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:50:20] local.INFO: Acknowledgment sent {"connection_id":204617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:50:31] local.INFO: TCP Data received {"connection_id":206148,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:50:31] local.INFO: Processing buffer {"connection_id":206148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:50:31] local.INFO: IMEI packet received {"connection_id":206148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":206148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:50:31] local.INFO: TCP Data received {"connection_id":204750,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:50:31] local.INFO: Processing buffer {"connection_id":204750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:50:31] local.INFO: Packet analysis {"connection_id":204750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b91"} 
[2026-10-05 15:50:31] local.INFO: Extracted packet for processing {"connection_id":204750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b91"} 
[2026-10-05 15:50:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545957120001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791195446000,"timestamp_ms":1791195446000,"timestamp_seconds":1791195446,"priority":1,"record_length":96,"hex_timestamp":"000001a10b917af0"} 
[2026-10-05 15:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-10-05 15:50:31] 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-10-05 15: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-10-05 15:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:50: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-10-05 15:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545957120001,"66":26115,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545957120001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:50:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:50:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545957120001,"power":26115,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":204750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:50:31] local.INFO: GPS data processed {"connection_id":204750,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:50:31] local.INFO: Acknowledgment sent {"connection_id":204750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:50:36] local.INFO: TCP Data received {"connection_id":206148,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:50:36] local.INFO: Processing buffer {"connection_id":206148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:50:36] local.INFO: IMEI packet received {"connection_id":206148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":206148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:50:37] local.INFO: TCP Data received {"connection_id":206148,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b940f18012d7a0fc005ec80180005011223..."} 
[2026-10-05 15:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b940f18012d7a0fc005ec80180005011223..."} 
[2026-10-05 15:50:37] local.INFO: Processing buffer {"connection_id":206148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b940f18012d7a0fc005ec80180005011223..."} 
[2026-10-05 15:50:37] local.INFO: Packet analysis {"connection_id":206148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b94"} 
[2026-10-05 15:50:37] local.INFO: Extracted packet for processing {"connection_id":206148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b94"} 
[2026-10-05 15:50:37] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385368,"longitude_deg":76.2974144,"latitude_deg":9.9385368,"altitude":5,"angle":274,"satellites":35,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8018","is_valid_coordinates":true} 
[2026-10-05 15:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546000384001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139685290087284736,"note":"Value kept but may cause issues"} 
[2026-10-05 15:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795459728953055232,"note":"Value kept but may cause issues"} 
[2026-10-05 15:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791195615000,"timestamp_ms":1791195615000,"timestamp_seconds":1791195615,"priority":1,"record_length":96,"hex_timestamp":"000001a10b940f18"} 
[2026-10-05 15:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-10-05 15:50:37] 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-10-05 15:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546000384001,"66":13102,"100":206,"87":13824,"24":0,"16":139685290087284736,"45":8795459728953055232},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546000384001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:50:37] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:50:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139685290087284736,"km_value":139685290087284.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795459728953055232,"description":"Unknown IO ID 45"} 
[2026-10-05 15:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546000384001,"power":13102,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795459728953055232}} 
[2026-10-05 15:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":206148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:50:37] local.INFO: GPS data processed {"connection_id":206148,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:50:37] local.INFO: Acknowledgment sent {"connection_id":206148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:50:42] local.INFO: TCP Data received {"connection_id":206149,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206149,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:50:42] local.INFO: Processing buffer {"connection_id":206149,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:50:42] local.INFO: IMEI packet received {"connection_id":206149,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 15:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":206149,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:50:43] local.INFO: TCP Data received {"connection_id":207691,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b937e90012d182b0007219d60004a006c24..."} 
[2026-10-05 15:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b937e90012d182b0007219d60004a006c24..."} 
[2026-10-05 15:50:43] local.INFO: Processing buffer {"connection_id":207691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b937e90012d182b0007219d60004a006c24..."} 
[2026-10-05 15:50:43] local.INFO: Packet analysis {"connection_id":207691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b93"} 
[2026-10-05 15:50:43] local.INFO: Extracted packet for processing {"connection_id":207691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b93"} 
[2026-10-05 15:50:43] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119643488,"longitude_deg":75.6558592,"latitude_deg":11.9643488,"altitude":74,"angle":108,"satellites":36,"speed":6,"hex_longitude":"2d182b00","hex_latitude":"07219d60","is_valid_coordinates":true} 
[2026-10-05 15:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546067456001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25121057555873792,"note":"Value kept but may cause issues"} 
[2026-10-05 15:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741063499072561152,"note":"Value kept but may cause issues"} 
[2026-10-05 15:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791195578000,"timestamp_ms":1791195578000,"timestamp_seconds":1791195578,"priority":1,"record_length":96,"hex_timestamp":"000001a10b937e90"} 
[2026-10-05 15:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:50: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-10-05 15:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 15:50:43] 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-10-05 15:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546067456001,"66":13450,"120":206,"28":31744,"24":6,"16":25121057555873792,"45":1741063499072561152},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 15:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546067456001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:50:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 15:50:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25121057555873792,"km_value":25121057555873.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741063499072561152,"description":"Unknown IO ID 45"} 
[2026-10-05 15:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546067456001,"power":13450,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1741063499072561152}} 
[2026-10-05 15:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":207691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:50:43] local.INFO: GPS data processed {"connection_id":207691,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:50:43] local.INFO: Acknowledgment sent {"connection_id":207691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:50:43] local.INFO: TCP Data received {"connection_id":206149,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206149,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:50:43] local.INFO: Processing buffer {"connection_id":206149,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:50:43] local.INFO: IMEI packet received {"connection_id":206149,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 15:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":206149,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:50:44] local.INFO: TCP Data received {"connection_id":206149,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206149,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:50:44] local.INFO: Processing buffer {"connection_id":206149,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:50:44] local.INFO: IMEI packet received {"connection_id":206149,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 15:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":206149,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:50:47] local.INFO: TCP Data received {"connection_id":206149,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206149,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:50:47] local.INFO: Processing buffer {"connection_id":206149,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:50:47] local.INFO: IMEI packet received {"connection_id":206149,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 15:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":206149,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:50:48] local.INFO: TCP Data received {"connection_id":206149,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b93ff78012d0a73400705df10001400c317..."} 
[2026-10-05 15:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b93ff78012d0a73400705df10001400c317..."} 
[2026-10-05 15:50:48] local.INFO: Processing buffer {"connection_id":206149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b93ff78012d0a73400705df10001400c317..."} 
[2026-10-05 15:50:48] local.INFO: Packet analysis {"connection_id":206149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b93"} 
[2026-10-05 15:50:48] local.INFO: Extracted packet for processing {"connection_id":206149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b93"} 
[2026-10-05 15:50:48] local.INFO: GPS Element Parsed {"raw_longitude":755659584,"raw_latitude":117825296,"longitude_deg":75.5659584,"latitude_deg":11.7825296,"altitude":20,"angle":195,"satellites":23,"speed":8,"hex_longitude":"2d0a7340","hex_latitude":"0705df10","is_valid_coordinates":true} 
[2026-10-05 15:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546075904001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34804276073070592,"note":"Value kept but may cause issues"} 
[2026-10-05 15:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753227067841101824,"note":"Value kept but may cause issues"} 
[2026-10-05 15:50:48] 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-10-05 15:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791195611000,"timestamp_ms":1791195611000,"timestamp_seconds":1791195611,"priority":1,"record_length":96,"hex_timestamp":"000001a10b93ff78"} 
[2026-10-05 15:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-05 15:50: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-10-05 15:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":206149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":206149,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":206149,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 15:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 15:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546075904001,"66":14613,"153":206,"94":10240,"24":8,"16":34804276073070592,"45":753227067841101824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-05 15:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 15:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 15:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546075904001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:50:48] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-05 15:50:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 15:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34804276073070592,"km_value":34804276073070.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":753227067841101824,"description":"Unknown IO ID 45"} 
[2026-10-05 15:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546075904001,"power":14613,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":753227067841101824}} 
[2026-10-05 15:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":206149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968337,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:50:48] local.INFO: GPS data processed {"connection_id":206149,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:50:48] local.INFO: Acknowledgment sent {"connection_id":206149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:50:54] local.INFO: TCP Data received {"connection_id":206150,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:50:54] local.INFO: Processing buffer {"connection_id":206150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:50:54] local.INFO: IMEI packet received {"connection_id":206150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":206150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:50:59] local.INFO: TCP Data received {"connection_id":206150,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:50:59] local.INFO: Processing buffer {"connection_id":206150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:50:59] local.INFO: IMEI packet received {"connection_id":206150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":206150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:51:00] local.INFO: TCP Data received {"connection_id":206150,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:51:00] local.INFO: Processing buffer {"connection_id":206150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:51:00] local.INFO: Packet analysis {"connection_id":206150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b91"} 
[2026-10-05 15:51:00] local.INFO: Extracted packet for processing {"connection_id":206150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b91"} 
[2026-10-05 15:51:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545957120001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791195446000,"timestamp_ms":1791195446000,"timestamp_seconds":1791195446,"priority":1,"record_length":96,"hex_timestamp":"000001a10b917af0"} 
[2026-10-05 15:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-10-05 15:51:00] 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-10-05 15: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-10-05 15:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:51: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-10-05 15:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545957120001,"66":26115,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545957120001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:51:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:51:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545957120001,"power":26115,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":206150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:51:00] local.INFO: GPS data processed {"connection_id":206150,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:51:00] local.INFO: Acknowledgment sent {"connection_id":206150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:51:05] local.INFO: TCP Data received {"connection_id":206151,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:51:05] local.INFO: Processing buffer {"connection_id":206151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:51:05] local.INFO: IMEI packet received {"connection_id":206151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":206151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:51:08] local.INFO: TCP Data received {"connection_id":206148,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9422a0012d7a0fc005ec80180005011221..."} 
[2026-10-05 15:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9422a0012d7a0fc005ec80180005011221..."} 
[2026-10-05 15:51:08] local.INFO: Processing buffer {"connection_id":206148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9422a0012d7a0fc005ec80180005011221..."} 
[2026-10-05 15:51:08] local.INFO: Packet analysis {"connection_id":206148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b94"} 
[2026-10-05 15:51:08] local.INFO: Extracted packet for processing {"connection_id":206148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b94"} 
[2026-10-05 15:51:08] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385368,"longitude_deg":76.2974144,"latitude_deg":9.9385368,"altitude":5,"angle":274,"satellites":33,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8018","is_valid_coordinates":true} 
[2026-10-05 15:51: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-10-05 15:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546077440001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139685290087284736,"note":"Value kept but may cause issues"} 
[2026-10-05 15:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795459728953055232,"note":"Value kept but may cause issues"} 
[2026-10-05 15:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791195620000,"timestamp_ms":1791195620000,"timestamp_seconds":1791195620,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9422a0"} 
[2026-10-05 15:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:51: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-10-05 15: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-05 15:51: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-10-05 15: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-10-05 15:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546077440001,"66":13178,"100":206,"87":13824,"24":0,"16":139685290087284736,"45":8795459728953055232},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546077440001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:51:08] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:51:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139685290087284736,"km_value":139685290087284.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795459728953055232,"description":"Unknown IO ID 45"} 
[2026-10-05 15:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546077440001,"power":13178,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795459728953055232}} 
[2026-10-05 15:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":206148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:51:08] local.INFO: GPS data processed {"connection_id":206148,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:51:08] local.INFO: Acknowledgment sent {"connection_id":206148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:51:10] local.INFO: TCP Data received {"connection_id":206151,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:51:10] local.INFO: Processing buffer {"connection_id":206151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:51:10] local.INFO: IMEI packet received {"connection_id":206151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":206151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:51:11] local.INFO: TCP Data received {"connection_id":206151,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b938a48012d182c4007219cd80049008226..."} 
[2026-10-05 15:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b938a48012d182c4007219cd80049008226..."} 
[2026-10-05 15:51:11] local.INFO: Processing buffer {"connection_id":206151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b938a48012d182c4007219cd80049008226..."} 
[2026-10-05 15:51:11] local.INFO: Packet analysis {"connection_id":206151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b93"} 
[2026-10-05 15:51:11] local.INFO: Extracted packet for processing {"connection_id":206151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b93"} 
[2026-10-05 15:51:11] local.INFO: GPS Element Parsed {"raw_longitude":756558912,"raw_latitude":119643352,"longitude_deg":75.6558912,"latitude_deg":11.9643352,"altitude":73,"angle":130,"satellites":38,"speed":2,"hex_longitude":"2d182c40","hex_latitude":"07219cd8","is_valid_coordinates":true} 
[2026-10-05 15:51: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-10-05 15:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546067968001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25121070440775680,"note":"Value kept but may cause issues"} 
[2026-10-05 15:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711537561600,"note":"Value kept but may cause issues"} 
[2026-10-05 15:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791195581000,"timestamp_ms":1791195581000,"timestamp_seconds":1791195581,"priority":1,"record_length":96,"hex_timestamp":"000001a10b938a48"} 
[2026-10-05 15:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 15:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:51: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-10-05 15:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546067968001,"66":13993,"120":206,"28":31744,"24":2,"16":25121070440775680,"45":1741485711537561600},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 15:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546067968001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:51:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 15:51:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25121070440775680,"km_value":25121070440775.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711537561600,"description":"Unknown IO ID 45"} 
[2026-10-05 15:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546067968001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1741485711537561600}} 
[2026-10-05 15:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":206151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:51:11] local.INFO: GPS data processed {"connection_id":206151,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:51:11] local.INFO: Acknowledgment sent {"connection_id":206151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:51:21] local.INFO: TCP Data received {"connection_id":206149,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b940360012d0a72c00705de48001400b617..."} 
[2026-10-05 15:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b940360012d0a72c00705de48001400b617..."} 
[2026-10-05 15:51:21] local.INFO: Processing buffer {"connection_id":206149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b940360012d0a72c00705de48001400b617..."} 
[2026-10-05 15:51:21] local.INFO: Packet analysis {"connection_id":206149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b94"} 
[2026-10-05 15:51:21] local.INFO: Extracted packet for processing {"connection_id":206149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b94"} 
[2026-10-05 15:51:21] local.INFO: GPS Element Parsed {"raw_longitude":755659456,"raw_latitude":117825096,"longitude_deg":75.5659456,"latitude_deg":11.7825096,"altitude":20,"angle":182,"satellites":23,"speed":8,"hex_longitude":"2d0a72c0","hex_latitude":"0705de48","is_valid_coordinates":true} 
[2026-10-05 15:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546076416001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34804284663005184,"note":"Value kept but may cause issues"} 
[2026-10-05 15:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753015961608458240,"note":"Value kept but may cause issues"} 
[2026-10-05 15:51:21] 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-10-05 15:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791195612000,"timestamp_ms":1791195612000,"timestamp_seconds":1791195612,"priority":1,"record_length":96,"hex_timestamp":"000001a10b940360"} 
[2026-10-05 15:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15: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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-10-05 15:51:21] 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-10-05 15: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-10-05 15:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":206149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":206149,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":206149,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 15:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 15:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546076416001,"66":14613,"153":206,"94":10240,"24":8,"16":34804284663005184,"45":753015961608458240},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-05 15:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 15:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 15:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546076416001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:51:21] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-05 15:51:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 15:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34804284663005184,"km_value":34804284663005.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":753015961608458240,"description":"Unknown IO ID 45"} 
[2026-10-05 15:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546076416001,"power":14613,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":753015961608458240}} 
[2026-10-05 15:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":206149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968341,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:51:21] local.INFO: GPS data processed {"connection_id":206149,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:51:21] local.INFO: Acknowledgment sent {"connection_id":206149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:51:29] local.INFO: TCP Data received {"connection_id":204618,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204618,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:51:29] local.INFO: Processing buffer {"connection_id":204618,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:51:29] local.INFO: IMEI packet received {"connection_id":204618,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":204618,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:51:30] local.INFO: TCP Data received {"connection_id":204618,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204618,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:51:31] local.INFO: Processing buffer {"connection_id":204618,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:51:31] local.INFO: IMEI packet received {"connection_id":204618,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":204618,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:51:31] local.INFO: TCP Data received {"connection_id":206150,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:51:31] local.INFO: Processing buffer {"connection_id":206150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:51:31] local.INFO: Packet analysis {"connection_id":206150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b91"} 
[2026-10-05 15:51:31] local.INFO: Extracted packet for processing {"connection_id":206150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b91"} 
[2026-10-05 15:51:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545957120001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791195446000,"timestamp_ms":1791195446000,"timestamp_seconds":1791195446,"priority":1,"record_length":96,"hex_timestamp":"000001a10b917af0"} 
[2026-10-05 15:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-10-05 15:51:31] 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-10-05 15: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-10-05 15:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:51: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-10-05 15:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545957120001,"66":26115,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545957120001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:51:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:51:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545957120001,"power":26115,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":206150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:51:31] local.INFO: GPS data processed {"connection_id":206150,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:51:31] local.INFO: Acknowledgment sent {"connection_id":206150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:51:36] local.INFO: TCP Data received {"connection_id":204618,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204618,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:51:36] local.INFO: Processing buffer {"connection_id":204618,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:51:36] local.INFO: IMEI packet received {"connection_id":204618,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":204618,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:51:36] local.INFO: TCP Data received {"connection_id":204618,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9422a0012d7a0fc005ec80180005011221..."} 
[2026-10-05 15:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9422a0012d7a0fc005ec80180005011221..."} 
[2026-10-05 15:51:36] local.INFO: Processing buffer {"connection_id":204618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9422a0012d7a0fc005ec80180005011221..."} 
[2026-10-05 15:51:36] local.INFO: Packet analysis {"connection_id":204618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b94"} 
[2026-10-05 15:51:36] local.INFO: Extracted packet for processing {"connection_id":204618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b94"} 
[2026-10-05 15:51:36] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385368,"longitude_deg":76.2974144,"latitude_deg":9.9385368,"altitude":5,"angle":274,"satellites":33,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8018","is_valid_coordinates":true} 
[2026-10-05 15:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546078720001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139685290087284736,"note":"Value kept but may cause issues"} 
[2026-10-05 15:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795459728953055232,"note":"Value kept but may cause issues"} 
[2026-10-05 15:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791195620000,"timestamp_ms":1791195620000,"timestamp_seconds":1791195620,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9422a0"} 
[2026-10-05 15:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:51: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-10-05 15:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-10-05 15:51:36] 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-10-05 15:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546078720001,"66":13178,"100":206,"87":13824,"24":0,"16":139685290087284736,"45":8795459728953055232},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546078720001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:51:36] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:51:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139685290087284736,"km_value":139685290087284.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795459728953055232,"description":"Unknown IO ID 45"} 
[2026-10-05 15:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546078720001,"power":13178,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795459728953055232}} 
[2026-10-05 15:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":204618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968343,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:51:37] local.INFO: GPS data processed {"connection_id":204618,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:51:37] local.INFO: Acknowledgment sent {"connection_id":204618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:51:43] local.INFO: TCP Data received {"connection_id":206151,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b93dc50012d182c8007219cc8004900822a..."} 
[2026-10-05 15:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b93dc50012d182c8007219cc8004900822a..."} 
[2026-10-05 15:51:43] local.INFO: Processing buffer {"connection_id":206151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b93dc50012d182c8007219cc8004900822a..."} 
[2026-10-05 15:51:43] local.INFO: Packet analysis {"connection_id":206151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b93"} 
[2026-10-05 15:51:43] local.INFO: Extracted packet for processing {"connection_id":206151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b93"} 
[2026-10-05 15:51:43] local.INFO: GPS Element Parsed {"raw_longitude":756558976,"raw_latitude":119643336,"longitude_deg":75.6558976,"latitude_deg":11.9643336,"altitude":73,"angle":130,"satellites":42,"speed":0,"hex_longitude":"2d182c80","hex_latitude":"07219cc8","is_valid_coordinates":true} 
[2026-10-05 15:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546068736001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25121074735742976,"note":"Value kept but may cause issues"} 
[2026-10-05 15:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741837555258415104,"note":"Value kept but may cause issues"} 
[2026-10-05 15:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791195602000,"timestamp_ms":1791195602000,"timestamp_seconds":1791195602,"priority":1,"record_length":96,"hex_timestamp":"000001a10b93dc50"} 
[2026-10-05 15:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:51: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-10-05 15:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 15:51:43] 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-10-05 15:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":206151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":206151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":206151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546068736001,"66":13993,"120":206,"28":31744,"24":0,"16":25121074735742976,"45":1741837555258415104},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 15:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546068736001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:51:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 15:51:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25121074735742976,"km_value":25121074735742.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741837555258415104,"description":"Unknown IO ID 45"} 
[2026-10-05 15:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546068736001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741837555258415104}} 
[2026-10-05 15:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":206151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:51:43] local.INFO: GPS data processed {"connection_id":206151,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:51:43] local.INFO: Acknowledgment sent {"connection_id":206151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:51:50] local.INFO: TCP Data received {"connection_id":207693,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207693,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:51:50] local.INFO: Processing buffer {"connection_id":207693,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:51:50] local.INFO: IMEI packet received {"connection_id":207693,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 15:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":207693,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:51:52] local.INFO: TCP Data received {"connection_id":207693,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207693,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:51:52] local.INFO: Processing buffer {"connection_id":207693,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:51:52] local.INFO: IMEI packet received {"connection_id":207693,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 15:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":207693,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:51:57] local.INFO: TCP Data received {"connection_id":207693,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207693,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:51:57] local.INFO: Processing buffer {"connection_id":207693,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:51:57] local.INFO: IMEI packet received {"connection_id":207693,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 15:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":207693,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:51:58] local.INFO: TCP Data received {"connection_id":207693,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b950148012d0a510007057a080012011117..."} 
[2026-10-05 15:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b950148012d0a510007057a080012011117..."} 
[2026-10-05 15:51:58] local.INFO: Processing buffer {"connection_id":207693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b950148012d0a510007057a080012011117..."} 
[2026-10-05 15:51:58] local.INFO: Packet analysis {"connection_id":207693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b95"} 
[2026-10-05 15:51:58] local.INFO: Extracted packet for processing {"connection_id":207693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b95"} 
[2026-10-05 15:51:58] local.INFO: GPS Element Parsed {"raw_longitude":755650816,"raw_latitude":117799432,"longitude_deg":75.5650816,"latitude_deg":11.7799432,"altitude":18,"angle":273,"satellites":23,"speed":10,"hex_longitude":"2d0a5100","hex_latitude":"07057a08","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546093056001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34805848031100928,"note":"Value kept but may cause issues"} 
[2026-10-05 15:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743656918626215936,"note":"Value kept but may cause issues"} 
[2026-10-05 15:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1791195677000,"timestamp_ms":1791195677000,"timestamp_seconds":1791195677,"priority":1,"record_length":96,"hex_timestamp":"000001a10b950148"} 
[2026-10-05 15:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-05 15:51:58] 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-10-05 15: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-10-05 15:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":207693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":207693,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":207693,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 15:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 15:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546093056001,"66":14580,"153":206,"94":10240,"24":10,"16":34805848031100928,"45":743656918626215936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-05 15:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 15:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 15:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546093056001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:51:58] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-05 15:51:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 15:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34805848031100928,"km_value":34805848031100.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":743656918626215936,"description":"Unknown IO ID 45"} 
[2026-10-05 15:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546093056001,"power":14580,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":743656918626215936}} 
[2026-10-05 15:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":207693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968345,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:51:58] local.INFO: GPS data processed {"connection_id":207693,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:51:58] local.INFO: Acknowledgment sent {"connection_id":207693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:51:59] local.INFO: TCP Data received {"connection_id":204751,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:51:59] local.INFO: Processing buffer {"connection_id":204751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:51:59] local.INFO: IMEI packet received {"connection_id":204751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":204751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:52:04] local.INFO: TCP Data received {"connection_id":206152,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:52:04] local.INFO: Processing buffer {"connection_id":206152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:52:04] local.INFO: IMEI packet received {"connection_id":206152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":206152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:52:04] local.INFO: TCP Data received {"connection_id":204751,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:52:04] local.INFO: Processing buffer {"connection_id":204751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:52:04] local.INFO: IMEI packet received {"connection_id":204751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":204751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:52:05] local.INFO: TCP Data received {"connection_id":206152,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:52:05] local.INFO: Processing buffer {"connection_id":206152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:52:05] local.INFO: IMEI packet received {"connection_id":206152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":206152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:52:05] local.INFO: TCP Data received {"connection_id":204751,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:52:05] local.INFO: Processing buffer {"connection_id":204751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:52:05] local.INFO: Packet analysis {"connection_id":204751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b91"} 
[2026-10-05 15:52:05] local.INFO: Extracted packet for processing {"connection_id":204751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b91"} 
[2026-10-05 15:52:05] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545957120001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791195446000,"timestamp_ms":1791195446000,"timestamp_seconds":1791195446,"priority":1,"record_length":96,"hex_timestamp":"000001a10b917af0"} 
[2026-10-05 15:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-10-05 15:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545957120001,"66":26115,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545957120001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:52:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:52:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545957120001,"power":26115,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":204751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:52:05] local.INFO: GPS data processed {"connection_id":204751,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:52:05] local.INFO: Acknowledgment sent {"connection_id":204751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:52:08] local.INFO: TCP Data received {"connection_id":204618,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9474a8012d7a114005ec7e08000500fc25..."} 
[2026-10-05 15:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9474a8012d7a114005ec7e08000500fc25..."} 
[2026-10-05 15:52:08] local.INFO: Processing buffer {"connection_id":204618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9474a8012d7a114005ec7e08000500fc25..."} 
[2026-10-05 15:52:08] local.INFO: Packet analysis {"connection_id":204618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b94"} 
[2026-10-05 15:52:08] local.INFO: Extracted packet for processing {"connection_id":204618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b94"} 
[2026-10-05 15:52:08] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99384840,"longitude_deg":76.2974528,"latitude_deg":9.938484,"altitude":5,"angle":252,"satellites":37,"speed":1,"hex_longitude":"2d7a1140","hex_latitude":"05ec7e08","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546078720001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139685320152055808,"note":"Value kept but may cause issues"} 
[2026-10-05 15:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795459728953055232,"note":"Value kept but may cause issues"} 
[2026-10-05 15:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791195641000,"timestamp_ms":1791195641000,"timestamp_seconds":1791195641,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9474a8"} 
[2026-10-05 15:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15: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-10-05 15: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-10-05 15:52:08] 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-10-05 15: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-10-05 15:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546078720001,"66":13678,"100":206,"87":13824,"24":1,"16":139685320152055808,"45":8795459728953055232},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546078720001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:52:08] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:52:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139685320152055808,"km_value":139685320152055.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795459728953055232,"description":"Unknown IO ID 45"} 
[2026-10-05 15:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546078720001,"power":13678,"unknown_100":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8795459728953055232}} 
[2026-10-05 15:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":204618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:52:08] local.INFO: GPS data processed {"connection_id":204618,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:52:08] local.INFO: Acknowledgment sent {"connection_id":204618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:52:10] local.INFO: TCP Data received {"connection_id":204751,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:52:10] local.INFO: Processing buffer {"connection_id":204751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:52:10] local.INFO: Packet analysis {"connection_id":204751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b91"} 
[2026-10-05 15:52:10] local.INFO: Extracted packet for processing {"connection_id":204751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b91"} 
[2026-10-05 15:52:10] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545957120001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791195446000,"timestamp_ms":1791195446000,"timestamp_seconds":1791195446,"priority":1,"record_length":96,"hex_timestamp":"000001a10b917af0"} 
[2026-10-05 15:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-10-05 15:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545957120001,"66":26115,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545957120001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:52:10] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:52:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545957120001,"power":26115,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":204751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:52:10] local.INFO: GPS data processed {"connection_id":204751,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:52:10] local.INFO: Acknowledgment sent {"connection_id":204751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:52:10] local.INFO: TCP Data received {"connection_id":206152,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:52:10] local.INFO: Processing buffer {"connection_id":206152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:52:10] local.INFO: IMEI packet received {"connection_id":206152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":206152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:52:12] local.INFO: TCP Data received {"connection_id":206152,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b942e58012d182c8007219cc80049008226..."} 
[2026-10-05 15:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b942e58012d182c8007219cc80049008226..."} 
[2026-10-05 15:52:12] local.INFO: Processing buffer {"connection_id":206152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b942e58012d182c8007219cc80049008226..."} 
[2026-10-05 15:52:12] local.INFO: Packet analysis {"connection_id":206152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b94"} 
[2026-10-05 15:52:12] local.INFO: Extracted packet for processing {"connection_id":206152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b94"} 
[2026-10-05 15:52:12] local.INFO: GPS Element Parsed {"raw_longitude":756558976,"raw_latitude":119643336,"longitude_deg":75.6558976,"latitude_deg":11.9643336,"altitude":73,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d182c80","hex_latitude":"07219cc8","is_valid_coordinates":true} 
[2026-10-05 15:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546074112001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25121074735742976,"note":"Value kept but may cause issues"} 
[2026-10-05 15:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741907924002588672,"note":"Value kept but may cause issues"} 
[2026-10-05 15:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791195623000,"timestamp_ms":1791195623000,"timestamp_seconds":1791195623,"priority":1,"record_length":96,"hex_timestamp":"000001a10b942e58"} 
[2026-10-05 15:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 15:52:12] 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-10-05 15:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":206152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":206152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":206152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546074112001,"66":14276,"120":206,"28":31744,"24":0,"16":25121074735742976,"45":1741907924002588672},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 15:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546074112001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:52:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 15:52:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25121074735742976,"km_value":25121074735742.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741907924002588672,"description":"Unknown IO ID 45"} 
[2026-10-05 15:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546074112001,"power":14276,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741907924002588672}} 
[2026-10-05 15:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":206152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:52:12] local.INFO: GPS data processed {"connection_id":206152,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:52:12] local.INFO: Acknowledgment sent {"connection_id":206152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:52:31] local.INFO: TCP Data received {"connection_id":206153,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:52:31] local.INFO: Processing buffer {"connection_id":206153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:52:31] local.INFO: IMEI packet received {"connection_id":206153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":206153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:52:33] local.INFO: TCP Data received {"connection_id":206153,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:52:33] local.INFO: Processing buffer {"connection_id":206153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:52:33] local.INFO: IMEI packet received {"connection_id":206153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":206153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:52:36] local.INFO: TCP Data received {"connection_id":206153,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:52:36] local.INFO: Processing buffer {"connection_id":206153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:52:36] local.INFO: IMEI packet received {"connection_id":206153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":206153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:52:37] local.INFO: TCP Data received {"connection_id":206153,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9599a0012d7a11c005ec2378000100a325..."} 
[2026-10-05 15:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9599a0012d7a11c005ec2378000100a325..."} 
[2026-10-05 15:52:37] local.INFO: Processing buffer {"connection_id":206153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9599a0012d7a11c005ec2378000100a325..."} 
[2026-10-05 15:52:37] local.INFO: Packet analysis {"connection_id":206153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b95"} 
[2026-10-05 15:52:37] local.INFO: Extracted packet for processing {"connection_id":206153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b95"} 
[2026-10-05 15:52:37] local.INFO: GPS Element Parsed {"raw_longitude":762974656,"raw_latitude":99361656,"longitude_deg":76.2974656,"latitude_deg":9.9361656,"altitude":1,"angle":163,"satellites":37,"speed":18,"hex_longitude":"2d7a11c0","hex_latitude":"05ec2378","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546101760001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139686698836557824,"note":"Value kept but may cause issues"} 
[2026-10-05 15:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794826410249875456,"note":"Value kept but may cause issues"} 
[2026-10-05 15:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791195716000,"timestamp_ms":1791195716000,"timestamp_seconds":1791195716,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9599a0"} 
[2026-10-05 15:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:52: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-10-05 15: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 15:52:37] 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-10-05 15: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-10-05 15:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546101760001,"66":13852,"100":206,"87":13824,"24":18,"16":139686698836557824,"45":8794826410249875456},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-05 15:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546101760001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:52:37] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 15:52:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139686698836557824,"km_value":139686698836557.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794826410249875456,"description":"Unknown IO ID 45"} 
[2026-10-05 15:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546101760001,"power":13852,"unknown_100":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8794826410249875456}} 
[2026-10-05 15:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":206153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:52:37] local.INFO: GPS data processed {"connection_id":206153,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:52:37] local.INFO: Acknowledgment sent {"connection_id":206153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:52:42] local.INFO: TCP Data received {"connection_id":204620,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204620,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:52:42] local.INFO: Processing buffer {"connection_id":204620,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:52:42] local.INFO: IMEI packet received {"connection_id":204620,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 15:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":204620,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:52:44] local.INFO: TCP Data received {"connection_id":206152,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b948060012d182c8007219cc80049008225..."} 
[2026-10-05 15:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b948060012d182c8007219cc80049008225..."} 
[2026-10-05 15:52:44] local.INFO: Processing buffer {"connection_id":206152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b948060012d182c8007219cc80049008225..."} 
[2026-10-05 15:52:44] local.INFO: Packet analysis {"connection_id":206152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b94"} 
[2026-10-05 15:52:44] local.INFO: Extracted packet for processing {"connection_id":206152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b94"} 
[2026-10-05 15:52:44] local.INFO: GPS Element Parsed {"raw_longitude":756558976,"raw_latitude":119643336,"longitude_deg":75.6558976,"latitude_deg":11.9643336,"altitude":73,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d182c80","hex_latitude":"07219cc8","is_valid_coordinates":true} 
[2026-10-05 15:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546079488001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25121074735742976,"note":"Value kept but may cause issues"} 
[2026-10-05 15:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741907924002588672,"note":"Value kept but may cause issues"} 
[2026-10-05 15:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791195644000,"timestamp_ms":1791195644000,"timestamp_seconds":1791195644,"priority":1,"record_length":96,"hex_timestamp":"000001a10b948060"} 
[2026-10-05 15:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-05 15:52:44] 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-10-05 15:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":206152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":206152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":206152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546079488001,"66":14265,"120":206,"28":31744,"24":0,"16":25121074735742976,"45":1741907924002588672},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 15:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546079488001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:52:44] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 15:52:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25121074735742976,"km_value":25121074735742.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741907924002588672,"description":"Unknown IO ID 45"} 
[2026-10-05 15:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546079488001,"power":14265,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741907924002588672}} 
[2026-10-05 15:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":206152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:52:44] local.INFO: GPS data processed {"connection_id":206152,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:52:44] local.INFO: Acknowledgment sent {"connection_id":206152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:52:47] local.INFO: TCP Data received {"connection_id":204620,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204620,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:52:47] local.INFO: Processing buffer {"connection_id":204620,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:52:47] local.INFO: IMEI packet received {"connection_id":204620,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 15:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":204620,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:52:48] local.INFO: TCP Data received {"connection_id":204620,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b950530012d0a504007057a400011012717..."} 
[2026-10-05 15:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b950530012d0a504007057a400011012717..."} 
[2026-10-05 15:52:48] local.INFO: Processing buffer {"connection_id":204620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b950530012d0a504007057a400011012717..."} 
[2026-10-05 15:52:48] local.INFO: Packet analysis {"connection_id":204620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b95"} 
[2026-10-05 15:52:48] local.INFO: Extracted packet for processing {"connection_id":204620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b95"} 
[2026-10-05 15:52:48] local.INFO: GPS Element Parsed {"raw_longitude":755650624,"raw_latitude":117799488,"longitude_deg":75.5650624,"latitude_deg":11.7799488,"altitude":17,"angle":295,"satellites":23,"speed":7,"hex_longitude":"2d0a5040","hex_latitude":"07057a40","is_valid_coordinates":true} 
[2026-10-05 15:52: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-10-05 15:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546093312001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34805856621035520,"note":"Value kept but may cause issues"} 
[2026-10-05 15:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743375443649497088,"note":"Value kept but may cause issues"} 
[2026-10-05 15:52:48] 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-10-05 15:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791195678000,"timestamp_ms":1791195678000,"timestamp_seconds":1791195678,"priority":1,"record_length":96,"hex_timestamp":"000001a10b950530"} 
[2026-10-05 15:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:52: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":244,"data_length":795,"current_offset":136} 
[2026-10-05 15:52:48] 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-10-05 15:52: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-10-05 15:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 15:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 15:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546093312001,"66":14580,"153":206,"94":10240,"24":7,"16":34805856621035520,"45":743375443649497088},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-05 15:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 15:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 15:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546093312001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:52:48] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-05 15:52:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 15:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34805856621035520,"km_value":34805856621035.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":743375443649497088,"description":"Unknown IO ID 45"} 
[2026-10-05 15:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546093312001,"power":14580,"unknown_153":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":743375443649497088}} 
[2026-10-05 15:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":204620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968352,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:52:48] local.INFO: GPS data processed {"connection_id":204620,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:52:48] local.INFO: Acknowledgment sent {"connection_id":204620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:52:54] local.INFO: TCP Data received {"connection_id":206154,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:52:54] local.INFO: Processing buffer {"connection_id":206154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:52:54] local.INFO: IMEI packet received {"connection_id":206154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 15:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":206154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:52:54] local.INFO: TCP Data received {"connection_id":207694,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:52:54] local.INFO: Processing buffer {"connection_id":207694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:52:54] local.INFO: IMEI packet received {"connection_id":207694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":207694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:52:59] local.INFO: TCP Data received {"connection_id":207694,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:52:59] local.INFO: Processing buffer {"connection_id":207694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:52:59] local.INFO: IMEI packet received {"connection_id":207694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":207694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:53:00] local.INFO: TCP Data received {"connection_id":207694,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:53:00] local.INFO: Processing buffer {"connection_id":207694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b917af0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 15:53:00] local.INFO: Packet analysis {"connection_id":207694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b91"} 
[2026-10-05 15:53:00] local.INFO: Extracted packet for processing {"connection_id":207694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b91"} 
[2026-10-05 15:53:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458545957120001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791195446000,"timestamp_ms":1791195446000,"timestamp_seconds":1791195446,"priority":1,"record_length":96,"hex_timestamp":"000001a10b917af0"} 
[2026-10-05 15:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-10-05 15:53:00] 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-10-05 15:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:53: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-10-05 15:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458545957120001,"66":26115,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458545957120001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:53:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:53:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458545957120001,"power":26115,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":207694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:53:00] local.INFO: GPS data processed {"connection_id":207694,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:53:00] local.INFO: Acknowledgment sent {"connection_id":207694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:53:05] local.INFO: TCP Data received {"connection_id":204752,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:53:05] local.INFO: Processing buffer {"connection_id":204752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:53:05] local.INFO: IMEI packet received {"connection_id":204752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":204752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:53:08] local.INFO: TCP Data received {"connection_id":206153,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b95d438012d7a1fc005ec0120000300a024..."} 
[2026-10-05 15:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b95d438012d7a1fc005ec0120000300a024..."} 
[2026-10-05 15:53:08] local.INFO: Processing buffer {"connection_id":206153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b95d438012d7a1fc005ec0120000300a024..."} 
[2026-10-05 15:53:08] local.INFO: Packet analysis {"connection_id":206153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b95"} 
[2026-10-05 15:53:08] local.INFO: Extracted packet for processing {"connection_id":206153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b95"} 
[2026-10-05 15:53:08] local.INFO: GPS Element Parsed {"raw_longitude":762978240,"raw_latitude":99352864,"longitude_deg":76.297824,"latitude_deg":9.9352864,"altitude":3,"angle":160,"satellites":36,"speed":24,"hex_longitude":"2d7a1fc0","hex_latitude":"05ec0120","is_valid_coordinates":true} 
[2026-10-05 15:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546103296001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139687158398058496,"note":"Value kept but may cause issues"} 
[2026-10-05 15:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796022678900406272,"note":"Value kept but may cause issues"} 
[2026-10-05 15:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791195731000,"timestamp_ms":1791195731000,"timestamp_seconds":1791195731,"priority":1,"record_length":96,"hex_timestamp":"000001a10b95d438"} 
[2026-10-05 15:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:53: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-10-05 15:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-05 15:53:08] 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-10-05 15:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546103296001,"66":14004,"99":206,"87":13824,"24":24,"16":139687158398058496,"45":8796022678900406272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-05 15:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546103296001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:53:08] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-05 15:53:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139687158398058496,"km_value":139687158398058.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796022678900406272,"description":"Unknown IO ID 45"} 
[2026-10-05 15:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546103296001,"power":14004,"unknown_99":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8796022678900406272}} 
[2026-10-05 15:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":206153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:53:08] local.INFO: GPS data processed {"connection_id":206153,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:53:08] local.INFO: Acknowledgment sent {"connection_id":206153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:53:10] local.INFO: TCP Data received {"connection_id":204752,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:53:10] local.INFO: Processing buffer {"connection_id":204752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:53:10] local.INFO: IMEI packet received {"connection_id":204752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":204752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:53:11] local.INFO: TCP Data received {"connection_id":204752,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b95c0b0012d18cdc007213158003f008f23..."} 
[2026-10-05 15:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b95c0b0012d18cdc007213158003f008f23..."} 
[2026-10-05 15:53:11] local.INFO: Processing buffer {"connection_id":204752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b95c0b0012d18cdc007213158003f008f23..."} 
[2026-10-05 15:53:11] local.INFO: Packet analysis {"connection_id":204752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b95"} 
[2026-10-05 15:53:11] local.INFO: Extracted packet for processing {"connection_id":204752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b95"} 
[2026-10-05 15:53:11] local.INFO: GPS Element Parsed {"raw_longitude":756600256,"raw_latitude":119615832,"longitude_deg":75.6600256,"latitude_deg":11.9615832,"altitude":63,"angle":143,"satellites":35,"speed":38,"hex_longitude":"2d18cdc0","hex_latitude":"07213158","is_valid_coordinates":true} 
[2026-10-05 15:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546105088001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25123690370826240,"note":"Value kept but may cause issues"} 
[2026-10-05 15:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785536545386328064,"note":"Value kept but may cause issues"} 
[2026-10-05 15:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791195726000,"timestamp_ms":1791195726000,"timestamp_seconds":1791195726,"priority":1,"record_length":96,"hex_timestamp":"000001a10b95c0b0"} 
[2026-10-05 15:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-10-05 15:53:11] 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-10-05 15:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546105088001,"66":14265,"121":206,"28":31744,"24":38,"16":25123690370826240,"45":1785536545386328064},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 15:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546105088001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:53:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 15:53:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25123690370826240,"km_value":25123690370826.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785536545386328064,"description":"Unknown IO ID 45"} 
[2026-10-05 15:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546105088001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1785536545386328064}} 
[2026-10-05 15:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":204752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:53:11] local.INFO: GPS data processed {"connection_id":204752,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:53:11] local.INFO: Acknowledgment sent {"connection_id":204752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:53:19] local.INFO: TCP Data received {"connection_id":204620,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b955350012d0a4f8007057a50000e012717..."} 
[2026-10-05 15:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b955350012d0a4f8007057a50000e012717..."} 
[2026-10-05 15:53:19] local.INFO: Processing buffer {"connection_id":204620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b955350012d0a4f8007057a50000e012717..."} 
[2026-10-05 15:53:19] local.INFO: Packet analysis {"connection_id":204620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b95"} 
[2026-10-05 15:53:19] local.INFO: Extracted packet for processing {"connection_id":204620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b95"} 
[2026-10-05 15:53:19] local.INFO: GPS Element Parsed {"raw_longitude":755650432,"raw_latitude":117799504,"longitude_deg":75.5650432,"latitude_deg":11.7799504,"altitude":14,"angle":295,"satellites":23,"speed":0,"hex_longitude":"2d0a4f80","hex_latitude":"07057a50","is_valid_coordinates":true} 
[2026-10-05 15:53: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-10-05 15:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546093568001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34805869505937408,"note":"Value kept but may cause issues"} 
[2026-10-05 15:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743164337416978432,"note":"Value kept but may cause issues"} 
[2026-10-05 15:53: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-10-05 15:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791195698000,"timestamp_ms":1791195698000,"timestamp_seconds":1791195698,"priority":1,"record_length":96,"hex_timestamp":"000001a10b955350"} 
[2026-10-05 15:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:53: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":244,"data_length":795,"current_offset":136} 
[2026-10-05 15:53:19] 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-10-05 15:53: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-10-05 15:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":204620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":204620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":204620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 15:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 15:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546093568001,"66":14396,"177":206,"94":10240,"24":0,"16":34805869505937408,"45":743164337416978432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-10-05 15:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 15:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 15:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546093568001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:53:19] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-05 15:53:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 15:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34805869505937408,"km_value":34805869505937.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":743164337416978432,"description":"Unknown IO ID 45"} 
[2026-10-05 15:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546093568001,"power":14396,"unknown_177":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":743164337416978432}} 
[2026-10-05 15:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":204620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968356,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:53:19] local.INFO: GPS data processed {"connection_id":204620,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:53:19] local.INFO: Acknowledgment sent {"connection_id":204620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:53:31] local.INFO: TCP Data received {"connection_id":207695,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:53:31] local.INFO: Processing buffer {"connection_id":207695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:53:31] local.INFO: IMEI packet received {"connection_id":207695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":207695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:53:31] local.INFO: TCP Data received {"connection_id":207695,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:53:31] local.INFO: Processing buffer {"connection_id":207695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:53:31] local.INFO: IMEI packet received {"connection_id":207695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":207695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:53:31] local.INFO: TCP Data received {"connection_id":207694,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:53:31] local.INFO: Processing buffer {"connection_id":207694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:53:31] local.INFO: Packet analysis {"connection_id":207694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:53:31] local.INFO: Extracted packet for processing {"connection_id":207694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:53:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546034176001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791195747000,"timestamp_ms":1791195747000,"timestamp_seconds":1791195747,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9612b8"} 
[2026-10-05 15:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 15:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:53: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-10-05 15:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546034176001,"66":26082,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546034176001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:53:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:53:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546034176001,"power":26082,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":207694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:53:31] local.INFO: GPS data processed {"connection_id":207694,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:53:31] local.INFO: Acknowledgment sent {"connection_id":207694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:53:36] local.INFO: TCP Data received {"connection_id":207695,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:53:36] local.INFO: Processing buffer {"connection_id":207695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:53:36] local.INFO: IMEI packet received {"connection_id":207695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":207695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:53:36] local.INFO: TCP Data received {"connection_id":207695,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b960700012d7a2b0005ebe7b00002009423..."} 
[2026-10-05 15:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b960700012d7a2b0005ebe7b00002009423..."} 
[2026-10-05 15:53:36] local.INFO: Processing buffer {"connection_id":207695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b960700012d7a2b0005ebe7b00002009423..."} 
[2026-10-05 15:53:36] local.INFO: Packet analysis {"connection_id":207695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:53:36] local.INFO: Extracted packet for processing {"connection_id":207695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:53:36] local.INFO: GPS Element Parsed {"raw_longitude":762981120,"raw_latitude":99346352,"longitude_deg":76.298112,"latitude_deg":9.9346352,"altitude":2,"angle":148,"satellites":35,"speed":18,"hex_longitude":"2d7a2b00","hex_latitude":"05ebe7b0","is_valid_coordinates":true} 
[2026-10-05 15:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546107136001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139687506290409472,"note":"Value kept but may cause issues"} 
[2026-10-05 15:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799963328572104704,"note":"Value kept but may cause issues"} 
[2026-10-05 15:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791195744000,"timestamp_ms":1791195744000,"timestamp_seconds":1791195744,"priority":1,"record_length":96,"hex_timestamp":"000001a10b960700"} 
[2026-10-05 15:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:53: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-10-05 15:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-10-05 15:53:36] 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-10-05 15:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546107136001,"66":13830,"99":206,"87":13824,"24":18,"16":139687506290409472,"45":8799963328572104704},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-05 15:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546107136001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:53:36] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-05 15:53:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139687506290409472,"km_value":139687506290409.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799963328572104704,"description":"Unknown IO ID 45"} 
[2026-10-05 15:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546107136001,"power":13830,"unknown_99":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8799963328572104704}} 
[2026-10-05 15:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":207695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:53:37] local.INFO: GPS data processed {"connection_id":207695,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:53:37] local.INFO: Acknowledgment sent {"connection_id":207695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:53:39] local.INFO: TCP Data received {"connection_id":206155,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206155,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:53:39] local.INFO: Processing buffer {"connection_id":206155,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:53:39] local.INFO: IMEI packet received {"connection_id":206155,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 15:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":206155,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:53:40] local.INFO: TCP Data received {"connection_id":204621,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204621,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:53:40] local.INFO: Processing buffer {"connection_id":204621,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:53:40] local.INFO: IMEI packet received {"connection_id":204621,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 15:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":204621,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:53:42] local.INFO: TCP Data received {"connection_id":204621,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204621,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:53:42] local.INFO: Processing buffer {"connection_id":204621,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:53:42] local.INFO: IMEI packet received {"connection_id":204621,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 15:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":204621,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:53:42] local.INFO: TCP Data received {"connection_id":204752,"ip":"117.224.80.205","data_length":795,"data_hex":"000000000000030f8e0a000001a10b967460012d1946c00720ae48002a006f29..."} 
[2026-10-05 15:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b967460012d1946c00720ae48002a006f29..."} 
[2026-10-05 15:53:42] local.INFO: Processing buffer {"connection_id":204752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b967460012d1946c00720ae48002a006f29..."} 
[2026-10-05 15:53:42] local.INFO: Packet analysis {"connection_id":204752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:53:42] local.INFO: Extracted packet for processing {"connection_id":204752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:53:42] local.INFO: GPS Element Parsed {"raw_longitude":756631232,"raw_latitude":119582280,"longitude_deg":75.6631232,"latitude_deg":11.958228,"altitude":42,"angle":111,"satellites":41,"speed":39,"hex_longitude":"2d1946c0","hex_latitude":"0720ae48","is_valid_coordinates":true} 
[2026-10-05 15:53: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-10-05 15:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546116608001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25126061192773632,"note":"Value kept but may cause issues"} 
[2026-10-05 15:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817061742769221632,"note":"Value kept but may cause issues"} 
[2026-10-05 15:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791195772000,"timestamp_ms":1791195772000,"timestamp_seconds":1791195772,"priority":1,"record_length":96,"hex_timestamp":"000001a10b967460"} 
[2026-10-05 15:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:53: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 15:53:42] 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-10-05 15:53: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-10-05 15:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 15:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.80.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 15:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 15:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546116608001,"66":14461,"121":206,"28":31744,"24":39,"16":25126061192773632,"45":1817061742769221632},"client_ip":"117.224.80.205","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 15:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 15:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 15:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546116608001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:53:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 15:53:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 15:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25126061192773632,"km_value":25126061192773.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817061742769221632,"description":"Unknown IO ID 45"} 
[2026-10-05 15:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546116608001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1817061742769221632}} 
[2026-10-05 15:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":204752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:53:43] local.INFO: GPS data processed {"connection_id":204752,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:53:43] local.INFO: Acknowledgment sent {"connection_id":204752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:53:47] local.INFO: TCP Data received {"connection_id":204621,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204621,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:53:47] local.INFO: Processing buffer {"connection_id":204621,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:53:47] local.INFO: IMEI packet received {"connection_id":204621,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 15:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":204621,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:53:48] local.INFO: TCP Data received {"connection_id":204621,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b96ddd8012d0a35c0070584b8001101201b..."} 
[2026-10-05 15:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b96ddd8012d0a35c0070584b8001101201b..."} 
[2026-10-05 15:53:48] local.INFO: Processing buffer {"connection_id":204621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b96ddd8012d0a35c0070584b8001101201b..."} 
[2026-10-05 15:53:48] local.INFO: Packet analysis {"connection_id":204621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:53:48] local.INFO: Extracted packet for processing {"connection_id":204621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:53:48] local.INFO: GPS Element Parsed {"raw_longitude":755643840,"raw_latitude":117802168,"longitude_deg":75.564384,"latitude_deg":11.7802168,"altitude":17,"angle":288,"satellites":27,"speed":3,"hex_longitude":"2d0a35c0","hex_latitude":"070584b8","is_valid_coordinates":true} 
[2026-10-05 15:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546124032001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34806303297634304,"note":"Value kept but may cause issues"} 
[2026-10-05 15:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":735986725511542784,"note":"Value kept but may cause issues"} 
[2026-10-05 15:53: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-10-05 15:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791195799000,"timestamp_ms":1791195799000,"timestamp_seconds":1791195799,"priority":1,"record_length":96,"hex_timestamp":"000001a10b96ddd8"} 
[2026-10-05 15:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:53:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-05 15:53: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-10-05 15:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204621,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204621,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 15:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 15:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546124032001,"66":14396,"177":206,"94":10240,"24":3,"16":34806303297634304,"45":735986725511542784},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-10-05 15:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 15:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 15:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546124032001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:53:48] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-05 15:53:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 15:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34806303297634304,"km_value":34806303297634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":735986725511542784,"description":"Unknown IO ID 45"} 
[2026-10-05 15:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546124032001,"power":14396,"unknown_177":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":735986725511542784}} 
[2026-10-05 15:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":204621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968360,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:53:48] local.INFO: GPS data processed {"connection_id":204621,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:53:48] local.INFO: Acknowledgment sent {"connection_id":204621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:53:54] local.INFO: TCP Data received {"connection_id":206156,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:53:54] local.INFO: Processing buffer {"connection_id":206156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:53:54] local.INFO: IMEI packet received {"connection_id":206156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":206156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:53:59] local.INFO: TCP Data received {"connection_id":206156,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:53:59] local.INFO: Processing buffer {"connection_id":206156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:53:59] local.INFO: IMEI packet received {"connection_id":206156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":206156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:54:00] local.INFO: TCP Data received {"connection_id":206156,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:54:00] local.INFO: Processing buffer {"connection_id":206156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:54:00] local.INFO: Packet analysis {"connection_id":206156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:54:00] local.INFO: Extracted packet for processing {"connection_id":206156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:54:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546034176001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791195747000,"timestamp_ms":1791195747000,"timestamp_seconds":1791195747,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9612b8"} 
[2026-10-05 15:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 15:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:54: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-10-05 15:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546034176001,"66":26082,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546034176001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:54:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:54:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546034176001,"power":26082,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":206156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:54:00] local.INFO: GPS data processed {"connection_id":206156,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:54:00] local.INFO: Acknowledgment sent {"connection_id":206156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:54:07] local.INFO: TCP Data received {"connection_id":204622,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:54:07] local.INFO: Processing buffer {"connection_id":204622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:54:07] local.INFO: IMEI packet received {"connection_id":204622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 15:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":204622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:54:07] local.INFO: TCP Data received {"connection_id":207695,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b962258012d7a304005ebdbe0000300a028..."} 
[2026-10-05 15:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b962258012d7a304005ebdbe0000300a028..."} 
[2026-10-05 15:54:07] local.INFO: Processing buffer {"connection_id":207695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b962258012d7a304005ebdbe0000300a028..."} 
[2026-10-05 15:54:07] local.INFO: Packet analysis {"connection_id":207695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:54:07] local.INFO: Extracted packet for processing {"connection_id":207695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:54:07] local.INFO: GPS Element Parsed {"raw_longitude":762982464,"raw_latitude":99343328,"longitude_deg":76.2982464,"latitude_deg":9.9343328,"altitude":3,"angle":160,"satellites":40,"speed":6,"hex_longitude":"2d7a3040","hex_latitude":"05ebdbe0","is_valid_coordinates":true} 
[2026-10-05 15:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546110464001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139687669499166720,"note":"Value kept but may cause issues"} 
[2026-10-05 15:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803129922058432512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:54:07] 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-10-05 15:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791195751000,"timestamp_ms":1791195751000,"timestamp_seconds":1791195751,"priority":1,"record_length":96,"hex_timestamp":"000001a10b962258"} 
[2026-10-05 15:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:54: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-10-05 15:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 15:54:07] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3096233349545984,"note":"Value kept but may cause issues"} 
[2026-10-05 15:54:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626587950592,"note":"Value kept but may cause issues"} 
[2026-10-05 15:54:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-10-05 15:54:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3966875648,"note":"Value kept but may cause issues"} 
[2026-10-05 15:54:07] local.WARNING: Large IO value detected {"io_id":229,"raw_value":-1152590027738315284,"note":"Value kept but may cause issues"} 
[2026-10-05 15:54:07] local.WARNING: Large IO value detected {"io_id":114,"raw_value":-4035221964684066806,"note":"Value kept but may cause issues"} 
[2026-10-05 15:54:07] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,99,87,24,241,157,16,69,161,212,45,192,1,3,36,10,66,68,153,35,37,100,130,128,240,230,227,11,236,4,113,205,40,38,239,54,2,5,229,114],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-10-05 15:54:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144278066121801728,"timestamp_seconds":144278066121801.72,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 15:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546110464001,"66":13906,"163":206,"87":13824,"24":6,"16":139687669499166720,"45":8803129922058432512},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 15:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546110464001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:54:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 15:54:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139687669499166720,"km_value":139687669499166.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803129922058432512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546110464001,"power":13906,"unknown_163":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8803129922058432512}} 
[2026-10-05 15:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":207695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:54:07] local.INFO: GPS data processed {"connection_id":207695,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:54:07] local.INFO: Acknowledgment sent {"connection_id":207695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:54:08] local.INFO: TCP Data received {"connection_id":204622,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:54:08] local.INFO: Processing buffer {"connection_id":204622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:54:08] local.INFO: IMEI packet received {"connection_id":204622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":204622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:54:09] local.INFO: TCP Data received {"connection_id":204622,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:54:09] local.INFO: Processing buffer {"connection_id":204622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:54:09] local.INFO: IMEI packet received {"connection_id":204622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":204622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:54:10] local.INFO: TCP Data received {"connection_id":204622,"ip":"117.224.80.205","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:54:10] local.INFO: Processing buffer {"connection_id":204622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 15:54:10] local.INFO: IMEI packet received {"connection_id":204622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 15:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":204622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:54:19] local.INFO: TCP Data received {"connection_id":204621,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b97a128012d09e94007056e60000c00fc1b..."} 
[2026-10-05 15:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b97a128012d09e94007056e60000c00fc1b..."} 
[2026-10-05 15:54:19] local.INFO: Processing buffer {"connection_id":204621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b97a128012d09e94007056e60000c00fc1b..."} 
[2026-10-05 15:54:19] local.INFO: Packet analysis {"connection_id":204621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b97"} 
[2026-10-05 15:54:19] local.INFO: Extracted packet for processing {"connection_id":204621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b97"} 
[2026-10-05 15:54:19] local.INFO: GPS Element Parsed {"raw_longitude":755624256,"raw_latitude":117796448,"longitude_deg":75.5624256,"latitude_deg":11.7796448,"altitude":12,"angle":252,"satellites":27,"speed":6,"hex_longitude":"2d09e940","hex_latitude":"07056e60","is_valid_coordinates":true} 
[2026-10-05 15:54: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-10-05 15:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546137088001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34807385629392896,"note":"Value kept but may cause issues"} 
[2026-10-05 15:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":714313152303376384,"note":"Value kept but may cause issues"} 
[2026-10-05 15:54: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-10-05 15:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791195849000,"timestamp_ms":1791195849000,"timestamp_seconds":1791195849,"priority":1,"record_length":96,"hex_timestamp":"000001a10b97a128"} 
[2026-10-05 15:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:54: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":223,"data_length":795,"current_offset":136} 
[2026-10-05 15:54:19] 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-10-05 15:54: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-10-05 15:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":204621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":204621,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":204621,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 15:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 15:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 15:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546137088001,"66":14515,"177":206,"94":10240,"24":6,"16":34807385629392896,"45":714313152303376384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-10-05 15:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 15:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 15:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546137088001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:54:19] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-05 15:54:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 15:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34807385629392896,"km_value":34807385629392.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":714313152303376384,"description":"Unknown IO ID 45"} 
[2026-10-05 15:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546137088001,"power":14515,"unknown_177":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":714313152303376384}} 
[2026-10-05 15:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":204621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968363,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:54:19] local.INFO: GPS data processed {"connection_id":204621,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:54:19] local.INFO: Acknowledgment sent {"connection_id":204621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:54:30] local.INFO: TCP Data received {"connection_id":206157,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:54:30] local.INFO: Processing buffer {"connection_id":206157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:54:30] local.INFO: IMEI packet received {"connection_id":206157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":206157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:54:31] local.INFO: TCP Data received {"connection_id":206156,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:54:31] local.INFO: Processing buffer {"connection_id":206156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:54:31] local.INFO: Packet analysis {"connection_id":206156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:54:31] local.INFO: Extracted packet for processing {"connection_id":206156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:54:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546034176001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791195747000,"timestamp_ms":1791195747000,"timestamp_seconds":1791195747,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9612b8"} 
[2026-10-05 15:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 15:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:54: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-10-05 15:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546034176001,"66":26082,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546034176001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:54:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:54:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546034176001,"power":26082,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":206156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:54:31] local.INFO: GPS data processed {"connection_id":206156,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:54:31] local.INFO: Acknowledgment sent {"connection_id":206156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:54:35] local.INFO: TCP Data received {"connection_id":206157,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:54:35] local.INFO: Processing buffer {"connection_id":206157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:54:35] local.INFO: IMEI packet received {"connection_id":206157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":206157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:54:36] local.INFO: TCP Data received {"connection_id":206157,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b966c90012d7a3f4005ebbc500006009b25..."} 
[2026-10-05 15:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b966c90012d7a3f4005ebbc500006009b25..."} 
[2026-10-05 15:54:36] local.INFO: Processing buffer {"connection_id":206157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b966c90012d7a3f4005ebbc500006009b25..."} 
[2026-10-05 15:54:36] local.INFO: Packet analysis {"connection_id":206157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:54:36] local.INFO: Extracted packet for processing {"connection_id":206157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:54:36] local.INFO: GPS Element Parsed {"raw_longitude":762986304,"raw_latitude":99335248,"longitude_deg":76.2986304,"latitude_deg":9.9335248,"altitude":6,"angle":155,"satellites":37,"speed":17,"hex_longitude":"2d7a3f40","hex_latitude":"05ebbc50","is_valid_coordinates":true} 
[2026-10-05 15:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546112256001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139688103290863616,"note":"Value kept but may cause issues"} 
[2026-10-05 15:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804607665685389312,"note":"Value kept but may cause issues"} 
[2026-10-05 15:54:36] 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-10-05 15:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791195770000,"timestamp_ms":1791195770000,"timestamp_seconds":1791195770,"priority":1,"record_length":96,"hex_timestamp":"000001a10b966c90"} 
[2026-10-05 15:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:54: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-10-05 15:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 15:54:36] 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-10-05 15:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546112256001,"66":13602,"163":206,"87":13824,"24":17,"16":139688103290863616,"45":8804607665685389312},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 15:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546112256001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:54:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 15:54:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139688103290863616,"km_value":139688103290863.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804607665685389312,"description":"Unknown IO ID 45"} 
[2026-10-05 15:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546112256001,"power":13602,"unknown_163":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8804607665685389312}} 
[2026-10-05 15:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":206157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:54:36] local.INFO: GPS data processed {"connection_id":206157,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:54:36] local.INFO: Acknowledgment sent {"connection_id":206157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:54:41] local.INFO: TCP Data received {"connection_id":204624,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204624,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:54:41] local.INFO: Processing buffer {"connection_id":204624,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:54:41] local.INFO: IMEI packet received {"connection_id":204624,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 15:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":204624,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:54:42] local.INFO: TCP Data received {"connection_id":204624,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204624,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:54:42] local.INFO: Processing buffer {"connection_id":204624,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:54:42] local.INFO: IMEI packet received {"connection_id":204624,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 15:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":204624,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:54:43] local.INFO: TCP Data received {"connection_id":204624,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204624,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:54:43] local.INFO: Processing buffer {"connection_id":204624,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:54:43] local.INFO: IMEI packet received {"connection_id":204624,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 15:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":204624,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:54:44] local.INFO: TCP Data received {"connection_id":204624,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204624,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:54:44] local.INFO: Processing buffer {"connection_id":204624,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:54:44] local.INFO: IMEI packet received {"connection_id":204624,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 15:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":204624,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:54:54] local.INFO: TCP Data received {"connection_id":204625,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:54:54] local.INFO: Processing buffer {"connection_id":204625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:54:54] local.INFO: IMEI packet received {"connection_id":204625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":204625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:54:59] local.INFO: TCP Data received {"connection_id":204625,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:54:59] local.INFO: Processing buffer {"connection_id":204625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:54:59] local.INFO: IMEI packet received {"connection_id":204625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":204625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:55:00] local.INFO: TCP Data received {"connection_id":204625,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:55:00] local.INFO: Processing buffer {"connection_id":204625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:55:00] local.INFO: Packet analysis {"connection_id":204625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:55:00] local.INFO: Extracted packet for processing {"connection_id":204625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:55:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546034176001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791195747000,"timestamp_ms":1791195747000,"timestamp_seconds":1791195747,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9612b8"} 
[2026-10-05 15:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 15:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:55: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-10-05 15:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546034176001,"66":26082,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546034176001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:55:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:55:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546034176001,"power":26082,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":204625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:55:00] local.INFO: GPS data processed {"connection_id":204625,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:55:00] local.INFO: Acknowledgment sent {"connection_id":204625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:55:07] local.INFO: TCP Data received {"connection_id":206157,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b96be98012d7a488005ebabe80004009f23..."} 
[2026-10-05 15:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b96be98012d7a488005ebabe80004009f23..."} 
[2026-10-05 15:55:07] local.INFO: Processing buffer {"connection_id":206157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b96be98012d7a488005ebabe80004009f23..."} 
[2026-10-05 15:55:07] local.INFO: Packet analysis {"connection_id":206157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:55:07] local.INFO: Extracted packet for processing {"connection_id":206157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:55:07] local.INFO: GPS Element Parsed {"raw_longitude":762988672,"raw_latitude":99331048,"longitude_deg":76.2988672,"latitude_deg":9.9331048,"altitude":4,"angle":159,"satellites":35,"speed":16,"hex_longitude":"2d7a4880","hex_latitude":"05ebabe8","is_valid_coordinates":true} 
[2026-10-05 15:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546117120001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139688339514064896,"note":"Value kept but may cause issues"} 
[2026-10-05 15:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808829790333980672,"note":"Value kept but may cause issues"} 
[2026-10-05 15:55:07] 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-10-05 15:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791195791000,"timestamp_ms":1791195791000,"timestamp_seconds":1791195791,"priority":1,"record_length":96,"hex_timestamp":"000001a10b96be98"} 
[2026-10-05 15:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:55: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-10-05 15:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-10-05 15:55:07] 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-10-05 15:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":206157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":206157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":206157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546117120001,"66":13993,"163":206,"87":13824,"24":16,"16":139688339514064896,"45":8808829790333980672},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-05 15:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546117120001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:55:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 15:55:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139688339514064896,"km_value":139688339514064.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808829790333980672,"description":"Unknown IO ID 45"} 
[2026-10-05 15:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546117120001,"power":13993,"unknown_163":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8808829790333980672}} 
[2026-10-05 15:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":206157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:55:07] local.INFO: GPS data processed {"connection_id":206157,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:55:07] local.INFO: Acknowledgment sent {"connection_id":206157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:55:30] local.INFO: TCP Data received {"connection_id":206158,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:55:30] local.INFO: Processing buffer {"connection_id":206158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:55:30] local.INFO: IMEI packet received {"connection_id":206158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":206158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:55:32] local.INFO: TCP Data received {"connection_id":204625,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:55:32] local.INFO: Processing buffer {"connection_id":204625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:55:32] local.INFO: Packet analysis {"connection_id":204625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:55:32] local.INFO: Extracted packet for processing {"connection_id":204625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:55:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546034176001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791195747000,"timestamp_ms":1791195747000,"timestamp_seconds":1791195747,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9612b8"} 
[2026-10-05 15:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 15:55:32] 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-10-05 15: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-10-05 15:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:55: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-10-05 15:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546034176001,"66":26082,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546034176001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:55:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:55:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546034176001,"power":26082,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":204625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:55:32] local.INFO: GPS data processed {"connection_id":204625,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:55:32] local.INFO: Acknowledgment sent {"connection_id":204625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:55:33] local.INFO: TCP Data received {"connection_id":206158,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:55:33] local.INFO: Processing buffer {"connection_id":206158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:55:33] local.INFO: IMEI packet received {"connection_id":206158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":206158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:55:41] local.INFO: TCP Data received {"connection_id":206158,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:55:41] local.INFO: Processing buffer {"connection_id":206158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:55:41] local.INFO: IMEI packet received {"connection_id":206158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":206158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:55:42] local.INFO: TCP Data received {"connection_id":206158,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9858c0012d7b240005ebec68000e003f2e..."} 
[2026-10-05 15:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9858c0012d7b240005ebec68000e003f2e..."} 
[2026-10-05 15:55:42] local.INFO: Processing buffer {"connection_id":206158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9858c0012d7b240005ebec68000e003f2e..."} 
[2026-10-05 15:55:42] local.INFO: Packet analysis {"connection_id":206158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b98"} 
[2026-10-05 15:55:42] local.INFO: Extracted packet for processing {"connection_id":206158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b98"} 
[2026-10-05 15:55:42] local.INFO: GPS Element Parsed {"raw_longitude":763044864,"raw_latitude":99347560,"longitude_deg":76.3044864,"latitude_deg":9.934756,"altitude":14,"angle":63,"satellites":46,"speed":42,"hex_longitude":"2d7b2400","hex_latitude":"05ebec68","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546146816001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139691414710648832,"note":"Value kept but may cause issues"} 
[2026-10-05 15:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863998885771352064,"note":"Value kept but may cause issues"} 
[2026-10-05 15:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791195896000,"timestamp_ms":1791195896000,"timestamp_seconds":1791195896,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9858c0"} 
[2026-10-05 15:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 15:55:42] 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-10-05 15: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-10-05 15:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546146816001,"66":13917,"99":206,"87":13824,"24":42,"16":139691414710648832,"45":8863998885771352064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-05 15:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546146816001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:55:42] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-05 15:55:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139691414710648832,"km_value":139691414710648.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863998885771352064,"description":"Unknown IO ID 45"} 
[2026-10-05 15:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546146816001,"power":13917,"unknown_99":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8863998885771352064}} 
[2026-10-05 15:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":206158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:55:42] local.INFO: GPS data processed {"connection_id":206158,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:55:42] local.INFO: Acknowledgment sent {"connection_id":206158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:55:59] local.INFO: TCP Data received {"connection_id":207697,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:55:59] local.INFO: Processing buffer {"connection_id":207697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:55:59] local.INFO: IMEI packet received {"connection_id":207697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":207697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:56:04] local.INFO: TCP Data received {"connection_id":207697,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:56:04] local.INFO: Processing buffer {"connection_id":207697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:56:04] local.INFO: IMEI packet received {"connection_id":207697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":207697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:56:05] local.INFO: TCP Data received {"connection_id":207697,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:56:05] local.INFO: Processing buffer {"connection_id":207697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:56:05] local.INFO: Packet analysis {"connection_id":207697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:56:05] local.INFO: Extracted packet for processing {"connection_id":207697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:56:05] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546034176001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791195747000,"timestamp_ms":1791195747000,"timestamp_seconds":1791195747,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9612b8"} 
[2026-10-05 15:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 15:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546034176001,"66":26082,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546034176001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:56:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:56:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546034176001,"power":26082,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":207697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:56:05] local.INFO: GPS data processed {"connection_id":207697,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:56:05] local.INFO: Acknowledgment sent {"connection_id":207697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:56:10] local.INFO: TCP Data received {"connection_id":207697,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:56:10] local.INFO: Processing buffer {"connection_id":207697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:56:10] local.INFO: Packet analysis {"connection_id":207697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:56:10] local.INFO: Extracted packet for processing {"connection_id":207697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:56:10] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546034176001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791195747000,"timestamp_ms":1791195747000,"timestamp_seconds":1791195747,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9612b8"} 
[2026-10-05 15:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 15:56:10] 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-10-05 15:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546034176001,"66":26082,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546034176001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:56:10] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:56:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546034176001,"power":26082,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":207697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:56:10] local.INFO: GPS data processed {"connection_id":207697,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:56:10] local.INFO: Acknowledgment sent {"connection_id":207697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:56:15] local.INFO: TCP Data received {"connection_id":206158,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b987fd0012d7b454005ebfca8000f00412d..."} 
[2026-10-05 15:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b987fd0012d7b454005ebfca8000f00412d..."} 
[2026-10-05 15:56:15] local.INFO: Processing buffer {"connection_id":206158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b987fd0012d7b454005ebfca8000f00412d..."} 
[2026-10-05 15:56:15] local.INFO: Packet analysis {"connection_id":206158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b98"} 
[2026-10-05 15:56:15] local.INFO: Extracted packet for processing {"connection_id":206158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b98"} 
[2026-10-05 15:56:15] local.INFO: GPS Element Parsed {"raw_longitude":763053376,"raw_latitude":99351720,"longitude_deg":76.3053376,"latitude_deg":9.935172,"altitude":15,"angle":65,"satellites":45,"speed":28,"hex_longitude":"2d7b4540","hex_latitude":"05ebfca8","is_valid_coordinates":true} 
[2026-10-05 15:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546149376001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139691865682214912,"note":"Value kept but may cause issues"} 
[2026-10-05 15:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873217191259695104,"note":"Value kept but may cause issues"} 
[2026-10-05 15:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791195906000,"timestamp_ms":1791195906000,"timestamp_seconds":1791195906,"priority":1,"record_length":96,"hex_timestamp":"000001a10b987fd0"} 
[2026-10-05 15:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-10-05 15:56:15] 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-10-05 15:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":206158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":206158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":206158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546149376001,"66":13830,"99":206,"87":13824,"24":28,"16":139691865682214912,"45":8873217191259695104},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-05 15:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546149376001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:56:15] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-05 15:56:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139691865682214912,"km_value":139691865682214.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873217191259695104,"description":"Unknown IO ID 45"} 
[2026-10-05 15:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546149376001,"power":13830,"unknown_99":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8873217191259695104}} 
[2026-10-05 15:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":206158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:56:15] local.INFO: GPS data processed {"connection_id":206158,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:56:15] local.INFO: Acknowledgment sent {"connection_id":206158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:56:31] local.INFO: TCP Data received {"connection_id":204754,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:56:31] local.INFO: Processing buffer {"connection_id":204754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:56:31] local.INFO: IMEI packet received {"connection_id":204754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":204754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:56:36] local.INFO: TCP Data received {"connection_id":204754,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:56:36] local.INFO: Processing buffer {"connection_id":204754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:56:36] local.INFO: IMEI packet received {"connection_id":204754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":204754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:56:37] local.INFO: TCP Data received {"connection_id":204754,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b98aeb0012d7b664005ec0a68000e00462e..."} 
[2026-10-05 15:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b98aeb0012d7b664005ec0a68000e00462e..."} 
[2026-10-05 15:56:37] local.INFO: Processing buffer {"connection_id":204754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b98aeb0012d7b664005ec0a68000e00462e..."} 
[2026-10-05 15:56:37] local.INFO: Packet analysis {"connection_id":204754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b98"} 
[2026-10-05 15:56:37] local.INFO: Extracted packet for processing {"connection_id":204754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b98"} 
[2026-10-05 15:56:37] local.INFO: GPS Element Parsed {"raw_longitude":763061824,"raw_latitude":99355240,"longitude_deg":76.3061824,"latitude_deg":9.935524,"altitude":14,"angle":70,"satellites":46,"speed":25,"hex_longitude":"2d7b6640","hex_latitude":"05ec0a68","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546151936001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139692303768879104,"note":"Value kept but may cause issues"} 
[2026-10-05 15:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882576234236389376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791195918000,"timestamp_ms":1791195918000,"timestamp_seconds":1791195918,"priority":1,"record_length":96,"hex_timestamp":"000001a10b98aeb0"} 
[2026-10-05 15:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:56: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-10-05 15: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 15:56:37] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4785083209809920,"note":"Value kept but may cause issues"} 
[2026-10-05 15:56:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626587741184,"note":"Value kept but may cause issues"} 
[2026-10-05 15:56:37] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3372220416,"note":"Value kept but may cause issues"} 
[2026-10-05 15:56:37] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2546737153,"note":"Value kept but may cause issues"} 
[2026-10-05 15:56:37] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3168796682,"note":"Value kept but may cause issues"} 
[2026-10-05 15:56:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":-1729050778368211477,"note":"Value kept but may cause issues"} 
[2026-10-05 15:56:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765526222,"corrected_to":0} 
[2026-10-05 15:56:37] local.WARNING: Large IO value detected {"io_id":145,"raw_value":2281778554,"note":"Value kept but may cause issues"} 
[2026-10-05 15:56:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3953293312,"note":"Value kept but may cause issues"} 
[2026-10-05 15:56:37] local.WARNING: Large IO value detected {"io_id":149,"raw_value":-1729373459572981742,"note":"Value kept but may cause issues"} 
[2026-10-05 15:56:37] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,99,87,24,241,157,16,73,161,88,45,236,14,46,10,66,72,49,64,220,12,254,128,1,240,93,227,71,11,235,4,113,205,26,145,56,39,239,53,2,5,17,149],"length":528,"final_offset":658,"validated_count":43,"validation_warnings":[{"io_id":205,"original":765526222,"validated":0}]} 
[2026-10-05 15:56:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080935572100087808,"timestamp_seconds":1080935572100087.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 15:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546151936001,"66":13906,"99":206,"87":13824,"24":25,"16":139692303768879104,"45":8882576234236389376},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-05 15:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546151936001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:56:37] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-05 15:56:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139692303768879104,"km_value":139692303768879.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882576234236389376,"description":"Unknown IO ID 45"} 
[2026-10-05 15:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546151936001,"power":13906,"unknown_99":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8882576234236389376}} 
[2026-10-05 15:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":204754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:56:37] local.INFO: GPS data processed {"connection_id":204754,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:56:37] local.INFO: Acknowledgment sent {"connection_id":204754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:56:54] local.INFO: TCP Data received {"connection_id":204757,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:56:55] local.INFO: Processing buffer {"connection_id":204757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:56:55] local.INFO: IMEI packet received {"connection_id":204757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":204757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:56:59] local.INFO: TCP Data received {"connection_id":204757,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:56:59] local.INFO: Processing buffer {"connection_id":204757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:56:59] local.INFO: IMEI packet received {"connection_id":204757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":204757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:57:00] local.INFO: TCP Data received {"connection_id":204757,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:57:00] local.INFO: Processing buffer {"connection_id":204757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:57:00] local.INFO: Packet analysis {"connection_id":204757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:57:00] local.INFO: Extracted packet for processing {"connection_id":204757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:57:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546034176001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791195747000,"timestamp_ms":1791195747000,"timestamp_seconds":1791195747,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9612b8"} 
[2026-10-05 15:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":3,"data_length":795,"current_offset":136} 
[2026-10-05 15:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:57: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-10-05 15:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546034176001,"66":26082,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546034176001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:57:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:57:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546034176001,"power":26082,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":204757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:57:00] local.INFO: GPS data processed {"connection_id":204757,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:57:00] local.INFO: Acknowledgment sent {"connection_id":204757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:57:08] local.INFO: TCP Data received {"connection_id":204754,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b98dd90012d7b880005ec1500000f00482b..."} 
[2026-10-05 15:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b98dd90012d7b880005ec1500000f00482b..."} 
[2026-10-05 15:57:08] local.INFO: Processing buffer {"connection_id":204754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b98dd90012d7b880005ec1500000f00482b..."} 
[2026-10-05 15:57:08] local.INFO: Packet analysis {"connection_id":204754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b98"} 
[2026-10-05 15:57:08] local.INFO: Extracted packet for processing {"connection_id":204754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b98"} 
[2026-10-05 15:57:08] local.INFO: GPS Element Parsed {"raw_longitude":763070464,"raw_latitude":99357952,"longitude_deg":76.3070464,"latitude_deg":9.9357952,"altitude":15,"angle":72,"satellites":43,"speed":34,"hex_longitude":"2d7b8800","hex_latitude":"05ec1500","is_valid_coordinates":true} 
[2026-10-05 15:57: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-10-05 15:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546155008001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139692737560576000,"note":"Value kept but may cause issues"} 
[2026-10-05 15:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891864908468742144,"note":"Value kept but may cause issues"} 
[2026-10-05 15:57:08] 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-10-05 15:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791195930000,"timestamp_ms":1791195930000,"timestamp_seconds":1791195930,"priority":1,"record_length":96,"hex_timestamp":"000001a10b98dd90"} 
[2026-10-05 15:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:57: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-10-05 15:57: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":82,"data_length":795,"current_offset":136} 
[2026-10-05 15:57:08] 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-10-05 15:57: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-10-05 15:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546155008001,"66":13928,"95":206,"87":13824,"24":34,"16":139692737560576000,"45":8891864908468742144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-10-05 15:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546155008001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:57:08] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 15:57:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139692737560576000,"km_value":139692737560576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891864908468742144,"description":"Unknown IO ID 45"} 
[2026-10-05 15:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546155008001,"power":13928,"unknown_95":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8891864908468742144}} 
[2026-10-05 15:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":204754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:57:08] local.INFO: GPS data processed {"connection_id":204754,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:57:08] local.INFO: Acknowledgment sent {"connection_id":204754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:57:32] local.INFO: TCP Data received {"connection_id":204757,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:57:32] local.INFO: Processing buffer {"connection_id":204757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:57:32] local.INFO: Packet analysis {"connection_id":204757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:57:32] local.INFO: Extracted packet for processing {"connection_id":204757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:57:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546034176001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791195747000,"timestamp_ms":1791195747000,"timestamp_seconds":1791195747,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9612b8"} 
[2026-10-05 15:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 15:57:32] 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-10-05 15: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-10-05 15:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:57: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-10-05 15:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546034176001,"66":26082,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546034176001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:57:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:57:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546034176001,"power":26082,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":204757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:57:32] local.INFO: GPS data processed {"connection_id":204757,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:57:32] local.INFO: Acknowledgment sent {"connection_id":204757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:57:33] local.INFO: TCP Data received {"connection_id":207698,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:57:33] local.INFO: Processing buffer {"connection_id":207698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:57:33] local.INFO: IMEI packet received {"connection_id":207698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":207698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:57:36] local.INFO: TCP Data received {"connection_id":207698,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:57:36] local.INFO: Processing buffer {"connection_id":207698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:57:36] local.INFO: IMEI packet received {"connection_id":207698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":207698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:57:41] local.INFO: TCP Data received {"connection_id":207698,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:57:41] local.INFO: Processing buffer {"connection_id":207698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:57:41] local.INFO: IMEI packet received {"connection_id":207698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":207698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:57:42] local.INFO: TCP Data received {"connection_id":207698,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9a8370012d7d1b4005ec3df80005005022..."} 
[2026-10-05 15:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9a8370012d7d1b4005ec3df80005005022..."} 
[2026-10-05 15:57:42] local.INFO: Processing buffer {"connection_id":207698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9a8370012d7d1b4005ec3df80005005022..."} 
[2026-10-05 15:57:42] local.INFO: Packet analysis {"connection_id":207698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 15:57:42] local.INFO: Extracted packet for processing {"connection_id":207698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 15:57:42] local.INFO: GPS Element Parsed {"raw_longitude":763173696,"raw_latitude":99368440,"longitude_deg":76.3173696,"latitude_deg":9.936844,"altitude":5,"angle":80,"satellites":34,"speed":15,"hex_longitude":"2d7d1b40","hex_latitude":"05ec3df8","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546182400001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139697719722639360,"note":"Value kept but may cause issues"} 
[2026-10-05 15:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004666005388754944,"note":"Value kept but may cause issues"} 
[2026-10-05 15:57:42] 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-10-05 15:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791196038000,"timestamp_ms":1791196038000,"timestamp_seconds":1791196038,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9a8370"} 
[2026-10-05 15:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:57: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-10-05 15: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-05 15:57:42] 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-10-05 15: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-10-05 15:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546182400001,"66":12874,"110":206,"87":13824,"24":15,"16":139697719722639360,"45":9004666005388754944},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-05 15:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546182400001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:57:42] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-05 15:57:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139697719722639360,"km_value":139697719722639.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004666005388754944,"description":"Unknown IO ID 45"} 
[2026-10-05 15:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546182400001,"power":12874,"unknown_110":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":9004666005388754944}} 
[2026-10-05 15:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":207698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:57:42] local.INFO: GPS data processed {"connection_id":207698,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:57:42] local.INFO: Acknowledgment sent {"connection_id":207698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:57:46] local.INFO: TCP Data received {"connection_id":207698,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9a8758012d7d1c4005ec3e580005004422..."} 
[2026-10-05 15:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9a8758012d7d1c4005ec3e580005004422..."} 
[2026-10-05 15:57:46] local.INFO: Processing buffer {"connection_id":207698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9a8758012d7d1c4005ec3e580005004422..."} 
[2026-10-05 15:57:46] local.INFO: Packet analysis {"connection_id":207698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 15:57:46] local.INFO: Extracted packet for processing {"connection_id":207698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 15:57:46] local.INFO: GPS Element Parsed {"raw_longitude":763173952,"raw_latitude":99368536,"longitude_deg":76.3173952,"latitude_deg":9.9368536,"altitude":5,"angle":68,"satellites":34,"speed":13,"hex_longitude":"2d7d1c40","hex_latitude":"05ec3e58","is_valid_coordinates":true} 
[2026-10-05 15:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546185728001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139697732607541248,"note":"Value kept but may cause issues"} 
[2026-10-05 15:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014869473294678016,"note":"Value kept but may cause issues"} 
[2026-10-05 15:57:46] 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-10-05 15:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791196039000,"timestamp_ms":1791196039000,"timestamp_seconds":1791196039,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9a8758"} 
[2026-10-05 15:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 15:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-10-05 15:57:46] 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-10-05 15:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":207698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":207698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":207698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546185728001,"66":12874,"110":206,"87":13824,"24":13,"16":139697732607541248,"45":9014869473294678016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-05 15:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546185728001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:57:46] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-05 15:57:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139697732607541248,"km_value":139697732607541.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014869473294678016,"description":"Unknown IO ID 45"} 
[2026-10-05 15:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546185728001,"power":12874,"unknown_110":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":9014869473294678016}} 
[2026-10-05 15:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":207698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:57:46] local.INFO: GPS data processed {"connection_id":207698,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:57:46] local.INFO: Acknowledgment sent {"connection_id":207698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:57:54] local.INFO: TCP Data received {"connection_id":204758,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:57:54] local.INFO: Processing buffer {"connection_id":204758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:57:54] local.INFO: IMEI packet received {"connection_id":204758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":204758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:57:59] local.INFO: TCP Data received {"connection_id":204758,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:57:59] local.INFO: Processing buffer {"connection_id":204758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:57:59] local.INFO: IMEI packet received {"connection_id":204758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":204758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:58:00] local.INFO: TCP Data received {"connection_id":204758,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:58:00] local.INFO: Processing buffer {"connection_id":204758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9612b8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 15:58:00] local.INFO: Packet analysis {"connection_id":204758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:58:00] local.INFO: Extracted packet for processing {"connection_id":204758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b96"} 
[2026-10-05 15:58:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546034176001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791195747000,"timestamp_ms":1791195747000,"timestamp_seconds":1791195747,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9612b8"} 
[2026-10-05 15:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 15:58:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 15: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-10-05 15:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546034176001,"66":26082,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546034176001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:58:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:58:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546034176001,"power":26082,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":204758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:58:00] local.INFO: GPS data processed {"connection_id":204758,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:58:00] local.INFO: Acknowledgment sent {"connection_id":204758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:58:27] local.INFO: TCP Data received {"connection_id":204759,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:58:27] local.INFO: Processing buffer {"connection_id":204759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:58:27] local.INFO: IMEI packet received {"connection_id":204759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":204759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:58:31] local.INFO: TCP Data received {"connection_id":204759,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:58:31] local.INFO: Processing buffer {"connection_id":204759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:58:31] local.INFO: IMEI packet received {"connection_id":204759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":204759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:58:31] local.INFO: TCP Data received {"connection_id":204758,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:58:31] local.INFO: Processing buffer {"connection_id":204758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:58:31] local.INFO: Packet analysis {"connection_id":204758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 15:58:31] local.INFO: Extracted packet for processing {"connection_id":204758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 15:58:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546111232001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791196048000,"timestamp_ms":1791196048000,"timestamp_seconds":1791196048,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9aaa80"} 
[2026-10-05 15:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-05 15:58:31] 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-10-05 15: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-10-05 15:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546111232001,"66":26071,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546111232001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:58:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:58:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546111232001,"power":26071,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":204758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:58:31] local.INFO: GPS data processed {"connection_id":204758,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:58:31] local.INFO: Acknowledgment sent {"connection_id":204758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:58:36] local.INFO: TCP Data received {"connection_id":204759,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:58:36] local.INFO: Processing buffer {"connection_id":204759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:58:36] local.INFO: IMEI packet received {"connection_id":204759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":204759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:58:37] local.INFO: TCP Data received {"connection_id":204759,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9a8b40012d7d1d8005ec3f000005002e23..."} 
[2026-10-05 15:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9a8b40012d7d1d8005ec3f000005002e23..."} 
[2026-10-05 15:58:37] local.INFO: Processing buffer {"connection_id":204759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9a8b40012d7d1d8005ec3f000005002e23..."} 
[2026-10-05 15:58:37] local.INFO: Packet analysis {"connection_id":204759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 15:58:37] local.INFO: Extracted packet for processing {"connection_id":204759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 15:58:37] local.INFO: GPS Element Parsed {"raw_longitude":763174272,"raw_latitude":99368704,"longitude_deg":76.3174272,"latitude_deg":9.9368704,"altitude":5,"angle":46,"satellites":35,"speed":12,"hex_longitude":"2d7d1d80","hex_latitude":"05ec3f00","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546185984001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139697749787410432,"note":"Value kept but may cause issues"} 
[2026-10-05 15:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015150948271413248,"note":"Value kept but may cause issues"} 
[2026-10-05 15:58:37] 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-10-05 15:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791196040000,"timestamp_ms":1791196040000,"timestamp_seconds":1791196040,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9a8b40"} 
[2026-10-05 15:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:58: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-10-05 15: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-10-05 15:58:37] 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-10-05 15: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-10-05 15:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546185984001,"66":12874,"110":206,"87":13824,"24":12,"16":139697749787410432,"45":9015150948271413248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-05 15:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546185984001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:58:37] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-05 15:58:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139697749787410432,"km_value":139697749787410.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015150948271413248,"description":"Unknown IO ID 45"} 
[2026-10-05 15:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546185984001,"power":12874,"unknown_110":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9015150948271413248}} 
[2026-10-05 15:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":204759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:58:37] local.INFO: GPS data processed {"connection_id":204759,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:58:37] local.INFO: Acknowledgment sent {"connection_id":204759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:58:54] local.INFO: TCP Data received {"connection_id":207700,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:58:54] local.INFO: Processing buffer {"connection_id":207700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:58:54] local.INFO: IMEI packet received {"connection_id":207700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":207700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:58:59] local.INFO: TCP Data received {"connection_id":207700,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:58:59] local.INFO: Processing buffer {"connection_id":207700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:58:59] local.INFO: IMEI packet received {"connection_id":207700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":207700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:59:00] local.INFO: TCP Data received {"connection_id":207700,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:59:00] local.INFO: Processing buffer {"connection_id":207700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:59:00] local.INFO: Packet analysis {"connection_id":207700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 15:59:00] local.INFO: Extracted packet for processing {"connection_id":207700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 15:59:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546111232001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791196048000,"timestamp_ms":1791196048000,"timestamp_seconds":1791196048,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9aaa80"} 
[2026-10-05 15:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-05 15:59:00] 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-10-05 15: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-10-05 15:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:59: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-10-05 15:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546111232001,"66":26071,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546111232001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:59:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:59:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546111232001,"power":26071,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":207700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:59:00] local.INFO: GPS data processed {"connection_id":207700,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:59:00] local.INFO: Acknowledgment sent {"connection_id":207700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:59:02] local.INFO: TCP Data received {"connection_id":206161,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:59:02] local.INFO: Processing buffer {"connection_id":206161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:59:02] local.INFO: IMEI packet received {"connection_id":206161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 15:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":206161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:59:08] local.INFO: TCP Data received {"connection_id":204759,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9a8f28012d7d1dc005ec3ff80004000c24..."} 
[2026-10-05 15:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9a8f28012d7d1dc005ec3ff80004000c24..."} 
[2026-10-05 15:59:08] local.INFO: Processing buffer {"connection_id":204759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9a8f28012d7d1dc005ec3ff80004000c24..."} 
[2026-10-05 15:59:08] local.INFO: Packet analysis {"connection_id":204759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 15:59:08] local.INFO: Extracted packet for processing {"connection_id":204759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 15:59:08] local.INFO: GPS Element Parsed {"raw_longitude":763174336,"raw_latitude":99368952,"longitude_deg":76.3174336,"latitude_deg":9.9368952,"altitude":4,"angle":12,"satellites":36,"speed":11,"hex_longitude":"2d7d1dc0","hex_latitude":"05ec3ff8","is_valid_coordinates":true} 
[2026-10-05 15:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 15:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546186240001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139697762672312320,"note":"Value kept but may cause issues"} 
[2026-10-05 15:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015502791992344576,"note":"Value kept but may cause issues"} 
[2026-10-05 15:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791196041000,"timestamp_ms":1791196041000,"timestamp_seconds":1791196041,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9a8f28"} 
[2026-10-05 15:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:59: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-10-05 15:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-10-05 15:59:08] 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-10-05 15:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 15:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 15:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 15:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 15:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 15:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546186240001,"66":13765,"110":206,"87":13824,"24":11,"16":139697762672312320,"45":9015502791992344576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-05 15:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 15:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 15:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546186240001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:59:08] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-05 15:59:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 15:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139697762672312320,"km_value":139697762672312.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015502791992344576,"description":"Unknown IO ID 45"} 
[2026-10-05 15:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546186240001,"power":13765,"unknown_110":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9015502791992344576}} 
[2026-10-05 15:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":204759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:59:08] local.INFO: GPS data processed {"connection_id":204759,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:59:08] local.INFO: Acknowledgment sent {"connection_id":204759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:59:28] local.INFO: TCP Data received {"connection_id":204629,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:59:28] local.INFO: Processing buffer {"connection_id":204629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:59:28] local.INFO: IMEI packet received {"connection_id":204629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 15:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":204629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:59:29] local.INFO: TCP Data received {"connection_id":204629,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:59:29] local.INFO: Processing buffer {"connection_id":204629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:59:29] local.INFO: IMEI packet received {"connection_id":204629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":204629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:59:30] local.INFO: TCP Data received {"connection_id":204629,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:59:30] local.INFO: Processing buffer {"connection_id":204629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:59:30] local.INFO: IMEI packet received {"connection_id":204629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":204629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:59:31] local.INFO: TCP Data received {"connection_id":207700,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:59:31] local.INFO: Processing buffer {"connection_id":207700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 15:59:31] local.INFO: Packet analysis {"connection_id":207700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 15:59:31] local.INFO: Extracted packet for processing {"connection_id":207700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 15:59:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 15: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-10-05 15:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546111232001,"note":"Value kept but may cause issues"} 
[2026-10-05 15:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 15:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 15:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 15:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791196048000,"timestamp_ms":1791196048000,"timestamp_seconds":1791196048,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9aaa80"} 
[2026-10-05 15:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 15:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 15: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-05 15:59:31] 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-10-05 15: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-10-05 15:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 15:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 15:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 15:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 15:59: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-10-05 15:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 15:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 15:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546111232001,"66":26071,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 15:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 15:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 15:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546111232001,"description":"Unknown IO ID 0"} 
[2026-10-05 15:59:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 15:59:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 15:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 15:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 15:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546111232001,"power":26071,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 15:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":207700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 15:59:32] local.INFO: GPS data processed {"connection_id":207700,"processed":1,"errors":0,"total":1} 
[2026-10-05 15:59:32] local.INFO: Acknowledgment sent {"connection_id":207700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 15:59:32] local.INFO: TCP Data received {"connection_id":204629,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:59:32] local.INFO: Processing buffer {"connection_id":204629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 15:59:32] local.INFO: IMEI packet received {"connection_id":204629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 15:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":204629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:59:34] local.INFO: TCP Data received {"connection_id":204630,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204630,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:59:34] local.INFO: Processing buffer {"connection_id":204630,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 15:59:34] local.INFO: IMEI packet received {"connection_id":204630,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 15:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":204630,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:59:46] local.INFO: TCP Data received {"connection_id":207701,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207701,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:59:46] local.INFO: Processing buffer {"connection_id":207701,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:59:46] local.INFO: IMEI packet received {"connection_id":207701,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 15:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":207701,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:59:46] local.INFO: TCP Data received {"connection_id":207701,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207701,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:59:46] local.INFO: Processing buffer {"connection_id":207701,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:59:46] local.INFO: IMEI packet received {"connection_id":207701,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 15:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":207701,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:59:47] local.INFO: TCP Data received {"connection_id":207701,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207701,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:59:47] local.INFO: Processing buffer {"connection_id":207701,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:59:47] local.INFO: IMEI packet received {"connection_id":207701,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 15:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":207701,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:59:48] local.INFO: TCP Data received {"connection_id":207701,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207701,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:59:48] local.INFO: Processing buffer {"connection_id":207701,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 15:59:48] local.INFO: IMEI packet received {"connection_id":207701,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 15:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":207701,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 15:59:54] local.INFO: TCP Data received {"connection_id":204631,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:59:54] local.INFO: Processing buffer {"connection_id":204631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:59:54] local.INFO: IMEI packet received {"connection_id":204631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 15:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":204631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 15:59:59] local.INFO: TCP Data received {"connection_id":204631,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:59:59] local.INFO: Processing buffer {"connection_id":204631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 15:59:59] local.INFO: IMEI packet received {"connection_id":204631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 15:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":204631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:00:00] local.INFO: TCP Data received {"connection_id":204631,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:00:00] local.INFO: Processing buffer {"connection_id":204631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:00:00] local.INFO: Packet analysis {"connection_id":204631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 16:00:00] local.INFO: Extracted packet for processing {"connection_id":204631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 16:00:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546111232001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791196048000,"timestamp_ms":1791196048000,"timestamp_seconds":1791196048,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9aaa80"} 
[2026-10-05 16:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-05 16:00:00] 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-10-05 16: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-10-05 16:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:00: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-10-05 16:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546111232001,"66":26071,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546111232001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:00:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:00:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546111232001,"power":26071,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":204631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:00:00] local.INFO: GPS data processed {"connection_id":204631,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:00:00] local.INFO: Acknowledgment sent {"connection_id":204631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:00:33] local.INFO: TCP Data received {"connection_id":204631,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:00:33] local.INFO: Processing buffer {"connection_id":204631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:00:33] local.INFO: Packet analysis {"connection_id":204631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 16:00:33] local.INFO: Extracted packet for processing {"connection_id":204631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 16:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546111232001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791196048000,"timestamp_ms":1791196048000,"timestamp_seconds":1791196048,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9aaa80"} 
[2026-10-05 16:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-05 16:00:33] 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-10-05 16:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:00: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-10-05 16:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546111232001,"66":26071,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546111232001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:00:33] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:00:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546111232001,"power":26071,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":204631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:00:33] local.INFO: GPS data processed {"connection_id":204631,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:00:33] local.INFO: Acknowledgment sent {"connection_id":204631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:00:54] local.INFO: TCP Data received {"connection_id":206164,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:00:54] local.INFO: Processing buffer {"connection_id":206164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:00:54] local.INFO: IMEI packet received {"connection_id":206164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":206164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:00:59] local.INFO: TCP Data received {"connection_id":206164,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:00:59] local.INFO: Processing buffer {"connection_id":206164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:00:59] local.INFO: IMEI packet received {"connection_id":206164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":206164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:01:00] local.INFO: TCP Data received {"connection_id":206164,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:01:00] local.INFO: Processing buffer {"connection_id":206164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:01:00] local.INFO: Packet analysis {"connection_id":206164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 16:01:00] local.INFO: Extracted packet for processing {"connection_id":206164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 16:01:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546111232001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791196048000,"timestamp_ms":1791196048000,"timestamp_seconds":1791196048,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9aaa80"} 
[2026-10-05 16:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-05 16:01:00] 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-10-05 16: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-10-05 16:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:01: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-10-05 16:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546111232001,"66":26071,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546111232001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:01:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:01:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546111232001,"power":26071,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":206164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:01:00] local.INFO: GPS data processed {"connection_id":206164,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:01:00] local.INFO: Acknowledgment sent {"connection_id":206164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:01:32] local.INFO: TCP Data received {"connection_id":206164,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:01:32] local.INFO: Processing buffer {"connection_id":206164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:01:32] local.INFO: Packet analysis {"connection_id":206164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 16:01:32] local.INFO: Extracted packet for processing {"connection_id":206164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 16:01:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546111232001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791196048000,"timestamp_ms":1791196048000,"timestamp_seconds":1791196048,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9aaa80"} 
[2026-10-05 16:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-05 16:01:32] 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-10-05 16:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:01: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-10-05 16:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546111232001,"66":26071,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546111232001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:01:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:01:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546111232001,"power":26071,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":206164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:01:32] local.INFO: GPS data processed {"connection_id":206164,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:01:32] local.INFO: Acknowledgment sent {"connection_id":206164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:01:59] local.INFO: TCP Data received {"connection_id":204633,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:01:59] local.INFO: Processing buffer {"connection_id":204633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:01:59] local.INFO: IMEI packet received {"connection_id":204633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":204633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:02:04] local.INFO: TCP Data received {"connection_id":204633,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:02:04] local.INFO: Processing buffer {"connection_id":204633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:02:04] local.INFO: IMEI packet received {"connection_id":204633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":204633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:02:05] local.INFO: TCP Data received {"connection_id":204633,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:02:05] local.INFO: Processing buffer {"connection_id":204633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:02:05] local.INFO: Packet analysis {"connection_id":204633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 16:02:05] local.INFO: Extracted packet for processing {"connection_id":204633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 16:02:05] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546111232001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791196048000,"timestamp_ms":1791196048000,"timestamp_seconds":1791196048,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9aaa80"} 
[2026-10-05 16:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:02: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-10-05 16:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-05 16:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:02: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-10-05 16:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546111232001,"66":26071,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546111232001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:02:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:02:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546111232001,"power":26071,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":204633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:02:05] local.INFO: GPS data processed {"connection_id":204633,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:02:05] local.INFO: Acknowledgment sent {"connection_id":204633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:02:10] local.INFO: TCP Data received {"connection_id":204633,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:02:10] local.INFO: Processing buffer {"connection_id":204633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:02:10] local.INFO: Packet analysis {"connection_id":204633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 16:02:10] local.INFO: Extracted packet for processing {"connection_id":204633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 16:02:10] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546111232001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791196048000,"timestamp_ms":1791196048000,"timestamp_seconds":1791196048,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9aaa80"} 
[2026-10-05 16:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-05 16:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546111232001,"66":26071,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546111232001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:02:10] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:02:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546111232001,"power":26071,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":204633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:02:10] local.INFO: GPS data processed {"connection_id":204633,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:02:10] local.INFO: Acknowledgment sent {"connection_id":204633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:02:54] local.INFO: TCP Data received {"connection_id":206169,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:02:54] local.INFO: Processing buffer {"connection_id":206169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:02:54] local.INFO: IMEI packet received {"connection_id":206169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":206169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:02:59] local.INFO: TCP Data received {"connection_id":206169,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:02:59] local.INFO: Processing buffer {"connection_id":206169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:02:59] local.INFO: IMEI packet received {"connection_id":206169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":206169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:03:00] local.INFO: TCP Data received {"connection_id":206169,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:03:00] local.INFO: Processing buffer {"connection_id":206169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9aaa80012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:03:00] local.INFO: Packet analysis {"connection_id":206169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 16:03:00] local.INFO: Extracted packet for processing {"connection_id":206169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b9a"} 
[2026-10-05 16:03:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546111232001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791196048000,"timestamp_ms":1791196048000,"timestamp_seconds":1791196048,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9aaa80"} 
[2026-10-05 16:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-05 16:03:00] 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-10-05 16: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-10-05 16:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:03: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-10-05 16:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546111232001,"66":26071,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546111232001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:03:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:03:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546111232001,"power":26071,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":206169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:03:00] local.INFO: GPS data processed {"connection_id":206169,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:03:00] local.INFO: Acknowledgment sent {"connection_id":206169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:03:31] local.INFO: TCP Data received {"connection_id":206169,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:03:31] local.INFO: Processing buffer {"connection_id":206169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:03:31] local.INFO: Packet analysis {"connection_id":206169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b9f"} 
[2026-10-05 16:03:31] local.INFO: Extracted packet for processing {"connection_id":206169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b9f"} 
[2026-10-05 16:03:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":49,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546188288001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791196349000,"timestamp_ms":1791196349000,"timestamp_seconds":1791196349,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9f4248"} 
[2026-10-05 16:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-10-05 16:03:31] 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-10-05 16: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-10-05 16:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:03: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-10-05 16:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546188288001,"66":26060,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546188288001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:03:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:03:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546188288001,"power":26060,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":206169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:03:31] local.INFO: GPS data processed {"connection_id":206169,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:03:31] local.INFO: Acknowledgment sent {"connection_id":206169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:03:54] local.INFO: TCP Data received {"connection_id":204763,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:03:54] local.INFO: Processing buffer {"connection_id":204763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:03:54] local.INFO: IMEI packet received {"connection_id":204763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":204763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:03:59] local.INFO: TCP Data received {"connection_id":204763,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:03:59] local.INFO: Processing buffer {"connection_id":204763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:03:59] local.INFO: IMEI packet received {"connection_id":204763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":204763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:04:05] local.INFO: TCP Data received {"connection_id":204763,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:04:05] local.INFO: Processing buffer {"connection_id":204763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:04:05] local.INFO: Packet analysis {"connection_id":204763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b9f"} 
[2026-10-05 16:04:05] local.INFO: Extracted packet for processing {"connection_id":204763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b9f"} 
[2026-10-05 16:04:05] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":49,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546188288001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791196349000,"timestamp_ms":1791196349000,"timestamp_seconds":1791196349,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9f4248"} 
[2026-10-05 16:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-10-05 16:04:05] 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-10-05 16: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-10-05 16:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:04: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-10-05 16:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546188288001,"66":26060,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546188288001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:04:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:04:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546188288001,"power":26060,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":204763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:04:05] local.INFO: GPS data processed {"connection_id":204763,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:04:05] local.INFO: Acknowledgment sent {"connection_id":204763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:04:36] local.INFO: TCP Data received {"connection_id":204635,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:04:36] local.INFO: Processing buffer {"connection_id":204635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:04:36] local.INFO: IMEI packet received {"connection_id":204635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":204635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:04:36] local.INFO: TCP Data received {"connection_id":204763,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:04:36] local.INFO: Processing buffer {"connection_id":204763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:04:36] local.INFO: Packet analysis {"connection_id":204763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b9f"} 
[2026-10-05 16:04:36] local.INFO: Extracted packet for processing {"connection_id":204763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b9f"} 
[2026-10-05 16:04:36] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":49,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546188288001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791196349000,"timestamp_ms":1791196349000,"timestamp_seconds":1791196349,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9f4248"} 
[2026-10-05 16:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-10-05 16:04:36] 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-10-05 16: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-10-05 16:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546188288001,"66":26060,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546188288001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:04:36] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:04:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546188288001,"power":26060,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":204763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:04:36] local.INFO: GPS data processed {"connection_id":204763,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:04:36] local.INFO: Acknowledgment sent {"connection_id":204763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:04:37] local.INFO: TCP Data received {"connection_id":204635,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba04fd0012d7c7a8005ead0a00007004a24..."} 
[2026-10-05 16:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba04fd0012d7c7a8005ead0a00007004a24..."} 
[2026-10-05 16:04:37] local.INFO: Processing buffer {"connection_id":204635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba04fd0012d7c7a8005ead0a00007004a24..."} 
[2026-10-05 16:04:37] local.INFO: Packet analysis {"connection_id":204635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba0"} 
[2026-10-05 16:04:37] local.INFO: Extracted packet for processing {"connection_id":204635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba0"} 
[2026-10-05 16:04:37] local.INFO: GPS Element Parsed {"raw_longitude":763132544,"raw_latitude":99274912,"longitude_deg":76.3132544,"latitude_deg":9.9274912,"altitude":7,"angle":74,"satellites":36,"speed":11,"hex_longitude":"2d7c7a80","hex_latitude":"05ead0a0","is_valid_coordinates":true} 
[2026-10-05 16:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546281472001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139707069866442752,"note":"Value kept but may cause issues"} 
[2026-10-05 16:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969270527043573760,"note":"Value kept but may cause issues"} 
[2026-10-05 16:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791196418000,"timestamp_ms":1791196418000,"timestamp_seconds":1791196418,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba04fd0"} 
[2026-10-05 16:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:04: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-10-05 16:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-10-05 16:04:37] 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-10-05 16:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546281472001,"66":13450,"8":206,"87":13824,"24":11,"16":139707069866442752,"45":8969270527043573760},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-10-05 16:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546281472001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:04:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-10-05 16:04:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139707069866442752,"km_value":139707069866442.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969270527043573760,"description":"Unknown IO ID 45"} 
[2026-10-05 16:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546281472001,"power":13450,"unknown_8":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8969270527043573760}} 
[2026-10-05 16:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":204635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:04:37] local.INFO: GPS data processed {"connection_id":204635,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:04:37] local.INFO: Acknowledgment sent {"connection_id":204635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:04:54] local.INFO: TCP Data received {"connection_id":204636,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:04:54] local.INFO: Processing buffer {"connection_id":204636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:04:54] local.INFO: IMEI packet received {"connection_id":204636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":204636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:04:59] local.INFO: TCP Data received {"connection_id":204636,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:04:59] local.INFO: Processing buffer {"connection_id":204636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:04:59] local.INFO: IMEI packet received {"connection_id":204636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":204636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:05:00] local.INFO: TCP Data received {"connection_id":204636,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:05:00] local.INFO: Processing buffer {"connection_id":204636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:05:00] local.INFO: Packet analysis {"connection_id":204636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b9f"} 
[2026-10-05 16:05:00] local.INFO: Extracted packet for processing {"connection_id":204636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b9f"} 
[2026-10-05 16:05:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":49,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546188288001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791196349000,"timestamp_ms":1791196349000,"timestamp_seconds":1791196349,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9f4248"} 
[2026-10-05 16:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-10-05 16:05: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-10-05 16: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-10-05 16:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:05: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-10-05 16:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546188288001,"66":26060,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546188288001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:05:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:05:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546188288001,"power":26060,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":204636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:05:00] local.INFO: GPS data processed {"connection_id":204636,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:05:00] local.INFO: Acknowledgment sent {"connection_id":204636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:05:04] local.INFO: TCP Data received {"connection_id":207703,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:05:04] local.INFO: Processing buffer {"connection_id":207703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:05:04] local.INFO: IMEI packet received {"connection_id":207703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 16:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":207703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:05:08] local.INFO: TCP Data received {"connection_id":204635,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba06358012d7c7dc005ead2100006003b25..."} 
[2026-10-05 16:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba06358012d7c7dc005ead2100006003b25..."} 
[2026-10-05 16:05:08] local.INFO: Processing buffer {"connection_id":204635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba06358012d7c7dc005ead2100006003b25..."} 
[2026-10-05 16:05:08] local.INFO: Packet analysis {"connection_id":204635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba0"} 
[2026-10-05 16:05:08] local.INFO: Extracted packet for processing {"connection_id":204635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba0"} 
[2026-10-05 16:05:08] local.INFO: GPS Element Parsed {"raw_longitude":763133376,"raw_latitude":99275280,"longitude_deg":76.3133376,"latitude_deg":9.927528,"altitude":6,"angle":59,"satellites":37,"speed":7,"hex_longitude":"2d7c7dc0","hex_latitude":"05ead210","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546283008001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139707112816115712,"note":"Value kept but may cause issues"} 
[2026-10-05 16:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969622370764496896,"note":"Value kept but may cause issues"} 
[2026-10-05 16:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791196423000,"timestamp_ms":1791196423000,"timestamp_seconds":1791196423,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba06358"} 
[2026-10-05 16:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:05: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-10-05 16: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 16:05:08] 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-10-05 16: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-10-05 16:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546283008001,"66":14070,"8":206,"87":13824,"24":7,"16":139707112816115712,"45":8969622370764496896},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-10-05 16:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546283008001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:05:08] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-10-05 16:05:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139707112816115712,"km_value":139707112816115.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969622370764496896,"description":"Unknown IO ID 45"} 
[2026-10-05 16:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546283008001,"power":14070,"unknown_8":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8969622370764496896}} 
[2026-10-05 16:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":204635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:05:08] local.INFO: GPS data processed {"connection_id":204635,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:05:08] local.INFO: Acknowledgment sent {"connection_id":204635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:05:31] local.INFO: TCP Data received {"connection_id":207704,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:05:31] local.INFO: Processing buffer {"connection_id":207704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:05:31] local.INFO: IMEI packet received {"connection_id":207704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":207704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:05:32] local.INFO: TCP Data received {"connection_id":204636,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:05:32] local.INFO: Processing buffer {"connection_id":204636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:05:32] local.INFO: Packet analysis {"connection_id":204636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b9f"} 
[2026-10-05 16:05:32] local.INFO: Extracted packet for processing {"connection_id":204636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b9f"} 
[2026-10-05 16:05:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":49,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:05: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-10-05 16:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546188288001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791196349000,"timestamp_ms":1791196349000,"timestamp_seconds":1791196349,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9f4248"} 
[2026-10-05 16:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-10-05 16:05:32] 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-10-05 16:05: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-10-05 16:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:05: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-10-05 16:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546188288001,"66":26060,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546188288001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:05:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:05:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546188288001,"power":26060,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":204636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:05:32] local.INFO: GPS data processed {"connection_id":204636,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:05:32] local.INFO: Acknowledgment sent {"connection_id":204636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:05:34] local.INFO: TCP Data received {"connection_id":206170,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206170,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:05:34] local.INFO: Processing buffer {"connection_id":206170,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:05:34] local.INFO: IMEI packet received {"connection_id":206170,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 16:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":206170,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:05:36] local.INFO: TCP Data received {"connection_id":207704,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:05:36] local.INFO: Processing buffer {"connection_id":207704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:05:36] local.INFO: IMEI packet received {"connection_id":207704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":207704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:05:37] local.INFO: TCP Data received {"connection_id":207704,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba08680012d7c8ec005ead9c80005004a24..."} 
[2026-10-05 16:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba08680012d7c8ec005ead9c80005004a24..."} 
[2026-10-05 16:05:37] local.INFO: Processing buffer {"connection_id":207704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba08680012d7c8ec005ead9c80005004a24..."} 
[2026-10-05 16:05:37] local.INFO: Packet analysis {"connection_id":207704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba0"} 
[2026-10-05 16:05:37] local.INFO: Extracted packet for processing {"connection_id":207704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba0"} 
[2026-10-05 16:05:37] local.INFO: GPS Element Parsed {"raw_longitude":763137728,"raw_latitude":99277256,"longitude_deg":76.3137728,"latitude_deg":9.9277256,"altitude":5,"angle":74,"satellites":36,"speed":27,"hex_longitude":"2d7c8ec0","hex_latitude":"05ead9c8","is_valid_coordinates":true} 
[2026-10-05 16:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546284288001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139707340449382400,"note":"Value kept but may cause issues"} 
[2026-10-05 16:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970537164438900736,"note":"Value kept but may cause issues"} 
[2026-10-05 16:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791196432000,"timestamp_ms":1791196432000,"timestamp_seconds":1791196432,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba08680"} 
[2026-10-05 16:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:05: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-10-05 16:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 16:05: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-10-05 16:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546284288001,"66":13896,"8":206,"87":13824,"24":27,"16":139707340449382400,"45":8970537164438900736},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-10-05 16:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546284288001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:05:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-10-05 16:05:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139707340449382400,"km_value":139707340449382.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970537164438900736,"description":"Unknown IO ID 45"} 
[2026-10-05 16:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546284288001,"power":13896,"unknown_8":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8970537164438900736}} 
[2026-10-05 16:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":207704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:05:37] local.INFO: GPS data processed {"connection_id":207704,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:05:37] local.INFO: Acknowledgment sent {"connection_id":207704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:05:59] local.INFO: TCP Data received {"connection_id":204764,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:05:59] local.INFO: Processing buffer {"connection_id":204764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:05:59] local.INFO: IMEI packet received {"connection_id":204764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":204764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:06:04] local.INFO: TCP Data received {"connection_id":204764,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:06:04] local.INFO: Processing buffer {"connection_id":204764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:06:04] local.INFO: IMEI packet received {"connection_id":204764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":204764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:06:05] local.INFO: TCP Data received {"connection_id":204764,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:06:05] local.INFO: Processing buffer {"connection_id":204764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:06:05] local.INFO: Packet analysis {"connection_id":204764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b9f"} 
[2026-10-05 16:06:05] local.INFO: Extracted packet for processing {"connection_id":204764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b9f"} 
[2026-10-05 16:06:05] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":49,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546188288001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791196349000,"timestamp_ms":1791196349000,"timestamp_seconds":1791196349,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9f4248"} 
[2026-10-05 16:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:06: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-10-05 16:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-10-05 16:06:05] 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-10-05 16:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:06: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-10-05 16:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546188288001,"66":26060,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546188288001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:06:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:06:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546188288001,"power":26060,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":204764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:06:05] local.INFO: GPS data processed {"connection_id":204764,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:06:05] local.INFO: Acknowledgment sent {"connection_id":204764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:06:08] local.INFO: TCP Data received {"connection_id":207704,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba24ba0012d7d030005eaf100000c004426..."} 
[2026-10-05 16:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba24ba0012d7d030005eaf100000c004426..."} 
[2026-10-05 16:06:08] local.INFO: Processing buffer {"connection_id":207704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba24ba0012d7d030005eaf100000c004426..."} 
[2026-10-05 16:06:08] local.INFO: Packet analysis {"connection_id":207704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba2"} 
[2026-10-05 16:06:08] local.INFO: Extracted packet for processing {"connection_id":207704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba2"} 
[2026-10-05 16:06:08] local.INFO: GPS Element Parsed {"raw_longitude":763167488,"raw_latitude":99283200,"longitude_deg":76.3167488,"latitude_deg":9.92832,"altitude":12,"angle":68,"satellites":38,"speed":6,"hex_longitude":"2d7d0300","hex_latitude":"05eaf100","is_valid_coordinates":true} 
[2026-10-05 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-10-05 16:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546313728001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139708809328197632,"note":"Value kept but may cause issues"} 
[2026-10-05 16:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004103055413479424,"note":"Value kept but may cause issues"} 
[2026-10-05 16:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791196548000,"timestamp_ms":1791196548000,"timestamp_seconds":1791196548,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba24ba0"} 
[2026-10-05 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-10-05 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-10-05 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 16:06:08] 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-10-05 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-10-05 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-10-05 16:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546313728001,"66":13472,"158":206,"87":13824,"24":6,"16":139708809328197632,"45":9004103055413479424},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-10-05 16:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546313728001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:06:08] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-10-05 16:06:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139708809328197632,"km_value":139708809328197.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004103055413479424,"description":"Unknown IO ID 45"} 
[2026-10-05 16:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546313728001,"power":13472,"unknown_158":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9004103055413479424}} 
[2026-10-05 16:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":207704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:06:08] local.INFO: GPS data processed {"connection_id":207704,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:06:08] local.INFO: Acknowledgment sent {"connection_id":207704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:06:10] local.INFO: TCP Data received {"connection_id":204764,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:06:10] local.INFO: Processing buffer {"connection_id":204764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:06:10] local.INFO: Packet analysis {"connection_id":204764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b9f"} 
[2026-10-05 16:06:10] local.INFO: Extracted packet for processing {"connection_id":204764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b9f"} 
[2026-10-05 16:06:10] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":49,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546188288001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791196349000,"timestamp_ms":1791196349000,"timestamp_seconds":1791196349,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9f4248"} 
[2026-10-05 16:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-10-05 16:06:10] 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-10-05 16:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546188288001,"66":26060,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546188288001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:06:10] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:06:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546188288001,"power":26060,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":204764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:06:10] local.INFO: GPS data processed {"connection_id":204764,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:06:10] local.INFO: Acknowledgment sent {"connection_id":204764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:06:31] local.INFO: TCP Data received {"connection_id":204765,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:06:31] local.INFO: Processing buffer {"connection_id":204765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:06:31] local.INFO: IMEI packet received {"connection_id":204765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":204765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:06:36] local.INFO: TCP Data received {"connection_id":204765,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:06:36] local.INFO: Processing buffer {"connection_id":204765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:06:36] local.INFO: IMEI packet received {"connection_id":204765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":204765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:06:37] local.INFO: TCP Data received {"connection_id":204765,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba27698012d7d058005eaf258000c003729..."} 
[2026-10-05 16:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba27698012d7d058005eaf258000c003729..."} 
[2026-10-05 16:06:37] local.INFO: Processing buffer {"connection_id":204765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba27698012d7d058005eaf258000c003729..."} 
[2026-10-05 16:06:37] local.INFO: Packet analysis {"connection_id":204765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba2"} 
[2026-10-05 16:06:37] local.INFO: Extracted packet for processing {"connection_id":204765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba2"} 
[2026-10-05 16:06:37] local.INFO: GPS Element Parsed {"raw_longitude":763168128,"raw_latitude":99283544,"longitude_deg":76.3168128,"latitude_deg":9.9283544,"altitude":12,"angle":55,"satellites":41,"speed":9,"hex_longitude":"2d7d0580","hex_latitude":"05eaf258","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546316288001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139708843687936000,"note":"Value kept but may cause issues"} 
[2026-10-05 16:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008043705087623168,"note":"Value kept but may cause issues"} 
[2026-10-05 16:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791196559000,"timestamp_ms":1791196559000,"timestamp_seconds":1791196559,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba27698"} 
[2026-10-05 16:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:06: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-10-05 16: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-10-05 16:06:37] 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-10-05 16:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546316288001,"66":13722,"158":206,"87":13824,"24":9,"16":139708843687936000,"45":9008043705087623168},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-10-05 16:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546316288001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:06:37] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-10-05 16:06:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139708843687936000,"km_value":139708843687936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008043705087623168,"description":"Unknown IO ID 45"} 
[2026-10-05 16:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546316288001,"power":13722,"unknown_158":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9008043705087623168}} 
[2026-10-05 16:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":204765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:06:37] local.INFO: GPS data processed {"connection_id":204765,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:06:37] local.INFO: Acknowledgment sent {"connection_id":204765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:06:54] local.INFO: TCP Data received {"connection_id":204638,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:06:54] local.INFO: Processing buffer {"connection_id":204638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:06:54] local.INFO: IMEI packet received {"connection_id":204638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":204638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:06:59] local.INFO: TCP Data received {"connection_id":204638,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:06:59] local.INFO: Processing buffer {"connection_id":204638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:06:59] local.INFO: IMEI packet received {"connection_id":204638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":204638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:07:00] local.INFO: TCP Data received {"connection_id":204638,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:07:00] local.INFO: Processing buffer {"connection_id":204638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:07:00] local.INFO: Packet analysis {"connection_id":204638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b9f"} 
[2026-10-05 16:07:00] local.INFO: Extracted packet for processing {"connection_id":204638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b9f"} 
[2026-10-05 16:07:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":49,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 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-10-05 16:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546188288001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791196349000,"timestamp_ms":1791196349000,"timestamp_seconds":1791196349,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9f4248"} 
[2026-10-05 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-10-05 16:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":215,"data_length":795,"current_offset":136} 
[2026-10-05 16:07: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-10-05 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-10-05 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-10-05 16:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:07: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-10-05 16:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546188288001,"66":26060,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546188288001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:07:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:07:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546188288001,"power":26060,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":204638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:07:00] local.INFO: GPS data processed {"connection_id":204638,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:07:00] local.INFO: Acknowledgment sent {"connection_id":204638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:07:09] local.INFO: TCP Data received {"connection_id":204765,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba28e08012d7d0dc005eaf748000d00442a..."} 
[2026-10-05 16:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba28e08012d7d0dc005eaf748000d00442a..."} 
[2026-10-05 16:07:09] local.INFO: Processing buffer {"connection_id":204765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba28e08012d7d0dc005eaf748000d00442a..."} 
[2026-10-05 16:07:09] local.INFO: Packet analysis {"connection_id":204765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba2"} 
[2026-10-05 16:07:09] local.INFO: Extracted packet for processing {"connection_id":204765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba2"} 
[2026-10-05 16:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763170240,"raw_latitude":99284808,"longitude_deg":76.317024,"latitude_deg":9.9284808,"altitude":13,"angle":68,"satellites":42,"speed":17,"hex_longitude":"2d7d0dc0","hex_latitude":"05eaf748","is_valid_coordinates":true} 
[2026-10-05 16:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546319104001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139708963947020288,"note":"Value kept but may cause issues"} 
[2026-10-05 16:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008747392529487872,"note":"Value kept but may cause issues"} 
[2026-10-05 16:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791196565000,"timestamp_ms":1791196565000,"timestamp_seconds":1791196565,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba28e08"} 
[2026-10-05 16:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:07: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-10-05 16:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-10-05 16:07:09] 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-10-05 16:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546319104001,"66":13656,"158":206,"87":13824,"24":17,"16":139708963947020288,"45":9008747392529487872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-10-05 16:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546319104001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:07:09] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-10-05 16:07:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139708963947020288,"km_value":139708963947020.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008747392529487872,"description":"Unknown IO ID 45"} 
[2026-10-05 16:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546319104001,"power":13656,"unknown_158":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":9008747392529487872}} 
[2026-10-05 16:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":204765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:07:09] local.INFO: GPS data processed {"connection_id":204765,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:07:09] local.INFO: Acknowledgment sent {"connection_id":204765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:07:27] local.INFO: TCP Data received {"connection_id":204639,"ip":"117.224.119.197","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204639,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:07:27] local.INFO: Processing buffer {"connection_id":204639,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:07:27] local.INFO: IMEI packet received {"connection_id":204639,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 16:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":204639,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:07:29] local.INFO: TCP Data received {"connection_id":204639,"ip":"117.224.119.197","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-05 16:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204639,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-05 16:07:29] local.INFO: Processing buffer {"connection_id":204639,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-05 16:07:29] local.INFO: IMEI packet received {"connection_id":204639,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":204639,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:07:31] local.INFO: TCP Data received {"connection_id":206171,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:07:31] local.INFO: Processing buffer {"connection_id":206171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:07:31] local.INFO: IMEI packet received {"connection_id":206171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":206171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:07:31] local.INFO: TCP Data received {"connection_id":204638,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:07:31] local.INFO: Processing buffer {"connection_id":204638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:07:31] local.INFO: Packet analysis {"connection_id":204638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b9f"} 
[2026-10-05 16:07:31] local.INFO: Extracted packet for processing {"connection_id":204638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b9f"} 
[2026-10-05 16:07:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":49,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546188288001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791196349000,"timestamp_ms":1791196349000,"timestamp_seconds":1791196349,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9f4248"} 
[2026-10-05 16:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-10-05 16:07:31] 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-10-05 16:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:07: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-10-05 16:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546188288001,"66":26060,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546188288001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:07:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:07:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546188288001,"power":26060,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":204638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:07:31] local.INFO: GPS data processed {"connection_id":204638,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:07:31] local.INFO: Acknowledgment sent {"connection_id":204638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:07:36] local.INFO: TCP Data received {"connection_id":206171,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:07:36] local.INFO: Processing buffer {"connection_id":206171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:07:36] local.INFO: IMEI packet received {"connection_id":206171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":206171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:07:37] local.INFO: TCP Data received {"connection_id":206171,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba2c4b8012d7d204005eafe38000a00612b..."} 
[2026-10-05 16:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba2c4b8012d7d204005eafe38000a00612b..."} 
[2026-10-05 16:07:37] local.INFO: Processing buffer {"connection_id":206171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba2c4b8012d7d204005eafe38000a00612b..."} 
[2026-10-05 16:07:37] local.INFO: Packet analysis {"connection_id":206171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba2"} 
[2026-10-05 16:07:37] local.INFO: Extracted packet for processing {"connection_id":206171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba2"} 
[2026-10-05 16:07:37] local.INFO: GPS Element Parsed {"raw_longitude":763174976,"raw_latitude":99286584,"longitude_deg":76.3174976,"latitude_deg":9.9286584,"altitude":10,"angle":97,"satellites":43,"speed":6,"hex_longitude":"2d7d2040","hex_latitude":"05eafe38","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546320640001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139709204465188864,"note":"Value kept but may cause issues"} 
[2026-10-05 16:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011069561087674368,"note":"Value kept but may cause issues"} 
[2026-10-05 16:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791196579000,"timestamp_ms":1791196579000,"timestamp_seconds":1791196579,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba2c4b8"} 
[2026-10-05 16:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:07: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-10-05 16: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-05 16:07:37] 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-10-05 16: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-10-05 16:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546320640001,"66":13319,"158":206,"87":13824,"24":6,"16":139709204465188864,"45":9011069561087674368},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-10-05 16:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546320640001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:07:37] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-10-05 16:07:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139709204465188864,"km_value":139709204465188.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011069561087674368,"description":"Unknown IO ID 45"} 
[2026-10-05 16:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546320640001,"power":13319,"unknown_158":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9011069561087674368}} 
[2026-10-05 16:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":206171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:07:38] local.INFO: GPS data processed {"connection_id":206171,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:07:38] local.INFO: Acknowledgment sent {"connection_id":206171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:07:53] local.INFO: TCP Data received {"connection_id":204640,"ip":"117.224.119.197","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204640,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:07:53] local.INFO: Processing buffer {"connection_id":204640,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:07:53] local.INFO: IMEI packet received {"connection_id":204640,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 16:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":204640,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:07:54] local.INFO: TCP Data received {"connection_id":204766,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:07:54] local.INFO: Processing buffer {"connection_id":204766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:07:54] local.INFO: IMEI packet received {"connection_id":204766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":204766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:07:59] local.INFO: TCP Data received {"connection_id":204766,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:07:59] local.INFO: Processing buffer {"connection_id":204766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:07:59] local.INFO: IMEI packet received {"connection_id":204766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":204766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:08:00] local.INFO: TCP Data received {"connection_id":204766,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:08:00] local.INFO: Processing buffer {"connection_id":204766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10b9f4248012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:08:00] local.INFO: Packet analysis {"connection_id":204766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10b9f"} 
[2026-10-05 16:08:00] local.INFO: Extracted packet for processing {"connection_id":204766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10b9f"} 
[2026-10-05 16:08:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":49,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546188288001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791196349000,"timestamp_ms":1791196349000,"timestamp_seconds":1791196349,"priority":1,"record_length":96,"hex_timestamp":"000001a10b9f4248"} 
[2026-10-05 16:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-10-05 16:08: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-10-05 16:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:08:00] 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-10-05 16:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546188288001,"66":26060,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546188288001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:08:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:08:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546188288001,"power":26060,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":204766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:08:00] local.INFO: GPS data processed {"connection_id":204766,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:08:00] local.INFO: Acknowledgment sent {"connection_id":204766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:08:09] local.INFO: TCP Data received {"connection_id":206171,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba2dc28012d7d21c005eafd80000a00b82c..."} 
[2026-10-05 16:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba2dc28012d7d21c005eafd80000a00b82c..."} 
[2026-10-05 16:08:09] local.INFO: Processing buffer {"connection_id":206171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba2dc28012d7d21c005eafd80000a00b82c..."} 
[2026-10-05 16:08:09] local.INFO: Packet analysis {"connection_id":206171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba2"} 
[2026-10-05 16:08:09] local.INFO: Extracted packet for processing {"connection_id":206171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba2"} 
[2026-10-05 16:08:09] local.INFO: GPS Element Parsed {"raw_longitude":763175360,"raw_latitude":99286400,"longitude_deg":76.317536,"latitude_deg":9.92864,"altitude":10,"angle":184,"satellites":44,"speed":8,"hex_longitude":"2d7d21c0","hex_latitude":"05eafd80","is_valid_coordinates":true} 
[2026-10-05 16:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546324224001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139709230234992640,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016276848157276160,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791196585000,"timestamp_ms":1791196585000,"timestamp_seconds":1791196585,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba2dc28"} 
[2026-10-05 16:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:08: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-10-05 16:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 16:08:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:09] local.WARNING: Large IO value detected {"io_id":161,"raw_value":-7779967061401042939,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:09] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":18432,"corrected_to":0} 
[2026-10-05 16:08:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:09] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2720305153,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:09] local.WARNING: Large IO value detected {"io_id":234,"raw_value":-1279022246923655680,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-10-05 16:08:09] local.WARNING: Large IO value detected {"io_id":233,"raw_value":4160826748,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:09] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3221613294,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:09] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812240,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3941476352,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:09] local.WARNING: Large IO value detected {"io_id":214,"raw_value":57788166505912118,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:09] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,158,87,24,241,157,16,88,161,142,45,192,247,13,42,10,66,118,128,242,12,41,75,1,240,160,227,11,234,4,113,205,7,233,243,64,33,239,53,2,5,214],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":247,"original":18432,"validated":0},{"io_id":205,"original":1352532174,"validated":0}]} 
[2026-10-05 16:08:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720682777691160576,"timestamp_seconds":720682777691160.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 16:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":206171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":206171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":206171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546324224001,"66":12874,"158":206,"87":13824,"24":8,"16":139709230234992640,"45":9016276848157276160},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-10-05 16:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546324224001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:08:09] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-10-05 16:08:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139709230234992640,"km_value":139709230234992.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016276848157276160,"description":"Unknown IO ID 45"} 
[2026-10-05 16:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546324224001,"power":12874,"unknown_158":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9016276848157276160}} 
[2026-10-05 16:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":206171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:08:09] local.INFO: GPS data processed {"connection_id":206171,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:08:09] local.INFO: Acknowledgment sent {"connection_id":206171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:08:31] local.INFO: TCP Data received {"connection_id":204766,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:08:31] local.INFO: Processing buffer {"connection_id":204766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:08:31] local.INFO: Packet analysis {"connection_id":204766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba3"} 
[2026-10-05 16:08:31] local.INFO: Extracted packet for processing {"connection_id":204766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba3"} 
[2026-10-05 16:08:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546265344001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791196650000,"timestamp_ms":1791196650000,"timestamp_seconds":1791196650,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba3da10"} 
[2026-10-05 16:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-10-05 16:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:08:31] 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-10-05 16:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546265344001,"66":26039,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546265344001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:08:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:08:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546265344001,"power":26039,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":204766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:08:31] local.INFO: GPS data processed {"connection_id":204766,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:08:31] local.INFO: Acknowledgment sent {"connection_id":204766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:08:36] local.INFO: TCP Data received {"connection_id":207706,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:08:36] local.INFO: Processing buffer {"connection_id":207706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:08:36] local.INFO: IMEI packet received {"connection_id":207706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":207706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:08:37] local.INFO: TCP Data received {"connection_id":207706,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:08:37] local.INFO: Processing buffer {"connection_id":207706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:08:37] local.INFO: IMEI packet received {"connection_id":207706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":207706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:08:44] local.INFO: TCP Data received {"connection_id":207706,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:08:44] local.INFO: Processing buffer {"connection_id":207706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:08:44] local.INFO: IMEI packet received {"connection_id":207706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":207706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:08:52] local.INFO: TCP Data received {"connection_id":207706,"ip":"42.106.6.38","data_length":1340,"data_hex":"000000000000030f8e0a000001a10ba2e010012d7d21c005eafce0000900c62c..."} 
[2026-10-05 16:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207706,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a10ba2e010012d7d21c005eafce0000900c62c..."} 
[2026-10-05 16:08:52] local.INFO: Processing buffer {"connection_id":207706,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000001a10ba2e010012d7d21c005eafce0000900c62c..."} 
[2026-10-05 16:08:52] local.INFO: Packet analysis {"connection_id":207706,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000001a10ba2"} 
[2026-10-05 16:08:52] local.INFO: Extracted packet for processing {"connection_id":207706,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a10ba2"} 
[2026-10-05 16:08:52] local.INFO: GPS Element Parsed {"raw_longitude":763175360,"raw_latitude":99286240,"longitude_deg":76.317536,"latitude_deg":9.928624,"altitude":9,"angle":198,"satellites":44,"speed":4,"hex_longitude":"2d7d21c0","hex_latitude":"05eafce0","is_valid_coordinates":true} 
[2026-10-05 16:08: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-10-05 16:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546325760001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139709238824927232,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016699060622295040,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1791196586000,"timestamp_ms":1791196586000,"timestamp_seconds":1791196586,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba2e010"} 
[2026-10-05 16:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-10-05 16:08:52] 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-10-05 16:08: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-10-05 16:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":207706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":207706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":207706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546325760001,"66":12874,"158":206,"87":13824,"24":4,"16":139709238824927232,"45":9016699060622295040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-10-05 16:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546325760001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:08:52] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-10-05 16:08:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139709238824927232,"km_value":139709238824927.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016699060622295040,"description":"Unknown IO ID 45"} 
[2026-10-05 16:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546325760001,"power":12874,"unknown_158":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":9016699060622295040}} 
[2026-10-05 16:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":207706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:08:52] local.INFO: GPS data processed {"connection_id":207706,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:08:52] local.INFO: Acknowledgment sent {"connection_id":207706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:08:52] local.INFO: Packet analysis {"connection_id":207706,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a10ba2"} 
[2026-10-05 16:08:52] local.INFO: Incomplete packet, waiting for more data {"connection_id":207706,"needed":795,"available":545} 
[2026-10-05 16:08:54] local.INFO: TCP Data received {"connection_id":207706,"ip":"42.106.6.38","data_length":1045,"data_hex":"e3001001f0586c00000000000001a10ba22490012d7cf50005eaee08000b0052..."} 
[2026-10-05 16:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207706,"packet_length":1045,"packet_hex":"e3001001f0586c00000000000001a10ba22490012d7cf50005eaee08000b0052..."} 
[2026-10-05 16:08:54] local.INFO: Processing buffer {"connection_id":207706,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a10ba2ff50012d7d21c005eafab8000900bb2c..."} 
[2026-10-05 16:08:54] local.INFO: Packet analysis {"connection_id":207706,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a10ba2"} 
[2026-10-05 16:08:54] local.INFO: Extracted packet for processing {"connection_id":207706,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba2"} 
[2026-10-05 16:08:54] local.INFO: GPS Element Parsed {"raw_longitude":763175360,"raw_latitude":99285688,"longitude_deg":76.317536,"latitude_deg":9.9285688,"altitude":9,"angle":187,"satellites":44,"speed":11,"hex_longitude":"2d7d21c0","hex_latitude":"05eafab8","is_valid_coordinates":true} 
[2026-10-05 16:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546326016001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139709264594731008,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016699060622254080,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1791196594000,"timestamp_ms":1791196594000,"timestamp_seconds":1791196594,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba2ff50"} 
[2026-10-05 16:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:08: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-10-05 16:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-10-05 16:08:54] 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-10-05 16:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":207706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":207706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":207706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546326016001,"66":14298,"158":206,"87":13824,"24":11,"16":139709264594731008,"45":9016699060622254080},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-10-05 16:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546326016001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:08:54] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-10-05 16:08:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139709264594731008,"km_value":139709264594731.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016699060622254080,"description":"Unknown IO ID 45"} 
[2026-10-05 16:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546326016001,"power":14298,"unknown_158":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9016699060622254080}} 
[2026-10-05 16:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":207706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:08:54] local.INFO: GPS data processed {"connection_id":207706,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:08:54] local.INFO: Acknowledgment sent {"connection_id":207706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:08:54] local.INFO: Packet analysis {"connection_id":207706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba3"} 
[2026-10-05 16:08:54] local.INFO: Extracted packet for processing {"connection_id":207706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba3"} 
[2026-10-05 16:08:54] local.INFO: GPS Element Parsed {"raw_longitude":763175104,"raw_latitude":99276568,"longitude_deg":76.3175104,"latitude_deg":9.9276568,"altitude":9,"angle":182,"satellites":43,"speed":28,"hex_longitude":"2d7d20c0","hex_latitude":"05ead718","is_valid_coordinates":true} 
[2026-10-05 16:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546328064001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139709706976362496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016699060622112768,"note":"Value kept but may cause issues"} 
[2026-10-05 16:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1791196608000,"timestamp_ms":1791196608000,"timestamp_seconds":1791196608,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba33600"} 
[2026-10-05 16:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:08: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-10-05 16:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-10-05 16:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":207706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":207706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":207706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546328064001,"66":13526,"158":206,"87":13824,"24":28,"16":139709706976362496,"45":9016699060622112768},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-10-05 16:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546328064001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:08:54] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-10-05 16:08:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139709706976362496,"km_value":139709706976362.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016699060622112768,"description":"Unknown IO ID 45"} 
[2026-10-05 16:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546328064001,"power":13526,"unknown_158":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":9016699060622112768}} 
[2026-10-05 16:08:54] local.INFO: TCP Data received {"connection_id":204767,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:08:54] local.INFO: Processing buffer {"connection_id":204767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:08:54] local.INFO: IMEI packet received {"connection_id":204767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":204767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":207706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:08:54] local.INFO: GPS data processed {"connection_id":207706,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:08:54] local.INFO: Acknowledgment sent {"connection_id":207706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:08:59] local.INFO: TCP Data received {"connection_id":204767,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:08:59] local.INFO: Processing buffer {"connection_id":204767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:08:59] local.INFO: IMEI packet received {"connection_id":204767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":204767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:09:01] local.INFO: TCP Data received {"connection_id":204767,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:09:01] local.INFO: Processing buffer {"connection_id":204767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:09:01] local.INFO: Packet analysis {"connection_id":204767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba3"} 
[2026-10-05 16:09:01] local.INFO: Extracted packet for processing {"connection_id":204767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba3"} 
[2026-10-05 16:09:01] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546265344001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791196650000,"timestamp_ms":1791196650000,"timestamp_seconds":1791196650,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba3da10"} 
[2026-10-05 16:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-10-05 16:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:09: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-10-05 16:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546265344001,"66":26039,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546265344001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:09:01] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:09:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546265344001,"power":26039,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":204767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:09:01] local.INFO: GPS data processed {"connection_id":204767,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:09:01] local.INFO: Acknowledgment sent {"connection_id":204767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:09:28] local.INFO: TCP Data received {"connection_id":204642,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:09:28] local.INFO: Processing buffer {"connection_id":204642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:09:28] local.INFO: IMEI packet received {"connection_id":204642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":204642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:09:29] local.INFO: TCP Data received {"connection_id":204642,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:09:29] local.INFO: Processing buffer {"connection_id":204642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:09:29] local.INFO: IMEI packet received {"connection_id":204642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":204642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:09:30] local.INFO: TCP Data received {"connection_id":204642,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:09:30] local.INFO: Processing buffer {"connection_id":204642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:09:30] local.INFO: IMEI packet received {"connection_id":204642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":204642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:09:31] local.INFO: TCP Data received {"connection_id":204642,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:09:31] local.INFO: Processing buffer {"connection_id":204642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:09:31] local.INFO: IMEI packet received {"connection_id":204642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":204642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:09:32] local.INFO: TCP Data received {"connection_id":204767,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:09:32] local.INFO: Processing buffer {"connection_id":204767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:09:32] local.INFO: Packet analysis {"connection_id":204767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba3"} 
[2026-10-05 16:09:32] local.INFO: Extracted packet for processing {"connection_id":204767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba3"} 
[2026-10-05 16:09:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546265344001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791196650000,"timestamp_ms":1791196650000,"timestamp_seconds":1791196650,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba3da10"} 
[2026-10-05 16:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-10-05 16:09:32] 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-10-05 16: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-10-05 16:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:09: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-10-05 16:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546265344001,"66":26039,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546265344001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:09:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:09:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546265344001,"power":26039,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":204767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:09:32] local.INFO: GPS data processed {"connection_id":204767,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:09:32] local.INFO: Acknowledgment sent {"connection_id":204767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:09:54] local.INFO: TCP Data received {"connection_id":204768,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:09:54] local.INFO: Processing buffer {"connection_id":204768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:09:54] local.INFO: IMEI packet received {"connection_id":204768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":204768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:09:59] local.INFO: TCP Data received {"connection_id":204768,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:09:59] local.INFO: Processing buffer {"connection_id":204768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:09:59] local.INFO: IMEI packet received {"connection_id":204768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":204768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:10:00] local.INFO: TCP Data received {"connection_id":204768,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:10:00] local.INFO: Processing buffer {"connection_id":204768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:10:00] local.INFO: Packet analysis {"connection_id":204768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba3"} 
[2026-10-05 16:10:00] local.INFO: Extracted packet for processing {"connection_id":204768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba3"} 
[2026-10-05 16:10:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546265344001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791196650000,"timestamp_ms":1791196650000,"timestamp_seconds":1791196650,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba3da10"} 
[2026-10-05 16:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-10-05 16:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:10:00] 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-10-05 16:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546265344001,"66":26039,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546265344001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:10:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:10:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546265344001,"power":26039,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":204768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:10:00] local.INFO: GPS data processed {"connection_id":204768,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:10:00] local.INFO: Acknowledgment sent {"connection_id":204768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:10:31] local.INFO: TCP Data received {"connection_id":204768,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:10:31] local.INFO: Processing buffer {"connection_id":204768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:10:31] local.INFO: Packet analysis {"connection_id":204768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba3"} 
[2026-10-05 16:10:31] local.INFO: Extracted packet for processing {"connection_id":204768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba3"} 
[2026-10-05 16:10:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546265344001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791196650000,"timestamp_ms":1791196650000,"timestamp_seconds":1791196650,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba3da10"} 
[2026-10-05 16:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-10-05 16:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:10:31] 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-10-05 16:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546265344001,"66":26039,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546265344001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:10:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:10:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546265344001,"power":26039,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":204768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:10:31] local.INFO: GPS data processed {"connection_id":204768,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:10:31] local.INFO: Acknowledgment sent {"connection_id":204768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:10:39] local.INFO: TCP Data received {"connection_id":206175,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206175,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:10:39] local.INFO: Processing buffer {"connection_id":206175,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:10:39] local.INFO: IMEI packet received {"connection_id":206175,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 16:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":206175,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:10:54] local.INFO: TCP Data received {"connection_id":207710,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:10:54] local.INFO: Processing buffer {"connection_id":207710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:10:54] local.INFO: IMEI packet received {"connection_id":207710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":207710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:10:59] local.INFO: TCP Data received {"connection_id":207710,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:10:59] local.INFO: Processing buffer {"connection_id":207710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:10:59] local.INFO: IMEI packet received {"connection_id":207710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":207710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:11:00] local.INFO: TCP Data received {"connection_id":207710,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:11:00] local.INFO: Processing buffer {"connection_id":207710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:11:00] local.INFO: Packet analysis {"connection_id":207710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba3"} 
[2026-10-05 16:11:00] local.INFO: Extracted packet for processing {"connection_id":207710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba3"} 
[2026-10-05 16:11:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546265344001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791196650000,"timestamp_ms":1791196650000,"timestamp_seconds":1791196650,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba3da10"} 
[2026-10-05 16:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-10-05 16:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:11: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-10-05 16:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546265344001,"66":26039,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546265344001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:11:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:11:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546265344001,"power":26039,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":207710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:11:00] local.INFO: GPS data processed {"connection_id":207710,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:11:00] local.INFO: Acknowledgment sent {"connection_id":207710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:11:32] local.INFO: TCP Data received {"connection_id":207710,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:11:32] local.INFO: Processing buffer {"connection_id":207710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:11:32] local.INFO: Packet analysis {"connection_id":207710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba3"} 
[2026-10-05 16:11:32] local.INFO: Extracted packet for processing {"connection_id":207710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba3"} 
[2026-10-05 16:11:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546265344001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791196650000,"timestamp_ms":1791196650000,"timestamp_seconds":1791196650,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba3da10"} 
[2026-10-05 16:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-10-05 16:11:32] 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-10-05 16:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:11: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-10-05 16:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546265344001,"66":26039,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546265344001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:11:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:11:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546265344001,"power":26039,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":207710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:11:32] local.INFO: GPS data processed {"connection_id":207710,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:11:32] local.INFO: Acknowledgment sent {"connection_id":207710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:11:59] local.INFO: TCP Data received {"connection_id":204643,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:11:59] local.INFO: Processing buffer {"connection_id":204643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:11:59] local.INFO: IMEI packet received {"connection_id":204643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":204643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:12:04] local.INFO: TCP Data received {"connection_id":204643,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:12:04] local.INFO: Processing buffer {"connection_id":204643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:12:04] local.INFO: IMEI packet received {"connection_id":204643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":204643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:12:05] local.INFO: TCP Data received {"connection_id":204643,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:12:05] local.INFO: Processing buffer {"connection_id":204643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:12:05] local.INFO: Packet analysis {"connection_id":204643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba3"} 
[2026-10-05 16:12:05] local.INFO: Extracted packet for processing {"connection_id":204643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba3"} 
[2026-10-05 16:12:05] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546265344001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791196650000,"timestamp_ms":1791196650000,"timestamp_seconds":1791196650,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba3da10"} 
[2026-10-05 16:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-10-05 16:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546265344001,"66":26039,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546265344001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:12:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:12:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546265344001,"power":26039,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":204643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:12:05] local.INFO: GPS data processed {"connection_id":204643,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:12:05] local.INFO: Acknowledgment sent {"connection_id":204643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:12:10] local.INFO: TCP Data received {"connection_id":204643,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:12:10] local.INFO: Processing buffer {"connection_id":204643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:12:10] local.INFO: Packet analysis {"connection_id":204643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba3"} 
[2026-10-05 16:12:10] local.INFO: Extracted packet for processing {"connection_id":204643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba3"} 
[2026-10-05 16:12:10] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546265344001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791196650000,"timestamp_ms":1791196650000,"timestamp_seconds":1791196650,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba3da10"} 
[2026-10-05 16:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-10-05 16:12:10] 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-10-05 16: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-10-05 16:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546265344001,"66":26039,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546265344001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:12:10] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:12:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546265344001,"power":26039,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":204643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:12:10] local.INFO: GPS data processed {"connection_id":204643,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:12:10] local.INFO: Acknowledgment sent {"connection_id":204643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:12:54] local.INFO: TCP Data received {"connection_id":204644,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:12:54] local.INFO: Processing buffer {"connection_id":204644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:12:54] local.INFO: IMEI packet received {"connection_id":204644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":204644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:12:55] local.INFO: TCP Data received {"connection_id":204770,"ip":"117.224.119.197","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204770,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:12:55] local.INFO: Processing buffer {"connection_id":204770,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:12:55] local.INFO: IMEI packet received {"connection_id":204770,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 16:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":204770,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:12:57] local.INFO: TCP Data received {"connection_id":204770,"ip":"117.224.119.197","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba81be8012d0cec400705cf400011000c1f..."} 
[2026-10-05 16:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba81be8012d0cec400705cf400011000c1f..."} 
[2026-10-05 16:12:57] local.INFO: Processing buffer {"connection_id":204770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba81be8012d0cec400705cf400011000c1f..."} 
[2026-10-05 16:12:57] local.INFO: Packet analysis {"connection_id":204770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba8"} 
[2026-10-05 16:12:57] local.INFO: Extracted packet for processing {"connection_id":204770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba8"} 
[2026-10-05 16:12:57] local.INFO: GPS Element Parsed {"raw_longitude":755821632,"raw_latitude":117821248,"longitude_deg":75.5821632,"latitude_deg":11.7821248,"altitude":17,"angle":12,"satellites":31,"speed":22,"hex_longitude":"2d0cec40","hex_latitude":"0705cf40","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546413056001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34829169703518208,"note":"Value kept but may cause issues"} 
[2026-10-05 16:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":931189621864843264,"note":"Value kept but may cause issues"} 
[2026-10-05 16:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1791196929000,"timestamp_ms":1791196929000,"timestamp_seconds":1791196929,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba81be8"} 
[2026-10-05 16:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:12: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-10-05 16: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":60,"data_length":795,"current_offset":136} 
[2026-10-05 16:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":204770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":204770,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":204770,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.119.197","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546413056001,"66":14428,"220":206,"28":32256,"24":22,"16":34829169703518208,"45":931189621864843264},"client_ip":"117.224.119.197","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-10-05 16:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546413056001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:12:57] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-10-05 16:12:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-05 16:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34829169703518208,"km_value":34829169703518.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":931189621864843264,"description":"Unknown IO ID 45"} 
[2026-10-05 16:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546413056001,"power":14428,"unknown_220":206,"unknown_28":32256,"ignition":22,"odometer":null,"unknown_45":931189621864843264}} 
[2026-10-05 16:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":204770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968422,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:12:57] local.INFO: GPS data processed {"connection_id":204770,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:12:57] local.INFO: Acknowledgment sent {"connection_id":204770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:12:59] local.INFO: TCP Data received {"connection_id":204644,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:12:59] local.INFO: Processing buffer {"connection_id":204644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:12:59] local.INFO: IMEI packet received {"connection_id":204644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":204644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:13:01] local.INFO: TCP Data received {"connection_id":204644,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:13:01] local.INFO: Processing buffer {"connection_id":204644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba3da10012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:13:01] local.INFO: Packet analysis {"connection_id":204644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba3"} 
[2026-10-05 16:13:01] local.INFO: Extracted packet for processing {"connection_id":204644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba3"} 
[2026-10-05 16:13:01] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 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-10-05 16:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546265344001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791196650000,"timestamp_ms":1791196650000,"timestamp_seconds":1791196650,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba3da10"} 
[2026-10-05 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-10-05 16:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-10-05 16:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 16:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:13: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-10-05 16:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546265344001,"66":26039,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546265344001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:13:01] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:13:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546265344001,"power":26039,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":204644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:13:01] local.INFO: GPS data processed {"connection_id":204644,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:13:01] local.INFO: Acknowledgment sent {"connection_id":204644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:13:31] local.INFO: TCP Data received {"connection_id":204644,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:13:31] local.INFO: Processing buffer {"connection_id":204644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:13:31] local.INFO: Packet analysis {"connection_id":204644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba8"} 
[2026-10-05 16:13:31] local.INFO: Extracted packet for processing {"connection_id":204644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba8"} 
[2026-10-05 16:13:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546342400001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791196951000,"timestamp_ms":1791196951000,"timestamp_seconds":1791196951,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba871d8"} 
[2026-10-05 16:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-05 16:13: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-10-05 16:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:13: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-10-05 16:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546342400001,"66":26028,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546342400001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:13:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:13:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546342400001,"power":26028,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":204644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:13:31] local.INFO: GPS data processed {"connection_id":204644,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:13:31] local.INFO: Acknowledgment sent {"connection_id":204644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:13:42] local.INFO: TCP Data received {"connection_id":206180,"ip":"117.224.119.197","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206180,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:13:42] local.INFO: Processing buffer {"connection_id":206180,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:13:42] local.INFO: IMEI packet received {"connection_id":206180,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 16:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":206180,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:13:43] local.INFO: TCP Data received {"connection_id":206180,"ip":"117.224.119.197","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206180,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:13:43] local.INFO: Processing buffer {"connection_id":206180,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:13:43] local.INFO: IMEI packet received {"connection_id":206180,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":206180,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:13:47] local.INFO: TCP Data received {"connection_id":206180,"ip":"117.224.119.197","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206180,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:13:47] local.INFO: Processing buffer {"connection_id":206180,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:13:47] local.INFO: IMEI packet received {"connection_id":206180,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":206180,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:13:50] local.INFO: TCP Data received {"connection_id":206180,"ip":"117.224.119.197","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba93528012d0d3ac00705d5d80011009d1f..."} 
[2026-10-05 16:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba93528012d0d3ac00705d5d80011009d1f..."} 
[2026-10-05 16:13:50] local.INFO: Processing buffer {"connection_id":206180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba93528012d0d3ac00705d5d80011009d1f..."} 
[2026-10-05 16:13:50] local.INFO: Packet analysis {"connection_id":206180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba9"} 
[2026-10-05 16:13:50] local.INFO: Extracted packet for processing {"connection_id":206180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba9"} 
[2026-10-05 16:13:50] local.INFO: GPS Element Parsed {"raw_longitude":755841728,"raw_latitude":117822936,"longitude_deg":75.5841728,"latitude_deg":11.7822936,"altitude":17,"angle":157,"satellites":31,"speed":6,"hex_longitude":"2d0d3ac0","hex_latitude":"0705d5d8","is_valid_coordinates":true} 
[2026-10-05 16:13: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-10-05 16:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546432000001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34830234855407616,"note":"Value kept but may cause issues"} 
[2026-10-05 16:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953285407537514496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1791197001000,"timestamp_ms":1791197001000,"timestamp_seconds":1791197001,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba93528"} 
[2026-10-05 16:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:13: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":201,"data_length":795,"current_offset":136} 
[2026-10-05 16:13:50] 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-10-05 16:13: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-10-05 16:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":206180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":206180,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":206180,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.119.197","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546432000001,"66":14537,"220":206,"28":32256,"24":6,"16":34830234855407616,"45":953285407537514496},"client_ip":"117.224.119.197","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-10-05 16:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546432000001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:13:50] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-10-05 16:13:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-05 16:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34830234855407616,"km_value":34830234855407.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":953285407537514496,"description":"Unknown IO ID 45"} 
[2026-10-05 16:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546432000001,"power":14537,"unknown_220":206,"unknown_28":32256,"ignition":6,"odometer":null,"unknown_45":953285407537514496}} 
[2026-10-05 16:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":206180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968425,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:13:50] local.INFO: GPS data processed {"connection_id":206180,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:13:50] local.INFO: Acknowledgment sent {"connection_id":206180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:13:54] local.INFO: TCP Data received {"connection_id":207713,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:13:54] local.INFO: Processing buffer {"connection_id":207713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:13:54] local.INFO: IMEI packet received {"connection_id":207713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":207713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:13:59] local.INFO: TCP Data received {"connection_id":207713,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:13:59] local.INFO: Processing buffer {"connection_id":207713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:13:59] local.INFO: IMEI packet received {"connection_id":207713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":207713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:14:00] local.INFO: TCP Data received {"connection_id":207713,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:14:00] local.INFO: Processing buffer {"connection_id":207713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:14:00] local.INFO: Packet analysis {"connection_id":207713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba8"} 
[2026-10-05 16:14:00] local.INFO: Extracted packet for processing {"connection_id":207713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba8"} 
[2026-10-05 16:14:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546342400001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791196951000,"timestamp_ms":1791196951000,"timestamp_seconds":1791196951,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba871d8"} 
[2026-10-05 16:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-05 16:14: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-10-05 16: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-10-05 16:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:14:00] 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-10-05 16:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546342400001,"66":26028,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546342400001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:14:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:14:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546342400001,"power":26028,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":207713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:14:00] local.INFO: GPS data processed {"connection_id":207713,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:14:00] local.INFO: Acknowledgment sent {"connection_id":207713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:14:22] local.INFO: TCP Data received {"connection_id":206180,"ip":"117.224.119.197","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba93cf8012d0d3b800705d460001100ac1f..."} 
[2026-10-05 16:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba93cf8012d0d3b800705d460001100ac1f..."} 
[2026-10-05 16:14:22] local.INFO: Processing buffer {"connection_id":206180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba93cf8012d0d3b800705d460001100ac1f..."} 
[2026-10-05 16:14:22] local.INFO: Packet analysis {"connection_id":206180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba9"} 
[2026-10-05 16:14:22] local.INFO: Extracted packet for processing {"connection_id":206180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba9"} 
[2026-10-05 16:14:22] local.INFO: GPS Element Parsed {"raw_longitude":755841920,"raw_latitude":117822560,"longitude_deg":75.584192,"latitude_deg":11.782256,"altitude":17,"angle":172,"satellites":31,"speed":7,"hex_longitude":"2d0d3b80","hex_latitude":"0705d460","is_valid_coordinates":true} 
[2026-10-05 16:14: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-10-05 16:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546432256001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34830256330244096,"note":"Value kept but may cause issues"} 
[2026-10-05 16:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953285407537485824,"note":"Value kept but may cause issues"} 
[2026-10-05 16:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791197003000,"timestamp_ms":1791197003000,"timestamp_seconds":1791197003,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba93cf8"} 
[2026-10-05 16:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:14: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":201,"data_length":795,"current_offset":136} 
[2026-10-05 16:14:22] 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-10-05 16:14: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-10-05 16:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":206180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":206180,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":206180,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.119.197","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546432256001,"66":14559,"220":206,"28":32256,"24":7,"16":34830256330244096,"45":953285407537485824},"client_ip":"117.224.119.197","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-10-05 16:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546432256001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:14:22] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-10-05 16:14:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-05 16:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34830256330244096,"km_value":34830256330244.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":953285407537485824,"description":"Unknown IO ID 45"} 
[2026-10-05 16:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546432256001,"power":14559,"unknown_220":206,"unknown_28":32256,"ignition":7,"odometer":null,"unknown_45":953285407537485824}} 
[2026-10-05 16:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":206180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968427,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:14:22] local.INFO: GPS data processed {"connection_id":206180,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:14:22] local.INFO: Acknowledgment sent {"connection_id":206180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:14:32] local.INFO: TCP Data received {"connection_id":207713,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:14:32] local.INFO: Processing buffer {"connection_id":207713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:14:32] local.INFO: Packet analysis {"connection_id":207713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba8"} 
[2026-10-05 16:14:32] local.INFO: Extracted packet for processing {"connection_id":207713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba8"} 
[2026-10-05 16:14:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546342400001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791196951000,"timestamp_ms":1791196951000,"timestamp_seconds":1791196951,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba871d8"} 
[2026-10-05 16:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-05 16:14:32] 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-10-05 16:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:14: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-10-05 16:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546342400001,"66":26028,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546342400001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:14:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:14:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546342400001,"power":26028,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":207713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:14:32] local.INFO: GPS data processed {"connection_id":207713,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:14:32] local.INFO: Acknowledgment sent {"connection_id":207713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:14:36] local.INFO: TCP Data received {"connection_id":207715,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:14:36] local.INFO: Processing buffer {"connection_id":207715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:14:36] local.INFO: IMEI packet received {"connection_id":207715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":207715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:14:37] local.INFO: TCP Data received {"connection_id":207715,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba7f0f0012d7c574005e98578000600f726..."} 
[2026-10-05 16:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba7f0f0012d7c574005e98578000600f726..."} 
[2026-10-05 16:14:37] local.INFO: Processing buffer {"connection_id":207715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba7f0f0012d7c574005e98578000600f726..."} 
[2026-10-05 16:14:37] local.INFO: Packet analysis {"connection_id":207715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba7"} 
[2026-10-05 16:14:37] local.INFO: Extracted packet for processing {"connection_id":207715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba7"} 
[2026-10-05 16:14:37] local.INFO: GPS Element Parsed {"raw_longitude":763123520,"raw_latitude":99190136,"longitude_deg":76.312352,"latitude_deg":9.9190136,"altitude":6,"angle":247,"satellites":38,"speed":13,"hex_longitude":"2d7c5740","hex_latitude":"05e98578","is_valid_coordinates":true} 
[2026-10-05 16:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546405888001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139715999103451136,"note":"Value kept but may cause issues"} 
[2026-10-05 16:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968989052046014464,"note":"Value kept but may cause issues"} 
[2026-10-05 16:14:37] 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-10-05 16:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791196918000,"timestamp_ms":1791196918000,"timestamp_seconds":1791196918,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba7f0f0"} 
[2026-10-05 16:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:14: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-10-05 16:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-10-05 16:14:37] 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-10-05 16:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546405888001,"66":13906,"154":206,"87":13824,"24":13,"16":139715999103451136,"45":8968989052046014464},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-10-05 16:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546405888001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:14:37] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-10-05 16:14:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139715999103451136,"km_value":139715999103451.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968989052046014464,"description":"Unknown IO ID 45"} 
[2026-10-05 16:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546405888001,"power":13906,"unknown_154":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8968989052046014464}} 
[2026-10-05 16:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":207715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:14:37] local.INFO: GPS data processed {"connection_id":207715,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:14:37] local.INFO: Acknowledgment sent {"connection_id":207715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:14:44] local.INFO: TCP Data received {"connection_id":204646,"ip":"117.224.119.197","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204646,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:14:44] local.INFO: Processing buffer {"connection_id":204646,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:14:44] local.INFO: IMEI packet received {"connection_id":204646,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 16:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":204646,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:14:49] local.INFO: TCP Data received {"connection_id":204646,"ip":"117.224.119.197","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204646,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:14:49] local.INFO: Processing buffer {"connection_id":204646,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:14:49] local.INFO: IMEI packet received {"connection_id":204646,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":204646,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:14:53] local.INFO: TCP Data received {"connection_id":204646,"ip":"117.224.119.197","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204646,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:14:53] local.INFO: Processing buffer {"connection_id":204646,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:14:53] local.INFO: IMEI packet received {"connection_id":204646,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":204646,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:14:54] local.INFO: TCP Data received {"connection_id":204646,"ip":"117.224.119.197","data_length":795,"data_hex":"000000000000030f8e0a000001a10baa3ec8012d0d3ac00705c0b0001901401f..."} 
[2026-10-05 16:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10baa3ec8012d0d3ac00705c0b0001901401f..."} 
[2026-10-05 16:14:54] local.INFO: Processing buffer {"connection_id":204646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10baa3ec8012d0d3ac00705c0b0001901401f..."} 
[2026-10-05 16:14:54] local.INFO: Packet analysis {"connection_id":204646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10baa"} 
[2026-10-05 16:14:54] local.INFO: Extracted packet for processing {"connection_id":204646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10baa"} 
[2026-10-05 16:14:54] local.INFO: GPS Element Parsed {"raw_longitude":755841728,"raw_latitude":117817520,"longitude_deg":75.5841728,"latitude_deg":11.781752,"altitude":25,"angle":320,"satellites":31,"speed":8,"hex_longitude":"2d0d3ac0","hex_latitude":"0705c0b0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 16:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546449408001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34830655762202624,"note":"Value kept but may cause issues"} 
[2026-10-05 16:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953496513768599552,"note":"Value kept but may cause issues"} 
[2026-10-05 16:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1791197069000,"timestamp_ms":1791197069000,"timestamp_seconds":1791197069,"priority":1,"record_length":96,"hex_timestamp":"000001a10baa3ec8"} 
[2026-10-05 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-10-05 16:14: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-10-05 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":60,"data_length":795,"current_offset":136} 
[2026-10-05 16:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 16:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":204646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":204646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":204646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.119.197","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546449408001,"66":14396,"220":206,"28":32256,"24":8,"16":34830655762202624,"45":953496513768599552},"client_ip":"117.224.119.197","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-10-05 16:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546449408001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:14:54] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-10-05 16:14:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-05 16:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34830655762202624,"km_value":34830655762202.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":953496513768599552,"description":"Unknown IO ID 45"} 
[2026-10-05 16:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546449408001,"power":14396,"unknown_220":206,"unknown_28":32256,"ignition":8,"odometer":null,"unknown_45":953496513768599552}} 
[2026-10-05 16:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":204646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968430,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:14:54] local.INFO: GPS data processed {"connection_id":204646,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:14:54] local.INFO: Acknowledgment sent {"connection_id":204646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:14:54] local.INFO: TCP Data received {"connection_id":206181,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:14:54] local.INFO: Processing buffer {"connection_id":206181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:14:54] local.INFO: IMEI packet received {"connection_id":206181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":206181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:14:58] local.INFO: TCP Data received {"connection_id":204646,"ip":"117.224.119.197","data_length":795,"data_hex":"000000000000030f8e0a000001a10baa4698012d0d3a000705c2200019014f1f..."} 
[2026-10-05 16:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10baa4698012d0d3a000705c2200019014f1f..."} 
[2026-10-05 16:14:58] local.INFO: Processing buffer {"connection_id":204646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10baa4698012d0d3a000705c2200019014f1f..."} 
[2026-10-05 16:14:58] local.INFO: Packet analysis {"connection_id":204646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10baa"} 
[2026-10-05 16:14:58] local.INFO: Extracted packet for processing {"connection_id":204646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10baa"} 
[2026-10-05 16:14:58] local.INFO: GPS Element Parsed {"raw_longitude":755841536,"raw_latitude":117817888,"longitude_deg":75.5841536,"latitude_deg":11.7817888,"altitude":25,"angle":335,"satellites":31,"speed":9,"hex_longitude":"2d0d3a00","hex_latitude":"0705c220","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546449664001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34830677237039104,"note":"Value kept but may cause issues"} 
[2026-10-05 16:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953285407536099328,"note":"Value kept but may cause issues"} 
[2026-10-05 16:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1791197071000,"timestamp_ms":1791197071000,"timestamp_seconds":1791197071,"priority":1,"record_length":96,"hex_timestamp":"000001a10baa4698"} 
[2026-10-05 16:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:14: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-10-05 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-05 16:14: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-10-05 16: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-10-05 16:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":204646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":204646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":204646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.119.197","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546449664001,"66":14559,"220":206,"28":32256,"24":9,"16":34830677237039104,"45":953285407536099328},"client_ip":"117.224.119.197","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-10-05 16:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546449664001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:14:58] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-10-05 16:14:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-05 16:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34830677237039104,"km_value":34830677237039.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":953285407536099328,"description":"Unknown IO ID 45"} 
[2026-10-05 16:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546449664001,"power":14559,"unknown_220":206,"unknown_28":32256,"ignition":9,"odometer":null,"unknown_45":953285407536099328}} 
[2026-10-05 16:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":204646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968431,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:14:58] local.INFO: GPS data processed {"connection_id":204646,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:14:58] local.INFO: Acknowledgment sent {"connection_id":204646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:14:59] local.INFO: TCP Data received {"connection_id":206181,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:14:59] local.INFO: Processing buffer {"connection_id":206181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:14:59] local.INFO: IMEI packet received {"connection_id":206181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":206181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:15:00] local.INFO: TCP Data received {"connection_id":206181,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:15:00] local.INFO: Processing buffer {"connection_id":206181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:15:00] local.INFO: Packet analysis {"connection_id":206181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba8"} 
[2026-10-05 16:15:00] local.INFO: Extracted packet for processing {"connection_id":206181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba8"} 
[2026-10-05 16:15:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546342400001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791196951000,"timestamp_ms":1791196951000,"timestamp_seconds":1791196951,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba871d8"} 
[2026-10-05 16:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-05 16:15: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-10-05 16: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-10-05 16:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:15: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-10-05 16:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546342400001,"66":26028,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546342400001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:15:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:15:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546342400001,"power":26028,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":206181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:15:00] local.INFO: GPS data processed {"connection_id":206181,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:15:00] local.INFO: Acknowledgment sent {"connection_id":206181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:15:08] local.INFO: TCP Data received {"connection_id":207715,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10baa98a0012d7b628005e931400009010c22..."} 
[2026-10-05 16:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10baa98a0012d7b628005e931400009010c22..."} 
[2026-10-05 16:15:08] local.INFO: Processing buffer {"connection_id":207715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10baa98a0012d7b628005e931400009010c22..."} 
[2026-10-05 16:15:08] local.INFO: Packet analysis {"connection_id":207715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10baa"} 
[2026-10-05 16:15:08] local.INFO: Extracted packet for processing {"connection_id":207715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10baa"} 
[2026-10-05 16:15:08] local.INFO: GPS Element Parsed {"raw_longitude":763060864,"raw_latitude":99168576,"longitude_deg":76.3060864,"latitude_deg":9.9168576,"altitude":9,"angle":268,"satellites":34,"speed":2,"hex_longitude":"2d7b6280","hex_latitude":"05e93140","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546454016001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139719203149053952,"note":"Value kept but may cause issues"} 
[2026-10-05 16:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891020483490820096,"note":"Value kept but may cause issues"} 
[2026-10-05 16:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791197092000,"timestamp_ms":1791197092000,"timestamp_seconds":1791197092,"priority":1,"record_length":96,"hex_timestamp":"000001a10baa98a0"} 
[2026-10-05 16:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:15: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-10-05 16: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-10-05 16:15:08] 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-10-05 16: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-10-05 16:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546454016001,"66":14189,"201":206,"87":13824,"24":2,"16":139719203149053952,"45":8891020483490820096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-10-05 16:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546454016001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:15:08] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-10-05 16:15:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139719203149053952,"km_value":139719203149053.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891020483490820096,"description":"Unknown IO ID 45"} 
[2026-10-05 16:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546454016001,"power":14189,"unknown_201":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8891020483490820096}} 
[2026-10-05 16:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":207715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968433,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:15:08] local.INFO: GPS data processed {"connection_id":207715,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:15:08] local.INFO: Acknowledgment sent {"connection_id":207715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:15:31] local.INFO: TCP Data received {"connection_id":206181,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:15:31] local.INFO: Processing buffer {"connection_id":206181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:15:31] local.INFO: Packet analysis {"connection_id":206181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba8"} 
[2026-10-05 16:15:31] local.INFO: Extracted packet for processing {"connection_id":206181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba8"} 
[2026-10-05 16:15:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 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-10-05 16:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546342400001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791196951000,"timestamp_ms":1791196951000,"timestamp_seconds":1791196951,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba871d8"} 
[2026-10-05 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-10-05 16:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-05 16:15: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-10-05 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-10-05 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-10-05 16:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:15: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-10-05 16:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546342400001,"66":26028,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546342400001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:15:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:15:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546342400001,"power":26028,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":206181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:15:31] local.INFO: GPS data processed {"connection_id":206181,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:15:31] local.INFO: Acknowledgment sent {"connection_id":206181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:15:36] local.INFO: TCP Data received {"connection_id":204647,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:15:36] local.INFO: Processing buffer {"connection_id":204647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:15:36] local.INFO: IMEI packet received {"connection_id":204647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":204647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:15:39] local.INFO: TCP Data received {"connection_id":204649,"ip":"117.224.119.197","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204649,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:15:39] local.INFO: Processing buffer {"connection_id":204649,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:15:39] local.INFO: IMEI packet received {"connection_id":204649,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 16:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":204649,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:15:41] local.INFO: TCP Data received {"connection_id":204647,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:15:41] local.INFO: Processing buffer {"connection_id":204647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:15:41] local.INFO: IMEI packet received {"connection_id":204647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":204647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:15:41] local.INFO: TCP Data received {"connection_id":204649,"ip":"117.224.119.197","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204649,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:15:41] local.INFO: Processing buffer {"connection_id":204649,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:15:41] local.INFO: IMEI packet received {"connection_id":204649,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":204649,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:15:41] local.INFO: TCP Data received {"connection_id":204647,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10baab3f8012d7b604005e930a0000900ff23..."} 
[2026-10-05 16:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10baab3f8012d7b604005e930a0000900ff23..."} 
[2026-10-05 16:15:41] local.INFO: Processing buffer {"connection_id":204647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10baab3f8012d7b604005e930a0000900ff23..."} 
[2026-10-05 16:15:41] local.INFO: Packet analysis {"connection_id":204647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10baa"} 
[2026-10-05 16:15:41] local.INFO: Extracted packet for processing {"connection_id":204647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10baa"} 
[2026-10-05 16:15:41] local.INFO: GPS Element Parsed {"raw_longitude":763060288,"raw_latitude":99168416,"longitude_deg":76.3060288,"latitude_deg":9.9168416,"altitude":9,"angle":255,"satellites":35,"speed":2,"hex_longitude":"2d7b6040","hex_latitude":"05e930a0","is_valid_coordinates":true} 
[2026-10-05 16:15: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-10-05 16:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546455552001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139719228918857728,"note":"Value kept but may cause issues"} 
[2026-10-05 16:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890809377258291200,"note":"Value kept but may cause issues"} 
[2026-10-05 16:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791197099000,"timestamp_ms":1791197099000,"timestamp_seconds":1791197099,"priority":1,"record_length":96,"hex_timestamp":"000001a10baab3f8"} 
[2026-10-05 16:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:15: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-10-05 16:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-10-05 16:15:41] 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-10-05 16:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546455552001,"66":14135,"201":206,"87":13824,"24":2,"16":139719228918857728,"45":8890809377258291200},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-10-05 16:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546455552001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:15:41] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-10-05 16:15:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139719228918857728,"km_value":139719228918857.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890809377258291200,"description":"Unknown IO ID 45"} 
[2026-10-05 16:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546455552001,"power":14135,"unknown_201":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8890809377258291200}} 
[2026-10-05 16:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":204647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:15:42] local.INFO: GPS data processed {"connection_id":204647,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:15:42] local.INFO: Acknowledgment sent {"connection_id":204647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:15:42] local.INFO: TCP Data received {"connection_id":204649,"ip":"117.224.119.197","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204649,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:15:42] local.INFO: Processing buffer {"connection_id":204649,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:15:42] local.INFO: IMEI packet received {"connection_id":204649,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":204649,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:15:43] local.INFO: TCP Data received {"connection_id":204649,"ip":"117.224.119.197","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204649,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:15:43] local.INFO: Processing buffer {"connection_id":204649,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:15:43] local.INFO: IMEI packet received {"connection_id":204649,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":204649,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:15:46] local.INFO: TCP Data received {"connection_id":204647,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10baacb68012d7b5e4005e930880008010e24..."} 
[2026-10-05 16:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10baacb68012d7b5e4005e930880008010e24..."} 
[2026-10-05 16:15:46] local.INFO: Processing buffer {"connection_id":204647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10baacb68012d7b5e4005e930880008010e24..."} 
[2026-10-05 16:15:46] local.INFO: Packet analysis {"connection_id":204647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10baa"} 
[2026-10-05 16:15:46] local.INFO: Extracted packet for processing {"connection_id":204647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10baa"} 
[2026-10-05 16:15:46] local.INFO: GPS Element Parsed {"raw_longitude":763059776,"raw_latitude":99168392,"longitude_deg":76.3059776,"latitude_deg":9.9168392,"altitude":8,"angle":270,"satellites":36,"speed":2,"hex_longitude":"2d7b5e40","hex_latitude":"05e93088","is_valid_coordinates":true} 
[2026-10-05 16:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546457344001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139719254688661504,"note":"Value kept but may cause issues"} 
[2026-10-05 16:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890176058560651264,"note":"Value kept but may cause issues"} 
[2026-10-05 16:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791197105000,"timestamp_ms":1791197105000,"timestamp_seconds":1791197105,"priority":1,"record_length":96,"hex_timestamp":"000001a10baacb68"} 
[2026-10-05 16:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-10-05 16:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:15: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-10-05 16:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546457344001,"66":13678,"201":206,"87":13824,"24":2,"16":139719254688661504,"45":8890176058560651264},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-10-05 16:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546457344001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:15:46] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-10-05 16:15:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139719254688661504,"km_value":139719254688661.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890176058560651264,"description":"Unknown IO ID 45"} 
[2026-10-05 16:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546457344001,"power":13678,"unknown_201":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8890176058560651264}} 
[2026-10-05 16:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":204647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:15:46] local.INFO: GPS data processed {"connection_id":204647,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:15:46] local.INFO: Acknowledgment sent {"connection_id":204647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:15:54] local.INFO: TCP Data received {"connection_id":206182,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:15:54] local.INFO: Processing buffer {"connection_id":206182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:15:54] local.INFO: IMEI packet received {"connection_id":206182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":206182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:15:59] local.INFO: TCP Data received {"connection_id":204648,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:15:59] local.INFO: Processing buffer {"connection_id":204648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:15:59] local.INFO: IMEI packet received {"connection_id":204648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 16:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":204648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:15:59] local.INFO: TCP Data received {"connection_id":206182,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:15:59] local.INFO: Processing buffer {"connection_id":206182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:15:59] local.INFO: IMEI packet received {"connection_id":206182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":206182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:16:00] local.INFO: TCP Data received {"connection_id":206182,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:16:00] local.INFO: Processing buffer {"connection_id":206182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:16:00] local.INFO: Packet analysis {"connection_id":206182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba8"} 
[2026-10-05 16:16:00] local.INFO: Extracted packet for processing {"connection_id":206182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba8"} 
[2026-10-05 16:16:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546342400001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791196951000,"timestamp_ms":1791196951000,"timestamp_seconds":1791196951,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba871d8"} 
[2026-10-05 16:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-05 16:16: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-10-05 16:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:16: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-10-05 16:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546342400001,"66":26028,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546342400001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:16:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:16:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546342400001,"power":26028,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":206182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:16:00] local.INFO: GPS data processed {"connection_id":206182,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:16:00] local.INFO: Acknowledgment sent {"connection_id":206182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:16:30] local.INFO: TCP Data received {"connection_id":207716,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:16:30] local.INFO: Processing buffer {"connection_id":207716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:16:30] local.INFO: IMEI packet received {"connection_id":207716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":207716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:16:31] local.INFO: TCP Data received {"connection_id":206182,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:16:31] local.INFO: Processing buffer {"connection_id":206182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:16:31] local.INFO: Packet analysis {"connection_id":206182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba8"} 
[2026-10-05 16:16:31] local.INFO: Extracted packet for processing {"connection_id":206182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba8"} 
[2026-10-05 16:16:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546342400001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791196951000,"timestamp_ms":1791196951000,"timestamp_seconds":1791196951,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba871d8"} 
[2026-10-05 16:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-05 16:16: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-10-05 16: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-10-05 16:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:16: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-10-05 16:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546342400001,"66":26028,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546342400001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:16:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:16:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546342400001,"power":26028,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":206182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:16:31] local.INFO: GPS data processed {"connection_id":206182,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:16:31] local.INFO: Acknowledgment sent {"connection_id":206182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:16:34] local.INFO: TCP Data received {"connection_id":207717,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207717,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:16:34] local.INFO: Processing buffer {"connection_id":207717,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:16:34] local.INFO: IMEI packet received {"connection_id":207717,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 16:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":207717,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:16:36] local.INFO: TCP Data received {"connection_id":207716,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:16:36] local.INFO: Processing buffer {"connection_id":207716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:16:36] local.INFO: IMEI packet received {"connection_id":207716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":207716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:16:38] local.INFO: TCP Data received {"connection_id":207716,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bab0dd0012d7b4bc005e92ea8000900d527..."} 
[2026-10-05 16:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bab0dd0012d7b4bc005e92ea8000900d527..."} 
[2026-10-05 16:16:38] local.INFO: Processing buffer {"connection_id":207716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bab0dd0012d7b4bc005e92ea8000900d527..."} 
[2026-10-05 16:16:38] local.INFO: Packet analysis {"connection_id":207716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bab"} 
[2026-10-05 16:16:38] local.INFO: Extracted packet for processing {"connection_id":207716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bab"} 
[2026-10-05 16:16:38] local.INFO: GPS Element Parsed {"raw_longitude":763055040,"raw_latitude":99167912,"longitude_deg":76.305504,"latitude_deg":9.9167912,"altitude":9,"angle":213,"satellites":39,"speed":5,"hex_longitude":"2d7b4bc0","hex_latitude":"05e92ea8","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546458880001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139719482321928192,"note":"Value kept but may cause issues"} 
[2026-10-05 16:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889613108607223808,"note":"Value kept but may cause issues"} 
[2026-10-05 16:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791197122000,"timestamp_ms":1791197122000,"timestamp_seconds":1791197122,"priority":1,"record_length":96,"hex_timestamp":"000001a10bab0dd0"} 
[2026-10-05 16:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 16:16:38] 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-10-05 16: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-10-05 16:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546458880001,"66":12863,"201":206,"87":13824,"24":5,"16":139719482321928192,"45":8889613108607223808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-10-05 16:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546458880001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:16:38] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-10-05 16:16:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139719482321928192,"km_value":139719482321928.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889613108607223808,"description":"Unknown IO ID 45"} 
[2026-10-05 16:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546458880001,"power":12863,"unknown_201":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8889613108607223808}} 
[2026-10-05 16:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":207716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968439,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:16:38] local.INFO: GPS data processed {"connection_id":207716,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:16:38] local.INFO: Acknowledgment sent {"connection_id":207716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:16:59] local.INFO: TCP Data received {"connection_id":204771,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:16:59] local.INFO: Processing buffer {"connection_id":204771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:16:59] local.INFO: IMEI packet received {"connection_id":204771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":204771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:17:04] local.INFO: TCP Data received {"connection_id":204771,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:17:04] local.INFO: Processing buffer {"connection_id":204771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:17:04] local.INFO: IMEI packet received {"connection_id":204771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":204771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:17:05] local.INFO: TCP Data received {"connection_id":204771,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:17:05] local.INFO: Processing buffer {"connection_id":204771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:17:05] local.INFO: Packet analysis {"connection_id":204771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba8"} 
[2026-10-05 16:17:05] local.INFO: Extracted packet for processing {"connection_id":204771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba8"} 
[2026-10-05 16:17:05] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546342400001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791196951000,"timestamp_ms":1791196951000,"timestamp_seconds":1791196951,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba871d8"} 
[2026-10-05 16:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:17: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-10-05 16:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-05 16:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546342400001,"66":26028,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546342400001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:17:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:17:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546342400001,"power":26028,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":204771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:17:05] local.INFO: GPS data processed {"connection_id":204771,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:17:05] local.INFO: Acknowledgment sent {"connection_id":204771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:17:10] local.INFO: TCP Data received {"connection_id":204771,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:17:10] local.INFO: Processing buffer {"connection_id":204771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:17:10] local.INFO: Packet analysis {"connection_id":204771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba8"} 
[2026-10-05 16:17:10] local.INFO: Extracted packet for processing {"connection_id":204771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba8"} 
[2026-10-05 16:17:10] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546342400001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791196951000,"timestamp_ms":1791196951000,"timestamp_seconds":1791196951,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba871d8"} 
[2026-10-05 16:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-05 16:17:10] 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-10-05 16: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-10-05 16:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:17: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-10-05 16:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546342400001,"66":26028,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546342400001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:17:10] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:17:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546342400001,"power":26028,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":204771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:17:10] local.INFO: GPS data processed {"connection_id":204771,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:17:10] local.INFO: Acknowledgment sent {"connection_id":204771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:17:12] local.INFO: TCP Data received {"connection_id":207716,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bac59d8012d7b5a4005e816b0000300a922..."} 
[2026-10-05 16:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bac59d8012d7b5a4005e816b0000300a922..."} 
[2026-10-05 16:17:12] local.INFO: Processing buffer {"connection_id":207716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bac59d8012d7b5a4005e816b0000300a922..."} 
[2026-10-05 16:17:12] local.INFO: Packet analysis {"connection_id":207716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bac"} 
[2026-10-05 16:17:12] local.INFO: Extracted packet for processing {"connection_id":207716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bac"} 
[2026-10-05 16:17:12] local.INFO: GPS Element Parsed {"raw_longitude":763058752,"raw_latitude":99096240,"longitude_deg":76.3058752,"latitude_deg":9.909624,"altitude":3,"angle":169,"satellites":34,"speed":20,"hex_longitude":"2d7b5a40","hex_latitude":"05e816b0","is_valid_coordinates":true} 
[2026-10-05 16:17: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-10-05 16:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546483712001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139722982720274432,"note":"Value kept but may cause issues"} 
[2026-10-05 16:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887994627473651712,"note":"Value kept but may cause issues"} 
[2026-10-05 16:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791197207000,"timestamp_ms":1791197207000,"timestamp_seconds":1791197207,"priority":1,"record_length":96,"hex_timestamp":"000001a10bac59d8"} 
[2026-10-05 16:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:17: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-10-05 16:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 16:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:17: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-10-05 16:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":207716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":207716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":207716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546483712001,"66":13906,"201":206,"87":13824,"24":20,"16":139722982720274432,"45":8887994627473651712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-10-05 16:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546483712001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:17:12] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-10-05 16:17:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139722982720274432,"km_value":139722982720274.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887994627473651712,"description":"Unknown IO ID 45"} 
[2026-10-05 16:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546483712001,"power":13906,"unknown_201":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8887994627473651712}} 
[2026-10-05 16:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":207716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:17:12] local.INFO: GPS data processed {"connection_id":207716,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:17:12] local.INFO: Acknowledgment sent {"connection_id":207716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:17:54] local.INFO: TCP Data received {"connection_id":204651,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:17:54] local.INFO: Processing buffer {"connection_id":204651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:17:54] local.INFO: IMEI packet received {"connection_id":204651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":204651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:17:59] local.INFO: TCP Data received {"connection_id":204651,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:17:59] local.INFO: Processing buffer {"connection_id":204651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:17:59] local.INFO: IMEI packet received {"connection_id":204651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":204651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:18:00] local.INFO: TCP Data received {"connection_id":204651,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:18:00] local.INFO: Processing buffer {"connection_id":204651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ba871d8012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:18:00] local.INFO: Packet analysis {"connection_id":204651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ba8"} 
[2026-10-05 16:18:00] local.INFO: Extracted packet for processing {"connection_id":204651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ba8"} 
[2026-10-05 16:18:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546342400001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791196951000,"timestamp_ms":1791196951000,"timestamp_seconds":1791196951,"priority":1,"record_length":96,"hex_timestamp":"000001a10ba871d8"} 
[2026-10-05 16:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-05 16:18: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-10-05 16:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:18:00] 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-10-05 16:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546342400001,"66":26028,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546342400001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:18:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:18:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546342400001,"power":26028,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":204651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:18:00] local.INFO: GPS data processed {"connection_id":204651,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:18:00] local.INFO: Acknowledgment sent {"connection_id":204651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:18:00] local.INFO: TCP Data received {"connection_id":204652,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:18:00] local.INFO: Processing buffer {"connection_id":204652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:18:00] local.INFO: IMEI packet received {"connection_id":204652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":204652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:18:05] local.INFO: TCP Data received {"connection_id":204652,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:18:05] local.INFO: Processing buffer {"connection_id":204652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:18:05] local.INFO: IMEI packet received {"connection_id":204652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":204652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:18:06] local.INFO: TCP Data received {"connection_id":204652,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bac6590012d7b5b4005e813880002009d22..."} 
[2026-10-05 16:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bac6590012d7b5b4005e813880002009d22..."} 
[2026-10-05 16:18:06] local.INFO: Processing buffer {"connection_id":204652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bac6590012d7b5b4005e813880002009d22..."} 
[2026-10-05 16:18:06] local.INFO: Packet analysis {"connection_id":204652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bac"} 
[2026-10-05 16:18:06] local.INFO: Extracted packet for processing {"connection_id":204652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bac"} 
[2026-10-05 16:18:06] local.INFO: GPS Element Parsed {"raw_longitude":763059008,"raw_latitude":99095432,"longitude_deg":76.3059008,"latitude_deg":9.9095432,"altitude":2,"angle":157,"satellites":34,"speed":5,"hex_longitude":"2d7b5b40","hex_latitude":"05e81388","is_valid_coordinates":true} 
[2026-10-05 16:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546484992001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139723021374980096,"note":"Value kept but may cause issues"} 
[2026-10-05 16:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888487208681910272,"note":"Value kept but may cause issues"} 
[2026-10-05 16:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791197210000,"timestamp_ms":1791197210000,"timestamp_seconds":1791197210,"priority":1,"record_length":96,"hex_timestamp":"000001a10bac6590"} 
[2026-10-05 16:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:18: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-10-05 16:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 16:18:06] 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-10-05 16:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546484992001,"66":13993,"201":206,"87":13824,"24":5,"16":139723021374980096,"45":8888487208681910272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-10-05 16:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546484992001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:18:06] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-10-05 16:18:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139723021374980096,"km_value":139723021374980.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888487208681910272,"description":"Unknown IO ID 45"} 
[2026-10-05 16:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546484992001,"power":13993,"unknown_201":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8888487208681910272}} 
[2026-10-05 16:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":204652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:18:06] local.INFO: GPS data processed {"connection_id":204652,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:18:06] local.INFO: Acknowledgment sent {"connection_id":204652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:18:32] local.INFO: TCP Data received {"connection_id":204651,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:18:32] local.INFO: Processing buffer {"connection_id":204651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:18:32] local.INFO: Packet analysis {"connection_id":204651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bad"} 
[2026-10-05 16:18:32] local.INFO: Extracted packet for processing {"connection_id":204651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bad"} 
[2026-10-05 16:18:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546419456001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791197252000,"timestamp_ms":1791197252000,"timestamp_seconds":1791197252,"priority":1,"record_length":96,"hex_timestamp":"000001a10bad09a0"} 
[2026-10-05 16:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 16:18:32] 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-10-05 16: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-10-05 16:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:18: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-10-05 16:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546419456001,"66":26006,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546419456001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:18:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:18:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546419456001,"power":26006,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":204651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:18:32] local.INFO: GPS data processed {"connection_id":204651,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:18:32] local.INFO: Acknowledgment sent {"connection_id":204651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:18:36] local.INFO: TCP Data received {"connection_id":204653,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:18:36] local.INFO: Processing buffer {"connection_id":204653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:18:36] local.INFO: IMEI packet received {"connection_id":204653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":204653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:18:40] local.INFO: TCP Data received {"connection_id":204653,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:18:40] local.INFO: Processing buffer {"connection_id":204653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:18:40] local.INFO: IMEI packet received {"connection_id":204653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":204653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:18:41] local.INFO: TCP Data received {"connection_id":204653,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bac7d00012d7b5b8005e81358000400aa23..."} 
[2026-10-05 16:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bac7d00012d7b5b8005e81358000400aa23..."} 
[2026-10-05 16:18:41] local.INFO: Processing buffer {"connection_id":204653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bac7d00012d7b5b8005e81358000400aa23..."} 
[2026-10-05 16:18:41] local.INFO: Packet analysis {"connection_id":204653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bac"} 
[2026-10-05 16:18:41] local.INFO: Extracted packet for processing {"connection_id":204653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bac"} 
[2026-10-05 16:18:41] local.INFO: GPS Element Parsed {"raw_longitude":763059072,"raw_latitude":99095384,"longitude_deg":76.3059072,"latitude_deg":9.9095384,"altitude":4,"angle":170,"satellites":35,"speed":9,"hex_longitude":"2d7b5b80","hex_latitude":"05e81358","is_valid_coordinates":true} 
[2026-10-05 16:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546485760001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139723038554849280,"note":"Value kept but may cause issues"} 
[2026-10-05 16:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888768683658414080,"note":"Value kept but may cause issues"} 
[2026-10-05 16:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791197216000,"timestamp_ms":1791197216000,"timestamp_seconds":1791197216,"priority":1,"record_length":96,"hex_timestamp":"000001a10bac7d00"} 
[2026-10-05 16:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:18: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-10-05 16:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 16:18:41] 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-10-05 16:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546485760001,"66":13917,"201":206,"87":13824,"24":9,"16":139723038554849280,"45":8888768683658414080},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-10-05 16:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546485760001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:18:41] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-10-05 16:18:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139723038554849280,"km_value":139723038554849.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888768683658414080,"description":"Unknown IO ID 45"} 
[2026-10-05 16:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546485760001,"power":13917,"unknown_201":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8888768683658414080}} 
[2026-10-05 16:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":204653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:18:41] local.INFO: GPS data processed {"connection_id":204653,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:18:41] local.INFO: Acknowledgment sent {"connection_id":204653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:18:42] local.INFO: TCP Data received {"connection_id":204653,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10baca7f8012d7b5cc005e7fa30000200b627..."} 
[2026-10-05 16:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10baca7f8012d7b5cc005e7fa30000200b627..."} 
[2026-10-05 16:18:42] local.INFO: Processing buffer {"connection_id":204653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10baca7f8012d7b5cc005e7fa30000200b627..."} 
[2026-10-05 16:18:42] local.INFO: Packet analysis {"connection_id":204653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bac"} 
[2026-10-05 16:18:42] local.INFO: Extracted packet for processing {"connection_id":204653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bac"} 
[2026-10-05 16:18:42] local.INFO: GPS Element Parsed {"raw_longitude":763059392,"raw_latitude":99088944,"longitude_deg":76.3059392,"latitude_deg":9.9088944,"altitude":2,"angle":182,"satellites":39,"speed":35,"hex_longitude":"2d7b5cc0","hex_latitude":"05e7fa30","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546487296001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139723356382429184,"note":"Value kept but may cause issues"} 
[2026-10-05 16:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888839052402579456,"note":"Value kept but may cause issues"} 
[2026-10-05 16:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791197227000,"timestamp_ms":1791197227000,"timestamp_seconds":1791197227,"priority":1,"record_length":96,"hex_timestamp":"000001a10baca7f8"} 
[2026-10-05 16:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-10-05 16:18:42] 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-10-05 16: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-10-05 16:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546487296001,"66":13896,"201":206,"87":13824,"24":35,"16":139723356382429184,"45":8888839052402579456},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-10-05 16:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546487296001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:18:42] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-10-05 16:18:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139723356382429184,"km_value":139723356382429.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888839052402579456,"description":"Unknown IO ID 45"} 
[2026-10-05 16:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546487296001,"power":13896,"unknown_201":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8888839052402579456}} 
[2026-10-05 16:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":204653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:18:42] local.INFO: GPS data processed {"connection_id":204653,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:18:42] local.INFO: Acknowledgment sent {"connection_id":204653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:18:54] local.INFO: TCP Data received {"connection_id":207718,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:18:54] local.INFO: Processing buffer {"connection_id":207718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:18:54] local.INFO: IMEI packet received {"connection_id":207718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":207718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:18:59] local.INFO: TCP Data received {"connection_id":207718,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:18:59] local.INFO: Processing buffer {"connection_id":207718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:18:59] local.INFO: IMEI packet received {"connection_id":207718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":207718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:19:00] local.INFO: TCP Data received {"connection_id":207718,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:19:00] local.INFO: Processing buffer {"connection_id":207718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:19:00] local.INFO: Packet analysis {"connection_id":207718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bad"} 
[2026-10-05 16:19:00] local.INFO: Extracted packet for processing {"connection_id":207718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bad"} 
[2026-10-05 16:19:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546419456001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791197252000,"timestamp_ms":1791197252000,"timestamp_seconds":1791197252,"priority":1,"record_length":96,"hex_timestamp":"000001a10bad09a0"} 
[2026-10-05 16:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 16:19:00] 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-10-05 16:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:19:00] 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-10-05 16:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546419456001,"66":26006,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546419456001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:19:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:19:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546419456001,"power":26006,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":207718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:19:00] local.INFO: GPS data processed {"connection_id":207718,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:19:00] local.INFO: Acknowledgment sent {"connection_id":207718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:19:13] local.INFO: TCP Data received {"connection_id":204653,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bacd2f0012d7b5b8005e7d5a0000200aa26..."} 
[2026-10-05 16:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bacd2f0012d7b5b8005e7d5a0000200aa26..."} 
[2026-10-05 16:19:13] local.INFO: Processing buffer {"connection_id":204653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bacd2f0012d7b5b8005e7d5a0000200aa26..."} 
[2026-10-05 16:19:13] local.INFO: Packet analysis {"connection_id":204653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bac"} 
[2026-10-05 16:19:13] local.INFO: Extracted packet for processing {"connection_id":204653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bac"} 
[2026-10-05 16:19:13] local.INFO: GPS Element Parsed {"raw_longitude":763059072,"raw_latitude":99079584,"longitude_deg":76.3059072,"latitude_deg":9.9079584,"altitude":2,"angle":170,"satellites":38,"speed":36,"hex_longitude":"2d7b5b80","hex_latitude":"05e7d5a0","is_valid_coordinates":true} 
[2026-10-05 16:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546490112001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139723811648962560,"note":"Value kept but may cause issues"} 
[2026-10-05 16:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889190896121819136,"note":"Value kept but may cause issues"} 
[2026-10-05 16:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791197238000,"timestamp_ms":1791197238000,"timestamp_seconds":1791197238,"priority":1,"record_length":96,"hex_timestamp":"000001a10bacd2f0"} 
[2026-10-05 16:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:19: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-10-05 16:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-10-05 16:19:13] 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-10-05 16:19: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-10-05 16:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":204653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":204653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":204653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546490112001,"66":14026,"201":206,"87":13824,"24":36,"16":139723811648962560,"45":8889190896121819136},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-10-05 16:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546490112001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:19:13] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-10-05 16:19:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139723811648962560,"km_value":139723811648962.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889190896121819136,"description":"Unknown IO ID 45"} 
[2026-10-05 16:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546490112001,"power":14026,"unknown_201":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8889190896121819136}} 
[2026-10-05 16:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":204653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:19:13] local.INFO: GPS data processed {"connection_id":204653,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:19:13] local.INFO: Acknowledgment sent {"connection_id":204653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:19:31] local.INFO: TCP Data received {"connection_id":204774,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:19:31] local.INFO: Processing buffer {"connection_id":204774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:19:31] local.INFO: IMEI packet received {"connection_id":204774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":204774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:19:32] local.INFO: TCP Data received {"connection_id":204774,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:19:32] local.INFO: Processing buffer {"connection_id":204774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:19:32] local.INFO: IMEI packet received {"connection_id":204774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":204774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:19:32] local.INFO: TCP Data received {"connection_id":207718,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:19:32] local.INFO: Processing buffer {"connection_id":207718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:19:32] local.INFO: Packet analysis {"connection_id":207718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bad"} 
[2026-10-05 16:19:32] local.INFO: Extracted packet for processing {"connection_id":207718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bad"} 
[2026-10-05 16:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546419456001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791197252000,"timestamp_ms":1791197252000,"timestamp_seconds":1791197252,"priority":1,"record_length":96,"hex_timestamp":"000001a10bad09a0"} 
[2026-10-05 16:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 16:19:32] 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-10-05 16:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:19: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-10-05 16:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546419456001,"66":26006,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546419456001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:19:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:19:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546419456001,"power":26006,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":207718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:19:32] local.INFO: GPS data processed {"connection_id":207718,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:19:32] local.INFO: Acknowledgment sent {"connection_id":207718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:19:32] local.INFO: TCP Data received {"connection_id":204774,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10baeb368012d7b864005e70d800005009c29..."} 
[2026-10-05 16:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10baeb368012d7b864005e70d800005009c29..."} 
[2026-10-05 16:19:32] local.INFO: Processing buffer {"connection_id":204774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10baeb368012d7b864005e70d800005009c29..."} 
[2026-10-05 16:19:32] local.INFO: Packet analysis {"connection_id":204774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bae"} 
[2026-10-05 16:19:32] local.INFO: Extracted packet for processing {"connection_id":204774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bae"} 
[2026-10-05 16:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":99028352,"longitude_deg":76.3070016,"latitude_deg":9.9028352,"altitude":5,"angle":156,"satellites":41,"speed":29,"hex_longitude":"2d7b8640","hex_latitude":"05e70d80","is_valid_coordinates":true} 
[2026-10-05 16:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546523648001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139726388629340160,"note":"Value kept but may cause issues"} 
[2026-10-05 16:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899535101500876800,"note":"Value kept but may cause issues"} 
[2026-10-05 16:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791197361000,"timestamp_ms":1791197361000,"timestamp_seconds":1791197361,"priority":1,"record_length":96,"hex_timestamp":"000001a10baeb368"} 
[2026-10-05 16:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-05 16:19: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-10-05 16:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546523648001,"66":13798,"96":206,"87":13824,"24":29,"16":139726388629340160,"45":8899535101500876800},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 16:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546523648001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:19:32] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 16:19:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139726388629340160,"km_value":139726388629340.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899535101500876800,"description":"Unknown IO ID 45"} 
[2026-10-05 16:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546523648001,"power":13798,"unknown_96":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8899535101500876800}} 
[2026-10-05 16:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":204774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:19:32] local.INFO: GPS data processed {"connection_id":204774,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:19:32] local.INFO: Acknowledgment sent {"connection_id":204774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:19:38] local.INFO: TCP Data received {"connection_id":204774,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10baebb38012d7b884005e70728000500a729..."} 
[2026-10-05 16:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10baebb38012d7b884005e70728000500a729..."} 
[2026-10-05 16:19:38] local.INFO: Processing buffer {"connection_id":204774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10baebb38012d7b884005e70728000500a729..."} 
[2026-10-05 16:19:38] local.INFO: Packet analysis {"connection_id":204774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bae"} 
[2026-10-05 16:19:38] local.INFO: Extracted packet for processing {"connection_id":204774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bae"} 
[2026-10-05 16:19:38] local.INFO: GPS Element Parsed {"raw_longitude":763070528,"raw_latitude":99026728,"longitude_deg":76.3070528,"latitude_deg":9.9026728,"altitude":5,"angle":167,"satellites":41,"speed":35,"hex_longitude":"2d7b8840","hex_latitude":"05e70728","is_valid_coordinates":true} 
[2026-10-05 16:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546524416001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139726470233718784,"note":"Value kept but may cause issues"} 
[2026-10-05 16:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107639799808,"note":"Value kept but may cause issues"} 
[2026-10-05 16:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791197363000,"timestamp_ms":1791197363000,"timestamp_seconds":1791197363,"priority":1,"record_length":96,"hex_timestamp":"000001a10baebb38"} 
[2026-10-05 16:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 16:19:38] 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-10-05 16:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546524416001,"66":14135,"96":206,"87":13824,"24":35,"16":139726470233718784,"45":8900872107639799808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 16:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546524416001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:19:38] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 16:19:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139726470233718784,"km_value":139726470233718.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107639799808,"description":"Unknown IO ID 45"} 
[2026-10-05 16:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546524416001,"power":14135,"unknown_96":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8900872107639799808}} 
[2026-10-05 16:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":204774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:19:39] local.INFO: GPS data processed {"connection_id":204774,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:19:39] local.INFO: Acknowledgment sent {"connection_id":204774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:19:54] local.INFO: TCP Data received {"connection_id":204656,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:19:54] local.INFO: Processing buffer {"connection_id":204656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:19:54] local.INFO: IMEI packet received {"connection_id":204656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":204656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:19:59] local.INFO: TCP Data received {"connection_id":204656,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:19:59] local.INFO: Processing buffer {"connection_id":204656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:19:59] local.INFO: IMEI packet received {"connection_id":204656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":204656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:20:00] local.INFO: TCP Data received {"connection_id":204656,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:20:00] local.INFO: Processing buffer {"connection_id":204656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:20:00] local.INFO: Packet analysis {"connection_id":204656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bad"} 
[2026-10-05 16:20:00] local.INFO: Extracted packet for processing {"connection_id":204656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bad"} 
[2026-10-05 16:20:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 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-10-05 16:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546419456001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791197252000,"timestamp_ms":1791197252000,"timestamp_seconds":1791197252,"priority":1,"record_length":96,"hex_timestamp":"000001a10bad09a0"} 
[2026-10-05 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-10-05 16:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 16:20:00] 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-10-05 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-10-05 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-10-05 16:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:20: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-10-05 16:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546419456001,"66":26006,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546419456001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:20:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:20:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546419456001,"power":26006,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":204656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:20:00] local.INFO: GPS data processed {"connection_id":204656,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:20:00] local.INFO: Acknowledgment sent {"connection_id":204656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:20:13] local.INFO: TCP Data received {"connection_id":204774,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10baed690012d7b8fc005e6efb80005009b27..."} 
[2026-10-05 16:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10baed690012d7b8fc005e6efb80005009b27..."} 
[2026-10-05 16:20:13] local.INFO: Processing buffer {"connection_id":204774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10baed690012d7b8fc005e6efb80005009b27..."} 
[2026-10-05 16:20:13] local.INFO: Packet analysis {"connection_id":204774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bae"} 
[2026-10-05 16:20:13] local.INFO: Extracted packet for processing {"connection_id":204774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bae"} 
[2026-10-05 16:20:13] local.INFO: GPS Element Parsed {"raw_longitude":763072448,"raw_latitude":99020728,"longitude_deg":76.3072448,"latitude_deg":9.9020728,"altitude":5,"angle":155,"satellites":39,"speed":34,"hex_longitude":"2d7b8fc0","hex_latitude":"05e6efb8","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546524928001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139726775176396800,"note":"Value kept but may cause issues"} 
[2026-10-05 16:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901435057592805376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791197370000,"timestamp_ms":1791197370000,"timestamp_seconds":1791197370,"priority":1,"record_length":96,"hex_timestamp":"000001a10baed690"} 
[2026-10-05 16:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:20: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-10-05 16: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-10-05 16:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":204774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":204774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":204774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546524928001,"66":13678,"96":206,"87":13824,"24":34,"16":139726775176396800,"45":8901435057592805376},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 16:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546524928001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:20:13] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 16:20:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139726775176396800,"km_value":139726775176396.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901435057592805376,"description":"Unknown IO ID 45"} 
[2026-10-05 16:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546524928001,"power":13678,"unknown_96":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8901435057592805376}} 
[2026-10-05 16:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":204774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:20:14] local.INFO: GPS data processed {"connection_id":204774,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:20:14] local.INFO: Acknowledgment sent {"connection_id":204774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:20:28] local.INFO: TCP Data received {"connection_id":204657,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204657,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:20:28] local.INFO: Processing buffer {"connection_id":204657,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:20:28] local.INFO: IMEI packet received {"connection_id":204657,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":204657,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:20:30] local.INFO: TCP Data received {"connection_id":204657,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204657,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:20:30] local.INFO: Processing buffer {"connection_id":204657,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:20:30] local.INFO: IMEI packet received {"connection_id":204657,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":204657,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:20:30] local.INFO: TCP Data received {"connection_id":204657,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204657,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:20:30] local.INFO: Processing buffer {"connection_id":204657,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:20:30] local.INFO: IMEI packet received {"connection_id":204657,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":204657,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:20:31] local.INFO: TCP Data received {"connection_id":204656,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:20:31] local.INFO: Processing buffer {"connection_id":204656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:20:31] local.INFO: Packet analysis {"connection_id":204656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bad"} 
[2026-10-05 16:20:31] local.INFO: Extracted packet for processing {"connection_id":204656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bad"} 
[2026-10-05 16:20:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546419456001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791197252000,"timestamp_ms":1791197252000,"timestamp_seconds":1791197252,"priority":1,"record_length":96,"hex_timestamp":"000001a10bad09a0"} 
[2026-10-05 16:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 16:20:31] 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-10-05 16:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:20: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-10-05 16:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546419456001,"66":26006,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546419456001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:20:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:20:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546419456001,"power":26006,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":204656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:20:31] local.INFO: GPS data processed {"connection_id":204656,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:20:31] local.INFO: Acknowledgment sent {"connection_id":204656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:20:35] local.INFO: TCP Data received {"connection_id":204657,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204657,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:20:35] local.INFO: Processing buffer {"connection_id":204657,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:20:35] local.INFO: IMEI packet received {"connection_id":204657,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":204657,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:20:36] local.INFO: TCP Data received {"connection_id":204657,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10baef5d0012d7b98c005e6d988000500a825..."} 
[2026-10-05 16:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10baef5d0012d7b98c005e6d988000500a825..."} 
[2026-10-05 16:20:36] local.INFO: Processing buffer {"connection_id":204657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10baef5d0012d7b98c005e6d988000500a825..."} 
[2026-10-05 16:20:36] local.INFO: Packet analysis {"connection_id":204657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bae"} 
[2026-10-05 16:20:36] local.INFO: Extracted packet for processing {"connection_id":204657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bae"} 
[2026-10-05 16:20:36] local.INFO: GPS Element Parsed {"raw_longitude":763074752,"raw_latitude":99015048,"longitude_deg":76.3074752,"latitude_deg":9.9015048,"altitude":5,"angle":168,"satellites":37,"speed":30,"hex_longitude":"2d7b98c0","hex_latitude":"05e6d988","is_valid_coordinates":true} 
[2026-10-05 16:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546526720001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139727071529140224,"note":"Value kept but may cause issues"} 
[2026-10-05 16:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903546119916599296,"note":"Value kept but may cause issues"} 
[2026-10-05 16:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791197378000,"timestamp_ms":1791197378000,"timestamp_seconds":1791197378,"priority":1,"record_length":96,"hex_timestamp":"000001a10baef5d0"} 
[2026-10-05 16:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:20: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-10-05 16:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 16:20: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-10-05 16:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546526720001,"66":13580,"96":206,"87":13824,"24":30,"16":139727071529140224,"45":8903546119916599296},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 16:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546526720001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:20:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 16:20:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139727071529140224,"km_value":139727071529140.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903546119916599296,"description":"Unknown IO ID 45"} 
[2026-10-05 16:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546526720001,"power":13580,"unknown_96":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8903546119916599296}} 
[2026-10-05 16:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":204657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:20:36] local.INFO: GPS data processed {"connection_id":204657,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:20:36] local.INFO: Acknowledgment sent {"connection_id":204657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:20:43] local.INFO: TCP Data received {"connection_id":207719,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207719,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:20:43] local.INFO: Processing buffer {"connection_id":207719,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:20:43] local.INFO: IMEI packet received {"connection_id":207719,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 16:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":207719,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:20:44] local.INFO: TCP Data received {"connection_id":207719,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bae9fe0012d0e2bc007067738001b015e1f..."} 
[2026-10-05 16:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bae9fe0012d0e2bc007067738001b015e1f..."} 
[2026-10-05 16:20:44] local.INFO: Processing buffer {"connection_id":207719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bae9fe0012d0e2bc007067738001b015e1f..."} 
[2026-10-05 16:20:44] local.INFO: Packet analysis {"connection_id":207719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bae"} 
[2026-10-05 16:20:44] local.INFO: Extracted packet for processing {"connection_id":207719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bae"} 
[2026-10-05 16:20:44] local.INFO: GPS Element Parsed {"raw_longitude":755903424,"raw_latitude":117864248,"longitude_deg":75.5903424,"latitude_deg":11.7864248,"altitude":27,"angle":350,"satellites":31,"speed":17,"hex_longitude":"2d0e2bc0","hex_latitude":"07067738","is_valid_coordinates":true} 
[2026-10-05 16:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546522112001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34837433220595712,"note":"Value kept but may cause issues"} 
[2026-10-05 16:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1021191245679153152,"note":"Value kept but may cause issues"} 
[2026-10-05 16:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791197356000,"timestamp_ms":1791197356000,"timestamp_seconds":1791197356,"priority":1,"record_length":96,"hex_timestamp":"000001a10bae9fe0"} 
[2026-10-05 16:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-05 16:20:44] 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-10-05 16:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":207719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":207719,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":207719,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546522112001,"66":14515,"219":206,"94":10240,"24":17,"16":34837433220595712,"45":1021191245679153152},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-05 16:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546522112001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:20:44] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-05 16:20:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 16:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34837433220595712,"km_value":34837433220595.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1021191245679153152,"description":"Unknown IO ID 45"} 
[2026-10-05 16:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546522112001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":1021191245679153152}} 
[2026-10-05 16:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":207719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968457,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:20:44] local.INFO: GPS data processed {"connection_id":207719,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:20:44] local.INFO: Acknowledgment sent {"connection_id":207719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:20:54] local.INFO: TCP Data received {"connection_id":204658,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:20:54] local.INFO: Processing buffer {"connection_id":204658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:20:54] local.INFO: IMEI packet received {"connection_id":204658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":204658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:20:59] local.INFO: TCP Data received {"connection_id":204658,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:20:59] local.INFO: Processing buffer {"connection_id":204658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:20:59] local.INFO: IMEI packet received {"connection_id":204658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":204658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:21:00] local.INFO: TCP Data received {"connection_id":204658,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:21:00] local.INFO: Processing buffer {"connection_id":204658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:21:00] local.INFO: Packet analysis {"connection_id":204658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bad"} 
[2026-10-05 16:21:00] local.INFO: Extracted packet for processing {"connection_id":204658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bad"} 
[2026-10-05 16:21:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546419456001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791197252000,"timestamp_ms":1791197252000,"timestamp_seconds":1791197252,"priority":1,"record_length":96,"hex_timestamp":"000001a10bad09a0"} 
[2026-10-05 16:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 16:21:00] 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-10-05 16:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:21: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-10-05 16:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546419456001,"66":26006,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546419456001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:21:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:21:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546419456001,"power":26006,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":204658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:21:00] local.INFO: GPS data processed {"connection_id":204658,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:21:00] local.INFO: Acknowledgment sent {"connection_id":204658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:21:07] local.INFO: TCP Data received {"connection_id":204657,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10baf0188012d7b994005e6d150000500b521..."} 
[2026-10-05 16:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10baf0188012d7b994005e6d150000500b521..."} 
[2026-10-05 16:21:07] local.INFO: Processing buffer {"connection_id":204657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10baf0188012d7b994005e6d150000500b521..."} 
[2026-10-05 16:21:07] local.INFO: Packet analysis {"connection_id":204657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10baf"} 
[2026-10-05 16:21:07] local.INFO: Extracted packet for processing {"connection_id":204657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10baf"} 
[2026-10-05 16:21:07] local.INFO: GPS Element Parsed {"raw_longitude":763074880,"raw_latitude":99012944,"longitude_deg":76.307488,"latitude_deg":9.9012944,"altitude":5,"angle":181,"satellites":33,"speed":26,"hex_longitude":"2d7b9940","hex_latitude":"05e6d150","is_valid_coordinates":true} 
[2026-10-05 16:21: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-10-05 16:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546528768001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139727174608355328,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906079394705541120,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791197381000,"timestamp_ms":1791197381000,"timestamp_seconds":1791197381,"priority":1,"record_length":96,"hex_timestamp":"000001a10baf0188"} 
[2026-10-05 16:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:21: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-10-05 16:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 16:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751640679,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3878957056,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-1123667898238238720,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:07] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2930225153,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634226728258912,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298137294,"corrected_to":0} 
[2026-10-05 16:21:07] local.WARNING: Large IO value detected {"io_id":124,"raw_value":3087084923,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:07] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2197867853,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:07] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:07] local.WARNING: Large IO value detected {"io_id":123,"raw_value":8340673001038544899,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:07] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755523995238641,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:07] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,96,87,24,241,157,16,105,161,214,45,192,239,5,39,10,66,104,187,64,7,41,179,1,240,230,227,11,231,4,113,205,28,124,120,42,55,2,9,123,54],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1298137294,"validated":0}]} 
[2026-10-05 16:21:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360472847058862080,"timestamp_seconds":360472847058862.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 16:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546528768001,"66":13961,"96":206,"87":13824,"24":26,"16":139727174608355328,"45":8906079394705541120},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 16:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546528768001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:21:07] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 16:21:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139727174608355328,"km_value":139727174608355.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906079394705541120,"description":"Unknown IO ID 45"} 
[2026-10-05 16:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546528768001,"power":13961,"unknown_96":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8906079394705541120}} 
[2026-10-05 16:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":204657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:21:07] local.INFO: GPS data processed {"connection_id":204657,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:21:07] local.INFO: Acknowledgment sent {"connection_id":204657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:21:15] local.INFO: TCP Data received {"connection_id":207719,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb05560012d0e0380070691380019004c20..."} 
[2026-10-05 16:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb05560012d0e0380070691380019004c20..."} 
[2026-10-05 16:21:15] local.INFO: Processing buffer {"connection_id":207719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb05560012d0e0380070691380019004c20..."} 
[2026-10-05 16:21:15] local.INFO: Packet analysis {"connection_id":207719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb0"} 
[2026-10-05 16:21:15] local.INFO: Extracted packet for processing {"connection_id":207719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb0"} 
[2026-10-05 16:21:15] local.INFO: GPS Element Parsed {"raw_longitude":755893120,"raw_latitude":117870904,"longitude_deg":75.589312,"latitude_deg":11.7870904,"altitude":25,"angle":76,"satellites":32,"speed":6,"hex_longitude":"2d0e0380","hex_latitude":"07069138","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546551552001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34838159070068736,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009580402891884544,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791197468000,"timestamp_ms":1791197468000,"timestamp_seconds":1791197468,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb05560"} 
[2026-10-05 16:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16: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":114,"data_length":795,"current_offset":136} 
[2026-10-05 16:21:15] 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-10-05 16: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-10-05 16:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207719,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207719,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546551552001,"66":14450,"219":206,"94":10240,"24":6,"16":34838159070068736,"45":1009580402891884544},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-05 16:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546551552001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:21:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-05 16:21:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 16:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34838159070068736,"km_value":34838159070068.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009580402891884544,"description":"Unknown IO ID 45"} 
[2026-10-05 16:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546551552001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1009580402891884544}} 
[2026-10-05 16:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":207719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968460,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:21:15] local.INFO: GPS data processed {"connection_id":207719,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:21:15] local.INFO: Acknowledgment sent {"connection_id":207719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:21:31] local.INFO: TCP Data received {"connection_id":204659,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:21:31] local.INFO: Processing buffer {"connection_id":204659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:21:31] local.INFO: IMEI packet received {"connection_id":204659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":204659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:21:32] local.INFO: TCP Data received {"connection_id":204658,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:21:32] local.INFO: Processing buffer {"connection_id":204658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:21:32] local.INFO: Packet analysis {"connection_id":204658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bad"} 
[2026-10-05 16:21:32] local.INFO: Extracted packet for processing {"connection_id":204658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bad"} 
[2026-10-05 16:21:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546419456001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791197252000,"timestamp_ms":1791197252000,"timestamp_seconds":1791197252,"priority":1,"record_length":96,"hex_timestamp":"000001a10bad09a0"} 
[2026-10-05 16:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 16:21:32] 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-10-05 16: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-10-05 16:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:21: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-10-05 16:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546419456001,"66":26006,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546419456001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:21:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:21:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546419456001,"power":26006,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":204658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:21:32] local.INFO: GPS data processed {"connection_id":204658,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:21:32] local.INFO: Acknowledgment sent {"connection_id":204658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:21:34] local.INFO: TCP Data received {"connection_id":204659,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:21:34] local.INFO: Processing buffer {"connection_id":204659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:21:34] local.INFO: IMEI packet received {"connection_id":204659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":204659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:21:35] local.INFO: TCP Data received {"connection_id":204659,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb03df0012d7bc90005e631e8000b00a72a..."} 
[2026-10-05 16:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb03df0012d7bc90005e631e8000b00a72a..."} 
[2026-10-05 16:21:35] local.INFO: Processing buffer {"connection_id":204659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb03df0012d7bc90005e631e8000b00a72a..."} 
[2026-10-05 16:21:35] local.INFO: Packet analysis {"connection_id":204659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb0"} 
[2026-10-05 16:21:35] local.INFO: Extracted packet for processing {"connection_id":204659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb0"} 
[2026-10-05 16:21:35] local.INFO: GPS Element Parsed {"raw_longitude":763087104,"raw_latitude":98972136,"longitude_deg":76.3087104,"latitude_deg":9.8972136,"altitude":11,"angle":167,"satellites":42,"speed":6,"hex_longitude":"2d7bc900","hex_latitude":"05e631e8","is_valid_coordinates":true} 
[2026-10-05 16:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546545920001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139729296322199552,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918042081205438464,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:35] 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-10-05 16:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791197462000,"timestamp_ms":1791197462000,"timestamp_seconds":1791197462,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb03df0"} 
[2026-10-05 16:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:21: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-10-05 16:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 16:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751640681,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:35] local.WARNING: Large IO value detected {"io_id":106,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-1123036778563895296,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:35] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":13454687,"corrected_to":0} 
[2026-10-05 16:21:35] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2944305153,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:35] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635210275769696,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298071758,"corrected_to":0} 
[2026-10-05 16:21:35] local.WARNING: Large IO value detected {"io_id":168,"raw_value":3221612139,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:35] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3866540032,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:35] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-7187738517300051960,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:35] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755579829813489,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:35] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,95,87,24,241,157,16,106,161,243,45,61,10,40,66,185,64,90,7,39,177,1,240,202,227,11,230,4,113,205,12,107,168,38,239,52,96,2,5,123,54],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":202,"original":13454687,"validated":0},{"io_id":205,"original":1298071758,"validated":0}]} 
[2026-10-05 16:21:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648686743419617280,"timestamp_seconds":648686743419617.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 16:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":204659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":204659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":204659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546545920001,"66":14298,"95":206,"87":13824,"24":6,"16":139729296322199552,"45":8918042081205438464},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-10-05 16:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546545920001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:21:35] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 16:21:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139729296322199552,"km_value":139729296322199.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918042081205438464,"description":"Unknown IO ID 45"} 
[2026-10-05 16:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546545920001,"power":14298,"unknown_95":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8918042081205438464}} 
[2026-10-05 16:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":204659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968462,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:21:35] local.INFO: GPS data processed {"connection_id":204659,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:21:35] local.INFO: Acknowledgment sent {"connection_id":204659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:21:42] local.INFO: TCP Data received {"connection_id":204660,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204660,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:21:42] local.INFO: Processing buffer {"connection_id":204660,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:21:42] local.INFO: IMEI packet received {"connection_id":204660,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 16:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":204660,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:21:48] local.INFO: TCP Data received {"connection_id":204660,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204660,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:21:48] local.INFO: Processing buffer {"connection_id":204660,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:21:48] local.INFO: IMEI packet received {"connection_id":204660,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":204660,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:21:48] local.INFO: TCP Data received {"connection_id":204660,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb05948012d0e0400070690e80019007320..."} 
[2026-10-05 16:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb05948012d0e0400070690e80019007320..."} 
[2026-10-05 16:21:48] local.INFO: Processing buffer {"connection_id":204660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb05948012d0e0400070690e80019007320..."} 
[2026-10-05 16:21:48] local.INFO: Packet analysis {"connection_id":204660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb0"} 
[2026-10-05 16:21:48] local.INFO: Extracted packet for processing {"connection_id":204660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb0"} 
[2026-10-05 16:21:48] local.INFO: GPS Element Parsed {"raw_longitude":755893248,"raw_latitude":117870824,"longitude_deg":75.5893248,"latitude_deg":11.7870824,"altitude":25,"angle":115,"satellites":32,"speed":6,"hex_longitude":"2d0e0400","hex_latitude":"070690e8","is_valid_coordinates":true} 
[2026-10-05 16:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546551808001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34838167660003328,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009791509124429824,"note":"Value kept but may cause issues"} 
[2026-10-05 16:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791197469000,"timestamp_ms":1791197469000,"timestamp_seconds":1791197469,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb05948"} 
[2026-10-05 16:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:21:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-05 16:21: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-10-05 16:21:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204660,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204660,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546551808001,"66":14461,"219":206,"94":10240,"24":6,"16":34838167660003328,"45":1009791509124429824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-05 16:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546551808001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:21:48] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-05 16:21:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 16:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34838167660003328,"km_value":34838167660003.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009791509124429824,"description":"Unknown IO ID 45"} 
[2026-10-05 16:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546551808001,"power":14461,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1009791509124429824}} 
[2026-10-05 16:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":204660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968463,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:21:49] local.INFO: GPS data processed {"connection_id":204660,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:21:49] local.INFO: Acknowledgment sent {"connection_id":204660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:21:54] local.INFO: TCP Data received {"connection_id":207720,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:21:54] local.INFO: Processing buffer {"connection_id":207720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:21:54] local.INFO: IMEI packet received {"connection_id":207720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":207720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:21:56] local.INFO: TCP Data received {"connection_id":204775,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:21:56] local.INFO: Processing buffer {"connection_id":204775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:21:56] local.INFO: IMEI packet received {"connection_id":204775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 16:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":204775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:21:59] local.INFO: TCP Data received {"connection_id":207720,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:21:59] local.INFO: Processing buffer {"connection_id":207720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:21:59] local.INFO: IMEI packet received {"connection_id":207720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":207720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:22:00] local.INFO: TCP Data received {"connection_id":207720,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:22:00] local.INFO: Processing buffer {"connection_id":207720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:22:00] local.INFO: Packet analysis {"connection_id":207720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bad"} 
[2026-10-05 16:22:00] local.INFO: Extracted packet for processing {"connection_id":207720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bad"} 
[2026-10-05 16:22:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546419456001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791197252000,"timestamp_ms":1791197252000,"timestamp_seconds":1791197252,"priority":1,"record_length":96,"hex_timestamp":"000001a10bad09a0"} 
[2026-10-05 16:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 16:22:00] 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-10-05 16: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-10-05 16:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:22:00] 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-10-05 16:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546419456001,"66":26006,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546419456001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:22:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:22:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546419456001,"power":26006,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":207720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:22:00] local.INFO: GPS data processed {"connection_id":207720,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:22:00] local.INFO: Acknowledgment sent {"connection_id":207720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:22:07] local.INFO: TCP Data received {"connection_id":204659,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb05d30012d7bcc0005e62a70000b009928..."} 
[2026-10-05 16:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb05d30012d7bcc0005e62a70000b009928..."} 
[2026-10-05 16:22:07] local.INFO: Processing buffer {"connection_id":204659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb05d30012d7bcc0005e62a70000b009928..."} 
[2026-10-05 16:22:07] local.INFO: Packet analysis {"connection_id":204659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb0"} 
[2026-10-05 16:22:07] local.INFO: Extracted packet for processing {"connection_id":204659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb0"} 
[2026-10-05 16:22:07] local.INFO: GPS Element Parsed {"raw_longitude":763087872,"raw_latitude":98970224,"longitude_deg":76.3087872,"latitude_deg":9.8970224,"altitude":11,"angle":153,"satellites":40,"speed":3,"hex_longitude":"2d7bcc00","hex_latitude":"05e62a70","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546550272001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139729395106447360,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919660562320844800,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:07] 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-10-05 16:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791197470000,"timestamp_ms":1791197470000,"timestamp_seconds":1791197470,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb05d30"} 
[2026-10-05 16:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:22: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-10-05 16: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-10-05 16:22:07] 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-10-05 16: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-10-05 16:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546550272001,"66":13830,"95":206,"87":13824,"24":3,"16":139729395106447360,"45":8919660562320844800},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-10-05 16:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546550272001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:22:07] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 16:22:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139729395106447360,"km_value":139729395106447.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919660562320844800,"description":"Unknown IO ID 45"} 
[2026-10-05 16:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546550272001,"power":13830,"unknown_95":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8919660562320844800}} 
[2026-10-05 16:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":204659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:22:07] local.INFO: GPS data processed {"connection_id":204659,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:22:07] local.INFO: Acknowledgment sent {"connection_id":204659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:22:20] local.INFO: TCP Data received {"connection_id":204660,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb137f0012d0e3140070685d00024001d1f..."} 
[2026-10-05 16:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb137f0012d0e3140070685d00024001d1f..."} 
[2026-10-05 16:22:20] local.INFO: Processing buffer {"connection_id":204660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb137f0012d0e3140070685d00024001d1f..."} 
[2026-10-05 16:22:20] local.INFO: Packet analysis {"connection_id":204660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb1"} 
[2026-10-05 16:22:20] local.INFO: Extracted packet for processing {"connection_id":204660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb1"} 
[2026-10-05 16:22:20] local.INFO: GPS Element Parsed {"raw_longitude":755904832,"raw_latitude":117867984,"longitude_deg":75.5904832,"latitude_deg":11.7867984,"altitude":36,"angle":29,"satellites":31,"speed":13,"hex_longitude":"2d0e3140","hex_latitude":"070685d0","is_valid_coordinates":true} 
[2026-10-05 16:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546566144001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34838820495032320,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022246776843001856,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791197526000,"timestamp_ms":1791197526000,"timestamp_seconds":1791197526,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb137f0"} 
[2026-10-05 16:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-05 16:22:20] 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-10-05 16:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":204660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":204660,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":204660,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546566144001,"66":14439,"219":206,"94":10240,"24":13,"16":34838820495032320,"45":1022246776843001856},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-05 16:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546566144001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:22:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-05 16:22:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 16:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34838820495032320,"km_value":34838820495032.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022246776843001856,"description":"Unknown IO ID 45"} 
[2026-10-05 16:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546566144001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":1022246776843001856}} 
[2026-10-05 16:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":204660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968466,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:22:20] local.INFO: GPS data processed {"connection_id":204660,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:22:20] local.INFO: Acknowledgment sent {"connection_id":204660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:22:31] local.INFO: TCP Data received {"connection_id":204661,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:22:31] local.INFO: Processing buffer {"connection_id":204661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:22:31] local.INFO: IMEI packet received {"connection_id":204661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":204661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:22:32] local.INFO: TCP Data received {"connection_id":207720,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:22:32] local.INFO: Processing buffer {"connection_id":207720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:22:32] local.INFO: Packet analysis {"connection_id":207720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bad"} 
[2026-10-05 16:22:32] local.INFO: Extracted packet for processing {"connection_id":207720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bad"} 
[2026-10-05 16:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546419456001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791197252000,"timestamp_ms":1791197252000,"timestamp_seconds":1791197252,"priority":1,"record_length":96,"hex_timestamp":"000001a10bad09a0"} 
[2026-10-05 16:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 16:22:32] 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-10-05 16:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:22: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-10-05 16:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546419456001,"66":26006,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546419456001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:22:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:22:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546419456001,"power":26006,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":207720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:22:32] local.INFO: GPS data processed {"connection_id":207720,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:22:32] local.INFO: Acknowledgment sent {"connection_id":207720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:22:32] local.INFO: TCP Data received {"connection_id":204661,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:22:32] local.INFO: Processing buffer {"connection_id":204661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:22:32] local.INFO: IMEI packet received {"connection_id":204661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":204661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:22:34] local.INFO: TCP Data received {"connection_id":206186,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206186,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:22:34] local.INFO: Processing buffer {"connection_id":206186,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:22:34] local.INFO: IMEI packet received {"connection_id":206186,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 16:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":206186,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:22:36] local.INFO: TCP Data received {"connection_id":204661,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:22:36] local.INFO: Processing buffer {"connection_id":204661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:22:36] local.INFO: IMEI packet received {"connection_id":204661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":204661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:22:37] local.INFO: TCP Data received {"connection_id":204661,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb08440012d7bce0005e62538000b00a727..."} 
[2026-10-05 16:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb08440012d7bce0005e62538000b00a727..."} 
[2026-10-05 16:22:37] local.INFO: Processing buffer {"connection_id":204661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb08440012d7bce0005e62538000b00a727..."} 
[2026-10-05 16:22:37] local.INFO: Packet analysis {"connection_id":204661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb0"} 
[2026-10-05 16:22:37] local.INFO: Extracted packet for processing {"connection_id":204661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb0"} 
[2026-10-05 16:22:37] local.INFO: GPS Element Parsed {"raw_longitude":763088384,"raw_latitude":98968888,"longitude_deg":76.3088384,"latitude_deg":9.8968888,"altitude":11,"angle":167,"satellites":39,"speed":13,"hex_longitude":"2d7bce00","hex_latitude":"05e62538","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546552320001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139729468120891392,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920504987250487296,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:37] 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-10-05 16:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791197480000,"timestamp_ms":1791197480000,"timestamp_seconds":1791197480,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb08440"} 
[2026-10-05 16:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:22: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-10-05 16: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":6,"data_length":795,"current_offset":136} 
[2026-10-05 16:22:37] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3377708326256640,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626585390592,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:37] local.WARNING: Large IO value detected {"io_id":107,"raw_value":7699167576103,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:37] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2948145153,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:37] local.WARNING: Large IO value detected {"io_id":106,"raw_value":3892314112,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298071758,"corrected_to":0} 
[2026-10-05 16:22:37] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3389050189,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3865102336,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:37] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,95,87,24,241,157,16,107,161,61,45,49,11,42,10,66,251,64,60,9,40,106,243,1,240,185,227,230,4,113,205,177,178,192,38,239,54,2,5,7,12],"length":528,"final_offset":658,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1298071758,"validated":0}]} 
[2026-10-05 16:22:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792801931495145472,"timestamp_seconds":792801931495145.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 16:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546552320001,"66":14211,"95":206,"87":13824,"24":13,"16":139729468120891392,"45":8920504987250487296},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-10-05 16:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546552320001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:22:37] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 16:22:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139729468120891392,"km_value":139729468120891.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920504987250487296,"description":"Unknown IO ID 45"} 
[2026-10-05 16:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546552320001,"power":14211,"unknown_95":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8920504987250487296}} 
[2026-10-05 16:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":204661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968468,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:22:37] local.INFO: GPS data processed {"connection_id":204661,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:22:37] local.INFO: Acknowledgment sent {"connection_id":204661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:22:42] local.INFO: TCP Data received {"connection_id":206187,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206187,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:22:42] local.INFO: Processing buffer {"connection_id":206187,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:22:42] local.INFO: IMEI packet received {"connection_id":206187,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 16:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":206187,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:22:42] local.INFO: TCP Data received {"connection_id":204661,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb0b320012d7bd88005e603f0000b00a226..."} 
[2026-10-05 16:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb0b320012d7bd88005e603f0000b00a226..."} 
[2026-10-05 16:22:42] local.INFO: Processing buffer {"connection_id":204661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb0b320012d7bd88005e603f0000b00a226..."} 
[2026-10-05 16:22:42] local.INFO: Packet analysis {"connection_id":204661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb0"} 
[2026-10-05 16:22:42] local.INFO: Extracted packet for processing {"connection_id":204661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb0"} 
[2026-10-05 16:22:42] local.INFO: GPS Element Parsed {"raw_longitude":763091072,"raw_latitude":98960368,"longitude_deg":76.3091072,"latitude_deg":9.8960368,"altitude":11,"angle":162,"satellites":38,"speed":39,"hex_longitude":"2d7bd880","hex_latitude":"05e603f0","is_valid_coordinates":true} 
[2026-10-05 16:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546554880001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139729901912588288,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921067937203566592,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:42] 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-10-05 16:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791197492000,"timestamp_ms":1791197492000,"timestamp_seconds":1791197492,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb0b320"} 
[2026-10-05 16:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-05 16:22:42] 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-10-05 16:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546554880001,"66":14254,"95":206,"87":13824,"24":39,"16":139729901912588288,"45":8921067937203566592},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-10-05 16:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546554880001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:22:42] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 16:22:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139729901912588288,"km_value":139729901912588.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921067937203566592,"description":"Unknown IO ID 45"} 
[2026-10-05 16:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546554880001,"power":14254,"unknown_95":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8921067937203566592}} 
[2026-10-05 16:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":204661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:22:42] local.INFO: GPS data processed {"connection_id":204661,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:22:42] local.INFO: Acknowledgment sent {"connection_id":204661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:22:44] local.INFO: TCP Data received {"connection_id":206187,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206187,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:22:44] local.INFO: Processing buffer {"connection_id":206187,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:22:44] local.INFO: IMEI packet received {"connection_id":206187,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":206187,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:22:45] local.INFO: TCP Data received {"connection_id":206187,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb143a8012d0e32c007068a880025000b1f..."} 
[2026-10-05 16:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb143a8012d0e32c007068a880025000b1f..."} 
[2026-10-05 16:22:45] local.INFO: Processing buffer {"connection_id":206187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb143a8012d0e32c007068a880025000b1f..."} 
[2026-10-05 16:22:45] local.INFO: Packet analysis {"connection_id":206187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb1"} 
[2026-10-05 16:22:45] local.INFO: Extracted packet for processing {"connection_id":206187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb1"} 
[2026-10-05 16:22:45] local.INFO: GPS Element Parsed {"raw_longitude":755905216,"raw_latitude":117869192,"longitude_deg":75.5905216,"latitude_deg":11.7869192,"altitude":37,"angle":11,"satellites":31,"speed":18,"hex_longitude":"2d0e32c0","hex_latitude":"07068a88","is_valid_coordinates":true} 
[2026-10-05 16:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546566656001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34838884919541760,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022668989308194816,"note":"Value kept but may cause issues"} 
[2026-10-05 16:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791197529000,"timestamp_ms":1791197529000,"timestamp_seconds":1791197529,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb143a8"} 
[2026-10-05 16:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-05 16:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":206187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":206187,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":206187,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546566656001,"66":14439,"219":206,"94":10240,"24":18,"16":34838884919541760,"45":1022668989308194816},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-05 16:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546566656001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:22:45] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-05 16:22:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 16:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34838884919541760,"km_value":34838884919541.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022668989308194816,"description":"Unknown IO ID 45"} 
[2026-10-05 16:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546566656001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":1022668989308194816}} 
[2026-10-05 16:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":206187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968470,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:22:45] local.INFO: GPS data processed {"connection_id":206187,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:22:45] local.INFO: Acknowledgment sent {"connection_id":206187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:22:59] local.INFO: TCP Data received {"connection_id":206188,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:22:59] local.INFO: Processing buffer {"connection_id":206188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:22:59] local.INFO: IMEI packet received {"connection_id":206188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":206188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:23:04] local.INFO: TCP Data received {"connection_id":206188,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:23:04] local.INFO: Processing buffer {"connection_id":206188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:23:04] local.INFO: IMEI packet received {"connection_id":206188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":206188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:23:05] local.INFO: TCP Data received {"connection_id":206188,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:23:05] local.INFO: Processing buffer {"connection_id":206188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:23:05] local.INFO: Packet analysis {"connection_id":206188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bad"} 
[2026-10-05 16:23:05] local.INFO: Extracted packet for processing {"connection_id":206188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bad"} 
[2026-10-05 16:23:05] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546419456001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791197252000,"timestamp_ms":1791197252000,"timestamp_seconds":1791197252,"priority":1,"record_length":96,"hex_timestamp":"000001a10bad09a0"} 
[2026-10-05 16:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:23: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-10-05 16: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 16:23:05] 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-10-05 16: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-10-05 16:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":206188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":206188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":206188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:23: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-10-05 16:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546419456001,"66":26006,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546419456001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:23:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:23:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546419456001,"power":26006,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":206188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:23:05] local.INFO: GPS data processed {"connection_id":206188,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:23:05] local.INFO: Acknowledgment sent {"connection_id":206188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:23:10] local.INFO: TCP Data received {"connection_id":206188,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:23:10] local.INFO: Processing buffer {"connection_id":206188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bad09a0012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:23:10] local.INFO: Packet analysis {"connection_id":206188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bad"} 
[2026-10-05 16:23:10] local.INFO: Extracted packet for processing {"connection_id":206188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bad"} 
[2026-10-05 16:23:10] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546419456001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791197252000,"timestamp_ms":1791197252000,"timestamp_seconds":1791197252,"priority":1,"record_length":96,"hex_timestamp":"000001a10bad09a0"} 
[2026-10-05 16:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 16:23:10] 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-10-05 16: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-10-05 16:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":206188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":206188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":206188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:23: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-10-05 16:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546419456001,"66":26006,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546419456001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:23:10] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:23:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546419456001,"power":26006,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":206188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:23:10] local.INFO: GPS data processed {"connection_id":206188,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:23:10] local.INFO: Acknowledgment sent {"connection_id":206188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:23:15] local.INFO: TCP Data received {"connection_id":204661,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb1dc00012d7c428005e522280007008c27..."} 
[2026-10-05 16:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb1dc00012d7c428005e522280007008c27..."} 
[2026-10-05 16:23:15] local.INFO: Processing buffer {"connection_id":204661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb1dc00012d7c428005e522280007008c27..."} 
[2026-10-05 16:23:15] local.INFO: Packet analysis {"connection_id":204661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb1"} 
[2026-10-05 16:23:15] local.INFO: Extracted packet for processing {"connection_id":204661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb1"} 
[2026-10-05 16:23:15] local.INFO: GPS Element Parsed {"raw_longitude":763118208,"raw_latitude":98902568,"longitude_deg":76.3118208,"latitude_deg":9.8902568,"altitude":7,"angle":140,"satellites":39,"speed":5,"hex_longitude":"2d7c4280","hex_latitude":"05e52228","is_valid_coordinates":true} 
[2026-10-05 16:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546576128001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139733058713550848,"note":"Value kept but may cause issues"} 
[2026-10-05 16:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953367190764292096,"note":"Value kept but may cause issues"} 
[2026-10-05 16:23:15] 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-10-05 16:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791197568000,"timestamp_ms":1791197568000,"timestamp_seconds":1791197568,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb1dc00"} 
[2026-10-05 16:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 16:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546576128001,"66":13396,"39":206,"87":13824,"24":5,"16":139733058713550848,"45":8953367190764292096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-10-05 16:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546576128001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:23:15] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-10-05 16:23:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139733058713550848,"km_value":139733058713550.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953367190764292096,"description":"Unknown IO ID 45"} 
[2026-10-05 16:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546576128001,"power":13396,"unknown_39":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8953367190764292096}} 
[2026-10-05 16:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":204661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:23:15] local.INFO: GPS data processed {"connection_id":204661,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:23:15] local.INFO: Acknowledgment sent {"connection_id":204661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:23:16] local.INFO: TCP Data received {"connection_id":206187,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb15f00012d0e3500070699d8002500001f..."} 
[2026-10-05 16:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb15f00012d0e3500070699d8002500001f..."} 
[2026-10-05 16:23:16] local.INFO: Processing buffer {"connection_id":206187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb15f00012d0e3500070699d8002500001f..."} 
[2026-10-05 16:23:16] local.INFO: Packet analysis {"connection_id":206187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb1"} 
[2026-10-05 16:23:16] local.INFO: Extracted packet for processing {"connection_id":206187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb1"} 
[2026-10-05 16:23:16] local.INFO: GPS Element Parsed {"raw_longitude":755905792,"raw_latitude":117873112,"longitude_deg":75.5905792,"latitude_deg":11.7873112,"altitude":37,"angle":0,"satellites":31,"speed":20,"hex_longitude":"2d0e3500","hex_latitude":"070699d8","is_valid_coordinates":true} 
[2026-10-05 16:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546567424001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34839073898102784,"note":"Value kept but may cause issues"} 
[2026-10-05 16:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023091201773570048,"note":"Value kept but may cause issues"} 
[2026-10-05 16:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791197536000,"timestamp_ms":1791197536000,"timestamp_seconds":1791197536,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb15f00"} 
[2026-10-05 16:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-05 16:23: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-10-05 16:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":206187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":206187,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":206187,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546567424001,"66":14537,"219":206,"94":10240,"24":20,"16":34839073898102784,"45":1023091201773570048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-05 16:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546567424001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:23:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-05 16:23:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 16:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34839073898102784,"km_value":34839073898102.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023091201773570048,"description":"Unknown IO ID 45"} 
[2026-10-05 16:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546567424001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":1023091201773570048}} 
[2026-10-05 16:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":206187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968474,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:23:16] local.INFO: GPS data processed {"connection_id":206187,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:23:16] local.INFO: Acknowledgment sent {"connection_id":206187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:23:30] local.INFO: TCP Data received {"connection_id":204776,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:23:30] local.INFO: Processing buffer {"connection_id":204776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:23:30] local.INFO: IMEI packet received {"connection_id":204776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":204776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:23:33] local.INFO: TCP Data received {"connection_id":204776,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:23:33] local.INFO: Processing buffer {"connection_id":204776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:23:33] local.INFO: IMEI packet received {"connection_id":204776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":204776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:23:36] local.INFO: TCP Data received {"connection_id":204776,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:23:36] local.INFO: Processing buffer {"connection_id":204776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:23:36] local.INFO: IMEI packet received {"connection_id":204776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":204776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:23:37] local.INFO: TCP Data received {"connection_id":204776,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb20ae0012d7c440005e51f28000900c529..."} 
[2026-10-05 16:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb20ae0012d7c440005e51f28000900c529..."} 
[2026-10-05 16:23:37] local.INFO: Processing buffer {"connection_id":204776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb20ae0012d7c440005e51f28000900c529..."} 
[2026-10-05 16:23:37] local.INFO: Packet analysis {"connection_id":204776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb2"} 
[2026-10-05 16:23:37] local.INFO: Extracted packet for processing {"connection_id":204776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb2"} 
[2026-10-05 16:23:38] local.INFO: GPS Element Parsed {"raw_longitude":763118592,"raw_latitude":98901800,"longitude_deg":76.3118592,"latitude_deg":9.89018,"altitude":9,"angle":197,"satellites":41,"speed":8,"hex_longitude":"2d7c4400","hex_latitude":"05e51f28","is_valid_coordinates":true} 
[2026-10-05 16:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546577408001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139733105958191104,"note":"Value kept but may cause issues"} 
[2026-10-05 16:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953859771973380096,"note":"Value kept but may cause issues"} 
[2026-10-05 16:23:38] 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-10-05 16:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791197580000,"timestamp_ms":1791197580000,"timestamp_seconds":1791197580,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb20ae0"} 
[2026-10-05 16:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-05 16:23:38] 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-10-05 16:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546577408001,"66":13722,"39":206,"87":13824,"24":8,"16":139733105958191104,"45":8953859771973380096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-10-05 16:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546577408001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:23:38] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-10-05 16:23:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139733105958191104,"km_value":139733105958191.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953859771973380096,"description":"Unknown IO ID 45"} 
[2026-10-05 16:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546577408001,"power":13722,"unknown_39":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8953859771973380096}} 
[2026-10-05 16:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":204776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:23:38] local.INFO: GPS data processed {"connection_id":204776,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:23:38] local.INFO: Acknowledgment sent {"connection_id":204776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:23:40] local.INFO: TCP Data received {"connection_id":207722,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207722,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:23:40] local.INFO: Processing buffer {"connection_id":207722,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:23:40] local.INFO: IMEI packet received {"connection_id":207722,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 16:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":207722,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:23:42] local.INFO: TCP Data received {"connection_id":207722,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207722,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:23:42] local.INFO: Processing buffer {"connection_id":207722,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:23:42] local.INFO: IMEI packet received {"connection_id":207722,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":207722,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:23:47] local.INFO: TCP Data received {"connection_id":207722,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207722,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:23:47] local.INFO: Processing buffer {"connection_id":207722,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:23:47] local.INFO: IMEI packet received {"connection_id":207722,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":207722,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:23:48] local.INFO: TCP Data received {"connection_id":207722,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb27458012d0e3ac0070702f0002801291f..."} 
[2026-10-05 16:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb27458012d0e3ac0070702f0002801291f..."} 
[2026-10-05 16:23:48] local.INFO: Processing buffer {"connection_id":207722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb27458012d0e3ac0070702f0002801291f..."} 
[2026-10-05 16:23:48] local.INFO: Packet analysis {"connection_id":207722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb2"} 
[2026-10-05 16:23:48] local.INFO: Extracted packet for processing {"connection_id":207722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb2"} 
[2026-10-05 16:23:48] local.INFO: GPS Element Parsed {"raw_longitude":755907264,"raw_latitude":117900016,"longitude_deg":75.5907264,"latitude_deg":11.7900016,"altitude":40,"angle":297,"satellites":31,"speed":10,"hex_longitude":"2d0e3ac0","hex_latitude":"070702f0","is_valid_coordinates":true} 
[2026-10-05 16:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546587136001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34840422517833728,"note":"Value kept but may cause issues"} 
[2026-10-05 16:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025624476571817984,"note":"Value kept but may cause issues"} 
[2026-10-05 16:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791197607000,"timestamp_ms":1791197607000,"timestamp_seconds":1791197607,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb27458"} 
[2026-10-05 16:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:23:48] 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-10-05 16:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-10-05 16:23:48] 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-10-05 16:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":207722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":207722,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":207722,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546587136001,"66":14537,"219":206,"94":10240,"24":10,"16":34840422517833728,"45":1025624476571817984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-05 16:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546587136001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:23:48] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-05 16:23:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 16:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34840422517833728,"km_value":34840422517833.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025624476571817984,"description":"Unknown IO ID 45"} 
[2026-10-05 16:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546587136001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":1025624476571817984}} 
[2026-10-05 16:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":207722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968476,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:23:48] local.INFO: GPS data processed {"connection_id":207722,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:23:48] local.INFO: Acknowledgment sent {"connection_id":207722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:23:54] local.INFO: TCP Data received {"connection_id":204662,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:23:54] local.INFO: Processing buffer {"connection_id":204662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:23:54] local.INFO: IMEI packet received {"connection_id":204662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":204662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:23:59] local.INFO: TCP Data received {"connection_id":204662,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:23:59] local.INFO: Processing buffer {"connection_id":204662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:23:59] local.INFO: IMEI packet received {"connection_id":204662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":204662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:24:00] local.INFO: TCP Data received {"connection_id":204662,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb1a168012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb1a168012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:24:00] local.INFO: Processing buffer {"connection_id":204662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb1a168012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:24:00] local.INFO: Packet analysis {"connection_id":204662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb1"} 
[2026-10-05 16:24:00] local.INFO: Extracted packet for processing {"connection_id":204662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb1"} 
[2026-10-05 16:24:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546496512001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791197553000,"timestamp_ms":1791197553000,"timestamp_seconds":1791197553,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb1a168"} 
[2026-10-05 16:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 16:24: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-10-05 16: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-10-05 16:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:24: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-10-05 16:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546496512001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546496512001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:24:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:24:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546496512001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":204662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:24:00] local.INFO: GPS data processed {"connection_id":204662,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:24:00] local.INFO: Acknowledgment sent {"connection_id":204662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:24:09] local.INFO: TCP Data received {"connection_id":204776,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb212b0012d7c42c005e51d10000900d72a..."} 
[2026-10-05 16:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb212b0012d7c42c005e51d10000900d72a..."} 
[2026-10-05 16:24:09] local.INFO: Processing buffer {"connection_id":204776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb212b0012d7c42c005e51d10000900d72a..."} 
[2026-10-05 16:24:09] local.INFO: Packet analysis {"connection_id":204776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb2"} 
[2026-10-05 16:24:09] local.INFO: Extracted packet for processing {"connection_id":204776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb2"} 
[2026-10-05 16:24:09] local.INFO: GPS Element Parsed {"raw_longitude":763118272,"raw_latitude":98901264,"longitude_deg":76.3118272,"latitude_deg":9.8901264,"altitude":9,"angle":215,"satellites":42,"speed":14,"hex_longitude":"2d7c42c0","hex_latitude":"05e51d10","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546580480001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139733136022962176,"note":"Value kept but may cause issues"} 
[2026-10-05 16:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954281984438249472,"note":"Value kept but may cause issues"} 
[2026-10-05 16:24:09] 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-10-05 16:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791197582000,"timestamp_ms":1791197582000,"timestamp_seconds":1791197582,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb212b0"} 
[2026-10-05 16:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:24: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-10-05 16: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-10-05 16:24:09] 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-10-05 16: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-10-05 16:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546580480001,"66":13961,"39":206,"87":13824,"24":14,"16":139733136022962176,"45":8954281984438249472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-10-05 16:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546580480001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:24:09] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-10-05 16:24:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139733136022962176,"km_value":139733136022962.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954281984438249472,"description":"Unknown IO ID 45"} 
[2026-10-05 16:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546580480001,"power":13961,"unknown_39":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8954281984438249472}} 
[2026-10-05 16:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":204776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968478,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:24:09] local.INFO: GPS data processed {"connection_id":204776,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:24:09] local.INFO: Acknowledgment sent {"connection_id":204776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:24:19] local.INFO: TCP Data received {"connection_id":207722,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb27840012d0e39c0070703700028011e20..."} 
[2026-10-05 16:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb27840012d0e39c0070703700028011e20..."} 
[2026-10-05 16:24:19] local.INFO: Processing buffer {"connection_id":207722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb27840012d0e39c0070703700028011e20..."} 
[2026-10-05 16:24:19] local.INFO: Packet analysis {"connection_id":207722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb2"} 
[2026-10-05 16:24:19] local.INFO: Extracted packet for processing {"connection_id":207722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb2"} 
[2026-10-05 16:24:19] local.INFO: GPS Element Parsed {"raw_longitude":755907008,"raw_latitude":117900144,"longitude_deg":75.5907008,"latitude_deg":11.7900144,"altitude":40,"angle":286,"satellites":32,"speed":12,"hex_longitude":"2d0e39c0","hex_latitude":"07070370","is_valid_coordinates":true} 
[2026-10-05 16:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546587392001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34840439697702912,"note":"Value kept but may cause issues"} 
[2026-10-05 16:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025343001595146240,"note":"Value kept but may cause issues"} 
[2026-10-05 16:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791197608000,"timestamp_ms":1791197608000,"timestamp_seconds":1791197608,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb27840"} 
[2026-10-05 16:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-05 16:24:19] 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-10-05 16:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":207722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":207722,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":207722,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546587392001,"66":14515,"219":206,"94":10240,"24":12,"16":34840439697702912,"45":1025343001595146240},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-05 16:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546587392001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:24:19] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-05 16:24:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 16:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34840439697702912,"km_value":34840439697702.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025343001595146240,"description":"Unknown IO ID 45"} 
[2026-10-05 16:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546587392001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1025343001595146240}} 
[2026-10-05 16:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":207722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968479,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:24:19] local.INFO: GPS data processed {"connection_id":207722,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:24:19] local.INFO: Acknowledgment sent {"connection_id":207722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:24:31] local.INFO: TCP Data received {"connection_id":204662,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb1a168012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb1a168012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:24:31] local.INFO: Processing buffer {"connection_id":204662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb1a168012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:24:31] local.INFO: Packet analysis {"connection_id":204662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb1"} 
[2026-10-05 16:24:31] local.INFO: Extracted packet for processing {"connection_id":204662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb1"} 
[2026-10-05 16:24:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546496512001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791197553000,"timestamp_ms":1791197553000,"timestamp_seconds":1791197553,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb1a168"} 
[2026-10-05 16:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 16:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:24: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-10-05 16:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546496512001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546496512001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:24:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:24:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546496512001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":204662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:24:31] local.INFO: GPS data processed {"connection_id":204662,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:24:31] local.INFO: Acknowledgment sent {"connection_id":204662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:24:36] local.INFO: TCP Data received {"connection_id":204663,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:24:36] local.INFO: Processing buffer {"connection_id":204663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:24:36] local.INFO: IMEI packet received {"connection_id":204663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":204663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:24:37] local.INFO: TCP Data received {"connection_id":204663,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:24:37] local.INFO: Processing buffer {"connection_id":204663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:24:37] local.INFO: IMEI packet received {"connection_id":204663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":204663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:24:42] local.INFO: TCP Data received {"connection_id":207723,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207723,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:24:42] local.INFO: Processing buffer {"connection_id":207723,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:24:42] local.INFO: IMEI packet received {"connection_id":207723,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 16:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":207723,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:24:42] local.INFO: TCP Data received {"connection_id":204663,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:24:42] local.INFO: Processing buffer {"connection_id":204663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:24:42] local.INFO: IMEI packet received {"connection_id":204663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":204663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:24:43] local.INFO: TCP Data received {"connection_id":204663,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb24578012d7c2f4005e4fc60000b00d228..."} 
[2026-10-05 16:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb24578012d7c2f4005e4fc60000b00d228..."} 
[2026-10-05 16:24:43] local.INFO: Processing buffer {"connection_id":204663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb24578012d7c2f4005e4fc60000b00d228..."} 
[2026-10-05 16:24:43] local.INFO: Packet analysis {"connection_id":204663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb2"} 
[2026-10-05 16:24:43] local.INFO: Extracted packet for processing {"connection_id":204663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb2"} 
[2026-10-05 16:24:43] local.INFO: GPS Element Parsed {"raw_longitude":763113280,"raw_latitude":98892896,"longitude_deg":76.311328,"latitude_deg":9.8892896,"altitude":11,"angle":210,"satellites":40,"speed":42,"hex_longitude":"2d7c2f40","hex_latitude":"05e4fc60","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546580992001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139733608469364736,"note":"Value kept but may cause issues"} 
[2026-10-05 16:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953930140717223936,"note":"Value kept but may cause issues"} 
[2026-10-05 16:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791197595000,"timestamp_ms":1791197595000,"timestamp_seconds":1791197595,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb24578"} 
[2026-10-05 16:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-05 16:24:43] 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-10-05 16: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-10-05 16:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546580992001,"66":13852,"39":206,"87":13824,"24":42,"16":139733608469364736,"45":8953930140717223936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-10-05 16:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546580992001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:24:43] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-10-05 16:24:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139733608469364736,"km_value":139733608469364.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953930140717223936,"description":"Unknown IO ID 45"} 
[2026-10-05 16:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546580992001,"power":13852,"unknown_39":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8953930140717223936}} 
[2026-10-05 16:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":204663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:24:43] local.INFO: GPS data processed {"connection_id":204663,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:24:43] local.INFO: Acknowledgment sent {"connection_id":204663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:24:45] local.INFO: TCP Data received {"connection_id":207723,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207723,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:24:45] local.INFO: Processing buffer {"connection_id":207723,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:24:45] local.INFO: IMEI packet received {"connection_id":207723,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":207723,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:24:46] local.INFO: TCP Data received {"connection_id":207723,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb36a70012d0dcbc00706f3b8001e00f521..."} 
[2026-10-05 16:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb36a70012d0dcbc00706f3b8001e00f521..."} 
[2026-10-05 16:24:46] local.INFO: Processing buffer {"connection_id":207723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb36a70012d0dcbc00706f3b8001e00f521..."} 
[2026-10-05 16:24:46] local.INFO: Packet analysis {"connection_id":207723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb3"} 
[2026-10-05 16:24:46] local.INFO: Extracted packet for processing {"connection_id":207723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb3"} 
[2026-10-05 16:24:46] local.INFO: GPS Element Parsed {"raw_longitude":755878848,"raw_latitude":117896120,"longitude_deg":75.5878848,"latitude_deg":11.789612,"altitude":30,"angle":245,"satellites":33,"speed":11,"hex_longitude":"2d0dcbc0","hex_latitude":"0706f3b8","is_valid_coordinates":true} 
[2026-10-05 16:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546601984001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34841844152008704,"note":"Value kept but may cause issues"} 
[2026-10-05 16:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995084441598060544,"note":"Value kept but may cause issues"} 
[2026-10-05 16:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791197670000,"timestamp_ms":1791197670000,"timestamp_seconds":1791197670,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb36a70"} 
[2026-10-05 16:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-10-05 16:24:46] 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-10-05 16:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":207723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":207723,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":207723,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546601984001,"66":14450,"219":206,"94":10240,"24":11,"16":34841844152008704,"45":995084441598060544},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-05 16:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546601984001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:24:46] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-05 16:24:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 16:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34841844152008704,"km_value":34841844152008.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":995084441598060544,"description":"Unknown IO ID 45"} 
[2026-10-05 16:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546601984001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":995084441598060544}} 
[2026-10-05 16:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":207723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968482,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:24:46] local.INFO: GPS data processed {"connection_id":207723,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:24:46] local.INFO: Acknowledgment sent {"connection_id":207723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:24:54] local.INFO: TCP Data received {"connection_id":207724,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:24:54] local.INFO: Processing buffer {"connection_id":207724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:24:54] local.INFO: IMEI packet received {"connection_id":207724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":207724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:24:59] local.INFO: TCP Data received {"connection_id":207724,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:24:59] local.INFO: Processing buffer {"connection_id":207724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:24:59] local.INFO: IMEI packet received {"connection_id":207724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":207724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:25:00] local.INFO: TCP Data received {"connection_id":207724,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb1a168012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb1a168012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:25:00] local.INFO: Processing buffer {"connection_id":207724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb1a168012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:25:00] local.INFO: Packet analysis {"connection_id":207724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb1"} 
[2026-10-05 16:25:00] local.INFO: Extracted packet for processing {"connection_id":207724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb1"} 
[2026-10-05 16:25:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546496512001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791197553000,"timestamp_ms":1791197553000,"timestamp_seconds":1791197553,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb1a168"} 
[2026-10-05 16:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 16:25: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-10-05 16: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-10-05 16:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:25: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-10-05 16:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546496512001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546496512001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:25:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:25:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546496512001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":207724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:25:00] local.INFO: GPS data processed {"connection_id":207724,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:25:00] local.INFO: Acknowledgment sent {"connection_id":207724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:25:16] local.INFO: TCP Data received {"connection_id":204663,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb264b8012d7c1c0005e4ddc0000d00d427..."} 
[2026-10-05 16:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb264b8012d7c1c0005e4ddc0000d00d427..."} 
[2026-10-05 16:25:16] local.INFO: Processing buffer {"connection_id":204663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb264b8012d7c1c0005e4ddc0000d00d427..."} 
[2026-10-05 16:25:16] local.INFO: Packet analysis {"connection_id":204663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb2"} 
[2026-10-05 16:25:16] local.INFO: Extracted packet for processing {"connection_id":204663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb2"} 
[2026-10-05 16:25:16] local.INFO: GPS Element Parsed {"raw_longitude":763108352,"raw_latitude":98885056,"longitude_deg":76.3108352,"latitude_deg":9.8885056,"altitude":13,"angle":212,"satellites":39,"speed":47,"hex_longitude":"2d7c1c00","hex_latitude":"05e4ddc0","is_valid_coordinates":true} 
[2026-10-05 16:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546584320001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139734055145963520,"note":"Value kept but may cause issues"} 
[2026-10-05 16:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948441378669223936,"note":"Value kept but may cause issues"} 
[2026-10-05 16:25:16] 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-10-05 16:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791197603000,"timestamp_ms":1791197603000,"timestamp_seconds":1791197603,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb264b8"} 
[2026-10-05 16:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:25: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-10-05 16:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-05 16:25:16] 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-10-05 16:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546584320001,"66":14102,"39":206,"87":13824,"24":47,"16":139734055145963520,"45":8948441378669223936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-10-05 16:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546584320001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:25:16] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-10-05 16:25:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139734055145963520,"km_value":139734055145963.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948441378669223936,"description":"Unknown IO ID 45"} 
[2026-10-05 16:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546584320001,"power":14102,"unknown_39":206,"unknown_87":13824,"ignition":47,"odometer":null,"unknown_45":8948441378669223936}} 
[2026-10-05 16:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":204663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968484,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:25:16] local.INFO: GPS data processed {"connection_id":204663,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:25:16] local.INFO: Acknowledgment sent {"connection_id":204663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:25:17] local.INFO: TCP Data received {"connection_id":207723,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb36e58012d0dca800706f350001e010321..."} 
[2026-10-05 16:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb36e58012d0dca800706f350001e010321..."} 
[2026-10-05 16:25:17] local.INFO: Processing buffer {"connection_id":207723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb36e58012d0dca800706f350001e010321..."} 
[2026-10-05 16:25:17] local.INFO: Packet analysis {"connection_id":207723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb3"} 
[2026-10-05 16:25:17] local.INFO: Extracted packet for processing {"connection_id":207723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb3"} 
[2026-10-05 16:25:17] local.INFO: GPS Element Parsed {"raw_longitude":755878528,"raw_latitude":117896016,"longitude_deg":75.5878528,"latitude_deg":11.7896016,"altitude":30,"angle":259,"satellites":33,"speed":14,"hex_longitude":"2d0dca80","hex_latitude":"0706f350","is_valid_coordinates":true} 
[2026-10-05 16:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546603520001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34841857036910592,"note":"Value kept but may cause issues"} 
[2026-10-05 16:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994099279179266048,"note":"Value kept but may cause issues"} 
[2026-10-05 16:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791197671000,"timestamp_ms":1791197671000,"timestamp_seconds":1791197671,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb36e58"} 
[2026-10-05 16:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:25: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-10-05 16:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-05 16:25:17] 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-10-05 16:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":207723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":207723,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":207723,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546603520001,"66":14450,"219":206,"94":10240,"24":14,"16":34841857036910592,"45":994099279179266048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-05 16:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546603520001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:25:17] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-05 16:25:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 16:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34841857036910592,"km_value":34841857036910.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":994099279179266048,"description":"Unknown IO ID 45"} 
[2026-10-05 16:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546603520001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":994099279179266048}} 
[2026-10-05 16:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":207723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968485,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:25:18] local.INFO: GPS data processed {"connection_id":207723,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:25:18] local.INFO: Acknowledgment sent {"connection_id":207723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:25:31] local.INFO: TCP Data received {"connection_id":206190,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:25:31] local.INFO: Processing buffer {"connection_id":206190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:25:31] local.INFO: IMEI packet received {"connection_id":206190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":206190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:25:32] local.INFO: TCP Data received {"connection_id":207724,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb1a168012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb1a168012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:25:32] local.INFO: Processing buffer {"connection_id":207724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb1a168012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:25:32] local.INFO: Packet analysis {"connection_id":207724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb1"} 
[2026-10-05 16:25:32] local.INFO: Extracted packet for processing {"connection_id":207724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb1"} 
[2026-10-05 16:25:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546496512001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791197553000,"timestamp_ms":1791197553000,"timestamp_seconds":1791197553,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb1a168"} 
[2026-10-05 16:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 16:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:25: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-10-05 16:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546496512001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546496512001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:25:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:25:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546496512001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":207724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:25:32] local.INFO: GPS data processed {"connection_id":207724,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:25:32] local.INFO: Acknowledgment sent {"connection_id":207724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:25:36] local.INFO: TCP Data received {"connection_id":206190,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:25:36] local.INFO: Processing buffer {"connection_id":206190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:25:36] local.INFO: IMEI packet received {"connection_id":206190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":206190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:25:37] local.INFO: TCP Data received {"connection_id":206190,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb283f8012d7c074005e4be38001000d429..."} 
[2026-10-05 16:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb283f8012d7c074005e4be38001000d429..."} 
[2026-10-05 16:25:37] local.INFO: Processing buffer {"connection_id":206190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb283f8012d7c074005e4be38001000d429..."} 
[2026-10-05 16:25:37] local.INFO: Packet analysis {"connection_id":206190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb2"} 
[2026-10-05 16:25:37] local.INFO: Extracted packet for processing {"connection_id":206190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb2"} 
[2026-10-05 16:25:37] local.INFO: GPS Element Parsed {"raw_longitude":763103040,"raw_latitude":98876984,"longitude_deg":76.310304,"latitude_deg":9.8876984,"altitude":16,"angle":212,"satellites":41,"speed":51,"hex_longitude":"2d7c0740","hex_latitude":"05e4be38","is_valid_coordinates":true} 
[2026-10-05 16:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546586368001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139734523297398784,"note":"Value kept but may cause issues"} 
[2026-10-05 16:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943022985365536768,"note":"Value kept but may cause issues"} 
[2026-10-05 16:25: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-10-05 16:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791197611000,"timestamp_ms":1791197611000,"timestamp_seconds":1791197611,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb283f8"} 
[2026-10-05 16:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:25: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-10-05 16:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-05 16:25:37] 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-10-05 16:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546586368001,"66":14048,"39":206,"87":13824,"24":51,"16":139734523297398784,"45":8943022985365536768},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-10-05 16:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546586368001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:25:37] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-10-05 16:25:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139734523297398784,"km_value":139734523297398.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943022985365536768,"description":"Unknown IO ID 45"} 
[2026-10-05 16:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546586368001,"power":14048,"unknown_39":206,"unknown_87":13824,"ignition":51,"odometer":null,"unknown_45":8943022985365536768}} 
[2026-10-05 16:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":206190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:25:37] local.INFO: GPS data processed {"connection_id":206190,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:25:37] local.INFO: Acknowledgment sent {"connection_id":206190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:25:42] local.INFO: TCP Data received {"connection_id":204779,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204779,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:25:42] local.INFO: Processing buffer {"connection_id":204779,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:25:42] local.INFO: IMEI packet received {"connection_id":204779,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 16:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":204779,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:25:43] local.INFO: TCP Data received {"connection_id":204779,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204779,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:25:43] local.INFO: Processing buffer {"connection_id":204779,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:25:43] local.INFO: IMEI packet received {"connection_id":204779,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":204779,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:25:45] local.INFO: TCP Data received {"connection_id":204779,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204779,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:25:45] local.INFO: Processing buffer {"connection_id":204779,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:25:45] local.INFO: IMEI packet received {"connection_id":204779,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":204779,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:25:48] local.INFO: TCP Data received {"connection_id":204779,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204779,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:25:48] local.INFO: Processing buffer {"connection_id":204779,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:25:48] local.INFO: IMEI packet received {"connection_id":204779,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":204779,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:25:48] local.INFO: TCP Data received {"connection_id":204779,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb3a120012d0dac000706ee480023011221..."} 
[2026-10-05 16:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb3a120012d0dac000706ee480023011221..."} 
[2026-10-05 16:25:48] local.INFO: Processing buffer {"connection_id":204779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb3a120012d0dac000706ee480023011221..."} 
[2026-10-05 16:25:48] local.INFO: Packet analysis {"connection_id":204779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb3"} 
[2026-10-05 16:25:48] local.INFO: Extracted packet for processing {"connection_id":204779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb3"} 
[2026-10-05 16:25:48] local.INFO: GPS Element Parsed {"raw_longitude":755870720,"raw_latitude":117894728,"longitude_deg":75.587072,"latitude_deg":11.7894728,"altitude":35,"angle":274,"satellites":33,"speed":25,"hex_longitude":"2d0dac00","hex_latitude":"0706ee48","is_valid_coordinates":true} 
[2026-10-05 16:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546603776001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34842234994032640,"note":"Value kept but may cause issues"} 
[2026-10-05 16:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":993747435458351104,"note":"Value kept but may cause issues"} 
[2026-10-05 16:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791197684000,"timestamp_ms":1791197684000,"timestamp_seconds":1791197684,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb3a120"} 
[2026-10-05 16:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-05 16:25: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-10-05 16:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546603776001,"66":14265,"219":206,"94":10240,"24":25,"16":34842234994032640,"45":993747435458351104},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-05 16:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546603776001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:25:48] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-05 16:25:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 16:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34842234994032640,"km_value":34842234994032.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":993747435458351104,"description":"Unknown IO ID 45"} 
[2026-10-05 16:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546603776001,"power":14265,"unknown_219":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":993747435458351104}} 
[2026-10-05 16:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":204779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968488,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:25:48] local.INFO: GPS data processed {"connection_id":204779,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:25:48] local.INFO: Acknowledgment sent {"connection_id":204779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:25:52] local.INFO: TCP Data received {"connection_id":204779,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb3a8f0012d0da8000706ef800024012821..."} 
[2026-10-05 16:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb3a8f0012d0da8000706ef800024012821..."} 
[2026-10-05 16:25:52] local.INFO: Processing buffer {"connection_id":204779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb3a8f0012d0da8000706ef800024012821..."} 
[2026-10-05 16:25:52] local.INFO: Packet analysis {"connection_id":204779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb3"} 
[2026-10-05 16:25:52] local.INFO: Extracted packet for processing {"connection_id":204779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb3"} 
[2026-10-05 16:25:52] local.INFO: GPS Element Parsed {"raw_longitude":755869696,"raw_latitude":117895040,"longitude_deg":75.5869696,"latitude_deg":11.789504,"altitude":36,"angle":296,"satellites":33,"speed":23,"hex_longitude":"2d0da800","hex_latitude":"0706ef80","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546607104001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34842286533640192,"note":"Value kept but may cause issues"} 
[2026-10-05 16:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":985162448668346368,"note":"Value kept but may cause issues"} 
[2026-10-05 16:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1791197686000,"timestamp_ms":1791197686000,"timestamp_seconds":1791197686,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb3a8f0"} 
[2026-10-05 16:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-05 16:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":204779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":204779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":204779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546607104001,"66":14428,"219":206,"94":10240,"24":23,"16":34842286533640192,"45":985162448668346368},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-05 16:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546607104001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:25:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-05 16:25:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 16:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34842286533640192,"km_value":34842286533640.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":985162448668346368,"description":"Unknown IO ID 45"} 
[2026-10-05 16:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546607104001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":985162448668346368}} 
[2026-10-05 16:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":204779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968489,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:25:52] local.INFO: GPS data processed {"connection_id":204779,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:25:52] local.INFO: Acknowledgment sent {"connection_id":204779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:25:54] local.INFO: TCP Data received {"connection_id":207725,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:25:54] local.INFO: Processing buffer {"connection_id":207725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:25:54] local.INFO: IMEI packet received {"connection_id":207725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":207725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:25:59] local.INFO: TCP Data received {"connection_id":207725,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:25:59] local.INFO: Processing buffer {"connection_id":207725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:25:59] local.INFO: IMEI packet received {"connection_id":207725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":207725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:26:01] local.INFO: TCP Data received {"connection_id":207725,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb1a168012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb1a168012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:26:01] local.INFO: Processing buffer {"connection_id":207725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb1a168012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:26:01] local.INFO: Packet analysis {"connection_id":207725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb1"} 
[2026-10-05 16:26:01] local.INFO: Extracted packet for processing {"connection_id":207725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb1"} 
[2026-10-05 16:26:01] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546496512001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791197553000,"timestamp_ms":1791197553000,"timestamp_seconds":1791197553,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb1a168"} 
[2026-10-05 16:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 16:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:26: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-10-05 16:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546496512001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546496512001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:26:01] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:26:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546496512001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":207725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:26:01] local.INFO: GPS data processed {"connection_id":207725,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:26:01] local.INFO: Acknowledgment sent {"connection_id":207725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:26:03] local.INFO: TCP Data received {"connection_id":204664,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:26:03] local.INFO: Processing buffer {"connection_id":204664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:26:03] local.INFO: IMEI packet received {"connection_id":204664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 16:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":204664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:26:05] local.INFO: TCP Data received {"connection_id":204664,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:26:05] local.INFO: Processing buffer {"connection_id":204664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:26:05] local.INFO: IMEI packet received {"connection_id":204664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":204664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:26:09] local.INFO: TCP Data received {"connection_id":206190,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb49f08012d7b130005e34610000800c62a..."} 
[2026-10-05 16:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb49f08012d7b130005e34610000800c62a..."} 
[2026-10-05 16:26:09] local.INFO: Processing buffer {"connection_id":206190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb49f08012d7b130005e34610000800c62a..."} 
[2026-10-05 16:26:09] local.INFO: Packet analysis {"connection_id":206190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb4"} 
[2026-10-05 16:26:09] local.INFO: Extracted packet for processing {"connection_id":206190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb4"} 
[2026-10-05 16:26:09] local.INFO: GPS Element Parsed {"raw_longitude":763040512,"raw_latitude":98780688,"longitude_deg":76.3040512,"latitude_deg":9.8780688,"altitude":8,"angle":198,"satellites":42,"speed":10,"hex_longitude":"2d7b1300","hex_latitude":"05e34610","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546620160001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139740068100177920,"note":"Value kept but may cause issues"} 
[2026-10-05 16:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872161659953311744,"note":"Value kept but may cause issues"} 
[2026-10-05 16:26:09] 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-10-05 16:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791197749000,"timestamp_ms":1791197749000,"timestamp_seconds":1791197749,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb49f08"} 
[2026-10-05 16:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:26: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-10-05 16: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-10-05 16:26:09] 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-10-05 16: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-10-05 16:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":206190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":206190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":206190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546620160001,"66":13515,"208":206,"85":15104,"24":10,"16":139740068100177920,"45":8872161659953311744},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546620160001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:26:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:26:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139740068100177920,"km_value":139740068100177.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872161659953311744,"description":"Unknown IO ID 45"} 
[2026-10-05 16:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546620160001,"power":13515,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8872161659953311744}} 
[2026-10-05 16:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":206190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:26:09] local.INFO: GPS data processed {"connection_id":206190,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:26:09] local.INFO: Acknowledgment sent {"connection_id":206190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:26:10] local.INFO: TCP Data received {"connection_id":204664,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:26:10] local.INFO: Processing buffer {"connection_id":204664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:26:10] local.INFO: IMEI packet received {"connection_id":204664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":204664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:26:11] local.INFO: TCP Data received {"connection_id":204664,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb3faf8012d1b8480071fa5c80049009c2b..."} 
[2026-10-05 16:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb3faf8012d1b8480071fa5c80049009c2b..."} 
[2026-10-05 16:26:11] local.INFO: Processing buffer {"connection_id":204664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb3faf8012d1b8480071fa5c80049009c2b..."} 
[2026-10-05 16:26:11] local.INFO: Packet analysis {"connection_id":204664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb3"} 
[2026-10-05 16:26:11] local.INFO: Extracted packet for processing {"connection_id":204664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb3"} 
[2026-10-05 16:26:11] local.INFO: GPS Element Parsed {"raw_longitude":756778112,"raw_latitude":119514568,"longitude_deg":75.6778112,"latitude_deg":11.9514568,"altitude":73,"angle":156,"satellites":43,"speed":8,"hex_longitude":"2d1b8480","hex_latitude":"071fa5c8","is_valid_coordinates":true} 
[2026-10-05 16:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546612224001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25140062786158592,"note":"Value kept but may cause issues"} 
[2026-10-05 16:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1982498660313192448,"note":"Value kept but may cause issues"} 
[2026-10-05 16:26:11] 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-10-05 16:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791197707000,"timestamp_ms":1791197707000,"timestamp_seconds":1791197707,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb3faf8"} 
[2026-10-05 16:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-05 16:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:26:11] 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-10-05 16:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546612224001,"66":14363,"101":206,"83":41984,"24":8,"16":25140062786158592,"45":1982498660313192448},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 16:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546612224001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:26:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 16:26:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 16:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25140062786158592,"km_value":25140062786158.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1982498660313192448,"description":"Unknown IO ID 45"} 
[2026-10-05 16:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546612224001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1982498660313192448}} 
[2026-10-05 16:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":204664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:26:11] local.INFO: GPS data processed {"connection_id":204664,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:26:11] local.INFO: Acknowledgment sent {"connection_id":204664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:26:23] local.INFO: TCP Data received {"connection_id":204779,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb50498012d0d2b40070731f0002300051e..."} 
[2026-10-05 16:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb50498012d0d2b40070731f0002300051e..."} 
[2026-10-05 16:26:23] local.INFO: Processing buffer {"connection_id":204779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb50498012d0d2b40070731f0002300051e..."} 
[2026-10-05 16:26:23] local.INFO: Packet analysis {"connection_id":204779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb5"} 
[2026-10-05 16:26:23] local.INFO: Extracted packet for processing {"connection_id":204779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb5"} 
[2026-10-05 16:26:23] local.INFO: GPS Element Parsed {"raw_longitude":755837760,"raw_latitude":117912048,"longitude_deg":75.583776,"latitude_deg":11.7912048,"altitude":35,"angle":5,"satellites":30,"speed":21,"hex_longitude":"2d0d2b40","hex_latitude":"070731f0","is_valid_coordinates":true} 
[2026-10-05 16:26: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-10-05 16:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546626816001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34844236448792576,"note":"Value kept but may cause issues"} 
[2026-10-05 16:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949204020396431360,"note":"Value kept but may cause issues"} 
[2026-10-05 16:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1791197775000,"timestamp_ms":1791197775000,"timestamp_seconds":1791197775,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb50498"} 
[2026-10-05 16:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:26:23] 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-10-05 16:26: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":179,"data_length":795,"current_offset":136} 
[2026-10-05 16:26:23] 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-10-05 16:26: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-10-05 16:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":204779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":204779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":204779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546626816001,"66":14548,"221":206,"94":10240,"24":21,"16":34844236448792576,"45":949204020396431360},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-05 16:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546626816001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:26:23] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-05 16:26:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 16:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34844236448792576,"km_value":34844236448792.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":949204020396431360,"description":"Unknown IO ID 45"} 
[2026-10-05 16:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546626816001,"power":14548,"unknown_221":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":949204020396431360}} 
[2026-10-05 16:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":204779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968493,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:26:24] local.INFO: GPS data processed {"connection_id":204779,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:26:24] local.INFO: Acknowledgment sent {"connection_id":204779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:26:30] local.INFO: TCP Data received {"connection_id":204780,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:26:30] local.INFO: Processing buffer {"connection_id":204780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:26:30] local.INFO: IMEI packet received {"connection_id":204780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":204780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:26:32] local.INFO: TCP Data received {"connection_id":207725,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb1a168012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb1a168012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:26:32] local.INFO: Processing buffer {"connection_id":207725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb1a168012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:26:32] local.INFO: Packet analysis {"connection_id":207725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb1"} 
[2026-10-05 16:26:32] local.INFO: Extracted packet for processing {"connection_id":207725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb1"} 
[2026-10-05 16:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:26: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-10-05 16:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546496512001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791197553000,"timestamp_ms":1791197553000,"timestamp_seconds":1791197553,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb1a168"} 
[2026-10-05 16:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 16:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:26: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-10-05 16:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:26: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-10-05 16:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546496512001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546496512001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:26:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:26:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546496512001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":207725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:26:32] local.INFO: GPS data processed {"connection_id":207725,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:26:32] local.INFO: Acknowledgment sent {"connection_id":207725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:26:35] local.INFO: TCP Data received {"connection_id":204780,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:26:35] local.INFO: Processing buffer {"connection_id":204780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:26:35] local.INFO: IMEI packet received {"connection_id":204780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":204780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:26:37] local.INFO: TCP Data received {"connection_id":204780,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb4b290012d7b114005e340f0000800b829..."} 
[2026-10-05 16:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb4b290012d7b114005e340f0000800b829..."} 
[2026-10-05 16:26:37] local.INFO: Processing buffer {"connection_id":204780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb4b290012d7b114005e340f0000800b829..."} 
[2026-10-05 16:26:37] local.INFO: Packet analysis {"connection_id":204780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb4"} 
[2026-10-05 16:26:37] local.INFO: Extracted packet for processing {"connection_id":204780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb4"} 
[2026-10-05 16:26:37] local.INFO: GPS Element Parsed {"raw_longitude":763040064,"raw_latitude":98779376,"longitude_deg":76.3040064,"latitude_deg":9.8779376,"altitude":8,"angle":184,"satellites":41,"speed":8,"hex_longitude":"2d7b1140","hex_latitude":"05e340f0","is_valid_coordinates":true} 
[2026-10-05 16:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546623744001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139740136819654656,"note":"Value kept but may cause issues"} 
[2026-10-05 16:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868432116510494720,"note":"Value kept but may cause issues"} 
[2026-10-05 16:26: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-10-05 16:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791197754000,"timestamp_ms":1791197754000,"timestamp_seconds":1791197754,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb4b290"} 
[2026-10-05 16:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:26: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-10-05 16:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-10-05 16:26:37] 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-10-05 16:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546623744001,"66":13178,"208":206,"85":15104,"24":8,"16":139740136819654656,"45":8868432116510494720},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546623744001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:26:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:26:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139740136819654656,"km_value":139740136819654.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868432116510494720,"description":"Unknown IO ID 45"} 
[2026-10-05 16:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546623744001,"power":13178,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8868432116510494720}} 
[2026-10-05 16:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":204780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:26:37] local.INFO: GPS data processed {"connection_id":204780,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:26:37] local.INFO: Acknowledgment sent {"connection_id":204780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:26:42] local.INFO: TCP Data received {"connection_id":204665,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204665,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:26:42] local.INFO: Processing buffer {"connection_id":204665,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:26:42] local.INFO: IMEI packet received {"connection_id":204665,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 16:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":204665,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:26:42] local.INFO: TCP Data received {"connection_id":204664,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb4ca00012d1b9440071f7b08004e00b727..."} 
[2026-10-05 16:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb4ca00012d1b9440071f7b08004e00b727..."} 
[2026-10-05 16:26:42] local.INFO: Processing buffer {"connection_id":204664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb4ca00012d1b9440071f7b08004e00b727..."} 
[2026-10-05 16:26:42] local.INFO: Packet analysis {"connection_id":204664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb4"} 
[2026-10-05 16:26:42] local.INFO: Extracted packet for processing {"connection_id":204664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb4"} 
[2026-10-05 16:26:42] local.INFO: GPS Element Parsed {"raw_longitude":756782144,"raw_latitude":119503624,"longitude_deg":75.6782144,"latitude_deg":11.9503624,"altitude":78,"angle":183,"satellites":39,"speed":7,"hex_longitude":"2d1b9440","hex_latitude":"071f7b08","is_valid_coordinates":true} 
[2026-10-05 16:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546626304001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25140642606743552,"note":"Value kept but may cause issues"} 
[2026-10-05 16:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1987213366170208256,"note":"Value kept but may cause issues"} 
[2026-10-05 16:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791197760000,"timestamp_ms":1791197760000,"timestamp_seconds":1791197760,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb4ca00"} 
[2026-10-05 16:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-10-05 16:26:42] 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-10-05 16:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:26: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-10-05 16:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546626304001,"66":13678,"101":206,"83":41984,"24":7,"16":25140642606743552,"45":1987213366170208256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 16:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546626304001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:26:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 16:26:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 16:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25140642606743552,"km_value":25140642606743.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1987213366170208256,"description":"Unknown IO ID 45"} 
[2026-10-05 16:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546626304001,"power":13678,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1987213366170208256}} 
[2026-10-05 16:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":204664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:26:42] local.INFO: GPS data processed {"connection_id":204664,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:26:42] local.INFO: Acknowledgment sent {"connection_id":204664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:26:43] local.INFO: TCP Data received {"connection_id":204665,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204665,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:26:43] local.INFO: Processing buffer {"connection_id":204665,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:26:43] local.INFO: IMEI packet received {"connection_id":204665,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":204665,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:26:47] local.INFO: TCP Data received {"connection_id":204665,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204665,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:26:47] local.INFO: Processing buffer {"connection_id":204665,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:26:47] local.INFO: IMEI packet received {"connection_id":204665,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":204665,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:26:48] local.INFO: TCP Data received {"connection_id":204665,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb51820012d0d2bc007073c480025015b1f..."} 
[2026-10-05 16:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb51820012d0d2bc007073c480025015b1f..."} 
[2026-10-05 16:26:48] local.INFO: Processing buffer {"connection_id":204665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb51820012d0d2bc007073c480025015b1f..."} 
[2026-10-05 16:26:48] local.INFO: Packet analysis {"connection_id":204665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb5"} 
[2026-10-05 16:26:48] local.INFO: Extracted packet for processing {"connection_id":204665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb5"} 
[2026-10-05 16:26:48] local.INFO: GPS Element Parsed {"raw_longitude":755837888,"raw_latitude":117914696,"longitude_deg":75.5837888,"latitude_deg":11.7914696,"altitude":37,"angle":347,"satellites":31,"speed":16,"hex_longitude":"2d0d2bc0","hex_latitude":"07073c48","is_valid_coordinates":true} 
[2026-10-05 16:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546630400001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34844365297811456,"note":"Value kept but may cause issues"} 
[2026-10-05 16:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948922545421283328,"note":"Value kept but may cause issues"} 
[2026-10-05 16:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791197780000,"timestamp_ms":1791197780000,"timestamp_seconds":1791197780,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb51820"} 
[2026-10-05 16:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-10-05 16:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204665,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204665,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546630400001,"66":14537,"221":206,"94":10240,"24":16,"16":34844365297811456,"45":948922545421283328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-05 16:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546630400001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:26:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-05 16:26:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 16:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34844365297811456,"km_value":34844365297811.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":948922545421283328,"description":"Unknown IO ID 45"} 
[2026-10-05 16:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546630400001,"power":14537,"unknown_221":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":948922545421283328}} 
[2026-10-05 16:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":204665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968497,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:26:48] local.INFO: GPS data processed {"connection_id":204665,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:26:48] local.INFO: Acknowledgment sent {"connection_id":204665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:26:54] local.INFO: TCP Data received {"connection_id":204782,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:26:54] local.INFO: Processing buffer {"connection_id":204782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:26:54] local.INFO: IMEI packet received {"connection_id":204782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":204782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:26:59] local.INFO: TCP Data received {"connection_id":204782,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:26:59] local.INFO: Processing buffer {"connection_id":204782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:26:59] local.INFO: IMEI packet received {"connection_id":204782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":204782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:27:00] local.INFO: TCP Data received {"connection_id":204782,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb1a168012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb1a168012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:27:00] local.INFO: Processing buffer {"connection_id":204782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb1a168012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:27:00] local.INFO: Packet analysis {"connection_id":204782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb1"} 
[2026-10-05 16:27:00] local.INFO: Extracted packet for processing {"connection_id":204782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb1"} 
[2026-10-05 16:27:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546496512001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791197553000,"timestamp_ms":1791197553000,"timestamp_seconds":1791197553,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb1a168"} 
[2026-10-05 16:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 16:27: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-10-05 16: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-10-05 16:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:27: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-10-05 16:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546496512001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546496512001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:27:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:27:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546496512001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":204782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:27:00] local.INFO: GPS data processed {"connection_id":204782,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:27:00] local.INFO: Acknowledgment sent {"connection_id":204782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:27:05] local.INFO: TCP Data received {"connection_id":206191,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:27:05] local.INFO: Processing buffer {"connection_id":206191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:27:05] local.INFO: IMEI packet received {"connection_id":206191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 16:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":206191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:27:09] local.INFO: TCP Data received {"connection_id":204780,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb4d1d0012d7b114005e34038000800cd2a..."} 
[2026-10-05 16:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb4d1d0012d7b114005e34038000800cd2a..."} 
[2026-10-05 16:27:09] local.INFO: Processing buffer {"connection_id":204780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb4d1d0012d7b114005e34038000800cd2a..."} 
[2026-10-05 16:27:09] local.INFO: Packet analysis {"connection_id":204780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb4"} 
[2026-10-05 16:27:09] local.INFO: Extracted packet for processing {"connection_id":204780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb4"} 
[2026-10-05 16:27:09] local.INFO: GPS Element Parsed {"raw_longitude":763040064,"raw_latitude":98779192,"longitude_deg":76.3040064,"latitude_deg":9.8779192,"altitude":8,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2d7b1140","hex_latitude":"05e34038","is_valid_coordinates":true} 
[2026-10-05 16:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546625024001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139740162589458432,"note":"Value kept but may cause issues"} 
[2026-10-05 16:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867939535300915200,"note":"Value kept but may cause issues"} 
[2026-10-05 16:27:09] 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-10-05 16:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791197762000,"timestamp_ms":1791197762000,"timestamp_seconds":1791197762,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb4d1d0"} 
[2026-10-05 16:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:27: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-10-05 16:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-10-05 16:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546625024001,"66":13917,"208":206,"85":15104,"24":0,"16":139740162589458432,"45":8867939535300915200},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546625024001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:27:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:27:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139740162589458432,"km_value":139740162589458.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867939535300915200,"description":"Unknown IO ID 45"} 
[2026-10-05 16:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546625024001,"power":13917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8867939535300915200}} 
[2026-10-05 16:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":204780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968499,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:27:09] local.INFO: GPS data processed {"connection_id":204780,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:27:09] local.INFO: Acknowledgment sent {"connection_id":204780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:27:09] local.INFO: TCP Data received {"connection_id":206191,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:27:09] local.INFO: Processing buffer {"connection_id":206191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:27:09] local.INFO: IMEI packet received {"connection_id":206191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":206191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:27:10] local.INFO: TCP Data received {"connection_id":206191,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb4cde8012d1b9400071f7a58004e00c427..."} 
[2026-10-05 16:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb4cde8012d1b9400071f7a58004e00c427..."} 
[2026-10-05 16:27:10] local.INFO: Processing buffer {"connection_id":206191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb4cde8012d1b9400071f7a58004e00c427..."} 
[2026-10-05 16:27:10] local.INFO: Packet analysis {"connection_id":206191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb4"} 
[2026-10-05 16:27:10] local.INFO: Extracted packet for processing {"connection_id":206191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb4"} 
[2026-10-05 16:27:10] local.INFO: GPS Element Parsed {"raw_longitude":756782080,"raw_latitude":119503448,"longitude_deg":75.678208,"latitude_deg":11.9503448,"altitude":78,"angle":196,"satellites":39,"speed":5,"hex_longitude":"2d1b9400","hex_latitude":"071f7a58","is_valid_coordinates":true} 
[2026-10-05 16:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546626560001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25140655491645440,"note":"Value kept but may cause issues"} 
[2026-10-05 16:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1987283734914336768,"note":"Value kept but may cause issues"} 
[2026-10-05 16:27:10] 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-10-05 16:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791197761000,"timestamp_ms":1791197761000,"timestamp_seconds":1791197761,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb4cde8"} 
[2026-10-05 16:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:27:10] 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-10-05 16:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 16:27:10] 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-10-05 16:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":206191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":206191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":206191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:27:10] 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-10-05 16:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546626560001,"66":13678,"101":206,"83":41984,"24":5,"16":25140655491645440,"45":1987283734914336768},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 16:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546626560001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:27:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 16:27:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 16:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25140655491645440,"km_value":25140655491645.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1987283734914336768,"description":"Unknown IO ID 45"} 
[2026-10-05 16:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546626560001,"power":13678,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1987283734914336768}} 
[2026-10-05 16:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":206191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:27:10] local.INFO: GPS data processed {"connection_id":206191,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:27:10] local.INFO: Acknowledgment sent {"connection_id":206191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:27:19] local.INFO: TCP Data received {"connection_id":204665,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb5a8a8012d0cdd0007074d98002701161f..."} 
[2026-10-05 16:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb5a8a8012d0cdd0007074d98002701161f..."} 
[2026-10-05 16:27:19] local.INFO: Processing buffer {"connection_id":204665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb5a8a8012d0cdd0007074d98002701161f..."} 
[2026-10-05 16:27:19] local.INFO: Packet analysis {"connection_id":204665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb5"} 
[2026-10-05 16:27:19] local.INFO: Extracted packet for processing {"connection_id":204665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb5"} 
[2026-10-05 16:27:19] local.INFO: GPS Element Parsed {"raw_longitude":755817728,"raw_latitude":117919128,"longitude_deg":75.5817728,"latitude_deg":11.7919128,"altitude":39,"angle":278,"satellites":31,"speed":19,"hex_longitude":"2d0cdd00","hex_latitude":"07074d98","is_valid_coordinates":true} 
[2026-10-05 16:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546640896001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34845443334602752,"note":"Value kept but may cause issues"} 
[2026-10-05 16:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927460078448891904,"note":"Value kept but may cause issues"} 
[2026-10-05 16:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791197817000,"timestamp_ms":1791197817000,"timestamp_seconds":1791197817,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb5a8a8"} 
[2026-10-05 16:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:27: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-10-05 16:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-05 16:27:19] 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-10-05 16:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":204665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":204665,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":204665,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546640896001,"66":14439,"221":206,"94":10240,"24":19,"16":34845443334602752,"45":927460078448891904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-05 16:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546640896001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:27:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-05 16:27:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 16:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34845443334602752,"km_value":34845443334602.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":927460078448891904,"description":"Unknown IO ID 45"} 
[2026-10-05 16:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546640896001,"power":14439,"unknown_221":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":927460078448891904}} 
[2026-10-05 16:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":204665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968501,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:27:19] local.INFO: GPS data processed {"connection_id":204665,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:27:19] local.INFO: Acknowledgment sent {"connection_id":204665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:27:30] local.INFO: TCP Data received {"connection_id":207726,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207726,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:27:30] local.INFO: Processing buffer {"connection_id":207726,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:27:30] local.INFO: IMEI packet received {"connection_id":207726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":207726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:27:32] local.INFO: TCP Data received {"connection_id":204782,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb1a168012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb1a168012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:27:32] local.INFO: Processing buffer {"connection_id":204782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb1a168012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:27:32] local.INFO: Packet analysis {"connection_id":204782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb1"} 
[2026-10-05 16:27:32] local.INFO: Extracted packet for processing {"connection_id":204782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb1"} 
[2026-10-05 16:27:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546496512001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791197553000,"timestamp_ms":1791197553000,"timestamp_seconds":1791197553,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb1a168"} 
[2026-10-05 16:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 16:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:27: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-10-05 16:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546496512001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546496512001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:27:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:27:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546496512001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":204782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:27:32] local.INFO: GPS data processed {"connection_id":204782,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:27:32] local.INFO: Acknowledgment sent {"connection_id":204782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:27:36] local.INFO: TCP Data received {"connection_id":207726,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207726,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:27:36] local.INFO: Processing buffer {"connection_id":207726,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:27:36] local.INFO: IMEI packet received {"connection_id":207726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":207726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:27:37] local.INFO: TCP Data received {"connection_id":207726,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb4e170012d7b108005e33d90000900c028..."} 
[2026-10-05 16:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb4e170012d7b108005e33d90000900c028..."} 
[2026-10-05 16:27:37] local.INFO: Processing buffer {"connection_id":207726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb4e170012d7b108005e33d90000900c028..."} 
[2026-10-05 16:27:37] local.INFO: Packet analysis {"connection_id":207726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb4"} 
[2026-10-05 16:27:37] local.INFO: Extracted packet for processing {"connection_id":207726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb4"} 
[2026-10-05 16:27:37] local.INFO: GPS Element Parsed {"raw_longitude":763039872,"raw_latitude":98778512,"longitude_deg":76.3039872,"latitude_deg":9.8778512,"altitude":9,"angle":192,"satellites":40,"speed":11,"hex_longitude":"2d7b1080","hex_latitude":"05e33d90","is_valid_coordinates":true} 
[2026-10-05 16:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546627072001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139740196949196800,"note":"Value kept but may cause issues"} 
[2026-10-05 16:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867939535300868096,"note":"Value kept but may cause issues"} 
[2026-10-05 16:27: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-10-05 16:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791197766000,"timestamp_ms":1791197766000,"timestamp_seconds":1791197766,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb4e170"} 
[2026-10-05 16:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:27: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-10-05 16:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-10-05 16:27:37] 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-10-05 16:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546627072001,"66":13852,"208":206,"85":15104,"24":11,"16":139740196949196800,"45":8867939535300868096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546627072001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:27:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:27:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139740196949196800,"km_value":139740196949196.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867939535300868096,"description":"Unknown IO ID 45"} 
[2026-10-05 16:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546627072001,"power":13852,"unknown_208":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8867939535300868096}} 
[2026-10-05 16:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":207726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:27:37] local.INFO: GPS data processed {"connection_id":207726,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:27:37] local.INFO: Acknowledgment sent {"connection_id":207726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:27:41] local.INFO: TCP Data received {"connection_id":206191,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb5a8a8012d1b7ec0071f72d0003c00f327..."} 
[2026-10-05 16:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb5a8a8012d1b7ec0071f72d0003c00f327..."} 
[2026-10-05 16:27:41] local.INFO: Processing buffer {"connection_id":206191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb5a8a8012d1b7ec0071f72d0003c00f327..."} 
[2026-10-05 16:27:41] local.INFO: Packet analysis {"connection_id":206191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb5"} 
[2026-10-05 16:27:41] local.INFO: Extracted packet for processing {"connection_id":206191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb5"} 
[2026-10-05 16:27:41] local.INFO: GPS Element Parsed {"raw_longitude":756776640,"raw_latitude":119501520,"longitude_deg":75.677664,"latitude_deg":11.950152,"altitude":60,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d1b7ec0","hex_latitude":"071f72d0","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546640896001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25140943254454272,"note":"Value kept but may cause issues"} 
[2026-10-05 16:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1981232022914516992,"note":"Value kept but may cause issues"} 
[2026-10-05 16:27:41] 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-10-05 16:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791197817000,"timestamp_ms":1791197817000,"timestamp_seconds":1791197817,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb5a8a8"} 
[2026-10-05 16:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:27: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-10-05 16: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-05 16:27:41] 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-10-05 16: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-10-05 16:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":206191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":206191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":206191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:27:41] 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-10-05 16:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546640896001,"66":13852,"101":206,"83":41984,"24":0,"16":25140943254454272,"45":1981232022914516992},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 16:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546640896001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:27:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 16:27:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 16:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25140943254454272,"km_value":25140943254454.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1981232022914516992,"description":"Unknown IO ID 45"} 
[2026-10-05 16:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546640896001,"power":13852,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1981232022914516992}} 
[2026-10-05 16:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":206191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:27:41] local.INFO: GPS data processed {"connection_id":206191,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:27:41] local.INFO: Acknowledgment sent {"connection_id":206191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:27:42] local.INFO: TCP Data received {"connection_id":204666,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204666,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:27:42] local.INFO: Processing buffer {"connection_id":204666,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:27:42] local.INFO: IMEI packet received {"connection_id":204666,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 16:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":204666,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:27:44] local.INFO: TCP Data received {"connection_id":206192,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206192,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:27:44] local.INFO: Processing buffer {"connection_id":206192,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:27:44] local.INFO: IMEI packet received {"connection_id":206192,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 16:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":206192,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:27:45] local.INFO: TCP Data received {"connection_id":204666,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204666,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:27:45] local.INFO: Processing buffer {"connection_id":204666,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:27:45] local.INFO: IMEI packet received {"connection_id":204666,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":204666,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:27:47] local.INFO: TCP Data received {"connection_id":204666,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204666,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:27:47] local.INFO: Processing buffer {"connection_id":204666,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:27:47] local.INFO: IMEI packet received {"connection_id":204666,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":204666,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:27:48] local.INFO: TCP Data received {"connection_id":204666,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb5ac90012d0cdb4007074e78002701231f..."} 
[2026-10-05 16:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb5ac90012d0cdb4007074e78002701231f..."} 
[2026-10-05 16:27:48] local.INFO: Processing buffer {"connection_id":204666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb5ac90012d0cdb4007074e78002701231f..."} 
[2026-10-05 16:27:48] local.INFO: Packet analysis {"connection_id":204666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb5"} 
[2026-10-05 16:27:48] local.INFO: Extracted packet for processing {"connection_id":204666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb5"} 
[2026-10-05 16:27:48] local.INFO: GPS Element Parsed {"raw_longitude":755817280,"raw_latitude":117919352,"longitude_deg":75.581728,"latitude_deg":11.7919352,"altitude":39,"angle":291,"satellites":31,"speed":22,"hex_longitude":"2d0cdb40","hex_latitude":"07074e78","is_valid_coordinates":true} 
[2026-10-05 16:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546641152001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34845469104406528,"note":"Value kept but may cause issues"} 
[2026-10-05 16:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":926897128495486976,"note":"Value kept but may cause issues"} 
[2026-10-05 16:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791197818000,"timestamp_ms":1791197818000,"timestamp_seconds":1791197818,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb5ac90"} 
[2026-10-05 16:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-05 16:27:48] 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-10-05 16:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546641152001,"66":14439,"221":206,"94":10240,"24":22,"16":34845469104406528,"45":926897128495486976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-05 16:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546641152001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:27:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-05 16:27:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 16:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34845469104406528,"km_value":34845469104406.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":926897128495486976,"description":"Unknown IO ID 45"} 
[2026-10-05 16:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546641152001,"power":14439,"unknown_221":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":926897128495486976}} 
[2026-10-05 16:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":204666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968505,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:27:48] local.INFO: GPS data processed {"connection_id":204666,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:27:48] local.INFO: Acknowledgment sent {"connection_id":204666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:27:54] local.INFO: TCP Data received {"connection_id":206193,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:27:54] local.INFO: Processing buffer {"connection_id":206193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:27:54] local.INFO: IMEI packet received {"connection_id":206193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":206193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:27:59] local.INFO: TCP Data received {"connection_id":206193,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:27:59] local.INFO: Processing buffer {"connection_id":206193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:27:59] local.INFO: IMEI packet received {"connection_id":206193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":206193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:28:00] local.INFO: TCP Data received {"connection_id":206193,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb1a168012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb1a168012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:28:00] local.INFO: Processing buffer {"connection_id":206193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb1a168012d80b3c00602ac50001400cf2d..."} 
[2026-10-05 16:28:00] local.INFO: Packet analysis {"connection_id":206193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb1"} 
[2026-10-05 16:28:00] local.INFO: Extracted packet for processing {"connection_id":206193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb1"} 
[2026-10-05 16:28:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 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-10-05 16:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546496512001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791197553000,"timestamp_ms":1791197553000,"timestamp_seconds":1791197553,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb1a168"} 
[2026-10-05 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-10-05 16:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 16:28: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-10-05 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-10-05 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-10-05 16:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546496512001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546496512001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:28:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:28:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546496512001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":206193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:28:00] local.INFO: GPS data processed {"connection_id":206193,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:28:00] local.INFO: Acknowledgment sent {"connection_id":206193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:28:05] local.INFO: TCP Data received {"connection_id":206194,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:28:05] local.INFO: Processing buffer {"connection_id":206194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:28:05] local.INFO: IMEI packet received {"connection_id":206194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 16:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":206194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:28:08] local.INFO: TCP Data received {"connection_id":207726,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb4f4f8012d7b0f8005e33538000900b525..."} 
[2026-10-05 16:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb4f4f8012d7b0f8005e33538000900b525..."} 
[2026-10-05 16:28:08] local.INFO: Processing buffer {"connection_id":207726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb4f4f8012d7b0f8005e33538000900b525..."} 
[2026-10-05 16:28:08] local.INFO: Packet analysis {"connection_id":207726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb4"} 
[2026-10-05 16:28:08] local.INFO: Extracted packet for processing {"connection_id":207726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb4"} 
[2026-10-05 16:28:08] local.INFO: GPS Element Parsed {"raw_longitude":763039616,"raw_latitude":98776376,"longitude_deg":76.3039616,"latitude_deg":9.8776376,"altitude":9,"angle":181,"satellites":37,"speed":22,"hex_longitude":"2d7b0f80","hex_latitude":"05e33538","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546628096001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139740304323379200,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867728429068161024,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:08] 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-10-05 16:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791197771000,"timestamp_ms":1791197771000,"timestamp_seconds":1791197771,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb4f4f8"} 
[2026-10-05 16:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16: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-10-05 16: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-05 16:28:08] 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-10-05 16: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-10-05 16:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546628096001,"66":13928,"208":206,"85":15104,"24":22,"16":139740304323379200,"45":8867728429068161024},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546628096001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:28:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:28:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139740304323379200,"km_value":139740304323379.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867728429068161024,"description":"Unknown IO ID 45"} 
[2026-10-05 16:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546628096001,"power":13928,"unknown_208":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8867728429068161024}} 
[2026-10-05 16:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":207726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:28:08] local.INFO: GPS data processed {"connection_id":207726,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:28:08] local.INFO: Acknowledgment sent {"connection_id":207726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:28:09] local.INFO: TCP Data received {"connection_id":206194,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:28:09] local.INFO: Processing buffer {"connection_id":206194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:28:09] local.INFO: IMEI packet received {"connection_id":206194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":206194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:28:10] local.INFO: TCP Data received {"connection_id":206194,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:28:10] local.INFO: Processing buffer {"connection_id":206194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:28:10] local.INFO: IMEI packet received {"connection_id":206194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":206194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:28:10] local.INFO: TCP Data received {"connection_id":206194,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb5ac90012d1b7e40071f7290003b00e126..."} 
[2026-10-05 16:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb5ac90012d1b7e40071f7290003b00e126..."} 
[2026-10-05 16:28:10] local.INFO: Processing buffer {"connection_id":206194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb5ac90012d1b7e40071f7290003b00e126..."} 
[2026-10-05 16:28:10] local.INFO: Packet analysis {"connection_id":206194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb5"} 
[2026-10-05 16:28:10] local.INFO: Extracted packet for processing {"connection_id":206194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb5"} 
[2026-10-05 16:28:10] local.INFO: GPS Element Parsed {"raw_longitude":756776512,"raw_latitude":119501456,"longitude_deg":75.6776512,"latitude_deg":11.9501456,"altitude":59,"angle":225,"satellites":38,"speed":0,"hex_longitude":"2d1b7e40","hex_latitude":"071f7290","is_valid_coordinates":true} 
[2026-10-05 16:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546641152001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25140951844388864,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1981232022914519040,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:10] 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-10-05 16:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791197818000,"timestamp_ms":1791197818000,"timestamp_seconds":1791197818,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb5ac90"} 
[2026-10-05 16:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:28:10] 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-10-05 16:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-05 16:28:10] 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-10-05 16:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":206194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":206194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":206194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:28:10] 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-10-05 16:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546641152001,"66":13406,"101":206,"83":41984,"24":0,"16":25140951844388864,"45":1981232022914519040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 16:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546641152001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:28:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 16:28:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 16:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25140951844388864,"km_value":25140951844388.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1981232022914519040,"description":"Unknown IO ID 45"} 
[2026-10-05 16:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546641152001,"power":13406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1981232022914519040}} 
[2026-10-05 16:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":206194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:28:10] local.INFO: GPS data processed {"connection_id":206194,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:28:10] local.INFO: Acknowledgment sent {"connection_id":206194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:28:15] local.INFO: TCP Data received {"connection_id":206194,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb5c018012d1b7b00071f70b8003b00ee26..."} 
[2026-10-05 16:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb5c018012d1b7b00071f70b8003b00ee26..."} 
[2026-10-05 16:28:15] local.INFO: Processing buffer {"connection_id":206194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb5c018012d1b7b00071f70b8003b00ee26..."} 
[2026-10-05 16:28:15] local.INFO: Packet analysis {"connection_id":206194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb5"} 
[2026-10-05 16:28:15] local.INFO: Extracted packet for processing {"connection_id":206194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb5"} 
[2026-10-05 16:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756775680,"raw_latitude":119500984,"longitude_deg":75.677568,"latitude_deg":11.9500984,"altitude":59,"angle":238,"satellites":38,"speed":10,"hex_longitude":"2d1b7b00","hex_latitude":"071f70b8","is_valid_coordinates":true} 
[2026-10-05 16:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546641408001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25140999089029120,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1981091285426147328,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791197823000,"timestamp_ms":1791197823000,"timestamp_seconds":1791197823,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb5c018"} 
[2026-10-05 16:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:28: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-10-05 16:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-10-05 16:28:15] 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-10-05 16:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":206194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":206194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":206194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546641408001,"66":13678,"101":206,"83":41984,"24":10,"16":25140999089029120,"45":1981091285426147328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 16:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546641408001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:28:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 16:28:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 16:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25140999089029120,"km_value":25140999089029.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1981091285426147328,"description":"Unknown IO ID 45"} 
[2026-10-05 16:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546641408001,"power":13678,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1981091285426147328}} 
[2026-10-05 16:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":206194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:28:15] local.INFO: GPS data processed {"connection_id":206194,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:28:15] local.INFO: Acknowledgment sent {"connection_id":206194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:28:19] local.INFO: TCP Data received {"connection_id":204666,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb6ae60012d0ca900070777680021011721..."} 
[2026-10-05 16:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb6ae60012d0ca900070777680021011721..."} 
[2026-10-05 16:28:19] local.INFO: Processing buffer {"connection_id":204666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb6ae60012d0ca900070777680021011721..."} 
[2026-10-05 16:28:19] local.INFO: Packet analysis {"connection_id":204666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:28:19] local.INFO: Extracted packet for processing {"connection_id":204666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:28:19] local.INFO: GPS Element Parsed {"raw_longitude":755804416,"raw_latitude":117929832,"longitude_deg":75.5804416,"latitude_deg":11.7929832,"altitude":33,"angle":279,"satellites":33,"speed":14,"hex_longitude":"2d0ca900","hex_latitude":"07077768","is_valid_coordinates":true} 
[2026-10-05 16:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546658048001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34846405407277056,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912682642174318592,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791197884000,"timestamp_ms":1791197884000,"timestamp_seconds":1791197884,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb6ae60"} 
[2026-10-05 16:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:28: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-10-05 16:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 16:28:19] local.WARNING: Large IO value detected {"io_id":94,"raw_value":4035259355784806407,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:19] local.WARNING: Large IO value detected {"io_id":24,"raw_value":844433535860736,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652632836877824,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:19] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2248146944,"corrected_to":0} 
[2026-10-05 16:28:19] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3061041153,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":803012814,"corrected_to":0} 
[2026-10-05 16:28:19] local.WARNING: Large IO value detected {"io_id":107,"raw_value":4160826636,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:19] local.WARNING: Large IO value detected {"io_id":171,"raw_value":3221686112,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:19] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3428253696,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:19] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-1152590497135458553,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:19] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,221,94,24,241,157,16,204,161,166,45,128,118,33,10,66,162,117,150,192,1,240,103,227,11,7,4,113,205,8,107,171,104,239,56,2,123,29,3,25],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":204,"original":2248146944,"validated":0},{"io_id":205,"original":803012814,"validated":0}]} 
[2026-10-05 16:28:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2378224001404764160,"timestamp_seconds":2378224001404764.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 16:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":204666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":204666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":204666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546658048001,"66":13830,"221":206,"94":10240,"24":14,"16":34846405407277056,"45":912682642174318592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-05 16:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546658048001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:28:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-05 16:28:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 16:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34846405407277056,"km_value":34846405407277.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":912682642174318592,"description":"Unknown IO ID 45"} 
[2026-10-05 16:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546658048001,"power":13830,"unknown_221":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":912682642174318592}} 
[2026-10-05 16:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":204666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968510,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:28:19] local.INFO: GPS data processed {"connection_id":204666,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:28:19] local.INFO: Acknowledgment sent {"connection_id":204666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:28:31] local.INFO: TCP Data received {"connection_id":207727,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:28:31] local.INFO: Processing buffer {"connection_id":207727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:28:31] local.INFO: IMEI packet received {"connection_id":207727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":207727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:28:31] local.INFO: TCP Data received {"connection_id":206193,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:28:31] local.INFO: Processing buffer {"connection_id":206193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:28:31] local.INFO: Packet analysis {"connection_id":206193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:28:31] local.INFO: Extracted packet for processing {"connection_id":206193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:28:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546573568001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791197854000,"timestamp_ms":1791197854000,"timestamp_seconds":1791197854,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb63930"} 
[2026-10-05 16:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546573568001,"66":26006,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546573568001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:28:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:28:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546573568001,"power":26006,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":206193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:28:31] local.INFO: GPS data processed {"connection_id":206193,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:28:31] local.INFO: Acknowledgment sent {"connection_id":206193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:28:32] local.INFO: TCP Data received {"connection_id":207727,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:28:32] local.INFO: Processing buffer {"connection_id":207727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:28:32] local.INFO: IMEI packet received {"connection_id":207727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":207727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:28:33] local.INFO: TCP Data received {"connection_id":207727,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:28:33] local.INFO: Processing buffer {"connection_id":207727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:28:33] local.INFO: IMEI packet received {"connection_id":207727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":207727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:28:36] local.INFO: TCP Data received {"connection_id":207727,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:28:36] local.INFO: Processing buffer {"connection_id":207727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:28:36] local.INFO: IMEI packet received {"connection_id":207727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":207727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:28:38] local.INFO: TCP Data received {"connection_id":207727,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb6b248012d7b1f4005e2dd18001900a320..."} 
[2026-10-05 16:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb6b248012d7b1f4005e2dd18001900a320..."} 
[2026-10-05 16:28:38] local.INFO: Processing buffer {"connection_id":207727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb6b248012d7b1f4005e2dd18001900a320..."} 
[2026-10-05 16:28:38] local.INFO: Packet analysis {"connection_id":207727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:28:38] local.INFO: Extracted packet for processing {"connection_id":207727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:28:38] local.INFO: GPS Element Parsed {"raw_longitude":763043648,"raw_latitude":98753816,"longitude_deg":76.3043648,"latitude_deg":9.8753816,"altitude":25,"angle":163,"satellites":32,"speed":7,"hex_longitude":"2d7b1f40","hex_latitude":"05e2dd18","is_valid_coordinates":true} 
[2026-10-05 16:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546658048001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139741459669581824,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871739447480051712,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:38] 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-10-05 16:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791197885000,"timestamp_ms":1791197885000,"timestamp_seconds":1791197885,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb6b248"} 
[2026-10-05 16:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-10-05 16:28:38] 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-10-05 16:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546658048001,"66":13472,"207":206,"85":15104,"24":7,"16":139741459669581824,"45":8871739447480051712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 16:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546658048001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:28:38] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 16:28:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139741459669581824,"km_value":139741459669581.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871739447480051712,"description":"Unknown IO ID 45"} 
[2026-10-05 16:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546658048001,"power":13472,"unknown_207":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8871739447480051712}} 
[2026-10-05 16:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":207727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:28:38] local.INFO: GPS data processed {"connection_id":207727,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:28:38] local.INFO: Acknowledgment sent {"connection_id":207727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:28:42] local.INFO: TCP Data received {"connection_id":206195,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206195,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:28:42] local.INFO: Processing buffer {"connection_id":206195,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:28:42] local.INFO: IMEI packet received {"connection_id":206195,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 16:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":206195,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:28:46] local.INFO: TCP Data received {"connection_id":206194,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb6a690012d1b3e80071f75c8003600f529..."} 
[2026-10-05 16:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb6a690012d1b3e80071f75c8003600f529..."} 
[2026-10-05 16:28:46] local.INFO: Processing buffer {"connection_id":206194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb6a690012d1b3e80071f75c8003600f529..."} 
[2026-10-05 16:28:46] local.INFO: Packet analysis {"connection_id":206194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:28:46] local.INFO: Extracted packet for processing {"connection_id":206194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:28:46] local.INFO: GPS Element Parsed {"raw_longitude":756760192,"raw_latitude":119502280,"longitude_deg":75.6760192,"latitude_deg":11.950228,"altitude":54,"angle":245,"satellites":41,"speed":24,"hex_longitude":"2d1b3e80","hex_latitude":"071f75c8","is_valid_coordinates":true} 
[2026-10-05 16:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546656512001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25141892442226688,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965469424219348992,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:46] 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-10-05 16:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791197882000,"timestamp_ms":1791197882000,"timestamp_seconds":1791197882,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb6a690"} 
[2026-10-05 16:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-10-05 16:28:46] 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-10-05 16:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":206194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":206194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":206194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:28:46] 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-10-05 16:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546656512001,"66":13972,"101":206,"83":41984,"24":24,"16":25141892442226688,"45":1965469424219348992},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 16:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546656512001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:28:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 16:28:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 16:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25141892442226688,"km_value":25141892442226.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965469424219348992,"description":"Unknown IO ID 45"} 
[2026-10-05 16:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546656512001,"power":13972,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1965469424219348992}} 
[2026-10-05 16:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":206194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:28:46] local.INFO: GPS data processed {"connection_id":206194,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:28:46] local.INFO: Acknowledgment sent {"connection_id":206194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:28:47] local.INFO: TCP Data received {"connection_id":206195,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206195,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:28:47] local.INFO: Processing buffer {"connection_id":206195,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:28:47] local.INFO: IMEI packet received {"connection_id":206195,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":206195,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:28:48] local.INFO: TCP Data received {"connection_id":206195,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb6ba18012d0ca1c0070777380020010b20..."} 
[2026-10-05 16:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb6ba18012d0ca1c0070777380020010b20..."} 
[2026-10-05 16:28:48] local.INFO: Processing buffer {"connection_id":206195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb6ba18012d0ca1c0070777380020010b20..."} 
[2026-10-05 16:28:48] local.INFO: Packet analysis {"connection_id":206195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:28:48] local.INFO: Extracted packet for processing {"connection_id":206195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:28:48] local.INFO: GPS Element Parsed {"raw_longitude":755802560,"raw_latitude":117929784,"longitude_deg":75.580256,"latitude_deg":11.7929784,"altitude":32,"angle":267,"satellites":32,"speed":24,"hex_longitude":"2d0ca1c0","hex_latitude":"07077738","is_valid_coordinates":true} 
[2026-10-05 16:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546658304001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34846495601590272,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912260429709273088,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791197887000,"timestamp_ms":1791197887000,"timestamp_seconds":1791197887,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb6ba18"} 
[2026-10-05 16:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 16:28:48] local.WARNING: Large IO value detected {"io_id":94,"raw_value":-576428860927574013,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:48] local.WARNING: Large IO value detected {"io_id":24,"raw_value":1407383489282048,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652632836876544,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:48] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2483027968,"corrected_to":0} 
[2026-10-05 16:28:48] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3063345153,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":803012814,"corrected_to":0} 
[2026-10-05 16:28:48] local.WARNING: Large IO value detected {"io_id":115,"raw_value":3355520268,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:48] local.WARNING: Large IO value detected {"io_id":171,"raw_value":2147944289,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:48] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3428515840,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:48] local.WARNING: Large IO value detected {"io_id":96,"raw_value":4612017025865221895,"note":"Value kept but may cause issues"} 
[2026-10-05 16:28:48] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,221,94,24,241,157,16,204,161,170,45,128,119,33,10,66,166,118,162,1,240,32,227,11,7,4,113,205,21,115,171,216,239,56,2,123,29,5,96],"length":528,"final_offset":658,"validated_count":39,"validation_warnings":[{"io_id":204,"original":2483027968,"validated":0},{"io_id":205,"original":803012814,"validated":0}]} 
[2026-10-05 16:28:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2378207508730609664,"timestamp_seconds":2378207508730609.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 16:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":206195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":206195,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":206195,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546658304001,"66":14548,"221":206,"94":10240,"24":24,"16":34846495601590272,"45":912260429709273088},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-05 16:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546658304001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:28:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-05 16:28:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 16:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34846495601590272,"km_value":34846495601590.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":912260429709273088,"description":"Unknown IO ID 45"} 
[2026-10-05 16:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546658304001,"power":14548,"unknown_221":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":912260429709273088}} 
[2026-10-05 16:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":206195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968514,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:28:48] local.INFO: GPS data processed {"connection_id":206195,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:28:48] local.INFO: Acknowledgment sent {"connection_id":206195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:28:54] local.INFO: TCP Data received {"connection_id":206196,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:28:54] local.INFO: Processing buffer {"connection_id":206196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:28:54] local.INFO: IMEI packet received {"connection_id":206196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":206196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:28:59] local.INFO: TCP Data received {"connection_id":206196,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:28:59] local.INFO: Processing buffer {"connection_id":206196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:28:59] local.INFO: IMEI packet received {"connection_id":206196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":206196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:29:00] local.INFO: TCP Data received {"connection_id":206196,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:29:00] local.INFO: Processing buffer {"connection_id":206196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:29:00] local.INFO: Packet analysis {"connection_id":206196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:29:00] local.INFO: Extracted packet for processing {"connection_id":206196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:29:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546573568001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791197854000,"timestamp_ms":1791197854000,"timestamp_seconds":1791197854,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb63930"} 
[2026-10-05 16:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:29:00] 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-10-05 16:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546573568001,"66":26006,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546573568001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:29:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:29:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546573568001,"power":26006,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":206196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:29:00] local.INFO: GPS data processed {"connection_id":206196,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:29:00] local.INFO: Acknowledgment sent {"connection_id":206196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:29:05] local.INFO: TCP Data received {"connection_id":207728,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:29:05] local.INFO: Processing buffer {"connection_id":207728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:29:05] local.INFO: IMEI packet received {"connection_id":207728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 16:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":207728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:29:05] local.INFO: TCP Data received {"connection_id":207728,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:29:05] local.INFO: Processing buffer {"connection_id":207728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:29:05] local.INFO: IMEI packet received {"connection_id":207728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":207728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:29:06] local.INFO: TCP Data received {"connection_id":207728,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:29:06] local.INFO: Processing buffer {"connection_id":207728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:29:06] local.INFO: IMEI packet received {"connection_id":207728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":207728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:29:07] local.INFO: TCP Data received {"connection_id":207728,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:29:07] local.INFO: Processing buffer {"connection_id":207728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:29:07] local.INFO: IMEI packet received {"connection_id":207728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":207728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:29:10] local.INFO: TCP Data received {"connection_id":207727,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb6ba18012d7b1fc005e2dbf8001900af1f..."} 
[2026-10-05 16:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb6ba18012d7b1fc005e2dbf8001900af1f..."} 
[2026-10-05 16:29:10] local.INFO: Processing buffer {"connection_id":207727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb6ba18012d7b1fc005e2dbf8001900af1f..."} 
[2026-10-05 16:29:10] local.INFO: Packet analysis {"connection_id":207727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:29:10] local.INFO: Extracted packet for processing {"connection_id":207727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:29:10] local.INFO: GPS Element Parsed {"raw_longitude":763043776,"raw_latitude":98753528,"longitude_deg":76.3043776,"latitude_deg":9.8753528,"altitude":25,"angle":175,"satellites":31,"speed":4,"hex_longitude":"2d7b1fc0","hex_latitude":"05e2dbf8","is_valid_coordinates":true} 
[2026-10-05 16:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546658560001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139741472554483712,"note":"Value kept but may cause issues"} 
[2026-10-05 16:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871880184968321024,"note":"Value kept but may cause issues"} 
[2026-10-05 16:29: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-10-05 16:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791197887000,"timestamp_ms":1791197887000,"timestamp_seconds":1791197887,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb6ba18"} 
[2026-10-05 16:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-10-05 16:29:10] 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-10-05 16:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546658560001,"66":13493,"207":206,"85":15104,"24":4,"16":139741472554483712,"45":8871880184968321024},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 16:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546658560001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:29:10] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 16:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139741472554483712,"km_value":139741472554483.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871880184968321024,"description":"Unknown IO ID 45"} 
[2026-10-05 16:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546658560001,"power":13493,"unknown_207":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8871880184968321024}} 
[2026-10-05 16:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":207727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:29:10] local.INFO: GPS data processed {"connection_id":207727,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:29:10] local.INFO: Acknowledgment sent {"connection_id":207727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:29:19] local.INFO: TCP Data received {"connection_id":206195,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb78538012d0c390007077138001100ef20..."} 
[2026-10-05 16:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb78538012d0c390007077138001100ef20..."} 
[2026-10-05 16:29:19] local.INFO: Processing buffer {"connection_id":206195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb78538012d0c390007077138001100ef20..."} 
[2026-10-05 16:29:19] local.INFO: Packet analysis {"connection_id":206195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb7"} 
[2026-10-05 16:29:19] local.INFO: Extracted packet for processing {"connection_id":206195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb7"} 
[2026-10-05 16:29:19] local.INFO: GPS Element Parsed {"raw_longitude":755775744,"raw_latitude":117928248,"longitude_deg":75.5775744,"latitude_deg":11.7928248,"altitude":17,"angle":239,"satellites":32,"speed":8,"hex_longitude":"2d0c3900","hex_latitude":"07077138","is_valid_coordinates":true} 
[2026-10-05 16:29: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-10-05 16:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546671872001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34847792681713664,"note":"Value kept but may cause issues"} 
[2026-10-05 16:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881438919759106048,"note":"Value kept but may cause issues"} 
[2026-10-05 16:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791197939000,"timestamp_ms":1791197939000,"timestamp_seconds":1791197939,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb78538"} 
[2026-10-05 16:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:29: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-10-05 16:29: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":114,"data_length":795,"current_offset":136} 
[2026-10-05 16:29:19] 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-10-05 16:29: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-10-05 16:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":206195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":206195,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":206195,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546671872001,"66":14461,"221":206,"94":10240,"24":8,"16":34847792681713664,"45":881438919759106048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-05 16:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546671872001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:29:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-05 16:29:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 16:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34847792681713664,"km_value":34847792681713.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":881438919759106048,"description":"Unknown IO ID 45"} 
[2026-10-05 16:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546671872001,"power":14461,"unknown_221":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":881438919759106048}} 
[2026-10-05 16:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":206195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968517,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:29:19] local.INFO: GPS data processed {"connection_id":206195,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:29:19] local.INFO: Acknowledgment sent {"connection_id":206195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:29:31] local.INFO: TCP Data received {"connection_id":206196,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:29:31] local.INFO: Processing buffer {"connection_id":206196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:29:31] local.INFO: Packet analysis {"connection_id":206196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:29:31] local.INFO: Extracted packet for processing {"connection_id":206196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:29:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546573568001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791197854000,"timestamp_ms":1791197854000,"timestamp_seconds":1791197854,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb63930"} 
[2026-10-05 16:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:29:31] 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-10-05 16:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546573568001,"66":26006,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546573568001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:29:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:29:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546573568001,"power":26006,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":206196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:29:31] local.INFO: GPS data processed {"connection_id":206196,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:29:31] local.INFO: Acknowledgment sent {"connection_id":206196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:29:35] local.INFO: TCP Data received {"connection_id":204784,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:29:35] local.INFO: Processing buffer {"connection_id":204784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:29:35] local.INFO: IMEI packet received {"connection_id":204784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":204784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:29:39] local.INFO: TCP Data received {"connection_id":204784,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:29:39] local.INFO: Processing buffer {"connection_id":204784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:29:39] local.INFO: IMEI packet received {"connection_id":204784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":204784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:29:40] local.INFO: TCP Data received {"connection_id":204784,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb6e510012d7b1fc005e2d348001a00be1f..."} 
[2026-10-05 16:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb6e510012d7b1fc005e2d348001a00be1f..."} 
[2026-10-05 16:29:40] local.INFO: Processing buffer {"connection_id":204784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb6e510012d7b1fc005e2d348001a00be1f..."} 
[2026-10-05 16:29:40] local.INFO: Packet analysis {"connection_id":204784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:29:40] local.INFO: Extracted packet for processing {"connection_id":204784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:29:40] local.INFO: GPS Element Parsed {"raw_longitude":763043776,"raw_latitude":98751304,"longitude_deg":76.3043776,"latitude_deg":9.8751304,"altitude":26,"angle":190,"satellites":31,"speed":5,"hex_longitude":"2d7b1fc0","hex_latitude":"05e2d348","is_valid_coordinates":true} 
[2026-10-05 16:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546659072001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139741584223633408,"note":"Value kept but may cause issues"} 
[2026-10-05 16:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872020922456602624,"note":"Value kept but may cause issues"} 
[2026-10-05 16:29:40] 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-10-05 16:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791197898000,"timestamp_ms":1791197898000,"timestamp_seconds":1791197898,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb6e510"} 
[2026-10-05 16:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-10-05 16:29:40] 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-10-05 16:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546659072001,"66":13624,"207":206,"85":15104,"24":5,"16":139741584223633408,"45":8872020922456602624},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 16:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546659072001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:29:40] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 16:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139741584223633408,"km_value":139741584223633.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872020922456602624,"description":"Unknown IO ID 45"} 
[2026-10-05 16:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546659072001,"power":13624,"unknown_207":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8872020922456602624}} 
[2026-10-05 16:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":204784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:29:40] local.INFO: GPS data processed {"connection_id":204784,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:29:40] local.INFO: Acknowledgment sent {"connection_id":204784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:29:41] local.INFO: TCP Data received {"connection_id":204784,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb70068012d7b200005e2d0a8001a00b120..."} 
[2026-10-05 16:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb70068012d7b200005e2d0a8001a00b120..."} 
[2026-10-05 16:29:41] local.INFO: Processing buffer {"connection_id":204784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb70068012d7b200005e2d0a8001a00b120..."} 
[2026-10-05 16:29:41] local.INFO: Packet analysis {"connection_id":204784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb7"} 
[2026-10-05 16:29:41] local.INFO: Extracted packet for processing {"connection_id":204784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb7"} 
[2026-10-05 16:29:41] local.INFO: GPS Element Parsed {"raw_longitude":763043840,"raw_latitude":98750632,"longitude_deg":76.304384,"latitude_deg":9.8750632,"altitude":26,"angle":177,"satellites":32,"speed":2,"hex_longitude":"2d7b2000","hex_latitude":"05e2d0a8","is_valid_coordinates":true} 
[2026-10-05 16:29: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-10-05 16:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546661888001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139741618583371776,"note":"Value kept but may cause issues"} 
[2026-10-05 16:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872020922456033280,"note":"Value kept but may cause issues"} 
[2026-10-05 16:29:41] 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-10-05 16:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791197905000,"timestamp_ms":1791197905000,"timestamp_seconds":1791197905,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb70068"} 
[2026-10-05 16:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:29: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":56,"data_length":795,"current_offset":136} 
[2026-10-05 16:29:41] 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-10-05 16:29: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-10-05 16:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546661888001,"66":13526,"207":206,"85":15104,"24":2,"16":139741618583371776,"45":8872020922456033280},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 16:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546661888001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:29:41] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 16:29:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139741618583371776,"km_value":139741618583371.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872020922456033280,"description":"Unknown IO ID 45"} 
[2026-10-05 16:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546661888001,"power":13526,"unknown_207":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8872020922456033280}} 
[2026-10-05 16:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":204784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968520,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:29:41] local.INFO: GPS data processed {"connection_id":204784,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:29:41] local.INFO: Acknowledgment sent {"connection_id":204784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:29:45] local.INFO: TCP Data received {"connection_id":206197,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206197,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:29:45] local.INFO: Processing buffer {"connection_id":206197,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:29:45] local.INFO: IMEI packet received {"connection_id":206197,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 16:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":206197,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:29:47] local.INFO: TCP Data received {"connection_id":206197,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206197,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:29:47] local.INFO: Processing buffer {"connection_id":206197,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:29:47] local.INFO: IMEI packet received {"connection_id":206197,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":206197,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:29:54] local.INFO: TCP Data received {"connection_id":206197,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206197,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:29:54] local.INFO: Processing buffer {"connection_id":206197,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:29:54] local.INFO: IMEI packet received {"connection_id":206197,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":206197,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:29:55] local.INFO: TCP Data received {"connection_id":204667,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:29:55] local.INFO: Processing buffer {"connection_id":204667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:29:55] local.INFO: IMEI packet received {"connection_id":204667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":204667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:29:55] local.INFO: TCP Data received {"connection_id":206197,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb790f0012d0c384007077010001100c320..."} 
[2026-10-05 16:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb790f0012d0c384007077010001100c320..."} 
[2026-10-05 16:29:55] local.INFO: Processing buffer {"connection_id":206197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb790f0012d0c384007077010001100c320..."} 
[2026-10-05 16:29:55] local.INFO: Packet analysis {"connection_id":206197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb7"} 
[2026-10-05 16:29:55] local.INFO: Extracted packet for processing {"connection_id":206197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb7"} 
[2026-10-05 16:29:55] local.INFO: GPS Element Parsed {"raw_longitude":755775552,"raw_latitude":117927952,"longitude_deg":75.5775552,"latitude_deg":11.7927952,"altitude":17,"angle":195,"satellites":32,"speed":6,"hex_longitude":"2d0c3840","hex_latitude":"07077010","is_valid_coordinates":true} 
[2026-10-05 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-10-05 16:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546672384001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34847814156550144,"note":"Value kept but may cause issues"} 
[2026-10-05 16:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880735232317274112,"note":"Value kept but may cause issues"} 
[2026-10-05 16:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1791197942000,"timestamp_ms":1791197942000,"timestamp_seconds":1791197942,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb790f0"} 
[2026-10-05 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-10-05 16:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-05 16:29:55] 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-10-05 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-10-05 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-10-05 16:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":206197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":206197,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":206197,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546672384001,"66":14580,"221":206,"94":10240,"24":6,"16":34847814156550144,"45":880735232317274112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-05 16:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546672384001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:29:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-05 16:29:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 16:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34847814156550144,"km_value":34847814156550.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":880735232317274112,"description":"Unknown IO ID 45"} 
[2026-10-05 16:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546672384001,"power":14580,"unknown_221":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":880735232317274112}} 
[2026-10-05 16:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":206197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968521,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:29:55] local.INFO: GPS data processed {"connection_id":206197,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:29:55] local.INFO: Acknowledgment sent {"connection_id":206197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:29:58] local.INFO: TCP Data received {"connection_id":206197,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb794d8012d0c384007076f48001100b420..."} 
[2026-10-05 16:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb794d8012d0c384007076f48001100b420..."} 
[2026-10-05 16:29:58] local.INFO: Processing buffer {"connection_id":206197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb794d8012d0c384007076f48001100b420..."} 
[2026-10-05 16:29:58] local.INFO: Packet analysis {"connection_id":206197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb7"} 
[2026-10-05 16:29:58] local.INFO: Extracted packet for processing {"connection_id":206197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb7"} 
[2026-10-05 16:29:58] local.INFO: GPS Element Parsed {"raw_longitude":755775552,"raw_latitude":117927752,"longitude_deg":75.5775552,"latitude_deg":11.7927752,"altitude":17,"angle":180,"satellites":32,"speed":8,"hex_longitude":"2d0c3840","hex_latitude":"07076f48","is_valid_coordinates":true} 
[2026-10-05 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-10-05 16:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546673152001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34847822746484736,"note":"Value kept but may cause issues"} 
[2026-10-05 16:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880524126084665344,"note":"Value kept but may cause issues"} 
[2026-10-05 16:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1791197943000,"timestamp_ms":1791197943000,"timestamp_seconds":1791197943,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb794d8"} 
[2026-10-05 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-10-05 16:29: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-10-05 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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-10-05 16:29:58] 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-10-05 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-10-05 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-10-05 16:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":206197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":206197,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":206197,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546673152001,"66":14580,"221":206,"94":10240,"24":8,"16":34847822746484736,"45":880524126084665344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-05 16:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546673152001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:29:58] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-05 16:29:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 16:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34847822746484736,"km_value":34847822746484.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":880524126084665344,"description":"Unknown IO ID 45"} 
[2026-10-05 16:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546673152001,"power":14580,"unknown_221":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":880524126084665344}} 
[2026-10-05 16:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":206197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968522,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:29:58] local.INFO: GPS data processed {"connection_id":206197,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:29:58] local.INFO: Acknowledgment sent {"connection_id":206197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:29:59] local.INFO: TCP Data received {"connection_id":204667,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:29:59] local.INFO: Processing buffer {"connection_id":204667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:29:59] local.INFO: IMEI packet received {"connection_id":204667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":204667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:30:00] local.INFO: TCP Data received {"connection_id":204667,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:30:00] local.INFO: Processing buffer {"connection_id":204667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:30:00] local.INFO: Packet analysis {"connection_id":204667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:30:00] local.INFO: Extracted packet for processing {"connection_id":204667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:30:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546573568001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791197854000,"timestamp_ms":1791197854000,"timestamp_seconds":1791197854,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb63930"} 
[2026-10-05 16:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:30: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-10-05 16:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546573568001,"66":26006,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546573568001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:30:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:30:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546573568001,"power":26006,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":204667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:30:00] local.INFO: GPS data processed {"connection_id":204667,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:30:00] local.INFO: Acknowledgment sent {"connection_id":204667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:30:13] local.INFO: TCP Data received {"connection_id":204784,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb844a0012d7b214005e294700016016023..."} 
[2026-10-05 16:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb844a0012d7b214005e294700016016023..."} 
[2026-10-05 16:30:13] local.INFO: Processing buffer {"connection_id":204784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb844a0012d7b214005e294700016016023..."} 
[2026-10-05 16:30:13] local.INFO: Packet analysis {"connection_id":204784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb8"} 
[2026-10-05 16:30:13] local.INFO: Extracted packet for processing {"connection_id":204784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb8"} 
[2026-10-05 16:30:13] local.INFO: GPS Element Parsed {"raw_longitude":763044160,"raw_latitude":98735216,"longitude_deg":76.304416,"latitude_deg":9.8735216,"altitude":22,"angle":352,"satellites":35,"speed":21,"hex_longitude":"2d7b2140","hex_latitude":"05e29470","is_valid_coordinates":true} 
[2026-10-05 16:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546684160001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139742606425849856,"note":"Value kept but may cause issues"} 
[2026-10-05 16:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872794978637522944,"note":"Value kept but may cause issues"} 
[2026-10-05 16:30:13] 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-10-05 16:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791197988000,"timestamp_ms":1791197988000,"timestamp_seconds":1791197988,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb844a0"} 
[2026-10-05 16:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:30: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-10-05 16:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-10-05 16:30:13] 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-10-05 16:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":204784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":204784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":204784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546684160001,"66":13602,"207":206,"85":15104,"24":21,"16":139742606425849856,"45":8872794978637522944},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 16:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546684160001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:30:13] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 16:30:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139742606425849856,"km_value":139742606425849.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872794978637522944,"description":"Unknown IO ID 45"} 
[2026-10-05 16:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546684160001,"power":13602,"unknown_207":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8872794978637522944}} 
[2026-10-05 16:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":204784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:30:13] local.INFO: GPS data processed {"connection_id":204784,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:30:13] local.INFO: Acknowledgment sent {"connection_id":204784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:30:30] local.INFO: TCP Data received {"connection_id":207729,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:30:30] local.INFO: Processing buffer {"connection_id":207729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:30:30] local.INFO: IMEI packet received {"connection_id":207729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":207729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:30:31] local.INFO: TCP Data received {"connection_id":207729,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:30:31] local.INFO: Processing buffer {"connection_id":207729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:30:31] local.INFO: IMEI packet received {"connection_id":207729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":207729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:30:31] local.INFO: TCP Data received {"connection_id":204667,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:30:31] local.INFO: Processing buffer {"connection_id":204667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:30:31] local.INFO: Packet analysis {"connection_id":204667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:30:31] local.INFO: Extracted packet for processing {"connection_id":204667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:30:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 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-10-05 16:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546573568001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791197854000,"timestamp_ms":1791197854000,"timestamp_seconds":1791197854,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb63930"} 
[2026-10-05 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-10-05 16:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 16:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546573568001,"66":26006,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546573568001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:30:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:30:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546573568001,"power":26006,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":204667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:30:31] local.INFO: GPS data processed {"connection_id":204667,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:30:31] local.INFO: Acknowledgment sent {"connection_id":204667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:30:32] local.INFO: TCP Data received {"connection_id":207729,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:30:32] local.INFO: Processing buffer {"connection_id":207729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:30:32] local.INFO: IMEI packet received {"connection_id":207729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":207729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:30:32] local.INFO: TCP Data received {"connection_id":207729,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb86bb0012d7b1bc005e2b908001501611c..."} 
[2026-10-05 16:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb86bb0012d7b1bc005e2b908001501611c..."} 
[2026-10-05 16:30:32] local.INFO: Processing buffer {"connection_id":207729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb86bb0012d7b1bc005e2b908001501611c..."} 
[2026-10-05 16:30:32] local.INFO: Packet analysis {"connection_id":207729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb8"} 
[2026-10-05 16:30:32] local.INFO: Extracted packet for processing {"connection_id":207729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb8"} 
[2026-10-05 16:30:32] local.INFO: GPS Element Parsed {"raw_longitude":763042752,"raw_latitude":98744584,"longitude_deg":76.3042752,"latitude_deg":9.8744584,"altitude":21,"angle":353,"satellites":28,"speed":45,"hex_longitude":"2d7b1bc0","hex_latitude":"05e2b908","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546684928001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139743065987350528,"note":"Value kept but may cause issues"} 
[2026-10-05 16:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872443134916980736,"note":"Value kept but may cause issues"} 
[2026-10-05 16:30:32] 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-10-05 16:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791197998000,"timestamp_ms":1791197998000,"timestamp_seconds":1791197998,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb86bb0"} 
[2026-10-05 16:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:30: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-10-05 16: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-10-05 16:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546684928001,"66":13678,"207":206,"85":15104,"24":45,"16":139743065987350528,"45":8872443134916980736},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 16:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546684928001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:30:33] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 16:30:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139743065987350528,"km_value":139743065987350.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872443134916980736,"description":"Unknown IO ID 45"} 
[2026-10-05 16:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546684928001,"power":13678,"unknown_207":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8872443134916980736}} 
[2026-10-05 16:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":207729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:30:33] local.INFO: GPS data processed {"connection_id":207729,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:30:33] local.INFO: Acknowledgment sent {"connection_id":207729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:30:36] local.INFO: TCP Data received {"connection_id":207729,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb88af0012d7b16c005e2df800015015f18..."} 
[2026-10-05 16:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb88af0012d7b16c005e2df800015015f18..."} 
[2026-10-05 16:30:36] local.INFO: Processing buffer {"connection_id":207729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb88af0012d7b16c005e2df800015015f18..."} 
[2026-10-05 16:30:36] local.INFO: Packet analysis {"connection_id":207729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb8"} 
[2026-10-05 16:30:36] local.INFO: Extracted packet for processing {"connection_id":207729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb8"} 
[2026-10-05 16:30:36] local.INFO: GPS Element Parsed {"raw_longitude":763041472,"raw_latitude":98754432,"longitude_deg":76.3041472,"latitude_deg":9.8754432,"altitude":21,"angle":351,"satellites":24,"speed":46,"hex_longitude":"2d7b16c0","hex_latitude":"05e2df80","is_valid_coordinates":true} 
[2026-10-05 16:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546687488001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139743551318654976,"note":"Value kept but may cause issues"} 
[2026-10-05 16:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870895022547470336,"note":"Value kept but may cause issues"} 
[2026-10-05 16:30: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-10-05 16:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791198006000,"timestamp_ms":1791198006000,"timestamp_seconds":1791198006,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb88af0"} 
[2026-10-05 16:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 16:30: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-10-05 16:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546687488001,"66":12798,"207":206,"85":15104,"24":46,"16":139743551318654976,"45":8870895022547470336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 16:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546687488001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:30:36] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 16:30:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139743551318654976,"km_value":139743551318654.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870895022547470336,"description":"Unknown IO ID 45"} 
[2026-10-05 16:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546687488001,"power":12798,"unknown_207":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8870895022547470336}} 
[2026-10-05 16:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":207729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:30:36] local.INFO: GPS data processed {"connection_id":207729,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:30:36] local.INFO: Acknowledgment sent {"connection_id":207729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:30:42] local.INFO: TCP Data received {"connection_id":204668,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204668,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:30:42] local.INFO: Processing buffer {"connection_id":204668,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:30:42] local.INFO: IMEI packet received {"connection_id":204668,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 16:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":204668,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:30:43] local.INFO: TCP Data received {"connection_id":204668,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204668,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:30:43] local.INFO: Processing buffer {"connection_id":204668,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:30:43] local.INFO: IMEI packet received {"connection_id":204668,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":204668,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:30:45] local.INFO: TCP Data received {"connection_id":204668,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204668,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:30:45] local.INFO: Processing buffer {"connection_id":204668,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:30:45] local.INFO: IMEI packet received {"connection_id":204668,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":204668,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:30:46] local.INFO: TCP Data received {"connection_id":204668,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb8bdb8012d0baf00070716e0001100fc21..."} 
[2026-10-05 16:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb8bdb8012d0baf00070716e0001100fc21..."} 
[2026-10-05 16:30:46] local.INFO: Processing buffer {"connection_id":204668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb8bdb8012d0baf00070716e0001100fc21..."} 
[2026-10-05 16:30:46] local.INFO: Packet analysis {"connection_id":204668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb8"} 
[2026-10-05 16:30:46] local.INFO: Extracted packet for processing {"connection_id":204668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb8"} 
[2026-10-05 16:30:46] local.INFO: GPS Element Parsed {"raw_longitude":755740416,"raw_latitude":117905120,"longitude_deg":75.5740416,"latitude_deg":11.790512,"altitude":17,"angle":252,"satellites":33,"speed":22,"hex_longitude":"2d0baf00","hex_latitude":"070716e0","is_valid_coordinates":true} 
[2026-10-05 16:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546692608001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34850318122483712,"note":"Value kept but may cause issues"} 
[2026-10-05 16:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":842525004222926848,"note":"Value kept but may cause issues"} 
[2026-10-05 16:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791198019000,"timestamp_ms":1791198019000,"timestamp_seconds":1791198019,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb8bdb8"} 
[2026-10-05 16:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-05 16:30: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-10-05 16:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546692608001,"66":14494,"163":206,"94":10240,"24":22,"16":34850318122483712,"45":842525004222926848},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-10-05 16:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546692608001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:30:46] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 16:30:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 16:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34850318122483712,"km_value":34850318122483.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":842525004222926848,"description":"Unknown IO ID 45"} 
[2026-10-05 16:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546692608001,"power":14494,"unknown_163":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":842525004222926848}} 
[2026-10-05 16:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":204668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968528,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:30:46] local.INFO: GPS data processed {"connection_id":204668,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:30:46] local.INFO: Acknowledgment sent {"connection_id":204668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:30:47] local.INFO: TCP Data received {"connection_id":204668,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb8c588012d0baa8007071540001100f021..."} 
[2026-10-05 16:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb8c588012d0baa8007071540001100f021..."} 
[2026-10-05 16:30:47] local.INFO: Processing buffer {"connection_id":204668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb8c588012d0baa8007071540001100f021..."} 
[2026-10-05 16:30:47] local.INFO: Packet analysis {"connection_id":204668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb8"} 
[2026-10-05 16:30:47] local.INFO: Extracted packet for processing {"connection_id":204668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb8"} 
[2026-10-05 16:30:47] local.INFO: GPS Element Parsed {"raw_longitude":755739264,"raw_latitude":117904704,"longitude_deg":75.5739264,"latitude_deg":11.7904704,"altitude":17,"angle":240,"satellites":33,"speed":23,"hex_longitude":"2d0baa80","hex_latitude":"07071540","is_valid_coordinates":true} 
[2026-10-05 16:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546692864001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34850373957058560,"note":"Value kept but may cause issues"} 
[2026-10-05 16:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":841891685525282816,"note":"Value kept but may cause issues"} 
[2026-10-05 16:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791198021000,"timestamp_ms":1791198021000,"timestamp_seconds":1791198021,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb8c588"} 
[2026-10-05 16:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:30: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-10-05 16:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-10-05 16:30:47] 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-10-05 16:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":204668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":204668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":204668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546692864001,"66":14624,"163":206,"94":10240,"24":23,"16":34850373957058560,"45":841891685525282816},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-10-05 16:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546692864001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:30:47] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 16:30:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 16:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34850373957058560,"km_value":34850373957058.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":841891685525282816,"description":"Unknown IO ID 45"} 
[2026-10-05 16:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546692864001,"power":14624,"unknown_163":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":841891685525282816}} 
[2026-10-05 16:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":204668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968529,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:30:47] local.INFO: GPS data processed {"connection_id":204668,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:30:47] local.INFO: Acknowledgment sent {"connection_id":204668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:30:54] local.INFO: TCP Data received {"connection_id":207731,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:30:54] local.INFO: Processing buffer {"connection_id":207731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:30:54] local.INFO: IMEI packet received {"connection_id":207731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":207731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:30:59] local.INFO: TCP Data received {"connection_id":207731,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:30:59] local.INFO: Processing buffer {"connection_id":207731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:30:59] local.INFO: IMEI packet received {"connection_id":207731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":207731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:31:00] local.INFO: TCP Data received {"connection_id":207731,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:31:00] local.INFO: Processing buffer {"connection_id":207731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:31:00] local.INFO: Packet analysis {"connection_id":207731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:31:00] local.INFO: Extracted packet for processing {"connection_id":207731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:31:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546573568001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791197854000,"timestamp_ms":1791197854000,"timestamp_seconds":1791197854,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb63930"} 
[2026-10-05 16:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:31: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-10-05 16:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546573568001,"66":26006,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546573568001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:31:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:31:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546573568001,"power":26006,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":207731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:31:00] local.INFO: GPS data processed {"connection_id":207731,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:31:00] local.INFO: Acknowledgment sent {"connection_id":207731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:31:08] local.INFO: TCP Data received {"connection_id":207729,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb8b9d0012d7b120005e2fdd80016000812..."} 
[2026-10-05 16:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb8b9d0012d7b120005e2fdd80016000812..."} 
[2026-10-05 16:31:08] local.INFO: Processing buffer {"connection_id":207729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb8b9d0012d7b120005e2fdd80016000812..."} 
[2026-10-05 16:31:08] local.INFO: Packet analysis {"connection_id":207729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb8"} 
[2026-10-05 16:31:08] local.INFO: Extracted packet for processing {"connection_id":207729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb8"} 
[2026-10-05 16:31:08] local.INFO: GPS Element Parsed {"raw_longitude":763040256,"raw_latitude":98762200,"longitude_deg":76.3040256,"latitude_deg":9.87622,"altitude":22,"angle":8,"satellites":18,"speed":5,"hex_longitude":"2d7b1200","hex_latitude":"05e2fdd8","is_valid_coordinates":true} 
[2026-10-05 16:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546689536001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139743933570744320,"note":"Value kept but may cause issues"} 
[2026-10-05 16:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869487647666438144,"note":"Value kept but may cause issues"} 
[2026-10-05 16:31: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-10-05 16:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791198018000,"timestamp_ms":1791198018000,"timestamp_seconds":1791198018,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb8b9d0"} 
[2026-10-05 16:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:31: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-10-05 16:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 16:31: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-10-05 16:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546689536001,"66":12841,"207":206,"85":15104,"24":5,"16":139743933570744320,"45":8869487647666438144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 16:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546689536001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:31:08] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 16:31:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139743933570744320,"km_value":139743933570744.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869487647666438144,"description":"Unknown IO ID 45"} 
[2026-10-05 16:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546689536001,"power":12841,"unknown_207":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8869487647666438144}} 
[2026-10-05 16:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":207729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:31:08] local.INFO: GPS data processed {"connection_id":207729,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:31:08] local.INFO: Acknowledgment sent {"connection_id":207729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:31:18] local.INFO: TCP Data received {"connection_id":204668,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb8d140012d0ba380070712480011010121..."} 
[2026-10-05 16:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb8d140012d0ba380070712480011010121..."} 
[2026-10-05 16:31:18] local.INFO: Processing buffer {"connection_id":204668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb8d140012d0ba380070712480011010121..."} 
[2026-10-05 16:31:18] local.INFO: Packet analysis {"connection_id":204668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb8"} 
[2026-10-05 16:31:18] local.INFO: Extracted packet for processing {"connection_id":204668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb8"} 
[2026-10-05 16:31:18] local.INFO: GPS Element Parsed {"raw_longitude":755737472,"raw_latitude":117903944,"longitude_deg":75.5737472,"latitude_deg":11.7903944,"altitude":17,"angle":257,"satellites":33,"speed":27,"hex_longitude":"2d0ba380","hex_latitude":"07071248","is_valid_coordinates":true} 
[2026-10-05 16:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546693376001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34850468446339072,"note":"Value kept but may cause issues"} 
[2026-10-05 16:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840625048129978368,"note":"Value kept but may cause issues"} 
[2026-10-05 16:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791198024000,"timestamp_ms":1791198024000,"timestamp_seconds":1791198024,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb8d140"} 
[2026-10-05 16:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:31:18] 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-10-05 16:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-10-05 16:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":771,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":204668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":204668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":204668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546693376001,"66":14537,"163":206,"94":10240,"24":27,"16":34850468446339072,"45":840625048129978368},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-10-05 16:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546693376001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:31:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 16:31:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-05 16:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34850468446339072,"km_value":34850468446339.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":840625048129978368,"description":"Unknown IO ID 45"} 
[2026-10-05 16:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546693376001,"power":14537,"unknown_163":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":840625048129978368}} 
[2026-10-05 16:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":204668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968532,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:31:19] local.INFO: GPS data processed {"connection_id":204668,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:31:19] local.INFO: Acknowledgment sent {"connection_id":204668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:31:28] local.INFO: TCP Data received {"connection_id":207732,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:31:28] local.INFO: Processing buffer {"connection_id":207732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:31:28] local.INFO: IMEI packet received {"connection_id":207732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":207732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:31:31] local.INFO: TCP Data received {"connection_id":207732,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:31:31] local.INFO: Processing buffer {"connection_id":207732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:31:31] local.INFO: IMEI packet received {"connection_id":207732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":207732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:31:31] local.INFO: TCP Data received {"connection_id":207731,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:31:31] local.INFO: Processing buffer {"connection_id":207731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:31:31] local.INFO: Packet analysis {"connection_id":207731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:31:31] local.INFO: Extracted packet for processing {"connection_id":207731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:31:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546573568001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791197854000,"timestamp_ms":1791197854000,"timestamp_seconds":1791197854,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb63930"} 
[2026-10-05 16:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:31: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-10-05 16:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546573568001,"66":26006,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546573568001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:31:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:31:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546573568001,"power":26006,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":207731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:31:32] local.INFO: GPS data processed {"connection_id":207731,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:31:32] local.INFO: Acknowledgment sent {"connection_id":207731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:31:35] local.INFO: TCP Data received {"connection_id":207732,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:31:35] local.INFO: Processing buffer {"connection_id":207732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:31:35] local.INFO: IMEI packet received {"connection_id":207732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":207732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:31:36] local.INFO: TCP Data received {"connection_id":207732,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb8e0e0012d7b124005e2fe800015015d18..."} 
[2026-10-05 16:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb8e0e0012d7b124005e2fe800015015d18..."} 
[2026-10-05 16:31:36] local.INFO: Processing buffer {"connection_id":207732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb8e0e0012d7b124005e2fe800015015d18..."} 
[2026-10-05 16:31:36] local.INFO: Packet analysis {"connection_id":207732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb8"} 
[2026-10-05 16:31:36] local.INFO: Extracted packet for processing {"connection_id":207732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb8"} 
[2026-10-05 16:31:36] local.INFO: GPS Element Parsed {"raw_longitude":763040320,"raw_latitude":98762368,"longitude_deg":76.304032,"latitude_deg":9.8762368,"altitude":21,"angle":349,"satellites":24,"speed":8,"hex_longitude":"2d7b1240","hex_latitude":"05e2fe80","is_valid_coordinates":true} 
[2026-10-05 16:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546692608001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139743972225449984,"note":"Value kept but may cause issues"} 
[2026-10-05 16:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868150641529051136,"note":"Value kept but may cause issues"} 
[2026-10-05 16:31: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-10-05 16:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791198028000,"timestamp_ms":1791198028000,"timestamp_seconds":1791198028,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb8e0e0"} 
[2026-10-05 16:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16: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-10-05 16:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 16:31:36] 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-10-05 16:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546692608001,"66":13515,"207":206,"85":15104,"24":8,"16":139743972225449984,"45":8868150641529051136},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 16:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546692608001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:31:36] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 16:31:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139743972225449984,"km_value":139743972225449.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868150641529051136,"description":"Unknown IO ID 45"} 
[2026-10-05 16:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546692608001,"power":13515,"unknown_207":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8868150641529051136}} 
[2026-10-05 16:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":207732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:31:36] local.INFO: GPS data processed {"connection_id":207732,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:31:36] local.INFO: Acknowledgment sent {"connection_id":207732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:31:39] local.INFO: TCP Data received {"connection_id":204789,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204789,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:31:39] local.INFO: Processing buffer {"connection_id":204789,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:31:39] local.INFO: IMEI packet received {"connection_id":204789,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 16:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":204789,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:31:39] local.INFO: TCP Data received {"connection_id":204789,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204789,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:31:39] local.INFO: Processing buffer {"connection_id":204789,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:31:39] local.INFO: IMEI packet received {"connection_id":204789,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":204789,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:31:41] local.INFO: TCP Data received {"connection_id":204789,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204789,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:31:41] local.INFO: Processing buffer {"connection_id":204789,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:31:41] local.INFO: IMEI packet received {"connection_id":204789,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":204789,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:31:42] local.INFO: TCP Data received {"connection_id":204789,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204789,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:31:42] local.INFO: Processing buffer {"connection_id":204789,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:31:42] local.INFO: IMEI packet received {"connection_id":204789,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":204789,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:31:54] local.INFO: TCP Data received {"connection_id":204669,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:31:54] local.INFO: Processing buffer {"connection_id":204669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:31:54] local.INFO: IMEI packet received {"connection_id":204669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":204669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:31:59] local.INFO: TCP Data received {"connection_id":204669,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:31:59] local.INFO: Processing buffer {"connection_id":204669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:31:59] local.INFO: IMEI packet received {"connection_id":204669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":204669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:32:00] local.INFO: TCP Data received {"connection_id":204669,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:32:00] local.INFO: Processing buffer {"connection_id":204669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:32:00] local.INFO: Packet analysis {"connection_id":204669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:32:00] local.INFO: Extracted packet for processing {"connection_id":204669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:32:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546573568001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791197854000,"timestamp_ms":1791197854000,"timestamp_seconds":1791197854,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb63930"} 
[2026-10-05 16:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16: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-10-05 16:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546573568001,"66":26006,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546573568001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:32:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:32:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546573568001,"power":26006,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":204669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:32:00] local.INFO: GPS data processed {"connection_id":204669,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:32:00] local.INFO: Acknowledgment sent {"connection_id":204669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:32:08] local.INFO: TCP Data received {"connection_id":207732,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb8e8b0012d7b12c005e302280015000116..."} 
[2026-10-05 16:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb8e8b0012d7b12c005e302280015000116..."} 
[2026-10-05 16:32:08] local.INFO: Processing buffer {"connection_id":207732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb8e8b0012d7b12c005e302280015000116..."} 
[2026-10-05 16:32:08] local.INFO: Packet analysis {"connection_id":207732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb8"} 
[2026-10-05 16:32:08] local.INFO: Extracted packet for processing {"connection_id":207732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb8"} 
[2026-10-05 16:32:08] local.INFO: GPS Element Parsed {"raw_longitude":763040448,"raw_latitude":98763304,"longitude_deg":76.3040448,"latitude_deg":9.8763304,"altitude":21,"angle":1,"satellites":22,"speed":16,"hex_longitude":"2d7b12c0","hex_latitude":"05e30228","is_valid_coordinates":true} 
[2026-10-05 16:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546695168001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139744019470090240,"note":"Value kept but may cause issues"} 
[2026-10-05 16:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868221010273271808,"note":"Value kept but may cause issues"} 
[2026-10-05 16:32: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-10-05 16:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791198030000,"timestamp_ms":1791198030000,"timestamp_seconds":1791198030,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb8e8b0"} 
[2026-10-05 16:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:32: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-10-05 16:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-10-05 16:32:08] 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-10-05 16: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-10-05 16:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546695168001,"66":13928,"207":206,"85":15104,"24":16,"16":139744019470090240,"45":8868221010273271808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 16:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546695168001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:32:08] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 16:32:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139744019470090240,"km_value":139744019470090.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868221010273271808,"description":"Unknown IO ID 45"} 
[2026-10-05 16:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546695168001,"power":13928,"unknown_207":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8868221010273271808}} 
[2026-10-05 16:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":207732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:32:08] local.INFO: GPS data processed {"connection_id":207732,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:32:08] local.INFO: Acknowledgment sent {"connection_id":207732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:32:31] local.INFO: TCP Data received {"connection_id":204790,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:32:31] local.INFO: Processing buffer {"connection_id":204790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:32:31] local.INFO: IMEI packet received {"connection_id":204790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":204790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:32:31] local.INFO: TCP Data received {"connection_id":204669,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:32:31] local.INFO: Processing buffer {"connection_id":204669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:32:31] local.INFO: Packet analysis {"connection_id":204669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:32:31] local.INFO: Extracted packet for processing {"connection_id":204669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:32:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546573568001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791197854000,"timestamp_ms":1791197854000,"timestamp_seconds":1791197854,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb63930"} 
[2026-10-05 16:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:32: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-10-05 16:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546573568001,"66":26006,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546573568001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:32:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:32:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546573568001,"power":26006,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":204669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:32:31] local.INFO: GPS data processed {"connection_id":204669,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:32:31] local.INFO: Acknowledgment sent {"connection_id":204669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:32:32] local.INFO: TCP Data received {"connection_id":204790,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:32:32] local.INFO: Processing buffer {"connection_id":204790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:32:32] local.INFO: IMEI packet received {"connection_id":204790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":204790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:32:35] local.INFO: TCP Data received {"connection_id":204790,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:32:35] local.INFO: Processing buffer {"connection_id":204790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:32:35] local.INFO: IMEI packet received {"connection_id":204790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":204790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:32:36] local.INFO: TCP Data received {"connection_id":204790,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb913a8012d7b0d8005e32618001401621b..."} 
[2026-10-05 16:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb913a8012d7b0d8005e32618001401621b..."} 
[2026-10-05 16:32:36] local.INFO: Processing buffer {"connection_id":204790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb913a8012d7b0d8005e32618001401621b..."} 
[2026-10-05 16:32:36] local.INFO: Packet analysis {"connection_id":204790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb9"} 
[2026-10-05 16:32:36] local.INFO: Extracted packet for processing {"connection_id":204790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb9"} 
[2026-10-05 16:32:36] local.INFO: GPS Element Parsed {"raw_longitude":763039104,"raw_latitude":98772504,"longitude_deg":76.3039104,"latitude_deg":9.8772504,"altitude":20,"angle":354,"satellites":27,"speed":36,"hex_longitude":"2d7b0d80","hex_latitude":"05e32618","is_valid_coordinates":true} 
[2026-10-05 16:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546695680001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139744470441656320,"note":"Value kept but may cause issues"} 
[2026-10-05 16:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868361747761866752,"note":"Value kept but may cause issues"} 
[2026-10-05 16:32: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-10-05 16:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791198041000,"timestamp_ms":1791198041000,"timestamp_seconds":1791198041,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb913a8"} 
[2026-10-05 16:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-05 16:32:36] 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-10-05 16:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546695680001,"66":13580,"208":206,"85":15104,"24":36,"16":139744470441656320,"45":8868361747761866752},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546695680001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:32:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:32:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139744470441656320,"km_value":139744470441656.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868361747761866752,"description":"Unknown IO ID 45"} 
[2026-10-05 16:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546695680001,"power":13580,"unknown_208":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8868361747761866752}} 
[2026-10-05 16:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":204790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:32:36] local.INFO: GPS data processed {"connection_id":204790,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:32:36] local.INFO: Acknowledgment sent {"connection_id":204790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:32:54] local.INFO: TCP Data received {"connection_id":206201,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:32:54] local.INFO: Processing buffer {"connection_id":206201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:32:54] local.INFO: IMEI packet received {"connection_id":206201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":206201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:32:59] local.INFO: TCP Data received {"connection_id":206201,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:32:59] local.INFO: Processing buffer {"connection_id":206201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:32:59] local.INFO: IMEI packet received {"connection_id":206201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":206201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:33:00] local.INFO: TCP Data received {"connection_id":206201,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:33:00] local.INFO: Processing buffer {"connection_id":206201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb63930012d80b3c00602ac50001400cf2f..."} 
[2026-10-05 16:33:00] local.INFO: Packet analysis {"connection_id":206201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:33:00] local.INFO: Extracted packet for processing {"connection_id":206201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb6"} 
[2026-10-05 16:33:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546573568001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791197854000,"timestamp_ms":1791197854000,"timestamp_seconds":1791197854,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb63930"} 
[2026-10-05 16:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:33: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-10-05 16:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546573568001,"66":26006,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546573568001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:33:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:33:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546573568001,"power":26006,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":206201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:33:00] local.INFO: GPS data processed {"connection_id":206201,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:33:00] local.INFO: Acknowledgment sent {"connection_id":206201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:33:07] local.INFO: TCP Data received {"connection_id":204790,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bb92730012d7b0c0005e335f00012000518..."} 
[2026-10-05 16:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bb92730012d7b0c0005e335f00012000518..."} 
[2026-10-05 16:33:07] local.INFO: Processing buffer {"connection_id":204790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bb92730012d7b0c0005e335f00012000518..."} 
[2026-10-05 16:33:07] local.INFO: Packet analysis {"connection_id":204790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bb9"} 
[2026-10-05 16:33:07] local.INFO: Extracted packet for processing {"connection_id":204790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bb9"} 
[2026-10-05 16:33:07] local.INFO: GPS Element Parsed {"raw_longitude":763038720,"raw_latitude":98776560,"longitude_deg":76.303872,"latitude_deg":9.877656,"altitude":18,"angle":5,"satellites":24,"speed":25,"hex_longitude":"2d7b0c00","hex_latitude":"05e335f0","is_valid_coordinates":true} 
[2026-10-05 16:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546698496001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139744668010151936,"note":"Value kept but may cause issues"} 
[2026-10-05 16:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866884004136491008,"note":"Value kept but may cause issues"} 
[2026-10-05 16:33: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-10-05 16:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791198046000,"timestamp_ms":1791198046000,"timestamp_seconds":1791198046,"priority":1,"record_length":96,"hex_timestamp":"000001a10bb92730"} 
[2026-10-05 16:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:33: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-10-05 16:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 16:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751640695,"note":"Value kept but may cause issues"} 
[2026-10-05 16:33:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 16:33:07] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 16:33:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5774459185873813514,"note":"Value kept but may cause issues"} 
[2026-10-05 16:33:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 16:33:07] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3096113153,"note":"Value kept but may cause issues"} 
[2026-10-05 16:33:07] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3749707797,"note":"Value kept but may cause issues"} 
[2026-10-05 16:33:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635768621522895,"note":"Value kept but may cause issues"} 
[2026-10-05 16:33:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607401678,"corrected_to":0} 
[2026-10-05 16:33:07] local.WARNING: Large IO value detected {"io_id":107,"raw_value":2952867195,"note":"Value kept but may cause issues"} 
[2026-10-05 16:33:07] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3221611193,"note":"Value kept but may cause issues"} 
[2026-10-05 16:33:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3801378816,"note":"Value kept but may cause issues"} 
[2026-10-05 16:33:07] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2485993464931024918,"note":"Value kept but may cause issues"} 
[2026-10-05 16:33:07] local.WARNING: Large IO value detected {"io_id":54,"raw_value":-7781994344717693355,"note":"Value kept but may cause issues"} 
[2026-10-05 16:33:07] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-10-05 16:33:07] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,208,85,24,241,157,16,120,161,232,45,192,2,21,22,10,66,207,224,64,254,185,1,240,41,227,11,226,4,113,205,46,107,27,8,28,239,53,5,123,54,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1607401678,"validated":0}]} 
[2026-10-05 16:33:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1441541223841267712,"timestamp_seconds":1441541223841267.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 16:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546698496001,"66":13678,"208":206,"85":15104,"24":25,"16":139744668010151936,"45":8866884004136491008},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546698496001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:33:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:33:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139744668010151936,"km_value":139744668010151.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866884004136491008,"description":"Unknown IO ID 45"} 
[2026-10-05 16:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546698496001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8866884004136491008}} 
[2026-10-05 16:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":204790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:33:07] local.INFO: GPS data processed {"connection_id":204790,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:33:07] local.INFO: Acknowledgment sent {"connection_id":204790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:33:30] local.INFO: TCP Data received {"connection_id":206203,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:33:30] local.INFO: Processing buffer {"connection_id":206203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:33:30] local.INFO: IMEI packet received {"connection_id":206203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":206203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:33:31] local.INFO: TCP Data received {"connection_id":206201,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:33:31] local.INFO: Processing buffer {"connection_id":206201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:33:31] local.INFO: Packet analysis {"connection_id":206201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bba"} 
[2026-10-05 16:33:31] local.INFO: Extracted packet for processing {"connection_id":206201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bba"} 
[2026-10-05 16:33:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546650624001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791198155000,"timestamp_ms":1791198155000,"timestamp_seconds":1791198155,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbad0f8"} 
[2026-10-05 16:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 16:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546650624001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546650624001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:33:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:33:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546650624001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":206201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:33:31] local.INFO: GPS data processed {"connection_id":206201,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:33:31] local.INFO: Acknowledgment sent {"connection_id":206201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:33:34] local.INFO: TCP Data received {"connection_id":207733,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:33:34] local.INFO: Processing buffer {"connection_id":207733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:33:34] local.INFO: IMEI packet received {"connection_id":207733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 16:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":207733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:33:36] local.INFO: TCP Data received {"connection_id":206203,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:33:36] local.INFO: Processing buffer {"connection_id":206203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:33:36] local.INFO: IMEI packet received {"connection_id":206203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":206203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:33:37] local.INFO: TCP Data received {"connection_id":206203,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbb55c8012d7acb4005e40fd8000a012028..."} 
[2026-10-05 16:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbb55c8012d7acb4005e40fd8000a012028..."} 
[2026-10-05 16:33:37] local.INFO: Processing buffer {"connection_id":206203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbb55c8012d7acb4005e40fd8000a012028..."} 
[2026-10-05 16:33:37] local.INFO: Packet analysis {"connection_id":206203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bbb"} 
[2026-10-05 16:33:37] local.INFO: Extracted packet for processing {"connection_id":206203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bbb"} 
[2026-10-05 16:33:37] local.INFO: GPS Element Parsed {"raw_longitude":763022144,"raw_latitude":98832344,"longitude_deg":76.3022144,"latitude_deg":9.8832344,"altitude":10,"angle":288,"satellites":40,"speed":10,"hex_longitude":"2d7acb40","hex_latitude":"05e40fd8","is_valid_coordinates":true} 
[2026-10-05 16:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546736128001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139747524163403776,"note":"Value kept but may cause issues"} 
[2026-10-05 16:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848517761921406976,"note":"Value kept but may cause issues"} 
[2026-10-05 16:33: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-10-05 16:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791198189000,"timestamp_ms":1791198189000,"timestamp_seconds":1791198189,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbb55c8"} 
[2026-10-05 16:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:33: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-10-05 16:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 16:33: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-10-05 16:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546736128001,"66":13341,"208":206,"85":15104,"24":10,"16":139747524163403776,"45":8848517761921406976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546736128001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:33:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:33:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139747524163403776,"km_value":139747524163403.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848517761921406976,"description":"Unknown IO ID 45"} 
[2026-10-05 16:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546736128001,"power":13341,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8848517761921406976}} 
[2026-10-05 16:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":206203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:33:38] local.INFO: GPS data processed {"connection_id":206203,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:33:38] local.INFO: Acknowledgment sent {"connection_id":206203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:33:54] local.INFO: TCP Data received {"connection_id":207734,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:33:54] local.INFO: Processing buffer {"connection_id":207734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:33:54] local.INFO: IMEI packet received {"connection_id":207734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":207734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:33:59] local.INFO: TCP Data received {"connection_id":207734,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:33:59] local.INFO: Processing buffer {"connection_id":207734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:33:59] local.INFO: IMEI packet received {"connection_id":207734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":207734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:34:00] local.INFO: TCP Data received {"connection_id":207734,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:34:00] local.INFO: Processing buffer {"connection_id":207734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:34:00] local.INFO: Packet analysis {"connection_id":207734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bba"} 
[2026-10-05 16:34:00] local.INFO: Extracted packet for processing {"connection_id":207734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bba"} 
[2026-10-05 16:34:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546650624001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791198155000,"timestamp_ms":1791198155000,"timestamp_seconds":1791198155,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbad0f8"} 
[2026-10-05 16:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 16:34: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-10-05 16:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:34:00] 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-10-05 16:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546650624001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546650624001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:34:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:34:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546650624001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":207734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:34:00] local.INFO: GPS data processed {"connection_id":207734,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:34:00] local.INFO: Acknowledgment sent {"connection_id":207734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:34:09] local.INFO: TCP Data received {"connection_id":206203,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbb59b0012d7aca0005e40ff8000a011128..."} 
[2026-10-05 16:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbb59b0012d7aca0005e40ff8000a011128..."} 
[2026-10-05 16:34:09] local.INFO: Processing buffer {"connection_id":206203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbb59b0012d7aca0005e40ff8000a011128..."} 
[2026-10-05 16:34:09] local.INFO: Packet analysis {"connection_id":206203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bbb"} 
[2026-10-05 16:34:09] local.INFO: Extracted packet for processing {"connection_id":206203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bbb"} 
[2026-10-05 16:34:09] local.INFO: GPS Element Parsed {"raw_longitude":763021824,"raw_latitude":98832376,"longitude_deg":76.3021824,"latitude_deg":9.8832376,"altitude":10,"angle":273,"satellites":40,"speed":11,"hex_longitude":"2d7aca00","hex_latitude":"05e40ff8","is_valid_coordinates":true} 
[2026-10-05 16:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546736384001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139747541343272960,"note":"Value kept but may cause issues"} 
[2026-10-05 16:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848236286944729088,"note":"Value kept but may cause issues"} 
[2026-10-05 16:34:09] 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-10-05 16:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791198190000,"timestamp_ms":1791198190000,"timestamp_seconds":1791198190,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbb59b0"} 
[2026-10-05 16:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:34: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-10-05 16:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-10-05 16:34:09] 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-10-05 16:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":206203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":206203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":206203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546736384001,"66":13493,"208":206,"85":15104,"24":11,"16":139747541343272960,"45":8848236286944729088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546736384001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:34:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:34:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139747541343272960,"km_value":139747541343272.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848236286944729088,"description":"Unknown IO ID 45"} 
[2026-10-05 16:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546736384001,"power":13493,"unknown_208":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8848236286944729088}} 
[2026-10-05 16:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":206203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:34:09] local.INFO: GPS data processed {"connection_id":206203,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:34:09] local.INFO: Acknowledgment sent {"connection_id":206203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:34:09] local.INFO: TCP Data received {"connection_id":206205,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:34:09] local.INFO: Processing buffer {"connection_id":206205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:34:09] local.INFO: IMEI packet received {"connection_id":206205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 16:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":206205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:34:10] local.INFO: TCP Data received {"connection_id":206205,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bba1960012d19af000720af600031012328..."} 
[2026-10-05 16:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bba1960012d19af000720af600031012328..."} 
[2026-10-05 16:34:10] local.INFO: Processing buffer {"connection_id":206205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bba1960012d19af000720af600031012328..."} 
[2026-10-05 16:34:10] local.INFO: Packet analysis {"connection_id":206205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bba"} 
[2026-10-05 16:34:10] local.INFO: Extracted packet for processing {"connection_id":206205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bba"} 
[2026-10-05 16:34:10] local.INFO: GPS Element Parsed {"raw_longitude":756657920,"raw_latitude":119582560,"longitude_deg":75.665792,"latitude_deg":11.958256,"altitude":49,"angle":291,"satellites":40,"speed":25,"hex_longitude":"2d19af00","hex_latitude":"0720af60","is_valid_coordinates":true} 
[2026-10-05 16:34: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-10-05 16:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546715136001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25149288375910400,"note":"Value kept but may cause issues"} 
[2026-10-05 16:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852246114857496576,"note":"Value kept but may cause issues"} 
[2026-10-05 16:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791198108000,"timestamp_ms":1791198108000,"timestamp_seconds":1791198108,"priority":1,"record_length":96,"hex_timestamp":"000001a10bba1960"} 
[2026-10-05 16:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:34:10] 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-10-05 16:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-05 16:34:10] 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-10-05 16:34: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-10-05 16:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":206205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":206205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":206205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:34:10] 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-10-05 16:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546715136001,"66":14265,"103":206,"83":41984,"24":25,"16":25149288375910400,"45":1852246114857496576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 16:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546715136001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:34:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 16:34:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 16:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25149288375910400,"km_value":25149288375910.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852246114857496576,"description":"Unknown IO ID 45"} 
[2026-10-05 16:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546715136001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1852246114857496576}} 
[2026-10-05 16:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":206205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:34:10] local.INFO: GPS data processed {"connection_id":206205,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:34:10] local.INFO: Acknowledgment sent {"connection_id":206205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:34:31] local.INFO: TCP Data received {"connection_id":207734,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:34:31] local.INFO: Processing buffer {"connection_id":207734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:34:31] local.INFO: Packet analysis {"connection_id":207734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bba"} 
[2026-10-05 16:34:31] local.INFO: Extracted packet for processing {"connection_id":207734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bba"} 
[2026-10-05 16:34:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546650624001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791198155000,"timestamp_ms":1791198155000,"timestamp_seconds":1791198155,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbad0f8"} 
[2026-10-05 16:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 16:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:34:31] 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-10-05 16:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546650624001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546650624001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:34:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:34:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546650624001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":207734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:34:31] local.INFO: GPS data processed {"connection_id":207734,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:34:31] local.INFO: Acknowledgment sent {"connection_id":207734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:34:41] local.INFO: TCP Data received {"connection_id":206205,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbc0978012d18d7400720ffa80039014c25..."} 
[2026-10-05 16:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbc0978012d18d7400720ffa80039014c25..."} 
[2026-10-05 16:34:41] local.INFO: Processing buffer {"connection_id":206205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbc0978012d18d7400720ffa80039014c25..."} 
[2026-10-05 16:34:41] local.INFO: Packet analysis {"connection_id":206205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bbc"} 
[2026-10-05 16:34:41] local.INFO: Extracted packet for processing {"connection_id":206205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bbc"} 
[2026-10-05 16:34:41] local.INFO: GPS Element Parsed {"raw_longitude":756602688,"raw_latitude":119603112,"longitude_deg":75.6602688,"latitude_deg":11.9603112,"altitude":57,"angle":332,"satellites":37,"speed":37,"hex_longitude":"2d18d740","hex_latitude":"0720ffa8","is_valid_coordinates":true} 
[2026-10-05 16:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546747392001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25152333507723264,"note":"Value kept but may cause issues"} 
[2026-10-05 16:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791940101102053376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791198235000,"timestamp_ms":1791198235000,"timestamp_seconds":1791198235,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbc0978"} 
[2026-10-05 16:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:34:41] 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-10-05 16:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 16:34:41] 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-10-05 16:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":206205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":206205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":206205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:34:41] 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-10-05 16:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546747392001,"66":14048,"103":206,"83":41984,"24":37,"16":25152333507723264,"45":1791940101102053376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 16:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546747392001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:34:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 16:34:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 16:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25152333507723264,"km_value":25152333507723.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791940101102053376,"description":"Unknown IO ID 45"} 
[2026-10-05 16:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546747392001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1791940101102053376}} 
[2026-10-05 16:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":206205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:34:41] local.INFO: GPS data processed {"connection_id":206205,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:34:41] local.INFO: Acknowledgment sent {"connection_id":206205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:34:45] local.INFO: TCP Data received {"connection_id":204670,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:34:45] local.INFO: Processing buffer {"connection_id":204670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:34:45] local.INFO: IMEI packet received {"connection_id":204670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":204670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:34:52] local.INFO: TCP Data received {"connection_id":204670,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:34:52] local.INFO: Processing buffer {"connection_id":204670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:34:52] local.INFO: IMEI packet received {"connection_id":204670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":204670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:34:53] local.INFO: TCP Data received {"connection_id":204670,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbb5d98012d7ac88005e40fc8000a010427..."} 
[2026-10-05 16:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbb5d98012d7ac88005e40fc8000a010427..."} 
[2026-10-05 16:34:53] local.INFO: Processing buffer {"connection_id":204670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbb5d98012d7ac88005e40fc8000a010427..."} 
[2026-10-05 16:34:53] local.INFO: Packet analysis {"connection_id":204670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bbb"} 
[2026-10-05 16:34:53] local.INFO: Extracted packet for processing {"connection_id":204670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bbb"} 
[2026-10-05 16:34:53] local.INFO: GPS Element Parsed {"raw_longitude":763021440,"raw_latitude":98832328,"longitude_deg":76.302144,"latitude_deg":9.8832328,"altitude":10,"angle":260,"satellites":39,"speed":15,"hex_longitude":"2d7ac880","hex_latitude":"05e40fc8","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546736640001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139747558523142144,"note":"Value kept but may cause issues"} 
[2026-10-05 16:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847884443223848960,"note":"Value kept but may cause issues"} 
[2026-10-05 16:34:53] 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-10-05 16:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1791198191000,"timestamp_ms":1791198191000,"timestamp_seconds":1791198191,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbb5d98"} 
[2026-10-05 16:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-10-05 16:34:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":204670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":204670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":204670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546736640001,"66":13493,"208":206,"85":15104,"24":15,"16":139747558523142144,"45":8847884443223848960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546736640001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:34:53] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:34:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139747558523142144,"km_value":139747558523142.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847884443223848960,"description":"Unknown IO ID 45"} 
[2026-10-05 16:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546736640001,"power":13493,"unknown_208":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8847884443223848960}} 
[2026-10-05 16:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":204670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:34:53] local.INFO: GPS data processed {"connection_id":204670,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:34:53] local.INFO: Acknowledgment sent {"connection_id":204670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:34:54] local.INFO: TCP Data received {"connection_id":204793,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:34:54] local.INFO: Processing buffer {"connection_id":204793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:34:54] local.INFO: IMEI packet received {"connection_id":204793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":204793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:34:59] local.INFO: TCP Data received {"connection_id":204793,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:34:59] local.INFO: Processing buffer {"connection_id":204793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:34:59] local.INFO: IMEI packet received {"connection_id":204793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":204793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:35:00] local.INFO: TCP Data received {"connection_id":204793,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:35:00] local.INFO: Processing buffer {"connection_id":204793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:35:00] local.INFO: Packet analysis {"connection_id":204793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bba"} 
[2026-10-05 16:35:00] local.INFO: Extracted packet for processing {"connection_id":204793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bba"} 
[2026-10-05 16:35:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546650624001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791198155000,"timestamp_ms":1791198155000,"timestamp_seconds":1791198155,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbad0f8"} 
[2026-10-05 16:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 16:35: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-10-05 16: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-10-05 16:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546650624001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546650624001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:35:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:35:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546650624001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":204793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:35:00] local.INFO: GPS data processed {"connection_id":204793,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:35:00] local.INFO: Acknowledgment sent {"connection_id":204793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:35:05] local.INFO: TCP Data received {"connection_id":207735,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:35:05] local.INFO: Processing buffer {"connection_id":207735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:35:05] local.INFO: IMEI packet received {"connection_id":207735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 16:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":207735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:35:09] local.INFO: TCP Data received {"connection_id":207735,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:35:09] local.INFO: Processing buffer {"connection_id":207735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:35:09] local.INFO: IMEI packet received {"connection_id":207735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":207735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:35:10] local.INFO: TCP Data received {"connection_id":207735,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbc1530012d18d38007210a88003a015826..."} 
[2026-10-05 16:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbc1530012d18d38007210a88003a015826..."} 
[2026-10-05 16:35:10] local.INFO: Processing buffer {"connection_id":207735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbc1530012d18d38007210a88003a015826..."} 
[2026-10-05 16:35:10] local.INFO: Packet analysis {"connection_id":207735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bbc"} 
[2026-10-05 16:35:10] local.INFO: Extracted packet for processing {"connection_id":207735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bbc"} 
[2026-10-05 16:35:10] local.INFO: GPS Element Parsed {"raw_longitude":756601728,"raw_latitude":119605896,"longitude_deg":75.6601728,"latitude_deg":11.9605896,"altitude":58,"angle":344,"satellites":38,"speed":39,"hex_longitude":"2d18d380","hex_latitude":"07210a88","is_valid_coordinates":true} 
[2026-10-05 16:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546748160001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25152475241644032,"note":"Value kept but may cause issues"} 
[2026-10-05 16:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789969776265635840,"note":"Value kept but may cause issues"} 
[2026-10-05 16:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791198238000,"timestamp_ms":1791198238000,"timestamp_seconds":1791198238,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbc1530"} 
[2026-10-05 16:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:35: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-10-05 16:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-05 16:35:10] 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-10-05 16:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:35:10] 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-10-05 16:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546748160001,"66":14004,"103":206,"83":41984,"24":39,"16":25152475241644032,"45":1789969776265635840},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 16:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546748160001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:35:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 16:35:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 16:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25152475241644032,"km_value":25152475241644.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789969776265635840,"description":"Unknown IO ID 45"} 
[2026-10-05 16:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546748160001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1789969776265635840}} 
[2026-10-05 16:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":207735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:35:10] local.INFO: GPS data processed {"connection_id":207735,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:35:10] local.INFO: Acknowledgment sent {"connection_id":207735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:35:30] local.INFO: TCP Data received {"connection_id":207736,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:35:30] local.INFO: Processing buffer {"connection_id":207736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:35:30] local.INFO: IMEI packet received {"connection_id":207736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":207736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:35:32] local.INFO: TCP Data received {"connection_id":204793,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:35:32] local.INFO: Processing buffer {"connection_id":204793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:35:32] local.INFO: Packet analysis {"connection_id":204793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bba"} 
[2026-10-05 16:35:32] local.INFO: Extracted packet for processing {"connection_id":204793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bba"} 
[2026-10-05 16:35:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:35: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-10-05 16:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546650624001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791198155000,"timestamp_ms":1791198155000,"timestamp_seconds":1791198155,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbad0f8"} 
[2026-10-05 16:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 16:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:35: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-10-05 16:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546650624001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546650624001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:35:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:35:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546650624001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":204793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:35:32] local.INFO: GPS data processed {"connection_id":204793,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:35:32] local.INFO: Acknowledgment sent {"connection_id":204793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:35:36] local.INFO: TCP Data received {"connection_id":207736,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:35:36] local.INFO: Processing buffer {"connection_id":207736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:35:36] local.INFO: IMEI packet received {"connection_id":207736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":207736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:35:37] local.INFO: TCP Data received {"connection_id":207736,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbceff0012d7ace8005e40d40000b009f2a..."} 
[2026-10-05 16:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbceff0012d7ace8005e40d40000b009f2a..."} 
[2026-10-05 16:35:37] local.INFO: Processing buffer {"connection_id":207736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbceff0012d7ace8005e40d40000b009f2a..."} 
[2026-10-05 16:35:37] local.INFO: Packet analysis {"connection_id":207736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bbc"} 
[2026-10-05 16:35:37] local.INFO: Extracted packet for processing {"connection_id":207736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bbc"} 
[2026-10-05 16:35:37] local.INFO: GPS Element Parsed {"raw_longitude":763022976,"raw_latitude":98831680,"longitude_deg":76.3022976,"latitude_deg":9.883168,"altitude":11,"angle":159,"satellites":42,"speed":18,"hex_longitude":"2d7ace80","hex_latitude":"05e40d40","is_valid_coordinates":true} 
[2026-10-05 16:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546762752001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139748735344181248,"note":"Value kept but may cause issues"} 
[2026-10-05 16:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848869605642323968,"note":"Value kept but may cause issues"} 
[2026-10-05 16:35:37] 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-10-05 16:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791198294000,"timestamp_ms":1791198294000,"timestamp_seconds":1791198294,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbceff0"} 
[2026-10-05 16:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:35: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-10-05 16:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-10-05 16:35:37] 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-10-05 16:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546762752001,"66":13646,"95":206,"87":13824,"24":18,"16":139748735344181248,"45":8848869605642323968},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-10-05 16:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546762752001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:35:37] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 16:35:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139748735344181248,"km_value":139748735344181.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848869605642323968,"description":"Unknown IO ID 45"} 
[2026-10-05 16:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546762752001,"power":13646,"unknown_95":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8848869605642323968}} 
[2026-10-05 16:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":207736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:35:37] local.INFO: GPS data processed {"connection_id":207736,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:35:37] local.INFO: Acknowledgment sent {"connection_id":207736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:35:43] local.INFO: TCP Data received {"connection_id":207735,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbcc110012d188c0007217e280045012729..."} 
[2026-10-05 16:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbcc110012d188c0007217e280045012729..."} 
[2026-10-05 16:35:43] local.INFO: Processing buffer {"connection_id":207735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbcc110012d188c0007217e280045012729..."} 
[2026-10-05 16:35:43] local.INFO: Packet analysis {"connection_id":207735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bbc"} 
[2026-10-05 16:35:43] local.INFO: Extracted packet for processing {"connection_id":207735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bbc"} 
[2026-10-05 16:35:43] local.INFO: GPS Element Parsed {"raw_longitude":756583424,"raw_latitude":119635496,"longitude_deg":75.6583424,"latitude_deg":11.9635496,"altitude":69,"angle":295,"satellites":41,"speed":37,"hex_longitude":"2d188c00","hex_latitude":"07217e28","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546758400001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25154309192679424,"note":"Value kept but may cause issues"} 
[2026-10-05 16:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775403446228563968,"note":"Value kept but may cause issues"} 
[2026-10-05 16:35:43] 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-10-05 16:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791198282000,"timestamp_ms":1791198282000,"timestamp_seconds":1791198282,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbcc110"} 
[2026-10-05 16:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:35:43] 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-10-05 16: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-10-05 16:35:43] 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-10-05 16: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-10-05 16:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546758400001,"66":13928,"106":206,"83":41984,"24":37,"16":25154309192679424,"45":1775403446228563968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-10-05 16:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546758400001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:35:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-10-05 16:35:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 16:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25154309192679424,"km_value":25154309192679.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775403446228563968,"description":"Unknown IO ID 45"} 
[2026-10-05 16:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546758400001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1775403446228563968}} 
[2026-10-05 16:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":207735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:35:44] local.INFO: GPS data processed {"connection_id":207735,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:35:44] local.INFO: Acknowledgment sent {"connection_id":207735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:35:54] local.INFO: TCP Data received {"connection_id":206206,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:35:54] local.INFO: Processing buffer {"connection_id":206206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:35:54] local.INFO: IMEI packet received {"connection_id":206206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":206206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:35:59] local.INFO: TCP Data received {"connection_id":206206,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:35:59] local.INFO: Processing buffer {"connection_id":206206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:35:59] local.INFO: IMEI packet received {"connection_id":206206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":206206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:36:00] local.INFO: TCP Data received {"connection_id":206206,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:36:00] local.INFO: Processing buffer {"connection_id":206206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:36:00] local.INFO: Packet analysis {"connection_id":206206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bba"} 
[2026-10-05 16:36:00] local.INFO: Extracted packet for processing {"connection_id":206206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bba"} 
[2026-10-05 16:36:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 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-10-05 16:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546650624001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791198155000,"timestamp_ms":1791198155000,"timestamp_seconds":1791198155,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbad0f8"} 
[2026-10-05 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-10-05 16:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 16:36: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-10-05 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-10-05 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-10-05 16:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:36: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-10-05 16:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546650624001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546650624001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:36:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:36:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546650624001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":206206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:36:00] local.INFO: GPS data processed {"connection_id":206206,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:36:00] local.INFO: Acknowledgment sent {"connection_id":206206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:36:05] local.INFO: TCP Data received {"connection_id":207738,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:36:05] local.INFO: Processing buffer {"connection_id":207738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:36:05] local.INFO: IMEI packet received {"connection_id":207738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 16:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":207738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:36:07] local.INFO: TCP Data received {"connection_id":207738,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:36:07] local.INFO: Processing buffer {"connection_id":207738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:36:07] local.INFO: IMEI packet received {"connection_id":207738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":207738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:36:09] local.INFO: TCP Data received {"connection_id":207736,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbcff90012d7ad0c005e403d8000a00ad2a..."} 
[2026-10-05 16:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbcff90012d7ad0c005e403d8000a00ad2a..."} 
[2026-10-05 16:36:09] local.INFO: Processing buffer {"connection_id":207736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbcff90012d7ad0c005e403d8000a00ad2a..."} 
[2026-10-05 16:36:09] local.INFO: Packet analysis {"connection_id":207736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bbc"} 
[2026-10-05 16:36:09] local.INFO: Extracted packet for processing {"connection_id":207736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bbc"} 
[2026-10-05 16:36:09] local.INFO: GPS Element Parsed {"raw_longitude":763023552,"raw_latitude":98829272,"longitude_deg":76.3023552,"latitude_deg":9.8829272,"altitude":10,"angle":173,"satellites":42,"speed":29,"hex_longitude":"2d7ad0c0","hex_latitude":"05e403d8","is_valid_coordinates":true} 
[2026-10-05 16:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546763264001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139748855603265536,"note":"Value kept but may cause issues"} 
[2026-10-05 16:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849151080618868736,"note":"Value kept but may cause issues"} 
[2026-10-05 16:36:09] 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-10-05 16:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791198298000,"timestamp_ms":1791198298000,"timestamp_seconds":1791198298,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbcff90"} 
[2026-10-05 16:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:36: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-10-05 16:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-10-05 16:36: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-10-05 16:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":207736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":207736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":207736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546763264001,"66":13906,"95":206,"87":13824,"24":29,"16":139748855603265536,"45":8849151080618868736},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-10-05 16:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546763264001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:36:09] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 16:36:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 16:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139748855603265536,"km_value":139748855603265.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849151080618868736,"description":"Unknown IO ID 45"} 
[2026-10-05 16:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546763264001,"power":13906,"unknown_95":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8849151080618868736}} 
[2026-10-05 16:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":207736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:36:09] local.INFO: GPS data processed {"connection_id":207736,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:36:09] local.INFO: Acknowledgment sent {"connection_id":207736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:36:14] local.INFO: TCP Data received {"connection_id":207738,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:36:14] local.INFO: Processing buffer {"connection_id":207738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:36:14] local.INFO: IMEI packet received {"connection_id":207738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":207738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:36:15] local.INFO: TCP Data received {"connection_id":207738,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbcccc8012d1881c0072181300045011828..."} 
[2026-10-05 16:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbcccc8012d1881c0072181300045011828..."} 
[2026-10-05 16:36:15] local.INFO: Processing buffer {"connection_id":207738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbcccc8012d1881c0072181300045011828..."} 
[2026-10-05 16:36:15] local.INFO: Packet analysis {"connection_id":207738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bbc"} 
[2026-10-05 16:36:15] local.INFO: Extracted packet for processing {"connection_id":207738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bbc"} 
[2026-10-05 16:36:15] local.INFO: GPS Element Parsed {"raw_longitude":756580800,"raw_latitude":119636272,"longitude_deg":75.65808,"latitude_deg":11.9636272,"altitude":69,"angle":280,"satellites":40,"speed":30,"hex_longitude":"2d1881c0","hex_latitude":"07218130","is_valid_coordinates":true} 
[2026-10-05 16:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546760192001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25154438041698304,"note":"Value kept but may cause issues"} 
[2026-10-05 16:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768788784276449280,"note":"Value kept but may cause issues"} 
[2026-10-05 16:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791198285000,"timestamp_ms":1791198285000,"timestamp_seconds":1791198285,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbcccc8"} 
[2026-10-05 16:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-05 16:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546760192001,"66":14265,"106":206,"83":41984,"24":30,"16":25154438041698304,"45":1768788784276449280},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-10-05 16:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546760192001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:36:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-10-05 16:36:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 16:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25154438041698304,"km_value":25154438041698.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768788784276449280,"description":"Unknown IO ID 45"} 
[2026-10-05 16:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546760192001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1768788784276449280}} 
[2026-10-05 16:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":207738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:36:15] local.INFO: GPS data processed {"connection_id":207738,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:36:15] local.INFO: Acknowledgment sent {"connection_id":207738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:36:30] local.INFO: TCP Data received {"connection_id":204794,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:36:30] local.INFO: Processing buffer {"connection_id":204794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:36:30] local.INFO: IMEI packet received {"connection_id":204794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":204794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:36:31] local.INFO: TCP Data received {"connection_id":204794,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:36:31] local.INFO: Processing buffer {"connection_id":204794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:36:31] local.INFO: IMEI packet received {"connection_id":204794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":204794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:36:31] local.INFO: TCP Data received {"connection_id":206206,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:36:31] local.INFO: Processing buffer {"connection_id":206206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:36:31] local.INFO: Packet analysis {"connection_id":206206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bba"} 
[2026-10-05 16:36:31] local.INFO: Extracted packet for processing {"connection_id":206206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bba"} 
[2026-10-05 16:36:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 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-10-05 16:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546650624001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791198155000,"timestamp_ms":1791198155000,"timestamp_seconds":1791198155,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbad0f8"} 
[2026-10-05 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-10-05 16:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 16:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 16:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546650624001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546650624001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:36:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:36:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546650624001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":206206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:36:31] local.INFO: GPS data processed {"connection_id":206206,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:36:31] local.INFO: Acknowledgment sent {"connection_id":206206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:36:36] local.INFO: TCP Data received {"connection_id":204794,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:36:36] local.INFO: Processing buffer {"connection_id":204794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:36:36] local.INFO: IMEI packet received {"connection_id":204794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":204794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:36:38] local.INFO: TCP Data received {"connection_id":204794,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbe5368012d7b048005e350480005010627..."} 
[2026-10-05 16:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbe5368012d7b048005e350480005010627..."} 
[2026-10-05 16:36:38] local.INFO: Processing buffer {"connection_id":204794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbe5368012d7b048005e350480005010627..."} 
[2026-10-05 16:36:38] local.INFO: Packet analysis {"connection_id":204794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bbe"} 
[2026-10-05 16:36:38] local.INFO: Extracted packet for processing {"connection_id":204794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bbe"} 
[2026-10-05 16:36:38] local.INFO: GPS Element Parsed {"raw_longitude":763036800,"raw_latitude":98783304,"longitude_deg":76.30368,"latitude_deg":9.8783304,"altitude":5,"angle":262,"satellites":39,"speed":12,"hex_longitude":"2d7b0480","hex_latitude":"05e35048","is_valid_coordinates":true} 
[2026-10-05 16:36: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-10-05 16:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546786304001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139751200655409152,"note":"Value kept but may cause issues"} 
[2026-10-05 16:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864632204325593088,"note":"Value kept but may cause issues"} 
[2026-10-05 16:36:38] 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-10-05 16:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791198385000,"timestamp_ms":1791198385000,"timestamp_seconds":1791198385,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbe5368"} 
[2026-10-05 16:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:36: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":0,"data_length":795,"current_offset":136} 
[2026-10-05 16:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3445608448,"note":"Value kept but may cause issues"} 
[2026-10-05 16:36:38] local.WARNING: Large IO value detected {"io_id":241,"raw_value":3221302650,"note":"Value kept but may cause issues"} 
[2026-10-05 16:36:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 16:36:38] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4026531840,"note":"Value kept but may cause issues"} 
[2026-10-05 16:36:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3816871936,"note":"Value kept but may cause issues"} 
[2026-10-05 16:36:38] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3191089153,"note":"Value kept but may cause issues"} 
[2026-10-05 16:36:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-10-05 16:36:38] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":3221611387,"corrected_to":0} 
[2026-10-05 16:36:38] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812255,"note":"Value kept but may cause issues"} 
[2026-10-05 16:36:38] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,208,85,24,241,157,16,126,161,75,45,81,5,40,10,66,71,64,82,67,1,240,166,227,11,4,113,205,22,246,152,42,239,53,2,6],"length":479,"final_offset":609,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0},{"io_id":246,"original":3221611387,"validated":0}]} 
[2026-10-05 16:36:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432610722624045056,"timestamp_seconds":432610722624045.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 16:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546786304001,"66":13254,"208":206,"85":15104,"24":12,"16":139751200655409152,"45":8864632204325593088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546786304001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:36:38] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:36:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139751200655409152,"km_value":139751200655409.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864632204325593088,"description":"Unknown IO ID 45"} 
[2026-10-05 16:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546786304001,"power":13254,"unknown_208":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8864632204325593088}} 
[2026-10-05 16:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":204794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:36:38] local.INFO: GPS data processed {"connection_id":204794,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:36:38] local.INFO: Acknowledgment sent {"connection_id":204794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:36:46] local.INFO: TCP Data received {"connection_id":207738,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbcd880012d187b40072181780044010929..."} 
[2026-10-05 16:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbcd880012d187b40072181780044010929..."} 
[2026-10-05 16:36:46] local.INFO: Processing buffer {"connection_id":207738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbcd880012d187b40072181780044010929..."} 
[2026-10-05 16:36:46] local.INFO: Packet analysis {"connection_id":207738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bbc"} 
[2026-10-05 16:36:46] local.INFO: Extracted packet for processing {"connection_id":207738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bbc"} 
[2026-10-05 16:36:46] local.INFO: GPS Element Parsed {"raw_longitude":756579136,"raw_latitude":119636344,"longitude_deg":75.6579136,"latitude_deg":11.9636344,"altitude":68,"angle":265,"satellites":41,"speed":15,"hex_longitude":"2d187b40","hex_latitude":"07218178","is_valid_coordinates":true} 
[2026-10-05 16:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546760960001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25154515351109632,"note":"Value kept but may cause issues"} 
[2026-10-05 16:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765903665765363712,"note":"Value kept but may cause issues"} 
[2026-10-05 16:36:46] 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-10-05 16:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791198288000,"timestamp_ms":1791198288000,"timestamp_seconds":1791198288,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbcd880"} 
[2026-10-05 16:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-05 16:36:46] 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-10-05 16:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":207738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":207738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":207738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:36:46] 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-10-05 16:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546760960001,"66":14243,"106":206,"83":41984,"24":15,"16":25154515351109632,"45":1765903665765363712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-10-05 16:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546760960001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:36:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-10-05 16:36:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 16:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25154515351109632,"km_value":25154515351109.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765903665765363712,"description":"Unknown IO ID 45"} 
[2026-10-05 16:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546760960001,"power":14243,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1765903665765363712}} 
[2026-10-05 16:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":207738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:36:46] local.INFO: GPS data processed {"connection_id":207738,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:36:46] local.INFO: Acknowledgment sent {"connection_id":207738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:36:54] local.INFO: TCP Data received {"connection_id":207739,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:36:54] local.INFO: Processing buffer {"connection_id":207739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:36:54] local.INFO: IMEI packet received {"connection_id":207739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":207739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:36:59] local.INFO: TCP Data received {"connection_id":207739,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:36:59] local.INFO: Processing buffer {"connection_id":207739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:36:59] local.INFO: IMEI packet received {"connection_id":207739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":207739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:37:00] local.INFO: TCP Data received {"connection_id":207739,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:37:00] local.INFO: Processing buffer {"connection_id":207739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:37:00] local.INFO: Packet analysis {"connection_id":207739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bba"} 
[2026-10-05 16:37:00] local.INFO: Extracted packet for processing {"connection_id":207739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bba"} 
[2026-10-05 16:37:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546650624001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791198155000,"timestamp_ms":1791198155000,"timestamp_seconds":1791198155,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbad0f8"} 
[2026-10-05 16:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 16:37: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-10-05 16: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-10-05 16:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:37: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-10-05 16:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546650624001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546650624001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:37:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:37:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546650624001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":207739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:37:00] local.INFO: GPS data processed {"connection_id":207739,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:37:00] local.INFO: Acknowledgment sent {"connection_id":207739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:37:06] local.INFO: TCP Data received {"connection_id":206207,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:37:06] local.INFO: Processing buffer {"connection_id":206207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:37:06] local.INFO: IMEI packet received {"connection_id":206207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 16:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":206207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:37:07] local.INFO: TCP Data received {"connection_id":206207,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:37:07] local.INFO: Processing buffer {"connection_id":206207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:37:07] local.INFO: IMEI packet received {"connection_id":206207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":206207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:37:08] local.INFO: TCP Data received {"connection_id":206207,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:37:08] local.INFO: Processing buffer {"connection_id":206207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:37:08] local.INFO: IMEI packet received {"connection_id":206207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":206207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:37:09] local.INFO: TCP Data received {"connection_id":206207,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:37:09] local.INFO: Processing buffer {"connection_id":206207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:37:09] local.INFO: IMEI packet received {"connection_id":206207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":206207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:37:09] local.INFO: TCP Data received {"connection_id":204794,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbe5750012d7b034005e350580006011928..."} 
[2026-10-05 16:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbe5750012d7b034005e350580006011928..."} 
[2026-10-05 16:37:09] local.INFO: Processing buffer {"connection_id":204794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbe5750012d7b034005e350580006011928..."} 
[2026-10-05 16:37:09] local.INFO: Packet analysis {"connection_id":204794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bbe"} 
[2026-10-05 16:37:09] local.INFO: Extracted packet for processing {"connection_id":204794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bbe"} 
[2026-10-05 16:37:09] local.INFO: GPS Element Parsed {"raw_longitude":763036480,"raw_latitude":98783320,"longitude_deg":76.303648,"latitude_deg":9.878332,"altitude":6,"angle":281,"satellites":40,"speed":12,"hex_longitude":"2d7b0340","hex_latitude":"05e35058","is_valid_coordinates":true} 
[2026-10-05 16:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546786560001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139751217835278336,"note":"Value kept but may cause issues"} 
[2026-10-05 16:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864350729348859904,"note":"Value kept but may cause issues"} 
[2026-10-05 16:37:09] 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-10-05 16:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791198386000,"timestamp_ms":1791198386000,"timestamp_seconds":1791198386,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbe5750"} 
[2026-10-05 16:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-10-05 16:37: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-10-05 16:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546786560001,"66":13254,"208":206,"85":15104,"24":12,"16":139751217835278336,"45":8864350729348859904},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546786560001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:37:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:37:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139751217835278336,"km_value":139751217835278.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864350729348859904,"description":"Unknown IO ID 45"} 
[2026-10-05 16:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546786560001,"power":13254,"unknown_208":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8864350729348859904}} 
[2026-10-05 16:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":204794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968561,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:37:09] local.INFO: GPS data processed {"connection_id":204794,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:37:09] local.INFO: Acknowledgment sent {"connection_id":204794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:37:30] local.INFO: TCP Data received {"connection_id":204672,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:37:30] local.INFO: Processing buffer {"connection_id":204672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:37:30] local.INFO: IMEI packet received {"connection_id":204672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":204672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:37:31] local.INFO: TCP Data received {"connection_id":207739,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:37:31] local.INFO: Processing buffer {"connection_id":207739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:37:31] local.INFO: Packet analysis {"connection_id":207739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bba"} 
[2026-10-05 16:37:31] local.INFO: Extracted packet for processing {"connection_id":207739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bba"} 
[2026-10-05 16:37:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546650624001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791198155000,"timestamp_ms":1791198155000,"timestamp_seconds":1791198155,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbad0f8"} 
[2026-10-05 16:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 16:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546650624001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546650624001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:37:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:37:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546650624001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":207739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:37:31] local.INFO: GPS data processed {"connection_id":207739,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:37:31] local.INFO: Acknowledgment sent {"connection_id":207739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:37:34] local.INFO: TCP Data received {"connection_id":204672,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:37:34] local.INFO: Processing buffer {"connection_id":204672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:37:34] local.INFO: IMEI packet received {"connection_id":204672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":204672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:37:35] local.INFO: TCP Data received {"connection_id":204672,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:37:35] local.INFO: Processing buffer {"connection_id":204672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:37:35] local.INFO: IMEI packet received {"connection_id":204672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":204672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:37:40] local.INFO: TCP Data received {"connection_id":204672,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbe5b38012d7b028005e350d80006013a28..."} 
[2026-10-05 16:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbe5b38012d7b028005e350d80006013a28..."} 
[2026-10-05 16:37:40] local.INFO: Processing buffer {"connection_id":204672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbe5b38012d7b028005e350d80006013a28..."} 
[2026-10-05 16:37:40] local.INFO: Packet analysis {"connection_id":204672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bbe"} 
[2026-10-05 16:37:40] local.INFO: Extracted packet for processing {"connection_id":204672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bbe"} 
[2026-10-05 16:37:40] local.INFO: GPS Element Parsed {"raw_longitude":763036288,"raw_latitude":98783448,"longitude_deg":76.3036288,"latitude_deg":9.8783448,"altitude":6,"angle":314,"satellites":40,"speed":11,"hex_longitude":"2d7b0280","hex_latitude":"05e350d8","is_valid_coordinates":true} 
[2026-10-05 16:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546786816001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139751230720180224,"note":"Value kept but may cause issues"} 
[2026-10-05 16:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863998885627975680,"note":"Value kept but may cause issues"} 
[2026-10-05 16:37:40] 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-10-05 16:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791198387000,"timestamp_ms":1791198387000,"timestamp_seconds":1791198387,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbe5b38"} 
[2026-10-05 16:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-10-05 16:37:40] 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-10-05 16:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546786816001,"66":13526,"208":206,"85":15104,"24":11,"16":139751230720180224,"45":8863998885627975680},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546786816001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:37:40] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:37:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139751230720180224,"km_value":139751230720180.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863998885627975680,"description":"Unknown IO ID 45"} 
[2026-10-05 16:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546786816001,"power":13526,"unknown_208":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8863998885627975680}} 
[2026-10-05 16:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":204672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:37:40] local.INFO: GPS data processed {"connection_id":204672,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:37:40] local.INFO: Acknowledgment sent {"connection_id":204672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:37:54] local.INFO: TCP Data received {"connection_id":204796,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:37:54] local.INFO: Processing buffer {"connection_id":204796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:37:54] local.INFO: IMEI packet received {"connection_id":204796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":204796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:37:59] local.INFO: TCP Data received {"connection_id":204797,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204797,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:37:59] local.INFO: Processing buffer {"connection_id":204797,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:37:59] local.INFO: IMEI packet received {"connection_id":204797,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 16:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":204797,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:37:59] local.INFO: TCP Data received {"connection_id":204796,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:37:59] local.INFO: Processing buffer {"connection_id":204796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:37:59] local.INFO: IMEI packet received {"connection_id":204796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":204796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:38:00] local.INFO: TCP Data received {"connection_id":204796,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:38:00] local.INFO: Processing buffer {"connection_id":204796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbad0f8012d80b3c00602ac50001400cf2e..."} 
[2026-10-05 16:38:00] local.INFO: Packet analysis {"connection_id":204796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bba"} 
[2026-10-05 16:38:00] local.INFO: Extracted packet for processing {"connection_id":204796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bba"} 
[2026-10-05 16:38:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546650624001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791198155000,"timestamp_ms":1791198155000,"timestamp_seconds":1791198155,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbad0f8"} 
[2026-10-05 16:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 16:38: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-10-05 16: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-10-05 16:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:38: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-10-05 16:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546650624001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546650624001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:38:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:38:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546650624001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":204796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:38:00] local.INFO: GPS data processed {"connection_id":204796,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:38:00] local.INFO: Acknowledgment sent {"connection_id":204796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:38:03] local.INFO: TCP Data received {"connection_id":204797,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204797,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:38:03] local.INFO: Processing buffer {"connection_id":204797,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:38:03] local.INFO: IMEI packet received {"connection_id":204797,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":204797,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:38:13] local.INFO: TCP Data received {"connection_id":204797,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204797,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:38:13] local.INFO: Processing buffer {"connection_id":204797,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:38:13] local.INFO: IMEI packet received {"connection_id":204797,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":204797,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:38:14] local.INFO: TCP Data received {"connection_id":204672,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbe5f20012d7b01c005e351700005014528..."} 
[2026-10-05 16:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbe5f20012d7b01c005e351700005014528..."} 
[2026-10-05 16:38:14] local.INFO: Processing buffer {"connection_id":204672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbe5f20012d7b01c005e351700005014528..."} 
[2026-10-05 16:38:14] local.INFO: Packet analysis {"connection_id":204672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bbe"} 
[2026-10-05 16:38:14] local.INFO: Extracted packet for processing {"connection_id":204672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bbe"} 
[2026-10-05 16:38:14] local.INFO: GPS Element Parsed {"raw_longitude":763036096,"raw_latitude":98783600,"longitude_deg":76.3036096,"latitude_deg":9.87836,"altitude":5,"angle":325,"satellites":40,"speed":7,"hex_longitude":"2d7b01c0","hex_latitude":"05e35170","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546787072001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139751239310114816,"note":"Value kept but may cause issues"} 
[2026-10-05 16:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863787779395475456,"note":"Value kept but may cause issues"} 
[2026-10-05 16:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791198388000,"timestamp_ms":1791198388000,"timestamp_seconds":1791198388,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbe5f20"} 
[2026-10-05 16:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16: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-10-05 16:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-05 16:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":204672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":204672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":204672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546787072001,"66":13526,"208":206,"85":15104,"24":7,"16":139751239310114816,"45":8863787779395475456},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546787072001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:38:14] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:38:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139751239310114816,"km_value":139751239310114.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863787779395475456,"description":"Unknown IO ID 45"} 
[2026-10-05 16:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546787072001,"power":13526,"unknown_208":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8863787779395475456}} 
[2026-10-05 16:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":204672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968565,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:38:14] local.INFO: GPS data processed {"connection_id":204672,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:38:14] local.INFO: Acknowledgment sent {"connection_id":204672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:38:15] local.INFO: TCP Data received {"connection_id":204797,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbf2658012d0c9f000704adb00019009523..."} 
[2026-10-05 16:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbf2658012d0c9f000704adb00019009523..."} 
[2026-10-05 16:38:15] local.INFO: Processing buffer {"connection_id":204797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbf2658012d0c9f000704adb00019009523..."} 
[2026-10-05 16:38:15] local.INFO: Packet analysis {"connection_id":204797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bbf"} 
[2026-10-05 16:38:15] local.INFO: Extracted packet for processing {"connection_id":204797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bbf"} 
[2026-10-05 16:38:15] local.INFO: GPS Element Parsed {"raw_longitude":755801856,"raw_latitude":117747120,"longitude_deg":75.5801856,"latitude_deg":11.774712,"altitude":25,"angle":149,"satellites":35,"speed":34,"hex_longitude":"2d0c9f00","hex_latitude":"0704adb0","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546797568001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34862223771828224,"note":"Value kept but may cause issues"} 
[2026-10-05 16:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905856873944340480,"note":"Value kept but may cause issues"} 
[2026-10-05 16:38:15] 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-10-05 16:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791198439000,"timestamp_ms":1791198439000,"timestamp_seconds":1791198439,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbf2658"} 
[2026-10-05 16:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:38:15] 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-10-05 16: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-05 16:38:15] 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-10-05 16: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-10-05 16:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204797,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204797,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546797568001,"66":14559,"167":206,"94":11008,"24":34,"16":34862223771828224,"45":905856873944340480},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-10-05 16:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546797568001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:38:15] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-05 16:38:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 16:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34862223771828224,"km_value":34862223771828.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":905856873944340480,"description":"Unknown IO ID 45"} 
[2026-10-05 16:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546797568001,"power":14559,"unknown_167":206,"unknown_94":11008,"ignition":34,"odometer":null,"unknown_45":905856873944340480}} 
[2026-10-05 16:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":204797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968566,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:38:15] local.INFO: GPS data processed {"connection_id":204797,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:38:15] local.INFO: Acknowledgment sent {"connection_id":204797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:38:16] local.INFO: TCP Data received {"connection_id":204797,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbf5150012d0cb480070490a00018009123..."} 
[2026-10-05 16:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbf5150012d0cb480070490a00018009123..."} 
[2026-10-05 16:38:16] local.INFO: Processing buffer {"connection_id":204797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbf5150012d0cb480070490a00018009123..."} 
[2026-10-05 16:38:16] local.INFO: Packet analysis {"connection_id":204797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bbf"} 
[2026-10-05 16:38:16] local.INFO: Extracted packet for processing {"connection_id":204797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bbf"} 
[2026-10-05 16:38:16] local.INFO: GPS Element Parsed {"raw_longitude":755807360,"raw_latitude":117739680,"longitude_deg":75.580736,"latitude_deg":11.773968,"altitude":24,"angle":145,"satellites":35,"speed":29,"hex_longitude":"2d0cb480","hex_latitude":"070490a0","is_valid_coordinates":true} 
[2026-10-05 16:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546800384001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34862666153459712,"note":"Value kept but may cause issues"} 
[2026-10-05 16:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":909445679895392256,"note":"Value kept but may cause issues"} 
[2026-10-05 16:38:16] 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-10-05 16:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791198450000,"timestamp_ms":1791198450000,"timestamp_seconds":1791198450,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbf5150"} 
[2026-10-05 16:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-05 16:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204797,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204797,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546800384001,"66":14548,"167":206,"94":11008,"24":29,"16":34862666153459712,"45":909445679895392256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-10-05 16:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546800384001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:38:16] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-05 16:38:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 16:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34862666153459712,"km_value":34862666153459.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":909445679895392256,"description":"Unknown IO ID 45"} 
[2026-10-05 16:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546800384001,"power":14548,"unknown_167":206,"unknown_94":11008,"ignition":29,"odometer":null,"unknown_45":909445679895392256}} 
[2026-10-05 16:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":204797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968567,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:38:16] local.INFO: GPS data processed {"connection_id":204797,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:38:16] local.INFO: Acknowledgment sent {"connection_id":204797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:38:31] local.INFO: TCP Data received {"connection_id":204796,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:38:31] local.INFO: Processing buffer {"connection_id":204796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:38:31] local.INFO: Packet analysis {"connection_id":204796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bbf"} 
[2026-10-05 16:38:31] local.INFO: Extracted packet for processing {"connection_id":204796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bbf"} 
[2026-10-05 16:38:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":48,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 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-10-05 16:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546727680001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791198456000,"timestamp_ms":1791198456000,"timestamp_seconds":1791198456,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbf68c0"} 
[2026-10-05 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-10-05 16:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 16:38:31] 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-10-05 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-10-05 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-10-05 16:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546727680001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546727680001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:38:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:38:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546727680001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":204796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:38:31] local.INFO: GPS data processed {"connection_id":204796,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:38:31] local.INFO: Acknowledgment sent {"connection_id":204796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:38:41] local.INFO: TCP Data received {"connection_id":206210,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206210,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:38:41] local.INFO: Processing buffer {"connection_id":206210,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:38:41] local.INFO: IMEI packet received {"connection_id":206210,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 16:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":206210,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:38:43] local.INFO: TCP Data received {"connection_id":206209,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:38:43] local.INFO: Processing buffer {"connection_id":206209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:38:43] local.INFO: IMEI packet received {"connection_id":206209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":206209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:38:43] local.INFO: TCP Data received {"connection_id":206210,"ip":"42.106.6.38","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-05 16:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206210,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-05 16:38:43] local.INFO: Processing buffer {"connection_id":206210,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-05 16:38:43] local.INFO: IMEI packet received {"connection_id":206210,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":206210,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:38:47] local.INFO: TCP Data received {"connection_id":206209,"ip":"42.106.6.38","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-05 16:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206209,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-05 16:38:47] local.INFO: Processing buffer {"connection_id":206209,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-05 16:38:47] local.INFO: IMEI packet received {"connection_id":206209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":206209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:38:48] local.INFO: TCP Data received {"connection_id":206210,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc04f38012d0c4cc00703d748001100c522..."} 
[2026-10-05 16:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc04f38012d0c4cc00703d748001100c522..."} 
[2026-10-05 16:38:48] local.INFO: Processing buffer {"connection_id":206210,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a10b..."} 
[2026-10-05 16:38:48] local.INFO: IMEI packet received {"connection_id":206210,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":206210,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:38:49] local.INFO: TCP Data received {"connection_id":206210,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc05320012d0c4c800703d3e8001100ba22..."} 
[2026-10-05 16:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc05320012d0c4c800703d3e8001100ba22..."} 
[2026-10-05 16:38:49] local.INFO: Processing buffer {"connection_id":206210,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a10bc04f38012d0c4cc00703d748001100c522..."} 
[2026-10-05 16:38:49] local.INFO: Packet analysis {"connection_id":206210,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a10bc0"} 
[2026-10-05 16:38:49] local.INFO: Extracted packet for processing {"connection_id":206210,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc0"} 
[2026-10-05 16:38:49] local.INFO: GPS Element Parsed {"raw_longitude":755780800,"raw_latitude":117692232,"longitude_deg":75.57808,"latitude_deg":11.7692232,"altitude":17,"angle":197,"satellites":34,"speed":32,"hex_longitude":"2d0c4cc0","hex_latitude":"0703d748","is_valid_coordinates":true} 
[2026-10-05 16:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546819328001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34865513716776960,"note":"Value kept but may cause issues"} 
[2026-10-05 16:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887138787977412608,"note":"Value kept but may cause issues"} 
[2026-10-05 16:38:49] 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-10-05 16:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1791198515000,"timestamp_ms":1791198515000,"timestamp_seconds":1791198515,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc04f38"} 
[2026-10-05 16:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:38:49] 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-10-05 16:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-05 16:38:49] 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-10-05 16:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":206210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":206210,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":206210,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546819328001,"66":14298,"16":34865513716776960,"94":11008,"24":32,"45":887138787977412608},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-10-05 16:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546819328001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34865513716776960,"km_value":34865513716776.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:38:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 16:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":887138787977412608,"description":"Unknown IO ID 45"} 
[2026-10-05 16:38:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458546819328001,"power":14298,"odometer":null,"unknown_94":11008,"ignition":32,"unknown_45":887138787977412608}} 
[2026-10-05 16:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":206210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968569,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:38:50] local.INFO: GPS data processed {"connection_id":206210,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:38:50] local.INFO: Acknowledgment sent {"connection_id":206210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:38:50] local.INFO: Packet analysis {"connection_id":206210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc0"} 
[2026-10-05 16:38:50] local.INFO: Extracted packet for processing {"connection_id":206210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc0"} 
[2026-10-05 16:38:50] local.INFO: GPS Element Parsed {"raw_longitude":755780736,"raw_latitude":117691368,"longitude_deg":75.5780736,"latitude_deg":11.7691368,"altitude":17,"angle":186,"satellites":34,"speed":33,"hex_longitude":"2d0c4c80","hex_latitude":"0703d3e8","is_valid_coordinates":true} 
[2026-10-05 16:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546819840001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34865556666449920,"note":"Value kept but may cause issues"} 
[2026-10-05 16:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886294363046889472,"note":"Value kept but may cause issues"} 
[2026-10-05 16:38:50] 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-10-05 16:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1791198516000,"timestamp_ms":1791198516000,"timestamp_seconds":1791198516,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc05320"} 
[2026-10-05 16:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-10-05 16:38:50] 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-10-05 16:38: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-10-05 16:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":206210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":206210,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":206210,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546819840001,"66":14298,"16":34865556666449920,"94":11008,"24":33,"45":886294363046889472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-10-05 16:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546819840001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34865556666449920,"km_value":34865556666449.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:38:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 16:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":886294363046889472,"description":"Unknown IO ID 45"} 
[2026-10-05 16:38:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458546819840001,"power":14298,"odometer":null,"unknown_94":11008,"ignition":33,"unknown_45":886294363046889472}} 
[2026-10-05 16:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":206210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968570,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:38:50] local.INFO: GPS data processed {"connection_id":206210,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:38:50] local.INFO: Acknowledgment sent {"connection_id":206210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:38:51] local.INFO: TCP Data received {"connection_id":206210,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc062c0012d0c4c800703c640001100c622..."} 
[2026-10-05 16:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc062c0012d0c4c800703c640001100c622..."} 
[2026-10-05 16:38:51] local.INFO: Processing buffer {"connection_id":206210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc062c0012d0c4c800703c640001100c622..."} 
[2026-10-05 16:38:51] local.INFO: Packet analysis {"connection_id":206210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc0"} 
[2026-10-05 16:38:51] local.INFO: Extracted packet for processing {"connection_id":206210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc0"} 
[2026-10-05 16:38:51] local.INFO: GPS Element Parsed {"raw_longitude":755780736,"raw_latitude":117687872,"longitude_deg":75.5780736,"latitude_deg":11.7687872,"altitude":17,"angle":198,"satellites":34,"speed":31,"hex_longitude":"2d0c4c80","hex_latitude":"0703c640","is_valid_coordinates":true} 
[2026-10-05 16:38: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-10-05 16:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546820096001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34865724170174464,"note":"Value kept but may cause issues"} 
[2026-10-05 16:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886223994302490624,"note":"Value kept but may cause issues"} 
[2026-10-05 16:38:51] 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-10-05 16:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791198520000,"timestamp_ms":1791198520000,"timestamp_seconds":1791198520,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc062c0"} 
[2026-10-05 16:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:38:51] 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-10-05 16:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-10-05 16:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:38: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-10-05 16:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":206210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":206210,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":206210,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546820096001,"66":14439,"16":34865724170174464,"94":11008,"24":31,"45":886223994302490624},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-10-05 16:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546820096001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34865724170174464,"km_value":34865724170174.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:38:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 16:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":886223994302490624,"description":"Unknown IO ID 45"} 
[2026-10-05 16:38:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458546820096001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":31,"unknown_45":886223994302490624}} 
[2026-10-05 16:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":206210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968571,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:38:51] local.INFO: GPS data processed {"connection_id":206210,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:38:51] local.INFO: Acknowledgment sent {"connection_id":206210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:38:54] local.INFO: TCP Data received {"connection_id":207741,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:38:54] local.INFO: Processing buffer {"connection_id":207741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:38:54] local.INFO: IMEI packet received {"connection_id":207741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":207741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:38:59] local.INFO: TCP Data received {"connection_id":206208,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:38:59] local.INFO: Processing buffer {"connection_id":206208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:38:59] local.INFO: IMEI packet received {"connection_id":206208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 16:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":206208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:38:59] local.INFO: TCP Data received {"connection_id":207741,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:38:59] local.INFO: Processing buffer {"connection_id":207741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:38:59] local.INFO: IMEI packet received {"connection_id":207741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":207741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:39:00] local.INFO: TCP Data received {"connection_id":207741,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:39:00] local.INFO: Processing buffer {"connection_id":207741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:39:00] local.INFO: Packet analysis {"connection_id":207741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bbf"} 
[2026-10-05 16:39:00] local.INFO: Extracted packet for processing {"connection_id":207741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bbf"} 
[2026-10-05 16:39:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":48,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546727680001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791198456000,"timestamp_ms":1791198456000,"timestamp_seconds":1791198456,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbf68c0"} 
[2026-10-05 16:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 16:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546727680001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546727680001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:39:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:39:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546727680001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":207741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:39:00] local.INFO: GPS data processed {"connection_id":207741,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:39:00] local.INFO: Acknowledgment sent {"connection_id":207741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:39:26] local.INFO: TCP Data received {"connection_id":206210,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc06a90012d0c49400703c160001000de22..."} 
[2026-10-05 16:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc06a90012d0c49400703c160001000de22..."} 
[2026-10-05 16:39:26] local.INFO: Processing buffer {"connection_id":206210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc06a90012d0c49400703c160001000de22..."} 
[2026-10-05 16:39:26] local.INFO: Packet analysis {"connection_id":206210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc0"} 
[2026-10-05 16:39:26] local.INFO: Extracted packet for processing {"connection_id":206210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc0"} 
[2026-10-05 16:39:26] local.INFO: GPS Element Parsed {"raw_longitude":755779904,"raw_latitude":117686624,"longitude_deg":75.5779904,"latitude_deg":11.7686624,"altitude":16,"angle":222,"satellites":34,"speed":29,"hex_longitude":"2d0c4940","hex_latitude":"0703c160","is_valid_coordinates":true} 
[2026-10-05 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-10-05 16:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546821120001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34865797184618496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886223994301595648,"note":"Value kept but may cause issues"} 
[2026-10-05 16:39:26] 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-10-05 16:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1791198522000,"timestamp_ms":1791198522000,"timestamp_seconds":1791198522,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc06a90"} 
[2026-10-05 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-10-05 16:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-05 16:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 16:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":206210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":206210,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":206210,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546821120001,"66":14439,"16":34865797184618496,"94":11008,"24":29,"45":886223994301595648},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-10-05 16:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546821120001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34865797184618496,"km_value":34865797184618.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:39:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 16:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":886223994301595648,"description":"Unknown IO ID 45"} 
[2026-10-05 16:39:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458546821120001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":29,"unknown_45":886223994301595648}} 
[2026-10-05 16:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":206210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968573,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:39:26] local.INFO: GPS data processed {"connection_id":206210,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:39:26] local.INFO: Acknowledgment sent {"connection_id":206210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:39:32] local.INFO: TCP Data received {"connection_id":207741,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:39:32] local.INFO: Processing buffer {"connection_id":207741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:39:32] local.INFO: Packet analysis {"connection_id":207741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bbf"} 
[2026-10-05 16:39:32] local.INFO: Extracted packet for processing {"connection_id":207741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bbf"} 
[2026-10-05 16:39:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":48,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546727680001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791198456000,"timestamp_ms":1791198456000,"timestamp_seconds":1791198456,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbf68c0"} 
[2026-10-05 16:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 16:39:32] 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-10-05 16:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:39: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-10-05 16:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546727680001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546727680001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:39:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:39:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546727680001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":207741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:39:32] local.INFO: GPS data processed {"connection_id":207741,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:39:32] local.INFO: Acknowledgment sent {"connection_id":207741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:39:39] local.INFO: TCP Data received {"connection_id":204798,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:39:39] local.INFO: Processing buffer {"connection_id":204798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:39:39] local.INFO: IMEI packet received {"connection_id":204798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 16:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":204798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:39:43] local.INFO: TCP Data received {"connection_id":207744,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207744,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:39:43] local.INFO: Processing buffer {"connection_id":207744,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:39:43] local.INFO: IMEI packet received {"connection_id":207744,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 16:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":207744,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:39:49] local.INFO: TCP Data received {"connection_id":207744,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207744,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:39:49] local.INFO: Processing buffer {"connection_id":207744,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:39:49] local.INFO: IMEI packet received {"connection_id":207744,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":207744,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:39:50] local.INFO: TCP Data received {"connection_id":207744,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc07260012d0c43000703be78001000f523..."} 
[2026-10-05 16:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc07260012d0c43000703be78001000f523..."} 
[2026-10-05 16:39:50] local.INFO: Processing buffer {"connection_id":207744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc07260012d0c43000703be78001000f523..."} 
[2026-10-05 16:39:50] local.INFO: Packet analysis {"connection_id":207744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc0"} 
[2026-10-05 16:39:50] local.INFO: Extracted packet for processing {"connection_id":207744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc0"} 
[2026-10-05 16:39:50] local.INFO: GPS Element Parsed {"raw_longitude":755778304,"raw_latitude":117685880,"longitude_deg":75.5778304,"latitude_deg":11.768588,"altitude":16,"angle":245,"satellites":35,"speed":35,"hex_longitude":"2d0c4300","hex_latitude":"0703be78","is_valid_coordinates":true} 
[2026-10-05 16:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546821632001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34865883083964416,"note":"Value kept but may cause issues"} 
[2026-10-05 16:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885309200626966528,"note":"Value kept but may cause issues"} 
[2026-10-05 16:39:50] 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-10-05 16:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1791198524000,"timestamp_ms":1791198524000,"timestamp_seconds":1791198524,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc07260"} 
[2026-10-05 16:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-05 16:39:50] 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-10-05 16:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":207744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":207744,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":207744,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546821632001,"66":14374,"16":34865883083964416,"94":11008,"24":35,"45":885309200626966528},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-10-05 16:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546821632001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34865883083964416,"km_value":34865883083964.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:39:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 16:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":885309200626966528,"description":"Unknown IO ID 45"} 
[2026-10-05 16:39:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458546821632001,"power":14374,"odometer":null,"unknown_94":11008,"ignition":35,"unknown_45":885309200626966528}} 
[2026-10-05 16:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":207744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968575,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:39:50] local.INFO: GPS data processed {"connection_id":207744,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:39:50] local.INFO: Acknowledgment sent {"connection_id":207744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:39:54] local.INFO: TCP Data received {"connection_id":207745,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:39:54] local.INFO: Processing buffer {"connection_id":207745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:39:54] local.INFO: IMEI packet received {"connection_id":207745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":207745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:39:59] local.INFO: TCP Data received {"connection_id":207745,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:39:59] local.INFO: Processing buffer {"connection_id":207745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:39:59] local.INFO: IMEI packet received {"connection_id":207745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":207745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:40:00] local.INFO: TCP Data received {"connection_id":207745,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:40:00] local.INFO: Processing buffer {"connection_id":207745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:40:00] local.INFO: Packet analysis {"connection_id":207745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bbf"} 
[2026-10-05 16:40:00] local.INFO: Extracted packet for processing {"connection_id":207745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bbf"} 
[2026-10-05 16:40:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":48,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546727680001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791198456000,"timestamp_ms":1791198456000,"timestamp_seconds":1791198456,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbf68c0"} 
[2026-10-05 16:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 16:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:40:00] 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-10-05 16:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546727680001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546727680001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:40:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:40:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546727680001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":207745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:40:00] local.INFO: GPS data processed {"connection_id":207745,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:40:00] local.INFO: Acknowledgment sent {"connection_id":207745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:40:21] local.INFO: TCP Data received {"connection_id":207744,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc09d58012d0c20000703adc0000d00eb21..."} 
[2026-10-05 16:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc09d58012d0c20000703adc0000d00eb21..."} 
[2026-10-05 16:40:21] local.INFO: Processing buffer {"connection_id":207744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc09d58012d0c20000703adc0000d00eb21..."} 
[2026-10-05 16:40:21] local.INFO: Packet analysis {"connection_id":207744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc0"} 
[2026-10-05 16:40:21] local.INFO: Extracted packet for processing {"connection_id":207744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc0"} 
[2026-10-05 16:40:21] local.INFO: GPS Element Parsed {"raw_longitude":755769344,"raw_latitude":117681600,"longitude_deg":75.5769344,"latitude_deg":11.76816,"altitude":13,"angle":235,"satellites":33,"speed":39,"hex_longitude":"2d0c2000","hex_latitude":"0703adc0","is_valid_coordinates":true} 
[2026-10-05 16:40: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-10-05 16:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546822144001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34866355530366976,"note":"Value kept but may cause issues"} 
[2026-10-05 16:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":883549982022334464,"note":"Value kept but may cause issues"} 
[2026-10-05 16:40:21] 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-10-05 16:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791198535000,"timestamp_ms":1791198535000,"timestamp_seconds":1791198535,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc09d58"} 
[2026-10-05 16:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-05 16:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:40: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-10-05 16:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":207744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":207744,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":207744,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546822144001,"66":14537,"16":34866355530366976,"94":11008,"24":39,"45":883549982022334464},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-10-05 16:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546822144001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34866355530366976,"km_value":34866355530366.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:40:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 16:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":883549982022334464,"description":"Unknown IO ID 45"} 
[2026-10-05 16:40:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458546822144001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":39,"unknown_45":883549982022334464}} 
[2026-10-05 16:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":207744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968577,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:40:21] local.INFO: GPS data processed {"connection_id":207744,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:40:21] local.INFO: Acknowledgment sent {"connection_id":207744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:40:32] local.INFO: TCP Data received {"connection_id":207745,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:40:32] local.INFO: Processing buffer {"connection_id":207745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:40:32] local.INFO: Packet analysis {"connection_id":207745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bbf"} 
[2026-10-05 16:40:32] local.INFO: Extracted packet for processing {"connection_id":207745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bbf"} 
[2026-10-05 16:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":48,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546727680001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791198456000,"timestamp_ms":1791198456000,"timestamp_seconds":1791198456,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbf68c0"} 
[2026-10-05 16:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 16:40:32] 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-10-05 16:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:40:32] 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-10-05 16:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546727680001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546727680001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:40:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:40:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546727680001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":207745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:40:32] local.INFO: GPS data processed {"connection_id":207745,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:40:32] local.INFO: Acknowledgment sent {"connection_id":207745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:40:45] local.INFO: TCP Data received {"connection_id":204674,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204674,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:40:45] local.INFO: Processing buffer {"connection_id":204674,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:40:45] local.INFO: IMEI packet received {"connection_id":204674,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 16:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":204674,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:40:47] local.INFO: TCP Data received {"connection_id":204674,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204674,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:40:47] local.INFO: Processing buffer {"connection_id":204674,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:40:47] local.INFO: IMEI packet received {"connection_id":204674,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":204674,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:40:48] local.INFO: TCP Data received {"connection_id":204674,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204674,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:40:48] local.INFO: Processing buffer {"connection_id":204674,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:40:48] local.INFO: IMEI packet received {"connection_id":204674,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":204674,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:40:49] local.INFO: TCP Data received {"connection_id":204674,"ip":"42.106.6.38","data_length":812,"data_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a10b..."} 
[2026-10-05 16:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204674,"packet_length":812,"packet_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a10b..."} 
[2026-10-05 16:40:49] local.INFO: Processing buffer {"connection_id":204674,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a10b..."} 
[2026-10-05 16:40:49] local.INFO: IMEI packet received {"connection_id":204674,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":204674,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:40:49] local.INFO: TCP Data received {"connection_id":204674,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc21c28012d0c2a400702ae300011009823..."} 
[2026-10-05 16:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc21c28012d0c2a400702ae300011009823..."} 
[2026-10-05 16:40:49] local.INFO: Processing buffer {"connection_id":204674,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a10bc21458012d0c29000702afc80010008b23..."} 
[2026-10-05 16:40:49] local.INFO: Packet analysis {"connection_id":204674,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a10bc2"} 
[2026-10-05 16:40:49] local.INFO: Extracted packet for processing {"connection_id":204674,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc2"} 
[2026-10-05 16:40:49] local.INFO: GPS Element Parsed {"raw_longitude":755771648,"raw_latitude":117616584,"longitude_deg":75.5771648,"latitude_deg":11.7616584,"altitude":16,"angle":139,"satellites":35,"speed":12,"hex_longitude":"2d0c2900","hex_latitude":"0702afc8","is_valid_coordinates":true} 
[2026-10-05 16:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546848768001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34869671245119488,"note":"Value kept but may cause issues"} 
[2026-10-05 16:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875527945168580608,"note":"Value kept but may cause issues"} 
[2026-10-05 16:40: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-10-05 16:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1791198631000,"timestamp_ms":1791198631000,"timestamp_seconds":1791198631,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc21458"} 
[2026-10-05 16:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:40:49] 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-10-05 16:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-05 16:40:49] 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-10-05 16:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":204674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":204674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":204674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546848768001,"66":14396,"37":206,"94":11008,"24":12,"16":34869671245119488,"45":875527945168580608},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 16:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546848768001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:40:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 16:40:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 16:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34869671245119488,"km_value":34869671245119.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":875527945168580608,"description":"Unknown IO ID 45"} 
[2026-10-05 16:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546848768001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":875527945168580608}} 
[2026-10-05 16:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":204674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968579,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:40:49] local.INFO: GPS data processed {"connection_id":204674,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:40:49] local.INFO: Acknowledgment sent {"connection_id":204674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:40:49] local.INFO: Packet analysis {"connection_id":204674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc2"} 
[2026-10-05 16:40:49] local.INFO: Extracted packet for processing {"connection_id":204674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc2"} 
[2026-10-05 16:40:49] local.INFO: GPS Element Parsed {"raw_longitude":755771968,"raw_latitude":117616176,"longitude_deg":75.5771968,"latitude_deg":11.7616176,"altitude":17,"angle":152,"satellites":35,"speed":5,"hex_longitude":"2d0c2a40","hex_latitude":"0702ae30","is_valid_coordinates":true} 
[2026-10-05 16:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546849536001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34869697014923264,"note":"Value kept but may cause issues"} 
[2026-10-05 16:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876231632610117632,"note":"Value kept but may cause issues"} 
[2026-10-05 16:40: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-10-05 16:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1791198633000,"timestamp_ms":1791198633000,"timestamp_seconds":1791198633,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc21c28"} 
[2026-10-05 16:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:40:49] 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-10-05 16:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-05 16:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":204674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":204674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":204674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546849536001,"66":14407,"37":206,"94":11008,"24":5,"16":34869697014923264,"45":876231632610117632},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 16:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546849536001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:40:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 16:40:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 16:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34869697014923264,"km_value":34869697014923.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":876231632610117632,"description":"Unknown IO ID 45"} 
[2026-10-05 16:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546849536001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":876231632610117632}} 
[2026-10-05 16:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":204674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968580,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:40:50] local.INFO: GPS data processed {"connection_id":204674,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:40:50] local.INFO: Acknowledgment sent {"connection_id":204674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:40:53] local.INFO: TCP Data received {"connection_id":204674,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc24720012d0c29c00702ac60001200a822..."} 
[2026-10-05 16:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc24720012d0c29c00702ac60001200a822..."} 
[2026-10-05 16:40:53] local.INFO: Processing buffer {"connection_id":204674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc24720012d0c29c00702ac60001200a822..."} 
[2026-10-05 16:40:53] local.INFO: Packet analysis {"connection_id":204674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc2"} 
[2026-10-05 16:40:53] local.INFO: Extracted packet for processing {"connection_id":204674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc2"} 
[2026-10-05 16:40:53] local.INFO: GPS Element Parsed {"raw_longitude":755771840,"raw_latitude":117615712,"longitude_deg":75.577184,"latitude_deg":11.7615712,"altitude":18,"angle":168,"satellites":34,"speed":3,"hex_longitude":"2d0c29c0","hex_latitude":"0702ac60","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546850048001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34869727079694336,"note":"Value kept but may cause issues"} 
[2026-10-05 16:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876583476330901504,"note":"Value kept but may cause issues"} 
[2026-10-05 16:40: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-10-05 16:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1791198644000,"timestamp_ms":1791198644000,"timestamp_seconds":1791198644,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc24720"} 
[2026-10-05 16:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:40:53] 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-10-05 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-05 16:40:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":204674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":204674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":204674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546850048001,"66":14407,"37":206,"94":11008,"24":3,"16":34869727079694336,"45":876583476330901504},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 16:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546850048001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:40:53] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 16:40:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 16:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34869727079694336,"km_value":34869727079694.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":876583476330901504,"description":"Unknown IO ID 45"} 
[2026-10-05 16:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546850048001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":876583476330901504}} 
[2026-10-05 16:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":204674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968581,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:40:53] local.INFO: GPS data processed {"connection_id":204674,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:40:53] local.INFO: Acknowledgment sent {"connection_id":204674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:40:54] local.INFO: TCP Data received {"connection_id":204799,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:40:54] local.INFO: Processing buffer {"connection_id":204799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:40:54] local.INFO: IMEI packet received {"connection_id":204799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":204799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:40:59] local.INFO: TCP Data received {"connection_id":204799,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:40:59] local.INFO: Processing buffer {"connection_id":204799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:40:59] local.INFO: IMEI packet received {"connection_id":204799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":204799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:41:01] local.INFO: TCP Data received {"connection_id":204799,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:41:01] local.INFO: Processing buffer {"connection_id":204799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:41:01] local.INFO: Packet analysis {"connection_id":204799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bbf"} 
[2026-10-05 16:41:01] local.INFO: Extracted packet for processing {"connection_id":204799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bbf"} 
[2026-10-05 16:41:01] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":48,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 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-10-05 16:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546727680001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791198456000,"timestamp_ms":1791198456000,"timestamp_seconds":1791198456,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbf68c0"} 
[2026-10-05 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-10-05 16:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 16:41: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-10-05 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-10-05 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-10-05 16:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546727680001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546727680001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:41:01] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:41:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546727680001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":204799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:41:01] local.INFO: GPS data processed {"connection_id":204799,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:41:01] local.INFO: Acknowledgment sent {"connection_id":204799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:41:25] local.INFO: TCP Data received {"connection_id":204674,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc29928012d0c23800702abd00013012723..."} 
[2026-10-05 16:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc29928012d0c23800702abd00013012723..."} 
[2026-10-05 16:41:25] local.INFO: Processing buffer {"connection_id":204674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc29928012d0c23800702abd00013012723..."} 
[2026-10-05 16:41:25] local.INFO: Packet analysis {"connection_id":204674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc2"} 
[2026-10-05 16:41:25] local.INFO: Extracted packet for processing {"connection_id":204674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc2"} 
[2026-10-05 16:41:25] local.INFO: GPS Element Parsed {"raw_longitude":755770240,"raw_latitude":117615568,"longitude_deg":75.577024,"latitude_deg":11.7615568,"altitude":19,"angle":295,"satellites":35,"speed":2,"hex_longitude":"2d0c2380","hex_latitude":"0702abd0","is_valid_coordinates":true} 
[2026-10-05 16:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546857728001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34869830158909440,"note":"Value kept but may cause issues"} 
[2026-10-05 16:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874824257726291968,"note":"Value kept but may cause issues"} 
[2026-10-05 16:41:25] 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-10-05 16:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1791198665000,"timestamp_ms":1791198665000,"timestamp_seconds":1791198665,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc29928"} 
[2026-10-05 16:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-05 16:41:25] 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-10-05 16:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":204674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":204674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":204674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546857728001,"66":14309,"37":206,"94":11008,"24":2,"16":34869830158909440,"45":874824257726291968},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 16:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546857728001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:41:25] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 16:41:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 16:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34869830158909440,"km_value":34869830158909.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":874824257726291968,"description":"Unknown IO ID 45"} 
[2026-10-05 16:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546857728001,"power":14309,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":874824257726291968}} 
[2026-10-05 16:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":204674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968583,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:41:25] local.INFO: GPS data processed {"connection_id":204674,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:41:25] local.INFO: Acknowledgment sent {"connection_id":204674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:41:32] local.INFO: TCP Data received {"connection_id":204799,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:41:32] local.INFO: Processing buffer {"connection_id":204799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:41:32] local.INFO: Packet analysis {"connection_id":204799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bbf"} 
[2026-10-05 16:41:32] local.INFO: Extracted packet for processing {"connection_id":204799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bbf"} 
[2026-10-05 16:41:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":48,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 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-10-05 16:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546727680001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791198456000,"timestamp_ms":1791198456000,"timestamp_seconds":1791198456,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbf68c0"} 
[2026-10-05 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-10-05 16:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 16:41:32] 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-10-05 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-10-05 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-10-05 16:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:41: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-10-05 16:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546727680001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546727680001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:41:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:41:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546727680001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":204799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:41:32] local.INFO: GPS data processed {"connection_id":204799,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:41:32] local.INFO: Acknowledgment sent {"connection_id":204799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:41:42] local.INFO: TCP Data received {"connection_id":206215,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206215,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:41:42] local.INFO: Processing buffer {"connection_id":206215,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:41:42] local.INFO: IMEI packet received {"connection_id":206215,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 16:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":206215,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:41:47] local.INFO: TCP Data received {"connection_id":206215,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206215,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:41:47] local.INFO: Processing buffer {"connection_id":206215,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:41:47] local.INFO: IMEI packet received {"connection_id":206215,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":206215,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:41:48] local.INFO: TCP Data received {"connection_id":206215,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc2b868012d0c20400702acd80014011b23..."} 
[2026-10-05 16:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc2b868012d0c20400702acd80014011b23..."} 
[2026-10-05 16:41:48] local.INFO: Processing buffer {"connection_id":206215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc2b868012d0c20400702acd80014011b23..."} 
[2026-10-05 16:41:48] local.INFO: Packet analysis {"connection_id":206215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc2"} 
[2026-10-05 16:41:48] local.INFO: Extracted packet for processing {"connection_id":206215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc2"} 
[2026-10-05 16:41:48] local.INFO: GPS Element Parsed {"raw_longitude":755769408,"raw_latitude":117615832,"longitude_deg":75.5769408,"latitude_deg":11.7615832,"altitude":20,"angle":283,"satellites":35,"speed":4,"hex_longitude":"2d0c2040","hex_latitude":"0702acd8","is_valid_coordinates":true} 
[2026-10-05 16:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546858240001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34869873108582400,"note":"Value kept but may cause issues"} 
[2026-10-05 16:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874683520237948928,"note":"Value kept but may cause issues"} 
[2026-10-05 16:41: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-10-05 16:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791198673000,"timestamp_ms":1791198673000,"timestamp_seconds":1791198673,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc2b868"} 
[2026-10-05 16:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-05 16:41:48] 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-10-05 16:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":206215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":206215,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":206215,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546858240001,"66":14396,"37":206,"94":11008,"24":4,"16":34869873108582400,"45":874683520237948928},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 16:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546858240001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:41:48] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 16:41:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 16:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34869873108582400,"km_value":34869873108582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":874683520237948928,"description":"Unknown IO ID 45"} 
[2026-10-05 16:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546858240001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":874683520237948928}} 
[2026-10-05 16:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":206215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968585,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:41:48] local.INFO: GPS data processed {"connection_id":206215,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:41:48] local.INFO: Acknowledgment sent {"connection_id":206215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:41:54] local.INFO: TCP Data received {"connection_id":206216,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:41:54] local.INFO: Processing buffer {"connection_id":206216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:41:54] local.INFO: IMEI packet received {"connection_id":206216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":206216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:41:59] local.INFO: TCP Data received {"connection_id":206216,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:41:59] local.INFO: Processing buffer {"connection_id":206216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:41:59] local.INFO: IMEI packet received {"connection_id":206216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":206216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:42:01] local.INFO: TCP Data received {"connection_id":206216,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:42:01] local.INFO: Processing buffer {"connection_id":206216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:42:01] local.INFO: Packet analysis {"connection_id":206216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bbf"} 
[2026-10-05 16:42:01] local.INFO: Extracted packet for processing {"connection_id":206216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bbf"} 
[2026-10-05 16:42:01] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":48,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546727680001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791198456000,"timestamp_ms":1791198456000,"timestamp_seconds":1791198456,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbf68c0"} 
[2026-10-05 16:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 16:42: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-10-05 16: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-10-05 16:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":206216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":206216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":206216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546727680001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546727680001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:42:01] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:42:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546727680001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":206216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:42:01] local.INFO: GPS data processed {"connection_id":206216,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:42:01] local.INFO: Acknowledgment sent {"connection_id":206216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:42:10] local.INFO: TCP Data received {"connection_id":204800,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:42:10] local.INFO: Processing buffer {"connection_id":204800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:42:10] local.INFO: IMEI packet received {"connection_id":204800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 16:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":204800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:42:11] local.INFO: TCP Data received {"connection_id":204800,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:42:11] local.INFO: Processing buffer {"connection_id":204800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:42:11] local.INFO: IMEI packet received {"connection_id":204800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":204800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:42:12] local.INFO: TCP Data received {"connection_id":204800,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc17fe8012d1a3cc00723c9f0002c002328..."} 
[2026-10-05 16:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc17fe8012d1a3cc00723c9f0002c002328..."} 
[2026-10-05 16:42:12] local.INFO: Processing buffer {"connection_id":204800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc17fe8012d1a3cc00723c9f0002c002328..."} 
[2026-10-05 16:42:12] local.INFO: Packet analysis {"connection_id":204800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc1"} 
[2026-10-05 16:42:12] local.INFO: Extracted packet for processing {"connection_id":204800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc1"} 
[2026-10-05 16:42:12] local.INFO: GPS Element Parsed {"raw_longitude":756694208,"raw_latitude":119785968,"longitude_deg":75.6694208,"latitude_deg":11.9785968,"altitude":44,"angle":35,"satellites":40,"speed":29,"hex_longitude":"2d1a3cc0","hex_latitude":"0723c9f0","is_valid_coordinates":true} 
[2026-10-05 16:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546838784001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25166446770257920,"note":"Value kept but may cause issues"} 
[2026-10-05 16:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1887993436951273472,"note":"Value kept but may cause issues"} 
[2026-10-05 16:42:12] 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-10-05 16:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791198593000,"timestamp_ms":1791198593000,"timestamp_seconds":1791198593,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc17fe8"} 
[2026-10-05 16:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:42:12] 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-10-05 16:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 16:42:12] 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-10-05 16:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:42:12] 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-10-05 16:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546838784001,"66":13906,"43":206,"83":42752,"24":29,"16":25166446770257920,"45":1887993436951273472},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-10-05 16:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546838784001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:42:12] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-05 16:42:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25166446770257920,"km_value":25166446770257.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1887993436951273472,"description":"Unknown IO ID 45"} 
[2026-10-05 16:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546838784001,"power":13906,"unknown_43":206,"unknown_83":42752,"ignition":29,"odometer":null,"unknown_45":1887993436951273472}} 
[2026-10-05 16:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":204800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:42:12] local.INFO: GPS data processed {"connection_id":204800,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:42:12] local.INFO: Acknowledgment sent {"connection_id":204800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:42:15] local.INFO: TCP Data received {"connection_id":204800,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc1aec8012d1a4f800723e778002c001e29..."} 
[2026-10-05 16:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc1aec8012d1a4f800723e778002c001e29..."} 
[2026-10-05 16:42:15] local.INFO: Processing buffer {"connection_id":204800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc1aec8012d1a4f800723e778002c001e29..."} 
[2026-10-05 16:42:15] local.INFO: Packet analysis {"connection_id":204800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc1"} 
[2026-10-05 16:42:15] local.INFO: Extracted packet for processing {"connection_id":204800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc1"} 
[2026-10-05 16:42:15] local.INFO: GPS Element Parsed {"raw_longitude":756699008,"raw_latitude":119793528,"longitude_deg":75.6699008,"latitude_deg":11.9793528,"altitude":44,"angle":30,"satellites":41,"speed":36,"hex_longitude":"2d1a4f80","hex_latitude":"0723e778","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546839808001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25166880561954816,"note":"Value kept but may cause issues"} 
[2026-10-05 16:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890597080486506496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:42:15] 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-10-05 16:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791198605000,"timestamp_ms":1791198605000,"timestamp_seconds":1791198605,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc1aec8"} 
[2026-10-05 16:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:42: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-10-05 16: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 16:42:15] 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-10-05 16:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546839808001,"66":13820,"43":206,"83":42752,"24":36,"16":25166880561954816,"45":1890597080486506496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-10-05 16:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546839808001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:42:15] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-05 16:42:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25166880561954816,"km_value":25166880561954.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890597080486506496,"description":"Unknown IO ID 45"} 
[2026-10-05 16:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546839808001,"power":13820,"unknown_43":206,"unknown_83":42752,"ignition":36,"odometer":null,"unknown_45":1890597080486506496}} 
[2026-10-05 16:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":204800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:42:15] local.INFO: GPS data processed {"connection_id":204800,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:42:15] local.INFO: Acknowledgment sent {"connection_id":204800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:42:19] local.INFO: TCP Data received {"connection_id":206215,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc2cfd8012d0c1cc00702ad900015010e23..."} 
[2026-10-05 16:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc2cfd8012d0c1cc00702ad900015010e23..."} 
[2026-10-05 16:42:19] local.INFO: Processing buffer {"connection_id":206215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc2cfd8012d0c1cc00702ad900015010e23..."} 
[2026-10-05 16:42:19] local.INFO: Packet analysis {"connection_id":206215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc2"} 
[2026-10-05 16:42:19] local.INFO: Extracted packet for processing {"connection_id":206215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc2"} 
[2026-10-05 16:42:19] local.INFO: GPS Element Parsed {"raw_longitude":755768512,"raw_latitude":117616016,"longitude_deg":75.5768512,"latitude_deg":11.7616016,"altitude":21,"angle":270,"satellites":35,"speed":5,"hex_longitude":"2d0c1cc0","hex_latitude":"0702ad90","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546860288001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34869916058255360,"note":"Value kept but may cause issues"} 
[2026-10-05 16:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873768726563706880,"note":"Value kept but may cause issues"} 
[2026-10-05 16:42:19] 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-10-05 16:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791198679000,"timestamp_ms":1791198679000,"timestamp_seconds":1791198679,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc2cfd8"} 
[2026-10-05 16:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-05 16:42: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-10-05 16: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-10-05 16:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":206215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":206215,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":206215,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546860288001,"66":14428,"37":206,"94":11008,"24":5,"16":34869916058255360,"45":873768726563706880},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 16:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546860288001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:42:19] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 16:42:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 16:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34869916058255360,"km_value":34869916058255.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":873768726563706880,"description":"Unknown IO ID 45"} 
[2026-10-05 16:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546860288001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":873768726563706880}} 
[2026-10-05 16:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":206215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968589,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:42:19] local.INFO: GPS data processed {"connection_id":206215,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:42:19] local.INFO: Acknowledgment sent {"connection_id":206215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:42:32] local.INFO: TCP Data received {"connection_id":206216,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:42:32] local.INFO: Processing buffer {"connection_id":206216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:42:32] local.INFO: Packet analysis {"connection_id":206216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bbf"} 
[2026-10-05 16:42:32] local.INFO: Extracted packet for processing {"connection_id":206216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bbf"} 
[2026-10-05 16:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":48,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:42: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-10-05 16:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546727680001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791198456000,"timestamp_ms":1791198456000,"timestamp_seconds":1791198456,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbf68c0"} 
[2026-10-05 16:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 16:42:32] 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-10-05 16:42: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-10-05 16:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546727680001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546727680001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:42:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:42:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546727680001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":206216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:42:32] local.INFO: GPS data processed {"connection_id":206216,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:42:32] local.INFO: Acknowledgment sent {"connection_id":206216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:42:42] local.INFO: TCP Data received {"connection_id":204678,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204678,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:42:42] local.INFO: Processing buffer {"connection_id":204678,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:42:42] local.INFO: IMEI packet received {"connection_id":204678,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 16:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":204678,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:42:42] local.INFO: TCP Data received {"connection_id":204678,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204678,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:42:42] local.INFO: Processing buffer {"connection_id":204678,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:42:42] local.INFO: IMEI packet received {"connection_id":204678,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":204678,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:42:47] local.INFO: TCP Data received {"connection_id":204800,"ip":"42.106.6.15","data_length":93,"data_hex":"00000000000000518e01000001a10bc35890012d1b42000724ad90002a002d2d..."} 
[2026-10-05 16:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204800,"packet_length":93,"packet_hex":"00000000000000518e01000001a10bc35890012d1b42000724ad90002a002d2d..."} 
[2026-10-05 16:42:47] local.INFO: Processing buffer {"connection_id":204800,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a10bc35890012d1b42000724ad90002a002d2d..."} 
[2026-10-05 16:42:47] local.INFO: Packet analysis {"connection_id":204800,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a10bc3"} 
[2026-10-05 16:42:47] local.INFO: Extracted packet for processing {"connection_id":204800,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a10bc3"} 
[2026-10-05 16:42:47] local.INFO: GPS Element Parsed {"raw_longitude":756761088,"raw_latitude":119844240,"longitude_deg":75.6761088,"latitude_deg":11.984424,"altitude":42,"angle":45,"satellites":45,"speed":27,"hex_longitude":"2d1b4200","hex_latitude":"0724ad90","is_valid_coordinates":true} 
[2026-10-05 16:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-10-05 16:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:42:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:42:47] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-10-05 16:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":204800,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-10-05 16:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":204800,"device_imei":"862567074811360","avl_records_count":0} 
[2026-10-05 16:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":204800,"device_imei":"862567074811360","avl_records_count":0} 
[2026-10-05 16:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":0,"parser_version":"unknown"} 
[2026-10-05 16:42:47] local.WARNING: DEBUG: No valid data to process  
[2026-10-05 16:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":204800,"result":{"success":false,"message":"No valid data to process"}} 
[2026-10-05 16:42:47] local.ERROR: GPS data processing failed {"connection_id":204800,"error":"No valid data to process"} 
[2026-10-05 16:42:47] local.INFO: Acknowledgment sent {"connection_id":204800,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-10-05 16:42:47] local.INFO: TCP Data received {"connection_id":204678,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204678,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:42:47] local.INFO: Processing buffer {"connection_id":204678,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:42:47] local.INFO: IMEI packet received {"connection_id":204678,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":204678,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:42:48] local.INFO: TCP Data received {"connection_id":204678,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc3dd60012d0be9000702a2880011010f22..."} 
[2026-10-05 16:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc3dd60012d0be9000702a2880011010f22..."} 
[2026-10-05 16:42:48] local.INFO: Processing buffer {"connection_id":204678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc3dd60012d0be9000702a2880011010f22..."} 
[2026-10-05 16:42:48] local.INFO: Packet analysis {"connection_id":204678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc3"} 
[2026-10-05 16:42:48] local.INFO: Extracted packet for processing {"connection_id":204678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc3"} 
[2026-10-05 16:42:48] local.INFO: GPS Element Parsed {"raw_longitude":755755264,"raw_latitude":117613192,"longitude_deg":75.5755264,"latitude_deg":11.7613192,"altitude":17,"angle":271,"satellites":34,"speed":8,"hex_longitude":"2d0be900","hex_latitude":"0702a288","is_valid_coordinates":true} 
[2026-10-05 16:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546877696001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34870590368120832,"note":"Value kept but may cause issues"} 
[2026-10-05 16:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":860539402657519616,"note":"Value kept but may cause issues"} 
[2026-10-05 16:42: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-10-05 16:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791198748000,"timestamp_ms":1791198748000,"timestamp_seconds":1791198748,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc3dd60"} 
[2026-10-05 16:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-05 16:42: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-10-05 16:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204678,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204678,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546877696001,"66":14450,"37":206,"94":11008,"24":8,"16":34870590368120832,"45":860539402657519616},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 16:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546877696001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:42:48] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 16:42:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 16:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34870590368120832,"km_value":34870590368120.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":860539402657519616,"description":"Unknown IO ID 45"} 
[2026-10-05 16:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546877696001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":860539402657519616}} 
[2026-10-05 16:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":204678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968591,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:42:48] local.INFO: GPS data processed {"connection_id":204678,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:42:48] local.INFO: Acknowledgment sent {"connection_id":204678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:42:54] local.INFO: TCP Data received {"connection_id":207747,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:42:54] local.INFO: Processing buffer {"connection_id":207747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:42:54] local.INFO: IMEI packet received {"connection_id":207747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":207747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:42:59] local.INFO: TCP Data received {"connection_id":207747,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:42:59] local.INFO: Processing buffer {"connection_id":207747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:42:59] local.INFO: IMEI packet received {"connection_id":207747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":207747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:43:00] local.INFO: TCP Data received {"connection_id":207747,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:43:00] local.INFO: Processing buffer {"connection_id":207747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bbf68c0012d80b3c00602ac50001400cf30..."} 
[2026-10-05 16:43:00] local.INFO: Packet analysis {"connection_id":207747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bbf"} 
[2026-10-05 16:43:00] local.INFO: Extracted packet for processing {"connection_id":207747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bbf"} 
[2026-10-05 16:43:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":48,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546727680001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791198456000,"timestamp_ms":1791198456000,"timestamp_seconds":1791198456,"priority":1,"record_length":96,"hex_timestamp":"000001a10bbf68c0"} 
[2026-10-05 16:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 16:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:43:00] 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-10-05 16:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546727680001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546727680001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:43:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:43:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546727680001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":207747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:43:00] local.INFO: GPS data processed {"connection_id":207747,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:43:00] local.INFO: Acknowledgment sent {"connection_id":207747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:43:12] local.INFO: TCP Data received {"connection_id":206217,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:43:12] local.INFO: Processing buffer {"connection_id":206217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:43:12] local.INFO: IMEI packet received {"connection_id":206217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 16:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":206217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:43:13] local.INFO: TCP Data received {"connection_id":206217,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:43:13] local.INFO: Processing buffer {"connection_id":206217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:43:13] local.INFO: IMEI packet received {"connection_id":206217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":206217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:43:15] local.INFO: TCP Data received {"connection_id":206217,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:43:15] local.INFO: Processing buffer {"connection_id":206217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:43:15] local.INFO: IMEI packet received {"connection_id":206217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":206217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:43:19] local.INFO: TCP Data received {"connection_id":204678,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc3ed00012d0be5800702a2b00010011f22..."} 
[2026-10-05 16:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc3ed00012d0be5800702a2b00010011f22..."} 
[2026-10-05 16:43:19] local.INFO: Processing buffer {"connection_id":204678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc3ed00012d0be5800702a2b00010011f22..."} 
[2026-10-05 16:43:19] local.INFO: Packet analysis {"connection_id":204678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc3"} 
[2026-10-05 16:43:19] local.INFO: Extracted packet for processing {"connection_id":204678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc3"} 
[2026-10-05 16:43:19] local.INFO: GPS Element Parsed {"raw_longitude":755754368,"raw_latitude":117613232,"longitude_deg":75.5754368,"latitude_deg":11.7613232,"altitude":16,"angle":287,"satellites":34,"speed":10,"hex_longitude":"2d0be580","hex_latitude":"0702a2b0","is_valid_coordinates":true} 
[2026-10-05 16:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546879488001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34870629022826496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":858217234099767296,"note":"Value kept but may cause issues"} 
[2026-10-05 16:43:19] 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-10-05 16:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791198752000,"timestamp_ms":1791198752000,"timestamp_seconds":1791198752,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc3ed00"} 
[2026-10-05 16:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-05 16:43:19] 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-10-05 16:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":204678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":204678,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":204678,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546879488001,"66":14428,"37":206,"94":11008,"24":10,"16":34870629022826496,"45":858217234099767296},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 16:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546879488001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:43:19] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 16:43:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 16:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34870629022826496,"km_value":34870629022826.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":858217234099767296,"description":"Unknown IO ID 45"} 
[2026-10-05 16:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546879488001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":858217234099767296}} 
[2026-10-05 16:43:20] local.INFO: TCP Data received {"connection_id":206217,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:43:20] local.INFO: Processing buffer {"connection_id":206217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:43:20] local.INFO: IMEI packet received {"connection_id":206217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":206217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":204678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968593,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:43:20] local.INFO: GPS data processed {"connection_id":204678,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:43:20] local.INFO: Acknowledgment sent {"connection_id":204678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:43:21] local.INFO: TCP Data received {"connection_id":206217,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc37bb8012d1b54400724bfb0002b001a2d..."} 
[2026-10-05 16:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc37bb8012d1b54400724bfb0002b001a2d..."} 
[2026-10-05 16:43:21] local.INFO: Processing buffer {"connection_id":206217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc37bb8012d1b54400724bfb0002b001a2d..."} 
[2026-10-05 16:43:21] local.INFO: Packet analysis {"connection_id":206217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc3"} 
[2026-10-05 16:43:21] local.INFO: Extracted packet for processing {"connection_id":206217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc3"} 
[2026-10-05 16:43:21] local.INFO: GPS Element Parsed {"raw_longitude":756765760,"raw_latitude":119848880,"longitude_deg":75.676576,"latitude_deg":11.984888,"altitude":43,"angle":26,"satellites":45,"speed":34,"hex_longitude":"2d1b5440","hex_latitude":"0724bfb0","is_valid_coordinates":true} 
[2026-10-05 16:43: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-10-05 16:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546870784001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964132418167083008,"note":"Value kept but may cause issues"} 
[2026-10-05 16:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25171123989643264,"note":"Value kept but may cause issues"} 
[2026-10-05 16:43:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 16:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791198723000,"timestamp_ms":1791198723000,"timestamp_seconds":1791198723,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc37bb8"} 
[2026-10-05 16:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:43: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":27,"data_length":795,"current_offset":136} 
[2026-10-05 16:43:21] 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-10-05 16:43: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-10-05 16:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":206217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":206217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":206217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546870784001,"66":14004,"45":1964132418167083008,"83":41984,"24":34,"16":25171123989643264},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-10-05 16:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546870784001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964132418167083008,"description":"Unknown IO ID 45"} 
[2026-10-05 16:43:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 16:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25171123989643264,"km_value":25171123989643.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:43:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458546870784001,"power":14004,"unknown_45":1964132418167083008,"unknown_83":41984,"ignition":34,"odometer":null}} 
[2026-10-05 16:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":206217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:43:21] local.INFO: GPS data processed {"connection_id":206217,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:43:21] local.INFO: Acknowledgment sent {"connection_id":206217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:43:31] local.INFO: TCP Data received {"connection_id":207747,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:43:31] local.INFO: Processing buffer {"connection_id":207747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:43:31] local.INFO: Packet analysis {"connection_id":207747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc4"} 
[2026-10-05 16:43:31] local.INFO: Extracted packet for processing {"connection_id":207747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc4"} 
[2026-10-05 16:43:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546804736001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791198757000,"timestamp_ms":1791198757000,"timestamp_seconds":1791198757,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc40088"} 
[2026-10-05 16:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 16:43:31] 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-10-05 16: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-10-05 16:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546804736001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546804736001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:43:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:43:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546804736001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":207747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:43:31] local.INFO: GPS data processed {"connection_id":207747,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:43:31] local.INFO: Acknowledgment sent {"connection_id":207747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:43:41] local.INFO: TCP Data received {"connection_id":204679,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:43:41] local.INFO: Processing buffer {"connection_id":204679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:43:41] local.INFO: IMEI packet received {"connection_id":204679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":204679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:43:43] local.INFO: TCP Data received {"connection_id":204679,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc0dfc0012d7a26c005e46830000c013a29..."} 
[2026-10-05 16:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc0dfc0012d7a26c005e46830000c013a29..."} 
[2026-10-05 16:43:43] local.INFO: Processing buffer {"connection_id":204679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc0dfc0012d7a26c005e46830000c013a29..."} 
[2026-10-05 16:43:43] local.INFO: Packet analysis {"connection_id":204679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc0"} 
[2026-10-05 16:43:43] local.INFO: Extracted packet for processing {"connection_id":204679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc0"} 
[2026-10-05 16:43:43] local.INFO: GPS Element Parsed {"raw_longitude":762980032,"raw_latitude":98854960,"longitude_deg":76.2980032,"latitude_deg":9.885496,"altitude":12,"angle":314,"satellites":41,"speed":9,"hex_longitude":"2d7a26c0","hex_latitude":"05e46830","is_valid_coordinates":true} 
[2026-10-05 16:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546827520001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756255831916544,"note":"Value kept but may cause issues"} 
[2026-10-05 16:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803129921932105728,"note":"Value kept but may cause issues"} 
[2026-10-05 16:43:43] 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-10-05 16:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791198552000,"timestamp_ms":1791198552000,"timestamp_seconds":1791198552,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc0dfc0"} 
[2026-10-05 16:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:43: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-10-05 16:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-05 16:43:43] 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-10-05 16:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546827520001,"66":13559,"208":206,"85":15104,"24":9,"16":139756255831916544,"45":8803129921932105728},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546827520001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:43:43] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:43:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756255831916544,"km_value":139756255831916.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803129921932105728,"description":"Unknown IO ID 45"} 
[2026-10-05 16:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546827520001,"power":13559,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8803129921932105728}} 
[2026-10-05 16:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":204679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968596,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:43:43] local.INFO: GPS data processed {"connection_id":204679,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:43:43] local.INFO: Acknowledgment sent {"connection_id":204679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:43:44] local.INFO: TCP Data received {"connection_id":204680,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204680,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:43:44] local.INFO: Processing buffer {"connection_id":204680,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:43:44] local.INFO: IMEI packet received {"connection_id":204680,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 16:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":204680,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:43:47] local.INFO: TCP Data received {"connection_id":204680,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204680,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:43:47] local.INFO: Processing buffer {"connection_id":204680,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:43:47] local.INFO: IMEI packet received {"connection_id":204680,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":204680,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:43:48] local.INFO: TCP Data received {"connection_id":204680,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc41028012d0bdd000702a470000d011422..."} 
[2026-10-05 16:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc41028012d0bdd000702a470000d011422..."} 
[2026-10-05 16:43:48] local.INFO: Processing buffer {"connection_id":204680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc41028012d0bdd000702a470000d011422..."} 
[2026-10-05 16:43:48] local.INFO: Packet analysis {"connection_id":204680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc4"} 
[2026-10-05 16:43:48] local.INFO: Extracted packet for processing {"connection_id":204680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc4"} 
[2026-10-05 16:43:48] local.INFO: GPS Element Parsed {"raw_longitude":755752192,"raw_latitude":117613680,"longitude_deg":75.5752192,"latitude_deg":11.761368,"altitude":13,"angle":276,"satellites":34,"speed":7,"hex_longitude":"2d0bdd00","hex_latitude":"0702a470","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546880512001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34870736397008896,"note":"Value kept but may cause issues"} 
[2026-10-05 16:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":857232071681290240,"note":"Value kept but may cause issues"} 
[2026-10-05 16:43: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-10-05 16:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791198761000,"timestamp_ms":1791198761000,"timestamp_seconds":1791198761,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc41028"} 
[2026-10-05 16:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 16:43: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-10-05 16: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-10-05 16:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204680,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204680,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546880512001,"66":14461,"37":206,"94":11008,"24":7,"16":34870736397008896,"45":857232071681290240},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 16:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546880512001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:43:48] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 16:43:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 16:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34870736397008896,"km_value":34870736397008.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":857232071681290240,"description":"Unknown IO ID 45"} 
[2026-10-05 16:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546880512001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":857232071681290240}} 
[2026-10-05 16:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":204680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968597,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:43:48] local.INFO: GPS data processed {"connection_id":204680,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:43:48] local.INFO: Acknowledgment sent {"connection_id":204680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:43:50] local.INFO: TCP Data received {"connection_id":204680,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc423b0012d0bd8400702a448000b010822..."} 
[2026-10-05 16:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc423b0012d0bd8400702a448000b010822..."} 
[2026-10-05 16:43:50] local.INFO: Processing buffer {"connection_id":204680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc423b0012d0bd8400702a448000b010822..."} 
[2026-10-05 16:43:50] local.INFO: Packet analysis {"connection_id":204680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc4"} 
[2026-10-05 16:43:50] local.INFO: Extracted packet for processing {"connection_id":204680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc4"} 
[2026-10-05 16:43:50] local.INFO: GPS Element Parsed {"raw_longitude":755750976,"raw_latitude":117613640,"longitude_deg":75.5750976,"latitude_deg":11.761364,"altitude":11,"angle":264,"satellites":34,"speed":11,"hex_longitude":"2d0bd840","hex_latitude":"0702a448","is_valid_coordinates":true} 
[2026-10-05 16:43: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-10-05 16:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546882816001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34870796526551040,"note":"Value kept but may cause issues"} 
[2026-10-05 16:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":854839534379364352,"note":"Value kept but may cause issues"} 
[2026-10-05 16:43: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-10-05 16:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1791198766000,"timestamp_ms":1791198766000,"timestamp_seconds":1791198766,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc423b0"} 
[2026-10-05 16:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:43: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":125,"data_length":795,"current_offset":136} 
[2026-10-05 16:43:50] 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-10-05 16:43: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-10-05 16:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":204680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":204680,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":204680,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546882816001,"66":14624,"37":206,"94":11008,"24":11,"16":34870796526551040,"45":854839534379364352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 16:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546882816001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:43:50] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 16:43:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 16:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34870796526551040,"km_value":34870796526551.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":854839534379364352,"description":"Unknown IO ID 45"} 
[2026-10-05 16:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546882816001,"power":14624,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":854839534379364352}} 
[2026-10-05 16:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":204680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968598,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:43:50] local.INFO: GPS data processed {"connection_id":204680,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:43:50] local.INFO: Acknowledgment sent {"connection_id":204680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:43:54] local.INFO: TCP Data received {"connection_id":206218,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:43:54] local.INFO: Processing buffer {"connection_id":206218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:43:54] local.INFO: IMEI packet received {"connection_id":206218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":206218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:43:59] local.INFO: TCP Data received {"connection_id":206218,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:43:59] local.INFO: Processing buffer {"connection_id":206218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:43:59] local.INFO: IMEI packet received {"connection_id":206218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":206218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:44:00] local.INFO: TCP Data received {"connection_id":206218,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:44:00] local.INFO: Processing buffer {"connection_id":206218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:44:00] local.INFO: Packet analysis {"connection_id":206218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc4"} 
[2026-10-05 16:44:00] local.INFO: Extracted packet for processing {"connection_id":206218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc4"} 
[2026-10-05 16:44:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546804736001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791198757000,"timestamp_ms":1791198757000,"timestamp_seconds":1791198757,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc40088"} 
[2026-10-05 16:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 16:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546804736001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546804736001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:44:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:44:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546804736001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":206218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:44:00] local.INFO: GPS data processed {"connection_id":206218,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:44:00] local.INFO: Acknowledgment sent {"connection_id":206218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:44:05] local.INFO: TCP Data received {"connection_id":204801,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:44:05] local.INFO: Processing buffer {"connection_id":204801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:44:05] local.INFO: IMEI packet received {"connection_id":204801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 16:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":204801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:44:10] local.INFO: TCP Data received {"connection_id":204801,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:44:10] local.INFO: Processing buffer {"connection_id":204801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:44:10] local.INFO: IMEI packet received {"connection_id":204801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":204801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:44:11] local.INFO: TCP Data received {"connection_id":204801,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc38388012d1b56800724c590002b000f2b..."} 
[2026-10-05 16:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc38388012d1b56800724c590002b000f2b..."} 
[2026-10-05 16:44:11] local.INFO: Processing buffer {"connection_id":204801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc38388012d1b56800724c590002b000f2b..."} 
[2026-10-05 16:44:11] local.INFO: Packet analysis {"connection_id":204801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc3"} 
[2026-10-05 16:44:11] local.INFO: Extracted packet for processing {"connection_id":204801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc3"} 
[2026-10-05 16:44:11] local.INFO: GPS Element Parsed {"raw_longitude":756766336,"raw_latitude":119850384,"longitude_deg":75.6766336,"latitude_deg":11.9850384,"altitude":43,"angle":15,"satellites":43,"speed":31,"hex_longitude":"2d1b5680","hex_latitude":"0724c590","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546873088001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969269336493240320,"note":"Value kept but may cause issues"} 
[2026-10-05 16:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25171201299054592,"note":"Value kept but may cause issues"} 
[2026-10-05 16:44:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 16:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791198725000,"timestamp_ms":1791198725000,"timestamp_seconds":1791198725,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc38388"} 
[2026-10-05 16:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-10-05 16:44:11] 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-10-05 16: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-10-05 16:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:44:11] 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-10-05 16:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546873088001,"66":13972,"45":1969269336493240320,"83":41984,"24":31,"16":25171201299054592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-10-05 16:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546873088001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969269336493240320,"description":"Unknown IO ID 45"} 
[2026-10-05 16:44:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 16:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25171201299054592,"km_value":25171201299054.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:44:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458546873088001,"power":13972,"unknown_45":1969269336493240320,"unknown_83":41984,"ignition":31,"odometer":null}} 
[2026-10-05 16:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":204801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:44:11] local.INFO: GPS data processed {"connection_id":204801,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:44:11] local.INFO: Acknowledgment sent {"connection_id":204801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:44:17] local.INFO: TCP Data received {"connection_id":204679,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc0e3a8012d7a260005e468b8000b012929..."} 
[2026-10-05 16:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc0e3a8012d7a260005e468b8000b012929..."} 
[2026-10-05 16:44:17] local.INFO: Processing buffer {"connection_id":204679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc0e3a8012d7a260005e468b8000b012929..."} 
[2026-10-05 16:44:17] local.INFO: Packet analysis {"connection_id":204679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc0"} 
[2026-10-05 16:44:17] local.INFO: Extracted packet for processing {"connection_id":204679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc0"} 
[2026-10-05 16:44:17] local.INFO: GPS Element Parsed {"raw_longitude":762979840,"raw_latitude":98855096,"longitude_deg":76.297984,"latitude_deg":9.8855096,"altitude":11,"angle":297,"satellites":41,"speed":10,"hex_longitude":"2d7a2600","hex_latitude":"05e468b8","is_valid_coordinates":true} 
[2026-10-05 16:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546829312001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756268716818432,"note":"Value kept but may cause issues"} 
[2026-10-05 16:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801933653281615872,"note":"Value kept but may cause issues"} 
[2026-10-05 16:44:17] 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-10-05 16:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791198553000,"timestamp_ms":1791198553000,"timestamp_seconds":1791198553,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc0e3a8"} 
[2026-10-05 16:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-05 16:44:17] 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-10-05 16:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":204679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":204679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":204679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546829312001,"66":13559,"208":206,"85":15104,"24":10,"16":139756268716818432,"45":8801933653281615872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546829312001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:44:17] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:44:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756268716818432,"km_value":139756268716818.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801933653281615872,"description":"Unknown IO ID 45"} 
[2026-10-05 16:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546829312001,"power":13559,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8801933653281615872}} 
[2026-10-05 16:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":204679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:44:17] local.INFO: GPS data processed {"connection_id":204679,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:44:17] local.INFO: Acknowledgment sent {"connection_id":204679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:44:21] local.INFO: TCP Data received {"connection_id":204680,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc45290012d0bcc000702a2b8000800fc22..."} 
[2026-10-05 16:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc45290012d0bcc000702a2b8000800fc22..."} 
[2026-10-05 16:44:21] local.INFO: Processing buffer {"connection_id":204680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc45290012d0bcc000702a2b8000800fc22..."} 
[2026-10-05 16:44:21] local.INFO: Packet analysis {"connection_id":204680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc4"} 
[2026-10-05 16:44:21] local.INFO: Extracted packet for processing {"connection_id":204680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc4"} 
[2026-10-05 16:44:21] local.INFO: GPS Element Parsed {"raw_longitude":755747840,"raw_latitude":117613240,"longitude_deg":75.574784,"latitude_deg":11.761324,"altitude":8,"angle":252,"satellites":34,"speed":12,"hex_longitude":"2d0bcc00","hex_latitude":"0702a2b8","is_valid_coordinates":true} 
[2026-10-05 16:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546884096001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":34870946850406400,"note":"Value kept but may cause issues"} 
[2026-10-05 16:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":853502528239978496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:44: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-10-05 16:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791198778000,"timestamp_ms":1791198778000,"timestamp_seconds":1791198778,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc45290"} 
[2026-10-05 16:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-10-05 16:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":771,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":204680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":204680,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":204680,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-05 16:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-05 16:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-05 16:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546884096001,"66":14450,"37":206,"94":11008,"24":12,"16":34870946850406400,"45":853502528239978496},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-05 16:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-05 16:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-05 16:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546884096001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:44:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 16:44:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-05 16:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":34870946850406400,"km_value":34870946850406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":853502528239978496,"description":"Unknown IO ID 45"} 
[2026-10-05 16:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546884096001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":853502528239978496}} 
[2026-10-05 16:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":204680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968602,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:44:21] local.INFO: GPS data processed {"connection_id":204680,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:44:21] local.INFO: Acknowledgment sent {"connection_id":204680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:44:30] local.INFO: TCP Data received {"connection_id":204802,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204802,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:44:30] local.INFO: Processing buffer {"connection_id":204802,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:44:30] local.INFO: IMEI packet received {"connection_id":204802,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":204802,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:44:31] local.INFO: TCP Data received {"connection_id":206218,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:44:31] local.INFO: Processing buffer {"connection_id":206218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:44:31] local.INFO: Packet analysis {"connection_id":206218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc4"} 
[2026-10-05 16:44:31] local.INFO: Extracted packet for processing {"connection_id":206218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc4"} 
[2026-10-05 16:44:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546804736001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791198757000,"timestamp_ms":1791198757000,"timestamp_seconds":1791198757,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc40088"} 
[2026-10-05 16:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 16:44:31] 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-10-05 16:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546804736001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546804736001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:44:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:44:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546804736001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":206218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:44:31] local.INFO: GPS data processed {"connection_id":206218,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:44:31] local.INFO: Acknowledgment sent {"connection_id":206218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:44:36] local.INFO: TCP Data received {"connection_id":204802,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204802,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:44:36] local.INFO: Processing buffer {"connection_id":204802,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:44:36] local.INFO: IMEI packet received {"connection_id":204802,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":204802,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:44:37] local.INFO: TCP Data received {"connection_id":204802,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc0e790012d7a250005e46918000a013628..."} 
[2026-10-05 16:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc0e790012d7a250005e46918000a013628..."} 
[2026-10-05 16:44:37] local.INFO: Processing buffer {"connection_id":204802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc0e790012d7a250005e46918000a013628..."} 
[2026-10-05 16:44:37] local.INFO: Packet analysis {"connection_id":204802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc0"} 
[2026-10-05 16:44:37] local.INFO: Extracted packet for processing {"connection_id":204802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc0"} 
[2026-10-05 16:44:37] local.INFO: GPS Element Parsed {"raw_longitude":762979584,"raw_latitude":98855192,"longitude_deg":76.2979584,"latitude_deg":9.8855192,"altitude":10,"angle":310,"satellites":40,"speed":8,"hex_longitude":"2d7a2500","hex_latitude":"05e46918","is_valid_coordinates":true} 
[2026-10-05 16:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546829568001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756277306753024,"note":"Value kept but may cause issues"} 
[2026-10-05 16:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801722547049117696,"note":"Value kept but may cause issues"} 
[2026-10-05 16:44: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-10-05 16:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791198554000,"timestamp_ms":1791198554000,"timestamp_seconds":1791198554,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc0e790"} 
[2026-10-05 16:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:44: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-10-05 16:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-05 16:44: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-10-05 16:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:44:37] 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-10-05 16:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546829568001,"66":13559,"208":206,"85":15104,"24":8,"16":139756277306753024,"45":8801722547049117696},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546829568001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:44:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:44:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756277306753024,"km_value":139756277306753.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801722547049117696,"description":"Unknown IO ID 45"} 
[2026-10-05 16:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546829568001,"power":13559,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8801722547049117696}} 
[2026-10-05 16:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":204802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:44:37] local.INFO: GPS data processed {"connection_id":204802,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:44:37] local.INFO: Acknowledgment sent {"connection_id":204802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:44:41] local.INFO: TCP Data received {"connection_id":207750,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207750,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:44:41] local.INFO: Processing buffer {"connection_id":207750,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:44:41] local.INFO: IMEI packet received {"connection_id":207750,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-05 16:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":207750,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:44:42] local.INFO: TCP Data received {"connection_id":204801,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc53520012d1b6f400724b568002600a126..."} 
[2026-10-05 16:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc53520012d1b6f400724b568002600a126..."} 
[2026-10-05 16:44:42] local.INFO: Processing buffer {"connection_id":204801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc53520012d1b6f400724b568002600a126..."} 
[2026-10-05 16:44:42] local.INFO: Packet analysis {"connection_id":204801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc5"} 
[2026-10-05 16:44:42] local.INFO: Extracted packet for processing {"connection_id":204801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc5"} 
[2026-10-05 16:44:42] local.INFO: GPS Element Parsed {"raw_longitude":756772672,"raw_latitude":119846248,"longitude_deg":75.6772672,"latitude_deg":11.9846248,"altitude":38,"angle":161,"satellites":38,"speed":11,"hex_longitude":"2d1b6f40","hex_latitude":"0724b568","is_valid_coordinates":true} 
[2026-10-05 16:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546901504001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25172476904341504,"note":"Value kept but may cause issues"} 
[2026-10-05 16:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976587685887162368,"note":"Value kept but may cause issues"} 
[2026-10-05 16:44:42] 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-10-05 16:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791198836000,"timestamp_ms":1791198836000,"timestamp_seconds":1791198836,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc53520"} 
[2026-10-05 16:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:44: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-10-05 16:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 16:44: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-10-05 16:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:44: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-10-05 16:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546901504001,"66":14265,"136":206,"83":42752,"24":11,"16":25172476904341504,"45":1976587685887162368},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-10-05 16:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546901504001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:44:42] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-10-05 16:44:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25172476904341504,"km_value":25172476904341.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976587685887162368,"description":"Unknown IO ID 45"} 
[2026-10-05 16:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546901504001,"power":14265,"unknown_136":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1976587685887162368}} 
[2026-10-05 16:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":204801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:44:42] local.INFO: GPS data processed {"connection_id":204801,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:44:42] local.INFO: Acknowledgment sent {"connection_id":204801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:44:42] local.INFO: TCP Data received {"connection_id":207750,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207750,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:44:42] local.INFO: Processing buffer {"connection_id":207750,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:44:42] local.INFO: IMEI packet received {"connection_id":207750,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":207750,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:44:43] local.INFO: TCP Data received {"connection_id":207750,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207750,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:44:43] local.INFO: Processing buffer {"connection_id":207750,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:44:43] local.INFO: IMEI packet received {"connection_id":207750,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":207750,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:44:45] local.INFO: TCP Data received {"connection_id":207750,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207750,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:44:45] local.INFO: Processing buffer {"connection_id":207750,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-05 16:44:45] local.INFO: IMEI packet received {"connection_id":207750,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-05 16:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":207750,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:44:54] local.INFO: TCP Data received {"connection_id":207749,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207749,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:44:54] local.INFO: Processing buffer {"connection_id":207749,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:44:54] local.INFO: IMEI packet received {"connection_id":207749,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 16:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":207749,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:44:54] local.INFO: TCP Data received {"connection_id":206219,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:44:54] local.INFO: Processing buffer {"connection_id":206219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:44:54] local.INFO: IMEI packet received {"connection_id":206219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":206219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:44:59] local.INFO: TCP Data received {"connection_id":206219,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:44:59] local.INFO: Processing buffer {"connection_id":206219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:44:59] local.INFO: IMEI packet received {"connection_id":206219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":206219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:45:00] local.INFO: TCP Data received {"connection_id":206219,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:45:00] local.INFO: Processing buffer {"connection_id":206219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:45:00] local.INFO: Packet analysis {"connection_id":206219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc4"} 
[2026-10-05 16:45:00] local.INFO: Extracted packet for processing {"connection_id":206219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc4"} 
[2026-10-05 16:45:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546804736001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791198757000,"timestamp_ms":1791198757000,"timestamp_seconds":1791198757,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc40088"} 
[2026-10-05 16:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 16:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:45: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-10-05 16:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546804736001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546804736001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:45:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:45:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546804736001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":206219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:45:00] local.INFO: GPS data processed {"connection_id":206219,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:45:00] local.INFO: Acknowledgment sent {"connection_id":206219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:45:05] local.INFO: TCP Data received {"connection_id":207751,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:45:05] local.INFO: Processing buffer {"connection_id":207751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:45:05] local.INFO: IMEI packet received {"connection_id":207751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 16:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":207751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:45:09] local.INFO: TCP Data received {"connection_id":204802,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc0eb78012d7a248005e46990000a014529..."} 
[2026-10-05 16:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc0eb78012d7a248005e46990000a014529..."} 
[2026-10-05 16:45:09] local.INFO: Processing buffer {"connection_id":204802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc0eb78012d7a248005e46990000a014529..."} 
[2026-10-05 16:45:09] local.INFO: Packet analysis {"connection_id":204802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc0"} 
[2026-10-05 16:45:09] local.INFO: Extracted packet for processing {"connection_id":204802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc0"} 
[2026-10-05 16:45:09] local.INFO: GPS Element Parsed {"raw_longitude":762979456,"raw_latitude":98855312,"longitude_deg":76.2979456,"latitude_deg":9.8855312,"altitude":10,"angle":325,"satellites":41,"speed":7,"hex_longitude":"2d7a2480","hex_latitude":"05e46990","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546829824001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756290191654912,"note":"Value kept but may cause issues"} 
[2026-10-05 16:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801441072072431616,"note":"Value kept but may cause issues"} 
[2026-10-05 16:45:09] 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-10-05 16:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791198555000,"timestamp_ms":1791198555000,"timestamp_seconds":1791198555,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc0eb78"} 
[2026-10-05 16:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-05 16:45:09] 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-10-05 16: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-10-05 16:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546829824001,"66":13254,"208":206,"85":15104,"24":7,"16":139756290191654912,"45":8801441072072431616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546829824001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:45:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:45:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756290191654912,"km_value":139756290191654.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801441072072431616,"description":"Unknown IO ID 45"} 
[2026-10-05 16:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546829824001,"power":13254,"unknown_208":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8801441072072431616}} 
[2026-10-05 16:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":204802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968607,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:45:09] local.INFO: GPS data processed {"connection_id":204802,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:45:09] local.INFO: Acknowledgment sent {"connection_id":204802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:45:10] local.INFO: TCP Data received {"connection_id":207751,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:45:10] local.INFO: Processing buffer {"connection_id":207751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:45:10] local.INFO: IMEI packet received {"connection_id":207751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":207751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:45:10] local.INFO: TCP Data received {"connection_id":207751,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc53908012d1b6f800724b3e8002600af26..."} 
[2026-10-05 16:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc53908012d1b6f800724b3e8002600af26..."} 
[2026-10-05 16:45:10] local.INFO: Processing buffer {"connection_id":207751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc53908012d1b6f800724b3e8002600af26..."} 
[2026-10-05 16:45:10] local.INFO: Packet analysis {"connection_id":207751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc5"} 
[2026-10-05 16:45:10] local.INFO: Extracted packet for processing {"connection_id":207751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc5"} 
[2026-10-05 16:45:10] local.INFO: GPS Element Parsed {"raw_longitude":756772736,"raw_latitude":119845864,"longitude_deg":75.6772736,"latitude_deg":11.9845864,"altitude":38,"angle":175,"satellites":38,"speed":15,"hex_longitude":"2d1b6f80","hex_latitude":"0724b3e8","is_valid_coordinates":true} 
[2026-10-05 16:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546902016001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25172498379177984,"note":"Value kept but may cause issues"} 
[2026-10-05 16:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976869160863754240,"note":"Value kept but may cause issues"} 
[2026-10-05 16:45:10] 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-10-05 16:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791198837000,"timestamp_ms":1791198837000,"timestamp_seconds":1791198837,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc53908"} 
[2026-10-05 16:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:45: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-10-05 16:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-05 16:45:10] 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-10-05 16:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:45:10] 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-10-05 16:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546902016001,"66":14265,"136":206,"83":42752,"24":15,"16":25172498379177984,"45":1976869160863754240},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-10-05 16:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546902016001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:45:10] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-10-05 16:45:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25172498379177984,"km_value":25172498379177.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976869160863754240,"description":"Unknown IO ID 45"} 
[2026-10-05 16:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546902016001,"power":14265,"unknown_136":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":1976869160863754240}} 
[2026-10-05 16:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":207751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:45:10] local.INFO: GPS data processed {"connection_id":207751,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:45:10] local.INFO: Acknowledgment sent {"connection_id":207751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:45:31] local.INFO: TCP Data received {"connection_id":204803,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:45:31] local.INFO: Processing buffer {"connection_id":204803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:45:31] local.INFO: IMEI packet received {"connection_id":204803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":204803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:45:32] local.INFO: TCP Data received {"connection_id":206219,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:45:32] local.INFO: Processing buffer {"connection_id":206219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:45:32] local.INFO: Packet analysis {"connection_id":206219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc4"} 
[2026-10-05 16:45:32] local.INFO: Extracted packet for processing {"connection_id":206219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc4"} 
[2026-10-05 16:45:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546804736001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791198757000,"timestamp_ms":1791198757000,"timestamp_seconds":1791198757,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc40088"} 
[2026-10-05 16:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 16:45:32] 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-10-05 16: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-10-05 16:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16: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-10-05 16:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546804736001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546804736001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:45:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:45:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546804736001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":206219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:45:32] local.INFO: GPS data processed {"connection_id":206219,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:45:32] local.INFO: Acknowledgment sent {"connection_id":206219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:45:33] local.INFO: TCP Data received {"connection_id":204681,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204681,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:45:33] local.INFO: Processing buffer {"connection_id":204681,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:45:33] local.INFO: IMEI packet received {"connection_id":204681,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 16:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":204681,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:45:36] local.INFO: TCP Data received {"connection_id":204803,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:45:36] local.INFO: Processing buffer {"connection_id":204803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:45:36] local.INFO: IMEI packet received {"connection_id":204803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":204803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:45:39] local.INFO: TCP Data received {"connection_id":204803,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc13d80012d7a20c005e468200005014e2a..."} 
[2026-10-05 16:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc13d80012d7a20c005e468200005014e2a..."} 
[2026-10-05 16:45:39] local.INFO: Processing buffer {"connection_id":204803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc13d80012d7a20c005e468200005014e2a..."} 
[2026-10-05 16:45:39] local.INFO: Packet analysis {"connection_id":204803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc1"} 
[2026-10-05 16:45:39] local.INFO: Extracted packet for processing {"connection_id":204803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc1"} 
[2026-10-05 16:45:39] local.INFO: GPS Element Parsed {"raw_longitude":762978496,"raw_latitude":98854944,"longitude_deg":76.2978496,"latitude_deg":9.8854944,"altitude":5,"angle":334,"satellites":42,"speed":3,"hex_longitude":"2d7a20c0","hex_latitude":"05e46820","is_valid_coordinates":true} 
[2026-10-05 16:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546830080001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756388975902720,"note":"Value kept but may cause issues"} 
[2026-10-05 16:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801300334584107008,"note":"Value kept but may cause issues"} 
[2026-10-05 16:45: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-10-05 16:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791198576000,"timestamp_ms":1791198576000,"timestamp_seconds":1791198576,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc13d80"} 
[2026-10-05 16:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:45: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-10-05 16:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-10-05 16:45: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-10-05 16:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":204803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":204803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":204803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:45:39] 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-10-05 16:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546830080001,"66":13559,"208":206,"85":15104,"24":3,"16":139756388975902720,"45":8801300334584107008},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546830080001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:45:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:45:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756388975902720,"km_value":139756388975902.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801300334584107008,"description":"Unknown IO ID 45"} 
[2026-10-05 16:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546830080001,"power":13559,"unknown_208":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8801300334584107008}} 
[2026-10-05 16:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":204803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:45:39] local.INFO: GPS data processed {"connection_id":204803,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:45:39] local.INFO: Acknowledgment sent {"connection_id":204803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:45:41] local.INFO: TCP Data received {"connection_id":207751,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc544c0012d1b70400724af30002600a326..."} 
[2026-10-05 16:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc544c0012d1b70400724af30002600a326..."} 
[2026-10-05 16:45:41] local.INFO: Processing buffer {"connection_id":207751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc544c0012d1b70400724af30002600a326..."} 
[2026-10-05 16:45:41] local.INFO: Packet analysis {"connection_id":207751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc5"} 
[2026-10-05 16:45:41] local.INFO: Extracted packet for processing {"connection_id":207751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc5"} 
[2026-10-05 16:45:41] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119844656,"longitude_deg":75.6772928,"latitude_deg":11.9844656,"altitude":38,"angle":163,"satellites":38,"speed":15,"hex_longitude":"2d1b7040","hex_latitude":"0724af30","is_valid_coordinates":true} 
[2026-10-05 16:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546902272001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25172554213752832,"note":"Value kept but may cause issues"} 
[2026-10-05 16:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976939529607833600,"note":"Value kept but may cause issues"} 
[2026-10-05 16:45:41] 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-10-05 16:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791198840000,"timestamp_ms":1791198840000,"timestamp_seconds":1791198840,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc544c0"} 
[2026-10-05 16:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:45:41] 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-10-05 16:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-05 16:45:41] 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-10-05 16:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":207751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":207751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":207751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:45:41] 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-10-05 16:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546902272001,"66":14374,"136":206,"83":42752,"24":15,"16":25172554213752832,"45":1976939529607833600},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-10-05 16:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546902272001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:45:41] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-10-05 16:45:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25172554213752832,"km_value":25172554213752.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976939529607833600,"description":"Unknown IO ID 45"} 
[2026-10-05 16:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546902272001,"power":14374,"unknown_136":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":1976939529607833600}} 
[2026-10-05 16:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":207751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:45:41] local.INFO: GPS data processed {"connection_id":207751,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:45:41] local.INFO: Acknowledgment sent {"connection_id":207751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:45:56] local.INFO: TCP Data received {"connection_id":204804,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:45:56] local.INFO: Processing buffer {"connection_id":204804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:45:56] local.INFO: IMEI packet received {"connection_id":204804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":204804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:45:59] local.INFO: TCP Data received {"connection_id":204804,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:45:59] local.INFO: Processing buffer {"connection_id":204804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:45:59] local.INFO: IMEI packet received {"connection_id":204804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":204804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:46:00] local.INFO: TCP Data received {"connection_id":204804,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:46:00] local.INFO: Processing buffer {"connection_id":204804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:46:00] local.INFO: Packet analysis {"connection_id":204804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc4"} 
[2026-10-05 16:46:00] local.INFO: Extracted packet for processing {"connection_id":204804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc4"} 
[2026-10-05 16:46:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546804736001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791198757000,"timestamp_ms":1791198757000,"timestamp_seconds":1791198757,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc40088"} 
[2026-10-05 16:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 16:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:46: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-10-05 16:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546804736001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546804736001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:46:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:46:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546804736001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":204804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:46:00] local.INFO: GPS data processed {"connection_id":204804,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:46:00] local.INFO: Acknowledgment sent {"connection_id":204804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:46:05] local.INFO: TCP Data received {"connection_id":204805,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:46:05] local.INFO: Processing buffer {"connection_id":204805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:46:05] local.INFO: IMEI packet received {"connection_id":204805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 16:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":204805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:46:10] local.INFO: TCP Data received {"connection_id":204805,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:46:10] local.INFO: Processing buffer {"connection_id":204805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:46:10] local.INFO: IMEI packet received {"connection_id":204805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":204805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:46:10] local.INFO: TCP Data received {"connection_id":204805,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc55848012d1b72400724a448002700b029..."} 
[2026-10-05 16:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc55848012d1b72400724a448002700b029..."} 
[2026-10-05 16:46:10] local.INFO: Processing buffer {"connection_id":204805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc55848012d1b72400724a448002700b029..."} 
[2026-10-05 16:46:10] local.INFO: Packet analysis {"connection_id":204805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc5"} 
[2026-10-05 16:46:10] local.INFO: Extracted packet for processing {"connection_id":204805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc5"} 
[2026-10-05 16:46:10] local.INFO: GPS Element Parsed {"raw_longitude":756773440,"raw_latitude":119841864,"longitude_deg":75.677344,"latitude_deg":11.9841864,"altitude":39,"angle":176,"satellites":41,"speed":25,"hex_longitude":"2d1b7240","hex_latitude":"0724a448","is_valid_coordinates":true} 
[2026-10-05 16:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546903040001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25172695947673600,"note":"Value kept but may cause issues"} 
[2026-10-05 16:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635840057344,"note":"Value kept but may cause issues"} 
[2026-10-05 16:46:10] 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-10-05 16:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791198845000,"timestamp_ms":1791198845000,"timestamp_seconds":1791198845,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc55848"} 
[2026-10-05 16:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:46: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-10-05 16:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-05 16:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:46:10] 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-10-05 16:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546903040001,"66":13656,"136":206,"83":42752,"24":25,"16":25172695947673600,"45":1977150635840057344},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-10-05 16:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546903040001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:46:10] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-10-05 16:46:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25172695947673600,"km_value":25172695947673.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635840057344,"description":"Unknown IO ID 45"} 
[2026-10-05 16:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546903040001,"power":13656,"unknown_136":206,"unknown_83":42752,"ignition":25,"odometer":null,"unknown_45":1977150635840057344}} 
[2026-10-05 16:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":204805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:46:10] local.INFO: GPS data processed {"connection_id":204805,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:46:10] local.INFO: Acknowledgment sent {"connection_id":204805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:46:11] local.INFO: TCP Data received {"connection_id":204803,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc17430012d7a1f0005e467f00006014e2a..."} 
[2026-10-05 16:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc17430012d7a1f0005e467f00006014e2a..."} 
[2026-10-05 16:46:11] local.INFO: Processing buffer {"connection_id":204803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc17430012d7a1f0005e467f00006014e2a..."} 
[2026-10-05 16:46:11] local.INFO: Packet analysis {"connection_id":204803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc1"} 
[2026-10-05 16:46:11] local.INFO: Extracted packet for processing {"connection_id":204803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc1"} 
[2026-10-05 16:46:11] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98854896,"longitude_deg":76.2978048,"latitude_deg":9.8854896,"altitude":6,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e467f0","is_valid_coordinates":true} 
[2026-10-05 16:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546835456001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800244803421347840,"note":"Value kept but may cause issues"} 
[2026-10-05 16:46: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-10-05 16:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791198590000,"timestamp_ms":1791198590000,"timestamp_seconds":1791198590,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc17430"} 
[2026-10-05 16:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-05 16:46:11] 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-10-05 16:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:46:11] 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-10-05 16:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546835456001,"66":13993,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800244803421347840},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546835456001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:46:11] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:46:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800244803421347840,"description":"Unknown IO ID 45"} 
[2026-10-05 16:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546835456001,"power":13993,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800244803421347840}} 
[2026-10-05 16:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":204803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:46:12] local.INFO: GPS data processed {"connection_id":204803,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:46:12] local.INFO: Acknowledgment sent {"connection_id":204803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:46:31] local.INFO: TCP Data received {"connection_id":204804,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:46:32] local.INFO: Processing buffer {"connection_id":204804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:46:32] local.INFO: Packet analysis {"connection_id":204804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc4"} 
[2026-10-05 16:46:32] local.INFO: Extracted packet for processing {"connection_id":204804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc4"} 
[2026-10-05 16:46:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546804736001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791198757000,"timestamp_ms":1791198757000,"timestamp_seconds":1791198757,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc40088"} 
[2026-10-05 16:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 16:46:32] 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-10-05 16:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:46:32] 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-10-05 16:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546804736001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546804736001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:46:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:46:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546804736001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":204804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:46:32] local.INFO: GPS data processed {"connection_id":204804,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:46:32] local.INFO: Acknowledgment sent {"connection_id":204804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:46:36] local.INFO: TCP Data received {"connection_id":207753,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207753,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:46:36] local.INFO: Processing buffer {"connection_id":207753,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:46:36] local.INFO: IMEI packet received {"connection_id":207753,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":207753,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:46:41] local.INFO: TCP Data received {"connection_id":207753,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207753,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:46:41] local.INFO: Processing buffer {"connection_id":207753,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:46:41] local.INFO: IMEI packet received {"connection_id":207753,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":207753,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:46:41] local.INFO: TCP Data received {"connection_id":204805,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc57788012d1b7300072491c8002400bc29..."} 
[2026-10-05 16:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc57788012d1b7300072491c8002400bc29..."} 
[2026-10-05 16:46:41] local.INFO: Processing buffer {"connection_id":204805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc57788012d1b7300072491c8002400bc29..."} 
[2026-10-05 16:46:41] local.INFO: Packet analysis {"connection_id":204805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc5"} 
[2026-10-05 16:46:41] local.INFO: Extracted packet for processing {"connection_id":204805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc5"} 
[2026-10-05 16:46:41] local.INFO: GPS Element Parsed {"raw_longitude":756773632,"raw_latitude":119837128,"longitude_deg":75.6773632,"latitude_deg":11.9837128,"altitude":36,"angle":188,"satellites":41,"speed":15,"hex_longitude":"2d1b7300","hex_latitude":"072491c8","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546904320001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25172923580940288,"note":"Value kept but may cause issues"} 
[2026-10-05 16:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977713585792763904,"note":"Value kept but may cause issues"} 
[2026-10-05 16:46:41] 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-10-05 16:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791198853000,"timestamp_ms":1791198853000,"timestamp_seconds":1791198853,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc57788"} 
[2026-10-05 16:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:46:41] 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-10-05 16: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-05 16:46:41] 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-10-05 16: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-10-05 16:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:46:41] 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-10-05 16:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546904320001,"66":13972,"136":206,"83":42752,"24":15,"16":25172923580940288,"45":1977713585792763904},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-10-05 16:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546904320001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:46:41] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-10-05 16:46:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25172923580940288,"km_value":25172923580940.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977713585792763904,"description":"Unknown IO ID 45"} 
[2026-10-05 16:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546904320001,"power":13972,"unknown_136":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":1977713585792763904}} 
[2026-10-05 16:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":204805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:46:42] local.INFO: GPS data processed {"connection_id":204805,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:46:42] local.INFO: Acknowledgment sent {"connection_id":204805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:46:42] local.INFO: TCP Data received {"connection_id":207753,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc17430012d7a1f0005e467f00006014e2a..."} 
[2026-10-05 16:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc17430012d7a1f0005e467f00006014e2a..."} 
[2026-10-05 16:46:42] local.INFO: Processing buffer {"connection_id":207753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc17430012d7a1f0005e467f00006014e2a..."} 
[2026-10-05 16:46:42] local.INFO: Packet analysis {"connection_id":207753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc1"} 
[2026-10-05 16:46:42] local.INFO: Extracted packet for processing {"connection_id":207753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc1"} 
[2026-10-05 16:46:42] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98854896,"longitude_deg":76.2978048,"latitude_deg":9.8854896,"altitude":6,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e467f0","is_valid_coordinates":true} 
[2026-10-05 16:46:42] 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-10-05 16:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546839040001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212091904,"note":"Value kept but may cause issues"} 
[2026-10-05 16:46:42] 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-10-05 16:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791198590000,"timestamp_ms":1791198590000,"timestamp_seconds":1791198590,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc17430"} 
[2026-10-05 16:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 16:46:42] 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-10-05 16:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:46:42] 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-10-05 16:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546839040001,"66":13993,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8799752222212091904},"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-10-05 16:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546839040001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:46:42] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:46:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212091904,"description":"Unknown IO ID 45"} 
[2026-10-05 16:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546839040001,"power":13993,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799752222212091904}} 
[2026-10-05 16:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":207753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:46:43] local.INFO: GPS data processed {"connection_id":207753,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:46:43] local.INFO: Acknowledgment sent {"connection_id":207753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:46:47] local.INFO: TCP Data received {"connection_id":207753,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc617b0012d7a204005e46818000d014e2d..."} 
[2026-10-05 16:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc617b0012d7a204005e46818000d014e2d..."} 
[2026-10-05 16:46:47] local.INFO: Processing buffer {"connection_id":207753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc617b0012d7a204005e46818000d014e2d..."} 
[2026-10-05 16:46:47] local.INFO: Packet analysis {"connection_id":207753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc6"} 
[2026-10-05 16:46:47] local.INFO: Extracted packet for processing {"connection_id":207753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc6"} 
[2026-10-05 16:46:47] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 16:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546839040001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212091904,"note":"Value kept but may cause issues"} 
[2026-10-05 16:46:47] 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-10-05 16:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791198894000,"timestamp_ms":1791198894000,"timestamp_seconds":1791198894,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc617b0"} 
[2026-10-05 16:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 16:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":207753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":207753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":207753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546839040001,"66":13341,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8799752222212091904},"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-10-05 16:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546839040001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:46:47] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:46:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212091904,"description":"Unknown IO ID 45"} 
[2026-10-05 16:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546839040001,"power":13341,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799752222212091904}} 
[2026-10-05 16:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":207753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:46:47] local.INFO: GPS data processed {"connection_id":207753,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:46:47] local.INFO: Acknowledgment sent {"connection_id":207753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:46:54] local.INFO: TCP Data received {"connection_id":206220,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:46:54] local.INFO: Processing buffer {"connection_id":206220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:46:54] local.INFO: IMEI packet received {"connection_id":206220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":206220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:46:59] local.INFO: TCP Data received {"connection_id":206220,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:46:59] local.INFO: Processing buffer {"connection_id":206220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:46:59] local.INFO: IMEI packet received {"connection_id":206220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":206220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:47:00] local.INFO: TCP Data received {"connection_id":206220,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:47:00] local.INFO: Processing buffer {"connection_id":206220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:47:00] local.INFO: Packet analysis {"connection_id":206220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc4"} 
[2026-10-05 16:47:00] local.INFO: Extracted packet for processing {"connection_id":206220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc4"} 
[2026-10-05 16:47:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546804736001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791198757000,"timestamp_ms":1791198757000,"timestamp_seconds":1791198757,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc40088"} 
[2026-10-05 16:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 16:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:47: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-10-05 16:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546804736001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546804736001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:47:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:47:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546804736001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":206220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:47:00] local.INFO: GPS data processed {"connection_id":206220,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:47:00] local.INFO: Acknowledgment sent {"connection_id":206220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:47:05] local.INFO: TCP Data received {"connection_id":204683,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:47:05] local.INFO: Processing buffer {"connection_id":204683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:47:05] local.INFO: IMEI packet received {"connection_id":204683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 16:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":204683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:47:10] local.INFO: TCP Data received {"connection_id":204683,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:47:10] local.INFO: Processing buffer {"connection_id":204683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:47:10] local.INFO: IMEI packet received {"connection_id":204683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":204683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:47:11] local.INFO: TCP Data received {"connection_id":204683,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc5c990012d1b6bc007247020002500c126..."} 
[2026-10-05 16:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc5c990012d1b6bc007247020002500c126..."} 
[2026-10-05 16:47:11] local.INFO: Processing buffer {"connection_id":204683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc5c990012d1b6bc007247020002500c126..."} 
[2026-10-05 16:47:11] local.INFO: Packet analysis {"connection_id":204683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc5"} 
[2026-10-05 16:47:11] local.INFO: Extracted packet for processing {"connection_id":204683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc5"} 
[2026-10-05 16:47:11] local.INFO: GPS Element Parsed {"raw_longitude":756771776,"raw_latitude":119828512,"longitude_deg":75.6771776,"latitude_deg":11.9828512,"altitude":37,"angle":193,"satellites":38,"speed":17,"hex_longitude":"2d1b6bc0","hex_latitude":"07247020","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546906368001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25173353077669888,"note":"Value kept but may cause issues"} 
[2026-10-05 16:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977924692024084480,"note":"Value kept but may cause issues"} 
[2026-10-05 16:47:11] 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-10-05 16:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791198874000,"timestamp_ms":1791198874000,"timestamp_seconds":1791198874,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc5c990"} 
[2026-10-05 16:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:47:11] 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-10-05 16: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-10-05 16:47:11] 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-10-05 16:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:47:11] 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-10-05 16:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546906368001,"66":13972,"136":206,"83":42752,"24":17,"16":25173353077669888,"45":1977924692024084480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-10-05 16:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546906368001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:47:11] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-10-05 16:47:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25173353077669888,"km_value":25173353077669.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977924692024084480,"description":"Unknown IO ID 45"} 
[2026-10-05 16:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546906368001,"power":13972,"unknown_136":206,"unknown_83":42752,"ignition":17,"odometer":null,"unknown_45":1977924692024084480}} 
[2026-10-05 16:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":204683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:47:11] local.INFO: GPS data processed {"connection_id":204683,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:47:11] local.INFO: Acknowledgment sent {"connection_id":204683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:47:31] local.INFO: TCP Data received {"connection_id":204807,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:47:31] local.INFO: Processing buffer {"connection_id":204807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:47:31] local.INFO: IMEI packet received {"connection_id":204807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":204807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:47:31] local.INFO: TCP Data received {"connection_id":206220,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:47:31] local.INFO: Processing buffer {"connection_id":206220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:47:31] local.INFO: Packet analysis {"connection_id":206220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc4"} 
[2026-10-05 16:47:31] local.INFO: Extracted packet for processing {"connection_id":206220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc4"} 
[2026-10-05 16:47:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 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-10-05 16:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546804736001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791198757000,"timestamp_ms":1791198757000,"timestamp_seconds":1791198757,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc40088"} 
[2026-10-05 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-10-05 16:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 16:47:31] 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-10-05 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-10-05 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-10-05 16:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546804736001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546804736001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:47:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:47:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546804736001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":206220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:47:31] local.INFO: GPS data processed {"connection_id":206220,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:47:31] local.INFO: Acknowledgment sent {"connection_id":206220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:47:36] local.INFO: TCP Data received {"connection_id":204807,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:47:36] local.INFO: Processing buffer {"connection_id":204807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:47:36] local.INFO: IMEI packet received {"connection_id":204807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":204807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:47:40] local.INFO: TCP Data received {"connection_id":204807,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc617b0012d7a204005e46818000d014e2d..."} 
[2026-10-05 16:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc617b0012d7a204005e46818000d014e2d..."} 
[2026-10-05 16:47:40] local.INFO: Processing buffer {"connection_id":204807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc617b0012d7a204005e46818000d014e2d..."} 
[2026-10-05 16:47:40] local.INFO: Packet analysis {"connection_id":204807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc6"} 
[2026-10-05 16:47:40] local.INFO: Extracted packet for processing {"connection_id":204807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc6"} 
[2026-10-05 16:47:40] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 16:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546839040001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212091904,"note":"Value kept but may cause issues"} 
[2026-10-05 16:47:40] 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-10-05 16:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791198894000,"timestamp_ms":1791198894000,"timestamp_seconds":1791198894,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc617b0"} 
[2026-10-05 16:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 16:47:40] 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-10-05 16:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546839040001,"66":13341,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8799752222212091904},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546839040001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:47:40] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:47:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212091904,"description":"Unknown IO ID 45"} 
[2026-10-05 16:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546839040001,"power":13341,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799752222212091904}} 
[2026-10-05 16:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":204807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968622,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:47:40] local.INFO: GPS data processed {"connection_id":204807,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:47:40] local.INFO: Acknowledgment sent {"connection_id":204807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:47:42] local.INFO: TCP Data received {"connection_id":204683,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc75be8012d1bdb000723ce980021000b2a..."} 
[2026-10-05 16:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc75be8012d1bdb000723ce980021000b2a..."} 
[2026-10-05 16:47:42] local.INFO: Processing buffer {"connection_id":204683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc75be8012d1bdb000723ce980021000b2a..."} 
[2026-10-05 16:47:42] local.INFO: Packet analysis {"connection_id":204683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc7"} 
[2026-10-05 16:47:42] local.INFO: Extracted packet for processing {"connection_id":204683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc7"} 
[2026-10-05 16:47:42] local.INFO: GPS Element Parsed {"raw_longitude":756800256,"raw_latitude":119787160,"longitude_deg":75.6800256,"latitude_deg":11.978716,"altitude":33,"angle":11,"satellites":42,"speed":6,"hex_longitude":"2d1bdb00","hex_latitude":"0723ce98","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546935808001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25175930058047488,"note":"Value kept but may cause issues"} 
[2026-10-05 16:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2007057352100722688,"note":"Value kept but may cause issues"} 
[2026-10-05 16:47:42] 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-10-05 16:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791198977000,"timestamp_ms":1791198977000,"timestamp_seconds":1791198977,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc75be8"} 
[2026-10-05 16:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:47: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-10-05 16: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":27,"data_length":795,"current_offset":136} 
[2026-10-05 16:47:42] 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-10-05 16:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:47: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-10-05 16:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546935808001,"66":13254,"176":206,"83":42752,"24":6,"16":25175930058047488,"45":2007057352100722688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 16:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546935808001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:47:42] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 16:47:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25175930058047488,"km_value":25175930058047.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2007057352100722688,"description":"Unknown IO ID 45"} 
[2026-10-05 16:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546935808001,"power":13254,"unknown_176":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":2007057352100722688}} 
[2026-10-05 16:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":204683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:47:42] local.INFO: GPS data processed {"connection_id":204683,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:47:42] local.INFO: Acknowledgment sent {"connection_id":204683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:47:54] local.INFO: TCP Data received {"connection_id":204809,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:47:54] local.INFO: Processing buffer {"connection_id":204809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:47:54] local.INFO: IMEI packet received {"connection_id":204809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":204809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:47:59] local.INFO: TCP Data received {"connection_id":204809,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:47:59] local.INFO: Processing buffer {"connection_id":204809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:47:59] local.INFO: IMEI packet received {"connection_id":204809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":204809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:48:00] local.INFO: TCP Data received {"connection_id":204809,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:48:00] local.INFO: Processing buffer {"connection_id":204809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc40088012d80b3c00602ac50001400cf32..."} 
[2026-10-05 16:48:00] local.INFO: Packet analysis {"connection_id":204809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc4"} 
[2026-10-05 16:48:00] local.INFO: Extracted packet for processing {"connection_id":204809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc4"} 
[2026-10-05 16:48:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 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-10-05 16:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546804736001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791198757000,"timestamp_ms":1791198757000,"timestamp_seconds":1791198757,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc40088"} 
[2026-10-05 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-10-05 16:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 16:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 16:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:48: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-10-05 16:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546804736001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546804736001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:48:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:48:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546804736001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":204809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:48:00] local.INFO: GPS data processed {"connection_id":204809,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:48:00] local.INFO: Acknowledgment sent {"connection_id":204809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:48:05] local.INFO: TCP Data received {"connection_id":204810,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:48:05] local.INFO: Processing buffer {"connection_id":204810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:48:05] local.INFO: IMEI packet received {"connection_id":204810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 16:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":204810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:48:10] local.INFO: TCP Data received {"connection_id":204810,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:48:10] local.INFO: Processing buffer {"connection_id":204810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:48:10] local.INFO: IMEI packet received {"connection_id":204810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":204810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:48:11] local.INFO: TCP Data received {"connection_id":204810,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc7adf0012d1bdc800723d468002200082b..."} 
[2026-10-05 16:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc7adf0012d1bdc800723d468002200082b..."} 
[2026-10-05 16:48:11] local.INFO: Processing buffer {"connection_id":204810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc7adf0012d1bdc800723d468002200082b..."} 
[2026-10-05 16:48:11] local.INFO: Packet analysis {"connection_id":204810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc7"} 
[2026-10-05 16:48:11] local.INFO: Extracted packet for processing {"connection_id":204810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc7"} 
[2026-10-05 16:48:11] local.INFO: GPS Element Parsed {"raw_longitude":756800640,"raw_latitude":119788648,"longitude_deg":75.680064,"latitude_deg":11.9788648,"altitude":34,"angle":8,"satellites":43,"speed":0,"hex_longitude":"2d1bdc80","hex_latitude":"0723d468","is_valid_coordinates":true} 
[2026-10-05 16:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546938112001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176011662426112,"note":"Value kept but may cause issues"} 
[2026-10-05 16:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2007198089589200896,"note":"Value kept but may cause issues"} 
[2026-10-05 16:48:11] 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-10-05 16:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791198998000,"timestamp_ms":1791198998000,"timestamp_seconds":1791198998,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc7adf0"} 
[2026-10-05 16:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-10-05 16:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:48:11] 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-10-05 16:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546938112001,"66":13091,"176":206,"83":42752,"24":0,"16":25176011662426112,"45":2007198089589200896},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 16:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546938112001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:48:11] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 16:48:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176011662426112,"km_value":25176011662426.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2007198089589200896,"description":"Unknown IO ID 45"} 
[2026-10-05 16:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546938112001,"power":13091,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2007198089589200896}} 
[2026-10-05 16:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":204810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:48:11] local.INFO: GPS data processed {"connection_id":204810,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:48:11] local.INFO: Acknowledgment sent {"connection_id":204810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:48:12] local.INFO: TCP Data received {"connection_id":204807,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc617b0012d7a204005e46818000d014e2d..."} 
[2026-10-05 16:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc617b0012d7a204005e46818000d014e2d..."} 
[2026-10-05 16:48:12] local.INFO: Processing buffer {"connection_id":204807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc617b0012d7a204005e46818000d014e2d..."} 
[2026-10-05 16:48:12] local.INFO: Packet analysis {"connection_id":204807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc6"} 
[2026-10-05 16:48:12] local.INFO: Extracted packet for processing {"connection_id":204807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc6"} 
[2026-10-05 16:48:12] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 16:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546839040001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212091904,"note":"Value kept but may cause issues"} 
[2026-10-05 16:48:12] 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-10-05 16:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791198894000,"timestamp_ms":1791198894000,"timestamp_seconds":1791198894,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc617b0"} 
[2026-10-05 16:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:48: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-10-05 16:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 16:48:12] 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-10-05 16:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546839040001,"66":13341,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8799752222212091904},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546839040001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:48:12] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:48:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212091904,"description":"Unknown IO ID 45"} 
[2026-10-05 16:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546839040001,"power":13341,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799752222212091904}} 
[2026-10-05 16:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":204807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:48:12] local.INFO: GPS data processed {"connection_id":204807,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:48:12] local.INFO: Acknowledgment sent {"connection_id":204807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:48:32] local.INFO: TCP Data received {"connection_id":204809,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:48:32] local.INFO: Processing buffer {"connection_id":204809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:48:32] local.INFO: Packet analysis {"connection_id":204809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc8"} 
[2026-10-05 16:48:32] local.INFO: Extracted packet for processing {"connection_id":204809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc8"} 
[2026-10-05 16:48:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546881792001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791199058000,"timestamp_ms":1791199058000,"timestamp_seconds":1791199058,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc89850"} 
[2026-10-05 16:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:48:32] 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-10-05 16:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:48:32] 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-10-05 16:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546881792001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546881792001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:48:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:48:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546881792001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":204809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:48:32] local.INFO: GPS data processed {"connection_id":204809,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:48:32] local.INFO: Acknowledgment sent {"connection_id":204809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:48:33] local.INFO: TCP Data received {"connection_id":207754,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:48:33] local.INFO: Processing buffer {"connection_id":207754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:48:33] local.INFO: IMEI packet received {"connection_id":207754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":207754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:48:36] local.INFO: TCP Data received {"connection_id":207754,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:48:36] local.INFO: Processing buffer {"connection_id":207754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:48:36] local.INFO: IMEI packet received {"connection_id":207754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":207754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:48:39] local.INFO: TCP Data received {"connection_id":207754,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc617b0012d7a204005e46818000d014e2d..."} 
[2026-10-05 16:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc617b0012d7a204005e46818000d014e2d..."} 
[2026-10-05 16:48:39] local.INFO: Processing buffer {"connection_id":207754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc617b0012d7a204005e46818000d014e2d..."} 
[2026-10-05 16:48:39] local.INFO: Packet analysis {"connection_id":207754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc6"} 
[2026-10-05 16:48:39] local.INFO: Extracted packet for processing {"connection_id":207754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc6"} 
[2026-10-05 16:48:39] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 16:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546839040001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212091904,"note":"Value kept but may cause issues"} 
[2026-10-05 16:48: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-10-05 16:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791198894000,"timestamp_ms":1791198894000,"timestamp_seconds":1791198894,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc617b0"} 
[2026-10-05 16:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 16:48:39] 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-10-05 16:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":207754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":207754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":207754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:48: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-10-05 16:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546839040001,"66":13341,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8799752222212091904},"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-10-05 16:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546839040001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:48:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:48:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212091904,"description":"Unknown IO ID 45"} 
[2026-10-05 16:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546839040001,"power":13341,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799752222212091904}} 
[2026-10-05 16:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":207754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:48:39] local.INFO: GPS data processed {"connection_id":207754,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:48:39] local.INFO: Acknowledgment sent {"connection_id":207754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:48:43] local.INFO: TCP Data received {"connection_id":207754,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc617b0012d7a204005e46818000d014e2d..."} 
[2026-10-05 16:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc617b0012d7a204005e46818000d014e2d..."} 
[2026-10-05 16:48:43] local.INFO: Processing buffer {"connection_id":207754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc617b0012d7a204005e46818000d014e2d..."} 
[2026-10-05 16:48:43] local.INFO: Packet analysis {"connection_id":207754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc6"} 
[2026-10-05 16:48:43] local.INFO: Extracted packet for processing {"connection_id":207754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc6"} 
[2026-10-05 16:48:43] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 16:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546839040001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212091904,"note":"Value kept but may cause issues"} 
[2026-10-05 16:48:43] 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-10-05 16:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791198894000,"timestamp_ms":1791198894000,"timestamp_seconds":1791198894,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc617b0"} 
[2026-10-05 16:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 16:48:43] 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-10-05 16:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:48:43] 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-10-05 16:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546839040001,"66":13341,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8799752222212091904},"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-10-05 16:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546839040001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:48:43] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:48:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212091904,"description":"Unknown IO ID 45"} 
[2026-10-05 16:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546839040001,"power":13341,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799752222212091904}} 
[2026-10-05 16:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":207754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:48:43] local.INFO: GPS data processed {"connection_id":207754,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:48:43] local.INFO: Acknowledgment sent {"connection_id":207754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:48:45] local.INFO: TCP Data received {"connection_id":204810,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc7fff8012d1bdc800723d468002200082c..."} 
[2026-10-05 16:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc7fff8012d1bdc800723d468002200082c..."} 
[2026-10-05 16:48:45] local.INFO: Processing buffer {"connection_id":204810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc7fff8012d1bdc800723d468002200082c..."} 
[2026-10-05 16:48:45] local.INFO: Packet analysis {"connection_id":204810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc7"} 
[2026-10-05 16:48:45] local.INFO: Extracted packet for processing {"connection_id":204810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc7"} 
[2026-10-05 16:48:45] local.INFO: GPS Element Parsed {"raw_longitude":756800640,"raw_latitude":119788648,"longitude_deg":75.680064,"latitude_deg":11.9788648,"altitude":34,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d1bdc80","hex_latitude":"0723d468","is_valid_coordinates":true} 
[2026-10-05 16:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546943488001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176011662426112,"note":"Value kept but may cause issues"} 
[2026-10-05 16:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2007620302054647808,"note":"Value kept but may cause issues"} 
[2026-10-05 16:48:45] 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-10-05 16:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791199019000,"timestamp_ms":1791199019000,"timestamp_seconds":1791199019,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc7fff8"} 
[2026-10-05 16:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 16:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":204810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":204810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":204810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:48:45] 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-10-05 16:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546943488001,"66":13015,"176":206,"83":42752,"24":0,"16":25176011662426112,"45":2007620302054647808},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 16:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546943488001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:48:45] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 16:48:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176011662426112,"km_value":25176011662426.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2007620302054647808,"description":"Unknown IO ID 45"} 
[2026-10-05 16:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546943488001,"power":13015,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2007620302054647808}} 
[2026-10-05 16:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":204810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:48:45] local.INFO: GPS data processed {"connection_id":204810,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:48:45] local.INFO: Acknowledgment sent {"connection_id":204810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:48:54] local.INFO: TCP Data received {"connection_id":207755,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:48:54] local.INFO: Processing buffer {"connection_id":207755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:48:54] local.INFO: IMEI packet received {"connection_id":207755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":207755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:48:59] local.INFO: TCP Data received {"connection_id":207755,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:48:59] local.INFO: Processing buffer {"connection_id":207755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:48:59] local.INFO: IMEI packet received {"connection_id":207755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":207755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:49:00] local.INFO: TCP Data received {"connection_id":207755,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:49:00] local.INFO: Processing buffer {"connection_id":207755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:49:00] local.INFO: Packet analysis {"connection_id":207755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc8"} 
[2026-10-05 16:49:00] local.INFO: Extracted packet for processing {"connection_id":207755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc8"} 
[2026-10-05 16:49:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546881792001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791199058000,"timestamp_ms":1791199058000,"timestamp_seconds":1791199058,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc89850"} 
[2026-10-05 16:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546881792001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546881792001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:49:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:49:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546881792001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":207755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:49:00] local.INFO: GPS data processed {"connection_id":207755,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:49:00] local.INFO: Acknowledgment sent {"connection_id":207755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:49:10] local.INFO: TCP Data received {"connection_id":204811,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:49:10] local.INFO: Processing buffer {"connection_id":204811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:49:10] local.INFO: IMEI packet received {"connection_id":204811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 16:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":204811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:49:15] local.INFO: TCP Data received {"connection_id":204811,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:49:15] local.INFO: Processing buffer {"connection_id":204811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:49:15] local.INFO: IMEI packet received {"connection_id":204811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":204811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:49:16] local.INFO: TCP Data received {"connection_id":207754,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc617b0012d7a204005e46818000d014e2d..."} 
[2026-10-05 16:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc617b0012d7a204005e46818000d014e2d..."} 
[2026-10-05 16:49:16] local.INFO: Processing buffer {"connection_id":207754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc617b0012d7a204005e46818000d014e2d..."} 
[2026-10-05 16:49:16] local.INFO: Packet analysis {"connection_id":207754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc6"} 
[2026-10-05 16:49:16] local.INFO: Extracted packet for processing {"connection_id":207754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc6"} 
[2026-10-05 16:49:16] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 16:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546839040001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212091904,"note":"Value kept but may cause issues"} 
[2026-10-05 16:49:16] 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-10-05 16:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791198894000,"timestamp_ms":1791198894000,"timestamp_seconds":1791198894,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc617b0"} 
[2026-10-05 16:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 16:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:49:16] 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-10-05 16:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546839040001,"66":13341,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8799752222212091904},"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-10-05 16:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546839040001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:49:16] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:49:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212091904,"description":"Unknown IO ID 45"} 
[2026-10-05 16:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546839040001,"power":13341,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799752222212091904}} 
[2026-10-05 16:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":207754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:49:16] local.INFO: GPS data processed {"connection_id":207754,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:49:16] local.INFO: Acknowledgment sent {"connection_id":207754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:49:17] local.INFO: TCP Data received {"connection_id":204811,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc85200012d1bdc800723d468002200082c..."} 
[2026-10-05 16:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc85200012d1bdc800723d468002200082c..."} 
[2026-10-05 16:49:17] local.INFO: Processing buffer {"connection_id":204811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc85200012d1bdc800723d468002200082c..."} 
[2026-10-05 16:49:17] local.INFO: Packet analysis {"connection_id":204811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc8"} 
[2026-10-05 16:49:17] local.INFO: Extracted packet for processing {"connection_id":204811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc8"} 
[2026-10-05 16:49:17] local.INFO: GPS Element Parsed {"raw_longitude":756800640,"raw_latitude":119788648,"longitude_deg":75.680064,"latitude_deg":11.9788648,"altitude":34,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d1bdc80","hex_latitude":"0723d468","is_valid_coordinates":true} 
[2026-10-05 16:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546948864001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176011662426112,"note":"Value kept but may cause issues"} 
[2026-10-05 16:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2007620302054647808,"note":"Value kept but may cause issues"} 
[2026-10-05 16:49:17] 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-10-05 16:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791199040000,"timestamp_ms":1791199040000,"timestamp_seconds":1791199040,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc85200"} 
[2026-10-05 16:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-10-05 16:49:17] 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-10-05 16:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":204811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":204811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":204811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:49:17] 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-10-05 16:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546948864001,"66":12950,"176":206,"83":42752,"24":0,"16":25176011662426112,"45":2007620302054647808},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 16:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546948864001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:49:17] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 16:49:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176011662426112,"km_value":25176011662426.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2007620302054647808,"description":"Unknown IO ID 45"} 
[2026-10-05 16:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546948864001,"power":12950,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2007620302054647808}} 
[2026-10-05 16:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":204811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:49:17] local.INFO: GPS data processed {"connection_id":204811,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:49:17] local.INFO: Acknowledgment sent {"connection_id":204811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:49:21] local.INFO: TCP Data received {"connection_id":204811,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc8a408012d1bdc800723d468002200082d..."} 
[2026-10-05 16:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc8a408012d1bdc800723d468002200082d..."} 
[2026-10-05 16:49:21] local.INFO: Processing buffer {"connection_id":204811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc8a408012d1bdc800723d468002200082d..."} 
[2026-10-05 16:49:21] local.INFO: Packet analysis {"connection_id":204811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc8"} 
[2026-10-05 16:49:21] local.INFO: Extracted packet for processing {"connection_id":204811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc8"} 
[2026-10-05 16:49:21] local.INFO: GPS Element Parsed {"raw_longitude":756800640,"raw_latitude":119788648,"longitude_deg":75.680064,"latitude_deg":11.9788648,"altitude":34,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2d1bdc80","hex_latitude":"0723d468","is_valid_coordinates":true} 
[2026-10-05 16:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546954240001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176011662426112,"note":"Value kept but may cause issues"} 
[2026-10-05 16:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2007620302054647808,"note":"Value kept but may cause issues"} 
[2026-10-05 16:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791199061000,"timestamp_ms":1791199061000,"timestamp_seconds":1791199061,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc8a408"} 
[2026-10-05 16:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 16:49:21] 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-10-05 16:49:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":204811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":204811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":204811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546954240001,"66":12939,"176":206,"83":42752,"24":0,"16":25176011662426112,"45":2007620302054647808},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 16:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546954240001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:49:21] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 16:49:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176011662426112,"km_value":25176011662426.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2007620302054647808,"description":"Unknown IO ID 45"} 
[2026-10-05 16:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546954240001,"power":12939,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2007620302054647808}} 
[2026-10-05 16:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":204811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:49:21] local.INFO: GPS data processed {"connection_id":204811,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:49:21] local.INFO: Acknowledgment sent {"connection_id":204811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:49:31] local.INFO: TCP Data received {"connection_id":204685,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:49:31] local.INFO: Processing buffer {"connection_id":204685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:49:31] local.INFO: IMEI packet received {"connection_id":204685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":204685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:49:31] local.INFO: TCP Data received {"connection_id":207755,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:49:31] local.INFO: Processing buffer {"connection_id":207755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:49:31] local.INFO: Packet analysis {"connection_id":207755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc8"} 
[2026-10-05 16:49:31] local.INFO: Extracted packet for processing {"connection_id":207755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc8"} 
[2026-10-05 16:49:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546881792001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791199058000,"timestamp_ms":1791199058000,"timestamp_seconds":1791199058,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc89850"} 
[2026-10-05 16:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546881792001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546881792001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:49:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:49:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546881792001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":207755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:49:31] local.INFO: GPS data processed {"connection_id":207755,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:49:31] local.INFO: Acknowledgment sent {"connection_id":207755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:49:36] local.INFO: TCP Data received {"connection_id":204685,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:49:36] local.INFO: Processing buffer {"connection_id":204685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:49:36] local.INFO: IMEI packet received {"connection_id":204685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":204685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:49:38] local.INFO: TCP Data received {"connection_id":204685,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc617b0012d7a204005e46818000d014e2d..."} 
[2026-10-05 16:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc617b0012d7a204005e46818000d014e2d..."} 
[2026-10-05 16:49:38] local.INFO: Processing buffer {"connection_id":204685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc617b0012d7a204005e46818000d014e2d..."} 
[2026-10-05 16:49:38] local.INFO: Packet analysis {"connection_id":204685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc6"} 
[2026-10-05 16:49:38] local.INFO: Extracted packet for processing {"connection_id":204685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc6"} 
[2026-10-05 16:49:38] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 16:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546839040001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212091904,"note":"Value kept but may cause issues"} 
[2026-10-05 16:49:38] 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-10-05 16:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791198894000,"timestamp_ms":1791198894000,"timestamp_seconds":1791198894,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc617b0"} 
[2026-10-05 16:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 16:49: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-10-05 16:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546839040001,"66":13341,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8799752222212091904},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546839040001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:49:38] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:49:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212091904,"description":"Unknown IO ID 45"} 
[2026-10-05 16:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546839040001,"power":13341,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799752222212091904}} 
[2026-10-05 16:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":204685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968636,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:49:38] local.INFO: GPS data processed {"connection_id":204685,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:49:38] local.INFO: Acknowledgment sent {"connection_id":204685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:49:54] local.INFO: TCP Data received {"connection_id":204687,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:49:54] local.INFO: Processing buffer {"connection_id":204687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:49:54] local.INFO: IMEI packet received {"connection_id":204687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":204687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:49:59] local.INFO: TCP Data received {"connection_id":204687,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:49:59] local.INFO: Processing buffer {"connection_id":204687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:49:59] local.INFO: IMEI packet received {"connection_id":204687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":204687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:50:00] local.INFO: TCP Data received {"connection_id":204687,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:50:00] local.INFO: Processing buffer {"connection_id":204687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:50:00] local.INFO: Packet analysis {"connection_id":204687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc8"} 
[2026-10-05 16:50:00] local.INFO: Extracted packet for processing {"connection_id":204687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc8"} 
[2026-10-05 16:50:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546881792001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791199058000,"timestamp_ms":1791199058000,"timestamp_seconds":1791199058,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc89850"} 
[2026-10-05 16:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546881792001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546881792001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:50:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:50:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546881792001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":204687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:50:00] local.INFO: GPS data processed {"connection_id":204687,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:50:00] local.INFO: Acknowledgment sent {"connection_id":204687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:50:04] local.INFO: TCP Data received {"connection_id":207756,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:50:04] local.INFO: Processing buffer {"connection_id":207756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:50:04] local.INFO: IMEI packet received {"connection_id":207756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 16:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":207756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:50:05] local.INFO: TCP Data received {"connection_id":207756,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:50:05] local.INFO: Processing buffer {"connection_id":207756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:50:05] local.INFO: IMEI packet received {"connection_id":207756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":207756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:50:10] local.INFO: TCP Data received {"connection_id":207756,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:50:10] local.INFO: Processing buffer {"connection_id":207756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:50:10] local.INFO: IMEI packet received {"connection_id":207756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":207756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:50:11] local.INFO: TCP Data received {"connection_id":207756,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc8f610012d1bdc800723d468002200082c..."} 
[2026-10-05 16:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc8f610012d1bdc800723d468002200082c..."} 
[2026-10-05 16:50:11] local.INFO: Processing buffer {"connection_id":207756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc8f610012d1bdc800723d468002200082c..."} 
[2026-10-05 16:50:11] local.INFO: Packet analysis {"connection_id":207756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc8"} 
[2026-10-05 16:50:11] local.INFO: Extracted packet for processing {"connection_id":207756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc8"} 
[2026-10-05 16:50:11] local.INFO: GPS Element Parsed {"raw_longitude":756800640,"raw_latitude":119788648,"longitude_deg":75.680064,"latitude_deg":11.9788648,"altitude":34,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d1bdc80","hex_latitude":"0723d468","is_valid_coordinates":true} 
[2026-10-05 16:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546959616001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176011662426112,"note":"Value kept but may cause issues"} 
[2026-10-05 16:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2007620302054647808,"note":"Value kept but may cause issues"} 
[2026-10-05 16:50:11] 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-10-05 16:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791199082000,"timestamp_ms":1791199082000,"timestamp_seconds":1791199082,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc8f610"} 
[2026-10-05 16:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 16:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:50:11] 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-10-05 16:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546959616001,"66":12863,"136":206,"83":42752,"24":0,"16":25176011662426112,"45":2007620302054647808},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-10-05 16:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546959616001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:50:11] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-10-05 16:50:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176011662426112,"km_value":25176011662426.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2007620302054647808,"description":"Unknown IO ID 45"} 
[2026-10-05 16:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546959616001,"power":12863,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2007620302054647808}} 
[2026-10-05 16:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":207756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:50:11] local.INFO: GPS data processed {"connection_id":207756,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:50:11] local.INFO: Acknowledgment sent {"connection_id":207756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:50:12] local.INFO: TCP Data received {"connection_id":204685,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:50:12] local.INFO: Processing buffer {"connection_id":204685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:50:12] local.INFO: Packet analysis {"connection_id":204685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bca"} 
[2026-10-05 16:50:12] local.INFO: Extracted packet for processing {"connection_id":204685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bca"} 
[2026-10-05 16:50:12] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":49,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 16:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546916864001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 16:50:12] 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-10-05 16:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791199195000,"timestamp_ms":1791199195000,"timestamp_seconds":1791199195,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcaaf78"} 
[2026-10-05 16:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:50: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-10-05 16:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-10-05 16:50:12] 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-10-05 16:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546916864001,"66":13243,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546916864001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:50:12] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:50:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 16:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546916864001,"power":13243,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 16:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":204685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:50:12] local.INFO: GPS data processed {"connection_id":204685,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:50:12] local.INFO: Acknowledgment sent {"connection_id":204685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:50:32] local.INFO: TCP Data received {"connection_id":204687,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:50:32] local.INFO: Processing buffer {"connection_id":204687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:50:32] local.INFO: Packet analysis {"connection_id":204687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc8"} 
[2026-10-05 16:50:32] local.INFO: Extracted packet for processing {"connection_id":204687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc8"} 
[2026-10-05 16:50:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546881792001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791199058000,"timestamp_ms":1791199058000,"timestamp_seconds":1791199058,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc89850"} 
[2026-10-05 16:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:50:32] 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-10-05 16: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-10-05 16:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:50:32] 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-10-05 16:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546881792001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546881792001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:50:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:50:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546881792001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":204687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:50:32] local.INFO: GPS data processed {"connection_id":204687,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:50:32] local.INFO: Acknowledgment sent {"connection_id":204687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:50:36] local.INFO: TCP Data received {"connection_id":207758,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:50:36] local.INFO: Processing buffer {"connection_id":207758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:50:36] local.INFO: IMEI packet received {"connection_id":207758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":207758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:50:42] local.INFO: TCP Data received {"connection_id":207758,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:50:42] local.INFO: Processing buffer {"connection_id":207758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:50:42] local.INFO: IMEI packet received {"connection_id":207758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":207758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:50:42] local.INFO: TCP Data received {"connection_id":207756,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc94818012d1bdc800723d468002200082d..."} 
[2026-10-05 16:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc94818012d1bdc800723d468002200082d..."} 
[2026-10-05 16:50:42] local.INFO: Processing buffer {"connection_id":207756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc94818012d1bdc800723d468002200082d..."} 
[2026-10-05 16:50:42] local.INFO: Packet analysis {"connection_id":207756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc9"} 
[2026-10-05 16:50:42] local.INFO: Extracted packet for processing {"connection_id":207756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc9"} 
[2026-10-05 16:50:42] local.INFO: GPS Element Parsed {"raw_longitude":756800640,"raw_latitude":119788648,"longitude_deg":75.680064,"latitude_deg":11.9788648,"altitude":34,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2d1bdc80","hex_latitude":"0723d468","is_valid_coordinates":true} 
[2026-10-05 16:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546964992001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176011662426112,"note":"Value kept but may cause issues"} 
[2026-10-05 16:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2007620302054647808,"note":"Value kept but may cause issues"} 
[2026-10-05 16:50:42] 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-10-05 16:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791199103000,"timestamp_ms":1791199103000,"timestamp_seconds":1791199103,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc94818"} 
[2026-10-05 16:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:50: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-10-05 16:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 16:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:50: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-10-05 16:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:50: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-10-05 16:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546964992001,"66":12841,"136":206,"83":42752,"24":0,"16":25176011662426112,"45":2007620302054647808},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-10-05 16:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546964992001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:50:42] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-10-05 16:50:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176011662426112,"km_value":25176011662426.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2007620302054647808,"description":"Unknown IO ID 45"} 
[2026-10-05 16:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546964992001,"power":12841,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2007620302054647808}} 
[2026-10-05 16:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":207756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:50:42] local.INFO: GPS data processed {"connection_id":207756,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:50:42] local.INFO: Acknowledgment sent {"connection_id":207756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:50:44] local.INFO: TCP Data received {"connection_id":207758,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:50:44] local.INFO: Processing buffer {"connection_id":207758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:50:44] local.INFO: Packet analysis {"connection_id":207758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bca"} 
[2026-10-05 16:50:44] local.INFO: Extracted packet for processing {"connection_id":207758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bca"} 
[2026-10-05 16:50:44] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":49,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 16:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546916864001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 16:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791199195000,"timestamp_ms":1791199195000,"timestamp_seconds":1791199195,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcaaf78"} 
[2026-10-05 16:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-10-05 16:50:44] 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-10-05 16:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":207758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":207758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":207758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546916864001,"66":13243,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546916864001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:50:44] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:50:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 16:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546916864001,"power":13243,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 16:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":207758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968642,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:50:44] local.INFO: GPS data processed {"connection_id":207758,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:50:44] local.INFO: Acknowledgment sent {"connection_id":207758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:50:54] local.INFO: TCP Data received {"connection_id":206221,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:50:54] local.INFO: Processing buffer {"connection_id":206221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:50:54] local.INFO: IMEI packet received {"connection_id":206221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":206221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:50:59] local.INFO: TCP Data received {"connection_id":206221,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:50:59] local.INFO: Processing buffer {"connection_id":206221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:50:59] local.INFO: IMEI packet received {"connection_id":206221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":206221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:51:01] local.INFO: TCP Data received {"connection_id":206221,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:51:01] local.INFO: Processing buffer {"connection_id":206221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:51:01] local.INFO: Packet analysis {"connection_id":206221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc8"} 
[2026-10-05 16:51:01] local.INFO: Extracted packet for processing {"connection_id":206221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc8"} 
[2026-10-05 16:51:01] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546881792001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791199058000,"timestamp_ms":1791199058000,"timestamp_seconds":1791199058,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc89850"} 
[2026-10-05 16:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:51: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-10-05 16:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":206221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":206221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":206221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546881792001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546881792001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:51:01] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:51:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546881792001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":206221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:51:01] local.INFO: GPS data processed {"connection_id":206221,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:51:01] local.INFO: Acknowledgment sent {"connection_id":206221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:51:05] local.INFO: TCP Data received {"connection_id":204812,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:51:05] local.INFO: Processing buffer {"connection_id":204812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:51:05] local.INFO: IMEI packet received {"connection_id":204812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 16:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":204812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:51:05] local.INFO: TCP Data received {"connection_id":204812,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:51:05] local.INFO: Processing buffer {"connection_id":204812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:51:05] local.INFO: IMEI packet received {"connection_id":204812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":204812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:51:10] local.INFO: TCP Data received {"connection_id":204812,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:51:10] local.INFO: Processing buffer {"connection_id":204812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:51:10] local.INFO: IMEI packet received {"connection_id":204812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":204812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:51:11] local.INFO: TCP Data received {"connection_id":204812,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcae240012d1bd9c00723ca28002000aa2c..."} 
[2026-10-05 16:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcae240012d1bd9c00723ca28002000aa2c..."} 
[2026-10-05 16:51:11] local.INFO: Processing buffer {"connection_id":204812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcae240012d1bd9c00723ca28002000aa2c..."} 
[2026-10-05 16:51:11] local.INFO: Packet analysis {"connection_id":204812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bca"} 
[2026-10-05 16:51:11] local.INFO: Extracted packet for processing {"connection_id":204812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bca"} 
[2026-10-05 16:51:11] local.INFO: GPS Element Parsed {"raw_longitude":756799936,"raw_latitude":119786024,"longitude_deg":75.6799936,"latitude_deg":11.9786024,"altitude":32,"angle":170,"satellites":44,"speed":4,"hex_longitude":"2d1bd9c0","hex_latitude":"0723ca28","is_valid_coordinates":true} 
[2026-10-05 16:51: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-10-05 16:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546993920001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176161986281472,"note":"Value kept but may cause issues"} 
[2026-10-05 16:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2006916614612314112,"note":"Value kept but may cause issues"} 
[2026-10-05 16:51:11] 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-10-05 16:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791199208000,"timestamp_ms":1791199208000,"timestamp_seconds":1791199208,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcae240"} 
[2026-10-05 16:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:51: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-10-05 16:51:11] 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-10-05 16:51: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-10-05 16:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:51:11] 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-10-05 16:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546993920001,"66":13993,"136":206,"83":42752,"24":4,"16":25176161986281472,"45":2006916614612314112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-10-05 16:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546993920001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:51:11] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-10-05 16:51:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176161986281472,"km_value":25176161986281.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2006916614612314112,"description":"Unknown IO ID 45"} 
[2026-10-05 16:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546993920001,"power":13993,"unknown_136":206,"unknown_83":42752,"ignition":4,"odometer":null,"unknown_45":2006916614612314112}} 
[2026-10-05 16:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":204812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:51:11] local.INFO: GPS data processed {"connection_id":204812,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:51:11] local.INFO: Acknowledgment sent {"connection_id":204812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:51:16] local.INFO: TCP Data received {"connection_id":207758,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:51:16] local.INFO: Processing buffer {"connection_id":207758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:51:16] local.INFO: Packet analysis {"connection_id":207758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bca"} 
[2026-10-05 16:51:16] local.INFO: Extracted packet for processing {"connection_id":207758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bca"} 
[2026-10-05 16:51:16] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":49,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 16:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546916864001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 16:51:16] 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-10-05 16:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791199195000,"timestamp_ms":1791199195000,"timestamp_seconds":1791199195,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcaaf78"} 
[2026-10-05 16:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-10-05 16:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546916864001,"66":13243,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546916864001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:51:16] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:51:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 16:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546916864001,"power":13243,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 16:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":207758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968645,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:51:16] local.INFO: GPS data processed {"connection_id":207758,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:51:16] local.INFO: Acknowledgment sent {"connection_id":207758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:51:32] local.INFO: TCP Data received {"connection_id":206221,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:51:32] local.INFO: Processing buffer {"connection_id":206221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:51:32] local.INFO: Packet analysis {"connection_id":206221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc8"} 
[2026-10-05 16:51:32] local.INFO: Extracted packet for processing {"connection_id":206221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc8"} 
[2026-10-05 16:51:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546881792001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791199058000,"timestamp_ms":1791199058000,"timestamp_seconds":1791199058,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc89850"} 
[2026-10-05 16:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:51:32] 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-10-05 16: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-10-05 16:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:51:32] 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-10-05 16:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546881792001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546881792001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:51:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:51:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546881792001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":206221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:51:32] local.INFO: GPS data processed {"connection_id":206221,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:51:32] local.INFO: Acknowledgment sent {"connection_id":206221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:51:36] local.INFO: TCP Data received {"connection_id":207759,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:51:36] local.INFO: Processing buffer {"connection_id":207759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:51:36] local.INFO: IMEI packet received {"connection_id":207759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":207759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:51:41] local.INFO: TCP Data received {"connection_id":207759,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:51:41] local.INFO: Processing buffer {"connection_id":207759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:51:41] local.INFO: IMEI packet received {"connection_id":207759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":207759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:51:42] local.INFO: TCP Data received {"connection_id":204812,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcae628012d1bda000723c9900020008d2c..."} 
[2026-10-05 16:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcae628012d1bda000723c9900020008d2c..."} 
[2026-10-05 16:51:42] local.INFO: Processing buffer {"connection_id":204812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcae628012d1bda000723c9900020008d2c..."} 
[2026-10-05 16:51:42] local.INFO: Packet analysis {"connection_id":204812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bca"} 
[2026-10-05 16:51:42] local.INFO: Extracted packet for processing {"connection_id":204812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bca"} 
[2026-10-05 16:51:42] local.INFO: GPS Element Parsed {"raw_longitude":756800000,"raw_latitude":119785872,"longitude_deg":75.68,"latitude_deg":11.9785872,"altitude":32,"angle":141,"satellites":44,"speed":8,"hex_longitude":"2d1bda00","hex_latitude":"0723c990","is_valid_coordinates":true} 
[2026-10-05 16:51: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-10-05 16:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546997248001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176170576216064,"note":"Value kept but may cause issues"} 
[2026-10-05 16:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2006846245868021760,"note":"Value kept but may cause issues"} 
[2026-10-05 16:51:42] 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-10-05 16:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791199209000,"timestamp_ms":1791199209000,"timestamp_seconds":1791199209,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcae628"} 
[2026-10-05 16:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:51: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-10-05 16:51: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 16:51:42] 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-10-05 16:51: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-10-05 16:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:51: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-10-05 16:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546997248001,"66":13993,"136":206,"83":42752,"24":8,"16":25176170576216064,"45":2006846245868021760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-10-05 16:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546997248001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:51:42] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-10-05 16:51:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176170576216064,"km_value":25176170576216.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2006846245868021760,"description":"Unknown IO ID 45"} 
[2026-10-05 16:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546997248001,"power":13993,"unknown_136":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":2006846245868021760}} 
[2026-10-05 16:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":204812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:51:42] local.INFO: GPS data processed {"connection_id":204812,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:51:42] local.INFO: Acknowledgment sent {"connection_id":204812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:51:42] local.INFO: TCP Data received {"connection_id":207759,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:51:42] local.INFO: Processing buffer {"connection_id":207759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:51:42] local.INFO: Packet analysis {"connection_id":207759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bca"} 
[2026-10-05 16:51:42] local.INFO: Extracted packet for processing {"connection_id":207759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bca"} 
[2026-10-05 16:51:42] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":49,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 16:51: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-10-05 16:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546916864001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 16:51:42] 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-10-05 16:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791199195000,"timestamp_ms":1791199195000,"timestamp_seconds":1791199195,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcaaf78"} 
[2026-10-05 16:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:51: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":29,"data_length":795,"current_offset":136} 
[2026-10-05 16:51:42] 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-10-05 16:51: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-10-05 16:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546916864001,"66":13243,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546916864001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:51:42] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:51:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 16:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546916864001,"power":13243,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 16:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":207759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968648,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:51:42] local.INFO: GPS data processed {"connection_id":207759,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:51:42] local.INFO: Acknowledgment sent {"connection_id":207759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:51:47] local.INFO: TCP Data received {"connection_id":207759,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:51:47] local.INFO: Processing buffer {"connection_id":207759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:51:47] local.INFO: Packet analysis {"connection_id":207759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bca"} 
[2026-10-05 16:51:47] local.INFO: Extracted packet for processing {"connection_id":207759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bca"} 
[2026-10-05 16:51:47] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":49,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 16:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546916864001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 16:51:47] 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-10-05 16:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791199195000,"timestamp_ms":1791199195000,"timestamp_seconds":1791199195,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcaaf78"} 
[2026-10-05 16:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-10-05 16:51:47] 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-10-05 16:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":207759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":207759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":207759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546916864001,"66":13243,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546916864001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:51:47] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:51:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 16:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546916864001,"power":13243,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 16:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":207759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:51:48] local.INFO: GPS data processed {"connection_id":207759,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:51:48] local.INFO: Acknowledgment sent {"connection_id":207759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:51:54] local.INFO: TCP Data received {"connection_id":204688,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:51:54] local.INFO: Processing buffer {"connection_id":204688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:51:54] local.INFO: IMEI packet received {"connection_id":204688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":204688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:51:59] local.INFO: TCP Data received {"connection_id":204688,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:51:59] local.INFO: Processing buffer {"connection_id":204688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:51:59] local.INFO: IMEI packet received {"connection_id":204688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":204688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:52:00] local.INFO: TCP Data received {"connection_id":204688,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:52:00] local.INFO: Processing buffer {"connection_id":204688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:52:00] local.INFO: Packet analysis {"connection_id":204688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc8"} 
[2026-10-05 16:52:00] local.INFO: Extracted packet for processing {"connection_id":204688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc8"} 
[2026-10-05 16:52:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546881792001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791199058000,"timestamp_ms":1791199058000,"timestamp_seconds":1791199058,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc89850"} 
[2026-10-05 16:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546881792001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546881792001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:52:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:52:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546881792001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":204688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:52:00] local.INFO: GPS data processed {"connection_id":204688,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:52:00] local.INFO: Acknowledgment sent {"connection_id":204688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:52:05] local.INFO: TCP Data received {"connection_id":206222,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:52:05] local.INFO: Processing buffer {"connection_id":206222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:52:05] local.INFO: IMEI packet received {"connection_id":206222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 16:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":206222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:52:06] local.INFO: TCP Data received {"connection_id":207757,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207757,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:52:06] local.INFO: Processing buffer {"connection_id":207757,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:52:06] local.INFO: IMEI packet received {"connection_id":207757,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 16:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":207757,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:52:08] local.INFO: TCP Data received {"connection_id":206222,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:52:08] local.INFO: Processing buffer {"connection_id":206222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:52:08] local.INFO: IMEI packet received {"connection_id":206222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":206222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:52:08] local.INFO: TCP Data received {"connection_id":206222,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcaea10012d1bdb000723c8f0002000802c..."} 
[2026-10-05 16:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcaea10012d1bdb000723c8f0002000802c..."} 
[2026-10-05 16:52:08] local.INFO: Processing buffer {"connection_id":206222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcaea10012d1bdb000723c8f0002000802c..."} 
[2026-10-05 16:52:08] local.INFO: Packet analysis {"connection_id":206222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bca"} 
[2026-10-05 16:52:08] local.INFO: Extracted packet for processing {"connection_id":206222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bca"} 
[2026-10-05 16:52:08] local.INFO: GPS Element Parsed {"raw_longitude":756800256,"raw_latitude":119785712,"longitude_deg":75.6800256,"latitude_deg":11.9785712,"altitude":32,"angle":128,"satellites":44,"speed":9,"hex_longitude":"2d1bdb00","hex_latitude":"0723c8f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 16:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546997504001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176183461117952,"note":"Value kept but may cause issues"} 
[2026-10-05 16:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2006916614612160512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:52:08] 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-10-05 16:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791199210000,"timestamp_ms":1791199210000,"timestamp_seconds":1791199210,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcaea10"} 
[2026-10-05 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-10-05 16:52: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-10-05 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 16:52:08] 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-10-05 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-10-05 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-10-05 16:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:52:08] 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-10-05 16:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546997504001,"66":14265,"136":206,"83":42752,"24":9,"16":25176183461117952,"45":2006916614612160512},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-10-05 16:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546997504001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:52:08] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-10-05 16:52:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176183461117952,"km_value":25176183461117.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2006916614612160512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546997504001,"power":14265,"unknown_136":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":2006916614612160512}} 
[2026-10-05 16:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":206222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:52:08] local.INFO: GPS data processed {"connection_id":206222,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:52:08] local.INFO: Acknowledgment sent {"connection_id":206222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:52:31] local.INFO: TCP Data received {"connection_id":204689,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:52:31] local.INFO: Processing buffer {"connection_id":204689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:52:31] local.INFO: IMEI packet received {"connection_id":204689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":204689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:52:31] local.INFO: TCP Data received {"connection_id":204688,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:52:31] local.INFO: Processing buffer {"connection_id":204688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:52:31] local.INFO: Packet analysis {"connection_id":204688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc8"} 
[2026-10-05 16:52:31] local.INFO: Extracted packet for processing {"connection_id":204688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc8"} 
[2026-10-05 16:52:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546881792001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791199058000,"timestamp_ms":1791199058000,"timestamp_seconds":1791199058,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc89850"} 
[2026-10-05 16:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546881792001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546881792001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:52:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:52:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546881792001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":204688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:52:31] local.INFO: GPS data processed {"connection_id":204688,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:52:31] local.INFO: Acknowledgment sent {"connection_id":204688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:52:34] local.INFO: TCP Data received {"connection_id":204690,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:52:34] local.INFO: Processing buffer {"connection_id":204690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:52:34] local.INFO: IMEI packet received {"connection_id":204690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 16:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":204690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:52:36] local.INFO: TCP Data received {"connection_id":204689,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:52:36] local.INFO: Processing buffer {"connection_id":204689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:52:36] local.INFO: IMEI packet received {"connection_id":204689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":204689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:52:37] local.INFO: TCP Data received {"connection_id":204689,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:52:37] local.INFO: Processing buffer {"connection_id":204689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:52:37] local.INFO: Packet analysis {"connection_id":204689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bca"} 
[2026-10-05 16:52:37] local.INFO: Extracted packet for processing {"connection_id":204689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bca"} 
[2026-10-05 16:52:37] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":49,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546916864001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 16:52: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-10-05 16:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791199195000,"timestamp_ms":1791199195000,"timestamp_seconds":1791199195,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcaaf78"} 
[2026-10-05 16:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":29,"data_length":795,"current_offset":136} 
[2026-10-05 16:52:37] 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-10-05 16: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-10-05 16:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546916864001,"66":13243,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546916864001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:52:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:52:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 16:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546916864001,"power":13243,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 16:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":204689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:52:37] local.INFO: GPS data processed {"connection_id":204689,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:52:37] local.INFO: Acknowledgment sent {"connection_id":204689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:52:39] local.INFO: TCP Data received {"connection_id":206222,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcb2c78012d1bf6800723b048002300822b..."} 
[2026-10-05 16:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcb2c78012d1bf6800723b048002300822b..."} 
[2026-10-05 16:52:39] local.INFO: Processing buffer {"connection_id":206222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcb2c78012d1bf6800723b048002300822b..."} 
[2026-10-05 16:52:39] local.INFO: Packet analysis {"connection_id":206222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcb"} 
[2026-10-05 16:52:39] local.INFO: Extracted packet for processing {"connection_id":206222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcb"} 
[2026-10-05 16:52:39] local.INFO: GPS Element Parsed {"raw_longitude":756807296,"raw_latitude":119779400,"longitude_deg":75.6807296,"latitude_deg":11.97794,"altitude":35,"angle":130,"satellites":43,"speed":28,"hex_longitude":"2d1bf680","hex_latitude":"0723b048","is_valid_coordinates":true} 
[2026-10-05 16:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546997760001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176638727651328,"note":"Value kept but may cause issues"} 
[2026-10-05 16:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2007198089588830208,"note":"Value kept but may cause issues"} 
[2026-10-05 16:52:39] 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-10-05 16:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791199227000,"timestamp_ms":1791199227000,"timestamp_seconds":1791199227,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcb2c78"} 
[2026-10-05 16:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:52:39] 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-10-05 16:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-05 16:52: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-10-05 16:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":206222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":206222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":206222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:52:39] 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-10-05 16:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546997760001,"66":13004,"176":206,"83":42752,"24":28,"16":25176638727651328,"45":2007198089588830208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 16:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546997760001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:52:39] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 16:52:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176638727651328,"km_value":25176638727651.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2007198089588830208,"description":"Unknown IO ID 45"} 
[2026-10-05 16:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546997760001,"power":13004,"unknown_176":206,"unknown_83":42752,"ignition":28,"odometer":null,"unknown_45":2007198089588830208}} 
[2026-10-05 16:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":206222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:52:40] local.INFO: GPS data processed {"connection_id":206222,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:52:40] local.INFO: Acknowledgment sent {"connection_id":206222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:52:54] local.INFO: TCP Data received {"connection_id":204814,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:52:54] local.INFO: Processing buffer {"connection_id":204814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:52:54] local.INFO: IMEI packet received {"connection_id":204814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":204814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:52:59] local.INFO: TCP Data received {"connection_id":204814,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:52:59] local.INFO: Processing buffer {"connection_id":204814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:52:59] local.INFO: IMEI packet received {"connection_id":204814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":204814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:53:00] local.INFO: TCP Data received {"connection_id":204814,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:53:00] local.INFO: Processing buffer {"connection_id":204814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bc89850012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:53:00] local.INFO: Packet analysis {"connection_id":204814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bc8"} 
[2026-10-05 16:53:00] local.INFO: Extracted packet for processing {"connection_id":204814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bc8"} 
[2026-10-05 16:53:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546881792001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791199058000,"timestamp_ms":1791199058000,"timestamp_seconds":1791199058,"priority":1,"record_length":96,"hex_timestamp":"000001a10bc89850"} 
[2026-10-05 16:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546881792001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546881792001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:53:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:53:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546881792001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":204814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:53:00] local.INFO: GPS data processed {"connection_id":204814,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:53:00] local.INFO: Acknowledgment sent {"connection_id":204814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:53:04] local.INFO: TCP Data received {"connection_id":207760,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:53:04] local.INFO: Processing buffer {"connection_id":207760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:53:04] local.INFO: IMEI packet received {"connection_id":207760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 16:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":207760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:53:09] local.INFO: TCP Data received {"connection_id":204689,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:53:09] local.INFO: Processing buffer {"connection_id":204689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:53:09] local.INFO: Packet analysis {"connection_id":204689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bca"} 
[2026-10-05 16:53:09] local.INFO: Extracted packet for processing {"connection_id":204689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bca"} 
[2026-10-05 16:53:09] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":49,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 16:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546916864001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 16:53:09] 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-10-05 16:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791199195000,"timestamp_ms":1791199195000,"timestamp_seconds":1791199195,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcaaf78"} 
[2026-10-05 16:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-10-05 16:53:09] 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-10-05 16:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546916864001,"66":13243,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546916864001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:53:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:53:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 16:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546916864001,"power":13243,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 16:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":204689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:53:09] local.INFO: GPS data processed {"connection_id":204689,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:53:09] local.INFO: Acknowledgment sent {"connection_id":204689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:53:10] local.INFO: TCP Data received {"connection_id":207760,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:53:10] local.INFO: Processing buffer {"connection_id":207760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:53:10] local.INFO: IMEI packet received {"connection_id":207760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":207760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:53:10] local.INFO: TCP Data received {"connection_id":207760,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcb7e80012d1c0a0007239fb0001f007e2b..."} 
[2026-10-05 16:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcb7e80012d1c0a0007239fb0001f007e2b..."} 
[2026-10-05 16:53:10] local.INFO: Processing buffer {"connection_id":207760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcb7e80012d1c0a0007239fb0001f007e2b..."} 
[2026-10-05 16:53:10] local.INFO: Packet analysis {"connection_id":207760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcb"} 
[2026-10-05 16:53:10] local.INFO: Extracted packet for processing {"connection_id":207760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcb"} 
[2026-10-05 16:53:10] local.INFO: GPS Element Parsed {"raw_longitude":756812288,"raw_latitude":119775152,"longitude_deg":75.6812288,"latitude_deg":11.9775152,"altitude":31,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d1c0a00","hex_latitude":"07239fb0","is_valid_coordinates":true} 
[2026-10-05 16:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547002112001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176952260263936,"note":"Value kept but may cause issues"} 
[2026-10-05 16:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2014938651446757376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:53:10] 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-10-05 16:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791199248000,"timestamp_ms":1791199248000,"timestamp_seconds":1791199248,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcb7e80"} 
[2026-10-05 16:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:53: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-10-05 16:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-10-05 16:53:10] 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-10-05 16:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:53:10] 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-10-05 16:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547002112001,"66":13048,"176":206,"83":42752,"24":0,"16":25176952260263936,"45":2014938651446757376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 16:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547002112001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:53:10] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 16:53:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176952260263936,"km_value":25176952260263.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":2014938651446757376,"description":"Unknown IO ID 45"} 
[2026-10-05 16:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547002112001,"power":13048,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2014938651446757376}} 
[2026-10-05 16:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":207760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:53:10] local.INFO: GPS data processed {"connection_id":207760,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:53:10] local.INFO: Acknowledgment sent {"connection_id":207760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:53:31] local.INFO: TCP Data received {"connection_id":206223,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206223,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:53:31] local.INFO: Processing buffer {"connection_id":206223,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:53:31] local.INFO: IMEI packet received {"connection_id":206223,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":206223,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:53:31] local.INFO: TCP Data received {"connection_id":204814,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:53:31] local.INFO: Processing buffer {"connection_id":204814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:53:31] local.INFO: Packet analysis {"connection_id":204814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcd"} 
[2026-10-05 16:53:31] local.INFO: Extracted packet for processing {"connection_id":204814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcd"} 
[2026-10-05 16:53:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546958848001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791199359000,"timestamp_ms":1791199359000,"timestamp_seconds":1791199359,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcd3018"} 
[2026-10-05 16:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546958848001,"66":25962,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546958848001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:53:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:53:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546958848001,"power":25962,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":204814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:53:31] local.INFO: GPS data processed {"connection_id":204814,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:53:31] local.INFO: Acknowledgment sent {"connection_id":204814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:53:36] local.INFO: TCP Data received {"connection_id":206223,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206223,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:53:36] local.INFO: Processing buffer {"connection_id":206223,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:53:36] local.INFO: IMEI packet received {"connection_id":206223,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":206223,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:53:37] local.INFO: TCP Data received {"connection_id":206223,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:53:37] local.INFO: Processing buffer {"connection_id":206223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:53:37] local.INFO: Packet analysis {"connection_id":206223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bca"} 
[2026-10-05 16:53:37] local.INFO: Extracted packet for processing {"connection_id":206223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bca"} 
[2026-10-05 16:53:37] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":49,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546916864001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 16:53: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-10-05 16:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791199195000,"timestamp_ms":1791199195000,"timestamp_seconds":1791199195,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcaaf78"} 
[2026-10-05 16:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-10-05 16:53:37] 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-10-05 16:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546916864001,"66":13243,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 16:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546916864001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:53:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:53:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 16:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546916864001,"power":13243,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 16:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":206223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:53:37] local.INFO: GPS data processed {"connection_id":206223,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:53:37] local.INFO: Acknowledgment sent {"connection_id":206223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:53:41] local.INFO: TCP Data received {"connection_id":207760,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcbd088012d1c0a8007239f38001f007e2b..."} 
[2026-10-05 16:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcbd088012d1c0a8007239f38001f007e2b..."} 
[2026-10-05 16:53:41] local.INFO: Processing buffer {"connection_id":207760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcbd088012d1c0a8007239f38001f007e2b..."} 
[2026-10-05 16:53:41] local.INFO: Packet analysis {"connection_id":207760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcb"} 
[2026-10-05 16:53:41] local.INFO: Extracted packet for processing {"connection_id":207760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcb"} 
[2026-10-05 16:53:41] local.INFO: GPS Element Parsed {"raw_longitude":756812416,"raw_latitude":119775032,"longitude_deg":75.6812416,"latitude_deg":11.9775032,"altitude":31,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d1c0a80","hex_latitude":"07239f38","is_valid_coordinates":true} 
[2026-10-05 16:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547007488001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176965145165824,"note":"Value kept but may cause issues"} 
[2026-10-05 16:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020427413491527680,"note":"Value kept but may cause issues"} 
[2026-10-05 16:53:41] 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-10-05 16:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791199269000,"timestamp_ms":1791199269000,"timestamp_seconds":1791199269,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcbd088"} 
[2026-10-05 16:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:53:41] 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-10-05 16:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 16:53:41] 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-10-05 16:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":207760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":207760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":207760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:53:41] 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-10-05 16:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547007488001,"66":13004,"176":206,"83":42752,"24":0,"16":25176965145165824,"45":2020427413491527680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 16:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547007488001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:53:41] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 16:53:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176965145165824,"km_value":25176965145165.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020427413491527680,"description":"Unknown IO ID 45"} 
[2026-10-05 16:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547007488001,"power":13004,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2020427413491527680}} 
[2026-10-05 16:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":207760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:53:42] local.INFO: GPS data processed {"connection_id":207760,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:53:42] local.INFO: Acknowledgment sent {"connection_id":207760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:53:54] local.INFO: TCP Data received {"connection_id":206224,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:53:54] local.INFO: Processing buffer {"connection_id":206224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:53:54] local.INFO: IMEI packet received {"connection_id":206224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":206224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:53:59] local.INFO: TCP Data received {"connection_id":206224,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:53:59] local.INFO: Processing buffer {"connection_id":206224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:53:59] local.INFO: IMEI packet received {"connection_id":206224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":206224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:54:00] local.INFO: TCP Data received {"connection_id":206224,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:54:00] local.INFO: Processing buffer {"connection_id":206224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:54:00] local.INFO: Packet analysis {"connection_id":206224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcd"} 
[2026-10-05 16:54:00] local.INFO: Extracted packet for processing {"connection_id":206224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcd"} 
[2026-10-05 16:54:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546958848001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791199359000,"timestamp_ms":1791199359000,"timestamp_seconds":1791199359,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcd3018"} 
[2026-10-05 16:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546958848001,"66":25962,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546958848001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:54:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:54:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546958848001,"power":25962,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":206224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:54:00] local.INFO: GPS data processed {"connection_id":206224,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:54:00] local.INFO: Acknowledgment sent {"connection_id":206224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:54:04] local.INFO: TCP Data received {"connection_id":204692,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:54:04] local.INFO: Processing buffer {"connection_id":204692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:54:04] local.INFO: IMEI packet received {"connection_id":204692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 16:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":204692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:54:10] local.INFO: TCP Data received {"connection_id":206223,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:54:10] local.INFO: Processing buffer {"connection_id":206223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:54:10] local.INFO: Packet analysis {"connection_id":206223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bca"} 
[2026-10-05 16:54:10] local.INFO: Extracted packet for processing {"connection_id":206223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bca"} 
[2026-10-05 16:54:10] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":49,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546916864001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 16:54:10] 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-10-05 16:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791199195000,"timestamp_ms":1791199195000,"timestamp_seconds":1791199195,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcaaf78"} 
[2026-10-05 16:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-10-05 16:54:10] 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-10-05 16: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-10-05 16:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":206223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":206223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":206223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:54: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-10-05 16:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546916864001,"66":13243,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 16:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546916864001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:54:10] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 16:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546916864001,"power":13243,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 16:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":206223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968662,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:54:10] local.INFO: GPS data processed {"connection_id":206223,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:54:10] local.INFO: Acknowledgment sent {"connection_id":206223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:54:10] local.INFO: TCP Data received {"connection_id":204692,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:54:10] local.INFO: Processing buffer {"connection_id":204692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:54:10] local.INFO: IMEI packet received {"connection_id":204692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":204692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:54:11] local.INFO: TCP Data received {"connection_id":204692,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcc2290012d1c0a8007239f38001f007e2d..."} 
[2026-10-05 16:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcc2290012d1c0a8007239f38001f007e2d..."} 
[2026-10-05 16:54:11] local.INFO: Processing buffer {"connection_id":204692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcc2290012d1c0a8007239f38001f007e2d..."} 
[2026-10-05 16:54:11] local.INFO: Packet analysis {"connection_id":204692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcc"} 
[2026-10-05 16:54:11] local.INFO: Extracted packet for processing {"connection_id":204692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcc"} 
[2026-10-05 16:54:11] local.INFO: GPS Element Parsed {"raw_longitude":756812416,"raw_latitude":119775032,"longitude_deg":75.6812416,"latitude_deg":11.9775032,"altitude":31,"angle":126,"satellites":45,"speed":0,"hex_longitude":"2d1c0a80","hex_latitude":"07239f38","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547012864001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176965145165824,"note":"Value kept but may cause issues"} 
[2026-10-05 16:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020568150979852288,"note":"Value kept but may cause issues"} 
[2026-10-05 16:54:11] 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-10-05 16:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791199290000,"timestamp_ms":1791199290000,"timestamp_seconds":1791199290,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcc2290"} 
[2026-10-05 16:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-10-05 16:54:11] 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-10-05 16: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-10-05 16:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:54:11] 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-10-05 16:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547012864001,"66":12939,"176":206,"83":42752,"24":0,"16":25176965145165824,"45":2020568150979852288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 16:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547012864001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:54:11] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 16:54:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176965145165824,"km_value":25176965145165.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020568150979852288,"description":"Unknown IO ID 45"} 
[2026-10-05 16:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547012864001,"power":12939,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2020568150979852288}} 
[2026-10-05 16:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":204692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:54:11] local.INFO: GPS data processed {"connection_id":204692,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:54:11] local.INFO: Acknowledgment sent {"connection_id":204692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:54:30] local.INFO: TCP Data received {"connection_id":204815,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:54:30] local.INFO: Processing buffer {"connection_id":204815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:54:30] local.INFO: IMEI packet received {"connection_id":204815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":204815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:54:31] local.INFO: TCP Data received {"connection_id":206224,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:54:31] local.INFO: Processing buffer {"connection_id":206224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:54:31] local.INFO: Packet analysis {"connection_id":206224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcd"} 
[2026-10-05 16:54:31] local.INFO: Extracted packet for processing {"connection_id":206224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcd"} 
[2026-10-05 16:54:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546958848001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791199359000,"timestamp_ms":1791199359000,"timestamp_seconds":1791199359,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcd3018"} 
[2026-10-05 16:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546958848001,"66":25962,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546958848001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:54:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:54:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546958848001,"power":25962,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":206224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:54:31] local.INFO: GPS data processed {"connection_id":206224,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:54:31] local.INFO: Acknowledgment sent {"connection_id":206224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:54:36] local.INFO: TCP Data received {"connection_id":204815,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:54:36] local.INFO: Processing buffer {"connection_id":204815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:54:36] local.INFO: IMEI packet received {"connection_id":204815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":204815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:54:37] local.INFO: TCP Data received {"connection_id":204815,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:54:37] local.INFO: Processing buffer {"connection_id":204815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcaaf78012d7a204005e46818000d014e31..."} 
[2026-10-05 16:54:37] local.INFO: Packet analysis {"connection_id":204815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bca"} 
[2026-10-05 16:54:37] local.INFO: Extracted packet for processing {"connection_id":204815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bca"} 
[2026-10-05 16:54:37] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":49,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 16:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546916864001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 16:54: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-10-05 16:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791199195000,"timestamp_ms":1791199195000,"timestamp_seconds":1791199195,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcaaf78"} 
[2026-10-05 16:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-10-05 16:54:37] 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-10-05 16: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-10-05 16:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546916864001,"66":13243,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 16:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546916864001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:54:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:54:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 16:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546916864001,"power":13243,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 16:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":204815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968665,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:54:37] local.INFO: GPS data processed {"connection_id":204815,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:54:37] local.INFO: Acknowledgment sent {"connection_id":204815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:54:42] local.INFO: TCP Data received {"connection_id":204692,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcc7498012d1c0a8007239f38001f007e2b..."} 
[2026-10-05 16:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcc7498012d1c0a8007239f38001f007e2b..."} 
[2026-10-05 16:54:42] local.INFO: Processing buffer {"connection_id":204692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcc7498012d1c0a8007239f38001f007e2b..."} 
[2026-10-05 16:54:42] local.INFO: Packet analysis {"connection_id":204692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcc"} 
[2026-10-05 16:54:42] local.INFO: Extracted packet for processing {"connection_id":204692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcc"} 
[2026-10-05 16:54:42] local.INFO: GPS Element Parsed {"raw_longitude":756812416,"raw_latitude":119775032,"longitude_deg":75.6812416,"latitude_deg":11.9775032,"altitude":31,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d1c0a80","hex_latitude":"07239f38","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547018240001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176965145165824,"note":"Value kept but may cause issues"} 
[2026-10-05 16:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020568150979852288,"note":"Value kept but may cause issues"} 
[2026-10-05 16:54:42] 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-10-05 16:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791199311000,"timestamp_ms":1791199311000,"timestamp_seconds":1791199311,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcc7498"} 
[2026-10-05 16:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:54: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-10-05 16: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 16:54:42] 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-10-05 16: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-10-05 16:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:54: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-10-05 16:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547018240001,"66":12885,"176":206,"83":42752,"24":0,"16":25176965145165824,"45":2020568150979852288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 16:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547018240001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:54:42] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 16:54:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176965145165824,"km_value":25176965145165.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020568150979852288,"description":"Unknown IO ID 45"} 
[2026-10-05 16:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547018240001,"power":12885,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2020568150979852288}} 
[2026-10-05 16:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":204692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:54:42] local.INFO: GPS data processed {"connection_id":204692,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:54:42] local.INFO: Acknowledgment sent {"connection_id":204692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:54:55] local.INFO: TCP Data received {"connection_id":204816,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:54:55] local.INFO: Processing buffer {"connection_id":204816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:54:55] local.INFO: IMEI packet received {"connection_id":204816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":204816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:54:59] local.INFO: TCP Data received {"connection_id":204816,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:54:59] local.INFO: Processing buffer {"connection_id":204816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:54:59] local.INFO: IMEI packet received {"connection_id":204816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":204816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:55:01] local.INFO: TCP Data received {"connection_id":204816,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:55:01] local.INFO: Processing buffer {"connection_id":204816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:55:01] local.INFO: Packet analysis {"connection_id":204816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcd"} 
[2026-10-05 16:55:01] local.INFO: Extracted packet for processing {"connection_id":204816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcd"} 
[2026-10-05 16:55:01] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546958848001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791199359000,"timestamp_ms":1791199359000,"timestamp_seconds":1791199359,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcd3018"} 
[2026-10-05 16:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:55: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-10-05 16:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546958848001,"66":25962,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546958848001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:55:01] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:55:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546958848001,"power":25962,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":204816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:55:01] local.INFO: GPS data processed {"connection_id":204816,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:55:01] local.INFO: Acknowledgment sent {"connection_id":204816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:55:05] local.INFO: TCP Data received {"connection_id":204693,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:55:05] local.INFO: Processing buffer {"connection_id":204693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:55:05] local.INFO: IMEI packet received {"connection_id":204693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 16:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":204693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:55:09] local.INFO: TCP Data received {"connection_id":204693,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:55:09] local.INFO: Processing buffer {"connection_id":204693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:55:09] local.INFO: IMEI packet received {"connection_id":204693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":204693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:55:10] local.INFO: TCP Data received {"connection_id":204815,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:55:10] local.INFO: Processing buffer {"connection_id":204815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:55:10] local.INFO: Packet analysis {"connection_id":204815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 16:55:10] local.INFO: Extracted packet for processing {"connection_id":204815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 16:55:10] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":48,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 16:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546993920001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 16:55:10] 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-10-05 16:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791199496000,"timestamp_ms":1791199496000,"timestamp_seconds":1791199496,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcf4740"} 
[2026-10-05 16:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-05 16:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:55: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-10-05 16:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546993920001,"66":13178,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 16:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546993920001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:55:10] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 16:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546993920001,"power":13178,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 16:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":204815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968668,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:55:10] local.INFO: GPS data processed {"connection_id":204815,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:55:10] local.INFO: Acknowledgment sent {"connection_id":204815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:55:10] local.INFO: TCP Data received {"connection_id":204693,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bccc6a0012d1c0a8007239f38001f007e2c..."} 
[2026-10-05 16:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bccc6a0012d1c0a8007239f38001f007e2c..."} 
[2026-10-05 16:55:10] local.INFO: Processing buffer {"connection_id":204693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bccc6a0012d1c0a8007239f38001f007e2c..."} 
[2026-10-05 16:55:10] local.INFO: Packet analysis {"connection_id":204693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcc"} 
[2026-10-05 16:55:10] local.INFO: Extracted packet for processing {"connection_id":204693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcc"} 
[2026-10-05 16:55:10] local.INFO: GPS Element Parsed {"raw_longitude":756812416,"raw_latitude":119775032,"longitude_deg":75.6812416,"latitude_deg":11.9775032,"altitude":31,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d1c0a80","hex_latitude":"07239f38","is_valid_coordinates":true} 
[2026-10-05 16:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547023616001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176965145165824,"note":"Value kept but may cause issues"} 
[2026-10-05 16:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020568150979852288,"note":"Value kept but may cause issues"} 
[2026-10-05 16:55:10] 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-10-05 16:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791199332000,"timestamp_ms":1791199332000,"timestamp_seconds":1791199332,"priority":1,"record_length":96,"hex_timestamp":"000001a10bccc6a0"} 
[2026-10-05 16:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:55: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-10-05 16:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 16:55:10] 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-10-05 16:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:55:10] 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-10-05 16:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547023616001,"66":12950,"176":206,"83":42752,"24":0,"16":25176965145165824,"45":2020568150979852288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 16:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547023616001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:55:10] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 16:55:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176965145165824,"km_value":25176965145165.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020568150979852288,"description":"Unknown IO ID 45"} 
[2026-10-05 16:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547023616001,"power":12950,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2020568150979852288}} 
[2026-10-05 16:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":204693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:55:10] local.INFO: GPS data processed {"connection_id":204693,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:55:10] local.INFO: Acknowledgment sent {"connection_id":204693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:55:32] local.INFO: TCP Data received {"connection_id":204816,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:55:32] local.INFO: Processing buffer {"connection_id":204816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:55:32] local.INFO: Packet analysis {"connection_id":204816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcd"} 
[2026-10-05 16:55:32] local.INFO: Extracted packet for processing {"connection_id":204816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcd"} 
[2026-10-05 16:55:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546958848001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791199359000,"timestamp_ms":1791199359000,"timestamp_seconds":1791199359,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcd3018"} 
[2026-10-05 16:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:55:32] 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-10-05 16: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-10-05 16:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:55:32] 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-10-05 16:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546958848001,"66":25962,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546958848001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:55:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:55:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546958848001,"power":25962,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":204816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:55:32] local.INFO: GPS data processed {"connection_id":204816,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:55:32] local.INFO: Acknowledgment sent {"connection_id":204816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:55:36] local.INFO: TCP Data received {"connection_id":204694,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:55:36] local.INFO: Processing buffer {"connection_id":204694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:55:36] local.INFO: IMEI packet received {"connection_id":204694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":204694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:55:41] local.INFO: TCP Data received {"connection_id":204694,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:55:41] local.INFO: Processing buffer {"connection_id":204694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:55:41] local.INFO: IMEI packet received {"connection_id":204694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":204694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:55:41] local.INFO: TCP Data received {"connection_id":204693,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcd18a8012d1c0a8007239f38001f007e2c..."} 
[2026-10-05 16:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcd18a8012d1c0a8007239f38001f007e2c..."} 
[2026-10-05 16:55:41] local.INFO: Processing buffer {"connection_id":204693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcd18a8012d1c0a8007239f38001f007e2c..."} 
[2026-10-05 16:55:41] local.INFO: Packet analysis {"connection_id":204693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcd"} 
[2026-10-05 16:55:41] local.INFO: Extracted packet for processing {"connection_id":204693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcd"} 
[2026-10-05 16:55:41] local.INFO: GPS Element Parsed {"raw_longitude":756812416,"raw_latitude":119775032,"longitude_deg":75.6812416,"latitude_deg":11.9775032,"altitude":31,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d1c0a80","hex_latitude":"07239f38","is_valid_coordinates":true} 
[2026-10-05 16:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547028992001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176965145165824,"note":"Value kept but may cause issues"} 
[2026-10-05 16:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020568150979852288,"note":"Value kept but may cause issues"} 
[2026-10-05 16:55:41] 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-10-05 16:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791199353000,"timestamp_ms":1791199353000,"timestamp_seconds":1791199353,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcd18a8"} 
[2026-10-05 16:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:55:41] 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-10-05 16:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 16:55:41] 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-10-05 16:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:55:41] 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-10-05 16:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547028992001,"66":12874,"176":206,"83":42752,"24":0,"16":25176965145165824,"45":2020568150979852288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 16:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547028992001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:55:41] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 16:55:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176965145165824,"km_value":25176965145165.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020568150979852288,"description":"Unknown IO ID 45"} 
[2026-10-05 16:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547028992001,"power":12874,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2020568150979852288}} 
[2026-10-05 16:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":204693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:55:41] local.INFO: GPS data processed {"connection_id":204693,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:55:41] local.INFO: Acknowledgment sent {"connection_id":204693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:55:43] local.INFO: TCP Data received {"connection_id":204694,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:55:43] local.INFO: Processing buffer {"connection_id":204694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:55:43] local.INFO: Packet analysis {"connection_id":204694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 16:55:43] local.INFO: Extracted packet for processing {"connection_id":204694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 16:55:43] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":48,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546993920001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 16:55:43] 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-10-05 16:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791199496000,"timestamp_ms":1791199496000,"timestamp_seconds":1791199496,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcf4740"} 
[2026-10-05 16:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-05 16:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546993920001,"66":13178,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546993920001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:55:43] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:55:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 16:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546993920001,"power":13178,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 16:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":204694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968672,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:55:43] local.INFO: GPS data processed {"connection_id":204694,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:55:43] local.INFO: Acknowledgment sent {"connection_id":204694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:55:47] local.INFO: TCP Data received {"connection_id":204694,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:55:47] local.INFO: Processing buffer {"connection_id":204694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:55:47] local.INFO: Packet analysis {"connection_id":204694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 16:55:47] local.INFO: Extracted packet for processing {"connection_id":204694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 16:55:47] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":48,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 16:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546993920001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 16:55:47] 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-10-05 16:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791199496000,"timestamp_ms":1791199496000,"timestamp_seconds":1791199496,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcf4740"} 
[2026-10-05 16:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-05 16:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":204694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":204694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":204694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546993920001,"66":13178,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546993920001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:55:47] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:55:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 16:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546993920001,"power":13178,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 16:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":204694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:55:47] local.INFO: GPS data processed {"connection_id":204694,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:55:47] local.INFO: Acknowledgment sent {"connection_id":204694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:55:54] local.INFO: TCP Data received {"connection_id":206225,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:55:54] local.INFO: Processing buffer {"connection_id":206225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:55:54] local.INFO: IMEI packet received {"connection_id":206225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":206225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:55:59] local.INFO: TCP Data received {"connection_id":206225,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:55:59] local.INFO: Processing buffer {"connection_id":206225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:55:59] local.INFO: IMEI packet received {"connection_id":206225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":206225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:56:00] local.INFO: TCP Data received {"connection_id":206225,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:56:00] local.INFO: Processing buffer {"connection_id":206225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:56:00] local.INFO: Packet analysis {"connection_id":206225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcd"} 
[2026-10-05 16:56:00] local.INFO: Extracted packet for processing {"connection_id":206225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcd"} 
[2026-10-05 16:56:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 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-10-05 16:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546958848001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791199359000,"timestamp_ms":1791199359000,"timestamp_seconds":1791199359,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcd3018"} 
[2026-10-05 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-10-05 16:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 16:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:56: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-10-05 16:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546958848001,"66":25962,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546958848001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:56:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:56:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546958848001,"power":25962,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":206225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:56:00] local.INFO: GPS data processed {"connection_id":206225,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:56:00] local.INFO: Acknowledgment sent {"connection_id":206225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:56:10] local.INFO: TCP Data received {"connection_id":204696,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:56:10] local.INFO: Processing buffer {"connection_id":204696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:56:10] local.INFO: IMEI packet received {"connection_id":204696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 16:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":204696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:56:14] local.INFO: TCP Data received {"connection_id":204696,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:56:14] local.INFO: Processing buffer {"connection_id":204696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:56:14] local.INFO: IMEI packet received {"connection_id":204696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":204696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:56:15] local.INFO: TCP Data received {"connection_id":204696,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcd6ab0012d1c0a8007239f38001f007e2b..."} 
[2026-10-05 16:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcd6ab0012d1c0a8007239f38001f007e2b..."} 
[2026-10-05 16:56:15] local.INFO: Processing buffer {"connection_id":204696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcd6ab0012d1c0a8007239f38001f007e2b..."} 
[2026-10-05 16:56:15] local.INFO: Packet analysis {"connection_id":204696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcd"} 
[2026-10-05 16:56:15] local.INFO: Extracted packet for processing {"connection_id":204696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcd"} 
[2026-10-05 16:56:15] local.INFO: GPS Element Parsed {"raw_longitude":756812416,"raw_latitude":119775032,"longitude_deg":75.6812416,"latitude_deg":11.9775032,"altitude":31,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d1c0a80","hex_latitude":"07239f38","is_valid_coordinates":true} 
[2026-10-05 16:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547034368001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176965145165824,"note":"Value kept but may cause issues"} 
[2026-10-05 16:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020568150979852288,"note":"Value kept but may cause issues"} 
[2026-10-05 16:56:15] 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-10-05 16:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791199374000,"timestamp_ms":1791199374000,"timestamp_seconds":1791199374,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcd6ab0"} 
[2026-10-05 16:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:56: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-10-05 16:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-10-05 16:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547034368001,"66":12863,"176":206,"83":42752,"24":0,"16":25176965145165824,"45":2020568150979852288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 16:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547034368001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:56:15] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 16:56:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176965145165824,"km_value":25176965145165.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020568150979852288,"description":"Unknown IO ID 45"} 
[2026-10-05 16:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547034368001,"power":12863,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2020568150979852288}} 
[2026-10-05 16:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":204696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:56:15] local.INFO: GPS data processed {"connection_id":204696,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:56:15] local.INFO: Acknowledgment sent {"connection_id":204696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:56:20] local.INFO: TCP Data received {"connection_id":204696,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcdbcb8012d1c0a8007239f38001f007e2b..."} 
[2026-10-05 16:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcdbcb8012d1c0a8007239f38001f007e2b..."} 
[2026-10-05 16:56:20] local.INFO: Processing buffer {"connection_id":204696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcdbcb8012d1c0a8007239f38001f007e2b..."} 
[2026-10-05 16:56:20] local.INFO: Packet analysis {"connection_id":204696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcd"} 
[2026-10-05 16:56:20] local.INFO: Extracted packet for processing {"connection_id":204696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcd"} 
[2026-10-05 16:56:20] local.INFO: GPS Element Parsed {"raw_longitude":756812416,"raw_latitude":119775032,"longitude_deg":75.6812416,"latitude_deg":11.9775032,"altitude":31,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d1c0a80","hex_latitude":"07239f38","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547039744001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176965145165824,"note":"Value kept but may cause issues"} 
[2026-10-05 16:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020568150979852288,"note":"Value kept but may cause issues"} 
[2026-10-05 16:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791199395000,"timestamp_ms":1791199395000,"timestamp_seconds":1791199395,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcdbcb8"} 
[2026-10-05 16:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 16:56:20] 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-10-05 16: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-10-05 16:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":204696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":204696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":204696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:56:20] 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-10-05 16:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547039744001,"66":12809,"176":206,"83":42752,"24":0,"16":25176965145165824,"45":2020568150979852288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 16:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547039744001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:56:20] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 16:56:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176965145165824,"km_value":25176965145165.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020568150979852288,"description":"Unknown IO ID 45"} 
[2026-10-05 16:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547039744001,"power":12809,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2020568150979852288}} 
[2026-10-05 16:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":204696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:56:20] local.INFO: GPS data processed {"connection_id":204696,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:56:20] local.INFO: Acknowledgment sent {"connection_id":204696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:56:31] local.INFO: TCP Data received {"connection_id":206226,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:56:31] local.INFO: Processing buffer {"connection_id":206226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:56:31] local.INFO: IMEI packet received {"connection_id":206226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":206226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:56:32] local.INFO: TCP Data received {"connection_id":206225,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:56:32] local.INFO: Processing buffer {"connection_id":206225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:56:32] local.INFO: Packet analysis {"connection_id":206225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcd"} 
[2026-10-05 16:56:32] local.INFO: Extracted packet for processing {"connection_id":206225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcd"} 
[2026-10-05 16:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546958848001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791199359000,"timestamp_ms":1791199359000,"timestamp_seconds":1791199359,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcd3018"} 
[2026-10-05 16:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:56:32] 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-10-05 16:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:56:32] 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-10-05 16:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546958848001,"66":25962,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546958848001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:56:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:56:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546958848001,"power":25962,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":206225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:56:32] local.INFO: GPS data processed {"connection_id":206225,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:56:32] local.INFO: Acknowledgment sent {"connection_id":206225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:56:36] local.INFO: TCP Data received {"connection_id":206226,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:56:36] local.INFO: Processing buffer {"connection_id":206226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:56:36] local.INFO: IMEI packet received {"connection_id":206226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":206226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:56:37] local.INFO: TCP Data received {"connection_id":206226,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:56:37] local.INFO: Processing buffer {"connection_id":206226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:56:37] local.INFO: Packet analysis {"connection_id":206226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 16:56:37] local.INFO: Extracted packet for processing {"connection_id":206226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 16:56:37] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":48,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546993920001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 16:56: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-10-05 16:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791199496000,"timestamp_ms":1791199496000,"timestamp_seconds":1791199496,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcf4740"} 
[2026-10-05 16:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-05 16:56:37] 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-10-05 16:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:56:37] 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-10-05 16:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546993920001,"66":13178,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546993920001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:56:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:56:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 16:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546993920001,"power":13178,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 16:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":206226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968678,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:56:37] local.INFO: GPS data processed {"connection_id":206226,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:56:37] local.INFO: Acknowledgment sent {"connection_id":206226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:56:54] local.INFO: TCP Data received {"connection_id":204697,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:56:54] local.INFO: Processing buffer {"connection_id":204697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:56:54] local.INFO: IMEI packet received {"connection_id":204697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":204697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:56:59] local.INFO: TCP Data received {"connection_id":204697,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:56:59] local.INFO: Processing buffer {"connection_id":204697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:56:59] local.INFO: IMEI packet received {"connection_id":204697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":204697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:57:00] local.INFO: TCP Data received {"connection_id":204697,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:57:00] local.INFO: Processing buffer {"connection_id":204697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:57:00] local.INFO: Packet analysis {"connection_id":204697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcd"} 
[2026-10-05 16:57:00] local.INFO: Extracted packet for processing {"connection_id":204697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcd"} 
[2026-10-05 16:57:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546958848001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791199359000,"timestamp_ms":1791199359000,"timestamp_seconds":1791199359,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcd3018"} 
[2026-10-05 16:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:57: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-10-05 16:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546958848001,"66":25962,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546958848001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:57:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:57:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546958848001,"power":25962,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":204697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:57:00] local.INFO: GPS data processed {"connection_id":204697,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:57:00] local.INFO: Acknowledgment sent {"connection_id":204697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:57:02] local.INFO: TCP Data received {"connection_id":204817,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:57:02] local.INFO: Processing buffer {"connection_id":204817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:57:02] local.INFO: IMEI packet received {"connection_id":204817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 16:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":204817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:57:05] local.INFO: TCP Data received {"connection_id":204817,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:57:05] local.INFO: Processing buffer {"connection_id":204817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:57:05] local.INFO: IMEI packet received {"connection_id":204817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":204817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:57:08] local.INFO: TCP Data received {"connection_id":206226,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:57:08] local.INFO: Processing buffer {"connection_id":206226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:57:08] local.INFO: Packet analysis {"connection_id":206226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 16:57:08] local.INFO: Extracted packet for processing {"connection_id":206226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 16:57:08] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":48,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 16:57: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-10-05 16:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546993920001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57:08] 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-10-05 16:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791199496000,"timestamp_ms":1791199496000,"timestamp_seconds":1791199496,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcf4740"} 
[2026-10-05 16:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:57: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-10-05 16:57: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-10-05 16:57: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-10-05 16:57: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-10-05 16:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:57:08] 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-10-05 16:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546993920001,"66":13178,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546993920001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:57:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:57:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 16:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546993920001,"power":13178,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 16:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":206226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968680,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:57:08] local.INFO: GPS data processed {"connection_id":206226,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:57:08] local.INFO: Acknowledgment sent {"connection_id":206226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:57:09] local.INFO: TCP Data received {"connection_id":204817,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:57:09] local.INFO: Processing buffer {"connection_id":204817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:57:09] local.INFO: IMEI packet received {"connection_id":204817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":204817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:57:10] local.INFO: TCP Data received {"connection_id":204817,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bce0ec0012d1c0a8007239f38001f007e29..."} 
[2026-10-05 16:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bce0ec0012d1c0a8007239f38001f007e29..."} 
[2026-10-05 16:57:10] local.INFO: Processing buffer {"connection_id":204817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bce0ec0012d1c0a8007239f38001f007e29..."} 
[2026-10-05 16:57:10] local.INFO: Packet analysis {"connection_id":204817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bce"} 
[2026-10-05 16:57:10] local.INFO: Extracted packet for processing {"connection_id":204817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bce"} 
[2026-10-05 16:57:10] local.INFO: GPS Element Parsed {"raw_longitude":756812416,"raw_latitude":119775032,"longitude_deg":75.6812416,"latitude_deg":11.9775032,"altitude":31,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d1c0a80","hex_latitude":"07239f38","is_valid_coordinates":true} 
[2026-10-05 16:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547045120001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176965145165824,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020568150979852288,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57:10] 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-10-05 16:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791199416000,"timestamp_ms":1791199416000,"timestamp_seconds":1791199416,"priority":1,"record_length":96,"hex_timestamp":"000001a10bce0ec0"} 
[2026-10-05 16:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:57: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-10-05 16:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-05 16:57:10] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57:10] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2147951519,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57:10] local.WARNING: Large IO value detected {"io_id":11,"raw_value":-3783445894404503040,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57:10] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2671247391,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789919438,"corrected_to":0} 
[2026-10-05 16:57:10] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2415996188,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57:10] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-3746769031869182381,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57:10] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2566963827191086635,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57:10] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57:10] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,176,83,24,241,157,16,114,161,106,45,128,159,31,43,10,66,44,198,1,240,150,227,11,35,4,113,205,34,56,239,50,2,89,7,167,81],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1789919438,"validated":0}]} 
[2026-10-05 16:57:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2233924138324459520,"timestamp_seconds":2233924138324459.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 16:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:57:10] 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-10-05 16:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547045120001,"66":12863,"176":206,"83":42752,"24":0,"16":25176965145165824,"45":2020568150979852288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 16:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547045120001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:57:10] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 16:57:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176965145165824,"km_value":25176965145165.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020568150979852288,"description":"Unknown IO ID 45"} 
[2026-10-05 16:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547045120001,"power":12863,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2020568150979852288}} 
[2026-10-05 16:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":204817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:57:10] local.INFO: GPS data processed {"connection_id":204817,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:57:10] local.INFO: Acknowledgment sent {"connection_id":204817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:57:31] local.INFO: TCP Data received {"connection_id":207763,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207763,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:57:31] local.INFO: Processing buffer {"connection_id":207763,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:57:31] local.INFO: IMEI packet received {"connection_id":207763,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":207763,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:57:32] local.INFO: TCP Data received {"connection_id":204697,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:57:32] local.INFO: Processing buffer {"connection_id":204697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:57:32] local.INFO: Packet analysis {"connection_id":204697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcd"} 
[2026-10-05 16:57:32] local.INFO: Extracted packet for processing {"connection_id":204697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcd"} 
[2026-10-05 16:57:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546958848001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791199359000,"timestamp_ms":1791199359000,"timestamp_seconds":1791199359,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcd3018"} 
[2026-10-05 16:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:57:32] 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-10-05 16: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-10-05 16:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:57: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-10-05 16:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546958848001,"66":25962,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546958848001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:57:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:57:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546958848001,"power":25962,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":204697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:57:32] local.INFO: GPS data processed {"connection_id":204697,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:57:32] local.INFO: Acknowledgment sent {"connection_id":204697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:57:36] local.INFO: TCP Data received {"connection_id":207763,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207763,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:57:36] local.INFO: Processing buffer {"connection_id":207763,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:57:36] local.INFO: IMEI packet received {"connection_id":207763,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":207763,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:57:37] local.INFO: TCP Data received {"connection_id":207763,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:57:37] local.INFO: Processing buffer {"connection_id":207763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:57:37] local.INFO: Packet analysis {"connection_id":207763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 16:57:37] local.INFO: Extracted packet for processing {"connection_id":207763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 16:57:37] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":48,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546993920001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57: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-10-05 16:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791199496000,"timestamp_ms":1791199496000,"timestamp_seconds":1791199496,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcf4740"} 
[2026-10-05 16:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-05 16:57:37] 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-10-05 16: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-10-05 16:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546993920001,"66":13178,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546993920001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:57:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:57:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 16:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546993920001,"power":13178,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 16:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":207763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:57:37] local.INFO: GPS data processed {"connection_id":207763,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:57:37] local.INFO: Acknowledgment sent {"connection_id":207763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:57:39] local.INFO: TCP Data received {"connection_id":207764,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207764,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:57:39] local.INFO: Processing buffer {"connection_id":207764,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 16:57:39] local.INFO: IMEI packet received {"connection_id":207764,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 16:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":207764,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:57:42] local.INFO: TCP Data received {"connection_id":204817,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bce60c8012d1c0a8007239f38001f007e2c..."} 
[2026-10-05 16:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bce60c8012d1c0a8007239f38001f007e2c..."} 
[2026-10-05 16:57:42] local.INFO: Processing buffer {"connection_id":204817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bce60c8012d1c0a8007239f38001f007e2c..."} 
[2026-10-05 16:57:42] local.INFO: Packet analysis {"connection_id":204817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bce"} 
[2026-10-05 16:57:42] local.INFO: Extracted packet for processing {"connection_id":204817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bce"} 
[2026-10-05 16:57:42] local.INFO: GPS Element Parsed {"raw_longitude":756812416,"raw_latitude":119775032,"longitude_deg":75.6812416,"latitude_deg":11.9775032,"altitude":31,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d1c0a80","hex_latitude":"07239f38","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547050496001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176965145165824,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020568150979852288,"note":"Value kept but may cause issues"} 
[2026-10-05 16:57:42] 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-10-05 16:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791199437000,"timestamp_ms":1791199437000,"timestamp_seconds":1791199437,"priority":1,"record_length":96,"hex_timestamp":"000001a10bce60c8"} 
[2026-10-05 16:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:57: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-10-05 16: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 16:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:57: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-10-05 16:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547050496001,"66":12841,"176":206,"83":42752,"24":0,"16":25176965145165824,"45":2020568150979852288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 16:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547050496001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:57:42] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 16:57:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176965145165824,"km_value":25176965145165.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020568150979852288,"description":"Unknown IO ID 45"} 
[2026-10-05 16:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547050496001,"power":12841,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2020568150979852288}} 
[2026-10-05 16:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":204817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:57:42] local.INFO: GPS data processed {"connection_id":204817,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:57:42] local.INFO: Acknowledgment sent {"connection_id":204817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:57:54] local.INFO: TCP Data received {"connection_id":207765,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:57:54] local.INFO: Processing buffer {"connection_id":207765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:57:54] local.INFO: IMEI packet received {"connection_id":207765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":207765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:57:59] local.INFO: TCP Data received {"connection_id":207765,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:57:59] local.INFO: Processing buffer {"connection_id":207765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:57:59] local.INFO: IMEI packet received {"connection_id":207765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":207765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:58:00] local.INFO: TCP Data received {"connection_id":207765,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:58:00] local.INFO: Processing buffer {"connection_id":207765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcd3018012d80b3c00602ac50001400cf33..."} 
[2026-10-05 16:58:00] local.INFO: Packet analysis {"connection_id":207765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcd"} 
[2026-10-05 16:58:00] local.INFO: Extracted packet for processing {"connection_id":207765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcd"} 
[2026-10-05 16:58:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546958848001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791199359000,"timestamp_ms":1791199359000,"timestamp_seconds":1791199359,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcd3018"} 
[2026-10-05 16:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 16:58:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16: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-10-05 16:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:58: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-10-05 16:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546958848001,"66":25962,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546958848001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:58:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:58:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546958848001,"power":25962,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":207765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:58:00] local.INFO: GPS data processed {"connection_id":207765,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:58:00] local.INFO: Acknowledgment sent {"connection_id":207765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:58:05] local.INFO: TCP Data received {"connection_id":206227,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:58:05] local.INFO: Processing buffer {"connection_id":206227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:58:05] local.INFO: IMEI packet received {"connection_id":206227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 16:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":206227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:58:05] local.INFO: TCP Data received {"connection_id":206227,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:58:05] local.INFO: Processing buffer {"connection_id":206227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:58:05] local.INFO: IMEI packet received {"connection_id":206227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":206227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:58:08] local.INFO: TCP Data received {"connection_id":207763,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:58:08] local.INFO: Processing buffer {"connection_id":207763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:58:08] local.INFO: Packet analysis {"connection_id":207763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 16:58:08] local.INFO: Extracted packet for processing {"connection_id":207763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 16:58:08] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":48,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546993920001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 16:58:08] 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-10-05 16:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791199496000,"timestamp_ms":1791199496000,"timestamp_seconds":1791199496,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcf4740"} 
[2026-10-05 16:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:58: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-10-05 16:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-05 16:58: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-10-05 16: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-10-05 16:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546993920001,"66":13178,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546993920001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:58:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:58:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 16:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546993920001,"power":13178,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 16:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":207763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:58:08] local.INFO: GPS data processed {"connection_id":207763,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:58:08] local.INFO: Acknowledgment sent {"connection_id":207763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:58:10] local.INFO: TCP Data received {"connection_id":206227,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:58:10] local.INFO: Processing buffer {"connection_id":206227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:58:10] local.INFO: IMEI packet received {"connection_id":206227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":206227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:58:11] local.INFO: TCP Data received {"connection_id":206227,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bceb2d0012d1c0a8007239f38001f007e2b..."} 
[2026-10-05 16:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bceb2d0012d1c0a8007239f38001f007e2b..."} 
[2026-10-05 16:58:11] local.INFO: Processing buffer {"connection_id":206227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bceb2d0012d1c0a8007239f38001f007e2b..."} 
[2026-10-05 16:58:11] local.INFO: Packet analysis {"connection_id":206227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bce"} 
[2026-10-05 16:58:11] local.INFO: Extracted packet for processing {"connection_id":206227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bce"} 
[2026-10-05 16:58:11] local.INFO: GPS Element Parsed {"raw_longitude":756812416,"raw_latitude":119775032,"longitude_deg":75.6812416,"latitude_deg":11.9775032,"altitude":31,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d1c0a80","hex_latitude":"07239f38","is_valid_coordinates":true} 
[2026-10-05 16:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547055872001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176965145165824,"note":"Value kept but may cause issues"} 
[2026-10-05 16:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020568150979852288,"note":"Value kept but may cause issues"} 
[2026-10-05 16:58:11] 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-10-05 16:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791199458000,"timestamp_ms":1791199458000,"timestamp_seconds":1791199458,"priority":1,"record_length":96,"hex_timestamp":"000001a10bceb2d0"} 
[2026-10-05 16:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 16:58:11] 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-10-05 16:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:58:11] 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-10-05 16:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547055872001,"66":12841,"176":206,"83":42752,"24":0,"16":25176965145165824,"45":2020568150979852288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 16:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547055872001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:58:11] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 16:58:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176965145165824,"km_value":25176965145165.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020568150979852288,"description":"Unknown IO ID 45"} 
[2026-10-05 16:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547055872001,"power":12841,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2020568150979852288}} 
[2026-10-05 16:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":206227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:58:11] local.INFO: GPS data processed {"connection_id":206227,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:58:11] local.INFO: Acknowledgment sent {"connection_id":206227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:58:31] local.INFO: TCP Data received {"connection_id":207766,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:58:31] local.INFO: Processing buffer {"connection_id":207766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:58:31] local.INFO: IMEI packet received {"connection_id":207766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":207766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:58:31] local.INFO: TCP Data received {"connection_id":207765,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:58:31] local.INFO: Processing buffer {"connection_id":207765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:58:31] local.INFO: Packet analysis {"connection_id":207765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd1"} 
[2026-10-05 16:58:31] local.INFO: Extracted packet for processing {"connection_id":207765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd1"} 
[2026-10-05 16:58:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":49,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547035904001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791199660000,"timestamp_ms":1791199660000,"timestamp_seconds":1791199660,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd1c7e0"} 
[2026-10-05 16:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 16:58:31] 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-10-05 16:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:58: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-10-05 16:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547035904001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547035904001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:58:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:58:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547035904001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":207765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:58:31] local.INFO: GPS data processed {"connection_id":207765,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:58:31] local.INFO: Acknowledgment sent {"connection_id":207765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:58:36] local.INFO: TCP Data received {"connection_id":207766,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:58:36] local.INFO: Processing buffer {"connection_id":207766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:58:36] local.INFO: IMEI packet received {"connection_id":207766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":207766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:58:37] local.INFO: TCP Data received {"connection_id":207766,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:58:37] local.INFO: Processing buffer {"connection_id":207766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:58:37] local.INFO: Packet analysis {"connection_id":207766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 16:58:37] local.INFO: Extracted packet for processing {"connection_id":207766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 16:58:37] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":48,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546993920001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 16:58: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-10-05 16:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791199496000,"timestamp_ms":1791199496000,"timestamp_seconds":1791199496,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcf4740"} 
[2026-10-05 16:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-05 16:58:37] 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-10-05 16: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-10-05 16:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546993920001,"66":13178,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546993920001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:58:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:58:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 16:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546993920001,"power":13178,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 16:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":207766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968689,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:58:37] local.INFO: GPS data processed {"connection_id":207766,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:58:37] local.INFO: Acknowledgment sent {"connection_id":207766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:58:42] local.INFO: TCP Data received {"connection_id":206227,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcf04d8012d1c0a8007239f38001f007e2d..."} 
[2026-10-05 16:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcf04d8012d1c0a8007239f38001f007e2d..."} 
[2026-10-05 16:58:42] local.INFO: Processing buffer {"connection_id":206227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcf04d8012d1c0a8007239f38001f007e2d..."} 
[2026-10-05 16:58:42] local.INFO: Packet analysis {"connection_id":206227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 16:58:42] local.INFO: Extracted packet for processing {"connection_id":206227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 16:58:42] local.INFO: GPS Element Parsed {"raw_longitude":756812416,"raw_latitude":119775032,"longitude_deg":75.6812416,"latitude_deg":11.9775032,"altitude":31,"angle":126,"satellites":45,"speed":0,"hex_longitude":"2d1c0a80","hex_latitude":"07239f38","is_valid_coordinates":true} 
[2026-10-05 16:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547061248001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176965145165824,"note":"Value kept but may cause issues"} 
[2026-10-05 16:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020568150979852288,"note":"Value kept but may cause issues"} 
[2026-10-05 16:58:42] 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-10-05 16:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791199479000,"timestamp_ms":1791199479000,"timestamp_seconds":1791199479,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcf04d8"} 
[2026-10-05 16:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:58: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-10-05 16:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 16:58:42] 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-10-05 16:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:58: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-10-05 16:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547061248001,"66":12819,"176":206,"83":42752,"24":0,"16":25176965145165824,"45":2020568150979852288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 16:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547061248001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:58:42] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 16:58:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176965145165824,"km_value":25176965145165.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020568150979852288,"description":"Unknown IO ID 45"} 
[2026-10-05 16:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547061248001,"power":12819,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2020568150979852288}} 
[2026-10-05 16:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":206227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:58:42] local.INFO: GPS data processed {"connection_id":206227,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:58:42] local.INFO: Acknowledgment sent {"connection_id":206227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:58:54] local.INFO: TCP Data received {"connection_id":204819,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:58:54] local.INFO: Processing buffer {"connection_id":204819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:58:54] local.INFO: IMEI packet received {"connection_id":204819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":204819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:58:59] local.INFO: TCP Data received {"connection_id":204819,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:58:59] local.INFO: Processing buffer {"connection_id":204819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:58:59] local.INFO: IMEI packet received {"connection_id":204819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":204819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:59:00] local.INFO: TCP Data received {"connection_id":204819,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:59:00] local.INFO: Processing buffer {"connection_id":204819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:59:00] local.INFO: Packet analysis {"connection_id":204819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd1"} 
[2026-10-05 16:59:00] local.INFO: Extracted packet for processing {"connection_id":204819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd1"} 
[2026-10-05 16:59:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":49,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547035904001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791199660000,"timestamp_ms":1791199660000,"timestamp_seconds":1791199660,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd1c7e0"} 
[2026-10-05 16:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 16:59:00] 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-10-05 16:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:59:00] 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-10-05 16:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547035904001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547035904001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:59:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:59:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547035904001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":204819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:59:00] local.INFO: GPS data processed {"connection_id":204819,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:59:00] local.INFO: Acknowledgment sent {"connection_id":204819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:59:05] local.INFO: TCP Data received {"connection_id":207767,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:59:05] local.INFO: Processing buffer {"connection_id":207767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:59:05] local.INFO: IMEI packet received {"connection_id":207767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 16:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":207767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:59:08] local.INFO: TCP Data received {"connection_id":207767,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:59:08] local.INFO: Processing buffer {"connection_id":207767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 16:59:08] local.INFO: IMEI packet received {"connection_id":207767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 16:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":207767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:59:08] local.INFO: TCP Data received {"connection_id":207766,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:59:08] local.INFO: Processing buffer {"connection_id":207766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:59:08] local.INFO: Packet analysis {"connection_id":207766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 16:59:08] local.INFO: Extracted packet for processing {"connection_id":207766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 16:59:08] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":48,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546993920001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:08] 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-10-05 16:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791199496000,"timestamp_ms":1791199496000,"timestamp_seconds":1791199496,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcf4740"} 
[2026-10-05 16:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:59: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-10-05 16:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-05 16:59: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-10-05 16: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-10-05 16:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546993920001,"66":13178,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546993920001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:59:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:59:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 16:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546993920001,"power":13178,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 16:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":207766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968692,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:59:08] local.INFO: GPS data processed {"connection_id":207766,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:59:08] local.INFO: Acknowledgment sent {"connection_id":207766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:59:08] local.INFO: TCP Data received {"connection_id":207767,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcf56e0012d1c0a8007239f38001f007e2c..."} 
[2026-10-05 16:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcf56e0012d1c0a8007239f38001f007e2c..."} 
[2026-10-05 16:59:08] local.INFO: Processing buffer {"connection_id":207767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcf56e0012d1c0a8007239f38001f007e2c..."} 
[2026-10-05 16:59:08] local.INFO: Packet analysis {"connection_id":207767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 16:59:08] local.INFO: Extracted packet for processing {"connection_id":207767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 16:59:08] local.INFO: GPS Element Parsed {"raw_longitude":756812416,"raw_latitude":119775032,"longitude_deg":75.6812416,"latitude_deg":11.9775032,"altitude":31,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d1c0a80","hex_latitude":"07239f38","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547066624001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176965145165824,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020568150979852288,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59: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-10-05 16:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791199500000,"timestamp_ms":1791199500000,"timestamp_seconds":1791199500,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcf56e0"} 
[2026-10-05 16:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 16: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":19,"data_length":795,"current_offset":136} 
[2026-10-05 16:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:08] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2147951519,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:08] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503983797370880,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:08] local.WARNING: Large IO value detected {"io_id":11,"raw_value":-3691086917671318912,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:08] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2671247391,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:08] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6125159380314030336,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7687645450088153112,"corrected_to":0} 
[2026-10-05 16:59:08] local.WARNING: Large IO value detected {"io_id":106,"raw_value":2952867100,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:08] local.WARNING: Large IO value detected {"io_id":56,"raw_value":8726266165329920,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:08] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182203939815680,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:08] local.WARNING: Large IO value detected {"io_id":50,"raw_value":5332487816909737555,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:08] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2566831885795753516,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:08] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:08] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:08] local.WARNING: Large IO value detected {"io_id":152,"raw_value":84754799413109663,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:08] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,176,83,24,241,157,16,114,161,178,45,128,159,31,43,10,66,96,44,14,1,240,63,227,11,35,4,113,205,106,56,239,50,2,89,7,167,81,69,152],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":7687645450088153112,"validated":0}]} 
[2026-10-05 16:59:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2233924146914394112,"timestamp_seconds":2233924146914394.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 16:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:59:08] 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-10-05 16:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547066624001,"66":12798,"176":206,"83":42752,"24":0,"16":25176965145165824,"45":2020568150979852288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 16:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547066624001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:59:08] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 16:59:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176965145165824,"km_value":25176965145165.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020568150979852288,"description":"Unknown IO ID 45"} 
[2026-10-05 16:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547066624001,"power":12798,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2020568150979852288}} 
[2026-10-05 16:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":207767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:59:08] local.INFO: GPS data processed {"connection_id":207767,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:59:08] local.INFO: Acknowledgment sent {"connection_id":207767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:59:30] local.INFO: TCP Data received {"connection_id":206228,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:59:30] local.INFO: Processing buffer {"connection_id":206228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:59:30] local.INFO: IMEI packet received {"connection_id":206228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 16:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":206228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:59:31] local.INFO: TCP Data received {"connection_id":204819,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:59:31] local.INFO: Processing buffer {"connection_id":204819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 16:59:31] local.INFO: Packet analysis {"connection_id":204819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd1"} 
[2026-10-05 16:59:31] local.INFO: Extracted packet for processing {"connection_id":204819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd1"} 
[2026-10-05 16:59:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":49,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547035904001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 16:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791199660000,"timestamp_ms":1791199660000,"timestamp_seconds":1791199660,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd1c7e0"} 
[2026-10-05 16:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 16:59:31] 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-10-05 16: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-10-05 16:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 16:59:31] 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-10-05 16:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 16:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 16:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547035904001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 16:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 16:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 16:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547035904001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:59:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 16:59:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 16:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 16:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547035904001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 16:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":204819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:59:31] local.INFO: GPS data processed {"connection_id":204819,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:59:31] local.INFO: Acknowledgment sent {"connection_id":204819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:59:36] local.INFO: TCP Data received {"connection_id":206228,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:59:36] local.INFO: Processing buffer {"connection_id":206228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 16:59:36] local.INFO: IMEI packet received {"connection_id":206228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 16:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":206228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 16:59:37] local.INFO: TCP Data received {"connection_id":206228,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:59:37] local.INFO: Processing buffer {"connection_id":206228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcf4740012d7a204005e46818000d014e30..."} 
[2026-10-05 16:59:37] local.INFO: Packet analysis {"connection_id":206228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 16:59:37] local.INFO: Extracted packet for processing {"connection_id":206228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 16:59:37] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":48,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 16: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-10-05 16:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458546993920001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59: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-10-05 16:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791199496000,"timestamp_ms":1791199496000,"timestamp_seconds":1791199496,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcf4740"} 
[2026-10-05 16:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 16: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-05 16:59:37] 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-10-05 16: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-10-05 16:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 16:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 16:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 16:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 16:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458546993920001,"66":13178,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 16:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 16:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 16:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458546993920001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:59:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 16:59:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 16:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 16:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458546993920001,"power":13178,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 16:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":206228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:59:37] local.INFO: GPS data processed {"connection_id":206228,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:59:37] local.INFO: Acknowledgment sent {"connection_id":206228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:59:39] local.INFO: TCP Data received {"connection_id":207767,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcfa8e8012d1c0a8007239f38001f007e2d..."} 
[2026-10-05 16:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcfa8e8012d1c0a8007239f38001f007e2d..."} 
[2026-10-05 16:59:39] local.INFO: Processing buffer {"connection_id":207767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcfa8e8012d1c0a8007239f38001f007e2d..."} 
[2026-10-05 16:59:39] local.INFO: Packet analysis {"connection_id":207767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 16:59:39] local.INFO: Extracted packet for processing {"connection_id":207767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 16:59:39] local.INFO: GPS Element Parsed {"raw_longitude":756812416,"raw_latitude":119775032,"longitude_deg":75.6812416,"latitude_deg":11.9775032,"altitude":31,"angle":126,"satellites":45,"speed":0,"hex_longitude":"2d1c0a80","hex_latitude":"07239f38","is_valid_coordinates":true} 
[2026-10-05 16:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 16:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547072000001,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176965145165824,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020568150979852288,"note":"Value kept but may cause issues"} 
[2026-10-05 16:59:39] 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-10-05 16:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791199521000,"timestamp_ms":1791199521000,"timestamp_seconds":1791199521,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcfa8e8"} 
[2026-10-05 16:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 16:59:39] 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-10-05 16:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 16:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 16:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 16:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 16:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 16:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":207767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 16:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":207767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":207767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 16:59:39] 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-10-05 16:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 16:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 16:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547072000001,"66":12776,"176":206,"83":42752,"24":0,"16":25176965145165824,"45":2020568150979852288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 16:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 16:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 16:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547072000001,"description":"Unknown IO ID 0"} 
[2026-10-05 16:59:39] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 16:59:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 16:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176965145165824,"km_value":25176965145165.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 16:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020568150979852288,"description":"Unknown IO ID 45"} 
[2026-10-05 16:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547072000001,"power":12776,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2020568150979852288}} 
[2026-10-05 16:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":207767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 16:59:40] local.INFO: GPS data processed {"connection_id":207767,"processed":1,"errors":0,"total":1} 
[2026-10-05 16:59:40] local.INFO: Acknowledgment sent {"connection_id":207767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 16:59:54] local.INFO: TCP Data received {"connection_id":204822,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:59:54] local.INFO: Processing buffer {"connection_id":204822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:59:54] local.INFO: IMEI packet received {"connection_id":204822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 16:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":204822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 16:59:59] local.INFO: TCP Data received {"connection_id":204822,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:59:59] local.INFO: Processing buffer {"connection_id":204822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 16:59:59] local.INFO: IMEI packet received {"connection_id":204822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 16:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":204822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:00:00] local.INFO: TCP Data received {"connection_id":204822,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 17:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 17:00:00] local.INFO: Processing buffer {"connection_id":204822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 17:00:00] local.INFO: Packet analysis {"connection_id":204822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd1"} 
[2026-10-05 17:00:00] local.INFO: Extracted packet for processing {"connection_id":204822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd1"} 
[2026-10-05 17:00:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":49,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 17:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547035904001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 17:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791199660000,"timestamp_ms":1791199660000,"timestamp_seconds":1791199660,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd1c7e0"} 
[2026-10-05 17:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 17:00:00] 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-10-05 17:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:00: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-10-05 17:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547035904001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547035904001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:00:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:00:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 17:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547035904001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 17:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":204822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:00:00] local.INFO: GPS data processed {"connection_id":204822,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:00:00] local.INFO: Acknowledgment sent {"connection_id":204822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:00:05] local.INFO: TCP Data received {"connection_id":207768,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:00:05] local.INFO: Processing buffer {"connection_id":207768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:00:05] local.INFO: IMEI packet received {"connection_id":207768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":207768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:00:08] local.INFO: TCP Data received {"connection_id":206228,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:00:08] local.INFO: Processing buffer {"connection_id":206228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:00:08] local.INFO: Packet analysis {"connection_id":206228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd3"} 
[2026-10-05 17:00:08] local.INFO: Extracted packet for processing {"connection_id":206228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd3"} 
[2026-10-05 17:00:08] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":50,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17:00: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-10-05 17:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547070976001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:00:08] 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-10-05 17:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791199797000,"timestamp_ms":1791199797000,"timestamp_seconds":1791199797,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd3df08"} 
[2026-10-05 17:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:00: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":122,"data_length":795,"current_offset":136} 
[2026-10-05 17:00:08] 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-10-05 17:00: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-10-05 17:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547070976001,"66":13048,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 17:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547070976001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:00:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:00:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547070976001,"power":13048,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":206228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:00:08] local.INFO: GPS data processed {"connection_id":206228,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:00:08] local.INFO: Acknowledgment sent {"connection_id":206228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:00:10] local.INFO: TCP Data received {"connection_id":207768,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:00:10] local.INFO: Processing buffer {"connection_id":207768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:00:10] local.INFO: IMEI packet received {"connection_id":207768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":207768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:00:10] local.INFO: TCP Data received {"connection_id":207768,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bcffaf0012d1c0a8007239f38001f007e2d..."} 
[2026-10-05 17:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bcffaf0012d1c0a8007239f38001f007e2d..."} 
[2026-10-05 17:00:10] local.INFO: Processing buffer {"connection_id":207768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bcffaf0012d1c0a8007239f38001f007e2d..."} 
[2026-10-05 17:00:10] local.INFO: Packet analysis {"connection_id":207768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 17:00:10] local.INFO: Extracted packet for processing {"connection_id":207768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bcf"} 
[2026-10-05 17:00:10] local.INFO: GPS Element Parsed {"raw_longitude":756812416,"raw_latitude":119775032,"longitude_deg":75.6812416,"latitude_deg":11.9775032,"altitude":31,"angle":126,"satellites":45,"speed":0,"hex_longitude":"2d1c0a80","hex_latitude":"07239f38","is_valid_coordinates":true} 
[2026-10-05 17:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547077376001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176965145165824,"note":"Value kept but may cause issues"} 
[2026-10-05 17:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020568150979852288,"note":"Value kept but may cause issues"} 
[2026-10-05 17:00:10] 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-10-05 17:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791199542000,"timestamp_ms":1791199542000,"timestamp_seconds":1791199542,"priority":1,"record_length":96,"hex_timestamp":"000001a10bcffaf0"} 
[2026-10-05 17:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:00:10] 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-10-05 17:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 17:00:10] 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-10-05 17:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:00:10] 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-10-05 17:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547077376001,"66":12776,"176":206,"83":42752,"24":0,"16":25176965145165824,"45":2020568150979852288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 17:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547077376001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:00:10] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 17:00:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176965145165824,"km_value":25176965145165.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020568150979852288,"description":"Unknown IO ID 45"} 
[2026-10-05 17:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547077376001,"power":12776,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2020568150979852288}} 
[2026-10-05 17:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":207768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:00:10] local.INFO: GPS data processed {"connection_id":207768,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:00:10] local.INFO: Acknowledgment sent {"connection_id":207768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:00:31] local.INFO: TCP Data received {"connection_id":204698,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:00:31] local.INFO: Processing buffer {"connection_id":204698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:00:31] local.INFO: IMEI packet received {"connection_id":204698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":204698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:00:31] local.INFO: TCP Data received {"connection_id":204822,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 17:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 17:00:31] local.INFO: Processing buffer {"connection_id":204822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 17:00:31] local.INFO: Packet analysis {"connection_id":204822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd1"} 
[2026-10-05 17:00:31] local.INFO: Extracted packet for processing {"connection_id":204822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd1"} 
[2026-10-05 17:00:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":49,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 17:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547035904001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 17:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791199660000,"timestamp_ms":1791199660000,"timestamp_seconds":1791199660,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd1c7e0"} 
[2026-10-05 17:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 17:00:31] 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-10-05 17:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547035904001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547035904001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:00:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:00:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 17:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547035904001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 17:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":204822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:00:31] local.INFO: GPS data processed {"connection_id":204822,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:00:31] local.INFO: Acknowledgment sent {"connection_id":204822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:00:36] local.INFO: TCP Data received {"connection_id":204698,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:00:36] local.INFO: Processing buffer {"connection_id":204698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:00:36] local.INFO: IMEI packet received {"connection_id":204698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":204698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:00:37] local.INFO: TCP Data received {"connection_id":204698,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:00:37] local.INFO: Processing buffer {"connection_id":204698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:00:37] local.INFO: Packet analysis {"connection_id":204698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd3"} 
[2026-10-05 17:00:37] local.INFO: Extracted packet for processing {"connection_id":204698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd3"} 
[2026-10-05 17:00:37] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":50,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547070976001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:00: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-10-05 17:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791199797000,"timestamp_ms":1791199797000,"timestamp_seconds":1791199797,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd3df08"} 
[2026-10-05 17:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-10-05 17:00:37] 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-10-05 17:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547070976001,"66":13048,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 17:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547070976001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:00:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:00:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547070976001,"power":13048,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":204698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:00:37] local.INFO: GPS data processed {"connection_id":204698,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:00:37] local.INFO: Acknowledgment sent {"connection_id":204698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:00:41] local.INFO: TCP Data received {"connection_id":207768,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd04cf8012d1c0a8007239f38001f007e2d..."} 
[2026-10-05 17:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd04cf8012d1c0a8007239f38001f007e2d..."} 
[2026-10-05 17:00:41] local.INFO: Processing buffer {"connection_id":207768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd04cf8012d1c0a8007239f38001f007e2d..."} 
[2026-10-05 17:00:41] local.INFO: Packet analysis {"connection_id":207768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd0"} 
[2026-10-05 17:00:41] local.INFO: Extracted packet for processing {"connection_id":207768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd0"} 
[2026-10-05 17:00:41] local.INFO: GPS Element Parsed {"raw_longitude":756812416,"raw_latitude":119775032,"longitude_deg":75.6812416,"latitude_deg":11.9775032,"altitude":31,"angle":126,"satellites":45,"speed":0,"hex_longitude":"2d1c0a80","hex_latitude":"07239f38","is_valid_coordinates":true} 
[2026-10-05 17:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547082752001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176965145165824,"note":"Value kept but may cause issues"} 
[2026-10-05 17:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020568150979852288,"note":"Value kept but may cause issues"} 
[2026-10-05 17:00:41] 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-10-05 17:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791199563000,"timestamp_ms":1791199563000,"timestamp_seconds":1791199563,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd04cf8"} 
[2026-10-05 17:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:00:41] 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-10-05 17:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 17:00:41] 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-10-05 17:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":207768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":207768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":207768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:00:41] 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-10-05 17:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547082752001,"66":12765,"176":206,"83":42752,"24":0,"16":25176965145165824,"45":2020568150979852288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 17:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547082752001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:00:41] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 17:00:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176965145165824,"km_value":25176965145165.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020568150979852288,"description":"Unknown IO ID 45"} 
[2026-10-05 17:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547082752001,"power":12765,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2020568150979852288}} 
[2026-10-05 17:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":207768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:00:41] local.INFO: GPS data processed {"connection_id":207768,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:00:41] local.INFO: Acknowledgment sent {"connection_id":207768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:00:54] local.INFO: TCP Data received {"connection_id":204823,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:00:54] local.INFO: Processing buffer {"connection_id":204823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:00:54] local.INFO: IMEI packet received {"connection_id":204823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":204823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:00:59] local.INFO: TCP Data received {"connection_id":204823,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:00:59] local.INFO: Processing buffer {"connection_id":204823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:00:59] local.INFO: IMEI packet received {"connection_id":204823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":204823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:01:00] local.INFO: TCP Data received {"connection_id":204823,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 17:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 17:01:00] local.INFO: Processing buffer {"connection_id":204823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 17:01:00] local.INFO: Packet analysis {"connection_id":204823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd1"} 
[2026-10-05 17:01:00] local.INFO: Extracted packet for processing {"connection_id":204823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd1"} 
[2026-10-05 17:01:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":49,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547035904001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 17:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791199660000,"timestamp_ms":1791199660000,"timestamp_seconds":1791199660,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd1c7e0"} 
[2026-10-05 17:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 17:01:00] 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-10-05 17: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-10-05 17:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:01: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-10-05 17:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547035904001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547035904001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:01:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:01:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 17:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547035904001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 17:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":204823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:01:00] local.INFO: GPS data processed {"connection_id":204823,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:01:00] local.INFO: Acknowledgment sent {"connection_id":204823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:01:04] local.INFO: TCP Data received {"connection_id":204824,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:01:04] local.INFO: Processing buffer {"connection_id":204824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:01:04] local.INFO: IMEI packet received {"connection_id":204824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":204824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:01:09] local.INFO: TCP Data received {"connection_id":204698,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:01:09] local.INFO: Processing buffer {"connection_id":204698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:01:09] local.INFO: Packet analysis {"connection_id":204698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd3"} 
[2026-10-05 17:01:09] local.INFO: Extracted packet for processing {"connection_id":204698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd3"} 
[2026-10-05 17:01:09] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":50,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17:01: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-10-05 17:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547070976001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:01:09] 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-10-05 17:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791199797000,"timestamp_ms":1791199797000,"timestamp_seconds":1791199797,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd3df08"} 
[2026-10-05 17:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-10-05 17:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:01: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-10-05 17:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547070976001,"66":13048,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 17:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547070976001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:01:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:01:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547070976001,"power":13048,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":204698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:01:09] local.INFO: GPS data processed {"connection_id":204698,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:01:09] local.INFO: Acknowledgment sent {"connection_id":204698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:01:10] local.INFO: TCP Data received {"connection_id":204824,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:01:10] local.INFO: Processing buffer {"connection_id":204824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:01:10] local.INFO: IMEI packet received {"connection_id":204824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":204824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:01:11] local.INFO: TCP Data received {"connection_id":204824,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd09f00012d1c0a8007239f38001f007e2c..."} 
[2026-10-05 17:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd09f00012d1c0a8007239f38001f007e2c..."} 
[2026-10-05 17:01:11] local.INFO: Processing buffer {"connection_id":204824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd09f00012d1c0a8007239f38001f007e2c..."} 
[2026-10-05 17:01:11] local.INFO: Packet analysis {"connection_id":204824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd0"} 
[2026-10-05 17:01:11] local.INFO: Extracted packet for processing {"connection_id":204824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd0"} 
[2026-10-05 17:01:11] local.INFO: GPS Element Parsed {"raw_longitude":756812416,"raw_latitude":119775032,"longitude_deg":75.6812416,"latitude_deg":11.9775032,"altitude":31,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d1c0a80","hex_latitude":"07239f38","is_valid_coordinates":true} 
[2026-10-05 17:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547088128001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176965145165824,"note":"Value kept but may cause issues"} 
[2026-10-05 17:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020568150979852288,"note":"Value kept but may cause issues"} 
[2026-10-05 17:01:11] 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-10-05 17:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791199584000,"timestamp_ms":1791199584000,"timestamp_seconds":1791199584,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd09f00"} 
[2026-10-05 17:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 17:01:11] 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-10-05 17:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:01:11] 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-10-05 17:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547088128001,"66":12711,"176":206,"83":42752,"24":0,"16":25176965145165824,"45":2020568150979852288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 17:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547088128001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:01:11] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 17:01:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176965145165824,"km_value":25176965145165.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020568150979852288,"description":"Unknown IO ID 45"} 
[2026-10-05 17:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547088128001,"power":12711,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2020568150979852288}} 
[2026-10-05 17:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":204824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:01:11] local.INFO: GPS data processed {"connection_id":204824,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:01:11] local.INFO: Acknowledgment sent {"connection_id":204824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:01:31] local.INFO: TCP Data received {"connection_id":204823,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 17:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 17:01:31] local.INFO: Processing buffer {"connection_id":204823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 17:01:31] local.INFO: Packet analysis {"connection_id":204823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd1"} 
[2026-10-05 17:01:31] local.INFO: Extracted packet for processing {"connection_id":204823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd1"} 
[2026-10-05 17:01:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":49,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547035904001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 17:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791199660000,"timestamp_ms":1791199660000,"timestamp_seconds":1791199660,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd1c7e0"} 
[2026-10-05 17:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 17:01:31] 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-10-05 17: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-10-05 17:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:01: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-10-05 17:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547035904001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547035904001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:01:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:01:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 17:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547035904001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 17:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":204823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:01:31] local.INFO: GPS data processed {"connection_id":204823,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:01:31] local.INFO: Acknowledgment sent {"connection_id":204823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:01:34] local.INFO: TCP Data received {"connection_id":204700,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:01:34] local.INFO: Processing buffer {"connection_id":204700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:01:34] local.INFO: IMEI packet received {"connection_id":204700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":204700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:01:35] local.INFO: TCP Data received {"connection_id":204700,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:01:35] local.INFO: Processing buffer {"connection_id":204700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:01:35] local.INFO: IMEI packet received {"connection_id":204700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":204700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:01:36] local.INFO: TCP Data received {"connection_id":204700,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:01:36] local.INFO: Processing buffer {"connection_id":204700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:01:36] local.INFO: Packet analysis {"connection_id":204700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd3"} 
[2026-10-05 17:01:36] local.INFO: Extracted packet for processing {"connection_id":204700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd3"} 
[2026-10-05 17:01:36] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":50,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547070976001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:01: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-10-05 17:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791199797000,"timestamp_ms":1791199797000,"timestamp_seconds":1791199797,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd3df08"} 
[2026-10-05 17:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":122,"data_length":795,"current_offset":136} 
[2026-10-05 17:01:36] 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-10-05 17: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-10-05 17:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547070976001,"66":13048,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 17:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547070976001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:01:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:01:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547070976001,"power":13048,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":204700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968707,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:01:36] local.INFO: GPS data processed {"connection_id":204700,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:01:36] local.INFO: Acknowledgment sent {"connection_id":204700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:01:42] local.INFO: TCP Data received {"connection_id":204700,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:01:42] local.INFO: Processing buffer {"connection_id":204700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:01:42] local.INFO: Packet analysis {"connection_id":204700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd3"} 
[2026-10-05 17:01:42] local.INFO: Extracted packet for processing {"connection_id":204700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd3"} 
[2026-10-05 17:01:42] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":50,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17:01: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-10-05 17:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547070976001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:01:42] 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-10-05 17:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791199797000,"timestamp_ms":1791199797000,"timestamp_seconds":1791199797,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd3df08"} 
[2026-10-05 17:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:01: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":122,"data_length":795,"current_offset":136} 
[2026-10-05 17:01:42] 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-10-05 17:01: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-10-05 17:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547070976001,"66":13048,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 17:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547070976001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:01:42] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:01:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547070976001,"power":13048,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":204700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:01:42] local.INFO: GPS data processed {"connection_id":204700,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:01:42] local.INFO: Acknowledgment sent {"connection_id":204700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:01:42] local.INFO: TCP Data received {"connection_id":204824,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd42558012d1c0a8007239f38001f007e2a..."} 
[2026-10-05 17:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd42558012d1c0a8007239f38001f007e2a..."} 
[2026-10-05 17:01:42] local.INFO: Processing buffer {"connection_id":204824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd42558012d1c0a8007239f38001f007e2a..."} 
[2026-10-05 17:01:42] local.INFO: Packet analysis {"connection_id":204824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd4"} 
[2026-10-05 17:01:42] local.INFO: Extracted packet for processing {"connection_id":204824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd4"} 
[2026-10-05 17:01:42] local.INFO: GPS Element Parsed {"raw_longitude":756812416,"raw_latitude":119775032,"longitude_deg":75.6812416,"latitude_deg":11.9775032,"altitude":31,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d1c0a80","hex_latitude":"07239f38","is_valid_coordinates":true} 
[2026-10-05 17:01: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-10-05 17:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547147264001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176965145165824,"note":"Value kept but may cause issues"} 
[2026-10-05 17:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020568150979852288,"note":"Value kept but may cause issues"} 
[2026-10-05 17:01:42] 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-10-05 17:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791199815000,"timestamp_ms":1791199815000,"timestamp_seconds":1791199815,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd42558"} 
[2026-10-05 17:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:01: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-10-05 17:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 17:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:01: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-10-05 17:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:01: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-10-05 17:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547147264001,"66":12558,"176":206,"83":42752,"24":0,"16":25176965145165824,"45":2020568150979852288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 17:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547147264001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:01:42] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 17:01:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176965145165824,"km_value":25176965145165.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020568150979852288,"description":"Unknown IO ID 45"} 
[2026-10-05 17:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547147264001,"power":12558,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2020568150979852288}} 
[2026-10-05 17:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":204824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:01:42] local.INFO: GPS data processed {"connection_id":204824,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:01:42] local.INFO: Acknowledgment sent {"connection_id":204824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:01:54] local.INFO: TCP Data received {"connection_id":207769,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:01:54] local.INFO: Processing buffer {"connection_id":207769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:01:54] local.INFO: IMEI packet received {"connection_id":207769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":207769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:01:59] local.INFO: TCP Data received {"connection_id":207769,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:01:59] local.INFO: Processing buffer {"connection_id":207769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:01:59] local.INFO: IMEI packet received {"connection_id":207769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":207769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:02:00] local.INFO: TCP Data received {"connection_id":207769,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 17:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 17:02:00] local.INFO: Processing buffer {"connection_id":207769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 17:02:00] local.INFO: Packet analysis {"connection_id":207769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd1"} 
[2026-10-05 17:02:00] local.INFO: Extracted packet for processing {"connection_id":207769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd1"} 
[2026-10-05 17:02:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":49,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547035904001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791199660000,"timestamp_ms":1791199660000,"timestamp_seconds":1791199660,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd1c7e0"} 
[2026-10-05 17:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":106,"data_length":795,"current_offset":136} 
[2026-10-05 17:02:00] 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-10-05 17: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-10-05 17:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:02: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-10-05 17:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547035904001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547035904001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:02:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:02:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 17:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547035904001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 17:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":207769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:02:00] local.INFO: GPS data processed {"connection_id":207769,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:02:00] local.INFO: Acknowledgment sent {"connection_id":207769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:02:04] local.INFO: TCP Data received {"connection_id":207770,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:02:04] local.INFO: Processing buffer {"connection_id":207770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:02:04] local.INFO: IMEI packet received {"connection_id":207770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":207770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:02:10] local.INFO: TCP Data received {"connection_id":207770,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:02:10] local.INFO: Processing buffer {"connection_id":207770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:02:10] local.INFO: IMEI packet received {"connection_id":207770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":207770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:02:11] local.INFO: TCP Data received {"connection_id":207770,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd47760012d1c0a8007239f38001f007e2c..."} 
[2026-10-05 17:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd47760012d1c0a8007239f38001f007e2c..."} 
[2026-10-05 17:02:11] local.INFO: Processing buffer {"connection_id":207770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd47760012d1c0a8007239f38001f007e2c..."} 
[2026-10-05 17:02:11] local.INFO: Packet analysis {"connection_id":207770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd4"} 
[2026-10-05 17:02:11] local.INFO: Extracted packet for processing {"connection_id":207770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd4"} 
[2026-10-05 17:02:11] local.INFO: GPS Element Parsed {"raw_longitude":756812416,"raw_latitude":119775032,"longitude_deg":75.6812416,"latitude_deg":11.9775032,"altitude":31,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d1c0a80","hex_latitude":"07239f38","is_valid_coordinates":true} 
[2026-10-05 17:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547152640001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176965145165824,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020568150979852288,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:11] 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-10-05 17:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791199836000,"timestamp_ms":1791199836000,"timestamp_seconds":1791199836,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd47760"} 
[2026-10-05 17:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:02:11] 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-10-05 17:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-10-05 17:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2147951519,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250484576046522168,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:11] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3537713153,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:11] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2671247391,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789919438,"corrected_to":0} 
[2026-10-05 17:02:11] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748906,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:11] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:11] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:11] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:11] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,176,83,24,241,157,16,114,161,211,45,128,159,31,44,10,66,129,47,1,240,134,227,11,35,4,113,205,139,56,43,239,49,2,89,7,106,85,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1789919438,"validated":0}]} 
[2026-10-05 17:02:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2233924134029492224,"timestamp_seconds":2233924134029492.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 17:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:02:11] 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-10-05 17:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547152640001,"66":12645,"176":206,"83":42752,"24":0,"16":25176965145165824,"45":2020568150979852288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 17:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547152640001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:02:11] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 17:02:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176965145165824,"km_value":25176965145165.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020568150979852288,"description":"Unknown IO ID 45"} 
[2026-10-05 17:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547152640001,"power":12645,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2020568150979852288}} 
[2026-10-05 17:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":207770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:02:11] local.INFO: GPS data processed {"connection_id":207770,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:02:11] local.INFO: Acknowledgment sent {"connection_id":207770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:02:14] local.INFO: TCP Data received {"connection_id":204700,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:02:14] local.INFO: Processing buffer {"connection_id":204700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:02:14] local.INFO: Packet analysis {"connection_id":204700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd3"} 
[2026-10-05 17:02:14] local.INFO: Extracted packet for processing {"connection_id":204700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd3"} 
[2026-10-05 17:02:14] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":50,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547070976001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791199797000,"timestamp_ms":1791199797000,"timestamp_seconds":1791199797,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd3df08"} 
[2026-10-05 17:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-10-05 17:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":204700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":204700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":204700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547070976001,"66":13048,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 17:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547070976001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:02:14] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:02:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547070976001,"power":13048,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":204700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968712,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:02:14] local.INFO: GPS data processed {"connection_id":204700,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:02:14] local.INFO: Acknowledgment sent {"connection_id":204700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:02:31] local.INFO: TCP Data received {"connection_id":206230,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:02:31] local.INFO: Processing buffer {"connection_id":206230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:02:31] local.INFO: IMEI packet received {"connection_id":206230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":206230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:02:31] local.INFO: TCP Data received {"connection_id":207769,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 17:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 17:02:31] local.INFO: Processing buffer {"connection_id":207769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 17:02:31] local.INFO: Packet analysis {"connection_id":207769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd1"} 
[2026-10-05 17:02:31] local.INFO: Extracted packet for processing {"connection_id":207769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd1"} 
[2026-10-05 17:02:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":49,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547035904001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791199660000,"timestamp_ms":1791199660000,"timestamp_seconds":1791199660,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd1c7e0"} 
[2026-10-05 17:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 17:02:31] 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-10-05 17: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-10-05 17:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:02: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-10-05 17:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547035904001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547035904001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:02:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:02:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 17:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547035904001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 17:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":207769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:02:31] local.INFO: GPS data processed {"connection_id":207769,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:02:31] local.INFO: Acknowledgment sent {"connection_id":207769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:02:36] local.INFO: TCP Data received {"connection_id":206230,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:02:36] local.INFO: Processing buffer {"connection_id":206230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:02:36] local.INFO: IMEI packet received {"connection_id":206230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":206230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:02:37] local.INFO: TCP Data received {"connection_id":206230,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:02:37] local.INFO: Processing buffer {"connection_id":206230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:02:37] local.INFO: Packet analysis {"connection_id":206230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd3"} 
[2026-10-05 17:02:37] local.INFO: Extracted packet for processing {"connection_id":206230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd3"} 
[2026-10-05 17:02:37] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":50,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547070976001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02: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-10-05 17:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791199797000,"timestamp_ms":1791199797000,"timestamp_seconds":1791199797,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd3df08"} 
[2026-10-05 17:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-10-05 17:02:37] 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-10-05 17:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547070976001,"66":13048,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 17:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547070976001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:02:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:02:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547070976001,"power":13048,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":206230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968714,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:02:37] local.INFO: GPS data processed {"connection_id":206230,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:02:37] local.INFO: Acknowledgment sent {"connection_id":206230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:02:41] local.INFO: TCP Data received {"connection_id":207770,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd4c968012d1c0a8007239f38001f007e2b..."} 
[2026-10-05 17:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd4c968012d1c0a8007239f38001f007e2b..."} 
[2026-10-05 17:02:41] local.INFO: Processing buffer {"connection_id":207770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd4c968012d1c0a8007239f38001f007e2b..."} 
[2026-10-05 17:02:41] local.INFO: Packet analysis {"connection_id":207770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd4"} 
[2026-10-05 17:02:41] local.INFO: Extracted packet for processing {"connection_id":207770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd4"} 
[2026-10-05 17:02:41] local.INFO: GPS Element Parsed {"raw_longitude":756812416,"raw_latitude":119775032,"longitude_deg":75.6812416,"latitude_deg":11.9775032,"altitude":31,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d1c0a80","hex_latitude":"07239f38","is_valid_coordinates":true} 
[2026-10-05 17:02: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-10-05 17:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547158016001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176965145165824,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020568150979852288,"note":"Value kept but may cause issues"} 
[2026-10-05 17:02:41] 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-10-05 17:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791199857000,"timestamp_ms":1791199857000,"timestamp_seconds":1791199857,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd4c968"} 
[2026-10-05 17:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:02:41] 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-10-05 17:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 17:02:41] 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-10-05 17:02: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-10-05 17:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":207770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":207770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":207770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:02:41] 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-10-05 17:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547158016001,"66":12645,"176":206,"83":42752,"24":0,"16":25176965145165824,"45":2020568150979852288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 17:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547158016001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:02:41] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 17:02:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176965145165824,"km_value":25176965145165.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020568150979852288,"description":"Unknown IO ID 45"} 
[2026-10-05 17:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547158016001,"power":12645,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2020568150979852288}} 
[2026-10-05 17:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":207770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:02:42] local.INFO: GPS data processed {"connection_id":207770,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:02:42] local.INFO: Acknowledgment sent {"connection_id":207770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:02:54] local.INFO: TCP Data received {"connection_id":206231,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:02:54] local.INFO: Processing buffer {"connection_id":206231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:02:54] local.INFO: IMEI packet received {"connection_id":206231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":206231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:02:59] local.INFO: TCP Data received {"connection_id":206231,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:02:59] local.INFO: Processing buffer {"connection_id":206231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:02:59] local.INFO: IMEI packet received {"connection_id":206231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":206231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:03:00] local.INFO: TCP Data received {"connection_id":206231,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 17:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 17:03:00] local.INFO: Processing buffer {"connection_id":206231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd1c7e0012d80b3c00602ac50001400cf31..."} 
[2026-10-05 17:03:00] local.INFO: Packet analysis {"connection_id":206231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd1"} 
[2026-10-05 17:03:00] local.INFO: Extracted packet for processing {"connection_id":206231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd1"} 
[2026-10-05 17:03:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":49,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547035904001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 17:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791199660000,"timestamp_ms":1791199660000,"timestamp_seconds":1791199660,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd1c7e0"} 
[2026-10-05 17:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 17:03:00] 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-10-05 17: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-10-05 17:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:03: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-10-05 17:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547035904001,"66":25973,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547035904001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:03:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:03:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 17:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547035904001,"power":25973,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 17:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":206231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:03:00] local.INFO: GPS data processed {"connection_id":206231,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:03:00] local.INFO: Acknowledgment sent {"connection_id":206231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:03:08] local.INFO: TCP Data received {"connection_id":206230,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:03:08] local.INFO: Processing buffer {"connection_id":206230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:03:08] local.INFO: Packet analysis {"connection_id":206230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd3"} 
[2026-10-05 17:03:08] local.INFO: Extracted packet for processing {"connection_id":206230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd3"} 
[2026-10-05 17:03:08] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":50,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547070976001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:03:08] 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-10-05 17:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791199797000,"timestamp_ms":1791199797000,"timestamp_seconds":1791199797,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd3df08"} 
[2026-10-05 17:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-10-05 17:03:08] 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-10-05 17: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-10-05 17:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547070976001,"66":13048,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 17:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547070976001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:03:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:03:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547070976001,"power":13048,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":206230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968717,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:03:09] local.INFO: GPS data processed {"connection_id":206230,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:03:09] local.INFO: Acknowledgment sent {"connection_id":206230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:03:10] local.INFO: TCP Data received {"connection_id":207771,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:03:10] local.INFO: Processing buffer {"connection_id":207771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:03:10] local.INFO: IMEI packet received {"connection_id":207771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":207771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:03:14] local.INFO: TCP Data received {"connection_id":204826,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:03:14] local.INFO: Processing buffer {"connection_id":204826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:03:14] local.INFO: IMEI packet received {"connection_id":204826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 17:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":204826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:03:15] local.INFO: TCP Data received {"connection_id":207771,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:03:15] local.INFO: Processing buffer {"connection_id":207771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:03:15] local.INFO: IMEI packet received {"connection_id":207771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":207771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:03:16] local.INFO: TCP Data received {"connection_id":207771,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd51b70012d1c0a8007239f38001f007e2c..."} 
[2026-10-05 17:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd51b70012d1c0a8007239f38001f007e2c..."} 
[2026-10-05 17:03:16] local.INFO: Processing buffer {"connection_id":207771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd51b70012d1c0a8007239f38001f007e2c..."} 
[2026-10-05 17:03:16] local.INFO: Packet analysis {"connection_id":207771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd5"} 
[2026-10-05 17:03:16] local.INFO: Extracted packet for processing {"connection_id":207771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd5"} 
[2026-10-05 17:03:16] local.INFO: GPS Element Parsed {"raw_longitude":756812416,"raw_latitude":119775032,"longitude_deg":75.6812416,"latitude_deg":11.9775032,"altitude":31,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d1c0a80","hex_latitude":"07239f38","is_valid_coordinates":true} 
[2026-10-05 17:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547163392001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176965145165824,"note":"Value kept but may cause issues"} 
[2026-10-05 17:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020568150979852288,"note":"Value kept but may cause issues"} 
[2026-10-05 17:03:16] 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-10-05 17:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791199878000,"timestamp_ms":1791199878000,"timestamp_seconds":1791199878,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd51b70"} 
[2026-10-05 17:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 17:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547163392001,"66":12613,"176":206,"83":42752,"24":0,"16":25176965145165824,"45":2020568150979852288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 17:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547163392001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:03:16] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 17:03:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176965145165824,"km_value":25176965145165.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020568150979852288,"description":"Unknown IO ID 45"} 
[2026-10-05 17:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547163392001,"power":12613,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2020568150979852288}} 
[2026-10-05 17:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":207771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:03:16] local.INFO: GPS data processed {"connection_id":207771,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:03:16] local.INFO: Acknowledgment sent {"connection_id":207771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:03:20] local.INFO: TCP Data received {"connection_id":207771,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd56d78012d1c0a8007239f38001f007e2b..."} 
[2026-10-05 17:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd56d78012d1c0a8007239f38001f007e2b..."} 
[2026-10-05 17:03:20] local.INFO: Processing buffer {"connection_id":207771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd56d78012d1c0a8007239f38001f007e2b..."} 
[2026-10-05 17:03:20] local.INFO: Packet analysis {"connection_id":207771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd5"} 
[2026-10-05 17:03:20] local.INFO: Extracted packet for processing {"connection_id":207771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd5"} 
[2026-10-05 17:03:20] local.INFO: GPS Element Parsed {"raw_longitude":756812416,"raw_latitude":119775032,"longitude_deg":75.6812416,"latitude_deg":11.9775032,"altitude":31,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d1c0a80","hex_latitude":"07239f38","is_valid_coordinates":true} 
[2026-10-05 17:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547168768001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176965145165824,"note":"Value kept but may cause issues"} 
[2026-10-05 17:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020568150979852288,"note":"Value kept but may cause issues"} 
[2026-10-05 17:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791199899000,"timestamp_ms":1791199899000,"timestamp_seconds":1791199899,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd56d78"} 
[2026-10-05 17:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:03: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-10-05 17:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 17:03:20] 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-10-05 17:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":207771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":207771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":207771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:03:20] 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-10-05 17:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547168768001,"66":12613,"176":206,"83":42752,"24":0,"16":25176965145165824,"45":2020568150979852288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 17:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547168768001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:03:20] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 17:03:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176965145165824,"km_value":25176965145165.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020568150979852288,"description":"Unknown IO ID 45"} 
[2026-10-05 17:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547168768001,"power":12613,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2020568150979852288}} 
[2026-10-05 17:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":207771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:03:20] local.INFO: GPS data processed {"connection_id":207771,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:03:20] local.INFO: Acknowledgment sent {"connection_id":207771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:03:30] local.INFO: TCP Data received {"connection_id":207772,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:03:30] local.INFO: Processing buffer {"connection_id":207772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:03:30] local.INFO: IMEI packet received {"connection_id":207772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":207772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:03:31] local.INFO: TCP Data received {"connection_id":206231,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:03:31] local.INFO: Processing buffer {"connection_id":206231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:03:31] local.INFO: Packet analysis {"connection_id":206231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd6"} 
[2026-10-05 17:03:31] local.INFO: Extracted packet for processing {"connection_id":206231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd6"} 
[2026-10-05 17:03:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547112960001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 17:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791199961000,"timestamp_ms":1791199961000,"timestamp_seconds":1791199961,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd65fa8"} 
[2026-10-05 17:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 17:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:03: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-10-05 17:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547112960001,"66":25941,"70":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,87,24,16,45]} 
[2026-10-05 17:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547112960001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:03:31] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-10-05 17:03:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 17:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547112960001,"power":25941,"unknown_70":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 17:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":206231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:03:31] local.INFO: GPS data processed {"connection_id":206231,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:03:31] local.INFO: Acknowledgment sent {"connection_id":206231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:03:34] local.INFO: TCP Data received {"connection_id":204701,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204701,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:03:34] local.INFO: Processing buffer {"connection_id":204701,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:03:34] local.INFO: IMEI packet received {"connection_id":204701,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 17:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":204701,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:03:36] local.INFO: TCP Data received {"connection_id":207772,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:03:36] local.INFO: Processing buffer {"connection_id":207772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:03:36] local.INFO: IMEI packet received {"connection_id":207772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":207772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:03:37] local.INFO: TCP Data received {"connection_id":207772,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:03:37] local.INFO: Processing buffer {"connection_id":207772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:03:37] local.INFO: Packet analysis {"connection_id":207772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd3"} 
[2026-10-05 17:03:37] local.INFO: Extracted packet for processing {"connection_id":207772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd3"} 
[2026-10-05 17:03:37] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":50,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547070976001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:03: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-10-05 17:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791199797000,"timestamp_ms":1791199797000,"timestamp_seconds":1791199797,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd3df08"} 
[2026-10-05 17:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-10-05 17:03:37] 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-10-05 17:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547070976001,"66":13048,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 17:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547070976001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:03:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:03:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547070976001,"power":13048,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":207772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968721,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:03:37] local.INFO: GPS data processed {"connection_id":207772,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:03:37] local.INFO: Acknowledgment sent {"connection_id":207772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:03:54] local.INFO: TCP Data received {"connection_id":204827,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:03:54] local.INFO: Processing buffer {"connection_id":204827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:03:54] local.INFO: IMEI packet received {"connection_id":204827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":204827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:03:59] local.INFO: TCP Data received {"connection_id":204827,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:03:59] local.INFO: Processing buffer {"connection_id":204827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:03:59] local.INFO: IMEI packet received {"connection_id":204827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":204827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:04:00] local.INFO: TCP Data received {"connection_id":204827,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:04:00] local.INFO: Processing buffer {"connection_id":204827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:04:00] local.INFO: Packet analysis {"connection_id":204827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd6"} 
[2026-10-05 17:04:00] local.INFO: Extracted packet for processing {"connection_id":204827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd6"} 
[2026-10-05 17:04:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547112960001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 17:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791199961000,"timestamp_ms":1791199961000,"timestamp_seconds":1791199961,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd65fa8"} 
[2026-10-05 17:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 17:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:04: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-10-05 17:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547112960001,"66":25941,"70":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,87,24,16,45]} 
[2026-10-05 17:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547112960001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:04:00] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-10-05 17:04:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 17:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547112960001,"power":25941,"unknown_70":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 17:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":204827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:04:00] local.INFO: GPS data processed {"connection_id":204827,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:04:00] local.INFO: Acknowledgment sent {"connection_id":204827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:04:02] local.INFO: TCP Data received {"connection_id":204702,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:04:02] local.INFO: Processing buffer {"connection_id":204702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:04:02] local.INFO: IMEI packet received {"connection_id":204702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":204702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:04:08] local.INFO: TCP Data received {"connection_id":204702,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:04:08] local.INFO: Processing buffer {"connection_id":204702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:04:08] local.INFO: IMEI packet received {"connection_id":204702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":204702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:04:10] local.INFO: TCP Data received {"connection_id":204702,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:04:10] local.INFO: Processing buffer {"connection_id":204702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:04:10] local.INFO: IMEI packet received {"connection_id":204702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":204702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:04:12] local.INFO: TCP Data received {"connection_id":207772,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:04:12] local.INFO: Processing buffer {"connection_id":207772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:04:12] local.INFO: Packet analysis {"connection_id":207772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd3"} 
[2026-10-05 17:04:12] local.INFO: Extracted packet for processing {"connection_id":207772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd3"} 
[2026-10-05 17:04:12] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":50,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547070976001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:04:12] 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-10-05 17:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791199797000,"timestamp_ms":1791199797000,"timestamp_seconds":1791199797,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd3df08"} 
[2026-10-05 17:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-10-05 17:04:12] 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-10-05 17:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":207772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":207772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":207772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547070976001,"66":13048,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 17:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547070976001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:04:12] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:04:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547070976001,"power":13048,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":207772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968723,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:04:12] local.INFO: GPS data processed {"connection_id":207772,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:04:12] local.INFO: Acknowledgment sent {"connection_id":207772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:04:12] local.INFO: TCP Data received {"connection_id":204702,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:04:12] local.INFO: Processing buffer {"connection_id":204702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:04:12] local.INFO: IMEI packet received {"connection_id":204702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":204702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:04:14] local.INFO: TCP Data received {"connection_id":204702,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd5bf80012d1c0a8007239f38001f007e2d..."} 
[2026-10-05 17:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd5bf80012d1c0a8007239f38001f007e2d..."} 
[2026-10-05 17:04:14] local.INFO: Processing buffer {"connection_id":204702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd5bf80012d1c0a8007239f38001f007e2d..."} 
[2026-10-05 17:04:14] local.INFO: Packet analysis {"connection_id":204702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd5"} 
[2026-10-05 17:04:14] local.INFO: Extracted packet for processing {"connection_id":204702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd5"} 
[2026-10-05 17:04:14] local.INFO: GPS Element Parsed {"raw_longitude":756812416,"raw_latitude":119775032,"longitude_deg":75.6812416,"latitude_deg":11.9775032,"altitude":31,"angle":126,"satellites":45,"speed":0,"hex_longitude":"2d1c0a80","hex_latitude":"07239f38","is_valid_coordinates":true} 
[2026-10-05 17:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547174144001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176965145165824,"note":"Value kept but may cause issues"} 
[2026-10-05 17:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020568150979852288,"note":"Value kept but may cause issues"} 
[2026-10-05 17:04:14] 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-10-05 17:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791199920000,"timestamp_ms":1791199920000,"timestamp_seconds":1791199920,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd5bf80"} 
[2026-10-05 17:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 17:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":204702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":204702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":204702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:04:14] 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-10-05 17:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547174144001,"66":12613,"176":206,"83":42752,"24":0,"16":25176965145165824,"45":2020568150979852288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 17:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547174144001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:04:14] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 17:04:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176965145165824,"km_value":25176965145165.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020568150979852288,"description":"Unknown IO ID 45"} 
[2026-10-05 17:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547174144001,"power":12613,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2020568150979852288}} 
[2026-10-05 17:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":204702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:04:14] local.INFO: GPS data processed {"connection_id":204702,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:04:14] local.INFO: Acknowledgment sent {"connection_id":204702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:04:30] local.INFO: TCP Data received {"connection_id":204828,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:04:30] local.INFO: Processing buffer {"connection_id":204828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:04:30] local.INFO: IMEI packet received {"connection_id":204828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":204828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:04:31] local.INFO: TCP Data received {"connection_id":204827,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:04:31] local.INFO: Processing buffer {"connection_id":204827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:04:31] local.INFO: Packet analysis {"connection_id":204827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd6"} 
[2026-10-05 17:04:31] local.INFO: Extracted packet for processing {"connection_id":204827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd6"} 
[2026-10-05 17:04:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547112960001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 17:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791199961000,"timestamp_ms":1791199961000,"timestamp_seconds":1791199961,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd65fa8"} 
[2026-10-05 17:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 17:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:04: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-10-05 17:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547112960001,"66":25941,"70":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,87,24,16,45]} 
[2026-10-05 17:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547112960001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:04:31] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-10-05 17:04:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 17:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547112960001,"power":25941,"unknown_70":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 17:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":204827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:04:31] local.INFO: GPS data processed {"connection_id":204827,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:04:31] local.INFO: Acknowledgment sent {"connection_id":204827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:04:36] local.INFO: TCP Data received {"connection_id":204828,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:04:36] local.INFO: Processing buffer {"connection_id":204828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:04:36] local.INFO: IMEI packet received {"connection_id":204828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":204828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:04:37] local.INFO: TCP Data received {"connection_id":204828,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:04:37] local.INFO: Processing buffer {"connection_id":204828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd3df08012d7a204005e46818000d014e32..."} 
[2026-10-05 17:04:37] local.INFO: Packet analysis {"connection_id":204828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd3"} 
[2026-10-05 17:04:37] local.INFO: Extracted packet for processing {"connection_id":204828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd3"} 
[2026-10-05 17:04:37] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":50,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547070976001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:04: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-10-05 17:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791199797000,"timestamp_ms":1791199797000,"timestamp_seconds":1791199797,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd3df08"} 
[2026-10-05 17:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-10-05 17:04:37] 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-10-05 17:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:04: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-10-05 17:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547070976001,"66":13048,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 17:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547070976001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:04:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:04:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547070976001,"power":13048,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":204828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968726,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:04:37] local.INFO: GPS data processed {"connection_id":204828,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:04:37] local.INFO: Acknowledgment sent {"connection_id":204828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:04:45] local.INFO: TCP Data received {"connection_id":204702,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd61188012d1c0a8007239f38001f007e2c..."} 
[2026-10-05 17:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd61188012d1c0a8007239f38001f007e2c..."} 
[2026-10-05 17:04:45] local.INFO: Processing buffer {"connection_id":204702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd61188012d1c0a8007239f38001f007e2c..."} 
[2026-10-05 17:04:45] local.INFO: Packet analysis {"connection_id":204702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd6"} 
[2026-10-05 17:04:45] local.INFO: Extracted packet for processing {"connection_id":204702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd6"} 
[2026-10-05 17:04:45] local.INFO: GPS Element Parsed {"raw_longitude":756812416,"raw_latitude":119775032,"longitude_deg":75.6812416,"latitude_deg":11.9775032,"altitude":31,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d1c0a80","hex_latitude":"07239f38","is_valid_coordinates":true} 
[2026-10-05 17:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547179520001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176965145165824,"note":"Value kept but may cause issues"} 
[2026-10-05 17:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020568150979852288,"note":"Value kept but may cause issues"} 
[2026-10-05 17:04:45] 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-10-05 17:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791199941000,"timestamp_ms":1791199941000,"timestamp_seconds":1791199941,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd61188"} 
[2026-10-05 17:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 17:04:45] 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-10-05 17:04: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-10-05 17:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":204702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":204702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":204702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:04:45] 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-10-05 17:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547179520001,"66":12591,"176":206,"83":42752,"24":0,"16":25176965145165824,"45":2020568150979852288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 17:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547179520001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:04:45] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 17:04:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176965145165824,"km_value":25176965145165.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020568150979852288,"description":"Unknown IO ID 45"} 
[2026-10-05 17:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547179520001,"power":12591,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2020568150979852288}} 
[2026-10-05 17:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":204702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:04:45] local.INFO: GPS data processed {"connection_id":204702,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:04:45] local.INFO: Acknowledgment sent {"connection_id":204702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:04:54] local.INFO: TCP Data received {"connection_id":206232,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:04:54] local.INFO: Processing buffer {"connection_id":206232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:04:54] local.INFO: IMEI packet received {"connection_id":206232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":206232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:04:59] local.INFO: TCP Data received {"connection_id":206232,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:04:59] local.INFO: Processing buffer {"connection_id":206232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:04:59] local.INFO: IMEI packet received {"connection_id":206232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":206232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:05:00] local.INFO: TCP Data received {"connection_id":206232,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:05:00] local.INFO: Processing buffer {"connection_id":206232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:05:00] local.INFO: Packet analysis {"connection_id":206232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd6"} 
[2026-10-05 17:05:00] local.INFO: Extracted packet for processing {"connection_id":206232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd6"} 
[2026-10-05 17:05:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547112960001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 17:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791199961000,"timestamp_ms":1791199961000,"timestamp_seconds":1791199961,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd65fa8"} 
[2026-10-05 17:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 17:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:05: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-10-05 17:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547112960001,"66":25941,"70":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,87,24,16,45]} 
[2026-10-05 17:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547112960001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:05:00] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-10-05 17:05:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 17:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547112960001,"power":25941,"unknown_70":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 17:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":206232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:05:00] local.INFO: GPS data processed {"connection_id":206232,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:05:00] local.INFO: Acknowledgment sent {"connection_id":206232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:05:04] local.INFO: TCP Data received {"connection_id":207773,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:05:04] local.INFO: Processing buffer {"connection_id":207773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:05:04] local.INFO: IMEI packet received {"connection_id":207773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":207773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:05:07] local.INFO: TCP Data received {"connection_id":207773,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:05:07] local.INFO: Processing buffer {"connection_id":207773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:05:07] local.INFO: IMEI packet received {"connection_id":207773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":207773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:05:10] local.INFO: TCP Data received {"connection_id":207773,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:05:10] local.INFO: Processing buffer {"connection_id":207773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:05:10] local.INFO: IMEI packet received {"connection_id":207773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":207773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:05:10] local.INFO: TCP Data received {"connection_id":204828,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:05:10] local.INFO: Processing buffer {"connection_id":204828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:05:10] local.INFO: Packet analysis {"connection_id":204828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:05:10] local.INFO: Extracted packet for processing {"connection_id":204828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:05:10] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":47,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547148032001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:05:10] 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-10-05 17:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791200098000,"timestamp_ms":1791200098000,"timestamp_seconds":1791200098,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd876d0"} 
[2026-10-05 17:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 17:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:05:10] 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-10-05 17:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547148032001,"66":12961,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 17:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547148032001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:05:10] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547148032001,"power":12961,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":204828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:05:10] local.INFO: GPS data processed {"connection_id":204828,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:05:10] local.INFO: Acknowledgment sent {"connection_id":204828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:05:11] local.INFO: TCP Data received {"connection_id":207773,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd66390012d1c0a8007239f38001f007e2a..."} 
[2026-10-05 17:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd66390012d1c0a8007239f38001f007e2a..."} 
[2026-10-05 17:05:11] local.INFO: Processing buffer {"connection_id":207773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd66390012d1c0a8007239f38001f007e2a..."} 
[2026-10-05 17:05:11] local.INFO: Packet analysis {"connection_id":207773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd6"} 
[2026-10-05 17:05:11] local.INFO: Extracted packet for processing {"connection_id":207773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd6"} 
[2026-10-05 17:05:11] local.INFO: GPS Element Parsed {"raw_longitude":756812416,"raw_latitude":119775032,"longitude_deg":75.6812416,"latitude_deg":11.9775032,"altitude":31,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d1c0a80","hex_latitude":"07239f38","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547184896001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176965145165824,"note":"Value kept but may cause issues"} 
[2026-10-05 17:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020568150979852288,"note":"Value kept but may cause issues"} 
[2026-10-05 17:05:11] 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-10-05 17:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791199962000,"timestamp_ms":1791199962000,"timestamp_seconds":1791199962,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd66390"} 
[2026-10-05 17:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:05:11] 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-10-05 17: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-05 17:05:11] 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-10-05 17: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-10-05 17:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:05:11] 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-10-05 17:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547184896001,"66":13450,"176":206,"83":42752,"24":0,"16":25176965145165824,"45":2020568150979852288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 17:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547184896001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:05:11] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 17:05:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176965145165824,"km_value":25176965145165.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020568150979852288,"description":"Unknown IO ID 45"} 
[2026-10-05 17:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547184896001,"power":13450,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2020568150979852288}} 
[2026-10-05 17:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":207773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:05:11] local.INFO: GPS data processed {"connection_id":207773,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:05:11] local.INFO: Acknowledgment sent {"connection_id":207773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:05:16] local.INFO: TCP Data received {"connection_id":207773,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd6b598012d1c0a8007239f38001f007e2a..."} 
[2026-10-05 17:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd6b598012d1c0a8007239f38001f007e2a..."} 
[2026-10-05 17:05:16] local.INFO: Processing buffer {"connection_id":207773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd6b598012d1c0a8007239f38001f007e2a..."} 
[2026-10-05 17:05:16] local.INFO: Packet analysis {"connection_id":207773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd6"} 
[2026-10-05 17:05:16] local.INFO: Extracted packet for processing {"connection_id":207773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd6"} 
[2026-10-05 17:05:16] local.INFO: GPS Element Parsed {"raw_longitude":756812416,"raw_latitude":119775032,"longitude_deg":75.6812416,"latitude_deg":11.9775032,"altitude":31,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d1c0a80","hex_latitude":"07239f38","is_valid_coordinates":true} 
[2026-10-05 17:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547190272001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25176965145165824,"note":"Value kept but may cause issues"} 
[2026-10-05 17:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020568150979852288,"note":"Value kept but may cause issues"} 
[2026-10-05 17:05:16] 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-10-05 17:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791199983000,"timestamp_ms":1791199983000,"timestamp_seconds":1791199983,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd6b598"} 
[2026-10-05 17:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 17:05: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-10-05 17:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547190272001,"66":14157,"176":206,"83":42752,"24":0,"16":25176965145165824,"45":2020568150979852288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 17:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547190272001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:05:16] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 17:05:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25176965145165824,"km_value":25176965145165.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020568150979852288,"description":"Unknown IO ID 45"} 
[2026-10-05 17:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547190272001,"power":14157,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2020568150979852288}} 
[2026-10-05 17:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":207773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:05:16] local.INFO: GPS data processed {"connection_id":207773,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:05:16] local.INFO: Acknowledgment sent {"connection_id":207773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:05:32] local.INFO: TCP Data received {"connection_id":206232,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:05:32] local.INFO: Processing buffer {"connection_id":206232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:05:32] local.INFO: Packet analysis {"connection_id":206232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd6"} 
[2026-10-05 17:05:32] local.INFO: Extracted packet for processing {"connection_id":206232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd6"} 
[2026-10-05 17:05:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 17:05: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-10-05 17:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547112960001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 17:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791199961000,"timestamp_ms":1791199961000,"timestamp_seconds":1791199961,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd65fa8"} 
[2026-10-05 17:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 17:05:32] 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-10-05 17:05: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-10-05 17:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547112960001,"66":25941,"70":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,87,24,16,45]} 
[2026-10-05 17:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547112960001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:05:32] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-10-05 17:05:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 17:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547112960001,"power":25941,"unknown_70":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 17:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":206232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:05:32] local.INFO: GPS data processed {"connection_id":206232,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:05:32] local.INFO: Acknowledgment sent {"connection_id":206232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:05:36] local.INFO: TCP Data received {"connection_id":204704,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:05:36] local.INFO: Processing buffer {"connection_id":204704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:05:36] local.INFO: IMEI packet received {"connection_id":204704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":204704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:05:41] local.INFO: TCP Data received {"connection_id":204704,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:05:41] local.INFO: Processing buffer {"connection_id":204704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:05:41] local.INFO: IMEI packet received {"connection_id":204704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":204704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:05:43] local.INFO: TCP Data received {"connection_id":204704,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:05:43] local.INFO: Processing buffer {"connection_id":204704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:05:43] local.INFO: Packet analysis {"connection_id":204704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:05:43] local.INFO: Extracted packet for processing {"connection_id":204704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:05:43] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":47,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547148032001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:05:43] 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-10-05 17:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791200098000,"timestamp_ms":1791200098000,"timestamp_seconds":1791200098,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd876d0"} 
[2026-10-05 17:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 17:05:43] 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-10-05 17: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-10-05 17:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:05:43] 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-10-05 17:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547148032001,"66":12961,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 17:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547148032001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:05:43] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:05:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547148032001,"power":12961,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":204704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968733,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:05:43] local.INFO: GPS data processed {"connection_id":204704,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:05:43] local.INFO: Acknowledgment sent {"connection_id":204704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:05:47] local.INFO: TCP Data received {"connection_id":204704,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:05:47] local.INFO: Processing buffer {"connection_id":204704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:05:47] local.INFO: Packet analysis {"connection_id":204704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:05:47] local.INFO: Extracted packet for processing {"connection_id":204704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:05:47] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":47,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17:05: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-10-05 17:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547148032001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:05:47] 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-10-05 17:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791200098000,"timestamp_ms":1791200098000,"timestamp_seconds":1791200098,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd876d0"} 
[2026-10-05 17:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 17:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:05: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-10-05 17:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":204704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":204704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":204704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:05:47] 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-10-05 17:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547148032001,"66":12961,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 17:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547148032001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:05:47] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:05:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547148032001,"power":12961,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":204704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968734,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:05:47] local.INFO: GPS data processed {"connection_id":204704,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:05:47] local.INFO: Acknowledgment sent {"connection_id":204704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:05:54] local.INFO: TCP Data received {"connection_id":207774,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:05:54] local.INFO: Processing buffer {"connection_id":207774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:05:54] local.INFO: IMEI packet received {"connection_id":207774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":207774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:05:59] local.INFO: TCP Data received {"connection_id":207774,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:05:59] local.INFO: Processing buffer {"connection_id":207774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:05:59] local.INFO: IMEI packet received {"connection_id":207774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":207774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:06:00] local.INFO: TCP Data received {"connection_id":207774,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:06:00] local.INFO: Processing buffer {"connection_id":207774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:06:00] local.INFO: Packet analysis {"connection_id":207774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd6"} 
[2026-10-05 17:06:00] local.INFO: Extracted packet for processing {"connection_id":207774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd6"} 
[2026-10-05 17:06:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 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-10-05 17:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547112960001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 17:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791199961000,"timestamp_ms":1791199961000,"timestamp_seconds":1791199961,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd65fa8"} 
[2026-10-05 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-10-05 17:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 17:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 17:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:06: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-10-05 17:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547112960001,"66":25941,"70":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,87,24,16,45]} 
[2026-10-05 17:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547112960001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:06:00] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-10-05 17:06:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 17:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547112960001,"power":25941,"unknown_70":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 17:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":207774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:06:00] local.INFO: GPS data processed {"connection_id":207774,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:06:00] local.INFO: Acknowledgment sent {"connection_id":207774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:06:13] local.INFO: TCP Data received {"connection_id":206233,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:06:13] local.INFO: Processing buffer {"connection_id":206233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:06:13] local.INFO: IMEI packet received {"connection_id":206233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":206233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:06:16] local.INFO: TCP Data received {"connection_id":206233,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:06:16] local.INFO: Processing buffer {"connection_id":206233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:06:16] local.INFO: IMEI packet received {"connection_id":206233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":206233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:06:27] local.INFO: TCP Data received {"connection_id":206233,"ip":"42.106.6.15","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a10b..."} 
[2026-10-05 17:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206233,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a10b..."} 
[2026-10-05 17:06:28] local.INFO: Processing buffer {"connection_id":206233,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a10b..."} 
[2026-10-05 17:06:28] local.INFO: IMEI packet received {"connection_id":206233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":206233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:06:28] local.INFO: TCP Data received {"connection_id":206233,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd87ab8012d1b508007247478001f013f29..."} 
[2026-10-05 17:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd87ab8012d1b508007247478001f013f29..."} 
[2026-10-05 17:06:28] local.INFO: Processing buffer {"connection_id":206233,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a10bd84fc0012d1b684007245a98001e013a27..."} 
[2026-10-05 17:06:28] local.INFO: Packet analysis {"connection_id":206233,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:06:28] local.INFO: Extracted packet for processing {"connection_id":206233,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756770880,"raw_latitude":119823000,"longitude_deg":75.677088,"latitude_deg":11.9823,"altitude":30,"angle":314,"satellites":39,"speed":25,"hex_longitude":"2d1b6840","hex_latitude":"07245a98","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547219968001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25180053226651648,"note":"Value kept but may cause issues"} 
[2026-10-05 17:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1981583866715977728,"note":"Value kept but may cause issues"} 
[2026-10-05 17:06:28] 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-10-05 17:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1791200088000,"timestamp_ms":1791200088000,"timestamp_seconds":1791200088,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd84fc0"} 
[2026-10-05 17:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:06: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-10-05 17: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-10-05 17:06:28] 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-10-05 17: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-10-05 17:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":206233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":206233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":206233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:06:28] 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-10-05 17:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547219968001,"66":14026,"176":206,"83":42752,"24":25,"16":25180053226651648,"45":1981583866715977728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 17:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547219968001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:06:28] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 17:06:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25180053226651648,"km_value":25180053226651.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1981583866715977728,"description":"Unknown IO ID 45"} 
[2026-10-05 17:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547219968001,"power":14026,"unknown_176":206,"unknown_83":42752,"ignition":25,"odometer":null,"unknown_45":1981583866715977728}} 
[2026-10-05 17:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":206233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:06:28] local.INFO: GPS data processed {"connection_id":206233,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:06:28] local.INFO: Acknowledgment sent {"connection_id":206233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:06:28] local.INFO: Packet analysis {"connection_id":206233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:06:28] local.INFO: Extracted packet for processing {"connection_id":206233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756764800,"raw_latitude":119829624,"longitude_deg":75.67648,"latitude_deg":11.9829624,"altitude":31,"angle":319,"satellites":41,"speed":35,"hex_longitude":"2d1b5080","hex_latitude":"07247478","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547222528001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25180482723381248,"note":"Value kept but may cause issues"} 
[2026-10-05 17:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974898836020828160,"note":"Value kept but may cause issues"} 
[2026-10-05 17:06:28] 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-10-05 17:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1791200099000,"timestamp_ms":1791200099000,"timestamp_seconds":1791200099,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd87ab8"} 
[2026-10-05 17:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-10-05 17:06:28] 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-10-05 17: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-10-05 17:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":206233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":206233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":206233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:06:28] 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-10-05 17:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547222528001,"66":14004,"176":206,"83":42752,"24":35,"16":25180482723381248,"45":1974898836020828160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 17:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547222528001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:06:28] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 17:06:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25180482723381248,"km_value":25180482723381.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974898836020828160,"description":"Unknown IO ID 45"} 
[2026-10-05 17:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547222528001,"power":14004,"unknown_176":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1974898836020828160}} 
[2026-10-05 17:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":206233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:06:28] local.INFO: GPS data processed {"connection_id":206233,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:06:28] local.INFO: Acknowledgment sent {"connection_id":206233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:06:30] local.INFO: TCP Data received {"connection_id":206233,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd89228012d1b460007247fe8001f012d2a..."} 
[2026-10-05 17:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd89228012d1b460007247fe8001f012d2a..."} 
[2026-10-05 17:06:30] local.INFO: Processing buffer {"connection_id":206233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd89228012d1b460007247fe8001f012d2a..."} 
[2026-10-05 17:06:30] local.INFO: Packet analysis {"connection_id":206233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:06:30] local.INFO: Extracted packet for processing {"connection_id":206233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:06:30] local.INFO: GPS Element Parsed {"raw_longitude":756762112,"raw_latitude":119832552,"longitude_deg":75.6762112,"latitude_deg":11.9832552,"altitude":31,"angle":301,"satellites":42,"speed":24,"hex_longitude":"2d1b4600","hex_latitude":"07247fe8","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547225344001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25180675996909568,"note":"Value kept but may cause issues"} 
[2026-10-05 17:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968213805325645824,"note":"Value kept but may cause issues"} 
[2026-10-05 17:06: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-10-05 17:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1791200105000,"timestamp_ms":1791200105000,"timestamp_seconds":1791200105,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd89228"} 
[2026-10-05 17:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:06: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-10-05 17: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-10-05 17:06: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-10-05 17: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-10-05 17:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":206233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":206233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":206233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:06: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-10-05 17:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547225344001,"66":13961,"176":206,"83":42752,"24":24,"16":25180675996909568,"45":1968213805325645824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 17:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547225344001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:06:30] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 17:06:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25180675996909568,"km_value":25180675996909.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968213805325645824,"description":"Unknown IO ID 45"} 
[2026-10-05 17:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547225344001,"power":13961,"unknown_176":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1968213805325645824}} 
[2026-10-05 17:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":206233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:06:30] local.INFO: GPS data processed {"connection_id":206233,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:06:30] local.INFO: Acknowledgment sent {"connection_id":206233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:06:31] local.INFO: TCP Data received {"connection_id":207774,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:06:31] local.INFO: Processing buffer {"connection_id":207774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:06:31] local.INFO: Packet analysis {"connection_id":207774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd6"} 
[2026-10-05 17:06:31] local.INFO: Extracted packet for processing {"connection_id":207774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd6"} 
[2026-10-05 17:06:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547112960001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 17:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791199961000,"timestamp_ms":1791199961000,"timestamp_seconds":1791199961,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd65fa8"} 
[2026-10-05 17:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 17:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:06: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-10-05 17:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547112960001,"66":25941,"70":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,87,24,16,45]} 
[2026-10-05 17:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547112960001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:06:31] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-10-05 17:06:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 17:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547112960001,"power":25941,"unknown_70":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 17:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":207774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:06:31] local.INFO: GPS data processed {"connection_id":207774,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:06:31] local.INFO: Acknowledgment sent {"connection_id":207774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:06:31] local.INFO: TCP Data received {"connection_id":207775,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:06:31] local.INFO: Processing buffer {"connection_id":207775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:06:31] local.INFO: IMEI packet received {"connection_id":207775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":207775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:06:36] local.INFO: TCP Data received {"connection_id":207775,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:06:36] local.INFO: Processing buffer {"connection_id":207775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:06:36] local.INFO: IMEI packet received {"connection_id":207775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":207775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:06:37] local.INFO: TCP Data received {"connection_id":207775,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:06:37] local.INFO: Processing buffer {"connection_id":207775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:06:37] local.INFO: Packet analysis {"connection_id":207775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:06:37] local.INFO: Extracted packet for processing {"connection_id":207775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:06:37] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":47,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547148032001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:06: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-10-05 17:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791200098000,"timestamp_ms":1791200098000,"timestamp_seconds":1791200098,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd876d0"} 
[2026-10-05 17:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 17:06: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-10-05 17:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547148032001,"66":12961,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 17:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547148032001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:06:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:06:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547148032001,"power":12961,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":207775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968740,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:06:37] local.INFO: GPS data processed {"connection_id":207775,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:06:37] local.INFO: Acknowledgment sent {"connection_id":207775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:06:54] local.INFO: TCP Data received {"connection_id":204830,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:06:54] local.INFO: Processing buffer {"connection_id":204830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:06:54] local.INFO: IMEI packet received {"connection_id":204830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":204830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:06:59] local.INFO: TCP Data received {"connection_id":204830,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:06:59] local.INFO: Processing buffer {"connection_id":204830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:06:59] local.INFO: IMEI packet received {"connection_id":204830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":204830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:07:01] local.INFO: TCP Data received {"connection_id":204830,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:07:01] local.INFO: Processing buffer {"connection_id":204830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:07:01] local.INFO: Packet analysis {"connection_id":204830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd6"} 
[2026-10-05 17:07:01] local.INFO: Extracted packet for processing {"connection_id":204830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd6"} 
[2026-10-05 17:07:01] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 17:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547112960001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 17:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791199961000,"timestamp_ms":1791199961000,"timestamp_seconds":1791199961,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd65fa8"} 
[2026-10-05 17:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 17:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547112960001,"66":25941,"70":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,87,24,16,45]} 
[2026-10-05 17:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547112960001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:07:01] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-10-05 17:07:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 17:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547112960001,"power":25941,"unknown_70":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 17:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":204830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:07:01] local.INFO: GPS data processed {"connection_id":204830,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:07:01] local.INFO: Acknowledgment sent {"connection_id":204830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:07:09] local.INFO: TCP Data received {"connection_id":207775,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:07:09] local.INFO: Processing buffer {"connection_id":207775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:07:09] local.INFO: Packet analysis {"connection_id":207775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:07:09] local.INFO: Extracted packet for processing {"connection_id":207775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:07:09] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":47,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547148032001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:07:09] 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-10-05 17:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791200098000,"timestamp_ms":1791200098000,"timestamp_seconds":1791200098,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd876d0"} 
[2026-10-05 17:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 17:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":207775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":207775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":207775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547148032001,"66":12961,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 17:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547148032001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:07:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547148032001,"power":12961,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":207775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:07:09] local.INFO: GPS data processed {"connection_id":207775,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:07:09] local.INFO: Acknowledgment sent {"connection_id":207775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:07:10] local.INFO: TCP Data received {"connection_id":206234,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:07:10] local.INFO: Processing buffer {"connection_id":206234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:07:10] local.INFO: IMEI packet received {"connection_id":206234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":206234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:07:15] local.INFO: TCP Data received {"connection_id":206234,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:07:15] local.INFO: Processing buffer {"connection_id":206234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:07:15] local.INFO: IMEI packet received {"connection_id":206234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":206234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:07:17] local.INFO: TCP Data received {"connection_id":206234,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd8b550012d1b310007248b78001e012023..."} 
[2026-10-05 17:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd8b550012d1b310007248b78001e012023..."} 
[2026-10-05 17:07:17] local.INFO: Processing buffer {"connection_id":206234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd8b550012d1b310007248b78001e012023..."} 
[2026-10-05 17:07:17] local.INFO: Packet analysis {"connection_id":206234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:07:17] local.INFO: Extracted packet for processing {"connection_id":206234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:07:17] local.INFO: GPS Element Parsed {"raw_longitude":756756736,"raw_latitude":119835512,"longitude_deg":75.6756736,"latitude_deg":11.9835512,"altitude":30,"angle":288,"satellites":35,"speed":12,"hex_longitude":"2d1b3100","hex_latitude":"07248b78","is_valid_coordinates":true} 
[2026-10-05 17:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547226880001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25180968054685696,"note":"Value kept but may cause issues"} 
[2026-10-05 17:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965258318070933504,"note":"Value kept but may cause issues"} 
[2026-10-05 17:07:17] 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-10-05 17:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791200114000,"timestamp_ms":1791200114000,"timestamp_seconds":1791200114,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd8b550"} 
[2026-10-05 17:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-05 17:07:17] 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-10-05 17:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":206234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":206234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":206234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:07:17] 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-10-05 17:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547226880001,"66":14080,"136":206,"83":42752,"24":12,"16":25180968054685696,"45":1965258318070933504},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-10-05 17:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547226880001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:07:17] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-10-05 17:07:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25180968054685696,"km_value":25180968054685.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965258318070933504,"description":"Unknown IO ID 45"} 
[2026-10-05 17:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547226880001,"power":14080,"unknown_136":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1965258318070933504}} 
[2026-10-05 17:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":206234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:07:17] local.INFO: GPS data processed {"connection_id":206234,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:07:17] local.INFO: Acknowledgment sent {"connection_id":206234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:07:31] local.INFO: TCP Data received {"connection_id":206235,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:07:31] local.INFO: Processing buffer {"connection_id":206235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:07:31] local.INFO: IMEI packet received {"connection_id":206235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":206235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:07:32] local.INFO: TCP Data received {"connection_id":204830,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:07:32] local.INFO: Processing buffer {"connection_id":204830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:07:32] local.INFO: Packet analysis {"connection_id":204830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd6"} 
[2026-10-05 17:07:32] local.INFO: Extracted packet for processing {"connection_id":204830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd6"} 
[2026-10-05 17:07:32] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 17:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547112960001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 17:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791199961000,"timestamp_ms":1791199961000,"timestamp_seconds":1791199961,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd65fa8"} 
[2026-10-05 17:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 17:07:32] 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-10-05 17:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547112960001,"66":25941,"70":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,87,24,16,45]} 
[2026-10-05 17:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547112960001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:07:32] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-10-05 17:07:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 17:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547112960001,"power":25941,"unknown_70":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 17:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":204830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:07:32] local.INFO: GPS data processed {"connection_id":204830,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:07:32] local.INFO: Acknowledgment sent {"connection_id":204830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:07:36] local.INFO: TCP Data received {"connection_id":206235,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:07:36] local.INFO: Processing buffer {"connection_id":206235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:07:36] local.INFO: IMEI packet received {"connection_id":206235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":206235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:07:38] local.INFO: TCP Data received {"connection_id":206235,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:07:38] local.INFO: Processing buffer {"connection_id":206235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:07:38] local.INFO: Packet analysis {"connection_id":206235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:07:38] local.INFO: Extracted packet for processing {"connection_id":206235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:07:38] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":47,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547148032001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:07:38] 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-10-05 17:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791200098000,"timestamp_ms":1791200098000,"timestamp_seconds":1791200098,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd876d0"} 
[2026-10-05 17:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 17:07:38] 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-10-05 17:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":206235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":206235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":206235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:07: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-10-05 17:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547148032001,"66":12961,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 17:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547148032001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:07:38] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:07:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547148032001,"power":12961,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":206235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968745,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:07:38] local.INFO: GPS data processed {"connection_id":206235,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:07:38] local.INFO: Acknowledgment sent {"connection_id":206235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:07:48] local.INFO: TCP Data received {"connection_id":206234,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd90758012d1b2f8007248c50002001262a..."} 
[2026-10-05 17:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd90758012d1b2f8007248c50002001262a..."} 
[2026-10-05 17:07:48] local.INFO: Processing buffer {"connection_id":206234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd90758012d1b2f8007248c50002001262a..."} 
[2026-10-05 17:07:48] local.INFO: Packet analysis {"connection_id":206234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd9"} 
[2026-10-05 17:07:48] local.INFO: Extracted packet for processing {"connection_id":206234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd9"} 
[2026-10-05 17:07:48] local.INFO: GPS Element Parsed {"raw_longitude":756756352,"raw_latitude":119835728,"longitude_deg":75.6756352,"latitude_deg":11.9835728,"altitude":32,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d1b2f80","hex_latitude":"07248c50","is_valid_coordinates":true} 
[2026-10-05 17:07: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-10-05 17:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547229184001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959347343560767488,"note":"Value kept but may cause issues"} 
[2026-10-05 17:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25180993824489472,"note":"Value kept but may cause issues"} 
[2026-10-05 17:07:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 17:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791200135000,"timestamp_ms":1791200135000,"timestamp_seconds":1791200135,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd90758"} 
[2026-10-05 17:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-10-05 17:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3445327872,"note":"Value kept but may cause issues"} 
[2026-10-05 17:07:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-10-05 17:07:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 17:07:48] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":13462192,"corrected_to":0} 
[2026-10-05 17:07:48] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3626545153,"note":"Value kept but may cause issues"} 
[2026-10-05 17:07:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535639758,"corrected_to":0} 
[2026-10-05 17:07:48] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2281778459,"note":"Value kept but may cause issues"} 
[2026-10-05 17:07:48] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2919288155,"note":"Value kept but may cause issues"} 
[2026-10-05 17:07:48] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,136,83,24,241,157,16,117,161,146,45,127,31,42,10,66,176,122,128,116,41,79,64,1,240,202,227,11,36,4,113,205,38,5,148,152,43,239,55,2,89,7,33],"length":479,"final_offset":609,"validated_count":43,"validation_warnings":[{"io_id":202,"original":13462192,"validated":0},{"io_id":205,"original":1535639758,"validated":0}]} 
[2026-10-05 17:07:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2162044630811279360,"timestamp_seconds":2162044630811279.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 17:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":206234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":206234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":206234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547229184001,"66":13276,"45":1959347343560767488,"83":41984,"24":0,"16":25180993824489472},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-10-05 17:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547229184001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959347343560767488,"description":"Unknown IO ID 45"} 
[2026-10-05 17:07:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25180993824489472,"km_value":25180993824489.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:07:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458547229184001,"power":13276,"unknown_45":1959347343560767488,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-10-05 17:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":206234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:07:48] local.INFO: GPS data processed {"connection_id":206234,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:07:48] local.INFO: Acknowledgment sent {"connection_id":206234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:07:54] local.INFO: TCP Data received {"connection_id":204831,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:07:54] local.INFO: Processing buffer {"connection_id":204831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:07:54] local.INFO: IMEI packet received {"connection_id":204831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":204831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:07:59] local.INFO: TCP Data received {"connection_id":204831,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:07:59] local.INFO: Processing buffer {"connection_id":204831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:07:59] local.INFO: IMEI packet received {"connection_id":204831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":204831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:08:00] local.INFO: TCP Data received {"connection_id":204831,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:08:00] local.INFO: Processing buffer {"connection_id":204831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd65fa8012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:08:00] local.INFO: Packet analysis {"connection_id":204831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd6"} 
[2026-10-05 17:08:00] local.INFO: Extracted packet for processing {"connection_id":204831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd6"} 
[2026-10-05 17:08:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 17:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547112960001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 17:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791199961000,"timestamp_ms":1791199961000,"timestamp_seconds":1791199961,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd65fa8"} 
[2026-10-05 17:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 17:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:08: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-10-05 17:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547112960001,"66":25941,"70":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,87,24,16,45]} 
[2026-10-05 17:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547112960001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:08:00] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-10-05 17:08:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 17:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547112960001,"power":25941,"unknown_70":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 17:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":204831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:08:00] local.INFO: GPS data processed {"connection_id":204831,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:08:00] local.INFO: Acknowledgment sent {"connection_id":204831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:08:04] local.INFO: TCP Data received {"connection_id":206237,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:08:04] local.INFO: Processing buffer {"connection_id":206237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:08:04] local.INFO: IMEI packet received {"connection_id":206237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":206237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:08:09] local.INFO: TCP Data received {"connection_id":206235,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:08:09] local.INFO: Processing buffer {"connection_id":206235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:08:09] local.INFO: Packet analysis {"connection_id":206235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:08:09] local.INFO: Extracted packet for processing {"connection_id":206235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:08:09] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":47,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547148032001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:08:09] 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-10-05 17:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791200098000,"timestamp_ms":1791200098000,"timestamp_seconds":1791200098,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd876d0"} 
[2026-10-05 17:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 17:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":206235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":206235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":206235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:08:09] 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-10-05 17:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547148032001,"66":12961,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 17:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547148032001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:08:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:08:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547148032001,"power":12961,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":206235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968748,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:08:09] local.INFO: GPS data processed {"connection_id":206235,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:08:09] local.INFO: Acknowledgment sent {"connection_id":206235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:08:10] local.INFO: TCP Data received {"connection_id":206237,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:08:10] local.INFO: Processing buffer {"connection_id":206237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:08:10] local.INFO: IMEI packet received {"connection_id":206237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":206237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:08:11] local.INFO: TCP Data received {"connection_id":206237,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd95960012d1b2f8007248c50002001262a..."} 
[2026-10-05 17:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd95960012d1b2f8007248c50002001262a..."} 
[2026-10-05 17:08:11] local.INFO: Processing buffer {"connection_id":206237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd95960012d1b2f8007248c50002001262a..."} 
[2026-10-05 17:08:11] local.INFO: Packet analysis {"connection_id":206237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd9"} 
[2026-10-05 17:08:11] local.INFO: Extracted packet for processing {"connection_id":206237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd9"} 
[2026-10-05 17:08:11] local.INFO: GPS Element Parsed {"raw_longitude":756756352,"raw_latitude":119835728,"longitude_deg":75.6756352,"latitude_deg":11.9835728,"altitude":32,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d1b2f80","hex_latitude":"07248c50","is_valid_coordinates":true} 
[2026-10-05 17:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547234560001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958925131095756800,"note":"Value kept but may cause issues"} 
[2026-10-05 17:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25180993824489472,"note":"Value kept but may cause issues"} 
[2026-10-05 17:08:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 17:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791200156000,"timestamp_ms":1791200156000,"timestamp_seconds":1791200156,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd95960"} 
[2026-10-05 17:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:08:11] 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-10-05 17:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-05 17:08:11] 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-10-05 17:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:08:11] 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-10-05 17:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547234560001,"66":12917,"45":1958925131095756800,"83":41984,"24":0,"16":25180993824489472},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-10-05 17:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547234560001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958925131095756800,"description":"Unknown IO ID 45"} 
[2026-10-05 17:08:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25180993824489472,"km_value":25180993824489.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:08:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458547234560001,"power":12917,"unknown_45":1958925131095756800,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-10-05 17:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":206237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:08:11] local.INFO: GPS data processed {"connection_id":206237,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:08:11] local.INFO: Acknowledgment sent {"connection_id":206237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:08:30] local.INFO: TCP Data received {"connection_id":204832,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:08:30] local.INFO: Processing buffer {"connection_id":204832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:08:30] local.INFO: IMEI packet received {"connection_id":204832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":204832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:08:31] local.INFO: TCP Data received {"connection_id":204831,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdaf770012d80b3c00602ac50001400cf32..."} 
[2026-10-05 17:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdaf770012d80b3c00602ac50001400cf32..."} 
[2026-10-05 17:08:31] local.INFO: Processing buffer {"connection_id":204831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdaf770012d80b3c00602ac50001400cf32..."} 
[2026-10-05 17:08:31] local.INFO: Packet analysis {"connection_id":204831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bda"} 
[2026-10-05 17:08:31] local.INFO: Extracted packet for processing {"connection_id":204831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bda"} 
[2026-10-05 17:08:31] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":50,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547190016001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 17:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791200262000,"timestamp_ms":1791200262000,"timestamp_seconds":1791200262,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdaf770"} 
[2026-10-05 17:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 17:08:31] 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-10-05 17: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-10-05 17:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:08: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-10-05 17:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547190016001,"66":25952,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547190016001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:08:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:08:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 17:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547190016001,"power":25952,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 17:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":204831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:08:31] local.INFO: GPS data processed {"connection_id":204831,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:08:31] local.INFO: Acknowledgment sent {"connection_id":204831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:08:39] local.INFO: TCP Data received {"connection_id":204832,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:08:39] local.INFO: Processing buffer {"connection_id":204832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:08:39] local.INFO: IMEI packet received {"connection_id":204832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":204832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:08:40] local.INFO: TCP Data received {"connection_id":204832,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:08:40] local.INFO: Processing buffer {"connection_id":204832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:08:40] local.INFO: Packet analysis {"connection_id":204832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:08:40] local.INFO: Extracted packet for processing {"connection_id":204832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:08:40] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":47,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547148032001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:08:40] 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-10-05 17:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791200098000,"timestamp_ms":1791200098000,"timestamp_seconds":1791200098,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd876d0"} 
[2026-10-05 17:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 17:08:40] 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-10-05 17:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:08:40] 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-10-05 17:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547148032001,"66":12961,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 17:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547148032001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:08:40] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:08:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547148032001,"power":12961,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":204832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968751,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:08:40] local.INFO: GPS data processed {"connection_id":204832,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:08:40] local.INFO: Acknowledgment sent {"connection_id":204832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:08:46] local.INFO: TCP Data received {"connection_id":206237,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd9ab68012d1b2f8007248c50002001262a..."} 
[2026-10-05 17:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd9ab68012d1b2f8007248c50002001262a..."} 
[2026-10-05 17:08:46] local.INFO: Processing buffer {"connection_id":206237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd9ab68012d1b2f8007248c50002001262a..."} 
[2026-10-05 17:08:46] local.INFO: Packet analysis {"connection_id":206237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd9"} 
[2026-10-05 17:08:46] local.INFO: Extracted packet for processing {"connection_id":206237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd9"} 
[2026-10-05 17:08:46] local.INFO: GPS Element Parsed {"raw_longitude":756756352,"raw_latitude":119835728,"longitude_deg":75.6756352,"latitude_deg":11.9835728,"altitude":32,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d1b2f80","hex_latitude":"07248c50","is_valid_coordinates":true} 
[2026-10-05 17:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547239936001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958925131095756800,"note":"Value kept but may cause issues"} 
[2026-10-05 17:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25180993824489472,"note":"Value kept but may cause issues"} 
[2026-10-05 17:08:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 17:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791200177000,"timestamp_ms":1791200177000,"timestamp_seconds":1791200177,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd9ab68"} 
[2026-10-05 17:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 17:08:46] 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-10-05 17:08: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-10-05 17:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":206237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":206237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":206237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:08:46] 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-10-05 17:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547239936001,"66":12743,"45":1958925131095756800,"83":41984,"24":0,"16":25180993824489472},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-10-05 17:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547239936001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958925131095756800,"description":"Unknown IO ID 45"} 
[2026-10-05 17:08:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25180993824489472,"km_value":25180993824489.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:08:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458547239936001,"power":12743,"unknown_45":1958925131095756800,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-10-05 17:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":206237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:08:46] local.INFO: GPS data processed {"connection_id":206237,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:08:46] local.INFO: Acknowledgment sent {"connection_id":206237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:08:49] local.INFO: TCP Data received {"connection_id":204705,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:08:49] local.INFO: Processing buffer {"connection_id":204705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:08:49] local.INFO: IMEI packet received {"connection_id":204705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 17:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":204705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:08:54] local.INFO: TCP Data received {"connection_id":207777,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:08:54] local.INFO: Processing buffer {"connection_id":207777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:08:54] local.INFO: IMEI packet received {"connection_id":207777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":207777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:08:59] local.INFO: TCP Data received {"connection_id":207777,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:08:59] local.INFO: Processing buffer {"connection_id":207777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:08:59] local.INFO: IMEI packet received {"connection_id":207777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":207777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:09:00] local.INFO: TCP Data received {"connection_id":207777,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdb5918012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdb5918012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:09:00] local.INFO: Processing buffer {"connection_id":207777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdb5918012d80b3c00602ac50001400cf33..."} 
[2026-10-05 17:09:00] local.INFO: Packet analysis {"connection_id":207777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdb"} 
[2026-10-05 17:09:00] local.INFO: Extracted packet for processing {"connection_id":207777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdb"} 
[2026-10-05 17:09:00] local.INFO: GPS Element Parsed {"raw_longitude":763409344,"raw_latitude":100838480,"longitude_deg":76.3409344,"latitude_deg":10.083848,"altitude":20,"angle":207,"satellites":51,"speed":0,"hex_longitude":"2d80b3c0","hex_latitude":"0602ac50","is_valid_coordinates":true} 
[2026-10-05 17:09: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-10-05 17:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547267072001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 17:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791200287000,"timestamp_ms":1791200287000,"timestamp_seconds":1791200287,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdb5918"} 
[2026-10-05 17:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 17:09: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-10-05 17: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-10-05 17:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:09: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-10-05 17:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547267072001,"66":25908,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547267072001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:09:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:09:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 17:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547267072001,"power":25908,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 17:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":207777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:09:00] local.INFO: GPS data processed {"connection_id":207777,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:09:00] local.INFO: Acknowledgment sent {"connection_id":207777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:09:09] local.INFO: TCP Data received {"connection_id":204833,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:09:09] local.INFO: Processing buffer {"connection_id":204833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:09:09] local.INFO: IMEI packet received {"connection_id":204833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":204833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:09:09] local.INFO: TCP Data received {"connection_id":204833,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:09:09] local.INFO: Processing buffer {"connection_id":204833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:09:09] local.INFO: IMEI packet received {"connection_id":204833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":204833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:09:11] local.INFO: TCP Data received {"connection_id":204832,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:09:11] local.INFO: Processing buffer {"connection_id":204832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:09:11] local.INFO: Packet analysis {"connection_id":204832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:09:11] local.INFO: Extracted packet for processing {"connection_id":204832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:09:11] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":47,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547148032001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:09: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-10-05 17:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791200098000,"timestamp_ms":1791200098000,"timestamp_seconds":1791200098,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd876d0"} 
[2026-10-05 17:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 17:09:11] 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-10-05 17:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:09:11] 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-10-05 17:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547148032001,"66":12961,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 17:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547148032001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:09:11] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547148032001,"power":12961,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":204832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968754,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:09:11] local.INFO: GPS data processed {"connection_id":204832,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:09:11] local.INFO: Acknowledgment sent {"connection_id":204832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:09:15] local.INFO: TCP Data received {"connection_id":204833,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:09:15] local.INFO: Processing buffer {"connection_id":204833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:09:15] local.INFO: IMEI packet received {"connection_id":204833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":204833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:09:16] local.INFO: TCP Data received {"connection_id":204833,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd9fd70012d1b2f8007248c500020012628..."} 
[2026-10-05 17:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd9fd70012d1b2f8007248c500020012628..."} 
[2026-10-05 17:09:16] local.INFO: Processing buffer {"connection_id":204833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd9fd70012d1b2f8007248c500020012628..."} 
[2026-10-05 17:09:16] local.INFO: Packet analysis {"connection_id":204833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd9"} 
[2026-10-05 17:09:16] local.INFO: Extracted packet for processing {"connection_id":204833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd9"} 
[2026-10-05 17:09:16] local.INFO: GPS Element Parsed {"raw_longitude":756756352,"raw_latitude":119835728,"longitude_deg":75.6756352,"latitude_deg":11.9835728,"altitude":32,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d1b2f80","hex_latitude":"07248c50","is_valid_coordinates":true} 
[2026-10-05 17:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547245312001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25180993824489472,"note":"Value kept but may cause issues"} 
[2026-10-05 17:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958925131095756800,"note":"Value kept but may cause issues"} 
[2026-10-05 17:09:16] 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-10-05 17:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791200198000,"timestamp_ms":1791200198000,"timestamp_seconds":1791200198,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd9fd70"} 
[2026-10-05 17:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 17:09: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-10-05 17:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547245312001,"66":12515,"175":206,"83":42752,"24":0,"16":25180993824489472,"45":1958925131095756800},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-10-05 17:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547245312001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:09:16] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-10-05 17:09:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25180993824489472,"km_value":25180993824489.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958925131095756800,"description":"Unknown IO ID 45"} 
[2026-10-05 17:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547245312001,"power":12515,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1958925131095756800}} 
[2026-10-05 17:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":204833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:09:16] local.INFO: GPS data processed {"connection_id":204833,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:09:16] local.INFO: Acknowledgment sent {"connection_id":204833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:09:30] local.INFO: TCP Data received {"connection_id":204834,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:09:30] local.INFO: Processing buffer {"connection_id":204834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:09:30] local.INFO: IMEI packet received {"connection_id":204834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":204834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:09:31] local.INFO: TCP Data received {"connection_id":207777,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdbbac0012d80b2000602a500001400d434..."} 
[2026-10-05 17:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdbbac0012d80b2000602a500001400d434..."} 
[2026-10-05 17:09:31] local.INFO: Processing buffer {"connection_id":207777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdbbac0012d80b2000602a500001400d434..."} 
[2026-10-05 17:09:31] local.INFO: Packet analysis {"connection_id":207777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdb"} 
[2026-10-05 17:09:31] local.INFO: Extracted packet for processing {"connection_id":207777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdb"} 
[2026-10-05 17:09:31] local.INFO: GPS Element Parsed {"raw_longitude":763408896,"raw_latitude":100836608,"longitude_deg":76.3408896,"latitude_deg":10.0836608,"altitude":20,"angle":212,"satellites":52,"speed":0,"hex_longitude":"2d80b200","hex_latitude":"0602a500","is_valid_coordinates":true} 
[2026-10-05 17:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547273472001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776883976384512,"note":"Value kept but may cause issues"} 
[2026-10-05 17:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791200312000,"timestamp_ms":1791200312000,"timestamp_seconds":1791200312,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdbbac0"} 
[2026-10-05 17:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:09: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-10-05 17:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 17:09:31] 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-10-05 17:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:09: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-10-05 17:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547273472001,"66":27908,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9172776883976384512},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547273472001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:09:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:09:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776883976384512,"description":"Unknown IO ID 45"} 
[2026-10-05 17:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547273472001,"power":27908,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9172776883976384512}} 
[2026-10-05 17:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":207777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:09:31] local.INFO: GPS data processed {"connection_id":207777,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:09:31] local.INFO: Acknowledgment sent {"connection_id":207777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:09:36] local.INFO: TCP Data received {"connection_id":204834,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:09:36] local.INFO: Processing buffer {"connection_id":204834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:09:36] local.INFO: IMEI packet received {"connection_id":204834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":204834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:09:37] local.INFO: TCP Data received {"connection_id":204834,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:09:37] local.INFO: Processing buffer {"connection_id":204834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bd876d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:09:37] local.INFO: Packet analysis {"connection_id":204834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:09:37] local.INFO: Extracted packet for processing {"connection_id":204834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bd8"} 
[2026-10-05 17:09:37] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":47,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547148032001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:09: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-10-05 17:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791200098000,"timestamp_ms":1791200098000,"timestamp_seconds":1791200098,"priority":1,"record_length":96,"hex_timestamp":"000001a10bd876d0"} 
[2026-10-05 17:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 17:09: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-10-05 17:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:09: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-10-05 17:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547148032001,"66":12961,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 17:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547148032001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:09:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:09:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547148032001,"power":12961,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":204834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:09:37] local.INFO: GPS data processed {"connection_id":204834,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:09:37] local.INFO: Acknowledgment sent {"connection_id":204834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:09:39] local.INFO: TCP Data received {"connection_id":204706,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204706,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:09:39] local.INFO: Processing buffer {"connection_id":204706,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:09:39] local.INFO: IMEI packet received {"connection_id":204706,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 17:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":204706,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:09:47] local.INFO: TCP Data received {"connection_id":204833,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bda4f78012d1b2f8007248c50002001262c..."} 
[2026-10-05 17:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bda4f78012d1b2f8007248c50002001262c..."} 
[2026-10-05 17:09:47] local.INFO: Processing buffer {"connection_id":204833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bda4f78012d1b2f8007248c50002001262c..."} 
[2026-10-05 17:09:47] local.INFO: Packet analysis {"connection_id":204833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bda"} 
[2026-10-05 17:09:47] local.INFO: Extracted packet for processing {"connection_id":204833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bda"} 
[2026-10-05 17:09:47] local.INFO: GPS Element Parsed {"raw_longitude":756756352,"raw_latitude":119835728,"longitude_deg":75.6756352,"latitude_deg":11.9835728,"altitude":32,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d1b2f80","hex_latitude":"07248c50","is_valid_coordinates":true} 
[2026-10-05 17:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547250688001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25180993824489472,"note":"Value kept but may cause issues"} 
[2026-10-05 17:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958925131095756800,"note":"Value kept but may cause issues"} 
[2026-10-05 17:09:47] 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-10-05 17:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791200219000,"timestamp_ms":1791200219000,"timestamp_seconds":1791200219,"priority":1,"record_length":96,"hex_timestamp":"000001a10bda4f78"} 
[2026-10-05 17:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-05 17:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":204833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":204833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":204833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547250688001,"66":12461,"176":206,"83":42752,"24":0,"16":25180993824489472,"45":1958925131095756800},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 17:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547250688001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:09:47] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 17:09:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25180993824489472,"km_value":25180993824489.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958925131095756800,"description":"Unknown IO ID 45"} 
[2026-10-05 17:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547250688001,"power":12461,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1958925131095756800}} 
[2026-10-05 17:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":204833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:09:47] local.INFO: GPS data processed {"connection_id":204833,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:09:47] local.INFO: Acknowledgment sent {"connection_id":204833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:09:54] local.INFO: TCP Data received {"connection_id":204707,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:09:54] local.INFO: Processing buffer {"connection_id":204707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:09:54] local.INFO: IMEI packet received {"connection_id":204707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":204707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:09:59] local.INFO: TCP Data received {"connection_id":204707,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:09:59] local.INFO: Processing buffer {"connection_id":204707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:09:59] local.INFO: IMEI packet received {"connection_id":204707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":204707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:10:00] local.INFO: TCP Data received {"connection_id":204707,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdc0cc8012d80b2000602a500001400d431..."} 
[2026-10-05 17:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdc0cc8012d80b2000602a500001400d431..."} 
[2026-10-05 17:10:00] local.INFO: Processing buffer {"connection_id":204707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdc0cc8012d80b2000602a500001400d431..."} 
[2026-10-05 17:10:00] local.INFO: Packet analysis {"connection_id":204707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdc"} 
[2026-10-05 17:10:00] local.INFO: Extracted packet for processing {"connection_id":204707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdc"} 
[2026-10-05 17:10:00] local.INFO: GPS Element Parsed {"raw_longitude":763408896,"raw_latitude":100836608,"longitude_deg":76.3408896,"latitude_deg":10.0836608,"altitude":20,"angle":212,"satellites":49,"speed":0,"hex_longitude":"2d80b200","hex_latitude":"0602a500","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547279872001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173269465186107392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791200333000,"timestamp_ms":1791200333000,"timestamp_seconds":1791200333,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdc0cc8"} 
[2026-10-05 17:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:10: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-10-05 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 17:10: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-10-05 17: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-10-05 17:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:10: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-10-05 17:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547279872001,"66":27887,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173269465186107392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547279872001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:10:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:10:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173269465186107392,"description":"Unknown IO ID 45"} 
[2026-10-05 17:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547279872001,"power":27887,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173269465186107392}} 
[2026-10-05 17:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":204707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:10:00] local.INFO: GPS data processed {"connection_id":204707,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:10:00] local.INFO: Acknowledgment sent {"connection_id":204707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:10:02] local.INFO: TCP Data received {"connection_id":204708,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:10:02] local.INFO: Processing buffer {"connection_id":204708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:10:02] local.INFO: IMEI packet received {"connection_id":204708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":204708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:10:05] local.INFO: TCP Data received {"connection_id":204708,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:10:05] local.INFO: Processing buffer {"connection_id":204708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:10:05] local.INFO: IMEI packet received {"connection_id":204708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":204708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:10:08] local.INFO: TCP Data received {"connection_id":204834,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:10:08] local.INFO: Processing buffer {"connection_id":204834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:10:08] local.INFO: Packet analysis {"connection_id":204834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:10:08] local.INFO: Extracted packet for processing {"connection_id":204834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:10:08] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":50,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547225088001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:10:08] 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-10-05 17:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791200399000,"timestamp_ms":1791200399000,"timestamp_seconds":1791200399,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdd0e98"} 
[2026-10-05 17:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 17:10:08] 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-10-05 17:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:10:08] 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-10-05 17:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547225088001,"66":12906,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 17:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547225088001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:10:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:10:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547225088001,"power":12906,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":204834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:10:08] local.INFO: GPS data processed {"connection_id":204834,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:10:08] local.INFO: Acknowledgment sent {"connection_id":204834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:10:09] local.INFO: TCP Data received {"connection_id":204708,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:10:09] local.INFO: Processing buffer {"connection_id":204708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:10:09] local.INFO: IMEI packet received {"connection_id":204708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":204708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:10:10] local.INFO: TCP Data received {"connection_id":204708,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdc4f30012d1ad6c007243ba8002e00e52c..."} 
[2026-10-05 17:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdc4f30012d1ad6c007243ba8002e00e52c..."} 
[2026-10-05 17:10:10] local.INFO: Processing buffer {"connection_id":204708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdc4f30012d1ad6c007243ba8002e00e52c..."} 
[2026-10-05 17:10:10] local.INFO: Packet analysis {"connection_id":204708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdc"} 
[2026-10-05 17:10:10] local.INFO: Extracted packet for processing {"connection_id":204708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdc"} 
[2026-10-05 17:10:10] local.INFO: GPS Element Parsed {"raw_longitude":756733632,"raw_latitude":119815080,"longitude_deg":75.6733632,"latitude_deg":11.981508,"altitude":46,"angle":229,"satellites":44,"speed":33,"hex_longitude":"2d1ad6c0","hex_latitude":"07243ba8","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547288576001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25182591552323584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936547870442567680,"note":"Value kept but may cause issues"} 
[2026-10-05 17:10:10] 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-10-05 17:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791200350000,"timestamp_ms":1791200350000,"timestamp_seconds":1791200350,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdc4f30"} 
[2026-10-05 17:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:10:10] 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-10-05 17: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-10-05 17:10:10] 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-10-05 17: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-10-05 17:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:10:10] 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-10-05 17:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547288576001,"66":13917,"176":206,"83":42752,"24":33,"16":25182591552323584,"45":1936547870442567680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 17:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547288576001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:10:10] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 17:10:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25182591552323584,"km_value":25182591552323.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936547870442567680,"description":"Unknown IO ID 45"} 
[2026-10-05 17:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547288576001,"power":13917,"unknown_176":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1936547870442567680}} 
[2026-10-05 17:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":204708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:10:10] local.INFO: GPS data processed {"connection_id":204708,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:10:10] local.INFO: Acknowledgment sent {"connection_id":204708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:10:32] local.INFO: TCP Data received {"connection_id":204707,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdc5ed0012d80b2000602a500001400d431..."} 
[2026-10-05 17:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdc5ed0012d80b2000602a500001400d431..."} 
[2026-10-05 17:10:32] local.INFO: Processing buffer {"connection_id":204707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdc5ed0012d80b2000602a500001400d431..."} 
[2026-10-05 17:10:32] local.INFO: Packet analysis {"connection_id":204707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdc"} 
[2026-10-05 17:10:32] local.INFO: Extracted packet for processing {"connection_id":204707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdc"} 
[2026-10-05 17:10:32] local.INFO: GPS Element Parsed {"raw_longitude":763408896,"raw_latitude":100836608,"longitude_deg":76.3408896,"latitude_deg":10.0836608,"altitude":20,"angle":212,"satellites":49,"speed":0,"hex_longitude":"2d80b200","hex_latitude":"0602a500","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547285248001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173269465186107392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791200354000,"timestamp_ms":1791200354000,"timestamp_seconds":1791200354,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdc5ed0"} 
[2026-10-05 17:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:10: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-10-05 17: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-10-05 17:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547285248001,"66":27767,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173269465186107392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547285248001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:10:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:10:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173269465186107392,"description":"Unknown IO ID 45"} 
[2026-10-05 17:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547285248001,"power":27767,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173269465186107392}} 
[2026-10-05 17:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":204707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:10:32] local.INFO: GPS data processed {"connection_id":204707,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:10:32] local.INFO: Acknowledgment sent {"connection_id":204707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:10:35] local.INFO: TCP Data received {"connection_id":204836,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:10:35] local.INFO: Processing buffer {"connection_id":204836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:10:35] local.INFO: IMEI packet received {"connection_id":204836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":204836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:10:41] local.INFO: TCP Data received {"connection_id":204708,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdc5ed0012d1aca80072433e0002c00f22b..."} 
[2026-10-05 17:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdc5ed0012d1aca80072433e0002c00f22b..."} 
[2026-10-05 17:10:41] local.INFO: Processing buffer {"connection_id":204708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdc5ed0012d1aca80072433e0002c00f22b..."} 
[2026-10-05 17:10:41] local.INFO: Packet analysis {"connection_id":204708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdc"} 
[2026-10-05 17:10:41] local.INFO: Extracted packet for processing {"connection_id":204708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdc"} 
[2026-10-05 17:10:41] local.INFO: GPS Element Parsed {"raw_longitude":756730496,"raw_latitude":119813088,"longitude_deg":75.6730496,"latitude_deg":11.9813088,"altitude":44,"angle":242,"satellites":43,"speed":36,"hex_longitude":"2d1aca80","hex_latitude":"072433e0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547289600001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25182771940950016,"note":"Value kept but may cause issues"} 
[2026-10-05 17:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1933944226907400192,"note":"Value kept but may cause issues"} 
[2026-10-05 17:10:41] 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-10-05 17:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791200354000,"timestamp_ms":1791200354000,"timestamp_seconds":1791200354,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdc5ed0"} 
[2026-10-05 17:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:10:41] 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-10-05 17: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-10-05 17:10:41] 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-10-05 17: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-10-05 17:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:10:41] 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-10-05 17:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547289600001,"66":14048,"176":206,"83":42752,"24":36,"16":25182771940950016,"45":1933944226907400192},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 17:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547289600001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:10:41] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 17:10:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25182771940950016,"km_value":25182771940950.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1933944226907400192,"description":"Unknown IO ID 45"} 
[2026-10-05 17:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547289600001,"power":14048,"unknown_176":206,"unknown_83":42752,"ignition":36,"odometer":null,"unknown_45":1933944226907400192}} 
[2026-10-05 17:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":204708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:10:41] local.INFO: GPS data processed {"connection_id":204708,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:10:41] local.INFO: Acknowledgment sent {"connection_id":204708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:10:44] local.INFO: TCP Data received {"connection_id":204836,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:10:44] local.INFO: Processing buffer {"connection_id":204836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:10:44] local.INFO: IMEI packet received {"connection_id":204836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":204836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:10:45] local.INFO: TCP Data received {"connection_id":204836,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:10:45] local.INFO: Processing buffer {"connection_id":204836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:10:45] local.INFO: Packet analysis {"connection_id":204836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:10:45] local.INFO: Extracted packet for processing {"connection_id":204836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:10:45] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":50,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547225088001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791200399000,"timestamp_ms":1791200399000,"timestamp_seconds":1791200399,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdd0e98"} 
[2026-10-05 17:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 17:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":204836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":204836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":204836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547225088001,"66":12906,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 17:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547225088001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:10:45] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:10:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547225088001,"power":12906,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":204836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:10:45] local.INFO: GPS data processed {"connection_id":204836,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:10:45] local.INFO: Acknowledgment sent {"connection_id":204836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:10:54] local.INFO: TCP Data received {"connection_id":206238,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:10:54] local.INFO: Processing buffer {"connection_id":206238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:10:54] local.INFO: IMEI packet received {"connection_id":206238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":206238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:10:59] local.INFO: TCP Data received {"connection_id":206238,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:10:59] local.INFO: Processing buffer {"connection_id":206238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:10:59] local.INFO: IMEI packet received {"connection_id":206238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":206238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:11:00] local.INFO: TCP Data received {"connection_id":206238,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdcb0d8012d80b2000602a500001400d434..."} 
[2026-10-05 17:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdcb0d8012d80b2000602a500001400d434..."} 
[2026-10-05 17:11:00] local.INFO: Processing buffer {"connection_id":206238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdcb0d8012d80b2000602a500001400d434..."} 
[2026-10-05 17:11:00] local.INFO: Packet analysis {"connection_id":206238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdc"} 
[2026-10-05 17:11:00] local.INFO: Extracted packet for processing {"connection_id":206238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdc"} 
[2026-10-05 17:11:00] local.INFO: GPS Element Parsed {"raw_longitude":763408896,"raw_latitude":100836608,"longitude_deg":76.3408896,"latitude_deg":10.0836608,"altitude":20,"angle":212,"satellites":52,"speed":0,"hex_longitude":"2d80b200","hex_latitude":"0602a500","is_valid_coordinates":true} 
[2026-10-05 17:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547290624001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173269465186107392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791200375000,"timestamp_ms":1791200375000,"timestamp_seconds":1791200375,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdcb0d8"} 
[2026-10-05 17:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:11: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-10-05 17:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-05 17:11: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-10-05 17:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:11: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-10-05 17:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547290624001,"66":27908,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173269465186107392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547290624001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:11:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:11:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173269465186107392,"description":"Unknown IO ID 45"} 
[2026-10-05 17:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547290624001,"power":27908,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173269465186107392}} 
[2026-10-05 17:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":206238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:11:00] local.INFO: GPS data processed {"connection_id":206238,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:11:00] local.INFO: Acknowledgment sent {"connection_id":206238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:11:04] local.INFO: TCP Data received {"connection_id":204709,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:11:04] local.INFO: Processing buffer {"connection_id":204709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:11:04] local.INFO: IMEI packet received {"connection_id":204709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":204709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:11:07] local.INFO: TCP Data received {"connection_id":204709,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:11:07] local.INFO: Processing buffer {"connection_id":204709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:11:07] local.INFO: IMEI packet received {"connection_id":204709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":204709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:11:10] local.INFO: TCP Data received {"connection_id":204709,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:11:10] local.INFO: Processing buffer {"connection_id":204709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:11:10] local.INFO: IMEI packet received {"connection_id":204709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":204709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:11:10] local.INFO: TCP Data received {"connection_id":204709,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdc85e0012d1aa88007242480002b00f52c..."} 
[2026-10-05 17:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdc85e0012d1aa88007242480002b00f52c..."} 
[2026-10-05 17:11:10] local.INFO: Processing buffer {"connection_id":204709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdc85e0012d1aa88007242480002b00f52c..."} 
[2026-10-05 17:11:10] local.INFO: Packet analysis {"connection_id":204709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdc"} 
[2026-10-05 17:11:10] local.INFO: Extracted packet for processing {"connection_id":204709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdc"} 
[2026-10-05 17:11:10] local.INFO: GPS Element Parsed {"raw_longitude":756721792,"raw_latitude":119809152,"longitude_deg":75.6721792,"latitude_deg":11.9809152,"altitude":43,"angle":245,"satellites":44,"speed":35,"hex_longitude":"2d1aa880","hex_latitude":"07242480","is_valid_coordinates":true} 
[2026-10-05 17:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547290624001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25183222912516096,"note":"Value kept but may cause issues"} 
[2026-10-05 17:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1930496158442184704,"note":"Value kept but may cause issues"} 
[2026-10-05 17:11:10] 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-10-05 17:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791200364000,"timestamp_ms":1791200364000,"timestamp_seconds":1791200364,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdc85e0"} 
[2026-10-05 17:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:11:10] 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-10-05 17:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-05 17:11:10] 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-10-05 17:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:11:10] 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-10-05 17:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547290624001,"66":13928,"43":206,"83":42752,"24":35,"16":25183222912516096,"45":1930496158442184704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-10-05 17:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547290624001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:11:10] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-05 17:11:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25183222912516096,"km_value":25183222912516.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1930496158442184704,"description":"Unknown IO ID 45"} 
[2026-10-05 17:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547290624001,"power":13928,"unknown_43":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1930496158442184704}} 
[2026-10-05 17:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":204709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:11:10] local.INFO: GPS data processed {"connection_id":204709,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:11:10] local.INFO: Acknowledgment sent {"connection_id":204709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:11:16] local.INFO: TCP Data received {"connection_id":204836,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:11:16] local.INFO: Processing buffer {"connection_id":204836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:11:16] local.INFO: Packet analysis {"connection_id":204836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:11:16] local.INFO: Extracted packet for processing {"connection_id":204836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:11:16] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":50,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547225088001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:11:16] 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-10-05 17:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791200399000,"timestamp_ms":1791200399000,"timestamp_seconds":1791200399,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdd0e98"} 
[2026-10-05 17:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 17:11:16] 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-10-05 17:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:11:16] 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-10-05 17:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547225088001,"66":12906,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 17:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547225088001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:11:16] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:11:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547225088001,"power":12906,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":204836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968767,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:11:16] local.INFO: GPS data processed {"connection_id":204836,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:11:16] local.INFO: Acknowledgment sent {"connection_id":204836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:11:31] local.INFO: TCP Data received {"connection_id":206238,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdd02e0012d80b2000602a500001400d433..."} 
[2026-10-05 17:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdd02e0012d80b2000602a500001400d433..."} 
[2026-10-05 17:11:31] local.INFO: Processing buffer {"connection_id":206238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdd02e0012d80b2000602a500001400d433..."} 
[2026-10-05 17:11:31] local.INFO: Packet analysis {"connection_id":206238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:11:31] local.INFO: Extracted packet for processing {"connection_id":206238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:11:31] local.INFO: GPS Element Parsed {"raw_longitude":763408896,"raw_latitude":100836608,"longitude_deg":76.3408896,"latitude_deg":10.0836608,"altitude":20,"angle":212,"satellites":51,"speed":0,"hex_longitude":"2d80b200","hex_latitude":"0602a500","is_valid_coordinates":true} 
[2026-10-05 17:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547296000001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173269465186107392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791200396000,"timestamp_ms":1791200396000,"timestamp_seconds":1791200396,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdd02e0"} 
[2026-10-05 17:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:11: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-10-05 17:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 17:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:11: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-10-05 17:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547296000001,"66":27821,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173269465186107392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547296000001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:11:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:11:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173269465186107392,"description":"Unknown IO ID 45"} 
[2026-10-05 17:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547296000001,"power":27821,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173269465186107392}} 
[2026-10-05 17:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":206238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:11:31] local.INFO: GPS data processed {"connection_id":206238,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:11:31] local.INFO: Acknowledgment sent {"connection_id":206238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:11:36] local.INFO: TCP Data received {"connection_id":204710,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204710,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:11:36] local.INFO: Processing buffer {"connection_id":204710,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:11:36] local.INFO: IMEI packet received {"connection_id":204710,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":204710,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:11:41] local.INFO: TCP Data received {"connection_id":204710,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204710,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:11:41] local.INFO: Processing buffer {"connection_id":204710,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:11:41] local.INFO: IMEI packet received {"connection_id":204710,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":204710,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:11:42] local.INFO: TCP Data received {"connection_id":204710,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:11:42] local.INFO: Processing buffer {"connection_id":204710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:11:42] local.INFO: Packet analysis {"connection_id":204710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:11:42] local.INFO: Extracted packet for processing {"connection_id":204710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:11:42] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":50,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547225088001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:11:42] 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-10-05 17:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791200399000,"timestamp_ms":1791200399000,"timestamp_seconds":1791200399,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdd0e98"} 
[2026-10-05 17:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 17:11:42] 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-10-05 17: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-10-05 17:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:11:42] 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-10-05 17:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547225088001,"66":12906,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 17:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547225088001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:11:42] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:11:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547225088001,"power":12906,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":204710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968769,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:11:42] local.INFO: GPS data processed {"connection_id":204710,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:11:42] local.INFO: Acknowledgment sent {"connection_id":204710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:11:43] local.INFO: TCP Data received {"connection_id":204709,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdcb4c0012d1a874007241500002c00f42c..."} 
[2026-10-05 17:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdcb4c0012d1a874007241500002c00f42c..."} 
[2026-10-05 17:11:43] local.INFO: Processing buffer {"connection_id":204709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdcb4c0012d1a874007241500002c00f42c..."} 
[2026-10-05 17:11:43] local.INFO: Packet analysis {"connection_id":204709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdc"} 
[2026-10-05 17:11:43] local.INFO: Extracted packet for processing {"connection_id":204709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdc"} 
[2026-10-05 17:11:43] local.INFO: GPS Element Parsed {"raw_longitude":756713280,"raw_latitude":119805184,"longitude_deg":75.671328,"latitude_deg":11.9805184,"altitude":44,"angle":244,"satellites":44,"speed":19,"hex_longitude":"2d1a8740","hex_latitude":"07241500","is_valid_coordinates":true} 
[2026-10-05 17:11: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-10-05 17:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547293184001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25183673884082176,"note":"Value kept but may cause issues"} 
[2026-10-05 17:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920926009233014784,"note":"Value kept but may cause issues"} 
[2026-10-05 17:11:43] 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-10-05 17:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791200376000,"timestamp_ms":1791200376000,"timestamp_seconds":1791200376,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdcb4c0"} 
[2026-10-05 17:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:11:43] 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-10-05 17:11: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-05 17:11:43] 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-10-05 17:11: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-10-05 17:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547293184001,"66":13961,"43":206,"83":42752,"24":19,"16":25183673884082176,"45":1920926009233014784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-10-05 17:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547293184001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:11:43] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-05 17:11:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25183673884082176,"km_value":25183673884082.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920926009233014784,"description":"Unknown IO ID 45"} 
[2026-10-05 17:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547293184001,"power":13961,"unknown_43":206,"unknown_83":42752,"ignition":19,"odometer":null,"unknown_45":1920926009233014784}} 
[2026-10-05 17:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":204709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:11:43] local.INFO: GPS data processed {"connection_id":204709,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:11:43] local.INFO: Acknowledgment sent {"connection_id":204709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:11:48] local.INFO: TCP Data received {"connection_id":204710,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:11:48] local.INFO: Processing buffer {"connection_id":204710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:11:48] local.INFO: Packet analysis {"connection_id":204710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:11:48] local.INFO: Extracted packet for processing {"connection_id":204710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:11:48] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":50,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547225088001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:11:48] 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-10-05 17:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791200399000,"timestamp_ms":1791200399000,"timestamp_seconds":1791200399,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdd0e98"} 
[2026-10-05 17:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 17:11:48] 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-10-05 17:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:11:48] 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-10-05 17:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547225088001,"66":12906,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 17:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547225088001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:11:48] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:11:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547225088001,"power":12906,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":204710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:11:49] local.INFO: GPS data processed {"connection_id":204710,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:11:49] local.INFO: Acknowledgment sent {"connection_id":204710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:11:59] local.INFO: TCP Data received {"connection_id":207780,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:11:59] local.INFO: Processing buffer {"connection_id":207780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:11:59] local.INFO: IMEI packet received {"connection_id":207780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":207780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:12:04] local.INFO: TCP Data received {"connection_id":207780,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:12:04] local.INFO: Processing buffer {"connection_id":207780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:12:04] local.INFO: IMEI packet received {"connection_id":207780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":207780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:12:05] local.INFO: TCP Data received {"connection_id":207780,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdd31c0012d80b2000602a500001400d433..."} 
[2026-10-05 17:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdd31c0012d80b2000602a500001400d433..."} 
[2026-10-05 17:12:05] local.INFO: Processing buffer {"connection_id":207780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdd31c0012d80b2000602a500001400d433..."} 
[2026-10-05 17:12:05] local.INFO: Packet analysis {"connection_id":207780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:12:05] local.INFO: Extracted packet for processing {"connection_id":207780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:12:05] local.INFO: GPS Element Parsed {"raw_longitude":763408896,"raw_latitude":100836608,"longitude_deg":76.3408896,"latitude_deg":10.0836608,"altitude":20,"angle":212,"satellites":51,"speed":0,"hex_longitude":"2d80b200","hex_latitude":"0602a500","is_valid_coordinates":true} 
[2026-10-05 17:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547301376001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173269465186107392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791200408000,"timestamp_ms":1791200408000,"timestamp_seconds":1791200408,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdd31c0"} 
[2026-10-05 17:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:12: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-10-05 17:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 17:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:12: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-10-05 17:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547301376001,"66":27865,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173269465186107392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547301376001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:12:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:12:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173269465186107392,"description":"Unknown IO ID 45"} 
[2026-10-05 17:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547301376001,"power":27865,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173269465186107392}} 
[2026-10-05 17:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":207780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:12:05] local.INFO: GPS data processed {"connection_id":207780,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:12:05] local.INFO: Acknowledgment sent {"connection_id":207780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:12:09] local.INFO: TCP Data received {"connection_id":207780,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdd31c0012d80b2000602a500001400d433..."} 
[2026-10-05 17:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdd31c0012d80b2000602a500001400d433..."} 
[2026-10-05 17:12:09] local.INFO: Processing buffer {"connection_id":207780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdd31c0012d80b2000602a500001400d433..."} 
[2026-10-05 17:12:09] local.INFO: Packet analysis {"connection_id":207780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:12:09] local.INFO: Extracted packet for processing {"connection_id":207780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:12:09] local.INFO: GPS Element Parsed {"raw_longitude":763408896,"raw_latitude":100836608,"longitude_deg":76.3408896,"latitude_deg":10.0836608,"altitude":20,"angle":212,"satellites":51,"speed":0,"hex_longitude":"2d80b200","hex_latitude":"0602a500","is_valid_coordinates":true} 
[2026-10-05 17:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547301376001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173269465186107392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791200408000,"timestamp_ms":1791200408000,"timestamp_seconds":1791200408,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdd31c0"} 
[2026-10-05 17:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:12: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-10-05 17:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 17:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":207780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":207780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":207780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547301376001,"66":27865,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173269465186107392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547301376001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:12:09] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:12:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173269465186107392,"description":"Unknown IO ID 45"} 
[2026-10-05 17:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547301376001,"power":27865,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173269465186107392}} 
[2026-10-05 17:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":207780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:12:09] local.INFO: GPS data processed {"connection_id":207780,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:12:09] local.INFO: Acknowledgment sent {"connection_id":207780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:12:10] local.INFO: TCP Data received {"connection_id":204711,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:12:10] local.INFO: Processing buffer {"connection_id":204711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:12:10] local.INFO: IMEI packet received {"connection_id":204711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":204711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:12:17] local.INFO: TCP Data received {"connection_id":204711,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:12:17] local.INFO: Processing buffer {"connection_id":204711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:12:17] local.INFO: IMEI packet received {"connection_id":204711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":204711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:12:23] local.INFO: TCP Data received {"connection_id":204711,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bde1838012d19954007239b28003e010526..."} 
[2026-10-05 17:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bde1838012d19954007239b28003e010526..."} 
[2026-10-05 17:12:23] local.INFO: Processing buffer {"connection_id":204711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bde1838012d19954007239b28003e010526..."} 
[2026-10-05 17:12:23] local.INFO: Packet analysis {"connection_id":204711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bde"} 
[2026-10-05 17:12:23] local.INFO: Extracted packet for processing {"connection_id":204711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bde"} 
[2026-10-05 17:12:23] local.INFO: GPS Element Parsed {"raw_longitude":756651328,"raw_latitude":119773992,"longitude_deg":75.6651328,"latitude_deg":11.9773992,"altitude":62,"angle":261,"satellites":38,"speed":38,"hex_longitude":"2d199540","hex_latitude":"07239b28","is_valid_coordinates":true} 
[2026-10-05 17:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547316992001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25187195757264896,"note":"Value kept but may cause issues"} 
[2026-10-05 17:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854216439743887360,"note":"Value kept but may cause issues"} 
[2026-10-05 17:12:23] 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-10-05 17:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1791200467000,"timestamp_ms":1791200467000,"timestamp_seconds":1791200467,"priority":1,"record_length":96,"hex_timestamp":"000001a10bde1838"} 
[2026-10-05 17:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:12:23] 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-10-05 17:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-10-05 17:12: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-10-05 17:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":204711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":204711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":204711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547316992001,"66":13928,"176":206,"83":42752,"24":38,"16":25187195757264896,"45":1854216439743887360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-05 17:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547316992001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:12:23] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-05 17:12:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25187195757264896,"km_value":25187195757264.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854216439743887360,"description":"Unknown IO ID 45"} 
[2026-10-05 17:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547316992001,"power":13928,"unknown_176":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1854216439743887360}} 
[2026-10-05 17:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":204711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:12:23] local.INFO: GPS data processed {"connection_id":204711,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:12:23] local.INFO: Acknowledgment sent {"connection_id":204711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:12:31] local.INFO: TCP Data received {"connection_id":206239,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:12:31] local.INFO: Processing buffer {"connection_id":206239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:12:31] local.INFO: IMEI packet received {"connection_id":206239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":206239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:12:37] local.INFO: TCP Data received {"connection_id":206239,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:12:37] local.INFO: Processing buffer {"connection_id":206239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:12:37] local.INFO: IMEI packet received {"connection_id":206239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":206239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:12:38] local.INFO: TCP Data received {"connection_id":206239,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:12:38] local.INFO: Processing buffer {"connection_id":206239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:12:38] local.INFO: Packet analysis {"connection_id":206239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:12:38] local.INFO: Extracted packet for processing {"connection_id":206239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:12:38] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":50,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547225088001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:12:38] 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-10-05 17:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791200399000,"timestamp_ms":1791200399000,"timestamp_seconds":1791200399,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdd0e98"} 
[2026-10-05 17:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 17:12:38] 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-10-05 17: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-10-05 17:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":206239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":206239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":206239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:12: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-10-05 17:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547225088001,"66":12906,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 17:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547225088001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:12:38] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:12:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547225088001,"power":12906,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":206239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:12:38] local.INFO: GPS data processed {"connection_id":206239,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:12:38] local.INFO: Acknowledgment sent {"connection_id":206239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:12:54] local.INFO: TCP Data received {"connection_id":207781,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:12:54] local.INFO: Processing buffer {"connection_id":207781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:12:54] local.INFO: IMEI packet received {"connection_id":207781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":207781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:12:59] local.INFO: TCP Data received {"connection_id":207781,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:12:59] local.INFO: Processing buffer {"connection_id":207781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:12:59] local.INFO: IMEI packet received {"connection_id":207781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":207781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:13:00] local.INFO: TCP Data received {"connection_id":207781,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdd31c0012d80b2000602a500001400d433..."} 
[2026-10-05 17:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdd31c0012d80b2000602a500001400d433..."} 
[2026-10-05 17:13:00] local.INFO: Processing buffer {"connection_id":207781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdd31c0012d80b2000602a500001400d433..."} 
[2026-10-05 17:13:00] local.INFO: Packet analysis {"connection_id":207781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:13:00] local.INFO: Extracted packet for processing {"connection_id":207781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:13:00] local.INFO: GPS Element Parsed {"raw_longitude":763408896,"raw_latitude":100836608,"longitude_deg":76.3408896,"latitude_deg":10.0836608,"altitude":20,"angle":212,"satellites":51,"speed":0,"hex_longitude":"2d80b200","hex_latitude":"0602a500","is_valid_coordinates":true} 
[2026-10-05 17:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547301376001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173269465186107392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791200408000,"timestamp_ms":1791200408000,"timestamp_seconds":1791200408,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdd31c0"} 
[2026-10-05 17:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:13: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-10-05 17: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 17:13:00] 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-10-05 17:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:13: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-10-05 17:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547301376001,"66":27865,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173269465186107392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547301376001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:13:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:13:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173269465186107392,"description":"Unknown IO ID 45"} 
[2026-10-05 17:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547301376001,"power":27865,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173269465186107392}} 
[2026-10-05 17:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":207781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:13:00] local.INFO: GPS data processed {"connection_id":207781,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:13:00] local.INFO: Acknowledgment sent {"connection_id":207781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:13:06] local.INFO: TCP Data received {"connection_id":206240,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:13:06] local.INFO: Processing buffer {"connection_id":206240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:13:06] local.INFO: IMEI packet received {"connection_id":206240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":206240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:13:10] local.INFO: TCP Data received {"connection_id":206239,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:13:10] local.INFO: Processing buffer {"connection_id":206239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:13:10] local.INFO: Packet analysis {"connection_id":206239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:13:10] local.INFO: Extracted packet for processing {"connection_id":206239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:13:10] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":50,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547225088001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:10] 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-10-05 17:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791200399000,"timestamp_ms":1791200399000,"timestamp_seconds":1791200399,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdd0e98"} 
[2026-10-05 17:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:13: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-10-05 17:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 17:13:10] 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-10-05 17:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":206239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":206239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":206239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:13: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-10-05 17:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547225088001,"66":12906,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 17:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547225088001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:13:10] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:13:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547225088001,"power":12906,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":206239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:13:10] local.INFO: GPS data processed {"connection_id":206239,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:13:10] local.INFO: Acknowledgment sent {"connection_id":206239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:13:23] local.INFO: TCP Data received {"connection_id":206240,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:13:23] local.INFO: Processing buffer {"connection_id":206240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:13:23] local.INFO: IMEI packet received {"connection_id":206240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":206240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:13:24] local.INFO: TCP Data received {"connection_id":206240,"ip":"42.106.6.15","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-10-05 17:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206240,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-10-05 17:13:24] local.INFO: Processing buffer {"connection_id":206240,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-10-05 17:13:24] local.INFO: IMEI packet received {"connection_id":206240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":206240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:13:26] local.INFO: TCP Data received {"connection_id":206240,"ip":"42.106.6.15","data_length":1348,"data_hex":"000000000000030f8e0a000001a10bdf4500012d18f7800722f780005a00f325..."} 
[2026-10-05 17:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206240,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a10bdf4500012d18f7800722f780005a00f325..."} 
[2026-10-05 17:13:26] local.INFO: Processing buffer {"connection_id":206240,"buffer_length":1365,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a10b..."} 
[2026-10-05 17:13:26] local.INFO: IMEI packet received {"connection_id":206240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":206240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:13:26] local.INFO: TCP Data received {"connection_id":206240,"ip":"42.106.6.15","data_length":242,"data_hex":"000000000001a10bde9538012d19508007235e10004e00d21f001d0000000a00..."} 
[2026-10-05 17:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206240,"packet_length":242,"packet_hex":"000000000001a10bde9538012d19508007235e10004e00d21f001d0000000a00..."} 
[2026-10-05 17:13:26] local.INFO: Processing buffer {"connection_id":206240,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a10bdf4500012d18f7800722f780005a00f325..."} 
[2026-10-05 17:13:26] local.INFO: Packet analysis {"connection_id":206240,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a10bdf"} 
[2026-10-05 17:13:26] local.INFO: Extracted packet for processing {"connection_id":206240,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdf"} 
[2026-10-05 17:13:26] local.INFO: GPS Element Parsed {"raw_longitude":756610944,"raw_latitude":119732096,"longitude_deg":75.6610944,"latitude_deg":11.9732096,"altitude":90,"angle":243,"satellites":37,"speed":31,"hex_longitude":"2d18f780","hex_latitude":"0722f780","is_valid_coordinates":true} 
[2026-10-05 17:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547338752001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25190073385353216,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800454719181355008,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:26] 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-10-05 17:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1791200544000,"timestamp_ms":1791200544000,"timestamp_seconds":1791200544,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdf4500"} 
[2026-10-05 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-10-05 17:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-05 17:13: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-10-05 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-10-05 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-10-05 17:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":206240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":206240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":206240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:13:26] 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-10-05 17:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547338752001,"66":14396,"177":206,"83":42752,"24":31,"16":25190073385353216,"45":1800454719181355008},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-10-05 17:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547338752001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:13:26] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-05 17:13:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25190073385353216,"km_value":25190073385353.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800454719181355008,"description":"Unknown IO ID 45"} 
[2026-10-05 17:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547338752001,"power":14396,"unknown_177":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1800454719181355008}} 
[2026-10-05 17:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":206240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:13:26] local.INFO: GPS data processed {"connection_id":206240,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:13:26] local.INFO: Acknowledgment sent {"connection_id":206240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:13:26] local.INFO: Packet analysis {"connection_id":206240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdf"} 
[2026-10-05 17:13:26] local.INFO: Extracted packet for processing {"connection_id":206240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdf"} 
[2026-10-05 17:13:26] local.INFO: GPS Element Parsed {"raw_longitude":756609408,"raw_latitude":119731664,"longitude_deg":75.6609408,"latitude_deg":11.9731664,"altitude":91,"angle":261,"satellites":38,"speed":31,"hex_longitude":"2d18f180","hex_latitude":"0722f5d0","is_valid_coordinates":true} 
[2026-10-05 17:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547339264001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25190146399797248,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799047344297574400,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:26] 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-10-05 17:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1791200546000,"timestamp_ms":1791200546000,"timestamp_seconds":1791200546,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdf4cd0"} 
[2026-10-05 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-10-05 17:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-05 17:13:26] 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-10-05 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-10-05 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-10-05 17:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":206240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":206240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":206240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:13:26] 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-10-05 17:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547339264001,"66":14298,"177":206,"83":42752,"24":31,"16":25190146399797248,"45":1799047344297574400},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-10-05 17:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547339264001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:13:26] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-05 17:13:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25190146399797248,"km_value":25190146399797.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799047344297574400,"description":"Unknown IO ID 45"} 
[2026-10-05 17:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547339264001,"power":14298,"unknown_177":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1799047344297574400}} 
[2026-10-05 17:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":206240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:13:26] local.INFO: GPS data processed {"connection_id":206240,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:13:26] local.INFO: Acknowledgment sent {"connection_id":206240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:13:26] local.INFO: TCP Data received {"connection_id":206240,"ip":"42.106.6.15","data_length":1348,"data_hex":"000000000000030f8e0a000001a10bdf54a0012d18eb000722f5f0005b011626..."} 
[2026-10-05 17:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206240,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a10bdf54a0012d18eb000722f5f0005b011626..."} 
[2026-10-05 17:13:26] local.INFO: Processing buffer {"connection_id":206240,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a10bdf54a0012d18eb000722f5f0005b011626..."} 
[2026-10-05 17:13:26] local.INFO: Packet analysis {"connection_id":206240,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a10bdf"} 
[2026-10-05 17:13:26] local.INFO: Extracted packet for processing {"connection_id":206240,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a10bdf"} 
[2026-10-05 17:13:26] local.INFO: GPS Element Parsed {"raw_longitude":756607744,"raw_latitude":119731696,"longitude_deg":75.6607744,"latitude_deg":11.9731696,"altitude":91,"angle":278,"satellites":38,"speed":31,"hex_longitude":"2d18eb00","hex_latitude":"0722f5f0","is_valid_coordinates":true} 
[2026-10-05 17:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547339776001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25190228004175872,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797358494437199872,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:26] 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-10-05 17:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1791200548000,"timestamp_ms":1791200548000,"timestamp_seconds":1791200548,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdf54a0"} 
[2026-10-05 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-10-05 17:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-10-05 17:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 17:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":206240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":206240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":206240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:13:26] 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-10-05 17:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547339776001,"66":14352,"177":206,"83":42752,"24":31,"16":25190228004175872,"45":1797358494437199872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-10-05 17:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547339776001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:13:26] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-05 17:13:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25190228004175872,"km_value":25190228004175.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797358494437199872,"description":"Unknown IO ID 45"} 
[2026-10-05 17:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547339776001,"power":14352,"unknown_177":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1797358494437199872}} 
[2026-10-05 17:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":206240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:13:27] local.INFO: GPS data processed {"connection_id":206240,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:13:27] local.INFO: Acknowledgment sent {"connection_id":206240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:13:27] local.INFO: Packet analysis {"connection_id":206240,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a10bdf"} 
[2026-10-05 17:13:27] local.INFO: Incomplete packet, waiting for more data {"connection_id":206240,"needed":795,"available":553} 
[2026-10-05 17:13:27] local.INFO: TCP Data received {"connection_id":206240,"ip":"42.106.6.15","data_length":242,"data_hex":"000000000001a10bdef2f8012d192280072326e8005300e127001e0000000a00..."} 
[2026-10-05 17:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206240,"packet_length":242,"packet_hex":"000000000001a10bdef2f8012d192280072326e8005300e127001e0000000a00..."} 
[2026-10-05 17:13:27] local.INFO: Processing buffer {"connection_id":206240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdf5c70012d18e5000722f7d0005c012429..."} 
[2026-10-05 17:13:27] local.INFO: Packet analysis {"connection_id":206240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdf"} 
[2026-10-05 17:13:27] local.INFO: Extracted packet for processing {"connection_id":206240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdf"} 
[2026-10-05 17:13:27] local.INFO: GPS Element Parsed {"raw_longitude":756606208,"raw_latitude":119732176,"longitude_deg":75.6606208,"latitude_deg":11.9732176,"altitude":92,"angle":292,"satellites":41,"speed":31,"hex_longitude":"2d18e500","hex_latitude":"0722f7d0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547340288001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25190301018619904,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795528907088588800,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:27] 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-10-05 17:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1791200550000,"timestamp_ms":1791200550000,"timestamp_seconds":1791200550,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdf5c70"} 
[2026-10-05 17:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-10-05 17:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733145088,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:27] local.WARNING: Large IO value detected {"io_id":24,"raw_value":84751711331623745,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:27] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":32768,"corrected_to":0} 
[2026-10-05 17:13:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:27] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503983985262592,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:27] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3743537153,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:27] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637495198377402,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:27] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6197216974351958272,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789984974,"corrected_to":0} 
[2026-10-05 17:13:27] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:27] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2147951371,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:27] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:27] local.WARNING: Large IO value detected {"io_id":8,"raw_value":22800418660687616,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:27] local.WARNING: Large IO value detected {"io_id":25,"raw_value":5800644168536555598,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:27] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,177,83,24,241,157,16,126,161,76,45,128,245,91,38,10,66,69,247,90,37,61,1,240,227,11,35,4,113,205,31,33,9,216,239,56,2,89,7,30,206,8,25],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":247,"original":32768,"validated":0},{"io_id":205,"original":1789984974,"validated":0}]} 
[2026-10-05 17:13:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6557546884894752768,"timestamp_seconds":6557546884894753.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 17:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":206240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":206240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":206240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:13:27] 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-10-05 17:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547340288001,"66":14363,"177":206,"83":42752,"24":31,"16":25190301018619904,"45":1795528907088588800},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-10-05 17:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547340288001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:13:27] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-05 17:13:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25190301018619904,"km_value":25190301018619.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795528907088588800,"description":"Unknown IO ID 45"} 
[2026-10-05 17:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547340288001,"power":14363,"unknown_177":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1795528907088588800}} 
[2026-10-05 17:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":206240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:13:27] local.INFO: GPS data processed {"connection_id":206240,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:13:27] local.INFO: Acknowledgment sent {"connection_id":206240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:13:28] local.INFO: TCP Data received {"connection_id":206240,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdf7f98012d18cb0007230308006001172c..."} 
[2026-10-05 17:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdf7f98012d18cb0007230308006001172c..."} 
[2026-10-05 17:13:28] local.INFO: Processing buffer {"connection_id":206240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdf7f98012d18cb0007230308006001172c..."} 
[2026-10-05 17:13:28] local.INFO: Packet analysis {"connection_id":206240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdf"} 
[2026-10-05 17:13:28] local.INFO: Extracted packet for processing {"connection_id":206240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdf"} 
[2026-10-05 17:13:28] local.INFO: GPS Element Parsed {"raw_longitude":756599552,"raw_latitude":119735048,"longitude_deg":75.6599552,"latitude_deg":11.9735048,"altitude":96,"angle":279,"satellites":44,"speed":30,"hex_longitude":"2d18cb00","hex_latitude":"07230308","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547340800001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25190648910970880,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793840057228447744,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:28] 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-10-05 17:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1791200559000,"timestamp_ms":1791200559000,"timestamp_seconds":1791200559,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdf7f98"} 
[2026-10-05 17:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:13: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-10-05 17: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-10-05 17:13:28] 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-10-05 17: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-10-05 17:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":206240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":206240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":206240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:13:28] 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-10-05 17:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547340800001,"66":14026,"177":206,"83":42752,"24":30,"16":25190648910970880,"45":1793840057228447744},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-10-05 17:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547340800001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:13:28] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-05 17:13:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25190648910970880,"km_value":25190648910970.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793840057228447744,"description":"Unknown IO ID 45"} 
[2026-10-05 17:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547340800001,"power":14026,"unknown_177":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1793840057228447744}} 
[2026-10-05 17:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":206240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:13:28] local.INFO: GPS data processed {"connection_id":206240,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:13:28] local.INFO: Acknowledgment sent {"connection_id":206240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:13:31] local.INFO: TCP Data received {"connection_id":204837,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:13:31] local.INFO: Processing buffer {"connection_id":204837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:13:31] local.INFO: IMEI packet received {"connection_id":204837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":204837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:13:31] local.INFO: TCP Data received {"connection_id":207781,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdd31c0012d80b2000602a500001400d433..."} 
[2026-10-05 17:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdd31c0012d80b2000602a500001400d433..."} 
[2026-10-05 17:13:31] local.INFO: Processing buffer {"connection_id":207781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdd31c0012d80b2000602a500001400d433..."} 
[2026-10-05 17:13:31] local.INFO: Packet analysis {"connection_id":207781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:13:31] local.INFO: Extracted packet for processing {"connection_id":207781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:13:31] local.INFO: GPS Element Parsed {"raw_longitude":763408896,"raw_latitude":100836608,"longitude_deg":76.3408896,"latitude_deg":10.0836608,"altitude":20,"angle":212,"satellites":51,"speed":0,"hex_longitude":"2d80b200","hex_latitude":"0602a500","is_valid_coordinates":true} 
[2026-10-05 17:13: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-10-05 17:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547301376001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173269465186107392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791200408000,"timestamp_ms":1791200408000,"timestamp_seconds":1791200408,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdd31c0"} 
[2026-10-05 17:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:13: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-10-05 17: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 17:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:13: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-10-05 17:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547301376001,"66":27865,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173269465186107392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547301376001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:13:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:13:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173269465186107392,"description":"Unknown IO ID 45"} 
[2026-10-05 17:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547301376001,"power":27865,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173269465186107392}} 
[2026-10-05 17:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":207781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:13:31] local.INFO: GPS data processed {"connection_id":207781,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:13:31] local.INFO: Acknowledgment sent {"connection_id":207781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:13:36] local.INFO: TCP Data received {"connection_id":204837,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:13:36] local.INFO: Processing buffer {"connection_id":204837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:13:36] local.INFO: IMEI packet received {"connection_id":204837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":204837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:13:37] local.INFO: TCP Data received {"connection_id":204837,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:13:37] local.INFO: Processing buffer {"connection_id":204837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:13:37] local.INFO: Packet analysis {"connection_id":204837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:13:37] local.INFO: Extracted packet for processing {"connection_id":204837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:13:37] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":50,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547225088001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:13: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-10-05 17:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791200399000,"timestamp_ms":1791200399000,"timestamp_seconds":1791200399,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdd0e98"} 
[2026-10-05 17:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 17:13:37] 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-10-05 17:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:13: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-10-05 17:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547225088001,"66":12906,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 17:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547225088001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:13:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:13:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547225088001,"power":12906,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":204837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968784,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:13:37] local.INFO: GPS data processed {"connection_id":204837,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:13:37] local.INFO: Acknowledgment sent {"connection_id":204837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:13:54] local.INFO: TCP Data received {"connection_id":204713,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:13:54] local.INFO: Processing buffer {"connection_id":204713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:13:54] local.INFO: IMEI packet received {"connection_id":204713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":204713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:13:59] local.INFO: TCP Data received {"connection_id":204713,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:13:59] local.INFO: Processing buffer {"connection_id":204713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:13:59] local.INFO: IMEI packet received {"connection_id":204713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":204713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:14:00] local.INFO: TCP Data received {"connection_id":204713,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdd31c0012d80b2000602a500001400d433..."} 
[2026-10-05 17:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdd31c0012d80b2000602a500001400d433..."} 
[2026-10-05 17:14:00] local.INFO: Processing buffer {"connection_id":204713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdd31c0012d80b2000602a500001400d433..."} 
[2026-10-05 17:14:00] local.INFO: Packet analysis {"connection_id":204713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:14:00] local.INFO: Extracted packet for processing {"connection_id":204713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:14:00] local.INFO: GPS Element Parsed {"raw_longitude":763408896,"raw_latitude":100836608,"longitude_deg":76.3408896,"latitude_deg":10.0836608,"altitude":20,"angle":212,"satellites":51,"speed":0,"hex_longitude":"2d80b200","hex_latitude":"0602a500","is_valid_coordinates":true} 
[2026-10-05 17:14: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-10-05 17:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547301376001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173269465186107392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791200408000,"timestamp_ms":1791200408000,"timestamp_seconds":1791200408,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdd31c0"} 
[2026-10-05 17:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:14: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-10-05 17: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 17:14:00] 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-10-05 17: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-10-05 17:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:14: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-10-05 17:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547301376001,"66":27865,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173269465186107392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547301376001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:14:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:14:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173269465186107392,"description":"Unknown IO ID 45"} 
[2026-10-05 17:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547301376001,"power":27865,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173269465186107392}} 
[2026-10-05 17:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":204713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:14:00] local.INFO: GPS data processed {"connection_id":204713,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:14:00] local.INFO: Acknowledgment sent {"connection_id":204713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:14:04] local.INFO: TCP Data received {"connection_id":204714,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:14:04] local.INFO: Processing buffer {"connection_id":204714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:14:04] local.INFO: IMEI packet received {"connection_id":204714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":204714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:14:08] local.INFO: TCP Data received {"connection_id":204714,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:14:08] local.INFO: Processing buffer {"connection_id":204714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:14:08] local.INFO: IMEI packet received {"connection_id":204714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":204714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:14:09] local.INFO: TCP Data received {"connection_id":204837,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:14:09] local.INFO: Processing buffer {"connection_id":204837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:14:09] local.INFO: Packet analysis {"connection_id":204837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:14:09] local.INFO: Extracted packet for processing {"connection_id":204837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:14:09] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":50,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547225088001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:14:09] 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-10-05 17:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791200399000,"timestamp_ms":1791200399000,"timestamp_seconds":1791200399,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdd0e98"} 
[2026-10-05 17:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 17:14:09] 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-10-05 17: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-10-05 17:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:14:09] 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-10-05 17:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547225088001,"66":12906,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 17:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547225088001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:14:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:14:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547225088001,"power":12906,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":204837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:14:09] local.INFO: GPS data processed {"connection_id":204837,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:14:09] local.INFO: Acknowledgment sent {"connection_id":204837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:14:09] local.INFO: TCP Data received {"connection_id":204714,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdf8768012d18c540072302e80061010229..."} 
[2026-10-05 17:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdf8768012d18c540072302e80061010229..."} 
[2026-10-05 17:14:09] local.INFO: Processing buffer {"connection_id":204714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdf8768012d18c540072302e80061010229..."} 
[2026-10-05 17:14:09] local.INFO: Packet analysis {"connection_id":204714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdf"} 
[2026-10-05 17:14:09] local.INFO: Extracted packet for processing {"connection_id":204714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdf"} 
[2026-10-05 17:14:09] local.INFO: GPS Element Parsed {"raw_longitude":756598080,"raw_latitude":119735016,"longitude_deg":75.659808,"latitude_deg":11.9735016,"altitude":97,"angle":258,"satellites":41,"speed":29,"hex_longitude":"2d18c540","hex_latitude":"072302e8","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547343104001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25190721925414912,"note":"Value kept but may cause issues"} 
[2026-10-05 17:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786521707834705920,"note":"Value kept but may cause issues"} 
[2026-10-05 17:14:09] 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-10-05 17:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791200561000,"timestamp_ms":1791200561000,"timestamp_seconds":1791200561,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdf8768"} 
[2026-10-05 17:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-10-05 17:14:09] 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-10-05 17: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-10-05 17:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:14: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-10-05 17:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547343104001,"66":14428,"177":206,"83":42752,"24":29,"16":25190721925414912,"45":1786521707834705920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-10-05 17:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547343104001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:14:09] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-05 17:14:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-05 17:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25190721925414912,"km_value":25190721925414.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786521707834705920,"description":"Unknown IO ID 45"} 
[2026-10-05 17:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547343104001,"power":14428,"unknown_177":206,"unknown_83":42752,"ignition":29,"odometer":null,"unknown_45":1786521707834705920}} 
[2026-10-05 17:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":204714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:14:09] local.INFO: GPS data processed {"connection_id":204714,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:14:09] local.INFO: Acknowledgment sent {"connection_id":204714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:14:30] local.INFO: TCP Data received {"connection_id":207782,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:14:30] local.INFO: Processing buffer {"connection_id":207782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:14:30] local.INFO: IMEI packet received {"connection_id":207782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":207782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:14:31] local.INFO: TCP Data received {"connection_id":204713,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdd31c0012d80b2000602a500001400d433..."} 
[2026-10-05 17:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdd31c0012d80b2000602a500001400d433..."} 
[2026-10-05 17:14:31] local.INFO: Processing buffer {"connection_id":204713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdd31c0012d80b2000602a500001400d433..."} 
[2026-10-05 17:14:31] local.INFO: Packet analysis {"connection_id":204713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:14:31] local.INFO: Extracted packet for processing {"connection_id":204713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:14:31] local.INFO: GPS Element Parsed {"raw_longitude":763408896,"raw_latitude":100836608,"longitude_deg":76.3408896,"latitude_deg":10.0836608,"altitude":20,"angle":212,"satellites":51,"speed":0,"hex_longitude":"2d80b200","hex_latitude":"0602a500","is_valid_coordinates":true} 
[2026-10-05 17:14: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-10-05 17:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547301376001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173269465186107392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791200408000,"timestamp_ms":1791200408000,"timestamp_seconds":1791200408,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdd31c0"} 
[2026-10-05 17:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:14: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-10-05 17:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 17:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:14:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:14: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-10-05 17:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547301376001,"66":27865,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173269465186107392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547301376001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:14:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:14:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173269465186107392,"description":"Unknown IO ID 45"} 
[2026-10-05 17:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547301376001,"power":27865,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173269465186107392}} 
[2026-10-05 17:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":204713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:14:31] local.INFO: GPS data processed {"connection_id":204713,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:14:31] local.INFO: Acknowledgment sent {"connection_id":204713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:14:37] local.INFO: TCP Data received {"connection_id":207782,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:14:37] local.INFO: Processing buffer {"connection_id":207782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:14:37] local.INFO: IMEI packet received {"connection_id":207782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":207782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:14:38] local.INFO: TCP Data received {"connection_id":207782,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:14:38] local.INFO: Processing buffer {"connection_id":207782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdd0e98012d7a204005e46818000d014e32..."} 
[2026-10-05 17:14:38] local.INFO: Packet analysis {"connection_id":207782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:14:38] local.INFO: Extracted packet for processing {"connection_id":207782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:14:38] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":50,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547225088001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:14:38] 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-10-05 17:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791200399000,"timestamp_ms":1791200399000,"timestamp_seconds":1791200399,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdd0e98"} 
[2026-10-05 17:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 17:14:38] 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-10-05 17: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-10-05 17:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:14: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-10-05 17:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547225088001,"66":12906,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 17:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547225088001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:14:38] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:14:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547225088001,"power":12906,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":207782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:14:38] local.INFO: GPS data processed {"connection_id":207782,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:14:38] local.INFO: Acknowledgment sent {"connection_id":207782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:14:40] local.INFO: TCP Data received {"connection_id":204714,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10be08d20012d1887c007224720005e00d72b..."} 
[2026-10-05 17:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be08d20012d1887c007224720005e00d72b..."} 
[2026-10-05 17:14:40] local.INFO: Processing buffer {"connection_id":204714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be08d20012d1887c007224720005e00d72b..."} 
[2026-10-05 17:14:40] local.INFO: Packet analysis {"connection_id":204714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be0"} 
[2026-10-05 17:14:40] local.INFO: Extracted packet for processing {"connection_id":204714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be0"} 
[2026-10-05 17:14:40] local.INFO: GPS Element Parsed {"raw_longitude":756582336,"raw_latitude":119686944,"longitude_deg":75.6582336,"latitude_deg":11.9686944,"altitude":94,"angle":215,"satellites":43,"speed":55,"hex_longitude":"2d1887c0","hex_latitude":"07224720","is_valid_coordinates":true} 
[2026-10-05 17:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547358720001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25193294610825216,"note":"Value kept but may cause issues"} 
[2026-10-05 17:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1773644227640023040,"note":"Value kept but may cause issues"} 
[2026-10-05 17:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791200628000,"timestamp_ms":1791200628000,"timestamp_seconds":1791200628,"priority":1,"record_length":96,"hex_timestamp":"000001a10be08d20"} 
[2026-10-05 17:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:14:40] 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-10-05 17:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 17:14:40] 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-10-05 17:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:14:40] 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-10-05 17:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547358720001,"66":13993,"105":206,"83":41984,"24":55,"16":25193294610825216,"45":1773644227640023040},"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-10-05 17:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547358720001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:14:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 17:14:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25193294610825216,"km_value":25193294610825.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1773644227640023040,"description":"Unknown IO ID 45"} 
[2026-10-05 17:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547358720001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":55,"odometer":null,"unknown_45":1773644227640023040}} 
[2026-10-05 17:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":204714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:14:40] local.INFO: GPS data processed {"connection_id":204714,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:14:40] local.INFO: Acknowledgment sent {"connection_id":204714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:14:54] local.INFO: TCP Data received {"connection_id":204839,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:14:54] local.INFO: Processing buffer {"connection_id":204839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:14:54] local.INFO: IMEI packet received {"connection_id":204839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":204839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:14:59] local.INFO: TCP Data received {"connection_id":204839,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:14:59] local.INFO: Processing buffer {"connection_id":204839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:14:59] local.INFO: IMEI packet received {"connection_id":204839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":204839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:15:00] local.INFO: TCP Data received {"connection_id":204839,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdd31c0012d80b2000602a500001400d433..."} 
[2026-10-05 17:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdd31c0012d80b2000602a500001400d433..."} 
[2026-10-05 17:15:00] local.INFO: Processing buffer {"connection_id":204839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdd31c0012d80b2000602a500001400d433..."} 
[2026-10-05 17:15:00] local.INFO: Packet analysis {"connection_id":204839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:15:00] local.INFO: Extracted packet for processing {"connection_id":204839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:15:00] local.INFO: GPS Element Parsed {"raw_longitude":763408896,"raw_latitude":100836608,"longitude_deg":76.3408896,"latitude_deg":10.0836608,"altitude":20,"angle":212,"satellites":51,"speed":0,"hex_longitude":"2d80b200","hex_latitude":"0602a500","is_valid_coordinates":true} 
[2026-10-05 17:15: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-10-05 17:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547301376001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173269465186107392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791200408000,"timestamp_ms":1791200408000,"timestamp_seconds":1791200408,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdd31c0"} 
[2026-10-05 17:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:15: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-10-05 17:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 17:15:00] 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-10-05 17:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547301376001,"66":27865,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173269465186107392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547301376001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:15:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:15:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173269465186107392,"description":"Unknown IO ID 45"} 
[2026-10-05 17:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547301376001,"power":27865,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173269465186107392}} 
[2026-10-05 17:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":204839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:15:00] local.INFO: GPS data processed {"connection_id":204839,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:15:00] local.INFO: Acknowledgment sent {"connection_id":204839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:15:04] local.INFO: TCP Data received {"connection_id":204838,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:15:04] local.INFO: Processing buffer {"connection_id":204838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:15:04] local.INFO: IMEI packet received {"connection_id":204838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 17:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":204838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:15:05] local.INFO: TCP Data received {"connection_id":207783,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:15:05] local.INFO: Processing buffer {"connection_id":207783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:15:05] local.INFO: IMEI packet received {"connection_id":207783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":207783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:15:09] local.INFO: TCP Data received {"connection_id":207783,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:15:09] local.INFO: Processing buffer {"connection_id":207783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:15:09] local.INFO: IMEI packet received {"connection_id":207783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":207783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:15:09] local.INFO: TCP Data received {"connection_id":207782,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10be1a660012d7a204005e46818000d014e31..."} 
[2026-10-05 17:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be1a660012d7a204005e46818000d014e31..."} 
[2026-10-05 17:15:09] local.INFO: Processing buffer {"connection_id":207782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be1a660012d7a204005e46818000d014e31..."} 
[2026-10-05 17:15:09] local.INFO: Packet analysis {"connection_id":207782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:15:09] local.INFO: Extracted packet for processing {"connection_id":207782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:15:09] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":49,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547302144001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:15:09] 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-10-05 17:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791200700000,"timestamp_ms":1791200700000,"timestamp_seconds":1791200700,"priority":1,"record_length":96,"hex_timestamp":"000001a10be1a660"} 
[2026-10-05 17:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 17:15:09] 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-10-05 17:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":207782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":207782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":207782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:15:09] 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-10-05 17:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547302144001,"66":12917,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 17:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547302144001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:15:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:15:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547302144001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":207782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:15:10] local.INFO: GPS data processed {"connection_id":207782,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:15:10] local.INFO: Acknowledgment sent {"connection_id":207782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:15:10] local.INFO: TCP Data received {"connection_id":207783,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10be0a878012d18720007222608005800d42c..."} 
[2026-10-05 17:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be0a878012d18720007222608005800d42c..."} 
[2026-10-05 17:15:10] local.INFO: Processing buffer {"connection_id":207783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be0a878012d18720007222608005800d42c..."} 
[2026-10-05 17:15:10] local.INFO: Packet analysis {"connection_id":207783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be0"} 
[2026-10-05 17:15:10] local.INFO: Extracted packet for processing {"connection_id":207783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be0"} 
[2026-10-05 17:15:10] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119678472,"longitude_deg":75.6576768,"latitude_deg":11.9678472,"altitude":88,"angle":212,"satellites":44,"speed":59,"hex_longitude":"2d187200","hex_latitude":"07222608","is_valid_coordinates":true} 
[2026-10-05 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-10-05 17:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547360768001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25193784237096960,"note":"Value kept but may cause issues"} 
[2026-10-05 17:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767592515638599680,"note":"Value kept but may cause issues"} 
[2026-10-05 17:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791200635000,"timestamp_ms":1791200635000,"timestamp_seconds":1791200635,"priority":1,"record_length":96,"hex_timestamp":"000001a10be0a878"} 
[2026-10-05 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-10-05 17:15:10] 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-10-05 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 17:15:10] 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-10-05 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-10-05 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-10-05 17:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:15:10] 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-10-05 17:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547360768001,"66":14080,"105":206,"83":41984,"24":59,"16":25193784237096960,"45":1767592515638599680},"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-10-05 17:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547360768001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:15:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 17:15:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25193784237096960,"km_value":25193784237096.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767592515638599680,"description":"Unknown IO ID 45"} 
[2026-10-05 17:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547360768001,"power":14080,"unknown_105":206,"unknown_83":41984,"ignition":59,"odometer":null,"unknown_45":1767592515638599680}} 
[2026-10-05 17:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":207783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:15:10] local.INFO: GPS data processed {"connection_id":207783,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:15:10] local.INFO: Acknowledgment sent {"connection_id":207783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:15:30] local.INFO: TCP Data received {"connection_id":204715,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:15:30] local.INFO: Processing buffer {"connection_id":204715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:15:30] local.INFO: IMEI packet received {"connection_id":204715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":204715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:15:32] local.INFO: TCP Data received {"connection_id":204839,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a10bdd31c0012d80b2000602a500001400d433..."} 
[2026-10-05 17:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bdd31c0012d80b2000602a500001400d433..."} 
[2026-10-05 17:15:32] local.INFO: Processing buffer {"connection_id":204839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bdd31c0012d80b2000602a500001400d433..."} 
[2026-10-05 17:15:32] local.INFO: Packet analysis {"connection_id":204839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:15:32] local.INFO: Extracted packet for processing {"connection_id":204839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bdd"} 
[2026-10-05 17:15:32] local.INFO: GPS Element Parsed {"raw_longitude":763408896,"raw_latitude":100836608,"longitude_deg":76.3408896,"latitude_deg":10.0836608,"altitude":20,"angle":212,"satellites":51,"speed":0,"hex_longitude":"2d80b200","hex_latitude":"0602a500","is_valid_coordinates":true} 
[2026-10-05 17:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547301376001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173269465186107392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791200408000,"timestamp_ms":1791200408000,"timestamp_seconds":1791200408,"priority":1,"record_length":96,"hex_timestamp":"000001a10bdd31c0"} 
[2026-10-05 17:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:15: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-10-05 17:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 17:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547301376001,"66":27865,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173269465186107392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547301376001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:15:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:15:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173269465186107392,"description":"Unknown IO ID 45"} 
[2026-10-05 17:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547301376001,"power":27865,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173269465186107392}} 
[2026-10-05 17:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":204839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:15:32] local.INFO: GPS data processed {"connection_id":204839,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:15:32] local.INFO: Acknowledgment sent {"connection_id":204839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:15:36] local.INFO: TCP Data received {"connection_id":204715,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:15:36] local.INFO: Processing buffer {"connection_id":204715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:15:36] local.INFO: IMEI packet received {"connection_id":204715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":204715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:15:37] local.INFO: TCP Data received {"connection_id":204715,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10be1a660012d7a204005e46818000d014e31..."} 
[2026-10-05 17:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be1a660012d7a204005e46818000d014e31..."} 
[2026-10-05 17:15:37] local.INFO: Processing buffer {"connection_id":204715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be1a660012d7a204005e46818000d014e31..."} 
[2026-10-05 17:15:37] local.INFO: Packet analysis {"connection_id":204715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:15:37] local.INFO: Extracted packet for processing {"connection_id":204715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:15:37] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":49,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547302144001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:15: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-10-05 17:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791200700000,"timestamp_ms":1791200700000,"timestamp_seconds":1791200700,"priority":1,"record_length":96,"hex_timestamp":"000001a10be1a660"} 
[2026-10-05 17:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 17:15:37] 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-10-05 17:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:15: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-10-05 17:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547302144001,"66":12917,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 17:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547302144001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:15:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:15:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547302144001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":204715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968795,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:15:37] local.INFO: GPS data processed {"connection_id":204715,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:15:37] local.INFO: Acknowledgment sent {"connection_id":204715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:15:37] local.INFO: TCP Data received {"connection_id":204716,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204716,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:15:37] local.INFO: Processing buffer {"connection_id":204716,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:15:37] local.INFO: IMEI packet received {"connection_id":204716,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 17:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":204716,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:15:41] local.INFO: TCP Data received {"connection_id":207783,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10be0bfe8012d185e00072208f8005100d52c..."} 
[2026-10-05 17:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be0bfe8012d185e00072208f8005100d52c..."} 
[2026-10-05 17:15:41] local.INFO: Processing buffer {"connection_id":207783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be0bfe8012d185e00072208f8005100d52c..."} 
[2026-10-05 17:15:41] local.INFO: Packet analysis {"connection_id":207783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be0"} 
[2026-10-05 17:15:41] local.INFO: Extracted packet for processing {"connection_id":207783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be0"} 
[2026-10-05 17:15:41] local.INFO: GPS Element Parsed {"raw_longitude":756571648,"raw_latitude":119671032,"longitude_deg":75.6571648,"latitude_deg":11.9671032,"altitude":81,"angle":213,"satellites":44,"speed":58,"hex_longitude":"2d185e00","hex_latitude":"072208f8","is_valid_coordinates":true} 
[2026-10-05 17:15: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-10-05 17:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547362560001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25194218028793856,"note":"Value kept but may cause issues"} 
[2026-10-05 17:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434892974080,"note":"Value kept but may cause issues"} 
[2026-10-05 17:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791200641000,"timestamp_ms":1791200641000,"timestamp_seconds":1791200641,"priority":1,"record_length":96,"hex_timestamp":"000001a10be0bfe8"} 
[2026-10-05 17:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:15:41] 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-10-05 17:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-10-05 17:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446302976,"note":"Value kept but may cause issues"} 
[2026-10-05 17:15:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-05 17:15:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 17:15:41] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2382364672,"note":"Value kept but may cause issues"} 
[2026-10-05 17:15:41] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3762481153,"note":"Value kept but may cause issues"} 
[2026-10-05 17:15:41] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2368209007,"note":"Value kept but may cause issues"} 
[2026-10-05 17:15:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-10-05 17:15:41] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-10-05 17:15:41] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2148532224,"note":"Value kept but may cause issues"} 
[2026-10-05 17:15:41] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,105,83,24,241,157,16,129,161,141,45,192,71,94,43,10,66,109,64,103,102,128,1,240,169,227,11,34,4,113,205,31,35,166,184,46,239,54,2,89,7,110,8],"length":479,"final_offset":609,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-10-05 17:15:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6341301560785174528,"timestamp_seconds":6341301560785175.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 17:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":207783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":207783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":207783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:15:41] 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-10-05 17:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547362560001,"66":13939,"105":206,"83":41984,"24":58,"16":25194218028793856,"45":1761470434892974080},"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-10-05 17:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547362560001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:15:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 17:15:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25194218028793856,"km_value":25194218028793.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434892974080,"description":"Unknown IO ID 45"} 
[2026-10-05 17:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547362560001,"power":13939,"unknown_105":206,"unknown_83":41984,"ignition":58,"odometer":null,"unknown_45":1761470434892974080}} 
[2026-10-05 17:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":207783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:15:41] local.INFO: GPS data processed {"connection_id":207783,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:15:41] local.INFO: Acknowledgment sent {"connection_id":207783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:15:54] local.INFO: TCP Data received {"connection_id":204717,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:15:54] local.INFO: Processing buffer {"connection_id":204717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:15:54] local.INFO: IMEI packet received {"connection_id":204717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":204717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:15:59] local.INFO: TCP Data received {"connection_id":204717,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:15:59] local.INFO: Processing buffer {"connection_id":204717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:15:59] local.INFO: IMEI packet received {"connection_id":204717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":204717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:16:00] local.INFO: TCP Data received {"connection_id":204717,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:16:00] local.INFO: Processing buffer {"connection_id":204717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:16:00] local.INFO: Packet analysis {"connection_id":204717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:16:00] local.INFO: Extracted packet for processing {"connection_id":204717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:16:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":16,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547304448001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173269465186107392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791200712000,"timestamp_ms":1791200712000,"timestamp_seconds":1791200712,"priority":1,"record_length":96,"hex_timestamp":"000001a10be1d540"} 
[2026-10-05 17:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 17:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:16: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-10-05 17:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547304448001,"66":26408,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173269465186107392},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547304448001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:16:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:16:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173269465186107392,"description":"Unknown IO ID 45"} 
[2026-10-05 17:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547304448001,"power":26408,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173269465186107392}} 
[2026-10-05 17:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":204717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:16:00] local.INFO: GPS data processed {"connection_id":204717,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:16:00] local.INFO: Acknowledgment sent {"connection_id":204717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:16:05] local.INFO: TCP Data received {"connection_id":204840,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:16:05] local.INFO: Processing buffer {"connection_id":204840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:16:05] local.INFO: IMEI packet received {"connection_id":204840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":204840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:16:08] local.INFO: TCP Data received {"connection_id":204715,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10be1a660012d7a204005e46818000d014e31..."} 
[2026-10-05 17:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be1a660012d7a204005e46818000d014e31..."} 
[2026-10-05 17:16:08] local.INFO: Processing buffer {"connection_id":204715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be1a660012d7a204005e46818000d014e31..."} 
[2026-10-05 17:16:08] local.INFO: Packet analysis {"connection_id":204715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:16:08] local.INFO: Extracted packet for processing {"connection_id":204715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:16:08] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":49,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17:16: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-10-05 17:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547302144001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:16:08] 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-10-05 17:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791200700000,"timestamp_ms":1791200700000,"timestamp_seconds":1791200700,"priority":1,"record_length":96,"hex_timestamp":"000001a10be1a660"} 
[2026-10-05 17:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:16: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":106,"data_length":795,"current_offset":136} 
[2026-10-05 17:16:08] 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-10-05 17:16: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-10-05 17:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:16:08] 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-10-05 17:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547302144001,"66":12917,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 17:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547302144001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:16:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:16:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547302144001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":204715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968798,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:16:08] local.INFO: GPS data processed {"connection_id":204715,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:16:08] local.INFO: Acknowledgment sent {"connection_id":204715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:16:10] local.INFO: TCP Data received {"connection_id":204840,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:16:10] local.INFO: Processing buffer {"connection_id":204840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:16:10] local.INFO: IMEI packet received {"connection_id":204840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":204840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:16:11] local.INFO: TCP Data received {"connection_id":204840,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10be0db40012d1848400721e860004b00d62c..."} 
[2026-10-05 17:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be0db40012d1848400721e860004b00d62c..."} 
[2026-10-05 17:16:11] local.INFO: Processing buffer {"connection_id":204840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be0db40012d1848400721e860004b00d62c..."} 
[2026-10-05 17:16:11] local.INFO: Packet analysis {"connection_id":204840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be0"} 
[2026-10-05 17:16:11] local.INFO: Extracted packet for processing {"connection_id":204840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be0"} 
[2026-10-05 17:16:11] local.INFO: GPS Element Parsed {"raw_longitude":756566080,"raw_latitude":119662688,"longitude_deg":75.656608,"latitude_deg":11.9662688,"altitude":75,"angle":214,"satellites":44,"speed":54,"hex_longitude":"2d184840","hex_latitude":"0721e860","is_valid_coordinates":true} 
[2026-10-05 17:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547364096001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25194703360098304,"note":"Value kept but may cause issues"} 
[2026-10-05 17:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755840935356856320,"note":"Value kept but may cause issues"} 
[2026-10-05 17:16: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-10-05 17:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791200648000,"timestamp_ms":1791200648000,"timestamp_seconds":1791200648,"priority":1,"record_length":96,"hex_timestamp":"000001a10be0db40"} 
[2026-10-05 17:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:16:11] 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-10-05 17:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-10-05 17:16:11] 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-10-05 17:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:16:11] 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-10-05 17:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547364096001,"66":13993,"105":206,"83":41984,"24":54,"16":25194703360098304,"45":1755840935356856320},"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-10-05 17:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547364096001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:16:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 17:16:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25194703360098304,"km_value":25194703360098.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755840935356856320,"description":"Unknown IO ID 45"} 
[2026-10-05 17:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547364096001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":54,"odometer":null,"unknown_45":1755840935356856320}} 
[2026-10-05 17:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":204840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:16:11] local.INFO: GPS data processed {"connection_id":204840,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:16:11] local.INFO: Acknowledgment sent {"connection_id":204840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:16:32] local.INFO: TCP Data received {"connection_id":204717,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:16:32] local.INFO: Processing buffer {"connection_id":204717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:16:32] local.INFO: Packet analysis {"connection_id":204717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:16:32] local.INFO: Extracted packet for processing {"connection_id":204717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":16,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547304448001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173269465186107392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791200712000,"timestamp_ms":1791200712000,"timestamp_seconds":1791200712,"priority":1,"record_length":96,"hex_timestamp":"000001a10be1d540"} 
[2026-10-05 17:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":217,"data_length":795,"current_offset":136} 
[2026-10-05 17:16: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-10-05 17: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-10-05 17:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547304448001,"66":26408,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173269465186107392},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547304448001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:16:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:16:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173269465186107392,"description":"Unknown IO ID 45"} 
[2026-10-05 17:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547304448001,"power":26408,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173269465186107392}} 
[2026-10-05 17:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":204717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:16:32] local.INFO: GPS data processed {"connection_id":204717,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:16:32] local.INFO: Acknowledgment sent {"connection_id":204717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:16:37] local.INFO: TCP Data received {"connection_id":206242,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:16:37] local.INFO: Processing buffer {"connection_id":206242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:16:37] local.INFO: IMEI packet received {"connection_id":206242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":206242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:16:40] local.INFO: TCP Data received {"connection_id":206242,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:16:40] local.INFO: Processing buffer {"connection_id":206242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:16:40] local.INFO: IMEI packet received {"connection_id":206242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":206242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:16:41] local.INFO: TCP Data received {"connection_id":206242,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10be1a660012d7a204005e46818000d014e31..."} 
[2026-10-05 17:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be1a660012d7a204005e46818000d014e31..."} 
[2026-10-05 17:16:41] local.INFO: Processing buffer {"connection_id":206242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be1a660012d7a204005e46818000d014e31..."} 
[2026-10-05 17:16:41] local.INFO: Packet analysis {"connection_id":206242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:16:41] local.INFO: Extracted packet for processing {"connection_id":206242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:16:41] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":49,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17:16: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-10-05 17:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547302144001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:16:41] 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-10-05 17:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791200700000,"timestamp_ms":1791200700000,"timestamp_seconds":1791200700,"priority":1,"record_length":96,"hex_timestamp":"000001a10be1a660"} 
[2026-10-05 17:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:16: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":106,"data_length":795,"current_offset":136} 
[2026-10-05 17:16:41] 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-10-05 17:16: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-10-05 17:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":206242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":206242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":206242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547302144001,"66":12917,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 17:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547302144001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:16:41] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547302144001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":206242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:16:41] local.INFO: GPS data processed {"connection_id":206242,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:16:41] local.INFO: Acknowledgment sent {"connection_id":206242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:16:42] local.INFO: TCP Data received {"connection_id":204840,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10be0f698012d1833c00721ca80004700d42c..."} 
[2026-10-05 17:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be0f698012d1833c00721ca80004700d42c..."} 
[2026-10-05 17:16:42] local.INFO: Processing buffer {"connection_id":204840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be0f698012d1833c00721ca80004700d42c..."} 
[2026-10-05 17:16:42] local.INFO: Packet analysis {"connection_id":204840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be0"} 
[2026-10-05 17:16:42] local.INFO: Extracted packet for processing {"connection_id":204840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be0"} 
[2026-10-05 17:16:42] local.INFO: GPS Element Parsed {"raw_longitude":756560832,"raw_latitude":119655040,"longitude_deg":75.6560832,"latitude_deg":11.965504,"altitude":71,"angle":212,"satellites":44,"speed":50,"hex_longitude":"2d1833c0","hex_latitude":"0721ca80","is_valid_coordinates":true} 
[2026-10-05 17:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547365888001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25195150036697088,"note":"Value kept but may cause issues"} 
[2026-10-05 17:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749718854611263488,"note":"Value kept but may cause issues"} 
[2026-10-05 17:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791200655000,"timestamp_ms":1791200655000,"timestamp_seconds":1791200655,"priority":1,"record_length":96,"hex_timestamp":"000001a10be0f698"} 
[2026-10-05 17:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:16: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-10-05 17:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 17:16:42] 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-10-05 17:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:16: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-10-05 17:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547365888001,"66":13972,"105":206,"83":41984,"24":50,"16":25195150036697088,"45":1749718854611263488},"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-10-05 17:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547365888001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:16:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 17:16:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25195150036697088,"km_value":25195150036697.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749718854611263488,"description":"Unknown IO ID 45"} 
[2026-10-05 17:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547365888001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":50,"odometer":null,"unknown_45":1749718854611263488}} 
[2026-10-05 17:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":204840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:16:42] local.INFO: GPS data processed {"connection_id":204840,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:16:42] local.INFO: Acknowledgment sent {"connection_id":204840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:16:45] local.INFO: TCP Data received {"connection_id":206242,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10be334d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be334d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:16:45] local.INFO: Processing buffer {"connection_id":206242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be334d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:16:45] local.INFO: Packet analysis {"connection_id":206242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be3"} 
[2026-10-05 17:16:45] local.INFO: Extracted packet for processing {"connection_id":206242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be3"} 
[2026-10-05 17:16:45] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":47,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547379200001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791200802000,"timestamp_ms":1791200802000,"timestamp_seconds":1791200802,"priority":1,"record_length":96,"hex_timestamp":"000001a10be334d0"} 
[2026-10-05 17:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 17:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":206242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":206242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":206242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547379200001,"66":12917,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 17:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547379200001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:16:45] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:16:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547379200001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":206242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:16:45] local.INFO: GPS data processed {"connection_id":206242,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:16:45] local.INFO: Acknowledgment sent {"connection_id":206242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:16:54] local.INFO: TCP Data received {"connection_id":207786,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:16:54] local.INFO: Processing buffer {"connection_id":207786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:16:54] local.INFO: IMEI packet received {"connection_id":207786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":207786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:16:59] local.INFO: TCP Data received {"connection_id":207786,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:16:59] local.INFO: Processing buffer {"connection_id":207786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:16:59] local.INFO: IMEI packet received {"connection_id":207786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":207786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:17:00] local.INFO: TCP Data received {"connection_id":207786,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:17:00] local.INFO: Processing buffer {"connection_id":207786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:17:00] local.INFO: Packet analysis {"connection_id":207786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:17:00] local.INFO: Extracted packet for processing {"connection_id":207786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:17:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":16,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547304448001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173269465186107392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791200712000,"timestamp_ms":1791200712000,"timestamp_seconds":1791200712,"priority":1,"record_length":96,"hex_timestamp":"000001a10be1d540"} 
[2026-10-05 17:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 17:17: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-10-05 17: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-10-05 17:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:17: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-10-05 17:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547304448001,"66":26408,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173269465186107392},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547304448001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:17:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:17:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173269465186107392,"description":"Unknown IO ID 45"} 
[2026-10-05 17:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547304448001,"power":26408,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173269465186107392}} 
[2026-10-05 17:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":207786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:17:00] local.INFO: GPS data processed {"connection_id":207786,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:17:00] local.INFO: Acknowledgment sent {"connection_id":207786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:17:05] local.INFO: TCP Data received {"connection_id":206243,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:17:05] local.INFO: Processing buffer {"connection_id":206243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:17:05] local.INFO: IMEI packet received {"connection_id":206243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":206243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:17:09] local.INFO: TCP Data received {"connection_id":206243,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:17:09] local.INFO: Processing buffer {"connection_id":206243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:17:09] local.INFO: IMEI packet received {"connection_id":206243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":206243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:17:10] local.INFO: TCP Data received {"connection_id":206243,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10be2cb58012d17eb80072171a00046012a2d..."} 
[2026-10-05 17:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be2cb58012d17eb80072171a00046012a2d..."} 
[2026-10-05 17:17:10] local.INFO: Processing buffer {"connection_id":206243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be2cb58012d17eb80072171a00046012a2d..."} 
[2026-10-05 17:17:10] local.INFO: Packet analysis {"connection_id":206243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be2"} 
[2026-10-05 17:17:10] local.INFO: Extracted packet for processing {"connection_id":206243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be2"} 
[2026-10-05 17:17:10] local.INFO: GPS Element Parsed {"raw_longitude":756542336,"raw_latitude":119632288,"longitude_deg":75.6542336,"latitude_deg":11.9632288,"altitude":70,"angle":298,"satellites":45,"speed":8,"hex_longitude":"2d17eb80","hex_latitude":"072171a0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547398144001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25196610325577728,"note":"Value kept but may cause issues"} 
[2026-10-05 17:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723893525490262016,"note":"Value kept but may cause issues"} 
[2026-10-05 17:17:10] 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-10-05 17:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791200775000,"timestamp_ms":1791200775000,"timestamp_seconds":1791200775,"priority":1,"record_length":96,"hex_timestamp":"000001a10be2cb58"} 
[2026-10-05 17:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:17:10] 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-10-05 17: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-10-05 17:17:10] 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-10-05 17: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-10-05 17:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":206243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":206243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":206243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:17:10] 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-10-05 17:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547398144001,"66":14298,"107":206,"83":41984,"24":8,"16":25196610325577728,"45":1723893525490262016},"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-10-05 17:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547398144001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:17:10] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-10-05 17:17:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25196610325577728,"km_value":25196610325577.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723893525490262016,"description":"Unknown IO ID 45"} 
[2026-10-05 17:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547398144001,"power":14298,"unknown_107":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1723893525490262016}} 
[2026-10-05 17:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":206243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:17:10] local.INFO: GPS data processed {"connection_id":206243,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:17:10] local.INFO: Acknowledgment sent {"connection_id":206243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:17:16] local.INFO: TCP Data received {"connection_id":206242,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10be334d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be334d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:17:16] local.INFO: Processing buffer {"connection_id":206242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be334d0012d7a204005e46818000d014e2f..."} 
[2026-10-05 17:17:16] local.INFO: Packet analysis {"connection_id":206242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be3"} 
[2026-10-05 17:17:16] local.INFO: Extracted packet for processing {"connection_id":206242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be3"} 
[2026-10-05 17:17:16] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98854936,"longitude_deg":76.2978368,"latitude_deg":9.8854936,"altitude":13,"angle":334,"satellites":47,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46818","is_valid_coordinates":true} 
[2026-10-05 17:17:16] 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-10-05 17:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547405312001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:17:16] 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-10-05 17:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791200802000,"timestamp_ms":1791200802000,"timestamp_seconds":1791200802,"priority":1,"record_length":96,"hex_timestamp":"000001a10be334d0"} 
[2026-10-05 17:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 17:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":206242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":206242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":206242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:17:16] 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-10-05 17:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547405312001,"66":12917,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 17:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547405312001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:17:16] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:17:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547405312001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":206242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:17:16] local.INFO: GPS data processed {"connection_id":206242,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:17:16] local.INFO: Acknowledgment sent {"connection_id":206242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:17:31] local.INFO: TCP Data received {"connection_id":206244,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:17:31] local.INFO: Processing buffer {"connection_id":206244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:17:31] local.INFO: IMEI packet received {"connection_id":206244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":206244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:17:32] local.INFO: TCP Data received {"connection_id":207786,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:17:32] local.INFO: Processing buffer {"connection_id":207786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:17:32] local.INFO: Packet analysis {"connection_id":207786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:17:32] local.INFO: Extracted packet for processing {"connection_id":207786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:17:32] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":16,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547304448001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173269465186107392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791200712000,"timestamp_ms":1791200712000,"timestamp_seconds":1791200712,"priority":1,"record_length":96,"hex_timestamp":"000001a10be1d540"} 
[2026-10-05 17:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 17:17: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-10-05 17: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-10-05 17:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547304448001,"66":26408,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173269465186107392},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547304448001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:17:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:17:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173269465186107392,"description":"Unknown IO ID 45"} 
[2026-10-05 17:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547304448001,"power":26408,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173269465186107392}} 
[2026-10-05 17:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":207786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:17:32] local.INFO: GPS data processed {"connection_id":207786,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:17:32] local.INFO: Acknowledgment sent {"connection_id":207786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:17:39] local.INFO: TCP Data received {"connection_id":206244,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:17:39] local.INFO: Processing buffer {"connection_id":206244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:17:39] local.INFO: IMEI packet received {"connection_id":206244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":206244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:17:41] local.INFO: TCP Data received {"connection_id":206244,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10be34088012d7a1c0005e46a50000d015c2f..."} 
[2026-10-05 17:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be34088012d7a1c0005e46a50000d015c2f..."} 
[2026-10-05 17:17:41] local.INFO: Processing buffer {"connection_id":206244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be34088012d7a1c0005e46a50000d015c2f..."} 
[2026-10-05 17:17:41] local.INFO: Packet analysis {"connection_id":206244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be3"} 
[2026-10-05 17:17:41] local.INFO: Extracted packet for processing {"connection_id":206244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be3"} 
[2026-10-05 17:17:41] local.INFO: GPS Element Parsed {"raw_longitude":762977280,"raw_latitude":98855504,"longitude_deg":76.297728,"latitude_deg":9.8855504,"altitude":13,"angle":348,"satellites":47,"speed":0,"hex_longitude":"2d7a1c00","hex_latitude":"05e46a50","is_valid_coordinates":true} 
[2026-10-05 17:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547405312001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139756414745706496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065932990464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:17:41] 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-10-05 17:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791200805000,"timestamp_ms":1791200805000,"timestamp_seconds":1791200805,"priority":1,"record_length":96,"hex_timestamp":"000001a10be34088"} 
[2026-10-05 17:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 17:17:41] 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-10-05 17:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":206244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":206244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":206244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547405312001,"66":12211,"208":206,"85":15104,"24":0,"16":139756414745706496,"45":8800104065932990464},"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-10-05 17:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547405312001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:17:41] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:17:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139756414745706496,"km_value":139756414745706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065932990464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547405312001,"power":12211,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065932990464}} 
[2026-10-05 17:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":206244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968808,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:17:41] local.INFO: GPS data processed {"connection_id":206244,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:17:41] local.INFO: Acknowledgment sent {"connection_id":206244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:17:41] local.INFO: TCP Data received {"connection_id":206243,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10be2cf40012d17eb40072172300046014c2e..."} 
[2026-10-05 17:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be2cf40012d17eb40072172300046014c2e..."} 
[2026-10-05 17:17:41] local.INFO: Processing buffer {"connection_id":206243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be2cf40012d17eb40072172300046014c2e..."} 
[2026-10-05 17:17:41] local.INFO: Packet analysis {"connection_id":206243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be2"} 
[2026-10-05 17:17:41] local.INFO: Extracted packet for processing {"connection_id":206243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be2"} 
[2026-10-05 17:17:41] local.INFO: GPS Element Parsed {"raw_longitude":756542272,"raw_latitude":119632432,"longitude_deg":75.6542272,"latitude_deg":11.9632432,"altitude":70,"angle":332,"satellites":46,"speed":8,"hex_longitude":"2d17eb40","hex_latitude":"07217230","is_valid_coordinates":true} 
[2026-10-05 17:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547398400001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25196618915512320,"note":"Value kept but may cause issues"} 
[2026-10-05 17:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723612050513567744,"note":"Value kept but may cause issues"} 
[2026-10-05 17:17:41] 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-10-05 17:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791200776000,"timestamp_ms":1791200776000,"timestamp_seconds":1791200776,"priority":1,"record_length":96,"hex_timestamp":"000001a10be2cf40"} 
[2026-10-05 17:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:17: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-10-05 17:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-10-05 17:17:41] 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-10-05 17:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":206243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":206243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":206243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:17:41] 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-10-05 17:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547398400001,"66":14330,"107":206,"83":41984,"24":8,"16":25196618915512320,"45":1723612050513567744},"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-10-05 17:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547398400001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:17:41] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-10-05 17:17:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25196618915512320,"km_value":25196618915512.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723612050513567744,"description":"Unknown IO ID 45"} 
[2026-10-05 17:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547398400001,"power":14330,"unknown_107":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1723612050513567744}} 
[2026-10-05 17:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":206243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:17:42] local.INFO: GPS data processed {"connection_id":206243,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:17:42] local.INFO: Acknowledgment sent {"connection_id":206243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:17:59] local.INFO: TCP Data received {"connection_id":204719,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:17:59] local.INFO: Processing buffer {"connection_id":204719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:17:59] local.INFO: IMEI packet received {"connection_id":204719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":204719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:18:04] local.INFO: TCP Data received {"connection_id":204719,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:18:04] local.INFO: Processing buffer {"connection_id":204719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:18:04] local.INFO: IMEI packet received {"connection_id":204719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":204719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:18:04] local.INFO: TCP Data received {"connection_id":204841,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:18:04] local.INFO: Processing buffer {"connection_id":204841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:18:04] local.INFO: IMEI packet received {"connection_id":204841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":204841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:18:05] local.INFO: TCP Data received {"connection_id":204719,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:18:05] local.INFO: Processing buffer {"connection_id":204719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:18:05] local.INFO: Packet analysis {"connection_id":204719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:18:05] local.INFO: Extracted packet for processing {"connection_id":204719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:18:05] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":16,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547304448001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173269465186107392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791200712000,"timestamp_ms":1791200712000,"timestamp_seconds":1791200712,"priority":1,"record_length":96,"hex_timestamp":"000001a10be1d540"} 
[2026-10-05 17:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 17:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547304448001,"66":26408,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173269465186107392},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547304448001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:18:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:18:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173269465186107392,"description":"Unknown IO ID 45"} 
[2026-10-05 17:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547304448001,"power":26408,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173269465186107392}} 
[2026-10-05 17:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":204719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:18:05] local.INFO: GPS data processed {"connection_id":204719,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:18:05] local.INFO: Acknowledgment sent {"connection_id":204719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:18:10] local.INFO: TCP Data received {"connection_id":204719,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:18:10] local.INFO: Processing buffer {"connection_id":204719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:18:10] local.INFO: Packet analysis {"connection_id":204719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:18:10] local.INFO: Extracted packet for processing {"connection_id":204719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:18:10] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":16,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547304448001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173269465186107392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791200712000,"timestamp_ms":1791200712000,"timestamp_seconds":1791200712,"priority":1,"record_length":96,"hex_timestamp":"000001a10be1d540"} 
[2026-10-05 17:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 17:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:18:10] 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-10-05 17:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547304448001,"66":26408,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173269465186107392},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547304448001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:18:10] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:18:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173269465186107392,"description":"Unknown IO ID 45"} 
[2026-10-05 17:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547304448001,"power":26408,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173269465186107392}} 
[2026-10-05 17:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":204719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:18:10] local.INFO: GPS data processed {"connection_id":204719,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:18:10] local.INFO: Acknowledgment sent {"connection_id":204719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:18:10] local.INFO: TCP Data received {"connection_id":204841,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:18:10] local.INFO: Processing buffer {"connection_id":204841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:18:10] local.INFO: IMEI packet received {"connection_id":204841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":204841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:18:10] local.INFO: TCP Data received {"connection_id":204841,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10be2d328012d17eb00072172f8004601672e..."} 
[2026-10-05 17:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be2d328012d17eb00072172f8004601672e..."} 
[2026-10-05 17:18:10] local.INFO: Processing buffer {"connection_id":204841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be2d328012d17eb00072172f8004601672e..."} 
[2026-10-05 17:18:10] local.INFO: Packet analysis {"connection_id":204841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be2"} 
[2026-10-05 17:18:10] local.INFO: Extracted packet for processing {"connection_id":204841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be2"} 
[2026-10-05 17:18:10] local.INFO: GPS Element Parsed {"raw_longitude":756542208,"raw_latitude":119632632,"longitude_deg":75.6542208,"latitude_deg":11.9632632,"altitude":70,"angle":359,"satellites":46,"speed":8,"hex_longitude":"2d17eb00","hex_latitude":"072172f8","is_valid_coordinates":true} 
[2026-10-05 17:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547398656001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25196627505446912,"note":"Value kept but may cause issues"} 
[2026-10-05 17:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723541681769426944,"note":"Value kept but may cause issues"} 
[2026-10-05 17:18:11] 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-10-05 17:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791200777000,"timestamp_ms":1791200777000,"timestamp_seconds":1791200777,"priority":1,"record_length":96,"hex_timestamp":"000001a10be2d328"} 
[2026-10-05 17:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:18: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-10-05 17:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-10-05 17:18:11] 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-10-05 17:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:18:11] 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-10-05 17:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547398656001,"66":14330,"107":206,"83":41984,"24":8,"16":25196627505446912,"45":1723541681769426944},"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-10-05 17:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547398656001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:18:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-10-05 17:18:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25196627505446912,"km_value":25196627505446.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723541681769426944,"description":"Unknown IO ID 45"} 
[2026-10-05 17:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547398656001,"power":14330,"unknown_107":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1723541681769426944}} 
[2026-10-05 17:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":204841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:18:11] local.INFO: GPS data processed {"connection_id":204841,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:18:11] local.INFO: Acknowledgment sent {"connection_id":204841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:18:12] local.INFO: TCP Data received {"connection_id":206244,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10be46580012d7a060005e4a0f8000b00f82f..."} 
[2026-10-05 17:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be46580012d7a060005e4a0f8000b00f82f..."} 
[2026-10-05 17:18:12] local.INFO: Processing buffer {"connection_id":206244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be46580012d7a060005e4a0f8000b00f82f..."} 
[2026-10-05 17:18:12] local.INFO: Packet analysis {"connection_id":206244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be4"} 
[2026-10-05 17:18:12] local.INFO: Extracted packet for processing {"connection_id":206244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be4"} 
[2026-10-05 17:18:12] local.INFO: GPS Element Parsed {"raw_longitude":762971648,"raw_latitude":98869496,"longitude_deg":76.2971648,"latitude_deg":9.8869496,"altitude":11,"angle":248,"satellites":47,"speed":11,"hex_longitude":"2d7a0600","hex_latitude":"05e4a0f8","is_valid_coordinates":true} 
[2026-10-05 17:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547425024001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139757235084460032,"note":"Value kept but may cause issues"} 
[2026-10-05 17:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792996822774790144,"note":"Value kept but may cause issues"} 
[2026-10-05 17:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791200880000,"timestamp_ms":1791200880000,"timestamp_seconds":1791200880,"priority":1,"record_length":96,"hex_timestamp":"000001a10be46580"} 
[2026-10-05 17:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 17:18:12] 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-10-05 17:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":206244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":206244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":206244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:18: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-10-05 17:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547425024001,"66":13820,"145":206,"87":12288,"24":11,"16":139757235084460032,"45":8792996822774790144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 17:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547425024001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:18:12] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 17:18:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 17:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139757235084460032,"km_value":139757235084460.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792996822774790144,"description":"Unknown IO ID 45"} 
[2026-10-05 17:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547425024001,"power":13820,"unknown_145":206,"unknown_87":12288,"ignition":11,"odometer":null,"unknown_45":8792996822774790144}} 
[2026-10-05 17:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":206244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:18:12] local.INFO: GPS data processed {"connection_id":206244,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:18:12] local.INFO: Acknowledgment sent {"connection_id":206244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:18:30] local.INFO: TCP Data received {"connection_id":204842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:18:30] local.INFO: Processing buffer {"connection_id":204842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:18:30] local.INFO: IMEI packet received {"connection_id":204842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":204842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:18:32] local.INFO: TCP Data received {"connection_id":204842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:18:32] local.INFO: Processing buffer {"connection_id":204842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:18:32] local.INFO: IMEI packet received {"connection_id":204842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":204842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:18:35] local.INFO: TCP Data received {"connection_id":204842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:18:35] local.INFO: Processing buffer {"connection_id":204842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:18:35] local.INFO: IMEI packet received {"connection_id":204842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":204842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:18:37] local.INFO: TCP Data received {"connection_id":204842,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10be484c0012d79fb0005e49bc0000a00e72e..."} 
[2026-10-05 17:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be484c0012d79fb0005e49bc0000a00e72e..."} 
[2026-10-05 17:18:37] local.INFO: Processing buffer {"connection_id":204842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be484c0012d79fb0005e49bc0000a00e72e..."} 
[2026-10-05 17:18:37] local.INFO: Packet analysis {"connection_id":204842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be4"} 
[2026-10-05 17:18:37] local.INFO: Extracted packet for processing {"connection_id":204842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be4"} 
[2026-10-05 17:18:37] local.INFO: GPS Element Parsed {"raw_longitude":762968832,"raw_latitude":98868160,"longitude_deg":76.2968832,"latitude_deg":9.886816,"altitude":10,"angle":231,"satellites":46,"speed":10,"hex_longitude":"2d79fb00","hex_latitude":"05e49bc0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547425280001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139757385408315392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792715347798063104,"note":"Value kept but may cause issues"} 
[2026-10-05 17:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791200888000,"timestamp_ms":1791200888000,"timestamp_seconds":1791200888,"priority":1,"record_length":96,"hex_timestamp":"000001a10be484c0"} 
[2026-10-05 17:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:18: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-10-05 17: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 17:18:37] 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-10-05 17: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-10-05 17:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:18: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-10-05 17:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547425280001,"66":13624,"145":206,"87":12288,"24":10,"16":139757385408315392,"45":8792715347798063104},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 17:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547425280001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:18:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 17:18:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 17:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139757385408315392,"km_value":139757385408315.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792715347798063104,"description":"Unknown IO ID 45"} 
[2026-10-05 17:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547425280001,"power":13624,"unknown_145":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8792715347798063104}} 
[2026-10-05 17:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":204842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968814,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:18:37] local.INFO: GPS data processed {"connection_id":204842,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:18:37] local.INFO: Acknowledgment sent {"connection_id":204842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:18:41] local.INFO: TCP Data received {"connection_id":204841,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10be45db0012d185b40072203f8004f00c12d..."} 
[2026-10-05 17:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be45db0012d185b40072203f8004f00c12d..."} 
[2026-10-05 17:18:41] local.INFO: Processing buffer {"connection_id":204841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be45db0012d185b40072203f8004f00c12d..."} 
[2026-10-05 17:18:41] local.INFO: Packet analysis {"connection_id":204841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be4"} 
[2026-10-05 17:18:41] local.INFO: Extracted packet for processing {"connection_id":204841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be4"} 
[2026-10-05 17:18:41] local.INFO: GPS Element Parsed {"raw_longitude":756570944,"raw_latitude":119669752,"longitude_deg":75.6570944,"latitude_deg":11.9669752,"altitude":79,"angle":193,"satellites":45,"speed":5,"hex_longitude":"2d185b40","hex_latitude":"072203f8","is_valid_coordinates":true} 
[2026-10-05 17:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547424512001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25198963967655936,"note":"Value kept but may cause issues"} 
[2026-10-05 17:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755207616658968576,"note":"Value kept but may cause issues"} 
[2026-10-05 17:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791200878000,"timestamp_ms":1791200878000,"timestamp_seconds":1791200878,"priority":1,"record_length":96,"hex_timestamp":"000001a10be45db0"} 
[2026-10-05 17:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:18: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-10-05 17:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 17:18:41] 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-10-05 17:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:18:41] 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-10-05 17:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547424512001,"66":12993,"105":206,"83":41984,"24":5,"16":25198963967655936,"45":1755207616658968576},"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-10-05 17:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547424512001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:18:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 17:18:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25198963967655936,"km_value":25198963967655.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755207616658968576,"description":"Unknown IO ID 45"} 
[2026-10-05 17:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547424512001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1755207616658968576}} 
[2026-10-05 17:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":204841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:18:42] local.INFO: GPS data processed {"connection_id":204841,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:18:42] local.INFO: Acknowledgment sent {"connection_id":204841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:18:54] local.INFO: TCP Data received {"connection_id":204721,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:18:54] local.INFO: Processing buffer {"connection_id":204721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:18:54] local.INFO: IMEI packet received {"connection_id":204721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":204721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:18:59] local.INFO: TCP Data received {"connection_id":204721,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:18:59] local.INFO: Processing buffer {"connection_id":204721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:18:59] local.INFO: IMEI packet received {"connection_id":204721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":204721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:19:00] local.INFO: TCP Data received {"connection_id":204721,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:19:00] local.INFO: Processing buffer {"connection_id":204721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:19:00] local.INFO: Packet analysis {"connection_id":204721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:19:00] local.INFO: Extracted packet for processing {"connection_id":204721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:19:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":16,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547304448001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173269465186107392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791200712000,"timestamp_ms":1791200712000,"timestamp_seconds":1791200712,"priority":1,"record_length":96,"hex_timestamp":"000001a10be1d540"} 
[2026-10-05 17:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 17:19: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-10-05 17:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:19: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-10-05 17:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547304448001,"66":26408,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173269465186107392},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547304448001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:19:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:19:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173269465186107392,"description":"Unknown IO ID 45"} 
[2026-10-05 17:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547304448001,"power":26408,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173269465186107392}} 
[2026-10-05 17:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":204721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:19:00] local.INFO: GPS data processed {"connection_id":204721,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:19:00] local.INFO: Acknowledgment sent {"connection_id":204721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:19:04] local.INFO: TCP Data received {"connection_id":204843,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:19:04] local.INFO: Processing buffer {"connection_id":204843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:19:04] local.INFO: IMEI packet received {"connection_id":204843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":204843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:19:08] local.INFO: TCP Data received {"connection_id":204842,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10be48c90012d79f98005e49af0000900f32e..."} 
[2026-10-05 17:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be48c90012d79f98005e49af0000900f32e..."} 
[2026-10-05 17:19:08] local.INFO: Processing buffer {"connection_id":204842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be48c90012d79f98005e49af0000900f32e..."} 
[2026-10-05 17:19:08] local.INFO: Packet analysis {"connection_id":204842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be4"} 
[2026-10-05 17:19:08] local.INFO: Extracted packet for processing {"connection_id":204842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be4"} 
[2026-10-05 17:19:08] local.INFO: GPS Element Parsed {"raw_longitude":762968448,"raw_latitude":98867952,"longitude_deg":76.2968448,"latitude_deg":9.8867952,"altitude":9,"angle":243,"satellites":46,"speed":6,"hex_longitude":"2d79f980","hex_latitude":"05e49af0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547427328001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139757406883151872,"note":"Value kept but may cause issues"} 
[2026-10-05 17:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789619123053903872,"note":"Value kept but may cause issues"} 
[2026-10-05 17:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791200890000,"timestamp_ms":1791200890000,"timestamp_seconds":1791200890,"priority":1,"record_length":96,"hex_timestamp":"000001a10be48c90"} 
[2026-10-05 17:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:19: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-10-05 17: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-10-05 17:19:08] 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-10-05 17: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-10-05 17:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:19:08] 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-10-05 17:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547427328001,"66":13515,"145":206,"87":12288,"24":6,"16":139757406883151872,"45":8789619123053903872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 17:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547427328001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:19:08] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 17:19:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 17:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139757406883151872,"km_value":139757406883151.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789619123053903872,"description":"Unknown IO ID 45"} 
[2026-10-05 17:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547427328001,"power":13515,"unknown_145":206,"unknown_87":12288,"ignition":6,"odometer":null,"unknown_45":8789619123053903872}} 
[2026-10-05 17:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":204842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:19:08] local.INFO: GPS data processed {"connection_id":204842,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:19:08] local.INFO: Acknowledgment sent {"connection_id":204842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:19:09] local.INFO: TCP Data received {"connection_id":204843,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:19:09] local.INFO: Processing buffer {"connection_id":204843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:19:09] local.INFO: IMEI packet received {"connection_id":204843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":204843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:19:10] local.INFO: TCP Data received {"connection_id":204843,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10be46198012d185b4007220380004f00d12d..."} 
[2026-10-05 17:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be46198012d185b4007220380004f00d12d..."} 
[2026-10-05 17:19:10] local.INFO: Processing buffer {"connection_id":204843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be46198012d185b4007220380004f00d12d..."} 
[2026-10-05 17:19:10] local.INFO: Packet analysis {"connection_id":204843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be4"} 
[2026-10-05 17:19:10] local.INFO: Extracted packet for processing {"connection_id":204843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be4"} 
[2026-10-05 17:19:10] local.INFO: GPS Element Parsed {"raw_longitude":756570944,"raw_latitude":119669632,"longitude_deg":75.6570944,"latitude_deg":11.9669632,"altitude":79,"angle":209,"satellites":45,"speed":4,"hex_longitude":"2d185b40","hex_latitude":"07220380","is_valid_coordinates":true} 
[2026-10-05 17:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547424768001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25198968262623232,"note":"Value kept but may cause issues"} 
[2026-10-05 17:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755066879170574336,"note":"Value kept but may cause issues"} 
[2026-10-05 17:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791200879000,"timestamp_ms":1791200879000,"timestamp_seconds":1791200879,"priority":1,"record_length":96,"hex_timestamp":"000001a10be46198"} 
[2026-10-05 17:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:19:10] 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-10-05 17:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-10-05 17:19:10] 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-10-05 17:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:19:10] 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-10-05 17:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547424768001,"66":12993,"105":206,"83":41984,"24":4,"16":25198968262623232,"45":1755066879170574336},"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-10-05 17:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547424768001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:19:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 17:19:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25198968262623232,"km_value":25198968262623.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755066879170574336,"description":"Unknown IO ID 45"} 
[2026-10-05 17:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547424768001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1755066879170574336}} 
[2026-10-05 17:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":204843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:19:10] local.INFO: GPS data processed {"connection_id":204843,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:19:10] local.INFO: Acknowledgment sent {"connection_id":204843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:19:31] local.INFO: TCP Data received {"connection_id":204721,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:19:31] local.INFO: Processing buffer {"connection_id":204721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:19:31] local.INFO: Packet analysis {"connection_id":204721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:19:31] local.INFO: Extracted packet for processing {"connection_id":204721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:19:31] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":16,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547304448001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173269465186107392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791200712000,"timestamp_ms":1791200712000,"timestamp_seconds":1791200712,"priority":1,"record_length":96,"hex_timestamp":"000001a10be1d540"} 
[2026-10-05 17:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 17:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547304448001,"66":26408,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173269465186107392},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547304448001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:19:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:19:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173269465186107392,"description":"Unknown IO ID 45"} 
[2026-10-05 17:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547304448001,"power":26408,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173269465186107392}} 
[2026-10-05 17:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":204721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:19:31] local.INFO: GPS data processed {"connection_id":204721,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:19:31] local.INFO: Acknowledgment sent {"connection_id":204721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:19:36] local.INFO: TCP Data received {"connection_id":207787,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:19:36] local.INFO: Processing buffer {"connection_id":207787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:19:36] local.INFO: IMEI packet received {"connection_id":207787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":207787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:19:40] local.INFO: TCP Data received {"connection_id":207787,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:19:40] local.INFO: Processing buffer {"connection_id":207787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:19:40] local.INFO: IMEI packet received {"connection_id":207787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":207787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:19:41] local.INFO: TCP Data received {"connection_id":204843,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10be46580012d185b0007220330004f00dc2c..."} 
[2026-10-05 17:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be46580012d185b0007220330004f00dc2c..."} 
[2026-10-05 17:19:41] local.INFO: Processing buffer {"connection_id":204843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be46580012d185b0007220330004f00dc2c..."} 
[2026-10-05 17:19:41] local.INFO: Packet analysis {"connection_id":204843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be4"} 
[2026-10-05 17:19:41] local.INFO: Extracted packet for processing {"connection_id":204843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be4"} 
[2026-10-05 17:19:41] local.INFO: GPS Element Parsed {"raw_longitude":756570880,"raw_latitude":119669552,"longitude_deg":75.657088,"latitude_deg":11.9669552,"altitude":79,"angle":220,"satellites":44,"speed":3,"hex_longitude":"2d185b00","hex_latitude":"07220330","is_valid_coordinates":true} 
[2026-10-05 17:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547425024001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25198972557590528,"note":"Value kept but may cause issues"} 
[2026-10-05 17:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755066879170543616,"note":"Value kept but may cause issues"} 
[2026-10-05 17:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791200880000,"timestamp_ms":1791200880000,"timestamp_seconds":1791200880,"priority":1,"record_length":96,"hex_timestamp":"000001a10be46580"} 
[2026-10-05 17:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:19: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-10-05 17:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-10-05 17:19:41] 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-10-05 17:19: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-10-05 17:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:19:41] 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-10-05 17:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547425024001,"66":12939,"105":206,"83":41984,"24":3,"16":25198972557590528,"45":1755066879170543616},"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-10-05 17:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547425024001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:19:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 17:19:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25198972557590528,"km_value":25198972557590.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755066879170543616,"description":"Unknown IO ID 45"} 
[2026-10-05 17:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547425024001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1755066879170543616}} 
[2026-10-05 17:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":204843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:19:41] local.INFO: GPS data processed {"connection_id":204843,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:19:41] local.INFO: Acknowledgment sent {"connection_id":204843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:19:42] local.INFO: TCP Data received {"connection_id":207787,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10be4dab0012d79f60005e49aa8000b00f12b..."} 
[2026-10-05 17:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be4dab0012d79f60005e49aa8000b00f12b..."} 
[2026-10-05 17:19:42] local.INFO: Processing buffer {"connection_id":207787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be4dab0012d79f60005e49aa8000b00f12b..."} 
[2026-10-05 17:19:42] local.INFO: Packet analysis {"connection_id":207787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be4"} 
[2026-10-05 17:19:42] local.INFO: Extracted packet for processing {"connection_id":207787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be4"} 
[2026-10-05 17:19:42] local.INFO: GPS Element Parsed {"raw_longitude":762967552,"raw_latitude":98867880,"longitude_deg":76.2967552,"latitude_deg":9.886788,"altitude":11,"angle":241,"satellites":43,"speed":10,"hex_longitude":"2d79f600","hex_latitude":"05e49aa8","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547427840001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139757454127792128,"note":"Value kept but may cause issues"} 
[2026-10-05 17:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789196910588784640,"note":"Value kept but may cause issues"} 
[2026-10-05 17:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791200910000,"timestamp_ms":1791200910000,"timestamp_seconds":1791200910,"priority":1,"record_length":96,"hex_timestamp":"000001a10be4dab0"} 
[2026-10-05 17:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:19: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-10-05 17: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-10-05 17:19:42] 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-10-05 17: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-10-05 17:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:19:42] 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-10-05 17:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547427840001,"66":13961,"145":206,"87":12288,"24":10,"16":139757454127792128,"45":8789196910588784640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 17:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547427840001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:19:42] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 17:19:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 17:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139757454127792128,"km_value":139757454127792.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789196910588784640,"description":"Unknown IO ID 45"} 
[2026-10-05 17:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547427840001,"power":13961,"unknown_145":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8789196910588784640}} 
[2026-10-05 17:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":207787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:19:42] local.INFO: GPS data processed {"connection_id":207787,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:19:42] local.INFO: Acknowledgment sent {"connection_id":207787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:19:46] local.INFO: TCP Data received {"connection_id":207787,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10be4fdd8012d79ec4005e495a8000901012c..."} 
[2026-10-05 17:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be4fdd8012d79ec4005e495a8000901012c..."} 
[2026-10-05 17:19:46] local.INFO: Processing buffer {"connection_id":207787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be4fdd8012d79ec4005e495a8000901012c..."} 
[2026-10-05 17:19:46] local.INFO: Packet analysis {"connection_id":207787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be4"} 
[2026-10-05 17:19:46] local.INFO: Extracted packet for processing {"connection_id":207787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be4"} 
[2026-10-05 17:19:46] local.INFO: GPS Element Parsed {"raw_longitude":762965056,"raw_latitude":98866600,"longitude_deg":76.2965056,"latitude_deg":9.88666,"altitude":9,"angle":257,"satellites":44,"speed":6,"hex_longitude":"2d79ec40","hex_latitude":"05e495a8","is_valid_coordinates":true} 
[2026-10-05 17:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547432960001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139757587271778304,"note":"Value kept but may cause issues"} 
[2026-10-05 17:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788211748170278912,"note":"Value kept but may cause issues"} 
[2026-10-05 17:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791200919000,"timestamp_ms":1791200919000,"timestamp_seconds":1791200919,"priority":1,"record_length":96,"hex_timestamp":"000001a10be4fdd8"} 
[2026-10-05 17:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-05 17:19:46] 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-10-05 17:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":207787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":207787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":207787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:19:46] 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-10-05 17:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547432960001,"66":13493,"145":206,"87":12288,"24":6,"16":139757587271778304,"45":8788211748170278912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 17:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547432960001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:19:46] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 17:19:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 17:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139757587271778304,"km_value":139757587271778.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788211748170278912,"description":"Unknown IO ID 45"} 
[2026-10-05 17:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547432960001,"power":13493,"unknown_145":206,"unknown_87":12288,"ignition":6,"odometer":null,"unknown_45":8788211748170278912}} 
[2026-10-05 17:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":207787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968822,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:19:46] local.INFO: GPS data processed {"connection_id":207787,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:19:46] local.INFO: Acknowledgment sent {"connection_id":207787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:19:54] local.INFO: TCP Data received {"connection_id":206245,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:19:54] local.INFO: Processing buffer {"connection_id":206245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:19:54] local.INFO: IMEI packet received {"connection_id":206245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":206245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:19:59] local.INFO: TCP Data received {"connection_id":206245,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:19:59] local.INFO: Processing buffer {"connection_id":206245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:19:59] local.INFO: IMEI packet received {"connection_id":206245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":206245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:20:00] local.INFO: TCP Data received {"connection_id":206245,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:20:00] local.INFO: Processing buffer {"connection_id":206245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:20:00] local.INFO: Packet analysis {"connection_id":206245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:20:00] local.INFO: Extracted packet for processing {"connection_id":206245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:20:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":16,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547304448001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173269465186107392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791200712000,"timestamp_ms":1791200712000,"timestamp_seconds":1791200712,"priority":1,"record_length":96,"hex_timestamp":"000001a10be1d540"} 
[2026-10-05 17:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 17:20: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-10-05 17:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:20: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-10-05 17:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547304448001,"66":26408,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173269465186107392},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547304448001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:20:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:20:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173269465186107392,"description":"Unknown IO ID 45"} 
[2026-10-05 17:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547304448001,"power":26408,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173269465186107392}} 
[2026-10-05 17:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":206245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:20:00] local.INFO: GPS data processed {"connection_id":206245,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:20:00] local.INFO: Acknowledgment sent {"connection_id":206245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:20:09] local.INFO: TCP Data received {"connection_id":204722,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:20:09] local.INFO: Processing buffer {"connection_id":204722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:20:09] local.INFO: IMEI packet received {"connection_id":204722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":204722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:20:15] local.INFO: TCP Data received {"connection_id":204722,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:20:15] local.INFO: Processing buffer {"connection_id":204722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:20:15] local.INFO: IMEI packet received {"connection_id":204722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":204722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:20:16] local.INFO: TCP Data received {"connection_id":204722,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10be4b788012d185b00072202f0004f00dc2c..."} 
[2026-10-05 17:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be4b788012d185b00072202f0004f00dc2c..."} 
[2026-10-05 17:20:16] local.INFO: Processing buffer {"connection_id":204722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be4b788012d185b00072202f0004f00dc2c..."} 
[2026-10-05 17:20:16] local.INFO: Packet analysis {"connection_id":204722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be4"} 
[2026-10-05 17:20:16] local.INFO: Extracted packet for processing {"connection_id":204722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be4"} 
[2026-10-05 17:20:16] local.INFO: GPS Element Parsed {"raw_longitude":756570880,"raw_latitude":119669488,"longitude_deg":75.657088,"latitude_deg":11.9669488,"altitude":79,"angle":220,"satellites":44,"speed":0,"hex_longitude":"2d185b00","hex_latitude":"072202f0","is_valid_coordinates":true} 
[2026-10-05 17:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547425280001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25198976852557824,"note":"Value kept but may cause issues"} 
[2026-10-05 17:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754996510426345472,"note":"Value kept but may cause issues"} 
[2026-10-05 17:20: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-10-05 17:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791200901000,"timestamp_ms":1791200901000,"timestamp_seconds":1791200901,"priority":1,"record_length":96,"hex_timestamp":"000001a10be4b788"} 
[2026-10-05 17:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 17:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547425280001,"66":12885,"105":206,"83":41984,"24":0,"16":25198976852557824,"45":1754996510426345472},"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-10-05 17:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547425280001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:20:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 17:20:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25198976852557824,"km_value":25198976852557.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754996510426345472,"description":"Unknown IO ID 45"} 
[2026-10-05 17:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547425280001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754996510426345472}} 
[2026-10-05 17:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":204722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:20:16] local.INFO: GPS data processed {"connection_id":204722,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:20:16] local.INFO: Acknowledgment sent {"connection_id":204722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:20:31] local.INFO: TCP Data received {"connection_id":206246,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:20:31] local.INFO: Processing buffer {"connection_id":206246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:20:31] local.INFO: IMEI packet received {"connection_id":206246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":206246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:20:31] local.INFO: TCP Data received {"connection_id":206245,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:20:31] local.INFO: Processing buffer {"connection_id":206245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be1d540012d80af8006029ae0001000d42d..."} 
[2026-10-05 17:20:31] local.INFO: Packet analysis {"connection_id":206245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:20:31] local.INFO: Extracted packet for processing {"connection_id":206245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be1"} 
[2026-10-05 17:20:31] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":16,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547304448001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173269465186107392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791200712000,"timestamp_ms":1791200712000,"timestamp_seconds":1791200712,"priority":1,"record_length":96,"hex_timestamp":"000001a10be1d540"} 
[2026-10-05 17:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 17:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547304448001,"66":26408,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173269465186107392},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547304448001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:20:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:20:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173269465186107392,"description":"Unknown IO ID 45"} 
[2026-10-05 17:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547304448001,"power":26408,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173269465186107392}} 
[2026-10-05 17:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":206245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:20:32] local.INFO: GPS data processed {"connection_id":206245,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:20:32] local.INFO: Acknowledgment sent {"connection_id":206245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:20:40] local.INFO: TCP Data received {"connection_id":206246,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:20:40] local.INFO: Processing buffer {"connection_id":206246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:20:40] local.INFO: IMEI packet received {"connection_id":206246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":206246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:20:41] local.INFO: TCP Data received {"connection_id":206246,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10be51930012d79e98005e494b0000800f12c..."} 
[2026-10-05 17:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be51930012d79e98005e494b0000800f12c..."} 
[2026-10-05 17:20:41] local.INFO: Processing buffer {"connection_id":206246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be51930012d79e98005e494b0000800f12c..."} 
[2026-10-05 17:20:41] local.INFO: Packet analysis {"connection_id":206246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be5"} 
[2026-10-05 17:20:41] local.INFO: Extracted packet for processing {"connection_id":206246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be5"} 
[2026-10-05 17:20:41] local.INFO: GPS Element Parsed {"raw_longitude":762964352,"raw_latitude":98866352,"longitude_deg":76.2964352,"latitude_deg":9.8866352,"altitude":8,"angle":241,"satellites":44,"speed":15,"hex_longitude":"2d79e980","hex_latitude":"05e494b0","is_valid_coordinates":true} 
[2026-10-05 17:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547435264001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139757625926483968,"note":"Value kept but may cause issues"} 
[2026-10-05 17:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8785467367147022336,"note":"Value kept but may cause issues"} 
[2026-10-05 17:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791200926000,"timestamp_ms":1791200926000,"timestamp_seconds":1791200926,"priority":1,"record_length":96,"hex_timestamp":"000001a10be51930"} 
[2026-10-05 17:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-10-05 17:20:41] 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-10-05 17:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":206246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":206246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":206246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547435264001,"66":13689,"145":206,"87":12288,"24":15,"16":139757625926483968,"45":8785467367147022336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 17:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547435264001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:20:41] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 17:20:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 17:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139757625926483968,"km_value":139757625926483.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8785467367147022336,"description":"Unknown IO ID 45"} 
[2026-10-05 17:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547435264001,"power":13689,"unknown_145":206,"unknown_87":12288,"ignition":15,"odometer":null,"unknown_45":8785467367147022336}} 
[2026-10-05 17:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":206246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968826,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:20:41] local.INFO: GPS data processed {"connection_id":206246,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:20:41] local.INFO: Acknowledgment sent {"connection_id":206246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:20:47] local.INFO: TCP Data received {"connection_id":204722,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10be50990012d185b00072202f0004f00dc2d..."} 
[2026-10-05 17:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be50990012d185b00072202f0004f00dc2d..."} 
[2026-10-05 17:20:47] local.INFO: Processing buffer {"connection_id":204722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be50990012d185b00072202f0004f00dc2d..."} 
[2026-10-05 17:20:47] local.INFO: Packet analysis {"connection_id":204722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be5"} 
[2026-10-05 17:20:47] local.INFO: Extracted packet for processing {"connection_id":204722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be5"} 
[2026-10-05 17:20:47] local.INFO: GPS Element Parsed {"raw_longitude":756570880,"raw_latitude":119669488,"longitude_deg":75.657088,"latitude_deg":11.9669488,"altitude":79,"angle":220,"satellites":45,"speed":0,"hex_longitude":"2d185b00","hex_latitude":"072202f0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547430656001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25198976852557824,"note":"Value kept but may cause issues"} 
[2026-10-05 17:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754996510426329088,"note":"Value kept but may cause issues"} 
[2026-10-05 17:20: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-10-05 17:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791200922000,"timestamp_ms":1791200922000,"timestamp_seconds":1791200922,"priority":1,"record_length":96,"hex_timestamp":"000001a10be50990"} 
[2026-10-05 17:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17: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":85,"data_length":795,"current_offset":136} 
[2026-10-05 17:20:47] 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-10-05 17: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-10-05 17:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":204722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":204722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":204722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547430656001,"66":12885,"105":206,"83":41984,"24":0,"16":25198976852557824,"45":1754996510426329088},"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-10-05 17:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547430656001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:20:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 17:20:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25198976852557824,"km_value":25198976852557.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754996510426329088,"description":"Unknown IO ID 45"} 
[2026-10-05 17:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547430656001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754996510426329088}} 
[2026-10-05 17:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":204722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:20:47] local.INFO: GPS data processed {"connection_id":204722,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:20:47] local.INFO: Acknowledgment sent {"connection_id":204722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:20:55] local.INFO: TCP Data received {"connection_id":206247,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:20:55] local.INFO: Processing buffer {"connection_id":206247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:20:55] local.INFO: IMEI packet received {"connection_id":206247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":206247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:20:59] local.INFO: TCP Data received {"connection_id":206247,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:20:59] local.INFO: Processing buffer {"connection_id":206247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:20:59] local.INFO: IMEI packet received {"connection_id":206247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":206247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:21:00] local.INFO: TCP Data received {"connection_id":206247,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:21:00] local.INFO: Processing buffer {"connection_id":206247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:21:00] local.INFO: Packet analysis {"connection_id":206247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be6"} 
[2026-10-05 17:21:00] local.INFO: Extracted packet for processing {"connection_id":206247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be6"} 
[2026-10-05 17:21:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":14,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547382272001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791201013000,"timestamp_ms":1791201013000,"timestamp_seconds":1791201013,"priority":1,"record_length":96,"hex_timestamp":"000001a10be66d08"} 
[2026-10-05 17:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 17:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:21: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-10-05 17:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547382272001,"66":26169,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547382272001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:21:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:21:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547382272001,"power":26169,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":206247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:21:00] local.INFO: GPS data processed {"connection_id":206247,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:21:00] local.INFO: Acknowledgment sent {"connection_id":206247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:21:04] local.INFO: TCP Data received {"connection_id":207788,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207788,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:21:04] local.INFO: Processing buffer {"connection_id":207788,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:21:04] local.INFO: IMEI packet received {"connection_id":207788,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 17:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":207788,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:21:05] local.INFO: TCP Data received {"connection_id":204723,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:21:05] local.INFO: Processing buffer {"connection_id":204723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:21:05] local.INFO: IMEI packet received {"connection_id":204723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":204723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:21:05] local.INFO: TCP Data received {"connection_id":204723,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:21:05] local.INFO: Processing buffer {"connection_id":204723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:21:05] local.INFO: IMEI packet received {"connection_id":204723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":204723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:21:10] local.INFO: TCP Data received {"connection_id":204723,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:21:10] local.INFO: Processing buffer {"connection_id":204723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:21:10] local.INFO: IMEI packet received {"connection_id":204723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":204723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:21:10] local.INFO: TCP Data received {"connection_id":204723,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10be55b98012d185b00072202f0004f00dc2a..."} 
[2026-10-05 17:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be55b98012d185b00072202f0004f00dc2a..."} 
[2026-10-05 17:21:11] local.INFO: Processing buffer {"connection_id":204723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be55b98012d185b00072202f0004f00dc2a..."} 
[2026-10-05 17:21:11] local.INFO: Packet analysis {"connection_id":204723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be5"} 
[2026-10-05 17:21:11] local.INFO: Extracted packet for processing {"connection_id":204723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be5"} 
[2026-10-05 17:21:11] local.INFO: GPS Element Parsed {"raw_longitude":756570880,"raw_latitude":119669488,"longitude_deg":75.657088,"latitude_deg":11.9669488,"altitude":79,"angle":220,"satellites":42,"speed":0,"hex_longitude":"2d185b00","hex_latitude":"072202f0","is_valid_coordinates":true} 
[2026-10-05 17:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547436032001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25198976852557824,"note":"Value kept but may cause issues"} 
[2026-10-05 17:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754996510426329088,"note":"Value kept but may cause issues"} 
[2026-10-05 17:21: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-10-05 17:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791200943000,"timestamp_ms":1791200943000,"timestamp_seconds":1791200943,"priority":1,"record_length":96,"hex_timestamp":"000001a10be55b98"} 
[2026-10-05 17:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:21:11] 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-10-05 17:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 17:21:11] 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-10-05 17:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:21:11] 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-10-05 17:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547436032001,"66":12841,"105":206,"83":41984,"24":0,"16":25198976852557824,"45":1754996510426329088},"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-10-05 17:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547436032001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:21:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 17:21:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25198976852557824,"km_value":25198976852557.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754996510426329088,"description":"Unknown IO ID 45"} 
[2026-10-05 17:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547436032001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754996510426329088}} 
[2026-10-05 17:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":204723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:21:11] local.INFO: GPS data processed {"connection_id":204723,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:21:11] local.INFO: Acknowledgment sent {"connection_id":204723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:21:12] local.INFO: TCP Data received {"connection_id":206246,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10be528d0012d79e3c005e49278000801142e..."} 
[2026-10-05 17:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be528d0012d79e3c005e49278000801142e..."} 
[2026-10-05 17:21:12] local.INFO: Processing buffer {"connection_id":206246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be528d0012d79e3c005e49278000801142e..."} 
[2026-10-05 17:21:12] local.INFO: Packet analysis {"connection_id":206246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be5"} 
[2026-10-05 17:21:12] local.INFO: Extracted packet for processing {"connection_id":206246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be5"} 
[2026-10-05 17:21:12] local.INFO: GPS Element Parsed {"raw_longitude":762962880,"raw_latitude":98865784,"longitude_deg":76.296288,"latitude_deg":9.8865784,"altitude":8,"angle":276,"satellites":46,"speed":11,"hex_longitude":"2d79e3c0","hex_latitude":"05e49278","is_valid_coordinates":true} 
[2026-10-05 17:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547437056001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139757703235895296,"note":"Value kept but may cause issues"} 
[2026-10-05 17:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784693310961004544,"note":"Value kept but may cause issues"} 
[2026-10-05 17:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791200930000,"timestamp_ms":1791200930000,"timestamp_seconds":1791200930,"priority":1,"record_length":96,"hex_timestamp":"000001a10be528d0"} 
[2026-10-05 17:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-10-05 17:21:12] 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-10-05 17:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":206246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":206246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":206246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:21: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-10-05 17:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547437056001,"66":13450,"145":206,"87":12288,"24":11,"16":139757703235895296,"45":8784693310961004544},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 17:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547437056001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:21:12] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 17:21:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 17:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139757703235895296,"km_value":139757703235895.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784693310961004544,"description":"Unknown IO ID 45"} 
[2026-10-05 17:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547437056001,"power":13450,"unknown_145":206,"unknown_87":12288,"ignition":11,"odometer":null,"unknown_45":8784693310961004544}} 
[2026-10-05 17:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":206246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:21:12] local.INFO: GPS data processed {"connection_id":206246,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:21:12] local.INFO: Acknowledgment sent {"connection_id":206246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:21:30] local.INFO: TCP Data received {"connection_id":207789,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:21:30] local.INFO: Processing buffer {"connection_id":207789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:21:30] local.INFO: IMEI packet received {"connection_id":207789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":207789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:21:32] local.INFO: TCP Data received {"connection_id":206247,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:21:32] local.INFO: Processing buffer {"connection_id":206247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:21:32] local.INFO: Packet analysis {"connection_id":206247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be6"} 
[2026-10-05 17:21:32] local.INFO: Extracted packet for processing {"connection_id":206247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be6"} 
[2026-10-05 17:21:32] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":14,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547382272001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791201013000,"timestamp_ms":1791201013000,"timestamp_seconds":1791201013,"priority":1,"record_length":96,"hex_timestamp":"000001a10be66d08"} 
[2026-10-05 17:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 17:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547382272001,"66":26169,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547382272001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:21:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:21:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547382272001,"power":26169,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":206247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:21:32] local.INFO: GPS data processed {"connection_id":206247,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:21:32] local.INFO: Acknowledgment sent {"connection_id":206247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:21:34] local.INFO: TCP Data received {"connection_id":207790,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207790,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:21:34] local.INFO: Processing buffer {"connection_id":207790,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:21:34] local.INFO: IMEI packet received {"connection_id":207790,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 17:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":207790,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:21:35] local.INFO: TCP Data received {"connection_id":207789,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:21:35] local.INFO: Processing buffer {"connection_id":207789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:21:35] local.INFO: IMEI packet received {"connection_id":207789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":207789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:21:36] local.INFO: TCP Data received {"connection_id":207789,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10be52cb8012d79e28005e49300000801302e..."} 
[2026-10-05 17:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be52cb8012d79e28005e49300000801302e..."} 
[2026-10-05 17:21:36] local.INFO: Processing buffer {"connection_id":207789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be52cb8012d79e28005e49300000801302e..."} 
[2026-10-05 17:21:36] local.INFO: Packet analysis {"connection_id":207789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be5"} 
[2026-10-05 17:21:36] local.INFO: Extracted packet for processing {"connection_id":207789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be5"} 
[2026-10-05 17:21:36] local.INFO: GPS Element Parsed {"raw_longitude":762962560,"raw_latitude":98865920,"longitude_deg":76.296256,"latitude_deg":9.886592,"altitude":8,"angle":304,"satellites":46,"speed":13,"hex_longitude":"2d79e280","hex_latitude":"05e49300","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547438080001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139757720415764480,"note":"Value kept but may cause issues"} 
[2026-10-05 17:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783074829844772864,"note":"Value kept but may cause issues"} 
[2026-10-05 17:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791200931000,"timestamp_ms":1791200931000,"timestamp_seconds":1791200931,"priority":1,"record_length":96,"hex_timestamp":"000001a10be52cb8"} 
[2026-10-05 17:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 17:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:21: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-10-05 17:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547438080001,"66":13450,"145":206,"87":12288,"24":13,"16":139757720415764480,"45":8783074829844772864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 17:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547438080001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:21:36] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 17:21:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 17:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139757720415764480,"km_value":139757720415764.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783074829844772864,"description":"Unknown IO ID 45"} 
[2026-10-05 17:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547438080001,"power":13450,"unknown_145":206,"unknown_87":12288,"ignition":13,"odometer":null,"unknown_45":8783074829844772864}} 
[2026-10-05 17:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":207789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968832,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:21:36] local.INFO: GPS data processed {"connection_id":207789,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:21:36] local.INFO: Acknowledgment sent {"connection_id":207789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:21:41] local.INFO: TCP Data received {"connection_id":204723,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10be5ada0012d185b00072202f0004f00dc2a..."} 
[2026-10-05 17:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be5ada0012d185b00072202f0004f00dc2a..."} 
[2026-10-05 17:21:41] local.INFO: Processing buffer {"connection_id":204723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be5ada0012d185b00072202f0004f00dc2a..."} 
[2026-10-05 17:21:41] local.INFO: Packet analysis {"connection_id":204723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be5"} 
[2026-10-05 17:21:41] local.INFO: Extracted packet for processing {"connection_id":204723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be5"} 
[2026-10-05 17:21:41] local.INFO: GPS Element Parsed {"raw_longitude":756570880,"raw_latitude":119669488,"longitude_deg":75.657088,"latitude_deg":11.9669488,"altitude":79,"angle":220,"satellites":42,"speed":0,"hex_longitude":"2d185b00","hex_latitude":"072202f0","is_valid_coordinates":true} 
[2026-10-05 17:21: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-10-05 17:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547441408001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25198976852557824,"note":"Value kept but may cause issues"} 
[2026-10-05 17:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754996510426329088,"note":"Value kept but may cause issues"} 
[2026-10-05 17:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791200964000,"timestamp_ms":1791200964000,"timestamp_seconds":1791200964,"priority":1,"record_length":96,"hex_timestamp":"000001a10be5ada0"} 
[2026-10-05 17:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:21: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-10-05 17:21: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":41,"data_length":795,"current_offset":136} 
[2026-10-05 17:21:41] 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-10-05 17:21: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-10-05 17:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:21:41] 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-10-05 17:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547441408001,"66":12809,"105":206,"83":41984,"24":0,"16":25198976852557824,"45":1754996510426329088},"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-10-05 17:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547441408001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:21:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 17:21:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25198976852557824,"km_value":25198976852557.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754996510426329088,"description":"Unknown IO ID 45"} 
[2026-10-05 17:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547441408001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754996510426329088}} 
[2026-10-05 17:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":204723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:21:41] local.INFO: GPS data processed {"connection_id":204723,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:21:41] local.INFO: Acknowledgment sent {"connection_id":204723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:21:54] local.INFO: TCP Data received {"connection_id":206248,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:21:54] local.INFO: Processing buffer {"connection_id":206248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:21:54] local.INFO: IMEI packet received {"connection_id":206248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":206248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:21:59] local.INFO: TCP Data received {"connection_id":206248,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:21:59] local.INFO: Processing buffer {"connection_id":206248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:21:59] local.INFO: IMEI packet received {"connection_id":206248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":206248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:22:00] local.INFO: TCP Data received {"connection_id":206248,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:22:00] local.INFO: Processing buffer {"connection_id":206248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:22:00] local.INFO: Packet analysis {"connection_id":206248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be6"} 
[2026-10-05 17:22:00] local.INFO: Extracted packet for processing {"connection_id":206248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be6"} 
[2026-10-05 17:22:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":14,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547382272001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791201013000,"timestamp_ms":1791201013000,"timestamp_seconds":1791201013,"priority":1,"record_length":96,"hex_timestamp":"000001a10be66d08"} 
[2026-10-05 17:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 17:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:22: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-10-05 17:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547382272001,"66":26169,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547382272001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:22:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:22:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547382272001,"power":26169,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":206248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:22:00] local.INFO: GPS data processed {"connection_id":206248,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:22:00] local.INFO: Acknowledgment sent {"connection_id":206248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:22:05] local.INFO: TCP Data received {"connection_id":207791,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:22:05] local.INFO: Processing buffer {"connection_id":207791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:22:05] local.INFO: IMEI packet received {"connection_id":207791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":207791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:22:07] local.INFO: TCP Data received {"connection_id":207789,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10be530a0012d79e20005e493f80008015c2e..."} 
[2026-10-05 17:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be530a0012d79e20005e493f80008015c2e..."} 
[2026-10-05 17:22:07] local.INFO: Processing buffer {"connection_id":207789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be530a0012d79e20005e493f80008015c2e..."} 
[2026-10-05 17:22:07] local.INFO: Packet analysis {"connection_id":207789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be5"} 
[2026-10-05 17:22:07] local.INFO: Extracted packet for processing {"connection_id":207789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be5"} 
[2026-10-05 17:22:07] local.INFO: GPS Element Parsed {"raw_longitude":762962432,"raw_latitude":98866168,"longitude_deg":76.2962432,"latitude_deg":9.8866168,"altitude":8,"angle":348,"satellites":46,"speed":10,"hex_longitude":"2d79e200","hex_latitude":"05e493f8","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547438336001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139757733300666368,"note":"Value kept but may cause issues"} 
[2026-10-05 17:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782722986123919360,"note":"Value kept but may cause issues"} 
[2026-10-05 17:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791200932000,"timestamp_ms":1791200932000,"timestamp_seconds":1791200932,"priority":1,"record_length":96,"hex_timestamp":"000001a10be530a0"} 
[2026-10-05 17:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 17:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:22:07] 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-10-05 17:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547438336001,"66":13450,"145":206,"87":12288,"24":10,"16":139757733300666368,"45":8782722986123919360},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 17:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547438336001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:22:07] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 17:22:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 17:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139757733300666368,"km_value":139757733300666.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782722986123919360,"description":"Unknown IO ID 45"} 
[2026-10-05 17:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547438336001,"power":13450,"unknown_145":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8782722986123919360}} 
[2026-10-05 17:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":207789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968835,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:22:07] local.INFO: GPS data processed {"connection_id":207789,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:22:07] local.INFO: Acknowledgment sent {"connection_id":207789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:22:08] local.INFO: TCP Data received {"connection_id":207791,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:22:08] local.INFO: Processing buffer {"connection_id":207791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:22:08] local.INFO: IMEI packet received {"connection_id":207791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":207791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:22:09] local.INFO: TCP Data received {"connection_id":207791,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10be5ffa8012d185b00072202f0004f00dc2c..."} 
[2026-10-05 17:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be5ffa8012d185b00072202f0004f00dc2c..."} 
[2026-10-05 17:22:09] local.INFO: Processing buffer {"connection_id":207791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be5ffa8012d185b00072202f0004f00dc2c..."} 
[2026-10-05 17:22:09] local.INFO: Packet analysis {"connection_id":207791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be5"} 
[2026-10-05 17:22:09] local.INFO: Extracted packet for processing {"connection_id":207791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be5"} 
[2026-10-05 17:22:09] local.INFO: GPS Element Parsed {"raw_longitude":756570880,"raw_latitude":119669488,"longitude_deg":75.657088,"latitude_deg":11.9669488,"altitude":79,"angle":220,"satellites":44,"speed":0,"hex_longitude":"2d185b00","hex_latitude":"072202f0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547446784001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25198976852557824,"note":"Value kept but may cause issues"} 
[2026-10-05 17:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754996510426329088,"note":"Value kept but may cause issues"} 
[2026-10-05 17:22: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-10-05 17:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791200985000,"timestamp_ms":1791200985000,"timestamp_seconds":1791200985,"priority":1,"record_length":96,"hex_timestamp":"000001a10be5ffa8"} 
[2026-10-05 17:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:22:09] 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-10-05 17: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-05 17:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":432345564395340800,"note":"Value kept but may cause issues"} 
[2026-10-05 17:22:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 17:22:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 17:22:09] local.WARNING: Large IO value detected {"io_id":11,"raw_value":-1992341452757640256,"note":"Value kept but may cause issues"} 
[2026-10-05 17:22:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-10-05 17:22:09] local.WARNING: Large IO value detected {"io_id":97,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-10-05 17:22:09] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-4539402567477572013,"note":"Value kept but may cause issues"} 
[2026-10-05 17:22:09] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2253651968,"note":"Value kept but may cause issues"} 
[2026-10-05 17:22:09] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2451242428196238636,"note":"Value kept but may cause issues"} 
[2026-10-05 17:22:09] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-10-05 17:22:09] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,134,161,91,45,2,79,42,10,66,9,183,1,240,85,227,11,34,4,113,205,3,97,128,239,50,89,7,5,164],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-10-05 17:22:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692792001943044096,"timestamp_seconds":5692792001943044.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 17:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":207791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":207791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":207791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:22: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-10-05 17:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547446784001,"66":12743,"105":206,"83":41984,"24":0,"16":25198976852557824,"45":1754996510426329088},"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-10-05 17:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547446784001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:22:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 17:22:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25198976852557824,"km_value":25198976852557.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754996510426329088,"description":"Unknown IO ID 45"} 
[2026-10-05 17:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547446784001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754996510426329088}} 
[2026-10-05 17:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":207791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:22:09] local.INFO: GPS data processed {"connection_id":207791,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:22:09] local.INFO: Acknowledgment sent {"connection_id":207791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:22:31] local.INFO: TCP Data received {"connection_id":206248,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:22:31] local.INFO: Processing buffer {"connection_id":206248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:22:31] local.INFO: Packet analysis {"connection_id":206248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be6"} 
[2026-10-05 17:22:31] local.INFO: Extracted packet for processing {"connection_id":206248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be6"} 
[2026-10-05 17:22:31] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":14,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547382272001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791201013000,"timestamp_ms":1791201013000,"timestamp_seconds":1791201013,"priority":1,"record_length":96,"hex_timestamp":"000001a10be66d08"} 
[2026-10-05 17:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 17:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547382272001,"66":26169,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547382272001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:22:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:22:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547382272001,"power":26169,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":206248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:22:31] local.INFO: GPS data processed {"connection_id":206248,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:22:31] local.INFO: Acknowledgment sent {"connection_id":206248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:22:36] local.INFO: TCP Data received {"connection_id":207792,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:22:36] local.INFO: Processing buffer {"connection_id":207792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:22:36] local.INFO: IMEI packet received {"connection_id":207792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":207792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:22:39] local.INFO: TCP Data received {"connection_id":207791,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10be651b0012d185b00072202f0004f00dc2c..."} 
[2026-10-05 17:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be651b0012d185b00072202f0004f00dc2c..."} 
[2026-10-05 17:22:39] local.INFO: Processing buffer {"connection_id":207791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be651b0012d185b00072202f0004f00dc2c..."} 
[2026-10-05 17:22:39] local.INFO: Packet analysis {"connection_id":207791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be6"} 
[2026-10-05 17:22:39] local.INFO: Extracted packet for processing {"connection_id":207791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be6"} 
[2026-10-05 17:22:39] local.INFO: GPS Element Parsed {"raw_longitude":756570880,"raw_latitude":119669488,"longitude_deg":75.657088,"latitude_deg":11.9669488,"altitude":79,"angle":220,"satellites":44,"speed":0,"hex_longitude":"2d185b00","hex_latitude":"072202f0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547452160001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25198976852557824,"note":"Value kept but may cause issues"} 
[2026-10-05 17:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754996510426329088,"note":"Value kept but may cause issues"} 
[2026-10-05 17:22: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-10-05 17:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791201006000,"timestamp_ms":1791201006000,"timestamp_seconds":1791201006,"priority":1,"record_length":96,"hex_timestamp":"000001a10be651b0"} 
[2026-10-05 17:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:22: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-10-05 17: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 17:22:39] 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-10-05 17: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-10-05 17:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":207791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":207791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":207791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:22:39] 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-10-05 17:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547452160001,"66":12722,"105":206,"83":41984,"24":0,"16":25198976852557824,"45":1754996510426329088},"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-10-05 17:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547452160001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:22:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 17:22:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25198976852557824,"km_value":25198976852557.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754996510426329088,"description":"Unknown IO ID 45"} 
[2026-10-05 17:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547452160001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754996510426329088}} 
[2026-10-05 17:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":207791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:22:39] local.INFO: GPS data processed {"connection_id":207791,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:22:39] local.INFO: Acknowledgment sent {"connection_id":207791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:22:40] local.INFO: TCP Data received {"connection_id":207792,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:22:40] local.INFO: Processing buffer {"connection_id":207792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:22:40] local.INFO: IMEI packet received {"connection_id":207792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":207792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:22:41] local.INFO: TCP Data received {"connection_id":207792,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10be55f80012d79e28005e48f88000800a72f..."} 
[2026-10-05 17:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be55f80012d79e28005e48f88000800a72f..."} 
[2026-10-05 17:22:41] local.INFO: Processing buffer {"connection_id":207792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be55f80012d79e28005e48f88000800a72f..."} 
[2026-10-05 17:22:41] local.INFO: Packet analysis {"connection_id":207792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be5"} 
[2026-10-05 17:22:41] local.INFO: Extracted packet for processing {"connection_id":207792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be5"} 
[2026-10-05 17:22:41] local.INFO: GPS Element Parsed {"raw_longitude":762962560,"raw_latitude":98865032,"longitude_deg":76.296256,"latitude_deg":9.8865032,"altitude":8,"angle":167,"satellites":47,"speed":5,"hex_longitude":"2d79e280","hex_latitude":"05e48f88","is_valid_coordinates":true} 
[2026-10-05 17:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547438592001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139757806315110400,"note":"Value kept but may cause issues"} 
[2026-10-05 17:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782582248635627520,"note":"Value kept but may cause issues"} 
[2026-10-05 17:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791200944000,"timestamp_ms":1791200944000,"timestamp_seconds":1791200944,"priority":1,"record_length":96,"hex_timestamp":"000001a10be55f80"} 
[2026-10-05 17:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 17:22:41] 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-10-05 17:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":207792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":207792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":207792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547438592001,"66":13330,"145":206,"87":12288,"24":5,"16":139757806315110400,"45":8782582248635627520},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 17:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547438592001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:22:41] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 17:22:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 17:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139757806315110400,"km_value":139757806315110.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782582248635627520,"description":"Unknown IO ID 45"} 
[2026-10-05 17:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547438592001,"power":13330,"unknown_145":206,"unknown_87":12288,"ignition":5,"odometer":null,"unknown_45":8782582248635627520}} 
[2026-10-05 17:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":207792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:22:41] local.INFO: GPS data processed {"connection_id":207792,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:22:41] local.INFO: Acknowledgment sent {"connection_id":207792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:22:54] local.INFO: TCP Data received {"connection_id":204846,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:22:54] local.INFO: Processing buffer {"connection_id":204846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:22:54] local.INFO: IMEI packet received {"connection_id":204846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":204846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:22:59] local.INFO: TCP Data received {"connection_id":204846,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:22:59] local.INFO: Processing buffer {"connection_id":204846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:22:59] local.INFO: IMEI packet received {"connection_id":204846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":204846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:23:01] local.INFO: TCP Data received {"connection_id":204846,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:23:01] local.INFO: Processing buffer {"connection_id":204846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:23:01] local.INFO: Packet analysis {"connection_id":204846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be6"} 
[2026-10-05 17:23:01] local.INFO: Extracted packet for processing {"connection_id":204846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be6"} 
[2026-10-05 17:23:01] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":14,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547382272001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791201013000,"timestamp_ms":1791201013000,"timestamp_seconds":1791201013,"priority":1,"record_length":96,"hex_timestamp":"000001a10be66d08"} 
[2026-10-05 17:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 17:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547382272001,"66":26169,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547382272001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:23:01] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:23:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547382272001,"power":26169,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":204846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:23:01] local.INFO: GPS data processed {"connection_id":204846,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:23:01] local.INFO: Acknowledgment sent {"connection_id":204846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:23:05] local.INFO: TCP Data received {"connection_id":204847,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:23:05] local.INFO: Processing buffer {"connection_id":204847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:23:05] local.INFO: IMEI packet received {"connection_id":204847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":204847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:23:10] local.INFO: TCP Data received {"connection_id":204847,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:23:10] local.INFO: Processing buffer {"connection_id":204847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:23:10] local.INFO: IMEI packet received {"connection_id":204847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":204847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:23:11] local.INFO: TCP Data received {"connection_id":204847,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10be6a3b8012d185b00072202f0004f00dc2b..."} 
[2026-10-05 17:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be6a3b8012d185b00072202f0004f00dc2b..."} 
[2026-10-05 17:23:11] local.INFO: Processing buffer {"connection_id":204847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be6a3b8012d185b00072202f0004f00dc2b..."} 
[2026-10-05 17:23:11] local.INFO: Packet analysis {"connection_id":204847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be6"} 
[2026-10-05 17:23:11] local.INFO: Extracted packet for processing {"connection_id":204847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be6"} 
[2026-10-05 17:23:11] local.INFO: GPS Element Parsed {"raw_longitude":756570880,"raw_latitude":119669488,"longitude_deg":75.657088,"latitude_deg":11.9669488,"altitude":79,"angle":220,"satellites":43,"speed":0,"hex_longitude":"2d185b00","hex_latitude":"072202f0","is_valid_coordinates":true} 
[2026-10-05 17:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547457536001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25198976852557824,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754996510426329088,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23: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-10-05 17:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791201027000,"timestamp_ms":1791201027000,"timestamp_seconds":1791201027,"priority":1,"record_length":96,"hex_timestamp":"000001a10be6a3b8"} 
[2026-10-05 17:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:23:11] 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-10-05 17:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 17:23:11] 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-10-05 17:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:23:11] 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-10-05 17:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547457536001,"66":12711,"105":206,"83":41984,"24":0,"16":25198976852557824,"45":1754996510426329088},"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-10-05 17:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547457536001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:23:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 17:23:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25198976852557824,"km_value":25198976852557.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754996510426329088,"description":"Unknown IO ID 45"} 
[2026-10-05 17:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547457536001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754996510426329088}} 
[2026-10-05 17:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":204847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:23:11] local.INFO: GPS data processed {"connection_id":204847,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:23:11] local.INFO: Acknowledgment sent {"connection_id":204847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:23:13] local.INFO: TCP Data received {"connection_id":207792,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10be57ec0012d79e2c005e48b08000800af2e..."} 
[2026-10-05 17:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be57ec0012d79e2c005e48b08000800af2e..."} 
[2026-10-05 17:23:13] local.INFO: Processing buffer {"connection_id":207792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be57ec0012d79e2c005e48b08000800af2e..."} 
[2026-10-05 17:23:13] local.INFO: Packet analysis {"connection_id":207792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be5"} 
[2026-10-05 17:23:13] local.INFO: Extracted packet for processing {"connection_id":207792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be5"} 
[2026-10-05 17:23:13] local.INFO: GPS Element Parsed {"raw_longitude":762962624,"raw_latitude":98863880,"longitude_deg":76.2962624,"latitude_deg":9.886388,"altitude":8,"angle":175,"satellites":46,"speed":3,"hex_longitude":"2d79e2c0","hex_latitude":"05e48b08","is_valid_coordinates":true} 
[2026-10-05 17:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547441664001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139757862149685248,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782722986123692032,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791200952000,"timestamp_ms":1791200952000,"timestamp_seconds":1791200952,"priority":1,"record_length":96,"hex_timestamp":"000001a10be57ec0"} 
[2026-10-05 17:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:23:13] 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-10-05 17:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-10-05 17:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:13] local.WARNING: Large IO value detected {"io_id":132,"raw_value":3825205248,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3276926181406186432,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:13] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2227765248,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:13] local.WARNING: Large IO value detected {"io_id":228,"raw_value":-7282320558787449344,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1787887822,"corrected_to":0} 
[2026-10-05 17:23:13] local.WARNING: Large IO value detected {"io_id":253,"raw_value":3623955833,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:13] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728682,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3835340800,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:13] local.WARNING: Large IO value detected {"io_id":137,"raw_value":57819541242009392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:13] local.WARNING: Large IO value detected {"io_id":6,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:13] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-7998166064347211776,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:13] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:13] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,145,87,24,241,157,16,132,161,48,45,147,8,46,10,66,44,128,40,192,1,240,138,227,11,228,4,113,205,15,253,236,168,239,52,2,5,137,6,106,91],"length":626,"final_offset":756,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1787887822,"validated":0}]} 
[2026-10-05 17:23:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576644572609052672,"timestamp_seconds":576644572609052.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 17:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":207792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":207792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":207792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:23:13] 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-10-05 17:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547441664001,"66":13417,"145":206,"87":12288,"24":3,"16":139757862149685248,"45":8782722986123692032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 17:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547441664001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:23:13] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 17:23:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 17:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139757862149685248,"km_value":139757862149685.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782722986123692032,"description":"Unknown IO ID 45"} 
[2026-10-05 17:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547441664001,"power":13417,"unknown_145":206,"unknown_87":12288,"ignition":3,"odometer":null,"unknown_45":8782722986123692032}} 
[2026-10-05 17:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":207792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:23:13] local.INFO: GPS data processed {"connection_id":207792,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:23:13] local.INFO: Acknowledgment sent {"connection_id":207792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:23:32] local.INFO: TCP Data received {"connection_id":204846,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:23:32] local.INFO: Processing buffer {"connection_id":204846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:23:32] local.INFO: Packet analysis {"connection_id":204846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be6"} 
[2026-10-05 17:23:32] local.INFO: Extracted packet for processing {"connection_id":204846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be6"} 
[2026-10-05 17:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":14,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547382272001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791201013000,"timestamp_ms":1791201013000,"timestamp_seconds":1791201013,"priority":1,"record_length":96,"hex_timestamp":"000001a10be66d08"} 
[2026-10-05 17:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 17:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547382272001,"66":26169,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547382272001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:23:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:23:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547382272001,"power":26169,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":204846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:23:32] local.INFO: GPS data processed {"connection_id":204846,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:23:32] local.INFO: Acknowledgment sent {"connection_id":204846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:23:35] local.INFO: TCP Data received {"connection_id":204848,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:23:35] local.INFO: Processing buffer {"connection_id":204848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:23:35] local.INFO: IMEI packet received {"connection_id":204848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":204848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:23:40] local.INFO: TCP Data received {"connection_id":204848,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:23:40] local.INFO: Processing buffer {"connection_id":204848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:23:40] local.INFO: IMEI packet received {"connection_id":204848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":204848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:23:41] local.INFO: TCP Data received {"connection_id":204848,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10be57ec0012d79e2c005e48b08000800af2e..."} 
[2026-10-05 17:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be57ec0012d79e2c005e48b08000800af2e..."} 
[2026-10-05 17:23:41] local.INFO: Processing buffer {"connection_id":204848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be57ec0012d79e2c005e48b08000800af2e..."} 
[2026-10-05 17:23:41] local.INFO: Packet analysis {"connection_id":204848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be5"} 
[2026-10-05 17:23:41] local.INFO: Extracted packet for processing {"connection_id":204848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be5"} 
[2026-10-05 17:23:41] local.INFO: GPS Element Parsed {"raw_longitude":762962624,"raw_latitude":98863880,"longitude_deg":76.2962624,"latitude_deg":9.886388,"altitude":8,"angle":175,"satellites":46,"speed":3,"hex_longitude":"2d79e2c0","hex_latitude":"05e48b08","is_valid_coordinates":true} 
[2026-10-05 17:23:41] 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-10-05 17:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547443712001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139757862149685248,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782793354867574784,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791200952000,"timestamp_ms":1791200952000,"timestamp_seconds":1791200952,"priority":1,"record_length":96,"hex_timestamp":"000001a10be57ec0"} 
[2026-10-05 17:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:23: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":105,"data_length":795,"current_offset":136} 
[2026-10-05 17:23:41] 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-10-05 17:23: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-10-05 17:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547443712001,"66":13417,"145":206,"87":12288,"24":3,"16":139757862149685248,"45":8782793354867574784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 17:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547443712001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:23:41] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 17:23:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 17:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139757862149685248,"km_value":139757862149685.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782793354867574784,"description":"Unknown IO ID 45"} 
[2026-10-05 17:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547443712001,"power":13417,"unknown_145":206,"unknown_87":12288,"ignition":3,"odometer":null,"unknown_45":8782793354867574784}} 
[2026-10-05 17:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":204848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:23:41] local.INFO: GPS data processed {"connection_id":204848,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:23:41] local.INFO: Acknowledgment sent {"connection_id":204848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:23:41] local.INFO: TCP Data received {"connection_id":204847,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10be6f5c0012d185b00072202f0004f00dc2c..."} 
[2026-10-05 17:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be6f5c0012d185b00072202f0004f00dc2c..."} 
[2026-10-05 17:23:41] local.INFO: Processing buffer {"connection_id":204847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be6f5c0012d185b00072202f0004f00dc2c..."} 
[2026-10-05 17:23:41] local.INFO: Packet analysis {"connection_id":204847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be6"} 
[2026-10-05 17:23:41] local.INFO: Extracted packet for processing {"connection_id":204847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be6"} 
[2026-10-05 17:23:41] local.INFO: GPS Element Parsed {"raw_longitude":756570880,"raw_latitude":119669488,"longitude_deg":75.657088,"latitude_deg":11.9669488,"altitude":79,"angle":220,"satellites":44,"speed":0,"hex_longitude":"2d185b00","hex_latitude":"072202f0","is_valid_coordinates":true} 
[2026-10-05 17:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547462912001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25198976852557824,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754996510426329088,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791201048000,"timestamp_ms":1791201048000,"timestamp_seconds":1791201048,"priority":1,"record_length":96,"hex_timestamp":"000001a10be6f5c0"} 
[2026-10-05 17:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:23:41] 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-10-05 17:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-05 17:23:41] 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-10-05 17:23: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-10-05 17:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:23:41] 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-10-05 17:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547462912001,"66":12678,"105":206,"83":41984,"24":0,"16":25198976852557824,"45":1754996510426329088},"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-10-05 17:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547462912001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:23:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 17:23:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25198976852557824,"km_value":25198976852557.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754996510426329088,"description":"Unknown IO ID 45"} 
[2026-10-05 17:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547462912001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754996510426329088}} 
[2026-10-05 17:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":204847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:23:41] local.INFO: GPS data processed {"connection_id":204847,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:23:41] local.INFO: Acknowledgment sent {"connection_id":204847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:23:46] local.INFO: TCP Data received {"connection_id":204848,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10be57ec0012d79e2c005e48b08000800af2e..."} 
[2026-10-05 17:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be57ec0012d79e2c005e48b08000800af2e..."} 
[2026-10-05 17:23:46] local.INFO: Processing buffer {"connection_id":204848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be57ec0012d79e2c005e48b08000800af2e..."} 
[2026-10-05 17:23:46] local.INFO: Packet analysis {"connection_id":204848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be5"} 
[2026-10-05 17:23:46] local.INFO: Extracted packet for processing {"connection_id":204848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be5"} 
[2026-10-05 17:23:46] local.INFO: GPS Element Parsed {"raw_longitude":762962624,"raw_latitude":98863880,"longitude_deg":76.2962624,"latitude_deg":9.886388,"altitude":8,"angle":175,"satellites":46,"speed":3,"hex_longitude":"2d79e2c0","hex_latitude":"05e48b08","is_valid_coordinates":true} 
[2026-10-05 17:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547443712001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139757862149685248,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782793354867574784,"note":"Value kept but may cause issues"} 
[2026-10-05 17:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791200952000,"timestamp_ms":1791200952000,"timestamp_seconds":1791200952,"priority":1,"record_length":96,"hex_timestamp":"000001a10be57ec0"} 
[2026-10-05 17:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-10-05 17:23:46] 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-10-05 17:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:23:46] 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-10-05 17:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547443712001,"66":13417,"145":206,"87":12288,"24":3,"16":139757862149685248,"45":8782793354867574784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 17:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547443712001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:23:46] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 17:23:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 17:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139757862149685248,"km_value":139757862149685.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782793354867574784,"description":"Unknown IO ID 45"} 
[2026-10-05 17:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547443712001,"power":13417,"unknown_145":206,"unknown_87":12288,"ignition":3,"odometer":null,"unknown_45":8782793354867574784}} 
[2026-10-05 17:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":204848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:23:46] local.INFO: GPS data processed {"connection_id":204848,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:23:46] local.INFO: Acknowledgment sent {"connection_id":204848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:23:59] local.INFO: TCP Data received {"connection_id":204849,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:23:59] local.INFO: Processing buffer {"connection_id":204849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:23:59] local.INFO: IMEI packet received {"connection_id":204849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":204849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:24:04] local.INFO: TCP Data received {"connection_id":204849,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:24:04] local.INFO: Processing buffer {"connection_id":204849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:24:04] local.INFO: IMEI packet received {"connection_id":204849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":204849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:24:04] local.INFO: TCP Data received {"connection_id":207794,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:24:04] local.INFO: Processing buffer {"connection_id":207794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:24:04] local.INFO: IMEI packet received {"connection_id":207794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":207794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:24:05] local.INFO: TCP Data received {"connection_id":207794,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:24:05] local.INFO: Processing buffer {"connection_id":207794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:24:05] local.INFO: IMEI packet received {"connection_id":207794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":207794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:24:05] local.INFO: TCP Data received {"connection_id":204849,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:24:05] local.INFO: Processing buffer {"connection_id":204849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:24:05] local.INFO: Packet analysis {"connection_id":204849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be6"} 
[2026-10-05 17:24:05] local.INFO: Extracted packet for processing {"connection_id":204849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be6"} 
[2026-10-05 17:24:05] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":14,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547382272001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791201013000,"timestamp_ms":1791201013000,"timestamp_seconds":1791201013,"priority":1,"record_length":96,"hex_timestamp":"000001a10be66d08"} 
[2026-10-05 17:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:24: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-10-05 17:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 17:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547382272001,"66":26169,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547382272001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:24:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:24:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547382272001,"power":26169,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":204849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:24:05] local.INFO: GPS data processed {"connection_id":204849,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:24:05] local.INFO: Acknowledgment sent {"connection_id":204849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:24:09] local.INFO: TCP Data received {"connection_id":207794,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:24:09] local.INFO: Processing buffer {"connection_id":207794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:24:09] local.INFO: IMEI packet received {"connection_id":207794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":207794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:24:10] local.INFO: TCP Data received {"connection_id":204849,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:24:10] local.INFO: Processing buffer {"connection_id":204849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:24:10] local.INFO: Packet analysis {"connection_id":204849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be6"} 
[2026-10-05 17:24:10] local.INFO: Extracted packet for processing {"connection_id":204849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be6"} 
[2026-10-05 17:24:10] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":14,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547382272001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791201013000,"timestamp_ms":1791201013000,"timestamp_seconds":1791201013,"priority":1,"record_length":96,"hex_timestamp":"000001a10be66d08"} 
[2026-10-05 17:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 17:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:24:10] 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-10-05 17:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547382272001,"66":26169,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547382272001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:24:10] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:24:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547382272001,"power":26169,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":204849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:24:10] local.INFO: GPS data processed {"connection_id":204849,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:24:10] local.INFO: Acknowledgment sent {"connection_id":204849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:24:10] local.INFO: TCP Data received {"connection_id":207794,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10be747c8012d185b00072202f0004f00dc2a..."} 
[2026-10-05 17:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be747c8012d185b00072202f0004f00dc2a..."} 
[2026-10-05 17:24:10] local.INFO: Processing buffer {"connection_id":207794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be747c8012d185b00072202f0004f00dc2a..."} 
[2026-10-05 17:24:10] local.INFO: Packet analysis {"connection_id":207794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be7"} 
[2026-10-05 17:24:10] local.INFO: Extracted packet for processing {"connection_id":207794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be7"} 
[2026-10-05 17:24:10] local.INFO: GPS Element Parsed {"raw_longitude":756570880,"raw_latitude":119669488,"longitude_deg":75.657088,"latitude_deg":11.9669488,"altitude":79,"angle":220,"satellites":42,"speed":0,"hex_longitude":"2d185b00","hex_latitude":"072202f0","is_valid_coordinates":true} 
[2026-10-05 17:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547468288001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25198976852557824,"note":"Value kept but may cause issues"} 
[2026-10-05 17:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754996510426329088,"note":"Value kept but may cause issues"} 
[2026-10-05 17:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791201069000,"timestamp_ms":1791201069000,"timestamp_seconds":1791201069,"priority":1,"record_length":96,"hex_timestamp":"000001a10be747c8"} 
[2026-10-05 17:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:24:10] 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-10-05 17:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 17:24:10] 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-10-05 17:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:24:10] 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-10-05 17:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547468288001,"66":12667,"105":206,"83":41984,"24":0,"16":25198976852557824,"45":1754996510426329088},"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-10-05 17:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547468288001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:24:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 17:24:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25198976852557824,"km_value":25198976852557.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754996510426329088,"description":"Unknown IO ID 45"} 
[2026-10-05 17:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547468288001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754996510426329088}} 
[2026-10-05 17:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":207794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:24:10] local.INFO: GPS data processed {"connection_id":207794,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:24:10] local.INFO: Acknowledgment sent {"connection_id":207794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:24:30] local.INFO: TCP Data received {"connection_id":204850,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:24:30] local.INFO: Processing buffer {"connection_id":204850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:24:30] local.INFO: IMEI packet received {"connection_id":204850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":204850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:24:33] local.INFO: TCP Data received {"connection_id":204850,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:24:33] local.INFO: Processing buffer {"connection_id":204850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:24:33] local.INFO: IMEI packet received {"connection_id":204850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":204850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:24:35] local.INFO: TCP Data received {"connection_id":204850,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bea1a70012d79e14005e48aa0000800af2c..."} 
[2026-10-05 17:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bea1a70012d79e14005e48aa0000800af2c..."} 
[2026-10-05 17:24:35] local.INFO: Processing buffer {"connection_id":204850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bea1a70012d79e14005e48aa0000800af2c..."} 
[2026-10-05 17:24:35] local.INFO: Packet analysis {"connection_id":204850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bea"} 
[2026-10-05 17:24:35] local.INFO: Extracted packet for processing {"connection_id":204850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bea"} 
[2026-10-05 17:24:35] local.INFO: GPS Element Parsed {"raw_longitude":762962240,"raw_latitude":98863776,"longitude_deg":76.296224,"latitude_deg":9.8863776,"altitude":8,"angle":175,"satellites":44,"speed":0,"hex_longitude":"2d79e140","hex_latitude":"05e48aa0","is_valid_coordinates":true} 
[2026-10-05 17:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547443712001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139757862149685248,"note":"Value kept but may cause issues"} 
[2026-10-05 17:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782793354867574784,"note":"Value kept but may cause issues"} 
[2026-10-05 17:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791201254000,"timestamp_ms":1791201254000,"timestamp_seconds":1791201254,"priority":1,"record_length":96,"hex_timestamp":"000001a10bea1a70"} 
[2026-10-05 17:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-10-05 17:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":204850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":204850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":204850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:24:35] 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-10-05 17:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547443712001,"66":13254,"21":206,"87":13824,"24":0,"16":139757862149685248,"45":8782793354867574784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,87,24,16,45]} 
[2026-10-05 17:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547443712001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:24:35] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-05 17:24:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 17:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139757862149685248,"km_value":139757862149685.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782793354867574784,"description":"Unknown IO ID 45"} 
[2026-10-05 17:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547443712001,"power":13254,"unknown_21":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8782793354867574784}} 
[2026-10-05 17:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":204850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:24:35] local.INFO: GPS data processed {"connection_id":204850,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:24:35] local.INFO: Acknowledgment sent {"connection_id":204850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:24:41] local.INFO: TCP Data received {"connection_id":207794,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10be9dbf0012d18318007219790004a008a2a..."} 
[2026-10-05 17:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be9dbf0012d18318007219790004a008a2a..."} 
[2026-10-05 17:24:41] local.INFO: Processing buffer {"connection_id":207794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be9dbf0012d18318007219790004a008a2a..."} 
[2026-10-05 17:24:41] local.INFO: Packet analysis {"connection_id":207794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be9"} 
[2026-10-05 17:24:41] local.INFO: Extracted packet for processing {"connection_id":207794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be9"} 
[2026-10-05 17:24:41] local.INFO: GPS Element Parsed {"raw_longitude":756560256,"raw_latitude":119642000,"longitude_deg":75.6560256,"latitude_deg":11.9642,"altitude":74,"angle":138,"satellites":42,"speed":6,"hex_longitude":"2d183180","hex_latitude":"07219790","is_valid_coordinates":true} 
[2026-10-05 17:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547516416001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25200647594835968,"note":"Value kept but may cause issues"} 
[2026-10-05 17:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742963455164989440,"note":"Value kept but may cause issues"} 
[2026-10-05 17:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791201238000,"timestamp_ms":1791201238000,"timestamp_seconds":1791201238,"priority":1,"record_length":96,"hex_timestamp":"000001a10be9dbf0"} 
[2026-10-05 17:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:24: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-10-05 17:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-10-05 17:24:41] 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-10-05 17:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":207794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":207794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":207794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:24:41] 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-10-05 17:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547516416001,"66":12972,"105":206,"83":41984,"24":6,"16":25200647594835968,"45":1742963455164989440},"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-10-05 17:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547516416001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:24:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 17:24:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25200647594835968,"km_value":25200647594835.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742963455164989440,"description":"Unknown IO ID 45"} 
[2026-10-05 17:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547516416001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1742963455164989440}} 
[2026-10-05 17:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":207794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:24:41] local.INFO: GPS data processed {"connection_id":207794,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:24:41] local.INFO: Acknowledgment sent {"connection_id":207794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:24:54] local.INFO: TCP Data received {"connection_id":206249,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:24:54] local.INFO: Processing buffer {"connection_id":206249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:24:54] local.INFO: IMEI packet received {"connection_id":206249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":206249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:24:59] local.INFO: TCP Data received {"connection_id":206249,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:24:59] local.INFO: Processing buffer {"connection_id":206249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:24:59] local.INFO: IMEI packet received {"connection_id":206249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":206249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:25:00] local.INFO: TCP Data received {"connection_id":206249,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:25:00] local.INFO: Processing buffer {"connection_id":206249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:25:00] local.INFO: Packet analysis {"connection_id":206249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be6"} 
[2026-10-05 17:25:00] local.INFO: Extracted packet for processing {"connection_id":206249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be6"} 
[2026-10-05 17:25:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":14,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547382272001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791201013000,"timestamp_ms":1791201013000,"timestamp_seconds":1791201013,"priority":1,"record_length":96,"hex_timestamp":"000001a10be66d08"} 
[2026-10-05 17:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 17:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:25: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-10-05 17:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547382272001,"66":26169,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547382272001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:25:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:25:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547382272001,"power":26169,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":206249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:25:00] local.INFO: GPS data processed {"connection_id":206249,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:25:00] local.INFO: Acknowledgment sent {"connection_id":206249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:25:07] local.INFO: TCP Data received {"connection_id":204724,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:25:07] local.INFO: Processing buffer {"connection_id":204724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:25:07] local.INFO: IMEI packet received {"connection_id":204724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":204724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:25:09] local.INFO: TCP Data received {"connection_id":204724,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:25:09] local.INFO: Processing buffer {"connection_id":204724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:25:09] local.INFO: IMEI packet received {"connection_id":204724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":204724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:25:10] local.INFO: TCP Data received {"connection_id":204850,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bea2628012d79e14005e48aa0000800af2c..."} 
[2026-10-05 17:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bea2628012d79e14005e48aa0000800af2c..."} 
[2026-10-05 17:25:10] local.INFO: Processing buffer {"connection_id":204850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bea2628012d79e14005e48aa0000800af2c..."} 
[2026-10-05 17:25:10] local.INFO: Packet analysis {"connection_id":204850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bea"} 
[2026-10-05 17:25:10] local.INFO: Extracted packet for processing {"connection_id":204850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bea"} 
[2026-10-05 17:25:10] local.INFO: GPS Element Parsed {"raw_longitude":762962240,"raw_latitude":98863776,"longitude_deg":76.296224,"latitude_deg":9.8863776,"altitude":8,"angle":175,"satellites":44,"speed":0,"hex_longitude":"2d79e140","hex_latitude":"05e48aa0","is_valid_coordinates":true} 
[2026-10-05 17:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547521024001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139757862149685248,"note":"Value kept but may cause issues"} 
[2026-10-05 17:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782371142402482176,"note":"Value kept but may cause issues"} 
[2026-10-05 17:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791201257000,"timestamp_ms":1791201257000,"timestamp_seconds":1791201257,"priority":1,"record_length":96,"hex_timestamp":"000001a10bea2628"} 
[2026-10-05 17:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:25: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-10-05 17: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-10-05 17:25:10] 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-10-05 17: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-10-05 17:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17: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-10-05 17:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547521024001,"66":13254,"21":206,"87":13824,"24":0,"16":139757862149685248,"45":8782371142402482176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,87,24,16,45]} 
[2026-10-05 17:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547521024001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:25:10] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-05 17:25:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 17:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139757862149685248,"km_value":139757862149685.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782371142402482176,"description":"Unknown IO ID 45"} 
[2026-10-05 17:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547521024001,"power":13254,"unknown_21":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8782371142402482176}} 
[2026-10-05 17:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":204850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968853,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:25:10] local.INFO: GPS data processed {"connection_id":204850,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:25:10] local.INFO: Acknowledgment sent {"connection_id":204850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:25:15] local.INFO: TCP Data received {"connection_id":204724,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:25:15] local.INFO: Processing buffer {"connection_id":204724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:25:15] local.INFO: IMEI packet received {"connection_id":204724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":204724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:25:16] local.INFO: TCP Data received {"connection_id":204724,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10be9dfd8012d18328007219718004b007d2a..."} 
[2026-10-05 17:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be9dfd8012d18328007219718004b007d2a..."} 
[2026-10-05 17:25:16] local.INFO: Processing buffer {"connection_id":204724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be9dfd8012d18328007219718004b007d2a..."} 
[2026-10-05 17:25:16] local.INFO: Packet analysis {"connection_id":204724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be9"} 
[2026-10-05 17:25:16] local.INFO: Extracted packet for processing {"connection_id":204724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be9"} 
[2026-10-05 17:25:16] local.INFO: GPS Element Parsed {"raw_longitude":756560512,"raw_latitude":119641880,"longitude_deg":75.6560512,"latitude_deg":11.964188,"altitude":75,"angle":125,"satellites":42,"speed":9,"hex_longitude":"2d183280","hex_latitude":"07219718","is_valid_coordinates":true} 
[2026-10-05 17:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547516928001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25200660479737856,"note":"Value kept but may cause issues"} 
[2026-10-05 17:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743315298885799936,"note":"Value kept but may cause issues"} 
[2026-10-05 17:25: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-10-05 17:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791201239000,"timestamp_ms":1791201239000,"timestamp_seconds":1791201239,"priority":1,"record_length":96,"hex_timestamp":"000001a10be9dfd8"} 
[2026-10-05 17:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 17:25:16] 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-10-05 17:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547516928001,"66":12972,"105":206,"83":41984,"24":9,"16":25200660479737856,"45":1743315298885799936},"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-10-05 17:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547516928001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:25:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 17:25:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25200660479737856,"km_value":25200660479737.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743315298885799936,"description":"Unknown IO ID 45"} 
[2026-10-05 17:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547516928001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1743315298885799936}} 
[2026-10-05 17:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":204724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:25:16] local.INFO: GPS data processed {"connection_id":204724,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:25:16] local.INFO: Acknowledgment sent {"connection_id":204724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:25:31] local.INFO: TCP Data received {"connection_id":206249,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:25:31] local.INFO: Processing buffer {"connection_id":206249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be66d08012d80af8006029ae0000e00d430..."} 
[2026-10-05 17:25:31] local.INFO: Packet analysis {"connection_id":206249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be6"} 
[2026-10-05 17:25:31] local.INFO: Extracted packet for processing {"connection_id":206249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be6"} 
[2026-10-05 17:25:31] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":14,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547382272001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791201013000,"timestamp_ms":1791201013000,"timestamp_seconds":1791201013,"priority":1,"record_length":96,"hex_timestamp":"000001a10be66d08"} 
[2026-10-05 17:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 17:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547382272001,"66":26169,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547382272001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:25:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:25:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547382272001,"power":26169,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":206249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:25:31] local.INFO: GPS data processed {"connection_id":206249,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:25:31] local.INFO: Acknowledgment sent {"connection_id":206249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:25:51] local.INFO: TCP Data received {"connection_id":204724,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10be9e3c0012d18338007219698004b00702a..."} 
[2026-10-05 17:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10be9e3c0012d18338007219698004b00702a..."} 
[2026-10-05 17:25:51] local.INFO: Processing buffer {"connection_id":204724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10be9e3c0012d18338007219698004b00702a..."} 
[2026-10-05 17:25:51] local.INFO: Packet analysis {"connection_id":204724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10be9"} 
[2026-10-05 17:25:51] local.INFO: Extracted packet for processing {"connection_id":204724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10be9"} 
[2026-10-05 17:25:51] local.INFO: GPS Element Parsed {"raw_longitude":756560768,"raw_latitude":119641752,"longitude_deg":75.6560768,"latitude_deg":11.9641752,"altitude":75,"angle":112,"satellites":42,"speed":13,"hex_longitude":"2d183380","hex_latitude":"07219698","is_valid_coordinates":true} 
[2026-10-05 17:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547517184001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25200673364639744,"note":"Value kept but may cause issues"} 
[2026-10-05 17:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743596773862479872,"note":"Value kept but may cause issues"} 
[2026-10-05 17:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791201240000,"timestamp_ms":1791201240000,"timestamp_seconds":1791201240,"priority":1,"record_length":96,"hex_timestamp":"000001a10be9e3c0"} 
[2026-10-05 17:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:25:51] 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-10-05 17:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 17:25:51] 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-10-05 17:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":204724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":204724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":204724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:25:51] 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-10-05 17:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547517184001,"66":14048,"105":206,"83":41984,"24":13,"16":25200673364639744,"45":1743596773862479872},"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-10-05 17:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547517184001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:25:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 17:25:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25200673364639744,"km_value":25200673364639.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743596773862479872,"description":"Unknown IO ID 45"} 
[2026-10-05 17:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547517184001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1743596773862479872}} 
[2026-10-05 17:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":204724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:25:51] local.INFO: GPS data processed {"connection_id":204724,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:25:51] local.INFO: Acknowledgment sent {"connection_id":204724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:25:52] local.INFO: TCP Data received {"connection_id":207795,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:25:52] local.INFO: Processing buffer {"connection_id":207795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:25:52] local.INFO: IMEI packet received {"connection_id":207795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":207795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:25:54] local.INFO: TCP Data received {"connection_id":207795,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:25:54] local.INFO: Processing buffer {"connection_id":207795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:25:54] local.INFO: IMEI packet received {"connection_id":207795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":207795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:25:59] local.INFO: TCP Data received {"connection_id":207795,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:25:59] local.INFO: Processing buffer {"connection_id":207795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:25:59] local.INFO: IMEI packet received {"connection_id":207795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":207795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:26:00] local.INFO: TCP Data received {"connection_id":207795,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:26:00] local.INFO: Processing buffer {"connection_id":207795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:26:00] local.INFO: Packet analysis {"connection_id":207795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:26:00] local.INFO: Extracted packet for processing {"connection_id":207795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:26:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":14,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547459328001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791201314000,"timestamp_ms":1791201314000,"timestamp_seconds":1791201314,"priority":1,"record_length":96,"hex_timestamp":"000001a10beb04d0"} 
[2026-10-05 17:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-10-05 17:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:26: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-10-05 17:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547459328001,"66":25908,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547459328001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:26:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:26:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547459328001,"power":25908,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":207795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:26:00] local.INFO: GPS data processed {"connection_id":207795,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:26:00] local.INFO: Acknowledgment sent {"connection_id":207795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:26:03] local.INFO: TCP Data received {"connection_id":204852,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:26:03] local.INFO: Processing buffer {"connection_id":204852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:26:03] local.INFO: IMEI packet received {"connection_id":204852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":204852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:26:04] local.INFO: TCP Data received {"connection_id":204852,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:26:04] local.INFO: Processing buffer {"connection_id":204852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:26:04] local.INFO: IMEI packet received {"connection_id":204852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":204852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:26:07] local.INFO: TCP Data received {"connection_id":207796,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:26:07] local.INFO: Processing buffer {"connection_id":207796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:26:07] local.INFO: IMEI packet received {"connection_id":207796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":207796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:26:10] local.INFO: TCP Data received {"connection_id":204852,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:26:10] local.INFO: Processing buffer {"connection_id":204852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:26:10] local.INFO: IMEI packet received {"connection_id":204852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":204852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:26:10] local.INFO: TCP Data received {"connection_id":207796,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:26:10] local.INFO: Processing buffer {"connection_id":207796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:26:10] local.INFO: IMEI packet received {"connection_id":207796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":207796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:26:10] local.INFO: TCP Data received {"connection_id":204852,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bea1a70012d18574007218808004900752b..."} 
[2026-10-05 17:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bea1a70012d18574007218808004900752b..."} 
[2026-10-05 17:26:10] local.INFO: Processing buffer {"connection_id":204852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bea1a70012d18574007218808004900752b..."} 
[2026-10-05 17:26:10] local.INFO: Packet analysis {"connection_id":204852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bea"} 
[2026-10-05 17:26:10] local.INFO: Extracted packet for processing {"connection_id":204852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bea"} 
[2026-10-05 17:26:10] local.INFO: GPS Element Parsed {"raw_longitude":756569920,"raw_latitude":119638024,"longitude_deg":75.656992,"latitude_deg":11.9638024,"altitude":73,"angle":117,"satellites":43,"speed":39,"hex_longitude":"2d185740","hex_latitude":"07218808","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547517440001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25201145811042304,"note":"Value kept but may cause issues"} 
[2026-10-05 17:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743878248839157760,"note":"Value kept but may cause issues"} 
[2026-10-05 17:26: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-10-05 17:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791201254000,"timestamp_ms":1791201254000,"timestamp_seconds":1791201254,"priority":1,"record_length":96,"hex_timestamp":"000001a10bea1a70"} 
[2026-10-05 17:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:26:10] 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-10-05 17: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-05 17:26:10] 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-10-05 17: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-10-05 17:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:26:10] 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-10-05 17:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547517440001,"66":14048,"106":206,"83":41984,"24":39,"16":25201145811042304,"45":1743878248839157760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-10-05 17:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547517440001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:26:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-10-05 17:26:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25201145811042304,"km_value":25201145811042.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743878248839157760,"description":"Unknown IO ID 45"} 
[2026-10-05 17:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547517440001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1743878248839157760}} 
[2026-10-05 17:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":204852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:26:11] local.INFO: GPS data processed {"connection_id":204852,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:26:11] local.INFO: Acknowledgment sent {"connection_id":204852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:26:12] local.INFO: TCP Data received {"connection_id":207796,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10beb4350012d7a32c005e4a440000a00942b..."} 
[2026-10-05 17:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10beb4350012d7a32c005e4a440000a00942b..."} 
[2026-10-05 17:26:12] local.INFO: Processing buffer {"connection_id":207796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10beb4350012d7a32c005e4a440000a00942b..."} 
[2026-10-05 17:26:12] local.INFO: Packet analysis {"connection_id":207796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:26:12] local.INFO: Extracted packet for processing {"connection_id":207796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:26:12] local.INFO: GPS Element Parsed {"raw_longitude":762983104,"raw_latitude":98870336,"longitude_deg":76.2983104,"latitude_deg":9.8870336,"altitude":10,"angle":148,"satellites":43,"speed":27,"hex_longitude":"2d7a32c0","hex_latitude":"05e4a440","is_valid_coordinates":true} 
[2026-10-05 17:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547538432001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139759090510331904,"note":"Value kept but may cause issues"} 
[2026-10-05 17:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802918815704834048,"note":"Value kept but may cause issues"} 
[2026-10-05 17:26:12] 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-10-05 17:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791201330000,"timestamp_ms":1791201330000,"timestamp_seconds":1791201330,"priority":1,"record_length":96,"hex_timestamp":"000001a10beb4350"} 
[2026-10-05 17:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-10-05 17:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":207796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":207796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":207796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:26: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-10-05 17:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547538432001,"66":13798,"102":206,"87":12288,"24":27,"16":139759090510331904,"45":8802918815704834048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-05 17:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547538432001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:26:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 17:26:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 17:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139759090510331904,"km_value":139759090510331.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802918815704834048,"description":"Unknown IO ID 45"} 
[2026-10-05 17:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547538432001,"power":13798,"unknown_102":206,"unknown_87":12288,"ignition":27,"odometer":null,"unknown_45":8802918815704834048}} 
[2026-10-05 17:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":207796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:26:12] local.INFO: GPS data processed {"connection_id":207796,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:26:12] local.INFO: Acknowledgment sent {"connection_id":207796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:26:12] local.INFO: TCP Data received {"connection_id":207796,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10beb6a60012d7a46c005e486d8000b00912b..."} 
[2026-10-05 17:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10beb6a60012d7a46c005e486d8000b00912b..."} 
[2026-10-05 17:26:12] local.INFO: Processing buffer {"connection_id":207796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10beb6a60012d7a46c005e486d8000b00912b..."} 
[2026-10-05 17:26:12] local.INFO: Packet analysis {"connection_id":207796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:26:12] local.INFO: Extracted packet for processing {"connection_id":207796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:26:12] local.INFO: GPS Element Parsed {"raw_longitude":762988224,"raw_latitude":98862808,"longitude_deg":76.2988224,"latitude_deg":9.8862808,"altitude":11,"angle":145,"satellites":43,"speed":39,"hex_longitude":"2d7a46c0","hex_latitude":"05e486d8","is_valid_coordinates":true} 
[2026-10-05 17:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547540480001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139759532891963392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805311353006080000,"note":"Value kept but may cause issues"} 
[2026-10-05 17:26:12] 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-10-05 17:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791201340000,"timestamp_ms":1791201340000,"timestamp_seconds":1791201340,"priority":1,"record_length":96,"hex_timestamp":"000001a10beb6a60"} 
[2026-10-05 17:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 17:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":207796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":207796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":207796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:26: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-10-05 17:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547540480001,"66":13798,"102":206,"87":12288,"24":39,"16":139759532891963392,"45":8805311353006080000},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-05 17:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547540480001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:26:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 17:26:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 17:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139759532891963392,"km_value":139759532891963.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805311353006080000,"description":"Unknown IO ID 45"} 
[2026-10-05 17:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547540480001,"power":13798,"unknown_102":206,"unknown_87":12288,"ignition":39,"odometer":null,"unknown_45":8805311353006080000}} 
[2026-10-05 17:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":207796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:26:13] local.INFO: GPS data processed {"connection_id":207796,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:26:13] local.INFO: Acknowledgment sent {"connection_id":207796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:26:31] local.INFO: TCP Data received {"connection_id":207795,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:26:31] local.INFO: Processing buffer {"connection_id":207795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:26:31] local.INFO: Packet analysis {"connection_id":207795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:26:31] local.INFO: Extracted packet for processing {"connection_id":207795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:26:31] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":14,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547459328001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791201314000,"timestamp_ms":1791201314000,"timestamp_seconds":1791201314,"priority":1,"record_length":96,"hex_timestamp":"000001a10beb04d0"} 
[2026-10-05 17:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-10-05 17:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547459328001,"66":25908,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547459328001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:26:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:26:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547459328001,"power":25908,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":207795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:26:31] local.INFO: GPS data processed {"connection_id":207795,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:26:31] local.INFO: Acknowledgment sent {"connection_id":207795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:26:33] local.INFO: TCP Data received {"connection_id":204854,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:26:33] local.INFO: Processing buffer {"connection_id":204854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:26:33] local.INFO: IMEI packet received {"connection_id":204854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":204854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:26:35] local.INFO: TCP Data received {"connection_id":204854,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:26:35] local.INFO: Processing buffer {"connection_id":204854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:26:35] local.INFO: IMEI packet received {"connection_id":204854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":204854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:26:41] local.INFO: TCP Data received {"connection_id":204852,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10beba4f8012d18c4c007214af0004600b02d..."} 
[2026-10-05 17:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10beba4f8012d18c4c007214af0004600b02d..."} 
[2026-10-05 17:26:41] local.INFO: Processing buffer {"connection_id":204852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10beba4f8012d18c4c007214af0004600b02d..."} 
[2026-10-05 17:26:41] local.INFO: Packet analysis {"connection_id":204852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:26:41] local.INFO: Extracted packet for processing {"connection_id":204852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:26:41] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119622384,"longitude_deg":75.6597952,"latitude_deg":11.9622384,"altitude":70,"angle":176,"satellites":45,"speed":34,"hex_longitude":"2d18c4c0","hex_latitude":"07214af0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547546368001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25202820848287744,"note":"Value kept but may cause issues"} 
[2026-10-05 17:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784340276736784384,"note":"Value kept but may cause issues"} 
[2026-10-05 17:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791201355000,"timestamp_ms":1791201355000,"timestamp_seconds":1791201355,"priority":1,"record_length":96,"hex_timestamp":"000001a10beba4f8"} 
[2026-10-05 17:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:26: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-10-05 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-05 17:26: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-10-05 17: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-10-05 17:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:26:41] 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-10-05 17:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547546368001,"66":13896,"103":206,"83":41984,"24":34,"16":25202820848287744,"45":1784340276736784384},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 17:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547546368001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:26:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 17:26:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25202820848287744,"km_value":25202820848287.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784340276736784384,"description":"Unknown IO ID 45"} 
[2026-10-05 17:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547546368001,"power":13896,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1784340276736784384}} 
[2026-10-05 17:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":204852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:26:41] local.INFO: GPS data processed {"connection_id":204852,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:26:41] local.INFO: Acknowledgment sent {"connection_id":204852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:26:43] local.INFO: TCP Data received {"connection_id":204854,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:26:43] local.INFO: Processing buffer {"connection_id":204854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:26:43] local.INFO: IMEI packet received {"connection_id":204854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":204854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:26:46] local.INFO: TCP Data received {"connection_id":204854,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10beb81d0012d7a570005e473d8000b00852b..."} 
[2026-10-05 17:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10beb81d0012d7a570005e473d8000b00852b..."} 
[2026-10-05 17:26:46] local.INFO: Processing buffer {"connection_id":204854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10beb81d0012d7a570005e473d8000b00852b..."} 
[2026-10-05 17:26:46] local.INFO: Packet analysis {"connection_id":204854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:26:46] local.INFO: Extracted packet for processing {"connection_id":204854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:26:46] local.INFO: GPS Element Parsed {"raw_longitude":762992384,"raw_latitude":98857944,"longitude_deg":76.2992384,"latitude_deg":9.8857944,"altitude":11,"angle":133,"satellites":43,"speed":39,"hex_longitude":"2d7a5700","hex_latitude":"05e473d8","is_valid_coordinates":true} 
[2026-10-05 17:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547543040001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139759842129608704,"note":"Value kept but may cause issues"} 
[2026-10-05 17:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8810940852538365952,"note":"Value kept but may cause issues"} 
[2026-10-05 17:26:46] 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-10-05 17:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791201346000,"timestamp_ms":1791201346000,"timestamp_seconds":1791201346,"priority":1,"record_length":96,"hex_timestamp":"000001a10beb81d0"} 
[2026-10-05 17:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 17:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:26:46] 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-10-05 17:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547543040001,"66":13852,"102":206,"87":12288,"24":39,"16":139759842129608704,"45":8810940852538365952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-05 17:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547543040001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:26:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 17:26:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 17:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139759842129608704,"km_value":139759842129608.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8810940852538365952,"description":"Unknown IO ID 45"} 
[2026-10-05 17:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547543040001,"power":13852,"unknown_102":206,"unknown_87":12288,"ignition":39,"odometer":null,"unknown_45":8810940852538365952}} 
[2026-10-05 17:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":204854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:26:46] local.INFO: GPS data processed {"connection_id":204854,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:26:46] local.INFO: Acknowledgment sent {"connection_id":204854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:26:54] local.INFO: TCP Data received {"connection_id":207797,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:26:54] local.INFO: Processing buffer {"connection_id":207797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:26:54] local.INFO: IMEI packet received {"connection_id":207797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":207797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:26:59] local.INFO: TCP Data received {"connection_id":204853,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204853,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:26:59] local.INFO: Processing buffer {"connection_id":204853,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:26:59] local.INFO: IMEI packet received {"connection_id":204853,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 17:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":204853,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:26:59] local.INFO: TCP Data received {"connection_id":207797,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:26:59] local.INFO: Processing buffer {"connection_id":207797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:26:59] local.INFO: IMEI packet received {"connection_id":207797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":207797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:27:00] local.INFO: TCP Data received {"connection_id":207797,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:27:00] local.INFO: Processing buffer {"connection_id":207797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:27:00] local.INFO: Packet analysis {"connection_id":207797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:27:00] local.INFO: Extracted packet for processing {"connection_id":207797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:27:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":14,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547459328001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791201314000,"timestamp_ms":1791201314000,"timestamp_seconds":1791201314,"priority":1,"record_length":96,"hex_timestamp":"000001a10beb04d0"} 
[2026-10-05 17:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-10-05 17:27:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547459328001,"66":25908,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547459328001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:27:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:27:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547459328001,"power":25908,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":207797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:27:00] local.INFO: GPS data processed {"connection_id":207797,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:27:00] local.INFO: Acknowledgment sent {"connection_id":207797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:27:05] local.INFO: TCP Data received {"connection_id":204725,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:27:05] local.INFO: Processing buffer {"connection_id":204725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:27:05] local.INFO: IMEI packet received {"connection_id":204725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":204725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:27:06] local.INFO: TCP Data received {"connection_id":204725,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:27:06] local.INFO: Processing buffer {"connection_id":204725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:27:06] local.INFO: IMEI packet received {"connection_id":204725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":204725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:27:09] local.INFO: TCP Data received {"connection_id":204725,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:27:09] local.INFO: Processing buffer {"connection_id":204725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:27:09] local.INFO: IMEI packet received {"connection_id":204725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":204725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:27:10] local.INFO: TCP Data received {"connection_id":204725,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bebb498012d18c70007213b68004500a02b..."} 
[2026-10-05 17:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bebb498012d18c70007213b68004500a02b..."} 
[2026-10-05 17:27:10] local.INFO: Processing buffer {"connection_id":204725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bebb498012d18c70007213b68004500a02b..."} 
[2026-10-05 17:27:10] local.INFO: Packet analysis {"connection_id":204725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:27:10] local.INFO: Extracted packet for processing {"connection_id":204725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:27:10] local.INFO: GPS Element Parsed {"raw_longitude":756598528,"raw_latitude":119618408,"longitude_deg":75.6598528,"latitude_deg":11.9618408,"altitude":69,"angle":160,"satellites":43,"speed":43,"hex_longitude":"2d18c700","hex_latitude":"07213b68","is_valid_coordinates":true} 
[2026-10-05 17:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547546880001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25203018416783360,"note":"Value kept but may cause issues"} 
[2026-10-05 17:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489201422336,"note":"Value kept but may cause issues"} 
[2026-10-05 17:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791201359000,"timestamp_ms":1791201359000,"timestamp_seconds":1791201359,"priority":1,"record_length":96,"hex_timestamp":"000001a10bebb498"} 
[2026-10-05 17:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:27:10] 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-10-05 17:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-10-05 17:27:10] 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-10-05 17:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:27:10] 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-10-05 17:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547546880001,"66":13830,"103":206,"83":41984,"24":43,"16":25203018416783360,"45":1784762489201422336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 17:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547546880001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:27:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 17:27:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25203018416783360,"km_value":25203018416783.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489201422336,"description":"Unknown IO ID 45"} 
[2026-10-05 17:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547546880001,"power":13830,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1784762489201422336}} 
[2026-10-05 17:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":204725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:27:10] local.INFO: GPS data processed {"connection_id":204725,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:27:10] local.INFO: Acknowledgment sent {"connection_id":204725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:27:31] local.INFO: TCP Data received {"connection_id":207798,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:27:31] local.INFO: Processing buffer {"connection_id":207798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:27:31] local.INFO: IMEI packet received {"connection_id":207798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":207798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:27:31] local.INFO: TCP Data received {"connection_id":207797,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:27:31] local.INFO: Processing buffer {"connection_id":207797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:27:31] local.INFO: Packet analysis {"connection_id":207797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:27:31] local.INFO: Extracted packet for processing {"connection_id":207797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:27:31] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":14,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547459328001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791201314000,"timestamp_ms":1791201314000,"timestamp_seconds":1791201314,"priority":1,"record_length":96,"hex_timestamp":"000001a10beb04d0"} 
[2026-10-05 17:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-10-05 17:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547459328001,"66":25908,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547459328001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:27:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:27:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547459328001,"power":25908,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":207797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:27:31] local.INFO: GPS data processed {"connection_id":207797,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:27:31] local.INFO: Acknowledgment sent {"connection_id":207797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:27:34] local.INFO: TCP Data received {"connection_id":206251,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:27:34] local.INFO: Processing buffer {"connection_id":206251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:27:34] local.INFO: IMEI packet received {"connection_id":206251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 17:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":206251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:27:37] local.INFO: TCP Data received {"connection_id":207798,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:27:37] local.INFO: Processing buffer {"connection_id":207798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:27:37] local.INFO: IMEI packet received {"connection_id":207798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":207798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:27:39] local.INFO: TCP Data received {"connection_id":207798,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bebacc8012d7a744005e45cb00007008226..."} 
[2026-10-05 17:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bebacc8012d7a744005e45cb00007008226..."} 
[2026-10-05 17:27:39] local.INFO: Processing buffer {"connection_id":207798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bebacc8012d7a744005e45cb00007008226..."} 
[2026-10-05 17:27:39] local.INFO: Packet analysis {"connection_id":207798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:27:39] local.INFO: Extracted packet for processing {"connection_id":207798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:27:39] local.INFO: GPS Element Parsed {"raw_longitude":762999872,"raw_latitude":98852016,"longitude_deg":76.2999872,"latitude_deg":9.8852016,"altitude":7,"angle":130,"satellites":38,"speed":32,"hex_longitude":"2d7a7440","hex_latitude":"05e45cb0","is_valid_coordinates":true} 
[2026-10-05 17:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547544576001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139760301691109376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815514820908668928,"note":"Value kept but may cause issues"} 
[2026-10-05 17:27:39] 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-10-05 17:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791201357000,"timestamp_ms":1791201357000,"timestamp_seconds":1791201357,"priority":1,"record_length":96,"hex_timestamp":"000001a10bebacc8"} 
[2026-10-05 17:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:27: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-10-05 17:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-05 17:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":207798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":207798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":207798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:27: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-10-05 17:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547544576001,"66":13906,"95":206,"87":13824,"24":32,"16":139760301691109376,"45":8815514820908668928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-10-05 17:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547544576001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:27:39] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 17:27:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 17:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139760301691109376,"km_value":139760301691109.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815514820908668928,"description":"Unknown IO ID 45"} 
[2026-10-05 17:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547544576001,"power":13906,"unknown_95":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8815514820908668928}} 
[2026-10-05 17:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":207798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:27:39] local.INFO: GPS data processed {"connection_id":207798,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:27:39] local.INFO: Acknowledgment sent {"connection_id":207798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:27:41] local.INFO: TCP Data received {"connection_id":204725,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bec6c30012d194a400720ab50002b006828..."} 
[2026-10-05 17:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bec6c30012d194a400720ab50002b006828..."} 
[2026-10-05 17:27:41] local.INFO: Processing buffer {"connection_id":204725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bec6c30012d194a400720ab50002b006828..."} 
[2026-10-05 17:27:41] local.INFO: Packet analysis {"connection_id":204725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bec"} 
[2026-10-05 17:27:41] local.INFO: Extracted packet for processing {"connection_id":204725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bec"} 
[2026-10-05 17:27:41] local.INFO: GPS Element Parsed {"raw_longitude":756632128,"raw_latitude":119581520,"longitude_deg":75.6632128,"latitude_deg":11.958152,"altitude":43,"angle":104,"satellites":40,"speed":44,"hex_longitude":"2d194a40","hex_latitude":"0720ab50","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547558656001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25205599692128256,"note":"Value kept but may cause issues"} 
[2026-10-05 17:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1816146949094965248,"note":"Value kept but may cause issues"} 
[2026-10-05 17:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791201406000,"timestamp_ms":1791201406000,"timestamp_seconds":1791201406,"priority":1,"record_length":96,"hex_timestamp":"000001a10bec6c30"} 
[2026-10-05 17:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:27: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-10-05 17: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-05 17:27:41] 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-10-05 17: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-10-05 17:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:27:41] 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-10-05 17:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547558656001,"66":14374,"103":206,"83":41984,"24":44,"16":25205599692128256,"45":1816146949094965248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 17:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547558656001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:27:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 17:27:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25205599692128256,"km_value":25205599692128.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1816146949094965248,"description":"Unknown IO ID 45"} 
[2026-10-05 17:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547558656001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1816146949094965248}} 
[2026-10-05 17:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":204725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:27:41] local.INFO: GPS data processed {"connection_id":204725,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:27:41] local.INFO: Acknowledgment sent {"connection_id":204725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:27:54] local.INFO: TCP Data received {"connection_id":204855,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:27:54] local.INFO: Processing buffer {"connection_id":204855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:27:54] local.INFO: IMEI packet received {"connection_id":204855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":204855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:27:59] local.INFO: TCP Data received {"connection_id":204855,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:27:59] local.INFO: Processing buffer {"connection_id":204855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:27:59] local.INFO: IMEI packet received {"connection_id":204855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":204855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:28:00] local.INFO: TCP Data received {"connection_id":204855,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:28:00] local.INFO: Processing buffer {"connection_id":204855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:28:00] local.INFO: Packet analysis {"connection_id":204855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:28:00] local.INFO: Extracted packet for processing {"connection_id":204855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:28:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":14,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547459328001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791201314000,"timestamp_ms":1791201314000,"timestamp_seconds":1791201314,"priority":1,"record_length":96,"hex_timestamp":"000001a10beb04d0"} 
[2026-10-05 17:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-10-05 17:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:28:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:28: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-10-05 17:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547459328001,"66":25908,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547459328001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:28:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:28:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547459328001,"power":25908,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":204855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:28:00] local.INFO: GPS data processed {"connection_id":204855,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:28:00] local.INFO: Acknowledgment sent {"connection_id":204855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:28:06] local.INFO: TCP Data received {"connection_id":204726,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:28:06] local.INFO: Processing buffer {"connection_id":204726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:28:06] local.INFO: IMEI packet received {"connection_id":204726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":204726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:28:07] local.INFO: TCP Data received {"connection_id":204726,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:28:07] local.INFO: Processing buffer {"connection_id":204726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:28:07] local.INFO: IMEI packet received {"connection_id":204726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":204726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:28:08] local.INFO: TCP Data received {"connection_id":204726,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:28:08] local.INFO: Processing buffer {"connection_id":204726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:28:08] local.INFO: IMEI packet received {"connection_id":204726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":204726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:28:10] local.INFO: TCP Data received {"connection_id":204726,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:28:10] local.INFO: Processing buffer {"connection_id":204726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:28:10] local.INFO: IMEI packet received {"connection_id":204726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":204726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:28:10] local.INFO: TCP Data received {"connection_id":207798,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bebdba8012d7a924005e445a80006007e2a..."} 
[2026-10-05 17:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bebdba8012d7a924005e445a80006007e2a..."} 
[2026-10-05 17:28:10] local.INFO: Processing buffer {"connection_id":207798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bebdba8012d7a924005e445a80006007e2a..."} 
[2026-10-05 17:28:10] local.INFO: Packet analysis {"connection_id":207798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:28:10] local.INFO: Extracted packet for processing {"connection_id":207798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:28:10] local.INFO: GPS Element Parsed {"raw_longitude":763007552,"raw_latitude":98846120,"longitude_deg":76.3007552,"latitude_deg":9.884612,"altitude":6,"angle":126,"satellites":42,"speed":32,"hex_longitude":"2d7a9240","hex_latitude":"05e445a8","is_valid_coordinates":true} 
[2026-10-05 17:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547547392001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139760765547577344,"note":"Value kept but may cause issues"} 
[2026-10-05 17:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8823747963975938048,"note":"Value kept but may cause issues"} 
[2026-10-05 17:28:10] 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-10-05 17:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791201369000,"timestamp_ms":1791201369000,"timestamp_seconds":1791201369,"priority":1,"record_length":96,"hex_timestamp":"000001a10bebdba8"} 
[2026-10-05 17:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 17:28:10] 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-10-05 17:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:28: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-10-05 17:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547547392001,"66":13852,"95":206,"87":13824,"24":32,"16":139760765547577344,"45":8823747963975938048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-10-05 17:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547547392001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:28:10] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 17:28:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 17:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139760765547577344,"km_value":139760765547577.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8823747963975938048,"description":"Unknown IO ID 45"} 
[2026-10-05 17:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547547392001,"power":13852,"unknown_95":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8823747963975938048}} 
[2026-10-05 17:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":207798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968870,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:28:11] local.INFO: GPS data processed {"connection_id":207798,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:28:11] local.INFO: Acknowledgment sent {"connection_id":207798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:28:11] local.INFO: TCP Data received {"connection_id":204726,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bec77e8012d1957400720a9d8002a005a25..."} 
[2026-10-05 17:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bec77e8012d1957400720a9d8002a005a25..."} 
[2026-10-05 17:28:11] local.INFO: Processing buffer {"connection_id":204726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bec77e8012d1957400720a9d8002a005a25..."} 
[2026-10-05 17:28:11] local.INFO: Packet analysis {"connection_id":204726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bec"} 
[2026-10-05 17:28:11] local.INFO: Extracted packet for processing {"connection_id":204726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bec"} 
[2026-10-05 17:28:11] local.INFO: GPS Element Parsed {"raw_longitude":756635456,"raw_latitude":119581144,"longitude_deg":75.6635456,"latitude_deg":11.9581144,"altitude":42,"angle":90,"satellites":37,"speed":41,"hex_longitude":"2d195740","hex_latitude":"0720a9d8","is_valid_coordinates":true} 
[2026-10-05 17:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547559936001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25205758605918208,"note":"Value kept but may cause issues"} 
[2026-10-05 17:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822339398581833728,"note":"Value kept but may cause issues"} 
[2026-10-05 17:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791201409000,"timestamp_ms":1791201409000,"timestamp_seconds":1791201409,"priority":1,"record_length":96,"hex_timestamp":"000001a10bec77e8"} 
[2026-10-05 17:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:28: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-10-05 17:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-05 17:28:11] 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-10-05 17:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:28:11] 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-10-05 17:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547559936001,"66":13689,"103":206,"83":41984,"24":41,"16":25205758605918208,"45":1822339398581833728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 17:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547559936001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:28:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 17:28:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25205758605918208,"km_value":25205758605918.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822339398581833728,"description":"Unknown IO ID 45"} 
[2026-10-05 17:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547559936001,"power":13689,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1822339398581833728}} 
[2026-10-05 17:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":204726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:28:11] local.INFO: GPS data processed {"connection_id":204726,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:28:11] local.INFO: Acknowledgment sent {"connection_id":204726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:28:13] local.INFO: TCP Data received {"connection_id":204726,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bec9340012d1970c00720acb80028004d28..."} 
[2026-10-05 17:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bec9340012d1970c00720acb80028004d28..."} 
[2026-10-05 17:28:13] local.INFO: Processing buffer {"connection_id":204726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bec9340012d1970c00720acb80028004d28..."} 
[2026-10-05 17:28:13] local.INFO: Packet analysis {"connection_id":204726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bec"} 
[2026-10-05 17:28:13] local.INFO: Extracted packet for processing {"connection_id":204726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bec"} 
[2026-10-05 17:28:13] local.INFO: GPS Element Parsed {"raw_longitude":756641984,"raw_latitude":119581880,"longitude_deg":75.6641984,"latitude_deg":11.958188,"altitude":40,"angle":77,"satellites":40,"speed":36,"hex_longitude":"2d1970c0","hex_latitude":"0720acb8","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547560704001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25206072138530816,"note":"Value kept but may cause issues"} 
[2026-10-05 17:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573278976000,"note":"Value kept but may cause issues"} 
[2026-10-05 17:28: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-10-05 17:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791201416000,"timestamp_ms":1791201416000,"timestamp_seconds":1791201416,"priority":1,"record_length":96,"hex_timestamp":"000001a10bec9340"} 
[2026-10-05 17:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:28:13] 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-10-05 17: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-10-05 17:28:13] 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-10-05 17: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-10-05 17:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":204726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":204726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":204726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:28:13] 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-10-05 17:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547560704001,"66":14276,"103":206,"83":41984,"24":36,"16":25206072138530816,"45":1825998573278976000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-05 17:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547560704001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:28:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 17:28:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25206072138530816,"km_value":25206072138530.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573278976000,"description":"Unknown IO ID 45"} 
[2026-10-05 17:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547560704001,"power":14276,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1825998573278976000}} 
[2026-10-05 17:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":204726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:28:13] local.INFO: GPS data processed {"connection_id":204726,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:28:13] local.INFO: Acknowledgment sent {"connection_id":204726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:28:30] local.INFO: TCP Data received {"connection_id":207799,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:28:30] local.INFO: Processing buffer {"connection_id":207799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:28:30] local.INFO: IMEI packet received {"connection_id":207799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":207799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:28:31] local.INFO: TCP Data received {"connection_id":204855,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:28:31] local.INFO: Processing buffer {"connection_id":204855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:28:31] local.INFO: Packet analysis {"connection_id":204855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:28:31] local.INFO: Extracted packet for processing {"connection_id":204855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:28:31] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":14,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547459328001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791201314000,"timestamp_ms":1791201314000,"timestamp_seconds":1791201314,"priority":1,"record_length":96,"hex_timestamp":"000001a10beb04d0"} 
[2026-10-05 17:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-10-05 17:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547459328001,"66":25908,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547459328001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:28:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:28:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547459328001,"power":25908,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":204855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:28:31] local.INFO: GPS data processed {"connection_id":204855,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:28:31] local.INFO: Acknowledgment sent {"connection_id":204855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:28:35] local.INFO: TCP Data received {"connection_id":207799,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:28:35] local.INFO: Processing buffer {"connection_id":207799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:28:35] local.INFO: IMEI packet received {"connection_id":207799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":207799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:28:37] local.INFO: TCP Data received {"connection_id":207799,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bec06a0012d7aae0005e42f58000500822c..."} 
[2026-10-05 17:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bec06a0012d7aae0005e42f58000500822c..."} 
[2026-10-05 17:28:37] local.INFO: Processing buffer {"connection_id":207799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bec06a0012d7aae0005e42f58000500822c..."} 
[2026-10-05 17:28:37] local.INFO: Packet analysis {"connection_id":207799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bec"} 
[2026-10-05 17:28:37] local.INFO: Extracted packet for processing {"connection_id":207799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bec"} 
[2026-10-05 17:28:37] local.INFO: GPS Element Parsed {"raw_longitude":763014656,"raw_latitude":98840408,"longitude_deg":76.3014656,"latitude_deg":9.8840408,"altitude":5,"angle":130,"satellites":44,"speed":33,"hex_longitude":"2d7aae00","hex_latitude":"05e42f58","is_valid_coordinates":true} 
[2026-10-05 17:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547550464001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139761203634241536,"note":"Value kept but may cause issues"} 
[2026-10-05 17:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832192213275748352,"note":"Value kept but may cause issues"} 
[2026-10-05 17:28:37] 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-10-05 17:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791201380000,"timestamp_ms":1791201380000,"timestamp_seconds":1791201380,"priority":1,"record_length":96,"hex_timestamp":"000001a10bec06a0"} 
[2026-10-05 17:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:28: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-10-05 17:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-05 17:28:37] 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-10-05 17:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:28: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-10-05 17:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547550464001,"66":13613,"95":206,"87":13824,"24":33,"16":139761203634241536,"45":8832192213275748352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-10-05 17:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547550464001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:28:37] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-05 17:28:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-05 17:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139761203634241536,"km_value":139761203634241.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832192213275748352,"description":"Unknown IO ID 45"} 
[2026-10-05 17:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547550464001,"power":13613,"unknown_95":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8832192213275748352}} 
[2026-10-05 17:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":207799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:28:37] local.INFO: GPS data processed {"connection_id":207799,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:28:37] local.INFO: Acknowledgment sent {"connection_id":207799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:28:44] local.INFO: TCP Data received {"connection_id":204726,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bed75d0012d19ca0007201c00001b009c2a..."} 
[2026-10-05 17:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bed75d0012d19ca0007201c00001b009c2a..."} 
[2026-10-05 17:28:44] local.INFO: Processing buffer {"connection_id":204726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bed75d0012d19ca0007201c00001b009c2a..."} 
[2026-10-05 17:28:44] local.INFO: Packet analysis {"connection_id":204726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bed"} 
[2026-10-05 17:28:44] local.INFO: Extracted packet for processing {"connection_id":204726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bed"} 
[2026-10-05 17:28:44] local.INFO: GPS Element Parsed {"raw_longitude":756664832,"raw_latitude":119544832,"longitude_deg":75.6664832,"latitude_deg":11.9544832,"altitude":27,"angle":156,"satellites":42,"speed":39,"hex_longitude":"2d19ca00","hex_latitude":"07201c00","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547575296001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25208898227011584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854920127128721408,"note":"Value kept but may cause issues"} 
[2026-10-05 17:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791201474000,"timestamp_ms":1791201474000,"timestamp_seconds":1791201474,"priority":1,"record_length":96,"hex_timestamp":"000001a10bed75d0"} 
[2026-10-05 17:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:28: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-10-05 17: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 17:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":204726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":204726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":204726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547575296001,"66":13993,"101":206,"83":41984,"24":39,"16":25208898227011584,"45":1854920127128721408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 17:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547575296001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:28:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 17:28:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25208898227011584,"km_value":25208898227011.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854920127128721408,"description":"Unknown IO ID 45"} 
[2026-10-05 17:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547575296001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1854920127128721408}} 
[2026-10-05 17:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":204726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:28:44] local.INFO: GPS data processed {"connection_id":204726,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:28:44] local.INFO: Acknowledgment sent {"connection_id":204726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:28:59] local.INFO: TCP Data received {"connection_id":204728,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:28:59] local.INFO: Processing buffer {"connection_id":204728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:28:59] local.INFO: IMEI packet received {"connection_id":204728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":204728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:29:04] local.INFO: TCP Data received {"connection_id":204728,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:29:04] local.INFO: Processing buffer {"connection_id":204728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:29:04] local.INFO: IMEI packet received {"connection_id":204728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":204728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:29:04] local.INFO: TCP Data received {"connection_id":207800,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:29:04] local.INFO: Processing buffer {"connection_id":207800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:29:04] local.INFO: IMEI packet received {"connection_id":207800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":207800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:29:05] local.INFO: TCP Data received {"connection_id":204728,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:29:05] local.INFO: Processing buffer {"connection_id":204728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:29:05] local.INFO: Packet analysis {"connection_id":204728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:29:05] local.INFO: Extracted packet for processing {"connection_id":204728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:29:05] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":14,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547459328001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791201314000,"timestamp_ms":1791201314000,"timestamp_seconds":1791201314,"priority":1,"record_length":96,"hex_timestamp":"000001a10beb04d0"} 
[2026-10-05 17:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17: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-10-05 17:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-10-05 17:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:29: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-10-05 17:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547459328001,"66":25908,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547459328001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:29:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:29:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547459328001,"power":25908,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":204728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:29:05] local.INFO: GPS data processed {"connection_id":204728,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:29:05] local.INFO: Acknowledgment sent {"connection_id":204728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:29:08] local.INFO: TCP Data received {"connection_id":207799,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bedcbc0012d7b048005e358e0000700922d..."} 
[2026-10-05 17:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bedcbc0012d7b048005e358e0000700922d..."} 
[2026-10-05 17:29:08] local.INFO: Processing buffer {"connection_id":207799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bedcbc0012d7b048005e358e0000700922d..."} 
[2026-10-05 17:29:08] local.INFO: Packet analysis {"connection_id":207799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bed"} 
[2026-10-05 17:29:08] local.INFO: Extracted packet for processing {"connection_id":207799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bed"} 
[2026-10-05 17:29:08] local.INFO: GPS Element Parsed {"raw_longitude":763036800,"raw_latitude":98785504,"longitude_deg":76.30368,"latitude_deg":9.8785504,"altitude":7,"angle":146,"satellites":45,"speed":6,"hex_longitude":"2d7b0480","hex_latitude":"05e358e0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547582464001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139764141391872000,"note":"Value kept but may cause issues"} 
[2026-10-05 17:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254372775936,"note":"Value kept but may cause issues"} 
[2026-10-05 17:29:08] 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-10-05 17:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791201496000,"timestamp_ms":1791201496000,"timestamp_seconds":1791201496,"priority":1,"record_length":96,"hex_timestamp":"000001a10bedcbc0"} 
[2026-10-05 17:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:29: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-10-05 17: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-05 17:29:08] 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-10-05 17: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-10-05 17:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:29:08] 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-10-05 17:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547582464001,"66":13559,"208":206,"85":15104,"24":6,"16":139764141391872000,"45":8864069254372775936},"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-10-05 17:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547582464001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:29:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:29:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139764141391872000,"km_value":139764141391872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254372775936,"description":"Unknown IO ID 45"} 
[2026-10-05 17:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547582464001,"power":13559,"unknown_208":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8864069254372775936}} 
[2026-10-05 17:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":207799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968877,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:29:08] local.INFO: GPS data processed {"connection_id":207799,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:29:08] local.INFO: Acknowledgment sent {"connection_id":207799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:29:10] local.INFO: TCP Data received {"connection_id":204728,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:29:10] local.INFO: Processing buffer {"connection_id":204728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:29:10] local.INFO: Packet analysis {"connection_id":204728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:29:10] local.INFO: Extracted packet for processing {"connection_id":204728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:29:10] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":14,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547459328001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791201314000,"timestamp_ms":1791201314000,"timestamp_seconds":1791201314,"priority":1,"record_length":96,"hex_timestamp":"000001a10beb04d0"} 
[2026-10-05 17:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-10-05 17:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:29:10] 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-10-05 17:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547459328001,"66":25908,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547459328001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:29:10] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:29:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547459328001,"power":25908,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":204728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:29:10] local.INFO: GPS data processed {"connection_id":204728,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:29:10] local.INFO: Acknowledgment sent {"connection_id":204728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:29:10] local.INFO: TCP Data received {"connection_id":207800,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:29:10] local.INFO: Processing buffer {"connection_id":207800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:29:10] local.INFO: IMEI packet received {"connection_id":207800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":207800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:29:11] local.INFO: TCP Data received {"connection_id":207800,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bed7da0012d19ce8007201578001c008e29..."} 
[2026-10-05 17:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bed7da0012d19ce8007201578001c008e29..."} 
[2026-10-05 17:29:11] local.INFO: Processing buffer {"connection_id":207800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bed7da0012d19ce8007201578001c008e29..."} 
[2026-10-05 17:29:11] local.INFO: Packet analysis {"connection_id":207800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bed"} 
[2026-10-05 17:29:11] local.INFO: Extracted packet for processing {"connection_id":207800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bed"} 
[2026-10-05 17:29:11] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543160,"longitude_deg":75.6665984,"latitude_deg":11.954316,"altitude":28,"angle":142,"satellites":41,"speed":39,"hex_longitude":"2d19ce80","hex_latitude":"07201578","is_valid_coordinates":true} 
[2026-10-05 17:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547577344001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25208997011259392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858297826847227904,"note":"Value kept but may cause issues"} 
[2026-10-05 17:29:11] 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-10-05 17:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791201476000,"timestamp_ms":1791201476000,"timestamp_seconds":1791201476,"priority":1,"record_length":96,"hex_timestamp":"000001a10bed7da0"} 
[2026-10-05 17:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:29: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-10-05 17:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 17:29:11] 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-10-05 17:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:29:11] 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-10-05 17:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547577344001,"66":14048,"101":206,"83":41984,"24":39,"16":25208997011259392,"45":1858297826847227904},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 17:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547577344001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:29:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 17:29:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25208997011259392,"km_value":25208997011259.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858297826847227904,"description":"Unknown IO ID 45"} 
[2026-10-05 17:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547577344001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1858297826847227904}} 
[2026-10-05 17:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":207800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:29:11] local.INFO: GPS data processed {"connection_id":207800,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:29:11] local.INFO: Acknowledgment sent {"connection_id":207800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:29:30] local.INFO: TCP Data received {"connection_id":206252,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:29:30] local.INFO: Processing buffer {"connection_id":206252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:29:30] local.INFO: IMEI packet received {"connection_id":206252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":206252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:29:35] local.INFO: TCP Data received {"connection_id":206252,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:29:35] local.INFO: Processing buffer {"connection_id":206252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:29:35] local.INFO: IMEI packet received {"connection_id":206252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":206252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:29:36] local.INFO: TCP Data received {"connection_id":206252,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bee1dc8012d7b070005e35500000800a02f..."} 
[2026-10-05 17:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bee1dc8012d7b070005e35500000800a02f..."} 
[2026-10-05 17:29:36] local.INFO: Processing buffer {"connection_id":206252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bee1dc8012d7b070005e35500000800a02f..."} 
[2026-10-05 17:29:36] local.INFO: Packet analysis {"connection_id":206252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bee"} 
[2026-10-05 17:29:36] local.INFO: Extracted packet for processing {"connection_id":206252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bee"} 
[2026-10-05 17:29:36] local.INFO: GPS Element Parsed {"raw_longitude":763037440,"raw_latitude":98784512,"longitude_deg":76.303744,"latitude_deg":9.8784512,"altitude":8,"angle":160,"satellites":47,"speed":6,"hex_longitude":"2d7b0700","hex_latitude":"05e35500","is_valid_coordinates":true} 
[2026-10-05 17:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547582976001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139764201521414144,"note":"Value kept but may cause issues"} 
[2026-10-05 17:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864350729349423104,"note":"Value kept but may cause issues"} 
[2026-10-05 17:29: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-10-05 17:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791201517000,"timestamp_ms":1791201517000,"timestamp_seconds":1791201517,"priority":1,"record_length":96,"hex_timestamp":"000001a10bee1dc8"} 
[2026-10-05 17:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-05 17:29: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-10-05 17:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:29: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-10-05 17:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547582976001,"66":13798,"208":206,"85":15104,"24":6,"16":139764201521414144,"45":8864350729349423104},"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-10-05 17:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547582976001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:29:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:29:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139764201521414144,"km_value":139764201521414.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864350729349423104,"description":"Unknown IO ID 45"} 
[2026-10-05 17:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547582976001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8864350729349423104}} 
[2026-10-05 17:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":206252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968880,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:29:36] local.INFO: GPS data processed {"connection_id":206252,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:29:36] local.INFO: Acknowledgment sent {"connection_id":206252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:29:42] local.INFO: TCP Data received {"connection_id":207800,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bed8570012d19d40007200ff0001d008129..."} 
[2026-10-05 17:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bed8570012d19d40007200ff0001d008129..."} 
[2026-10-05 17:29:42] local.INFO: Processing buffer {"connection_id":207800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bed8570012d19d40007200ff0001d008129..."} 
[2026-10-05 17:29:42] local.INFO: Packet analysis {"connection_id":207800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bed"} 
[2026-10-05 17:29:42] local.INFO: Extracted packet for processing {"connection_id":207800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bed"} 
[2026-10-05 17:29:42] local.INFO: GPS Element Parsed {"raw_longitude":756667392,"raw_latitude":119541744,"longitude_deg":75.6667392,"latitude_deg":11.9541744,"altitude":29,"angle":129,"satellites":41,"speed":39,"hex_longitude":"2d19d400","hex_latitude":"07200ff0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547577856001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25209091500539904,"note":"Value kept but may cause issues"} 
[2026-10-05 17:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464241997824,"note":"Value kept but may cause issues"} 
[2026-10-05 17:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791201478000,"timestamp_ms":1791201478000,"timestamp_seconds":1791201478,"priority":1,"record_length":96,"hex_timestamp":"000001a10bed8570"} 
[2026-10-05 17:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:29:42] 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-10-05 17: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-05 17:29:42] 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-10-05 17: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-10-05 17:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:29: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-10-05 17:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547577856001,"66":13939,"101":206,"83":41984,"24":39,"16":25209091500539904,"45":1859564464241997824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 17:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547577856001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:29:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 17:29:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25209091500539904,"km_value":25209091500539.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464241997824,"description":"Unknown IO ID 45"} 
[2026-10-05 17:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547577856001,"power":13939,"unknown_101":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1859564464241997824}} 
[2026-10-05 17:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":207800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:29:42] local.INFO: GPS data processed {"connection_id":207800,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:29:42] local.INFO: Acknowledgment sent {"connection_id":207800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:29:54] local.INFO: TCP Data received {"connection_id":207801,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:29:54] local.INFO: Processing buffer {"connection_id":207801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:29:54] local.INFO: IMEI packet received {"connection_id":207801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":207801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:29:59] local.INFO: TCP Data received {"connection_id":207801,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:29:59] local.INFO: Processing buffer {"connection_id":207801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:29:59] local.INFO: IMEI packet received {"connection_id":207801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":207801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:30:00] local.INFO: TCP Data received {"connection_id":207801,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:30:00] local.INFO: Processing buffer {"connection_id":207801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:30:00] local.INFO: Packet analysis {"connection_id":207801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:30:00] local.INFO: Extracted packet for processing {"connection_id":207801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:30:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":14,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547459328001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791201314000,"timestamp_ms":1791201314000,"timestamp_seconds":1791201314,"priority":1,"record_length":96,"hex_timestamp":"000001a10beb04d0"} 
[2026-10-05 17:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-10-05 17:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547459328001,"66":25908,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547459328001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:30:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:30:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547459328001,"power":25908,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":207801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:30:00] local.INFO: GPS data processed {"connection_id":207801,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:30:00] local.INFO: Acknowledgment sent {"connection_id":207801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:30:04] local.INFO: TCP Data received {"connection_id":204856,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:30:04] local.INFO: Processing buffer {"connection_id":204856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:30:04] local.INFO: IMEI packet received {"connection_id":204856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":204856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:30:08] local.INFO: TCP Data received {"connection_id":206252,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bee6be8012d7b090005e34f28000900a22c..."} 
[2026-10-05 17:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bee6be8012d7b090005e34f28000900a22c..."} 
[2026-10-05 17:30:08] local.INFO: Processing buffer {"connection_id":206252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bee6be8012d7b090005e34f28000900a22c..."} 
[2026-10-05 17:30:08] local.INFO: Packet analysis {"connection_id":206252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bee"} 
[2026-10-05 17:30:08] local.INFO: Extracted packet for processing {"connection_id":206252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bee"} 
[2026-10-05 17:30:08] local.INFO: GPS Element Parsed {"raw_longitude":763037952,"raw_latitude":98783016,"longitude_deg":76.3037952,"latitude_deg":9.8783016,"altitude":9,"angle":162,"satellites":44,"speed":0,"hex_longitude":"2d7b0900","hex_latitude":"05e34f28","is_valid_coordinates":true} 
[2026-10-05 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-10-05 17:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547588352001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139764287420760064,"note":"Value kept but may cause issues"} 
[2026-10-05 17:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865054416790945792,"note":"Value kept but may cause issues"} 
[2026-10-05 17:30:08] 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-10-05 17:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791201537000,"timestamp_ms":1791201537000,"timestamp_seconds":1791201537,"priority":1,"record_length":96,"hex_timestamp":"000001a10bee6be8"} 
[2026-10-05 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-10-05 17:30: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-10-05 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 17:30:08] 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-10-05 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-10-05 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-10-05 17:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:30:08] 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-10-05 17:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547588352001,"66":13428,"208":206,"85":15104,"24":0,"16":139764287420760064,"45":8865054416790945792},"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-10-05 17:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547588352001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:30:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:30:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139764287420760064,"km_value":139764287420760.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865054416790945792,"description":"Unknown IO ID 45"} 
[2026-10-05 17:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547588352001,"power":13428,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865054416790945792}} 
[2026-10-05 17:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":206252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968883,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:30:08] local.INFO: GPS data processed {"connection_id":206252,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:30:08] local.INFO: Acknowledgment sent {"connection_id":206252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:30:10] local.INFO: TCP Data received {"connection_id":204856,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:30:10] local.INFO: Processing buffer {"connection_id":204856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:30:10] local.INFO: IMEI packet received {"connection_id":204856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":204856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:30:11] local.INFO: TCP Data received {"connection_id":204856,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bedd778012d19e7c0072002700024007b2e..."} 
[2026-10-05 17:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bedd778012d19e7c0072002700024007b2e..."} 
[2026-10-05 17:30:11] local.INFO: Processing buffer {"connection_id":204856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bedd778012d19e7c0072002700024007b2e..."} 
[2026-10-05 17:30:11] local.INFO: Packet analysis {"connection_id":204856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bed"} 
[2026-10-05 17:30:11] local.INFO: Extracted packet for processing {"connection_id":204856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bed"} 
[2026-10-05 17:30:11] local.INFO: GPS Element Parsed {"raw_longitude":756672448,"raw_latitude":119538288,"longitude_deg":75.6672448,"latitude_deg":11.9538288,"altitude":36,"angle":123,"satellites":46,"speed":0,"hex_longitude":"2d19e7c0","hex_latitude":"07200270","is_valid_coordinates":true} 
[2026-10-05 17:30: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-10-05 17:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547578368001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25209422213021696,"note":"Value kept but may cause issues"} 
[2026-10-05 17:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861112576613543936,"note":"Value kept but may cause issues"} 
[2026-10-05 17:30:11] 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-10-05 17:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791201499000,"timestamp_ms":1791201499000,"timestamp_seconds":1791201499,"priority":1,"record_length":96,"hex_timestamp":"000001a10bedd778"} 
[2026-10-05 17:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:30: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-10-05 17:30:11] 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-10-05 17:30: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-10-05 17:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:30:11] 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-10-05 17:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547578368001,"66":12852,"101":206,"83":41984,"24":0,"16":25209422213021696,"45":1861112576613543936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 17:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547578368001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:30:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 17:30:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25209422213021696,"km_value":25209422213021.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861112576613543936,"description":"Unknown IO ID 45"} 
[2026-10-05 17:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547578368001,"power":12852,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1861112576613543936}} 
[2026-10-05 17:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":204856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:30:11] local.INFO: GPS data processed {"connection_id":204856,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:30:11] local.INFO: Acknowledgment sent {"connection_id":204856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:30:31] local.INFO: TCP Data received {"connection_id":207801,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:30:31] local.INFO: Processing buffer {"connection_id":207801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10beb04d0012d80af8006029ae0000e00d42d..."} 
[2026-10-05 17:30:31] local.INFO: Packet analysis {"connection_id":207801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:30:31] local.INFO: Extracted packet for processing {"connection_id":207801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10beb"} 
[2026-10-05 17:30:31] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":14,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547459328001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791201314000,"timestamp_ms":1791201314000,"timestamp_seconds":1791201314,"priority":1,"record_length":96,"hex_timestamp":"000001a10beb04d0"} 
[2026-10-05 17:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-10-05 17:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547459328001,"66":25908,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547459328001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:30:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:30:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547459328001,"power":25908,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":207801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:30:31] local.INFO: GPS data processed {"connection_id":207801,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:30:31] local.INFO: Acknowledgment sent {"connection_id":207801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:30:33] local.INFO: TCP Data received {"connection_id":204729,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:30:33] local.INFO: Processing buffer {"connection_id":204729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:30:33] local.INFO: IMEI packet received {"connection_id":204729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":204729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:30:35] local.INFO: TCP Data received {"connection_id":204729,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:30:35] local.INFO: Processing buffer {"connection_id":204729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:30:35] local.INFO: IMEI packet received {"connection_id":204729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":204729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:30:36] local.INFO: TCP Data received {"connection_id":204729,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:30:36] local.INFO: Processing buffer {"connection_id":204729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:30:36] local.INFO: IMEI packet received {"connection_id":204729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":204729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:30:40] local.INFO: TCP Data received {"connection_id":204729,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:30:40] local.INFO: Processing buffer {"connection_id":204729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:30:40] local.INFO: IMEI packet received {"connection_id":204729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":204729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:30:41] local.INFO: TCP Data received {"connection_id":204729,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10beebdf0012d7b090005e34f28000900a228..."} 
[2026-10-05 17:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10beebdf0012d7b090005e34f28000900a228..."} 
[2026-10-05 17:30:41] local.INFO: Processing buffer {"connection_id":204729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10beebdf0012d7b090005e34f28000900a228..."} 
[2026-10-05 17:30:41] local.INFO: Packet analysis {"connection_id":204729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bee"} 
[2026-10-05 17:30:41] local.INFO: Extracted packet for processing {"connection_id":204729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bee"} 
[2026-10-05 17:30:41] local.INFO: GPS Element Parsed {"raw_longitude":763037952,"raw_latitude":98783016,"longitude_deg":76.3037952,"latitude_deg":9.8783016,"altitude":9,"angle":162,"satellites":40,"speed":0,"hex_longitude":"2d7b0900","hex_latitude":"05e34f28","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547593472001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139764287420760064,"note":"Value kept but may cause issues"} 
[2026-10-05 17:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865617366743984128,"note":"Value kept but may cause issues"} 
[2026-10-05 17:30:41] 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-10-05 17:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791201558000,"timestamp_ms":1791201558000,"timestamp_seconds":1791201558,"priority":1,"record_length":96,"hex_timestamp":"000001a10beebdf0"} 
[2026-10-05 17:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 17:30:41] 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-10-05 17: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-10-05 17:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547593472001,"66":13765,"208":206,"85":15104,"24":0,"16":139764287420760064,"45":8865617366743984128},"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-10-05 17:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547593472001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:30:41] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139764287420760064,"km_value":139764287420760.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865617366743984128,"description":"Unknown IO ID 45"} 
[2026-10-05 17:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547593472001,"power":13765,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865617366743984128}} 
[2026-10-05 17:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":204729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:30:41] local.INFO: GPS data processed {"connection_id":204729,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:30:41] local.INFO: Acknowledgment sent {"connection_id":204729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:30:42] local.INFO: TCP Data received {"connection_id":204856,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bee2980012d19e7c0072002700024007b2e..."} 
[2026-10-05 17:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bee2980012d19e7c0072002700024007b2e..."} 
[2026-10-05 17:30:42] local.INFO: Processing buffer {"connection_id":204856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bee2980012d19e7c0072002700024007b2e..."} 
[2026-10-05 17:30:42] local.INFO: Packet analysis {"connection_id":204856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bee"} 
[2026-10-05 17:30:42] local.INFO: Extracted packet for processing {"connection_id":204856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bee"} 
[2026-10-05 17:30:42] local.INFO: GPS Element Parsed {"raw_longitude":756672448,"raw_latitude":119538288,"longitude_deg":75.6672448,"latitude_deg":11.9538288,"altitude":36,"angle":123,"satellites":46,"speed":0,"hex_longitude":"2d19e7c0","hex_latitude":"07200270","is_valid_coordinates":true} 
[2026-10-05 17:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547583744001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25209422213021696,"note":"Value kept but may cause issues"} 
[2026-10-05 17:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866671707402694656,"note":"Value kept but may cause issues"} 
[2026-10-05 17:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791201520000,"timestamp_ms":1791201520000,"timestamp_seconds":1791201520,"priority":1,"record_length":96,"hex_timestamp":"000001a10bee2980"} 
[2026-10-05 17:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:30:42] 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-10-05 17:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 17:30:42] 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-10-05 17:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:30: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-10-05 17:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547583744001,"66":12537,"101":206,"83":41984,"24":0,"16":25209422213021696,"45":1866671707402694656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 17:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547583744001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:30:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 17:30:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25209422213021696,"km_value":25209422213021.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866671707402694656,"description":"Unknown IO ID 45"} 
[2026-10-05 17:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547583744001,"power":12537,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1866671707402694656}} 
[2026-10-05 17:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":204856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:30:42] local.INFO: GPS data processed {"connection_id":204856,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:30:42] local.INFO: Acknowledgment sent {"connection_id":204856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:30:46] local.INFO: TCP Data received {"connection_id":204729,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bef0ff8012d7b090005e34f28000900a223..."} 
[2026-10-05 17:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bef0ff8012d7b090005e34f28000900a223..."} 
[2026-10-05 17:30:46] local.INFO: Processing buffer {"connection_id":204729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bef0ff8012d7b090005e34f28000900a223..."} 
[2026-10-05 17:30:46] local.INFO: Packet analysis {"connection_id":204729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:30:46] local.INFO: Extracted packet for processing {"connection_id":204729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:30:46] local.INFO: GPS Element Parsed {"raw_longitude":763037952,"raw_latitude":98783016,"longitude_deg":76.3037952,"latitude_deg":9.8783016,"altitude":9,"angle":162,"satellites":35,"speed":0,"hex_longitude":"2d7b0900","hex_latitude":"05e34f28","is_valid_coordinates":true} 
[2026-10-05 17:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547598848001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139764287420760064,"note":"Value kept but may cause issues"} 
[2026-10-05 17:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865617366743984128,"note":"Value kept but may cause issues"} 
[2026-10-05 17:30:46] 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-10-05 17:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791201579000,"timestamp_ms":1791201579000,"timestamp_seconds":1791201579,"priority":1,"record_length":96,"hex_timestamp":"000001a10bef0ff8"} 
[2026-10-05 17:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-10-05 17:30:46] 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-10-05 17:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:30:46] 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-10-05 17:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547598848001,"66":13830,"208":206,"85":15104,"24":0,"16":139764287420760064,"45":8865617366743984128},"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-10-05 17:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547598848001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:30:46] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:30:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139764287420760064,"km_value":139764287420760.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865617366743984128,"description":"Unknown IO ID 45"} 
[2026-10-05 17:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547598848001,"power":13830,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865617366743984128}} 
[2026-10-05 17:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":204729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:30:46] local.INFO: GPS data processed {"connection_id":204729,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:30:46] local.INFO: Acknowledgment sent {"connection_id":204729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:30:53] local.INFO: TCP Data received {"connection_id":206255,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:30:53] local.INFO: Processing buffer {"connection_id":206255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:30:53] local.INFO: IMEI packet received {"connection_id":206255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":206255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:30:54] local.INFO: TCP Data received {"connection_id":206255,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:30:54] local.INFO: Processing buffer {"connection_id":206255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:30:54] local.INFO: IMEI packet received {"connection_id":206255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":206255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:30:59] local.INFO: TCP Data received {"connection_id":206255,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:30:59] local.INFO: Processing buffer {"connection_id":206255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:30:59] local.INFO: IMEI packet received {"connection_id":206255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":206255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:31:00] local.INFO: TCP Data received {"connection_id":206255,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:31:00] local.INFO: Processing buffer {"connection_id":206255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:31:00] local.INFO: Packet analysis {"connection_id":206255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:31:00] local.INFO: Extracted packet for processing {"connection_id":206255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:31:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":17,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547536384001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791201615000,"timestamp_ms":1791201615000,"timestamp_seconds":1791201615,"priority":1,"record_length":96,"hex_timestamp":"000001a10bef9c98"} 
[2026-10-05 17:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 17:31: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-10-05 17: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-10-05 17:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547536384001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547536384001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:31:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:31:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547536384001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":206255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:31:00] local.INFO: GPS data processed {"connection_id":206255,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:31:00] local.INFO: Acknowledgment sent {"connection_id":206255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:31:10] local.INFO: TCP Data received {"connection_id":204857,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:31:10] local.INFO: Processing buffer {"connection_id":204857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:31:10] local.INFO: IMEI packet received {"connection_id":204857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":204857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:31:15] local.INFO: TCP Data received {"connection_id":204857,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:31:15] local.INFO: Processing buffer {"connection_id":204857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:31:15] local.INFO: IMEI packet received {"connection_id":204857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":204857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:31:16] local.INFO: TCP Data received {"connection_id":204857,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bee7b88012d19e7c0072002700024007b2c..."} 
[2026-10-05 17:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bee7b88012d19e7c0072002700024007b2c..."} 
[2026-10-05 17:31:16] local.INFO: Processing buffer {"connection_id":204857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bee7b88012d19e7c0072002700024007b2c..."} 
[2026-10-05 17:31:16] local.INFO: Packet analysis {"connection_id":204857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bee"} 
[2026-10-05 17:31:16] local.INFO: Extracted packet for processing {"connection_id":204857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bee"} 
[2026-10-05 17:31:16] local.INFO: GPS Element Parsed {"raw_longitude":756672448,"raw_latitude":119538288,"longitude_deg":75.6672448,"latitude_deg":11.9538288,"altitude":36,"angle":123,"satellites":44,"speed":0,"hex_longitude":"2d19e7c0","hex_latitude":"07200270","is_valid_coordinates":true} 
[2026-10-05 17:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547589120001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25209422213021696,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866671707402694656,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791201541000,"timestamp_ms":1791201541000,"timestamp_seconds":1791201541,"priority":1,"record_length":96,"hex_timestamp":"000001a10bee7b88"} 
[2026-10-05 17:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:31: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-10-05 17:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-05 17:31:16] 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-10-05 17:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547589120001,"66":12689,"101":206,"83":41984,"24":0,"16":25209422213021696,"45":1866671707402694656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 17:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547589120001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:31:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 17:31:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25209422213021696,"km_value":25209422213021.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866671707402694656,"description":"Unknown IO ID 45"} 
[2026-10-05 17:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547589120001,"power":12689,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1866671707402694656}} 
[2026-10-05 17:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":204857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:31:16] local.INFO: GPS data processed {"connection_id":204857,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:31:16] local.INFO: Acknowledgment sent {"connection_id":204857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:31:20] local.INFO: TCP Data received {"connection_id":204857,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10beecd90012d19e7c0072002700024007b2f..."} 
[2026-10-05 17:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10beecd90012d19e7c0072002700024007b2f..."} 
[2026-10-05 17:31:20] local.INFO: Processing buffer {"connection_id":204857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10beecd90012d19e7c0072002700024007b2f..."} 
[2026-10-05 17:31:20] local.INFO: Packet analysis {"connection_id":204857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bee"} 
[2026-10-05 17:31:20] local.INFO: Extracted packet for processing {"connection_id":204857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bee"} 
[2026-10-05 17:31:20] local.INFO: GPS Element Parsed {"raw_longitude":756672448,"raw_latitude":119538288,"longitude_deg":75.6672448,"latitude_deg":11.9538288,"altitude":36,"angle":123,"satellites":47,"speed":0,"hex_longitude":"2d19e7c0","hex_latitude":"07200270","is_valid_coordinates":true} 
[2026-10-05 17:31: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-10-05 17:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547594496001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25209422213021696,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866671707402694656,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791201562000,"timestamp_ms":1791201562000,"timestamp_seconds":1791201562,"priority":1,"record_length":96,"hex_timestamp":"000001a10beecd90"} 
[2026-10-05 17:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:31: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-10-05 17:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 17:31:20] 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-10-05 17:31: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-10-05 17:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":204857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":204857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":204857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:31:20] 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-10-05 17:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547594496001,"66":12722,"101":206,"83":41984,"24":0,"16":25209422213021696,"45":1866671707402694656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 17:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547594496001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:31:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 17:31:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25209422213021696,"km_value":25209422213021.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866671707402694656,"description":"Unknown IO ID 45"} 
[2026-10-05 17:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547594496001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1866671707402694656}} 
[2026-10-05 17:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":204857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:31:20] local.INFO: GPS data processed {"connection_id":204857,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:31:20] local.INFO: Acknowledgment sent {"connection_id":204857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:31:30] local.INFO: TCP Data received {"connection_id":204858,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:31:30] local.INFO: Processing buffer {"connection_id":204858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:31:30] local.INFO: IMEI packet received {"connection_id":204858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":204858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:31:32] local.INFO: TCP Data received {"connection_id":206255,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:31:32] local.INFO: Processing buffer {"connection_id":206255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:31:32] local.INFO: Packet analysis {"connection_id":206255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:31:32] local.INFO: Extracted packet for processing {"connection_id":206255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:31:32] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":17,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547536384001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791201615000,"timestamp_ms":1791201615000,"timestamp_seconds":1791201615,"priority":1,"record_length":96,"hex_timestamp":"000001a10bef9c98"} 
[2026-10-05 17:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 17:31:32] 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-10-05 17: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-10-05 17:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547536384001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547536384001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:31:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:31:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547536384001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":206255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:31:32] local.INFO: GPS data processed {"connection_id":206255,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:31:32] local.INFO: Acknowledgment sent {"connection_id":206255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:31:35] local.INFO: TCP Data received {"connection_id":204858,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:31:35] local.INFO: Processing buffer {"connection_id":204858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:31:35] local.INFO: IMEI packet received {"connection_id":204858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":204858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:31:36] local.INFO: TCP Data received {"connection_id":204858,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bef6200012d7b090005e34f28000900a226..."} 
[2026-10-05 17:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bef6200012d7b090005e34f28000900a226..."} 
[2026-10-05 17:31:36] local.INFO: Processing buffer {"connection_id":204858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bef6200012d7b090005e34f28000900a226..."} 
[2026-10-05 17:31:36] local.INFO: Packet analysis {"connection_id":204858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:31:36] local.INFO: Extracted packet for processing {"connection_id":204858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:31:36] local.INFO: GPS Element Parsed {"raw_longitude":763037952,"raw_latitude":98783016,"longitude_deg":76.3037952,"latitude_deg":9.8783016,"altitude":9,"angle":162,"satellites":38,"speed":0,"hex_longitude":"2d7b0900","hex_latitude":"05e34f28","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547604224001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139764287420760064,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865617366743984128,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31: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-10-05 17:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791201600000,"timestamp_ms":1791201600000,"timestamp_seconds":1791201600,"priority":1,"record_length":96,"hex_timestamp":"000001a10bef6200"} 
[2026-10-05 17:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17: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-10-05 17: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":6,"data_length":795,"current_offset":136} 
[2026-10-05 17:31:36] local.WARNING: Large IO value detected {"io_id":24,"raw_value":1688858465992704,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626583277312,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31:36] local.WARNING: Large IO value detected {"io_id":138,"raw_value":3439329280,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2327511040,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31:36] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3989553153,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-10-05 17:31:36] local.WARNING: Large IO value detected {"io_id":195,"raw_value":4026609019,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31:36] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2147869529,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31:36] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024927,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3814477824,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31:36] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-576129271035066909,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31:36] local.WARNING: Large IO value detected {"io_id":98,"raw_value":-8646902485720760301,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31:36] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,208,85,24,241,157,16,138,161,189,45,79,9,40,10,66,107,44,29,1,240,230,227,11,4,113,205,6,195,3,216,239,52,2,5,7,152,98],"length":528,"final_offset":658,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-10-05 17:31:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648696617548906496,"timestamp_seconds":648696617548906.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 17:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:31: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-10-05 17:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547604224001,"66":13254,"208":206,"85":15104,"24":0,"16":139764287420760064,"45":8865617366743984128},"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-10-05 17:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547604224001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:31:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:31:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139764287420760064,"km_value":139764287420760.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865617366743984128,"description":"Unknown IO ID 45"} 
[2026-10-05 17:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547604224001,"power":13254,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865617366743984128}} 
[2026-10-05 17:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":204858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:31:36] local.INFO: GPS data processed {"connection_id":204858,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:31:36] local.INFO: Acknowledgment sent {"connection_id":204858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:31:39] local.INFO: TCP Data received {"connection_id":204858,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10befb408012d7b090005e34f28000900a225..."} 
[2026-10-05 17:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10befb408012d7b090005e34f28000900a225..."} 
[2026-10-05 17:31:39] local.INFO: Processing buffer {"connection_id":204858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10befb408012d7b090005e34f28000900a225..."} 
[2026-10-05 17:31:39] local.INFO: Packet analysis {"connection_id":204858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:31:39] local.INFO: Extracted packet for processing {"connection_id":204858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:31:39] local.INFO: GPS Element Parsed {"raw_longitude":763037952,"raw_latitude":98783016,"longitude_deg":76.3037952,"latitude_deg":9.8783016,"altitude":9,"angle":162,"satellites":37,"speed":0,"hex_longitude":"2d7b0900","hex_latitude":"05e34f28","is_valid_coordinates":true} 
[2026-10-05 17:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547609600001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139764287420760064,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865617366743984128,"note":"Value kept but may cause issues"} 
[2026-10-05 17:31: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-10-05 17:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791201621000,"timestamp_ms":1791201621000,"timestamp_seconds":1791201621,"priority":1,"record_length":96,"hex_timestamp":"000001a10befb408"} 
[2026-10-05 17:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:31: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-10-05 17:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-10-05 17:31: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-10-05 17:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":204858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":204858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":204858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:31: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-10-05 17:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547609600001,"66":13472,"208":206,"85":15104,"24":0,"16":139764287420760064,"45":8865617366743984128},"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-10-05 17:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547609600001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:31:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:31:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139764287420760064,"km_value":139764287420760.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865617366743984128,"description":"Unknown IO ID 45"} 
[2026-10-05 17:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547609600001,"power":13472,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865617366743984128}} 
[2026-10-05 17:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":204858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:31:39] local.INFO: GPS data processed {"connection_id":204858,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:31:39] local.INFO: Acknowledgment sent {"connection_id":204858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:31:54] local.INFO: TCP Data received {"connection_id":204730,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:31:54] local.INFO: Processing buffer {"connection_id":204730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:31:54] local.INFO: IMEI packet received {"connection_id":204730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":204730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:31:59] local.INFO: TCP Data received {"connection_id":204730,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:31:59] local.INFO: Processing buffer {"connection_id":204730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:31:59] local.INFO: IMEI packet received {"connection_id":204730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":204730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:32:00] local.INFO: TCP Data received {"connection_id":204730,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:32:00] local.INFO: Processing buffer {"connection_id":204730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:32:00] local.INFO: Packet analysis {"connection_id":204730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:32:00] local.INFO: Extracted packet for processing {"connection_id":204730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:32:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":17,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547536384001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791201615000,"timestamp_ms":1791201615000,"timestamp_seconds":1791201615,"priority":1,"record_length":96,"hex_timestamp":"000001a10bef9c98"} 
[2026-10-05 17:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":52,"data_length":795,"current_offset":136} 
[2026-10-05 17:32: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-10-05 17: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-10-05 17:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547536384001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547536384001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:32:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:32:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547536384001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":204730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:32:00] local.INFO: GPS data processed {"connection_id":204730,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:32:00] local.INFO: Acknowledgment sent {"connection_id":204730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:32:04] local.INFO: TCP Data received {"connection_id":204860,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:32:04] local.INFO: Processing buffer {"connection_id":204860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:32:04] local.INFO: IMEI packet received {"connection_id":204860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":204860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:32:04] local.INFO: TCP Data received {"connection_id":204860,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:32:04] local.INFO: Processing buffer {"connection_id":204860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:32:04] local.INFO: IMEI packet received {"connection_id":204860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":204860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:32:09] local.INFO: TCP Data received {"connection_id":204860,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:32:09] local.INFO: Processing buffer {"connection_id":204860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:32:09] local.INFO: IMEI packet received {"connection_id":204860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":204860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:32:10] local.INFO: TCP Data received {"connection_id":204858,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10befc790012d7b090005e34cf8000800af25..."} 
[2026-10-05 17:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10befc790012d7b090005e34cf8000800af25..."} 
[2026-10-05 17:32:10] local.INFO: Processing buffer {"connection_id":204858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10befc790012d7b090005e34cf8000800af25..."} 
[2026-10-05 17:32:10] local.INFO: Packet analysis {"connection_id":204858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:32:10] local.INFO: Extracted packet for processing {"connection_id":204858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:32:10] local.INFO: GPS Element Parsed {"raw_longitude":763037952,"raw_latitude":98782456,"longitude_deg":76.3037952,"latitude_deg":9.8782456,"altitude":8,"angle":175,"satellites":37,"speed":9,"hex_longitude":"2d7b0900","hex_latitude":"05e34cf8","is_valid_coordinates":true} 
[2026-10-05 17:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547614976001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139764313190563840,"note":"Value kept but may cause issues"} 
[2026-10-05 17:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865617366743984128,"note":"Value kept but may cause issues"} 
[2026-10-05 17:32:10] 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-10-05 17:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791201626000,"timestamp_ms":1791201626000,"timestamp_seconds":1791201626,"priority":1,"record_length":96,"hex_timestamp":"000001a10befc790"} 
[2026-10-05 17:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-10-05 17:32:10] 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-10-05 17:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:32: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-10-05 17:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547614976001,"66":13189,"208":206,"85":15104,"24":9,"16":139764313190563840,"45":8865617366743984128},"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-10-05 17:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547614976001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:32:10] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139764313190563840,"km_value":139764313190563.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865617366743984128,"description":"Unknown IO ID 45"} 
[2026-10-05 17:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547614976001,"power":13189,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8865617366743984128}} 
[2026-10-05 17:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":204858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:32:10] local.INFO: GPS data processed {"connection_id":204858,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:32:10] local.INFO: Acknowledgment sent {"connection_id":204858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:32:10] local.INFO: TCP Data received {"connection_id":204860,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf07b40012d1a1f40071ff1880030006a2c..."} 
[2026-10-05 17:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf07b40012d1a1f40071ff1880030006a2c..."} 
[2026-10-05 17:32:10] local.INFO: Processing buffer {"connection_id":204860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf07b40012d1a1f40071ff1880030006a2c..."} 
[2026-10-05 17:32:10] local.INFO: Packet analysis {"connection_id":204860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf0"} 
[2026-10-05 17:32:10] local.INFO: Extracted packet for processing {"connection_id":204860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf0"} 
[2026-10-05 17:32:10] local.INFO: GPS Element Parsed {"raw_longitude":756686656,"raw_latitude":119533960,"longitude_deg":75.6686656,"latitude_deg":11.953396,"altitude":48,"angle":106,"satellites":44,"speed":34,"hex_longitude":"2d1a1f40","hex_latitude":"071ff188","is_valid_coordinates":true} 
[2026-10-05 17:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547625216001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25210160947396608,"note":"Value kept but may cause issues"} 
[2026-10-05 17:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872090100704016384,"note":"Value kept but may cause issues"} 
[2026-10-05 17:32:10] 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-10-05 17:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791201672000,"timestamp_ms":1791201672000,"timestamp_seconds":1791201672,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf07b40"} 
[2026-10-05 17:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:32:10] 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-10-05 17:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 17:32:10] 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-10-05 17:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:32:10] 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-10-05 17:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547625216001,"66":14298,"101":206,"83":41984,"24":34,"16":25210160947396608,"45":1872090100704016384},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 17:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547625216001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:32:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 17:32:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25210160947396608,"km_value":25210160947396.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872090100704016384,"description":"Unknown IO ID 45"} 
[2026-10-05 17:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547625216001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1872090100704016384}} 
[2026-10-05 17:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":204860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:32:10] local.INFO: GPS data processed {"connection_id":204860,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:32:10] local.INFO: Acknowledgment sent {"connection_id":204860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:32:30] local.INFO: TCP Data received {"connection_id":206256,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:32:30] local.INFO: Processing buffer {"connection_id":206256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:32:30] local.INFO: IMEI packet received {"connection_id":206256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":206256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:32:31] local.INFO: TCP Data received {"connection_id":204730,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:32:31] local.INFO: Processing buffer {"connection_id":204730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:32:31] local.INFO: Packet analysis {"connection_id":204730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:32:31] local.INFO: Extracted packet for processing {"connection_id":204730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:32:31] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":17,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547536384001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791201615000,"timestamp_ms":1791201615000,"timestamp_seconds":1791201615,"priority":1,"record_length":96,"hex_timestamp":"000001a10bef9c98"} 
[2026-10-05 17:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 17:32:31] 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-10-05 17: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-10-05 17:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547536384001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547536384001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:32:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:32:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547536384001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":204730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:32:31] local.INFO: GPS data processed {"connection_id":204730,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:32:31] local.INFO: Acknowledgment sent {"connection_id":204730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:32:35] local.INFO: TCP Data received {"connection_id":206256,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:32:35] local.INFO: Processing buffer {"connection_id":206256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:32:35] local.INFO: IMEI packet received {"connection_id":206256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":206256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:32:36] local.INFO: TCP Data received {"connection_id":206256,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf15600012d7b10c005e31c50000d007a24..."} 
[2026-10-05 17:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf15600012d7b10c005e31c50000d007a24..."} 
[2026-10-05 17:32:36] local.INFO: Processing buffer {"connection_id":206256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf15600012d7b10c005e31c50000d007a24..."} 
[2026-10-05 17:32:36] local.INFO: Packet analysis {"connection_id":206256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf1"} 
[2026-10-05 17:32:36] local.INFO: Extracted packet for processing {"connection_id":206256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf1"} 
[2026-10-05 17:32:36] local.INFO: GPS Element Parsed {"raw_longitude":763039936,"raw_latitude":98770000,"longitude_deg":76.3039936,"latitude_deg":9.877,"altitude":13,"angle":122,"satellites":36,"speed":0,"hex_longitude":"2d7b10c0","hex_latitude":"05e31c50","is_valid_coordinates":true} 
[2026-10-05 17:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547641600001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139764957435658240,"note":"Value kept but may cause issues"} 
[2026-10-05 17:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867798797810163712,"note":"Value kept but may cause issues"} 
[2026-10-05 17:32: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-10-05 17:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791201728000,"timestamp_ms":1791201728000,"timestamp_seconds":1791201728,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf15600"} 
[2026-10-05 17:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-05 17:32:36] 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-10-05 17:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:32: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-10-05 17:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547641600001,"66":13352,"208":206,"85":15104,"24":0,"16":139764957435658240,"45":8867798797810163712},"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-10-05 17:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547641600001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:32:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:32:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139764957435658240,"km_value":139764957435658.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867798797810163712,"description":"Unknown IO ID 45"} 
[2026-10-05 17:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547641600001,"power":13352,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8867798797810163712}} 
[2026-10-05 17:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":206256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:32:36] local.INFO: GPS data processed {"connection_id":206256,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:32:36] local.INFO: Acknowledgment sent {"connection_id":206256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:32:41] local.INFO: TCP Data received {"connection_id":204860,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf0a638012d1a4400071fe7b0003000672b..."} 
[2026-10-05 17:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf0a638012d1a4400071fe7b0003000672b..."} 
[2026-10-05 17:32:41] local.INFO: Processing buffer {"connection_id":204860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf0a638012d1a4400071fe7b0003000672b..."} 
[2026-10-05 17:32:41] local.INFO: Packet analysis {"connection_id":204860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf0"} 
[2026-10-05 17:32:41] local.INFO: Extracted packet for processing {"connection_id":204860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf0"} 
[2026-10-05 17:32:41] local.INFO: GPS Element Parsed {"raw_longitude":756696064,"raw_latitude":119531440,"longitude_deg":75.6696064,"latitude_deg":11.953144,"altitude":48,"angle":103,"satellites":43,"speed":36,"hex_longitude":"2d1a4400","hex_latitude":"071fe7b0","is_valid_coordinates":true} 
[2026-10-05 17:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547628032001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25210624803864576,"note":"Value kept but may cause issues"} 
[2026-10-05 17:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882293568609028096,"note":"Value kept but may cause issues"} 
[2026-10-05 17:32:41] 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-10-05 17:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791201683000,"timestamp_ms":1791201683000,"timestamp_seconds":1791201683,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf0a638"} 
[2026-10-05 17:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:32: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-10-05 17:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-10-05 17:32:41] 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-10-05 17:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:32:41] 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-10-05 17:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547628032001,"66":14026,"101":206,"83":41984,"24":36,"16":25210624803864576,"45":1882293568609028096},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 17:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547628032001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:32:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 17:32:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25210624803864576,"km_value":25210624803864.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882293568609028096,"description":"Unknown IO ID 45"} 
[2026-10-05 17:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547628032001,"power":14026,"unknown_101":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1882293568609028096}} 
[2026-10-05 17:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":204860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:32:41] local.INFO: GPS data processed {"connection_id":204860,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:32:41] local.INFO: Acknowledgment sent {"connection_id":204860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:32:54] local.INFO: TCP Data received {"connection_id":207802,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:32:54] local.INFO: TCP Data received {"connection_id":206257,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:32:54] local.INFO: Processing buffer {"connection_id":207802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:32:54] local.INFO: IMEI packet received {"connection_id":207802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":207802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206257,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:32:54] local.INFO: Processing buffer {"connection_id":206257,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:32:54] local.INFO: IMEI packet received {"connection_id":206257,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 17:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":206257,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:32:59] local.INFO: TCP Data received {"connection_id":207802,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:32:59] local.INFO: Processing buffer {"connection_id":207802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:32:59] local.INFO: IMEI packet received {"connection_id":207802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":207802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:33:00] local.INFO: TCP Data received {"connection_id":207802,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:33:00] local.INFO: Processing buffer {"connection_id":207802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:33:00] local.INFO: Packet analysis {"connection_id":207802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:33:00] local.INFO: Extracted packet for processing {"connection_id":207802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:33:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":17,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 17:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547536384001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791201615000,"timestamp_ms":1791201615000,"timestamp_seconds":1791201615,"priority":1,"record_length":96,"hex_timestamp":"000001a10bef9c98"} 
[2026-10-05 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-10-05 17:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 17:33: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-10-05 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-10-05 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-10-05 17:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:33:00] 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-10-05 17:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547536384001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547536384001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:33:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:33:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547536384001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":207802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:33:00] local.INFO: GPS data processed {"connection_id":207802,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:33:00] local.INFO: Acknowledgment sent {"connection_id":207802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:33:05] local.INFO: TCP Data received {"connection_id":204861,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:33:05] local.INFO: Processing buffer {"connection_id":204861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:33:05] local.INFO: IMEI packet received {"connection_id":204861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":204861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:33:05] local.INFO: TCP Data received {"connection_id":204861,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:33:05] local.INFO: Processing buffer {"connection_id":204861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:33:05] local.INFO: IMEI packet received {"connection_id":204861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":204861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:33:07] local.INFO: TCP Data received {"connection_id":206256,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf16d70012d7b10c005e31b30000d00a924..."} 
[2026-10-05 17:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf16d70012d7b10c005e31b30000d00a924..."} 
[2026-10-05 17:33:07] local.INFO: Processing buffer {"connection_id":206256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf16d70012d7b10c005e31b30000d00a924..."} 
[2026-10-05 17:33:07] local.INFO: Packet analysis {"connection_id":206256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf1"} 
[2026-10-05 17:33:07] local.INFO: Extracted packet for processing {"connection_id":206256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf1"} 
[2026-10-05 17:33:07] local.INFO: GPS Element Parsed {"raw_longitude":763039936,"raw_latitude":98769712,"longitude_deg":76.3039936,"latitude_deg":9.8769712,"altitude":13,"angle":169,"satellites":36,"speed":1,"hex_longitude":"2d7b10c0","hex_latitude":"05e31b30","is_valid_coordinates":true} 
[2026-10-05 17:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547642368001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139764974615527424,"note":"Value kept but may cause issues"} 
[2026-10-05 17:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867798797810159616,"note":"Value kept but may cause issues"} 
[2026-10-05 17:33: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-10-05 17:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791201734000,"timestamp_ms":1791201734000,"timestamp_seconds":1791201734,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf16d70"} 
[2026-10-05 17:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 17:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":206256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":206256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":206256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:33:07] 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-10-05 17:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547642368001,"66":13319,"208":206,"85":15104,"24":1,"16":139764974615527424,"45":8867798797810159616},"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-10-05 17:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547642368001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:33:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:33:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139764974615527424,"km_value":139764974615527.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867798797810159616,"description":"Unknown IO ID 45"} 
[2026-10-05 17:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547642368001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8867798797810159616}} 
[2026-10-05 17:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":206256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:33:07] local.INFO: GPS data processed {"connection_id":206256,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:33:07] local.INFO: Acknowledgment sent {"connection_id":206256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:33:10] local.INFO: TCP Data received {"connection_id":204861,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:33:10] local.INFO: Processing buffer {"connection_id":204861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:33:10] local.INFO: IMEI packet received {"connection_id":204861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":204861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:33:11] local.INFO: TCP Data received {"connection_id":204861,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf0b1f0012d1a4e00071fe408003100772d..."} 
[2026-10-05 17:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf0b1f0012d1a4e00071fe408003100772d..."} 
[2026-10-05 17:33:11] local.INFO: Processing buffer {"connection_id":204861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf0b1f0012d1a4e00071fe408003100772d..."} 
[2026-10-05 17:33:11] local.INFO: Packet analysis {"connection_id":204861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf0"} 
[2026-10-05 17:33:11] local.INFO: Extracted packet for processing {"connection_id":204861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf0"} 
[2026-10-05 17:33:11] local.INFO: GPS Element Parsed {"raw_longitude":756698624,"raw_latitude":119530504,"longitude_deg":75.6698624,"latitude_deg":11.9530504,"altitude":49,"angle":119,"satellites":45,"speed":35,"hex_longitude":"2d1a4e00","hex_latitude":"071fe408","is_valid_coordinates":true} 
[2026-10-05 17:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547630848001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25210753652883456,"note":"Value kept but may cause issues"} 
[2026-10-05 17:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1892637774002499584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:33:11] 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-10-05 17:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791201686000,"timestamp_ms":1791201686000,"timestamp_seconds":1791201686,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf0b1f0"} 
[2026-10-05 17:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:33: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-10-05 17:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-10-05 17:33:11] 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-10-05 17:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:33:11] 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-10-05 17:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547630848001,"66":13972,"101":206,"83":41984,"24":35,"16":25210753652883456,"45":1892637774002499584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 17:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547630848001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:33:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 17:33:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25210753652883456,"km_value":25210753652883.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1892637774002499584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547630848001,"power":13972,"unknown_101":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1892637774002499584}} 
[2026-10-05 17:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":204861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:33:11] local.INFO: GPS data processed {"connection_id":204861,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:33:11] local.INFO: Acknowledgment sent {"connection_id":204861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:33:29] local.INFO: TCP Data received {"connection_id":206258,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:33:29] local.INFO: Processing buffer {"connection_id":206258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:33:29] local.INFO: IMEI packet received {"connection_id":206258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":206258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:33:31] local.INFO: TCP Data received {"connection_id":206258,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:33:31] local.INFO: Processing buffer {"connection_id":206258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:33:31] local.INFO: IMEI packet received {"connection_id":206258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":206258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:33:31] local.INFO: TCP Data received {"connection_id":207802,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:33:31] local.INFO: Processing buffer {"connection_id":207802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:33:31] local.INFO: Packet analysis {"connection_id":207802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:33:31] local.INFO: Extracted packet for processing {"connection_id":207802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:33:31] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":17,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 17:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547536384001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791201615000,"timestamp_ms":1791201615000,"timestamp_seconds":1791201615,"priority":1,"record_length":96,"hex_timestamp":"000001a10bef9c98"} 
[2026-10-05 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-10-05 17:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 17:33:31] 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-10-05 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-10-05 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-10-05 17:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:33:31] 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-10-05 17:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547536384001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547536384001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:33:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:33:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547536384001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":207802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:33:31] local.INFO: GPS data processed {"connection_id":207802,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:33:31] local.INFO: Acknowledgment sent {"connection_id":207802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:33:33] local.INFO: TCP Data received {"connection_id":206258,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:33:33] local.INFO: Processing buffer {"connection_id":206258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:33:33] local.INFO: IMEI packet received {"connection_id":206258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":206258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:33:34] local.INFO: TCP Data received {"connection_id":204731,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204731,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:33:34] local.INFO: Processing buffer {"connection_id":204731,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:33:34] local.INFO: IMEI packet received {"connection_id":204731,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 17:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":204731,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:33:34] local.INFO: TCP Data received {"connection_id":206258,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf27ee0012d7b174005e30470000f00a721..."} 
[2026-10-05 17:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf27ee0012d7b174005e30470000f00a721..."} 
[2026-10-05 17:33:34] local.INFO: Processing buffer {"connection_id":206258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf27ee0012d7b174005e30470000f00a721..."} 
[2026-10-05 17:33:34] local.INFO: Packet analysis {"connection_id":206258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf2"} 
[2026-10-05 17:33:34] local.INFO: Extracted packet for processing {"connection_id":206258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf2"} 
[2026-10-05 17:33:34] local.INFO: GPS Element Parsed {"raw_longitude":763041600,"raw_latitude":98763888,"longitude_deg":76.30416,"latitude_deg":9.8763888,"altitude":15,"angle":167,"satellites":33,"speed":5,"hex_longitude":"2d7b1740","hex_latitude":"05e30470","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547661312001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139765292443107328,"note":"Value kept but may cause issues"} 
[2026-10-05 17:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869628385157283840,"note":"Value kept but may cause issues"} 
[2026-10-05 17:33: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-10-05 17:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791201804000,"timestamp_ms":1791201804000,"timestamp_seconds":1791201804,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf27ee0"} 
[2026-10-05 17:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:33: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-10-05 17: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":154,"data_length":795,"current_offset":136} 
[2026-10-05 17:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":206258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":206258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":206258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:33:34] 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-10-05 17:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547661312001,"66":13656,"208":206,"85":15104,"24":5,"16":139765292443107328,"45":8869628385157283840},"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-10-05 17:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547661312001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:33:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:33:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139765292443107328,"km_value":139765292443107.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869628385157283840,"description":"Unknown IO ID 45"} 
[2026-10-05 17:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547661312001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8869628385157283840}} 
[2026-10-05 17:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":206258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:33:34] local.INFO: GPS data processed {"connection_id":206258,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:33:34] local.INFO: Acknowledgment sent {"connection_id":206258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:33:42] local.INFO: TCP Data received {"connection_id":204861,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf0c578012d1a5d40071fdbe0003100692c..."} 
[2026-10-05 17:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf0c578012d1a5d40071fdbe0003100692c..."} 
[2026-10-05 17:33:42] local.INFO: Processing buffer {"connection_id":204861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf0c578012d1a5d40071fdbe0003100692c..."} 
[2026-10-05 17:33:42] local.INFO: Packet analysis {"connection_id":204861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf0"} 
[2026-10-05 17:33:42] local.INFO: Extracted packet for processing {"connection_id":204861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf0"} 
[2026-10-05 17:33:42] local.INFO: GPS Element Parsed {"raw_longitude":756702528,"raw_latitude":119528416,"longitude_deg":75.6702528,"latitude_deg":11.9528416,"altitude":49,"angle":105,"satellites":44,"speed":34,"hex_longitude":"2d1a5d40","hex_latitude":"071fdbe0","is_valid_coordinates":true} 
[2026-10-05 17:33: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-10-05 17:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547631616001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25210968401248256,"note":"Value kept but may cause issues"} 
[2026-10-05 17:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1895452523769366528,"note":"Value kept but may cause issues"} 
[2026-10-05 17:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791201691000,"timestamp_ms":1791201691000,"timestamp_seconds":1791201691,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf0c578"} 
[2026-10-05 17:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:33:42] 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-10-05 17:33: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-10-05 17:33:42] 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-10-05 17:33: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-10-05 17:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:33: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-10-05 17:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547631616001,"66":14070,"101":206,"83":41984,"24":34,"16":25210968401248256,"45":1895452523769366528},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 17:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547631616001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:33:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 17:33:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25210968401248256,"km_value":25210968401248.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1895452523769366528,"description":"Unknown IO ID 45"} 
[2026-10-05 17:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547631616001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1895452523769366528}} 
[2026-10-05 17:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":204861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:33:42] local.INFO: GPS data processed {"connection_id":204861,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:33:42] local.INFO: Acknowledgment sent {"connection_id":204861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:33:54] local.INFO: TCP Data received {"connection_id":206259,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:33:54] local.INFO: Processing buffer {"connection_id":206259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:33:54] local.INFO: IMEI packet received {"connection_id":206259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":206259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:33:59] local.INFO: TCP Data received {"connection_id":206259,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:33:59] local.INFO: Processing buffer {"connection_id":206259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:33:59] local.INFO: IMEI packet received {"connection_id":206259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":206259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:34:01] local.INFO: TCP Data received {"connection_id":206259,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:34:01] local.INFO: Processing buffer {"connection_id":206259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:34:01] local.INFO: Packet analysis {"connection_id":206259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:34:01] local.INFO: Extracted packet for processing {"connection_id":206259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:34:01] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":17,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547536384001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791201615000,"timestamp_ms":1791201615000,"timestamp_seconds":1791201615,"priority":1,"record_length":96,"hex_timestamp":"000001a10bef9c98"} 
[2026-10-05 17:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 17:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":206259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":206259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":206259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547536384001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547536384001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:34:01] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:34:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547536384001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":206259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:34:01] local.INFO: GPS data processed {"connection_id":206259,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:34:01] local.INFO: Acknowledgment sent {"connection_id":206259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:34:05] local.INFO: TCP Data received {"connection_id":204732,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:34:05] local.INFO: Processing buffer {"connection_id":204732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:34:05] local.INFO: IMEI packet received {"connection_id":204732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":204732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:34:06] local.INFO: TCP Data received {"connection_id":206258,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf28a98012d7b174005e30280000f00b422..."} 
[2026-10-05 17:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf28a98012d7b174005e30280000f00b422..."} 
[2026-10-05 17:34:06] local.INFO: Processing buffer {"connection_id":206258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf28a98012d7b174005e30280000f00b422..."} 
[2026-10-05 17:34:06] local.INFO: Packet analysis {"connection_id":206258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf2"} 
[2026-10-05 17:34:06] local.INFO: Extracted packet for processing {"connection_id":206258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf2"} 
[2026-10-05 17:34:06] local.INFO: GPS Element Parsed {"raw_longitude":763041600,"raw_latitude":98763392,"longitude_deg":76.30416,"latitude_deg":9.8763392,"altitude":15,"angle":180,"satellites":34,"speed":5,"hex_longitude":"2d7b1740","hex_latitude":"05e30280","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547661824001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139765318212911104,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869628385157214208,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34: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-10-05 17:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791201807000,"timestamp_ms":1791201807000,"timestamp_seconds":1791201807,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf28a98"} 
[2026-10-05 17:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-05 17:34:06] 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-10-05 17: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-10-05 17:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":206258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":206258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":206258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:34: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-10-05 17:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547661824001,"66":13580,"208":206,"85":15104,"24":5,"16":139765318212911104,"45":8869628385157214208},"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-10-05 17:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547661824001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:34:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:34:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139765318212911104,"km_value":139765318212911.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869628385157214208,"description":"Unknown IO ID 45"} 
[2026-10-05 17:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547661824001,"power":13580,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8869628385157214208}} 
[2026-10-05 17:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":206258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:34:06] local.INFO: GPS data processed {"connection_id":206258,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:34:06] local.INFO: Acknowledgment sent {"connection_id":206258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:34:08] local.INFO: TCP Data received {"connection_id":204732,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:34:08] local.INFO: Processing buffer {"connection_id":204732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:34:08] local.INFO: IMEI packet received {"connection_id":204732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":204732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:34:09] local.INFO: TCP Data received {"connection_id":204732,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf0cd48012d1a63c0071fdb200031005c2b..."} 
[2026-10-05 17:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf0cd48012d1a63c0071fdb200031005c2b..."} 
[2026-10-05 17:34:09] local.INFO: Processing buffer {"connection_id":204732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf0cd48012d1a63c0071fdb200031005c2b..."} 
[2026-10-05 17:34:09] local.INFO: Packet analysis {"connection_id":204732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf0"} 
[2026-10-05 17:34:09] local.INFO: Extracted packet for processing {"connection_id":204732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf0"} 
[2026-10-05 17:34:09] local.INFO: GPS Element Parsed {"raw_longitude":756704192,"raw_latitude":119528224,"longitude_deg":75.6704192,"latitude_deg":11.9528224,"altitude":49,"angle":92,"satellites":43,"speed":32,"hex_longitude":"2d1a63c0","hex_latitude":"071fdb20","is_valid_coordinates":true} 
[2026-10-05 17:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547632896001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25211045710659584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1899745017163669504,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791201693000,"timestamp_ms":1791201693000,"timestamp_seconds":1791201693,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf0cd48"} 
[2026-10-05 17:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:34:09] 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-10-05 17:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 17:34: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-10-05 17:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:34: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-10-05 17:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547632896001,"66":13972,"101":206,"83":41984,"24":32,"16":25211045710659584,"45":1899745017163669504},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 17:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547632896001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:34:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 17:34:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25211045710659584,"km_value":25211045710659.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1899745017163669504,"description":"Unknown IO ID 45"} 
[2026-10-05 17:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547632896001,"power":13972,"unknown_101":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1899745017163669504}} 
[2026-10-05 17:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":204732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:34:09] local.INFO: GPS data processed {"connection_id":204732,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:34:09] local.INFO: Acknowledgment sent {"connection_id":204732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:34:28] local.INFO: TCP Data received {"connection_id":204862,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:34:28] local.INFO: Processing buffer {"connection_id":204862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:34:28] local.INFO: IMEI packet received {"connection_id":204862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":204862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:34:30] local.INFO: TCP Data received {"connection_id":204862,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:34:30] local.INFO: Processing buffer {"connection_id":204862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:34:30] local.INFO: IMEI packet received {"connection_id":204862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":204862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:34:32] local.INFO: TCP Data received {"connection_id":206259,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:34:32] local.INFO: Processing buffer {"connection_id":206259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:34:32] local.INFO: Packet analysis {"connection_id":206259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:34:32] local.INFO: Extracted packet for processing {"connection_id":206259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:34:32] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":17,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547536384001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791201615000,"timestamp_ms":1791201615000,"timestamp_seconds":1791201615,"priority":1,"record_length":96,"hex_timestamp":"000001a10bef9c98"} 
[2026-10-05 17:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 17:34:32] 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-10-05 17: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-10-05 17:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547536384001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547536384001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:34:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:34:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547536384001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":206259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:34:32] local.INFO: GPS data processed {"connection_id":206259,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:34:32] local.INFO: Acknowledgment sent {"connection_id":206259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:34:35] local.INFO: TCP Data received {"connection_id":204862,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:34:35] local.INFO: Processing buffer {"connection_id":204862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:34:35] local.INFO: IMEI packet received {"connection_id":204862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":204862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:34:36] local.INFO: TCP Data received {"connection_id":204862,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf29a38012d7b178005e2fed0000f009c21..."} 
[2026-10-05 17:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf29a38012d7b178005e2fed0000f009c21..."} 
[2026-10-05 17:34:36] local.INFO: Processing buffer {"connection_id":204862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf29a38012d7b178005e2fed0000f009c21..."} 
[2026-10-05 17:34:36] local.INFO: Packet analysis {"connection_id":204862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf2"} 
[2026-10-05 17:34:36] local.INFO: Extracted packet for processing {"connection_id":204862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf2"} 
[2026-10-05 17:34:36] local.INFO: GPS Element Parsed {"raw_longitude":763041664,"raw_latitude":98762448,"longitude_deg":76.3041664,"latitude_deg":9.8762448,"altitude":15,"angle":156,"satellites":33,"speed":9,"hex_longitude":"2d7b1780","hex_latitude":"05e2fed0","is_valid_coordinates":true} 
[2026-10-05 17:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547662592001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139765365457551360,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869628385157087232,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34: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-10-05 17:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791201811000,"timestamp_ms":1791201811000,"timestamp_seconds":1791201811,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf29a38"} 
[2026-10-05 17:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 17:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751640715,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:36] local.WARNING: Large IO value detected {"io_id":139,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:36] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635442204008400,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3809851392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-1113632655611527168,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:36] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13459408,"corrected_to":0} 
[2026-10-05 17:34:36] local.WARNING: Large IO value detected {"io_id":11,"raw_value":4064817153,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-10-05 17:34:36] local.WARNING: Large IO value detected {"io_id":18,"raw_value":3221611285,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:36] local.WARNING: Large IO value detected {"io_id":53,"raw_value":6341294086732959317,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:36] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:36] local.WARNING: Large IO value detected {"io_id":123,"raw_value":1333071962599063566,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:36] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:36] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,208,85,24,241,157,16,139,161,126,45,64,4,15,33,10,66,119,5,14,35,107,1,240,247,227,11,113,205,6,18,104,39,239,53,2,123,59],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":247,"original":13459408,"validated":0},{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-10-05 17:34:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081061968691134464,"timestamp_seconds":1081061968691134.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 17:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:34: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-10-05 17:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547662592001,"66":13515,"208":206,"85":15104,"24":9,"16":139765365457551360,"45":8869628385157087232},"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-10-05 17:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547662592001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:34:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 17:34:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139765365457551360,"km_value":139765365457551.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869628385157087232,"description":"Unknown IO ID 45"} 
[2026-10-05 17:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547662592001,"power":13515,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8869628385157087232}} 
[2026-10-05 17:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":204862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968911,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:34:36] local.INFO: GPS data processed {"connection_id":204862,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:34:36] local.INFO: Acknowledgment sent {"connection_id":204862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:34:39] local.INFO: TCP Data received {"connection_id":204732,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf0d518012d1a69c0071fda380032006d2b..."} 
[2026-10-05 17:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf0d518012d1a69c0071fda380032006d2b..."} 
[2026-10-05 17:34:39] local.INFO: Processing buffer {"connection_id":204732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf0d518012d1a69c0071fda380032006d2b..."} 
[2026-10-05 17:34:39] local.INFO: Packet analysis {"connection_id":204732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf0"} 
[2026-10-05 17:34:39] local.INFO: Extracted packet for processing {"connection_id":204732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf0"} 
[2026-10-05 17:34:39] local.INFO: GPS Element Parsed {"raw_longitude":756705728,"raw_latitude":119527992,"longitude_deg":75.6705728,"latitude_deg":11.9527992,"altitude":50,"angle":109,"satellites":43,"speed":30,"hex_longitude":"2d1a69c0","hex_latitude":"071fda38","is_valid_coordinates":true} 
[2026-10-05 17:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547633408001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25211118725103616,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901574604512239616,"note":"Value kept but may cause issues"} 
[2026-10-05 17:34:39] 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-10-05 17:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791201695000,"timestamp_ms":1791201695000,"timestamp_seconds":1791201695,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf0d518"} 
[2026-10-05 17:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:34: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-10-05 17:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-10-05 17:34:39] 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-10-05 17:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":204732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":204732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":204732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:34:39] 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-10-05 17:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547633408001,"66":13993,"101":206,"83":41984,"24":30,"16":25211118725103616,"45":1901574604512239616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 17:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547633408001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:34:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 17:34:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25211118725103616,"km_value":25211118725103.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901574604512239616,"description":"Unknown IO ID 45"} 
[2026-10-05 17:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547633408001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1901574604512239616}} 
[2026-10-05 17:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":204732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:34:39] local.INFO: GPS data processed {"connection_id":204732,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:34:39] local.INFO: Acknowledgment sent {"connection_id":204732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:34:59] local.INFO: TCP Data received {"connection_id":207804,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:34:59] local.INFO: Processing buffer {"connection_id":207804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:34:59] local.INFO: IMEI packet received {"connection_id":207804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":207804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:35:04] local.INFO: TCP Data received {"connection_id":207804,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:35:04] local.INFO: Processing buffer {"connection_id":207804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:35:04] local.INFO: IMEI packet received {"connection_id":207804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":207804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:35:04] local.INFO: TCP Data received {"connection_id":204863,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:35:04] local.INFO: Processing buffer {"connection_id":204863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:35:04] local.INFO: IMEI packet received {"connection_id":204863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":204863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:35:05] local.INFO: TCP Data received {"connection_id":207804,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:35:05] local.INFO: Processing buffer {"connection_id":207804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:35:05] local.INFO: Packet analysis {"connection_id":207804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:35:05] local.INFO: Extracted packet for processing {"connection_id":207804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:35:05] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":17,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547536384001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791201615000,"timestamp_ms":1791201615000,"timestamp_seconds":1791201615,"priority":1,"record_length":96,"hex_timestamp":"000001a10bef9c98"} 
[2026-10-05 17:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 17:35: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-10-05 17:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547536384001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547536384001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:35:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:35:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547536384001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":207804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:35:05] local.INFO: GPS data processed {"connection_id":207804,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:35:05] local.INFO: Acknowledgment sent {"connection_id":207804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:35:08] local.INFO: TCP Data received {"connection_id":204862,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf3ee10012d7b1a8005e2d818000b00ae21..."} 
[2026-10-05 17:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf3ee10012d7b1a8005e2d818000b00ae21..."} 
[2026-10-05 17:35:08] local.INFO: Processing buffer {"connection_id":204862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf3ee10012d7b1a8005e2d818000b00ae21..."} 
[2026-10-05 17:35:08] local.INFO: Packet analysis {"connection_id":204862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf3"} 
[2026-10-05 17:35:08] local.INFO: Extracted packet for processing {"connection_id":204862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf3"} 
[2026-10-05 17:35:08] local.INFO: GPS Element Parsed {"raw_longitude":763042432,"raw_latitude":98752536,"longitude_deg":76.3042432,"latitude_deg":9.8752536,"altitude":11,"angle":174,"satellites":33,"speed":3,"hex_longitude":"2d7b1a80","hex_latitude":"05e2d818","is_valid_coordinates":true} 
[2026-10-05 17:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547685632001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139765889443561472,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870472810084468736,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35: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-10-05 17:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791201898000,"timestamp_ms":1791201898000,"timestamp_seconds":1791201898,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf3ee10"} 
[2026-10-05 17:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:35: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-10-05 17:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 17:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751640716,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-1113432544495271936,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:08] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3667918859,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:08] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634742124339151,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607401678,"corrected_to":0} 
[2026-10-05 17:35:08] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2147869402,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:08] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3805999104,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:08] local.WARNING: Large IO value detected {"io_id":123,"raw_value":1891518315450859532,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:08] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-1008580505152467371,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:08] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755412326088945,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:08] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,207,85,24,241,157,16,140,161,222,45,128,217,11,32,10,66,218,31,210,1,240,29,227,226,4,113,205,183,26,192,35,239,52,2,5,123,51,59],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1607401678,"validated":0}]} 
[2026-10-05 17:35:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792844782383661056,"timestamp_seconds":792844782383661.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 17:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:35:08] 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-10-05 17:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547685632001,"66":13580,"207":206,"85":15104,"24":3,"16":139765889443561472,"45":8870472810084468736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 17:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547685632001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:35:08] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 17:35:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139765889443561472,"km_value":139765889443561.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870472810084468736,"description":"Unknown IO ID 45"} 
[2026-10-05 17:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547685632001,"power":13580,"unknown_207":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8870472810084468736}} 
[2026-10-05 17:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":204862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:35:08] local.INFO: GPS data processed {"connection_id":204862,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:35:08] local.INFO: Acknowledgment sent {"connection_id":204862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:35:10] local.INFO: TCP Data received {"connection_id":207804,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:35:10] local.INFO: Processing buffer {"connection_id":207804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bef9c98012d80af8006029ae0001100d430..."} 
[2026-10-05 17:35:10] local.INFO: Packet analysis {"connection_id":207804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:35:10] local.INFO: Extracted packet for processing {"connection_id":207804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bef"} 
[2026-10-05 17:35:10] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":17,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547536384001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791201615000,"timestamp_ms":1791201615000,"timestamp_seconds":1791201615,"priority":1,"record_length":96,"hex_timestamp":"000001a10bef9c98"} 
[2026-10-05 17:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 17:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547536384001,"66":25995,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547536384001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:35:10] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:35:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547536384001,"power":25995,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":207804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:35:10] local.INFO: GPS data processed {"connection_id":207804,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:35:10] local.INFO: Acknowledgment sent {"connection_id":207804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:35:10] local.INFO: TCP Data received {"connection_id":204863,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:35:10] local.INFO: Processing buffer {"connection_id":204863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:35:10] local.INFO: IMEI packet received {"connection_id":204863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":204863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:35:10] local.INFO: TCP Data received {"connection_id":204863,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf0dce8012d1a6f00071fd7580033007c2b..."} 
[2026-10-05 17:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf0dce8012d1a6f00071fd7580033007c2b..."} 
[2026-10-05 17:35:10] local.INFO: Processing buffer {"connection_id":204863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf0dce8012d1a6f00071fd7580033007c2b..."} 
[2026-10-05 17:35:10] local.INFO: Packet analysis {"connection_id":204863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf0"} 
[2026-10-05 17:35:10] local.INFO: Extracted packet for processing {"connection_id":204863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf0"} 
[2026-10-05 17:35:10] local.INFO: GPS Element Parsed {"raw_longitude":756707072,"raw_latitude":119527256,"longitude_deg":75.6707072,"latitude_deg":11.9527256,"altitude":51,"angle":124,"satellites":43,"speed":30,"hex_longitude":"2d1a6f00","hex_latitude":"071fd758","is_valid_coordinates":true} 
[2026-10-05 17:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547633920001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25211196034514944,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903263454372444160,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:10] 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-10-05 17:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791201697000,"timestamp_ms":1791201697000,"timestamp_seconds":1791201697,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf0dce8"} 
[2026-10-05 17:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:35:10] 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-10-05 17:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 17:35:10] 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-10-05 17:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:35:10] 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-10-05 17:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547633920001,"66":13820,"101":206,"83":41984,"24":30,"16":25211196034514944,"45":1903263454372444160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 17:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547633920001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:35:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 17:35:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25211196034514944,"km_value":25211196034514.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903263454372444160,"description":"Unknown IO ID 45"} 
[2026-10-05 17:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547633920001,"power":13820,"unknown_101":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1903263454372444160}} 
[2026-10-05 17:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":204863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:35:11] local.INFO: GPS data processed {"connection_id":204863,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:35:11] local.INFO: Acknowledgment sent {"connection_id":204863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:35:30] local.INFO: TCP Data received {"connection_id":204864,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:35:30] local.INFO: Processing buffer {"connection_id":204864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:35:30] local.INFO: IMEI packet received {"connection_id":204864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":204864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:35:35] local.INFO: TCP Data received {"connection_id":204864,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:35:35] local.INFO: Processing buffer {"connection_id":204864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:35:35] local.INFO: IMEI packet received {"connection_id":204864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":204864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:35:37] local.INFO: TCP Data received {"connection_id":204864,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf3fdb0012d7b1a8005e2d6e0000b00a023..."} 
[2026-10-05 17:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf3fdb0012d7b1a8005e2d6e0000b00a023..."} 
[2026-10-05 17:35:37] local.INFO: Processing buffer {"connection_id":204864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf3fdb0012d7b1a8005e2d6e0000b00a023..."} 
[2026-10-05 17:35:37] local.INFO: Packet analysis {"connection_id":204864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf3"} 
[2026-10-05 17:35:37] local.INFO: Extracted packet for processing {"connection_id":204864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf3"} 
[2026-10-05 17:35:37] local.INFO: GPS Element Parsed {"raw_longitude":763042432,"raw_latitude":98752224,"longitude_deg":76.3042432,"latitude_deg":9.8752224,"altitude":11,"angle":160,"satellites":35,"speed":0,"hex_longitude":"2d7b1a80","hex_latitude":"05e2d6e0","is_valid_coordinates":true} 
[2026-10-05 17:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547685888001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139765906623430656,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870543178828617728,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:37] 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-10-05 17:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791201902000,"timestamp_ms":1791201902000,"timestamp_seconds":1791201902,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf3fdb0"} 
[2026-10-05 17:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:35: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-10-05 17:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 17:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751640716,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-1113431444983644160,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:37] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3662151691,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634742124339151,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607401678,"corrected_to":0} 
[2026-10-05 17:35:37] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2147869402,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3805986816,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:37] local.WARNING: Large IO value detected {"io_id":123,"raw_value":1909532713898999819,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:37] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3675163107312848469,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:37] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:37] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,207,85,24,241,157,16,140,161,234,45,64,216,11,33,10,66,222,128,217,32,218,1,240,62,227,226,4,113,205,3,187,26,160,239,53,2,5,123,52,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1607401678,"validated":0}]} 
[2026-10-05 17:35:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792824991174557696,"timestamp_seconds":792824991174557.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 17:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:35: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-10-05 17:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547685888001,"66":13624,"207":206,"85":15104,"24":0,"16":139765906623430656,"45":8870543178828617728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 17:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547685888001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:35:37] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 17:35:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139765906623430656,"km_value":139765906623430.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870543178828617728,"description":"Unknown IO ID 45"} 
[2026-10-05 17:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547685888001,"power":13624,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8870543178828617728}} 
[2026-10-05 17:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":204864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968917,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:35:37] local.INFO: GPS data processed {"connection_id":204864,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:35:37] local.INFO: Acknowledgment sent {"connection_id":204864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:35:41] local.INFO: TCP Data received {"connection_id":204863,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf33a60012d1aa440071f9818003500732a..."} 
[2026-10-05 17:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf33a60012d1aa440071f9818003500732a..."} 
[2026-10-05 17:35:41] local.INFO: Processing buffer {"connection_id":204863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf33a60012d1aa440071f9818003500732a..."} 
[2026-10-05 17:35:41] local.INFO: Packet analysis {"connection_id":204863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf3"} 
[2026-10-05 17:35:41] local.INFO: Extracted packet for processing {"connection_id":204863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf3"} 
[2026-10-05 17:35:41] local.INFO: GPS Element Parsed {"raw_longitude":756720704,"raw_latitude":119511064,"longitude_deg":75.6720704,"latitude_deg":11.9511064,"altitude":53,"angle":115,"satellites":42,"speed":0,"hex_longitude":"2d1aa440","hex_latitude":"071f9818","is_valid_coordinates":true} 
[2026-10-05 17:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547668736001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25212226826665984,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919729740505683968,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:41] 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-10-05 17:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791201852000,"timestamp_ms":1791201852000,"timestamp_seconds":1791201852,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf33a60"} 
[2026-10-05 17:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:35: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-10-05 17:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-05 17:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2377900603419395072,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:41] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:41] local.WARNING: Large IO value detected {"io_id":11,"raw_value":-1075348755192313280,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:41] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2551709749,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-05 17:35:41] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637879051046039981,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:41] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2455699456,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:41] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2283923146325134121,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:41] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-10-05 17:35:41] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,101,83,24,241,157,16,146,161,150,45,64,152,53,41,10,66,68,39,242,1,240,227,11,31,4,113,205,78,163,96,36,239,50,2,89,7,54,8,164,93],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-05 17:35:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819179103941033984,"timestamp_seconds":3819179103941034.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 17:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:35:41] 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-10-05 17:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547668736001,"66":12776,"101":206,"83":41984,"24":0,"16":25212226826665984,"45":1919729740505683968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 17:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547668736001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:35:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 17:35:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25212226826665984,"km_value":25212226826665.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919729740505683968,"description":"Unknown IO ID 45"} 
[2026-10-05 17:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547668736001,"power":12776,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1919729740505683968}} 
[2026-10-05 17:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":204863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:35:41] local.INFO: GPS data processed {"connection_id":204863,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:35:41] local.INFO: Acknowledgment sent {"connection_id":204863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:35:54] local.INFO: TCP Data received {"connection_id":204734,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:35:54] local.INFO: Processing buffer {"connection_id":204734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:35:54] local.INFO: IMEI packet received {"connection_id":204734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":204734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:35:55] local.INFO: TCP Data received {"connection_id":204734,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:35:55] local.INFO: Processing buffer {"connection_id":204734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:35:55] local.INFO: IMEI packet received {"connection_id":204734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":204734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:35:59] local.INFO: TCP Data received {"connection_id":204734,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:35:59] local.INFO: Processing buffer {"connection_id":204734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:35:59] local.INFO: IMEI packet received {"connection_id":204734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":204734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:36:00] local.INFO: TCP Data received {"connection_id":204734,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:36:00] local.INFO: Processing buffer {"connection_id":204734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:36:00] local.INFO: Packet analysis {"connection_id":204734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:36:00] local.INFO: Extracted packet for processing {"connection_id":204734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:36:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547613440001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791201916000,"timestamp_ms":1791201916000,"timestamp_seconds":1791201916,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf43460"} 
[2026-10-05 17:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 17:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:36: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-10-05 17:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547613440001,"66":25952,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547613440001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:36:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:36:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547613440001,"power":25952,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":204734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:36:00] local.INFO: GPS data processed {"connection_id":204734,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:36:00] local.INFO: Acknowledgment sent {"connection_id":204734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:36:04] local.INFO: TCP Data received {"connection_id":204735,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:36:04] local.INFO: Processing buffer {"connection_id":204735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:36:04] local.INFO: IMEI packet received {"connection_id":204735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":204735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:36:08] local.INFO: TCP Data received {"connection_id":204864,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf40968012d7b1a4005e2d4a8000b00ad23..."} 
[2026-10-05 17:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf40968012d7b1a4005e2d4a8000b00ad23..."} 
[2026-10-05 17:36:08] local.INFO: Processing buffer {"connection_id":204864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf40968012d7b1a4005e2d4a8000b00ad23..."} 
[2026-10-05 17:36:08] local.INFO: Packet analysis {"connection_id":204864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:36:08] local.INFO: Extracted packet for processing {"connection_id":204864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:36:08] local.INFO: GPS Element Parsed {"raw_longitude":763042368,"raw_latitude":98751656,"longitude_deg":76.3042368,"latitude_deg":9.8751656,"altitude":11,"angle":173,"satellites":35,"speed":2,"hex_longitude":"2d7b1a40","hex_latitude":"05e2d4a8","is_valid_coordinates":true} 
[2026-10-05 17:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547686912001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139765932393234432,"note":"Value kept but may cause issues"} 
[2026-10-05 17:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870543178828537856,"note":"Value kept but may cause issues"} 
[2026-10-05 17:36: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-10-05 17:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791201905000,"timestamp_ms":1791201905000,"timestamp_seconds":1791201905,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf40968"} 
[2026-10-05 17:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:36: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-10-05 17:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-10-05 17:36:08] 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-10-05 17:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:36:08] 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-10-05 17:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547686912001,"66":13624,"207":206,"85":15104,"24":2,"16":139765932393234432,"45":8870543178828537856},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 17:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547686912001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:36:08] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 17:36:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139765932393234432,"km_value":139765932393234.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870543178828537856,"description":"Unknown IO ID 45"} 
[2026-10-05 17:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547686912001,"power":13624,"unknown_207":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8870543178828537856}} 
[2026-10-05 17:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":204864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968920,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:36:08] local.INFO: GPS data processed {"connection_id":204864,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:36:08] local.INFO: Acknowledgment sent {"connection_id":204864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:36:10] local.INFO: TCP Data received {"connection_id":204735,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:36:10] local.INFO: Processing buffer {"connection_id":204735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:36:10] local.INFO: IMEI packet received {"connection_id":204735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":204735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:36:11] local.INFO: TCP Data received {"connection_id":204735,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf38c68012d1aa440071f98180035007329..."} 
[2026-10-05 17:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf38c68012d1aa440071f98180035007329..."} 
[2026-10-05 17:36:11] local.INFO: Processing buffer {"connection_id":204735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf38c68012d1aa440071f98180035007329..."} 
[2026-10-05 17:36:11] local.INFO: Packet analysis {"connection_id":204735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf3"} 
[2026-10-05 17:36:11] local.INFO: Extracted packet for processing {"connection_id":204735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf3"} 
[2026-10-05 17:36:11] local.INFO: GPS Element Parsed {"raw_longitude":756720704,"raw_latitude":119511064,"longitude_deg":75.6720704,"latitude_deg":11.9511064,"altitude":53,"angle":115,"satellites":41,"speed":0,"hex_longitude":"2d1aa440","hex_latitude":"071f9818","is_valid_coordinates":true} 
[2026-10-05 17:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547674112001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25212226826665984,"note":"Value kept but may cause issues"} 
[2026-10-05 17:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919729740505683968,"note":"Value kept but may cause issues"} 
[2026-10-05 17:36:11] 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-10-05 17:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791201873000,"timestamp_ms":1791201873000,"timestamp_seconds":1791201873,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf38c68"} 
[2026-10-05 17:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:36: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-10-05 17:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 17:36:11] 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-10-05 17:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:36:11] 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-10-05 17:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547674112001,"66":12743,"101":206,"83":41984,"24":0,"16":25212226826665984,"45":1919729740505683968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 17:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547674112001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:36:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 17:36:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25212226826665984,"km_value":25212226826665.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919729740505683968,"description":"Unknown IO ID 45"} 
[2026-10-05 17:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547674112001,"power":12743,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1919729740505683968}} 
[2026-10-05 17:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":204735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:36:11] local.INFO: GPS data processed {"connection_id":204735,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:36:11] local.INFO: Acknowledgment sent {"connection_id":204735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:36:31] local.INFO: TCP Data received {"connection_id":207805,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:36:31] local.INFO: Processing buffer {"connection_id":207805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:36:31] local.INFO: IMEI packet received {"connection_id":207805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":207805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:36:32] local.INFO: TCP Data received {"connection_id":204734,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:36:32] local.INFO: Processing buffer {"connection_id":204734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:36:32] local.INFO: Packet analysis {"connection_id":204734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:36:32] local.INFO: Extracted packet for processing {"connection_id":204734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:36:32] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547613440001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791201916000,"timestamp_ms":1791201916000,"timestamp_seconds":1791201916,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf43460"} 
[2026-10-05 17:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 17:36:32] 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-10-05 17:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:36:32] 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-10-05 17:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547613440001,"66":25952,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547613440001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:36:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:36:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547613440001,"power":25952,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":204734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:36:32] local.INFO: GPS data processed {"connection_id":204734,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:36:32] local.INFO: Acknowledgment sent {"connection_id":204734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:36:35] local.INFO: TCP Data received {"connection_id":207805,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:36:35] local.INFO: Processing buffer {"connection_id":207805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:36:35] local.INFO: IMEI packet received {"connection_id":207805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":207805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:36:36] local.INFO: TCP Data received {"connection_id":207805,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf424c0012d7b1a4005e2d250000b00ba28..."} 
[2026-10-05 17:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf424c0012d7b1a4005e2d250000b00ba28..."} 
[2026-10-05 17:36:36] local.INFO: Processing buffer {"connection_id":207805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf424c0012d7b1a4005e2d250000b00ba28..."} 
[2026-10-05 17:36:36] local.INFO: Packet analysis {"connection_id":207805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:36:36] local.INFO: Extracted packet for processing {"connection_id":207805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:36:36] local.INFO: GPS Element Parsed {"raw_longitude":763042368,"raw_latitude":98751056,"longitude_deg":76.3042368,"latitude_deg":9.8751056,"altitude":11,"angle":186,"satellites":40,"speed":3,"hex_longitude":"2d7b1a40","hex_latitude":"05e2d250","is_valid_coordinates":true} 
[2026-10-05 17:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547687680001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139765962458005504,"note":"Value kept but may cause issues"} 
[2026-10-05 17:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870472810084214784,"note":"Value kept but may cause issues"} 
[2026-10-05 17:36: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-10-05 17:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791201912000,"timestamp_ms":1791201912000,"timestamp_seconds":1791201912,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf424c0"} 
[2026-10-05 17:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-10-05 17:36:36] 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-10-05 17:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:36: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-10-05 17:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547687680001,"66":13689,"207":206,"85":15104,"24":3,"16":139765962458005504,"45":8870472810084214784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 17:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547687680001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:36:36] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 17:36:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139765962458005504,"km_value":139765962458005.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870472810084214784,"description":"Unknown IO ID 45"} 
[2026-10-05 17:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547687680001,"power":13689,"unknown_207":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8870472810084214784}} 
[2026-10-05 17:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":207805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:36:37] local.INFO: GPS data processed {"connection_id":207805,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:36:37] local.INFO: Acknowledgment sent {"connection_id":207805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:36:42] local.INFO: TCP Data received {"connection_id":204735,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf3de70012d1aa440071f9818003500732a..."} 
[2026-10-05 17:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf3de70012d1aa440071f9818003500732a..."} 
[2026-10-05 17:36:42] local.INFO: Processing buffer {"connection_id":204735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf3de70012d1aa440071f9818003500732a..."} 
[2026-10-05 17:36:42] local.INFO: Packet analysis {"connection_id":204735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf3"} 
[2026-10-05 17:36:42] local.INFO: Extracted packet for processing {"connection_id":204735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf3"} 
[2026-10-05 17:36:42] local.INFO: GPS Element Parsed {"raw_longitude":756720704,"raw_latitude":119511064,"longitude_deg":75.6720704,"latitude_deg":11.9511064,"altitude":53,"angle":115,"satellites":42,"speed":0,"hex_longitude":"2d1aa440","hex_latitude":"071f9818","is_valid_coordinates":true} 
[2026-10-05 17:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547679488001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25212226826665984,"note":"Value kept but may cause issues"} 
[2026-10-05 17:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919729740505683968,"note":"Value kept but may cause issues"} 
[2026-10-05 17:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791201894000,"timestamp_ms":1791201894000,"timestamp_seconds":1791201894,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf3de70"} 
[2026-10-05 17:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:36:42] 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-10-05 17:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 17:36:42] 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-10-05 17:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:36: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-10-05 17:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547679488001,"66":12689,"101":206,"83":41984,"24":0,"16":25212226826665984,"45":1919729740505683968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 17:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547679488001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:36:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 17:36:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25212226826665984,"km_value":25212226826665.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919729740505683968,"description":"Unknown IO ID 45"} 
[2026-10-05 17:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547679488001,"power":12689,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1919729740505683968}} 
[2026-10-05 17:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":204735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:36:42] local.INFO: GPS data processed {"connection_id":204735,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:36:42] local.INFO: Acknowledgment sent {"connection_id":204735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:36:54] local.INFO: TCP Data received {"connection_id":206260,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:36:54] local.INFO: Processing buffer {"connection_id":206260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:36:54] local.INFO: IMEI packet received {"connection_id":206260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":206260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:36:59] local.INFO: TCP Data received {"connection_id":206260,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:36:59] local.INFO: Processing buffer {"connection_id":206260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:36:59] local.INFO: IMEI packet received {"connection_id":206260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":206260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:37:00] local.INFO: TCP Data received {"connection_id":206260,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:37:00] local.INFO: Processing buffer {"connection_id":206260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:37:00] local.INFO: Packet analysis {"connection_id":206260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:37:00] local.INFO: Extracted packet for processing {"connection_id":206260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:37:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547613440001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791201916000,"timestamp_ms":1791201916000,"timestamp_seconds":1791201916,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf43460"} 
[2026-10-05 17:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 17:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17: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-10-05 17:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547613440001,"66":25952,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547613440001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:37:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:37:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547613440001,"power":25952,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":206260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:37:00] local.INFO: GPS data processed {"connection_id":206260,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:37:00] local.INFO: Acknowledgment sent {"connection_id":206260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:37:04] local.INFO: TCP Data received {"connection_id":204866,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:37:04] local.INFO: Processing buffer {"connection_id":204866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:37:04] local.INFO: IMEI packet received {"connection_id":204866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":204866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:37:08] local.INFO: TCP Data received {"connection_id":207805,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf428a8012d7b1a4005e2d220000b00d327..."} 
[2026-10-05 17:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf428a8012d7b1a4005e2d220000b00d327..."} 
[2026-10-05 17:37:08] local.INFO: Processing buffer {"connection_id":207805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf428a8012d7b1a4005e2d220000b00d327..."} 
[2026-10-05 17:37:08] local.INFO: Packet analysis {"connection_id":207805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:37:08] local.INFO: Extracted packet for processing {"connection_id":207805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:37:08] local.INFO: GPS Element Parsed {"raw_longitude":763042368,"raw_latitude":98751008,"longitude_deg":76.3042368,"latitude_deg":9.8751008,"altitude":11,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d7b1a40","hex_latitude":"05e2d220","is_valid_coordinates":true} 
[2026-10-05 17:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547689472001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139765966752972800,"note":"Value kept but may cause issues"} 
[2026-10-05 17:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870472810084061184,"note":"Value kept but may cause issues"} 
[2026-10-05 17:37: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-10-05 17:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791201913000,"timestamp_ms":1791201913000,"timestamp_seconds":1791201913,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf428a8"} 
[2026-10-05 17:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:37: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-10-05 17:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-10-05 17:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:37:08] 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-10-05 17:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547689472001,"66":13689,"207":206,"85":15104,"24":0,"16":139765966752972800,"45":8870472810084061184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 17:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547689472001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:37:08] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 17:37:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139765966752972800,"km_value":139765966752972.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870472810084061184,"description":"Unknown IO ID 45"} 
[2026-10-05 17:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547689472001,"power":13689,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8870472810084061184}} 
[2026-10-05 17:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":207805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:37:08] local.INFO: GPS data processed {"connection_id":207805,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:37:08] local.INFO: Acknowledgment sent {"connection_id":207805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:37:09] local.INFO: TCP Data received {"connection_id":204866,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:37:09] local.INFO: Processing buffer {"connection_id":204866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:37:09] local.INFO: IMEI packet received {"connection_id":204866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":204866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:37:10] local.INFO: TCP Data received {"connection_id":204866,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf52690012d1ac780071f84d00038005f2b..."} 
[2026-10-05 17:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf52690012d1ac780071f84d00038005f2b..."} 
[2026-10-05 17:37:10] local.INFO: Processing buffer {"connection_id":204866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf52690012d1ac780071f84d00038005f2b..."} 
[2026-10-05 17:37:10] local.INFO: Packet analysis {"connection_id":204866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf5"} 
[2026-10-05 17:37:10] local.INFO: Extracted packet for processing {"connection_id":204866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf5"} 
[2026-10-05 17:37:10] local.INFO: GPS Element Parsed {"raw_longitude":756729728,"raw_latitude":119506128,"longitude_deg":75.6729728,"latitude_deg":11.9506128,"altitude":56,"angle":95,"satellites":43,"speed":12,"hex_longitude":"2d1ac780","hex_latitude":"071f84d0","is_valid_coordinates":true} 
[2026-10-05 17:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547706112001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25212802352283648,"note":"Value kept but may cause issues"} 
[2026-10-05 17:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929299889712601088,"note":"Value kept but may cause issues"} 
[2026-10-05 17:37:10] 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-10-05 17:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791201978000,"timestamp_ms":1791201978000,"timestamp_seconds":1791201978,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf52690"} 
[2026-10-05 17:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:37:10] 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-10-05 17:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-10-05 17:37: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-10-05 17:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:37:10] 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-10-05 17:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547706112001,"66":14265,"101":206,"83":41984,"24":12,"16":25212802352283648,"45":1929299889712601088},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 17:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547706112001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:37:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 17:37:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25212802352283648,"km_value":25212802352283.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929299889712601088,"description":"Unknown IO ID 45"} 
[2026-10-05 17:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547706112001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1929299889712601088}} 
[2026-10-05 17:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":204866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:37:10] local.INFO: GPS data processed {"connection_id":204866,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:37:10] local.INFO: Acknowledgment sent {"connection_id":204866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:37:30] local.INFO: TCP Data received {"connection_id":206261,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:37:30] local.INFO: Processing buffer {"connection_id":206261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:37:30] local.INFO: IMEI packet received {"connection_id":206261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":206261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:37:31] local.INFO: TCP Data received {"connection_id":206260,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:37:31] local.INFO: Processing buffer {"connection_id":206260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:37:31] local.INFO: Packet analysis {"connection_id":206260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:37:31] local.INFO: Extracted packet for processing {"connection_id":206260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:37:31] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547613440001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791201916000,"timestamp_ms":1791201916000,"timestamp_seconds":1791201916,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf43460"} 
[2026-10-05 17:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 17:37:31] 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-10-05 17: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-10-05 17:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547613440001,"66":25952,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547613440001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:37:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:37:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547613440001,"power":25952,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":206260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:37:31] local.INFO: GPS data processed {"connection_id":206260,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:37:31] local.INFO: Acknowledgment sent {"connection_id":206260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:37:35] local.INFO: TCP Data received {"connection_id":206261,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:37:35] local.INFO: Processing buffer {"connection_id":206261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:37:35] local.INFO: IMEI packet received {"connection_id":206261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":206261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:37:37] local.INFO: TCP Data received {"connection_id":206261,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf44400012d7b1a4005e2d1b8000b00a826..."} 
[2026-10-05 17:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf44400012d7b1a4005e2d1b8000b00a826..."} 
[2026-10-05 17:37:37] local.INFO: Processing buffer {"connection_id":206261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf44400012d7b1a4005e2d1b8000b00a826..."} 
[2026-10-05 17:37:37] local.INFO: Packet analysis {"connection_id":206261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:37:37] local.INFO: Extracted packet for processing {"connection_id":206261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:37:37] local.INFO: GPS Element Parsed {"raw_longitude":763042368,"raw_latitude":98750904,"longitude_deg":76.3042368,"latitude_deg":9.8750904,"altitude":11,"angle":168,"satellites":38,"speed":1,"hex_longitude":"2d7b1a40","hex_latitude":"05e2d1b8","is_valid_coordinates":true} 
[2026-10-05 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-10-05 17:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547689728001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139765971047940096,"note":"Value kept but may cause issues"} 
[2026-10-05 17:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870472810084048896,"note":"Value kept but may cause issues"} 
[2026-10-05 17:37:37] 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-10-05 17:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791201920000,"timestamp_ms":1791201920000,"timestamp_seconds":1791201920,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf44400"} 
[2026-10-05 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-10-05 17:37: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-10-05 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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-10-05 17:37:37] 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-10-05 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-10-05 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-10-05 17:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:37: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-10-05 17:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547689728001,"66":13428,"207":206,"85":15104,"24":1,"16":139765971047940096,"45":8870472810084048896},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 17:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547689728001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:37:37] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 17:37:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139765971047940096,"km_value":139765971047940.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870472810084048896,"description":"Unknown IO ID 45"} 
[2026-10-05 17:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547689728001,"power":13428,"unknown_207":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8870472810084048896}} 
[2026-10-05 17:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":206261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968929,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:37:37] local.INFO: GPS data processed {"connection_id":206261,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:37:37] local.INFO: Acknowledgment sent {"connection_id":206261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:37:41] local.INFO: TCP Data received {"connection_id":204866,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf53e00012d1ad340071f8528003600532b..."} 
[2026-10-05 17:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf53e00012d1ad340071f8528003600532b..."} 
[2026-10-05 17:37:41] local.INFO: Processing buffer {"connection_id":204866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf53e00012d1ad340071f8528003600532b..."} 
[2026-10-05 17:37:41] local.INFO: Packet analysis {"connection_id":204866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf5"} 
[2026-10-05 17:37:41] local.INFO: Extracted packet for processing {"connection_id":204866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf5"} 
[2026-10-05 17:37:41] local.INFO: GPS Element Parsed {"raw_longitude":756732736,"raw_latitude":119506216,"longitude_deg":75.6732736,"latitude_deg":11.9506216,"altitude":54,"angle":83,"satellites":43,"speed":22,"hex_longitude":"2d1ad340","hex_latitude":"071f8528","is_valid_coordinates":true} 
[2026-10-05 17:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547706368001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25212944086204416,"note":"Value kept but may cause issues"} 
[2026-10-05 17:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929651733433470976,"note":"Value kept but may cause issues"} 
[2026-10-05 17:37:41] 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-10-05 17:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791201984000,"timestamp_ms":1791201984000,"timestamp_seconds":1791201984,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf53e00"} 
[2026-10-05 17:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-05 17:37:41] 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-10-05 17:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:37:41] 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-10-05 17:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547706368001,"66":14363,"101":206,"83":41984,"24":22,"16":25212944086204416,"45":1929651733433470976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 17:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547706368001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:37:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 17:37:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25212944086204416,"km_value":25212944086204.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929651733433470976,"description":"Unknown IO ID 45"} 
[2026-10-05 17:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547706368001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1929651733433470976}} 
[2026-10-05 17:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":204866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:37:41] local.INFO: GPS data processed {"connection_id":204866,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:37:41] local.INFO: Acknowledgment sent {"connection_id":204866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:37:54] local.INFO: TCP Data received {"connection_id":204867,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:37:54] local.INFO: Processing buffer {"connection_id":204867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:37:54] local.INFO: IMEI packet received {"connection_id":204867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":204867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:37:59] local.INFO: TCP Data received {"connection_id":204867,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:37:59] local.INFO: Processing buffer {"connection_id":204867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:37:59] local.INFO: IMEI packet received {"connection_id":204867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":204867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:38:00] local.INFO: TCP Data received {"connection_id":204867,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:38:00] local.INFO: Processing buffer {"connection_id":204867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:38:00] local.INFO: Packet analysis {"connection_id":204867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:38:00] local.INFO: Extracted packet for processing {"connection_id":204867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:38:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547613440001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791201916000,"timestamp_ms":1791201916000,"timestamp_seconds":1791201916,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf43460"} 
[2026-10-05 17:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 17:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:38: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-10-05 17:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547613440001,"66":25952,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547613440001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:38:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:38:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547613440001,"power":25952,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":204867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:38:00] local.INFO: GPS data processed {"connection_id":204867,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:38:00] local.INFO: Acknowledgment sent {"connection_id":204867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:38:06] local.INFO: TCP Data received {"connection_id":204737,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:38:06] local.INFO: Processing buffer {"connection_id":204737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:38:06] local.INFO: IMEI packet received {"connection_id":204737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":204737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:38:09] local.INFO: TCP Data received {"connection_id":206261,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf49608012d7b1a4005e2d170000b00a61f..."} 
[2026-10-05 17:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf49608012d7b1a4005e2d170000b00a61f..."} 
[2026-10-05 17:38:09] local.INFO: Processing buffer {"connection_id":206261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf49608012d7b1a4005e2d170000b00a61f..."} 
[2026-10-05 17:38:09] local.INFO: Packet analysis {"connection_id":206261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:38:09] local.INFO: Extracted packet for processing {"connection_id":206261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:38:09] local.INFO: GPS Element Parsed {"raw_longitude":763042368,"raw_latitude":98750832,"longitude_deg":76.3042368,"latitude_deg":9.8750832,"altitude":11,"angle":166,"satellites":31,"speed":0,"hex_longitude":"2d7b1a40","hex_latitude":"05e2d170","is_valid_coordinates":true} 
[2026-10-05 17:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547691520001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139765975342907392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870472810084022272,"note":"Value kept but may cause issues"} 
[2026-10-05 17:38:09] 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-10-05 17:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791201941000,"timestamp_ms":1791201941000,"timestamp_seconds":1791201941,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf49608"} 
[2026-10-05 17:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 17:38: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-10-05 17:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":206261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":206261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":206261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:38:09] 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-10-05 17:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547691520001,"66":13906,"207":206,"85":15104,"24":0,"16":139765975342907392,"45":8870472810084022272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 17:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547691520001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:38:09] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 17:38:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139765975342907392,"km_value":139765975342907.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870472810084022272,"description":"Unknown IO ID 45"} 
[2026-10-05 17:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547691520001,"power":13906,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8870472810084022272}} 
[2026-10-05 17:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":206261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:38:09] local.INFO: GPS data processed {"connection_id":206261,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:38:09] local.INFO: Acknowledgment sent {"connection_id":206261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:38:09] local.INFO: TCP Data received {"connection_id":204737,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:38:09] local.INFO: Processing buffer {"connection_id":204737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:38:09] local.INFO: IMEI packet received {"connection_id":204737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":204737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:38:15] local.INFO: TCP Data received {"connection_id":204737,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:38:15] local.INFO: Processing buffer {"connection_id":204737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:38:15] local.INFO: IMEI packet received {"connection_id":204737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":204737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:38:20] local.INFO: TCP Data received {"connection_id":204737,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf55958012d1ae0c0071f86200033005e2b..."} 
[2026-10-05 17:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf55958012d1ae0c0071f86200033005e2b..."} 
[2026-10-05 17:38:20] local.INFO: Processing buffer {"connection_id":204737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf55958012d1ae0c0071f86200033005e2b..."} 
[2026-10-05 17:38:20] local.INFO: Packet analysis {"connection_id":204737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf5"} 
[2026-10-05 17:38:20] local.INFO: Extracted packet for processing {"connection_id":204737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf5"} 
[2026-10-05 17:38:20] local.INFO: GPS Element Parsed {"raw_longitude":756736192,"raw_latitude":119506464,"longitude_deg":75.6736192,"latitude_deg":11.9506464,"altitude":51,"angle":94,"satellites":43,"speed":16,"hex_longitude":"2d1ae0c0","hex_latitude":"071f8620","is_valid_coordinates":true} 
[2026-10-05 17:38: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-10-05 17:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547707904001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25213111589928960,"note":"Value kept but may cause issues"} 
[2026-10-05 17:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1932959064409843712,"note":"Value kept but may cause issues"} 
[2026-10-05 17:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791201991000,"timestamp_ms":1791201991000,"timestamp_seconds":1791201991,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf55958"} 
[2026-10-05 17:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:38: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-10-05 17:38: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":27,"data_length":795,"current_offset":136} 
[2026-10-05 17:38:20] 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-10-05 17:38: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-10-05 17:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":204737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":204737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":204737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:38:20] 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-10-05 17:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547707904001,"66":14363,"101":206,"83":41984,"24":16,"16":25213111589928960,"45":1932959064409843712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 17:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547707904001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:38:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 17:38:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25213111589928960,"km_value":25213111589928.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1932959064409843712,"description":"Unknown IO ID 45"} 
[2026-10-05 17:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547707904001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1932959064409843712}} 
[2026-10-05 17:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":204737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:38:20] local.INFO: GPS data processed {"connection_id":204737,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:38:20] local.INFO: Acknowledgment sent {"connection_id":204737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:38:21] local.INFO: TCP Data received {"connection_id":204737,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf57898012d1ae900071f85f00032005129..."} 
[2026-10-05 17:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf57898012d1ae900071f85f00032005129..."} 
[2026-10-05 17:38:21] local.INFO: Processing buffer {"connection_id":204737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf57898012d1ae900071f85f00032005129..."} 
[2026-10-05 17:38:21] local.INFO: Packet analysis {"connection_id":204737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf5"} 
[2026-10-05 17:38:21] local.INFO: Extracted packet for processing {"connection_id":204737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf5"} 
[2026-10-05 17:38:21] local.INFO: GPS Element Parsed {"raw_longitude":756738304,"raw_latitude":119506416,"longitude_deg":75.6738304,"latitude_deg":11.9506416,"altitude":50,"angle":81,"satellites":41,"speed":8,"hex_longitude":"2d1ae900","hex_latitude":"071f85f0","is_valid_coordinates":true} 
[2026-10-05 17:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547709696001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25213210374176768,"note":"Value kept but may cause issues"} 
[2026-10-05 17:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936758976595501056,"note":"Value kept but may cause issues"} 
[2026-10-05 17:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791201999000,"timestamp_ms":1791201999000,"timestamp_seconds":1791201999,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf57898"} 
[2026-10-05 17:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:38:21] 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-10-05 17:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-10-05 17:38:21] 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-10-05 17:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":204737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":204737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":204737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547709696001,"66":14396,"101":206,"83":41984,"24":8,"16":25213210374176768,"45":1936758976595501056},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 17:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547709696001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:38:21] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 17:38:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25213210374176768,"km_value":25213210374176.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936758976595501056,"description":"Unknown IO ID 45"} 
[2026-10-05 17:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547709696001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1936758976595501056}} 
[2026-10-05 17:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":204737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:38:21] local.INFO: GPS data processed {"connection_id":204737,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:38:21] local.INFO: Acknowledgment sent {"connection_id":204737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:38:30] local.INFO: TCP Data received {"connection_id":206262,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:38:30] local.INFO: Processing buffer {"connection_id":206262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:38:30] local.INFO: IMEI packet received {"connection_id":206262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":206262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:38:31] local.INFO: TCP Data received {"connection_id":206262,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:38:31] local.INFO: Processing buffer {"connection_id":206262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:38:31] local.INFO: IMEI packet received {"connection_id":206262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":206262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:38:32] local.INFO: TCP Data received {"connection_id":204867,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:38:32] local.INFO: Processing buffer {"connection_id":204867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:38:32] local.INFO: Packet analysis {"connection_id":204867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:38:32] local.INFO: Extracted packet for processing {"connection_id":204867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547613440001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791201916000,"timestamp_ms":1791201916000,"timestamp_seconds":1791201916,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf43460"} 
[2026-10-05 17:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 17:38:32] 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-10-05 17: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-10-05 17:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:38:32] 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-10-05 17:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547613440001,"66":25952,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547613440001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:38:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:38:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547613440001,"power":25952,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":204867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:38:32] local.INFO: GPS data processed {"connection_id":204867,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:38:32] local.INFO: Acknowledgment sent {"connection_id":204867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:38:35] local.INFO: TCP Data received {"connection_id":206262,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:38:35] local.INFO: Processing buffer {"connection_id":206262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:38:35] local.INFO: IMEI packet received {"connection_id":206262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":206262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:38:36] local.INFO: TCP Data received {"connection_id":206262,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf4e810012d7b1a4005e2d170000b00a61b..."} 
[2026-10-05 17:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf4e810012d7b1a4005e2d170000b00a61b..."} 
[2026-10-05 17:38:36] local.INFO: Processing buffer {"connection_id":206262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf4e810012d7b1a4005e2d170000b00a61b..."} 
[2026-10-05 17:38:36] local.INFO: Packet analysis {"connection_id":206262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:38:36] local.INFO: Extracted packet for processing {"connection_id":206262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:38:36] local.INFO: GPS Element Parsed {"raw_longitude":763042368,"raw_latitude":98750832,"longitude_deg":76.3042368,"latitude_deg":9.8750832,"altitude":11,"angle":166,"satellites":27,"speed":0,"hex_longitude":"2d7b1a40","hex_latitude":"05e2d170","is_valid_coordinates":true} 
[2026-10-05 17:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547696896001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139765975342907392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870472810084003840,"note":"Value kept but may cause issues"} 
[2026-10-05 17:38: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-10-05 17:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791201962000,"timestamp_ms":1791201962000,"timestamp_seconds":1791201962,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf4e810"} 
[2026-10-05 17:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 17:38:36] 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-10-05 17:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:38: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-10-05 17:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547696896001,"66":13102,"207":206,"85":15104,"24":0,"16":139765975342907392,"45":8870472810084003840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 17:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547696896001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:38:36] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 17:38:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139765975342907392,"km_value":139765975342907.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870472810084003840,"description":"Unknown IO ID 45"} 
[2026-10-05 17:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547696896001,"power":13102,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8870472810084003840}} 
[2026-10-05 17:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":206262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:38:36] local.INFO: GPS data processed {"connection_id":206262,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:38:36] local.INFO: Acknowledgment sent {"connection_id":206262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:38:49] local.INFO: TCP Data received {"connection_id":207806,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:38:49] local.INFO: Processing buffer {"connection_id":207806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:38:49] local.INFO: IMEI packet received {"connection_id":207806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 17:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":207806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:38:54] local.INFO: TCP Data received {"connection_id":206263,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:38:54] local.INFO: Processing buffer {"connection_id":206263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:38:54] local.INFO: IMEI packet received {"connection_id":206263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":206263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:38:59] local.INFO: TCP Data received {"connection_id":206263,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:38:59] local.INFO: Processing buffer {"connection_id":206263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:38:59] local.INFO: IMEI packet received {"connection_id":206263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":206263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:39:01] local.INFO: TCP Data received {"connection_id":206263,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:39:01] local.INFO: Processing buffer {"connection_id":206263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:39:01] local.INFO: Packet analysis {"connection_id":206263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:39:01] local.INFO: Extracted packet for processing {"connection_id":206263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:39:01] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547613440001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791201916000,"timestamp_ms":1791201916000,"timestamp_seconds":1791201916,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf43460"} 
[2026-10-05 17:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 17:39: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-10-05 17: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-10-05 17:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":206263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":206263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":206263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547613440001,"66":25952,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547613440001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:39:01] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:39:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547613440001,"power":25952,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":206263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:39:01] local.INFO: GPS data processed {"connection_id":206263,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:39:01] local.INFO: Acknowledgment sent {"connection_id":206263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:39:04] local.INFO: TCP Data received {"connection_id":204868,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:39:04] local.INFO: Processing buffer {"connection_id":204868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:39:04] local.INFO: IMEI packet received {"connection_id":204868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":204868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:39:07] local.INFO: TCP Data received {"connection_id":206262,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf53a18012d7b1a4005e2d170000b00a622..."} 
[2026-10-05 17:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf53a18012d7b1a4005e2d170000b00a622..."} 
[2026-10-05 17:39:07] local.INFO: Processing buffer {"connection_id":206262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf53a18012d7b1a4005e2d170000b00a622..."} 
[2026-10-05 17:39:07] local.INFO: Packet analysis {"connection_id":206262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf5"} 
[2026-10-05 17:39:07] local.INFO: Extracted packet for processing {"connection_id":206262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf5"} 
[2026-10-05 17:39:07] local.INFO: GPS Element Parsed {"raw_longitude":763042368,"raw_latitude":98750832,"longitude_deg":76.3042368,"latitude_deg":9.8750832,"altitude":11,"angle":166,"satellites":34,"speed":0,"hex_longitude":"2d7b1a40","hex_latitude":"05e2d170","is_valid_coordinates":true} 
[2026-10-05 17:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547702272001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139765975342907392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870472810084003840,"note":"Value kept but may cause issues"} 
[2026-10-05 17:39: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-10-05 17:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791201983000,"timestamp_ms":1791201983000,"timestamp_seconds":1791201983,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf53a18"} 
[2026-10-05 17:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-05 17:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":206262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":206262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":206262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:39:07] 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-10-05 17:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547702272001,"66":13352,"207":206,"85":15104,"24":0,"16":139765975342907392,"45":8870472810084003840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 17:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547702272001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:39:07] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 17:39:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139765975342907392,"km_value":139765975342907.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870472810084003840,"description":"Unknown IO ID 45"} 
[2026-10-05 17:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547702272001,"power":13352,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8870472810084003840}} 
[2026-10-05 17:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":206262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:39:07] local.INFO: GPS data processed {"connection_id":206262,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:39:07] local.INFO: Acknowledgment sent {"connection_id":206262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:39:10] local.INFO: TCP Data received {"connection_id":204868,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:39:10] local.INFO: Processing buffer {"connection_id":204868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:39:10] local.INFO: IMEI packet received {"connection_id":204868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":204868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:39:11] local.INFO: TCP Data received {"connection_id":204868,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf6b118012d1b5600071f6c800038006d2a..."} 
[2026-10-05 17:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf6b118012d1b5600071f6c800038006d2a..."} 
[2026-10-05 17:39:11] local.INFO: Processing buffer {"connection_id":204868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf6b118012d1b5600071f6c800038006d2a..."} 
[2026-10-05 17:39:11] local.INFO: Packet analysis {"connection_id":204868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf6"} 
[2026-10-05 17:39:11] local.INFO: Extracted packet for processing {"connection_id":204868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf6"} 
[2026-10-05 17:39:11] local.INFO: GPS Element Parsed {"raw_longitude":756766208,"raw_latitude":119499904,"longitude_deg":75.6766208,"latitude_deg":11.9499904,"altitude":56,"angle":109,"satellites":42,"speed":7,"hex_longitude":"2d1b5600","hex_latitude":"071f6c80","is_valid_coordinates":true} 
[2026-10-05 17:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547731968001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25214773742272512,"note":"Value kept but may cause issues"} 
[2026-10-05 17:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969480442636460032,"note":"Value kept but may cause issues"} 
[2026-10-05 17:39:11] 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-10-05 17:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791202079000,"timestamp_ms":1791202079000,"timestamp_seconds":1791202079,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf6b118"} 
[2026-10-05 17:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-10-05 17:39:11] 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-10-05 17:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:39:11] 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-10-05 17:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547731968001,"66":13972,"101":206,"83":41984,"24":7,"16":25214773742272512,"45":1969480442636460032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 17:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547731968001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:39:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 17:39:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25214773742272512,"km_value":25214773742272.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969480442636460032,"description":"Unknown IO ID 45"} 
[2026-10-05 17:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547731968001,"power":13972,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1969480442636460032}} 
[2026-10-05 17:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":204868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:39:11] local.INFO: GPS data processed {"connection_id":204868,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:39:11] local.INFO: Acknowledgment sent {"connection_id":204868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:39:30] local.INFO: TCP Data received {"connection_id":207807,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:39:30] local.INFO: Processing buffer {"connection_id":207807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:39:30] local.INFO: IMEI packet received {"connection_id":207807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":207807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:39:32] local.INFO: TCP Data received {"connection_id":206263,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:39:32] local.INFO: Processing buffer {"connection_id":206263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:39:32] local.INFO: Packet analysis {"connection_id":206263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:39:32] local.INFO: Extracted packet for processing {"connection_id":206263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:39:32] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547613440001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791201916000,"timestamp_ms":1791201916000,"timestamp_seconds":1791201916,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf43460"} 
[2026-10-05 17:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 17:39:32] 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-10-05 17:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547613440001,"66":25952,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547613440001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:39:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:39:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547613440001,"power":25952,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":206263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:39:32] local.INFO: GPS data processed {"connection_id":206263,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:39:32] local.INFO: Acknowledgment sent {"connection_id":206263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:39:34] local.INFO: TCP Data received {"connection_id":207808,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:39:34] local.INFO: Processing buffer {"connection_id":207808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:39:34] local.INFO: IMEI packet received {"connection_id":207808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 17:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":207808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:39:35] local.INFO: TCP Data received {"connection_id":207807,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:39:35] local.INFO: Processing buffer {"connection_id":207807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:39:35] local.INFO: IMEI packet received {"connection_id":207807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":207807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:39:36] local.INFO: TCP Data received {"connection_id":207807,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf58c20012d7b1a8005e2cd40000a009c21..."} 
[2026-10-05 17:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf58c20012d7b1a8005e2cd40000a009c21..."} 
[2026-10-05 17:39:36] local.INFO: Processing buffer {"connection_id":207807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf58c20012d7b1a8005e2cd40000a009c21..."} 
[2026-10-05 17:39:36] local.INFO: Packet analysis {"connection_id":207807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf5"} 
[2026-10-05 17:39:36] local.INFO: Extracted packet for processing {"connection_id":207807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf5"} 
[2026-10-05 17:39:36] local.INFO: GPS Element Parsed {"raw_longitude":763042432,"raw_latitude":98749760,"longitude_deg":76.3042432,"latitude_deg":9.874976,"altitude":10,"angle":156,"satellites":33,"speed":0,"hex_longitude":"2d7b1a80","hex_latitude":"05e2cd40","is_valid_coordinates":true} 
[2026-10-05 17:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547707648001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139766026882514944,"note":"Value kept but may cause issues"} 
[2026-10-05 17:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870472810084003840,"note":"Value kept but may cause issues"} 
[2026-10-05 17:39: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-10-05 17:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791202004000,"timestamp_ms":1791202004000,"timestamp_seconds":1791202004,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf58c20"} 
[2026-10-05 17:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 17:39:36] 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-10-05 17:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:39: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-10-05 17:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547707648001,"66":13787,"207":206,"85":15104,"24":0,"16":139766026882514944,"45":8870472810084003840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 17:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547707648001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:39:36] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 17:39:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139766026882514944,"km_value":139766026882514.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870472810084003840,"description":"Unknown IO ID 45"} 
[2026-10-05 17:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547707648001,"power":13787,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8870472810084003840}} 
[2026-10-05 17:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":207807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968941,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:39:36] local.INFO: GPS data processed {"connection_id":207807,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:39:36] local.INFO: Acknowledgment sent {"connection_id":207807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:39:42] local.INFO: TCP Data received {"connection_id":204868,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf6b500012d1b5680071f6c600038005b2a..."} 
[2026-10-05 17:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf6b500012d1b5680071f6c600038005b2a..."} 
[2026-10-05 17:39:42] local.INFO: Processing buffer {"connection_id":204868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf6b500012d1b5680071f6c600038005b2a..."} 
[2026-10-05 17:39:42] local.INFO: Packet analysis {"connection_id":204868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf6"} 
[2026-10-05 17:39:42] local.INFO: Extracted packet for processing {"connection_id":204868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf6"} 
[2026-10-05 17:39:42] local.INFO: GPS Element Parsed {"raw_longitude":756766336,"raw_latitude":119499872,"longitude_deg":75.6766336,"latitude_deg":11.9499872,"altitude":56,"angle":91,"satellites":42,"speed":6,"hex_longitude":"2d1b5680","hex_latitude":"071f6c60","is_valid_coordinates":true} 
[2026-10-05 17:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547732224001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25214782332207104,"note":"Value kept but may cause issues"} 
[2026-10-05 17:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969761917613146112,"note":"Value kept but may cause issues"} 
[2026-10-05 17:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791202080000,"timestamp_ms":1791202080000,"timestamp_seconds":1791202080,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf6b500"} 
[2026-10-05 17:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:39:42] 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-10-05 17:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-10-05 17:39:42] 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-10-05 17:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:39: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-10-05 17:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547732224001,"66":13972,"101":206,"83":41984,"24":6,"16":25214782332207104,"45":1969761917613146112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-05 17:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547732224001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:39:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-05 17:39:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-05 17:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25214782332207104,"km_value":25214782332207.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969761917613146112,"description":"Unknown IO ID 45"} 
[2026-10-05 17:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547732224001,"power":13972,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1969761917613146112}} 
[2026-10-05 17:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":204868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:39:42] local.INFO: GPS data processed {"connection_id":204868,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:39:42] local.INFO: Acknowledgment sent {"connection_id":204868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:39:54] local.INFO: TCP Data received {"connection_id":206264,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:39:54] local.INFO: Processing buffer {"connection_id":206264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:39:54] local.INFO: IMEI packet received {"connection_id":206264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":206264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:39:59] local.INFO: TCP Data received {"connection_id":206264,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:39:59] local.INFO: Processing buffer {"connection_id":206264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:39:59] local.INFO: IMEI packet received {"connection_id":206264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":206264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:40:01] local.INFO: TCP Data received {"connection_id":206264,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:40:01] local.INFO: Processing buffer {"connection_id":206264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:40:01] local.INFO: Packet analysis {"connection_id":206264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:40:01] local.INFO: Extracted packet for processing {"connection_id":206264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:40:01] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547613440001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791201916000,"timestamp_ms":1791201916000,"timestamp_seconds":1791201916,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf43460"} 
[2026-10-05 17:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 17:40: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-10-05 17: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-10-05 17:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":206264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":206264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":206264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547613440001,"66":25952,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547613440001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:40:01] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:40:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547613440001,"power":25952,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":206264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:40:01] local.INFO: GPS data processed {"connection_id":206264,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:40:01] local.INFO: Acknowledgment sent {"connection_id":206264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:40:08] local.INFO: TCP Data received {"connection_id":207807,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf59008012d7b1a8005e2ccc0000a00a921..."} 
[2026-10-05 17:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf59008012d7b1a8005e2ccc0000a00a921..."} 
[2026-10-05 17:40:08] local.INFO: Processing buffer {"connection_id":207807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf59008012d7b1a8005e2ccc0000a00a921..."} 
[2026-10-05 17:40:08] local.INFO: Packet analysis {"connection_id":207807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf5"} 
[2026-10-05 17:40:08] local.INFO: Extracted packet for processing {"connection_id":207807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf5"} 
[2026-10-05 17:40:08] local.INFO: GPS Element Parsed {"raw_longitude":763042432,"raw_latitude":98749632,"longitude_deg":76.3042432,"latitude_deg":9.8749632,"altitude":10,"angle":169,"satellites":33,"speed":1,"hex_longitude":"2d7b1a80","hex_latitude":"05e2ccc0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547713024001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139766035472449536,"note":"Value kept but may cause issues"} 
[2026-10-05 17:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870543178827907072,"note":"Value kept but may cause issues"} 
[2026-10-05 17:40: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-10-05 17:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791202005000,"timestamp_ms":1791202005000,"timestamp_seconds":1791202005,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf59008"} 
[2026-10-05 17:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:40: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-10-05 17: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-10-05 17:40: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-10-05 17: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-10-05 17:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:40:08] 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-10-05 17:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547713024001,"66":13341,"207":206,"85":15104,"24":1,"16":139766035472449536,"45":8870543178827907072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 17:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547713024001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:40:08] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 17:40:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139766035472449536,"km_value":139766035472449.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870543178827907072,"description":"Unknown IO ID 45"} 
[2026-10-05 17:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547713024001,"power":13341,"unknown_207":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8870543178827907072}} 
[2026-10-05 17:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":207807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:40:08] local.INFO: GPS data processed {"connection_id":207807,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:40:08] local.INFO: Acknowledgment sent {"connection_id":207807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:40:30] local.INFO: TCP Data received {"connection_id":204869,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:40:30] local.INFO: Processing buffer {"connection_id":204869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:40:30] local.INFO: IMEI packet received {"connection_id":204869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":204869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:40:32] local.INFO: TCP Data received {"connection_id":206264,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:40:32] local.INFO: Processing buffer {"connection_id":206264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf43460012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:40:32] local.INFO: Packet analysis {"connection_id":206264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:40:32] local.INFO: Extracted packet for processing {"connection_id":206264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf4"} 
[2026-10-05 17:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547613440001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791201916000,"timestamp_ms":1791201916000,"timestamp_seconds":1791201916,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf43460"} 
[2026-10-05 17:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 17:40:32] 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-10-05 17:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:40:32] 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-10-05 17:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547613440001,"66":25952,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547613440001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:40:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:40:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547613440001,"power":25952,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":206264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:40:32] local.INFO: GPS data processed {"connection_id":206264,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:40:32] local.INFO: Acknowledgment sent {"connection_id":206264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:40:35] local.INFO: TCP Data received {"connection_id":204869,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:40:35] local.INFO: Processing buffer {"connection_id":204869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:40:35] local.INFO: IMEI packet received {"connection_id":204869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":204869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:40:36] local.INFO: TCP Data received {"connection_id":204869,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf5de28012d7b1e4005e2b9d8000a00ac21..."} 
[2026-10-05 17:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf5de28012d7b1e4005e2b9d8000a00ac21..."} 
[2026-10-05 17:40:36] local.INFO: Processing buffer {"connection_id":204869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf5de28012d7b1e4005e2b9d8000a00ac21..."} 
[2026-10-05 17:40:36] local.INFO: Packet analysis {"connection_id":204869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf5"} 
[2026-10-05 17:40:36] local.INFO: Extracted packet for processing {"connection_id":204869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf5"} 
[2026-10-05 17:40:36] local.INFO: GPS Element Parsed {"raw_longitude":763043392,"raw_latitude":98744792,"longitude_deg":76.3043392,"latitude_deg":9.8744792,"altitude":10,"angle":172,"satellites":33,"speed":15,"hex_longitude":"2d7b1e40","hex_latitude":"05e2b9d8","is_valid_coordinates":true} 
[2026-10-05 17:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547713280001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139766275990618112,"note":"Value kept but may cause issues"} 
[2026-10-05 17:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870543178827874304,"note":"Value kept but may cause issues"} 
[2026-10-05 17:40: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-10-05 17:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791202025000,"timestamp_ms":1791202025000,"timestamp_seconds":1791202025,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf5de28"} 
[2026-10-05 17:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-10-05 17:40:36] 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-10-05 17:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:40: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-10-05 17:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547713280001,"66":13656,"207":206,"85":15104,"24":15,"16":139766275990618112,"45":8870543178827874304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 17:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547713280001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:40:36] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 17:40:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139766275990618112,"km_value":139766275990618.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870543178827874304,"description":"Unknown IO ID 45"} 
[2026-10-05 17:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547713280001,"power":13656,"unknown_207":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8870543178827874304}} 
[2026-10-05 17:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":204869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:40:36] local.INFO: GPS data processed {"connection_id":204869,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:40:36] local.INFO: Acknowledgment sent {"connection_id":204869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:40:55] local.INFO: TCP Data received {"connection_id":204738,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:40:55] local.INFO: Processing buffer {"connection_id":204738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:40:55] local.INFO: IMEI packet received {"connection_id":204738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":204738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:40:59] local.INFO: TCP Data received {"connection_id":204738,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:40:59] local.INFO: Processing buffer {"connection_id":204738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:40:59] local.INFO: IMEI packet received {"connection_id":204738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":204738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:41:04] local.INFO: TCP Data received {"connection_id":204738,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:41:04] local.INFO: Processing buffer {"connection_id":204738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:41:04] local.INFO: IMEI packet received {"connection_id":204738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":204738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:41:05] local.INFO: TCP Data received {"connection_id":204738,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:41:05] local.INFO: Processing buffer {"connection_id":204738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:41:05] local.INFO: Packet analysis {"connection_id":204738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf8"} 
[2026-10-05 17:41:05] local.INFO: Extracted packet for processing {"connection_id":204738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf8"} 
[2026-10-05 17:41:05] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547690496001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791202217000,"timestamp_ms":1791202217000,"timestamp_seconds":1791202217,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf8cc28"} 
[2026-10-05 17:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 17:41: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-10-05 17:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547690496001,"66":25941,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547690496001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:41:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:41:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547690496001,"power":25941,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":204738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:41:05] local.INFO: GPS data processed {"connection_id":204738,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:41:05] local.INFO: Acknowledgment sent {"connection_id":204738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:41:07] local.INFO: TCP Data received {"connection_id":204869,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf94928012d7b470005e1aed0000300582a..."} 
[2026-10-05 17:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf94928012d7b470005e1aed0000300582a..."} 
[2026-10-05 17:41:07] local.INFO: Processing buffer {"connection_id":204869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf94928012d7b470005e1aed0000300582a..."} 
[2026-10-05 17:41:07] local.INFO: Packet analysis {"connection_id":204869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf9"} 
[2026-10-05 17:41:07] local.INFO: Extracted packet for processing {"connection_id":204869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf9"} 
[2026-10-05 17:41:07] local.INFO: GPS Element Parsed {"raw_longitude":763053824,"raw_latitude":98676432,"longitude_deg":76.3053824,"latitude_deg":9.8676432,"altitude":3,"angle":88,"satellites":42,"speed":15,"hex_longitude":"2d7b4700","hex_latitude":"05e1aed0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547775488001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882646602807691264,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139769707669487616,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41: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-10-05 17:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791202249000,"timestamp_ms":1791202249000,"timestamp_seconds":1791202249,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf94928"} 
[2026-10-05 17:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 17:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751640719,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:07] local.WARNING: Large IO value detected {"io_id":143,"raw_value":3137339392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:07] local.WARNING: Large IO value detected {"io_id":53,"raw_value":5620718146487897685,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-1112529845448867840,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:07] local.WARNING: Large IO value detected {"io_id":11,"raw_value":4180785153,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:07] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2988965890,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636468701192152,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-05 17:41:07] local.WARNING: Large IO value detected {"io_id":63,"raw_value":2147869108,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:07] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3787800576,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:07] local.WARNING: Large IO value detected {"io_id":123,"raw_value":4269418914576859138,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:07] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755498225434865,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:07] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,45,85,24,241,157,16,143,161,61,192,175,3,38,10,66,57,128,176,37,53,1,240,12,227,11,225,4,113,205,6,30,63,33,239,52,2,5,14,123,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-10-05 17:41:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216284008882765824,"timestamp_seconds":216284008882765.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 17:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:41:07] 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-10-05 17:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547775488001,"66":13580,"45":8882646602807691264,"85":15104,"24":15,"16":139769707669487616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 17:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547775488001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882646602807691264,"description":"Unknown IO ID 45"} 
[2026-10-05 17:41:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139769707669487616,"km_value":139769707669487.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:41:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458547775488001,"power":13580,"unknown_45":8882646602807691264,"unknown_85":15104,"ignition":15,"odometer":null}} 
[2026-10-05 17:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":204869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:41:07] local.INFO: GPS data processed {"connection_id":204869,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:41:07] local.INFO: Acknowledgment sent {"connection_id":204869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:41:10] local.INFO: TCP Data received {"connection_id":204738,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:41:10] local.INFO: Processing buffer {"connection_id":204738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:41:10] local.INFO: Packet analysis {"connection_id":204738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf8"} 
[2026-10-05 17:41:10] local.INFO: Extracted packet for processing {"connection_id":204738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf8"} 
[2026-10-05 17:41:10] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547690496001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791202217000,"timestamp_ms":1791202217000,"timestamp_seconds":1791202217,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf8cc28"} 
[2026-10-05 17:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 17:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547690496001,"66":25941,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547690496001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:41:10] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:41:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547690496001,"power":25941,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":204738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:41:10] local.INFO: GPS data processed {"connection_id":204738,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:41:10] local.INFO: Acknowledgment sent {"connection_id":204738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:41:31] local.INFO: TCP Data received {"connection_id":204871,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:41:31] local.INFO: Processing buffer {"connection_id":204871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:41:31] local.INFO: IMEI packet received {"connection_id":204871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":204871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:41:34] local.INFO: TCP Data received {"connection_id":204871,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:41:34] local.INFO: Processing buffer {"connection_id":204871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:41:34] local.INFO: IMEI packet received {"connection_id":204871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":204871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:41:35] local.INFO: TCP Data received {"connection_id":204871,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:41:35] local.INFO: Processing buffer {"connection_id":204871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:41:35] local.INFO: IMEI packet received {"connection_id":204871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":204871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:41:40] local.INFO: TCP Data received {"connection_id":204871,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:41:40] local.INFO: Processing buffer {"connection_id":204871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:41:40] local.INFO: IMEI packet received {"connection_id":204871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":204871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:41:41] local.INFO: TCP Data received {"connection_id":204871,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf950f8012d7b4ac005e1af980003004b2b..."} 
[2026-10-05 17:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf950f8012d7b4ac005e1af980003004b2b..."} 
[2026-10-05 17:41:41] local.INFO: Processing buffer {"connection_id":204871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf950f8012d7b4ac005e1af980003004b2b..."} 
[2026-10-05 17:41:41] local.INFO: Packet analysis {"connection_id":204871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf9"} 
[2026-10-05 17:41:41] local.INFO: Extracted packet for processing {"connection_id":204871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf9"} 
[2026-10-05 17:41:41] local.INFO: GPS Element Parsed {"raw_longitude":763054784,"raw_latitude":98676632,"longitude_deg":76.3054784,"latitude_deg":9.8676632,"altitude":3,"angle":75,"satellites":43,"speed":21,"hex_longitude":"2d7b4ac0","hex_latitude":"05e1af98","is_valid_coordinates":true} 
[2026-10-05 17:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547775744001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883068815272759296,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139769759209095168,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:41] 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-10-05 17:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791202251000,"timestamp_ms":1791202251000,"timestamp_seconds":1791202251,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf950f8"} 
[2026-10-05 17:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 17:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751640719,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:41] local.WARNING: Large IO value detected {"io_id":143,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:41] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-1112474869867479040,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:41] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:41] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13454893,"corrected_to":0} 
[2026-10-05 17:41:41] local.WARNING: Large IO value detected {"io_id":11,"raw_value":4181041153,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:41] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2975334402,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:41] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634553145773613,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-05 17:41:41] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3087084923,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:41] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-4251172236708229547,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:41] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:41] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3786676224,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:41] local.WARNING: Large IO value detected {"io_id":123,"raw_value":4485591696096100353,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:41] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755459570729201,"note":"Value kept but may cause issues"} 
[2026-10-05 17:41:41] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,45,85,24,241,157,16,143,161,69,128,174,3,41,10,66,61,192,175,38,57,1,240,203,227,11,225,4,113,205,49,64,40,35,239,53,2,5,123,59],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":203,"original":13454893,"validated":0},{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-10-05 17:41:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216269719526637568,"timestamp_seconds":216269719526637.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 17:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547775744001,"66":13678,"45":8883068815272759296,"85":15104,"24":21,"16":139769759209095168},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 17:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547775744001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883068815272759296,"description":"Unknown IO ID 45"} 
[2026-10-05 17:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139769759209095168,"km_value":139769759209095.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:41:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458547775744001,"power":13678,"unknown_45":8883068815272759296,"unknown_85":15104,"ignition":21,"odometer":null}} 
[2026-10-05 17:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":204871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968950,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:41:41] local.INFO: GPS data processed {"connection_id":204871,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:41:41] local.INFO: Acknowledgment sent {"connection_id":204871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:41:55] local.INFO: TCP Data received {"connection_id":204739,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:41:55] local.INFO: Processing buffer {"connection_id":204739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:41:55] local.INFO: IMEI packet received {"connection_id":204739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":204739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:41:59] local.INFO: TCP Data received {"connection_id":204739,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:41:59] local.INFO: Processing buffer {"connection_id":204739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:41:59] local.INFO: IMEI packet received {"connection_id":204739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":204739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:42:00] local.INFO: TCP Data received {"connection_id":204739,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:42:00] local.INFO: Processing buffer {"connection_id":204739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:42:00] local.INFO: Packet analysis {"connection_id":204739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf8"} 
[2026-10-05 17:42:00] local.INFO: Extracted packet for processing {"connection_id":204739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf8"} 
[2026-10-05 17:42:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547690496001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791202217000,"timestamp_ms":1791202217000,"timestamp_seconds":1791202217,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf8cc28"} 
[2026-10-05 17:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 17:42: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-10-05 17: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-10-05 17:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547690496001,"66":25941,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547690496001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:42:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:42:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547690496001,"power":25941,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":204739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:42:00] local.INFO: GPS data processed {"connection_id":204739,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:42:00] local.INFO: Acknowledgment sent {"connection_id":204739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:42:12] local.INFO: TCP Data received {"connection_id":204871,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf96c50012d7b5a4005e1b2e8000400572b..."} 
[2026-10-05 17:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf96c50012d7b5a4005e1b2e8000400572b..."} 
[2026-10-05 17:42:12] local.INFO: Processing buffer {"connection_id":204871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf96c50012d7b5a4005e1b2e8000400572b..."} 
[2026-10-05 17:42:12] local.INFO: Packet analysis {"connection_id":204871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf9"} 
[2026-10-05 17:42:12] local.INFO: Extracted packet for processing {"connection_id":204871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf9"} 
[2026-10-05 17:42:12] local.INFO: GPS Element Parsed {"raw_longitude":763058752,"raw_latitude":98677480,"longitude_deg":76.3058752,"latitude_deg":9.867748,"altitude":4,"angle":87,"satellites":43,"speed":24,"hex_longitude":"2d7b5a40","hex_latitude":"05e1b2e8","is_valid_coordinates":true} 
[2026-10-05 17:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547776256001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884124346435475456,"note":"Value kept but may cause issues"} 
[2026-10-05 17:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139769952482623488,"note":"Value kept but may cause issues"} 
[2026-10-05 17:42: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-10-05 17:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791202258000,"timestamp_ms":1791202258000,"timestamp_seconds":1791202258,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf96c50"} 
[2026-10-05 17:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 17:42:12] 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-10-05 17:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547776256001,"66":13243,"45":8884124346435475456,"85":15104,"24":24,"16":139769952482623488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 17:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547776256001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884124346435475456,"description":"Unknown IO ID 45"} 
[2026-10-05 17:42:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139769952482623488,"km_value":139769952482623.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:42:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458547776256001,"power":13243,"unknown_45":8884124346435475456,"unknown_85":15104,"ignition":24,"odometer":null}} 
[2026-10-05 17:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":204871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:42:12] local.INFO: GPS data processed {"connection_id":204871,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:42:12] local.INFO: Acknowledgment sent {"connection_id":204871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:42:31] local.INFO: TCP Data received {"connection_id":204872,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:42:31] local.INFO: Processing buffer {"connection_id":204872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:42:31] local.INFO: IMEI packet received {"connection_id":204872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":204872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:42:32] local.INFO: TCP Data received {"connection_id":204739,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:42:32] local.INFO: Processing buffer {"connection_id":204739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:42:32] local.INFO: Packet analysis {"connection_id":204739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf8"} 
[2026-10-05 17:42:32] local.INFO: Extracted packet for processing {"connection_id":204739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf8"} 
[2026-10-05 17:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:42: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-10-05 17:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547690496001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791202217000,"timestamp_ms":1791202217000,"timestamp_seconds":1791202217,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf8cc28"} 
[2026-10-05 17:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 17:42:32] 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-10-05 17:42: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-10-05 17:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547690496001,"66":25941,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547690496001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:42:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:42:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547690496001,"power":25941,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":204739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:42:32] local.INFO: GPS data processed {"connection_id":204739,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:42:32] local.INFO: Acknowledgment sent {"connection_id":204739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:42:32] local.INFO: TCP Data received {"connection_id":204872,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:42:32] local.INFO: Processing buffer {"connection_id":204872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:42:32] local.INFO: IMEI packet received {"connection_id":204872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":204872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:42:33] local.INFO: TCP Data received {"connection_id":204872,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bfa8d60012d7c1e4005e1ded0000b00512b..."} 
[2026-10-05 17:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bfa8d60012d7c1e4005e1ded0000b00512b..."} 
[2026-10-05 17:42:33] local.INFO: Processing buffer {"connection_id":204872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bfa8d60012d7c1e4005e1ded0000b00512b..."} 
[2026-10-05 17:42:33] local.INFO: Packet analysis {"connection_id":204872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bfa"} 
[2026-10-05 17:42:33] local.INFO: Extracted packet for processing {"connection_id":204872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bfa"} 
[2026-10-05 17:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763108928,"raw_latitude":98688720,"longitude_deg":76.3108928,"latitude_deg":9.868872,"altitude":11,"angle":81,"satellites":43,"speed":36,"hex_longitude":"2d7c1e40","hex_latitude":"05e1ded0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547794432001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933734311083454464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139772499398230016,"note":"Value kept but may cause issues"} 
[2026-10-05 17: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-10-05 17:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791202332000,"timestamp_ms":1791202332000,"timestamp_seconds":1791202332,"priority":1,"record_length":96,"hex_timestamp":"000001a10bfa8d60"} 
[2026-10-05 17:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:42: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-10-05 17: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-05 17:42:33] 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-10-05 17: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-10-05 17:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547794432001,"66":13493,"45":8933734311083454464,"85":15104,"24":36,"16":139772499398230016},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 17:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547794432001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933734311083454464,"description":"Unknown IO ID 45"} 
[2026-10-05 17:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139772499398230016,"km_value":139772499398230.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:42:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458547794432001,"power":13493,"unknown_45":8933734311083454464,"unknown_85":15104,"ignition":36,"odometer":null}} 
[2026-10-05 17:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":204872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968954,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:42:33] local.INFO: GPS data processed {"connection_id":204872,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:42:33] local.INFO: Acknowledgment sent {"connection_id":204872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:42:36] local.INFO: TCP Data received {"connection_id":204872,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bfa9530012d7c24c005e1df30000b005c2c..."} 
[2026-10-05 17:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bfa9530012d7c24c005e1df30000b005c2c..."} 
[2026-10-05 17:42:36] local.INFO: Processing buffer {"connection_id":204872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bfa9530012d7c24c005e1df30000b005c2c..."} 
[2026-10-05 17:42:36] local.INFO: Packet analysis {"connection_id":204872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bfa"} 
[2026-10-05 17:42:36] local.INFO: Extracted packet for processing {"connection_id":204872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bfa"} 
[2026-10-05 17:42:36] local.INFO: GPS Element Parsed {"raw_longitude":763110592,"raw_latitude":98688816,"longitude_deg":76.3110592,"latitude_deg":9.8688816,"altitude":11,"angle":92,"satellites":44,"speed":32,"hex_longitude":"2d7c24c0","hex_latitude":"05e1df30","is_valid_coordinates":true} 
[2026-10-05 17:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547796992001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943656304012873728,"note":"Value kept but may cause issues"} 
[2026-10-05 17:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139772581002608640,"note":"Value kept but may cause issues"} 
[2026-10-05 17:42:36] 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-10-05 17:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791202334000,"timestamp_ms":1791202334000,"timestamp_seconds":1791202334,"priority":1,"record_length":96,"hex_timestamp":"000001a10bfa9530"} 
[2026-10-05 17:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-10-05 17:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547796992001,"66":13493,"45":8943656304012873728,"85":15104,"24":32,"16":139772581002608640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 17:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547796992001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943656304012873728,"description":"Unknown IO ID 45"} 
[2026-10-05 17:42:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139772581002608640,"km_value":139772581002608.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:42:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458547796992001,"power":13493,"unknown_45":8943656304012873728,"unknown_85":15104,"ignition":32,"odometer":null}} 
[2026-10-05 17:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":204872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:42:36] local.INFO: GPS data processed {"connection_id":204872,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:42:36] local.INFO: Acknowledgment sent {"connection_id":204872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:42:54] local.INFO: TCP Data received {"connection_id":207812,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:42:54] local.INFO: Processing buffer {"connection_id":207812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:42:54] local.INFO: IMEI packet received {"connection_id":207812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":207812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:42:59] local.INFO: TCP Data received {"connection_id":207812,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:42:59] local.INFO: Processing buffer {"connection_id":207812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:42:59] local.INFO: IMEI packet received {"connection_id":207812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":207812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:43:00] local.INFO: TCP Data received {"connection_id":207812,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:43:00] local.INFO: Processing buffer {"connection_id":207812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:43:00] local.INFO: Packet analysis {"connection_id":207812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf8"} 
[2026-10-05 17:43:00] local.INFO: Extracted packet for processing {"connection_id":207812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf8"} 
[2026-10-05 17:43:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547690496001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791202217000,"timestamp_ms":1791202217000,"timestamp_seconds":1791202217,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf8cc28"} 
[2026-10-05 17:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 17:43: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-10-05 17:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547690496001,"66":25941,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547690496001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:43:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:43:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547690496001,"power":25941,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":207812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:43:00] local.INFO: GPS data processed {"connection_id":207812,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:43:00] local.INFO: Acknowledgment sent {"connection_id":207812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:43:07] local.INFO: TCP Data received {"connection_id":204872,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bfab088012d7c35c005e1dea8000b00502d..."} 
[2026-10-05 17:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bfab088012d7c35c005e1dea8000b00502d..."} 
[2026-10-05 17:43:07] local.INFO: Processing buffer {"connection_id":204872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bfab088012d7c35c005e1dea8000b00502d..."} 
[2026-10-05 17:43:07] local.INFO: Packet analysis {"connection_id":204872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bfa"} 
[2026-10-05 17:43:07] local.INFO: Extracted packet for processing {"connection_id":204872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bfa"} 
[2026-10-05 17:43:07] local.INFO: GPS Element Parsed {"raw_longitude":763114944,"raw_latitude":98688680,"longitude_deg":76.3114944,"latitude_deg":9.868868,"altitude":11,"angle":80,"satellites":45,"speed":17,"hex_longitude":"2d7c35c0","hex_latitude":"05e1dea8","is_valid_coordinates":true} 
[2026-10-05 17:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547797504001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139772787161038848,"note":"Value kept but may cause issues"} 
[2026-10-05 17:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945485891361517568,"note":"Value kept but may cause issues"} 
[2026-10-05 17:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791202341000,"timestamp_ms":1791202341000,"timestamp_seconds":1791202341,"priority":1,"record_length":96,"hex_timestamp":"000001a10bfab088"} 
[2026-10-05 17:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-10-05 17:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547797504001,"66":13428,"43":206,"85":15104,"24":17,"16":139772787161038848,"45":8945485891361517568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-10-05 17:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547797504001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:43:07] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-05 17:43:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139772787161038848,"km_value":139772787161038.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945485891361517568,"description":"Unknown IO ID 45"} 
[2026-10-05 17:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547797504001,"power":13428,"unknown_43":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8945485891361517568}} 
[2026-10-05 17:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":204872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968957,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:43:07] local.INFO: GPS data processed {"connection_id":204872,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:43:07] local.INFO: Acknowledgment sent {"connection_id":204872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:43:31] local.INFO: TCP Data received {"connection_id":206265,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:43:31] local.INFO: Processing buffer {"connection_id":206265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:43:31] local.INFO: IMEI packet received {"connection_id":206265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":206265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:43:32] local.INFO: TCP Data received {"connection_id":207812,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:43:32] local.INFO: Processing buffer {"connection_id":207812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:43:32] local.INFO: Packet analysis {"connection_id":207812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf8"} 
[2026-10-05 17:43:32] local.INFO: Extracted packet for processing {"connection_id":207812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf8"} 
[2026-10-05 17:43:32] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547690496001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791202217000,"timestamp_ms":1791202217000,"timestamp_seconds":1791202217,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf8cc28"} 
[2026-10-05 17:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 17:43:32] 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-10-05 17: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-10-05 17:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547690496001,"66":25941,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547690496001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:43:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:43:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547690496001,"power":25941,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":207812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:43:32] local.INFO: GPS data processed {"connection_id":207812,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:43:32] local.INFO: Acknowledgment sent {"connection_id":207812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:43:36] local.INFO: TCP Data received {"connection_id":206265,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:43:36] local.INFO: Processing buffer {"connection_id":206265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:43:36] local.INFO: IMEI packet received {"connection_id":206265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":206265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:43:36] local.INFO: TCP Data received {"connection_id":206265,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bfb5c68012d7c774005e21180000a00652a..."} 
[2026-10-05 17:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bfb5c68012d7c774005e21180000a00652a..."} 
[2026-10-05 17:43:36] local.INFO: Processing buffer {"connection_id":206265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bfb5c68012d7c774005e21180000a00652a..."} 
[2026-10-05 17:43:36] local.INFO: Packet analysis {"connection_id":206265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bfb"} 
[2026-10-05 17:43:36] local.INFO: Extracted packet for processing {"connection_id":206265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bfb"} 
[2026-10-05 17:43:36] local.INFO: GPS Element Parsed {"raw_longitude":763131712,"raw_latitude":98701696,"longitude_deg":76.3131712,"latitude_deg":9.8701696,"altitude":10,"angle":101,"satellites":42,"speed":25,"hex_longitude":"2d7c7740","hex_latitude":"05e21180","is_valid_coordinates":true} 
[2026-10-05 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-10-05 17:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547809280001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139773921032404992,"note":"Value kept but may cause issues"} 
[2026-10-05 17:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8964344714804547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791202385000,"timestamp_ms":1791202385000,"timestamp_seconds":1791202385,"priority":1,"record_length":96,"hex_timestamp":"000001a10bfb5c68"} 
[2026-10-05 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-10-05 17:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":62,"data_length":795,"current_offset":136} 
[2026-10-05 17:43: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-10-05 17:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 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-10-05 17:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547809280001,"66":13656,"43":206,"85":15104,"24":25,"16":139773921032404992,"45":8964344714804547584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-10-05 17:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547809280001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:43:36] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-05 17:43:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139773921032404992,"km_value":139773921032404.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8964344714804547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547809280001,"power":13656,"unknown_43":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8964344714804547584}} 
[2026-10-05 17:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":206265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968959,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:43:37] local.INFO: GPS data processed {"connection_id":206265,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:43:37] local.INFO: Acknowledgment sent {"connection_id":206265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:43:54] local.INFO: TCP Data received {"connection_id":204873,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:43:54] local.INFO: Processing buffer {"connection_id":204873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:43:54] local.INFO: IMEI packet received {"connection_id":204873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":204873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:43:59] local.INFO: TCP Data received {"connection_id":204873,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:43:59] local.INFO: Processing buffer {"connection_id":204873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:43:59] local.INFO: IMEI packet received {"connection_id":204873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":204873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:44:00] local.INFO: TCP Data received {"connection_id":204873,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:44:00] local.INFO: Processing buffer {"connection_id":204873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:44:00] local.INFO: Packet analysis {"connection_id":204873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf8"} 
[2026-10-05 17:44:00] local.INFO: Extracted packet for processing {"connection_id":204873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf8"} 
[2026-10-05 17:44:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547690496001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791202217000,"timestamp_ms":1791202217000,"timestamp_seconds":1791202217,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf8cc28"} 
[2026-10-05 17:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 17:44: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-10-05 17:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547690496001,"66":25941,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547690496001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:44:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:44:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547690496001,"power":25941,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":204873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:44:00] local.INFO: GPS data processed {"connection_id":204873,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:44:00] local.INFO: Acknowledgment sent {"connection_id":204873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:44:08] local.INFO: TCP Data received {"connection_id":206265,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bfb8760012d7c9c4005e20b28000c006428..."} 
[2026-10-05 17:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bfb8760012d7c9c4005e20b28000c006428..."} 
[2026-10-05 17:44:08] local.INFO: Processing buffer {"connection_id":206265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bfb8760012d7c9c4005e20b28000c006428..."} 
[2026-10-05 17:44:08] local.INFO: Packet analysis {"connection_id":206265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bfb"} 
[2026-10-05 17:44:08] local.INFO: Extracted packet for processing {"connection_id":206265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bfb"} 
[2026-10-05 17:44:08] local.INFO: GPS Element Parsed {"raw_longitude":763141184,"raw_latitude":98700072,"longitude_deg":76.3141184,"latitude_deg":9.8700072,"altitude":12,"angle":100,"satellites":40,"speed":35,"hex_longitude":"2d7c9c40","hex_latitude":"05e20b28","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547810560001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139774376298938368,"note":"Value kept but may cause issues"} 
[2026-10-05 17:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968707576943443968,"note":"Value kept but may cause issues"} 
[2026-10-05 17:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791202396000,"timestamp_ms":1791202396000,"timestamp_seconds":1791202396,"priority":1,"record_length":96,"hex_timestamp":"000001a10bfb8760"} 
[2026-10-05 17:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:44: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-10-05 17: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-05 17:44:08] 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-10-05 17: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-10-05 17:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547810560001,"66":13678,"43":206,"85":15104,"24":35,"16":139774376298938368,"45":8968707576943443968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-10-05 17:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547810560001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:44:08] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-05 17:44:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139774376298938368,"km_value":139774376298938.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968707576943443968,"description":"Unknown IO ID 45"} 
[2026-10-05 17:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547810560001,"power":13678,"unknown_43":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8968707576943443968}} 
[2026-10-05 17:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":206265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:44:08] local.INFO: GPS data processed {"connection_id":206265,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:44:08] local.INFO: Acknowledgment sent {"connection_id":206265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:44:30] local.INFO: TCP Data received {"connection_id":207814,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:44:30] local.INFO: Processing buffer {"connection_id":207814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:44:30] local.INFO: IMEI packet received {"connection_id":207814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":207814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:44:31] local.INFO: TCP Data received {"connection_id":204873,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:44:31] local.INFO: Processing buffer {"connection_id":204873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:44:31] local.INFO: Packet analysis {"connection_id":204873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf8"} 
[2026-10-05 17:44:31] local.INFO: Extracted packet for processing {"connection_id":204873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf8"} 
[2026-10-05 17:44:31] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547690496001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791202217000,"timestamp_ms":1791202217000,"timestamp_seconds":1791202217,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf8cc28"} 
[2026-10-05 17:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 17:44:31] 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-10-05 17:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547690496001,"66":25941,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547690496001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:44:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:44:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547690496001,"power":25941,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":204873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:44:31] local.INFO: GPS data processed {"connection_id":204873,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:44:31] local.INFO: Acknowledgment sent {"connection_id":204873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:44:33] local.INFO: TCP Data received {"connection_id":207814,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:44:33] local.INFO: Processing buffer {"connection_id":207814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:44:33] local.INFO: IMEI packet received {"connection_id":207814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":207814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:44:33] local.INFO: TCP Data received {"connection_id":207814,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bfbaa88012d7cb90005e20758000c00592b..."} 
[2026-10-05 17:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bfbaa88012d7cb90005e20758000c00592b..."} 
[2026-10-05 17:44:33] local.INFO: Processing buffer {"connection_id":207814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bfbaa88012d7cb90005e20758000c00592b..."} 
[2026-10-05 17:44:33] local.INFO: Packet analysis {"connection_id":207814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bfb"} 
[2026-10-05 17:44:33] local.INFO: Extracted packet for processing {"connection_id":207814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bfb"} 
[2026-10-05 17:44:33] local.INFO: GPS Element Parsed {"raw_longitude":763148544,"raw_latitude":98699096,"longitude_deg":76.3148544,"latitude_deg":9.8699096,"altitude":12,"angle":89,"satellites":43,"speed":21,"hex_longitude":"2d7cb900","hex_latitude":"05e20758","is_valid_coordinates":true} 
[2026-10-05 17:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547813376001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139774732781223936,"note":"Value kept but may cause issues"} 
[2026-10-05 17:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979122151081322496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791202405000,"timestamp_ms":1791202405000,"timestamp_seconds":1791202405,"priority":1,"record_length":96,"hex_timestamp":"000001a10bfbaa88"} 
[2026-10-05 17:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:44: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-10-05 17:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 17:44:33] 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-10-05 17:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":207814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":207814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":207814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547813376001,"66":13189,"43":206,"85":15104,"24":21,"16":139774732781223936,"45":8979122151081322496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-10-05 17:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547813376001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:44:33] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-05 17:44:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139774732781223936,"km_value":139774732781223.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979122151081322496,"description":"Unknown IO ID 45"} 
[2026-10-05 17:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547813376001,"power":13189,"unknown_43":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8979122151081322496}} 
[2026-10-05 17:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":207814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:44:33] local.INFO: GPS data processed {"connection_id":207814,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:44:33] local.INFO: Acknowledgment sent {"connection_id":207814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:44:49] local.INFO: TCP Data received {"connection_id":207815,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:44:49] local.INFO: Processing buffer {"connection_id":207815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:44:49] local.INFO: IMEI packet received {"connection_id":207815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 17:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":207815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:44:54] local.INFO: TCP Data received {"connection_id":206266,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:44:54] local.INFO: Processing buffer {"connection_id":206266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:44:54] local.INFO: IMEI packet received {"connection_id":206266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":206266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:44:59] local.INFO: TCP Data received {"connection_id":206266,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:44:59] local.INFO: Processing buffer {"connection_id":206266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:44:59] local.INFO: IMEI packet received {"connection_id":206266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":206266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:45:00] local.INFO: TCP Data received {"connection_id":206266,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:45:01] local.INFO: Processing buffer {"connection_id":206266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:45:01] local.INFO: Packet analysis {"connection_id":206266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf8"} 
[2026-10-05 17:45:01] local.INFO: Extracted packet for processing {"connection_id":206266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf8"} 
[2026-10-05 17:45:01] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547690496001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791202217000,"timestamp_ms":1791202217000,"timestamp_seconds":1791202217,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf8cc28"} 
[2026-10-05 17:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 17:45:01] 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-10-05 17:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":206266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":206266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":206266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547690496001,"66":25941,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547690496001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:45:01] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:45:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547690496001,"power":25941,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":206266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:45:01] local.INFO: GPS data processed {"connection_id":206266,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:45:01] local.INFO: Acknowledgment sent {"connection_id":206266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:45:04] local.INFO: TCP Data received {"connection_id":207814,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bfbe520012d7cd70005e206c0000b004c2e..."} 
[2026-10-05 17:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bfbe520012d7cd70005e206c0000b004c2e..."} 
[2026-10-05 17:45:04] local.INFO: Processing buffer {"connection_id":207814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bfbe520012d7cd70005e206c0000b004c2e..."} 
[2026-10-05 17:45:04] local.INFO: Packet analysis {"connection_id":207814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bfb"} 
[2026-10-05 17:45:04] local.INFO: Extracted packet for processing {"connection_id":207814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bfb"} 
[2026-10-05 17:45:04] local.INFO: GPS Element Parsed {"raw_longitude":763156224,"raw_latitude":98698944,"longitude_deg":76.3156224,"latitude_deg":9.8698944,"altitude":11,"angle":76,"satellites":46,"speed":15,"hex_longitude":"2d7cd700","hex_latitude":"05e206c0","is_valid_coordinates":true} 
[2026-10-05 17:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547815680001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139775102148411392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987214556661504000,"note":"Value kept but may cause issues"} 
[2026-10-05 17:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791202420000,"timestamp_ms":1791202420000,"timestamp_seconds":1791202420,"priority":1,"record_length":96,"hex_timestamp":"000001a10bfbe520"} 
[2026-10-05 17:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:45: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-10-05 17: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 17:45:04] 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-10-05 17: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-10-05 17:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":207814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":207814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":207814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547815680001,"66":13124,"43":206,"85":15104,"24":15,"16":139775102148411392,"45":8987214556661504000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-10-05 17:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547815680001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:45:04] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-05 17:45:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139775102148411392,"km_value":139775102148411.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987214556661504000,"description":"Unknown IO ID 45"} 
[2026-10-05 17:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547815680001,"power":13124,"unknown_43":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8987214556661504000}} 
[2026-10-05 17:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":207814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:45:05] local.INFO: GPS data processed {"connection_id":207814,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:45:05] local.INFO: Acknowledgment sent {"connection_id":207814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:45:31] local.INFO: TCP Data received {"connection_id":207816,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:45:31] local.INFO: Processing buffer {"connection_id":207816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:45:31] local.INFO: IMEI packet received {"connection_id":207816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":207816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:45:32] local.INFO: TCP Data received {"connection_id":206266,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:45:32] local.INFO: Processing buffer {"connection_id":206266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bf8cc28012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:45:32] local.INFO: Packet analysis {"connection_id":206266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bf8"} 
[2026-10-05 17:45:32] local.INFO: Extracted packet for processing {"connection_id":206266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bf8"} 
[2026-10-05 17:45:32] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547690496001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791202217000,"timestamp_ms":1791202217000,"timestamp_seconds":1791202217,"priority":1,"record_length":96,"hex_timestamp":"000001a10bf8cc28"} 
[2026-10-05 17:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 17:45:32] 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-10-05 17:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547690496001,"66":25941,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547690496001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:45:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:45:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547690496001,"power":25941,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":206266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:45:32] local.INFO: GPS data processed {"connection_id":206266,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:45:32] local.INFO: Acknowledgment sent {"connection_id":206266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:45:33] local.INFO: TCP Data received {"connection_id":204874,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:45:33] local.INFO: Processing buffer {"connection_id":204874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:45:33] local.INFO: IMEI packet received {"connection_id":204874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 17:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":204874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:45:36] local.INFO: TCP Data received {"connection_id":207816,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:45:36] local.INFO: Processing buffer {"connection_id":207816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:45:36] local.INFO: IMEI packet received {"connection_id":207816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":207816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:45:36] local.INFO: TCP Data received {"connection_id":207816,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bfc3728012d7cda0005e207a8000b00452c..."} 
[2026-10-05 17:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bfc3728012d7cda0005e207a8000b00452c..."} 
[2026-10-05 17:45:36] local.INFO: Processing buffer {"connection_id":207816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bfc3728012d7cda0005e207a8000b00452c..."} 
[2026-10-05 17:45:36] local.INFO: Packet analysis {"connection_id":207816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bfc"} 
[2026-10-05 17:45:36] local.INFO: Extracted packet for processing {"connection_id":207816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bfc"} 
[2026-10-05 17:45:36] local.INFO: GPS Element Parsed {"raw_longitude":763156992,"raw_latitude":98699176,"longitude_deg":76.3156992,"latitude_deg":9.8699176,"altitude":11,"angle":69,"satellites":44,"speed":0,"hex_longitude":"2d7cda00","hex_latitude":"05e207a8","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547819520001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139775145098084352,"note":"Value kept but may cause issues"} 
[2026-10-05 17:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995658805962784768,"note":"Value kept but may cause issues"} 
[2026-10-05 17:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791202441000,"timestamp_ms":1791202441000,"timestamp_seconds":1791202441,"priority":1,"record_length":96,"hex_timestamp":"000001a10bfc3728"} 
[2026-10-05 17:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17: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":68,"data_length":795,"current_offset":136} 
[2026-10-05 17:45:36] 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-10-05 17: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-10-05 17:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547819520001,"66":13319,"43":206,"85":15104,"24":0,"16":139775145098084352,"45":8995658805962784768},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-10-05 17:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547819520001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:45:36] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-05 17:45:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139775145098084352,"km_value":139775145098084.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995658805962784768,"description":"Unknown IO ID 45"} 
[2026-10-05 17:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547819520001,"power":13319,"unknown_43":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8995658805962784768}} 
[2026-10-05 17:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":207816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:45:37] local.INFO: GPS data processed {"connection_id":207816,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:45:37] local.INFO: Acknowledgment sent {"connection_id":207816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:45:56] local.INFO: TCP Data received {"connection_id":204740,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:45:56] local.INFO: Processing buffer {"connection_id":204740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:45:56] local.INFO: IMEI packet received {"connection_id":204740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":204740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:46:00] local.INFO: TCP Data received {"connection_id":204740,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:46:00] local.INFO: Processing buffer {"connection_id":204740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:46:00] local.INFO: IMEI packet received {"connection_id":204740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":204740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:46:04] local.INFO: TCP Data received {"connection_id":204740,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:46:04] local.INFO: Processing buffer {"connection_id":204740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:46:04] local.INFO: IMEI packet received {"connection_id":204740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":204740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:46:05] local.INFO: TCP Data received {"connection_id":204740,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:46:05] local.INFO: Processing buffer {"connection_id":204740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:46:05] local.INFO: Packet analysis {"connection_id":204740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bfd"} 
[2026-10-05 17:46:05] local.INFO: Extracted packet for processing {"connection_id":204740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bfd"} 
[2026-10-05 17:46:05] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547767552001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791202518000,"timestamp_ms":1791202518000,"timestamp_seconds":1791202518,"priority":1,"record_length":96,"hex_timestamp":"000001a10bfd63f0"} 
[2026-10-05 17:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 17:46:05] 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-10-05 17:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:46:05] 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-10-05 17:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547767552001,"66":25908,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547767552001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:46:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:46:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547767552001,"power":25908,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":204740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:46:05] local.INFO: GPS data processed {"connection_id":204740,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:46:05] local.INFO: Acknowledgment sent {"connection_id":204740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:46:08] local.INFO: TCP Data received {"connection_id":207816,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bfc8930012d7cda0005e207a8000b00452c..."} 
[2026-10-05 17:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bfc8930012d7cda0005e207a8000b00452c..."} 
[2026-10-05 17:46:08] local.INFO: Processing buffer {"connection_id":207816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bfc8930012d7cda0005e207a8000b00452c..."} 
[2026-10-05 17:46:08] local.INFO: Packet analysis {"connection_id":207816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bfc"} 
[2026-10-05 17:46:08] local.INFO: Extracted packet for processing {"connection_id":207816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bfc"} 
[2026-10-05 17:46:08] local.INFO: GPS Element Parsed {"raw_longitude":763156992,"raw_latitude":98699176,"longitude_deg":76.3156992,"latitude_deg":9.8699176,"altitude":11,"angle":69,"satellites":44,"speed":0,"hex_longitude":"2d7cda00","hex_latitude":"05e207a8","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547824896001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139775145098084352,"note":"Value kept but may cause issues"} 
[2026-10-05 17:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8996503230892976128,"note":"Value kept but may cause issues"} 
[2026-10-05 17:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791202462000,"timestamp_ms":1791202462000,"timestamp_seconds":1791202462,"priority":1,"record_length":96,"hex_timestamp":"000001a10bfc8930"} 
[2026-10-05 17:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:46: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-10-05 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 17:46:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 17:46:08] local.WARNING: Large IO value detected {"io_id":11,"raw_value":4217137153,"note":"Value kept but may cause issues"} 
[2026-10-05 17:46:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 17:46:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2474049536,"note":"Value kept but may cause issues"} 
[2026-10-05 17:46:08] local.WARNING: Large IO value detected {"io_id":226,"raw_value":1263259738430843648,"note":"Value kept but may cause issues"} 
[2026-10-05 17:46:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-10-05 17:46:08] local.WARNING: Large IO value detected {"io_id":72,"raw_value":3758173564,"note":"Value kept but may cause issues"} 
[2026-10-05 17:46:08] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221611027,"note":"Value kept but may cause issues"} 
[2026-10-05 17:46:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792869376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:46:08] local.WARNING: Large IO value detected {"io_id":88,"raw_value":57788316829766971,"note":"Value kept but may cause issues"} 
[2026-10-05 17:46:08] local.WARNING: Large IO value detected {"io_id":251,"raw_value":4406773530253770757,"note":"Value kept but may cause issues"} 
[2026-10-05 17:46:08] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,43,85,24,241,157,16,148,161,229,45,6,11,46,10,66,170,7,12,135,64,1,240,110,227,226,4,113,205,25,72,103,80,239,52,2,5,26,88,251],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1311441102,"validated":0}]} 
[2026-10-05 17:46:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792709589698084864,"timestamp_seconds":792709589698084.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 17:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547824896001,"66":13091,"43":206,"85":15104,"24":0,"16":139775145098084352,"45":8996503230892976128},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-10-05 17:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547824896001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:46:08] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-05 17:46:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139775145098084352,"km_value":139775145098084.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8996503230892976128,"description":"Unknown IO ID 45"} 
[2026-10-05 17:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547824896001,"power":13091,"unknown_43":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8996503230892976128}} 
[2026-10-05 17:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":207816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:46:08] local.INFO: GPS data processed {"connection_id":207816,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:46:08] local.INFO: Acknowledgment sent {"connection_id":207816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:46:10] local.INFO: TCP Data received {"connection_id":204740,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:46:10] local.INFO: Processing buffer {"connection_id":204740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:46:10] local.INFO: Packet analysis {"connection_id":204740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bfd"} 
[2026-10-05 17:46:10] local.INFO: Extracted packet for processing {"connection_id":204740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bfd"} 
[2026-10-05 17:46:10] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547767552001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791202518000,"timestamp_ms":1791202518000,"timestamp_seconds":1791202518,"priority":1,"record_length":96,"hex_timestamp":"000001a10bfd63f0"} 
[2026-10-05 17:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 17:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547767552001,"66":25908,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547767552001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:46:10] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:46:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547767552001,"power":25908,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":204740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:46:10] local.INFO: GPS data processed {"connection_id":204740,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:46:10] local.INFO: Acknowledgment sent {"connection_id":204740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:46:30] local.INFO: TCP Data received {"connection_id":204875,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:46:30] local.INFO: Processing buffer {"connection_id":204875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:46:30] local.INFO: IMEI packet received {"connection_id":204875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":204875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:46:33] local.INFO: TCP Data received {"connection_id":204875,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:46:33] local.INFO: Processing buffer {"connection_id":204875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:46:33] local.INFO: IMEI packet received {"connection_id":204875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":204875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:46:35] local.INFO: TCP Data received {"connection_id":204875,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:46:35] local.INFO: Processing buffer {"connection_id":204875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:46:35] local.INFO: IMEI packet received {"connection_id":204875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":204875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:46:37] local.INFO: TCP Data received {"connection_id":204875,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bfe0418012d7ddac005e204f0000a003b2b..."} 
[2026-10-05 17:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bfe0418012d7ddac005e204f0000a003b2b..."} 
[2026-10-05 17:46:37] local.INFO: Processing buffer {"connection_id":204875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bfe0418012d7ddac005e204f0000a003b2b..."} 
[2026-10-05 17:46:37] local.INFO: Packet analysis {"connection_id":204875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bfe"} 
[2026-10-05 17:46:37] local.INFO: Extracted packet for processing {"connection_id":204875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bfe"} 
[2026-10-05 17:46:37] local.INFO: GPS Element Parsed {"raw_longitude":763222720,"raw_latitude":98698480,"longitude_deg":76.322272,"latitude_deg":9.869848,"altitude":10,"angle":59,"satellites":43,"speed":11,"hex_longitude":"2d7ddac0","hex_latitude":"05e204f0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547853568001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139778327668850688,"note":"Value kept but may cause issues"} 
[2026-10-05 17:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9064620175256348672,"note":"Value kept but may cause issues"} 
[2026-10-05 17:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791202559000,"timestamp_ms":1791202559000,"timestamp_seconds":1791202559,"priority":1,"record_length":96,"hex_timestamp":"000001a10bfe0418"} 
[2026-10-05 17:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:46: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-10-05 17: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":215,"data_length":795,"current_offset":136} 
[2026-10-05 17:46:37] 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-10-05 17: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-10-05 17:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547853568001,"66":13515,"43":206,"85":15104,"24":11,"16":139778327668850688,"45":9064620175256348672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-10-05 17:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547853568001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:46:37] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-05 17:46:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139778327668850688,"km_value":139778327668850.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9064620175256348672,"description":"Unknown IO ID 45"} 
[2026-10-05 17:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547853568001,"power":13515,"unknown_43":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9064620175256348672}} 
[2026-10-05 17:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":204875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968971,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:46:37] local.INFO: GPS data processed {"connection_id":204875,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:46:37] local.INFO: Acknowledgment sent {"connection_id":204875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:46:38] local.INFO: TCP Data received {"connection_id":204875,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bfe32f8012d7dee4005e20e98000800482b..."} 
[2026-10-05 17:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bfe32f8012d7dee4005e20e98000800482b..."} 
[2026-10-05 17:46:38] local.INFO: Processing buffer {"connection_id":204875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bfe32f8012d7dee4005e20e98000800482b..."} 
[2026-10-05 17:46:38] local.INFO: Packet analysis {"connection_id":204875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bfe"} 
[2026-10-05 17:46:38] local.INFO: Extracted packet for processing {"connection_id":204875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bfe"} 
[2026-10-05 17:46:38] local.INFO: GPS Element Parsed {"raw_longitude":763227712,"raw_latitude":98700952,"longitude_deg":76.3227712,"latitude_deg":9.8700952,"altitude":8,"angle":72,"satellites":43,"speed":21,"hex_longitude":"2d7dee40","hex_latitude":"05e20e98","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547855104001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139778593956823040,"note":"Value kept but may cause issues"} 
[2026-10-05 17:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068771931163258880,"note":"Value kept but may cause issues"} 
[2026-10-05 17:46:38] 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-10-05 17:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791202571000,"timestamp_ms":1791202571000,"timestamp_seconds":1791202571,"priority":1,"record_length":96,"hex_timestamp":"000001a10bfe32f8"} 
[2026-10-05 17:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-10-05 17:46:38] 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-10-05 17: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-10-05 17:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547855104001,"66":13787,"198":206,"85":15104,"24":21,"16":139778593956823040,"45":9068771931163258880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-10-05 17:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547855104001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:46:38] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-05 17:46:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139778593956823040,"km_value":139778593956823.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068771931163258880,"description":"Unknown IO ID 45"} 
[2026-10-05 17:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547855104001,"power":13787,"unknown_198":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9068771931163258880}} 
[2026-10-05 17:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":204875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:46:38] local.INFO: GPS data processed {"connection_id":204875,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:46:38] local.INFO: Acknowledgment sent {"connection_id":204875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:46:54] local.INFO: TCP Data received {"connection_id":206267,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:46:54] local.INFO: Processing buffer {"connection_id":206267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:46:54] local.INFO: IMEI packet received {"connection_id":206267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":206267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:46:59] local.INFO: TCP Data received {"connection_id":206267,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:46:59] local.INFO: Processing buffer {"connection_id":206267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:46:59] local.INFO: IMEI packet received {"connection_id":206267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":206267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:47:00] local.INFO: TCP Data received {"connection_id":206267,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:47:00] local.INFO: Processing buffer {"connection_id":206267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:47:00] local.INFO: Packet analysis {"connection_id":206267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bfd"} 
[2026-10-05 17:47:00] local.INFO: Extracted packet for processing {"connection_id":206267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bfd"} 
[2026-10-05 17:47:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547767552001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791202518000,"timestamp_ms":1791202518000,"timestamp_seconds":1791202518,"priority":1,"record_length":96,"hex_timestamp":"000001a10bfd63f0"} 
[2026-10-05 17:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 17:47:00] 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-10-05 17: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-10-05 17:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547767552001,"66":25908,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547767552001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:47:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:47:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547767552001,"power":25908,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":206267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:47:00] local.INFO: GPS data processed {"connection_id":206267,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:47:00] local.INFO: Acknowledgment sent {"connection_id":206267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:47:09] local.INFO: TCP Data received {"connection_id":204875,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bfe8500012d7e014005e214580007005128..."} 
[2026-10-05 17:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bfe8500012d7e014005e214580007005128..."} 
[2026-10-05 17:47:09] local.INFO: Processing buffer {"connection_id":204875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bfe8500012d7e014005e214580007005128..."} 
[2026-10-05 17:47:09] local.INFO: Packet analysis {"connection_id":204875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bfe"} 
[2026-10-05 17:47:09] local.INFO: Extracted packet for processing {"connection_id":204875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bfe"} 
[2026-10-05 17:47:09] local.INFO: GPS Element Parsed {"raw_longitude":763232576,"raw_latitude":98702424,"longitude_deg":76.3232576,"latitude_deg":9.8702424,"altitude":7,"angle":81,"satellites":40,"speed":0,"hex_longitude":"2d7e0140","hex_latitude":"05e21458","is_valid_coordinates":true} 
[2026-10-05 17:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547858176001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139778838769958912,"note":"Value kept but may cause issues"} 
[2026-10-05 17:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9074260693209749504,"note":"Value kept but may cause issues"} 
[2026-10-05 17:47:09] 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-10-05 17:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791202592000,"timestamp_ms":1791202592000,"timestamp_seconds":1791202592,"priority":1,"record_length":96,"hex_timestamp":"000001a10bfe8500"} 
[2026-10-05 17:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-10-05 17:47: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-10-05 17:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547858176001,"66":13352,"198":206,"85":15104,"24":0,"16":139778838769958912,"45":9074260693209749504},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-10-05 17:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547858176001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:47:09] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-05 17:47:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139778838769958912,"km_value":139778838769958.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9074260693209749504,"description":"Unknown IO ID 45"} 
[2026-10-05 17:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547858176001,"power":13352,"unknown_198":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9074260693209749504}} 
[2026-10-05 17:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":204875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:47:09] local.INFO: GPS data processed {"connection_id":204875,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:47:09] local.INFO: Acknowledgment sent {"connection_id":204875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:47:30] local.INFO: TCP Data received {"connection_id":204876,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:47:30] local.INFO: Processing buffer {"connection_id":204876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:47:30] local.INFO: IMEI packet received {"connection_id":204876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":204876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:47:30] local.INFO: TCP Data received {"connection_id":204876,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:47:30] local.INFO: Processing buffer {"connection_id":204876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:47:30] local.INFO: IMEI packet received {"connection_id":204876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":204876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:47:32] local.INFO: TCP Data received {"connection_id":206267,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:47:32] local.INFO: Processing buffer {"connection_id":206267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:47:32] local.INFO: Packet analysis {"connection_id":206267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bfd"} 
[2026-10-05 17:47:32] local.INFO: Extracted packet for processing {"connection_id":206267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bfd"} 
[2026-10-05 17:47:32] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547767552001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791202518000,"timestamp_ms":1791202518000,"timestamp_seconds":1791202518,"priority":1,"record_length":96,"hex_timestamp":"000001a10bfd63f0"} 
[2026-10-05 17:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 17:47:32] 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-10-05 17:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547767552001,"66":25908,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547767552001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:47:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:47:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547767552001,"power":25908,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":206267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:47:32] local.INFO: GPS data processed {"connection_id":206267,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:47:32] local.INFO: Acknowledgment sent {"connection_id":206267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:47:36] local.INFO: TCP Data received {"connection_id":204876,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:47:36] local.INFO: Processing buffer {"connection_id":204876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:47:36] local.INFO: IMEI packet received {"connection_id":204876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":204876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:47:37] local.INFO: TCP Data received {"connection_id":204876,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bff3c98012d7e298005e1c010000b00c12a..."} 
[2026-10-05 17:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bff3c98012d7e298005e1c010000b00c12a..."} 
[2026-10-05 17:47:37] local.INFO: Processing buffer {"connection_id":204876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bff3c98012d7e298005e1c010000b00c12a..."} 
[2026-10-05 17:47:37] local.INFO: Packet analysis {"connection_id":204876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bff"} 
[2026-10-05 17:47:37] local.INFO: Extracted packet for processing {"connection_id":204876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bff"} 
[2026-10-05 17:47:37] local.INFO: GPS Element Parsed {"raw_longitude":763242880,"raw_latitude":98680848,"longitude_deg":76.324288,"latitude_deg":9.8680848,"altitude":11,"angle":193,"satellites":42,"speed":35,"hex_longitude":"2d7e2980","hex_latitude":"05e1c010","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547873792001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139780311943741440,"note":"Value kept but may cause issues"} 
[2026-10-05 17:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091712141762189312,"note":"Value kept but may cause issues"} 
[2026-10-05 17:47:37] 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-10-05 17:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791202639000,"timestamp_ms":1791202639000,"timestamp_seconds":1791202639,"priority":1,"record_length":96,"hex_timestamp":"000001a10bff3c98"} 
[2026-10-05 17:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:47: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-10-05 17: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":56,"data_length":795,"current_offset":136} 
[2026-10-05 17:47:37] 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-10-05 17:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547873792001,"66":13656,"198":206,"85":15104,"24":35,"16":139780311943741440,"45":9091712141762189312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-10-05 17:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547873792001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:47:37] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-05 17:47:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139780311943741440,"km_value":139780311943741.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091712141762189312,"description":"Unknown IO ID 45"} 
[2026-10-05 17:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547873792001,"power":13656,"unknown_198":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9091712141762189312}} 
[2026-10-05 17:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":204876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:47:37] local.INFO: GPS data processed {"connection_id":204876,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:47:37] local.INFO: Acknowledgment sent {"connection_id":204876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:47:54] local.INFO: TCP Data received {"connection_id":204877,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:47:54] local.INFO: Processing buffer {"connection_id":204877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:47:54] local.INFO: IMEI packet received {"connection_id":204877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":204877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:47:59] local.INFO: TCP Data received {"connection_id":204877,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:47:59] local.INFO: Processing buffer {"connection_id":204877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:47:59] local.INFO: IMEI packet received {"connection_id":204877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":204877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:48:00] local.INFO: TCP Data received {"connection_id":204877,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:48:00] local.INFO: Processing buffer {"connection_id":204877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:48:00] local.INFO: Packet analysis {"connection_id":204877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bfd"} 
[2026-10-05 17:48:00] local.INFO: Extracted packet for processing {"connection_id":204877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bfd"} 
[2026-10-05 17:48:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547767552001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791202518000,"timestamp_ms":1791202518000,"timestamp_seconds":1791202518,"priority":1,"record_length":96,"hex_timestamp":"000001a10bfd63f0"} 
[2026-10-05 17:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 17:48:00] 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-10-05 17: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-10-05 17:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:48: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-10-05 17:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547767552001,"66":25908,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547767552001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:48:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:48:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547767552001,"power":25908,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":204877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:48:00] local.INFO: GPS data processed {"connection_id":204877,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:48:00] local.INFO: Acknowledgment sent {"connection_id":204877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:48:08] local.INFO: TCP Data received {"connection_id":204876,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10bff4468012d7e26c005e1b9e0000c00d02b..."} 
[2026-10-05 17:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bff4468012d7e26c005e1b9e0000c00d02b..."} 
[2026-10-05 17:48:08] local.INFO: Processing buffer {"connection_id":204876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bff4468012d7e26c005e1b9e0000c00d02b..."} 
[2026-10-05 17:48:08] local.INFO: Packet analysis {"connection_id":204876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bff"} 
[2026-10-05 17:48:08] local.INFO: Extracted packet for processing {"connection_id":204876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bff"} 
[2026-10-05 17:48:08] local.INFO: GPS Element Parsed {"raw_longitude":763242176,"raw_latitude":98679264,"longitude_deg":76.3242176,"latitude_deg":9.8679264,"altitude":12,"angle":208,"satellites":43,"speed":34,"hex_longitude":"2d7e26c0","hex_latitude":"05e1b9e0","is_valid_coordinates":true} 
[2026-10-05 17:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547875584001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139780393548120064,"note":"Value kept but may cause issues"} 
[2026-10-05 17:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090938085574709248,"note":"Value kept but may cause issues"} 
[2026-10-05 17:48:08] 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-10-05 17:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791202641000,"timestamp_ms":1791202641000,"timestamp_seconds":1791202641,"priority":1,"record_length":96,"hex_timestamp":"000001a10bff4468"} 
[2026-10-05 17:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:48: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-10-05 17:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-05 17:48:08] 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-10-05 17:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547875584001,"66":13798,"198":206,"85":15104,"24":34,"16":139780393548120064,"45":9090938085574709248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-10-05 17:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547875584001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:48:08] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-05 17:48:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139780393548120064,"km_value":139780393548120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090938085574709248,"description":"Unknown IO ID 45"} 
[2026-10-05 17:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547875584001,"power":13798,"unknown_198":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9090938085574709248}} 
[2026-10-05 17:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":204876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968978,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:48:08] local.INFO: GPS data processed {"connection_id":204876,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:48:08] local.INFO: Acknowledgment sent {"connection_id":204876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:48:30] local.INFO: TCP Data received {"connection_id":206268,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:48:30] local.INFO: Processing buffer {"connection_id":206268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:48:30] local.INFO: IMEI packet received {"connection_id":206268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":206268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:48:32] local.INFO: TCP Data received {"connection_id":204877,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:48:32] local.INFO: Processing buffer {"connection_id":204877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:48:32] local.INFO: Packet analysis {"connection_id":204877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bfd"} 
[2026-10-05 17:48:32] local.INFO: Extracted packet for processing {"connection_id":204877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bfd"} 
[2026-10-05 17:48:32] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547767552001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791202518000,"timestamp_ms":1791202518000,"timestamp_seconds":1791202518,"priority":1,"record_length":96,"hex_timestamp":"000001a10bfd63f0"} 
[2026-10-05 17:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 17:48:32] 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-10-05 17: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-10-05 17:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:48: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-10-05 17:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547767552001,"66":25908,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547767552001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:48:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:48:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547767552001,"power":25908,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":204877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:48:32] local.INFO: GPS data processed {"connection_id":204877,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:48:32] local.INFO: Acknowledgment sent {"connection_id":204877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:48:36] local.INFO: TCP Data received {"connection_id":206268,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:48:36] local.INFO: Processing buffer {"connection_id":206268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:48:36] local.INFO: IMEI packet received {"connection_id":206268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":206268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:48:37] local.INFO: TCP Data received {"connection_id":206268,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c003698012d7e140005e0e1600009008529..."} 
[2026-10-05 17:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c003698012d7e140005e0e1600009008529..."} 
[2026-10-05 17:48:37] local.INFO: Processing buffer {"connection_id":206268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c003698012d7e140005e0e1600009008529..."} 
[2026-10-05 17:48:37] local.INFO: Packet analysis {"connection_id":206268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c00"} 
[2026-10-05 17:48:37] local.INFO: Extracted packet for processing {"connection_id":206268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c00"} 
[2026-10-05 17:48:37] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":98623840,"longitude_deg":76.3237376,"latitude_deg":9.862384,"altitude":9,"angle":133,"satellites":41,"speed":9,"hex_longitude":"2d7e1400","hex_latitude":"05e0e160","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547891712001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139783172391960576,"note":"Value kept but may cause issues"} 
[2026-10-05 17:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084745636072521728,"note":"Value kept but may cause issues"} 
[2026-10-05 17:48: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-10-05 17:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791202703000,"timestamp_ms":1791202703000,"timestamp_seconds":1791202703,"priority":1,"record_length":96,"hex_timestamp":"000001a10c003698"} 
[2026-10-05 17:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:48: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-10-05 17: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-10-05 17:48:37] 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-10-05 17: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-10-05 17:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547891712001,"66":12809,"105":206,"85":15104,"24":9,"16":139783172391960576,"45":9084745636072521728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-10-05 17:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547891712001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:48:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 17:48:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139783172391960576,"km_value":139783172391960.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084745636072521728,"description":"Unknown IO ID 45"} 
[2026-10-05 17:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547891712001,"power":12809,"unknown_105":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9084745636072521728}} 
[2026-10-05 17:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":206268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968980,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:48:37] local.INFO: GPS data processed {"connection_id":206268,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:48:37] local.INFO: Acknowledgment sent {"connection_id":206268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:48:54] local.INFO: TCP Data received {"connection_id":204878,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:48:54] local.INFO: Processing buffer {"connection_id":204878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:48:54] local.INFO: IMEI packet received {"connection_id":204878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":204878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:48:59] local.INFO: TCP Data received {"connection_id":204878,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:48:59] local.INFO: Processing buffer {"connection_id":204878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:48:59] local.INFO: IMEI packet received {"connection_id":204878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":204878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:49:00] local.INFO: TCP Data received {"connection_id":204878,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:49:00] local.INFO: Processing buffer {"connection_id":204878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:49:00] local.INFO: Packet analysis {"connection_id":204878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bfd"} 
[2026-10-05 17:49:00] local.INFO: Extracted packet for processing {"connection_id":204878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bfd"} 
[2026-10-05 17:49:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547767552001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791202518000,"timestamp_ms":1791202518000,"timestamp_seconds":1791202518,"priority":1,"record_length":96,"hex_timestamp":"000001a10bfd63f0"} 
[2026-10-05 17:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 17:49:00] 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-10-05 17:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:49: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-10-05 17:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547767552001,"66":25908,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547767552001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:49:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:49:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547767552001,"power":25908,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":204878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:49:00] local.INFO: GPS data processed {"connection_id":204878,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:49:00] local.INFO: Acknowledgment sent {"connection_id":204878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:49:08] local.INFO: TCP Data received {"connection_id":206268,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c003a80012d7e150005e0e0e8000a006f29..."} 
[2026-10-05 17:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c003a80012d7e150005e0e0e8000a006f29..."} 
[2026-10-05 17:49:08] local.INFO: Processing buffer {"connection_id":206268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c003a80012d7e150005e0e0e8000a006f29..."} 
[2026-10-05 17:49:08] local.INFO: Packet analysis {"connection_id":206268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c00"} 
[2026-10-05 17:49:08] local.INFO: Extracted packet for processing {"connection_id":206268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c00"} 
[2026-10-05 17:49:08] local.INFO: GPS Element Parsed {"raw_longitude":763237632,"raw_latitude":98623720,"longitude_deg":76.3237632,"latitude_deg":9.862372,"altitude":10,"angle":111,"satellites":41,"speed":9,"hex_longitude":"2d7e1500","hex_latitude":"05e0e0e8","is_valid_coordinates":true} 
[2026-10-05 17:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547891968001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139783185276862464,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373560836096,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:08] 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-10-05 17:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791202704000,"timestamp_ms":1791202704000,"timestamp_seconds":1791202704,"priority":1,"record_length":96,"hex_timestamp":"000001a10c003a80"} 
[2026-10-05 17:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:49: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-10-05 17:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-05 17:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3314649325912458240,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:08] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:08] local.WARNING: Large IO value detected {"io_id":11,"raw_value":-19817592520827520,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1606746318,"corrected_to":0} 
[2026-10-05 17:49:08] local.WARNING: Large IO value detected {"io_id":224,"raw_value":2818649470,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:08] local.WARNING: Large IO value detected {"io_id":53,"raw_value":8719194689816809045,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2214249292422403030,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:08] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755562649944305,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:08] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,85,24,241,157,16,156,161,50,45,128,226,9,42,10,66,46,255,1,240,29,227,155,11,225,4,113,205,41,224,30,152,239,53,197,2,5,38,59,67],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1606746318,"validated":0}]} 
[2026-10-05 17:49:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648664757482094592,"timestamp_seconds":648664757482094.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 17:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547891968001,"66":12809,"105":206,"85":15104,"24":9,"16":139783185276862464,"45":9084886373560836096},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-10-05 17:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547891968001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:49:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 17:49:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139783185276862464,"km_value":139783185276862.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373560836096,"description":"Unknown IO ID 45"} 
[2026-10-05 17:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547891968001,"power":12809,"unknown_105":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9084886373560836096}} 
[2026-10-05 17:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":206268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968982,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:49:08] local.INFO: GPS data processed {"connection_id":206268,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:49:08] local.INFO: Acknowledgment sent {"connection_id":206268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:49:30] local.INFO: TCP Data received {"connection_id":204743,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:49:30] local.INFO: Processing buffer {"connection_id":204743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:49:30] local.INFO: IMEI packet received {"connection_id":204743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":204743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:49:31] local.INFO: TCP Data received {"connection_id":204743,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:49:31] local.INFO: Processing buffer {"connection_id":204743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:49:31] local.INFO: IMEI packet received {"connection_id":204743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":204743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:49:31] local.INFO: TCP Data received {"connection_id":204878,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:49:31] local.INFO: Processing buffer {"connection_id":204878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:49:31] local.INFO: Packet analysis {"connection_id":204878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bfd"} 
[2026-10-05 17:49:31] local.INFO: Extracted packet for processing {"connection_id":204878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bfd"} 
[2026-10-05 17:49:31] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547767552001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791202518000,"timestamp_ms":1791202518000,"timestamp_seconds":1791202518,"priority":1,"record_length":96,"hex_timestamp":"000001a10bfd63f0"} 
[2026-10-05 17:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 17:49:31] 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-10-05 17: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-10-05 17:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547767552001,"66":25908,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547767552001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:49:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:49:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547767552001,"power":25908,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":204878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:49:31] local.INFO: GPS data processed {"connection_id":204878,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:49:31] local.INFO: Acknowledgment sent {"connection_id":204878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:49:36] local.INFO: TCP Data received {"connection_id":204743,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:49:36] local.INFO: Processing buffer {"connection_id":204743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:49:36] local.INFO: IMEI packet received {"connection_id":204743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":204743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:49:36] local.INFO: TCP Data received {"connection_id":204743,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c003e68012d7e15c005e0e0d0000a005b29..."} 
[2026-10-05 17:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c003e68012d7e15c005e0e0d0000a005b29..."} 
[2026-10-05 17:49:36] local.INFO: Processing buffer {"connection_id":204743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c003e68012d7e15c005e0e0d0000a005b29..."} 
[2026-10-05 17:49:36] local.INFO: Packet analysis {"connection_id":204743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c00"} 
[2026-10-05 17:49:36] local.INFO: Extracted packet for processing {"connection_id":204743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c00"} 
[2026-10-05 17:49:36] local.INFO: GPS Element Parsed {"raw_longitude":763237824,"raw_latitude":98623696,"longitude_deg":76.3237824,"latitude_deg":9.8623696,"altitude":10,"angle":91,"satellites":41,"speed":10,"hex_longitude":"2d7e15c0","hex_latitude":"05e0e0d0","is_valid_coordinates":true} 
[2026-10-05 17:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547892224001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139783193866797056,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085167848537516032,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:36] 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-10-05 17:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791202705000,"timestamp_ms":1791202705000,"timestamp_seconds":1791202705,"priority":1,"record_length":96,"hex_timestamp":"000001a10c003e68"} 
[2026-10-05 17:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-05 17:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2738188573609034752,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:36] local.WARNING: Large IO value detected {"io_id":11,"raw_value":-11021499498618816,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:36] local.WARNING: Large IO value detected {"io_id":224,"raw_value":4280287241,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1606746318,"corrected_to":0} 
[2026-10-05 17:49:36] local.WARNING: Large IO value detected {"io_id":18,"raw_value":3221610759,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:36] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407135,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2223705092421272279,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:36] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4035451077334715989,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:36] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755566944911601,"note":"Value kept but may cause issues"} 
[2026-10-05 17:49:36] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,85,24,241,157,16,156,161,54,45,225,9,41,10,66,50,128,226,42,46,1,240,198,227,11,224,4,113,205,39,248,18,44,239,52,197,2,5,53,59,89],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1606746318,"validated":0}]} 
[2026-10-05 17:49:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720698162264211456,"timestamp_seconds":720698162264211.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 17:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547892224001,"66":13820,"105":206,"85":15104,"24":10,"16":139783193866797056,"45":9085167848537516032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-10-05 17:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547892224001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:49:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 17:49:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139783193866797056,"km_value":139783193866797.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085167848537516032,"description":"Unknown IO ID 45"} 
[2026-10-05 17:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547892224001,"power":13820,"unknown_105":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9085167848537516032}} 
[2026-10-05 17:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":204743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968984,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:49:36] local.INFO: GPS data processed {"connection_id":204743,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:49:36] local.INFO: Acknowledgment sent {"connection_id":204743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:49:54] local.INFO: TCP Data received {"connection_id":206269,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:49:54] local.INFO: Processing buffer {"connection_id":206269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:49:54] local.INFO: IMEI packet received {"connection_id":206269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":206269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:49:59] local.INFO: TCP Data received {"connection_id":206269,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:49:59] local.INFO: Processing buffer {"connection_id":206269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:49:59] local.INFO: IMEI packet received {"connection_id":206269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":206269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:50:00] local.INFO: TCP Data received {"connection_id":206269,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:50:00] local.INFO: Processing buffer {"connection_id":206269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:50:00] local.INFO: Packet analysis {"connection_id":206269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bfd"} 
[2026-10-05 17:50:00] local.INFO: Extracted packet for processing {"connection_id":206269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bfd"} 
[2026-10-05 17:50:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547767552001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791202518000,"timestamp_ms":1791202518000,"timestamp_seconds":1791202518,"priority":1,"record_length":96,"hex_timestamp":"000001a10bfd63f0"} 
[2026-10-05 17:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 17:50:00] 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-10-05 17:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:50: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-10-05 17:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547767552001,"66":25908,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547767552001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:50:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:50:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547767552001,"power":25908,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":206269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:50:00] local.INFO: GPS data processed {"connection_id":206269,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:50:00] local.INFO: Acknowledgment sent {"connection_id":206269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:50:07] local.INFO: TCP Data received {"connection_id":204743,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c016f18012d7eddc005e0f4e0000b005829..."} 
[2026-10-05 17:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c016f18012d7eddc005e0f4e0000b005829..."} 
[2026-10-05 17:50:07] local.INFO: Processing buffer {"connection_id":204743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c016f18012d7eddc005e0f4e0000b005829..."} 
[2026-10-05 17:50:07] local.INFO: Packet analysis {"connection_id":204743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c01"} 
[2026-10-05 17:50:07] local.INFO: Extracted packet for processing {"connection_id":204743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c01"} 
[2026-10-05 17:50:07] local.INFO: GPS Element Parsed {"raw_longitude":763289024,"raw_latitude":98628832,"longitude_deg":76.3289024,"latitude_deg":9.8628832,"altitude":11,"angle":88,"satellites":41,"speed":21,"hex_longitude":"2d7eddc0","hex_latitude":"05e0f4e0","is_valid_coordinates":true} 
[2026-10-05 17:50: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-10-05 17:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547911936001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139785740782403584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9140759156439183360,"note":"Value kept but may cause issues"} 
[2026-10-05 17:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791202783000,"timestamp_ms":1791202783000,"timestamp_seconds":1791202783,"priority":1,"record_length":96,"hex_timestamp":"000001a10c016f18"} 
[2026-10-05 17:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 17:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547911936001,"66":13906,"103":206,"85":15104,"24":21,"16":139785740782403584,"45":9140759156439183360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-10-05 17:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547911936001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:50:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 17:50:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139785740782403584,"km_value":139785740782403.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9140759156439183360,"description":"Unknown IO ID 45"} 
[2026-10-05 17:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547911936001,"power":13906,"unknown_103":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9140759156439183360}} 
[2026-10-05 17:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":204743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968986,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:50:07] local.INFO: GPS data processed {"connection_id":204743,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:50:07] local.INFO: Acknowledgment sent {"connection_id":204743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:50:30] local.INFO: TCP Data received {"connection_id":207820,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:50:30] local.INFO: Processing buffer {"connection_id":207820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:50:30] local.INFO: IMEI packet received {"connection_id":207820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":207820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:50:31] local.INFO: TCP Data received {"connection_id":206269,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:50:31] local.INFO: Processing buffer {"connection_id":206269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10bfd63f0012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:50:31] local.INFO: Packet analysis {"connection_id":206269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10bfd"} 
[2026-10-05 17:50:31] local.INFO: Extracted packet for processing {"connection_id":206269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10bfd"} 
[2026-10-05 17:50:31] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547767552001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791202518000,"timestamp_ms":1791202518000,"timestamp_seconds":1791202518,"priority":1,"record_length":96,"hex_timestamp":"000001a10bfd63f0"} 
[2026-10-05 17:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 17:50:31] 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-10-05 17: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-10-05 17:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:50: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-10-05 17:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547767552001,"66":25908,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547767552001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:50:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:50:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547767552001,"power":25908,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":206269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:50:31] local.INFO: GPS data processed {"connection_id":206269,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:50:31] local.INFO: Acknowledgment sent {"connection_id":206269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:50:35] local.INFO: TCP Data received {"connection_id":204879,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204879,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:50:35] local.INFO: Processing buffer {"connection_id":204879,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:50:35] local.INFO: IMEI packet received {"connection_id":204879,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 17:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":204879,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:50:35] local.INFO: TCP Data received {"connection_id":207820,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:50:35] local.INFO: Processing buffer {"connection_id":207820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:50:35] local.INFO: IMEI packet received {"connection_id":207820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":207820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:50:36] local.INFO: TCP Data received {"connection_id":207820,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c019a10012d7f030005e0f3a8000c005929..."} 
[2026-10-05 17:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c019a10012d7f030005e0f3a8000c005929..."} 
[2026-10-05 17:50:36] local.INFO: Processing buffer {"connection_id":207820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c019a10012d7f030005e0f3a8000c005929..."} 
[2026-10-05 17:50:36] local.INFO: Packet analysis {"connection_id":207820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c01"} 
[2026-10-05 17:50:36] local.INFO: Extracted packet for processing {"connection_id":207820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c01"} 
[2026-10-05 17:50:36] local.INFO: GPS Element Parsed {"raw_longitude":763298560,"raw_latitude":98628520,"longitude_deg":76.329856,"latitude_deg":9.862852,"altitude":12,"angle":89,"satellites":41,"speed":43,"hex_longitude":"2d7f0300","hex_latitude":"05e0f3a8","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547912448001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139786196048936960,"note":"Value kept but may cause issues"} 
[2026-10-05 17:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141673950113488896,"note":"Value kept but may cause issues"} 
[2026-10-05 17:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791202794000,"timestamp_ms":1791202794000,"timestamp_seconds":1791202794,"priority":1,"record_length":96,"hex_timestamp":"000001a10c019a10"} 
[2026-10-05 17:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 17:50:36] 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-10-05 17: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-10-05 17:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547912448001,"66":13678,"103":206,"85":15104,"24":43,"16":139786196048936960,"45":9141673950113488896},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-10-05 17:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547912448001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:50:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 17:50:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139786196048936960,"km_value":139786196048936.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141673950113488896,"description":"Unknown IO ID 45"} 
[2026-10-05 17:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547912448001,"power":13678,"unknown_103":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9141673950113488896}} 
[2026-10-05 17:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":207820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:50:36] local.INFO: GPS data processed {"connection_id":207820,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:50:36] local.INFO: Acknowledgment sent {"connection_id":207820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:50:54] local.INFO: TCP Data received {"connection_id":207821,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:50:54] local.INFO: Processing buffer {"connection_id":207821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:50:54] local.INFO: IMEI packet received {"connection_id":207821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":207821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:50:57] local.INFO: TCP Data received {"connection_id":207821,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:50:57] local.INFO: Processing buffer {"connection_id":207821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:50:57] local.INFO: IMEI packet received {"connection_id":207821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":207821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:50:59] local.INFO: TCP Data received {"connection_id":207821,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:50:59] local.INFO: Processing buffer {"connection_id":207821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:50:59] local.INFO: IMEI packet received {"connection_id":207821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":207821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:51:00] local.INFO: TCP Data received {"connection_id":207821,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:51:00] local.INFO: Processing buffer {"connection_id":207821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:51:00] local.INFO: Packet analysis {"connection_id":207821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c01"} 
[2026-10-05 17:51:00] local.INFO: Extracted packet for processing {"connection_id":207821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c01"} 
[2026-10-05 17:51:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547844608001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791202819000,"timestamp_ms":1791202819000,"timestamp_seconds":1791202819,"priority":1,"record_length":96,"hex_timestamp":"000001a10c01fbb8"} 
[2026-10-05 17:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 17:51: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-10-05 17: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-10-05 17:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:51: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-10-05 17:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547844608001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547844608001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:51:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:51:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547844608001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":207821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:51:00] local.INFO: GPS data processed {"connection_id":207821,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:51:00] local.INFO: Acknowledgment sent {"connection_id":207821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:51:07] local.INFO: TCP Data received {"connection_id":207820,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c01b950012d7f294005e0f460000e005a2c..."} 
[2026-10-05 17:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c01b950012d7f294005e0f460000e005a2c..."} 
[2026-10-05 17:51:07] local.INFO: Processing buffer {"connection_id":207820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c01b950012d7f294005e0f460000e005a2c..."} 
[2026-10-05 17:51:07] local.INFO: Packet analysis {"connection_id":207820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c01"} 
[2026-10-05 17:51:07] local.INFO: Extracted packet for processing {"connection_id":207820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c01"} 
[2026-10-05 17:51:07] local.INFO: GPS Element Parsed {"raw_longitude":763308352,"raw_latitude":98628704,"longitude_deg":76.3308352,"latitude_deg":9.8628704,"altitude":14,"angle":90,"satellites":44,"speed":49,"hex_longitude":"2d7f2940","hex_latitude":"05e0f460","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547915264001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139786664200372224,"note":"Value kept but may cause issues"} 
[2026-10-05 17:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9152158892995880960,"note":"Value kept but may cause issues"} 
[2026-10-05 17:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791202802000,"timestamp_ms":1791202802000,"timestamp_seconds":1791202802,"priority":1,"record_length":96,"hex_timestamp":"000001a10c01b950"} 
[2026-10-05 17:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 17:51:07] 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-10-05 17: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-10-05 17:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547915264001,"66":13374,"103":206,"85":15104,"24":49,"16":139786664200372224,"45":9152158892995880960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-10-05 17:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547915264001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:51:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 17:51:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139786664200372224,"km_value":139786664200372.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9152158892995880960,"description":"Unknown IO ID 45"} 
[2026-10-05 17:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547915264001,"power":13374,"unknown_103":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9152158892995880960}} 
[2026-10-05 17:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":207820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:51:07] local.INFO: GPS data processed {"connection_id":207820,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:51:07] local.INFO: Acknowledgment sent {"connection_id":207820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:51:32] local.INFO: TCP Data received {"connection_id":207821,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:51:32] local.INFO: Processing buffer {"connection_id":207821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:51:32] local.INFO: Packet analysis {"connection_id":207821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c01"} 
[2026-10-05 17:51:32] local.INFO: Extracted packet for processing {"connection_id":207821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c01"} 
[2026-10-05 17:51:32] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547844608001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791202819000,"timestamp_ms":1791202819000,"timestamp_seconds":1791202819,"priority":1,"record_length":96,"hex_timestamp":"000001a10c01fbb8"} 
[2026-10-05 17:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 17:51:32] 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-10-05 17: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-10-05 17:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547844608001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547844608001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:51:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:51:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547844608001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":207821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:51:32] local.INFO: GPS data processed {"connection_id":207821,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:51:32] local.INFO: Acknowledgment sent {"connection_id":207821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:51:36] local.INFO: TCP Data received {"connection_id":206270,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206270,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:51:36] local.INFO: Processing buffer {"connection_id":206270,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:51:36] local.INFO: IMEI packet received {"connection_id":206270,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":206270,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:51:36] local.INFO: TCP Data received {"connection_id":206270,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206270,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:51:36] local.INFO: Processing buffer {"connection_id":206270,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:51:36] local.INFO: IMEI packet received {"connection_id":206270,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":206270,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:51:37] local.INFO: TCP Data received {"connection_id":206270,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c02e230012d7fd6c005e09778000b00be2b..."} 
[2026-10-05 17:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c02e230012d7fd6c005e09778000b00be2b..."} 
[2026-10-05 17:51:37] local.INFO: Processing buffer {"connection_id":206270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c02e230012d7fd6c005e09778000b00be2b..."} 
[2026-10-05 17:51:37] local.INFO: Packet analysis {"connection_id":206270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c02"} 
[2026-10-05 17:51:37] local.INFO: Extracted packet for processing {"connection_id":206270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c02"} 
[2026-10-05 17:51:37] local.INFO: GPS Element Parsed {"raw_longitude":763352768,"raw_latitude":98604920,"longitude_deg":76.3352768,"latitude_deg":9.860492,"altitude":11,"angle":190,"satellites":43,"speed":24,"hex_longitude":"2d7fd6c0","hex_latitude":"05e09778","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547935232001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139789374324736000,"note":"Value kept but may cause issues"} 
[2026-10-05 17:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9212113063030378496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:51:37] 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-10-05 17:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791202878000,"timestamp_ms":1791202878000,"timestamp_seconds":1791202878,"priority":1,"record_length":96,"hex_timestamp":"000001a10c02e230"} 
[2026-10-05 17:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:51: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-10-05 17: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 17:51:37] 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-10-05 17:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547935232001,"66":13319,"122":206,"85":15104,"24":24,"16":139789374324736000,"45":9212113063030378496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-10-05 17:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547935232001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:51:37] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-05 17:51:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139789374324736000,"km_value":139789374324736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9212113063030378496,"description":"Unknown IO ID 45"} 
[2026-10-05 17:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547935232001,"power":13319,"unknown_122":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9212113063030378496}} 
[2026-10-05 17:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":206270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:51:37] local.INFO: GPS data processed {"connection_id":206270,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:51:37] local.INFO: Acknowledgment sent {"connection_id":206270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:51:41] local.INFO: TCP Data received {"connection_id":206270,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c030940012d7fd4c005e07cd0000d00b02c..."} 
[2026-10-05 17:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c030940012d7fd4c005e07cd0000d00b02c..."} 
[2026-10-05 17:51:41] local.INFO: Processing buffer {"connection_id":206270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c030940012d7fd4c005e07cd0000d00b02c..."} 
[2026-10-05 17:51:41] local.INFO: Packet analysis {"connection_id":206270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c03"} 
[2026-10-05 17:51:41] local.INFO: Extracted packet for processing {"connection_id":206270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c03"} 
[2026-10-05 17:51:41] local.INFO: GPS Element Parsed {"raw_longitude":763352256,"raw_latitude":98598096,"longitude_deg":76.3352256,"latitude_deg":9.8598096,"altitude":13,"angle":176,"satellites":44,"speed":37,"hex_longitude":"2d7fd4c0","hex_latitude":"05e07cd0","is_valid_coordinates":true} 
[2026-10-05 17:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547936768001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139789705037217792,"note":"Value kept but may cause issues"} 
[2026-10-05 17:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9211761219308320768,"note":"Value kept but may cause issues"} 
[2026-10-05 17:51:41] 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-10-05 17:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791202888000,"timestamp_ms":1791202888000,"timestamp_seconds":1791202888,"priority":1,"record_length":96,"hex_timestamp":"000001a10c030940"} 
[2026-10-05 17:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 17:51:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 17:51:41] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":49153,"corrected_to":0} 
[2026-10-05 17:51:41] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 17:51:41] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2695299072,"note":"Value kept but may cause issues"} 
[2026-10-05 17:51:41] local.WARNING: Large IO value detected {"io_id":224,"raw_value":-2087418367150510848,"note":"Value kept but may cause issues"} 
[2026-10-05 17:51:41] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3489738111,"note":"Value kept but may cause issues"} 
[2026-10-05 17:51:41] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227910927,"note":"Value kept but may cause issues"} 
[2026-10-05 17:51:41] local.WARNING: Large IO value detected {"io_id":2,"raw_value":4758054301240819717,"note":"Value kept but may cause issues"} 
[2026-10-05 17:51:41] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3772780544,"note":"Value kept but may cause issues"} 
[2026-10-05 17:51:41] local.WARNING: Large IO value detected {"io_id":197,"raw_value":57719386899633467,"note":"Value kept but may cause issues"} 
[2026-10-05 17:51:41] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,122,85,24,241,157,16,161,202,45,169,11,43,10,66,194,175,12,163,128,1,240,237,227,224,4,113,205,23,116,165,72,44,239,53,2,5,15,32,197],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":202,"original":49153,"validated":0}]} 
[2026-10-05 17:51:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792842626311651328,"timestamp_seconds":792842626311651.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 17:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":206270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":206270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":206270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547936768001,"66":13798,"122":206,"85":15104,"24":37,"16":139789705037217792,"45":9211761219308320768},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-10-05 17:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547936768001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:51:41] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-05 17:51:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139789705037217792,"km_value":139789705037217.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9211761219308320768,"description":"Unknown IO ID 45"} 
[2026-10-05 17:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547936768001,"power":13798,"unknown_122":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9211761219308320768}} 
[2026-10-05 17:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":206270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:51:41] local.INFO: GPS data processed {"connection_id":206270,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:51:41] local.INFO: Acknowledgment sent {"connection_id":206270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:51:54] local.INFO: TCP Data received {"connection_id":204880,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:51:54] local.INFO: Processing buffer {"connection_id":204880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:51:54] local.INFO: IMEI packet received {"connection_id":204880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":204880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:51:59] local.INFO: TCP Data received {"connection_id":204880,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:51:59] local.INFO: Processing buffer {"connection_id":204880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:51:59] local.INFO: IMEI packet received {"connection_id":204880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":204880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:52:00] local.INFO: TCP Data received {"connection_id":204880,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:52:00] local.INFO: Processing buffer {"connection_id":204880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:52:00] local.INFO: Packet analysis {"connection_id":204880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c01"} 
[2026-10-05 17:52:00] local.INFO: Extracted packet for processing {"connection_id":204880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c01"} 
[2026-10-05 17:52:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547844608001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791202819000,"timestamp_ms":1791202819000,"timestamp_seconds":1791202819,"priority":1,"record_length":96,"hex_timestamp":"000001a10c01fbb8"} 
[2026-10-05 17:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 17:52: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-10-05 17: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-10-05 17:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:52:00] 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-10-05 17:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547844608001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547844608001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:52:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:52:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547844608001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":204880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:52:00] local.INFO: GPS data processed {"connection_id":204880,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:52:00] local.INFO: Acknowledgment sent {"connection_id":204880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:52:13] local.INFO: TCP Data received {"connection_id":206270,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c032498012d7fd94005e06128000d00a42b..."} 
[2026-10-05 17:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c032498012d7fd94005e06128000d00a42b..."} 
[2026-10-05 17:52:13] local.INFO: Processing buffer {"connection_id":206270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c032498012d7fd94005e06128000d00a42b..."} 
[2026-10-05 17:52:13] local.INFO: Packet analysis {"connection_id":206270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c03"} 
[2026-10-05 17:52:13] local.INFO: Extracted packet for processing {"connection_id":206270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c03"} 
[2026-10-05 17:52:13] local.INFO: GPS Element Parsed {"raw_longitude":763353408,"raw_latitude":98591016,"longitude_deg":76.3353408,"latitude_deg":9.8591016,"altitude":13,"angle":164,"satellites":43,"speed":42,"hex_longitude":"2d7fd940","hex_latitude":"05e06128","is_valid_coordinates":true} 
[2026-10-05 17:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547939328001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139790052929568768,"note":"Value kept but may cause issues"} 
[2026-10-05 17:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9211198269353152512,"note":"Value kept but may cause issues"} 
[2026-10-05 17:52:13] 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-10-05 17:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791202895000,"timestamp_ms":1791202895000,"timestamp_seconds":1791202895,"priority":1,"record_length":96,"hex_timestamp":"000001a10c032498"} 
[2026-10-05 17:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:52:13] 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-10-05 17:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 17:52: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-10-05 17:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":206270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":206270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":206270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547939328001,"66":13722,"122":206,"85":15104,"24":42,"16":139790052929568768,"45":9211198269353152512},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-10-05 17:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547939328001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:52:13] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-05 17:52:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139790052929568768,"km_value":139790052929568.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9211198269353152512,"description":"Unknown IO ID 45"} 
[2026-10-05 17:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547939328001,"power":13722,"unknown_122":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9211198269353152512}} 
[2026-10-05 17:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":206270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:52:13] local.INFO: GPS data processed {"connection_id":206270,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:52:13] local.INFO: Acknowledgment sent {"connection_id":206270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:52:31] local.INFO: TCP Data received {"connection_id":204744,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:52:31] local.INFO: Processing buffer {"connection_id":204744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:52:31] local.INFO: IMEI packet received {"connection_id":204744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":204744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:52:32] local.INFO: TCP Data received {"connection_id":204880,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:52:32] local.INFO: Processing buffer {"connection_id":204880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:52:32] local.INFO: Packet analysis {"connection_id":204880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c01"} 
[2026-10-05 17:52:32] local.INFO: Extracted packet for processing {"connection_id":204880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c01"} 
[2026-10-05 17:52:32] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547844608001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791202819000,"timestamp_ms":1791202819000,"timestamp_seconds":1791202819,"priority":1,"record_length":96,"hex_timestamp":"000001a10c01fbb8"} 
[2026-10-05 17:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 17:52:32] 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-10-05 17:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:52:32] 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-10-05 17:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547844608001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547844608001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:52:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:52:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547844608001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":204880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:52:32] local.INFO: GPS data processed {"connection_id":204880,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:52:32] local.INFO: Acknowledgment sent {"connection_id":204880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:52:36] local.INFO: TCP Data received {"connection_id":204744,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:52:36] local.INFO: Processing buffer {"connection_id":204744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:52:36] local.INFO: IMEI packet received {"connection_id":204744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":204744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:52:36] local.INFO: TCP Data received {"connection_id":204744,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0343d8012d7fe70005e03f38000e00a42c..."} 
[2026-10-05 17:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0343d8012d7fe70005e03f38000e00a42c..."} 
[2026-10-05 17:52:36] local.INFO: Processing buffer {"connection_id":204744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0343d8012d7fe70005e03f38000e00a42c..."} 
[2026-10-05 17:52:36] local.INFO: Packet analysis {"connection_id":204744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c03"} 
[2026-10-05 17:52:36] local.INFO: Extracted packet for processing {"connection_id":204744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c03"} 
[2026-10-05 17:52:36] local.INFO: GPS Element Parsed {"raw_longitude":763356928,"raw_latitude":98582328,"longitude_deg":76.3356928,"latitude_deg":9.8582328,"altitude":14,"angle":164,"satellites":44,"speed":41,"hex_longitude":"2d7fe700","hex_latitude":"05e03f38","is_valid_coordinates":true} 
[2026-10-05 17:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547941120001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139790508196102144,"note":"Value kept but may cause issues"} 
[2026-10-05 17:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9212464906746537984,"note":"Value kept but may cause issues"} 
[2026-10-05 17:52:36] 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-10-05 17:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791202903000,"timestamp_ms":1791202903000,"timestamp_seconds":1791202903,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0343d8"} 
[2026-10-05 17:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-10-05 17:52:36] 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-10-05 17:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547941120001,"66":13352,"121":206,"85":15104,"24":41,"16":139790508196102144,"45":9212464906746537984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-10-05 17:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547941120001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:52:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 17:52:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139790508196102144,"km_value":139790508196102.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9212464906746537984,"description":"Unknown IO ID 45"} 
[2026-10-05 17:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547941120001,"power":13352,"unknown_121":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9212464906746537984}} 
[2026-10-05 17:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":204744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968997,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:52:36] local.INFO: GPS data processed {"connection_id":204744,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:52:36] local.INFO: Acknowledgment sent {"connection_id":204744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:52:55] local.INFO: TCP Data received {"connection_id":204745,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:52:55] local.INFO: Processing buffer {"connection_id":204745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:52:55] local.INFO: IMEI packet received {"connection_id":204745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":204745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:52:59] local.INFO: TCP Data received {"connection_id":204745,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:52:59] local.INFO: Processing buffer {"connection_id":204745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:52:59] local.INFO: IMEI packet received {"connection_id":204745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":204745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:53:00] local.INFO: TCP Data received {"connection_id":204745,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:53:00] local.INFO: Processing buffer {"connection_id":204745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:53:00] local.INFO: Packet analysis {"connection_id":204745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c01"} 
[2026-10-05 17:53:00] local.INFO: Extracted packet for processing {"connection_id":204745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c01"} 
[2026-10-05 17:53:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547844608001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791202819000,"timestamp_ms":1791202819000,"timestamp_seconds":1791202819,"priority":1,"record_length":96,"hex_timestamp":"000001a10c01fbb8"} 
[2026-10-05 17:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":52,"data_length":795,"current_offset":136} 
[2026-10-05 17:53: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-10-05 17: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-10-05 17:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:53: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-10-05 17:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547844608001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547844608001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:53:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:53:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547844608001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":204745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:53:00] local.INFO: GPS data processed {"connection_id":204745,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:53:00] local.INFO: Acknowledgment sent {"connection_id":204745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:53:08] local.INFO: TCP Data received {"connection_id":204744,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c035378012d7feb4005e03218000b00932b..."} 
[2026-10-05 17:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c035378012d7feb4005e03218000b00932b..."} 
[2026-10-05 17:53:08] local.INFO: Processing buffer {"connection_id":204744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c035378012d7feb4005e03218000b00932b..."} 
[2026-10-05 17:53:08] local.INFO: Packet analysis {"connection_id":204744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c03"} 
[2026-10-05 17:53:08] local.INFO: Extracted packet for processing {"connection_id":204744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c03"} 
[2026-10-05 17:53:08] local.INFO: GPS Element Parsed {"raw_longitude":763358016,"raw_latitude":98578968,"longitude_deg":76.3358016,"latitude_deg":9.8578968,"altitude":11,"angle":147,"satellites":43,"speed":33,"hex_longitude":"2d7feb40","hex_latitude":"05e03218","is_valid_coordinates":true} 
[2026-10-05 17:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547943168001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139790679994793984,"note":"Value kept but may cause issues"} 
[2026-10-05 17:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9216335187674085376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:53:08] 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-10-05 17:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791202907000,"timestamp_ms":1791202907000,"timestamp_seconds":1791202907,"priority":1,"record_length":96,"hex_timestamp":"000001a10c035378"} 
[2026-10-05 17:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:53: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-10-05 17:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 17:53:08] 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-10-05 17:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547943168001,"66":13319,"121":206,"85":15104,"24":33,"16":139790679994793984,"45":9216335187674085376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-10-05 17:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547943168001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:53:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 17:53:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139790679994793984,"km_value":139790679994793.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9216335187674085376,"description":"Unknown IO ID 45"} 
[2026-10-05 17:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547943168001,"power":13319,"unknown_121":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9216335187674085376}} 
[2026-10-05 17:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":204744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:53:08] local.INFO: GPS data processed {"connection_id":204744,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:53:08] local.INFO: Acknowledgment sent {"connection_id":204744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:53:31] local.INFO: TCP Data received {"connection_id":207822,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:53:31] local.INFO: Processing buffer {"connection_id":207822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:53:31] local.INFO: IMEI packet received {"connection_id":207822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":207822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:53:32] local.INFO: TCP Data received {"connection_id":204745,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:53:32] local.INFO: Processing buffer {"connection_id":204745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:53:32] local.INFO: Packet analysis {"connection_id":204745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c01"} 
[2026-10-05 17:53:32] local.INFO: Extracted packet for processing {"connection_id":204745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c01"} 
[2026-10-05 17:53:32] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547844608001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791202819000,"timestamp_ms":1791202819000,"timestamp_seconds":1791202819,"priority":1,"record_length":96,"hex_timestamp":"000001a10c01fbb8"} 
[2026-10-05 17:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 17:53:32] 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-10-05 17: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-10-05 17:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547844608001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547844608001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:53:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:53:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547844608001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":204745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:53:32] local.INFO: GPS data processed {"connection_id":204745,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:53:32] local.INFO: Acknowledgment sent {"connection_id":204745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:53:36] local.INFO: TCP Data received {"connection_id":207822,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:53:36] local.INFO: Processing buffer {"connection_id":207822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:53:36] local.INFO: IMEI packet received {"connection_id":207822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":207822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:53:36] local.INFO: TCP Data received {"connection_id":207822,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c045d18012d8046c005df67a00008009f2c..."} 
[2026-10-05 17:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c045d18012d8046c005df67a00008009f2c..."} 
[2026-10-05 17:53:36] local.INFO: Processing buffer {"connection_id":207822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c045d18012d8046c005df67a00008009f2c..."} 
[2026-10-05 17:53:36] local.INFO: Packet analysis {"connection_id":207822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c04"} 
[2026-10-05 17:53:36] local.INFO: Extracted packet for processing {"connection_id":207822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c04"} 
[2026-10-05 17:53:36] local.INFO: GPS Element Parsed {"raw_longitude":763381440,"raw_latitude":98527136,"longitude_deg":76.338144,"latitude_deg":9.8527136,"altitude":8,"angle":159,"satellites":44,"speed":24,"hex_longitude":"2d8046c0","hex_latitude":"05df67a0","is_valid_coordinates":true} 
[2026-10-05 17:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547959552001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139793458838634496,"note":"Value kept but may cause issues"} 
[2026-10-05 17:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9206272406795563008,"note":"Value kept but may cause issues"} 
[2026-10-05 17:53:36] 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-10-05 17:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791202975000,"timestamp_ms":1791202975000,"timestamp_seconds":1791202975,"priority":1,"record_length":96,"hex_timestamp":"000001a10c045d18"} 
[2026-10-05 17:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-10-05 17:53:36] 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-10-05 17:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547959552001,"66":13374,"121":206,"85":15104,"24":24,"16":139793458838634496,"45":-9206272406795563008},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-10-05 17:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547959552001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:53:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 17:53:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139793458838634496,"km_value":139793458838634.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9206272406795563008,"description":"Unknown IO ID 45"} 
[2026-10-05 17:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547959552001,"power":13374,"unknown_121":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9206272406795563008}} 
[2026-10-05 17:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":207822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969001,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:53:36] local.INFO: GPS data processed {"connection_id":207822,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:53:36] local.INFO: Acknowledgment sent {"connection_id":207822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:53:54] local.INFO: TCP Data received {"connection_id":204746,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:53:54] local.INFO: Processing buffer {"connection_id":204746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:53:54] local.INFO: IMEI packet received {"connection_id":204746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":204746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:53:59] local.INFO: TCP Data received {"connection_id":204746,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:53:59] local.INFO: Processing buffer {"connection_id":204746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:53:59] local.INFO: IMEI packet received {"connection_id":204746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":204746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:53:59] local.INFO: TCP Data received {"connection_id":204881,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:53:59] local.INFO: Processing buffer {"connection_id":204881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:53:59] local.INFO: IMEI packet received {"connection_id":204881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":204881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:54:00] local.INFO: TCP Data received {"connection_id":204746,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:54:00] local.INFO: Processing buffer {"connection_id":204746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:54:00] local.INFO: Packet analysis {"connection_id":204746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c01"} 
[2026-10-05 17:54:00] local.INFO: Extracted packet for processing {"connection_id":204746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c01"} 
[2026-10-05 17:54:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547844608001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791202819000,"timestamp_ms":1791202819000,"timestamp_seconds":1791202819,"priority":1,"record_length":96,"hex_timestamp":"000001a10c01fbb8"} 
[2026-10-05 17:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 17:54: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-10-05 17: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-10-05 17:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547844608001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547844608001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:54:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:54:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547844608001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":204746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:54:00] local.INFO: GPS data processed {"connection_id":204746,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:54:00] local.INFO: Acknowledgment sent {"connection_id":204746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:54:05] local.INFO: TCP Data received {"connection_id":204881,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:54:05] local.INFO: Processing buffer {"connection_id":204881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:54:05] local.INFO: IMEI packet received {"connection_id":204881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":204881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:54:06] local.INFO: TCP Data received {"connection_id":204881,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c03b908012d1b9300071f78e00055011d2b..."} 
[2026-10-05 17:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c03b908012d1b9300071f78e00055011d2b..."} 
[2026-10-05 17:54:06] local.INFO: Processing buffer {"connection_id":204881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c03b908012d1b9300071f78e00055011d2b..."} 
[2026-10-05 17:54:06] local.INFO: Packet analysis {"connection_id":204881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c03"} 
[2026-10-05 17:54:06] local.INFO: Extracted packet for processing {"connection_id":204881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c03"} 
[2026-10-05 17:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756781824,"raw_latitude":119503072,"longitude_deg":75.6781824,"latitude_deg":11.9503072,"altitude":85,"angle":285,"satellites":43,"speed":5,"hex_longitude":"2d1b9300","hex_latitude":"071f78e0","is_valid_coordinates":true} 
[2026-10-05 17:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547949056001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25220172516163584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1987565209890959360,"note":"Value kept but may cause issues"} 
[2026-10-05 17:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791202933000,"timestamp_ms":1791202933000,"timestamp_seconds":1791202933,"priority":1,"record_length":96,"hex_timestamp":"000001a10c03b908"} 
[2026-10-05 17:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-10-05 17:54:06] 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-10-05 17: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-10-05 17:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":204881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":204881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":204881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547949056001,"66":13928,"121":206,"28":31744,"24":5,"16":25220172516163584,"45":1987565209890959360},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 17:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547949056001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:54:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 17:54:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 17:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25220172516163584,"km_value":25220172516163.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1987565209890959360,"description":"Unknown IO ID 45"} 
[2026-10-05 17:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547949056001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1987565209890959360}} 
[2026-10-05 17:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":204881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:54:07] local.INFO: GPS data processed {"connection_id":204881,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:54:07] local.INFO: Acknowledgment sent {"connection_id":204881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:54:07] local.INFO: TCP Data received {"connection_id":207822,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0497b0012d80568005df48680005009b2c..."} 
[2026-10-05 17:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0497b0012d80568005df48680005009b2c..."} 
[2026-10-05 17:54:07] local.INFO: Processing buffer {"connection_id":207822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0497b0012d80568005df48680005009b2c..."} 
[2026-10-05 17:54:07] local.INFO: Packet analysis {"connection_id":207822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c04"} 
[2026-10-05 17:54:07] local.INFO: Extracted packet for processing {"connection_id":207822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c04"} 
[2026-10-05 17:54:07] local.INFO: GPS Element Parsed {"raw_longitude":763385472,"raw_latitude":98519144,"longitude_deg":76.3385472,"latitude_deg":9.8519144,"altitude":5,"angle":155,"satellites":44,"speed":33,"hex_longitude":"2d805680","hex_latitude":"05df4868","is_valid_coordinates":true} 
[2026-10-05 17:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547961600001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139793892630331392,"note":"Value kept but may cause issues"} 
[2026-10-05 17:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9203457657029550080,"note":"Value kept but may cause issues"} 
[2026-10-05 17:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791202990000,"timestamp_ms":1791202990000,"timestamp_seconds":1791202990,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0497b0"} 
[2026-10-05 17:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-10-05 17:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547961600001,"66":13798,"99":206,"85":15104,"24":33,"16":139793892630331392,"45":-9203457657029550080},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-10-05 17:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547961600001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:54:07] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-05 17:54:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139793892630331392,"km_value":139793892630331.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9203457657029550080,"description":"Unknown IO ID 45"} 
[2026-10-05 17:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547961600001,"power":13798,"unknown_99":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9203457657029550080}} 
[2026-10-05 17:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":207822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969004,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:54:07] local.INFO: GPS data processed {"connection_id":207822,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:54:07] local.INFO: Acknowledgment sent {"connection_id":207822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:54:30] local.INFO: TCP Data received {"connection_id":207823,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:54:30] local.INFO: Processing buffer {"connection_id":207823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:54:30] local.INFO: IMEI packet received {"connection_id":207823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":207823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:54:32] local.INFO: TCP Data received {"connection_id":204746,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:54:32] local.INFO: Processing buffer {"connection_id":204746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:54:32] local.INFO: Packet analysis {"connection_id":204746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c01"} 
[2026-10-05 17:54:32] local.INFO: Extracted packet for processing {"connection_id":204746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c01"} 
[2026-10-05 17:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547844608001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791202819000,"timestamp_ms":1791202819000,"timestamp_seconds":1791202819,"priority":1,"record_length":96,"hex_timestamp":"000001a10c01fbb8"} 
[2026-10-05 17:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 17:54:32] 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-10-05 17: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-10-05 17:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:54:32] 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-10-05 17:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547844608001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547844608001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:54:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:54:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547844608001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":204746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:54:32] local.INFO: GPS data processed {"connection_id":204746,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:54:32] local.INFO: Acknowledgment sent {"connection_id":204746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:54:38] local.INFO: TCP Data received {"connection_id":204881,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c054390012d1b3bc0071f74b0003f00fc2a..."} 
[2026-10-05 17:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c054390012d1b3bc0071f74b0003f00fc2a..."} 
[2026-10-05 17:54:38] local.INFO: Processing buffer {"connection_id":204881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c054390012d1b3bc0071f74b0003f00fc2a..."} 
[2026-10-05 17:54:38] local.INFO: Packet analysis {"connection_id":204881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c05"} 
[2026-10-05 17:54:38] local.INFO: Extracted packet for processing {"connection_id":204881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c05"} 
[2026-10-05 17:54:38] local.INFO: GPS Element Parsed {"raw_longitude":756759488,"raw_latitude":119502000,"longitude_deg":75.6759488,"latitude_deg":11.9502,"altitude":63,"angle":252,"satellites":42,"speed":23,"hex_longitude":"2d1b3bc0","hex_latitude":"071f74b0","is_valid_coordinates":true} 
[2026-10-05 17:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547976192001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25221409466744832,"note":"Value kept but may cause issues"} 
[2026-10-05 17:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963569468126171136,"note":"Value kept but may cause issues"} 
[2026-10-05 17:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791203034000,"timestamp_ms":1791203034000,"timestamp_seconds":1791203034,"priority":1,"record_length":96,"hex_timestamp":"000001a10c054390"} 
[2026-10-05 17:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:54:38] 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-10-05 17:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-05 17:54:38] 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-10-05 17:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547976192001,"66":14070,"121":206,"28":31744,"24":23,"16":25221409466744832,"45":1963569468126171136},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 17:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547976192001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:54:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 17:54:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 17:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25221409466744832,"km_value":25221409466744.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963569468126171136,"description":"Unknown IO ID 45"} 
[2026-10-05 17:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547976192001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1963569468126171136}} 
[2026-10-05 17:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":204881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:54:38] local.INFO: GPS data processed {"connection_id":204881,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:54:38] local.INFO: Acknowledgment sent {"connection_id":204881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:54:39] local.INFO: TCP Data received {"connection_id":207823,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:54:39] local.INFO: Processing buffer {"connection_id":207823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:54:39] local.INFO: IMEI packet received {"connection_id":207823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":207823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:54:40] local.INFO: TCP Data received {"connection_id":207823,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c04b6f0012d805f4005df2d80000500a72a..."} 
[2026-10-05 17:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c04b6f0012d805f4005df2d80000500a72a..."} 
[2026-10-05 17:54:40] local.INFO: Processing buffer {"connection_id":207823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c04b6f0012d805f4005df2d80000500a72a..."} 
[2026-10-05 17:54:40] local.INFO: Packet analysis {"connection_id":207823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c04"} 
[2026-10-05 17:54:40] local.INFO: Extracted packet for processing {"connection_id":207823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c04"} 
[2026-10-05 17:54:40] local.INFO: GPS Element Parsed {"raw_longitude":763387712,"raw_latitude":98512256,"longitude_deg":76.3387712,"latitude_deg":9.8512256,"altitude":5,"angle":167,"satellites":42,"speed":35,"hex_longitude":"2d805f40","hex_latitude":"05df2d80","is_valid_coordinates":true} 
[2026-10-05 17:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547965440001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139794240522682368,"note":"Value kept but may cause issues"} 
[2026-10-05 17:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9199024426148403200,"note":"Value kept but may cause issues"} 
[2026-10-05 17:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791202998000,"timestamp_ms":1791202998000,"timestamp_seconds":1791202998,"priority":1,"record_length":96,"hex_timestamp":"000001a10c04b6f0"} 
[2026-10-05 17:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 17:54: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-10-05 17:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":207823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":207823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":207823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547965440001,"66":13678,"99":206,"85":15104,"24":35,"16":139794240522682368,"45":-9199024426148403200},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-10-05 17:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547965440001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:54:40] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-05 17:54:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139794240522682368,"km_value":139794240522682.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9199024426148403200,"description":"Unknown IO ID 45"} 
[2026-10-05 17:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547965440001,"power":13678,"unknown_99":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9199024426148403200}} 
[2026-10-05 17:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":207823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969007,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:54:40] local.INFO: GPS data processed {"connection_id":207823,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:54:40] local.INFO: Acknowledgment sent {"connection_id":207823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:54:41] local.INFO: TCP Data received {"connection_id":207823,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c04ce60012d80614005df18a8000600b22a..."} 
[2026-10-05 17:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c04ce60012d80614005df18a8000600b22a..."} 
[2026-10-05 17:54:41] local.INFO: Processing buffer {"connection_id":207823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c04ce60012d80614005df18a8000600b22a..."} 
[2026-10-05 17:54:41] local.INFO: Packet analysis {"connection_id":207823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c04"} 
[2026-10-05 17:54:41] local.INFO: Extracted packet for processing {"connection_id":207823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c04"} 
[2026-10-05 17:54:41] local.INFO: GPS Element Parsed {"raw_longitude":763388224,"raw_latitude":98506920,"longitude_deg":76.3388224,"latitude_deg":9.850692,"altitude":6,"angle":178,"satellites":42,"speed":34,"hex_longitude":"2d806140","hex_latitude":"05df18a8","is_valid_coordinates":true} 
[2026-10-05 17:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547967488001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139794502515687424,"note":"Value kept but may cause issues"} 
[2026-10-05 17:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196561520103948288,"note":"Value kept but may cause issues"} 
[2026-10-05 17:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791203004000,"timestamp_ms":1791203004000,"timestamp_seconds":1791203004,"priority":1,"record_length":96,"hex_timestamp":"000001a10c04ce60"} 
[2026-10-05 17:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 17:54: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-10-05 17:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":207823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":207823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":207823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547967488001,"66":13798,"99":206,"85":15104,"24":34,"16":139794502515687424,"45":-9196561520103948288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-10-05 17:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547967488001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:54:41] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-05 17:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139794502515687424,"km_value":139794502515687.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196561520103948288,"description":"Unknown IO ID 45"} 
[2026-10-05 17:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547967488001,"power":13798,"unknown_99":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9196561520103948288}} 
[2026-10-05 17:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":207823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969008,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:54:41] local.INFO: GPS data processed {"connection_id":207823,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:54:41] local.INFO: Acknowledgment sent {"connection_id":207823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:54:54] local.INFO: TCP Data received {"connection_id":207825,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:54:54] local.INFO: Processing buffer {"connection_id":207825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:54:54] local.INFO: IMEI packet received {"connection_id":207825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":207825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:54:59] local.INFO: TCP Data received {"connection_id":207825,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:54:59] local.INFO: Processing buffer {"connection_id":207825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:54:59] local.INFO: IMEI packet received {"connection_id":207825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":207825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:55:00] local.INFO: TCP Data received {"connection_id":204747,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:55:00] local.INFO: Processing buffer {"connection_id":204747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:55:00] local.INFO: IMEI packet received {"connection_id":204747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":204747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:55:00] local.INFO: TCP Data received {"connection_id":207825,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:55:00] local.INFO: Processing buffer {"connection_id":207825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:55:00] local.INFO: Packet analysis {"connection_id":207825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c01"} 
[2026-10-05 17:55:00] local.INFO: Extracted packet for processing {"connection_id":207825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c01"} 
[2026-10-05 17:55:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547844608001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791202819000,"timestamp_ms":1791202819000,"timestamp_seconds":1791202819,"priority":1,"record_length":96,"hex_timestamp":"000001a10c01fbb8"} 
[2026-10-05 17:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 17:55: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-10-05 17: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-10-05 17:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:55:00] 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-10-05 17:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547844608001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547844608001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:55:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:55:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547844608001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":207825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:55:00] local.INFO: GPS data processed {"connection_id":207825,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:55:00] local.INFO: Acknowledgment sent {"connection_id":207825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:55:01] local.INFO: TCP Data received {"connection_id":204747,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:55:01] local.INFO: Processing buffer {"connection_id":204747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:55:01] local.INFO: IMEI packet received {"connection_id":204747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":204747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:55:05] local.INFO: TCP Data received {"connection_id":204747,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:55:05] local.INFO: Processing buffer {"connection_id":204747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:55:05] local.INFO: IMEI packet received {"connection_id":204747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":204747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:55:09] local.INFO: TCP Data received {"connection_id":204747,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:55:09] local.INFO: Processing buffer {"connection_id":204747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:55:09] local.INFO: IMEI packet received {"connection_id":204747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":204747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:55:12] local.INFO: TCP Data received {"connection_id":207823,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c064d30012d8073c005ddff100003009c2d..."} 
[2026-10-05 17:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c064d30012d8073c005ddff100003009c2d..."} 
[2026-10-05 17:55:12] local.INFO: Processing buffer {"connection_id":207823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c064d30012d8073c005ddff100003009c2d..."} 
[2026-10-05 17:55:12] local.INFO: Packet analysis {"connection_id":207823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 17:55:12] local.INFO: Extracted packet for processing {"connection_id":207823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 17:55:12] local.INFO: GPS Element Parsed {"raw_longitude":763392960,"raw_latitude":98434832,"longitude_deg":76.339296,"latitude_deg":9.8434832,"altitude":3,"angle":156,"satellites":45,"speed":34,"hex_longitude":"2d8073c0","hex_latitude":"05ddff10","is_valid_coordinates":true} 
[2026-10-05 17:55: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-10-05 17:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547992064001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139798054453641216,"note":"Value kept but may cause issues"} 
[2026-10-05 17:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192620870448130048,"note":"Value kept but may cause issues"} 
[2026-10-05 17:55:12] 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-10-05 17:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791203102000,"timestamp_ms":1791203102000,"timestamp_seconds":1791203102,"priority":1,"record_length":96,"hex_timestamp":"000001a10c064d30"} 
[2026-10-05 17:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-10-05 17:55:12] 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-10-05 17:55: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-10-05 17:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":207823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":207823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":207823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547992064001,"66":13363,"100":206,"85":15104,"24":34,"16":139798054453641216,"45":-9192620870448130048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-10-05 17:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547992064001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:55:12] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 17:55:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139798054453641216,"km_value":139798054453641.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192620870448130048,"description":"Unknown IO ID 45"} 
[2026-10-05 17:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547992064001,"power":13363,"unknown_100":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9192620870448130048}} 
[2026-10-05 17:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":207823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:55:12] local.INFO: GPS data processed {"connection_id":207823,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:55:12] local.INFO: Acknowledgment sent {"connection_id":207823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:55:12] local.INFO: TCP Data received {"connection_id":204747,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c054778012d1b3980071f7448003f01072a..."} 
[2026-10-05 17:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c054778012d1b3980071f7448003f01072a..."} 
[2026-10-05 17:55:12] local.INFO: Processing buffer {"connection_id":204747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c054778012d1b3980071f7448003f01072a..."} 
[2026-10-05 17:55:12] local.INFO: Packet analysis {"connection_id":204747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c05"} 
[2026-10-05 17:55:12] local.INFO: Extracted packet for processing {"connection_id":204747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c05"} 
[2026-10-05 17:55:12] local.INFO: GPS Element Parsed {"raw_longitude":756758912,"raw_latitude":119501896,"longitude_deg":75.6758912,"latitude_deg":11.9501896,"altitude":63,"angle":263,"satellites":42,"speed":23,"hex_longitude":"2d1b3980","hex_latitude":"071f7448","is_valid_coordinates":true} 
[2026-10-05 17:55: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-10-05 17:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547976704001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25221439531515904,"note":"Value kept but may cause issues"} 
[2026-10-05 17:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962373199475027968,"note":"Value kept but may cause issues"} 
[2026-10-05 17:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791203035000,"timestamp_ms":1791203035000,"timestamp_seconds":1791203035,"priority":1,"record_length":96,"hex_timestamp":"000001a10c054778"} 
[2026-10-05 17:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:55: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-10-05 17:55: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-10-05 17:55: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-10-05 17:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547976704001,"66":14070,"121":206,"28":31744,"24":23,"16":25221439531515904,"45":1962373199475027968},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 17:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547976704001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:55:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 17:55:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 17:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25221439531515904,"km_value":25221439531515.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962373199475027968,"description":"Unknown IO ID 45"} 
[2026-10-05 17:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547976704001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1962373199475027968}} 
[2026-10-05 17:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":204747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:55:12] local.INFO: GPS data processed {"connection_id":204747,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:55:12] local.INFO: Acknowledgment sent {"connection_id":204747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:55:23] local.INFO: TCP Data received {"connection_id":204747,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c055330012d1b3280071f7468003f011629..."} 
[2026-10-05 17:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c055330012d1b3280071f7468003f011629..."} 
[2026-10-05 17:55:23] local.INFO: Processing buffer {"connection_id":204747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c055330012d1b3280071f7468003f011629..."} 
[2026-10-05 17:55:23] local.INFO: Packet analysis {"connection_id":204747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c05"} 
[2026-10-05 17:55:23] local.INFO: Extracted packet for processing {"connection_id":204747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c05"} 
[2026-10-05 17:55:23] local.INFO: GPS Element Parsed {"raw_longitude":756757120,"raw_latitude":119501928,"longitude_deg":75.675712,"latitude_deg":11.9501928,"altitude":63,"angle":278,"satellites":41,"speed":22,"hex_longitude":"2d1b3280","hex_latitude":"071f7468","is_valid_coordinates":true} 
[2026-10-05 17:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547976960001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25221521135894528,"note":"Value kept but may cause issues"} 
[2026-10-05 17:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961739880777402368,"note":"Value kept but may cause issues"} 
[2026-10-05 17:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1791203038000,"timestamp_ms":1791203038000,"timestamp_seconds":1791203038,"priority":1,"record_length":96,"hex_timestamp":"000001a10c055330"} 
[2026-10-05 17:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 17:55:23] 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-10-05 17:55:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":204747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":204747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":204747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547976960001,"66":13396,"121":206,"28":31744,"24":22,"16":25221521135894528,"45":1961739880777402368},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 17:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547976960001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:55:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 17:55:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 17:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25221521135894528,"km_value":25221521135894.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961739880777402368,"description":"Unknown IO ID 45"} 
[2026-10-05 17:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547976960001,"power":13396,"unknown_121":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1961739880777402368}} 
[2026-10-05 17:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":204747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:55:23] local.INFO: GPS data processed {"connection_id":204747,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:55:23] local.INFO: Acknowledgment sent {"connection_id":204747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:55:30] local.INFO: TCP Data received {"connection_id":207826,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:55:30] local.INFO: Processing buffer {"connection_id":207826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:55:30] local.INFO: IMEI packet received {"connection_id":207826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":207826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:55:32] local.INFO: TCP Data received {"connection_id":207825,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:55:32] local.INFO: Processing buffer {"connection_id":207825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c01fbb8012d80af8006029ae0001200d42f..."} 
[2026-10-05 17:55:32] local.INFO: Packet analysis {"connection_id":207825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c01"} 
[2026-10-05 17:55:32] local.INFO: Extracted packet for processing {"connection_id":207825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c01"} 
[2026-10-05 17:55:32] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547844608001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791202819000,"timestamp_ms":1791202819000,"timestamp_seconds":1791202819,"priority":1,"record_length":96,"hex_timestamp":"000001a10c01fbb8"} 
[2026-10-05 17:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 17:55:32] 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-10-05 17: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-10-05 17:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:55:32] 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-10-05 17:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547844608001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547844608001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:55:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:55:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547844608001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":207825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:55:32] local.INFO: GPS data processed {"connection_id":207825,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:55:32] local.INFO: Acknowledgment sent {"connection_id":207825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:55:36] local.INFO: TCP Data received {"connection_id":207826,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:55:36] local.INFO: Processing buffer {"connection_id":207826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:55:36] local.INFO: IMEI packet received {"connection_id":207826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":207826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:55:36] local.INFO: TCP Data received {"connection_id":207826,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0664a0012d8079c005ddefb8000300b12d..."} 
[2026-10-05 17:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0664a0012d8079c005ddefb8000300b12d..."} 
[2026-10-05 17:55:36] local.INFO: Processing buffer {"connection_id":207826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0664a0012d8079c005ddefb8000300b12d..."} 
[2026-10-05 17:55:36] local.INFO: Packet analysis {"connection_id":207826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 17:55:36] local.INFO: Extracted packet for processing {"connection_id":207826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 17:55:36] local.INFO: GPS Element Parsed {"raw_longitude":763394496,"raw_latitude":98430904,"longitude_deg":76.3394496,"latitude_deg":9.8430904,"altitude":3,"angle":177,"satellites":45,"speed":25,"hex_longitude":"2d8079c0","hex_latitude":"05ddefb8","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547994112001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139798256317104128,"note":"Value kept but may cause issues"} 
[2026-10-05 17:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190791283101200384,"note":"Value kept but may cause issues"} 
[2026-10-05 17:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791203108000,"timestamp_ms":1791203108000,"timestamp_seconds":1791203108,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0664a0"} 
[2026-10-05 17:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-10-05 17:55: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-10-05 17: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-10-05 17:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547994112001,"66":13722,"100":206,"85":15104,"24":25,"16":139798256317104128,"45":-9190791283101200384},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-10-05 17:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547994112001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:55:36] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 17:55:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139798256317104128,"km_value":139798256317104.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190791283101200384,"description":"Unknown IO ID 45"} 
[2026-10-05 17:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547994112001,"power":13722,"unknown_100":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9190791283101200384}} 
[2026-10-05 17:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":207826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:55:37] local.INFO: GPS data processed {"connection_id":207826,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:55:37] local.INFO: Acknowledgment sent {"connection_id":207826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:55:48] local.INFO: TCP Data received {"connection_id":204748,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:55:48] local.INFO: Processing buffer {"connection_id":204748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:55:48] local.INFO: IMEI packet received {"connection_id":204748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 17:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":204748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:55:54] local.INFO: TCP Data received {"connection_id":204749,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:55:54] local.INFO: Processing buffer {"connection_id":204749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:55:54] local.INFO: IMEI packet received {"connection_id":204749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":204749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:55:58] local.INFO: TCP Data received {"connection_id":204749,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:55:58] local.INFO: Processing buffer {"connection_id":204749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:55:58] local.INFO: IMEI packet received {"connection_id":204749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":204749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:55:59] local.INFO: TCP Data received {"connection_id":204749,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:55:59] local.INFO: Processing buffer {"connection_id":204749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:55:59] local.INFO: IMEI packet received {"connection_id":204749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":204749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:56:00] local.INFO: TCP Data received {"connection_id":204749,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 17:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 17:56:00] local.INFO: Processing buffer {"connection_id":204749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 17:56:00] local.INFO: Packet analysis {"connection_id":204749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 17:56:00] local.INFO: Extracted packet for processing {"connection_id":204749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 17:56:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547921664001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791203120000,"timestamp_ms":1791203120000,"timestamp_seconds":1791203120,"priority":1,"record_length":96,"hex_timestamp":"000001a10c069380"} 
[2026-10-05 17:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 17:56: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-10-05 17: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-10-05 17:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:56:00] 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-10-05 17:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547921664001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547921664001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:56:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:56:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547921664001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":204749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:56:00] local.INFO: GPS data processed {"connection_id":204749,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:56:00] local.INFO: Acknowledgment sent {"connection_id":204749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:56:04] local.INFO: TCP Data received {"connection_id":206274,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:56:04] local.INFO: Processing buffer {"connection_id":206274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:56:04] local.INFO: IMEI packet received {"connection_id":206274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":206274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:56:04] local.INFO: TCP Data received {"connection_id":206274,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:56:04] local.INFO: Processing buffer {"connection_id":206274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:56:04] local.INFO: IMEI packet received {"connection_id":206274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":206274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:56:06] local.INFO: TCP Data received {"connection_id":206274,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:56:06] local.INFO: Processing buffer {"connection_id":206274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:56:06] local.INFO: IMEI packet received {"connection_id":206274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":206274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:56:07] local.INFO: TCP Data received {"connection_id":207826,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c073b78012d80764005dd4a00000400d82c..."} 
[2026-10-05 17:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c073b78012d80764005dd4a00000400d82c..."} 
[2026-10-05 17:56:07] local.INFO: Processing buffer {"connection_id":207826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c073b78012d80764005dd4a00000400d82c..."} 
[2026-10-05 17:56:07] local.INFO: Packet analysis {"connection_id":207826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c07"} 
[2026-10-05 17:56:07] local.INFO: Extracted packet for processing {"connection_id":207826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c07"} 
[2026-10-05 17:56:07] local.INFO: GPS Element Parsed {"raw_longitude":763393600,"raw_latitude":98388480,"longitude_deg":76.33936,"latitude_deg":9.838848,"altitude":4,"angle":216,"satellites":44,"speed":22,"hex_longitude":"2d807640","hex_latitude":"05dd4a00","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548009216001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139800382325915648,"note":"Value kept but may cause issues"} 
[2026-10-05 17:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9189454276973424640,"note":"Value kept but may cause issues"} 
[2026-10-05 17:56:07] 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-10-05 17:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791203163000,"timestamp_ms":1791203163000,"timestamp_seconds":1791203163,"priority":1,"record_length":96,"hex_timestamp":"000001a10c073b78"} 
[2026-10-05 17:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-05 17:56:07] 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-10-05 17: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-10-05 17:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 17:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 17:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 17:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548009216001,"66":13820,"100":206,"85":15104,"24":22,"16":139800382325915648,"45":-9189454276973424640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-10-05 17:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 17:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 17:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548009216001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:56:07] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-05 17:56:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 17:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139800382325915648,"km_value":139800382325915.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9189454276973424640,"description":"Unknown IO ID 45"} 
[2026-10-05 17:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548009216001,"power":13820,"unknown_100":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9189454276973424640}} 
[2026-10-05 17:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":207826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:56:07] local.INFO: GPS data processed {"connection_id":207826,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:56:07] local.INFO: Acknowledgment sent {"connection_id":207826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:56:10] local.INFO: TCP Data received {"connection_id":206274,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:56:10] local.INFO: Processing buffer {"connection_id":206274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:56:10] local.INFO: IMEI packet received {"connection_id":206274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":206274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:56:12] local.INFO: TCP Data received {"connection_id":206274,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c067ff8012d1ac780071f8538003901272b..."} 
[2026-10-05 17:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c067ff8012d1ac780071f8538003901272b..."} 
[2026-10-05 17:56:12] local.INFO: Processing buffer {"connection_id":206274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c067ff8012d1ac780071f8538003901272b..."} 
[2026-10-05 17:56:12] local.INFO: Packet analysis {"connection_id":206274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 17:56:12] local.INFO: Extracted packet for processing {"connection_id":206274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 17:56:12] local.INFO: GPS Element Parsed {"raw_longitude":756729728,"raw_latitude":119506232,"longitude_deg":75.6729728,"latitude_deg":11.9506232,"altitude":57,"angle":295,"satellites":43,"speed":10,"hex_longitude":"2d1ac780","hex_latitude":"071f8538","is_valid_coordinates":true} 
[2026-10-05 17:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547997184001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25222912705298432,"note":"Value kept but may cause issues"} 
[2026-10-05 17:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1930003577154361344,"note":"Value kept but may cause issues"} 
[2026-10-05 17:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791203115000,"timestamp_ms":1791203115000,"timestamp_seconds":1791203115,"priority":1,"record_length":96,"hex_timestamp":"000001a10c067ff8"} 
[2026-10-05 17:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-10-05 17:56:12] 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-10-05 17:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":206274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":206274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":206274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547997184001,"66":14298,"121":206,"28":31744,"24":10,"16":25222912705298432,"45":1930003577154361344},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 17:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547997184001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:56:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 17:56:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 17:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25222912705298432,"km_value":25222912705298.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1930003577154361344,"description":"Unknown IO ID 45"} 
[2026-10-05 17:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547997184001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1930003577154361344}} 
[2026-10-05 17:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":206274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:56:12] local.INFO: GPS data processed {"connection_id":206274,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:56:12] local.INFO: Acknowledgment sent {"connection_id":206274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:56:31] local.INFO: TCP Data received {"connection_id":204749,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 17:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 17:56:31] local.INFO: Processing buffer {"connection_id":204749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 17:56:31] local.INFO: Packet analysis {"connection_id":204749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 17:56:31] local.INFO: Extracted packet for processing {"connection_id":204749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 17:56:31] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547921664001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791203120000,"timestamp_ms":1791203120000,"timestamp_seconds":1791203120,"priority":1,"record_length":96,"hex_timestamp":"000001a10c069380"} 
[2026-10-05 17:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 17:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:56:31] 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-10-05 17:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547921664001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547921664001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:56:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:56:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547921664001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":204749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:56:31] local.INFO: GPS data processed {"connection_id":204749,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:56:31] local.INFO: Acknowledgment sent {"connection_id":204749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:56:31] local.INFO: TCP Data received {"connection_id":204750,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:56:31] local.INFO: Processing buffer {"connection_id":204750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:56:31] local.INFO: IMEI packet received {"connection_id":204750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 17:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":204750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:56:33] local.INFO: TCP Data received {"connection_id":204750,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:56:33] local.INFO: Processing buffer {"connection_id":204750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:56:33] local.INFO: IMEI packet received {"connection_id":204750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":204750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:56:34] local.INFO: TCP Data received {"connection_id":206275,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206275,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:56:34] local.INFO: Processing buffer {"connection_id":206275,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 17:56:34] local.INFO: IMEI packet received {"connection_id":206275,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 17:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":206275,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:56:34] local.INFO: TCP Data received {"connection_id":204750,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:56:34] local.INFO: Processing buffer {"connection_id":204750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:56:34] local.INFO: IMEI packet received {"connection_id":204750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":204750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:56:35] local.INFO: TCP Data received {"connection_id":204750,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:56:35] local.INFO: Processing buffer {"connection_id":204750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 17:56:35] local.INFO: IMEI packet received {"connection_id":204750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 17:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":204750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:56:44] local.INFO: TCP Data received {"connection_id":206274,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0683e0012d1ac6c0071f85b8003a01322b..."} 
[2026-10-05 17:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0683e0012d1ac6c0071f85b8003a01322b..."} 
[2026-10-05 17:56:44] local.INFO: Processing buffer {"connection_id":206274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0683e0012d1ac6c0071f85b8003a01322b..."} 
[2026-10-05 17:56:44] local.INFO: Packet analysis {"connection_id":206274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 17:56:44] local.INFO: Extracted packet for processing {"connection_id":206274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 17:56:44] local.INFO: GPS Element Parsed {"raw_longitude":756729536,"raw_latitude":119506360,"longitude_deg":75.6729536,"latitude_deg":11.950636,"altitude":58,"angle":306,"satellites":43,"speed":9,"hex_longitude":"2d1ac6c0","hex_latitude":"071f85b8","is_valid_coordinates":true} 
[2026-10-05 17:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547997440001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25222925590200320,"note":"Value kept but may cause issues"} 
[2026-10-05 17:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929651733433497600,"note":"Value kept but may cause issues"} 
[2026-10-05 17:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791203116000,"timestamp_ms":1791203116000,"timestamp_seconds":1791203116,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0683e0"} 
[2026-10-05 17:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:56: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-10-05 17:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-10-05 17:56:44] 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-10-05 17:56:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":206274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":206274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":206274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547997440001,"66":13993,"121":206,"28":31744,"24":9,"16":25222925590200320,"45":1929651733433497600},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 17:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547997440001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:56:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 17:56:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 17:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25222925590200320,"km_value":25222925590200.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929651733433497600,"description":"Unknown IO ID 45"} 
[2026-10-05 17:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547997440001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1929651733433497600}} 
[2026-10-05 17:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":206274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:56:44] local.INFO: GPS data processed {"connection_id":206274,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:56:44] local.INFO: Acknowledgment sent {"connection_id":206274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:56:54] local.INFO: TCP Data received {"connection_id":207827,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:56:54] local.INFO: Processing buffer {"connection_id":207827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:56:54] local.INFO: IMEI packet received {"connection_id":207827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":207827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:56:59] local.INFO: TCP Data received {"connection_id":207827,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:56:59] local.INFO: Processing buffer {"connection_id":207827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:56:59] local.INFO: IMEI packet received {"connection_id":207827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":207827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:57:00] local.INFO: TCP Data received {"connection_id":207827,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 17:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 17:57:00] local.INFO: Processing buffer {"connection_id":207827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 17:57:00] local.INFO: Packet analysis {"connection_id":207827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 17:57:00] local.INFO: Extracted packet for processing {"connection_id":207827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 17:57:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547921664001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791203120000,"timestamp_ms":1791203120000,"timestamp_seconds":1791203120,"priority":1,"record_length":96,"hex_timestamp":"000001a10c069380"} 
[2026-10-05 17:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 17:57: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-10-05 17:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:57:00] 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-10-05 17:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547921664001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547921664001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:57:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:57:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547921664001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":207827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:57:00] local.INFO: GPS data processed {"connection_id":207827,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:57:00] local.INFO: Acknowledgment sent {"connection_id":207827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:57:04] local.INFO: TCP Data received {"connection_id":206276,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:57:04] local.INFO: Processing buffer {"connection_id":206276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:57:04] local.INFO: IMEI packet received {"connection_id":206276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":206276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:57:07] local.INFO: TCP Data received {"connection_id":206276,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:57:07] local.INFO: Processing buffer {"connection_id":206276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:57:07] local.INFO: IMEI packet received {"connection_id":206276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":206276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:57:10] local.INFO: TCP Data received {"connection_id":206276,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:57:10] local.INFO: Processing buffer {"connection_id":206276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:57:10] local.INFO: IMEI packet received {"connection_id":206276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":206276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:57:11] local.INFO: TCP Data received {"connection_id":206276,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c074b18012d1a6840071fda38003201202a..."} 
[2026-10-05 17:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c074b18012d1a6840071fda38003201202a..."} 
[2026-10-05 17:57:11] local.INFO: Processing buffer {"connection_id":206276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c074b18012d1a6840071fda38003201202a..."} 
[2026-10-05 17:57:11] local.INFO: Packet analysis {"connection_id":206276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c07"} 
[2026-10-05 17:57:11] local.INFO: Extracted packet for processing {"connection_id":206276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c07"} 
[2026-10-05 17:57:11] local.INFO: GPS Element Parsed {"raw_longitude":756705344,"raw_latitude":119527992,"longitude_deg":75.6705344,"latitude_deg":11.9527992,"altitude":50,"angle":288,"satellites":42,"speed":30,"hex_longitude":"2d1a6840","hex_latitude":"071fda38","is_valid_coordinates":true} 
[2026-10-05 17:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548010240001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25224579152609280,"note":"Value kept but may cause issues"} 
[2026-10-05 17:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904389354279104512,"note":"Value kept but may cause issues"} 
[2026-10-05 17:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791203167000,"timestamp_ms":1791203167000,"timestamp_seconds":1791203167,"priority":1,"record_length":96,"hex_timestamp":"000001a10c074b18"} 
[2026-10-05 17:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:57: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-10-05 17:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-05 17:57:11] 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-10-05 17:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548010240001,"66":14298,"121":206,"28":31744,"24":30,"16":25224579152609280,"45":1904389354279104512},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 17:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548010240001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:57:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 17:57:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 17:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25224579152609280,"km_value":25224579152609.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904389354279104512,"description":"Unknown IO ID 45"} 
[2026-10-05 17:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548010240001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1904389354279104512}} 
[2026-10-05 17:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":206276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:57:11] local.INFO: GPS data processed {"connection_id":206276,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:57:11] local.INFO: Acknowledgment sent {"connection_id":206276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:57:31] local.INFO: TCP Data received {"connection_id":207827,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 17:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 17:57:31] local.INFO: Processing buffer {"connection_id":207827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 17:57:31] local.INFO: Packet analysis {"connection_id":207827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 17:57:31] local.INFO: Extracted packet for processing {"connection_id":207827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 17:57:31] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547921664001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791203120000,"timestamp_ms":1791203120000,"timestamp_seconds":1791203120,"priority":1,"record_length":96,"hex_timestamp":"000001a10c069380"} 
[2026-10-05 17:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 17:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:57:31] 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-10-05 17:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547921664001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547921664001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:57:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:57:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547921664001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":207827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:57:31] local.INFO: GPS data processed {"connection_id":207827,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:57:31] local.INFO: Acknowledgment sent {"connection_id":207827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:57:42] local.INFO: TCP Data received {"connection_id":206276,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c080698012d19dd0007200a90002c012a2c..."} 
[2026-10-05 17:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c080698012d19dd0007200a90002c012a2c..."} 
[2026-10-05 17:57:42] local.INFO: Processing buffer {"connection_id":206276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c080698012d19dd0007200a90002c012a2c..."} 
[2026-10-05 17:57:42] local.INFO: Packet analysis {"connection_id":206276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c08"} 
[2026-10-05 17:57:42] local.INFO: Extracted packet for processing {"connection_id":206276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c08"} 
[2026-10-05 17:57:42] local.INFO: GPS Element Parsed {"raw_longitude":756669696,"raw_latitude":119540368,"longitude_deg":75.6669696,"latitude_deg":11.9540368,"altitude":44,"angle":298,"satellites":44,"speed":27,"hex_longitude":"2d19dd00","hex_latitude":"07200a90","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548022784001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25226430283513856,"note":"Value kept but may cause issues"} 
[2026-10-05 17:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864279170101088256,"note":"Value kept but may cause issues"} 
[2026-10-05 17:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791203215000,"timestamp_ms":1791203215000,"timestamp_seconds":1791203215,"priority":1,"record_length":96,"hex_timestamp":"000001a10c080698"} 
[2026-10-05 17:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-10-05 17:57:42] 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-10-05 17: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-10-05 17:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548022784001,"66":13167,"121":206,"28":31744,"24":27,"16":25226430283513856,"45":1864279170101088256},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 17:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548022784001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:57:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 17:57:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 17:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25226430283513856,"km_value":25226430283513.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864279170101088256,"description":"Unknown IO ID 45"} 
[2026-10-05 17:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548022784001,"power":13167,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1864279170101088256}} 
[2026-10-05 17:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":206276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:57:42] local.INFO: GPS data processed {"connection_id":206276,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:57:42] local.INFO: Acknowledgment sent {"connection_id":206276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:57:54] local.INFO: TCP Data received {"connection_id":207830,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:57:54] local.INFO: Processing buffer {"connection_id":207830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:57:54] local.INFO: IMEI packet received {"connection_id":207830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":207830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:57:59] local.INFO: TCP Data received {"connection_id":207830,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:57:59] local.INFO: Processing buffer {"connection_id":207830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:57:59] local.INFO: IMEI packet received {"connection_id":207830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":207830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:58:01] local.INFO: TCP Data received {"connection_id":207830,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 17:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 17:58:01] local.INFO: Processing buffer {"connection_id":207830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 17:58:01] local.INFO: Packet analysis {"connection_id":207830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 17:58:01] local.INFO: Extracted packet for processing {"connection_id":207830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 17:58:01] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547921664001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791203120000,"timestamp_ms":1791203120000,"timestamp_seconds":1791203120,"priority":1,"record_length":96,"hex_timestamp":"000001a10c069380"} 
[2026-10-05 17:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 17:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:58:01] 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-10-05 17:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547921664001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547921664001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:58:01] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:58:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547921664001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":207830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:58:01] local.INFO: GPS data processed {"connection_id":207830,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:58:01] local.INFO: Acknowledgment sent {"connection_id":207830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:58:04] local.INFO: TCP Data received {"connection_id":206277,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:58:04] local.INFO: Processing buffer {"connection_id":206277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:58:04] local.INFO: IMEI packet received {"connection_id":206277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":206277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:58:10] local.INFO: TCP Data received {"connection_id":206277,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:58:10] local.INFO: Processing buffer {"connection_id":206277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:58:10] local.INFO: IMEI packet received {"connection_id":206277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":206277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:58:12] local.INFO: TCP Data received {"connection_id":206277,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c081a20012d19d10007201160002c01362c..."} 
[2026-10-05 17:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c081a20012d19d10007201160002c01362c..."} 
[2026-10-05 17:58:12] local.INFO: Processing buffer {"connection_id":206277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c081a20012d19d10007201160002c01362c..."} 
[2026-10-05 17:58:12] local.INFO: Packet analysis {"connection_id":206277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c08"} 
[2026-10-05 17:58:12] local.INFO: Extracted packet for processing {"connection_id":206277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c08"} 
[2026-10-05 17:58:12] local.INFO: GPS Element Parsed {"raw_longitude":756666624,"raw_latitude":119542112,"longitude_deg":75.6666624,"latitude_deg":11.9542112,"altitude":44,"angle":310,"satellites":44,"speed":27,"hex_longitude":"2d19d100","hex_latitude":"07201160","is_valid_coordinates":true} 
[2026-10-05 17:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548023040001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25226602082205696,"note":"Value kept but may cause issues"} 
[2026-10-05 17:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863645851403587584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791203220000,"timestamp_ms":1791203220000,"timestamp_seconds":1791203220,"priority":1,"record_length":96,"hex_timestamp":"000001a10c081a20"} 
[2026-10-05 17:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:58: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-10-05 17:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-10-05 17:58:12] 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-10-05 17:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":206277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":206277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":206277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548023040001,"66":13906,"121":206,"28":31744,"24":27,"16":25226602082205696,"45":1863645851403587584},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 17:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548023040001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:58:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 17:58:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 17:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25226602082205696,"km_value":25226602082205.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863645851403587584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548023040001,"power":13906,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1863645851403587584}} 
[2026-10-05 17:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":206277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:58:12] local.INFO: GPS data processed {"connection_id":206277,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:58:12] local.INFO: Acknowledgment sent {"connection_id":206277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:58:32] local.INFO: TCP Data received {"connection_id":207830,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 17:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 17:58:32] local.INFO: Processing buffer {"connection_id":207830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 17:58:32] local.INFO: Packet analysis {"connection_id":207830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 17:58:32] local.INFO: Extracted packet for processing {"connection_id":207830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 17:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547921664001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791203120000,"timestamp_ms":1791203120000,"timestamp_seconds":1791203120,"priority":1,"record_length":96,"hex_timestamp":"000001a10c069380"} 
[2026-10-05 17:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 17:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:58:32] 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-10-05 17:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547921664001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547921664001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:58:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:58:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547921664001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":207830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:58:32] local.INFO: GPS data processed {"connection_id":207830,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:58:32] local.INFO: Acknowledgment sent {"connection_id":207830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:58:50] local.INFO: TCP Data received {"connection_id":206277,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0821f0012d19cdc007201510002c01422c..."} 
[2026-10-05 17:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0821f0012d19cdc007201510002c01422c..."} 
[2026-10-05 17:58:50] local.INFO: Processing buffer {"connection_id":206277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0821f0012d19cdc007201510002c01422c..."} 
[2026-10-05 17:58:50] local.INFO: Packet analysis {"connection_id":206277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c08"} 
[2026-10-05 17:58:50] local.INFO: Extracted packet for processing {"connection_id":206277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c08"} 
[2026-10-05 17:58:50] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119543056,"longitude_deg":75.6665792,"latitude_deg":11.9543056,"altitude":44,"angle":322,"satellites":44,"speed":24,"hex_longitude":"2d19cdc0","hex_latitude":"07201510","is_valid_coordinates":true} 
[2026-10-05 17:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548024320001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25226662211747840,"note":"Value kept but may cause issues"} 
[2026-10-05 17:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860268151683506176,"note":"Value kept but may cause issues"} 
[2026-10-05 17:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1791203222000,"timestamp_ms":1791203222000,"timestamp_seconds":1791203222,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0821f0"} 
[2026-10-05 17:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:58:50] 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-10-05 17:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 17:58:50] 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-10-05 17:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":206277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":206277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":206277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548024320001,"66":14026,"121":206,"28":31744,"24":24,"16":25226662211747840,"45":1860268151683506176},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 17:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548024320001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:58:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 17:58:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 17:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25226662211747840,"km_value":25226662211747.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860268151683506176,"description":"Unknown IO ID 45"} 
[2026-10-05 17:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548024320001,"power":14026,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1860268151683506176}} 
[2026-10-05 17:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":206277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:58:50] local.INFO: GPS data processed {"connection_id":206277,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:58:50] local.INFO: Acknowledgment sent {"connection_id":206277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:58:54] local.INFO: TCP Data received {"connection_id":207832,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:58:54] local.INFO: Processing buffer {"connection_id":207832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:58:54] local.INFO: IMEI packet received {"connection_id":207832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":207832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:58:59] local.INFO: TCP Data received {"connection_id":207832,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:58:59] local.INFO: Processing buffer {"connection_id":207832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:58:59] local.INFO: IMEI packet received {"connection_id":207832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":207832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:59:00] local.INFO: TCP Data received {"connection_id":207832,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 17:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 17:59:00] local.INFO: Processing buffer {"connection_id":207832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 17:59:00] local.INFO: Packet analysis {"connection_id":207832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 17:59:00] local.INFO: Extracted packet for processing {"connection_id":207832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 17:59:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547921664001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791203120000,"timestamp_ms":1791203120000,"timestamp_seconds":1791203120,"priority":1,"record_length":96,"hex_timestamp":"000001a10c069380"} 
[2026-10-05 17:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 17:59: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-10-05 17: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-10-05 17:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:59:00] 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-10-05 17:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547921664001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547921664001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:59:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:59:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547921664001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":207832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:59:00] local.INFO: GPS data processed {"connection_id":207832,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:59:00] local.INFO: Acknowledgment sent {"connection_id":207832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:59:05] local.INFO: TCP Data received {"connection_id":204751,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:59:05] local.INFO: Processing buffer {"connection_id":204751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:59:05] local.INFO: IMEI packet received {"connection_id":204751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 17:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":204751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:59:07] local.INFO: TCP Data received {"connection_id":204751,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:59:07] local.INFO: Processing buffer {"connection_id":204751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:59:07] local.INFO: IMEI packet received {"connection_id":204751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":204751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:59:09] local.INFO: TCP Data received {"connection_id":204751,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:59:09] local.INFO: Processing buffer {"connection_id":204751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:59:09] local.INFO: IMEI packet received {"connection_id":204751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":204751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:59:13] local.INFO: TCP Data received {"connection_id":204751,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:59:13] local.INFO: Processing buffer {"connection_id":204751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 17:59:13] local.INFO: IMEI packet received {"connection_id":204751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 17:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":204751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 17:59:14] local.INFO: TCP Data received {"connection_id":204751,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c096a10012d19b9c00720a7680031015b2c..."} 
[2026-10-05 17:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c096a10012d19b9c00720a7680031015b2c..."} 
[2026-10-05 17:59:14] local.INFO: Processing buffer {"connection_id":204751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c096a10012d19b9c00720a7680031015b2c..."} 
[2026-10-05 17:59:14] local.INFO: Packet analysis {"connection_id":204751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c09"} 
[2026-10-05 17:59:14] local.INFO: Extracted packet for processing {"connection_id":204751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c09"} 
[2026-10-05 17:59:14] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119580520,"longitude_deg":75.6660672,"latitude_deg":11.958052,"altitude":49,"angle":347,"satellites":44,"speed":17,"hex_longitude":"2d19b9c0","hex_latitude":"0720a768","is_valid_coordinates":true} 
[2026-10-05 17:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548046080001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25228612126900224,"note":"Value kept but may cause issues"} 
[2026-10-05 17:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227228882944,"note":"Value kept but may cause issues"} 
[2026-10-05 17:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791203306000,"timestamp_ms":1791203306000,"timestamp_seconds":1791203306,"priority":1,"record_length":96,"hex_timestamp":"000001a10c096a10"} 
[2026-10-05 17:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 17:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-05 17:59: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-10-05 17:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":204751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":204751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":204751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548046080001,"66":14374,"121":206,"28":31744,"24":17,"16":25228612126900224,"45":1853794227228882944},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 17:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548046080001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:59:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 17:59:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 17:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25228612126900224,"km_value":25228612126900.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227228882944,"description":"Unknown IO ID 45"} 
[2026-10-05 17:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548046080001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1853794227228882944}} 
[2026-10-05 17:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":204751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:59:14] local.INFO: GPS data processed {"connection_id":204751,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:59:14] local.INFO: Acknowledgment sent {"connection_id":204751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:59:15] local.INFO: TCP Data received {"connection_id":204751,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c096df8012d19b9400720a900003101442c..."} 
[2026-10-05 17:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c096df8012d19b9400720a900003101442c..."} 
[2026-10-05 17:59:15] local.INFO: Processing buffer {"connection_id":204751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c096df8012d19b9400720a900003101442c..."} 
[2026-10-05 17:59:15] local.INFO: Packet analysis {"connection_id":204751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c09"} 
[2026-10-05 17:59:15] local.INFO: Extracted packet for processing {"connection_id":204751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c09"} 
[2026-10-05 17:59:15] local.INFO: GPS Element Parsed {"raw_longitude":756660544,"raw_latitude":119580928,"longitude_deg":75.6660544,"latitude_deg":11.9580928,"altitude":49,"angle":324,"satellites":44,"speed":19,"hex_longitude":"2d19b940","hex_latitude":"0720a900","is_valid_coordinates":true} 
[2026-10-05 17:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548046336001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25228633601736704,"note":"Value kept but may cause issues"} 
[2026-10-05 17:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858484815872,"note":"Value kept but may cause issues"} 
[2026-10-05 17:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791203307000,"timestamp_ms":1791203307000,"timestamp_seconds":1791203307,"priority":1,"record_length":96,"hex_timestamp":"000001a10c096df8"} 
[2026-10-05 17:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:59: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-10-05 17:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-05 17:59:15] 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-10-05 17: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-10-05 17:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548046336001,"66":14374,"121":206,"28":31744,"24":19,"16":25228633601736704,"45":1853723858484815872},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 17:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548046336001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:59:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 17:59:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 17:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25228633601736704,"km_value":25228633601736.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858484815872,"description":"Unknown IO ID 45"} 
[2026-10-05 17:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548046336001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1853723858484815872}} 
[2026-10-05 17:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":204751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:59:15] local.INFO: GPS data processed {"connection_id":204751,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:59:15] local.INFO: Acknowledgment sent {"connection_id":204751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:59:31] local.INFO: TCP Data received {"connection_id":207832,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 17:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 17:59:31] local.INFO: Processing buffer {"connection_id":207832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 17:59:31] local.INFO: Packet analysis {"connection_id":207832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 17:59:31] local.INFO: Extracted packet for processing {"connection_id":207832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 17:59:31] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 17: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-10-05 17:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547921664001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 17:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 17:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791203120000,"timestamp_ms":1791203120000,"timestamp_seconds":1791203120,"priority":1,"record_length":96,"hex_timestamp":"000001a10c069380"} 
[2026-10-05 17:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 17: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 17:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 17: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-10-05 17:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 17:59:31] 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-10-05 17:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 17:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 17:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547921664001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 17:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 17:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 17:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547921664001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:59:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 17:59:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 17:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 17:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547921664001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 17:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":207832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:59:31] local.INFO: GPS data processed {"connection_id":207832,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:59:31] local.INFO: Acknowledgment sent {"connection_id":207832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:59:47] local.INFO: TCP Data received {"connection_id":204751,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0971e0012d19b7c00720aa50003201322c..."} 
[2026-10-05 17:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0971e0012d19b7c00720aa50003201322c..."} 
[2026-10-05 17:59:47] local.INFO: Processing buffer {"connection_id":204751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0971e0012d19b7c00720aa50003201322c..."} 
[2026-10-05 17:59:47] local.INFO: Packet analysis {"connection_id":204751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c09"} 
[2026-10-05 17:59:47] local.INFO: Extracted packet for processing {"connection_id":204751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c09"} 
[2026-10-05 17:59:47] local.INFO: GPS Element Parsed {"raw_longitude":756660160,"raw_latitude":119581264,"longitude_deg":75.666016,"latitude_deg":11.9581264,"altitude":50,"angle":306,"satellites":44,"speed":19,"hex_longitude":"2d19b7c0","hex_latitude":"0720aa50","is_valid_coordinates":true} 
[2026-10-05 17:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 17:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548046592001,"note":"Value kept but may cause issues"} 
[2026-10-05 17:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25228655076573184,"note":"Value kept but may cause issues"} 
[2026-10-05 17:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120996564992,"note":"Value kept but may cause issues"} 
[2026-10-05 17:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 17:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791203308000,"timestamp_ms":1791203308000,"timestamp_seconds":1791203308,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0971e0"} 
[2026-10-05 17:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 17:59: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-10-05 17:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-05 17:59: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-10-05 17:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 17:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 17:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 17:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":204751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 17:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":204751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":204751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 17:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 17:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 17:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 17:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548046592001,"66":14374,"121":206,"28":31744,"24":19,"16":25228655076573184,"45":1853583120996564992},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 17:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 17:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 17:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548046592001,"description":"Unknown IO ID 0"} 
[2026-10-05 17:59:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 17:59:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 17:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25228655076573184,"km_value":25228655076573.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 17:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120996564992,"description":"Unknown IO ID 45"} 
[2026-10-05 17:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548046592001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1853583120996564992}} 
[2026-10-05 17:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":204751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 17:59:47] local.INFO: GPS data processed {"connection_id":204751,"processed":1,"errors":0,"total":1} 
[2026-10-05 17:59:47] local.INFO: Acknowledgment sent {"connection_id":204751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 17:59:54] local.INFO: TCP Data received {"connection_id":207833,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:59:54] local.INFO: Processing buffer {"connection_id":207833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:59:54] local.INFO: IMEI packet received {"connection_id":207833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 17:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":207833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 17:59:59] local.INFO: TCP Data received {"connection_id":207833,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:59:59] local.INFO: Processing buffer {"connection_id":207833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 17:59:59] local.INFO: IMEI packet received {"connection_id":207833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 17:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":207833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:00:00] local.INFO: TCP Data received {"connection_id":207833,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 18:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 18:00:00] local.INFO: Processing buffer {"connection_id":207833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 18:00:00] local.INFO: Packet analysis {"connection_id":207833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 18:00:00] local.INFO: Extracted packet for processing {"connection_id":207833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 18:00:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547921664001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791203120000,"timestamp_ms":1791203120000,"timestamp_seconds":1791203120,"priority":1,"record_length":96,"hex_timestamp":"000001a10c069380"} 
[2026-10-05 18:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:00: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-10-05 18:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:00: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-10-05 18:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547921664001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547921664001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:00:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:00:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547921664001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":207833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:00:00] local.INFO: GPS data processed {"connection_id":207833,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:00:00] local.INFO: Acknowledgment sent {"connection_id":207833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:00:05] local.INFO: TCP Data received {"connection_id":207834,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:00:05] local.INFO: Processing buffer {"connection_id":207834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:00:05] local.INFO: IMEI packet received {"connection_id":207834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":207834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:00:06] local.INFO: TCP Data received {"connection_id":207834,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:00:06] local.INFO: Processing buffer {"connection_id":207834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:00:06] local.INFO: IMEI packet received {"connection_id":207834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":207834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:00:07] local.INFO: TCP Data received {"connection_id":207834,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0979b0012d19b3800720ac50003301272c..."} 
[2026-10-05 18:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0979b0012d19b3800720ac50003301272c..."} 
[2026-10-05 18:00:07] local.INFO: Processing buffer {"connection_id":207834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0979b0012d19b3800720ac50003301272c..."} 
[2026-10-05 18:00:07] local.INFO: Packet analysis {"connection_id":207834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c09"} 
[2026-10-05 18:00:07] local.INFO: Extracted packet for processing {"connection_id":207834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c09"} 
[2026-10-05 18:00:07] local.INFO: GPS Element Parsed {"raw_longitude":756659072,"raw_latitude":119581776,"longitude_deg":75.6659072,"latitude_deg":11.9581776,"altitude":51,"angle":295,"satellites":44,"speed":24,"hex_longitude":"2d19b380","hex_latitude":"0720ac50","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548046848001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25228715206115328,"note":"Value kept but may cause issues"} 
[2026-10-05 18:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853160908531585024,"note":"Value kept but may cause issues"} 
[2026-10-05 18:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791203310000,"timestamp_ms":1791203310000,"timestamp_seconds":1791203310,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0979b0"} 
[2026-10-05 18:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:00: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-10-05 18: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-05 18:00:07] 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-10-05 18:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548046848001,"66":14298,"121":206,"28":31744,"24":24,"16":25228715206115328,"45":1853160908531585024},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548046848001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:00:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:00:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25228715206115328,"km_value":25228715206115.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853160908531585024,"description":"Unknown IO ID 45"} 
[2026-10-05 18:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548046848001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1853160908531585024}} 
[2026-10-05 18:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":207834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:00:07] local.INFO: GPS data processed {"connection_id":207834,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:00:07] local.INFO: Acknowledgment sent {"connection_id":207834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:00:11] local.INFO: TCP Data received {"connection_id":207834,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c098d38012d19a8800720b020003501182a..."} 
[2026-10-05 18:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c098d38012d19a8800720b020003501182a..."} 
[2026-10-05 18:00:11] local.INFO: Processing buffer {"connection_id":207834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c098d38012d19a8800720b020003501182a..."} 
[2026-10-05 18:00:11] local.INFO: Packet analysis {"connection_id":207834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c09"} 
[2026-10-05 18:00:11] local.INFO: Extracted packet for processing {"connection_id":207834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c09"} 
[2026-10-05 18:00:11] local.INFO: GPS Element Parsed {"raw_longitude":756656256,"raw_latitude":119582752,"longitude_deg":75.6656256,"latitude_deg":11.9582752,"altitude":53,"angle":280,"satellites":42,"speed":23,"hex_longitude":"2d19a880","hex_latitude":"0720b020","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548047360001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25228856940036096,"note":"Value kept but may cause issues"} 
[2026-10-05 18:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851964639880695808,"note":"Value kept but may cause issues"} 
[2026-10-05 18:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791203315000,"timestamp_ms":1791203315000,"timestamp_seconds":1791203315,"priority":1,"record_length":96,"hex_timestamp":"000001a10c098d38"} 
[2026-10-05 18:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18: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-10-05 18: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-10-05 18:00:11] 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-10-05 18: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-10-05 18:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548047360001,"66":14265,"121":206,"28":31744,"24":23,"16":25228856940036096,"45":1851964639880695808},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548047360001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:00:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:00:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25228856940036096,"km_value":25228856940036.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851964639880695808,"description":"Unknown IO ID 45"} 
[2026-10-05 18:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548047360001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1851964639880695808}} 
[2026-10-05 18:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":207834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:00:11] local.INFO: GPS data processed {"connection_id":207834,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:00:11] local.INFO: Acknowledgment sent {"connection_id":207834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:00:31] local.INFO: TCP Data received {"connection_id":207833,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 18:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 18:00:31] local.INFO: Processing buffer {"connection_id":207833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c069380012d80af8006029ae0001200d430..."} 
[2026-10-05 18:00:31] local.INFO: Packet analysis {"connection_id":207833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 18:00:31] local.INFO: Extracted packet for processing {"connection_id":207833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c06"} 
[2026-10-05 18:00:31] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547921664001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791203120000,"timestamp_ms":1791203120000,"timestamp_seconds":1791203120,"priority":1,"record_length":96,"hex_timestamp":"000001a10c069380"} 
[2026-10-05 18:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547921664001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547921664001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:00:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:00:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547921664001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":207833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:00:31] local.INFO: GPS data processed {"connection_id":207833,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:00:31] local.INFO: Acknowledgment sent {"connection_id":207833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:00:45] local.INFO: TCP Data received {"connection_id":207834,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0ac9a0012d18d24007210c48003d015b29..."} 
[2026-10-05 18:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0ac9a0012d18d24007210c48003d015b29..."} 
[2026-10-05 18:00:45] local.INFO: Processing buffer {"connection_id":207834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0ac9a0012d18d24007210c48003d015b29..."} 
[2026-10-05 18:00:45] local.INFO: Packet analysis {"connection_id":207834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0a"} 
[2026-10-05 18:00:45] local.INFO: Extracted packet for processing {"connection_id":207834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0a"} 
[2026-10-05 18:00:45] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119606344,"longitude_deg":75.6601408,"latitude_deg":11.9606344,"altitude":61,"angle":347,"satellites":41,"speed":31,"hex_longitude":"2d18d240","hex_latitude":"07210c48","is_valid_coordinates":true} 
[2026-10-05 18:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548068352001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25231979381260288,"note":"Value kept but may cause issues"} 
[2026-10-05 18:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789547563800674304,"note":"Value kept but may cause issues"} 
[2026-10-05 18:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791203396000,"timestamp_ms":1791203396000,"timestamp_seconds":1791203396,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0ac9a0"} 
[2026-10-05 18:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-05 18:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":207834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":207834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":207834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548068352001,"66":14428,"121":206,"28":31744,"24":31,"16":25231979381260288,"45":1789547563800674304},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548068352001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:00:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:00:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25231979381260288,"km_value":25231979381260.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789547563800674304,"description":"Unknown IO ID 45"} 
[2026-10-05 18:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548068352001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1789547563800674304}} 
[2026-10-05 18:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":207834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:00:45] local.INFO: GPS data processed {"connection_id":207834,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:00:45] local.INFO: Acknowledgment sent {"connection_id":207834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:00:54] local.INFO: TCP Data received {"connection_id":207835,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:00:54] local.INFO: Processing buffer {"connection_id":207835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:00:54] local.INFO: IMEI packet received {"connection_id":207835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":207835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:00:59] local.INFO: TCP Data received {"connection_id":207835,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:00:59] local.INFO: Processing buffer {"connection_id":207835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:00:59] local.INFO: IMEI packet received {"connection_id":207835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":207835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:01:00] local.INFO: TCP Data received {"connection_id":207835,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:01:00] local.INFO: Processing buffer {"connection_id":207835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:01:00] local.INFO: Packet analysis {"connection_id":207835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:01:00] local.INFO: Extracted packet for processing {"connection_id":207835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:01:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547998720001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791203421000,"timestamp_ms":1791203421000,"timestamp_seconds":1791203421,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0b2b48"} 
[2026-10-05 18:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:01: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-10-05 18: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-10-05 18:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547998720001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547998720001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:01:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:01:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547998720001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":207835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:01:01] local.INFO: GPS data processed {"connection_id":207835,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:01:01] local.INFO: Acknowledgment sent {"connection_id":207835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:01:05] local.INFO: TCP Data received {"connection_id":206281,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:01:05] local.INFO: Processing buffer {"connection_id":206281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:01:05] local.INFO: IMEI packet received {"connection_id":206281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":206281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:01:09] local.INFO: TCP Data received {"connection_id":206281,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:01:09] local.INFO: Processing buffer {"connection_id":206281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:01:09] local.INFO: IMEI packet received {"connection_id":206281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":206281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:01:11] local.INFO: TCP Data received {"connection_id":206281,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0ad558012d18d10007211598003c01672a..."} 
[2026-10-05 18:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0ad558012d18d10007211598003c01672a..."} 
[2026-10-05 18:01:11] local.INFO: Processing buffer {"connection_id":206281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0ad558012d18d10007211598003c01672a..."} 
[2026-10-05 18:01:11] local.INFO: Packet analysis {"connection_id":206281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0a"} 
[2026-10-05 18:01:11] local.INFO: Extracted packet for processing {"connection_id":206281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0a"} 
[2026-10-05 18:01:11] local.INFO: GPS Element Parsed {"raw_longitude":756601088,"raw_latitude":119608728,"longitude_deg":75.6601088,"latitude_deg":11.9608728,"altitude":60,"angle":359,"satellites":42,"speed":31,"hex_longitude":"2d18d100","hex_latitude":"07211598","is_valid_coordinates":true} 
[2026-10-05 18:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548069376001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25232095345377280,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401382909952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791203399000,"timestamp_ms":1791203399000,"timestamp_seconds":1791203399,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0ad558"} 
[2026-10-05 18:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:01: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-10-05 18:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 18:01:11] 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-10-05 18:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548069376001,"66":14352,"121":206,"28":31744,"24":31,"16":25232095345377280,"45":1788562401382909952},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548069376001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:01:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:01:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25232095345377280,"km_value":25232095345377.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401382909952,"description":"Unknown IO ID 45"} 
[2026-10-05 18:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548069376001,"power":14352,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1788562401382909952}} 
[2026-10-05 18:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":206281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:01:11] local.INFO: GPS data processed {"connection_id":206281,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:01:11] local.INFO: Acknowledgment sent {"connection_id":206281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:01:31] local.INFO: TCP Data received {"connection_id":207835,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:01:31] local.INFO: Processing buffer {"connection_id":207835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:01:31] local.INFO: Packet analysis {"connection_id":207835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:01:31] local.INFO: Extracted packet for processing {"connection_id":207835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:01:31] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547998720001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791203421000,"timestamp_ms":1791203421000,"timestamp_seconds":1791203421,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0b2b48"} 
[2026-10-05 18:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547998720001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547998720001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:01:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:01:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547998720001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":207835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:01:31] local.INFO: GPS data processed {"connection_id":207835,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:01:31] local.INFO: Acknowledgment sent {"connection_id":207835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:01:40] local.INFO: TCP Data received {"connection_id":206282,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:01:40] local.INFO: Processing buffer {"connection_id":206282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:01:40] local.INFO: IMEI packet received {"connection_id":206282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":206282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:01:41] local.INFO: TCP Data received {"connection_id":206282,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0bc3a0012d7efd4005de2ac00002015629..."} 
[2026-10-05 18:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0bc3a0012d7efd4005de2ac00002015629..."} 
[2026-10-05 18:01:41] local.INFO: Processing buffer {"connection_id":206282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0bc3a0012d7efd4005de2ac00002015629..."} 
[2026-10-05 18:01:41] local.INFO: Packet analysis {"connection_id":206282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:01:41] local.INFO: Extracted packet for processing {"connection_id":206282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:01:41] local.INFO: GPS Element Parsed {"raw_longitude":763297088,"raw_latitude":98446016,"longitude_deg":76.3297088,"latitude_deg":9.8446016,"altitude":2,"angle":342,"satellites":41,"speed":36,"hex_longitude":"2d7efd40","hex_latitude":"05de2ac0","is_valid_coordinates":true} 
[2026-10-05 18:01: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-10-05 18:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548083200001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139811209938468864,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9154621798993063936,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:41] 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-10-05 18:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791203460000,"timestamp_ms":1791203460000,"timestamp_seconds":1791203460,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0bc3a0"} 
[2026-10-05 18:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-05 18:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:01: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-10-05 18:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":206282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":206282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":206282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548083200001,"66":13798,"113":206,"85":15104,"24":36,"16":139811209938468864,"45":9154621798993063936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,85,24,16,45]} 
[2026-10-05 18:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548083200001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:01:41] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-10-05 18:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139811209938468864,"km_value":139811209938468.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9154621798993063936,"description":"Unknown IO ID 45"} 
[2026-10-05 18:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548083200001,"power":13798,"unknown_113":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9154621798993063936}} 
[2026-10-05 18:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":206282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969041,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:01:41] local.INFO: GPS data processed {"connection_id":206282,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:01:41] local.INFO: Acknowledgment sent {"connection_id":206282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:01:42] local.INFO: TCP Data received {"connection_id":206281,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0af0b0012d18d04007212a58003e01542a..."} 
[2026-10-05 18:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0af0b0012d18d04007212a58003e01542a..."} 
[2026-10-05 18:01:42] local.INFO: Processing buffer {"connection_id":206281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0af0b0012d18d04007212a58003e01542a..."} 
[2026-10-05 18:01:42] local.INFO: Packet analysis {"connection_id":206281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0a"} 
[2026-10-05 18:01:42] local.INFO: Extracted packet for processing {"connection_id":206281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0a"} 
[2026-10-05 18:01:42] local.INFO: GPS Element Parsed {"raw_longitude":756600896,"raw_latitude":119614040,"longitude_deg":75.6600896,"latitude_deg":11.961404,"altitude":62,"angle":340,"satellites":42,"speed":30,"hex_longitude":"2d18d040","hex_latitude":"07212a58","is_valid_coordinates":true} 
[2026-10-05 18:01: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-10-05 18:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548070144001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25232357338382336,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788210557662631936,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791203406000,"timestamp_ms":1791203406000,"timestamp_seconds":1791203406,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0af0b0"} 
[2026-10-05 18:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:01: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-10-05 18:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:42] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503984620568576,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3110861614404861962,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:42] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:42] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3782737977,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:42] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637310514816889,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:42] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6485447350503670016,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-10-05 18:01:42] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:42] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3389050343,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:42] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:42] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2745827328,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:42] local.WARNING: Large IO value detected {"io_id":232,"raw_value":84751583556346048,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:42] local.WARNING: Large IO value detected {"io_id":136,"raw_value":13512045160834816,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:42] local.WARNING: Large IO value detected {"io_id":25,"raw_value":4521621862869893167,"note":"Value kept but may cause issues"} 
[2026-10-05 18:01:42] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,121,28,24,241,158,16,164,161,201,45,64,12,61,41,10,66,186,192,1,42,162,128,240,180,32,4,113,205,33,123,243,120,43,239,54,2,89,7,52,31,206,232,136,25],"length":628,"final_offset":758,"validated_count":45,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-10-05 18:01:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323850547340705792,"timestamp_seconds":4323850547340706.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548070144001,"66":14070,"121":206,"28":31744,"24":30,"16":25232357338382336,"45":1788210557662631936},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548070144001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:01:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:01:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25232357338382336,"km_value":25232357338382.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788210557662631936,"description":"Unknown IO ID 45"} 
[2026-10-05 18:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548070144001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1788210557662631936}} 
[2026-10-05 18:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":206281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:01:42] local.INFO: GPS data processed {"connection_id":206281,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:01:42] local.INFO: Acknowledgment sent {"connection_id":206281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:01:54] local.INFO: TCP Data received {"connection_id":204884,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204884,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:01:54] local.INFO: Processing buffer {"connection_id":204884,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:01:54] local.INFO: IMEI packet received {"connection_id":204884,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 18:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":204884,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:01:54] local.INFO: TCP Data received {"connection_id":204885,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:01:54] local.INFO: Processing buffer {"connection_id":204885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:01:54] local.INFO: IMEI packet received {"connection_id":204885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":204885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:01:59] local.INFO: TCP Data received {"connection_id":204885,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:01:59] local.INFO: Processing buffer {"connection_id":204885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:01:59] local.INFO: IMEI packet received {"connection_id":204885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":204885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:02:00] local.INFO: TCP Data received {"connection_id":204885,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:02:00] local.INFO: Processing buffer {"connection_id":204885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:02:00] local.INFO: Packet analysis {"connection_id":204885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:02:00] local.INFO: Extracted packet for processing {"connection_id":204885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:02:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547998720001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791203421000,"timestamp_ms":1791203421000,"timestamp_seconds":1791203421,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0b2b48"} 
[2026-10-05 18:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:02: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-10-05 18: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-10-05 18:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547998720001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547998720001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:02:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:02:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547998720001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":204885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:02:00] local.INFO: GPS data processed {"connection_id":204885,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:02:00] local.INFO: Acknowledgment sent {"connection_id":204885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:02:04] local.INFO: TCP Data received {"connection_id":204886,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:02:04] local.INFO: Processing buffer {"connection_id":204886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:02:04] local.INFO: IMEI packet received {"connection_id":204886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":204886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:02:10] local.INFO: TCP Data received {"connection_id":204886,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:02:10] local.INFO: Processing buffer {"connection_id":204886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:02:10] local.INFO: IMEI packet received {"connection_id":204886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":204886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:02:11] local.INFO: TCP Data received {"connection_id":204886,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0af880012d18cd4007212fa8003f01452a..."} 
[2026-10-05 18:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0af880012d18cd4007212fa8003f01452a..."} 
[2026-10-05 18:02:11] local.INFO: Processing buffer {"connection_id":204886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0af880012d18cd4007212fa8003f01452a..."} 
[2026-10-05 18:02:11] local.INFO: Packet analysis {"connection_id":204886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0a"} 
[2026-10-05 18:02:11] local.INFO: Extracted packet for processing {"connection_id":204886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0a"} 
[2026-10-05 18:02:11] local.INFO: GPS Element Parsed {"raw_longitude":756600128,"raw_latitude":119615400,"longitude_deg":75.6600128,"latitude_deg":11.96154,"altitude":63,"angle":325,"satellites":42,"speed":31,"hex_longitude":"2d18cd40","hex_latitude":"07212fa8","is_valid_coordinates":true} 
[2026-10-05 18:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548071936001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25232430352826368,"note":"Value kept but may cause issues"} 
[2026-10-05 18:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787999451431458816,"note":"Value kept but may cause issues"} 
[2026-10-05 18:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791203408000,"timestamp_ms":1791203408000,"timestamp_seconds":1791203408,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0af880"} 
[2026-10-05 18:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:02: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-10-05 18:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-05 18:02:11] 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-10-05 18:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548071936001,"66":14341,"121":206,"28":31744,"24":31,"16":25232430352826368,"45":1787999451431458816},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548071936001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:02:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:02:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25232430352826368,"km_value":25232430352826.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787999451431458816,"description":"Unknown IO ID 45"} 
[2026-10-05 18:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548071936001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1787999451431458816}} 
[2026-10-05 18:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":204886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:02:11] local.INFO: GPS data processed {"connection_id":204886,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:02:11] local.INFO: Acknowledgment sent {"connection_id":204886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:02:12] local.INFO: TCP Data received {"connection_id":206282,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0beab0012d7ef2c005de4ea8000401582c..."} 
[2026-10-05 18:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0beab0012d7ef2c005de4ea8000401582c..."} 
[2026-10-05 18:02:12] local.INFO: Processing buffer {"connection_id":206282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0beab0012d7ef2c005de4ea8000401582c..."} 
[2026-10-05 18:02:12] local.INFO: Packet analysis {"connection_id":206282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:02:12] local.INFO: Extracted packet for processing {"connection_id":206282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:02:12] local.INFO: GPS Element Parsed {"raw_longitude":763294400,"raw_latitude":98455208,"longitude_deg":76.32944,"latitude_deg":9.8455208,"altitude":4,"angle":344,"satellites":44,"speed":41,"hex_longitude":"2d7ef2c0","hex_latitude":"05de4ea8","is_valid_coordinates":true} 
[2026-10-05 18:02: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-10-05 18:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548085760001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139811678089904128,"note":"Value kept but may cause issues"} 
[2026-10-05 18:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150540411833073664,"note":"Value kept but may cause issues"} 
[2026-10-05 18:02:12] 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-10-05 18:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791203470000,"timestamp_ms":1791203470000,"timestamp_seconds":1791203470,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0beab0"} 
[2026-10-05 18:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 18:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:02: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-10-05 18:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":206282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":206282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":206282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548085760001,"66":13798,"113":206,"85":15104,"24":41,"16":139811678089904128,"45":9150540411833073664},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,85,24,16,45]} 
[2026-10-05 18:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548085760001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:02:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-10-05 18:02:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139811678089904128,"km_value":139811678089904.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150540411833073664,"description":"Unknown IO ID 45"} 
[2026-10-05 18:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548085760001,"power":13798,"unknown_113":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9150540411833073664}} 
[2026-10-05 18:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":206282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969045,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:02:12] local.INFO: GPS data processed {"connection_id":206282,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:02:12] local.INFO: Acknowledgment sent {"connection_id":206282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:02:30] local.INFO: TCP Data received {"connection_id":204753,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204753,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:02:30] local.INFO: Processing buffer {"connection_id":204753,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:02:30] local.INFO: IMEI packet received {"connection_id":204753,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":204753,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:02:31] local.INFO: TCP Data received {"connection_id":204885,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:02:31] local.INFO: Processing buffer {"connection_id":204885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:02:31] local.INFO: Packet analysis {"connection_id":204885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:02:31] local.INFO: Extracted packet for processing {"connection_id":204885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:02:31] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547998720001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791203421000,"timestamp_ms":1791203421000,"timestamp_seconds":1791203421,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0b2b48"} 
[2026-10-05 18:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547998720001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547998720001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:02:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:02:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547998720001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":204885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:02:31] local.INFO: GPS data processed {"connection_id":204885,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:02:31] local.INFO: Acknowledgment sent {"connection_id":204885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:02:34] local.INFO: TCP Data received {"connection_id":204887,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:02:34] local.INFO: Processing buffer {"connection_id":204887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:02:34] local.INFO: IMEI packet received {"connection_id":204887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 18:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":204887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:02:35] local.INFO: TCP Data received {"connection_id":204753,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204753,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:02:35] local.INFO: Processing buffer {"connection_id":204753,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:02:35] local.INFO: IMEI packet received {"connection_id":204753,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":204753,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:02:36] local.INFO: TCP Data received {"connection_id":204753,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0c15a8012d7ee6c005de71c0000501502c..."} 
[2026-10-05 18:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0c15a8012d7ee6c005de71c0000501502c..."} 
[2026-10-05 18:02:36] local.INFO: Processing buffer {"connection_id":204753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0c15a8012d7ee6c005de71c0000501502c..."} 
[2026-10-05 18:02:36] local.INFO: Packet analysis {"connection_id":204753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0c"} 
[2026-10-05 18:02:36] local.INFO: Extracted packet for processing {"connection_id":204753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0c"} 
[2026-10-05 18:02:36] local.INFO: GPS Element Parsed {"raw_longitude":763291328,"raw_latitude":98464192,"longitude_deg":76.3291328,"latitude_deg":9.8464192,"altitude":5,"angle":336,"satellites":44,"speed":31,"hex_longitude":"2d7ee6c0","hex_latitude":"05de71c0","is_valid_coordinates":true} 
[2026-10-05 18:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548088320001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139812137651404800,"note":"Value kept but may cause issues"} 
[2026-10-05 18:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9147584924579964928,"note":"Value kept but may cause issues"} 
[2026-10-05 18:02:36] 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-10-05 18:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791203481000,"timestamp_ms":1791203481000,"timestamp_seconds":1791203481,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0c15a8"} 
[2026-10-05 18:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 18:02:36] 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-10-05 18:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548088320001,"66":13602,"113":206,"85":15104,"24":31,"16":139812137651404800,"45":9147584924579964928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,85,24,16,45]} 
[2026-10-05 18:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548088320001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:02:36] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-10-05 18:02:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139812137651404800,"km_value":139812137651404.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9147584924579964928,"description":"Unknown IO ID 45"} 
[2026-10-05 18:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548088320001,"power":13602,"unknown_113":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9147584924579964928}} 
[2026-10-05 18:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":204753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:02:36] local.INFO: GPS data processed {"connection_id":204753,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:02:36] local.INFO: Acknowledgment sent {"connection_id":204753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:02:43] local.INFO: TCP Data received {"connection_id":204886,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0b0c08012d18c58007213cd00040015229..."} 
[2026-10-05 18:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0b0c08012d18c58007213cd00040015229..."} 
[2026-10-05 18:02:43] local.INFO: Processing buffer {"connection_id":204886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0b0c08012d18c58007213cd00040015229..."} 
[2026-10-05 18:02:43] local.INFO: Packet analysis {"connection_id":204886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:02:43] local.INFO: Extracted packet for processing {"connection_id":204886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:02:43] local.INFO: GPS Element Parsed {"raw_longitude":756598144,"raw_latitude":119618768,"longitude_deg":75.6598144,"latitude_deg":11.9618768,"altitude":64,"angle":338,"satellites":41,"speed":30,"hex_longitude":"2d18c580","hex_latitude":"07213cd0","is_valid_coordinates":true} 
[2026-10-05 18:02: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-10-05 18:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548072448001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25232619331387392,"note":"Value kept but may cause issues"} 
[2026-10-05 18:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787155026501675008,"note":"Value kept but may cause issues"} 
[2026-10-05 18:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791203413000,"timestamp_ms":1791203413000,"timestamp_seconds":1791203413,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0b0c08"} 
[2026-10-05 18:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:02: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-10-05 18:02: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":5,"data_length":795,"current_offset":136} 
[2026-10-05 18:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6996888187,"note":"Value kept but may cause issues"} 
[2026-10-05 18:02:43] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503984627187712,"note":"Value kept but may cause issues"} 
[2026-10-05 18:02:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-10-05 18:02:43] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-10-05 18:02:43] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2147950836,"note":"Value kept but may cause issues"} 
[2026-10-05 18:02:43] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951591,"note":"Value kept but may cause issues"} 
[2026-10-05 18:02:43] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2751856640,"note":"Value kept but may cause issues"} 
[2026-10-05 18:02:43] local.WARNING: Large IO value detected {"io_id":128,"raw_value":84751399946494169,"note":"Value kept but may cause issues"} 
[2026-10-05 18:02:43] local.WARNING: Large IO value detected {"io_id":120,"raw_value":15763952331923712,"note":"Value kept but may cause issues"} 
[2026-10-05 18:02:43] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,164,161,240,45,64,42,62,10,66,213,21,60,201,1,92,12,33,4,113,205,29,162,225,56,239,54,2,89,7,57,206,128,120],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-10-05 18:02:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539985946059145216,"timestamp_seconds":4539985946059145.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548072448001,"66":14189,"121":206,"28":31744,"24":30,"16":25232619331387392,"45":1787155026501675008},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548072448001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:02:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:02:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25232619331387392,"km_value":25232619331387.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787155026501675008,"description":"Unknown IO ID 45"} 
[2026-10-05 18:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548072448001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1787155026501675008}} 
[2026-10-05 18:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":204886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:02:43] local.INFO: GPS data processed {"connection_id":204886,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:02:43] local.INFO: Acknowledgment sent {"connection_id":204886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:02:54] local.INFO: TCP Data received {"connection_id":204888,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:02:54] local.INFO: Processing buffer {"connection_id":204888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:02:54] local.INFO: IMEI packet received {"connection_id":204888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":204888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:02:59] local.INFO: TCP Data received {"connection_id":204888,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:02:59] local.INFO: Processing buffer {"connection_id":204888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:02:59] local.INFO: IMEI packet received {"connection_id":204888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":204888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:03:00] local.INFO: TCP Data received {"connection_id":204888,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:03:00] local.INFO: Processing buffer {"connection_id":204888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:03:00] local.INFO: Packet analysis {"connection_id":204888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:03:00] local.INFO: Extracted packet for processing {"connection_id":204888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:03:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547998720001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791203421000,"timestamp_ms":1791203421000,"timestamp_seconds":1791203421,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0b2b48"} 
[2026-10-05 18:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:03: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-10-05 18: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-10-05 18:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547998720001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547998720001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:03:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:03:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547998720001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":204888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:03:00] local.INFO: GPS data processed {"connection_id":204888,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:03:00] local.INFO: Acknowledgment sent {"connection_id":204888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:03:05] local.INFO: TCP Data received {"connection_id":206283,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:03:05] local.INFO: Processing buffer {"connection_id":206283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:03:05] local.INFO: IMEI packet received {"connection_id":206283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":206283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:03:08] local.INFO: TCP Data received {"connection_id":204753,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0c67b0012d7edb0005de8bb8000501542b..."} 
[2026-10-05 18:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0c67b0012d7edb0005de8bb8000501542b..."} 
[2026-10-05 18:03:08] local.INFO: Processing buffer {"connection_id":204753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0c67b0012d7edb0005de8bb8000501542b..."} 
[2026-10-05 18:03:08] local.INFO: Packet analysis {"connection_id":204753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0c"} 
[2026-10-05 18:03:08] local.INFO: Extracted packet for processing {"connection_id":204753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0c"} 
[2026-10-05 18:03:08] local.INFO: GPS Element Parsed {"raw_longitude":763288320,"raw_latitude":98470840,"longitude_deg":76.328832,"latitude_deg":9.847084,"altitude":5,"angle":340,"satellites":43,"speed":17,"hex_longitude":"2d7edb00","hex_latitude":"05de8bb8","is_valid_coordinates":true} 
[2026-10-05 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-10-05 18:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548091136001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139812489838723072,"note":"Value kept but may cause issues"} 
[2026-10-05 18:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9144207224861736960,"note":"Value kept but may cause issues"} 
[2026-10-05 18:03:08] 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-10-05 18:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791203502000,"timestamp_ms":1791203502000,"timestamp_seconds":1791203502,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0c67b0"} 
[2026-10-05 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-10-05 18:03: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-10-05 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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-10-05 18:03:08] 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-10-05 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-10-05 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-10-05 18:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548091136001,"66":13765,"205":206,"85":15104,"24":17,"16":139812489838723072,"45":9144207224861736960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-10-05 18:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548091136001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:03:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139812489838723072,"km_value":139812489838723.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9144207224861736960,"description":"Unknown IO ID 45"} 
[2026-10-05 18:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548091136001,"power":13765,"cell_id":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9144207224861736960}} 
[2026-10-05 18:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":204753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969050,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:03:08] local.INFO: GPS data processed {"connection_id":204753,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:03:08] local.INFO: Acknowledgment sent {"connection_id":204753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:03:10] local.INFO: TCP Data received {"connection_id":206283,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:03:10] local.INFO: Processing buffer {"connection_id":206283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:03:10] local.INFO: IMEI packet received {"connection_id":206283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":206283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:03:11] local.INFO: TCP Data received {"connection_id":206283,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0ca248012d1875c007218130004900f82b..."} 
[2026-10-05 18:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0ca248012d1875c007218130004900f82b..."} 
[2026-10-05 18:03:11] local.INFO: Processing buffer {"connection_id":206283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0ca248012d1875c007218130004900f82b..."} 
[2026-10-05 18:03:11] local.INFO: Packet analysis {"connection_id":206283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0c"} 
[2026-10-05 18:03:11] local.INFO: Extracted packet for processing {"connection_id":206283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0c"} 
[2026-10-05 18:03:11] local.INFO: GPS Element Parsed {"raw_longitude":756577728,"raw_latitude":119636272,"longitude_deg":75.6577728,"latitude_deg":11.9636272,"altitude":73,"angle":248,"satellites":43,"speed":0,"hex_longitude":"2d1875c0","hex_latitude":"07218130","is_valid_coordinates":true} 
[2026-10-05 18:03: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-10-05 18:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548094976001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25234066735366144,"note":"Value kept but may cause issues"} 
[2026-10-05 18:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762525966044835840,"note":"Value kept but may cause issues"} 
[2026-10-05 18:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791203517000,"timestamp_ms":1791203517000,"timestamp_seconds":1791203517,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0ca248"} 
[2026-10-05 18:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:03: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-10-05 18:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-05 18:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:03: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-10-05 18:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548094976001,"66":14374,"121":206,"28":31744,"24":0,"16":25234066735366144,"45":1762525966044835840},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548094976001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:03:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:03:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25234066735366144,"km_value":25234066735366.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762525966044835840,"description":"Unknown IO ID 45"} 
[2026-10-05 18:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548094976001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1762525966044835840}} 
[2026-10-05 18:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":206283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:03:11] local.INFO: GPS data processed {"connection_id":206283,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:03:11] local.INFO: Acknowledgment sent {"connection_id":206283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:03:31] local.INFO: TCP Data received {"connection_id":204888,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:03:31] local.INFO: Processing buffer {"connection_id":204888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:03:31] local.INFO: Packet analysis {"connection_id":204888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:03:31] local.INFO: Extracted packet for processing {"connection_id":204888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:03:31] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547998720001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791203421000,"timestamp_ms":1791203421000,"timestamp_seconds":1791203421,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0b2b48"} 
[2026-10-05 18:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547998720001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547998720001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:03:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:03:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547998720001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":204888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:03:31] local.INFO: GPS data processed {"connection_id":204888,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:03:31] local.INFO: Acknowledgment sent {"connection_id":204888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:03:35] local.INFO: TCP Data received {"connection_id":204889,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:03:35] local.INFO: Processing buffer {"connection_id":204889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:03:35] local.INFO: IMEI packet received {"connection_id":204889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":204889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:03:41] local.INFO: TCP Data received {"connection_id":204889,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:03:41] local.INFO: Processing buffer {"connection_id":204889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:03:41] local.INFO: IMEI packet received {"connection_id":204889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":204889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:03:41] local.INFO: TCP Data received {"connection_id":204889,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0c9e60012d7ed18005deaf500008015c2d..."} 
[2026-10-05 18:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0c9e60012d7ed18005deaf500008015c2d..."} 
[2026-10-05 18:03:41] local.INFO: Processing buffer {"connection_id":204889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0c9e60012d7ed18005deaf500008015c2d..."} 
[2026-10-05 18:03:41] local.INFO: Packet analysis {"connection_id":204889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0c"} 
[2026-10-05 18:03:41] local.INFO: Extracted packet for processing {"connection_id":204889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0c"} 
[2026-10-05 18:03:41] local.INFO: GPS Element Parsed {"raw_longitude":763285888,"raw_latitude":98479952,"longitude_deg":76.3285888,"latitude_deg":9.8479952,"altitude":8,"angle":348,"satellites":45,"speed":34,"hex_longitude":"2d7ed180","hex_latitude":"05deaf50","is_valid_coordinates":true} 
[2026-10-05 18:03: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-10-05 18:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548096512001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139812945105256448,"note":"Value kept but may cause issues"} 
[2026-10-05 18:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9140899893887088640,"note":"Value kept but may cause issues"} 
[2026-10-05 18:03:41] 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-10-05 18:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791203516000,"timestamp_ms":1791203516000,"timestamp_seconds":1791203516,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0c9e60"} 
[2026-10-05 18:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:03: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":197,"data_length":795,"current_offset":136} 
[2026-10-05 18:03:41] 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-10-05 18:03: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-10-05 18:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548096512001,"66":13646,"205":206,"85":15104,"24":34,"16":139812945105256448,"45":9140899893887088640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-10-05 18:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548096512001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139812945105256448,"km_value":139812945105256.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9140899893887088640,"description":"Unknown IO ID 45"} 
[2026-10-05 18:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548096512001,"power":13646,"cell_id":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9140899893887088640}} 
[2026-10-05 18:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":204889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:03:41] local.INFO: GPS data processed {"connection_id":204889,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:03:41] local.INFO: Acknowledgment sent {"connection_id":204889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:03:42] local.INFO: TCP Data received {"connection_id":206283,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0cd8f8012d1874c007218198004901102b..."} 
[2026-10-05 18:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0cd8f8012d1874c007218198004901102b..."} 
[2026-10-05 18:03:42] local.INFO: Processing buffer {"connection_id":206283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0cd8f8012d1874c007218198004901102b..."} 
[2026-10-05 18:03:42] local.INFO: Packet analysis {"connection_id":206283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0c"} 
[2026-10-05 18:03:42] local.INFO: Extracted packet for processing {"connection_id":206283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0c"} 
[2026-10-05 18:03:42] local.INFO: GPS Element Parsed {"raw_longitude":756577472,"raw_latitude":119636376,"longitude_deg":75.6577472,"latitude_deg":11.9636376,"altitude":73,"angle":272,"satellites":43,"speed":8,"hex_longitude":"2d1874c0","hex_latitude":"07218198","is_valid_coordinates":true} 
[2026-10-05 18:03: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-10-05 18:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548100352001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25234083915235328,"note":"Value kept but may cause issues"} 
[2026-10-05 18:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762525966044835840,"note":"Value kept but may cause issues"} 
[2026-10-05 18:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791203531000,"timestamp_ms":1791203531000,"timestamp_seconds":1791203531,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0cd8f8"} 
[2026-10-05 18:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-05 18:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:03: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-10-05 18:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548100352001,"66":14080,"121":206,"28":31744,"24":8,"16":25234083915235328,"45":1762525966044835840},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548100352001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:03:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:03:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25234083915235328,"km_value":25234083915235.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762525966044835840,"description":"Unknown IO ID 45"} 
[2026-10-05 18:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548100352001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1762525966044835840}} 
[2026-10-05 18:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":206283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:03:42] local.INFO: GPS data processed {"connection_id":206283,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:03:42] local.INFO: Acknowledgment sent {"connection_id":206283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:03:54] local.INFO: TCP Data received {"connection_id":206284,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:03:54] local.INFO: Processing buffer {"connection_id":206284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:03:54] local.INFO: IMEI packet received {"connection_id":206284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":206284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:03:59] local.INFO: TCP Data received {"connection_id":206284,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:03:59] local.INFO: Processing buffer {"connection_id":206284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:03:59] local.INFO: IMEI packet received {"connection_id":206284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":206284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:04:00] local.INFO: TCP Data received {"connection_id":206284,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:04:00] local.INFO: Processing buffer {"connection_id":206284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:04:00] local.INFO: Packet analysis {"connection_id":206284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:04:00] local.INFO: Extracted packet for processing {"connection_id":206284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:04:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547998720001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791203421000,"timestamp_ms":1791203421000,"timestamp_seconds":1791203421,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0b2b48"} 
[2026-10-05 18:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:04: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-10-05 18:04:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547998720001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547998720001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:04:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:04:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547998720001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":206284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:04:00] local.INFO: GPS data processed {"connection_id":206284,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:04:00] local.INFO: Acknowledgment sent {"connection_id":206284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:04:04] local.INFO: TCP Data received {"connection_id":204755,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:04:04] local.INFO: Processing buffer {"connection_id":204755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:04:04] local.INFO: IMEI packet received {"connection_id":204755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":204755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:04:06] local.INFO: TCP Data received {"connection_id":204755,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:04:06] local.INFO: Processing buffer {"connection_id":204755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:04:06] local.INFO: IMEI packet received {"connection_id":204755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":204755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:04:07] local.INFO: TCP Data received {"connection_id":204755,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:04:07] local.INFO: Processing buffer {"connection_id":204755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:04:07] local.INFO: IMEI packet received {"connection_id":204755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":204755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:04:07] local.INFO: TCP Data received {"connection_id":204755,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:04:07] local.INFO: Processing buffer {"connection_id":204755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:04:07] local.INFO: IMEI packet received {"connection_id":204755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":204755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:04:13] local.INFO: TCP Data received {"connection_id":204889,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0cb9b8012d7ecfc005dec290000901672c..."} 
[2026-10-05 18:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0cb9b8012d7ecfc005dec290000901672c..."} 
[2026-10-05 18:04:13] local.INFO: Processing buffer {"connection_id":204889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0cb9b8012d7ecfc005dec290000901672c..."} 
[2026-10-05 18:04:13] local.INFO: Packet analysis {"connection_id":204889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0c"} 
[2026-10-05 18:04:13] local.INFO: Extracted packet for processing {"connection_id":204889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0c"} 
[2026-10-05 18:04:13] local.INFO: GPS Element Parsed {"raw_longitude":763285440,"raw_latitude":98484880,"longitude_deg":76.328544,"latitude_deg":9.848488,"altitude":9,"angle":359,"satellites":44,"speed":20,"hex_longitude":"2d7ecfc0","hex_latitude":"05dec290","is_valid_coordinates":true} 
[2026-10-05 18:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548100096001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139813185623425024,"note":"Value kept but may cause issues"} 
[2026-10-05 18:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138225881610670080,"note":"Value kept but may cause issues"} 
[2026-10-05 18:04:13] 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-10-05 18:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791203523000,"timestamp_ms":1791203523000,"timestamp_seconds":1791203523,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0cb9b8"} 
[2026-10-05 18:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:04:13] 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-10-05 18:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-10-05 18:04:13] 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-10-05 18:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":204889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":204889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":204889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548100096001,"66":13798,"205":206,"85":15104,"24":20,"16":139813185623425024,"45":9138225881610670080},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-10-05 18:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548100096001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:04:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139813185623425024,"km_value":139813185623425.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138225881610670080,"description":"Unknown IO ID 45"} 
[2026-10-05 18:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548100096001,"power":13798,"cell_id":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9138225881610670080}} 
[2026-10-05 18:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":204889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969056,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:04:13] local.INFO: GPS data processed {"connection_id":204889,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:04:13] local.INFO: Acknowledgment sent {"connection_id":204889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:04:31] local.INFO: TCP Data received {"connection_id":204890,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:04:31] local.INFO: Processing buffer {"connection_id":204890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:04:31] local.INFO: IMEI packet received {"connection_id":204890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":204890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:04:32] local.INFO: TCP Data received {"connection_id":206284,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:04:32] local.INFO: Processing buffer {"connection_id":206284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:04:32] local.INFO: Packet analysis {"connection_id":206284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:04:32] local.INFO: Extracted packet for processing {"connection_id":206284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547998720001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791203421000,"timestamp_ms":1791203421000,"timestamp_seconds":1791203421,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0b2b48"} 
[2026-10-05 18:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547998720001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547998720001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:04:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:04:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547998720001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":206284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:04:32] local.INFO: GPS data processed {"connection_id":206284,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:04:32] local.INFO: Acknowledgment sent {"connection_id":206284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:04:35] local.INFO: TCP Data received {"connection_id":204890,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:04:35] local.INFO: Processing buffer {"connection_id":204890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:04:35] local.INFO: IMEI packet received {"connection_id":204890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":204890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:04:36] local.INFO: TCP Data received {"connection_id":204890,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0e8e78012d7e6a4005dfbda80006015a2d..."} 
[2026-10-05 18:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0e8e78012d7e6a4005dfbda80006015a2d..."} 
[2026-10-05 18:04:36] local.INFO: Processing buffer {"connection_id":204890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0e8e78012d7e6a4005dfbda80006015a2d..."} 
[2026-10-05 18:04:36] local.INFO: Packet analysis {"connection_id":204890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0e"} 
[2026-10-05 18:04:36] local.INFO: Extracted packet for processing {"connection_id":204890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0e"} 
[2026-10-05 18:04:36] local.INFO: GPS Element Parsed {"raw_longitude":763259456,"raw_latitude":98549160,"longitude_deg":76.3259456,"latitude_deg":9.854916,"altitude":6,"angle":346,"satellites":45,"speed":0,"hex_longitude":"2d7e6a40","hex_latitude":"05dfbda8","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548127488001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139816604417392640,"note":"Value kept but may cause issues"} 
[2026-10-05 18:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9111345021350606848,"note":"Value kept but may cause issues"} 
[2026-10-05 18: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-10-05 18:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791203643000,"timestamp_ms":1791203643000,"timestamp_seconds":1791203643,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0e8e78"} 
[2026-10-05 18:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 18:04:36] 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-10-05 18: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-10-05 18:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548127488001,"66":13678,"207":206,"85":15104,"24":0,"16":139816604417392640,"45":9111345021350606848},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 18:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548127488001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:04:36] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 18:04:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139816604417392640,"km_value":139816604417392.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9111345021350606848,"description":"Unknown IO ID 45"} 
[2026-10-05 18:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548127488001,"power":13678,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9111345021350606848}} 
[2026-10-05 18:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":204890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:04:36] local.INFO: GPS data processed {"connection_id":204890,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:04:36] local.INFO: Acknowledgment sent {"connection_id":204890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:04:54] local.INFO: TCP Data received {"connection_id":207837,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:04:54] local.INFO: Processing buffer {"connection_id":207837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:04:54] local.INFO: IMEI packet received {"connection_id":207837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":207837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:04:59] local.INFO: TCP Data received {"connection_id":207837,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:04:59] local.INFO: Processing buffer {"connection_id":207837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:04:59] local.INFO: IMEI packet received {"connection_id":207837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":207837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:05:00] local.INFO: TCP Data received {"connection_id":207837,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:05:00] local.INFO: Processing buffer {"connection_id":207837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:05:00] local.INFO: Packet analysis {"connection_id":207837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:05:00] local.INFO: Extracted packet for processing {"connection_id":207837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:05:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547998720001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791203421000,"timestamp_ms":1791203421000,"timestamp_seconds":1791203421,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0b2b48"} 
[2026-10-05 18:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:05: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-10-05 18: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-10-05 18:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:05: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-10-05 18:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547998720001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547998720001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:05:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:05:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547998720001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":207837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:05:00] local.INFO: GPS data processed {"connection_id":207837,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:05:00] local.INFO: Acknowledgment sent {"connection_id":207837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:05:07] local.INFO: TCP Data received {"connection_id":204890,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0ee080012d7e620005dfd938000501562c..."} 
[2026-10-05 18:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0ee080012d7e620005dfd938000501562c..."} 
[2026-10-05 18:05:07] local.INFO: Processing buffer {"connection_id":204890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0ee080012d7e620005dfd938000501562c..."} 
[2026-10-05 18:05:07] local.INFO: Packet analysis {"connection_id":204890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0e"} 
[2026-10-05 18:05:07] local.INFO: Extracted packet for processing {"connection_id":204890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0e"} 
[2026-10-05 18:05:07] local.INFO: GPS Element Parsed {"raw_longitude":763257344,"raw_latitude":98556216,"longitude_deg":76.3257344,"latitude_deg":9.8556216,"altitude":5,"angle":342,"satellites":44,"speed":22,"hex_longitude":"2d7e6200","hex_latitude":"05dfd938","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548132608001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139816960899678208,"note":"Value kept but may cause issues"} 
[2026-10-05 18:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9109163590283012096,"note":"Value kept but may cause issues"} 
[2026-10-05 18:05: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-10-05 18:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791203664000,"timestamp_ms":1791203664000,"timestamp_seconds":1791203664,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0ee080"} 
[2026-10-05 18:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 18:05:07] 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-10-05 18: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-10-05 18:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548132608001,"66":13678,"207":206,"85":15104,"24":22,"16":139816960899678208,"45":9109163590283012096},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 18:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548132608001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:05:07] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 18:05:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139816960899678208,"km_value":139816960899678.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9109163590283012096,"description":"Unknown IO ID 45"} 
[2026-10-05 18:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548132608001,"power":13678,"unknown_207":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9109163590283012096}} 
[2026-10-05 18:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":204890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:05:07] local.INFO: GPS data processed {"connection_id":204890,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:05:07] local.INFO: Acknowledgment sent {"connection_id":204890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:05:28] local.INFO: TCP Data received {"connection_id":204757,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:05:28] local.INFO: Processing buffer {"connection_id":204757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:05:28] local.INFO: IMEI packet received {"connection_id":204757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":204757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:05:30] local.INFO: TCP Data received {"connection_id":204757,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:05:30] local.INFO: Processing buffer {"connection_id":204757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:05:30] local.INFO: IMEI packet received {"connection_id":204757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":204757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:05:31] local.INFO: TCP Data received {"connection_id":207837,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:05:31] local.INFO: Processing buffer {"connection_id":207837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:05:31] local.INFO: Packet analysis {"connection_id":207837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:05:31] local.INFO: Extracted packet for processing {"connection_id":207837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:05:31] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547998720001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791203421000,"timestamp_ms":1791203421000,"timestamp_seconds":1791203421,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0b2b48"} 
[2026-10-05 18:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547998720001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547998720001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:05:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:05:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547998720001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":207837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:05:31] local.INFO: GPS data processed {"connection_id":207837,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:05:31] local.INFO: Acknowledgment sent {"connection_id":207837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:05:36] local.INFO: TCP Data received {"connection_id":204757,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:05:36] local.INFO: Processing buffer {"connection_id":204757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:05:36] local.INFO: IMEI packet received {"connection_id":204757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":204757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:05:36] local.INFO: TCP Data received {"connection_id":204757,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0f03a8012d7e5f0005dfe800000501642d..."} 
[2026-10-05 18:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0f03a8012d7e5f0005dfe800000501642d..."} 
[2026-10-05 18:05:36] local.INFO: Processing buffer {"connection_id":204757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0f03a8012d7e5f0005dfe800000501642d..."} 
[2026-10-05 18:05:36] local.INFO: Packet analysis {"connection_id":204757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0f"} 
[2026-10-05 18:05:36] local.INFO: Extracted packet for processing {"connection_id":204757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0f"} 
[2026-10-05 18:05:36] local.INFO: GPS Element Parsed {"raw_longitude":763256576,"raw_latitude":98560000,"longitude_deg":76.3256576,"latitude_deg":9.856,"altitude":5,"angle":356,"satellites":45,"speed":15,"hex_longitude":"2d7e5f00","hex_latitude":"05dfe800","is_valid_coordinates":true} 
[2026-10-05 18:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548137984001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139817149878239232,"note":"Value kept but may cause issues"} 
[2026-10-05 18:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9106841421726955520,"note":"Value kept but may cause issues"} 
[2026-10-05 18:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791203673000,"timestamp_ms":1791203673000,"timestamp_seconds":1791203673,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0f03a8"} 
[2026-10-05 18:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 18:05: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-10-05 18:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548137984001,"66":13830,"104":206,"85":15104,"24":15,"16":139817149878239232,"45":9106841421726955520},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-10-05 18:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548137984001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:05:36] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-10-05 18:05:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139817149878239232,"km_value":139817149878239.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9106841421726955520,"description":"Unknown IO ID 45"} 
[2026-10-05 18:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548137984001,"power":13830,"unknown_104":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9106841421726955520}} 
[2026-10-05 18:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":204757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:05:36] local.INFO: GPS data processed {"connection_id":204757,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:05:36] local.INFO: Acknowledgment sent {"connection_id":204757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:05:54] local.INFO: TCP Data received {"connection_id":204758,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:05:54] local.INFO: Processing buffer {"connection_id":204758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:05:54] local.INFO: IMEI packet received {"connection_id":204758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":204758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:05:59] local.INFO: TCP Data received {"connection_id":204758,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:05:59] local.INFO: Processing buffer {"connection_id":204758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:05:59] local.INFO: IMEI packet received {"connection_id":204758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":204758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:06:00] local.INFO: TCP Data received {"connection_id":204758,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:06:00] local.INFO: Processing buffer {"connection_id":204758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0b2b48012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:06:00] local.INFO: Packet analysis {"connection_id":204758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:06:00] local.INFO: Extracted packet for processing {"connection_id":204758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0b"} 
[2026-10-05 18:06:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458547998720001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791203421000,"timestamp_ms":1791203421000,"timestamp_seconds":1791203421,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0b2b48"} 
[2026-10-05 18:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:06: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-10-05 18: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-10-05 18:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:06: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-10-05 18:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458547998720001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458547998720001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:06:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:06:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458547998720001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":204758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:06:00] local.INFO: GPS data processed {"connection_id":204758,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:06:00] local.INFO: Acknowledgment sent {"connection_id":204758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:06:07] local.INFO: TCP Data received {"connection_id":204757,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c104fb0012d7e104005e0c5b8000501562d..."} 
[2026-10-05 18:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c104fb0012d7e104005e0c5b8000501562d..."} 
[2026-10-05 18:06:07] local.INFO: Processing buffer {"connection_id":204757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c104fb0012d7e104005e0c5b8000501562d..."} 
[2026-10-05 18:06:07] local.INFO: Packet analysis {"connection_id":204757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c10"} 
[2026-10-05 18:06:07] local.INFO: Extracted packet for processing {"connection_id":204757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c10"} 
[2026-10-05 18:06:07] local.INFO: GPS Element Parsed {"raw_longitude":763236416,"raw_latitude":98616760,"longitude_deg":76.3236416,"latitude_deg":9.861676,"altitude":5,"angle":342,"satellites":45,"speed":18,"hex_longitude":"2d7e1040","hex_latitude":"05e0c5b8","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548161536001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139820177830182912,"note":"Value kept but may cause issues"} 
[2026-10-05 18:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084253054861203456,"note":"Value kept but may cause issues"} 
[2026-10-05 18:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791203758000,"timestamp_ms":1791203758000,"timestamp_seconds":1791203758,"priority":1,"record_length":96,"hex_timestamp":"000001a10c104fb0"} 
[2026-10-05 18:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-10-05 18:06:07] 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-10-05 18: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-10-05 18:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548161536001,"66":13417,"104":206,"85":15104,"24":18,"16":139820177830182912,"45":9084253054861203456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-10-05 18:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548161536001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:06:07] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-10-05 18:06:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139820177830182912,"km_value":139820177830182.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084253054861203456,"description":"Unknown IO ID 45"} 
[2026-10-05 18:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548161536001,"power":13417,"unknown_104":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9084253054861203456}} 
[2026-10-05 18:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":204757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969064,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:06:07] local.INFO: GPS data processed {"connection_id":204757,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:06:07] local.INFO: Acknowledgment sent {"connection_id":204757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:06:31] local.INFO: TCP Data received {"connection_id":204758,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:06:31] local.INFO: Processing buffer {"connection_id":204758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:06:31] local.INFO: Packet analysis {"connection_id":204758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0f"} 
[2026-10-05 18:06:31] local.INFO: Extracted packet for processing {"connection_id":204758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0f"} 
[2026-10-05 18:06:31] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548075776001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791203722000,"timestamp_ms":1791203722000,"timestamp_seconds":1791203722,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0fc310"} 
[2026-10-05 18:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:06: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-10-05 18:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548075776001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548075776001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:06:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:06:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548075776001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":204758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:06:31] local.INFO: GPS data processed {"connection_id":204758,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:06:31] local.INFO: Acknowledgment sent {"connection_id":204758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:06:35] local.INFO: TCP Data received {"connection_id":206285,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:06:35] local.INFO: Processing buffer {"connection_id":206285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:06:35] local.INFO: IMEI packet received {"connection_id":206285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":206285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:06:35] local.INFO: TCP Data received {"connection_id":206285,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:06:35] local.INFO: Processing buffer {"connection_id":206285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:06:35] local.INFO: IMEI packet received {"connection_id":206285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":206285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:06:41] local.INFO: TCP Data received {"connection_id":206285,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:06:41] local.INFO: Processing buffer {"connection_id":206285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:06:41] local.INFO: IMEI packet received {"connection_id":206285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":206285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:06:41] local.INFO: TCP Data received {"connection_id":206285,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c105b68012d7e0f4005e0c998000501642c..."} 
[2026-10-05 18:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c105b68012d7e0f4005e0c998000501642c..."} 
[2026-10-05 18:06:41] local.INFO: Processing buffer {"connection_id":206285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c105b68012d7e0f4005e0c998000501642c..."} 
[2026-10-05 18:06:41] local.INFO: Packet analysis {"connection_id":206285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c10"} 
[2026-10-05 18:06:41] local.INFO: Extracted packet for processing {"connection_id":206285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c10"} 
[2026-10-05 18:06:41] local.INFO: GPS Element Parsed {"raw_longitude":763236160,"raw_latitude":98617752,"longitude_deg":76.323616,"latitude_deg":9.8617752,"altitude":5,"angle":356,"satellites":44,"speed":11,"hex_longitude":"2d7e0f40","hex_latitude":"05e0c998","is_valid_coordinates":true} 
[2026-10-05 18:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548162048001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139820229369790464,"note":"Value kept but may cause issues"} 
[2026-10-05 18:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083830842396358656,"note":"Value kept but may cause issues"} 
[2026-10-05 18:06:41] 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-10-05 18:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791203761000,"timestamp_ms":1791203761000,"timestamp_seconds":1791203761,"priority":1,"record_length":96,"hex_timestamp":"000001a10c105b68"} 
[2026-10-05 18:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-10-05 18:06:41] 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-10-05 18:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":206285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":206285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":206285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548162048001,"66":13896,"105":206,"85":15104,"24":11,"16":139820229369790464,"45":9083830842396358656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-10-05 18:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548162048001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:06:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 18:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139820229369790464,"km_value":139820229369790.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083830842396358656,"description":"Unknown IO ID 45"} 
[2026-10-05 18:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548162048001,"power":13896,"unknown_105":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9083830842396358656}} 
[2026-10-05 18:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":206285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:06:42] local.INFO: GPS data processed {"connection_id":206285,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:06:42] local.INFO: Acknowledgment sent {"connection_id":206285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:06:54] local.INFO: TCP Data received {"connection_id":204759,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:06:54] local.INFO: Processing buffer {"connection_id":204759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:06:54] local.INFO: IMEI packet received {"connection_id":204759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":204759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:06:59] local.INFO: TCP Data received {"connection_id":204759,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:06:59] local.INFO: Processing buffer {"connection_id":204759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:06:59] local.INFO: IMEI packet received {"connection_id":204759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":204759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:07:00] local.INFO: TCP Data received {"connection_id":204759,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:07:00] local.INFO: Processing buffer {"connection_id":204759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:07:00] local.INFO: Packet analysis {"connection_id":204759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0f"} 
[2026-10-05 18:07:00] local.INFO: Extracted packet for processing {"connection_id":204759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0f"} 
[2026-10-05 18:07:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548075776001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791203722000,"timestamp_ms":1791203722000,"timestamp_seconds":1791203722,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0fc310"} 
[2026-10-05 18:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:07: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-10-05 18: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-10-05 18:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548075776001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548075776001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:07:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:07:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548075776001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":204759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:07:00] local.INFO: GPS data processed {"connection_id":204759,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:07:00] local.INFO: Acknowledgment sent {"connection_id":204759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:07:12] local.INFO: TCP Data received {"connection_id":206285,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c106720012d7e0f4005e0cca00005000a2c..."} 
[2026-10-05 18:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c106720012d7e0f4005e0cca00005000a2c..."} 
[2026-10-05 18:07:12] local.INFO: Processing buffer {"connection_id":206285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c106720012d7e0f4005e0cca00005000a2c..."} 
[2026-10-05 18:07:12] local.INFO: Packet analysis {"connection_id":206285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c10"} 
[2026-10-05 18:07:12] local.INFO: Extracted packet for processing {"connection_id":206285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c10"} 
[2026-10-05 18:07:12] local.INFO: GPS Element Parsed {"raw_longitude":763236160,"raw_latitude":98618528,"longitude_deg":76.323616,"latitude_deg":9.8618528,"altitude":5,"angle":10,"satellites":44,"speed":11,"hex_longitude":"2d7e0f40","hex_latitude":"05e0cca0","is_valid_coordinates":true} 
[2026-10-05 18:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548162816001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139820263729528832,"note":"Value kept but may cause issues"} 
[2026-10-05 18:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083549367419901952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:07:12] 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-10-05 18:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791203764000,"timestamp_ms":1791203764000,"timestamp_seconds":1791203764,"priority":1,"record_length":96,"hex_timestamp":"000001a10c106720"} 
[2026-10-05 18:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-10-05 18:07:12] 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-10-05 18:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":206285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":206285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":206285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548162816001,"66":13493,"105":206,"85":15104,"24":11,"16":139820263729528832,"45":9083549367419901952},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-10-05 18:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548162816001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:07:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 18:07:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139820263729528832,"km_value":139820263729528.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083549367419901952,"description":"Unknown IO ID 45"} 
[2026-10-05 18:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548162816001,"power":13493,"unknown_105":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9083549367419901952}} 
[2026-10-05 18:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":206285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:07:12] local.INFO: GPS data processed {"connection_id":206285,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:07:12] local.INFO: Acknowledgment sent {"connection_id":206285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:07:28] local.INFO: TCP Data received {"connection_id":204892,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:07:28] local.INFO: Processing buffer {"connection_id":204892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:07:28] local.INFO: IMEI packet received {"connection_id":204892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":204892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:07:30] local.INFO: TCP Data received {"connection_id":204892,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:07:30] local.INFO: Processing buffer {"connection_id":204892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:07:30] local.INFO: IMEI packet received {"connection_id":204892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":204892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:07:31] local.INFO: TCP Data received {"connection_id":204759,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:07:31] local.INFO: Processing buffer {"connection_id":204759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:07:31] local.INFO: Packet analysis {"connection_id":204759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0f"} 
[2026-10-05 18:07:31] local.INFO: Extracted packet for processing {"connection_id":204759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0f"} 
[2026-10-05 18:07:31] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548075776001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791203722000,"timestamp_ms":1791203722000,"timestamp_seconds":1791203722,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0fc310"} 
[2026-10-05 18:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548075776001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548075776001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:07:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:07:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548075776001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":204759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:07:31] local.INFO: GPS data processed {"connection_id":204759,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:07:31] local.INFO: Acknowledgment sent {"connection_id":204759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:07:35] local.INFO: TCP Data received {"connection_id":204892,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:07:35] local.INFO: Processing buffer {"connection_id":204892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:07:35] local.INFO: IMEI packet received {"connection_id":204892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":204892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:07:36] local.INFO: TCP Data received {"connection_id":204892,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c10b928012d7e110005e0d9000007000a2d..."} 
[2026-10-05 18:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c10b928012d7e110005e0d9000007000a2d..."} 
[2026-10-05 18:07:36] local.INFO: Processing buffer {"connection_id":204892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c10b928012d7e110005e0d9000007000a2d..."} 
[2026-10-05 18:07:36] local.INFO: Packet analysis {"connection_id":204892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c10"} 
[2026-10-05 18:07:36] local.INFO: Extracted packet for processing {"connection_id":204892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c10"} 
[2026-10-05 18:07:36] local.INFO: GPS Element Parsed {"raw_longitude":763236608,"raw_latitude":98621696,"longitude_deg":76.3236608,"latitude_deg":9.8621696,"altitude":7,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7e1100","hex_latitude":"05e0d900","is_valid_coordinates":true} 
[2026-10-05 18:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548163584001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139820422643318784,"note":"Value kept but may cause issues"} 
[2026-10-05 18:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083549367420100608,"note":"Value kept but may cause issues"} 
[2026-10-05 18:07:36] 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-10-05 18:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791203785000,"timestamp_ms":1791203785000,"timestamp_seconds":1791203785,"priority":1,"record_length":96,"hex_timestamp":"000001a10c10b928"} 
[2026-10-05 18:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-10-05 18:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548163584001,"66":13787,"105":206,"85":15104,"24":0,"16":139820422643318784,"45":9083549367420100608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-10-05 18:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548163584001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:07:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 18:07:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139820422643318784,"km_value":139820422643318.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083549367420100608,"description":"Unknown IO ID 45"} 
[2026-10-05 18:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548163584001,"power":13787,"unknown_105":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9083549367420100608}} 
[2026-10-05 18:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":204892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969070,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:07:36] local.INFO: GPS data processed {"connection_id":204892,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:07:36] local.INFO: Acknowledgment sent {"connection_id":204892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:07:50] local.INFO: TCP Data received {"connection_id":207840,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:07:50] local.INFO: Processing buffer {"connection_id":207840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:07:50] local.INFO: IMEI packet received {"connection_id":207840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 18:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":207840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:07:59] local.INFO: TCP Data received {"connection_id":204760,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:07:59] local.INFO: Processing buffer {"connection_id":204760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:07:59] local.INFO: IMEI packet received {"connection_id":204760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":204760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:08:04] local.INFO: TCP Data received {"connection_id":204760,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:08:04] local.INFO: Processing buffer {"connection_id":204760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:08:04] local.INFO: IMEI packet received {"connection_id":204760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":204760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:08:05] local.INFO: TCP Data received {"connection_id":204760,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:08:05] local.INFO: Processing buffer {"connection_id":204760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:08:05] local.INFO: Packet analysis {"connection_id":204760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0f"} 
[2026-10-05 18:08:05] local.INFO: Extracted packet for processing {"connection_id":204760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0f"} 
[2026-10-05 18:08:05] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548075776001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791203722000,"timestamp_ms":1791203722000,"timestamp_seconds":1791203722,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0fc310"} 
[2026-10-05 18:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:08:05] 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-10-05 18: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-10-05 18:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:08: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-10-05 18:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548075776001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548075776001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:08:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:08:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548075776001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":204760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:08:05] local.INFO: GPS data processed {"connection_id":204760,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:08:05] local.INFO: Acknowledgment sent {"connection_id":204760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:08:08] local.INFO: TCP Data received {"connection_id":204892,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c11f590012d7e1d8005e1afc8000800202c..."} 
[2026-10-05 18:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c11f590012d7e1d8005e1afc8000800202c..."} 
[2026-10-05 18:08:08] local.INFO: Processing buffer {"connection_id":204892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c11f590012d7e1d8005e1afc8000800202c..."} 
[2026-10-05 18:08:08] local.INFO: Packet analysis {"connection_id":204892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c11"} 
[2026-10-05 18:08:08] local.INFO: Extracted packet for processing {"connection_id":204892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c11"} 
[2026-10-05 18:08:08] local.INFO: GPS Element Parsed {"raw_longitude":763239808,"raw_latitude":98676680,"longitude_deg":76.3239808,"latitude_deg":9.867668,"altitude":8,"angle":32,"satellites":44,"speed":23,"hex_longitude":"2d7e1d80","hex_latitude":"05e1afc8","is_valid_coordinates":true} 
[2026-10-05 18:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548189184001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139823145652584448,"note":"Value kept but may cause issues"} 
[2026-10-05 18:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086997435899412480,"note":"Value kept but may cause issues"} 
[2026-10-05 18:08:08] 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-10-05 18:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791203866000,"timestamp_ms":1791203866000,"timestamp_seconds":1791203866,"priority":1,"record_length":96,"hex_timestamp":"000001a10c11f590"} 
[2026-10-05 18:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:08: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-10-05 18:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-05 18:08:08] 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-10-05 18:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548189184001,"66":13798,"105":206,"85":15104,"24":23,"16":139823145652584448,"45":9086997435899412480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-10-05 18:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548189184001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:08:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 18:08:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139823145652584448,"km_value":139823145652584.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086997435899412480,"description":"Unknown IO ID 45"} 
[2026-10-05 18:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548189184001,"power":13798,"unknown_105":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9086997435899412480}} 
[2026-10-05 18:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":204892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969072,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:08:08] local.INFO: GPS data processed {"connection_id":204892,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:08:08] local.INFO: Acknowledgment sent {"connection_id":204892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:08:10] local.INFO: TCP Data received {"connection_id":204760,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:08:10] local.INFO: Processing buffer {"connection_id":204760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:08:10] local.INFO: Packet analysis {"connection_id":204760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0f"} 
[2026-10-05 18:08:10] local.INFO: Extracted packet for processing {"connection_id":204760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0f"} 
[2026-10-05 18:08:10] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548075776001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791203722000,"timestamp_ms":1791203722000,"timestamp_seconds":1791203722,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0fc310"} 
[2026-10-05 18:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:08:10] 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-10-05 18:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548075776001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548075776001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:08:10] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:08:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548075776001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":204760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:08:10] local.INFO: GPS data processed {"connection_id":204760,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:08:10] local.INFO: Acknowledgment sent {"connection_id":204760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:08:30] local.INFO: TCP Data received {"connection_id":204893,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:08:30] local.INFO: Processing buffer {"connection_id":204893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:08:30] local.INFO: IMEI packet received {"connection_id":204893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":204893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:08:33] local.INFO: TCP Data received {"connection_id":204894,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:08:33] local.INFO: Processing buffer {"connection_id":204894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:08:33] local.INFO: IMEI packet received {"connection_id":204894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 18:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":204894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:08:35] local.INFO: TCP Data received {"connection_id":204893,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:08:35] local.INFO: Processing buffer {"connection_id":204893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:08:35] local.INFO: IMEI packet received {"connection_id":204893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":204893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:08:36] local.INFO: TCP Data received {"connection_id":204893,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1214d0012d7e280005e1c0a0000800122d..."} 
[2026-10-05 18:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1214d0012d7e280005e1c0a0000800122d..."} 
[2026-10-05 18:08:36] local.INFO: Processing buffer {"connection_id":204893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1214d0012d7e280005e1c0a0000800122d..."} 
[2026-10-05 18:08:36] local.INFO: Packet analysis {"connection_id":204893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c12"} 
[2026-10-05 18:08:36] local.INFO: Extracted packet for processing {"connection_id":204893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c12"} 
[2026-10-05 18:08:36] local.INFO: GPS Element Parsed {"raw_longitude":763242496,"raw_latitude":98680992,"longitude_deg":76.3242496,"latitude_deg":9.8680992,"altitude":8,"angle":18,"satellites":45,"speed":26,"hex_longitude":"2d7e2800","hex_latitude":"05e1c0a0","is_valid_coordinates":true} 
[2026-10-05 18:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548189696001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139823394760687616,"note":"Value kept but may cause issues"} 
[2026-10-05 18:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087560385853114368,"note":"Value kept but may cause issues"} 
[2026-10-05 18:08:36] 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-10-05 18:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791203874000,"timestamp_ms":1791203874000,"timestamp_seconds":1791203874,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1214d0"} 
[2026-10-05 18:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 18:08:36] 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-10-05 18:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548189696001,"66":13624,"105":206,"85":15104,"24":26,"16":139823394760687616,"45":9087560385853114368},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-10-05 18:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548189696001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:08:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 18:08:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139823394760687616,"km_value":139823394760687.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087560385853114368,"description":"Unknown IO ID 45"} 
[2026-10-05 18:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548189696001,"power":13624,"unknown_105":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9087560385853114368}} 
[2026-10-05 18:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":204893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969074,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:08:36] local.INFO: GPS data processed {"connection_id":204893,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:08:36] local.INFO: Acknowledgment sent {"connection_id":204893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:08:54] local.INFO: TCP Data received {"connection_id":207841,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:08:54] local.INFO: Processing buffer {"connection_id":207841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:08:54] local.INFO: IMEI packet received {"connection_id":207841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":207841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:08:59] local.INFO: TCP Data received {"connection_id":207841,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:08:59] local.INFO: Processing buffer {"connection_id":207841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:08:59] local.INFO: IMEI packet received {"connection_id":207841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":207841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:09:00] local.INFO: TCP Data received {"connection_id":207841,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:09:00] local.INFO: Processing buffer {"connection_id":207841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:09:00] local.INFO: Packet analysis {"connection_id":207841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0f"} 
[2026-10-05 18:09:00] local.INFO: Extracted packet for processing {"connection_id":207841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0f"} 
[2026-10-05 18:09:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548075776001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791203722000,"timestamp_ms":1791203722000,"timestamp_seconds":1791203722,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0fc310"} 
[2026-10-05 18:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:09: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-10-05 18:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548075776001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548075776001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:09:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:09:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548075776001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":207841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:09:00] local.INFO: GPS data processed {"connection_id":207841,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:09:00] local.INFO: Acknowledgment sent {"connection_id":207841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:09:05] local.INFO: TCP Data received {"connection_id":207841,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:09:05] local.INFO: Processing buffer {"connection_id":207841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:09:05] local.INFO: Packet analysis {"connection_id":207841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0f"} 
[2026-10-05 18:09:05] local.INFO: Extracted packet for processing {"connection_id":207841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0f"} 
[2026-10-05 18:09:05] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548075776001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791203722000,"timestamp_ms":1791203722000,"timestamp_seconds":1791203722,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0fc310"} 
[2026-10-05 18:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:09:05] 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-10-05 18: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-10-05 18:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:09: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-10-05 18:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548075776001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548075776001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:09:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:09:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548075776001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":207841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:09:05] local.INFO: GPS data processed {"connection_id":207841,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:09:05] local.INFO: Acknowledgment sent {"connection_id":207841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:09:07] local.INFO: TCP Data received {"connection_id":204893,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c121ca0012d7e294005e1c610000800062d..."} 
[2026-10-05 18:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c121ca0012d7e294005e1c610000800062d..."} 
[2026-10-05 18:09:07] local.INFO: Processing buffer {"connection_id":204893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c121ca0012d7e294005e1c610000800062d..."} 
[2026-10-05 18:09:07] local.INFO: Packet analysis {"connection_id":204893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c12"} 
[2026-10-05 18:09:07] local.INFO: Extracted packet for processing {"connection_id":204893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c12"} 
[2026-10-05 18:09:07] local.INFO: GPS Element Parsed {"raw_longitude":763242816,"raw_latitude":98682384,"longitude_deg":76.3242816,"latitude_deg":9.8682384,"altitude":8,"angle":6,"satellites":45,"speed":28,"hex_longitude":"2d7e2940","hex_latitude":"05e1c610","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548191744001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139823463480164352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090515873109680128,"note":"Value kept but may cause issues"} 
[2026-10-05 18:09:07] 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-10-05 18:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791203876000,"timestamp_ms":1791203876000,"timestamp_seconds":1791203876,"priority":1,"record_length":96,"hex_timestamp":"000001a10c121ca0"} 
[2026-10-05 18:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-10-05 18:09:07] 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-10-05 18: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-10-05 18:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548191744001,"66":13722,"105":206,"85":15104,"24":28,"16":139823463480164352,"45":9090515873109680128},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-10-05 18:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548191744001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:09:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-05 18:09:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139823463480164352,"km_value":139823463480164.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090515873109680128,"description":"Unknown IO ID 45"} 
[2026-10-05 18:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548191744001,"power":13722,"unknown_105":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9090515873109680128}} 
[2026-10-05 18:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":204893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969077,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:09:07] local.INFO: GPS data processed {"connection_id":204893,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:09:07] local.INFO: Acknowledgment sent {"connection_id":204893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:09:09] local.INFO: TCP Data received {"connection_id":204895,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:09:09] local.INFO: Processing buffer {"connection_id":204895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:09:09] local.INFO: IMEI packet received {"connection_id":204895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":204895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:09:11] local.INFO: TCP Data received {"connection_id":204895,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0f0b78012d1823000721b690004900b12d..."} 
[2026-10-05 18:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0f0b78012d1823000721b690004900b12d..."} 
[2026-10-05 18:09:11] local.INFO: Processing buffer {"connection_id":204895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0f0b78012d1823000721b690004900b12d..."} 
[2026-10-05 18:09:11] local.INFO: Packet analysis {"connection_id":204895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0f"} 
[2026-10-05 18:09:11] local.INFO: Extracted packet for processing {"connection_id":204895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0f"} 
[2026-10-05 18:09:11] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649936,"longitude_deg":75.6556544,"latitude_deg":11.9649936,"altitude":73,"angle":177,"satellites":45,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b690","is_valid_coordinates":true} 
[2026-10-05 18:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548135424001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25235569973919744,"note":"Value kept but may cause issues"} 
[2026-10-05 18:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725527040,"note":"Value kept but may cause issues"} 
[2026-10-05 18:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791203675000,"timestamp_ms":1791203675000,"timestamp_seconds":1791203675,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0f0b78"} 
[2026-10-05 18:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:09: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-10-05 18:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-10-05 18:09:11] 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-10-05 18:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548135424001,"66":12406,"120":206,"28":31744,"24":0,"16":25235569973919744,"45":1739233911725527040},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 18:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548135424001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:09:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 18:09:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25235569973919744,"km_value":25235569973919.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725527040,"description":"Unknown IO ID 45"} 
[2026-10-05 18:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548135424001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739233911725527040}} 
[2026-10-05 18:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":204895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:09:11] local.INFO: GPS data processed {"connection_id":204895,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:09:11] local.INFO: Acknowledgment sent {"connection_id":204895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:09:30] local.INFO: TCP Data received {"connection_id":204762,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:09:30] local.INFO: Processing buffer {"connection_id":204762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:09:30] local.INFO: IMEI packet received {"connection_id":204762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":204762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:09:36] local.INFO: TCP Data received {"connection_id":204762,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:09:36] local.INFO: Processing buffer {"connection_id":204762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:09:36] local.INFO: IMEI packet received {"connection_id":204762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":204762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:09:36] local.INFO: TCP Data received {"connection_id":207841,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:09:36] local.INFO: Processing buffer {"connection_id":207841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:09:36] local.INFO: Packet analysis {"connection_id":207841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0f"} 
[2026-10-05 18:09:36] local.INFO: Extracted packet for processing {"connection_id":207841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0f"} 
[2026-10-05 18:09:36] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548075776001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791203722000,"timestamp_ms":1791203722000,"timestamp_seconds":1791203722,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0fc310"} 
[2026-10-05 18:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548075776001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548075776001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:09:36] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:09:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548075776001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":207841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:09:36] local.INFO: GPS data processed {"connection_id":207841,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:09:36] local.INFO: Acknowledgment sent {"connection_id":207841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:09:37] local.INFO: TCP Data received {"connection_id":204762,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c135908012d7dc84005e1fc50000700ff2d..."} 
[2026-10-05 18:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c135908012d7dc84005e1fc50000700ff2d..."} 
[2026-10-05 18:09:37] local.INFO: Processing buffer {"connection_id":204762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c135908012d7dc84005e1fc50000700ff2d..."} 
[2026-10-05 18:09:37] local.INFO: Packet analysis {"connection_id":204762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c13"} 
[2026-10-05 18:09:37] local.INFO: Extracted packet for processing {"connection_id":204762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c13"} 
[2026-10-05 18:09:37] local.INFO: GPS Element Parsed {"raw_longitude":763217984,"raw_latitude":98696272,"longitude_deg":76.3217984,"latitude_deg":9.8696272,"altitude":7,"angle":255,"satellites":45,"speed":25,"hex_longitude":"2d7dc840","hex_latitude":"05e1fc50","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548209664001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139825576604073984,"note":"Value kept but may cause issues"} 
[2026-10-05 18:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9071586680930646016,"note":"Value kept but may cause issues"} 
[2026-10-05 18:09:37] 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-10-05 18:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791203957000,"timestamp_ms":1791203957000,"timestamp_seconds":1791203957,"priority":1,"record_length":96,"hex_timestamp":"000001a10c135908"} 
[2026-10-05 18:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:09: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-10-05 18: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 18:09:37] 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-10-05 18:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548209664001,"66":13678,"198":206,"85":15104,"24":25,"16":139825576604073984,"45":9071586680930646016},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-10-05 18:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548209664001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:09:37] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-05 18:09:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139825576604073984,"km_value":139825576604073.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9071586680930646016,"description":"Unknown IO ID 45"} 
[2026-10-05 18:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548209664001,"power":13678,"unknown_198":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9071586680930646016}} 
[2026-10-05 18:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":204762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969080,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:09:37] local.INFO: GPS data processed {"connection_id":204762,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:09:37] local.INFO: Acknowledgment sent {"connection_id":204762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:09:43] local.INFO: TCP Data received {"connection_id":204895,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c12e3d8012d1821400721b3c0004b00b130..."} 
[2026-10-05 18:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c12e3d8012d1821400721b3c0004b00b130..."} 
[2026-10-05 18:09:43] local.INFO: Processing buffer {"connection_id":204895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c12e3d8012d1821400721b3c0004b00b130..."} 
[2026-10-05 18:09:43] local.INFO: Packet analysis {"connection_id":204895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c12"} 
[2026-10-05 18:09:43] local.INFO: Extracted packet for processing {"connection_id":204895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c12"} 
[2026-10-05 18:09:43] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649216,"longitude_deg":75.6556096,"latitude_deg":11.9649216,"altitude":75,"angle":177,"satellites":48,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-10-05 18:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548199936001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25235617218560000,"note":"Value kept but may cause issues"} 
[2026-10-05 18:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516099072,"note":"Value kept but may cause issues"} 
[2026-10-05 18:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791203927000,"timestamp_ms":1791203927000,"timestamp_seconds":1791203927,"priority":1,"record_length":96,"hex_timestamp":"000001a10c12e3d8"} 
[2026-10-05 18:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:09: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-10-05 18:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 18:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548199936001,"66":12819,"120":206,"28":31744,"24":0,"16":25235617218560000,"45":1738741330516099072},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 18:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548199936001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:09:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 18:09:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25235617218560000,"km_value":25235617218560,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516099072,"description":"Unknown IO ID 45"} 
[2026-10-05 18:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548199936001,"power":12819,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516099072}} 
[2026-10-05 18:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":204895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:09:43] local.INFO: GPS data processed {"connection_id":204895,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:09:43] local.INFO: Acknowledgment sent {"connection_id":204895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:09:54] local.INFO: TCP Data received {"connection_id":204897,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:09:54] local.INFO: Processing buffer {"connection_id":204897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:09:54] local.INFO: IMEI packet received {"connection_id":204897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":204897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:09:59] local.INFO: TCP Data received {"connection_id":204897,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:09:59] local.INFO: Processing buffer {"connection_id":204897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:09:59] local.INFO: IMEI packet received {"connection_id":204897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":204897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:10:01] local.INFO: TCP Data received {"connection_id":204897,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:10:01] local.INFO: Processing buffer {"connection_id":204897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:10:01] local.INFO: Packet analysis {"connection_id":204897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0f"} 
[2026-10-05 18:10:01] local.INFO: Extracted packet for processing {"connection_id":204897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0f"} 
[2026-10-05 18:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548075776001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791203722000,"timestamp_ms":1791203722000,"timestamp_seconds":1791203722,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0fc310"} 
[2026-10-05 18:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:10: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-10-05 18:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548075776001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548075776001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:10:01] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:10:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548075776001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":204897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:10:01] local.INFO: GPS data processed {"connection_id":204897,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:10:01] local.INFO: Acknowledgment sent {"connection_id":204897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:10:04] local.INFO: TCP Data received {"connection_id":204763,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:10:04] local.INFO: Processing buffer {"connection_id":204763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:10:04] local.INFO: IMEI packet received {"connection_id":204763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":204763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:10:08] local.INFO: TCP Data received {"connection_id":204762,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1360d8012d7dc34005e1fb880008010b2c..."} 
[2026-10-05 18:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1360d8012d7dc34005e1fb880008010b2c..."} 
[2026-10-05 18:10:08] local.INFO: Processing buffer {"connection_id":204762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1360d8012d7dc34005e1fb880008010b2c..."} 
[2026-10-05 18:10:08] local.INFO: Packet analysis {"connection_id":204762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c13"} 
[2026-10-05 18:10:08] local.INFO: Extracted packet for processing {"connection_id":204762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c13"} 
[2026-10-05 18:10:08] local.INFO: GPS Element Parsed {"raw_longitude":763216704,"raw_latitude":98696072,"longitude_deg":76.3216704,"latitude_deg":9.8696072,"altitude":8,"angle":267,"satellites":44,"speed":25,"hex_longitude":"2d7dc340","hex_latitude":"05e1fb88","is_valid_coordinates":true} 
[2026-10-05 18:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548212992001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139825641028583424,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063564644093546496,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:08] 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-10-05 18:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791203959000,"timestamp_ms":1791203959000,"timestamp_seconds":1791203959,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1360d8"} 
[2026-10-05 18:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:10: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-10-05 18:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 18:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548212992001,"66":13820,"198":206,"85":15104,"24":25,"16":139825641028583424,"45":9063564644093546496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-10-05 18:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548212992001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:10:08] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-05 18:10:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139825641028583424,"km_value":139825641028583.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063564644093546496,"description":"Unknown IO ID 45"} 
[2026-10-05 18:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548212992001,"power":13820,"unknown_198":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9063564644093546496}} 
[2026-10-05 18:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":204762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:10:08] local.INFO: GPS data processed {"connection_id":204762,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:10:08] local.INFO: Acknowledgment sent {"connection_id":204762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:10:10] local.INFO: TCP Data received {"connection_id":204763,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:10:10] local.INFO: Processing buffer {"connection_id":204763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:10:10] local.INFO: IMEI packet received {"connection_id":204763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":204763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:10:11] local.INFO: TCP Data received {"connection_id":204763,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c12ff30012d1821400721b388004f00d230..."} 
[2026-10-05 18:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c12ff30012d1821400721b388004f00d230..."} 
[2026-10-05 18:10:11] local.INFO: Processing buffer {"connection_id":204763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c12ff30012d1821400721b388004f00d230..."} 
[2026-10-05 18:10:11] local.INFO: Packet analysis {"connection_id":204763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c12"} 
[2026-10-05 18:10:11] local.INFO: Extracted packet for processing {"connection_id":204763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c12"} 
[2026-10-05 18:10:11] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649160,"longitude_deg":75.6556096,"latitude_deg":11.964916,"altitude":79,"angle":210,"satellites":48,"speed":2,"hex_longitude":"2d182140","hex_latitude":"0721b388","is_valid_coordinates":true} 
[2026-10-05 18:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548205312001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25235617218560000,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516099072,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791203934000,"timestamp_ms":1791203934000,"timestamp_seconds":1791203934,"priority":1,"record_length":96,"hex_timestamp":"000001a10c12ff30"} 
[2026-10-05 18:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:10: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-10-05 18:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:11] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503984692330496,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:11] local.WARNING: Large IO value detected {"io_id":167,"raw_value":2835349504,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:11] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:11] local.WARNING: Large IO value detected {"io_id":12,"raw_value":1199540802676072768,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:11] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6557504944541597952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767661968501768168,"corrected_to":0} 
[2026-10-05 18:10:11] local.WARNING: Large IO value detected {"io_id":73,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:11] local.WARNING: Large IO value detected {"io_id":192,"raw_value":21111384234262528,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:11] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182229709619456,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:11] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121887258332700,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:11] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2812870656,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:11] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428495731573698860,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:11] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:11] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195047680,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:11] local.WARNING: Large IO value detected {"io_id":152,"raw_value":84750499077104051,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:11] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,167,161,145,45,64,179,75,46,10,66,63,48,237,1,240,41,12,33,4,113,205,73,192,239,50,2,89,7,124,169,69,152],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":-1767661968501768168,"validated":0}]} 
[2026-10-05 18:10:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404514372561141760,"timestamp_seconds":5404514372561142.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548205312001,"66":12798,"120":206,"28":31744,"24":2,"16":25235617218560000,"45":1738741330516099072},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 18:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548205312001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:10:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 18:10:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25235617218560000,"km_value":25235617218560,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516099072,"description":"Unknown IO ID 45"} 
[2026-10-05 18:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548205312001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1738741330516099072}} 
[2026-10-05 18:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":204763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:10:11] local.INFO: GPS data processed {"connection_id":204763,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:10:11] local.INFO: Acknowledgment sent {"connection_id":204763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:10:30] local.INFO: TCP Data received {"connection_id":204764,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:10:30] local.INFO: Processing buffer {"connection_id":204764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:10:30] local.INFO: IMEI packet received {"connection_id":204764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":204764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:10:31] local.INFO: TCP Data received {"connection_id":204764,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:10:31] local.INFO: Processing buffer {"connection_id":204764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:10:31] local.INFO: IMEI packet received {"connection_id":204764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":204764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:10:32] local.INFO: TCP Data received {"connection_id":204897,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:10:32] local.INFO: Processing buffer {"connection_id":204897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:10:32] local.INFO: Packet analysis {"connection_id":204897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0f"} 
[2026-10-05 18:10:32] local.INFO: Extracted packet for processing {"connection_id":204897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0f"} 
[2026-10-05 18:10:32] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548075776001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791203722000,"timestamp_ms":1791203722000,"timestamp_seconds":1791203722,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0fc310"} 
[2026-10-05 18:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548075776001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548075776001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:10:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:10:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548075776001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":204897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:10:32] local.INFO: GPS data processed {"connection_id":204897,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:10:32] local.INFO: Acknowledgment sent {"connection_id":204897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:10:36] local.INFO: TCP Data received {"connection_id":204764,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:10:36] local.INFO: Processing buffer {"connection_id":204764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:10:36] local.INFO: IMEI packet received {"connection_id":204764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":204764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:10:37] local.INFO: TCP Data received {"connection_id":204764,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c137c30012d7db10005e1fd58000b01172d..."} 
[2026-10-05 18:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c137c30012d7db10005e1fd58000b01172d..."} 
[2026-10-05 18:10:37] local.INFO: Processing buffer {"connection_id":204764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c137c30012d7db10005e1fd58000b01172d..."} 
[2026-10-05 18:10:37] local.INFO: Packet analysis {"connection_id":204764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c13"} 
[2026-10-05 18:10:37] local.INFO: Extracted packet for processing {"connection_id":204764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c13"} 
[2026-10-05 18:10:37] local.INFO: GPS Element Parsed {"raw_longitude":763212032,"raw_latitude":98696536,"longitude_deg":76.3212032,"latitude_deg":9.8696536,"altitude":11,"angle":279,"satellites":45,"speed":26,"hex_longitude":"2d7db100","hex_latitude":"05e1fd58","is_valid_coordinates":true} 
[2026-10-05 18:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548213504001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139825864366882816,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062157269209942016,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:37] 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-10-05 18:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791203966000,"timestamp_ms":1791203966000,"timestamp_seconds":1791203966,"priority":1,"record_length":96,"hex_timestamp":"000001a10c137c30"} 
[2026-10-05 18:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:10: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-10-05 18:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 18:10:37] 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-10-05 18:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548213504001,"66":13896,"198":206,"85":15104,"24":26,"16":139825864366882816,"45":9062157269209942016},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-10-05 18:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548213504001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:10:37] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-05 18:10:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139825864366882816,"km_value":139825864366882.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062157269209942016,"description":"Unknown IO ID 45"} 
[2026-10-05 18:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548213504001,"power":13896,"unknown_198":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9062157269209942016}} 
[2026-10-05 18:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":204764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:10:37] local.INFO: GPS data processed {"connection_id":204764,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:10:37] local.INFO: Acknowledgment sent {"connection_id":204764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:10:43] local.INFO: TCP Data received {"connection_id":204763,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1312b8012d1820400721b280004e00c02f..."} 
[2026-10-05 18:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1312b8012d1820400721b280004e00c02f..."} 
[2026-10-05 18:10:43] local.INFO: Processing buffer {"connection_id":204763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1312b8012d1820400721b280004e00c02f..."} 
[2026-10-05 18:10:43] local.INFO: Packet analysis {"connection_id":204763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c13"} 
[2026-10-05 18:10:43] local.INFO: Extracted packet for processing {"connection_id":204763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c13"} 
[2026-10-05 18:10:43] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648896,"longitude_deg":75.655584,"latitude_deg":11.9648896,"altitude":78,"angle":192,"satellites":47,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b280","is_valid_coordinates":true} 
[2026-10-05 18:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548207104001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25235638693396480,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516084736,"note":"Value kept but may cause issues"} 
[2026-10-05 18:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791203939000,"timestamp_ms":1791203939000,"timestamp_seconds":1791203939,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1312b8"} 
[2026-10-05 18:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:10: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-10-05 18:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 18:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548207104001,"66":12809,"120":206,"28":31744,"24":0,"16":25235638693396480,"45":1738741330516084736},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 18:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548207104001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:10:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 18:10:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25235638693396480,"km_value":25235638693396.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516084736,"description":"Unknown IO ID 45"} 
[2026-10-05 18:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548207104001,"power":12809,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516084736}} 
[2026-10-05 18:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":204763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:10:43] local.INFO: GPS data processed {"connection_id":204763,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:10:43] local.INFO: Acknowledgment sent {"connection_id":204763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:10:54] local.INFO: TCP Data received {"connection_id":206287,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:10:54] local.INFO: Processing buffer {"connection_id":206287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:10:54] local.INFO: IMEI packet received {"connection_id":206287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":206287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:10:59] local.INFO: TCP Data received {"connection_id":206287,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:10:59] local.INFO: Processing buffer {"connection_id":206287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:10:59] local.INFO: IMEI packet received {"connection_id":206287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":206287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:11:00] local.INFO: TCP Data received {"connection_id":206287,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:11:00] local.INFO: Processing buffer {"connection_id":206287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c0fc310012d80af8006029ae0001200d42f..."} 
[2026-10-05 18:11:00] local.INFO: Packet analysis {"connection_id":206287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c0f"} 
[2026-10-05 18:11:00] local.INFO: Extracted packet for processing {"connection_id":206287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c0f"} 
[2026-10-05 18:11:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548075776001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791203722000,"timestamp_ms":1791203722000,"timestamp_seconds":1791203722,"priority":1,"record_length":96,"hex_timestamp":"000001a10c0fc310"} 
[2026-10-05 18:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:11: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-10-05 18: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-10-05 18:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548075776001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548075776001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:11:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:11:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548075776001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":206287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:11:00] local.INFO: GPS data processed {"connection_id":206287,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:11:00] local.INFO: Acknowledgment sent {"connection_id":206287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:11:04] local.INFO: TCP Data received {"connection_id":207843,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:11:04] local.INFO: Processing buffer {"connection_id":207843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:11:04] local.INFO: IMEI packet received {"connection_id":207843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":207843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:11:07] local.INFO: TCP Data received {"connection_id":204764,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c13be98012d7d8d8005e20130000c010f2f..."} 
[2026-10-05 18:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c13be98012d7d8d8005e20130000c010f2f..."} 
[2026-10-05 18:11:07] local.INFO: Processing buffer {"connection_id":204764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c13be98012d7d8d8005e20130000c010f2f..."} 
[2026-10-05 18:11:07] local.INFO: Packet analysis {"connection_id":204764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c13"} 
[2026-10-05 18:11:07] local.INFO: Extracted packet for processing {"connection_id":204764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c13"} 
[2026-10-05 18:11:07] local.INFO: GPS Element Parsed {"raw_longitude":763202944,"raw_latitude":98697520,"longitude_deg":76.3202944,"latitude_deg":9.869752,"altitude":12,"angle":271,"satellites":47,"speed":31,"hex_longitude":"2d7d8d80","hex_latitude":"05e20130","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548215296001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139826302453547008,"note":"Value kept but may cause issues"} 
[2026-10-05 18:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9057020350885091328,"note":"Value kept but may cause issues"} 
[2026-10-05 18:11:07] 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-10-05 18:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791203983000,"timestamp_ms":1791203983000,"timestamp_seconds":1791203983,"priority":1,"record_length":96,"hex_timestamp":"000001a10c13be98"} 
[2026-10-05 18:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18: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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-10-05 18:11:07] 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-10-05 18: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-10-05 18:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548215296001,"66":13917,"198":206,"85":15104,"24":31,"16":139826302453547008,"45":9057020350885091328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-10-05 18:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548215296001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:11:07] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-05 18:11:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139826302453547008,"km_value":139826302453547.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9057020350885091328,"description":"Unknown IO ID 45"} 
[2026-10-05 18:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548215296001,"power":13917,"unknown_198":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9057020350885091328}} 
[2026-10-05 18:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":204764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:11:07] local.INFO: GPS data processed {"connection_id":204764,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:11:07] local.INFO: Acknowledgment sent {"connection_id":204764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:11:10] local.INFO: TCP Data received {"connection_id":207843,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:11:10] local.INFO: Processing buffer {"connection_id":207843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:11:10] local.INFO: IMEI packet received {"connection_id":207843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":207843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:11:11] local.INFO: TCP Data received {"connection_id":207843,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1364c0012d1820400721b278004e00c02e..."} 
[2026-10-05 18:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1364c0012d1820400721b278004e00c02e..."} 
[2026-10-05 18:11:11] local.INFO: Processing buffer {"connection_id":207843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1364c0012d1820400721b278004e00c02e..."} 
[2026-10-05 18:11:11] local.INFO: Packet analysis {"connection_id":207843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c13"} 
[2026-10-05 18:11:11] local.INFO: Extracted packet for processing {"connection_id":207843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c13"} 
[2026-10-05 18:11:11] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":78,"angle":192,"satellites":46,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548208384001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25235638693396480,"note":"Value kept but may cause issues"} 
[2026-10-05 18:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539306496,"note":"Value kept but may cause issues"} 
[2026-10-05 18:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791203960000,"timestamp_ms":1791203960000,"timestamp_seconds":1791203960,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1364c0"} 
[2026-10-05 18:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:11: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-10-05 18: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-05 18:11:11] local.WARNING: Large IO value detected {"io_id":167,"raw_value":2835349504,"note":"Value kept but may cause issues"} 
[2026-10-05 18:11:11] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 18:11:11] local.WARNING: Large IO value detected {"io_id":12,"raw_value":1245720291042664768,"note":"Value kept but may cause issues"} 
[2026-10-05 18:11:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-10-05 18:11:11] local.WARNING: Large IO value detected {"io_id":237,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-10-05 18:11:11] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2954587749589503516,"note":"Value kept but may cause issues"} 
[2026-10-05 18:11:11] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2812870656,"note":"Value kept but may cause issues"} 
[2026-10-05 18:11:11] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428495731573698862,"note":"Value kept but may cause issues"} 
[2026-10-05 18:11:11] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-10-05 18:11:11] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,167,161,255,45,64,179,79,48,10,66,227,75,145,1,240,254,12,33,4,113,205,237,192,47,239,50,2,89,7,124,169],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-10-05 18:11:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620703643054374912,"timestamp_seconds":5620703643054375.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548208384001,"66":12798,"120":206,"28":31744,"24":0,"16":25235638693396480,"45":1738459855539306496},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 18:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548208384001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:11:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 18:11:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25235638693396480,"km_value":25235638693396.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539306496,"description":"Unknown IO ID 45"} 
[2026-10-05 18:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548208384001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539306496}} 
[2026-10-05 18:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":207843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:11:11] local.INFO: GPS data processed {"connection_id":207843,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:11:11] local.INFO: Acknowledgment sent {"connection_id":207843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:11:30] local.INFO: TCP Data received {"connection_id":204898,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:11:30] local.INFO: Processing buffer {"connection_id":204898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:11:30] local.INFO: IMEI packet received {"connection_id":204898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":204898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:11:32] local.INFO: TCP Data received {"connection_id":206287,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c145ad8012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c145ad8012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:11:32] local.INFO: Processing buffer {"connection_id":206287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c145ad8012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:11:32] local.INFO: Packet analysis {"connection_id":206287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c14"} 
[2026-10-05 18:11:32] local.INFO: Extracted packet for processing {"connection_id":206287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c14"} 
[2026-10-05 18:11:32] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548152832001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791204023000,"timestamp_ms":1791204023000,"timestamp_seconds":1791204023,"priority":1,"record_length":96,"hex_timestamp":"000001a10c145ad8"} 
[2026-10-05 18:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:11: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-10-05 18:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548152832001,"66":25843,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548152832001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:11:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:11:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548152832001,"power":25843,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":206287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:11:32] local.INFO: GPS data processed {"connection_id":206287,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:11:32] local.INFO: Acknowledgment sent {"connection_id":206287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:11:36] local.INFO: TCP Data received {"connection_id":204898,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:11:36] local.INFO: Processing buffer {"connection_id":204898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:11:36] local.INFO: IMEI packet received {"connection_id":204898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":204898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:11:36] local.INFO: TCP Data received {"connection_id":204898,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c13e5a8012d7d69c005e20348000e01132d..."} 
[2026-10-05 18:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c13e5a8012d7d69c005e20348000e01132d..."} 
[2026-10-05 18:11:36] local.INFO: Processing buffer {"connection_id":204898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c13e5a8012d7d69c005e20348000e01132d..."} 
[2026-10-05 18:11:36] local.INFO: Packet analysis {"connection_id":204898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c13"} 
[2026-10-05 18:11:36] local.INFO: Extracted packet for processing {"connection_id":204898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c13"} 
[2026-10-05 18:11:36] local.INFO: GPS Element Parsed {"raw_longitude":763193792,"raw_latitude":98698056,"longitude_deg":76.3193792,"latitude_deg":9.8698056,"altitude":14,"angle":275,"satellites":45,"speed":37,"hex_longitude":"2d7d69c0","hex_latitude":"05e20348","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548219648001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139826740540211200,"note":"Value kept but may cause issues"} 
[2026-10-05 18:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9047027989212114944,"note":"Value kept but may cause issues"} 
[2026-10-05 18:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791203993000,"timestamp_ms":1791203993000,"timestamp_seconds":1791203993,"priority":1,"record_length":96,"hex_timestamp":"000001a10c13e5a8"} 
[2026-10-05 18:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-10-05 18:11:36] 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-10-05 18: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-10-05 18:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548219648001,"66":13798,"43":206,"85":15104,"24":37,"16":139826740540211200,"45":9047027989212114944},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-10-05 18:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548219648001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:11:36] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-05 18:11:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139826740540211200,"km_value":139826740540211.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9047027989212114944,"description":"Unknown IO ID 45"} 
[2026-10-05 18:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548219648001,"power":13798,"unknown_43":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9047027989212114944}} 
[2026-10-05 18:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":204898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:11:36] local.INFO: GPS data processed {"connection_id":204898,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:11:36] local.INFO: Acknowledgment sent {"connection_id":204898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:11:43] local.INFO: TCP Data received {"connection_id":207843,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c13b6c8012d1820400721b278004e00c030..."} 
[2026-10-05 18:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c13b6c8012d1820400721b278004e00c030..."} 
[2026-10-05 18:11:43] local.INFO: Processing buffer {"connection_id":207843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c13b6c8012d1820400721b278004e00c030..."} 
[2026-10-05 18:11:43] local.INFO: Packet analysis {"connection_id":207843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c13"} 
[2026-10-05 18:11:43] local.INFO: Extracted packet for processing {"connection_id":207843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c13"} 
[2026-10-05 18:11:43] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":78,"angle":192,"satellites":48,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-10-05 18:11: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-10-05 18:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548213760001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25235638693396480,"note":"Value kept but may cause issues"} 
[2026-10-05 18:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-10-05 18:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791203981000,"timestamp_ms":1791203981000,"timestamp_seconds":1791203981,"priority":1,"record_length":96,"hex_timestamp":"000001a10c13b6c8"} 
[2026-10-05 18:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:11: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-10-05 18:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 18:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:11: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-10-05 18:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548213760001,"66":12776,"120":206,"28":31744,"24":0,"16":25235638693396480,"45":1738459855539304448},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 18:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548213760001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:11:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 18:11:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25235638693396480,"km_value":25235638693396.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-10-05 18:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548213760001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-10-05 18:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":207843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:11:43] local.INFO: GPS data processed {"connection_id":207843,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:11:43] local.INFO: Acknowledgment sent {"connection_id":207843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:11:54] local.INFO: TCP Data received {"connection_id":204766,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:11:54] local.INFO: Processing buffer {"connection_id":204766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:11:54] local.INFO: IMEI packet received {"connection_id":204766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":204766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:11:59] local.INFO: TCP Data received {"connection_id":204766,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:11:59] local.INFO: Processing buffer {"connection_id":204766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:11:59] local.INFO: IMEI packet received {"connection_id":204766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":204766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:12:00] local.INFO: TCP Data received {"connection_id":204766,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a10c145ad8012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c145ad8012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:12:00] local.INFO: Processing buffer {"connection_id":204766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c145ad8012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:12:00] local.INFO: Packet analysis {"connection_id":204766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c14"} 
[2026-10-05 18:12:00] local.INFO: Extracted packet for processing {"connection_id":204766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c14"} 
[2026-10-05 18:12:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548152832001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791204023000,"timestamp_ms":1791204023000,"timestamp_seconds":1791204023,"priority":1,"record_length":96,"hex_timestamp":"000001a10c145ad8"} 
[2026-10-05 18:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:12: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-10-05 18: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-10-05 18:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:12: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-10-05 18:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548152832001,"66":25843,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548152832001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:12:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:12:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548152832001,"power":25843,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":204766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:12:00] local.INFO: GPS data processed {"connection_id":204766,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:12:00] local.INFO: Acknowledgment sent {"connection_id":204766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:12:08] local.INFO: TCP Data received {"connection_id":204898,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c15be50012d7c5f0005e20ef8000a00e42d..."} 
[2026-10-05 18:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c15be50012d7c5f0005e20ef8000a00e42d..."} 
[2026-10-05 18:12:08] local.INFO: Processing buffer {"connection_id":204898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c15be50012d7c5f0005e20ef8000a00e42d..."} 
[2026-10-05 18:12:08] local.INFO: Packet analysis {"connection_id":204898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c15"} 
[2026-10-05 18:12:08] local.INFO: Extracted packet for processing {"connection_id":204898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c15"} 
[2026-10-05 18:12:08] local.INFO: GPS Element Parsed {"raw_longitude":763125504,"raw_latitude":98701048,"longitude_deg":76.3125504,"latitude_deg":9.8701048,"altitude":10,"angle":228,"satellites":45,"speed":23,"hex_longitude":"2d7c5f00","hex_latitude":"05e20ef8","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548252928001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139830043370061824,"note":"Value kept but may cause issues"} 
[2026-10-05 18:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962444758711564288,"note":"Value kept but may cause issues"} 
[2026-10-05 18:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791204114000,"timestamp_ms":1791204114000,"timestamp_seconds":1791204114,"priority":1,"record_length":96,"hex_timestamp":"000001a10c15be50"} 
[2026-10-05 18:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:12: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-10-05 18: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":110,"data_length":795,"current_offset":136} 
[2026-10-05 18:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548252928001,"66":13678,"43":206,"85":15104,"24":23,"16":139830043370061824,"45":8962444758711564288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-10-05 18:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548252928001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:12:08] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-05 18:12:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139830043370061824,"km_value":139830043370061.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962444758711564288,"description":"Unknown IO ID 45"} 
[2026-10-05 18:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548252928001,"power":13678,"unknown_43":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8962444758711564288}} 
[2026-10-05 18:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":204898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:12:08] local.INFO: GPS data processed {"connection_id":204898,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:12:08] local.INFO: Acknowledgment sent {"connection_id":204898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:12:09] local.INFO: TCP Data received {"connection_id":207844,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:12:09] local.INFO: Processing buffer {"connection_id":207844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:12:09] local.INFO: IMEI packet received {"connection_id":207844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":207844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:12:15] local.INFO: TCP Data received {"connection_id":207844,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:12:15] local.INFO: Processing buffer {"connection_id":207844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:12:15] local.INFO: IMEI packet received {"connection_id":207844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":207844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:12:16] local.INFO: TCP Data received {"connection_id":207844,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1408d0012d1820400721b278004e00c030..."} 
[2026-10-05 18:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1408d0012d1820400721b278004e00c030..."} 
[2026-10-05 18:12:16] local.INFO: Processing buffer {"connection_id":207844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1408d0012d1820400721b278004e00c030..."} 
[2026-10-05 18:12:16] local.INFO: Packet analysis {"connection_id":207844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c14"} 
[2026-10-05 18:12:16] local.INFO: Extracted packet for processing {"connection_id":207844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c14"} 
[2026-10-05 18:12:16] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":78,"angle":192,"satellites":48,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-10-05 18:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548219136001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25235638693396480,"note":"Value kept but may cause issues"} 
[2026-10-05 18:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-10-05 18:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791204002000,"timestamp_ms":1791204002000,"timestamp_seconds":1791204002,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1408d0"} 
[2026-10-05 18:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:12: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-10-05 18:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 18:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548219136001,"66":12743,"120":206,"28":31744,"24":0,"16":25235638693396480,"45":1738459855539304448},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 18:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548219136001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:12:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 18:12:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25235638693396480,"km_value":25235638693396.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-10-05 18:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548219136001,"power":12743,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-10-05 18:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":207844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:12:16] local.INFO: GPS data processed {"connection_id":207844,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:12:16] local.INFO: Acknowledgment sent {"connection_id":207844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:12:20] local.INFO: TCP Data received {"connection_id":207844,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c145ad8012d1820400721b278004e00c02d..."} 
[2026-10-05 18:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c145ad8012d1820400721b278004e00c02d..."} 
[2026-10-05 18:12:20] local.INFO: Processing buffer {"connection_id":207844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c145ad8012d1820400721b278004e00c02d..."} 
[2026-10-05 18:12:20] local.INFO: Packet analysis {"connection_id":207844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c14"} 
[2026-10-05 18:12:20] local.INFO: Extracted packet for processing {"connection_id":207844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c14"} 
[2026-10-05 18:12:20] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":78,"angle":192,"satellites":45,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-10-05 18:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548224512001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25235638693396480,"note":"Value kept but may cause issues"} 
[2026-10-05 18:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-10-05 18:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791204023000,"timestamp_ms":1791204023000,"timestamp_seconds":1791204023,"priority":1,"record_length":96,"hex_timestamp":"000001a10c145ad8"} 
[2026-10-05 18:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 18:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":207844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":207844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":207844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548224512001,"66":12722,"120":206,"28":31744,"24":0,"16":25235638693396480,"45":1738459855539304448},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 18:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548224512001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:12:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 18:12:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25235638693396480,"km_value":25235638693396.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-10-05 18:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548224512001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-10-05 18:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":207844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:12:21] local.INFO: GPS data processed {"connection_id":207844,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:12:21] local.INFO: Acknowledgment sent {"connection_id":207844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:12:30] local.INFO: TCP Data received {"connection_id":206288,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:12:30] local.INFO: Processing buffer {"connection_id":206288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:12:30] local.INFO: IMEI packet received {"connection_id":206288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":206288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:12:32] local.INFO: TCP Data received {"connection_id":204766,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a10c145ad8012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c145ad8012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:12:32] local.INFO: Processing buffer {"connection_id":204766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c145ad8012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:12:32] local.INFO: Packet analysis {"connection_id":204766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c14"} 
[2026-10-05 18:12:32] local.INFO: Extracted packet for processing {"connection_id":204766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c14"} 
[2026-10-05 18:12:32] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548152832001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791204023000,"timestamp_ms":1791204023000,"timestamp_seconds":1791204023,"priority":1,"record_length":96,"hex_timestamp":"000001a10c145ad8"} 
[2026-10-05 18:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548152832001,"66":25843,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548152832001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:12:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:12:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548152832001,"power":25843,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":204766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:12:32] local.INFO: GPS data processed {"connection_id":204766,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:12:32] local.INFO: Acknowledgment sent {"connection_id":204766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:12:36] local.INFO: TCP Data received {"connection_id":206288,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:12:36] local.INFO: Processing buffer {"connection_id":206288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:12:36] local.INFO: IMEI packet received {"connection_id":206288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":206288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:12:36] local.INFO: TCP Data received {"connection_id":206288,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c15c238012d7c5dc005e20d38000a00d82d..."} 
[2026-10-05 18:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c15c238012d7c5dc005e20d38000a00d82d..."} 
[2026-10-05 18:12:36] local.INFO: Processing buffer {"connection_id":206288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c15c238012d7c5dc005e20d38000a00d82d..."} 
[2026-10-05 18:12:36] local.INFO: Packet analysis {"connection_id":206288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c15"} 
[2026-10-05 18:12:36] local.INFO: Extracted packet for processing {"connection_id":206288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c15"} 
[2026-10-05 18:12:36] local.INFO: GPS Element Parsed {"raw_longitude":763125184,"raw_latitude":98700600,"longitude_deg":76.3125184,"latitude_deg":9.87006,"altitude":10,"angle":216,"satellites":45,"speed":23,"hex_longitude":"2d7c5dc0","hex_latitude":"05e20d38","is_valid_coordinates":true} 
[2026-10-05 18:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548253184001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139830073434832896,"note":"Value kept but may cause issues"} 
[2026-10-05 18:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961881808758044672,"note":"Value kept but may cause issues"} 
[2026-10-05 18:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791204115000,"timestamp_ms":1791204115000,"timestamp_seconds":1791204115,"priority":1,"record_length":96,"hex_timestamp":"000001a10c15c238"} 
[2026-10-05 18:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 18:12: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-10-05 18:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548253184001,"66":13678,"43":206,"85":15104,"24":23,"16":139830073434832896,"45":8961881808758044672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-10-05 18:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548253184001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:12:36] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-05 18:12:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139830073434832896,"km_value":139830073434832.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961881808758044672,"description":"Unknown IO ID 45"} 
[2026-10-05 18:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548253184001,"power":13678,"unknown_43":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8961881808758044672}} 
[2026-10-05 18:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":206288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:12:36] local.INFO: GPS data processed {"connection_id":206288,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:12:36] local.INFO: Acknowledgment sent {"connection_id":206288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:12:54] local.INFO: TCP Data received {"connection_id":204767,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:12:54] local.INFO: Processing buffer {"connection_id":204767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:12:54] local.INFO: IMEI packet received {"connection_id":204767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":204767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:12:59] local.INFO: TCP Data received {"connection_id":204767,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:12:59] local.INFO: Processing buffer {"connection_id":204767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:12:59] local.INFO: IMEI packet received {"connection_id":204767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":204767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:13:00] local.INFO: TCP Data received {"connection_id":204767,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10c145ad8012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c145ad8012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:13:00] local.INFO: Processing buffer {"connection_id":204767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c145ad8012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:13:00] local.INFO: Packet analysis {"connection_id":204767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c14"} 
[2026-10-05 18:13:00] local.INFO: Extracted packet for processing {"connection_id":204767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c14"} 
[2026-10-05 18:13:00] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548152832001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791204023000,"timestamp_ms":1791204023000,"timestamp_seconds":1791204023,"priority":1,"record_length":96,"hex_timestamp":"000001a10c145ad8"} 
[2026-10-05 18:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:13: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-10-05 18:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:13: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-10-05 18:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548152832001,"66":25843,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548152832001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:13:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:13:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548152832001,"power":25843,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":204767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:13:00] local.INFO: GPS data processed {"connection_id":204767,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:13:00] local.INFO: Acknowledgment sent {"connection_id":204767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:13:04] local.INFO: TCP Data received {"connection_id":204900,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:13:04] local.INFO: Processing buffer {"connection_id":204900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:13:04] local.INFO: IMEI packet received {"connection_id":204900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":204900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:13:05] local.INFO: TCP Data received {"connection_id":204900,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:13:05] local.INFO: Processing buffer {"connection_id":204900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:13:05] local.INFO: IMEI packet received {"connection_id":204900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":204900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:13:07] local.INFO: TCP Data received {"connection_id":206288,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c15ca08012d7c5b8005e208d0000a00c62e..."} 
[2026-10-05 18:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c15ca08012d7c5b8005e208d0000a00c62e..."} 
[2026-10-05 18:13:07] local.INFO: Processing buffer {"connection_id":206288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c15ca08012d7c5b8005e208d0000a00c62e..."} 
[2026-10-05 18:13:07] local.INFO: Packet analysis {"connection_id":206288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c15"} 
[2026-10-05 18:13:07] local.INFO: Extracted packet for processing {"connection_id":206288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c15"} 
[2026-10-05 18:13:07] local.INFO: GPS Element Parsed {"raw_longitude":763124608,"raw_latitude":98699472,"longitude_deg":76.3124608,"latitude_deg":9.8699472,"altitude":10,"angle":198,"satellites":46,"speed":25,"hex_longitude":"2d7c5b80","hex_latitude":"05e208d0","is_valid_coordinates":true} 
[2026-10-05 18:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548253440001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139830133564375040,"note":"Value kept but may cause issues"} 
[2026-10-05 18:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961529965037041664,"note":"Value kept but may cause issues"} 
[2026-10-05 18:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791204117000,"timestamp_ms":1791204117000,"timestamp_seconds":1791204117,"priority":1,"record_length":96,"hex_timestamp":"000001a10c15ca08"} 
[2026-10-05 18:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 18:13:07] 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-10-05 18: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-10-05 18:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":206288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":206288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":206288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548253440001,"66":13461,"43":206,"85":15104,"24":25,"16":139830133564375040,"45":8961529965037041664},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-10-05 18:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548253440001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:13:07] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-05 18:13:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139830133564375040,"km_value":139830133564375.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961529965037041664,"description":"Unknown IO ID 45"} 
[2026-10-05 18:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548253440001,"power":13461,"unknown_43":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8961529965037041664}} 
[2026-10-05 18:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":206288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969101,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:13:07] local.INFO: GPS data processed {"connection_id":206288,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:13:07] local.INFO: Acknowledgment sent {"connection_id":206288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:13:10] local.INFO: TCP Data received {"connection_id":204900,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:13:10] local.INFO: Processing buffer {"connection_id":204900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:13:10] local.INFO: IMEI packet received {"connection_id":204900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":204900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:13:11] local.INFO: TCP Data received {"connection_id":204900,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c14ace0012d1820400721b278004e00c02c..."} 
[2026-10-05 18:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c14ace0012d1820400721b278004e00c02c..."} 
[2026-10-05 18:13:11] local.INFO: Processing buffer {"connection_id":204900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c14ace0012d1820400721b278004e00c02c..."} 
[2026-10-05 18:13:11] local.INFO: Packet analysis {"connection_id":204900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c14"} 
[2026-10-05 18:13:11] local.INFO: Extracted packet for processing {"connection_id":204900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c14"} 
[2026-10-05 18:13:11] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":78,"angle":192,"satellites":44,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-10-05 18:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548229888001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25235638693396480,"note":"Value kept but may cause issues"} 
[2026-10-05 18:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-10-05 18:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791204044000,"timestamp_ms":1791204044000,"timestamp_seconds":1791204044,"priority":1,"record_length":96,"hex_timestamp":"000001a10c14ace0"} 
[2026-10-05 18:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:13: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-10-05 18:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 18:13:11] 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-10-05 18:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548229888001,"66":12591,"120":206,"28":31744,"24":0,"16":25235638693396480,"45":1738459855539304448},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 18:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548229888001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:13:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 18:13:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25235638693396480,"km_value":25235638693396.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-10-05 18:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548229888001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-10-05 18:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":204900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:13:11] local.INFO: GPS data processed {"connection_id":204900,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:13:11] local.INFO: Acknowledgment sent {"connection_id":204900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:13:16] local.INFO: TCP Data received {"connection_id":204900,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c14fee8012d1820400721b278004e00c02d..."} 
[2026-10-05 18:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c14fee8012d1820400721b278004e00c02d..."} 
[2026-10-05 18:13:16] local.INFO: Processing buffer {"connection_id":204900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c14fee8012d1820400721b278004e00c02d..."} 
[2026-10-05 18:13:16] local.INFO: Packet analysis {"connection_id":204900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c14"} 
[2026-10-05 18:13:16] local.INFO: Extracted packet for processing {"connection_id":204900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c14"} 
[2026-10-05 18:13:16] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":78,"angle":192,"satellites":45,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-10-05 18:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548235264001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25235638693396480,"note":"Value kept but may cause issues"} 
[2026-10-05 18:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-10-05 18:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791204065000,"timestamp_ms":1791204065000,"timestamp_seconds":1791204065,"priority":1,"record_length":96,"hex_timestamp":"000001a10c14fee8"} 
[2026-10-05 18:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-05 18:13:16] 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-10-05 18:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548235264001,"66":12722,"120":206,"28":31744,"24":0,"16":25235638693396480,"45":1738459855539304448},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 18:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548235264001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:13:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 18:13:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25235638693396480,"km_value":25235638693396.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-10-05 18:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548235264001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-10-05 18:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":204900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:13:16] local.INFO: GPS data processed {"connection_id":204900,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:13:16] local.INFO: Acknowledgment sent {"connection_id":204900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:13:30] local.INFO: TCP Data received {"connection_id":206290,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:13:30] local.INFO: Processing buffer {"connection_id":206290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:13:30] local.INFO: IMEI packet received {"connection_id":206290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":206290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:13:31] local.INFO: TCP Data received {"connection_id":204767,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10c145ad8012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c145ad8012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:13:31] local.INFO: Processing buffer {"connection_id":204767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c145ad8012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:13:31] local.INFO: Packet analysis {"connection_id":204767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c14"} 
[2026-10-05 18:13:31] local.INFO: Extracted packet for processing {"connection_id":204767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c14"} 
[2026-10-05 18:13:31] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548152832001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791204023000,"timestamp_ms":1791204023000,"timestamp_seconds":1791204023,"priority":1,"record_length":96,"hex_timestamp":"000001a10c145ad8"} 
[2026-10-05 18:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:13: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-10-05 18:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548152832001,"66":25843,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548152832001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:13:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:13:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548152832001,"power":25843,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":204767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:13:31] local.INFO: GPS data processed {"connection_id":204767,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:13:31] local.INFO: Acknowledgment sent {"connection_id":204767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:13:31] local.INFO: TCP Data received {"connection_id":206290,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:13:31] local.INFO: Processing buffer {"connection_id":206290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:13:31] local.INFO: IMEI packet received {"connection_id":206290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":206290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:13:32] local.INFO: TCP Data received {"connection_id":206290,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:13:32] local.INFO: Processing buffer {"connection_id":206290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:13:32] local.INFO: IMEI packet received {"connection_id":206290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":206290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:13:34] local.INFO: TCP Data received {"connection_id":206290,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:13:34] local.INFO: Processing buffer {"connection_id":206290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:13:34] local.INFO: IMEI packet received {"connection_id":206290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":206290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:13:47] local.INFO: TCP Data received {"connection_id":204900,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1550f0012d1820400721b278004e00c02e..."} 
[2026-10-05 18:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1550f0012d1820400721b278004e00c02e..."} 
[2026-10-05 18:13:47] local.INFO: Processing buffer {"connection_id":204900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1550f0012d1820400721b278004e00c02e..."} 
[2026-10-05 18:13:47] local.INFO: Packet analysis {"connection_id":204900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c15"} 
[2026-10-05 18:13:47] local.INFO: Extracted packet for processing {"connection_id":204900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c15"} 
[2026-10-05 18:13:47] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":78,"angle":192,"satellites":46,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548240640001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25235638693396480,"note":"Value kept but may cause issues"} 
[2026-10-05 18:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-10-05 18:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791204086000,"timestamp_ms":1791204086000,"timestamp_seconds":1791204086,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1550f0"} 
[2026-10-05 18:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:13: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-10-05 18: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 18:13: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-10-05 18: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-10-05 18:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":204900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":204900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":204900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548240640001,"66":12722,"120":206,"28":31744,"24":0,"16":25235638693396480,"45":1738459855539304448},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 18:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548240640001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:13:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 18:13:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25235638693396480,"km_value":25235638693396.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-10-05 18:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548240640001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-10-05 18:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":204900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:13:47] local.INFO: GPS data processed {"connection_id":204900,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:13:47] local.INFO: Acknowledgment sent {"connection_id":204900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:13:59] local.INFO: TCP Data received {"connection_id":206291,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206291,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:13:59] local.INFO: Processing buffer {"connection_id":206291,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:13:59] local.INFO: IMEI packet received {"connection_id":206291,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 18:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":206291,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:13:59] local.INFO: TCP Data received {"connection_id":204901,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:13:59] local.INFO: Processing buffer {"connection_id":204901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:13:59] local.INFO: IMEI packet received {"connection_id":204901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":204901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:14:04] local.INFO: TCP Data received {"connection_id":204901,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:14:04] local.INFO: Processing buffer {"connection_id":204901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:14:04] local.INFO: IMEI packet received {"connection_id":204901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":204901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:14:04] local.INFO: TCP Data received {"connection_id":207845,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:14:04] local.INFO: Processing buffer {"connection_id":207845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:14:04] local.INFO: IMEI packet received {"connection_id":207845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":207845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:14:04] local.INFO: TCP Data received {"connection_id":204901,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10c145ad8012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c145ad8012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:14:04] local.INFO: Processing buffer {"connection_id":204901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c145ad8012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:14:04] local.INFO: Packet analysis {"connection_id":204901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c14"} 
[2026-10-05 18:14:04] local.INFO: Extracted packet for processing {"connection_id":204901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c14"} 
[2026-10-05 18:14:04] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548152832001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791204023000,"timestamp_ms":1791204023000,"timestamp_seconds":1791204023,"priority":1,"record_length":96,"hex_timestamp":"000001a10c145ad8"} 
[2026-10-05 18:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":204901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":204901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:14: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-10-05 18:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548152832001,"66":25843,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548152832001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:14:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:14:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548152832001,"power":25843,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":204901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:14:05] local.INFO: GPS data processed {"connection_id":204901,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:14:05] local.INFO: Acknowledgment sent {"connection_id":204901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:14:08] local.INFO: TCP Data received {"connection_id":207845,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:14:08] local.INFO: Processing buffer {"connection_id":207845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:14:08] local.INFO: IMEI packet received {"connection_id":207845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":207845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:14:09] local.INFO: TCP Data received {"connection_id":207845,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c159b28012d181e400721afa0004400dc2f..."} 
[2026-10-05 18:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c159b28012d181e400721afa0004400dc2f..."} 
[2026-10-05 18:14:09] local.INFO: Processing buffer {"connection_id":207845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c159b28012d181e400721afa0004400dc2f..."} 
[2026-10-05 18:14:09] local.INFO: Packet analysis {"connection_id":207845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c15"} 
[2026-10-05 18:14:09] local.INFO: Extracted packet for processing {"connection_id":207845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c15"} 
[2026-10-05 18:14:09] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648160,"longitude_deg":75.6555328,"latitude_deg":11.964816,"altitude":68,"angle":220,"satellites":47,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721afa0","is_valid_coordinates":true} 
[2026-10-05 18:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548246016001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25235681643069440,"note":"Value kept but may cause issues"} 
[2026-10-05 18:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-10-05 18:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791204105000,"timestamp_ms":1791204105000,"timestamp_seconds":1791204105,"priority":1,"record_length":96,"hex_timestamp":"000001a10c159b28"} 
[2026-10-05 18:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 18:14:09] 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-10-05 18:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":207845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":207845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":207845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548246016001,"66":12689,"120":206,"28":31744,"24":0,"16":25235681643069440,"45":1738459855539304448},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 18:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548246016001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:14:09] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 18:14:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25235681643069440,"km_value":25235681643069.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-10-05 18:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548246016001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-10-05 18:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":207845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:14:09] local.INFO: GPS data processed {"connection_id":207845,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:14:09] local.INFO: Acknowledgment sent {"connection_id":207845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:14:33] local.INFO: TCP Data received {"connection_id":204903,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204903,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:14:33] local.INFO: Processing buffer {"connection_id":204903,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:14:33] local.INFO: IMEI packet received {"connection_id":204903,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 18:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":204903,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:14:35] local.INFO: TCP Data received {"connection_id":204901,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10c176c00012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c176c00012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:14:35] local.INFO: Processing buffer {"connection_id":204901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c176c00012d80af8006029ae0001200d42d..."} 
[2026-10-05 18:14:35] local.INFO: Packet analysis {"connection_id":204901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c17"} 
[2026-10-05 18:14:35] local.INFO: Extracted packet for processing {"connection_id":204901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c17"} 
[2026-10-05 18:14:35] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":100834016,"longitude_deg":76.3408256,"latitude_deg":10.0834016,"altitude":18,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d80af80","hex_latitude":"06029ae0","is_valid_coordinates":true} 
[2026-10-05 18:14: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-10-05 18:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548229888001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791204224000,"timestamp_ms":1791204224000,"timestamp_seconds":1791204224,"priority":1,"record_length":96,"hex_timestamp":"000001a10c176c00"} 
[2026-10-05 18:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-05 18:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":204901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":204901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":204901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548229888001,"66":25875,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548229888001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:14:35] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:14:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548229888001,"power":25875,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":204901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:14:35] local.INFO: GPS data processed {"connection_id":204901,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:14:35] local.INFO: Acknowledgment sent {"connection_id":204901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:14:40] local.INFO: TCP Data received {"connection_id":207845,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c15ed30012d181e400721afa0004400dc2e..."} 
[2026-10-05 18:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c15ed30012d181e400721afa0004400dc2e..."} 
[2026-10-05 18:14:40] local.INFO: Processing buffer {"connection_id":207845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c15ed30012d181e400721afa0004400dc2e..."} 
[2026-10-05 18:14:40] local.INFO: Packet analysis {"connection_id":207845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c15"} 
[2026-10-05 18:14:40] local.INFO: Extracted packet for processing {"connection_id":207845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c15"} 
[2026-10-05 18:14:40] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648160,"longitude_deg":75.6555328,"latitude_deg":11.964816,"altitude":68,"angle":220,"satellites":46,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721afa0","is_valid_coordinates":true} 
[2026-10-05 18:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548250880001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25235681643069440,"note":"Value kept but may cause issues"} 
[2026-10-05 18:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585696768,"note":"Value kept but may cause issues"} 
[2026-10-05 18:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791204126000,"timestamp_ms":1791204126000,"timestamp_seconds":1791204126,"priority":1,"record_length":96,"hex_timestamp":"000001a10c15ed30"} 
[2026-10-05 18:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 18:14:40] 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-10-05 18:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":207845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":207845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":207845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548250880001,"66":12667,"120":206,"28":31744,"24":0,"16":25235681643069440,"45":1737896905585696768},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 18:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548250880001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:14:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 18:14:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25235681643069440,"km_value":25235681643069.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585696768,"description":"Unknown IO ID 45"} 
[2026-10-05 18:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548250880001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585696768}} 
[2026-10-05 18:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":207845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:14:40] local.INFO: GPS data processed {"connection_id":207845,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:14:40] local.INFO: Acknowledgment sent {"connection_id":207845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:14:54] local.INFO: TCP Data received {"connection_id":207846,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:14:54] local.INFO: Processing buffer {"connection_id":207846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:14:54] local.INFO: IMEI packet received {"connection_id":207846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":207846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:14:59] local.INFO: TCP Data received {"connection_id":207846,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:14:59] local.INFO: Processing buffer {"connection_id":207846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:14:59] local.INFO: IMEI packet received {"connection_id":207846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":207846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:14:59] local.INFO: TCP Data received {"connection_id":207846,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1777b8012d80adc006029a38001201132d..."} 
[2026-10-05 18:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1777b8012d80adc006029a38001201132d..."} 
[2026-10-05 18:15:00] local.INFO: Processing buffer {"connection_id":207846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1777b8012d80adc006029a38001201132d..."} 
[2026-10-05 18:15:00] local.INFO: Packet analysis {"connection_id":207846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c17"} 
[2026-10-05 18:15:00] local.INFO: Extracted packet for processing {"connection_id":207846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c17"} 
[2026-10-05 18:15:00] local.INFO: GPS Element Parsed {"raw_longitude":763407808,"raw_latitude":100833848,"longitude_deg":76.3407808,"latitude_deg":10.0833848,"altitude":18,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d80adc0","hex_latitude":"06029a38","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548281344001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973152628547584,"note":"Value kept but may cause issues"} 
[2026-10-05 18:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791204227000,"timestamp_ms":1791204227000,"timestamp_seconds":1791204227,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1777b8"} 
[2026-10-05 18:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:15: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-10-05 18: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 18:15: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-10-05 18: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-10-05 18:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548281344001,"66":22234,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9173973152628547584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548281344001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:15:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:15:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973152628547584,"description":"Unknown IO ID 45"} 
[2026-10-05 18:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548281344001,"power":22234,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9173973152628547584}} 
[2026-10-05 18:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":207846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:15:00] local.INFO: GPS data processed {"connection_id":207846,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:15:00] local.INFO: Acknowledgment sent {"connection_id":207846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:15:05] local.INFO: TCP Data received {"connection_id":204904,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:15:05] local.INFO: Processing buffer {"connection_id":204904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:15:05] local.INFO: IMEI packet received {"connection_id":204904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":204904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:15:10] local.INFO: TCP Data received {"connection_id":204904,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:15:10] local.INFO: Processing buffer {"connection_id":204904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:15:10] local.INFO: IMEI packet received {"connection_id":204904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":204904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:15:11] local.INFO: TCP Data received {"connection_id":204904,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c163f38012d181e400721afa0004400dc30..."} 
[2026-10-05 18:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c163f38012d181e400721afa0004400dc30..."} 
[2026-10-05 18:15:11] local.INFO: Processing buffer {"connection_id":204904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c163f38012d181e400721afa0004400dc30..."} 
[2026-10-05 18:15:11] local.INFO: Packet analysis {"connection_id":204904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c16"} 
[2026-10-05 18:15:11] local.INFO: Extracted packet for processing {"connection_id":204904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c16"} 
[2026-10-05 18:15:11] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648160,"longitude_deg":75.6555328,"latitude_deg":11.964816,"altitude":68,"angle":220,"satellites":48,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721afa0","is_valid_coordinates":true} 
[2026-10-05 18:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548256256001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25235681643069440,"note":"Value kept but may cause issues"} 
[2026-10-05 18:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585696768,"note":"Value kept but may cause issues"} 
[2026-10-05 18:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791204147000,"timestamp_ms":1791204147000,"timestamp_seconds":1791204147,"priority":1,"record_length":96,"hex_timestamp":"000001a10c163f38"} 
[2026-10-05 18:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:15: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-10-05 18:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 18:15:11] 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-10-05 18:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548256256001,"66":12645,"120":206,"28":31744,"24":0,"16":25235681643069440,"45":1737896905585696768},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 18:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548256256001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:15:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 18:15:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25235681643069440,"km_value":25235681643069.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585696768,"description":"Unknown IO ID 45"} 
[2026-10-05 18:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548256256001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585696768}} 
[2026-10-05 18:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":204904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:15:11] local.INFO: GPS data processed {"connection_id":204904,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:15:11] local.INFO: Acknowledgment sent {"connection_id":204904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:15:31] local.INFO: TCP Data received {"connection_id":207846,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10c17c9c0012d80adc006029a380012011325..."} 
[2026-10-05 18:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c17c9c0012d80adc006029a380012011325..."} 
[2026-10-05 18:15:31] local.INFO: Processing buffer {"connection_id":207846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c17c9c0012d80adc006029a380012011325..."} 
[2026-10-05 18:15:31] local.INFO: Packet analysis {"connection_id":207846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c17"} 
[2026-10-05 18:15:31] local.INFO: Extracted packet for processing {"connection_id":207846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c17"} 
[2026-10-05 18:15:31] local.INFO: GPS Element Parsed {"raw_longitude":763407808,"raw_latitude":100833848,"longitude_deg":76.3407808,"latitude_deg":10.0833848,"altitude":18,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d80adc0","hex_latitude":"06029a38","is_valid_coordinates":true} 
[2026-10-05 18:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548282112001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2181224911077376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174465733837834240,"note":"Value kept but may cause issues"} 
[2026-10-05 18:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791204248000,"timestamp_ms":1791204248000,"timestamp_seconds":1791204248,"priority":1,"record_length":96,"hex_timestamp":"000001a10c17c9c0"} 
[2026-10-05 18:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:15: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-10-05 18:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":86,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-10-05 18:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2590,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548282112001,"66":27876,"168":206,"87":10496,"24":0,"16":2181224911077376,"45":-9174465733837834240},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-10-05 18:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548282112001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:15:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-05 18:15:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-10-05 18:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2181224911077376,"km_value":2181224911077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174465733837834240,"description":"Unknown IO ID 45"} 
[2026-10-05 18:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548282112001,"power":27876,"unknown_168":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9174465733837834240}} 
[2026-10-05 18:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":207846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:15:31] local.INFO: GPS data processed {"connection_id":207846,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:15:31] local.INFO: Acknowledgment sent {"connection_id":207846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:15:43] local.INFO: TCP Data received {"connection_id":204904,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c169140012d181e400721afa0004400dc2e..."} 
[2026-10-05 18:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c169140012d181e400721afa0004400dc2e..."} 
[2026-10-05 18:15:43] local.INFO: Processing buffer {"connection_id":204904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c169140012d181e400721afa0004400dc2e..."} 
[2026-10-05 18:15:43] local.INFO: Packet analysis {"connection_id":204904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c16"} 
[2026-10-05 18:15:43] local.INFO: Extracted packet for processing {"connection_id":204904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c16"} 
[2026-10-05 18:15:43] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648160,"longitude_deg":75.6555328,"latitude_deg":11.964816,"altitude":68,"angle":220,"satellites":46,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721afa0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548261632001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25235681643069440,"note":"Value kept but may cause issues"} 
[2026-10-05 18:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585696768,"note":"Value kept but may cause issues"} 
[2026-10-05 18:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791204168000,"timestamp_ms":1791204168000,"timestamp_seconds":1791204168,"priority":1,"record_length":96,"hex_timestamp":"000001a10c169140"} 
[2026-10-05 18:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:15: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-10-05 18: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 18:15:43] 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-10-05 18: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-10-05 18:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548261632001,"66":12667,"120":206,"28":31744,"24":0,"16":25235681643069440,"45":1737896905585696768},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 18:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548261632001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:15:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 18:15:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25235681643069440,"km_value":25235681643069.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585696768,"description":"Unknown IO ID 45"} 
[2026-10-05 18:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548261632001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585696768}} 
[2026-10-05 18:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":204904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:15:43] local.INFO: GPS data processed {"connection_id":204904,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:15:43] local.INFO: Acknowledgment sent {"connection_id":204904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:15:52] local.INFO: TCP Data received {"connection_id":206292,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:15:52] local.INFO: Processing buffer {"connection_id":206292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:15:52] local.INFO: IMEI packet received {"connection_id":206292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":206292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:15:53] local.INFO: TCP Data received {"connection_id":206292,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:15:53] local.INFO: Processing buffer {"connection_id":206292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:15:53] local.INFO: IMEI packet received {"connection_id":206292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":206292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:15:54] local.INFO: TCP Data received {"connection_id":206292,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:15:54] local.INFO: Processing buffer {"connection_id":206292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:15:54] local.INFO: IMEI packet received {"connection_id":206292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":206292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:15:54] local.INFO: TCP Data received {"connection_id":206292,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:15:54] local.INFO: Processing buffer {"connection_id":206292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:15:54] local.INFO: IMEI packet received {"connection_id":206292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":206292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:16:04] local.INFO: TCP Data received {"connection_id":206293,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:16:04] local.INFO: Processing buffer {"connection_id":206293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:16:04] local.INFO: IMEI packet received {"connection_id":206293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":206293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:16:10] local.INFO: TCP Data received {"connection_id":206293,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:16:10] local.INFO: Processing buffer {"connection_id":206293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:16:10] local.INFO: IMEI packet received {"connection_id":206293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":206293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:16:11] local.INFO: TCP Data received {"connection_id":206293,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c16e348012d181e400721afa0004400dc2c..."} 
[2026-10-05 18:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c16e348012d181e400721afa0004400dc2c..."} 
[2026-10-05 18:16:11] local.INFO: Processing buffer {"connection_id":206293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c16e348012d181e400721afa0004400dc2c..."} 
[2026-10-05 18:16:11] local.INFO: Packet analysis {"connection_id":206293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c16"} 
[2026-10-05 18:16:11] local.INFO: Extracted packet for processing {"connection_id":206293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c16"} 
[2026-10-05 18:16:11] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648160,"longitude_deg":75.6555328,"latitude_deg":11.964816,"altitude":68,"angle":220,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721afa0","is_valid_coordinates":true} 
[2026-10-05 18:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548267008001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25235681643069440,"note":"Value kept but may cause issues"} 
[2026-10-05 18:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585696768,"note":"Value kept but may cause issues"} 
[2026-10-05 18:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791204189000,"timestamp_ms":1791204189000,"timestamp_seconds":1791204189,"priority":1,"record_length":96,"hex_timestamp":"000001a10c16e348"} 
[2026-10-05 18:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 18:16:11] 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-10-05 18:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548267008001,"66":12645,"120":206,"28":31744,"24":0,"16":25235681643069440,"45":1737896905585696768},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 18:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548267008001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:16:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 18:16:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25235681643069440,"km_value":25235681643069.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585696768,"description":"Unknown IO ID 45"} 
[2026-10-05 18:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548267008001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585696768}} 
[2026-10-05 18:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":206293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:16:11] local.INFO: GPS data processed {"connection_id":206293,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:16:11] local.INFO: Acknowledgment sent {"connection_id":206293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:16:42] local.INFO: TCP Data received {"connection_id":206293,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c173550012d181e400721afa0004400dc30..."} 
[2026-10-05 18:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c173550012d181e400721afa0004400dc30..."} 
[2026-10-05 18:16:42] local.INFO: Processing buffer {"connection_id":206293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c173550012d181e400721afa0004400dc30..."} 
[2026-10-05 18:16:42] local.INFO: Packet analysis {"connection_id":206293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c17"} 
[2026-10-05 18:16:42] local.INFO: Extracted packet for processing {"connection_id":206293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c17"} 
[2026-10-05 18:16:42] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648160,"longitude_deg":75.6555328,"latitude_deg":11.964816,"altitude":68,"angle":220,"satellites":48,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721afa0","is_valid_coordinates":true} 
[2026-10-05 18:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548272384001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25235681643069440,"note":"Value kept but may cause issues"} 
[2026-10-05 18:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585696768,"note":"Value kept but may cause issues"} 
[2026-10-05 18:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791204210000,"timestamp_ms":1791204210000,"timestamp_seconds":1791204210,"priority":1,"record_length":96,"hex_timestamp":"000001a10c173550"} 
[2026-10-05 18:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:16: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-10-05 18:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 18:16:42] 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-10-05 18:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548272384001,"66":12341,"120":206,"28":31744,"24":0,"16":25235681643069440,"45":1737896905585696768},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 18:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548272384001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:16:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 18:16:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25235681643069440,"km_value":25235681643069.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585696768,"description":"Unknown IO ID 45"} 
[2026-10-05 18:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548272384001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585696768}} 
[2026-10-05 18:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":206293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:16:43] local.INFO: GPS data processed {"connection_id":206293,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:16:43] local.INFO: Acknowledgment sent {"connection_id":206293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:17:04] local.INFO: TCP Data received {"connection_id":204770,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:17:04] local.INFO: Processing buffer {"connection_id":204770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:17:04] local.INFO: IMEI packet received {"connection_id":204770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":204770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:17:04] local.INFO: TCP Data received {"connection_id":204770,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:17:04] local.INFO: Processing buffer {"connection_id":204770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:17:04] local.INFO: IMEI packet received {"connection_id":204770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":204770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:17:13] local.INFO: TCP Data received {"connection_id":204770,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:17:13] local.INFO: Processing buffer {"connection_id":204770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:17:13] local.INFO: IMEI packet received {"connection_id":204770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":204770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:17:14] local.INFO: TCP Data received {"connection_id":204770,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c19c590012d1820000721a788004900882f..."} 
[2026-10-05 18:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c19c590012d1820000721a788004900882f..."} 
[2026-10-05 18:17:14] local.INFO: Processing buffer {"connection_id":204770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c19c590012d1820000721a788004900882f..."} 
[2026-10-05 18:17:14] local.INFO: Packet analysis {"connection_id":204770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c19"} 
[2026-10-05 18:17:14] local.INFO: Extracted packet for processing {"connection_id":204770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c19"} 
[2026-10-05 18:17:14] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119646088,"longitude_deg":75.6555776,"latitude_deg":11.9646088,"altitude":73,"angle":136,"satellites":47,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721a788","is_valid_coordinates":true} 
[2026-10-05 18:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548315392001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25235806197121024,"note":"Value kept but may cause issues"} 
[2026-10-05 18:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864519680,"note":"Value kept but may cause issues"} 
[2026-10-05 18:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791204378000,"timestamp_ms":1791204378000,"timestamp_seconds":1791204378,"priority":1,"record_length":96,"hex_timestamp":"000001a10c19c590"} 
[2026-10-05 18:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-05 18:17:14] 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-10-05 18:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":204770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":204770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":204770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548315392001,"66":14243,"120":206,"28":31744,"24":0,"16":25235806197121024,"45":1737545061864519680},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 18:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548315392001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:17:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 18:17:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25235806197121024,"km_value":25235806197121.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864519680,"description":"Unknown IO ID 45"} 
[2026-10-05 18:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548315392001,"power":14243,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864519680}} 
[2026-10-05 18:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":204770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:17:14] local.INFO: GPS data processed {"connection_id":204770,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:17:14] local.INFO: Acknowledgment sent {"connection_id":204770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:17:49] local.INFO: TCP Data received {"connection_id":204770,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c19d918012d1820c00721a710004900762f..."} 
[2026-10-05 18:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c19d918012d1820c00721a710004900762f..."} 
[2026-10-05 18:17:49] local.INFO: Processing buffer {"connection_id":204770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c19d918012d1820c00721a710004900762f..."} 
[2026-10-05 18:17:49] local.INFO: Packet analysis {"connection_id":204770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c19"} 
[2026-10-05 18:17:49] local.INFO: Extracted packet for processing {"connection_id":204770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c19"} 
[2026-10-05 18:17:49] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119645968,"longitude_deg":75.6555968,"latitude_deg":11.9645968,"altitude":73,"angle":118,"satellites":47,"speed":3,"hex_longitude":"2d1820c0","hex_latitude":"0721a710","is_valid_coordinates":true} 
[2026-10-05 18:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548320768001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25235814787055616,"note":"Value kept but may cause issues"} 
[2026-10-05 18:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794409984,"note":"Value kept but may cause issues"} 
[2026-10-05 18:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1791204383000,"timestamp_ms":1791204383000,"timestamp_seconds":1791204383,"priority":1,"record_length":96,"hex_timestamp":"000001a10c19d918"} 
[2026-10-05 18:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-10-05 18:17:49] 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-10-05 18:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":204770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":204770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":204770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548320768001,"66":14233,"121":206,"28":31744,"24":3,"16":25235814787055616,"45":1738389486794409984},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548320768001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:17:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:17:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25235814787055616,"km_value":25235814787055.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794409984,"description":"Unknown IO ID 45"} 
[2026-10-05 18:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548320768001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1738389486794409984}} 
[2026-10-05 18:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":204770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:17:49] local.INFO: GPS data processed {"connection_id":204770,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:17:49] local.INFO: Acknowledgment sent {"connection_id":204770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:18:04] local.INFO: TCP Data received {"connection_id":206295,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:18:04] local.INFO: Processing buffer {"connection_id":206295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:18:04] local.INFO: IMEI packet received {"connection_id":206295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":206295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:18:05] local.INFO: TCP Data received {"connection_id":206295,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:18:05] local.INFO: Processing buffer {"connection_id":206295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:18:05] local.INFO: IMEI packet received {"connection_id":206295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":206295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:18:08] local.INFO: TCP Data received {"connection_id":206295,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:18:08] local.INFO: Processing buffer {"connection_id":206295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:18:08] local.INFO: IMEI packet received {"connection_id":206295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":206295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:18:09] local.INFO: TCP Data received {"connection_id":206295,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c19e4d0012d1822800721a558004a00842f..."} 
[2026-10-05 18:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c19e4d0012d1822800721a558004a00842f..."} 
[2026-10-05 18:18:09] local.INFO: Processing buffer {"connection_id":206295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c19e4d0012d1822800721a558004a00842f..."} 
[2026-10-05 18:18:09] local.INFO: Packet analysis {"connection_id":206295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c19"} 
[2026-10-05 18:18:09] local.INFO: Extracted packet for processing {"connection_id":206295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c19"} 
[2026-10-05 18:18:09] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119645528,"longitude_deg":75.6556416,"latitude_deg":11.9645528,"altitude":74,"angle":132,"satellites":47,"speed":9,"hex_longitude":"2d182280","hex_latitude":"0721a558","is_valid_coordinates":true} 
[2026-10-05 18:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548322048001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25235844851826688,"note":"Value kept but may cause issues"} 
[2026-10-05 18:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593026912256,"note":"Value kept but may cause issues"} 
[2026-10-05 18:18: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-10-05 18:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791204386000,"timestamp_ms":1791204386000,"timestamp_seconds":1791204386,"priority":1,"record_length":96,"hex_timestamp":"000001a10c19e4d0"} 
[2026-10-05 18:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-05 18:18:09] 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-10-05 18:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":206295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":206295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":206295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548322048001,"66":14233,"121":206,"28":31744,"24":9,"16":25235844851826688,"45":1738600593026912256},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548322048001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:18:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:18:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25235844851826688,"km_value":25235844851826.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593026912256,"description":"Unknown IO ID 45"} 
[2026-10-05 18:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548322048001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1738600593026912256}} 
[2026-10-05 18:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":206295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:18:09] local.INFO: GPS data processed {"connection_id":206295,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:18:09] local.INFO: Acknowledgment sent {"connection_id":206295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:18:36] local.INFO: TCP Data received {"connection_id":204907,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:18:36] local.INFO: Processing buffer {"connection_id":204907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:18:36] local.INFO: IMEI packet received {"connection_id":204907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":204907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:18:36] local.INFO: TCP Data received {"connection_id":204907,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1a4290012d7b534005e1b128000800fe2d..."} 
[2026-10-05 18:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1a4290012d7b534005e1b128000800fe2d..."} 
[2026-10-05 18:18:36] local.INFO: Processing buffer {"connection_id":204907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1a4290012d7b534005e1b128000800fe2d..."} 
[2026-10-05 18:18:36] local.INFO: Packet analysis {"connection_id":204907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1a"} 
[2026-10-05 18:18:36] local.INFO: Extracted packet for processing {"connection_id":204907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1a"} 
[2026-10-05 18:18:36] local.INFO: GPS Element Parsed {"raw_longitude":763056960,"raw_latitude":98677032,"longitude_deg":76.305696,"latitude_deg":9.8677032,"altitude":8,"angle":254,"satellites":45,"speed":15,"hex_longitude":"2d7b5340","hex_latitude":"05e1b128","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548325376001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892146383271981056,"note":"Value kept but may cause issues"} 
[2026-10-05 18:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139833818646315008,"note":"Value kept but may cause issues"} 
[2026-10-05 18:18:36] 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-10-05 18:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791204410000,"timestamp_ms":1791204410000,"timestamp_seconds":1791204410,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1a4290"} 
[2026-10-05 18:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-05 18:18:36] 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-10-05 18: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-10-05 18:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548325376001,"66":13406,"45":8892146383271981056,"85":15104,"24":15,"16":139833818646315008},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 18:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548325376001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892146383271981056,"description":"Unknown IO ID 45"} 
[2026-10-05 18:18:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139833818646315008,"km_value":139833818646315.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:18:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458548325376001,"power":13406,"unknown_45":8892146383271981056,"unknown_85":15104,"ignition":15,"odometer":null}} 
[2026-10-05 18:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":204907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:18:36] local.INFO: GPS data processed {"connection_id":204907,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:18:36] local.INFO: Acknowledgment sent {"connection_id":204907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:18:40] local.INFO: TCP Data received {"connection_id":206295,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1b2520012d18d40007210ac8004200a629..."} 
[2026-10-05 18:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1b2520012d18d40007210ac8004200a629..."} 
[2026-10-05 18:18:40] local.INFO: Processing buffer {"connection_id":206295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1b2520012d18d40007210ac8004200a629..."} 
[2026-10-05 18:18:40] local.INFO: Packet analysis {"connection_id":206295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1b"} 
[2026-10-05 18:18:40] local.INFO: Extracted packet for processing {"connection_id":206295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1b"} 
[2026-10-05 18:18:40] local.INFO: GPS Element Parsed {"raw_longitude":756601856,"raw_latitude":119605960,"longitude_deg":75.6601856,"latitude_deg":11.960596,"altitude":66,"angle":166,"satellites":41,"speed":35,"hex_longitude":"2d18d400","hex_latitude":"07210ac8","is_valid_coordinates":true} 
[2026-10-05 18:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548342016001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25239113321938944,"note":"Value kept but may cause issues"} 
[2026-10-05 18:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788843876361050112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791204468000,"timestamp_ms":1791204468000,"timestamp_seconds":1791204468,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1b2520"} 
[2026-10-05 18:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-10-05 18:18:40] 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-10-05 18:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":206295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":206295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":206295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548342016001,"66":14374,"121":206,"28":31744,"24":35,"16":25239113321938944,"45":1788843876361050112},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548342016001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:18:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:18:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25239113321938944,"km_value":25239113321938.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788843876361050112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548342016001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1788843876361050112}} 
[2026-10-05 18:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":206295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:18:41] local.INFO: GPS data processed {"connection_id":206295,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:18:41] local.INFO: Acknowledgment sent {"connection_id":206295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:19:04] local.INFO: TCP Data received {"connection_id":204772,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:19:04] local.INFO: Processing buffer {"connection_id":204772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:19:04] local.INFO: IMEI packet received {"connection_id":204772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":204772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:19:07] local.INFO: TCP Data received {"connection_id":204772,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:19:07] local.INFO: Processing buffer {"connection_id":204772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:19:07] local.INFO: IMEI packet received {"connection_id":204772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":204772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:19:07] local.INFO: TCP Data received {"connection_id":204907,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1c0b98012d7b478005e15d800008011b23..."} 
[2026-10-05 18:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1c0b98012d7b478005e15d800008011b23..."} 
[2026-10-05 18:19:07] local.INFO: Processing buffer {"connection_id":204907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1c0b98012d7b478005e15d800008011b23..."} 
[2026-10-05 18:19:07] local.INFO: Packet analysis {"connection_id":204907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1c"} 
[2026-10-05 18:19:07] local.INFO: Extracted packet for processing {"connection_id":204907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1c"} 
[2026-10-05 18:19:07] local.INFO: GPS Element Parsed {"raw_longitude":763053952,"raw_latitude":98655616,"longitude_deg":76.3053952,"latitude_deg":9.8655616,"altitude":8,"angle":283,"satellites":35,"speed":3,"hex_longitude":"2d7b4780","hex_latitude":"05e15d80","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548358400001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883491027732494336,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139835059891863552,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19: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-10-05 18:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791204527000,"timestamp_ms":1791204527000,"timestamp_seconds":1791204527,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1c0b98"} 
[2026-10-05 18:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:19: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-10-05 18: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-10-05 18:19:07] 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-10-05 18: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-10-05 18:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548358400001,"66":13319,"45":8883491027732494336,"85":15104,"24":3,"16":139835059891863552},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 18:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548358400001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883491027732494336,"description":"Unknown IO ID 45"} 
[2026-10-05 18:19:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139835059891863552,"km_value":139835059891863.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:19:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458548358400001,"power":13319,"unknown_45":8883491027732494336,"unknown_85":15104,"ignition":3,"odometer":null}} 
[2026-10-05 18:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":204907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:19:07] local.INFO: GPS data processed {"connection_id":204907,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:19:07] local.INFO: Acknowledgment sent {"connection_id":204907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:19:10] local.INFO: TCP Data received {"connection_id":204772,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:19:10] local.INFO: Processing buffer {"connection_id":204772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:19:10] local.INFO: IMEI packet received {"connection_id":204772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":204772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:19:11] local.INFO: TCP Data received {"connection_id":204772,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1b30d8012d18d740072100e80040009a29..."} 
[2026-10-05 18:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1b30d8012d18d740072100e80040009a29..."} 
[2026-10-05 18:19:11] local.INFO: Processing buffer {"connection_id":204772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1b30d8012d18d740072100e80040009a29..."} 
[2026-10-05 18:19:11] local.INFO: Packet analysis {"connection_id":204772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1b"} 
[2026-10-05 18:19:11] local.INFO: Extracted packet for processing {"connection_id":204772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1b"} 
[2026-10-05 18:19:11] local.INFO: GPS Element Parsed {"raw_longitude":756602688,"raw_latitude":119603432,"longitude_deg":75.6602688,"latitude_deg":11.9603432,"altitude":64,"angle":154,"satellites":41,"speed":35,"hex_longitude":"2d18d740","hex_latitude":"072100e8","is_valid_coordinates":true} 
[2026-10-05 18:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548343808001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25239246465925120,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789054982592055296,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791204471000,"timestamp_ms":1791204471000,"timestamp_seconds":1791204471,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1b30d8"} 
[2026-10-05 18:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:19: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-10-05 18:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-05 18:19:11] 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-10-05 18:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548343808001,"66":14102,"121":206,"28":31744,"24":35,"16":25239246465925120,"45":1789054982592055296},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548343808001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:19:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:19:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25239246465925120,"km_value":25239246465925.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789054982592055296,"description":"Unknown IO ID 45"} 
[2026-10-05 18:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548343808001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1789054982592055296}} 
[2026-10-05 18:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":204772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:19:11] local.INFO: GPS data processed {"connection_id":204772,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:19:11] local.INFO: Acknowledgment sent {"connection_id":204772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:19:30] local.INFO: TCP Data received {"connection_id":204909,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:19:30] local.INFO: Processing buffer {"connection_id":204909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:19:30] local.INFO: IMEI packet received {"connection_id":204909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":204909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:19:33] local.INFO: TCP Data received {"connection_id":204909,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:19:33] local.INFO: Processing buffer {"connection_id":204909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:19:33] local.INFO: IMEI packet received {"connection_id":204909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":204909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:19:36] local.INFO: TCP Data received {"connection_id":204909,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:19:36] local.INFO: Processing buffer {"connection_id":204909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:19:36] local.INFO: IMEI packet received {"connection_id":204909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":204909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:19:36] local.INFO: TCP Data received {"connection_id":204909,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1c2ec0012d7b45c005e15e200009014c29..."} 
[2026-10-05 18:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1c2ec0012d7b45c005e15e200009014c29..."} 
[2026-10-05 18:19:36] local.INFO: Processing buffer {"connection_id":204909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1c2ec0012d7b45c005e15e200009014c29..."} 
[2026-10-05 18:19:36] local.INFO: Packet analysis {"connection_id":204909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1c"} 
[2026-10-05 18:19:36] local.INFO: Extracted packet for processing {"connection_id":204909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1c"} 
[2026-10-05 18:19:36] local.INFO: GPS Element Parsed {"raw_longitude":763053504,"raw_latitude":98655776,"longitude_deg":76.3053504,"latitude_deg":9.8655776,"altitude":9,"angle":332,"satellites":41,"speed":4,"hex_longitude":"2d7b45c0","hex_latitude":"05e15e20","is_valid_coordinates":true} 
[2026-10-05 18:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548358912001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883209552755785728,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139835081366700032,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:36] 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-10-05 18:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791204536000,"timestamp_ms":1791204536000,"timestamp_seconds":1791204536,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1c2ec0"} 
[2026-10-05 18:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 18:19:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:36] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":939524096,"corrected_to":0} 
[2026-10-05 18:19:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":3408986112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:36] local.WARNING: Large IO value detected {"io_id":225,"raw_value":7196752243202074368,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-05 18:19:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3781384192,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:36] local.WARNING: Large IO value detected {"io_id":84,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:36] local.WARNING: Large IO value detected {"io_id":27,"raw_value":-7045880322167586811,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:36] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,45,85,24,241,157,16,203,161,3,128,93,9,41,10,66,255,64,40,251,192,1,240,79,227,12,225,4,113,205,193,74,104,37,239,51,2,5,84,27],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":203,"original":939524096,"validated":0},{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-10-05 18:19:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576772064418136064,"timestamp_seconds":576772064418136.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548358912001,"66":13374,"45":8883209552755785728,"85":15104,"24":4,"16":139835081366700032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 18:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548358912001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883209552755785728,"description":"Unknown IO ID 45"} 
[2026-10-05 18:19:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139835081366700032,"km_value":139835081366700.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:19:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458548358912001,"power":13374,"unknown_45":8883209552755785728,"unknown_85":15104,"ignition":4,"odometer":null}} 
[2026-10-05 18:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":204909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969123,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:19:36] local.INFO: GPS data processed {"connection_id":204909,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:19:36] local.INFO: Acknowledgment sent {"connection_id":204909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:19:40] local.INFO: TCP Data received {"connection_id":204773,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204773,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:19:40] local.INFO: Processing buffer {"connection_id":204773,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:19:40] local.INFO: IMEI packet received {"connection_id":204773,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 18:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":204773,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:19:43] local.INFO: TCP Data received {"connection_id":204772,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1c2ec0012d19afc00720af80002e006f27..."} 
[2026-10-05 18:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1c2ec0012d19afc00720af80002e006f27..."} 
[2026-10-05 18:19:43] local.INFO: Processing buffer {"connection_id":204772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1c2ec0012d19afc00720af80002e006f27..."} 
[2026-10-05 18:19:43] local.INFO: Packet analysis {"connection_id":204772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1c"} 
[2026-10-05 18:19:43] local.INFO: Extracted packet for processing {"connection_id":204772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1c"} 
[2026-10-05 18:19:43] local.INFO: GPS Element Parsed {"raw_longitude":756658112,"raw_latitude":119582592,"longitude_deg":75.6658112,"latitude_deg":11.9582592,"altitude":46,"angle":111,"satellites":39,"speed":31,"hex_longitude":"2d19afc0","hex_latitude":"0720af80","is_valid_coordinates":true} 
[2026-10-05 18:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548360704001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25242287302770688,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849149890113923072,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791204536000,"timestamp_ms":1791204536000,"timestamp_seconds":1791204536,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1c2ec0"} 
[2026-10-05 18:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:19: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-10-05 18:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-10-05 18:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146368,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:43] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503984771301376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:43] local.WARNING: Large IO value detected {"io_id":128,"raw_value":84751586777571521,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:43] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:43] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3472883712,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:43] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637916105205625,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:43] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6557504944541597952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-10-05 18:19:43] local.WARNING: Large IO value detected {"io_id":185,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:43] local.WARNING: Large IO value detected {"io_id":70,"raw_value":3221692590,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:43] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:43] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2894856192,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:43] local.WARNING: Large IO value detected {"io_id":152,"raw_value":14355696963301888,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:43] local.WARNING: Large IO value detected {"io_id":25,"raw_value":126108627070615608,"note":"Value kept but may cause issues"} 
[2026-10-05 18:19:43] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,121,28,24,241,158,16,173,161,7,45,180,40,10,66,232,128,174,44,212,1,240,153,172,12,32,4,113,205,185,70,64,39,239,56,2,89,48,43,206,152,25],"length":628,"final_offset":758,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-10-05 18:19:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386814839428022272,"timestamp_seconds":3386814839428022.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548360704001,"66":14265,"121":206,"28":31744,"24":31,"16":25242287302770688,"45":1849149890113923072},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548360704001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:19:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:19:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25242287302770688,"km_value":25242287302770.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849149890113923072,"description":"Unknown IO ID 45"} 
[2026-10-05 18:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548360704001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1849149890113923072}} 
[2026-10-05 18:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":204772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:19:43] local.INFO: GPS data processed {"connection_id":204772,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:19:43] local.INFO: Acknowledgment sent {"connection_id":204772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:20:04] local.INFO: TCP Data received {"connection_id":207852,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:20:04] local.INFO: Processing buffer {"connection_id":207852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:20:04] local.INFO: IMEI packet received {"connection_id":207852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":207852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:20:07] local.INFO: TCP Data received {"connection_id":204909,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1c3690012d7b454005e15fa00009015a29..."} 
[2026-10-05 18:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1c3690012d7b454005e15fa00009015a29..."} 
[2026-10-05 18:20:07] local.INFO: Processing buffer {"connection_id":204909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1c3690012d7b454005e15fa00009015a29..."} 
[2026-10-05 18:20:07] local.INFO: Packet analysis {"connection_id":204909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1c"} 
[2026-10-05 18:20:07] local.INFO: Extracted packet for processing {"connection_id":204909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1c"} 
[2026-10-05 18:20:07] local.INFO: GPS Element Parsed {"raw_longitude":763053376,"raw_latitude":98656160,"longitude_deg":76.3053376,"latitude_deg":9.865616,"altitude":9,"angle":346,"satellites":41,"speed":11,"hex_longitude":"2d7b4540","hex_latitude":"05e15fa0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548361216001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882716971546583040,"note":"Value kept but may cause issues"} 
[2026-10-05 18:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139835102841536512,"note":"Value kept but may cause issues"} 
[2026-10-05 18:20: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-10-05 18:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791204538000,"timestamp_ms":1791204538000,"timestamp_seconds":1791204538,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1c3690"} 
[2026-10-05 18:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:20: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-10-05 18: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-10-05 18:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548361216001,"66":13678,"45":8882716971546583040,"85":15104,"24":11,"16":139835102841536512},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 18:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548361216001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882716971546583040,"description":"Unknown IO ID 45"} 
[2026-10-05 18:20:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139835102841536512,"km_value":139835102841536.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:20:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458548361216001,"power":13678,"unknown_45":8882716971546583040,"unknown_85":15104,"ignition":11,"odometer":null}} 
[2026-10-05 18:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":204909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:20:07] local.INFO: GPS data processed {"connection_id":204909,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:20:07] local.INFO: Acknowledgment sent {"connection_id":204909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:20:09] local.INFO: TCP Data received {"connection_id":207852,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:20:09] local.INFO: Processing buffer {"connection_id":207852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:20:09] local.INFO: IMEI packet received {"connection_id":207852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":207852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:20:10] local.INFO: TCP Data received {"connection_id":207852,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:20:10] local.INFO: Processing buffer {"connection_id":207852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:20:10] local.INFO: IMEI packet received {"connection_id":207852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":207852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:20:11] local.INFO: TCP Data received {"connection_id":207852,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1c4248012d19bac00720a958002e00862a..."} 
[2026-10-05 18:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1c4248012d19bac00720a958002e00862a..."} 
[2026-10-05 18:20:11] local.INFO: Processing buffer {"connection_id":207852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1c4248012d19bac00720a958002e00862a..."} 
[2026-10-05 18:20:11] local.INFO: Packet analysis {"connection_id":207852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1c"} 
[2026-10-05 18:20:11] local.INFO: Extracted packet for processing {"connection_id":207852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1c"} 
[2026-10-05 18:20:11] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119581016,"longitude_deg":75.6660928,"latitude_deg":11.9581016,"altitude":46,"angle":134,"satellites":42,"speed":20,"hex_longitude":"2d19bac0","hex_latitude":"0720a958","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548361216001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25242441921593344,"note":"Value kept but may cause issues"} 
[2026-10-05 18:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850909108718239744,"note":"Value kept but may cause issues"} 
[2026-10-05 18:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791204541000,"timestamp_ms":1791204541000,"timestamp_seconds":1791204541,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1c4248"} 
[2026-10-05 18:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-05 18:20:11] 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-10-05 18: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-10-05 18:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548361216001,"66":14363,"121":206,"28":31744,"24":20,"16":25242441921593344,"45":1850909108718239744},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548361216001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:20:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:20:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25242441921593344,"km_value":25242441921593.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850909108718239744,"description":"Unknown IO ID 45"} 
[2026-10-05 18:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548361216001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1850909108718239744}} 
[2026-10-05 18:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":207852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:20:11] local.INFO: GPS data processed {"connection_id":207852,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:20:11] local.INFO: Acknowledgment sent {"connection_id":207852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:20:15] local.INFO: TCP Data received {"connection_id":207852,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1c4a18012d19bc000720a5c8002f00b32a..."} 
[2026-10-05 18:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1c4a18012d19bc000720a5c8002f00b32a..."} 
[2026-10-05 18:20:15] local.INFO: Processing buffer {"connection_id":207852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1c4a18012d19bc000720a5c8002f00b32a..."} 
[2026-10-05 18:20:15] local.INFO: Packet analysis {"connection_id":207852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1c"} 
[2026-10-05 18:20:15] local.INFO: Extracted packet for processing {"connection_id":207852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1c"} 
[2026-10-05 18:20:15] local.INFO: GPS Element Parsed {"raw_longitude":756661248,"raw_latitude":119580104,"longitude_deg":75.6661248,"latitude_deg":11.9580104,"altitude":47,"angle":179,"satellites":42,"speed":19,"hex_longitude":"2d19bc00","hex_latitude":"0720a5c8","is_valid_coordinates":true} 
[2026-10-05 18:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548362496001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25242489166233600,"note":"Value kept but may cause issues"} 
[2026-10-05 18:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333461653504,"note":"Value kept but may cause issues"} 
[2026-10-05 18:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791204543000,"timestamp_ms":1791204543000,"timestamp_seconds":1791204543,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1c4a18"} 
[2026-10-05 18:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-10-05 18:20:15] 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-10-05 18:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548362496001,"66":14298,"121":206,"28":31744,"24":19,"16":25242489166233600,"45":1854005333461653504},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548362496001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:20:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:20:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25242489166233600,"km_value":25242489166233.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333461653504,"description":"Unknown IO ID 45"} 
[2026-10-05 18:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548362496001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1854005333461653504}} 
[2026-10-05 18:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":207852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:20:15] local.INFO: GPS data processed {"connection_id":207852,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:20:15] local.INFO: Acknowledgment sent {"connection_id":207852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:20:30] local.INFO: TCP Data received {"connection_id":206296,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:20:30] local.INFO: Processing buffer {"connection_id":206296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:20:30] local.INFO: IMEI packet received {"connection_id":206296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":206296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:20:35] local.INFO: TCP Data received {"connection_id":206296,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:20:35] local.INFO: Processing buffer {"connection_id":206296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:20:35] local.INFO: IMEI packet received {"connection_id":206296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":206296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:20:36] local.INFO: TCP Data received {"connection_id":206296,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1c6d40012d7b3ec005e182c8000801621f..."} 
[2026-10-05 18:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1c6d40012d7b3ec005e182c8000801621f..."} 
[2026-10-05 18:20:36] local.INFO: Processing buffer {"connection_id":206296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1c6d40012d7b3ec005e182c8000801621f..."} 
[2026-10-05 18:20:36] local.INFO: Packet analysis {"connection_id":206296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1c"} 
[2026-10-05 18:20:36] local.INFO: Extracted packet for processing {"connection_id":206296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1c"} 
[2026-10-05 18:20:36] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98665160,"longitude_deg":76.3051712,"latitude_deg":9.866516,"altitude":8,"angle":354,"satellites":31,"speed":32,"hex_longitude":"2d7b3ec0","hex_latitude":"05e182c8","is_valid_coordinates":true} 
[2026-10-05 18:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548361728001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882576234058326016,"note":"Value kept but may cause issues"} 
[2026-10-05 18:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139835545223168000,"note":"Value kept but may cause issues"} 
[2026-10-05 18:20:36] 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-10-05 18:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791204552000,"timestamp_ms":1791204552000,"timestamp_seconds":1791204552,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1c6d40"} 
[2026-10-05 18:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 18:20: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-10-05 18:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548361728001,"66":13656,"45":8882576234058326016,"85":15104,"24":32,"16":139835545223168000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 18:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548361728001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882576234058326016,"description":"Unknown IO ID 45"} 
[2026-10-05 18:20:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139835545223168000,"km_value":139835545223168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:20:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458548361728001,"power":13656,"unknown_45":8882576234058326016,"unknown_85":15104,"ignition":32,"odometer":null}} 
[2026-10-05 18:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":206296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:20:36] local.INFO: GPS data processed {"connection_id":206296,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:20:36] local.INFO: Acknowledgment sent {"connection_id":206296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:20:47] local.INFO: TCP Data received {"connection_id":207852,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1c4e00012d19bb400720a3d8002e00c52a..."} 
[2026-10-05 18:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1c4e00012d19bb400720a3d8002e00c52a..."} 
[2026-10-05 18:20:47] local.INFO: Processing buffer {"connection_id":207852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1c4e00012d19bb400720a3d8002e00c52a..."} 
[2026-10-05 18:20:47] local.INFO: Packet analysis {"connection_id":207852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1c"} 
[2026-10-05 18:20:47] local.INFO: Extracted packet for processing {"connection_id":207852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1c"} 
[2026-10-05 18:20:47] local.INFO: GPS Element Parsed {"raw_longitude":756661056,"raw_latitude":119579608,"longitude_deg":75.6661056,"latitude_deg":11.9579608,"altitude":46,"angle":197,"satellites":42,"speed":19,"hex_longitude":"2d19bb40","hex_latitude":"0720a3d8","is_valid_coordinates":true} 
[2026-10-05 18:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548363008001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25242514936037376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854357177182308352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791204544000,"timestamp_ms":1791204544000,"timestamp_seconds":1791204544,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1c4e00"} 
[2026-10-05 18:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-10-05 18:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":207852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":207852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":207852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548363008001,"66":14080,"121":206,"28":31744,"24":19,"16":25242514936037376,"45":1854357177182308352},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548363008001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:20:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:20:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25242514936037376,"km_value":25242514936037.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854357177182308352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548363008001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1854357177182308352}} 
[2026-10-05 18:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":207852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:20:47] local.INFO: GPS data processed {"connection_id":207852,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:20:47] local.INFO: Acknowledgment sent {"connection_id":207852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:20:57] local.INFO: TCP Data received {"connection_id":204774,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:20:57] local.INFO: Processing buffer {"connection_id":204774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:20:57] local.INFO: IMEI packet received {"connection_id":204774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":204774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:20:59] local.INFO: TCP Data received {"connection_id":204774,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1d0598012d7f60000600b568000c00e128..."} 
[2026-10-05 18:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1d0598012d7f60000600b568000c00e128..."} 
[2026-10-05 18:20:59] local.INFO: Processing buffer {"connection_id":204774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1d0598012d7f60000600b568000c00e128..."} 
[2026-10-05 18:20:59] local.INFO: Packet analysis {"connection_id":204774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:20:59] local.INFO: Extracted packet for processing {"connection_id":204774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:20:59] local.INFO: GPS Element Parsed {"raw_longitude":763322368,"raw_latitude":100709736,"longitude_deg":76.3322368,"latitude_deg":10.0709736,"altitude":12,"angle":225,"satellites":40,"speed":30,"hex_longitude":"2d7f6000","hex_latitude":"0600b568","is_valid_coordinates":true} 
[2026-10-05 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-10-05 18:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548372480001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2188668089401344,"note":"Value kept but may cause issues"} 
[2026-10-05 18:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9185232203293843456,"note":"Value kept but may cause issues"} 
[2026-10-05 18:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791204591000,"timestamp_ms":1791204591000,"timestamp_seconds":1791204591,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1d0598"} 
[2026-10-05 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-10-05 18:20: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-10-05 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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-10-05 18:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 18:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":204774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":204774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":204774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:20: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-10-05 18:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548372480001,"66":27441,"21":206,"87":10752,"24":30,"16":2188668089401344,"45":9185232203293843456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,87,24,16,45]} 
[2026-10-05 18:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548372480001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:20:59] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-05 18:20:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2188668089401344,"km_value":2188668089401.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9185232203293843456,"description":"Unknown IO ID 45"} 
[2026-10-05 18:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548372480001,"power":27441,"unknown_21":206,"unknown_87":10752,"ignition":30,"odometer":null,"unknown_45":9185232203293843456}} 
[2026-10-05 18:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":204774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:20:59] local.INFO: GPS data processed {"connection_id":204774,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:20:59] local.INFO: Acknowledgment sent {"connection_id":204774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:21:07] local.INFO: TCP Data received {"connection_id":206296,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1c9838012d7b3b0005e1a708000601641a..."} 
[2026-10-05 18:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1c9838012d7b3b0005e1a708000601641a..."} 
[2026-10-05 18:21:07] local.INFO: Processing buffer {"connection_id":206296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1c9838012d7b3b0005e1a708000601641a..."} 
[2026-10-05 18:21:07] local.INFO: Packet analysis {"connection_id":206296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1c"} 
[2026-10-05 18:21:07] local.INFO: Extracted packet for processing {"connection_id":206296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1c"} 
[2026-10-05 18:21:07] local.INFO: GPS Element Parsed {"raw_longitude":763050752,"raw_latitude":98674440,"longitude_deg":76.3050752,"latitude_deg":9.867444,"altitude":6,"angle":356,"satellites":26,"speed":39,"hex_longitude":"2d7b3b00","hex_latitude":"05e1a708","is_valid_coordinates":true} 
[2026-10-05 18:21: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-10-05 18:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548365312001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646712010752,"note":"Value kept but may cause issues"} 
[2026-10-05 18:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139836000489701376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:21: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-10-05 18:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791204563000,"timestamp_ms":1791204563000,"timestamp_seconds":1791204563,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1c9838"} 
[2026-10-05 18:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:21: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-10-05 18:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-05 18:21:07] 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-10-05 18:21: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-10-05 18:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":206296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":206296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":206296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548365312001,"66":13656,"45":8880746646712010752,"85":15104,"24":39,"16":139836000489701376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 18:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548365312001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646712010752,"description":"Unknown IO ID 45"} 
[2026-10-05 18:21:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139836000489701376,"km_value":139836000489701.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:21:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458548365312001,"power":13656,"unknown_45":8880746646712010752,"unknown_85":15104,"ignition":39,"odometer":null}} 
[2026-10-05 18:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":206296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:21:07] local.INFO: GPS data processed {"connection_id":206296,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:21:07] local.INFO: Acknowledgment sent {"connection_id":206296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:21:10] local.INFO: TCP Data received {"connection_id":204910,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:21:10] local.INFO: Processing buffer {"connection_id":204910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:21:10] local.INFO: IMEI packet received {"connection_id":204910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":204910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:21:11] local.INFO: TCP Data received {"connection_id":204910,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:21:11] local.INFO: Processing buffer {"connection_id":204910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:21:11] local.INFO: IMEI packet received {"connection_id":204910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":204910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:21:13] local.INFO: TCP Data received {"connection_id":204910,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:21:13] local.INFO: Processing buffer {"connection_id":204910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:21:13] local.INFO: IMEI packet received {"connection_id":204910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":204910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:21:30] local.INFO: TCP Data received {"connection_id":204774,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1d4030012d7f470006009cd8000b00de2d..."} 
[2026-10-05 18:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1d4030012d7f470006009cd8000b00de2d..."} 
[2026-10-05 18:21:30] local.INFO: Processing buffer {"connection_id":204774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1d4030012d7f470006009cd8000b00de2d..."} 
[2026-10-05 18:21:30] local.INFO: Packet analysis {"connection_id":204774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:21:30] local.INFO: Extracted packet for processing {"connection_id":204774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:21:30] local.INFO: GPS Element Parsed {"raw_longitude":763315968,"raw_latitude":100703448,"longitude_deg":76.3315968,"latitude_deg":10.0703448,"altitude":11,"angle":222,"satellites":45,"speed":22,"hex_longitude":"2d7f4700","hex_latitude":"06009cd8","is_valid_coordinates":true} 
[2026-10-05 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-10-05 18:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548375296001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2189097586130944,"note":"Value kept but may cause issues"} 
[2026-10-05 18:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9178336066362763264,"note":"Value kept but may cause issues"} 
[2026-10-05 18:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1791204606000,"timestamp_ms":1791204606000,"timestamp_seconds":1791204606,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1d4030"} 
[2026-10-05 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-10-05 18:21: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-10-05 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":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-10-05 18:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 18:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":204774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":204774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":204774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:21: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-10-05 18:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548375296001,"66":27550,"21":206,"87":10752,"24":22,"16":2189097586130944,"45":9178336066362763264},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,87,24,16,45]} 
[2026-10-05 18:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548375296001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:21:30] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-05 18:21:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2189097586130944,"km_value":2189097586130.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9178336066362763264,"description":"Unknown IO ID 45"} 
[2026-10-05 18:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548375296001,"power":27550,"unknown_21":206,"unknown_87":10752,"ignition":22,"odometer":null,"unknown_45":9178336066362763264}} 
[2026-10-05 18:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":204774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:21:30] local.INFO: GPS data processed {"connection_id":204774,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:21:30] local.INFO: Acknowledgment sent {"connection_id":204774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:21:30] local.INFO: TCP Data received {"connection_id":206297,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:21:30] local.INFO: Processing buffer {"connection_id":206297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:21:30] local.INFO: IMEI packet received {"connection_id":206297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":206297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:21:35] local.INFO: TCP Data received {"connection_id":206297,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:21:35] local.INFO: Processing buffer {"connection_id":206297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:21:35] local.INFO: IMEI packet received {"connection_id":206297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":206297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:21:36] local.INFO: TCP Data received {"connection_id":206297,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1cbb60012d7b37c005e1cd90000401611e..."} 
[2026-10-05 18:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1cbb60012d7b37c005e1cd90000401611e..."} 
[2026-10-05 18:21:36] local.INFO: Processing buffer {"connection_id":206297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1cbb60012d7b37c005e1cd90000401611e..."} 
[2026-10-05 18:21:36] local.INFO: Packet analysis {"connection_id":206297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1c"} 
[2026-10-05 18:21:36] local.INFO: Extracted packet for processing {"connection_id":206297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1c"} 
[2026-10-05 18:21:36] local.INFO: GPS Element Parsed {"raw_longitude":763049920,"raw_latitude":98684304,"longitude_deg":76.304992,"latitude_deg":9.8684304,"altitude":4,"angle":353,"satellites":30,"speed":48,"hex_longitude":"2d7b37c0","hex_latitude":"05e1cd90","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548368128001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879691115551721472,"note":"Value kept but may cause issues"} 
[2026-10-05 18:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139836477231071232,"note":"Value kept but may cause issues"} 
[2026-10-05 18:21:36] 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-10-05 18:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791204572000,"timestamp_ms":1791204572000,"timestamp_seconds":1791204572,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1cbb60"} 
[2026-10-05 18:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-05 18:21:36] 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-10-05 18: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-10-05 18:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548368128001,"66":12809,"45":8879691115551721472,"85":15104,"24":48,"16":139836477231071232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 18:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548368128001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879691115551721472,"description":"Unknown IO ID 45"} 
[2026-10-05 18:21:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139836477231071232,"km_value":139836477231071.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:21:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458548368128001,"power":12809,"unknown_45":8879691115551721472,"unknown_85":15104,"ignition":48,"odometer":null}} 
[2026-10-05 18:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":206297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:21:36] local.INFO: GPS data processed {"connection_id":206297,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:21:36] local.INFO: Acknowledgment sent {"connection_id":206297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:21:54] local.INFO: TCP Data received {"connection_id":204775,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:21:54] local.INFO: Processing buffer {"connection_id":204775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:21:54] local.INFO: IMEI packet received {"connection_id":204775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":204775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:21:59] local.INFO: TCP Data received {"connection_id":204775,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:21:59] local.INFO: Processing buffer {"connection_id":204775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:21:59] local.INFO: IMEI packet received {"connection_id":204775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":204775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:22:00] local.INFO: TCP Data received {"connection_id":204775,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1d72f8012d7f2e0006008430000900e02c..."} 
[2026-10-05 18:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1d72f8012d7f2e0006008430000900e02c..."} 
[2026-10-05 18:22:00] local.INFO: Processing buffer {"connection_id":204775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1d72f8012d7f2e0006008430000900e02c..."} 
[2026-10-05 18:22:00] local.INFO: Packet analysis {"connection_id":204775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:22:00] local.INFO: Extracted packet for processing {"connection_id":204775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:22:00] local.INFO: GPS Element Parsed {"raw_longitude":763309568,"raw_latitude":100697136,"longitude_deg":76.3309568,"latitude_deg":10.0697136,"altitude":9,"angle":224,"satellites":44,"speed":27,"hex_longitude":"2d7f2e00","hex_latitude":"06008430","is_valid_coordinates":true} 
[2026-10-05 18:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548379136001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2189531377827840,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171299191943387136,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791204619000,"timestamp_ms":1791204619000,"timestamp_seconds":1791204619,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1d72f8"} 
[2026-10-05 18:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:22: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-10-05 18:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-10-05 18:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:22: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-10-05 18:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548379136001,"66":27343,"21":206,"87":10752,"24":27,"16":2189531377827840,"45":9171299191943387136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,87,24,16,45]} 
[2026-10-05 18:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548379136001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:22:00] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-05 18:22:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2189531377827840,"km_value":2189531377827.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171299191943387136,"description":"Unknown IO ID 45"} 
[2026-10-05 18:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548379136001,"power":27343,"unknown_21":206,"unknown_87":10752,"ignition":27,"odometer":null,"unknown_45":9171299191943387136}} 
[2026-10-05 18:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":204775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:22:00] local.INFO: GPS data processed {"connection_id":204775,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:22:00] local.INFO: Acknowledgment sent {"connection_id":204775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:22:01] local.INFO: TCP Data received {"connection_id":204910,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1d1920012d19dc0007200c60002b00722a..."} 
[2026-10-05 18:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1d1920012d19dc0007200c60002b00722a..."} 
[2026-10-05 18:22:01] local.INFO: Processing buffer {"connection_id":204910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1d1920012d19dc0007200c60002b00722a..."} 
[2026-10-05 18:22:01] local.INFO: Packet analysis {"connection_id":204910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:22:01] local.INFO: Extracted packet for processing {"connection_id":204910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:22:01] local.INFO: GPS Element Parsed {"raw_longitude":756669440,"raw_latitude":119540832,"longitude_deg":75.666944,"latitude_deg":11.9540832,"altitude":43,"angle":114,"satellites":42,"speed":21,"hex_longitude":"2d19dc00","hex_latitude":"07200c60","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548375808001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25244602290143232,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861534789078587392,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791204596000,"timestamp_ms":1791204596000,"timestamp_seconds":1791204596,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1d1920"} 
[2026-10-05 18:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:22: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-10-05 18: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-05 18:22: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-10-05 18: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-10-05 18:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548375808001,"66":14396,"121":206,"28":31744,"24":21,"16":25244602290143232,"45":1861534789078587392},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548375808001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:22:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:22:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25244602290143232,"km_value":25244602290143.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861534789078587392,"description":"Unknown IO ID 45"} 
[2026-10-05 18:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548375808001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1861534789078587392}} 
[2026-10-05 18:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":204910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:22:01] local.INFO: GPS data processed {"connection_id":204910,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:22:01] local.INFO: Acknowledgment sent {"connection_id":204910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:22:04] local.INFO: TCP Data received {"connection_id":204776,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:22:04] local.INFO: Processing buffer {"connection_id":204776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:22:04] local.INFO: IMEI packet received {"connection_id":204776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":204776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:22:07] local.INFO: TCP Data received {"connection_id":204776,"ip":"117.224.165.95","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-10-05 18:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204776,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-10-05 18:22:07] local.INFO: Processing buffer {"connection_id":204776,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-10-05 18:22:07] local.INFO: IMEI packet received {"connection_id":204776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":204776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:22:09] local.INFO: TCP Data received {"connection_id":206297,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1cdaa0012d7b330005e1f1d0000301611e..."} 
[2026-10-05 18:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1cdaa0012d7b330005e1f1d0000301611e..."} 
[2026-10-05 18:22:09] local.INFO: Processing buffer {"connection_id":206297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1cdaa0012d7b330005e1f1d0000301611e..."} 
[2026-10-05 18:22:09] local.INFO: Packet analysis {"connection_id":206297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1c"} 
[2026-10-05 18:22:09] local.INFO: Extracted packet for processing {"connection_id":206297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1c"} 
[2026-10-05 18:22:09] local.INFO: GPS Element Parsed {"raw_longitude":763048704,"raw_latitude":98693584,"longitude_deg":76.3048704,"latitude_deg":9.8693584,"altitude":3,"angle":353,"satellites":30,"speed":39,"hex_longitude":"2d7b3300","hex_latitude":"05e1f1d0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548370432001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878776321879937024,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139836932497604608,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 18:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791204580000,"timestamp_ms":1791204580000,"timestamp_seconds":1791204580,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1cdaa0"} 
[2026-10-05 18:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-05 18:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":504403158433268736,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:09] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":1224736768,"corrected_to":0} 
[2026-10-05 18:22:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:09] local.WARNING: Large IO value detected {"io_id":12,"raw_value":2017577453747915072,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-05 18:22:09] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2550214011,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:09] local.WARNING: Large IO value detected {"io_id":71,"raw_value":2147869021,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:09] local.WARNING: Large IO value detected {"io_id":52,"raw_value":6773639575211396693,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2207414728144130776,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:09] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:09] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,45,85,24,241,157,16,204,161,152,167,6,26,10,66,109,192,130,8,31,203,54,64,1,240,110,227,12,225,4,113,205,11,71,128,35,239,52,2,5,9,59,60],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":203,"original":1224736768,"validated":0},{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-10-05 18:22:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288618632608481280,"timestamp_seconds":288618632608481.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":206297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":206297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":206297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548370432001,"66":13526,"45":8878776321879937024,"85":15104,"24":39,"16":139836932497604608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 18:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548370432001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878776321879937024,"description":"Unknown IO ID 45"} 
[2026-10-05 18:22:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139836932497604608,"km_value":139836932497604.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:22:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458548370432001,"power":13526,"unknown_45":8878776321879937024,"unknown_85":15104,"ignition":39,"odometer":null}} 
[2026-10-05 18:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":206297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:22:09] local.INFO: GPS data processed {"connection_id":206297,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:22:09] local.INFO: Acknowledgment sent {"connection_id":206297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:22:09] local.INFO: TCP Data received {"connection_id":204776,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:22:09] local.INFO: Processing buffer {"connection_id":204776,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-10-05 18:22:09] local.INFO: IMEI packet received {"connection_id":204776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":204776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:22:12] local.INFO: TCP Data received {"connection_id":204776,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1e0f38012d19c580071ff150002c010627..."} 
[2026-10-05 18:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1e0f38012d19c580071ff150002c010627..."} 
[2026-10-05 18:22:12] local.INFO: Processing buffer {"connection_id":204776,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a10c..."} 
[2026-10-05 18:22:12] local.INFO: IMEI packet received {"connection_id":204776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":204776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:22:13] local.INFO: TCP Data received {"connection_id":204776,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1e5970012d19b1c0071fef80002e011129..."} 
[2026-10-05 18:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1e5970012d19b1c0071fef80002e011129..."} 
[2026-10-05 18:22:13] local.INFO: Processing buffer {"connection_id":204776,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a10c1e0f38012d19c580071ff150002c010627..."} 
[2026-10-05 18:22:13] local.INFO: Packet analysis {"connection_id":204776,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a10c1e"} 
[2026-10-05 18:22:13] local.INFO: Extracted packet for processing {"connection_id":204776,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1e"} 
[2026-10-05 18:22:13] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119533904,"longitude_deg":75.666368,"latitude_deg":11.9533904,"altitude":44,"angle":262,"satellites":39,"speed":14,"hex_longitude":"2d19c580","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-10-05 18:22: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-10-05 18:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548392192001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25245177815760896,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857875614379415552,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791204659000,"timestamp_ms":1791204659000,"timestamp_seconds":1791204659,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1e0f38"} 
[2026-10-05 18:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:22: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-10-05 18:22: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":246,"data_length":795,"current_offset":136} 
[2026-10-05 18:22:13] 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-10-05 18:22: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-10-05 18:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":204776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":204776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":204776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548392192001,"66":14102,"121":206,"28":31744,"24":14,"16":25245177815760896,"45":1857875614379415552},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548392192001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:22:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:22:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25245177815760896,"km_value":25245177815760.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857875614379415552,"description":"Unknown IO ID 45"} 
[2026-10-05 18:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548392192001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1857875614379415552}} 
[2026-10-05 18:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":204776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:22:13] local.INFO: GPS data processed {"connection_id":204776,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:22:13] local.INFO: Acknowledgment sent {"connection_id":204776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:22:13] local.INFO: Packet analysis {"connection_id":204776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1e"} 
[2026-10-05 18:22:13] local.INFO: Extracted packet for processing {"connection_id":204776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1e"} 
[2026-10-05 18:22:13] local.INFO: GPS Element Parsed {"raw_longitude":756658624,"raw_latitude":119533440,"longitude_deg":75.6658624,"latitude_deg":11.953344,"altitude":46,"angle":273,"satellites":41,"speed":23,"hex_longitude":"2d19b1c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-10-05 18:22: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-10-05 18:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548392704001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25245418333929472,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189449232384,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791204678000,"timestamp_ms":1791204678000,"timestamp_seconds":1791204678,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1e5970"} 
[2026-10-05 18:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:22: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-10-05 18:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-05 18:22:13] 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-10-05 18:22: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-10-05 18:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":204776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":204776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":204776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548392704001,"66":14080,"121":206,"28":31744,"24":23,"16":25245418333929472,"45":1857031189449232384},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548392704001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:22:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:22:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25245418333929472,"km_value":25245418333929.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189449232384,"description":"Unknown IO ID 45"} 
[2026-10-05 18:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548392704001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1857031189449232384}} 
[2026-10-05 18:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":204776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:22:13] local.INFO: GPS data processed {"connection_id":204776,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:22:13] local.INFO: Acknowledgment sent {"connection_id":204776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:22:31] local.INFO: TCP Data received {"connection_id":204775,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1da9a8012d7f144006006af0000c00e02f..."} 
[2026-10-05 18:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1da9a8012d7f144006006af0000c00e02f..."} 
[2026-10-05 18:22:31] local.INFO: Processing buffer {"connection_id":204775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1da9a8012d7f144006006af0000c00e02f..."} 
[2026-10-05 18:22:31] local.INFO: Packet analysis {"connection_id":204775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:22:31] local.INFO: Extracted packet for processing {"connection_id":204775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:22:31] local.INFO: GPS Element Parsed {"raw_longitude":763302976,"raw_latitude":100690672,"longitude_deg":76.3302976,"latitude_deg":10.0690672,"altitude":12,"angle":224,"satellites":47,"speed":27,"hex_longitude":"2d7f1440","hex_latitude":"06006af0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548382464001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2189973759459328,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9164262317524004864,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791204633000,"timestamp_ms":1791204633000,"timestamp_seconds":1791204633,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1da9a8"} 
[2026-10-05 18:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:22: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-10-05 18:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-05 18:22: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-10-05 18: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-10-05 18:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:22: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-10-05 18:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548382464001,"66":27821,"96":206,"87":10752,"24":27,"16":2189973759459328,"45":9164262317524004864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548382464001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:22:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:22:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2189973759459328,"km_value":2189973759459.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9164262317524004864,"description":"Unknown IO ID 45"} 
[2026-10-05 18:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548382464001,"power":27821,"unknown_96":206,"unknown_87":10752,"ignition":27,"odometer":null,"unknown_45":9164262317524004864}} 
[2026-10-05 18:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":204775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:22:31] local.INFO: GPS data processed {"connection_id":204775,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:22:31] local.INFO: Acknowledgment sent {"connection_id":204775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:22:36] local.INFO: TCP Data received {"connection_id":206298,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:22:36] local.INFO: Processing buffer {"connection_id":206298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:22:36] local.INFO: IMEI packet received {"connection_id":206298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":206298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:22:37] local.INFO: TCP Data received {"connection_id":206298,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:22:37] local.INFO: Processing buffer {"connection_id":206298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:22:37] local.INFO: IMEI packet received {"connection_id":206298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":206298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:22:40] local.INFO: TCP Data received {"connection_id":206298,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:22:40] local.INFO: Processing buffer {"connection_id":206298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:22:40] local.INFO: IMEI packet received {"connection_id":206298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":206298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:22:42] local.INFO: TCP Data received {"connection_id":206298,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1d1538012d7b2ec005e216900001016523..."} 
[2026-10-05 18:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1d1538012d7b2ec005e216900001016523..."} 
[2026-10-05 18:22:42] local.INFO: Processing buffer {"connection_id":206298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1d1538012d7b2ec005e216900001016523..."} 
[2026-10-05 18:22:42] local.INFO: Packet analysis {"connection_id":206298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:22:42] local.INFO: Extracted packet for processing {"connection_id":206298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:22:42] local.INFO: GPS Element Parsed {"raw_longitude":763047616,"raw_latitude":98702992,"longitude_deg":76.3047616,"latitude_deg":9.8702992,"altitude":1,"angle":357,"satellites":35,"speed":34,"hex_longitude":"2d7b2ec0","hex_latitude":"05e21690","is_valid_coordinates":true} 
[2026-10-05 18:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548372480001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877439315742937088,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139837392059105280,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:42] 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-10-05 18:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791204595000,"timestamp_ms":1791204595000,"timestamp_seconds":1791204595,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1d1538"} 
[2026-10-05 18:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-05 18:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548372480001,"66":13276,"45":8877439315742937088,"85":15104,"24":34,"16":139837392059105280},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 18:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548372480001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877439315742937088,"description":"Unknown IO ID 45"} 
[2026-10-05 18:22:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139837392059105280,"km_value":139837392059105.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:22:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458548372480001,"power":13276,"unknown_45":8877439315742937088,"unknown_85":15104,"ignition":34,"odometer":null}} 
[2026-10-05 18:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":206298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:22:42] local.INFO: GPS data processed {"connection_id":206298,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:22:42] local.INFO: Acknowledgment sent {"connection_id":206298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:22:45] local.INFO: TCP Data received {"connection_id":204776,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1f0938012d199b40071fbeb8003800dd28..."} 
[2026-10-05 18:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1f0938012d199b40071fbeb8003800dd28..."} 
[2026-10-05 18:22:45] local.INFO: Processing buffer {"connection_id":204776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1f0938012d199b40071fbeb8003800dd28..."} 
[2026-10-05 18:22:45] local.INFO: Packet analysis {"connection_id":204776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1f"} 
[2026-10-05 18:22:45] local.INFO: Extracted packet for processing {"connection_id":204776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1f"} 
[2026-10-05 18:22:45] local.INFO: GPS Element Parsed {"raw_longitude":756652864,"raw_latitude":119520952,"longitude_deg":75.6652864,"latitude_deg":11.9520952,"altitude":56,"angle":221,"satellites":40,"speed":13,"hex_longitude":"2d199b40","hex_latitude":"071fbeb8","is_valid_coordinates":true} 
[2026-10-05 18:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548408064001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25246337456930816,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846898090284464128,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791204723000,"timestamp_ms":1791204723000,"timestamp_seconds":1791204723,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1f0938"} 
[2026-10-05 18:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-10-05 18:22:45] 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-10-05 18:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":204776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":204776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":204776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548408064001,"66":14102,"121":206,"28":31744,"24":13,"16":25246337456930816,"45":1846898090284464128},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548408064001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:22:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:22:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25246337456930816,"km_value":25246337456930.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846898090284464128,"description":"Unknown IO ID 45"} 
[2026-10-05 18:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548408064001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1846898090284464128}} 
[2026-10-05 18:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":204776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:22:45] local.INFO: GPS data processed {"connection_id":204776,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:22:45] local.INFO: Acknowledgment sent {"connection_id":204776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:22:48] local.INFO: TCP Data received {"connection_id":206298,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1d53b8012d7b29c005e239700000016022..."} 
[2026-10-05 18:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1d53b8012d7b29c005e239700000016022..."} 
[2026-10-05 18:22:48] local.INFO: Processing buffer {"connection_id":206298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1d53b8012d7b29c005e239700000016022..."} 
[2026-10-05 18:22:48] local.INFO: Packet analysis {"connection_id":206298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:22:48] local.INFO: Extracted packet for processing {"connection_id":206298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:22:48] local.INFO: GPS Element Parsed {"raw_longitude":763046336,"raw_latitude":98711920,"longitude_deg":76.3046336,"latitude_deg":9.871192,"altitude":0,"angle":352,"satellites":34,"speed":22,"hex_longitude":"2d7b29c0","hex_latitude":"05e23970","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548376320001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876243047094325248,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139837830145769472,"note":"Value kept but may cause issues"} 
[2026-10-05 18:22:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 18:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791204611000,"timestamp_ms":1791204611000,"timestamp_seconds":1791204611,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1d53b8"} 
[2026-10-05 18:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:22:48] 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-10-05 18: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-05 18:22:48] 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-10-05 18: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-10-05 18:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":206298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":206298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":206298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548376320001,"66":13656,"45":8876243047094325248,"85":15104,"24":22,"16":139837830145769472},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 18:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548376320001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876243047094325248,"description":"Unknown IO ID 45"} 
[2026-10-05 18:22:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139837830145769472,"km_value":139837830145769.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:22:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458548376320001,"power":13656,"unknown_45":8876243047094325248,"unknown_85":15104,"ignition":22,"odometer":null}} 
[2026-10-05 18:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":206298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:22:48] local.INFO: GPS data processed {"connection_id":206298,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:22:48] local.INFO: Acknowledgment sent {"connection_id":206298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:22:54] local.INFO: TCP Data received {"connection_id":204777,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:22:54] local.INFO: Processing buffer {"connection_id":204777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:22:54] local.INFO: IMEI packet received {"connection_id":204777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":204777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:22:59] local.INFO: TCP Data received {"connection_id":204777,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:22:59] local.INFO: Processing buffer {"connection_id":204777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:22:59] local.INFO: IMEI packet received {"connection_id":204777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":204777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:23:00] local.INFO: TCP Data received {"connection_id":204777,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1ddc70012d7efb4006005108000c00dc2e..."} 
[2026-10-05 18:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1ddc70012d7efb4006005108000c00dc2e..."} 
[2026-10-05 18:23:00] local.INFO: Processing buffer {"connection_id":204777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1ddc70012d7efb4006005108000c00dc2e..."} 
[2026-10-05 18:23:00] local.INFO: Packet analysis {"connection_id":204777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:23:00] local.INFO: Extracted packet for processing {"connection_id":204777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:23:00] local.INFO: GPS Element Parsed {"raw_longitude":763296576,"raw_latitude":100684040,"longitude_deg":76.3296576,"latitude_deg":10.068404,"altitude":12,"angle":220,"satellites":46,"speed":28,"hex_longitude":"2d7efb40","hex_latitude":"06005108","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548386048001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190420436058112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9157014336872050688,"note":"Value kept but may cause issues"} 
[2026-10-05 18:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791204646000,"timestamp_ms":1791204646000,"timestamp_seconds":1791204646,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1ddc70"} 
[2026-10-05 18:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:23: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-10-05 18: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 18:23:00] 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-10-05 18: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-10-05 18:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:23: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-10-05 18:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548386048001,"66":27908,"96":206,"87":10752,"24":28,"16":2190420436058112,"45":9157014336872050688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548386048001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:23:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:23:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190420436058112,"km_value":2190420436058.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9157014336872050688,"description":"Unknown IO ID 45"} 
[2026-10-05 18:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548386048001,"power":27908,"unknown_96":206,"unknown_87":10752,"ignition":28,"odometer":null,"unknown_45":9157014336872050688}} 
[2026-10-05 18:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":204777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:23:00] local.INFO: GPS data processed {"connection_id":204777,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:23:00] local.INFO: Acknowledgment sent {"connection_id":204777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:23:04] local.INFO: TCP Data received {"connection_id":204911,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:23:04] local.INFO: Processing buffer {"connection_id":204911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:23:04] local.INFO: IMEI packet received {"connection_id":204911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":204911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:23:10] local.INFO: TCP Data received {"connection_id":204911,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:23:10] local.INFO: Processing buffer {"connection_id":204911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:23:10] local.INFO: IMEI packet received {"connection_id":204911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":204911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:23:11] local.INFO: TCP Data received {"connection_id":204911,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1f0d20012d199a80071fbda8003900ca27..."} 
[2026-10-05 18:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1f0d20012d199a80071fbda8003900ca27..."} 
[2026-10-05 18:23:11] local.INFO: Processing buffer {"connection_id":204911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1f0d20012d199a80071fbda8003900ca27..."} 
[2026-10-05 18:23:11] local.INFO: Packet analysis {"connection_id":204911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1f"} 
[2026-10-05 18:23:11] local.INFO: Extracted packet for processing {"connection_id":204911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1f"} 
[2026-10-05 18:23:11] local.INFO: GPS Element Parsed {"raw_longitude":756652672,"raw_latitude":119520680,"longitude_deg":75.6652672,"latitude_deg":11.952068,"altitude":57,"angle":202,"satellites":39,"speed":11,"hex_longitude":"2d199a80","hex_latitude":"071fbda8","is_valid_coordinates":true} 
[2026-10-05 18:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548409088001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25246350341832704,"note":"Value kept but may cause issues"} 
[2026-10-05 18:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845138871679891456,"note":"Value kept but may cause issues"} 
[2026-10-05 18:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791204724000,"timestamp_ms":1791204724000,"timestamp_seconds":1791204724,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1f0d20"} 
[2026-10-05 18:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-05 18:23:11] 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-10-05 18:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548409088001,"66":14135,"121":206,"28":31744,"24":11,"16":25246350341832704,"45":1845138871679891456},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548409088001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:23:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:23:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25246350341832704,"km_value":25246350341832.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845138871679891456,"description":"Unknown IO ID 45"} 
[2026-10-05 18:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548409088001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1845138871679891456}} 
[2026-10-05 18:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":204911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:23:11] local.INFO: GPS data processed {"connection_id":204911,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:23:11] local.INFO: Acknowledgment sent {"connection_id":204911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:23:30] local.INFO: TCP Data received {"connection_id":204777,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1deff8012d7ef24006004650000c00da2d..."} 
[2026-10-05 18:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1deff8012d7ef24006004650000c00da2d..."} 
[2026-10-05 18:23:30] local.INFO: Processing buffer {"connection_id":204777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1deff8012d7ef24006004650000c00da2d..."} 
[2026-10-05 18:23:30] local.INFO: Packet analysis {"connection_id":204777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:23:30] local.INFO: Extracted packet for processing {"connection_id":204777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:23:30] local.INFO: GPS Element Parsed {"raw_longitude":763294272,"raw_latitude":100681296,"longitude_deg":76.3294272,"latitude_deg":10.0681296,"altitude":12,"angle":218,"satellites":45,"speed":26,"hex_longitude":"2d7ef240","hex_latitude":"06004650","is_valid_coordinates":true} 
[2026-10-05 18:23: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-10-05 18:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548389376001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9149977462452586496,"note":"Value kept but may cause issues"} 
[2026-10-05 18:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1791204651000,"timestamp_ms":1791204651000,"timestamp_seconds":1791204651,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1deff8"} 
[2026-10-05 18:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:23: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-10-05 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 18:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":204777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":204777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":204777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18: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-10-05 18:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548389376001,"66":27865,"96":206,"87":10752,"24":26,"16":2190592234749952,"45":9149977462452586496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548389376001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:23:30] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:23:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9149977462452586496,"description":"Unknown IO ID 45"} 
[2026-10-05 18:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548389376001,"power":27865,"unknown_96":206,"unknown_87":10752,"ignition":26,"odometer":null,"unknown_45":9149977462452586496}} 
[2026-10-05 18:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":204777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:23:30] local.INFO: GPS data processed {"connection_id":204777,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:23:30] local.INFO: Acknowledgment sent {"connection_id":204777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:23:32] local.INFO: TCP Data received {"connection_id":204778,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204778,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:23:32] local.INFO: Processing buffer {"connection_id":204778,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:23:32] local.INFO: IMEI packet received {"connection_id":204778,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":204778,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:23:36] local.INFO: TCP Data received {"connection_id":204778,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204778,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:23:36] local.INFO: Processing buffer {"connection_id":204778,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:23:36] local.INFO: IMEI packet received {"connection_id":204778,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":204778,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:23:40] local.INFO: TCP Data received {"connection_id":204778,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1d9238012d7b23c005e25d880001015e20..."} 
[2026-10-05 18:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1d9238012d7b23c005e25d880001015e20..."} 
[2026-10-05 18:23:40] local.INFO: Processing buffer {"connection_id":204778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1d9238012d7b23c005e25d880001015e20..."} 
[2026-10-05 18:23:40] local.INFO: Packet analysis {"connection_id":204778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:23:40] local.INFO: Extracted packet for processing {"connection_id":204778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:23:40] local.INFO: GPS Element Parsed {"raw_longitude":763044800,"raw_latitude":98721160,"longitude_deg":76.30448,"latitude_deg":9.872116,"altitude":1,"angle":350,"satellites":32,"speed":22,"hex_longitude":"2d7b23c0","hex_latitude":"05e25d88","is_valid_coordinates":true} 
[2026-10-05 18:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548380416001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874835672213057536,"note":"Value kept but may cause issues"} 
[2026-10-05 18:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139838285412302848,"note":"Value kept but may cause issues"} 
[2026-10-05 18:23:40] 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-10-05 18:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791204627000,"timestamp_ms":1791204627000,"timestamp_seconds":1791204627,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1d9238"} 
[2026-10-05 18:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-05 18:23:40] 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-10-05 18:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548380416001,"66":13798,"45":8874835672213057536,"85":15104,"24":22,"16":139838285412302848},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 18:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548380416001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874835672213057536,"description":"Unknown IO ID 45"} 
[2026-10-05 18:23:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139838285412302848,"km_value":139838285412302.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:23:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458548380416001,"power":13798,"unknown_45":8874835672213057536,"unknown_85":15104,"ignition":22,"odometer":null}} 
[2026-10-05 18:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":204778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:23:40] local.INFO: GPS data processed {"connection_id":204778,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:23:40] local.INFO: Acknowledgment sent {"connection_id":204778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:23:43] local.INFO: TCP Data received {"connection_id":204911,"ip":"117.224.165.95","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1fe3f8012d19c5c0071f86480039009627..."} 
[2026-10-05 18:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1fe3f8012d19c5c0071f86480039009627..."} 
[2026-10-05 18:23:43] local.INFO: Processing buffer {"connection_id":204911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1fe3f8012d19c5c0071f86480039009627..."} 
[2026-10-05 18:23:43] local.INFO: Packet analysis {"connection_id":204911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1f"} 
[2026-10-05 18:23:43] local.INFO: Extracted packet for processing {"connection_id":204911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1f"} 
[2026-10-05 18:23:43] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119506504,"longitude_deg":75.6663744,"latitude_deg":11.9506504,"altitude":57,"angle":150,"satellites":39,"speed":14,"hex_longitude":"2d19c5c0","hex_latitude":"071f8648","is_valid_coordinates":true} 
[2026-10-05 18:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548423168001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25247359659147264,"note":"Value kept but may cause issues"} 
[2026-10-05 18:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189442301952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791204779000,"timestamp_ms":1791204779000,"timestamp_seconds":1791204779,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1fe3f8"} 
[2026-10-05 18:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:23: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-10-05 18: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-05 18:23:43] 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-10-05 18: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-10-05 18:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.165.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548423168001,"66":13961,"121":206,"28":31744,"24":14,"16":25247359659147264,"45":1857031189442301952},"client_ip":"117.224.165.95","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548423168001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:23:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:23:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25247359659147264,"km_value":25247359659147.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189442301952,"description":"Unknown IO ID 45"} 
[2026-10-05 18:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548423168001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1857031189442301952}} 
[2026-10-05 18:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":204911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:23:43] local.INFO: GPS data processed {"connection_id":204911,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:23:43] local.INFO: Acknowledgment sent {"connection_id":204911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:23:54] local.INFO: TCP Data received {"connection_id":204912,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:23:54] local.INFO: Processing buffer {"connection_id":204912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:23:54] local.INFO: IMEI packet received {"connection_id":204912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":204912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:23:59] local.INFO: TCP Data received {"connection_id":204912,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:23:59] local.INFO: Processing buffer {"connection_id":204912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:23:59] local.INFO: IMEI packet received {"connection_id":204912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":204912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:23:59] local.INFO: TCP Data received {"connection_id":204912,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1deff8012d7ef24006004650000c00da2d..."} 
[2026-10-05 18:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1deff8012d7ef24006004650000c00da2d..."} 
[2026-10-05 18:24:00] local.INFO: Processing buffer {"connection_id":204912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1deff8012d7ef24006004650000c00da2d..."} 
[2026-10-05 18:24:00] local.INFO: Packet analysis {"connection_id":204912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:24:00] local.INFO: Extracted packet for processing {"connection_id":204912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:24:00] local.INFO: GPS Element Parsed {"raw_longitude":763294272,"raw_latitude":100681296,"longitude_deg":76.3294272,"latitude_deg":10.0681296,"altitude":12,"angle":218,"satellites":45,"speed":26,"hex_longitude":"2d7ef240","hex_latitude":"06004650","is_valid_coordinates":true} 
[2026-10-05 18:24: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-10-05 18:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548389376001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9149977462452586496,"note":"Value kept but may cause issues"} 
[2026-10-05 18:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791204651000,"timestamp_ms":1791204651000,"timestamp_seconds":1791204651,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1deff8"} 
[2026-10-05 18:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:24: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-10-05 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 18:24: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-10-05 18: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-10-05 18:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:24: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-10-05 18:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548389376001,"66":27865,"96":206,"87":10752,"24":26,"16":2190592234749952,"45":9149977462452586496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548389376001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:24:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:24:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9149977462452586496,"description":"Unknown IO ID 45"} 
[2026-10-05 18:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548389376001,"power":27865,"unknown_96":206,"unknown_87":10752,"ignition":26,"odometer":null,"unknown_45":9149977462452586496}} 
[2026-10-05 18:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":204912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:24:00] local.INFO: GPS data processed {"connection_id":204912,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:24:00] local.INFO: Acknowledgment sent {"connection_id":204912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:24:12] local.INFO: TCP Data received {"connection_id":207853,"ip":"117.224.165.95","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:24:12] local.INFO: Processing buffer {"connection_id":207853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:24:12] local.INFO: IMEI packet received {"connection_id":207853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":207853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:24:14] local.INFO: TCP Data received {"connection_id":204778,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c207480012d7af54005e37e28000701502e..."} 
[2026-10-05 18:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c207480012d7af54005e37e28000701502e..."} 
[2026-10-05 18:24:14] local.INFO: Processing buffer {"connection_id":204778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c207480012d7af54005e37e28000701502e..."} 
[2026-10-05 18:24:14] local.INFO: Packet analysis {"connection_id":204778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c20"} 
[2026-10-05 18:24:14] local.INFO: Extracted packet for processing {"connection_id":204778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c20"} 
[2026-10-05 18:24:14] local.INFO: GPS Element Parsed {"raw_longitude":763032896,"raw_latitude":98795048,"longitude_deg":76.3032896,"latitude_deg":9.8795048,"altitude":7,"angle":336,"satellites":46,"speed":7,"hex_longitude":"2d7af540","hex_latitude":"05e37e28","is_valid_coordinates":true} 
[2026-10-05 18:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548427520001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139841944724439040,"note":"Value kept but may cause issues"} 
[2026-10-05 18:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861324873351149568,"note":"Value kept but may cause issues"} 
[2026-10-05 18:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791204816000,"timestamp_ms":1791204816000,"timestamp_seconds":1791204816,"priority":1,"record_length":96,"hex_timestamp":"000001a10c207480"} 
[2026-10-05 18:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:24: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-10-05 18:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-05 18:24:14] 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-10-05 18:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":204778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":204778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":204778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548427520001,"66":12385,"208":206,"85":15104,"24":7,"16":139841944724439040,"45":8861324873351149568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 18:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548427520001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:24:14] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 18:24:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139841944724439040,"km_value":139841944724439.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861324873351149568,"description":"Unknown IO ID 45"} 
[2026-10-05 18:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548427520001,"power":12385,"unknown_208":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8861324873351149568}} 
[2026-10-05 18:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":204778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:24:14] local.INFO: GPS data processed {"connection_id":204778,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:24:14] local.INFO: Acknowledgment sent {"connection_id":204778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:24:15] local.INFO: TCP Data received {"connection_id":207853,"ip":"117.224.165.95","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-10-05 18:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207853,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-10-05 18:24:15] local.INFO: Processing buffer {"connection_id":207853,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-10-05 18:24:15] local.INFO: IMEI packet received {"connection_id":207853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":207853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:24:30] local.INFO: TCP Data received {"connection_id":204779,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:24:30] local.INFO: Processing buffer {"connection_id":204779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:24:30] local.INFO: IMEI packet received {"connection_id":204779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":204779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:24:30] local.INFO: TCP Data received {"connection_id":204912,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1deff8012d7ef24006004650000c00da2d..."} 
[2026-10-05 18:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1deff8012d7ef24006004650000c00da2d..."} 
[2026-10-05 18:24:30] local.INFO: Processing buffer {"connection_id":204912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1deff8012d7ef24006004650000c00da2d..."} 
[2026-10-05 18:24:30] local.INFO: Packet analysis {"connection_id":204912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:24:30] local.INFO: Extracted packet for processing {"connection_id":204912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:24:30] local.INFO: GPS Element Parsed {"raw_longitude":763294272,"raw_latitude":100681296,"longitude_deg":76.3294272,"latitude_deg":10.0681296,"altitude":12,"angle":218,"satellites":45,"speed":26,"hex_longitude":"2d7ef240","hex_latitude":"06004650","is_valid_coordinates":true} 
[2026-10-05 18:24: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-10-05 18:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548389376001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9149977462452586496,"note":"Value kept but may cause issues"} 
[2026-10-05 18:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1791204651000,"timestamp_ms":1791204651000,"timestamp_seconds":1791204651,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1deff8"} 
[2026-10-05 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-10-05 18:24: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-10-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 18:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 18:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":204912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":204912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":204912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:24: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-10-05 18:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548389376001,"66":27865,"96":206,"87":10752,"24":26,"16":2190592234749952,"45":9149977462452586496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548389376001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:24:30] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:24:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9149977462452586496,"description":"Unknown IO ID 45"} 
[2026-10-05 18:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548389376001,"power":27865,"unknown_96":206,"unknown_87":10752,"ignition":26,"odometer":null,"unknown_45":9149977462452586496}} 
[2026-10-05 18:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":204912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:24:30] local.INFO: GPS data processed {"connection_id":204912,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:24:30] local.INFO: Acknowledgment sent {"connection_id":204912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:24:36] local.INFO: TCP Data received {"connection_id":204779,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:24:36] local.INFO: Processing buffer {"connection_id":204779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:24:36] local.INFO: IMEI packet received {"connection_id":204779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":204779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:24:38] local.INFO: TCP Data received {"connection_id":204779,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c20a748012d7af34005e384900005015e2e..."} 
[2026-10-05 18:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c20a748012d7af34005e384900005015e2e..."} 
[2026-10-05 18:24:38] local.INFO: Processing buffer {"connection_id":204779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c20a748012d7af34005e384900005015e2e..."} 
[2026-10-05 18:24:38] local.INFO: Packet analysis {"connection_id":204779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c20"} 
[2026-10-05 18:24:38] local.INFO: Extracted packet for processing {"connection_id":204779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c20"} 
[2026-10-05 18:24:38] local.INFO: GPS Element Parsed {"raw_longitude":763032384,"raw_latitude":98796688,"longitude_deg":76.3032384,"latitude_deg":9.8796688,"altitude":5,"angle":350,"satellites":46,"speed":8,"hex_longitude":"2d7af340","hex_latitude":"05e38490","is_valid_coordinates":true} 
[2026-10-05 18:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548432896001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139842030623784960,"note":"Value kept but may cause issues"} 
[2026-10-05 18:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860058235957028864,"note":"Value kept but may cause issues"} 
[2026-10-05 18:24:38] 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-10-05 18:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791204829000,"timestamp_ms":1791204829000,"timestamp_seconds":1791204829,"priority":1,"record_length":96,"hex_timestamp":"000001a10c20a748"} 
[2026-10-05 18:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 18:24:38] 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-10-05 18:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548432896001,"66":12298,"208":206,"85":15104,"24":8,"16":139842030623784960,"45":8860058235957028864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 18:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548432896001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:24:38] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 18:24:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139842030623784960,"km_value":139842030623784.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860058235957028864,"description":"Unknown IO ID 45"} 
[2026-10-05 18:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548432896001,"power":12298,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8860058235957028864}} 
[2026-10-05 18:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":204779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:24:38] local.INFO: GPS data processed {"connection_id":204779,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:24:38] local.INFO: Acknowledgment sent {"connection_id":204779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:24:54] local.INFO: TCP Data received {"connection_id":206299,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:24:54] local.INFO: Processing buffer {"connection_id":206299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:24:54] local.INFO: IMEI packet received {"connection_id":206299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":206299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:24:59] local.INFO: TCP Data received {"connection_id":206299,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:24:59] local.INFO: Processing buffer {"connection_id":206299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:24:59] local.INFO: IMEI packet received {"connection_id":206299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":206299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:25:00] local.INFO: TCP Data received {"connection_id":206299,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1deff8012d7ef24006004650000c00da2d..."} 
[2026-10-05 18:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1deff8012d7ef24006004650000c00da2d..."} 
[2026-10-05 18:25:00] local.INFO: Processing buffer {"connection_id":206299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1deff8012d7ef24006004650000c00da2d..."} 
[2026-10-05 18:25:00] local.INFO: Packet analysis {"connection_id":206299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:25:00] local.INFO: Extracted packet for processing {"connection_id":206299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:25:00] local.INFO: GPS Element Parsed {"raw_longitude":763294272,"raw_latitude":100681296,"longitude_deg":76.3294272,"latitude_deg":10.0681296,"altitude":12,"angle":218,"satellites":45,"speed":26,"hex_longitude":"2d7ef240","hex_latitude":"06004650","is_valid_coordinates":true} 
[2026-10-05 18:25: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-10-05 18:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548389376001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9149977462452586496,"note":"Value kept but may cause issues"} 
[2026-10-05 18:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791204651000,"timestamp_ms":1791204651000,"timestamp_seconds":1791204651,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1deff8"} 
[2026-10-05 18:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18: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-10-05 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 18:25: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-10-05 18: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-10-05 18:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:25: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-10-05 18:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548389376001,"66":27865,"96":206,"87":10752,"24":26,"16":2190592234749952,"45":9149977462452586496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548389376001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:25:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:25:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9149977462452586496,"description":"Unknown IO ID 45"} 
[2026-10-05 18:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548389376001,"power":27865,"unknown_96":206,"unknown_87":10752,"ignition":26,"odometer":null,"unknown_45":9149977462452586496}} 
[2026-10-05 18:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":206299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:25:00] local.INFO: GPS data processed {"connection_id":206299,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:25:00] local.INFO: Acknowledgment sent {"connection_id":206299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:25:10] local.INFO: TCP Data received {"connection_id":204779,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c20d240012d7aef4005e390e8000601522d..."} 
[2026-10-05 18:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c20d240012d7aef4005e390e8000601522d..."} 
[2026-10-05 18:25:10] local.INFO: Processing buffer {"connection_id":204779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c20d240012d7aef4005e390e8000601522d..."} 
[2026-10-05 18:25:10] local.INFO: Packet analysis {"connection_id":204779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c20"} 
[2026-10-05 18:25:10] local.INFO: Extracted packet for processing {"connection_id":204779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c20"} 
[2026-10-05 18:25:10] local.INFO: GPS Element Parsed {"raw_longitude":763031360,"raw_latitude":98799848,"longitude_deg":76.303136,"latitude_deg":9.8799848,"altitude":6,"angle":338,"satellites":45,"speed":15,"hex_longitude":"2d7aef40","hex_latitude":"05e390e8","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548436224001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139842189537574912,"note":"Value kept but may cause issues"} 
[2026-10-05 18:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859495286004027392,"note":"Value kept but may cause issues"} 
[2026-10-05 18:25:10] 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-10-05 18:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791204840000,"timestamp_ms":1791204840000,"timestamp_seconds":1791204840,"priority":1,"record_length":96,"hex_timestamp":"000001a10c20d240"} 
[2026-10-05 18:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 18:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":424206979158769664,"note":"Value kept but may cause issues"} 
[2026-10-05 18:25:10] local.WARNING: Large IO value detected {"io_id":208,"raw_value":5764607523034234881,"note":"Value kept but may cause issues"} 
[2026-10-05 18:25:10] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436617478656,"note":"Value kept but may cause issues"} 
[2026-10-05 18:25:10] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186096,"note":"Value kept but may cause issues"} 
[2026-10-05 18:25:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 18:25:10] local.WARNING: Large IO value detected {"io_id":161,"raw_value":873401219071965962,"note":"Value kept but may cause issues"} 
[2026-10-05 18:25:10] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832603,"note":"Value kept but may cause issues"} 
[2026-10-05 18:25:10] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3816520091295547598,"note":"Value kept but may cause issues"} 
[2026-10-05 18:25:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":3500408832,"note":"Value kept but may cause issues"} 
[2026-10-05 18:25:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-10-05 18:25:10] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3489738107,"note":"Value kept but may cause issues"} 
[2026-10-05 18:25:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3810017280,"note":"Value kept but may cause issues"} 
[2026-10-05 18:25:10] local.WARNING: Large IO value detected {"io_id":39,"raw_value":1688849860919300,"note":"Value kept but may cause issues"} 
[2026-10-05 18:25:10] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,208,85,24,241,157,16,209,161,116,45,64,126,7,46,10,66,34,192,109,47,1,240,101,227,12,4,113,205,67,5,216,37,239,2,39],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-10-05 18:25:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360672996828381184,"timestamp_seconds":360672996828381.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548436224001,"66":12613,"208":206,"85":15104,"24":15,"16":139842189537574912,"45":8859495286004027392},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 18:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548436224001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:25:10] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 18:25:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139842189537574912,"km_value":139842189537574.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859495286004027392,"description":"Unknown IO ID 45"} 
[2026-10-05 18:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548436224001,"power":12613,"unknown_208":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8859495286004027392}} 
[2026-10-05 18:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":204779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:25:10] local.INFO: GPS data processed {"connection_id":204779,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:25:10] local.INFO: Acknowledgment sent {"connection_id":204779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:25:31] local.INFO: TCP Data received {"connection_id":206299,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1deff8012d7ef24006004650000c00da2d..."} 
[2026-10-05 18:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1deff8012d7ef24006004650000c00da2d..."} 
[2026-10-05 18:25:31] local.INFO: Processing buffer {"connection_id":206299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1deff8012d7ef24006004650000c00da2d..."} 
[2026-10-05 18:25:31] local.INFO: Packet analysis {"connection_id":206299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:25:31] local.INFO: Extracted packet for processing {"connection_id":206299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:25:31] local.INFO: GPS Element Parsed {"raw_longitude":763294272,"raw_latitude":100681296,"longitude_deg":76.3294272,"latitude_deg":10.0681296,"altitude":12,"angle":218,"satellites":45,"speed":26,"hex_longitude":"2d7ef240","hex_latitude":"06004650","is_valid_coordinates":true} 
[2026-10-05 18:25: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-10-05 18:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548389376001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9149977462452586496,"note":"Value kept but may cause issues"} 
[2026-10-05 18:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791204651000,"timestamp_ms":1791204651000,"timestamp_seconds":1791204651,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1deff8"} 
[2026-10-05 18:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18: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-10-05 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 18:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:25: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-10-05 18:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548389376001,"66":27865,"96":206,"87":10752,"24":26,"16":2190592234749952,"45":9149977462452586496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548389376001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:25:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:25:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9149977462452586496,"description":"Unknown IO ID 45"} 
[2026-10-05 18:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548389376001,"power":27865,"unknown_96":206,"unknown_87":10752,"ignition":26,"odometer":null,"unknown_45":9149977462452586496}} 
[2026-10-05 18:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":206299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:25:31] local.INFO: GPS data processed {"connection_id":206299,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:25:31] local.INFO: Acknowledgment sent {"connection_id":206299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:25:31] local.INFO: TCP Data received {"connection_id":206300,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:25:31] local.INFO: Processing buffer {"connection_id":206300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:25:31] local.INFO: IMEI packet received {"connection_id":206300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":206300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:25:47] local.INFO: TCP Data received {"connection_id":206300,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:25:47] local.INFO: Processing buffer {"connection_id":206300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:25:47] local.INFO: IMEI packet received {"connection_id":206300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":206300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:25:51] local.INFO: TCP Data received {"connection_id":206300,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2114a8012d7ae44005e3b2f8000501562e..."} 
[2026-10-05 18:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2114a8012d7ae44005e3b2f8000501562e..."} 
[2026-10-05 18:25:51] local.INFO: Processing buffer {"connection_id":206300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2114a8012d7ae44005e3b2f8000501562e..."} 
[2026-10-05 18:25:51] local.INFO: Packet analysis {"connection_id":206300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c21"} 
[2026-10-05 18:25:51] local.INFO: Extracted packet for processing {"connection_id":206300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c21"} 
[2026-10-05 18:25:51] local.INFO: GPS Element Parsed {"raw_longitude":763028544,"raw_latitude":98808568,"longitude_deg":76.3028544,"latitude_deg":9.8808568,"altitude":5,"angle":342,"satellites":46,"speed":19,"hex_longitude":"2d7ae440","hex_latitude":"05e3b2f8","is_valid_coordinates":true} 
[2026-10-05 18:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548439040001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139842636214173696,"note":"Value kept but may cause issues"} 
[2026-10-05 18:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858369386097993728,"note":"Value kept but may cause issues"} 
[2026-10-05 18:25:51] 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-10-05 18:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791204857000,"timestamp_ms":1791204857000,"timestamp_seconds":1791204857,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2114a8"} 
[2026-10-05 18:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 18:25:51] 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-10-05 18:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":206300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":206300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":206300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548439040001,"66":12200,"208":206,"85":15104,"24":19,"16":139842636214173696,"45":8858369386097993728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 18:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548439040001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:25:51] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 18:25:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139842636214173696,"km_value":139842636214173.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858369386097993728,"description":"Unknown IO ID 45"} 
[2026-10-05 18:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548439040001,"power":12200,"unknown_208":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8858369386097993728}} 
[2026-10-05 18:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":206300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:25:51] local.INFO: GPS data processed {"connection_id":206300,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:25:51] local.INFO: Acknowledgment sent {"connection_id":206300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:25:59] local.INFO: TCP Data received {"connection_id":206301,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:25:59] local.INFO: Processing buffer {"connection_id":206301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:25:59] local.INFO: IMEI packet received {"connection_id":206301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":206301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:26:04] local.INFO: TCP Data received {"connection_id":206301,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:26:04] local.INFO: Processing buffer {"connection_id":206301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:26:04] local.INFO: IMEI packet received {"connection_id":206301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":206301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:26:05] local.INFO: TCP Data received {"connection_id":206301,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1deff8012d7ef24006004650000c00da2d..."} 
[2026-10-05 18:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1deff8012d7ef24006004650000c00da2d..."} 
[2026-10-05 18:26:05] local.INFO: Processing buffer {"connection_id":206301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1deff8012d7ef24006004650000c00da2d..."} 
[2026-10-05 18:26:05] local.INFO: Packet analysis {"connection_id":206301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:26:05] local.INFO: Extracted packet for processing {"connection_id":206301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:26:05] local.INFO: GPS Element Parsed {"raw_longitude":763294272,"raw_latitude":100681296,"longitude_deg":76.3294272,"latitude_deg":10.0681296,"altitude":12,"angle":218,"satellites":45,"speed":26,"hex_longitude":"2d7ef240","hex_latitude":"06004650","is_valid_coordinates":true} 
[2026-10-05 18:26: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-10-05 18:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548389376001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9149977462452586496,"note":"Value kept but may cause issues"} 
[2026-10-05 18:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791204651000,"timestamp_ms":1791204651000,"timestamp_seconds":1791204651,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1deff8"} 
[2026-10-05 18:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 18:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":206301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":206301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":206301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548389376001,"66":27865,"96":206,"87":10752,"24":26,"16":2190592234749952,"45":9149977462452586496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548389376001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:26:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:26:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9149977462452586496,"description":"Unknown IO ID 45"} 
[2026-10-05 18:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548389376001,"power":27865,"unknown_96":206,"unknown_87":10752,"ignition":26,"odometer":null,"unknown_45":9149977462452586496}} 
[2026-10-05 18:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":206301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:26:05] local.INFO: GPS data processed {"connection_id":206301,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:26:05] local.INFO: Acknowledgment sent {"connection_id":206301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:26:09] local.INFO: TCP Data received {"connection_id":206301,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10c1deff8012d7ef24006004650000c00da2d..."} 
[2026-10-05 18:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c1deff8012d7ef24006004650000c00da2d..."} 
[2026-10-05 18:26:09] local.INFO: Processing buffer {"connection_id":206301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c1deff8012d7ef24006004650000c00da2d..."} 
[2026-10-05 18:26:09] local.INFO: Packet analysis {"connection_id":206301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:26:09] local.INFO: Extracted packet for processing {"connection_id":206301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c1d"} 
[2026-10-05 18:26:09] local.INFO: GPS Element Parsed {"raw_longitude":763294272,"raw_latitude":100681296,"longitude_deg":76.3294272,"latitude_deg":10.0681296,"altitude":12,"angle":218,"satellites":45,"speed":26,"hex_longitude":"2d7ef240","hex_latitude":"06004650","is_valid_coordinates":true} 
[2026-10-05 18:26: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-10-05 18:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548389376001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9149977462452586496,"note":"Value kept but may cause issues"} 
[2026-10-05 18:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791204651000,"timestamp_ms":1791204651000,"timestamp_seconds":1791204651,"priority":1,"record_length":96,"hex_timestamp":"000001a10c1deff8"} 
[2026-10-05 18:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:26:09] 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-10-05 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 18:26: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-10-05 18: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-10-05 18:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":206301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":206301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":206301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:26: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-10-05 18:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548389376001,"66":27865,"96":206,"87":10752,"24":26,"16":2190592234749952,"45":9149977462452586496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548389376001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:26:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:26:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9149977462452586496,"description":"Unknown IO ID 45"} 
[2026-10-05 18:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548389376001,"power":27865,"unknown_96":206,"unknown_87":10752,"ignition":26,"odometer":null,"unknown_45":9149977462452586496}} 
[2026-10-05 18:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":206301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:26:09] local.INFO: GPS data processed {"connection_id":206301,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:26:09] local.INFO: Acknowledgment sent {"connection_id":206301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:26:36] local.INFO: TCP Data received {"connection_id":206302,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:26:36] local.INFO: Processing buffer {"connection_id":206302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:26:36] local.INFO: IMEI packet received {"connection_id":206302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":206302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:26:42] local.INFO: TCP Data received {"connection_id":206302,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:26:42] local.INFO: Processing buffer {"connection_id":206302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:26:42] local.INFO: IMEI packet received {"connection_id":206302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":206302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:26:44] local.INFO: TCP Data received {"connection_id":206302,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2162c8012d7adb8005e3d2700007015a2c..."} 
[2026-10-05 18:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2162c8012d7adb8005e3d2700007015a2c..."} 
[2026-10-05 18:26:44] local.INFO: Processing buffer {"connection_id":206302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2162c8012d7adb8005e3d2700007015a2c..."} 
[2026-10-05 18:26:44] local.INFO: Packet analysis {"connection_id":206302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c21"} 
[2026-10-05 18:26:44] local.INFO: Extracted packet for processing {"connection_id":206302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c21"} 
[2026-10-05 18:26:44] local.INFO: GPS Element Parsed {"raw_longitude":763026304,"raw_latitude":98816624,"longitude_deg":76.3026304,"latitude_deg":9.8816624,"altitude":7,"angle":346,"satellites":44,"speed":10,"hex_longitude":"2d7adb80","hex_latitude":"05e3d270","is_valid_coordinates":true} 
[2026-10-05 18:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548443392001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139843044236066816,"note":"Value kept but may cause issues"} 
[2026-10-05 18:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8855273161356408832,"note":"Value kept but may cause issues"} 
[2026-10-05 18:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791204877000,"timestamp_ms":1791204877000,"timestamp_seconds":1791204877,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2162c8"} 
[2026-10-05 18:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-10-05 18:26:44] 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-10-05 18:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":206302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":206302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":206302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548443392001,"66":12689,"208":206,"85":15104,"24":10,"16":139843044236066816,"45":8855273161356408832},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 18:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548443392001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:26:44] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 18:26:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139843044236066816,"km_value":139843044236066.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8855273161356408832,"description":"Unknown IO ID 45"} 
[2026-10-05 18:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548443392001,"power":12689,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8855273161356408832}} 
[2026-10-05 18:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":206302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:26:44] local.INFO: GPS data processed {"connection_id":206302,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:26:44] local.INFO: Acknowledgment sent {"connection_id":206302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:26:45] local.INFO: TCP Data received {"connection_id":206302,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c219d60012d7ad34005e3f5e80007015c2d..."} 
[2026-10-05 18:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c219d60012d7ad34005e3f5e80007015c2d..."} 
[2026-10-05 18:26:45] local.INFO: Processing buffer {"connection_id":206302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c219d60012d7ad34005e3f5e80007015c2d..."} 
[2026-10-05 18:26:45] local.INFO: Packet analysis {"connection_id":206302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c21"} 
[2026-10-05 18:26:45] local.INFO: Extracted packet for processing {"connection_id":206302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c21"} 
[2026-10-05 18:26:45] local.INFO: GPS Element Parsed {"raw_longitude":763024192,"raw_latitude":98825704,"longitude_deg":76.3024192,"latitude_deg":9.8825704,"altitude":7,"angle":348,"satellites":45,"speed":31,"hex_longitude":"2d7ad340","hex_latitude":"05e3f5e8","is_valid_coordinates":true} 
[2026-10-05 18:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548448512001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139843495207632896,"note":"Value kept but may cause issues"} 
[2026-10-05 18:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852810255312252928,"note":"Value kept but may cause issues"} 
[2026-10-05 18:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791204892000,"timestamp_ms":1791204892000,"timestamp_seconds":1791204892,"priority":1,"record_length":96,"hex_timestamp":"000001a10c219d60"} 
[2026-10-05 18:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 18:26: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-10-05 18:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":206302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":206302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":206302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548448512001,"66":12526,"208":206,"85":15104,"24":31,"16":139843495207632896,"45":8852810255312252928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 18:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548448512001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:26:45] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 18:26:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139843495207632896,"km_value":139843495207632.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852810255312252928,"description":"Unknown IO ID 45"} 
[2026-10-05 18:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548448512001,"power":12526,"unknown_208":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8852810255312252928}} 
[2026-10-05 18:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":206302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:26:45] local.INFO: GPS data processed {"connection_id":206302,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:26:45] local.INFO: Acknowledgment sent {"connection_id":206302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:26:55] local.INFO: TCP Data received {"connection_id":204914,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:26:55] local.INFO: Processing buffer {"connection_id":204914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:26:55] local.INFO: IMEI packet received {"connection_id":204914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":204914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:26:59] local.INFO: TCP Data received {"connection_id":204914,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:26:59] local.INFO: Processing buffer {"connection_id":204914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:26:59] local.INFO: IMEI packet received {"connection_id":204914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":204914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:27:00] local.INFO: TCP Data received {"connection_id":204914,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:27:00] local.INFO: Processing buffer {"connection_id":204914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:27:00] local.INFO: Packet analysis {"connection_id":204914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c22"} 
[2026-10-05 18:27:00] local.INFO: Extracted packet for processing {"connection_id":204914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c22"} 
[2026-10-05 18:27:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":49,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548390656001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9147444187661488128,"note":"Value kept but may cause issues"} 
[2026-10-05 18:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791204957000,"timestamp_ms":1791204957000,"timestamp_seconds":1791204957,"priority":1,"record_length":96,"hex_timestamp":"000001a10c229b48"} 
[2026-10-05 18:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:27: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-10-05 18:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 18: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-10-05 18:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:27: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-10-05 18:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548390656001,"66":25625,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9147444187661488128},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548390656001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:27:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:27:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9147444187661488128,"description":"Unknown IO ID 45"} 
[2026-10-05 18:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548390656001,"power":25625,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9147444187661488128}} 
[2026-10-05 18:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":204914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:27:00] local.INFO: GPS data processed {"connection_id":204914,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:27:00] local.INFO: Acknowledgment sent {"connection_id":204914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:27:31] local.INFO: TCP Data received {"connection_id":207854,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:27:31] local.INFO: Processing buffer {"connection_id":207854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:27:31] local.INFO: IMEI packet received {"connection_id":207854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":207854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:27:31] local.INFO: TCP Data received {"connection_id":204914,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:27:31] local.INFO: Processing buffer {"connection_id":204914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:27:31] local.INFO: Packet analysis {"connection_id":204914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c22"} 
[2026-10-05 18:27:31] local.INFO: Extracted packet for processing {"connection_id":204914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c22"} 
[2026-10-05 18:27:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":49,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548390656001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9147444187661488128,"note":"Value kept but may cause issues"} 
[2026-10-05 18:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791204957000,"timestamp_ms":1791204957000,"timestamp_seconds":1791204957,"priority":1,"record_length":96,"hex_timestamp":"000001a10c229b48"} 
[2026-10-05 18:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:27: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-10-05 18:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 18:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:27: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-10-05 18:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548390656001,"66":25625,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9147444187661488128},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548390656001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:27:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:27:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9147444187661488128,"description":"Unknown IO ID 45"} 
[2026-10-05 18:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548390656001,"power":25625,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9147444187661488128}} 
[2026-10-05 18:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":204914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:27:31] local.INFO: GPS data processed {"connection_id":204914,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:27:31] local.INFO: Acknowledgment sent {"connection_id":204914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:27:36] local.INFO: TCP Data received {"connection_id":207854,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:27:36] local.INFO: Processing buffer {"connection_id":207854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:27:36] local.INFO: IMEI packet received {"connection_id":207854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":207854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:27:38] local.INFO: TCP Data received {"connection_id":207854,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c21d028012d7acc4005e40f580004014d2e..."} 
[2026-10-05 18:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c21d028012d7acc4005e40f580004014d2e..."} 
[2026-10-05 18:27:38] local.INFO: Processing buffer {"connection_id":207854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c21d028012d7acc4005e40f580004014d2e..."} 
[2026-10-05 18:27:38] local.INFO: Packet analysis {"connection_id":207854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c21"} 
[2026-10-05 18:27:38] local.INFO: Extracted packet for processing {"connection_id":207854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c21"} 
[2026-10-05 18:27:38] local.INFO: GPS Element Parsed {"raw_longitude":763022400,"raw_latitude":98832216,"longitude_deg":76.30224,"latitude_deg":9.8832216,"altitude":4,"angle":333,"satellites":46,"speed":14,"hex_longitude":"2d7acc40","hex_latitude":"05e40f58","is_valid_coordinates":true} 
[2026-10-05 18:27: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-10-05 18:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548452352001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139843821625147392,"note":"Value kept but may cause issues"} 
[2026-10-05 18:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850488086756714496,"note":"Value kept but may cause issues"} 
[2026-10-05 18:27:38] 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-10-05 18:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791204905000,"timestamp_ms":1791204905000,"timestamp_seconds":1791204905,"priority":1,"record_length":96,"hex_timestamp":"000001a10c21d028"} 
[2026-10-05 18:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 18:27:38] 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-10-05 18: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-10-05 18:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548452352001,"66":12743,"208":206,"85":15104,"24":14,"16":139843821625147392,"45":8850488086756714496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 18:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548452352001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:27:38] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 18:27:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139843821625147392,"km_value":139843821625147.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850488086756714496,"description":"Unknown IO ID 45"} 
[2026-10-05 18:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548452352001,"power":12743,"unknown_208":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8850488086756714496}} 
[2026-10-05 18:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":207854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:27:38] local.INFO: GPS data processed {"connection_id":207854,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:27:38] local.INFO: Acknowledgment sent {"connection_id":207854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:27:54] local.INFO: TCP Data received {"connection_id":206303,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:27:54] local.INFO: Processing buffer {"connection_id":206303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:27:54] local.INFO: IMEI packet received {"connection_id":206303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":206303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:27:59] local.INFO: TCP Data received {"connection_id":206303,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:27:59] local.INFO: Processing buffer {"connection_id":206303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:27:59] local.INFO: IMEI packet received {"connection_id":206303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":206303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:28:00] local.INFO: TCP Data received {"connection_id":206303,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:28:00] local.INFO: Processing buffer {"connection_id":206303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:28:00] local.INFO: Packet analysis {"connection_id":206303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c22"} 
[2026-10-05 18:28:00] local.INFO: Extracted packet for processing {"connection_id":206303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c22"} 
[2026-10-05 18:28:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":49,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 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-10-05 18:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548390656001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9147444187661488128,"note":"Value kept but may cause issues"} 
[2026-10-05 18:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791204957000,"timestamp_ms":1791204957000,"timestamp_seconds":1791204957,"priority":1,"record_length":96,"hex_timestamp":"000001a10c229b48"} 
[2026-10-05 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-10-05 18:28: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-10-05 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 18:28: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-10-05 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-10-05 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-10-05 18:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:28:00] 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-10-05 18:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548390656001,"66":25625,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9147444187661488128},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548390656001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:28:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:28:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9147444187661488128,"description":"Unknown IO ID 45"} 
[2026-10-05 18:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548390656001,"power":25625,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9147444187661488128}} 
[2026-10-05 18:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":206303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:28:00] local.INFO: GPS data processed {"connection_id":206303,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:28:00] local.INFO: Acknowledgment sent {"connection_id":206303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:28:09] local.INFO: TCP Data received {"connection_id":207854,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c21d7f8012d7aca0005e412080005013d2f..."} 
[2026-10-05 18:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c21d7f8012d7aca0005e412080005013d2f..."} 
[2026-10-05 18:28:09] local.INFO: Processing buffer {"connection_id":207854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c21d7f8012d7aca0005e412080005013d2f..."} 
[2026-10-05 18:28:09] local.INFO: Packet analysis {"connection_id":207854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c21"} 
[2026-10-05 18:28:09] local.INFO: Extracted packet for processing {"connection_id":207854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c21"} 
[2026-10-05 18:28:09] local.INFO: GPS Element Parsed {"raw_longitude":763021824,"raw_latitude":98832904,"longitude_deg":76.3021824,"latitude_deg":9.8832904,"altitude":5,"angle":317,"satellites":47,"speed":22,"hex_longitude":"2d7aca00","hex_latitude":"05e41208","is_valid_coordinates":true} 
[2026-10-05 18:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548455680001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139843864574820352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848517761921406976,"note":"Value kept but may cause issues"} 
[2026-10-05 18:28:09] 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-10-05 18:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791204907000,"timestamp_ms":1791204907000,"timestamp_seconds":1791204907,"priority":1,"record_length":96,"hex_timestamp":"000001a10c21d7f8"} 
[2026-10-05 18:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 18:28:09] 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-10-05 18:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":207854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":207854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":207854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548455680001,"66":12298,"208":206,"85":15104,"24":22,"16":139843864574820352,"45":8848517761921406976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 18:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548455680001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:28:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 18:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139843864574820352,"km_value":139843864574820.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848517761921406976,"description":"Unknown IO ID 45"} 
[2026-10-05 18:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548455680001,"power":12298,"unknown_208":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8848517761921406976}} 
[2026-10-05 18:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":207854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:28:09] local.INFO: GPS data processed {"connection_id":207854,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:28:09] local.INFO: Acknowledgment sent {"connection_id":207854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:28:30] local.INFO: TCP Data received {"connection_id":204917,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204917,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:28:30] local.INFO: Processing buffer {"connection_id":204917,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:28:30] local.INFO: IMEI packet received {"connection_id":204917,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":204917,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:28:31] local.INFO: TCP Data received {"connection_id":206303,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:28:31] local.INFO: Processing buffer {"connection_id":206303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:28:31] local.INFO: Packet analysis {"connection_id":206303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c22"} 
[2026-10-05 18:28:31] local.INFO: Extracted packet for processing {"connection_id":206303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c22"} 
[2026-10-05 18:28:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":49,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 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-10-05 18:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548390656001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9147444187661488128,"note":"Value kept but may cause issues"} 
[2026-10-05 18:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791204957000,"timestamp_ms":1791204957000,"timestamp_seconds":1791204957,"priority":1,"record_length":96,"hex_timestamp":"000001a10c229b48"} 
[2026-10-05 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-10-05 18:28: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-10-05 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":217,"data_length":795,"current_offset":136} 
[2026-10-05 18:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 18:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:28:31] 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-10-05 18:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548390656001,"66":25625,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9147444187661488128},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548390656001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:28:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:28:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9147444187661488128,"description":"Unknown IO ID 45"} 
[2026-10-05 18:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548390656001,"power":25625,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9147444187661488128}} 
[2026-10-05 18:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":206303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:28:31] local.INFO: GPS data processed {"connection_id":206303,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:28:31] local.INFO: Acknowledgment sent {"connection_id":206303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:28:36] local.INFO: TCP Data received {"connection_id":204917,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204917,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:28:36] local.INFO: Processing buffer {"connection_id":204917,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:28:36] local.INFO: IMEI packet received {"connection_id":204917,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":204917,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:28:37] local.INFO: TCP Data received {"connection_id":204917,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c21ff08012d7ab14005e42b40000501382e..."} 
[2026-10-05 18:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c21ff08012d7ab14005e42b40000501382e..."} 
[2026-10-05 18:28:37] local.INFO: Processing buffer {"connection_id":204917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c21ff08012d7ab14005e42b40000501382e..."} 
[2026-10-05 18:28:37] local.INFO: Packet analysis {"connection_id":204917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c21"} 
[2026-10-05 18:28:37] local.INFO: Extracted packet for processing {"connection_id":204917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c21"} 
[2026-10-05 18:28:37] local.INFO: GPS Element Parsed {"raw_longitude":763015488,"raw_latitude":98839360,"longitude_deg":76.3015488,"latitude_deg":9.883936,"altitude":5,"angle":312,"satellites":46,"speed":46,"hex_longitude":"2d7ab140","hex_latitude":"05e42b40","is_valid_coordinates":true} 
[2026-10-05 18:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548456192001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139844302661484544,"note":"Value kept but may cause issues"} 
[2026-10-05 18:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847884443223984128,"note":"Value kept but may cause issues"} 
[2026-10-05 18:28: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-10-05 18:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791204917000,"timestamp_ms":1791204917000,"timestamp_seconds":1791204917,"priority":1,"record_length":96,"hex_timestamp":"000001a10c21ff08"} 
[2026-10-05 18:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:28: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-10-05 18:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 18:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 18:28:37] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436651033088,"note":"Value kept but may cause issues"} 
[2026-10-05 18:28:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186096,"note":"Value kept but may cause issues"} 
[2026-10-05 18:28:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 18:28:37] local.WARNING: Large IO value detected {"io_id":161,"raw_value":873826420834269941,"note":"Value kept but may cause issues"} 
[2026-10-05 18:28:37] local.WARNING: Large IO value detected {"io_id":64,"raw_value":424321500167209296,"note":"Value kept but may cause issues"} 
[2026-10-05 18:28:37] local.WARNING: Large IO value detected {"io_id":46,"raw_value":1970324837629956,"note":"Value kept but may cause issues"} 
[2026-10-05 18:28:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832603,"note":"Value kept but may cause issues"} 
[2026-10-05 18:28:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145663410382,"note":"Value kept but may cause issues"} 
[2026-10-05 18:28:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":3518693376,"note":"Value kept but may cause issues"} 
[2026-10-05 18:28:37] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3002597381,"note":"Value kept but may cause issues"} 
[2026-10-05 18:28:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-10-05 18:28:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":98566819517825024,"note":"Value kept but may cause issues"} 
[2026-10-05 18:28:37] local.WARNING: Large IO value detected {"io_id":209,"raw_value":-7638104968020361215,"note":"Value kept but may cause issues"} 
[2026-10-05 18:28:37] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,208,85,24,241,157,16,211,161,45,64,15,4,46,10,66,245,7,210,98,128,1,240,145,227,12,113,205,19,239,232,49,2,5,209],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-10-05 18:28:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360636717240549376,"timestamp_seconds":360636717240549.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548456192001,"66":12613,"208":206,"85":15104,"24":46,"16":139844302661484544,"45":8847884443223984128},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 18:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548456192001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:28:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 18:28:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139844302661484544,"km_value":139844302661484.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847884443223984128,"description":"Unknown IO ID 45"} 
[2026-10-05 18:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548456192001,"power":12613,"unknown_208":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8847884443223984128}} 
[2026-10-05 18:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":204917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:28:37] local.INFO: GPS data processed {"connection_id":204917,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:28:37] local.INFO: Acknowledgment sent {"connection_id":204917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:28:54] local.INFO: TCP Data received {"connection_id":204918,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:28:54] local.INFO: Processing buffer {"connection_id":204918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:28:54] local.INFO: IMEI packet received {"connection_id":204918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":204918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:28:59] local.INFO: TCP Data received {"connection_id":204918,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:28:59] local.INFO: Processing buffer {"connection_id":204918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:28:59] local.INFO: IMEI packet received {"connection_id":204918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":204918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:28:59] local.INFO: TCP Data received {"connection_id":204918,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:29:00] local.INFO: Processing buffer {"connection_id":204918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:29:00] local.INFO: Packet analysis {"connection_id":204918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c22"} 
[2026-10-05 18:29:00] local.INFO: Extracted packet for processing {"connection_id":204918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c22"} 
[2026-10-05 18:29:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":49,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548390656001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9147444187661488128,"note":"Value kept but may cause issues"} 
[2026-10-05 18:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791204957000,"timestamp_ms":1791204957000,"timestamp_seconds":1791204957,"priority":1,"record_length":96,"hex_timestamp":"000001a10c229b48"} 
[2026-10-05 18:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:29: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-10-05 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 18:29: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-10-05 18: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-10-05 18:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:29:00] 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-10-05 18:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548390656001,"66":25625,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9147444187661488128},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548390656001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:29:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:29:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9147444187661488128,"description":"Unknown IO ID 45"} 
[2026-10-05 18:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548390656001,"power":25625,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9147444187661488128}} 
[2026-10-05 18:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":204918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:29:00] local.INFO: GPS data processed {"connection_id":204918,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:29:00] local.INFO: Acknowledgment sent {"connection_id":204918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:29:08] local.INFO: TCP Data received {"connection_id":204917,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c222230012d7a938005e443d8000401362f..."} 
[2026-10-05 18:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c222230012d7a938005e443d8000401362f..."} 
[2026-10-05 18:29:08] local.INFO: Processing buffer {"connection_id":204917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c222230012d7a938005e443d8000401362f..."} 
[2026-10-05 18:29:08] local.INFO: Packet analysis {"connection_id":204917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c22"} 
[2026-10-05 18:29:08] local.INFO: Extracted packet for processing {"connection_id":204917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c22"} 
[2026-10-05 18:29:08] local.INFO: GPS Element Parsed {"raw_longitude":763007872,"raw_latitude":98845656,"longitude_deg":76.3007872,"latitude_deg":9.8845656,"altitude":4,"angle":310,"satellites":47,"speed":39,"hex_longitude":"2d7a9380","hex_latitude":"05e443d8","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548458752001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139844775107887104,"note":"Value kept but may cause issues"} 
[2026-10-05 18:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840917937552048128,"note":"Value kept but may cause issues"} 
[2026-10-05 18:29:08] 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-10-05 18:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791204926000,"timestamp_ms":1791204926000,"timestamp_seconds":1791204926,"priority":1,"record_length":96,"hex_timestamp":"000001a10c222230"} 
[2026-10-05 18:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:29: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-10-05 18:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 18:29: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-10-05 18: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-10-05 18:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548458752001,"66":12461,"208":206,"85":15104,"24":39,"16":139844775107887104,"45":8840917937552048128},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 18:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548458752001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:29:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 18:29:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139844775107887104,"km_value":139844775107887.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840917937552048128,"description":"Unknown IO ID 45"} 
[2026-10-05 18:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548458752001,"power":12461,"unknown_208":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8840917937552048128}} 
[2026-10-05 18:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":204917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:29:08] local.INFO: GPS data processed {"connection_id":204917,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:29:08] local.INFO: Acknowledgment sent {"connection_id":204917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:29:14] local.INFO: TCP Data received {"connection_id":207855,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:29:14] local.INFO: Processing buffer {"connection_id":207855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:29:14] local.INFO: IMEI packet received {"connection_id":207855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":207855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:29:16] local.INFO: TCP Data received {"connection_id":207855,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c246c20012d19c880071f2688004b013f2c..."} 
[2026-10-05 18:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c246c20012d19c880071f2688004b013f2c..."} 
[2026-10-05 18:29:16] local.INFO: Processing buffer {"connection_id":207855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c246c20012d19c880071f2688004b013f2c..."} 
[2026-10-05 18:29:16] local.INFO: Packet analysis {"connection_id":207855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c24"} 
[2026-10-05 18:29:16] local.INFO: Extracted packet for processing {"connection_id":207855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c24"} 
[2026-10-05 18:29:16] local.INFO: GPS Element Parsed {"raw_longitude":756664448,"raw_latitude":119481992,"longitude_deg":75.6664448,"latitude_deg":11.9481992,"altitude":75,"angle":319,"satellites":44,"speed":12,"hex_longitude":"2d19c880","hex_latitude":"071f2688","is_valid_coordinates":true} 
[2026-10-05 18:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548498944001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25250722618540032,"note":"Value kept but may cause issues"} 
[2026-10-05 18:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858086720598484992,"note":"Value kept but may cause issues"} 
[2026-10-05 18:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791205076000,"timestamp_ms":1791205076000,"timestamp_seconds":1791205076,"priority":1,"record_length":96,"hex_timestamp":"000001a10c246c20"} 
[2026-10-05 18:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:29: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-10-05 18:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-10-05 18:29:16] 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-10-05 18:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548498944001,"66":13906,"121":206,"28":31744,"24":12,"16":25250722618540032,"45":1858086720598484992},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548498944001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:29:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:29:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25250722618540032,"km_value":25250722618540.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858086720598484992,"description":"Unknown IO ID 45"} 
[2026-10-05 18:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548498944001,"power":13906,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1858086720598484992}} 
[2026-10-05 18:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":207855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:29:16] local.INFO: GPS data processed {"connection_id":207855,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:29:16] local.INFO: Acknowledgment sent {"connection_id":207855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:29:30] local.INFO: TCP Data received {"connection_id":204919,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204919,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:29:30] local.INFO: Processing buffer {"connection_id":204919,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:29:30] local.INFO: IMEI packet received {"connection_id":204919,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":204919,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:29:31] local.INFO: TCP Data received {"connection_id":204918,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:29:31] local.INFO: Processing buffer {"connection_id":204918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:29:31] local.INFO: Packet analysis {"connection_id":204918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c22"} 
[2026-10-05 18:29:31] local.INFO: Extracted packet for processing {"connection_id":204918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c22"} 
[2026-10-05 18:29:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":49,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548390656001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9147444187661488128,"note":"Value kept but may cause issues"} 
[2026-10-05 18:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791204957000,"timestamp_ms":1791204957000,"timestamp_seconds":1791204957,"priority":1,"record_length":96,"hex_timestamp":"000001a10c229b48"} 
[2026-10-05 18:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:29: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-10-05 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 18:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:29:31] 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-10-05 18:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548390656001,"66":25625,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9147444187661488128},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548390656001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:29:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:29:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9147444187661488128,"description":"Unknown IO ID 45"} 
[2026-10-05 18:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548390656001,"power":25625,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9147444187661488128}} 
[2026-10-05 18:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":204918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:29:31] local.INFO: GPS data processed {"connection_id":204918,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:29:31] local.INFO: Acknowledgment sent {"connection_id":204918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:29:36] local.INFO: TCP Data received {"connection_id":204919,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204919,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:29:36] local.INFO: Processing buffer {"connection_id":204919,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:29:36] local.INFO: IMEI packet received {"connection_id":204919,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":204919,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:29:37] local.INFO: TCP Data received {"connection_id":204919,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c224940012d7a770005e45a30000501342e..."} 
[2026-10-05 18:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c224940012d7a770005e45a30000501342e..."} 
[2026-10-05 18:29:37] local.INFO: Processing buffer {"connection_id":204919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c224940012d7a770005e45a30000501342e..."} 
[2026-10-05 18:29:37] local.INFO: Packet analysis {"connection_id":204919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c22"} 
[2026-10-05 18:29:37] local.INFO: Extracted packet for processing {"connection_id":204919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c22"} 
[2026-10-05 18:29:37] local.INFO: GPS Element Parsed {"raw_longitude":763000576,"raw_latitude":98851376,"longitude_deg":76.3000576,"latitude_deg":9.8851376,"altitude":5,"angle":308,"satellites":46,"speed":29,"hex_longitude":"2d7a7700","hex_latitude":"05e45a30","is_valid_coordinates":true} 
[2026-10-05 18:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548461056001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139845221784485888,"note":"Value kept but may cause issues"} 
[2026-10-05 18:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832544056996517888,"note":"Value kept but may cause issues"} 
[2026-10-05 18:29: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-10-05 18:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791204936000,"timestamp_ms":1791204936000,"timestamp_seconds":1791204936,"priority":1,"record_length":96,"hex_timestamp":"000001a10c224940"} 
[2026-10-05 18:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:29:37] 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-10-05 18:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 18:29:37] 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-10-05 18:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548461056001,"66":12493,"208":206,"85":15104,"24":29,"16":139845221784485888,"45":8832544056996517888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 18:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548461056001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:29:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 18:29:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139845221784485888,"km_value":139845221784485.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832544056996517888,"description":"Unknown IO ID 45"} 
[2026-10-05 18:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548461056001,"power":12493,"unknown_208":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8832544056996517888}} 
[2026-10-05 18:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":204919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969171,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:29:37] local.INFO: GPS data processed {"connection_id":204919,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:29:37] local.INFO: Acknowledgment sent {"connection_id":204919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:29:51] local.INFO: TCP Data received {"connection_id":207855,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c255a68012d19b4c0071f8840003a013c2c..."} 
[2026-10-05 18:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c255a68012d19b4c0071f8840003a013c2c..."} 
[2026-10-05 18:29:51] local.INFO: Processing buffer {"connection_id":207855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c255a68012d19b4c0071f8840003a013c2c..."} 
[2026-10-05 18:29:51] local.INFO: Packet analysis {"connection_id":207855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c25"} 
[2026-10-05 18:29:51] local.INFO: Extracted packet for processing {"connection_id":207855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c25"} 
[2026-10-05 18:29:51] local.INFO: GPS Element Parsed {"raw_longitude":756659392,"raw_latitude":119507008,"longitude_deg":75.6659392,"latitude_deg":11.9507008,"altitude":58,"angle":316,"satellites":44,"speed":14,"hex_longitude":"2d19b4c0","hex_latitude":"071f8840","is_valid_coordinates":true} 
[2026-10-05 18:29: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-10-05 18:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548514816001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25252273101733888,"note":"Value kept but may cause issues"} 
[2026-10-05 18:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852668327303270400,"note":"Value kept but may cause issues"} 
[2026-10-05 18:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791205137000,"timestamp_ms":1791205137000,"timestamp_seconds":1791205137,"priority":1,"record_length":96,"hex_timestamp":"000001a10c255a68"} 
[2026-10-05 18:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-05 18:29:51] 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-10-05 18:29: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-10-05 18:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":207855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":207855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":207855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548514816001,"66":13722,"121":206,"28":31744,"24":14,"16":25252273101733888,"45":1852668327303270400},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548514816001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:29:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:29:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25252273101733888,"km_value":25252273101733.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852668327303270400,"description":"Unknown IO ID 45"} 
[2026-10-05 18:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548514816001,"power":13722,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1852668327303270400}} 
[2026-10-05 18:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":207855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:29:51] local.INFO: GPS data processed {"connection_id":207855,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:29:51] local.INFO: Acknowledgment sent {"connection_id":207855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:29:59] local.INFO: TCP Data received {"connection_id":207856,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:29:59] local.INFO: Processing buffer {"connection_id":207856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:29:59] local.INFO: IMEI packet received {"connection_id":207856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":207856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:30:04] local.INFO: TCP Data received {"connection_id":207856,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:30:04] local.INFO: Processing buffer {"connection_id":207856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:30:04] local.INFO: IMEI packet received {"connection_id":207856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":207856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:30:05] local.INFO: TCP Data received {"connection_id":207856,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:30:05] local.INFO: Processing buffer {"connection_id":207856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:30:05] local.INFO: Packet analysis {"connection_id":207856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c22"} 
[2026-10-05 18:30:05] local.INFO: Extracted packet for processing {"connection_id":207856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c22"} 
[2026-10-05 18:30:05] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":49,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548390656001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9147444187661488128,"note":"Value kept but may cause issues"} 
[2026-10-05 18:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791204957000,"timestamp_ms":1791204957000,"timestamp_seconds":1791204957,"priority":1,"record_length":96,"hex_timestamp":"000001a10c229b48"} 
[2026-10-05 18:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:30: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-10-05 18:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 18:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:30:05] 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-10-05 18:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548390656001,"66":25625,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9147444187661488128},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548390656001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:30:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:30:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9147444187661488128,"description":"Unknown IO ID 45"} 
[2026-10-05 18:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548390656001,"power":25625,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9147444187661488128}} 
[2026-10-05 18:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":207856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:30:05] local.INFO: GPS data processed {"connection_id":207856,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:30:05] local.INFO: Acknowledgment sent {"connection_id":207856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:30:09] local.INFO: TCP Data received {"connection_id":204920,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:30:09] local.INFO: Processing buffer {"connection_id":204920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:30:09] local.INFO: IMEI packet received {"connection_id":204920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":204920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:30:10] local.INFO: TCP Data received {"connection_id":207856,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:30:10] local.INFO: Processing buffer {"connection_id":207856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:30:10] local.INFO: Packet analysis {"connection_id":207856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c22"} 
[2026-10-05 18:30:10] local.INFO: Extracted packet for processing {"connection_id":207856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c22"} 
[2026-10-05 18:30:10] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":49,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548390656001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9147444187661488128,"note":"Value kept but may cause issues"} 
[2026-10-05 18:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791204957000,"timestamp_ms":1791204957000,"timestamp_seconds":1791204957,"priority":1,"record_length":96,"hex_timestamp":"000001a10c229b48"} 
[2026-10-05 18:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 18:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:30:10] 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-10-05 18:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548390656001,"66":25625,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9147444187661488128},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548390656001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:30:10] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:30:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9147444187661488128,"description":"Unknown IO ID 45"} 
[2026-10-05 18:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548390656001,"power":25625,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9147444187661488128}} 
[2026-10-05 18:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":207856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:30:10] local.INFO: GPS data processed {"connection_id":207856,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:30:10] local.INFO: Acknowledgment sent {"connection_id":207856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:30:13] local.INFO: TCP Data received {"connection_id":204920,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:30:13] local.INFO: Processing buffer {"connection_id":204920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:30:13] local.INFO: IMEI packet received {"connection_id":204920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":204920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:30:15] local.INFO: TCP Data received {"connection_id":204920,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c256238012d19b300071f8a90003a01482c..."} 
[2026-10-05 18:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c256238012d19b300071f8a90003a01482c..."} 
[2026-10-05 18:30:15] local.INFO: Processing buffer {"connection_id":204920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c256238012d19b300071f8a90003a01482c..."} 
[2026-10-05 18:30:15] local.INFO: Packet analysis {"connection_id":204920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c25"} 
[2026-10-05 18:30:15] local.INFO: Extracted packet for processing {"connection_id":204920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c25"} 
[2026-10-05 18:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756658944,"raw_latitude":119507600,"longitude_deg":75.6658944,"latitude_deg":11.95076,"altitude":58,"angle":328,"satellites":44,"speed":14,"hex_longitude":"2d19b300","hex_latitude":"071f8a90","is_valid_coordinates":true} 
[2026-10-05 18:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548515072001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25252307461472256,"note":"Value kept but may cause issues"} 
[2026-10-05 18:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852316483582443520,"note":"Value kept but may cause issues"} 
[2026-10-05 18:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791205139000,"timestamp_ms":1791205139000,"timestamp_seconds":1791205139,"priority":1,"record_length":96,"hex_timestamp":"000001a10c256238"} 
[2026-10-05 18:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-10-05 18:30:15] 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-10-05 18:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548515072001,"66":14102,"121":206,"28":31744,"24":14,"16":25252307461472256,"45":1852316483582443520},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548515072001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:30:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:30:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25252307461472256,"km_value":25252307461472.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852316483582443520,"description":"Unknown IO ID 45"} 
[2026-10-05 18:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548515072001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1852316483582443520}} 
[2026-10-05 18:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":204920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:30:15] local.INFO: GPS data processed {"connection_id":204920,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:30:15] local.INFO: Acknowledgment sent {"connection_id":204920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:30:22] local.INFO: TCP Data received {"connection_id":204920,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c258948012d19ab40071f97b8003901302c..."} 
[2026-10-05 18:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c258948012d19ab40071f97b8003901302c..."} 
[2026-10-05 18:30:22] local.INFO: Processing buffer {"connection_id":204920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c258948012d19ab40071f97b8003901302c..."} 
[2026-10-05 18:30:22] local.INFO: Packet analysis {"connection_id":204920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c25"} 
[2026-10-05 18:30:22] local.INFO: Extracted packet for processing {"connection_id":204920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c25"} 
[2026-10-05 18:30:22] local.INFO: GPS Element Parsed {"raw_longitude":756656960,"raw_latitude":119510968,"longitude_deg":75.665696,"latitude_deg":11.9510968,"altitude":57,"angle":304,"satellites":44,"speed":10,"hex_longitude":"2d19ab40","hex_latitude":"071f97b8","is_valid_coordinates":true} 
[2026-10-05 18:30: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-10-05 18:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548515584001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25252500735000576,"note":"Value kept but may cause issues"} 
[2026-10-05 18:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851823902373351424,"note":"Value kept but may cause issues"} 
[2026-10-05 18:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791205149000,"timestamp_ms":1791205149000,"timestamp_seconds":1791205149,"priority":1,"record_length":96,"hex_timestamp":"000001a10c258948"} 
[2026-10-05 18:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:30: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-10-05 18:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-05 18:30:22] 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-10-05 18:30: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-10-05 18:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":204920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":204920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":204920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548515584001,"66":14243,"121":206,"28":31744,"24":10,"16":25252500735000576,"45":1851823902373351424},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548515584001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:30:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:30:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25252500735000576,"km_value":25252500735000.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851823902373351424,"description":"Unknown IO ID 45"} 
[2026-10-05 18:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548515584001,"power":14243,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1851823902373351424}} 
[2026-10-05 18:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":204920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:30:23] local.INFO: GPS data processed {"connection_id":204920,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:30:23] local.INFO: Acknowledgment sent {"connection_id":204920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:30:28] local.INFO: TCP Data received {"connection_id":204919,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c229760012d7a678005e465100008013b2c..."} 
[2026-10-05 18:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c229760012d7a678005e465100008013b2c..."} 
[2026-10-05 18:30:28] local.INFO: Processing buffer {"connection_id":204919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c229760012d7a678005e465100008013b2c..."} 
[2026-10-05 18:30:28] local.INFO: Packet analysis {"connection_id":204919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c22"} 
[2026-10-05 18:30:28] local.INFO: Extracted packet for processing {"connection_id":204919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c22"} 
[2026-10-05 18:30:28] local.INFO: GPS Element Parsed {"raw_longitude":762996608,"raw_latitude":98854160,"longitude_deg":76.2996608,"latitude_deg":9.885416,"altitude":8,"angle":315,"satellites":44,"speed":2,"hex_longitude":"2d7a6780","hex_latitude":"05e46510","is_valid_coordinates":true} 
[2026-10-05 18:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548463616001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139845462302654464,"note":"Value kept but may cause issues"} 
[2026-10-05 18:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8824522020161728512,"note":"Value kept but may cause issues"} 
[2026-10-05 18:30:28] 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-10-05 18:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1791204956000,"timestamp_ms":1791204956000,"timestamp_seconds":1791204956,"priority":1,"record_length":96,"hex_timestamp":"000001a10c229760"} 
[2026-10-05 18:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18: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":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-05 18:30:28] 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-10-05 18: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-10-05 18:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":204919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":204919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":204919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548463616001,"66":12472,"208":206,"85":15104,"24":2,"16":139845462302654464,"45":8824522020161728512},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 18:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548463616001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:30:28] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 18:30:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139845462302654464,"km_value":139845462302654.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8824522020161728512,"description":"Unknown IO ID 45"} 
[2026-10-05 18:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548463616001,"power":12472,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8824522020161728512}} 
[2026-10-05 18:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":204919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969177,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:30:28] local.INFO: GPS data processed {"connection_id":204919,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:30:28] local.INFO: Acknowledgment sent {"connection_id":204919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:30:30] local.INFO: TCP Data received {"connection_id":204780,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:30:30] local.INFO: Processing buffer {"connection_id":204780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:30:30] local.INFO: IMEI packet received {"connection_id":204780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":204780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:30:35] local.INFO: TCP Data received {"connection_id":204780,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:30:35] local.INFO: Processing buffer {"connection_id":204780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:30:35] local.INFO: IMEI packet received {"connection_id":204780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":204780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:30:36] local.INFO: TCP Data received {"connection_id":204780,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c267b78012d7a634005e467900000010c2f..."} 
[2026-10-05 18:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c267b78012d7a634005e467900000010c2f..."} 
[2026-10-05 18:30:36] local.INFO: Processing buffer {"connection_id":204780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c267b78012d7a634005e467900000010c2f..."} 
[2026-10-05 18:30:36] local.INFO: Packet analysis {"connection_id":204780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c26"} 
[2026-10-05 18:30:36] local.INFO: Extracted packet for processing {"connection_id":204780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c26"} 
[2026-10-05 18:30:36] local.INFO: GPS Element Parsed {"raw_longitude":762995520,"raw_latitude":98854800,"longitude_deg":76.299552,"latitude_deg":9.88548,"altitude":0,"angle":268,"satellites":47,"speed":10,"hex_longitude":"2d7a6340","hex_latitude":"05e46790","is_valid_coordinates":true} 
[2026-10-05 18:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548533760001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139845522432196608,"note":"Value kept but may cause issues"} 
[2026-10-05 18:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819244364349265920,"note":"Value kept but may cause issues"} 
[2026-10-05 18:30: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-10-05 18:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791205211000,"timestamp_ms":1791205211000,"timestamp_seconds":1791205211,"priority":1,"record_length":96,"hex_timestamp":"000001a10c267b78"} 
[2026-10-05 18:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 18:30:36] 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-10-05 18:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548533760001,"66":12504,"208":206,"85":15104,"24":10,"16":139845522432196608,"45":8819244364349265920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 18:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548533760001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:30:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 18:30:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 18:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139845522432196608,"km_value":139845522432196.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819244364349265920,"description":"Unknown IO ID 45"} 
[2026-10-05 18:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548533760001,"power":12504,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8819244364349265920}} 
[2026-10-05 18:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":204780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:30:36] local.INFO: GPS data processed {"connection_id":204780,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:30:36] local.INFO: Acknowledgment sent {"connection_id":204780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:30:54] local.INFO: TCP Data received {"connection_id":206304,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:30:54] local.INFO: Processing buffer {"connection_id":206304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:30:54] local.INFO: IMEI packet received {"connection_id":206304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":206304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:30:59] local.INFO: TCP Data received {"connection_id":206304,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:30:59] local.INFO: Processing buffer {"connection_id":206304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:30:59] local.INFO: IMEI packet received {"connection_id":206304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":206304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:31:00] local.INFO: TCP Data received {"connection_id":206304,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:31:00] local.INFO: Processing buffer {"connection_id":206304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:31:00] local.INFO: Packet analysis {"connection_id":206304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c22"} 
[2026-10-05 18:31:00] local.INFO: Extracted packet for processing {"connection_id":206304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c22"} 
[2026-10-05 18:31:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":49,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548390656001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9147444187661488128,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791204957000,"timestamp_ms":1791204957000,"timestamp_seconds":1791204957,"priority":1,"record_length":96,"hex_timestamp":"000001a10c229b48"} 
[2026-10-05 18:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:31: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-10-05 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 18:31: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-10-05 18: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-10-05 18:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:31:00] 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-10-05 18:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548390656001,"66":25625,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9147444187661488128},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548390656001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:31:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:31:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9147444187661488128,"description":"Unknown IO ID 45"} 
[2026-10-05 18:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548390656001,"power":25625,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9147444187661488128}} 
[2026-10-05 18:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":206304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:31:00] local.INFO: GPS data processed {"connection_id":206304,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:31:00] local.INFO: Acknowledgment sent {"connection_id":206304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:31:06] local.INFO: TCP Data received {"connection_id":204781,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:31:06] local.INFO: Processing buffer {"connection_id":204781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:31:06] local.INFO: IMEI packet received {"connection_id":204781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":204781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:31:07] local.INFO: TCP Data received {"connection_id":204780,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c273ec8012d7a230005e46910000e010b2f..."} 
[2026-10-05 18:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c273ec8012d7a230005e46910000e010b2f..."} 
[2026-10-05 18:31:07] local.INFO: Processing buffer {"connection_id":204780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c273ec8012d7a230005e46910000e010b2f..."} 
[2026-10-05 18:31:07] local.INFO: Packet analysis {"connection_id":204780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:31:07] local.INFO: Extracted packet for processing {"connection_id":204780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:31:07] local.INFO: GPS Element Parsed {"raw_longitude":762979072,"raw_latitude":98855184,"longitude_deg":76.2979072,"latitude_deg":9.8855184,"altitude":14,"angle":267,"satellites":47,"speed":6,"hex_longitude":"2d7a2300","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:31: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-10-05 18:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548546560001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846428670296064,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801089228351531008,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:07] 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-10-05 18:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791205261000,"timestamp_ms":1791205261000,"timestamp_seconds":1791205261,"priority":1,"record_length":96,"hex_timestamp":"000001a10c273ec8"} 
[2026-10-05 18:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-10-05 18:31:07] 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-10-05 18:31: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-10-05 18:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548546560001,"66":12232,"102":206,"87":12288,"24":6,"16":139846428670296064,"45":8801089228351531008},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-05 18:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548546560001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:31:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 18:31:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846428670296064,"km_value":139846428670296.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801089228351531008,"description":"Unknown IO ID 45"} 
[2026-10-05 18:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548546560001,"power":12232,"unknown_102":206,"unknown_87":12288,"ignition":6,"odometer":null,"unknown_45":8801089228351531008}} 
[2026-10-05 18:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":204780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:31:07] local.INFO: GPS data processed {"connection_id":204780,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:31:07] local.INFO: Acknowledgment sent {"connection_id":204780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:31:10] local.INFO: TCP Data received {"connection_id":204781,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:31:10] local.INFO: Processing buffer {"connection_id":204781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:31:10] local.INFO: IMEI packet received {"connection_id":204781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":204781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:31:11] local.INFO: TCP Data received {"connection_id":204781,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c263528012d19a340071fd780003301512b..."} 
[2026-10-05 18:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c263528012d19a340071fd780003301512b..."} 
[2026-10-05 18:31:11] local.INFO: Processing buffer {"connection_id":204781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c263528012d19a340071fd780003301512b..."} 
[2026-10-05 18:31:11] local.INFO: Packet analysis {"connection_id":204781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c26"} 
[2026-10-05 18:31:11] local.INFO: Extracted packet for processing {"connection_id":204781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c26"} 
[2026-10-05 18:31:11] local.INFO: GPS Element Parsed {"raw_longitude":756654912,"raw_latitude":119527296,"longitude_deg":75.6654912,"latitude_deg":11.9527296,"altitude":51,"angle":337,"satellites":43,"speed":18,"hex_longitude":"2d19a340","hex_latitude":"071fd780","is_valid_coordinates":true} 
[2026-10-05 18:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548528896001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25253462807674880,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847672146471663616,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791205193000,"timestamp_ms":1791205193000,"timestamp_seconds":1791205193,"priority":1,"record_length":96,"hex_timestamp":"000001a10c263528"} 
[2026-10-05 18:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:31: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-10-05 18:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-05 18:31:11] 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-10-05 18:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548528896001,"66":12504,"121":206,"28":31744,"24":18,"16":25253462807674880,"45":1847672146471663616},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548528896001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:31:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:31:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25253462807674880,"km_value":25253462807674.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847672146471663616,"description":"Unknown IO ID 45"} 
[2026-10-05 18:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548528896001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1847672146471663616}} 
[2026-10-05 18:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":204781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:31:11] local.INFO: GPS data processed {"connection_id":204781,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:31:11] local.INFO: Acknowledgment sent {"connection_id":204781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:31:12] local.INFO: TCP Data received {"connection_id":204781,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c265468012d19a000071fe0780031015e2c..."} 
[2026-10-05 18:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c265468012d19a000071fe0780031015e2c..."} 
[2026-10-05 18:31:12] local.INFO: Processing buffer {"connection_id":204781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c265468012d19a000071fe0780031015e2c..."} 
[2026-10-05 18:31:12] local.INFO: Packet analysis {"connection_id":204781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c26"} 
[2026-10-05 18:31:12] local.INFO: Extracted packet for processing {"connection_id":204781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c26"} 
[2026-10-05 18:31:12] local.INFO: GPS Element Parsed {"raw_longitude":756654080,"raw_latitude":119529592,"longitude_deg":75.665408,"latitude_deg":11.9529592,"altitude":49,"angle":350,"satellites":44,"speed":10,"hex_longitude":"2d19a000","hex_latitude":"071fe078","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548529408001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25253583066759168,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847390671495200768,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791205201000,"timestamp_ms":1791205201000,"timestamp_seconds":1791205201,"priority":1,"record_length":96,"hex_timestamp":"000001a10c265468"} 
[2026-10-05 18:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:31: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-10-05 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 18:31:12] 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-10-05 18: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-10-05 18:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548529408001,"66":13863,"121":206,"28":31744,"24":10,"16":25253583066759168,"45":1847390671495200768},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548529408001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:31:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:31:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25253583066759168,"km_value":25253583066759.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847390671495200768,"description":"Unknown IO ID 45"} 
[2026-10-05 18:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548529408001,"power":13863,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1847390671495200768}} 
[2026-10-05 18:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":204781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:31:12] local.INFO: GPS data processed {"connection_id":204781,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:31:12] local.INFO: Acknowledgment sent {"connection_id":204781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:31:32] local.INFO: TCP Data received {"connection_id":206304,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:31:32] local.INFO: Processing buffer {"connection_id":206304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c229b48012d7ee58006003208000b00d731..."} 
[2026-10-05 18:31:32] local.INFO: Packet analysis {"connection_id":206304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c22"} 
[2026-10-05 18:31:32] local.INFO: Extracted packet for processing {"connection_id":206304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c22"} 
[2026-10-05 18:31:32] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":49,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548390656001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9147444187661488128,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791204957000,"timestamp_ms":1791204957000,"timestamp_seconds":1791204957,"priority":1,"record_length":96,"hex_timestamp":"000001a10c229b48"} 
[2026-10-05 18:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:31: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-10-05 18:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-05 18:31: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-10-05 18:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:31:32] 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-10-05 18:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548390656001,"66":25625,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9147444187661488128},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548390656001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:31:32] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:31:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9147444187661488128,"description":"Unknown IO ID 45"} 
[2026-10-05 18:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548390656001,"power":25625,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9147444187661488128}} 
[2026-10-05 18:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":206304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:31:32] local.INFO: GPS data processed {"connection_id":206304,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:31:32] local.INFO: Acknowledgment sent {"connection_id":206304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:31:35] local.INFO: TCP Data received {"connection_id":204782,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:31:35] local.INFO: Processing buffer {"connection_id":204782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:31:35] local.INFO: IMEI packet received {"connection_id":204782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":204782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:31:40] local.INFO: TCP Data received {"connection_id":204782,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:31:40] local.INFO: Processing buffer {"connection_id":204782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:31:40] local.INFO: IMEI packet received {"connection_id":204782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":204782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:31:42] local.INFO: TCP Data received {"connection_id":204782,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c274698012d7a21c005e468e0000d00f630..."} 
[2026-10-05 18:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c274698012d7a21c005e468e0000d00f630..."} 
[2026-10-05 18:31:42] local.INFO: Processing buffer {"connection_id":204782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c274698012d7a21c005e468e0000d00f630..."} 
[2026-10-05 18:31:42] local.INFO: Packet analysis {"connection_id":204782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:31:42] local.INFO: Extracted packet for processing {"connection_id":204782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:31:42] local.INFO: GPS Element Parsed {"raw_longitude":762978752,"raw_latitude":98855136,"longitude_deg":76.2978752,"latitude_deg":9.8855136,"altitude":13,"angle":246,"satellites":48,"speed":6,"hex_longitude":"2d7a21c0","hex_latitude":"05e468e0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548546816001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846445850165248,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800878122119008256,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:42] 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-10-05 18:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791205263000,"timestamp_ms":1791205263000,"timestamp_seconds":1791205263,"priority":1,"record_length":96,"hex_timestamp":"000001a10c274698"} 
[2026-10-05 18:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-05 18:31:42] 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-10-05 18: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-10-05 18:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548546816001,"66":11569,"102":206,"87":12288,"24":6,"16":139846445850165248,"45":8800878122119008256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-05 18:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548546816001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:31:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 18:31:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846445850165248,"km_value":139846445850165.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800878122119008256,"description":"Unknown IO ID 45"} 
[2026-10-05 18:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548546816001,"power":11569,"unknown_102":206,"unknown_87":12288,"ignition":6,"odometer":null,"unknown_45":8800878122119008256}} 
[2026-10-05 18:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":204782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:31:42] local.INFO: GPS data processed {"connection_id":204782,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:31:42] local.INFO: Acknowledgment sent {"connection_id":204782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:31:43] local.INFO: TCP Data received {"connection_id":204781,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c272f28012d19dcc007200bb8003001302b..."} 
[2026-10-05 18:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c272f28012d19dcc007200bb8003001302b..."} 
[2026-10-05 18:31:43] local.INFO: Processing buffer {"connection_id":204781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c272f28012d19dcc007200bb8003001302b..."} 
[2026-10-05 18:31:43] local.INFO: Packet analysis {"connection_id":204781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:31:43] local.INFO: Extracted packet for processing {"connection_id":204781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:31:43] local.INFO: GPS Element Parsed {"raw_longitude":756669632,"raw_latitude":119540664,"longitude_deg":75.6669632,"latitude_deg":11.9540664,"altitude":48,"angle":304,"satellites":43,"speed":14,"hex_longitude":"2d19dcc0","hex_latitude":"07200bb8","is_valid_coordinates":true} 
[2026-10-05 18:31: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-10-05 18:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548545536001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25254708348190720,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863927326380322816,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791205257000,"timestamp_ms":1791205257000,"timestamp_seconds":1791205257,"priority":1,"record_length":96,"hex_timestamp":"000001a10c272f28"} 
[2026-10-05 18:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:31: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":9,"data_length":795,"current_offset":136} 
[2026-10-05 18:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1152921504774620160,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:43] local.WARNING: Large IO value detected {"io_id":184,"raw_value":4194304000,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:43] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:43] local.WARNING: Large IO value detected {"io_id":12,"raw_value":2805927290856918272,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-10-05 18:31:43] local.WARNING: Large IO value detected {"io_id":213,"raw_value":3221692414,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:43] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812391,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:43] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3100966912,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:43] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2304066199228525866,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:43] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-4539402030338224612,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:43] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755472455631089,"note":"Value kept but may cause issues"} 
[2026-10-05 18:31:43] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,121,28,24,241,158,16,185,161,39,45,64,10,47,43,66,184,35,128,9,31,1,240,252,12,32,4,113,205,14,213,208,239,53,2,89,7,48,17,50,124,189],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-10-05 18:31:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3459116542225678336,"timestamp_seconds":3459116542225678.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548545536001,"66":12809,"121":206,"28":31744,"24":14,"16":25254708348190720,"45":1863927326380322816},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548545536001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:31:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:31:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25254708348190720,"km_value":25254708348190.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863927326380322816,"description":"Unknown IO ID 45"} 
[2026-10-05 18:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548545536001,"power":12809,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1863927326380322816}} 
[2026-10-05 18:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":204781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:31:44] local.INFO: GPS data processed {"connection_id":204781,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:31:44] local.INFO: Acknowledgment sent {"connection_id":204781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:31:54] local.INFO: TCP Data received {"connection_id":206305,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:31:54] local.INFO: Processing buffer {"connection_id":206305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:31:54] local.INFO: IMEI packet received {"connection_id":206305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":206305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:31:59] local.INFO: TCP Data received {"connection_id":206305,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:31:59] local.INFO: Processing buffer {"connection_id":206305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:31:59] local.INFO: IMEI packet received {"connection_id":206305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":206305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:32:00] local.INFO: TCP Data received {"connection_id":206305,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:32:00] local.INFO: Processing buffer {"connection_id":206305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:32:00] local.INFO: Packet analysis {"connection_id":206305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:32:00] local.INFO: Extracted packet for processing {"connection_id":206305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:32:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548468992001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791205258000,"timestamp_ms":1791205258000,"timestamp_seconds":1791205258,"priority":1,"record_length":96,"hex_timestamp":"000001a10c273310"} 
[2026-10-05 18:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:32:00] 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-10-05 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 18:32: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-10-05 18: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-10-05 18:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:32:00] 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-10-05 18:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548468992001,"66":25430,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548468992001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:32:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:32:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548468992001,"power":25430,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":206305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:32:00] local.INFO: GPS data processed {"connection_id":206305,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:32:00] local.INFO: Acknowledgment sent {"connection_id":206305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:32:04] local.INFO: TCP Data received {"connection_id":204921,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:32:04] local.INFO: Processing buffer {"connection_id":204921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:32:04] local.INFO: IMEI packet received {"connection_id":204921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":204921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:32:10] local.INFO: TCP Data received {"connection_id":204921,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:32:10] local.INFO: Processing buffer {"connection_id":204921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:32:10] local.INFO: IMEI packet received {"connection_id":204921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":204921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:32:10] local.INFO: TCP Data received {"connection_id":204921,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2736f8012d19d9c007200d28003001252b..."} 
[2026-10-05 18:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2736f8012d19d9c007200d28003001252b..."} 
[2026-10-05 18:32:10] local.INFO: Processing buffer {"connection_id":204921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2736f8012d19d9c007200d28003001252b..."} 
[2026-10-05 18:32:10] local.INFO: Packet analysis {"connection_id":204921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:32:10] local.INFO: Extracted packet for processing {"connection_id":204921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:32:10] local.INFO: GPS Element Parsed {"raw_longitude":756668864,"raw_latitude":119541032,"longitude_deg":75.6668864,"latitude_deg":11.9541032,"altitude":48,"angle":293,"satellites":43,"speed":18,"hex_longitude":"2d19d9c0","hex_latitude":"07200d28","is_valid_coordinates":true} 
[2026-10-05 18:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548545792001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25254747002896384,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863575482659485696,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791205259000,"timestamp_ms":1791205259000,"timestamp_seconds":1791205259,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2736f8"} 
[2026-10-05 18:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:32: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-10-05 18:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-05 18:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1224979098812548096,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:10] local.WARNING: Large IO value detected {"io_id":184,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:10] local.WARNING: Large IO value detected {"io_id":12,"raw_value":2807026802484694656,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-10-05 18:32:10] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:10] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2147950599,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:10] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-1873271050934890980,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:10] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3103195136,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:10] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2304347674205240874,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:10] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755493930467569,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:10] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,185,161,43,45,10,48,66,39,64,47,184,35,128,1,240,88,12,32,4,113,205,27,221,239,53,2,89,7,22,124,213],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-10-05 18:32:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3459098950039896064,"timestamp_seconds":3459098950039896.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548545792001,"66":13559,"121":206,"28":31744,"24":18,"16":25254747002896384,"45":1863575482659485696},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548545792001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:32:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:32:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25254747002896384,"km_value":25254747002896.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863575482659485696,"description":"Unknown IO ID 45"} 
[2026-10-05 18:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548545792001,"power":13559,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1863575482659485696}} 
[2026-10-05 18:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":204921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:32:10] local.INFO: GPS data processed {"connection_id":204921,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:32:10] local.INFO: Acknowledgment sent {"connection_id":204921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:32:13] local.INFO: TCP Data received {"connection_id":204782,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c274e68012d7a208005e46888000e010430..."} 
[2026-10-05 18:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c274e68012d7a208005e46888000e010430..."} 
[2026-10-05 18:32:13] local.INFO: Processing buffer {"connection_id":204782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c274e68012d7a208005e46888000e010430..."} 
[2026-10-05 18:32:13] local.INFO: Packet analysis {"connection_id":204782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:32:13] local.INFO: Extracted packet for processing {"connection_id":204782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:32:13] local.INFO: GPS Element Parsed {"raw_longitude":762978432,"raw_latitude":98855048,"longitude_deg":76.2978432,"latitude_deg":9.8855048,"altitude":14,"angle":260,"satellites":48,"speed":8,"hex_longitude":"2d7a2080","hex_latitude":"05e46888","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548547328001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846458735067136,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800526278398107648,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791205265000,"timestamp_ms":1791205265000,"timestamp_seconds":1791205265,"priority":1,"record_length":96,"hex_timestamp":"000001a10c274e68"} 
[2026-10-05 18:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:32:13] 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-10-05 18: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":45,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-10-05 18:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":864,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":204782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":204782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":204782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548547328001,"66":12722,"102":206,"87":12288,"24":8,"16":139846458735067136,"45":8800526278398107648},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-05 18:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548547328001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:32:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 18:32:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846458735067136,"km_value":139846458735067.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800526278398107648,"description":"Unknown IO ID 45"} 
[2026-10-05 18:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548547328001,"power":12722,"unknown_102":206,"unknown_87":12288,"ignition":8,"odometer":null,"unknown_45":8800526278398107648}} 
[2026-10-05 18:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":204782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:32:14] local.INFO: GPS data processed {"connection_id":204782,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:32:14] local.INFO: Acknowledgment sent {"connection_id":204782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:32:30] local.INFO: TCP Data received {"connection_id":207857,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:32:30] local.INFO: Processing buffer {"connection_id":207857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:32:30] local.INFO: IMEI packet received {"connection_id":207857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":207857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:32:31] local.INFO: TCP Data received {"connection_id":206305,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:32:31] local.INFO: Processing buffer {"connection_id":206305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:32:31] local.INFO: Packet analysis {"connection_id":206305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:32:31] local.INFO: Extracted packet for processing {"connection_id":206305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:32:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548468992001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791205258000,"timestamp_ms":1791205258000,"timestamp_seconds":1791205258,"priority":1,"record_length":96,"hex_timestamp":"000001a10c273310"} 
[2026-10-05 18:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:32:31] 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-10-05 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 18:32: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-10-05 18: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-10-05 18:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:32:31] 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-10-05 18:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548468992001,"66":25430,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548468992001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:32:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:32:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548468992001,"power":25430,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":206305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:32:31] local.INFO: GPS data processed {"connection_id":206305,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:32:31] local.INFO: Acknowledgment sent {"connection_id":206305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:32:39] local.INFO: TCP Data received {"connection_id":207857,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:32:39] local.INFO: Processing buffer {"connection_id":207857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:32:39] local.INFO: IMEI packet received {"connection_id":207857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":207857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:32:41] local.INFO: TCP Data received {"connection_id":207857,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c275e08012d7a1d4005e46880000d012e24..."} 
[2026-10-05 18:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c275e08012d7a1d4005e46880000d012e24..."} 
[2026-10-05 18:32:41] local.INFO: Processing buffer {"connection_id":207857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c275e08012d7a1d4005e46880000d012e24..."} 
[2026-10-05 18:32:41] local.INFO: Packet analysis {"connection_id":207857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:32:41] local.INFO: Extracted packet for processing {"connection_id":207857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:32:41] local.INFO: GPS Element Parsed {"raw_longitude":762977600,"raw_latitude":98855040,"longitude_deg":76.29776,"latitude_deg":9.885504,"altitude":13,"angle":302,"satellites":36,"speed":7,"hex_longitude":"2d7a1d40","hex_latitude":"05e46880","is_valid_coordinates":true} 
[2026-10-05 18:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548547840001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846501684740096,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800174434677196800,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:41] 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-10-05 18:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791205269000,"timestamp_ms":1791205269000,"timestamp_seconds":1791205269,"priority":1,"record_length":96,"hex_timestamp":"000001a10c275e08"} 
[2026-10-05 18:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:32: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-10-05 18:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 18:32:41] 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-10-05 18:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":207857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":207857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":207857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548547840001,"66":12341,"102":206,"87":12288,"24":7,"16":139846501684740096,"45":8800174434677196800},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-05 18:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548547840001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:32:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 18:32:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846501684740096,"km_value":139846501684740.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800174434677196800,"description":"Unknown IO ID 45"} 
[2026-10-05 18:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548547840001,"power":12341,"unknown_102":206,"unknown_87":12288,"ignition":7,"odometer":null,"unknown_45":8800174434677196800}} 
[2026-10-05 18:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":207857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969190,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:32:42] local.INFO: GPS data processed {"connection_id":207857,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:32:42] local.INFO: Acknowledgment sent {"connection_id":207857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:32:43] local.INFO: TCP Data received {"connection_id":204921,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c274698012d19d34007201118002f01322b..."} 
[2026-10-05 18:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c274698012d19d34007201118002f01322b..."} 
[2026-10-05 18:32:43] local.INFO: Processing buffer {"connection_id":204921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c274698012d19d34007201118002f01322b..."} 
[2026-10-05 18:32:43] local.INFO: Packet analysis {"connection_id":204921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:32:43] local.INFO: Extracted packet for processing {"connection_id":204921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:32:43] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119542040,"longitude_deg":75.66672,"latitude_deg":11.954204,"altitude":47,"angle":306,"satellites":43,"speed":20,"hex_longitude":"2d19d340","hex_latitude":"07201118","is_valid_coordinates":true} 
[2026-10-05 18:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548546304001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25254841492176896,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862731057729447936,"note":"Value kept but may cause issues"} 
[2026-10-05 18:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791205263000,"timestamp_ms":1791205263000,"timestamp_seconds":1791205263,"priority":1,"record_length":96,"hex_timestamp":"000001a10c274698"} 
[2026-10-05 18:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-05 18:32:43] 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-10-05 18:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548546304001,"66":13102,"121":206,"28":31744,"24":20,"16":25254841492176896,"45":1862731057729447936},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548546304001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:32:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:32:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25254841492176896,"km_value":25254841492176.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862731057729447936,"description":"Unknown IO ID 45"} 
[2026-10-05 18:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548546304001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1862731057729447936}} 
[2026-10-05 18:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":204921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:32:43] local.INFO: GPS data processed {"connection_id":204921,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:32:43] local.INFO: Acknowledgment sent {"connection_id":204921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:32:54] local.INFO: TCP Data received {"connection_id":204783,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:32:54] local.INFO: Processing buffer {"connection_id":204783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:32:54] local.INFO: IMEI packet received {"connection_id":204783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":204783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:32:59] local.INFO: TCP Data received {"connection_id":204783,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:32:59] local.INFO: Processing buffer {"connection_id":204783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:32:59] local.INFO: IMEI packet received {"connection_id":204783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":204783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:33:01] local.INFO: TCP Data received {"connection_id":204783,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:33:01] local.INFO: Processing buffer {"connection_id":204783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:33:01] local.INFO: Packet analysis {"connection_id":204783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:33:01] local.INFO: Extracted packet for processing {"connection_id":204783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:33:01] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548468992001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791205258000,"timestamp_ms":1791205258000,"timestamp_seconds":1791205258,"priority":1,"record_length":96,"hex_timestamp":"000001a10c273310"} 
[2026-10-05 18:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:33:01] 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-10-05 18: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":25,"data_length":795,"current_offset":136} 
[2026-10-05 18:33: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-10-05 18: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-10-05 18:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548468992001,"66":25430,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548468992001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:33:01] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:33:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548468992001,"power":25430,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":204783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:33:01] local.INFO: GPS data processed {"connection_id":204783,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:33:01] local.INFO: Acknowledgment sent {"connection_id":204783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:33:04] local.INFO: TCP Data received {"connection_id":207858,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:33:04] local.INFO: Processing buffer {"connection_id":207858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:33:04] local.INFO: IMEI packet received {"connection_id":207858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":207858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:33:05] local.INFO: TCP Data received {"connection_id":207858,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:33:05] local.INFO: Processing buffer {"connection_id":207858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:33:05] local.INFO: IMEI packet received {"connection_id":207858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":207858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:33:10] local.INFO: TCP Data received {"connection_id":207858,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:33:10] local.INFO: Processing buffer {"connection_id":207858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:33:10] local.INFO: IMEI packet received {"connection_id":207858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":207858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:33:11] local.INFO: TCP Data received {"connection_id":207858,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c283cb0012d19b9c00720a870002f01592c..."} 
[2026-10-05 18:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c283cb0012d19b9c00720a870002f01592c..."} 
[2026-10-05 18:33:11] local.INFO: Processing buffer {"connection_id":207858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c283cb0012d19b9c00720a870002f01592c..."} 
[2026-10-05 18:33:11] local.INFO: Packet analysis {"connection_id":207858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c28"} 
[2026-10-05 18:33:11] local.INFO: Extracted packet for processing {"connection_id":207858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c28"} 
[2026-10-05 18:33:11] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119580784,"longitude_deg":75.6660672,"latitude_deg":11.9580784,"altitude":47,"angle":345,"satellites":44,"speed":21,"hex_longitude":"2d19b9c0","hex_latitude":"0720a870","is_valid_coordinates":true} 
[2026-10-05 18:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548563200001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25256881601642496,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227228925952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791205326000,"timestamp_ms":1791205326000,"timestamp_seconds":1791205326,"priority":1,"record_length":96,"hex_timestamp":"000001a10c283cb0"} 
[2026-10-05 18:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:33: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-10-05 18:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 18:33: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-10-05 18:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548563200001,"66":12461,"121":206,"28":31744,"24":21,"16":25256881601642496,"45":1853794227228925952},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548563200001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:33:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:33:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25256881601642496,"km_value":25256881601642.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227228925952,"description":"Unknown IO ID 45"} 
[2026-10-05 18:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548563200001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1853794227228925952}} 
[2026-10-05 18:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":207858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:33:11] local.INFO: GPS data processed {"connection_id":207858,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:33:11] local.INFO: Acknowledgment sent {"connection_id":207858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:33:13] local.INFO: TCP Data received {"connection_id":207857,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2765d8012d7a1c0005e46920000c012128..."} 
[2026-10-05 18:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2765d8012d7a1c0005e46920000c012128..."} 
[2026-10-05 18:33:13] local.INFO: Processing buffer {"connection_id":207857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2765d8012d7a1c0005e46920000c012128..."} 
[2026-10-05 18:33:13] local.INFO: Packet analysis {"connection_id":207857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:33:13] local.INFO: Extracted packet for processing {"connection_id":207857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:33:13] local.INFO: GPS Element Parsed {"raw_longitude":762977280,"raw_latitude":98855200,"longitude_deg":76.297728,"latitude_deg":9.88552,"altitude":12,"angle":289,"satellites":40,"speed":6,"hex_longitude":"2d7a1c00","hex_latitude":"05e46920","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548548864001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846518864609280,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799259641002885120,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791205271000,"timestamp_ms":1791205271000,"timestamp_seconds":1791205271,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2765d8"} 
[2026-10-05 18:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:33: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-10-05 18: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 18:33:13] 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-10-05 18: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-10-05 18:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":207857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":207857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":207857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548548864001,"66":11178,"102":206,"87":12288,"24":6,"16":139846518864609280,"45":8799259641002885120},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-05 18:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548548864001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:33:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 18:33:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846518864609280,"km_value":139846518864609.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799259641002885120,"description":"Unknown IO ID 45"} 
[2026-10-05 18:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548548864001,"power":11178,"unknown_102":206,"unknown_87":12288,"ignition":6,"odometer":null,"unknown_45":8799259641002885120}} 
[2026-10-05 18:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":207857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969194,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:33:13] local.INFO: GPS data processed {"connection_id":207857,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:33:13] local.INFO: Acknowledgment sent {"connection_id":207857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:33:32] local.INFO: TCP Data received {"connection_id":204783,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:33:32] local.INFO: Processing buffer {"connection_id":204783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:33:32] local.INFO: Packet analysis {"connection_id":204783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:33:32] local.INFO: Extracted packet for processing {"connection_id":204783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548468992001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791205258000,"timestamp_ms":1791205258000,"timestamp_seconds":1791205258,"priority":1,"record_length":96,"hex_timestamp":"000001a10c273310"} 
[2026-10-05 18:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:33:32] 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-10-05 18:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 18:33: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-10-05 18:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:33:32] 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-10-05 18:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548468992001,"66":25430,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548468992001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:33:32] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:33:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548468992001,"power":25430,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":204783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:33:32] local.INFO: GPS data processed {"connection_id":204783,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:33:32] local.INFO: Acknowledgment sent {"connection_id":204783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:33:36] local.INFO: TCP Data received {"connection_id":204784,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:33:36] local.INFO: Processing buffer {"connection_id":204784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:33:36] local.INFO: IMEI packet received {"connection_id":204784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":204784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:33:41] local.INFO: TCP Data received {"connection_id":204784,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:33:41] local.INFO: Processing buffer {"connection_id":204784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:33:41] local.INFO: IMEI packet received {"connection_id":204784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":204784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:33:42] local.INFO: TCP Data received {"connection_id":204784,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c277960012d7a1a4005e468e0000b01212f..."} 
[2026-10-05 18:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c277960012d7a1a4005e468e0000b01212f..."} 
[2026-10-05 18:33:42] local.INFO: Processing buffer {"connection_id":204784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c277960012d7a1a4005e468e0000b01212f..."} 
[2026-10-05 18:33:42] local.INFO: Packet analysis {"connection_id":204784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:33:42] local.INFO: Extracted packet for processing {"connection_id":204784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:33:42] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98855136,"longitude_deg":76.2976832,"latitude_deg":9.8855136,"altitude":11,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e468e0","is_valid_coordinates":true} 
[2026-10-05 18:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548549376001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798907797282037760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:42] 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-10-05 18:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791205276000,"timestamp_ms":1791205276000,"timestamp_seconds":1791205276,"priority":1,"record_length":96,"hex_timestamp":"000001a10c277960"} 
[2026-10-05 18:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:33: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-10-05 18:33: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":43,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-10-05 18:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1943,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:33: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-10-05 18:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548549376001,"66":13580,"102":206,"87":12288,"24":0,"16":139846540339445760,"45":8798907797282037760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-05 18:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548549376001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:33:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 18:33:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798907797282037760,"description":"Unknown IO ID 45"} 
[2026-10-05 18:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548549376001,"power":13580,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798907797282037760}} 
[2026-10-05 18:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":204784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969196,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:33:42] local.INFO: GPS data processed {"connection_id":204784,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:33:42] local.INFO: Acknowledgment sent {"connection_id":204784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:33:44] local.INFO: TCP Data received {"connection_id":207858,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c284098012d19b8c00720aa28002f013e2c..."} 
[2026-10-05 18:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c284098012d19b8c00720aa28002f013e2c..."} 
[2026-10-05 18:33:44] local.INFO: Processing buffer {"connection_id":207858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c284098012d19b8c00720aa28002f013e2c..."} 
[2026-10-05 18:33:44] local.INFO: Packet analysis {"connection_id":207858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c28"} 
[2026-10-05 18:33:44] local.INFO: Extracted packet for processing {"connection_id":207858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c28"} 
[2026-10-05 18:33:44] local.INFO: GPS Element Parsed {"raw_longitude":756660416,"raw_latitude":119581224,"longitude_deg":75.6660416,"latitude_deg":11.9581224,"altitude":47,"angle":318,"satellites":44,"speed":21,"hex_longitude":"2d19b8c0","hex_latitude":"0720aa28","is_valid_coordinates":true} 
[2026-10-05 18:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548563456001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25256907371446272,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858484883456,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791205327000,"timestamp_ms":1791205327000,"timestamp_seconds":1791205327,"priority":1,"record_length":96,"hex_timestamp":"000001a10c284098"} 
[2026-10-05 18:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 18:33:44] 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-10-05 18:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":207858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":207858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":207858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548563456001,"66":12461,"121":206,"28":31744,"24":21,"16":25256907371446272,"45":1853723858484883456},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548563456001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:33:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:33:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25256907371446272,"km_value":25256907371446.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858484883456,"description":"Unknown IO ID 45"} 
[2026-10-05 18:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548563456001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1853723858484883456}} 
[2026-10-05 18:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":207858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:33:44] local.INFO: GPS data processed {"connection_id":207858,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:33:44] local.INFO: Acknowledgment sent {"connection_id":207858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:33:46] local.INFO: TCP Data received {"connection_id":204784,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c277960012d7a1a4005e468e0000b01212f..."} 
[2026-10-05 18:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c277960012d7a1a4005e468e0000b01212f..."} 
[2026-10-05 18:33:46] local.INFO: Processing buffer {"connection_id":204784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c277960012d7a1a4005e468e0000b01212f..."} 
[2026-10-05 18:33:46] local.INFO: Packet analysis {"connection_id":204784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:33:46] local.INFO: Extracted packet for processing {"connection_id":204784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:33:46] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98855136,"longitude_deg":76.2976832,"latitude_deg":9.8855136,"altitude":11,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e468e0","is_valid_coordinates":true} 
[2026-10-05 18:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548550656001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072777728,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:46] 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-10-05 18:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791205276000,"timestamp_ms":1791205276000,"timestamp_seconds":1791205276,"priority":1,"record_length":96,"hex_timestamp":"000001a10c277960"} 
[2026-10-05 18:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 18:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751640789,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:46] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2634022912,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3183482029547192330,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:46] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18628252428758374,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-10-05 18:33:46] local.WARNING: Large IO value detected {"io_id":62,"raw_value":3355520378,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:46] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495789,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:46] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832080384,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:46] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2648123059457228814,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:46] local.WARNING: Large IO value detected {"io_id":46,"raw_value":5476603016628981335,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:46] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755442390860017,"note":"Value kept but may cause issues"} 
[2026-10-05 18:33:46] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,102,87,24,241,157,16,213,161,101,45,105,12,40,10,66,94,64,104,13,36,78,128,1,240,178,227,228,4,113,205,6,62,35,47,239,2,5,14,9,122,46,48],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-10-05 18:33:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792951495141097711,"timestamp_seconds":792951495141097.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548550656001,"66":13580,"102":206,"87":12288,"24":0,"16":139846540339445760,"45":8798415216072777728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-05 18:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548550656001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:33:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 18:33:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072777728,"description":"Unknown IO ID 45"} 
[2026-10-05 18:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548550656001,"power":13580,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072777728}} 
[2026-10-05 18:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":204784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:33:46] local.INFO: GPS data processed {"connection_id":204784,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:33:46] local.INFO: Acknowledgment sent {"connection_id":204784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:33:54] local.INFO: TCP Data received {"connection_id":204922,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:33:54] local.INFO: Processing buffer {"connection_id":204922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:33:54] local.INFO: IMEI packet received {"connection_id":204922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":204922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:33:59] local.INFO: TCP Data received {"connection_id":204922,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:33:59] local.INFO: Processing buffer {"connection_id":204922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:33:59] local.INFO: IMEI packet received {"connection_id":204922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":204922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:34:00] local.INFO: TCP Data received {"connection_id":204922,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:34:00] local.INFO: Processing buffer {"connection_id":204922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:34:00] local.INFO: Packet analysis {"connection_id":204922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:34:00] local.INFO: Extracted packet for processing {"connection_id":204922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:34:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548468992001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791205258000,"timestamp_ms":1791205258000,"timestamp_seconds":1791205258,"priority":1,"record_length":96,"hex_timestamp":"000001a10c273310"} 
[2026-10-05 18:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:34:00] 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-10-05 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 18:34: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-10-05 18: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-10-05 18:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:34:00] 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-10-05 18:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548468992001,"66":25430,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548468992001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:34:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:34:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548468992001,"power":25430,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":204922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:34:00] local.INFO: GPS data processed {"connection_id":204922,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:34:00] local.INFO: Acknowledgment sent {"connection_id":204922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:34:04] local.INFO: TCP Data received {"connection_id":204923,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:34:04] local.INFO: Processing buffer {"connection_id":204923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:34:04] local.INFO: IMEI packet received {"connection_id":204923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":204923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:34:09] local.INFO: TCP Data received {"connection_id":204923,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:34:09] local.INFO: Processing buffer {"connection_id":204923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:34:09] local.INFO: IMEI packet received {"connection_id":204923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":204923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:34:11] local.INFO: TCP Data received {"connection_id":204923,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c284480012d19b6800720ab480030012b2c..."} 
[2026-10-05 18:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c284480012d19b6800720ab480030012b2c..."} 
[2026-10-05 18:34:11] local.INFO: Processing buffer {"connection_id":204923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c284480012d19b6800720ab480030012b2c..."} 
[2026-10-05 18:34:11] local.INFO: Packet analysis {"connection_id":204923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c28"} 
[2026-10-05 18:34:11] local.INFO: Extracted packet for processing {"connection_id":204923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c28"} 
[2026-10-05 18:34:11] local.INFO: GPS Element Parsed {"raw_longitude":756659840,"raw_latitude":119581512,"longitude_deg":75.665984,"latitude_deg":11.9581512,"altitude":48,"angle":299,"satellites":44,"speed":23,"hex_longitude":"2d19b680","hex_latitude":"0720ab48","is_valid_coordinates":true} 
[2026-10-05 18:34: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-10-05 18:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548563712001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25256933141250048,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853442383508285440,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791205328000,"timestamp_ms":1791205328000,"timestamp_seconds":1791205328,"priority":1,"record_length":96,"hex_timestamp":"000001a10c284480"} 
[2026-10-05 18:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:34: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-10-05 18:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 18:34:11] 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-10-05 18:34: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-10-05 18:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548563712001,"66":12841,"121":206,"28":31744,"24":23,"16":25256933141250048,"45":1853442383508285440},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548563712001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:34:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:34:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25256933141250048,"km_value":25256933141250.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853442383508285440,"description":"Unknown IO ID 45"} 
[2026-10-05 18:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548563712001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1853442383508285440}} 
[2026-10-05 18:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":204923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:34:11] local.INFO: GPS data processed {"connection_id":204923,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:34:11] local.INFO: Acknowledgment sent {"connection_id":204923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:34:31] local.INFO: TCP Data received {"connection_id":204922,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:34:31] local.INFO: Processing buffer {"connection_id":204922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:34:31] local.INFO: Packet analysis {"connection_id":204922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:34:31] local.INFO: Extracted packet for processing {"connection_id":204922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:34:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548468992001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791205258000,"timestamp_ms":1791205258000,"timestamp_seconds":1791205258,"priority":1,"record_length":96,"hex_timestamp":"000001a10c273310"} 
[2026-10-05 18:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:34:31] 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-10-05 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 18:34: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-10-05 18: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-10-05 18:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:34:31] 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-10-05 18:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548468992001,"66":25430,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548468992001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:34:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:34:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548468992001,"power":25430,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":204922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:34:31] local.INFO: GPS data processed {"connection_id":204922,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:34:31] local.INFO: Acknowledgment sent {"connection_id":204922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:34:37] local.INFO: TCP Data received {"connection_id":206306,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206306,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:34:37] local.INFO: Processing buffer {"connection_id":206306,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:34:37] local.INFO: IMEI packet received {"connection_id":206306,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 18:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":206306,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:34:40] local.INFO: TCP Data received {"connection_id":207859,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:34:40] local.INFO: Processing buffer {"connection_id":207859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:34:40] local.INFO: IMEI packet received {"connection_id":207859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":207859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:34:43] local.INFO: TCP Data received {"connection_id":204923,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c29dea8012d19ac8007208f60003100bd27..."} 
[2026-10-05 18:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c29dea8012d19ac8007208f60003100bd27..."} 
[2026-10-05 18:34:43] local.INFO: Processing buffer {"connection_id":204923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c29dea8012d19ac8007208f60003100bd27..."} 
[2026-10-05 18:34:43] local.INFO: Packet analysis {"connection_id":204923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c29"} 
[2026-10-05 18:34:43] local.INFO: Extracted packet for processing {"connection_id":204923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c29"} 
[2026-10-05 18:34:43] local.INFO: GPS Element Parsed {"raw_longitude":756657280,"raw_latitude":119574368,"longitude_deg":75.665728,"latitude_deg":11.9574368,"altitude":49,"angle":189,"satellites":39,"speed":27,"hex_longitude":"2d19ac80","hex_latitude":"07208f60","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548589056001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25258908826206208,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646019235840,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791205433000,"timestamp_ms":1791205433000,"timestamp_seconds":1791205433,"priority":1,"record_length":96,"hex_timestamp":"000001a10c29dea8"} 
[2026-10-05 18:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:34:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-10-05 18:34:43] 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-10-05 18: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-10-05 18:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548589056001,"66":13820,"121":206,"28":31744,"24":27,"16":25258908826206208,"45":1853301646019235840},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548589056001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:34:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:34:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25258908826206208,"km_value":25258908826206.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646019235840,"description":"Unknown IO ID 45"} 
[2026-10-05 18:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548589056001,"power":13820,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1853301646019235840}} 
[2026-10-05 18:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":204923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:34:43] local.INFO: GPS data processed {"connection_id":204923,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:34:43] local.INFO: Acknowledgment sent {"connection_id":204923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:34:46] local.INFO: TCP Data received {"connection_id":207859,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:34:46] local.INFO: Processing buffer {"connection_id":207859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:34:46] local.INFO: IMEI packet received {"connection_id":207859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":207859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:34:47] local.INFO: TCP Data received {"connection_id":207859,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c277960012d7a1a4005e468e0000b01212f..."} 
[2026-10-05 18:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c277960012d7a1a4005e468e0000b01212f..."} 
[2026-10-05 18:34:47] local.INFO: Processing buffer {"connection_id":207859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c277960012d7a1a4005e468e0000b01212f..."} 
[2026-10-05 18:34:47] local.INFO: Packet analysis {"connection_id":207859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:34:47] local.INFO: Extracted packet for processing {"connection_id":207859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:34:47] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98855136,"longitude_deg":76.2976832,"latitude_deg":9.8855136,"altitude":11,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e468e0","is_valid_coordinates":true} 
[2026-10-05 18:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548550656001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072777728,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:47] 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-10-05 18:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791205276000,"timestamp_ms":1791205276000,"timestamp_seconds":1791205276,"priority":1,"record_length":96,"hex_timestamp":"000001a10c277960"} 
[2026-10-05 18:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 18:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751640789,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:47] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2634022912,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3183482029547192330,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:47] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18628252428758374,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-10-05 18:34:47] local.WARNING: Large IO value detected {"io_id":62,"raw_value":3355520378,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:47] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495789,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:47] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832080384,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:47] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2648123059457228814,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:47] local.WARNING: Large IO value detected {"io_id":46,"raw_value":5476603016628981335,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:47] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755442390860017,"note":"Value kept but may cause issues"} 
[2026-10-05 18:34:47] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,102,87,24,241,157,16,213,161,101,45,105,12,40,10,66,94,64,104,13,36,78,128,1,240,178,227,228,4,113,205,6,62,35,47,239,2,5,14,9,122,46,48],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-10-05 18:34:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792951495141097711,"timestamp_seconds":792951495141097.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":207859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":207859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":207859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548550656001,"66":13580,"102":206,"87":12288,"24":0,"16":139846540339445760,"45":8798415216072777728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-05 18:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548550656001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:34:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 18:34:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072777728,"description":"Unknown IO ID 45"} 
[2026-10-05 18:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548550656001,"power":13580,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072777728}} 
[2026-10-05 18:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":207859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:34:47] local.INFO: GPS data processed {"connection_id":207859,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:34:47] local.INFO: Acknowledgment sent {"connection_id":207859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:34:54] local.INFO: TCP Data received {"connection_id":206307,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:34:54] local.INFO: Processing buffer {"connection_id":206307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:34:54] local.INFO: IMEI packet received {"connection_id":206307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":206307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:34:59] local.INFO: TCP Data received {"connection_id":206307,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:34:59] local.INFO: Processing buffer {"connection_id":206307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:34:59] local.INFO: IMEI packet received {"connection_id":206307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":206307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:35:00] local.INFO: TCP Data received {"connection_id":206307,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:35:00] local.INFO: Processing buffer {"connection_id":206307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:35:00] local.INFO: Packet analysis {"connection_id":206307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:35:00] local.INFO: Extracted packet for processing {"connection_id":206307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:35:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548468992001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791205258000,"timestamp_ms":1791205258000,"timestamp_seconds":1791205258,"priority":1,"record_length":96,"hex_timestamp":"000001a10c273310"} 
[2026-10-05 18:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:35:00] 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-10-05 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 18:35: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-10-05 18: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-10-05 18:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:35:00] 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-10-05 18:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548468992001,"66":25430,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548468992001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:35:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:35:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548468992001,"power":25430,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":206307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:35:00] local.INFO: GPS data processed {"connection_id":206307,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:35:00] local.INFO: Acknowledgment sent {"connection_id":206307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:35:05] local.INFO: TCP Data received {"connection_id":207860,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:35:05] local.INFO: Processing buffer {"connection_id":207860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:35:05] local.INFO: IMEI packet received {"connection_id":207860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":207860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:35:09] local.INFO: TCP Data received {"connection_id":207860,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:35:09] local.INFO: Processing buffer {"connection_id":207860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:35:09] local.INFO: IMEI packet received {"connection_id":207860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":207860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:35:10] local.INFO: TCP Data received {"connection_id":207860,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c29e290012d19acc007208c60003100ae27..."} 
[2026-10-05 18:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c29e290012d19acc007208c60003100ae27..."} 
[2026-10-05 18:35:10] local.INFO: Processing buffer {"connection_id":207860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c29e290012d19acc007208c60003100ae27..."} 
[2026-10-05 18:35:10] local.INFO: Packet analysis {"connection_id":207860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c29"} 
[2026-10-05 18:35:10] local.INFO: Extracted packet for processing {"connection_id":207860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c29"} 
[2026-10-05 18:35:10] local.INFO: GPS Element Parsed {"raw_longitude":756657344,"raw_latitude":119573600,"longitude_deg":75.6657344,"latitude_deg":11.95736,"altitude":49,"angle":174,"satellites":39,"speed":30,"hex_longitude":"2d19acc0","hex_latitude":"07208c60","is_valid_coordinates":true} 
[2026-10-05 18:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548590848001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25258947480911872,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849994315041824768,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791205434000,"timestamp_ms":1791205434000,"timestamp_seconds":1791205434,"priority":1,"record_length":96,"hex_timestamp":"000001a10c29e290"} 
[2026-10-05 18:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:35: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-10-05 18:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 18:35:10] 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-10-05 18:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548590848001,"66":13820,"121":206,"28":31744,"24":30,"16":25258947480911872,"45":1849994315041824768},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548590848001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:35:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:35:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25258947480911872,"km_value":25258947480911.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849994315041824768,"description":"Unknown IO ID 45"} 
[2026-10-05 18:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548590848001,"power":13820,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1849994315041824768}} 
[2026-10-05 18:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":207860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:35:11] local.INFO: GPS data processed {"connection_id":207860,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:35:11] local.INFO: Acknowledgment sent {"connection_id":207860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:35:31] local.INFO: TCP Data received {"connection_id":206307,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:35:31] local.INFO: Processing buffer {"connection_id":206307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:35:31] local.INFO: Packet analysis {"connection_id":206307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:35:31] local.INFO: Extracted packet for processing {"connection_id":206307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:35:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548468992001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791205258000,"timestamp_ms":1791205258000,"timestamp_seconds":1791205258,"priority":1,"record_length":96,"hex_timestamp":"000001a10c273310"} 
[2026-10-05 18:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:35:31] 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-10-05 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 18:35: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-10-05 18: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-10-05 18:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:35:31] 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-10-05 18:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548468992001,"66":25430,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548468992001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:35:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:35:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548468992001,"power":25430,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":206307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:35:31] local.INFO: GPS data processed {"connection_id":206307,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:35:31] local.INFO: Acknowledgment sent {"connection_id":206307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:35:34] local.INFO: TCP Data received {"connection_id":206308,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:35:34] local.INFO: Processing buffer {"connection_id":206308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:35:34] local.INFO: IMEI packet received {"connection_id":206308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":206308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:35:35] local.INFO: TCP Data received {"connection_id":206308,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:35:35] local.INFO: Processing buffer {"connection_id":206308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:35:35] local.INFO: IMEI packet received {"connection_id":206308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":206308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:35:41] local.INFO: TCP Data received {"connection_id":206308,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:35:41] local.INFO: Processing buffer {"connection_id":206308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:35:41] local.INFO: IMEI packet received {"connection_id":206308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":206308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:35:42] local.INFO: TCP Data received {"connection_id":207860,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c29f618012d19b14007207b50002f00a22a..."} 
[2026-10-05 18:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c29f618012d19b14007207b50002f00a22a..."} 
[2026-10-05 18:35:42] local.INFO: Processing buffer {"connection_id":207860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c29f618012d19b14007207b50002f00a22a..."} 
[2026-10-05 18:35:42] local.INFO: Packet analysis {"connection_id":207860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c29"} 
[2026-10-05 18:35:42] local.INFO: Extracted packet for processing {"connection_id":207860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c29"} 
[2026-10-05 18:35:42] local.INFO: GPS Element Parsed {"raw_longitude":756658496,"raw_latitude":119569232,"longitude_deg":75.6658496,"latitude_deg":11.9569232,"altitude":47,"angle":162,"satellites":42,"speed":39,"hex_longitude":"2d19b140","hex_latitude":"07207b50","is_valid_coordinates":true} 
[2026-10-05 18:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548591104001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25259166524243968,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850064683785805824,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791205439000,"timestamp_ms":1791205439000,"timestamp_seconds":1791205439,"priority":1,"record_length":96,"hex_timestamp":"000001a10c29f618"} 
[2026-10-05 18:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 18:35:42] 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-10-05 18:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548591104001,"66":13820,"121":206,"28":31744,"24":39,"16":25259166524243968,"45":1850064683785805824},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548591104001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:35:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:35:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25259166524243968,"km_value":25259166524243.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850064683785805824,"description":"Unknown IO ID 45"} 
[2026-10-05 18:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548591104001,"power":13820,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1850064683785805824}} 
[2026-10-05 18:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":207860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:35:42] local.INFO: GPS data processed {"connection_id":207860,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:35:42] local.INFO: Acknowledgment sent {"connection_id":207860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:35:42] local.INFO: TCP Data received {"connection_id":206308,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c277960012d7a1a4005e468e0000b01212f..."} 
[2026-10-05 18:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c277960012d7a1a4005e468e0000b01212f..."} 
[2026-10-05 18:35:42] local.INFO: Processing buffer {"connection_id":206308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c277960012d7a1a4005e468e0000b01212f..."} 
[2026-10-05 18:35:42] local.INFO: Packet analysis {"connection_id":206308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:35:42] local.INFO: Extracted packet for processing {"connection_id":206308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:35:42] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98855136,"longitude_deg":76.2976832,"latitude_deg":9.8855136,"altitude":11,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e468e0","is_valid_coordinates":true} 
[2026-10-05 18:35:42] 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-10-05 18:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548550656001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072777728,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:42] 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-10-05 18:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791205276000,"timestamp_ms":1791205276000,"timestamp_seconds":1791205276,"priority":1,"record_length":96,"hex_timestamp":"000001a10c277960"} 
[2026-10-05 18:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 18:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751640789,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:42] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2634022912,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3183482029547192330,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:42] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:42] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18628252428758374,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-10-05 18:35:42] local.WARNING: Large IO value detected {"io_id":62,"raw_value":3355520378,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:42] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495789,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:42] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832080384,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:42] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2648123059457228814,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:42] local.WARNING: Large IO value detected {"io_id":46,"raw_value":5476603016628981335,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:42] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755442390860017,"note":"Value kept but may cause issues"} 
[2026-10-05 18:35:42] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,102,87,24,241,157,16,213,161,101,45,105,12,40,10,66,94,64,104,13,36,78,128,1,240,178,227,228,4,113,205,6,62,35,47,239,2,5,14,9,122,46,48],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-10-05 18:35:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792951495141097711,"timestamp_seconds":792951495141097.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548550656001,"66":13580,"102":206,"87":12288,"24":0,"16":139846540339445760,"45":8798415216072777728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-05 18:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548550656001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:35:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 18:35:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072777728,"description":"Unknown IO ID 45"} 
[2026-10-05 18:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548550656001,"power":13580,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072777728}} 
[2026-10-05 18:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":206308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:35:43] local.INFO: GPS data processed {"connection_id":206308,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:35:43] local.INFO: Acknowledgment sent {"connection_id":206308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:35:59] local.INFO: TCP Data received {"connection_id":204785,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:35:59] local.INFO: Processing buffer {"connection_id":204785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:35:59] local.INFO: IMEI packet received {"connection_id":204785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":204785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:36:04] local.INFO: TCP Data received {"connection_id":204785,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:36:04] local.INFO: Processing buffer {"connection_id":204785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:36:04] local.INFO: IMEI packet received {"connection_id":204785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":204785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:36:05] local.INFO: TCP Data received {"connection_id":204785,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:36:05] local.INFO: Processing buffer {"connection_id":204785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:36:05] local.INFO: Packet analysis {"connection_id":204785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:36:05] local.INFO: Extracted packet for processing {"connection_id":204785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:36:05] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548468992001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791205258000,"timestamp_ms":1791205258000,"timestamp_seconds":1791205258,"priority":1,"record_length":96,"hex_timestamp":"000001a10c273310"} 
[2026-10-05 18:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:36:05] 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-10-05 18:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 18:36: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-10-05 18:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:36:05] 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-10-05 18:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548468992001,"66":25430,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548468992001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:36:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:36:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548468992001,"power":25430,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":204785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:36:05] local.INFO: GPS data processed {"connection_id":204785,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:36:05] local.INFO: Acknowledgment sent {"connection_id":204785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:36:10] local.INFO: TCP Data received {"connection_id":204924,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:36:10] local.INFO: Processing buffer {"connection_id":204924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:36:10] local.INFO: IMEI packet received {"connection_id":204924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":204924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:36:15] local.INFO: TCP Data received {"connection_id":204924,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:36:15] local.INFO: Processing buffer {"connection_id":204924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:36:15] local.INFO: IMEI packet received {"connection_id":204924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":204924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:36:15] local.INFO: TCP Data received {"connection_id":206308,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c277960012d7a1a4005e468e0000b01212f..."} 
[2026-10-05 18:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c277960012d7a1a4005e468e0000b01212f..."} 
[2026-10-05 18:36:15] local.INFO: Processing buffer {"connection_id":206308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c277960012d7a1a4005e468e0000b01212f..."} 
[2026-10-05 18:36:15] local.INFO: Packet analysis {"connection_id":206308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:36:15] local.INFO: Extracted packet for processing {"connection_id":206308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:36:15] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98855136,"longitude_deg":76.2976832,"latitude_deg":9.8855136,"altitude":11,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e468e0","is_valid_coordinates":true} 
[2026-10-05 18:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548550656001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072777728,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:15] 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-10-05 18:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791205276000,"timestamp_ms":1791205276000,"timestamp_seconds":1791205276,"priority":1,"record_length":96,"hex_timestamp":"000001a10c277960"} 
[2026-10-05 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-10-05 18:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 18:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751640789,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:15] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2634022912,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3183482029547192330,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:15] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18628252428758374,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-10-05 18:36:15] local.WARNING: Large IO value detected {"io_id":62,"raw_value":3355520378,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:15] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495789,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:15] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832080384,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:15] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2648123059457228814,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:15] local.WARNING: Large IO value detected {"io_id":46,"raw_value":5476603016628981335,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:15] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755442390860017,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:15] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,102,87,24,241,157,16,213,161,101,45,105,12,40,10,66,94,64,104,13,36,78,128,1,240,178,227,228,4,113,205,6,62,35,47,239,2,5,14,9,122,46,48],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-10-05 18:36:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792951495141097711,"timestamp_seconds":792951495141097.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 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-10-05 18:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":206308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":206308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":206308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548550656001,"66":13580,"102":206,"87":12288,"24":0,"16":139846540339445760,"45":8798415216072777728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-05 18:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548550656001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:36:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 18:36:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072777728,"description":"Unknown IO ID 45"} 
[2026-10-05 18:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548550656001,"power":13580,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072777728}} 
[2026-10-05 18:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":206308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:36:15] local.INFO: GPS data processed {"connection_id":206308,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:36:15] local.INFO: Acknowledgment sent {"connection_id":206308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:36:16] local.INFO: TCP Data received {"connection_id":204924,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2b1728012d19d400072026b0002a00432a..."} 
[2026-10-05 18:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2b1728012d19d400072026b0002a00432a..."} 
[2026-10-05 18:36:16] local.INFO: Processing buffer {"connection_id":204924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2b1728012d19d400072026b0002a00432a..."} 
[2026-10-05 18:36:16] local.INFO: Packet analysis {"connection_id":204924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2b"} 
[2026-10-05 18:36:16] local.INFO: Extracted packet for processing {"connection_id":204924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2b"} 
[2026-10-05 18:36:16] local.INFO: GPS Element Parsed {"raw_longitude":756667392,"raw_latitude":119547568,"longitude_deg":75.6667392,"latitude_deg":11.9547568,"altitude":42,"angle":67,"satellites":42,"speed":16,"hex_longitude":"2d19d400","hex_latitude":"072026b0","is_valid_coordinates":true} 
[2026-10-05 18:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548611072001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25260562388615168,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860619995405752320,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791205513000,"timestamp_ms":1791205513000,"timestamp_seconds":1791205513,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2b1728"} 
[2026-10-05 18:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:36: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-10-05 18:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-05 18:36:16] 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-10-05 18:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548611072001,"66":13396,"121":206,"28":31744,"24":16,"16":25260562388615168,"45":1860619995405752320},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548611072001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:36:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:36:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25260562388615168,"km_value":25260562388615.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860619995405752320,"description":"Unknown IO ID 45"} 
[2026-10-05 18:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548611072001,"power":13396,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1860619995405752320}} 
[2026-10-05 18:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":204924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:36:16] local.INFO: GPS data processed {"connection_id":204924,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:36:16] local.INFO: Acknowledgment sent {"connection_id":204924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:36:30] local.INFO: TCP Data received {"connection_id":207861,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:36:30] local.INFO: Processing buffer {"connection_id":207861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:36:30] local.INFO: IMEI packet received {"connection_id":207861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":207861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:36:35] local.INFO: TCP Data received {"connection_id":207861,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:36:35] local.INFO: Processing buffer {"connection_id":207861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:36:35] local.INFO: IMEI packet received {"connection_id":207861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":207861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:36:36] local.INFO: TCP Data received {"connection_id":207861,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:36:36] local.INFO: Processing buffer {"connection_id":207861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:36:36] local.INFO: Packet analysis {"connection_id":207861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:36:36] local.INFO: Extracted packet for processing {"connection_id":207861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:36:36] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548550656001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072777728,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791205579000,"timestamp_ms":1791205579000,"timestamp_seconds":1791205579,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2c18f8"} 
[2026-10-05 18:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 18:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751640789,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:36] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2801795072,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2175238658674655242,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:36] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629884516330854,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-10-05 18:36:36] local.WARNING: Large IO value detected {"io_id":70,"raw_value":2550214010,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:36] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221611624,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:36] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:36] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832090624,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:36] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2576065465426640910,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:36] local.WARNING: Large IO value detected {"io_id":46,"raw_value":5476603016628981335,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:36] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,87,24,241,157,16,213,161,121,45,64,104,11,47,10,66,101,105,12,40,94,1,240,53,227,228,4,113,205,8,70,33,224,48,239,2,5,14,6,122,46],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-10-05 18:36:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792951495141097712,"timestamp_seconds":792951495141097.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548550656001,"66":13276,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798415216072777728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548550656001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:36:36] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:36:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072777728,"description":"Unknown IO ID 45"} 
[2026-10-05 18:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548550656001,"power":13276,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072777728}} 
[2026-10-05 18:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":207861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:36:36] local.INFO: GPS data processed {"connection_id":207861,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:36:36] local.INFO: Acknowledgment sent {"connection_id":207861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:36:37] local.INFO: TCP Data received {"connection_id":204785,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:36:37] local.INFO: Processing buffer {"connection_id":204785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c273310012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:36:37] local.INFO: Packet analysis {"connection_id":204785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:36:37] local.INFO: Extracted packet for processing {"connection_id":204785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c27"} 
[2026-10-05 18:36:37] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548468992001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791205258000,"timestamp_ms":1791205258000,"timestamp_seconds":1791205258,"priority":1,"record_length":96,"hex_timestamp":"000001a10c273310"} 
[2026-10-05 18:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:36:37] 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-10-05 18:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-05 18:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548468992001,"66":25430,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548468992001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:36:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:36:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548468992001,"power":25430,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":204785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:36:37] local.INFO: GPS data processed {"connection_id":204785,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:36:37] local.INFO: Acknowledgment sent {"connection_id":204785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:36:48] local.INFO: TCP Data received {"connection_id":204924,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2b1b10012d19d5c0072026e8002a005429..."} 
[2026-10-05 18:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2b1b10012d19d5c0072026e8002a005429..."} 
[2026-10-05 18:36:48] local.INFO: Processing buffer {"connection_id":204924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2b1b10012d19d5c0072026e8002a005429..."} 
[2026-10-05 18:36:48] local.INFO: Packet analysis {"connection_id":204924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2b"} 
[2026-10-05 18:36:48] local.INFO: Extracted packet for processing {"connection_id":204924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2b"} 
[2026-10-05 18:36:48] local.INFO: GPS Element Parsed {"raw_longitude":756667840,"raw_latitude":119547624,"longitude_deg":75.666784,"latitude_deg":11.9547624,"altitude":42,"angle":84,"satellites":41,"speed":16,"hex_longitude":"2d19d5c0","hex_latitude":"072026e8","is_valid_coordinates":true} 
[2026-10-05 18:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548611328001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25260583863451648,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861112576615034880,"note":"Value kept but may cause issues"} 
[2026-10-05 18:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791205514000,"timestamp_ms":1791205514000,"timestamp_seconds":1791205514,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2b1b10"} 
[2026-10-05 18:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-05 18:36:48] 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-10-05 18:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548611328001,"66":13319,"121":206,"28":31744,"24":16,"16":25260583863451648,"45":1861112576615034880},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548611328001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:36:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:36:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25260583863451648,"km_value":25260583863451.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861112576615034880,"description":"Unknown IO ID 45"} 
[2026-10-05 18:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548611328001,"power":13319,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1861112576615034880}} 
[2026-10-05 18:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":204924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:36:48] local.INFO: GPS data processed {"connection_id":204924,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:36:48] local.INFO: Acknowledgment sent {"connection_id":204924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:36:54] local.INFO: TCP Data received {"connection_id":207862,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:36:54] local.INFO: Processing buffer {"connection_id":207862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:36:54] local.INFO: IMEI packet received {"connection_id":207862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":207862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:36:59] local.INFO: TCP Data received {"connection_id":207862,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:36:59] local.INFO: Processing buffer {"connection_id":207862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:36:59] local.INFO: IMEI packet received {"connection_id":207862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":207862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:37:00] local.INFO: TCP Data received {"connection_id":207862,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:37:00] local.INFO: Processing buffer {"connection_id":207862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:37:00] local.INFO: Packet analysis {"connection_id":207862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2b"} 
[2026-10-05 18:37:00] local.INFO: Extracted packet for processing {"connection_id":207862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2b"} 
[2026-10-05 18:37:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548546048001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791205559000,"timestamp_ms":1791205559000,"timestamp_seconds":1791205559,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2bcad8"} 
[2026-10-05 18:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:37:00] 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-10-05 18:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-05 18:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:37:00] 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-10-05 18:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548546048001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548546048001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:37:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:37:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548546048001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":207862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:37:00] local.INFO: GPS data processed {"connection_id":207862,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:37:00] local.INFO: Acknowledgment sent {"connection_id":207862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:37:05] local.INFO: TCP Data received {"connection_id":204786,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:37:05] local.INFO: Processing buffer {"connection_id":204786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:37:05] local.INFO: IMEI packet received {"connection_id":204786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":204786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:37:08] local.INFO: TCP Data received {"connection_id":207861,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:37:08] local.INFO: Processing buffer {"connection_id":207861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:37:08] local.INFO: Packet analysis {"connection_id":207861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:37:08] local.INFO: Extracted packet for processing {"connection_id":207861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:37:08] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548550656001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072777728,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791205579000,"timestamp_ms":1791205579000,"timestamp_seconds":1791205579,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2c18f8"} 
[2026-10-05 18:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 18:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751640789,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:08] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2801795072,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2175238658674655242,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:08] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629884516330854,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-10-05 18:37:08] local.WARNING: Large IO value detected {"io_id":70,"raw_value":2550214010,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:08] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221611624,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:08] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:08] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832090624,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:08] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2576065465426640910,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:08] local.WARNING: Large IO value detected {"io_id":46,"raw_value":5476603016628981335,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:08] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,87,24,241,157,16,213,161,121,45,64,104,11,47,10,66,101,105,12,40,94,1,240,53,227,228,4,113,205,8,70,33,224,48,239,2,5,14,6,122,46],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-10-05 18:37:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792951495141097712,"timestamp_seconds":792951495141097.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548550656001,"66":13276,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798415216072777728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548550656001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:37:08] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:37:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072777728,"description":"Unknown IO ID 45"} 
[2026-10-05 18:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548550656001,"power":13276,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072777728}} 
[2026-10-05 18:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":207861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:37:08] local.INFO: GPS data processed {"connection_id":207861,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:37:08] local.INFO: Acknowledgment sent {"connection_id":207861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:37:09] local.INFO: TCP Data received {"connection_id":204786,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:37:09] local.INFO: Processing buffer {"connection_id":204786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:37:09] local.INFO: IMEI packet received {"connection_id":204786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":204786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:37:10] local.INFO: TCP Data received {"connection_id":204786,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2b3e38012d19ed8007202b48002c004528..."} 
[2026-10-05 18:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2b3e38012d19ed8007202b48002c004528..."} 
[2026-10-05 18:37:10] local.INFO: Processing buffer {"connection_id":204786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2b3e38012d19ed8007202b48002c004528..."} 
[2026-10-05 18:37:10] local.INFO: Packet analysis {"connection_id":204786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2b"} 
[2026-10-05 18:37:10] local.INFO: Extracted packet for processing {"connection_id":204786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2b"} 
[2026-10-05 18:37:10] local.INFO: GPS Element Parsed {"raw_longitude":756673920,"raw_latitude":119548744,"longitude_deg":75.667392,"latitude_deg":11.9548744,"altitude":44,"angle":69,"satellites":40,"speed":34,"hex_longitude":"2d19ed80","hex_latitude":"07202b48","is_valid_coordinates":true} 
[2026-10-05 18:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548611584001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25260875921227776,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861605157824292864,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791205523000,"timestamp_ms":1791205523000,"timestamp_seconds":1791205523,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2b3e38"} 
[2026-10-05 18:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:37: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-10-05 18:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 18:37:10] local.WARNING: Large IO value detected {"io_id":42,"raw_value":-7620089276293021689,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:10] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":59393,"corrected_to":0} 
[2026-10-05 18:37:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:10] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2141461798915680512,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-10-05 18:37:10] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2147950621,"corrected_to":0} 
[2026-10-05 18:37:10] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911143,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:10] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3191144448,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:10] local.WARNING: Large IO value detected {"io_id":230,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:10] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,190,161,23,45,38,42,10,66,19,64,41,247,192,1,240,12,32,4,113,205,2,203,239,53,89,7,3,230],"length":527,"final_offset":657,"validated_count":35,"validation_warnings":[{"io_id":247,"original":59393,"validated":0},{"io_id":205,"original":3883466958,"validated":0},{"io_id":203,"original":2147950621,"validated":0}]} 
[2026-10-05 18:37:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026511484664414208,"timestamp_seconds":3026511484664414.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548611584001,"66":13689,"121":206,"28":31744,"24":34,"16":25260875921227776,"45":1861605157824292864},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548611584001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:37:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:37:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25260875921227776,"km_value":25260875921227.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861605157824292864,"description":"Unknown IO ID 45"} 
[2026-10-05 18:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548611584001,"power":13689,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1861605157824292864}} 
[2026-10-05 18:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":204786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:37:11] local.INFO: GPS data processed {"connection_id":204786,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:37:11] local.INFO: Acknowledgment sent {"connection_id":204786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:37:30] local.INFO: TCP Data received {"connection_id":206309,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:37:30] local.INFO: Processing buffer {"connection_id":206309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:37:30] local.INFO: IMEI packet received {"connection_id":206309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":206309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:37:31] local.INFO: TCP Data received {"connection_id":207862,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:37:31] local.INFO: Processing buffer {"connection_id":207862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:37:31] local.INFO: Packet analysis {"connection_id":207862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2b"} 
[2026-10-05 18:37:31] local.INFO: Extracted packet for processing {"connection_id":207862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2b"} 
[2026-10-05 18:37:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548546048001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791205559000,"timestamp_ms":1791205559000,"timestamp_seconds":1791205559,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2bcad8"} 
[2026-10-05 18:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:37:31] 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-10-05 18: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-05 18:37:31] 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-10-05 18: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-10-05 18:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:37:31] 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-10-05 18:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548546048001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548546048001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:37:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:37:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548546048001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":207862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:37:31] local.INFO: GPS data processed {"connection_id":207862,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:37:31] local.INFO: Acknowledgment sent {"connection_id":207862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:37:36] local.INFO: TCP Data received {"connection_id":206309,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:37:36] local.INFO: Processing buffer {"connection_id":206309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:37:36] local.INFO: IMEI packet received {"connection_id":206309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":206309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:37:42] local.INFO: TCP Data received {"connection_id":204786,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2ca980012d1a874007204618003c00a826..."} 
[2026-10-05 18:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2ca980012d1a874007204618003c00a826..."} 
[2026-10-05 18:37:42] local.INFO: Processing buffer {"connection_id":204786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2ca980012d1a874007204618003c00a826..."} 
[2026-10-05 18:37:42] local.INFO: Packet analysis {"connection_id":204786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:37:42] local.INFO: Extracted packet for processing {"connection_id":204786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:37:42] local.INFO: GPS Element Parsed {"raw_longitude":756713280,"raw_latitude":119555608,"longitude_deg":75.671328,"latitude_deg":11.9555608,"altitude":60,"angle":168,"satellites":38,"speed":12,"hex_longitude":"2d1a8740","hex_latitude":"07204618","is_valid_coordinates":true} 
[2026-10-05 18:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548637440001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25262877375987712,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911426228704190464,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791205616000,"timestamp_ms":1791205616000,"timestamp_seconds":1791205616,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2ca980"} 
[2026-10-05 18:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-05 18:37:42] 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-10-05 18:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548637440001,"66":12885,"121":206,"28":31744,"24":12,"16":25262877375987712,"45":1911426228704190464},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548637440001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:37:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:37:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25262877375987712,"km_value":25262877375987.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911426228704190464,"description":"Unknown IO ID 45"} 
[2026-10-05 18:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548637440001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1911426228704190464}} 
[2026-10-05 18:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":204786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:37:43] local.INFO: GPS data processed {"connection_id":204786,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:37:43] local.INFO: Acknowledgment sent {"connection_id":204786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:37:44] local.INFO: TCP Data received {"connection_id":206309,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:37:44] local.INFO: Processing buffer {"connection_id":206309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:37:44] local.INFO: Packet analysis {"connection_id":206309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:37:44] local.INFO: Extracted packet for processing {"connection_id":206309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:37:44] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548550656001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072777728,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791205579000,"timestamp_ms":1791205579000,"timestamp_seconds":1791205579,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2c18f8"} 
[2026-10-05 18:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 18:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751640789,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:44] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2801795072,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2175238658674655242,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:44] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:44] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629884516330854,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-10-05 18:37:44] local.WARNING: Large IO value detected {"io_id":70,"raw_value":2550214010,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:44] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221611624,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:44] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:44] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832090624,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:44] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2576065465426640910,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:44] local.WARNING: Large IO value detected {"io_id":46,"raw_value":5476603016628981335,"note":"Value kept but may cause issues"} 
[2026-10-05 18:37:44] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,87,24,241,157,16,213,161,121,45,64,104,11,47,10,66,101,105,12,40,94,1,240,53,227,228,4,113,205,8,70,33,224,48,239,2,5,14,6,122,46],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-10-05 18:37:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792951495141097712,"timestamp_seconds":792951495141097.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":206309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":206309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":206309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548550656001,"66":13276,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798415216072777728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548550656001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:37:44] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:37:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072777728,"description":"Unknown IO ID 45"} 
[2026-10-05 18:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548550656001,"power":13276,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072777728}} 
[2026-10-05 18:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":206309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:37:44] local.INFO: GPS data processed {"connection_id":206309,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:37:44] local.INFO: Acknowledgment sent {"connection_id":206309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:37:54] local.INFO: TCP Data received {"connection_id":206310,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:37:54] local.INFO: Processing buffer {"connection_id":206310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:37:54] local.INFO: IMEI packet received {"connection_id":206310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":206310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:37:59] local.INFO: TCP Data received {"connection_id":206310,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:37:59] local.INFO: Processing buffer {"connection_id":206310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:37:59] local.INFO: IMEI packet received {"connection_id":206310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":206310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:38:00] local.INFO: TCP Data received {"connection_id":206310,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:38:00] local.INFO: Processing buffer {"connection_id":206310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:38:00] local.INFO: Packet analysis {"connection_id":206310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2b"} 
[2026-10-05 18:38:00] local.INFO: Extracted packet for processing {"connection_id":206310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2b"} 
[2026-10-05 18:38:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548546048001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791205559000,"timestamp_ms":1791205559000,"timestamp_seconds":1791205559,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2bcad8"} 
[2026-10-05 18:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:38:00] 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-10-05 18: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-05 18:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:38:00] 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-10-05 18:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548546048001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548546048001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:38:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:38:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548546048001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":206310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:38:00] local.INFO: GPS data processed {"connection_id":206310,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:38:00] local.INFO: Acknowledgment sent {"connection_id":206310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:38:09] local.INFO: TCP Data received {"connection_id":204787,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:38:09] local.INFO: Processing buffer {"connection_id":204787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:38:09] local.INFO: IMEI packet received {"connection_id":204787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":204787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:38:09] local.INFO: TCP Data received {"connection_id":204787,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:38:09] local.INFO: Processing buffer {"connection_id":204787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:38:09] local.INFO: IMEI packet received {"connection_id":204787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":204787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:38:16] local.INFO: TCP Data received {"connection_id":204787,"ip":"117.224.141.49","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a10c..."} 
[2026-10-05 18:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204787,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a10c..."} 
[2026-10-05 18:38:16] local.INFO: Processing buffer {"connection_id":204787,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a10c..."} 
[2026-10-05 18:38:16] local.INFO: IMEI packet received {"connection_id":204787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":204787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:38:16] local.INFO: TCP Data received {"connection_id":206309,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:38:16] local.INFO: Processing buffer {"connection_id":206309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:38:16] local.INFO: Packet analysis {"connection_id":206309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:38:16] local.INFO: Extracted packet for processing {"connection_id":206309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:38:16] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548550656001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072777728,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791205579000,"timestamp_ms":1791205579000,"timestamp_seconds":1791205579,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2c18f8"} 
[2026-10-05 18:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 18:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751640789,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:16] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2801795072,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2175238658674655242,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:16] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629884516330854,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-10-05 18:38:16] local.WARNING: Large IO value detected {"io_id":70,"raw_value":2550214010,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:16] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221611624,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:16] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:16] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832090624,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:16] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2576065465426640910,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:16] local.WARNING: Large IO value detected {"io_id":46,"raw_value":5476603016628981335,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:16] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,87,24,241,157,16,213,161,121,45,64,104,11,47,10,66,101,105,12,40,94,1,240,53,227,228,4,113,205,8,70,33,224,48,239,2,5,14,6,122,46],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-10-05 18:38:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792951495141097712,"timestamp_seconds":792951495141097.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":206309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":206309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":206309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548550656001,"66":13276,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798415216072777728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548550656001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:38:16] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:38:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072777728,"description":"Unknown IO ID 45"} 
[2026-10-05 18:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548550656001,"power":13276,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072777728}} 
[2026-10-05 18:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":206309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:38:16] local.INFO: GPS data processed {"connection_id":206309,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:38:16] local.INFO: Acknowledgment sent {"connection_id":206309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:38:17] local.INFO: TCP Data received {"connection_id":204787,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2cb538012d1a868007204208003d00ca27..."} 
[2026-10-05 18:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2cb538012d1a868007204208003d00ca27..."} 
[2026-10-05 18:38:17] local.INFO: Processing buffer {"connection_id":204787,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a10c2cad68012d1a8740072044e0003c00bb27..."} 
[2026-10-05 18:38:17] local.INFO: Packet analysis {"connection_id":204787,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:38:17] local.INFO: Extracted packet for processing {"connection_id":204787,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:38:17] local.INFO: GPS Element Parsed {"raw_longitude":756713280,"raw_latitude":119555296,"longitude_deg":75.671328,"latitude_deg":11.9555296,"altitude":60,"angle":187,"satellites":39,"speed":13,"hex_longitude":"2d1a8740","hex_latitude":"072044e0","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548637696001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25262894555856896,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911566966192478208,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791205617000,"timestamp_ms":1791205617000,"timestamp_seconds":1791205617,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2cad68"} 
[2026-10-05 18:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:38: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-10-05 18: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 18:38:17] 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-10-05 18: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-10-05 18:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":204787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":204787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":204787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548637696001,"66":12885,"121":206,"28":31744,"24":13,"16":25262894555856896,"45":1911566966192478208},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548637696001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:38:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:38:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25262894555856896,"km_value":25262894555856.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911566966192478208,"description":"Unknown IO ID 45"} 
[2026-10-05 18:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548637696001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1911566966192478208}} 
[2026-10-05 18:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":204787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:38:17] local.INFO: GPS data processed {"connection_id":204787,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:38:17] local.INFO: Acknowledgment sent {"connection_id":204787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:38:17] local.INFO: Packet analysis {"connection_id":204787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:38:17] local.INFO: Extracted packet for processing {"connection_id":204787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:38:17] local.INFO: GPS Element Parsed {"raw_longitude":756713088,"raw_latitude":119554568,"longitude_deg":75.6713088,"latitude_deg":11.9554568,"altitude":61,"angle":202,"satellites":39,"speed":16,"hex_longitude":"2d1a8680","hex_latitude":"07204208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548637952001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25262928915595264,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911566966192398336,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791205619000,"timestamp_ms":1791205619000,"timestamp_seconds":1791205619,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2cb538"} 
[2026-10-05 18:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:38: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-10-05 18: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 18:38:17] 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-10-05 18: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-10-05 18:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":204787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":204787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":204787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548637952001,"66":13537,"121":206,"28":31744,"24":16,"16":25262928915595264,"45":1911566966192398336},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548637952001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:38:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:38:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25262928915595264,"km_value":25262928915595.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911566966192398336,"description":"Unknown IO ID 45"} 
[2026-10-05 18:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548637952001,"power":13537,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1911566966192398336}} 
[2026-10-05 18:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":204787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:38:17] local.INFO: GPS data processed {"connection_id":204787,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:38:17] local.INFO: Acknowledgment sent {"connection_id":204787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:38:18] local.INFO: TCP Data received {"connection_id":204787,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2cdc48012d1a8200072031e8004000ac28..."} 
[2026-10-05 18:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2cdc48012d1a8200072031e8004000ac28..."} 
[2026-10-05 18:38:18] local.INFO: Processing buffer {"connection_id":204787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2cdc48012d1a8200072031e8004000ac28..."} 
[2026-10-05 18:38:18] local.INFO: Packet analysis {"connection_id":204787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:38:18] local.INFO: Extracted packet for processing {"connection_id":204787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:38:18] local.INFO: GPS Element Parsed {"raw_longitude":756711936,"raw_latitude":119550440,"longitude_deg":75.6711936,"latitude_deg":11.955044,"altitude":64,"angle":172,"satellites":40,"speed":19,"hex_longitude":"2d1a8200","hex_latitude":"072031e8","is_valid_coordinates":true} 
[2026-10-05 18:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548638464001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25263139368992768,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911355859959678976,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791205629000,"timestamp_ms":1791205629000,"timestamp_seconds":1791205629,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2cdc48"} 
[2026-10-05 18:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-10-05 18:38:18] 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-10-05 18:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":204787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":204787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":204787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548638464001,"66":12711,"121":206,"28":31744,"24":19,"16":25263139368992768,"45":1911355859959678976},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548638464001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:38:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:38:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25263139368992768,"km_value":25263139368992.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911355859959678976,"description":"Unknown IO ID 45"} 
[2026-10-05 18:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548638464001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1911355859959678976}} 
[2026-10-05 18:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":204787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:38:18] local.INFO: GPS data processed {"connection_id":204787,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:38:18] local.INFO: Acknowledgment sent {"connection_id":204787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:38:30] local.INFO: TCP Data received {"connection_id":204925,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:38:30] local.INFO: Processing buffer {"connection_id":204925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:38:30] local.INFO: IMEI packet received {"connection_id":204925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":204925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:38:31] local.INFO: TCP Data received {"connection_id":206310,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:38:31] local.INFO: Processing buffer {"connection_id":206310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:38:31] local.INFO: Packet analysis {"connection_id":206310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2b"} 
[2026-10-05 18:38:31] local.INFO: Extracted packet for processing {"connection_id":206310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2b"} 
[2026-10-05 18:38:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548546048001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791205559000,"timestamp_ms":1791205559000,"timestamp_seconds":1791205559,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2bcad8"} 
[2026-10-05 18:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:38:31] 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-10-05 18: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-05 18:38:31] 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-10-05 18: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-10-05 18:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:38:31] 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-10-05 18:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548546048001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548546048001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:38:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:38:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548546048001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":206310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:38:31] local.INFO: GPS data processed {"connection_id":206310,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:38:31] local.INFO: Acknowledgment sent {"connection_id":206310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:38:36] local.INFO: TCP Data received {"connection_id":204925,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:38:36] local.INFO: Processing buffer {"connection_id":204925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:38:36] local.INFO: IMEI packet received {"connection_id":204925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":204925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:38:38] local.INFO: TCP Data received {"connection_id":204925,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:38:38] local.INFO: Processing buffer {"connection_id":204925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:38:38] local.INFO: Packet analysis {"connection_id":204925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:38:38] local.INFO: Extracted packet for processing {"connection_id":204925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:38:38] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:38: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-10-05 18:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548550656001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072777728,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791205579000,"timestamp_ms":1791205579000,"timestamp_seconds":1791205579,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2c18f8"} 
[2026-10-05 18:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:38: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 18:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751640789,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:38] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2801795072,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2175238658674655242,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:38] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629884516330854,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-10-05 18:38:38] local.WARNING: Large IO value detected {"io_id":70,"raw_value":2550214010,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221611624,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:38] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:38] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832090624,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:38] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2576065465426640910,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:38] local.WARNING: Large IO value detected {"io_id":46,"raw_value":5476603016628981335,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:38] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,87,24,241,157,16,213,161,121,45,64,104,11,47,10,66,101,105,12,40,94,1,240,53,227,228,4,113,205,8,70,33,224,48,239,2,5,14,6,122,46],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-10-05 18:38:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792951495141097712,"timestamp_seconds":792951495141097.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548550656001,"66":13276,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798415216072777728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548550656001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:38:38] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:38:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072777728,"description":"Unknown IO ID 45"} 
[2026-10-05 18:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548550656001,"power":13276,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072777728}} 
[2026-10-05 18:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":204925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:38:38] local.INFO: GPS data processed {"connection_id":204925,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:38:38] local.INFO: Acknowledgment sent {"connection_id":204925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:38:50] local.INFO: TCP Data received {"connection_id":204787,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2cfb88012d1a8500072022f80040009628..."} 
[2026-10-05 18:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2cfb88012d1a8500072022f80040009628..."} 
[2026-10-05 18:38:50] local.INFO: Processing buffer {"connection_id":204787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2cfb88012d1a8500072022f80040009628..."} 
[2026-10-05 18:38:50] local.INFO: Packet analysis {"connection_id":204787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:38:50] local.INFO: Extracted packet for processing {"connection_id":204787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:38:50] local.INFO: GPS Element Parsed {"raw_longitude":756712704,"raw_latitude":119546616,"longitude_deg":75.6712704,"latitude_deg":11.9546616,"altitude":64,"angle":150,"satellites":40,"speed":21,"hex_longitude":"2d1a8500","hex_latitude":"072022f8","is_valid_coordinates":true} 
[2026-10-05 18:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548641024001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25263332642521088,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1910089222563424256,"note":"Value kept but may cause issues"} 
[2026-10-05 18:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1791205637000,"timestamp_ms":1791205637000,"timestamp_seconds":1791205637,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2cfb88"} 
[2026-10-05 18:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-05 18:38:50] 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-10-05 18:38: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-10-05 18:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":204787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":204787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":204787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548641024001,"66":13363,"121":206,"28":31744,"24":21,"16":25263332642521088,"45":1910089222563424256},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548641024001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:38:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:38:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25263332642521088,"km_value":25263332642521.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1910089222563424256,"description":"Unknown IO ID 45"} 
[2026-10-05 18:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548641024001,"power":13363,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1910089222563424256}} 
[2026-10-05 18:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":204787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:38:50] local.INFO: GPS data processed {"connection_id":204787,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:38:50] local.INFO: Acknowledgment sent {"connection_id":204787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:38:54] local.INFO: TCP Data received {"connection_id":207863,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:38:54] local.INFO: Processing buffer {"connection_id":207863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:38:54] local.INFO: IMEI packet received {"connection_id":207863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":207863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:38:59] local.INFO: TCP Data received {"connection_id":207863,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:38:59] local.INFO: Processing buffer {"connection_id":207863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:38:59] local.INFO: IMEI packet received {"connection_id":207863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":207863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:39:00] local.INFO: TCP Data received {"connection_id":207863,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:39:00] local.INFO: Processing buffer {"connection_id":207863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:39:00] local.INFO: Packet analysis {"connection_id":207863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2b"} 
[2026-10-05 18:39:00] local.INFO: Extracted packet for processing {"connection_id":207863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2b"} 
[2026-10-05 18:39:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548546048001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791205559000,"timestamp_ms":1791205559000,"timestamp_seconds":1791205559,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2bcad8"} 
[2026-10-05 18:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:39:00] 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-10-05 18: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-05 18:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:39:00] 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-10-05 18:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548546048001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548546048001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:39:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:39:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548546048001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":207863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:39:00] local.INFO: GPS data processed {"connection_id":207863,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:39:00] local.INFO: Acknowledgment sent {"connection_id":207863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:39:04] local.INFO: TCP Data received {"connection_id":206311,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:39:04] local.INFO: Processing buffer {"connection_id":206311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:39:04] local.INFO: IMEI packet received {"connection_id":206311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":206311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:39:05] local.INFO: TCP Data received {"connection_id":206311,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:39:05] local.INFO: Processing buffer {"connection_id":206311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:39:05] local.INFO: IMEI packet received {"connection_id":206311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":206311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:39:10] local.INFO: TCP Data received {"connection_id":206311,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:39:10] local.INFO: Processing buffer {"connection_id":206311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:39:10] local.INFO: IMEI packet received {"connection_id":206311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":206311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:39:10] local.INFO: TCP Data received {"connection_id":204925,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:39:10] local.INFO: Processing buffer {"connection_id":204925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:39:10] local.INFO: Packet analysis {"connection_id":204925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:39:10] local.INFO: Extracted packet for processing {"connection_id":204925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:39:10] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548550656001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072777728,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791205579000,"timestamp_ms":1791205579000,"timestamp_seconds":1791205579,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2c18f8"} 
[2026-10-05 18:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 18:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751640789,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:10] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2801795072,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2175238658674655242,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:10] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629884516330854,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-10-05 18:39:10] local.WARNING: Large IO value detected {"io_id":70,"raw_value":2550214010,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:10] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221611624,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:10] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:10] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832090624,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:10] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2576065465426640910,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:10] local.WARNING: Large IO value detected {"io_id":46,"raw_value":5476603016628981335,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:10] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,87,24,241,157,16,213,161,121,45,64,104,11,47,10,66,101,105,12,40,94,1,240,53,227,228,4,113,205,8,70,33,224,48,239,2,5,14,6,122,46],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-10-05 18:39:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792951495141097712,"timestamp_seconds":792951495141097.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548550656001,"66":13276,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798415216072777728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548550656001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:39:10] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:39:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072777728,"description":"Unknown IO ID 45"} 
[2026-10-05 18:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548550656001,"power":13276,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072777728}} 
[2026-10-05 18:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":204925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:39:10] local.INFO: GPS data processed {"connection_id":204925,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:39:10] local.INFO: Acknowledgment sent {"connection_id":204925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:39:11] local.INFO: TCP Data received {"connection_id":206311,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2daf38012d1aa080071ff4d0003b00712c..."} 
[2026-10-05 18:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2daf38012d1aa080071ff4d0003b00712c..."} 
[2026-10-05 18:39:11] local.INFO: Processing buffer {"connection_id":206311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2daf38012d1aa080071ff4d0003b00712c..."} 
[2026-10-05 18:39:11] local.INFO: Packet analysis {"connection_id":206311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2d"} 
[2026-10-05 18:39:11] local.INFO: Extracted packet for processing {"connection_id":206311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2d"} 
[2026-10-05 18:39:11] local.INFO: GPS Element Parsed {"raw_longitude":756719744,"raw_latitude":119534800,"longitude_deg":75.6719744,"latitude_deg":11.95348,"altitude":59,"angle":113,"satellites":44,"speed":12,"hex_longitude":"2d1aa080","hex_latitude":"071ff4d0","is_valid_coordinates":true} 
[2026-10-05 18:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548654336001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25264028427223040,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1918111259395751936,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791205683000,"timestamp_ms":1791205683000,"timestamp_seconds":1791205683,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2daf38"} 
[2026-10-05 18:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:39: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-10-05 18:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-10-05 18:39:11] 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-10-05 18:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548654336001,"66":12722,"121":206,"28":31744,"24":12,"16":25264028427223040,"45":1918111259395751936},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548654336001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:39:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:39:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25264028427223040,"km_value":25264028427223.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1918111259395751936,"description":"Unknown IO ID 45"} 
[2026-10-05 18:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548654336001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1918111259395751936}} 
[2026-10-05 18:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":206311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:39:11] local.INFO: GPS data processed {"connection_id":206311,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:39:11] local.INFO: Acknowledgment sent {"connection_id":206311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:39:31] local.INFO: TCP Data received {"connection_id":207863,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:39:31] local.INFO: Processing buffer {"connection_id":207863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:39:31] local.INFO: Packet analysis {"connection_id":207863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2b"} 
[2026-10-05 18:39:31] local.INFO: Extracted packet for processing {"connection_id":207863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2b"} 
[2026-10-05 18:39:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548546048001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791205559000,"timestamp_ms":1791205559000,"timestamp_seconds":1791205559,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2bcad8"} 
[2026-10-05 18:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:39:31] 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-10-05 18: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-05 18:39:31] 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-10-05 18: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-10-05 18:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:39:31] 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-10-05 18:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548546048001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548546048001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:39:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:39:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548546048001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":207863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:39:31] local.INFO: GPS data processed {"connection_id":207863,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:39:31] local.INFO: Acknowledgment sent {"connection_id":207863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:39:35] local.INFO: TCP Data received {"connection_id":206312,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:39:35] local.INFO: Processing buffer {"connection_id":206312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:39:35] local.INFO: IMEI packet received {"connection_id":206312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":206312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:39:40] local.INFO: TCP Data received {"connection_id":206312,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:39:40] local.INFO: Processing buffer {"connection_id":206312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:39:40] local.INFO: IMEI packet received {"connection_id":206312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":206312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:39:43] local.INFO: TCP Data received {"connection_id":206311,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2df970012d1aa840071ff208003d00642a..."} 
[2026-10-05 18:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2df970012d1aa840071ff208003d00642a..."} 
[2026-10-05 18:39:43] local.INFO: Processing buffer {"connection_id":206311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2df970012d1aa840071ff208003d00642a..."} 
[2026-10-05 18:39:43] local.INFO: Packet analysis {"connection_id":206311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2d"} 
[2026-10-05 18:39:43] local.INFO: Extracted packet for processing {"connection_id":206311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2d"} 
[2026-10-05 18:39:43] local.INFO: GPS Element Parsed {"raw_longitude":756721728,"raw_latitude":119534088,"longitude_deg":75.6721728,"latitude_deg":11.9534088,"altitude":61,"angle":100,"satellites":42,"speed":9,"hex_longitude":"2d1aa840","hex_latitude":"071ff208","is_valid_coordinates":true} 
[2026-10-05 18:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548654848001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25264127211470848,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1918674209349095424,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791205702000,"timestamp_ms":1791205702000,"timestamp_seconds":1791205702,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2df970"} 
[2026-10-05 18:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 18:39: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-10-05 18:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":206311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":206311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":206311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548654848001,"66":13722,"121":206,"28":31744,"24":9,"16":25264127211470848,"45":1918674209349095424},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548654848001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:39:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:39:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25264127211470848,"km_value":25264127211470.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1918674209349095424,"description":"Unknown IO ID 45"} 
[2026-10-05 18:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548654848001,"power":13722,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1918674209349095424}} 
[2026-10-05 18:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":206311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:39:43] local.INFO: GPS data processed {"connection_id":206311,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:39:43] local.INFO: Acknowledgment sent {"connection_id":206311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:39:46] local.INFO: TCP Data received {"connection_id":206312,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:39:46] local.INFO: Processing buffer {"connection_id":206312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:39:46] local.INFO: IMEI packet received {"connection_id":206312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":206312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:39:47] local.INFO: TCP Data received {"connection_id":206312,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:39:47] local.INFO: Processing buffer {"connection_id":206312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:39:47] local.INFO: Packet analysis {"connection_id":206312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:39:47] local.INFO: Extracted packet for processing {"connection_id":206312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:39:47] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548550656001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072777728,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791205579000,"timestamp_ms":1791205579000,"timestamp_seconds":1791205579,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2c18f8"} 
[2026-10-05 18:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 18:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751640789,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:47] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2801795072,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2175238658674655242,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:47] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629884516330854,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-10-05 18:39:47] local.WARNING: Large IO value detected {"io_id":70,"raw_value":2550214010,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221611624,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:47] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:47] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832090624,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:47] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2576065465426640910,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:47] local.WARNING: Large IO value detected {"io_id":46,"raw_value":5476603016628981335,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:47] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,87,24,241,157,16,213,161,121,45,64,104,11,47,10,66,101,105,12,40,94,1,240,53,227,228,4,113,205,8,70,33,224,48,239,2,5,14,6,122,46],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-10-05 18:39:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792951495141097712,"timestamp_seconds":792951495141097.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":206312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":206312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":206312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548550656001,"66":13276,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798415216072777728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548550656001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:39:47] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:39:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072777728,"description":"Unknown IO ID 45"} 
[2026-10-05 18:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548550656001,"power":13276,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072777728}} 
[2026-10-05 18:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":206312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:39:47] local.INFO: GPS data processed {"connection_id":206312,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:39:47] local.INFO: Acknowledgment sent {"connection_id":206312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:39:50] local.INFO: TCP Data received {"connection_id":206312,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:39:50] local.INFO: Processing buffer {"connection_id":206312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:39:50] local.INFO: Packet analysis {"connection_id":206312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:39:50] local.INFO: Extracted packet for processing {"connection_id":206312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:39:50] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548550656001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072777728,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1791205579000,"timestamp_ms":1791205579000,"timestamp_seconds":1791205579,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2c18f8"} 
[2026-10-05 18:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 18:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751640789,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:50] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2801795072,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2175238658674655242,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:50] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629884516330854,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-10-05 18:39:50] local.WARNING: Large IO value detected {"io_id":70,"raw_value":2550214010,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:50] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221611624,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:50] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:50] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832090624,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:50] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2576065465426640910,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:50] local.WARNING: Large IO value detected {"io_id":46,"raw_value":5476603016628981335,"note":"Value kept but may cause issues"} 
[2026-10-05 18:39:50] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,87,24,241,157,16,213,161,121,45,64,104,11,47,10,66,101,105,12,40,94,1,240,53,227,228,4,113,205,8,70,33,224,48,239,2,5,14,6,122,46],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-10-05 18:39:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792951495141097712,"timestamp_seconds":792951495141097.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":206312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":206312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":206312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548550656001,"66":13276,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798415216072777728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548550656001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:39:50] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:39:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072777728,"description":"Unknown IO ID 45"} 
[2026-10-05 18:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548550656001,"power":13276,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072777728}} 
[2026-10-05 18:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":206312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969235,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:39:51] local.INFO: GPS data processed {"connection_id":206312,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:39:51] local.INFO: Acknowledgment sent {"connection_id":206312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:39:54] local.INFO: TCP Data received {"connection_id":204926,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:39:54] local.INFO: Processing buffer {"connection_id":204926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:39:54] local.INFO: IMEI packet received {"connection_id":204926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":204926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:39:59] local.INFO: TCP Data received {"connection_id":204926,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:39:59] local.INFO: Processing buffer {"connection_id":204926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:39:59] local.INFO: IMEI packet received {"connection_id":204926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":204926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:40:00] local.INFO: TCP Data received {"connection_id":204926,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:40:00] local.INFO: Processing buffer {"connection_id":204926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:40:00] local.INFO: Packet analysis {"connection_id":204926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2b"} 
[2026-10-05 18:40:00] local.INFO: Extracted packet for processing {"connection_id":204926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2b"} 
[2026-10-05 18:40:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 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-10-05 18:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548546048001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791205559000,"timestamp_ms":1791205559000,"timestamp_seconds":1791205559,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2bcad8"} 
[2026-10-05 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-10-05 18:40:00] 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-10-05 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-05 18:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 18:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:40:00] 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-10-05 18:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548546048001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548546048001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:40:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:40:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548546048001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":204926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:40:00] local.INFO: GPS data processed {"connection_id":204926,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:40:00] local.INFO: Acknowledgment sent {"connection_id":204926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:40:03] local.INFO: TCP Data received {"connection_id":204788,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204788,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:40:03] local.INFO: Processing buffer {"connection_id":204788,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:40:03] local.INFO: IMEI packet received {"connection_id":204788,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 18:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":204788,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:40:04] local.INFO: TCP Data received {"connection_id":206313,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:40:04] local.INFO: Processing buffer {"connection_id":206313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:40:04] local.INFO: IMEI packet received {"connection_id":206313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":206313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:40:05] local.INFO: TCP Data received {"connection_id":206313,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:40:05] local.INFO: Processing buffer {"connection_id":206313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:40:05] local.INFO: IMEI packet received {"connection_id":206313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":206313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:40:06] local.INFO: TCP Data received {"connection_id":206313,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:40:06] local.INFO: Processing buffer {"connection_id":206313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:40:06] local.INFO: IMEI packet received {"connection_id":206313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":206313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:40:09] local.INFO: TCP Data received {"connection_id":204788,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204788,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:40:09] local.INFO: Processing buffer {"connection_id":204788,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:40:09] local.INFO: IMEI packet received {"connection_id":204788,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 18:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":204788,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:40:09] local.INFO: TCP Data received {"connection_id":206313,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:40:09] local.INFO: Processing buffer {"connection_id":206313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:40:09] local.INFO: IMEI packet received {"connection_id":206313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":206313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:40:10] local.INFO: TCP Data received {"connection_id":204788,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2dce78012c1805800ad06200025201502b..."} 
[2026-10-05 18:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2dce78012c1805800ad06200025201502b..."} 
[2026-10-05 18:40:10] local.INFO: Processing buffer {"connection_id":204788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2dce78012c1805800ad06200025201502b..."} 
[2026-10-05 18:40:10] local.INFO: Packet analysis {"connection_id":204788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2d"} 
[2026-10-05 18:40:10] local.INFO: Extracted packet for processing {"connection_id":204788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2d"} 
[2026-10-05 18:40:10] local.INFO: GPS Element Parsed {"raw_longitude":739771776,"raw_latitude":181428736,"longitude_deg":73.9771776,"latitude_deg":18.1428736,"altitude":594,"angle":336,"satellites":43,"speed":56,"hex_longitude":"2c180580","hex_latitude":"0ad06200","is_valid_coordinates":true} 
[2026-10-05 18:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548655104001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9610126763753472,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1735434015352954882,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,237,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791205691000,"timestamp_ms":1791205691000,"timestamp_seconds":1791205691,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2dce78"} 
[2026-10-05 18:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:40: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-10-05 18:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 18:40:10] 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-10-05 18:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204788,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 18:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204788,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 18:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 18:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 18:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548655104001,"66":28137,"228":206,"237":58880,"24":56,"16":9610126763753472,"44":1735434015352954882},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,237,24,16,44]} 
[2026-10-05 18:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 18:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 18:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548655104001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:40:10] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-10-05 18:40:10] local.INFO: Unknown IO ID detected {"io_id":237,"value":58880,"description":"Unknown IO ID 237"} 
[2026-10-05 18:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9610126763753472,"km_value":9610126763753.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:40:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":1735434015352954882,"description":"Unknown IO ID 44"} 
[2026-10-05 18:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548655104001,"power":28137,"unknown_228":206,"unknown_237":58880,"ignition":56,"odometer":null,"unknown_44":1735434015352954882}} 
[2026-10-05 18:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":204788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969237,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:40:10] local.INFO: GPS data processed {"connection_id":204788,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:40:10] local.INFO: Acknowledgment sent {"connection_id":204788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:40:10] local.INFO: TCP Data received {"connection_id":206313,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2e0cf8012d1aad40071ff1b0003e00532a..."} 
[2026-10-05 18:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2e0cf8012d1aad40071ff1b0003e00532a..."} 
[2026-10-05 18:40:10] local.INFO: Processing buffer {"connection_id":206313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2e0cf8012d1aad40071ff1b0003e00532a..."} 
[2026-10-05 18:40:10] local.INFO: Packet analysis {"connection_id":206313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2e"} 
[2026-10-05 18:40:10] local.INFO: Extracted packet for processing {"connection_id":206313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2e"} 
[2026-10-05 18:40:10] local.INFO: GPS Element Parsed {"raw_longitude":756723008,"raw_latitude":119534000,"longitude_deg":75.6723008,"latitude_deg":11.9534,"altitude":62,"angle":83,"satellites":42,"speed":9,"hex_longitude":"2d1aad40","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-10-05 18:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548659712001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25264187341012992,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920855640418420736,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791205707000,"timestamp_ms":1791205707000,"timestamp_seconds":1791205707,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2e0cf8"} 
[2026-10-05 18:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:40: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-10-05 18:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-10-05 18:40:10] 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-10-05 18:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":206313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":206313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":206313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548659712001,"66":12548,"121":206,"28":31744,"24":9,"16":25264187341012992,"45":1920855640418420736},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548659712001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:40:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:40:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25264187341012992,"km_value":25264187341012.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920855640418420736,"description":"Unknown IO ID 45"} 
[2026-10-05 18:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548659712001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1920855640418420736}} 
[2026-10-05 18:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":206313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:40:11] local.INFO: GPS data processed {"connection_id":206313,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:40:11] local.INFO: Acknowledgment sent {"connection_id":206313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:40:31] local.INFO: TCP Data received {"connection_id":206314,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206314,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:40:31] local.INFO: Processing buffer {"connection_id":206314,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:40:31] local.INFO: IMEI packet received {"connection_id":206314,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":206314,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:40:31] local.INFO: TCP Data received {"connection_id":204926,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:40:31] local.INFO: Processing buffer {"connection_id":204926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:40:31] local.INFO: Packet analysis {"connection_id":204926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2b"} 
[2026-10-05 18:40:31] local.INFO: Extracted packet for processing {"connection_id":204926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2b"} 
[2026-10-05 18:40:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 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-10-05 18:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548546048001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791205559000,"timestamp_ms":1791205559000,"timestamp_seconds":1791205559,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2bcad8"} 
[2026-10-05 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-10-05 18:40:31] 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-10-05 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-05 18:40:31] 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-10-05 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-10-05 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-10-05 18:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:40:31] 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-10-05 18:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548546048001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548546048001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:40:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:40:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548546048001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":204926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:40:31] local.INFO: GPS data processed {"connection_id":204926,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:40:31] local.INFO: Acknowledgment sent {"connection_id":204926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:40:36] local.INFO: TCP Data received {"connection_id":206314,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206314,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:40:36] local.INFO: Processing buffer {"connection_id":206314,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:40:36] local.INFO: IMEI packet received {"connection_id":206314,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":206314,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:40:37] local.INFO: TCP Data received {"connection_id":206314,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:40:37] local.INFO: Processing buffer {"connection_id":206314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:40:37] local.INFO: Packet analysis {"connection_id":206314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:40:37] local.INFO: Extracted packet for processing {"connection_id":206314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:40:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548550656001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072777728,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791205579000,"timestamp_ms":1791205579000,"timestamp_seconds":1791205579,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2c18f8"} 
[2026-10-05 18:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 18:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751640789,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:37] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2801795072,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2175238658674655242,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629884516330854,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-10-05 18:40:37] local.WARNING: Large IO value detected {"io_id":70,"raw_value":2550214010,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:37] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221611624,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:37] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832090624,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:37] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2576065465426640910,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:37] local.WARNING: Large IO value detected {"io_id":46,"raw_value":5476603016628981335,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:37] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,87,24,241,157,16,213,161,121,45,64,104,11,47,10,66,101,105,12,40,94,1,240,53,227,228,4,113,205,8,70,33,224,48,239,2,5,14,6,122,46],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-10-05 18:40:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792951495141097712,"timestamp_seconds":792951495141097.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548550656001,"66":13276,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798415216072777728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548550656001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:40:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:40:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072777728,"description":"Unknown IO ID 45"} 
[2026-10-05 18:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548550656001,"power":13276,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072777728}} 
[2026-10-05 18:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":206314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969240,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:40:37] local.INFO: GPS data processed {"connection_id":206314,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:40:37] local.INFO: Acknowledgment sent {"connection_id":206314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:40:46] local.INFO: TCP Data received {"connection_id":206313,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2e2c38012d1ab600071ff208003f006f2b..."} 
[2026-10-05 18:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2e2c38012d1ab600071ff208003f006f2b..."} 
[2026-10-05 18:40:46] local.INFO: Processing buffer {"connection_id":206313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2e2c38012d1ab600071ff208003f006f2b..."} 
[2026-10-05 18:40:46] local.INFO: Packet analysis {"connection_id":206313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2e"} 
[2026-10-05 18:40:46] local.INFO: Extracted packet for processing {"connection_id":206313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2e"} 
[2026-10-05 18:40:46] local.INFO: GPS Element Parsed {"raw_longitude":756725248,"raw_latitude":119534088,"longitude_deg":75.6725248,"latitude_deg":11.9534088,"altitude":63,"angle":111,"satellites":43,"speed":6,"hex_longitude":"2d1ab600","hex_latitude":"071ff208","is_valid_coordinates":true} 
[2026-10-05 18:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548660992001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25264294715195392,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1922263015301951488,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791205715000,"timestamp_ms":1791205715000,"timestamp_seconds":1791205715,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2e2c38"} 
[2026-10-05 18:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 18:40:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184282489037,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:46] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4140826683,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-10-05 18:40:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2550213914,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3866792,"corrected_to":0} 
[2026-10-05 18:40:46] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3245473792,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:46] local.WARNING: Large IO value detected {"io_id":13,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:46] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-10-05 18:40:46] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,121,28,24,241,158,16,193,161,249,45,64,242,61,42,10,66,175,128,244,59,44,167,1,240,78,12,31,4,113,205,9,159,157,200,43,239,53,2,89,7,13,231],"length":485,"final_offset":615,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":200,"original":3866792,"validated":0}]} 
[2026-10-05 18:40:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467662270205853696,"timestamp_seconds":4467662270205853.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":206313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":206313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":206313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548660992001,"66":13352,"121":206,"28":31744,"24":6,"16":25264294715195392,"45":1922263015301951488},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548660992001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:40:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:40:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25264294715195392,"km_value":25264294715195.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1922263015301951488,"description":"Unknown IO ID 45"} 
[2026-10-05 18:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548660992001,"power":13352,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1922263015301951488}} 
[2026-10-05 18:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":206313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:40:46] local.INFO: GPS data processed {"connection_id":206313,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:40:46] local.INFO: Acknowledgment sent {"connection_id":206313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:40:48] local.INFO: TCP Data received {"connection_id":207864,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207864,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:40:48] local.INFO: Processing buffer {"connection_id":207864,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:40:48] local.INFO: IMEI packet received {"connection_id":207864,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 18:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":207864,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:40:54] local.INFO: TCP Data received {"connection_id":207865,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:40:54] local.INFO: Processing buffer {"connection_id":207865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:40:54] local.INFO: IMEI packet received {"connection_id":207865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":207865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:40:59] local.INFO: TCP Data received {"connection_id":207865,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:40:59] local.INFO: Processing buffer {"connection_id":207865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:40:59] local.INFO: IMEI packet received {"connection_id":207865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":207865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:41:00] local.INFO: TCP Data received {"connection_id":207865,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:41:00] local.INFO: Processing buffer {"connection_id":207865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:41:00] local.INFO: Packet analysis {"connection_id":207865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2b"} 
[2026-10-05 18:41:00] local.INFO: Extracted packet for processing {"connection_id":207865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2b"} 
[2026-10-05 18:41:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548546048001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791205559000,"timestamp_ms":1791205559000,"timestamp_seconds":1791205559,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2bcad8"} 
[2026-10-05 18:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:41:00] 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-10-05 18:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-05 18:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:41:00] 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-10-05 18:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548546048001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548546048001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:41:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:41:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548546048001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":207865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:41:00] local.INFO: GPS data processed {"connection_id":207865,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:41:00] local.INFO: Acknowledgment sent {"connection_id":207865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:41:08] local.INFO: TCP Data received {"connection_id":206314,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:41:08] local.INFO: Processing buffer {"connection_id":206314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2c18f8012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:41:09] local.INFO: Packet analysis {"connection_id":206314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:41:09] local.INFO: Extracted packet for processing {"connection_id":206314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2c"} 
[2026-10-05 18:41:09] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548550656001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072777728,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791205579000,"timestamp_ms":1791205579000,"timestamp_seconds":1791205579,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2c18f8"} 
[2026-10-05 18:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 18:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751640789,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:09] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2801795072,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2175238658674655242,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:09] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629884516330854,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-10-05 18:41:09] local.WARNING: Large IO value detected {"io_id":70,"raw_value":2550214010,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:09] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221611624,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:09] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:09] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832090624,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:09] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2576065465426640910,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:09] local.WARNING: Large IO value detected {"io_id":46,"raw_value":5476603016628981335,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:09] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,87,24,241,157,16,213,161,121,45,64,104,11,47,10,66,101,105,12,40,94,1,240,53,227,228,4,113,205,8,70,33,224,48,239,2,5,14,6,122,46],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-10-05 18:41:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792951495141097712,"timestamp_seconds":792951495141097.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":206314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":206314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":206314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548550656001,"66":13276,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798415216072777728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548550656001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:41:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:41:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072777728,"description":"Unknown IO ID 45"} 
[2026-10-05 18:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548550656001,"power":13276,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072777728}} 
[2026-10-05 18:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":206314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:41:09] local.INFO: GPS data processed {"connection_id":206314,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:41:09] local.INFO: Acknowledgment sent {"connection_id":206314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:41:09] local.INFO: TCP Data received {"connection_id":207866,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:41:09] local.INFO: Processing buffer {"connection_id":207866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:41:09] local.INFO: IMEI packet received {"connection_id":207866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":207866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:41:14] local.INFO: TCP Data received {"connection_id":207866,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:41:14] local.INFO: Processing buffer {"connection_id":207866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:41:14] local.INFO: IMEI packet received {"connection_id":207866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":207866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:41:15] local.INFO: TCP Data received {"connection_id":207866,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2e7e40012d1ab6c0071ff160003f006f27..."} 
[2026-10-05 18:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2e7e40012d1ab6c0071ff160003f006f27..."} 
[2026-10-05 18:41:15] local.INFO: Processing buffer {"connection_id":207866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2e7e40012d1ab6c0071ff160003f006f27..."} 
[2026-10-05 18:41:15] local.INFO: Packet analysis {"connection_id":207866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2e"} 
[2026-10-05 18:41:15] local.INFO: Extracted packet for processing {"connection_id":207866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2e"} 
[2026-10-05 18:41:15] local.INFO: GPS Element Parsed {"raw_longitude":756725440,"raw_latitude":119533920,"longitude_deg":75.672544,"latitude_deg":11.953392,"altitude":63,"angle":111,"satellites":39,"speed":0,"hex_longitude":"2d1ab6c0","hex_latitude":"071ff160","is_valid_coordinates":true} 
[2026-10-05 18:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548663040001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25264307600097280,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924725921348192256,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791205736000,"timestamp_ms":1791205736000,"timestamp_seconds":1791205736,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2e7e40"} 
[2026-10-05 18:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 18:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548663040001,"66":13450,"121":206,"28":31744,"24":0,"16":25264307600097280,"45":1924725921348192256},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548663040001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:41:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:41:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25264307600097280,"km_value":25264307600097.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924725921348192256,"description":"Unknown IO ID 45"} 
[2026-10-05 18:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548663040001,"power":13450,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1924725921348192256}} 
[2026-10-05 18:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":207866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:41:15] local.INFO: GPS data processed {"connection_id":207866,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:41:15] local.INFO: Acknowledgment sent {"connection_id":207866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:41:30] local.INFO: TCP Data received {"connection_id":207868,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:41:30] local.INFO: Processing buffer {"connection_id":207868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:41:30] local.INFO: IMEI packet received {"connection_id":207868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":207868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:41:31] local.INFO: TCP Data received {"connection_id":207865,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:41:31] local.INFO: Processing buffer {"connection_id":207865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2bcad8012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:41:31] local.INFO: Packet analysis {"connection_id":207865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2b"} 
[2026-10-05 18:41:31] local.INFO: Extracted packet for processing {"connection_id":207865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2b"} 
[2026-10-05 18:41:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548546048001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791205559000,"timestamp_ms":1791205559000,"timestamp_seconds":1791205559,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2bcad8"} 
[2026-10-05 18:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:41:31] 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-10-05 18: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-05 18:41:31] 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-10-05 18: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-10-05 18:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:41:31] 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-10-05 18:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548546048001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548546048001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:41:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:41:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548546048001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":207865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:41:31] local.INFO: GPS data processed {"connection_id":207865,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:41:31] local.INFO: Acknowledgment sent {"connection_id":207865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:41:36] local.INFO: TCP Data received {"connection_id":207868,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:41:36] local.INFO: Processing buffer {"connection_id":207868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:41:36] local.INFO: IMEI packet received {"connection_id":207868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":207868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:41:37] local.INFO: TCP Data received {"connection_id":207868,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:41:37] local.INFO: Processing buffer {"connection_id":207868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:41:37] local.INFO: Packet analysis {"connection_id":207868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:41:37] local.INFO: Extracted packet for processing {"connection_id":207868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:41:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548628224001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791205880000,"timestamp_ms":1791205880000,"timestamp_seconds":1791205880,"priority":1,"record_length":96,"hex_timestamp":"000001a10c30b0c0"} 
[2026-10-05 18:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-05 18:41:37] 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-10-05 18:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548628224001,"66":13189,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548628224001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:41:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:41:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548628224001,"power":13189,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":207868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969246,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:41:37] local.INFO: GPS data processed {"connection_id":207868,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:41:37] local.INFO: Acknowledgment sent {"connection_id":207868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:41:48] local.INFO: TCP Data received {"connection_id":207866,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2e9d80012d1ab7c0071fef70004000ac28..."} 
[2026-10-05 18:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2e9d80012d1ab7c0071fef70004000ac28..."} 
[2026-10-05 18:41:48] local.INFO: Processing buffer {"connection_id":207866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2e9d80012d1ab7c0071fef70004000ac28..."} 
[2026-10-05 18:41:48] local.INFO: Packet analysis {"connection_id":207866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2e"} 
[2026-10-05 18:41:48] local.INFO: Extracted packet for processing {"connection_id":207866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2e"} 
[2026-10-05 18:41:48] local.INFO: GPS Element Parsed {"raw_longitude":756725696,"raw_latitude":119533424,"longitude_deg":75.6725696,"latitude_deg":11.9533424,"altitude":64,"angle":172,"satellites":40,"speed":8,"hex_longitude":"2d1ab7c0","hex_latitude":"071fef70","is_valid_coordinates":true} 
[2026-10-05 18:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548668416001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25264337664868352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924937027580682240,"note":"Value kept but may cause issues"} 
[2026-10-05 18:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791205744000,"timestamp_ms":1791205744000,"timestamp_seconds":1791205744,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2e9d80"} 
[2026-10-05 18:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 18:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":207866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":207866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":207866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548668416001,"66":13515,"121":206,"28":31744,"24":8,"16":25264337664868352,"45":1924937027580682240},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548668416001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:41:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:41:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25264337664868352,"km_value":25264337664868.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924937027580682240,"description":"Unknown IO ID 45"} 
[2026-10-05 18:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548668416001,"power":13515,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1924937027580682240}} 
[2026-10-05 18:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":207866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:41:48] local.INFO: GPS data processed {"connection_id":207866,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:41:48] local.INFO: Acknowledgment sent {"connection_id":207866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:41:59] local.INFO: TCP Data received {"connection_id":204927,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:41:59] local.INFO: Processing buffer {"connection_id":204927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:41:59] local.INFO: IMEI packet received {"connection_id":204927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":204927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:42:04] local.INFO: TCP Data received {"connection_id":204927,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:42:04] local.INFO: Processing buffer {"connection_id":204927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:42:04] local.INFO: IMEI packet received {"connection_id":204927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":204927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:42:04] local.INFO: TCP Data received {"connection_id":204928,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:42:04] local.INFO: Processing buffer {"connection_id":204928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:42:04] local.INFO: IMEI packet received {"connection_id":204928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":204928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:42:05] local.INFO: TCP Data received {"connection_id":204927,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:42:05] local.INFO: Processing buffer {"connection_id":204927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:42:05] local.INFO: Packet analysis {"connection_id":204927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:42:05] local.INFO: Extracted packet for processing {"connection_id":204927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:42:05] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548623104001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791205860000,"timestamp_ms":1791205860000,"timestamp_seconds":1791205860,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3062a0"} 
[2026-10-05 18:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:42:05] 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-10-05 18:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 18:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:42:05] 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-10-05 18:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548623104001,"66":25462,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548623104001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:42:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:42:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548623104001,"power":25462,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":204927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:42:05] local.INFO: GPS data processed {"connection_id":204927,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:42:05] local.INFO: Acknowledgment sent {"connection_id":204927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:42:09] local.INFO: TCP Data received {"connection_id":204928,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:42:09] local.INFO: Processing buffer {"connection_id":204928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:42:09] local.INFO: IMEI packet received {"connection_id":204928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":204928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:42:09] local.INFO: TCP Data received {"connection_id":207868,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:42:09] local.INFO: Processing buffer {"connection_id":207868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:42:09] local.INFO: Packet analysis {"connection_id":207868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:42:09] local.INFO: Extracted packet for processing {"connection_id":207868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:42:09] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 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-10-05 18:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548628224001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791205880000,"timestamp_ms":1791205880000,"timestamp_seconds":1791205880,"priority":1,"record_length":96,"hex_timestamp":"000001a10c30b0c0"} 
[2026-10-05 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-10-05 18:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":220,"data_length":795,"current_offset":136} 
[2026-10-05 18:42:09] 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-10-05 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-10-05 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-10-05 18:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":207868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":207868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":207868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548628224001,"66":13189,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548628224001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:42:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:42:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548628224001,"power":13189,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":207868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:42:09] local.INFO: GPS data processed {"connection_id":207868,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:42:09] local.INFO: Acknowledgment sent {"connection_id":207868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:42:10] local.INFO: TCP Data received {"connection_id":204927,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:42:10] local.INFO: Processing buffer {"connection_id":204927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:42:10] local.INFO: Packet analysis {"connection_id":204927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:42:10] local.INFO: Extracted packet for processing {"connection_id":204927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:42:10] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548623104001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791205860000,"timestamp_ms":1791205860000,"timestamp_seconds":1791205860,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3062a0"} 
[2026-10-05 18:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:42:10] 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-10-05 18:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 18:42:10] 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-10-05 18:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:42:10] 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-10-05 18:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548623104001,"66":25462,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548623104001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:42:10] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:42:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548623104001,"power":25462,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":204927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:42:10] local.INFO: GPS data processed {"connection_id":204927,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:42:10] local.INFO: Acknowledgment sent {"connection_id":204927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:42:10] local.INFO: TCP Data received {"connection_id":204928,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c2ed430012d1ab9c0071fdaa0003f009d2a..."} 
[2026-10-05 18:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c2ed430012d1ab9c0071fdaa0003f009d2a..."} 
[2026-10-05 18:42:10] local.INFO: Processing buffer {"connection_id":204928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c2ed430012d1ab9c0071fdaa0003f009d2a..."} 
[2026-10-05 18:42:10] local.INFO: Packet analysis {"connection_id":204928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c2e"} 
[2026-10-05 18:42:10] local.INFO: Extracted packet for processing {"connection_id":204928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c2e"} 
[2026-10-05 18:42:10] local.INFO: GPS Element Parsed {"raw_longitude":756726208,"raw_latitude":119528096,"longitude_deg":75.6726208,"latitude_deg":11.9528096,"altitude":63,"angle":157,"satellites":42,"speed":18,"hex_longitude":"2d1ab9c0","hex_latitude":"071fdaa0","is_valid_coordinates":true} 
[2026-10-05 18:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548670464001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25264595362906112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925218502557265920,"note":"Value kept but may cause issues"} 
[2026-10-05 18:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791205758000,"timestamp_ms":1791205758000,"timestamp_seconds":1791205758,"priority":1,"record_length":96,"hex_timestamp":"000001a10c2ed430"} 
[2026-10-05 18:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:42: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-10-05 18:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-10-05 18:42: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-10-05 18:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548670464001,"66":13678,"121":206,"28":31744,"24":18,"16":25264595362906112,"45":1925218502557265920},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548670464001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:42:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:42:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25264595362906112,"km_value":25264595362906.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925218502557265920,"description":"Unknown IO ID 45"} 
[2026-10-05 18:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548670464001,"power":13678,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1925218502557265920}} 
[2026-10-05 18:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":204928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:42:11] local.INFO: GPS data processed {"connection_id":204928,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:42:11] local.INFO: Acknowledgment sent {"connection_id":204928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:42:38] local.INFO: TCP Data received {"connection_id":204789,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:42:38] local.INFO: Processing buffer {"connection_id":204789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:42:38] local.INFO: IMEI packet received {"connection_id":204789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":204789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:42:40] local.INFO: TCP Data received {"connection_id":204789,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:42:40] local.INFO: Processing buffer {"connection_id":204789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:42:40] local.INFO: IMEI packet received {"connection_id":204789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":204789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:42:41] local.INFO: TCP Data received {"connection_id":204789,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:42:41] local.INFO: Processing buffer {"connection_id":204789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:42:41] local.INFO: Packet analysis {"connection_id":204789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:42:41] local.INFO: Extracted packet for processing {"connection_id":204789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:42:41] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548628224001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791205880000,"timestamp_ms":1791205880000,"timestamp_seconds":1791205880,"priority":1,"record_length":96,"hex_timestamp":"000001a10c30b0c0"} 
[2026-10-05 18:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-05 18:42: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-10-05 18:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548628224001,"66":13189,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548628224001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:42:41] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:42:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548628224001,"power":13189,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":204789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:42:41] local.INFO: GPS data processed {"connection_id":204789,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:42:41] local.INFO: Acknowledgment sent {"connection_id":204789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:42:43] local.INFO: TCP Data received {"connection_id":204928,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c30b4a8012d1ab680071f9860003d00c129..."} 
[2026-10-05 18:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c30b4a8012d1ab680071f9860003d00c129..."} 
[2026-10-05 18:42:43] local.INFO: Processing buffer {"connection_id":204928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c30b4a8012d1ab680071f9860003d00c129..."} 
[2026-10-05 18:42:43] local.INFO: Packet analysis {"connection_id":204928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:42:43] local.INFO: Extracted packet for processing {"connection_id":204928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:42:43] local.INFO: GPS Element Parsed {"raw_longitude":756725376,"raw_latitude":119511136,"longitude_deg":75.6725376,"latitude_deg":11.9511136,"altitude":61,"angle":193,"satellites":41,"speed":0,"hex_longitude":"2d1ab680","hex_latitude":"071f9860","is_valid_coordinates":true} 
[2026-10-05 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-10-05 18:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548700160001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25265544550678528,"note":"Value kept but may cause issues"} 
[2026-10-05 18:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924866658830671872,"note":"Value kept but may cause issues"} 
[2026-10-05 18:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791205881000,"timestamp_ms":1791205881000,"timestamp_seconds":1791205881,"priority":1,"record_length":96,"hex_timestamp":"000001a10c30b4a8"} 
[2026-10-05 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-10-05 18:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-05 18:42:43] 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-10-05 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-10-05 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-10-05 18:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548700160001,"66":13646,"121":206,"28":31744,"24":0,"16":25265544550678528,"45":1924866658830671872},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548700160001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:42:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:42:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25265544550678528,"km_value":25265544550678.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924866658830671872,"description":"Unknown IO ID 45"} 
[2026-10-05 18:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548700160001,"power":13646,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1924866658830671872}} 
[2026-10-05 18:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":204928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:42:43] local.INFO: GPS data processed {"connection_id":204928,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:42:43] local.INFO: Acknowledgment sent {"connection_id":204928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:42:46] local.INFO: TCP Data received {"connection_id":204789,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:42:46] local.INFO: Processing buffer {"connection_id":204789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:42:46] local.INFO: Packet analysis {"connection_id":204789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:42:46] local.INFO: Extracted packet for processing {"connection_id":204789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:42:46] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548628224001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791205880000,"timestamp_ms":1791205880000,"timestamp_seconds":1791205880,"priority":1,"record_length":96,"hex_timestamp":"000001a10c30b0c0"} 
[2026-10-05 18:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-05 18:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548628224001,"66":13189,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548628224001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:42:46] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:42:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548628224001,"power":13189,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":204789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969254,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:42:46] local.INFO: GPS data processed {"connection_id":204789,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:42:46] local.INFO: Acknowledgment sent {"connection_id":204789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:42:54] local.INFO: TCP Data received {"connection_id":207869,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:42:54] local.INFO: Processing buffer {"connection_id":207869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:42:54] local.INFO: IMEI packet received {"connection_id":207869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":207869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:42:59] local.INFO: TCP Data received {"connection_id":207869,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:42:59] local.INFO: Processing buffer {"connection_id":207869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:42:59] local.INFO: IMEI packet received {"connection_id":207869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":207869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:43:00] local.INFO: TCP Data received {"connection_id":207869,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:43:00] local.INFO: Processing buffer {"connection_id":207869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:43:00] local.INFO: Packet analysis {"connection_id":207869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:43:00] local.INFO: Extracted packet for processing {"connection_id":207869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:43:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548623104001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791205860000,"timestamp_ms":1791205860000,"timestamp_seconds":1791205860,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3062a0"} 
[2026-10-05 18:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:43:00] 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-10-05 18:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 18:43: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-10-05 18:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:43:00] 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-10-05 18:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548623104001,"66":25462,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548623104001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:43:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:43:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548623104001,"power":25462,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":207869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:43:00] local.INFO: GPS data processed {"connection_id":207869,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:43:00] local.INFO: Acknowledgment sent {"connection_id":207869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:43:04] local.INFO: TCP Data received {"connection_id":206316,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:43:04] local.INFO: Processing buffer {"connection_id":206316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:43:04] local.INFO: IMEI packet received {"connection_id":206316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":206316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:43:05] local.INFO: TCP Data received {"connection_id":206316,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:43:05] local.INFO: Processing buffer {"connection_id":206316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:43:05] local.INFO: IMEI packet received {"connection_id":206316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":206316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:43:07] local.INFO: TCP Data received {"connection_id":206316,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:43:07] local.INFO: Processing buffer {"connection_id":206316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:43:07] local.INFO: IMEI packet received {"connection_id":206316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":206316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:43:10] local.INFO: TCP Data received {"connection_id":206316,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:43:10] local.INFO: Processing buffer {"connection_id":206316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:43:10] local.INFO: IMEI packet received {"connection_id":206316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":206316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:43:12] local.INFO: TCP Data received {"connection_id":206316,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3106b0012d1ab680071f9860003d00c128..."} 
[2026-10-05 18:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3106b0012d1ab680071f9860003d00c128..."} 
[2026-10-05 18:43:12] local.INFO: Processing buffer {"connection_id":206316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3106b0012d1ab680071f9860003d00c128..."} 
[2026-10-05 18:43:12] local.INFO: Packet analysis {"connection_id":206316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c31"} 
[2026-10-05 18:43:12] local.INFO: Extracted packet for processing {"connection_id":206316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c31"} 
[2026-10-05 18:43:12] local.INFO: GPS Element Parsed {"raw_longitude":756725376,"raw_latitude":119511136,"longitude_deg":75.6725376,"latitude_deg":11.9511136,"altitude":61,"angle":193,"satellites":40,"speed":0,"hex_longitude":"2d1ab680","hex_latitude":"071f9860","is_valid_coordinates":true} 
[2026-10-05 18:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548705536001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25265544550678528,"note":"Value kept but may cause issues"} 
[2026-10-05 18:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924866658830671872,"note":"Value kept but may cause issues"} 
[2026-10-05 18:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791205902000,"timestamp_ms":1791205902000,"timestamp_seconds":1791205902,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3106b0"} 
[2026-10-05 18:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:43: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-10-05 18:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-10-05 18:43:12] 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-10-05 18:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":206316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":206316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":206316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548705536001,"66":13580,"121":206,"28":31744,"24":0,"16":25265544550678528,"45":1924866658830671872},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548705536001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:43:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:43:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25265544550678528,"km_value":25265544550678.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924866658830671872,"description":"Unknown IO ID 45"} 
[2026-10-05 18:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548705536001,"power":13580,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1924866658830671872}} 
[2026-10-05 18:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":206316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:43:12] local.INFO: GPS data processed {"connection_id":206316,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:43:12] local.INFO: Acknowledgment sent {"connection_id":206316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:43:30] local.INFO: TCP Data received {"connection_id":207870,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:43:30] local.INFO: Processing buffer {"connection_id":207870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:43:30] local.INFO: IMEI packet received {"connection_id":207870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":207870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:43:31] local.INFO: TCP Data received {"connection_id":207869,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:43:31] local.INFO: Processing buffer {"connection_id":207869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:43:31] local.INFO: Packet analysis {"connection_id":207869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:43:31] local.INFO: Extracted packet for processing {"connection_id":207869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:43:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548623104001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791205860000,"timestamp_ms":1791205860000,"timestamp_seconds":1791205860,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3062a0"} 
[2026-10-05 18:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:43:31] 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-10-05 18:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 18:43:31] 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-10-05 18: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-10-05 18:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:43:31] 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-10-05 18:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548623104001,"66":25462,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548623104001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:43:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:43:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548623104001,"power":25462,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":207869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:43:31] local.INFO: GPS data processed {"connection_id":207869,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:43:31] local.INFO: Acknowledgment sent {"connection_id":207869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:43:36] local.INFO: TCP Data received {"connection_id":207870,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:43:36] local.INFO: Processing buffer {"connection_id":207870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:43:36] local.INFO: IMEI packet received {"connection_id":207870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":207870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:43:41] local.INFO: TCP Data received {"connection_id":207870,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:43:41] local.INFO: Processing buffer {"connection_id":207870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:43:41] local.INFO: Packet analysis {"connection_id":207870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:43:41] local.INFO: Extracted packet for processing {"connection_id":207870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:43:41] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548628224001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791205880000,"timestamp_ms":1791205880000,"timestamp_seconds":1791205880,"priority":1,"record_length":96,"hex_timestamp":"000001a10c30b0c0"} 
[2026-10-05 18:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-05 18:43: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-10-05 18:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":207870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":207870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":207870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548628224001,"66":13189,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548628224001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:43:41] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:43:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548628224001,"power":13189,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":207870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:43:41] local.INFO: GPS data processed {"connection_id":207870,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:43:41] local.INFO: Acknowledgment sent {"connection_id":207870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:43:45] local.INFO: TCP Data received {"connection_id":206316,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3158b8012d1ab680071f9860003d00c129..."} 
[2026-10-05 18:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3158b8012d1ab680071f9860003d00c129..."} 
[2026-10-05 18:43:45] local.INFO: Processing buffer {"connection_id":206316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3158b8012d1ab680071f9860003d00c129..."} 
[2026-10-05 18:43:45] local.INFO: Packet analysis {"connection_id":206316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c31"} 
[2026-10-05 18:43:45] local.INFO: Extracted packet for processing {"connection_id":206316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c31"} 
[2026-10-05 18:43:45] local.INFO: GPS Element Parsed {"raw_longitude":756725376,"raw_latitude":119511136,"longitude_deg":75.6725376,"latitude_deg":11.9511136,"altitude":61,"angle":193,"satellites":41,"speed":0,"hex_longitude":"2d1ab680","hex_latitude":"071f9860","is_valid_coordinates":true} 
[2026-10-05 18:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548710912001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25265544550678528,"note":"Value kept but may cause issues"} 
[2026-10-05 18:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924866658830671872,"note":"Value kept but may cause issues"} 
[2026-10-05 18:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791205923000,"timestamp_ms":1791205923000,"timestamp_seconds":1791205923,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3158b8"} 
[2026-10-05 18:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 18:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867808706,"note":"Value kept but may cause issues"} 
[2026-10-05 18:43:45] local.WARNING: Large IO value detected {"io_id":194,"raw_value":3774873600,"note":"Value kept but may cause issues"} 
[2026-10-05 18:43:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 18:43:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2556428349,"note":"Value kept but may cause issues"} 
[2026-10-05 18:43:45] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635863110838137,"note":"Value kept but may cause issues"} 
[2026-10-05 18:43:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-10-05 18:43:45] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2281778458,"note":"Value kept but may cause issues"} 
[2026-10-05 18:43:45] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864917522506370588,"note":"Value kept but may cause issues"} 
[2026-10-05 18:43:45] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-10-05 18:43:45] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3266379776,"note":"Value kept but may cause issues"} 
[2026-10-05 18:43:45] local.WARNING: Large IO value detected {"io_id":26,"raw_value":-4305433410447343552,"note":"Value kept but may cause issues"} 
[2026-10-05 18:43:45] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755442390860017,"note":"Value kept but may cause issues"} 
[2026-10-05 18:43:45] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,194,161,180,45,128,152,61,41,10,66,98,1,240,225,12,31,4,113,205,108,186,80,42,239,53,2,89,7,65,14,26,124],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-10-05 18:43:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395725613856456704,"timestamp_seconds":4395725613856456.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":206316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":206316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":206316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548710912001,"66":13602,"121":206,"28":31744,"24":0,"16":25265544550678528,"45":1924866658830671872},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548710912001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:43:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:43:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25265544550678528,"km_value":25265544550678.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924866658830671872,"description":"Unknown IO ID 45"} 
[2026-10-05 18:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548710912001,"power":13602,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1924866658830671872}} 
[2026-10-05 18:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":206316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:43:45] local.INFO: GPS data processed {"connection_id":206316,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:43:45] local.INFO: Acknowledgment sent {"connection_id":206316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:43:54] local.INFO: TCP Data received {"connection_id":204790,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:43:54] local.INFO: Processing buffer {"connection_id":204790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:43:54] local.INFO: IMEI packet received {"connection_id":204790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":204790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:43:59] local.INFO: TCP Data received {"connection_id":204790,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:43:59] local.INFO: Processing buffer {"connection_id":204790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:43:59] local.INFO: IMEI packet received {"connection_id":204790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":204790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:44:00] local.INFO: TCP Data received {"connection_id":204790,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:44:00] local.INFO: Processing buffer {"connection_id":204790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:44:00] local.INFO: Packet analysis {"connection_id":204790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:44:00] local.INFO: Extracted packet for processing {"connection_id":204790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:44:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548623104001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791205860000,"timestamp_ms":1791205860000,"timestamp_seconds":1791205860,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3062a0"} 
[2026-10-05 18:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:44:00] 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-10-05 18:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 18:44: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-10-05 18:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:44:00] 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-10-05 18:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548623104001,"66":25462,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548623104001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:44:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:44:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548623104001,"power":25462,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":204790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:44:00] local.INFO: GPS data processed {"connection_id":204790,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:44:00] local.INFO: Acknowledgment sent {"connection_id":204790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:44:05] local.INFO: TCP Data received {"connection_id":206317,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:44:05] local.INFO: Processing buffer {"connection_id":206317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:44:05] local.INFO: IMEI packet received {"connection_id":206317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":206317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:44:05] local.INFO: TCP Data received {"connection_id":206317,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:44:05] local.INFO: Processing buffer {"connection_id":206317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:44:05] local.INFO: IMEI packet received {"connection_id":206317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":206317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:44:10] local.INFO: TCP Data received {"connection_id":206317,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:44:10] local.INFO: Processing buffer {"connection_id":206317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:44:10] local.INFO: IMEI packet received {"connection_id":206317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":206317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:44:12] local.INFO: TCP Data received {"connection_id":206317,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c31aac0012d1ab600071f9770003700f42a..."} 
[2026-10-05 18:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c31aac0012d1ab600071f9770003700f42a..."} 
[2026-10-05 18:44:12] local.INFO: Processing buffer {"connection_id":206317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c31aac0012d1ab600071f9770003700f42a..."} 
[2026-10-05 18:44:12] local.INFO: Packet analysis {"connection_id":206317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c31"} 
[2026-10-05 18:44:12] local.INFO: Extracted packet for processing {"connection_id":206317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c31"} 
[2026-10-05 18:44:12] local.INFO: GPS Element Parsed {"raw_longitude":756725248,"raw_latitude":119510896,"longitude_deg":75.6725248,"latitude_deg":11.9510896,"altitude":55,"angle":244,"satellites":42,"speed":5,"hex_longitude":"2d1ab600","hex_latitude":"071f9770","is_valid_coordinates":true} 
[2026-10-05 18:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548716288001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25265561730547712,"note":"Value kept but may cause issues"} 
[2026-10-05 18:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924866658830671872,"note":"Value kept but may cause issues"} 
[2026-10-05 18:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791205944000,"timestamp_ms":1791205944000,"timestamp_seconds":1791205944,"priority":1,"record_length":96,"hex_timestamp":"000001a10c31aac0"} 
[2026-10-05 18:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:44: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-10-05 18:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-10-05 18:44:12] 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-10-05 18:44:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":206317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":206317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":206317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548716288001,"66":12765,"121":206,"28":31744,"24":5,"16":25265561730547712,"45":1924866658830671872},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548716288001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:44:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:44:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25265561730547712,"km_value":25265561730547.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924866658830671872,"description":"Unknown IO ID 45"} 
[2026-10-05 18:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548716288001,"power":12765,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1924866658830671872}} 
[2026-10-05 18:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":206317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:44:12] local.INFO: GPS data processed {"connection_id":206317,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:44:12] local.INFO: Acknowledgment sent {"connection_id":206317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:44:13] local.INFO: TCP Data received {"connection_id":207870,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:44:13] local.INFO: Processing buffer {"connection_id":207870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:44:13] local.INFO: Packet analysis {"connection_id":207870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:44:13] local.INFO: Extracted packet for processing {"connection_id":207870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:44:13] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548628224001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791205880000,"timestamp_ms":1791205880000,"timestamp_seconds":1791205880,"priority":1,"record_length":96,"hex_timestamp":"000001a10c30b0c0"} 
[2026-10-05 18:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-05 18:44:13] 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-10-05 18:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":207870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":207870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":207870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548628224001,"66":13189,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548628224001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:44:13] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:44:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548628224001,"power":13189,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":207870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:44:13] local.INFO: GPS data processed {"connection_id":207870,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:44:13] local.INFO: Acknowledgment sent {"connection_id":207870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:44:31] local.INFO: TCP Data received {"connection_id":204790,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:44:31] local.INFO: Processing buffer {"connection_id":204790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:44:31] local.INFO: Packet analysis {"connection_id":204790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:44:31] local.INFO: Extracted packet for processing {"connection_id":204790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:44:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548623104001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791205860000,"timestamp_ms":1791205860000,"timestamp_seconds":1791205860,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3062a0"} 
[2026-10-05 18:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:44:31] 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-10-05 18:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 18:44:31] 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-10-05 18:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:44:31] 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-10-05 18:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548623104001,"66":25462,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548623104001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:44:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:44:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548623104001,"power":25462,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":204790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:44:31] local.INFO: GPS data processed {"connection_id":204790,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:44:31] local.INFO: Acknowledgment sent {"connection_id":204790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:44:36] local.INFO: TCP Data received {"connection_id":206319,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:44:36] local.INFO: Processing buffer {"connection_id":206319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:44:36] local.INFO: IMEI packet received {"connection_id":206319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":206319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:44:41] local.INFO: TCP Data received {"connection_id":206319,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:44:41] local.INFO: Processing buffer {"connection_id":206319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:44:41] local.INFO: IMEI packet received {"connection_id":206319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":206319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:44:43] local.INFO: TCP Data received {"connection_id":206319,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:44:43] local.INFO: Processing buffer {"connection_id":206319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:44:43] local.INFO: Packet analysis {"connection_id":206319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:44:43] local.INFO: Extracted packet for processing {"connection_id":206319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:44:43] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548628224001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791205880000,"timestamp_ms":1791205880000,"timestamp_seconds":1791205880,"priority":1,"record_length":96,"hex_timestamp":"000001a10c30b0c0"} 
[2026-10-05 18:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-05 18:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":206319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":206319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":206319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548628224001,"66":13189,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548628224001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:44:43] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:44:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548628224001,"power":13189,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":206319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:44:43] local.INFO: GPS data processed {"connection_id":206319,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:44:43] local.INFO: Acknowledgment sent {"connection_id":206319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:44:44] local.INFO: TCP Data received {"connection_id":206317,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c31aac0012d1ab600071f9770003700f42a..."} 
[2026-10-05 18:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c31aac0012d1ab600071f9770003700f42a..."} 
[2026-10-05 18:44:44] local.INFO: Processing buffer {"connection_id":206317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c31aac0012d1ab600071f9770003700f42a..."} 
[2026-10-05 18:44:44] local.INFO: Packet analysis {"connection_id":206317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c31"} 
[2026-10-05 18:44:44] local.INFO: Extracted packet for processing {"connection_id":206317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c31"} 
[2026-10-05 18:44:44] local.INFO: GPS Element Parsed {"raw_longitude":756725248,"raw_latitude":119510896,"longitude_deg":75.6725248,"latitude_deg":11.9510896,"altitude":55,"angle":244,"satellites":42,"speed":5,"hex_longitude":"2d1ab600","hex_latitude":"071f9770","is_valid_coordinates":true} 
[2026-10-05 18:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548721664001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25265561730547712,"note":"Value kept but may cause issues"} 
[2026-10-05 18:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924725921342255104,"note":"Value kept but may cause issues"} 
[2026-10-05 18:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791205944000,"timestamp_ms":1791205944000,"timestamp_seconds":1791205944,"priority":1,"record_length":96,"hex_timestamp":"000001a10c31aac0"} 
[2026-10-05 18:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 18:44:44] 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-10-05 18:44:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":206317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":206317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":206317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548721664001,"66":12765,"121":206,"28":31744,"24":5,"16":25265561730547712,"45":1924725921342255104},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548721664001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:44:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:44:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25265561730547712,"km_value":25265561730547.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924725921342255104,"description":"Unknown IO ID 45"} 
[2026-10-05 18:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548721664001,"power":12765,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1924725921342255104}} 
[2026-10-05 18:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":206317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:44:44] local.INFO: GPS data processed {"connection_id":206317,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:44:44] local.INFO: Acknowledgment sent {"connection_id":206317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:44:49] local.INFO: TCP Data received {"connection_id":206319,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:44:49] local.INFO: Processing buffer {"connection_id":206319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:44:49] local.INFO: Packet analysis {"connection_id":206319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:44:49] local.INFO: Extracted packet for processing {"connection_id":206319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:44:49] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548628224001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1791205880000,"timestamp_ms":1791205880000,"timestamp_seconds":1791205880,"priority":1,"record_length":96,"hex_timestamp":"000001a10c30b0c0"} 
[2026-10-05 18:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-05 18:44:49] 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-10-05 18:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":206319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":206319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":206319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548628224001,"66":13189,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548628224001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:44:49] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:44:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548628224001,"power":13189,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":206319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:44:49] local.INFO: GPS data processed {"connection_id":206319,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:44:49] local.INFO: Acknowledgment sent {"connection_id":206319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:44:54] local.INFO: TCP Data received {"connection_id":207871,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:44:54] local.INFO: Processing buffer {"connection_id":207871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:44:54] local.INFO: IMEI packet received {"connection_id":207871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":207871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:44:59] local.INFO: TCP Data received {"connection_id":207871,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:44:59] local.INFO: Processing buffer {"connection_id":207871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:44:59] local.INFO: IMEI packet received {"connection_id":207871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":207871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:45:00] local.INFO: TCP Data received {"connection_id":207871,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:45:00] local.INFO: Processing buffer {"connection_id":207871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:45:00] local.INFO: Packet analysis {"connection_id":207871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:45:00] local.INFO: Extracted packet for processing {"connection_id":207871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:45:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548623104001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791205860000,"timestamp_ms":1791205860000,"timestamp_seconds":1791205860,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3062a0"} 
[2026-10-05 18:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:45:00] 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-10-05 18: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":53,"data_length":795,"current_offset":136} 
[2026-10-05 18:45: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-10-05 18: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-10-05 18:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:45:00] 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-10-05 18:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548623104001,"66":25462,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548623104001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:45:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:45:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548623104001,"power":25462,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":207871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:45:00] local.INFO: GPS data processed {"connection_id":207871,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:45:00] local.INFO: Acknowledgment sent {"connection_id":207871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:45:08] local.INFO: TCP Data received {"connection_id":204930,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:45:08] local.INFO: Processing buffer {"connection_id":204930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:45:08] local.INFO: IMEI packet received {"connection_id":204930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":204930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:45:09] local.INFO: TCP Data received {"connection_id":204930,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:45:09] local.INFO: Processing buffer {"connection_id":204930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:45:09] local.INFO: IMEI packet received {"connection_id":204930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":204930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:45:15] local.INFO: TCP Data received {"connection_id":204930,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:45:15] local.INFO: Processing buffer {"connection_id":204930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:45:15] local.INFO: IMEI packet received {"connection_id":204930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":204930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:45:17] local.INFO: TCP Data received {"connection_id":204930,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c31b290012d1ab380071f96d80038010b2a..."} 
[2026-10-05 18:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c31b290012d1ab380071f96d80038010b2a..."} 
[2026-10-05 18:45:17] local.INFO: Processing buffer {"connection_id":204930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c31b290012d1ab380071f96d80038010b2a..."} 
[2026-10-05 18:45:17] local.INFO: Packet analysis {"connection_id":204930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c31"} 
[2026-10-05 18:45:17] local.INFO: Extracted packet for processing {"connection_id":204930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c31"} 
[2026-10-05 18:45:17] local.INFO: GPS Element Parsed {"raw_longitude":756724608,"raw_latitude":119510744,"longitude_deg":75.6724608,"latitude_deg":11.9510744,"altitude":56,"angle":267,"satellites":42,"speed":16,"hex_longitude":"2d1ab380","hex_latitude":"071f96d8","is_valid_coordinates":true} 
[2026-10-05 18:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548721664001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25265591795318784,"note":"Value kept but may cause issues"} 
[2026-10-05 18:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924725921342255104,"note":"Value kept but may cause issues"} 
[2026-10-05 18:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791205946000,"timestamp_ms":1791205946000,"timestamp_seconds":1791205946,"priority":1,"record_length":96,"hex_timestamp":"000001a10c31b290"} 
[2026-10-05 18:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 18:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":204930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":204930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":204930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548721664001,"66":12711,"121":206,"28":31744,"24":16,"16":25265591795318784,"45":1924725921342255104},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548721664001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:45:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:45:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25265591795318784,"km_value":25265591795318.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924725921342255104,"description":"Unknown IO ID 45"} 
[2026-10-05 18:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548721664001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1924725921342255104}} 
[2026-10-05 18:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":204930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:45:17] local.INFO: GPS data processed {"connection_id":204930,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:45:17] local.INFO: Acknowledgment sent {"connection_id":204930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:45:21] local.INFO: TCP Data received {"connection_id":204930,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c31be48012d1aad00071f97a00038011729..."} 
[2026-10-05 18:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c31be48012d1aad00071f97a00038011729..."} 
[2026-10-05 18:45:21] local.INFO: Processing buffer {"connection_id":204930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c31be48012d1aad00071f97a00038011729..."} 
[2026-10-05 18:45:21] local.INFO: Packet analysis {"connection_id":204930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c31"} 
[2026-10-05 18:45:21] local.INFO: Extracted packet for processing {"connection_id":204930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c31"} 
[2026-10-05 18:45:21] local.INFO: GPS Element Parsed {"raw_longitude":756722944,"raw_latitude":119510944,"longitude_deg":75.6722944,"latitude_deg":11.9510944,"altitude":56,"angle":279,"satellites":41,"speed":26,"hex_longitude":"2d1aad00","hex_latitude":"071f97a0","is_valid_coordinates":true} 
[2026-10-05 18:45: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-10-05 18:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548722176001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25265669104730112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924022233900439552,"note":"Value kept but may cause issues"} 
[2026-10-05 18:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791205949000,"timestamp_ms":1791205949000,"timestamp_seconds":1791205949,"priority":1,"record_length":96,"hex_timestamp":"000001a10c31be48"} 
[2026-10-05 18:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-05 18:45:21] 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-10-05 18:45: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-10-05 18:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":204930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":204930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":204930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548722176001,"66":12667,"121":206,"28":31744,"24":26,"16":25265669104730112,"45":1924022233900439552},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548722176001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:45:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:45:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25265669104730112,"km_value":25265669104730.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924022233900439552,"description":"Unknown IO ID 45"} 
[2026-10-05 18:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548722176001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1924022233900439552}} 
[2026-10-05 18:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":204930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:45:21] local.INFO: GPS data processed {"connection_id":204930,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:45:21] local.INFO: Acknowledgment sent {"connection_id":204930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:45:31] local.INFO: TCP Data received {"connection_id":207872,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:45:31] local.INFO: Processing buffer {"connection_id":207872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:45:31] local.INFO: IMEI packet received {"connection_id":207872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":207872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:45:31] local.INFO: TCP Data received {"connection_id":207871,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:45:31] local.INFO: Processing buffer {"connection_id":207871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:45:31] local.INFO: Packet analysis {"connection_id":207871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:45:31] local.INFO: Extracted packet for processing {"connection_id":207871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:45:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548623104001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791205860000,"timestamp_ms":1791205860000,"timestamp_seconds":1791205860,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3062a0"} 
[2026-10-05 18:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:45:31] 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-10-05 18: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":53,"data_length":795,"current_offset":136} 
[2026-10-05 18:45:31] 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-10-05 18: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-10-05 18:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:45:31] 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-10-05 18:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548623104001,"66":25462,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548623104001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:45:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:45:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548623104001,"power":25462,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":207871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:45:31] local.INFO: GPS data processed {"connection_id":207871,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:45:31] local.INFO: Acknowledgment sent {"connection_id":207871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:45:36] local.INFO: TCP Data received {"connection_id":207872,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:45:36] local.INFO: Processing buffer {"connection_id":207872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:45:36] local.INFO: IMEI packet received {"connection_id":207872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":207872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:45:37] local.INFO: TCP Data received {"connection_id":207872,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:45:37] local.INFO: Processing buffer {"connection_id":207872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:45:37] local.INFO: Packet analysis {"connection_id":207872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:45:37] local.INFO: Extracted packet for processing {"connection_id":207872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:45:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 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-10-05 18:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548628224001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791205880000,"timestamp_ms":1791205880000,"timestamp_seconds":1791205880,"priority":1,"record_length":96,"hex_timestamp":"000001a10c30b0c0"} 
[2026-10-05 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-10-05 18:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-05 18:45:37] 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-10-05 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-10-05 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-10-05 18:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548628224001,"66":13189,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548628224001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:45:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:45:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548628224001,"power":13189,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":207872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:45:37] local.INFO: GPS data processed {"connection_id":207872,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:45:37] local.INFO: Acknowledgment sent {"connection_id":207872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:45:54] local.INFO: TCP Data received {"connection_id":204792,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:45:54] local.INFO: Processing buffer {"connection_id":204792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:45:54] local.INFO: IMEI packet received {"connection_id":204792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":204792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:45:59] local.INFO: TCP Data received {"connection_id":204792,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:45:59] local.INFO: Processing buffer {"connection_id":204792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:45:59] local.INFO: IMEI packet received {"connection_id":204792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":204792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:46:00] local.INFO: TCP Data received {"connection_id":204792,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:46:00] local.INFO: Processing buffer {"connection_id":204792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:46:00] local.INFO: Packet analysis {"connection_id":204792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:46:00] local.INFO: Extracted packet for processing {"connection_id":204792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:46:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548623104001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791205860000,"timestamp_ms":1791205860000,"timestamp_seconds":1791205860,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3062a0"} 
[2026-10-05 18:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:46:00] 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-10-05 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 18:46: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-10-05 18: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-10-05 18:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:46:00] 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-10-05 18:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548623104001,"66":25462,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548623104001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:46:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:46:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548623104001,"power":25462,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":204792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:46:00] local.INFO: GPS data processed {"connection_id":204792,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:46:00] local.INFO: Acknowledgment sent {"connection_id":204792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:46:05] local.INFO: TCP Data received {"connection_id":207873,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:46:05] local.INFO: Processing buffer {"connection_id":207873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:46:05] local.INFO: IMEI packet received {"connection_id":207873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":207873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:46:10] local.INFO: TCP Data received {"connection_id":207872,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:46:10] local.INFO: Processing buffer {"connection_id":207872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c30b0c0012d7a1a0005e46910000b01212f..."} 
[2026-10-05 18:46:10] local.INFO: Packet analysis {"connection_id":207872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:46:10] local.INFO: Extracted packet for processing {"connection_id":207872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:46:10] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548628224001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791205880000,"timestamp_ms":1791205880000,"timestamp_seconds":1791205880,"priority":1,"record_length":96,"hex_timestamp":"000001a10c30b0c0"} 
[2026-10-05 18:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:46: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-10-05 18:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-05 18:46:10] 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-10-05 18:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548628224001,"66":13189,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548628224001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:46:10] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:46:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548628224001,"power":13189,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":207872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:46:10] local.INFO: GPS data processed {"connection_id":207872,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:46:10] local.INFO: Acknowledgment sent {"connection_id":207872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:46:10] local.INFO: TCP Data received {"connection_id":207873,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:46:10] local.INFO: Processing buffer {"connection_id":207873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:46:10] local.INFO: IMEI packet received {"connection_id":207873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":207873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:46:11] local.INFO: TCP Data received {"connection_id":207873,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c31ca00012d1aa400071f99b0003801252b..."} 
[2026-10-05 18:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c31ca00012d1aa400071f99b0003801252b..."} 
[2026-10-05 18:46:11] local.INFO: Processing buffer {"connection_id":207873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c31ca00012d1aa400071f99b0003801252b..."} 
[2026-10-05 18:46:11] local.INFO: Packet analysis {"connection_id":207873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c31"} 
[2026-10-05 18:46:11] local.INFO: Extracted packet for processing {"connection_id":207873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c31"} 
[2026-10-05 18:46:11] local.INFO: GPS Element Parsed {"raw_longitude":756720640,"raw_latitude":119511472,"longitude_deg":75.672064,"latitude_deg":11.9511472,"altitude":56,"angle":293,"satellites":43,"speed":34,"hex_longitude":"2d1aa400","hex_latitude":"071f99b0","is_valid_coordinates":true} 
[2026-10-05 18:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548722944001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25265780773879808,"note":"Value kept but may cause issues"} 
[2026-10-05 18:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1922192646551871488,"note":"Value kept but may cause issues"} 
[2026-10-05 18:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791205952000,"timestamp_ms":1791205952000,"timestamp_seconds":1791205952,"priority":1,"record_length":96,"hex_timestamp":"000001a10c31ca00"} 
[2026-10-05 18:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 18:46:11] 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-10-05 18:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548722944001,"66":12580,"121":206,"28":31744,"24":34,"16":25265780773879808,"45":1922192646551871488},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548722944001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:46:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:46:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25265780773879808,"km_value":25265780773879.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1922192646551871488,"description":"Unknown IO ID 45"} 
[2026-10-05 18:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548722944001,"power":12580,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1922192646551871488}} 
[2026-10-05 18:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":207873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:46:11] local.INFO: GPS data processed {"connection_id":207873,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:46:11] local.INFO: Acknowledgment sent {"connection_id":207873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:46:30] local.INFO: TCP Data received {"connection_id":204931,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:46:30] local.INFO: Processing buffer {"connection_id":204931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:46:30] local.INFO: IMEI packet received {"connection_id":204931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":204931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:46:31] local.INFO: TCP Data received {"connection_id":204792,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:46:31] local.INFO: Processing buffer {"connection_id":204792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3062a0012d7ee58006003208000b00d72d..."} 
[2026-10-05 18:46:31] local.INFO: Packet analysis {"connection_id":204792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:46:31] local.INFO: Extracted packet for processing {"connection_id":204792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c30"} 
[2026-10-05 18:46:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548623104001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791205860000,"timestamp_ms":1791205860000,"timestamp_seconds":1791205860,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3062a0"} 
[2026-10-05 18:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:46:31] 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-10-05 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 18:46:31] 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-10-05 18: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-10-05 18:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:46:31] 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-10-05 18:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548623104001,"66":25462,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548623104001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:46:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:46:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548623104001,"power":25462,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":204792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:46:31] local.INFO: GPS data processed {"connection_id":204792,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:46:31] local.INFO: Acknowledgment sent {"connection_id":204792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:46:36] local.INFO: TCP Data received {"connection_id":204931,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:46:36] local.INFO: Processing buffer {"connection_id":204931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:46:36] local.INFO: IMEI packet received {"connection_id":204931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":204931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:46:37] local.INFO: TCP Data received {"connection_id":204931,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:46:37] local.INFO: Processing buffer {"connection_id":204931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:46:37] local.INFO: Packet analysis {"connection_id":204931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c35"} 
[2026-10-05 18:46:37] local.INFO: Extracted packet for processing {"connection_id":204931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c35"} 
[2026-10-05 18:46:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548705280001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791206181000,"timestamp_ms":1791206181000,"timestamp_seconds":1791206181,"priority":1,"record_length":96,"hex_timestamp":"000001a10c354888"} 
[2026-10-05 18:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 18:46:37] 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-10-05 18: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-10-05 18:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548705280001,"66":13102,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548705280001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:46:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:46:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548705280001,"power":13102,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":204931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:46:37] local.INFO: GPS data processed {"connection_id":204931,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:46:37] local.INFO: Acknowledgment sent {"connection_id":204931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:46:38] local.INFO: TCP Data received {"connection_id":207874,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:46:38] local.INFO: Processing buffer {"connection_id":207874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:46:38] local.INFO: IMEI packet received {"connection_id":207874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 18:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":207874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:46:43] local.INFO: TCP Data received {"connection_id":207873,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c31d1d0012d1a9e00071f9d60003901342b..."} 
[2026-10-05 18:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c31d1d0012d1a9e00071f9d60003901342b..."} 
[2026-10-05 18:46:43] local.INFO: Processing buffer {"connection_id":207873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c31d1d0012d1a9e00071f9d60003901342b..."} 
[2026-10-05 18:46:43] local.INFO: Packet analysis {"connection_id":207873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c31"} 
[2026-10-05 18:46:43] local.INFO: Extracted packet for processing {"connection_id":207873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c31"} 
[2026-10-05 18:46:43] local.INFO: GPS Element Parsed {"raw_longitude":756719104,"raw_latitude":119512416,"longitude_deg":75.6719104,"latitude_deg":11.9512416,"altitude":57,"angle":308,"satellites":43,"speed":35,"hex_longitude":"2d1a9e00","hex_latitude":"071f9d60","is_valid_coordinates":true} 
[2026-10-05 18:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548723712001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25265866673225728,"note":"Value kept but may cause issues"} 
[2026-10-05 18:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919659371761610752,"note":"Value kept but may cause issues"} 
[2026-10-05 18:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791205954000,"timestamp_ms":1791205954000,"timestamp_seconds":1791205954,"priority":1,"record_length":96,"hex_timestamp":"000001a10c31d1d0"} 
[2026-10-05 18:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:46: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-10-05 18:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-10-05 18:46:43] 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-10-05 18:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548723712001,"66":12298,"121":206,"28":31744,"24":35,"16":25265866673225728,"45":1919659371761610752},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548723712001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:46:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:46:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25265866673225728,"km_value":25265866673225.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919659371761610752,"description":"Unknown IO ID 45"} 
[2026-10-05 18:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548723712001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1919659371761610752}} 
[2026-10-05 18:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":207873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:46:43] local.INFO: GPS data processed {"connection_id":207873,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:46:43] local.INFO: Acknowledgment sent {"connection_id":207873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:46:54] local.INFO: TCP Data received {"connection_id":206320,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:46:54] local.INFO: Processing buffer {"connection_id":206320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:46:54] local.INFO: IMEI packet received {"connection_id":206320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":206320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:46:59] local.INFO: TCP Data received {"connection_id":206320,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:46:59] local.INFO: Processing buffer {"connection_id":206320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:46:59] local.INFO: IMEI packet received {"connection_id":206320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":206320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:47:00] local.INFO: TCP Data received {"connection_id":206320,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:47:00] local.INFO: Processing buffer {"connection_id":206320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:47:00] local.INFO: Packet analysis {"connection_id":206320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c34"} 
[2026-10-05 18:47:00] local.INFO: Extracted packet for processing {"connection_id":206320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c34"} 
[2026-10-05 18:47:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548700160001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791206161000,"timestamp_ms":1791206161000,"timestamp_seconds":1791206161,"priority":1,"record_length":96,"hex_timestamp":"000001a10c34fa68"} 
[2026-10-05 18:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:47:00] 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-10-05 18:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 18:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:47:00] 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-10-05 18:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548700160001,"66":25441,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548700160001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:47:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:47:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548700160001,"power":25441,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":206320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:47:00] local.INFO: GPS data processed {"connection_id":206320,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:47:00] local.INFO: Acknowledgment sent {"connection_id":206320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:47:05] local.INFO: TCP Data received {"connection_id":204932,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:47:05] local.INFO: Processing buffer {"connection_id":204932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:47:05] local.INFO: IMEI packet received {"connection_id":204932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":204932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:47:09] local.INFO: TCP Data received {"connection_id":204931,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:47:09] local.INFO: Processing buffer {"connection_id":204931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:47:09] local.INFO: Packet analysis {"connection_id":204931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c35"} 
[2026-10-05 18:47:09] local.INFO: Extracted packet for processing {"connection_id":204931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c35"} 
[2026-10-05 18:47:09] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548705280001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791206181000,"timestamp_ms":1791206181000,"timestamp_seconds":1791206181,"priority":1,"record_length":96,"hex_timestamp":"000001a10c354888"} 
[2026-10-05 18:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 18:47:09] 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-10-05 18:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548705280001,"66":13102,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548705280001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:47:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:47:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548705280001,"power":13102,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":204931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:47:09] local.INFO: GPS data processed {"connection_id":204931,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:47:09] local.INFO: Acknowledgment sent {"connection_id":204931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:47:10] local.INFO: TCP Data received {"connection_id":204932,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:47:10] local.INFO: Processing buffer {"connection_id":204932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:47:10] local.INFO: IMEI packet received {"connection_id":204932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":204932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:47:11] local.INFO: TCP Data received {"connection_id":204932,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c31f8e0012d1a8cc0071fad500039012829..."} 
[2026-10-05 18:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c31f8e0012d1a8cc0071fad500039012829..."} 
[2026-10-05 18:47:11] local.INFO: Processing buffer {"connection_id":204932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c31f8e0012d1a8cc0071fad500039012829..."} 
[2026-10-05 18:47:11] local.INFO: Packet analysis {"connection_id":204932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c31"} 
[2026-10-05 18:47:11] local.INFO: Extracted packet for processing {"connection_id":204932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c31"} 
[2026-10-05 18:47:11] local.INFO: GPS Element Parsed {"raw_longitude":756714688,"raw_latitude":119516496,"longitude_deg":75.6714688,"latitude_deg":11.9516496,"altitude":57,"angle":296,"satellites":41,"speed":6,"hex_longitude":"2d1a8cc0","hex_latitude":"071fad50","is_valid_coordinates":true} 
[2026-10-05 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-10-05 18:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548724224001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25266158731001856,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1917970521901588480,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791205964000,"timestamp_ms":1791205964000,"timestamp_seconds":1791205964,"priority":1,"record_length":96,"hex_timestamp":"000001a10c31f8e0"} 
[2026-10-05 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-10-05 18:47: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-10-05 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 18:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:11] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452377,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":878490755317701302,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832605,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3828623517570105550,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:11] local.WARNING: Large IO value detected {"io_id":194,"raw_value":-2233785415175766015,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513296420631806145,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2540699703,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-10-05 18:47:11] local.WARNING: Large IO value detected {"io_id":170,"raw_value":3221302554,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:11] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817447,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:11] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3269787648,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:11] local.WARNING: Large IO value detected {"io_id":61,"raw_value":54369750481895424,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:11] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,121,28,24,241,158,16,195,161,202,45,153,56,43,10,66,190,151,41,194,178,128,1,240,167,12,31,4,113,205,5,170,182,112,42,239,49,2,89,7,61,40],"length":534,"final_offset":664,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-10-05 18:47:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107621694429134848,"timestamp_seconds":4107621694429135.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 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-10-05 18:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548724224001,"66":12504,"121":206,"28":31744,"24":6,"16":25266158731001856,"45":1917970521901588480},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548724224001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:47:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:47:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25266158731001856,"km_value":25266158731001.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1917970521901588480,"description":"Unknown IO ID 45"} 
[2026-10-05 18:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548724224001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1917970521901588480}} 
[2026-10-05 18:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":204932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:47:11] local.INFO: GPS data processed {"connection_id":204932,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:47:11] local.INFO: Acknowledgment sent {"connection_id":204932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:47:31] local.INFO: TCP Data received {"connection_id":206321,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206321,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:47:31] local.INFO: Processing buffer {"connection_id":206321,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:47:31] local.INFO: IMEI packet received {"connection_id":206321,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":206321,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:47:31] local.INFO: TCP Data received {"connection_id":206320,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:47:31] local.INFO: Processing buffer {"connection_id":206320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:47:31] local.INFO: Packet analysis {"connection_id":206320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c34"} 
[2026-10-05 18:47:31] local.INFO: Extracted packet for processing {"connection_id":206320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c34"} 
[2026-10-05 18:47:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548700160001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791206161000,"timestamp_ms":1791206161000,"timestamp_seconds":1791206161,"priority":1,"record_length":96,"hex_timestamp":"000001a10c34fa68"} 
[2026-10-05 18:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:47:31] 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-10-05 18: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":118,"data_length":795,"current_offset":136} 
[2026-10-05 18:47: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-10-05 18: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-10-05 18:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:47:31] 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-10-05 18:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548700160001,"66":25441,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548700160001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:47:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:47:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548700160001,"power":25441,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":206320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:47:31] local.INFO: GPS data processed {"connection_id":206320,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:47:31] local.INFO: Acknowledgment sent {"connection_id":206320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:47:36] local.INFO: TCP Data received {"connection_id":206321,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206321,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:47:36] local.INFO: Processing buffer {"connection_id":206321,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:47:36] local.INFO: IMEI packet received {"connection_id":206321,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":206321,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:47:37] local.INFO: TCP Data received {"connection_id":206321,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:47:37] local.INFO: Processing buffer {"connection_id":206321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:47:37] local.INFO: Packet analysis {"connection_id":206321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c35"} 
[2026-10-05 18:47:37] local.INFO: Extracted packet for processing {"connection_id":206321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c35"} 
[2026-10-05 18:47:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548705280001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791206181000,"timestamp_ms":1791206181000,"timestamp_seconds":1791206181,"priority":1,"record_length":96,"hex_timestamp":"000001a10c354888"} 
[2026-10-05 18:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 18:47:37] 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-10-05 18:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548705280001,"66":13102,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548705280001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:47:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:47:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548705280001,"power":13102,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":206321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:47:37] local.INFO: GPS data processed {"connection_id":206321,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:47:37] local.INFO: Acknowledgment sent {"connection_id":206321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:47:43] local.INFO: TCP Data received {"connection_id":204932,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c324ae8012d1a8c00071fae40003a012e27..."} 
[2026-10-05 18:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c324ae8012d1a8c00071fae40003a012e27..."} 
[2026-10-05 18:47:43] local.INFO: Processing buffer {"connection_id":204932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c324ae8012d1a8c00071fae40003a012e27..."} 
[2026-10-05 18:47:43] local.INFO: Packet analysis {"connection_id":204932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c32"} 
[2026-10-05 18:47:43] local.INFO: Extracted packet for processing {"connection_id":204932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c32"} 
[2026-10-05 18:47:43] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516736,"longitude_deg":75.6714496,"latitude_deg":11.9516736,"altitude":58,"angle":302,"satellites":39,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae40","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548726784001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25266175910871040,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913115078554374144,"note":"Value kept but may cause issues"} 
[2026-10-05 18:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791205985000,"timestamp_ms":1791205985000,"timestamp_seconds":1791205985,"priority":1,"record_length":96,"hex_timestamp":"000001a10c324ae8"} 
[2026-10-05 18:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:47: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-10-05 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 18:47:43] 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-10-05 18: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-10-05 18:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548726784001,"66":12287,"121":206,"28":31744,"24":0,"16":25266175910871040,"45":1913115078554374144},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548726784001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:47:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:47:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25266175910871040,"km_value":25266175910871.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913115078554374144,"description":"Unknown IO ID 45"} 
[2026-10-05 18:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548726784001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1913115078554374144}} 
[2026-10-05 18:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":204932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:47:43] local.INFO: GPS data processed {"connection_id":204932,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:47:43] local.INFO: Acknowledgment sent {"connection_id":204932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:47:59] local.INFO: TCP Data received {"connection_id":204933,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:47:59] local.INFO: Processing buffer {"connection_id":204933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:47:59] local.INFO: IMEI packet received {"connection_id":204933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":204933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:48:04] local.INFO: TCP Data received {"connection_id":204933,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:48:04] local.INFO: Processing buffer {"connection_id":204933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:48:04] local.INFO: IMEI packet received {"connection_id":204933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":204933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:48:04] local.INFO: TCP Data received {"connection_id":206323,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:48:04] local.INFO: Processing buffer {"connection_id":206323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:48:04] local.INFO: IMEI packet received {"connection_id":206323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":206323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:48:05] local.INFO: TCP Data received {"connection_id":204933,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:48:05] local.INFO: Processing buffer {"connection_id":204933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:48:05] local.INFO: Packet analysis {"connection_id":204933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c34"} 
[2026-10-05 18:48:05] local.INFO: Extracted packet for processing {"connection_id":204933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c34"} 
[2026-10-05 18:48:05] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548700160001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791206161000,"timestamp_ms":1791206161000,"timestamp_seconds":1791206161,"priority":1,"record_length":96,"hex_timestamp":"000001a10c34fa68"} 
[2026-10-05 18:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:48:05] 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-10-05 18: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":118,"data_length":795,"current_offset":136} 
[2026-10-05 18:48:05] 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-10-05 18: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-10-05 18:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:48:05] 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-10-05 18:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548700160001,"66":25441,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548700160001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:48:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:48:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548700160001,"power":25441,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":204933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:48:05] local.INFO: GPS data processed {"connection_id":204933,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:48:05] local.INFO: Acknowledgment sent {"connection_id":204933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:48:09] local.INFO: TCP Data received {"connection_id":206321,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:48:09] local.INFO: Processing buffer {"connection_id":206321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:48:09] local.INFO: Packet analysis {"connection_id":206321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c35"} 
[2026-10-05 18:48:09] local.INFO: Extracted packet for processing {"connection_id":206321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c35"} 
[2026-10-05 18:48:09] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548705280001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791206181000,"timestamp_ms":1791206181000,"timestamp_seconds":1791206181,"priority":1,"record_length":96,"hex_timestamp":"000001a10c354888"} 
[2026-10-05 18:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 18:48:09] 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-10-05 18:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":206321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":206321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":206321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548705280001,"66":13102,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548705280001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:48:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:48:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548705280001,"power":13102,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":206321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969285,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:48:09] local.INFO: GPS data processed {"connection_id":206321,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:48:09] local.INFO: Acknowledgment sent {"connection_id":206321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:48:10] local.INFO: TCP Data received {"connection_id":206323,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:48:10] local.INFO: Processing buffer {"connection_id":206323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:48:10] local.INFO: IMEI packet received {"connection_id":206323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":206323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:48:11] local.INFO: TCP Data received {"connection_id":206323,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c329cf0012d1a8c00071fae40003a012e27..."} 
[2026-10-05 18:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c329cf0012d1a8c00071fae40003a012e27..."} 
[2026-10-05 18:48:11] local.INFO: Processing buffer {"connection_id":206323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c329cf0012d1a8c00071fae40003a012e27..."} 
[2026-10-05 18:48:11] local.INFO: Packet analysis {"connection_id":206323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c32"} 
[2026-10-05 18:48:11] local.INFO: Extracted packet for processing {"connection_id":206323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c32"} 
[2026-10-05 18:48:11] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516736,"longitude_deg":75.6714496,"latitude_deg":11.9516736,"altitude":58,"angle":302,"satellites":39,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae40","is_valid_coordinates":true} 
[2026-10-05 18:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548732160001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25266175910871040,"note":"Value kept but may cause issues"} 
[2026-10-05 18:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321902592,"note":"Value kept but may cause issues"} 
[2026-10-05 18:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791206006000,"timestamp_ms":1791206006000,"timestamp_seconds":1791206006,"priority":1,"record_length":96,"hex_timestamp":"000001a10c329cf0"} 
[2026-10-05 18:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:48: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-10-05 18:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 18:48:11] 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-10-05 18:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548732160001,"66":12232,"121":206,"28":31744,"24":0,"16":25266175910871040,"45":1912903972321902592},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548732160001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:48:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:48:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25266175910871040,"km_value":25266175910871.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321902592,"description":"Unknown IO ID 45"} 
[2026-10-05 18:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548732160001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1912903972321902592}} 
[2026-10-05 18:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":206323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:48:11] local.INFO: GPS data processed {"connection_id":206323,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:48:11] local.INFO: Acknowledgment sent {"connection_id":206323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:48:30] local.INFO: TCP Data received {"connection_id":206324,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206324,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:48:30] local.INFO: Processing buffer {"connection_id":206324,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:48:30] local.INFO: IMEI packet received {"connection_id":206324,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":206324,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:48:35] local.INFO: TCP Data received {"connection_id":206324,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206324,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:48:35] local.INFO: Processing buffer {"connection_id":206324,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:48:35] local.INFO: IMEI packet received {"connection_id":206324,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":206324,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:48:36] local.INFO: TCP Data received {"connection_id":204933,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:48:36] local.INFO: Processing buffer {"connection_id":204933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:48:36] local.INFO: Packet analysis {"connection_id":204933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c34"} 
[2026-10-05 18:48:36] local.INFO: Extracted packet for processing {"connection_id":204933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c34"} 
[2026-10-05 18:48:36] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548700160001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791206161000,"timestamp_ms":1791206161000,"timestamp_seconds":1791206161,"priority":1,"record_length":96,"hex_timestamp":"000001a10c34fa68"} 
[2026-10-05 18:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:48:36] 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-10-05 18:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 18:48:36] 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-10-05 18:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:48:36] 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-10-05 18:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548700160001,"66":25441,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548700160001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:48:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:48:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548700160001,"power":25441,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":204933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:48:36] local.INFO: GPS data processed {"connection_id":204933,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:48:36] local.INFO: Acknowledgment sent {"connection_id":204933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:48:37] local.INFO: TCP Data received {"connection_id":206324,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:48:37] local.INFO: Processing buffer {"connection_id":206324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:48:37] local.INFO: Packet analysis {"connection_id":206324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c35"} 
[2026-10-05 18:48:37] local.INFO: Extracted packet for processing {"connection_id":206324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c35"} 
[2026-10-05 18:48:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 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-10-05 18:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548705280001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791206181000,"timestamp_ms":1791206181000,"timestamp_seconds":1791206181,"priority":1,"record_length":96,"hex_timestamp":"000001a10c354888"} 
[2026-10-05 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-10-05 18:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 18:48:37] 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-10-05 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-10-05 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-10-05 18:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548705280001,"66":13102,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548705280001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:48:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:48:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548705280001,"power":13102,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":206324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:48:37] local.INFO: GPS data processed {"connection_id":206324,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:48:37] local.INFO: Acknowledgment sent {"connection_id":206324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:48:43] local.INFO: TCP Data received {"connection_id":206323,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c362730012d1a8c00071fae40003a012e22..."} 
[2026-10-05 18:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c362730012d1a8c00071fae40003a012e22..."} 
[2026-10-05 18:48:43] local.INFO: Processing buffer {"connection_id":206323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c362730012d1a8c00071fae40003a012e22..."} 
[2026-10-05 18:48:43] local.INFO: Packet analysis {"connection_id":206323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c36"} 
[2026-10-05 18:48:43] local.INFO: Extracted packet for processing {"connection_id":206323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c36"} 
[2026-10-05 18:48:43] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516736,"longitude_deg":75.6714496,"latitude_deg":11.9516736,"altitude":58,"angle":302,"satellites":34,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae40","is_valid_coordinates":true} 
[2026-10-05 18:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548791296001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25266175910871040,"note":"Value kept but may cause issues"} 
[2026-10-05 18:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321902592,"note":"Value kept but may cause issues"} 
[2026-10-05 18:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791206238000,"timestamp_ms":1791206238000,"timestamp_seconds":1791206238,"priority":1,"record_length":96,"hex_timestamp":"000001a10c362730"} 
[2026-10-05 18:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:48: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-10-05 18:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 18:48:43] 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-10-05 18:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":206323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":206323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":206323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548791296001,"66":12298,"121":206,"28":31744,"24":0,"16":25266175910871040,"45":1912903972321902592},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548791296001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:48:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:48:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25266175910871040,"km_value":25266175910871.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321902592,"description":"Unknown IO ID 45"} 
[2026-10-05 18:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548791296001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1912903972321902592}} 
[2026-10-05 18:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":206323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:48:44] local.INFO: GPS data processed {"connection_id":206323,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:48:44] local.INFO: Acknowledgment sent {"connection_id":206323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:48:54] local.INFO: TCP Data received {"connection_id":204793,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:48:54] local.INFO: Processing buffer {"connection_id":204793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:48:54] local.INFO: IMEI packet received {"connection_id":204793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":204793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:48:59] local.INFO: TCP Data received {"connection_id":204793,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:48:59] local.INFO: Processing buffer {"connection_id":204793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:48:59] local.INFO: IMEI packet received {"connection_id":204793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":204793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:49:00] local.INFO: TCP Data received {"connection_id":204793,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:49:00] local.INFO: Processing buffer {"connection_id":204793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:49:00] local.INFO: Packet analysis {"connection_id":204793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c34"} 
[2026-10-05 18:49:00] local.INFO: Extracted packet for processing {"connection_id":204793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c34"} 
[2026-10-05 18:49:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548700160001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791206161000,"timestamp_ms":1791206161000,"timestamp_seconds":1791206161,"priority":1,"record_length":96,"hex_timestamp":"000001a10c34fa68"} 
[2026-10-05 18:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:49:00] 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-10-05 18:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 18:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:49:00] 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-10-05 18:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548700160001,"66":25441,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548700160001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:49:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:49:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548700160001,"power":25441,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":204793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:49:00] local.INFO: GPS data processed {"connection_id":204793,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:49:00] local.INFO: Acknowledgment sent {"connection_id":204793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:49:04] local.INFO: TCP Data received {"connection_id":204794,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:49:04] local.INFO: Processing buffer {"connection_id":204794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:49:04] local.INFO: IMEI packet received {"connection_id":204794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":204794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:49:09] local.INFO: TCP Data received {"connection_id":206324,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:49:09] local.INFO: Processing buffer {"connection_id":206324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:49:09] local.INFO: Packet analysis {"connection_id":206324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c35"} 
[2026-10-05 18:49:09] local.INFO: Extracted packet for processing {"connection_id":206324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c35"} 
[2026-10-05 18:49:09] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548705280001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791206181000,"timestamp_ms":1791206181000,"timestamp_seconds":1791206181,"priority":1,"record_length":96,"hex_timestamp":"000001a10c354888"} 
[2026-10-05 18:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":133,"data_length":795,"current_offset":136} 
[2026-10-05 18:49:09] 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-10-05 18: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-10-05 18:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":206324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":206324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":206324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548705280001,"66":13102,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548705280001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:49:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:49:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548705280001,"power":13102,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":206324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:49:09] local.INFO: GPS data processed {"connection_id":206324,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:49:09] local.INFO: Acknowledgment sent {"connection_id":206324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:49:09] local.INFO: TCP Data received {"connection_id":204794,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:49:09] local.INFO: Processing buffer {"connection_id":204794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:49:09] local.INFO: IMEI packet received {"connection_id":204794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":204794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:49:10] local.INFO: TCP Data received {"connection_id":204794,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c367550012d1a8c00071fae40003a012e27..."} 
[2026-10-05 18:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c367550012d1a8c00071fae40003a012e27..."} 
[2026-10-05 18:49:10] local.INFO: Processing buffer {"connection_id":204794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c367550012d1a8c00071fae40003a012e27..."} 
[2026-10-05 18:49:10] local.INFO: Packet analysis {"connection_id":204794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c36"} 
[2026-10-05 18:49:10] local.INFO: Extracted packet for processing {"connection_id":204794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c36"} 
[2026-10-05 18:49:10] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516736,"longitude_deg":75.6714496,"latitude_deg":11.9516736,"altitude":58,"angle":302,"satellites":39,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae40","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548796928001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25266175910871040,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321902592,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791206258000,"timestamp_ms":1791206258000,"timestamp_seconds":1791206258,"priority":1,"record_length":96,"hex_timestamp":"000001a10c367550"} 
[2026-10-05 18:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18: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-10-05 18: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 18:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513320472448467246,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:10] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:10] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452377,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:10] local.WARNING: Large IO value detected {"io_id":195,"raw_value":8358680908399640577,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:10] local.WARNING: Large IO value detected {"io_id":161,"raw_value":879302504136645260,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:10] local.WARNING: Large IO value detected {"io_id":58,"raw_value":85046124896845824,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:10] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832605,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:10] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491122450333902,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:10] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2923429946,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-10-05 18:49:10] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3279159296,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:10] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,195,161,209,45,174,58,38,10,66,127,41,49,1,240,75,12,31,4,113,205,141,140,64,239,48,2,89,7,36],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-10-05 18:49:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179672652740296704,"timestamp_seconds":4179672652740296.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548796928001,"66":12026,"121":206,"28":31744,"24":0,"16":25266175910871040,"45":1912903972321902592},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548796928001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:49:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:49:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25266175910871040,"km_value":25266175910871.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321902592,"description":"Unknown IO ID 45"} 
[2026-10-05 18:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548796928001,"power":12026,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1912903972321902592}} 
[2026-10-05 18:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":204794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:49:11] local.INFO: GPS data processed {"connection_id":204794,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:49:11] local.INFO: Acknowledgment sent {"connection_id":204794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:49:31] local.INFO: TCP Data received {"connection_id":204793,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:49:31] local.INFO: Processing buffer {"connection_id":204793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:49:31] local.INFO: Packet analysis {"connection_id":204793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c34"} 
[2026-10-05 18:49:31] local.INFO: Extracted packet for processing {"connection_id":204793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c34"} 
[2026-10-05 18:49:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548700160001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791206161000,"timestamp_ms":1791206161000,"timestamp_seconds":1791206161,"priority":1,"record_length":96,"hex_timestamp":"000001a10c34fa68"} 
[2026-10-05 18:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:49:31] 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-10-05 18: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 18:49: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-10-05 18: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-10-05 18:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:49:31] 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-10-05 18:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548700160001,"66":25441,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548700160001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:49:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:49:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548700160001,"power":25441,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":204793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:49:31] local.INFO: GPS data processed {"connection_id":204793,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:49:31] local.INFO: Acknowledgment sent {"connection_id":204793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:49:35] local.INFO: TCP Data received {"connection_id":206325,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:49:35] local.INFO: Processing buffer {"connection_id":206325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:49:35] local.INFO: IMEI packet received {"connection_id":206325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":206325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:49:41] local.INFO: TCP Data received {"connection_id":206325,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:49:41] local.INFO: Processing buffer {"connection_id":206325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:49:41] local.INFO: IMEI packet received {"connection_id":206325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":206325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:49:42] local.INFO: TCP Data received {"connection_id":204794,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c36c758012d1a8c00071fae40003a012e26..."} 
[2026-10-05 18:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c36c758012d1a8c00071fae40003a012e26..."} 
[2026-10-05 18:49:42] local.INFO: Processing buffer {"connection_id":204794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c36c758012d1a8c00071fae40003a012e26..."} 
[2026-10-05 18:49:42] local.INFO: Packet analysis {"connection_id":204794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c36"} 
[2026-10-05 18:49:42] local.INFO: Extracted packet for processing {"connection_id":204794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c36"} 
[2026-10-05 18:49:42] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516736,"longitude_deg":75.6714496,"latitude_deg":11.9516736,"altitude":58,"angle":302,"satellites":38,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae40","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548802048001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25266175910871040,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321902592,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791206279000,"timestamp_ms":1791206279000,"timestamp_seconds":1791206279,"priority":1,"record_length":96,"hex_timestamp":"000001a10c36c758"} 
[2026-10-05 18:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:49: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-10-05 18: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":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-10-05 18:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2678,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548802048001,"66":12298,"121":206,"28":31744,"24":0,"16":25266175910871040,"45":1912903972321902592},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548802048001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:49:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:49:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25266175910871040,"km_value":25266175910871.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321902592,"description":"Unknown IO ID 45"} 
[2026-10-05 18:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548802048001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1912903972321902592}} 
[2026-10-05 18:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":204794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:49:42] local.INFO: GPS data processed {"connection_id":204794,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:49:42] local.INFO: Acknowledgment sent {"connection_id":204794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:49:42] local.INFO: TCP Data received {"connection_id":206325,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:49:42] local.INFO: Processing buffer {"connection_id":206325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:49:42] local.INFO: Packet analysis {"connection_id":206325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c35"} 
[2026-10-05 18:49:42] local.INFO: Extracted packet for processing {"connection_id":206325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c35"} 
[2026-10-05 18:49:42] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548705280001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791206181000,"timestamp_ms":1791206181000,"timestamp_seconds":1791206181,"priority":1,"record_length":96,"hex_timestamp":"000001a10c354888"} 
[2026-10-05 18:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 18:49:42] 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-10-05 18: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-10-05 18:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:49:42] 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-10-05 18:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548705280001,"66":13102,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548705280001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:49:42] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:49:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548705280001,"power":13102,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":206325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:49:42] local.INFO: GPS data processed {"connection_id":206325,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:49:42] local.INFO: Acknowledgment sent {"connection_id":206325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:49:47] local.INFO: TCP Data received {"connection_id":206325,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:49:47] local.INFO: Processing buffer {"connection_id":206325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:49:47] local.INFO: Packet analysis {"connection_id":206325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c35"} 
[2026-10-05 18:49:47] local.INFO: Extracted packet for processing {"connection_id":206325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c35"} 
[2026-10-05 18:49:47] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548705280001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791206181000,"timestamp_ms":1791206181000,"timestamp_seconds":1791206181,"priority":1,"record_length":96,"hex_timestamp":"000001a10c354888"} 
[2026-10-05 18:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 18:49:47] 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-10-05 18:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":206325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":206325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":206325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548705280001,"66":13102,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548705280001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:49:47] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:49:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548705280001,"power":13102,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":206325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969296,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:49:47] local.INFO: GPS data processed {"connection_id":206325,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:49:47] local.INFO: Acknowledgment sent {"connection_id":206325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:49:54] local.INFO: TCP Data received {"connection_id":207876,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:49:54] local.INFO: Processing buffer {"connection_id":207876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:49:54] local.INFO: IMEI packet received {"connection_id":207876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":207876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:49:59] local.INFO: TCP Data received {"connection_id":207876,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:49:59] local.INFO: Processing buffer {"connection_id":207876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:49:59] local.INFO: IMEI packet received {"connection_id":207876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":207876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:50:00] local.INFO: TCP Data received {"connection_id":207876,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:50:00] local.INFO: Processing buffer {"connection_id":207876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:50:00] local.INFO: Packet analysis {"connection_id":207876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c34"} 
[2026-10-05 18:50:00] local.INFO: Extracted packet for processing {"connection_id":207876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c34"} 
[2026-10-05 18:50:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548700160001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791206161000,"timestamp_ms":1791206161000,"timestamp_seconds":1791206161,"priority":1,"record_length":96,"hex_timestamp":"000001a10c34fa68"} 
[2026-10-05 18:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:50:00] 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-10-05 18: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 18:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:50:00] 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-10-05 18:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548700160001,"66":25441,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548700160001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:50:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:50:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548700160001,"power":25441,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":207876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:50:00] local.INFO: GPS data processed {"connection_id":207876,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:50:00] local.INFO: Acknowledgment sent {"connection_id":207876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:50:04] local.INFO: TCP Data received {"connection_id":207877,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:50:04] local.INFO: Processing buffer {"connection_id":207877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:50:04] local.INFO: IMEI packet received {"connection_id":207877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":207877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:50:10] local.INFO: TCP Data received {"connection_id":207877,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:50:10] local.INFO: Processing buffer {"connection_id":207877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:50:10] local.INFO: IMEI packet received {"connection_id":207877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":207877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:50:11] local.INFO: TCP Data received {"connection_id":207877,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c371960012d1a8c00071fae40003a012e26..."} 
[2026-10-05 18:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c371960012d1a8c00071fae40003a012e26..."} 
[2026-10-05 18:50:11] local.INFO: Processing buffer {"connection_id":207877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c371960012d1a8c00071fae40003a012e26..."} 
[2026-10-05 18:50:11] local.INFO: Packet analysis {"connection_id":207877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c37"} 
[2026-10-05 18:50:11] local.INFO: Extracted packet for processing {"connection_id":207877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c37"} 
[2026-10-05 18:50:11] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516736,"longitude_deg":75.6714496,"latitude_deg":11.9516736,"altitude":58,"angle":302,"satellites":38,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae40","is_valid_coordinates":true} 
[2026-10-05 18:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548807424001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25266175910871040,"note":"Value kept but may cause issues"} 
[2026-10-05 18:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321902592,"note":"Value kept but may cause issues"} 
[2026-10-05 18:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791206300000,"timestamp_ms":1791206300000,"timestamp_seconds":1791206300,"priority":1,"record_length":96,"hex_timestamp":"000001a10c371960"} 
[2026-10-05 18:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:50: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-10-05 18:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 18:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513320472448467246,"note":"Value kept but may cause issues"} 
[2026-10-05 18:50:11] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-10-05 18:50:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452377,"note":"Value kept but may cause issues"} 
[2026-10-05 18:50:11] local.WARNING: Large IO value detected {"io_id":195,"raw_value":8358680908399640577,"note":"Value kept but may cause issues"} 
[2026-10-05 18:50:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":879482892763077260,"note":"Value kept but may cause issues"} 
[2026-10-05 18:50:11] local.WARNING: Large IO value detected {"io_id":58,"raw_value":85043925873590272,"note":"Value kept but may cause issues"} 
[2026-10-05 18:50:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-10-05 18:50:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972246169419982,"note":"Value kept but may cause issues"} 
[2026-10-05 18:50:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2923429946,"note":"Value kept but may cause issues"} 
[2026-10-05 18:50:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-10-05 18:50:11] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3279159296,"note":"Value kept but may cause issues"} 
[2026-10-05 18:50:11] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,195,161,117,45,174,58,39,10,66,34,209,1,240,53,12,31,4,113,205,49,140,64,40,239,48,2,89,7,38],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-10-05 18:50:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179672669920165888,"timestamp_seconds":4179672669920166.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548807424001,"66":12341,"121":206,"28":31744,"24":0,"16":25266175910871040,"45":1912903972321902592},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548807424001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:50:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:50:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25266175910871040,"km_value":25266175910871.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321902592,"description":"Unknown IO ID 45"} 
[2026-10-05 18:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548807424001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1912903972321902592}} 
[2026-10-05 18:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":207877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:50:11] local.INFO: GPS data processed {"connection_id":207877,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:50:11] local.INFO: Acknowledgment sent {"connection_id":207877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:50:31] local.INFO: TCP Data received {"connection_id":204935,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:50:31] local.INFO: Processing buffer {"connection_id":204935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:50:31] local.INFO: IMEI packet received {"connection_id":204935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":204935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:50:32] local.INFO: TCP Data received {"connection_id":207876,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:50:32] local.INFO: Processing buffer {"connection_id":207876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:50:32] local.INFO: Packet analysis {"connection_id":207876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c34"} 
[2026-10-05 18:50:32] local.INFO: Extracted packet for processing {"connection_id":207876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c34"} 
[2026-10-05 18:50:32] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548700160001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791206161000,"timestamp_ms":1791206161000,"timestamp_seconds":1791206161,"priority":1,"record_length":96,"hex_timestamp":"000001a10c34fa68"} 
[2026-10-05 18:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:50:32] 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-10-05 18: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 18:50:32] 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-10-05 18: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-10-05 18:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:50:32] 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-10-05 18:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548700160001,"66":25441,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548700160001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:50:32] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:50:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548700160001,"power":25441,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":207876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:50:32] local.INFO: GPS data processed {"connection_id":207876,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:50:32] local.INFO: Acknowledgment sent {"connection_id":207876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:50:36] local.INFO: TCP Data received {"connection_id":204935,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:50:36] local.INFO: Processing buffer {"connection_id":204935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:50:36] local.INFO: IMEI packet received {"connection_id":204935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":204935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:50:37] local.INFO: TCP Data received {"connection_id":204935,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:50:37] local.INFO: Processing buffer {"connection_id":204935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:50:37] local.INFO: Packet analysis {"connection_id":204935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c35"} 
[2026-10-05 18:50:37] local.INFO: Extracted packet for processing {"connection_id":204935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c35"} 
[2026-10-05 18:50:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548705280001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791206181000,"timestamp_ms":1791206181000,"timestamp_seconds":1791206181,"priority":1,"record_length":96,"hex_timestamp":"000001a10c354888"} 
[2026-10-05 18:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 18:50:37] 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-10-05 18:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548705280001,"66":13102,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548705280001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:50:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:50:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548705280001,"power":13102,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":204935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:50:37] local.INFO: GPS data processed {"connection_id":204935,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:50:37] local.INFO: Acknowledgment sent {"connection_id":204935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:50:42] local.INFO: TCP Data received {"connection_id":207877,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c376b68012d1a8c00071fae40003a012e27..."} 
[2026-10-05 18:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c376b68012d1a8c00071fae40003a012e27..."} 
[2026-10-05 18:50:42] local.INFO: Processing buffer {"connection_id":207877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c376b68012d1a8c00071fae40003a012e27..."} 
[2026-10-05 18:50:42] local.INFO: Packet analysis {"connection_id":207877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c37"} 
[2026-10-05 18:50:42] local.INFO: Extracted packet for processing {"connection_id":207877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c37"} 
[2026-10-05 18:50:42] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516736,"longitude_deg":75.6714496,"latitude_deg":11.9516736,"altitude":58,"angle":302,"satellites":39,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae40","is_valid_coordinates":true} 
[2026-10-05 18:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548812800001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25266175910871040,"note":"Value kept but may cause issues"} 
[2026-10-05 18:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321902592,"note":"Value kept but may cause issues"} 
[2026-10-05 18:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791206321000,"timestamp_ms":1791206321000,"timestamp_seconds":1791206321,"priority":1,"record_length":96,"hex_timestamp":"000001a10c376b68"} 
[2026-10-05 18:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:50: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-10-05 18:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 18:50:42] 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-10-05 18:50: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-10-05 18:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548812800001,"66":12374,"121":206,"28":31744,"24":0,"16":25266175910871040,"45":1912903972321902592},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548812800001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:50:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:50:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25266175910871040,"km_value":25266175910871.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321902592,"description":"Unknown IO ID 45"} 
[2026-10-05 18:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548812800001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1912903972321902592}} 
[2026-10-05 18:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":207877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:50:42] local.INFO: GPS data processed {"connection_id":207877,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:50:42] local.INFO: Acknowledgment sent {"connection_id":207877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:50:54] local.INFO: TCP Data received {"connection_id":204937,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:50:54] local.INFO: Processing buffer {"connection_id":204937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:50:54] local.INFO: IMEI packet received {"connection_id":204937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":204937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:50:59] local.INFO: TCP Data received {"connection_id":204937,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:50:59] local.INFO: Processing buffer {"connection_id":204937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:50:59] local.INFO: IMEI packet received {"connection_id":204937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":204937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:51:00] local.INFO: TCP Data received {"connection_id":204937,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:51:00] local.INFO: Processing buffer {"connection_id":204937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:51:00] local.INFO: Packet analysis {"connection_id":204937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c34"} 
[2026-10-05 18:51:00] local.INFO: Extracted packet for processing {"connection_id":204937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c34"} 
[2026-10-05 18:51:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548700160001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791206161000,"timestamp_ms":1791206161000,"timestamp_seconds":1791206161,"priority":1,"record_length":96,"hex_timestamp":"000001a10c34fa68"} 
[2026-10-05 18:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:51:00] 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-10-05 18:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 18:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:51:00] 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-10-05 18:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548700160001,"66":25441,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548700160001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:51:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:51:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548700160001,"power":25441,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":204937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:51:00] local.INFO: GPS data processed {"connection_id":204937,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:51:00] local.INFO: Acknowledgment sent {"connection_id":204937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:51:04] local.INFO: TCP Data received {"connection_id":206326,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:51:04] local.INFO: Processing buffer {"connection_id":206326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:51:04] local.INFO: IMEI packet received {"connection_id":206326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":206326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:51:05] local.INFO: TCP Data received {"connection_id":206326,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:51:05] local.INFO: Processing buffer {"connection_id":206326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:51:05] local.INFO: IMEI packet received {"connection_id":206326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":206326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:51:08] local.INFO: TCP Data received {"connection_id":206326,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:51:08] local.INFO: Processing buffer {"connection_id":206326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:51:08] local.INFO: IMEI packet received {"connection_id":206326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":206326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:51:09] local.INFO: TCP Data received {"connection_id":206326,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:51:09] local.INFO: Processing buffer {"connection_id":206326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:51:09] local.INFO: IMEI packet received {"connection_id":206326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":206326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:51:09] local.INFO: TCP Data received {"connection_id":204935,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:51:09] local.INFO: Processing buffer {"connection_id":204935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c354888012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:51:09] local.INFO: Packet analysis {"connection_id":204935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c35"} 
[2026-10-05 18:51:09] local.INFO: Extracted packet for processing {"connection_id":204935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c35"} 
[2026-10-05 18:51:09] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548705280001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791206181000,"timestamp_ms":1791206181000,"timestamp_seconds":1791206181,"priority":1,"record_length":96,"hex_timestamp":"000001a10c354888"} 
[2026-10-05 18:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 18:51:09] 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-10-05 18:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548705280001,"66":13102,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548705280001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:51:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:51:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548705280001,"power":13102,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":204935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:51:09] local.INFO: GPS data processed {"connection_id":204935,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:51:09] local.INFO: Acknowledgment sent {"connection_id":204935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:51:11] local.INFO: TCP Data received {"connection_id":206326,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c37c158012d1a8c00071fae40003a012e29..."} 
[2026-10-05 18:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c37c158012d1a8c00071fae40003a012e29..."} 
[2026-10-05 18:51:11] local.INFO: Processing buffer {"connection_id":206326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c37c158012d1a8c00071fae40003a012e29..."} 
[2026-10-05 18:51:11] local.INFO: Packet analysis {"connection_id":206326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c37"} 
[2026-10-05 18:51:11] local.INFO: Extracted packet for processing {"connection_id":206326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c37"} 
[2026-10-05 18:51:11] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516736,"longitude_deg":75.6714496,"latitude_deg":11.9516736,"altitude":58,"angle":302,"satellites":41,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae40","is_valid_coordinates":true} 
[2026-10-05 18:51: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-10-05 18:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548818176001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25266175910871040,"note":"Value kept but may cause issues"} 
[2026-10-05 18:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321902592,"note":"Value kept but may cause issues"} 
[2026-10-05 18:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791206343000,"timestamp_ms":1791206343000,"timestamp_seconds":1791206343,"priority":1,"record_length":96,"hex_timestamp":"000001a10c37c158"} 
[2026-10-05 18:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-05 18:51:11] 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-10-05 18:51: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-10-05 18:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548818176001,"66":12341,"121":206,"28":31744,"24":0,"16":25266175910871040,"45":1912903972321902592},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548818176001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:51:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:51:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25266175910871040,"km_value":25266175910871.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321902592,"description":"Unknown IO ID 45"} 
[2026-10-05 18:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548818176001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1912903972321902592}} 
[2026-10-05 18:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":206326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:51:11] local.INFO: GPS data processed {"connection_id":206326,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:51:11] local.INFO: Acknowledgment sent {"connection_id":206326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:51:30] local.INFO: TCP Data received {"connection_id":207878,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:51:30] local.INFO: Processing buffer {"connection_id":207878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:51:30] local.INFO: IMEI packet received {"connection_id":207878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":207878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:51:31] local.INFO: TCP Data received {"connection_id":204937,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:51:31] local.INFO: Processing buffer {"connection_id":204937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c34fa68012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:51:31] local.INFO: Packet analysis {"connection_id":204937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c34"} 
[2026-10-05 18:51:31] local.INFO: Extracted packet for processing {"connection_id":204937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c34"} 
[2026-10-05 18:51:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548700160001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791206161000,"timestamp_ms":1791206161000,"timestamp_seconds":1791206161,"priority":1,"record_length":96,"hex_timestamp":"000001a10c34fa68"} 
[2026-10-05 18:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:51:31] 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-10-05 18: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 18:51: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-10-05 18: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-10-05 18:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:51:31] 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-10-05 18:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548700160001,"66":25441,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548700160001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:51:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:51:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548700160001,"power":25441,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":204937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:51:31] local.INFO: GPS data processed {"connection_id":204937,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:51:31] local.INFO: Acknowledgment sent {"connection_id":204937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:51:36] local.INFO: TCP Data received {"connection_id":207878,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:51:36] local.INFO: Processing buffer {"connection_id":207878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:51:36] local.INFO: IMEI packet received {"connection_id":207878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":207878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:51:38] local.INFO: TCP Data received {"connection_id":207878,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:51:38] local.INFO: Processing buffer {"connection_id":207878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:51:38] local.INFO: Packet analysis {"connection_id":207878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:51:38] local.INFO: Extracted packet for processing {"connection_id":207878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:51:38] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548782336001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791206482000,"timestamp_ms":1791206482000,"timestamp_seconds":1791206482,"priority":1,"record_length":96,"hex_timestamp":"000001a10c39e050"} 
[2026-10-05 18:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-05 18:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548782336001,"66":13048,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548782336001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:51:38] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:51:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548782336001,"power":13048,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":207878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:51:38] local.INFO: GPS data processed {"connection_id":207878,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:51:38] local.INFO: Acknowledgment sent {"connection_id":207878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:51:44] local.INFO: TCP Data received {"connection_id":206326,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c394be0012d1a4a40071fe4d0003301252b..."} 
[2026-10-05 18:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c394be0012d1a4a40071fe4d0003301252b..."} 
[2026-10-05 18:51:44] local.INFO: Processing buffer {"connection_id":206326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c394be0012d1a4a40071fe4d0003301252b..."} 
[2026-10-05 18:51:44] local.INFO: Packet analysis {"connection_id":206326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:51:44] local.INFO: Extracted packet for processing {"connection_id":206326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:51:44] local.INFO: GPS Element Parsed {"raw_longitude":756697664,"raw_latitude":119530704,"longitude_deg":75.6697664,"latitude_deg":11.9530704,"altitude":51,"angle":293,"satellites":43,"speed":33,"hex_longitude":"2d1a4a40","hex_latitude":"071fe4d0","is_valid_coordinates":true} 
[2026-10-05 18:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548848896001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25267284012433408,"note":"Value kept but may cause issues"} 
[2026-10-05 18:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1896789529908461568,"note":"Value kept but may cause issues"} 
[2026-10-05 18:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791206444000,"timestamp_ms":1791206444000,"timestamp_seconds":1791206444,"priority":1,"record_length":96,"hex_timestamp":"000001a10c394be0"} 
[2026-10-05 18:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 18:51:44] local.WARNING: Large IO value detected {"io_id":56,"raw_value":-5791627827567902713,"note":"Value kept but may cause issues"} 
[2026-10-05 18:51:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-05 18:51:44] local.WARNING: Large IO value detected {"io_id":12,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-10-05 18:51:44] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-5694801462499923200,"note":"Value kept but may cause issues"} 
[2026-10-05 18:51:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-10-05 18:51:44] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2147950543,"note":"Value kept but may cause issues"} 
[2026-10-05 18:51:44] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3286695936,"note":"Value kept but may cause issues"} 
[2026-10-05 18:51:44] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,196,161,56,45,220,52,42,10,66,36,218,53,32,192,1,240,105,12,31,4,113,205,9,118,64,239,2,89,7,62],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-10-05 18:51:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747331520921075712,"timestamp_seconds":3747331520921075.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":206326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":206326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":206326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548848896001,"66":13287,"121":206,"28":31744,"24":33,"16":25267284012433408,"45":1896789529908461568},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548848896001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:51:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:51:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25267284012433408,"km_value":25267284012433.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1896789529908461568,"description":"Unknown IO ID 45"} 
[2026-10-05 18:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548848896001,"power":13287,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1896789529908461568}} 
[2026-10-05 18:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":206326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:51:44] local.INFO: GPS data processed {"connection_id":206326,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:51:44] local.INFO: Acknowledgment sent {"connection_id":206326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:51:54] local.INFO: TCP Data received {"connection_id":204795,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:51:54] local.INFO: Processing buffer {"connection_id":204795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:51:54] local.INFO: IMEI packet received {"connection_id":204795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":204795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:51:59] local.INFO: TCP Data received {"connection_id":204795,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:51:59] local.INFO: Processing buffer {"connection_id":204795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:51:59] local.INFO: IMEI packet received {"connection_id":204795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":204795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:52:00] local.INFO: TCP Data received {"connection_id":204795,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:52:00] local.INFO: Processing buffer {"connection_id":204795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:52:00] local.INFO: Packet analysis {"connection_id":204795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:52:00] local.INFO: Extracted packet for processing {"connection_id":204795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:52:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548777216001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791206462000,"timestamp_ms":1791206462000,"timestamp_seconds":1791206462,"priority":1,"record_length":96,"hex_timestamp":"000001a10c399230"} 
[2026-10-05 18:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 18:52: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-10-05 18: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-10-05 18:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:52:00] 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-10-05 18:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548777216001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548777216001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:52:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:52:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548777216001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":204795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:52:00] local.INFO: GPS data processed {"connection_id":204795,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:52:00] local.INFO: Acknowledgment sent {"connection_id":204795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:52:01] local.INFO: TCP Data received {"connection_id":204938,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:52:01] local.INFO: Processing buffer {"connection_id":204938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:52:01] local.INFO: IMEI packet received {"connection_id":204938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 18:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":204938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:52:09] local.INFO: TCP Data received {"connection_id":207879,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:52:09] local.INFO: Processing buffer {"connection_id":207879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:52:09] local.INFO: IMEI packet received {"connection_id":207879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":207879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:52:10] local.INFO: TCP Data received {"connection_id":207879,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:52:10] local.INFO: Processing buffer {"connection_id":207879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:52:10] local.INFO: IMEI packet received {"connection_id":207879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":207879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:52:10] local.INFO: TCP Data received {"connection_id":207878,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:52:10] local.INFO: Processing buffer {"connection_id":207878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:52:10] local.INFO: Packet analysis {"connection_id":207878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:52:10] local.INFO: Extracted packet for processing {"connection_id":207878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:52:10] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548782336001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791206482000,"timestamp_ms":1791206482000,"timestamp_seconds":1791206482,"priority":1,"record_length":96,"hex_timestamp":"000001a10c39e050"} 
[2026-10-05 18:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-05 18:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548782336001,"66":13048,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548782336001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:52:10] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:52:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548782336001,"power":13048,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":207878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969309,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:52:10] local.INFO: GPS data processed {"connection_id":207878,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:52:10] local.INFO: Acknowledgment sent {"connection_id":207878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:52:10] local.INFO: TCP Data received {"connection_id":207879,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:52:10] local.INFO: Processing buffer {"connection_id":207879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:52:10] local.INFO: IMEI packet received {"connection_id":207879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":207879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:52:15] local.INFO: TCP Data received {"connection_id":207879,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:52:15] local.INFO: Processing buffer {"connection_id":207879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:52:15] local.INFO: IMEI packet received {"connection_id":207879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":207879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:52:17] local.INFO: TCP Data received {"connection_id":207879,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c395f68012d1a3a40071fe930003301192b..."} 
[2026-10-05 18:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c395f68012d1a3a40071fe930003301192b..."} 
[2026-10-05 18:52:17] local.INFO: Processing buffer {"connection_id":207879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c395f68012d1a3a40071fe930003301192b..."} 
[2026-10-05 18:52:17] local.INFO: Packet analysis {"connection_id":207879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:52:17] local.INFO: Extracted packet for processing {"connection_id":207879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:52:17] local.INFO: GPS Element Parsed {"raw_longitude":756693568,"raw_latitude":119531824,"longitude_deg":75.6693568,"latitude_deg":11.9531824,"altitude":51,"angle":281,"satellites":43,"speed":33,"hex_longitude":"2d1a3a40","hex_latitude":"071fe930","is_valid_coordinates":true} 
[2026-10-05 18:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548849664001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25267490170863616,"note":"Value kept but may cause issues"} 
[2026-10-05 18:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1894396992606752768,"note":"Value kept but may cause issues"} 
[2026-10-05 18:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791206449000,"timestamp_ms":1791206449000,"timestamp_seconds":1791206449,"priority":1,"record_length":96,"hex_timestamp":"000001a10c395f68"} 
[2026-10-05 18:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-10-05 18:52:17] 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-10-05 18:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":207879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":207879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":207879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548849664001,"66":13396,"121":206,"28":31744,"24":33,"16":25267490170863616,"45":1894396992606752768},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548849664001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:52:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:52:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25267490170863616,"km_value":25267490170863.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1894396992606752768,"description":"Unknown IO ID 45"} 
[2026-10-05 18:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548849664001,"power":13396,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1894396992606752768}} 
[2026-10-05 18:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":207879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:52:17] local.INFO: GPS data processed {"connection_id":207879,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:52:17] local.INFO: Acknowledgment sent {"connection_id":207879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:52:20] local.INFO: TCP Data received {"connection_id":207879,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c398678012d1a1580071ff330002f011f2b..."} 
[2026-10-05 18:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c398678012d1a1580071ff330002f011f2b..."} 
[2026-10-05 18:52:20] local.INFO: Processing buffer {"connection_id":207879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c398678012d1a1580071ff330002f011f2b..."} 
[2026-10-05 18:52:20] local.INFO: Packet analysis {"connection_id":207879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:52:20] local.INFO: Extracted packet for processing {"connection_id":207879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:52:20] local.INFO: GPS Element Parsed {"raw_longitude":756684160,"raw_latitude":119534384,"longitude_deg":75.668416,"latitude_deg":11.9534384,"altitude":47,"angle":287,"satellites":43,"speed":40,"hex_longitude":"2d1a1580","hex_latitude":"071ff330","is_valid_coordinates":true} 
[2026-10-05 18:52: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-10-05 18:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548850944001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25267949732364288,"note":"Value kept but may cause issues"} 
[2026-10-05 18:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889893392979668992,"note":"Value kept but may cause issues"} 
[2026-10-05 18:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791206459000,"timestamp_ms":1791206459000,"timestamp_seconds":1791206459,"priority":1,"record_length":96,"hex_timestamp":"000001a10c398678"} 
[2026-10-05 18:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:52: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-10-05 18:52: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":84,"data_length":795,"current_offset":136} 
[2026-10-05 18:52:20] 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-10-05 18:52: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-10-05 18:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":207879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":207879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":207879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548850944001,"66":13135,"121":206,"28":31744,"24":40,"16":25267949732364288,"45":1889893392979668992},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548850944001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:52:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:52:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25267949732364288,"km_value":25267949732364.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889893392979668992,"description":"Unknown IO ID 45"} 
[2026-10-05 18:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548850944001,"power":13135,"unknown_121":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1889893392979668992}} 
[2026-10-05 18:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":207879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:52:20] local.INFO: GPS data processed {"connection_id":207879,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:52:20] local.INFO: Acknowledgment sent {"connection_id":207879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:52:31] local.INFO: TCP Data received {"connection_id":204795,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:52:31] local.INFO: Processing buffer {"connection_id":204795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:52:31] local.INFO: Packet analysis {"connection_id":204795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:52:31] local.INFO: Extracted packet for processing {"connection_id":204795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:52:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548777216001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791206462000,"timestamp_ms":1791206462000,"timestamp_seconds":1791206462,"priority":1,"record_length":96,"hex_timestamp":"000001a10c399230"} 
[2026-10-05 18:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 18:52:31] 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-10-05 18:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:52:31] 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-10-05 18:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548777216001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548777216001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:52:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:52:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548777216001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":204795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:52:31] local.INFO: GPS data processed {"connection_id":204795,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:52:31] local.INFO: Acknowledgment sent {"connection_id":204795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:52:35] local.INFO: TCP Data received {"connection_id":207880,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:52:35] local.INFO: Processing buffer {"connection_id":207880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:52:35] local.INFO: IMEI packet received {"connection_id":207880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":207880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:52:36] local.INFO: TCP Data received {"connection_id":204939,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204939,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:52:36] local.INFO: Processing buffer {"connection_id":204939,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:52:36] local.INFO: IMEI packet received {"connection_id":204939,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 18:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":204939,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:52:40] local.INFO: TCP Data received {"connection_id":207880,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:52:40] local.INFO: Processing buffer {"connection_id":207880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:52:40] local.INFO: IMEI packet received {"connection_id":207880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":207880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:52:42] local.INFO: TCP Data received {"connection_id":207880,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:52:42] local.INFO: Processing buffer {"connection_id":207880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:52:42] local.INFO: Packet analysis {"connection_id":207880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:52:42] local.INFO: Extracted packet for processing {"connection_id":207880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:52:42] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:52: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-10-05 18:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548782336001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791206482000,"timestamp_ms":1791206482000,"timestamp_seconds":1791206482,"priority":1,"record_length":96,"hex_timestamp":"000001a10c39e050"} 
[2026-10-05 18:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:52: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":46,"data_length":795,"current_offset":136} 
[2026-10-05 18:52:42] 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-10-05 18:52: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-10-05 18:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548782336001,"66":13048,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548782336001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:52:42] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:52:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548782336001,"power":13048,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":207880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:52:42] local.INFO: GPS data processed {"connection_id":207880,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:52:42] local.INFO: Acknowledgment sent {"connection_id":207880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:52:46] local.INFO: TCP Data received {"connection_id":207880,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:52:46] local.INFO: Processing buffer {"connection_id":207880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:52:46] local.INFO: Packet analysis {"connection_id":207880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:52:46] local.INFO: Extracted packet for processing {"connection_id":207880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:52:46] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548782336001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791206482000,"timestamp_ms":1791206482000,"timestamp_seconds":1791206482,"priority":1,"record_length":96,"hex_timestamp":"000001a10c39e050"} 
[2026-10-05 18:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-05 18:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":207880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":207880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":207880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548782336001,"66":13048,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548782336001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:52:46] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:52:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548782336001,"power":13048,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":207880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:52:46] local.INFO: GPS data processed {"connection_id":207880,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:52:46] local.INFO: Acknowledgment sent {"connection_id":207880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:52:54] local.INFO: TCP Data received {"connection_id":204940,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:52:54] local.INFO: Processing buffer {"connection_id":204940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:52:54] local.INFO: IMEI packet received {"connection_id":204940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":204940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:52:59] local.INFO: TCP Data received {"connection_id":204940,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:52:59] local.INFO: Processing buffer {"connection_id":204940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:52:59] local.INFO: IMEI packet received {"connection_id":204940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":204940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:53:00] local.INFO: TCP Data received {"connection_id":204940,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:53:00] local.INFO: Processing buffer {"connection_id":204940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:53:00] local.INFO: Packet analysis {"connection_id":204940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:53:00] local.INFO: Extracted packet for processing {"connection_id":204940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:53:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548777216001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791206462000,"timestamp_ms":1791206462000,"timestamp_seconds":1791206462,"priority":1,"record_length":96,"hex_timestamp":"000001a10c399230"} 
[2026-10-05 18:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 18:53: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-10-05 18: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-10-05 18:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:53:00] 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-10-05 18:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548777216001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548777216001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:53:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:53:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548777216001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":204940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:53:00] local.INFO: GPS data processed {"connection_id":204940,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:53:00] local.INFO: Acknowledgment sent {"connection_id":204940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:53:04] local.INFO: TCP Data received {"connection_id":207882,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:53:04] local.INFO: Processing buffer {"connection_id":207882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:53:04] local.INFO: IMEI packet received {"connection_id":207882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":207882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:53:09] local.INFO: TCP Data received {"connection_id":207882,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:53:09] local.INFO: Processing buffer {"connection_id":207882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:53:09] local.INFO: IMEI packet received {"connection_id":207882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":207882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:53:11] local.INFO: TCP Data received {"connection_id":207882,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c39a9a0012d19f640071ffc30002d010c2a..."} 
[2026-10-05 18:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c39a9a0012d19f640071ffc30002d010c2a..."} 
[2026-10-05 18:53:11] local.INFO: Processing buffer {"connection_id":207882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c39a9a0012d19f640071ffc30002d010c2a..."} 
[2026-10-05 18:53:11] local.INFO: Packet analysis {"connection_id":207882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:53:11] local.INFO: Extracted packet for processing {"connection_id":207882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:53:11] local.INFO: GPS Element Parsed {"raw_longitude":756676160,"raw_latitude":119536688,"longitude_deg":75.667616,"latitude_deg":11.9536688,"altitude":45,"angle":268,"satellites":42,"speed":30,"hex_longitude":"2d19f640","hex_latitude":"071ffc30","is_valid_coordinates":true} 
[2026-10-05 18:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548853504001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25268349164322816,"note":"Value kept but may cause issues"} 
[2026-10-05 18:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1879549187586207744,"note":"Value kept but may cause issues"} 
[2026-10-05 18:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791206468000,"timestamp_ms":1791206468000,"timestamp_seconds":1791206468,"priority":1,"record_length":96,"hex_timestamp":"000001a10c39a9a0"} 
[2026-10-05 18:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-10-05 18:53:11] 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-10-05 18:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548853504001,"66":13319,"121":206,"28":31744,"24":30,"16":25268349164322816,"45":1879549187586207744},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548853504001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:53:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:53:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25268349164322816,"km_value":25268349164322.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1879549187586207744,"description":"Unknown IO ID 45"} 
[2026-10-05 18:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548853504001,"power":13319,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1879549187586207744}} 
[2026-10-05 18:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":207882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:53:11] local.INFO: GPS data processed {"connection_id":207882,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:53:11] local.INFO: Acknowledgment sent {"connection_id":207882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:53:31] local.INFO: TCP Data received {"connection_id":206327,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:53:31] local.INFO: Processing buffer {"connection_id":206327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:53:31] local.INFO: IMEI packet received {"connection_id":206327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":206327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:53:31] local.INFO: TCP Data received {"connection_id":204940,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:53:31] local.INFO: Processing buffer {"connection_id":204940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:53:31] local.INFO: Packet analysis {"connection_id":204940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:53:31] local.INFO: Extracted packet for processing {"connection_id":204940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:53:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548777216001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791206462000,"timestamp_ms":1791206462000,"timestamp_seconds":1791206462,"priority":1,"record_length":96,"hex_timestamp":"000001a10c399230"} 
[2026-10-05 18:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 18:53:31] 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-10-05 18: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-10-05 18:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:53:31] 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-10-05 18:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548777216001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548777216001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:53:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:53:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548777216001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":204940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:53:31] local.INFO: GPS data processed {"connection_id":204940,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:53:31] local.INFO: Acknowledgment sent {"connection_id":204940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:53:35] local.INFO: TCP Data received {"connection_id":206327,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:53:35] local.INFO: Processing buffer {"connection_id":206327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:53:35] local.INFO: IMEI packet received {"connection_id":206327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":206327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:53:37] local.INFO: TCP Data received {"connection_id":206327,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:53:37] local.INFO: Processing buffer {"connection_id":206327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:53:37] local.INFO: Packet analysis {"connection_id":206327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:53:37] local.INFO: Extracted packet for processing {"connection_id":206327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:53:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 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-10-05 18:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548782336001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791206482000,"timestamp_ms":1791206482000,"timestamp_seconds":1791206482,"priority":1,"record_length":96,"hex_timestamp":"000001a10c39e050"} 
[2026-10-05 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-10-05 18:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-05 18:53:37] 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-10-05 18:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 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-10-05 18:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548782336001,"66":13048,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548782336001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:53:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:53:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548782336001,"power":13048,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":206327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:53:37] local.INFO: GPS data processed {"connection_id":206327,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:53:37] local.INFO: Acknowledgment sent {"connection_id":206327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:53:45] local.INFO: TCP Data received {"connection_id":207882,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c39bd28012d19e9c0071ffc70002f012e2a..."} 
[2026-10-05 18:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c39bd28012d19e9c0071ffc70002f012e2a..."} 
[2026-10-05 18:53:45] local.INFO: Processing buffer {"connection_id":207882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c39bd28012d19e9c0071ffc70002f012e2a..."} 
[2026-10-05 18:53:45] local.INFO: Packet analysis {"connection_id":207882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:53:45] local.INFO: Extracted packet for processing {"connection_id":207882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:53:45] local.INFO: GPS Element Parsed {"raw_longitude":756672960,"raw_latitude":119536752,"longitude_deg":75.667296,"latitude_deg":11.9536752,"altitude":47,"angle":302,"satellites":42,"speed":21,"hex_longitude":"2d19e9c0","hex_latitude":"071ffc70","is_valid_coordinates":true} 
[2026-10-05 18:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548855808001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25268503783145472,"note":"Value kept but may cause issues"} 
[2026-10-05 18:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1870753094564589568,"note":"Value kept but may cause issues"} 
[2026-10-05 18:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791206473000,"timestamp_ms":1791206473000,"timestamp_seconds":1791206473,"priority":1,"record_length":96,"hex_timestamp":"000001a10c39bd28"} 
[2026-10-05 18:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 18:53:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-10-05 18:53:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-2769713543180572160,"note":"Value kept but may cause issues"} 
[2026-10-05 18:53:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-10-05 18:53:45] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3293118464,"note":"Value kept but may cause issues"} 
[2026-10-05 18:53:45] local.WARNING: Large IO value detected {"io_id":116,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-10-05 18:53:45] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2371146497038794759,"note":"Value kept but may cause issues"} 
[2026-10-05 18:53:45] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,121,28,24,241,158,16,197,161,134,45,128,243,47,43,10,66,95,64,233,51,196,75,1,240,231,12,31,4,113,205,32,56,88,112,42,239,52,2,89,7,53,116,57],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-10-05 18:53:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242886581213593600,"timestamp_seconds":3242886581213593.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 18:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":207882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":207882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":207882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548855808001,"66":13352,"121":206,"28":31744,"24":21,"16":25268503783145472,"45":1870753094564589568},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548855808001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:53:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:53:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25268503783145472,"km_value":25268503783145.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1870753094564589568,"description":"Unknown IO ID 45"} 
[2026-10-05 18:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548855808001,"power":13352,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1870753094564589568}} 
[2026-10-05 18:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":207882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:53:45] local.INFO: GPS data processed {"connection_id":207882,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:53:45] local.INFO: Acknowledgment sent {"connection_id":207882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:53:54] local.INFO: TCP Data received {"connection_id":204941,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:53:54] local.INFO: Processing buffer {"connection_id":204941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:53:54] local.INFO: IMEI packet received {"connection_id":204941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":204941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:53:59] local.INFO: TCP Data received {"connection_id":204941,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:53:59] local.INFO: Processing buffer {"connection_id":204941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:53:59] local.INFO: IMEI packet received {"connection_id":204941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":204941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:54:01] local.INFO: TCP Data received {"connection_id":204941,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:54:01] local.INFO: Processing buffer {"connection_id":204941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:54:01] local.INFO: Packet analysis {"connection_id":204941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:54:01] local.INFO: Extracted packet for processing {"connection_id":204941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:54:01] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548777216001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791206462000,"timestamp_ms":1791206462000,"timestamp_seconds":1791206462,"priority":1,"record_length":96,"hex_timestamp":"000001a10c399230"} 
[2026-10-05 18:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":97,"data_length":795,"current_offset":136} 
[2026-10-05 18:54:01] 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-10-05 18: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-10-05 18:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548777216001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548777216001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:54:01] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:54:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548777216001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":204941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:54:01] local.INFO: GPS data processed {"connection_id":204941,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:54:01] local.INFO: Acknowledgment sent {"connection_id":204941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:54:04] local.INFO: TCP Data received {"connection_id":206328,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:54:04] local.INFO: Processing buffer {"connection_id":206328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:54:04] local.INFO: IMEI packet received {"connection_id":206328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":206328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:54:05] local.INFO: TCP Data received {"connection_id":206328,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:54:05] local.INFO: Processing buffer {"connection_id":206328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:54:05] local.INFO: IMEI packet received {"connection_id":206328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":206328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:54:09] local.INFO: TCP Data received {"connection_id":206328,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:54:09] local.INFO: Processing buffer {"connection_id":206328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:54:09] local.INFO: IMEI packet received {"connection_id":206328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":206328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:54:09] local.INFO: TCP Data received {"connection_id":206327,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:54:09] local.INFO: Processing buffer {"connection_id":206327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:54:09] local.INFO: Packet analysis {"connection_id":206327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:54:09] local.INFO: Extracted packet for processing {"connection_id":206327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:54:09] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548782336001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791206482000,"timestamp_ms":1791206482000,"timestamp_seconds":1791206482,"priority":1,"record_length":96,"hex_timestamp":"000001a10c39e050"} 
[2026-10-05 18:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-05 18:54:09] 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-10-05 18:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":206327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":206327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":206327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548782336001,"66":13048,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548782336001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:54:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:54:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548782336001,"power":13048,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":206327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:54:09] local.INFO: GPS data processed {"connection_id":206327,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:54:09] local.INFO: Acknowledgment sent {"connection_id":206327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:54:09] local.INFO: TCP Data received {"connection_id":206328,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:54:09] local.INFO: Processing buffer {"connection_id":206328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:54:09] local.INFO: IMEI packet received {"connection_id":206328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":206328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:54:10] local.INFO: TCP Data received {"connection_id":206328,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3ba188012d19cdc007201910002e01452a..."} 
[2026-10-05 18:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3ba188012d19cdc007201910002e01452a..."} 
[2026-10-05 18:54:10] local.INFO: Processing buffer {"connection_id":206328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3ba188012d19cdc007201910002e01452a..."} 
[2026-10-05 18:54:10] local.INFO: Packet analysis {"connection_id":206328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3b"} 
[2026-10-05 18:54:10] local.INFO: Extracted packet for processing {"connection_id":206328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3b"} 
[2026-10-05 18:54:10] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119544080,"longitude_deg":75.6665792,"latitude_deg":11.954408,"altitude":46,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d19cdc0","hex_latitude":"07201910","is_valid_coordinates":true} 
[2026-10-05 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-10-05 18:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548883456001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25269010589286400,"note":"Value kept but may cause issues"} 
[2026-10-05 18:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358009700352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791206597000,"timestamp_ms":1791206597000,"timestamp_seconds":1791206597,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3ba188"} 
[2026-10-05 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-10-05 18:54: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-10-05 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-05 18:54:10] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3320774656,"note":"Value kept but may cause issues"} 
[2026-10-05 18:54:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-10-05 18:54:10] local.WARNING: Large IO value detected {"io_id":32,"raw_value":616993359423744512,"note":"Value kept but may cause issues"} 
[2026-10-05 18:54:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-10-05 18:54:10] local.WARNING: Large IO value detected {"io_id":255,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-10-05 18:54:10] local.WARNING: Large IO value detected {"io_id":220,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-10-05 18:54:10] local.WARNING: Large IO value detected {"io_id":57,"raw_value":-2564798694568198137,"note":"Value kept but may cause issues"} 
[2026-10-05 18:54:10] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,198,161,253,45,192,25,46,42,10,66,171,40,89,1,240,215,12,32,4,113,205,13,255,210,239,51,2,7,49,15,220,57],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-10-05 18:54:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3315006851707305984,"timestamp_seconds":3315006851707306.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 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-10-05 18:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":206328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":206328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":206328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548883456001,"66":13406,"121":206,"28":31744,"24":0,"16":25269010589286400,"45":1859353358009700352},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548883456001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:54:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:54:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25269010589286400,"km_value":25269010589286.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358009700352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548883456001,"power":13406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859353358009700352}} 
[2026-10-05 18:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":206328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:54:11] local.INFO: GPS data processed {"connection_id":206328,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:54:11] local.INFO: Acknowledgment sent {"connection_id":206328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:54:15] local.INFO: TCP Data received {"connection_id":206328,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3bbce0012d19cc0007201ac0002f013a2b..."} 
[2026-10-05 18:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3bbce0012d19cc0007201ac0002f013a2b..."} 
[2026-10-05 18:54:15] local.INFO: Processing buffer {"connection_id":206328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3bbce0012d19cc0007201ac0002f013a2b..."} 
[2026-10-05 18:54:15] local.INFO: Packet analysis {"connection_id":206328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3b"} 
[2026-10-05 18:54:15] local.INFO: Extracted packet for processing {"connection_id":206328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3b"} 
[2026-10-05 18:54:15] local.INFO: GPS Element Parsed {"raw_longitude":756665344,"raw_latitude":119544512,"longitude_deg":75.6665344,"latitude_deg":11.9544512,"altitude":47,"angle":314,"satellites":43,"speed":11,"hex_longitude":"2d19cc00","hex_latitude":"07201ac0","is_valid_coordinates":true} 
[2026-10-05 18:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548888832001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25269040654057472,"note":"Value kept but may cause issues"} 
[2026-10-05 18:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358009700352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791206604000,"timestamp_ms":1791206604000,"timestamp_seconds":1791206604,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3bbce0"} 
[2026-10-05 18:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-10-05 18:54:15] 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-10-05 18:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":206328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":206328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":206328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548888832001,"66":13537,"121":206,"28":31744,"24":11,"16":25269040654057472,"45":1859353358009700352},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548888832001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:54:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:54:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25269040654057472,"km_value":25269040654057.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358009700352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548888832001,"power":13537,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1859353358009700352}} 
[2026-10-05 18:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":206328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:54:15] local.INFO: GPS data processed {"connection_id":206328,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:54:15] local.INFO: Acknowledgment sent {"connection_id":206328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:54:30] local.INFO: TCP Data received {"connection_id":204796,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:54:30] local.INFO: Processing buffer {"connection_id":204796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:54:30] local.INFO: IMEI packet received {"connection_id":204796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":204796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:54:32] local.INFO: TCP Data received {"connection_id":204941,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:54:32] local.INFO: Processing buffer {"connection_id":204941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:54:32] local.INFO: Packet analysis {"connection_id":204941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:54:32] local.INFO: Extracted packet for processing {"connection_id":204941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548777216001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791206462000,"timestamp_ms":1791206462000,"timestamp_seconds":1791206462,"priority":1,"record_length":96,"hex_timestamp":"000001a10c399230"} 
[2026-10-05 18:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":97,"data_length":795,"current_offset":136} 
[2026-10-05 18:54:32] 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-10-05 18: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-10-05 18:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:54:32] 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-10-05 18:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548777216001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548777216001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:54:32] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:54:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548777216001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":204941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:54:32] local.INFO: GPS data processed {"connection_id":204941,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:54:32] local.INFO: Acknowledgment sent {"connection_id":204941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:54:35] local.INFO: TCP Data received {"connection_id":204796,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:54:35] local.INFO: Processing buffer {"connection_id":204796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:54:35] local.INFO: IMEI packet received {"connection_id":204796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":204796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:54:37] local.INFO: TCP Data received {"connection_id":204796,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:54:37] local.INFO: Processing buffer {"connection_id":204796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:54:37] local.INFO: Packet analysis {"connection_id":204796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:54:37] local.INFO: Extracted packet for processing {"connection_id":204796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:54:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548782336001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791206482000,"timestamp_ms":1791206482000,"timestamp_seconds":1791206482,"priority":1,"record_length":96,"hex_timestamp":"000001a10c39e050"} 
[2026-10-05 18:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-05 18:54:37] 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-10-05 18: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-10-05 18:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548782336001,"66":13048,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548782336001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:54:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:54:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548782336001,"power":13048,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":204796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:54:37] local.INFO: GPS data processed {"connection_id":204796,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:54:37] local.INFO: Acknowledgment sent {"connection_id":204796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:54:47] local.INFO: TCP Data received {"connection_id":206328,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3bc4b0012d19ca0007201d10003001452b..."} 
[2026-10-05 18:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3bc4b0012d19ca0007201d10003001452b..."} 
[2026-10-05 18:54:47] local.INFO: Processing buffer {"connection_id":206328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3bc4b0012d19ca0007201d10003001452b..."} 
[2026-10-05 18:54:47] local.INFO: Packet analysis {"connection_id":206328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3b"} 
[2026-10-05 18:54:47] local.INFO: Extracted packet for processing {"connection_id":206328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3b"} 
[2026-10-05 18:54:47] local.INFO: GPS Element Parsed {"raw_longitude":756664832,"raw_latitude":119545104,"longitude_deg":75.6664832,"latitude_deg":11.9545104,"altitude":48,"angle":325,"satellites":43,"speed":17,"hex_longitude":"2d19ca00","hex_latitude":"07201d10","is_valid_coordinates":true} 
[2026-10-05 18:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548890624001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25269075013795840,"note":"Value kept but may cause issues"} 
[2026-10-05 18:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858860776800567296,"note":"Value kept but may cause issues"} 
[2026-10-05 18:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791206606000,"timestamp_ms":1791206606000,"timestamp_seconds":1791206606,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3bc4b0"} 
[2026-10-05 18:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-10-05 18:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":206328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":206328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":206328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548890624001,"66":13276,"121":206,"28":31744,"24":17,"16":25269075013795840,"45":1858860776800567296},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548890624001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:54:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:54:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25269075013795840,"km_value":25269075013795.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858860776800567296,"description":"Unknown IO ID 45"} 
[2026-10-05 18:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548890624001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1858860776800567296}} 
[2026-10-05 18:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":206328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:54:47] local.INFO: GPS data processed {"connection_id":206328,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:54:47] local.INFO: Acknowledgment sent {"connection_id":206328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:54:54] local.INFO: TCP Data received {"connection_id":204797,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:54:54] local.INFO: Processing buffer {"connection_id":204797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:54:54] local.INFO: IMEI packet received {"connection_id":204797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":204797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:54:59] local.INFO: TCP Data received {"connection_id":204797,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:54:59] local.INFO: Processing buffer {"connection_id":204797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:54:59] local.INFO: IMEI packet received {"connection_id":204797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":204797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:55:00] local.INFO: TCP Data received {"connection_id":204797,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:55:00] local.INFO: Processing buffer {"connection_id":204797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:55:00] local.INFO: Packet analysis {"connection_id":204797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:55:00] local.INFO: Extracted packet for processing {"connection_id":204797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:55:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548777216001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791206462000,"timestamp_ms":1791206462000,"timestamp_seconds":1791206462,"priority":1,"record_length":96,"hex_timestamp":"000001a10c399230"} 
[2026-10-05 18:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":97,"data_length":795,"current_offset":136} 
[2026-10-05 18:55: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-10-05 18: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-10-05 18:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:55:00] 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-10-05 18:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548777216001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548777216001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:55:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:55:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548777216001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":204797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:55:00] local.INFO: GPS data processed {"connection_id":204797,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:55:00] local.INFO: Acknowledgment sent {"connection_id":204797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:55:04] local.INFO: TCP Data received {"connection_id":206329,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:55:04] local.INFO: Processing buffer {"connection_id":206329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:55:04] local.INFO: IMEI packet received {"connection_id":206329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":206329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:55:05] local.INFO: TCP Data received {"connection_id":206329,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:55:05] local.INFO: Processing buffer {"connection_id":206329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:55:05] local.INFO: IMEI packet received {"connection_id":206329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":206329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:55:09] local.INFO: TCP Data received {"connection_id":204796,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:55:09] local.INFO: Processing buffer {"connection_id":204796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:55:09] local.INFO: Packet analysis {"connection_id":204796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:55:09] local.INFO: Extracted packet for processing {"connection_id":204796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:55:09] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 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-10-05 18:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548782336001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791206482000,"timestamp_ms":1791206482000,"timestamp_seconds":1791206482,"priority":1,"record_length":96,"hex_timestamp":"000001a10c39e050"} 
[2026-10-05 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-10-05 18:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-05 18:55:09] 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-10-05 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-10-05 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-10-05 18:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548782336001,"66":13048,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548782336001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:55:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:55:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548782336001,"power":13048,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":204796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:55:09] local.INFO: GPS data processed {"connection_id":204796,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:55:09] local.INFO: Acknowledgment sent {"connection_id":204796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:55:09] local.INFO: TCP Data received {"connection_id":206329,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:55:09] local.INFO: Processing buffer {"connection_id":206329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:55:09] local.INFO: IMEI packet received {"connection_id":206329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":206329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:55:22] local.INFO: TCP Data received {"connection_id":206329,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3c7478012d19b6400720abb00034012b2c..."} 
[2026-10-05 18:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3c7478012d19b6400720abb00034012b2c..."} 
[2026-10-05 18:55:22] local.INFO: Processing buffer {"connection_id":206329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3c7478012d19b6400720abb00034012b2c..."} 
[2026-10-05 18:55:22] local.INFO: Packet analysis {"connection_id":206329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3c"} 
[2026-10-05 18:55:22] local.INFO: Extracted packet for processing {"connection_id":206329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3c"} 
[2026-10-05 18:55:22] local.INFO: GPS Element Parsed {"raw_longitude":756659776,"raw_latitude":119581616,"longitude_deg":75.6659776,"latitude_deg":11.9581616,"altitude":52,"angle":299,"satellites":44,"speed":23,"hex_longitude":"2d19b640","hex_latitude":"0720abb0","is_valid_coordinates":true} 
[2026-10-05 18:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548902400001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25270981979275264,"note":"Value kept but may cause issues"} 
[2026-10-05 18:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853442383508303872,"note":"Value kept but may cause issues"} 
[2026-10-05 18:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791206651000,"timestamp_ms":1791206651000,"timestamp_seconds":1791206651,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3c7478"} 
[2026-10-05 18:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:55: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-10-05 18:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 18:55:22] 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-10-05 18:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":206329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":206329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":206329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548902400001,"66":12461,"121":206,"28":31744,"24":23,"16":25270981979275264,"45":1853442383508303872},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548902400001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:55:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:55:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25270981979275264,"km_value":25270981979275.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853442383508303872,"description":"Unknown IO ID 45"} 
[2026-10-05 18:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548902400001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1853442383508303872}} 
[2026-10-05 18:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":206329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:55:22] local.INFO: GPS data processed {"connection_id":206329,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:55:22] local.INFO: Acknowledgment sent {"connection_id":206329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:55:31] local.INFO: TCP Data received {"connection_id":204797,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:55:31] local.INFO: Processing buffer {"connection_id":204797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:55:31] local.INFO: Packet analysis {"connection_id":204797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:55:31] local.INFO: Extracted packet for processing {"connection_id":204797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:55:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548777216001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791206462000,"timestamp_ms":1791206462000,"timestamp_seconds":1791206462,"priority":1,"record_length":96,"hex_timestamp":"000001a10c399230"} 
[2026-10-05 18:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 18:55:31] 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-10-05 18: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-10-05 18:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:55:31] 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-10-05 18:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548777216001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548777216001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:55:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:55:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548777216001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":204797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:55:31] local.INFO: GPS data processed {"connection_id":204797,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:55:31] local.INFO: Acknowledgment sent {"connection_id":204797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:55:35] local.INFO: TCP Data received {"connection_id":207886,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:55:35] local.INFO: Processing buffer {"connection_id":207886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:55:35] local.INFO: IMEI packet received {"connection_id":207886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":207886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:55:41] local.INFO: TCP Data received {"connection_id":207886,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:55:41] local.INFO: Processing buffer {"connection_id":207886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:55:41] local.INFO: IMEI packet received {"connection_id":207886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":207886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:55:45] local.INFO: TCP Data received {"connection_id":207886,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:55:45] local.INFO: Processing buffer {"connection_id":207886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:55:45] local.INFO: Packet analysis {"connection_id":207886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:55:45] local.INFO: Extracted packet for processing {"connection_id":207886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:55:45] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548782336001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791206482000,"timestamp_ms":1791206482000,"timestamp_seconds":1791206482,"priority":1,"record_length":96,"hex_timestamp":"000001a10c39e050"} 
[2026-10-05 18:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-05 18:55:45] 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-10-05 18:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":207886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":207886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":207886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548782336001,"66":13048,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548782336001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:55:45] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:55:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548782336001,"power":13048,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":207886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:55:45] local.INFO: GPS data processed {"connection_id":207886,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:55:45] local.INFO: Acknowledgment sent {"connection_id":207886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:55:50] local.INFO: TCP Data received {"connection_id":207886,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:55:50] local.INFO: Processing buffer {"connection_id":207886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c39e050012d7a1a0005e46910000b012130..."} 
[2026-10-05 18:55:50] local.INFO: Packet analysis {"connection_id":207886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:55:50] local.INFO: Extracted packet for processing {"connection_id":207886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:55:50] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:55: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-10-05 18:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548782336001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1791206482000,"timestamp_ms":1791206482000,"timestamp_seconds":1791206482,"priority":1,"record_length":96,"hex_timestamp":"000001a10c39e050"} 
[2026-10-05 18:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:55: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":46,"data_length":795,"current_offset":136} 
[2026-10-05 18:55:50] 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-10-05 18:55: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-10-05 18:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":207886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":207886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":207886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548782336001,"66":13048,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548782336001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:55:50] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:55:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548782336001,"power":13048,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":207886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:55:50] local.INFO: GPS data processed {"connection_id":207886,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:55:50] local.INFO: Acknowledgment sent {"connection_id":207886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:55:54] local.INFO: TCP Data received {"connection_id":207887,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:55:54] local.INFO: Processing buffer {"connection_id":207887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:55:54] local.INFO: IMEI packet received {"connection_id":207887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":207887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:56:00] local.INFO: TCP Data received {"connection_id":207887,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:56:00] local.INFO: Processing buffer {"connection_id":207887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:56:00] local.INFO: IMEI packet received {"connection_id":207887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":207887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:56:01] local.INFO: TCP Data received {"connection_id":207887,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:56:01] local.INFO: Processing buffer {"connection_id":207887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:56:01] local.INFO: Packet analysis {"connection_id":207887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:56:01] local.INFO: Extracted packet for processing {"connection_id":207887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:56:01] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548777216001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791206462000,"timestamp_ms":1791206462000,"timestamp_seconds":1791206462,"priority":1,"record_length":96,"hex_timestamp":"000001a10c399230"} 
[2026-10-05 18:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":97,"data_length":795,"current_offset":136} 
[2026-10-05 18:56:01] 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-10-05 18: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-10-05 18:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548777216001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548777216001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:56:01] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:56:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548777216001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":207887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:56:01] local.INFO: GPS data processed {"connection_id":207887,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:56:01] local.INFO: Acknowledgment sent {"connection_id":207887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:56:18] local.INFO: TCP Data received {"connection_id":206330,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:56:18] local.INFO: Processing buffer {"connection_id":206330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:56:18] local.INFO: IMEI packet received {"connection_id":206330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":206330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:56:25] local.INFO: TCP Data received {"connection_id":206330,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:56:25] local.INFO: Processing buffer {"connection_id":206330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:56:25] local.INFO: IMEI packet received {"connection_id":206330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":206330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:56:27] local.INFO: TCP Data received {"connection_id":206330,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3d66a8012d18ee400720df80003501462a..."} 
[2026-10-05 18:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3d66a8012d18ee400720df80003501462a..."} 
[2026-10-05 18:56:27] local.INFO: Processing buffer {"connection_id":206330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3d66a8012d18ee400720df80003501462a..."} 
[2026-10-05 18:56:27] local.INFO: Packet analysis {"connection_id":206330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3d"} 
[2026-10-05 18:56:27] local.INFO: Extracted packet for processing {"connection_id":206330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3d"} 
[2026-10-05 18:56:27] local.INFO: GPS Element Parsed {"raw_longitude":756608576,"raw_latitude":119594880,"longitude_deg":75.6608576,"latitude_deg":11.959488,"altitude":53,"angle":326,"satellites":42,"speed":38,"hex_longitude":"2d18ee40","hex_latitude":"0720df80","is_valid_coordinates":true} 
[2026-10-05 18:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548918016001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25273623384162304,"note":"Value kept but may cause issues"} 
[2026-10-05 18:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797780706866872320,"note":"Value kept but may cause issues"} 
[2026-10-05 18:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1791206713000,"timestamp_ms":1791206713000,"timestamp_seconds":1791206713,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3d66a8"} 
[2026-10-05 18:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:56: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-10-05 18:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-10-05 18:56:27] 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-10-05 18:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":206330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":206330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":206330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548918016001,"66":13472,"121":206,"28":31744,"24":38,"16":25273623384162304,"45":1797780706866872320},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548918016001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:56:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:56:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25273623384162304,"km_value":25273623384162.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797780706866872320,"description":"Unknown IO ID 45"} 
[2026-10-05 18:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548918016001,"power":13472,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1797780706866872320}} 
[2026-10-05 18:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":206330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:56:27] local.INFO: GPS data processed {"connection_id":206330,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:56:27] local.INFO: Acknowledgment sent {"connection_id":206330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:56:28] local.INFO: TCP Data received {"connection_id":206330,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3d85e8012d18dec00720f7700038013a2c..."} 
[2026-10-05 18:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3d85e8012d18dec00720f7700038013a2c..."} 
[2026-10-05 18:56:28] local.INFO: Processing buffer {"connection_id":206330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3d85e8012d18dec00720f7700038013a2c..."} 
[2026-10-05 18:56:28] local.INFO: Packet analysis {"connection_id":206330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3d"} 
[2026-10-05 18:56:28] local.INFO: Extracted packet for processing {"connection_id":206330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3d"} 
[2026-10-05 18:56:28] local.INFO: GPS Element Parsed {"raw_longitude":756604608,"raw_latitude":119601008,"longitude_deg":75.6604608,"latitude_deg":11.9601008,"altitude":56,"angle":314,"satellites":44,"speed":35,"hex_longitude":"2d18dec0","hex_latitude":"0720f770","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548918528001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25273975571480576,"note":"Value kept but may cause issues"} 
[2026-10-05 18:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796443700727873536,"note":"Value kept but may cause issues"} 
[2026-10-05 18:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1791206721000,"timestamp_ms":1791206721000,"timestamp_seconds":1791206721,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3d85e8"} 
[2026-10-05 18:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:56: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-10-05 18: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-10-05 18:56:28] 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-10-05 18: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-10-05 18:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":206330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":206330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":206330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548918528001,"66":13439,"121":206,"28":31744,"24":35,"16":25273975571480576,"45":1796443700727873536},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548918528001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:56:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:56:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25273975571480576,"km_value":25273975571480.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796443700727873536,"description":"Unknown IO ID 45"} 
[2026-10-05 18:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548918528001,"power":13439,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1796443700727873536}} 
[2026-10-05 18:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":206330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:56:28] local.INFO: GPS data processed {"connection_id":206330,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:56:28] local.INFO: Acknowledgment sent {"connection_id":206330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:56:30] local.INFO: TCP Data received {"connection_id":204798,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:56:30] local.INFO: Processing buffer {"connection_id":204798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:56:30] local.INFO: IMEI packet received {"connection_id":204798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":204798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:56:32] local.INFO: TCP Data received {"connection_id":207887,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:56:32] local.INFO: Processing buffer {"connection_id":207887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c399230012d7ee58006003208000b00d72f..."} 
[2026-10-05 18:56:32] local.INFO: Packet analysis {"connection_id":207887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:56:32] local.INFO: Extracted packet for processing {"connection_id":207887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c39"} 
[2026-10-05 18:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548777216001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791206462000,"timestamp_ms":1791206462000,"timestamp_seconds":1791206462,"priority":1,"record_length":96,"hex_timestamp":"000001a10c399230"} 
[2026-10-05 18:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 18:56:32] 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-10-05 18:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:56:32] 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-10-05 18:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548777216001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548777216001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:56:32] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:56:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548777216001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":207887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:56:32] local.INFO: GPS data processed {"connection_id":207887,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:56:32] local.INFO: Acknowledgment sent {"connection_id":207887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:56:36] local.INFO: TCP Data received {"connection_id":204798,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:56:36] local.INFO: Processing buffer {"connection_id":204798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:56:36] local.INFO: IMEI packet received {"connection_id":204798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":204798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:56:37] local.INFO: TCP Data received {"connection_id":204798,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:56:37] local.INFO: Processing buffer {"connection_id":204798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:56:37] local.INFO: Packet analysis {"connection_id":204798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:56:37] local.INFO: Extracted packet for processing {"connection_id":204798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:56:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548859392001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791206783000,"timestamp_ms":1791206783000,"timestamp_seconds":1791206783,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3e7818"} 
[2026-10-05 18:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 18:56: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-10-05 18:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548859392001,"66":12961,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548859392001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:56:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:56:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548859392001,"power":12961,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":204798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:56:37] local.INFO: GPS data processed {"connection_id":204798,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:56:37] local.INFO: Acknowledgment sent {"connection_id":204798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:56:54] local.INFO: TCP Data received {"connection_id":204943,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:56:54] local.INFO: Processing buffer {"connection_id":204943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:56:54] local.INFO: IMEI packet received {"connection_id":204943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":204943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:56:59] local.INFO: TCP Data received {"connection_id":204943,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:56:59] local.INFO: Processing buffer {"connection_id":204943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:56:59] local.INFO: IMEI packet received {"connection_id":204943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":204943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:57:00] local.INFO: TCP Data received {"connection_id":204943,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:57:00] local.INFO: Processing buffer {"connection_id":204943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:57:00] local.INFO: Packet analysis {"connection_id":204943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:57:00] local.INFO: Extracted packet for processing {"connection_id":204943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:57:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548854272001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791206763000,"timestamp_ms":1791206763000,"timestamp_seconds":1791206763,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3e29f8"} 
[2026-10-05 18:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":53,"data_length":795,"current_offset":136} 
[2026-10-05 18:57: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-10-05 18: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-10-05 18:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:57:00] 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-10-05 18:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548854272001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548854272001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:57:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:57:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548854272001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":204943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:57:00] local.INFO: GPS data processed {"connection_id":204943,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:57:00] local.INFO: Acknowledgment sent {"connection_id":204943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:57:03] local.INFO: TCP Data received {"connection_id":206331,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:57:03] local.INFO: Processing buffer {"connection_id":206331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:57:03] local.INFO: IMEI packet received {"connection_id":206331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":206331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:57:04] local.INFO: TCP Data received {"connection_id":206331,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:57:04] local.INFO: Processing buffer {"connection_id":206331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:57:04] local.INFO: IMEI packet received {"connection_id":206331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":206331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:57:09] local.INFO: TCP Data received {"connection_id":204798,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:57:09] local.INFO: Processing buffer {"connection_id":204798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:57:09] local.INFO: Packet analysis {"connection_id":204798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:57:09] local.INFO: Extracted packet for processing {"connection_id":204798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:57:09] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548859392001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791206783000,"timestamp_ms":1791206783000,"timestamp_seconds":1791206783,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3e7818"} 
[2026-10-05 18:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 18:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18: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-10-05 18:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548859392001,"66":12961,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548859392001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:57:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:57:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548859392001,"power":12961,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":204798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:57:09] local.INFO: GPS data processed {"connection_id":204798,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:57:09] local.INFO: Acknowledgment sent {"connection_id":204798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:57:10] local.INFO: TCP Data received {"connection_id":206331,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:57:10] local.INFO: Processing buffer {"connection_id":206331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:57:10] local.INFO: IMEI packet received {"connection_id":206331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":206331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:57:12] local.INFO: TCP Data received {"connection_id":206331,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3d9588012d18d640072100f0003901472b..."} 
[2026-10-05 18:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3d9588012d18d640072100f0003901472b..."} 
[2026-10-05 18:57:12] local.INFO: Processing buffer {"connection_id":206331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3d9588012d18d640072100f0003901472b..."} 
[2026-10-05 18:57:12] local.INFO: Packet analysis {"connection_id":206331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3d"} 
[2026-10-05 18:57:12] local.INFO: Extracted packet for processing {"connection_id":206331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3d"} 
[2026-10-05 18:57:12] local.INFO: GPS Element Parsed {"raw_longitude":756602432,"raw_latitude":119603440,"longitude_deg":75.6602432,"latitude_deg":11.960344,"altitude":57,"angle":327,"satellites":43,"speed":26,"hex_longitude":"2d18d640","hex_latitude":"072100f0","is_valid_coordinates":true} 
[2026-10-05 18:57: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-10-05 18:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548920576001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25274134485270528,"note":"Value kept but may cause issues"} 
[2026-10-05 18:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792080838590427136,"note":"Value kept but may cause issues"} 
[2026-10-05 18:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791206725000,"timestamp_ms":1791206725000,"timestamp_seconds":1791206725,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3d9588"} 
[2026-10-05 18:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:57: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":127,"data_length":795,"current_offset":136} 
[2026-10-05 18:57:12] 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-10-05 18:57: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-10-05 18:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":206331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":206331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":206331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548920576001,"66":13472,"121":206,"28":31744,"24":26,"16":25274134485270528,"45":1792080838590427136},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548920576001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:57:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:57:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25274134485270528,"km_value":25274134485270.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792080838590427136,"description":"Unknown IO ID 45"} 
[2026-10-05 18:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548920576001,"power":13472,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1792080838590427136}} 
[2026-10-05 18:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":206331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:57:12] local.INFO: GPS data processed {"connection_id":206331,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:57:12] local.INFO: Acknowledgment sent {"connection_id":206331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:57:31] local.INFO: TCP Data received {"connection_id":206332,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206332,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:57:31] local.INFO: Processing buffer {"connection_id":206332,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:57:31] local.INFO: IMEI packet received {"connection_id":206332,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":206332,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:57:31] local.INFO: TCP Data received {"connection_id":204943,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:57:31] local.INFO: Processing buffer {"connection_id":204943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:57:31] local.INFO: Packet analysis {"connection_id":204943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:57:31] local.INFO: Extracted packet for processing {"connection_id":204943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:57:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548854272001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791206763000,"timestamp_ms":1791206763000,"timestamp_seconds":1791206763,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3e29f8"} 
[2026-10-05 18:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 18:57:31] 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-10-05 18: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-10-05 18:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:57:31] 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-10-05 18:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548854272001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548854272001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:57:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:57:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548854272001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":204943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:57:31] local.INFO: GPS data processed {"connection_id":204943,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:57:31] local.INFO: Acknowledgment sent {"connection_id":204943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:57:35] local.INFO: TCP Data received {"connection_id":206332,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206332,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:57:35] local.INFO: Processing buffer {"connection_id":206332,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:57:35] local.INFO: IMEI packet received {"connection_id":206332,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":206332,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:57:39] local.INFO: TCP Data received {"connection_id":206332,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:57:39] local.INFO: Processing buffer {"connection_id":206332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:57:39] local.INFO: Packet analysis {"connection_id":206332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:57:39] local.INFO: Extracted packet for processing {"connection_id":206332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:57:39] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 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-10-05 18:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548859392001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791206783000,"timestamp_ms":1791206783000,"timestamp_seconds":1791206783,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3e7818"} 
[2026-10-05 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-10-05 18:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 18:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 18:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":206332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":206332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":206332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548859392001,"66":12961,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548859392001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:57:39] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:57:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548859392001,"power":12961,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":206332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:57:39] local.INFO: GPS data processed {"connection_id":206332,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:57:39] local.INFO: Acknowledgment sent {"connection_id":206332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:57:45] local.INFO: TCP Data received {"connection_id":206331,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3f04b8012d18370007219538004e011627..."} 
[2026-10-05 18:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3f04b8012d18370007219538004e011627..."} 
[2026-10-05 18:57:45] local.INFO: Processing buffer {"connection_id":206331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3f04b8012d18370007219538004e011627..."} 
[2026-10-05 18:57:45] local.INFO: Packet analysis {"connection_id":206331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3f"} 
[2026-10-05 18:57:45] local.INFO: Extracted packet for processing {"connection_id":206331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3f"} 
[2026-10-05 18:57:45] local.INFO: GPS Element Parsed {"raw_longitude":756561664,"raw_latitude":119641400,"longitude_deg":75.6561664,"latitude_deg":11.96414,"altitude":78,"angle":278,"satellites":39,"speed":10,"hex_longitude":"2d183700","hex_latitude":"07219538","is_valid_coordinates":true} 
[2026-10-05 18:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548944640001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25277188207017984,"note":"Value kept but may cause issues"} 
[2026-10-05 18:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746200417396817920,"note":"Value kept but may cause issues"} 
[2026-10-05 18:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791206819000,"timestamp_ms":1791206819000,"timestamp_seconds":1791206819,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3f04b8"} 
[2026-10-05 18:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 18:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":206331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":206331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":206331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548944640001,"66":12841,"121":206,"28":31744,"24":10,"16":25277188207017984,"45":1746200417396817920},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548944640001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:57:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:57:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25277188207017984,"km_value":25277188207017.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746200417396817920,"description":"Unknown IO ID 45"} 
[2026-10-05 18:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548944640001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1746200417396817920}} 
[2026-10-05 18:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":206331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:57:45] local.INFO: GPS data processed {"connection_id":206331,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:57:45] local.INFO: Acknowledgment sent {"connection_id":206331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:57:49] local.INFO: TCP Data received {"connection_id":206333,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:57:49] local.INFO: Processing buffer {"connection_id":206333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:57:49] local.INFO: IMEI packet received {"connection_id":206333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 18:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":206333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:57:54] local.INFO: TCP Data received {"connection_id":206334,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:57:54] local.INFO: Processing buffer {"connection_id":206334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:57:54] local.INFO: IMEI packet received {"connection_id":206334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":206334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:57:59] local.INFO: TCP Data received {"connection_id":206334,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:57:59] local.INFO: Processing buffer {"connection_id":206334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:57:59] local.INFO: IMEI packet received {"connection_id":206334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":206334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:58:00] local.INFO: TCP Data received {"connection_id":206334,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:58:00] local.INFO: Processing buffer {"connection_id":206334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:58:00] local.INFO: Packet analysis {"connection_id":206334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:58:00] local.INFO: Extracted packet for processing {"connection_id":206334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:58:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548854272001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791206763000,"timestamp_ms":1791206763000,"timestamp_seconds":1791206763,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3e29f8"} 
[2026-10-05 18:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 18:58: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-10-05 18: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-10-05 18:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:58:00] 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-10-05 18:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548854272001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548854272001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:58:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:58:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548854272001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":206334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:58:00] local.INFO: GPS data processed {"connection_id":206334,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:58:00] local.INFO: Acknowledgment sent {"connection_id":206334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:58:01] local.INFO: TCP Data received {"connection_id":204799,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:58:01] local.INFO: Processing buffer {"connection_id":204799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:58:01] local.INFO: IMEI packet received {"connection_id":204799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":204799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:58:04] local.INFO: TCP Data received {"connection_id":204799,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:58:04] local.INFO: Processing buffer {"connection_id":204799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:58:04] local.INFO: IMEI packet received {"connection_id":204799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":204799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:58:10] local.INFO: TCP Data received {"connection_id":204799,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:58:10] local.INFO: Processing buffer {"connection_id":204799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:58:10] local.INFO: IMEI packet received {"connection_id":204799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":204799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:58:11] local.INFO: TCP Data received {"connection_id":206332,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:58:11] local.INFO: Processing buffer {"connection_id":206332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:58:11] local.INFO: Packet analysis {"connection_id":206332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:58:11] local.INFO: Extracted packet for processing {"connection_id":206332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:58:11] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548859392001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791206783000,"timestamp_ms":1791206783000,"timestamp_seconds":1791206783,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3e7818"} 
[2026-10-05 18:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 18:58:11] 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-10-05 18:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:58: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-10-05 18:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548859392001,"66":12961,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548859392001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:58:11] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:58:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548859392001,"power":12961,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:58:11] local.INFO: TCP Data received {"connection_id":204799,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3f0c88012d18354007219590004e012629..."} 
[2026-10-05 18:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3f0c88012d18354007219590004e012629..."} 
[2026-10-05 18:58:11] local.INFO: Processing buffer {"connection_id":204799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3f0c88012d18354007219590004e012629..."} 
[2026-10-05 18:58:11] local.INFO: Packet analysis {"connection_id":204799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3f"} 
[2026-10-05 18:58:11] local.INFO: Extracted packet for processing {"connection_id":204799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3f"} 
[2026-10-05 18:58:11] local.INFO: GPS Element Parsed {"raw_longitude":756561216,"raw_latitude":119641488,"longitude_deg":75.6561216,"latitude_deg":11.9641488,"altitude":78,"angle":294,"satellites":41,"speed":10,"hex_longitude":"2d183540","hex_latitude":"07219590","is_valid_coordinates":true} 
[2026-10-05 18:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548945664001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25277209681854464,"note":"Value kept but may cause issues"} 
[2026-10-05 18:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744863411257554944,"note":"Value kept but may cause issues"} 
[2026-10-05 18:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791206821000,"timestamp_ms":1791206821000,"timestamp_seconds":1791206821,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3f0c88"} 
[2026-10-05 18:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:58: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-10-05 18:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 18:58:11] 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-10-05 18:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548945664001,"66":12972,"121":206,"28":31744,"24":10,"16":25277209681854464,"45":1744863411257554944},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548945664001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:58:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:58:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25277209681854464,"km_value":25277209681854.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744863411257554944,"description":"Unknown IO ID 45"} 
[2026-10-05 18:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548945664001,"power":12972,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1744863411257554944}} 
[2026-10-05 18:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":206332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:58:11] local.INFO: GPS data processed {"connection_id":206332,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:58:11] local.INFO: Acknowledgment sent {"connection_id":206332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":204799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:58:11] local.INFO: GPS data processed {"connection_id":204799,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:58:11] local.INFO: Acknowledgment sent {"connection_id":204799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:58:30] local.INFO: TCP Data received {"connection_id":204800,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:58:30] local.INFO: Processing buffer {"connection_id":204800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:58:30] local.INFO: IMEI packet received {"connection_id":204800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":204800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:58:31] local.INFO: TCP Data received {"connection_id":206334,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:58:31] local.INFO: Processing buffer {"connection_id":206334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:58:31] local.INFO: Packet analysis {"connection_id":206334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:58:31] local.INFO: Extracted packet for processing {"connection_id":206334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:58:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548854272001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791206763000,"timestamp_ms":1791206763000,"timestamp_seconds":1791206763,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3e29f8"} 
[2026-10-05 18:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 18:58:31] 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-10-05 18: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-10-05 18:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:58:31] 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-10-05 18:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548854272001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548854272001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:58:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:58:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548854272001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":206334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:58:31] local.INFO: GPS data processed {"connection_id":206334,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:58:31] local.INFO: Acknowledgment sent {"connection_id":206334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:58:36] local.INFO: TCP Data received {"connection_id":204800,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:58:36] local.INFO: Processing buffer {"connection_id":204800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:58:36] local.INFO: IMEI packet received {"connection_id":204800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":204800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:58:37] local.INFO: TCP Data received {"connection_id":204800,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:58:37] local.INFO: Processing buffer {"connection_id":204800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:58:37] local.INFO: Packet analysis {"connection_id":204800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:58:37] local.INFO: Extracted packet for processing {"connection_id":204800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:58:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 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-10-05 18:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548859392001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791206783000,"timestamp_ms":1791206783000,"timestamp_seconds":1791206783,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3e7818"} 
[2026-10-05 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-10-05 18:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 18:58: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-10-05 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-10-05 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-10-05 18:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548859392001,"66":12961,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548859392001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:58:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:58:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548859392001,"power":12961,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":204800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:58:37] local.INFO: GPS data processed {"connection_id":204800,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:58:37] local.INFO: Acknowledgment sent {"connection_id":204800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:58:39] local.INFO: TCP Data received {"connection_id":207888,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:58:39] local.INFO: Processing buffer {"connection_id":207888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 18:58:39] local.INFO: IMEI packet received {"connection_id":207888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 18:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":207888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:58:44] local.INFO: TCP Data received {"connection_id":204799,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3f1070012d18344007219610004d013128..."} 
[2026-10-05 18:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3f1070012d18344007219610004d013128..."} 
[2026-10-05 18:58:44] local.INFO: Processing buffer {"connection_id":204799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3f1070012d18344007219610004d013128..."} 
[2026-10-05 18:58:44] local.INFO: Packet analysis {"connection_id":204799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3f"} 
[2026-10-05 18:58:44] local.INFO: Extracted packet for processing {"connection_id":204799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3f"} 
[2026-10-05 18:58:44] local.INFO: GPS Element Parsed {"raw_longitude":756560960,"raw_latitude":119641616,"longitude_deg":75.656096,"latitude_deg":11.9641616,"altitude":77,"angle":305,"satellites":40,"speed":11,"hex_longitude":"2d183440","hex_latitude":"07219610","is_valid_coordinates":true} 
[2026-10-05 18:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548946176001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25277222566756352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744370830048333824,"note":"Value kept but may cause issues"} 
[2026-10-05 18:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791206822000,"timestamp_ms":1791206822000,"timestamp_seconds":1791206822,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3f1070"} 
[2026-10-05 18:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 18:58:44] 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-10-05 18:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":204799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":204799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":204799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548946176001,"66":12972,"121":206,"28":31744,"24":11,"16":25277222566756352,"45":1744370830048333824},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 18:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548946176001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:58:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 18:58:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25277222566756352,"km_value":25277222566756.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744370830048333824,"description":"Unknown IO ID 45"} 
[2026-10-05 18:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548946176001,"power":12972,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1744370830048333824}} 
[2026-10-05 18:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":204799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:58:44] local.INFO: GPS data processed {"connection_id":204799,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:58:44] local.INFO: Acknowledgment sent {"connection_id":204799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:58:54] local.INFO: TCP Data received {"connection_id":207889,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:58:54] local.INFO: Processing buffer {"connection_id":207889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:58:54] local.INFO: IMEI packet received {"connection_id":207889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":207889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:58:59] local.INFO: TCP Data received {"connection_id":207889,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:58:59] local.INFO: Processing buffer {"connection_id":207889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:58:59] local.INFO: IMEI packet received {"connection_id":207889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":207889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:59:00] local.INFO: TCP Data received {"connection_id":207889,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:59:00] local.INFO: Processing buffer {"connection_id":207889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:59:00] local.INFO: Packet analysis {"connection_id":207889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:59:00] local.INFO: Extracted packet for processing {"connection_id":207889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:59:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548854272001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791206763000,"timestamp_ms":1791206763000,"timestamp_seconds":1791206763,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3e29f8"} 
[2026-10-05 18:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 18:59: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-10-05 18: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-10-05 18:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548854272001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548854272001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:59:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:59:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548854272001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":207889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:59:00] local.INFO: GPS data processed {"connection_id":207889,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:59:00] local.INFO: Acknowledgment sent {"connection_id":207889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:59:04] local.INFO: TCP Data received {"connection_id":206335,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:59:04] local.INFO: Processing buffer {"connection_id":206335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:59:04] local.INFO: IMEI packet received {"connection_id":206335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 18:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":206335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:59:05] local.INFO: TCP Data received {"connection_id":206335,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:59:05] local.INFO: Processing buffer {"connection_id":206335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:59:05] local.INFO: IMEI packet received {"connection_id":206335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":206335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:59:09] local.INFO: TCP Data received {"connection_id":204800,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:59:09] local.INFO: Processing buffer {"connection_id":204800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:59:09] local.INFO: Packet analysis {"connection_id":204800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:59:09] local.INFO: Extracted packet for processing {"connection_id":204800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:59:09] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548859392001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791206783000,"timestamp_ms":1791206783000,"timestamp_seconds":1791206783,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3e7818"} 
[2026-10-05 18:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 18:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 18:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548859392001,"66":12961,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548859392001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:59:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:59:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548859392001,"power":12961,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":204800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:59:09] local.INFO: GPS data processed {"connection_id":204800,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:59:09] local.INFO: Acknowledgment sent {"connection_id":204800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:59:10] local.INFO: TCP Data received {"connection_id":206335,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:59:10] local.INFO: Processing buffer {"connection_id":206335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 18:59:10] local.INFO: IMEI packet received {"connection_id":206335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 18:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":206335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:59:12] local.INFO: TCP Data received {"connection_id":206335,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3f6278012d1829c007219bc8004d012728..."} 
[2026-10-05 18:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3f6278012d1829c007219bc8004d012728..."} 
[2026-10-05 18:59:12] local.INFO: Processing buffer {"connection_id":206335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3f6278012d1829c007219bc8004d012728..."} 
[2026-10-05 18:59:12] local.INFO: Packet analysis {"connection_id":206335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3f"} 
[2026-10-05 18:59:12] local.INFO: Extracted packet for processing {"connection_id":206335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3f"} 
[2026-10-05 18:59:12] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643080,"longitude_deg":75.6558272,"latitude_deg":11.964308,"altitude":77,"angle":295,"satellites":40,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219bc8","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548946432001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25277372890611712,"note":"Value kept but may cause issues"} 
[2026-10-05 18:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744089355071655936,"note":"Value kept but may cause issues"} 
[2026-10-05 18:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791206843000,"timestamp_ms":1791206843000,"timestamp_seconds":1791206843,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3f6278"} 
[2026-10-05 18:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 18:59:12] 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-10-05 18: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-10-05 18:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":206335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":206335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":206335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548946432001,"66":12841,"120":206,"28":31744,"24":0,"16":25277372890611712,"45":1744089355071655936},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 18:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548946432001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:59:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 18:59:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25277372890611712,"km_value":25277372890611.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744089355071655936,"description":"Unknown IO ID 45"} 
[2026-10-05 18:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548946432001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1744089355071655936}} 
[2026-10-05 18:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":206335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:59:12] local.INFO: GPS data processed {"connection_id":206335,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:59:12] local.INFO: Acknowledgment sent {"connection_id":206335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:59:31] local.INFO: TCP Data received {"connection_id":207889,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:59:31] local.INFO: Processing buffer {"connection_id":207889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 18:59:31] local.INFO: Packet analysis {"connection_id":207889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:59:31] local.INFO: Extracted packet for processing {"connection_id":207889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:59:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 18: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-10-05 18:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548854272001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 18:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 18:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791206763000,"timestamp_ms":1791206763000,"timestamp_seconds":1791206763,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3e29f8"} 
[2026-10-05 18:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 18:59:31] 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-10-05 18: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-10-05 18:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 18:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 18:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 18:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548854272001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 18:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 18:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 18:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548854272001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:59:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 18:59:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 18:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 18:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548854272001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 18:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":207889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:59:31] local.INFO: GPS data processed {"connection_id":207889,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:59:31] local.INFO: Acknowledgment sent {"connection_id":207889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:59:36] local.INFO: TCP Data received {"connection_id":206337,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206337,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:59:36] local.INFO: Processing buffer {"connection_id":206337,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:59:36] local.INFO: IMEI packet received {"connection_id":206337,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 18:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":206337,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:59:40] local.INFO: TCP Data received {"connection_id":206337,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206337,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:59:40] local.INFO: Processing buffer {"connection_id":206337,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 18:59:40] local.INFO: IMEI packet received {"connection_id":206337,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 18:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":206337,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 18:59:42] local.INFO: TCP Data received {"connection_id":206337,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:59:42] local.INFO: Processing buffer {"connection_id":206337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:59:42] local.INFO: Packet analysis {"connection_id":206337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:59:42] local.INFO: Extracted packet for processing {"connection_id":206337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:59:42] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548859392001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791206783000,"timestamp_ms":1791206783000,"timestamp_seconds":1791206783,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3e7818"} 
[2026-10-05 18:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 18:59:42] 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-10-05 18:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548859392001,"66":12961,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548859392001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:59:42] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:59:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548859392001,"power":12961,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":206337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:59:42] local.INFO: GPS data processed {"connection_id":206337,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:59:42] local.INFO: Acknowledgment sent {"connection_id":206337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:59:44] local.INFO: TCP Data received {"connection_id":206335,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3fb480012d1829c007219bc8004d01272a..."} 
[2026-10-05 18:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3fb480012d1829c007219bc8004d01272a..."} 
[2026-10-05 18:59:44] local.INFO: Processing buffer {"connection_id":206335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3fb480012d1829c007219bc8004d01272a..."} 
[2026-10-05 18:59:44] local.INFO: Packet analysis {"connection_id":206335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3f"} 
[2026-10-05 18:59:44] local.INFO: Extracted packet for processing {"connection_id":206335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3f"} 
[2026-10-05 18:59:44] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643080,"longitude_deg":75.6558272,"latitude_deg":11.964308,"altitude":77,"angle":295,"satellites":42,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219bc8","is_valid_coordinates":true} 
[2026-10-05 18:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548951808001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25277372890611712,"note":"Value kept but may cause issues"} 
[2026-10-05 18:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816568832,"note":"Value kept but may cause issues"} 
[2026-10-05 18:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791206864000,"timestamp_ms":1791206864000,"timestamp_seconds":1791206864,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3fb480"} 
[2026-10-05 18:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 18:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 18:59:44] 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-10-05 18:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":206335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":206335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":206335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 18:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 18:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 18:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 18:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548951808001,"66":12798,"120":206,"28":31744,"24":0,"16":25277372890611712,"45":1741133867816568832},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 18:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 18:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 18:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548951808001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:59:44] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 18:59:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 18:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25277372890611712,"km_value":25277372890611.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816568832,"description":"Unknown IO ID 45"} 
[2026-10-05 18:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548951808001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741133867816568832}} 
[2026-10-05 18:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":206335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:59:44] local.INFO: GPS data processed {"connection_id":206335,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:59:44] local.INFO: Acknowledgment sent {"connection_id":206335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:59:48] local.INFO: TCP Data received {"connection_id":206337,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:59:48] local.INFO: Processing buffer {"connection_id":206337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 18:59:48] local.INFO: Packet analysis {"connection_id":206337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:59:48] local.INFO: Extracted packet for processing {"connection_id":206337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 18:59:48] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 18:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 18:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548859392001,"note":"Value kept but may cause issues"} 
[2026-10-05 18:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 18:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 18:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 18:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791206783000,"timestamp_ms":1791206783000,"timestamp_seconds":1791206783,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3e7818"} 
[2026-10-05 18:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 18:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 18:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 18:59:48] 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-10-05 18:59:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 18:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 18:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 18:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":206337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 18:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":206337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":206337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 18:59:48] 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-10-05 18:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 18:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 18:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548859392001,"66":12961,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 18:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 18:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 18:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548859392001,"description":"Unknown IO ID 0"} 
[2026-10-05 18:59:48] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 18:59:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 18:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 18:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 18:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548859392001,"power":12961,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 18:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":206337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 18:59:48] local.INFO: GPS data processed {"connection_id":206337,"processed":1,"errors":0,"total":1} 
[2026-10-05 18:59:48] local.INFO: Acknowledgment sent {"connection_id":206337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 18:59:54] local.INFO: TCP Data received {"connection_id":204802,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:59:54] local.INFO: Processing buffer {"connection_id":204802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:59:54] local.INFO: IMEI packet received {"connection_id":204802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 18:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":204802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 18:59:59] local.INFO: TCP Data received {"connection_id":204802,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:59:59] local.INFO: Processing buffer {"connection_id":204802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 18:59:59] local.INFO: IMEI packet received {"connection_id":204802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 18:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":204802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:00:00] local.INFO: TCP Data received {"connection_id":204802,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:00:00] local.INFO: Processing buffer {"connection_id":204802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:00:00] local.INFO: Packet analysis {"connection_id":204802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 19:00:00] local.INFO: Extracted packet for processing {"connection_id":204802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 19:00:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548854272001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791206763000,"timestamp_ms":1791206763000,"timestamp_seconds":1791206763,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3e29f8"} 
[2026-10-05 19:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:00: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-10-05 19: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-10-05 19:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:00:00] 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-10-05 19:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548854272001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548854272001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:00:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:00:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548854272001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":204802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:00:00] local.INFO: GPS data processed {"connection_id":204802,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:00:00] local.INFO: Acknowledgment sent {"connection_id":204802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:00:07] local.INFO: TCP Data received {"connection_id":204944,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:00:07] local.INFO: Processing buffer {"connection_id":204944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:00:07] local.INFO: IMEI packet received {"connection_id":204944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":204944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:00:09] local.INFO: TCP Data received {"connection_id":204944,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:00:09] local.INFO: Processing buffer {"connection_id":204944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:00:09] local.INFO: IMEI packet received {"connection_id":204944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":204944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:00:15] local.INFO: TCP Data received {"connection_id":204944,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:00:15] local.INFO: Processing buffer {"connection_id":204944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:00:15] local.INFO: IMEI packet received {"connection_id":204944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":204944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:00:16] local.INFO: TCP Data received {"connection_id":204944,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c400688012d1829c007219bc8004d01272c..."} 
[2026-10-05 19:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c400688012d1829c007219bc8004d01272c..."} 
[2026-10-05 19:00:16] local.INFO: Processing buffer {"connection_id":204944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c400688012d1829c007219bc8004d01272c..."} 
[2026-10-05 19:00:16] local.INFO: Packet analysis {"connection_id":204944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c40"} 
[2026-10-05 19:00:16] local.INFO: Extracted packet for processing {"connection_id":204944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c40"} 
[2026-10-05 19:00:16] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643080,"longitude_deg":75.6558272,"latitude_deg":11.964308,"altitude":77,"angle":295,"satellites":44,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219bc8","is_valid_coordinates":true} 
[2026-10-05 19:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548957184001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25277372890611712,"note":"Value kept but may cause issues"} 
[2026-10-05 19:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816568832,"note":"Value kept but may cause issues"} 
[2026-10-05 19:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791206885000,"timestamp_ms":1791206885000,"timestamp_seconds":1791206885,"priority":1,"record_length":96,"hex_timestamp":"000001a10c400688"} 
[2026-10-05 19:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:00: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-10-05 19:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 19:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548957184001,"66":12667,"120":206,"28":31744,"24":0,"16":25277372890611712,"45":1741133867816568832},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548957184001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:00:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:00:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25277372890611712,"km_value":25277372890611.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816568832,"description":"Unknown IO ID 45"} 
[2026-10-05 19:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548957184001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741133867816568832}} 
[2026-10-05 19:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":204944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:00:16] local.INFO: GPS data processed {"connection_id":204944,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:00:16] local.INFO: Acknowledgment sent {"connection_id":204944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:00:31] local.INFO: TCP Data received {"connection_id":204945,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:00:31] local.INFO: Processing buffer {"connection_id":204945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:00:31] local.INFO: IMEI packet received {"connection_id":204945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":204945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:00:31] local.INFO: TCP Data received {"connection_id":204802,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:00:31] local.INFO: Processing buffer {"connection_id":204802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:00:31] local.INFO: Packet analysis {"connection_id":204802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 19:00:31] local.INFO: Extracted packet for processing {"connection_id":204802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 19:00:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548854272001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791206763000,"timestamp_ms":1791206763000,"timestamp_seconds":1791206763,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3e29f8"} 
[2026-10-05 19:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:00:31] 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-10-05 19: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-10-05 19:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548854272001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548854272001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:00:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:00:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548854272001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":204802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:00:31] local.INFO: GPS data processed {"connection_id":204802,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:00:31] local.INFO: Acknowledgment sent {"connection_id":204802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:00:36] local.INFO: TCP Data received {"connection_id":204945,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:00:36] local.INFO: Processing buffer {"connection_id":204945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:00:36] local.INFO: IMEI packet received {"connection_id":204945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":204945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:00:37] local.INFO: TCP Data received {"connection_id":204945,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 19:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 19:00:37] local.INFO: Processing buffer {"connection_id":204945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 19:00:37] local.INFO: Packet analysis {"connection_id":204945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 19:00:37] local.INFO: Extracted packet for processing {"connection_id":204945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 19:00:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548859392001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791206783000,"timestamp_ms":1791206783000,"timestamp_seconds":1791206783,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3e7818"} 
[2026-10-05 19:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 19:00: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-10-05 19:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548859392001,"66":12961,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548859392001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:00:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:00:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548859392001,"power":12961,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":204945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969360,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:00:37] local.INFO: GPS data processed {"connection_id":204945,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:00:37] local.INFO: Acknowledgment sent {"connection_id":204945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:00:46] local.INFO: TCP Data received {"connection_id":204945,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 19:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 19:00:46] local.INFO: Processing buffer {"connection_id":204945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3e7818012d7a1a0005e46910000b01212e..."} 
[2026-10-05 19:00:46] local.INFO: Packet analysis {"connection_id":204945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 19:00:46] local.INFO: Extracted packet for processing {"connection_id":204945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 19:00:46] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548859392001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791206783000,"timestamp_ms":1791206783000,"timestamp_seconds":1791206783,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3e7818"} 
[2026-10-05 19:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 19:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548859392001,"66":12961,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548859392001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:00:46] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:00:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548859392001,"power":12961,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":204945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:00:46] local.INFO: GPS data processed {"connection_id":204945,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:00:46] local.INFO: Acknowledgment sent {"connection_id":204945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:00:47] local.INFO: TCP Data received {"connection_id":204944,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c405890012d1829c007219bc8004d01272b..."} 
[2026-10-05 19:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c405890012d1829c007219bc8004d01272b..."} 
[2026-10-05 19:00:47] local.INFO: Processing buffer {"connection_id":204944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c405890012d1829c007219bc8004d01272b..."} 
[2026-10-05 19:00:47] local.INFO: Packet analysis {"connection_id":204944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c40"} 
[2026-10-05 19:00:47] local.INFO: Extracted packet for processing {"connection_id":204944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c40"} 
[2026-10-05 19:00:47] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643080,"longitude_deg":75.6558272,"latitude_deg":11.964308,"altitude":77,"angle":295,"satellites":43,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219bc8","is_valid_coordinates":true} 
[2026-10-05 19:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548962560001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25277372890611712,"note":"Value kept but may cause issues"} 
[2026-10-05 19:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816568832,"note":"Value kept but may cause issues"} 
[2026-10-05 19:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791206906000,"timestamp_ms":1791206906000,"timestamp_seconds":1791206906,"priority":1,"record_length":96,"hex_timestamp":"000001a10c405890"} 
[2026-10-05 19:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 19:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":204944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":204944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":204944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548962560001,"66":12613,"120":206,"28":31744,"24":0,"16":25277372890611712,"45":1741133867816568832},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548962560001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:00:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:00:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25277372890611712,"km_value":25277372890611.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816568832,"description":"Unknown IO ID 45"} 
[2026-10-05 19:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548962560001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741133867816568832}} 
[2026-10-05 19:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":204944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:00:48] local.INFO: GPS data processed {"connection_id":204944,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:00:48] local.INFO: Acknowledgment sent {"connection_id":204944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:00:54] local.INFO: TCP Data received {"connection_id":206338,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:00:54] local.INFO: Processing buffer {"connection_id":206338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:00:54] local.INFO: IMEI packet received {"connection_id":206338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":206338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:00:59] local.INFO: TCP Data received {"connection_id":206338,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:00:59] local.INFO: Processing buffer {"connection_id":206338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:00:59] local.INFO: IMEI packet received {"connection_id":206338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":206338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:01:00] local.INFO: TCP Data received {"connection_id":206338,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:01:00] local.INFO: Processing buffer {"connection_id":206338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:01:00] local.INFO: Packet analysis {"connection_id":206338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 19:01:00] local.INFO: Extracted packet for processing {"connection_id":206338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 19:01:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548854272001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791206763000,"timestamp_ms":1791206763000,"timestamp_seconds":1791206763,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3e29f8"} 
[2026-10-05 19:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:01: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-10-05 19: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-10-05 19:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:01: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-10-05 19:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548854272001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548854272001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:01:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:01:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548854272001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":206338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:01:00] local.INFO: GPS data processed {"connection_id":206338,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:01:00] local.INFO: Acknowledgment sent {"connection_id":206338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:01:05] local.INFO: TCP Data received {"connection_id":207890,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:01:05] local.INFO: Processing buffer {"connection_id":207890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:01:05] local.INFO: IMEI packet received {"connection_id":207890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":207890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:01:10] local.INFO: TCP Data received {"connection_id":207890,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:01:10] local.INFO: Processing buffer {"connection_id":207890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:01:10] local.INFO: IMEI packet received {"connection_id":207890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":207890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:01:11] local.INFO: TCP Data received {"connection_id":207890,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c40aa98012d1829c007219bc8004d012728..."} 
[2026-10-05 19:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c40aa98012d1829c007219bc8004d012728..."} 
[2026-10-05 19:01:11] local.INFO: Processing buffer {"connection_id":207890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c40aa98012d1829c007219bc8004d012728..."} 
[2026-10-05 19:01:11] local.INFO: Packet analysis {"connection_id":207890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c40"} 
[2026-10-05 19:01:11] local.INFO: Extracted packet for processing {"connection_id":207890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c40"} 
[2026-10-05 19:01:11] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643080,"longitude_deg":75.6558272,"latitude_deg":11.964308,"altitude":77,"angle":295,"satellites":40,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219bc8","is_valid_coordinates":true} 
[2026-10-05 19:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548967936001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25277372890611712,"note":"Value kept but may cause issues"} 
[2026-10-05 19:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816568832,"note":"Value kept but may cause issues"} 
[2026-10-05 19:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791206927000,"timestamp_ms":1791206927000,"timestamp_seconds":1791206927,"priority":1,"record_length":96,"hex_timestamp":"000001a10c40aa98"} 
[2026-10-05 19:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 19:01:11] 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-10-05 19:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548967936001,"66":12558,"120":206,"28":31744,"24":0,"16":25277372890611712,"45":1741133867816568832},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548967936001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:01:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:01:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25277372890611712,"km_value":25277372890611.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816568832,"description":"Unknown IO ID 45"} 
[2026-10-05 19:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548967936001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741133867816568832}} 
[2026-10-05 19:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":207890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:01:11] local.INFO: GPS data processed {"connection_id":207890,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:01:11] local.INFO: Acknowledgment sent {"connection_id":207890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:01:30] local.INFO: TCP Data received {"connection_id":204946,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204946,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:01:30] local.INFO: Processing buffer {"connection_id":204946,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:01:30] local.INFO: IMEI packet received {"connection_id":204946,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":204946,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:01:32] local.INFO: TCP Data received {"connection_id":206338,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:01:32] local.INFO: Processing buffer {"connection_id":206338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c3e29f8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:01:32] local.INFO: Packet analysis {"connection_id":206338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 19:01:32] local.INFO: Extracted packet for processing {"connection_id":206338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c3e"} 
[2026-10-05 19:01:32] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548854272001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791206763000,"timestamp_ms":1791206763000,"timestamp_seconds":1791206763,"priority":1,"record_length":96,"hex_timestamp":"000001a10c3e29f8"} 
[2026-10-05 19:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:01:32] 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-10-05 19:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":206338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":206338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":206338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:01: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-10-05 19:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548854272001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548854272001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:01:32] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:01:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548854272001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":206338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:01:32] local.INFO: GPS data processed {"connection_id":206338,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:01:32] local.INFO: Acknowledgment sent {"connection_id":206338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:01:36] local.INFO: TCP Data received {"connection_id":204946,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204946,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:01:36] local.INFO: Processing buffer {"connection_id":204946,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:01:36] local.INFO: IMEI packet received {"connection_id":204946,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":204946,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:01:37] local.INFO: TCP Data received {"connection_id":204946,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:01:37] local.INFO: Processing buffer {"connection_id":204946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:01:37] local.INFO: Packet analysis {"connection_id":204946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c43"} 
[2026-10-05 19:01:37] local.INFO: Extracted packet for processing {"connection_id":204946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c43"} 
[2026-10-05 19:01:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548936448001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791207084000,"timestamp_ms":1791207084000,"timestamp_seconds":1791207084,"priority":1,"record_length":96,"hex_timestamp":"000001a10c430fe0"} 
[2026-10-05 19:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 19:01:37] 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-10-05 19:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548936448001,"66":12961,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548936448001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:01:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:01:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548936448001,"power":12961,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":204946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:01:37] local.INFO: GPS data processed {"connection_id":204946,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:01:37] local.INFO: Acknowledgment sent {"connection_id":204946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:01:43] local.INFO: TCP Data received {"connection_id":207890,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c410088012d1829c007219bc8004d012728..."} 
[2026-10-05 19:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c410088012d1829c007219bc8004d012728..."} 
[2026-10-05 19:01:43] local.INFO: Processing buffer {"connection_id":207890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c410088012d1829c007219bc8004d012728..."} 
[2026-10-05 19:01:43] local.INFO: Packet analysis {"connection_id":207890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c41"} 
[2026-10-05 19:01:43] local.INFO: Extracted packet for processing {"connection_id":207890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c41"} 
[2026-10-05 19:01:43] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643080,"longitude_deg":75.6558272,"latitude_deg":11.964308,"altitude":77,"angle":295,"satellites":40,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219bc8","is_valid_coordinates":true} 
[2026-10-05 19:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548973312001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25277372890611712,"note":"Value kept but may cause issues"} 
[2026-10-05 19:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816568832,"note":"Value kept but may cause issues"} 
[2026-10-05 19:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791206949000,"timestamp_ms":1791206949000,"timestamp_seconds":1791206949,"priority":1,"record_length":96,"hex_timestamp":"000001a10c410088"} 
[2026-10-05 19:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:01: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-10-05 19:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-10-05 19:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-10-05 19:01:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-10-05 19:01:43] local.WARNING: Large IO value detected {"io_id":10,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-10-05 19:01:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249407604406981944,"note":"Value kept but may cause issues"} 
[2026-10-05 19:01:43] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2613575757,"note":"Value kept but may cause issues"} 
[2026-10-05 19:01:43] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2885733863,"note":"Value kept but may cause issues"} 
[2026-10-05 19:01:43] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3447717888,"note":"Value kept but may cause issues"} 
[2026-10-05 19:01:43] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-10-05 19:01:43] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-10-05 19:01:43] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253974018,"note":"Value kept but may cause issues"} 
[2026-10-05 19:01:43] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,205,161,88,45,192,155,77,43,10,66,6,44,180,1,240,254,12,33,4,113,52,40,239,50,121,2,89,7,78,231,93,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-10-05 19:01:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548759268649336832,"timestamp_seconds":5548759268649337.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 19:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548973312001,"66":12504,"120":206,"28":31744,"24":0,"16":25277372890611712,"45":1741133867816568832},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548973312001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:01:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:01:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25277372890611712,"km_value":25277372890611.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816568832,"description":"Unknown IO ID 45"} 
[2026-10-05 19:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548973312001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741133867816568832}} 
[2026-10-05 19:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":207890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:01:43] local.INFO: GPS data processed {"connection_id":207890,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:01:43] local.INFO: Acknowledgment sent {"connection_id":207890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:01:54] local.INFO: TCP Data received {"connection_id":206339,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:01:54] local.INFO: Processing buffer {"connection_id":206339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:01:54] local.INFO: IMEI packet received {"connection_id":206339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":206339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:01:59] local.INFO: TCP Data received {"connection_id":206339,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:01:59] local.INFO: Processing buffer {"connection_id":206339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:01:59] local.INFO: IMEI packet received {"connection_id":206339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":206339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:02:00] local.INFO: TCP Data received {"connection_id":206339,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:02:00] local.INFO: Processing buffer {"connection_id":206339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:02:00] local.INFO: Packet analysis {"connection_id":206339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c42"} 
[2026-10-05 19:02:00] local.INFO: Extracted packet for processing {"connection_id":206339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c42"} 
[2026-10-05 19:02:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548931328001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791207064000,"timestamp_ms":1791207064000,"timestamp_seconds":1791207064,"priority":1,"record_length":96,"hex_timestamp":"000001a10c42c1c0"} 
[2026-10-05 19:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:02: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-10-05 19: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-10-05 19:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:02: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-10-05 19:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548931328001,"66":25430,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548931328001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:02:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:02:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548931328001,"power":25430,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":206339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:02:00] local.INFO: GPS data processed {"connection_id":206339,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:02:00] local.INFO: Acknowledgment sent {"connection_id":206339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:02:04] local.INFO: TCP Data received {"connection_id":204804,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:02:04] local.INFO: Processing buffer {"connection_id":204804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:02:04] local.INFO: IMEI packet received {"connection_id":204804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":204804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:02:09] local.INFO: TCP Data received {"connection_id":204946,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:02:09] local.INFO: Processing buffer {"connection_id":204946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:02:09] local.INFO: Packet analysis {"connection_id":204946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c43"} 
[2026-10-05 19:02:09] local.INFO: Extracted packet for processing {"connection_id":204946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c43"} 
[2026-10-05 19:02:09] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548936448001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791207084000,"timestamp_ms":1791207084000,"timestamp_seconds":1791207084,"priority":1,"record_length":96,"hex_timestamp":"000001a10c430fe0"} 
[2026-10-05 19:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 19:02:09] 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-10-05 19:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548936448001,"66":12961,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548936448001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:02:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:02:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548936448001,"power":12961,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":204946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:02:09] local.INFO: GPS data processed {"connection_id":204946,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:02:09] local.INFO: Acknowledgment sent {"connection_id":204946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:02:11] local.INFO: TCP Data received {"connection_id":204804,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:02:11] local.INFO: Processing buffer {"connection_id":204804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:02:11] local.INFO: IMEI packet received {"connection_id":204804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":204804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:02:12] local.INFO: TCP Data received {"connection_id":204804,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c415290012d1829c007219bc8004d012729..."} 
[2026-10-05 19:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c415290012d1829c007219bc8004d012729..."} 
[2026-10-05 19:02:12] local.INFO: Processing buffer {"connection_id":204804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c415290012d1829c007219bc8004d012729..."} 
[2026-10-05 19:02:12] local.INFO: Packet analysis {"connection_id":204804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c41"} 
[2026-10-05 19:02:12] local.INFO: Extracted packet for processing {"connection_id":204804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c41"} 
[2026-10-05 19:02:12] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643080,"longitude_deg":75.6558272,"latitude_deg":11.964308,"altitude":77,"angle":295,"satellites":41,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219bc8","is_valid_coordinates":true} 
[2026-10-05 19:02: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-10-05 19:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548978944001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25277372890611712,"note":"Value kept but may cause issues"} 
[2026-10-05 19:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816568832,"note":"Value kept but may cause issues"} 
[2026-10-05 19:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791206970000,"timestamp_ms":1791206970000,"timestamp_seconds":1791206970,"priority":1,"record_length":96,"hex_timestamp":"000001a10c415290"} 
[2026-10-05 19:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:02: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 19:02:12] 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-10-05 19:02: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-10-05 19:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548978944001,"66":12461,"120":206,"28":31744,"24":0,"16":25277372890611712,"45":1741133867816568832},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548978944001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:02:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:02:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25277372890611712,"km_value":25277372890611.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816568832,"description":"Unknown IO ID 45"} 
[2026-10-05 19:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548978944001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741133867816568832}} 
[2026-10-05 19:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":204804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:02:12] local.INFO: GPS data processed {"connection_id":204804,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:02:12] local.INFO: Acknowledgment sent {"connection_id":204804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:02:30] local.INFO: TCP Data received {"connection_id":204805,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:02:30] local.INFO: Processing buffer {"connection_id":204805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:02:30] local.INFO: IMEI packet received {"connection_id":204805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":204805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:02:31] local.INFO: TCP Data received {"connection_id":206339,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:02:31] local.INFO: Processing buffer {"connection_id":206339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:02:31] local.INFO: Packet analysis {"connection_id":206339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c42"} 
[2026-10-05 19:02:31] local.INFO: Extracted packet for processing {"connection_id":206339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c42"} 
[2026-10-05 19:02:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548931328001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791207064000,"timestamp_ms":1791207064000,"timestamp_seconds":1791207064,"priority":1,"record_length":96,"hex_timestamp":"000001a10c42c1c0"} 
[2026-10-05 19:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:02:31] 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-10-05 19: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-10-05 19:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548931328001,"66":25430,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548931328001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:02:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:02:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548931328001,"power":25430,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":206339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:02:31] local.INFO: GPS data processed {"connection_id":206339,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:02:31] local.INFO: Acknowledgment sent {"connection_id":206339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:02:35] local.INFO: TCP Data received {"connection_id":204805,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:02:35] local.INFO: Processing buffer {"connection_id":204805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:02:35] local.INFO: IMEI packet received {"connection_id":204805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":204805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:02:37] local.INFO: TCP Data received {"connection_id":204805,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:02:37] local.INFO: Processing buffer {"connection_id":204805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:02:37] local.INFO: Packet analysis {"connection_id":204805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c43"} 
[2026-10-05 19:02:37] local.INFO: Extracted packet for processing {"connection_id":204805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c43"} 
[2026-10-05 19:02:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548936448001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791207084000,"timestamp_ms":1791207084000,"timestamp_seconds":1791207084,"priority":1,"record_length":96,"hex_timestamp":"000001a10c430fe0"} 
[2026-10-05 19:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 19:02:37] 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-10-05 19:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548936448001,"66":12961,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548936448001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:02:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:02:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548936448001,"power":12961,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":204805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:02:37] local.INFO: GPS data processed {"connection_id":204805,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:02:37] local.INFO: Acknowledgment sent {"connection_id":204805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:02:43] local.INFO: TCP Data received {"connection_id":204804,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c41a498012d1829c007219bc8004d012726..."} 
[2026-10-05 19:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c41a498012d1829c007219bc8004d012726..."} 
[2026-10-05 19:02:43] local.INFO: Processing buffer {"connection_id":204804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c41a498012d1829c007219bc8004d012726..."} 
[2026-10-05 19:02:43] local.INFO: Packet analysis {"connection_id":204804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c41"} 
[2026-10-05 19:02:43] local.INFO: Extracted packet for processing {"connection_id":204804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c41"} 
[2026-10-05 19:02:43] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643080,"longitude_deg":75.6558272,"latitude_deg":11.964308,"altitude":77,"angle":295,"satellites":38,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219bc8","is_valid_coordinates":true} 
[2026-10-05 19:02: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-10-05 19:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548984320001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25277372890611712,"note":"Value kept but may cause issues"} 
[2026-10-05 19:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816568832,"note":"Value kept but may cause issues"} 
[2026-10-05 19:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791206991000,"timestamp_ms":1791206991000,"timestamp_seconds":1791206991,"priority":1,"record_length":96,"hex_timestamp":"000001a10c41a498"} 
[2026-10-05 19:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:02: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-10-05 19:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 19:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:02: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-10-05 19:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548984320001,"66":12461,"120":206,"28":31744,"24":0,"16":25277372890611712,"45":1741133867816568832},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548984320001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:02:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:02:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25277372890611712,"km_value":25277372890611.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816568832,"description":"Unknown IO ID 45"} 
[2026-10-05 19:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548984320001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741133867816568832}} 
[2026-10-05 19:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":204804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:02:44] local.INFO: GPS data processed {"connection_id":204804,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:02:44] local.INFO: Acknowledgment sent {"connection_id":204804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:02:54] local.INFO: TCP Data received {"connection_id":204948,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:02:54] local.INFO: Processing buffer {"connection_id":204948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:02:54] local.INFO: IMEI packet received {"connection_id":204948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":204948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:02:59] local.INFO: TCP Data received {"connection_id":204948,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:02:59] local.INFO: Processing buffer {"connection_id":204948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:02:59] local.INFO: IMEI packet received {"connection_id":204948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":204948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:03:00] local.INFO: TCP Data received {"connection_id":204948,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:03:00] local.INFO: Processing buffer {"connection_id":204948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:03:00] local.INFO: Packet analysis {"connection_id":204948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c42"} 
[2026-10-05 19:03:00] local.INFO: Extracted packet for processing {"connection_id":204948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c42"} 
[2026-10-05 19:03:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548931328001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791207064000,"timestamp_ms":1791207064000,"timestamp_seconds":1791207064,"priority":1,"record_length":96,"hex_timestamp":"000001a10c42c1c0"} 
[2026-10-05 19:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:03: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-10-05 19:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:03: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-10-05 19:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548931328001,"66":25430,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548931328001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:03:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:03:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548931328001,"power":25430,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":204948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:03:00] local.INFO: GPS data processed {"connection_id":204948,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:03:00] local.INFO: Acknowledgment sent {"connection_id":204948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:03:09] local.INFO: TCP Data received {"connection_id":204805,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:03:09] local.INFO: Processing buffer {"connection_id":204805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:03:09] local.INFO: Packet analysis {"connection_id":204805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c43"} 
[2026-10-05 19:03:09] local.INFO: Extracted packet for processing {"connection_id":204805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c43"} 
[2026-10-05 19:03:09] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548936448001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791207084000,"timestamp_ms":1791207084000,"timestamp_seconds":1791207084,"priority":1,"record_length":96,"hex_timestamp":"000001a10c430fe0"} 
[2026-10-05 19:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 19:03:09] 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-10-05 19:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548936448001,"66":12961,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548936448001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:03:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:03:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548936448001,"power":12961,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":204805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:03:09] local.INFO: GPS data processed {"connection_id":204805,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:03:09] local.INFO: Acknowledgment sent {"connection_id":204805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:03:09] local.INFO: TCP Data received {"connection_id":206341,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:03:09] local.INFO: Processing buffer {"connection_id":206341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:03:09] local.INFO: IMEI packet received {"connection_id":206341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":206341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:03:15] local.INFO: TCP Data received {"connection_id":206341,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:03:15] local.INFO: Processing buffer {"connection_id":206341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:03:15] local.INFO: IMEI packet received {"connection_id":206341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":206341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:03:16] local.INFO: TCP Data received {"connection_id":206341,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c41f6a0012d1829c007219bc8004d012725..."} 
[2026-10-05 19:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c41f6a0012d1829c007219bc8004d012725..."} 
[2026-10-05 19:03:16] local.INFO: Processing buffer {"connection_id":206341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c41f6a0012d1829c007219bc8004d012725..."} 
[2026-10-05 19:03:16] local.INFO: Packet analysis {"connection_id":206341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c41"} 
[2026-10-05 19:03:16] local.INFO: Extracted packet for processing {"connection_id":206341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c41"} 
[2026-10-05 19:03:16] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643080,"longitude_deg":75.6558272,"latitude_deg":11.964308,"altitude":77,"angle":295,"satellites":37,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219bc8","is_valid_coordinates":true} 
[2026-10-05 19:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548989696001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25277372890611712,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816568832,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791207012000,"timestamp_ms":1791207012000,"timestamp_seconds":1791207012,"priority":1,"record_length":96,"hex_timestamp":"000001a10c41f6a0"} 
[2026-10-05 19:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:03: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-10-05 19:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 19:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":206341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":206341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":206341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548989696001,"66":13798,"120":206,"28":31744,"24":0,"16":25277372890611712,"45":1741133867816568832},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548989696001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:03:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:03:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25277372890611712,"km_value":25277372890611.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816568832,"description":"Unknown IO ID 45"} 
[2026-10-05 19:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548989696001,"power":13798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741133867816568832}} 
[2026-10-05 19:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":206341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:03:17] local.INFO: GPS data processed {"connection_id":206341,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:03:17] local.INFO: Acknowledgment sent {"connection_id":206341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:03:18] local.INFO: TCP Data received {"connection_id":206341,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4244c0012d1829c007219bc8004d01272a..."} 
[2026-10-05 19:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4244c0012d1829c007219bc8004d01272a..."} 
[2026-10-05 19:03:18] local.INFO: Processing buffer {"connection_id":206341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4244c0012d1829c007219bc8004d01272a..."} 
[2026-10-05 19:03:18] local.INFO: Packet analysis {"connection_id":206341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c42"} 
[2026-10-05 19:03:18] local.INFO: Extracted packet for processing {"connection_id":206341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c42"} 
[2026-10-05 19:03:18] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643080,"longitude_deg":75.6558272,"latitude_deg":11.964308,"altitude":77,"angle":295,"satellites":42,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219bc8","is_valid_coordinates":true} 
[2026-10-05 19:03: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-10-05 19:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548995072001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25277372890611712,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816568832,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791207032000,"timestamp_ms":1791207032000,"timestamp_seconds":1791207032,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4244c0"} 
[2026-10-05 19:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:03: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":230,"data_length":795,"current_offset":136} 
[2026-10-05 19:03:18] 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-10-05 19:03: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-10-05 19:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":206341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":206341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":206341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548995072001,"66":13330,"120":206,"28":31744,"24":0,"16":25277372890611712,"45":1741133867816568832},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548995072001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:03:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:03:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25277372890611712,"km_value":25277372890611.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816568832,"description":"Unknown IO ID 45"} 
[2026-10-05 19:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548995072001,"power":13330,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741133867816568832}} 
[2026-10-05 19:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":206341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:03:18] local.INFO: GPS data processed {"connection_id":206341,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:03:18] local.INFO: Acknowledgment sent {"connection_id":206341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:03:30] local.INFO: TCP Data received {"connection_id":204949,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:03:30] local.INFO: Processing buffer {"connection_id":204949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:03:30] local.INFO: IMEI packet received {"connection_id":204949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":204949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:03:31] local.INFO: TCP Data received {"connection_id":204948,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:03:31] local.INFO: Processing buffer {"connection_id":204948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:03:31] local.INFO: Packet analysis {"connection_id":204948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c42"} 
[2026-10-05 19:03:31] local.INFO: Extracted packet for processing {"connection_id":204948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c42"} 
[2026-10-05 19:03:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548931328001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791207064000,"timestamp_ms":1791207064000,"timestamp_seconds":1791207064,"priority":1,"record_length":96,"hex_timestamp":"000001a10c42c1c0"} 
[2026-10-05 19:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:03:31] 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-10-05 19: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-10-05 19:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548931328001,"66":25430,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548931328001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:03:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:03:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548931328001,"power":25430,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":204948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:03:31] local.INFO: GPS data processed {"connection_id":204948,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:03:31] local.INFO: Acknowledgment sent {"connection_id":204948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:03:37] local.INFO: TCP Data received {"connection_id":204949,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:03:37] local.INFO: Processing buffer {"connection_id":204949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:03:37] local.INFO: IMEI packet received {"connection_id":204949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":204949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:03:38] local.INFO: TCP Data received {"connection_id":204949,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:03:38] local.INFO: Processing buffer {"connection_id":204949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:03:38] local.INFO: Packet analysis {"connection_id":204949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c43"} 
[2026-10-05 19:03:38] local.INFO: Extracted packet for processing {"connection_id":204949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c43"} 
[2026-10-05 19:03:38] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548936448001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791207084000,"timestamp_ms":1791207084000,"timestamp_seconds":1791207084,"priority":1,"record_length":96,"hex_timestamp":"000001a10c430fe0"} 
[2026-10-05 19:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 19:03:38] 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-10-05 19:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548936448001,"66":12961,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548936448001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:03:38] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:03:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548936448001,"power":12961,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":204949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:03:38] local.INFO: GPS data processed {"connection_id":204949,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:03:38] local.INFO: Acknowledgment sent {"connection_id":204949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:03:49] local.INFO: TCP Data received {"connection_id":206341,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c428340012d182a8007219d200052013429..."} 
[2026-10-05 19:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c428340012d182a8007219d200052013429..."} 
[2026-10-05 19:03:49] local.INFO: Processing buffer {"connection_id":206341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c428340012d182a8007219d200052013429..."} 
[2026-10-05 19:03:49] local.INFO: Packet analysis {"connection_id":206341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c42"} 
[2026-10-05 19:03:49] local.INFO: Extracted packet for processing {"connection_id":206341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c42"} 
[2026-10-05 19:03:49] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119643424,"longitude_deg":75.6558464,"latitude_deg":11.9643424,"altitude":82,"angle":308,"satellites":41,"speed":2,"hex_longitude":"2d182a80","hex_latitude":"07219d20","is_valid_coordinates":true} 
[2026-10-05 19:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549000192001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25277390070480896,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816568832,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1791207048000,"timestamp_ms":1791207048000,"timestamp_seconds":1791207048,"priority":1,"record_length":96,"hex_timestamp":"000001a10c428340"} 
[2026-10-05 19:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-10-05 19:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-10-05 19:03:49] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":40961,"corrected_to":0} 
[2026-10-05 19:03:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249393035877915592,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:49] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-7221521671756764160,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:49] local.WARNING: Large IO value detected {"io_id":170,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:49] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3221692827,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":5046567,"corrected_to":0} 
[2026-10-05 19:03:49] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3450011648,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:49] local.WARNING: Large IO value detected {"io_id":69,"raw_value":57956872821283964,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:49] local.WARNING: Large IO value detected {"io_id":64,"raw_value":470627454250762247,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:49] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:49] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-10-05 19:03:49] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,120,28,24,241,158,16,205,161,246,45,192,155,77,37,10,66,164,38,82,1,240,173,12,33,4,113,170,41,200,40,239,49,2,89,7,69,64,231,92],"length":626,"final_offset":756,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0},{"io_id":246,"original":40961,"validated":0},{"io_id":200,"original":5046567,"validated":0}]} 
[2026-10-05 19:03:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548759277239271424,"timestamp_seconds":5548759277239271.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 19:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":206341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":206341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":206341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549000192001,"66":12504,"120":206,"28":31744,"24":2,"16":25277390070480896,"45":1741133867816568832},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549000192001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:03:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:03:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25277390070480896,"km_value":25277390070480.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816568832,"description":"Unknown IO ID 45"} 
[2026-10-05 19:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549000192001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1741133867816568832}} 
[2026-10-05 19:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":206341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:03:49] local.INFO: GPS data processed {"connection_id":206341,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:03:49] local.INFO: Acknowledgment sent {"connection_id":206341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:03:54] local.INFO: TCP Data received {"connection_id":204950,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:03:54] local.INFO: Processing buffer {"connection_id":204950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:03:54] local.INFO: IMEI packet received {"connection_id":204950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":204950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:03:59] local.INFO: TCP Data received {"connection_id":204950,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:03:59] local.INFO: Processing buffer {"connection_id":204950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:03:59] local.INFO: IMEI packet received {"connection_id":204950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":204950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:04:00] local.INFO: TCP Data received {"connection_id":204950,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:04:00] local.INFO: Processing buffer {"connection_id":204950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:04:00] local.INFO: Packet analysis {"connection_id":204950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c42"} 
[2026-10-05 19:04:00] local.INFO: Extracted packet for processing {"connection_id":204950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c42"} 
[2026-10-05 19:04:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548931328001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791207064000,"timestamp_ms":1791207064000,"timestamp_seconds":1791207064,"priority":1,"record_length":96,"hex_timestamp":"000001a10c42c1c0"} 
[2026-10-05 19:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548931328001,"66":25430,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548931328001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:04:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:04:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548931328001,"power":25430,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":204950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:04:00] local.INFO: GPS data processed {"connection_id":204950,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:04:00] local.INFO: Acknowledgment sent {"connection_id":204950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:04:05] local.INFO: TCP Data received {"connection_id":206342,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:04:05] local.INFO: Processing buffer {"connection_id":206342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:04:05] local.INFO: IMEI packet received {"connection_id":206342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":206342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:04:06] local.INFO: TCP Data received {"connection_id":207891,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:04:06] local.INFO: Processing buffer {"connection_id":207891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:04:06] local.INFO: IMEI packet received {"connection_id":207891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 19:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":207891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:04:09] local.INFO: TCP Data received {"connection_id":206342,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:04:09] local.INFO: Processing buffer {"connection_id":206342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:04:09] local.INFO: IMEI packet received {"connection_id":206342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":206342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:04:10] local.INFO: TCP Data received {"connection_id":204949,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:04:10] local.INFO: Processing buffer {"connection_id":204949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:04:10] local.INFO: Packet analysis {"connection_id":204949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c43"} 
[2026-10-05 19:04:10] local.INFO: Extracted packet for processing {"connection_id":204949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c43"} 
[2026-10-05 19:04:10] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548936448001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791207084000,"timestamp_ms":1791207084000,"timestamp_seconds":1791207084,"priority":1,"record_length":96,"hex_timestamp":"000001a10c430fe0"} 
[2026-10-05 19:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:04: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-10-05 19:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 19:04:10] 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-10-05 19:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548936448001,"66":12961,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548936448001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:04:10] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:04:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548936448001,"power":12961,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:04:10] local.INFO: TCP Data received {"connection_id":206342,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c42c1c0012d181e800721a7a80051013f2a..."} 
[2026-10-05 19:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c42c1c0012d181e800721a7a80051013f2a..."} 
[2026-10-05 19:04:10] local.INFO: Processing buffer {"connection_id":206342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c42c1c0012d181e800721a7a80051013f2a..."} 
[2026-10-05 19:04:10] local.INFO: Packet analysis {"connection_id":206342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c42"} 
[2026-10-05 19:04:10] local.INFO: Extracted packet for processing {"connection_id":206342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c42"} 
[2026-10-05 19:04:10] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119646120,"longitude_deg":75.6555392,"latitude_deg":11.964612,"altitude":81,"angle":319,"satellites":42,"speed":7,"hex_longitude":"2d181e80","hex_latitude":"0721a7a8","is_valid_coordinates":true} 
[2026-10-05 19:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549004288001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25277587638976512,"note":"Value kept but may cause issues"} 
[2026-10-05 19:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974049189888,"note":"Value kept but may cause issues"} 
[2026-10-05 19:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791207064000,"timestamp_ms":1791207064000,"timestamp_seconds":1791207064,"priority":1,"record_length":96,"hex_timestamp":"000001a10c42c1c0"} 
[2026-10-05 19:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:04: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-10-05 19:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 19:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":206342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":206342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":206342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549004288001,"66":13439,"120":206,"28":31744,"24":7,"16":25277587638976512,"45":1741344974049189888},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549004288001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:04:10] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:04:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25277587638976512,"km_value":25277587638976.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974049189888,"description":"Unknown IO ID 45"} 
[2026-10-05 19:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549004288001,"power":13439,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1741344974049189888}} 
[2026-10-05 19:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":204949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:04:11] local.INFO: GPS data processed {"connection_id":204949,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:04:11] local.INFO: Acknowledgment sent {"connection_id":204949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":206342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:04:11] local.INFO: GPS data processed {"connection_id":206342,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:04:11] local.INFO: Acknowledgment sent {"connection_id":206342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:04:30] local.INFO: TCP Data received {"connection_id":207892,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:04:30] local.INFO: Processing buffer {"connection_id":207892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:04:30] local.INFO: IMEI packet received {"connection_id":207892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":207892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:04:31] local.INFO: TCP Data received {"connection_id":204950,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:04:32] local.INFO: Processing buffer {"connection_id":204950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:04:32] local.INFO: Packet analysis {"connection_id":204950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c42"} 
[2026-10-05 19:04:32] local.INFO: Extracted packet for processing {"connection_id":204950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c42"} 
[2026-10-05 19:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548931328001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791207064000,"timestamp_ms":1791207064000,"timestamp_seconds":1791207064,"priority":1,"record_length":96,"hex_timestamp":"000001a10c42c1c0"} 
[2026-10-05 19:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:04:32] 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-10-05 19: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-10-05 19:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:04:32] 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-10-05 19:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548931328001,"66":25430,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548931328001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:04:32] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:04:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548931328001,"power":25430,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":204950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:04:32] local.INFO: GPS data processed {"connection_id":204950,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:04:32] local.INFO: Acknowledgment sent {"connection_id":204950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:04:36] local.INFO: TCP Data received {"connection_id":207892,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:04:36] local.INFO: Processing buffer {"connection_id":207892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:04:36] local.INFO: IMEI packet received {"connection_id":207892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":207892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:04:36] local.INFO: TCP Data received {"connection_id":206343,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206343,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:04:36] local.INFO: Processing buffer {"connection_id":206343,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:04:36] local.INFO: IMEI packet received {"connection_id":206343,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 19:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":206343,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:04:36] local.INFO: TCP Data received {"connection_id":207892,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:04:36] local.INFO: Processing buffer {"connection_id":207892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:04:36] local.INFO: Packet analysis {"connection_id":207892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c43"} 
[2026-10-05 19:04:36] local.INFO: Extracted packet for processing {"connection_id":207892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c43"} 
[2026-10-05 19:04:36] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548936448001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791207084000,"timestamp_ms":1791207084000,"timestamp_seconds":1791207084,"priority":1,"record_length":96,"hex_timestamp":"000001a10c430fe0"} 
[2026-10-05 19:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 19:04:36] 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-10-05 19: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-10-05 19:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548936448001,"66":12961,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548936448001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:04:36] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:04:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548936448001,"power":12961,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":207892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:04:37] local.INFO: GPS data processed {"connection_id":207892,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:04:37] local.INFO: Acknowledgment sent {"connection_id":207892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:04:42] local.INFO: TCP Data received {"connection_id":206342,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c44d500012d181f800721aef8004c00122c..."} 
[2026-10-05 19:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c44d500012d181f800721aef8004c00122c..."} 
[2026-10-05 19:04:42] local.INFO: Processing buffer {"connection_id":206342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c44d500012d181f800721aef8004c00122c..."} 
[2026-10-05 19:04:42] local.INFO: Packet analysis {"connection_id":206342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c44"} 
[2026-10-05 19:04:42] local.INFO: Extracted packet for processing {"connection_id":206342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c44"} 
[2026-10-05 19:04:42] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119647992,"longitude_deg":75.6555648,"latitude_deg":11.9647992,"altitude":76,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721aef8","is_valid_coordinates":true} 
[2026-10-05 19:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549037824001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25277746552766464,"note":"Value kept but may cause issues"} 
[2026-10-05 19:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306542080,"note":"Value kept but may cause issues"} 
[2026-10-05 19:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791207200000,"timestamp_ms":1791207200000,"timestamp_seconds":1791207200,"priority":1,"record_length":96,"hex_timestamp":"000001a10c44d500"} 
[2026-10-05 19:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 19:04:42] 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-10-05 19:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549037824001,"66":12917,"120":206,"28":31744,"24":0,"16":25277746552766464,"45":1738248749306542080},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549037824001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:04:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:04:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25277746552766464,"km_value":25277746552766.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306542080,"description":"Unknown IO ID 45"} 
[2026-10-05 19:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549037824001,"power":12917,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306542080}} 
[2026-10-05 19:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":206342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:04:42] local.INFO: GPS data processed {"connection_id":206342,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:04:42] local.INFO: Acknowledgment sent {"connection_id":206342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:04:54] local.INFO: TCP Data received {"connection_id":204806,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:04:54] local.INFO: Processing buffer {"connection_id":204806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:04:54] local.INFO: IMEI packet received {"connection_id":204806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":204806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:04:59] local.INFO: TCP Data received {"connection_id":204806,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:04:59] local.INFO: Processing buffer {"connection_id":204806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:04:59] local.INFO: IMEI packet received {"connection_id":204806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":204806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:05:00] local.INFO: TCP Data received {"connection_id":204806,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:05:00] local.INFO: Processing buffer {"connection_id":204806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:05:00] local.INFO: Packet analysis {"connection_id":204806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c42"} 
[2026-10-05 19:05:00] local.INFO: Extracted packet for processing {"connection_id":204806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c42"} 
[2026-10-05 19:05:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548931328001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791207064000,"timestamp_ms":1791207064000,"timestamp_seconds":1791207064,"priority":1,"record_length":96,"hex_timestamp":"000001a10c42c1c0"} 
[2026-10-05 19:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:05: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-10-05 19: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-10-05 19:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:05:00] 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-10-05 19:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548931328001,"66":25430,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548931328001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:05:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:05:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548931328001,"power":25430,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":204806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:05:00] local.INFO: GPS data processed {"connection_id":204806,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:05:00] local.INFO: Acknowledgment sent {"connection_id":204806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:05:05] local.INFO: TCP Data received {"connection_id":206344,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:05:05] local.INFO: Processing buffer {"connection_id":206344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:05:05] local.INFO: IMEI packet received {"connection_id":206344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":206344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:05:06] local.INFO: TCP Data received {"connection_id":206344,"ip":"117.224.141.49","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-10-05 19:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206344,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-10-05 19:05:06] local.INFO: Processing buffer {"connection_id":206344,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-10-05 19:05:06] local.INFO: IMEI packet received {"connection_id":206344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":206344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:05:08] local.INFO: TCP Data received {"connection_id":207892,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:05:08] local.INFO: Processing buffer {"connection_id":207892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:05:08] local.INFO: Packet analysis {"connection_id":207892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c43"} 
[2026-10-05 19:05:08] local.INFO: Extracted packet for processing {"connection_id":207892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c43"} 
[2026-10-05 19:05:08] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548936448001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791207084000,"timestamp_ms":1791207084000,"timestamp_seconds":1791207084,"priority":1,"record_length":96,"hex_timestamp":"000001a10c430fe0"} 
[2026-10-05 19:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 19:05:08] 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-10-05 19: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-10-05 19:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548936448001,"66":12961,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548936448001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:05:08] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:05:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548936448001,"power":12961,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":207892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:05:08] local.INFO: GPS data processed {"connection_id":207892,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:05:08] local.INFO: Acknowledgment sent {"connection_id":207892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:05:10] local.INFO: TCP Data received {"connection_id":206344,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:05:10] local.INFO: Processing buffer {"connection_id":206344,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-10-05 19:05:10] local.INFO: IMEI packet received {"connection_id":206344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":206344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:05:12] local.INFO: TCP Data received {"connection_id":206344,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c452708012d181f800721aef8004c00122c..."} 
[2026-10-05 19:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c452708012d181f800721aef8004c00122c..."} 
[2026-10-05 19:05:12] local.INFO: Processing buffer {"connection_id":206344,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a10c..."} 
[2026-10-05 19:05:12] local.INFO: IMEI packet received {"connection_id":206344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":206344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:05:15] local.INFO: TCP Data received {"connection_id":206344,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c457cf8012d181dc00721aea0004800122c..."} 
[2026-10-05 19:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c457cf8012d181dc00721aea0004800122c..."} 
[2026-10-05 19:05:15] local.INFO: Processing buffer {"connection_id":206344,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a10c452708012d181f800721aef8004c00122c..."} 
[2026-10-05 19:05:15] local.INFO: Packet analysis {"connection_id":206344,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a10c45"} 
[2026-10-05 19:05:15] local.INFO: Extracted packet for processing {"connection_id":206344,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c45"} 
[2026-10-05 19:05:15] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119647992,"longitude_deg":75.6555648,"latitude_deg":11.9647992,"altitude":76,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721aef8","is_valid_coordinates":true} 
[2026-10-05 19:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549043200001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25277746552766464,"note":"Value kept but may cause issues"} 
[2026-10-05 19:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306542080,"note":"Value kept but may cause issues"} 
[2026-10-05 19:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791207221000,"timestamp_ms":1791207221000,"timestamp_seconds":1791207221,"priority":1,"record_length":96,"hex_timestamp":"000001a10c452708"} 
[2026-10-05 19:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 19:05:15] 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-10-05 19:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":206344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":206344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":206344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549043200001,"66":14102,"120":206,"28":31744,"24":0,"16":25277746552766464,"45":1738248749306542080},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549043200001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:05:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:05:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25277746552766464,"km_value":25277746552766.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306542080,"description":"Unknown IO ID 45"} 
[2026-10-05 19:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549043200001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306542080}} 
[2026-10-05 19:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":206344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:05:15] local.INFO: GPS data processed {"connection_id":206344,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:05:15] local.INFO: Acknowledgment sent {"connection_id":206344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:05:15] local.INFO: Packet analysis {"connection_id":206344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c45"} 
[2026-10-05 19:05:15] local.INFO: Extracted packet for processing {"connection_id":206344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c45"} 
[2026-10-05 19:05:15] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647904,"longitude_deg":75.65552,"latitude_deg":11.9647904,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721aea0","is_valid_coordinates":true} 
[2026-10-05 19:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549048576001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25277776617537536,"note":"Value kept but may cause issues"} 
[2026-10-05 19:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306542080,"note":"Value kept but may cause issues"} 
[2026-10-05 19:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791207243000,"timestamp_ms":1791207243000,"timestamp_seconds":1791207243,"priority":1,"record_length":96,"hex_timestamp":"000001a10c457cf8"} 
[2026-10-05 19:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-05 19:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":206344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":206344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":206344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549048576001,"66":13928,"120":206,"28":31744,"24":0,"16":25277776617537536,"45":1738248749306542080},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549048576001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:05:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:05:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25277776617537536,"km_value":25277776617537.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306542080,"description":"Unknown IO ID 45"} 
[2026-10-05 19:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549048576001,"power":13928,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306542080}} 
[2026-10-05 19:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":206344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:05:15] local.INFO: GPS data processed {"connection_id":206344,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:05:15] local.INFO: Acknowledgment sent {"connection_id":206344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:05:31] local.INFO: TCP Data received {"connection_id":204806,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:05:31] local.INFO: Processing buffer {"connection_id":204806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:05:31] local.INFO: Packet analysis {"connection_id":204806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c42"} 
[2026-10-05 19:05:31] local.INFO: Extracted packet for processing {"connection_id":204806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c42"} 
[2026-10-05 19:05:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548931328001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791207064000,"timestamp_ms":1791207064000,"timestamp_seconds":1791207064,"priority":1,"record_length":96,"hex_timestamp":"000001a10c42c1c0"} 
[2026-10-05 19:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:05:31] 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-10-05 19: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-10-05 19:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:05:31] 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-10-05 19:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548931328001,"66":25430,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548931328001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:05:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:05:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548931328001,"power":25430,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":204806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:05:31] local.INFO: GPS data processed {"connection_id":204806,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:05:31] local.INFO: Acknowledgment sent {"connection_id":204806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:05:35] local.INFO: TCP Data received {"connection_id":207894,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:05:35] local.INFO: Processing buffer {"connection_id":207894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:05:35] local.INFO: IMEI packet received {"connection_id":207894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":207894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:05:41] local.INFO: TCP Data received {"connection_id":207894,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:05:41] local.INFO: Processing buffer {"connection_id":207894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:05:41] local.INFO: IMEI packet received {"connection_id":207894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":207894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:05:42] local.INFO: TCP Data received {"connection_id":207894,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:05:42] local.INFO: Processing buffer {"connection_id":207894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:05:42] local.INFO: Packet analysis {"connection_id":207894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c43"} 
[2026-10-05 19:05:42] local.INFO: Extracted packet for processing {"connection_id":207894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c43"} 
[2026-10-05 19:05:42] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548936448001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791207084000,"timestamp_ms":1791207084000,"timestamp_seconds":1791207084,"priority":1,"record_length":96,"hex_timestamp":"000001a10c430fe0"} 
[2026-10-05 19:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 19:05:42] 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-10-05 19:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548936448001,"66":12961,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548936448001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:05:42] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:05:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548936448001,"power":12961,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":207894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:05:42] local.INFO: GPS data processed {"connection_id":207894,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:05:42] local.INFO: Acknowledgment sent {"connection_id":207894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:05:46] local.INFO: TCP Data received {"connection_id":207894,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:05:46] local.INFO: Processing buffer {"connection_id":207894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c430fe0012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:05:46] local.INFO: Packet analysis {"connection_id":207894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c43"} 
[2026-10-05 19:05:46] local.INFO: Extracted packet for processing {"connection_id":207894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c43"} 
[2026-10-05 19:05:46] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548936448001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791207084000,"timestamp_ms":1791207084000,"timestamp_seconds":1791207084,"priority":1,"record_length":96,"hex_timestamp":"000001a10c430fe0"} 
[2026-10-05 19:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 19:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":207894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":207894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":207894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548936448001,"66":12961,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548936448001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:05:46] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:05:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548936448001,"power":12961,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":207894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:05:46] local.INFO: GPS data processed {"connection_id":207894,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:05:46] local.INFO: Acknowledgment sent {"connection_id":207894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:05:47] local.INFO: TCP Data received {"connection_id":206344,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c45a7f0012d181e000721ad80004900d02d..."} 
[2026-10-05 19:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c45a7f0012d181e000721ad80004900d02d..."} 
[2026-10-05 19:05:47] local.INFO: Processing buffer {"connection_id":206344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c45a7f0012d181e000721ad80004900d02d..."} 
[2026-10-05 19:05:47] local.INFO: Packet analysis {"connection_id":206344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c45"} 
[2026-10-05 19:05:47] local.INFO: Extracted packet for processing {"connection_id":206344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c45"} 
[2026-10-05 19:05:47] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647616,"longitude_deg":75.6555264,"latitude_deg":11.9647616,"altitude":73,"angle":208,"satellites":45,"speed":2,"hex_longitude":"2d181e00","hex_latitude":"0721ad80","is_valid_coordinates":true} 
[2026-10-05 19:05: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-10-05 19:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549054208001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25277793797406720,"note":"Value kept but may cause issues"} 
[2026-10-05 19:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097275904,"note":"Value kept but may cause issues"} 
[2026-10-05 19:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791207254000,"timestamp_ms":1791207254000,"timestamp_seconds":1791207254,"priority":1,"record_length":96,"hex_timestamp":"000001a10c45a7f0"} 
[2026-10-05 19:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-05 19:05:47] 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-10-05 19:05: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-10-05 19:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":206344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":206344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":206344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549054208001,"66":13504,"120":206,"28":31744,"24":2,"16":25277793797406720,"45":1737756168097275904},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549054208001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:05:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:05:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25277793797406720,"km_value":25277793797406.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097275904,"description":"Unknown IO ID 45"} 
[2026-10-05 19:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549054208001,"power":13504,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1737756168097275904}} 
[2026-10-05 19:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":206344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:05:47] local.INFO: GPS data processed {"connection_id":206344,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:05:47] local.INFO: Acknowledgment sent {"connection_id":206344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:05:54] local.INFO: TCP Data received {"connection_id":207896,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:05:54] local.INFO: Processing buffer {"connection_id":207896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:05:54] local.INFO: IMEI packet received {"connection_id":207896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":207896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:05:59] local.INFO: TCP Data received {"connection_id":207896,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:05:59] local.INFO: Processing buffer {"connection_id":207896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:05:59] local.INFO: IMEI packet received {"connection_id":207896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":207896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:06:00] local.INFO: TCP Data received {"connection_id":207896,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:06:00] local.INFO: Processing buffer {"connection_id":207896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:06:00] local.INFO: Packet analysis {"connection_id":207896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c42"} 
[2026-10-05 19:06:00] local.INFO: Extracted packet for processing {"connection_id":207896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c42"} 
[2026-10-05 19:06:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548931328001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791207064000,"timestamp_ms":1791207064000,"timestamp_seconds":1791207064,"priority":1,"record_length":96,"hex_timestamp":"000001a10c42c1c0"} 
[2026-10-05 19:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:06: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-10-05 19: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-10-05 19:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:06: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-10-05 19:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548931328001,"66":25430,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548931328001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:06:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:06:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548931328001,"power":25430,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":207896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:06:00] local.INFO: GPS data processed {"connection_id":207896,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:06:00] local.INFO: Acknowledgment sent {"connection_id":207896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:06:07] local.INFO: TCP Data received {"connection_id":207897,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:06:07] local.INFO: Processing buffer {"connection_id":207897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:06:07] local.INFO: IMEI packet received {"connection_id":207897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":207897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:06:09] local.INFO: TCP Data received {"connection_id":207897,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:06:09] local.INFO: Processing buffer {"connection_id":207897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:06:09] local.INFO: IMEI packet received {"connection_id":207897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":207897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:06:30] local.INFO: TCP Data received {"connection_id":207897,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:06:30] local.INFO: Processing buffer {"connection_id":207897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:06:30] local.INFO: IMEI packet received {"connection_id":207897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":207897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:06:30] local.INFO: TCP Data received {"connection_id":207898,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:06:30] local.INFO: Processing buffer {"connection_id":207898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:06:30] local.INFO: IMEI packet received {"connection_id":207898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":207898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:06:31] local.INFO: TCP Data received {"connection_id":207896,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:06:31] local.INFO: Processing buffer {"connection_id":207896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c42c1c0012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:06:31] local.INFO: Packet analysis {"connection_id":207896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c42"} 
[2026-10-05 19:06:31] local.INFO: Extracted packet for processing {"connection_id":207896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c42"} 
[2026-10-05 19:06:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458548931328001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791207064000,"timestamp_ms":1791207064000,"timestamp_seconds":1791207064,"priority":1,"record_length":96,"hex_timestamp":"000001a10c42c1c0"} 
[2026-10-05 19:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:06:31] 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-10-05 19: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-10-05 19:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458548931328001,"66":25430,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458548931328001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:06:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:06:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458548931328001,"power":25430,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":207896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:06:31] local.INFO: GPS data processed {"connection_id":207896,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:06:31] local.INFO: Acknowledgment sent {"connection_id":207896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:06:32] local.INFO: TCP Data received {"connection_id":207897,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c45dab8012d181ec00721abd8004a008e2b..."} 
[2026-10-05 19:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c45dab8012d181ec00721abd8004a008e2b..."} 
[2026-10-05 19:06:32] local.INFO: Processing buffer {"connection_id":207897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c45dab8012d181ec00721abd8004a008e2b..."} 
[2026-10-05 19:06:32] local.INFO: Packet analysis {"connection_id":207897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c45"} 
[2026-10-05 19:06:32] local.INFO: Extracted packet for processing {"connection_id":207897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c45"} 
[2026-10-05 19:06:32] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647192,"longitude_deg":75.6555456,"latitude_deg":11.9647192,"altitude":74,"angle":142,"satellites":43,"speed":6,"hex_longitude":"2d181ec0","hex_latitude":"0721abd8","is_valid_coordinates":true} 
[2026-10-05 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-10-05 19:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549057024001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25277819567210496,"note":"Value kept but may cause issues"} 
[2026-10-05 19:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841379840,"note":"Value kept but may cause issues"} 
[2026-10-05 19:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791207267000,"timestamp_ms":1791207267000,"timestamp_seconds":1791207267,"priority":1,"record_length":96,"hex_timestamp":"000001a10c45dab8"} 
[2026-10-05 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-10-05 19:06: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-10-05 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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-05 19:06:32] 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-10-05 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-10-05 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-10-05 19:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549057024001,"66":13417,"120":206,"28":31744,"24":6,"16":25277819567210496,"45":1737826536841379840},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549057024001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:06:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:06:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25277819567210496,"km_value":25277819567210.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841379840,"description":"Unknown IO ID 45"} 
[2026-10-05 19:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549057024001,"power":13417,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1737826536841379840}} 
[2026-10-05 19:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":207897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:06:32] local.INFO: GPS data processed {"connection_id":207897,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:06:32] local.INFO: Acknowledgment sent {"connection_id":207897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:06:36] local.INFO: TCP Data received {"connection_id":207898,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:06:36] local.INFO: Processing buffer {"connection_id":207898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:06:36] local.INFO: IMEI packet received {"connection_id":207898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":207898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:06:37] local.INFO: TCP Data received {"connection_id":207898,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:06:37] local.INFO: Processing buffer {"connection_id":207898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:06:37] local.INFO: Packet analysis {"connection_id":207898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:06:37] local.INFO: Extracted packet for processing {"connection_id":207898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:06:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 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-10-05 19:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549013504001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791207385000,"timestamp_ms":1791207385000,"timestamp_seconds":1791207385,"priority":1,"record_length":96,"hex_timestamp":"000001a10c47a7a8"} 
[2026-10-05 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-10-05 19:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 19:06:37] 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-10-05 19:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 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-10-05 19:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549013504001,"66":12917,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549013504001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:06:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:06:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549013504001,"power":12917,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":207898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:06:37] local.INFO: GPS data processed {"connection_id":207898,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:06:37] local.INFO: Acknowledgment sent {"connection_id":207898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:06:54] local.INFO: TCP Data received {"connection_id":204807,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:06:54] local.INFO: Processing buffer {"connection_id":204807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:06:54] local.INFO: IMEI packet received {"connection_id":204807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":204807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:06:59] local.INFO: TCP Data received {"connection_id":204807,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:06:59] local.INFO: Processing buffer {"connection_id":204807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:06:59] local.INFO: IMEI packet received {"connection_id":204807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":204807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:07:00] local.INFO: TCP Data received {"connection_id":204807,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:07:00] local.INFO: Processing buffer {"connection_id":204807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:07:00] local.INFO: Packet analysis {"connection_id":204807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:07:00] local.INFO: Extracted packet for processing {"connection_id":204807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:07:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549008384001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791207365000,"timestamp_ms":1791207365000,"timestamp_seconds":1791207365,"priority":1,"record_length":96,"hex_timestamp":"000001a10c475988"} 
[2026-10-05 19:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-05 19:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549008384001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549008384001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:07:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:07:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549008384001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":204807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:07:00] local.INFO: GPS data processed {"connection_id":204807,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:07:00] local.INFO: Acknowledgment sent {"connection_id":204807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:07:05] local.INFO: TCP Data received {"connection_id":204808,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:07:05] local.INFO: Processing buffer {"connection_id":204808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:07:05] local.INFO: IMEI packet received {"connection_id":204808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":204808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:07:06] local.INFO: TCP Data received {"connection_id":204808,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:07:06] local.INFO: Processing buffer {"connection_id":204808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:07:06] local.INFO: IMEI packet received {"connection_id":204808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":204808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:07:10] local.INFO: TCP Data received {"connection_id":207898,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:07:10] local.INFO: Processing buffer {"connection_id":207898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:07:10] local.INFO: Packet analysis {"connection_id":207898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:07:10] local.INFO: Extracted packet for processing {"connection_id":207898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:07:10] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549013504001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791207385000,"timestamp_ms":1791207385000,"timestamp_seconds":1791207385,"priority":1,"record_length":96,"hex_timestamp":"000001a10c47a7a8"} 
[2026-10-05 19:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:07: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-10-05 19:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 19:07:10] 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-10-05 19:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549013504001,"66":12917,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549013504001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:07:10] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:07:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549013504001,"power":12917,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":207898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:07:10] local.INFO: GPS data processed {"connection_id":207898,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:07:10] local.INFO: Acknowledgment sent {"connection_id":207898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:07:10] local.INFO: TCP Data received {"connection_id":204808,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:07:10] local.INFO: Processing buffer {"connection_id":204808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:07:10] local.INFO: IMEI packet received {"connection_id":204808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":204808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:07:11] local.INFO: TCP Data received {"connection_id":204808,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c472e90012d1783000720f6a0003b00e12b..."} 
[2026-10-05 19:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c472e90012d1783000720f6a0003b00e12b..."} 
[2026-10-05 19:07:11] local.INFO: Processing buffer {"connection_id":204808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c472e90012d1783000720f6a0003b00e12b..."} 
[2026-10-05 19:07:11] local.INFO: Packet analysis {"connection_id":204808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:07:11] local.INFO: Extracted packet for processing {"connection_id":204808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:07:11] local.INFO: GPS Element Parsed {"raw_longitude":756515584,"raw_latitude":119600800,"longitude_deg":75.6515584,"latitude_deg":11.96008,"altitude":59,"angle":225,"satellites":43,"speed":24,"hex_longitude":"2d178300","hex_latitude":"0720f6a0","is_valid_coordinates":true} 
[2026-10-05 19:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549079808001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25280804569481216,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701094052369885184,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791207354000,"timestamp_ms":1791207354000,"timestamp_seconds":1791207354,"priority":1,"record_length":96,"hex_timestamp":"000001a10c472e90"} 
[2026-10-05 19:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:07: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-10-05 19:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 19:07:11] 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-10-05 19:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549079808001,"66":12602,"122":206,"28":31744,"24":24,"16":25280804569481216,"45":1701094052369885184},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-10-05 19:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549079808001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:07:11] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-05 19:07:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25280804569481216,"km_value":25280804569481.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701094052369885184,"description":"Unknown IO ID 45"} 
[2026-10-05 19:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549079808001,"power":12602,"unknown_122":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1701094052369885184}} 
[2026-10-05 19:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":204808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:07:11] local.INFO: GPS data processed {"connection_id":204808,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:07:11] local.INFO: Acknowledgment sent {"connection_id":204808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:07:15] local.INFO: TCP Data received {"connection_id":204808,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c476158012d176b400720dca8003500d72d..."} 
[2026-10-05 19:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c476158012d176b400720dca8003500d72d..."} 
[2026-10-05 19:07:15] local.INFO: Processing buffer {"connection_id":204808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c476158012d176b400720dca8003500d72d..."} 
[2026-10-05 19:07:15] local.INFO: Packet analysis {"connection_id":204808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:07:15] local.INFO: Extracted packet for processing {"connection_id":204808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:07:15] local.INFO: GPS Element Parsed {"raw_longitude":756509504,"raw_latitude":119594152,"longitude_deg":75.6509504,"latitude_deg":11.9594152,"altitude":53,"angle":215,"satellites":45,"speed":16,"hex_longitude":"2d176b40","hex_latitude":"0720dca8","is_valid_coordinates":true} 
[2026-10-05 19:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549082624001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25281238361178112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1694197915439243264,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791207367000,"timestamp_ms":1791207367000,"timestamp_seconds":1791207367,"priority":1,"record_length":96,"hex_timestamp":"000001a10c476158"} 
[2026-10-05 19:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 19:07:15] 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-10-05 19:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549082624001,"66":12558,"122":206,"28":31744,"24":16,"16":25281238361178112,"45":1694197915439243264},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-10-05 19:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549082624001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:07:15] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-05 19:07:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25281238361178112,"km_value":25281238361178.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1694197915439243264,"description":"Unknown IO ID 45"} 
[2026-10-05 19:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549082624001,"power":12558,"unknown_122":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1694197915439243264}} 
[2026-10-05 19:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":204808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:07:15] local.INFO: GPS data processed {"connection_id":204808,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:07:15] local.INFO: Acknowledgment sent {"connection_id":204808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:07:31] local.INFO: TCP Data received {"connection_id":204807,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:07:31] local.INFO: Processing buffer {"connection_id":204807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:07:31] local.INFO: Packet analysis {"connection_id":204807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:07:31] local.INFO: Extracted packet for processing {"connection_id":204807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:07:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549008384001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791207365000,"timestamp_ms":1791207365000,"timestamp_seconds":1791207365,"priority":1,"record_length":96,"hex_timestamp":"000001a10c475988"} 
[2026-10-05 19:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-05 19:07:31] 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-10-05 19: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-10-05 19:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549008384001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549008384001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:07:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:07:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549008384001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":204807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:07:31] local.INFO: GPS data processed {"connection_id":204807,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:07:31] local.INFO: Acknowledgment sent {"connection_id":204807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:07:32] local.INFO: TCP Data received {"connection_id":204951,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204951,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:07:32] local.INFO: Processing buffer {"connection_id":204951,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:07:32] local.INFO: IMEI packet received {"connection_id":204951,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":204951,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:07:35] local.INFO: TCP Data received {"connection_id":204951,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204951,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:07:35] local.INFO: Processing buffer {"connection_id":204951,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:07:35] local.INFO: IMEI packet received {"connection_id":204951,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":204951,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:07:36] local.INFO: TCP Data received {"connection_id":204951,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:07:36] local.INFO: Processing buffer {"connection_id":204951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:07:36] local.INFO: Packet analysis {"connection_id":204951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:07:36] local.INFO: Extracted packet for processing {"connection_id":204951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:07:36] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549013504001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791207385000,"timestamp_ms":1791207385000,"timestamp_seconds":1791207385,"priority":1,"record_length":96,"hex_timestamp":"000001a10c47a7a8"} 
[2026-10-05 19:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 19:07:36] 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-10-05 19:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549013504001,"66":12917,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549013504001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:07:36] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:07:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549013504001,"power":12917,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":204951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:07:36] local.INFO: GPS data processed {"connection_id":204951,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:07:36] local.INFO: Acknowledgment sent {"connection_id":204951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:07:46] local.INFO: TCP Data received {"connection_id":204808,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c47b360012d1767400720d7f8003400da2d..."} 
[2026-10-05 19:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c47b360012d1767400720d7f8003400da2d..."} 
[2026-10-05 19:07:46] local.INFO: Processing buffer {"connection_id":204808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c47b360012d1767400720d7f8003400da2d..."} 
[2026-10-05 19:07:46] local.INFO: Packet analysis {"connection_id":204808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:07:46] local.INFO: Extracted packet for processing {"connection_id":204808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:07:46] local.INFO: GPS Element Parsed {"raw_longitude":756508480,"raw_latitude":119592952,"longitude_deg":75.650848,"latitude_deg":11.9592952,"altitude":52,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d176740","hex_latitude":"0720d7f8","is_valid_coordinates":true} 
[2026-10-05 19:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549085952001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25281315670589440,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1687512884740663296,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791207388000,"timestamp_ms":1791207388000,"timestamp_seconds":1791207388,"priority":1,"record_length":96,"hex_timestamp":"000001a10c47b360"} 
[2026-10-05 19:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-10-05 19:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:46] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":40960,"corrected_to":0} 
[2026-10-05 19:07:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249325965668610184,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-10-05 19:07:46] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2818649367,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:46] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2147950930,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4260049,"corrected_to":0} 
[2026-10-05 19:07:46] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308519,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:46] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3478192128,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:46] local.WARNING: Large IO value detected {"io_id":42,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:46] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8791253094361995264,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:46] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:46] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633256071170,"note":"Value kept but may cause issues"} 
[2026-10-05 19:07:46] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,122,28,24,241,158,16,209,161,46,45,246,59,43,10,66,208,3,128,9,44,228,192,1,240,123,12,33,4,113,205,50,173,218,200,239,52,2,89,7,70,42,231,93,206],"length":575,"final_offset":705,"validated_count":45,"validation_warnings":[{"io_id":246,"original":40960,"validated":0},{"io_id":205,"original":3883532494,"validated":0},{"io_id":200,"original":4260049,"validated":0}]} 
[2026-10-05 19:07:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819289072284729344,"timestamp_seconds":3819289072284729.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 19:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549085952001,"66":12428,"122":206,"28":31744,"24":0,"16":25281315670589440,"45":1687512884740663296},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-10-05 19:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549085952001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:07:46] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-05 19:07:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25281315670589440,"km_value":25281315670589.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1687512884740663296,"description":"Unknown IO ID 45"} 
[2026-10-05 19:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549085952001,"power":12428,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1687512884740663296}} 
[2026-10-05 19:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":204808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:07:46] local.INFO: GPS data processed {"connection_id":204808,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:07:46] local.INFO: Acknowledgment sent {"connection_id":204808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:07:54] local.INFO: TCP Data received {"connection_id":206345,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:07:54] local.INFO: Processing buffer {"connection_id":206345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:07:54] local.INFO: IMEI packet received {"connection_id":206345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":206345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:07:59] local.INFO: TCP Data received {"connection_id":206345,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:07:59] local.INFO: Processing buffer {"connection_id":206345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:07:59] local.INFO: IMEI packet received {"connection_id":206345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":206345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:08:00] local.INFO: TCP Data received {"connection_id":206345,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:08:00] local.INFO: Processing buffer {"connection_id":206345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:08:00] local.INFO: Packet analysis {"connection_id":206345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:08:00] local.INFO: Extracted packet for processing {"connection_id":206345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:08:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549008384001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791207365000,"timestamp_ms":1791207365000,"timestamp_seconds":1791207365,"priority":1,"record_length":96,"hex_timestamp":"000001a10c475988"} 
[2026-10-05 19:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-05 19:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:08:00] 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-10-05 19:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549008384001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549008384001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:08:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:08:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549008384001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":206345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:08:00] local.INFO: GPS data processed {"connection_id":206345,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:08:00] local.INFO: Acknowledgment sent {"connection_id":206345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:08:04] local.INFO: TCP Data received {"connection_id":204809,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:08:04] local.INFO: Processing buffer {"connection_id":204809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:08:04] local.INFO: IMEI packet received {"connection_id":204809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":204809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:08:08] local.INFO: TCP Data received {"connection_id":204951,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:08:08] local.INFO: Processing buffer {"connection_id":204951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:08:08] local.INFO: Packet analysis {"connection_id":204951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:08:08] local.INFO: Extracted packet for processing {"connection_id":204951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:08:08] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549013504001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791207385000,"timestamp_ms":1791207385000,"timestamp_seconds":1791207385,"priority":1,"record_length":96,"hex_timestamp":"000001a10c47a7a8"} 
[2026-10-05 19:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 19:08:08] 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-10-05 19:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549013504001,"66":12917,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549013504001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:08:08] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:08:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549013504001,"power":12917,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":204951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:08:08] local.INFO: GPS data processed {"connection_id":204951,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:08:08] local.INFO: Acknowledgment sent {"connection_id":204951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:08:10] local.INFO: TCP Data received {"connection_id":204809,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:08:10] local.INFO: Processing buffer {"connection_id":204809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:08:10] local.INFO: IMEI packet received {"connection_id":204809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":204809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:08:11] local.INFO: TCP Data received {"connection_id":204809,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c47d688012d1766000720d8c00035014b2d..."} 
[2026-10-05 19:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c47d688012d1766000720d8c00035014b2d..."} 
[2026-10-05 19:08:11] local.INFO: Processing buffer {"connection_id":204809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c47d688012d1766000720d8c00035014b2d..."} 
[2026-10-05 19:08:11] local.INFO: Packet analysis {"connection_id":204809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:08:11] local.INFO: Extracted packet for processing {"connection_id":204809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:08:11] local.INFO: GPS Element Parsed {"raw_longitude":756508160,"raw_latitude":119593152,"longitude_deg":75.650816,"latitude_deg":11.9593152,"altitude":53,"angle":331,"satellites":45,"speed":7,"hex_longitude":"2d176600","hex_latitude":"0720d8c0","is_valid_coordinates":true} 
[2026-10-05 19:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549091328001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25281332850458624,"note":"Value kept but may cause issues"} 
[2026-10-05 19:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1686386984833513472,"note":"Value kept but may cause issues"} 
[2026-10-05 19:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791207397000,"timestamp_ms":1791207397000,"timestamp_seconds":1791207397,"priority":1,"record_length":96,"hex_timestamp":"000001a10c47d688"} 
[2026-10-05 19:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:08: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-10-05 19:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-05 19:08:11] 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-10-05 19:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549091328001,"66":13417,"122":206,"28":31744,"24":7,"16":25281332850458624,"45":1686386984833513472},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-10-05 19:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549091328001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:08:11] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-05 19:08:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25281332850458624,"km_value":25281332850458.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1686386984833513472,"description":"Unknown IO ID 45"} 
[2026-10-05 19:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549091328001,"power":13417,"unknown_122":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1686386984833513472}} 
[2026-10-05 19:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":204809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:08:11] local.INFO: GPS data processed {"connection_id":204809,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:08:11] local.INFO: Acknowledgment sent {"connection_id":204809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:08:31] local.INFO: TCP Data received {"connection_id":206345,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:08:31] local.INFO: Processing buffer {"connection_id":206345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:08:31] local.INFO: Packet analysis {"connection_id":206345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:08:31] local.INFO: Extracted packet for processing {"connection_id":206345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:08:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549008384001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791207365000,"timestamp_ms":1791207365000,"timestamp_seconds":1791207365,"priority":1,"record_length":96,"hex_timestamp":"000001a10c475988"} 
[2026-10-05 19:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-05 19:08:31] 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-10-05 19: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-10-05 19:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:08:31] 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-10-05 19:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549008384001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549008384001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:08:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:08:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549008384001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":206345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:08:31] local.INFO: GPS data processed {"connection_id":206345,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:08:31] local.INFO: Acknowledgment sent {"connection_id":206345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:08:36] local.INFO: TCP Data received {"connection_id":204952,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:08:36] local.INFO: Processing buffer {"connection_id":204952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:08:36] local.INFO: IMEI packet received {"connection_id":204952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":204952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:08:40] local.INFO: TCP Data received {"connection_id":204952,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:08:40] local.INFO: Processing buffer {"connection_id":204952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:08:40] local.INFO: IMEI packet received {"connection_id":204952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":204952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:08:42] local.INFO: TCP Data received {"connection_id":204952,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:08:42] local.INFO: Processing buffer {"connection_id":204952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:08:42] local.INFO: Packet analysis {"connection_id":204952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:08:42] local.INFO: Extracted packet for processing {"connection_id":204952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:08:42] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549013504001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791207385000,"timestamp_ms":1791207385000,"timestamp_seconds":1791207385,"priority":1,"record_length":96,"hex_timestamp":"000001a10c47a7a8"} 
[2026-10-05 19:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 19:08:42] 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-10-05 19:08: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-10-05 19:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549013504001,"66":12917,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549013504001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:08:42] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:08:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549013504001,"power":12917,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":204952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969410,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:08:42] local.INFO: GPS data processed {"connection_id":204952,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:08:42] local.INFO: Acknowledgment sent {"connection_id":204952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:08:43] local.INFO: TCP Data received {"connection_id":204809,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c47da70012d1765c00720d9600035015c2d..."} 
[2026-10-05 19:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c47da70012d1765c00720d9600035015c2d..."} 
[2026-10-05 19:08:43] local.INFO: Processing buffer {"connection_id":204809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c47da70012d1765c00720d9600035015c2d..."} 
[2026-10-05 19:08:43] local.INFO: Packet analysis {"connection_id":204809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:08:43] local.INFO: Extracted packet for processing {"connection_id":204809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:08:43] local.INFO: GPS Element Parsed {"raw_longitude":756508096,"raw_latitude":119593312,"longitude_deg":75.6508096,"latitude_deg":11.9593312,"altitude":53,"angle":348,"satellites":45,"speed":7,"hex_longitude":"2d1765c0","hex_latitude":"0720d960","is_valid_coordinates":true} 
[2026-10-05 19:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549093632001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25281341440393216,"note":"Value kept but may cause issues"} 
[2026-10-05 19:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1686035141112676352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791207398000,"timestamp_ms":1791207398000,"timestamp_seconds":1791207398,"priority":1,"record_length":96,"hex_timestamp":"000001a10c47da70"} 
[2026-10-05 19:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:08: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-10-05 19:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-10-05 19:08:43] 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-10-05 19:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549093632001,"66":13417,"122":206,"28":31744,"24":7,"16":25281341440393216,"45":1686035141112676352},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-10-05 19:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549093632001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:08:43] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-05 19:08:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25281341440393216,"km_value":25281341440393.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1686035141112676352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549093632001,"power":13417,"unknown_122":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1686035141112676352}} 
[2026-10-05 19:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":204809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:08:43] local.INFO: GPS data processed {"connection_id":204809,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:08:43] local.INFO: Acknowledgment sent {"connection_id":204809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:08:46] local.INFO: TCP Data received {"connection_id":204952,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:08:46] local.INFO: Processing buffer {"connection_id":204952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:08:46] local.INFO: Packet analysis {"connection_id":204952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:08:46] local.INFO: Extracted packet for processing {"connection_id":204952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:08:46] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549013504001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791207385000,"timestamp_ms":1791207385000,"timestamp_seconds":1791207385,"priority":1,"record_length":96,"hex_timestamp":"000001a10c47a7a8"} 
[2026-10-05 19:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 19:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:08: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-10-05 19:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549013504001,"66":12917,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549013504001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:08:46] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:08:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549013504001,"power":12917,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":204952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:08:46] local.INFO: GPS data processed {"connection_id":204952,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:08:46] local.INFO: Acknowledgment sent {"connection_id":204952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:08:54] local.INFO: TCP Data received {"connection_id":204810,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:08:54] local.INFO: Processing buffer {"connection_id":204810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:08:54] local.INFO: IMEI packet received {"connection_id":204810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":204810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:08:59] local.INFO: TCP Data received {"connection_id":204810,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:08:59] local.INFO: Processing buffer {"connection_id":204810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:08:59] local.INFO: IMEI packet received {"connection_id":204810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":204810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:09:00] local.INFO: TCP Data received {"connection_id":204810,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:09:00] local.INFO: Processing buffer {"connection_id":204810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:09:00] local.INFO: Packet analysis {"connection_id":204810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:09:00] local.INFO: Extracted packet for processing {"connection_id":204810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:09:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549008384001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791207365000,"timestamp_ms":1791207365000,"timestamp_seconds":1791207365,"priority":1,"record_length":96,"hex_timestamp":"000001a10c475988"} 
[2026-10-05 19:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":86,"data_length":795,"current_offset":136} 
[2026-10-05 19:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549008384001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549008384001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:09:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:09:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549008384001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":204810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:09:00] local.INFO: GPS data processed {"connection_id":204810,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:09:00] local.INFO: Acknowledgment sent {"connection_id":204810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:09:10] local.INFO: TCP Data received {"connection_id":206346,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:09:10] local.INFO: Processing buffer {"connection_id":206346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:09:10] local.INFO: IMEI packet received {"connection_id":206346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":206346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:09:15] local.INFO: TCP Data received {"connection_id":206346,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:09:15] local.INFO: Processing buffer {"connection_id":206346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:09:15] local.INFO: IMEI packet received {"connection_id":206346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":206346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:09:16] local.INFO: TCP Data received {"connection_id":206346,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c47de58012d1765c00720da18003500052d..."} 
[2026-10-05 19:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c47de58012d1765c00720da18003500052d..."} 
[2026-10-05 19:09:16] local.INFO: Processing buffer {"connection_id":206346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c47de58012d1765c00720da18003500052d..."} 
[2026-10-05 19:09:16] local.INFO: Packet analysis {"connection_id":206346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:09:16] local.INFO: Extracted packet for processing {"connection_id":206346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:09:16] local.INFO: GPS Element Parsed {"raw_longitude":756508096,"raw_latitude":119593496,"longitude_deg":75.6508096,"latitude_deg":11.9593496,"altitude":53,"angle":5,"satellites":45,"speed":7,"hex_longitude":"2d1765c0","hex_latitude":"0720da18","is_valid_coordinates":true} 
[2026-10-05 19:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549093888001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25281350030327808,"note":"Value kept but may cause issues"} 
[2026-10-05 19:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1685964772368539648,"note":"Value kept but may cause issues"} 
[2026-10-05 19:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791207399000,"timestamp_ms":1791207399000,"timestamp_seconds":1791207399,"priority":1,"record_length":96,"hex_timestamp":"000001a10c47de58"} 
[2026-10-05 19:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:09: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-10-05 19:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-10-05 19:09:16] 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-10-05 19:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":206346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":206346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":206346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549093888001,"66":13450,"122":206,"28":31744,"24":7,"16":25281350030327808,"45":1685964772368539648},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-10-05 19:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549093888001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:09:16] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-05 19:09:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25281350030327808,"km_value":25281350030327.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1685964772368539648,"description":"Unknown IO ID 45"} 
[2026-10-05 19:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549093888001,"power":13450,"unknown_122":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1685964772368539648}} 
[2026-10-05 19:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":206346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:09:16] local.INFO: GPS data processed {"connection_id":206346,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:09:16] local.INFO: Acknowledgment sent {"connection_id":206346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:09:31] local.INFO: TCP Data received {"connection_id":204811,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204811,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:09:31] local.INFO: Processing buffer {"connection_id":204811,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:09:31] local.INFO: IMEI packet received {"connection_id":204811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":204811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:09:31] local.INFO: TCP Data received {"connection_id":204810,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:09:31] local.INFO: Processing buffer {"connection_id":204810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:09:31] local.INFO: Packet analysis {"connection_id":204810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:09:31] local.INFO: Extracted packet for processing {"connection_id":204810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:09:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549008384001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791207365000,"timestamp_ms":1791207365000,"timestamp_seconds":1791207365,"priority":1,"record_length":96,"hex_timestamp":"000001a10c475988"} 
[2026-10-05 19:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-05 19:09:31] 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-10-05 19:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549008384001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549008384001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:09:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:09:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549008384001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":204810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:09:31] local.INFO: GPS data processed {"connection_id":204810,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:09:31] local.INFO: Acknowledgment sent {"connection_id":204810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:09:35] local.INFO: TCP Data received {"connection_id":204811,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204811,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:09:35] local.INFO: Processing buffer {"connection_id":204811,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:09:35] local.INFO: IMEI packet received {"connection_id":204811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":204811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:09:37] local.INFO: TCP Data received {"connection_id":204811,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:09:37] local.INFO: Processing buffer {"connection_id":204811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:09:37] local.INFO: Packet analysis {"connection_id":204811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:09:37] local.INFO: Extracted packet for processing {"connection_id":204811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:09:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 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-10-05 19:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549013504001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791207385000,"timestamp_ms":1791207385000,"timestamp_seconds":1791207385,"priority":1,"record_length":96,"hex_timestamp":"000001a10c47a7a8"} 
[2026-10-05 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-10-05 19:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 19:09:37] 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-10-05 19:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 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-10-05 19:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549013504001,"66":12917,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549013504001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:09:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:09:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549013504001,"power":12917,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":204811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969416,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:09:37] local.INFO: GPS data processed {"connection_id":204811,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:09:37] local.INFO: Acknowledgment sent {"connection_id":204811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:09:48] local.INFO: TCP Data received {"connection_id":206346,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c497498012d180ec007219418004400252d..."} 
[2026-10-05 19:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c497498012d180ec007219418004400252d..."} 
[2026-10-05 19:09:48] local.INFO: Processing buffer {"connection_id":206346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c497498012d180ec007219418004400252d..."} 
[2026-10-05 19:09:48] local.INFO: Packet analysis {"connection_id":206346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c49"} 
[2026-10-05 19:09:48] local.INFO: Extracted packet for processing {"connection_id":206346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c49"} 
[2026-10-05 19:09:48] local.INFO: GPS Element Parsed {"raw_longitude":756551360,"raw_latitude":119641112,"longitude_deg":75.655136,"latitude_deg":11.9641112,"altitude":68,"angle":37,"satellites":45,"speed":31,"hex_longitude":"2d180ec0","hex_latitude":"07219418","is_valid_coordinates":true} 
[2026-10-05 19:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549117952001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25284485356453888,"note":"Value kept but may cause issues"} 
[2026-10-05 19:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1725793481583740928,"note":"Value kept but may cause issues"} 
[2026-10-05 19:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791207503000,"timestamp_ms":1791207503000,"timestamp_seconds":1791207503,"priority":1,"record_length":96,"hex_timestamp":"000001a10c497498"} 
[2026-10-05 19:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 19:09:48] 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-10-05 19:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":206346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":206346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":206346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549117952001,"66":12972,"120":206,"28":31744,"24":31,"16":25284485356453888,"45":1725793481583740928},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549117952001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:09:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:09:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25284485356453888,"km_value":25284485356453.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1725793481583740928,"description":"Unknown IO ID 45"} 
[2026-10-05 19:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549117952001,"power":12972,"unknown_120":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1725793481583740928}} 
[2026-10-05 19:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":206346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:09:48] local.INFO: GPS data processed {"connection_id":206346,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:09:48] local.INFO: Acknowledgment sent {"connection_id":206346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:09:54] local.INFO: TCP Data received {"connection_id":204812,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:09:54] local.INFO: Processing buffer {"connection_id":204812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:09:54] local.INFO: IMEI packet received {"connection_id":204812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":204812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:09:59] local.INFO: TCP Data received {"connection_id":204812,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:09:59] local.INFO: Processing buffer {"connection_id":204812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:09:59] local.INFO: IMEI packet received {"connection_id":204812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":204812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:10:00] local.INFO: TCP Data received {"connection_id":204812,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:10:00] local.INFO: Processing buffer {"connection_id":204812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:10:00] local.INFO: Packet analysis {"connection_id":204812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:10:00] local.INFO: Extracted packet for processing {"connection_id":204812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:10:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549008384001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791207365000,"timestamp_ms":1791207365000,"timestamp_seconds":1791207365,"priority":1,"record_length":96,"hex_timestamp":"000001a10c475988"} 
[2026-10-05 19:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":86,"data_length":795,"current_offset":136} 
[2026-10-05 19:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549008384001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549008384001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:10:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:10:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549008384001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":204812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:10:00] local.INFO: GPS data processed {"connection_id":204812,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:10:00] local.INFO: Acknowledgment sent {"connection_id":204812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:10:05] local.INFO: TCP Data received {"connection_id":204953,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:10:05] local.INFO: Processing buffer {"connection_id":204953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:10:05] local.INFO: IMEI packet received {"connection_id":204953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":204953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:10:08] local.INFO: TCP Data received {"connection_id":204953,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:10:08] local.INFO: Processing buffer {"connection_id":204953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:10:08] local.INFO: IMEI packet received {"connection_id":204953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":204953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:10:09] local.INFO: TCP Data received {"connection_id":204811,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:10:09] local.INFO: Processing buffer {"connection_id":204811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:10:09] local.INFO: Packet analysis {"connection_id":204811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:10:09] local.INFO: Extracted packet for processing {"connection_id":204811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:10:09] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549013504001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791207385000,"timestamp_ms":1791207385000,"timestamp_seconds":1791207385,"priority":1,"record_length":96,"hex_timestamp":"000001a10c47a7a8"} 
[2026-10-05 19:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 19:10:09] 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-10-05 19: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-10-05 19:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549013504001,"66":12917,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549013504001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:10:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:10:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549013504001,"power":12917,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":204811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:10:09] local.INFO: GPS data processed {"connection_id":204811,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:10:09] local.INFO: Acknowledgment sent {"connection_id":204811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:10:10] local.INFO: TCP Data received {"connection_id":204953,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c49c6a0012d181e800721ae180046001d2d..."} 
[2026-10-05 19:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c49c6a0012d181e800721ae180046001d2d..."} 
[2026-10-05 19:10:10] local.INFO: Processing buffer {"connection_id":204953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c49c6a0012d181e800721ae180046001d2d..."} 
[2026-10-05 19:10:10] local.INFO: Packet analysis {"connection_id":204953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c49"} 
[2026-10-05 19:10:10] local.INFO: Extracted packet for processing {"connection_id":204953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c49"} 
[2026-10-05 19:10:10] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647768,"longitude_deg":75.6555392,"latitude_deg":11.9647768,"altitude":70,"angle":29,"satellites":45,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549120768001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25284893378347008,"note":"Value kept but may cause issues"} 
[2026-10-05 19:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733534043444877312,"note":"Value kept but may cause issues"} 
[2026-10-05 19:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791207524000,"timestamp_ms":1791207524000,"timestamp_seconds":1791207524,"priority":1,"record_length":96,"hex_timestamp":"000001a10c49c6a0"} 
[2026-10-05 19:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:10: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-10-05 19: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 19:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549120768001,"66":12950,"120":206,"28":31744,"24":0,"16":25284893378347008,"45":1733534043444877312},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549120768001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:10:10] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:10:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25284893378347008,"km_value":25284893378347.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733534043444877312,"description":"Unknown IO ID 45"} 
[2026-10-05 19:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549120768001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1733534043444877312}} 
[2026-10-05 19:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":204953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:10:10] local.INFO: GPS data processed {"connection_id":204953,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:10:10] local.INFO: Acknowledgment sent {"connection_id":204953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:10:30] local.INFO: TCP Data received {"connection_id":204954,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:10:30] local.INFO: Processing buffer {"connection_id":204954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:10:30] local.INFO: IMEI packet received {"connection_id":204954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":204954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:10:31] local.INFO: TCP Data received {"connection_id":204812,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:10:31] local.INFO: Processing buffer {"connection_id":204812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:10:31] local.INFO: Packet analysis {"connection_id":204812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:10:31] local.INFO: Extracted packet for processing {"connection_id":204812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:10:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549008384001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791207365000,"timestamp_ms":1791207365000,"timestamp_seconds":1791207365,"priority":1,"record_length":96,"hex_timestamp":"000001a10c475988"} 
[2026-10-05 19:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":86,"data_length":795,"current_offset":136} 
[2026-10-05 19:10:31] 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-10-05 19: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-10-05 19:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:10: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-10-05 19:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549008384001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549008384001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:10:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:10:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549008384001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":204812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:10:31] local.INFO: GPS data processed {"connection_id":204812,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:10:31] local.INFO: Acknowledgment sent {"connection_id":204812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:10:36] local.INFO: TCP Data received {"connection_id":204954,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:10:36] local.INFO: Processing buffer {"connection_id":204954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:10:36] local.INFO: IMEI packet received {"connection_id":204954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":204954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:10:37] local.INFO: TCP Data received {"connection_id":204954,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:10:37] local.INFO: Processing buffer {"connection_id":204954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:10:37] local.INFO: Packet analysis {"connection_id":204954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:10:37] local.INFO: Extracted packet for processing {"connection_id":204954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:10:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549013504001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791207385000,"timestamp_ms":1791207385000,"timestamp_seconds":1791207385,"priority":1,"record_length":96,"hex_timestamp":"000001a10c47a7a8"} 
[2026-10-05 19:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 19:10:37] 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-10-05 19:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:10:37] 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-10-05 19:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549013504001,"66":12917,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549013504001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:10:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:10:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549013504001,"power":12917,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":204954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:10:37] local.INFO: GPS data processed {"connection_id":204954,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:10:37] local.INFO: Acknowledgment sent {"connection_id":204954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:10:41] local.INFO: TCP Data received {"connection_id":204953,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c49d640012d181e000721ad20004600cc2d..."} 
[2026-10-05 19:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c49d640012d181e000721ad20004600cc2d..."} 
[2026-10-05 19:10:41] local.INFO: Processing buffer {"connection_id":204953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c49d640012d181e000721ad20004600cc2d..."} 
[2026-10-05 19:10:41] local.INFO: Packet analysis {"connection_id":204953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c49"} 
[2026-10-05 19:10:41] local.INFO: Extracted packet for processing {"connection_id":204953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c49"} 
[2026-10-05 19:10:41] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":70,"angle":204,"satellites":45,"speed":7,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549126144001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25284906263248896,"note":"Value kept but may cause issues"} 
[2026-10-05 19:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329774080,"note":"Value kept but may cause issues"} 
[2026-10-05 19:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791207528000,"timestamp_ms":1791207528000,"timestamp_seconds":1791207528,"priority":1,"record_length":96,"hex_timestamp":"000001a10c49d640"} 
[2026-10-05 19:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:10: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-10-05 19: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 19:10:41] 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-10-05 19: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-10-05 19:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549126144001,"66":12950,"120":206,"28":31744,"24":7,"16":25284906263248896,"45":1737967274329774080},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549126144001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:10:41] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:10:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25284906263248896,"km_value":25284906263248.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329774080,"description":"Unknown IO ID 45"} 
[2026-10-05 19:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549126144001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1737967274329774080}} 
[2026-10-05 19:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":204953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:10:41] local.INFO: GPS data processed {"connection_id":204953,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:10:41] local.INFO: Acknowledgment sent {"connection_id":204953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:10:54] local.INFO: TCP Data received {"connection_id":206347,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:10:54] local.INFO: Processing buffer {"connection_id":206347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:10:54] local.INFO: IMEI packet received {"connection_id":206347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":206347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:10:59] local.INFO: TCP Data received {"connection_id":206347,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:10:59] local.INFO: Processing buffer {"connection_id":206347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:10:59] local.INFO: IMEI packet received {"connection_id":206347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":206347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:11:00] local.INFO: TCP Data received {"connection_id":206347,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:11:00] local.INFO: Processing buffer {"connection_id":206347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:11:00] local.INFO: Packet analysis {"connection_id":206347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:11:00] local.INFO: Extracted packet for processing {"connection_id":206347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:11:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549008384001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791207365000,"timestamp_ms":1791207365000,"timestamp_seconds":1791207365,"priority":1,"record_length":96,"hex_timestamp":"000001a10c475988"} 
[2026-10-05 19:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":86,"data_length":795,"current_offset":136} 
[2026-10-05 19:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:11:00] 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-10-05 19:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549008384001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549008384001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:11:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:11:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549008384001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":206347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:11:00] local.INFO: GPS data processed {"connection_id":206347,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:11:00] local.INFO: Acknowledgment sent {"connection_id":206347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:11:04] local.INFO: TCP Data received {"connection_id":207900,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:11:04] local.INFO: Processing buffer {"connection_id":207900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:11:04] local.INFO: IMEI packet received {"connection_id":207900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":207900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:11:09] local.INFO: TCP Data received {"connection_id":204954,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:11:09] local.INFO: Processing buffer {"connection_id":204954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c47a7a8012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:11:09] local.INFO: Packet analysis {"connection_id":204954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:11:09] local.INFO: Extracted packet for processing {"connection_id":204954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:11:09] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549013504001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791207385000,"timestamp_ms":1791207385000,"timestamp_seconds":1791207385,"priority":1,"record_length":96,"hex_timestamp":"000001a10c47a7a8"} 
[2026-10-05 19:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-05 19:11:09] 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-10-05 19:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:11:09] 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-10-05 19:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549013504001,"66":12917,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549013504001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:11:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:11:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549013504001,"power":12917,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":204954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969425,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:11:09] local.INFO: GPS data processed {"connection_id":204954,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:11:09] local.INFO: Acknowledgment sent {"connection_id":204954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:11:09] local.INFO: TCP Data received {"connection_id":207900,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:11:09] local.INFO: Processing buffer {"connection_id":207900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:11:09] local.INFO: IMEI packet received {"connection_id":207900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":207900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:11:10] local.INFO: TCP Data received {"connection_id":207900,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4a2c30012d181dc00721ac50004600d02b..."} 
[2026-10-05 19:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4a2c30012d181dc00721ac50004600d02b..."} 
[2026-10-05 19:11:10] local.INFO: Processing buffer {"connection_id":207900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4a2c30012d181dc00721ac50004600d02b..."} 
[2026-10-05 19:11:10] local.INFO: Packet analysis {"connection_id":207900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4a"} 
[2026-10-05 19:11:10] local.INFO: Extracted packet for processing {"connection_id":207900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4a"} 
[2026-10-05 19:11:10] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647312,"longitude_deg":75.65552,"latitude_deg":11.9647312,"altitude":70,"angle":208,"satellites":43,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ac50","is_valid_coordinates":true} 
[2026-10-05 19:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549127168001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25284919148150784,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791207550000,"timestamp_ms":1791207550000,"timestamp_seconds":1791207550,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4a2c30"} 
[2026-10-05 19:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:11: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-10-05 19:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 19:11:10] 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-10-05 19:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549127168001,"66":12885,"120":206,"28":31744,"24":0,"16":25284919148150784,"45":1737826536841355264},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549127168001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:11:10] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:11:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25284919148150784,"km_value":25284919148150.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-10-05 19:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549127168001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-10-05 19:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":207900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:11:11] local.INFO: GPS data processed {"connection_id":207900,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:11:11] local.INFO: Acknowledgment sent {"connection_id":207900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:11:11] local.INFO: TCP Data received {"connection_id":207901,"ip":"117.225.152.150","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207901,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:11:11] local.INFO: Processing buffer {"connection_id":207901,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:11:11] local.INFO: IMEI packet received {"connection_id":207901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 19:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":207901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:11:12] local.INFO: TCP Data received {"connection_id":207901,"ip":"117.225.152.150","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207901,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:11:12] local.INFO: Processing buffer {"connection_id":207901,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:11:12] local.INFO: IMEI packet received {"connection_id":207901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 19:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":207901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:11:14] local.INFO: TCP Data received {"connection_id":207901,"ip":"117.225.152.150","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4aeb98012c0659800aead9b002d501352e..."} 
[2026-10-05 19:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4aeb98012c0659800aead9b002d501352e..."} 
[2026-10-05 19:11:14] local.INFO: Processing buffer {"connection_id":207901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4aeb98012c0659800aead9b002d501352e..."} 
[2026-10-05 19:11:14] local.INFO: Packet analysis {"connection_id":207901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4a"} 
[2026-10-05 19:11:14] local.INFO: Extracted packet for processing {"connection_id":207901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4a"} 
[2026-10-05 19:11:14] local.INFO: GPS Element Parsed {"raw_longitude":738613632,"raw_latitude":183163312,"longitude_deg":73.8613632,"latitude_deg":18.3163312,"altitude":725,"angle":309,"satellites":46,"speed":53,"hex_longitude":"2c065980","hex_latitude":"0aead9b0","is_valid_coordinates":true} 
[2026-10-05 19:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549143552001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9690687465324544,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":466122608321060866,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791207599000,"timestamp_ms":1791207599000,"timestamp_seconds":1791207599,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4aeb98"} 
[2026-10-05 19:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:11: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-10-05 19:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-05 19:11:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":207901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":207901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 19:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":207901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 19:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.152.150","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 19:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 19:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549143552001,"66":27463,"204":206,"3":64256,"24":53,"16":9690687465324544,"44":466122608321060866},"client_ip":"117.225.152.150","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,3,24,16,44]} 
[2026-10-05 19:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 19:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 19:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549143552001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:11:14] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-10-05 19:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9690687465324544,"km_value":9690687465324.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:11:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":466122608321060866,"description":"Unknown IO ID 44"} 
[2026-10-05 19:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549143552001,"power":27463,"lac":206,"unknown_3":64256,"ignition":53,"odometer":null,"unknown_44":466122608321060866}} 
[2026-10-05 19:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":207901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969427,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:11:14] local.INFO: GPS data processed {"connection_id":207901,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:11:14] local.INFO: Acknowledgment sent {"connection_id":207901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:11:17] local.INFO: TCP Data received {"connection_id":207901,"ip":"117.225.152.150","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4b06f0012c063c000aeaf02002d701332e..."} 
[2026-10-05 19:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4b06f0012c063c000aeaf02002d701332e..."} 
[2026-10-05 19:11:17] local.INFO: Processing buffer {"connection_id":207901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4b06f0012c063c000aeaf02002d701332e..."} 
[2026-10-05 19:11:17] local.INFO: Packet analysis {"connection_id":207901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:11:17] local.INFO: Extracted packet for processing {"connection_id":207901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:11:17] local.INFO: GPS Element Parsed {"raw_longitude":738606080,"raw_latitude":183169056,"longitude_deg":73.860608,"latitude_deg":18.3169056,"altitude":727,"angle":307,"satellites":46,"speed":51,"hex_longitude":"2c063c00","hex_latitude":"0aeaf020","is_valid_coordinates":true} 
[2026-10-05 19:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549145344001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9691134141923328,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":457537621532979202,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791207606000,"timestamp_ms":1791207606000,"timestamp_seconds":1791207606,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4b06f0"} 
[2026-10-05 19:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-05 19:11:17] 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-10-05 19:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":207901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":207901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 19:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":207901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 19:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.152.150","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 19:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 19:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549145344001,"66":27376,"204":206,"3":64256,"24":51,"16":9691134141923328,"44":457537621532979202},"client_ip":"117.225.152.150","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,3,24,16,44]} 
[2026-10-05 19:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 19:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 19:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549145344001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:11:17] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-10-05 19:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9691134141923328,"km_value":9691134141923.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:11:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":457537621532979202,"description":"Unknown IO ID 44"} 
[2026-10-05 19:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549145344001,"power":27376,"lac":206,"unknown_3":64256,"ignition":51,"odometer":null,"unknown_44":457537621532979202}} 
[2026-10-05 19:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":207901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969428,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:11:17] local.INFO: GPS data processed {"connection_id":207901,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:11:17] local.INFO: Acknowledgment sent {"connection_id":207901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:11:31] local.INFO: TCP Data received {"connection_id":206347,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:11:31] local.INFO: Processing buffer {"connection_id":206347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c475988012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:11:31] local.INFO: Packet analysis {"connection_id":206347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:11:31] local.INFO: Extracted packet for processing {"connection_id":206347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c47"} 
[2026-10-05 19:11:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549008384001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791207365000,"timestamp_ms":1791207365000,"timestamp_seconds":1791207365,"priority":1,"record_length":96,"hex_timestamp":"000001a10c475988"} 
[2026-10-05 19:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-05 19:11:31] 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-10-05 19: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-10-05 19:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:11:31] 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-10-05 19:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549008384001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549008384001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:11:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:11:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549008384001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":206347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:11:31] local.INFO: GPS data processed {"connection_id":206347,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:11:31] local.INFO: Acknowledgment sent {"connection_id":206347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:11:35] local.INFO: TCP Data received {"connection_id":207902,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:11:35] local.INFO: Processing buffer {"connection_id":207902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:11:35] local.INFO: IMEI packet received {"connection_id":207902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":207902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:11:39] local.INFO: TCP Data received {"connection_id":206348,"ip":"117.225.152.150","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:11:39] local.INFO: Processing buffer {"connection_id":206348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:11:39] local.INFO: IMEI packet received {"connection_id":206348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 19:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":206348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:11:40] local.INFO: TCP Data received {"connection_id":207902,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:11:40] local.INFO: Processing buffer {"connection_id":207902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:11:40] local.INFO: IMEI packet received {"connection_id":207902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":207902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:11:41] local.INFO: TCP Data received {"connection_id":207902,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:11:41] local.INFO: Processing buffer {"connection_id":207902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:11:41] local.INFO: Packet analysis {"connection_id":207902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:11:41] local.INFO: Extracted packet for processing {"connection_id":207902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:11:41] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:11: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-10-05 19:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549090560001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791207686000,"timestamp_ms":1791207686000,"timestamp_seconds":1791207686,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4c3f70"} 
[2026-10-05 19:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:11: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":117,"data_length":795,"current_offset":136} 
[2026-10-05 19:11:41] 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-10-05 19:11: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-10-05 19:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":207902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":207902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":207902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549090560001,"66":12863,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549090560001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:11:41] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:11:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549090560001,"power":12863,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":207902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:11:42] local.INFO: GPS data processed {"connection_id":207902,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:11:42] local.INFO: Acknowledgment sent {"connection_id":207902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:11:42] local.INFO: TCP Data received {"connection_id":206348,"ip":"117.225.152.150","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:11:42] local.INFO: Processing buffer {"connection_id":206348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:11:42] local.INFO: IMEI packet received {"connection_id":206348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 19:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":206348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:11:43] local.INFO: TCP Data received {"connection_id":207900,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4a7e38012d181dc00721ac50004600d02a..."} 
[2026-10-05 19:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4a7e38012d181dc00721ac50004600d02a..."} 
[2026-10-05 19:11:43] local.INFO: Processing buffer {"connection_id":207900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4a7e38012d181dc00721ac50004600d02a..."} 
[2026-10-05 19:11:43] local.INFO: Packet analysis {"connection_id":207900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4a"} 
[2026-10-05 19:11:43] local.INFO: Extracted packet for processing {"connection_id":207900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4a"} 
[2026-10-05 19:11:43] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647312,"longitude_deg":75.65552,"latitude_deg":11.9647312,"altitude":70,"angle":208,"satellites":42,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ac50","is_valid_coordinates":true} 
[2026-10-05 19:11: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-10-05 19:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549132800001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25284919148150784,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097124352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791207571000,"timestamp_ms":1791207571000,"timestamp_seconds":1791207571,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4a7e38"} 
[2026-10-05 19:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:11: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-10-05 19:11: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":85,"data_length":795,"current_offset":136} 
[2026-10-05 19:11:43] 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-10-05 19:11: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-10-05 19:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549132800001,"66":12863,"120":206,"28":31744,"24":0,"16":25284919148150784,"45":1737756168097124352},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549132800001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:11:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:11:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25284919148150784,"km_value":25284919148150.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097124352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549132800001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097124352}} 
[2026-10-05 19:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":207900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:11:43] local.INFO: GPS data processed {"connection_id":207900,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:11:43] local.INFO: Acknowledgment sent {"connection_id":207900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:11:43] local.INFO: TCP Data received {"connection_id":206348,"ip":"117.225.152.150","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4b2630012c061c000aeb088002d901352f..."} 
[2026-10-05 19:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4b2630012c061c000aeb088002d901352f..."} 
[2026-10-05 19:11:43] local.INFO: Processing buffer {"connection_id":206348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4b2630012c061c000aeb088002d901352f..."} 
[2026-10-05 19:11:43] local.INFO: Packet analysis {"connection_id":206348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:11:43] local.INFO: Extracted packet for processing {"connection_id":206348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:11:43] local.INFO: GPS Element Parsed {"raw_longitude":738597888,"raw_latitude":183175296,"longitude_deg":73.8597888,"latitude_deg":18.3175296,"altitude":729,"angle":309,"satellites":47,"speed":50,"hex_longitude":"2c061c00","hex_latitude":"0aeb0880","is_valid_coordinates":true} 
[2026-10-05 19:11: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-10-05 19:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549147136001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9691619473227776,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":449234109721485314,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791207614000,"timestamp_ms":1791207614000,"timestamp_seconds":1791207614,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4b2630"} 
[2026-10-05 19:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:11: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-10-05 19:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-05 19:11:43] 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-10-05 19:11: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-10-05 19:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":206348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":206348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 19:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":206348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 19:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.152.150","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 19:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 19:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549147136001,"66":27430,"204":206,"3":64256,"24":50,"16":9691619473227776,"44":449234109721485314},"client_ip":"117.225.152.150","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,3,24,16,44]} 
[2026-10-05 19:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 19:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 19:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549147136001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:11:43] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-10-05 19:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9691619473227776,"km_value":9691619473227.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:11:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":449234109721485314,"description":"Unknown IO ID 44"} 
[2026-10-05 19:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549147136001,"power":27430,"lac":206,"unknown_3":64256,"ignition":50,"odometer":null,"unknown_44":449234109721485314}} 
[2026-10-05 19:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":206348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969432,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:11:43] local.INFO: GPS data processed {"connection_id":206348,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:11:43] local.INFO: Acknowledgment sent {"connection_id":206348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:11:46] local.INFO: TCP Data received {"connection_id":207902,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:11:46] local.INFO: Processing buffer {"connection_id":207902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:11:46] local.INFO: Packet analysis {"connection_id":207902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:11:46] local.INFO: Extracted packet for processing {"connection_id":207902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:11:46] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:11: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-10-05 19:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549090560001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791207686000,"timestamp_ms":1791207686000,"timestamp_seconds":1791207686,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4c3f70"} 
[2026-10-05 19:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 19:11:46] 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-10-05 19:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":207902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":207902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":207902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:11:46] 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-10-05 19:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549090560001,"66":12863,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549090560001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:11:46] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:11:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549090560001,"power":12863,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":207902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969433,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:11:46] local.INFO: GPS data processed {"connection_id":207902,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:11:46] local.INFO: Acknowledgment sent {"connection_id":207902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:11:54] local.INFO: TCP Data received {"connection_id":204813,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:11:54] local.INFO: Processing buffer {"connection_id":204813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:11:54] local.INFO: IMEI packet received {"connection_id":204813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":204813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:11:59] local.INFO: TCP Data received {"connection_id":204813,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:11:59] local.INFO: Processing buffer {"connection_id":204813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:11:59] local.INFO: IMEI packet received {"connection_id":204813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":204813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:12:00] local.INFO: TCP Data received {"connection_id":204813,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:12:00] local.INFO: Processing buffer {"connection_id":204813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:12:00] local.INFO: Packet analysis {"connection_id":204813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:12:00] local.INFO: Extracted packet for processing {"connection_id":204813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:12:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549085440001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791207666000,"timestamp_ms":1791207666000,"timestamp_seconds":1791207666,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4bf150"} 
[2026-10-05 19:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:12: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-10-05 19: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-10-05 19:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549085440001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549085440001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:12:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:12:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549085440001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":204813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:12:00] local.INFO: GPS data processed {"connection_id":204813,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:12:00] local.INFO: Acknowledgment sent {"connection_id":204813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:12:04] local.INFO: TCP Data received {"connection_id":204814,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:12:04] local.INFO: Processing buffer {"connection_id":204814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:12:04] local.INFO: IMEI packet received {"connection_id":204814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":204814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:12:09] local.INFO: TCP Data received {"connection_id":204814,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:12:09] local.INFO: Processing buffer {"connection_id":204814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:12:09] local.INFO: IMEI packet received {"connection_id":204814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":204814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:12:11] local.INFO: TCP Data received {"connection_id":204814,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4ad040012d181dc00721ac50004600d02c..."} 
[2026-10-05 19:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4ad040012d181dc00721ac50004600d02c..."} 
[2026-10-05 19:12:11] local.INFO: Processing buffer {"connection_id":204814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4ad040012d181dc00721ac50004600d02c..."} 
[2026-10-05 19:12:11] local.INFO: Packet analysis {"connection_id":204814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4a"} 
[2026-10-05 19:12:11] local.INFO: Extracted packet for processing {"connection_id":204814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4a"} 
[2026-10-05 19:12:11] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647312,"longitude_deg":75.65552,"latitude_deg":11.9647312,"altitude":70,"angle":208,"satellites":44,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ac50","is_valid_coordinates":true} 
[2026-10-05 19:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549138176001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25284919148150784,"note":"Value kept but may cause issues"} 
[2026-10-05 19:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097124352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791207592000,"timestamp_ms":1791207592000,"timestamp_seconds":1791207592,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4ad040"} 
[2026-10-05 19:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:12: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-10-05 19:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 19:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549138176001,"66":12885,"120":206,"28":31744,"24":0,"16":25284919148150784,"45":1737756168097124352},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549138176001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:12:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:12:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25284919148150784,"km_value":25284919148150.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097124352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549138176001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097124352}} 
[2026-10-05 19:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":204814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:12:11] local.INFO: GPS data processed {"connection_id":204814,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:12:11] local.INFO: Acknowledgment sent {"connection_id":204814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:12:15] local.INFO: TCP Data received {"connection_id":206348,"ip":"117.225.152.150","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4b4188012c0600000aeb200002d8013d2f..."} 
[2026-10-05 19:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4b4188012c0600000aeb200002d8013d2f..."} 
[2026-10-05 19:12:15] local.INFO: Processing buffer {"connection_id":206348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4b4188012c0600000aeb200002d8013d2f..."} 
[2026-10-05 19:12:15] local.INFO: Packet analysis {"connection_id":206348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:12:15] local.INFO: Extracted packet for processing {"connection_id":206348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:12:15] local.INFO: GPS Element Parsed {"raw_longitude":738590720,"raw_latitude":183181312,"longitude_deg":73.859072,"latitude_deg":18.3181312,"altitude":728,"angle":317,"satellites":47,"speed":52,"hex_longitude":"2c060000","hex_latitude":"0aeb2000","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549149184001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9692061854859264,"note":"Value kept but may cause issues"} 
[2026-10-05 19:12:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":440226910468341762,"note":"Value kept but may cause issues"} 
[2026-10-05 19:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791207621000,"timestamp_ms":1791207621000,"timestamp_seconds":1791207621,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4b4188"} 
[2026-10-05 19:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19: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":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-05 19:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":206348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":206348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 19:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":206348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 19:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.152.150","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 19:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 19:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549149184001,"66":27604,"204":206,"3":64256,"24":52,"16":9692061854859264,"44":440226910468341762},"client_ip":"117.225.152.150","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,3,24,16,44]} 
[2026-10-05 19:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 19:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 19:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549149184001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:12:15] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-10-05 19:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9692061854859264,"km_value":9692061854859.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:12:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":440226910468341762,"description":"Unknown IO ID 44"} 
[2026-10-05 19:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549149184001,"power":27604,"lac":206,"unknown_3":64256,"ignition":52,"odometer":null,"unknown_44":440226910468341762}} 
[2026-10-05 19:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":206348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969436,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:12:15] local.INFO: GPS data processed {"connection_id":206348,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:12:15] local.INFO: Acknowledgment sent {"connection_id":206348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:12:30] local.INFO: TCP Data received {"connection_id":207903,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:12:30] local.INFO: Processing buffer {"connection_id":207903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:12:30] local.INFO: IMEI packet received {"connection_id":207903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":207903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:12:31] local.INFO: TCP Data received {"connection_id":204813,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:12:31] local.INFO: Processing buffer {"connection_id":204813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:12:31] local.INFO: Packet analysis {"connection_id":204813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:12:31] local.INFO: Extracted packet for processing {"connection_id":204813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:12:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549085440001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791207666000,"timestamp_ms":1791207666000,"timestamp_seconds":1791207666,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4bf150"} 
[2026-10-05 19:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:12:31] 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-10-05 19:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549085440001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549085440001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:12:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:12:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549085440001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":204813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:12:31] local.INFO: GPS data processed {"connection_id":204813,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:12:31] local.INFO: Acknowledgment sent {"connection_id":204813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:12:34] local.INFO: TCP Data received {"connection_id":204815,"ip":"117.225.152.150","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:12:34] local.INFO: Processing buffer {"connection_id":204815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:12:34] local.INFO: IMEI packet received {"connection_id":204815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 19:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":204815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:12:36] local.INFO: TCP Data received {"connection_id":207903,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:12:36] local.INFO: Processing buffer {"connection_id":207903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:12:36] local.INFO: IMEI packet received {"connection_id":207903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":207903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:12:37] local.INFO: TCP Data received {"connection_id":207903,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:12:37] local.INFO: Processing buffer {"connection_id":207903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:12:37] local.INFO: Packet analysis {"connection_id":207903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:12:37] local.INFO: Extracted packet for processing {"connection_id":207903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:12:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 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-10-05 19:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549090560001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791207686000,"timestamp_ms":1791207686000,"timestamp_seconds":1791207686,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4c3f70"} 
[2026-10-05 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-10-05 19:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 19:12:37] 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-10-05 19:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 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-10-05 19:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:12:37] 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-10-05 19:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549090560001,"66":12863,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549090560001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:12:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:12:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549090560001,"power":12863,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":207903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:12:37] local.INFO: GPS data processed {"connection_id":207903,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:12:37] local.INFO: Acknowledgment sent {"connection_id":207903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:12:38] local.INFO: TCP Data received {"connection_id":204815,"ip":"117.225.152.150","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:12:38] local.INFO: Processing buffer {"connection_id":204815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:12:38] local.INFO: IMEI packet received {"connection_id":204815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 19:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":204815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:12:39] local.INFO: TCP Data received {"connection_id":204815,"ip":"117.225.152.150","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:12:39] local.INFO: Processing buffer {"connection_id":204815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:12:39] local.INFO: IMEI packet received {"connection_id":204815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 19:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":204815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:12:41] local.INFO: TCP Data received {"connection_id":204815,"ip":"117.225.152.150","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4c4f10012c051a400aec23f002de01312f..."} 
[2026-10-05 19:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4c4f10012c051a400aec23f002de01312f..."} 
[2026-10-05 19:12:41] local.INFO: Processing buffer {"connection_id":204815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4c4f10012c051a400aec23f002de01312f..."} 
[2026-10-05 19:12:41] local.INFO: Packet analysis {"connection_id":204815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:12:41] local.INFO: Extracted packet for processing {"connection_id":204815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:12:41] local.INFO: GPS Element Parsed {"raw_longitude":738531904,"raw_latitude":183247856,"longitude_deg":73.8531904,"latitude_deg":18.3247856,"altitude":734,"angle":305,"satellites":47,"speed":40,"hex_longitude":"2c051a40","hex_latitude":"0aec23f0","is_valid_coordinates":true} 
[2026-10-05 19:12: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-10-05 19:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549166080001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9696382591959040,"note":"Value kept but may cause issues"} 
[2026-10-05 19:12:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":377457990679027714,"note":"Value kept but may cause issues"} 
[2026-10-05 19:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791207690000,"timestamp_ms":1791207690000,"timestamp_seconds":1791207690,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4c4f10"} 
[2026-10-05 19:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-05 19:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:12: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-10-05 19:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 19:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 19:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.152.150","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 19:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 19:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549166080001,"66":27691,"204":206,"3":64256,"24":40,"16":9696382591959040,"44":377457990679027714},"client_ip":"117.225.152.150","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,3,24,16,44]} 
[2026-10-05 19:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 19:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 19:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549166080001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:12:41] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-10-05 19:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9696382591959040,"km_value":9696382591959.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:12:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":377457990679027714,"description":"Unknown IO ID 44"} 
[2026-10-05 19:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549166080001,"power":27691,"lac":206,"unknown_3":64256,"ignition":40,"odometer":null,"unknown_44":377457990679027714}} 
[2026-10-05 19:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":204815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969439,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:12:41] local.INFO: GPS data processed {"connection_id":204815,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:12:41] local.INFO: Acknowledgment sent {"connection_id":204815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:12:43] local.INFO: TCP Data received {"connection_id":204814,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4b2248012d181dc00721ac50004600d02c..."} 
[2026-10-05 19:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4b2248012d181dc00721ac50004600d02c..."} 
[2026-10-05 19:12:43] local.INFO: Processing buffer {"connection_id":204814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4b2248012d181dc00721ac50004600d02c..."} 
[2026-10-05 19:12:43] local.INFO: Packet analysis {"connection_id":204814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:12:43] local.INFO: Extracted packet for processing {"connection_id":204814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:12:43] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647312,"longitude_deg":75.65552,"latitude_deg":11.9647312,"altitude":70,"angle":208,"satellites":44,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ac50","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549143552001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25284919148150784,"note":"Value kept but may cause issues"} 
[2026-10-05 19:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097124352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791207613000,"timestamp_ms":1791207613000,"timestamp_seconds":1791207613,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4b2248"} 
[2026-10-05 19:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:12: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-10-05 19: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 19:12:43] 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-10-05 19:12:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549143552001,"66":12841,"120":206,"28":31744,"24":0,"16":25284919148150784,"45":1737756168097124352},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549143552001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:12:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:12:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25284919148150784,"km_value":25284919148150.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097124352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549143552001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097124352}} 
[2026-10-05 19:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":204814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:12:43] local.INFO: GPS data processed {"connection_id":204814,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:12:43] local.INFO: Acknowledgment sent {"connection_id":204814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:12:46] local.INFO: TCP Data received {"connection_id":204815,"ip":"117.225.152.150","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4c6a68012c0503000aec376002dd013e2e..."} 
[2026-10-05 19:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4c6a68012c0503000aec376002dd013e2e..."} 
[2026-10-05 19:12:46] local.INFO: Processing buffer {"connection_id":204815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4c6a68012c0503000aec376002dd013e2e..."} 
[2026-10-05 19:12:46] local.INFO: Packet analysis {"connection_id":204815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:12:46] local.INFO: Extracted packet for processing {"connection_id":204815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:12:46] local.INFO: GPS Element Parsed {"raw_longitude":738525952,"raw_latitude":183252832,"longitude_deg":73.8525952,"latitude_deg":18.3252832,"altitude":733,"angle":318,"satellites":46,"speed":45,"hex_longitude":"2c050300","hex_latitude":"0aec3760","is_valid_coordinates":true} 
[2026-10-05 19:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549168640001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9696747664179200,"note":"Value kept but may cause issues"} 
[2026-10-05 19:12:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":367676735239745538,"note":"Value kept but may cause issues"} 
[2026-10-05 19:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791207697000,"timestamp_ms":1791207697000,"timestamp_seconds":1791207697,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4c6a68"} 
[2026-10-05 19:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-10-05 19:12:46] 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-10-05 19:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 19:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 19:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.152.150","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 19:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 19:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549168640001,"66":27463,"203":206,"3":64256,"24":45,"16":9696747664179200,"44":367676735239745538},"client_ip":"117.225.152.150","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,3,24,16,44]} 
[2026-10-05 19:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 19:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 19:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549168640001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:12:46] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-10-05 19:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9696747664179200,"km_value":9696747664179.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:12:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":367676735239745538,"description":"Unknown IO ID 44"} 
[2026-10-05 19:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549168640001,"power":27463,"mnc":206,"unknown_3":64256,"ignition":45,"odometer":null,"unknown_44":367676735239745538}} 
[2026-10-05 19:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":204815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969441,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:12:46] local.INFO: GPS data processed {"connection_id":204815,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:12:46] local.INFO: Acknowledgment sent {"connection_id":204815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:12:54] local.INFO: TCP Data received {"connection_id":206349,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:12:54] local.INFO: Processing buffer {"connection_id":206349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:12:54] local.INFO: IMEI packet received {"connection_id":206349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":206349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:12:59] local.INFO: TCP Data received {"connection_id":206349,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:12:59] local.INFO: Processing buffer {"connection_id":206349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:12:59] local.INFO: IMEI packet received {"connection_id":206349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":206349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:13:00] local.INFO: TCP Data received {"connection_id":206349,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:13:00] local.INFO: Processing buffer {"connection_id":206349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:13:00] local.INFO: Packet analysis {"connection_id":206349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:13:00] local.INFO: Extracted packet for processing {"connection_id":206349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:13:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549085440001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791207666000,"timestamp_ms":1791207666000,"timestamp_seconds":1791207666,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4bf150"} 
[2026-10-05 19:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:13: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-10-05 19:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549085440001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549085440001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:13:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:13:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549085440001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":206349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:13:00] local.INFO: GPS data processed {"connection_id":206349,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:13:00] local.INFO: Acknowledgment sent {"connection_id":206349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:13:04] local.INFO: TCP Data received {"connection_id":206350,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:13:04] local.INFO: Processing buffer {"connection_id":206350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:13:04] local.INFO: IMEI packet received {"connection_id":206350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":206350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:13:05] local.INFO: TCP Data received {"connection_id":206350,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:13:05] local.INFO: Processing buffer {"connection_id":206350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:13:05] local.INFO: IMEI packet received {"connection_id":206350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":206350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:13:08] local.INFO: TCP Data received {"connection_id":206350,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:13:08] local.INFO: Processing buffer {"connection_id":206350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:13:08] local.INFO: IMEI packet received {"connection_id":206350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":206350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:13:09] local.INFO: TCP Data received {"connection_id":206350,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:13:09] local.INFO: Processing buffer {"connection_id":206350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:13:09] local.INFO: IMEI packet received {"connection_id":206350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":206350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:13:09] local.INFO: TCP Data received {"connection_id":207903,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:13:09] local.INFO: Processing buffer {"connection_id":207903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:13:09] local.INFO: Packet analysis {"connection_id":207903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:13:09] local.INFO: Extracted packet for processing {"connection_id":207903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:13:09] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549090560001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791207686000,"timestamp_ms":1791207686000,"timestamp_seconds":1791207686,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4c3f70"} 
[2026-10-05 19:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 19:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":207903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":207903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":207903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:13:09] 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-10-05 19:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549090560001,"66":12863,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549090560001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:13:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:13:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549090560001,"power":12863,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":207903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:13:09] local.INFO: GPS data processed {"connection_id":207903,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:13:09] local.INFO: Acknowledgment sent {"connection_id":207903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:13:10] local.INFO: TCP Data received {"connection_id":206350,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4b7068012d181dc00721ac50004600d02c..."} 
[2026-10-05 19:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4b7068012d181dc00721ac50004600d02c..."} 
[2026-10-05 19:13:10] local.INFO: Processing buffer {"connection_id":206350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4b7068012d181dc00721ac50004600d02c..."} 
[2026-10-05 19:13:10] local.INFO: Packet analysis {"connection_id":206350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:13:10] local.INFO: Extracted packet for processing {"connection_id":206350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:13:10] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647312,"longitude_deg":75.65552,"latitude_deg":11.9647312,"altitude":70,"angle":208,"satellites":44,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ac50","is_valid_coordinates":true} 
[2026-10-05 19:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549148928001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25284919148150784,"note":"Value kept but may cause issues"} 
[2026-10-05 19:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097124352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791207633000,"timestamp_ms":1791207633000,"timestamp_seconds":1791207633,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4b7068"} 
[2026-10-05 19:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:13: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-10-05 19:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 19:13:10] 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-10-05 19:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":206350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":206350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":206350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549148928001,"66":12776,"120":206,"28":31744,"24":0,"16":25284919148150784,"45":1737756168097124352},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549148928001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:13:10] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:13:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25284919148150784,"km_value":25284919148150.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097124352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549148928001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097124352}} 
[2026-10-05 19:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":206350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:13:11] local.INFO: GPS data processed {"connection_id":206350,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:13:11] local.INFO: Acknowledgment sent {"connection_id":206350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:13:18] local.INFO: TCP Data received {"connection_id":204815,"ip":"117.225.152.150","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4c7df0012c04f4800aec4a9002dd014a2d..."} 
[2026-10-05 19:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4c7df0012c04f4800aec4a9002dd014a2d..."} 
[2026-10-05 19:13:18] local.INFO: Processing buffer {"connection_id":204815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4c7df0012c04f4800aec4a9002dd014a2d..."} 
[2026-10-05 19:13:18] local.INFO: Packet analysis {"connection_id":204815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:13:18] local.INFO: Extracted packet for processing {"connection_id":204815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:13:18] local.INFO: GPS Element Parsed {"raw_longitude":738522240,"raw_latitude":183257744,"longitude_deg":73.852224,"latitude_deg":18.3257744,"altitude":733,"angle":330,"satellites":45,"speed":48,"hex_longitude":"2c04f480","hex_latitude":"0aec4a90","is_valid_coordinates":true} 
[2026-10-05 19:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549170432001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9697039721955328,"note":"Value kept but may cause issues"} 
[2026-10-05 19:13:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":361132442032496642,"note":"Value kept but may cause issues"} 
[2026-10-05 19:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791207702000,"timestamp_ms":1791207702000,"timestamp_seconds":1791207702,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4c7df0"} 
[2026-10-05 19:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-05 19:13:18] 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-10-05 19:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":204815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":204815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 19:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":204815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 19:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.152.150","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 19:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 19:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549170432001,"66":27484,"203":206,"3":64256,"24":48,"16":9697039721955328,"44":361132442032496642},"client_ip":"117.225.152.150","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,3,24,16,44]} 
[2026-10-05 19:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 19:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 19:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549170432001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:13:18] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-10-05 19:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9697039721955328,"km_value":9697039721955.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:13:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":361132442032496642,"description":"Unknown IO ID 44"} 
[2026-10-05 19:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549170432001,"power":27484,"mnc":206,"unknown_3":64256,"ignition":48,"odometer":null,"unknown_44":361132442032496642}} 
[2026-10-05 19:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":204815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969445,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:13:18] local.INFO: GPS data processed {"connection_id":204815,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:13:18] local.INFO: Acknowledgment sent {"connection_id":204815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:13:30] local.INFO: TCP Data received {"connection_id":204955,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:13:30] local.INFO: Processing buffer {"connection_id":204955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:13:30] local.INFO: IMEI packet received {"connection_id":204955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":204955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:13:31] local.INFO: TCP Data received {"connection_id":206349,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:13:31] local.INFO: Processing buffer {"connection_id":206349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:13:31] local.INFO: Packet analysis {"connection_id":206349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:13:31] local.INFO: Extracted packet for processing {"connection_id":206349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:13:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549085440001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791207666000,"timestamp_ms":1791207666000,"timestamp_seconds":1791207666,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4bf150"} 
[2026-10-05 19:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:13:31] 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-10-05 19: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-10-05 19:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549085440001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549085440001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:13:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:13:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549085440001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":206349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:13:31] local.INFO: GPS data processed {"connection_id":206349,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:13:31] local.INFO: Acknowledgment sent {"connection_id":206349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:13:34] local.INFO: TCP Data received {"connection_id":204956,"ip":"117.225.152.150","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:13:34] local.INFO: Processing buffer {"connection_id":204956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:13:34] local.INFO: IMEI packet received {"connection_id":204956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 19:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":204956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:13:35] local.INFO: TCP Data received {"connection_id":204955,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:13:35] local.INFO: Processing buffer {"connection_id":204955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:13:35] local.INFO: IMEI packet received {"connection_id":204955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":204955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:13:38] local.INFO: TCP Data received {"connection_id":204955,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:13:38] local.INFO: Processing buffer {"connection_id":204955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:13:38] local.INFO: Packet analysis {"connection_id":204955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:13:38] local.INFO: Extracted packet for processing {"connection_id":204955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:13:38] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549090560001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791207686000,"timestamp_ms":1791207686000,"timestamp_seconds":1791207686,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4c3f70"} 
[2026-10-05 19:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 19:13:38] 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-10-05 19:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549090560001,"66":12863,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549090560001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:13:38] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:13:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549090560001,"power":12863,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":204955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:13:38] local.INFO: GPS data processed {"connection_id":204955,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:13:38] local.INFO: Acknowledgment sent {"connection_id":204955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:13:39] local.INFO: TCP Data received {"connection_id":204956,"ip":"117.225.152.150","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:13:39] local.INFO: Processing buffer {"connection_id":204956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:13:39] local.INFO: IMEI packet received {"connection_id":204956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 19:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":204956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:13:40] local.INFO: TCP Data received {"connection_id":204956,"ip":"117.225.152.150","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4c9560012c04e9400aec64c002e001572e..."} 
[2026-10-05 19:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4c9560012c04e9400aec64c002e001572e..."} 
[2026-10-05 19:13:40] local.INFO: Processing buffer {"connection_id":204956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4c9560012c04e9400aec64c002e001572e..."} 
[2026-10-05 19:13:40] local.INFO: Packet analysis {"connection_id":204956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:13:40] local.INFO: Extracted packet for processing {"connection_id":204956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:13:40] local.INFO: GPS Element Parsed {"raw_longitude":738519360,"raw_latitude":183264448,"longitude_deg":73.851936,"latitude_deg":18.3264448,"altitude":736,"angle":343,"satellites":46,"speed":45,"hex_longitude":"2c04e940","hex_latitude":"0aec64c0","is_valid_coordinates":true} 
[2026-10-05 19:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549171712001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9697391909273600,"note":"Value kept but may cause issues"} 
[2026-10-05 19:13:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":357051054871449602,"note":"Value kept but may cause issues"} 
[2026-10-05 19:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791207708000,"timestamp_ms":1791207708000,"timestamp_seconds":1791207708,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4c9560"} 
[2026-10-05 19:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 19:13:40] 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-10-05 19:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 19:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 19:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.152.150","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 19:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 19:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549171712001,"66":27343,"203":206,"3":64256,"24":45,"16":9697391909273600,"44":357051054871449602},"client_ip":"117.225.152.150","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,3,24,16,44]} 
[2026-10-05 19:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 19:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 19:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549171712001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:13:40] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-10-05 19:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9697391909273600,"km_value":9697391909273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:13:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":357051054871449602,"description":"Unknown IO ID 44"} 
[2026-10-05 19:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549171712001,"power":27343,"mnc":206,"unknown_3":64256,"ignition":45,"odometer":null,"unknown_44":357051054871449602}} 
[2026-10-05 19:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":204956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969448,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:13:40] local.INFO: GPS data processed {"connection_id":204956,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:13:40] local.INFO: Acknowledgment sent {"connection_id":204956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:13:42] local.INFO: TCP Data received {"connection_id":206350,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4bc270012d181dc00721ac50004600d02d..."} 
[2026-10-05 19:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4bc270012d181dc00721ac50004600d02d..."} 
[2026-10-05 19:13:42] local.INFO: Processing buffer {"connection_id":206350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4bc270012d181dc00721ac50004600d02d..."} 
[2026-10-05 19:13:42] local.INFO: Packet analysis {"connection_id":206350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:13:42] local.INFO: Extracted packet for processing {"connection_id":206350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:13:42] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647312,"longitude_deg":75.65552,"latitude_deg":11.9647312,"altitude":70,"angle":208,"satellites":45,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ac50","is_valid_coordinates":true} 
[2026-10-05 19:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549154048001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25284919148150784,"note":"Value kept but may cause issues"} 
[2026-10-05 19:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097124352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791207654000,"timestamp_ms":1791207654000,"timestamp_seconds":1791207654,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4bc270"} 
[2026-10-05 19:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:13: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-10-05 19:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 19:13:42] 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-10-05 19:13: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-10-05 19:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549154048001,"66":12841,"120":206,"28":31744,"24":0,"16":25284919148150784,"45":1737756168097124352},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549154048001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:13:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:13:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25284919148150784,"km_value":25284919148150.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097124352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549154048001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097124352}} 
[2026-10-05 19:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":206350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:13:42] local.INFO: GPS data processed {"connection_id":206350,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:13:42] local.INFO: Acknowledgment sent {"connection_id":206350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:13:54] local.INFO: TCP Data received {"connection_id":204957,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:13:54] local.INFO: Processing buffer {"connection_id":204957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:13:54] local.INFO: IMEI packet received {"connection_id":204957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":204957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:14:00] local.INFO: TCP Data received {"connection_id":204957,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:14:00] local.INFO: Processing buffer {"connection_id":204957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:14:00] local.INFO: IMEI packet received {"connection_id":204957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":204957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:14:01] local.INFO: TCP Data received {"connection_id":204957,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:14:01] local.INFO: Processing buffer {"connection_id":204957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:14:01] local.INFO: Packet analysis {"connection_id":204957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:14:01] local.INFO: Extracted packet for processing {"connection_id":204957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:14:01] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549085440001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791207666000,"timestamp_ms":1791207666000,"timestamp_seconds":1791207666,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4bf150"} 
[2026-10-05 19:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:14:01] 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-10-05 19: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-10-05 19:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549085440001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549085440001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:14:01] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:14:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549085440001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":204957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:14:01] local.INFO: GPS data processed {"connection_id":204957,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:14:01] local.INFO: Acknowledgment sent {"connection_id":204957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:14:09] local.INFO: TCP Data received {"connection_id":204955,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:14:09] local.INFO: Processing buffer {"connection_id":204955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:14:09] local.INFO: Packet analysis {"connection_id":204955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:14:09] local.INFO: Extracted packet for processing {"connection_id":204955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:14:09] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549090560001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791207686000,"timestamp_ms":1791207686000,"timestamp_seconds":1791207686,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4c3f70"} 
[2026-10-05 19:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 19:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549090560001,"66":12863,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549090560001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:14:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:14:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549090560001,"power":12863,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":204955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:14:09] local.INFO: GPS data processed {"connection_id":204955,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:14:09] local.INFO: Acknowledgment sent {"connection_id":204955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:14:13] local.INFO: TCP Data received {"connection_id":204816,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:14:13] local.INFO: Processing buffer {"connection_id":204816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:14:13] local.INFO: IMEI packet received {"connection_id":204816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":204816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:14:14] local.INFO: TCP Data received {"connection_id":204816,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:14:14] local.INFO: Processing buffer {"connection_id":204816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:14:14] local.INFO: IMEI packet received {"connection_id":204816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":204816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:14:15] local.INFO: TCP Data received {"connection_id":204956,"ip":"117.225.152.150","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4cacd0012c04e4c00aec7e2002e201632f..."} 
[2026-10-05 19:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4cacd0012c04e4c00aec7e2002e201632f..."} 
[2026-10-05 19:14:15] local.INFO: Processing buffer {"connection_id":204956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4cacd0012c04e4c00aec7e2002e201632f..."} 
[2026-10-05 19:14:15] local.INFO: Packet analysis {"connection_id":204956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:14:15] local.INFO: Extracted packet for processing {"connection_id":204956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:14:15] local.INFO: GPS Element Parsed {"raw_longitude":738518208,"raw_latitude":183270944,"longitude_deg":73.8518208,"latitude_deg":18.3270944,"altitude":738,"angle":355,"satellites":47,"speed":42,"hex_longitude":"2c04e4c0","hex_latitude":"0aec7e20","is_valid_coordinates":true} 
[2026-10-05 19:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549173248001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9697709736853504,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":353884461385170946,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791207714000,"timestamp_ms":1791207714000,"timestamp_seconds":1791207714,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4cacd0"} 
[2026-10-05 19:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-05 19:14:15] 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-10-05 19:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 19:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 19:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.152.150","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 19:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 19:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549173248001,"66":27626,"203":206,"3":64256,"24":42,"16":9697709736853504,"44":353884461385170946},"client_ip":"117.225.152.150","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,3,24,16,44]} 
[2026-10-05 19:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 19:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 19:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549173248001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:14:15] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-10-05 19:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9697709736853504,"km_value":9697709736853.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:14:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":353884461385170946,"description":"Unknown IO ID 44"} 
[2026-10-05 19:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549173248001,"power":27626,"mnc":206,"unknown_3":64256,"ignition":42,"odometer":null,"unknown_44":353884461385170946}} 
[2026-10-05 19:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":204956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969452,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:14:15] local.INFO: GPS data processed {"connection_id":204956,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:14:15] local.INFO: Acknowledgment sent {"connection_id":204956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:14:15] local.INFO: TCP Data received {"connection_id":204816,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4c1478012d181dc00721ac50004600d02b..."} 
[2026-10-05 19:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4c1478012d181dc00721ac50004600d02b..."} 
[2026-10-05 19:14:15] local.INFO: Processing buffer {"connection_id":204816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4c1478012d181dc00721ac50004600d02b..."} 
[2026-10-05 19:14:15] local.INFO: Packet analysis {"connection_id":204816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:14:15] local.INFO: Extracted packet for processing {"connection_id":204816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:14:15] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647312,"longitude_deg":75.65552,"latitude_deg":11.9647312,"altitude":70,"angle":208,"satellites":43,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ac50","is_valid_coordinates":true} 
[2026-10-05 19:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549159424001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25284919148150784,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097124352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791207675000,"timestamp_ms":1791207675000,"timestamp_seconds":1791207675,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4c1478"} 
[2026-10-05 19:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 19:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549159424001,"66":12798,"120":206,"28":31744,"24":0,"16":25284919148150784,"45":1737756168097124352},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549159424001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:14:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:14:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25284919148150784,"km_value":25284919148150.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097124352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549159424001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097124352}} 
[2026-10-05 19:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":204816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:14:15] local.INFO: GPS data processed {"connection_id":204816,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:14:15] local.INFO: Acknowledgment sent {"connection_id":204816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:14:16] local.INFO: TCP Data received {"connection_id":204816,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4c6680012d181dc00721ac50004600d02a..."} 
[2026-10-05 19:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4c6680012d181dc00721ac50004600d02a..."} 
[2026-10-05 19:14:16] local.INFO: Processing buffer {"connection_id":204816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4c6680012d181dc00721ac50004600d02a..."} 
[2026-10-05 19:14:16] local.INFO: Packet analysis {"connection_id":204816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:14:16] local.INFO: Extracted packet for processing {"connection_id":204816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:14:16] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647312,"longitude_deg":75.65552,"latitude_deg":11.9647312,"altitude":70,"angle":208,"satellites":42,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ac50","is_valid_coordinates":true} 
[2026-10-05 19:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549164800001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25284919148150784,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097124352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791207696000,"timestamp_ms":1791207696000,"timestamp_seconds":1791207696,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4c6680"} 
[2026-10-05 19:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:14: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-10-05 19:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 19:14:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549164800001,"66":12689,"120":206,"28":31744,"24":0,"16":25284919148150784,"45":1737756168097124352},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549164800001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:14:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:14:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25284919148150784,"km_value":25284919148150.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097124352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549164800001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097124352}} 
[2026-10-05 19:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":204816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:14:16] local.INFO: GPS data processed {"connection_id":204816,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:14:16] local.INFO: Acknowledgment sent {"connection_id":204816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:14:32] local.INFO: TCP Data received {"connection_id":204957,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:14:32] local.INFO: Processing buffer {"connection_id":204957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:14:32] local.INFO: Packet analysis {"connection_id":204957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:14:32] local.INFO: Extracted packet for processing {"connection_id":204957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:14:32] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549085440001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791207666000,"timestamp_ms":1791207666000,"timestamp_seconds":1791207666,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4bf150"} 
[2026-10-05 19:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:14:32] 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-10-05 19:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549085440001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549085440001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:14:32] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:14:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549085440001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":204957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:14:32] local.INFO: GPS data processed {"connection_id":204957,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:14:32] local.INFO: Acknowledgment sent {"connection_id":204957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:14:35] local.INFO: TCP Data received {"connection_id":206351,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:14:35] local.INFO: Processing buffer {"connection_id":206351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:14:35] local.INFO: IMEI packet received {"connection_id":206351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":206351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:14:39] local.INFO: TCP Data received {"connection_id":206352,"ip":"117.225.152.150","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:14:39] local.INFO: Processing buffer {"connection_id":206352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:14:39] local.INFO: IMEI packet received {"connection_id":206352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 19:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":206352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:14:40] local.INFO: TCP Data received {"connection_id":206351,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:14:40] local.INFO: Processing buffer {"connection_id":206351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:14:40] local.INFO: IMEI packet received {"connection_id":206351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":206351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:14:42] local.INFO: TCP Data received {"connection_id":206352,"ip":"117.225.152.150","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:14:42] local.INFO: Processing buffer {"connection_id":206352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:14:42] local.INFO: IMEI packet received {"connection_id":206352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 19:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":206352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:14:42] local.INFO: TCP Data received {"connection_id":206351,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:14:42] local.INFO: Processing buffer {"connection_id":206351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:14:42] local.INFO: Packet analysis {"connection_id":206351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:14:42] local.INFO: Extracted packet for processing {"connection_id":206351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:14:42] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:14: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-10-05 19:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549090560001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791207686000,"timestamp_ms":1791207686000,"timestamp_seconds":1791207686,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4c3f70"} 
[2026-10-05 19:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 19:14:42] 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-10-05 19:14: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-10-05 19:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549090560001,"66":12863,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549090560001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:14:42] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:14:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549090560001,"power":12863,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":206351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:14:43] local.INFO: GPS data processed {"connection_id":206351,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:14:43] local.INFO: Acknowledgment sent {"connection_id":206351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:14:45] local.INFO: TCP Data received {"connection_id":206352,"ip":"117.225.152.150","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4cc058012c04e5800aec933002e200062f..."} 
[2026-10-05 19:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4cc058012c04e5800aec933002e200062f..."} 
[2026-10-05 19:14:45] local.INFO: Processing buffer {"connection_id":206352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4cc058012c04e5800aec933002e200062f..."} 
[2026-10-05 19:14:45] local.INFO: Packet analysis {"connection_id":206352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:14:45] local.INFO: Extracted packet for processing {"connection_id":206352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:14:45] local.INFO: GPS Element Parsed {"raw_longitude":738518400,"raw_latitude":183276336,"longitude_deg":73.85184,"latitude_deg":18.3276336,"altitude":738,"angle":6,"satellites":47,"speed":43,"hex_longitude":"2c04e580","hex_latitude":"0aec9330","is_valid_coordinates":true} 
[2026-10-05 19:14: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-10-05 19:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549174784001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9697971729858560,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":352617823991635970,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791207719000,"timestamp_ms":1791207719000,"timestamp_seconds":1791207719,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4cc058"} 
[2026-10-05 19:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-10-05 19:14:45] 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-10-05 19:14: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-10-05 19:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":206352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":206352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 19:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":206352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 19:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.152.150","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 19:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 19:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549174784001,"66":27615,"203":206,"3":64256,"24":43,"16":9697971729858560,"44":352617823991635970},"client_ip":"117.225.152.150","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,3,24,16,44]} 
[2026-10-05 19:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 19:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 19:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549174784001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:14:45] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-10-05 19:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9697971729858560,"km_value":9697971729858.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:14:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":352617823991635970,"description":"Unknown IO ID 44"} 
[2026-10-05 19:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549174784001,"power":27615,"mnc":206,"unknown_3":64256,"ignition":43,"odometer":null,"unknown_44":352617823991635970}} 
[2026-10-05 19:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":206352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969457,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:14:45] local.INFO: GPS data processed {"connection_id":206352,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:14:45] local.INFO: Acknowledgment sent {"connection_id":206352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:14:47] local.INFO: TCP Data received {"connection_id":206351,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:14:47] local.INFO: Processing buffer {"connection_id":206351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:14:47] local.INFO: Packet analysis {"connection_id":206351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:14:47] local.INFO: Extracted packet for processing {"connection_id":206351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:14:47] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549090560001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791207686000,"timestamp_ms":1791207686000,"timestamp_seconds":1791207686,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4c3f70"} 
[2026-10-05 19:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 19:14:47] 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-10-05 19:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":206351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":206351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":206351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549090560001,"66":12863,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549090560001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:14:47] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:14:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549090560001,"power":12863,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":206351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:14:47] local.INFO: GPS data processed {"connection_id":206351,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:14:47] local.INFO: Acknowledgment sent {"connection_id":206351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:14:48] local.INFO: TCP Data received {"connection_id":204816,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4e6a20012d17b5c007211d98003800e22c..."} 
[2026-10-05 19:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4e6a20012d17b5c007211d98003800e22c..."} 
[2026-10-05 19:14:48] local.INFO: Processing buffer {"connection_id":204816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4e6a20012d17b5c007211d98003800e22c..."} 
[2026-10-05 19:14:48] local.INFO: Packet analysis {"connection_id":204816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4e"} 
[2026-10-05 19:14:48] local.INFO: Extracted packet for processing {"connection_id":204816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4e"} 
[2026-10-05 19:14:48] local.INFO: GPS Element Parsed {"raw_longitude":756528576,"raw_latitude":119610776,"longitude_deg":75.6528576,"latitude_deg":11.9610776,"altitude":56,"angle":226,"satellites":44,"speed":40,"hex_longitude":"2d17b5c0","hex_latitude":"07211d98","is_valid_coordinates":true} 
[2026-10-05 19:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549201920001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25287131056308224,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999250432,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791207828000,"timestamp_ms":1791207828000,"timestamp_seconds":1791207828,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4e6a20"} 
[2026-10-05 19:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-10-05 19:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:48] local.WARNING: Large IO value detected {"io_id":28,"raw_value":2147951012,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:48] local.WARNING: Large IO value detected {"io_id":10,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249378742226758152,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:48] local.WARNING: Large IO value detected {"io_id":212,"raw_value":4076863488,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:48] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2734686279,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-10-05 19:14:48] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2499857895,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:48] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3566731264,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:48] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:48] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:48] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253777410,"note":"Value kept but may cause issues"} 
[2026-10-05 19:14:48] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,122,28,24,241,158,16,214,161,43,45,64,86,66,46,10,213,117,70,186,1,240,123,212,12,33,4,113,205,5,57,72,44,239,52,120,2,89,7,71,231,93,206],"length":575,"final_offset":705,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-10-05 19:14:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251632433195974656,"timestamp_seconds":4251632433195974.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 19:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549201920001,"66":12841,"122":206,"28":31744,"24":40,"16":25287131056308224,"45":1714675219999250432},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-10-05 19:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549201920001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:14:48] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-05 19:14:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25287131056308224,"km_value":25287131056308.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999250432,"description":"Unknown IO ID 45"} 
[2026-10-05 19:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549201920001,"power":12841,"unknown_122":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1714675219999250432}} 
[2026-10-05 19:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":204816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:14:48] local.INFO: GPS data processed {"connection_id":204816,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:14:48] local.INFO: Acknowledgment sent {"connection_id":204816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:14:54] local.INFO: TCP Data received {"connection_id":204817,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:14:54] local.INFO: Processing buffer {"connection_id":204817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:14:54] local.INFO: IMEI packet received {"connection_id":204817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":204817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:14:59] local.INFO: TCP Data received {"connection_id":204817,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:14:59] local.INFO: Processing buffer {"connection_id":204817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:14:59] local.INFO: IMEI packet received {"connection_id":204817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":204817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:15:00] local.INFO: TCP Data received {"connection_id":204817,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:15:00] local.INFO: Processing buffer {"connection_id":204817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:15:00] local.INFO: Packet analysis {"connection_id":204817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:15:00] local.INFO: Extracted packet for processing {"connection_id":204817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:15:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549085440001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791207666000,"timestamp_ms":1791207666000,"timestamp_seconds":1791207666,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4bf150"} 
[2026-10-05 19:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:15: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-10-05 19: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-10-05 19:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:15:00] 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-10-05 19:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549085440001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549085440001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:15:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:15:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549085440001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":204817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:15:00] local.INFO: GPS data processed {"connection_id":204817,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:15:00] local.INFO: Acknowledgment sent {"connection_id":204817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:15:04] local.INFO: TCP Data received {"connection_id":207904,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:15:04] local.INFO: Processing buffer {"connection_id":207904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:15:04] local.INFO: IMEI packet received {"connection_id":207904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":207904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:15:04] local.INFO: TCP Data received {"connection_id":207904,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:15:04] local.INFO: Processing buffer {"connection_id":207904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:15:04] local.INFO: IMEI packet received {"connection_id":207904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":207904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:15:05] local.INFO: TCP Data received {"connection_id":207904,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:15:05] local.INFO: Processing buffer {"connection_id":207904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:15:05] local.INFO: IMEI packet received {"connection_id":207904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":207904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:15:08] local.INFO: TCP Data received {"connection_id":207904,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:15:08] local.INFO: Processing buffer {"connection_id":207904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:15:08] local.INFO: IMEI packet received {"connection_id":207904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":207904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:15:08] local.INFO: TCP Data received {"connection_id":207904,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4e9518012d17990007210718003900ea2c..."} 
[2026-10-05 19:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4e9518012d17990007210718003900ea2c..."} 
[2026-10-05 19:15:08] local.INFO: Processing buffer {"connection_id":207904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4e9518012d17990007210718003900ea2c..."} 
[2026-10-05 19:15:08] local.INFO: Packet analysis {"connection_id":207904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4e"} 
[2026-10-05 19:15:08] local.INFO: Extracted packet for processing {"connection_id":207904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4e"} 
[2026-10-05 19:15:08] local.INFO: GPS Element Parsed {"raw_longitude":756521216,"raw_latitude":119605016,"longitude_deg":75.6521216,"latitude_deg":11.9605016,"altitude":57,"angle":234,"satellites":44,"speed":24,"hex_longitude":"2d179900","hex_latitude":"07210718","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549203968001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25287573437939712,"note":"Value kept but may cause issues"} 
[2026-10-05 19:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1708482770509862912,"note":"Value kept but may cause issues"} 
[2026-10-05 19:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791207839000,"timestamp_ms":1791207839000,"timestamp_seconds":1791207839,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4e9518"} 
[2026-10-05 19:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:15: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-10-05 19:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 19:15: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-10-05 19: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-10-05 19:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549203968001,"66":13493,"122":206,"28":31744,"24":24,"16":25287573437939712,"45":1708482770509862912},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-10-05 19:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549203968001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:15:08] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-05 19:15:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25287573437939712,"km_value":25287573437939.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1708482770509862912,"description":"Unknown IO ID 45"} 
[2026-10-05 19:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549203968001,"power":13493,"unknown_122":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1708482770509862912}} 
[2026-10-05 19:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":207904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:15:09] local.INFO: GPS data processed {"connection_id":207904,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:15:09] local.INFO: Acknowledgment sent {"connection_id":207904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:15:17] local.INFO: TCP Data received {"connection_id":206352,"ip":"117.225.152.150","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4ce380012c04edc00aecb85002e4000e2f..."} 
[2026-10-05 19:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4ce380012c04edc00aecb85002e4000e2f..."} 
[2026-10-05 19:15:17] local.INFO: Processing buffer {"connection_id":206352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4ce380012c04edc00aecb85002e4000e2f..."} 
[2026-10-05 19:15:17] local.INFO: Packet analysis {"connection_id":206352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:15:17] local.INFO: Extracted packet for processing {"connection_id":206352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:15:17] local.INFO: GPS Element Parsed {"raw_longitude":738520512,"raw_latitude":183285840,"longitude_deg":73.8520512,"latitude_deg":18.328584,"altitude":740,"angle":14,"satellites":47,"speed":41,"hex_longitude":"2c04edc0","hex_latitude":"0aecb850","is_valid_coordinates":true} 
[2026-10-05 19:15: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-10-05 19:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549176064001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9698444176261120,"note":"Value kept but may cause issues"} 
[2026-10-05 19:15:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":352828930225549314,"note":"Value kept but may cause issues"} 
[2026-10-05 19:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791207728000,"timestamp_ms":1791207728000,"timestamp_seconds":1791207728,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4ce380"} 
[2026-10-05 19:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:15: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":223,"data_length":795,"current_offset":136} 
[2026-10-05 19:15:17] 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-10-05 19:15: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-10-05 19:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":206352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":206352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 19:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":206352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 19:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.152.150","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 19:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 19:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549176064001,"66":27593,"203":206,"3":64256,"24":41,"16":9698444176261120,"44":352828930225549314},"client_ip":"117.225.152.150","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,3,24,16,44]} 
[2026-10-05 19:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 19:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 19:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549176064001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:15:17] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-10-05 19:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9698444176261120,"km_value":9698444176261.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:15:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":352828930225549314,"description":"Unknown IO ID 44"} 
[2026-10-05 19:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549176064001,"power":27593,"mnc":206,"unknown_3":64256,"ignition":41,"odometer":null,"unknown_44":352828930225549314}} 
[2026-10-05 19:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":206352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969462,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:15:17] local.INFO: GPS data processed {"connection_id":206352,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:15:17] local.INFO: Acknowledgment sent {"connection_id":206352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:15:31] local.INFO: TCP Data received {"connection_id":204958,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204958,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:15:31] local.INFO: Processing buffer {"connection_id":204958,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:15:31] local.INFO: IMEI packet received {"connection_id":204958,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":204958,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:15:31] local.INFO: TCP Data received {"connection_id":204817,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:15:31] local.INFO: Processing buffer {"connection_id":204817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:15:31] local.INFO: Packet analysis {"connection_id":204817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:15:31] local.INFO: Extracted packet for processing {"connection_id":204817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:15:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549085440001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791207666000,"timestamp_ms":1791207666000,"timestamp_seconds":1791207666,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4bf150"} 
[2026-10-05 19:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:15:31] 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-10-05 19: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-10-05 19:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549085440001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549085440001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:15:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:15:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549085440001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":204817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:15:31] local.INFO: GPS data processed {"connection_id":204817,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:15:31] local.INFO: Acknowledgment sent {"connection_id":204817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:15:35] local.INFO: TCP Data received {"connection_id":204818,"ip":"117.225.152.150","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:15:35] local.INFO: Processing buffer {"connection_id":204818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:15:35] local.INFO: IMEI packet received {"connection_id":204818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 19:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":204818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:15:35] local.INFO: TCP Data received {"connection_id":204958,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204958,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:15:35] local.INFO: Processing buffer {"connection_id":204958,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:15:35] local.INFO: IMEI packet received {"connection_id":204958,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":204958,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:15:35] local.INFO: TCP Data received {"connection_id":204818,"ip":"117.225.152.150","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:15:35] local.INFO: Processing buffer {"connection_id":204818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:15:35] local.INFO: IMEI packet received {"connection_id":204818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 19:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":204818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:15:37] local.INFO: TCP Data received {"connection_id":204958,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:15:37] local.INFO: Processing buffer {"connection_id":204958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:15:37] local.INFO: Packet analysis {"connection_id":204958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:15:37] local.INFO: Extracted packet for processing {"connection_id":204958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:15:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549090560001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791207686000,"timestamp_ms":1791207686000,"timestamp_seconds":1791207686,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4c3f70"} 
[2026-10-05 19:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 19:15:37] 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-10-05 19:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549090560001,"66":12863,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549090560001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:15:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:15:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549090560001,"power":12863,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":204958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:15:37] local.INFO: GPS data processed {"connection_id":204958,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:15:37] local.INFO: Acknowledgment sent {"connection_id":204958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:15:39] local.INFO: TCP Data received {"connection_id":204818,"ip":"117.225.152.150","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:15:39] local.INFO: Processing buffer {"connection_id":204818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:15:39] local.INFO: IMEI packet received {"connection_id":204818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 19:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":204818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:15:40] local.INFO: TCP Data received {"connection_id":204818,"ip":"117.225.152.150","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4d0a90012c04f6000aecdc8002e500092f..."} 
[2026-10-05 19:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4d0a90012c04f6000aecdc8002e500092f..."} 
[2026-10-05 19:15:40] local.INFO: Processing buffer {"connection_id":204818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4d0a90012c04f6000aecdc8002e500092f..."} 
[2026-10-05 19:15:40] local.INFO: Packet analysis {"connection_id":204818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4d"} 
[2026-10-05 19:15:40] local.INFO: Extracted packet for processing {"connection_id":204818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4d"} 
[2026-10-05 19:15:40] local.INFO: GPS Element Parsed {"raw_longitude":738522624,"raw_latitude":183295104,"longitude_deg":73.8522624,"latitude_deg":18.3295104,"altitude":741,"angle":9,"satellites":47,"speed":26,"hex_longitude":"2c04f600","hex_latitude":"0aecdc80","is_valid_coordinates":true} 
[2026-10-05 19:15: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-10-05 19:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549178368001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9698903737761792,"note":"Value kept but may cause issues"} 
[2026-10-05 19:15:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":355151098785845250,"note":"Value kept but may cause issues"} 
[2026-10-05 19:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791207738000,"timestamp_ms":1791207738000,"timestamp_seconds":1791207738,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4d0a90"} 
[2026-10-05 19:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-05 19:15:40] 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-10-05 19:15: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-10-05 19:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204818,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 19:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204818,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 19:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.152.150","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 19:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 19:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549178368001,"66":27713,"203":206,"3":64256,"24":26,"16":9698903737761792,"44":355151098785845250},"client_ip":"117.225.152.150","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,3,24,16,44]} 
[2026-10-05 19:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 19:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 19:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549178368001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:15:40] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-10-05 19:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9698903737761792,"km_value":9698903737761.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:15:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":355151098785845250,"description":"Unknown IO ID 44"} 
[2026-10-05 19:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549178368001,"power":27713,"mnc":206,"unknown_3":64256,"ignition":26,"odometer":null,"unknown_44":355151098785845250}} 
[2026-10-05 19:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":204818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969465,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:15:40] local.INFO: GPS data processed {"connection_id":204818,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:15:40] local.INFO: Acknowledgment sent {"connection_id":204818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:15:40] local.INFO: TCP Data received {"connection_id":207904,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4ebc28012d1781000720f438003900de2c..."} 
[2026-10-05 19:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4ebc28012d1781000720f438003900de2c..."} 
[2026-10-05 19:15:40] local.INFO: Processing buffer {"connection_id":207904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4ebc28012d1781000720f438003900de2c..."} 
[2026-10-05 19:15:40] local.INFO: Packet analysis {"connection_id":207904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4e"} 
[2026-10-05 19:15:40] local.INFO: Extracted packet for processing {"connection_id":207904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4e"} 
[2026-10-05 19:15:40] local.INFO: GPS Element Parsed {"raw_longitude":756515072,"raw_latitude":119600184,"longitude_deg":75.6515072,"latitude_deg":11.9600184,"altitude":57,"angle":222,"satellites":44,"speed":39,"hex_longitude":"2d178100","hex_latitude":"0720f438","is_valid_coordinates":true} 
[2026-10-05 19:15: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-10-05 19:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549206784001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25287951395061760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1700390364927956992,"note":"Value kept but may cause issues"} 
[2026-10-05 19:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791207849000,"timestamp_ms":1791207849000,"timestamp_seconds":1791207849,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4ebc28"} 
[2026-10-05 19:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:15: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-10-05 19:15:40] 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-10-05 19:15: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-10-05 19:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":207904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":207904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":207904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549206784001,"66":13580,"122":206,"28":31744,"24":39,"16":25287951395061760,"45":1700390364927956992},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-10-05 19:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549206784001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:15:40] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-05 19:15:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25287951395061760,"km_value":25287951395061.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1700390364927956992,"description":"Unknown IO ID 45"} 
[2026-10-05 19:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549206784001,"power":13580,"unknown_122":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1700390364927956992}} 
[2026-10-05 19:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":207904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:15:40] local.INFO: GPS data processed {"connection_id":207904,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:15:40] local.INFO: Acknowledgment sent {"connection_id":207904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:15:45] local.INFO: TCP Data received {"connection_id":204818,"ip":"117.225.152.150","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4d4140012c04fbc00aecfff002eb00062f..."} 
[2026-10-05 19:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4d4140012c04fbc00aecfff002eb00062f..."} 
[2026-10-05 19:15:45] local.INFO: Processing buffer {"connection_id":204818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4d4140012c04fbc00aecfff002eb00062f..."} 
[2026-10-05 19:15:45] local.INFO: Packet analysis {"connection_id":204818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4d"} 
[2026-10-05 19:15:45] local.INFO: Extracted packet for processing {"connection_id":204818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4d"} 
[2026-10-05 19:15:45] local.INFO: GPS Element Parsed {"raw_longitude":738524096,"raw_latitude":183304176,"longitude_deg":73.8524096,"latitude_deg":18.3304176,"altitude":747,"angle":6,"satellites":47,"speed":25,"hex_longitude":"2c04fbc0","hex_latitude":"0aecfff0","is_valid_coordinates":true} 
[2026-10-05 19:15: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-10-05 19:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549180928001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9699350414360576,"note":"Value kept but may cause issues"} 
[2026-10-05 19:15:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":357473267346079746,"note":"Value kept but may cause issues"} 
[2026-10-05 19:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791207752000,"timestamp_ms":1791207752000,"timestamp_seconds":1791207752,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4d4140"} 
[2026-10-05 19:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-05 19:15:45] 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-10-05 19:15: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-10-05 19:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":204818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":204818,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 19:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":204818,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 19:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.152.150","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 19:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 19:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549180928001,"66":27441,"203":206,"3":64256,"24":25,"16":9699350414360576,"44":357473267346079746},"client_ip":"117.225.152.150","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,3,24,16,44]} 
[2026-10-05 19:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 19:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 19:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549180928001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:15:45] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-10-05 19:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9699350414360576,"km_value":9699350414360.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:15:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":357473267346079746,"description":"Unknown IO ID 44"} 
[2026-10-05 19:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549180928001,"power":27441,"mnc":206,"unknown_3":64256,"ignition":25,"odometer":null,"unknown_44":357473267346079746}} 
[2026-10-05 19:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":204818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969467,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:15:45] local.INFO: GPS data processed {"connection_id":204818,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:15:45] local.INFO: Acknowledgment sent {"connection_id":204818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:15:54] local.INFO: TCP Data received {"connection_id":204959,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:15:54] local.INFO: Processing buffer {"connection_id":204959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:15:54] local.INFO: IMEI packet received {"connection_id":204959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":204959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:15:59] local.INFO: TCP Data received {"connection_id":204959,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:15:59] local.INFO: Processing buffer {"connection_id":204959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:15:59] local.INFO: IMEI packet received {"connection_id":204959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":204959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:16:00] local.INFO: TCP Data received {"connection_id":204959,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:16:00] local.INFO: Processing buffer {"connection_id":204959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:16:00] local.INFO: Packet analysis {"connection_id":204959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:16:00] local.INFO: Extracted packet for processing {"connection_id":204959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:16:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549085440001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791207666000,"timestamp_ms":1791207666000,"timestamp_seconds":1791207666,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4bf150"} 
[2026-10-05 19:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:16: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-10-05 19: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-10-05 19:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:16:00] 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-10-05 19:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549085440001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549085440001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:16:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:16:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549085440001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":204959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:16:00] local.INFO: GPS data processed {"connection_id":204959,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:16:00] local.INFO: Acknowledgment sent {"connection_id":204959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:16:04] local.INFO: TCP Data received {"connection_id":204819,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:16:04] local.INFO: Processing buffer {"connection_id":204819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:16:04] local.INFO: IMEI packet received {"connection_id":204819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":204819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:16:05] local.INFO: TCP Data received {"connection_id":204819,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:16:05] local.INFO: Processing buffer {"connection_id":204819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:16:05] local.INFO: IMEI packet received {"connection_id":204819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":204819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:16:05] local.INFO: TCP Data received {"connection_id":204819,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:16:05] local.INFO: Processing buffer {"connection_id":204819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:16:05] local.INFO: IMEI packet received {"connection_id":204819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":204819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:16:07] local.INFO: TCP Data received {"connection_id":204819,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:16:07] local.INFO: Processing buffer {"connection_id":204819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:16:07] local.INFO: IMEI packet received {"connection_id":204819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":204819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:16:08] local.INFO: TCP Data received {"connection_id":204958,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:16:08] local.INFO: Processing buffer {"connection_id":204958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4c3f70012d7a1a0005e46910000b012130..."} 
[2026-10-05 19:16:08] local.INFO: Packet analysis {"connection_id":204958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:16:08] local.INFO: Extracted packet for processing {"connection_id":204958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4c"} 
[2026-10-05 19:16:08] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":48,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:16: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-10-05 19:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549090560001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791207686000,"timestamp_ms":1791207686000,"timestamp_seconds":1791207686,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4c3f70"} 
[2026-10-05 19:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:16: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":117,"data_length":795,"current_offset":136} 
[2026-10-05 19:16:08] 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-10-05 19:16: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-10-05 19:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549090560001,"66":12863,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549090560001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:16:08] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:16:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549090560001,"power":12863,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":204958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:16:08] local.INFO: GPS data processed {"connection_id":204958,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:16:08] local.INFO: Acknowledgment sent {"connection_id":204958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:16:30] local.INFO: TCP Data received {"connection_id":204820,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:16:30] local.INFO: Processing buffer {"connection_id":204820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:16:30] local.INFO: IMEI packet received {"connection_id":204820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":204820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:16:31] local.INFO: TCP Data received {"connection_id":204959,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:16:31] local.INFO: Processing buffer {"connection_id":204959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c4bf150012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:16:31] local.INFO: Packet analysis {"connection_id":204959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:16:31] local.INFO: Extracted packet for processing {"connection_id":204959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c4b"} 
[2026-10-05 19:16:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549085440001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791207666000,"timestamp_ms":1791207666000,"timestamp_seconds":1791207666,"priority":1,"record_length":96,"hex_timestamp":"000001a10c4bf150"} 
[2026-10-05 19:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:16:31] 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-10-05 19: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-10-05 19:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:16:31] 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-10-05 19:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549085440001,"66":25397,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549085440001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:16:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:16:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549085440001,"power":25397,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":204959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:16:31] local.INFO: GPS data processed {"connection_id":204959,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:16:31] local.INFO: Acknowledgment sent {"connection_id":204959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:16:35] local.INFO: TCP Data received {"connection_id":204820,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:16:35] local.INFO: Processing buffer {"connection_id":204820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:16:35] local.INFO: IMEI packet received {"connection_id":204820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":204820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:16:37] local.INFO: TCP Data received {"connection_id":204820,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:16:37] local.INFO: Processing buffer {"connection_id":204820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:16:37] local.INFO: Packet analysis {"connection_id":204820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:16:37] local.INFO: Extracted packet for processing {"connection_id":204820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:16:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 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-10-05 19:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549167616001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791207987000,"timestamp_ms":1791207987000,"timestamp_seconds":1791207987,"priority":1,"record_length":96,"hex_timestamp":"000001a10c50d738"} 
[2026-10-05 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-10-05 19:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 19:16:37] 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-10-05 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-10-05 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-10-05 19:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:16: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-10-05 19:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549167616001,"66":12863,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549167616001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:16:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:16:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549167616001,"power":12863,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":204820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:16:37] local.INFO: GPS data processed {"connection_id":204820,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:16:37] local.INFO: Acknowledgment sent {"connection_id":204820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:16:54] local.INFO: TCP Data received {"connection_id":206353,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:16:54] local.INFO: Processing buffer {"connection_id":206353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:16:54] local.INFO: IMEI packet received {"connection_id":206353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":206353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:16:59] local.INFO: TCP Data received {"connection_id":206353,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:16:59] local.INFO: Processing buffer {"connection_id":206353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:16:59] local.INFO: IMEI packet received {"connection_id":206353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":206353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:17:00] local.INFO: TCP Data received {"connection_id":206353,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:17:00] local.INFO: Processing buffer {"connection_id":206353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:17:00] local.INFO: Packet analysis {"connection_id":206353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:17:00] local.INFO: Extracted packet for processing {"connection_id":206353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:17:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549162496001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791207967000,"timestamp_ms":1791207967000,"timestamp_seconds":1791207967,"priority":1,"record_length":96,"hex_timestamp":"000001a10c508918"} 
[2026-10-05 19:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:17: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-10-05 19: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-10-05 19:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549162496001,"66":25375,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549162496001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:17:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:17:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549162496001,"power":25375,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":206353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:17:00] local.INFO: GPS data processed {"connection_id":206353,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:17:00] local.INFO: Acknowledgment sent {"connection_id":206353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:17:09] local.INFO: TCP Data received {"connection_id":204820,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:17:09] local.INFO: Processing buffer {"connection_id":204820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:17:09] local.INFO: Packet analysis {"connection_id":204820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:17:09] local.INFO: Extracted packet for processing {"connection_id":204820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:17:09] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549167616001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791207987000,"timestamp_ms":1791207987000,"timestamp_seconds":1791207987,"priority":1,"record_length":96,"hex_timestamp":"000001a10c50d738"} 
[2026-10-05 19:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 19:17:09] 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-10-05 19:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:17: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-10-05 19:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549167616001,"66":12863,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549167616001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:17:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:17:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549167616001,"power":12863,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":204820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:17:09] local.INFO: GPS data processed {"connection_id":204820,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:17:09] local.INFO: Acknowledgment sent {"connection_id":204820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:17:31] local.INFO: TCP Data received {"connection_id":206353,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:17:31] local.INFO: Processing buffer {"connection_id":206353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:17:31] local.INFO: Packet analysis {"connection_id":206353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:17:31] local.INFO: Extracted packet for processing {"connection_id":206353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:17:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549162496001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791207967000,"timestamp_ms":1791207967000,"timestamp_seconds":1791207967,"priority":1,"record_length":96,"hex_timestamp":"000001a10c508918"} 
[2026-10-05 19:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:17:31] 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-10-05 19:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549162496001,"66":25375,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549162496001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:17:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:17:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549162496001,"power":25375,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":206353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:17:31] local.INFO: GPS data processed {"connection_id":206353,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:17:31] local.INFO: Acknowledgment sent {"connection_id":206353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:17:36] local.INFO: TCP Data received {"connection_id":206354,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:17:36] local.INFO: Processing buffer {"connection_id":206354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:17:36] local.INFO: IMEI packet received {"connection_id":206354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":206354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:17:40] local.INFO: TCP Data received {"connection_id":206354,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:17:40] local.INFO: Processing buffer {"connection_id":206354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:17:40] local.INFO: IMEI packet received {"connection_id":206354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":206354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:17:42] local.INFO: TCP Data received {"connection_id":206354,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:17:42] local.INFO: Processing buffer {"connection_id":206354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:17:42] local.INFO: Packet analysis {"connection_id":206354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:17:42] local.INFO: Extracted packet for processing {"connection_id":206354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:17:42] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549167616001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791207987000,"timestamp_ms":1791207987000,"timestamp_seconds":1791207987,"priority":1,"record_length":96,"hex_timestamp":"000001a10c50d738"} 
[2026-10-05 19:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 19:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549167616001,"66":12863,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549167616001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:17:42] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:17:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549167616001,"power":12863,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":206354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:17:42] local.INFO: GPS data processed {"connection_id":206354,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:17:42] local.INFO: Acknowledgment sent {"connection_id":206354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:17:46] local.INFO: TCP Data received {"connection_id":206354,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:17:46] local.INFO: Processing buffer {"connection_id":206354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:17:46] local.INFO: Packet analysis {"connection_id":206354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:17:46] local.INFO: Extracted packet for processing {"connection_id":206354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:17:46] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:17: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-10-05 19:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549167616001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791207987000,"timestamp_ms":1791207987000,"timestamp_seconds":1791207987,"priority":1,"record_length":96,"hex_timestamp":"000001a10c50d738"} 
[2026-10-05 19:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 19:17:46] 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-10-05 19:17: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-10-05 19:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":206354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":206354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":206354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549167616001,"66":12863,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549167616001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:17:46] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:17:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549167616001,"power":12863,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":206354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:17:46] local.INFO: GPS data processed {"connection_id":206354,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:17:46] local.INFO: Acknowledgment sent {"connection_id":206354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:17:59] local.INFO: TCP Data received {"connection_id":207905,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:17:59] local.INFO: Processing buffer {"connection_id":207905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:17:59] local.INFO: IMEI packet received {"connection_id":207905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":207905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:18:04] local.INFO: TCP Data received {"connection_id":207905,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:18:04] local.INFO: Processing buffer {"connection_id":207905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:18:04] local.INFO: IMEI packet received {"connection_id":207905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":207905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:18:05] local.INFO: TCP Data received {"connection_id":207905,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:18:05] local.INFO: Processing buffer {"connection_id":207905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:18:05] local.INFO: Packet analysis {"connection_id":207905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:18:05] local.INFO: Extracted packet for processing {"connection_id":207905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:18:05] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549162496001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791207967000,"timestamp_ms":1791207967000,"timestamp_seconds":1791207967,"priority":1,"record_length":96,"hex_timestamp":"000001a10c508918"} 
[2026-10-05 19:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:18: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-10-05 19:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549162496001,"66":25375,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549162496001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:18:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:18:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549162496001,"power":25375,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":207905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:18:05] local.INFO: GPS data processed {"connection_id":207905,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:18:05] local.INFO: Acknowledgment sent {"connection_id":207905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:18:10] local.INFO: TCP Data received {"connection_id":207905,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:18:10] local.INFO: Processing buffer {"connection_id":207905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:18:10] local.INFO: Packet analysis {"connection_id":207905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:18:10] local.INFO: Extracted packet for processing {"connection_id":207905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:18:10] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549162496001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791207967000,"timestamp_ms":1791207967000,"timestamp_seconds":1791207967,"priority":1,"record_length":96,"hex_timestamp":"000001a10c508918"} 
[2026-10-05 19:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:18:10] 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-10-05 19:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":207905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":207905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":207905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:18:10] 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-10-05 19:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549162496001,"66":25375,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549162496001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:18:10] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:18:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549162496001,"power":25375,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":207905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:18:10] local.INFO: GPS data processed {"connection_id":207905,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:18:10] local.INFO: Acknowledgment sent {"connection_id":207905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:18:30] local.INFO: TCP Data received {"connection_id":207906,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:18:30] local.INFO: Processing buffer {"connection_id":207906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:18:30] local.INFO: IMEI packet received {"connection_id":207906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":207906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:18:35] local.INFO: TCP Data received {"connection_id":207906,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:18:35] local.INFO: Processing buffer {"connection_id":207906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:18:35] local.INFO: IMEI packet received {"connection_id":207906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":207906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:18:38] local.INFO: TCP Data received {"connection_id":207906,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:18:38] local.INFO: Processing buffer {"connection_id":207906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:18:38] local.INFO: Packet analysis {"connection_id":207906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:18:38] local.INFO: Extracted packet for processing {"connection_id":207906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:18:38] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549167616001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791207987000,"timestamp_ms":1791207987000,"timestamp_seconds":1791207987,"priority":1,"record_length":96,"hex_timestamp":"000001a10c50d738"} 
[2026-10-05 19:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 19:18:38] 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-10-05 19:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549167616001,"66":12863,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549167616001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:18:38] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:18:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549167616001,"power":12863,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":207906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:18:38] local.INFO: GPS data processed {"connection_id":207906,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:18:38] local.INFO: Acknowledgment sent {"connection_id":207906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:18:54] local.INFO: TCP Data received {"connection_id":204821,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:18:54] local.INFO: Processing buffer {"connection_id":204821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:18:54] local.INFO: IMEI packet received {"connection_id":204821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":204821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:18:59] local.INFO: TCP Data received {"connection_id":204821,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:18:59] local.INFO: Processing buffer {"connection_id":204821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:18:59] local.INFO: IMEI packet received {"connection_id":204821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":204821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:19:00] local.INFO: TCP Data received {"connection_id":204821,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:19:00] local.INFO: Processing buffer {"connection_id":204821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:19:00] local.INFO: Packet analysis {"connection_id":204821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:19:00] local.INFO: Extracted packet for processing {"connection_id":204821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:19:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549162496001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791207967000,"timestamp_ms":1791207967000,"timestamp_seconds":1791207967,"priority":1,"record_length":96,"hex_timestamp":"000001a10c508918"} 
[2026-10-05 19:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:19: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-10-05 19: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-10-05 19:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:19: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-10-05 19:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549162496001,"66":25375,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549162496001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:19:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:19:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549162496001,"power":25375,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":204821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:19:00] local.INFO: GPS data processed {"connection_id":204821,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:19:00] local.INFO: Acknowledgment sent {"connection_id":204821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:19:11] local.INFO: TCP Data received {"connection_id":207906,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:19:11] local.INFO: Processing buffer {"connection_id":207906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:19:11] local.INFO: Packet analysis {"connection_id":207906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:19:11] local.INFO: Extracted packet for processing {"connection_id":207906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:19:11] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549167616001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791207987000,"timestamp_ms":1791207987000,"timestamp_seconds":1791207987,"priority":1,"record_length":96,"hex_timestamp":"000001a10c50d738"} 
[2026-10-05 19:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 19:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549167616001,"66":12863,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549167616001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:19:11] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:19:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549167616001,"power":12863,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":207906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:19:11] local.INFO: GPS data processed {"connection_id":207906,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:19:11] local.INFO: Acknowledgment sent {"connection_id":207906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:19:30] local.INFO: TCP Data received {"connection_id":204962,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:19:30] local.INFO: Processing buffer {"connection_id":204962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:19:30] local.INFO: IMEI packet received {"connection_id":204962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":204962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:19:31] local.INFO: TCP Data received {"connection_id":204821,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:19:31] local.INFO: Processing buffer {"connection_id":204821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:19:31] local.INFO: Packet analysis {"connection_id":204821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:19:31] local.INFO: Extracted packet for processing {"connection_id":204821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:19:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549162496001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791207967000,"timestamp_ms":1791207967000,"timestamp_seconds":1791207967,"priority":1,"record_length":96,"hex_timestamp":"000001a10c508918"} 
[2026-10-05 19:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:19:31] 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-10-05 19: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-10-05 19:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549162496001,"66":25375,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549162496001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:19:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:19:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549162496001,"power":25375,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":204821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:19:31] local.INFO: GPS data processed {"connection_id":204821,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:19:31] local.INFO: Acknowledgment sent {"connection_id":204821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:19:36] local.INFO: TCP Data received {"connection_id":204962,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:19:36] local.INFO: Processing buffer {"connection_id":204962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:19:36] local.INFO: IMEI packet received {"connection_id":204962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":204962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:19:37] local.INFO: TCP Data received {"connection_id":204962,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:19:37] local.INFO: Processing buffer {"connection_id":204962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:19:37] local.INFO: Packet analysis {"connection_id":204962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:19:37] local.INFO: Extracted packet for processing {"connection_id":204962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:19:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549167616001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791207987000,"timestamp_ms":1791207987000,"timestamp_seconds":1791207987,"priority":1,"record_length":96,"hex_timestamp":"000001a10c50d738"} 
[2026-10-05 19:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 19:19:37] 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-10-05 19:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:19: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-10-05 19:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549167616001,"66":12863,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549167616001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:19:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:19:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549167616001,"power":12863,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":204962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:19:37] local.INFO: GPS data processed {"connection_id":204962,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:19:37] local.INFO: Acknowledgment sent {"connection_id":204962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:19:54] local.INFO: TCP Data received {"connection_id":204823,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:19:54] local.INFO: Processing buffer {"connection_id":204823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:19:54] local.INFO: IMEI packet received {"connection_id":204823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":204823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:19:59] local.INFO: TCP Data received {"connection_id":204823,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:19:59] local.INFO: Processing buffer {"connection_id":204823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:19:59] local.INFO: IMEI packet received {"connection_id":204823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":204823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:20:00] local.INFO: TCP Data received {"connection_id":204823,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:20:00] local.INFO: Processing buffer {"connection_id":204823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:20:00] local.INFO: Packet analysis {"connection_id":204823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:20:00] local.INFO: Extracted packet for processing {"connection_id":204823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:20:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549162496001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791207967000,"timestamp_ms":1791207967000,"timestamp_seconds":1791207967,"priority":1,"record_length":96,"hex_timestamp":"000001a10c508918"} 
[2026-10-05 19:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:20: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-10-05 19: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-10-05 19:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:20:00] 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-10-05 19:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549162496001,"66":25375,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549162496001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:20:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:20:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549162496001,"power":25375,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":204823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:20:00] local.INFO: GPS data processed {"connection_id":204823,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:20:00] local.INFO: Acknowledgment sent {"connection_id":204823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:20:09] local.INFO: TCP Data received {"connection_id":204962,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:20:09] local.INFO: Processing buffer {"connection_id":204962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:20:09] local.INFO: Packet analysis {"connection_id":204962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:20:09] local.INFO: Extracted packet for processing {"connection_id":204962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:20:09] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549167616001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791207987000,"timestamp_ms":1791207987000,"timestamp_seconds":1791207987,"priority":1,"record_length":96,"hex_timestamp":"000001a10c50d738"} 
[2026-10-05 19:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 19:20:09] 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-10-05 19:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:20: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-10-05 19:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549167616001,"66":12863,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549167616001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:20:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:20:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549167616001,"power":12863,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":204962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969485,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:20:09] local.INFO: GPS data processed {"connection_id":204962,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:20:09] local.INFO: Acknowledgment sent {"connection_id":204962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:20:31] local.INFO: TCP Data received {"connection_id":204823,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:20:31] local.INFO: Processing buffer {"connection_id":204823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:20:31] local.INFO: Packet analysis {"connection_id":204823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:20:31] local.INFO: Extracted packet for processing {"connection_id":204823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:20:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549162496001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791207967000,"timestamp_ms":1791207967000,"timestamp_seconds":1791207967,"priority":1,"record_length":96,"hex_timestamp":"000001a10c508918"} 
[2026-10-05 19:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:20:31] 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-10-05 19: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-10-05 19:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:20:31] 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-10-05 19:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549162496001,"66":25375,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549162496001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:20:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:20:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549162496001,"power":25375,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":204823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:20:31] local.INFO: GPS data processed {"connection_id":204823,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:20:31] local.INFO: Acknowledgment sent {"connection_id":204823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:20:35] local.INFO: TCP Data received {"connection_id":207908,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:20:35] local.INFO: Processing buffer {"connection_id":207908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:20:35] local.INFO: IMEI packet received {"connection_id":207908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":207908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:20:41] local.INFO: TCP Data received {"connection_id":207908,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:20:41] local.INFO: Processing buffer {"connection_id":207908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:20:41] local.INFO: IMEI packet received {"connection_id":207908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":207908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:20:42] local.INFO: TCP Data received {"connection_id":207908,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:20:42] local.INFO: Processing buffer {"connection_id":207908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:20:42] local.INFO: Packet analysis {"connection_id":207908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:20:42] local.INFO: Extracted packet for processing {"connection_id":207908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:20:42] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549167616001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791207987000,"timestamp_ms":1791207987000,"timestamp_seconds":1791207987,"priority":1,"record_length":96,"hex_timestamp":"000001a10c50d738"} 
[2026-10-05 19:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 19:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:20: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-10-05 19:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549167616001,"66":12863,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549167616001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:20:42] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:20:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549167616001,"power":12863,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":207908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:20:42] local.INFO: GPS data processed {"connection_id":207908,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:20:42] local.INFO: Acknowledgment sent {"connection_id":207908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:20:45] local.INFO: TCP Data received {"connection_id":207908,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:20:45] local.INFO: Processing buffer {"connection_id":207908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:20:45] local.INFO: Packet analysis {"connection_id":207908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:20:45] local.INFO: Extracted packet for processing {"connection_id":207908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:20:45] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549167616001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791207987000,"timestamp_ms":1791207987000,"timestamp_seconds":1791207987,"priority":1,"record_length":96,"hex_timestamp":"000001a10c50d738"} 
[2026-10-05 19:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 19:20:45] 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-10-05 19:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":207908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":207908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":207908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549167616001,"66":12863,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549167616001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:20:45] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:20:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549167616001,"power":12863,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":207908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:20:46] local.INFO: GPS data processed {"connection_id":207908,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:20:46] local.INFO: Acknowledgment sent {"connection_id":207908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:20:51] local.INFO: TCP Data received {"connection_id":207908,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:20:51] local.INFO: Processing buffer {"connection_id":207908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c50d738012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:20:51] local.INFO: Packet analysis {"connection_id":207908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:20:51] local.INFO: Extracted packet for processing {"connection_id":207908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:20:51] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549167616001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791207987000,"timestamp_ms":1791207987000,"timestamp_seconds":1791207987,"priority":1,"record_length":96,"hex_timestamp":"000001a10c50d738"} 
[2026-10-05 19:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 19:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":207908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":207908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":207908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:20:51] 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-10-05 19:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549167616001,"66":12863,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549167616001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:20:51] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:20:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549167616001,"power":12863,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":207908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969489,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:20:51] local.INFO: GPS data processed {"connection_id":207908,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:20:51] local.INFO: Acknowledgment sent {"connection_id":207908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:20:54] local.INFO: TCP Data received {"connection_id":204824,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:20:54] local.INFO: Processing buffer {"connection_id":204824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:20:54] local.INFO: IMEI packet received {"connection_id":204824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":204824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:20:59] local.INFO: TCP Data received {"connection_id":204824,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:20:59] local.INFO: Processing buffer {"connection_id":204824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:20:59] local.INFO: IMEI packet received {"connection_id":204824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":204824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:21:00] local.INFO: TCP Data received {"connection_id":204824,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:21:00] local.INFO: Processing buffer {"connection_id":204824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:21:00] local.INFO: Packet analysis {"connection_id":204824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:21:00] local.INFO: Extracted packet for processing {"connection_id":204824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:21:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549162496001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791207967000,"timestamp_ms":1791207967000,"timestamp_seconds":1791207967,"priority":1,"record_length":96,"hex_timestamp":"000001a10c508918"} 
[2026-10-05 19:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:21: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-10-05 19: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-10-05 19:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549162496001,"66":25375,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549162496001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:21:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:21:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549162496001,"power":25375,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":204824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:21:00] local.INFO: GPS data processed {"connection_id":204824,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:21:00] local.INFO: Acknowledgment sent {"connection_id":204824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:21:09] local.INFO: TCP Data received {"connection_id":204963,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:21:09] local.INFO: Processing buffer {"connection_id":204963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:21:09] local.INFO: IMEI packet received {"connection_id":204963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":204963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:21:11] local.INFO: TCP Data received {"connection_id":204963,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c51dcf0012d1821c00721a4800049008c2b..."} 
[2026-10-05 19:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c51dcf0012d1821c00721a4800049008c2b..."} 
[2026-10-05 19:21:11] local.INFO: Processing buffer {"connection_id":204963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c51dcf0012d1821c00721a4800049008c2b..."} 
[2026-10-05 19:21:11] local.INFO: Packet analysis {"connection_id":204963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c51"} 
[2026-10-05 19:21:11] local.INFO: Extracted packet for processing {"connection_id":204963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c51"} 
[2026-10-05 19:21:11] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119645312,"longitude_deg":75.6556224,"latitude_deg":11.9645312,"altitude":73,"angle":140,"satellites":43,"speed":12,"hex_longitude":"2d1821c0","hex_latitude":"0721a480","is_valid_coordinates":true} 
[2026-10-05 19:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549261056001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25293470428037120,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794354688,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791208054000,"timestamp_ms":1791208054000,"timestamp_seconds":1791208054,"priority":1,"record_length":96,"hex_timestamp":"000001a10c51dcf0"} 
[2026-10-05 19:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:21: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-10-05 19:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 19:21:11] 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-10-05 19:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549261056001,"66":12819,"120":206,"28":31744,"24":12,"16":25293470428037120,"45":1738389486794354688},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549261056001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:21:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:21:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25293470428037120,"km_value":25293470428037.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794354688,"description":"Unknown IO ID 45"} 
[2026-10-05 19:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549261056001,"power":12819,"unknown_120":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1738389486794354688}} 
[2026-10-05 19:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":204963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:21:11] local.INFO: GPS data processed {"connection_id":204963,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:21:11] local.INFO: Acknowledgment sent {"connection_id":204963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:21:31] local.INFO: TCP Data received {"connection_id":204824,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:21:31] local.INFO: Processing buffer {"connection_id":204824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c508918012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:21:31] local.INFO: Packet analysis {"connection_id":204824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:21:31] local.INFO: Extracted packet for processing {"connection_id":204824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c50"} 
[2026-10-05 19:21:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549162496001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791207967000,"timestamp_ms":1791207967000,"timestamp_seconds":1791207967,"priority":1,"record_length":96,"hex_timestamp":"000001a10c508918"} 
[2026-10-05 19:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:21:31] 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-10-05 19: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-10-05 19:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549162496001,"66":25375,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549162496001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:21:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:21:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549162496001,"power":25375,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":204824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:21:31] local.INFO: GPS data processed {"connection_id":204824,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:21:31] local.INFO: Acknowledgment sent {"connection_id":204824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:21:35] local.INFO: TCP Data received {"connection_id":206355,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:21:35] local.INFO: Processing buffer {"connection_id":206355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:21:35] local.INFO: IMEI packet received {"connection_id":206355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":206355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:21:35] local.INFO: TCP Data received {"connection_id":206355,"ip":"42.106.6.37","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-05 19:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206355,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-05 19:21:35] local.INFO: Processing buffer {"connection_id":206355,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-05 19:21:35] local.INFO: IMEI packet received {"connection_id":206355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":206355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:21:40] local.INFO: TCP Data received {"connection_id":206355,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:21:40] local.INFO: Processing buffer {"connection_id":206355,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-05 19:21:40] local.INFO: IMEI packet received {"connection_id":206355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":206355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:21:42] local.INFO: TCP Data received {"connection_id":206355,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:21:42] local.INFO: Processing buffer {"connection_id":206355,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a10c..."} 
[2026-10-05 19:21:42] local.INFO: IMEI packet received {"connection_id":206355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":206355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:21:46] local.INFO: TCP Data received {"connection_id":206355,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:21:46] local.INFO: Processing buffer {"connection_id":206355,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:21:46] local.INFO: Packet analysis {"connection_id":206355,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:21:46] local.INFO: Extracted packet for processing {"connection_id":206355,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:21:46] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549244672001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791208288000,"timestamp_ms":1791208288000,"timestamp_seconds":1791208288,"priority":1,"record_length":96,"hex_timestamp":"000001a10c556f00"} 
[2026-10-05 19:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 19:21:46] 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-10-05 19:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":206355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":206355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":206355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:21:46] 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-10-05 19:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549244672001,"66":12765,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549244672001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:21:46] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:21:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549244672001,"power":12765,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":206355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969493,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:21:46] local.INFO: GPS data processed {"connection_id":206355,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:21:46] local.INFO: Acknowledgment sent {"connection_id":206355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:21:46] local.INFO: Packet analysis {"connection_id":206355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:21:46] local.INFO: Extracted packet for processing {"connection_id":206355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:21:46] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549244672001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791208288000,"timestamp_ms":1791208288000,"timestamp_seconds":1791208288,"priority":1,"record_length":96,"hex_timestamp":"000001a10c556f00"} 
[2026-10-05 19:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 19:21:46] 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-10-05 19:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":206355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":206355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":206355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:21:46] 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-10-05 19:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549244672001,"66":12765,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549244672001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:21:46] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:21:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549244672001,"power":12765,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":206355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:21:46] local.INFO: GPS data processed {"connection_id":206355,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:21:46] local.INFO: Acknowledgment sent {"connection_id":206355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:21:50] local.INFO: TCP Data received {"connection_id":204963,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c51f460012d18280007219ef0004b00762b..."} 
[2026-10-05 19:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c51f460012d18280007219ef0004b00762b..."} 
[2026-10-05 19:21:50] local.INFO: Processing buffer {"connection_id":204963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c51f460012d18280007219ef0004b00762b..."} 
[2026-10-05 19:21:50] local.INFO: Packet analysis {"connection_id":204963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c51"} 
[2026-10-05 19:21:50] local.INFO: Extracted packet for processing {"connection_id":204963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c51"} 
[2026-10-05 19:21:50] local.INFO: GPS Element Parsed {"raw_longitude":756557824,"raw_latitude":119643888,"longitude_deg":75.6557824,"latitude_deg":11.9643888,"altitude":75,"angle":118,"satellites":43,"speed":11,"hex_longitude":"2d182800","hex_latitude":"07219ef0","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549261824001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25293573507252224,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068003454976,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1791208060000,"timestamp_ms":1791208060000,"timestamp_seconds":1791208060,"priority":1,"record_length":96,"hex_timestamp":"000001a10c51f460"} 
[2026-10-05 19:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 19:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:50] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503985571627008,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767099018548346856,"corrected_to":0} 
[2026-10-05 19:21:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:50] local.WARNING: Large IO value detected {"io_id":12,"raw_value":5881261313746277632,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:50] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2798649417,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:50] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6629562538579525888,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:50] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:50] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2147951014,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:50] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182234004586752,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:50] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3694264320,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:50] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2422241709384539181,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:50] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4972200382651485724,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:50] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755450980794609,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:50] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194997504,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:50] local.WARNING: Large IO value detected {"io_id":208,"raw_value":84750417472725395,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:50] local.WARNING: Large IO value detected {"io_id":56,"raw_value":20266366565097984,"note":"Value kept but may cause issues"} 
[2026-10-05 19:21:50] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,120,28,24,241,158,16,220,161,209,45,166,72,43,10,66,205,64,167,73,201,1,240,63,12,33,4,113,6,185,27,128,44,239,50,2,89,7,49,124,69,208,56],"length":625,"final_offset":755,"validated_count":43,"validation_warnings":[{"io_id":205,"original":-1767099018548346856,"validated":0}]} 
[2026-10-05 19:21:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260358481081008128,"timestamp_seconds":5260358481081008.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 19:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":204963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":204963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":204963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549261824001,"66":12819,"120":206,"28":31744,"24":11,"16":25293573507252224,"45":1738882068003454976},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549261824001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:21:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:21:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25293573507252224,"km_value":25293573507252.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068003454976,"description":"Unknown IO ID 45"} 
[2026-10-05 19:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549261824001,"power":12819,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1738882068003454976}} 
[2026-10-05 19:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":204963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:21:50] local.INFO: GPS data processed {"connection_id":204963,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:21:50] local.INFO: Acknowledgment sent {"connection_id":204963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:21:54] local.INFO: TCP Data received {"connection_id":204825,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:21:54] local.INFO: Processing buffer {"connection_id":204825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:21:54] local.INFO: IMEI packet received {"connection_id":204825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":204825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:21:59] local.INFO: TCP Data received {"connection_id":204825,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:21:59] local.INFO: Processing buffer {"connection_id":204825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:21:59] local.INFO: IMEI packet received {"connection_id":204825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":204825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:22:00] local.INFO: TCP Data received {"connection_id":204825,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:22:00] local.INFO: Processing buffer {"connection_id":204825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:22:00] local.INFO: Packet analysis {"connection_id":204825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:22:00] local.INFO: Extracted packet for processing {"connection_id":204825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:22:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549239552001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791208268000,"timestamp_ms":1791208268000,"timestamp_seconds":1791208268,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5520e0"} 
[2026-10-05 19:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-10-05 19:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:22: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-10-05 19:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549239552001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549239552001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:22:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:22:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549239552001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":204825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:22:01] local.INFO: GPS data processed {"connection_id":204825,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:22:01] local.INFO: Acknowledgment sent {"connection_id":204825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:22:13] local.INFO: TCP Data received {"connection_id":204964,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:22:13] local.INFO: Processing buffer {"connection_id":204964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:22:13] local.INFO: IMEI packet received {"connection_id":204964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":204964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:22:14] local.INFO: TCP Data received {"connection_id":207909,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:22:14] local.INFO: Processing buffer {"connection_id":207909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:22:14] local.INFO: IMEI packet received {"connection_id":207909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 19:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":207909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:22:14] local.INFO: TCP Data received {"connection_id":204964,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:22:14] local.INFO: Processing buffer {"connection_id":204964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:22:14] local.INFO: IMEI packet received {"connection_id":204964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":204964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:22:16] local.INFO: TCP Data received {"connection_id":204964,"ip":"117.224.141.49","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a10c..."} 
[2026-10-05 19:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204964,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a10c..."} 
[2026-10-05 19:22:16] local.INFO: Processing buffer {"connection_id":204964,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a10c..."} 
[2026-10-05 19:22:16] local.INFO: IMEI packet received {"connection_id":204964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":204964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:22:20] local.INFO: TCP Data received {"connection_id":204964,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c529870012d18298007219dd0004b007f2b..."} 
[2026-10-05 19:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c529870012d18298007219dd0004b007f2b..."} 
[2026-10-05 19:22:20] local.INFO: Processing buffer {"connection_id":204964,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a10c524668012d18298007219dd0004b007f29..."} 
[2026-10-05 19:22:20] local.INFO: Packet analysis {"connection_id":204964,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a10c52"} 
[2026-10-05 19:22:20] local.INFO: Extracted packet for processing {"connection_id":204964,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c52"} 
[2026-10-05 19:22:20] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119643600,"longitude_deg":75.6558208,"latitude_deg":11.96436,"altitude":75,"angle":127,"satellites":41,"speed":0,"hex_longitude":"2d182980","hex_latitude":"07219dd0","is_valid_coordinates":true} 
[2026-10-05 19:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549263360001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25293599277056000,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740641286607532032,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791208081000,"timestamp_ms":1791208081000,"timestamp_seconds":1791208081,"priority":1,"record_length":96,"hex_timestamp":"000001a10c524668"} 
[2026-10-05 19:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:22: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-10-05 19:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 19:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:20] local.WARNING: Large IO value detected {"io_id":28,"raw_value":2147951014,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:20] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503985573330944,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767661968501768168,"corrected_to":0} 
[2026-10-05 19:22:20] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:20] local.WARNING: Large IO value detected {"io_id":12,"raw_value":5886758871885158912,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:20] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2806513737,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:20] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6629562538579525888,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:20] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:20] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182238299554048,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:20] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3694395392,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:20] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2424396752174982956,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:20] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:20] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194964224,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:20] local.WARNING: Large IO value detected {"io_id":112,"raw_value":84750446463754653,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:20] local.WARNING: Large IO value detected {"io_id":136,"raw_value":20266319337232896,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:20] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,120,28,24,241,158,16,220,161,45,192,164,73,43,10,66,209,166,72,205,64,1,240,63,12,33,4,113,9,189,208,239,50,2,89,7,124,69,112,136],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":-1767661968501768168,"validated":0}]} 
[2026-10-05 19:22:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404449479900987392,"timestamp_seconds":5404449479900987.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 19:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":204964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":204964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":204964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549263360001,"66":12526,"120":206,"28":31744,"24":0,"16":25293599277056000,"45":1740641286607532032},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549263360001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:22:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:22:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25293599277056000,"km_value":25293599277056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740641286607532032,"description":"Unknown IO ID 45"} 
[2026-10-05 19:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549263360001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740641286607532032}} 
[2026-10-05 19:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":204964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:22:20] local.INFO: GPS data processed {"connection_id":204964,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:22:20] local.INFO: Acknowledgment sent {"connection_id":204964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:22:20] local.INFO: Packet analysis {"connection_id":204964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c52"} 
[2026-10-05 19:22:20] local.INFO: Extracted packet for processing {"connection_id":204964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c52"} 
[2026-10-05 19:22:20] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119643600,"longitude_deg":75.6558208,"latitude_deg":11.96436,"altitude":75,"angle":127,"satellites":43,"speed":0,"hex_longitude":"2d182980","hex_latitude":"07219dd0","is_valid_coordinates":true} 
[2026-10-05 19:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549268736001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25293599277056000,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741063499072524288,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791208102000,"timestamp_ms":1791208102000,"timestamp_seconds":1791208102,"priority":1,"record_length":96,"hex_timestamp":"000001a10c529870"} 
[2026-10-05 19:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:22: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-10-05 19:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 19:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":204964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":204964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":204964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549268736001,"66":12809,"120":206,"28":31744,"24":0,"16":25293599277056000,"45":1741063499072524288},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549268736001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:22:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:22:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25293599277056000,"km_value":25293599277056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741063499072524288,"description":"Unknown IO ID 45"} 
[2026-10-05 19:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549268736001,"power":12809,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741063499072524288}} 
[2026-10-05 19:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":204964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:22:20] local.INFO: GPS data processed {"connection_id":204964,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:22:20] local.INFO: Acknowledgment sent {"connection_id":204964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:22:25] local.INFO: TCP Data received {"connection_id":204964,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c52ea78012d18298007219dd0004b007f2a..."} 
[2026-10-05 19:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c52ea78012d18298007219dd0004b007f2a..."} 
[2026-10-05 19:22:25] local.INFO: Processing buffer {"connection_id":204964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c52ea78012d18298007219dd0004b007f2a..."} 
[2026-10-05 19:22:25] local.INFO: Packet analysis {"connection_id":204964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c52"} 
[2026-10-05 19:22:25] local.INFO: Extracted packet for processing {"connection_id":204964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c52"} 
[2026-10-05 19:22:25] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119643600,"longitude_deg":75.6558208,"latitude_deg":11.96436,"altitude":75,"angle":127,"satellites":42,"speed":0,"hex_longitude":"2d182980","hex_latitude":"07219dd0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 19:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549274112001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25293599277056000,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741063499072524288,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1791208123000,"timestamp_ms":1791208123000,"timestamp_seconds":1791208123,"priority":1,"record_length":96,"hex_timestamp":"000001a10c52ea78"} 
[2026-10-05 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-10-05 19:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-05 19:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":432345564395340800,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:25] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:25] local.WARNING: Large IO value detected {"io_id":12,"raw_value":5890057406768487552,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:25] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2796552264,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1342254360,"corrected_to":0} 
[2026-10-05 19:22:25] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4539854818423918108,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:25] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3694919680,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:25] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2424854149028922923,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:25] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:25] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,220,161,70,45,128,157,75,41,10,66,244,43,192,1,240,19,12,33,4,113,205,31,32,239,50,2,89,7,73,9,124,58],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1342254360,"validated":0}]} 
[2026-10-05 19:22:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404459375504916480,"timestamp_seconds":5404459375504916.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 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-10-05 19:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":204964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":204964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":204964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549274112001,"66":12776,"120":206,"28":31744,"24":0,"16":25293599277056000,"45":1741063499072524288},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549274112001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:22:25] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:22:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25293599277056000,"km_value":25293599277056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741063499072524288,"description":"Unknown IO ID 45"} 
[2026-10-05 19:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549274112001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741063499072524288}} 
[2026-10-05 19:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":204964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:22:25] local.INFO: GPS data processed {"connection_id":204964,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:22:25] local.INFO: Acknowledgment sent {"connection_id":204964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:22:30] local.INFO: TCP Data received {"connection_id":206356,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206356,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:22:30] local.INFO: Processing buffer {"connection_id":206356,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:22:30] local.INFO: IMEI packet received {"connection_id":206356,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":206356,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:22:32] local.INFO: TCP Data received {"connection_id":204825,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:22:32] local.INFO: Processing buffer {"connection_id":204825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:22:32] local.INFO: Packet analysis {"connection_id":204825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:22:32] local.INFO: Extracted packet for processing {"connection_id":204825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549239552001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791208268000,"timestamp_ms":1791208268000,"timestamp_seconds":1791208268,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5520e0"} 
[2026-10-05 19:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-10-05 19:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549239552001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549239552001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:22:32] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:22:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549239552001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":204825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:22:32] local.INFO: GPS data processed {"connection_id":204825,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:22:32] local.INFO: Acknowledgment sent {"connection_id":204825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:22:35] local.INFO: TCP Data received {"connection_id":206356,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206356,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:22:35] local.INFO: Processing buffer {"connection_id":206356,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:22:35] local.INFO: IMEI packet received {"connection_id":206356,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":206356,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:22:37] local.INFO: TCP Data received {"connection_id":206356,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:22:37] local.INFO: Processing buffer {"connection_id":206356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:22:37] local.INFO: Packet analysis {"connection_id":206356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:22:37] local.INFO: Extracted packet for processing {"connection_id":206356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:22:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549244672001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791208288000,"timestamp_ms":1791208288000,"timestamp_seconds":1791208288,"priority":1,"record_length":96,"hex_timestamp":"000001a10c556f00"} 
[2026-10-05 19:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 19:22:37] 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-10-05 19: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-10-05 19:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:22: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-10-05 19:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549244672001,"66":12765,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549244672001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:22:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:22:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549244672001,"power":12765,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":206356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:22:37] local.INFO: GPS data processed {"connection_id":206356,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:22:37] local.INFO: Acknowledgment sent {"connection_id":206356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:22:44] local.INFO: TCP Data received {"connection_id":204965,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204965,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:22:44] local.INFO: Processing buffer {"connection_id":204965,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:22:44] local.INFO: IMEI packet received {"connection_id":204965,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 19:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":204965,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:22:54] local.INFO: TCP Data received {"connection_id":207910,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:22:54] local.INFO: Processing buffer {"connection_id":207910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:22:54] local.INFO: IMEI packet received {"connection_id":207910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":207910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:22:59] local.INFO: TCP Data received {"connection_id":207910,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:22:59] local.INFO: Processing buffer {"connection_id":207910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:22:59] local.INFO: IMEI packet received {"connection_id":207910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":207910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:23:00] local.INFO: TCP Data received {"connection_id":207910,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:23:00] local.INFO: Processing buffer {"connection_id":207910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:23:00] local.INFO: Packet analysis {"connection_id":207910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:23:00] local.INFO: Extracted packet for processing {"connection_id":207910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:23:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549239552001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791208268000,"timestamp_ms":1791208268000,"timestamp_seconds":1791208268,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5520e0"} 
[2026-10-05 19:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-10-05 19:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:23: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-10-05 19:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549239552001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549239552001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:23:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:23:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549239552001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":207910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:23:00] local.INFO: GPS data processed {"connection_id":207910,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:23:00] local.INFO: Acknowledgment sent {"connection_id":207910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:23:04] local.INFO: TCP Data received {"connection_id":207911,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:23:04] local.INFO: Processing buffer {"connection_id":207911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:23:04] local.INFO: IMEI packet received {"connection_id":207911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":207911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:23:09] local.INFO: TCP Data received {"connection_id":206356,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:23:09] local.INFO: Processing buffer {"connection_id":206356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:23:09] local.INFO: Packet analysis {"connection_id":206356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:23:09] local.INFO: Extracted packet for processing {"connection_id":206356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:23:09] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549244672001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791208288000,"timestamp_ms":1791208288000,"timestamp_seconds":1791208288,"priority":1,"record_length":96,"hex_timestamp":"000001a10c556f00"} 
[2026-10-05 19:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 19:23:09] 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-10-05 19: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-10-05 19:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":206356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":206356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":206356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:23: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-10-05 19:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549244672001,"66":12765,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549244672001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:23:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:23:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549244672001,"power":12765,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":206356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:23:09] local.INFO: GPS data processed {"connection_id":206356,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:23:09] local.INFO: Acknowledgment sent {"connection_id":206356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:23:13] local.INFO: TCP Data received {"connection_id":207911,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:23:13] local.INFO: Processing buffer {"connection_id":207911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:23:13] local.INFO: IMEI packet received {"connection_id":207911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":207911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:23:14] local.INFO: TCP Data received {"connection_id":207911,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c534068012d18298007219dd0004b007f29..."} 
[2026-10-05 19:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c534068012d18298007219dd0004b007f29..."} 
[2026-10-05 19:23:14] local.INFO: Processing buffer {"connection_id":207911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c534068012d18298007219dd0004b007f29..."} 
[2026-10-05 19:23:14] local.INFO: Packet analysis {"connection_id":207911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c53"} 
[2026-10-05 19:23:14] local.INFO: Extracted packet for processing {"connection_id":207911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c53"} 
[2026-10-05 19:23:14] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119643600,"longitude_deg":75.6558208,"latitude_deg":11.96436,"altitude":75,"angle":127,"satellites":41,"speed":0,"hex_longitude":"2d182980","hex_latitude":"07219dd0","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549279488001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25293599277056000,"note":"Value kept but may cause issues"} 
[2026-10-05 19:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741063499072524288,"note":"Value kept but may cause issues"} 
[2026-10-05 19:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791208145000,"timestamp_ms":1791208145000,"timestamp_seconds":1791208145,"priority":1,"record_length":96,"hex_timestamp":"000001a10c534068"} 
[2026-10-05 19:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:23: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-10-05 19: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 19:23:14] 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-10-05 19: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-10-05 19:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":207911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":207911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":207911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549279488001,"66":12798,"120":206,"28":31744,"24":0,"16":25293599277056000,"45":1741063499072524288},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549279488001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:23:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:23:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25293599277056000,"km_value":25293599277056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741063499072524288,"description":"Unknown IO ID 45"} 
[2026-10-05 19:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549279488001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741063499072524288}} 
[2026-10-05 19:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":207911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:23:14] local.INFO: GPS data processed {"connection_id":207911,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:23:14] local.INFO: Acknowledgment sent {"connection_id":207911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:23:31] local.INFO: TCP Data received {"connection_id":207910,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:23:31] local.INFO: Processing buffer {"connection_id":207910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:23:31] local.INFO: Packet analysis {"connection_id":207910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:23:31] local.INFO: Extracted packet for processing {"connection_id":207910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:23:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549239552001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791208268000,"timestamp_ms":1791208268000,"timestamp_seconds":1791208268,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5520e0"} 
[2026-10-05 19:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-10-05 19:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:23: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-10-05 19:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549239552001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549239552001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:23:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:23:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549239552001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":207910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:23:31] local.INFO: GPS data processed {"connection_id":207910,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:23:31] local.INFO: Acknowledgment sent {"connection_id":207910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:23:35] local.INFO: TCP Data received {"connection_id":204826,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:23:36] local.INFO: Processing buffer {"connection_id":204826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:23:36] local.INFO: IMEI packet received {"connection_id":204826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":204826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:23:40] local.INFO: TCP Data received {"connection_id":204826,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:23:40] local.INFO: Processing buffer {"connection_id":204826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:23:40] local.INFO: IMEI packet received {"connection_id":204826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":204826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:23:42] local.INFO: TCP Data received {"connection_id":204826,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:23:42] local.INFO: Processing buffer {"connection_id":204826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:23:42] local.INFO: Packet analysis {"connection_id":204826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:23:42] local.INFO: Extracted packet for processing {"connection_id":204826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:23:42] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549244672001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791208288000,"timestamp_ms":1791208288000,"timestamp_seconds":1791208288,"priority":1,"record_length":96,"hex_timestamp":"000001a10c556f00"} 
[2026-10-05 19:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 19:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:23: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-10-05 19:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549244672001,"66":12765,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549244672001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:23:42] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:23:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549244672001,"power":12765,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":204826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:23:42] local.INFO: GPS data processed {"connection_id":204826,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:23:42] local.INFO: Acknowledgment sent {"connection_id":204826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:23:45] local.INFO: TCP Data received {"connection_id":207911,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c538e88012d18298007219dd0004b007f27..."} 
[2026-10-05 19:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c538e88012d18298007219dd0004b007f27..."} 
[2026-10-05 19:23:45] local.INFO: Processing buffer {"connection_id":207911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c538e88012d18298007219dd0004b007f27..."} 
[2026-10-05 19:23:45] local.INFO: Packet analysis {"connection_id":207911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c53"} 
[2026-10-05 19:23:45] local.INFO: Extracted packet for processing {"connection_id":207911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c53"} 
[2026-10-05 19:23:45] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119643600,"longitude_deg":75.6558208,"latitude_deg":11.96436,"altitude":75,"angle":127,"satellites":39,"speed":0,"hex_longitude":"2d182980","hex_latitude":"07219dd0","is_valid_coordinates":true} 
[2026-10-05 19:23: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-10-05 19:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549285120001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25293599277056000,"note":"Value kept but may cause issues"} 
[2026-10-05 19:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741063499072524288,"note":"Value kept but may cause issues"} 
[2026-10-05 19:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791208165000,"timestamp_ms":1791208165000,"timestamp_seconds":1791208165,"priority":1,"record_length":96,"hex_timestamp":"000001a10c538e88"} 
[2026-10-05 19:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:23: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":254,"data_length":795,"current_offset":136} 
[2026-10-05 19:23:45] 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-10-05 19:23: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-10-05 19:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":207911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":207911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":207911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549285120001,"66":12102,"120":206,"28":31744,"24":0,"16":25293599277056000,"45":1741063499072524288},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549285120001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:23:45] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:23:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25293599277056000,"km_value":25293599277056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741063499072524288,"description":"Unknown IO ID 45"} 
[2026-10-05 19:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549285120001,"power":12102,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741063499072524288}} 
[2026-10-05 19:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":207911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:23:45] local.INFO: GPS data processed {"connection_id":207911,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:23:45] local.INFO: Acknowledgment sent {"connection_id":207911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:23:48] local.INFO: TCP Data received {"connection_id":204826,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:23:48] local.INFO: Processing buffer {"connection_id":204826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:23:48] local.INFO: Packet analysis {"connection_id":204826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:23:48] local.INFO: Extracted packet for processing {"connection_id":204826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:23:48] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549244672001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791208288000,"timestamp_ms":1791208288000,"timestamp_seconds":1791208288,"priority":1,"record_length":96,"hex_timestamp":"000001a10c556f00"} 
[2026-10-05 19:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 19:23:48] 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-10-05 19:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:23:48] 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-10-05 19:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549244672001,"66":12765,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549244672001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:23:48] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:23:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549244672001,"power":12765,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":204826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:23:48] local.INFO: GPS data processed {"connection_id":204826,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:23:48] local.INFO: Acknowledgment sent {"connection_id":204826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:23:54] local.INFO: TCP Data received {"connection_id":206358,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:23:54] local.INFO: Processing buffer {"connection_id":206358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:23:54] local.INFO: IMEI packet received {"connection_id":206358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":206358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:23:59] local.INFO: TCP Data received {"connection_id":206358,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:23:59] local.INFO: Processing buffer {"connection_id":206358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:23:59] local.INFO: IMEI packet received {"connection_id":206358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":206358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:24:00] local.INFO: TCP Data received {"connection_id":206358,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:24:00] local.INFO: Processing buffer {"connection_id":206358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:24:00] local.INFO: Packet analysis {"connection_id":206358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:24:00] local.INFO: Extracted packet for processing {"connection_id":206358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:24:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549239552001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791208268000,"timestamp_ms":1791208268000,"timestamp_seconds":1791208268,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5520e0"} 
[2026-10-05 19:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-10-05 19:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:24: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-10-05 19:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549239552001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549239552001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:24:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:24:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549239552001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":206358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:24:00] local.INFO: GPS data processed {"connection_id":206358,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:24:00] local.INFO: Acknowledgment sent {"connection_id":206358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:24:04] local.INFO: TCP Data received {"connection_id":207912,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:24:04] local.INFO: Processing buffer {"connection_id":207912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:24:04] local.INFO: IMEI packet received {"connection_id":207912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":207912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:24:10] local.INFO: TCP Data received {"connection_id":207912,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:24:10] local.INFO: Processing buffer {"connection_id":207912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:24:10] local.INFO: IMEI packet received {"connection_id":207912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":207912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:24:11] local.INFO: TCP Data received {"connection_id":207912,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c53e090012d18298007219dd0004b007f2a..."} 
[2026-10-05 19:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c53e090012d18298007219dd0004b007f2a..."} 
[2026-10-05 19:24:11] local.INFO: Processing buffer {"connection_id":207912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c53e090012d18298007219dd0004b007f2a..."} 
[2026-10-05 19:24:11] local.INFO: Packet analysis {"connection_id":207912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c53"} 
[2026-10-05 19:24:11] local.INFO: Extracted packet for processing {"connection_id":207912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c53"} 
[2026-10-05 19:24:11] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119643600,"longitude_deg":75.6558208,"latitude_deg":11.96436,"altitude":75,"angle":127,"satellites":42,"speed":0,"hex_longitude":"2d182980","hex_latitude":"07219dd0","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549290240001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25293599277056000,"note":"Value kept but may cause issues"} 
[2026-10-05 19:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741063499072524288,"note":"Value kept but may cause issues"} 
[2026-10-05 19:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791208186000,"timestamp_ms":1791208186000,"timestamp_seconds":1791208186,"priority":1,"record_length":96,"hex_timestamp":"000001a10c53e090"} 
[2026-10-05 19:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19: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-10-05 19: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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 19:24:11] 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-10-05 19: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-10-05 19:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549290240001,"66":12776,"120":206,"28":31744,"24":0,"16":25293599277056000,"45":1741063499072524288},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549290240001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:24:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:24:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25293599277056000,"km_value":25293599277056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741063499072524288,"description":"Unknown IO ID 45"} 
[2026-10-05 19:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549290240001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741063499072524288}} 
[2026-10-05 19:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":207912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:24:11] local.INFO: GPS data processed {"connection_id":207912,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:24:11] local.INFO: Acknowledgment sent {"connection_id":207912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:24:30] local.INFO: TCP Data received {"connection_id":207913,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:24:30] local.INFO: Processing buffer {"connection_id":207913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:24:30] local.INFO: IMEI packet received {"connection_id":207913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":207913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:24:31] local.INFO: TCP Data received {"connection_id":206358,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:24:31] local.INFO: Processing buffer {"connection_id":206358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:24:31] local.INFO: Packet analysis {"connection_id":206358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:24:31] local.INFO: Extracted packet for processing {"connection_id":206358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:24:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549239552001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791208268000,"timestamp_ms":1791208268000,"timestamp_seconds":1791208268,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5520e0"} 
[2026-10-05 19:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-10-05 19:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549239552001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549239552001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:24:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:24:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549239552001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":206358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:24:31] local.INFO: GPS data processed {"connection_id":206358,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:24:31] local.INFO: Acknowledgment sent {"connection_id":206358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:24:35] local.INFO: TCP Data received {"connection_id":207913,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:24:35] local.INFO: Processing buffer {"connection_id":207913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:24:35] local.INFO: IMEI packet received {"connection_id":207913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":207913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:24:37] local.INFO: TCP Data received {"connection_id":207913,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:24:37] local.INFO: Processing buffer {"connection_id":207913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:24:37] local.INFO: Packet analysis {"connection_id":207913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:24:37] local.INFO: Extracted packet for processing {"connection_id":207913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:24:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549244672001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791208288000,"timestamp_ms":1791208288000,"timestamp_seconds":1791208288,"priority":1,"record_length":96,"hex_timestamp":"000001a10c556f00"} 
[2026-10-05 19:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 19:24:37] 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-10-05 19:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:24: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-10-05 19:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549244672001,"66":12765,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549244672001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:24:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:24:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549244672001,"power":12765,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":207913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:24:37] local.INFO: GPS data processed {"connection_id":207913,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:24:37] local.INFO: Acknowledgment sent {"connection_id":207913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:24:42] local.INFO: TCP Data received {"connection_id":207912,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c543298012d18298007219dd0004b007f27..."} 
[2026-10-05 19:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c543298012d18298007219dd0004b007f27..."} 
[2026-10-05 19:24:42] local.INFO: Processing buffer {"connection_id":207912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c543298012d18298007219dd0004b007f27..."} 
[2026-10-05 19:24:42] local.INFO: Packet analysis {"connection_id":207912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c54"} 
[2026-10-05 19:24:42] local.INFO: Extracted packet for processing {"connection_id":207912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c54"} 
[2026-10-05 19:24:42] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119643600,"longitude_deg":75.6558208,"latitude_deg":11.96436,"altitude":75,"angle":127,"satellites":39,"speed":0,"hex_longitude":"2d182980","hex_latitude":"07219dd0","is_valid_coordinates":true} 
[2026-10-05 19:24: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-10-05 19:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549295616001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25293599277056000,"note":"Value kept but may cause issues"} 
[2026-10-05 19:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741063499072524288,"note":"Value kept but may cause issues"} 
[2026-10-05 19:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791208207000,"timestamp_ms":1791208207000,"timestamp_seconds":1791208207,"priority":1,"record_length":96,"hex_timestamp":"000001a10c543298"} 
[2026-10-05 19:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 19:24:42] 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-10-05 19:24: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-10-05 19:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549295616001,"66":12776,"120":206,"28":31744,"24":0,"16":25293599277056000,"45":1741063499072524288},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549295616001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:24:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:24:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25293599277056000,"km_value":25293599277056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741063499072524288,"description":"Unknown IO ID 45"} 
[2026-10-05 19:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549295616001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741063499072524288}} 
[2026-10-05 19:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":207912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:24:42] local.INFO: GPS data processed {"connection_id":207912,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:24:42] local.INFO: Acknowledgment sent {"connection_id":207912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:24:54] local.INFO: TCP Data received {"connection_id":206359,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:24:54] local.INFO: Processing buffer {"connection_id":206359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:24:54] local.INFO: IMEI packet received {"connection_id":206359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":206359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:24:59] local.INFO: TCP Data received {"connection_id":206359,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:24:59] local.INFO: Processing buffer {"connection_id":206359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:24:59] local.INFO: IMEI packet received {"connection_id":206359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":206359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:25:00] local.INFO: TCP Data received {"connection_id":206359,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:25:00] local.INFO: Processing buffer {"connection_id":206359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:25:00] local.INFO: Packet analysis {"connection_id":206359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:25:00] local.INFO: Extracted packet for processing {"connection_id":206359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:25:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549239552001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791208268000,"timestamp_ms":1791208268000,"timestamp_seconds":1791208268,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5520e0"} 
[2026-10-05 19:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":31,"data_length":795,"current_offset":136} 
[2026-10-05 19:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:25:00] 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-10-05 19:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549239552001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549239552001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:25:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:25:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549239552001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":206359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:25:00] local.INFO: GPS data processed {"connection_id":206359,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:25:00] local.INFO: Acknowledgment sent {"connection_id":206359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:25:04] local.INFO: TCP Data received {"connection_id":204967,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:25:04] local.INFO: Processing buffer {"connection_id":204967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:25:04] local.INFO: IMEI packet received {"connection_id":204967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":204967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:25:09] local.INFO: TCP Data received {"connection_id":207913,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:25:09] local.INFO: Processing buffer {"connection_id":207913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:25:09] local.INFO: Packet analysis {"connection_id":207913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:25:09] local.INFO: Extracted packet for processing {"connection_id":207913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:25:09] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549244672001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791208288000,"timestamp_ms":1791208288000,"timestamp_seconds":1791208288,"priority":1,"record_length":96,"hex_timestamp":"000001a10c556f00"} 
[2026-10-05 19:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 19:25:09] 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-10-05 19:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":207913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":207913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":207913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:25: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-10-05 19:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549244672001,"66":12765,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549244672001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:25:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:25:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549244672001,"power":12765,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":207913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:25:09] local.INFO: GPS data processed {"connection_id":207913,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:25:09] local.INFO: Acknowledgment sent {"connection_id":207913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:25:10] local.INFO: TCP Data received {"connection_id":204967,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:25:10] local.INFO: Processing buffer {"connection_id":204967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:25:10] local.INFO: IMEI packet received {"connection_id":204967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":204967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:25:11] local.INFO: TCP Data received {"connection_id":204967,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5484a0012d18298007219dd0004b007f2a..."} 
[2026-10-05 19:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5484a0012d18298007219dd0004b007f2a..."} 
[2026-10-05 19:25:11] local.INFO: Processing buffer {"connection_id":204967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5484a0012d18298007219dd0004b007f2a..."} 
[2026-10-05 19:25:11] local.INFO: Packet analysis {"connection_id":204967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c54"} 
[2026-10-05 19:25:11] local.INFO: Extracted packet for processing {"connection_id":204967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c54"} 
[2026-10-05 19:25:11] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119643600,"longitude_deg":75.6558208,"latitude_deg":11.96436,"altitude":75,"angle":127,"satellites":42,"speed":0,"hex_longitude":"2d182980","hex_latitude":"07219dd0","is_valid_coordinates":true} 
[2026-10-05 19:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549300992001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25293599277056000,"note":"Value kept but may cause issues"} 
[2026-10-05 19:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741063499072524288,"note":"Value kept but may cause issues"} 
[2026-10-05 19:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791208228000,"timestamp_ms":1791208228000,"timestamp_seconds":1791208228,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5484a0"} 
[2026-10-05 19:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:25: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-10-05 19:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 19:25:11] 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-10-05 19:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549300992001,"66":12722,"120":206,"28":31744,"24":0,"16":25293599277056000,"45":1741063499072524288},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549300992001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:25:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:25:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25293599277056000,"km_value":25293599277056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741063499072524288,"description":"Unknown IO ID 45"} 
[2026-10-05 19:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549300992001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741063499072524288}} 
[2026-10-05 19:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":204967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:25:11] local.INFO: GPS data processed {"connection_id":204967,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:25:11] local.INFO: Acknowledgment sent {"connection_id":204967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:25:30] local.INFO: TCP Data received {"connection_id":204828,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:25:30] local.INFO: Processing buffer {"connection_id":204828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:25:30] local.INFO: IMEI packet received {"connection_id":204828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":204828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:25:31] local.INFO: TCP Data received {"connection_id":206359,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:25:31] local.INFO: Processing buffer {"connection_id":206359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:25:31] local.INFO: Packet analysis {"connection_id":206359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:25:31] local.INFO: Extracted packet for processing {"connection_id":206359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:25:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549239552001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791208268000,"timestamp_ms":1791208268000,"timestamp_seconds":1791208268,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5520e0"} 
[2026-10-05 19:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-10-05 19:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549239552001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549239552001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:25:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:25:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549239552001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":206359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:25:31] local.INFO: GPS data processed {"connection_id":206359,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:25:31] local.INFO: Acknowledgment sent {"connection_id":206359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:25:37] local.INFO: TCP Data received {"connection_id":204828,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:25:37] local.INFO: Processing buffer {"connection_id":204828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:25:37] local.INFO: IMEI packet received {"connection_id":204828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":204828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:25:38] local.INFO: TCP Data received {"connection_id":204828,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:25:38] local.INFO: Processing buffer {"connection_id":204828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:25:38] local.INFO: Packet analysis {"connection_id":204828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:25:38] local.INFO: Extracted packet for processing {"connection_id":204828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:25:38] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549244672001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791208288000,"timestamp_ms":1791208288000,"timestamp_seconds":1791208288,"priority":1,"record_length":96,"hex_timestamp":"000001a10c556f00"} 
[2026-10-05 19:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 19:25:38] 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-10-05 19:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:25: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-10-05 19:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549244672001,"66":12765,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549244672001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:25:38] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:25:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549244672001,"power":12765,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":204828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969518,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:25:38] local.INFO: GPS data processed {"connection_id":204828,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:25:38] local.INFO: Acknowledgment sent {"connection_id":204828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:25:43] local.INFO: TCP Data received {"connection_id":204967,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c580af8012d18298007219dd0004b007f2c..."} 
[2026-10-05 19:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c580af8012d18298007219dd0004b007f2c..."} 
[2026-10-05 19:25:43] local.INFO: Processing buffer {"connection_id":204967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c580af8012d18298007219dd0004b007f2c..."} 
[2026-10-05 19:25:43] local.INFO: Packet analysis {"connection_id":204967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c58"} 
[2026-10-05 19:25:43] local.INFO: Extracted packet for processing {"connection_id":204967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c58"} 
[2026-10-05 19:25:43] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119643600,"longitude_deg":75.6558208,"latitude_deg":11.96436,"altitude":75,"angle":127,"satellites":44,"speed":0,"hex_longitude":"2d182980","hex_latitude":"07219dd0","is_valid_coordinates":true} 
[2026-10-05 19:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549360128001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25293599277056000,"note":"Value kept but may cause issues"} 
[2026-10-05 19:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741063499072524288,"note":"Value kept but may cause issues"} 
[2026-10-05 19:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791208459000,"timestamp_ms":1791208459000,"timestamp_seconds":1791208459,"priority":1,"record_length":96,"hex_timestamp":"000001a10c580af8"} 
[2026-10-05 19:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:25: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-10-05 19:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-10-05 19:25:43] 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-10-05 19:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549360128001,"66":12645,"120":206,"28":31744,"24":0,"16":25293599277056000,"45":1741063499072524288},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549360128001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:25:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:25:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25293599277056000,"km_value":25293599277056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741063499072524288,"description":"Unknown IO ID 45"} 
[2026-10-05 19:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549360128001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741063499072524288}} 
[2026-10-05 19:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":204967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:25:43] local.INFO: GPS data processed {"connection_id":204967,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:25:43] local.INFO: Acknowledgment sent {"connection_id":204967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:25:59] local.INFO: TCP Data received {"connection_id":207914,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:25:59] local.INFO: Processing buffer {"connection_id":207914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:25:59] local.INFO: IMEI packet received {"connection_id":207914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":207914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:26:04] local.INFO: TCP Data received {"connection_id":207914,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:26:04] local.INFO: Processing buffer {"connection_id":207914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:26:04] local.INFO: IMEI packet received {"connection_id":207914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":207914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:26:05] local.INFO: TCP Data received {"connection_id":207914,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:26:05] local.INFO: Processing buffer {"connection_id":207914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:26:05] local.INFO: Packet analysis {"connection_id":207914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:26:05] local.INFO: Extracted packet for processing {"connection_id":207914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:26:05] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 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-10-05 19:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549239552001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791208268000,"timestamp_ms":1791208268000,"timestamp_seconds":1791208268,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5520e0"} 
[2026-10-05 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-10-05 19:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-10-05 19:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 19:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549239552001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549239552001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:26:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:26:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549239552001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":207914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:26:05] local.INFO: GPS data processed {"connection_id":207914,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:26:05] local.INFO: Acknowledgment sent {"connection_id":207914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:26:09] local.INFO: TCP Data received {"connection_id":207914,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:26:09] local.INFO: Processing buffer {"connection_id":207914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5520e0012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:26:09] local.INFO: Packet analysis {"connection_id":207914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:26:09] local.INFO: Extracted packet for processing {"connection_id":207914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:26:09] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549239552001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791208268000,"timestamp_ms":1791208268000,"timestamp_seconds":1791208268,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5520e0"} 
[2026-10-05 19:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-10-05 19:26:09] 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-10-05 19:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":207914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":207914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":207914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549239552001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549239552001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:26:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:26:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549239552001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":207914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:26:09] local.INFO: GPS data processed {"connection_id":207914,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:26:09] local.INFO: Acknowledgment sent {"connection_id":207914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:26:10] local.INFO: TCP Data received {"connection_id":204828,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:26:10] local.INFO: Processing buffer {"connection_id":204828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c556f00012d7a1a0005e46910000b01212c..."} 
[2026-10-05 19:26:10] local.INFO: Packet analysis {"connection_id":204828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:26:10] local.INFO: Extracted packet for processing {"connection_id":204828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c55"} 
[2026-10-05 19:26:10] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":44,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549244672001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791208288000,"timestamp_ms":1791208288000,"timestamp_seconds":1791208288,"priority":1,"record_length":96,"hex_timestamp":"000001a10c556f00"} 
[2026-10-05 19:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 19:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:26: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-10-05 19:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549244672001,"66":12765,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549244672001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:26:10] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:26:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549244672001,"power":12765,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":204828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:26:10] local.INFO: GPS data processed {"connection_id":204828,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:26:10] local.INFO: Acknowledgment sent {"connection_id":204828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:26:11] local.INFO: TCP Data received {"connection_id":207915,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:26:11] local.INFO: Processing buffer {"connection_id":207915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:26:11] local.INFO: IMEI packet received {"connection_id":207915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":207915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:26:14] local.INFO: TCP Data received {"connection_id":207915,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:26:14] local.INFO: Processing buffer {"connection_id":207915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:26:14] local.INFO: IMEI packet received {"connection_id":207915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":207915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:26:15] local.INFO: TCP Data received {"connection_id":207915,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c585d00012d18298007219dd0004b007f2c..."} 
[2026-10-05 19:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c585d00012d18298007219dd0004b007f2c..."} 
[2026-10-05 19:26:15] local.INFO: Processing buffer {"connection_id":207915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c585d00012d18298007219dd0004b007f2c..."} 
[2026-10-05 19:26:15] local.INFO: Packet analysis {"connection_id":207915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c58"} 
[2026-10-05 19:26:15] local.INFO: Extracted packet for processing {"connection_id":207915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c58"} 
[2026-10-05 19:26:15] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119643600,"longitude_deg":75.6558208,"latitude_deg":11.96436,"altitude":75,"angle":127,"satellites":44,"speed":0,"hex_longitude":"2d182980","hex_latitude":"07219dd0","is_valid_coordinates":true} 
[2026-10-05 19:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549365504001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25293599277056000,"note":"Value kept but may cause issues"} 
[2026-10-05 19:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741063499072524288,"note":"Value kept but may cause issues"} 
[2026-10-05 19:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791208480000,"timestamp_ms":1791208480000,"timestamp_seconds":1791208480,"priority":1,"record_length":96,"hex_timestamp":"000001a10c585d00"} 
[2026-10-05 19:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 19:26:15] 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-10-05 19:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549365504001,"66":12645,"120":206,"28":31744,"24":0,"16":25293599277056000,"45":1741063499072524288},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549365504001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:26:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:26:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25293599277056000,"km_value":25293599277056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741063499072524288,"description":"Unknown IO ID 45"} 
[2026-10-05 19:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549365504001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741063499072524288}} 
[2026-10-05 19:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":207915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:26:15] local.INFO: GPS data processed {"connection_id":207915,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:26:15] local.INFO: Acknowledgment sent {"connection_id":207915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:26:20] local.INFO: TCP Data received {"connection_id":207915,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c58af08012d18298007219dd0004b007f2b..."} 
[2026-10-05 19:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c58af08012d18298007219dd0004b007f2b..."} 
[2026-10-05 19:26:20] local.INFO: Processing buffer {"connection_id":207915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c58af08012d18298007219dd0004b007f2b..."} 
[2026-10-05 19:26:20] local.INFO: Packet analysis {"connection_id":207915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c58"} 
[2026-10-05 19:26:20] local.INFO: Extracted packet for processing {"connection_id":207915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c58"} 
[2026-10-05 19:26:20] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119643600,"longitude_deg":75.6558208,"latitude_deg":11.96436,"altitude":75,"angle":127,"satellites":43,"speed":0,"hex_longitude":"2d182980","hex_latitude":"07219dd0","is_valid_coordinates":true} 
[2026-10-05 19:26: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-10-05 19:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549370880001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25293599277056000,"note":"Value kept but may cause issues"} 
[2026-10-05 19:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741063499072524288,"note":"Value kept but may cause issues"} 
[2026-10-05 19:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791208501000,"timestamp_ms":1791208501000,"timestamp_seconds":1791208501,"priority":1,"record_length":96,"hex_timestamp":"000001a10c58af08"} 
[2026-10-05 19:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:26: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-10-05 19:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 19:26:20] 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-10-05 19:26: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-10-05 19:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":207915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":207915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":207915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549370880001,"66":12613,"120":206,"28":31744,"24":0,"16":25293599277056000,"45":1741063499072524288},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549370880001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:26:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:26:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25293599277056000,"km_value":25293599277056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741063499072524288,"description":"Unknown IO ID 45"} 
[2026-10-05 19:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549370880001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741063499072524288}} 
[2026-10-05 19:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":207915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:26:21] local.INFO: GPS data processed {"connection_id":207915,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:26:21] local.INFO: Acknowledgment sent {"connection_id":207915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:26:35] local.INFO: TCP Data received {"connection_id":204969,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:26:35] local.INFO: Processing buffer {"connection_id":204969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:26:35] local.INFO: IMEI packet received {"connection_id":204969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":204969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:26:40] local.INFO: TCP Data received {"connection_id":204969,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:26:40] local.INFO: Processing buffer {"connection_id":204969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:26:40] local.INFO: IMEI packet received {"connection_id":204969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":204969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:26:42] local.INFO: TCP Data received {"connection_id":204969,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:26:42] local.INFO: Processing buffer {"connection_id":204969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:26:42] local.INFO: Packet analysis {"connection_id":204969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5a"} 
[2026-10-05 19:26:42] local.INFO: Extracted packet for processing {"connection_id":204969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5a"} 
[2026-10-05 19:26:42] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549321728001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791208589000,"timestamp_ms":1791208589000,"timestamp_seconds":1791208589,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5a06c8"} 
[2026-10-05 19:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 19:26:42] 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-10-05 19:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:26: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-10-05 19:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549321728001,"66":12765,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549321728001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:26:42] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:26:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549321728001,"power":12765,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":204969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:26:42] local.INFO: GPS data processed {"connection_id":204969,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:26:42] local.INFO: Acknowledgment sent {"connection_id":204969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:26:46] local.INFO: TCP Data received {"connection_id":204969,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:26:46] local.INFO: Processing buffer {"connection_id":204969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:26:46] local.INFO: Packet analysis {"connection_id":204969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5a"} 
[2026-10-05 19:26:46] local.INFO: Extracted packet for processing {"connection_id":204969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5a"} 
[2026-10-05 19:26:46] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549321728001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791208589000,"timestamp_ms":1791208589000,"timestamp_seconds":1791208589,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5a06c8"} 
[2026-10-05 19:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 19:26:46] 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-10-05 19:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:26:46] 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-10-05 19:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549321728001,"66":12765,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549321728001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:26:46] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:26:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549321728001,"power":12765,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":204969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:26:46] local.INFO: GPS data processed {"connection_id":204969,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:26:46] local.INFO: Acknowledgment sent {"connection_id":204969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:26:54] local.INFO: TCP Data received {"connection_id":207916,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:26:54] local.INFO: Processing buffer {"connection_id":207916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:26:54] local.INFO: IMEI packet received {"connection_id":207916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":207916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:26:59] local.INFO: TCP Data received {"connection_id":207916,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:26:59] local.INFO: Processing buffer {"connection_id":207916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:26:59] local.INFO: IMEI packet received {"connection_id":207916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":207916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:27:00] local.INFO: TCP Data received {"connection_id":207916,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:27:00] local.INFO: Processing buffer {"connection_id":207916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:27:00] local.INFO: Packet analysis {"connection_id":207916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c59"} 
[2026-10-05 19:27:00] local.INFO: Extracted packet for processing {"connection_id":207916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c59"} 
[2026-10-05 19:27:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549316608001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791208569000,"timestamp_ms":1791208569000,"timestamp_seconds":1791208569,"priority":1,"record_length":96,"hex_timestamp":"000001a10c59b8a8"} 
[2026-10-05 19:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:27:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549316608001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549316608001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:27:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:27:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549316608001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":207916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:27:00] local.INFO: GPS data processed {"connection_id":207916,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:27:00] local.INFO: Acknowledgment sent {"connection_id":207916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:27:04] local.INFO: TCP Data received {"connection_id":204829,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:27:04] local.INFO: Processing buffer {"connection_id":204829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:27:04] local.INFO: IMEI packet received {"connection_id":204829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":204829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:27:13] local.INFO: TCP Data received {"connection_id":204829,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:27:13] local.INFO: Processing buffer {"connection_id":204829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:27:13] local.INFO: IMEI packet received {"connection_id":204829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":204829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:27:14] local.INFO: TCP Data received {"connection_id":204829,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c590110012d18298007219dd0004b007f2b..."} 
[2026-10-05 19:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c590110012d18298007219dd0004b007f2b..."} 
[2026-10-05 19:27:14] local.INFO: Processing buffer {"connection_id":204829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c590110012d18298007219dd0004b007f2b..."} 
[2026-10-05 19:27:14] local.INFO: Packet analysis {"connection_id":204829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c59"} 
[2026-10-05 19:27:14] local.INFO: Extracted packet for processing {"connection_id":204829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c59"} 
[2026-10-05 19:27:14] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119643600,"longitude_deg":75.6558208,"latitude_deg":11.96436,"altitude":75,"angle":127,"satellites":43,"speed":0,"hex_longitude":"2d182980","hex_latitude":"07219dd0","is_valid_coordinates":true} 
[2026-10-05 19:27: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-10-05 19:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549376256001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25293599277056000,"note":"Value kept but may cause issues"} 
[2026-10-05 19:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741063499072524288,"note":"Value kept but may cause issues"} 
[2026-10-05 19:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791208522000,"timestamp_ms":1791208522000,"timestamp_seconds":1791208522,"priority":1,"record_length":96,"hex_timestamp":"000001a10c590110"} 
[2026-10-05 19:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:27: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-10-05 19:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 19:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:27: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-10-05 19:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":204829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":204829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":204829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549376256001,"66":11471,"120":206,"28":31744,"24":0,"16":25293599277056000,"45":1741063499072524288},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549376256001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:27:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:27:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25293599277056000,"km_value":25293599277056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741063499072524288,"description":"Unknown IO ID 45"} 
[2026-10-05 19:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549376256001,"power":11471,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741063499072524288}} 
[2026-10-05 19:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":204829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:27:14] local.INFO: GPS data processed {"connection_id":204829,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:27:14] local.INFO: Acknowledgment sent {"connection_id":204829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:27:31] local.INFO: TCP Data received {"connection_id":207916,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:27:31] local.INFO: Processing buffer {"connection_id":207916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:27:31] local.INFO: Packet analysis {"connection_id":207916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c59"} 
[2026-10-05 19:27:31] local.INFO: Extracted packet for processing {"connection_id":207916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c59"} 
[2026-10-05 19:27:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549316608001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791208569000,"timestamp_ms":1791208569000,"timestamp_seconds":1791208569,"priority":1,"record_length":96,"hex_timestamp":"000001a10c59b8a8"} 
[2026-10-05 19:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549316608001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549316608001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:27:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:27:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549316608001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":207916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:27:31] local.INFO: GPS data processed {"connection_id":207916,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:27:31] local.INFO: Acknowledgment sent {"connection_id":207916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:27:33] local.INFO: TCP Data received {"connection_id":206360,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:27:33] local.INFO: Processing buffer {"connection_id":206360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:27:33] local.INFO: IMEI packet received {"connection_id":206360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":206360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:27:35] local.INFO: TCP Data received {"connection_id":206360,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:27:35] local.INFO: Processing buffer {"connection_id":206360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:27:35] local.INFO: IMEI packet received {"connection_id":206360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":206360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:27:36] local.INFO: TCP Data received {"connection_id":206360,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:27:36] local.INFO: Processing buffer {"connection_id":206360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:27:36] local.INFO: Packet analysis {"connection_id":206360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5a"} 
[2026-10-05 19:27:36] local.INFO: Extracted packet for processing {"connection_id":206360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5a"} 
[2026-10-05 19:27:36] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549321728001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791208589000,"timestamp_ms":1791208589000,"timestamp_seconds":1791208589,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5a06c8"} 
[2026-10-05 19:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 19:27:36] 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-10-05 19:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549321728001,"66":12765,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549321728001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:27:36] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:27:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549321728001,"power":12765,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":206360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:27:36] local.INFO: GPS data processed {"connection_id":206360,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:27:36] local.INFO: Acknowledgment sent {"connection_id":206360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:27:41] local.INFO: TCP Data received {"connection_id":206360,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:27:41] local.INFO: Processing buffer {"connection_id":206360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:27:41] local.INFO: Packet analysis {"connection_id":206360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5a"} 
[2026-10-05 19:27:41] local.INFO: Extracted packet for processing {"connection_id":206360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5a"} 
[2026-10-05 19:27:41] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549321728001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791208589000,"timestamp_ms":1791208589000,"timestamp_seconds":1791208589,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5a06c8"} 
[2026-10-05 19:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 19:27:41] 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-10-05 19: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-10-05 19:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":206360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":206360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":206360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549321728001,"66":12765,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549321728001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:27:41] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:27:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549321728001,"power":12765,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":206360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:27:41] local.INFO: GPS data processed {"connection_id":206360,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:27:41] local.INFO: Acknowledgment sent {"connection_id":206360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:27:46] local.INFO: TCP Data received {"connection_id":204829,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c595318012d18298007219dd0004b007f2c..."} 
[2026-10-05 19:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c595318012d18298007219dd0004b007f2c..."} 
[2026-10-05 19:27:46] local.INFO: Processing buffer {"connection_id":204829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c595318012d18298007219dd0004b007f2c..."} 
[2026-10-05 19:27:46] local.INFO: Packet analysis {"connection_id":204829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c59"} 
[2026-10-05 19:27:46] local.INFO: Extracted packet for processing {"connection_id":204829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c59"} 
[2026-10-05 19:27:46] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119643600,"longitude_deg":75.6558208,"latitude_deg":11.96436,"altitude":75,"angle":127,"satellites":44,"speed":0,"hex_longitude":"2d182980","hex_latitude":"07219dd0","is_valid_coordinates":true} 
[2026-10-05 19:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549381632001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25293599277056000,"note":"Value kept but may cause issues"} 
[2026-10-05 19:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741063499072524288,"note":"Value kept but may cause issues"} 
[2026-10-05 19:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791208543000,"timestamp_ms":1791208543000,"timestamp_seconds":1791208543,"priority":1,"record_length":96,"hex_timestamp":"000001a10c595318"} 
[2026-10-05 19:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-05 19:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549381632001,"66":11961,"120":206,"28":31744,"24":0,"16":25293599277056000,"45":1741063499072524288},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-10-05 19:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549381632001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:27:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-10-05 19:27:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25293599277056000,"km_value":25293599277056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741063499072524288,"description":"Unknown IO ID 45"} 
[2026-10-05 19:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549381632001,"power":11961,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741063499072524288}} 
[2026-10-05 19:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":204829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:27:46] local.INFO: GPS data processed {"connection_id":204829,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:27:46] local.INFO: Acknowledgment sent {"connection_id":204829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:27:54] local.INFO: TCP Data received {"connection_id":206361,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:27:54] local.INFO: Processing buffer {"connection_id":206361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:27:54] local.INFO: IMEI packet received {"connection_id":206361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":206361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:27:59] local.INFO: TCP Data received {"connection_id":206361,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:27:59] local.INFO: Processing buffer {"connection_id":206361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:27:59] local.INFO: IMEI packet received {"connection_id":206361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":206361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:28:00] local.INFO: TCP Data received {"connection_id":206361,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:28:00] local.INFO: Processing buffer {"connection_id":206361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:28:00] local.INFO: Packet analysis {"connection_id":206361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c59"} 
[2026-10-05 19:28:00] local.INFO: Extracted packet for processing {"connection_id":206361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c59"} 
[2026-10-05 19:28:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549316608001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791208569000,"timestamp_ms":1791208569000,"timestamp_seconds":1791208569,"priority":1,"record_length":96,"hex_timestamp":"000001a10c59b8a8"} 
[2026-10-05 19:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:28:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:28: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-10-05 19:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549316608001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549316608001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:28:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:28:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549316608001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":206361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:28:00] local.INFO: GPS data processed {"connection_id":206361,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:28:00] local.INFO: Acknowledgment sent {"connection_id":206361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:28:04] local.INFO: TCP Data received {"connection_id":207917,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:28:04] local.INFO: Processing buffer {"connection_id":207917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:28:04] local.INFO: IMEI packet received {"connection_id":207917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":207917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:28:04] local.INFO: TCP Data received {"connection_id":207917,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:28:04] local.INFO: Processing buffer {"connection_id":207917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:28:04] local.INFO: IMEI packet received {"connection_id":207917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":207917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:28:05] local.INFO: TCP Data received {"connection_id":207917,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:28:05] local.INFO: Processing buffer {"connection_id":207917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:28:05] local.INFO: IMEI packet received {"connection_id":207917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":207917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:28:05] local.INFO: TCP Data received {"connection_id":207917,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:28:05] local.INFO: Processing buffer {"connection_id":207917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:28:05] local.INFO: IMEI packet received {"connection_id":207917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":207917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:28:13] local.INFO: TCP Data received {"connection_id":206360,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:28:13] local.INFO: Processing buffer {"connection_id":206360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:28:13] local.INFO: Packet analysis {"connection_id":206360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5a"} 
[2026-10-05 19:28:13] local.INFO: Extracted packet for processing {"connection_id":206360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5a"} 
[2026-10-05 19:28:13] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549321728001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791208589000,"timestamp_ms":1791208589000,"timestamp_seconds":1791208589,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5a06c8"} 
[2026-10-05 19:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 19:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":206360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":206360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":206360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549321728001,"66":12765,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549321728001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:28:13] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:28:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549321728001,"power":12765,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":206360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:28:13] local.INFO: GPS data processed {"connection_id":206360,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:28:13] local.INFO: Acknowledgment sent {"connection_id":206360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:28:30] local.INFO: TCP Data received {"connection_id":207918,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:28:30] local.INFO: Processing buffer {"connection_id":207918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:28:30] local.INFO: IMEI packet received {"connection_id":207918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":207918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:28:31] local.INFO: TCP Data received {"connection_id":206361,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:28:31] local.INFO: Processing buffer {"connection_id":206361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:28:31] local.INFO: Packet analysis {"connection_id":206361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c59"} 
[2026-10-05 19:28:31] local.INFO: Extracted packet for processing {"connection_id":206361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c59"} 
[2026-10-05 19:28:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549316608001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791208569000,"timestamp_ms":1791208569000,"timestamp_seconds":1791208569,"priority":1,"record_length":96,"hex_timestamp":"000001a10c59b8a8"} 
[2026-10-05 19:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:28: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-10-05 19:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549316608001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549316608001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:28:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:28:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549316608001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":206361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:28:31] local.INFO: GPS data processed {"connection_id":206361,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:28:31] local.INFO: Acknowledgment sent {"connection_id":206361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:28:35] local.INFO: TCP Data received {"connection_id":207918,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:28:35] local.INFO: Processing buffer {"connection_id":207918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:28:35] local.INFO: IMEI packet received {"connection_id":207918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":207918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:28:37] local.INFO: TCP Data received {"connection_id":207918,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:28:37] local.INFO: Processing buffer {"connection_id":207918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:28:37] local.INFO: Packet analysis {"connection_id":207918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5a"} 
[2026-10-05 19:28:37] local.INFO: Extracted packet for processing {"connection_id":207918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5a"} 
[2026-10-05 19:28:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549321728001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791208589000,"timestamp_ms":1791208589000,"timestamp_seconds":1791208589,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5a06c8"} 
[2026-10-05 19:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 19:28: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-10-05 19:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549321728001,"66":12765,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549321728001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:28:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:28:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549321728001,"power":12765,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":207918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:28:37] local.INFO: GPS data processed {"connection_id":207918,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:28:37] local.INFO: Acknowledgment sent {"connection_id":207918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:28:54] local.INFO: TCP Data received {"connection_id":204830,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:28:54] local.INFO: Processing buffer {"connection_id":204830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:28:54] local.INFO: IMEI packet received {"connection_id":204830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":204830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:28:59] local.INFO: TCP Data received {"connection_id":204830,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:28:59] local.INFO: Processing buffer {"connection_id":204830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:28:59] local.INFO: IMEI packet received {"connection_id":204830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":204830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:29:00] local.INFO: TCP Data received {"connection_id":204830,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:29:00] local.INFO: Processing buffer {"connection_id":204830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:29:00] local.INFO: Packet analysis {"connection_id":204830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c59"} 
[2026-10-05 19:29:00] local.INFO: Extracted packet for processing {"connection_id":204830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c59"} 
[2026-10-05 19:29:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549316608001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791208569000,"timestamp_ms":1791208569000,"timestamp_seconds":1791208569,"priority":1,"record_length":96,"hex_timestamp":"000001a10c59b8a8"} 
[2026-10-05 19:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19: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-10-05 19:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549316608001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549316608001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:29:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:29:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549316608001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":204830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:29:00] local.INFO: GPS data processed {"connection_id":204830,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:29:00] local.INFO: Acknowledgment sent {"connection_id":204830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:29:09] local.INFO: TCP Data received {"connection_id":207918,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:29:09] local.INFO: Processing buffer {"connection_id":207918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:29:09] local.INFO: Packet analysis {"connection_id":207918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5a"} 
[2026-10-05 19:29:09] local.INFO: Extracted packet for processing {"connection_id":207918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5a"} 
[2026-10-05 19:29:09] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549321728001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791208589000,"timestamp_ms":1791208589000,"timestamp_seconds":1791208589,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5a06c8"} 
[2026-10-05 19:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 19:29:09] 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-10-05 19:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":207918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":207918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":207918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549321728001,"66":12765,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549321728001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:29:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:29:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549321728001,"power":12765,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":207918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:29:09] local.INFO: GPS data processed {"connection_id":207918,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:29:09] local.INFO: Acknowledgment sent {"connection_id":207918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:29:29] local.INFO: TCP Data received {"connection_id":206362,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:29:29] local.INFO: Processing buffer {"connection_id":206362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:29:29] local.INFO: IMEI packet received {"connection_id":206362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 19:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":206362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:29:31] local.INFO: TCP Data received {"connection_id":204830,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:29:31] local.INFO: Processing buffer {"connection_id":204830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:29:31] local.INFO: Packet analysis {"connection_id":204830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c59"} 
[2026-10-05 19:29:31] local.INFO: Extracted packet for processing {"connection_id":204830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c59"} 
[2026-10-05 19:29:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549316608001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791208569000,"timestamp_ms":1791208569000,"timestamp_seconds":1791208569,"priority":1,"record_length":96,"hex_timestamp":"000001a10c59b8a8"} 
[2026-10-05 19:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549316608001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549316608001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:29:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:29:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549316608001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":204830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:29:31] local.INFO: GPS data processed {"connection_id":204830,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:29:31] local.INFO: Acknowledgment sent {"connection_id":204830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:29:36] local.INFO: TCP Data received {"connection_id":204971,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:29:36] local.INFO: Processing buffer {"connection_id":204971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:29:36] local.INFO: IMEI packet received {"connection_id":204971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":204971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:29:40] local.INFO: TCP Data received {"connection_id":204971,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:29:40] local.INFO: Processing buffer {"connection_id":204971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:29:40] local.INFO: IMEI packet received {"connection_id":204971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":204971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:29:42] local.INFO: TCP Data received {"connection_id":204971,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:29:42] local.INFO: Processing buffer {"connection_id":204971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:29:42] local.INFO: Packet analysis {"connection_id":204971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5a"} 
[2026-10-05 19:29:42] local.INFO: Extracted packet for processing {"connection_id":204971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5a"} 
[2026-10-05 19:29:42] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549321728001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791208589000,"timestamp_ms":1791208589000,"timestamp_seconds":1791208589,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5a06c8"} 
[2026-10-05 19:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 19:29:42] 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-10-05 19: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-10-05 19:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549321728001,"66":12765,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549321728001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:29:42] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:29:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549321728001,"power":12765,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":204971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:29:42] local.INFO: GPS data processed {"connection_id":204971,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:29:42] local.INFO: Acknowledgment sent {"connection_id":204971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:29:54] local.INFO: TCP Data received {"connection_id":204831,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:29:54] local.INFO: Processing buffer {"connection_id":204831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:29:54] local.INFO: IMEI packet received {"connection_id":204831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":204831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:29:59] local.INFO: TCP Data received {"connection_id":204831,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:29:59] local.INFO: Processing buffer {"connection_id":204831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:29:59] local.INFO: IMEI packet received {"connection_id":204831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":204831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:30:00] local.INFO: TCP Data received {"connection_id":204831,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:30:00] local.INFO: Processing buffer {"connection_id":204831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:30:00] local.INFO: Packet analysis {"connection_id":204831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c59"} 
[2026-10-05 19:30:00] local.INFO: Extracted packet for processing {"connection_id":204831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c59"} 
[2026-10-05 19:30:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549316608001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791208569000,"timestamp_ms":1791208569000,"timestamp_seconds":1791208569,"priority":1,"record_length":96,"hex_timestamp":"000001a10c59b8a8"} 
[2026-10-05 19:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:30: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-10-05 19:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549316608001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549316608001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:30:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:30:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549316608001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":204831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:30:00] local.INFO: GPS data processed {"connection_id":204831,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:30:00] local.INFO: Acknowledgment sent {"connection_id":204831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:30:14] local.INFO: TCP Data received {"connection_id":204971,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:30:14] local.INFO: Processing buffer {"connection_id":204971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:30:14] local.INFO: Packet analysis {"connection_id":204971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5a"} 
[2026-10-05 19:30:14] local.INFO: Extracted packet for processing {"connection_id":204971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5a"} 
[2026-10-05 19:30:14] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549321728001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791208589000,"timestamp_ms":1791208589000,"timestamp_seconds":1791208589,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5a06c8"} 
[2026-10-05 19:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 19:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":204971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":204971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":204971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549321728001,"66":12765,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549321728001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:30:14] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:30:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549321728001,"power":12765,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":204971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:30:14] local.INFO: GPS data processed {"connection_id":204971,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:30:14] local.INFO: Acknowledgment sent {"connection_id":204971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:30:30] local.INFO: TCP Data received {"connection_id":204832,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:30:30] local.INFO: Processing buffer {"connection_id":204832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:30:30] local.INFO: IMEI packet received {"connection_id":204832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":204832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:30:31] local.INFO: TCP Data received {"connection_id":204831,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:30:31] local.INFO: Processing buffer {"connection_id":204831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:30:31] local.INFO: Packet analysis {"connection_id":204831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c59"} 
[2026-10-05 19:30:31] local.INFO: Extracted packet for processing {"connection_id":204831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c59"} 
[2026-10-05 19:30:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549316608001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791208569000,"timestamp_ms":1791208569000,"timestamp_seconds":1791208569,"priority":1,"record_length":96,"hex_timestamp":"000001a10c59b8a8"} 
[2026-10-05 19:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549316608001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549316608001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:30:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:30:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549316608001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":204831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:30:31] local.INFO: GPS data processed {"connection_id":204831,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:30:31] local.INFO: Acknowledgment sent {"connection_id":204831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:30:35] local.INFO: TCP Data received {"connection_id":204832,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:30:35] local.INFO: Processing buffer {"connection_id":204832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:30:35] local.INFO: IMEI packet received {"connection_id":204832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":204832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:30:37] local.INFO: TCP Data received {"connection_id":204832,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:30:37] local.INFO: Processing buffer {"connection_id":204832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:30:37] local.INFO: Packet analysis {"connection_id":204832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5a"} 
[2026-10-05 19:30:37] local.INFO: Extracted packet for processing {"connection_id":204832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5a"} 
[2026-10-05 19:30:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549321728001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791208589000,"timestamp_ms":1791208589000,"timestamp_seconds":1791208589,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5a06c8"} 
[2026-10-05 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-10-05 19:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 19:30: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-10-05 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-10-05 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-10-05 19:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549321728001,"66":12765,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549321728001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:30:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:30:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549321728001,"power":12765,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":204832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:30:37] local.INFO: GPS data processed {"connection_id":204832,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:30:37] local.INFO: Acknowledgment sent {"connection_id":204832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:30:59] local.INFO: TCP Data received {"connection_id":206363,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:30:59] local.INFO: Processing buffer {"connection_id":206363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:30:59] local.INFO: IMEI packet received {"connection_id":206363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":206363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:31:04] local.INFO: TCP Data received {"connection_id":206363,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:31:04] local.INFO: Processing buffer {"connection_id":206363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:31:04] local.INFO: IMEI packet received {"connection_id":206363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":206363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:31:05] local.INFO: TCP Data received {"connection_id":206363,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:31:05] local.INFO: Processing buffer {"connection_id":206363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:31:05] local.INFO: Packet analysis {"connection_id":206363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c59"} 
[2026-10-05 19:31:05] local.INFO: Extracted packet for processing {"connection_id":206363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c59"} 
[2026-10-05 19:31:05] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549316608001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791208569000,"timestamp_ms":1791208569000,"timestamp_seconds":1791208569,"priority":1,"record_length":96,"hex_timestamp":"000001a10c59b8a8"} 
[2026-10-05 19:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":206363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":206363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":206363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:31:05] 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-10-05 19:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549316608001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549316608001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:31:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:31:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549316608001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":206363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:31:05] local.INFO: GPS data processed {"connection_id":206363,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:31:05] local.INFO: Acknowledgment sent {"connection_id":206363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:31:09] local.INFO: TCP Data received {"connection_id":204832,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:31:09] local.INFO: Processing buffer {"connection_id":204832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5a06c8012d7a1a0005e46910000b01212a..."} 
[2026-10-05 19:31:09] local.INFO: Packet analysis {"connection_id":204832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5a"} 
[2026-10-05 19:31:09] local.INFO: Extracted packet for processing {"connection_id":204832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5a"} 
[2026-10-05 19:31:09] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549321728001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791208589000,"timestamp_ms":1791208589000,"timestamp_seconds":1791208589,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5a06c8"} 
[2026-10-05 19:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 19:31:09] 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-10-05 19: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-10-05 19:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549321728001,"66":12765,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549321728001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:31:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:31:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549321728001,"power":12765,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:31:09] local.INFO: TCP Data received {"connection_id":206363,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:31:09] local.INFO: Processing buffer {"connection_id":206363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c59b8a8012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:31:09] local.INFO: Packet analysis {"connection_id":206363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c59"} 
[2026-10-05 19:31:09] local.INFO: Extracted packet for processing {"connection_id":206363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c59"} 
[2026-10-05 19:31:09] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549316608001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791208569000,"timestamp_ms":1791208569000,"timestamp_seconds":1791208569,"priority":1,"record_length":96,"hex_timestamp":"000001a10c59b8a8"} 
[2026-10-05 19:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:31:09] 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-10-05 19: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-10-05 19:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":206363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":206363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":206363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549316608001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549316608001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:31:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:31:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549316608001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":206363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:31:09] local.INFO: GPS data processed {"connection_id":206363,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:31:09] local.INFO: Acknowledgment sent {"connection_id":206363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":204832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:31:09] local.INFO: GPS data processed {"connection_id":204832,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:31:09] local.INFO: Acknowledgment sent {"connection_id":204832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:31:31] local.INFO: TCP Data received {"connection_id":207921,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:31:31] local.INFO: Processing buffer {"connection_id":207921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:31:31] local.INFO: IMEI packet received {"connection_id":207921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":207921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:31:37] local.INFO: TCP Data received {"connection_id":207921,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:31:37] local.INFO: Processing buffer {"connection_id":207921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:31:37] local.INFO: IMEI packet received {"connection_id":207921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":207921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:31:41] local.INFO: TCP Data received {"connection_id":207921,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:31:41] local.INFO: Processing buffer {"connection_id":207921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:31:41] local.INFO: IMEI packet received {"connection_id":207921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":207921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:31:43] local.INFO: TCP Data received {"connection_id":207921,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:31:43] local.INFO: Processing buffer {"connection_id":207921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:31:43] local.INFO: Packet analysis {"connection_id":207921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:31:43] local.INFO: Extracted packet for processing {"connection_id":207921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:31:43] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:31: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-10-05 19:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549398784001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791208890000,"timestamp_ms":1791208890000,"timestamp_seconds":1791208890,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5e9e90"} 
[2026-10-05 19:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:31: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":221,"data_length":795,"current_offset":136} 
[2026-10-05 19:31:43] 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-10-05 19:31: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-10-05 19:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549398784001,"66":12667,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549398784001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:31:43] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:31:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549398784001,"power":12667,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":207921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:31:43] local.INFO: GPS data processed {"connection_id":207921,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:31:43] local.INFO: Acknowledgment sent {"connection_id":207921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:31:46] local.INFO: TCP Data received {"connection_id":207921,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:31:46] local.INFO: Processing buffer {"connection_id":207921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:31:46] local.INFO: Packet analysis {"connection_id":207921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:31:46] local.INFO: Extracted packet for processing {"connection_id":207921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:31:46] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549398784001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791208890000,"timestamp_ms":1791208890000,"timestamp_seconds":1791208890,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5e9e90"} 
[2026-10-05 19:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 19:31:46] 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-10-05 19:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":207921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":207921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":207921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549398784001,"66":12667,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549398784001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:31:46] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:31:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549398784001,"power":12667,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":207921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:31:46] local.INFO: GPS data processed {"connection_id":207921,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:31:46] local.INFO: Acknowledgment sent {"connection_id":207921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:31:54] local.INFO: TCP Data received {"connection_id":206364,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:31:54] local.INFO: Processing buffer {"connection_id":206364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:31:54] local.INFO: IMEI packet received {"connection_id":206364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":206364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:31:59] local.INFO: TCP Data received {"connection_id":206364,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:31:59] local.INFO: Processing buffer {"connection_id":206364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:31:59] local.INFO: IMEI packet received {"connection_id":206364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":206364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:32:00] local.INFO: TCP Data received {"connection_id":206364,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:32:00] local.INFO: Processing buffer {"connection_id":206364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:32:00] local.INFO: Packet analysis {"connection_id":206364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:32:00] local.INFO: Extracted packet for processing {"connection_id":206364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:32:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549393664001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791208870000,"timestamp_ms":1791208870000,"timestamp_seconds":1791208870,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5e5070"} 
[2026-10-05 19:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:32: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-10-05 19:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549393664001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549393664001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:32:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:32:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549393664001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":206364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:32:00] local.INFO: GPS data processed {"connection_id":206364,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:32:00] local.INFO: Acknowledgment sent {"connection_id":206364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:32:04] local.INFO: TCP Data received {"connection_id":206364,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:32:04] local.INFO: Processing buffer {"connection_id":206364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:32:04] local.INFO: Packet analysis {"connection_id":206364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:32:04] local.INFO: Extracted packet for processing {"connection_id":206364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:32:04] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549393664001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791208870000,"timestamp_ms":1791208870000,"timestamp_seconds":1791208870,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5e5070"} 
[2026-10-05 19:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":206364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":206364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":206364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:32: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-10-05 19:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549393664001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549393664001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:32:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:32:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549393664001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":206364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:32:04] local.INFO: GPS data processed {"connection_id":206364,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:32:04] local.INFO: Acknowledgment sent {"connection_id":206364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:32:33] local.INFO: TCP Data received {"connection_id":204835,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:32:33] local.INFO: Processing buffer {"connection_id":204835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:32:33] local.INFO: IMEI packet received {"connection_id":204835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":204835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:32:35] local.INFO: TCP Data received {"connection_id":206364,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:32:35] local.INFO: Processing buffer {"connection_id":206364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:32:35] local.INFO: Packet analysis {"connection_id":206364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:32:35] local.INFO: Extracted packet for processing {"connection_id":206364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:32:35] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549393664001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791208870000,"timestamp_ms":1791208870000,"timestamp_seconds":1791208870,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5e5070"} 
[2026-10-05 19:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:32:35] 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-10-05 19:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":206364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":206364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":206364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549393664001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549393664001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:32:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:32:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549393664001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":206364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:32:35] local.INFO: GPS data processed {"connection_id":206364,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:32:35] local.INFO: Acknowledgment sent {"connection_id":206364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:32:36] local.INFO: TCP Data received {"connection_id":204835,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:32:36] local.INFO: Processing buffer {"connection_id":204835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:32:36] local.INFO: IMEI packet received {"connection_id":204835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":204835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:32:37] local.INFO: TCP Data received {"connection_id":204835,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:32:37] local.INFO: Processing buffer {"connection_id":204835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:32:37] local.INFO: Packet analysis {"connection_id":204835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:32:37] local.INFO: Extracted packet for processing {"connection_id":204835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:32:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549398784001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791208890000,"timestamp_ms":1791208890000,"timestamp_seconds":1791208890,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5e9e90"} 
[2026-10-05 19:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 19:32: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-10-05 19:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549398784001,"66":12667,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549398784001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:32:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:32:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549398784001,"power":12667,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":204835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:32:37] local.INFO: GPS data processed {"connection_id":204835,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:32:37] local.INFO: Acknowledgment sent {"connection_id":204835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:32:41] local.INFO: TCP Data received {"connection_id":204835,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:32:41] local.INFO: Processing buffer {"connection_id":204835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:32:41] local.INFO: Packet analysis {"connection_id":204835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:32:41] local.INFO: Extracted packet for processing {"connection_id":204835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:32:41] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549398784001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791208890000,"timestamp_ms":1791208890000,"timestamp_seconds":1791208890,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5e9e90"} 
[2026-10-05 19:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 19:32:41] 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-10-05 19:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549398784001,"66":12667,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549398784001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:32:41] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:32:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549398784001,"power":12667,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":204835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:32:41] local.INFO: GPS data processed {"connection_id":204835,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:32:41] local.INFO: Acknowledgment sent {"connection_id":204835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:32:55] local.INFO: TCP Data received {"connection_id":207923,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:32:55] local.INFO: Processing buffer {"connection_id":207923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:32:55] local.INFO: IMEI packet received {"connection_id":207923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":207923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:32:59] local.INFO: TCP Data received {"connection_id":207923,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:32:59] local.INFO: Processing buffer {"connection_id":207923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:32:59] local.INFO: IMEI packet received {"connection_id":207923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":207923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:33:00] local.INFO: TCP Data received {"connection_id":207923,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:33:00] local.INFO: Processing buffer {"connection_id":207923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:33:00] local.INFO: Packet analysis {"connection_id":207923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:33:00] local.INFO: Extracted packet for processing {"connection_id":207923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:33:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549393664001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791208870000,"timestamp_ms":1791208870000,"timestamp_seconds":1791208870,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5e5070"} 
[2026-10-05 19:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:33: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-10-05 19:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549393664001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549393664001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:33:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:33:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549393664001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":207923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:33:00] local.INFO: GPS data processed {"connection_id":207923,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:33:00] local.INFO: Acknowledgment sent {"connection_id":207923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:33:10] local.INFO: TCP Data received {"connection_id":206365,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:33:10] local.INFO: Processing buffer {"connection_id":206365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:33:10] local.INFO: IMEI packet received {"connection_id":206365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":206365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:33:11] local.INFO: TCP Data received {"connection_id":206365,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5f0038012d19e0c007200af0002b00aa2a..."} 
[2026-10-05 19:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5f0038012d19e0c007200af0002b00aa2a..."} 
[2026-10-05 19:33:11] local.INFO: Processing buffer {"connection_id":206365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5f0038012d19e0c007200af0002b00aa2a..."} 
[2026-10-05 19:33:11] local.INFO: Packet analysis {"connection_id":206365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5f"} 
[2026-10-05 19:33:11] local.INFO: Extracted packet for processing {"connection_id":206365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5f"} 
[2026-10-05 19:33:11] local.INFO: GPS Element Parsed {"raw_longitude":756670656,"raw_latitude":119540464,"longitude_deg":75.6670656,"latitude_deg":11.9540464,"altitude":43,"angle":170,"satellites":42,"speed":5,"hex_longitude":"2d19e0c0","hex_latitude":"07200af0","is_valid_coordinates":true} 
[2026-10-05 19:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549481984001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25302318060666880,"note":"Value kept but may cause issues"} 
[2026-10-05 19:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864701382566311936,"note":"Value kept but may cause issues"} 
[2026-10-05 19:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791208915000,"timestamp_ms":1791208915000,"timestamp_seconds":1791208915,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5f0038"} 
[2026-10-05 19:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:33: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-10-05 19:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 19:33:11] 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-10-05 19:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549481984001,"66":12885,"121":206,"28":31744,"24":5,"16":25302318060666880,"45":1864701382566311936},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549481984001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:33:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:33:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25302318060666880,"km_value":25302318060666.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864701382566311936,"description":"Unknown IO ID 45"} 
[2026-10-05 19:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549481984001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1864701382566311936}} 
[2026-10-05 19:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":206365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:33:11] local.INFO: GPS data processed {"connection_id":206365,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:33:11] local.INFO: Acknowledgment sent {"connection_id":206365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:33:13] local.INFO: TCP Data received {"connection_id":204835,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:33:13] local.INFO: Processing buffer {"connection_id":204835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:33:13] local.INFO: Packet analysis {"connection_id":204835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:33:13] local.INFO: Extracted packet for processing {"connection_id":204835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:33:13] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549398784001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791208890000,"timestamp_ms":1791208890000,"timestamp_seconds":1791208890,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5e9e90"} 
[2026-10-05 19:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 19:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":204835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":204835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":204835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549398784001,"66":12667,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549398784001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:33:13] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:33:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549398784001,"power":12667,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":204835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969557,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:33:13] local.INFO: GPS data processed {"connection_id":204835,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:33:13] local.INFO: Acknowledgment sent {"connection_id":204835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:33:30] local.INFO: TCP Data received {"connection_id":206366,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:33:30] local.INFO: Processing buffer {"connection_id":206366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:33:30] local.INFO: IMEI packet received {"connection_id":206366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":206366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:33:31] local.INFO: TCP Data received {"connection_id":207923,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:33:31] local.INFO: Processing buffer {"connection_id":207923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:33:31] local.INFO: Packet analysis {"connection_id":207923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:33:31] local.INFO: Extracted packet for processing {"connection_id":207923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:33:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549393664001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791208870000,"timestamp_ms":1791208870000,"timestamp_seconds":1791208870,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5e5070"} 
[2026-10-05 19:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549393664001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549393664001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:33:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:33:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549393664001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":207923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:33:31] local.INFO: GPS data processed {"connection_id":207923,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:33:31] local.INFO: Acknowledgment sent {"connection_id":207923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:33:35] local.INFO: TCP Data received {"connection_id":206366,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:33:35] local.INFO: Processing buffer {"connection_id":206366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:33:35] local.INFO: IMEI packet received {"connection_id":206366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":206366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:33:37] local.INFO: TCP Data received {"connection_id":206366,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:33:37] local.INFO: Processing buffer {"connection_id":206366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:33:37] local.INFO: Packet analysis {"connection_id":206366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:33:37] local.INFO: Extracted packet for processing {"connection_id":206366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:33:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549398784001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791208890000,"timestamp_ms":1791208890000,"timestamp_seconds":1791208890,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5e9e90"} 
[2026-10-05 19:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 19:33: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-10-05 19:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549398784001,"66":12667,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549398784001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:33:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:33:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549398784001,"power":12667,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":206366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:33:37] local.INFO: GPS data processed {"connection_id":206366,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:33:37] local.INFO: Acknowledgment sent {"connection_id":206366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:33:43] local.INFO: TCP Data received {"connection_id":206365,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5f0420012d19e0c007200a68002b00d52b..."} 
[2026-10-05 19:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5f0420012d19e0c007200a68002b00d52b..."} 
[2026-10-05 19:33:43] local.INFO: Processing buffer {"connection_id":206365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5f0420012d19e0c007200a68002b00d52b..."} 
[2026-10-05 19:33:43] local.INFO: Packet analysis {"connection_id":206365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5f"} 
[2026-10-05 19:33:43] local.INFO: Extracted packet for processing {"connection_id":206365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5f"} 
[2026-10-05 19:33:43] local.INFO: GPS Element Parsed {"raw_longitude":756670656,"raw_latitude":119540328,"longitude_deg":75.6670656,"latitude_deg":11.9540328,"altitude":43,"angle":213,"satellites":43,"speed":5,"hex_longitude":"2d19e0c0","hex_latitude":"07200a68","is_valid_coordinates":true} 
[2026-10-05 19:33: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-10-05 19:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549482240001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25302322355634176,"note":"Value kept but may cause issues"} 
[2026-10-05 19:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864701382566277120,"note":"Value kept but may cause issues"} 
[2026-10-05 19:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791208916000,"timestamp_ms":1791208916000,"timestamp_seconds":1791208916,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5f0420"} 
[2026-10-05 19:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:33: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":85,"data_length":795,"current_offset":136} 
[2026-10-05 19:33:43] 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-10-05 19:33: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-10-05 19:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":206365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":206365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":206365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549482240001,"66":12885,"121":206,"28":31744,"24":5,"16":25302322355634176,"45":1864701382566277120},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549482240001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:33:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:33:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25302322355634176,"km_value":25302322355634.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864701382566277120,"description":"Unknown IO ID 45"} 
[2026-10-05 19:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549482240001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1864701382566277120}} 
[2026-10-05 19:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":206365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:33:43] local.INFO: GPS data processed {"connection_id":206365,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:33:43] local.INFO: Acknowledgment sent {"connection_id":206365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:33:54] local.INFO: TCP Data received {"connection_id":204837,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:33:54] local.INFO: Processing buffer {"connection_id":204837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:33:54] local.INFO: IMEI packet received {"connection_id":204837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":204837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:33:59] local.INFO: TCP Data received {"connection_id":204837,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:33:59] local.INFO: Processing buffer {"connection_id":204837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:33:59] local.INFO: IMEI packet received {"connection_id":204837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":204837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:34:00] local.INFO: TCP Data received {"connection_id":204837,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:34:00] local.INFO: Processing buffer {"connection_id":204837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:34:00] local.INFO: Packet analysis {"connection_id":204837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:34:00] local.INFO: Extracted packet for processing {"connection_id":204837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:34:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 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-10-05 19:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549393664001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791208870000,"timestamp_ms":1791208870000,"timestamp_seconds":1791208870,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5e5070"} 
[2026-10-05 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-10-05 19:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 19:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:34: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-10-05 19:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549393664001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549393664001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:34:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:34:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549393664001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":204837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:34:00] local.INFO: GPS data processed {"connection_id":204837,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:34:00] local.INFO: Acknowledgment sent {"connection_id":204837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:34:04] local.INFO: TCP Data received {"connection_id":207924,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:34:04] local.INFO: Processing buffer {"connection_id":207924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:34:04] local.INFO: IMEI packet received {"connection_id":207924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":207924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:34:08] local.INFO: TCP Data received {"connection_id":206366,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:34:08] local.INFO: Processing buffer {"connection_id":206366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:34:08] local.INFO: Packet analysis {"connection_id":206366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:34:08] local.INFO: Extracted packet for processing {"connection_id":206366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:34:08] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549398784001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791208890000,"timestamp_ms":1791208890000,"timestamp_seconds":1791208890,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5e9e90"} 
[2026-10-05 19:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 19:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549398784001,"66":12667,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549398784001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:34:08] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:34:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549398784001,"power":12667,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":206366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:34:08] local.INFO: GPS data processed {"connection_id":206366,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:34:08] local.INFO: Acknowledgment sent {"connection_id":206366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:34:11] local.INFO: TCP Data received {"connection_id":207924,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:34:11] local.INFO: Processing buffer {"connection_id":207924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:34:11] local.INFO: IMEI packet received {"connection_id":207924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":207924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:34:12] local.INFO: TCP Data received {"connection_id":207924,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5f0808012d19e04007200a08002b00f42b..."} 
[2026-10-05 19:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5f0808012d19e04007200a08002b00f42b..."} 
[2026-10-05 19:34:12] local.INFO: Processing buffer {"connection_id":207924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5f0808012d19e04007200a08002b00f42b..."} 
[2026-10-05 19:34:12] local.INFO: Packet analysis {"connection_id":207924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5f"} 
[2026-10-05 19:34:12] local.INFO: Extracted packet for processing {"connection_id":207924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5f"} 
[2026-10-05 19:34:12] local.INFO: GPS Element Parsed {"raw_longitude":756670528,"raw_latitude":119540232,"longitude_deg":75.6670528,"latitude_deg":11.9540232,"altitude":43,"angle":244,"satellites":43,"speed":7,"hex_longitude":"2d19e040","hex_latitude":"07200a08","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549482496001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25302330945568768,"note":"Value kept but may cause issues"} 
[2026-10-05 19:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864701382566242304,"note":"Value kept but may cause issues"} 
[2026-10-05 19:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791208917000,"timestamp_ms":1791208917000,"timestamp_seconds":1791208917,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5f0808"} 
[2026-10-05 19:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:34: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-10-05 19: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 19:34:12] 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-10-05 19: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-10-05 19:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":207924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":207924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":207924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549482496001,"66":12841,"121":206,"28":31744,"24":7,"16":25302330945568768,"45":1864701382566242304},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549482496001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:34:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:34:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25302330945568768,"km_value":25302330945568.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864701382566242304,"description":"Unknown IO ID 45"} 
[2026-10-05 19:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549482496001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1864701382566242304}} 
[2026-10-05 19:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":207924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:34:12] local.INFO: GPS data processed {"connection_id":207924,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:34:12] local.INFO: Acknowledgment sent {"connection_id":207924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:34:30] local.INFO: TCP Data received {"connection_id":204837,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:34:30] local.INFO: Processing buffer {"connection_id":204837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:34:30] local.INFO: Packet analysis {"connection_id":204837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:34:30] local.INFO: Extracted packet for processing {"connection_id":204837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549393664001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1791208870000,"timestamp_ms":1791208870000,"timestamp_seconds":1791208870,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5e5070"} 
[2026-10-05 19:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:34:30] 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-10-05 19: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-10-05 19:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":204837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":204837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":204837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:34: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-10-05 19:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549393664001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549393664001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:34:30] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:34:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549393664001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":204837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:34:31] local.INFO: GPS data processed {"connection_id":204837,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:34:31] local.INFO: Acknowledgment sent {"connection_id":204837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:34:35] local.INFO: TCP Data received {"connection_id":204973,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:34:35] local.INFO: Processing buffer {"connection_id":204973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:34:35] local.INFO: IMEI packet received {"connection_id":204973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":204973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:34:44] local.INFO: TCP Data received {"connection_id":207924,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5f0bf0012d19dfc0072009f8002b01162b..."} 
[2026-10-05 19:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5f0bf0012d19dfc0072009f8002b01162b..."} 
[2026-10-05 19:34:44] local.INFO: Processing buffer {"connection_id":207924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5f0bf0012d19dfc0072009f8002b01162b..."} 
[2026-10-05 19:34:44] local.INFO: Packet analysis {"connection_id":207924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5f"} 
[2026-10-05 19:34:44] local.INFO: Extracted packet for processing {"connection_id":207924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5f"} 
[2026-10-05 19:34:44] local.INFO: GPS Element Parsed {"raw_longitude":756670400,"raw_latitude":119540216,"longitude_deg":75.66704,"latitude_deg":11.9540216,"altitude":43,"angle":278,"satellites":43,"speed":7,"hex_longitude":"2d19dfc0","hex_latitude":"072009f8","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549482752001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25302339535503360,"note":"Value kept but may cause issues"} 
[2026-10-05 19:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864560645077862400,"note":"Value kept but may cause issues"} 
[2026-10-05 19:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791208918000,"timestamp_ms":1791208918000,"timestamp_seconds":1791208918,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5f0bf0"} 
[2026-10-05 19:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 19:34:44] 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-10-05 19: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-10-05 19:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":207924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":207924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":207924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549482752001,"66":12841,"121":206,"28":31744,"24":7,"16":25302339535503360,"45":1864560645077862400},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549482752001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:34:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:34:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25302339535503360,"km_value":25302339535503.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864560645077862400,"description":"Unknown IO ID 45"} 
[2026-10-05 19:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549482752001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1864560645077862400}} 
[2026-10-05 19:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":207924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:34:44] local.INFO: GPS data processed {"connection_id":207924,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:34:44] local.INFO: Acknowledgment sent {"connection_id":207924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:34:45] local.INFO: TCP Data received {"connection_id":204973,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:34:45] local.INFO: Processing buffer {"connection_id":204973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:34:45] local.INFO: IMEI packet received {"connection_id":204973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":204973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:34:46] local.INFO: TCP Data received {"connection_id":204973,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:34:46] local.INFO: Processing buffer {"connection_id":204973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:34:46] local.INFO: Packet analysis {"connection_id":204973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:34:46] local.INFO: Extracted packet for processing {"connection_id":204973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:34:46] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549398784001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791208890000,"timestamp_ms":1791208890000,"timestamp_seconds":1791208890,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5e9e90"} 
[2026-10-05 19:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 19:34:46] 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-10-05 19:34: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-10-05 19:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549398784001,"66":12667,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549398784001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:34:46] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:34:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549398784001,"power":12667,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":204973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:34:46] local.INFO: GPS data processed {"connection_id":204973,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:34:46] local.INFO: Acknowledgment sent {"connection_id":204973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:34:48] local.INFO: TCP Data received {"connection_id":204973,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:34:48] local.INFO: Processing buffer {"connection_id":204973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:34:48] local.INFO: Packet analysis {"connection_id":204973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:34:48] local.INFO: Extracted packet for processing {"connection_id":204973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:34:48] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549398784001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791208890000,"timestamp_ms":1791208890000,"timestamp_seconds":1791208890,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5e9e90"} 
[2026-10-05 19:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 19:34:48] 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-10-05 19:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549398784001,"66":12667,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549398784001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:34:48] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:34:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549398784001,"power":12667,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":204973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:34:48] local.INFO: GPS data processed {"connection_id":204973,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:34:48] local.INFO: Acknowledgment sent {"connection_id":204973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:34:54] local.INFO: TCP Data received {"connection_id":207925,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:34:54] local.INFO: Processing buffer {"connection_id":207925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:34:54] local.INFO: IMEI packet received {"connection_id":207925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":207925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:34:59] local.INFO: TCP Data received {"connection_id":207925,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:34:59] local.INFO: Processing buffer {"connection_id":207925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:34:59] local.INFO: IMEI packet received {"connection_id":207925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":207925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:34:59] local.INFO: TCP Data received {"connection_id":207925,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:34:59] local.INFO: Processing buffer {"connection_id":207925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:34:59] local.INFO: Packet analysis {"connection_id":207925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:34:59] local.INFO: Extracted packet for processing {"connection_id":207925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:34:59] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 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-10-05 19:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549393664001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791208870000,"timestamp_ms":1791208870000,"timestamp_seconds":1791208870,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5e5070"} 
[2026-10-05 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-10-05 19:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 19:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":207925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":207925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":207925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:34: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-10-05 19:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549393664001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549393664001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:34:59] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:34:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549393664001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":207925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:34:59] local.INFO: GPS data processed {"connection_id":207925,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:34:59] local.INFO: Acknowledgment sent {"connection_id":207925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:35:03] local.INFO: TCP Data received {"connection_id":204974,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:35:03] local.INFO: Processing buffer {"connection_id":204974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:35:03] local.INFO: IMEI packet received {"connection_id":204974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 19:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":204974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:35:04] local.INFO: TCP Data received {"connection_id":204838,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:35:04] local.INFO: Processing buffer {"connection_id":204838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:35:04] local.INFO: IMEI packet received {"connection_id":204838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":204838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:35:10] local.INFO: TCP Data received {"connection_id":204838,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:35:10] local.INFO: Processing buffer {"connection_id":204838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:35:10] local.INFO: IMEI packet received {"connection_id":204838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":204838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:35:11] local.INFO: TCP Data received {"connection_id":204838,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5f0fd8012d19df0007200a30002b012e2c..."} 
[2026-10-05 19:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5f0fd8012d19df0007200a30002b012e2c..."} 
[2026-10-05 19:35:11] local.INFO: Processing buffer {"connection_id":204838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5f0fd8012d19df0007200a30002b012e2c..."} 
[2026-10-05 19:35:11] local.INFO: Packet analysis {"connection_id":204838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5f"} 
[2026-10-05 19:35:11] local.INFO: Extracted packet for processing {"connection_id":204838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5f"} 
[2026-10-05 19:35:11] local.INFO: GPS Element Parsed {"raw_longitude":756670208,"raw_latitude":119540272,"longitude_deg":75.6670208,"latitude_deg":11.9540272,"altitude":43,"angle":302,"satellites":44,"speed":6,"hex_longitude":"2d19df00","hex_latitude":"07200a30","is_valid_coordinates":true} 
[2026-10-05 19:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549483008001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25302348125437952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864419907589502976,"note":"Value kept but may cause issues"} 
[2026-10-05 19:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791208919000,"timestamp_ms":1791208919000,"timestamp_seconds":1791208919,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5f0fd8"} 
[2026-10-05 19:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:35: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-10-05 19:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 19:35:11] 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-10-05 19:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549483008001,"66":12841,"121":206,"28":31744,"24":6,"16":25302348125437952,"45":1864419907589502976},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549483008001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:35:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:35:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25302348125437952,"km_value":25302348125437.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864419907589502976,"description":"Unknown IO ID 45"} 
[2026-10-05 19:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549483008001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1864419907589502976}} 
[2026-10-05 19:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":204838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:35:11] local.INFO: GPS data processed {"connection_id":204838,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:35:11] local.INFO: Acknowledgment sent {"connection_id":204838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:35:30] local.INFO: TCP Data received {"connection_id":204975,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:35:30] local.INFO: Processing buffer {"connection_id":204975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:35:30] local.INFO: IMEI packet received {"connection_id":204975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":204975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:35:31] local.INFO: TCP Data received {"connection_id":207925,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:35:31] local.INFO: Processing buffer {"connection_id":207925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:35:31] local.INFO: Packet analysis {"connection_id":207925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:35:31] local.INFO: Extracted packet for processing {"connection_id":207925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:35:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549393664001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791208870000,"timestamp_ms":1791208870000,"timestamp_seconds":1791208870,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5e5070"} 
[2026-10-05 19:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:35: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-10-05 19:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549393664001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549393664001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:35:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:35:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549393664001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":207925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:35:31] local.INFO: GPS data processed {"connection_id":207925,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:35:31] local.INFO: Acknowledgment sent {"connection_id":207925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:35:33] local.INFO: TCP Data received {"connection_id":204976,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204976,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:35:33] local.INFO: Processing buffer {"connection_id":204976,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:35:33] local.INFO: IMEI packet received {"connection_id":204976,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 19:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":204976,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:35:35] local.INFO: TCP Data received {"connection_id":204975,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:35:35] local.INFO: Processing buffer {"connection_id":204975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:35:35] local.INFO: IMEI packet received {"connection_id":204975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":204975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:35:38] local.INFO: TCP Data received {"connection_id":204975,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:35:38] local.INFO: Processing buffer {"connection_id":204975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:35:38] local.INFO: Packet analysis {"connection_id":204975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:35:38] local.INFO: Extracted packet for processing {"connection_id":204975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:35:38] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549398784001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791208890000,"timestamp_ms":1791208890000,"timestamp_seconds":1791208890,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5e9e90"} 
[2026-10-05 19:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 19:35:38] 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-10-05 19:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549398784001,"66":12667,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549398784001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:35:38] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:35:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549398784001,"power":12667,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":204975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:35:38] local.INFO: GPS data processed {"connection_id":204975,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:35:38] local.INFO: Acknowledgment sent {"connection_id":204975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:35:44] local.INFO: TCP Data received {"connection_id":204838,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5f13c0012d19de8007200a90002b013d2c..."} 
[2026-10-05 19:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5f13c0012d19de8007200a90002b013d2c..."} 
[2026-10-05 19:35:44] local.INFO: Processing buffer {"connection_id":204838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5f13c0012d19de8007200a90002b013d2c..."} 
[2026-10-05 19:35:44] local.INFO: Packet analysis {"connection_id":204838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5f"} 
[2026-10-05 19:35:44] local.INFO: Extracted packet for processing {"connection_id":204838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5f"} 
[2026-10-05 19:35:44] local.INFO: GPS Element Parsed {"raw_longitude":756670080,"raw_latitude":119540368,"longitude_deg":75.667008,"latitude_deg":11.9540368,"altitude":43,"angle":317,"satellites":44,"speed":6,"hex_longitude":"2d19de80","hex_latitude":"07200a90","is_valid_coordinates":true} 
[2026-10-05 19:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549483264001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25302356715372544,"note":"Value kept but may cause issues"} 
[2026-10-05 19:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864208801356984320,"note":"Value kept but may cause issues"} 
[2026-10-05 19:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791208920000,"timestamp_ms":1791208920000,"timestamp_seconds":1791208920,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5f13c0"} 
[2026-10-05 19:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 19:35:44] 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-10-05 19:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":204838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":204838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":204838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549483264001,"66":12841,"121":206,"28":31744,"24":6,"16":25302356715372544,"45":1864208801356984320},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549483264001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:35:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:35:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25302356715372544,"km_value":25302356715372.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864208801356984320,"description":"Unknown IO ID 45"} 
[2026-10-05 19:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549483264001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1864208801356984320}} 
[2026-10-05 19:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":204838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:35:44] local.INFO: GPS data processed {"connection_id":204838,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:35:44] local.INFO: Acknowledgment sent {"connection_id":204838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:35:54] local.INFO: TCP Data received {"connection_id":207926,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:35:54] local.INFO: Processing buffer {"connection_id":207926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:35:54] local.INFO: IMEI packet received {"connection_id":207926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":207926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:35:59] local.INFO: TCP Data received {"connection_id":207926,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:35:59] local.INFO: Processing buffer {"connection_id":207926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:35:59] local.INFO: IMEI packet received {"connection_id":207926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":207926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:36:00] local.INFO: TCP Data received {"connection_id":207926,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:36:00] local.INFO: Processing buffer {"connection_id":207926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:36:00] local.INFO: Packet analysis {"connection_id":207926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:36:00] local.INFO: Extracted packet for processing {"connection_id":207926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:36:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549393664001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791208870000,"timestamp_ms":1791208870000,"timestamp_seconds":1791208870,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5e5070"} 
[2026-10-05 19:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:36:00] 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-10-05 19:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549393664001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549393664001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:36:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:36:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549393664001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":207926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:36:00] local.INFO: GPS data processed {"connection_id":207926,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:36:00] local.INFO: Acknowledgment sent {"connection_id":207926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:36:04] local.INFO: TCP Data received {"connection_id":206367,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:36:04] local.INFO: Processing buffer {"connection_id":206367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:36:04] local.INFO: IMEI packet received {"connection_id":206367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":206367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:36:11] local.INFO: TCP Data received {"connection_id":204975,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:36:11] local.INFO: Processing buffer {"connection_id":204975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5e9e90012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:36:11] local.INFO: Packet analysis {"connection_id":204975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:36:11] local.INFO: Extracted packet for processing {"connection_id":204975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:36:11] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549398784001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791208890000,"timestamp_ms":1791208890000,"timestamp_seconds":1791208890,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5e9e90"} 
[2026-10-05 19:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 19:36:11] 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-10-05 19:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549398784001,"66":12667,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549398784001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:36:11] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:36:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549398784001,"power":12667,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":204975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:36:11] local.INFO: GPS data processed {"connection_id":204975,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:36:11] local.INFO: Acknowledgment sent {"connection_id":204975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:36:20] local.INFO: TCP Data received {"connection_id":206367,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:36:20] local.INFO: Processing buffer {"connection_id":206367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:36:20] local.INFO: IMEI packet received {"connection_id":206367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":206367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:36:22] local.INFO: TCP Data received {"connection_id":206367,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5f1f78012d19dd0007200bc8002b01312d..."} 
[2026-10-05 19:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5f1f78012d19dd0007200bc8002b01312d..."} 
[2026-10-05 19:36:22] local.INFO: Processing buffer {"connection_id":206367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5f1f78012d19dd0007200bc8002b01312d..."} 
[2026-10-05 19:36:22] local.INFO: Packet analysis {"connection_id":206367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5f"} 
[2026-10-05 19:36:22] local.INFO: Extracted packet for processing {"connection_id":206367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5f"} 
[2026-10-05 19:36:22] local.INFO: GPS Element Parsed {"raw_longitude":756669696,"raw_latitude":119540680,"longitude_deg":75.6669696,"latitude_deg":11.954068,"altitude":43,"angle":305,"satellites":45,"speed":11,"hex_longitude":"2d19dd00","hex_latitude":"07200bc8","is_valid_coordinates":true} 
[2026-10-05 19:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549483520001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25302378190209024,"note":"Value kept but may cause issues"} 
[2026-10-05 19:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864068063868653568,"note":"Value kept but may cause issues"} 
[2026-10-05 19:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791208923000,"timestamp_ms":1791208923000,"timestamp_seconds":1791208923,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5f1f78"} 
[2026-10-05 19:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:36: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-10-05 19:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 19:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":206367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":206367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":206367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549483520001,"66":12809,"121":206,"28":31744,"24":11,"16":25302378190209024,"45":1864068063868653568},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549483520001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:36:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:36:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25302378190209024,"km_value":25302378190209.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864068063868653568,"description":"Unknown IO ID 45"} 
[2026-10-05 19:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549483520001,"power":12809,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1864068063868653568}} 
[2026-10-05 19:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":206367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:36:22] local.INFO: GPS data processed {"connection_id":206367,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:36:22] local.INFO: Acknowledgment sent {"connection_id":206367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:36:31] local.INFO: TCP Data received {"connection_id":207926,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:36:31] local.INFO: Processing buffer {"connection_id":207926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c5e5070012d7ee58006003208000b00d72d..."} 
[2026-10-05 19:36:31] local.INFO: Packet analysis {"connection_id":207926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:36:31] local.INFO: Extracted packet for processing {"connection_id":207926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c5e"} 
[2026-10-05 19:36:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549393664001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791208870000,"timestamp_ms":1791208870000,"timestamp_seconds":1791208870,"priority":1,"record_length":96,"hex_timestamp":"000001a10c5e5070"} 
[2026-10-05 19:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:36:31] 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-10-05 19:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549393664001,"66":25343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549393664001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:36:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:36:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549393664001,"power":25343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":207926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:36:31] local.INFO: GPS data processed {"connection_id":207926,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:36:31] local.INFO: Acknowledgment sent {"connection_id":207926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:36:35] local.INFO: TCP Data received {"connection_id":206368,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206368,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:36:35] local.INFO: Processing buffer {"connection_id":206368,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:36:35] local.INFO: IMEI packet received {"connection_id":206368,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":206368,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:36:40] local.INFO: TCP Data received {"connection_id":206368,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206368,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:36:40] local.INFO: Processing buffer {"connection_id":206368,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:36:40] local.INFO: IMEI packet received {"connection_id":206368,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":206368,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:36:41] local.INFO: TCP Data received {"connection_id":206368,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:36:41] local.INFO: Processing buffer {"connection_id":206368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:36:41] local.INFO: Packet analysis {"connection_id":206368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c63"} 
[2026-10-05 19:36:41] local.INFO: Extracted packet for processing {"connection_id":206368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c63"} 
[2026-10-05 19:36:41] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549475840001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791209191000,"timestamp_ms":1791209191000,"timestamp_seconds":1791209191,"priority":1,"record_length":96,"hex_timestamp":"000001a10c633658"} 
[2026-10-05 19:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 19:36:41] 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-10-05 19:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":206368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":206368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":206368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549475840001,"66":12743,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549475840001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:36:41] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:36:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549475840001,"power":12743,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":206368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:36:41] local.INFO: GPS data processed {"connection_id":206368,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:36:41] local.INFO: Acknowledgment sent {"connection_id":206368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:36:54] local.INFO: TCP Data received {"connection_id":204978,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:36:54] local.INFO: Processing buffer {"connection_id":204978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:36:54] local.INFO: IMEI packet received {"connection_id":204978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":204978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:36:59] local.INFO: TCP Data received {"connection_id":204978,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:36:59] local.INFO: Processing buffer {"connection_id":204978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:36:59] local.INFO: IMEI packet received {"connection_id":204978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":204978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:37:00] local.INFO: TCP Data received {"connection_id":204978,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:37:00] local.INFO: Processing buffer {"connection_id":204978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:37:00] local.INFO: Packet analysis {"connection_id":204978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c62"} 
[2026-10-05 19:37:00] local.INFO: Extracted packet for processing {"connection_id":204978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c62"} 
[2026-10-05 19:37:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549470720001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791209171000,"timestamp_ms":1791209171000,"timestamp_seconds":1791209171,"priority":1,"record_length":96,"hex_timestamp":"000001a10c62e838"} 
[2026-10-05 19:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:37:00] 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-10-05 19:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549470720001,"66":25321,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549470720001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:37:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:37:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549470720001,"power":25321,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":204978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:37:00] local.INFO: GPS data processed {"connection_id":204978,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:37:00] local.INFO: Acknowledgment sent {"connection_id":204978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:37:10] local.INFO: TCP Data received {"connection_id":206369,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:37:10] local.INFO: Processing buffer {"connection_id":206369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:37:10] local.INFO: IMEI packet received {"connection_id":206369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":206369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:37:13] local.INFO: TCP Data received {"connection_id":206368,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:37:13] local.INFO: Processing buffer {"connection_id":206368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:37:13] local.INFO: Packet analysis {"connection_id":206368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c63"} 
[2026-10-05 19:37:13] local.INFO: Extracted packet for processing {"connection_id":206368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c63"} 
[2026-10-05 19:37:13] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549475840001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791209191000,"timestamp_ms":1791209191000,"timestamp_seconds":1791209191,"priority":1,"record_length":96,"hex_timestamp":"000001a10c633658"} 
[2026-10-05 19:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 19:37:13] 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-10-05 19:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":206368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":206368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":206368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549475840001,"66":12743,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549475840001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:37:13] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:37:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549475840001,"power":12743,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":206368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:37:13] local.INFO: GPS data processed {"connection_id":206368,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:37:13] local.INFO: Acknowledgment sent {"connection_id":206368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:37:25] local.INFO: TCP Data received {"connection_id":206369,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:37:25] local.INFO: Processing buffer {"connection_id":206369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:37:25] local.INFO: IMEI packet received {"connection_id":206369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":206369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:37:26] local.INFO: TCP Data received {"connection_id":206369,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c622cb8012d19cbc0072017380035014f27..."} 
[2026-10-05 19:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c622cb8012d19cbc0072017380035014f27..."} 
[2026-10-05 19:37:26] local.INFO: Processing buffer {"connection_id":206369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c622cb8012d19cbc0072017380035014f27..."} 
[2026-10-05 19:37:26] local.INFO: Packet analysis {"connection_id":206369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c62"} 
[2026-10-05 19:37:26] local.INFO: Extracted packet for processing {"connection_id":206369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c62"} 
[2026-10-05 19:37:26] local.INFO: GPS Element Parsed {"raw_longitude":756665280,"raw_latitude":119543608,"longitude_deg":75.666528,"latitude_deg":11.9543608,"altitude":53,"angle":335,"satellites":39,"speed":0,"hex_longitude":"2d19cbc0","hex_latitude":"07201738","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549530112001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25302670247985152,"note":"Value kept but may cause issues"} 
[2026-10-05 19:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858790408056158208,"note":"Value kept but may cause issues"} 
[2026-10-05 19:37:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1791209123000,"timestamp_ms":1791209123000,"timestamp_seconds":1791209123,"priority":1,"record_length":96,"hex_timestamp":"000001a10c622cb8"} 
[2026-10-05 19:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:37: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-10-05 19: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-05 19:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":206369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":206369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":206369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:37:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549530112001,"66":12341,"121":206,"28":31744,"24":0,"16":25302670247985152,"45":1858790408056158208},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549530112001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:37:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:37:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25302670247985152,"km_value":25302670247985.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858790408056158208,"description":"Unknown IO ID 45"} 
[2026-10-05 19:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549530112001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1858790408056158208}} 
[2026-10-05 19:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":206369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:37:26] local.INFO: GPS data processed {"connection_id":206369,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:37:26] local.INFO: Acknowledgment sent {"connection_id":206369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:37:27] local.INFO: TCP Data received {"connection_id":206369,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c627ec0012d19cbc0072017380035014f28..."} 
[2026-10-05 19:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c627ec0012d19cbc0072017380035014f28..."} 
[2026-10-05 19:37:27] local.INFO: Processing buffer {"connection_id":206369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c627ec0012d19cbc0072017380035014f28..."} 
[2026-10-05 19:37:27] local.INFO: Packet analysis {"connection_id":206369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c62"} 
[2026-10-05 19:37:27] local.INFO: Extracted packet for processing {"connection_id":206369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c62"} 
[2026-10-05 19:37:27] local.INFO: GPS Element Parsed {"raw_longitude":756665280,"raw_latitude":119543608,"longitude_deg":75.666528,"latitude_deg":11.9543608,"altitude":53,"angle":335,"satellites":40,"speed":0,"hex_longitude":"2d19cbc0","hex_latitude":"07201738","is_valid_coordinates":true} 
[2026-10-05 19:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549535488001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25302670247985152,"note":"Value kept but may cause issues"} 
[2026-10-05 19:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858790408056158208,"note":"Value kept but may cause issues"} 
[2026-10-05 19:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1791209144000,"timestamp_ms":1791209144000,"timestamp_seconds":1791209144,"priority":1,"record_length":96,"hex_timestamp":"000001a10c627ec0"} 
[2026-10-05 19:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":206369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":206369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":206369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549535488001,"66":12319,"121":206,"28":31744,"24":0,"16":25302670247985152,"45":1858790408056158208},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549535488001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:37:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:37:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25302670247985152,"km_value":25302670247985.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858790408056158208,"description":"Unknown IO ID 45"} 
[2026-10-05 19:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549535488001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1858790408056158208}} 
[2026-10-05 19:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":206369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:37:27] local.INFO: GPS data processed {"connection_id":206369,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:37:27] local.INFO: Acknowledgment sent {"connection_id":206369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:37:31] local.INFO: TCP Data received {"connection_id":204978,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:37:31] local.INFO: Processing buffer {"connection_id":204978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:37:31] local.INFO: Packet analysis {"connection_id":204978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c62"} 
[2026-10-05 19:37:31] local.INFO: Extracted packet for processing {"connection_id":204978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c62"} 
[2026-10-05 19:37:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549470720001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791209171000,"timestamp_ms":1791209171000,"timestamp_seconds":1791209171,"priority":1,"record_length":96,"hex_timestamp":"000001a10c62e838"} 
[2026-10-05 19:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:37:31] 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-10-05 19:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549470720001,"66":25321,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549470720001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:37:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:37:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549470720001,"power":25321,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":204978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:37:31] local.INFO: GPS data processed {"connection_id":204978,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:37:31] local.INFO: Acknowledgment sent {"connection_id":204978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:37:33] local.INFO: TCP Data received {"connection_id":207927,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:37:33] local.INFO: Processing buffer {"connection_id":207927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:37:33] local.INFO: IMEI packet received {"connection_id":207927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":207927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:37:35] local.INFO: TCP Data received {"connection_id":207927,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:37:35] local.INFO: Processing buffer {"connection_id":207927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:37:35] local.INFO: IMEI packet received {"connection_id":207927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":207927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:37:36] local.INFO: TCP Data received {"connection_id":207927,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:37:36] local.INFO: Processing buffer {"connection_id":207927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:37:36] local.INFO: Packet analysis {"connection_id":207927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c63"} 
[2026-10-05 19:37:36] local.INFO: Extracted packet for processing {"connection_id":207927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c63"} 
[2026-10-05 19:37:36] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549475840001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791209191000,"timestamp_ms":1791209191000,"timestamp_seconds":1791209191,"priority":1,"record_length":96,"hex_timestamp":"000001a10c633658"} 
[2026-10-05 19:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 19:37:36] 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-10-05 19:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549475840001,"66":12743,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549475840001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:37:36] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:37:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549475840001,"power":12743,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":207927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:37:36] local.INFO: GPS data processed {"connection_id":207927,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:37:36] local.INFO: Acknowledgment sent {"connection_id":207927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:37:41] local.INFO: TCP Data received {"connection_id":207927,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:37:41] local.INFO: Processing buffer {"connection_id":207927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:37:41] local.INFO: Packet analysis {"connection_id":207927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c63"} 
[2026-10-05 19:37:41] local.INFO: Extracted packet for processing {"connection_id":207927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c63"} 
[2026-10-05 19:37:41] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549475840001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791209191000,"timestamp_ms":1791209191000,"timestamp_seconds":1791209191,"priority":1,"record_length":96,"hex_timestamp":"000001a10c633658"} 
[2026-10-05 19:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 19:37:41] 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-10-05 19:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":207927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":207927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":207927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549475840001,"66":12743,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549475840001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:37:41] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:37:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549475840001,"power":12743,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":207927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969584,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:37:41] local.INFO: GPS data processed {"connection_id":207927,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:37:41] local.INFO: Acknowledgment sent {"connection_id":207927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:37:54] local.INFO: TCP Data received {"connection_id":204839,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:37:54] local.INFO: Processing buffer {"connection_id":204839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:37:54] local.INFO: IMEI packet received {"connection_id":204839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":204839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:37:59] local.INFO: TCP Data received {"connection_id":204839,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:37:59] local.INFO: Processing buffer {"connection_id":204839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:37:59] local.INFO: IMEI packet received {"connection_id":204839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":204839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:37:59] local.INFO: TCP Data received {"connection_id":204839,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:37:59] local.INFO: Processing buffer {"connection_id":204839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:37:59] local.INFO: Packet analysis {"connection_id":204839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c62"} 
[2026-10-05 19:37:59] local.INFO: Extracted packet for processing {"connection_id":204839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c62"} 
[2026-10-05 19:37:59] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549470720001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791209171000,"timestamp_ms":1791209171000,"timestamp_seconds":1791209171,"priority":1,"record_length":96,"hex_timestamp":"000001a10c62e838"} 
[2026-10-05 19:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":204839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":204839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":204839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:37:59] 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-10-05 19:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549470720001,"66":25321,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549470720001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:37:59] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:37:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549470720001,"power":25321,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":204839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:37:59] local.INFO: GPS data processed {"connection_id":204839,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:37:59] local.INFO: Acknowledgment sent {"connection_id":204839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:38:07] local.INFO: TCP Data received {"connection_id":204840,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:38:07] local.INFO: Processing buffer {"connection_id":204840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:38:07] local.INFO: IMEI packet received {"connection_id":204840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":204840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:38:08] local.INFO: TCP Data received {"connection_id":204840,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:38:08] local.INFO: Processing buffer {"connection_id":204840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:38:08] local.INFO: IMEI packet received {"connection_id":204840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":204840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:38:09] local.INFO: TCP Data received {"connection_id":204840,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c62d0c8012d19cbc0072017380035014f28..."} 
[2026-10-05 19:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c62d0c8012d19cbc0072017380035014f28..."} 
[2026-10-05 19:38:09] local.INFO: Processing buffer {"connection_id":204840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c62d0c8012d19cbc0072017380035014f28..."} 
[2026-10-05 19:38:09] local.INFO: Packet analysis {"connection_id":204840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c62"} 
[2026-10-05 19:38:09] local.INFO: Extracted packet for processing {"connection_id":204840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c62"} 
[2026-10-05 19:38:09] local.INFO: GPS Element Parsed {"raw_longitude":756665280,"raw_latitude":119543608,"longitude_deg":75.666528,"latitude_deg":11.9543608,"altitude":53,"angle":335,"satellites":40,"speed":0,"hex_longitude":"2d19cbc0","hex_latitude":"07201738","is_valid_coordinates":true} 
[2026-10-05 19:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549540864001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25302670247985152,"note":"Value kept but may cause issues"} 
[2026-10-05 19:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858790408056158208,"note":"Value kept but may cause issues"} 
[2026-10-05 19:38: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-10-05 19:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791209165000,"timestamp_ms":1791209165000,"timestamp_seconds":1791209165,"priority":1,"record_length":96,"hex_timestamp":"000001a10c62d0c8"} 
[2026-10-05 19:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:38: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-10-05 19:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-10-05 19:38: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-10-05 19:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549540864001,"66":12341,"121":206,"28":31744,"24":0,"16":25302670247985152,"45":1858790408056158208},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549540864001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:38:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:38:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25302670247985152,"km_value":25302670247985.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858790408056158208,"description":"Unknown IO ID 45"} 
[2026-10-05 19:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549540864001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1858790408056158208}} 
[2026-10-05 19:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":204840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:38:09] local.INFO: GPS data processed {"connection_id":204840,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:38:09] local.INFO: Acknowledgment sent {"connection_id":204840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:38:10] local.INFO: TCP Data received {"connection_id":204840,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6322d0012d19cbc0072017380035014f2b..."} 
[2026-10-05 19:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6322d0012d19cbc0072017380035014f2b..."} 
[2026-10-05 19:38:10] local.INFO: Processing buffer {"connection_id":204840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6322d0012d19cbc0072017380035014f2b..."} 
[2026-10-05 19:38:10] local.INFO: Packet analysis {"connection_id":204840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c63"} 
[2026-10-05 19:38:10] local.INFO: Extracted packet for processing {"connection_id":204840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c63"} 
[2026-10-05 19:38:10] local.INFO: GPS Element Parsed {"raw_longitude":756665280,"raw_latitude":119543608,"longitude_deg":75.666528,"latitude_deg":11.9543608,"altitude":53,"angle":335,"satellites":43,"speed":0,"hex_longitude":"2d19cbc0","hex_latitude":"07201738","is_valid_coordinates":true} 
[2026-10-05 19:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549546240001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25302670247985152,"note":"Value kept but may cause issues"} 
[2026-10-05 19:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858790408056158208,"note":"Value kept but may cause issues"} 
[2026-10-05 19:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791209186000,"timestamp_ms":1791209186000,"timestamp_seconds":1791209186,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6322d0"} 
[2026-10-05 19:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:38: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-10-05 19:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 19:38:10] 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-10-05 19:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549546240001,"66":12298,"121":206,"28":31744,"24":0,"16":25302670247985152,"45":1858790408056158208},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549546240001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:38:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:38:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25302670247985152,"km_value":25302670247985.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858790408056158208,"description":"Unknown IO ID 45"} 
[2026-10-05 19:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549546240001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1858790408056158208}} 
[2026-10-05 19:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":204840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:38:10] local.INFO: GPS data processed {"connection_id":204840,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:38:10] local.INFO: Acknowledgment sent {"connection_id":204840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:38:13] local.INFO: TCP Data received {"connection_id":207927,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:38:13] local.INFO: Processing buffer {"connection_id":207927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:38:13] local.INFO: Packet analysis {"connection_id":207927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c63"} 
[2026-10-05 19:38:13] local.INFO: Extracted packet for processing {"connection_id":207927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c63"} 
[2026-10-05 19:38:13] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:38: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-10-05 19:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549475840001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791209191000,"timestamp_ms":1791209191000,"timestamp_seconds":1791209191,"priority":1,"record_length":96,"hex_timestamp":"000001a10c633658"} 
[2026-10-05 19:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 19:38:13] 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-10-05 19:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":207927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":207927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":207927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549475840001,"66":12743,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549475840001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:38:13] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:38:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549475840001,"power":12743,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":207927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969588,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:38:13] local.INFO: GPS data processed {"connection_id":207927,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:38:13] local.INFO: Acknowledgment sent {"connection_id":207927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:38:30] local.INFO: TCP Data received {"connection_id":204841,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:38:30] local.INFO: Processing buffer {"connection_id":204841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:38:30] local.INFO: IMEI packet received {"connection_id":204841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":204841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:38:31] local.INFO: TCP Data received {"connection_id":204839,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:38:31] local.INFO: Processing buffer {"connection_id":204839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:38:31] local.INFO: Packet analysis {"connection_id":204839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c62"} 
[2026-10-05 19:38:31] local.INFO: Extracted packet for processing {"connection_id":204839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c62"} 
[2026-10-05 19:38:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549470720001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791209171000,"timestamp_ms":1791209171000,"timestamp_seconds":1791209171,"priority":1,"record_length":96,"hex_timestamp":"000001a10c62e838"} 
[2026-10-05 19:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:38:31] 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-10-05 19:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549470720001,"66":25321,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549470720001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:38:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:38:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549470720001,"power":25321,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":204839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:38:31] local.INFO: GPS data processed {"connection_id":204839,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:38:31] local.INFO: Acknowledgment sent {"connection_id":204839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:38:35] local.INFO: TCP Data received {"connection_id":204841,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:38:35] local.INFO: Processing buffer {"connection_id":204841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:38:35] local.INFO: IMEI packet received {"connection_id":204841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":204841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:38:36] local.INFO: TCP Data received {"connection_id":204841,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:38:36] local.INFO: Processing buffer {"connection_id":204841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:38:36] local.INFO: Packet analysis {"connection_id":204841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c63"} 
[2026-10-05 19:38:36] local.INFO: Extracted packet for processing {"connection_id":204841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c63"} 
[2026-10-05 19:38:36] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549475840001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791209191000,"timestamp_ms":1791209191000,"timestamp_seconds":1791209191,"priority":1,"record_length":96,"hex_timestamp":"000001a10c633658"} 
[2026-10-05 19:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 19:38:36] 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-10-05 19:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549475840001,"66":12743,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549475840001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:38:36] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:38:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549475840001,"power":12743,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":204841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:38:37] local.INFO: GPS data processed {"connection_id":204841,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:38:37] local.INFO: Acknowledgment sent {"connection_id":204841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:38:54] local.INFO: TCP Data received {"connection_id":207928,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:38:54] local.INFO: Processing buffer {"connection_id":207928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:38:54] local.INFO: IMEI packet received {"connection_id":207928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":207928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:38:59] local.INFO: TCP Data received {"connection_id":207928,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:38:59] local.INFO: Processing buffer {"connection_id":207928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:38:59] local.INFO: IMEI packet received {"connection_id":207928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":207928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:39:00] local.INFO: TCP Data received {"connection_id":207928,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:39:00] local.INFO: Processing buffer {"connection_id":207928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:39:00] local.INFO: Packet analysis {"connection_id":207928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c62"} 
[2026-10-05 19:39:00] local.INFO: Extracted packet for processing {"connection_id":207928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c62"} 
[2026-10-05 19:39:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549470720001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791209171000,"timestamp_ms":1791209171000,"timestamp_seconds":1791209171,"priority":1,"record_length":96,"hex_timestamp":"000001a10c62e838"} 
[2026-10-05 19:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:39:00] 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-10-05 19:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549470720001,"66":25321,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549470720001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:39:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:39:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549470720001,"power":25321,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":207928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:39:00] local.INFO: GPS data processed {"connection_id":207928,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:39:00] local.INFO: Acknowledgment sent {"connection_id":207928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:39:04] local.INFO: TCP Data received {"connection_id":204840,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6374d8012d19cbc0072017380035014f2a..."} 
[2026-10-05 19:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6374d8012d19cbc0072017380035014f2a..."} 
[2026-10-05 19:39:04] local.INFO: Processing buffer {"connection_id":204840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6374d8012d19cbc0072017380035014f2a..."} 
[2026-10-05 19:39:04] local.INFO: Packet analysis {"connection_id":204840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c63"} 
[2026-10-05 19:39:04] local.INFO: Extracted packet for processing {"connection_id":204840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c63"} 
[2026-10-05 19:39:04] local.INFO: GPS Element Parsed {"raw_longitude":756665280,"raw_latitude":119543608,"longitude_deg":75.666528,"latitude_deg":11.9543608,"altitude":53,"angle":335,"satellites":42,"speed":0,"hex_longitude":"2d19cbc0","hex_latitude":"07201738","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549551616001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25302670247985152,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858790408056158208,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791209207000,"timestamp_ms":1791209207000,"timestamp_seconds":1791209207,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6374d8"} 
[2026-10-05 19:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:39: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-10-05 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-05 19:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:04] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:04] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452377,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:04] local.WARNING: Large IO value detected {"io_id":228,"raw_value":-7277816997830721535,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:04] local.WARNING: Large IO value detected {"io_id":161,"raw_value":891964067725253070,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":94341396198064128,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:04] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513437982752833871,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:04] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:04] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3507460569143247054,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-10-05 19:39:04] local.WARNING: Large IO value detected {"io_id":136,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:04] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3221692441,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:04] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862951,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:04] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3835363328,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:04] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,228,161,208,45,192,23,53,40,10,66,126,44,1,240,12,32,4,113,205,136,206,42,239,48,2,89,7,43],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-10-05 19:39:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819421005089079296,"timestamp_seconds":3819421005089079.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 19:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":204840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":204840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":204840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549551616001,"66":12026,"121":206,"28":31744,"24":0,"16":25302670247985152,"45":1858790408056158208},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549551616001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:39:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:39:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25302670247985152,"km_value":25302670247985.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858790408056158208,"description":"Unknown IO ID 45"} 
[2026-10-05 19:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549551616001,"power":12026,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1858790408056158208}} 
[2026-10-05 19:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":204840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:39:04] local.INFO: GPS data processed {"connection_id":204840,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:39:04] local.INFO: Acknowledgment sent {"connection_id":204840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:39:08] local.INFO: TCP Data received {"connection_id":204841,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:39:08] local.INFO: Processing buffer {"connection_id":204841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:39:08] local.INFO: Packet analysis {"connection_id":204841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c63"} 
[2026-10-05 19:39:08] local.INFO: Extracted packet for processing {"connection_id":204841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c63"} 
[2026-10-05 19:39:08] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:39: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-10-05 19:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549475840001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791209191000,"timestamp_ms":1791209191000,"timestamp_seconds":1791209191,"priority":1,"record_length":96,"hex_timestamp":"000001a10c633658"} 
[2026-10-05 19:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:39: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":123,"data_length":795,"current_offset":136} 
[2026-10-05 19:39:08] 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-10-05 19:39: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-10-05 19:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549475840001,"66":12743,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549475840001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:39:08] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:39:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549475840001,"power":12743,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":204841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:39:08] local.INFO: GPS data processed {"connection_id":204841,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:39:08] local.INFO: Acknowledgment sent {"connection_id":204841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:39:10] local.INFO: TCP Data received {"connection_id":204979,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:39:10] local.INFO: Processing buffer {"connection_id":204979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:39:10] local.INFO: IMEI packet received {"connection_id":204979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":204979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:39:14] local.INFO: TCP Data received {"connection_id":204979,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:39:14] local.INFO: Processing buffer {"connection_id":204979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:39:14] local.INFO: IMEI packet received {"connection_id":204979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":204979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:39:16] local.INFO: TCP Data received {"connection_id":204979,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c64b140012d19dd40072005a8003100d32a..."} 
[2026-10-05 19:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c64b140012d19dd40072005a8003100d32a..."} 
[2026-10-05 19:39:16] local.INFO: Processing buffer {"connection_id":204979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c64b140012d19dd40072005a8003100d32a..."} 
[2026-10-05 19:39:16] local.INFO: Packet analysis {"connection_id":204979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c64"} 
[2026-10-05 19:39:16] local.INFO: Extracted packet for processing {"connection_id":204979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c64"} 
[2026-10-05 19:39:16] local.INFO: GPS Element Parsed {"raw_longitude":756669760,"raw_latitude":119539112,"longitude_deg":75.666976,"latitude_deg":11.9539112,"altitude":49,"angle":211,"satellites":42,"speed":17,"hex_longitude":"2d19dd40","hex_latitude":"072005a8","is_valid_coordinates":true} 
[2026-10-05 19:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549577216001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25303031025238016,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864068063868524544,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791209288000,"timestamp_ms":1791209288000,"timestamp_seconds":1791209288,"priority":1,"record_length":96,"hex_timestamp":"000001a10c64b140"} 
[2026-10-05 19:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:39: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-10-05 19:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 19:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:39:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549577216001,"66":13493,"121":206,"28":31744,"24":17,"16":25303031025238016,"45":1864068063868524544},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549577216001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:39:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:39:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25303031025238016,"km_value":25303031025238.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864068063868524544,"description":"Unknown IO ID 45"} 
[2026-10-05 19:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549577216001,"power":13493,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1864068063868524544}} 
[2026-10-05 19:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":204979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:39:16] local.INFO: GPS data processed {"connection_id":204979,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:39:16] local.INFO: Acknowledgment sent {"connection_id":204979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:39:31] local.INFO: TCP Data received {"connection_id":207928,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:39:31] local.INFO: Processing buffer {"connection_id":207928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:39:31] local.INFO: Packet analysis {"connection_id":207928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c62"} 
[2026-10-05 19:39:31] local.INFO: Extracted packet for processing {"connection_id":207928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c62"} 
[2026-10-05 19:39:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549470720001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791209171000,"timestamp_ms":1791209171000,"timestamp_seconds":1791209171,"priority":1,"record_length":96,"hex_timestamp":"000001a10c62e838"} 
[2026-10-05 19:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:39:31] 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-10-05 19:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549470720001,"66":25321,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549470720001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:39:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:39:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549470720001,"power":25321,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":207928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:39:31] local.INFO: GPS data processed {"connection_id":207928,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:39:31] local.INFO: Acknowledgment sent {"connection_id":207928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:39:35] local.INFO: TCP Data received {"connection_id":207929,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:39:35] local.INFO: Processing buffer {"connection_id":207929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:39:35] local.INFO: IMEI packet received {"connection_id":207929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":207929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:39:40] local.INFO: TCP Data received {"connection_id":207929,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:39:40] local.INFO: Processing buffer {"connection_id":207929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:39:40] local.INFO: IMEI packet received {"connection_id":207929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":207929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:39:42] local.INFO: TCP Data received {"connection_id":207929,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:39:42] local.INFO: Processing buffer {"connection_id":207929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:39:42] local.INFO: Packet analysis {"connection_id":207929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c63"} 
[2026-10-05 19:39:42] local.INFO: Extracted packet for processing {"connection_id":207929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c63"} 
[2026-10-05 19:39:42] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549475840001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791209191000,"timestamp_ms":1791209191000,"timestamp_seconds":1791209191,"priority":1,"record_length":96,"hex_timestamp":"000001a10c633658"} 
[2026-10-05 19:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 19:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549475840001,"66":12743,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549475840001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:39:42] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:39:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549475840001,"power":12743,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":207929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969596,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:39:42] local.INFO: GPS data processed {"connection_id":207929,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:39:42] local.INFO: Acknowledgment sent {"connection_id":207929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:39:48] local.INFO: TCP Data received {"connection_id":207929,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:39:48] local.INFO: Processing buffer {"connection_id":207929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:39:48] local.INFO: Packet analysis {"connection_id":207929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c63"} 
[2026-10-05 19:39:48] local.INFO: Extracted packet for processing {"connection_id":207929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c63"} 
[2026-10-05 19:39:48] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549475840001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791209191000,"timestamp_ms":1791209191000,"timestamp_seconds":1791209191,"priority":1,"record_length":96,"hex_timestamp":"000001a10c633658"} 
[2026-10-05 19:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 19:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":207929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":207929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":207929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549475840001,"66":12743,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549475840001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:39:48] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:39:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549475840001,"power":12743,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":207929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:39:48] local.INFO: GPS data processed {"connection_id":207929,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:39:48] local.INFO: Acknowledgment sent {"connection_id":207929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:39:49] local.INFO: TCP Data received {"connection_id":204979,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c657490012d199280071ff1e80039010c2a..."} 
[2026-10-05 19:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c657490012d199280071ff1e80039010c2a..."} 
[2026-10-05 19:39:49] local.INFO: Processing buffer {"connection_id":204979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c657490012d199280071ff1e80039010c2a..."} 
[2026-10-05 19:39:49] local.INFO: Packet analysis {"connection_id":204979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c65"} 
[2026-10-05 19:39:49] local.INFO: Extracted packet for processing {"connection_id":204979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c65"} 
[2026-10-05 19:39:49] local.INFO: GPS Element Parsed {"raw_longitude":756650624,"raw_latitude":119534056,"longitude_deg":75.6650624,"latitude_deg":11.9534056,"altitude":57,"angle":268,"satellites":42,"speed":13,"hex_longitude":"2d199280","hex_latitude":"071ff1e8","is_valid_coordinates":true} 
[2026-10-05 19:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549590272001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304070407323648,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843027809357907968,"note":"Value kept but may cause issues"} 
[2026-10-05 19:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1791209338000,"timestamp_ms":1791209338000,"timestamp_seconds":1791209338,"priority":1,"record_length":96,"hex_timestamp":"000001a10c657490"} 
[2026-10-05 19:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-05 19:39:49] 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-10-05 19:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":204979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":204979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":204979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549590272001,"66":11721,"121":206,"28":31744,"24":13,"16":25304070407323648,"45":1843027809357907968},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549590272001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:39:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:39:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304070407323648,"km_value":25304070407323.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843027809357907968,"description":"Unknown IO ID 45"} 
[2026-10-05 19:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549590272001,"power":11721,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1843027809357907968}} 
[2026-10-05 19:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":204979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:39:49] local.INFO: GPS data processed {"connection_id":204979,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:39:49] local.INFO: Acknowledgment sent {"connection_id":204979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:39:54] local.INFO: TCP Data received {"connection_id":204980,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:39:54] local.INFO: Processing buffer {"connection_id":204980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:39:54] local.INFO: IMEI packet received {"connection_id":204980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":204980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:39:59] local.INFO: TCP Data received {"connection_id":204980,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:39:59] local.INFO: Processing buffer {"connection_id":204980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:39:59] local.INFO: IMEI packet received {"connection_id":204980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":204980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:40:00] local.INFO: TCP Data received {"connection_id":204980,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:40:00] local.INFO: Processing buffer {"connection_id":204980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:40:00] local.INFO: Packet analysis {"connection_id":204980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c62"} 
[2026-10-05 19:40:00] local.INFO: Extracted packet for processing {"connection_id":204980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c62"} 
[2026-10-05 19:40:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549470720001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791209171000,"timestamp_ms":1791209171000,"timestamp_seconds":1791209171,"priority":1,"record_length":96,"hex_timestamp":"000001a10c62e838"} 
[2026-10-05 19:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:40:00] 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-10-05 19:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549470720001,"66":25321,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549470720001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:40:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:40:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549470720001,"power":25321,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":204980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:40:00] local.INFO: GPS data processed {"connection_id":204980,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:40:00] local.INFO: Acknowledgment sent {"connection_id":204980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:40:03] local.INFO: TCP Data received {"connection_id":204842,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:40:03] local.INFO: Processing buffer {"connection_id":204842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:40:03] local.INFO: IMEI packet received {"connection_id":204842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":204842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:40:04] local.INFO: TCP Data received {"connection_id":204842,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:40:04] local.INFO: Processing buffer {"connection_id":204842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:40:04] local.INFO: IMEI packet received {"connection_id":204842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":204842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:40:04] local.INFO: TCP Data received {"connection_id":204842,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:40:04] local.INFO: Processing buffer {"connection_id":204842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:40:04] local.INFO: IMEI packet received {"connection_id":204842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":204842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:40:06] local.INFO: TCP Data received {"connection_id":204842,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:40:06] local.INFO: Processing buffer {"connection_id":204842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:40:06] local.INFO: IMEI packet received {"connection_id":204842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":204842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:40:30] local.INFO: TCP Data received {"connection_id":204981,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:40:30] local.INFO: Processing buffer {"connection_id":204981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:40:30] local.INFO: IMEI packet received {"connection_id":204981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":204981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:40:31] local.INFO: TCP Data received {"connection_id":204980,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:40:31] local.INFO: Processing buffer {"connection_id":204980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:40:31] local.INFO: Packet analysis {"connection_id":204980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c62"} 
[2026-10-05 19:40:31] local.INFO: Extracted packet for processing {"connection_id":204980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c62"} 
[2026-10-05 19:40:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549470720001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791209171000,"timestamp_ms":1791209171000,"timestamp_seconds":1791209171,"priority":1,"record_length":96,"hex_timestamp":"000001a10c62e838"} 
[2026-10-05 19:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:40:31] 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-10-05 19:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549470720001,"66":25321,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549470720001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:40:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:40:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549470720001,"power":25321,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":204980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:40:31] local.INFO: GPS data processed {"connection_id":204980,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:40:31] local.INFO: Acknowledgment sent {"connection_id":204980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:40:36] local.INFO: TCP Data received {"connection_id":204981,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:40:36] local.INFO: Processing buffer {"connection_id":204981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:40:36] local.INFO: IMEI packet received {"connection_id":204981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":204981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:40:38] local.INFO: TCP Data received {"connection_id":204981,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:40:38] local.INFO: Processing buffer {"connection_id":204981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:40:38] local.INFO: Packet analysis {"connection_id":204981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c63"} 
[2026-10-05 19:40:38] local.INFO: Extracted packet for processing {"connection_id":204981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c63"} 
[2026-10-05 19:40:38] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549475840001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791209191000,"timestamp_ms":1791209191000,"timestamp_seconds":1791209191,"priority":1,"record_length":96,"hex_timestamp":"000001a10c633658"} 
[2026-10-05 19:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 19:40: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-10-05 19:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549475840001,"66":12743,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549475840001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:40:38] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:40:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549475840001,"power":12743,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":204981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:40:38] local.INFO: GPS data processed {"connection_id":204981,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:40:38] local.INFO: Acknowledgment sent {"connection_id":204981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:40:54] local.INFO: TCP Data received {"connection_id":207931,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:40:54] local.INFO: Processing buffer {"connection_id":207931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:40:54] local.INFO: IMEI packet received {"connection_id":207931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":207931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:40:59] local.INFO: TCP Data received {"connection_id":204982,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:40:59] local.INFO: Processing buffer {"connection_id":204982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:40:59] local.INFO: IMEI packet received {"connection_id":204982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 19:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":204982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:40:59] local.INFO: TCP Data received {"connection_id":207931,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:40:59] local.INFO: Processing buffer {"connection_id":207931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:40:59] local.INFO: IMEI packet received {"connection_id":207931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":207931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:41:00] local.INFO: TCP Data received {"connection_id":207931,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:41:00] local.INFO: Processing buffer {"connection_id":207931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:41:00] local.INFO: Packet analysis {"connection_id":207931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c62"} 
[2026-10-05 19:41:00] local.INFO: Extracted packet for processing {"connection_id":207931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c62"} 
[2026-10-05 19:41:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549470720001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791209171000,"timestamp_ms":1791209171000,"timestamp_seconds":1791209171,"priority":1,"record_length":96,"hex_timestamp":"000001a10c62e838"} 
[2026-10-05 19:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:41:00] 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-10-05 19:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549470720001,"66":25321,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549470720001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:41:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:41:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549470720001,"power":25321,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":207931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:41:00] local.INFO: GPS data processed {"connection_id":207931,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:41:00] local.INFO: Acknowledgment sent {"connection_id":207931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:41:10] local.INFO: TCP Data received {"connection_id":204981,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:41:10] local.INFO: Processing buffer {"connection_id":204981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c633658012d7a1a0005e46910000b012128..."} 
[2026-10-05 19:41:10] local.INFO: Packet analysis {"connection_id":204981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c63"} 
[2026-10-05 19:41:10] local.INFO: Extracted packet for processing {"connection_id":204981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c63"} 
[2026-10-05 19:41:10] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549475840001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791209191000,"timestamp_ms":1791209191000,"timestamp_seconds":1791209191,"priority":1,"record_length":96,"hex_timestamp":"000001a10c633658"} 
[2026-10-05 19:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 19:41:10] 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-10-05 19: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-10-05 19:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549475840001,"66":12743,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549475840001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:41:10] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:41:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549475840001,"power":12743,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":204981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:41:10] local.INFO: GPS data processed {"connection_id":204981,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:41:10] local.INFO: Acknowledgment sent {"connection_id":204981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:41:30] local.INFO: TCP Data received {"connection_id":204844,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:41:30] local.INFO: Processing buffer {"connection_id":204844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:41:30] local.INFO: IMEI packet received {"connection_id":204844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":204844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:41:31] local.INFO: TCP Data received {"connection_id":207931,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:41:31] local.INFO: Processing buffer {"connection_id":207931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c62e838012d7ee58006003208000b00d72a..."} 
[2026-10-05 19:41:31] local.INFO: Packet analysis {"connection_id":207931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c62"} 
[2026-10-05 19:41:31] local.INFO: Extracted packet for processing {"connection_id":207931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c62"} 
[2026-10-05 19:41:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549470720001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791209171000,"timestamp_ms":1791209171000,"timestamp_seconds":1791209171,"priority":1,"record_length":96,"hex_timestamp":"000001a10c62e838"} 
[2026-10-05 19:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:41:31] 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-10-05 19:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549470720001,"66":25321,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549470720001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:41:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:41:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549470720001,"power":25321,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":207931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:41:31] local.INFO: GPS data processed {"connection_id":207931,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:41:31] local.INFO: Acknowledgment sent {"connection_id":207931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:41:33] local.INFO: TCP Data received {"connection_id":204844,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:41:33] local.INFO: Processing buffer {"connection_id":204844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:41:33] local.INFO: IMEI packet received {"connection_id":204844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":204844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:41:34] local.INFO: TCP Data received {"connection_id":207932,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:41:34] local.INFO: Processing buffer {"connection_id":207932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:41:34] local.INFO: IMEI packet received {"connection_id":207932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 19:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":207932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:41:35] local.INFO: TCP Data received {"connection_id":204844,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:41:35] local.INFO: Processing buffer {"connection_id":204844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:41:35] local.INFO: IMEI packet received {"connection_id":204844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":204844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:41:36] local.INFO: TCP Data received {"connection_id":204844,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:41:36] local.INFO: Processing buffer {"connection_id":204844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:41:36] local.INFO: Packet analysis {"connection_id":204844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:41:36] local.INFO: Extracted packet for processing {"connection_id":204844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:41:36] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549552896001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791209492000,"timestamp_ms":1791209492000,"timestamp_seconds":1791209492,"priority":1,"record_length":96,"hex_timestamp":"000001a10c67ce20"} 
[2026-10-05 19:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 19:41:36] 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-10-05 19:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549552896001,"66":12711,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549552896001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:41:36] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:41:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549552896001,"power":12711,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":204844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:41:36] local.INFO: GPS data processed {"connection_id":204844,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:41:36] local.INFO: Acknowledgment sent {"connection_id":204844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:41:54] local.INFO: TCP Data received {"connection_id":204983,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:41:54] local.INFO: Processing buffer {"connection_id":204983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:41:54] local.INFO: IMEI packet received {"connection_id":204983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":204983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:41:59] local.INFO: TCP Data received {"connection_id":204983,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:41:59] local.INFO: Processing buffer {"connection_id":204983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:41:59] local.INFO: IMEI packet received {"connection_id":204983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":204983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:42:00] local.INFO: TCP Data received {"connection_id":204983,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:42:00] local.INFO: Processing buffer {"connection_id":204983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:42:00] local.INFO: Packet analysis {"connection_id":204983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:42:00] local.INFO: Extracted packet for processing {"connection_id":204983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:42:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549547776001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791209472000,"timestamp_ms":1791209472000,"timestamp_seconds":1791209472,"priority":1,"record_length":96,"hex_timestamp":"000001a10c678000"} 
[2026-10-05 19:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 19:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:42: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-10-05 19:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549547776001,"66":25288,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549547776001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:42:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:42:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549547776001,"power":25288,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":204983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:42:00] local.INFO: GPS data processed {"connection_id":204983,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:42:00] local.INFO: Acknowledgment sent {"connection_id":204983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:42:08] local.INFO: TCP Data received {"connection_id":204844,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:42:08] local.INFO: Processing buffer {"connection_id":204844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:42:08] local.INFO: Packet analysis {"connection_id":204844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:42:08] local.INFO: Extracted packet for processing {"connection_id":204844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:42:08] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549552896001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791209492000,"timestamp_ms":1791209492000,"timestamp_seconds":1791209492,"priority":1,"record_length":96,"hex_timestamp":"000001a10c67ce20"} 
[2026-10-05 19:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 19:42:08] 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-10-05 19:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:42:08] 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-10-05 19:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549552896001,"66":12711,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549552896001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:42:08] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:42:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549552896001,"power":12711,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":204844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969607,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:42:08] local.INFO: GPS data processed {"connection_id":204844,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:42:08] local.INFO: Acknowledgment sent {"connection_id":204844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:42:31] local.INFO: TCP Data received {"connection_id":204983,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:42:31] local.INFO: Processing buffer {"connection_id":204983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:42:31] local.INFO: Packet analysis {"connection_id":204983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:42:31] local.INFO: Extracted packet for processing {"connection_id":204983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:42:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549547776001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791209472000,"timestamp_ms":1791209472000,"timestamp_seconds":1791209472,"priority":1,"record_length":96,"hex_timestamp":"000001a10c678000"} 
[2026-10-05 19:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 19:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549547776001,"66":25288,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549547776001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:42:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:42:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549547776001,"power":25288,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":204983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:42:31] local.INFO: GPS data processed {"connection_id":204983,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:42:31] local.INFO: Acknowledgment sent {"connection_id":204983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:42:35] local.INFO: TCP Data received {"connection_id":207933,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:42:35] local.INFO: Processing buffer {"connection_id":207933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:42:35] local.INFO: IMEI packet received {"connection_id":207933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":207933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:42:36] local.INFO: TCP Data received {"connection_id":207933,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:42:36] local.INFO: Processing buffer {"connection_id":207933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:42:36] local.INFO: IMEI packet received {"connection_id":207933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":207933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:42:40] local.INFO: TCP Data received {"connection_id":207933,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:42:40] local.INFO: Processing buffer {"connection_id":207933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:42:40] local.INFO: IMEI packet received {"connection_id":207933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":207933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:42:42] local.INFO: TCP Data received {"connection_id":207933,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:42:42] local.INFO: Processing buffer {"connection_id":207933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:42:42] local.INFO: Packet analysis {"connection_id":207933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:42:42] local.INFO: Extracted packet for processing {"connection_id":207933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:42:42] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549552896001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791209492000,"timestamp_ms":1791209492000,"timestamp_seconds":1791209492,"priority":1,"record_length":96,"hex_timestamp":"000001a10c67ce20"} 
[2026-10-05 19:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 19:42:42] 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-10-05 19:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:42:42] 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-10-05 19:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549552896001,"66":12711,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549552896001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:42:42] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:42:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549552896001,"power":12711,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":207933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969609,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:42:42] local.INFO: GPS data processed {"connection_id":207933,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:42:42] local.INFO: Acknowledgment sent {"connection_id":207933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:42:54] local.INFO: TCP Data received {"connection_id":206373,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:42:54] local.INFO: Processing buffer {"connection_id":206373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:42:54] local.INFO: IMEI packet received {"connection_id":206373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":206373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:42:59] local.INFO: TCP Data received {"connection_id":206373,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:42:59] local.INFO: Processing buffer {"connection_id":206373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:42:59] local.INFO: IMEI packet received {"connection_id":206373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":206373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:43:00] local.INFO: TCP Data received {"connection_id":206373,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:43:00] local.INFO: Processing buffer {"connection_id":206373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:43:00] local.INFO: Packet analysis {"connection_id":206373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:43:00] local.INFO: Extracted packet for processing {"connection_id":206373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:43:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549547776001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791209472000,"timestamp_ms":1791209472000,"timestamp_seconds":1791209472,"priority":1,"record_length":96,"hex_timestamp":"000001a10c678000"} 
[2026-10-05 19:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 19:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:43: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-10-05 19:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549547776001,"66":25288,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549547776001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:43:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:43:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549547776001,"power":25288,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":206373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:43:00] local.INFO: GPS data processed {"connection_id":206373,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:43:00] local.INFO: Acknowledgment sent {"connection_id":206373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:43:14] local.INFO: TCP Data received {"connection_id":207933,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:43:14] local.INFO: Processing buffer {"connection_id":207933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:43:14] local.INFO: Packet analysis {"connection_id":207933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:43:14] local.INFO: Extracted packet for processing {"connection_id":207933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:43:14] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549552896001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791209492000,"timestamp_ms":1791209492000,"timestamp_seconds":1791209492,"priority":1,"record_length":96,"hex_timestamp":"000001a10c67ce20"} 
[2026-10-05 19:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 19:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":207933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":207933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":207933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549552896001,"66":12711,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549552896001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:43:14] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:43:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549552896001,"power":12711,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":207933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:43:14] local.INFO: GPS data processed {"connection_id":207933,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:43:14] local.INFO: Acknowledgment sent {"connection_id":207933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:43:30] local.INFO: TCP Data received {"connection_id":204847,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:43:30] local.INFO: Processing buffer {"connection_id":204847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:43:30] local.INFO: IMEI packet received {"connection_id":204847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":204847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:43:31] local.INFO: TCP Data received {"connection_id":206373,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:43:31] local.INFO: Processing buffer {"connection_id":206373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:43:31] local.INFO: Packet analysis {"connection_id":206373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:43:31] local.INFO: Extracted packet for processing {"connection_id":206373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:43:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549547776001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791209472000,"timestamp_ms":1791209472000,"timestamp_seconds":1791209472,"priority":1,"record_length":96,"hex_timestamp":"000001a10c678000"} 
[2026-10-05 19:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 19:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549547776001,"66":25288,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549547776001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:43:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:43:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549547776001,"power":25288,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":206373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:43:31] local.INFO: GPS data processed {"connection_id":206373,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:43:31] local.INFO: Acknowledgment sent {"connection_id":206373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:43:35] local.INFO: TCP Data received {"connection_id":204847,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:43:35] local.INFO: Processing buffer {"connection_id":204847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:43:35] local.INFO: IMEI packet received {"connection_id":204847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":204847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:43:37] local.INFO: TCP Data received {"connection_id":204847,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:43:37] local.INFO: Processing buffer {"connection_id":204847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:43:37] local.INFO: Packet analysis {"connection_id":204847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:43:37] local.INFO: Extracted packet for processing {"connection_id":204847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:43:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549552896001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791209492000,"timestamp_ms":1791209492000,"timestamp_seconds":1791209492,"priority":1,"record_length":96,"hex_timestamp":"000001a10c67ce20"} 
[2026-10-05 19:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 19:43:37] 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-10-05 19:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:43:37] 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-10-05 19:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549552896001,"66":12711,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549552896001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:43:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:43:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549552896001,"power":12711,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":204847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:43:37] local.INFO: GPS data processed {"connection_id":204847,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:43:37] local.INFO: Acknowledgment sent {"connection_id":204847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:43:59] local.INFO: TCP Data received {"connection_id":207935,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:43:59] local.INFO: Processing buffer {"connection_id":207935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:43:59] local.INFO: IMEI packet received {"connection_id":207935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":207935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:44:04] local.INFO: TCP Data received {"connection_id":207935,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:44:04] local.INFO: Processing buffer {"connection_id":207935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:44:04] local.INFO: IMEI packet received {"connection_id":207935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":207935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:44:05] local.INFO: TCP Data received {"connection_id":207935,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:44:05] local.INFO: Processing buffer {"connection_id":207935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:44:05] local.INFO: Packet analysis {"connection_id":207935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:44:05] local.INFO: Extracted packet for processing {"connection_id":207935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:44:05] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549547776001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791209472000,"timestamp_ms":1791209472000,"timestamp_seconds":1791209472,"priority":1,"record_length":96,"hex_timestamp":"000001a10c678000"} 
[2026-10-05 19:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 19:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":207935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":207935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":207935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549547776001,"66":25288,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549547776001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:44:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:44:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549547776001,"power":25288,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":207935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:44:05] local.INFO: GPS data processed {"connection_id":207935,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:44:05] local.INFO: Acknowledgment sent {"connection_id":207935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:44:09] local.INFO: TCP Data received {"connection_id":204847,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:44:09] local.INFO: Processing buffer {"connection_id":204847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:44:09] local.INFO: Packet analysis {"connection_id":204847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:44:09] local.INFO: Extracted packet for processing {"connection_id":204847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:44:09] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549552896001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791209492000,"timestamp_ms":1791209492000,"timestamp_seconds":1791209492,"priority":1,"record_length":96,"hex_timestamp":"000001a10c67ce20"} 
[2026-10-05 19:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 19:44:09] 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-10-05 19: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-10-05 19:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549552896001,"66":12711,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549552896001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:44:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:44:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549552896001,"power":12711,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":204847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:44:09] local.INFO: GPS data processed {"connection_id":204847,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:44:09] local.INFO: Acknowledgment sent {"connection_id":204847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:44:09] local.INFO: TCP Data received {"connection_id":207935,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:44:09] local.INFO: Processing buffer {"connection_id":207935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:44:09] local.INFO: Packet analysis {"connection_id":207935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:44:09] local.INFO: Extracted packet for processing {"connection_id":207935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:44:09] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549547776001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791209472000,"timestamp_ms":1791209472000,"timestamp_seconds":1791209472,"priority":1,"record_length":96,"hex_timestamp":"000001a10c678000"} 
[2026-10-05 19:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 19:44:09] 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-10-05 19: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-10-05 19:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":207935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":207935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":207935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549547776001,"66":25288,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549547776001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:44:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:44:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549547776001,"power":25288,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":207935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:44:09] local.INFO: GPS data processed {"connection_id":207935,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:44:09] local.INFO: Acknowledgment sent {"connection_id":207935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:44:36] local.INFO: TCP Data received {"connection_id":207937,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:44:36] local.INFO: Processing buffer {"connection_id":207937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:44:36] local.INFO: IMEI packet received {"connection_id":207937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":207937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:44:40] local.INFO: TCP Data received {"connection_id":207937,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:44:40] local.INFO: Processing buffer {"connection_id":207937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:44:40] local.INFO: IMEI packet received {"connection_id":207937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":207937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:44:42] local.INFO: TCP Data received {"connection_id":207937,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:44:42] local.INFO: Processing buffer {"connection_id":207937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:44:42] local.INFO: Packet analysis {"connection_id":207937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:44:42] local.INFO: Extracted packet for processing {"connection_id":207937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:44:42] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549552896001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791209492000,"timestamp_ms":1791209492000,"timestamp_seconds":1791209492,"priority":1,"record_length":96,"hex_timestamp":"000001a10c67ce20"} 
[2026-10-05 19:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 19:44:42] 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-10-05 19:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":207937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":207937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":207937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:44:42] 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-10-05 19:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549552896001,"66":12711,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549552896001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:44:42] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:44:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549552896001,"power":12711,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":207937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:44:42] local.INFO: GPS data processed {"connection_id":207937,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:44:42] local.INFO: Acknowledgment sent {"connection_id":207937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:44:46] local.INFO: TCP Data received {"connection_id":207937,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:44:46] local.INFO: Processing buffer {"connection_id":207937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:44:46] local.INFO: Packet analysis {"connection_id":207937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:44:46] local.INFO: Extracted packet for processing {"connection_id":207937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:44:46] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549552896001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791209492000,"timestamp_ms":1791209492000,"timestamp_seconds":1791209492,"priority":1,"record_length":96,"hex_timestamp":"000001a10c67ce20"} 
[2026-10-05 19:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 19:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":207937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":207937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":207937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:44:46] 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-10-05 19:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549552896001,"66":12711,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549552896001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:44:46] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:44:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549552896001,"power":12711,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":207937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:44:46] local.INFO: GPS data processed {"connection_id":207937,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:44:46] local.INFO: Acknowledgment sent {"connection_id":207937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:44:54] local.INFO: TCP Data received {"connection_id":206374,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:44:54] local.INFO: Processing buffer {"connection_id":206374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:44:54] local.INFO: IMEI packet received {"connection_id":206374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":206374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:44:59] local.INFO: TCP Data received {"connection_id":206374,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:44:59] local.INFO: Processing buffer {"connection_id":206374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:44:59] local.INFO: IMEI packet received {"connection_id":206374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":206374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:45:00] local.INFO: TCP Data received {"connection_id":206374,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:45:00] local.INFO: Processing buffer {"connection_id":206374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:45:00] local.INFO: Packet analysis {"connection_id":206374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:45:00] local.INFO: Extracted packet for processing {"connection_id":206374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:45:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549547776001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791209472000,"timestamp_ms":1791209472000,"timestamp_seconds":1791209472,"priority":1,"record_length":96,"hex_timestamp":"000001a10c678000"} 
[2026-10-05 19:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 19:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:45: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-10-05 19:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549547776001,"66":25288,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549547776001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:45:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:45:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549547776001,"power":25288,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":206374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:45:00] local.INFO: GPS data processed {"connection_id":206374,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:45:00] local.INFO: Acknowledgment sent {"connection_id":206374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:45:23] local.INFO: TCP Data received {"connection_id":204849,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:45:23] local.INFO: Processing buffer {"connection_id":204849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:45:23] local.INFO: IMEI packet received {"connection_id":204849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":204849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:45:24] local.INFO: TCP Data received {"connection_id":204849,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:45:24] local.INFO: Processing buffer {"connection_id":204849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:45:24] local.INFO: IMEI packet received {"connection_id":204849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":204849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:45:25] local.INFO: TCP Data received {"connection_id":204849,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c65eda8012d1968c0071fece8003c01382b..."} 
[2026-10-05 19:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c65eda8012d1968c0071fece8003c01382b..."} 
[2026-10-05 19:45:25] local.INFO: Processing buffer {"connection_id":204849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c65eda8012d1968c0071fece8003c01382b..."} 
[2026-10-05 19:45:25] local.INFO: Packet analysis {"connection_id":204849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c65"} 
[2026-10-05 19:45:25] local.INFO: Extracted packet for processing {"connection_id":204849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c65"} 
[2026-10-05 19:45:25] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532776,"longitude_deg":75.6639936,"latitude_deg":11.9532776,"altitude":60,"angle":312,"satellites":43,"speed":7,"hex_longitude":"2d1968c0","hex_latitude":"071fece8","is_valid_coordinates":true} 
[2026-10-05 19:45:25] 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-10-05 19:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549598208001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847365120,"note":"Value kept but may cause issues"} 
[2026-10-05 19:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1791209369000,"timestamp_ms":1791209369000,"timestamp_seconds":1791209369,"priority":1,"record_length":96,"hex_timestamp":"000001a10c65eda8"} 
[2026-10-05 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-10-05 19:45: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-10-05 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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 19:45:25] 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-10-05 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-10-05 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-10-05 19:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":204849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":204849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":204849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549598208001,"66":4449,"121":206,"28":31744,"24":7,"16":25304594393333760,"45":1831065122847365120},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549598208001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:45:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:45:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847365120,"description":"Unknown IO ID 45"} 
[2026-10-05 19:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549598208001,"power":4449,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1831065122847365120}} 
[2026-10-05 19:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":204849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:45:25] local.INFO: GPS data processed {"connection_id":204849,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:45:25] local.INFO: Acknowledgment sent {"connection_id":204849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:45:31] local.INFO: TCP Data received {"connection_id":204849,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c65eda8012d1968c0071fece8003c01382b..."} 
[2026-10-05 19:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c65eda8012d1968c0071fece8003c01382b..."} 
[2026-10-05 19:45:31] local.INFO: Processing buffer {"connection_id":204849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c65eda8012d1968c0071fece8003c01382b..."} 
[2026-10-05 19:45:31] local.INFO: Packet analysis {"connection_id":204849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c65"} 
[2026-10-05 19:45:31] local.INFO: Extracted packet for processing {"connection_id":204849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c65"} 
[2026-10-05 19:45:31] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532776,"longitude_deg":75.6639936,"latitude_deg":11.9532776,"altitude":60,"angle":312,"satellites":43,"speed":7,"hex_longitude":"2d1968c0","hex_latitude":"071fece8","is_valid_coordinates":true} 
[2026-10-05 19:45: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-10-05 19:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549598464001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359030272,"note":"Value kept but may cause issues"} 
[2026-10-05 19:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791209369000,"timestamp_ms":1791209369000,"timestamp_seconds":1791209369,"priority":1,"record_length":96,"hex_timestamp":"000001a10c65eda8"} 
[2026-10-05 19:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:45: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-10-05 19: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":17,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 19:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1156,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549598464001,"66":4449,"121":206,"28":31744,"24":7,"16":25304594393333760,"45":1830924385359030272},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549598464001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:45:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:45:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359030272,"description":"Unknown IO ID 45"} 
[2026-10-05 19:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549598464001,"power":4449,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1830924385359030272}} 
[2026-10-05 19:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":204849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:45:31] local.INFO: GPS data processed {"connection_id":204849,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:45:31] local.INFO: Acknowledgment sent {"connection_id":204849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:45:31] local.INFO: TCP Data received {"connection_id":206374,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:45:31] local.INFO: Processing buffer {"connection_id":206374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:45:31] local.INFO: Packet analysis {"connection_id":206374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:45:31] local.INFO: Extracted packet for processing {"connection_id":206374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:45:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549547776001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791209472000,"timestamp_ms":1791209472000,"timestamp_seconds":1791209472,"priority":1,"record_length":96,"hex_timestamp":"000001a10c678000"} 
[2026-10-05 19:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 19:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549547776001,"66":25288,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549547776001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:45:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:45:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549547776001,"power":25288,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":206374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:45:31] local.INFO: GPS data processed {"connection_id":206374,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:45:31] local.INFO: Acknowledgment sent {"connection_id":206374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:45:32] local.INFO: TCP Data received {"connection_id":204850,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:45:32] local.INFO: Processing buffer {"connection_id":204850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:45:32] local.INFO: IMEI packet received {"connection_id":204850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":204850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:45:35] local.INFO: TCP Data received {"connection_id":204850,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:45:35] local.INFO: Processing buffer {"connection_id":204850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:45:35] local.INFO: IMEI packet received {"connection_id":204850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":204850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:45:37] local.INFO: TCP Data received {"connection_id":204850,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:45:37] local.INFO: Processing buffer {"connection_id":204850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:45:37] local.INFO: Packet analysis {"connection_id":204850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:45:37] local.INFO: Extracted packet for processing {"connection_id":204850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:45:37] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549552896001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791209492000,"timestamp_ms":1791209492000,"timestamp_seconds":1791209492,"priority":1,"record_length":96,"hex_timestamp":"000001a10c67ce20"} 
[2026-10-05 19:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":199,"data_length":795,"current_offset":136} 
[2026-10-05 19:45:37] 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-10-05 19: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-10-05 19:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:45:37] 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-10-05 19:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549552896001,"66":12711,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549552896001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:45:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:45:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549552896001,"power":12711,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":204850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:45:37] local.INFO: GPS data processed {"connection_id":204850,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:45:37] local.INFO: Acknowledgment sent {"connection_id":204850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:45:54] local.INFO: TCP Data received {"connection_id":204851,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:45:54] local.INFO: Processing buffer {"connection_id":204851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:45:54] local.INFO: IMEI packet received {"connection_id":204851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":204851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:45:59] local.INFO: TCP Data received {"connection_id":204851,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:45:59] local.INFO: Processing buffer {"connection_id":204851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:45:59] local.INFO: IMEI packet received {"connection_id":204851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":204851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:45:59] local.INFO: TCP Data received {"connection_id":204851,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:45:59] local.INFO: Processing buffer {"connection_id":204851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:45:59] local.INFO: Packet analysis {"connection_id":204851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:45:59] local.INFO: Extracted packet for processing {"connection_id":204851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:45:59] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549547776001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791209472000,"timestamp_ms":1791209472000,"timestamp_seconds":1791209472,"priority":1,"record_length":96,"hex_timestamp":"000001a10c678000"} 
[2026-10-05 19:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 19:45: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-10-05 19: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-10-05 19:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":204851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":204851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":204851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549547776001,"66":25288,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549547776001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:45:59] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:45:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549547776001,"power":25288,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":204851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:45:59] local.INFO: GPS data processed {"connection_id":204851,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:45:59] local.INFO: Acknowledgment sent {"connection_id":204851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:46:04] local.INFO: TCP Data received {"connection_id":204852,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:46:04] local.INFO: Processing buffer {"connection_id":204852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:46:04] local.INFO: IMEI packet received {"connection_id":204852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":204852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:46:09] local.INFO: TCP Data received {"connection_id":204850,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:46:09] local.INFO: Processing buffer {"connection_id":204850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c67ce20012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:46:09] local.INFO: Packet analysis {"connection_id":204850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:46:09] local.INFO: Extracted packet for processing {"connection_id":204850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:46:09] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549552896001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791209492000,"timestamp_ms":1791209492000,"timestamp_seconds":1791209492,"priority":1,"record_length":96,"hex_timestamp":"000001a10c67ce20"} 
[2026-10-05 19:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 19:46:09] 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-10-05 19:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549552896001,"66":12711,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549552896001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:46:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:46:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549552896001,"power":12711,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":204850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:46:09] local.INFO: GPS data processed {"connection_id":204850,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:46:09] local.INFO: Acknowledgment sent {"connection_id":204850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:46:10] local.INFO: TCP Data received {"connection_id":204852,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:46:10] local.INFO: Processing buffer {"connection_id":204852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:46:10] local.INFO: IMEI packet received {"connection_id":204852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":204852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:46:11] local.INFO: TCP Data received {"connection_id":204852,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c65eda8012d1968c0071fece8003c01382b..."} 
[2026-10-05 19:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c65eda8012d1968c0071fece8003c01382b..."} 
[2026-10-05 19:46:11] local.INFO: Processing buffer {"connection_id":204852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c65eda8012d1968c0071fece8003c01382b..."} 
[2026-10-05 19:46:11] local.INFO: Packet analysis {"connection_id":204852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c65"} 
[2026-10-05 19:46:11] local.INFO: Extracted packet for processing {"connection_id":204852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c65"} 
[2026-10-05 19:46:11] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532776,"longitude_deg":75.6639936,"latitude_deg":11.9532776,"altitude":60,"angle":312,"satellites":43,"speed":7,"hex_longitude":"2d1968c0","hex_latitude":"071fece8","is_valid_coordinates":true} 
[2026-10-05 19:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549598464001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359030272,"note":"Value kept but may cause issues"} 
[2026-10-05 19:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791209369000,"timestamp_ms":1791209369000,"timestamp_seconds":1791209369,"priority":1,"record_length":96,"hex_timestamp":"000001a10c65eda8"} 
[2026-10-05 19:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 19:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1156,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549598464001,"66":4449,"121":206,"28":31744,"24":7,"16":25304594393333760,"45":1830924385359030272},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549598464001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:46:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:46:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359030272,"description":"Unknown IO ID 45"} 
[2026-10-05 19:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549598464001,"power":4449,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1830924385359030272}} 
[2026-10-05 19:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":204852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:46:11] local.INFO: GPS data processed {"connection_id":204852,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:46:11] local.INFO: Acknowledgment sent {"connection_id":204852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:46:31] local.INFO: TCP Data received {"connection_id":204851,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:46:31] local.INFO: Processing buffer {"connection_id":204851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c678000012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:46:31] local.INFO: Packet analysis {"connection_id":204851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:46:31] local.INFO: Extracted packet for processing {"connection_id":204851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c67"} 
[2026-10-05 19:46:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549547776001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791209472000,"timestamp_ms":1791209472000,"timestamp_seconds":1791209472,"priority":1,"record_length":96,"hex_timestamp":"000001a10c678000"} 
[2026-10-05 19:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-05 19:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549547776001,"66":25288,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549547776001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:46:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:46:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549547776001,"power":25288,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":204851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:46:31] local.INFO: GPS data processed {"connection_id":204851,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:46:31] local.INFO: Acknowledgment sent {"connection_id":204851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:46:34] local.INFO: TCP Data received {"connection_id":204985,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:46:34] local.INFO: Processing buffer {"connection_id":204985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:46:34] local.INFO: IMEI packet received {"connection_id":204985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":204985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:46:36] local.INFO: TCP Data received {"connection_id":204985,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:46:36] local.INFO: Processing buffer {"connection_id":204985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:46:36] local.INFO: IMEI packet received {"connection_id":204985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":204985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:46:40] local.INFO: TCP Data received {"connection_id":204985,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:46:40] local.INFO: Processing buffer {"connection_id":204985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:46:40] local.INFO: IMEI packet received {"connection_id":204985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":204985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:46:43] local.INFO: TCP Data received {"connection_id":204985,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:46:43] local.INFO: Processing buffer {"connection_id":204985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:46:43] local.INFO: Packet analysis {"connection_id":204985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:46:43] local.INFO: Extracted packet for processing {"connection_id":204985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:46:43] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549629952001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791209793000,"timestamp_ms":1791209793000,"timestamp_seconds":1791209793,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6c65e8"} 
[2026-10-05 19:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:46:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-05 19:46:43] 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-10-05 19:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:46:43] 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-10-05 19:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549629952001,"66":12624,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549629952001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:46:43] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:46:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549629952001,"power":12624,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":204985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:46:43] local.INFO: GPS data processed {"connection_id":204985,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:46:43] local.INFO: Acknowledgment sent {"connection_id":204985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:46:46] local.INFO: TCP Data received {"connection_id":204852,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c65f190012d196880071fed50003c01542b..."} 
[2026-10-05 19:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c65f190012d196880071fed50003c01542b..."} 
[2026-10-05 19:46:46] local.INFO: Processing buffer {"connection_id":204852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c65f190012d196880071fed50003c01542b..."} 
[2026-10-05 19:46:46] local.INFO: Packet analysis {"connection_id":204852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c65"} 
[2026-10-05 19:46:46] local.INFO: Extracted packet for processing {"connection_id":204852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c65"} 
[2026-10-05 19:46:46] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":60,"angle":340,"satellites":43,"speed":5,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-05 19:46: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-10-05 19:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549598464001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359030272,"note":"Value kept but may cause issues"} 
[2026-10-05 19:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791209370000,"timestamp_ms":1791209370000,"timestamp_seconds":1791209370,"priority":1,"record_length":96,"hex_timestamp":"000001a10c65f190"} 
[2026-10-05 19:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:46: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":17,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 19:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1156,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:46: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-10-05 19:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549598464001,"66":4449,"121":206,"28":31744,"24":5,"16":25304594393333760,"45":1830924385359030272},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549598464001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:46:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:46:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359030272,"description":"Unknown IO ID 45"} 
[2026-10-05 19:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549598464001,"power":4449,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1830924385359030272}} 
[2026-10-05 19:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":204852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:46:46] local.INFO: GPS data processed {"connection_id":204852,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:46:46] local.INFO: Acknowledgment sent {"connection_id":204852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:46:48] local.INFO: TCP Data received {"connection_id":204985,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:46:48] local.INFO: Processing buffer {"connection_id":204985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:46:48] local.INFO: Packet analysis {"connection_id":204985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:46:48] local.INFO: Extracted packet for processing {"connection_id":204985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:46:48] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549629952001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791209793000,"timestamp_ms":1791209793000,"timestamp_seconds":1791209793,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6c65e8"} 
[2026-10-05 19:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-05 19:46:48] 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-10-05 19: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-10-05 19:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549629952001,"66":12624,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549629952001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:46:48] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:46:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549629952001,"power":12624,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":204985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:46:48] local.INFO: GPS data processed {"connection_id":204985,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:46:48] local.INFO: Acknowledgment sent {"connection_id":204985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:46:54] local.INFO: TCP Data received {"connection_id":207938,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:46:54] local.INFO: Processing buffer {"connection_id":207938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:46:54] local.INFO: IMEI packet received {"connection_id":207938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":207938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:46:59] local.INFO: TCP Data received {"connection_id":207938,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:46:59] local.INFO: Processing buffer {"connection_id":207938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:46:59] local.INFO: IMEI packet received {"connection_id":207938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":207938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:47:00] local.INFO: TCP Data received {"connection_id":207938,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:47:00] local.INFO: Processing buffer {"connection_id":207938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:47:00] local.INFO: Packet analysis {"connection_id":207938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:47:00] local.INFO: Extracted packet for processing {"connection_id":207938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:47:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549624832001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791209773000,"timestamp_ms":1791209773000,"timestamp_seconds":1791209773,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6c17c8"} 
[2026-10-05 19:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19: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-10-05 19: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-10-05 19:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:47: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-10-05 19:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549624832001,"66":25278,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549624832001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:47:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:47:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549624832001,"power":25278,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":207938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:47:00] local.INFO: GPS data processed {"connection_id":207938,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:47:00] local.INFO: Acknowledgment sent {"connection_id":207938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:47:03] local.INFO: TCP Data received {"connection_id":204986,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204986,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:47:03] local.INFO: Processing buffer {"connection_id":204986,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:47:03] local.INFO: IMEI packet received {"connection_id":204986,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 19:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":204986,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:47:13] local.INFO: TCP Data received {"connection_id":204853,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:47:13] local.INFO: Processing buffer {"connection_id":204853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:47:13] local.INFO: IMEI packet received {"connection_id":204853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":204853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:47:14] local.INFO: TCP Data received {"connection_id":204853,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:47:14] local.INFO: Processing buffer {"connection_id":204853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:47:14] local.INFO: IMEI packet received {"connection_id":204853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":204853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:47:16] local.INFO: TCP Data received {"connection_id":204853,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6a8d40012d196600071feee8004101542a..."} 
[2026-10-05 19:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6a8d40012d196600071feee8004101542a..."} 
[2026-10-05 19:47:16] local.INFO: Processing buffer {"connection_id":204853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6a8d40012d196600071feee8004101542a..."} 
[2026-10-05 19:47:16] local.INFO: Packet analysis {"connection_id":204853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6a"} 
[2026-10-05 19:47:16] local.INFO: Extracted packet for processing {"connection_id":204853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6a"} 
[2026-10-05 19:47:16] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":65,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 19:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549598720001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-10-05 19:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791209672000,"timestamp_ms":1791209672000,"timestamp_seconds":1791209672,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6a8d40"} 
[2026-10-05 19:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:47: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-10-05 19:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 19:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1156,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549598720001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830854016614879232},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549598720001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:47:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:47:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-10-05 19:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549598720001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-10-05 19:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":204853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:47:16] local.INFO: GPS data processed {"connection_id":204853,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:47:16] local.INFO: Acknowledgment sent {"connection_id":204853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:47:20] local.INFO: TCP Data received {"connection_id":204853,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6a8d40012d196600071feee8004101542a..."} 
[2026-10-05 19:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6a8d40012d196600071feee8004101542a..."} 
[2026-10-05 19:47:20] local.INFO: Processing buffer {"connection_id":204853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6a8d40012d196600071feee8004101542a..."} 
[2026-10-05 19:47:20] local.INFO: Packet analysis {"connection_id":204853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6a"} 
[2026-10-05 19:47:20] local.INFO: Extracted packet for processing {"connection_id":204853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6a"} 
[2026-10-05 19:47:20] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":65,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 19:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549598720001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-10-05 19:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791209672000,"timestamp_ms":1791209672000,"timestamp_seconds":1791209672,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6a8d40"} 
[2026-10-05 19:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 19:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1156,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":204853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":204853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":204853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549598720001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830854016614879232},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549598720001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:47:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:47:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-10-05 19:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549598720001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-10-05 19:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":204853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:47:20] local.INFO: GPS data processed {"connection_id":204853,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:47:20] local.INFO: Acknowledgment sent {"connection_id":204853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:47:31] local.INFO: TCP Data received {"connection_id":207938,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:47:31] local.INFO: Processing buffer {"connection_id":207938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:47:31] local.INFO: Packet analysis {"connection_id":207938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:47:31] local.INFO: Extracted packet for processing {"connection_id":207938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:47:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549624832001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791209773000,"timestamp_ms":1791209773000,"timestamp_seconds":1791209773,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6c17c8"} 
[2026-10-05 19:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-05 19:47: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-10-05 19: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-10-05 19:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549624832001,"66":25278,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549624832001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:47:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:47:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549624832001,"power":25278,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":207938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:47:31] local.INFO: GPS data processed {"connection_id":207938,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:47:31] local.INFO: Acknowledgment sent {"connection_id":207938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:47:35] local.INFO: TCP Data received {"connection_id":207939,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:47:35] local.INFO: Processing buffer {"connection_id":207939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:47:35] local.INFO: IMEI packet received {"connection_id":207939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":207939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:47:39] local.INFO: TCP Data received {"connection_id":206375,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:47:39] local.INFO: Processing buffer {"connection_id":206375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:47:39] local.INFO: IMEI packet received {"connection_id":206375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 19:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":206375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:47:41] local.INFO: TCP Data received {"connection_id":207939,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:47:41] local.INFO: Processing buffer {"connection_id":207939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:47:41] local.INFO: IMEI packet received {"connection_id":207939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":207939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:47:43] local.INFO: TCP Data received {"connection_id":207939,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:47:43] local.INFO: Processing buffer {"connection_id":207939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:47:43] local.INFO: Packet analysis {"connection_id":207939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:47:43] local.INFO: Extracted packet for processing {"connection_id":207939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:47:43] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549629952001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791209793000,"timestamp_ms":1791209793000,"timestamp_seconds":1791209793,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6c65e8"} 
[2026-10-05 19:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-05 19:47:43] 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-10-05 19: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-10-05 19:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:47:43] 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-10-05 19:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549629952001,"66":12624,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549629952001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:47:43] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:47:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549629952001,"power":12624,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":207939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:47:43] local.INFO: GPS data processed {"connection_id":207939,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:47:43] local.INFO: Acknowledgment sent {"connection_id":207939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:47:45] local.INFO: TCP Data received {"connection_id":207939,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:47:45] local.INFO: Processing buffer {"connection_id":207939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:47:45] local.INFO: Packet analysis {"connection_id":207939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:47:45] local.INFO: Extracted packet for processing {"connection_id":207939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:47:45] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549629952001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791209793000,"timestamp_ms":1791209793000,"timestamp_seconds":1791209793,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6c65e8"} 
[2026-10-05 19:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-05 19:47:45] 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-10-05 19:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":207939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":207939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":207939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549629952001,"66":12624,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549629952001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:47:45] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:47:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549629952001,"power":12624,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":207939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969636,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:47:46] local.INFO: GPS data processed {"connection_id":207939,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:47:46] local.INFO: Acknowledgment sent {"connection_id":207939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:47:54] local.INFO: TCP Data received {"connection_id":206376,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:47:54] local.INFO: Processing buffer {"connection_id":206376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:47:54] local.INFO: IMEI packet received {"connection_id":206376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":206376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:47:59] local.INFO: TCP Data received {"connection_id":206376,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:47:59] local.INFO: Processing buffer {"connection_id":206376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:47:59] local.INFO: IMEI packet received {"connection_id":206376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":206376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:48:00] local.INFO: TCP Data received {"connection_id":206376,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:48:00] local.INFO: Processing buffer {"connection_id":206376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:48:00] local.INFO: Packet analysis {"connection_id":206376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:48:00] local.INFO: Extracted packet for processing {"connection_id":206376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:48:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549624832001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791209773000,"timestamp_ms":1791209773000,"timestamp_seconds":1791209773,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6c17c8"} 
[2026-10-05 19:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-05 19:48: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-10-05 19: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-10-05 19:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:48: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-10-05 19:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549624832001,"66":25278,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549624832001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:48:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:48:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549624832001,"power":25278,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":206376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:48:00] local.INFO: GPS data processed {"connection_id":206376,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:48:00] local.INFO: Acknowledgment sent {"connection_id":206376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:48:05] local.INFO: TCP Data received {"connection_id":206377,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:48:05] local.INFO: Processing buffer {"connection_id":206377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:48:05] local.INFO: IMEI packet received {"connection_id":206377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":206377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:48:10] local.INFO: TCP Data received {"connection_id":206377,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:48:10] local.INFO: Processing buffer {"connection_id":206377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:48:10] local.INFO: IMEI packet received {"connection_id":206377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":206377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:48:12] local.INFO: TCP Data received {"connection_id":206377,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6a8d40012d196600071feee8004101542a..."} 
[2026-10-05 19:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6a8d40012d196600071feee8004101542a..."} 
[2026-10-05 19:48:12] local.INFO: Processing buffer {"connection_id":206377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6a8d40012d196600071feee8004101542a..."} 
[2026-10-05 19:48:12] local.INFO: Packet analysis {"connection_id":206377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6a"} 
[2026-10-05 19:48:12] local.INFO: Extracted packet for processing {"connection_id":206377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6a"} 
[2026-10-05 19:48:12] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":65,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 19:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549598720001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-10-05 19:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791209672000,"timestamp_ms":1791209672000,"timestamp_seconds":1791209672,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6a8d40"} 
[2026-10-05 19:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:48: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-10-05 19:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 19:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1156,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":206377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":206377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":206377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549598720001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830854016614879232},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549598720001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:48:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:48:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-10-05 19:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549598720001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-10-05 19:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":206377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:48:12] local.INFO: GPS data processed {"connection_id":206377,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:48:12] local.INFO: Acknowledgment sent {"connection_id":206377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:48:16] local.INFO: TCP Data received {"connection_id":206377,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6a8d40012d196600071feee8004101542a..."} 
[2026-10-05 19:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6a8d40012d196600071feee8004101542a..."} 
[2026-10-05 19:48:16] local.INFO: Processing buffer {"connection_id":206377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6a8d40012d196600071feee8004101542a..."} 
[2026-10-05 19:48:16] local.INFO: Packet analysis {"connection_id":206377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6a"} 
[2026-10-05 19:48:16] local.INFO: Extracted packet for processing {"connection_id":206377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6a"} 
[2026-10-05 19:48:16] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":65,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 19:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549598720001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-10-05 19:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791209672000,"timestamp_ms":1791209672000,"timestamp_seconds":1791209672,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6a8d40"} 
[2026-10-05 19:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:48: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-10-05 19:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 19:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1156,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":206377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":206377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":206377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549598720001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830854016614879232},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549598720001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:48:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:48:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-10-05 19:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549598720001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-10-05 19:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":206377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:48:16] local.INFO: GPS data processed {"connection_id":206377,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:48:16] local.INFO: Acknowledgment sent {"connection_id":206377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:48:30] local.INFO: TCP Data received {"connection_id":204854,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:48:30] local.INFO: Processing buffer {"connection_id":204854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:48:30] local.INFO: IMEI packet received {"connection_id":204854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":204854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:48:31] local.INFO: TCP Data received {"connection_id":206376,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:48:31] local.INFO: Processing buffer {"connection_id":206376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:48:31] local.INFO: Packet analysis {"connection_id":206376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:48:31] local.INFO: Extracted packet for processing {"connection_id":206376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:48:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549624832001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791209773000,"timestamp_ms":1791209773000,"timestamp_seconds":1791209773,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6c17c8"} 
[2026-10-05 19:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-05 19:48: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-10-05 19: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-10-05 19:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549624832001,"66":25278,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549624832001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:48:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:48:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549624832001,"power":25278,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":206376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:48:31] local.INFO: GPS data processed {"connection_id":206376,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:48:31] local.INFO: Acknowledgment sent {"connection_id":206376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:48:35] local.INFO: TCP Data received {"connection_id":204854,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:48:35] local.INFO: Processing buffer {"connection_id":204854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:48:35] local.INFO: IMEI packet received {"connection_id":204854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":204854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:48:38] local.INFO: TCP Data received {"connection_id":204854,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:48:38] local.INFO: Processing buffer {"connection_id":204854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:48:38] local.INFO: Packet analysis {"connection_id":204854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:48:38] local.INFO: Extracted packet for processing {"connection_id":204854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:48:38] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549629952001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791209793000,"timestamp_ms":1791209793000,"timestamp_seconds":1791209793,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6c65e8"} 
[2026-10-05 19:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-05 19:48:38] 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-10-05 19:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:48:38] 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-10-05 19:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549629952001,"66":12624,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549629952001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:48:38] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:48:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549629952001,"power":12624,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":204854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:48:38] local.INFO: GPS data processed {"connection_id":204854,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:48:38] local.INFO: Acknowledgment sent {"connection_id":204854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:48:54] local.INFO: TCP Data received {"connection_id":204987,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:48:54] local.INFO: Processing buffer {"connection_id":204987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:48:54] local.INFO: IMEI packet received {"connection_id":204987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":204987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:48:59] local.INFO: TCP Data received {"connection_id":204987,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:48:59] local.INFO: Processing buffer {"connection_id":204987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:48:59] local.INFO: IMEI packet received {"connection_id":204987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":204987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:49:00] local.INFO: TCP Data received {"connection_id":204987,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:49:00] local.INFO: Processing buffer {"connection_id":204987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:49:00] local.INFO: Packet analysis {"connection_id":204987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:49:00] local.INFO: Extracted packet for processing {"connection_id":204987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:49:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549624832001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791209773000,"timestamp_ms":1791209773000,"timestamp_seconds":1791209773,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6c17c8"} 
[2026-10-05 19:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-05 19:49: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-10-05 19:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549624832001,"66":25278,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549624832001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:49:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:49:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549624832001,"power":25278,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":204987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:49:00] local.INFO: GPS data processed {"connection_id":204987,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:49:00] local.INFO: Acknowledgment sent {"connection_id":204987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:49:04] local.INFO: TCP Data received {"connection_id":204855,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:49:04] local.INFO: Processing buffer {"connection_id":204855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:49:04] local.INFO: IMEI packet received {"connection_id":204855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":204855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:49:10] local.INFO: TCP Data received {"connection_id":204854,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:49:10] local.INFO: Processing buffer {"connection_id":204854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:49:10] local.INFO: Packet analysis {"connection_id":204854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:49:10] local.INFO: Extracted packet for processing {"connection_id":204854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:49:10] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549629952001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791209793000,"timestamp_ms":1791209793000,"timestamp_seconds":1791209793,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6c65e8"} 
[2026-10-05 19:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-05 19:49:10] 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-10-05 19: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-10-05 19:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:49:10] 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-10-05 19:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549629952001,"66":12624,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549629952001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:49:10] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:49:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549629952001,"power":12624,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":204854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:49:10] local.INFO: GPS data processed {"connection_id":204854,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:49:10] local.INFO: Acknowledgment sent {"connection_id":204854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:49:10] local.INFO: TCP Data received {"connection_id":204855,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:49:10] local.INFO: Processing buffer {"connection_id":204855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:49:10] local.INFO: IMEI packet received {"connection_id":204855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":204855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:49:28] local.INFO: TCP Data received {"connection_id":204855,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6a8d40012d196600071feee8004101542a..."} 
[2026-10-05 19:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6a8d40012d196600071feee8004101542a..."} 
[2026-10-05 19:49:28] local.INFO: Processing buffer {"connection_id":204855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6a8d40012d196600071feee8004101542a..."} 
[2026-10-05 19:49:28] local.INFO: Packet analysis {"connection_id":204855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6a"} 
[2026-10-05 19:49:28] local.INFO: Extracted packet for processing {"connection_id":204855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6a"} 
[2026-10-05 19:49:28] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":65,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549598720001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-10-05 19:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1791209672000,"timestamp_ms":1791209672000,"timestamp_seconds":1791209672,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6a8d40"} 
[2026-10-05 19:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:49: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-10-05 19: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":17,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 19:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1156,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":204855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":204855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":204855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549598720001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830854016614879232},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549598720001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:49:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:49:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-10-05 19:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549598720001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-10-05 19:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":204855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:49:28] local.INFO: GPS data processed {"connection_id":204855,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:49:28] local.INFO: Acknowledgment sent {"connection_id":204855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:49:30] local.INFO: TCP Data received {"connection_id":204856,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204856,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:49:30] local.INFO: Processing buffer {"connection_id":204856,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:49:30] local.INFO: IMEI packet received {"connection_id":204856,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":204856,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:49:31] local.INFO: TCP Data received {"connection_id":204987,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:49:31] local.INFO: Processing buffer {"connection_id":204987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:49:31] local.INFO: Packet analysis {"connection_id":204987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:49:31] local.INFO: Extracted packet for processing {"connection_id":204987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:49:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549624832001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791209773000,"timestamp_ms":1791209773000,"timestamp_seconds":1791209773,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6c17c8"} 
[2026-10-05 19:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-05 19:49: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-10-05 19: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-10-05 19:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549624832001,"66":25278,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549624832001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:49:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:49:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549624832001,"power":25278,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":204987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:49:31] local.INFO: GPS data processed {"connection_id":204987,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:49:31] local.INFO: Acknowledgment sent {"connection_id":204987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:49:37] local.INFO: TCP Data received {"connection_id":204856,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204856,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:49:37] local.INFO: Processing buffer {"connection_id":204856,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:49:37] local.INFO: IMEI packet received {"connection_id":204856,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":204856,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:49:40] local.INFO: TCP Data received {"connection_id":204856,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:49:40] local.INFO: Processing buffer {"connection_id":204856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:49:40] local.INFO: Packet analysis {"connection_id":204856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:49:40] local.INFO: Extracted packet for processing {"connection_id":204856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:49:40] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549629952001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791209793000,"timestamp_ms":1791209793000,"timestamp_seconds":1791209793,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6c65e8"} 
[2026-10-05 19:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-05 19:49:40] 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-10-05 19:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:49: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-10-05 19:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549629952001,"66":12624,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549629952001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:49:40] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:49:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549629952001,"power":12624,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":204856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:49:40] local.INFO: GPS data processed {"connection_id":204856,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:49:40] local.INFO: Acknowledgment sent {"connection_id":204856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:49:59] local.INFO: TCP Data received {"connection_id":204988,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:49:59] local.INFO: Processing buffer {"connection_id":204988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:49:59] local.INFO: IMEI packet received {"connection_id":204988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":204988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:50:04] local.INFO: TCP Data received {"connection_id":204988,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:50:04] local.INFO: Processing buffer {"connection_id":204988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:50:04] local.INFO: IMEI packet received {"connection_id":204988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":204988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:50:05] local.INFO: TCP Data received {"connection_id":204988,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:50:05] local.INFO: Processing buffer {"connection_id":204988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:50:05] local.INFO: Packet analysis {"connection_id":204988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:50:05] local.INFO: Extracted packet for processing {"connection_id":204988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:50:05] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549624832001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791209773000,"timestamp_ms":1791209773000,"timestamp_seconds":1791209773,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6c17c8"} 
[2026-10-05 19:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-05 19:50: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-10-05 19: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-10-05 19:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:50:05] 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-10-05 19:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549624832001,"66":25278,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549624832001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:50:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:50:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549624832001,"power":25278,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":204988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:50:05] local.INFO: GPS data processed {"connection_id":204988,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:50:05] local.INFO: Acknowledgment sent {"connection_id":204988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:50:09] local.INFO: TCP Data received {"connection_id":204988,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:50:09] local.INFO: Processing buffer {"connection_id":204988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:50:09] local.INFO: Packet analysis {"connection_id":204988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:50:09] local.INFO: Extracted packet for processing {"connection_id":204988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:50:09] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549624832001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791209773000,"timestamp_ms":1791209773000,"timestamp_seconds":1791209773,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6c17c8"} 
[2026-10-05 19:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-05 19:50:09] 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-10-05 19: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-10-05 19:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549624832001,"66":25278,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549624832001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:50:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:50:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549624832001,"power":25278,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":204988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:50:09] local.INFO: GPS data processed {"connection_id":204988,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:50:09] local.INFO: Acknowledgment sent {"connection_id":204988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:50:11] local.INFO: TCP Data received {"connection_id":204989,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:50:11] local.INFO: Processing buffer {"connection_id":204989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:50:11] local.INFO: IMEI packet received {"connection_id":204989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":204989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:50:12] local.INFO: TCP Data received {"connection_id":204856,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:50:12] local.INFO: Processing buffer {"connection_id":204856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:50:12] local.INFO: Packet analysis {"connection_id":204856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:50:12] local.INFO: Extracted packet for processing {"connection_id":204856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:50:12] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549629952001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791209793000,"timestamp_ms":1791209793000,"timestamp_seconds":1791209793,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6c65e8"} 
[2026-10-05 19:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-05 19:50:12] 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-10-05 19:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:50:12] 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-10-05 19:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549629952001,"66":12624,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549629952001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:50:12] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:50:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549629952001,"power":12624,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":204856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:50:12] local.INFO: GPS data processed {"connection_id":204856,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:50:12] local.INFO: Acknowledgment sent {"connection_id":204856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:50:16] local.INFO: TCP Data received {"connection_id":204989,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:50:16] local.INFO: Processing buffer {"connection_id":204989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:50:16] local.INFO: IMEI packet received {"connection_id":204989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":204989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:50:22] local.INFO: TCP Data received {"connection_id":204989,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6f2508012d196600071feee80041015429..."} 
[2026-10-05 19:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6f2508012d196600071feee80041015429..."} 
[2026-10-05 19:50:22] local.INFO: Processing buffer {"connection_id":204989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6f2508012d196600071feee80041015429..."} 
[2026-10-05 19:50:22] local.INFO: Packet analysis {"connection_id":204989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6f"} 
[2026-10-05 19:50:22] local.INFO: Extracted packet for processing {"connection_id":204989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6f"} 
[2026-10-05 19:50:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":65,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549676032001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 19:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791209973000,"timestamp_ms":1791209973000,"timestamp_seconds":1791209973,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6f2508"} 
[2026-10-05 19:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 19:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":204989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":204989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":204989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549676032001,"66":2177,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549676032001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:50:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:50:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 19:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549676032001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 19:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":204989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:50:22] local.INFO: GPS data processed {"connection_id":204989,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:50:22] local.INFO: Acknowledgment sent {"connection_id":204989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:50:24] local.INFO: TCP Data received {"connection_id":204989,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6f2508012d196600071feee80041015429..."} 
[2026-10-05 19:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6f2508012d196600071feee80041015429..."} 
[2026-10-05 19:50:24] local.INFO: Processing buffer {"connection_id":204989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6f2508012d196600071feee80041015429..."} 
[2026-10-05 19:50:24] local.INFO: Packet analysis {"connection_id":204989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6f"} 
[2026-10-05 19:50:24] local.INFO: Extracted packet for processing {"connection_id":204989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6f"} 
[2026-10-05 19:50:24] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":65,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 19:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549676032001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 19:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1791209973000,"timestamp_ms":1791209973000,"timestamp_seconds":1791209973,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6f2508"} 
[2026-10-05 19:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 19:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":204989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":204989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":204989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549676032001,"66":2177,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549676032001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:50:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:50:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 19:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549676032001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 19:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":204989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:50:24] local.INFO: GPS data processed {"connection_id":204989,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:50:24] local.INFO: Acknowledgment sent {"connection_id":204989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:50:30] local.INFO: TCP Data received {"connection_id":206379,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:50:30] local.INFO: Processing buffer {"connection_id":206379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:50:30] local.INFO: IMEI packet received {"connection_id":206379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":206379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:50:35] local.INFO: TCP Data received {"connection_id":206379,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:50:35] local.INFO: Processing buffer {"connection_id":206379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:50:35] local.INFO: IMEI packet received {"connection_id":206379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":206379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:50:38] local.INFO: TCP Data received {"connection_id":206379,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:50:38] local.INFO: Processing buffer {"connection_id":206379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:50:38] local.INFO: Packet analysis {"connection_id":206379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:50:38] local.INFO: Extracted packet for processing {"connection_id":206379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:50:38] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549629952001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791209793000,"timestamp_ms":1791209793000,"timestamp_seconds":1791209793,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6c65e8"} 
[2026-10-05 19:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-05 19:50:38] 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-10-05 19:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":206379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":206379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":206379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:50:38] 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-10-05 19:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549629952001,"66":12624,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549629952001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:50:38] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:50:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549629952001,"power":12624,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":206379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969652,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:50:38] local.INFO: GPS data processed {"connection_id":206379,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:50:38] local.INFO: Acknowledgment sent {"connection_id":206379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:50:54] local.INFO: TCP Data received {"connection_id":204858,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:50:54] local.INFO: Processing buffer {"connection_id":204858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:50:54] local.INFO: IMEI packet received {"connection_id":204858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":204858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:50:59] local.INFO: TCP Data received {"connection_id":204858,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:50:59] local.INFO: Processing buffer {"connection_id":204858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:50:59] local.INFO: IMEI packet received {"connection_id":204858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":204858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:51:00] local.INFO: TCP Data received {"connection_id":204858,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:51:00] local.INFO: Processing buffer {"connection_id":204858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:51:00] local.INFO: Packet analysis {"connection_id":204858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:51:00] local.INFO: Extracted packet for processing {"connection_id":204858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:51:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549624832001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791209773000,"timestamp_ms":1791209773000,"timestamp_seconds":1791209773,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6c17c8"} 
[2026-10-05 19:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-05 19:51: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-10-05 19: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-10-05 19:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:51: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-10-05 19:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549624832001,"66":25278,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549624832001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:51:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:51:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549624832001,"power":25278,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":204858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:51:00] local.INFO: GPS data processed {"connection_id":204858,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:51:00] local.INFO: Acknowledgment sent {"connection_id":204858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:51:07] local.INFO: TCP Data received {"connection_id":207940,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:51:07] local.INFO: Processing buffer {"connection_id":207940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:51:07] local.INFO: IMEI packet received {"connection_id":207940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":207940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:51:09] local.INFO: TCP Data received {"connection_id":206379,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:51:09] local.INFO: Processing buffer {"connection_id":206379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6c65e8012d7a1a0005e46910000b01212b..."} 
[2026-10-05 19:51:09] local.INFO: Packet analysis {"connection_id":206379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:51:09] local.INFO: Extracted packet for processing {"connection_id":206379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:51:09] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549629952001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791209793000,"timestamp_ms":1791209793000,"timestamp_seconds":1791209793,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6c65e8"} 
[2026-10-05 19:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-05 19:51:09] 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-10-05 19:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":206379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":206379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":206379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549629952001,"66":12624,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549629952001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:51:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:51:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549629952001,"power":12624,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":206379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969654,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:51:09] local.INFO: GPS data processed {"connection_id":206379,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:51:09] local.INFO: Acknowledgment sent {"connection_id":206379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:51:09] local.INFO: TCP Data received {"connection_id":207940,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:51:09] local.INFO: Processing buffer {"connection_id":207940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:51:09] local.INFO: IMEI packet received {"connection_id":207940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":207940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:51:15] local.INFO: TCP Data received {"connection_id":207940,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6f2508012d196600071feee80041015429..."} 
[2026-10-05 19:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6f2508012d196600071feee80041015429..."} 
[2026-10-05 19:51:15] local.INFO: Processing buffer {"connection_id":207940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6f2508012d196600071feee80041015429..."} 
[2026-10-05 19:51:15] local.INFO: Packet analysis {"connection_id":207940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6f"} 
[2026-10-05 19:51:15] local.INFO: Extracted packet for processing {"connection_id":207940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6f"} 
[2026-10-05 19:51:15] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":65,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549676032001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 19:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791209973000,"timestamp_ms":1791209973000,"timestamp_seconds":1791209973,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6f2508"} 
[2026-10-05 19:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 19:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549676032001,"66":2177,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549676032001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:51:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:51:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 19:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549676032001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 19:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":207940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:51:15] local.INFO: GPS data processed {"connection_id":207940,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:51:15] local.INFO: Acknowledgment sent {"connection_id":207940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:51:17] local.INFO: TCP Data received {"connection_id":207940,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6f2508012d196600071feee80041015429..."} 
[2026-10-05 19:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6f2508012d196600071feee80041015429..."} 
[2026-10-05 19:51:17] local.INFO: Processing buffer {"connection_id":207940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6f2508012d196600071feee80041015429..."} 
[2026-10-05 19:51:17] local.INFO: Packet analysis {"connection_id":207940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6f"} 
[2026-10-05 19:51:17] local.INFO: Extracted packet for processing {"connection_id":207940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6f"} 
[2026-10-05 19:51:17] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":65,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 19:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549676032001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 19:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791209973000,"timestamp_ms":1791209973000,"timestamp_seconds":1791209973,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6f2508"} 
[2026-10-05 19:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 19:51:17] 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-10-05 19:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":207940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":207940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":207940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549676032001,"66":2177,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549676032001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:51:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:51:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 19:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549676032001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 19:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":207940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:51:18] local.INFO: GPS data processed {"connection_id":207940,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:51:18] local.INFO: Acknowledgment sent {"connection_id":207940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:51:31] local.INFO: TCP Data received {"connection_id":204858,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:51:31] local.INFO: Processing buffer {"connection_id":204858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6c17c8012d7ee58006003208000b00d72f..."} 
[2026-10-05 19:51:31] local.INFO: Packet analysis {"connection_id":204858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:51:31] local.INFO: Extracted packet for processing {"connection_id":204858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6c"} 
[2026-10-05 19:51:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549624832001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791209773000,"timestamp_ms":1791209773000,"timestamp_seconds":1791209773,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6c17c8"} 
[2026-10-05 19:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-05 19:51: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-10-05 19: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-10-05 19:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549624832001,"66":25278,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549624832001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:51:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:51:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549624832001,"power":25278,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":204858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:51:31] local.INFO: GPS data processed {"connection_id":204858,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:51:31] local.INFO: Acknowledgment sent {"connection_id":204858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:51:36] local.INFO: TCP Data received {"connection_id":204991,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:51:36] local.INFO: Processing buffer {"connection_id":204991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:51:36] local.INFO: IMEI packet received {"connection_id":204991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":204991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:51:36] local.INFO: TCP Data received {"connection_id":204991,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:51:36] local.INFO: Processing buffer {"connection_id":204991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:51:36] local.INFO: IMEI packet received {"connection_id":204991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":204991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:51:40] local.INFO: TCP Data received {"connection_id":204991,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:51:40] local.INFO: Processing buffer {"connection_id":204991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:51:40] local.INFO: IMEI packet received {"connection_id":204991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":204991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:51:42] local.INFO: TCP Data received {"connection_id":204991,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10c70fdb0012d7a1a0005e46910000b012129..."} 
[2026-10-05 19:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c70fdb0012d7a1a0005e46910000b012129..."} 
[2026-10-05 19:51:42] local.INFO: Processing buffer {"connection_id":204991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c70fdb0012d7a1a0005e46910000b012129..."} 
[2026-10-05 19:51:42] local.INFO: Packet analysis {"connection_id":204991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c70"} 
[2026-10-05 19:51:42] local.INFO: Extracted packet for processing {"connection_id":204991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c70"} 
[2026-10-05 19:51:42] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:51: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-10-05 19:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549707008001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791210094000,"timestamp_ms":1791210094000,"timestamp_seconds":1791210094,"priority":1,"record_length":96,"hex_timestamp":"000001a10c70fdb0"} 
[2026-10-05 19:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 19:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:51: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-10-05 19:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:51:42] 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-10-05 19:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549707008001,"66":12667,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549707008001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:51:42] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:51:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549707008001,"power":12667,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":204991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:51:42] local.INFO: GPS data processed {"connection_id":204991,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:51:42] local.INFO: Acknowledgment sent {"connection_id":204991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:51:46] local.INFO: TCP Data received {"connection_id":204991,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a10c70fdb0012d7a1a0005e46910000b012129..."} 
[2026-10-05 19:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c70fdb0012d7a1a0005e46910000b012129..."} 
[2026-10-05 19:51:46] local.INFO: Processing buffer {"connection_id":204991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c70fdb0012d7a1a0005e46910000b012129..."} 
[2026-10-05 19:51:46] local.INFO: Packet analysis {"connection_id":204991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c70"} 
[2026-10-05 19:51:46] local.INFO: Extracted packet for processing {"connection_id":204991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c70"} 
[2026-10-05 19:51:46] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:51: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-10-05 19:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549707008001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791210094000,"timestamp_ms":1791210094000,"timestamp_seconds":1791210094,"priority":1,"record_length":96,"hex_timestamp":"000001a10c70fdb0"} 
[2026-10-05 19:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 19:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:51: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-10-05 19:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:51:46] 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-10-05 19:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549707008001,"66":12667,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549707008001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:51:46] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:51:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549707008001,"power":12667,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":204991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:51:46] local.INFO: GPS data processed {"connection_id":204991,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:51:46] local.INFO: Acknowledgment sent {"connection_id":204991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:51:52] local.INFO: TCP Data received {"connection_id":206380,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:51:52] local.INFO: Processing buffer {"connection_id":206380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:51:52] local.INFO: IMEI packet received {"connection_id":206380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":206380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:51:54] local.INFO: TCP Data received {"connection_id":206380,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:51:54] local.INFO: Processing buffer {"connection_id":206380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:51:54] local.INFO: IMEI packet received {"connection_id":206380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":206380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:51:57] local.INFO: TCP Data received {"connection_id":207940,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c6f2508012d196600071feee80041015429..."} 
[2026-10-05 19:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c6f2508012d196600071feee80041015429..."} 
[2026-10-05 19:51:57] local.INFO: Processing buffer {"connection_id":207940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c6f2508012d196600071feee80041015429..."} 
[2026-10-05 19:51:57] local.INFO: Packet analysis {"connection_id":207940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c6f"} 
[2026-10-05 19:51:57] local.INFO: Extracted packet for processing {"connection_id":207940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c6f"} 
[2026-10-05 19:51:57] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":65,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549676032001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 19:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1791209973000,"timestamp_ms":1791209973000,"timestamp_seconds":1791209973,"priority":1,"record_length":96,"hex_timestamp":"000001a10c6f2508"} 
[2026-10-05 19:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:51:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 19:51: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-10-05 19:51:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":207940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":207940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":207940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549676032001,"66":2177,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549676032001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:51:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:51:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 19:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549676032001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 19:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":207940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:51:57] local.INFO: GPS data processed {"connection_id":207940,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:51:57] local.INFO: Acknowledgment sent {"connection_id":207940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:51:59] local.INFO: TCP Data received {"connection_id":206380,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:51:59] local.INFO: Processing buffer {"connection_id":206380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:51:59] local.INFO: IMEI packet received {"connection_id":206380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":206380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:52:00] local.INFO: TCP Data received {"connection_id":206380,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c70af90012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c70af90012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:52:00] local.INFO: Processing buffer {"connection_id":206380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c70af90012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:52:00] local.INFO: Packet analysis {"connection_id":206380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c70"} 
[2026-10-05 19:52:00] local.INFO: Extracted packet for processing {"connection_id":206380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c70"} 
[2026-10-05 19:52:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549701888001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791210074000,"timestamp_ms":1791210074000,"timestamp_seconds":1791210074,"priority":1,"record_length":96,"hex_timestamp":"000001a10c70af90"} 
[2026-10-05 19:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-10-05 19:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:52: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-10-05 19:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549701888001,"66":25191,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549701888001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:52:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:52:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549701888001,"power":25191,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":206380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:52:00] local.INFO: GPS data processed {"connection_id":206380,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:52:00] local.INFO: Acknowledgment sent {"connection_id":206380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:52:15] local.INFO: TCP Data received {"connection_id":207941,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:52:15] local.INFO: Processing buffer {"connection_id":207941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:52:15] local.INFO: IMEI packet received {"connection_id":207941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":207941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:52:22] local.INFO: TCP Data received {"connection_id":207941,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:52:22] local.INFO: Processing buffer {"connection_id":207941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:52:22] local.INFO: IMEI packet received {"connection_id":207941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":207941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:52:23] local.INFO: TCP Data received {"connection_id":207941,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:52:23] local.INFO: Processing buffer {"connection_id":207941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:52:23] local.INFO: IMEI packet received {"connection_id":207941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":207941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:52:24] local.INFO: TCP Data received {"connection_id":207941,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:52:24] local.INFO: Processing buffer {"connection_id":207941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:52:24] local.INFO: IMEI packet received {"connection_id":207941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":207941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:52:31] local.INFO: TCP Data received {"connection_id":206380,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c70af90012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c70af90012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:52:31] local.INFO: Processing buffer {"connection_id":206380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c70af90012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:52:31] local.INFO: Packet analysis {"connection_id":206380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c70"} 
[2026-10-05 19:52:31] local.INFO: Extracted packet for processing {"connection_id":206380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c70"} 
[2026-10-05 19:52:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549701888001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791210074000,"timestamp_ms":1791210074000,"timestamp_seconds":1791210074,"priority":1,"record_length":96,"hex_timestamp":"000001a10c70af90"} 
[2026-10-05 19:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-10-05 19:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549701888001,"66":25191,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549701888001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:52:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:52:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549701888001,"power":25191,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":206380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:52:31] local.INFO: GPS data processed {"connection_id":206380,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:52:31] local.INFO: Acknowledgment sent {"connection_id":206380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:52:35] local.INFO: TCP Data received {"connection_id":204859,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:52:35] local.INFO: Processing buffer {"connection_id":204859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:52:35] local.INFO: IMEI packet received {"connection_id":204859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":204859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:52:40] local.INFO: TCP Data received {"connection_id":204859,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:52:40] local.INFO: Processing buffer {"connection_id":204859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:52:40] local.INFO: IMEI packet received {"connection_id":204859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":204859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:52:42] local.INFO: TCP Data received {"connection_id":204859,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a10c70fdb0012d7a1a0005e46910000b012129..."} 
[2026-10-05 19:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c70fdb0012d7a1a0005e46910000b012129..."} 
[2026-10-05 19:52:42] local.INFO: Processing buffer {"connection_id":204859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c70fdb0012d7a1a0005e46910000b012129..."} 
[2026-10-05 19:52:42] local.INFO: Packet analysis {"connection_id":204859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c70"} 
[2026-10-05 19:52:42] local.INFO: Extracted packet for processing {"connection_id":204859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c70"} 
[2026-10-05 19:52:42] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:52: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-10-05 19:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549707008001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791210094000,"timestamp_ms":1791210094000,"timestamp_seconds":1791210094,"priority":1,"record_length":96,"hex_timestamp":"000001a10c70fdb0"} 
[2026-10-05 19:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 19:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:52: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-10-05 19:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549707008001,"66":12667,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549707008001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:52:42] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:52:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549707008001,"power":12667,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":204859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:52:42] local.INFO: GPS data processed {"connection_id":204859,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:52:42] local.INFO: Acknowledgment sent {"connection_id":204859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:52:46] local.INFO: TCP Data received {"connection_id":204859,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a10c70fdb0012d7a1a0005e46910000b012129..."} 
[2026-10-05 19:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c70fdb0012d7a1a0005e46910000b012129..."} 
[2026-10-05 19:52:46] local.INFO: Processing buffer {"connection_id":204859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c70fdb0012d7a1a0005e46910000b012129..."} 
[2026-10-05 19:52:46] local.INFO: Packet analysis {"connection_id":204859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c70"} 
[2026-10-05 19:52:46] local.INFO: Extracted packet for processing {"connection_id":204859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c70"} 
[2026-10-05 19:52:46] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549707008001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791210094000,"timestamp_ms":1791210094000,"timestamp_seconds":1791210094,"priority":1,"record_length":96,"hex_timestamp":"000001a10c70fdb0"} 
[2026-10-05 19:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 19:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549707008001,"66":12667,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549707008001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:52:46] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:52:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549707008001,"power":12667,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":204859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969664,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:52:46] local.INFO: GPS data processed {"connection_id":204859,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:52:46] local.INFO: Acknowledgment sent {"connection_id":204859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:52:54] local.INFO: TCP Data received {"connection_id":207942,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:52:54] local.INFO: Processing buffer {"connection_id":207942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:52:54] local.INFO: IMEI packet received {"connection_id":207942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":207942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:52:58] local.INFO: TCP Data received {"connection_id":206381,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:52:58] local.INFO: Processing buffer {"connection_id":206381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:52:58] local.INFO: IMEI packet received {"connection_id":206381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 19:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":206381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:52:59] local.INFO: TCP Data received {"connection_id":207942,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:52:59] local.INFO: Processing buffer {"connection_id":207942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:52:59] local.INFO: IMEI packet received {"connection_id":207942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":207942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:53:00] local.INFO: TCP Data received {"connection_id":207942,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c70af90012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c70af90012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:53:00] local.INFO: Processing buffer {"connection_id":207942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c70af90012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:53:00] local.INFO: Packet analysis {"connection_id":207942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c70"} 
[2026-10-05 19:53:00] local.INFO: Extracted packet for processing {"connection_id":207942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c70"} 
[2026-10-05 19:53:00] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549701888001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791210074000,"timestamp_ms":1791210074000,"timestamp_seconds":1791210074,"priority":1,"record_length":96,"hex_timestamp":"000001a10c70af90"} 
[2026-10-05 19:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-10-05 19:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:53: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-10-05 19:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549701888001,"66":25191,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549701888001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:53:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:53:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549701888001,"power":25191,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":207942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:53:00] local.INFO: GPS data processed {"connection_id":207942,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:53:00] local.INFO: Acknowledgment sent {"connection_id":207942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:53:31] local.INFO: TCP Data received {"connection_id":204860,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:53:31] local.INFO: Processing buffer {"connection_id":204860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:53:31] local.INFO: IMEI packet received {"connection_id":204860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":204860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:53:31] local.INFO: TCP Data received {"connection_id":207942,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c71d870012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c71d870012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:53:31] local.INFO: Processing buffer {"connection_id":207942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c71d870012d7ee58006003208000b00d72e..."} 
[2026-10-05 19:53:31] local.INFO: Packet analysis {"connection_id":207942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c71"} 
[2026-10-05 19:53:31] local.INFO: Extracted packet for processing {"connection_id":207942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c71"} 
[2026-10-05 19:53:31] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":100676104,"longitude_deg":76.3291008,"latitude_deg":10.0676104,"altitude":11,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d7ee580","hex_latitude":"06003208","is_valid_coordinates":true} 
[2026-10-05 19:53: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-10-05 19:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549778944001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791210150000,"timestamp_ms":1791210150000,"timestamp_seconds":1791210150,"priority":1,"record_length":96,"hex_timestamp":"000001a10c71d870"} 
[2026-10-05 19:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-05 19:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549778944001,"66":25288,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549778944001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:53:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:53:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549778944001,"power":25288,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":207942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:53:31] local.INFO: GPS data processed {"connection_id":207942,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:53:31] local.INFO: Acknowledgment sent {"connection_id":207942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:53:33] local.INFO: TCP Data received {"connection_id":204861,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:53:33] local.INFO: Processing buffer {"connection_id":204861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:53:33] local.INFO: IMEI packet received {"connection_id":204861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 19:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":204861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:53:35] local.INFO: TCP Data received {"connection_id":204860,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:53:35] local.INFO: Processing buffer {"connection_id":204860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:53:35] local.INFO: IMEI packet received {"connection_id":204860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":204860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:53:36] local.INFO: TCP Data received {"connection_id":204860,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c70fdb0012d7a1a0005e46910000b012129..."} 
[2026-10-05 19:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c70fdb0012d7a1a0005e46910000b012129..."} 
[2026-10-05 19:53:36] local.INFO: Processing buffer {"connection_id":204860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c70fdb0012d7a1a0005e46910000b012129..."} 
[2026-10-05 19:53:36] local.INFO: Packet analysis {"connection_id":204860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c70"} 
[2026-10-05 19:53:36] local.INFO: Extracted packet for processing {"connection_id":204860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c70"} 
[2026-10-05 19:53:36] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549707008001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791210094000,"timestamp_ms":1791210094000,"timestamp_seconds":1791210094,"priority":1,"record_length":96,"hex_timestamp":"000001a10c70fdb0"} 
[2026-10-05 19:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 19:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549707008001,"66":12667,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549707008001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:53:36] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:53:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549707008001,"power":12667,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":204860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:53:37] local.INFO: GPS data processed {"connection_id":204860,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:53:37] local.INFO: Acknowledgment sent {"connection_id":204860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:53:51] local.INFO: TCP Data received {"connection_id":207943,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:53:51] local.INFO: Processing buffer {"connection_id":207943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:53:51] local.INFO: IMEI packet received {"connection_id":207943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":207943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:53:54] local.INFO: TCP Data received {"connection_id":207943,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:53:54] local.INFO: Processing buffer {"connection_id":207943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:53:54] local.INFO: IMEI packet received {"connection_id":207943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":207943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:53:55] local.INFO: TCP Data received {"connection_id":207943,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:53:55] local.INFO: Processing buffer {"connection_id":207943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:53:55] local.INFO: IMEI packet received {"connection_id":207943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":207943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:53:56] local.INFO: TCP Data received {"connection_id":207943,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c722e60012d7ee40006003168000b00d62f..."} 
[2026-10-05 19:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c722e60012d7ee40006003168000b00d62f..."} 
[2026-10-05 19:53:56] local.INFO: Processing buffer {"connection_id":207943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c722e60012d7ee40006003168000b00d62f..."} 
[2026-10-05 19:53:56] local.INFO: Packet analysis {"connection_id":207943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c72"} 
[2026-10-05 19:53:56] local.INFO: Extracted packet for processing {"connection_id":207943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c72"} 
[2026-10-05 19:53:56] local.INFO: GPS Element Parsed {"raw_longitude":763290624,"raw_latitude":100675944,"longitude_deg":76.3290624,"latitude_deg":10.0675944,"altitude":11,"angle":214,"satellites":47,"speed":0,"hex_longitude":"2d7ee400","hex_latitude":"06003168","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549798400001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855381707098112,"note":"Value kept but may cause issues"} 
[2026-10-05 19:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1791210172000,"timestamp_ms":1791210172000,"timestamp_seconds":1791210172,"priority":1,"record_length":96,"hex_timestamp":"000001a10c722e60"} 
[2026-10-05 19:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:53: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-10-05 19:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-05 19:53: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-10-05 19: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-10-05 19:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":207943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":207943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":207943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:53: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-10-05 19:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549798400001,"66":27463,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143855381707098112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549798400001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:53:56] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:53:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855381707098112,"description":"Unknown IO ID 45"} 
[2026-10-05 19:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549798400001,"power":27463,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143855381707098112}} 
[2026-10-05 19:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":207943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:53:56] local.INFO: GPS data processed {"connection_id":207943,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:53:56] local.INFO: Acknowledgment sent {"connection_id":207943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:54:08] local.INFO: TCP Data received {"connection_id":204860,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c72f598012d7a1a0005e46910000b012129..."} 
[2026-10-05 19:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c72f598012d7a1a0005e46910000b012129..."} 
[2026-10-05 19:54:08] local.INFO: Processing buffer {"connection_id":204860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c72f598012d7a1a0005e46910000b012129..."} 
[2026-10-05 19:54:08] local.INFO: Packet analysis {"connection_id":204860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c72"} 
[2026-10-05 19:54:08] local.INFO: Extracted packet for processing {"connection_id":204860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c72"} 
[2026-10-05 19:54:08] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:54: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-10-05 19:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549784064001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791210223000,"timestamp_ms":1791210223000,"timestamp_seconds":1791210223,"priority":1,"record_length":96,"hex_timestamp":"000001a10c72f598"} 
[2026-10-05 19:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 19:54:08] 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-10-05 19:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549784064001,"66":12722,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549784064001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:54:08] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:54:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549784064001,"power":12722,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":204860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:54:08] local.INFO: GPS data processed {"connection_id":204860,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:54:08] local.INFO: Acknowledgment sent {"connection_id":204860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:54:27] local.INFO: TCP Data received {"connection_id":207943,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c728068012d7ee40006003168000b00d62f..."} 
[2026-10-05 19:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c728068012d7ee40006003168000b00d62f..."} 
[2026-10-05 19:54:27] local.INFO: Processing buffer {"connection_id":207943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c728068012d7ee40006003168000b00d62f..."} 
[2026-10-05 19:54:27] local.INFO: Packet analysis {"connection_id":207943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c72"} 
[2026-10-05 19:54:27] local.INFO: Extracted packet for processing {"connection_id":207943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c72"} 
[2026-10-05 19:54:27] local.INFO: GPS Element Parsed {"raw_longitude":763290624,"raw_latitude":100675944,"longitude_deg":76.3290624,"latitude_deg":10.0675944,"altitude":11,"angle":214,"satellites":47,"speed":0,"hex_longitude":"2d7ee400","hex_latitude":"06003168","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549804032001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190592234749952,"note":"Value kept but may cause issues"} 
[2026-10-05 19:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143433169241991168,"note":"Value kept but may cause issues"} 
[2026-10-05 19:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1791210193000,"timestamp_ms":1791210193000,"timestamp_seconds":1791210193,"priority":1,"record_length":96,"hex_timestamp":"000001a10c728068"} 
[2026-10-05 19:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-05 19:54:27] 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-10-05 19: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-10-05 19:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":207943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":207943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":207943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549804032001,"66":27343,"96":206,"87":10752,"24":0,"16":2190592234749952,"45":9143433169241991168},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549804032001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:54:27] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:54:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190592234749952,"km_value":2190592234749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143433169241991168,"description":"Unknown IO ID 45"} 
[2026-10-05 19:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549804032001,"power":27343,"unknown_96":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9143433169241991168}} 
[2026-10-05 19:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":207943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:54:27] local.INFO: GPS data processed {"connection_id":207943,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:54:27] local.INFO: Acknowledgment sent {"connection_id":207943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:54:30] local.INFO: TCP Data received {"connection_id":206383,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:54:30] local.INFO: Processing buffer {"connection_id":206383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:54:30] local.INFO: IMEI packet received {"connection_id":206383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":206383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:54:31] local.INFO: TCP Data received {"connection_id":206383,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:54:31] local.INFO: Processing buffer {"connection_id":206383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:54:31] local.INFO: IMEI packet received {"connection_id":206383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":206383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:54:35] local.INFO: TCP Data received {"connection_id":206383,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:54:35] local.INFO: Processing buffer {"connection_id":206383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:54:35] local.INFO: IMEI packet received {"connection_id":206383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":206383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:54:38] local.INFO: TCP Data received {"connection_id":206383,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c72f598012d7a1a0005e46910000b012129..."} 
[2026-10-05 19:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c72f598012d7a1a0005e46910000b012129..."} 
[2026-10-05 19:54:38] local.INFO: Processing buffer {"connection_id":206383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c72f598012d7a1a0005e46910000b012129..."} 
[2026-10-05 19:54:38] local.INFO: Packet analysis {"connection_id":206383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c72"} 
[2026-10-05 19:54:38] local.INFO: Extracted packet for processing {"connection_id":206383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c72"} 
[2026-10-05 19:54:38] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":98855184,"longitude_deg":76.2976768,"latitude_deg":9.8855184,"altitude":11,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2d7a1a00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-10-05 19:54: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-10-05 19:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549817088001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846540339445760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791210223000,"timestamp_ms":1791210223000,"timestamp_seconds":1791210223,"priority":1,"record_length":96,"hex_timestamp":"000001a10c72f598"} 
[2026-10-05 19:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:54:38] 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-10-05 19:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 19:54:38] 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-10-05 19:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":206383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":206383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":206383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549817088001,"66":12722,"145":206,"87":12288,"24":0,"16":139846540339445760,"45":8798344847328612352},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549817088001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:54:38] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:54:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846540339445760,"km_value":139846540339445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549817088001,"power":12722,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":206383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969671,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:54:38] local.INFO: GPS data processed {"connection_id":206383,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:54:38] local.INFO: Acknowledgment sent {"connection_id":206383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:54:54] local.INFO: TCP Data received {"connection_id":207944,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:54:54] local.INFO: Processing buffer {"connection_id":207944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:54:54] local.INFO: IMEI packet received {"connection_id":207944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":207944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:54:59] local.INFO: TCP Data received {"connection_id":207944,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:54:59] local.INFO: Processing buffer {"connection_id":207944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:54:59] local.INFO: IMEI packet received {"connection_id":207944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":207944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:55:00] local.INFO: TCP Data received {"connection_id":207944,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c729008012d7ee34006003098000e00e32f..."} 
[2026-10-05 19:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c729008012d7ee34006003098000e00e32f..."} 
[2026-10-05 19:55:00] local.INFO: Processing buffer {"connection_id":207944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c729008012d7ee34006003098000e00e32f..."} 
[2026-10-05 19:55:00] local.INFO: Packet analysis {"connection_id":207944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c72"} 
[2026-10-05 19:55:00] local.INFO: Extracted packet for processing {"connection_id":207944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c72"} 
[2026-10-05 19:55:00] local.INFO: GPS Element Parsed {"raw_longitude":763290432,"raw_latitude":100675736,"longitude_deg":76.3290432,"latitude_deg":10.0675736,"altitude":14,"angle":227,"satellites":47,"speed":3,"hex_longitude":"2d7ee340","hex_latitude":"06003098","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549809408001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190605119651840,"note":"Value kept but may cause issues"} 
[2026-10-05 19:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143433169241991168,"note":"Value kept but may cause issues"} 
[2026-10-05 19:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791210197000,"timestamp_ms":1791210197000,"timestamp_seconds":1791210197,"priority":1,"record_length":96,"hex_timestamp":"000001a10c729008"} 
[2026-10-05 19:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:55: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-10-05 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-05 19:55: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-10-05 19: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-10-05 19:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:55: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-10-05 19:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549809408001,"66":27300,"96":206,"87":10752,"24":3,"16":2190605119651840,"45":9143433169241991168},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549809408001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:55:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:55:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190605119651840,"km_value":2190605119651.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143433169241991168,"description":"Unknown IO ID 45"} 
[2026-10-05 19:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549809408001,"power":27300,"unknown_96":206,"unknown_87":10752,"ignition":3,"odometer":null,"unknown_45":9143433169241991168}} 
[2026-10-05 19:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":207944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:55:00] local.INFO: GPS data processed {"connection_id":207944,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:55:00] local.INFO: Acknowledgment sent {"connection_id":207944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:55:10] local.INFO: TCP Data received {"connection_id":206383,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c733800012d7a180005e467f8000e00f02a..."} 
[2026-10-05 19:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c733800012d7a180005e467f8000e00f02a..."} 
[2026-10-05 19:55:10] local.INFO: Processing buffer {"connection_id":206383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c733800012d7a180005e467f8000e00f02a..."} 
[2026-10-05 19:55:10] local.INFO: Packet analysis {"connection_id":206383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c73"} 
[2026-10-05 19:55:10] local.INFO: Extracted packet for processing {"connection_id":206383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c73"} 
[2026-10-05 19:55:10] local.INFO: GPS Element Parsed {"raw_longitude":762976256,"raw_latitude":98854904,"longitude_deg":76.2976256,"latitude_deg":9.8854904,"altitude":14,"angle":240,"satellites":42,"speed":6,"hex_longitude":"2d7a1800","hex_latitude":"05e467f8","is_valid_coordinates":true} 
[2026-10-05 19:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549817088001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846574699184128,"note":"Value kept but may cause issues"} 
[2026-10-05 19:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847328612352,"note":"Value kept but may cause issues"} 
[2026-10-05 19:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791210240000,"timestamp_ms":1791210240000,"timestamp_seconds":1791210240,"priority":1,"record_length":96,"hex_timestamp":"000001a10c733800"} 
[2026-10-05 19:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 19:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":206383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":206383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":206383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549817088001,"66":13363,"145":206,"87":12288,"24":6,"16":139846574699184128,"45":8798344847328612352},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549817088001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:55:10] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:55:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846574699184128,"km_value":139846574699184.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847328612352,"description":"Unknown IO ID 45"} 
[2026-10-05 19:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549817088001,"power":13363,"unknown_145":206,"unknown_87":12288,"ignition":6,"odometer":null,"unknown_45":8798344847328612352}} 
[2026-10-05 19:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":206383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:55:10] local.INFO: GPS data processed {"connection_id":206383,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:55:10] local.INFO: Acknowledgment sent {"connection_id":206383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:55:32] local.INFO: TCP Data received {"connection_id":207944,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c72da40012d7ed04006001a80000e00d62c..."} 
[2026-10-05 19:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c72da40012d7ed04006001a80000e00d62c..."} 
[2026-10-05 19:55:32] local.INFO: Processing buffer {"connection_id":207944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c72da40012d7ed04006001a80000e00d62c..."} 
[2026-10-05 19:55:32] local.INFO: Packet analysis {"connection_id":207944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c72"} 
[2026-10-05 19:55:32] local.INFO: Extracted packet for processing {"connection_id":207944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c72"} 
[2026-10-05 19:55:32] local.INFO: GPS Element Parsed {"raw_longitude":763285568,"raw_latitude":100670080,"longitude_deg":76.3285568,"latitude_deg":10.067008,"altitude":14,"angle":214,"satellites":44,"speed":23,"hex_longitude":"2d7ed040","hex_latitude":"06001a80","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549810432001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2190965896904704,"note":"Value kept but may cause issues"} 
[2026-10-05 19:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143222063009404928,"note":"Value kept but may cause issues"} 
[2026-10-05 19:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791210216000,"timestamp_ms":1791210216000,"timestamp_seconds":1791210216,"priority":1,"record_length":96,"hex_timestamp":"000001a10c72da40"} 
[2026-10-05 19:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:55: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-10-05 19: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":164,"data_length":795,"current_offset":136} 
[2026-10-05 19:55: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-10-05 19: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-10-05 19:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":207944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":207944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":207944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549810432001,"66":27332,"96":206,"87":10752,"24":23,"16":2190965896904704,"45":9143222063009404928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 19:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549810432001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:55:32] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 19:55:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2190965896904704,"km_value":2190965896904.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143222063009404928,"description":"Unknown IO ID 45"} 
[2026-10-05 19:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549810432001,"power":27332,"unknown_96":206,"unknown_87":10752,"ignition":23,"odometer":null,"unknown_45":9143222063009404928}} 
[2026-10-05 19:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":207944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:55:32] local.INFO: GPS data processed {"connection_id":207944,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:55:32] local.INFO: Acknowledgment sent {"connection_id":207944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:55:34] local.INFO: TCP Data received {"connection_id":204995,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:55:34] local.INFO: Processing buffer {"connection_id":204995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:55:34] local.INFO: IMEI packet received {"connection_id":204995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":204995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:55:35] local.INFO: TCP Data received {"connection_id":204995,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:55:35] local.INFO: Processing buffer {"connection_id":204995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:55:35] local.INFO: IMEI packet received {"connection_id":204995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":204995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:55:40] local.INFO: TCP Data received {"connection_id":204995,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:55:40] local.INFO: Processing buffer {"connection_id":204995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:55:40] local.INFO: IMEI packet received {"connection_id":204995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":204995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:55:41] local.INFO: TCP Data received {"connection_id":204995,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7343b8012d7a154005e466d8000e00ff2b..."} 
[2026-10-05 19:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7343b8012d7a154005e466d8000e00ff2b..."} 
[2026-10-05 19:55:41] local.INFO: Processing buffer {"connection_id":204995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7343b8012d7a154005e466d8000e00ff2b..."} 
[2026-10-05 19:55:41] local.INFO: Packet analysis {"connection_id":204995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c73"} 
[2026-10-05 19:55:41] local.INFO: Extracted packet for processing {"connection_id":204995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c73"} 
[2026-10-05 19:55:41] local.INFO: GPS Element Parsed {"raw_longitude":762975552,"raw_latitude":98854616,"longitude_deg":76.2975552,"latitude_deg":9.8854616,"altitude":14,"angle":255,"satellites":43,"speed":12,"hex_longitude":"2d7a1540","hex_latitude":"05e466d8","is_valid_coordinates":true} 
[2026-10-05 19:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549821440001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846609058922496,"note":"Value kept but may cause issues"} 
[2026-10-05 19:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797781897375119360,"note":"Value kept but may cause issues"} 
[2026-10-05 19:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791210243000,"timestamp_ms":1791210243000,"timestamp_seconds":1791210243,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7343b8"} 
[2026-10-05 19:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:55: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-10-05 19:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-10-05 19:55:41] 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-10-05 19:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549821440001,"66":12504,"145":206,"87":12288,"24":12,"16":139846609058922496,"45":8797781897375119360},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549821440001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:55:41] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:55:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846609058922496,"km_value":139846609058922.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797781897375119360,"description":"Unknown IO ID 45"} 
[2026-10-05 19:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549821440001,"power":12504,"unknown_145":206,"unknown_87":12288,"ignition":12,"odometer":null,"unknown_45":8797781897375119360}} 
[2026-10-05 19:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":204995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969675,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:55:42] local.INFO: GPS data processed {"connection_id":204995,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:55:42] local.INFO: Acknowledgment sent {"connection_id":204995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:55:43] local.INFO: TCP Data received {"connection_id":204995,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c738238012d79fa8005e46300000f010e2c..."} 
[2026-10-05 19:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c738238012d79fa8005e46300000f010e2c..."} 
[2026-10-05 19:55:43] local.INFO: Processing buffer {"connection_id":204995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c738238012d79fa8005e46300000f010e2c..."} 
[2026-10-05 19:55:43] local.INFO: Packet analysis {"connection_id":204995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c73"} 
[2026-10-05 19:55:43] local.INFO: Extracted packet for processing {"connection_id":204995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c73"} 
[2026-10-05 19:55:43] local.INFO: GPS Element Parsed {"raw_longitude":762968704,"raw_latitude":98853632,"longitude_deg":76.2968704,"latitude_deg":9.8853632,"altitude":15,"angle":270,"satellites":44,"speed":16,"hex_longitude":"2d79fa80","hex_latitude":"05e46300","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549822208001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139846939771404288,"note":"Value kept but may cause issues"} 
[2026-10-05 19:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797007841189091328,"note":"Value kept but may cause issues"} 
[2026-10-05 19:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791210259000,"timestamp_ms":1791210259000,"timestamp_seconds":1791210259,"priority":1,"record_length":96,"hex_timestamp":"000001a10c738238"} 
[2026-10-05 19:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:55: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-10-05 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 19:55:43] 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-10-05 19: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-10-05 19:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549822208001,"66":12678,"145":206,"87":12288,"24":16,"16":139846939771404288,"45":8797007841189091328},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549822208001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:55:43] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:55:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139846939771404288,"km_value":139846939771404.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797007841189091328,"description":"Unknown IO ID 45"} 
[2026-10-05 19:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549822208001,"power":12678,"unknown_145":206,"unknown_87":12288,"ignition":16,"odometer":null,"unknown_45":8797007841189091328}} 
[2026-10-05 19:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":204995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:55:43] local.INFO: GPS data processed {"connection_id":204995,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:55:43] local.INFO: Acknowledgment sent {"connection_id":204995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:55:54] local.INFO: TCP Data received {"connection_id":204862,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:55:54] local.INFO: Processing buffer {"connection_id":204862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:55:54] local.INFO: IMEI packet received {"connection_id":204862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":204862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:56:01] local.INFO: TCP Data received {"connection_id":204862,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:56:01] local.INFO: Processing buffer {"connection_id":204862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:56:01] local.INFO: IMEI packet received {"connection_id":204862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":204862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:56:02] local.INFO: TCP Data received {"connection_id":204862,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c732478012d7ebb8005fffe98000b00d62a..."} 
[2026-10-05 19:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c732478012d7ebb8005fffe98000b00d62a..."} 
[2026-10-05 19:56:02] local.INFO: Processing buffer {"connection_id":204862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c732478012d7ebb8005fffe98000b00d62a..."} 
[2026-10-05 19:56:02] local.INFO: Packet analysis {"connection_id":204862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c73"} 
[2026-10-05 19:56:02] local.INFO: Extracted packet for processing {"connection_id":204862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c73"} 
[2026-10-05 19:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763280256,"raw_latitude":100662936,"longitude_deg":76.3280256,"latitude_deg":10.0662936,"altitude":11,"angle":214,"satellites":42,"speed":17,"hex_longitude":"2d7ebb80","hex_latitude":"05fffe98","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549815296001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2191395393634304,"note":"Value kept but may cause issues"} 
[2026-10-05 19:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137874038450454528,"note":"Value kept but may cause issues"} 
[2026-10-05 19:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1791210235000,"timestamp_ms":1791210235000,"timestamp_seconds":1791210235,"priority":1,"record_length":96,"hex_timestamp":"000001a10c732478"} 
[2026-10-05 19:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:56:02] 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-10-05 19:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-05 19:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":204862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":204862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":204862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549815296001,"66":27430,"97":206,"87":10752,"24":17,"16":2191395393634304,"45":9137874038450454528},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-10-05 19:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549815296001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:56:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-10-05 19:56:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2191395393634304,"km_value":2191395393634.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137874038450454528,"description":"Unknown IO ID 45"} 
[2026-10-05 19:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549815296001,"power":27430,"unknown_97":206,"unknown_87":10752,"ignition":17,"odometer":null,"unknown_45":9137874038450454528}} 
[2026-10-05 19:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":204862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:56:02] local.INFO: GPS data processed {"connection_id":204862,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:56:02] local.INFO: Acknowledgment sent {"connection_id":204862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:56:14] local.INFO: TCP Data received {"connection_id":204995,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c752818012d79d5c005e45d20001101352d..."} 
[2026-10-05 19:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c752818012d79d5c005e45d20001101352d..."} 
[2026-10-05 19:56:14] local.INFO: Processing buffer {"connection_id":204995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c752818012d79d5c005e45d20001101352d..."} 
[2026-10-05 19:56:14] local.INFO: Packet analysis {"connection_id":204995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c75"} 
[2026-10-05 19:56:14] local.INFO: Extracted packet for processing {"connection_id":204995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c75"} 
[2026-10-05 19:56:14] local.INFO: GPS Element Parsed {"raw_longitude":762959296,"raw_latitude":98852128,"longitude_deg":76.2959296,"latitude_deg":9.8852128,"altitude":17,"angle":309,"satellites":45,"speed":2,"hex_longitude":"2d79d5c0","hex_latitude":"05e45d20","is_valid_coordinates":true} 
[2026-10-05 19:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549853696001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139847412217806848,"note":"Value kept but may cause issues"} 
[2026-10-05 19:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779204548911503360,"note":"Value kept but may cause issues"} 
[2026-10-05 19:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791210367000,"timestamp_ms":1791210367000,"timestamp_seconds":1791210367,"priority":1,"record_length":96,"hex_timestamp":"000001a10c752818"} 
[2026-10-05 19:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 19:56:14] 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-10-05 19:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":204995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":204995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":204995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549853696001,"66":12765,"145":206,"87":12288,"24":2,"16":139847412217806848,"45":8779204548911503360},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549853696001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:56:14] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:56:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139847412217806848,"km_value":139847412217806.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779204548911503360,"description":"Unknown IO ID 45"} 
[2026-10-05 19:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549853696001,"power":12765,"unknown_145":206,"unknown_87":12288,"ignition":2,"odometer":null,"unknown_45":8779204548911503360}} 
[2026-10-05 19:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":204995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969678,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:56:14] local.INFO: GPS data processed {"connection_id":204995,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:56:14] local.INFO: Acknowledgment sent {"connection_id":204995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:56:30] local.INFO: TCP Data received {"connection_id":207946,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207946,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:56:30] local.INFO: Processing buffer {"connection_id":207946,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:56:30] local.INFO: IMEI packet received {"connection_id":207946,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":207946,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:56:31] local.INFO: TCP Data received {"connection_id":207946,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207946,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:56:31] local.INFO: Processing buffer {"connection_id":207946,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:56:31] local.INFO: IMEI packet received {"connection_id":207946,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":207946,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:56:32] local.INFO: TCP Data received {"connection_id":207946,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207946,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:56:32] local.INFO: Processing buffer {"connection_id":207946,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:56:32] local.INFO: IMEI packet received {"connection_id":207946,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":207946,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:56:33] local.INFO: TCP Data received {"connection_id":204862,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7362f8012d7ea84005ffdfe8000b00d22a..."} 
[2026-10-05 19:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7362f8012d7ea84005ffdfe8000b00d22a..."} 
[2026-10-05 19:56:33] local.INFO: Processing buffer {"connection_id":204862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7362f8012d7ea84005ffdfe8000b00d22a..."} 
[2026-10-05 19:56:33] local.INFO: Packet analysis {"connection_id":204862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c73"} 
[2026-10-05 19:56:33] local.INFO: Extracted packet for processing {"connection_id":204862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c73"} 
[2026-10-05 19:56:33] local.INFO: GPS Element Parsed {"raw_longitude":763275328,"raw_latitude":100655080,"longitude_deg":76.3275328,"latitude_deg":10.065508,"altitude":11,"angle":210,"satellites":42,"speed":27,"hex_longitude":"2d7ea840","hex_latitude":"05ffdfe8","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549820160001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2191846365200384,"note":"Value kept but may cause issues"} 
[2026-10-05 19:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132033432681879552,"note":"Value kept but may cause issues"} 
[2026-10-05 19:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791210251000,"timestamp_ms":1791210251000,"timestamp_seconds":1791210251,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7362f8"} 
[2026-10-05 19:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:56: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-10-05 19: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":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-05 19:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549820160001,"66":27484,"97":206,"87":10752,"24":27,"16":2191846365200384,"45":9132033432681879552},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-10-05 19:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549820160001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:56:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-10-05 19:56:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2191846365200384,"km_value":2191846365200.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132033432681879552,"description":"Unknown IO ID 45"} 
[2026-10-05 19:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549820160001,"power":27484,"unknown_97":206,"unknown_87":10752,"ignition":27,"odometer":null,"unknown_45":9132033432681879552}} 
[2026-10-05 19:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":204862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:56:33] local.INFO: GPS data processed {"connection_id":204862,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:56:33] local.INFO: Acknowledgment sent {"connection_id":204862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:56:34] local.INFO: TCP Data received {"connection_id":207946,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c752fe8012d79d58005e45d900011014e2c..."} 
[2026-10-05 19:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c752fe8012d79d58005e45d900011014e2c..."} 
[2026-10-05 19:56:34] local.INFO: Processing buffer {"connection_id":207946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c752fe8012d79d58005e45d900011014e2c..."} 
[2026-10-05 19:56:34] local.INFO: Packet analysis {"connection_id":207946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c75"} 
[2026-10-05 19:56:34] local.INFO: Extracted packet for processing {"connection_id":207946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c75"} 
[2026-10-05 19:56:34] local.INFO: GPS Element Parsed {"raw_longitude":762959232,"raw_latitude":98852240,"longitude_deg":76.2959232,"latitude_deg":9.885224,"altitude":17,"angle":334,"satellites":44,"speed":3,"hex_longitude":"2d79d580","hex_latitude":"05e45d90","is_valid_coordinates":true} 
[2026-10-05 19:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549853952001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139847420807741440,"note":"Value kept but may cause issues"} 
[2026-10-05 19:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779134180167327744,"note":"Value kept but may cause issues"} 
[2026-10-05 19:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791210369000,"timestamp_ms":1791210369000,"timestamp_seconds":1791210369,"priority":1,"record_length":96,"hex_timestamp":"000001a10c752fe8"} 
[2026-10-05 19:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:56:34] 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-10-05 19:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 19:56:34] 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-10-05 19:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":207946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":207946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":207946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549853952001,"66":12624,"145":206,"87":12288,"24":3,"16":139847420807741440,"45":8779134180167327744},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549853952001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:56:34] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:56:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139847420807741440,"km_value":139847420807741.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779134180167327744,"description":"Unknown IO ID 45"} 
[2026-10-05 19:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549853952001,"power":12624,"unknown_145":206,"unknown_87":12288,"ignition":3,"odometer":null,"unknown_45":8779134180167327744}} 
[2026-10-05 19:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":207946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969680,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:56:34] local.INFO: GPS data processed {"connection_id":207946,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:56:34] local.INFO: Acknowledgment sent {"connection_id":207946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:56:35] local.INFO: TCP Data received {"connection_id":207946,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7533d0012d79d54005e45dc00011015a2e..."} 
[2026-10-05 19:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7533d0012d79d54005e45dc00011015a2e..."} 
[2026-10-05 19:56:35] local.INFO: Processing buffer {"connection_id":207946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7533d0012d79d54005e45dc00011015a2e..."} 
[2026-10-05 19:56:35] local.INFO: Packet analysis {"connection_id":207946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c75"} 
[2026-10-05 19:56:35] local.INFO: Extracted packet for processing {"connection_id":207946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c75"} 
[2026-10-05 19:56:35] local.INFO: GPS Element Parsed {"raw_longitude":762959168,"raw_latitude":98852288,"longitude_deg":76.2959168,"latitude_deg":9.8852288,"altitude":17,"angle":346,"satellites":46,"speed":2,"hex_longitude":"2d79d540","hex_latitude":"05e45dc0","is_valid_coordinates":true} 
[2026-10-05 19:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549854464001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139847425102708736,"note":"Value kept but may cause issues"} 
[2026-10-05 19:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779063811423178752,"note":"Value kept but may cause issues"} 
[2026-10-05 19:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791210370000,"timestamp_ms":1791210370000,"timestamp_seconds":1791210370,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7533d0"} 
[2026-10-05 19:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 19:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":207946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":207946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":207946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549854464001,"66":12624,"145":206,"87":12288,"24":2,"16":139847425102708736,"45":8779063811423178752},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549854464001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:56:35] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:56:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139847425102708736,"km_value":139847425102708.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779063811423178752,"description":"Unknown IO ID 45"} 
[2026-10-05 19:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549854464001,"power":12624,"unknown_145":206,"unknown_87":12288,"ignition":2,"odometer":null,"unknown_45":8779063811423178752}} 
[2026-10-05 19:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":207946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969681,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:56:35] local.INFO: GPS data processed {"connection_id":207946,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:56:35] local.INFO: Acknowledgment sent {"connection_id":207946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:56:53] local.INFO: TCP Data received {"connection_id":206385,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:56:53] local.INFO: Processing buffer {"connection_id":206385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:56:53] local.INFO: IMEI packet received {"connection_id":206385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":206385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:56:54] local.INFO: TCP Data received {"connection_id":206385,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:56:54] local.INFO: Processing buffer {"connection_id":206385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:56:54] local.INFO: IMEI packet received {"connection_id":206385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":206385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:56:59] local.INFO: TCP Data received {"connection_id":206385,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:56:59] local.INFO: Processing buffer {"connection_id":206385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:56:59] local.INFO: IMEI packet received {"connection_id":206385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":206385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:57:03] local.INFO: TCP Data received {"connection_id":206385,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7399a8012d7e960005ffc050000e00d32b..."} 
[2026-10-05 19:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7399a8012d7e960005ffc050000e00d32b..."} 
[2026-10-05 19:57:03] local.INFO: Processing buffer {"connection_id":206385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7399a8012d7e960005ffc050000e00d32b..."} 
[2026-10-05 19:57:03] local.INFO: Packet analysis {"connection_id":206385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c73"} 
[2026-10-05 19:57:03] local.INFO: Extracted packet for processing {"connection_id":206385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c73"} 
[2026-10-05 19:57:03] local.INFO: GPS Element Parsed {"raw_longitude":763270656,"raw_latitude":100646992,"longitude_deg":76.3270656,"latitude_deg":10.0646992,"altitude":14,"angle":211,"satellites":43,"speed":27,"hex_longitude":"2d7e9600","hex_latitude":"05ffc050","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549824256001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2192297336766464,"note":"Value kept but may cause issues"} 
[2026-10-05 19:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126615039378188288,"note":"Value kept but may cause issues"} 
[2026-10-05 19:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791210265000,"timestamp_ms":1791210265000,"timestamp_seconds":1791210265,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7399a8"} 
[2026-10-05 19:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:57: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-10-05 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 19:57:03] 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-10-05 19: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-10-05 19:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":206385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":206385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":206385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:57: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-10-05 19:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549824256001,"66":27484,"97":206,"87":10752,"24":27,"16":2192297336766464,"45":9126615039378188288},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-10-05 19:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549824256001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:57:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-10-05 19:57:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2192297336766464,"km_value":2192297336766.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126615039378188288,"description":"Unknown IO ID 45"} 
[2026-10-05 19:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549824256001,"power":27484,"unknown_97":206,"unknown_87":10752,"ignition":27,"odometer":null,"unknown_45":9126615039378188288}} 
[2026-10-05 19:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":206385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:57:03] local.INFO: GPS data processed {"connection_id":206385,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:57:03] local.INFO: Acknowledgment sent {"connection_id":206385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:57:07] local.INFO: TCP Data received {"connection_id":207946,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7581f0012d79d48005e45e800010015e2e..."} 
[2026-10-05 19:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7581f0012d79d48005e45e800010015e2e..."} 
[2026-10-05 19:57:07] local.INFO: Processing buffer {"connection_id":207946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7581f0012d79d48005e45e800010015e2e..."} 
[2026-10-05 19:57:07] local.INFO: Packet analysis {"connection_id":207946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c75"} 
[2026-10-05 19:57:07] local.INFO: Extracted packet for processing {"connection_id":207946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c75"} 
[2026-10-05 19:57:07] local.INFO: GPS Element Parsed {"raw_longitude":762958976,"raw_latitude":98852480,"longitude_deg":76.2958976,"latitude_deg":9.885248,"altitude":16,"angle":350,"satellites":46,"speed":0,"hex_longitude":"2d79d480","hex_latitude":"05e45e80","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549854720001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139847437987610624,"note":"Value kept but may cause issues"} 
[2026-10-05 19:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778993442679013376,"note":"Value kept but may cause issues"} 
[2026-10-05 19:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791210390000,"timestamp_ms":1791210390000,"timestamp_seconds":1791210390,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7581f0"} 
[2026-10-05 19:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 19:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549854720001,"66":12200,"145":206,"87":12288,"24":0,"16":139847437987610624,"45":8778993442679013376},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549854720001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:57:07] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:57:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139847437987610624,"km_value":139847437987610.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778993442679013376,"description":"Unknown IO ID 45"} 
[2026-10-05 19:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549854720001,"power":12200,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778993442679013376}} 
[2026-10-05 19:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":207946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:57:07] local.INFO: GPS data processed {"connection_id":207946,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:57:07] local.INFO: Acknowledgment sent {"connection_id":207946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:57:29] local.INFO: TCP Data received {"connection_id":204998,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:57:29] local.INFO: Processing buffer {"connection_id":204998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:57:29] local.INFO: IMEI packet received {"connection_id":204998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":204998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:57:30] local.INFO: TCP Data received {"connection_id":204999,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:57:30] local.INFO: Processing buffer {"connection_id":204999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:57:30] local.INFO: IMEI packet received {"connection_id":204999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":204999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:57:30] local.INFO: TCP Data received {"connection_id":204998,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c73bcd0012d196600071feee8004101542b..."} 
[2026-10-05 19:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c73bcd0012d196600071feee8004101542b..."} 
[2026-10-05 19:57:30] local.INFO: Processing buffer {"connection_id":204998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c73bcd0012d196600071feee8004101542b..."} 
[2026-10-05 19:57:30] local.INFO: Packet analysis {"connection_id":204998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c73"} 
[2026-10-05 19:57:30] local.INFO: Extracted packet for processing {"connection_id":204998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c73"} 
[2026-10-05 19:57:30] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":65,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549753088001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 19:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1791210274000,"timestamp_ms":1791210274000,"timestamp_seconds":1791210274,"priority":1,"record_length":96,"hex_timestamp":"000001a10c73bcd0"} 
[2026-10-05 19:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:57:30] 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-10-05 19: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 19:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":204998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":204998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":204998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549753088001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549753088001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:57:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:57:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 19:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549753088001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 19:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":204998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:57:31] local.INFO: GPS data processed {"connection_id":204998,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:57:31] local.INFO: Acknowledgment sent {"connection_id":204998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:57:35] local.INFO: TCP Data received {"connection_id":204999,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:57:35] local.INFO: Processing buffer {"connection_id":204999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:57:35] local.INFO: IMEI packet received {"connection_id":204999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":204999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:57:37] local.INFO: TCP Data received {"connection_id":204999,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7585d8012d79d44005e45e10001000a82e..."} 
[2026-10-05 19:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7585d8012d79d44005e45e10001000a82e..."} 
[2026-10-05 19:57:37] local.INFO: Processing buffer {"connection_id":204999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7585d8012d79d44005e45e10001000a82e..."} 
[2026-10-05 19:57:37] local.INFO: Packet analysis {"connection_id":204999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c75"} 
[2026-10-05 19:57:37] local.INFO: Extracted packet for processing {"connection_id":204999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c75"} 
[2026-10-05 19:57:37] local.INFO: GPS Element Parsed {"raw_longitude":762958912,"raw_latitude":98852368,"longitude_deg":76.2958912,"latitude_deg":9.8852368,"altitude":16,"angle":168,"satellites":46,"speed":2,"hex_longitude":"2d79d440","hex_latitude":"05e45e10","is_valid_coordinates":true} 
[2026-10-05 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-10-05 19:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549859840001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139847446577545216,"note":"Value kept but may cause issues"} 
[2026-10-05 19:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778782336446529536,"note":"Value kept but may cause issues"} 
[2026-10-05 19:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791210391000,"timestamp_ms":1791210391000,"timestamp_seconds":1791210391,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7585d8"} 
[2026-10-05 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-10-05 19:57:37] 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-10-05 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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-10-05 19:57:37] 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-10-05 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-10-05 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-10-05 19:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549859840001,"66":12287,"145":206,"87":12288,"24":2,"16":139847446577545216,"45":8778782336446529536},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549859840001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:57:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:57:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139847446577545216,"km_value":139847446577545.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778782336446529536,"description":"Unknown IO ID 45"} 
[2026-10-05 19:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549859840001,"power":12287,"unknown_145":206,"unknown_87":12288,"ignition":2,"odometer":null,"unknown_45":8778782336446529536}} 
[2026-10-05 19:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":204999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969685,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:57:37] local.INFO: GPS data processed {"connection_id":204999,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:57:37] local.INFO: Acknowledgment sent {"connection_id":204999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:57:54] local.INFO: TCP Data received {"connection_id":204864,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:57:54] local.INFO: Processing buffer {"connection_id":204864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:57:54] local.INFO: IMEI packet received {"connection_id":204864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":204864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:57:56] local.INFO: TCP Data received {"connection_id":204864,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:57:56] local.INFO: Processing buffer {"connection_id":204864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:57:56] local.INFO: IMEI packet received {"connection_id":204864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":204864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:57:56] local.INFO: TCP Data received {"connection_id":204864,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:57:56] local.INFO: Processing buffer {"connection_id":204864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:57:56] local.INFO: IMEI packet received {"connection_id":204864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":204864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:57:59] local.INFO: TCP Data received {"connection_id":204864,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:57:59] local.INFO: Processing buffer {"connection_id":204864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:57:59] local.INFO: IMEI packet received {"connection_id":204864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":204864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:57:59] local.INFO: TCP Data received {"connection_id":204864,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c759578012d7dbc8005fe84e8001700a92b..."} 
[2026-10-05 19:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c759578012d7dbc8005fe84e8001700a92b..."} 
[2026-10-05 19:57:59] local.INFO: Processing buffer {"connection_id":204864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c759578012d7dbc8005fe84e8001700a92b..."} 
[2026-10-05 19:57:59] local.INFO: Packet analysis {"connection_id":204864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c75"} 
[2026-10-05 19:57:59] local.INFO: Extracted packet for processing {"connection_id":204864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c75"} 
[2026-10-05 19:57:59] local.INFO: GPS Element Parsed {"raw_longitude":763214976,"raw_latitude":100566248,"longitude_deg":76.3214976,"latitude_deg":10.0566248,"altitude":23,"angle":169,"satellites":43,"speed":26,"hex_longitude":"2d7dbc80","hex_latitude":"05fe84e8","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549860608001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2197210779353088,"note":"Value kept but may cause issues"} 
[2026-10-05 19:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9060046207363704832,"note":"Value kept but may cause issues"} 
[2026-10-05 19:57: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-10-05 19:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791210395000,"timestamp_ms":1791210395000,"timestamp_seconds":1791210395,"priority":1,"record_length":96,"hex_timestamp":"000001a10c759578"} 
[2026-10-05 19:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:57: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-10-05 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-05 19:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":204864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":204864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":204864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549860608001,"66":27463,"138":206,"87":10752,"24":26,"16":2197210779353088,"45":9060046207363704832},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,87,24,16,45]} 
[2026-10-05 19:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549860608001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:57:59] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-10-05 19:57:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2197210779353088,"km_value":2197210779353.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9060046207363704832,"description":"Unknown IO ID 45"} 
[2026-10-05 19:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549860608001,"power":27463,"unknown_138":206,"unknown_87":10752,"ignition":26,"odometer":null,"unknown_45":9060046207363704832}} 
[2026-10-05 19:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":204864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:57:59] local.INFO: GPS data processed {"connection_id":204864,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:57:59] local.INFO: Acknowledgment sent {"connection_id":204864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:58:04] local.INFO: TCP Data received {"connection_id":204864,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c75cc28012d7dc4c005fe62d8001700a02f..."} 
[2026-10-05 19:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c75cc28012d7dc4c005fe62d8001700a02f..."} 
[2026-10-05 19:58:04] local.INFO: Processing buffer {"connection_id":204864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c75cc28012d7dc4c005fe62d8001700a02f..."} 
[2026-10-05 19:58:04] local.INFO: Packet analysis {"connection_id":204864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c75"} 
[2026-10-05 19:58:04] local.INFO: Extracted packet for processing {"connection_id":204864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c75"} 
[2026-10-05 19:58:04] local.INFO: GPS Element Parsed {"raw_longitude":763217088,"raw_latitude":100557528,"longitude_deg":76.3217088,"latitude_deg":10.0557528,"altitude":23,"angle":160,"satellites":47,"speed":27,"hex_longitude":"2d7dc4c0","hex_latitude":"05fe62d8","is_valid_coordinates":true} 
[2026-10-05 19:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549861120001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2197644571049984,"note":"Value kept but may cause issues"} 
[2026-10-05 19:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9060257313595910144,"note":"Value kept but may cause issues"} 
[2026-10-05 19:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791210409000,"timestamp_ms":1791210409000,"timestamp_seconds":1791210409,"priority":1,"record_length":96,"hex_timestamp":"000001a10c75cc28"} 
[2026-10-05 19:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:58:04] 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-10-05 19:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-05 19:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":204864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":204864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":204864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:58: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-10-05 19:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549861120001,"66":27376,"37":206,"87":10752,"24":27,"16":2197644571049984,"45":9060257313595910144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,87,24,16,45]} 
[2026-10-05 19:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549861120001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:58:04] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 19:58:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2197644571049984,"km_value":2197644571049.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9060257313595910144,"description":"Unknown IO ID 45"} 
[2026-10-05 19:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549861120001,"power":27376,"unknown_37":206,"unknown_87":10752,"ignition":27,"odometer":null,"unknown_45":9060257313595910144}} 
[2026-10-05 19:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":204864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:58:04] local.INFO: GPS data processed {"connection_id":204864,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:58:04] local.INFO: Acknowledgment sent {"connection_id":204864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:58:09] local.INFO: TCP Data received {"connection_id":204999,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c759578012d79d44005e45db8001000b92c..."} 
[2026-10-05 19:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c759578012d79d44005e45db8001000b92c..."} 
[2026-10-05 19:58:09] local.INFO: Processing buffer {"connection_id":204999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c759578012d79d44005e45db8001000b92c..."} 
[2026-10-05 19:58:09] local.INFO: Packet analysis {"connection_id":204999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c75"} 
[2026-10-05 19:58:09] local.INFO: Extracted packet for processing {"connection_id":204999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c75"} 
[2026-10-05 19:58:09] local.INFO: GPS Element Parsed {"raw_longitude":762958912,"raw_latitude":98852280,"longitude_deg":76.2958912,"latitude_deg":9.885228,"altitude":16,"angle":185,"satellites":44,"speed":0,"hex_longitude":"2d79d440","hex_latitude":"05e45db8","is_valid_coordinates":true} 
[2026-10-05 19:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549860096001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139847450872512512,"note":"Value kept but may cause issues"} 
[2026-10-05 19:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778711967702323200,"note":"Value kept but may cause issues"} 
[2026-10-05 19:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791210395000,"timestamp_ms":1791210395000,"timestamp_seconds":1791210395,"priority":1,"record_length":96,"hex_timestamp":"000001a10c759578"} 
[2026-10-05 19:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 19:58: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-10-05 19:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549860096001,"66":12319,"145":206,"87":12288,"24":0,"16":139847450872512512,"45":8778711967702323200},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549860096001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:58:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:58:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139847450872512512,"km_value":139847450872512.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778711967702323200,"description":"Unknown IO ID 45"} 
[2026-10-05 19:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549860096001,"power":12319,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778711967702323200}} 
[2026-10-05 19:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":204999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969688,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:58:09] local.INFO: GPS data processed {"connection_id":204999,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:58:09] local.INFO: Acknowledgment sent {"connection_id":204999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:58:10] local.INFO: TCP Data received {"connection_id":205000,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:58:10] local.INFO: Processing buffer {"connection_id":205000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:58:10] local.INFO: IMEI packet received {"connection_id":205000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":205000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:58:14] local.INFO: TCP Data received {"connection_id":205000,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:58:14] local.INFO: Processing buffer {"connection_id":205000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:58:14] local.INFO: IMEI packet received {"connection_id":205000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":205000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:58:22] local.INFO: TCP Data received {"connection_id":205000,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c73bcd0012d196600071feee8004101542b..."} 
[2026-10-05 19:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c73bcd0012d196600071feee8004101542b..."} 
[2026-10-05 19:58:22] local.INFO: Processing buffer {"connection_id":205000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c73bcd0012d196600071feee8004101542b..."} 
[2026-10-05 19:58:22] local.INFO: Packet analysis {"connection_id":205000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c73"} 
[2026-10-05 19:58:22] local.INFO: Extracted packet for processing {"connection_id":205000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c73"} 
[2026-10-05 19:58:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":65,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549753088001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 19:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791210274000,"timestamp_ms":1791210274000,"timestamp_seconds":1791210274,"priority":1,"record_length":96,"hex_timestamp":"000001a10c73bcd0"} 
[2026-10-05 19:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:58:22] 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-10-05 19: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 19:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":205000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":205000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":205000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549753088001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549753088001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:58:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:58:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 19:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549753088001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 19:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":205000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:58:22] local.INFO: GPS data processed {"connection_id":205000,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:58:22] local.INFO: Acknowledgment sent {"connection_id":205000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:58:29] local.INFO: TCP Data received {"connection_id":205000,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c73bcd0012d196600071feee8004101542b..."} 
[2026-10-05 19:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c73bcd0012d196600071feee8004101542b..."} 
[2026-10-05 19:58:29] local.INFO: Processing buffer {"connection_id":205000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c73bcd0012d196600071feee8004101542b..."} 
[2026-10-05 19:58:29] local.INFO: Packet analysis {"connection_id":205000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c73"} 
[2026-10-05 19:58:29] local.INFO: Extracted packet for processing {"connection_id":205000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c73"} 
[2026-10-05 19:58:29] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":65,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 19:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549753088001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 19:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1791210274000,"timestamp_ms":1791210274000,"timestamp_seconds":1791210274,"priority":1,"record_length":96,"hex_timestamp":"000001a10c73bcd0"} 
[2026-10-05 19:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:58:29] 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-10-05 19:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 19:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":205000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":205000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":205000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549753088001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549753088001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:58:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:58:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 19:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549753088001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 19:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":205000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:58:29] local.INFO: GPS data processed {"connection_id":205000,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:58:29] local.INFO: Acknowledgment sent {"connection_id":205000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:58:30] local.INFO: TCP Data received {"connection_id":207947,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:58:30] local.INFO: Processing buffer {"connection_id":207947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:58:30] local.INFO: IMEI packet received {"connection_id":207947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":207947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:58:31] local.INFO: TCP Data received {"connection_id":207947,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:58:31] local.INFO: Processing buffer {"connection_id":207947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:58:31] local.INFO: IMEI packet received {"connection_id":207947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":207947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:58:35] local.INFO: TCP Data received {"connection_id":207947,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:58:35] local.INFO: Processing buffer {"connection_id":207947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:58:35] local.INFO: IMEI packet received {"connection_id":207947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":207947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:58:37] local.INFO: TCP Data received {"connection_id":207947,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c75e398012d79d40005e45dc0001000b92d..."} 
[2026-10-05 19:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c75e398012d79d40005e45dc0001000b92d..."} 
[2026-10-05 19:58:37] local.INFO: Processing buffer {"connection_id":207947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c75e398012d79d40005e45dc0001000b92d..."} 
[2026-10-05 19:58:37] local.INFO: Packet analysis {"connection_id":207947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c75"} 
[2026-10-05 19:58:37] local.INFO: Extracted packet for processing {"connection_id":207947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c75"} 
[2026-10-05 19:58:37] local.INFO: GPS Element Parsed {"raw_longitude":762958848,"raw_latitude":98852288,"longitude_deg":76.2958848,"latitude_deg":9.8852288,"altitude":16,"angle":185,"satellites":45,"speed":0,"hex_longitude":"2d79d400","hex_latitude":"05e45dc0","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549861120001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139847455167479808,"note":"Value kept but may cause issues"} 
[2026-10-05 19:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778711967702300672,"note":"Value kept but may cause issues"} 
[2026-10-05 19:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791210415000,"timestamp_ms":1791210415000,"timestamp_seconds":1791210415,"priority":1,"record_length":96,"hex_timestamp":"000001a10c75e398"} 
[2026-10-05 19:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:58:37] 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-10-05 19: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-10-05 19:58:37] 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-10-05 19: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-10-05 19:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549861120001,"66":12515,"145":206,"87":12288,"24":0,"16":139847455167479808,"45":8778711967702300672},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549861120001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:58:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:58:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139847455167479808,"km_value":139847455167479.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778711967702300672,"description":"Unknown IO ID 45"} 
[2026-10-05 19:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549861120001,"power":12515,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778711967702300672}} 
[2026-10-05 19:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":207947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:58:37] local.INFO: GPS data processed {"connection_id":207947,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:58:37] local.INFO: Acknowledgment sent {"connection_id":207947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:58:41] local.INFO: TCP Data received {"connection_id":204864,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c75ef50012d7dcb4005fe4ac8001700ae2e..."} 
[2026-10-05 19:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c75ef50012d7dcb4005fe4ac8001700ae2e..."} 
[2026-10-05 19:58:41] local.INFO: Processing buffer {"connection_id":204864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c75ef50012d7dcb4005fe4ac8001700ae2e..."} 
[2026-10-05 19:58:41] local.INFO: Packet analysis {"connection_id":204864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c75"} 
[2026-10-05 19:58:41] local.INFO: Extracted packet for processing {"connection_id":204864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c75"} 
[2026-10-05 19:58:41] local.INFO: GPS Element Parsed {"raw_longitude":763218752,"raw_latitude":100551368,"longitude_deg":76.3218752,"latitude_deg":10.0551368,"altitude":23,"angle":174,"satellites":46,"speed":27,"hex_longitude":"2d7dcb40","hex_latitude":"05fe4ac8","is_valid_coordinates":true} 
[2026-10-05 19:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549864704001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2197953808695296,"note":"Value kept but may cause issues"} 
[2026-10-05 19:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062579482151540736,"note":"Value kept but may cause issues"} 
[2026-10-05 19:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791210418000,"timestamp_ms":1791210418000,"timestamp_seconds":1791210418,"priority":1,"record_length":96,"hex_timestamp":"000001a10c75ef50"} 
[2026-10-05 19:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-05 19:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:58:41] 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-10-05 19:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549864704001,"66":27365,"37":206,"87":10752,"24":27,"16":2197953808695296,"45":9062579482151540736},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,87,24,16,45]} 
[2026-10-05 19:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549864704001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:58:41] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 19:58:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2197953808695296,"km_value":2197953808695.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062579482151540736,"description":"Unknown IO ID 45"} 
[2026-10-05 19:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549864704001,"power":27365,"unknown_37":206,"unknown_87":10752,"ignition":27,"odometer":null,"unknown_45":9062579482151540736}} 
[2026-10-05 19:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":204864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:58:41] local.INFO: GPS data processed {"connection_id":204864,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:58:41] local.INFO: Acknowledgment sent {"connection_id":204864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:58:54] local.INFO: TCP Data received {"connection_id":204865,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:58:54] local.INFO: Processing buffer {"connection_id":204865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:58:54] local.INFO: IMEI packet received {"connection_id":204865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":204865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:58:58] local.INFO: TCP Data received {"connection_id":207948,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207948,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:58:58] local.INFO: Processing buffer {"connection_id":207948,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:58:58] local.INFO: IMEI packet received {"connection_id":207948,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 19:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":207948,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:58:59] local.INFO: TCP Data received {"connection_id":204865,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:58:59] local.INFO: Processing buffer {"connection_id":204865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:58:59] local.INFO: IMEI packet received {"connection_id":204865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":204865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:59:00] local.INFO: TCP Data received {"connection_id":204865,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c75fef0012d7dcb8005fe4210001700ba2f..."} 
[2026-10-05 19:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c75fef0012d7dcb8005fe4210001700ba2f..."} 
[2026-10-05 19:59:00] local.INFO: Processing buffer {"connection_id":204865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c75fef0012d7dcb8005fe4210001700ba2f..."} 
[2026-10-05 19:59:00] local.INFO: Packet analysis {"connection_id":204865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c75"} 
[2026-10-05 19:59:00] local.INFO: Extracted packet for processing {"connection_id":204865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c75"} 
[2026-10-05 19:59:00] local.INFO: GPS Element Parsed {"raw_longitude":763218816,"raw_latitude":100549136,"longitude_deg":76.3218816,"latitude_deg":10.0549136,"altitude":23,"angle":186,"satellites":47,"speed":17,"hex_longitude":"2d7dcb80","hex_latitude":"05fe4210","is_valid_coordinates":true} 
[2026-10-05 19:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549867008001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2198061182877696,"note":"Value kept but may cause issues"} 
[2026-10-05 19:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9064409069498583040,"note":"Value kept but may cause issues"} 
[2026-10-05 19:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791210422000,"timestamp_ms":1791210422000,"timestamp_seconds":1791210422,"priority":1,"record_length":96,"hex_timestamp":"000001a10c75fef0"} 
[2026-10-05 19:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:59: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-10-05 19:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-05 19:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:59: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-10-05 19:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549867008001,"66":27397,"37":206,"87":10752,"24":17,"16":2198061182877696,"45":9064409069498583040},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,87,24,16,45]} 
[2026-10-05 19:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549867008001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:59:00] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-05 19:59:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2198061182877696,"km_value":2198061182877.696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9064409069498583040,"description":"Unknown IO ID 45"} 
[2026-10-05 19:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549867008001,"power":27397,"unknown_37":206,"unknown_87":10752,"ignition":17,"odometer":null,"unknown_45":9064409069498583040}} 
[2026-10-05 19:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":204865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:59:00] local.INFO: GPS data processed {"connection_id":204865,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:59:00] local.INFO: Acknowledgment sent {"connection_id":204865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:59:04] local.INFO: TCP Data received {"connection_id":206386,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:59:04] local.INFO: Processing buffer {"connection_id":206386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:59:04] local.INFO: IMEI packet received {"connection_id":206386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 19:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":206386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:59:08] local.INFO: TCP Data received {"connection_id":207947,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c77cbe0012d79f20005e463300008005b28..."} 
[2026-10-05 19:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c77cbe0012d79f20005e463300008005b28..."} 
[2026-10-05 19:59:08] local.INFO: Processing buffer {"connection_id":207947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c77cbe0012d79f20005e463300008005b28..."} 
[2026-10-05 19:59:08] local.INFO: Packet analysis {"connection_id":207947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c77"} 
[2026-10-05 19:59:08] local.INFO: Extracted packet for processing {"connection_id":207947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c77"} 
[2026-10-05 19:59:08] local.INFO: GPS Element Parsed {"raw_longitude":762966528,"raw_latitude":98853680,"longitude_deg":76.2966528,"latitude_deg":9.885368,"altitude":8,"angle":91,"satellites":40,"speed":13,"hex_longitude":"2d79f200","hex_latitude":"05e46330","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549894912001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139847833124601856,"note":"Value kept but may cause issues"} 
[2026-10-05 19:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784271098492579840,"note":"Value kept but may cause issues"} 
[2026-10-05 19:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791210540000,"timestamp_ms":1791210540000,"timestamp_seconds":1791210540,"priority":1,"record_length":96,"hex_timestamp":"000001a10c77cbe0"} 
[2026-10-05 19:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:59: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-10-05 19: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 19:59: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-10-05 19: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-10-05 19:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549894912001,"66":12776,"145":206,"87":12288,"24":13,"16":139847833124601856,"45":8784271098492579840},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549894912001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:59:08] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:59:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139847833124601856,"km_value":139847833124601.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784271098492579840,"description":"Unknown IO ID 45"} 
[2026-10-05 19:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549894912001,"power":12776,"unknown_145":206,"unknown_87":12288,"ignition":13,"odometer":null,"unknown_45":8784271098492579840}} 
[2026-10-05 19:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":207947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:59:08] local.INFO: GPS data processed {"connection_id":207947,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:59:08] local.INFO: Acknowledgment sent {"connection_id":207947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:59:09] local.INFO: TCP Data received {"connection_id":206386,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:59:09] local.INFO: Processing buffer {"connection_id":206386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 19:59:09] local.INFO: IMEI packet received {"connection_id":206386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 19:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":206386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:59:11] local.INFO: TCP Data received {"connection_id":206386,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c73bcd0012d196600071feee8004101542b..."} 
[2026-10-05 19:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c73bcd0012d196600071feee8004101542b..."} 
[2026-10-05 19:59:11] local.INFO: Processing buffer {"connection_id":206386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c73bcd0012d196600071feee8004101542b..."} 
[2026-10-05 19:59:11] local.INFO: Packet analysis {"connection_id":206386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c73"} 
[2026-10-05 19:59:11] local.INFO: Extracted packet for processing {"connection_id":206386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c73"} 
[2026-10-05 19:59:11] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":65,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 19:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549753088001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 19:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791210274000,"timestamp_ms":1791210274000,"timestamp_seconds":1791210274,"priority":1,"record_length":96,"hex_timestamp":"000001a10c73bcd0"} 
[2026-10-05 19:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:59:11] 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-10-05 19:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 19:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549753088001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549753088001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:59:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:59:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 19:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549753088001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 19:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":206386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:59:11] local.INFO: GPS data processed {"connection_id":206386,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:59:11] local.INFO: Acknowledgment sent {"connection_id":206386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:59:31] local.INFO: TCP Data received {"connection_id":204865,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c763d70012d7dc54005fe1dd8001600c52f..."} 
[2026-10-05 19:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c763d70012d7dc54005fe1dd8001600c52f..."} 
[2026-10-05 19:59:31] local.INFO: Processing buffer {"connection_id":204865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c763d70012d7dc54005fe1dd8001600c52f..."} 
[2026-10-05 19:59:31] local.INFO: Packet analysis {"connection_id":204865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c76"} 
[2026-10-05 19:59:31] local.INFO: Extracted packet for processing {"connection_id":204865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c76"} 
[2026-10-05 19:59:31] local.INFO: GPS Element Parsed {"raw_longitude":763217216,"raw_latitude":100539864,"longitude_deg":76.3217216,"latitude_deg":10.0539864,"altitude":22,"angle":197,"satellites":47,"speed":25,"hex_longitude":"2d7dc540","hex_latitude":"05fe1dd8","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549868032001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2198520744378368,"note":"Value kept but may cause issues"} 
[2026-10-05 19:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9064479438242189312,"note":"Value kept but may cause issues"} 
[2026-10-05 19:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791210438000,"timestamp_ms":1791210438000,"timestamp_seconds":1791210438,"priority":1,"record_length":96,"hex_timestamp":"000001a10c763d70"} 
[2026-10-05 19:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:59: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-10-05 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-05 19:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19: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-10-05 19:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 19:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 19:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 19:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549868032001,"66":27321,"74":206,"87":10752,"24":25,"16":2198520744378368,"45":9064479438242189312},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,87,24,16,45]} 
[2026-10-05 19:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 19:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 19:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549868032001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:59:31] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-10-05 19:59:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 19:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2198520744378368,"km_value":2198520744378.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9064479438242189312,"description":"Unknown IO ID 45"} 
[2026-10-05 19:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549868032001,"power":27321,"unknown_74":206,"unknown_87":10752,"ignition":25,"odometer":null,"unknown_45":9064479438242189312}} 
[2026-10-05 19:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":204865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:59:31] local.INFO: GPS data processed {"connection_id":204865,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:59:31] local.INFO: Acknowledgment sent {"connection_id":204865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:59:31] local.INFO: TCP Data received {"connection_id":207949,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:59:31] local.INFO: Processing buffer {"connection_id":207949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:59:31] local.INFO: IMEI packet received {"connection_id":207949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 19:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":207949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:59:33] local.INFO: TCP Data received {"connection_id":205001,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:59:33] local.INFO: Processing buffer {"connection_id":205001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 19:59:33] local.INFO: IMEI packet received {"connection_id":205001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 19:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":205001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:59:35] local.INFO: TCP Data received {"connection_id":207949,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:59:35] local.INFO: Processing buffer {"connection_id":207949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:59:35] local.INFO: IMEI packet received {"connection_id":207949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":207949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:59:37] local.INFO: TCP Data received {"connection_id":207949,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:59:37] local.INFO: Processing buffer {"connection_id":207949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 19:59:37] local.INFO: IMEI packet received {"connection_id":207949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 19:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":207949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 19:59:39] local.INFO: TCP Data received {"connection_id":207949,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c77d3b0012d79f4c005e463000007006928..."} 
[2026-10-05 19:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c77d3b0012d79f4c005e463000007006928..."} 
[2026-10-05 19:59:39] local.INFO: Processing buffer {"connection_id":207949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c77d3b0012d79f4c005e463000007006928..."} 
[2026-10-05 19:59:39] local.INFO: Packet analysis {"connection_id":207949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c77"} 
[2026-10-05 19:59:39] local.INFO: Extracted packet for processing {"connection_id":207949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c77"} 
[2026-10-05 19:59:39] local.INFO: GPS Element Parsed {"raw_longitude":762967232,"raw_latitude":98853632,"longitude_deg":76.2967232,"latitude_deg":9.8853632,"altitude":7,"angle":105,"satellites":40,"speed":12,"hex_longitude":"2d79f4c0","hex_latitude":"05e46300","is_valid_coordinates":true} 
[2026-10-05 19:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549898240001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139847867484340224,"note":"Value kept but may cause issues"} 
[2026-10-05 19:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787085848259801088,"note":"Value kept but may cause issues"} 
[2026-10-05 19:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791210542000,"timestamp_ms":1791210542000,"timestamp_seconds":1791210542,"priority":1,"record_length":96,"hex_timestamp":"000001a10c77d3b0"} 
[2026-10-05 19:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 19:59:39] 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-10-05 19:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":207949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":207949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":207949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549898240001,"66":12852,"145":206,"87":12288,"24":12,"16":139847867484340224,"45":8787085848259801088},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549898240001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:59:39] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:59:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139847867484340224,"km_value":139847867484340.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787085848259801088,"description":"Unknown IO ID 45"} 
[2026-10-05 19:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549898240001,"power":12852,"unknown_145":206,"unknown_87":12288,"ignition":12,"odometer":null,"unknown_45":8787085848259801088}} 
[2026-10-05 19:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":207949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:59:39] local.INFO: GPS data processed {"connection_id":207949,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:59:39] local.INFO: Acknowledgment sent {"connection_id":207949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:59:40] local.INFO: TCP Data received {"connection_id":207949,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c77db80012d79f78005e462e00007005228..."} 
[2026-10-05 19:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c77db80012d79f78005e462e00007005228..."} 
[2026-10-05 19:59:40] local.INFO: Processing buffer {"connection_id":207949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c77db80012d79f78005e462e00007005228..."} 
[2026-10-05 19:59:40] local.INFO: Packet analysis {"connection_id":207949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c77"} 
[2026-10-05 19:59:40] local.INFO: Extracted packet for processing {"connection_id":207949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c77"} 
[2026-10-05 19:59:40] local.INFO: GPS Element Parsed {"raw_longitude":762967936,"raw_latitude":98853600,"longitude_deg":76.2967936,"latitude_deg":9.88536,"altitude":7,"angle":82,"satellites":40,"speed":13,"hex_longitude":"2d79f780","hex_latitude":"05e462e0","is_valid_coordinates":true} 
[2026-10-05 19: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-10-05 19:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549898752001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139847901844078592,"note":"Value kept but may cause issues"} 
[2026-10-05 19:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787859904445743104,"note":"Value kept but may cause issues"} 
[2026-10-05 19:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791210544000,"timestamp_ms":1791210544000,"timestamp_seconds":1791210544,"priority":1,"record_length":96,"hex_timestamp":"000001a10c77db80"} 
[2026-10-05 19:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 19: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 19:59:40] 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-10-05 19: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-10-05 19:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":207949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":207949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":207949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 19:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 19:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 19:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549898752001,"66":12852,"145":206,"87":12288,"24":13,"16":139847901844078592,"45":8787859904445743104},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 19:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 19:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 19:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549898752001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:59:40] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 19:59:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 19:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139847901844078592,"km_value":139847901844078.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787859904445743104,"description":"Unknown IO ID 45"} 
[2026-10-05 19:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549898752001,"power":12852,"unknown_145":206,"unknown_87":12288,"ignition":13,"odometer":null,"unknown_45":8787859904445743104}} 
[2026-10-05 19:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":207949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:59:40] local.INFO: GPS data processed {"connection_id":207949,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:59:40] local.INFO: Acknowledgment sent {"connection_id":207949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:59:44] local.INFO: TCP Data received {"connection_id":206386,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c73bcd0012d196600071feee8004101542b..."} 
[2026-10-05 19:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c73bcd0012d196600071feee8004101542b..."} 
[2026-10-05 19:59:44] local.INFO: Processing buffer {"connection_id":206386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c73bcd0012d196600071feee8004101542b..."} 
[2026-10-05 19:59:44] local.INFO: Packet analysis {"connection_id":206386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c73"} 
[2026-10-05 19:59:44] local.INFO: Extracted packet for processing {"connection_id":206386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c73"} 
[2026-10-05 19:59:44] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":65,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 19:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 19:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549753088001,"note":"Value kept but may cause issues"} 
[2026-10-05 19:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 19:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 19:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 19:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791210274000,"timestamp_ms":1791210274000,"timestamp_seconds":1791210274,"priority":1,"record_length":96,"hex_timestamp":"000001a10c73bcd0"} 
[2026-10-05 19:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 19:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 19:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 19:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 19:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 19:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 19:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 19:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":206386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 19:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":206386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":206386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 19:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 19:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 19:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 19:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549753088001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 19:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 19:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 19:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549753088001,"description":"Unknown IO ID 0"} 
[2026-10-05 19:59:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 19:59:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 19:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 19:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 19:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549753088001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 19:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":206386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 19:59:45] local.INFO: GPS data processed {"connection_id":206386,"processed":1,"errors":0,"total":1} 
[2026-10-05 19:59:45] local.INFO: Acknowledgment sent {"connection_id":206386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 19:59:54] local.INFO: TCP Data received {"connection_id":206387,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:59:54] local.INFO: Processing buffer {"connection_id":206387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:59:54] local.INFO: IMEI packet received {"connection_id":206387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 19:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":206387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 19:59:59] local.INFO: TCP Data received {"connection_id":206387,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:59:59] local.INFO: Processing buffer {"connection_id":206387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 19:59:59] local.INFO: IMEI packet received {"connection_id":206387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 19:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":206387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:00:00] local.INFO: TCP Data received {"connection_id":206387,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c779d00012d7d54c005fd4098001b00c42e..."} 
[2026-10-05 20:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c779d00012d7d54c005fd4098001b00c42e..."} 
[2026-10-05 20:00:00] local.INFO: Processing buffer {"connection_id":206387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c779d00012d7d54c005fd4098001b00c42e..."} 
[2026-10-05 20:00:00] local.INFO: Packet analysis {"connection_id":206387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c77"} 
[2026-10-05 20:00:00] local.INFO: Extracted packet for processing {"connection_id":206387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c77"} 
[2026-10-05 20:00:00] local.INFO: GPS Element Parsed {"raw_longitude":763188416,"raw_latitude":100483224,"longitude_deg":76.3188416,"latitude_deg":10.0483224,"altitude":27,"angle":196,"satellites":46,"speed":35,"hex_longitude":"2d7d54c0","hex_latitude":"05fd4098","is_valid_coordinates":true} 
[2026-10-05 20:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549892352001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2201716200046592,"note":"Value kept but may cause issues"} 
[2026-10-05 20:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9033869034510389248,"note":"Value kept but may cause issues"} 
[2026-10-05 20:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791210528000,"timestamp_ms":1791210528000,"timestamp_seconds":1791210528,"priority":1,"record_length":96,"hex_timestamp":"000001a10c779d00"} 
[2026-10-05 20:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:00: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-10-05 20:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-05 20:00: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-10-05 20:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:00: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-10-05 20:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549892352001,"66":27376,"75":206,"87":10752,"24":35,"16":2201716200046592,"45":9033869034510389248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-10-05 20:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549892352001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:00:00] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-10-05 20:00:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 20:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2201716200046592,"km_value":2201716200046.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9033869034510389248,"description":"Unknown IO ID 45"} 
[2026-10-05 20:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549892352001,"power":27376,"unknown_75":206,"unknown_87":10752,"ignition":35,"odometer":null,"unknown_45":9033869034510389248}} 
[2026-10-05 20:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":206387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:00:00] local.INFO: GPS data processed {"connection_id":206387,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:00:00] local.INFO: Acknowledgment sent {"connection_id":206387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:00:11] local.INFO: TCP Data received {"connection_id":207949,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c786c08012d7a348005e45c480007004e2a..."} 
[2026-10-05 20:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c786c08012d7a348005e45c480007004e2a..."} 
[2026-10-05 20:00:11] local.INFO: Processing buffer {"connection_id":207949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c786c08012d7a348005e45c480007004e2a..."} 
[2026-10-05 20:00:11] local.INFO: Packet analysis {"connection_id":207949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:00:11] local.INFO: Extracted packet for processing {"connection_id":207949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:00:11] local.INFO: GPS Element Parsed {"raw_longitude":762983552,"raw_latitude":98851912,"longitude_deg":76.2983552,"latitude_deg":9.8851912,"altitude":7,"angle":78,"satellites":42,"speed":19,"hex_longitude":"2d7a3480","hex_latitude":"05e45c48","is_valid_coordinates":true} 
[2026-10-05 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-10-05 20:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549908224001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139848739362701312,"note":"Value kept but may cause issues"} 
[2026-10-05 20:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804678034303744000,"note":"Value kept but may cause issues"} 
[2026-10-05 20:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791210581000,"timestamp_ms":1791210581000,"timestamp_seconds":1791210581,"priority":1,"record_length":96,"hex_timestamp":"000001a10c786c08"} 
[2026-10-05 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-10-05 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-10-05 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 20:00:11] 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-10-05 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-10-05 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-10-05 20:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549908224001,"66":12841,"145":206,"87":12288,"24":19,"16":139848739362701312,"45":8804678034303744000},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-10-05 20:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549908224001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:00:11] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-10-05 20:00:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 20:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139848739362701312,"km_value":139848739362701.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804678034303744000,"description":"Unknown IO ID 45"} 
[2026-10-05 20:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549908224001,"power":12841,"unknown_145":206,"unknown_87":12288,"ignition":19,"odometer":null,"unknown_45":8804678034303744000}} 
[2026-10-05 20:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":207949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:00:11] local.INFO: GPS data processed {"connection_id":207949,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:00:11] local.INFO: Acknowledgment sent {"connection_id":207949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:00:13] local.INFO: TCP Data received {"connection_id":207950,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:00:13] local.INFO: Processing buffer {"connection_id":207950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:00:13] local.INFO: IMEI packet received {"connection_id":207950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":207950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:00:14] local.INFO: TCP Data received {"connection_id":207950,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:00:14] local.INFO: Processing buffer {"connection_id":207950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:00:14] local.INFO: IMEI packet received {"connection_id":207950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":207950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:00:15] local.INFO: TCP Data received {"connection_id":207950,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:00:15] local.INFO: Processing buffer {"connection_id":207950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:00:15] local.INFO: Packet analysis {"connection_id":207950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:00:15] local.INFO: Extracted packet for processing {"connection_id":207950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:00:15] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":67,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549830144001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791210575000,"timestamp_ms":1791210575000,"timestamp_seconds":1791210575,"priority":1,"record_length":96,"hex_timestamp":"000001a10c785498"} 
[2026-10-05 20:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549830144001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549830144001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:00:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:00:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549830144001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":207950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:00:16] local.INFO: GPS data processed {"connection_id":207950,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:00:16] local.INFO: Acknowledgment sent {"connection_id":207950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:00:17] local.INFO: TCP Data received {"connection_id":207950,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:00:17] local.INFO: Processing buffer {"connection_id":207950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:00:17] local.INFO: Packet analysis {"connection_id":207950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:00:17] local.INFO: Extracted packet for processing {"connection_id":207950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:00:17] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":67,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549830144001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791210575000,"timestamp_ms":1791210575000,"timestamp_seconds":1791210575,"priority":1,"record_length":96,"hex_timestamp":"000001a10c785498"} 
[2026-10-05 20:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:00:17] 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-10-05 20:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:00:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":207950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":207950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":207950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549830144001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549830144001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:00:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:00:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549830144001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":207950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:00:17] local.INFO: GPS data processed {"connection_id":207950,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:00:17] local.INFO: Acknowledgment sent {"connection_id":207950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:00:30] local.INFO: TCP Data received {"connection_id":206387,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c77c7f8012d7d48c005fd1c98001800c62b..."} 
[2026-10-05 20:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c77c7f8012d7d48c005fd1c98001800c62b..."} 
[2026-10-05 20:00:30] local.INFO: Processing buffer {"connection_id":206387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c77c7f8012d7d48c005fd1c98001800c62b..."} 
[2026-10-05 20:00:30] local.INFO: Packet analysis {"connection_id":206387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c77"} 
[2026-10-05 20:00:30] local.INFO: Extracted packet for processing {"connection_id":206387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c77"} 
[2026-10-05 20:00:30] local.INFO: GPS Element Parsed {"raw_longitude":763185344,"raw_latitude":100474008,"longitude_deg":76.3185344,"latitude_deg":10.0474008,"altitude":24,"angle":198,"satellites":43,"speed":32,"hex_longitude":"2d7d48c0","hex_latitude":"05fd1c98","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549895168001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2202184351481856,"note":"Value kept but may cause issues"} 
[2026-10-05 20:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031054284740925440,"note":"Value kept but may cause issues"} 
[2026-10-05 20:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1791210539000,"timestamp_ms":1791210539000,"timestamp_seconds":1791210539,"priority":1,"record_length":96,"hex_timestamp":"000001a10c77c7f8"} 
[2026-10-05 20:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-05 20:00: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-10-05 20: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-10-05 20:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":206387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":206387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":206387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549895168001,"66":27321,"142":206,"87":10752,"24":32,"16":2202184351481856,"45":9031054284740925440},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-10-05 20:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549895168001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:00:30] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-10-05 20:00:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 20:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2202184351481856,"km_value":2202184351481.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031054284740925440,"description":"Unknown IO ID 45"} 
[2026-10-05 20:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549895168001,"power":27321,"unknown_142":206,"unknown_87":10752,"ignition":32,"odometer":null,"unknown_45":9031054284740925440}} 
[2026-10-05 20:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":206387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:00:30] local.INFO: GPS data processed {"connection_id":206387,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:00:30] local.INFO: Acknowledgment sent {"connection_id":206387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:00:54] local.INFO: TCP Data received {"connection_id":205002,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:00:54] local.INFO: Processing buffer {"connection_id":205002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:00:54] local.INFO: IMEI packet received {"connection_id":205002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":205002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:00:55] local.INFO: TCP Data received {"connection_id":207950,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:00:55] local.INFO: Processing buffer {"connection_id":207950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:00:55] local.INFO: Packet analysis {"connection_id":207950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:00:55] local.INFO: Extracted packet for processing {"connection_id":207950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:00:55] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":67,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549830144001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1791210575000,"timestamp_ms":1791210575000,"timestamp_seconds":1791210575,"priority":1,"record_length":96,"hex_timestamp":"000001a10c785498"} 
[2026-10-05 20:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:00:55] 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-10-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":207950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":207950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":207950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549830144001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549830144001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:00:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:00:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549830144001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":207950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:00:55] local.INFO: GPS data processed {"connection_id":207950,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:00:55] local.INFO: Acknowledgment sent {"connection_id":207950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:00:58] local.INFO: TCP Data received {"connection_id":205002,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:00:58] local.INFO: Processing buffer {"connection_id":205002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:00:58] local.INFO: IMEI packet received {"connection_id":205002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":205002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:00:59] local.INFO: TCP Data received {"connection_id":205002,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:00:59] local.INFO: Processing buffer {"connection_id":205002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:00:59] local.INFO: IMEI packet received {"connection_id":205002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":205002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:00:59] local.INFO: TCP Data received {"connection_id":205002,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c77f2f0012d7d3e0005fcfaa8001700c62c..."} 
[2026-10-05 20:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c77f2f0012d7d3e0005fcfaa8001700c62c..."} 
[2026-10-05 20:00:59] local.INFO: Processing buffer {"connection_id":205002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c77f2f0012d7d3e0005fcfaa8001700c62c..."} 
[2026-10-05 20:00:59] local.INFO: Packet analysis {"connection_id":205002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c77"} 
[2026-10-05 20:00:59] local.INFO: Extracted packet for processing {"connection_id":205002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c77"} 
[2026-10-05 20:00:59] local.INFO: GPS Element Parsed {"raw_longitude":763182592,"raw_latitude":100465320,"longitude_deg":76.3182592,"latitude_deg":10.046532,"altitude":23,"angle":198,"satellites":44,"speed":35,"hex_longitude":"2d7d3e00","hex_latitude":"05fcfaa8","is_valid_coordinates":true} 
[2026-10-05 20:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549897984001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2202626733113344,"note":"Value kept but may cause issues"} 
[2026-10-05 20:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027676585018038272,"note":"Value kept but may cause issues"} 
[2026-10-05 20:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791210550000,"timestamp_ms":1791210550000,"timestamp_seconds":1791210550,"priority":1,"record_length":96,"hex_timestamp":"000001a10c77f2f0"} 
[2026-10-05 20:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:00: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-10-05 20:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-05 20:00:59] 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-10-05 20:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":205002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":205002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":205002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549897984001,"66":27463,"142":206,"87":10752,"24":35,"16":2202626733113344,"45":9027676585018038272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-10-05 20:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549897984001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:00:59] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-10-05 20:00:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 20:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2202626733113344,"km_value":2202626733113.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027676585018038272,"description":"Unknown IO ID 45"} 
[2026-10-05 20:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549897984001,"power":27463,"unknown_142":206,"unknown_87":10752,"ignition":35,"odometer":null,"unknown_45":9027676585018038272}} 
[2026-10-05 20:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":205002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:00:59] local.INFO: GPS data processed {"connection_id":205002,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:00:59] local.INFO: Acknowledgment sent {"connection_id":205002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:01:00] local.INFO: TCP Data received {"connection_id":205003,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:01:00] local.INFO: Processing buffer {"connection_id":205003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:01:00] local.INFO: IMEI packet received {"connection_id":205003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":205003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:01:01] local.INFO: TCP Data received {"connection_id":205003,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:01:01] local.INFO: Processing buffer {"connection_id":205003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:01:01] local.INFO: IMEI packet received {"connection_id":205003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":205003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:01:02] local.INFO: TCP Data received {"connection_id":205003,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:01:02] local.INFO: Processing buffer {"connection_id":205003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:01:02] local.INFO: IMEI packet received {"connection_id":205003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":205003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:01:04] local.INFO: TCP Data received {"connection_id":205002,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c781de8012d7d32c005fcd7d8001900c72a..."} 
[2026-10-05 20:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c781de8012d7d32c005fcd7d8001900c72a..."} 
[2026-10-05 20:01:04] local.INFO: Processing buffer {"connection_id":205002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c781de8012d7d32c005fcd7d8001900c72a..."} 
[2026-10-05 20:01:04] local.INFO: Packet analysis {"connection_id":205002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:01:04] local.INFO: Extracted packet for processing {"connection_id":205002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:01:04] local.INFO: GPS Element Parsed {"raw_longitude":763179712,"raw_latitude":100456408,"longitude_deg":76.3179712,"latitude_deg":10.0456408,"altitude":25,"angle":199,"satellites":42,"speed":31,"hex_longitude":"2d7d32c0","hex_latitude":"05fcd7d8","is_valid_coordinates":true} 
[2026-10-05 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-10-05 20:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549900800001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2203081999646720,"note":"Value kept but may cause issues"} 
[2026-10-05 20:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024650729016174592,"note":"Value kept but may cause issues"} 
[2026-10-05 20:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791210561000,"timestamp_ms":1791210561000,"timestamp_seconds":1791210561,"priority":1,"record_length":96,"hex_timestamp":"000001a10c781de8"} 
[2026-10-05 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-10-05 20:01: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-10-05 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":71,"data_length":795,"current_offset":136} 
[2026-10-05 20:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 20:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":205002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":205002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":205002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549900800001,"66":27267,"142":206,"87":10752,"24":31,"16":2203081999646720,"45":9024650729016174592},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-10-05 20:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549900800001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:01:04] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-10-05 20:01:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 20:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2203081999646720,"km_value":2203081999646.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024650729016174592,"description":"Unknown IO ID 45"} 
[2026-10-05 20:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549900800001,"power":27267,"unknown_142":206,"unknown_87":10752,"ignition":31,"odometer":null,"unknown_45":9024650729016174592}} 
[2026-10-05 20:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":205002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:01:04] local.INFO: GPS data processed {"connection_id":205002,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:01:04] local.INFO: Acknowledgment sent {"connection_id":205002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:01:05] local.INFO: TCP Data received {"connection_id":205003,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:01:05] local.INFO: Processing buffer {"connection_id":205003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:01:05] local.INFO: IMEI packet received {"connection_id":205003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":205003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:01:07] local.INFO: TCP Data received {"connection_id":205003,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c78ba28012d7a570005e464e00009004a28..."} 
[2026-10-05 20:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c78ba28012d7a570005e464e00009004a28..."} 
[2026-10-05 20:01:07] local.INFO: Processing buffer {"connection_id":205003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c78ba28012d7a570005e464e00009004a28..."} 
[2026-10-05 20:01:07] local.INFO: Packet analysis {"connection_id":205003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:01:07] local.INFO: Extracted packet for processing {"connection_id":205003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:01:07] local.INFO: GPS Element Parsed {"raw_longitude":762992384,"raw_latitude":98854112,"longitude_deg":76.2992384,"latitude_deg":9.8854112,"altitude":9,"angle":74,"satellites":40,"speed":18,"hex_longitude":"2d7a5700","hex_latitude":"05e464e0","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549908736001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139849177449365504,"note":"Value kept but may cause issues"} 
[2026-10-05 20:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805803934210607104,"note":"Value kept but may cause issues"} 
[2026-10-05 20:01:07] 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-10-05 20:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791210601000,"timestamp_ms":1791210601000,"timestamp_seconds":1791210601,"priority":1,"record_length":96,"hex_timestamp":"000001a10c78ba28"} 
[2026-10-05 20:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:01: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-10-05 20: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 20:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549908736001,"66":12798,"102":206,"87":12288,"24":18,"16":139849177449365504,"45":8805803934210607104},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-05 20:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549908736001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:01:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 20:01:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 20:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139849177449365504,"km_value":139849177449365.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805803934210607104,"description":"Unknown IO ID 45"} 
[2026-10-05 20:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549908736001,"power":12798,"unknown_102":206,"unknown_87":12288,"ignition":18,"odometer":null,"unknown_45":8805803934210607104}} 
[2026-10-05 20:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":205003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:01:07] local.INFO: GPS data processed {"connection_id":205003,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:01:07] local.INFO: Acknowledgment sent {"connection_id":205003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:01:09] local.INFO: TCP Data received {"connection_id":206389,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:01:09] local.INFO: Processing buffer {"connection_id":206389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:01:09] local.INFO: IMEI packet received {"connection_id":206389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":206389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:01:15] local.INFO: TCP Data received {"connection_id":206389,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:01:15] local.INFO: Processing buffer {"connection_id":206389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:01:15] local.INFO: IMEI packet received {"connection_id":206389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":206389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:01:16] local.INFO: TCP Data received {"connection_id":206389,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:01:16] local.INFO: Processing buffer {"connection_id":206389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:01:16] local.INFO: Packet analysis {"connection_id":206389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:01:16] local.INFO: Extracted packet for processing {"connection_id":206389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:01:16] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":67,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549830144001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791210575000,"timestamp_ms":1791210575000,"timestamp_seconds":1791210575,"priority":1,"record_length":96,"hex_timestamp":"000001a10c785498"} 
[2026-10-05 20:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":206389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":206389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":206389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549830144001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549830144001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:01:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:01:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549830144001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":206389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:01:17] local.INFO: GPS data processed {"connection_id":206389,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:01:17] local.INFO: Acknowledgment sent {"connection_id":206389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:01:30] local.INFO: TCP Data received {"connection_id":207951,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207951,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:01:30] local.INFO: Processing buffer {"connection_id":207951,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:01:30] local.INFO: IMEI packet received {"connection_id":207951,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":207951,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:01:33] local.INFO: TCP Data received {"connection_id":207951,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207951,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:01:33] local.INFO: Processing buffer {"connection_id":207951,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:01:33] local.INFO: IMEI packet received {"connection_id":207951,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":207951,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:01:35] local.INFO: TCP Data received {"connection_id":207951,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207951,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:01:35] local.INFO: Processing buffer {"connection_id":207951,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:01:35] local.INFO: IMEI packet received {"connection_id":207951,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":207951,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:01:36] local.INFO: TCP Data received {"connection_id":205002,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7844f8012d7d284005fcb5d0001700c42c..."} 
[2026-10-05 20:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7844f8012d7d284005fcb5d0001700c42c..."} 
[2026-10-05 20:01:36] local.INFO: Processing buffer {"connection_id":205002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7844f8012d7d284005fcb5d0001700c42c..."} 
[2026-10-05 20:01:36] local.INFO: Packet analysis {"connection_id":205002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:01:36] local.INFO: Extracted packet for processing {"connection_id":205002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:01:36] local.INFO: GPS Element Parsed {"raw_longitude":763177024,"raw_latitude":100447696,"longitude_deg":76.3177024,"latitude_deg":10.0447696,"altitude":23,"angle":196,"satellites":44,"speed":37,"hex_longitude":"2d7d2840","hex_latitude":"05fcb5d0","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549903616001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2203524381278208,"note":"Value kept but may cause issues"} 
[2026-10-05 20:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021484135525898240,"note":"Value kept but may cause issues"} 
[2026-10-05 20:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791210571000,"timestamp_ms":1791210571000,"timestamp_seconds":1791210571,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7844f8"} 
[2026-10-05 20:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:01: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-10-05 20:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-05 20:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549903616001,"66":27376,"144":206,"87":10752,"24":37,"16":2203524381278208,"45":9021484135525898240},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-10-05 20:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549903616001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:01:36] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-05 20:01:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 20:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2203524381278208,"km_value":2203524381278.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021484135525898240,"description":"Unknown IO ID 45"} 
[2026-10-05 20:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549903616001,"power":27376,"unknown_144":206,"unknown_87":10752,"ignition":37,"odometer":null,"unknown_45":9021484135525898240}} 
[2026-10-05 20:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":205002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:01:36] local.INFO: GPS data processed {"connection_id":205002,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:01:36] local.INFO: Acknowledgment sent {"connection_id":205002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:01:38] local.INFO: TCP Data received {"connection_id":207951,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c78ba28012d7a570005e464e00009004a28..."} 
[2026-10-05 20:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c78ba28012d7a570005e464e00009004a28..."} 
[2026-10-05 20:01:38] local.INFO: Processing buffer {"connection_id":207951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c78ba28012d7a570005e464e00009004a28..."} 
[2026-10-05 20:01:38] local.INFO: Packet analysis {"connection_id":207951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:01:38] local.INFO: Extracted packet for processing {"connection_id":207951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:01:38] local.INFO: GPS Element Parsed {"raw_longitude":762992384,"raw_latitude":98854112,"longitude_deg":76.2992384,"latitude_deg":9.8854112,"altitude":9,"angle":74,"satellites":40,"speed":18,"hex_longitude":"2d7a5700","hex_latitude":"05e464e0","is_valid_coordinates":true} 
[2026-10-05 20:01: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-10-05 20:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549913856001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139849177449365504,"note":"Value kept but may cause issues"} 
[2026-10-05 20:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815514820907687936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:01:38] 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-10-05 20:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791210601000,"timestamp_ms":1791210601000,"timestamp_seconds":1791210601,"priority":1,"record_length":96,"hex_timestamp":"000001a10c78ba28"} 
[2026-10-05 20:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 20:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:01: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-10-05 20:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549913856001,"66":12798,"102":206,"87":12288,"24":18,"16":139849177449365504,"45":8815514820907687936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-05 20:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549913856001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:01:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 20:01:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 20:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139849177449365504,"km_value":139849177449365.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815514820907687936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549913856001,"power":12798,"unknown_102":206,"unknown_87":12288,"ignition":18,"odometer":null,"unknown_45":8815514820907687936}} 
[2026-10-05 20:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":207951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:01:38] local.INFO: GPS data processed {"connection_id":207951,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:01:38] local.INFO: Acknowledgment sent {"connection_id":207951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:01:48] local.INFO: TCP Data received {"connection_id":206389,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:01:48] local.INFO: Processing buffer {"connection_id":206389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:01:48] local.INFO: Packet analysis {"connection_id":206389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:01:48] local.INFO: Extracted packet for processing {"connection_id":206389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:01:48] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":67,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549830144001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791210575000,"timestamp_ms":1791210575000,"timestamp_seconds":1791210575,"priority":1,"record_length":96,"hex_timestamp":"000001a10c785498"} 
[2026-10-05 20:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:01:48] 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-10-05 20:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":206389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":206389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":206389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549830144001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549830144001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:01:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:01:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549830144001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":206389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:01:48] local.INFO: GPS data processed {"connection_id":206389,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:01:48] local.INFO: Acknowledgment sent {"connection_id":206389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:01:59] local.INFO: TCP Data received {"connection_id":205004,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:01:59] local.INFO: Processing buffer {"connection_id":205004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:01:59] local.INFO: IMEI packet received {"connection_id":205004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":205004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:02:03] local.INFO: TCP Data received {"connection_id":205004,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:02:03] local.INFO: Processing buffer {"connection_id":205004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:02:03] local.INFO: IMEI packet received {"connection_id":205004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":205004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:02:04] local.INFO: TCP Data received {"connection_id":205004,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c786c08012d7d1d8005fc93e0001e00c62e..."} 
[2026-10-05 20:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c786c08012d7d1d8005fc93e0001e00c62e..."} 
[2026-10-05 20:02:04] local.INFO: Processing buffer {"connection_id":205004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c786c08012d7d1d8005fc93e0001e00c62e..."} 
[2026-10-05 20:02:04] local.INFO: Packet analysis {"connection_id":205004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:02:04] local.INFO: Extracted packet for processing {"connection_id":205004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:02:04] local.INFO: GPS Element Parsed {"raw_longitude":763174272,"raw_latitude":100439008,"longitude_deg":76.3174272,"latitude_deg":10.0439008,"altitude":30,"angle":198,"satellites":46,"speed":35,"hex_longitude":"2d7d1d80","hex_latitude":"05fc93e0","is_valid_coordinates":true} 
[2026-10-05 20:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549906176001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2203966762909696,"note":"Value kept but may cause issues"} 
[2026-10-05 20:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018528648268206080,"note":"Value kept but may cause issues"} 
[2026-10-05 20:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791210581000,"timestamp_ms":1791210581000,"timestamp_seconds":1791210581,"priority":1,"record_length":96,"hex_timestamp":"000001a10c786c08"} 
[2026-10-05 20:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:02: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-10-05 20:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-05 20:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":205004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":205004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":205004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:02: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-10-05 20:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549906176001,"66":27517,"144":206,"87":10752,"24":35,"16":2203966762909696,"45":9018528648268206080},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-10-05 20:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549906176001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:02:04] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-05 20:02:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 20:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2203966762909696,"km_value":2203966762909.696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018528648268206080,"description":"Unknown IO ID 45"} 
[2026-10-05 20:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549906176001,"power":27517,"unknown_144":206,"unknown_87":10752,"ignition":35,"odometer":null,"unknown_45":9018528648268206080}} 
[2026-10-05 20:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":205004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:02:04] local.INFO: GPS data processed {"connection_id":205004,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:02:04] local.INFO: Acknowledgment sent {"connection_id":205004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:02:10] local.INFO: TCP Data received {"connection_id":205005,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:02:10] local.INFO: Processing buffer {"connection_id":205005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:02:10] local.INFO: IMEI packet received {"connection_id":205005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":205005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:02:11] local.INFO: TCP Data received {"connection_id":207951,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c78ecf0012d7a64c005e46a280005005f29..."} 
[2026-10-05 20:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c78ecf0012d7a64c005e46a280005005f29..."} 
[2026-10-05 20:02:11] local.INFO: Processing buffer {"connection_id":207951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c78ecf0012d7a64c005e46a280005005f29..."} 
[2026-10-05 20:02:11] local.INFO: Packet analysis {"connection_id":207951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:02:11] local.INFO: Extracted packet for processing {"connection_id":207951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:02:11] local.INFO: GPS Element Parsed {"raw_longitude":762995904,"raw_latitude":98855464,"longitude_deg":76.2995904,"latitude_deg":9.8855464,"altitude":5,"angle":95,"satellites":41,"speed":6,"hex_longitude":"2d7a64c0","hex_latitude":"05e46a28","is_valid_coordinates":true} 
[2026-10-05 20:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549913856001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139849357837991936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815514820907687936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:02:11] 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-10-05 20:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791210614000,"timestamp_ms":1791210614000,"timestamp_seconds":1791210614,"priority":1,"record_length":96,"hex_timestamp":"000001a10c78ecf0"} 
[2026-10-05 20:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:02: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-10-05 20:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 20:02:11] 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-10-05 20:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549913856001,"66":12798,"102":206,"87":12288,"24":6,"16":139849357837991936,"45":8815514820907687936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-05 20:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549913856001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:02:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-05 20:02:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-05 20:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139849357837991936,"km_value":139849357837991.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815514820907687936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549913856001,"power":12798,"unknown_102":206,"unknown_87":12288,"ignition":6,"odometer":null,"unknown_45":8815514820907687936}} 
[2026-10-05 20:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":207951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969714,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:02:11] local.INFO: GPS data processed {"connection_id":207951,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:02:11] local.INFO: Acknowledgment sent {"connection_id":207951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:02:15] local.INFO: TCP Data received {"connection_id":205005,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:02:15] local.INFO: Processing buffer {"connection_id":205005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:02:15] local.INFO: IMEI packet received {"connection_id":205005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":205005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:02:17] local.INFO: TCP Data received {"connection_id":205005,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:02:17] local.INFO: Processing buffer {"connection_id":205005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:02:17] local.INFO: Packet analysis {"connection_id":205005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:02:17] local.INFO: Extracted packet for processing {"connection_id":205005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:02:17] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":67,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549830144001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791210575000,"timestamp_ms":1791210575000,"timestamp_seconds":1791210575,"priority":1,"record_length":96,"hex_timestamp":"000001a10c785498"} 
[2026-10-05 20:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:02:17] 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-10-05 20:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":205005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":205005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":205005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549830144001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549830144001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:02:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:02:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549830144001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":205005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:02:17] local.INFO: GPS data processed {"connection_id":205005,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:02:17] local.INFO: Acknowledgment sent {"connection_id":205005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:02:21] local.INFO: TCP Data received {"connection_id":205005,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:02:21] local.INFO: Processing buffer {"connection_id":205005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:02:21] local.INFO: Packet analysis {"connection_id":205005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:02:21] local.INFO: Extracted packet for processing {"connection_id":205005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:02:21] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":67,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549830144001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791210575000,"timestamp_ms":1791210575000,"timestamp_seconds":1791210575,"priority":1,"record_length":96,"hex_timestamp":"000001a10c785498"} 
[2026-10-05 20:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:02:21] 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-10-05 20:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":205005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":205005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":205005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549830144001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549830144001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:02:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:02:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549830144001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":205005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:02:21] local.INFO: GPS data processed {"connection_id":205005,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:02:21] local.INFO: Acknowledgment sent {"connection_id":205005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:02:32] local.INFO: TCP Data received {"connection_id":204866,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204866,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:02:32] local.INFO: Processing buffer {"connection_id":204866,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:02:32] local.INFO: IMEI packet received {"connection_id":204866,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":204866,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:02:35] local.INFO: TCP Data received {"connection_id":205004,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c789318012d7d12c005fc7240002100c22d..."} 
[2026-10-05 20:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c789318012d7d12c005fc7240002100c22d..."} 
[2026-10-05 20:02:35] local.INFO: Processing buffer {"connection_id":205004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c789318012d7d12c005fc7240002100c22d..."} 
[2026-10-05 20:02:35] local.INFO: Packet analysis {"connection_id":205004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:02:35] local.INFO: Extracted packet for processing {"connection_id":205004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:02:35] local.INFO: GPS Element Parsed {"raw_longitude":763171520,"raw_latitude":100430400,"longitude_deg":76.317152,"latitude_deg":10.04304,"altitude":33,"angle":194,"satellites":45,"speed":36,"hex_longitude":"2d7d12c0","hex_latitude":"05fc7240","is_valid_coordinates":true} 
[2026-10-05 20:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549908736001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2204400554606592,"note":"Value kept but may cause issues"} 
[2026-10-05 20:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015502792266342400,"note":"Value kept but may cause issues"} 
[2026-10-05 20:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791210591000,"timestamp_ms":1791210591000,"timestamp_seconds":1791210591,"priority":1,"record_length":96,"hex_timestamp":"000001a10c789318"} 
[2026-10-05 20:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:02: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-10-05 20:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-05 20:02:35] 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-10-05 20:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":205004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":205004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":205004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:02: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-10-05 20:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549908736001,"66":27365,"144":206,"87":10752,"24":36,"16":2204400554606592,"45":9015502792266342400},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-10-05 20:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549908736001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:02:35] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-05 20:02:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 20:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2204400554606592,"km_value":2204400554606.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015502792266342400,"description":"Unknown IO ID 45"} 
[2026-10-05 20:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549908736001,"power":27365,"unknown_144":206,"unknown_87":10752,"ignition":36,"odometer":null,"unknown_45":9015502792266342400}} 
[2026-10-05 20:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":205004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:02:35] local.INFO: GPS data processed {"connection_id":205004,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:02:35] local.INFO: Acknowledgment sent {"connection_id":205004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:02:36] local.INFO: TCP Data received {"connection_id":204866,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204866,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:02:36] local.INFO: Processing buffer {"connection_id":204866,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:02:36] local.INFO: IMEI packet received {"connection_id":204866,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":204866,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:02:37] local.INFO: TCP Data received {"connection_id":204866,"ip":"42.106.6.50","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-05 20:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204866,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-05 20:02:37] local.INFO: Processing buffer {"connection_id":204866,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-05 20:02:37] local.INFO: IMEI packet received {"connection_id":204866,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":204866,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:02:40] local.INFO: TCP Data received {"connection_id":204866,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7a8718012d7af60005e385780007009c26..."} 
[2026-10-05 20:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7a8718012d7af60005e385780007009c26..."} 
[2026-10-05 20:02:40] local.INFO: Processing buffer {"connection_id":204866,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a10c..."} 
[2026-10-05 20:02:40] local.INFO: IMEI packet received {"connection_id":204866,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":204866,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:02:43] local.INFO: TCP Data received {"connection_id":204866,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7ad538012d7afbc005e37180000b00a22c..."} 
[2026-10-05 20:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7ad538012d7afbc005e37180000b00a22c..."} 
[2026-10-05 20:02:43] local.INFO: Processing buffer {"connection_id":204866,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a10c7a8718012d7af60005e385780007009c26..."} 
[2026-10-05 20:02:43] local.INFO: Packet analysis {"connection_id":204866,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a10c7a"} 
[2026-10-05 20:02:43] local.INFO: Extracted packet for processing {"connection_id":204866,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7a"} 
[2026-10-05 20:02:43] local.INFO: GPS Element Parsed {"raw_longitude":763033088,"raw_latitude":98796920,"longitude_deg":76.3033088,"latitude_deg":9.879692,"altitude":7,"angle":156,"satellites":38,"speed":18,"hex_longitude":"2d7af600","hex_latitude":"05e38578","is_valid_coordinates":true} 
[2026-10-05 20:02: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-10-05 20:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549939968001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139852866826272768,"note":"Value kept but may cause issues"} 
[2026-10-05 20:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857032379960102912,"note":"Value kept but may cause issues"} 
[2026-10-05 20:02:43] 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-10-05 20:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791210719000,"timestamp_ms":1791210719000,"timestamp_seconds":1791210719,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7a8718"} 
[2026-10-05 20:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:02: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-10-05 20:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 20:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:02: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-10-05 20:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549939968001,"66":12385,"208":206,"85":15104,"24":18,"16":139852866826272768,"45":8857032379960102912},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 20:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549939968001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:02:43] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 20:02:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139852866826272768,"km_value":139852866826272.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857032379960102912,"description":"Unknown IO ID 45"} 
[2026-10-05 20:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549939968001,"power":12385,"unknown_208":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8857032379960102912}} 
[2026-10-05 20:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":204866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969718,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:02:43] local.INFO: GPS data processed {"connection_id":204866,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:02:43] local.INFO: Acknowledgment sent {"connection_id":204866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:02:43] local.INFO: Packet analysis {"connection_id":204866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7a"} 
[2026-10-05 20:02:43] local.INFO: Extracted packet for processing {"connection_id":204866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7a"} 
[2026-10-05 20:02:43] local.INFO: GPS Element Parsed {"raw_longitude":763034560,"raw_latitude":98791808,"longitude_deg":76.303456,"latitude_deg":9.8791808,"altitude":11,"angle":162,"satellites":44,"speed":22,"hex_longitude":"2d7afbc0","hex_latitude":"05e37180","is_valid_coordinates":true} 
[2026-10-05 20:02: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-10-05 20:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549944064001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139853124524310528,"note":"Value kept but may cause issues"} 
[2026-10-05 20:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860269342190041088,"note":"Value kept but may cause issues"} 
[2026-10-05 20:02:43] 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-10-05 20:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791210739000,"timestamp_ms":1791210739000,"timestamp_seconds":1791210739,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7ad538"} 
[2026-10-05 20:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:02: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-10-05 20:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 20:02:43] 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-10-05 20:02: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-10-05 20:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549944064001,"66":12689,"208":206,"85":15104,"24":22,"16":139853124524310528,"45":8860269342190041088},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 20:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549944064001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:02:43] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 20:02:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139853124524310528,"km_value":139853124524310.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860269342190041088,"description":"Unknown IO ID 45"} 
[2026-10-05 20:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549944064001,"power":12689,"unknown_208":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8860269342190041088}} 
[2026-10-05 20:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":204866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969719,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:02:43] local.INFO: GPS data processed {"connection_id":204866,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:02:43] local.INFO: Acknowledgment sent {"connection_id":204866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:02:49] local.INFO: TCP Data received {"connection_id":204866,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7b0418012d7b05c005e35790000c009529..."} 
[2026-10-05 20:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7b0418012d7b05c005e35790000c009529..."} 
[2026-10-05 20:02:49] local.INFO: Processing buffer {"connection_id":204866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7b0418012d7b05c005e35790000c009529..."} 
[2026-10-05 20:02:49] local.INFO: Packet analysis {"connection_id":204866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7b"} 
[2026-10-05 20:02:49] local.INFO: Extracted packet for processing {"connection_id":204866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7b"} 
[2026-10-05 20:02:49] local.INFO: GPS Element Parsed {"raw_longitude":763037120,"raw_latitude":98785168,"longitude_deg":76.303712,"latitude_deg":9.8785168,"altitude":12,"angle":149,"satellites":41,"speed":21,"hex_longitude":"2d7b05c0","hex_latitude":"05e35790","is_valid_coordinates":true} 
[2026-10-05 20:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549949184001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139853472416661504,"note":"Value kept but may cause issues"} 
[2026-10-05 20:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861887823304818688,"note":"Value kept but may cause issues"} 
[2026-10-05 20:02:49] 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-10-05 20:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1791210751000,"timestamp_ms":1791210751000,"timestamp_seconds":1791210751,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7b0418"} 
[2026-10-05 20:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 20:02:49] 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-10-05 20:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":204866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":204866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":204866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549949184001,"66":12287,"208":206,"85":15104,"24":21,"16":139853472416661504,"45":8861887823304818688},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 20:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549949184001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:02:49] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 20:02:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139853472416661504,"km_value":139853472416661.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861887823304818688,"description":"Unknown IO ID 45"} 
[2026-10-05 20:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549949184001,"power":12287,"unknown_208":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8861887823304818688}} 
[2026-10-05 20:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":204866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:02:49] local.INFO: GPS data processed {"connection_id":204866,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:02:49] local.INFO: Acknowledgment sent {"connection_id":204866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:02:54] local.INFO: TCP Data received {"connection_id":204868,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:02:54] local.INFO: Processing buffer {"connection_id":204868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:02:54] local.INFO: IMEI packet received {"connection_id":204868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":204868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:02:59] local.INFO: TCP Data received {"connection_id":204868,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:02:59] local.INFO: Processing buffer {"connection_id":204868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:02:59] local.INFO: IMEI packet received {"connection_id":204868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":204868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:03:01] local.INFO: TCP Data received {"connection_id":204868,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7a67d8012d7c7d8005fb0100000e00ce2b..."} 
[2026-10-05 20:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7a67d8012d7c7d8005fb0100000e00ce2b..."} 
[2026-10-05 20:03:01] local.INFO: Processing buffer {"connection_id":204868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7a67d8012d7c7d8005fb0100000e00ce2b..."} 
[2026-10-05 20:03:01] local.INFO: Packet analysis {"connection_id":204868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7a"} 
[2026-10-05 20:03:01] local.INFO: Extracted packet for processing {"connection_id":204868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7a"} 
[2026-10-05 20:03:01] local.INFO: GPS Element Parsed {"raw_longitude":763133312,"raw_latitude":100335872,"longitude_deg":76.3133312,"latitude_deg":10.0335872,"altitude":14,"angle":206,"satellites":43,"speed":32,"hex_longitude":"2d7c7d80","hex_latitude":"05fb0100","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549939200001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2209348356931584,"note":"Value kept but may cause issues"} 
[2026-10-05 20:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974407445642348544,"note":"Value kept but may cause issues"} 
[2026-10-05 20:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791210711000,"timestamp_ms":1791210711000,"timestamp_seconds":1791210711,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7a67d8"} 
[2026-10-05 20:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:03: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-10-05 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-05 20:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":204868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":204868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":204868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:03: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-10-05 20:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549939200001,"66":27300,"34":206,"87":10752,"24":32,"16":2209348356931584,"45":8974407445642348544},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-10-05 20:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549939200001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:03:01] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-05 20:03:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 20:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2209348356931584,"km_value":2209348356931.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974407445642348544,"description":"Unknown IO ID 45"} 
[2026-10-05 20:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549939200001,"power":27300,"unknown_34":206,"unknown_87":10752,"ignition":32,"odometer":null,"unknown_45":8974407445642348544}} 
[2026-10-05 20:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":204868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:03:01] local.INFO: GPS data processed {"connection_id":204868,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:03:01] local.INFO: Acknowledgment sent {"connection_id":204868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:03:05] local.INFO: TCP Data received {"connection_id":207953,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:03:05] local.INFO: Processing buffer {"connection_id":207953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:03:05] local.INFO: IMEI packet received {"connection_id":207953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":207953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:03:10] local.INFO: TCP Data received {"connection_id":207953,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:03:10] local.INFO: Processing buffer {"connection_id":207953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:03:10] local.INFO: IMEI packet received {"connection_id":207953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":207953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:03:11] local.INFO: TCP Data received {"connection_id":207953,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:03:11] local.INFO: Processing buffer {"connection_id":207953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:03:11] local.INFO: Packet analysis {"connection_id":207953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:03:11] local.INFO: Extracted packet for processing {"connection_id":207953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:03:11] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":67,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:03: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-10-05 20:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549830144001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791210575000,"timestamp_ms":1791210575000,"timestamp_seconds":1791210575,"priority":1,"record_length":96,"hex_timestamp":"000001a10c785498"} 
[2026-10-05 20:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:03:11] 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-10-05 20:03: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":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:03: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-10-05 20:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549830144001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549830144001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:03:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:03:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549830144001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":207953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:03:11] local.INFO: GPS data processed {"connection_id":207953,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:03:11] local.INFO: Acknowledgment sent {"connection_id":207953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:03:30] local.INFO: TCP Data received {"connection_id":205006,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:03:30] local.INFO: Processing buffer {"connection_id":205006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:03:30] local.INFO: IMEI packet received {"connection_id":205006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":205006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:03:33] local.INFO: TCP Data received {"connection_id":204868,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7a92d0012d7c6b4005fae068000d00d22a..."} 
[2026-10-05 20:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7a92d0012d7c6b4005fae068000d00d22a..."} 
[2026-10-05 20:03:33] local.INFO: Processing buffer {"connection_id":204868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7a92d0012d7c6b4005fae068000d00d22a..."} 
[2026-10-05 20:03:33] local.INFO: Packet analysis {"connection_id":204868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7a"} 
[2026-10-05 20:03:33] local.INFO: Extracted packet for processing {"connection_id":204868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7a"} 
[2026-10-05 20:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763128640,"raw_latitude":100327528,"longitude_deg":76.312864,"latitude_deg":10.0327528,"altitude":13,"angle":210,"satellites":42,"speed":36,"hex_longitude":"2d7c6b40","hex_latitude":"05fae068","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549942016001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2209807918432256,"note":"Value kept but may cause issues"} 
[2026-10-05 20:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970466795966234624,"note":"Value kept but may cause issues"} 
[2026-10-05 20:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791210722000,"timestamp_ms":1791210722000,"timestamp_seconds":1791210722,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7a92d0"} 
[2026-10-05 20:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:03: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-10-05 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-05 20:03:33] 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-10-05 20: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-10-05 20:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549942016001,"66":27365,"34":206,"87":10752,"24":36,"16":2209807918432256,"45":8970466795966234624},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-10-05 20:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549942016001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:03:33] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-05 20:03:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 20:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2209807918432256,"km_value":2209807918432.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970466795966234624,"description":"Unknown IO ID 45"} 
[2026-10-05 20:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549942016001,"power":27365,"unknown_34":206,"unknown_87":10752,"ignition":36,"odometer":null,"unknown_45":8970466795966234624}} 
[2026-10-05 20:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":204868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:03:33] local.INFO: GPS data processed {"connection_id":204868,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:03:33] local.INFO: Acknowledgment sent {"connection_id":204868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:03:35] local.INFO: TCP Data received {"connection_id":205006,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:03:35] local.INFO: Processing buffer {"connection_id":205006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:03:35] local.INFO: IMEI packet received {"connection_id":205006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":205006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:03:37] local.INFO: TCP Data received {"connection_id":205006,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7b0fd0012d7b08c005e35378000c00802a..."} 
[2026-10-05 20:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7b0fd0012d7b08c005e35378000c00802a..."} 
[2026-10-05 20:03:37] local.INFO: Processing buffer {"connection_id":205006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7b0fd0012d7b08c005e35378000c00802a..."} 
[2026-10-05 20:03:37] local.INFO: Packet analysis {"connection_id":205006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7b"} 
[2026-10-05 20:03:37] local.INFO: Extracted packet for processing {"connection_id":205006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7b"} 
[2026-10-05 20:03:37] local.INFO: GPS Element Parsed {"raw_longitude":763037888,"raw_latitude":98784120,"longitude_deg":76.3037888,"latitude_deg":9.878412,"altitude":12,"angle":128,"satellites":42,"speed":12,"hex_longitude":"2d7b08c0","hex_latitude":"05e35378","is_valid_coordinates":true} 
[2026-10-05 20:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549952256001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139853532546203648,"note":"Value kept but may cause issues"} 
[2026-10-05 20:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864702573070225408,"note":"Value kept but may cause issues"} 
[2026-10-05 20:03: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-10-05 20:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791210754000,"timestamp_ms":1791210754000,"timestamp_seconds":1791210754,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7b0fd0"} 
[2026-10-05 20:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:03:37] 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-10-05 20:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 20:03:37] 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-10-05 20:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549952256001,"66":12461,"208":206,"85":15104,"24":12,"16":139853532546203648,"45":8864702573070225408},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 20:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549952256001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:03:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 20:03:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139853532546203648,"km_value":139853532546203.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864702573070225408,"description":"Unknown IO ID 45"} 
[2026-10-05 20:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549952256001,"power":12461,"unknown_208":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8864702573070225408}} 
[2026-10-05 20:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":205006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:03:37] local.INFO: GPS data processed {"connection_id":205006,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:03:37] local.INFO: Acknowledgment sent {"connection_id":205006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:03:46] local.INFO: TCP Data received {"connection_id":207953,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:03:46] local.INFO: Processing buffer {"connection_id":207953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:03:46] local.INFO: Packet analysis {"connection_id":207953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:03:46] local.INFO: Extracted packet for processing {"connection_id":207953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:03:46] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":67,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549830144001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791210575000,"timestamp_ms":1791210575000,"timestamp_seconds":1791210575,"priority":1,"record_length":96,"hex_timestamp":"000001a10c785498"} 
[2026-10-05 20:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:03:46] 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-10-05 20:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":207953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":207953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":207953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549830144001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549830144001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:03:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:03:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549830144001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":207953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:03:46] local.INFO: GPS data processed {"connection_id":207953,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:03:46] local.INFO: Acknowledgment sent {"connection_id":207953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:03:54] local.INFO: TCP Data received {"connection_id":206391,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:03:54] local.INFO: Processing buffer {"connection_id":206391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:03:54] local.INFO: IMEI packet received {"connection_id":206391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":206391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:03:59] local.INFO: TCP Data received {"connection_id":206391,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:03:59] local.INFO: Processing buffer {"connection_id":206391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:03:59] local.INFO: IMEI packet received {"connection_id":206391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":206391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:04:00] local.INFO: TCP Data received {"connection_id":206391,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7ab9e0012d7c57c005fabf70000b00d12a..."} 
[2026-10-05 20:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7ab9e0012d7c57c005fabf70000b00d12a..."} 
[2026-10-05 20:04:00] local.INFO: Processing buffer {"connection_id":206391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7ab9e0012d7c57c005fabf70000b00d12a..."} 
[2026-10-05 20:04:00] local.INFO: Packet analysis {"connection_id":206391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7a"} 
[2026-10-05 20:04:00] local.INFO: Extracted packet for processing {"connection_id":206391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7a"} 
[2026-10-05 20:04:00] local.INFO: GPS Element Parsed {"raw_longitude":763123648,"raw_latitude":100319088,"longitude_deg":76.3123648,"latitude_deg":10.0319088,"altitude":11,"angle":209,"satellites":42,"speed":41,"hex_longitude":"2d7c57c0","hex_latitude":"05fabf70","is_valid_coordinates":true} 
[2026-10-05 20:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549944832001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2210284659802112,"note":"Value kept but may cause issues"} 
[2026-10-05 20:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965329877639129088,"note":"Value kept but may cause issues"} 
[2026-10-05 20:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791210732000,"timestamp_ms":1791210732000,"timestamp_seconds":1791210732,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7ab9e0"} 
[2026-10-05 20:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:04: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-10-05 20:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-05 20:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:04:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:04: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-10-05 20:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549944832001,"66":27484,"34":206,"87":10752,"24":41,"16":2210284659802112,"45":8965329877639129088},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-10-05 20:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549944832001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:04:00] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-05 20:04:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 20:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2210284659802112,"km_value":2210284659802.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965329877639129088,"description":"Unknown IO ID 45"} 
[2026-10-05 20:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549944832001,"power":27484,"unknown_34":206,"unknown_87":10752,"ignition":41,"odometer":null,"unknown_45":8965329877639129088}} 
[2026-10-05 20:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":206391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:04:00] local.INFO: GPS data processed {"connection_id":206391,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:04:00] local.INFO: Acknowledgment sent {"connection_id":206391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:04:04] local.INFO: TCP Data received {"connection_id":205007,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:04:04] local.INFO: Processing buffer {"connection_id":205007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:04:04] local.INFO: IMEI packet received {"connection_id":205007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":205007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:04:10] local.INFO: TCP Data received {"connection_id":205006,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7b13b8012d7b0a0005e352d8000c00732c..."} 
[2026-10-05 20:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7b13b8012d7b0a0005e352d8000c00732c..."} 
[2026-10-05 20:04:10] local.INFO: Processing buffer {"connection_id":205006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7b13b8012d7b0a0005e352d8000c00732c..."} 
[2026-10-05 20:04:10] local.INFO: Packet analysis {"connection_id":205006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7b"} 
[2026-10-05 20:04:10] local.INFO: Extracted packet for processing {"connection_id":205006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7b"} 
[2026-10-05 20:04:10] local.INFO: GPS Element Parsed {"raw_longitude":763038208,"raw_latitude":98783960,"longitude_deg":76.3038208,"latitude_deg":9.878396,"altitude":12,"angle":115,"satellites":44,"speed":10,"hex_longitude":"2d7b0a00","hex_latitude":"05e352d8","is_valid_coordinates":true} 
[2026-10-05 20:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549953024001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139853549726072832,"note":"Value kept but may cause issues"} 
[2026-10-05 20:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865546998000089088,"note":"Value kept but may cause issues"} 
[2026-10-05 20:04:10] 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-10-05 20:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791210755000,"timestamp_ms":1791210755000,"timestamp_seconds":1791210755,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7b13b8"} 
[2026-10-05 20:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 20:04:10] 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-10-05 20:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":205006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":205006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":205006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549953024001,"66":12874,"208":206,"85":15104,"24":10,"16":139853549726072832,"45":8865546998000089088},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 20:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549953024001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:04:10] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 20:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139853549726072832,"km_value":139853549726072.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865546998000089088,"description":"Unknown IO ID 45"} 
[2026-10-05 20:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549953024001,"power":12874,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8865546998000089088}} 
[2026-10-05 20:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":205006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:04:10] local.INFO: GPS data processed {"connection_id":205006,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:04:10] local.INFO: Acknowledgment sent {"connection_id":205006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:04:10] local.INFO: TCP Data received {"connection_id":205007,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:04:10] local.INFO: Processing buffer {"connection_id":205007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:04:10] local.INFO: IMEI packet received {"connection_id":205007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":205007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:04:12] local.INFO: TCP Data received {"connection_id":205007,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:04:12] local.INFO: Processing buffer {"connection_id":205007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:04:12] local.INFO: Packet analysis {"connection_id":205007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:04:12] local.INFO: Extracted packet for processing {"connection_id":205007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:04:12] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":67,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549830144001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791210575000,"timestamp_ms":1791210575000,"timestamp_seconds":1791210575,"priority":1,"record_length":96,"hex_timestamp":"000001a10c785498"} 
[2026-10-05 20:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":205007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":205007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":205007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549830144001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549830144001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:04:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:04:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549830144001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":205007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:04:12] local.INFO: GPS data processed {"connection_id":205007,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:04:12] local.INFO: Acknowledgment sent {"connection_id":205007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:04:31] local.INFO: TCP Data received {"connection_id":204869,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:04:31] local.INFO: Processing buffer {"connection_id":204869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:04:31] local.INFO: IMEI packet received {"connection_id":204869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":204869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:04:31] local.INFO: TCP Data received {"connection_id":206391,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7ae0f0012d7c444005fa9f48000900d52a..."} 
[2026-10-05 20:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7ae0f0012d7c444005fa9f48000900d52a..."} 
[2026-10-05 20:04:31] local.INFO: Processing buffer {"connection_id":206391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7ae0f0012d7c444005fa9f48000900d52a..."} 
[2026-10-05 20:04:31] local.INFO: Packet analysis {"connection_id":206391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7a"} 
[2026-10-05 20:04:31] local.INFO: Extracted packet for processing {"connection_id":206391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7a"} 
[2026-10-05 20:04:31] local.INFO: GPS Element Parsed {"raw_longitude":763118656,"raw_latitude":100310856,"longitude_deg":76.3118656,"latitude_deg":10.0310856,"altitude":9,"angle":213,"satellites":42,"speed":31,"hex_longitude":"2d7c4440","hex_latitude":"05fa9f48","is_valid_coordinates":true} 
[2026-10-05 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-10-05 20:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549947392001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2210748516270080,"note":"Value kept but may cause issues"} 
[2026-10-05 20:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8959841115591110656,"note":"Value kept but may cause issues"} 
[2026-10-05 20:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791210742000,"timestamp_ms":1791210742000,"timestamp_seconds":1791210742,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7ae0f0"} 
[2026-10-05 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-10-05 20:04: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-10-05 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 20:04:31] 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-10-05 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-10-05 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-10-05 20:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549947392001,"66":27397,"34":206,"87":10752,"24":31,"16":2210748516270080,"45":8959841115591110656},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-10-05 20:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549947392001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:04:31] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-05 20:04:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 20:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2210748516270080,"km_value":2210748516270.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8959841115591110656,"description":"Unknown IO ID 45"} 
[2026-10-05 20:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549947392001,"power":27397,"unknown_34":206,"unknown_87":10752,"ignition":31,"odometer":null,"unknown_45":8959841115591110656}} 
[2026-10-05 20:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":206391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:04:31] local.INFO: GPS data processed {"connection_id":206391,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:04:31] local.INFO: Acknowledgment sent {"connection_id":206391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:04:36] local.INFO: TCP Data received {"connection_id":204869,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:04:36] local.INFO: Processing buffer {"connection_id":204869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:04:36] local.INFO: IMEI packet received {"connection_id":204869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":204869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:04:38] local.INFO: TCP Data received {"connection_id":204869,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7b17a0012d7b0ac005e352a0000d00602a..."} 
[2026-10-05 20:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7b17a0012d7b0ac005e352a0000d00602a..."} 
[2026-10-05 20:04:38] local.INFO: Processing buffer {"connection_id":204869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7b17a0012d7b0ac005e352a0000d00602a..."} 
[2026-10-05 20:04:38] local.INFO: Packet analysis {"connection_id":204869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7b"} 
[2026-10-05 20:04:38] local.INFO: Extracted packet for processing {"connection_id":204869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7b"} 
[2026-10-05 20:04:38] local.INFO: GPS Element Parsed {"raw_longitude":763038400,"raw_latitude":98783904,"longitude_deg":76.30384,"latitude_deg":9.8783904,"altitude":13,"angle":96,"satellites":42,"speed":10,"hex_longitude":"2d7b0ac0","hex_latitude":"05e352a0","is_valid_coordinates":true} 
[2026-10-05 20:04: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-10-05 20:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549953280001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139853562610974720,"note":"Value kept but may cause issues"} 
[2026-10-05 20:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865898841720936448,"note":"Value kept but may cause issues"} 
[2026-10-05 20:04:38] 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-10-05 20:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791210756000,"timestamp_ms":1791210756000,"timestamp_seconds":1791210756,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7b17a0"} 
[2026-10-05 20:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:04: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":74,"data_length":795,"current_offset":136} 
[2026-10-05 20:04:38] 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-10-05 20:04: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-10-05 20:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549953280001,"66":12874,"208":206,"85":15104,"24":10,"16":139853562610974720,"45":8865898841720936448},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 20:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549953280001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:04:38] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 20:04:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139853562610974720,"km_value":139853562610974.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865898841720936448,"description":"Unknown IO ID 45"} 
[2026-10-05 20:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549953280001,"power":12874,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8865898841720936448}} 
[2026-10-05 20:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":204869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969730,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:04:38] local.INFO: GPS data processed {"connection_id":204869,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:04:38] local.INFO: Acknowledgment sent {"connection_id":204869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:04:44] local.INFO: TCP Data received {"connection_id":205007,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:04:44] local.INFO: Processing buffer {"connection_id":205007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c785498012d196600071feee80043015427..."} 
[2026-10-05 20:04:44] local.INFO: Packet analysis {"connection_id":205007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:04:44] local.INFO: Extracted packet for processing {"connection_id":205007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c78"} 
[2026-10-05 20:04:44] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":67,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549830144001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791210575000,"timestamp_ms":1791210575000,"timestamp_seconds":1791210575,"priority":1,"record_length":96,"hex_timestamp":"000001a10c785498"} 
[2026-10-05 20:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":205007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":205007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":205007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549830144001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549830144001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:04:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:04:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549830144001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":205007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:04:44] local.INFO: GPS data processed {"connection_id":205007,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:04:44] local.INFO: Acknowledgment sent {"connection_id":205007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:04:58] local.INFO: TCP Data received {"connection_id":207954,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207954,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:04:58] local.INFO: Processing buffer {"connection_id":207954,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:04:58] local.INFO: IMEI packet received {"connection_id":207954,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 20:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":207954,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:04:59] local.INFO: TCP Data received {"connection_id":205008,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:04:59] local.INFO: Processing buffer {"connection_id":205008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:04:59] local.INFO: IMEI packet received {"connection_id":205008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":205008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:05:00] local.INFO: TCP Data received {"connection_id":205008,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:05:00] local.INFO: Processing buffer {"connection_id":205008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:05:00] local.INFO: IMEI packet received {"connection_id":205008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":205008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:05:04] local.INFO: TCP Data received {"connection_id":205008,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:05:04] local.INFO: Processing buffer {"connection_id":205008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:05:04] local.INFO: IMEI packet received {"connection_id":205008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":205008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:05:05] local.INFO: TCP Data received {"connection_id":205008,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7b0fd0012d7c384005fa8a70000a00c923..."} 
[2026-10-05 20:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7b0fd0012d7c384005fa8a70000a00c923..."} 
[2026-10-05 20:05:05] local.INFO: Processing buffer {"connection_id":205008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7b0fd0012d7c384005fa8a70000a00c923..."} 
[2026-10-05 20:05:05] local.INFO: Packet analysis {"connection_id":205008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7b"} 
[2026-10-05 20:05:05] local.INFO: Extracted packet for processing {"connection_id":205008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7b"} 
[2026-10-05 20:05:05] local.INFO: GPS Element Parsed {"raw_longitude":763115584,"raw_latitude":100305520,"longitude_deg":76.3115584,"latitude_deg":10.030552,"altitude":10,"angle":201,"satellites":35,"speed":10,"hex_longitude":"2d7c3840","hex_latitude":"05fa8a70","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549949952001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2211044869013504,"note":"Value kept but may cause issues"} 
[2026-10-05 20:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954352353543145472,"note":"Value kept but may cause issues"} 
[2026-10-05 20:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791210754000,"timestamp_ms":1791210754000,"timestamp_seconds":1791210754,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7b0fd0"} 
[2026-10-05 20:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:05: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-10-05 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-05 20:05: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-10-05 20: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-10-05 20:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:05:05] 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-10-05 20:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549949952001,"66":27484,"34":206,"87":10752,"24":10,"16":2211044869013504,"45":8954352353543145472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-10-05 20:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549949952001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:05:05] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-05 20:05:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 20:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2211044869013504,"km_value":2211044869013.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954352353543145472,"description":"Unknown IO ID 45"} 
[2026-10-05 20:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549949952001,"power":27484,"unknown_34":206,"unknown_87":10752,"ignition":10,"odometer":null,"unknown_45":8954352353543145472}} 
[2026-10-05 20:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":205008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:05:05] local.INFO: GPS data processed {"connection_id":205008,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:05:05] local.INFO: Acknowledgment sent {"connection_id":205008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:05:10] local.INFO: TCP Data received {"connection_id":204869,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7d32b0012d7b574005e3b518000800bd2b..."} 
[2026-10-05 20:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7d32b0012d7b574005e3b518000800bd2b..."} 
[2026-10-05 20:05:10] local.INFO: Processing buffer {"connection_id":204869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7d32b0012d7b574005e3b518000800bd2b..."} 
[2026-10-05 20:05:10] local.INFO: Packet analysis {"connection_id":204869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7d"} 
[2026-10-05 20:05:10] local.INFO: Extracted packet for processing {"connection_id":204869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7d"} 
[2026-10-05 20:05:10] local.INFO: GPS Element Parsed {"raw_longitude":763057984,"raw_latitude":98809112,"longitude_deg":76.3057984,"latitude_deg":9.8809112,"altitude":8,"angle":189,"satellites":43,"speed":14,"hex_longitude":"2d7b5740","hex_latitude":"05e3b518","is_valid_coordinates":true} 
[2026-10-05 20:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549988608001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139855220468350976,"note":"Value kept but may cause issues"} 
[2026-10-05 20:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887642783678369792,"note":"Value kept but may cause issues"} 
[2026-10-05 20:05:10] 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-10-05 20:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791210894000,"timestamp_ms":1791210894000,"timestamp_seconds":1791210894,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7d32b0"} 
[2026-10-05 20:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-05 20:05:10] 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-10-05 20:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":204869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":204869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":204869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549988608001,"66":12515,"208":206,"85":15104,"24":14,"16":139855220468350976,"45":8887642783678369792},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 20:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549988608001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:05:10] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 20:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139855220468350976,"km_value":139855220468350.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887642783678369792,"description":"Unknown IO ID 45"} 
[2026-10-05 20:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549988608001,"power":12515,"unknown_208":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8887642783678369792}} 
[2026-10-05 20:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":204869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969733,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:05:10] local.INFO: GPS data processed {"connection_id":204869,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:05:10] local.INFO: Acknowledgment sent {"connection_id":204869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:05:10] local.INFO: TCP Data received {"connection_id":205008,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7b2358012d7c358005fa8490000900d923..."} 
[2026-10-05 20:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7b2358012d7c358005fa8490000900d923..."} 
[2026-10-05 20:05:10] local.INFO: Processing buffer {"connection_id":205008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7b2358012d7c358005fa8490000900d923..."} 
[2026-10-05 20:05:10] local.INFO: Packet analysis {"connection_id":205008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7b"} 
[2026-10-05 20:05:10] local.INFO: Extracted packet for processing {"connection_id":205008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7b"} 
[2026-10-05 20:05:10] local.INFO: GPS Element Parsed {"raw_longitude":763114880,"raw_latitude":100304016,"longitude_deg":76.311488,"latitude_deg":10.0304016,"altitude":9,"angle":217,"satellites":35,"speed":16,"hex_longitude":"2d7c3580","hex_latitude":"05fa8490","is_valid_coordinates":true} 
[2026-10-05 20:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549953024001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2211126473392128,"note":"Value kept but may cause issues"} 
[2026-10-05 20:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950974653821251584,"note":"Value kept but may cause issues"} 
[2026-10-05 20:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791210759000,"timestamp_ms":1791210759000,"timestamp_seconds":1791210759,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7b2358"} 
[2026-10-05 20:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:05: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-10-05 20:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 20:05:10] 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-10-05 20:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":205008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":205008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":205008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:05:10] 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-10-05 20:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549953024001,"66":27376,"34":206,"87":10752,"24":16,"16":2211126473392128,"45":8950974653821251584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-10-05 20:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549953024001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:05:10] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-05 20:05:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-05 20:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2211126473392128,"km_value":2211126473392.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950974653821251584,"description":"Unknown IO ID 45"} 
[2026-10-05 20:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549953024001,"power":27376,"unknown_34":206,"unknown_87":10752,"ignition":16,"odometer":null,"unknown_45":8950974653821251584}} 
[2026-10-05 20:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":205008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:05:10] local.INFO: GPS data processed {"connection_id":205008,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:05:10] local.INFO: Acknowledgment sent {"connection_id":205008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:05:10] local.INFO: TCP Data received {"connection_id":207955,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:05:10] local.INFO: Processing buffer {"connection_id":207955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:05:10] local.INFO: IMEI packet received {"connection_id":207955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":207955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:05:19] local.INFO: TCP Data received {"connection_id":207955,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:05:19] local.INFO: Processing buffer {"connection_id":207955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:05:19] local.INFO: IMEI packet received {"connection_id":207955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":207955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:05:21] local.INFO: TCP Data received {"connection_id":207955,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7cec60012d196600071feee80043015427..."} 
[2026-10-05 20:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7cec60012d196600071feee80043015427..."} 
[2026-10-05 20:05:21] local.INFO: Processing buffer {"connection_id":207955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7cec60012d196600071feee80043015427..."} 
[2026-10-05 20:05:21] local.INFO: Packet analysis {"connection_id":207955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7c"} 
[2026-10-05 20:05:21] local.INFO: Extracted packet for processing {"connection_id":207955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7c"} 
[2026-10-05 20:05:21] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":67,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549907200001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791210876000,"timestamp_ms":1791210876000,"timestamp_seconds":1791210876,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7cec60"} 
[2026-10-05 20:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:05:21] 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-10-05 20:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":207955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":207955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":207955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549907200001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549907200001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:05:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:05:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549907200001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":207955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:05:21] local.INFO: GPS data processed {"connection_id":207955,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:05:21] local.INFO: Acknowledgment sent {"connection_id":207955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:05:23] local.INFO: TCP Data received {"connection_id":207955,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7cec60012d196600071feee80043015427..."} 
[2026-10-05 20:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7cec60012d196600071feee80043015427..."} 
[2026-10-05 20:05:23] local.INFO: Processing buffer {"connection_id":207955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7cec60012d196600071feee80043015427..."} 
[2026-10-05 20:05:23] local.INFO: Packet analysis {"connection_id":207955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7c"} 
[2026-10-05 20:05:23] local.INFO: Extracted packet for processing {"connection_id":207955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7c"} 
[2026-10-05 20:05:23] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":67,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549907200001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1791210876000,"timestamp_ms":1791210876000,"timestamp_seconds":1791210876,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7cec60"} 
[2026-10-05 20:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:05:23] 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-10-05 20:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:05:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":207955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":207955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":207955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549907200001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549907200001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:05:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:05:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549907200001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":207955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:05:23] local.INFO: GPS data processed {"connection_id":207955,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:05:23] local.INFO: Acknowledgment sent {"connection_id":207955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:05:29] local.INFO: TCP Data received {"connection_id":207956,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:05:29] local.INFO: Processing buffer {"connection_id":207956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:05:29] local.INFO: IMEI packet received {"connection_id":207956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":207956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:05:30] local.INFO: TCP Data received {"connection_id":207956,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:05:30] local.INFO: Processing buffer {"connection_id":207956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:05:30] local.INFO: IMEI packet received {"connection_id":207956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":207956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:05:32] local.INFO: TCP Data received {"connection_id":207956,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:05:32] local.INFO: Processing buffer {"connection_id":207956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:05:32] local.INFO: IMEI packet received {"connection_id":207956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":207956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:05:33] local.INFO: TCP Data received {"connection_id":207957,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207957,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:05:33] local.INFO: Processing buffer {"connection_id":207957,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:05:33] local.INFO: IMEI packet received {"connection_id":207957,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 20:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":207957,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:05:39] local.INFO: TCP Data received {"connection_id":207956,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:05:39] local.INFO: Processing buffer {"connection_id":207956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:05:39] local.INFO: IMEI packet received {"connection_id":207956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":207956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:05:43] local.INFO: TCP Data received {"connection_id":207956,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7d3698012d7b570005e3b3a8000800c92b..."} 
[2026-10-05 20:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7d3698012d7b570005e3b3a8000800c92b..."} 
[2026-10-05 20:05:43] local.INFO: Processing buffer {"connection_id":207956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7d3698012d7b570005e3b3a8000800c92b..."} 
[2026-10-05 20:05:43] local.INFO: Packet analysis {"connection_id":207956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7d"} 
[2026-10-05 20:05:43] local.INFO: Extracted packet for processing {"connection_id":207956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7d"} 
[2026-10-05 20:05:43] local.INFO: GPS Element Parsed {"raw_longitude":763057920,"raw_latitude":98808744,"longitude_deg":76.305792,"latitude_deg":9.8808744,"altitude":8,"angle":201,"satellites":43,"speed":14,"hex_longitude":"2d7b5700","hex_latitude":"05e3b3a8","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549988864001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139855237648220160,"note":"Value kept but may cause issues"} 
[2026-10-05 20:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887642783678273536,"note":"Value kept but may cause issues"} 
[2026-10-05 20:05:43] 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-10-05 20:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791210895000,"timestamp_ms":1791210895000,"timestamp_seconds":1791210895,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7d3698"} 
[2026-10-05 20:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:05: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-10-05 20: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-05 20:05:43] 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-10-05 20: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-10-05 20:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549988864001,"66":12798,"208":206,"85":15104,"24":14,"16":139855237648220160,"45":8887642783678273536},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 20:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549988864001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:05:43] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 20:05:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139855237648220160,"km_value":139855237648220.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887642783678273536,"description":"Unknown IO ID 45"} 
[2026-10-05 20:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549988864001,"power":12798,"unknown_208":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8887642783678273536}} 
[2026-10-05 20:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":207956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969737,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:05:43] local.INFO: GPS data processed {"connection_id":207956,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:05:43] local.INFO: Acknowledgment sent {"connection_id":207956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:05:58] local.INFO: TCP Data received {"connection_id":205009,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:05:58] local.INFO: Processing buffer {"connection_id":205009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:05:58] local.INFO: IMEI packet received {"connection_id":205009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":205009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:05:59] local.INFO: TCP Data received {"connection_id":205009,"ip":"42.106.6.21","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 20:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205009,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 20:05:59] local.INFO: Processing buffer {"connection_id":205009,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 20:05:59] local.INFO: IMEI packet received {"connection_id":205009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":205009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:06:00] local.INFO: TCP Data received {"connection_id":205009,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7d1758012d7b7a8005f943b0000800d12c..."} 
[2026-10-05 20:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7d1758012d7b7a8005f943b0000800d12c..."} 
[2026-10-05 20:06:00] local.INFO: Processing buffer {"connection_id":205009,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a10c..."} 
[2026-10-05 20:06:00] local.INFO: IMEI packet received {"connection_id":205009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":205009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:06:04] local.INFO: TCP Data received {"connection_id":205010,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:06:04] local.INFO: Processing buffer {"connection_id":205010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:06:04] local.INFO: IMEI packet received {"connection_id":205010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":205010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:06:06] local.INFO: TCP Data received {"connection_id":205009,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7d55d8012d7b680005f923c0000800cf2d..."} 
[2026-10-05 20:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7d55d8012d7b680005f923c0000800cf2d..."} 
[2026-10-05 20:06:06] local.INFO: Processing buffer {"connection_id":205009,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a10c7d1758012d7b7a8005f943b0000800d12c..."} 
[2026-10-05 20:06:06] local.INFO: Packet analysis {"connection_id":205009,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a10c7d"} 
[2026-10-05 20:06:06] local.INFO: Extracted packet for processing {"connection_id":205009,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7d"} 
[2026-10-05 20:06:06] local.INFO: GPS Element Parsed {"raw_longitude":763067008,"raw_latitude":100221872,"longitude_deg":76.3067008,"latitude_deg":10.0221872,"altitude":8,"angle":209,"satellites":44,"speed":23,"hex_longitude":"2d7b7a80","hex_latitude":"05f943b0","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549983744001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2215726383366144,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902631326551789568,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:06] 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-10-05 20:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791210887000,"timestamp_ms":1791210887000,"timestamp_seconds":1791210887,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7d1758"} 
[2026-10-05 20:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-05 20:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:06:06] 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-10-05 20:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549983744001,"66":27267,"4":206,"87":12800,"24":23,"16":2215726383366144,"45":8902631326551789568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,87,24,16,45]} 
[2026-10-05 20:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549983744001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:06:06] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-10-05 20:06:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 20:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2215726383366144,"km_value":2215726383366.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902631326551789568,"description":"Unknown IO ID 45"} 
[2026-10-05 20:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549983744001,"power":27267,"unknown_4":206,"unknown_87":12800,"ignition":23,"odometer":null,"unknown_45":8902631326551789568}} 
[2026-10-05 20:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":205009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:06:06] local.INFO: GPS data processed {"connection_id":205009,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:06:06] local.INFO: Acknowledgment sent {"connection_id":205009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:06:06] local.INFO: Packet analysis {"connection_id":205009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7d"} 
[2026-10-05 20:06:06] local.INFO: Extracted packet for processing {"connection_id":205009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7d"} 
[2026-10-05 20:06:06] local.INFO: GPS Element Parsed {"raw_longitude":763062272,"raw_latitude":100213696,"longitude_deg":76.3062272,"latitude_deg":10.0213696,"altitude":8,"angle":207,"satellites":45,"speed":25,"hex_longitude":"2d7b6800","hex_latitude":"05f923c0","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549987072001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2216181649899520,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897564776968990720,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:06] 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-10-05 20:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791210903000,"timestamp_ms":1791210903000,"timestamp_seconds":1791210903,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7d55d8"} 
[2026-10-05 20:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-05 20:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:06:06] 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-10-05 20:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549987072001,"66":27300,"4":206,"87":12800,"24":25,"16":2216181649899520,"45":8897564776968990720},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,87,24,16,45]} 
[2026-10-05 20:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549987072001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:06:06] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-10-05 20:06:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 20:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2216181649899520,"km_value":2216181649899.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897564776968990720,"description":"Unknown IO ID 45"} 
[2026-10-05 20:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549987072001,"power":27300,"unknown_4":206,"unknown_87":12800,"ignition":25,"odometer":null,"unknown_45":8897564776968990720}} 
[2026-10-05 20:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":205009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:06:06] local.INFO: GPS data processed {"connection_id":205009,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:06:06] local.INFO: Acknowledgment sent {"connection_id":205009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:06:07] local.INFO: TCP Data received {"connection_id":205009,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7d88a0012d7b564005f90528000c00d127..."} 
[2026-10-05 20:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7d88a0012d7b564005f90528000c00d127..."} 
[2026-10-05 20:06:07] local.INFO: Processing buffer {"connection_id":205009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7d88a0012d7b564005f90528000c00d127..."} 
[2026-10-05 20:06:07] local.INFO: Packet analysis {"connection_id":205009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7d"} 
[2026-10-05 20:06:07] local.INFO: Extracted packet for processing {"connection_id":205009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7d"} 
[2026-10-05 20:06:07] local.INFO: GPS Element Parsed {"raw_longitude":763057728,"raw_latitude":100205864,"longitude_deg":76.3057728,"latitude_deg":10.0205864,"altitude":12,"angle":209,"satellites":39,"speed":33,"hex_longitude":"2d7b5640","hex_latitude":"05f90528","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549991168001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2216619736563712,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892357489897750528,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:07] 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-10-05 20:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791210916000,"timestamp_ms":1791210916000,"timestamp_seconds":1791210916,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7d88a0"} 
[2026-10-05 20:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:06: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-10-05 20:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-05 20:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549991168001,"66":27343,"4":206,"87":12800,"24":33,"16":2216619736563712,"45":8892357489897750528},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,87,24,16,45]} 
[2026-10-05 20:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549991168001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:06:07] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-10-05 20:06:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 20:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2216619736563712,"km_value":2216619736563.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892357489897750528,"description":"Unknown IO ID 45"} 
[2026-10-05 20:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549991168001,"power":27343,"unknown_4":206,"unknown_87":12800,"ignition":33,"odometer":null,"unknown_45":8892357489897750528}} 
[2026-10-05 20:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":205009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:06:07] local.INFO: GPS data processed {"connection_id":205009,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:06:07] local.INFO: Acknowledgment sent {"connection_id":205009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:06:10] local.INFO: TCP Data received {"connection_id":205010,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:06:10] local.INFO: Processing buffer {"connection_id":205010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:06:10] local.INFO: IMEI packet received {"connection_id":205010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":205010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:06:12] local.INFO: TCP Data received {"connection_id":205010,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7cec60012d196600071feee80043015427..."} 
[2026-10-05 20:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7cec60012d196600071feee80043015427..."} 
[2026-10-05 20:06:12] local.INFO: Processing buffer {"connection_id":205010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7cec60012d196600071feee80043015427..."} 
[2026-10-05 20:06:12] local.INFO: Packet analysis {"connection_id":205010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7c"} 
[2026-10-05 20:06:12] local.INFO: Extracted packet for processing {"connection_id":205010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7c"} 
[2026-10-05 20:06:12] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":67,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549907200001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791210876000,"timestamp_ms":1791210876000,"timestamp_seconds":1791210876,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7cec60"} 
[2026-10-05 20:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:06: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-10-05 20:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":205010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":205010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":205010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549907200001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549907200001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:06:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:06:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549907200001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":205010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:06:12] local.INFO: GPS data processed {"connection_id":205010,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:06:12] local.INFO: Acknowledgment sent {"connection_id":205010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:06:15] local.INFO: TCP Data received {"connection_id":207956,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7d4e08012d7b510005e3a988000800d52b..."} 
[2026-10-05 20:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7d4e08012d7b510005e3a988000800d52b..."} 
[2026-10-05 20:06:15] local.INFO: Processing buffer {"connection_id":207956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7d4e08012d7b510005e3a988000800d52b..."} 
[2026-10-05 20:06:15] local.INFO: Packet analysis {"connection_id":207956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7d"} 
[2026-10-05 20:06:15] local.INFO: Extracted packet for processing {"connection_id":207956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7d"} 
[2026-10-05 20:06:15] local.INFO: GPS Element Parsed {"raw_longitude":763056384,"raw_latitude":98806152,"longitude_deg":76.3056384,"latitude_deg":9.8806152,"altitude":8,"angle":213,"satellites":43,"speed":24,"hex_longitude":"2d7b5100","hex_latitude":"05e3a988","is_valid_coordinates":true} 
[2026-10-05 20:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549989120001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139855383677108224,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887572414934001664,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06: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-10-05 20:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791210901000,"timestamp_ms":1791210901000,"timestamp_seconds":1791210901,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7d4e08"} 
[2026-10-05 20:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:06: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-10-05 20:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 20:06:15] 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-10-05 20:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":207956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":207956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":207956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549989120001,"66":12200,"208":206,"85":15104,"24":24,"16":139855383677108224,"45":8887572414934001664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 20:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549989120001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:06:15] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 20:06:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139855383677108224,"km_value":139855383677108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887572414934001664,"description":"Unknown IO ID 45"} 
[2026-10-05 20:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549989120001,"power":12200,"unknown_208":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8887572414934001664}} 
[2026-10-05 20:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":207956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:06:15] local.INFO: GPS data processed {"connection_id":207956,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:06:15] local.INFO: Acknowledgment sent {"connection_id":207956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:06:30] local.INFO: TCP Data received {"connection_id":207959,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:06:30] local.INFO: Processing buffer {"connection_id":207959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:06:30] local.INFO: IMEI packet received {"connection_id":207959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":207959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:06:32] local.INFO: TCP Data received {"connection_id":207959,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:06:32] local.INFO: Processing buffer {"connection_id":207959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:06:32] local.INFO: IMEI packet received {"connection_id":207959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":207959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:06:33] local.INFO: TCP Data received {"connection_id":207959,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:06:33] local.INFO: Processing buffer {"connection_id":207959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:06:33] local.INFO: IMEI packet received {"connection_id":207959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":207959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:06:35] local.INFO: TCP Data received {"connection_id":207959,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:06:35] local.INFO: Processing buffer {"connection_id":207959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:06:35] local.INFO: IMEI packet received {"connection_id":207959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":207959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:06:36] local.INFO: TCP Data received {"connection_id":207959,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7e9df8012d7b12c005e312a80003009826..."} 
[2026-10-05 20:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7e9df8012d7b12c005e312a80003009826..."} 
[2026-10-05 20:06:36] local.INFO: Processing buffer {"connection_id":207959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7e9df8012d7b12c005e312a80003009826..."} 
[2026-10-05 20:06:36] local.INFO: Packet analysis {"connection_id":207959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7e"} 
[2026-10-05 20:06:36] local.INFO: Extracted packet for processing {"connection_id":207959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7e"} 
[2026-10-05 20:06:36] local.INFO: GPS Element Parsed {"raw_longitude":763040448,"raw_latitude":98767528,"longitude_deg":76.3040448,"latitude_deg":9.8767528,"altitude":3,"angle":152,"satellites":38,"speed":11,"hex_longitude":"2d7b12c0","hex_latitude":"05e312a8","is_valid_coordinates":true} 
[2026-10-05 20:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550010880001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139857496801017856,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867517322833356800,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06: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-10-05 20:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791210987000,"timestamp_ms":1791210987000,"timestamp_seconds":1791210987,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7e9df8"} 
[2026-10-05 20:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 20:06:36] 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-10-05 20:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550010880001,"66":12211,"208":206,"85":15104,"24":11,"16":139857496801017856,"45":8867517322833356800},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 20:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550010880001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:06:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 20:06:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139857496801017856,"km_value":139857496801017.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867517322833356800,"description":"Unknown IO ID 45"} 
[2026-10-05 20:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550010880001,"power":12211,"unknown_208":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8867517322833356800}} 
[2026-10-05 20:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":207959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969743,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:06:36] local.INFO: GPS data processed {"connection_id":207959,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:06:36] local.INFO: Acknowledgment sent {"connection_id":207959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:06:38] local.INFO: TCP Data received {"connection_id":207959,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7ea1e0012d7b138005e311e00003008b22..."} 
[2026-10-05 20:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7ea1e0012d7b138005e311e00003008b22..."} 
[2026-10-05 20:06:38] local.INFO: Processing buffer {"connection_id":207959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7ea1e0012d7b138005e311e00003008b22..."} 
[2026-10-05 20:06:38] local.INFO: Packet analysis {"connection_id":207959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7e"} 
[2026-10-05 20:06:38] local.INFO: Extracted packet for processing {"connection_id":207959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7e"} 
[2026-10-05 20:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763040640,"raw_latitude":98767328,"longitude_deg":76.304064,"latitude_deg":9.8767328,"altitude":3,"angle":139,"satellites":34,"speed":10,"hex_longitude":"2d7b1380","hex_latitude":"05e311e0","is_valid_coordinates":true} 
[2026-10-05 20:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550012672001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139857509685919744,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868361747762948096,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:38] 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-10-05 20:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791210988000,"timestamp_ms":1791210988000,"timestamp_seconds":1791210988,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7ea1e0"} 
[2026-10-05 20:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-05 20:06: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-10-05 20:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":207959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":207959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":207959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550012672001,"66":12211,"208":206,"85":15104,"24":10,"16":139857509685919744,"45":8868361747762948096},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 20:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550012672001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:06:38] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 20:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139857509685919744,"km_value":139857509685919.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868361747762948096,"description":"Unknown IO ID 45"} 
[2026-10-05 20:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550012672001,"power":12211,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8868361747762948096}} 
[2026-10-05 20:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":207959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969744,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:06:38] local.INFO: GPS data processed {"connection_id":207959,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:06:38] local.INFO: Acknowledgment sent {"connection_id":207959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:06:38] local.INFO: TCP Data received {"connection_id":205009,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7dafb0012d7b430005f8e5d0000e00d026..."} 
[2026-10-05 20:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7dafb0012d7b430005f8e5d0000e00d026..."} 
[2026-10-05 20:06:38] local.INFO: Processing buffer {"connection_id":205009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7dafb0012d7b430005f8e5d0000e00d026..."} 
[2026-10-05 20:06:38] local.INFO: Packet analysis {"connection_id":205009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7d"} 
[2026-10-05 20:06:38] local.INFO: Extracted packet for processing {"connection_id":205009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7d"} 
[2026-10-05 20:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763052800,"raw_latitude":100197840,"longitude_deg":76.30528,"latitude_deg":10.019784,"altitude":14,"angle":208,"satellites":38,"speed":28,"hex_longitude":"2d7b4300","hex_latitude":"05f8e5d0","is_valid_coordinates":true} 
[2026-10-05 20:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549994496001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2217075003097088,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887361309059131392,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:38] 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-10-05 20:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791210926000,"timestamp_ms":1791210926000,"timestamp_seconds":1791210926,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7dafb0"} 
[2026-10-05 20:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:06: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-10-05 20:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-05 20:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:06:38] 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-10-05 20:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549994496001,"66":27397,"5":206,"87":12800,"24":28,"16":2217075003097088,"45":8887361309059131392},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-10-05 20:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549994496001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:06:38] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-05 20:06:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 20:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2217075003097088,"km_value":2217075003097.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887361309059131392,"description":"Unknown IO ID 45"} 
[2026-10-05 20:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549994496001,"power":27397,"unknown_5":206,"unknown_87":12800,"ignition":28,"odometer":null,"unknown_45":8887361309059131392}} 
[2026-10-05 20:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":205009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:06:38] local.INFO: GPS data processed {"connection_id":205009,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:06:38] local.INFO: Acknowledgment sent {"connection_id":205009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:06:44] local.INFO: TCP Data received {"connection_id":205010,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7cec60012d196600071feee80043015427..."} 
[2026-10-05 20:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7cec60012d196600071feee80043015427..."} 
[2026-10-05 20:06:44] local.INFO: Processing buffer {"connection_id":205010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7cec60012d196600071feee80043015427..."} 
[2026-10-05 20:06:44] local.INFO: Packet analysis {"connection_id":205010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7c"} 
[2026-10-05 20:06:44] local.INFO: Extracted packet for processing {"connection_id":205010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7c"} 
[2026-10-05 20:06:44] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":67,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549907200001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791210876000,"timestamp_ms":1791210876000,"timestamp_seconds":1791210876,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7cec60"} 
[2026-10-05 20:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":205010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":205010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":205010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549907200001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549907200001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:06:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:06:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549907200001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":205010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:06:45] local.INFO: GPS data processed {"connection_id":205010,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:06:45] local.INFO: Acknowledgment sent {"connection_id":205010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:06:54] local.INFO: TCP Data received {"connection_id":207960,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:06:54] local.INFO: Processing buffer {"connection_id":207960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:06:54] local.INFO: IMEI packet received {"connection_id":207960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":207960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:06:55] local.INFO: TCP Data received {"connection_id":207960,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:06:55] local.INFO: Processing buffer {"connection_id":207960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:06:55] local.INFO: IMEI packet received {"connection_id":207960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":207960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:06:59] local.INFO: TCP Data received {"connection_id":207960,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:06:59] local.INFO: Processing buffer {"connection_id":207960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:06:59] local.INFO: IMEI packet received {"connection_id":207960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":207960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:06:59] local.INFO: TCP Data received {"connection_id":207960,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7de278012d7b384005f8d328000d00dd21..."} 
[2026-10-05 20:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7de278012d7b384005f8d328000d00dd21..."} 
[2026-10-05 20:06:59] local.INFO: Processing buffer {"connection_id":207960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7de278012d7b384005f8d328000d00dd21..."} 
[2026-10-05 20:06:59] local.INFO: Packet analysis {"connection_id":207960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7d"} 
[2026-10-05 20:06:59] local.INFO: Extracted packet for processing {"connection_id":207960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7d"} 
[2026-10-05 20:06:59] local.INFO: GPS Element Parsed {"raw_longitude":763050048,"raw_latitude":100193064,"longitude_deg":76.3050048,"latitude_deg":10.0193064,"altitude":13,"angle":221,"satellites":33,"speed":10,"hex_longitude":"2d7b3840","hex_latitude":"05f8d328","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549997056001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2217341291069440,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881942915755397120,"note":"Value kept but may cause issues"} 
[2026-10-05 20:06:59] 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-10-05 20:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791210939000,"timestamp_ms":1791210939000,"timestamp_seconds":1791210939,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7de278"} 
[2026-10-05 20:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:06: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-10-05 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-05 20:06: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-10-05 20: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-10-05 20:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":207960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":207960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":207960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549997056001,"66":27484,"5":206,"87":12800,"24":10,"16":2217341291069440,"45":8881942915755397120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-10-05 20:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549997056001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:06:59] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-05 20:06:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 20:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2217341291069440,"km_value":2217341291069.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881942915755397120,"description":"Unknown IO ID 45"} 
[2026-10-05 20:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549997056001,"power":27484,"unknown_5":206,"unknown_87":12800,"ignition":10,"odometer":null,"unknown_45":8881942915755397120}} 
[2026-10-05 20:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":207960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:06:59] local.INFO: GPS data processed {"connection_id":207960,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:06:59] local.INFO: Acknowledgment sent {"connection_id":207960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:07:04] local.INFO: TCP Data received {"connection_id":204870,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:07:04] local.INFO: Processing buffer {"connection_id":204870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:07:04] local.INFO: IMEI packet received {"connection_id":204870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":204870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:07:09] local.INFO: TCP Data received {"connection_id":207959,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7ea9b0012d7b148005e30fe00003009922..."} 
[2026-10-05 20:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7ea9b0012d7b148005e30fe00003009922..."} 
[2026-10-05 20:07:09] local.INFO: Processing buffer {"connection_id":207959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7ea9b0012d7b148005e30fe00003009922..."} 
[2026-10-05 20:07:09] local.INFO: Packet analysis {"connection_id":207959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7e"} 
[2026-10-05 20:07:09] local.INFO: Extracted packet for processing {"connection_id":207959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7e"} 
[2026-10-05 20:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763040896,"raw_latitude":98766816,"longitude_deg":76.3040896,"latitude_deg":9.8766816,"altitude":3,"angle":153,"satellites":34,"speed":12,"hex_longitude":"2d7b1480","hex_latitude":"05e30fe0","is_valid_coordinates":true} 
[2026-10-05 20:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550012928001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139857535455723520,"note":"Value kept but may cause issues"} 
[2026-10-05 20:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868572853995429888,"note":"Value kept but may cause issues"} 
[2026-10-05 20:07:09] 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-10-05 20:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791210990000,"timestamp_ms":1791210990000,"timestamp_seconds":1791210990,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7ea9b0"} 
[2026-10-05 20:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-05 20:07:09] 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-10-05 20:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":207959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":207959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":207959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550012928001,"66":12624,"208":206,"85":15104,"24":12,"16":139857535455723520,"45":8868572853995429888},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 20:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550012928001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:07:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 20:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139857535455723520,"km_value":139857535455723.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868572853995429888,"description":"Unknown IO ID 45"} 
[2026-10-05 20:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550012928001,"power":12624,"unknown_208":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8868572853995429888}} 
[2026-10-05 20:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":207959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969748,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:07:09] local.INFO: GPS data processed {"connection_id":207959,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:07:09] local.INFO: Acknowledgment sent {"connection_id":207959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:07:12] local.INFO: TCP Data received {"connection_id":204870,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:07:12] local.INFO: Processing buffer {"connection_id":204870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:07:12] local.INFO: IMEI packet received {"connection_id":204870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":204870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:07:14] local.INFO: TCP Data received {"connection_id":204870,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7cec60012d196600071feee80043015427..."} 
[2026-10-05 20:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7cec60012d196600071feee80043015427..."} 
[2026-10-05 20:07:14] local.INFO: Processing buffer {"connection_id":204870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7cec60012d196600071feee80043015427..."} 
[2026-10-05 20:07:14] local.INFO: Packet analysis {"connection_id":204870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7c"} 
[2026-10-05 20:07:14] local.INFO: Extracted packet for processing {"connection_id":204870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7c"} 
[2026-10-05 20:07:14] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":67,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549907200001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791210876000,"timestamp_ms":1791210876000,"timestamp_seconds":1791210876,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7cec60"} 
[2026-10-05 20:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:07: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-10-05 20:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":204870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":204870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":204870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549907200001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549907200001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:07:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:07:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549907200001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":204870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:07:14] local.INFO: GPS data processed {"connection_id":204870,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:07:14] local.INFO: Acknowledgment sent {"connection_id":204870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:07:30] local.INFO: TCP Data received {"connection_id":204871,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:07:30] local.INFO: Processing buffer {"connection_id":204871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:07:30] local.INFO: IMEI packet received {"connection_id":204871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":204871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:07:30] local.INFO: TCP Data received {"connection_id":207960,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7e24e0012d7b204005f8b880000b00e32a..."} 
[2026-10-05 20:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7e24e0012d7b204005f8b880000b00e32a..."} 
[2026-10-05 20:07:30] local.INFO: Processing buffer {"connection_id":207960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7e24e0012d7b204005f8b880000b00e32a..."} 
[2026-10-05 20:07:30] local.INFO: Packet analysis {"connection_id":207960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7e"} 
[2026-10-05 20:07:30] local.INFO: Extracted packet for processing {"connection_id":207960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7e"} 
[2026-10-05 20:07:30] local.INFO: GPS Element Parsed {"raw_longitude":763043904,"raw_latitude":100186240,"longitude_deg":76.3043904,"latitude_deg":10.018624,"altitude":11,"angle":227,"satellites":42,"speed":29,"hex_longitude":"2d7b2040","hex_latitude":"05f8b880","is_valid_coordinates":true} 
[2026-10-05 20:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550000384001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2217783672700928,"note":"Value kept but may cause issues"} 
[2026-10-05 20:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878917059754534912,"note":"Value kept but may cause issues"} 
[2026-10-05 20:07:30] 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-10-05 20:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1791210956000,"timestamp_ms":1791210956000,"timestamp_seconds":1791210956,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7e24e0"} 
[2026-10-05 20:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:07: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-10-05 20:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 20:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":207960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":207960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":207960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550000384001,"66":27484,"5":206,"87":12800,"24":29,"16":2217783672700928,"45":8878917059754534912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-10-05 20:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550000384001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:07:30] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-05 20:07:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 20:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2217783672700928,"km_value":2217783672700.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878917059754534912,"description":"Unknown IO ID 45"} 
[2026-10-05 20:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550000384001,"power":27484,"unknown_5":206,"unknown_87":12800,"ignition":29,"odometer":null,"unknown_45":8878917059754534912}} 
[2026-10-05 20:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":207960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:07:30] local.INFO: GPS data processed {"connection_id":207960,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:07:30] local.INFO: Acknowledgment sent {"connection_id":207960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:07:35] local.INFO: TCP Data received {"connection_id":204871,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:07:35] local.INFO: Processing buffer {"connection_id":204871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:07:35] local.INFO: IMEI packet received {"connection_id":204871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":204871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:07:35] local.INFO: TCP Data received {"connection_id":204871,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:07:35] local.INFO: Processing buffer {"connection_id":204871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:07:35] local.INFO: IMEI packet received {"connection_id":204871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":204871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:07:36] local.INFO: TCP Data received {"connection_id":204871,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7eb568012d7b15c005e30a90000300a621..."} 
[2026-10-05 20:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7eb568012d7b15c005e30a90000300a621..."} 
[2026-10-05 20:07:36] local.INFO: Processing buffer {"connection_id":204871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7eb568012d7b15c005e30a90000300a621..."} 
[2026-10-05 20:07:36] local.INFO: Packet analysis {"connection_id":204871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7e"} 
[2026-10-05 20:07:36] local.INFO: Extracted packet for processing {"connection_id":204871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7e"} 
[2026-10-05 20:07:36] local.INFO: GPS Element Parsed {"raw_longitude":763041216,"raw_latitude":98765456,"longitude_deg":76.3041216,"latitude_deg":9.8765456,"altitude":3,"angle":166,"satellites":33,"speed":20,"hex_longitude":"2d7b15c0","hex_latitude":"05e30a90","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550013440001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139857604175200256,"note":"Value kept but may cause issues"} 
[2026-10-05 20:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868854328972009472,"note":"Value kept but may cause issues"} 
[2026-10-05 20:07: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-10-05 20:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791210993000,"timestamp_ms":1791210993000,"timestamp_seconds":1791210993,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7eb568"} 
[2026-10-05 20:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 20:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550013440001,"66":12678,"208":206,"85":15104,"24":20,"16":139857604175200256,"45":8868854328972009472},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 20:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550013440001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:07:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 20:07:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139857604175200256,"km_value":139857604175200.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868854328972009472,"description":"Unknown IO ID 45"} 
[2026-10-05 20:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550013440001,"power":12678,"unknown_208":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8868854328972009472}} 
[2026-10-05 20:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":204871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969751,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:07:36] local.INFO: GPS data processed {"connection_id":204871,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:07:36] local.INFO: Acknowledgment sent {"connection_id":204871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:07:41] local.INFO: TCP Data received {"connection_id":204871,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7ee060012d7b1cc005e2e4d0000200a91e..."} 
[2026-10-05 20:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7ee060012d7b1cc005e2e4d0000200a91e..."} 
[2026-10-05 20:07:41] local.INFO: Processing buffer {"connection_id":204871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7ee060012d7b1cc005e2e4d0000200a91e..."} 
[2026-10-05 20:07:41] local.INFO: Packet analysis {"connection_id":204871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7e"} 
[2026-10-05 20:07:41] local.INFO: Extracted packet for processing {"connection_id":204871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7e"} 
[2026-10-05 20:07:41] local.INFO: GPS Element Parsed {"raw_longitude":763043008,"raw_latitude":98755792,"longitude_deg":76.3043008,"latitude_deg":9.8755792,"altitude":2,"angle":169,"satellites":30,"speed":41,"hex_longitude":"2d7b1cc0","hex_latitude":"05e2e4d0","is_valid_coordinates":true} 
[2026-10-05 20:07: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-10-05 20:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550014208001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139858085211537408,"note":"Value kept but may cause issues"} 
[2026-10-05 20:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869206172692549632,"note":"Value kept but may cause issues"} 
[2026-10-05 20:07:41] 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-10-05 20:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791211004000,"timestamp_ms":1791211004000,"timestamp_seconds":1791211004,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7ee060"} 
[2026-10-05 20:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:07:41] 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-10-05 20:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-05 20:07:41] 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-10-05 20:07: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-10-05 20:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550014208001,"66":12613,"208":206,"85":15104,"24":41,"16":139858085211537408,"45":8869206172692549632},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-05 20:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550014208001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:07:41] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 20:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139858085211537408,"km_value":139858085211537.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869206172692549632,"description":"Unknown IO ID 45"} 
[2026-10-05 20:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550014208001,"power":12613,"unknown_208":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8869206172692549632}} 
[2026-10-05 20:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":204871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969752,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:07:41] local.INFO: GPS data processed {"connection_id":204871,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:07:41] local.INFO: Acknowledgment sent {"connection_id":204871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:07:47] local.INFO: TCP Data received {"connection_id":204870,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7cec60012d196600071feee80043015427..."} 
[2026-10-05 20:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7cec60012d196600071feee80043015427..."} 
[2026-10-05 20:07:47] local.INFO: Processing buffer {"connection_id":204870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7cec60012d196600071feee80043015427..."} 
[2026-10-05 20:07:47] local.INFO: Packet analysis {"connection_id":204870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7c"} 
[2026-10-05 20:07:47] local.INFO: Extracted packet for processing {"connection_id":204870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7c"} 
[2026-10-05 20:07:47] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":67,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549907200001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791210876000,"timestamp_ms":1791210876000,"timestamp_seconds":1791210876,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7cec60"} 
[2026-10-05 20:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:07:47] 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-10-05 20:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":204870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":204870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":204870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549907200001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549907200001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:07:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:07:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549907200001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":204870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:07:47] local.INFO: GPS data processed {"connection_id":204870,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:07:47] local.INFO: Acknowledgment sent {"connection_id":204870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:07:53] local.INFO: TCP Data received {"connection_id":204872,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:07:53] local.INFO: Processing buffer {"connection_id":204872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:07:53] local.INFO: IMEI packet received {"connection_id":204872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":204872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:07:54] local.INFO: TCP Data received {"connection_id":204872,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:07:54] local.INFO: Processing buffer {"connection_id":204872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:07:54] local.INFO: IMEI packet received {"connection_id":204872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":204872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:07:59] local.INFO: TCP Data received {"connection_id":204872,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:07:59] local.INFO: Processing buffer {"connection_id":204872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:07:59] local.INFO: IMEI packet received {"connection_id":204872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":204872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:08:00] local.INFO: TCP Data received {"connection_id":204872,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7e53c0012d7b04c005f89e00000800df26..."} 
[2026-10-05 20:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7e53c0012d7b04c005f89e00000800df26..."} 
[2026-10-05 20:08:00] local.INFO: Processing buffer {"connection_id":204872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7e53c0012d7b04c005f89e00000800df26..."} 
[2026-10-05 20:08:00] local.INFO: Packet analysis {"connection_id":204872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7e"} 
[2026-10-05 20:08:00] local.INFO: Extracted packet for processing {"connection_id":204872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7e"} 
[2026-10-05 20:08:00] local.INFO: GPS Element Parsed {"raw_longitude":763036864,"raw_latitude":100179456,"longitude_deg":76.3036864,"latitude_deg":10.0179456,"altitude":8,"angle":223,"satellites":38,"speed":35,"hex_longitude":"2d7b04c0","hex_latitude":"05f89e00","is_valid_coordinates":true} 
[2026-10-05 20:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550004736001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2218256119103488,"note":"Value kept but may cause issues"} 
[2026-10-05 20:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872161660311732224,"note":"Value kept but may cause issues"} 
[2026-10-05 20:08:00] 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-10-05 20:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791210968000,"timestamp_ms":1791210968000,"timestamp_seconds":1791210968,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7e53c0"} 
[2026-10-05 20:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 20:08: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-10-05 20:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:08: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-10-05 20:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550004736001,"66":27484,"5":206,"87":12800,"24":35,"16":2218256119103488,"45":8872161660311732224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-10-05 20:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550004736001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:08:00] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-05 20:08:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 20:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2218256119103488,"km_value":2218256119103.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872161660311732224,"description":"Unknown IO ID 45"} 
[2026-10-05 20:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550004736001,"power":27484,"unknown_5":206,"unknown_87":12800,"ignition":35,"odometer":null,"unknown_45":8872161660311732224}} 
[2026-10-05 20:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":204872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:08:00] local.INFO: GPS data processed {"connection_id":204872,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:08:00] local.INFO: Acknowledgment sent {"connection_id":204872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:08:12] local.INFO: TCP Data received {"connection_id":204871,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7f0770012d7b204005e2c200000100ac21..."} 
[2026-10-05 20:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7f0770012d7b204005e2c200000100ac21..."} 
[2026-10-05 20:08:12] local.INFO: Processing buffer {"connection_id":204871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7f0770012d7b204005e2c200000100ac21..."} 
[2026-10-05 20:08:12] local.INFO: Packet analysis {"connection_id":204871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7f"} 
[2026-10-05 20:08:12] local.INFO: Extracted packet for processing {"connection_id":204871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7f"} 
[2026-10-05 20:08:12] local.INFO: GPS Element Parsed {"raw_longitude":763043904,"raw_latitude":98746880,"longitude_deg":76.3043904,"latitude_deg":9.874688,"altitude":1,"angle":172,"satellites":33,"speed":22,"hex_longitude":"2d7b2040","hex_latitude":"05e2c200","is_valid_coordinates":true} 
[2026-10-05 20:08: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-10-05 20:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550017024001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139858519003234304,"note":"Value kept but may cause issues"} 
[2026-10-05 20:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871176497527050240,"note":"Value kept but may cause issues"} 
[2026-10-05 20:08: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-10-05 20:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791211014000,"timestamp_ms":1791211014000,"timestamp_seconds":1791211014,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7f0770"} 
[2026-10-05 20:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:08: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-10-05 20:08: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":69,"data_length":795,"current_offset":136} 
[2026-10-05 20:08:12] 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-10-05 20:08: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-10-05 20:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550017024001,"66":12461,"207":206,"85":15104,"24":22,"16":139858519003234304,"45":8871176497527050240},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 20:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550017024001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:08:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 20:08:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139858519003234304,"km_value":139858519003234.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871176497527050240,"description":"Unknown IO ID 45"} 
[2026-10-05 20:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550017024001,"power":12461,"unknown_207":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8871176497527050240}} 
[2026-10-05 20:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":204871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:08:12] local.INFO: GPS data processed {"connection_id":204871,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:08:12] local.INFO: Acknowledgment sent {"connection_id":204871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:08:30] local.INFO: TCP Data received {"connection_id":207961,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:08:30] local.INFO: Processing buffer {"connection_id":207961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:08:30] local.INFO: IMEI packet received {"connection_id":207961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":207961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:08:31] local.INFO: TCP Data received {"connection_id":204872,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7e76e8012d7aedc005f882c8000700d923..."} 
[2026-10-05 20:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7e76e8012d7aedc005f882c8000700d923..."} 
[2026-10-05 20:08:31] local.INFO: Processing buffer {"connection_id":204872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7e76e8012d7aedc005f882c8000700d923..."} 
[2026-10-05 20:08:31] local.INFO: Packet analysis {"connection_id":204872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7e"} 
[2026-10-05 20:08:31] local.INFO: Extracted packet for processing {"connection_id":204872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7e"} 
[2026-10-05 20:08:31] local.INFO: GPS Element Parsed {"raw_longitude":763030976,"raw_latitude":100172488,"longitude_deg":76.3030976,"latitude_deg":10.0172488,"altitude":7,"angle":217,"satellites":35,"speed":40,"hex_longitude":"2d7aedc0","hex_latitude":"05f882c8","is_valid_coordinates":true} 
[2026-10-05 20:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550007808001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2218694205767680,"note":"Value kept but may cause issues"} 
[2026-10-05 20:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864421098450452480,"note":"Value kept but may cause issues"} 
[2026-10-05 20:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791210977000,"timestamp_ms":1791210977000,"timestamp_seconds":1791210977,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7e76e8"} 
[2026-10-05 20:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 20:08:31] 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-10-05 20:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550007808001,"66":27365,"64":206,"87":12800,"24":40,"16":2218694205767680,"45":8864421098450452480},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,87,24,16,45]} 
[2026-10-05 20:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550007808001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:08:31] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-10-05 20:08:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 20:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2218694205767680,"km_value":2218694205767.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864421098450452480,"description":"Unknown IO ID 45"} 
[2026-10-05 20:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550007808001,"power":27365,"unknown_64":206,"unknown_87":12800,"ignition":40,"odometer":null,"unknown_45":8864421098450452480}} 
[2026-10-05 20:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":204872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:08:31] local.INFO: GPS data processed {"connection_id":204872,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:08:31] local.INFO: Acknowledgment sent {"connection_id":204872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:08:35] local.INFO: TCP Data received {"connection_id":207961,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:08:35] local.INFO: Processing buffer {"connection_id":207961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:08:35] local.INFO: IMEI packet received {"connection_id":207961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":207961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:08:36] local.INFO: TCP Data received {"connection_id":207961,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7f3a38012d7b248005e29e08000000a926..."} 
[2026-10-05 20:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7f3a38012d7b248005e29e08000000a926..."} 
[2026-10-05 20:08:36] local.INFO: Processing buffer {"connection_id":207961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7f3a38012d7b248005e29e08000000a926..."} 
[2026-10-05 20:08:36] local.INFO: Packet analysis {"connection_id":207961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7f"} 
[2026-10-05 20:08:36] local.INFO: Extracted packet for processing {"connection_id":207961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7f"} 
[2026-10-05 20:08:36] local.INFO: GPS Element Parsed {"raw_longitude":763044992,"raw_latitude":98737672,"longitude_deg":76.3044992,"latitude_deg":9.8737672,"altitude":0,"angle":169,"satellites":38,"speed":27,"hex_longitude":"2d7b2480","hex_latitude":"05e29e08","is_valid_coordinates":true} 
[2026-10-05 20:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550019584001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139858969974800384,"note":"Value kept but may cause issues"} 
[2026-10-05 20:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872161659943256064,"note":"Value kept but may cause issues"} 
[2026-10-05 20:08: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-10-05 20:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791211027000,"timestamp_ms":1791211027000,"timestamp_seconds":1791211027,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7f3a38"} 
[2026-10-05 20:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 20:08:36] 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-10-05 20:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550019584001,"66":12624,"207":206,"85":15104,"24":27,"16":139858969974800384,"45":8872161659943256064},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 20:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550019584001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:08:36] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 20:08:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139858969974800384,"km_value":139858969974800.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872161659943256064,"description":"Unknown IO ID 45"} 
[2026-10-05 20:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550019584001,"power":12624,"unknown_207":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8872161659943256064}} 
[2026-10-05 20:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":207961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:08:36] local.INFO: GPS data processed {"connection_id":207961,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:08:36] local.INFO: Acknowledgment sent {"connection_id":207961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:08:45] local.INFO: TCP Data received {"connection_id":205012,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:08:45] local.INFO: Processing buffer {"connection_id":205012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:08:45] local.INFO: IMEI packet received {"connection_id":205012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":205012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:08:54] local.INFO: TCP Data received {"connection_id":204873,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:08:54] local.INFO: Processing buffer {"connection_id":204873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:08:54] local.INFO: IMEI packet received {"connection_id":204873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":204873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:08:59] local.INFO: TCP Data received {"connection_id":204873,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:08:59] local.INFO: Processing buffer {"connection_id":204873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:08:59] local.INFO: IMEI packet received {"connection_id":204873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":204873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:09:00] local.INFO: TCP Data received {"connection_id":204873,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7ff1d0012d7b120005f73508000800a12b..."} 
[2026-10-05 20:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7ff1d0012d7b120005f73508000800a12b..."} 
[2026-10-05 20:09:00] local.INFO: Processing buffer {"connection_id":204873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7ff1d0012d7b120005f73508000800a12b..."} 
[2026-10-05 20:09:00] local.INFO: Packet analysis {"connection_id":204873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7f"} 
[2026-10-05 20:09:00] local.INFO: Extracted packet for processing {"connection_id":204873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7f"} 
[2026-10-05 20:09:00] local.INFO: GPS Element Parsed {"raw_longitude":763040256,"raw_latitude":100087048,"longitude_deg":76.3040256,"latitude_deg":10.0087048,"altitude":8,"angle":161,"satellites":43,"speed":35,"hex_longitude":"2d7b1200","hex_latitude":"05f73508","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550031872001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2223049302605824,"note":"Value kept but may cause issues"} 
[2026-10-05 20:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864632204661653504,"note":"Value kept but may cause issues"} 
[2026-10-05 20:09:00] 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-10-05 20:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791211074000,"timestamp_ms":1791211074000,"timestamp_seconds":1791211074,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7ff1d0"} 
[2026-10-05 20:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 20:09: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-10-05 20: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-10-05 20:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:09: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-10-05 20:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550031872001,"66":27343,"164":206,"87":12800,"24":35,"16":2223049302605824,"45":8864632204661653504},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,87,24,16,45]} 
[2026-10-05 20:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550031872001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:09:00] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-10-05 20:09:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 20:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2223049302605824,"km_value":2223049302605.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864632204661653504,"description":"Unknown IO ID 45"} 
[2026-10-05 20:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550031872001,"power":27343,"unknown_164":206,"unknown_87":12800,"ignition":35,"odometer":null,"unknown_45":8864632204661653504}} 
[2026-10-05 20:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":204873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:09:00] local.INFO: GPS data processed {"connection_id":204873,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:09:00] local.INFO: Acknowledgment sent {"connection_id":204873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:09:07] local.INFO: TCP Data received {"connection_id":207961,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7f6530012d7b2a4005e27af8000000aa26..."} 
[2026-10-05 20:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7f6530012d7b2a4005e27af8000000aa26..."} 
[2026-10-05 20:09:07] local.INFO: Processing buffer {"connection_id":207961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7f6530012d7b2a4005e27af8000000aa26..."} 
[2026-10-05 20:09:07] local.INFO: Packet analysis {"connection_id":207961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7f"} 
[2026-10-05 20:09:07] local.INFO: Extracted packet for processing {"connection_id":207961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7f"} 
[2026-10-05 20:09:07] local.INFO: GPS Element Parsed {"raw_longitude":763046464,"raw_latitude":98728696,"longitude_deg":76.3046464,"latitude_deg":9.8728696,"altitude":0,"angle":170,"satellites":38,"speed":31,"hex_longitude":"2d7b2a40","hex_latitude":"05e27af8","is_valid_coordinates":true} 
[2026-10-05 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-10-05 20:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550022912001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139859412356431872,"note":"Value kept but may cause issues"} 
[2026-10-05 20:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873357928591919104,"note":"Value kept but may cause issues"} 
[2026-10-05 20:09: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-10-05 20:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791211038000,"timestamp_ms":1791211038000,"timestamp_seconds":1791211038,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7f6530"} 
[2026-10-05 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-10-05 20:09: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-10-05 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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 20:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 20:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550022912001,"66":12722,"207":206,"85":15104,"24":31,"16":139859412356431872,"45":8873357928591919104},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 20:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550022912001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:09:07] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 20:09:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139859412356431872,"km_value":139859412356431.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873357928591919104,"description":"Unknown IO ID 45"} 
[2026-10-05 20:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550022912001,"power":12722,"unknown_207":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8873357928591919104}} 
[2026-10-05 20:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":207961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:09:07] local.INFO: GPS data processed {"connection_id":207961,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:09:07] local.INFO: Acknowledgment sent {"connection_id":207961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:09:15] local.INFO: TCP Data received {"connection_id":206392,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:09:15] local.INFO: Processing buffer {"connection_id":206392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:09:15] local.INFO: IMEI packet received {"connection_id":206392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":206392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:09:23] local.INFO: TCP Data received {"connection_id":206392,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:09:23] local.INFO: Processing buffer {"connection_id":206392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:09:23] local.INFO: IMEI packet received {"connection_id":206392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":206392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:09:28] local.INFO: TCP Data received {"connection_id":206392,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7cec60012d196600071feee80043015427..."} 
[2026-10-05 20:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7cec60012d196600071feee80043015427..."} 
[2026-10-05 20:09:28] local.INFO: Processing buffer {"connection_id":206392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7cec60012d196600071feee80043015427..."} 
[2026-10-05 20:09:28] local.INFO: Packet analysis {"connection_id":206392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7c"} 
[2026-10-05 20:09:28] local.INFO: Extracted packet for processing {"connection_id":206392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7c"} 
[2026-10-05 20:09:28] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":67,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549907200001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1791210876000,"timestamp_ms":1791210876000,"timestamp_seconds":1791210876,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7cec60"} 
[2026-10-05 20:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:09: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-10-05 20:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:09: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-10-05 20:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":206392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":206392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":206392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549907200001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549907200001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:09:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:09:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549907200001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":206392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:09:28] local.INFO: GPS data processed {"connection_id":206392,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:09:28] local.INFO: Acknowledgment sent {"connection_id":206392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:09:31] local.INFO: TCP Data received {"connection_id":204873,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8018e0012d7b1dc005f712d8000800a429..."} 
[2026-10-05 20:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8018e0012d7b1dc005f712d8000800a429..."} 
[2026-10-05 20:09:31] local.INFO: Processing buffer {"connection_id":204873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8018e0012d7b1dc005f712d8000800a429..."} 
[2026-10-05 20:09:31] local.INFO: Packet analysis {"connection_id":204873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c80"} 
[2026-10-05 20:09:31] local.INFO: Extracted packet for processing {"connection_id":204873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c80"} 
[2026-10-05 20:09:31] local.INFO: GPS Element Parsed {"raw_longitude":763043264,"raw_latitude":100078296,"longitude_deg":76.3043264,"latitude_deg":10.0078296,"altitude":8,"angle":164,"satellites":41,"speed":37,"hex_longitude":"2d7b1dc0","hex_latitude":"05f712d8","is_valid_coordinates":true} 
[2026-10-05 20:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550034944001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2223495979204608,"note":"Value kept but may cause issues"} 
[2026-10-05 20:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868150641868212224,"note":"Value kept but may cause issues"} 
[2026-10-05 20:09:31] 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-10-05 20:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791211084000,"timestamp_ms":1791211084000,"timestamp_seconds":1791211084,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8018e0"} 
[2026-10-05 20:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:09: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-10-05 20:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-05 20:09: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-10-05 20:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550034944001,"66":27321,"164":206,"87":12800,"24":37,"16":2223495979204608,"45":8868150641868212224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,87,24,16,45]} 
[2026-10-05 20:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550034944001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:09:31] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-10-05 20:09:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 20:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2223495979204608,"km_value":2223495979204.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868150641868212224,"description":"Unknown IO ID 45"} 
[2026-10-05 20:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550034944001,"power":27321,"unknown_164":206,"unknown_87":12800,"ignition":37,"odometer":null,"unknown_45":8868150641868212224}} 
[2026-10-05 20:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":204873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:09:31] local.INFO: GPS data processed {"connection_id":204873,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:09:31] local.INFO: Acknowledgment sent {"connection_id":204873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:09:35] local.INFO: TCP Data received {"connection_id":206393,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:09:35] local.INFO: Processing buffer {"connection_id":206393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:09:35] local.INFO: IMEI packet received {"connection_id":206393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":206393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:09:38] local.INFO: TCP Data received {"connection_id":206393,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:09:38] local.INFO: Processing buffer {"connection_id":206393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:09:38] local.INFO: IMEI packet received {"connection_id":206393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":206393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:09:39] local.INFO: TCP Data received {"connection_id":206393,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7f9fc8012d7b2f8005e25858000000ad2a..."} 
[2026-10-05 20:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7f9fc8012d7b2f8005e25858000000ad2a..."} 
[2026-10-05 20:09:39] local.INFO: Processing buffer {"connection_id":206393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7f9fc8012d7b2f8005e25858000000ad2a..."} 
[2026-10-05 20:09:39] local.INFO: Packet analysis {"connection_id":206393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7f"} 
[2026-10-05 20:09:39] local.INFO: Extracted packet for processing {"connection_id":206393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7f"} 
[2026-10-05 20:09:39] local.INFO: GPS Element Parsed {"raw_longitude":763047808,"raw_latitude":98719832,"longitude_deg":76.3047808,"latitude_deg":9.8719832,"altitude":0,"angle":173,"satellites":42,"speed":23,"hex_longitude":"2d7b2f80","hex_latitude":"05e25858","is_valid_coordinates":true} 
[2026-10-05 20:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550025728001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139859846148128768,"note":"Value kept but may cause issues"} 
[2026-10-05 20:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874976409705707520,"note":"Value kept but may cause issues"} 
[2026-10-05 20:09:39] 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-10-05 20:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791211053000,"timestamp_ms":1791211053000,"timestamp_seconds":1791211053,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7f9fc8"} 
[2026-10-05 20:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 20:09:39] 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-10-05 20:09: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-10-05 20:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":206393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":206393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":206393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550025728001,"66":12645,"207":206,"85":15104,"24":23,"16":139859846148128768,"45":8874976409705707520},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-05 20:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550025728001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:09:39] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-05 20:09:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139859846148128768,"km_value":139859846148128.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874976409705707520,"description":"Unknown IO ID 45"} 
[2026-10-05 20:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550025728001,"power":12645,"unknown_207":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8874976409705707520}} 
[2026-10-05 20:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":206393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:09:39] local.INFO: GPS data processed {"connection_id":206393,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:09:39] local.INFO: Acknowledgment sent {"connection_id":206393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:09:54] local.INFO: TCP Data received {"connection_id":207963,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:09:54] local.INFO: Processing buffer {"connection_id":207963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:09:54] local.INFO: IMEI packet received {"connection_id":207963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":207963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:09:59] local.INFO: TCP Data received {"connection_id":207963,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:09:59] local.INFO: Processing buffer {"connection_id":207963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:09:59] local.INFO: IMEI packet received {"connection_id":207963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":207963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:10:00] local.INFO: TCP Data received {"connection_id":207963,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c803ff0012d7b2a0005f6f0400008009e2c..."} 
[2026-10-05 20:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c803ff0012d7b2a0005f6f0400008009e2c..."} 
[2026-10-05 20:10:00] local.INFO: Processing buffer {"connection_id":207963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c803ff0012d7b2a0005f6f0400008009e2c..."} 
[2026-10-05 20:10:00] local.INFO: Packet analysis {"connection_id":207963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c80"} 
[2026-10-05 20:10:00] local.INFO: Extracted packet for processing {"connection_id":207963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c80"} 
[2026-10-05 20:10:00] local.INFO: GPS Element Parsed {"raw_longitude":763046400,"raw_latitude":100069440,"longitude_deg":76.30464,"latitude_deg":10.006944,"altitude":8,"angle":158,"satellites":44,"speed":38,"hex_longitude":"2d7b2a00","hex_latitude":"05f6f040","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550037504001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2223951245737984,"note":"Value kept but may cause issues"} 
[2026-10-05 20:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871457972842321920,"note":"Value kept but may cause issues"} 
[2026-10-05 20:10:00] 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-10-05 20:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791211094000,"timestamp_ms":1791211094000,"timestamp_seconds":1791211094,"priority":1,"record_length":96,"hex_timestamp":"000001a10c803ff0"} 
[2026-10-05 20:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:10: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-10-05 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-05 20:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:10: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-10-05 20:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550037504001,"66":27397,"164":206,"87":12800,"24":38,"16":2223951245737984,"45":8871457972842321920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,87,24,16,45]} 
[2026-10-05 20:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550037504001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:10:00] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-10-05 20:10:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 20:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2223951245737984,"km_value":2223951245737.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871457972842321920,"description":"Unknown IO ID 45"} 
[2026-10-05 20:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550037504001,"power":27397,"unknown_164":206,"unknown_87":12800,"ignition":38,"odometer":null,"unknown_45":8871457972842321920}} 
[2026-10-05 20:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":207963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:10:00] local.INFO: GPS data processed {"connection_id":207963,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:10:00] local.INFO: Acknowledgment sent {"connection_id":207963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:10:04] local.INFO: TCP Data received {"connection_id":205013,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:10:04] local.INFO: Processing buffer {"connection_id":205013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:10:04] local.INFO: IMEI packet received {"connection_id":205013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":205013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:10:10] local.INFO: TCP Data received {"connection_id":205013,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:10:10] local.INFO: Processing buffer {"connection_id":205013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:10:10] local.INFO: IMEI packet received {"connection_id":205013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":205013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:10:11] local.INFO: TCP Data received {"connection_id":205013,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c7cec60012d196600071feee80043015427..."} 
[2026-10-05 20:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c7cec60012d196600071feee80043015427..."} 
[2026-10-05 20:10:11] local.INFO: Processing buffer {"connection_id":205013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c7cec60012d196600071feee80043015427..."} 
[2026-10-05 20:10:11] local.INFO: Packet analysis {"connection_id":205013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c7c"} 
[2026-10-05 20:10:11] local.INFO: Extracted packet for processing {"connection_id":205013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c7c"} 
[2026-10-05 20:10:11] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":67,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549907200001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791210876000,"timestamp_ms":1791210876000,"timestamp_seconds":1791210876,"priority":1,"record_length":96,"hex_timestamp":"000001a10c7cec60"} 
[2026-10-05 20:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:10:11] 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-10-05 20:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549907200001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549907200001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:10:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:10:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549907200001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":205013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:10:11] local.INFO: GPS data processed {"connection_id":205013,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:10:11] local.INFO: Acknowledgment sent {"connection_id":205013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:10:12] local.INFO: TCP Data received {"connection_id":206393,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c81c2a8012d7b6f0005e07db8000100ab25..."} 
[2026-10-05 20:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c81c2a8012d7b6f0005e07db8000100ab25..."} 
[2026-10-05 20:10:12] local.INFO: Processing buffer {"connection_id":206393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c81c2a8012d7b6f0005e07db8000100ab25..."} 
[2026-10-05 20:10:12] local.INFO: Packet analysis {"connection_id":206393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c81"} 
[2026-10-05 20:10:12] local.INFO: Extracted packet for processing {"connection_id":206393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c81"} 
[2026-10-05 20:10:12] local.INFO: GPS Element Parsed {"raw_longitude":763064064,"raw_latitude":98598328,"longitude_deg":76.3064064,"latitude_deg":9.8598328,"altitude":1,"angle":171,"satellites":37,"speed":50,"hex_longitude":"2d7b6f00","hex_latitude":"05e07db8","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550063360001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139865794677833728,"note":"Value kept but may cause issues"} 
[2026-10-05 20:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892709333207527424,"note":"Value kept but may cause issues"} 
[2026-10-05 20:10:12] 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-10-05 20:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791211193000,"timestamp_ms":1791211193000,"timestamp_seconds":1791211193,"priority":1,"record_length":96,"hex_timestamp":"000001a10c81c2a8"} 
[2026-10-05 20:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:10: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-10-05 20: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 20:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":206393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":206393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":206393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550063360001,"66":11852,"217":206,"85":15104,"24":50,"16":139865794677833728,"45":8892709333207527424},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 20:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550063360001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:10:12] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 20:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139865794677833728,"km_value":139865794677833.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892709333207527424,"description":"Unknown IO ID 45"} 
[2026-10-05 20:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550063360001,"power":11852,"unknown_217":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8892709333207527424}} 
[2026-10-05 20:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":206393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969765,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:10:12] local.INFO: GPS data processed {"connection_id":206393,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:10:12] local.INFO: Acknowledgment sent {"connection_id":206393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:10:30] local.INFO: TCP Data received {"connection_id":205014,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205014,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:10:30] local.INFO: Processing buffer {"connection_id":205014,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:10:30] local.INFO: IMEI packet received {"connection_id":205014,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":205014,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:10:31] local.INFO: TCP Data received {"connection_id":207963,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c806700012d7b358005f6cf58000800a225..."} 
[2026-10-05 20:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c806700012d7b358005f6cf58000800a225..."} 
[2026-10-05 20:10:31] local.INFO: Processing buffer {"connection_id":207963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c806700012d7b358005f6cf58000800a225..."} 
[2026-10-05 20:10:31] local.INFO: Packet analysis {"connection_id":207963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c80"} 
[2026-10-05 20:10:31] local.INFO: Extracted packet for processing {"connection_id":207963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c80"} 
[2026-10-05 20:10:31] local.INFO: GPS Element Parsed {"raw_longitude":763049344,"raw_latitude":100061016,"longitude_deg":76.3049344,"latitude_deg":10.0061016,"altitude":8,"angle":162,"satellites":37,"speed":33,"hex_longitude":"2d7b3580","hex_latitude":"05f6cf58","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550040064001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2224380742467584,"note":"Value kept but may cause issues"} 
[2026-10-05 20:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874906041304760320,"note":"Value kept but may cause issues"} 
[2026-10-05 20:10:31] 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-10-05 20:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791211104000,"timestamp_ms":1791211104000,"timestamp_seconds":1791211104,"priority":1,"record_length":96,"hex_timestamp":"000001a10c806700"} 
[2026-10-05 20:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:10: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-10-05 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-05 20:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":207963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":207963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":207963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550040064001,"66":27484,"164":206,"87":12800,"24":33,"16":2224380742467584,"45":8874906041304760320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,87,24,16,45]} 
[2026-10-05 20:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550040064001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:10:31] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-10-05 20:10:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 20:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2224380742467584,"km_value":2224380742467.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874906041304760320,"description":"Unknown IO ID 45"} 
[2026-10-05 20:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550040064001,"power":27484,"unknown_164":206,"unknown_87":12800,"ignition":33,"odometer":null,"unknown_45":8874906041304760320}} 
[2026-10-05 20:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":207963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:10:31] local.INFO: GPS data processed {"connection_id":207963,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:10:31] local.INFO: Acknowledgment sent {"connection_id":207963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:10:35] local.INFO: TCP Data received {"connection_id":205014,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205014,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:10:35] local.INFO: Processing buffer {"connection_id":205014,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:10:35] local.INFO: IMEI packet received {"connection_id":205014,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":205014,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:10:35] local.INFO: TCP Data received {"connection_id":205014,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c81de00012d7b740005e05980000100ad23..."} 
[2026-10-05 20:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c81de00012d7b740005e05980000100ad23..."} 
[2026-10-05 20:10:35] local.INFO: Processing buffer {"connection_id":205014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c81de00012d7b740005e05980000100ad23..."} 
[2026-10-05 20:10:35] local.INFO: Packet analysis {"connection_id":205014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c81"} 
[2026-10-05 20:10:35] local.INFO: Extracted packet for processing {"connection_id":205014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c81"} 
[2026-10-05 20:10:35] local.INFO: GPS Element Parsed {"raw_longitude":763065344,"raw_latitude":98589056,"longitude_deg":76.3065344,"latitude_deg":9.8589056,"altitude":1,"angle":173,"satellites":35,"speed":52,"hex_longitude":"2d7b7400","hex_latitude":"05e05980","is_valid_coordinates":true} 
[2026-10-05 20:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550065408001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139866249944367104,"note":"Value kept but may cause issues"} 
[2026-10-05 20:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894327814321190912,"note":"Value kept but may cause issues"} 
[2026-10-05 20:10:35] 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-10-05 20:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791211200000,"timestamp_ms":1791211200000,"timestamp_seconds":1791211200,"priority":1,"record_length":96,"hex_timestamp":"000001a10c81de00"} 
[2026-10-05 20:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-10-05 20:10:35] 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-10-05 20:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":205014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":205014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":205014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550065408001,"66":12765,"217":206,"85":15104,"24":52,"16":139866249944367104,"45":8894327814321190912},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 20:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550065408001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:10:35] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 20:10:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139866249944367104,"km_value":139866249944367.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894327814321190912,"description":"Unknown IO ID 45"} 
[2026-10-05 20:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550065408001,"power":12765,"unknown_217":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8894327814321190912}} 
[2026-10-05 20:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":205014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969767,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:10:35] local.INFO: GPS data processed {"connection_id":205014,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:10:35] local.INFO: Acknowledgment sent {"connection_id":205014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:10:43] local.INFO: TCP Data received {"connection_id":205013,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c818428012d196600071feee8004a015427..."} 
[2026-10-05 20:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c818428012d196600071feee8004a015427..."} 
[2026-10-05 20:10:43] local.INFO: Processing buffer {"connection_id":205013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c818428012d196600071feee8004a015427..."} 
[2026-10-05 20:10:43] local.INFO: Packet analysis {"connection_id":205013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c81"} 
[2026-10-05 20:10:43] local.INFO: Extracted packet for processing {"connection_id":205013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c81"} 
[2026-10-05 20:10:43] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549984256001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791211177000,"timestamp_ms":1791211177000,"timestamp_seconds":1791211177,"priority":1,"record_length":96,"hex_timestamp":"000001a10c818428"} 
[2026-10-05 20:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:10:43] 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-10-05 20:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":205013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":205013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":205013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549984256001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549984256001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:10:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:10:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549984256001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":205013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:10:43] local.INFO: GPS data processed {"connection_id":205013,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:10:43] local.INFO: Acknowledgment sent {"connection_id":205013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:10:54] local.INFO: TCP Data received {"connection_id":205015,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:10:54] local.INFO: Processing buffer {"connection_id":205015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:10:54] local.INFO: IMEI packet received {"connection_id":205015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":205015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:10:59] local.INFO: TCP Data received {"connection_id":205015,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:10:59] local.INFO: Processing buffer {"connection_id":205015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:10:59] local.INFO: IMEI packet received {"connection_id":205015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":205015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:11:00] local.INFO: TCP Data received {"connection_id":205015,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8091f8012d7b3e0005f6ad60000a00a929..."} 
[2026-10-05 20:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8091f8012d7b3e0005f6ad60000a00a929..."} 
[2026-10-05 20:11:00] local.INFO: Processing buffer {"connection_id":205015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8091f8012d7b3e0005f6ad60000a00a929..."} 
[2026-10-05 20:11:00] local.INFO: Packet analysis {"connection_id":205015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c80"} 
[2026-10-05 20:11:00] local.INFO: Extracted packet for processing {"connection_id":205015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c80"} 
[2026-10-05 20:11:00] local.INFO: GPS Element Parsed {"raw_longitude":763051520,"raw_latitude":100052320,"longitude_deg":76.305152,"latitude_deg":10.005232,"altitude":10,"angle":169,"satellites":41,"speed":30,"hex_longitude":"2d7b3e00","hex_latitude":"05f6ad60","is_valid_coordinates":true} 
[2026-10-05 20:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550042624001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2224818829131776,"note":"Value kept but may cause issues"} 
[2026-10-05 20:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878143003534776320,"note":"Value kept but may cause issues"} 
[2026-10-05 20:11:00] 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-10-05 20:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791211115000,"timestamp_ms":1791211115000,"timestamp_seconds":1791211115,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8091f8"} 
[2026-10-05 20:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:11: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-10-05 20:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 20:11: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-10-05 20:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":205015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":205015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":205015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20: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-10-05 20:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550042624001,"66":27463,"164":206,"87":12800,"24":30,"16":2224818829131776,"45":8878143003534776320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,87,24,16,45]} 
[2026-10-05 20:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550042624001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:11:00] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-10-05 20:11:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 20:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2224818829131776,"km_value":2224818829131.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878143003534776320,"description":"Unknown IO ID 45"} 
[2026-10-05 20:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550042624001,"power":27463,"unknown_164":206,"unknown_87":12800,"ignition":30,"odometer":null,"unknown_45":8878143003534776320}} 
[2026-10-05 20:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":205015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:11:00] local.INFO: GPS data processed {"connection_id":205015,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:11:00] local.INFO: Acknowledgment sent {"connection_id":205015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:11:07] local.INFO: TCP Data received {"connection_id":205014,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c81fd40012d7b784005e03448000200ac26..."} 
[2026-10-05 20:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c81fd40012d7b784005e03448000200ac26..."} 
[2026-10-05 20:11:07] local.INFO: Processing buffer {"connection_id":205014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c81fd40012d7b784005e03448000200ac26..."} 
[2026-10-05 20:11:07] local.INFO: Packet analysis {"connection_id":205014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c81"} 
[2026-10-05 20:11:07] local.INFO: Extracted packet for processing {"connection_id":205014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c81"} 
[2026-10-05 20:11:07] local.INFO: GPS Element Parsed {"raw_longitude":763066432,"raw_latitude":98579528,"longitude_deg":76.3066432,"latitude_deg":9.8579528,"altitude":2,"angle":172,"satellites":38,"speed":47,"hex_longitude":"2d7b7840","hex_latitude":"05e03448","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550067200001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139866713800835072,"note":"Value kept but may cause issues"} 
[2026-10-05 20:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895735189202370560,"note":"Value kept but may cause issues"} 
[2026-10-05 20:11: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-10-05 20:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791211208000,"timestamp_ms":1791211208000,"timestamp_seconds":1791211208,"priority":1,"record_length":96,"hex_timestamp":"000001a10c81fd40"} 
[2026-10-05 20:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:11: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-10-05 20:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 20:11: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-10-05 20: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-10-05 20:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550067200001,"66":12667,"217":206,"85":15104,"24":47,"16":139866713800835072,"45":8895735189202370560},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 20:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550067200001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:11:07] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 20:11:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139866713800835072,"km_value":139866713800835.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895735189202370560,"description":"Unknown IO ID 45"} 
[2026-10-05 20:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550067200001,"power":12667,"unknown_217":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8895735189202370560}} 
[2026-10-05 20:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":205014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:11:07] local.INFO: GPS data processed {"connection_id":205014,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:11:07] local.INFO: Acknowledgment sent {"connection_id":205014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:11:09] local.INFO: TCP Data received {"connection_id":204874,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:11:09] local.INFO: Processing buffer {"connection_id":204874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:11:09] local.INFO: IMEI packet received {"connection_id":204874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":204874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:11:19] local.INFO: TCP Data received {"connection_id":204874,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:11:19] local.INFO: Processing buffer {"connection_id":204874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:11:19] local.INFO: IMEI packet received {"connection_id":204874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":204874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:11:29] local.INFO: TCP Data received {"connection_id":207964,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:11:29] local.INFO: Processing buffer {"connection_id":207964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:11:29] local.INFO: IMEI packet received {"connection_id":207964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 20:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":207964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:11:30] local.INFO: TCP Data received {"connection_id":204875,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:11:30] local.INFO: Processing buffer {"connection_id":204875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:11:30] local.INFO: IMEI packet received {"connection_id":204875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":204875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:11:32] local.INFO: TCP Data received {"connection_id":204875,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:11:32] local.INFO: Processing buffer {"connection_id":204875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:11:32] local.INFO: IMEI packet received {"connection_id":204875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":204875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:11:33] local.INFO: TCP Data received {"connection_id":204875,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c821c80012d7b7c4005e00da0000100ad24..."} 
[2026-10-05 20:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c821c80012d7b7c4005e00da0000100ad24..."} 
[2026-10-05 20:11:33] local.INFO: Processing buffer {"connection_id":204875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c821c80012d7b7c4005e00da0000100ad24..."} 
[2026-10-05 20:11:33] local.INFO: Packet analysis {"connection_id":204875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c82"} 
[2026-10-05 20:11:33] local.INFO: Extracted packet for processing {"connection_id":204875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c82"} 
[2026-10-05 20:11:33] local.INFO: GPS Element Parsed {"raw_longitude":763067456,"raw_latitude":98569632,"longitude_deg":76.3067456,"latitude_deg":9.8569632,"altitude":1,"angle":173,"satellites":36,"speed":49,"hex_longitude":"2d7b7c40","hex_latitude":"05e00da0","is_valid_coordinates":true} 
[2026-10-05 20:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550069248001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139867199132139520,"note":"Value kept but may cause issues"} 
[2026-10-05 20:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896931457850951680,"note":"Value kept but may cause issues"} 
[2026-10-05 20:11: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-10-05 20:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791211216000,"timestamp_ms":1791211216000,"timestamp_seconds":1791211216,"priority":1,"record_length":96,"hex_timestamp":"000001a10c821c80"} 
[2026-10-05 20:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:11: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-10-05 20: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-05 20:11:33] 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-10-05 20: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-10-05 20:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550069248001,"66":12624,"217":206,"85":15104,"24":49,"16":139867199132139520,"45":8896931457850951680},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-05 20:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550069248001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:11:33] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-05 20:11:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139867199132139520,"km_value":139867199132139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896931457850951680,"description":"Unknown IO ID 45"} 
[2026-10-05 20:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550069248001,"power":12624,"unknown_217":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8896931457850951680}} 
[2026-10-05 20:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":204875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:11:33] local.INFO: GPS data processed {"connection_id":204875,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:11:33] local.INFO: Acknowledgment sent {"connection_id":204875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:11:37] local.INFO: TCP Data received {"connection_id":204874,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c818428012d196600071feee8004a015427..."} 
[2026-10-05 20:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c818428012d196600071feee8004a015427..."} 
[2026-10-05 20:11:37] local.INFO: Processing buffer {"connection_id":204874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c818428012d196600071feee8004a015427..."} 
[2026-10-05 20:11:37] local.INFO: Packet analysis {"connection_id":204874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c81"} 
[2026-10-05 20:11:37] local.INFO: Extracted packet for processing {"connection_id":204874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c81"} 
[2026-10-05 20:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 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-10-05 20:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549984256001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791211177000,"timestamp_ms":1791211177000,"timestamp_seconds":1791211177,"priority":1,"record_length":96,"hex_timestamp":"000001a10c818428"} 
[2026-10-05 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-10-05 20:11:37] 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-10-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 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-10-05 20:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549984256001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549984256001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:11:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:11:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549984256001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:11:37] local.INFO: TCP Data received {"connection_id":205016,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:11:37] local.INFO: Processing buffer {"connection_id":205016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:11:37] local.INFO: IMEI packet received {"connection_id":205016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 20:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":205016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":204874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:11:37] local.INFO: GPS data processed {"connection_id":204874,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:11:37] local.INFO: Acknowledgment sent {"connection_id":204874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:11:37] local.INFO: TCP Data received {"connection_id":205016,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:11:37] local.INFO: Processing buffer {"connection_id":205016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:11:37] local.INFO: IMEI packet received {"connection_id":205016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 20:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":205016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:11:46] local.INFO: TCP Data received {"connection_id":205015,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c828210012d7a920005f60e980017010426..."} 
[2026-10-05 20:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c828210012d7a920005f60e980017010426..."} 
[2026-10-05 20:11:46] local.INFO: Processing buffer {"connection_id":205015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c828210012d7a920005f60e980017010426..."} 
[2026-10-05 20:11:46] local.INFO: Packet analysis {"connection_id":205015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c82"} 
[2026-10-05 20:11:46] local.INFO: Extracted packet for processing {"connection_id":205015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c82"} 
[2026-10-05 20:11:46] local.INFO: GPS Element Parsed {"raw_longitude":763007488,"raw_latitude":100011672,"longitude_deg":76.3007488,"latitude_deg":10.0011672,"altitude":23,"angle":260,"satellites":38,"speed":19,"hex_longitude":"2d7a9200","hex_latitude":"05f60e98","is_valid_coordinates":true} 
[2026-10-05 20:11: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-10-05 20:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550072576001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2228091594211328,"note":"Value kept but may cause issues"} 
[2026-10-05 20:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8842325312736143360,"note":"Value kept but may cause issues"} 
[2026-10-05 20:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791211242000,"timestamp_ms":1791211242000,"timestamp_seconds":1791211242,"priority":1,"record_length":96,"hex_timestamp":"000001a10c828210"} 
[2026-10-05 20:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 20:11:46] 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-10-05 20:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":205015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":205015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":205015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:11:46] 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-10-05 20:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550072576001,"66":27517,"34":206,"87":12800,"24":19,"16":2228091594211328,"45":8842325312736143360},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-10-05 20:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550072576001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:11:46] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-05 20:11:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 20:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2228091594211328,"km_value":2228091594211.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8842325312736143360,"description":"Unknown IO ID 45"} 
[2026-10-05 20:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550072576001,"power":27517,"unknown_34":206,"unknown_87":12800,"ignition":19,"odometer":null,"unknown_45":8842325312736143360}} 
[2026-10-05 20:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":205015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:11:46] local.INFO: GPS data processed {"connection_id":205015,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:11:46] local.INFO: Acknowledgment sent {"connection_id":205015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:11:54] local.INFO: TCP Data received {"connection_id":207965,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:11:54] local.INFO: Processing buffer {"connection_id":207965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:11:54] local.INFO: IMEI packet received {"connection_id":207965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":207965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:12:04] local.INFO: TCP Data received {"connection_id":206395,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:12:04] local.INFO: Processing buffer {"connection_id":206395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:12:04] local.INFO: IMEI packet received {"connection_id":206395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":206395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:12:05] local.INFO: TCP Data received {"connection_id":204875,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c823bc0012d7b80c005dfeb30000000ac26..."} 
[2026-10-05 20:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c823bc0012d7b80c005dfeb30000000ac26..."} 
[2026-10-05 20:12:05] local.INFO: Processing buffer {"connection_id":204875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c823bc0012d7b80c005dfeb30000000ac26..."} 
[2026-10-05 20:12:05] local.INFO: Packet analysis {"connection_id":204875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c82"} 
[2026-10-05 20:12:05] local.INFO: Extracted packet for processing {"connection_id":204875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c82"} 
[2026-10-05 20:12:05] local.INFO: GPS Element Parsed {"raw_longitude":763068608,"raw_latitude":98560816,"longitude_deg":76.3068608,"latitude_deg":9.8560816,"altitude":0,"angle":172,"satellites":38,"speed":40,"hex_longitude":"2d7b80c0","hex_latitude":"05dfeb30","is_valid_coordinates":true} 
[2026-10-05 20:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550071296001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139867628628869120,"note":"Value kept but may cause issues"} 
[2026-10-05 20:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898057357755260928,"note":"Value kept but may cause issues"} 
[2026-10-05 20:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791211224000,"timestamp_ms":1791211224000,"timestamp_seconds":1791211224,"priority":1,"record_length":96,"hex_timestamp":"000001a10c823bc0"} 
[2026-10-05 20:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:12: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-10-05 20:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 20:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":204875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":204875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":204875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550071296001,"66":12765,"103":206,"85":15104,"24":40,"16":139867628628869120,"45":8898057357755260928},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-10-05 20:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550071296001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:12:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-05 20:12:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139867628628869120,"km_value":139867628628869.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898057357755260928,"description":"Unknown IO ID 45"} 
[2026-10-05 20:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550071296001,"power":12765,"unknown_103":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8898057357755260928}} 
[2026-10-05 20:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":204875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969774,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:12:05] local.INFO: GPS data processed {"connection_id":204875,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:12:05] local.INFO: Acknowledgment sent {"connection_id":204875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:12:10] local.INFO: TCP Data received {"connection_id":206395,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:12:10] local.INFO: Processing buffer {"connection_id":206395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:12:10] local.INFO: IMEI packet received {"connection_id":206395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":206395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:12:15] local.INFO: TCP Data received {"connection_id":206395,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c818428012d196600071feee8004a015427..."} 
[2026-10-05 20:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c818428012d196600071feee8004a015427..."} 
[2026-10-05 20:12:15] local.INFO: Processing buffer {"connection_id":206395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c818428012d196600071feee8004a015427..."} 
[2026-10-05 20:12:15] local.INFO: Packet analysis {"connection_id":206395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c81"} 
[2026-10-05 20:12:15] local.INFO: Extracted packet for processing {"connection_id":206395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c81"} 
[2026-10-05 20:12:15] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549984256001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791211177000,"timestamp_ms":1791211177000,"timestamp_seconds":1791211177,"priority":1,"record_length":96,"hex_timestamp":"000001a10c818428"} 
[2026-10-05 20:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":206395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":206395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":206395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549984256001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549984256001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:12:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:12:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549984256001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":206395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:12:16] local.INFO: GPS data processed {"connection_id":206395,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:12:16] local.INFO: Acknowledgment sent {"connection_id":206395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:12:27] local.INFO: TCP Data received {"connection_id":207965,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:12:27] local.INFO: Processing buffer {"connection_id":207965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:12:27] local.INFO: IMEI packet received {"connection_id":207965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":207965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:12:28] local.INFO: TCP Data received {"connection_id":207965,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c828210012d7a920005f60e980017010426..."} 
[2026-10-05 20:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c828210012d7a920005f60e980017010426..."} 
[2026-10-05 20:12:28] local.INFO: Processing buffer {"connection_id":207965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c828210012d7a920005f60e980017010426..."} 
[2026-10-05 20:12:28] local.INFO: Packet analysis {"connection_id":207965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c82"} 
[2026-10-05 20:12:28] local.INFO: Extracted packet for processing {"connection_id":207965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c82"} 
[2026-10-05 20:12:28] local.INFO: GPS Element Parsed {"raw_longitude":763007488,"raw_latitude":100011672,"longitude_deg":76.3007488,"latitude_deg":10.0011672,"altitude":23,"angle":260,"satellites":38,"speed":19,"hex_longitude":"2d7a9200","hex_latitude":"05f60e98","is_valid_coordinates":true} 
[2026-10-05 20:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550077952001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2228091594211328,"note":"Value kept but may cause issues"} 
[2026-10-05 20:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832121844829952000,"note":"Value kept but may cause issues"} 
[2026-10-05 20:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1791211242000,"timestamp_ms":1791211242000,"timestamp_seconds":1791211242,"priority":1,"record_length":96,"hex_timestamp":"000001a10c828210"} 
[2026-10-05 20:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:12: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-10-05 20:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-05 20:12:28] 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-10-05 20:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":207965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":207965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":207965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:12:28] 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-10-05 20:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550077952001,"66":27517,"34":206,"87":12800,"24":19,"16":2228091594211328,"45":8832121844829952000},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-10-05 20:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550077952001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:12:28] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-05 20:12:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 20:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2228091594211328,"km_value":2228091594211.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832121844829952000,"description":"Unknown IO ID 45"} 
[2026-10-05 20:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550077952001,"power":27517,"unknown_34":206,"unknown_87":12800,"ignition":19,"odometer":null,"unknown_45":8832121844829952000}} 
[2026-10-05 20:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":207965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:12:28] local.INFO: GPS data processed {"connection_id":207965,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:12:28] local.INFO: Acknowledgment sent {"connection_id":207965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:12:30] local.INFO: TCP Data received {"connection_id":207966,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207966,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:12:30] local.INFO: Processing buffer {"connection_id":207966,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:12:30] local.INFO: IMEI packet received {"connection_id":207966,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":207966,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:12:33] local.INFO: TCP Data received {"connection_id":207966,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207966,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:12:33] local.INFO: Processing buffer {"connection_id":207966,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:12:33] local.INFO: IMEI packet received {"connection_id":207966,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":207966,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:12:34] local.INFO: TCP Data received {"connection_id":207966,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c83a320012d7bac0005de5318000000aa24..."} 
[2026-10-05 20:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c83a320012d7bac0005de5318000000aa24..."} 
[2026-10-05 20:12:34] local.INFO: Processing buffer {"connection_id":207966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c83a320012d7bac0005de5318000000aa24..."} 
[2026-10-05 20:12:34] local.INFO: Packet analysis {"connection_id":207966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c83"} 
[2026-10-05 20:12:34] local.INFO: Extracted packet for processing {"connection_id":207966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c83"} 
[2026-10-05 20:12:34] local.INFO: GPS Element Parsed {"raw_longitude":763079680,"raw_latitude":98456344,"longitude_deg":76.307968,"latitude_deg":9.8456344,"altitude":0,"angle":170,"satellites":36,"speed":47,"hex_longitude":"2d7bac00","hex_latitude":"05de5318","is_valid_coordinates":true} 
[2026-10-05 20:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550094848001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139872726755049472,"note":"Value kept but may cause issues"} 
[2026-10-05 20:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909808938006376448,"note":"Value kept but may cause issues"} 
[2026-10-05 20:12:34] 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-10-05 20:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791211316000,"timestamp_ms":1791211316000,"timestamp_seconds":1791211316,"priority":1,"record_length":96,"hex_timestamp":"000001a10c83a320"} 
[2026-10-05 20:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:12: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-10-05 20:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 20:12:34] 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-10-05 20:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":207966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":207966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":207966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550094848001,"66":12689,"46":206,"85":15104,"24":47,"16":139872726755049472,"45":8909808938006376448},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,85,24,16,45]} 
[2026-10-05 20:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550094848001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:12:34] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-10-05 20:12:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139872726755049472,"km_value":139872726755049.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909808938006376448,"description":"Unknown IO ID 45"} 
[2026-10-05 20:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550094848001,"power":12689,"unknown_46":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8909808938006376448}} 
[2026-10-05 20:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":207966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:12:34] local.INFO: GPS data processed {"connection_id":207966,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:12:34] local.INFO: Acknowledgment sent {"connection_id":207966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:12:59] local.INFO: TCP Data received {"connection_id":205018,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:12:59] local.INFO: Processing buffer {"connection_id":205018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:12:59] local.INFO: IMEI packet received {"connection_id":205018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":205018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:13:03] local.INFO: TCP Data received {"connection_id":206395,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c818428012d196600071feee8004a015427..."} 
[2026-10-05 20:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c818428012d196600071feee8004a015427..."} 
[2026-10-05 20:13:03] local.INFO: Processing buffer {"connection_id":206395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c818428012d196600071feee8004a015427..."} 
[2026-10-05 20:13:03] local.INFO: Packet analysis {"connection_id":206395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c81"} 
[2026-10-05 20:13:03] local.INFO: Extracted packet for processing {"connection_id":206395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c81"} 
[2026-10-05 20:13:03] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549984256001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1791211177000,"timestamp_ms":1791211177000,"timestamp_seconds":1791211177,"priority":1,"record_length":96,"hex_timestamp":"000001a10c818428"} 
[2026-10-05 20:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:13: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-10-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:13: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-10-05 20: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-10-05 20:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":206395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":206395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":206395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549984256001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549984256001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:13:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:13:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549984256001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":206395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:13:03] local.INFO: GPS data processed {"connection_id":206395,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:13:03] local.INFO: Acknowledgment sent {"connection_id":206395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:13:04] local.INFO: TCP Data received {"connection_id":205018,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:13:04] local.INFO: Processing buffer {"connection_id":205018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:13:04] local.INFO: IMEI packet received {"connection_id":205018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":205018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:13:05] local.INFO: TCP Data received {"connection_id":205018,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c829d68012d7a86c005f60c00001c00f52c..."} 
[2026-10-05 20:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c829d68012d7a86c005f60c00001c00f52c..."} 
[2026-10-05 20:13:05] local.INFO: Processing buffer {"connection_id":205018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c829d68012d7a86c005f60c00001c00f52c..."} 
[2026-10-05 20:13:05] local.INFO: Packet analysis {"connection_id":205018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c82"} 
[2026-10-05 20:13:05] local.INFO: Extracted packet for processing {"connection_id":205018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c82"} 
[2026-10-05 20:13:05] local.INFO: GPS Element Parsed {"raw_longitude":763004608,"raw_latitude":100011008,"longitude_deg":76.3004608,"latitude_deg":10.0011008,"altitude":28,"angle":245,"satellites":44,"speed":11,"hex_longitude":"2d7a86c0","hex_latitude":"05f60c00","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550077952001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2228233328132096,"note":"Value kept but may cause issues"} 
[2026-10-05 20:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832121844829952000,"note":"Value kept but may cause issues"} 
[2026-10-05 20:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791211249000,"timestamp_ms":1791211249000,"timestamp_seconds":1791211249,"priority":1,"record_length":96,"hex_timestamp":"000001a10c829d68"} 
[2026-10-05 20:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-05 20:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:13:05] 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-10-05 20:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550077952001,"66":27463,"34":206,"87":12800,"24":11,"16":2228233328132096,"45":8832121844829952000},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-10-05 20:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550077952001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:13:05] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-05 20:13:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-05 20:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2228233328132096,"km_value":2228233328132.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832121844829952000,"description":"Unknown IO ID 45"} 
[2026-10-05 20:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550077952001,"power":27463,"unknown_34":206,"unknown_87":12800,"ignition":11,"odometer":null,"unknown_45":8832121844829952000}} 
[2026-10-05 20:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":205018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:13:05] local.INFO: GPS data processed {"connection_id":205018,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:13:05] local.INFO: Acknowledgment sent {"connection_id":205018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:13:06] local.INFO: TCP Data received {"connection_id":207966,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c83c260012d7bb20005de3090000300a828..."} 
[2026-10-05 20:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c83c260012d7bb20005de3090000300a828..."} 
[2026-10-05 20:13:06] local.INFO: Processing buffer {"connection_id":207966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c83c260012d7bb20005de3090000300a828..."} 
[2026-10-05 20:13:06] local.INFO: Packet analysis {"connection_id":207966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c83"} 
[2026-10-05 20:13:06] local.INFO: Extracted packet for processing {"connection_id":207966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c83"} 
[2026-10-05 20:13:06] local.INFO: GPS Element Parsed {"raw_longitude":763081216,"raw_latitude":98447504,"longitude_deg":76.3081216,"latitude_deg":9.8447504,"altitude":3,"angle":168,"satellites":40,"speed":44,"hex_longitude":"2d7bb200","hex_latitude":"05de3090","is_valid_coordinates":true} 
[2026-10-05 20:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550096896001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139873160546746368,"note":"Value kept but may cause issues"} 
[2026-10-05 20:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911497787864193024,"note":"Value kept but may cause issues"} 
[2026-10-05 20:13:06] 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-10-05 20:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791211324000,"timestamp_ms":1791211324000,"timestamp_seconds":1791211324,"priority":1,"record_length":96,"hex_timestamp":"000001a10c83c260"} 
[2026-10-05 20:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:13:06] 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-10-05 20:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 20:13:06] 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-10-05 20:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":207966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":207966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":207966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550096896001,"66":12613,"46":206,"85":15104,"24":44,"16":139873160546746368,"45":8911497787864193024},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,85,24,16,45]} 
[2026-10-05 20:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550096896001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:13:06] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-10-05 20:13:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139873160546746368,"km_value":139873160546746.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911497787864193024,"description":"Unknown IO ID 45"} 
[2026-10-05 20:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550096896001,"power":12613,"unknown_46":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8911497787864193024}} 
[2026-10-05 20:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":207966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969780,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:13:06] local.INFO: GPS data processed {"connection_id":207966,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:13:06] local.INFO: Acknowledgment sent {"connection_id":207966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:13:09] local.INFO: TCP Data received {"connection_id":205018,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c82ef70012d7a6f4005f60070001700ee2b..."} 
[2026-10-05 20:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c82ef70012d7a6f4005f60070001700ee2b..."} 
[2026-10-05 20:13:09] local.INFO: Processing buffer {"connection_id":205018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c82ef70012d7a6f4005f60070001700ee2b..."} 
[2026-10-05 20:13:09] local.INFO: Packet analysis {"connection_id":205018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c82"} 
[2026-10-05 20:13:09] local.INFO: Extracted packet for processing {"connection_id":205018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c82"} 
[2026-10-05 20:13:09] local.INFO: GPS Element Parsed {"raw_longitude":762998592,"raw_latitude":100008048,"longitude_deg":76.2998592,"latitude_deg":10.0008048,"altitude":23,"angle":238,"satellites":43,"speed":19,"hex_longitude":"2d7a6f40","hex_latitude":"05f60070","is_valid_coordinates":true} 
[2026-10-05 20:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550079744001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2228555450679296,"note":"Value kept but may cause issues"} 
[2026-10-05 20:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8828955251341787136,"note":"Value kept but may cause issues"} 
[2026-10-05 20:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791211270000,"timestamp_ms":1791211270000,"timestamp_seconds":1791211270,"priority":1,"record_length":96,"hex_timestamp":"000001a10c82ef70"} 
[2026-10-05 20:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:13: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-10-05 20:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-05 20:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":205018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":205018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":205018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550079744001,"66":27397,"235":206,"87":12032,"24":19,"16":2228555450679296,"45":8828955251341787136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-10-05 20:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550079744001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:13:09] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-10-05 20:13:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12032,"description":"Unknown IO ID 87"} 
[2026-10-05 20:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2228555450679296,"km_value":2228555450679.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8828955251341787136,"description":"Unknown IO ID 45"} 
[2026-10-05 20:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550079744001,"power":27397,"unknown_235":206,"unknown_87":12032,"ignition":19,"odometer":null,"unknown_45":8828955251341787136}} 
[2026-10-05 20:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":205018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:13:09] local.INFO: GPS data processed {"connection_id":205018,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:13:09] local.INFO: Acknowledgment sent {"connection_id":205018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:13:09] local.INFO: TCP Data received {"connection_id":204876,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:13:09] local.INFO: Processing buffer {"connection_id":204876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:13:09] local.INFO: IMEI packet received {"connection_id":204876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":204876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:13:15] local.INFO: TCP Data received {"connection_id":204876,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:13:15] local.INFO: Processing buffer {"connection_id":204876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:13:15] local.INFO: IMEI packet received {"connection_id":204876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":204876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:13:17] local.INFO: TCP Data received {"connection_id":204876,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c818428012d196600071feee8004a015427..."} 
[2026-10-05 20:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c818428012d196600071feee8004a015427..."} 
[2026-10-05 20:13:17] local.INFO: Processing buffer {"connection_id":204876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c818428012d196600071feee8004a015427..."} 
[2026-10-05 20:13:17] local.INFO: Packet analysis {"connection_id":204876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c81"} 
[2026-10-05 20:13:17] local.INFO: Extracted packet for processing {"connection_id":204876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c81"} 
[2026-10-05 20:13:17] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549984256001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791211177000,"timestamp_ms":1791211177000,"timestamp_seconds":1791211177,"priority":1,"record_length":96,"hex_timestamp":"000001a10c818428"} 
[2026-10-05 20:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":204876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":204876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":204876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549984256001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549984256001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:13:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:13:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549984256001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":204876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:13:17] local.INFO: GPS data processed {"connection_id":204876,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:13:17] local.INFO: Acknowledgment sent {"connection_id":204876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:13:30] local.INFO: TCP Data received {"connection_id":207967,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:13:30] local.INFO: Processing buffer {"connection_id":207967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:13:30] local.INFO: IMEI packet received {"connection_id":207967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":207967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:13:33] local.INFO: TCP Data received {"connection_id":207967,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:13:33] local.INFO: Processing buffer {"connection_id":207967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:13:33] local.INFO: IMEI packet received {"connection_id":207967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":207967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:13:35] local.INFO: TCP Data received {"connection_id":207967,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:13:35] local.INFO: Processing buffer {"connection_id":207967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:13:35] local.INFO: IMEI packet received {"connection_id":207967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":207967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:13:36] local.INFO: TCP Data received {"connection_id":207967,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c83e588012d7bb98005de0c80000600a729..."} 
[2026-10-05 20:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c83e588012d7bb98005de0c80000600a729..."} 
[2026-10-05 20:13:36] local.INFO: Processing buffer {"connection_id":207967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c83e588012d7bb98005de0c80000600a729..."} 
[2026-10-05 20:13:36] local.INFO: Packet analysis {"connection_id":207967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c83"} 
[2026-10-05 20:13:36] local.INFO: Extracted packet for processing {"connection_id":207967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c83"} 
[2026-10-05 20:13:36] local.INFO: GPS Element Parsed {"raw_longitude":763083136,"raw_latitude":98438272,"longitude_deg":76.3083136,"latitude_deg":9.8438272,"altitude":6,"angle":167,"satellites":41,"speed":40,"hex_longitude":"2d7bb980","hex_latitude":"05de0c80","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550098944001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139873615813279744,"note":"Value kept but may cause issues"} 
[2026-10-05 20:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913186637722193920,"note":"Value kept but may cause issues"} 
[2026-10-05 20:13:36] 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-10-05 20:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791211333000,"timestamp_ms":1791211333000,"timestamp_seconds":1791211333,"priority":1,"record_length":96,"hex_timestamp":"000001a10c83e588"} 
[2026-10-05 20:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 20:13:36] 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-10-05 20: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-10-05 20:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550098944001,"66":12602,"46":206,"85":15104,"24":40,"16":139873615813279744,"45":8913186637722193920},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,85,24,16,45]} 
[2026-10-05 20:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550098944001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:13:36] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-10-05 20:13:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139873615813279744,"km_value":139873615813279.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913186637722193920,"description":"Unknown IO ID 45"} 
[2026-10-05 20:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550098944001,"power":12602,"unknown_46":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8913186637722193920}} 
[2026-10-05 20:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":207967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969783,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:13:36] local.INFO: GPS data processed {"connection_id":207967,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:13:36] local.INFO: Acknowledgment sent {"connection_id":207967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:13:41] local.INFO: TCP Data received {"connection_id":207967,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c840c98012d7bc18005dde670000800a824..."} 
[2026-10-05 20:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c840c98012d7bc18005dde670000800a824..."} 
[2026-10-05 20:13:41] local.INFO: Processing buffer {"connection_id":207967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c840c98012d7bc18005dde670000800a824..."} 
[2026-10-05 20:13:41] local.INFO: Packet analysis {"connection_id":207967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c84"} 
[2026-10-05 20:13:41] local.INFO: Extracted packet for processing {"connection_id":207967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c84"} 
[2026-10-05 20:13:41] local.INFO: GPS Element Parsed {"raw_longitude":763085184,"raw_latitude":98428528,"longitude_deg":76.3085184,"latitude_deg":9.8428528,"altitude":8,"angle":168,"satellites":36,"speed":43,"hex_longitude":"2d7bc180","hex_latitude":"05dde670","is_valid_coordinates":true} 
[2026-10-05 20:13: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-10-05 20:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550101248001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915297700045160448,"note":"Value kept but may cause issues"} 
[2026-10-05 20:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139874101144584192,"note":"Value kept but may cause issues"} 
[2026-10-05 20:13:41] 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-10-05 20:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791211343000,"timestamp_ms":1791211343000,"timestamp_seconds":1791211343,"priority":1,"record_length":96,"hex_timestamp":"000001a10c840c98"} 
[2026-10-05 20:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:13:41] 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-10-05 20:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 20:13:41] 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-10-05 20:13: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-10-05 20:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":207967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":207967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":207967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550101248001,"66":12841,"45":8915297700045160448,"85":15104,"24":43,"16":139874101144584192},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 20:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550101248001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915297700045160448,"description":"Unknown IO ID 45"} 
[2026-10-05 20:13:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139874101144584192,"km_value":139874101144584.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:13:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458550101248001,"power":12841,"unknown_45":8915297700045160448,"unknown_85":15104,"ignition":43,"odometer":null}} 
[2026-10-05 20:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":207967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969784,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:13:41] local.INFO: GPS data processed {"connection_id":207967,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:13:41] local.INFO: Acknowledgment sent {"connection_id":207967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:13:52] local.INFO: TCP Data received {"connection_id":204876,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c818428012d196600071feee8004a015427..."} 
[2026-10-05 20:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c818428012d196600071feee8004a015427..."} 
[2026-10-05 20:13:52] local.INFO: Processing buffer {"connection_id":204876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c818428012d196600071feee8004a015427..."} 
[2026-10-05 20:13:52] local.INFO: Packet analysis {"connection_id":204876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c81"} 
[2026-10-05 20:13:52] local.INFO: Extracted packet for processing {"connection_id":204876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c81"} 
[2026-10-05 20:13:52] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:13: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-10-05 20:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549984256001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1791211177000,"timestamp_ms":1791211177000,"timestamp_seconds":1791211177,"priority":1,"record_length":96,"hex_timestamp":"000001a10c818428"} 
[2026-10-05 20:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:13:52] 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-10-05 20:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:13: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-10-05 20:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":204876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":204876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":204876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549984256001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549984256001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:13:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:13:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549984256001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":204876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:13:52] local.INFO: GPS data processed {"connection_id":204876,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:13:52] local.INFO: Acknowledgment sent {"connection_id":204876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:13:54] local.INFO: TCP Data received {"connection_id":204877,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:13:54] local.INFO: Processing buffer {"connection_id":204877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:13:54] local.INFO: IMEI packet received {"connection_id":204877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":204877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:13:55] local.INFO: TCP Data received {"connection_id":204877,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:13:55] local.INFO: Processing buffer {"connection_id":204877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:13:55] local.INFO: IMEI packet received {"connection_id":204877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":204877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:13:55] local.INFO: TCP Data received {"connection_id":204877,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c832df0012d7a508005f5ec90001600ea1d..."} 
[2026-10-05 20:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c832df0012d7a508005f5ec90001600ea1d..."} 
[2026-10-05 20:13:55] local.INFO: Processing buffer {"connection_id":204877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c832df0012d7a508005f5ec90001600ea1d..."} 
[2026-10-05 20:13:55] local.INFO: Packet analysis {"connection_id":204877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c83"} 
[2026-10-05 20:13:55] local.INFO: Extracted packet for processing {"connection_id":204877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c83"} 
[2026-10-05 20:13:55] local.INFO: GPS Element Parsed {"raw_longitude":762990720,"raw_latitude":100002960,"longitude_deg":76.299072,"latitude_deg":10.000296,"altitude":22,"angle":234,"satellites":29,"speed":23,"hex_longitude":"2d7a5080","hex_latitude":"05f5ec90","is_valid_coordinates":true} 
[2026-10-05 20:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550085120001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2229006422245376,"note":"Value kept but may cause issues"} 
[2026-10-05 20:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822340589388328960,"note":"Value kept but may cause issues"} 
[2026-10-05 20:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1791211286000,"timestamp_ms":1791211286000,"timestamp_seconds":1791211286,"priority":1,"record_length":96,"hex_timestamp":"000001a10c832df0"} 
[2026-10-05 20:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-05 20:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":204877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":204877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":204877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:13: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-10-05 20:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550085120001,"66":27463,"235":206,"87":12032,"24":23,"16":2229006422245376,"45":8822340589388328960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-10-05 20:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550085120001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:13:55] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-10-05 20:13:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":12032,"description":"Unknown IO ID 87"} 
[2026-10-05 20:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2229006422245376,"km_value":2229006422245.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822340589388328960,"description":"Unknown IO ID 45"} 
[2026-10-05 20:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550085120001,"power":27463,"unknown_235":206,"unknown_87":12032,"ignition":23,"odometer":null,"unknown_45":8822340589388328960}} 
[2026-10-05 20:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":204877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:13:55] local.INFO: GPS data processed {"connection_id":204877,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:13:55] local.INFO: Acknowledgment sent {"connection_id":204877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:14:04] local.INFO: TCP Data received {"connection_id":205019,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:14:04] local.INFO: Processing buffer {"connection_id":205019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:14:04] local.INFO: IMEI packet received {"connection_id":205019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":205019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:14:10] local.INFO: TCP Data received {"connection_id":205019,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:14:10] local.INFO: Processing buffer {"connection_id":205019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:14:10] local.INFO: IMEI packet received {"connection_id":205019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":205019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:14:11] local.INFO: TCP Data received {"connection_id":205019,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c818428012d196600071feee8004a015427..."} 
[2026-10-05 20:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c818428012d196600071feee8004a015427..."} 
[2026-10-05 20:14:11] local.INFO: Processing buffer {"connection_id":205019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c818428012d196600071feee8004a015427..."} 
[2026-10-05 20:14:11] local.INFO: Packet analysis {"connection_id":205019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c81"} 
[2026-10-05 20:14:11] local.INFO: Extracted packet for processing {"connection_id":205019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c81"} 
[2026-10-05 20:14:11] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549984256001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791211177000,"timestamp_ms":1791211177000,"timestamp_seconds":1791211177,"priority":1,"record_length":96,"hex_timestamp":"000001a10c818428"} 
[2026-10-05 20:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:14:11] 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-10-05 20:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549984256001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549984256001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:14:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:14:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549984256001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":205019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:14:11] local.INFO: GPS data processed {"connection_id":205019,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:14:11] local.INFO: Acknowledgment sent {"connection_id":205019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:14:13] local.INFO: TCP Data received {"connection_id":207967,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c842fc0012d7bc90005ddc0d8000700a925..."} 
[2026-10-05 20:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c842fc0012d7bc90005ddc0d8000700a925..."} 
[2026-10-05 20:14:13] local.INFO: Processing buffer {"connection_id":207967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c842fc0012d7bc90005ddc0d8000700a925..."} 
[2026-10-05 20:14:13] local.INFO: Packet analysis {"connection_id":207967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c84"} 
[2026-10-05 20:14:13] local.INFO: Extracted packet for processing {"connection_id":207967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c84"} 
[2026-10-05 20:14:13] local.INFO: GPS Element Parsed {"raw_longitude":763087104,"raw_latitude":98418904,"longitude_deg":76.3087104,"latitude_deg":9.8418904,"altitude":7,"angle":169,"satellites":37,"speed":43,"hex_longitude":"2d7bc900","hex_latitude":"05ddc0d8","is_valid_coordinates":true} 
[2026-10-05 20:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550103808001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917549499856351232,"note":"Value kept but may cause issues"} 
[2026-10-05 20:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139874577885954048,"note":"Value kept but may cause issues"} 
[2026-10-05 20:14:13] 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-10-05 20:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791211352000,"timestamp_ms":1791211352000,"timestamp_seconds":1791211352,"priority":1,"record_length":96,"hex_timestamp":"000001a10c842fc0"} 
[2026-10-05 20:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:14: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-10-05 20:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 20:14: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-10-05 20:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":207967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":207967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":207967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550103808001,"66":12613,"45":8917549499856351232,"85":15104,"24":43,"16":139874577885954048},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-05 20:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550103808001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917549499856351232,"description":"Unknown IO ID 45"} 
[2026-10-05 20:14:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139874577885954048,"km_value":139874577885954.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:14:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458550103808001,"power":12613,"unknown_45":8917549499856351232,"unknown_85":15104,"ignition":43,"odometer":null}} 
[2026-10-05 20:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":207967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:14:13] local.INFO: GPS data processed {"connection_id":207967,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:14:13] local.INFO: Acknowledgment sent {"connection_id":207967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:14:26] local.INFO: TCP Data received {"connection_id":204877,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c835500012d7a414005f5e530001600f90c..."} 
[2026-10-05 20:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c835500012d7a414005f5e530001600f90c..."} 
[2026-10-05 20:14:26] local.INFO: Processing buffer {"connection_id":204877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c835500012d7a414005f5e530001600f90c..."} 
[2026-10-05 20:14:26] local.INFO: Packet analysis {"connection_id":204877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c83"} 
[2026-10-05 20:14:26] local.INFO: Extracted packet for processing {"connection_id":204877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c83"} 
[2026-10-05 20:14:26] local.INFO: GPS Element Parsed {"raw_longitude":762986816,"raw_latitude":100001072,"longitude_deg":76.2986816,"latitude_deg":10.0001072,"altitude":22,"angle":249,"satellites":12,"speed":15,"hex_longitude":"2d7a4140","hex_latitude":"05f5e530","is_valid_coordinates":true} 
[2026-10-05 20:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550089216001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2229216875642880,"note":"Value kept but may cause issues"} 
[2026-10-05 20:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813685233853173760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1791211296000,"timestamp_ms":1791211296000,"timestamp_seconds":1791211296,"priority":1,"record_length":96,"hex_timestamp":"000001a10c835500"} 
[2026-10-05 20:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20: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-10-05 20:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-05 20:14:26] 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-10-05 20:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":204877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":204877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":204877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:14: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-10-05 20:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550089216001,"66":27604,"235":206,"87":12032,"24":15,"16":2229216875642880,"45":8813685233853173760},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-10-05 20:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550089216001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:14:26] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-10-05 20:14:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12032,"description":"Unknown IO ID 87"} 
[2026-10-05 20:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2229216875642880,"km_value":2229216875642.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813685233853173760,"description":"Unknown IO ID 45"} 
[2026-10-05 20:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550089216001,"power":27604,"unknown_235":206,"unknown_87":12032,"ignition":15,"odometer":null,"unknown_45":8813685233853173760}} 
[2026-10-05 20:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":204877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:14:26] local.INFO: GPS data processed {"connection_id":204877,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:14:26] local.INFO: Acknowledgment sent {"connection_id":204877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:14:30] local.INFO: TCP Data received {"connection_id":205020,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205020,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:14:30] local.INFO: Processing buffer {"connection_id":205020,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:14:30] local.INFO: IMEI packet received {"connection_id":205020,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":205020,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:14:31] local.INFO: TCP Data received {"connection_id":205020,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205020,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:14:31] local.INFO: Processing buffer {"connection_id":205020,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:14:31] local.INFO: IMEI packet received {"connection_id":205020,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":205020,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:14:35] local.INFO: TCP Data received {"connection_id":205020,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205020,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:14:35] local.INFO: Processing buffer {"connection_id":205020,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:14:35] local.INFO: IMEI packet received {"connection_id":205020,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":205020,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:14:37] local.INFO: TCP Data received {"connection_id":205020,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c85b278012d7bea8005dc2e90000500b323..."} 
[2026-10-05 20:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c85b278012d7bea8005dc2e90000500b323..."} 
[2026-10-05 20:14:37] local.INFO: Processing buffer {"connection_id":205020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c85b278012d7bea8005dc2e90000500b323..."} 
[2026-10-05 20:14:37] local.INFO: Packet analysis {"connection_id":205020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c85"} 
[2026-10-05 20:14:37] local.INFO: Extracted packet for processing {"connection_id":205020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c85"} 
[2026-10-05 20:14:37] local.INFO: GPS Element Parsed {"raw_longitude":763095680,"raw_latitude":98315920,"longitude_deg":76.309568,"latitude_deg":9.831592,"altitude":5,"angle":179,"satellites":35,"speed":37,"hex_longitude":"2d7bea80","hex_latitude":"05dc2e90","is_valid_coordinates":true} 
[2026-10-05 20:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550128640001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139879594407755776,"note":"Value kept but may cause issues"} 
[2026-10-05 20:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929089973875025920,"note":"Value kept but may cause issues"} 
[2026-10-05 20:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791211451000,"timestamp_ms":1791211451000,"timestamp_seconds":1791211451,"priority":1,"record_length":96,"hex_timestamp":"000001a10c85b278"} 
[2026-10-05 20:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:14:37] 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-10-05 20:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-05 20:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550128640001,"66":12765,"185":206,"85":15104,"24":37,"16":139879594407755776,"45":8929089973875025920},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 20:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550128640001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:14:37] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 20:14:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139879594407755776,"km_value":139879594407755.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929089973875025920,"description":"Unknown IO ID 45"} 
[2026-10-05 20:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550128640001,"power":12765,"unknown_185":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8929089973875025920}} 
[2026-10-05 20:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":205020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:14:37] local.INFO: GPS data processed {"connection_id":205020,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:14:37] local.INFO: Acknowledgment sent {"connection_id":205020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:14:44] local.INFO: TCP Data received {"connection_id":205019,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c818428012d196600071feee8004a015427..."} 
[2026-10-05 20:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c818428012d196600071feee8004a015427..."} 
[2026-10-05 20:14:44] local.INFO: Processing buffer {"connection_id":205019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c818428012d196600071feee8004a015427..."} 
[2026-10-05 20:14:44] local.INFO: Packet analysis {"connection_id":205019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c81"} 
[2026-10-05 20:14:44] local.INFO: Extracted packet for processing {"connection_id":205019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c81"} 
[2026-10-05 20:14:44] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458549984256001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791211177000,"timestamp_ms":1791211177000,"timestamp_seconds":1791211177,"priority":1,"record_length":96,"hex_timestamp":"000001a10c818428"} 
[2026-10-05 20:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":205019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":205019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":205019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458549984256001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458549984256001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:14:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:14:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458549984256001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":205019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:14:44] local.INFO: GPS data processed {"connection_id":205019,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:14:44] local.INFO: Acknowledgment sent {"connection_id":205019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:14:52] local.INFO: TCP Data received {"connection_id":205021,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:14:52] local.INFO: Processing buffer {"connection_id":205021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:14:52] local.INFO: IMEI packet received {"connection_id":205021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":205021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:14:54] local.INFO: TCP Data received {"connection_id":205021,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:14:54] local.INFO: Processing buffer {"connection_id":205021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:14:54] local.INFO: IMEI packet received {"connection_id":205021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":205021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:14:59] local.INFO: TCP Data received {"connection_id":205021,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:14:59] local.INFO: Processing buffer {"connection_id":205021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:14:59] local.INFO: IMEI packet received {"connection_id":205021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":205021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:15:00] local.INFO: TCP Data received {"connection_id":205021,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c853960012d79808005f54f38000f00ec28..."} 
[2026-10-05 20:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c853960012d79808005f54f38000f00ec28..."} 
[2026-10-05 20:15:00] local.INFO: Processing buffer {"connection_id":205021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c853960012d79808005f54f38000f00ec28..."} 
[2026-10-05 20:15:00] local.INFO: Packet analysis {"connection_id":205021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c85"} 
[2026-10-05 20:15:00] local.INFO: Extracted packet for processing {"connection_id":205021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c85"} 
[2026-10-05 20:15:00] local.INFO: GPS Element Parsed {"raw_longitude":762937472,"raw_latitude":99962680,"longitude_deg":76.2937472,"latitude_deg":9.996268,"altitude":15,"angle":236,"satellites":40,"speed":34,"hex_longitude":"2d798080","hex_latitude":"05f54f38","is_valid_coordinates":true} 
[2026-10-05 20:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550120704001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2232249122553856,"note":"Value kept but may cause issues"} 
[2026-10-05 20:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8763934531710623744,"note":"Value kept but may cause issues"} 
[2026-10-05 20:15:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,87,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 20:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791211420000,"timestamp_ms":1791211420000,"timestamp_seconds":1791211420,"priority":1,"record_length":96,"hex_timestamp":"000001a10c853960"} 
[2026-10-05 20:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 20:15: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-10-05 20:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":205021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":205021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":205021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:15: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-10-05 20:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550120704001,"66":27365,"24":34,"87":13568,"16":2232249122553856,"45":8763934531710623744},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,87,16,45]} 
[2026-10-05 20:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550120704001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:15:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 20:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2232249122553856,"km_value":2232249122553.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8763934531710623744,"description":"Unknown IO ID 45"} 
[2026-10-05 20:15:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458550120704001,"power":27365,"ignition":34,"unknown_87":13568,"odometer":null,"unknown_45":8763934531710623744}} 
[2026-10-05 20:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":205021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:15:00] local.INFO: GPS data processed {"connection_id":205021,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:15:00] local.INFO: Acknowledgment sent {"connection_id":205021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:15:09] local.INFO: TCP Data received {"connection_id":205020,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c85d5a0012d7bed0005dc0b98000600af26..."} 
[2026-10-05 20:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c85d5a0012d7bed0005dc0b98000600af26..."} 
[2026-10-05 20:15:09] local.INFO: Processing buffer {"connection_id":205020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c85d5a0012d7bed0005dc0b98000600af26..."} 
[2026-10-05 20:15:09] local.INFO: Packet analysis {"connection_id":205020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c85"} 
[2026-10-05 20:15:09] local.INFO: Extracted packet for processing {"connection_id":205020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c85"} 
[2026-10-05 20:15:09] local.INFO: GPS Element Parsed {"raw_longitude":763096320,"raw_latitude":98306968,"longitude_deg":76.309632,"latitude_deg":9.8306968,"altitude":6,"angle":175,"satellites":38,"speed":44,"hex_longitude":"2d7bed00","hex_latitude":"05dc0b98","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550131456001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139880032494419968,"note":"Value kept but may cause issues"} 
[2026-10-05 20:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929089973872660480,"note":"Value kept but may cause issues"} 
[2026-10-05 20:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791211460000,"timestamp_ms":1791211460000,"timestamp_seconds":1791211460,"priority":1,"record_length":96,"hex_timestamp":"000001a10c85d5a0"} 
[2026-10-05 20:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20: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":221,"data_length":795,"current_offset":136} 
[2026-10-05 20:15:09] 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-10-05 20:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":205020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":205020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":205020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550131456001,"66":12722,"185":206,"85":15104,"24":44,"16":139880032494419968,"45":8929089973872660480},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 20:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550131456001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:15:09] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 20:15:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139880032494419968,"km_value":139880032494419.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929089973872660480,"description":"Unknown IO ID 45"} 
[2026-10-05 20:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550131456001,"power":12722,"unknown_185":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8929089973872660480}} 
[2026-10-05 20:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":205020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969793,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:15:09] local.INFO: GPS data processed {"connection_id":205020,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:15:09] local.INFO: Acknowledgment sent {"connection_id":205020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:15:09] local.INFO: TCP Data received {"connection_id":204878,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:15:09] local.INFO: Processing buffer {"connection_id":204878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:15:09] local.INFO: IMEI packet received {"connection_id":204878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":204878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:15:15] local.INFO: TCP Data received {"connection_id":204878,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:15:15] local.INFO: Processing buffer {"connection_id":204878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:15:15] local.INFO: IMEI packet received {"connection_id":204878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":204878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:15:19] local.INFO: TCP Data received {"connection_id":204878,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c861bf0012d196600071feee8004a01542a..."} 
[2026-10-05 20:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c861bf0012d196600071feee8004a01542a..."} 
[2026-10-05 20:15:19] local.INFO: Processing buffer {"connection_id":204878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c861bf0012d196600071feee8004a01542a..."} 
[2026-10-05 20:15:19] local.INFO: Packet analysis {"connection_id":204878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:15:19] local.INFO: Extracted packet for processing {"connection_id":204878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:15:19] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:15: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-10-05 20:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550061312001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791211478000,"timestamp_ms":1791211478000,"timestamp_seconds":1791211478,"priority":1,"record_length":96,"hex_timestamp":"000001a10c861bf0"} 
[2026-10-05 20:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:15:19] 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-10-05 20:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:15: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-10-05 20:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":204878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":204878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":204878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550061312001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550061312001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:15:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:15:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550061312001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":204878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:15:19] local.INFO: GPS data processed {"connection_id":204878,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:15:19] local.INFO: Acknowledgment sent {"connection_id":204878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:15:31] local.INFO: TCP Data received {"connection_id":205021,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c856070012d79644005f539a8001100e221..."} 
[2026-10-05 20:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c856070012d79644005f539a8001100e221..."} 
[2026-10-05 20:15:31] local.INFO: Processing buffer {"connection_id":205021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c856070012d79644005f539a8001100e221..."} 
[2026-10-05 20:15:31] local.INFO: Packet analysis {"connection_id":205021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c85"} 
[2026-10-05 20:15:31] local.INFO: Extracted packet for processing {"connection_id":205021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c85"} 
[2026-10-05 20:15:31] local.INFO: GPS Element Parsed {"raw_longitude":762930240,"raw_latitude":99957160,"longitude_deg":76.293024,"latitude_deg":9.995716,"altitude":17,"angle":226,"satellites":33,"speed":36,"hex_longitude":"2d796440","hex_latitude":"05f539a8","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550123520001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2232687209218048,"note":"Value kept but may cause issues"} 
[2026-10-05 20:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8755138438687045632,"note":"Value kept but may cause issues"} 
[2026-10-05 20:15:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,87,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-05 20:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791211430000,"timestamp_ms":1791211430000,"timestamp_seconds":1791211430,"priority":1,"record_length":96,"hex_timestamp":"000001a10c856070"} 
[2026-10-05 20:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:15: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-10-05 20:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-05 20:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":205021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":205021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":205021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550123520001,"66":27321,"24":36,"87":13568,"16":2232687209218048,"45":8755138438687045632},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,87,16,45]} 
[2026-10-05 20:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550123520001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:15:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 20:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2232687209218048,"km_value":2232687209218.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8755138438687045632,"description":"Unknown IO ID 45"} 
[2026-10-05 20:15:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458550123520001,"power":27321,"ignition":36,"unknown_87":13568,"odometer":null,"unknown_45":8755138438687045632}} 
[2026-10-05 20:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":205021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:15:31] local.INFO: GPS data processed {"connection_id":205021,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:15:31] local.INFO: Acknowledgment sent {"connection_id":205021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:15:36] local.INFO: TCP Data received {"connection_id":207969,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:15:36] local.INFO: Processing buffer {"connection_id":207969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:15:36] local.INFO: IMEI packet received {"connection_id":207969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":207969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:15:40] local.INFO: TCP Data received {"connection_id":207969,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:15:40] local.INFO: Processing buffer {"connection_id":207969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:15:40] local.INFO: IMEI packet received {"connection_id":207969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":207969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:15:43] local.INFO: TCP Data received {"connection_id":207969,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c85f8c8012d7bf14005dbe618000500ac25..."} 
[2026-10-05 20:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c85f8c8012d7bf14005dbe618000500ac25..."} 
[2026-10-05 20:15:43] local.INFO: Processing buffer {"connection_id":207969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c85f8c8012d7bf14005dbe618000500ac25..."} 
[2026-10-05 20:15:43] local.INFO: Packet analysis {"connection_id":207969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c85"} 
[2026-10-05 20:15:43] local.INFO: Extracted packet for processing {"connection_id":207969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c85"} 
[2026-10-05 20:15:43] local.INFO: GPS Element Parsed {"raw_longitude":763097408,"raw_latitude":98297368,"longitude_deg":76.3097408,"latitude_deg":9.8297368,"altitude":5,"angle":172,"satellites":37,"speed":42,"hex_longitude":"2d7bf140","hex_latitude":"05dbe618","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550133760001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139880500645855232,"note":"Value kept but may cause issues"} 
[2026-10-05 20:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929793661312145408,"note":"Value kept but may cause issues"} 
[2026-10-05 20:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791211469000,"timestamp_ms":1791211469000,"timestamp_seconds":1791211469,"priority":1,"record_length":96,"hex_timestamp":"000001a10c85f8c8"} 
[2026-10-05 20:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:15: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-10-05 20: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 20:15: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-10-05 20: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-10-05 20:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550133760001,"66":12689,"185":206,"85":15104,"24":42,"16":139880500645855232,"45":8929793661312145408},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 20:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550133760001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:15:43] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 20:15:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139880500645855232,"km_value":139880500645855.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929793661312145408,"description":"Unknown IO ID 45"} 
[2026-10-05 20:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550133760001,"power":12689,"unknown_185":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8929793661312145408}} 
[2026-10-05 20:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":207969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969796,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:15:43] local.INFO: GPS data processed {"connection_id":207969,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:15:43] local.INFO: Acknowledgment sent {"connection_id":207969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:15:54] local.INFO: TCP Data received {"connection_id":206399,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:15:54] local.INFO: Processing buffer {"connection_id":206399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:15:54] local.INFO: IMEI packet received {"connection_id":206399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":206399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:15:58] local.INFO: TCP Data received {"connection_id":206399,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:15:58] local.INFO: Processing buffer {"connection_id":206399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:15:58] local.INFO: IMEI packet received {"connection_id":206399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":206399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:15:59] local.INFO: TCP Data received {"connection_id":206399,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c858b68012d79488005f52348001000e326..."} 
[2026-10-05 20:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c858b68012d79488005f52348001000e326..."} 
[2026-10-05 20:15:59] local.INFO: Processing buffer {"connection_id":206399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c858b68012d79488005f52348001000e326..."} 
[2026-10-05 20:15:59] local.INFO: Packet analysis {"connection_id":206399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c85"} 
[2026-10-05 20:15:59] local.INFO: Extracted packet for processing {"connection_id":206399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c85"} 
[2026-10-05 20:15:59] local.INFO: GPS Element Parsed {"raw_longitude":762923136,"raw_latitude":99951432,"longitude_deg":76.2923136,"latitude_deg":9.9951432,"altitude":16,"angle":227,"satellites":38,"speed":26,"hex_longitude":"2d794880","hex_latitude":"05f52348","is_valid_coordinates":true} 
[2026-10-05 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-10-05 20:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550126080001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2233125295882240,"note":"Value kept but may cause issues"} 
[2026-10-05 20:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8747186770593556480,"note":"Value kept but may cause issues"} 
[2026-10-05 20:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791211441000,"timestamp_ms":1791211441000,"timestamp_seconds":1791211441,"priority":1,"record_length":96,"hex_timestamp":"000001a10c858b68"} 
[2026-10-05 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-10-05 20:15: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-10-05 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":185,"data_length":795,"current_offset":136} 
[2026-10-05 20:15:59] 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-10-05 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-10-05 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-10-05 20:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":206399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":206399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":206399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550126080001,"66":27365,"174":206,"87":13568,"24":26,"16":2233125295882240,"45":8747186770593556480},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-10-05 20:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550126080001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:15:59] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-10-05 20:15:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 20:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2233125295882240,"km_value":2233125295882.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8747186770593556480,"description":"Unknown IO ID 45"} 
[2026-10-05 20:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550126080001,"power":27365,"unknown_174":206,"unknown_87":13568,"ignition":26,"odometer":null,"unknown_45":8747186770593556480}} 
[2026-10-05 20:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":206399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:15:59] local.INFO: GPS data processed {"connection_id":206399,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:15:59] local.INFO: Acknowledgment sent {"connection_id":206399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:16:09] local.INFO: TCP Data received {"connection_id":204879,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:16:09] local.INFO: Processing buffer {"connection_id":204879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:16:09] local.INFO: IMEI packet received {"connection_id":204879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":204879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:16:16] local.INFO: TCP Data received {"connection_id":207969,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c861bf0012d7bf84005dbc2b0000600a528..."} 
[2026-10-05 20:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c861bf0012d7bf84005dbc2b0000600a528..."} 
[2026-10-05 20:16:16] local.INFO: Processing buffer {"connection_id":207969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c861bf0012d7bf84005dbc2b0000600a528..."} 
[2026-10-05 20:16:16] local.INFO: Packet analysis {"connection_id":207969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:16:16] local.INFO: Extracted packet for processing {"connection_id":207969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:16:16] local.INFO: GPS Element Parsed {"raw_longitude":763099200,"raw_latitude":98288304,"longitude_deg":76.30992,"latitude_deg":9.8288304,"altitude":6,"angle":165,"satellites":40,"speed":38,"hex_longitude":"2d7bf840","hex_latitude":"05dbc2b0","is_valid_coordinates":true} 
[2026-10-05 20:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550136064001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139880947322454016,"note":"Value kept but may cause issues"} 
[2026-10-05 20:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930989929960708096,"note":"Value kept but may cause issues"} 
[2026-10-05 20:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791211478000,"timestamp_ms":1791211478000,"timestamp_seconds":1791211478,"priority":1,"record_length":96,"hex_timestamp":"000001a10c861bf0"} 
[2026-10-05 20:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 20:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550136064001,"66":12189,"185":206,"85":15104,"24":38,"16":139880947322454016,"45":8930989929960708096},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 20:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550136064001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:16:16] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 20:16:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139880947322454016,"km_value":139880947322454.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930989929960708096,"description":"Unknown IO ID 45"} 
[2026-10-05 20:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550136064001,"power":12189,"unknown_185":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8930989929960708096}} 
[2026-10-05 20:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":207969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969798,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:16:16] local.INFO: GPS data processed {"connection_id":207969,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:16:16] local.INFO: Acknowledgment sent {"connection_id":207969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:16:17] local.INFO: TCP Data received {"connection_id":204879,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:16:17] local.INFO: Processing buffer {"connection_id":204879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:16:17] local.INFO: IMEI packet received {"connection_id":204879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":204879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:16:18] local.INFO: TCP Data received {"connection_id":204879,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c861bf0012d196600071feee8004a01542a..."} 
[2026-10-05 20:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c861bf0012d196600071feee8004a01542a..."} 
[2026-10-05 20:16:18] local.INFO: Processing buffer {"connection_id":204879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c861bf0012d196600071feee8004a01542a..."} 
[2026-10-05 20:16:18] local.INFO: Packet analysis {"connection_id":204879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:16:18] local.INFO: Extracted packet for processing {"connection_id":204879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:16:18] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550061312001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791211478000,"timestamp_ms":1791211478000,"timestamp_seconds":1791211478,"priority":1,"record_length":96,"hex_timestamp":"000001a10c861bf0"} 
[2026-10-05 20:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:16:18] 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-10-05 20:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":204879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":204879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":204879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550061312001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550061312001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:16:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:16:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550061312001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":204879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:16:18] local.INFO: GPS data processed {"connection_id":204879,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:16:18] local.INFO: Acknowledgment sent {"connection_id":204879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:16:30] local.INFO: TCP Data received {"connection_id":206399,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c85be30012d792d4005f50958001100de23..."} 
[2026-10-05 20:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c85be30012d792d4005f50958001100de23..."} 
[2026-10-05 20:16:30] local.INFO: Processing buffer {"connection_id":206399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c85be30012d792d4005f50958001100de23..."} 
[2026-10-05 20:16:30] local.INFO: Packet analysis {"connection_id":206399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c85"} 
[2026-10-05 20:16:30] local.INFO: Extracted packet for processing {"connection_id":206399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c85"} 
[2026-10-05 20:16:30] local.INFO: GPS Element Parsed {"raw_longitude":762916160,"raw_latitude":99944792,"longitude_deg":76.291616,"latitude_deg":9.9944792,"altitude":17,"angle":222,"satellites":35,"speed":28,"hex_longitude":"2d792d40","hex_latitude":"05f50958","is_valid_coordinates":true} 
[2026-10-05 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-10-05 20:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550128896001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2233589152350208,"note":"Value kept but may cause issues"} 
[2026-10-05 20:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8739375839988369408,"note":"Value kept but may cause issues"} 
[2026-10-05 20:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1791211454000,"timestamp_ms":1791211454000,"timestamp_seconds":1791211454,"priority":1,"record_length":96,"hex_timestamp":"000001a10c85be30"} 
[2026-10-05 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-10-05 20: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-10-05 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-05 20:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 20:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":206399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":206399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":206399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550128896001,"66":27332,"174":206,"87":13568,"24":28,"16":2233589152350208,"45":8739375839988369408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-10-05 20:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550128896001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:16:30] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-10-05 20:16:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 20:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2233589152350208,"km_value":2233589152350.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8739375839988369408,"description":"Unknown IO ID 45"} 
[2026-10-05 20:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550128896001,"power":27332,"unknown_174":206,"unknown_87":13568,"ignition":28,"odometer":null,"unknown_45":8739375839988369408}} 
[2026-10-05 20:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":206399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:16:30] local.INFO: GPS data processed {"connection_id":206399,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:16:30] local.INFO: Acknowledgment sent {"connection_id":206399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:16:30] local.INFO: TCP Data received {"connection_id":205022,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:16:30] local.INFO: Processing buffer {"connection_id":205022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:16:30] local.INFO: IMEI packet received {"connection_id":205022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":205022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:16:35] local.INFO: TCP Data received {"connection_id":205022,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:16:35] local.INFO: Processing buffer {"connection_id":205022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:16:35] local.INFO: IMEI packet received {"connection_id":205022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":205022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:16:37] local.INFO: TCP Data received {"connection_id":205022,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c864ad0012d7c000005dba3280009009225..."} 
[2026-10-05 20:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c864ad0012d7c000005dba3280009009225..."} 
[2026-10-05 20:16:37] local.INFO: Processing buffer {"connection_id":205022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c864ad0012d7c000005dba3280009009225..."} 
[2026-10-05 20:16:37] local.INFO: Packet analysis {"connection_id":205022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:16:37] local.INFO: Extracted packet for processing {"connection_id":205022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:16:37] local.INFO: GPS Element Parsed {"raw_longitude":763101184,"raw_latitude":98280232,"longitude_deg":76.3101184,"latitude_deg":9.8280232,"altitude":9,"angle":146,"satellites":37,"speed":14,"hex_longitude":"2d7c0000","hex_latitude":"05dba328","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550138368001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139881351049379840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932960254795362304,"note":"Value kept but may cause issues"} 
[2026-10-05 20:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791211490000,"timestamp_ms":1791211490000,"timestamp_seconds":1791211490,"priority":1,"record_length":96,"hex_timestamp":"000001a10c864ad0"} 
[2026-10-05 20:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:16:37] 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-10-05 20: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-10-05 20:16:37] 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-10-05 20: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-10-05 20:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550138368001,"66":12189,"185":206,"85":15104,"24":14,"16":139881351049379840,"45":8932960254795362304},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 20:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550138368001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:16:37] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 20:16:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139881351049379840,"km_value":139881351049379.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932960254795362304,"description":"Unknown IO ID 45"} 
[2026-10-05 20:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550138368001,"power":12189,"unknown_185":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8932960254795362304}} 
[2026-10-05 20:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":205022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:16:37] local.INFO: GPS data processed {"connection_id":205022,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:16:37] local.INFO: Acknowledgment sent {"connection_id":205022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:16:43] local.INFO: TCP Data received {"connection_id":204880,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204880,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:16:43] local.INFO: Processing buffer {"connection_id":204880,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:16:43] local.INFO: IMEI packet received {"connection_id":204880,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 20:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":204880,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:16:53] local.INFO: TCP Data received {"connection_id":206400,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:16:53] local.INFO: Processing buffer {"connection_id":206400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:16:53] local.INFO: IMEI packet received {"connection_id":206400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":206400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:16:54] local.INFO: TCP Data received {"connection_id":206400,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:16:54] local.INFO: Processing buffer {"connection_id":206400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:16:54] local.INFO: IMEI packet received {"connection_id":206400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":206400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:16:59] local.INFO: TCP Data received {"connection_id":206400,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:16:59] local.INFO: Processing buffer {"connection_id":206400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:16:59] local.INFO: IMEI packet received {"connection_id":206400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":206400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:17:00] local.INFO: TCP Data received {"connection_id":206400,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c85ed10012d79138005f4ed58001200e01d..."} 
[2026-10-05 20:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c85ed10012d79138005f4ed58001200e01d..."} 
[2026-10-05 20:17:00] local.INFO: Processing buffer {"connection_id":206400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c85ed10012d79138005f4ed58001200e01d..."} 
[2026-10-05 20:17:00] local.INFO: Packet analysis {"connection_id":206400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c85"} 
[2026-10-05 20:17:00] local.INFO: Extracted packet for processing {"connection_id":206400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c85"} 
[2026-10-05 20:17:00] local.INFO: GPS Element Parsed {"raw_longitude":762909568,"raw_latitude":99937624,"longitude_deg":76.2909568,"latitude_deg":9.9937624,"altitude":18,"angle":224,"satellites":29,"speed":30,"hex_longitude":"2d791380","hex_latitude":"05f4ed58","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550132224001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2234061598752768,"note":"Value kept but may cause issues"} 
[2026-10-05 20:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8731705646871304192,"note":"Value kept but may cause issues"} 
[2026-10-05 20:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791211466000,"timestamp_ms":1791211466000,"timestamp_seconds":1791211466,"priority":1,"record_length":96,"hex_timestamp":"000001a10c85ed10"} 
[2026-10-05 20:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:17: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-10-05 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-05 20:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:17: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-10-05 20:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550132224001,"66":27365,"174":206,"87":13568,"24":30,"16":2234061598752768,"45":8731705646871304192},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-10-05 20:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550132224001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:17:00] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-10-05 20:17:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 20:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2234061598752768,"km_value":2234061598752.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8731705646871304192,"description":"Unknown IO ID 45"} 
[2026-10-05 20:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550132224001,"power":27365,"unknown_174":206,"unknown_87":13568,"ignition":30,"odometer":null,"unknown_45":8731705646871304192}} 
[2026-10-05 20:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":206400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:17:00] local.INFO: GPS data processed {"connection_id":206400,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:17:00] local.INFO: Acknowledgment sent {"connection_id":206400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:17:10] local.INFO: TCP Data received {"connection_id":207970,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:17:10] local.INFO: Processing buffer {"connection_id":207970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:17:10] local.INFO: IMEI packet received {"connection_id":207970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":207970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:17:11] local.INFO: TCP Data received {"connection_id":205022,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8652a0012d7c018005dba1880008007b25..."} 
[2026-10-05 20:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8652a0012d7c018005dba1880008007b25..."} 
[2026-10-05 20:17:11] local.INFO: Processing buffer {"connection_id":205022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8652a0012d7c018005dba1880008007b25..."} 
[2026-10-05 20:17:11] local.INFO: Packet analysis {"connection_id":205022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:17:11] local.INFO: Extracted packet for processing {"connection_id":205022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:17:11] local.INFO: GPS Element Parsed {"raw_longitude":763101568,"raw_latitude":98279816,"longitude_deg":76.3101568,"latitude_deg":9.8279816,"altitude":8,"angle":123,"satellites":37,"speed":10,"hex_longitude":"2d7c0180","hex_latitude":"05dba188","is_valid_coordinates":true} 
[2026-10-05 20:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550141440001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139881381114150912,"note":"Value kept but may cause issues"} 
[2026-10-05 20:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935141685862803456,"note":"Value kept but may cause issues"} 
[2026-10-05 20:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791211492000,"timestamp_ms":1791211492000,"timestamp_seconds":1791211492,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8652a0"} 
[2026-10-05 20:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:17: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-10-05 20:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-10-05 20:17:11] 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-10-05 20:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550141440001,"66":12189,"185":206,"85":15104,"24":10,"16":139881381114150912,"45":8935141685862803456},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 20:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550141440001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:17:11] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 20:17:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139881381114150912,"km_value":139881381114150.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935141685862803456,"description":"Unknown IO ID 45"} 
[2026-10-05 20:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550141440001,"power":12189,"unknown_185":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8935141685862803456}} 
[2026-10-05 20:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":205022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:17:11] local.INFO: GPS data processed {"connection_id":205022,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:17:11] local.INFO: Acknowledgment sent {"connection_id":205022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:17:15] local.INFO: TCP Data received {"connection_id":207970,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:17:15] local.INFO: Processing buffer {"connection_id":207970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:17:15] local.INFO: IMEI packet received {"connection_id":207970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":207970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:17:17] local.INFO: TCP Data received {"connection_id":207970,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c861bf0012d196600071feee8004a01542a..."} 
[2026-10-05 20:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c861bf0012d196600071feee8004a01542a..."} 
[2026-10-05 20:17:17] local.INFO: Processing buffer {"connection_id":207970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c861bf0012d196600071feee8004a01542a..."} 
[2026-10-05 20:17:17] local.INFO: Packet analysis {"connection_id":207970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:17:17] local.INFO: Extracted packet for processing {"connection_id":207970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:17:17] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550061312001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791211478000,"timestamp_ms":1791211478000,"timestamp_seconds":1791211478,"priority":1,"record_length":96,"hex_timestamp":"000001a10c861bf0"} 
[2026-10-05 20:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:17:17] 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-10-05 20:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":207970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":207970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":207970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550061312001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550061312001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:17:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:17:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550061312001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":207970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:17:17] local.INFO: GPS data processed {"connection_id":207970,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:17:17] local.INFO: Acknowledgment sent {"connection_id":207970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:17:20] local.INFO: TCP Data received {"connection_id":207970,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c861bf0012d196600071feee8004a01542a..."} 
[2026-10-05 20:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c861bf0012d196600071feee8004a01542a..."} 
[2026-10-05 20:17:20] local.INFO: Processing buffer {"connection_id":207970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c861bf0012d196600071feee8004a01542a..."} 
[2026-10-05 20:17:20] local.INFO: Packet analysis {"connection_id":207970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:17:20] local.INFO: Extracted packet for processing {"connection_id":207970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:17:20] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:17: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-10-05 20:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550061312001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791211478000,"timestamp_ms":1791211478000,"timestamp_seconds":1791211478,"priority":1,"record_length":96,"hex_timestamp":"000001a10c861bf0"} 
[2026-10-05 20:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:17:20] 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-10-05 20:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:17: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-10-05 20:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":207970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":207970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":207970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550061312001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550061312001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:17:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:17:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550061312001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":207970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:17:21] local.INFO: GPS data processed {"connection_id":207970,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:17:21] local.INFO: Acknowledgment sent {"connection_id":207970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:17:30] local.INFO: TCP Data received {"connection_id":207971,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:17:30] local.INFO: Processing buffer {"connection_id":207971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:17:30] local.INFO: IMEI packet received {"connection_id":207971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":207971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:17:31] local.INFO: TCP Data received {"connection_id":206400,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c861bf0012d78fb0005f4d3f8001200de24..."} 
[2026-10-05 20:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c861bf0012d78fb0005f4d3f8001200de24..."} 
[2026-10-05 20:17:31] local.INFO: Processing buffer {"connection_id":206400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c861bf0012d78fb0005f4d3f8001200de24..."} 
[2026-10-05 20:17:31] local.INFO: Packet analysis {"connection_id":206400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:17:31] local.INFO: Extracted packet for processing {"connection_id":206400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:17:31] local.INFO: GPS Element Parsed {"raw_longitude":762903296,"raw_latitude":99931128,"longitude_deg":76.2903296,"latitude_deg":9.9931128,"altitude":18,"angle":222,"satellites":36,"speed":27,"hex_longitude":"2d78fb00","hex_latitude":"05f4d3f8","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550135296001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2234495390449664,"note":"Value kept but may cause issues"} 
[2026-10-05 20:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8724457666219169792,"note":"Value kept but may cause issues"} 
[2026-10-05 20:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791211478000,"timestamp_ms":1791211478000,"timestamp_seconds":1791211478,"priority":1,"record_length":96,"hex_timestamp":"000001a10c861bf0"} 
[2026-10-05 20:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:17: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-10-05 20:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-05 20:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550135296001,"66":27484,"174":206,"87":13568,"24":27,"16":2234495390449664,"45":8724457666219169792},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-10-05 20:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550135296001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:17:31] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-10-05 20:17:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 20:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2234495390449664,"km_value":2234495390449.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8724457666219169792,"description":"Unknown IO ID 45"} 
[2026-10-05 20:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550135296001,"power":27484,"unknown_174":206,"unknown_87":13568,"ignition":27,"odometer":null,"unknown_45":8724457666219169792}} 
[2026-10-05 20:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":206400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:17:31] local.INFO: GPS data processed {"connection_id":206400,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:17:31] local.INFO: Acknowledgment sent {"connection_id":206400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:17:36] local.INFO: TCP Data received {"connection_id":207971,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:17:36] local.INFO: Processing buffer {"connection_id":207971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:17:36] local.INFO: IMEI packet received {"connection_id":207971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":207971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:17:37] local.INFO: TCP Data received {"connection_id":207971,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c865688012d7c028005dba1300009006d26..."} 
[2026-10-05 20:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c865688012d7c028005dba1300009006d26..."} 
[2026-10-05 20:17:37] local.INFO: Processing buffer {"connection_id":207971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c865688012d7c028005dba1300009006d26..."} 
[2026-10-05 20:17:37] local.INFO: Packet analysis {"connection_id":207971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:17:37] local.INFO: Extracted packet for processing {"connection_id":207971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:17:37] local.INFO: GPS Element Parsed {"raw_longitude":763101824,"raw_latitude":98279728,"longitude_deg":76.3101824,"latitude_deg":9.8279728,"altitude":9,"angle":109,"satellites":38,"speed":7,"hex_longitude":"2d7c0280","hex_latitude":"05dba130","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550141952001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139881389704085504,"note":"Value kept but may cause issues"} 
[2026-10-05 20:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935563898327762944,"note":"Value kept but may cause issues"} 
[2026-10-05 20:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791211493000,"timestamp_ms":1791211493000,"timestamp_seconds":1791211493,"priority":1,"record_length":96,"hex_timestamp":"000001a10c865688"} 
[2026-10-05 20:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:17:37] 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-10-05 20: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-10-05 20:17:37] 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-10-05 20: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-10-05 20:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550141952001,"66":12156,"185":206,"85":15104,"24":7,"16":139881389704085504,"45":8935563898327762944},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 20:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550141952001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:17:37] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 20:17:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139881389704085504,"km_value":139881389704085.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935563898327762944,"description":"Unknown IO ID 45"} 
[2026-10-05 20:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550141952001,"power":12156,"unknown_185":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8935563898327762944}} 
[2026-10-05 20:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":207971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:17:37] local.INFO: GPS data processed {"connection_id":207971,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:17:37] local.INFO: Acknowledgment sent {"connection_id":207971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:17:54] local.INFO: TCP Data received {"connection_id":204881,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:17:54] local.INFO: Processing buffer {"connection_id":204881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:17:54] local.INFO: IMEI packet received {"connection_id":204881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":204881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:17:59] local.INFO: TCP Data received {"connection_id":204881,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:17:59] local.INFO: Processing buffer {"connection_id":204881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:17:59] local.INFO: IMEI packet received {"connection_id":204881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":204881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:18:00] local.INFO: TCP Data received {"connection_id":204881,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c880050012d7893c005f47908000d00e028..."} 
[2026-10-05 20:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c880050012d7893c005f47908000d00e028..."} 
[2026-10-05 20:18:00] local.INFO: Processing buffer {"connection_id":204881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c880050012d7893c005f47908000d00e028..."} 
[2026-10-05 20:18:00] local.INFO: Packet analysis {"connection_id":204881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c88"} 
[2026-10-05 20:18:00] local.INFO: Extracted packet for processing {"connection_id":204881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c88"} 
[2026-10-05 20:18:00] local.INFO: GPS Element Parsed {"raw_longitude":762876864,"raw_latitude":99907848,"longitude_deg":76.2876864,"latitude_deg":9.9907848,"altitude":13,"angle":224,"satellites":40,"speed":23,"hex_longitude":"2d7893c0","hex_latitude":"05f47908","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550166016001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2236204787433472,"note":"Value kept but may cause issues"} 
[2026-10-05 20:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8696380537286082560,"note":"Value kept but may cause issues"} 
[2026-10-05 20:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791211602000,"timestamp_ms":1791211602000,"timestamp_seconds":1791211602,"priority":1,"record_length":96,"hex_timestamp":"000001a10c880050"} 
[2026-10-05 20:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:18: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-10-05 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-05 20:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":204881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":204881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":204881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:18: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-10-05 20:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550166016001,"66":27267,"115":206,"87":13568,"24":23,"16":2236204787433472,"45":8696380537286082560},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,87,24,16,45]} 
[2026-10-05 20:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550166016001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:18:00] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-10-05 20:18:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 20:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2236204787433472,"km_value":2236204787433.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8696380537286082560,"description":"Unknown IO ID 45"} 
[2026-10-05 20:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550166016001,"power":27267,"unknown_115":206,"unknown_87":13568,"ignition":23,"odometer":null,"unknown_45":8696380537286082560}} 
[2026-10-05 20:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":204881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:18:00] local.INFO: GPS data processed {"connection_id":204881,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:18:00] local.INFO: Acknowledgment sent {"connection_id":204881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:18:08] local.INFO: TCP Data received {"connection_id":207971,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c865a70012d7c030005dba1080009005726..."} 
[2026-10-05 20:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c865a70012d7c030005dba1080009005726..."} 
[2026-10-05 20:18:08] local.INFO: Processing buffer {"connection_id":207971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c865a70012d7c030005dba1080009005726..."} 
[2026-10-05 20:18:08] local.INFO: Packet analysis {"connection_id":207971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:18:08] local.INFO: Extracted packet for processing {"connection_id":207971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:18:08] local.INFO: GPS Element Parsed {"raw_longitude":763101952,"raw_latitude":98279688,"longitude_deg":76.3101952,"latitude_deg":9.8279688,"altitude":9,"angle":87,"satellites":38,"speed":5,"hex_longitude":"2d7c0300","hex_latitude":"05dba108","is_valid_coordinates":true} 
[2026-10-05 20:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550142208001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139881398294020096,"note":"Value kept but may cause issues"} 
[2026-10-05 20:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935845373304451072,"note":"Value kept but may cause issues"} 
[2026-10-05 20:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791211494000,"timestamp_ms":1791211494000,"timestamp_seconds":1791211494,"priority":1,"record_length":96,"hex_timestamp":"000001a10c865a70"} 
[2026-10-05 20:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:18: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-10-05 20:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-10-05 20:18:08] 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-10-05 20:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550142208001,"66":12156,"185":206,"85":15104,"24":5,"16":139881398294020096,"45":8935845373304451072},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 20:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550142208001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:18:08] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 20:18:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139881398294020096,"km_value":139881398294020.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935845373304451072,"description":"Unknown IO ID 45"} 
[2026-10-05 20:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550142208001,"power":12156,"unknown_185":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8935845373304451072}} 
[2026-10-05 20:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":207971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:18:08] local.INFO: GPS data processed {"connection_id":207971,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:18:08] local.INFO: Acknowledgment sent {"connection_id":207971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:18:13] local.INFO: TCP Data received {"connection_id":204882,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:18:13] local.INFO: Processing buffer {"connection_id":204882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:18:13] local.INFO: IMEI packet received {"connection_id":204882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":204882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:18:14] local.INFO: TCP Data received {"connection_id":204882,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:18:14] local.INFO: Processing buffer {"connection_id":204882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:18:14] local.INFO: IMEI packet received {"connection_id":204882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":204882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:18:16] local.INFO: TCP Data received {"connection_id":204882,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c861bf0012d196600071feee8004a01542a..."} 
[2026-10-05 20:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c861bf0012d196600071feee8004a01542a..."} 
[2026-10-05 20:18:16] local.INFO: Processing buffer {"connection_id":204882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c861bf0012d196600071feee8004a01542a..."} 
[2026-10-05 20:18:16] local.INFO: Packet analysis {"connection_id":204882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:18:16] local.INFO: Extracted packet for processing {"connection_id":204882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:18:16] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550061312001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791211478000,"timestamp_ms":1791211478000,"timestamp_seconds":1791211478,"priority":1,"record_length":96,"hex_timestamp":"000001a10c861bf0"} 
[2026-10-05 20:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550061312001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550061312001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:18:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:18:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550061312001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":204882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:18:17] local.INFO: GPS data processed {"connection_id":204882,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:18:17] local.INFO: Acknowledgment sent {"connection_id":204882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:18:20] local.INFO: TCP Data received {"connection_id":204882,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c861bf0012d196600071feee8004a01542a..."} 
[2026-10-05 20:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c861bf0012d196600071feee8004a01542a..."} 
[2026-10-05 20:18:20] local.INFO: Processing buffer {"connection_id":204882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c861bf0012d196600071feee8004a01542a..."} 
[2026-10-05 20:18:20] local.INFO: Packet analysis {"connection_id":204882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:18:20] local.INFO: Extracted packet for processing {"connection_id":204882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:18:20] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550061312001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791211478000,"timestamp_ms":1791211478000,"timestamp_seconds":1791211478,"priority":1,"record_length":96,"hex_timestamp":"000001a10c861bf0"} 
[2026-10-05 20:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:18:20] 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-10-05 20:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":204882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":204882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":204882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550061312001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550061312001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:18:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:18:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550061312001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":204882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:18:20] local.INFO: GPS data processed {"connection_id":204882,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:18:20] local.INFO: Acknowledgment sent {"connection_id":204882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:18:30] local.INFO: TCP Data received {"connection_id":205024,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:18:30] local.INFO: Processing buffer {"connection_id":205024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:18:30] local.INFO: IMEI packet received {"connection_id":205024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":205024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:18:32] local.INFO: TCP Data received {"connection_id":204881,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c883ed0012d787d4005f45ce8001200da2b..."} 
[2026-10-05 20:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c883ed0012d787d4005f45ce8001200da2b..."} 
[2026-10-05 20:18:32] local.INFO: Processing buffer {"connection_id":204881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c883ed0012d787d4005f45ce8001200da2b..."} 
[2026-10-05 20:18:32] local.INFO: Packet analysis {"connection_id":204881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c88"} 
[2026-10-05 20:18:32] local.INFO: Extracted packet for processing {"connection_id":204881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c88"} 
[2026-10-05 20:18:32] local.INFO: GPS Element Parsed {"raw_longitude":762871104,"raw_latitude":99900648,"longitude_deg":76.2871104,"latitude_deg":9.9900648,"altitude":18,"angle":218,"satellites":43,"speed":21,"hex_longitude":"2d787d40","hex_latitude":"05f45ce8","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550170112001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2236651464032256,"note":"Value kept but may cause issues"} 
[2026-10-05 20:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8688499237936760832,"note":"Value kept but may cause issues"} 
[2026-10-05 20:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791211618000,"timestamp_ms":1791211618000,"timestamp_seconds":1791211618,"priority":1,"record_length":96,"hex_timestamp":"000001a10c883ed0"} 
[2026-10-05 20:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:18: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-10-05 20:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-05 20:18: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-10-05 20: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-10-05 20:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":204881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":204881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":204881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550170112001,"66":27484,"208":206,"87":13568,"24":21,"16":2236651464032256,"45":8688499237936760832},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,87,24,16,45]} 
[2026-10-05 20:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550170112001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:18:32] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-05 20:18:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 20:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2236651464032256,"km_value":2236651464032.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8688499237936760832,"description":"Unknown IO ID 45"} 
[2026-10-05 20:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550170112001,"power":27484,"unknown_208":206,"unknown_87":13568,"ignition":21,"odometer":null,"unknown_45":8688499237936760832}} 
[2026-10-05 20:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":204881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:18:32] local.INFO: GPS data processed {"connection_id":204881,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:18:32] local.INFO: Acknowledgment sent {"connection_id":204881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:18:36] local.INFO: TCP Data received {"connection_id":205024,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:18:36] local.INFO: Processing buffer {"connection_id":205024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:18:36] local.INFO: IMEI packet received {"connection_id":205024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":205024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:18:37] local.INFO: TCP Data received {"connection_id":205024,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c867d98012d7c098005dba168000a006b2b..."} 
[2026-10-05 20:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c867d98012d7c098005dba168000a006b2b..."} 
[2026-10-05 20:18:37] local.INFO: Processing buffer {"connection_id":205024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c867d98012d7c098005dba168000a006b2b..."} 
[2026-10-05 20:18:37] local.INFO: Packet analysis {"connection_id":205024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:18:37] local.INFO: Extracted packet for processing {"connection_id":205024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:18:37] local.INFO: GPS Element Parsed {"raw_longitude":763103616,"raw_latitude":98279784,"longitude_deg":76.3103616,"latitude_deg":9.8279784,"altitude":10,"angle":107,"satellites":43,"speed":7,"hex_longitude":"2d7c0980","hex_latitude":"05dba168","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550142464001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139881479898398720,"note":"Value kept but may cause issues"} 
[2026-10-05 20:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935986110792796160,"note":"Value kept but may cause issues"} 
[2026-10-05 20:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791211503000,"timestamp_ms":1791211503000,"timestamp_seconds":1791211503,"priority":1,"record_length":96,"hex_timestamp":"000001a10c867d98"} 
[2026-10-05 20:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:18:37] 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-10-05 20: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-10-05 20:18: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-10-05 20: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-10-05 20:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550142464001,"66":12232,"185":206,"85":15104,"24":7,"16":139881479898398720,"45":8935986110792796160},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 20:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550142464001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:18:37] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 20:18:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139881479898398720,"km_value":139881479898398.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935986110792796160,"description":"Unknown IO ID 45"} 
[2026-10-05 20:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550142464001,"power":12232,"unknown_185":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8935986110792796160}} 
[2026-10-05 20:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":205024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:18:37] local.INFO: GPS data processed {"connection_id":205024,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:18:37] local.INFO: Acknowledgment sent {"connection_id":205024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:19:04] local.INFO: TCP Data received {"connection_id":207973,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:19:04] local.INFO: Processing buffer {"connection_id":207973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:19:04] local.INFO: IMEI packet received {"connection_id":207973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":207973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:19:04] local.INFO: TCP Data received {"connection_id":207974,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:19:04] local.INFO: Processing buffer {"connection_id":207974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:19:04] local.INFO: IMEI packet received {"connection_id":207974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":207974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:19:09] local.INFO: TCP Data received {"connection_id":205024,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c868180012d7c0a4005dba140000a00792b..."} 
[2026-10-05 20:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c868180012d7c0a4005dba140000a00792b..."} 
[2026-10-05 20:19:09] local.INFO: Processing buffer {"connection_id":205024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c868180012d7c0a4005dba140000a00792b..."} 
[2026-10-05 20:19:09] local.INFO: Packet analysis {"connection_id":205024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:19:09] local.INFO: Extracted packet for processing {"connection_id":205024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:19:09] local.INFO: GPS Element Parsed {"raw_longitude":763103808,"raw_latitude":98279744,"longitude_deg":76.3103808,"latitude_deg":9.8279744,"altitude":10,"angle":121,"satellites":43,"speed":5,"hex_longitude":"2d7c0a40","hex_latitude":"05dba140","is_valid_coordinates":true} 
[2026-10-05 20:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550144768001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139881488488333312,"note":"Value kept but may cause issues"} 
[2026-10-05 20:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937815698141440000,"note":"Value kept but may cause issues"} 
[2026-10-05 20:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791211504000,"timestamp_ms":1791211504000,"timestamp_seconds":1791211504,"priority":1,"record_length":96,"hex_timestamp":"000001a10c868180"} 
[2026-10-05 20:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-05 20:19:09] 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-10-05 20: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-10-05 20:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":205024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":205024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":205024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550144768001,"66":12232,"185":206,"85":15104,"24":5,"16":139881488488333312,"45":8937815698141440000},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 20:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550144768001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:19:09] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 20:19:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139881488488333312,"km_value":139881488488333.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937815698141440000,"description":"Unknown IO ID 45"} 
[2026-10-05 20:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550144768001,"power":12232,"unknown_185":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8937815698141440000}} 
[2026-10-05 20:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":205024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969814,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:19:09] local.INFO: GPS data processed {"connection_id":205024,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:19:09] local.INFO: Acknowledgment sent {"connection_id":205024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:19:13] local.INFO: TCP Data received {"connection_id":207974,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:19:13] local.INFO: Processing buffer {"connection_id":207974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:19:13] local.INFO: IMEI packet received {"connection_id":207974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":207974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:19:18] local.INFO: TCP Data received {"connection_id":207973,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:19:18] local.INFO: Processing buffer {"connection_id":207973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:19:18] local.INFO: IMEI packet received {"connection_id":207973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":207973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:19:19] local.INFO: TCP Data received {"connection_id":207974,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c861bf0012d196600071feee8004a01542a..."} 
[2026-10-05 20:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c861bf0012d196600071feee8004a01542a..."} 
[2026-10-05 20:19:19] local.INFO: Processing buffer {"connection_id":207974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c861bf0012d196600071feee8004a01542a..."} 
[2026-10-05 20:19:19] local.INFO: Packet analysis {"connection_id":207974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:19:19] local.INFO: Extracted packet for processing {"connection_id":207974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:19:19] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550061312001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791211478000,"timestamp_ms":1791211478000,"timestamp_seconds":1791211478,"priority":1,"record_length":96,"hex_timestamp":"000001a10c861bf0"} 
[2026-10-05 20:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:19:19] 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-10-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":207974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":207974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":207974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550061312001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550061312001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:19:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:19:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550061312001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":207974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:19:19] local.INFO: GPS data processed {"connection_id":207974,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:19:19] local.INFO: Acknowledgment sent {"connection_id":207974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:19:20] local.INFO: TCP Data received {"connection_id":207973,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c887968012d78680005f43ee8001000d226..."} 
[2026-10-05 20:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c887968012d78680005f43ee8001000d226..."} 
[2026-10-05 20:19:20] local.INFO: Processing buffer {"connection_id":207973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c887968012d78680005f43ee8001000d226..."} 
[2026-10-05 20:19:20] local.INFO: Packet analysis {"connection_id":207973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c88"} 
[2026-10-05 20:19:20] local.INFO: Extracted packet for processing {"connection_id":207973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c88"} 
[2026-10-05 20:19:20] local.INFO: GPS Element Parsed {"raw_longitude":762865664,"raw_latitude":99892968,"longitude_deg":76.2865664,"latitude_deg":9.9892968,"altitude":16,"angle":210,"satellites":38,"speed":24,"hex_longitude":"2d786800","hex_latitude":"05f43ee8","is_valid_coordinates":true} 
[2026-10-05 20:19: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-10-05 20:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550174208001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2237106730565632,"note":"Value kept but may cause issues"} 
[2026-10-05 20:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8682166050958927872,"note":"Value kept but may cause issues"} 
[2026-10-05 20:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791211633000,"timestamp_ms":1791211633000,"timestamp_seconds":1791211633,"priority":1,"record_length":96,"hex_timestamp":"000001a10c887968"} 
[2026-10-05 20:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:19: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":92,"data_length":795,"current_offset":136} 
[2026-10-05 20:19:20] 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-10-05 20:19: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-10-05 20:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":207973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":207973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":207973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:19:20] 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-10-05 20:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550174208001,"66":27484,"196":206,"87":13568,"24":24,"16":2237106730565632,"45":8682166050958927872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-10-05 20:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550174208001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:19:20] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-10-05 20:19:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 20:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2237106730565632,"km_value":2237106730565.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8682166050958927872,"description":"Unknown IO ID 45"} 
[2026-10-05 20:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550174208001,"power":27484,"unknown_196":206,"unknown_87":13568,"ignition":24,"odometer":null,"unknown_45":8682166050958927872}} 
[2026-10-05 20:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":207973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:19:20] local.INFO: GPS data processed {"connection_id":207973,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:19:20] local.INFO: Acknowledgment sent {"connection_id":207973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:19:30] local.INFO: TCP Data received {"connection_id":207975,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:19:30] local.INFO: Processing buffer {"connection_id":207975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:19:30] local.INFO: IMEI packet received {"connection_id":207975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":207975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:19:35] local.INFO: TCP Data received {"connection_id":207975,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:19:35] local.INFO: Processing buffer {"connection_id":207975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:19:35] local.INFO: IMEI packet received {"connection_id":207975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":207975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:19:36] local.INFO: TCP Data received {"connection_id":207975,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c868568012d7c0a8005dba100000a00892b..."} 
[2026-10-05 20:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c868568012d7c0a8005dba100000a00892b..."} 
[2026-10-05 20:19:36] local.INFO: Processing buffer {"connection_id":207975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c868568012d7c0a8005dba100000a00892b..."} 
[2026-10-05 20:19:36] local.INFO: Packet analysis {"connection_id":207975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:19:36] local.INFO: Extracted packet for processing {"connection_id":207975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:19:36] local.INFO: GPS Element Parsed {"raw_longitude":763103872,"raw_latitude":98279680,"longitude_deg":76.3103872,"latitude_deg":9.827968,"altitude":10,"angle":137,"satellites":43,"speed":5,"hex_longitude":"2d7c0a80","hex_latitude":"05dba100","is_valid_coordinates":true} 
[2026-10-05 20:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550145024001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139881492783300608,"note":"Value kept but may cause issues"} 
[2026-10-05 20:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938026804373962752,"note":"Value kept but may cause issues"} 
[2026-10-05 20:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791211505000,"timestamp_ms":1791211505000,"timestamp_seconds":1791211505,"priority":1,"record_length":96,"hex_timestamp":"000001a10c868568"} 
[2026-10-05 20:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-05 20:19: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-10-05 20:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550145024001,"66":12374,"185":206,"85":15104,"24":5,"16":139881492783300608,"45":8938026804373962752},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 20:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550145024001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:19:36] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 20:19:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139881492783300608,"km_value":139881492783300.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938026804373962752,"description":"Unknown IO ID 45"} 
[2026-10-05 20:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550145024001,"power":12374,"unknown_185":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8938026804373962752}} 
[2026-10-05 20:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":207975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:19:36] local.INFO: GPS data processed {"connection_id":207975,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:19:36] local.INFO: Acknowledgment sent {"connection_id":207975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:19:54] local.INFO: TCP Data received {"connection_id":205025,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:19:54] local.INFO: Processing buffer {"connection_id":205025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:19:54] local.INFO: IMEI packet received {"connection_id":205025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":205025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:19:59] local.INFO: TCP Data received {"connection_id":205025,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:19:59] local.INFO: Processing buffer {"connection_id":205025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:19:59] local.INFO: IMEI packet received {"connection_id":205025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":205025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:20:00] local.INFO: TCP Data received {"connection_id":205025,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c88ac30012d7856c005f42030000a00d425..."} 
[2026-10-05 20:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c88ac30012d7856c005f42030000a00d425..."} 
[2026-10-05 20:20:00] local.INFO: Processing buffer {"connection_id":205025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c88ac30012d7856c005f42030000a00d425..."} 
[2026-10-05 20:20:00] local.INFO: Packet analysis {"connection_id":205025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c88"} 
[2026-10-05 20:20:00] local.INFO: Extracted packet for processing {"connection_id":205025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c88"} 
[2026-10-05 20:20:00] local.INFO: GPS Element Parsed {"raw_longitude":762861248,"raw_latitude":99885104,"longitude_deg":76.2861248,"latitude_deg":9.9885104,"altitude":10,"angle":212,"satellites":37,"speed":32,"hex_longitude":"2d7856c0","hex_latitude":"05f42030","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550178048001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2237544817229824,"note":"Value kept but may cause issues"} 
[2026-10-05 20:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8676184707701860352,"note":"Value kept but may cause issues"} 
[2026-10-05 20:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791211646000,"timestamp_ms":1791211646000,"timestamp_seconds":1791211646,"priority":1,"record_length":96,"hex_timestamp":"000001a10c88ac30"} 
[2026-10-05 20:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:20: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-10-05 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 20:20: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-10-05 20: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-10-05 20:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":205025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":205025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":205025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:20: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-10-05 20:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550178048001,"66":27517,"196":206,"87":13568,"24":32,"16":2237544817229824,"45":8676184707701860352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-10-05 20:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550178048001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:20:00] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-10-05 20:20:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 20:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2237544817229824,"km_value":2237544817229.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8676184707701860352,"description":"Unknown IO ID 45"} 
[2026-10-05 20:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550178048001,"power":27517,"unknown_196":206,"unknown_87":13568,"ignition":32,"odometer":null,"unknown_45":8676184707701860352}} 
[2026-10-05 20:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":205025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:20:00] local.INFO: GPS data processed {"connection_id":205025,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:20:00] local.INFO: Acknowledgment sent {"connection_id":205025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:20:07] local.INFO: TCP Data received {"connection_id":207975,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10c868d38012d7c0b0005dba028000a009e2c..."} 
[2026-10-05 20:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c868d38012d7c0b0005dba028000a009e2c..."} 
[2026-10-05 20:20:07] local.INFO: Processing buffer {"connection_id":207975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c868d38012d7c0b0005dba028000a009e2c..."} 
[2026-10-05 20:20:07] local.INFO: Packet analysis {"connection_id":207975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:20:07] local.INFO: Extracted packet for processing {"connection_id":207975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:20:07] local.INFO: GPS Element Parsed {"raw_longitude":763104000,"raw_latitude":98279464,"longitude_deg":76.3104,"latitude_deg":9.8279464,"altitude":10,"angle":158,"satellites":44,"speed":5,"hex_longitude":"2d7c0b00","hex_latitude":"05dba028","is_valid_coordinates":true} 
[2026-10-05 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-10-05 20:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550145280001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139881505668202496,"note":"Value kept but may cause issues"} 
[2026-10-05 20:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938097173118124032,"note":"Value kept but may cause issues"} 
[2026-10-05 20:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791211507000,"timestamp_ms":1791211507000,"timestamp_seconds":1791211507,"priority":1,"record_length":96,"hex_timestamp":"000001a10c868d38"} 
[2026-10-05 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-10-05 20:20: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-10-05 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-05 20:20:07] 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-10-05 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-10-05 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-10-05 20:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550145280001,"66":12069,"185":206,"85":15104,"24":5,"16":139881505668202496,"45":8938097173118124032},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 20:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550145280001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:20:07] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 20:20:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139881505668202496,"km_value":139881505668202.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938097173118124032,"description":"Unknown IO ID 45"} 
[2026-10-05 20:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550145280001,"power":12069,"unknown_185":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8938097173118124032}} 
[2026-10-05 20:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":207975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:20:07] local.INFO: GPS data processed {"connection_id":207975,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:20:07] local.INFO: Acknowledgment sent {"connection_id":207975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:20:10] local.INFO: TCP Data received {"connection_id":204884,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:20:10] local.INFO: Processing buffer {"connection_id":204884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:20:10] local.INFO: IMEI packet received {"connection_id":204884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":204884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:20:21] local.INFO: TCP Data received {"connection_id":204884,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:20:21] local.INFO: Processing buffer {"connection_id":204884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:20:21] local.INFO: IMEI packet received {"connection_id":204884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":204884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:20:23] local.INFO: TCP Data received {"connection_id":204884,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c861bf0012d196600071feee8004a01542a..."} 
[2026-10-05 20:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c861bf0012d196600071feee8004a01542a..."} 
[2026-10-05 20:20:23] local.INFO: Processing buffer {"connection_id":204884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c861bf0012d196600071feee8004a01542a..."} 
[2026-10-05 20:20:23] local.INFO: Packet analysis {"connection_id":204884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:20:23] local.INFO: Extracted packet for processing {"connection_id":204884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c86"} 
[2026-10-05 20:20:23] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550061312001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1791211478000,"timestamp_ms":1791211478000,"timestamp_seconds":1791211478,"priority":1,"record_length":96,"hex_timestamp":"000001a10c861bf0"} 
[2026-10-05 20:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:20:23] 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-10-05 20:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":204884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":204884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":204884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550061312001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550061312001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:20:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:20:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550061312001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":204884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:20:23] local.INFO: GPS data processed {"connection_id":204884,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:20:23] local.INFO: Acknowledgment sent {"connection_id":204884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:20:24] local.INFO: TCP Data received {"connection_id":204884,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8ab3b8012d196600071feee8004a015428..."} 
[2026-10-05 20:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8ab3b8012d196600071feee8004a015428..."} 
[2026-10-05 20:20:24] local.INFO: Processing buffer {"connection_id":204884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8ab3b8012d196600071feee8004a015428..."} 
[2026-10-05 20:20:24] local.INFO: Packet analysis {"connection_id":204884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c8a"} 
[2026-10-05 20:20:24] local.INFO: Extracted packet for processing {"connection_id":204884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c8a"} 
[2026-10-05 20:20:24] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550138368001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1791211779000,"timestamp_ms":1791211779000,"timestamp_seconds":1791211779,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8ab3b8"} 
[2026-10-05 20:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:20:24] 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-10-05 20:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":204884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":204884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":204884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550138368001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550138368001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:20:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:20:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550138368001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":204884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:20:25] local.INFO: GPS data processed {"connection_id":204884,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:20:25] local.INFO: Acknowledgment sent {"connection_id":204884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:20:30] local.INFO: TCP Data received {"connection_id":206401,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:20:30] local.INFO: Processing buffer {"connection_id":206401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:20:30] local.INFO: IMEI packet received {"connection_id":206401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":206401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:20:31] local.INFO: TCP Data received {"connection_id":206401,"ip":"42.106.6.50","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-05 20:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206401,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-05 20:20:31] local.INFO: Processing buffer {"connection_id":206401,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-05 20:20:31] local.INFO: IMEI packet received {"connection_id":206401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":206401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:20:31] local.INFO: TCP Data received {"connection_id":205025,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c88db10012d783fc005f40250000700de28..."} 
[2026-10-05 20:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c88db10012d783fc005f40250000700de28..."} 
[2026-10-05 20:20:31] local.INFO: Processing buffer {"connection_id":205025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c88db10012d783fc005f40250000700de28..."} 
[2026-10-05 20:20:31] local.INFO: Packet analysis {"connection_id":205025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c88"} 
[2026-10-05 20:20:31] local.INFO: Extracted packet for processing {"connection_id":205025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c88"} 
[2026-10-05 20:20:31] local.INFO: GPS Element Parsed {"raw_longitude":762855360,"raw_latitude":99877456,"longitude_deg":76.285536,"latitude_deg":9.9877456,"altitude":7,"angle":222,"satellites":40,"speed":31,"hex_longitude":"2d783fc0","hex_latitude":"05f40250","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550181376001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2238008673697792,"note":"Value kept but may cause issues"} 
[2026-10-05 20:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8671329264351588352,"note":"Value kept but may cause issues"} 
[2026-10-05 20:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791211658000,"timestamp_ms":1791211658000,"timestamp_seconds":1791211658,"priority":1,"record_length":96,"hex_timestamp":"000001a10c88db10"} 
[2026-10-05 20:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:20: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-10-05 20: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-05 20:20: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-10-05 20: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-10-05 20:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":205025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":205025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":205025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550181376001,"66":27517,"196":206,"87":13568,"24":31,"16":2238008673697792,"45":8671329264351588352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-10-05 20:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550181376001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:20:31] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-10-05 20:20:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 20:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2238008673697792,"km_value":2238008673697.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8671329264351588352,"description":"Unknown IO ID 45"} 
[2026-10-05 20:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550181376001,"power":27517,"unknown_196":206,"unknown_87":13568,"ignition":31,"odometer":null,"unknown_45":8671329264351588352}} 
[2026-10-05 20:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":205025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:20:31] local.INFO: GPS data processed {"connection_id":205025,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:20:31] local.INFO: Acknowledgment sent {"connection_id":205025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:20:54] local.INFO: TCP Data received {"connection_id":207977,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:20:54] local.INFO: Processing buffer {"connection_id":207977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:20:54] local.INFO: IMEI packet received {"connection_id":207977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":207977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:20:58] local.INFO: TCP Data received {"connection_id":207977,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:20:58] local.INFO: Processing buffer {"connection_id":207977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:20:58] local.INFO: IMEI packet received {"connection_id":207977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":207977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:20:59] local.INFO: TCP Data received {"connection_id":207977,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:20:59] local.INFO: Processing buffer {"connection_id":207977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:20:59] local.INFO: IMEI packet received {"connection_id":207977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":207977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:21:00] local.INFO: TCP Data received {"connection_id":207977,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c890dd8012d78264005f3ea18000600e623..."} 
[2026-10-05 20:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c890dd8012d78264005f3ea18000600e623..."} 
[2026-10-05 20:21:00] local.INFO: Processing buffer {"connection_id":207977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c890dd8012d78264005f3ea18000600e623..."} 
[2026-10-05 20:21:00] local.INFO: Packet analysis {"connection_id":207977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c89"} 
[2026-10-05 20:21:00] local.INFO: Extracted packet for processing {"connection_id":207977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c89"} 
[2026-10-05 20:21:00] local.INFO: GPS Element Parsed {"raw_longitude":762848832,"raw_latitude":99871256,"longitude_deg":76.2848832,"latitude_deg":9.9871256,"altitude":6,"angle":230,"satellites":35,"speed":19,"hex_longitude":"2d782640","hex_latitude":"05f3ea18","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550184448001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2238442465394688,"note":"Value kept but may cause issues"} 
[2026-10-05 20:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8664855339885285376,"note":"Value kept but may cause issues"} 
[2026-10-05 20:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791211671000,"timestamp_ms":1791211671000,"timestamp_seconds":1791211671,"priority":1,"record_length":96,"hex_timestamp":"000001a10c890dd8"} 
[2026-10-05 20:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:21: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-10-05 20: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-05 20:21:00] 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-10-05 20: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-10-05 20:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":207977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":207977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":207977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:21: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-10-05 20:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550184448001,"66":27463,"196":206,"87":13568,"24":19,"16":2238442465394688,"45":8664855339885285376},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-10-05 20:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550184448001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:21:00] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-10-05 20:21:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 20:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2238442465394688,"km_value":2238442465394.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8664855339885285376,"description":"Unknown IO ID 45"} 
[2026-10-05 20:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550184448001,"power":27463,"unknown_196":206,"unknown_87":13568,"ignition":19,"odometer":null,"unknown_45":8664855339885285376}} 
[2026-10-05 20:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":207977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:21:00] local.INFO: GPS data processed {"connection_id":207977,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:21:00] local.INFO: Acknowledgment sent {"connection_id":207977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:21:01] local.INFO: TCP Data received {"connection_id":207977,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c895bf8012d78088005f3d648000700ef29..."} 
[2026-10-05 20:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c895bf8012d78088005f3d648000700ef29..."} 
[2026-10-05 20:21:01] local.INFO: Processing buffer {"connection_id":207977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c895bf8012d78088005f3d648000700ef29..."} 
[2026-10-05 20:21:01] local.INFO: Packet analysis {"connection_id":207977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c89"} 
[2026-10-05 20:21:01] local.INFO: Extracted packet for processing {"connection_id":207977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c89"} 
[2026-10-05 20:21:01] local.INFO: GPS Element Parsed {"raw_longitude":762841216,"raw_latitude":99866184,"longitude_deg":76.2841216,"latitude_deg":9.9866184,"altitude":7,"angle":239,"satellites":41,"speed":25,"hex_longitude":"2d780880","hex_latitude":"05f3d648","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550187776001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2238884847026176,"note":"Value kept but may cause issues"} 
[2026-10-05 20:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8657677727977576448,"note":"Value kept but may cause issues"} 
[2026-10-05 20:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791211691000,"timestamp_ms":1791211691000,"timestamp_seconds":1791211691,"priority":1,"record_length":96,"hex_timestamp":"000001a10c895bf8"} 
[2026-10-05 20:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:21: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-10-05 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-05 20:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":207977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":207977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":207977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:21: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-10-05 20:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550187776001,"66":27169,"23":206,"87":13568,"24":25,"16":2238884847026176,"45":8657677727977576448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-10-05 20:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550187776001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:21:01] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-10-05 20:21:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 20:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2238884847026176,"km_value":2238884847026.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8657677727977576448,"description":"Unknown IO ID 45"} 
[2026-10-05 20:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550187776001,"power":27169,"unknown_23":206,"unknown_87":13568,"ignition":25,"odometer":null,"unknown_45":8657677727977576448}} 
[2026-10-05 20:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":207977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:21:01] local.INFO: GPS data processed {"connection_id":207977,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:21:01] local.INFO: Acknowledgment sent {"connection_id":207977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:21:39] local.INFO: TCP Data received {"connection_id":204887,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:21:39] local.INFO: Processing buffer {"connection_id":204887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:21:39] local.INFO: IMEI packet received {"connection_id":204887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":204887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:21:57] local.INFO: TCP Data received {"connection_id":204887,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:21:57] local.INFO: Processing buffer {"connection_id":204887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:21:57] local.INFO: IMEI packet received {"connection_id":204887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":204887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:22:14] local.INFO: TCP Data received {"connection_id":204886,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:22:14] local.INFO: Processing buffer {"connection_id":204886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:22:14] local.INFO: IMEI packet received {"connection_id":204886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 20:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":204886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:22:19] local.INFO: TCP Data received {"connection_id":204888,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:22:19] local.INFO: Processing buffer {"connection_id":204888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:22:19] local.INFO: IMEI packet received {"connection_id":204888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":204888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:22:29] local.INFO: TCP Data received {"connection_id":204888,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:22:29] local.INFO: Processing buffer {"connection_id":204888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:22:29] local.INFO: IMEI packet received {"connection_id":204888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":204888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:22:31] local.INFO: TCP Data received {"connection_id":204888,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8ab3b8012d196600071feee8004a015428..."} 
[2026-10-05 20:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8ab3b8012d196600071feee8004a015428..."} 
[2026-10-05 20:22:31] local.INFO: Processing buffer {"connection_id":204888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8ab3b8012d196600071feee8004a015428..."} 
[2026-10-05 20:22:31] local.INFO: Packet analysis {"connection_id":204888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c8a"} 
[2026-10-05 20:22:31] local.INFO: Extracted packet for processing {"connection_id":204888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c8a"} 
[2026-10-05 20:22:31] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550138368001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:22: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-10-05 20:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791211779000,"timestamp_ms":1791211779000,"timestamp_seconds":1791211779,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8ab3b8"} 
[2026-10-05 20:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:22:31] 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-10-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:22: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-10-05 20: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-10-05 20:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550138368001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550138368001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:22:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:22:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550138368001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":204888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:22:31] local.INFO: GPS data processed {"connection_id":204888,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:22:31] local.INFO: Acknowledgment sent {"connection_id":204888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:22:37] local.INFO: TCP Data received {"connection_id":207977,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8b9648012d7778c005f39ea8001000b32b..."} 
[2026-10-05 20:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8b9648012d7778c005f39ea8001000b32b..."} 
[2026-10-05 20:22:37] local.INFO: Processing buffer {"connection_id":207977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8b9648012d7778c005f39ea8001000b32b..."} 
[2026-10-05 20:22:37] local.INFO: Packet analysis {"connection_id":207977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c8b"} 
[2026-10-05 20:22:37] local.INFO: Extracted packet for processing {"connection_id":207977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c8b"} 
[2026-10-05 20:22:37] local.INFO: GPS Element Parsed {"raw_longitude":762804416,"raw_latitude":99851944,"longitude_deg":76.2804416,"latitude_deg":9.9851944,"altitude":16,"angle":179,"satellites":43,"speed":8,"hex_longitude":"2d7778c0","hex_latitude":"05f39ea8","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550230016001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2240924956491776,"note":"Value kept but may cause issues"} 
[2026-10-05 20:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8608771450769211392,"note":"Value kept but may cause issues"} 
[2026-10-05 20:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791211837000,"timestamp_ms":1791211837000,"timestamp_seconds":1791211837,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8b9648"} 
[2026-10-05 20:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:22: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-10-05 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 20:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:22:37] 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-10-05 20:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550230016001,"66":27343,"50":206,"87":13568,"24":8,"16":2240924956491776,"45":8608771450769211392},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,87,24,16,45]} 
[2026-10-05 20:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550230016001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:22:37] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-10-05 20:22:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 20:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2240924956491776,"km_value":2240924956491.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8608771450769211392,"description":"Unknown IO ID 45"} 
[2026-10-05 20:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550230016001,"power":27343,"unknown_50":206,"unknown_87":13568,"ignition":8,"odometer":null,"unknown_45":8608771450769211392}} 
[2026-10-05 20:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":207977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:22:37] local.INFO: GPS data processed {"connection_id":207977,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:22:37] local.INFO: Acknowledgment sent {"connection_id":207977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:22:43] local.INFO: TCP Data received {"connection_id":205026,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:22:43] local.INFO: Processing buffer {"connection_id":205026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:22:43] local.INFO: IMEI packet received {"connection_id":205026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 20:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":205026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:23:10] local.INFO: TCP Data received {"connection_id":204889,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:23:10] local.INFO: Processing buffer {"connection_id":204889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:23:10] local.INFO: IMEI packet received {"connection_id":204889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":204889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:23:12] local.INFO: TCP Data received {"connection_id":204889,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:23:12] local.INFO: Processing buffer {"connection_id":204889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:23:12] local.INFO: IMEI packet received {"connection_id":204889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":204889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:23:14] local.INFO: TCP Data received {"connection_id":204889,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8bb588012d7778c005f39a80000f00a32a..."} 
[2026-10-05 20:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8bb588012d7778c005f39a80000f00a32a..."} 
[2026-10-05 20:23:14] local.INFO: Processing buffer {"connection_id":204889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8bb588012d7778c005f39a80000f00a32a..."} 
[2026-10-05 20:23:14] local.INFO: Packet analysis {"connection_id":204889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c8b"} 
[2026-10-05 20:23:14] local.INFO: Extracted packet for processing {"connection_id":204889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c8b"} 
[2026-10-05 20:23:14] local.INFO: GPS Element Parsed {"raw_longitude":762804416,"raw_latitude":99850880,"longitude_deg":76.2804416,"latitude_deg":9.985088,"altitude":15,"angle":163,"satellites":42,"speed":9,"hex_longitude":"2d7778c0","hex_latitude":"05f39a80","is_valid_coordinates":true} 
[2026-10-05 20:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550230272001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2240980791066624,"note":"Value kept but may cause issues"} 
[2026-10-05 20:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8608841819513333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791211845000,"timestamp_ms":1791211845000,"timestamp_seconds":1791211845,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8bb588"} 
[2026-10-05 20:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:23: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-10-05 20:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-05 20:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":204889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":204889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":204889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:23:14] 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-10-05 20:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550230272001,"66":27484,"50":206,"87":13568,"24":9,"16":2240980791066624,"45":8608841819513333760},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,87,24,16,45]} 
[2026-10-05 20:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550230272001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:23:14] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-10-05 20:23:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 20:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2240980791066624,"km_value":2240980791066.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8608841819513333760,"description":"Unknown IO ID 45"} 
[2026-10-05 20:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550230272001,"power":27484,"unknown_50":206,"unknown_87":13568,"ignition":9,"odometer":null,"unknown_45":8608841819513333760}} 
[2026-10-05 20:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":204889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:23:14] local.INFO: GPS data processed {"connection_id":204889,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:23:14] local.INFO: Acknowledgment sent {"connection_id":204889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:23:15] local.INFO: TCP Data received {"connection_id":204889,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8bb970012d77790005f39958001000ae29..."} 
[2026-10-05 20:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8bb970012d77790005f39958001000ae29..."} 
[2026-10-05 20:23:15] local.INFO: Processing buffer {"connection_id":204889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8bb970012d77790005f39958001000ae29..."} 
[2026-10-05 20:23:15] local.INFO: Packet analysis {"connection_id":204889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c8b"} 
[2026-10-05 20:23:15] local.INFO: Extracted packet for processing {"connection_id":204889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c8b"} 
[2026-10-05 20:23:15] local.INFO: GPS Element Parsed {"raw_longitude":762804480,"raw_latitude":99850584,"longitude_deg":76.280448,"latitude_deg":9.9850584,"altitude":16,"angle":174,"satellites":41,"speed":13,"hex_longitude":"2d777900","hex_latitude":"05f39958","is_valid_coordinates":true} 
[2026-10-05 20:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550232320001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2240993675968512,"note":"Value kept but may cause issues"} 
[2026-10-05 20:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8608841819513061376,"note":"Value kept but may cause issues"} 
[2026-10-05 20:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791211846000,"timestamp_ms":1791211846000,"timestamp_seconds":1791211846,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8bb970"} 
[2026-10-05 20:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 20:23:15] 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-10-05 20:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":204889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":204889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":204889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:23:15] 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-10-05 20:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550232320001,"66":27484,"50":206,"87":13568,"24":13,"16":2240993675968512,"45":8608841819513061376},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,87,24,16,45]} 
[2026-10-05 20:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550232320001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:23:15] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-10-05 20:23:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 20:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2240993675968512,"km_value":2240993675968.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8608841819513061376,"description":"Unknown IO ID 45"} 
[2026-10-05 20:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550232320001,"power":27484,"unknown_50":206,"unknown_87":13568,"ignition":13,"odometer":null,"unknown_45":8608841819513061376}} 
[2026-10-05 20:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":204889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:23:15] local.INFO: GPS data processed {"connection_id":204889,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:23:15] local.INFO: Acknowledgment sent {"connection_id":204889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:23:40] local.INFO: TCP Data received {"connection_id":206403,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:23:40] local.INFO: Processing buffer {"connection_id":206403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:23:40] local.INFO: IMEI packet received {"connection_id":206403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":206403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:23:51] local.INFO: TCP Data received {"connection_id":206403,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:23:51] local.INFO: Processing buffer {"connection_id":206403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:23:51] local.INFO: IMEI packet received {"connection_id":206403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":206403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:24:00] local.INFO: TCP Data received {"connection_id":206404,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:24:00] local.INFO: Processing buffer {"connection_id":206404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:24:00] local.INFO: IMEI packet received {"connection_id":206404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":206404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:24:06] local.INFO: TCP Data received {"connection_id":206404,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:24:06] local.INFO: Processing buffer {"connection_id":206404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:24:06] local.INFO: IMEI packet received {"connection_id":206404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":206404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:24:08] local.INFO: TCP Data received {"connection_id":206404,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8bf7f0012d777d4005f375d0001100ad2b..."} 
[2026-10-05 20:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8bf7f0012d777d4005f375d0001100ad2b..."} 
[2026-10-05 20:24:08] local.INFO: Processing buffer {"connection_id":206404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8bf7f0012d777d4005f375d0001100ad2b..."} 
[2026-10-05 20:24:08] local.INFO: Packet analysis {"connection_id":206404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c8b"} 
[2026-10-05 20:24:08] local.INFO: Extracted packet for processing {"connection_id":206404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c8b"} 
[2026-10-05 20:24:08] local.INFO: GPS Element Parsed {"raw_longitude":762805568,"raw_latitude":99841488,"longitude_deg":76.2805568,"latitude_deg":9.9841488,"altitude":17,"angle":173,"satellites":43,"speed":29,"hex_longitude":"2d777d40","hex_latitude":"05f375d0","is_valid_coordinates":true} 
[2026-10-05 20:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550232576001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2241440352567296,"note":"Value kept but may cause issues"} 
[2026-10-05 20:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8608912188257163264,"note":"Value kept but may cause issues"} 
[2026-10-05 20:24:08] 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-10-05 20:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791211862000,"timestamp_ms":1791211862000,"timestamp_seconds":1791211862,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8bf7f0"} 
[2026-10-05 20:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:24: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-10-05 20:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 20:24:08] 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-10-05 20:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550232576001,"66":27484,"134":206,"87":13568,"24":29,"16":2241440352567296,"45":8608912188257163264},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,87,24,16,45]} 
[2026-10-05 20:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550232576001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:24:08] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-10-05 20:24:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 20:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2241440352567296,"km_value":2241440352567.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8608912188257163264,"description":"Unknown IO ID 45"} 
[2026-10-05 20:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550232576001,"power":27484,"unknown_134":206,"unknown_87":13568,"ignition":29,"odometer":null,"unknown_45":8608912188257163264}} 
[2026-10-05 20:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":206404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:24:08] local.INFO: GPS data processed {"connection_id":206404,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:24:08] local.INFO: Acknowledgment sent {"connection_id":206404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:24:11] local.INFO: TCP Data received {"connection_id":206404,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8c2ab8012d77834005f35318000d00ac27..."} 
[2026-10-05 20:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8c2ab8012d77834005f35318000d00ac27..."} 
[2026-10-05 20:24:11] local.INFO: Processing buffer {"connection_id":206404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8c2ab8012d77834005f35318000d00ac27..."} 
[2026-10-05 20:24:11] local.INFO: Packet analysis {"connection_id":206404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c8c"} 
[2026-10-05 20:24:11] local.INFO: Extracted packet for processing {"connection_id":206404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c8c"} 
[2026-10-05 20:24:11] local.INFO: GPS Element Parsed {"raw_longitude":762807104,"raw_latitude":99832600,"longitude_deg":76.2807104,"latitude_deg":9.98326,"altitude":13,"angle":172,"satellites":39,"speed":24,"hex_longitude":"2d778340","hex_latitude":"05f35318","is_valid_coordinates":true} 
[2026-10-05 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-10-05 20:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550236672001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2241874144264192,"note":"Value kept but may cause issues"} 
[2026-10-05 20:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8610108456905854976,"note":"Value kept but may cause issues"} 
[2026-10-05 20:24:11] 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-10-05 20:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791211875000,"timestamp_ms":1791211875000,"timestamp_seconds":1791211875,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8c2ab8"} 
[2026-10-05 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-10-05 20:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 20:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 20:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:24:11] 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-10-05 20:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550236672001,"66":27604,"134":206,"87":13568,"24":24,"16":2241874144264192,"45":8610108456905854976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,87,24,16,45]} 
[2026-10-05 20:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550236672001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:24:11] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-10-05 20:24:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 20:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2241874144264192,"km_value":2241874144264.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8610108456905854976,"description":"Unknown IO ID 45"} 
[2026-10-05 20:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550236672001,"power":27604,"unknown_134":206,"unknown_87":13568,"ignition":24,"odometer":null,"unknown_45":8610108456905854976}} 
[2026-10-05 20:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":206404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:24:11] local.INFO: GPS data processed {"connection_id":206404,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:24:11] local.INFO: Acknowledgment sent {"connection_id":206404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:24:24] local.INFO: TCP Data received {"connection_id":207980,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:24:24] local.INFO: Processing buffer {"connection_id":207980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:24:24] local.INFO: IMEI packet received {"connection_id":207980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":207980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:24:30] local.INFO: TCP Data received {"connection_id":207980,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:24:30] local.INFO: Processing buffer {"connection_id":207980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:24:30] local.INFO: IMEI packet received {"connection_id":207980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":207980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:24:37] local.INFO: TCP Data received {"connection_id":207980,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8ab3b8012d196600071feee8004a015428..."} 
[2026-10-05 20:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8ab3b8012d196600071feee8004a015428..."} 
[2026-10-05 20:24:37] local.INFO: Processing buffer {"connection_id":207980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8ab3b8012d196600071feee8004a015428..."} 
[2026-10-05 20:24:37] local.INFO: Packet analysis {"connection_id":207980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c8a"} 
[2026-10-05 20:24:37] local.INFO: Extracted packet for processing {"connection_id":207980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c8a"} 
[2026-10-05 20:24:37] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550138368001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791211779000,"timestamp_ms":1791211779000,"timestamp_seconds":1791211779,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8ab3b8"} 
[2026-10-05 20:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:24:37] 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-10-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550138368001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550138368001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:24:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:24:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550138368001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":207980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:24:37] local.INFO: GPS data processed {"connection_id":207980,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:24:37] local.INFO: Acknowledgment sent {"connection_id":207980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:24:39] local.INFO: TCP Data received {"connection_id":207980,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8ab3b8012d196600071feee8004a015428..."} 
[2026-10-05 20:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8ab3b8012d196600071feee8004a015428..."} 
[2026-10-05 20:24:39] local.INFO: Processing buffer {"connection_id":207980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8ab3b8012d196600071feee8004a015428..."} 
[2026-10-05 20:24:39] local.INFO: Packet analysis {"connection_id":207980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c8a"} 
[2026-10-05 20:24:39] local.INFO: Extracted packet for processing {"connection_id":207980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c8a"} 
[2026-10-05 20:24:39] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550138368001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791211779000,"timestamp_ms":1791211779000,"timestamp_seconds":1791211779,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8ab3b8"} 
[2026-10-05 20:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:24:39] 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-10-05 20:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":207980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":207980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":207980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550138368001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550138368001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:24:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:24:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550138368001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":207980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:24:39] local.INFO: GPS data processed {"connection_id":207980,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:24:39] local.INFO: Acknowledgment sent {"connection_id":207980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:24:59] local.INFO: TCP Data received {"connection_id":204891,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:24:59] local.INFO: Processing buffer {"connection_id":204891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:24:59] local.INFO: IMEI packet received {"connection_id":204891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":204891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:25:04] local.INFO: TCP Data received {"connection_id":207981,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:25:04] local.INFO: Processing buffer {"connection_id":207981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:25:04] local.INFO: IMEI packet received {"connection_id":207981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":207981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:25:15] local.INFO: TCP Data received {"connection_id":207981,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:25:15] local.INFO: Processing buffer {"connection_id":207981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:25:15] local.INFO: IMEI packet received {"connection_id":207981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":207981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:25:16] local.INFO: TCP Data received {"connection_id":207981,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8ab3b8012d196600071feee8004a015428..."} 
[2026-10-05 20:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8ab3b8012d196600071feee8004a015428..."} 
[2026-10-05 20:25:16] local.INFO: Processing buffer {"connection_id":207981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8ab3b8012d196600071feee8004a015428..."} 
[2026-10-05 20:25:16] local.INFO: Packet analysis {"connection_id":207981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c8a"} 
[2026-10-05 20:25:16] local.INFO: Extracted packet for processing {"connection_id":207981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c8a"} 
[2026-10-05 20:25:16] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550138368001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791211779000,"timestamp_ms":1791211779000,"timestamp_seconds":1791211779,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8ab3b8"} 
[2026-10-05 20:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550138368001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550138368001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:25:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:25:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550138368001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":207981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:25:17] local.INFO: GPS data processed {"connection_id":207981,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:25:17] local.INFO: Acknowledgment sent {"connection_id":207981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:25:35] local.INFO: TCP Data received {"connection_id":204892,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:25:35] local.INFO: Processing buffer {"connection_id":204892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:25:35] local.INFO: IMEI packet received {"connection_id":204892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":204892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:25:36] local.INFO: TCP Data received {"connection_id":204892,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8b7320012d7c094005db98f00000010230..."} 
[2026-10-05 20:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8b7320012d7c094005db98f00000010230..."} 
[2026-10-05 20:25:36] local.INFO: Processing buffer {"connection_id":204892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8b7320012d7c094005db98f00000010230..."} 
[2026-10-05 20:25:36] local.INFO: Packet analysis {"connection_id":204892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c8b"} 
[2026-10-05 20:25:36] local.INFO: Extracted packet for processing {"connection_id":204892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c8b"} 
[2026-10-05 20:25:36] local.INFO: GPS Element Parsed {"raw_longitude":763103552,"raw_latitude":98277616,"longitude_deg":76.3103552,"latitude_deg":9.8277616,"altitude":0,"angle":258,"satellites":48,"speed":0,"hex_longitude":"2d7c0940","hex_latitude":"05db98f0","is_valid_coordinates":true} 
[2026-10-05 20:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550227968001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139881604452450304,"note":"Value kept but may cause issues"} 
[2026-10-05 20:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937745329396707328,"note":"Value kept but may cause issues"} 
[2026-10-05 20:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791211828000,"timestamp_ms":1791211828000,"timestamp_seconds":1791211828,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8b7320"} 
[2026-10-05 20:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 20:25:36] 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-10-05 20:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550227968001,"66":12982,"162":206,"85":15104,"24":0,"16":139881604452450304,"45":8937745329396707328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 20:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550227968001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:25:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 20:25:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139881604452450304,"km_value":139881604452450.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937745329396707328,"description":"Unknown IO ID 45"} 
[2026-10-05 20:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550227968001,"power":12982,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937745329396707328}} 
[2026-10-05 20:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":204892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:25:36] local.INFO: GPS data processed {"connection_id":204892,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:25:36] local.INFO: Acknowledgment sent {"connection_id":204892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:25:39] local.INFO: TCP Data received {"connection_id":204891,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:25:39] local.INFO: Processing buffer {"connection_id":204891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:25:39] local.INFO: IMEI packet received {"connection_id":204891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":204891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:25:48] local.INFO: TCP Data received {"connection_id":207981,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8f4b80012d196600071feee8004a015428..."} 
[2026-10-05 20:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8f4b80012d196600071feee8004a015428..."} 
[2026-10-05 20:25:48] local.INFO: Processing buffer {"connection_id":207981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8f4b80012d196600071feee8004a015428..."} 
[2026-10-05 20:25:48] local.INFO: Packet analysis {"connection_id":207981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c8f"} 
[2026-10-05 20:25:48] local.INFO: Extracted packet for processing {"connection_id":207981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c8f"} 
[2026-10-05 20:25:48] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550215424001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791212080000,"timestamp_ms":1791212080000,"timestamp_seconds":1791212080,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8f4b80"} 
[2026-10-05 20:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:25: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-10-05 20:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 20:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":207981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":207981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":207981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550215424001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550215424001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:25:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:25:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550215424001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":207981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:25:48] local.INFO: GPS data processed {"connection_id":207981,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:25:48] local.INFO: Acknowledgment sent {"connection_id":207981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:26:04] local.INFO: TCP Data received {"connection_id":204893,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:26:04] local.INFO: Processing buffer {"connection_id":204893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:26:04] local.INFO: IMEI packet received {"connection_id":204893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":204893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:26:08] local.INFO: TCP Data received {"connection_id":204892,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8b7708012d7c0a0005db9928000200522f..."} 
[2026-10-05 20:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8b7708012d7c0a0005db9928000200522f..."} 
[2026-10-05 20:26:08] local.INFO: Processing buffer {"connection_id":204892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8b7708012d7c0a0005db9928000200522f..."} 
[2026-10-05 20:26:08] local.INFO: Packet analysis {"connection_id":204892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c8b"} 
[2026-10-05 20:26:08] local.INFO: Extracted packet for processing {"connection_id":204892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c8b"} 
[2026-10-05 20:26:08] local.INFO: GPS Element Parsed {"raw_longitude":763103744,"raw_latitude":98277672,"longitude_deg":76.3103744,"latitude_deg":9.8277672,"altitude":2,"angle":82,"satellites":47,"speed":1,"hex_longitude":"2d7c0a00","hex_latitude":"05db9928","is_valid_coordinates":true} 
[2026-10-05 20:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550227968001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139881604452450304,"note":"Value kept but may cause issues"} 
[2026-10-05 20:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937745329396707328,"note":"Value kept but may cause issues"} 
[2026-10-05 20:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791211829000,"timestamp_ms":1791211829000,"timestamp_seconds":1791211829,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8b7708"} 
[2026-10-05 20:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 20:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550227968001,"66":12982,"162":206,"85":15104,"24":1,"16":139881604452450304,"45":8937745329396707328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 20:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550227968001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:26:08] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 20:26:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139881604452450304,"km_value":139881604452450.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937745329396707328,"description":"Unknown IO ID 45"} 
[2026-10-05 20:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550227968001,"power":12982,"unknown_162":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8937745329396707328}} 
[2026-10-05 20:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":204892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:26:08] local.INFO: GPS data processed {"connection_id":204892,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:26:08] local.INFO: Acknowledgment sent {"connection_id":204892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:26:10] local.INFO: TCP Data received {"connection_id":204893,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:26:10] local.INFO: Processing buffer {"connection_id":204893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:26:10] local.INFO: IMEI packet received {"connection_id":204893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":204893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:26:12] local.INFO: TCP Data received {"connection_id":204893,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8f4b80012d196600071feee8004a015428..."} 
[2026-10-05 20:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8f4b80012d196600071feee8004a015428..."} 
[2026-10-05 20:26:12] local.INFO: Processing buffer {"connection_id":204893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8f4b80012d196600071feee8004a015428..."} 
[2026-10-05 20:26:12] local.INFO: Packet analysis {"connection_id":204893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c8f"} 
[2026-10-05 20:26:12] local.INFO: Extracted packet for processing {"connection_id":204893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c8f"} 
[2026-10-05 20:26:12] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550215424001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791212080000,"timestamp_ms":1791212080000,"timestamp_seconds":1791212080,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8f4b80"} 
[2026-10-05 20:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:26:12] 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-10-05 20:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 20:26:12] 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-10-05 20:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550215424001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550215424001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:26:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:26:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550215424001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":204893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:26:12] local.INFO: GPS data processed {"connection_id":204893,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:26:12] local.INFO: Acknowledgment sent {"connection_id":204893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:26:30] local.INFO: TCP Data received {"connection_id":206406,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:26:30] local.INFO: Processing buffer {"connection_id":206406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:26:30] local.INFO: IMEI packet received {"connection_id":206406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":206406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:26:35] local.INFO: TCP Data received {"connection_id":206406,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:26:35] local.INFO: Processing buffer {"connection_id":206406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:26:35] local.INFO: IMEI packet received {"connection_id":206406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":206406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:26:37] local.INFO: TCP Data received {"connection_id":206406,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10c900ae8012d7c0a0005db9910000300522d..."} 
[2026-10-05 20:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c900ae8012d7c0a0005db9910000300522d..."} 
[2026-10-05 20:26:37] local.INFO: Processing buffer {"connection_id":206406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c900ae8012d7c0a0005db9910000300522d..."} 
[2026-10-05 20:26:37] local.INFO: Packet analysis {"connection_id":206406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c90"} 
[2026-10-05 20:26:37] local.INFO: Extracted packet for processing {"connection_id":206406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c90"} 
[2026-10-05 20:26:37] local.INFO: GPS Element Parsed {"raw_longitude":763103744,"raw_latitude":98277648,"longitude_deg":76.3103744,"latitude_deg":9.8277648,"altitude":3,"angle":82,"satellites":45,"speed":0,"hex_longitude":"2d7c0a00","hex_latitude":"05db9910","is_valid_coordinates":true} 
[2026-10-05 20:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550228224001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139881604452450304,"note":"Value kept but may cause issues"} 
[2026-10-05 20:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937956435629254656,"note":"Value kept but may cause issues"} 
[2026-10-05 20:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791212129000,"timestamp_ms":1791212129000,"timestamp_seconds":1791212129,"priority":1,"record_length":96,"hex_timestamp":"000001a10c900ae8"} 
[2026-10-05 20:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 20:26: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-10-05 20:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550228224001,"66":13091,"185":206,"85":15104,"24":0,"16":139881604452450304,"45":8937956435629254656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 20:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550228224001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:26:37] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 20:26:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139881604452450304,"km_value":139881604452450.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937956435629254656,"description":"Unknown IO ID 45"} 
[2026-10-05 20:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550228224001,"power":13091,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937956435629254656}} 
[2026-10-05 20:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":206406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969838,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:26:37] local.INFO: GPS data processed {"connection_id":206406,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:26:37] local.INFO: Acknowledgment sent {"connection_id":206406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:26:44] local.INFO: TCP Data received {"connection_id":204893,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8f4b80012d196600071feee8004a015428..."} 
[2026-10-05 20:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8f4b80012d196600071feee8004a015428..."} 
[2026-10-05 20:26:44] local.INFO: Processing buffer {"connection_id":204893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8f4b80012d196600071feee8004a015428..."} 
[2026-10-05 20:26:44] local.INFO: Packet analysis {"connection_id":204893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c8f"} 
[2026-10-05 20:26:44] local.INFO: Extracted packet for processing {"connection_id":204893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c8f"} 
[2026-10-05 20:26:44] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550215424001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791212080000,"timestamp_ms":1791212080000,"timestamp_seconds":1791212080,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8f4b80"} 
[2026-10-05 20:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 20:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":204893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":204893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":204893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550215424001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550215424001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:26:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:26:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550215424001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":204893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:26:45] local.INFO: GPS data processed {"connection_id":204893,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:26:45] local.INFO: Acknowledgment sent {"connection_id":204893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:27:04] local.INFO: TCP Data received {"connection_id":206408,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:27:04] local.INFO: Processing buffer {"connection_id":206408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:27:04] local.INFO: IMEI packet received {"connection_id":206408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":206408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:27:04] local.INFO: TCP Data received {"connection_id":206407,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:27:04] local.INFO: Processing buffer {"connection_id":206407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:27:04] local.INFO: IMEI packet received {"connection_id":206407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":206407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:27:09] local.INFO: TCP Data received {"connection_id":206406,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10c900ae8012d7c0a0005db9910000300522d..."} 
[2026-10-05 20:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c900ae8012d7c0a0005db9910000300522d..."} 
[2026-10-05 20:27:09] local.INFO: Processing buffer {"connection_id":206406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c900ae8012d7c0a0005db9910000300522d..."} 
[2026-10-05 20:27:09] local.INFO: Packet analysis {"connection_id":206406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c90"} 
[2026-10-05 20:27:09] local.INFO: Extracted packet for processing {"connection_id":206406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c90"} 
[2026-10-05 20:27:09] local.INFO: GPS Element Parsed {"raw_longitude":763103744,"raw_latitude":98277648,"longitude_deg":76.3103744,"latitude_deg":9.8277648,"altitude":3,"angle":82,"satellites":45,"speed":0,"hex_longitude":"2d7c0a00","hex_latitude":"05db9910","is_valid_coordinates":true} 
[2026-10-05 20:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550228224001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139881604452450304,"note":"Value kept but may cause issues"} 
[2026-10-05 20:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937956435629254656,"note":"Value kept but may cause issues"} 
[2026-10-05 20:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791212129000,"timestamp_ms":1791212129000,"timestamp_seconds":1791212129,"priority":1,"record_length":96,"hex_timestamp":"000001a10c900ae8"} 
[2026-10-05 20:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 20:27:09] 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-10-05 20:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":206406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":206406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":206406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550228224001,"66":13091,"185":206,"85":15104,"24":0,"16":139881604452450304,"45":8937956435629254656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 20:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550228224001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:27:09] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 20:27:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139881604452450304,"km_value":139881604452450.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937956435629254656,"description":"Unknown IO ID 45"} 
[2026-10-05 20:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550228224001,"power":13091,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937956435629254656}} 
[2026-10-05 20:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":206406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:27:09] local.INFO: GPS data processed {"connection_id":206406,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:27:09] local.INFO: Acknowledgment sent {"connection_id":206406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:27:12] local.INFO: TCP Data received {"connection_id":206407,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:27:12] local.INFO: Processing buffer {"connection_id":206407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:27:12] local.INFO: IMEI packet received {"connection_id":206407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":206407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:27:14] local.INFO: TCP Data received {"connection_id":206408,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:27:14] local.INFO: Processing buffer {"connection_id":206408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:27:14] local.INFO: IMEI packet received {"connection_id":206408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":206408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:27:14] local.INFO: TCP Data received {"connection_id":206407,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8f4b80012d196600071feee8004a015428..."} 
[2026-10-05 20:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8f4b80012d196600071feee8004a015428..."} 
[2026-10-05 20:27:14] local.INFO: Processing buffer {"connection_id":206407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8f4b80012d196600071feee8004a015428..."} 
[2026-10-05 20:27:14] local.INFO: Packet analysis {"connection_id":206407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c8f"} 
[2026-10-05 20:27:14] local.INFO: Extracted packet for processing {"connection_id":206407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c8f"} 
[2026-10-05 20:27:14] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:27: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-10-05 20:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550215424001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791212080000,"timestamp_ms":1791212080000,"timestamp_seconds":1791212080,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8f4b80"} 
[2026-10-05 20:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:27:14] 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-10-05 20:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 20:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:27: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-10-05 20:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":206407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":206407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":206407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550215424001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550215424001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:27:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:27:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550215424001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":206407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:27:15] local.INFO: GPS data processed {"connection_id":206407,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:27:15] local.INFO: Acknowledgment sent {"connection_id":206407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:27:17] local.INFO: TCP Data received {"connection_id":206408,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8c6938012d778a4005f32fb8000c00a928..."} 
[2026-10-05 20:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8c6938012d778a4005f32fb8000c00a928..."} 
[2026-10-05 20:27:17] local.INFO: Processing buffer {"connection_id":206408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8c6938012d778a4005f32fb8000c00a928..."} 
[2026-10-05 20:27:17] local.INFO: Packet analysis {"connection_id":206408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c8c"} 
[2026-10-05 20:27:17] local.INFO: Extracted packet for processing {"connection_id":206408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c8c"} 
[2026-10-05 20:27:17] local.INFO: GPS Element Parsed {"raw_longitude":762808896,"raw_latitude":99823544,"longitude_deg":76.2808896,"latitude_deg":9.9823544,"altitude":12,"angle":169,"satellites":40,"speed":24,"hex_longitude":"2d778a40","hex_latitude":"05f32fb8","is_valid_coordinates":true} 
[2026-10-05 20:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550240000001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2242325115830272,"note":"Value kept but may cause issues"} 
[2026-10-05 20:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8611797306763843584,"note":"Value kept but may cause issues"} 
[2026-10-05 20:27:17] 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-10-05 20:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791211891000,"timestamp_ms":1791211891000,"timestamp_seconds":1791211891,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8c6938"} 
[2026-10-05 20:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:27: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-10-05 20:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-10-05 20:27:17] 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-10-05 20:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":206408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":206408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":206408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:27:17] 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-10-05 20:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550240000001,"66":27365,"134":206,"87":13568,"24":24,"16":2242325115830272,"45":8611797306763843584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,87,24,16,45]} 
[2026-10-05 20:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550240000001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:27:17] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-10-05 20:27:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 20:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2242325115830272,"km_value":2242325115830.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8611797306763843584,"description":"Unknown IO ID 45"} 
[2026-10-05 20:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550240000001,"power":27365,"unknown_134":206,"unknown_87":13568,"ignition":24,"odometer":null,"unknown_45":8611797306763843584}} 
[2026-10-05 20:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":206408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:27:17] local.INFO: GPS data processed {"connection_id":206408,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:27:17] local.INFO: Acknowledgment sent {"connection_id":206408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:27:21] local.INFO: TCP Data received {"connection_id":206408,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8cbb40012d77900005f310d0000c00ac27..."} 
[2026-10-05 20:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8cbb40012d77900005f310d0000c00ac27..."} 
[2026-10-05 20:27:21] local.INFO: Processing buffer {"connection_id":206408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8cbb40012d77900005f310d0000c00ac27..."} 
[2026-10-05 20:27:21] local.INFO: Packet analysis {"connection_id":206408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c8c"} 
[2026-10-05 20:27:21] local.INFO: Extracted packet for processing {"connection_id":206408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c8c"} 
[2026-10-05 20:27:21] local.INFO: GPS Element Parsed {"raw_longitude":762810368,"raw_latitude":99815632,"longitude_deg":76.2810368,"latitude_deg":9.9815632,"altitude":12,"angle":172,"satellites":39,"speed":0,"hex_longitude":"2d779000","hex_latitude":"05f310d0","is_valid_coordinates":true} 
[2026-10-05 20:27: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-10-05 20:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550244096001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2242724547788800,"note":"Value kept but may cause issues"} 
[2026-10-05 20:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8613767631598499840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:27:21] 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-10-05 20:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791211912000,"timestamp_ms":1791211912000,"timestamp_seconds":1791211912,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8cbb40"} 
[2026-10-05 20:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-05 20:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:27: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-10-05 20:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":206408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":206408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":206408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:27:21] 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-10-05 20:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550244096001,"66":27397,"134":206,"87":13568,"24":0,"16":2242724547788800,"45":8613767631598499840},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,87,24,16,45]} 
[2026-10-05 20:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550244096001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:27:21] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-10-05 20:27:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 20:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2242724547788800,"km_value":2242724547788.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8613767631598499840,"description":"Unknown IO ID 45"} 
[2026-10-05 20:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550244096001,"power":27397,"unknown_134":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8613767631598499840}} 
[2026-10-05 20:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":206408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:27:21] local.INFO: GPS data processed {"connection_id":206408,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:27:21] local.INFO: Acknowledgment sent {"connection_id":206408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:27:30] local.INFO: TCP Data received {"connection_id":205028,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:27:30] local.INFO: Processing buffer {"connection_id":205028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:27:30] local.INFO: IMEI packet received {"connection_id":205028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":205028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:27:37] local.INFO: TCP Data received {"connection_id":205028,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:27:37] local.INFO: Processing buffer {"connection_id":205028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:27:37] local.INFO: IMEI packet received {"connection_id":205028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":205028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:27:39] local.INFO: TCP Data received {"connection_id":205028,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10c900ae8012d7c0a0005db9910000300522d..."} 
[2026-10-05 20:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c900ae8012d7c0a0005db9910000300522d..."} 
[2026-10-05 20:27:39] local.INFO: Processing buffer {"connection_id":205028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c900ae8012d7c0a0005db9910000300522d..."} 
[2026-10-05 20:27:39] local.INFO: Packet analysis {"connection_id":205028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c90"} 
[2026-10-05 20:27:39] local.INFO: Extracted packet for processing {"connection_id":205028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c90"} 
[2026-10-05 20:27:39] local.INFO: GPS Element Parsed {"raw_longitude":763103744,"raw_latitude":98277648,"longitude_deg":76.3103744,"latitude_deg":9.8277648,"altitude":3,"angle":82,"satellites":45,"speed":0,"hex_longitude":"2d7c0a00","hex_latitude":"05db9910","is_valid_coordinates":true} 
[2026-10-05 20:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550228224001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139881604452450304,"note":"Value kept but may cause issues"} 
[2026-10-05 20:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937956435629254656,"note":"Value kept but may cause issues"} 
[2026-10-05 20:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791212129000,"timestamp_ms":1791212129000,"timestamp_seconds":1791212129,"priority":1,"record_length":96,"hex_timestamp":"000001a10c900ae8"} 
[2026-10-05 20:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 20:27:39] 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-10-05 20:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":205028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":205028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":205028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550228224001,"66":13091,"185":206,"85":15104,"24":0,"16":139881604452450304,"45":8937956435629254656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 20:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550228224001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:27:39] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 20:27:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139881604452450304,"km_value":139881604452450.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937956435629254656,"description":"Unknown IO ID 45"} 
[2026-10-05 20:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550228224001,"power":13091,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937956435629254656}} 
[2026-10-05 20:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":205028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:27:39] local.INFO: GPS data processed {"connection_id":205028,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:27:39] local.INFO: Acknowledgment sent {"connection_id":205028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:27:47] local.INFO: TCP Data received {"connection_id":206407,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8f4b80012d196600071feee8004a015428..."} 
[2026-10-05 20:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8f4b80012d196600071feee8004a015428..."} 
[2026-10-05 20:27:47] local.INFO: Processing buffer {"connection_id":206407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8f4b80012d196600071feee8004a015428..."} 
[2026-10-05 20:27:47] local.INFO: Packet analysis {"connection_id":206407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c8f"} 
[2026-10-05 20:27:47] local.INFO: Extracted packet for processing {"connection_id":206407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c8f"} 
[2026-10-05 20:27:47] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550215424001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791212080000,"timestamp_ms":1791212080000,"timestamp_seconds":1791212080,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8f4b80"} 
[2026-10-05 20:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:27: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-10-05 20:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 20:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":206407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":206407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":206407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550215424001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550215424001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:27:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:27:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550215424001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":206407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:27:47] local.INFO: GPS data processed {"connection_id":206407,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:27:47] local.INFO: Acknowledgment sent {"connection_id":206407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:28:04] local.INFO: TCP Data received {"connection_id":205029,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205029,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:28:04] local.INFO: Processing buffer {"connection_id":205029,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:28:04] local.INFO: IMEI packet received {"connection_id":205029,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 20:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":205029,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:28:10] local.INFO: TCP Data received {"connection_id":205028,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10c924920012d7c0a0005db9910000300522f..."} 
[2026-10-05 20:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c924920012d7c0a0005db9910000300522f..."} 
[2026-10-05 20:28:10] local.INFO: Processing buffer {"connection_id":205028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c924920012d7c0a0005db9910000300522f..."} 
[2026-10-05 20:28:10] local.INFO: Packet analysis {"connection_id":205028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c92"} 
[2026-10-05 20:28:10] local.INFO: Extracted packet for processing {"connection_id":205028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c92"} 
[2026-10-05 20:28:10] local.INFO: GPS Element Parsed {"raw_longitude":763103744,"raw_latitude":98277648,"longitude_deg":76.3103744,"latitude_deg":9.8277648,"altitude":3,"angle":82,"satellites":47,"speed":0,"hex_longitude":"2d7c0a00","hex_latitude":"05db9910","is_valid_coordinates":true} 
[2026-10-05 20:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550305024001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139881604452450304,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937956435629248512,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791212276000,"timestamp_ms":1791212276000,"timestamp_seconds":1791212276,"priority":1,"record_length":96,"hex_timestamp":"000001a10c924920"} 
[2026-10-05 20:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 20:28: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-10-05 20:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":205028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":205028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":205028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550305024001,"66":13059,"185":206,"85":15104,"24":0,"16":139881604452450304,"45":8937956435629248512},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 20:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550305024001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:28:10] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 20:28:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139881604452450304,"km_value":139881604452450.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937956435629248512,"description":"Unknown IO ID 45"} 
[2026-10-05 20:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550305024001,"power":13059,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937956435629248512}} 
[2026-10-05 20:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":205028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:28:10] local.INFO: GPS data processed {"connection_id":205028,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:28:10] local.INFO: Acknowledgment sent {"connection_id":205028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:28:12] local.INFO: TCP Data received {"connection_id":204895,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:28:12] local.INFO: Processing buffer {"connection_id":204895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:28:12] local.INFO: IMEI packet received {"connection_id":204895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":204895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:28:14] local.INFO: TCP Data received {"connection_id":204895,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:28:14] local.INFO: Processing buffer {"connection_id":204895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:28:14] local.INFO: IMEI packet received {"connection_id":204895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":204895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:28:16] local.INFO: TCP Data received {"connection_id":204895,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8f4b80012d196600071feee8004a015428..."} 
[2026-10-05 20:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8f4b80012d196600071feee8004a015428..."} 
[2026-10-05 20:28:16] local.INFO: Processing buffer {"connection_id":204895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8f4b80012d196600071feee8004a015428..."} 
[2026-10-05 20:28:16] local.INFO: Packet analysis {"connection_id":204895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c8f"} 
[2026-10-05 20:28:16] local.INFO: Extracted packet for processing {"connection_id":204895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c8f"} 
[2026-10-05 20:28:16] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550215424001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791212080000,"timestamp_ms":1791212080000,"timestamp_seconds":1791212080,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8f4b80"} 
[2026-10-05 20:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:28: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-10-05 20:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 20:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550215424001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550215424001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:28:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:28:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550215424001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":204895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:28:16] local.INFO: GPS data processed {"connection_id":204895,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:28:16] local.INFO: Acknowledgment sent {"connection_id":204895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:28:22] local.INFO: TCP Data received {"connection_id":204895,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8f4b80012d196600071feee8004a015428..."} 
[2026-10-05 20:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8f4b80012d196600071feee8004a015428..."} 
[2026-10-05 20:28:22] local.INFO: Processing buffer {"connection_id":204895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8f4b80012d196600071feee8004a015428..."} 
[2026-10-05 20:28:22] local.INFO: Packet analysis {"connection_id":204895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c8f"} 
[2026-10-05 20:28:22] local.INFO: Extracted packet for processing {"connection_id":204895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c8f"} 
[2026-10-05 20:28:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550215424001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791212080000,"timestamp_ms":1791212080000,"timestamp_seconds":1791212080,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8f4b80"} 
[2026-10-05 20:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:28:22] 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-10-05 20:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 20:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":204895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":204895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":204895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550215424001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550215424001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:28:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:28:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550215424001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":204895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:28:22] local.INFO: GPS data processed {"connection_id":204895,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:28:22] local.INFO: Acknowledgment sent {"connection_id":204895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:28:30] local.INFO: TCP Data received {"connection_id":204896,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:28:30] local.INFO: Processing buffer {"connection_id":204896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:28:30] local.INFO: IMEI packet received {"connection_id":204896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":204896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:28:33] local.INFO: TCP Data received {"connection_id":204896,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:28:33] local.INFO: Processing buffer {"connection_id":204896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:28:33] local.INFO: IMEI packet received {"connection_id":204896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":204896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:28:33] local.INFO: TCP Data received {"connection_id":205030,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:28:33] local.INFO: Processing buffer {"connection_id":205030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:28:33] local.INFO: IMEI packet received {"connection_id":205030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 20:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":205030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:28:35] local.INFO: TCP Data received {"connection_id":204896,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:28:35] local.INFO: Processing buffer {"connection_id":204896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:28:35] local.INFO: IMEI packet received {"connection_id":204896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":204896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:28:37] local.INFO: TCP Data received {"connection_id":204896,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10c924920012d7c0a0005db9910000300522f..."} 
[2026-10-05 20:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c924920012d7c0a0005db9910000300522f..."} 
[2026-10-05 20:28:37] local.INFO: Processing buffer {"connection_id":204896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c924920012d7c0a0005db9910000300522f..."} 
[2026-10-05 20:28:37] local.INFO: Packet analysis {"connection_id":204896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c92"} 
[2026-10-05 20:28:37] local.INFO: Extracted packet for processing {"connection_id":204896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c92"} 
[2026-10-05 20:28:37] local.INFO: GPS Element Parsed {"raw_longitude":763103744,"raw_latitude":98277648,"longitude_deg":76.3103744,"latitude_deg":9.8277648,"altitude":3,"angle":82,"satellites":47,"speed":0,"hex_longitude":"2d7c0a00","hex_latitude":"05db9910","is_valid_coordinates":true} 
[2026-10-05 20:28:37] 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-10-05 20:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550342656001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139881604452450304,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937956435629248512,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791212276000,"timestamp_ms":1791212276000,"timestamp_seconds":1791212276,"priority":1,"record_length":96,"hex_timestamp":"000001a10c924920"} 
[2026-10-05 20:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:28:37] 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-10-05 20:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 20:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303173582507365,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:37] local.WARNING: Large IO value detected {"io_id":245,"raw_value":2483027968,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:37] local.WARNING: Large IO value detected {"io_id":162,"raw_value":58077557095399429,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":4119724032,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:37] local.WARNING: Large IO value detected {"io_id":12,"raw_value":2339577857,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:37] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2565865472,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705115854,"corrected_to":0} 
[2026-10-05 20:28:37] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,185,85,24,241,157,16,245,161,10,45,153,3,66,119,2,47,162,115,64,240,182,227,12,219,1,4,113,205,72,11,48,239,52,5],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1705115854,"validated":0}]} 
[2026-10-05 20:28:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216263143930724591,"timestamp_seconds":216263143930724.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 20:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550342656001,"66":13059,"185":206,"85":15104,"24":0,"16":139881604452450304,"45":8937956435629248512},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 20:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550342656001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:28:37] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 20:28:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139881604452450304,"km_value":139881604452450.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937956435629248512,"description":"Unknown IO ID 45"} 
[2026-10-05 20:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550342656001,"power":13059,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937956435629248512}} 
[2026-10-05 20:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":204896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:28:37] local.INFO: GPS data processed {"connection_id":204896,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:28:37] local.INFO: Acknowledgment sent {"connection_id":204896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:28:38] local.INFO: TCP Data received {"connection_id":204896,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10c927418012d7c088005db9850000d01052e..."} 
[2026-10-05 20:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c927418012d7c088005db9850000d01052e..."} 
[2026-10-05 20:28:38] local.INFO: Processing buffer {"connection_id":204896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c927418012d7c088005db9850000d01052e..."} 
[2026-10-05 20:28:38] local.INFO: Packet analysis {"connection_id":204896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c92"} 
[2026-10-05 20:28:38] local.INFO: Extracted packet for processing {"connection_id":204896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c92"} 
[2026-10-05 20:28:38] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":98277456,"longitude_deg":76.310336,"latitude_deg":9.8277456,"altitude":13,"angle":261,"satellites":46,"speed":8,"hex_longitude":"2d7c0880","hex_latitude":"05db9850","is_valid_coordinates":true} 
[2026-10-05 20:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550342656001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139881625927286784,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937956435629248512,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791212287000,"timestamp_ms":1791212287000,"timestamp_seconds":1791212287,"priority":1,"record_length":96,"hex_timestamp":"000001a10c927418"} 
[2026-10-05 20:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 20:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168297684325,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:38] local.WARNING: Large IO value detected {"io_id":245,"raw_value":2483027968,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":4120117248,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:38] local.WARNING: Large IO value detected {"io_id":12,"raw_value":2339577857,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:38] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2565865472,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705115854,"corrected_to":0} 
[2026-10-05 20:28:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505893,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:38] local.WARNING: Large IO value detected {"io_id":162,"raw_value":58077557095399429,"note":"Value kept but may cause issues"} 
[2026-10-05 20:28:38] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,185,85,24,241,157,16,245,161,73,45,153,3,47,10,66,119,240,182,227,12,219,1,4,113,205,115,9,48,239,50,162,2,5],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1705115854,"validated":0}]} 
[2026-10-05 20:28:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216263143930724592,"timestamp_seconds":216263143930724.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 20:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550342656001,"66":12863,"185":206,"85":15104,"24":8,"16":139881625927286784,"45":8937956435629248512},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 20:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550342656001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:28:38] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 20:28:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139881625927286784,"km_value":139881625927286.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937956435629248512,"description":"Unknown IO ID 45"} 
[2026-10-05 20:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550342656001,"power":12863,"unknown_185":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8937956435629248512}} 
[2026-10-05 20:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":204896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:28:38] local.INFO: GPS data processed {"connection_id":204896,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:28:38] local.INFO: Acknowledgment sent {"connection_id":204896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:28:54] local.INFO: TCP Data received {"connection_id":206410,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:28:54] local.INFO: Processing buffer {"connection_id":206410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:28:54] local.INFO: IMEI packet received {"connection_id":206410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":206410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:29:04] local.INFO: TCP Data received {"connection_id":207983,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:29:04] local.INFO: Processing buffer {"connection_id":207983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:29:04] local.INFO: IMEI packet received {"connection_id":207983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":207983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:29:09] local.INFO: TCP Data received {"connection_id":204896,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10c927fd0012d7c064005db97d0000d00ee2e..."} 
[2026-10-05 20:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c927fd0012d7c064005db97d0000d00ee2e..."} 
[2026-10-05 20:29:09] local.INFO: Processing buffer {"connection_id":204896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c927fd0012d7c064005db97d0000d00ee2e..."} 
[2026-10-05 20:29:09] local.INFO: Packet analysis {"connection_id":204896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c92"} 
[2026-10-05 20:29:09] local.INFO: Extracted packet for processing {"connection_id":204896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c92"} 
[2026-10-05 20:29:09] local.INFO: GPS Element Parsed {"raw_longitude":763102784,"raw_latitude":98277328,"longitude_deg":76.3102784,"latitude_deg":9.8277328,"altitude":13,"angle":238,"satellites":46,"speed":4,"hex_longitude":"2d7c0640","hex_latitude":"05db97d0","is_valid_coordinates":true} 
[2026-10-05 20:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550345472001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139881651697090560,"note":"Value kept but may cause issues"} 
[2026-10-05 20:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534223164133376,"note":"Value kept but may cause issues"} 
[2026-10-05 20:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791212290000,"timestamp_ms":1791212290000,"timestamp_seconds":1791212290,"priority":1,"record_length":96,"hex_timestamp":"000001a10c927fd0"} 
[2026-10-05 20:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 20:29:09] 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-10-05 20:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550345472001,"66":11830,"185":206,"85":15104,"24":4,"16":139881651697090560,"45":8937534223164133376},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 20:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550345472001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:29:09] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 20:29:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139881651697090560,"km_value":139881651697090.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937534223164133376,"description":"Unknown IO ID 45"} 
[2026-10-05 20:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550345472001,"power":11830,"unknown_185":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8937534223164133376}} 
[2026-10-05 20:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":204896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:29:10] local.INFO: GPS data processed {"connection_id":204896,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:29:10] local.INFO: Acknowledgment sent {"connection_id":204896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:29:10] local.INFO: TCP Data received {"connection_id":207983,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:29:10] local.INFO: Processing buffer {"connection_id":207983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:29:10] local.INFO: IMEI packet received {"connection_id":207983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":207983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:29:11] local.INFO: TCP Data received {"connection_id":207983,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8f4b80012d196600071feee8004a015428..."} 
[2026-10-05 20:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8f4b80012d196600071feee8004a015428..."} 
[2026-10-05 20:29:11] local.INFO: Processing buffer {"connection_id":207983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8f4b80012d196600071feee8004a015428..."} 
[2026-10-05 20:29:11] local.INFO: Packet analysis {"connection_id":207983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c8f"} 
[2026-10-05 20:29:11] local.INFO: Extracted packet for processing {"connection_id":207983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c8f"} 
[2026-10-05 20:29:11] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550215424001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791212080000,"timestamp_ms":1791212080000,"timestamp_seconds":1791212080,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8f4b80"} 
[2026-10-05 20:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:29:11] 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-10-05 20:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 20:29:11] 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-10-05 20:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":207983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":207983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":207983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550215424001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550215424001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:29:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:29:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550215424001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":207983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:29:11] local.INFO: GPS data processed {"connection_id":207983,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:29:11] local.INFO: Acknowledgment sent {"connection_id":207983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:29:24] local.INFO: TCP Data received {"connection_id":206410,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:29:24] local.INFO: Processing buffer {"connection_id":206410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:29:24] local.INFO: IMEI packet received {"connection_id":206410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":206410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:29:30] local.INFO: TCP Data received {"connection_id":206411,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206411,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:29:30] local.INFO: Processing buffer {"connection_id":206411,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:29:30] local.INFO: IMEI packet received {"connection_id":206411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":206411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:29:31] local.INFO: TCP Data received {"connection_id":206411,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206411,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:29:31] local.INFO: Processing buffer {"connection_id":206411,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:29:31] local.INFO: IMEI packet received {"connection_id":206411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":206411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:29:35] local.INFO: TCP Data received {"connection_id":206411,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206411,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:29:35] local.INFO: Processing buffer {"connection_id":206411,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:29:35] local.INFO: IMEI packet received {"connection_id":206411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":206411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:29:37] local.INFO: TCP Data received {"connection_id":206411,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9287a0012d7c05c005db9768000d00e12f..."} 
[2026-10-05 20:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9287a0012d7c05c005db9768000d00e12f..."} 
[2026-10-05 20:29:37] local.INFO: Processing buffer {"connection_id":206411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9287a0012d7c05c005db9768000d00e12f..."} 
[2026-10-05 20:29:37] local.INFO: Packet analysis {"connection_id":206411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c92"} 
[2026-10-05 20:29:37] local.INFO: Extracted packet for processing {"connection_id":206411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c92"} 
[2026-10-05 20:29:37] local.INFO: GPS Element Parsed {"raw_longitude":763102656,"raw_latitude":98277224,"longitude_deg":76.3102656,"latitude_deg":9.8277224,"altitude":13,"angle":225,"satellites":47,"speed":3,"hex_longitude":"2d7c05c0","hex_latitude":"05db9768","is_valid_coordinates":true} 
[2026-10-05 20:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550346240001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139881660287025152,"note":"Value kept but may cause issues"} 
[2026-10-05 20:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936900904466501632,"note":"Value kept but may cause issues"} 
[2026-10-05 20:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791212292000,"timestamp_ms":1791212292000,"timestamp_seconds":1791212292,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9287a0"} 
[2026-10-05 20:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:29:37] 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-10-05 20:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-10-05 20:29: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-10-05 20:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550346240001,"66":12330,"185":206,"85":15104,"24":3,"16":139881660287025152,"45":8936900904466501632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 20:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550346240001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:29:37] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 20:29:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139881660287025152,"km_value":139881660287025.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936900904466501632,"description":"Unknown IO ID 45"} 
[2026-10-05 20:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550346240001,"power":12330,"unknown_185":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8936900904466501632}} 
[2026-10-05 20:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":206411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969853,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:29:37] local.INFO: GPS data processed {"connection_id":206411,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:29:37] local.INFO: Acknowledgment sent {"connection_id":206411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:29:43] local.INFO: TCP Data received {"connection_id":207983,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8f4b80012d196600071feee8004a015428..."} 
[2026-10-05 20:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8f4b80012d196600071feee8004a015428..."} 
[2026-10-05 20:29:43] local.INFO: Processing buffer {"connection_id":207983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8f4b80012d196600071feee8004a015428..."} 
[2026-10-05 20:29:43] local.INFO: Packet analysis {"connection_id":207983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c8f"} 
[2026-10-05 20:29:43] local.INFO: Extracted packet for processing {"connection_id":207983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c8f"} 
[2026-10-05 20:29:43] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:29: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-10-05 20:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550215424001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791212080000,"timestamp_ms":1791212080000,"timestamp_seconds":1791212080,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8f4b80"} 
[2026-10-05 20:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:29: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-10-05 20:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 20:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:29: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-10-05 20:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":207983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":207983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":207983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550215424001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550215424001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:29:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:29:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550215424001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":207983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:29:43] local.INFO: GPS data processed {"connection_id":207983,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:29:43] local.INFO: Acknowledgment sent {"connection_id":207983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:30:09] local.INFO: TCP Data received {"connection_id":206411,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9421c8012d7c254005daf3880000013b29..."} 
[2026-10-05 20:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9421c8012d7c254005daf3880000013b29..."} 
[2026-10-05 20:30:09] local.INFO: Processing buffer {"connection_id":206411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9421c8012d7c254005daf3880000013b29..."} 
[2026-10-05 20:30:09] local.INFO: Packet analysis {"connection_id":206411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c94"} 
[2026-10-05 20:30:09] local.INFO: Extracted packet for processing {"connection_id":206411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c94"} 
[2026-10-05 20:30:09] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98235272,"longitude_deg":76.311072,"latitude_deg":9.8235272,"altitude":0,"angle":315,"satellites":41,"speed":12,"hex_longitude":"2d7c2540","hex_latitude":"05daf388","is_valid_coordinates":true} 
[2026-10-05 20:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550373376001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139883803475705856,"note":"Value kept but may cause issues"} 
[2026-10-05 20:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945908103710435328,"note":"Value kept but may cause issues"} 
[2026-10-05 20:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791212397000,"timestamp_ms":1791212397000,"timestamp_seconds":1791212397,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9421c8"} 
[2026-10-05 20:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 20:30: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-10-05 20:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":206411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":206411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":206411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550373376001,"66":12504,"160":206,"85":15104,"24":12,"16":139883803475705856,"45":8945908103710435328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550373376001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:30:09] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:30:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139883803475705856,"km_value":139883803475705.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945908103710435328,"description":"Unknown IO ID 45"} 
[2026-10-05 20:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550373376001,"power":12504,"unknown_160":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8945908103710435328}} 
[2026-10-05 20:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":206411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:30:09] local.INFO: GPS data processed {"connection_id":206411,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:30:09] local.INFO: Acknowledgment sent {"connection_id":206411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:30:19] local.INFO: TCP Data received {"connection_id":204897,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:30:19] local.INFO: Processing buffer {"connection_id":204897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:30:19] local.INFO: IMEI packet received {"connection_id":204897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":204897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:30:30] local.INFO: TCP Data received {"connection_id":204897,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:30:30] local.INFO: Processing buffer {"connection_id":204897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:30:30] local.INFO: IMEI packet received {"connection_id":204897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":204897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:30:30] local.INFO: TCP Data received {"connection_id":206412,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:30:30] local.INFO: Processing buffer {"connection_id":206412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:30:30] local.INFO: IMEI packet received {"connection_id":206412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":206412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:30:35] local.INFO: TCP Data received {"connection_id":206412,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:30:35] local.INFO: Processing buffer {"connection_id":206412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:30:35] local.INFO: IMEI packet received {"connection_id":206412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":206412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:30:37] local.INFO: TCP Data received {"connection_id":206412,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9425b0012d7c248005daf4980000015029..."} 
[2026-10-05 20:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9425b0012d7c248005daf4980000015029..."} 
[2026-10-05 20:30:37] local.INFO: Processing buffer {"connection_id":206412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9425b0012d7c248005daf4980000015029..."} 
[2026-10-05 20:30:37] local.INFO: Packet analysis {"connection_id":206412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c94"} 
[2026-10-05 20:30:37] local.INFO: Extracted packet for processing {"connection_id":206412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c94"} 
[2026-10-05 20:30:37] local.INFO: GPS Element Parsed {"raw_longitude":763110528,"raw_latitude":98235544,"longitude_deg":76.3110528,"latitude_deg":9.8235544,"altitude":0,"angle":336,"satellites":41,"speed":13,"hex_longitude":"2d7c2480","hex_latitude":"05daf498","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550373632001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139883820655575040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628733765632,"note":"Value kept but may cause issues"} 
[2026-10-05 20:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791212398000,"timestamp_ms":1791212398000,"timestamp_seconds":1791212398,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9425b0"} 
[2026-10-05 20:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:30:37] 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-10-05 20: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-05 20:30:37] 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-10-05 20: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-10-05 20:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550373632001,"66":12809,"160":206,"85":15104,"24":13,"16":139883820655575040,"45":8945626628733765632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550373632001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:30:37] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:30:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139883820655575040,"km_value":139883820655575.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628733765632,"description":"Unknown IO ID 45"} 
[2026-10-05 20:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550373632001,"power":12809,"unknown_160":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8945626628733765632}} 
[2026-10-05 20:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":206412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969856,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:30:37] local.INFO: GPS data processed {"connection_id":206412,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:30:37] local.INFO: Acknowledgment sent {"connection_id":206412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:31:08] local.INFO: TCP Data received {"connection_id":206412,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a10c942998012d7c23c005daf5e80000015d24..."} 
[2026-10-05 20:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c942998012d7c23c005daf5e80000015d24..."} 
[2026-10-05 20:31:08] local.INFO: Processing buffer {"connection_id":206412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c942998012d7c23c005daf5e80000015d24..."} 
[2026-10-05 20:31:08] local.INFO: Packet analysis {"connection_id":206412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c94"} 
[2026-10-05 20:31:08] local.INFO: Extracted packet for processing {"connection_id":206412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c94"} 
[2026-10-05 20:31:08] local.INFO: GPS Element Parsed {"raw_longitude":763110336,"raw_latitude":98235880,"longitude_deg":76.3110336,"latitude_deg":9.823588,"altitude":0,"angle":349,"satellites":36,"speed":15,"hex_longitude":"2d7c23c0","hex_latitude":"05daf5e8","is_valid_coordinates":true} 
[2026-10-05 20:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550373888001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139883842130411520,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945415522501302272,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791212399000,"timestamp_ms":1791212399000,"timestamp_seconds":1791212399,"priority":1,"record_length":96,"hex_timestamp":"000001a10c942998"} 
[2026-10-05 20:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-05 20:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1585267069002187776,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:08] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2382364672,"corrected_to":0} 
[2026-10-05 20:31:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:08] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-7788104737269996224,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:08] local.WARNING: Large IO value detected {"io_id":218,"raw_value":4075290624,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1704984782,"corrected_to":0} 
[2026-10-05 20:31:08] local.WARNING: Large IO value detected {"io_id":47,"raw_value":1153147340966645333,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2664037509264005849,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:08] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755455275761905,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:08] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,160,85,24,241,157,16,247,161,33,45,64,243,41,10,66,29,242,40,25,128,1,240,168,227,12,218,4,113,205,7,18,96,37,239,47,2,5,13,59,134],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":247,"original":2382364672,"validated":0},{"io_id":205,"original":1704984782,"validated":0}]} 
[2026-10-05 20:31:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":369612001443840,"timestamp_seconds":369612001443.84,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 20:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550373888001,"66":12809,"160":206,"85":15104,"24":15,"16":139883842130411520,"45":8945415522501302272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550373888001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:31:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:31:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139883842130411520,"km_value":139883842130411.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945415522501302272,"description":"Unknown IO ID 45"} 
[2026-10-05 20:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550373888001,"power":12809,"unknown_160":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8945415522501302272}} 
[2026-10-05 20:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":206412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969857,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:31:08] local.INFO: GPS data processed {"connection_id":206412,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:31:08] local.INFO: Acknowledgment sent {"connection_id":206412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:31:15] local.INFO: TCP Data received {"connection_id":204898,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:31:15] local.INFO: Processing buffer {"connection_id":204898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:31:15] local.INFO: IMEI packet received {"connection_id":204898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":204898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:31:20] local.INFO: TCP Data received {"connection_id":204898,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:31:20] local.INFO: Processing buffer {"connection_id":204898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:31:20] local.INFO: IMEI packet received {"connection_id":204898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":204898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:31:29] local.INFO: TCP Data received {"connection_id":204898,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c93e348012d196600071feee8004a015425..."} 
[2026-10-05 20:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c93e348012d196600071feee8004a015425..."} 
[2026-10-05 20:31:29] local.INFO: Processing buffer {"connection_id":204898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c93e348012d196600071feee8004a015425..."} 
[2026-10-05 20:31:29] local.INFO: Packet analysis {"connection_id":204898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c93"} 
[2026-10-05 20:31:29] local.INFO: Extracted packet for processing {"connection_id":204898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c93"} 
[2026-10-05 20:31:29] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 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-10-05 20:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550292480001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1791212381000,"timestamp_ms":1791212381000,"timestamp_seconds":1791212381,"priority":1,"record_length":96,"hex_timestamp":"000001a10c93e348"} 
[2026-10-05 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-10-05 20:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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-10-05 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-10-05 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-10-05 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-10-05 20:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":204898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":204898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":204898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550292480001,"66":2177,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550292480001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:31:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:31:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550292480001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":204898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:31:29] local.INFO: GPS data processed {"connection_id":204898,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:31:29] local.INFO: Acknowledgment sent {"connection_id":204898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:31:31] local.INFO: TCP Data received {"connection_id":204898,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c93e348012d196600071feee8004a015425..."} 
[2026-10-05 20:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c93e348012d196600071feee8004a015425..."} 
[2026-10-05 20:31:31] local.INFO: Processing buffer {"connection_id":204898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c93e348012d196600071feee8004a015425..."} 
[2026-10-05 20:31:31] local.INFO: Packet analysis {"connection_id":204898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c93"} 
[2026-10-05 20:31:31] local.INFO: Extracted packet for processing {"connection_id":204898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c93"} 
[2026-10-05 20:31:31] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550292480001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31: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-10-05 20:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791212381000,"timestamp_ms":1791212381000,"timestamp_seconds":1791212381,"priority":1,"record_length":96,"hex_timestamp":"000001a10c93e348"} 
[2026-10-05 20:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:31: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-10-05 20:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":204898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":204898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":204898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550292480001,"66":2177,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550292480001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:31:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:31:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550292480001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":204898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:31:31] local.INFO: GPS data processed {"connection_id":204898,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:31:31] local.INFO: Acknowledgment sent {"connection_id":204898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:31:35] local.INFO: TCP Data received {"connection_id":207984,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:31:35] local.INFO: Processing buffer {"connection_id":207984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:31:35] local.INFO: IMEI packet received {"connection_id":207984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":207984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:31:40] local.INFO: TCP Data received {"connection_id":207984,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:31:40] local.INFO: Processing buffer {"connection_id":207984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:31:40] local.INFO: IMEI packet received {"connection_id":207984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":207984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:31:41] local.INFO: TCP Data received {"connection_id":207984,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a10c945c60012d7c1b8005db1a700000015f22..."} 
[2026-10-05 20:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c945c60012d7c1b8005db1a700000015f22..."} 
[2026-10-05 20:31:41] local.INFO: Processing buffer {"connection_id":207984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c945c60012d7c1b8005db1a700000015f22..."} 
[2026-10-05 20:31:41] local.INFO: Packet analysis {"connection_id":207984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c94"} 
[2026-10-05 20:31:41] local.INFO: Extracted packet for processing {"connection_id":207984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c94"} 
[2026-10-05 20:31:41] local.INFO: GPS Element Parsed {"raw_longitude":763108224,"raw_latitude":98245232,"longitude_deg":76.3108224,"latitude_deg":9.8245232,"altitude":0,"angle":351,"satellites":34,"speed":36,"hex_longitude":"2d7c1b80","hex_latitude":"05db1a70","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550374144001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884305986879488,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945204416268855296,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791212412000,"timestamp_ms":1791212412000,"timestamp_seconds":1791212412,"priority":1,"record_length":96,"hex_timestamp":"000001a10c945c60"} 
[2026-10-05 20:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:31: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-10-05 20: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-05 20:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":936748722660836352,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:41] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2432696320,"corrected_to":0} 
[2026-10-05 20:31:41] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:41] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-7778209132620011200,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:41] local.WARNING: Large IO value detected {"io_id":218,"raw_value":4073193472,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1704984782,"corrected_to":0} 
[2026-10-05 20:31:41] local.WARNING: Large IO value detected {"io_id":47,"raw_value":1153147340966645333,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:41] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2669429514286613723,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:41] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755442390860017,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:41] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,160,85,24,241,157,16,247,161,37,45,128,244,41,10,66,33,64,243,29,1,240,216,227,12,218,4,113,205,8,22,40,232,239,47,2,5,59,137],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":247,"original":2432696320,"validated":0},{"io_id":205,"original":1704984782,"validated":0}]} 
[2026-10-05 20:31:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":383884177899520,"timestamp_seconds":383884177899.52,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 20:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":207984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":207984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":207984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550374144001,"66":12428,"161":206,"85":15104,"24":36,"16":139884305986879488,"45":8945204416268855296},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 20:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550374144001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:31:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 20:31:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884305986879488,"km_value":139884305986879.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945204416268855296,"description":"Unknown IO ID 45"} 
[2026-10-05 20:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550374144001,"power":12428,"unknown_161":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8945204416268855296}} 
[2026-10-05 20:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":207984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:31:41] local.INFO: GPS data processed {"connection_id":207984,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:31:41] local.INFO: Acknowledgment sent {"connection_id":207984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:31:47] local.INFO: TCP Data received {"connection_id":207984,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a10c946c00012d7c178005db26880000015224..."} 
[2026-10-05 20:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c946c00012d7c178005db26880000015224..."} 
[2026-10-05 20:31:47] local.INFO: Processing buffer {"connection_id":207984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c946c00012d7c178005db26880000015224..."} 
[2026-10-05 20:31:47] local.INFO: Packet analysis {"connection_id":207984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c94"} 
[2026-10-05 20:31:47] local.INFO: Extracted packet for processing {"connection_id":207984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c94"} 
[2026-10-05 20:31:47] local.INFO: GPS Element Parsed {"raw_longitude":763107200,"raw_latitude":98248328,"longitude_deg":76.31072,"latitude_deg":9.8248328,"altitude":0,"angle":338,"satellites":36,"speed":24,"hex_longitude":"2d7c1780","hex_latitude":"05db2688","is_valid_coordinates":true} 
[2026-10-05 20:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550377472001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884464900669440,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942882247713386496,"note":"Value kept but may cause issues"} 
[2026-10-05 20:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791212416000,"timestamp_ms":1791212416000,"timestamp_seconds":1791212416,"priority":1,"record_length":96,"hex_timestamp":"000001a10c946c00"} 
[2026-10-05 20:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:31: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-10-05 20:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-05 20:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":207984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":207984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":207984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550377472001,"66":12319,"161":206,"85":15104,"24":24,"16":139884464900669440,"45":8942882247713386496},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 20:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550377472001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:31:47] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 20:31:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884464900669440,"km_value":139884464900669.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942882247713386496,"description":"Unknown IO ID 45"} 
[2026-10-05 20:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550377472001,"power":12319,"unknown_161":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8942882247713386496}} 
[2026-10-05 20:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":207984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969861,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:31:47] local.INFO: GPS data processed {"connection_id":207984,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:31:47] local.INFO: Acknowledgment sent {"connection_id":207984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:32:11] local.INFO: TCP Data received {"connection_id":204899,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:32:11] local.INFO: Processing buffer {"connection_id":204899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:32:11] local.INFO: IMEI packet received {"connection_id":204899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":204899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:32:12] local.INFO: TCP Data received {"connection_id":204899,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:32:12] local.INFO: Processing buffer {"connection_id":204899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:32:12] local.INFO: IMEI packet received {"connection_id":204899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":204899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:32:15] local.INFO: TCP Data received {"connection_id":204899,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:32:15] local.INFO: Processing buffer {"connection_id":204899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:32:15] local.INFO: IMEI packet received {"connection_id":204899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":204899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:32:21] local.INFO: TCP Data received {"connection_id":204899,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:32:21] local.INFO: Processing buffer {"connection_id":204899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:32:21] local.INFO: IMEI packet received {"connection_id":204899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":204899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:32:27] local.INFO: TCP Data received {"connection_id":204899,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c93e348012d196600071feee8004a015425..."} 
[2026-10-05 20:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c93e348012d196600071feee8004a015425..."} 
[2026-10-05 20:32:27] local.INFO: Processing buffer {"connection_id":204899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c93e348012d196600071feee8004a015425..."} 
[2026-10-05 20:32:27] local.INFO: Packet analysis {"connection_id":204899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c93"} 
[2026-10-05 20:32:27] local.INFO: Extracted packet for processing {"connection_id":204899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c93"} 
[2026-10-05 20:32:27] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550292480001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1791212381000,"timestamp_ms":1791212381000,"timestamp_seconds":1791212381,"priority":1,"record_length":96,"hex_timestamp":"000001a10c93e348"} 
[2026-10-05 20:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":204899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":204899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":204899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550292480001,"66":2177,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550292480001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:32:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:32:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550292480001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":204899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:32:27] local.INFO: GPS data processed {"connection_id":204899,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:32:27] local.INFO: Acknowledgment sent {"connection_id":204899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:32:30] local.INFO: TCP Data received {"connection_id":204900,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:32:30] local.INFO: Processing buffer {"connection_id":204900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:32:30] local.INFO: IMEI packet received {"connection_id":204900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":204900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:32:35] local.INFO: TCP Data received {"connection_id":204900,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:32:35] local.INFO: Processing buffer {"connection_id":204900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:32:35] local.INFO: IMEI packet received {"connection_id":204900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":204900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:32:36] local.INFO: TCP Data received {"connection_id":204900,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10c948b40012d7c130005db2e100000015322..."} 
[2026-10-05 20:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c948b40012d7c130005db2e100000015322..."} 
[2026-10-05 20:32:36] local.INFO: Processing buffer {"connection_id":204900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c948b40012d7c130005db2e100000015322..."} 
[2026-10-05 20:32:36] local.INFO: Packet analysis {"connection_id":204900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c94"} 
[2026-10-05 20:32:36] local.INFO: Extracted packet for processing {"connection_id":204900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c94"} 
[2026-10-05 20:32:36] local.INFO: GPS Element Parsed {"raw_longitude":763106048,"raw_latitude":98250256,"longitude_deg":76.3106048,"latitude_deg":9.8250256,"altitude":0,"angle":339,"satellites":34,"speed":0,"hex_longitude":"2d7c1300","hex_latitude":"05db2e10","is_valid_coordinates":true} 
[2026-10-05 20:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550378496001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941756347807336448,"note":"Value kept but may cause issues"} 
[2026-10-05 20:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791212424000,"timestamp_ms":1791212424000,"timestamp_seconds":1791212424,"priority":1,"record_length":96,"hex_timestamp":"000001a10c948b40"} 
[2026-10-05 20:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-10-05 20:32:36] 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-10-05 20:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550378496001,"66":12461,"161":206,"85":15104,"24":0,"16":139884572274851840,"45":8941756347807336448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 20:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550378496001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:32:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 20:32:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941756347807336448,"description":"Unknown IO ID 45"} 
[2026-10-05 20:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550378496001,"power":12461,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8941756347807336448}} 
[2026-10-05 20:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":204900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:32:37] local.INFO: GPS data processed {"connection_id":204900,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:32:37] local.INFO: Acknowledgment sent {"connection_id":204900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:33:04] local.INFO: TCP Data received {"connection_id":206415,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:33:04] local.INFO: Processing buffer {"connection_id":206415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:33:04] local.INFO: IMEI packet received {"connection_id":206415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":206415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:33:08] local.INFO: TCP Data received {"connection_id":204900,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10c948b40012d7c130005db2e100000015322..."} 
[2026-10-05 20:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c948b40012d7c130005db2e100000015322..."} 
[2026-10-05 20:33:08] local.INFO: Processing buffer {"connection_id":204900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c948b40012d7c130005db2e100000015322..."} 
[2026-10-05 20:33:08] local.INFO: Packet analysis {"connection_id":204900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c94"} 
[2026-10-05 20:33:08] local.INFO: Extracted packet for processing {"connection_id":204900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c94"} 
[2026-10-05 20:33:08] local.INFO: GPS Element Parsed {"raw_longitude":763106048,"raw_latitude":98250256,"longitude_deg":76.3106048,"latitude_deg":9.8250256,"altitude":0,"angle":339,"satellites":34,"speed":0,"hex_longitude":"2d7c1300","hex_latitude":"05db2e10","is_valid_coordinates":true} 
[2026-10-05 20:33:08] 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-10-05 20:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550380544001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940489710412632064,"note":"Value kept but may cause issues"} 
[2026-10-05 20:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791212424000,"timestamp_ms":1791212424000,"timestamp_seconds":1791212424,"priority":1,"record_length":96,"hex_timestamp":"000001a10c948b40"} 
[2026-10-05 20:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:33: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-10-05 20: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":173,"data_length":795,"current_offset":136} 
[2026-10-05 20:33: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-10-05 20: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-10-05 20:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550380544001,"66":12461,"161":206,"85":15104,"24":0,"16":139884572274851840,"45":8940489710412632064},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 20:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550380544001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:33:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 20:33:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940489710412632064,"description":"Unknown IO ID 45"} 
[2026-10-05 20:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550380544001,"power":12461,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8940489710412632064}} 
[2026-10-05 20:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":204900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:33:08] local.INFO: GPS data processed {"connection_id":204900,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:33:08] local.INFO: Acknowledgment sent {"connection_id":204900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:33:09] local.INFO: TCP Data received {"connection_id":206415,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:33:09] local.INFO: Processing buffer {"connection_id":206415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:33:09] local.INFO: IMEI packet received {"connection_id":206415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":206415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:33:11] local.INFO: TCP Data received {"connection_id":206415,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c93e348012d196600071feee8004a015425..."} 
[2026-10-05 20:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c93e348012d196600071feee8004a015425..."} 
[2026-10-05 20:33:11] local.INFO: Processing buffer {"connection_id":206415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c93e348012d196600071feee8004a015425..."} 
[2026-10-05 20:33:11] local.INFO: Packet analysis {"connection_id":206415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c93"} 
[2026-10-05 20:33:11] local.INFO: Extracted packet for processing {"connection_id":206415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c93"} 
[2026-10-05 20:33:11] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550292480001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791212381000,"timestamp_ms":1791212381000,"timestamp_seconds":1791212381,"priority":1,"record_length":96,"hex_timestamp":"000001a10c93e348"} 
[2026-10-05 20:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550292480001,"66":2177,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550292480001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:33:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:33:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550292480001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":206415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:33:11] local.INFO: GPS data processed {"connection_id":206415,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:33:11] local.INFO: Acknowledgment sent {"connection_id":206415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:33:30] local.INFO: TCP Data received {"connection_id":205035,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:33:30] local.INFO: Processing buffer {"connection_id":205035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:33:30] local.INFO: IMEI packet received {"connection_id":205035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":205035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:33:35] local.INFO: TCP Data received {"connection_id":205035,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:33:35] local.INFO: Processing buffer {"connection_id":205035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:33:35] local.INFO: IMEI packet received {"connection_id":205035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":205035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:33:37] local.INFO: TCP Data received {"connection_id":205035,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10c948b40012d7c130005db2e100000015322..."} 
[2026-10-05 20:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c948b40012d7c130005db2e100000015322..."} 
[2026-10-05 20:33:37] local.INFO: Processing buffer {"connection_id":205035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c948b40012d7c130005db2e100000015322..."} 
[2026-10-05 20:33:37] local.INFO: Packet analysis {"connection_id":205035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c94"} 
[2026-10-05 20:33:37] local.INFO: Extracted packet for processing {"connection_id":205035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c94"} 
[2026-10-05 20:33:37] local.INFO: GPS Element Parsed {"raw_longitude":763106048,"raw_latitude":98250256,"longitude_deg":76.3106048,"latitude_deg":9.8250256,"altitude":0,"angle":339,"satellites":34,"speed":0,"hex_longitude":"2d7c1300","hex_latitude":"05db2e10","is_valid_coordinates":true} 
[2026-10-05 20:33:37] 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-10-05 20:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550380544001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940489710412632064,"note":"Value kept but may cause issues"} 
[2026-10-05 20:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791212424000,"timestamp_ms":1791212424000,"timestamp_seconds":1791212424,"priority":1,"record_length":96,"hex_timestamp":"000001a10c948b40"} 
[2026-10-05 20:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 20:33:37] 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-10-05 20:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550380544001,"66":12461,"161":206,"85":15104,"24":0,"16":139884572274851840,"45":8940489710412632064},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 20:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550380544001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:33:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 20:33:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940489710412632064,"description":"Unknown IO ID 45"} 
[2026-10-05 20:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550380544001,"power":12461,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8940489710412632064}} 
[2026-10-05 20:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":205035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:33:37] local.INFO: GPS data processed {"connection_id":205035,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:33:37] local.INFO: Acknowledgment sent {"connection_id":205035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:33:49] local.INFO: TCP Data received {"connection_id":207986,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207986,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:33:49] local.INFO: Processing buffer {"connection_id":207986,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:33:49] local.INFO: IMEI packet received {"connection_id":207986,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 20:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":207986,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:33:59] local.INFO: TCP Data received {"connection_id":206415,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c93e348012d196600071feee8004a015425..."} 
[2026-10-05 20:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c93e348012d196600071feee8004a015425..."} 
[2026-10-05 20:33:59] local.INFO: Processing buffer {"connection_id":206415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c93e348012d196600071feee8004a015425..."} 
[2026-10-05 20:33:59] local.INFO: Packet analysis {"connection_id":206415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c93"} 
[2026-10-05 20:33:59] local.INFO: Extracted packet for processing {"connection_id":206415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c93"} 
[2026-10-05 20:33:59] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 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-10-05 20:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550292480001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:33: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-10-05 20:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791212381000,"timestamp_ms":1791212381000,"timestamp_seconds":1791212381,"priority":1,"record_length":96,"hex_timestamp":"000001a10c93e348"} 
[2026-10-05 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-10-05 20:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:33: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-10-05 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-10-05 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-10-05 20:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":206415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":206415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":206415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550292480001,"66":2177,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550292480001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:33:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:33:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550292480001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":206415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:33:59] local.INFO: GPS data processed {"connection_id":206415,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:33:59] local.INFO: Acknowledgment sent {"connection_id":206415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:34:04] local.INFO: TCP Data received {"connection_id":206416,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:34:04] local.INFO: Processing buffer {"connection_id":206416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:34:04] local.INFO: IMEI packet received {"connection_id":206416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":206416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:34:08] local.INFO: TCP Data received {"connection_id":205035,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10c948b40012d7c130005db2e100000015322..."} 
[2026-10-05 20:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c948b40012d7c130005db2e100000015322..."} 
[2026-10-05 20:34:08] local.INFO: Processing buffer {"connection_id":205035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c948b40012d7c130005db2e100000015322..."} 
[2026-10-05 20:34:08] local.INFO: Packet analysis {"connection_id":205035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c94"} 
[2026-10-05 20:34:08] local.INFO: Extracted packet for processing {"connection_id":205035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c94"} 
[2026-10-05 20:34:08] local.INFO: GPS Element Parsed {"raw_longitude":763106048,"raw_latitude":98250256,"longitude_deg":76.3106048,"latitude_deg":9.8250256,"altitude":0,"angle":339,"satellites":34,"speed":0,"hex_longitude":"2d7c1300","hex_latitude":"05db2e10","is_valid_coordinates":true} 
[2026-10-05 20:34:08] 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-10-05 20:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550380544001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940489710412632064,"note":"Value kept but may cause issues"} 
[2026-10-05 20:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791212424000,"timestamp_ms":1791212424000,"timestamp_seconds":1791212424,"priority":1,"record_length":96,"hex_timestamp":"000001a10c948b40"} 
[2026-10-05 20:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:34: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-10-05 20: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 20:34: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-10-05 20: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-10-05 20:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550380544001,"66":12461,"161":206,"85":15104,"24":0,"16":139884572274851840,"45":8940489710412632064},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 20:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550380544001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:34:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 20:34:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940489710412632064,"description":"Unknown IO ID 45"} 
[2026-10-05 20:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550380544001,"power":12461,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8940489710412632064}} 
[2026-10-05 20:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":205035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969868,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:34:08] local.INFO: GPS data processed {"connection_id":205035,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:34:08] local.INFO: Acknowledgment sent {"connection_id":205035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:34:10] local.INFO: TCP Data received {"connection_id":206416,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:34:10] local.INFO: Processing buffer {"connection_id":206416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:34:10] local.INFO: IMEI packet received {"connection_id":206416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":206416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:34:12] local.INFO: TCP Data received {"connection_id":206416,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c93e348012d196600071feee8004a015425..."} 
[2026-10-05 20:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c93e348012d196600071feee8004a015425..."} 
[2026-10-05 20:34:12] local.INFO: Processing buffer {"connection_id":206416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c93e348012d196600071feee8004a015425..."} 
[2026-10-05 20:34:12] local.INFO: Packet analysis {"connection_id":206416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c93"} 
[2026-10-05 20:34:12] local.INFO: Extracted packet for processing {"connection_id":206416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c93"} 
[2026-10-05 20:34:12] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550292480001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791212381000,"timestamp_ms":1791212381000,"timestamp_seconds":1791212381,"priority":1,"record_length":96,"hex_timestamp":"000001a10c93e348"} 
[2026-10-05 20:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":206416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":206416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":206416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550292480001,"66":2177,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550292480001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:34:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:34:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550292480001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":206416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:34:12] local.INFO: GPS data processed {"connection_id":206416,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:34:12] local.INFO: Acknowledgment sent {"connection_id":206416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:34:30] local.INFO: TCP Data received {"connection_id":207987,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207987,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:34:30] local.INFO: Processing buffer {"connection_id":207987,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:34:30] local.INFO: IMEI packet received {"connection_id":207987,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":207987,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:34:34] local.INFO: TCP Data received {"connection_id":207988,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:34:34] local.INFO: Processing buffer {"connection_id":207988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:34:34] local.INFO: IMEI packet received {"connection_id":207988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 20:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":207988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:34:35] local.INFO: TCP Data received {"connection_id":207987,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207987,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:34:35] local.INFO: Processing buffer {"connection_id":207987,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:34:35] local.INFO: IMEI packet received {"connection_id":207987,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":207987,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:34:36] local.INFO: TCP Data received {"connection_id":207987,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10c948b40012d7c130005db2e100000015322..."} 
[2026-10-05 20:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c948b40012d7c130005db2e100000015322..."} 
[2026-10-05 20:34:36] local.INFO: Processing buffer {"connection_id":207987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c948b40012d7c130005db2e100000015322..."} 
[2026-10-05 20:34:36] local.INFO: Packet analysis {"connection_id":207987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c94"} 
[2026-10-05 20:34:36] local.INFO: Extracted packet for processing {"connection_id":207987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c94"} 
[2026-10-05 20:34:36] local.INFO: GPS Element Parsed {"raw_longitude":763106048,"raw_latitude":98250256,"longitude_deg":76.3106048,"latitude_deg":9.8250256,"altitude":0,"angle":339,"satellites":34,"speed":0,"hex_longitude":"2d7c1300","hex_latitude":"05db2e10","is_valid_coordinates":true} 
[2026-10-05 20:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550380544001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940489710412632064,"note":"Value kept but may cause issues"} 
[2026-10-05 20:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791212424000,"timestamp_ms":1791212424000,"timestamp_seconds":1791212424,"priority":1,"record_length":96,"hex_timestamp":"000001a10c948b40"} 
[2026-10-05 20:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 20:34:36] 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-10-05 20:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550380544001,"66":12461,"161":206,"85":15104,"24":0,"16":139884572274851840,"45":8940489710412632064},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 20:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550380544001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:34:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 20:34:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940489710412632064,"description":"Unknown IO ID 45"} 
[2026-10-05 20:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550380544001,"power":12461,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8940489710412632064}} 
[2026-10-05 20:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":207987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969870,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:34:36] local.INFO: GPS data processed {"connection_id":207987,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:34:36] local.INFO: Acknowledgment sent {"connection_id":207987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:34:44] local.INFO: TCP Data received {"connection_id":206416,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c93e348012d196600071feee8004a015425..."} 
[2026-10-05 20:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c93e348012d196600071feee8004a015425..."} 
[2026-10-05 20:34:44] local.INFO: Processing buffer {"connection_id":206416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c93e348012d196600071feee8004a015425..."} 
[2026-10-05 20:34:44] local.INFO: Packet analysis {"connection_id":206416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c93"} 
[2026-10-05 20:34:44] local.INFO: Extracted packet for processing {"connection_id":206416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c93"} 
[2026-10-05 20:34:44] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550292480001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791212381000,"timestamp_ms":1791212381000,"timestamp_seconds":1791212381,"priority":1,"record_length":96,"hex_timestamp":"000001a10c93e348"} 
[2026-10-05 20:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:34:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":206416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":206416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":206416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550292480001,"66":2177,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550292480001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:34:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:34:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550292480001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":206416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:34:44] local.INFO: GPS data processed {"connection_id":206416,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:34:44] local.INFO: Acknowledgment sent {"connection_id":206416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:35:07] local.INFO: TCP Data received {"connection_id":207987,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10c948b40012d7c130005db2e100000015322..."} 
[2026-10-05 20:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c948b40012d7c130005db2e100000015322..."} 
[2026-10-05 20:35:07] local.INFO: Processing buffer {"connection_id":207987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c948b40012d7c130005db2e100000015322..."} 
[2026-10-05 20:35:07] local.INFO: Packet analysis {"connection_id":207987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c94"} 
[2026-10-05 20:35:07] local.INFO: Extracted packet for processing {"connection_id":207987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c94"} 
[2026-10-05 20:35:07] local.INFO: GPS Element Parsed {"raw_longitude":763106048,"raw_latitude":98250256,"longitude_deg":76.3106048,"latitude_deg":9.8250256,"altitude":0,"angle":339,"satellites":34,"speed":0,"hex_longitude":"2d7c1300","hex_latitude":"05db2e10","is_valid_coordinates":true} 
[2026-10-05 20:35:07] 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-10-05 20:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550380544001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940489710412632064,"note":"Value kept but may cause issues"} 
[2026-10-05 20:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791212424000,"timestamp_ms":1791212424000,"timestamp_seconds":1791212424,"priority":1,"record_length":96,"hex_timestamp":"000001a10c948b40"} 
[2026-10-05 20:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 20:35: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-10-05 20:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":207987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":207987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":207987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550380544001,"66":12461,"161":206,"85":15104,"24":0,"16":139884572274851840,"45":8940489710412632064},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 20:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550380544001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:35:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 20:35:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940489710412632064,"description":"Unknown IO ID 45"} 
[2026-10-05 20:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550380544001,"power":12461,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8940489710412632064}} 
[2026-10-05 20:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":207987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:35:07] local.INFO: GPS data processed {"connection_id":207987,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:35:07] local.INFO: Acknowledgment sent {"connection_id":207987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:35:10] local.INFO: TCP Data received {"connection_id":204901,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:35:10] local.INFO: Processing buffer {"connection_id":204901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:35:10] local.INFO: IMEI packet received {"connection_id":204901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":204901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:35:15] local.INFO: TCP Data received {"connection_id":204901,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:35:15] local.INFO: Processing buffer {"connection_id":204901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:35:15] local.INFO: IMEI packet received {"connection_id":204901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":204901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:35:20] local.INFO: TCP Data received {"connection_id":204901,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:35:20] local.INFO: Processing buffer {"connection_id":204901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:35:20] local.INFO: IMEI packet received {"connection_id":204901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":204901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:35:21] local.INFO: TCP Data received {"connection_id":204901,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c93e348012d196600071feee8004a015425..."} 
[2026-10-05 20:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c93e348012d196600071feee8004a015425..."} 
[2026-10-05 20:35:21] local.INFO: Processing buffer {"connection_id":204901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c93e348012d196600071feee8004a015425..."} 
[2026-10-05 20:35:21] local.INFO: Packet analysis {"connection_id":204901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c93"} 
[2026-10-05 20:35:21] local.INFO: Extracted packet for processing {"connection_id":204901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c93"} 
[2026-10-05 20:35:21] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550292480001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791212381000,"timestamp_ms":1791212381000,"timestamp_seconds":1791212381,"priority":1,"record_length":96,"hex_timestamp":"000001a10c93e348"} 
[2026-10-05 20:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":204901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":204901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":204901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550292480001,"66":2177,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550292480001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:35:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:35:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550292480001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":204901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:35:21] local.INFO: GPS data processed {"connection_id":204901,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:35:21] local.INFO: Acknowledgment sent {"connection_id":204901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:35:24] local.INFO: TCP Data received {"connection_id":204901,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c987b10012d196600071feee8004a015426..."} 
[2026-10-05 20:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c987b10012d196600071feee8004a015426..."} 
[2026-10-05 20:35:24] local.INFO: Processing buffer {"connection_id":204901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c987b10012d196600071feee8004a015426..."} 
[2026-10-05 20:35:24] local.INFO: Packet analysis {"connection_id":204901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c98"} 
[2026-10-05 20:35:24] local.INFO: Extracted packet for processing {"connection_id":204901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c98"} 
[2026-10-05 20:35:24] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 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-10-05 20:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550369536001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1791212682000,"timestamp_ms":1791212682000,"timestamp_seconds":1791212682,"priority":1,"record_length":96,"hex_timestamp":"000001a10c987b10"} 
[2026-10-05 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-10-05 20:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 20:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 20:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":204901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":204901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":204901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550369536001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550369536001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:35:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:35:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550369536001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":204901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:35:24] local.INFO: GPS data processed {"connection_id":204901,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:35:24] local.INFO: Acknowledgment sent {"connection_id":204901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:35:30] local.INFO: TCP Data received {"connection_id":207991,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:35:30] local.INFO: Processing buffer {"connection_id":207991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:35:30] local.INFO: IMEI packet received {"connection_id":207991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":207991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:35:31] local.INFO: TCP Data received {"connection_id":207991,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:35:31] local.INFO: Processing buffer {"connection_id":207991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:35:31] local.INFO: IMEI packet received {"connection_id":207991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":207991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:35:34] local.INFO: TCP Data received {"connection_id":207989,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:35:34] local.INFO: Processing buffer {"connection_id":207989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:35:34] local.INFO: IMEI packet received {"connection_id":207989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":207989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:35:35] local.INFO: TCP Data received {"connection_id":207991,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:35:35] local.INFO: Processing buffer {"connection_id":207991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:35:35] local.INFO: IMEI packet received {"connection_id":207991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":207991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:35:37] local.INFO: TCP Data received {"connection_id":207991,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:35:37] local.INFO: Processing buffer {"connection_id":207991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:35:37] local.INFO: Packet analysis {"connection_id":207991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c99"} 
[2026-10-05 20:35:37] local.INFO: Extracted packet for processing {"connection_id":207991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c99"} 
[2026-10-05 20:35:37] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":35,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550380544001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940489710412632064,"note":"Value kept but may cause issues"} 
[2026-10-05 20:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791212729000,"timestamp_ms":1791212729000,"timestamp_seconds":1791212729,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9932a8"} 
[2026-10-05 20:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 20:35:37] 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-10-05 20:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550380544001,"66":13189,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8940489710412632064},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550380544001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:35:37] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:35:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940489710412632064,"description":"Unknown IO ID 45"} 
[2026-10-05 20:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550380544001,"power":13189,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8940489710412632064}} 
[2026-10-05 20:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":207991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969875,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:35:37] local.INFO: GPS data processed {"connection_id":207991,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:35:37] local.INFO: Acknowledgment sent {"connection_id":207991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:36:04] local.INFO: TCP Data received {"connection_id":204902,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:36:04] local.INFO: Processing buffer {"connection_id":204902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:36:04] local.INFO: IMEI packet received {"connection_id":204902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":204902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:36:08] local.INFO: TCP Data received {"connection_id":207991,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:36:08] local.INFO: Processing buffer {"connection_id":207991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:36:08] local.INFO: Packet analysis {"connection_id":207991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c99"} 
[2026-10-05 20:36:08] local.INFO: Extracted packet for processing {"connection_id":207991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c99"} 
[2026-10-05 20:36:08] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":35,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550380544001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940489710412632064,"note":"Value kept but may cause issues"} 
[2026-10-05 20:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791212729000,"timestamp_ms":1791212729000,"timestamp_seconds":1791212729,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9932a8"} 
[2026-10-05 20:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:36: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-10-05 20:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 20:36: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-10-05 20:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550380544001,"66":13189,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8940489710412632064},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550380544001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:36:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:36:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940489710412632064,"description":"Unknown IO ID 45"} 
[2026-10-05 20:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550380544001,"power":13189,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8940489710412632064}} 
[2026-10-05 20:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":207991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969876,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:36:08] local.INFO: GPS data processed {"connection_id":207991,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:36:08] local.INFO: Acknowledgment sent {"connection_id":207991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:36:10] local.INFO: TCP Data received {"connection_id":204902,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:36:10] local.INFO: Processing buffer {"connection_id":204902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:36:10] local.INFO: IMEI packet received {"connection_id":204902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":204902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:36:13] local.INFO: TCP Data received {"connection_id":204902,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c987b10012d196600071feee8004a015426..."} 
[2026-10-05 20:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c987b10012d196600071feee8004a015426..."} 
[2026-10-05 20:36:13] local.INFO: Processing buffer {"connection_id":204902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c987b10012d196600071feee8004a015426..."} 
[2026-10-05 20:36:13] local.INFO: Packet analysis {"connection_id":204902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c98"} 
[2026-10-05 20:36:13] local.INFO: Extracted packet for processing {"connection_id":204902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c98"} 
[2026-10-05 20:36:13] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550369536001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791212682000,"timestamp_ms":1791212682000,"timestamp_seconds":1791212682,"priority":1,"record_length":96,"hex_timestamp":"000001a10c987b10"} 
[2026-10-05 20:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:36:13] 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-10-05 20:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 20:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":204902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":204902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":204902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550369536001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550369536001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:36:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:36:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550369536001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":204902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:36:13] local.INFO: GPS data processed {"connection_id":204902,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:36:13] local.INFO: Acknowledgment sent {"connection_id":204902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:36:35] local.INFO: TCP Data received {"connection_id":205037,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:36:35] local.INFO: Processing buffer {"connection_id":205037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:36:35] local.INFO: IMEI packet received {"connection_id":205037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":205037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:36:40] local.INFO: TCP Data received {"connection_id":205037,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:36:40] local.INFO: Processing buffer {"connection_id":205037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:36:40] local.INFO: IMEI packet received {"connection_id":205037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":205037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:36:42] local.INFO: TCP Data received {"connection_id":205037,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:36:42] local.INFO: Processing buffer {"connection_id":205037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:36:42] local.INFO: Packet analysis {"connection_id":205037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c99"} 
[2026-10-05 20:36:42] local.INFO: Extracted packet for processing {"connection_id":205037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c99"} 
[2026-10-05 20:36:42] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":35,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550380544001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940489710412632064,"note":"Value kept but may cause issues"} 
[2026-10-05 20:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791212729000,"timestamp_ms":1791212729000,"timestamp_seconds":1791212729,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9932a8"} 
[2026-10-05 20:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 20:36:42] 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-10-05 20:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":205037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":205037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":205037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550380544001,"66":13189,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8940489710412632064},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550380544001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:36:42] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:36:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940489710412632064,"description":"Unknown IO ID 45"} 
[2026-10-05 20:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550380544001,"power":13189,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8940489710412632064}} 
[2026-10-05 20:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":205037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:36:42] local.INFO: GPS data processed {"connection_id":205037,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:36:42] local.INFO: Acknowledgment sent {"connection_id":205037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:36:45] local.INFO: TCP Data received {"connection_id":204902,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c987b10012d196600071feee8004a015426..."} 
[2026-10-05 20:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c987b10012d196600071feee8004a015426..."} 
[2026-10-05 20:36:45] local.INFO: Processing buffer {"connection_id":204902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c987b10012d196600071feee8004a015426..."} 
[2026-10-05 20:36:45] local.INFO: Packet analysis {"connection_id":204902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c98"} 
[2026-10-05 20:36:45] local.INFO: Extracted packet for processing {"connection_id":204902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c98"} 
[2026-10-05 20:36:45] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550369536001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791212682000,"timestamp_ms":1791212682000,"timestamp_seconds":1791212682,"priority":1,"record_length":96,"hex_timestamp":"000001a10c987b10"} 
[2026-10-05 20:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 20:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":204902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":204902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":204902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550369536001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550369536001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:36:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:36:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550369536001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":204902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:36:45] local.INFO: GPS data processed {"connection_id":204902,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:36:45] local.INFO: Acknowledgment sent {"connection_id":204902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:36:46] local.INFO: TCP Data received {"connection_id":205037,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:36:46] local.INFO: Processing buffer {"connection_id":205037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:36:46] local.INFO: Packet analysis {"connection_id":205037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c99"} 
[2026-10-05 20:36:46] local.INFO: Extracted packet for processing {"connection_id":205037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c99"} 
[2026-10-05 20:36:46] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":35,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550380544001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940489710412632064,"note":"Value kept but may cause issues"} 
[2026-10-05 20:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791212729000,"timestamp_ms":1791212729000,"timestamp_seconds":1791212729,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9932a8"} 
[2026-10-05 20:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 20:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":205037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":205037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":205037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550380544001,"66":13189,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8940489710412632064},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550380544001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:36:46] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:36:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940489710412632064,"description":"Unknown IO ID 45"} 
[2026-10-05 20:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550380544001,"power":13189,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8940489710412632064}} 
[2026-10-05 20:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":205037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969880,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:36:46] local.INFO: GPS data processed {"connection_id":205037,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:36:46] local.INFO: Acknowledgment sent {"connection_id":205037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:36:59] local.INFO: TCP Data received {"connection_id":205039,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:36:59] local.INFO: Processing buffer {"connection_id":205039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:36:59] local.INFO: IMEI packet received {"connection_id":205039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":205039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:37:04] local.INFO: TCP Data received {"connection_id":205039,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:37:04] local.INFO: Processing buffer {"connection_id":205039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:37:04] local.INFO: IMEI packet received {"connection_id":205039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":205039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:37:12] local.INFO: TCP Data received {"connection_id":207992,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:37:12] local.INFO: Processing buffer {"connection_id":207992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:37:12] local.INFO: IMEI packet received {"connection_id":207992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":207992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:37:14] local.INFO: TCP Data received {"connection_id":207992,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:37:14] local.INFO: Processing buffer {"connection_id":207992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:37:14] local.INFO: IMEI packet received {"connection_id":207992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":207992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:37:16] local.INFO: TCP Data received {"connection_id":207992,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c987b10012d196600071feee8004a015426..."} 
[2026-10-05 20:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c987b10012d196600071feee8004a015426..."} 
[2026-10-05 20:37:16] local.INFO: Processing buffer {"connection_id":207992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c987b10012d196600071feee8004a015426..."} 
[2026-10-05 20:37:16] local.INFO: Packet analysis {"connection_id":207992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c98"} 
[2026-10-05 20:37:16] local.INFO: Extracted packet for processing {"connection_id":207992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c98"} 
[2026-10-05 20:37:16] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550369536001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791212682000,"timestamp_ms":1791212682000,"timestamp_seconds":1791212682,"priority":1,"record_length":96,"hex_timestamp":"000001a10c987b10"} 
[2026-10-05 20:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:37:16] 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-10-05 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 20:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":207992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":207992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":207992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550369536001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550369536001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:37:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:37:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550369536001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":207992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:37:16] local.INFO: GPS data processed {"connection_id":207992,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:37:16] local.INFO: Acknowledgment sent {"connection_id":207992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:37:17] local.INFO: TCP Data received {"connection_id":205039,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:37:17] local.INFO: Processing buffer {"connection_id":205039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:37:17] local.INFO: IMEI packet received {"connection_id":205039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":205039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:37:27] local.INFO: TCP Data received {"connection_id":207992,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c987b10012d196600071feee8004a015426..."} 
[2026-10-05 20:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c987b10012d196600071feee8004a015426..."} 
[2026-10-05 20:37:27] local.INFO: Processing buffer {"connection_id":207992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c987b10012d196600071feee8004a015426..."} 
[2026-10-05 20:37:27] local.INFO: Packet analysis {"connection_id":207992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c98"} 
[2026-10-05 20:37:27] local.INFO: Extracted packet for processing {"connection_id":207992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c98"} 
[2026-10-05 20:37:27] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550369536001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1791212682000,"timestamp_ms":1791212682000,"timestamp_seconds":1791212682,"priority":1,"record_length":96,"hex_timestamp":"000001a10c987b10"} 
[2026-10-05 20:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:37:27] 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-10-05 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 20:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":207992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":207992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":207992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550369536001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550369536001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:37:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:37:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550369536001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":207992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:37:27] local.INFO: GPS data processed {"connection_id":207992,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:37:27] local.INFO: Acknowledgment sent {"connection_id":207992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:37:30] local.INFO: TCP Data received {"connection_id":204903,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:37:30] local.INFO: Processing buffer {"connection_id":204903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:37:30] local.INFO: IMEI packet received {"connection_id":204903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":204903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:37:35] local.INFO: TCP Data received {"connection_id":204903,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:37:35] local.INFO: Processing buffer {"connection_id":204903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:37:35] local.INFO: IMEI packet received {"connection_id":204903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":204903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:37:36] local.INFO: TCP Data received {"connection_id":204903,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:37:36] local.INFO: Processing buffer {"connection_id":204903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:37:36] local.INFO: Packet analysis {"connection_id":204903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c99"} 
[2026-10-05 20:37:36] local.INFO: Extracted packet for processing {"connection_id":204903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c99"} 
[2026-10-05 20:37:36] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":35,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550380544001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940489710412632064,"note":"Value kept but may cause issues"} 
[2026-10-05 20:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791212729000,"timestamp_ms":1791212729000,"timestamp_seconds":1791212729,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9932a8"} 
[2026-10-05 20:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 20:37:36] 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-10-05 20:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550380544001,"66":13189,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8940489710412632064},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550380544001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:37:36] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:37:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940489710412632064,"description":"Unknown IO ID 45"} 
[2026-10-05 20:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550380544001,"power":13189,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8940489710412632064}} 
[2026-10-05 20:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":204903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969883,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:37:36] local.INFO: GPS data processed {"connection_id":204903,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:37:36] local.INFO: Acknowledgment sent {"connection_id":204903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:38:04] local.INFO: TCP Data received {"connection_id":207993,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:38:04] local.INFO: Processing buffer {"connection_id":207993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:38:04] local.INFO: IMEI packet received {"connection_id":207993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":207993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:38:08] local.INFO: TCP Data received {"connection_id":204903,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:38:08] local.INFO: Processing buffer {"connection_id":204903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:38:08] local.INFO: Packet analysis {"connection_id":204903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c99"} 
[2026-10-05 20:38:08] local.INFO: Extracted packet for processing {"connection_id":204903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c99"} 
[2026-10-05 20:38:08] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":35,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550380544001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940489710412632064,"note":"Value kept but may cause issues"} 
[2026-10-05 20:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791212729000,"timestamp_ms":1791212729000,"timestamp_seconds":1791212729,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9932a8"} 
[2026-10-05 20:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:38: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-10-05 20: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":173,"data_length":795,"current_offset":136} 
[2026-10-05 20:38: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-10-05 20: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-10-05 20:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550380544001,"66":13189,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8940489710412632064},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550380544001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:38:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:38:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940489710412632064,"description":"Unknown IO ID 45"} 
[2026-10-05 20:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550380544001,"power":13189,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8940489710412632064}} 
[2026-10-05 20:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":204903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:38:08] local.INFO: GPS data processed {"connection_id":204903,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:38:08] local.INFO: Acknowledgment sent {"connection_id":204903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:38:10] local.INFO: TCP Data received {"connection_id":207993,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:38:10] local.INFO: Processing buffer {"connection_id":207993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:38:10] local.INFO: IMEI packet received {"connection_id":207993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":207993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:38:12] local.INFO: TCP Data received {"connection_id":207993,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c987b10012d196600071feee8004a015426..."} 
[2026-10-05 20:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c987b10012d196600071feee8004a015426..."} 
[2026-10-05 20:38:12] local.INFO: Processing buffer {"connection_id":207993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c987b10012d196600071feee8004a015426..."} 
[2026-10-05 20:38:12] local.INFO: Packet analysis {"connection_id":207993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c98"} 
[2026-10-05 20:38:12] local.INFO: Extracted packet for processing {"connection_id":207993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c98"} 
[2026-10-05 20:38:12] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550369536001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791212682000,"timestamp_ms":1791212682000,"timestamp_seconds":1791212682,"priority":1,"record_length":96,"hex_timestamp":"000001a10c987b10"} 
[2026-10-05 20:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:38:12] 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-10-05 20:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 20:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":207993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":207993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":207993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550369536001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550369536001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:38:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:38:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550369536001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":207993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:38:12] local.INFO: GPS data processed {"connection_id":207993,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:38:12] local.INFO: Acknowledgment sent {"connection_id":207993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:38:30] local.INFO: TCP Data received {"connection_id":205040,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:38:30] local.INFO: Processing buffer {"connection_id":205040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:38:30] local.INFO: IMEI packet received {"connection_id":205040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":205040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:38:35] local.INFO: TCP Data received {"connection_id":205040,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:38:35] local.INFO: Processing buffer {"connection_id":205040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:38:35] local.INFO: IMEI packet received {"connection_id":205040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":205040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:38:37] local.INFO: TCP Data received {"connection_id":205040,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:38:37] local.INFO: Processing buffer {"connection_id":205040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:38:37] local.INFO: Packet analysis {"connection_id":205040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c99"} 
[2026-10-05 20:38:37] local.INFO: Extracted packet for processing {"connection_id":205040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c99"} 
[2026-10-05 20:38:37] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":35,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550380544001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940489710412632064,"note":"Value kept but may cause issues"} 
[2026-10-05 20:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791212729000,"timestamp_ms":1791212729000,"timestamp_seconds":1791212729,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9932a8"} 
[2026-10-05 20:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 20:38:37] 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-10-05 20: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-10-05 20:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550380544001,"66":13189,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8940489710412632064},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550380544001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:38:37] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:38:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940489710412632064,"description":"Unknown IO ID 45"} 
[2026-10-05 20:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550380544001,"power":13189,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8940489710412632064}} 
[2026-10-05 20:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":205040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:38:37] local.INFO: GPS data processed {"connection_id":205040,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:38:37] local.INFO: Acknowledgment sent {"connection_id":205040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:38:48] local.INFO: TCP Data received {"connection_id":207993,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c987b10012d196600071feee8004a015426..."} 
[2026-10-05 20:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c987b10012d196600071feee8004a015426..."} 
[2026-10-05 20:38:48] local.INFO: Processing buffer {"connection_id":207993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c987b10012d196600071feee8004a015426..."} 
[2026-10-05 20:38:48] local.INFO: Packet analysis {"connection_id":207993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c98"} 
[2026-10-05 20:38:48] local.INFO: Extracted packet for processing {"connection_id":207993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c98"} 
[2026-10-05 20:38:48] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550369536001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791212682000,"timestamp_ms":1791212682000,"timestamp_seconds":1791212682,"priority":1,"record_length":96,"hex_timestamp":"000001a10c987b10"} 
[2026-10-05 20:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:38:48] 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-10-05 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 20:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":207993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":207993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":207993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550369536001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550369536001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:38:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:38:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550369536001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":207993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:38:48] local.INFO: GPS data processed {"connection_id":207993,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:38:48] local.INFO: Acknowledgment sent {"connection_id":207993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:39:08] local.INFO: TCP Data received {"connection_id":205040,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:39:08] local.INFO: Processing buffer {"connection_id":205040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:39:08] local.INFO: Packet analysis {"connection_id":205040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c99"} 
[2026-10-05 20:39:08] local.INFO: Extracted packet for processing {"connection_id":205040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c99"} 
[2026-10-05 20:39:08] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":35,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:39: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-10-05 20:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550380544001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940489710412632064,"note":"Value kept but may cause issues"} 
[2026-10-05 20:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791212729000,"timestamp_ms":1791212729000,"timestamp_seconds":1791212729,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9932a8"} 
[2026-10-05 20:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:39: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-10-05 20:39: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-10-05 20:39: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-10-05 20:39: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-10-05 20:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550380544001,"66":13189,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8940489710412632064},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550380544001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:39:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:39:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940489710412632064,"description":"Unknown IO ID 45"} 
[2026-10-05 20:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550380544001,"power":13189,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8940489710412632064}} 
[2026-10-05 20:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":205040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:39:08] local.INFO: GPS data processed {"connection_id":205040,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:39:08] local.INFO: Acknowledgment sent {"connection_id":205040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:39:19] local.INFO: TCP Data received {"connection_id":205041,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:39:19] local.INFO: Processing buffer {"connection_id":205041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:39:19] local.INFO: IMEI packet received {"connection_id":205041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":205041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:39:25] local.INFO: TCP Data received {"connection_id":205041,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:39:25] local.INFO: Processing buffer {"connection_id":205041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:39:25] local.INFO: IMEI packet received {"connection_id":205041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":205041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:39:27] local.INFO: TCP Data received {"connection_id":205041,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c987b10012d196600071feee8004a015426..."} 
[2026-10-05 20:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c987b10012d196600071feee8004a015426..."} 
[2026-10-05 20:39:27] local.INFO: Processing buffer {"connection_id":205041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c987b10012d196600071feee8004a015426..."} 
[2026-10-05 20:39:27] local.INFO: Packet analysis {"connection_id":205041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c98"} 
[2026-10-05 20:39:27] local.INFO: Extracted packet for processing {"connection_id":205041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c98"} 
[2026-10-05 20:39:27] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 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-10-05 20:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550369536001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1791212682000,"timestamp_ms":1791212682000,"timestamp_seconds":1791212682,"priority":1,"record_length":96,"hex_timestamp":"000001a10c987b10"} 
[2026-10-05 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-10-05 20:39:27] 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-10-05 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 20:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 20:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":205041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":205041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":205041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550369536001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550369536001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:39:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:39:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550369536001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":205041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:39:27] local.INFO: GPS data processed {"connection_id":205041,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:39:27] local.INFO: Acknowledgment sent {"connection_id":205041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:39:30] local.INFO: TCP Data received {"connection_id":206419,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206419,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:39:30] local.INFO: Processing buffer {"connection_id":206419,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:39:30] local.INFO: IMEI packet received {"connection_id":206419,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":206419,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:39:35] local.INFO: TCP Data received {"connection_id":206419,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206419,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:39:35] local.INFO: Processing buffer {"connection_id":206419,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:39:35] local.INFO: IMEI packet received {"connection_id":206419,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":206419,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:39:36] local.INFO: TCP Data received {"connection_id":206419,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:39:36] local.INFO: Processing buffer {"connection_id":206419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:39:36] local.INFO: Packet analysis {"connection_id":206419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c99"} 
[2026-10-05 20:39:36] local.INFO: Extracted packet for processing {"connection_id":206419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c99"} 
[2026-10-05 20:39:36] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":35,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550380544001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940489710412632064,"note":"Value kept but may cause issues"} 
[2026-10-05 20:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791212729000,"timestamp_ms":1791212729000,"timestamp_seconds":1791212729,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9932a8"} 
[2026-10-05 20:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 20:39:36] 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-10-05 20:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550380544001,"66":13189,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8940489710412632064},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550380544001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:39:36] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:39:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940489710412632064,"description":"Unknown IO ID 45"} 
[2026-10-05 20:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550380544001,"power":13189,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8940489710412632064}} 
[2026-10-05 20:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":206419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:39:36] local.INFO: GPS data processed {"connection_id":206419,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:39:36] local.INFO: Acknowledgment sent {"connection_id":206419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:39:43] local.INFO: TCP Data received {"connection_id":206420,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:39:43] local.INFO: Processing buffer {"connection_id":206420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:39:43] local.INFO: IMEI packet received {"connection_id":206420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 20:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":206420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:40:08] local.INFO: TCP Data received {"connection_id":206419,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:40:08] local.INFO: Processing buffer {"connection_id":206419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9932a8012d7c114005db2dc00000015323..."} 
[2026-10-05 20:40:08] local.INFO: Packet analysis {"connection_id":206419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c99"} 
[2026-10-05 20:40:08] local.INFO: Extracted packet for processing {"connection_id":206419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c99"} 
[2026-10-05 20:40:08] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":35,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550380544001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940489710412632064,"note":"Value kept but may cause issues"} 
[2026-10-05 20:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791212729000,"timestamp_ms":1791212729000,"timestamp_seconds":1791212729,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9932a8"} 
[2026-10-05 20:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:40: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-10-05 20: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 20:40: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-10-05 20: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-10-05 20:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550380544001,"66":13189,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8940489710412632064},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550380544001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:40:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:40:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940489710412632064,"description":"Unknown IO ID 45"} 
[2026-10-05 20:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550380544001,"power":13189,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8940489710412632064}} 
[2026-10-05 20:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":206419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969891,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:40:08] local.INFO: GPS data processed {"connection_id":206419,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:40:08] local.INFO: Acknowledgment sent {"connection_id":206419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:40:09] local.INFO: TCP Data received {"connection_id":204905,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:40:09] local.INFO: Processing buffer {"connection_id":204905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:40:09] local.INFO: IMEI packet received {"connection_id":204905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":204905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:40:18] local.INFO: TCP Data received {"connection_id":204905,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:40:18] local.INFO: Processing buffer {"connection_id":204905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:40:18] local.INFO: IMEI packet received {"connection_id":204905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":204905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:40:22] local.INFO: TCP Data received {"connection_id":204905,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c987b10012d196600071feee8004a015426..."} 
[2026-10-05 20:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c987b10012d196600071feee8004a015426..."} 
[2026-10-05 20:40:22] local.INFO: Processing buffer {"connection_id":204905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c987b10012d196600071feee8004a015426..."} 
[2026-10-05 20:40:22] local.INFO: Packet analysis {"connection_id":204905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c98"} 
[2026-10-05 20:40:22] local.INFO: Extracted packet for processing {"connection_id":204905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c98"} 
[2026-10-05 20:40:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":74,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550369536001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791212682000,"timestamp_ms":1791212682000,"timestamp_seconds":1791212682,"priority":1,"record_length":96,"hex_timestamp":"000001a10c987b10"} 
[2026-10-05 20:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:40:22] 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-10-05 20:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 20:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":204905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":204905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":204905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550369536001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550369536001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:40:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:40:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550369536001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":204905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:40:22] local.INFO: GPS data processed {"connection_id":204905,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:40:22] local.INFO: Acknowledgment sent {"connection_id":204905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:40:30] local.INFO: TCP Data received {"connection_id":204906,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:40:30] local.INFO: Processing buffer {"connection_id":204906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:40:30] local.INFO: IMEI packet received {"connection_id":204906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":204906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:40:31] local.INFO: TCP Data received {"connection_id":204906,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:40:31] local.INFO: Processing buffer {"connection_id":204906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:40:31] local.INFO: IMEI packet received {"connection_id":204906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":204906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:40:35] local.INFO: TCP Data received {"connection_id":204906,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:40:35] local.INFO: Processing buffer {"connection_id":204906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:40:35] local.INFO: IMEI packet received {"connection_id":204906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":204906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:40:37] local.INFO: TCP Data received {"connection_id":204906,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:40:37] local.INFO: Processing buffer {"connection_id":204906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:40:37] local.INFO: Packet analysis {"connection_id":204906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:40:37] local.INFO: Extracted packet for processing {"connection_id":204906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:40:37] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":1,"angle":339,"satellites":38,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550458624001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791213030000,"timestamp_ms":1791213030000,"timestamp_seconds":1791213030,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9dca70"} 
[2026-10-05 20:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 20:40:37] 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-10-05 20:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550458624001,"66":13059,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550458624001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:40:37] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:40:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550458624001,"power":13059,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":204906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:40:37] local.INFO: GPS data processed {"connection_id":204906,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:40:37] local.INFO: Acknowledgment sent {"connection_id":204906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:41:08] local.INFO: TCP Data received {"connection_id":204906,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:41:08] local.INFO: Processing buffer {"connection_id":204906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:41:08] local.INFO: Packet analysis {"connection_id":204906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:41:08] local.INFO: Extracted packet for processing {"connection_id":204906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:41:08] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":1,"angle":339,"satellites":38,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550458624001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791213030000,"timestamp_ms":1791213030000,"timestamp_seconds":1791213030,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9dca70"} 
[2026-10-05 20:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:41: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-10-05 20: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 20:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550458624001,"66":13059,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550458624001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:41:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:41:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550458624001,"power":13059,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":204906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:41:08] local.INFO: GPS data processed {"connection_id":204906,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:41:08] local.INFO: Acknowledgment sent {"connection_id":204906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:41:10] local.INFO: TCP Data received {"connection_id":206422,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:41:10] local.INFO: Processing buffer {"connection_id":206422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:41:10] local.INFO: IMEI packet received {"connection_id":206422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":206422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:41:15] local.INFO: TCP Data received {"connection_id":206422,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:41:15] local.INFO: Processing buffer {"connection_id":206422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:41:15] local.INFO: IMEI packet received {"connection_id":206422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":206422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:41:18] local.INFO: TCP Data received {"connection_id":206422,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9d12d8012d196600071feee80039015425..."} 
[2026-10-05 20:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9d12d8012d196600071feee80039015425..."} 
[2026-10-05 20:41:18] local.INFO: Processing buffer {"connection_id":206422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9d12d8012d196600071feee80039015425..."} 
[2026-10-05 20:41:18] local.INFO: Packet analysis {"connection_id":206422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:41:18] local.INFO: Extracted packet for processing {"connection_id":206422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:41:18] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550446592001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791212983000,"timestamp_ms":1791212983000,"timestamp_seconds":1791212983,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9d12d8"} 
[2026-10-05 20:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:41:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:41: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-10-05 20:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":206422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":206422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":206422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550446592001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550446592001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:41:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:41:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550446592001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":206422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:41:18] local.INFO: GPS data processed {"connection_id":206422,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:41:18] local.INFO: Acknowledgment sent {"connection_id":206422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:41:20] local.INFO: TCP Data received {"connection_id":206422,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9d12d8012d196600071feee80039015425..."} 
[2026-10-05 20:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9d12d8012d196600071feee80039015425..."} 
[2026-10-05 20:41:20] local.INFO: Processing buffer {"connection_id":206422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9d12d8012d196600071feee80039015425..."} 
[2026-10-05 20:41:20] local.INFO: Packet analysis {"connection_id":206422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:41:20] local.INFO: Extracted packet for processing {"connection_id":206422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:41:20] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550446592001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791212983000,"timestamp_ms":1791212983000,"timestamp_seconds":1791212983,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9d12d8"} 
[2026-10-05 20:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:41:20] 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-10-05 20:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":206422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":206422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":206422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550446592001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550446592001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:41:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:41:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550446592001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":206422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:41:20] local.INFO: GPS data processed {"connection_id":206422,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:41:20] local.INFO: Acknowledgment sent {"connection_id":206422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:41:30] local.INFO: TCP Data received {"connection_id":204908,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:41:30] local.INFO: Processing buffer {"connection_id":204908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:41:30] local.INFO: IMEI packet received {"connection_id":204908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":204908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:41:35] local.INFO: TCP Data received {"connection_id":204908,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:41:35] local.INFO: Processing buffer {"connection_id":204908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:41:35] local.INFO: IMEI packet received {"connection_id":204908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":204908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:41:36] local.INFO: TCP Data received {"connection_id":204908,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:41:36] local.INFO: Processing buffer {"connection_id":204908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:41:36] local.INFO: Packet analysis {"connection_id":204908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:41:36] local.INFO: Extracted packet for processing {"connection_id":204908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:41:36] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":1,"angle":339,"satellites":38,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550458624001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791213030000,"timestamp_ms":1791213030000,"timestamp_seconds":1791213030,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9dca70"} 
[2026-10-05 20:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 20:41:36] 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-10-05 20:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550458624001,"66":13059,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550458624001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:41:36] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:41:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550458624001,"power":13059,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":204908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969897,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:41:36] local.INFO: GPS data processed {"connection_id":204908,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:41:36] local.INFO: Acknowledgment sent {"connection_id":204908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:42:06] local.INFO: TCP Data received {"connection_id":205043,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:42:06] local.INFO: Processing buffer {"connection_id":205043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:42:06] local.INFO: IMEI packet received {"connection_id":205043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":205043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:42:08] local.INFO: TCP Data received {"connection_id":204908,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:42:08] local.INFO: Processing buffer {"connection_id":204908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:42:08] local.INFO: Packet analysis {"connection_id":204908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:42:08] local.INFO: Extracted packet for processing {"connection_id":204908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:42:08] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":1,"angle":339,"satellites":38,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550458624001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791213030000,"timestamp_ms":1791213030000,"timestamp_seconds":1791213030,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9dca70"} 
[2026-10-05 20:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:42: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-10-05 20:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 20:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550458624001,"66":13059,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550458624001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:42:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:42:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550458624001,"power":13059,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":204908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:42:08] local.INFO: GPS data processed {"connection_id":204908,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:42:08] local.INFO: Acknowledgment sent {"connection_id":204908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:42:10] local.INFO: TCP Data received {"connection_id":205043,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:42:10] local.INFO: Processing buffer {"connection_id":205043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:42:10] local.INFO: IMEI packet received {"connection_id":205043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":205043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:42:14] local.INFO: TCP Data received {"connection_id":204909,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:42:14] local.INFO: Processing buffer {"connection_id":204909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:42:14] local.INFO: IMEI packet received {"connection_id":204909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":204909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:42:15] local.INFO: TCP Data received {"connection_id":205043,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9d12d8012d196600071feee80039015425..."} 
[2026-10-05 20:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9d12d8012d196600071feee80039015425..."} 
[2026-10-05 20:42:15] local.INFO: Processing buffer {"connection_id":205043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9d12d8012d196600071feee80039015425..."} 
[2026-10-05 20:42:15] local.INFO: Packet analysis {"connection_id":205043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:42:15] local.INFO: Extracted packet for processing {"connection_id":205043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:42:15] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550446592001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791212983000,"timestamp_ms":1791212983000,"timestamp_seconds":1791212983,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9d12d8"} 
[2026-10-05 20:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":205043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":205043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":205043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550446592001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550446592001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:42:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:42:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550446592001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":205043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:42:15] local.INFO: GPS data processed {"connection_id":205043,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:42:15] local.INFO: Acknowledgment sent {"connection_id":205043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:42:30] local.INFO: TCP Data received {"connection_id":206424,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:42:30] local.INFO: Processing buffer {"connection_id":206424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:42:30] local.INFO: IMEI packet received {"connection_id":206424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":206424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:42:35] local.INFO: TCP Data received {"connection_id":206424,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:42:35] local.INFO: Processing buffer {"connection_id":206424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:42:35] local.INFO: IMEI packet received {"connection_id":206424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":206424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:42:36] local.INFO: TCP Data received {"connection_id":206424,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:42:36] local.INFO: Processing buffer {"connection_id":206424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:42:36] local.INFO: Packet analysis {"connection_id":206424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:42:36] local.INFO: Extracted packet for processing {"connection_id":206424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:42:36] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":1,"angle":339,"satellites":38,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550458624001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791213030000,"timestamp_ms":1791213030000,"timestamp_seconds":1791213030,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9dca70"} 
[2026-10-05 20:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 20:42:36] 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-10-05 20:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550458624001,"66":13059,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550458624001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:42:36] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:42:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550458624001,"power":13059,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":206424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969900,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:42:36] local.INFO: GPS data processed {"connection_id":206424,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:42:36] local.INFO: Acknowledgment sent {"connection_id":206424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:43:09] local.INFO: TCP Data received {"connection_id":206424,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:43:09] local.INFO: Processing buffer {"connection_id":206424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:43:09] local.INFO: Packet analysis {"connection_id":206424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:43:09] local.INFO: Extracted packet for processing {"connection_id":206424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:43:09] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":1,"angle":339,"satellites":38,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550458624001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791213030000,"timestamp_ms":1791213030000,"timestamp_seconds":1791213030,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9dca70"} 
[2026-10-05 20:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 20:43:09] 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-10-05 20: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-10-05 20:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":206424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":206424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":206424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550458624001,"66":13059,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550458624001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:43:09] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:43:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550458624001,"power":13059,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":206424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969901,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:43:09] local.INFO: GPS data processed {"connection_id":206424,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:43:09] local.INFO: Acknowledgment sent {"connection_id":206424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:43:14] local.INFO: TCP Data received {"connection_id":206425,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:43:14] local.INFO: Processing buffer {"connection_id":206425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:43:14] local.INFO: IMEI packet received {"connection_id":206425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":206425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:43:19] local.INFO: TCP Data received {"connection_id":206425,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:43:19] local.INFO: Processing buffer {"connection_id":206425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:43:19] local.INFO: IMEI packet received {"connection_id":206425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":206425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:43:19] local.INFO: TCP Data received {"connection_id":207994,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:43:19] local.INFO: Processing buffer {"connection_id":207994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:43:19] local.INFO: IMEI packet received {"connection_id":207994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":207994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:43:28] local.INFO: TCP Data received {"connection_id":206425,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8cc6f8012d77900005f30f70000d009f28..."} 
[2026-10-05 20:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8cc6f8012d77900005f30f70000d009f28..."} 
[2026-10-05 20:43:28] local.INFO: Processing buffer {"connection_id":206425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8cc6f8012d77900005f30f70000d009f28..."} 
[2026-10-05 20:43:28] local.INFO: Packet analysis {"connection_id":206425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c8c"} 
[2026-10-05 20:43:28] local.INFO: Extracted packet for processing {"connection_id":206425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c8c"} 
[2026-10-05 20:43:28] local.INFO: GPS Element Parsed {"raw_longitude":762810368,"raw_latitude":99815280,"longitude_deg":76.2810368,"latitude_deg":9.981528,"altitude":13,"angle":159,"satellites":40,"speed":8,"hex_longitude":"2d779000","hex_latitude":"05f30f70","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550249472001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2242741727657984,"note":"Value kept but may cause issues"} 
[2026-10-05 20:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8615386112712560640,"note":"Value kept but may cause issues"} 
[2026-10-05 20:43:28] 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-10-05 20:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1791211915000,"timestamp_ms":1791211915000,"timestamp_seconds":1791211915,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8cc6f8"} 
[2026-10-05 20:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:43: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-10-05 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-05 20:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":206425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":206425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":206425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:43:28] 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-10-05 20:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550249472001,"66":27397,"134":206,"87":13568,"24":8,"16":2242741727657984,"45":8615386112712560640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,87,24,16,45]} 
[2026-10-05 20:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550249472001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:43:28] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-10-05 20:43:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 20:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2242741727657984,"km_value":2242741727657.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8615386112712560640,"description":"Unknown IO ID 45"} 
[2026-10-05 20:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550249472001,"power":27397,"unknown_134":206,"unknown_87":13568,"ignition":8,"odometer":null,"unknown_45":8615386112712560640}} 
[2026-10-05 20:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":206425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:43:28] local.INFO: GPS data processed {"connection_id":206425,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:43:28] local.INFO: Acknowledgment sent {"connection_id":206425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:43:30] local.INFO: TCP Data received {"connection_id":207995,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:43:30] local.INFO: Processing buffer {"connection_id":207995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:43:30] local.INFO: IMEI packet received {"connection_id":207995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":207995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:43:35] local.INFO: TCP Data received {"connection_id":207995,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:43:35] local.INFO: Processing buffer {"connection_id":207995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:43:35] local.INFO: IMEI packet received {"connection_id":207995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":207995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:43:36] local.INFO: TCP Data received {"connection_id":207994,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:43:36] local.INFO: Processing buffer {"connection_id":207994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:43:36] local.INFO: IMEI packet received {"connection_id":207994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":207994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:43:36] local.INFO: TCP Data received {"connection_id":207995,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:43:36] local.INFO: Processing buffer {"connection_id":207995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:43:36] local.INFO: Packet analysis {"connection_id":207995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:43:36] local.INFO: Extracted packet for processing {"connection_id":207995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:43:36] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":1,"angle":339,"satellites":38,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550458624001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791213030000,"timestamp_ms":1791213030000,"timestamp_seconds":1791213030,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9dca70"} 
[2026-10-05 20:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 20:43:36] 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-10-05 20:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550458624001,"66":13059,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550458624001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:43:36] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:43:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550458624001,"power":13059,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":207995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969903,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:43:36] local.INFO: GPS data processed {"connection_id":207995,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:43:36] local.INFO: Acknowledgment sent {"connection_id":207995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:43:37] local.INFO: TCP Data received {"connection_id":207994,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9d12d8012d196600071feee80039015425..."} 
[2026-10-05 20:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9d12d8012d196600071feee80039015425..."} 
[2026-10-05 20:43:37] local.INFO: Processing buffer {"connection_id":207994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9d12d8012d196600071feee80039015425..."} 
[2026-10-05 20:43:37] local.INFO: Packet analysis {"connection_id":207994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:43:37] local.INFO: Extracted packet for processing {"connection_id":207994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:43:37] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550446592001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791212983000,"timestamp_ms":1791212983000,"timestamp_seconds":1791212983,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9d12d8"} 
[2026-10-05 20:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:43:37] 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-10-05 20:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":207994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":207994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":207994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550446592001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550446592001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:43:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:43:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550446592001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":207994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:43:38] local.INFO: GPS data processed {"connection_id":207994,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:43:38] local.INFO: Acknowledgment sent {"connection_id":207994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:43:54] local.INFO: TCP Data received {"connection_id":205045,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:43:54] local.INFO: Processing buffer {"connection_id":205045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:43:54] local.INFO: IMEI packet received {"connection_id":205045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":205045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:43:59] local.INFO: TCP Data received {"connection_id":205045,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:43:59] local.INFO: Processing buffer {"connection_id":205045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:43:59] local.INFO: IMEI packet received {"connection_id":205045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":205045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:44:08] local.INFO: TCP Data received {"connection_id":207995,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:44:08] local.INFO: Processing buffer {"connection_id":207995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:44:08] local.INFO: Packet analysis {"connection_id":207995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:44:08] local.INFO: Extracted packet for processing {"connection_id":207995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:44:08] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":1,"angle":339,"satellites":38,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550458624001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791213030000,"timestamp_ms":1791213030000,"timestamp_seconds":1791213030,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9dca70"} 
[2026-10-05 20:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 20:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550458624001,"66":13059,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550458624001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:44:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:44:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550458624001,"power":13059,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":207995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:44:08] local.INFO: GPS data processed {"connection_id":207995,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:44:08] local.INFO: Acknowledgment sent {"connection_id":207995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:44:09] local.INFO: TCP Data received {"connection_id":205045,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8cd698012d77914005f30ab0000d00aa29..."} 
[2026-10-05 20:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8cd698012d77914005f30ab0000d00aa29..."} 
[2026-10-05 20:44:09] local.INFO: Processing buffer {"connection_id":205045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8cd698012d77914005f30ab0000d00aa29..."} 
[2026-10-05 20:44:09] local.INFO: Packet analysis {"connection_id":205045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c8c"} 
[2026-10-05 20:44:09] local.INFO: Extracted packet for processing {"connection_id":205045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c8c"} 
[2026-10-05 20:44:09] local.INFO: GPS Element Parsed {"raw_longitude":762810688,"raw_latitude":99814064,"longitude_deg":76.2810688,"latitude_deg":9.9814064,"altitude":13,"angle":170,"satellites":41,"speed":14,"hex_longitude":"2d779140","hex_latitude":"05f30ab0","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550250240001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2242801857200128,"note":"Value kept but may cause issues"} 
[2026-10-05 20:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8615386112712470528,"note":"Value kept but may cause issues"} 
[2026-10-05 20:44: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-10-05 20:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791211919000,"timestamp_ms":1791211919000,"timestamp_seconds":1791211919,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8cd698"} 
[2026-10-05 20:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:44: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-10-05 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-05 20:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":205045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":205045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":205045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:44: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-10-05 20:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550250240001,"66":27321,"160":206,"87":13568,"24":14,"16":2242801857200128,"45":8615386112712470528},"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-10-05 20:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550250240001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:44:09] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:44:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 20:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2242801857200128,"km_value":2242801857200.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8615386112712470528,"description":"Unknown IO ID 45"} 
[2026-10-05 20:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550250240001,"power":27321,"unknown_160":206,"unknown_87":13568,"ignition":14,"odometer":null,"unknown_45":8615386112712470528}} 
[2026-10-05 20:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":205045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:44:09] local.INFO: GPS data processed {"connection_id":205045,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:44:09] local.INFO: Acknowledgment sent {"connection_id":205045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:44:15] local.INFO: TCP Data received {"connection_id":206426,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:44:15] local.INFO: Processing buffer {"connection_id":206426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:44:15] local.INFO: IMEI packet received {"connection_id":206426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":206426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:44:19] local.INFO: TCP Data received {"connection_id":206426,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:44:19] local.INFO: Processing buffer {"connection_id":206426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:44:19] local.INFO: IMEI packet received {"connection_id":206426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":206426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:44:35] local.INFO: TCP Data received {"connection_id":204911,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204911,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:44:35] local.INFO: Processing buffer {"connection_id":204911,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:44:35] local.INFO: IMEI packet received {"connection_id":204911,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":204911,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:44:40] local.INFO: TCP Data received {"connection_id":204911,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204911,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:44:40] local.INFO: Processing buffer {"connection_id":204911,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:44:40] local.INFO: IMEI packet received {"connection_id":204911,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":204911,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:44:41] local.INFO: TCP Data received {"connection_id":204911,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:44:41] local.INFO: Processing buffer {"connection_id":204911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:44:41] local.INFO: Packet analysis {"connection_id":204911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:44:41] local.INFO: Extracted packet for processing {"connection_id":204911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:44:41] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":1,"angle":339,"satellites":38,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550458624001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791213030000,"timestamp_ms":1791213030000,"timestamp_seconds":1791213030,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9dca70"} 
[2026-10-05 20:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 20:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550458624001,"66":13059,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550458624001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:44:41] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550458624001,"power":13059,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":204911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:44:41] local.INFO: GPS data processed {"connection_id":204911,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:44:41] local.INFO: Acknowledgment sent {"connection_id":204911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:44:42] local.INFO: TCP Data received {"connection_id":206426,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9d12d8012d196600071feee80039015425..."} 
[2026-10-05 20:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9d12d8012d196600071feee80039015425..."} 
[2026-10-05 20:44:42] local.INFO: Processing buffer {"connection_id":206426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9d12d8012d196600071feee80039015425..."} 
[2026-10-05 20:44:42] local.INFO: Packet analysis {"connection_id":206426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:44:42] local.INFO: Extracted packet for processing {"connection_id":206426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:44:42] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550446592001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791212983000,"timestamp_ms":1791212983000,"timestamp_seconds":1791212983,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9d12d8"} 
[2026-10-05 20:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:44:42] 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-10-05 20:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550446592001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550446592001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:44:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:44:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550446592001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":206426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:44:42] local.INFO: GPS data processed {"connection_id":206426,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:44:42] local.INFO: Acknowledgment sent {"connection_id":206426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:44:43] local.INFO: TCP Data received {"connection_id":206426,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9d12d8012d196600071feee80039015425..."} 
[2026-10-05 20:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9d12d8012d196600071feee80039015425..."} 
[2026-10-05 20:44:43] local.INFO: Processing buffer {"connection_id":206426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9d12d8012d196600071feee80039015425..."} 
[2026-10-05 20:44:43] local.INFO: Packet analysis {"connection_id":206426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:44:43] local.INFO: Extracted packet for processing {"connection_id":206426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:44:43] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550446592001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791212983000,"timestamp_ms":1791212983000,"timestamp_seconds":1791212983,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9d12d8"} 
[2026-10-05 20:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:44:43] 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-10-05 20:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":206426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":206426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":206426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550446592001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550446592001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:44:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:44:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550446592001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":206426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:44:43] local.INFO: GPS data processed {"connection_id":206426,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:44:43] local.INFO: Acknowledgment sent {"connection_id":206426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:44:46] local.INFO: TCP Data received {"connection_id":204911,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:44:46] local.INFO: Processing buffer {"connection_id":204911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9dca70012d7c114005db2dc00001015326..."} 
[2026-10-05 20:44:46] local.INFO: Packet analysis {"connection_id":204911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:44:46] local.INFO: Extracted packet for processing {"connection_id":204911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:44:46] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":1,"angle":339,"satellites":38,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550458624001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791213030000,"timestamp_ms":1791213030000,"timestamp_seconds":1791213030,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9dca70"} 
[2026-10-05 20:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-05 20:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550458624001,"66":13059,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550458624001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:44:46] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:44:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550458624001,"power":13059,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":204911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969910,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:44:46] local.INFO: GPS data processed {"connection_id":204911,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:44:46] local.INFO: Acknowledgment sent {"connection_id":204911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:45:09] local.INFO: TCP Data received {"connection_id":207997,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:45:09] local.INFO: Processing buffer {"connection_id":207997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:45:09] local.INFO: IMEI packet received {"connection_id":207997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":207997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:45:15] local.INFO: TCP Data received {"connection_id":207997,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:45:15] local.INFO: Processing buffer {"connection_id":207997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:45:15] local.INFO: IMEI packet received {"connection_id":207997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":207997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:45:17] local.INFO: TCP Data received {"connection_id":207997,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10c9d12d8012d196600071feee80039015425..."} 
[2026-10-05 20:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c9d12d8012d196600071feee80039015425..."} 
[2026-10-05 20:45:17] local.INFO: Processing buffer {"connection_id":207997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c9d12d8012d196600071feee80039015425..."} 
[2026-10-05 20:45:17] local.INFO: Packet analysis {"connection_id":207997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:45:17] local.INFO: Extracted packet for processing {"connection_id":207997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c9d"} 
[2026-10-05 20:45:17] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550446592001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791212983000,"timestamp_ms":1791212983000,"timestamp_seconds":1791212983,"priority":1,"record_length":96,"hex_timestamp":"000001a10c9d12d8"} 
[2026-10-05 20:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:45:17] 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-10-05 20:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":207997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":207997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":207997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550446592001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550446592001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:45:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:45:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550446592001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":207997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:45:17] local.INFO: GPS data processed {"connection_id":207997,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:45:17] local.INFO: Acknowledgment sent {"connection_id":207997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:45:30] local.INFO: TCP Data received {"connection_id":205046,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:45:30] local.INFO: Processing buffer {"connection_id":205046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:45:30] local.INFO: IMEI packet received {"connection_id":205046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":205046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:45:32] local.INFO: TCP Data received {"connection_id":205046,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:45:32] local.INFO: Processing buffer {"connection_id":205046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:45:32] local.INFO: IMEI packet received {"connection_id":205046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":205046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:45:33] local.INFO: TCP Data received {"connection_id":207998,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207998,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:45:33] local.INFO: Processing buffer {"connection_id":207998,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:45:33] local.INFO: IMEI packet received {"connection_id":207998,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 20:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":207998,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:45:34] local.INFO: TCP Data received {"connection_id":205046,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:45:34] local.INFO: Processing buffer {"connection_id":205046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:45:34] local.INFO: Packet analysis {"connection_id":205046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca2"} 
[2026-10-05 20:45:34] local.INFO: Extracted packet for processing {"connection_id":205046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca2"} 
[2026-10-05 20:45:34] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":36,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550535680001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791213331000,"timestamp_ms":1791213331000,"timestamp_seconds":1791213331,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca26238"} 
[2026-10-05 20:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:45: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-10-05 20:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 20:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158818557285,"note":"Value kept but may cause issues"} 
[2026-10-05 20:45:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":58077557095399439,"note":"Value kept but may cause issues"} 
[2026-10-05 20:45:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 20:45:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":4161339392,"note":"Value kept but may cause issues"} 
[2026-10-05 20:45:34] local.WARNING: Large IO value detected {"io_id":12,"raw_value":2490105857,"note":"Value kept but may cause issues"} 
[2026-10-05 20:45:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705050318,"corrected_to":0} 
[2026-10-05 20:45:34] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2147867418,"note":"Value kept but may cause issues"} 
[2026-10-05 20:45:34] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862821,"note":"Value kept but may cause issues"} 
[2026-10-05 20:45:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3673548800,"note":"Value kept but may cause issues"} 
[2026-10-05 20:45:34] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,160,85,24,241,157,16,248,161,50,45,64,35,10,66,139,46,34,240,173,227,12,219,1,4,113,205,92,27,112,239,48,2,5,15],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1705050318,"validated":0}]} 
[2026-10-05 20:45:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72430491688501248,"timestamp_seconds":72430491688501.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 20:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":205046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":205046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":205046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550535680001,"66":12982,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550535680001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:45:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:45:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550535680001,"power":12982,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":205046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:45:34] local.INFO: GPS data processed {"connection_id":205046,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:45:34] local.INFO: Acknowledgment sent {"connection_id":205046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:45:49] local.INFO: TCP Data received {"connection_id":207997,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca1aaa0012d196600071feee80039015428..."} 
[2026-10-05 20:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca1aaa0012d196600071feee80039015428..."} 
[2026-10-05 20:45:49] local.INFO: Processing buffer {"connection_id":207997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca1aaa0012d196600071feee80039015428..."} 
[2026-10-05 20:45:49] local.INFO: Packet analysis {"connection_id":207997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca1"} 
[2026-10-05 20:45:49] local.INFO: Extracted packet for processing {"connection_id":207997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca1"} 
[2026-10-05 20:45:49] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550523648001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1791213284000,"timestamp_ms":1791213284000,"timestamp_seconds":1791213284,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca1aaa0"} 
[2026-10-05 20:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 20:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":207997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":207997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":207997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550523648001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550523648001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:45:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:45:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550523648001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":207997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:45:49] local.INFO: GPS data processed {"connection_id":207997,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:45:49] local.INFO: Acknowledgment sent {"connection_id":207997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:46:04] local.INFO: TCP Data received {"connection_id":206428,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:46:04] local.INFO: Processing buffer {"connection_id":206428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:46:04] local.INFO: IMEI packet received {"connection_id":206428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":206428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:46:04] local.INFO: TCP Data received {"connection_id":206427,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:46:04] local.INFO: Processing buffer {"connection_id":206427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:46:04] local.INFO: IMEI packet received {"connection_id":206427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":206427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:46:06] local.INFO: TCP Data received {"connection_id":205046,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:46:06] local.INFO: Processing buffer {"connection_id":205046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:46:06] local.INFO: Packet analysis {"connection_id":205046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca2"} 
[2026-10-05 20:46:06] local.INFO: Extracted packet for processing {"connection_id":205046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca2"} 
[2026-10-05 20:46:06] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":36,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550535680001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791213331000,"timestamp_ms":1791213331000,"timestamp_seconds":1791213331,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca26238"} 
[2026-10-05 20:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20: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":3,"data_length":795,"current_offset":136} 
[2026-10-05 20:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158818557285,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":58077557095399439,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":4161339392,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:06] local.WARNING: Large IO value detected {"io_id":12,"raw_value":2490105857,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705050318,"corrected_to":0} 
[2026-10-05 20:46:06] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2147867418,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:06] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862821,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3673548800,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:06] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,160,85,24,241,157,16,248,161,50,45,64,35,10,66,139,46,34,240,173,227,12,219,1,4,113,205,92,27,112,239,48,2,5,15],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1705050318,"validated":0}]} 
[2026-10-05 20:46:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72430491688501248,"timestamp_seconds":72430491688501.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 20:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550535680001,"66":12982,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550535680001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:46:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:46:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550535680001,"power":12982,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":205046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:46:06] local.INFO: GPS data processed {"connection_id":205046,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:46:06] local.INFO: Acknowledgment sent {"connection_id":205046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:46:10] local.INFO: TCP Data received {"connection_id":206427,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:46:10] local.INFO: Processing buffer {"connection_id":206427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:46:10] local.INFO: IMEI packet received {"connection_id":206427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":206427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:46:11] local.INFO: TCP Data received {"connection_id":206427,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca1aaa0012d196600071feee80039015428..."} 
[2026-10-05 20:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca1aaa0012d196600071feee80039015428..."} 
[2026-10-05 20:46:11] local.INFO: Processing buffer {"connection_id":206427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca1aaa0012d196600071feee80039015428..."} 
[2026-10-05 20:46:11] local.INFO: Packet analysis {"connection_id":206427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca1"} 
[2026-10-05 20:46:11] local.INFO: Extracted packet for processing {"connection_id":206427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca1"} 
[2026-10-05 20:46:11] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550523648001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791213284000,"timestamp_ms":1791213284000,"timestamp_seconds":1791213284,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca1aaa0"} 
[2026-10-05 20:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 20:46:11] 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-10-05 20:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550523648001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550523648001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:46:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:46:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550523648001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":206427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:46:11] local.INFO: GPS data processed {"connection_id":206427,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:46:11] local.INFO: Acknowledgment sent {"connection_id":206427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:46:31] local.INFO: TCP Data received {"connection_id":205047,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:46:31] local.INFO: Processing buffer {"connection_id":205047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:46:31] local.INFO: IMEI packet received {"connection_id":205047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":205047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:46:35] local.INFO: TCP Data received {"connection_id":205047,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:46:35] local.INFO: Processing buffer {"connection_id":205047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:46:35] local.INFO: IMEI packet received {"connection_id":205047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":205047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:46:35] local.INFO: TCP Data received {"connection_id":206428,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:46:35] local.INFO: Processing buffer {"connection_id":206428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:46:35] local.INFO: IMEI packet received {"connection_id":206428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":206428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:46:36] local.INFO: TCP Data received {"connection_id":205047,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:46:36] local.INFO: Processing buffer {"connection_id":205047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:46:36] local.INFO: Packet analysis {"connection_id":205047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca2"} 
[2026-10-05 20:46:36] local.INFO: Extracted packet for processing {"connection_id":205047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca2"} 
[2026-10-05 20:46:36] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":36,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550535680001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791213331000,"timestamp_ms":1791213331000,"timestamp_seconds":1791213331,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca26238"} 
[2026-10-05 20:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 20:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158818557285,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":58077557095399439,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":4161339392,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:36] local.WARNING: Large IO value detected {"io_id":12,"raw_value":2490105857,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705050318,"corrected_to":0} 
[2026-10-05 20:46:36] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2147867418,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:36] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862821,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3673548800,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:36] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,160,85,24,241,157,16,248,161,50,45,64,35,10,66,139,46,34,240,173,227,12,219,1,4,113,205,92,27,112,239,48,2,5,15],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1705050318,"validated":0}]} 
[2026-10-05 20:46:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72430491688501248,"timestamp_seconds":72430491688501.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 20:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550535680001,"66":12982,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550535680001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:46:36] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:46:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550535680001,"power":12982,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":205047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:46:36] local.INFO: GPS data processed {"connection_id":205047,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:46:36] local.INFO: Acknowledgment sent {"connection_id":205047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:46:39] local.INFO: TCP Data received {"connection_id":206428,"ip":"42.106.6.38","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 20:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206428,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 20:46:39] local.INFO: Processing buffer {"connection_id":206428,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 20:46:39] local.INFO: IMEI packet received {"connection_id":206428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":206428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:46:43] local.INFO: TCP Data received {"connection_id":206427,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca1aaa0012d196600071feee80039015428..."} 
[2026-10-05 20:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca1aaa0012d196600071feee80039015428..."} 
[2026-10-05 20:46:43] local.INFO: Processing buffer {"connection_id":206427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca1aaa0012d196600071feee80039015428..."} 
[2026-10-05 20:46:43] local.INFO: Packet analysis {"connection_id":206427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca1"} 
[2026-10-05 20:46:43] local.INFO: Extracted packet for processing {"connection_id":206427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca1"} 
[2026-10-05 20:46:43] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550523648001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791213284000,"timestamp_ms":1791213284000,"timestamp_seconds":1791213284,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca1aaa0"} 
[2026-10-05 20:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:46:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 20:46:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":206427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":206427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":206427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550523648001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550523648001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:46:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:46:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550523648001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":206427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:46:44] local.INFO: GPS data processed {"connection_id":206427,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:46:44] local.INFO: Acknowledgment sent {"connection_id":206427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:47:08] local.INFO: TCP Data received {"connection_id":205047,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:47:08] local.INFO: Processing buffer {"connection_id":205047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:47:08] local.INFO: Packet analysis {"connection_id":205047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca2"} 
[2026-10-05 20:47:08] local.INFO: Extracted packet for processing {"connection_id":205047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca2"} 
[2026-10-05 20:47:08] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":36,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550535680001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791213331000,"timestamp_ms":1791213331000,"timestamp_seconds":1791213331,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca26238"} 
[2026-10-05 20:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 20:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158818557285,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":58077557095399439,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":4161339392,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:08] local.WARNING: Large IO value detected {"io_id":12,"raw_value":2490105857,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705050318,"corrected_to":0} 
[2026-10-05 20:47:08] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2147867418,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:08] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862821,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3673548800,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:08] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,160,85,24,241,157,16,248,161,50,45,64,35,10,66,139,46,34,240,173,227,12,219,1,4,113,205,92,27,112,239,48,2,5,15],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1705050318,"validated":0}]} 
[2026-10-05 20:47:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72430491688501248,"timestamp_seconds":72430491688501.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 20:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550535680001,"66":12982,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550535680001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:47:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:47:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550535680001,"power":12982,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":205047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:47:08] local.INFO: GPS data processed {"connection_id":205047,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:47:08] local.INFO: Acknowledgment sent {"connection_id":205047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:47:24] local.INFO: TCP Data received {"connection_id":204913,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:47:24] local.INFO: Processing buffer {"connection_id":204913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:47:24] local.INFO: IMEI packet received {"connection_id":204913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":204913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:47:30] local.INFO: TCP Data received {"connection_id":207999,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:47:30] local.INFO: Processing buffer {"connection_id":207999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:47:30] local.INFO: IMEI packet received {"connection_id":207999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":207999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:47:31] local.INFO: TCP Data received {"connection_id":204913,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:47:31] local.INFO: Processing buffer {"connection_id":204913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:47:31] local.INFO: IMEI packet received {"connection_id":204913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":204913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:47:35] local.INFO: TCP Data received {"connection_id":207999,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:47:35] local.INFO: Processing buffer {"connection_id":207999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:47:35] local.INFO: IMEI packet received {"connection_id":207999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":207999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:47:36] local.INFO: TCP Data received {"connection_id":207999,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:47:36] local.INFO: Processing buffer {"connection_id":207999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:47:36] local.INFO: Packet analysis {"connection_id":207999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca2"} 
[2026-10-05 20:47:36] local.INFO: Extracted packet for processing {"connection_id":207999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca2"} 
[2026-10-05 20:47:36] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":36,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550535680001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791213331000,"timestamp_ms":1791213331000,"timestamp_seconds":1791213331,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca26238"} 
[2026-10-05 20:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 20:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158818557285,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":58077557095399439,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":4161339392,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:36] local.WARNING: Large IO value detected {"io_id":12,"raw_value":2490105857,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705050318,"corrected_to":0} 
[2026-10-05 20:47:36] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2147867418,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:36] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862821,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3673548800,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:36] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,160,85,24,241,157,16,248,161,50,45,64,35,10,66,139,46,34,240,173,227,12,219,1,4,113,205,92,27,112,239,48,2,5,15],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1705050318,"validated":0}]} 
[2026-10-05 20:47:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72430491688501248,"timestamp_seconds":72430491688501.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 20:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":207999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":207999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":207999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550535680001,"66":12982,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550535680001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:47:36] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:47:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550535680001,"power":12982,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":207999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:47:36] local.INFO: GPS data processed {"connection_id":207999,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:47:36] local.INFO: Acknowledgment sent {"connection_id":207999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:47:40] local.INFO: TCP Data received {"connection_id":204913,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca1aaa0012d196600071feee80039015428..."} 
[2026-10-05 20:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca1aaa0012d196600071feee80039015428..."} 
[2026-10-05 20:47:40] local.INFO: Processing buffer {"connection_id":204913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca1aaa0012d196600071feee80039015428..."} 
[2026-10-05 20:47:40] local.INFO: Packet analysis {"connection_id":204913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca1"} 
[2026-10-05 20:47:40] local.INFO: Extracted packet for processing {"connection_id":204913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca1"} 
[2026-10-05 20:47:40] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550523648001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791213284000,"timestamp_ms":1791213284000,"timestamp_seconds":1791213284,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca1aaa0"} 
[2026-10-05 20:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 20:47:40] 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-10-05 20:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":204913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":204913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":204913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550523648001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550523648001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:47:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:47:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550523648001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":204913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:47:40] local.INFO: GPS data processed {"connection_id":204913,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:47:40] local.INFO: Acknowledgment sent {"connection_id":204913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:47:41] local.INFO: TCP Data received {"connection_id":204913,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca1aaa0012d196600071feee80039015428..."} 
[2026-10-05 20:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca1aaa0012d196600071feee80039015428..."} 
[2026-10-05 20:47:41] local.INFO: Processing buffer {"connection_id":204913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca1aaa0012d196600071feee80039015428..."} 
[2026-10-05 20:47:41] local.INFO: Packet analysis {"connection_id":204913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca1"} 
[2026-10-05 20:47:41] local.INFO: Extracted packet for processing {"connection_id":204913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca1"} 
[2026-10-05 20:47:41] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550523648001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791213284000,"timestamp_ms":1791213284000,"timestamp_seconds":1791213284,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca1aaa0"} 
[2026-10-05 20:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 20:47:41] 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-10-05 20:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550523648001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550523648001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:47:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:47:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550523648001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":204913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:47:42] local.INFO: GPS data processed {"connection_id":204913,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:47:42] local.INFO: Acknowledgment sent {"connection_id":204913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:48:04] local.INFO: TCP Data received {"connection_id":206430,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:48:04] local.INFO: Processing buffer {"connection_id":206430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:48:04] local.INFO: IMEI packet received {"connection_id":206430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":206430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:48:08] local.INFO: TCP Data received {"connection_id":207999,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":207999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:48:08] local.INFO: Processing buffer {"connection_id":207999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:48:08] local.INFO: Packet analysis {"connection_id":207999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca2"} 
[2026-10-05 20:48:08] local.INFO: Extracted packet for processing {"connection_id":207999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca2"} 
[2026-10-05 20:48:08] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":36,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550535680001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791213331000,"timestamp_ms":1791213331000,"timestamp_seconds":1791213331,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca26238"} 
[2026-10-05 20:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 20:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158818557285,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":58077557095399439,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":4161339392,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:08] local.WARNING: Large IO value detected {"io_id":12,"raw_value":2490105857,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705050318,"corrected_to":0} 
[2026-10-05 20:48:08] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2147867418,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:08] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862821,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3673548800,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:08] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,160,85,24,241,157,16,248,161,50,45,64,35,10,66,139,46,34,240,173,227,12,219,1,4,113,205,92,27,112,239,48,2,5,15],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1705050318,"validated":0}]} 
[2026-10-05 20:48:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72430491688501248,"timestamp_seconds":72430491688501.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 20:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":207999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":207999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":207999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550535680001,"66":12982,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550535680001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:48:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:48:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550535680001,"power":12982,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":207999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969922,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:48:08] local.INFO: GPS data processed {"connection_id":207999,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:48:08] local.INFO: Acknowledgment sent {"connection_id":207999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:48:10] local.INFO: TCP Data received {"connection_id":206430,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:48:10] local.INFO: Processing buffer {"connection_id":206430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:48:10] local.INFO: IMEI packet received {"connection_id":206430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":206430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:48:11] local.INFO: TCP Data received {"connection_id":206430,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca1aaa0012d196600071feee80039015428..."} 
[2026-10-05 20:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca1aaa0012d196600071feee80039015428..."} 
[2026-10-05 20:48:11] local.INFO: Processing buffer {"connection_id":206430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca1aaa0012d196600071feee80039015428..."} 
[2026-10-05 20:48:11] local.INFO: Packet analysis {"connection_id":206430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca1"} 
[2026-10-05 20:48:11] local.INFO: Extracted packet for processing {"connection_id":206430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca1"} 
[2026-10-05 20:48:11] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550523648001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791213284000,"timestamp_ms":1791213284000,"timestamp_seconds":1791213284,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca1aaa0"} 
[2026-10-05 20:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 20:48:11] 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-10-05 20:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550523648001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550523648001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:48:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:48:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550523648001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":206430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:48:11] local.INFO: GPS data processed {"connection_id":206430,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:48:11] local.INFO: Acknowledgment sent {"connection_id":206430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:48:30] local.INFO: TCP Data received {"connection_id":204915,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:48:30] local.INFO: Processing buffer {"connection_id":204915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:48:30] local.INFO: IMEI packet received {"connection_id":204915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":204915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:48:35] local.INFO: TCP Data received {"connection_id":204915,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:48:35] local.INFO: Processing buffer {"connection_id":204915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:48:35] local.INFO: IMEI packet received {"connection_id":204915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":204915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:48:36] local.INFO: TCP Data received {"connection_id":204915,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:48:36] local.INFO: Processing buffer {"connection_id":204915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:48:36] local.INFO: Packet analysis {"connection_id":204915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca2"} 
[2026-10-05 20:48:36] local.INFO: Extracted packet for processing {"connection_id":204915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca2"} 
[2026-10-05 20:48:36] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":36,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550535680001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791213331000,"timestamp_ms":1791213331000,"timestamp_seconds":1791213331,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca26238"} 
[2026-10-05 20:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 20:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158818557285,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":58077557095399439,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":4161339392,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:36] local.WARNING: Large IO value detected {"io_id":12,"raw_value":2490105857,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705050318,"corrected_to":0} 
[2026-10-05 20:48:36] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2147867418,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:36] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862821,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3673548800,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:36] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,160,85,24,241,157,16,248,161,50,45,64,35,10,66,139,46,34,240,173,227,12,219,1,4,113,205,92,27,112,239,48,2,5,15],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1705050318,"validated":0}]} 
[2026-10-05 20:48:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72430491688501248,"timestamp_seconds":72430491688501.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 20:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550535680001,"66":12982,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550535680001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:48:37] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:48:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550535680001,"power":12982,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":204915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969924,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:48:37] local.INFO: GPS data processed {"connection_id":204915,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:48:37] local.INFO: Acknowledgment sent {"connection_id":204915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:48:47] local.INFO: TCP Data received {"connection_id":206430,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca1aaa0012d196600071feee80039015428..."} 
[2026-10-05 20:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca1aaa0012d196600071feee80039015428..."} 
[2026-10-05 20:48:47] local.INFO: Processing buffer {"connection_id":206430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca1aaa0012d196600071feee80039015428..."} 
[2026-10-05 20:48:47] local.INFO: Packet analysis {"connection_id":206430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca1"} 
[2026-10-05 20:48:47] local.INFO: Extracted packet for processing {"connection_id":206430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca1"} 
[2026-10-05 20:48:47] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550523648001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791213284000,"timestamp_ms":1791213284000,"timestamp_seconds":1791213284,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca1aaa0"} 
[2026-10-05 20:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 20:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":206430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":206430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":206430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550523648001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550523648001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:48:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:48:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550523648001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":206430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:48:47] local.INFO: GPS data processed {"connection_id":206430,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:48:47] local.INFO: Acknowledgment sent {"connection_id":206430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:49:04] local.INFO: TCP Data received {"connection_id":205049,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:49:04] local.INFO: Processing buffer {"connection_id":205049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:49:04] local.INFO: IMEI packet received {"connection_id":205049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":205049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:49:08] local.INFO: TCP Data received {"connection_id":204915,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:49:08] local.INFO: Processing buffer {"connection_id":204915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:49:08] local.INFO: Packet analysis {"connection_id":204915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca2"} 
[2026-10-05 20:49:08] local.INFO: Extracted packet for processing {"connection_id":204915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca2"} 
[2026-10-05 20:49:08] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":36,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550535680001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791213331000,"timestamp_ms":1791213331000,"timestamp_seconds":1791213331,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca26238"} 
[2026-10-05 20:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 20:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158818557285,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":58077557095399439,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":4161339392,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:08] local.WARNING: Large IO value detected {"io_id":12,"raw_value":2490105857,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705050318,"corrected_to":0} 
[2026-10-05 20:49:08] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2147867418,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:08] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862821,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3673548800,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:08] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,160,85,24,241,157,16,248,161,50,45,64,35,10,66,139,46,34,240,173,227,12,219,1,4,113,205,92,27,112,239,48,2,5,15],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1705050318,"validated":0}]} 
[2026-10-05 20:49:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72430491688501248,"timestamp_seconds":72430491688501.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 20:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550535680001,"66":12982,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550535680001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:49:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:49:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550535680001,"power":12982,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":204915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:49:08] local.INFO: GPS data processed {"connection_id":204915,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:49:08] local.INFO: Acknowledgment sent {"connection_id":204915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:49:13] local.INFO: TCP Data received {"connection_id":205049,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:49:13] local.INFO: Processing buffer {"connection_id":205049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:49:13] local.INFO: IMEI packet received {"connection_id":205049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":205049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:49:30] local.INFO: TCP Data received {"connection_id":205050,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:49:30] local.INFO: Processing buffer {"connection_id":205050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:49:30] local.INFO: IMEI packet received {"connection_id":205050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":205050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:49:35] local.INFO: TCP Data received {"connection_id":205050,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:49:35] local.INFO: Processing buffer {"connection_id":205050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:49:35] local.INFO: IMEI packet received {"connection_id":205050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":205050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:49:36] local.INFO: TCP Data received {"connection_id":205050,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:49:36] local.INFO: Processing buffer {"connection_id":205050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:49:36] local.INFO: Packet analysis {"connection_id":205050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca2"} 
[2026-10-05 20:49:36] local.INFO: Extracted packet for processing {"connection_id":205050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca2"} 
[2026-10-05 20:49:36] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":36,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550535680001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791213331000,"timestamp_ms":1791213331000,"timestamp_seconds":1791213331,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca26238"} 
[2026-10-05 20:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 20:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158818557285,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":58077557095399439,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":4161339392,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:36] local.WARNING: Large IO value detected {"io_id":12,"raw_value":2490105857,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705050318,"corrected_to":0} 
[2026-10-05 20:49:36] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2147867418,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:36] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862821,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3673548800,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:36] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,160,85,24,241,157,16,248,161,50,45,64,35,10,66,139,46,34,240,173,227,12,219,1,4,113,205,92,27,112,239,48,2,5,15],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1705050318,"validated":0}]} 
[2026-10-05 20:49:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72430491688501248,"timestamp_seconds":72430491688501.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 20:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550535680001,"66":12982,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550535680001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:49:36] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:49:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550535680001,"power":12982,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":205050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969927,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:49:36] local.INFO: GPS data processed {"connection_id":205050,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:49:36] local.INFO: Acknowledgment sent {"connection_id":205050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:49:53] local.INFO: TCP Data received {"connection_id":205049,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca1aaa0012d196600071feee80039015428..."} 
[2026-10-05 20:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca1aaa0012d196600071feee80039015428..."} 
[2026-10-05 20:49:53] local.INFO: Processing buffer {"connection_id":205049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca1aaa0012d196600071feee80039015428..."} 
[2026-10-05 20:49:53] local.INFO: Packet analysis {"connection_id":205049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca1"} 
[2026-10-05 20:49:53] local.INFO: Extracted packet for processing {"connection_id":205049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca1"} 
[2026-10-05 20:49:53] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550523648001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1791213284000,"timestamp_ms":1791213284000,"timestamp_seconds":1791213284,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca1aaa0"} 
[2026-10-05 20:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 20:49:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":205049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":205049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":205049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550523648001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550523648001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:49:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:49:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550523648001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":205049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:49:53] local.INFO: GPS data processed {"connection_id":205049,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:49:53] local.INFO: Acknowledgment sent {"connection_id":205049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:49:56] local.INFO: TCP Data received {"connection_id":205049,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca1aaa0012d196600071feee80039015428..."} 
[2026-10-05 20:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca1aaa0012d196600071feee80039015428..."} 
[2026-10-05 20:49:56] local.INFO: Processing buffer {"connection_id":205049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca1aaa0012d196600071feee80039015428..."} 
[2026-10-05 20:49:56] local.INFO: Packet analysis {"connection_id":205049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca1"} 
[2026-10-05 20:49:56] local.INFO: Extracted packet for processing {"connection_id":205049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca1"} 
[2026-10-05 20:49:56] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550523648001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1791213284000,"timestamp_ms":1791213284000,"timestamp_seconds":1791213284,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca1aaa0"} 
[2026-10-05 20:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 20:49:56] 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-10-05 20: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-10-05 20:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":205049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":205049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":205049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550523648001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550523648001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:49:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:49:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550523648001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":205049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:49:56] local.INFO: GPS data processed {"connection_id":205049,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:49:56] local.ERROR: TCP Connection error {"connection_id":205049,"code":2,"message":"client closed"} 
[2026-10-05 20:49:56] local.INFO: Acknowledgment sent {"connection_id":205049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:50:08] local.INFO: TCP Data received {"connection_id":205050,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:50:08] local.INFO: Processing buffer {"connection_id":205050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca26238012d7c114005db2dc00000015324..."} 
[2026-10-05 20:50:08] local.INFO: Packet analysis {"connection_id":205050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca2"} 
[2026-10-05 20:50:08] local.INFO: Extracted packet for processing {"connection_id":205050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca2"} 
[2026-10-05 20:50:08] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":36,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550535680001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791213331000,"timestamp_ms":1791213331000,"timestamp_seconds":1791213331,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca26238"} 
[2026-10-05 20:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 20:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158818557285,"note":"Value kept but may cause issues"} 
[2026-10-05 20:50:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":58077557095399439,"note":"Value kept but may cause issues"} 
[2026-10-05 20:50:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 20:50:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":4161339392,"note":"Value kept but may cause issues"} 
[2026-10-05 20:50:08] local.WARNING: Large IO value detected {"io_id":12,"raw_value":2490105857,"note":"Value kept but may cause issues"} 
[2026-10-05 20:50:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705050318,"corrected_to":0} 
[2026-10-05 20:50:08] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2147867418,"note":"Value kept but may cause issues"} 
[2026-10-05 20:50:08] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862821,"note":"Value kept but may cause issues"} 
[2026-10-05 20:50:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3673548800,"note":"Value kept but may cause issues"} 
[2026-10-05 20:50:08] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,160,85,24,241,157,16,248,161,50,45,64,35,10,66,139,46,34,240,173,227,12,219,1,4,113,205,92,27,112,239,48,2,5,15],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1705050318,"validated":0}]} 
[2026-10-05 20:50:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72430491688501248,"timestamp_seconds":72430491688501.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 20:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550535680001,"66":12982,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550535680001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:50:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:50:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550535680001,"power":12982,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":205050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:50:08] local.INFO: GPS data processed {"connection_id":205050,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:50:08] local.INFO: Acknowledgment sent {"connection_id":205050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:50:25] local.INFO: TCP Data received {"connection_id":204918,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:50:25] local.INFO: Processing buffer {"connection_id":204918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:50:25] local.INFO: IMEI packet received {"connection_id":204918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":204918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:50:27] local.INFO: TCP Data received {"connection_id":204918,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:50:27] local.INFO: Processing buffer {"connection_id":204918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:50:27] local.INFO: IMEI packet received {"connection_id":204918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":204918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:50:29] local.INFO: TCP Data received {"connection_id":204918,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:50:29] local.INFO: Processing buffer {"connection_id":204918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:50:29] local.INFO: Packet analysis {"connection_id":204918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:50:29] local.INFO: Extracted packet for processing {"connection_id":204918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:50:29] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 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-10-05 20:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550600704001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1791213585000,"timestamp_ms":1791213585000,"timestamp_seconds":1791213585,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca64268"} 
[2026-10-05 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-10-05 20:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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-10-05 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-10-05 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-10-05 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-10-05 20:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":204918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":204918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":204918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550600704001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550600704001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:50:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:50:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550600704001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":204918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:50:29] local.INFO: GPS data processed {"connection_id":204918,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:50:29] local.INFO: Acknowledgment sent {"connection_id":204918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:50:30] local.INFO: TCP Data received {"connection_id":204918,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:50:30] local.INFO: Processing buffer {"connection_id":204918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:50:30] local.INFO: Packet analysis {"connection_id":204918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:50:30] local.INFO: Extracted packet for processing {"connection_id":204918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:50:30] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550600704001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1791213585000,"timestamp_ms":1791213585000,"timestamp_seconds":1791213585,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca64268"} 
[2026-10-05 20:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:50: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-10-05 20: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-10-05 20:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":204918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":204918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":204918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550600704001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550600704001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:50:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:50:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550600704001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":204918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:50:30] local.INFO: GPS data processed {"connection_id":204918,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:50:30] local.INFO: Acknowledgment sent {"connection_id":204918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:50:34] local.INFO: TCP Data received {"connection_id":208002,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:50:34] local.INFO: Processing buffer {"connection_id":208002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:50:34] local.INFO: IMEI packet received {"connection_id":208002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":208002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:50:35] local.INFO: TCP Data received {"connection_id":208002,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:50:35] local.INFO: Processing buffer {"connection_id":208002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:50:35] local.INFO: IMEI packet received {"connection_id":208002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":208002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:50:40] local.INFO: TCP Data received {"connection_id":208002,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:50:40] local.INFO: Processing buffer {"connection_id":208002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:50:40] local.INFO: IMEI packet received {"connection_id":208002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":208002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:50:41] local.INFO: TCP Data received {"connection_id":208002,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:50:41] local.INFO: Processing buffer {"connection_id":208002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:50:41] local.INFO: Packet analysis {"connection_id":208002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:50:41] local.INFO: Extracted packet for processing {"connection_id":208002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:50:41] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":37,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550612736001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791213632000,"timestamp_ms":1791213632000,"timestamp_seconds":1791213632,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca6fa00"} 
[2026-10-05 20:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 20:50:41] 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-10-05 20:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":208002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":208002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":208002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550612736001,"66":12917,"162":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 20:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550612736001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:50:41] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 20:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550612736001,"power":12917,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":208002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969933,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:50:41] local.INFO: GPS data processed {"connection_id":208002,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:50:41] local.INFO: Acknowledgment sent {"connection_id":208002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:50:58] local.INFO: TCP Data received {"connection_id":208003,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208003,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:50:58] local.INFO: Processing buffer {"connection_id":208003,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:50:58] local.INFO: IMEI packet received {"connection_id":208003,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 20:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":208003,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:51:04] local.INFO: TCP Data received {"connection_id":205051,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:51:04] local.INFO: Processing buffer {"connection_id":205051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:51:04] local.INFO: IMEI packet received {"connection_id":205051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":205051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:51:12] local.INFO: TCP Data received {"connection_id":205051,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:51:12] local.INFO: Processing buffer {"connection_id":205051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:51:12] local.INFO: IMEI packet received {"connection_id":205051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":205051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:51:13] local.INFO: TCP Data received {"connection_id":208002,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:51:13] local.INFO: Processing buffer {"connection_id":208002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:51:13] local.INFO: Packet analysis {"connection_id":208002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:51:13] local.INFO: Extracted packet for processing {"connection_id":208002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:51:13] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":37,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550612736001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791213632000,"timestamp_ms":1791213632000,"timestamp_seconds":1791213632,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca6fa00"} 
[2026-10-05 20:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 20:51:13] 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-10-05 20:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":208002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":208002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":208002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550612736001,"66":12917,"162":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 20:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550612736001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:51:13] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 20:51:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550612736001,"power":12917,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":208002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:51:13] local.INFO: GPS data processed {"connection_id":208002,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:51:13] local.INFO: Acknowledgment sent {"connection_id":208002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:51:13] local.INFO: TCP Data received {"connection_id":205051,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:51:13] local.INFO: Processing buffer {"connection_id":205051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:51:13] local.INFO: Packet analysis {"connection_id":205051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:51:13] local.INFO: Extracted packet for processing {"connection_id":205051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:51:13] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550600704001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791213585000,"timestamp_ms":1791213585000,"timestamp_seconds":1791213585,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca64268"} 
[2026-10-05 20:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":205051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":205051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":205051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550600704001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550600704001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:51:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:51:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550600704001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":205051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:51:13] local.INFO: GPS data processed {"connection_id":205051,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:51:13] local.INFO: Acknowledgment sent {"connection_id":205051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:51:31] local.INFO: TCP Data received {"connection_id":205053,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:51:31] local.INFO: Processing buffer {"connection_id":205053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:51:31] local.INFO: IMEI packet received {"connection_id":205053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":205053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:51:35] local.INFO: TCP Data received {"connection_id":205053,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:51:35] local.INFO: Processing buffer {"connection_id":205053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:51:35] local.INFO: IMEI packet received {"connection_id":205053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":205053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:51:37] local.INFO: TCP Data received {"connection_id":205053,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:51:37] local.INFO: Processing buffer {"connection_id":205053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:51:37] local.INFO: Packet analysis {"connection_id":205053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:51:37] local.INFO: Extracted packet for processing {"connection_id":205053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:51:37] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":37,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550612736001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791213632000,"timestamp_ms":1791213632000,"timestamp_seconds":1791213632,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca6fa00"} 
[2026-10-05 20:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 20:51: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-10-05 20:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550612736001,"66":12917,"162":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 20:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550612736001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:51:37] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 20:51:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550612736001,"power":12917,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":205053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:51:37] local.INFO: GPS data processed {"connection_id":205053,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:51:37] local.INFO: Acknowledgment sent {"connection_id":205053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:51:43] local.INFO: TCP Data received {"connection_id":205054,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:51:43] local.INFO: Processing buffer {"connection_id":205054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:51:43] local.INFO: IMEI packet received {"connection_id":205054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 20:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":205054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:51:46] local.INFO: TCP Data received {"connection_id":205051,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:51:46] local.INFO: Processing buffer {"connection_id":205051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:51:46] local.INFO: Packet analysis {"connection_id":205051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:51:46] local.INFO: Extracted packet for processing {"connection_id":205051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:51:46] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:51: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-10-05 20:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550600704001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791213585000,"timestamp_ms":1791213585000,"timestamp_seconds":1791213585,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca64268"} 
[2026-10-05 20:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:51: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-10-05 20:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":205051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":205051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":205051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550600704001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550600704001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:51:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:51:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550600704001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":205051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:51:46] local.INFO: GPS data processed {"connection_id":205051,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:51:46] local.INFO: Acknowledgment sent {"connection_id":205051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:52:04] local.INFO: TCP Data received {"connection_id":205055,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:52:04] local.INFO: Processing buffer {"connection_id":205055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:52:04] local.INFO: IMEI packet received {"connection_id":205055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":205055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:52:08] local.INFO: TCP Data received {"connection_id":205053,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:52:08] local.INFO: Processing buffer {"connection_id":205053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:52:08] local.INFO: Packet analysis {"connection_id":205053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:52:08] local.INFO: Extracted packet for processing {"connection_id":205053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:52:08] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":37,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550612736001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791213632000,"timestamp_ms":1791213632000,"timestamp_seconds":1791213632,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca6fa00"} 
[2026-10-05 20:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:52: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-10-05 20: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 20:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550612736001,"66":12917,"162":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 20:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550612736001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:52:08] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 20:52:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550612736001,"power":12917,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":205053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:52:08] local.INFO: GPS data processed {"connection_id":205053,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:52:08] local.INFO: Acknowledgment sent {"connection_id":205053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:52:10] local.INFO: TCP Data received {"connection_id":205055,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:52:10] local.INFO: Processing buffer {"connection_id":205055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:52:10] local.INFO: IMEI packet received {"connection_id":205055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":205055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:52:11] local.INFO: TCP Data received {"connection_id":205055,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:52:11] local.INFO: Processing buffer {"connection_id":205055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:52:11] local.INFO: Packet analysis {"connection_id":205055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:52:11] local.INFO: Extracted packet for processing {"connection_id":205055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:52:11] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550600704001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791213585000,"timestamp_ms":1791213585000,"timestamp_seconds":1791213585,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca64268"} 
[2026-10-05 20:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550600704001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550600704001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:52:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:52:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550600704001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":205055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:52:12] local.INFO: GPS data processed {"connection_id":205055,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:52:12] local.INFO: Acknowledgment sent {"connection_id":205055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:52:29] local.INFO: TCP Data received {"connection_id":204919,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:52:29] local.INFO: Processing buffer {"connection_id":204919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:52:29] local.INFO: IMEI packet received {"connection_id":204919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":204919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:52:30] local.INFO: TCP Data received {"connection_id":204920,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:52:30] local.INFO: Processing buffer {"connection_id":204920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:52:30] local.INFO: IMEI packet received {"connection_id":204920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":204920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:52:35] local.INFO: TCP Data received {"connection_id":204920,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:52:35] local.INFO: Processing buffer {"connection_id":204920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:52:35] local.INFO: IMEI packet received {"connection_id":204920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":204920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:52:37] local.INFO: TCP Data received {"connection_id":204920,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:52:37] local.INFO: Processing buffer {"connection_id":204920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:52:37] local.INFO: Packet analysis {"connection_id":204920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:52:37] local.INFO: Extracted packet for processing {"connection_id":204920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":37,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550612736001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791213632000,"timestamp_ms":1791213632000,"timestamp_seconds":1791213632,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca6fa00"} 
[2026-10-05 20:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 20:52: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-10-05 20: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-10-05 20:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550612736001,"66":12917,"162":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 20:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550612736001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:52:37] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 20:52:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550612736001,"power":12917,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":204920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969940,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:52:37] local.INFO: GPS data processed {"connection_id":204920,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:52:37] local.INFO: Acknowledgment sent {"connection_id":204920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:52:43] local.INFO: TCP Data received {"connection_id":205055,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:52:43] local.INFO: Processing buffer {"connection_id":205055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:52:43] local.INFO: Packet analysis {"connection_id":205055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:52:43] local.INFO: Extracted packet for processing {"connection_id":205055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:52:43] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550600704001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791213585000,"timestamp_ms":1791213585000,"timestamp_seconds":1791213585,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca64268"} 
[2026-10-05 20:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:52:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:52:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:52:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":205055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":205055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":205055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:52:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550600704001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550600704001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:52:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:52:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550600704001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":205055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:52:44] local.INFO: GPS data processed {"connection_id":205055,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:52:44] local.INFO: Acknowledgment sent {"connection_id":205055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:53:08] local.INFO: TCP Data received {"connection_id":204920,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:53:08] local.INFO: Processing buffer {"connection_id":204920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:53:08] local.INFO: Packet analysis {"connection_id":204920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:53:08] local.INFO: Extracted packet for processing {"connection_id":204920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:53:08] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":37,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550612736001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791213632000,"timestamp_ms":1791213632000,"timestamp_seconds":1791213632,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca6fa00"} 
[2026-10-05 20:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:53: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-10-05 20:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 20:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550612736001,"66":12917,"162":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 20:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550612736001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:53:08] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 20:53:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550612736001,"power":12917,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":204920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:53:08] local.INFO: GPS data processed {"connection_id":204920,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:53:08] local.INFO: Acknowledgment sent {"connection_id":204920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:53:09] local.INFO: TCP Data received {"connection_id":205056,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:53:09] local.INFO: Processing buffer {"connection_id":205056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:53:09] local.INFO: IMEI packet received {"connection_id":205056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":205056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:53:10] local.INFO: TCP Data received {"connection_id":206432,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:53:10] local.INFO: Processing buffer {"connection_id":206432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:53:10] local.INFO: IMEI packet received {"connection_id":206432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":206432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:53:16] local.INFO: TCP Data received {"connection_id":206432,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:53:16] local.INFO: Processing buffer {"connection_id":206432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:53:16] local.INFO: IMEI packet received {"connection_id":206432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":206432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:53:18] local.INFO: TCP Data received {"connection_id":206432,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:53:18] local.INFO: Processing buffer {"connection_id":206432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:53:18] local.INFO: Packet analysis {"connection_id":206432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:53:18] local.INFO: Extracted packet for processing {"connection_id":206432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:53:18] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550600704001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791213585000,"timestamp_ms":1791213585000,"timestamp_seconds":1791213585,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca64268"} 
[2026-10-05 20:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":206432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":206432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":206432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550600704001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550600704001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:53:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:53:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550600704001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":206432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:53:18] local.INFO: GPS data processed {"connection_id":206432,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:53:18] local.INFO: Acknowledgment sent {"connection_id":206432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:53:20] local.INFO: TCP Data received {"connection_id":206432,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:53:20] local.INFO: Processing buffer {"connection_id":206432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:53:20] local.INFO: Packet analysis {"connection_id":206432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:53:20] local.INFO: Extracted packet for processing {"connection_id":206432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:53:20] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550600704001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791213585000,"timestamp_ms":1791213585000,"timestamp_seconds":1791213585,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca64268"} 
[2026-10-05 20:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":206432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":206432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":206432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550600704001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550600704001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:53:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:53:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550600704001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":206432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:53:20] local.INFO: GPS data processed {"connection_id":206432,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:53:20] local.INFO: Acknowledgment sent {"connection_id":206432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:53:21] local.INFO: TCP Data received {"connection_id":205056,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:53:21] local.INFO: Processing buffer {"connection_id":205056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:53:21] local.INFO: IMEI packet received {"connection_id":205056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":205056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:53:30] local.INFO: TCP Data received {"connection_id":206433,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206433,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:53:30] local.INFO: Processing buffer {"connection_id":206433,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:53:30] local.INFO: IMEI packet received {"connection_id":206433,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":206433,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:53:34] local.INFO: TCP Data received {"connection_id":205056,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:53:34] local.INFO: Processing buffer {"connection_id":205056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:53:34] local.INFO: IMEI packet received {"connection_id":205056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":205056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:53:35] local.INFO: TCP Data received {"connection_id":206433,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206433,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:53:35] local.INFO: Processing buffer {"connection_id":206433,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:53:35] local.INFO: IMEI packet received {"connection_id":206433,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":206433,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:53:36] local.INFO: TCP Data received {"connection_id":206433,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:53:36] local.INFO: Processing buffer {"connection_id":206433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:53:36] local.INFO: Packet analysis {"connection_id":206433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:53:36] local.INFO: Extracted packet for processing {"connection_id":206433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:53:36] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":37,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550612736001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791213632000,"timestamp_ms":1791213632000,"timestamp_seconds":1791213632,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca6fa00"} 
[2026-10-05 20:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 20:53:36] 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-10-05 20:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550612736001,"66":12917,"162":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 20:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550612736001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:53:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 20:53:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550612736001,"power":12917,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":206433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969945,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:53:36] local.INFO: GPS data processed {"connection_id":206433,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:53:36] local.INFO: Acknowledgment sent {"connection_id":206433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:54:08] local.INFO: TCP Data received {"connection_id":206433,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:54:08] local.INFO: Processing buffer {"connection_id":206433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:54:08] local.INFO: Packet analysis {"connection_id":206433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:54:08] local.INFO: Extracted packet for processing {"connection_id":206433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:54:08] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":37,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550612736001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791213632000,"timestamp_ms":1791213632000,"timestamp_seconds":1791213632,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca6fa00"} 
[2026-10-05 20:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:54: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-10-05 20:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 20:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550612736001,"66":12917,"162":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 20:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550612736001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:54:08] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 20:54:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550612736001,"power":12917,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":206433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:54:08] local.INFO: GPS data processed {"connection_id":206433,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:54:08] local.INFO: Acknowledgment sent {"connection_id":206433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:54:14] local.INFO: TCP Data received {"connection_id":204922,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:54:14] local.INFO: Processing buffer {"connection_id":204922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:54:14] local.INFO: IMEI packet received {"connection_id":204922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":204922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:54:21] local.INFO: TCP Data received {"connection_id":204922,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:54:21] local.INFO: Processing buffer {"connection_id":204922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:54:21] local.INFO: IMEI packet received {"connection_id":204922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":204922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:54:27] local.INFO: TCP Data received {"connection_id":204922,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:54:27] local.INFO: Processing buffer {"connection_id":204922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:54:27] local.INFO: Packet analysis {"connection_id":204922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:54:27] local.INFO: Extracted packet for processing {"connection_id":204922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:54:27] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550600704001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1791213585000,"timestamp_ms":1791213585000,"timestamp_seconds":1791213585,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca64268"} 
[2026-10-05 20:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":204922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":204922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":204922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550600704001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550600704001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:54:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:54:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550600704001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":204922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:54:28] local.INFO: GPS data processed {"connection_id":204922,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:54:28] local.INFO: Acknowledgment sent {"connection_id":204922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:54:30] local.INFO: TCP Data received {"connection_id":204923,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:54:30] local.INFO: Processing buffer {"connection_id":204923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:54:30] local.INFO: IMEI packet received {"connection_id":204923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":204923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:54:35] local.INFO: TCP Data received {"connection_id":204923,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:54:35] local.INFO: Processing buffer {"connection_id":204923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:54:35] local.INFO: IMEI packet received {"connection_id":204923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":204923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:54:36] local.INFO: TCP Data received {"connection_id":204923,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:54:36] local.INFO: Processing buffer {"connection_id":204923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:54:36] local.INFO: Packet analysis {"connection_id":204923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:54:36] local.INFO: Extracted packet for processing {"connection_id":204923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:54:36] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":37,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550612736001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791213632000,"timestamp_ms":1791213632000,"timestamp_seconds":1791213632,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca6fa00"} 
[2026-10-05 20:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 20:54:36] 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-10-05 20:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550612736001,"66":12917,"162":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 20:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550612736001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:54:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 20:54:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550612736001,"power":12917,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":204923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:54:36] local.INFO: GPS data processed {"connection_id":204923,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:54:36] local.INFO: Acknowledgment sent {"connection_id":204923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:55:08] local.INFO: TCP Data received {"connection_id":204923,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:55:08] local.INFO: Processing buffer {"connection_id":204923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca6fa00012d7c114005db2dc00000015325..."} 
[2026-10-05 20:55:08] local.INFO: Packet analysis {"connection_id":204923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:55:08] local.INFO: Extracted packet for processing {"connection_id":204923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:55:08] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":37,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550612736001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791213632000,"timestamp_ms":1791213632000,"timestamp_seconds":1791213632,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca6fa00"} 
[2026-10-05 20:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:55: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-10-05 20:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 20:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550612736001,"66":12917,"162":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 20:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550612736001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:55:08] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 20:55:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550612736001,"power":12917,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":204923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969949,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:55:08] local.INFO: GPS data processed {"connection_id":204923,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:55:08] local.INFO: Acknowledgment sent {"connection_id":204923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:55:15] local.INFO: TCP Data received {"connection_id":208006,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:55:15] local.INFO: Processing buffer {"connection_id":208006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:55:15] local.INFO: IMEI packet received {"connection_id":208006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":208006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:55:22] local.INFO: TCP Data received {"connection_id":208006,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:55:22] local.INFO: Processing buffer {"connection_id":208006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:55:22] local.INFO: IMEI packet received {"connection_id":208006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":208006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:55:24] local.INFO: TCP Data received {"connection_id":208006,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:55:24] local.INFO: Processing buffer {"connection_id":208006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:55:24] local.INFO: Packet analysis {"connection_id":208006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:55:24] local.INFO: Extracted packet for processing {"connection_id":208006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:55:24] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550600704001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1791213585000,"timestamp_ms":1791213585000,"timestamp_seconds":1791213585,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca64268"} 
[2026-10-05 20:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":208006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":208006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":208006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550600704001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550600704001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:55:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:55:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550600704001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":208006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:55:24] local.INFO: GPS data processed {"connection_id":208006,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:55:24] local.INFO: Acknowledgment sent {"connection_id":208006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:55:27] local.INFO: TCP Data received {"connection_id":208006,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:55:27] local.INFO: Processing buffer {"connection_id":208006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ca64268012d196600071feee80039015428..."} 
[2026-10-05 20:55:27] local.INFO: Packet analysis {"connection_id":208006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:55:27] local.INFO: Extracted packet for processing {"connection_id":208006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ca6"} 
[2026-10-05 20:55:27] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550600704001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1791213585000,"timestamp_ms":1791213585000,"timestamp_seconds":1791213585,"priority":1,"record_length":96,"hex_timestamp":"000001a10ca64268"} 
[2026-10-05 20:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 20:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20: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-10-05 20:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":208006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":208006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":208006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550600704001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550600704001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:55:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:55:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550600704001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":208006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:55:27] local.INFO: GPS data processed {"connection_id":208006,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:55:27] local.INFO: Acknowledgment sent {"connection_id":208006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:55:34] local.INFO: TCP Data received {"connection_id":206436,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:55:34] local.INFO: Processing buffer {"connection_id":206436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:55:34] local.INFO: IMEI packet received {"connection_id":206436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":206436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:55:35] local.INFO: TCP Data received {"connection_id":206436,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:55:35] local.INFO: Processing buffer {"connection_id":206436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:55:35] local.INFO: IMEI packet received {"connection_id":206436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":206436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:55:40] local.INFO: TCP Data received {"connection_id":206436,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:55:40] local.INFO: Processing buffer {"connection_id":206436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:55:40] local.INFO: IMEI packet received {"connection_id":206436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":206436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:55:41] local.INFO: TCP Data received {"connection_id":206436,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:55:41] local.INFO: Processing buffer {"connection_id":206436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:55:41] local.INFO: Packet analysis {"connection_id":206436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cab"} 
[2026-10-05 20:55:41] local.INFO: Extracted packet for processing {"connection_id":206436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cab"} 
[2026-10-05 20:55:41] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":37,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550689792001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791213933000,"timestamp_ms":1791213933000,"timestamp_seconds":1791213933,"priority":1,"record_length":96,"hex_timestamp":"000001a10cab91c8"} 
[2026-10-05 20:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 20:55:41] 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-10-05 20:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":206436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":206436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":206436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550689792001,"66":12939,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550689792001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:55:41] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:55:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550689792001,"power":12939,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":206436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:55:42] local.INFO: GPS data processed {"connection_id":206436,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:55:42] local.INFO: Acknowledgment sent {"connection_id":206436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:55:46] local.INFO: TCP Data received {"connection_id":206436,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:55:46] local.INFO: Processing buffer {"connection_id":206436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:55:46] local.INFO: Packet analysis {"connection_id":206436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cab"} 
[2026-10-05 20:55:46] local.INFO: Extracted packet for processing {"connection_id":206436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cab"} 
[2026-10-05 20:55:46] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":37,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550689792001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791213933000,"timestamp_ms":1791213933000,"timestamp_seconds":1791213933,"priority":1,"record_length":96,"hex_timestamp":"000001a10cab91c8"} 
[2026-10-05 20:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 20:55:46] 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-10-05 20:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":206436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":206436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":206436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550689792001,"66":12939,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550689792001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:55:46] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:55:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550689792001,"power":12939,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":206436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969953,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:55:46] local.INFO: GPS data processed {"connection_id":206436,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:55:46] local.INFO: Acknowledgment sent {"connection_id":206436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:56:10] local.INFO: TCP Data received {"connection_id":208009,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:56:10] local.INFO: Processing buffer {"connection_id":208009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:56:10] local.INFO: IMEI packet received {"connection_id":208009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":208009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:56:21] local.INFO: TCP Data received {"connection_id":208009,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:56:21] local.INFO: Processing buffer {"connection_id":208009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:56:21] local.INFO: IMEI packet received {"connection_id":208009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":208009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:56:26] local.INFO: TCP Data received {"connection_id":208009,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10caada30012d196600071feee80039015428..."} 
[2026-10-05 20:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10caada30012d196600071feee80039015428..."} 
[2026-10-05 20:56:26] local.INFO: Processing buffer {"connection_id":208009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10caada30012d196600071feee80039015428..."} 
[2026-10-05 20:56:26] local.INFO: Packet analysis {"connection_id":208009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10caa"} 
[2026-10-05 20:56:26] local.INFO: Extracted packet for processing {"connection_id":208009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10caa"} 
[2026-10-05 20:56:26] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550677760001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1791213886000,"timestamp_ms":1791213886000,"timestamp_seconds":1791213886,"priority":1,"record_length":96,"hex_timestamp":"000001a10caada30"} 
[2026-10-05 20:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 20:56:26] 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-10-05 20: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-10-05 20:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":208009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":208009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":208009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550677760001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550677760001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:56:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:56:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550677760001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":208009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:56:26] local.INFO: GPS data processed {"connection_id":208009,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:56:26] local.INFO: Acknowledgment sent {"connection_id":208009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:56:30] local.INFO: TCP Data received {"connection_id":206437,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:56:30] local.INFO: Processing buffer {"connection_id":206437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:56:30] local.INFO: IMEI packet received {"connection_id":206437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":206437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:56:33] local.INFO: TCP Data received {"connection_id":208009,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10caada30012d196600071feee80039015428..."} 
[2026-10-05 20:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10caada30012d196600071feee80039015428..."} 
[2026-10-05 20:56:33] local.INFO: Processing buffer {"connection_id":208009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10caada30012d196600071feee80039015428..."} 
[2026-10-05 20:56:33] local.INFO: Packet analysis {"connection_id":208009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10caa"} 
[2026-10-05 20:56:33] local.INFO: Extracted packet for processing {"connection_id":208009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10caa"} 
[2026-10-05 20:56:33] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550677760001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791213886000,"timestamp_ms":1791213886000,"timestamp_seconds":1791213886,"priority":1,"record_length":96,"hex_timestamp":"000001a10caada30"} 
[2026-10-05 20:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 20:56:33] 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-10-05 20: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-10-05 20:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":208009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":208009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":208009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550677760001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550677760001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:56:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:56:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550677760001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":208009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:56:33] local.INFO: GPS data processed {"connection_id":208009,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:56:33] local.INFO: Acknowledgment sent {"connection_id":208009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:56:35] local.INFO: TCP Data received {"connection_id":206437,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:56:35] local.INFO: Processing buffer {"connection_id":206437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:56:35] local.INFO: IMEI packet received {"connection_id":206437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":206437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:56:37] local.INFO: TCP Data received {"connection_id":206437,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:56:37] local.INFO: Processing buffer {"connection_id":206437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:56:37] local.INFO: Packet analysis {"connection_id":206437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cab"} 
[2026-10-05 20:56:37] local.INFO: Extracted packet for processing {"connection_id":206437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cab"} 
[2026-10-05 20:56:37] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":37,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550689792001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791213933000,"timestamp_ms":1791213933000,"timestamp_seconds":1791213933,"priority":1,"record_length":96,"hex_timestamp":"000001a10cab91c8"} 
[2026-10-05 20:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 20:56:37] 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-10-05 20:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550689792001,"66":12939,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550689792001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:56:37] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:56:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550689792001,"power":12939,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":206437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:56:37] local.INFO: GPS data processed {"connection_id":206437,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:56:37] local.INFO: Acknowledgment sent {"connection_id":206437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:56:58] local.INFO: TCP Data received {"connection_id":204924,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:56:59] local.INFO: Processing buffer {"connection_id":204924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:56:59] local.INFO: IMEI packet received {"connection_id":204924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 20:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":204924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:57:05] local.INFO: TCP Data received {"connection_id":208010,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:57:05] local.INFO: Processing buffer {"connection_id":208010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:57:05] local.INFO: IMEI packet received {"connection_id":208010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":208010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:57:08] local.INFO: TCP Data received {"connection_id":206437,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:57:08] local.INFO: Processing buffer {"connection_id":206437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:57:08] local.INFO: Packet analysis {"connection_id":206437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cab"} 
[2026-10-05 20:57:08] local.INFO: Extracted packet for processing {"connection_id":206437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cab"} 
[2026-10-05 20:57:08] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":37,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:57: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-10-05 20:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550689792001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791213933000,"timestamp_ms":1791213933000,"timestamp_seconds":1791213933,"priority":1,"record_length":96,"hex_timestamp":"000001a10cab91c8"} 
[2026-10-05 20:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:57: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-10-05 20:57: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":117,"data_length":795,"current_offset":136} 
[2026-10-05 20:57:08] 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-10-05 20:57: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-10-05 20:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550689792001,"66":12939,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550689792001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:57:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:57:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550689792001,"power":12939,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":206437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969957,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:57:08] local.INFO: GPS data processed {"connection_id":206437,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:57:08] local.INFO: Acknowledgment sent {"connection_id":206437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:57:10] local.INFO: TCP Data received {"connection_id":208010,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:57:10] local.INFO: Processing buffer {"connection_id":208010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:57:10] local.INFO: IMEI packet received {"connection_id":208010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":208010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:57:11] local.INFO: TCP Data received {"connection_id":208010,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10caada30012d196600071feee80039015428..."} 
[2026-10-05 20:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10caada30012d196600071feee80039015428..."} 
[2026-10-05 20:57:11] local.INFO: Processing buffer {"connection_id":208010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10caada30012d196600071feee80039015428..."} 
[2026-10-05 20:57:11] local.INFO: Packet analysis {"connection_id":208010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10caa"} 
[2026-10-05 20:57:11] local.INFO: Extracted packet for processing {"connection_id":208010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10caa"} 
[2026-10-05 20:57:11] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550677760001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791213886000,"timestamp_ms":1791213886000,"timestamp_seconds":1791213886,"priority":1,"record_length":96,"hex_timestamp":"000001a10caada30"} 
[2026-10-05 20:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 20:57:11] 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-10-05 20:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":208010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":208010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":208010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550677760001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550677760001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:57:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:57:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550677760001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":208010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:57:11] local.INFO: GPS data processed {"connection_id":208010,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:57:11] local.INFO: Acknowledgment sent {"connection_id":208010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:57:30] local.INFO: TCP Data received {"connection_id":205057,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:57:30] local.INFO: Processing buffer {"connection_id":205057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:57:30] local.INFO: IMEI packet received {"connection_id":205057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":205057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:57:35] local.INFO: TCP Data received {"connection_id":205057,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:57:35] local.INFO: Processing buffer {"connection_id":205057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:57:35] local.INFO: IMEI packet received {"connection_id":205057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":205057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:57:37] local.INFO: TCP Data received {"connection_id":205057,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:57:37] local.INFO: Processing buffer {"connection_id":205057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:57:37] local.INFO: Packet analysis {"connection_id":205057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cab"} 
[2026-10-05 20:57:37] local.INFO: Extracted packet for processing {"connection_id":205057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cab"} 
[2026-10-05 20:57:37] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":37,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550689792001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791213933000,"timestamp_ms":1791213933000,"timestamp_seconds":1791213933,"priority":1,"record_length":96,"hex_timestamp":"000001a10cab91c8"} 
[2026-10-05 20:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 20:57:37] 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-10-05 20: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-10-05 20:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550689792001,"66":12939,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550689792001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:57:37] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:57:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550689792001,"power":12939,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":205057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969959,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:57:37] local.INFO: GPS data processed {"connection_id":205057,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:57:37] local.INFO: Acknowledgment sent {"connection_id":205057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:57:39] local.INFO: TCP Data received {"connection_id":204925,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204925,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:57:39] local.INFO: Processing buffer {"connection_id":204925,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 20:57:39] local.INFO: IMEI packet received {"connection_id":204925,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 20:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":204925,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:57:48] local.INFO: TCP Data received {"connection_id":208010,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10caada30012d196600071feee80039015428..."} 
[2026-10-05 20:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10caada30012d196600071feee80039015428..."} 
[2026-10-05 20:57:48] local.INFO: Processing buffer {"connection_id":208010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10caada30012d196600071feee80039015428..."} 
[2026-10-05 20:57:48] local.INFO: Packet analysis {"connection_id":208010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10caa"} 
[2026-10-05 20:57:48] local.INFO: Extracted packet for processing {"connection_id":208010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10caa"} 
[2026-10-05 20:57:48] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550677760001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791213886000,"timestamp_ms":1791213886000,"timestamp_seconds":1791213886,"priority":1,"record_length":96,"hex_timestamp":"000001a10caada30"} 
[2026-10-05 20:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 20:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:57:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":208010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":208010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":208010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550677760001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550677760001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:57:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:57:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550677760001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":208010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:57:48] local.INFO: GPS data processed {"connection_id":208010,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:57:48] local.INFO: Acknowledgment sent {"connection_id":208010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:58:08] local.INFO: TCP Data received {"connection_id":205057,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:58:08] local.INFO: Processing buffer {"connection_id":205057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:58:08] local.INFO: Packet analysis {"connection_id":205057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cab"} 
[2026-10-05 20:58:08] local.INFO: Extracted packet for processing {"connection_id":205057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cab"} 
[2026-10-05 20:58:08] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":37,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550689792001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791213933000,"timestamp_ms":1791213933000,"timestamp_seconds":1791213933,"priority":1,"record_length":96,"hex_timestamp":"000001a10cab91c8"} 
[2026-10-05 20:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:58: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-10-05 20: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 20:58:08] 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-10-05 20: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-10-05 20:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550689792001,"66":12939,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550689792001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:58:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:58:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550689792001,"power":12939,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":205057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:58:08] local.INFO: GPS data processed {"connection_id":205057,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:58:08] local.INFO: Acknowledgment sent {"connection_id":205057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:58:10] local.INFO: TCP Data received {"connection_id":206439,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:58:10] local.INFO: Processing buffer {"connection_id":206439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:58:10] local.INFO: IMEI packet received {"connection_id":206439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":206439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:58:15] local.INFO: TCP Data received {"connection_id":206439,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:58:15] local.INFO: Processing buffer {"connection_id":206439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:58:15] local.INFO: IMEI packet received {"connection_id":206439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":206439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:58:16] local.INFO: TCP Data received {"connection_id":206439,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10caada30012d196600071feee80039015428..."} 
[2026-10-05 20:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10caada30012d196600071feee80039015428..."} 
[2026-10-05 20:58:16] local.INFO: Processing buffer {"connection_id":206439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10caada30012d196600071feee80039015428..."} 
[2026-10-05 20:58:16] local.INFO: Packet analysis {"connection_id":206439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10caa"} 
[2026-10-05 20:58:16] local.INFO: Extracted packet for processing {"connection_id":206439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10caa"} 
[2026-10-05 20:58:16] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550677760001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791213886000,"timestamp_ms":1791213886000,"timestamp_seconds":1791213886,"priority":1,"record_length":96,"hex_timestamp":"000001a10caada30"} 
[2026-10-05 20:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 20:58:16] 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-10-05 20:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":206439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":206439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":206439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550677760001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550677760001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:58:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:58:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550677760001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":206439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:58:16] local.INFO: GPS data processed {"connection_id":206439,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:58:16] local.INFO: Acknowledgment sent {"connection_id":206439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:58:20] local.INFO: TCP Data received {"connection_id":206439,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10caada30012d196600071feee80039015428..."} 
[2026-10-05 20:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10caada30012d196600071feee80039015428..."} 
[2026-10-05 20:58:20] local.INFO: Processing buffer {"connection_id":206439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10caada30012d196600071feee80039015428..."} 
[2026-10-05 20:58:20] local.INFO: Packet analysis {"connection_id":206439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10caa"} 
[2026-10-05 20:58:20] local.INFO: Extracted packet for processing {"connection_id":206439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10caa"} 
[2026-10-05 20:58:20] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550677760001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791213886000,"timestamp_ms":1791213886000,"timestamp_seconds":1791213886,"priority":1,"record_length":96,"hex_timestamp":"000001a10caada30"} 
[2026-10-05 20:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 20:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":206439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":206439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":206439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550677760001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550677760001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:58:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:58:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550677760001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":206439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:58:20] local.INFO: GPS data processed {"connection_id":206439,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:58:20] local.INFO: Acknowledgment sent {"connection_id":206439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:58:24] local.INFO: TCP Data received {"connection_id":205058,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:58:24] local.INFO: Processing buffer {"connection_id":205058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:58:24] local.INFO: IMEI packet received {"connection_id":205058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":205058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:58:26] local.INFO: TCP Data received {"connection_id":205058,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10c8d28a0012d7796c005f2e928000b00a929..."} 
[2026-10-05 20:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10c8d28a0012d7796c005f2e928000b00a929..."} 
[2026-10-05 20:58:26] local.INFO: Processing buffer {"connection_id":205058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10c8d28a0012d7796c005f2e928000b00a929..."} 
[2026-10-05 20:58:26] local.INFO: Packet analysis {"connection_id":205058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10c8d"} 
[2026-10-05 20:58:26] local.INFO: Extracted packet for processing {"connection_id":205058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10c8d"} 
[2026-10-05 20:58:26] local.INFO: GPS Element Parsed {"raw_longitude":762812096,"raw_latitude":99805480,"longitude_deg":76.2812096,"latitude_deg":9.980548,"altitude":11,"angle":169,"satellites":41,"speed":22,"hex_longitude":"2d7796c0","hex_latitude":"05f2e928","is_valid_coordinates":true} 
[2026-10-05 20:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550251264001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2243222763995136,"note":"Value kept but may cause issues"} 
[2026-10-05 20:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8615737956433047552,"note":"Value kept but may cause issues"} 
[2026-10-05 20:58: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-10-05 20:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1791211940000,"timestamp_ms":1791211940000,"timestamp_seconds":1791211940,"priority":1,"record_length":96,"hex_timestamp":"000001a10c8d28a0"} 
[2026-10-05 20:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 20:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-05 20:58:26] 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-10-05 20:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":205058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":205058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":205058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 20:58: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-10-05 20:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 20:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 20:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550251264001,"66":27169,"160":206,"87":13568,"24":22,"16":2243222763995136,"45":8615737956433047552},"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-10-05 20:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 20:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 20:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550251264001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:58:26] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:58:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 20:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2243222763995136,"km_value":2243222763995.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8615737956433047552,"description":"Unknown IO ID 45"} 
[2026-10-05 20:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550251264001,"power":27169,"unknown_160":206,"unknown_87":13568,"ignition":22,"odometer":null,"unknown_45":8615737956433047552}} 
[2026-10-05 20:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":205058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:58:26] local.INFO: GPS data processed {"connection_id":205058,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:58:26] local.INFO: Acknowledgment sent {"connection_id":205058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:58:30] local.INFO: TCP Data received {"connection_id":204926,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:58:30] local.INFO: Processing buffer {"connection_id":204926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:58:30] local.INFO: IMEI packet received {"connection_id":204926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":204926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:58:35] local.INFO: TCP Data received {"connection_id":204926,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:58:35] local.INFO: Processing buffer {"connection_id":204926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:58:35] local.INFO: IMEI packet received {"connection_id":204926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":204926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:58:37] local.INFO: TCP Data received {"connection_id":204926,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:58:37] local.INFO: Processing buffer {"connection_id":204926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:58:37] local.INFO: Packet analysis {"connection_id":204926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cab"} 
[2026-10-05 20:58:37] local.INFO: Extracted packet for processing {"connection_id":204926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cab"} 
[2026-10-05 20:58:37] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":37,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550689792001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791213933000,"timestamp_ms":1791213933000,"timestamp_seconds":1791213933,"priority":1,"record_length":96,"hex_timestamp":"000001a10cab91c8"} 
[2026-10-05 20:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 20:58:37] 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-10-05 20: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-10-05 20:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550689792001,"66":12939,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550689792001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:58:37] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:58:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550689792001,"power":12939,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":204926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:58:37] local.INFO: GPS data processed {"connection_id":204926,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:58:37] local.INFO: Acknowledgment sent {"connection_id":204926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:58:54] local.INFO: TCP Data received {"connection_id":208011,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:58:54] local.INFO: Processing buffer {"connection_id":208011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 20:58:54] local.INFO: IMEI packet received {"connection_id":208011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 20:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":208011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:59:04] local.INFO: TCP Data received {"connection_id":208012,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:59:04] local.INFO: Processing buffer {"connection_id":208012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:59:04] local.INFO: IMEI packet received {"connection_id":208012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 20:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":208012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:59:06] local.INFO: TCP Data received {"connection_id":208011,"ip":"42.106.6.38","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 20:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208011,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 20:59:06] local.INFO: Processing buffer {"connection_id":208011,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 20:59:06] local.INFO: IMEI packet received {"connection_id":208011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 20:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":208011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:59:08] local.INFO: TCP Data received {"connection_id":204926,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:59:08] local.INFO: Processing buffer {"connection_id":204926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:59:08] local.INFO: Packet analysis {"connection_id":204926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cab"} 
[2026-10-05 20:59:08] local.INFO: Extracted packet for processing {"connection_id":204926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cab"} 
[2026-10-05 20:59:08] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":37,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550689792001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791213933000,"timestamp_ms":1791213933000,"timestamp_seconds":1791213933,"priority":1,"record_length":96,"hex_timestamp":"000001a10cab91c8"} 
[2026-10-05 20:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20: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-10-05 20: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":117,"data_length":795,"current_offset":136} 
[2026-10-05 20:59:08] 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-10-05 20: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-10-05 20:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550689792001,"66":12939,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550689792001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:59:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:59:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550689792001,"power":12939,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":204926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:59:08] local.INFO: GPS data processed {"connection_id":204926,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:59:08] local.INFO: Acknowledgment sent {"connection_id":204926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:59:12] local.INFO: TCP Data received {"connection_id":208012,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:59:12] local.INFO: Processing buffer {"connection_id":208012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 20:59:12] local.INFO: IMEI packet received {"connection_id":208012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 20:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":208012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:59:14] local.INFO: TCP Data received {"connection_id":208012,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10caada30012d196600071feee80039015428..."} 
[2026-10-05 20:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10caada30012d196600071feee80039015428..."} 
[2026-10-05 20:59:14] local.INFO: Processing buffer {"connection_id":208012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10caada30012d196600071feee80039015428..."} 
[2026-10-05 20:59:14] local.INFO: Packet analysis {"connection_id":208012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10caa"} 
[2026-10-05 20:59:14] local.INFO: Extracted packet for processing {"connection_id":208012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10caa"} 
[2026-10-05 20:59:14] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550677760001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791213886000,"timestamp_ms":1791213886000,"timestamp_seconds":1791213886,"priority":1,"record_length":96,"hex_timestamp":"000001a10caada30"} 
[2026-10-05 20:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 20:59:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":208012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":208012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":208012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550677760001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550677760001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:59:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:59:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550677760001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":208012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:59:14] local.INFO: GPS data processed {"connection_id":208012,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:59:14] local.INFO: Acknowledgment sent {"connection_id":208012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:59:35] local.INFO: TCP Data received {"connection_id":205059,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:59:35] local.INFO: Processing buffer {"connection_id":205059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:59:35] local.INFO: IMEI packet received {"connection_id":205059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 20:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":205059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 20:59:40] local.INFO: TCP Data received {"connection_id":205059,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:59:40] local.INFO: Processing buffer {"connection_id":205059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 20:59:40] local.INFO: IMEI packet received {"connection_id":205059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 20:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":205059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 20:59:41] local.INFO: TCP Data received {"connection_id":205059,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:59:41] local.INFO: Processing buffer {"connection_id":205059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:59:41] local.INFO: Packet analysis {"connection_id":205059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cab"} 
[2026-10-05 20:59:41] local.INFO: Extracted packet for processing {"connection_id":205059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cab"} 
[2026-10-05 20:59:41] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":37,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20: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-10-05 20:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550689792001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791213933000,"timestamp_ms":1791213933000,"timestamp_seconds":1791213933,"priority":1,"record_length":96,"hex_timestamp":"000001a10cab91c8"} 
[2026-10-05 20:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 20:59:41] 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-10-05 20: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-10-05 20:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":205059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":205059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":205059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550689792001,"66":12939,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550689792001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:59:41] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550689792001,"power":12939,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":205059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969968,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:59:41] local.INFO: GPS data processed {"connection_id":205059,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:59:41] local.INFO: Acknowledgment sent {"connection_id":205059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:59:46] local.INFO: TCP Data received {"connection_id":208012,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10caada30012d196600071feee80039015428..."} 
[2026-10-05 20:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10caada30012d196600071feee80039015428..."} 
[2026-10-05 20:59:46] local.INFO: Processing buffer {"connection_id":208012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10caada30012d196600071feee80039015428..."} 
[2026-10-05 20:59:46] local.INFO: Packet analysis {"connection_id":208012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10caa"} 
[2026-10-05 20:59:46] local.INFO: Extracted packet for processing {"connection_id":208012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10caa"} 
[2026-10-05 20:59:46] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 20:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550677760001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 20:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 20:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791213886000,"timestamp_ms":1791213886000,"timestamp_seconds":1791213886,"priority":1,"record_length":96,"hex_timestamp":"000001a10caada30"} 
[2026-10-05 20:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 20:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 20:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":208012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":208012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":208012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 20:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 20:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 20:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550677760001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 20:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 20:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 20:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550677760001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:59:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 20:59:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 20:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 20:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550677760001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 20:59:46] local.INFO: TCP Data received {"connection_id":205059,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:59:46] local.INFO: Processing buffer {"connection_id":205059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cab91c8012d7c114005db2dc00000015325..."} 
[2026-10-05 20:59:46] local.INFO: Packet analysis {"connection_id":205059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cab"} 
[2026-10-05 20:59:46] local.INFO: Extracted packet for processing {"connection_id":205059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cab"} 
[2026-10-05 20:59:46] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":37,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 20:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 20:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550689792001,"note":"Value kept but may cause issues"} 
[2026-10-05 20:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 20:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 20:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 20:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791213933000,"timestamp_ms":1791213933000,"timestamp_seconds":1791213933,"priority":1,"record_length":96,"hex_timestamp":"000001a10cab91c8"} 
[2026-10-05 20:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 20:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 20:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 20:59:46] 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-10-05 20:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 20:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 20:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 20:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":205059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 20:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":205059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":205059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 20:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 20:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 20:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 20:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550689792001,"66":12939,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 20:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 20:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 20:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550689792001,"description":"Unknown IO ID 0"} 
[2026-10-05 20:59:46] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 20:59:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 20:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 20:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 20:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550689792001,"power":12939,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 20:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":205059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:59:46] local.INFO: GPS data processed {"connection_id":205059,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:59:46] local.INFO: Acknowledgment sent {"connection_id":205059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 20:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":208012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 20:59:46] local.INFO: GPS data processed {"connection_id":208012,"processed":1,"errors":0,"total":1} 
[2026-10-05 20:59:46] local.INFO: Acknowledgment sent {"connection_id":208012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:00:04] local.INFO: TCP Data received {"connection_id":205060,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:00:04] local.INFO: Processing buffer {"connection_id":205060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:00:04] local.INFO: IMEI packet received {"connection_id":205060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":205060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:00:18] local.INFO: TCP Data received {"connection_id":205060,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:00:18] local.INFO: Processing buffer {"connection_id":205060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:00:18] local.INFO: IMEI packet received {"connection_id":205060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":205060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:00:20] local.INFO: TCP Data received {"connection_id":205060,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10caada30012d196600071feee80039015428..."} 
[2026-10-05 21:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10caada30012d196600071feee80039015428..."} 
[2026-10-05 21:00:20] local.INFO: Processing buffer {"connection_id":205060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10caada30012d196600071feee80039015428..."} 
[2026-10-05 21:00:20] local.INFO: Packet analysis {"connection_id":205060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10caa"} 
[2026-10-05 21:00:20] local.INFO: Extracted packet for processing {"connection_id":205060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10caa"} 
[2026-10-05 21:00:20] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550677760001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791213886000,"timestamp_ms":1791213886000,"timestamp_seconds":1791213886,"priority":1,"record_length":96,"hex_timestamp":"000001a10caada30"} 
[2026-10-05 21:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":205060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":205060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":205060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550677760001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550677760001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:00:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:00:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550677760001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":205060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:00:20] local.INFO: GPS data processed {"connection_id":205060,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:00:20] local.INFO: Acknowledgment sent {"connection_id":205060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:00:30] local.INFO: TCP Data received {"connection_id":204927,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:00:30] local.INFO: Processing buffer {"connection_id":204927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:00:30] local.INFO: IMEI packet received {"connection_id":204927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":204927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:00:35] local.INFO: TCP Data received {"connection_id":204927,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:00:35] local.INFO: Processing buffer {"connection_id":204927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:00:35] local.INFO: IMEI packet received {"connection_id":204927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":204927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:00:36] local.INFO: TCP Data received {"connection_id":204927,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:00:36] local.INFO: Processing buffer {"connection_id":204927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:00:36] local.INFO: Packet analysis {"connection_id":204927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb0"} 
[2026-10-05 21:00:36] local.INFO: Extracted packet for processing {"connection_id":204927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb0"} 
[2026-10-05 21:00:36] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":33,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550766848001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791214234000,"timestamp_ms":1791214234000,"timestamp_seconds":1791214234,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb02990"} 
[2026-10-05 21:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 21:00: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-10-05 21:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550766848001,"66":12885,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 21:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550766848001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:00:36] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:00:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550766848001,"power":12885,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":204927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:00:36] local.INFO: GPS data processed {"connection_id":204927,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:00:36] local.INFO: Acknowledgment sent {"connection_id":204927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:01:08] local.INFO: TCP Data received {"connection_id":204927,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:01:08] local.INFO: Processing buffer {"connection_id":204927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:01:08] local.INFO: Packet analysis {"connection_id":204927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb0"} 
[2026-10-05 21:01:08] local.INFO: Extracted packet for processing {"connection_id":204927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb0"} 
[2026-10-05 21:01:08] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":33,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 21:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550766848001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791214234000,"timestamp_ms":1791214234000,"timestamp_seconds":1791214234,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb02990"} 
[2026-10-05 21:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:01: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-10-05 21:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 21:01: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-10-05 21:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550766848001,"66":12885,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 21:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550766848001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:01:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:01:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550766848001,"power":12885,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":204927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:01:08] local.INFO: GPS data processed {"connection_id":204927,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:01:08] local.INFO: Acknowledgment sent {"connection_id":204927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:01:09] local.INFO: TCP Data received {"connection_id":206441,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:01:09] local.INFO: Processing buffer {"connection_id":206441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:01:09] local.INFO: IMEI packet received {"connection_id":206441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":206441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:01:19] local.INFO: TCP Data received {"connection_id":206441,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:01:19] local.INFO: Processing buffer {"connection_id":206441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:01:19] local.INFO: IMEI packet received {"connection_id":206441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":206441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:01:21] local.INFO: TCP Data received {"connection_id":206441,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10caf71f8012d196600071feee80039015427..."} 
[2026-10-05 21:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10caf71f8012d196600071feee80039015427..."} 
[2026-10-05 21:01:21] local.INFO: Processing buffer {"connection_id":206441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10caf71f8012d196600071feee80039015427..."} 
[2026-10-05 21:01:21] local.INFO: Packet analysis {"connection_id":206441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10caf"} 
[2026-10-05 21:01:21] local.INFO: Extracted packet for processing {"connection_id":206441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10caf"} 
[2026-10-05 21:01:21] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550754816001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791214187000,"timestamp_ms":1791214187000,"timestamp_seconds":1791214187,"priority":1,"record_length":96,"hex_timestamp":"000001a10caf71f8"} 
[2026-10-05 21:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:01:21] 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-10-05 21:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":206441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":206441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":206441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550754816001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550754816001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:01:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:01:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550754816001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":206441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:01:21] local.INFO: GPS data processed {"connection_id":206441,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:01:21] local.INFO: Acknowledgment sent {"connection_id":206441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:01:30] local.INFO: TCP Data received {"connection_id":204929,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:01:30] local.INFO: Processing buffer {"connection_id":204929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:01:30] local.INFO: IMEI packet received {"connection_id":204929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":204929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:01:35] local.INFO: TCP Data received {"connection_id":204929,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:01:35] local.INFO: Processing buffer {"connection_id":204929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:01:35] local.INFO: IMEI packet received {"connection_id":204929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":204929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:01:37] local.INFO: TCP Data received {"connection_id":204929,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:01:37] local.INFO: Processing buffer {"connection_id":204929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:01:37] local.INFO: Packet analysis {"connection_id":204929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb0"} 
[2026-10-05 21:01:37] local.INFO: Extracted packet for processing {"connection_id":204929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb0"} 
[2026-10-05 21:01:37] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":33,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 21:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550766848001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791214234000,"timestamp_ms":1791214234000,"timestamp_seconds":1791214234,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb02990"} 
[2026-10-05 21:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 21:01:37] 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-10-05 21:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550766848001,"66":12885,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 21:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550766848001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:01:37] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:01:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550766848001,"power":12885,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":204929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:01:37] local.INFO: GPS data processed {"connection_id":204929,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:01:37] local.INFO: Acknowledgment sent {"connection_id":204929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:02:06] local.INFO: TCP Data received {"connection_id":205062,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:02:06] local.INFO: Processing buffer {"connection_id":205062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:02:06] local.INFO: IMEI packet received {"connection_id":205062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":205062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:02:08] local.INFO: TCP Data received {"connection_id":204929,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:02:08] local.INFO: Processing buffer {"connection_id":204929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:02:08] local.INFO: Packet analysis {"connection_id":204929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb0"} 
[2026-10-05 21:02:08] local.INFO: Extracted packet for processing {"connection_id":204929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb0"} 
[2026-10-05 21:02:08] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":33,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550766848001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791214234000,"timestamp_ms":1791214234000,"timestamp_seconds":1791214234,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb02990"} 
[2026-10-05 21:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:02: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-10-05 21: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":139,"data_length":795,"current_offset":136} 
[2026-10-05 21:02: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-10-05 21: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-10-05 21:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550766848001,"66":12885,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 21:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550766848001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:02:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:02:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550766848001,"power":12885,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":204929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:02:08] local.INFO: GPS data processed {"connection_id":204929,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:02:08] local.INFO: Acknowledgment sent {"connection_id":204929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:02:30] local.INFO: TCP Data received {"connection_id":206442,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:02:30] local.INFO: Processing buffer {"connection_id":206442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:02:30] local.INFO: IMEI packet received {"connection_id":206442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":206442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:02:35] local.INFO: TCP Data received {"connection_id":206442,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:02:35] local.INFO: Processing buffer {"connection_id":206442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:02:35] local.INFO: IMEI packet received {"connection_id":206442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":206442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:02:36] local.INFO: TCP Data received {"connection_id":206442,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:02:36] local.INFO: Processing buffer {"connection_id":206442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:02:36] local.INFO: Packet analysis {"connection_id":206442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb0"} 
[2026-10-05 21:02:36] local.INFO: Extracted packet for processing {"connection_id":206442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb0"} 
[2026-10-05 21:02:36] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":33,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 21:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550766848001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791214234000,"timestamp_ms":1791214234000,"timestamp_seconds":1791214234,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb02990"} 
[2026-10-05 21:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 21:02: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-10-05 21:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550766848001,"66":12885,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 21:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550766848001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:02:36] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:02:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550766848001,"power":12885,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":206442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:02:36] local.INFO: GPS data processed {"connection_id":206442,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:02:36] local.INFO: Acknowledgment sent {"connection_id":206442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:02:40] local.INFO: TCP Data received {"connection_id":205062,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:02:40] local.INFO: Processing buffer {"connection_id":205062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:02:40] local.INFO: IMEI packet received {"connection_id":205062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":205062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:02:42] local.INFO: TCP Data received {"connection_id":205062,"ip":"117.224.141.49","data_length":1360,"data_hex":"000000000000030f8e0a000001a10caf71f8012d196600071feee80039015427..."} 
[2026-10-05 21:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205062,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a10caf71f8012d196600071feee80039015427..."} 
[2026-10-05 21:02:42] local.INFO: Processing buffer {"connection_id":205062,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a10caf71f8012d196600071feee80039015427..."} 
[2026-10-05 21:02:42] local.INFO: Packet analysis {"connection_id":205062,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a10caf"} 
[2026-10-05 21:02:42] local.INFO: Extracted packet for processing {"connection_id":205062,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a10caf"} 
[2026-10-05 21:02:42] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550754816001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791214187000,"timestamp_ms":1791214187000,"timestamp_seconds":1791214187,"priority":1,"record_length":96,"hex_timestamp":"000001a10caf71f8"} 
[2026-10-05 21:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:02:42] 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-10-05 21:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":205062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":205062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":205062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550754816001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550754816001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:02:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:02:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550754816001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":205062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:02:42] local.INFO: GPS data processed {"connection_id":205062,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:02:42] local.INFO: Acknowledgment sent {"connection_id":205062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:02:42] local.INFO: Packet analysis {"connection_id":205062,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a10caf"} 
[2026-10-05 21:02:42] local.INFO: Incomplete packet, waiting for more data {"connection_id":205062,"needed":795,"available":565} 
[2026-10-05 21:03:00] local.INFO: TCP Data received {"connection_id":205063,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:03:00] local.INFO: Processing buffer {"connection_id":205063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:03:00] local.INFO: IMEI packet received {"connection_id":205063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 21:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":205063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:03:04] local.INFO: TCP Data received {"connection_id":206443,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:03:04] local.INFO: Processing buffer {"connection_id":206443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:03:04] local.INFO: IMEI packet received {"connection_id":206443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":206443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:03:08] local.INFO: TCP Data received {"connection_id":206442,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:03:08] local.INFO: Processing buffer {"connection_id":206442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:03:08] local.INFO: Packet analysis {"connection_id":206442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb0"} 
[2026-10-05 21:03:08] local.INFO: Extracted packet for processing {"connection_id":206442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb0"} 
[2026-10-05 21:03:08] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":33,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550766848001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791214234000,"timestamp_ms":1791214234000,"timestamp_seconds":1791214234,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb02990"} 
[2026-10-05 21:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:03: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-10-05 21: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 21:03: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-10-05 21: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-10-05 21:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550766848001,"66":12885,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 21:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550766848001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:03:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:03:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550766848001,"power":12885,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":206442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969979,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:03:08] local.INFO: GPS data processed {"connection_id":206442,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:03:08] local.INFO: Acknowledgment sent {"connection_id":206442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:03:15] local.INFO: TCP Data received {"connection_id":206443,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:03:15] local.INFO: Processing buffer {"connection_id":206443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:03:15] local.INFO: IMEI packet received {"connection_id":206443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":206443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:03:21] local.INFO: TCP Data received {"connection_id":206443,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10caf71f8012d196600071feee80039015427..."} 
[2026-10-05 21:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10caf71f8012d196600071feee80039015427..."} 
[2026-10-05 21:03:21] local.INFO: Processing buffer {"connection_id":206443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10caf71f8012d196600071feee80039015427..."} 
[2026-10-05 21:03:21] local.INFO: Packet analysis {"connection_id":206443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10caf"} 
[2026-10-05 21:03:21] local.INFO: Extracted packet for processing {"connection_id":206443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10caf"} 
[2026-10-05 21:03:21] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550754816001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791214187000,"timestamp_ms":1791214187000,"timestamp_seconds":1791214187,"priority":1,"record_length":96,"hex_timestamp":"000001a10caf71f8"} 
[2026-10-05 21:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:03:21] 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-10-05 21:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":206443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":206443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":206443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550754816001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550754816001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:03:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:03:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550754816001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":206443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:03:21] local.INFO: GPS data processed {"connection_id":206443,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:03:21] local.INFO: Acknowledgment sent {"connection_id":206443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:03:30] local.INFO: TCP Data received {"connection_id":204931,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:03:30] local.INFO: Processing buffer {"connection_id":204931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:03:30] local.INFO: IMEI packet received {"connection_id":204931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":204931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:03:33] local.INFO: TCP Data received {"connection_id":205064,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205064,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:03:33] local.INFO: Processing buffer {"connection_id":205064,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:03:33] local.INFO: IMEI packet received {"connection_id":205064,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 21:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":205064,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:03:35] local.INFO: TCP Data received {"connection_id":204931,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:03:35] local.INFO: Processing buffer {"connection_id":204931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:03:35] local.INFO: IMEI packet received {"connection_id":204931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":204931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:03:36] local.INFO: TCP Data received {"connection_id":204931,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:03:36] local.INFO: Processing buffer {"connection_id":204931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:03:36] local.INFO: Packet analysis {"connection_id":204931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb0"} 
[2026-10-05 21:03:36] local.INFO: Extracted packet for processing {"connection_id":204931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb0"} 
[2026-10-05 21:03:36] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":33,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 21:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550766848001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791214234000,"timestamp_ms":1791214234000,"timestamp_seconds":1791214234,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb02990"} 
[2026-10-05 21:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 21:03: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-10-05 21:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550766848001,"66":12885,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 21:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550766848001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:03:36] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:03:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550766848001,"power":12885,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":204931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:03:36] local.INFO: GPS data processed {"connection_id":204931,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:03:36] local.INFO: Acknowledgment sent {"connection_id":204931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:04:08] local.INFO: TCP Data received {"connection_id":204931,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:04:08] local.INFO: Processing buffer {"connection_id":204931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:04:08] local.INFO: Packet analysis {"connection_id":204931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb0"} 
[2026-10-05 21:04:08] local.INFO: Extracted packet for processing {"connection_id":204931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb0"} 
[2026-10-05 21:04:08] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":33,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 21:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550766848001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791214234000,"timestamp_ms":1791214234000,"timestamp_seconds":1791214234,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb02990"} 
[2026-10-05 21:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:04: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-10-05 21:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 21:04: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-10-05 21:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:04:08] 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-10-05 21:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550766848001,"66":12885,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 21:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550766848001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:04:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:04:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550766848001,"power":12885,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":204931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969982,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:04:08] local.INFO: GPS data processed {"connection_id":204931,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:04:08] local.INFO: Acknowledgment sent {"connection_id":204931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:04:09] local.INFO: TCP Data received {"connection_id":205065,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:04:09] local.INFO: Processing buffer {"connection_id":205065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:04:09] local.INFO: IMEI packet received {"connection_id":205065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":205065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:04:13] local.INFO: TCP Data received {"connection_id":205066,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:04:13] local.INFO: Processing buffer {"connection_id":205066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:04:13] local.INFO: IMEI packet received {"connection_id":205066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":205066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:04:19] local.INFO: TCP Data received {"connection_id":205065,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:04:19] local.INFO: Processing buffer {"connection_id":205065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:04:19] local.INFO: IMEI packet received {"connection_id":205065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":205065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:04:19] local.INFO: TCP Data received {"connection_id":205066,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:04:19] local.INFO: Processing buffer {"connection_id":205066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:04:19] local.INFO: IMEI packet received {"connection_id":205066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":205066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:04:20] local.INFO: TCP Data received {"connection_id":205065,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:04:20] local.INFO: Processing buffer {"connection_id":205065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:04:20] local.INFO: IMEI packet received {"connection_id":205065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":205065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:04:21] local.INFO: TCP Data received {"connection_id":205066,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10caf71f8012d196600071feee80039015427..."} 
[2026-10-05 21:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10caf71f8012d196600071feee80039015427..."} 
[2026-10-05 21:04:21] local.INFO: Processing buffer {"connection_id":205066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10caf71f8012d196600071feee80039015427..."} 
[2026-10-05 21:04:21] local.INFO: Packet analysis {"connection_id":205066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10caf"} 
[2026-10-05 21:04:21] local.INFO: Extracted packet for processing {"connection_id":205066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10caf"} 
[2026-10-05 21:04:21] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550754816001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791214187000,"timestamp_ms":1791214187000,"timestamp_seconds":1791214187,"priority":1,"record_length":96,"hex_timestamp":"000001a10caf71f8"} 
[2026-10-05 21:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:04:21] 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-10-05 21:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":205066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":205066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":205066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550754816001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550754816001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:04:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:04:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550754816001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":205066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:04:21] local.INFO: GPS data processed {"connection_id":205066,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:04:21] local.INFO: Acknowledgment sent {"connection_id":205066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:04:25] local.INFO: TCP Data received {"connection_id":205066,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10caf71f8012d196600071feee80039015427..."} 
[2026-10-05 21:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10caf71f8012d196600071feee80039015427..."} 
[2026-10-05 21:04:25] local.INFO: Processing buffer {"connection_id":205066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10caf71f8012d196600071feee80039015427..."} 
[2026-10-05 21:04:25] local.INFO: Packet analysis {"connection_id":205066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10caf"} 
[2026-10-05 21:04:25] local.INFO: Extracted packet for processing {"connection_id":205066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10caf"} 
[2026-10-05 21:04:25] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550754816001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1791214187000,"timestamp_ms":1791214187000,"timestamp_seconds":1791214187,"priority":1,"record_length":96,"hex_timestamp":"000001a10caf71f8"} 
[2026-10-05 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-10-05 21:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:04:25] 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-10-05 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-10-05 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-10-05 21:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":205066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":205066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":205066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550754816001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550754816001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:04:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:04:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550754816001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":205066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:04:26] local.INFO: GPS data processed {"connection_id":205066,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:04:26] local.INFO: Acknowledgment sent {"connection_id":205066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:04:27] local.INFO: TCP Data received {"connection_id":205065,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:04:27] local.INFO: Processing buffer {"connection_id":205065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:04:27] local.INFO: IMEI packet received {"connection_id":205065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":205065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:04:35] local.INFO: TCP Data received {"connection_id":206444,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206444,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:04:35] local.INFO: Processing buffer {"connection_id":206444,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:04:35] local.INFO: IMEI packet received {"connection_id":206444,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":206444,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:04:40] local.INFO: TCP Data received {"connection_id":206444,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206444,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:04:40] local.INFO: Processing buffer {"connection_id":206444,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:04:40] local.INFO: IMEI packet received {"connection_id":206444,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":206444,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:04:41] local.INFO: TCP Data received {"connection_id":206444,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:04:41] local.INFO: Processing buffer {"connection_id":206444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:04:41] local.INFO: Packet analysis {"connection_id":206444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb0"} 
[2026-10-05 21:04:41] local.INFO: Extracted packet for processing {"connection_id":206444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb0"} 
[2026-10-05 21:04:41] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":33,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 21:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550766848001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791214234000,"timestamp_ms":1791214234000,"timestamp_seconds":1791214234,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb02990"} 
[2026-10-05 21:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 21:04:41] 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-10-05 21:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":206444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":206444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":206444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:04: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-10-05 21:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550766848001,"66":12885,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 21:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550766848001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:04:41] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550766848001,"power":12885,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":206444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:04:41] local.INFO: GPS data processed {"connection_id":206444,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:04:41] local.INFO: Acknowledgment sent {"connection_id":206444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:04:46] local.INFO: TCP Data received {"connection_id":206444,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:04:46] local.INFO: Processing buffer {"connection_id":206444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:04:46] local.INFO: Packet analysis {"connection_id":206444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb0"} 
[2026-10-05 21:04:46] local.INFO: Extracted packet for processing {"connection_id":206444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb0"} 
[2026-10-05 21:04:46] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":33,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 21:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550766848001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791214234000,"timestamp_ms":1791214234000,"timestamp_seconds":1791214234,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb02990"} 
[2026-10-05 21:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 21:04:46] 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-10-05 21:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":206444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":206444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":206444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:04:46] 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-10-05 21:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550766848001,"66":12885,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 21:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550766848001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:04:46] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:04:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550766848001,"power":12885,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":206444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969986,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:04:46] local.INFO: GPS data processed {"connection_id":206444,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:04:46] local.INFO: Acknowledgment sent {"connection_id":206444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:05:14] local.INFO: TCP Data received {"connection_id":208017,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:05:14] local.INFO: Processing buffer {"connection_id":208017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:05:14] local.INFO: IMEI packet received {"connection_id":208017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":208017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:05:20] local.INFO: TCP Data received {"connection_id":208017,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:05:20] local.INFO: Processing buffer {"connection_id":208017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:05:20] local.INFO: IMEI packet received {"connection_id":208017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":208017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:05:22] local.INFO: TCP Data received {"connection_id":208017,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10caf71f8012d196600071feee80039015427..."} 
[2026-10-05 21:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10caf71f8012d196600071feee80039015427..."} 
[2026-10-05 21:05:22] local.INFO: Processing buffer {"connection_id":208017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10caf71f8012d196600071feee80039015427..."} 
[2026-10-05 21:05:22] local.INFO: Packet analysis {"connection_id":208017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10caf"} 
[2026-10-05 21:05:22] local.INFO: Extracted packet for processing {"connection_id":208017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10caf"} 
[2026-10-05 21:05:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550754816001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791214187000,"timestamp_ms":1791214187000,"timestamp_seconds":1791214187,"priority":1,"record_length":96,"hex_timestamp":"000001a10caf71f8"} 
[2026-10-05 21:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":208017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":208017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":208017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550754816001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550754816001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:05:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:05:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550754816001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":208017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:05:22] local.INFO: GPS data processed {"connection_id":208017,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:05:22] local.INFO: Acknowledgment sent {"connection_id":208017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:05:30] local.INFO: TCP Data received {"connection_id":208018,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:05:30] local.INFO: Processing buffer {"connection_id":208018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:05:30] local.INFO: IMEI packet received {"connection_id":208018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":208018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:05:35] local.INFO: TCP Data received {"connection_id":208018,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:05:35] local.INFO: Processing buffer {"connection_id":208018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:05:35] local.INFO: IMEI packet received {"connection_id":208018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":208018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:05:36] local.INFO: TCP Data received {"connection_id":208018,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:05:36] local.INFO: Processing buffer {"connection_id":208018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb02990012d7c114005db2dc00000015321..."} 
[2026-10-05 21:05:36] local.INFO: Packet analysis {"connection_id":208018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb0"} 
[2026-10-05 21:05:36] local.INFO: Extracted packet for processing {"connection_id":208018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb0"} 
[2026-10-05 21:05:36] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":0,"angle":339,"satellites":33,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 21:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550766848001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791214234000,"timestamp_ms":1791214234000,"timestamp_seconds":1791214234,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb02990"} 
[2026-10-05 21:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 21:05: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-10-05 21:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550766848001,"66":12885,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 21:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550766848001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:05:36] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:05:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550766848001,"power":12885,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":208018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:05:36] local.INFO: GPS data processed {"connection_id":208018,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:05:36] local.INFO: Acknowledgment sent {"connection_id":208018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:06:07] local.INFO: TCP Data received {"connection_id":208018,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:06:07] local.INFO: Processing buffer {"connection_id":208018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:06:07] local.INFO: Packet analysis {"connection_id":208018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:06:07] local.INFO: Extracted packet for processing {"connection_id":208018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:06:07] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":13,"angle":339,"satellites":35,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 21:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550843904001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791214535000,"timestamp_ms":1791214535000,"timestamp_seconds":1791214535,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb4c158"} 
[2026-10-05 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-10-05 21:06: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-10-05 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 21:06: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-10-05 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-10-05 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-10-05 21:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":208018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":208018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":208018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550843904001,"66":12885,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 21:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550843904001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:06:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:06:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550843904001,"power":12885,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":208018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:06:07] local.INFO: GPS data processed {"connection_id":208018,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:06:07] local.INFO: Acknowledgment sent {"connection_id":208018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:06:09] local.INFO: TCP Data received {"connection_id":206446,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:06:09] local.INFO: Processing buffer {"connection_id":206446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:06:09] local.INFO: IMEI packet received {"connection_id":206446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":206446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:06:15] local.INFO: TCP Data received {"connection_id":206446,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:06:15] local.INFO: Processing buffer {"connection_id":206446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:06:15] local.INFO: IMEI packet received {"connection_id":206446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":206446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:06:20] local.INFO: TCP Data received {"connection_id":206446,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb409c0012d196600071feee80039015429..."} 
[2026-10-05 21:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb409c0012d196600071feee80039015429..."} 
[2026-10-05 21:06:20] local.INFO: Processing buffer {"connection_id":206446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb409c0012d196600071feee80039015429..."} 
[2026-10-05 21:06:20] local.INFO: Packet analysis {"connection_id":206446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:06:20] local.INFO: Extracted packet for processing {"connection_id":206446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:06:20] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:06: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-10-05 21:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550831872001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791214488000,"timestamp_ms":1791214488000,"timestamp_seconds":1791214488,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb409c0"} 
[2026-10-05 21:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 21:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:06: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-10-05 21:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":206446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":206446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":206446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550831872001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550831872001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:06:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:06:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550831872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":206446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:06:20] local.INFO: GPS data processed {"connection_id":206446,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:06:20] local.INFO: Acknowledgment sent {"connection_id":206446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:06:30] local.INFO: TCP Data received {"connection_id":205068,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:06:30] local.INFO: Processing buffer {"connection_id":205068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:06:30] local.INFO: IMEI packet received {"connection_id":205068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":205068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:06:35] local.INFO: TCP Data received {"connection_id":205068,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:06:35] local.INFO: Processing buffer {"connection_id":205068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:06:35] local.INFO: IMEI packet received {"connection_id":205068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":205068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:06:36] local.INFO: TCP Data received {"connection_id":205068,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:06:36] local.INFO: Processing buffer {"connection_id":205068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:06:36] local.INFO: Packet analysis {"connection_id":205068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:06:36] local.INFO: Extracted packet for processing {"connection_id":205068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:06:36] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":13,"angle":339,"satellites":35,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 21:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550843904001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791214535000,"timestamp_ms":1791214535000,"timestamp_seconds":1791214535,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb4c158"} 
[2026-10-05 21:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 21:06: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-10-05 21:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550843904001,"66":12885,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 21:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550843904001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:06:36] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:06:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550843904001,"power":12885,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":205068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:06:36] local.INFO: GPS data processed {"connection_id":205068,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:06:36] local.INFO: Acknowledgment sent {"connection_id":205068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:07:04] local.INFO: TCP Data received {"connection_id":208019,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:07:04] local.INFO: Processing buffer {"connection_id":208019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:07:04] local.INFO: IMEI packet received {"connection_id":208019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":208019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:07:08] local.INFO: TCP Data received {"connection_id":205068,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:07:08] local.INFO: Processing buffer {"connection_id":205068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:07:08] local.INFO: Packet analysis {"connection_id":205068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:07:08] local.INFO: Extracted packet for processing {"connection_id":205068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:07:08] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":13,"angle":339,"satellites":35,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 21:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550843904001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791214535000,"timestamp_ms":1791214535000,"timestamp_seconds":1791214535,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb4c158"} 
[2026-10-05 21:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 21:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550843904001,"66":12885,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 21:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550843904001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:07:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:07:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550843904001,"power":12885,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":205068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:07:08] local.INFO: GPS data processed {"connection_id":205068,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:07:08] local.INFO: Acknowledgment sent {"connection_id":205068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:07:10] local.INFO: TCP Data received {"connection_id":208019,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:07:10] local.INFO: Processing buffer {"connection_id":208019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:07:10] local.INFO: IMEI packet received {"connection_id":208019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":208019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:07:11] local.INFO: TCP Data received {"connection_id":208019,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb409c0012d196600071feee80039015429..."} 
[2026-10-05 21:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb409c0012d196600071feee80039015429..."} 
[2026-10-05 21:07:11] local.INFO: Processing buffer {"connection_id":208019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb409c0012d196600071feee80039015429..."} 
[2026-10-05 21:07:11] local.INFO: Packet analysis {"connection_id":208019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:07:11] local.INFO: Extracted packet for processing {"connection_id":208019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:07:11] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550831872001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791214488000,"timestamp_ms":1791214488000,"timestamp_seconds":1791214488,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb409c0"} 
[2026-10-05 21:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 21:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":208019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":208019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":208019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550831872001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550831872001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:07:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:07:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550831872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":208019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:07:11] local.INFO: GPS data processed {"connection_id":208019,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:07:11] local.INFO: Acknowledgment sent {"connection_id":208019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:07:30] local.INFO: TCP Data received {"connection_id":206448,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:07:30] local.INFO: Processing buffer {"connection_id":206448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:07:30] local.INFO: IMEI packet received {"connection_id":206448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":206448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:07:35] local.INFO: TCP Data received {"connection_id":206448,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:07:35] local.INFO: Processing buffer {"connection_id":206448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:07:35] local.INFO: IMEI packet received {"connection_id":206448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":206448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:07:36] local.INFO: TCP Data received {"connection_id":206448,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:07:36] local.INFO: Processing buffer {"connection_id":206448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:07:36] local.INFO: Packet analysis {"connection_id":206448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:07:36] local.INFO: Extracted packet for processing {"connection_id":206448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:07:36] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":13,"angle":339,"satellites":35,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550843904001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791214535000,"timestamp_ms":1791214535000,"timestamp_seconds":1791214535,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb4c158"} 
[2026-10-05 21:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 21:07: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-10-05 21: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-10-05 21:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550843904001,"66":12885,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 21:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550843904001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:07:36] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:07:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550843904001,"power":12885,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":206448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969994,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:07:36] local.INFO: GPS data processed {"connection_id":206448,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:07:36] local.INFO: Acknowledgment sent {"connection_id":206448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:07:47] local.INFO: TCP Data received {"connection_id":208019,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb409c0012d196600071feee80039015429..."} 
[2026-10-05 21:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb409c0012d196600071feee80039015429..."} 
[2026-10-05 21:07:47] local.INFO: Processing buffer {"connection_id":208019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb409c0012d196600071feee80039015429..."} 
[2026-10-05 21:07:47] local.INFO: Packet analysis {"connection_id":208019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:07:47] local.INFO: Extracted packet for processing {"connection_id":208019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:07:47] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550831872001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791214488000,"timestamp_ms":1791214488000,"timestamp_seconds":1791214488,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb409c0"} 
[2026-10-05 21:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 21:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":208019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":208019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":208019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550831872001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550831872001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:07:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:07:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550831872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":208019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:07:47] local.INFO: GPS data processed {"connection_id":208019,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:07:47] local.INFO: Acknowledgment sent {"connection_id":208019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:08:08] local.INFO: TCP Data received {"connection_id":206448,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:08:08] local.INFO: Processing buffer {"connection_id":206448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:08:08] local.INFO: Packet analysis {"connection_id":206448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:08:08] local.INFO: Extracted packet for processing {"connection_id":206448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:08:08] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":13,"angle":339,"satellites":35,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 21:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550843904001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791214535000,"timestamp_ms":1791214535000,"timestamp_seconds":1791214535,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb4c158"} 
[2026-10-05 21:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 21:08: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-10-05 21:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550843904001,"66":12885,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 21:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550843904001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:08:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:08:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550843904001,"power":12885,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":206448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:08:08] local.INFO: GPS data processed {"connection_id":206448,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:08:08] local.INFO: Acknowledgment sent {"connection_id":206448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:08:14] local.INFO: TCP Data received {"connection_id":208020,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:08:14] local.INFO: Processing buffer {"connection_id":208020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:08:14] local.INFO: IMEI packet received {"connection_id":208020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":208020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:08:20] local.INFO: TCP Data received {"connection_id":208020,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:08:20] local.INFO: Processing buffer {"connection_id":208020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:08:20] local.INFO: IMEI packet received {"connection_id":208020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":208020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:08:21] local.INFO: TCP Data received {"connection_id":208020,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb409c0012d196600071feee80039015429..."} 
[2026-10-05 21:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb409c0012d196600071feee80039015429..."} 
[2026-10-05 21:08:21] local.INFO: Processing buffer {"connection_id":208020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb409c0012d196600071feee80039015429..."} 
[2026-10-05 21:08:21] local.INFO: Packet analysis {"connection_id":208020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:08:21] local.INFO: Extracted packet for processing {"connection_id":208020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:08:21] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:08: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-10-05 21:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550831872001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791214488000,"timestamp_ms":1791214488000,"timestamp_seconds":1791214488,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb409c0"} 
[2026-10-05 21:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:08: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":118,"data_length":795,"current_offset":136} 
[2026-10-05 21:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:08: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-10-05 21:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":208020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":208020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":208020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550831872001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550831872001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:08:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:08:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550831872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":208020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:08:21] local.INFO: GPS data processed {"connection_id":208020,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:08:21] local.INFO: Acknowledgment sent {"connection_id":208020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:08:30] local.INFO: TCP Data received {"connection_id":205070,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:08:30] local.INFO: Processing buffer {"connection_id":205070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:08:30] local.INFO: IMEI packet received {"connection_id":205070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":205070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:08:35] local.INFO: TCP Data received {"connection_id":205070,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:08:35] local.INFO: Processing buffer {"connection_id":205070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:08:35] local.INFO: IMEI packet received {"connection_id":205070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":205070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:08:36] local.INFO: TCP Data received {"connection_id":205070,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:08:36] local.INFO: Processing buffer {"connection_id":205070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:08:36] local.INFO: Packet analysis {"connection_id":205070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:08:36] local.INFO: Extracted packet for processing {"connection_id":205070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:08:36] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":13,"angle":339,"satellites":35,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 21:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550843904001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791214535000,"timestamp_ms":1791214535000,"timestamp_seconds":1791214535,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb4c158"} 
[2026-10-05 21:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 21:08: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-10-05 21:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550843904001,"66":12885,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 21:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550843904001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:08:36] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:08:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550843904001,"power":12885,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":205070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:08:36] local.INFO: GPS data processed {"connection_id":205070,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:08:36] local.INFO: Acknowledgment sent {"connection_id":205070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:09:09] local.INFO: TCP Data received {"connection_id":205070,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:09:09] local.INFO: Processing buffer {"connection_id":205070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:09:09] local.INFO: Packet analysis {"connection_id":205070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:09:09] local.INFO: Extracted packet for processing {"connection_id":205070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:09:09] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":13,"angle":339,"satellites":35,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 21:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550843904001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791214535000,"timestamp_ms":1791214535000,"timestamp_seconds":1791214535,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb4c158"} 
[2026-10-05 21:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 21:09:09] 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-10-05 21:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":205070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":205070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":205070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550843904001,"66":12885,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 21:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550843904001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:09:09] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:09:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550843904001,"power":12885,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":205070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:09:09] local.INFO: GPS data processed {"connection_id":205070,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:09:09] local.INFO: Acknowledgment sent {"connection_id":205070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:09:16] local.INFO: TCP Data received {"connection_id":204934,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:09:16] local.INFO: Processing buffer {"connection_id":204934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:09:16] local.INFO: IMEI packet received {"connection_id":204934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":204934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:09:20] local.INFO: TCP Data received {"connection_id":204934,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:09:20] local.INFO: Processing buffer {"connection_id":204934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:09:20] local.INFO: IMEI packet received {"connection_id":204934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":204934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:09:21] local.INFO: TCP Data received {"connection_id":204934,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb409c0012d196600071feee80039015429..."} 
[2026-10-05 21:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb409c0012d196600071feee80039015429..."} 
[2026-10-05 21:09:21] local.INFO: Processing buffer {"connection_id":204934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb409c0012d196600071feee80039015429..."} 
[2026-10-05 21:09:21] local.INFO: Packet analysis {"connection_id":204934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:09:21] local.INFO: Extracted packet for processing {"connection_id":204934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:09:21] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:09: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-10-05 21:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550831872001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791214488000,"timestamp_ms":1791214488000,"timestamp_seconds":1791214488,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb409c0"} 
[2026-10-05 21:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:09: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":118,"data_length":795,"current_offset":136} 
[2026-10-05 21:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:09: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-10-05 21:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":204934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":204934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":204934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550831872001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550831872001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:09:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:09:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550831872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":204934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:09:21] local.INFO: GPS data processed {"connection_id":204934,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:09:21] local.INFO: Acknowledgment sent {"connection_id":204934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:09:25] local.INFO: TCP Data received {"connection_id":204934,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb409c0012d196600071feee80039015429..."} 
[2026-10-05 21:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb409c0012d196600071feee80039015429..."} 
[2026-10-05 21:09:25] local.INFO: Processing buffer {"connection_id":204934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb409c0012d196600071feee80039015429..."} 
[2026-10-05 21:09:25] local.INFO: Packet analysis {"connection_id":204934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:09:25] local.INFO: Extracted packet for processing {"connection_id":204934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:09:25] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550831872001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1791214488000,"timestamp_ms":1791214488000,"timestamp_seconds":1791214488,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb409c0"} 
[2026-10-05 21:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 21:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21: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-10-05 21:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":204934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":204934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":204934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550831872001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550831872001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:09:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:09:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550831872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":204934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:09:25] local.INFO: GPS data processed {"connection_id":204934,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:09:25] local.INFO: Acknowledgment sent {"connection_id":204934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:09:32] local.INFO: TCP Data received {"connection_id":208021,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:09:32] local.INFO: Processing buffer {"connection_id":208021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:09:32] local.INFO: IMEI packet received {"connection_id":208021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":208021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:09:34] local.INFO: TCP Data received {"connection_id":208021,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb2ae18012d77a94005f27720000900ac25..."} 
[2026-10-05 21:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb2ae18012d77a94005f27720000900ac25..."} 
[2026-10-05 21:09:34] local.INFO: Processing buffer {"connection_id":208021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb2ae18012d77a94005f27720000900ac25..."} 
[2026-10-05 21:09:34] local.INFO: Packet analysis {"connection_id":208021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb2"} 
[2026-10-05 21:09:34] local.INFO: Extracted packet for processing {"connection_id":208021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb2"} 
[2026-10-05 21:09:34] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99776288,"longitude_deg":76.2816832,"latitude_deg":9.9776288,"altitude":9,"angle":172,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27720","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550809088001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 21:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864432640,"note":"Value kept but may cause issues"} 
[2026-10-05 21:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791214399000,"timestamp_ms":1791214399000,"timestamp_seconds":1791214399,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb2ae18"} 
[2026-10-05 21:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-10-05 21:09:34] 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-10-05 21: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-10-05 21:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":208021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":208021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":208021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 21:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 21:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550809088001,"66":26006,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622493355864432640},"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-10-05 21:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 21:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 21:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550809088001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:09:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:09:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 21:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864432640,"description":"Unknown IO ID 45"} 
[2026-10-05 21:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550809088001,"power":26006,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622493355864432640}} 
[2026-10-05 21:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":208021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:09:34] local.INFO: GPS data processed {"connection_id":208021,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:09:34] local.INFO: Acknowledgment sent {"connection_id":208021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:09:35] local.INFO: TCP Data received {"connection_id":208022,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:09:35] local.INFO: Processing buffer {"connection_id":208022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:09:35] local.INFO: IMEI packet received {"connection_id":208022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":208022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:09:40] local.INFO: TCP Data received {"connection_id":208022,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:09:40] local.INFO: Processing buffer {"connection_id":208022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:09:40] local.INFO: IMEI packet received {"connection_id":208022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":208022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:09:42] local.INFO: TCP Data received {"connection_id":208022,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:09:42] local.INFO: Processing buffer {"connection_id":208022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:09:42] local.INFO: Packet analysis {"connection_id":208022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:09:42] local.INFO: Extracted packet for processing {"connection_id":208022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:09:42] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":13,"angle":339,"satellites":35,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 21:09: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-10-05 21:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550843904001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791214535000,"timestamp_ms":1791214535000,"timestamp_seconds":1791214535,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb4c158"} 
[2026-10-05 21:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 21:09:42] 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-10-05 21:09: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-10-05 21:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":208022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":208022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":208022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550843904001,"66":12885,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 21:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550843904001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:09:42] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:09:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550843904001,"power":12885,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":208022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970003,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:09:42] local.INFO: GPS data processed {"connection_id":208022,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:09:42] local.INFO: Acknowledgment sent {"connection_id":208022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:09:46] local.INFO: TCP Data received {"connection_id":208022,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:09:46] local.INFO: Processing buffer {"connection_id":208022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:09:46] local.INFO: Packet analysis {"connection_id":208022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:09:46] local.INFO: Extracted packet for processing {"connection_id":208022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:09:46] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":13,"angle":339,"satellites":35,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 21:09: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-10-05 21:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550843904001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791214535000,"timestamp_ms":1791214535000,"timestamp_seconds":1791214535,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb4c158"} 
[2026-10-05 21:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 21:09:46] 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-10-05 21:09: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-10-05 21:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":208022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":208022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":208022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550843904001,"66":12885,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 21:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550843904001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:09:46] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:09:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550843904001,"power":12885,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":208022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970004,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:09:46] local.INFO: GPS data processed {"connection_id":208022,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:09:46] local.INFO: Acknowledgment sent {"connection_id":208022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:09:54] local.INFO: TCP Data received {"connection_id":208023,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:09:54] local.INFO: Processing buffer {"connection_id":208023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:09:54] local.INFO: IMEI packet received {"connection_id":208023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":208023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:09:59] local.INFO: TCP Data received {"connection_id":208023,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:09:59] local.INFO: Processing buffer {"connection_id":208023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:09:59] local.INFO: IMEI packet received {"connection_id":208023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":208023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:10:01] local.INFO: TCP Data received {"connection_id":208023,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb61148012d77a94005f27720000d00ac2b..."} 
[2026-10-05 21:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb61148012d77a94005f27720000d00ac2b..."} 
[2026-10-05 21:10:01] local.INFO: Processing buffer {"connection_id":208023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb61148012d77a94005f27720000d00ac2b..."} 
[2026-10-05 21:10:01] local.INFO: Packet analysis {"connection_id":208023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb6"} 
[2026-10-05 21:10:01] local.INFO: Extracted packet for processing {"connection_id":208023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb6"} 
[2026-10-05 21:10:01] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99776288,"longitude_deg":76.2816832,"latitude_deg":9.9776288,"altitude":13,"angle":172,"satellites":43,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27720","is_valid_coordinates":true} 
[2026-10-05 21:10: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-10-05 21:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550886144001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 21:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864432640,"note":"Value kept but may cause issues"} 
[2026-10-05 21:10: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-10-05 21:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1791214621000,"timestamp_ms":1791214621000,"timestamp_seconds":1791214621,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb61148"} 
[2026-10-05 21:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:10: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-10-05 21:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 21:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21: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-10-05 21:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":208023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":208023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":208023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 21:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 21:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550886144001,"66":25962,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622493355864432640},"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-10-05 21:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 21:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 21:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550886144001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:10:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:10:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 21:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864432640,"description":"Unknown IO ID 45"} 
[2026-10-05 21:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550886144001,"power":25962,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622493355864432640}} 
[2026-10-05 21:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":208023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:10:01] local.INFO: GPS data processed {"connection_id":208023,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:10:01] local.INFO: Acknowledgment sent {"connection_id":208023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:10:12] local.INFO: TCP Data received {"connection_id":205071,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:10:12] local.INFO: Processing buffer {"connection_id":205071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:10:12] local.INFO: IMEI packet received {"connection_id":205071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":205071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:10:20] local.INFO: TCP Data received {"connection_id":205071,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:10:20] local.INFO: Processing buffer {"connection_id":205071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:10:20] local.INFO: IMEI packet received {"connection_id":205071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":205071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:10:21] local.INFO: TCP Data received {"connection_id":205071,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb409c0012d196600071feee80039015429..."} 
[2026-10-05 21:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb409c0012d196600071feee80039015429..."} 
[2026-10-05 21:10:21] local.INFO: Processing buffer {"connection_id":205071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb409c0012d196600071feee80039015429..."} 
[2026-10-05 21:10:21] local.INFO: Packet analysis {"connection_id":205071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:10:21] local.INFO: Extracted packet for processing {"connection_id":205071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:10:21] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550831872001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791214488000,"timestamp_ms":1791214488000,"timestamp_seconds":1791214488,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb409c0"} 
[2026-10-05 21:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 21:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":205071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":205071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":205071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550831872001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550831872001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:10:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:10:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550831872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":205071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:10:22] local.INFO: GPS data processed {"connection_id":205071,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:10:22] local.INFO: Acknowledgment sent {"connection_id":205071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:10:30] local.INFO: TCP Data received {"connection_id":204935,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:10:30] local.INFO: Processing buffer {"connection_id":204935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:10:30] local.INFO: IMEI packet received {"connection_id":204935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":204935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:10:32] local.INFO: TCP Data received {"connection_id":208023,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb628b8012d77a90005f27240000d016229..."} 
[2026-10-05 21:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb628b8012d77a90005f27240000d016229..."} 
[2026-10-05 21:10:32] local.INFO: Processing buffer {"connection_id":208023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb628b8012d77a90005f27240000d016229..."} 
[2026-10-05 21:10:32] local.INFO: Packet analysis {"connection_id":208023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb6"} 
[2026-10-05 21:10:32] local.INFO: Extracted packet for processing {"connection_id":208023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb6"} 
[2026-10-05 21:10:32] local.INFO: GPS Element Parsed {"raw_longitude":762816768,"raw_latitude":99775040,"longitude_deg":76.2816768,"latitude_deg":9.977504,"altitude":13,"angle":354,"satellites":41,"speed":0,"hex_longitude":"2d77a900","hex_latitude":"05f27240","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550942976001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 21:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864432640,"note":"Value kept but may cause issues"} 
[2026-10-05 21:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1791214627000,"timestamp_ms":1791214627000,"timestamp_seconds":1791214627,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb628b8"} 
[2026-10-05 21:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:10: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-10-05 21:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 21:10:32] 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-10-05 21: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-10-05 21:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":208023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":208023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":208023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 21:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 21:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550942976001,"66":25006,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622493355864432640},"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-10-05 21:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 21:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 21:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550942976001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:10:32] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:10:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 21:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864432640,"description":"Unknown IO ID 45"} 
[2026-10-05 21:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550942976001,"power":25006,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622493355864432640}} 
[2026-10-05 21:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":208023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:10:32] local.INFO: GPS data processed {"connection_id":208023,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:10:32] local.INFO: Acknowledgment sent {"connection_id":208023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:10:33] local.INFO: TCP Data received {"connection_id":205071,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb409c0012d196600071feee80039015429..."} 
[2026-10-05 21:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb409c0012d196600071feee80039015429..."} 
[2026-10-05 21:10:33] local.INFO: Processing buffer {"connection_id":205071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb409c0012d196600071feee80039015429..."} 
[2026-10-05 21:10:33] local.INFO: Packet analysis {"connection_id":205071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:10:33] local.INFO: Extracted packet for processing {"connection_id":205071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:10:33] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550831872001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791214488000,"timestamp_ms":1791214488000,"timestamp_seconds":1791214488,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb409c0"} 
[2026-10-05 21:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 21:10: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-10-05 21: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-10-05 21:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550831872001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550831872001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:10:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:10:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550831872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":205071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:10:33] local.INFO: GPS data processed {"connection_id":205071,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:10:33] local.INFO: Acknowledgment sent {"connection_id":205071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:10:35] local.INFO: TCP Data received {"connection_id":204935,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:10:35] local.INFO: Processing buffer {"connection_id":204935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:10:35] local.INFO: IMEI packet received {"connection_id":204935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":204935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:10:37] local.INFO: TCP Data received {"connection_id":204935,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:10:37] local.INFO: Processing buffer {"connection_id":204935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb4c158012d7c114005db2dc0000d015323..."} 
[2026-10-05 21:10:37] local.INFO: Packet analysis {"connection_id":204935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:10:37] local.INFO: Extracted packet for processing {"connection_id":204935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb4"} 
[2026-10-05 21:10:37] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":13,"angle":339,"satellites":35,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 21:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550843904001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791214535000,"timestamp_ms":1791214535000,"timestamp_seconds":1791214535,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb4c158"} 
[2026-10-05 21:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 21:10:37] 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-10-05 21:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550843904001,"66":12885,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 21:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550843904001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:10:37] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:10:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550843904001,"power":12885,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":204935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:10:37] local.INFO: GPS data processed {"connection_id":204935,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:10:37] local.INFO: Acknowledgment sent {"connection_id":204935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:10:59] local.INFO: TCP Data received {"connection_id":206450,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:10:59] local.INFO: Processing buffer {"connection_id":206450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:10:59] local.INFO: IMEI packet received {"connection_id":206450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":206450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:11:04] local.INFO: TCP Data received {"connection_id":206450,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:11:04] local.INFO: Processing buffer {"connection_id":206450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:11:04] local.INFO: IMEI packet received {"connection_id":206450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":206450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:11:09] local.INFO: TCP Data received {"connection_id":204935,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb95920012d7c114005db2dc0000d015326..."} 
[2026-10-05 21:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb95920012d7c114005db2dc0000d015326..."} 
[2026-10-05 21:11:09] local.INFO: Processing buffer {"connection_id":204935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb95920012d7c114005db2dc0000d015326..."} 
[2026-10-05 21:11:09] local.INFO: Packet analysis {"connection_id":204935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb9"} 
[2026-10-05 21:11:09] local.INFO: Extracted packet for processing {"connection_id":204935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb9"} 
[2026-10-05 21:11:09] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":13,"angle":339,"satellites":38,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 21:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550920960001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791214836000,"timestamp_ms":1791214836000,"timestamp_seconds":1791214836,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb95920"} 
[2026-10-05 21:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 21:11:09] 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-10-05 21:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550920960001,"66":12809,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 21:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550920960001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:11:09] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:11:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550920960001,"power":12809,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":204935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:11:09] local.INFO: GPS data processed {"connection_id":204935,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:11:09] local.INFO: Acknowledgment sent {"connection_id":204935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:11:09] local.INFO: TCP Data received {"connection_id":208024,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:11:09] local.INFO: Processing buffer {"connection_id":208024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:11:09] local.INFO: IMEI packet received {"connection_id":208024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":208024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:11:14] local.INFO: TCP Data received {"connection_id":208024,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:11:14] local.INFO: Processing buffer {"connection_id":208024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:11:14] local.INFO: IMEI packet received {"connection_id":208024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":208024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:11:16] local.INFO: TCP Data received {"connection_id":208024,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb8a188012d196600071feee80039015428..."} 
[2026-10-05 21:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb8a188012d196600071feee80039015428..."} 
[2026-10-05 21:11:16] local.INFO: Processing buffer {"connection_id":208024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb8a188012d196600071feee80039015428..."} 
[2026-10-05 21:11:16] local.INFO: Packet analysis {"connection_id":208024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb8"} 
[2026-10-05 21:11:16] local.INFO: Extracted packet for processing {"connection_id":208024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb8"} 
[2026-10-05 21:11:16] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550908928001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791214789000,"timestamp_ms":1791214789000,"timestamp_seconds":1791214789,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb8a188"} 
[2026-10-05 21:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 21:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":208024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":208024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":208024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550908928001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550908928001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:11:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:11:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550908928001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":208024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:11:16] local.INFO: GPS data processed {"connection_id":208024,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:11:16] local.INFO: Acknowledgment sent {"connection_id":208024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:11:20] local.INFO: TCP Data received {"connection_id":208024,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb8a188012d196600071feee80039015428..."} 
[2026-10-05 21:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb8a188012d196600071feee80039015428..."} 
[2026-10-05 21:11:20] local.INFO: Processing buffer {"connection_id":208024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb8a188012d196600071feee80039015428..."} 
[2026-10-05 21:11:20] local.INFO: Packet analysis {"connection_id":208024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb8"} 
[2026-10-05 21:11:20] local.INFO: Extracted packet for processing {"connection_id":208024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb8"} 
[2026-10-05 21:11:20] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550908928001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791214789000,"timestamp_ms":1791214789000,"timestamp_seconds":1791214789,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb8a188"} 
[2026-10-05 21:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:11: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 21:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21: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-10-05 21:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":208024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":208024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":208024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550908928001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550908928001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:11:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:11:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550908928001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":208024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:11:21] local.INFO: GPS data processed {"connection_id":208024,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:11:21] local.INFO: Acknowledgment sent {"connection_id":208024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:11:21] local.INFO: TCP Data received {"connection_id":206450,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb67ac0012d77a90005f27240000d016228..."} 
[2026-10-05 21:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb67ac0012d77a90005f27240000d016228..."} 
[2026-10-05 21:11:21] local.INFO: Processing buffer {"connection_id":206450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb67ac0012d77a90005f27240000d016228..."} 
[2026-10-05 21:11:21] local.INFO: Packet analysis {"connection_id":206450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb6"} 
[2026-10-05 21:11:21] local.INFO: Extracted packet for processing {"connection_id":206450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb6"} 
[2026-10-05 21:11:21] local.INFO: GPS Element Parsed {"raw_longitude":762816768,"raw_latitude":99775040,"longitude_deg":76.2816768,"latitude_deg":9.977504,"altitude":13,"angle":354,"satellites":40,"speed":0,"hex_longitude":"2d77a900","hex_latitude":"05f27240","is_valid_coordinates":true} 
[2026-10-05 21:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550944512001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 21:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987119935488,"note":"Value kept but may cause issues"} 
[2026-10-05 21:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791214648000,"timestamp_ms":1791214648000,"timestamp_seconds":1791214648,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb67ac0"} 
[2026-10-05 21:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-10-05 21:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":206450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":206450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":206450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 21:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 21:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550944512001,"66":27876,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622422987119935488},"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-10-05 21:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 21:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 21:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550944512001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:11:21] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:11:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 21:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987119935488,"description":"Unknown IO ID 45"} 
[2026-10-05 21:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550944512001,"power":27876,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622422987119935488}} 
[2026-10-05 21:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":206450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:11:21] local.INFO: GPS data processed {"connection_id":206450,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:11:21] local.INFO: Acknowledgment sent {"connection_id":206450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:11:23] local.INFO: TCP Data received {"connection_id":206450,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb6ccc8012d77a90005f27240000d016226..."} 
[2026-10-05 21:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb6ccc8012d77a90005f27240000d016226..."} 
[2026-10-05 21:11:23] local.INFO: Processing buffer {"connection_id":206450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb6ccc8012d77a90005f27240000d016226..."} 
[2026-10-05 21:11:23] local.INFO: Packet analysis {"connection_id":206450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb6"} 
[2026-10-05 21:11:23] local.INFO: Extracted packet for processing {"connection_id":206450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb6"} 
[2026-10-05 21:11:23] local.INFO: GPS Element Parsed {"raw_longitude":762816768,"raw_latitude":99775040,"longitude_deg":76.2816768,"latitude_deg":9.977504,"altitude":13,"angle":354,"satellites":38,"speed":0,"hex_longitude":"2d77a900","hex_latitude":"05f27240","is_valid_coordinates":true} 
[2026-10-05 21:11: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-10-05 21:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550949888001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 21:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987119935488,"note":"Value kept but may cause issues"} 
[2026-10-05 21:11: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-10-05 21:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1791214669000,"timestamp_ms":1791214669000,"timestamp_seconds":1791214669,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb6ccc8"} 
[2026-10-05 21:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21:11: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":228,"data_length":795,"current_offset":136} 
[2026-10-05 21:11:23] 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-10-05 21:11: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-10-05 21:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":206450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":206450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":206450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 21:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 21:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550949888001,"66":27876,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622422987119935488},"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-10-05 21:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 21:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 21:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550949888001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:11:23] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:11:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 21:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987119935488,"description":"Unknown IO ID 45"} 
[2026-10-05 21:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550949888001,"power":27876,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622422987119935488}} 
[2026-10-05 21:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":206450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:11:23] local.INFO: GPS data processed {"connection_id":206450,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:11:23] local.INFO: Acknowledgment sent {"connection_id":206450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:11:30] local.INFO: TCP Data received {"connection_id":206451,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:11:30] local.INFO: Processing buffer {"connection_id":206451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:11:30] local.INFO: IMEI packet received {"connection_id":206451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":206451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:11:35] local.INFO: TCP Data received {"connection_id":206451,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:11:35] local.INFO: Processing buffer {"connection_id":206451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:11:35] local.INFO: IMEI packet received {"connection_id":206451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":206451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:11:36] local.INFO: TCP Data received {"connection_id":206451,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb95920012d7c114005db2dc0000d015326..."} 
[2026-10-05 21:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb95920012d7c114005db2dc0000d015326..."} 
[2026-10-05 21:11:36] local.INFO: Processing buffer {"connection_id":206451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb95920012d7c114005db2dc0000d015326..."} 
[2026-10-05 21:11:36] local.INFO: Packet analysis {"connection_id":206451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb9"} 
[2026-10-05 21:11:36] local.INFO: Extracted packet for processing {"connection_id":206451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb9"} 
[2026-10-05 21:11:36] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":13,"angle":339,"satellites":38,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550920960001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791214836000,"timestamp_ms":1791214836000,"timestamp_seconds":1791214836,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb95920"} 
[2026-10-05 21:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 21:11: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-10-05 21: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-10-05 21:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550920960001,"66":12809,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 21:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550920960001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:11:36] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:11:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550920960001,"power":12809,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":206451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970015,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:11:36] local.INFO: GPS data processed {"connection_id":206451,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:11:36] local.INFO: Acknowledgment sent {"connection_id":206451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:11:54] local.INFO: TCP Data received {"connection_id":205072,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:11:54] local.INFO: Processing buffer {"connection_id":205072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:11:54] local.INFO: IMEI packet received {"connection_id":205072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":205072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:11:59] local.INFO: TCP Data received {"connection_id":205072,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:11:59] local.INFO: Processing buffer {"connection_id":205072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:11:59] local.INFO: IMEI packet received {"connection_id":205072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":205072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:12:04] local.INFO: TCP Data received {"connection_id":205072,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb6f3d8012d77a90005f27240000d016224..."} 
[2026-10-05 21:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb6f3d8012d77a90005f27240000d016224..."} 
[2026-10-05 21:12:04] local.INFO: Processing buffer {"connection_id":205072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb6f3d8012d77a90005f27240000d016224..."} 
[2026-10-05 21:12:04] local.INFO: Packet analysis {"connection_id":205072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb6"} 
[2026-10-05 21:12:04] local.INFO: Extracted packet for processing {"connection_id":205072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb6"} 
[2026-10-05 21:12:04] local.INFO: GPS Element Parsed {"raw_longitude":762816768,"raw_latitude":99775040,"longitude_deg":76.2816768,"latitude_deg":9.977504,"altitude":13,"angle":354,"satellites":36,"speed":0,"hex_longitude":"2d77a900","hex_latitude":"05f27240","is_valid_coordinates":true} 
[2026-10-05 21:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550955264001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 21:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987119935488,"note":"Value kept but may cause issues"} 
[2026-10-05 21:12: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-10-05 21:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791214679000,"timestamp_ms":1791214679000,"timestamp_seconds":1791214679,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb6f3d8"} 
[2026-10-05 21:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-05 21:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21: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-10-05 21:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":205072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":205072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":205072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:12: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-10-05 21:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 21:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 21:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550955264001,"66":27908,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622422987119935488},"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-10-05 21:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 21:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 21:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550955264001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:12:04] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:12:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 21:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987119935488,"description":"Unknown IO ID 45"} 
[2026-10-05 21:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550955264001,"power":27908,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622422987119935488}} 
[2026-10-05 21:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":205072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:12:04] local.INFO: GPS data processed {"connection_id":205072,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:12:04] local.INFO: Acknowledgment sent {"connection_id":205072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:12:08] local.INFO: TCP Data received {"connection_id":206451,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb95920012d7c114005db2dc0000d015326..."} 
[2026-10-05 21:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb95920012d7c114005db2dc0000d015326..."} 
[2026-10-05 21:12:08] local.INFO: Processing buffer {"connection_id":206451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb95920012d7c114005db2dc0000d015326..."} 
[2026-10-05 21:12:08] local.INFO: Packet analysis {"connection_id":206451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb9"} 
[2026-10-05 21:12:08] local.INFO: Extracted packet for processing {"connection_id":206451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb9"} 
[2026-10-05 21:12:08] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":13,"angle":339,"satellites":38,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 21:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550920960001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791214836000,"timestamp_ms":1791214836000,"timestamp_seconds":1791214836,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb95920"} 
[2026-10-05 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-10-05 21:12: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-10-05 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 21:12: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-10-05 21: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-10-05 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-10-05 21:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550920960001,"66":12809,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 21:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550920960001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:12:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:12:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550920960001,"power":12809,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":206451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970017,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:12:08] local.INFO: GPS data processed {"connection_id":206451,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:12:08] local.INFO: Acknowledgment sent {"connection_id":206451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:12:14] local.INFO: TCP Data received {"connection_id":206452,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:12:14] local.INFO: Processing buffer {"connection_id":206452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:12:14] local.INFO: IMEI packet received {"connection_id":206452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":206452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:12:14] local.INFO: TCP Data received {"connection_id":206452,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:12:14] local.INFO: Processing buffer {"connection_id":206452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:12:14] local.INFO: IMEI packet received {"connection_id":206452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":206452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:12:30] local.INFO: TCP Data received {"connection_id":206452,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb8a188012d196600071feee80039015428..."} 
[2026-10-05 21:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb8a188012d196600071feee80039015428..."} 
[2026-10-05 21:12:30] local.INFO: Processing buffer {"connection_id":206452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb8a188012d196600071feee80039015428..."} 
[2026-10-05 21:12:30] local.INFO: Packet analysis {"connection_id":206452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb8"} 
[2026-10-05 21:12:30] local.INFO: Extracted packet for processing {"connection_id":206452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb8"} 
[2026-10-05 21:12:30] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550908928001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1791214789000,"timestamp_ms":1791214789000,"timestamp_seconds":1791214789,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb8a188"} 
[2026-10-05 21:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 21:12: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-10-05 21: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-10-05 21:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":206452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":206452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":206452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550908928001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550908928001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:12:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:12:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550908928001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":206452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:12:30] local.INFO: GPS data processed {"connection_id":206452,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:12:30] local.INFO: Acknowledgment sent {"connection_id":206452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:12:30] local.INFO: TCP Data received {"connection_id":205073,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205073,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:12:30] local.INFO: Processing buffer {"connection_id":205073,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:12:30] local.INFO: IMEI packet received {"connection_id":205073,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":205073,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:12:35] local.INFO: TCP Data received {"connection_id":205073,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205073,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:12:35] local.INFO: Processing buffer {"connection_id":205073,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:12:35] local.INFO: IMEI packet received {"connection_id":205073,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":205073,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:12:36] local.INFO: TCP Data received {"connection_id":205073,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb95920012d7c114005db2dc0000d015326..."} 
[2026-10-05 21:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb95920012d7c114005db2dc0000d015326..."} 
[2026-10-05 21:12:36] local.INFO: Processing buffer {"connection_id":205073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb95920012d7c114005db2dc0000d015326..."} 
[2026-10-05 21:12:36] local.INFO: Packet analysis {"connection_id":205073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb9"} 
[2026-10-05 21:12:36] local.INFO: Extracted packet for processing {"connection_id":205073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb9"} 
[2026-10-05 21:12:36] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":13,"angle":339,"satellites":38,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 21:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550920960001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791214836000,"timestamp_ms":1791214836000,"timestamp_seconds":1791214836,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb95920"} 
[2026-10-05 21:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 21:12: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-10-05 21:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:12: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-10-05 21:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550920960001,"66":12809,"160":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-10-05 21:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550920960001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:12:36] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:12:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550920960001,"power":12809,"unknown_160":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":205073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:12:36] local.INFO: GPS data processed {"connection_id":205073,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:12:36] local.INFO: Acknowledgment sent {"connection_id":205073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:12:53] local.INFO: TCP Data received {"connection_id":204936,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:12:53] local.INFO: Processing buffer {"connection_id":204936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:12:53] local.INFO: IMEI packet received {"connection_id":204936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":204936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:12:57] local.INFO: TCP Data received {"connection_id":206452,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb8a188012d196600071feee80039015428..."} 
[2026-10-05 21:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb8a188012d196600071feee80039015428..."} 
[2026-10-05 21:12:57] local.INFO: Processing buffer {"connection_id":206452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb8a188012d196600071feee80039015428..."} 
[2026-10-05 21:12:57] local.INFO: Packet analysis {"connection_id":206452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb8"} 
[2026-10-05 21:12:57] local.INFO: Extracted packet for processing {"connection_id":206452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb8"} 
[2026-10-05 21:12:57] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550908928001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1791214789000,"timestamp_ms":1791214789000,"timestamp_seconds":1791214789,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb8a188"} 
[2026-10-05 21:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 21:12: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-10-05 21: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-10-05 21:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":206452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":206452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":206452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550908928001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550908928001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:12:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:12:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550908928001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":206452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:12:57] local.INFO: GPS data processed {"connection_id":206452,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:12:57] local.INFO: Acknowledgment sent {"connection_id":206452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:13:00] local.INFO: TCP Data received {"connection_id":204936,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:13:00] local.INFO: Processing buffer {"connection_id":204936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:13:00] local.INFO: IMEI packet received {"connection_id":204936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":204936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:13:08] local.INFO: TCP Data received {"connection_id":205073,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10cbb7fe8012d7c114005db2dc0000d01532c..."} 
[2026-10-05 21:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cbb7fe8012d7c114005db2dc0000d01532c..."} 
[2026-10-05 21:13:08] local.INFO: Processing buffer {"connection_id":205073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cbb7fe8012d7c114005db2dc0000d01532c..."} 
[2026-10-05 21:13:08] local.INFO: Packet analysis {"connection_id":205073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cbb"} 
[2026-10-05 21:13:08] local.INFO: Extracted packet for processing {"connection_id":205073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cbb"} 
[2026-10-05 21:13:08] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":13,"angle":339,"satellites":44,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 21:13: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-10-05 21:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550998016001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791214977000,"timestamp_ms":1791214977000,"timestamp_seconds":1791214977,"priority":1,"record_length":96,"hex_timestamp":"000001a10cbb7fe8"} 
[2026-10-05 21:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-05 21:13:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 21:13:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-10-05 21:13:08] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-7407673714059505344,"note":"Value kept but may cause issues"} 
[2026-10-05 21:13:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705115854,"corrected_to":0} 
[2026-10-05 21:13:08] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505893,"note":"Value kept but may cause issues"} 
[2026-10-05 21:13:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2653253499218734301,"note":"Value kept but may cause issues"} 
[2026-10-05 21:13:08] local.WARNING: Large IO value detected {"io_id":51,"raw_value":216398618473582165,"note":"Value kept but may cause issues"} 
[2026-10-05 21:13:08] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-10-05 21:13:08] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,160,85,24,241,157,16,248,161,193,45,64,13,35,10,66,41,33,145,240,139,227,12,219,1,4,113,205,98,17,192,36,239,50,2,5,51,59,71],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1705115854,"validated":0}]} 
[2026-10-05 21:13:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937121620143636480,"timestamp_seconds":937121620143636.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 21:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550998016001,"66":12852,"162":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550998016001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:13:08] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:13:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550998016001,"power":12852,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":205073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970021,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:13:08] local.INFO: GPS data processed {"connection_id":205073,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:13:08] local.INFO: Acknowledgment sent {"connection_id":205073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:13:12] local.INFO: TCP Data received {"connection_id":204936,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb6f3d8012d77a90005f27240000d016224..."} 
[2026-10-05 21:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb6f3d8012d77a90005f27240000d016224..."} 
[2026-10-05 21:13:12] local.INFO: Processing buffer {"connection_id":204936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb6f3d8012d77a90005f27240000d016224..."} 
[2026-10-05 21:13:12] local.INFO: Packet analysis {"connection_id":204936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb6"} 
[2026-10-05 21:13:12] local.INFO: Extracted packet for processing {"connection_id":204936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb6"} 
[2026-10-05 21:13:12] local.INFO: GPS Element Parsed {"raw_longitude":762816768,"raw_latitude":99775040,"longitude_deg":76.2816768,"latitude_deg":9.977504,"altitude":13,"angle":354,"satellites":36,"speed":0,"hex_longitude":"2d77a900","hex_latitude":"05f27240","is_valid_coordinates":true} 
[2026-10-05 21:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550955264001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 21:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987119935488,"note":"Value kept but may cause issues"} 
[2026-10-05 21:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791214679000,"timestamp_ms":1791214679000,"timestamp_seconds":1791214679,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb6f3d8"} 
[2026-10-05 21:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-05 21:13:12] 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-10-05 21: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-10-05 21:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 21:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 21:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550955264001,"66":27908,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622422987119935488},"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-10-05 21:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 21:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 21:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550955264001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:13:12] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:13:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 21:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987119935488,"description":"Unknown IO ID 45"} 
[2026-10-05 21:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550955264001,"power":27908,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622422987119935488}} 
[2026-10-05 21:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":204936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:13:12] local.INFO: GPS data processed {"connection_id":204936,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:13:12] local.INFO: Acknowledgment sent {"connection_id":204936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:13:14] local.INFO: TCP Data received {"connection_id":204937,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:13:14] local.INFO: Processing buffer {"connection_id":204937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:13:14] local.INFO: IMEI packet received {"connection_id":204937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":204937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:13:18] local.INFO: TCP Data received {"connection_id":204936,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb6f3d8012d77a90005f27240000d016224..."} 
[2026-10-05 21:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb6f3d8012d77a90005f27240000d016224..."} 
[2026-10-05 21:13:18] local.INFO: Processing buffer {"connection_id":204936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb6f3d8012d77a90005f27240000d016224..."} 
[2026-10-05 21:13:18] local.INFO: Packet analysis {"connection_id":204936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb6"} 
[2026-10-05 21:13:18] local.INFO: Extracted packet for processing {"connection_id":204936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb6"} 
[2026-10-05 21:13:18] local.INFO: GPS Element Parsed {"raw_longitude":762816768,"raw_latitude":99775040,"longitude_deg":76.2816768,"latitude_deg":9.977504,"altitude":13,"angle":354,"satellites":36,"speed":0,"hex_longitude":"2d77a900","hex_latitude":"05f27240","is_valid_coordinates":true} 
[2026-10-05 21:13: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-10-05 21:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550955264001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 21:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987119935488,"note":"Value kept but may cause issues"} 
[2026-10-05 21:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791214679000,"timestamp_ms":1791214679000,"timestamp_seconds":1791214679,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb6f3d8"} 
[2026-10-05 21:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-05 21:13:18] 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-10-05 21:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":204936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":204936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":204936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 21:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 21:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550955264001,"66":27908,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622422987119935488},"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-10-05 21:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 21:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 21:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550955264001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:13:18] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:13:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 21:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987119935488,"description":"Unknown IO ID 45"} 
[2026-10-05 21:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550955264001,"power":27908,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622422987119935488}} 
[2026-10-05 21:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":204936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:13:18] local.INFO: GPS data processed {"connection_id":204936,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:13:18] local.INFO: Acknowledgment sent {"connection_id":204936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:13:20] local.INFO: TCP Data received {"connection_id":204937,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:13:20] local.INFO: Processing buffer {"connection_id":204937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:13:20] local.INFO: IMEI packet received {"connection_id":204937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":204937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:13:23] local.INFO: TCP Data received {"connection_id":204937,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb8a188012d196600071feee80039015428..."} 
[2026-10-05 21:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb8a188012d196600071feee80039015428..."} 
[2026-10-05 21:13:23] local.INFO: Processing buffer {"connection_id":204937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb8a188012d196600071feee80039015428..."} 
[2026-10-05 21:13:23] local.INFO: Packet analysis {"connection_id":204937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb8"} 
[2026-10-05 21:13:23] local.INFO: Extracted packet for processing {"connection_id":204937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb8"} 
[2026-10-05 21:13:23] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550908928001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1791214789000,"timestamp_ms":1791214789000,"timestamp_seconds":1791214789,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb8a188"} 
[2026-10-05 21:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 21:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":204937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":204937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":204937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550908928001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550908928001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:13:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:13:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550908928001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":204937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:13:23] local.INFO: GPS data processed {"connection_id":204937,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:13:23] local.INFO: Acknowledgment sent {"connection_id":204937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:13:30] local.INFO: TCP Data received {"connection_id":205074,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:13:30] local.INFO: Processing buffer {"connection_id":205074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:13:30] local.INFO: IMEI packet received {"connection_id":205074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":205074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:13:31] local.INFO: TCP Data received {"connection_id":205074,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:13:31] local.INFO: Processing buffer {"connection_id":205074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:13:31] local.INFO: IMEI packet received {"connection_id":205074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":205074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:13:32] local.INFO: TCP Data received {"connection_id":205074,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:13:32] local.INFO: Processing buffer {"connection_id":205074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:13:32] local.INFO: IMEI packet received {"connection_id":205074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":205074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:13:33] local.INFO: TCP Data received {"connection_id":205074,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10cbb7fe8012d7c114005db2dc0000d01532c..."} 
[2026-10-05 21:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cbb7fe8012d7c114005db2dc0000d01532c..."} 
[2026-10-05 21:13:33] local.INFO: Processing buffer {"connection_id":205074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cbb7fe8012d7c114005db2dc0000d01532c..."} 
[2026-10-05 21:13:33] local.INFO: Packet analysis {"connection_id":205074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cbb"} 
[2026-10-05 21:13:33] local.INFO: Extracted packet for processing {"connection_id":205074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cbb"} 
[2026-10-05 21:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":98250176,"longitude_deg":76.31056,"latitude_deg":9.8250176,"altitude":13,"angle":339,"satellites":44,"speed":0,"hex_longitude":"2d7c1140","hex_latitude":"05db2dc0","is_valid_coordinates":true} 
[2026-10-05 21:13: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-10-05 21:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551034112001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791214977000,"timestamp_ms":1791214977000,"timestamp_seconds":1791214977,"priority":1,"record_length":96,"hex_timestamp":"000001a10cbb7fe8"} 
[2026-10-05 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-10-05 21:13: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-10-05 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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 21:13: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-10-05 21:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 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-10-05 21:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:13: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-10-05 21:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551034112001,"66":12852,"162":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551034112001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:13:33] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:13:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551034112001,"power":12852,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":205074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:13:33] local.INFO: GPS data processed {"connection_id":205074,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:13:33] local.INFO: Acknowledgment sent {"connection_id":205074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:13:35] local.INFO: TCP Data received {"connection_id":205074,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10cbb8ba0012d7c0f4005db3068000d00f02b..."} 
[2026-10-05 21:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cbb8ba0012d7c0f4005db3068000d00f02b..."} 
[2026-10-05 21:13:35] local.INFO: Processing buffer {"connection_id":205074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cbb8ba0012d7c0f4005db3068000d00f02b..."} 
[2026-10-05 21:13:35] local.INFO: Packet analysis {"connection_id":205074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cbb"} 
[2026-10-05 21:13:35] local.INFO: Extracted packet for processing {"connection_id":205074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cbb"} 
[2026-10-05 21:13:35] local.INFO: GPS Element Parsed {"raw_longitude":763105088,"raw_latitude":98250856,"longitude_deg":76.3105088,"latitude_deg":9.8250856,"altitude":13,"angle":240,"satellites":43,"speed":0,"hex_longitude":"2d7c0f40","hex_latitude":"05db3068","is_valid_coordinates":true} 
[2026-10-05 21:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551034112001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884572274851840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997129203367936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791214980000,"timestamp_ms":1791214980000,"timestamp_seconds":1791214980,"priority":1,"record_length":96,"hex_timestamp":"000001a10cbb8ba0"} 
[2026-10-05 21:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21: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":52,"data_length":795,"current_offset":136} 
[2026-10-05 21:13:35] 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-10-05 21: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-10-05 21:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":205074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":205074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":205074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:13: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-10-05 21:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551034112001,"66":12254,"162":206,"85":15104,"24":0,"16":139884572274851840,"45":8939997129203367936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551034112001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:13:35] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:13:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884572274851840,"km_value":139884572274851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997129203367936,"description":"Unknown IO ID 45"} 
[2026-10-05 21:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551034112001,"power":12254,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8939997129203367936}} 
[2026-10-05 21:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":205074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:13:35] local.INFO: GPS data processed {"connection_id":205074,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:13:35] local.INFO: Acknowledgment sent {"connection_id":205074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:13:59] local.INFO: TCP Data received {"connection_id":205075,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:13:59] local.INFO: Processing buffer {"connection_id":205075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:13:59] local.INFO: IMEI packet received {"connection_id":205075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":205075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:14:05] local.INFO: TCP Data received {"connection_id":205075,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:14:05] local.INFO: Processing buffer {"connection_id":205075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:14:05] local.INFO: IMEI packet received {"connection_id":205075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":205075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:14:07] local.INFO: TCP Data received {"connection_id":205074,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10cbbd1f0012d7c10c005db2fd0000b01612c..."} 
[2026-10-05 21:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cbbd1f0012d7c10c005db2fd0000b01612c..."} 
[2026-10-05 21:14:07] local.INFO: Processing buffer {"connection_id":205074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cbbd1f0012d7c10c005db2fd0000b01612c..."} 
[2026-10-05 21:14:07] local.INFO: Packet analysis {"connection_id":205074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cbb"} 
[2026-10-05 21:14:07] local.INFO: Extracted packet for processing {"connection_id":205074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cbb"} 
[2026-10-05 21:14:07] local.INFO: GPS Element Parsed {"raw_longitude":763105472,"raw_latitude":98250704,"longitude_deg":76.3105472,"latitude_deg":9.8250704,"altitude":11,"angle":353,"satellites":44,"speed":2,"hex_longitude":"2d7c10c0","hex_latitude":"05db2fd0","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551034880001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884593749688320,"note":"Value kept but may cause issues"} 
[2026-10-05 21:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939434179250120704,"note":"Value kept but may cause issues"} 
[2026-10-05 21:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791214998000,"timestamp_ms":1791214998000,"timestamp_seconds":1791214998,"priority":1,"record_length":96,"hex_timestamp":"000001a10cbbd1f0"} 
[2026-10-05 21:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:14: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-10-05 21: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-10-05 21:14:07] 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-10-05 21: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-10-05 21:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:14: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-10-05 21:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551034880001,"66":13243,"162":206,"85":15104,"24":2,"16":139884593749688320,"45":8939434179250120704},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551034880001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:14:07] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:14:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884593749688320,"km_value":139884593749688.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939434179250120704,"description":"Unknown IO ID 45"} 
[2026-10-05 21:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551034880001,"power":13243,"unknown_162":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8939434179250120704}} 
[2026-10-05 21:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":205074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970027,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:14:07] local.INFO: GPS data processed {"connection_id":205074,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:14:07] local.INFO: Acknowledgment sent {"connection_id":205074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:14:09] local.INFO: TCP Data received {"connection_id":205075,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:14:09] local.INFO: Processing buffer {"connection_id":205075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:14:09] local.INFO: IMEI packet received {"connection_id":205075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":205075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:14:14] local.INFO: TCP Data received {"connection_id":205075,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:14:14] local.INFO: Processing buffer {"connection_id":205075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:14:14] local.INFO: IMEI packet received {"connection_id":205075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":205075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:14:30] local.INFO: TCP Data received {"connection_id":208025,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:14:30] local.INFO: Processing buffer {"connection_id":208025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:14:30] local.INFO: IMEI packet received {"connection_id":208025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":208025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:14:35] local.INFO: TCP Data received {"connection_id":208025,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:14:35] local.INFO: Processing buffer {"connection_id":208025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:14:35] local.INFO: IMEI packet received {"connection_id":208025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":208025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:14:36] local.INFO: TCP Data received {"connection_id":208025,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10cbbf900012d7c0d8005db3d30000b01522b..."} 
[2026-10-05 21:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cbbf900012d7c0d8005db3d30000b01522b..."} 
[2026-10-05 21:14:36] local.INFO: Processing buffer {"connection_id":208025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cbbf900012d7c0d8005db3d30000b01522b..."} 
[2026-10-05 21:14:36] local.INFO: Packet analysis {"connection_id":208025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cbb"} 
[2026-10-05 21:14:36] local.INFO: Extracted packet for processing {"connection_id":208025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cbb"} 
[2026-10-05 21:14:36] local.INFO: GPS Element Parsed {"raw_longitude":763104640,"raw_latitude":98254128,"longitude_deg":76.310464,"latitude_deg":9.8254128,"altitude":11,"angle":338,"satellites":43,"speed":13,"hex_longitude":"2d7c0d80","hex_latitude":"05db3d30","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551039488001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884765548380160,"note":"Value kept but may cause issues"} 
[2026-10-05 21:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939856391715147776,"note":"Value kept but may cause issues"} 
[2026-10-05 21:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791215008000,"timestamp_ms":1791215008000,"timestamp_seconds":1791215008,"priority":1,"record_length":96,"hex_timestamp":"000001a10cbbf900"} 
[2026-10-05 21:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-05 21:14: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-10-05 21: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-10-05 21:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:14: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-10-05 21:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551039488001,"66":13559,"163":206,"85":15104,"24":13,"16":139884765548380160,"45":8939856391715147776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,45]} 
[2026-10-05 21:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551039488001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:14:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 21:14:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884765548380160,"km_value":139884765548380.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939856391715147776,"description":"Unknown IO ID 45"} 
[2026-10-05 21:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551039488001,"power":13559,"unknown_163":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8939856391715147776}} 
[2026-10-05 21:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":208025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:14:36] local.INFO: GPS data processed {"connection_id":208025,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:14:36] local.INFO: Acknowledgment sent {"connection_id":208025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:14:48] local.INFO: TCP Data received {"connection_id":204938,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:14:48] local.INFO: Processing buffer {"connection_id":204938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:14:48] local.INFO: IMEI packet received {"connection_id":204938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":204938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:14:48] local.INFO: TCP Data received {"connection_id":204938,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:14:48] local.INFO: Processing buffer {"connection_id":204938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:14:48] local.INFO: IMEI packet received {"connection_id":204938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":204938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:14:50] local.INFO: TCP Data received {"connection_id":204938,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb8a188012d196600071feee80039015428..."} 
[2026-10-05 21:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb8a188012d196600071feee80039015428..."} 
[2026-10-05 21:14:50] local.INFO: Processing buffer {"connection_id":204938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb8a188012d196600071feee80039015428..."} 
[2026-10-05 21:14:50] local.INFO: Packet analysis {"connection_id":204938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb8"} 
[2026-10-05 21:14:50] local.INFO: Extracted packet for processing {"connection_id":204938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb8"} 
[2026-10-05 21:14:50] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550908928001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1791214789000,"timestamp_ms":1791214789000,"timestamp_seconds":1791214789,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb8a188"} 
[2026-10-05 21:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 21:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":204938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":204938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":204938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550908928001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550908928001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:14:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:14:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550908928001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":204938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:14:50] local.INFO: GPS data processed {"connection_id":204938,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:14:50] local.ERROR: TCP Connection error {"connection_id":204938,"code":2,"message":"client closed"} 
[2026-10-05 21:14:50] local.INFO: Acknowledgment sent {"connection_id":204938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:15:07] local.INFO: TCP Data received {"connection_id":208025,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10cbc04b8012d7c0c0005db4070000b015f2b..."} 
[2026-10-05 21:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cbc04b8012d7c0c0005db4070000b015f2b..."} 
[2026-10-05 21:15:07] local.INFO: Processing buffer {"connection_id":208025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cbc04b8012d7c0c0005db4070000b015f2b..."} 
[2026-10-05 21:15:07] local.INFO: Packet analysis {"connection_id":208025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cbc"} 
[2026-10-05 21:15:07] local.INFO: Extracted packet for processing {"connection_id":208025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cbc"} 
[2026-10-05 21:15:07] local.INFO: GPS Element Parsed {"raw_longitude":763104256,"raw_latitude":98254960,"longitude_deg":76.3104256,"latitude_deg":9.825496,"altitude":11,"angle":351,"satellites":43,"speed":9,"hex_longitude":"2d7c0c00","hex_latitude":"05db4070","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551042048001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884808498053120,"note":"Value kept but may cause issues"} 
[2026-10-05 21:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938941598041714688,"note":"Value kept but may cause issues"} 
[2026-10-05 21:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791215011000,"timestamp_ms":1791215011000,"timestamp_seconds":1791215011,"priority":1,"record_length":96,"hex_timestamp":"000001a10cbc04b8"} 
[2026-10-05 21:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-05 21:15:07] 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-10-05 21: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-10-05 21:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":208025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":208025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":208025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:15: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-10-05 21:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551042048001,"66":13678,"163":206,"85":15104,"24":9,"16":139884808498053120,"45":8938941598041714688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,45]} 
[2026-10-05 21:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551042048001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:15:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-05 21:15:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884808498053120,"km_value":139884808498053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938941598041714688,"description":"Unknown IO ID 45"} 
[2026-10-05 21:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551042048001,"power":13678,"unknown_163":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8938941598041714688}} 
[2026-10-05 21:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":208025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970030,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:15:07] local.INFO: GPS data processed {"connection_id":208025,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:15:07] local.INFO: Acknowledgment sent {"connection_id":208025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:15:14] local.INFO: TCP Data received {"connection_id":206453,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:15:14] local.INFO: Processing buffer {"connection_id":206453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:15:14] local.INFO: IMEI packet received {"connection_id":206453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":206453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:15:20] local.INFO: TCP Data received {"connection_id":206453,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:15:20] local.INFO: Processing buffer {"connection_id":206453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:15:20] local.INFO: IMEI packet received {"connection_id":206453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":206453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:15:30] local.INFO: TCP Data received {"connection_id":206453,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cbd3950012d196600071feee80039015428..."} 
[2026-10-05 21:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cbd3950012d196600071feee80039015428..."} 
[2026-10-05 21:15:30] local.INFO: Processing buffer {"connection_id":206453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cbd3950012d196600071feee80039015428..."} 
[2026-10-05 21:15:30] local.INFO: Packet analysis {"connection_id":206453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cbd"} 
[2026-10-05 21:15:30] local.INFO: Extracted packet for processing {"connection_id":206453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cbd"} 
[2026-10-05 21:15:30] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550985984001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1791215090000,"timestamp_ms":1791215090000,"timestamp_seconds":1791215090,"priority":1,"record_length":96,"hex_timestamp":"000001a10cbd3950"} 
[2026-10-05 21:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:15:30] 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-10-05 21: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-10-05 21:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":206453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":206453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":206453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550985984001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550985984001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:15:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:15:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550985984001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":206453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:15:30] local.INFO: GPS data processed {"connection_id":206453,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:15:30] local.INFO: Acknowledgment sent {"connection_id":206453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:15:31] local.INFO: TCP Data received {"connection_id":205077,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:15:31] local.INFO: Processing buffer {"connection_id":205077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:15:31] local.INFO: IMEI packet received {"connection_id":205077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":205077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:15:35] local.INFO: TCP Data received {"connection_id":205077,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:15:35] local.INFO: Processing buffer {"connection_id":205077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:15:35] local.INFO: IMEI packet received {"connection_id":205077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":205077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:15:36] local.INFO: TCP Data received {"connection_id":205077,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10cbc56c0012d7c08c005db48d8000c01612d..."} 
[2026-10-05 21:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cbc56c0012d7c08c005db48d8000c01612d..."} 
[2026-10-05 21:15:36] local.INFO: Processing buffer {"connection_id":205077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cbc56c0012d7c08c005db48d8000c01612d..."} 
[2026-10-05 21:15:36] local.INFO: Packet analysis {"connection_id":205077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cbc"} 
[2026-10-05 21:15:36] local.INFO: Extracted packet for processing {"connection_id":205077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cbc"} 
[2026-10-05 21:15:36] local.INFO: GPS Element Parsed {"raw_longitude":763103424,"raw_latitude":98257112,"longitude_deg":76.3103424,"latitude_deg":9.8257112,"altitude":12,"angle":353,"satellites":45,"speed":0,"hex_longitude":"2d7c08c0","hex_latitude":"05db48d8","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551042816001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884933052104704,"note":"Value kept but may cause issues"} 
[2026-10-05 21:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938519385576861696,"note":"Value kept but may cause issues"} 
[2026-10-05 21:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791215032000,"timestamp_ms":1791215032000,"timestamp_seconds":1791215032,"priority":1,"record_length":96,"hex_timestamp":"000001a10cbc56c0"} 
[2026-10-05 21:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-05 21:15: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-10-05 21:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551042816001,"66":13493,"162":206,"85":15104,"24":0,"16":139884933052104704,"45":8938519385576861696},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551042816001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:15:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:15:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884933052104704,"km_value":139884933052104.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938519385576861696,"description":"Unknown IO ID 45"} 
[2026-10-05 21:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551042816001,"power":13493,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8938519385576861696}} 
[2026-10-05 21:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":205077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:15:36] local.INFO: GPS data processed {"connection_id":205077,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:15:36] local.INFO: Acknowledgment sent {"connection_id":205077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:16:04] local.INFO: TCP Data received {"connection_id":208026,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:16:04] local.INFO: Processing buffer {"connection_id":208026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:16:04] local.INFO: IMEI packet received {"connection_id":208026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":208026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:16:07] local.INFO: TCP Data received {"connection_id":205077,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10cbca0f8012d7c068005db4a68000c01512d..."} 
[2026-10-05 21:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cbca0f8012d7c068005db4a68000c01512d..."} 
[2026-10-05 21:16:07] local.INFO: Processing buffer {"connection_id":205077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cbca0f8012d7c068005db4a68000c01512d..."} 
[2026-10-05 21:16:07] local.INFO: Packet analysis {"connection_id":205077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cbc"} 
[2026-10-05 21:16:07] local.INFO: Extracted packet for processing {"connection_id":205077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cbc"} 
[2026-10-05 21:16:07] local.INFO: GPS Element Parsed {"raw_longitude":763102848,"raw_latitude":98257512,"longitude_deg":76.3102848,"latitude_deg":9.8257512,"altitude":12,"angle":337,"satellites":45,"speed":0,"hex_longitude":"2d7c0680","hex_latitude":"05db4a68","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551048192001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884967411843072,"note":"Value kept but may cause issues"} 
[2026-10-05 21:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937604591903102976,"note":"Value kept but may cause issues"} 
[2026-10-05 21:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791215051000,"timestamp_ms":1791215051000,"timestamp_seconds":1791215051,"priority":1,"record_length":96,"hex_timestamp":"000001a10cbca0f8"} 
[2026-10-05 21:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:16: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-10-05 21:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-10-05 21:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21: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-10-05 21:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551048192001,"66":13515,"162":206,"85":15104,"24":0,"16":139884967411843072,"45":8937604591903102976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551048192001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:16:07] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:16:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884967411843072,"km_value":139884967411843.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937604591903102976,"description":"Unknown IO ID 45"} 
[2026-10-05 21:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551048192001,"power":13515,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937604591903102976}} 
[2026-10-05 21:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":205077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:16:07] local.INFO: GPS data processed {"connection_id":205077,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:16:07] local.INFO: Acknowledgment sent {"connection_id":205077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:16:10] local.INFO: TCP Data received {"connection_id":208026,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:16:10] local.INFO: Processing buffer {"connection_id":208026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:16:10] local.INFO: IMEI packet received {"connection_id":208026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":208026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:16:16] local.INFO: TCP Data received {"connection_id":208026,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cbd3950012d196600071feee80039015428..."} 
[2026-10-05 21:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cbd3950012d196600071feee80039015428..."} 
[2026-10-05 21:16:16] local.INFO: Processing buffer {"connection_id":208026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cbd3950012d196600071feee80039015428..."} 
[2026-10-05 21:16:16] local.INFO: Packet analysis {"connection_id":208026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cbd"} 
[2026-10-05 21:16:16] local.INFO: Extracted packet for processing {"connection_id":208026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cbd"} 
[2026-10-05 21:16:16] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550985984001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791215090000,"timestamp_ms":1791215090000,"timestamp_seconds":1791215090,"priority":1,"record_length":96,"hex_timestamp":"000001a10cbd3950"} 
[2026-10-05 21:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:16:16] 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-10-05 21:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":208026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":208026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":208026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550985984001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550985984001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:16:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:16:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550985984001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":208026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:16:16] local.INFO: GPS data processed {"connection_id":208026,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:16:16] local.INFO: Acknowledgment sent {"connection_id":208026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:16:30] local.INFO: TCP Data received {"connection_id":208028,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:16:30] local.INFO: Processing buffer {"connection_id":208028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:16:30] local.INFO: IMEI packet received {"connection_id":208028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":208028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:16:35] local.INFO: TCP Data received {"connection_id":208028,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:16:35] local.INFO: Processing buffer {"connection_id":208028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:16:35] local.INFO: IMEI packet received {"connection_id":208028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":208028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:16:36] local.INFO: TCP Data received {"connection_id":208028,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a10cbcb480012d7c058005db4c90000c015e2c..."} 
[2026-10-05 21:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cbcb480012d7c058005db4c90000c015e2c..."} 
[2026-10-05 21:16:36] local.INFO: Processing buffer {"connection_id":208028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cbcb480012d7c058005db4c90000c015e2c..."} 
[2026-10-05 21:16:36] local.INFO: Packet analysis {"connection_id":208028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cbc"} 
[2026-10-05 21:16:36] local.INFO: Extracted packet for processing {"connection_id":208028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cbc"} 
[2026-10-05 21:16:36] local.INFO: GPS Element Parsed {"raw_longitude":763102592,"raw_latitude":98258064,"longitude_deg":76.3102592,"latitude_deg":9.8258064,"altitude":12,"angle":350,"satellites":44,"speed":2,"hex_longitude":"2d7c0580","hex_latitude":"05db4c90","is_valid_coordinates":true} 
[2026-10-05 21:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551053056001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139884997476614144,"note":"Value kept but may cause issues"} 
[2026-10-05 21:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936971273205606400,"note":"Value kept but may cause issues"} 
[2026-10-05 21:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791215056000,"timestamp_ms":1791215056000,"timestamp_seconds":1791215056,"priority":1,"record_length":96,"hex_timestamp":"000001a10cbcb480"} 
[2026-10-05 21:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-10-05 21:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551053056001,"66":13428,"162":206,"85":15104,"24":2,"16":139884997476614144,"45":8936971273205606400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551053056001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:16:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:16:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139884997476614144,"km_value":139884997476614.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936971273205606400,"description":"Unknown IO ID 45"} 
[2026-10-05 21:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551053056001,"power":13428,"unknown_162":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8936971273205606400}} 
[2026-10-05 21:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":208028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:16:36] local.INFO: GPS data processed {"connection_id":208028,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:16:36] local.INFO: Acknowledgment sent {"connection_id":208028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:17:00] local.INFO: TCP Data received {"connection_id":208026,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cbd3950012d196600071feee80039015428..."} 
[2026-10-05 21:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cbd3950012d196600071feee80039015428..."} 
[2026-10-05 21:17:00] local.INFO: Processing buffer {"connection_id":208026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cbd3950012d196600071feee80039015428..."} 
[2026-10-05 21:17:00] local.INFO: Packet analysis {"connection_id":208026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cbd"} 
[2026-10-05 21:17:00] local.INFO: Extracted packet for processing {"connection_id":208026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cbd"} 
[2026-10-05 21:17:00] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550985984001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:17: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-10-05 21:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791215090000,"timestamp_ms":1791215090000,"timestamp_seconds":1791215090,"priority":1,"record_length":96,"hex_timestamp":"000001a10cbd3950"} 
[2026-10-05 21:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:17:00] 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-10-05 21: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-10-05 21:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":208026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":208026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":208026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550985984001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550985984001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:17:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:17:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550985984001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":208026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:17:00] local.INFO: GPS data processed {"connection_id":208026,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:17:00] local.INFO: Acknowledgment sent {"connection_id":208026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:17:04] local.INFO: TCP Data received {"connection_id":206454,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:17:04] local.INFO: Processing buffer {"connection_id":206454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:17:04] local.INFO: IMEI packet received {"connection_id":206454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":206454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:17:08] local.INFO: TCP Data received {"connection_id":208028,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a10cbcb868012d7c050005db4c70000c01492c..."} 
[2026-10-05 21:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cbcb868012d7c050005db4c70000c01492c..."} 
[2026-10-05 21:17:08] local.INFO: Processing buffer {"connection_id":208028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cbcb868012d7c050005db4c70000c01492c..."} 
[2026-10-05 21:17:08] local.INFO: Packet analysis {"connection_id":208028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cbc"} 
[2026-10-05 21:17:08] local.INFO: Extracted packet for processing {"connection_id":208028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cbc"} 
[2026-10-05 21:17:08] local.INFO: GPS Element Parsed {"raw_longitude":763102464,"raw_latitude":98258032,"longitude_deg":76.3102464,"latitude_deg":9.8258032,"altitude":12,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d7c0500","hex_latitude":"05db4c70","is_valid_coordinates":true} 
[2026-10-05 21:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551054336001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885001771581440,"note":"Value kept but may cause issues"} 
[2026-10-05 21:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936689798229037056,"note":"Value kept but may cause issues"} 
[2026-10-05 21:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791215057000,"timestamp_ms":1791215057000,"timestamp_seconds":1791215057,"priority":1,"record_length":96,"hex_timestamp":"000001a10cbcb868"} 
[2026-10-05 21:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:17: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-10-05 21:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 21:17:08] 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-10-05 21:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":208028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":208028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":208028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:17:08] 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-10-05 21:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551054336001,"66":13428,"162":206,"85":15104,"24":0,"16":139885001771581440,"45":8936689798229037056},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551054336001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:17:08] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:17:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885001771581440,"km_value":139885001771581.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936689798229037056,"description":"Unknown IO ID 45"} 
[2026-10-05 21:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551054336001,"power":13428,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936689798229037056}} 
[2026-10-05 21:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":208028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970037,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:17:08] local.INFO: GPS data processed {"connection_id":208028,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:17:08] local.INFO: Acknowledgment sent {"connection_id":208028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:17:11] local.INFO: TCP Data received {"connection_id":206454,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:17:11] local.INFO: Processing buffer {"connection_id":206454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:17:11] local.INFO: IMEI packet received {"connection_id":206454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":206454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:17:12] local.INFO: TCP Data received {"connection_id":206454,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cbd3950012d196600071feee80039015428..."} 
[2026-10-05 21:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cbd3950012d196600071feee80039015428..."} 
[2026-10-05 21:17:12] local.INFO: Processing buffer {"connection_id":206454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cbd3950012d196600071feee80039015428..."} 
[2026-10-05 21:17:12] local.INFO: Packet analysis {"connection_id":206454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cbd"} 
[2026-10-05 21:17:12] local.INFO: Extracted packet for processing {"connection_id":206454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cbd"} 
[2026-10-05 21:17:12] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:17: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-10-05 21:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550985984001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791215090000,"timestamp_ms":1791215090000,"timestamp_seconds":1791215090,"priority":1,"record_length":96,"hex_timestamp":"000001a10cbd3950"} 
[2026-10-05 21:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:17: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":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:17:12] 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-10-05 21:17: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-10-05 21:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":206454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":206454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":206454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550985984001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550985984001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:17:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:17:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550985984001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":206454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:17:12] local.INFO: GPS data processed {"connection_id":206454,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:17:12] local.INFO: Acknowledgment sent {"connection_id":206454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:17:30] local.INFO: TCP Data received {"connection_id":204940,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:17:30] local.INFO: Processing buffer {"connection_id":204940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:17:30] local.INFO: IMEI packet received {"connection_id":204940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":204940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:17:35] local.INFO: TCP Data received {"connection_id":204940,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:17:35] local.INFO: Processing buffer {"connection_id":204940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:17:35] local.INFO: IMEI packet received {"connection_id":204940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":204940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:17:36] local.INFO: TCP Data received {"connection_id":204940,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10cbd0a70012d7c04c005db4c60000d01492a..."} 
[2026-10-05 21:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cbd0a70012d7c04c005db4c60000d01492a..."} 
[2026-10-05 21:17:36] local.INFO: Processing buffer {"connection_id":204940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cbd0a70012d7c04c005db4c60000d01492a..."} 
[2026-10-05 21:17:36] local.INFO: Packet analysis {"connection_id":204940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cbd"} 
[2026-10-05 21:17:36] local.INFO: Extracted packet for processing {"connection_id":204940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cbd"} 
[2026-10-05 21:17:36] local.INFO: GPS Element Parsed {"raw_longitude":763102400,"raw_latitude":98258016,"longitude_deg":76.31024,"latitude_deg":9.8258016,"altitude":13,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7c04c0","hex_latitude":"05db4c60","is_valid_coordinates":true} 
[2026-10-05 21:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551054592001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885006066548736,"note":"Value kept but may cause issues"} 
[2026-10-05 21:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936549060740673536,"note":"Value kept but may cause issues"} 
[2026-10-05 21:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791215078000,"timestamp_ms":1791215078000,"timestamp_seconds":1791215078,"priority":1,"record_length":96,"hex_timestamp":"000001a10cbd0a70"} 
[2026-10-05 21:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-05 21:17: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-10-05 21:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:17: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-10-05 21:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551054592001,"66":13450,"162":206,"85":15104,"24":0,"16":139885006066548736,"45":8936549060740673536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551054592001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:17:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:17:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885006066548736,"km_value":139885006066548.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936549060740673536,"description":"Unknown IO ID 45"} 
[2026-10-05 21:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551054592001,"power":13450,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936549060740673536}} 
[2026-10-05 21:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":204940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:17:36] local.INFO: GPS data processed {"connection_id":204940,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:17:36] local.INFO: Acknowledgment sent {"connection_id":204940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:18:07] local.INFO: TCP Data received {"connection_id":204940,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10cbd25c8012d7c044005db4c78000c00a52c..."} 
[2026-10-05 21:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cbd25c8012d7c044005db4c78000c00a52c..."} 
[2026-10-05 21:18:07] local.INFO: Processing buffer {"connection_id":204940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cbd25c8012d7c044005db4c78000c00a52c..."} 
[2026-10-05 21:18:07] local.INFO: Packet analysis {"connection_id":204940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cbd"} 
[2026-10-05 21:18:07] local.INFO: Extracted packet for processing {"connection_id":204940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cbd"} 
[2026-10-05 21:18:07] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98258040,"longitude_deg":76.3102272,"latitude_deg":9.825804,"altitude":12,"angle":165,"satellites":44,"speed":1,"hex_longitude":"2d7c0440","hex_latitude":"05db4c78","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551059968001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885014656483328,"note":"Value kept but may cause issues"} 
[2026-10-05 21:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936478691996491776,"note":"Value kept but may cause issues"} 
[2026-10-05 21:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791215085000,"timestamp_ms":1791215085000,"timestamp_seconds":1791215085,"priority":1,"record_length":96,"hex_timestamp":"000001a10cbd25c8"} 
[2026-10-05 21:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:18: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-10-05 21: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-05 21:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21: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-10-05 21:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:18:07] 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-10-05 21:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551059968001,"66":13374,"162":206,"85":15104,"24":1,"16":139885014656483328,"45":8936478691996491776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551059968001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:18:07] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:18:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885014656483328,"km_value":139885014656483.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936478691996491776,"description":"Unknown IO ID 45"} 
[2026-10-05 21:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551059968001,"power":13374,"unknown_162":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8936478691996491776}} 
[2026-10-05 21:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":204940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970040,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:18:07] local.INFO: GPS data processed {"connection_id":204940,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:18:07] local.INFO: Acknowledgment sent {"connection_id":204940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:18:30] local.INFO: TCP Data received {"connection_id":206455,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:18:30] local.INFO: Processing buffer {"connection_id":206455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:18:30] local.INFO: IMEI packet received {"connection_id":206455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":206455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:18:35] local.INFO: TCP Data received {"connection_id":206455,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:18:35] local.INFO: Processing buffer {"connection_id":206455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:18:35] local.INFO: IMEI packet received {"connection_id":206455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":206455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:18:36] local.INFO: TCP Data received {"connection_id":206455,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10cbd77d0012d7c048005db4c88000c009d2c..."} 
[2026-10-05 21:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cbd77d0012d7c048005db4c88000c009d2c..."} 
[2026-10-05 21:18:36] local.INFO: Processing buffer {"connection_id":206455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cbd77d0012d7c048005db4c88000c009d2c..."} 
[2026-10-05 21:18:36] local.INFO: Packet analysis {"connection_id":206455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cbd"} 
[2026-10-05 21:18:36] local.INFO: Extracted packet for processing {"connection_id":206455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cbd"} 
[2026-10-05 21:18:36] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":12,"angle":157,"satellites":44,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551061760001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936337954508142592,"note":"Value kept but may cause issues"} 
[2026-10-05 21:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791215106000,"timestamp_ms":1791215106000,"timestamp_seconds":1791215106,"priority":1,"record_length":96,"hex_timestamp":"000001a10cbd77d0"} 
[2026-10-05 21:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-10-05 21:18: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-10-05 21: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-10-05 21:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:18: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-10-05 21:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551061760001,"66":13037,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936337954508142592},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551061760001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:18:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:18:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936337954508142592,"description":"Unknown IO ID 45"} 
[2026-10-05 21:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551061760001,"power":13037,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936337954508142592}} 
[2026-10-05 21:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":206455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970041,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:18:36] local.INFO: GPS data processed {"connection_id":206455,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:18:36] local.INFO: Acknowledgment sent {"connection_id":206455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:18:47] local.INFO: TCP Data received {"connection_id":204941,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:18:47] local.INFO: Processing buffer {"connection_id":204941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:18:47] local.INFO: IMEI packet received {"connection_id":204941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":204941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:19:10] local.INFO: TCP Data received {"connection_id":208031,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:19:10] local.INFO: Processing buffer {"connection_id":208031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:19:10] local.INFO: IMEI packet received {"connection_id":208031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":208031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:19:10] local.INFO: TCP Data received {"connection_id":206455,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10cbd77d0012d7c048005db4c88000c009d2c..."} 
[2026-10-05 21:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cbd77d0012d7c048005db4c88000c009d2c..."} 
[2026-10-05 21:19:10] local.INFO: Processing buffer {"connection_id":206455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cbd77d0012d7c048005db4c88000c009d2c..."} 
[2026-10-05 21:19:10] local.INFO: Packet analysis {"connection_id":206455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cbd"} 
[2026-10-05 21:19:10] local.INFO: Extracted packet for processing {"connection_id":206455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cbd"} 
[2026-10-05 21:19:10] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":12,"angle":157,"satellites":44,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551067136001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791215106000,"timestamp_ms":1791215106000,"timestamp_seconds":1791215106,"priority":1,"record_length":96,"hex_timestamp":"000001a10cbd77d0"} 
[2026-10-05 21:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-10-05 21:19:10] 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-10-05 21:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":206455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":206455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":206455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:19: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-10-05 21:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551067136001,"66":13526,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551067136001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:19:10] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551067136001,"power":13526,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":206455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:19:10] local.INFO: GPS data processed {"connection_id":206455,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:19:10] local.INFO: Acknowledgment sent {"connection_id":206455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:19:19] local.INFO: TCP Data received {"connection_id":208030,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:19:19] local.INFO: Processing buffer {"connection_id":208030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:19:19] local.INFO: IMEI packet received {"connection_id":208030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":208030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:19:21] local.INFO: TCP Data received {"connection_id":208030,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10cbb9370012d77aac005f27238000d016225..."} 
[2026-10-05 21:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cbb9370012d77aac005f27238000d016225..."} 
[2026-10-05 21:19:21] local.INFO: Processing buffer {"connection_id":208030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cbb9370012d77aac005f27238000d016225..."} 
[2026-10-05 21:19:21] local.INFO: Packet analysis {"connection_id":208030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cbb"} 
[2026-10-05 21:19:21] local.INFO: Extracted packet for processing {"connection_id":208030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cbb"} 
[2026-10-05 21:19:21] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":13,"angle":354,"satellites":37,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 21:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550957824001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 21:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987119935488,"note":"Value kept but may cause issues"} 
[2026-10-05 21:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791214982000,"timestamp_ms":1791214982000,"timestamp_seconds":1791214982,"priority":1,"record_length":96,"hex_timestamp":"000001a10cbb9370"} 
[2026-10-05 21:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-05 21:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":208030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":208030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":208030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 21:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 21:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550957824001,"66":26202,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622422987119935488},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 21:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 21:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 21:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550957824001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:19:21] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:19:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 21:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987119935488,"description":"Unknown IO ID 45"} 
[2026-10-05 21:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550957824001,"power":26202,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622422987119935488}} 
[2026-10-05 21:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":208030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:19:21] local.INFO: GPS data processed {"connection_id":208030,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:19:21] local.INFO: Acknowledgment sent {"connection_id":208030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:19:24] local.INFO: TCP Data received {"connection_id":208031,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:19:24] local.INFO: Processing buffer {"connection_id":208031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:19:24] local.INFO: IMEI packet received {"connection_id":208031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":208031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:19:26] local.INFO: TCP Data received {"connection_id":208031,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cbd3950012d196600071feee80039015428..."} 
[2026-10-05 21:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cbd3950012d196600071feee80039015428..."} 
[2026-10-05 21:19:26] local.INFO: Processing buffer {"connection_id":208031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cbd3950012d196600071feee80039015428..."} 
[2026-10-05 21:19:26] local.INFO: Packet analysis {"connection_id":208031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cbd"} 
[2026-10-05 21:19:26] local.INFO: Extracted packet for processing {"connection_id":208031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cbd"} 
[2026-10-05 21:19:26] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550985984001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1791215090000,"timestamp_ms":1791215090000,"timestamp_seconds":1791215090,"priority":1,"record_length":96,"hex_timestamp":"000001a10cbd3950"} 
[2026-10-05 21:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:19:26] 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-10-05 21: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-10-05 21:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":208031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":208031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":208031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550985984001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550985984001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:19:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:19:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550985984001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":208031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:19:26] local.INFO: GPS data processed {"connection_id":208031,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:19:26] local.INFO: Acknowledgment sent {"connection_id":208031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:19:30] local.INFO: TCP Data received {"connection_id":208032,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208032,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:19:30] local.INFO: Processing buffer {"connection_id":208032,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:19:30] local.INFO: IMEI packet received {"connection_id":208032,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":208032,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:19:35] local.INFO: TCP Data received {"connection_id":208032,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208032,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:19:35] local.INFO: Processing buffer {"connection_id":208032,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:19:35] local.INFO: IMEI packet received {"connection_id":208032,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":208032,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:19:36] local.INFO: TCP Data received {"connection_id":208032,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a10cbd77d0012d7c048005db4c88000c009d2c..."} 
[2026-10-05 21:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cbd77d0012d7c048005db4c88000c009d2c..."} 
[2026-10-05 21:19:36] local.INFO: Processing buffer {"connection_id":208032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cbd77d0012d7c048005db4c88000c009d2c..."} 
[2026-10-05 21:19:36] local.INFO: Packet analysis {"connection_id":208032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cbd"} 
[2026-10-05 21:19:36] local.INFO: Extracted packet for processing {"connection_id":208032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cbd"} 
[2026-10-05 21:19:36] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":12,"angle":157,"satellites":44,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551067136001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791215106000,"timestamp_ms":1791215106000,"timestamp_seconds":1791215106,"priority":1,"record_length":96,"hex_timestamp":"000001a10cbd77d0"} 
[2026-10-05 21:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-05 21:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551067136001,"66":13526,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551067136001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:19:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:19:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551067136001,"power":13526,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":208032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970045,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:19:36] local.INFO: GPS data processed {"connection_id":208032,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:19:36] local.INFO: Acknowledgment sent {"connection_id":208032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:19:59] local.INFO: TCP Data received {"connection_id":208033,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:19:59] local.INFO: Processing buffer {"connection_id":208033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:19:59] local.INFO: IMEI packet received {"connection_id":208033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":208033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:20:04] local.INFO: TCP Data received {"connection_id":208033,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:20:04] local.INFO: Processing buffer {"connection_id":208033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:20:04] local.INFO: IMEI packet received {"connection_id":208033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":208033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:20:08] local.INFO: TCP Data received {"connection_id":208032,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a10cbd77d0012d7c048005db4c88000c009d2c..."} 
[2026-10-05 21:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cbd77d0012d7c048005db4c88000c009d2c..."} 
[2026-10-05 21:20:08] local.INFO: Processing buffer {"connection_id":208032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cbd77d0012d7c048005db4c88000c009d2c..."} 
[2026-10-05 21:20:08] local.INFO: Packet analysis {"connection_id":208032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cbd"} 
[2026-10-05 21:20:08] local.INFO: Extracted packet for processing {"connection_id":208032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cbd"} 
[2026-10-05 21:20:08] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":12,"angle":157,"satellites":44,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21:20:08] 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-10-05 21:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551067136001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791215106000,"timestamp_ms":1791215106000,"timestamp_seconds":1791215106,"priority":1,"record_length":96,"hex_timestamp":"000001a10cbd77d0"} 
[2026-10-05 21:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":214,"data_length":795,"current_offset":136} 
[2026-10-05 21:20:08] 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-10-05 21: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-10-05 21:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":208032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":208032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":208032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551067136001,"66":13526,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551067136001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:20:08] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:20:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551067136001,"power":13526,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":208032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:20:08] local.INFO: GPS data processed {"connection_id":208032,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:20:08] local.INFO: Acknowledgment sent {"connection_id":208032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:20:12] local.INFO: TCP Data received {"connection_id":208033,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc02b38012d77aac005f27238000d016229..."} 
[2026-10-05 21:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc02b38012d77aac005f27238000d016229..."} 
[2026-10-05 21:20:12] local.INFO: Processing buffer {"connection_id":208033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc02b38012d77aac005f27238000d016229..."} 
[2026-10-05 21:20:12] local.INFO: Packet analysis {"connection_id":208033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc0"} 
[2026-10-05 21:20:12] local.INFO: Extracted packet for processing {"connection_id":208033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc0"} 
[2026-10-05 21:20:12] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":13,"angle":354,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551035392001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 21:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 21:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791215283000,"timestamp_ms":1791215283000,"timestamp_seconds":1791215283,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc02b38"} 
[2026-10-05 21:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:20: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-10-05 21: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":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-10-05 21:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21: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-10-05 21:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":208033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":208033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":208033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 21:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 21:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551035392001,"66":26115,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 21:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 21:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 21:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551035392001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:20:12] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:20:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 21:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 21:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551035392001,"power":26115,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 21:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":208033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:20:12] local.INFO: GPS data processed {"connection_id":208033,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:20:12] local.INFO: Acknowledgment sent {"connection_id":208033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:20:14] local.INFO: TCP Data received {"connection_id":206456,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:20:14] local.INFO: Processing buffer {"connection_id":206456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:20:14] local.INFO: IMEI packet received {"connection_id":206456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":206456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:20:21] local.INFO: TCP Data received {"connection_id":206456,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:20:21] local.INFO: Processing buffer {"connection_id":206456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:20:21] local.INFO: IMEI packet received {"connection_id":206456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":206456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:20:24] local.INFO: TCP Data received {"connection_id":206456,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cbd3950012d196600071feee80039015428..."} 
[2026-10-05 21:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cbd3950012d196600071feee80039015428..."} 
[2026-10-05 21:20:24] local.INFO: Processing buffer {"connection_id":206456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cbd3950012d196600071feee80039015428..."} 
[2026-10-05 21:20:24] local.INFO: Packet analysis {"connection_id":206456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cbd"} 
[2026-10-05 21:20:24] local.INFO: Extracted packet for processing {"connection_id":206456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cbd"} 
[2026-10-05 21:20:24] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 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-10-05 21:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550985984001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1791215090000,"timestamp_ms":1791215090000,"timestamp_seconds":1791215090,"priority":1,"record_length":96,"hex_timestamp":"000001a10cbd3950"} 
[2026-10-05 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-10-05 21:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 21:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":206456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":206456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":206456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550985984001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550985984001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:20:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:20:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550985984001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":206456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:20:24] local.INFO: GPS data processed {"connection_id":206456,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:20:24] local.INFO: Acknowledgment sent {"connection_id":206456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:20:35] local.INFO: TCP Data received {"connection_id":205078,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:20:35] local.INFO: Processing buffer {"connection_id":205078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:20:35] local.INFO: IMEI packet received {"connection_id":205078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":205078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:20:40] local.INFO: TCP Data received {"connection_id":205078,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:20:40] local.INFO: Processing buffer {"connection_id":205078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:20:40] local.INFO: IMEI packet received {"connection_id":205078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":205078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:20:41] local.INFO: TCP Data received {"connection_id":205078,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:20:41] local.INFO: Processing buffer {"connection_id":205078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:20:41] local.INFO: Packet analysis {"connection_id":205078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc2"} 
[2026-10-05 21:20:41] local.INFO: Extracted packet for processing {"connection_id":205078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc2"} 
[2026-10-05 21:20:41] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":12,"angle":157,"satellites":40,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551067136001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791215409000,"timestamp_ms":1791215409000,"timestamp_seconds":1791215409,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc21768"} 
[2026-10-05 21:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-05 21:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":205078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":205078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":205078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551067136001,"66":13254,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551067136001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:20:41] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:20:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551067136001,"power":13254,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":205078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970049,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:20:41] local.INFO: GPS data processed {"connection_id":205078,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:20:41] local.INFO: Acknowledgment sent {"connection_id":205078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:20:53] local.INFO: TCP Data received {"connection_id":204942,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:20:54] local.INFO: Processing buffer {"connection_id":204942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:20:54] local.INFO: IMEI packet received {"connection_id":204942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":204942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:20:59] local.INFO: TCP Data received {"connection_id":204942,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:20:59] local.INFO: Processing buffer {"connection_id":204942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:20:59] local.INFO: IMEI packet received {"connection_id":204942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":204942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:21:04] local.INFO: TCP Data received {"connection_id":204942,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc02b38012d77aac005f27238000d016229..."} 
[2026-10-05 21:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc02b38012d77aac005f27238000d016229..."} 
[2026-10-05 21:21:04] local.INFO: Processing buffer {"connection_id":204942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc02b38012d77aac005f27238000d016229..."} 
[2026-10-05 21:21:04] local.INFO: Packet analysis {"connection_id":204942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc0"} 
[2026-10-05 21:21:04] local.INFO: Extracted packet for processing {"connection_id":204942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc0"} 
[2026-10-05 21:21:04] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":13,"angle":354,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 21:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551035392001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 21:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 21:21: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-10-05 21:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791215283000,"timestamp_ms":1791215283000,"timestamp_seconds":1791215283,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc02b38"} 
[2026-10-05 21:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-10-05 21:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":204942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":204942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":204942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 21:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 21:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551035392001,"66":26115,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 21:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 21:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 21:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551035392001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:21:04] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:21:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 21:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 21:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551035392001,"power":26115,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 21:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":204942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:21:04] local.INFO: GPS data processed {"connection_id":204942,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:21:04] local.INFO: Acknowledgment sent {"connection_id":204942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:21:04] local.INFO: TCP Data received {"connection_id":204943,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:21:04] local.INFO: Processing buffer {"connection_id":204943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:21:04] local.INFO: IMEI packet received {"connection_id":204943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":204943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:21:09] local.INFO: TCP Data received {"connection_id":204943,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:21:09] local.INFO: Processing buffer {"connection_id":204943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:21:09] local.INFO: IMEI packet received {"connection_id":204943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":204943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:21:12] local.INFO: TCP Data received {"connection_id":205078,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:21:12] local.INFO: Processing buffer {"connection_id":205078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:21:12] local.INFO: Packet analysis {"connection_id":205078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc2"} 
[2026-10-05 21:21:12] local.INFO: Extracted packet for processing {"connection_id":205078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc2"} 
[2026-10-05 21:21:12] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":12,"angle":157,"satellites":40,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551067136001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791215409000,"timestamp_ms":1791215409000,"timestamp_seconds":1791215409,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc21768"} 
[2026-10-05 21:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-05 21:21:12] 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-10-05 21:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":205078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":205078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":205078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551067136001,"66":13254,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551067136001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:21:12] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:21:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551067136001,"power":13254,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":205078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:21:12] local.INFO: GPS data processed {"connection_id":205078,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:21:12] local.INFO: Acknowledgment sent {"connection_id":205078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:21:14] local.INFO: TCP Data received {"connection_id":204943,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc1d118012d196600071feee80039015429..."} 
[2026-10-05 21:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc1d118012d196600071feee80039015429..."} 
[2026-10-05 21:21:14] local.INFO: Processing buffer {"connection_id":204943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc1d118012d196600071feee80039015429..."} 
[2026-10-05 21:21:14] local.INFO: Packet analysis {"connection_id":204943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc1"} 
[2026-10-05 21:21:14] local.INFO: Extracted packet for processing {"connection_id":204943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc1"} 
[2026-10-05 21:21:14] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:21: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-10-05 21:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551063040001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791215391000,"timestamp_ms":1791215391000,"timestamp_seconds":1791215391,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc1d118"} 
[2026-10-05 21:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:21:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:21: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-10-05 21:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":204943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":204943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":204943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551063040001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551063040001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:21:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:21:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551063040001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":204943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:21:14] local.INFO: GPS data processed {"connection_id":204943,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:21:14] local.INFO: Acknowledgment sent {"connection_id":204943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:21:24] local.INFO: TCP Data received {"connection_id":204943,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc1d118012d196600071feee80039015429..."} 
[2026-10-05 21:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc1d118012d196600071feee80039015429..."} 
[2026-10-05 21:21:24] local.INFO: Processing buffer {"connection_id":204943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc1d118012d196600071feee80039015429..."} 
[2026-10-05 21:21:24] local.INFO: Packet analysis {"connection_id":204943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc1"} 
[2026-10-05 21:21:24] local.INFO: Extracted packet for processing {"connection_id":204943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc1"} 
[2026-10-05 21:21:24] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551063040001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1791215391000,"timestamp_ms":1791215391000,"timestamp_seconds":1791215391,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc1d118"} 
[2026-10-05 21:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:21:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":204943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":204943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":204943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551063040001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551063040001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:21:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:21:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551063040001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":204943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:21:24] local.INFO: GPS data processed {"connection_id":204943,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:21:24] local.INFO: Acknowledgment sent {"connection_id":204943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:21:30] local.INFO: TCP Data received {"connection_id":208034,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208034,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:21:30] local.INFO: Processing buffer {"connection_id":208034,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:21:30] local.INFO: IMEI packet received {"connection_id":208034,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":208034,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:21:35] local.INFO: TCP Data received {"connection_id":208034,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208034,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:21:35] local.INFO: Processing buffer {"connection_id":208034,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:21:35] local.INFO: IMEI packet received {"connection_id":208034,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":208034,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:21:36] local.INFO: TCP Data received {"connection_id":208034,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:21:36] local.INFO: Processing buffer {"connection_id":208034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:21:36] local.INFO: Packet analysis {"connection_id":208034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc2"} 
[2026-10-05 21:21:36] local.INFO: Extracted packet for processing {"connection_id":208034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc2"} 
[2026-10-05 21:21:36] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":12,"angle":157,"satellites":40,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551067136001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791215409000,"timestamp_ms":1791215409000,"timestamp_seconds":1791215409,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc21768"} 
[2026-10-05 21:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-05 21:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21: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-10-05 21:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551067136001,"66":13254,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551067136001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:21:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:21:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551067136001,"power":13254,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":208034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:21:36] local.INFO: GPS data processed {"connection_id":208034,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:21:36] local.INFO: Acknowledgment sent {"connection_id":208034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:22:04] local.INFO: TCP Data received {"connection_id":204944,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:22:04] local.INFO: Processing buffer {"connection_id":204944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:22:04] local.INFO: IMEI packet received {"connection_id":204944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":204944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:22:07] local.INFO: TCP Data received {"connection_id":208034,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:22:07] local.INFO: Processing buffer {"connection_id":208034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:22:07] local.INFO: Packet analysis {"connection_id":208034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc2"} 
[2026-10-05 21:22:07] local.INFO: Extracted packet for processing {"connection_id":208034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc2"} 
[2026-10-05 21:22:07] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":12,"angle":157,"satellites":40,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551067136001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791215409000,"timestamp_ms":1791215409000,"timestamp_seconds":1791215409,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc21768"} 
[2026-10-05 21:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:22: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-10-05 21: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-05 21:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21: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-10-05 21:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":208034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":208034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":208034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551067136001,"66":13254,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551067136001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:22:07] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:22:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551067136001,"power":13254,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":208034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:22:07] local.INFO: GPS data processed {"connection_id":208034,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:22:07] local.INFO: Acknowledgment sent {"connection_id":208034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:22:13] local.INFO: TCP Data received {"connection_id":204944,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:22:13] local.INFO: Processing buffer {"connection_id":204944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:22:13] local.INFO: IMEI packet received {"connection_id":204944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":204944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:22:16] local.INFO: TCP Data received {"connection_id":204944,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc1d118012d196600071feee80039015429..."} 
[2026-10-05 21:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc1d118012d196600071feee80039015429..."} 
[2026-10-05 21:22:16] local.INFO: Processing buffer {"connection_id":204944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc1d118012d196600071feee80039015429..."} 
[2026-10-05 21:22:16] local.INFO: Packet analysis {"connection_id":204944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc1"} 
[2026-10-05 21:22:16] local.INFO: Extracted packet for processing {"connection_id":204944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc1"} 
[2026-10-05 21:22:16] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551063040001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791215391000,"timestamp_ms":1791215391000,"timestamp_seconds":1791215391,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc1d118"} 
[2026-10-05 21:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:22:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21: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-10-05 21:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551063040001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551063040001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:22:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:22:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551063040001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":204944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:22:17] local.INFO: GPS data processed {"connection_id":204944,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:22:17] local.INFO: Acknowledgment sent {"connection_id":204944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:22:18] local.INFO: TCP Data received {"connection_id":205079,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:22:18] local.INFO: Processing buffer {"connection_id":205079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:22:18] local.INFO: IMEI packet received {"connection_id":205079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":205079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:22:28] local.INFO: TCP Data received {"connection_id":205079,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:22:28] local.INFO: Processing buffer {"connection_id":205079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:22:28] local.INFO: IMEI packet received {"connection_id":205079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":205079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:22:33] local.INFO: TCP Data received {"connection_id":205079,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:22:33] local.INFO: Processing buffer {"connection_id":205079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:22:33] local.INFO: IMEI packet received {"connection_id":205079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":205079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:22:34] local.INFO: TCP Data received {"connection_id":205079,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:22:34] local.INFO: Processing buffer {"connection_id":205079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:22:34] local.INFO: IMEI packet received {"connection_id":205079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":205079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:22:35] local.INFO: TCP Data received {"connection_id":208035,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:22:35] local.INFO: Processing buffer {"connection_id":208035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:22:35] local.INFO: IMEI packet received {"connection_id":208035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":208035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:22:38] local.INFO: TCP Data received {"connection_id":205079,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc02b38012d77aac005f27238000d016229..."} 
[2026-10-05 21:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc02b38012d77aac005f27238000d016229..."} 
[2026-10-05 21:22:38] local.INFO: Processing buffer {"connection_id":205079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc02b38012d77aac005f27238000d016229..."} 
[2026-10-05 21:22:38] local.INFO: Packet analysis {"connection_id":205079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc0"} 
[2026-10-05 21:22:38] local.INFO: Extracted packet for processing {"connection_id":205079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc0"} 
[2026-10-05 21:22:38] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":13,"angle":354,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 21:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551035392001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 21:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 21:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791215283000,"timestamp_ms":1791215283000,"timestamp_seconds":1791215283,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc02b38"} 
[2026-10-05 21:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-10-05 21:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 21:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 21:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551035392001,"66":26115,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 21:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 21:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 21:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551035392001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:22:38] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:22:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 21:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 21:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551035392001,"power":26115,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 21:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":205079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:22:38] local.INFO: GPS data processed {"connection_id":205079,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:22:38] local.INFO: Acknowledgment sent {"connection_id":205079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:22:40] local.INFO: TCP Data received {"connection_id":208036,"ip":"117.224.177.146","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208036,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:22:40] local.INFO: Processing buffer {"connection_id":208036,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:22:40] local.INFO: IMEI packet received {"connection_id":208036,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 21:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":208036,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:22:40] local.INFO: TCP Data received {"connection_id":208035,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:22:40] local.INFO: Processing buffer {"connection_id":208035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:22:40] local.INFO: IMEI packet received {"connection_id":208035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":208035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:22:41] local.INFO: TCP Data received {"connection_id":208035,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:22:41] local.INFO: Processing buffer {"connection_id":208035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:22:41] local.INFO: Packet analysis {"connection_id":208035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc2"} 
[2026-10-05 21:22:41] local.INFO: Extracted packet for processing {"connection_id":208035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc2"} 
[2026-10-05 21:22:41] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":12,"angle":157,"satellites":40,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551067136001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791215409000,"timestamp_ms":1791215409000,"timestamp_seconds":1791215409,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc21768"} 
[2026-10-05 21:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-05 21:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":208035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":208035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":208035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551067136001,"66":13254,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551067136001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:22:41] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551067136001,"power":13254,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":208035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:22:41] local.INFO: GPS data processed {"connection_id":208035,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:22:41] local.INFO: Acknowledgment sent {"connection_id":208035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:22:46] local.INFO: TCP Data received {"connection_id":208035,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:22:46] local.INFO: Processing buffer {"connection_id":208035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:22:46] local.INFO: Packet analysis {"connection_id":208035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc2"} 
[2026-10-05 21:22:46] local.INFO: Extracted packet for processing {"connection_id":208035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc2"} 
[2026-10-05 21:22:46] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":12,"angle":157,"satellites":40,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551067136001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791215409000,"timestamp_ms":1791215409000,"timestamp_seconds":1791215409,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc21768"} 
[2026-10-05 21:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-05 21:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":208035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":208035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":208035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551067136001,"66":13254,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551067136001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:22:46] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:22:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551067136001,"power":13254,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":208035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970059,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:22:46] local.INFO: GPS data processed {"connection_id":208035,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:22:46] local.INFO: Acknowledgment sent {"connection_id":208035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:22:46] local.INFO: TCP Data received {"connection_id":208036,"ip":"117.224.177.146","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208036,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:22:46] local.INFO: Processing buffer {"connection_id":208036,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:22:46] local.INFO: IMEI packet received {"connection_id":208036,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 21:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":208036,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:22:48] local.INFO: TCP Data received {"connection_id":208036,"ip":"117.224.177.146","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb61d00012be31ac00b27ad30027d005f2a..."} 
[2026-10-05 21:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb61d00012be31ac00b27ad30027d005f2a..."} 
[2026-10-05 21:22:48] local.INFO: Processing buffer {"connection_id":208036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb61d00012be31ac00b27ad30027d005f2a..."} 
[2026-10-05 21:22:48] local.INFO: Packet analysis {"connection_id":208036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb6"} 
[2026-10-05 21:22:48] local.INFO: Extracted packet for processing {"connection_id":208036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb6"} 
[2026-10-05 21:22:48] local.INFO: GPS Element Parsed {"raw_longitude":736303808,"raw_latitude":187149616,"longitude_deg":73.6303808,"latitude_deg":18.7149616,"altitude":637,"angle":95,"satellites":42,"speed":0,"hex_longitude":"2be31ac0","hex_latitude":"0b27ad30","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550938368001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9877561492373504,"note":"Value kept but may cause issues"} 
[2026-10-05 21:22:48] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-2082140723562598398,"note":"Value kept but may cause issues"} 
[2026-10-05 21:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,237,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791214624000,"timestamp_ms":1791214624000,"timestamp_seconds":1791214624,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb61d00"} 
[2026-10-05 21:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 21:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21: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-10-05 21:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":208036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":208036,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":208036,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.177.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 21:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 21:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550938368001,"66":27887,"223":206,"237":60160,"24":0,"16":9877561492373504,"43":-2082140723562598398},"client_ip":"117.224.177.146","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,237,24,16,43]} 
[2026-10-05 21:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 21:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 21:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550938368001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:22:48] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-10-05 21:22:48] local.INFO: Unknown IO ID detected {"io_id":237,"value":60160,"description":"Unknown IO ID 237"} 
[2026-10-05 21:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9877561492373504,"km_value":9877561492373.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:22:48] local.INFO: Unknown IO ID detected {"io_id":43,"value":-2082140723562598398,"description":"Unknown IO ID 43"} 
[2026-10-05 21:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550938368001,"power":27887,"unknown_223":206,"unknown_237":60160,"ignition":0,"odometer":null,"unknown_43":-2082140723562598398}} 
[2026-10-05 21:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":208036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970060,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:22:48] local.INFO: GPS data processed {"connection_id":208036,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:22:48] local.INFO: Acknowledgment sent {"connection_id":208036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:22:54] local.INFO: TCP Data received {"connection_id":204944,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc1d118012d196600071feee80039015429..."} 
[2026-10-05 21:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc1d118012d196600071feee80039015429..."} 
[2026-10-05 21:22:54] local.INFO: Processing buffer {"connection_id":204944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc1d118012d196600071feee80039015429..."} 
[2026-10-05 21:22:54] local.INFO: Packet analysis {"connection_id":204944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc1"} 
[2026-10-05 21:22:54] local.INFO: Extracted packet for processing {"connection_id":204944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc1"} 
[2026-10-05 21:22:54] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 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-10-05 21:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551063040001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1791215391000,"timestamp_ms":1791215391000,"timestamp_seconds":1791215391,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc1d118"} 
[2026-10-05 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-10-05 21:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:22:54] 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-10-05 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-10-05 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-10-05 21:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":204944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":204944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":204944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551063040001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551063040001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:22:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:22:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551063040001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":204944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:22:54] local.INFO: GPS data processed {"connection_id":204944,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:22:54] local.INFO: Acknowledgment sent {"connection_id":204944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:23:04] local.INFO: TCP Data received {"connection_id":208037,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:23:04] local.INFO: Processing buffer {"connection_id":208037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:23:04] local.INFO: IMEI packet received {"connection_id":208037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":208037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:23:09] local.INFO: TCP Data received {"connection_id":208037,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:23:09] local.INFO: Processing buffer {"connection_id":208037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:23:09] local.INFO: IMEI packet received {"connection_id":208037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":208037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:23:09] local.INFO: TCP Data received {"connection_id":205080,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:23:09] local.INFO: Processing buffer {"connection_id":205080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:23:09] local.INFO: IMEI packet received {"connection_id":205080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":205080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:23:12] local.INFO: TCP Data received {"connection_id":208037,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc02b38012d77aac005f27238000d016229..."} 
[2026-10-05 21:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc02b38012d77aac005f27238000d016229..."} 
[2026-10-05 21:23:12] local.INFO: Processing buffer {"connection_id":208037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc02b38012d77aac005f27238000d016229..."} 
[2026-10-05 21:23:12] local.INFO: Packet analysis {"connection_id":208037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc0"} 
[2026-10-05 21:23:12] local.INFO: Extracted packet for processing {"connection_id":208037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc0"} 
[2026-10-05 21:23:12] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":13,"angle":354,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 21:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551035392001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 21:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 21:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791215283000,"timestamp_ms":1791215283000,"timestamp_seconds":1791215283,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc02b38"} 
[2026-10-05 21:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:23: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-10-05 21:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-10-05 21:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":208037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":208037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":208037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 21:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 21:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551035392001,"66":26115,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 21:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 21:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 21:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551035392001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:23:12] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:23:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 21:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 21:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551035392001,"power":26115,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 21:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":208037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:23:12] local.INFO: GPS data processed {"connection_id":208037,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:23:12] local.INFO: Acknowledgment sent {"connection_id":208037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:23:15] local.INFO: TCP Data received {"connection_id":205080,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:23:15] local.INFO: Processing buffer {"connection_id":205080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:23:15] local.INFO: IMEI packet received {"connection_id":205080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":205080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:23:16] local.INFO: TCP Data received {"connection_id":205080,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc1d118012d196600071feee80039015429..."} 
[2026-10-05 21:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc1d118012d196600071feee80039015429..."} 
[2026-10-05 21:23:16] local.INFO: Processing buffer {"connection_id":205080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc1d118012d196600071feee80039015429..."} 
[2026-10-05 21:23:16] local.INFO: Packet analysis {"connection_id":205080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc1"} 
[2026-10-05 21:23:16] local.INFO: Extracted packet for processing {"connection_id":205080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc1"} 
[2026-10-05 21:23:16] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551063040001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791215391000,"timestamp_ms":1791215391000,"timestamp_seconds":1791215391,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc1d118"} 
[2026-10-05 21:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551063040001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551063040001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:23:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:23:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551063040001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":205080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:23:16] local.INFO: GPS data processed {"connection_id":205080,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:23:16] local.INFO: Acknowledgment sent {"connection_id":205080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:23:30] local.INFO: TCP Data received {"connection_id":206457,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:23:30] local.INFO: Processing buffer {"connection_id":206457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:23:30] local.INFO: IMEI packet received {"connection_id":206457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":206457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:23:34] local.INFO: TCP Data received {"connection_id":208038,"ip":"117.224.177.146","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:23:34] local.INFO: Processing buffer {"connection_id":208038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:23:34] local.INFO: IMEI packet received {"connection_id":208038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 21:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":208038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:23:35] local.INFO: TCP Data received {"connection_id":206457,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:23:35] local.INFO: Processing buffer {"connection_id":206457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:23:35] local.INFO: IMEI packet received {"connection_id":206457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":206457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:23:36] local.INFO: TCP Data received {"connection_id":206457,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:23:36] local.INFO: Processing buffer {"connection_id":206457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:23:36] local.INFO: Packet analysis {"connection_id":206457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc2"} 
[2026-10-05 21:23:36] local.INFO: Extracted packet for processing {"connection_id":206457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc2"} 
[2026-10-05 21:23:36] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":12,"angle":157,"satellites":40,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551067136001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791215409000,"timestamp_ms":1791215409000,"timestamp_seconds":1791215409,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc21768"} 
[2026-10-05 21:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-05 21:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551067136001,"66":13254,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551067136001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:23:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:23:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551067136001,"power":13254,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":206457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970064,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:23:36] local.INFO: GPS data processed {"connection_id":206457,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:23:36] local.INFO: Acknowledgment sent {"connection_id":206457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:23:40] local.INFO: TCP Data received {"connection_id":208038,"ip":"117.224.177.146","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:23:40] local.INFO: Processing buffer {"connection_id":208038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:23:40] local.INFO: IMEI packet received {"connection_id":208038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 21:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":208038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:23:41] local.INFO: TCP Data received {"connection_id":208038,"ip":"117.224.177.146","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb66f08012be31ac00b27ad30027d005f2a..."} 
[2026-10-05 21:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb66f08012be31ac00b27ad30027d005f2a..."} 
[2026-10-05 21:23:41] local.INFO: Processing buffer {"connection_id":208038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb66f08012be31ac00b27ad30027d005f2a..."} 
[2026-10-05 21:23:41] local.INFO: Packet analysis {"connection_id":208038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb6"} 
[2026-10-05 21:23:41] local.INFO: Extracted packet for processing {"connection_id":208038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb6"} 
[2026-10-05 21:23:41] local.INFO: GPS Element Parsed {"raw_longitude":736303808,"raw_latitude":187149616,"longitude_deg":73.6303808,"latitude_deg":18.7149616,"altitude":637,"angle":95,"satellites":42,"speed":0,"hex_longitude":"2be31ac0","hex_latitude":"0b27ad30","is_valid_coordinates":true} 
[2026-10-05 21:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550943744001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9877561492373504,"note":"Value kept but may cause issues"} 
[2026-10-05 21:23:41] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-2082140723562598398,"note":"Value kept but may cause issues"} 
[2026-10-05 21:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,237,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791214645000,"timestamp_ms":1791214645000,"timestamp_seconds":1791214645,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb66f08"} 
[2026-10-05 21:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:23: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-10-05 21:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-10-05 21:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:23: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-10-05 21:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":208038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":208038,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":208038,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.177.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 21:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 21:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550943744001,"66":27441,"223":206,"237":60160,"24":0,"16":9877561492373504,"43":-2082140723562598398},"client_ip":"117.224.177.146","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,237,24,16,43]} 
[2026-10-05 21:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 21:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 21:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550943744001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:23:41] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-10-05 21:23:41] local.INFO: Unknown IO ID detected {"io_id":237,"value":60160,"description":"Unknown IO ID 237"} 
[2026-10-05 21:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9877561492373504,"km_value":9877561492373.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:23:41] local.INFO: Unknown IO ID detected {"io_id":43,"value":-2082140723562598398,"description":"Unknown IO ID 43"} 
[2026-10-05 21:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550943744001,"power":27441,"unknown_223":206,"unknown_237":60160,"ignition":0,"odometer":null,"unknown_43":-2082140723562598398}} 
[2026-10-05 21:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":208038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970065,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:23:42] local.INFO: GPS data processed {"connection_id":208038,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:23:42] local.INFO: Acknowledgment sent {"connection_id":208038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:23:53] local.INFO: TCP Data received {"connection_id":205080,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc1d118012d196600071feee80039015429..."} 
[2026-10-05 21:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc1d118012d196600071feee80039015429..."} 
[2026-10-05 21:23:53] local.INFO: Processing buffer {"connection_id":205080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc1d118012d196600071feee80039015429..."} 
[2026-10-05 21:23:53] local.INFO: Packet analysis {"connection_id":205080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc1"} 
[2026-10-05 21:23:53] local.INFO: Extracted packet for processing {"connection_id":205080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc1"} 
[2026-10-05 21:23:53] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551063040001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1791215391000,"timestamp_ms":1791215391000,"timestamp_seconds":1791215391,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc1d118"} 
[2026-10-05 21:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":205080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":205080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":205080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551063040001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551063040001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:23:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:23:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551063040001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":205080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:23:53] local.INFO: GPS data processed {"connection_id":205080,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:23:53] local.INFO: Acknowledgment sent {"connection_id":205080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:24:08] local.INFO: TCP Data received {"connection_id":206457,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:24:08] local.INFO: Processing buffer {"connection_id":206457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:24:08] local.INFO: Packet analysis {"connection_id":206457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc2"} 
[2026-10-05 21:24:08] local.INFO: Extracted packet for processing {"connection_id":206457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc2"} 
[2026-10-05 21:24:08] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":12,"angle":157,"satellites":40,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551067136001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791215409000,"timestamp_ms":1791215409000,"timestamp_seconds":1791215409,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc21768"} 
[2026-10-05 21:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-05 21:24:08] 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-10-05 21:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551067136001,"66":13254,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551067136001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:24:08] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:24:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551067136001,"power":13254,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":206457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970067,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:24:08] local.INFO: GPS data processed {"connection_id":206457,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:24:08] local.INFO: Acknowledgment sent {"connection_id":206457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:24:08] local.INFO: TCP Data received {"connection_id":208039,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:24:08] local.INFO: Processing buffer {"connection_id":208039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:24:08] local.INFO: IMEI packet received {"connection_id":208039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":208039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:24:12] local.INFO: TCP Data received {"connection_id":205081,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:24:12] local.INFO: Processing buffer {"connection_id":205081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:24:12] local.INFO: IMEI packet received {"connection_id":205081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":205081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:24:14] local.INFO: TCP Data received {"connection_id":208039,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:24:14] local.INFO: Processing buffer {"connection_id":208039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:24:14] local.INFO: IMEI packet received {"connection_id":208039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":208039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:24:14] local.INFO: TCP Data received {"connection_id":205081,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:24:14] local.INFO: Processing buffer {"connection_id":205081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:24:14] local.INFO: IMEI packet received {"connection_id":205081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":205081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:24:15] local.INFO: TCP Data received {"connection_id":208038,"ip":"117.224.177.146","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb6c110012be31ac00b27ad30027d005f2a..."} 
[2026-10-05 21:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb6c110012be31ac00b27ad30027d005f2a..."} 
[2026-10-05 21:24:15] local.INFO: Processing buffer {"connection_id":208038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb6c110012be31ac00b27ad30027d005f2a..."} 
[2026-10-05 21:24:15] local.INFO: Packet analysis {"connection_id":208038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb6"} 
[2026-10-05 21:24:15] local.INFO: Extracted packet for processing {"connection_id":208038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb6"} 
[2026-10-05 21:24:15] local.INFO: GPS Element Parsed {"raw_longitude":736303808,"raw_latitude":187149616,"longitude_deg":73.6303808,"latitude_deg":18.7149616,"altitude":637,"angle":95,"satellites":42,"speed":0,"hex_longitude":"2be31ac0","hex_latitude":"0b27ad30","is_valid_coordinates":true} 
[2026-10-05 21:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550949120001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9877561492373504,"note":"Value kept but may cause issues"} 
[2026-10-05 21:24:15] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-2082140723562598398,"note":"Value kept but may cause issues"} 
[2026-10-05 21:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,237,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791214666000,"timestamp_ms":1791214666000,"timestamp_seconds":1791214666,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb6c110"} 
[2026-10-05 21:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-10-05 21:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":208038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":208038,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":208038,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.177.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 21:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 21:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550949120001,"66":27995,"223":206,"237":60160,"24":0,"16":9877561492373504,"43":-2082140723562598398},"client_ip":"117.224.177.146","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,237,24,16,43]} 
[2026-10-05 21:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 21:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 21:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550949120001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:24:15] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-10-05 21:24:15] local.INFO: Unknown IO ID detected {"io_id":237,"value":60160,"description":"Unknown IO ID 237"} 
[2026-10-05 21:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9877561492373504,"km_value":9877561492373.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:24:15] local.INFO: Unknown IO ID detected {"io_id":43,"value":-2082140723562598398,"description":"Unknown IO ID 43"} 
[2026-10-05 21:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550949120001,"power":27995,"unknown_223":206,"unknown_237":60160,"ignition":0,"odometer":null,"unknown_43":-2082140723562598398}} 
[2026-10-05 21:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":208038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970068,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:24:15] local.INFO: GPS data processed {"connection_id":208038,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:24:15] local.INFO: Acknowledgment sent {"connection_id":208038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:24:16] local.INFO: TCP Data received {"connection_id":205081,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc1d118012d196600071feee80039015429..."} 
[2026-10-05 21:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc1d118012d196600071feee80039015429..."} 
[2026-10-05 21:24:16] local.INFO: Processing buffer {"connection_id":205081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc1d118012d196600071feee80039015429..."} 
[2026-10-05 21:24:16] local.INFO: Packet analysis {"connection_id":205081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc1"} 
[2026-10-05 21:24:16] local.INFO: Extracted packet for processing {"connection_id":205081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc1"} 
[2026-10-05 21:24:16] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551063040001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791215391000,"timestamp_ms":1791215391000,"timestamp_seconds":1791215391,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc1d118"} 
[2026-10-05 21:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551063040001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551063040001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:24:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:24:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551063040001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":205081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:24:16] local.INFO: GPS data processed {"connection_id":205081,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:24:16] local.INFO: Acknowledgment sent {"connection_id":205081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:24:17] local.INFO: TCP Data received {"connection_id":208039,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc4c300012d77aac005f272380012016223..."} 
[2026-10-05 21:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc4c300012d77aac005f272380012016223..."} 
[2026-10-05 21:24:17] local.INFO: Processing buffer {"connection_id":208039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc4c300012d77aac005f272380012016223..."} 
[2026-10-05 21:24:17] local.INFO: Packet analysis {"connection_id":208039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc4"} 
[2026-10-05 21:24:17] local.INFO: Extracted packet for processing {"connection_id":208039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc4"} 
[2026-10-05 21:24:17] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":18,"angle":354,"satellites":35,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 21:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551112448001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 21:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 21:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791215584000,"timestamp_ms":1791215584000,"timestamp_seconds":1791215584,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc4c300"} 
[2026-10-05 21:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 21:24:17] 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-10-05 21:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":208039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":208039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":208039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 21:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 21:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551112448001,"66":26039,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 21:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 21:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 21:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551112448001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:24:17] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:24:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 21:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 21:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551112448001,"power":26039,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 21:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":208039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:24:17] local.INFO: GPS data processed {"connection_id":208039,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:24:17] local.INFO: Acknowledgment sent {"connection_id":208039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:24:20] local.INFO: TCP Data received {"connection_id":208039,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc4c300012d77aac005f272380012016223..."} 
[2026-10-05 21:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc4c300012d77aac005f272380012016223..."} 
[2026-10-05 21:24:20] local.INFO: Processing buffer {"connection_id":208039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc4c300012d77aac005f272380012016223..."} 
[2026-10-05 21:24:20] local.INFO: Packet analysis {"connection_id":208039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc4"} 
[2026-10-05 21:24:20] local.INFO: Extracted packet for processing {"connection_id":208039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc4"} 
[2026-10-05 21:24:20] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":18,"angle":354,"satellites":35,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 21:24: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-10-05 21:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551112448001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 21:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 21:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791215584000,"timestamp_ms":1791215584000,"timestamp_seconds":1791215584,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc4c300"} 
[2026-10-05 21:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:24: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 21:24:20] 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-10-05 21:24: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-10-05 21:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":208039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":208039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":208039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 21:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 21:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551112448001,"66":26039,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 21:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 21:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 21:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551112448001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:24:20] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:24:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 21:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 21:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551112448001,"power":26039,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 21:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":208039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:24:20] local.INFO: GPS data processed {"connection_id":208039,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:24:20] local.INFO: Acknowledgment sent {"connection_id":208039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:24:27] local.INFO: TCP Data received {"connection_id":205081,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc1d118012d196600071feee80039015429..."} 
[2026-10-05 21:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc1d118012d196600071feee80039015429..."} 
[2026-10-05 21:24:27] local.INFO: Processing buffer {"connection_id":205081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc1d118012d196600071feee80039015429..."} 
[2026-10-05 21:24:27] local.INFO: Packet analysis {"connection_id":205081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc1"} 
[2026-10-05 21:24:27] local.INFO: Extracted packet for processing {"connection_id":205081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc1"} 
[2026-10-05 21:24:27] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551063040001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1791215391000,"timestamp_ms":1791215391000,"timestamp_seconds":1791215391,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc1d118"} 
[2026-10-05 21:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21: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-10-05 21:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":205081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":205081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":205081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551063040001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551063040001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:24:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:24:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551063040001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":205081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:24:27] local.INFO: GPS data processed {"connection_id":205081,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:24:27] local.INFO: Acknowledgment sent {"connection_id":205081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:24:30] local.INFO: TCP Data received {"connection_id":204945,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:24:30] local.INFO: Processing buffer {"connection_id":204945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:24:30] local.INFO: IMEI packet received {"connection_id":204945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":204945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:24:35] local.INFO: TCP Data received {"connection_id":204945,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:24:35] local.INFO: Processing buffer {"connection_id":204945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:24:35] local.INFO: IMEI packet received {"connection_id":204945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":204945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:24:37] local.INFO: TCP Data received {"connection_id":204945,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:24:37] local.INFO: Processing buffer {"connection_id":204945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:24:37] local.INFO: Packet analysis {"connection_id":204945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc2"} 
[2026-10-05 21:24:37] local.INFO: Extracted packet for processing {"connection_id":204945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc2"} 
[2026-10-05 21:24:37] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":12,"angle":157,"satellites":40,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551067136001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791215409000,"timestamp_ms":1791215409000,"timestamp_seconds":1791215409,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc21768"} 
[2026-10-05 21:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-05 21:24:37] 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-10-05 21:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551067136001,"66":13254,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551067136001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:24:37] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:24:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551067136001,"power":13254,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":204945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970073,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:24:37] local.INFO: GPS data processed {"connection_id":204945,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:24:37] local.INFO: Acknowledgment sent {"connection_id":204945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:24:39] local.INFO: TCP Data received {"connection_id":206458,"ip":"117.224.177.146","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206458,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:24:39] local.INFO: Processing buffer {"connection_id":206458,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:24:39] local.INFO: IMEI packet received {"connection_id":206458,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 21:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":206458,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:24:44] local.INFO: TCP Data received {"connection_id":206458,"ip":"117.224.177.146","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206458,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:24:44] local.INFO: Processing buffer {"connection_id":206458,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:24:44] local.INFO: IMEI packet received {"connection_id":206458,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 21:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":206458,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:24:46] local.INFO: TCP Data received {"connection_id":206458,"ip":"117.224.177.146","data_length":795,"data_hex":"000000000000030f8e0a000001a10cb6f7c0012be31ac00b27ad30027d005f2a..."} 
[2026-10-05 21:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cb6f7c0012be31ac00b27ad30027d005f2a..."} 
[2026-10-05 21:24:46] local.INFO: Processing buffer {"connection_id":206458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cb6f7c0012be31ac00b27ad30027d005f2a..."} 
[2026-10-05 21:24:46] local.INFO: Packet analysis {"connection_id":206458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cb6"} 
[2026-10-05 21:24:46] local.INFO: Extracted packet for processing {"connection_id":206458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cb6"} 
[2026-10-05 21:24:46] local.INFO: GPS Element Parsed {"raw_longitude":736303808,"raw_latitude":187149616,"longitude_deg":73.6303808,"latitude_deg":18.7149616,"altitude":637,"angle":95,"satellites":42,"speed":0,"hex_longitude":"2be31ac0","hex_latitude":"0b27ad30","is_valid_coordinates":true} 
[2026-10-05 21:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550954496001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9877561492373504,"note":"Value kept but may cause issues"} 
[2026-10-05 21:24:46] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-2082140723562598398,"note":"Value kept but may cause issues"} 
[2026-10-05 21:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,237,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791214680000,"timestamp_ms":1791214680000,"timestamp_seconds":1791214680,"priority":1,"record_length":96,"hex_timestamp":"000001a10cb6f7c0"} 
[2026-10-05 21:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 21:24:46] 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-10-05 21:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":206458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":206458,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":206458,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.177.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 21:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 21:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550954496001,"66":28006,"78":206,"237":60160,"24":0,"16":9877561492373504,"43":-2082140723562598398},"client_ip":"117.224.177.146","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,237,24,16,43]} 
[2026-10-05 21:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 21:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 21:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550954496001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:24:46] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-10-05 21:24:46] local.INFO: Unknown IO ID detected {"io_id":237,"value":60160,"description":"Unknown IO ID 237"} 
[2026-10-05 21:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9877561492373504,"km_value":9877561492373.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:24:46] local.INFO: Unknown IO ID detected {"io_id":43,"value":-2082140723562598398,"description":"Unknown IO ID 43"} 
[2026-10-05 21:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550954496001,"power":28006,"unknown_78":206,"unknown_237":60160,"ignition":0,"odometer":null,"unknown_43":-2082140723562598398}} 
[2026-10-05 21:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":206458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970074,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:24:46] local.INFO: GPS data processed {"connection_id":206458,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:24:46] local.INFO: Acknowledgment sent {"connection_id":206458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:24:56] local.INFO: TCP Data received {"connection_id":204946,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:24:56] local.INFO: Processing buffer {"connection_id":204946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:24:56] local.INFO: IMEI packet received {"connection_id":204946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":204946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:25:04] local.INFO: TCP Data received {"connection_id":208040,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:25:04] local.INFO: Processing buffer {"connection_id":208040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:25:04] local.INFO: IMEI packet received {"connection_id":208040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":208040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:25:07] local.INFO: TCP Data received {"connection_id":204946,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:25:07] local.INFO: Processing buffer {"connection_id":204946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:25:07] local.INFO: IMEI packet received {"connection_id":204946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":204946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:25:08] local.INFO: TCP Data received {"connection_id":204945,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:25:08] local.INFO: Processing buffer {"connection_id":204945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc21768012d7c048005db4c88000c009d28..."} 
[2026-10-05 21:25:08] local.INFO: Packet analysis {"connection_id":204945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc2"} 
[2026-10-05 21:25:08] local.INFO: Extracted packet for processing {"connection_id":204945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc2"} 
[2026-10-05 21:25:08] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":12,"angle":157,"satellites":40,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551067136001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791215409000,"timestamp_ms":1791215409000,"timestamp_seconds":1791215409,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc21768"} 
[2026-10-05 21:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-05 21:25:08] 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-10-05 21:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551067136001,"66":13254,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551067136001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:25:08] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:25:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551067136001,"power":13254,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":204945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:25:08] local.INFO: GPS data processed {"connection_id":204945,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:25:08] local.INFO: Acknowledgment sent {"connection_id":204945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:25:17] local.INFO: TCP Data received {"connection_id":208040,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:25:17] local.INFO: Processing buffer {"connection_id":208040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:25:17] local.INFO: IMEI packet received {"connection_id":208040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":208040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:25:19] local.INFO: TCP Data received {"connection_id":208040,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc1d118012d196600071feee80039015429..."} 
[2026-10-05 21:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc1d118012d196600071feee80039015429..."} 
[2026-10-05 21:25:19] local.INFO: Processing buffer {"connection_id":208040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc1d118012d196600071feee80039015429..."} 
[2026-10-05 21:25:19] local.INFO: Packet analysis {"connection_id":208040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc1"} 
[2026-10-05 21:25:19] local.INFO: Extracted packet for processing {"connection_id":208040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc1"} 
[2026-10-05 21:25:19] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:25: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-10-05 21:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551063040001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791215391000,"timestamp_ms":1791215391000,"timestamp_seconds":1791215391,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc1d118"} 
[2026-10-05 21:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:25: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-10-05 21:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":208040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":208040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":208040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551063040001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551063040001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:25:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:25:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551063040001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":208040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:25:19] local.INFO: GPS data processed {"connection_id":208040,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:25:19] local.INFO: Acknowledgment sent {"connection_id":208040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:25:26] local.INFO: TCP Data received {"connection_id":206458,"ip":"117.224.177.146","data_length":795,"data_hex":"000000000000030f8e0a000001a10cbba310012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cbba310012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:25:26] local.INFO: Processing buffer {"connection_id":206458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cbba310012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:25:26] local.INFO: Packet analysis {"connection_id":206458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cbb"} 
[2026-10-05 21:25:26] local.INFO: Extracted packet for processing {"connection_id":206458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cbb"} 
[2026-10-05 21:25:26] local.INFO: GPS Element Parsed {"raw_longitude":736303808,"raw_latitude":187149632,"longitude_deg":73.6303808,"latitude_deg":18.7149632,"altitude":637,"angle":95,"satellites":42,"speed":0,"hex_longitude":"2be31ac0","hex_latitude":"0b27ad40","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458550958080001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9877561492373504,"note":"Value kept but may cause issues"} 
[2026-10-05 21:25:26] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-2082140723562598398,"note":"Value kept but may cause issues"} 
[2026-10-05 21:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,237,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1791214986000,"timestamp_ms":1791214986000,"timestamp_seconds":1791214986,"priority":1,"record_length":96,"hex_timestamp":"000001a10cbba310"} 
[2026-10-05 21:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:25: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-10-05 21:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-05 21:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21: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-10-05 21:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":206458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":206458,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":206458,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.177.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 21:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 21:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458550958080001,"66":26473,"78":206,"237":60160,"24":0,"16":9877561492373504,"43":-2082140723562598398},"client_ip":"117.224.177.146","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,237,24,16,43]} 
[2026-10-05 21:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 21:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 21:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458550958080001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:25:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-10-05 21:25:26] local.INFO: Unknown IO ID detected {"io_id":237,"value":60160,"description":"Unknown IO ID 237"} 
[2026-10-05 21:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9877561492373504,"km_value":9877561492373.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:25:26] local.INFO: Unknown IO ID detected {"io_id":43,"value":-2082140723562598398,"description":"Unknown IO ID 43"} 
[2026-10-05 21:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458550958080001,"power":26473,"unknown_78":206,"unknown_237":60160,"ignition":0,"odometer":null,"unknown_43":-2082140723562598398}} 
[2026-10-05 21:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":206458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970077,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:25:26] local.INFO: GPS data processed {"connection_id":206458,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:25:26] local.INFO: Acknowledgment sent {"connection_id":206458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:25:30] local.INFO: TCP Data received {"connection_id":204947,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:25:30] local.INFO: Processing buffer {"connection_id":204947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:25:30] local.INFO: IMEI packet received {"connection_id":204947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":204947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:25:35] local.INFO: TCP Data received {"connection_id":204947,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:25:35] local.INFO: Processing buffer {"connection_id":204947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:25:35] local.INFO: IMEI packet received {"connection_id":204947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":204947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:25:36] local.INFO: TCP Data received {"connection_id":204947,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:25:36] local.INFO: Processing buffer {"connection_id":204947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:25:36] local.INFO: Packet analysis {"connection_id":204947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:25:36] local.INFO: Extracted packet for processing {"connection_id":204947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:25:36] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":17,"angle":157,"satellites":38,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551144704001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791215710000,"timestamp_ms":1791215710000,"timestamp_seconds":1791215710,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc6af30"} 
[2026-10-05 21:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-10-05 21:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551144704001,"66":13091,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551144704001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:25:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:25:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551144704001,"power":13091,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":204947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:25:36] local.INFO: GPS data processed {"connection_id":204947,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:25:36] local.INFO: Acknowledgment sent {"connection_id":204947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:25:39] local.INFO: TCP Data received {"connection_id":204946,"ip":"42.106.6.55","data_length":1348,"data_hex":"000000000000030f8e0a000001a10cc4c300012d77aac005f272380012016223..."} 
[2026-10-05 21:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204946,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a10cc4c300012d77aac005f272380012016223..."} 
[2026-10-05 21:25:39] local.INFO: Processing buffer {"connection_id":204946,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a10cc4c300012d77aac005f272380012016223..."} 
[2026-10-05 21:25:39] local.INFO: Packet analysis {"connection_id":204946,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a10cc4"} 
[2026-10-05 21:25:39] local.INFO: Extracted packet for processing {"connection_id":204946,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a10cc4"} 
[2026-10-05 21:25:39] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":18,"angle":354,"satellites":35,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 21:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551112448001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 21:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 21:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791215584000,"timestamp_ms":1791215584000,"timestamp_seconds":1791215584,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc4c300"} 
[2026-10-05 21:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 21:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":204946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":204946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":204946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 21:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 21:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551112448001,"66":26039,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 21:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 21:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 21:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551112448001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:25:39] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:25:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 21:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 21:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551112448001,"power":26039,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 21:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":204946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:25:39] local.INFO: GPS data processed {"connection_id":204946,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:25:39] local.INFO: Acknowledgment sent {"connection_id":204946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:25:39] local.INFO: Packet analysis {"connection_id":204946,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a10cc4"} 
[2026-10-05 21:25:39] local.INFO: Incomplete packet, waiting for more data {"connection_id":204946,"needed":795,"available":553} 
[2026-10-05 21:25:40] local.INFO: TCP Data received {"connection_id":204948,"ip":"117.224.177.146","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204948,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:25:40] local.INFO: Processing buffer {"connection_id":204948,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:25:40] local.INFO: IMEI packet received {"connection_id":204948,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 21:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":204948,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:25:45] local.INFO: TCP Data received {"connection_id":204948,"ip":"117.224.177.146","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204948,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:25:45] local.INFO: Processing buffer {"connection_id":204948,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:25:45] local.INFO: IMEI packet received {"connection_id":204948,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 21:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":204948,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:25:46] local.INFO: TCP Data received {"connection_id":204948,"ip":"117.224.177.146","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc03ad8012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc03ad8012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:25:46] local.INFO: Processing buffer {"connection_id":204948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc03ad8012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:25:46] local.INFO: Packet analysis {"connection_id":204948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc0"} 
[2026-10-05 21:25:46] local.INFO: Extracted packet for processing {"connection_id":204948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc0"} 
[2026-10-05 21:25:46] local.INFO: GPS Element Parsed {"raw_longitude":736303808,"raw_latitude":187149632,"longitude_deg":73.6303808,"latitude_deg":18.7149632,"altitude":637,"angle":95,"satellites":42,"speed":0,"hex_longitude":"2be31ac0","hex_latitude":"0b27ad40","is_valid_coordinates":true} 
[2026-10-05 21:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551036416001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9877561492373504,"note":"Value kept but may cause issues"} 
[2026-10-05 21:25:46] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-2082140723562594302,"note":"Value kept but may cause issues"} 
[2026-10-05 21:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,237,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791215287000,"timestamp_ms":1791215287000,"timestamp_seconds":1791215287,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc03ad8"} 
[2026-10-05 21:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-10-05 21:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204948,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204948,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.177.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 21:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 21:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551036416001,"66":26332,"78":206,"237":60160,"24":0,"16":9877561492373504,"43":-2082140723562594302},"client_ip":"117.224.177.146","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,237,24,16,43]} 
[2026-10-05 21:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 21:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 21:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551036416001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:25:46] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-10-05 21:25:46] local.INFO: Unknown IO ID detected {"io_id":237,"value":60160,"description":"Unknown IO ID 237"} 
[2026-10-05 21:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9877561492373504,"km_value":9877561492373.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:25:46] local.INFO: Unknown IO ID detected {"io_id":43,"value":-2082140723562594302,"description":"Unknown IO ID 43"} 
[2026-10-05 21:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551036416001,"power":26332,"unknown_78":206,"unknown_237":60160,"ignition":0,"odometer":null,"unknown_43":-2082140723562594302}} 
[2026-10-05 21:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":204948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970080,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:25:46] local.INFO: GPS data processed {"connection_id":204948,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:25:46] local.INFO: Acknowledgment sent {"connection_id":204948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:25:49] local.INFO: TCP Data received {"connection_id":204948,"ip":"117.224.177.146","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc03ad8012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc03ad8012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:25:49] local.INFO: Processing buffer {"connection_id":204948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc03ad8012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:25:49] local.INFO: Packet analysis {"connection_id":204948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc0"} 
[2026-10-05 21:25:49] local.INFO: Extracted packet for processing {"connection_id":204948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc0"} 
[2026-10-05 21:25:49] local.INFO: GPS Element Parsed {"raw_longitude":736303808,"raw_latitude":187149632,"longitude_deg":73.6303808,"latitude_deg":18.7149632,"altitude":637,"angle":95,"satellites":42,"speed":0,"hex_longitude":"2be31ac0","hex_latitude":"0b27ad40","is_valid_coordinates":true} 
[2026-10-05 21:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551036416001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9877561492373504,"note":"Value kept but may cause issues"} 
[2026-10-05 21:25:49] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-2082140723562594302,"note":"Value kept but may cause issues"} 
[2026-10-05 21:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,237,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1791215287000,"timestamp_ms":1791215287000,"timestamp_seconds":1791215287,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc03ad8"} 
[2026-10-05 21:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-10-05 21:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":204948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":204948,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":204948,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.177.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 21:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 21:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551036416001,"66":26332,"78":206,"237":60160,"24":0,"16":9877561492373504,"43":-2082140723562594302},"client_ip":"117.224.177.146","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,237,24,16,43]} 
[2026-10-05 21:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 21:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 21:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551036416001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:25:49] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-10-05 21:25:49] local.INFO: Unknown IO ID detected {"io_id":237,"value":60160,"description":"Unknown IO ID 237"} 
[2026-10-05 21:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9877561492373504,"km_value":9877561492373.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:25:49] local.INFO: Unknown IO ID detected {"io_id":43,"value":-2082140723562594302,"description":"Unknown IO ID 43"} 
[2026-10-05 21:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551036416001,"power":26332,"unknown_78":206,"unknown_237":60160,"ignition":0,"odometer":null,"unknown_43":-2082140723562594302}} 
[2026-10-05 21:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":204948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970081,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:25:49] local.INFO: GPS data processed {"connection_id":204948,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:25:49] local.INFO: Acknowledgment sent {"connection_id":204948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:25:54] local.INFO: TCP Data received {"connection_id":204949,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:25:54] local.INFO: Processing buffer {"connection_id":204949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:25:54] local.INFO: IMEI packet received {"connection_id":204949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":204949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:26:09] local.INFO: TCP Data received {"connection_id":204947,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:26:09] local.INFO: Processing buffer {"connection_id":204947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:26:09] local.INFO: Packet analysis {"connection_id":204947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:26:09] local.INFO: Extracted packet for processing {"connection_id":204947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:26:09] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":17,"angle":157,"satellites":38,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551144704001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791215710000,"timestamp_ms":1791215710000,"timestamp_seconds":1791215710,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc6af30"} 
[2026-10-05 21:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-10-05 21:26: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-10-05 21: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-10-05 21:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":204947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":204947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":204947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551144704001,"66":13091,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551144704001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:26:09] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:26:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551144704001,"power":13091,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":204947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970082,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:26:09] local.INFO: GPS data processed {"connection_id":204947,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:26:09] local.INFO: Acknowledgment sent {"connection_id":204947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:26:09] local.INFO: TCP Data received {"connection_id":204950,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:26:09] local.INFO: Processing buffer {"connection_id":204950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:26:09] local.INFO: IMEI packet received {"connection_id":204950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":204950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:26:11] local.INFO: TCP Data received {"connection_id":204949,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:26:11] local.INFO: Processing buffer {"connection_id":204949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:26:11] local.INFO: IMEI packet received {"connection_id":204949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":204949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:26:12] local.INFO: TCP Data received {"connection_id":204949,"ip":"42.106.6.55","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 21:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204949,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 21:26:12] local.INFO: Processing buffer {"connection_id":204949,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 21:26:12] local.INFO: IMEI packet received {"connection_id":204949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":204949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:26:18] local.INFO: TCP Data received {"connection_id":204950,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:26:18] local.INFO: Processing buffer {"connection_id":204950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:26:18] local.INFO: IMEI packet received {"connection_id":204950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":204950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:26:19] local.INFO: TCP Data received {"connection_id":204950,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:26:19] local.INFO: Processing buffer {"connection_id":204950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:26:19] local.INFO: Packet analysis {"connection_id":204950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:26:19] local.INFO: Extracted packet for processing {"connection_id":204950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:26:19] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551140096001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791215692000,"timestamp_ms":1791215692000,"timestamp_seconds":1791215692,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc668e0"} 
[2026-10-05 21:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:26:19] 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-10-05 21:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":204950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":204950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":204950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551140096001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551140096001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:26:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:26:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551140096001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":204950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:26:19] local.INFO: GPS data processed {"connection_id":204950,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:26:19] local.INFO: Acknowledgment sent {"connection_id":204950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:26:21] local.INFO: TCP Data received {"connection_id":204950,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:26:21] local.INFO: Processing buffer {"connection_id":204950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:26:21] local.INFO: Packet analysis {"connection_id":204950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:26:21] local.INFO: Extracted packet for processing {"connection_id":204950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:26:21] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551140096001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791215692000,"timestamp_ms":1791215692000,"timestamp_seconds":1791215692,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc668e0"} 
[2026-10-05 21:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:26:21] 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-10-05 21:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":204950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":204950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":204950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551140096001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551140096001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:26:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:26:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551140096001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":204950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:26:21] local.INFO: GPS data processed {"connection_id":204950,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:26:21] local.INFO: Acknowledgment sent {"connection_id":204950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:26:35] local.INFO: TCP Data received {"connection_id":206459,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:26:35] local.INFO: Processing buffer {"connection_id":206459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:26:35] local.INFO: IMEI packet received {"connection_id":206459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":206459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:26:39] local.INFO: TCP Data received {"connection_id":204951,"ip":"117.224.177.146","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:26:39] local.INFO: Processing buffer {"connection_id":204951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:26:39] local.INFO: IMEI packet received {"connection_id":204951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 21:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":204951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:26:40] local.INFO: TCP Data received {"connection_id":206459,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:26:40] local.INFO: Processing buffer {"connection_id":206459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:26:40] local.INFO: IMEI packet received {"connection_id":206459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":206459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:26:41] local.INFO: TCP Data received {"connection_id":206459,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:26:41] local.INFO: Processing buffer {"connection_id":206459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:26:41] local.INFO: Packet analysis {"connection_id":206459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:26:41] local.INFO: Extracted packet for processing {"connection_id":206459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:26:41] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":17,"angle":157,"satellites":38,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551144704001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791215710000,"timestamp_ms":1791215710000,"timestamp_seconds":1791215710,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc6af30"} 
[2026-10-05 21:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-10-05 21:26:41] 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-10-05 21: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-10-05 21:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":206459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":206459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":206459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551144704001,"66":13091,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551144704001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:26:41] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551144704001,"power":13091,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":206459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:26:41] local.INFO: GPS data processed {"connection_id":206459,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:26:41] local.INFO: Acknowledgment sent {"connection_id":206459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:26:45] local.INFO: TCP Data received {"connection_id":204951,"ip":"117.224.177.146","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:26:45] local.INFO: Processing buffer {"connection_id":204951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:26:45] local.INFO: IMEI packet received {"connection_id":204951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 21:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":204951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:26:46] local.INFO: TCP Data received {"connection_id":206459,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:26:46] local.INFO: Processing buffer {"connection_id":206459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:26:46] local.INFO: Packet analysis {"connection_id":206459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:26:46] local.INFO: Extracted packet for processing {"connection_id":206459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:26:46] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":17,"angle":157,"satellites":38,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551144704001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791215710000,"timestamp_ms":1791215710000,"timestamp_seconds":1791215710,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc6af30"} 
[2026-10-05 21:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-10-05 21:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":206459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":206459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":206459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551144704001,"66":13091,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551144704001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:26:46] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:26:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551144704001,"power":13091,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":206459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:26:46] local.INFO: GPS data processed {"connection_id":206459,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:26:46] local.INFO: Acknowledgment sent {"connection_id":206459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:26:46] local.INFO: TCP Data received {"connection_id":204951,"ip":"117.224.177.146","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc70138012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc70138012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:26:46] local.INFO: Processing buffer {"connection_id":204951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc70138012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:26:46] local.INFO: Packet analysis {"connection_id":204951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc7"} 
[2026-10-05 21:26:46] local.INFO: Extracted packet for processing {"connection_id":204951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc7"} 
[2026-10-05 21:26:46] local.INFO: GPS Element Parsed {"raw_longitude":736303808,"raw_latitude":187149632,"longitude_deg":73.6303808,"latitude_deg":18.7149632,"altitude":637,"angle":95,"satellites":42,"speed":0,"hex_longitude":"2be31ac0","hex_latitude":"0b27ad40","is_valid_coordinates":true} 
[2026-10-05 21:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551113472001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9877561492373504,"note":"Value kept but may cause issues"} 
[2026-10-05 21:26:46] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-2082140723562594302,"note":"Value kept but may cause issues"} 
[2026-10-05 21:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,3,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791215731000,"timestamp_ms":1791215731000,"timestamp_seconds":1791215731,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc70138"} 
[2026-10-05 21:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-05 21:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.177.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 21:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 21:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551113472001,"66":26299,"245":206,"3":65024,"24":0,"16":9877561492373504,"43":-2082140723562594302},"client_ip":"117.224.177.146","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,3,24,16,43]} 
[2026-10-05 21:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 21:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 21:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551113472001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:26:46] local.INFO: Unknown IO ID detected {"io_id":3,"value":65024,"description":"Unknown IO ID 3"} 
[2026-10-05 21:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9877561492373504,"km_value":9877561492373.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:26:46] local.INFO: Unknown IO ID detected {"io_id":43,"value":-2082140723562594302,"description":"Unknown IO ID 43"} 
[2026-10-05 21:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551113472001,"power":26299,"geofence_id":206,"unknown_3":65024,"ignition":0,"odometer":null,"unknown_43":-2082140723562594302}} 
[2026-10-05 21:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":204951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970087,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:26:46] local.INFO: GPS data processed {"connection_id":204951,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:26:46] local.INFO: Acknowledgment sent {"connection_id":204951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:27:07] local.INFO: TCP Data received {"connection_id":204952,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:27:07] local.INFO: Processing buffer {"connection_id":204952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:27:07] local.INFO: IMEI packet received {"connection_id":204952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":204952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:27:09] local.INFO: TCP Data received {"connection_id":204952,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:27:09] local.INFO: Processing buffer {"connection_id":204952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:27:09] local.INFO: IMEI packet received {"connection_id":204952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":204952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:27:11] local.INFO: TCP Data received {"connection_id":204952,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:27:11] local.INFO: Processing buffer {"connection_id":204952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:27:11] local.INFO: Packet analysis {"connection_id":204952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:27:11] local.INFO: Extracted packet for processing {"connection_id":204952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:27:11] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551140096001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791215692000,"timestamp_ms":1791215692000,"timestamp_seconds":1791215692,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc668e0"} 
[2026-10-05 21:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:27:11] 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-10-05 21: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-10-05 21:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551140096001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551140096001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:27:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:27:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551140096001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":204952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:27:11] local.INFO: GPS data processed {"connection_id":204952,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:27:11] local.INFO: Acknowledgment sent {"connection_id":204952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:27:16] local.INFO: TCP Data received {"connection_id":204952,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:27:16] local.INFO: Processing buffer {"connection_id":204952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:27:16] local.INFO: Packet analysis {"connection_id":204952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:27:16] local.INFO: Extracted packet for processing {"connection_id":204952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:27:16] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551140096001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791215692000,"timestamp_ms":1791215692000,"timestamp_seconds":1791215692,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc668e0"} 
[2026-10-05 21:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:27:16] 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-10-05 21:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551140096001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551140096001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:27:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:27:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551140096001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":204952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:27:16] local.INFO: GPS data processed {"connection_id":204952,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:27:16] local.INFO: Acknowledgment sent {"connection_id":204952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:27:18] local.INFO: TCP Data received {"connection_id":204951,"ip":"117.224.177.146","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc70138012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc70138012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:27:18] local.INFO: Processing buffer {"connection_id":204951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc70138012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:27:18] local.INFO: Packet analysis {"connection_id":204951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc7"} 
[2026-10-05 21:27:18] local.INFO: Extracted packet for processing {"connection_id":204951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc7"} 
[2026-10-05 21:27:18] local.INFO: GPS Element Parsed {"raw_longitude":736303808,"raw_latitude":187149632,"longitude_deg":73.6303808,"latitude_deg":18.7149632,"altitude":637,"angle":95,"satellites":42,"speed":0,"hex_longitude":"2be31ac0","hex_latitude":"0b27ad40","is_valid_coordinates":true} 
[2026-10-05 21:27: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-10-05 21:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551113472001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9877561492373504,"note":"Value kept but may cause issues"} 
[2026-10-05 21:27:18] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-2082140723562594302,"note":"Value kept but may cause issues"} 
[2026-10-05 21:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,3,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791215731000,"timestamp_ms":1791215731000,"timestamp_seconds":1791215731,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc70138"} 
[2026-10-05 21:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:27: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":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-05 21:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:27: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-10-05 21:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":204951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":204951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":204951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.177.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 21:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 21:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551113472001,"66":26299,"245":206,"3":65024,"24":0,"16":9877561492373504,"43":-2082140723562594302},"client_ip":"117.224.177.146","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,3,24,16,43]} 
[2026-10-05 21:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 21:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 21:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551113472001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:27:18] local.INFO: Unknown IO ID detected {"io_id":3,"value":65024,"description":"Unknown IO ID 3"} 
[2026-10-05 21:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9877561492373504,"km_value":9877561492373.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:27:18] local.INFO: Unknown IO ID detected {"io_id":43,"value":-2082140723562594302,"description":"Unknown IO ID 43"} 
[2026-10-05 21:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551113472001,"power":26299,"geofence_id":206,"unknown_3":65024,"ignition":0,"odometer":null,"unknown_43":-2082140723562594302}} 
[2026-10-05 21:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":204951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970090,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:27:18] local.INFO: GPS data processed {"connection_id":204951,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:27:18] local.INFO: Acknowledgment sent {"connection_id":204951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:27:30] local.INFO: TCP Data received {"connection_id":205083,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:27:30] local.INFO: Processing buffer {"connection_id":205083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:27:30] local.INFO: IMEI packet received {"connection_id":205083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":205083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:27:34] local.INFO: TCP Data received {"connection_id":206460,"ip":"117.224.177.146","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:27:34] local.INFO: Processing buffer {"connection_id":206460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:27:34] local.INFO: IMEI packet received {"connection_id":206460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 21:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":206460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:27:35] local.INFO: TCP Data received {"connection_id":205083,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:27:35] local.INFO: Processing buffer {"connection_id":205083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:27:35] local.INFO: IMEI packet received {"connection_id":205083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":205083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:27:36] local.INFO: TCP Data received {"connection_id":205083,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:27:36] local.INFO: Processing buffer {"connection_id":205083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:27:36] local.INFO: Packet analysis {"connection_id":205083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:27:36] local.INFO: Extracted packet for processing {"connection_id":205083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:27:36] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":17,"angle":157,"satellites":38,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551144704001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791215710000,"timestamp_ms":1791215710000,"timestamp_seconds":1791215710,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc6af30"} 
[2026-10-05 21:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-10-05 21:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551144704001,"66":13091,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551144704001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:27:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:27:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551144704001,"power":13091,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":205083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:27:36] local.INFO: GPS data processed {"connection_id":205083,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:27:36] local.INFO: Acknowledgment sent {"connection_id":205083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:27:42] local.INFO: TCP Data received {"connection_id":206460,"ip":"117.224.177.146","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:27:42] local.INFO: Processing buffer {"connection_id":206460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:27:42] local.INFO: IMEI packet received {"connection_id":206460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 21:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":206460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:27:45] local.INFO: TCP Data received {"connection_id":206460,"ip":"117.224.177.146","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc70138012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc70138012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:27:45] local.INFO: Processing buffer {"connection_id":206460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc70138012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:27:45] local.INFO: Packet analysis {"connection_id":206460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc7"} 
[2026-10-05 21:27:45] local.INFO: Extracted packet for processing {"connection_id":206460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc7"} 
[2026-10-05 21:27:45] local.INFO: GPS Element Parsed {"raw_longitude":736303808,"raw_latitude":187149632,"longitude_deg":73.6303808,"latitude_deg":18.7149632,"altitude":637,"angle":95,"satellites":42,"speed":0,"hex_longitude":"2be31ac0","hex_latitude":"0b27ad40","is_valid_coordinates":true} 
[2026-10-05 21:27: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-10-05 21:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551113472001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9877561492373504,"note":"Value kept but may cause issues"} 
[2026-10-05 21:27:45] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-2082140723562594302,"note":"Value kept but may cause issues"} 
[2026-10-05 21:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,3,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791215731000,"timestamp_ms":1791215731000,"timestamp_seconds":1791215731,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc70138"} 
[2026-10-05 21:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:27: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":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-05 21:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:27: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-10-05 21:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":206460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":206460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":206460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.177.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 21:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 21:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551113472001,"66":26299,"245":206,"3":65024,"24":0,"16":9877561492373504,"43":-2082140723562594302},"client_ip":"117.224.177.146","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,3,24,16,43]} 
[2026-10-05 21:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 21:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 21:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551113472001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:27:45] local.INFO: Unknown IO ID detected {"io_id":3,"value":65024,"description":"Unknown IO ID 3"} 
[2026-10-05 21:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9877561492373504,"km_value":9877561492373.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:27:45] local.INFO: Unknown IO ID detected {"io_id":43,"value":-2082140723562594302,"description":"Unknown IO ID 43"} 
[2026-10-05 21:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551113472001,"power":26299,"geofence_id":206,"unknown_3":65024,"ignition":0,"odometer":null,"unknown_43":-2082140723562594302}} 
[2026-10-05 21:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":206460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970092,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:27:45] local.INFO: GPS data processed {"connection_id":206460,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:27:45] local.INFO: Acknowledgment sent {"connection_id":206460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:27:52] local.INFO: TCP Data received {"connection_id":204952,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:27:52] local.INFO: Processing buffer {"connection_id":204952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:27:52] local.INFO: Packet analysis {"connection_id":204952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:27:52] local.INFO: Extracted packet for processing {"connection_id":204952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:27:52] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551140096001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1791215692000,"timestamp_ms":1791215692000,"timestamp_seconds":1791215692,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc668e0"} 
[2026-10-05 21:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:27:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":204952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":204952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":204952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551140096001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551140096001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:27:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:27:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551140096001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":204952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:27:52] local.INFO: GPS data processed {"connection_id":204952,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:27:52] local.INFO: Acknowledgment sent {"connection_id":204952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:28:08] local.INFO: TCP Data received {"connection_id":205083,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:28:08] local.INFO: Processing buffer {"connection_id":205083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:28:08] local.INFO: Packet analysis {"connection_id":205083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:28:08] local.INFO: Extracted packet for processing {"connection_id":205083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:28:08] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":17,"angle":157,"satellites":38,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551144704001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791215710000,"timestamp_ms":1791215710000,"timestamp_seconds":1791215710,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc6af30"} 
[2026-10-05 21:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-10-05 21:28:08] 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-10-05 21: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-10-05 21:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551144704001,"66":13091,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551144704001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:28:08] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:28:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551144704001,"power":13091,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":205083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:28:08] local.INFO: GPS data processed {"connection_id":205083,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:28:08] local.INFO: Acknowledgment sent {"connection_id":205083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:28:12] local.INFO: TCP Data received {"connection_id":208042,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:28:12] local.INFO: Processing buffer {"connection_id":208042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:28:12] local.INFO: IMEI packet received {"connection_id":208042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":208042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:28:14] local.INFO: TCP Data received {"connection_id":208042,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:28:14] local.INFO: Processing buffer {"connection_id":208042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:28:14] local.INFO: IMEI packet received {"connection_id":208042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":208042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:28:15] local.INFO: TCP Data received {"connection_id":208042,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:28:15] local.INFO: Processing buffer {"connection_id":208042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:28:15] local.INFO: Packet analysis {"connection_id":208042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:28:15] local.INFO: Extracted packet for processing {"connection_id":208042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551140096001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791215692000,"timestamp_ms":1791215692000,"timestamp_seconds":1791215692,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc668e0"} 
[2026-10-05 21:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":208042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":208042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":208042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551140096001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551140096001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:28:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:28:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551140096001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":208042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:28:15] local.INFO: GPS data processed {"connection_id":208042,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:28:15] local.INFO: Acknowledgment sent {"connection_id":208042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:28:17] local.INFO: TCP Data received {"connection_id":206460,"ip":"117.224.177.146","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc70138012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc70138012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:28:17] local.INFO: Processing buffer {"connection_id":206460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc70138012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:28:17] local.INFO: Packet analysis {"connection_id":206460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc7"} 
[2026-10-05 21:28:17] local.INFO: Extracted packet for processing {"connection_id":206460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc7"} 
[2026-10-05 21:28:17] local.INFO: GPS Element Parsed {"raw_longitude":736303808,"raw_latitude":187149632,"longitude_deg":73.6303808,"latitude_deg":18.7149632,"altitude":637,"angle":95,"satellites":42,"speed":0,"hex_longitude":"2be31ac0","hex_latitude":"0b27ad40","is_valid_coordinates":true} 
[2026-10-05 21:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551113472001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9877561492373504,"note":"Value kept but may cause issues"} 
[2026-10-05 21:28:17] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-2082140723562594302,"note":"Value kept but may cause issues"} 
[2026-10-05 21:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,3,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791215731000,"timestamp_ms":1791215731000,"timestamp_seconds":1791215731,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc70138"} 
[2026-10-05 21:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-05 21:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":206460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":206460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":206460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.177.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 21:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 21:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551113472001,"66":26299,"245":206,"3":65024,"24":0,"16":9877561492373504,"43":-2082140723562594302},"client_ip":"117.224.177.146","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,3,24,16,43]} 
[2026-10-05 21:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 21:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 21:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551113472001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:28:17] local.INFO: Unknown IO ID detected {"io_id":3,"value":65024,"description":"Unknown IO ID 3"} 
[2026-10-05 21:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9877561492373504,"km_value":9877561492373.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:28:17] local.INFO: Unknown IO ID detected {"io_id":43,"value":-2082140723562594302,"description":"Unknown IO ID 43"} 
[2026-10-05 21:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551113472001,"power":26299,"geofence_id":206,"unknown_3":65024,"ignition":0,"odometer":null,"unknown_43":-2082140723562594302}} 
[2026-10-05 21:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":206460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970096,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:28:17] local.INFO: GPS data processed {"connection_id":206460,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:28:17] local.INFO: Acknowledgment sent {"connection_id":206460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:28:22] local.INFO: TCP Data received {"connection_id":208042,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:28:22] local.INFO: Processing buffer {"connection_id":208042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:28:22] local.INFO: Packet analysis {"connection_id":208042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:28:22] local.INFO: Extracted packet for processing {"connection_id":208042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:28:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551140096001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791215692000,"timestamp_ms":1791215692000,"timestamp_seconds":1791215692,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc668e0"} 
[2026-10-05 21:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:28:22] 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-10-05 21:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":208042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":208042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":208042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551140096001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551140096001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:28:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:28:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551140096001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":208042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:28:22] local.INFO: GPS data processed {"connection_id":208042,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:28:22] local.INFO: Acknowledgment sent {"connection_id":208042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:28:30] local.INFO: TCP Data received {"connection_id":204953,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:28:30] local.INFO: Processing buffer {"connection_id":204953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:28:30] local.INFO: IMEI packet received {"connection_id":204953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":204953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:28:35] local.INFO: TCP Data received {"connection_id":204953,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:28:35] local.INFO: Processing buffer {"connection_id":204953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:28:35] local.INFO: IMEI packet received {"connection_id":204953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":204953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:28:36] local.INFO: TCP Data received {"connection_id":204953,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:28:36] local.INFO: Processing buffer {"connection_id":204953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:28:36] local.INFO: Packet analysis {"connection_id":204953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:28:36] local.INFO: Extracted packet for processing {"connection_id":204953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:28:36] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":17,"angle":157,"satellites":38,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551144704001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791215710000,"timestamp_ms":1791215710000,"timestamp_seconds":1791215710,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc6af30"} 
[2026-10-05 21:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-10-05 21:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551144704001,"66":13091,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551144704001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:28:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:28:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551144704001,"power":13091,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":204953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:28:36] local.INFO: GPS data processed {"connection_id":204953,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:28:36] local.INFO: Acknowledgment sent {"connection_id":204953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:28:43] local.INFO: TCP Data received {"connection_id":208043,"ip":"117.224.177.146","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208043,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:28:43] local.INFO: Processing buffer {"connection_id":208043,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:28:43] local.INFO: IMEI packet received {"connection_id":208043,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 21:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":208043,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:29:04] local.INFO: TCP Data received {"connection_id":204954,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:29:04] local.INFO: Processing buffer {"connection_id":204954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:29:04] local.INFO: IMEI packet received {"connection_id":204954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":204954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:29:05] local.INFO: TCP Data received {"connection_id":208043,"ip":"117.224.177.146","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208043,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:29:05] local.INFO: Processing buffer {"connection_id":208043,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:29:05] local.INFO: IMEI packet received {"connection_id":208043,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 21:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":208043,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:29:07] local.INFO: TCP Data received {"connection_id":204953,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:29:07] local.INFO: Processing buffer {"connection_id":204953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:29:07] local.INFO: Packet analysis {"connection_id":204953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:29:07] local.INFO: Extracted packet for processing {"connection_id":204953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:29:07] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":17,"angle":157,"satellites":38,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551144704001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791215710000,"timestamp_ms":1791215710000,"timestamp_seconds":1791215710,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc6af30"} 
[2026-10-05 21:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:29: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-10-05 21: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-10-05 21:29:07] 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-10-05 21: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-10-05 21:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551144704001,"66":13091,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551144704001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:29:07] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:29:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551144704001,"power":13091,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":204953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:29:07] local.INFO: GPS data processed {"connection_id":204953,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:29:07] local.INFO: Acknowledgment sent {"connection_id":204953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:29:11] local.INFO: TCP Data received {"connection_id":204954,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:29:11] local.INFO: Processing buffer {"connection_id":204954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:29:11] local.INFO: IMEI packet received {"connection_id":204954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":204954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:29:11] local.INFO: TCP Data received {"connection_id":208043,"ip":"117.224.177.146","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc70138012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc70138012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:29:11] local.INFO: Processing buffer {"connection_id":208043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc70138012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:29:11] local.INFO: Packet analysis {"connection_id":208043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc7"} 
[2026-10-05 21:29:11] local.INFO: Extracted packet for processing {"connection_id":208043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc7"} 
[2026-10-05 21:29:11] local.INFO: GPS Element Parsed {"raw_longitude":736303808,"raw_latitude":187149632,"longitude_deg":73.6303808,"latitude_deg":18.7149632,"altitude":637,"angle":95,"satellites":42,"speed":0,"hex_longitude":"2be31ac0","hex_latitude":"0b27ad40","is_valid_coordinates":true} 
[2026-10-05 21:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551113472001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9877561492373504,"note":"Value kept but may cause issues"} 
[2026-10-05 21:29:11] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-2082140723562594302,"note":"Value kept but may cause issues"} 
[2026-10-05 21:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,3,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791215731000,"timestamp_ms":1791215731000,"timestamp_seconds":1791215731,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc70138"} 
[2026-10-05 21:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-05 21:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":208043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":208043,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":208043,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.177.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 21:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 21:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551113472001,"66":26299,"245":206,"3":65024,"24":0,"16":9877561492373504,"43":-2082140723562594302},"client_ip":"117.224.177.146","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,3,24,16,43]} 
[2026-10-05 21:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 21:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 21:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551113472001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:29:11] local.INFO: Unknown IO ID detected {"io_id":3,"value":65024,"description":"Unknown IO ID 3"} 
[2026-10-05 21:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9877561492373504,"km_value":9877561492373.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:29:11] local.INFO: Unknown IO ID detected {"io_id":43,"value":-2082140723562594302,"description":"Unknown IO ID 43"} 
[2026-10-05 21:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551113472001,"power":26299,"geofence_id":206,"unknown_3":65024,"ignition":0,"odometer":null,"unknown_43":-2082140723562594302}} 
[2026-10-05 21:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":208043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970100,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:29:11] local.INFO: GPS data processed {"connection_id":208043,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:29:11] local.INFO: Acknowledgment sent {"connection_id":208043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:29:13] local.INFO: TCP Data received {"connection_id":204954,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:29:13] local.INFO: Processing buffer {"connection_id":204954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:29:13] local.INFO: Packet analysis {"connection_id":204954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:29:13] local.INFO: Extracted packet for processing {"connection_id":204954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:29:13] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551140096001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791215692000,"timestamp_ms":1791215692000,"timestamp_seconds":1791215692,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc668e0"} 
[2026-10-05 21:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:29:13] 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-10-05 21: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-10-05 21:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":204954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":204954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":204954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551140096001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551140096001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:29:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:29:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551140096001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":204954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:29:13] local.INFO: GPS data processed {"connection_id":204954,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:29:13] local.INFO: Acknowledgment sent {"connection_id":204954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:29:31] local.INFO: TCP Data received {"connection_id":208045,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208045,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:29:31] local.INFO: Processing buffer {"connection_id":208045,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:29:31] local.INFO: IMEI packet received {"connection_id":208045,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":208045,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:29:35] local.INFO: TCP Data received {"connection_id":208045,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208045,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:29:35] local.INFO: Processing buffer {"connection_id":208045,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:29:35] local.INFO: IMEI packet received {"connection_id":208045,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":208045,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:29:36] local.INFO: TCP Data received {"connection_id":208045,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:29:36] local.INFO: Processing buffer {"connection_id":208045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:29:36] local.INFO: Packet analysis {"connection_id":208045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:29:36] local.INFO: Extracted packet for processing {"connection_id":208045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:29:36] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":17,"angle":157,"satellites":38,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551144704001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791215710000,"timestamp_ms":1791215710000,"timestamp_seconds":1791215710,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc6af30"} 
[2026-10-05 21:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-10-05 21:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551144704001,"66":13091,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551144704001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:29:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:29:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551144704001,"power":13091,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":208045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:29:37] local.INFO: GPS data processed {"connection_id":208045,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:29:37] local.INFO: Acknowledgment sent {"connection_id":208045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:29:46] local.INFO: TCP Data received {"connection_id":206461,"ip":"117.224.177.146","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206461,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:29:46] local.INFO: Processing buffer {"connection_id":206461,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:29:46] local.INFO: IMEI packet received {"connection_id":206461,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 21:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":206461,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:29:46] local.INFO: TCP Data received {"connection_id":204954,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:29:46] local.INFO: Processing buffer {"connection_id":204954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:29:46] local.INFO: Packet analysis {"connection_id":204954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:29:46] local.INFO: Extracted packet for processing {"connection_id":204954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:29:46] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551140096001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791215692000,"timestamp_ms":1791215692000,"timestamp_seconds":1791215692,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc668e0"} 
[2026-10-05 21:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21: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-10-05 21:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551140096001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551140096001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:29:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:29:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551140096001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":204954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:29:46] local.INFO: GPS data processed {"connection_id":204954,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:29:46] local.INFO: Acknowledgment sent {"connection_id":204954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:29:49] local.INFO: TCP Data received {"connection_id":206461,"ip":"117.224.177.146","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206461,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:29:49] local.INFO: Processing buffer {"connection_id":206461,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:29:49] local.INFO: IMEI packet received {"connection_id":206461,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 21:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":206461,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:29:54] local.INFO: TCP Data received {"connection_id":206461,"ip":"117.224.177.146","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc70138012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc70138012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:29:54] local.INFO: Processing buffer {"connection_id":206461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc70138012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:29:54] local.INFO: Packet analysis {"connection_id":206461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc7"} 
[2026-10-05 21:29:54] local.INFO: Extracted packet for processing {"connection_id":206461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc7"} 
[2026-10-05 21:29:54] local.INFO: GPS Element Parsed {"raw_longitude":736303808,"raw_latitude":187149632,"longitude_deg":73.6303808,"latitude_deg":18.7149632,"altitude":637,"angle":95,"satellites":42,"speed":0,"hex_longitude":"2be31ac0","hex_latitude":"0b27ad40","is_valid_coordinates":true} 
[2026-10-05 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-10-05 21:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551113472001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9877561492373504,"note":"Value kept but may cause issues"} 
[2026-10-05 21:29:54] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-2082140723562594302,"note":"Value kept but may cause issues"} 
[2026-10-05 21:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,3,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1791215731000,"timestamp_ms":1791215731000,"timestamp_seconds":1791215731,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc70138"} 
[2026-10-05 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-10-05 21:29: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-10-05 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":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-05 21:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 21:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":206461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":206461,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":206461,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.177.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 21:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 21:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551113472001,"66":26299,"245":206,"3":65024,"24":0,"16":9877561492373504,"43":-2082140723562594302},"client_ip":"117.224.177.146","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,3,24,16,43]} 
[2026-10-05 21:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 21:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 21:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551113472001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:29:54] local.INFO: Unknown IO ID detected {"io_id":3,"value":65024,"description":"Unknown IO ID 3"} 
[2026-10-05 21:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9877561492373504,"km_value":9877561492373.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:29:54] local.INFO: Unknown IO ID detected {"io_id":43,"value":-2082140723562594302,"description":"Unknown IO ID 43"} 
[2026-10-05 21:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551113472001,"power":26299,"geofence_id":206,"unknown_3":65024,"ignition":0,"odometer":null,"unknown_43":-2082140723562594302}} 
[2026-10-05 21:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":206461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970104,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:29:54] local.INFO: GPS data processed {"connection_id":206461,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:29:54] local.INFO: Acknowledgment sent {"connection_id":206461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:29:59] local.INFO: TCP Data received {"connection_id":206461,"ip":"117.224.177.146","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc70138012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc70138012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:29:59] local.INFO: Processing buffer {"connection_id":206461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc70138012be31ac00b27ad40027d005f2a..."} 
[2026-10-05 21:29:59] local.INFO: Packet analysis {"connection_id":206461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc7"} 
[2026-10-05 21:29:59] local.INFO: Extracted packet for processing {"connection_id":206461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc7"} 
[2026-10-05 21:29:59] local.INFO: GPS Element Parsed {"raw_longitude":736303808,"raw_latitude":187149632,"longitude_deg":73.6303808,"latitude_deg":18.7149632,"altitude":637,"angle":95,"satellites":42,"speed":0,"hex_longitude":"2be31ac0","hex_latitude":"0b27ad40","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551113472001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9877561492373504,"note":"Value kept but may cause issues"} 
[2026-10-05 21:29:59] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-2082140723562594302,"note":"Value kept but may cause issues"} 
[2026-10-05 21:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,3,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791215731000,"timestamp_ms":1791215731000,"timestamp_seconds":1791215731,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc70138"} 
[2026-10-05 21:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:29: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-10-05 21: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":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-05 21:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21: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-10-05 21:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":206461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":206461,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":206461,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-05 21:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.177.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-05 21:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-05 21:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551113472001,"66":26299,"245":206,"3":65024,"24":0,"16":9877561492373504,"43":-2082140723562594302},"client_ip":"117.224.177.146","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,3,24,16,43]} 
[2026-10-05 21:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-05 21:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-05 21:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551113472001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:29:59] local.INFO: Unknown IO ID detected {"io_id":3,"value":65024,"description":"Unknown IO ID 3"} 
[2026-10-05 21:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":9877561492373504,"km_value":9877561492373.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:29:59] local.INFO: Unknown IO ID detected {"io_id":43,"value":-2082140723562594302,"description":"Unknown IO ID 43"} 
[2026-10-05 21:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551113472001,"power":26299,"geofence_id":206,"unknown_3":65024,"ignition":0,"odometer":null,"unknown_43":-2082140723562594302}} 
[2026-10-05 21:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":206461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970105,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:29:59] local.INFO: GPS data processed {"connection_id":206461,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:29:59] local.INFO: Acknowledgment sent {"connection_id":206461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:30:08] local.INFO: TCP Data received {"connection_id":208045,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:30:08] local.INFO: Processing buffer {"connection_id":208045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc6af30012d7c048005db4c880011009d26..."} 
[2026-10-05 21:30:08] local.INFO: Packet analysis {"connection_id":208045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:30:08] local.INFO: Extracted packet for processing {"connection_id":208045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:30:08] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":17,"angle":157,"satellites":38,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551144704001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791215710000,"timestamp_ms":1791215710000,"timestamp_seconds":1791215710,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc6af30"} 
[2026-10-05 21:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-10-05 21:30:08] 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-10-05 21: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-10-05 21:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":208045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":208045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":208045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551144704001,"66":13091,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551144704001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:30:08] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:30:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551144704001,"power":13091,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":208045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:30:08] local.INFO: GPS data processed {"connection_id":208045,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:30:08] local.INFO: Acknowledgment sent {"connection_id":208045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:30:18] local.INFO: TCP Data received {"connection_id":206463,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:30:18] local.INFO: Processing buffer {"connection_id":206463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:30:18] local.INFO: IMEI packet received {"connection_id":206463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":206463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:30:19] local.INFO: TCP Data received {"connection_id":206463,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:30:19] local.INFO: Processing buffer {"connection_id":206463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:30:19] local.INFO: IMEI packet received {"connection_id":206463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":206463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:30:21] local.INFO: TCP Data received {"connection_id":206463,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:30:21] local.INFO: Processing buffer {"connection_id":206463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:30:21] local.INFO: Packet analysis {"connection_id":206463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:30:21] local.INFO: Extracted packet for processing {"connection_id":206463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:30:21] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551140096001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791215692000,"timestamp_ms":1791215692000,"timestamp_seconds":1791215692,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc668e0"} 
[2026-10-05 21:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:30:21] 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-10-05 21:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":206463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":206463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":206463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551140096001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551140096001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:30:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:30:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551140096001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":206463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:30:21] local.INFO: GPS data processed {"connection_id":206463,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:30:21] local.INFO: Acknowledgment sent {"connection_id":206463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:30:25] local.INFO: TCP Data received {"connection_id":206463,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:30:25] local.INFO: Processing buffer {"connection_id":206463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc668e0012d196600071feee80039015427..."} 
[2026-10-05 21:30:25] local.INFO: Packet analysis {"connection_id":206463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:30:25] local.INFO: Extracted packet for processing {"connection_id":206463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc6"} 
[2026-10-05 21:30:25] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551140096001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1791215692000,"timestamp_ms":1791215692000,"timestamp_seconds":1791215692,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc668e0"} 
[2026-10-05 21:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:30:25] 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-10-05 21: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-10-05 21:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":206463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":206463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":206463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551140096001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551140096001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:30:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:30:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551140096001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":206463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:30:25] local.INFO: GPS data processed {"connection_id":206463,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:30:25] local.INFO: Acknowledgment sent {"connection_id":206463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:30:30] local.INFO: TCP Data received {"connection_id":208046,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:30:30] local.INFO: Processing buffer {"connection_id":208046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:30:30] local.INFO: IMEI packet received {"connection_id":208046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":208046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:30:35] local.INFO: TCP Data received {"connection_id":208046,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:30:35] local.INFO: Processing buffer {"connection_id":208046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:30:35] local.INFO: IMEI packet received {"connection_id":208046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":208046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:30:36] local.INFO: TCP Data received {"connection_id":208046,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccb46f8012d7c048005db4c880011009d24..."} 
[2026-10-05 21:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccb46f8012d7c048005db4c880011009d24..."} 
[2026-10-05 21:30:36] local.INFO: Processing buffer {"connection_id":208046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccb46f8012d7c048005db4c880011009d24..."} 
[2026-10-05 21:30:36] local.INFO: Packet analysis {"connection_id":208046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:30:36] local.INFO: Extracted packet for processing {"connection_id":208046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:30:36] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":17,"angle":157,"satellites":36,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551221760001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791216011000,"timestamp_ms":1791216011000,"timestamp_seconds":1791216011,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccb46f8"} 
[2026-10-05 21:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 21:30:36] 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-10-05 21:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551221760001,"66":13059,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551221760001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:30:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:30:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551221760001,"power":13059,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":208046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:30:36] local.INFO: GPS data processed {"connection_id":208046,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:30:36] local.INFO: Acknowledgment sent {"connection_id":208046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:30:50] local.INFO: TCP Data received {"connection_id":206464,"ip":"117.224.177.146","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206464,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:30:50] local.INFO: Processing buffer {"connection_id":206464,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:30:50] local.INFO: IMEI packet received {"connection_id":206464,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 21:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":206464,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:30:55] local.INFO: TCP Data received {"connection_id":206464,"ip":"117.224.177.146","data_length":51,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-10-05 21:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206464,"packet_length":51,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-10-05 21:30:55] local.INFO: Processing buffer {"connection_id":206464,"buffer_length":51,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-10-05 21:30:55] local.INFO: IMEI packet received {"connection_id":206464,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 21:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":206464,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:31:07] local.INFO: TCP Data received {"connection_id":208046,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccb46f8012d7c048005db4c880011009d24..."} 
[2026-10-05 21:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccb46f8012d7c048005db4c880011009d24..."} 
[2026-10-05 21:31:07] local.INFO: Processing buffer {"connection_id":208046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccb46f8012d7c048005db4c880011009d24..."} 
[2026-10-05 21:31:07] local.INFO: Packet analysis {"connection_id":208046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:31:07] local.INFO: Extracted packet for processing {"connection_id":208046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:31:07] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":17,"angle":157,"satellites":36,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21:31: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-10-05 21:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551221760001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791216011000,"timestamp_ms":1791216011000,"timestamp_seconds":1791216011,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccb46f8"} 
[2026-10-05 21:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:31: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-10-05 21:31: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-10-05 21:31: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-10-05 21:31: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-10-05 21:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":208046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":208046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":208046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551221760001,"66":13059,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551221760001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:31:07] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:31:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551221760001,"power":13059,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":208046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:31:07] local.INFO: GPS data processed {"connection_id":208046,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:31:07] local.INFO: Acknowledgment sent {"connection_id":208046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:31:14] local.INFO: TCP Data received {"connection_id":208047,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:31:14] local.INFO: Processing buffer {"connection_id":208047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:31:14] local.INFO: IMEI packet received {"connection_id":208047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":208047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:31:15] local.INFO: TCP Data received {"connection_id":204955,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:31:15] local.INFO: Processing buffer {"connection_id":204955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:31:15] local.INFO: IMEI packet received {"connection_id":204955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":204955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:31:24] local.INFO: TCP Data received {"connection_id":208047,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc95ac8012d77aac005f272380012016226..."} 
[2026-10-05 21:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc95ac8012d77aac005f272380012016226..."} 
[2026-10-05 21:31:25] local.INFO: Processing buffer {"connection_id":208047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc95ac8012d77aac005f272380012016226..."} 
[2026-10-05 21:31:25] local.INFO: Packet analysis {"connection_id":208047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc9"} 
[2026-10-05 21:31:25] local.INFO: Extracted packet for processing {"connection_id":208047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc9"} 
[2026-10-05 21:31:25] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":18,"angle":354,"satellites":38,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551189504001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 21:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 21:31: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-10-05 21:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1791215885000,"timestamp_ms":1791215885000,"timestamp_seconds":1791215885,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc95ac8"} 
[2026-10-05 21:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:31: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-10-05 21: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":183,"data_length":795,"current_offset":136} 
[2026-10-05 21:31:25] 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-10-05 21: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-10-05 21:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":208047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":208047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":208047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 21:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 21:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551189504001,"66":26006,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 21:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 21:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 21:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551189504001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:31:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:31:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 21:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 21:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551189504001,"power":26006,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 21:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":208047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:31:25] local.INFO: GPS data processed {"connection_id":208047,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:31:25] local.INFO: Acknowledgment sent {"connection_id":208047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:31:26] local.INFO: TCP Data received {"connection_id":204955,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:31:26] local.INFO: Processing buffer {"connection_id":204955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:31:26] local.INFO: IMEI packet received {"connection_id":204955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":204955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:31:30] local.INFO: TCP Data received {"connection_id":205084,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:31:30] local.INFO: Processing buffer {"connection_id":205084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:31:30] local.INFO: IMEI packet received {"connection_id":205084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":205084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:31:33] local.INFO: TCP Data received {"connection_id":204955,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccb00a8012d196600071feee8003901542a..."} 
[2026-10-05 21:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccb00a8012d196600071feee8003901542a..."} 
[2026-10-05 21:31:33] local.INFO: Processing buffer {"connection_id":204955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccb00a8012d196600071feee8003901542a..."} 
[2026-10-05 21:31:33] local.INFO: Packet analysis {"connection_id":204955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:31:33] local.INFO: Extracted packet for processing {"connection_id":204955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:31:33] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551217152001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791215993000,"timestamp_ms":1791215993000,"timestamp_seconds":1791215993,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccb00a8"} 
[2026-10-05 21:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:31:33] 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-10-05 21: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-10-05 21:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":204955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":204955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":204955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551217152001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551217152001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:31:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:31:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551217152001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":204955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:31:34] local.INFO: GPS data processed {"connection_id":204955,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:31:34] local.INFO: Acknowledgment sent {"connection_id":204955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:31:35] local.INFO: TCP Data received {"connection_id":205084,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:31:35] local.INFO: Processing buffer {"connection_id":205084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:31:35] local.INFO: IMEI packet received {"connection_id":205084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":205084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:31:36] local.INFO: TCP Data received {"connection_id":205084,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccb46f8012d7c048005db4c880011009d24..."} 
[2026-10-05 21:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccb46f8012d7c048005db4c880011009d24..."} 
[2026-10-05 21:31:36] local.INFO: Processing buffer {"connection_id":205084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccb46f8012d7c048005db4c880011009d24..."} 
[2026-10-05 21:31:36] local.INFO: Packet analysis {"connection_id":205084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:31:36] local.INFO: Extracted packet for processing {"connection_id":205084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:31:36] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":17,"angle":157,"satellites":36,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551221760001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791216011000,"timestamp_ms":1791216011000,"timestamp_seconds":1791216011,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccb46f8"} 
[2026-10-05 21:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 21:31:36] 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-10-05 21: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-10-05 21:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551221760001,"66":13059,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551221760001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:31:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:31:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551221760001,"power":13059,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":205084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:31:36] local.INFO: GPS data processed {"connection_id":205084,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:31:36] local.INFO: Acknowledgment sent {"connection_id":205084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:31:59] local.INFO: TCP Data received {"connection_id":206465,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:31:59] local.INFO: Processing buffer {"connection_id":206465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:31:59] local.INFO: IMEI packet received {"connection_id":206465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":206465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:32:08] local.INFO: TCP Data received {"connection_id":205084,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccb46f8012d7c048005db4c880011009d24..."} 
[2026-10-05 21:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccb46f8012d7c048005db4c880011009d24..."} 
[2026-10-05 21:32:08] local.INFO: Processing buffer {"connection_id":205084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccb46f8012d7c048005db4c880011009d24..."} 
[2026-10-05 21:32:08] local.INFO: Packet analysis {"connection_id":205084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:32:08] local.INFO: Extracted packet for processing {"connection_id":205084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:32:08] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":17,"angle":157,"satellites":36,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551221760001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791216011000,"timestamp_ms":1791216011000,"timestamp_seconds":1791216011,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccb46f8"} 
[2026-10-05 21:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21: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-10-05 21: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-10-05 21:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551221760001,"66":13059,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551221760001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:32:08] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:32:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551221760001,"power":13059,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":205084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:32:08] local.INFO: GPS data processed {"connection_id":205084,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:32:08] local.INFO: Acknowledgment sent {"connection_id":205084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:32:09] local.INFO: TCP Data received {"connection_id":208048,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:32:09] local.INFO: Processing buffer {"connection_id":208048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:32:09] local.INFO: IMEI packet received {"connection_id":208048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":208048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:32:21] local.INFO: TCP Data received {"connection_id":206465,"ip":"42.106.6.55","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 21:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206465,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 21:32:21] local.INFO: Processing buffer {"connection_id":206465,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 21:32:21] local.INFO: IMEI packet received {"connection_id":206465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":206465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:32:23] local.INFO: TCP Data received {"connection_id":206465,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc95ac8012d77aac005f272380012016226..."} 
[2026-10-05 21:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc95ac8012d77aac005f272380012016226..."} 
[2026-10-05 21:32:23] local.INFO: Processing buffer {"connection_id":206465,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a10c..."} 
[2026-10-05 21:32:23] local.INFO: IMEI packet received {"connection_id":206465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":206465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:32:26] local.INFO: TCP Data received {"connection_id":208048,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:32:26] local.INFO: Processing buffer {"connection_id":208048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:32:26] local.INFO: IMEI packet received {"connection_id":208048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":208048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:32:28] local.INFO: TCP Data received {"connection_id":208048,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccb00a8012d196600071feee8003901542a..."} 
[2026-10-05 21:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccb00a8012d196600071feee8003901542a..."} 
[2026-10-05 21:32:28] local.INFO: Processing buffer {"connection_id":208048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccb00a8012d196600071feee8003901542a..."} 
[2026-10-05 21:32:28] local.INFO: Packet analysis {"connection_id":208048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:32:28] local.INFO: Extracted packet for processing {"connection_id":208048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:32:28] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551217152001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1791215993000,"timestamp_ms":1791215993000,"timestamp_seconds":1791215993,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccb00a8"} 
[2026-10-05 21:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:32: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-10-05 21: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-10-05 21:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":208048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":208048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":208048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551217152001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551217152001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:32:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:32:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551217152001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":208048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:32:28] local.INFO: GPS data processed {"connection_id":208048,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:32:28] local.INFO: Acknowledgment sent {"connection_id":208048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:32:30] local.INFO: TCP Data received {"connection_id":204956,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:32:30] local.INFO: Processing buffer {"connection_id":204956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:32:30] local.INFO: IMEI packet received {"connection_id":204956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":204956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:32:35] local.INFO: TCP Data received {"connection_id":204956,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:32:35] local.INFO: Processing buffer {"connection_id":204956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:32:35] local.INFO: IMEI packet received {"connection_id":204956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":204956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:32:37] local.INFO: TCP Data received {"connection_id":204956,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccb46f8012d7c048005db4c880011009d24..."} 
[2026-10-05 21:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccb46f8012d7c048005db4c880011009d24..."} 
[2026-10-05 21:32:37] local.INFO: Processing buffer {"connection_id":204956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccb46f8012d7c048005db4c880011009d24..."} 
[2026-10-05 21:32:37] local.INFO: Packet analysis {"connection_id":204956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:32:37] local.INFO: Extracted packet for processing {"connection_id":204956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:32:37] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":17,"angle":157,"satellites":36,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551221760001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791216011000,"timestamp_ms":1791216011000,"timestamp_seconds":1791216011,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccb46f8"} 
[2026-10-05 21:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 21:32:37] 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-10-05 21:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551221760001,"66":13059,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551221760001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:32:37] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:32:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551221760001,"power":13059,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":204956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:32:37] local.INFO: GPS data processed {"connection_id":204956,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:32:37] local.INFO: Acknowledgment sent {"connection_id":204956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:33:03] local.INFO: TCP Data received {"connection_id":208049,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:33:03] local.INFO: Processing buffer {"connection_id":208049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:33:03] local.INFO: IMEI packet received {"connection_id":208049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":208049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:33:08] local.INFO: TCP Data received {"connection_id":204956,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccb46f8012d7c048005db4c880011009d24..."} 
[2026-10-05 21:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccb46f8012d7c048005db4c880011009d24..."} 
[2026-10-05 21:33:08] local.INFO: Processing buffer {"connection_id":204956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccb46f8012d7c048005db4c880011009d24..."} 
[2026-10-05 21:33:08] local.INFO: Packet analysis {"connection_id":204956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:33:08] local.INFO: Extracted packet for processing {"connection_id":204956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:33:08] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":17,"angle":157,"satellites":36,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551221760001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791216011000,"timestamp_ms":1791216011000,"timestamp_seconds":1791216011,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccb46f8"} 
[2026-10-05 21:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 21:33: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-10-05 21: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-10-05 21:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551221760001,"66":13059,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551221760001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:33:08] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:33:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551221760001,"power":13059,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":204956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970117,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:33:08] local.INFO: GPS data processed {"connection_id":204956,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:33:08] local.INFO: Acknowledgment sent {"connection_id":204956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:33:10] local.INFO: TCP Data received {"connection_id":205085,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:33:10] local.INFO: Processing buffer {"connection_id":205085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:33:10] local.INFO: IMEI packet received {"connection_id":205085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":205085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:33:14] local.INFO: TCP Data received {"connection_id":205085,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:33:14] local.INFO: Processing buffer {"connection_id":205085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:33:14] local.INFO: IMEI packet received {"connection_id":205085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":205085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:33:16] local.INFO: TCP Data received {"connection_id":205085,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccb00a8012d196600071feee8003901542a..."} 
[2026-10-05 21:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccb00a8012d196600071feee8003901542a..."} 
[2026-10-05 21:33:16] local.INFO: Processing buffer {"connection_id":205085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccb00a8012d196600071feee8003901542a..."} 
[2026-10-05 21:33:16] local.INFO: Packet analysis {"connection_id":205085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:33:16] local.INFO: Extracted packet for processing {"connection_id":205085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:33:16] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551217152001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791215993000,"timestamp_ms":1791215993000,"timestamp_seconds":1791215993,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccb00a8"} 
[2026-10-05 21:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:33:16] 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-10-05 21: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-10-05 21:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551217152001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551217152001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:33:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:33:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551217152001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":205085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:33:16] local.INFO: GPS data processed {"connection_id":205085,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:33:16] local.INFO: Acknowledgment sent {"connection_id":205085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:33:22] local.INFO: TCP Data received {"connection_id":205085,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccb00a8012d196600071feee8003901542a..."} 
[2026-10-05 21:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccb00a8012d196600071feee8003901542a..."} 
[2026-10-05 21:33:22] local.INFO: Processing buffer {"connection_id":205085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccb00a8012d196600071feee8003901542a..."} 
[2026-10-05 21:33:22] local.INFO: Packet analysis {"connection_id":205085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:33:22] local.INFO: Extracted packet for processing {"connection_id":205085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:33:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:33: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-10-05 21:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551217152001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791215993000,"timestamp_ms":1791215993000,"timestamp_seconds":1791215993,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccb00a8"} 
[2026-10-05 21:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:33:22] 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-10-05 21:33: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-10-05 21:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":205085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":205085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":205085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551217152001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551217152001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:33:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:33:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551217152001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":205085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:33:22] local.INFO: GPS data processed {"connection_id":205085,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:33:22] local.INFO: Acknowledgment sent {"connection_id":205085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:33:30] local.INFO: TCP Data received {"connection_id":208049,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:33:30] local.INFO: Processing buffer {"connection_id":208049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:33:30] local.INFO: IMEI packet received {"connection_id":208049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":208049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:33:30] local.INFO: TCP Data received {"connection_id":206465,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc95ac8012d77aac005f272380012016226..."} 
[2026-10-05 21:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc95ac8012d77aac005f272380012016226..."} 
[2026-10-05 21:33:30] local.INFO: Processing buffer {"connection_id":206465,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a10cc95ac8012d77aac005f272380012016226..."} 
[2026-10-05 21:33:30] local.INFO: Packet analysis {"connection_id":206465,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a10cc9"} 
[2026-10-05 21:33:30] local.INFO: Extracted packet for processing {"connection_id":206465,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc9"} 
[2026-10-05 21:33:30] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":18,"angle":354,"satellites":38,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551189504001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 21:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 21:33: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-10-05 21:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1791215885000,"timestamp_ms":1791215885000,"timestamp_seconds":1791215885,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc95ac8"} 
[2026-10-05 21:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:33: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-10-05 21: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-05 21:33: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-10-05 21: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-10-05 21:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":206465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":206465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":206465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 21:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 21:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551189504001,"66":26006,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 21:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 21:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 21:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551189504001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:33:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:33:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 21:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 21:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551189504001,"power":26006,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 21:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":206465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:33:30] local.INFO: GPS data processed {"connection_id":206465,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:33:30] local.INFO: Acknowledgment sent {"connection_id":206465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:33:30] local.INFO: Packet analysis {"connection_id":206465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc9"} 
[2026-10-05 21:33:30] local.INFO: Extracted packet for processing {"connection_id":206465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc9"} 
[2026-10-05 21:33:30] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":18,"angle":354,"satellites":38,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551189504001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 21:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 21:33: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-10-05 21:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1791215885000,"timestamp_ms":1791215885000,"timestamp_seconds":1791215885,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc95ac8"} 
[2026-10-05 21:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:33: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-10-05 21: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-05 21:33: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-10-05 21: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-10-05 21:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":206465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":206465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":206465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 21:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 21:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551189504001,"66":26006,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 21:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 21:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 21:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551189504001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:33:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:33:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 21:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 21:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551189504001,"power":26006,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 21:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":206465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:33:30] local.INFO: GPS data processed {"connection_id":206465,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:33:30] local.INFO: Acknowledgment sent {"connection_id":206465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:33:31] local.INFO: TCP Data received {"connection_id":208049,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc95ac8012d77aac005f272380012016226..."} 
[2026-10-05 21:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc95ac8012d77aac005f272380012016226..."} 
[2026-10-05 21:33:31] local.INFO: Processing buffer {"connection_id":208049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc95ac8012d77aac005f272380012016226..."} 
[2026-10-05 21:33:31] local.INFO: Packet analysis {"connection_id":208049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc9"} 
[2026-10-05 21:33:31] local.INFO: Extracted packet for processing {"connection_id":208049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc9"} 
[2026-10-05 21:33:31] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":18,"angle":354,"satellites":38,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 21:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551189504001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 21:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 21:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791215885000,"timestamp_ms":1791215885000,"timestamp_seconds":1791215885,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc95ac8"} 
[2026-10-05 21:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-05 21:33: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-10-05 21:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":208049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":208049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":208049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 21:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 21:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551189504001,"66":26006,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 21:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 21:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 21:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551189504001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:33:31] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:33:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 21:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 21:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551189504001,"power":26006,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 21:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":208049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:33:31] local.INFO: GPS data processed {"connection_id":208049,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:33:31] local.INFO: Acknowledgment sent {"connection_id":208049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:33:34] local.INFO: TCP Data received {"connection_id":208049,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10cc95ac8012d77aac005f272380012016226..."} 
[2026-10-05 21:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cc95ac8012d77aac005f272380012016226..."} 
[2026-10-05 21:33:34] local.INFO: Processing buffer {"connection_id":208049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cc95ac8012d77aac005f272380012016226..."} 
[2026-10-05 21:33:34] local.INFO: Packet analysis {"connection_id":208049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cc9"} 
[2026-10-05 21:33:34] local.INFO: Extracted packet for processing {"connection_id":208049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cc9"} 
[2026-10-05 21:33:34] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":18,"angle":354,"satellites":38,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 21:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551189504001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 21:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 21:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791215885000,"timestamp_ms":1791215885000,"timestamp_seconds":1791215885,"priority":1,"record_length":96,"hex_timestamp":"000001a10cc95ac8"} 
[2026-10-05 21:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-05 21:33:34] 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-10-05 21:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":208049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":208049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":208049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 21:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 21:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551189504001,"66":26006,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 21:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 21:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 21:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551189504001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:33:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:33:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 21:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 21:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551189504001,"power":26006,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 21:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":208049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:33:34] local.INFO: GPS data processed {"connection_id":208049,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:33:34] local.INFO: Acknowledgment sent {"connection_id":208049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:33:35] local.INFO: TCP Data received {"connection_id":208050,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:33:35] local.INFO: Processing buffer {"connection_id":208050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:33:35] local.INFO: IMEI packet received {"connection_id":208050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":208050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:33:40] local.INFO: TCP Data received {"connection_id":208050,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:33:40] local.INFO: Processing buffer {"connection_id":208050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:33:40] local.INFO: IMEI packet received {"connection_id":208050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":208050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:33:41] local.INFO: TCP Data received {"connection_id":208050,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccb46f8012d7c048005db4c880011009d24..."} 
[2026-10-05 21:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccb46f8012d7c048005db4c880011009d24..."} 
[2026-10-05 21:33:41] local.INFO: Processing buffer {"connection_id":208050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccb46f8012d7c048005db4c880011009d24..."} 
[2026-10-05 21:33:41] local.INFO: Packet analysis {"connection_id":208050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:33:41] local.INFO: Extracted packet for processing {"connection_id":208050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:33:41] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":17,"angle":157,"satellites":36,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551221760001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791216011000,"timestamp_ms":1791216011000,"timestamp_seconds":1791216011,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccb46f8"} 
[2026-10-05 21:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 21:33:41] 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-10-05 21:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":208050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":208050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":208050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551221760001,"66":13059,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551221760001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:33:41] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:33:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551221760001,"power":13059,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":208050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:33:41] local.INFO: GPS data processed {"connection_id":208050,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:33:41] local.INFO: Acknowledgment sent {"connection_id":208050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:33:59] local.INFO: TCP Data received {"connection_id":206466,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:33:59] local.INFO: Processing buffer {"connection_id":206466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:33:59] local.INFO: IMEI packet received {"connection_id":206466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":206466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:34:04] local.INFO: TCP Data received {"connection_id":205086,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:34:04] local.INFO: Processing buffer {"connection_id":205086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:34:04] local.INFO: IMEI packet received {"connection_id":205086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":205086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:34:05] local.INFO: TCP Data received {"connection_id":206466,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:34:05] local.INFO: Processing buffer {"connection_id":206466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:34:05] local.INFO: IMEI packet received {"connection_id":206466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":206466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:34:09] local.INFO: TCP Data received {"connection_id":205086,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:34:09] local.INFO: Processing buffer {"connection_id":205086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:34:09] local.INFO: IMEI packet received {"connection_id":205086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":205086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:34:11] local.INFO: TCP Data received {"connection_id":205086,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccb00a8012d196600071feee8003901542a..."} 
[2026-10-05 21:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccb00a8012d196600071feee8003901542a..."} 
[2026-10-05 21:34:11] local.INFO: Processing buffer {"connection_id":205086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccb00a8012d196600071feee8003901542a..."} 
[2026-10-05 21:34:11] local.INFO: Packet analysis {"connection_id":205086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:34:11] local.INFO: Extracted packet for processing {"connection_id":205086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:34:11] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:34: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-10-05 21:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551217152001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791215993000,"timestamp_ms":1791215993000,"timestamp_seconds":1791215993,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccb00a8"} 
[2026-10-05 21:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:34: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":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:34:11] 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-10-05 21:34: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-10-05 21:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551217152001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551217152001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:34:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:34:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551217152001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":205086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:34:11] local.INFO: GPS data processed {"connection_id":205086,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:34:11] local.INFO: Acknowledgment sent {"connection_id":205086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:34:12] local.INFO: TCP Data received {"connection_id":208050,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10cceae10012d7c048005db4c880011009d24..."} 
[2026-10-05 21:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cceae10012d7c048005db4c880011009d24..."} 
[2026-10-05 21:34:12] local.INFO: Processing buffer {"connection_id":208050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cceae10012d7c048005db4c880011009d24..."} 
[2026-10-05 21:34:12] local.INFO: Packet analysis {"connection_id":208050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cce"} 
[2026-10-05 21:34:12] local.INFO: Extracted packet for processing {"connection_id":208050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cce"} 
[2026-10-05 21:34:12] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":17,"angle":157,"satellites":36,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551298816001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791216234000,"timestamp_ms":1791216234000,"timestamp_seconds":1791216234,"priority":1,"record_length":96,"hex_timestamp":"000001a10cceae10"} 
[2026-10-05 21:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 21:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168297684325,"note":"Value kept but may cause issues"} 
[2026-10-05 21:34:12] local.WARNING: Large IO value detected {"io_id":162,"raw_value":58077557095399425,"note":"Value kept but may cause issues"} 
[2026-10-05 21:34:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 21:34:12] local.WARNING: Large IO value detected {"io_id":248,"raw_value":2936012800,"note":"Value kept but may cause issues"} 
[2026-10-05 21:34:12] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3489738108,"note":"Value kept but may cause issues"} 
[2026-10-05 21:34:12] local.WARNING: Large IO value detected {"io_id":240,"raw_value":4172218368,"note":"Value kept but may cause issues"} 
[2026-10-05 21:34:12] local.WARNING: Large IO value detected {"io_id":4,"raw_value":2147867468,"note":"Value kept but may cause issues"} 
[2026-10-05 21:34:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705115854,"corrected_to":0} 
[2026-10-05 21:34:12] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252773,"note":"Value kept but may cause issues"} 
[2026-10-05 21:34:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3679221760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:34:12] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,162,85,24,241,157,16,248,161,175,45,128,76,17,38,10,66,23,12,40,119,240,214,227,219,4,113,205,136,44,239,1,50,2,5],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1705115854,"validated":0}]} 
[2026-10-05 21:34:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225151876589158400,"timestamp_seconds":1225151876589158.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 21:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":208050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":208050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":208050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551298816001,"66":13048,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551298816001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:34:12] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:34:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551298816001,"power":13048,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":208050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970126,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:34:12] local.INFO: GPS data processed {"connection_id":208050,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:34:12] local.INFO: Acknowledgment sent {"connection_id":208050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:34:13] local.INFO: TCP Data received {"connection_id":206466,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:34:13] local.INFO: Processing buffer {"connection_id":206466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:34:13] local.INFO: IMEI packet received {"connection_id":206466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":206466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:34:15] local.INFO: TCP Data received {"connection_id":206466,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:34:15] local.INFO: Processing buffer {"connection_id":206466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:34:15] local.INFO: IMEI packet received {"connection_id":206466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":206466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:34:30] local.INFO: TCP Data received {"connection_id":204957,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:34:30] local.INFO: Processing buffer {"connection_id":204957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:34:30] local.INFO: IMEI packet received {"connection_id":204957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":204957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:34:35] local.INFO: TCP Data received {"connection_id":204957,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:34:35] local.INFO: Processing buffer {"connection_id":204957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:34:35] local.INFO: IMEI packet received {"connection_id":204957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":204957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:34:36] local.INFO: TCP Data received {"connection_id":204957,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10cceae10012d7c048005db4c880011009d24..."} 
[2026-10-05 21:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cceae10012d7c048005db4c880011009d24..."} 
[2026-10-05 21:34:36] local.INFO: Processing buffer {"connection_id":204957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cceae10012d7c048005db4c880011009d24..."} 
[2026-10-05 21:34:36] local.INFO: Packet analysis {"connection_id":204957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cce"} 
[2026-10-05 21:34:36] local.INFO: Extracted packet for processing {"connection_id":204957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cce"} 
[2026-10-05 21:34:36] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98258056,"longitude_deg":76.3102336,"latitude_deg":9.8258056,"altitude":17,"angle":157,"satellites":36,"speed":0,"hex_longitude":"2d7c0480","hex_latitude":"05db4c88","is_valid_coordinates":true} 
[2026-10-05 21:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551355904001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791216234000,"timestamp_ms":1791216234000,"timestamp_seconds":1791216234,"priority":1,"record_length":96,"hex_timestamp":"000001a10cceae10"} 
[2026-10-05 21:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 21:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551355904001,"66":13048,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551355904001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:34:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:34:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551355904001,"power":13048,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":204957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:34:36] local.INFO: GPS data processed {"connection_id":204957,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:34:36] local.INFO: Acknowledgment sent {"connection_id":204957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:34:47] local.INFO: TCP Data received {"connection_id":205086,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccb00a8012d196600071feee8003901542a..."} 
[2026-10-05 21:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccb00a8012d196600071feee8003901542a..."} 
[2026-10-05 21:34:47] local.INFO: Processing buffer {"connection_id":205086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccb00a8012d196600071feee8003901542a..."} 
[2026-10-05 21:34:47] local.INFO: Packet analysis {"connection_id":205086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:34:47] local.INFO: Extracted packet for processing {"connection_id":205086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:34:47] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551217152001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791215993000,"timestamp_ms":1791215993000,"timestamp_seconds":1791215993,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccb00a8"} 
[2026-10-05 21:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:34:47] 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-10-05 21: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-10-05 21:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":205086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":205086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":205086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551217152001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551217152001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:34:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:34:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551217152001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":205086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:34:47] local.INFO: GPS data processed {"connection_id":205086,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:34:47] local.INFO: Acknowledgment sent {"connection_id":205086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:35:07] local.INFO: TCP Data received {"connection_id":204957,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccec580012d7c080005db4d080011004221..."} 
[2026-10-05 21:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccec580012d7c080005db4d080011004221..."} 
[2026-10-05 21:35:07] local.INFO: Processing buffer {"connection_id":204957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccec580012d7c080005db4d080011004221..."} 
[2026-10-05 21:35:07] local.INFO: Packet analysis {"connection_id":204957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cce"} 
[2026-10-05 21:35:07] local.INFO: Extracted packet for processing {"connection_id":204957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cce"} 
[2026-10-05 21:35:07] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":98258184,"longitude_deg":76.3103232,"latitude_deg":9.8258184,"altitude":17,"angle":66,"satellites":33,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05db4d08","is_valid_coordinates":true} 
[2026-10-05 21:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551355904001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252324352,"note":"Value kept but may cause issues"} 
[2026-10-05 21:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791216240000,"timestamp_ms":1791216240000,"timestamp_seconds":1791216240,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccec580"} 
[2026-10-05 21:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 21:35: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-10-05 21:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551355904001,"66":12232,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8936408323252324352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551355904001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:35:07] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:35:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252324352,"description":"Unknown IO ID 45"} 
[2026-10-05 21:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551355904001,"power":12232,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936408323252324352}} 
[2026-10-05 21:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":204957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:35:08] local.INFO: GPS data processed {"connection_id":204957,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:35:08] local.INFO: Acknowledgment sent {"connection_id":204957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:35:09] local.INFO: TCP Data received {"connection_id":208051,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:35:09] local.INFO: Processing buffer {"connection_id":208051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:35:09] local.INFO: IMEI packet received {"connection_id":208051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":208051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:35:17] local.INFO: TCP Data received {"connection_id":208051,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:35:17] local.INFO: Processing buffer {"connection_id":208051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:35:17] local.INFO: IMEI packet received {"connection_id":208051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":208051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:35:19] local.INFO: TCP Data received {"connection_id":208051,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccb00a8012d196600071feee8003901542a..."} 
[2026-10-05 21:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccb00a8012d196600071feee8003901542a..."} 
[2026-10-05 21:35:19] local.INFO: Processing buffer {"connection_id":208051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccb00a8012d196600071feee8003901542a..."} 
[2026-10-05 21:35:19] local.INFO: Packet analysis {"connection_id":208051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:35:19] local.INFO: Extracted packet for processing {"connection_id":208051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:35:19] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551217152001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791215993000,"timestamp_ms":1791215993000,"timestamp_seconds":1791215993,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccb00a8"} 
[2026-10-05 21:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:35:19] 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-10-05 21: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-10-05 21:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":208051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":208051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":208051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551217152001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551217152001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:35:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:35:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551217152001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":208051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:35:19] local.INFO: GPS data processed {"connection_id":208051,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:35:19] local.INFO: Acknowledgment sent {"connection_id":208051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:35:21] local.INFO: TCP Data received {"connection_id":208051,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccb00a8012d196600071feee8003901542a..."} 
[2026-10-05 21:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccb00a8012d196600071feee8003901542a..."} 
[2026-10-05 21:35:21] local.INFO: Processing buffer {"connection_id":208051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccb00a8012d196600071feee8003901542a..."} 
[2026-10-05 21:35:21] local.INFO: Packet analysis {"connection_id":208051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:35:21] local.INFO: Extracted packet for processing {"connection_id":208051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ccb"} 
[2026-10-05 21:35:21] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551217152001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791215993000,"timestamp_ms":1791215993000,"timestamp_seconds":1791215993,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccb00a8"} 
[2026-10-05 21:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:35:21] 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-10-05 21:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":208051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":208051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":208051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551217152001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551217152001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:35:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:35:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551217152001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":208051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:35:21] local.INFO: GPS data processed {"connection_id":208051,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:35:21] local.INFO: Acknowledgment sent {"connection_id":208051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:35:30] local.INFO: TCP Data received {"connection_id":206467,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206467,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:35:30] local.INFO: Processing buffer {"connection_id":206467,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:35:30] local.INFO: IMEI packet received {"connection_id":206467,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":206467,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:35:35] local.INFO: TCP Data received {"connection_id":206467,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206467,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:35:35] local.INFO: Processing buffer {"connection_id":206467,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:35:35] local.INFO: IMEI packet received {"connection_id":206467,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":206467,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:35:37] local.INFO: TCP Data received {"connection_id":206467,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccedcf0012d7c080005db4d080011004220..."} 
[2026-10-05 21:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccedcf0012d7c080005db4d080011004220..."} 
[2026-10-05 21:35:37] local.INFO: Processing buffer {"connection_id":206467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccedcf0012d7c080005db4d080011004220..."} 
[2026-10-05 21:35:37] local.INFO: Packet analysis {"connection_id":206467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cce"} 
[2026-10-05 21:35:37] local.INFO: Extracted packet for processing {"connection_id":206467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cce"} 
[2026-10-05 21:35:37] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":98258184,"longitude_deg":76.3103232,"latitude_deg":9.8258184,"altitude":17,"angle":66,"satellites":32,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05db4d08","is_valid_coordinates":true} 
[2026-10-05 21:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551357440001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485670844416,"note":"Value kept but may cause issues"} 
[2026-10-05 21:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791216246000,"timestamp_ms":1791216246000,"timestamp_seconds":1791216246,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccedcf0"} 
[2026-10-05 21:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:35:37] 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-10-05 21:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-05 21:35:37] 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-10-05 21:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:35:37] 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-10-05 21:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551357440001,"66":12515,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8937393485670844416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551357440001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:35:37] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:35:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485670844416,"description":"Unknown IO ID 45"} 
[2026-10-05 21:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551357440001,"power":12515,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937393485670844416}} 
[2026-10-05 21:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":206467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:35:37] local.INFO: GPS data processed {"connection_id":206467,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:35:37] local.INFO: Acknowledgment sent {"connection_id":206467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:36:08] local.INFO: TCP Data received {"connection_id":206467,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccedcf0012d7c080005db4d080011004220..."} 
[2026-10-05 21:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccedcf0012d7c080005db4d080011004220..."} 
[2026-10-05 21:36:08] local.INFO: Processing buffer {"connection_id":206467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccedcf0012d7c080005db4d080011004220..."} 
[2026-10-05 21:36:08] local.INFO: Packet analysis {"connection_id":206467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cce"} 
[2026-10-05 21:36:08] local.INFO: Extracted packet for processing {"connection_id":206467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cce"} 
[2026-10-05 21:36:08] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":98258184,"longitude_deg":76.3103232,"latitude_deg":9.8258184,"altitude":17,"angle":66,"satellites":32,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05db4d08","is_valid_coordinates":true} 
[2026-10-05 21:36:08] 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-10-05 21:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551358976001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485670844416,"note":"Value kept but may cause issues"} 
[2026-10-05 21:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791216246000,"timestamp_ms":1791216246000,"timestamp_seconds":1791216246,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccedcf0"} 
[2026-10-05 21:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:36: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-10-05 21:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-05 21:36:08] 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-10-05 21:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:36:08] 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-10-05 21:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551358976001,"66":12515,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8937393485670844416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551358976001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:36:08] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:36:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485670844416,"description":"Unknown IO ID 45"} 
[2026-10-05 21:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551358976001,"power":12515,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937393485670844416}} 
[2026-10-05 21:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":206467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:36:08] local.INFO: GPS data processed {"connection_id":206467,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:36:08] local.INFO: Acknowledgment sent {"connection_id":206467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:36:09] local.INFO: TCP Data received {"connection_id":206468,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:36:09] local.INFO: Processing buffer {"connection_id":206468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:36:09] local.INFO: IMEI packet received {"connection_id":206468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":206468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:36:15] local.INFO: TCP Data received {"connection_id":206468,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:36:15] local.INFO: Processing buffer {"connection_id":206468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:36:15] local.INFO: IMEI packet received {"connection_id":206468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":206468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:36:16] local.INFO: TCP Data received {"connection_id":206468,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccf9870012d196600071feee80039015426..."} 
[2026-10-05 21:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccf9870012d196600071feee80039015426..."} 
[2026-10-05 21:36:16] local.INFO: Processing buffer {"connection_id":206468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccf9870012d196600071feee80039015426..."} 
[2026-10-05 21:36:16] local.INFO: Packet analysis {"connection_id":206468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ccf"} 
[2026-10-05 21:36:16] local.INFO: Extracted packet for processing {"connection_id":206468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ccf"} 
[2026-10-05 21:36:16] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551294208001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791216294000,"timestamp_ms":1791216294000,"timestamp_seconds":1791216294,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccf9870"} 
[2026-10-05 21:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":206468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":206468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":206468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551294208001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551294208001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:36:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:36:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551294208001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":206468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:36:16] local.INFO: GPS data processed {"connection_id":206468,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:36:16] local.INFO: Acknowledgment sent {"connection_id":206468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:36:35] local.INFO: TCP Data received {"connection_id":204959,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:36:35] local.INFO: Processing buffer {"connection_id":204959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:36:35] local.INFO: IMEI packet received {"connection_id":204959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":204959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:36:40] local.INFO: TCP Data received {"connection_id":204959,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:36:40] local.INFO: Processing buffer {"connection_id":204959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:36:40] local.INFO: IMEI packet received {"connection_id":204959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":204959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:36:41] local.INFO: TCP Data received {"connection_id":204959,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccedcf0012d7c080005db4d080011004220..."} 
[2026-10-05 21:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccedcf0012d7c080005db4d080011004220..."} 
[2026-10-05 21:36:41] local.INFO: Processing buffer {"connection_id":204959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccedcf0012d7c080005db4d080011004220..."} 
[2026-10-05 21:36:41] local.INFO: Packet analysis {"connection_id":204959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cce"} 
[2026-10-05 21:36:41] local.INFO: Extracted packet for processing {"connection_id":204959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cce"} 
[2026-10-05 21:36:41] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":98258184,"longitude_deg":76.3103232,"latitude_deg":9.8258184,"altitude":17,"angle":66,"satellites":32,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05db4d08","is_valid_coordinates":true} 
[2026-10-05 21:36:41] 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-10-05 21:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551358976001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485670844416,"note":"Value kept but may cause issues"} 
[2026-10-05 21:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791216246000,"timestamp_ms":1791216246000,"timestamp_seconds":1791216246,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccedcf0"} 
[2026-10-05 21:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-05 21:36:41] 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-10-05 21:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":204959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":204959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":204959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:36:41] 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-10-05 21:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551358976001,"66":12515,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8937393485670844416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551358976001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:36:41] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485670844416,"description":"Unknown IO ID 45"} 
[2026-10-05 21:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551358976001,"power":12515,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937393485670844416}} 
[2026-10-05 21:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":204959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:36:41] local.INFO: GPS data processed {"connection_id":204959,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:36:41] local.INFO: Acknowledgment sent {"connection_id":204959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:36:46] local.INFO: TCP Data received {"connection_id":204959,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccedcf0012d7c080005db4d080011004220..."} 
[2026-10-05 21:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccedcf0012d7c080005db4d080011004220..."} 
[2026-10-05 21:36:46] local.INFO: Processing buffer {"connection_id":204959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccedcf0012d7c080005db4d080011004220..."} 
[2026-10-05 21:36:46] local.INFO: Packet analysis {"connection_id":204959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cce"} 
[2026-10-05 21:36:46] local.INFO: Extracted packet for processing {"connection_id":204959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cce"} 
[2026-10-05 21:36:46] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":98258184,"longitude_deg":76.3103232,"latitude_deg":9.8258184,"altitude":17,"angle":66,"satellites":32,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05db4d08","is_valid_coordinates":true} 
[2026-10-05 21:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551358976001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485670844416,"note":"Value kept but may cause issues"} 
[2026-10-05 21:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791216246000,"timestamp_ms":1791216246000,"timestamp_seconds":1791216246,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccedcf0"} 
[2026-10-05 21:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-05 21:36:46] 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-10-05 21:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551358976001,"66":12515,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8937393485670844416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551358976001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:36:46] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:36:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485670844416,"description":"Unknown IO ID 45"} 
[2026-10-05 21:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551358976001,"power":12515,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937393485670844416}} 
[2026-10-05 21:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":204959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:36:46] local.INFO: GPS data processed {"connection_id":204959,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:36:46] local.INFO: Acknowledgment sent {"connection_id":204959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:36:48] local.INFO: TCP Data received {"connection_id":206468,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccf9870012d196600071feee80039015426..."} 
[2026-10-05 21:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccf9870012d196600071feee80039015426..."} 
[2026-10-05 21:36:48] local.INFO: Processing buffer {"connection_id":206468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccf9870012d196600071feee80039015426..."} 
[2026-10-05 21:36:48] local.INFO: Packet analysis {"connection_id":206468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ccf"} 
[2026-10-05 21:36:48] local.INFO: Extracted packet for processing {"connection_id":206468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ccf"} 
[2026-10-05 21:36:48] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551294208001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791216294000,"timestamp_ms":1791216294000,"timestamp_seconds":1791216294,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccf9870"} 
[2026-10-05 21:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":206468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":206468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":206468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551294208001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551294208001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:36:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:36:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551294208001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":206468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:36:48] local.INFO: GPS data processed {"connection_id":206468,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:36:48] local.INFO: Acknowledgment sent {"connection_id":206468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:37:04] local.INFO: TCP Data received {"connection_id":205087,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:37:04] local.INFO: Processing buffer {"connection_id":205087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:37:04] local.INFO: IMEI packet received {"connection_id":205087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":205087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:37:17] local.INFO: TCP Data received {"connection_id":205087,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:37:17] local.INFO: Processing buffer {"connection_id":205087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:37:17] local.INFO: IMEI packet received {"connection_id":205087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":205087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:37:19] local.INFO: TCP Data received {"connection_id":205087,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccf9870012d196600071feee80039015426..."} 
[2026-10-05 21:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccf9870012d196600071feee80039015426..."} 
[2026-10-05 21:37:19] local.INFO: Processing buffer {"connection_id":205087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccf9870012d196600071feee80039015426..."} 
[2026-10-05 21:37:19] local.INFO: Packet analysis {"connection_id":205087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ccf"} 
[2026-10-05 21:37:19] local.INFO: Extracted packet for processing {"connection_id":205087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ccf"} 
[2026-10-05 21:37:19] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:37: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-10-05 21:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551294208001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791216294000,"timestamp_ms":1791216294000,"timestamp_seconds":1791216294,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccf9870"} 
[2026-10-05 21:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:37: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-10-05 21:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":205087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":205087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":205087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551294208001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551294208001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:37:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:37:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551294208001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":205087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:37:19] local.INFO: GPS data processed {"connection_id":205087,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:37:19] local.INFO: Acknowledgment sent {"connection_id":205087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:37:30] local.INFO: TCP Data received {"connection_id":208052,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:37:30] local.INFO: Processing buffer {"connection_id":208052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:37:30] local.INFO: IMEI packet received {"connection_id":208052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":208052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:37:35] local.INFO: TCP Data received {"connection_id":208052,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:37:35] local.INFO: Processing buffer {"connection_id":208052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:37:35] local.INFO: IMEI packet received {"connection_id":208052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":208052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:37:36] local.INFO: TCP Data received {"connection_id":208052,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccedcf0012d7c080005db4d080011004220..."} 
[2026-10-05 21:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccedcf0012d7c080005db4d080011004220..."} 
[2026-10-05 21:37:36] local.INFO: Processing buffer {"connection_id":208052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccedcf0012d7c080005db4d080011004220..."} 
[2026-10-05 21:37:36] local.INFO: Packet analysis {"connection_id":208052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cce"} 
[2026-10-05 21:37:36] local.INFO: Extracted packet for processing {"connection_id":208052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cce"} 
[2026-10-05 21:37:36] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":98258184,"longitude_deg":76.3103232,"latitude_deg":9.8258184,"altitude":17,"angle":66,"satellites":32,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05db4d08","is_valid_coordinates":true} 
[2026-10-05 21:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551358976001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485670844416,"note":"Value kept but may cause issues"} 
[2026-10-05 21:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791216246000,"timestamp_ms":1791216246000,"timestamp_seconds":1791216246,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccedcf0"} 
[2026-10-05 21:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-05 21:37:36] 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-10-05 21:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:37:36] 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-10-05 21:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551358976001,"66":12515,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8937393485670844416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551358976001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:37:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:37:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485670844416,"description":"Unknown IO ID 45"} 
[2026-10-05 21:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551358976001,"power":12515,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937393485670844416}} 
[2026-10-05 21:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":208052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970139,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:37:37] local.INFO: GPS data processed {"connection_id":208052,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:37:37] local.INFO: Acknowledgment sent {"connection_id":208052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:38:09] local.INFO: TCP Data received {"connection_id":208052,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccedcf0012d7c080005db4d080011004220..."} 
[2026-10-05 21:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccedcf0012d7c080005db4d080011004220..."} 
[2026-10-05 21:38:09] local.INFO: Processing buffer {"connection_id":208052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccedcf0012d7c080005db4d080011004220..."} 
[2026-10-05 21:38:09] local.INFO: Packet analysis {"connection_id":208052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cce"} 
[2026-10-05 21:38:09] local.INFO: Extracted packet for processing {"connection_id":208052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cce"} 
[2026-10-05 21:38:09] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":98258184,"longitude_deg":76.3103232,"latitude_deg":9.8258184,"altitude":17,"angle":66,"satellites":32,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05db4d08","is_valid_coordinates":true} 
[2026-10-05 21:38:09] 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-10-05 21:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551358976001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485670844416,"note":"Value kept but may cause issues"} 
[2026-10-05 21:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791216246000,"timestamp_ms":1791216246000,"timestamp_seconds":1791216246,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccedcf0"} 
[2026-10-05 21:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-05 21:38:09] 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-10-05 21:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":208052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":208052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":208052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:38:09] 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-10-05 21:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551358976001,"66":12515,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8937393485670844416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551358976001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:38:09] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:38:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485670844416,"description":"Unknown IO ID 45"} 
[2026-10-05 21:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551358976001,"power":12515,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937393485670844416}} 
[2026-10-05 21:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":208052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:38:09] local.INFO: GPS data processed {"connection_id":208052,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:38:09] local.INFO: Acknowledgment sent {"connection_id":208052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:38:10] local.INFO: TCP Data received {"connection_id":208053,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:38:10] local.INFO: Processing buffer {"connection_id":208053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:38:10] local.INFO: IMEI packet received {"connection_id":208053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":208053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:38:15] local.INFO: TCP Data received {"connection_id":208053,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:38:15] local.INFO: Processing buffer {"connection_id":208053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:38:15] local.INFO: IMEI packet received {"connection_id":208053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":208053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:38:30] local.INFO: TCP Data received {"connection_id":205088,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:38:30] local.INFO: Processing buffer {"connection_id":205088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:38:30] local.INFO: IMEI packet received {"connection_id":205088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":205088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:38:35] local.INFO: TCP Data received {"connection_id":205088,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:38:35] local.INFO: Processing buffer {"connection_id":205088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:38:35] local.INFO: IMEI packet received {"connection_id":205088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":205088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:38:36] local.INFO: TCP Data received {"connection_id":205088,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccedcf0012d7c080005db4d080011004220..."} 
[2026-10-05 21:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccedcf0012d7c080005db4d080011004220..."} 
[2026-10-05 21:38:36] local.INFO: Processing buffer {"connection_id":205088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccedcf0012d7c080005db4d080011004220..."} 
[2026-10-05 21:38:36] local.INFO: Packet analysis {"connection_id":205088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cce"} 
[2026-10-05 21:38:36] local.INFO: Extracted packet for processing {"connection_id":205088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cce"} 
[2026-10-05 21:38:36] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":98258184,"longitude_deg":76.3103232,"latitude_deg":9.8258184,"altitude":17,"angle":66,"satellites":32,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05db4d08","is_valid_coordinates":true} 
[2026-10-05 21:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551358976001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485670844416,"note":"Value kept but may cause issues"} 
[2026-10-05 21:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791216246000,"timestamp_ms":1791216246000,"timestamp_seconds":1791216246,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccedcf0"} 
[2026-10-05 21:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-05 21:38:36] 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-10-05 21:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:38:36] 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-10-05 21:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551358976001,"66":12515,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8937393485670844416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551358976001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:38:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:38:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485670844416,"description":"Unknown IO ID 45"} 
[2026-10-05 21:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551358976001,"power":12515,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937393485670844416}} 
[2026-10-05 21:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":205088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:38:36] local.INFO: GPS data processed {"connection_id":205088,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:38:36] local.INFO: Acknowledgment sent {"connection_id":205088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:38:50] local.INFO: TCP Data received {"connection_id":208053,"ip":"117.224.141.49","data_length":1360,"data_hex":"000000000000030f8e0a000001a10ccf9870012d196600071feee80039015426..."} 
[2026-10-05 21:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208053,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a10ccf9870012d196600071feee80039015426..."} 
[2026-10-05 21:38:50] local.INFO: Processing buffer {"connection_id":208053,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a10ccf9870012d196600071feee80039015426..."} 
[2026-10-05 21:38:50] local.INFO: Packet analysis {"connection_id":208053,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a10ccf"} 
[2026-10-05 21:38:50] local.INFO: Extracted packet for processing {"connection_id":208053,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a10ccf"} 
[2026-10-05 21:38:50] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551294208001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1791216294000,"timestamp_ms":1791216294000,"timestamp_seconds":1791216294,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccf9870"} 
[2026-10-05 21:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:38:50] 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-10-05 21:38: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-10-05 21:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":208053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":208053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":208053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551294208001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551294208001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:38:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:38:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551294208001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":208053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:38:50] local.INFO: GPS data processed {"connection_id":208053,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:38:50] local.INFO: Acknowledgment sent {"connection_id":208053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:38:50] local.INFO: Packet analysis {"connection_id":208053,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a10ccf"} 
[2026-10-05 21:38:50] local.INFO: Incomplete packet, waiting for more data {"connection_id":208053,"needed":795,"available":565} 
[2026-10-05 21:38:51] local.INFO: TCP Data received {"connection_id":208053,"ip":"117.224.141.49","data_length":230,"data_hex":"2d196600071feee8003901542700000000000a000400ef0000714400f0000045..."} 
[2026-10-05 21:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208053,"packet_length":230,"packet_hex":"2d196600071feee8003901542700000000000a000400ef0000714400f0000045..."} 
[2026-10-05 21:38:51] local.INFO: Processing buffer {"connection_id":208053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccf9870012d196600071feee80039015426..."} 
[2026-10-05 21:38:51] local.INFO: Packet analysis {"connection_id":208053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ccf"} 
[2026-10-05 21:38:51] local.INFO: Extracted packet for processing {"connection_id":208053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ccf"} 
[2026-10-05 21:38:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:38: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-10-05 21:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551294208001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791216294000,"timestamp_ms":1791216294000,"timestamp_seconds":1791216294,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccf9870"} 
[2026-10-05 21:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:38:51] 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-10-05 21:38: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-10-05 21:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":208053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":208053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":208053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551294208001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551294208001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:38:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:38:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551294208001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":208053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:38:51] local.INFO: GPS data processed {"connection_id":208053,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:38:51] local.INFO: Acknowledgment sent {"connection_id":208053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:39:04] local.INFO: TCP Data received {"connection_id":204964,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:39:04] local.INFO: Processing buffer {"connection_id":204964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:39:04] local.INFO: IMEI packet received {"connection_id":204964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":204964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:39:08] local.INFO: TCP Data received {"connection_id":205088,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccedcf0012d7c080005db4d080011004220..."} 
[2026-10-05 21:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccedcf0012d7c080005db4d080011004220..."} 
[2026-10-05 21:39:08] local.INFO: Processing buffer {"connection_id":205088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccedcf0012d7c080005db4d080011004220..."} 
[2026-10-05 21:39:08] local.INFO: Packet analysis {"connection_id":205088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cce"} 
[2026-10-05 21:39:08] local.INFO: Extracted packet for processing {"connection_id":205088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cce"} 
[2026-10-05 21:39:08] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":98258184,"longitude_deg":76.3103232,"latitude_deg":9.8258184,"altitude":17,"angle":66,"satellites":32,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05db4d08","is_valid_coordinates":true} 
[2026-10-05 21:39:08] 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-10-05 21:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551358976001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485670844416,"note":"Value kept but may cause issues"} 
[2026-10-05 21:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791216246000,"timestamp_ms":1791216246000,"timestamp_seconds":1791216246,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccedcf0"} 
[2026-10-05 21:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:39: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-10-05 21:39: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":227,"data_length":795,"current_offset":136} 
[2026-10-05 21:39:08] 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-10-05 21:39: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-10-05 21:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:39:08] 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-10-05 21:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551358976001,"66":12515,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8937393485670844416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551358976001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:39:08] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:39:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485670844416,"description":"Unknown IO ID 45"} 
[2026-10-05 21:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551358976001,"power":12515,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937393485670844416}} 
[2026-10-05 21:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":205088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:39:08] local.INFO: GPS data processed {"connection_id":205088,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:39:08] local.INFO: Acknowledgment sent {"connection_id":205088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:39:10] local.INFO: TCP Data received {"connection_id":204964,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:39:10] local.INFO: Processing buffer {"connection_id":204964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:39:10] local.INFO: IMEI packet received {"connection_id":204964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":204964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:39:12] local.INFO: TCP Data received {"connection_id":204964,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccf9870012d196600071feee80039015426..."} 
[2026-10-05 21:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccf9870012d196600071feee80039015426..."} 
[2026-10-05 21:39:12] local.INFO: Processing buffer {"connection_id":204964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccf9870012d196600071feee80039015426..."} 
[2026-10-05 21:39:12] local.INFO: Packet analysis {"connection_id":204964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ccf"} 
[2026-10-05 21:39:12] local.INFO: Extracted packet for processing {"connection_id":204964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ccf"} 
[2026-10-05 21:39:12] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551294208001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791216294000,"timestamp_ms":1791216294000,"timestamp_seconds":1791216294,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccf9870"} 
[2026-10-05 21:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:39:12] 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-10-05 21:39: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-10-05 21:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":204964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":204964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":204964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551294208001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551294208001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:39:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:39:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551294208001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":204964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:39:12] local.INFO: GPS data processed {"connection_id":204964,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:39:12] local.INFO: Acknowledgment sent {"connection_id":204964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:39:19] local.INFO: TCP Data received {"connection_id":204963,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:39:19] local.INFO: Processing buffer {"connection_id":204963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:39:19] local.INFO: IMEI packet received {"connection_id":204963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":204963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:39:33] local.INFO: TCP Data received {"connection_id":205089,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205089,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:39:33] local.INFO: Processing buffer {"connection_id":205089,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:39:33] local.INFO: IMEI packet received {"connection_id":205089,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 21:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":205089,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:39:35] local.INFO: TCP Data received {"connection_id":204965,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:39:35] local.INFO: Processing buffer {"connection_id":204965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:39:35] local.INFO: IMEI packet received {"connection_id":204965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":204965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:39:41] local.INFO: TCP Data received {"connection_id":204965,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:39:41] local.INFO: Processing buffer {"connection_id":204965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:39:41] local.INFO: IMEI packet received {"connection_id":204965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":204965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:39:42] local.INFO: TCP Data received {"connection_id":204965,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10cd37c88012d7c088005db4cc00011004226..."} 
[2026-10-05 21:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cd37c88012d7c088005db4cc00011004226..."} 
[2026-10-05 21:39:42] local.INFO: Processing buffer {"connection_id":204965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cd37c88012d7c088005db4cc00011004226..."} 
[2026-10-05 21:39:42] local.INFO: Packet analysis {"connection_id":204965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cd3"} 
[2026-10-05 21:39:42] local.INFO: Extracted packet for processing {"connection_id":204965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cd3"} 
[2026-10-05 21:39:42] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":98258112,"longitude_deg":76.310336,"latitude_deg":9.8258112,"altitude":17,"angle":66,"satellites":38,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05db4cc0","is_valid_coordinates":true} 
[2026-10-05 21:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551358976001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485670844416,"note":"Value kept but may cause issues"} 
[2026-10-05 21:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791216549000,"timestamp_ms":1791216549000,"timestamp_seconds":1791216549,"priority":1,"record_length":96,"hex_timestamp":"000001a10cd37c88"} 
[2026-10-05 21:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-05 21:39:42] 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-10-05 21:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":204965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":204965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":204965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:39:42] 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-10-05 21:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551358976001,"66":12211,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8937393485670844416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551358976001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:39:42] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:39:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485670844416,"description":"Unknown IO ID 45"} 
[2026-10-05 21:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551358976001,"power":12211,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937393485670844416}} 
[2026-10-05 21:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":204965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:39:42] local.INFO: GPS data processed {"connection_id":204965,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:39:42] local.INFO: Acknowledgment sent {"connection_id":204965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:39:44] local.INFO: TCP Data received {"connection_id":204964,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccf9870012d196600071feee80039015426..."} 
[2026-10-05 21:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccf9870012d196600071feee80039015426..."} 
[2026-10-05 21:39:44] local.INFO: Processing buffer {"connection_id":204964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccf9870012d196600071feee80039015426..."} 
[2026-10-05 21:39:44] local.INFO: Packet analysis {"connection_id":204964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ccf"} 
[2026-10-05 21:39:44] local.INFO: Extracted packet for processing {"connection_id":204964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ccf"} 
[2026-10-05 21:39:44] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551294208001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791216294000,"timestamp_ms":1791216294000,"timestamp_seconds":1791216294,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccf9870"} 
[2026-10-05 21:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":204964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":204964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":204964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551294208001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551294208001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:39:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:39:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551294208001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":204964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:39:44] local.INFO: GPS data processed {"connection_id":204964,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:39:44] local.INFO: Acknowledgment sent {"connection_id":204964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:39:46] local.INFO: TCP Data received {"connection_id":204965,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10cd37c88012d7c088005db4cc00011004226..."} 
[2026-10-05 21:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cd37c88012d7c088005db4cc00011004226..."} 
[2026-10-05 21:39:46] local.INFO: Processing buffer {"connection_id":204965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cd37c88012d7c088005db4cc00011004226..."} 
[2026-10-05 21:39:46] local.INFO: Packet analysis {"connection_id":204965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cd3"} 
[2026-10-05 21:39:46] local.INFO: Extracted packet for processing {"connection_id":204965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cd3"} 
[2026-10-05 21:39:46] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":98258112,"longitude_deg":76.310336,"latitude_deg":9.8258112,"altitude":17,"angle":66,"satellites":38,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05db4cc0","is_valid_coordinates":true} 
[2026-10-05 21:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551358976001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485670844416,"note":"Value kept but may cause issues"} 
[2026-10-05 21:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791216549000,"timestamp_ms":1791216549000,"timestamp_seconds":1791216549,"priority":1,"record_length":96,"hex_timestamp":"000001a10cd37c88"} 
[2026-10-05 21:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-05 21:39:46] 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-10-05 21:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":204965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":204965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":204965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551358976001,"66":12211,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8937393485670844416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551358976001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:39:46] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:39:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485670844416,"description":"Unknown IO ID 45"} 
[2026-10-05 21:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551358976001,"power":12211,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937393485670844416}} 
[2026-10-05 21:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":204965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:39:46] local.INFO: GPS data processed {"connection_id":204965,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:39:46] local.INFO: Acknowledgment sent {"connection_id":204965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:40:04] local.INFO: TCP Data received {"connection_id":204966,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:40:04] local.INFO: Processing buffer {"connection_id":204966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:40:04] local.INFO: IMEI packet received {"connection_id":204966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":204966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:40:10] local.INFO: TCP Data received {"connection_id":204966,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:40:10] local.INFO: Processing buffer {"connection_id":204966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:40:10] local.INFO: IMEI packet received {"connection_id":204966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":204966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:40:11] local.INFO: TCP Data received {"connection_id":204966,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccf9870012d196600071feee80039015426..."} 
[2026-10-05 21:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccf9870012d196600071feee80039015426..."} 
[2026-10-05 21:40:11] local.INFO: Processing buffer {"connection_id":204966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccf9870012d196600071feee80039015426..."} 
[2026-10-05 21:40:11] local.INFO: Packet analysis {"connection_id":204966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ccf"} 
[2026-10-05 21:40:11] local.INFO: Extracted packet for processing {"connection_id":204966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ccf"} 
[2026-10-05 21:40:11] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551294208001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791216294000,"timestamp_ms":1791216294000,"timestamp_seconds":1791216294,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccf9870"} 
[2026-10-05 21:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:40:11] 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-10-05 21: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-10-05 21:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551294208001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551294208001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:40:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:40:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551294208001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":204966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:40:11] local.INFO: GPS data processed {"connection_id":204966,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:40:11] local.INFO: Acknowledgment sent {"connection_id":204966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:40:29] local.INFO: TCP Data received {"connection_id":206469,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:40:29] local.INFO: Processing buffer {"connection_id":206469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:40:29] local.INFO: IMEI packet received {"connection_id":206469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":206469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:40:30] local.INFO: TCP Data received {"connection_id":208054,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208054,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:40:30] local.INFO: Processing buffer {"connection_id":208054,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:40:30] local.INFO: IMEI packet received {"connection_id":208054,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":208054,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:40:34] local.INFO: TCP Data received {"connection_id":206469,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:40:34] local.INFO: Processing buffer {"connection_id":206469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:40:34] local.INFO: IMEI packet received {"connection_id":206469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":206469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:40:35] local.INFO: TCP Data received {"connection_id":208054,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208054,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:40:35] local.INFO: Processing buffer {"connection_id":208054,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:40:35] local.INFO: IMEI packet received {"connection_id":208054,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":208054,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:40:36] local.INFO: TCP Data received {"connection_id":208054,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10cd37c88012d7c088005db4cc00011004226..."} 
[2026-10-05 21:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cd37c88012d7c088005db4cc00011004226..."} 
[2026-10-05 21:40:36] local.INFO: Processing buffer {"connection_id":208054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cd37c88012d7c088005db4cc00011004226..."} 
[2026-10-05 21:40:36] local.INFO: Packet analysis {"connection_id":208054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cd3"} 
[2026-10-05 21:40:36] local.INFO: Extracted packet for processing {"connection_id":208054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cd3"} 
[2026-10-05 21:40:36] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":98258112,"longitude_deg":76.310336,"latitude_deg":9.8258112,"altitude":17,"angle":66,"satellites":38,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05db4cc0","is_valid_coordinates":true} 
[2026-10-05 21:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551358976001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485670844416,"note":"Value kept but may cause issues"} 
[2026-10-05 21:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791216549000,"timestamp_ms":1791216549000,"timestamp_seconds":1791216549,"priority":1,"record_length":96,"hex_timestamp":"000001a10cd37c88"} 
[2026-10-05 21:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-05 21:40:36] 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-10-05 21:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:40:36] 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-10-05 21:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551358976001,"66":12211,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8937393485670844416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551358976001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:40:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:40:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485670844416,"description":"Unknown IO ID 45"} 
[2026-10-05 21:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551358976001,"power":12211,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937393485670844416}} 
[2026-10-05 21:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":208054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:40:36] local.INFO: GPS data processed {"connection_id":208054,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:40:36] local.INFO: Acknowledgment sent {"connection_id":208054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:40:48] local.INFO: TCP Data received {"connection_id":204966,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cd43038012d196600071feee80039015429..."} 
[2026-10-05 21:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cd43038012d196600071feee80039015429..."} 
[2026-10-05 21:40:48] local.INFO: Processing buffer {"connection_id":204966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cd43038012d196600071feee80039015429..."} 
[2026-10-05 21:40:48] local.INFO: Packet analysis {"connection_id":204966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cd4"} 
[2026-10-05 21:40:48] local.INFO: Extracted packet for processing {"connection_id":204966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cd4"} 
[2026-10-05 21:40:48] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551371264001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791216595000,"timestamp_ms":1791216595000,"timestamp_seconds":1791216595,"priority":1,"record_length":96,"hex_timestamp":"000001a10cd43038"} 
[2026-10-05 21:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:40:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":204966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":204966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":204966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551371264001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551371264001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:40:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:40:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551371264001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":204966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:40:48] local.INFO: GPS data processed {"connection_id":204966,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:40:48] local.INFO: Acknowledgment sent {"connection_id":204966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:40:59] local.INFO: TCP Data received {"connection_id":206470,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:40:59] local.INFO: Processing buffer {"connection_id":206470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:40:59] local.INFO: IMEI packet received {"connection_id":206470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":206470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:41:08] local.INFO: TCP Data received {"connection_id":208054,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10cd37c88012d7c088005db4cc00011004226..."} 
[2026-10-05 21:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cd37c88012d7c088005db4cc00011004226..."} 
[2026-10-05 21:41:08] local.INFO: Processing buffer {"connection_id":208054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cd37c88012d7c088005db4cc00011004226..."} 
[2026-10-05 21:41:08] local.INFO: Packet analysis {"connection_id":208054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cd3"} 
[2026-10-05 21:41:08] local.INFO: Extracted packet for processing {"connection_id":208054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cd3"} 
[2026-10-05 21:41:08] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":98258112,"longitude_deg":76.310336,"latitude_deg":9.8258112,"altitude":17,"angle":66,"satellites":38,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05db4cc0","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551358976001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485670844416,"note":"Value kept but may cause issues"} 
[2026-10-05 21:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791216549000,"timestamp_ms":1791216549000,"timestamp_seconds":1791216549,"priority":1,"record_length":96,"hex_timestamp":"000001a10cd37c88"} 
[2026-10-05 21:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:41: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-10-05 21: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":227,"data_length":795,"current_offset":136} 
[2026-10-05 21:41:08] 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-10-05 21: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-10-05 21:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":208054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":208054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":208054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:41:08] 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-10-05 21:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551358976001,"66":12211,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8937393485670844416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551358976001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:41:08] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:41:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485670844416,"description":"Unknown IO ID 45"} 
[2026-10-05 21:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551358976001,"power":12211,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937393485670844416}} 
[2026-10-05 21:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":208054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970152,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:41:08] local.INFO: GPS data processed {"connection_id":208054,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:41:08] local.INFO: Acknowledgment sent {"connection_id":208054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:41:09] local.INFO: TCP Data received {"connection_id":206471,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:41:09] local.INFO: Processing buffer {"connection_id":206471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:41:09] local.INFO: IMEI packet received {"connection_id":206471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":206471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:41:17] local.INFO: TCP Data received {"connection_id":206471,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:41:17] local.INFO: Processing buffer {"connection_id":206471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:41:17] local.INFO: IMEI packet received {"connection_id":206471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":206471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:41:19] local.INFO: TCP Data received {"connection_id":206471,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cd43038012d196600071feee80039015429..."} 
[2026-10-05 21:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cd43038012d196600071feee80039015429..."} 
[2026-10-05 21:41:19] local.INFO: Processing buffer {"connection_id":206471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cd43038012d196600071feee80039015429..."} 
[2026-10-05 21:41:19] local.INFO: Packet analysis {"connection_id":206471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cd4"} 
[2026-10-05 21:41:19] local.INFO: Extracted packet for processing {"connection_id":206471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cd4"} 
[2026-10-05 21:41:19] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551371264001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791216595000,"timestamp_ms":1791216595000,"timestamp_seconds":1791216595,"priority":1,"record_length":96,"hex_timestamp":"000001a10cd43038"} 
[2026-10-05 21:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:41:19] 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-10-05 21:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":206471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":206471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":206471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551371264001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551371264001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:41:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:41:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551371264001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":206471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:41:19] local.INFO: GPS data processed {"connection_id":206471,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:41:19] local.INFO: Acknowledgment sent {"connection_id":206471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:41:30] local.INFO: TCP Data received {"connection_id":205091,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:41:30] local.INFO: Processing buffer {"connection_id":205091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:41:30] local.INFO: IMEI packet received {"connection_id":205091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":205091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:41:35] local.INFO: TCP Data received {"connection_id":205091,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:41:35] local.INFO: Processing buffer {"connection_id":205091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:41:35] local.INFO: IMEI packet received {"connection_id":205091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":205091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:41:36] local.INFO: TCP Data received {"connection_id":205091,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10cd37c88012d7c088005db4cc00011004226..."} 
[2026-10-05 21:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cd37c88012d7c088005db4cc00011004226..."} 
[2026-10-05 21:41:36] local.INFO: Processing buffer {"connection_id":205091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cd37c88012d7c088005db4cc00011004226..."} 
[2026-10-05 21:41:36] local.INFO: Packet analysis {"connection_id":205091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cd3"} 
[2026-10-05 21:41:36] local.INFO: Extracted packet for processing {"connection_id":205091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cd3"} 
[2026-10-05 21:41:36] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":98258112,"longitude_deg":76.310336,"latitude_deg":9.8258112,"altitude":17,"angle":66,"satellites":38,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05db4cc0","is_valid_coordinates":true} 
[2026-10-05 21:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551358976001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485670844416,"note":"Value kept but may cause issues"} 
[2026-10-05 21:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791216549000,"timestamp_ms":1791216549000,"timestamp_seconds":1791216549,"priority":1,"record_length":96,"hex_timestamp":"000001a10cd37c88"} 
[2026-10-05 21:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-05 21:41:36] 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-10-05 21:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:41:36] 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-10-05 21:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551358976001,"66":12211,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8937393485670844416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551358976001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:41:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:41:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485670844416,"description":"Unknown IO ID 45"} 
[2026-10-05 21:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551358976001,"power":12211,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937393485670844416}} 
[2026-10-05 21:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":205091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:41:37] local.INFO: GPS data processed {"connection_id":205091,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:41:37] local.INFO: Acknowledgment sent {"connection_id":205091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:42:08] local.INFO: TCP Data received {"connection_id":205091,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10cd37c88012d7c088005db4cc00011004226..."} 
[2026-10-05 21:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cd37c88012d7c088005db4cc00011004226..."} 
[2026-10-05 21:42:08] local.INFO: Processing buffer {"connection_id":205091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cd37c88012d7c088005db4cc00011004226..."} 
[2026-10-05 21:42:08] local.INFO: Packet analysis {"connection_id":205091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cd3"} 
[2026-10-05 21:42:08] local.INFO: Extracted packet for processing {"connection_id":205091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cd3"} 
[2026-10-05 21:42:08] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":98258112,"longitude_deg":76.310336,"latitude_deg":9.8258112,"altitude":17,"angle":66,"satellites":38,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05db4cc0","is_valid_coordinates":true} 
[2026-10-05 21:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551358976001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485670844416,"note":"Value kept but may cause issues"} 
[2026-10-05 21:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791216549000,"timestamp_ms":1791216549000,"timestamp_seconds":1791216549,"priority":1,"record_length":96,"hex_timestamp":"000001a10cd37c88"} 
[2026-10-05 21:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:42: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-10-05 21:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-05 21:42:08] 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-10-05 21:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:42:08] 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-10-05 21:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551358976001,"66":12211,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8937393485670844416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551358976001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:42:08] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:42:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485670844416,"description":"Unknown IO ID 45"} 
[2026-10-05 21:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551358976001,"power":12211,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937393485670844416}} 
[2026-10-05 21:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":205091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:42:08] local.INFO: GPS data processed {"connection_id":205091,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:42:08] local.INFO: Acknowledgment sent {"connection_id":205091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:42:19] local.INFO: TCP Data received {"connection_id":208056,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:42:19] local.INFO: Processing buffer {"connection_id":208056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:42:19] local.INFO: IMEI packet received {"connection_id":208056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":208056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:42:25] local.INFO: TCP Data received {"connection_id":208056,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:42:25] local.INFO: Processing buffer {"connection_id":208056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:42:25] local.INFO: IMEI packet received {"connection_id":208056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":208056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:42:30] local.INFO: TCP Data received {"connection_id":208057,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:42:30] local.INFO: Processing buffer {"connection_id":208057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:42:30] local.INFO: IMEI packet received {"connection_id":208057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":208057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:42:35] local.INFO: TCP Data received {"connection_id":208057,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:42:35] local.INFO: Processing buffer {"connection_id":208057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:42:35] local.INFO: IMEI packet received {"connection_id":208057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":208057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:42:36] local.INFO: TCP Data received {"connection_id":208057,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10cd37c88012d7c088005db4cc00011004226..."} 
[2026-10-05 21:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cd37c88012d7c088005db4cc00011004226..."} 
[2026-10-05 21:42:36] local.INFO: Processing buffer {"connection_id":208057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cd37c88012d7c088005db4cc00011004226..."} 
[2026-10-05 21:42:36] local.INFO: Packet analysis {"connection_id":208057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cd3"} 
[2026-10-05 21:42:36] local.INFO: Extracted packet for processing {"connection_id":208057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cd3"} 
[2026-10-05 21:42:36] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":98258112,"longitude_deg":76.310336,"latitude_deg":9.8258112,"altitude":17,"angle":66,"satellites":38,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05db4cc0","is_valid_coordinates":true} 
[2026-10-05 21:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551358976001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485670844416,"note":"Value kept but may cause issues"} 
[2026-10-05 21:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791216549000,"timestamp_ms":1791216549000,"timestamp_seconds":1791216549,"priority":1,"record_length":96,"hex_timestamp":"000001a10cd37c88"} 
[2026-10-05 21:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-05 21:42:36] 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-10-05 21:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:42:36] 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-10-05 21:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551358976001,"66":12211,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8937393485670844416},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551358976001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:42:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:42:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485670844416,"description":"Unknown IO ID 45"} 
[2026-10-05 21:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551358976001,"power":12211,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937393485670844416}} 
[2026-10-05 21:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":208057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:42:36] local.INFO: GPS data processed {"connection_id":208057,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:42:36] local.INFO: Acknowledgment sent {"connection_id":208057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:42:46] local.INFO: TCP Data received {"connection_id":208056,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cd43038012d196600071feee80039015429..."} 
[2026-10-05 21:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cd43038012d196600071feee80039015429..."} 
[2026-10-05 21:42:46] local.INFO: Processing buffer {"connection_id":208056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cd43038012d196600071feee80039015429..."} 
[2026-10-05 21:42:46] local.INFO: Packet analysis {"connection_id":208056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cd4"} 
[2026-10-05 21:42:46] local.INFO: Extracted packet for processing {"connection_id":208056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cd4"} 
[2026-10-05 21:42:46] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551371264001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791216595000,"timestamp_ms":1791216595000,"timestamp_seconds":1791216595,"priority":1,"record_length":96,"hex_timestamp":"000001a10cd43038"} 
[2026-10-05 21:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21: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-10-05 21:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":208056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":208056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":208056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551371264001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551371264001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:42:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:42:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551371264001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":208056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:42:46] local.INFO: GPS data processed {"connection_id":208056,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:42:46] local.INFO: Acknowledgment sent {"connection_id":208056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:43:08] local.INFO: TCP Data received {"connection_id":208057,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10cd37c88012d7c088005db4cc00011004226..."} 
[2026-10-05 21:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cd37c88012d7c088005db4cc00011004226..."} 
[2026-10-05 21:43:08] local.INFO: Processing buffer {"connection_id":208057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cd37c88012d7c088005db4cc00011004226..."} 
[2026-10-05 21:43:08] local.INFO: Packet analysis {"connection_id":208057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cd3"} 
[2026-10-05 21:43:08] local.INFO: Extracted packet for processing {"connection_id":208057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cd3"} 
[2026-10-05 21:43:08] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":98258112,"longitude_deg":76.310336,"latitude_deg":9.8258112,"altitude":17,"angle":66,"satellites":38,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05db4cc0","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551358976001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485670844416,"note":"Value kept but may cause issues"} 
[2026-10-05 21:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791216549000,"timestamp_ms":1791216549000,"timestamp_seconds":1791216549,"priority":1,"record_length":96,"hex_timestamp":"000001a10cd37c88"} 
[2026-10-05 21:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:43: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-10-05 21: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-05 21:43:08] 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-10-05 21: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-10-05 21:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":208057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":208057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":208057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:43:08] 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-10-05 21:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551358976001,"66":12211,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8937393485670844416},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551358976001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:43:08] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:43:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485670844416,"description":"Unknown IO ID 45"} 
[2026-10-05 21:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551358976001,"power":12211,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937393485670844416}} 
[2026-10-05 21:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":208057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:43:08] local.INFO: GPS data processed {"connection_id":208057,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:43:08] local.INFO: Acknowledgment sent {"connection_id":208057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:43:14] local.INFO: TCP Data received {"connection_id":206473,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:43:14] local.INFO: Processing buffer {"connection_id":206473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:43:14] local.INFO: IMEI packet received {"connection_id":206473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":206473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:43:19] local.INFO: TCP Data received {"connection_id":206473,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:43:19] local.INFO: Processing buffer {"connection_id":206473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:43:19] local.INFO: IMEI packet received {"connection_id":206473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":206473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:43:30] local.INFO: TCP Data received {"connection_id":206473,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cd43038012d196600071feee80039015429..."} 
[2026-10-05 21:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cd43038012d196600071feee80039015429..."} 
[2026-10-05 21:43:30] local.INFO: Processing buffer {"connection_id":206473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cd43038012d196600071feee80039015429..."} 
[2026-10-05 21:43:30] local.INFO: Packet analysis {"connection_id":206473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cd4"} 
[2026-10-05 21:43:30] local.INFO: Extracted packet for processing {"connection_id":206473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cd4"} 
[2026-10-05 21:43:30] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551371264001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1791216595000,"timestamp_ms":1791216595000,"timestamp_seconds":1791216595,"priority":1,"record_length":96,"hex_timestamp":"000001a10cd43038"} 
[2026-10-05 21:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:43:30] 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-10-05 21:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":206473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":206473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":206473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551371264001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551371264001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:43:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:43:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551371264001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":206473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:43:31] local.INFO: GPS data processed {"connection_id":206473,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:43:31] local.INFO: Acknowledgment sent {"connection_id":206473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:43:40] local.INFO: TCP Data received {"connection_id":208058,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:43:40] local.INFO: Processing buffer {"connection_id":208058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:43:40] local.INFO: IMEI packet received {"connection_id":208058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":208058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:43:45] local.INFO: TCP Data received {"connection_id":208058,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:43:45] local.INFO: Processing buffer {"connection_id":208058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:43:45] local.INFO: IMEI packet received {"connection_id":208058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":208058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:43:47] local.INFO: TCP Data received {"connection_id":208058,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10cd37c88012d7c088005db4cc00011004226..."} 
[2026-10-05 21:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cd37c88012d7c088005db4cc00011004226..."} 
[2026-10-05 21:43:47] local.INFO: Processing buffer {"connection_id":208058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cd37c88012d7c088005db4cc00011004226..."} 
[2026-10-05 21:43:47] local.INFO: Packet analysis {"connection_id":208058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cd3"} 
[2026-10-05 21:43:47] local.INFO: Extracted packet for processing {"connection_id":208058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cd3"} 
[2026-10-05 21:43:47] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":98258112,"longitude_deg":76.310336,"latitude_deg":9.8258112,"altitude":17,"angle":66,"satellites":38,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05db4cc0","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551358976001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485670844416,"note":"Value kept but may cause issues"} 
[2026-10-05 21:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791216549000,"timestamp_ms":1791216549000,"timestamp_seconds":1791216549,"priority":1,"record_length":96,"hex_timestamp":"000001a10cd37c88"} 
[2026-10-05 21:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-05 21:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21: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-10-05 21:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":208058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":208058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":208058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551358976001,"66":12211,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8937393485670844416},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551358976001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:43:47] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:43:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485670844416,"description":"Unknown IO ID 45"} 
[2026-10-05 21:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551358976001,"power":12211,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937393485670844416}} 
[2026-10-05 21:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":208058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:43:47] local.INFO: GPS data processed {"connection_id":208058,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:43:47] local.INFO: Acknowledgment sent {"connection_id":208058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:44:09] local.INFO: TCP Data received {"connection_id":206474,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:44:09] local.INFO: Processing buffer {"connection_id":206474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:44:09] local.INFO: IMEI packet received {"connection_id":206474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":206474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:44:20] local.INFO: TCP Data received {"connection_id":206474,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:44:20] local.INFO: Processing buffer {"connection_id":206474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:44:20] local.INFO: IMEI packet received {"connection_id":206474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":206474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:44:30] local.INFO: TCP Data received {"connection_id":208059,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:44:30] local.INFO: Processing buffer {"connection_id":208059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:44:30] local.INFO: IMEI packet received {"connection_id":208059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":208059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:44:35] local.INFO: TCP Data received {"connection_id":206474,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cd43038012d196600071feee80039015429..."} 
[2026-10-05 21:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cd43038012d196600071feee80039015429..."} 
[2026-10-05 21:44:35] local.INFO: Processing buffer {"connection_id":206474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cd43038012d196600071feee80039015429..."} 
[2026-10-05 21:44:35] local.INFO: Packet analysis {"connection_id":206474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cd4"} 
[2026-10-05 21:44:35] local.INFO: Extracted packet for processing {"connection_id":206474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cd4"} 
[2026-10-05 21:44:35] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551371264001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791216595000,"timestamp_ms":1791216595000,"timestamp_seconds":1791216595,"priority":1,"record_length":96,"hex_timestamp":"000001a10cd43038"} 
[2026-10-05 21:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:44:35] 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-10-05 21:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":206474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":206474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":206474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551371264001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551371264001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:44:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:44:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551371264001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:44:35] local.INFO: TCP Data received {"connection_id":208059,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:44:35] local.INFO: Processing buffer {"connection_id":208059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:44:35] local.INFO: IMEI packet received {"connection_id":208059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":208059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":206474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:44:35] local.INFO: GPS data processed {"connection_id":206474,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:44:35] local.INFO: Acknowledgment sent {"connection_id":206474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:44:36] local.INFO: TCP Data received {"connection_id":208059,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10cd81450012d7c088005db4cc0000a004222..."} 
[2026-10-05 21:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cd81450012d7c088005db4cc0000a004222..."} 
[2026-10-05 21:44:36] local.INFO: Processing buffer {"connection_id":208059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cd81450012d7c088005db4cc0000a004222..."} 
[2026-10-05 21:44:36] local.INFO: Packet analysis {"connection_id":208059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cd8"} 
[2026-10-05 21:44:36] local.INFO: Extracted packet for processing {"connection_id":208059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cd8"} 
[2026-10-05 21:44:36] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":98258112,"longitude_deg":76.310336,"latitude_deg":9.8258112,"altitude":10,"angle":66,"satellites":34,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05db4cc0","is_valid_coordinates":true} 
[2026-10-05 21:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551436544001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534223159181312,"note":"Value kept but may cause issues"} 
[2026-10-05 21:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791216850000,"timestamp_ms":1791216850000,"timestamp_seconds":1791216850,"priority":1,"record_length":96,"hex_timestamp":"000001a10cd81450"} 
[2026-10-05 21:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-05 21:44: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-10-05 21:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:44:36] 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-10-05 21:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551436544001,"66":12287,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8937534223159181312},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551436544001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:44:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:44:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937534223159181312,"description":"Unknown IO ID 45"} 
[2026-10-05 21:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551436544001,"power":12287,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937534223159181312}} 
[2026-10-05 21:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":208059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:44:36] local.INFO: GPS data processed {"connection_id":208059,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:44:36] local.INFO: Acknowledgment sent {"connection_id":208059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:44:53] local.INFO: TCP Data received {"connection_id":204970,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:44:53] local.INFO: Processing buffer {"connection_id":204970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:44:53] local.INFO: IMEI packet received {"connection_id":204970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 21:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":204970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:45:04] local.INFO: TCP Data received {"connection_id":205094,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:45:04] local.INFO: Processing buffer {"connection_id":205094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:45:04] local.INFO: IMEI packet received {"connection_id":205094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":205094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:45:07] local.INFO: TCP Data received {"connection_id":208059,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10cd89538012d7c088005db4cc00008004223..."} 
[2026-10-05 21:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cd89538012d7c088005db4cc00008004223..."} 
[2026-10-05 21:45:07] local.INFO: Processing buffer {"connection_id":208059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cd89538012d7c088005db4cc00008004223..."} 
[2026-10-05 21:45:07] local.INFO: Packet analysis {"connection_id":208059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cd8"} 
[2026-10-05 21:45:07] local.INFO: Extracted packet for processing {"connection_id":208059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cd8"} 
[2026-10-05 21:45:07] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":98258112,"longitude_deg":76.310336,"latitude_deg":9.8258112,"altitude":8,"angle":66,"satellites":35,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05db4cc0","is_valid_coordinates":true} 
[2026-10-05 21:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551513600001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885018951450624,"note":"Value kept but may cause issues"} 
[2026-10-05 21:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534223159181312,"note":"Value kept but may cause issues"} 
[2026-10-05 21:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791216883000,"timestamp_ms":1791216883000,"timestamp_seconds":1791216883,"priority":1,"record_length":96,"hex_timestamp":"000001a10cd89538"} 
[2026-10-05 21:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:45: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-10-05 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 21:45:07] 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-10-05 21: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-10-05 21:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":208059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":208059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":208059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:45:07] 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-10-05 21:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551513600001,"66":12287,"162":206,"85":15104,"24":0,"16":139885018951450624,"45":8937534223159181312},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551513600001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:45:07] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:45:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885018951450624,"km_value":139885018951450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937534223159181312,"description":"Unknown IO ID 45"} 
[2026-10-05 21:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551513600001,"power":12287,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937534223159181312}} 
[2026-10-05 21:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":208059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970163,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:45:07] local.INFO: GPS data processed {"connection_id":208059,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:45:07] local.INFO: Acknowledgment sent {"connection_id":208059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:45:10] local.INFO: TCP Data received {"connection_id":205094,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:45:10] local.INFO: Processing buffer {"connection_id":205094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:45:10] local.INFO: IMEI packet received {"connection_id":205094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":205094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:45:12] local.INFO: TCP Data received {"connection_id":205094,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cd43038012d196600071feee80039015429..."} 
[2026-10-05 21:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cd43038012d196600071feee80039015429..."} 
[2026-10-05 21:45:12] local.INFO: Processing buffer {"connection_id":205094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cd43038012d196600071feee80039015429..."} 
[2026-10-05 21:45:12] local.INFO: Packet analysis {"connection_id":205094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cd4"} 
[2026-10-05 21:45:12] local.INFO: Extracted packet for processing {"connection_id":205094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cd4"} 
[2026-10-05 21:45:12] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551371264001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791216595000,"timestamp_ms":1791216595000,"timestamp_seconds":1791216595,"priority":1,"record_length":96,"hex_timestamp":"000001a10cd43038"} 
[2026-10-05 21:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 21:45:12] 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-10-05 21: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-10-05 21:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":205094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":205094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":205094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551371264001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551371264001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:45:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:45:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551371264001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":205094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:45:12] local.INFO: GPS data processed {"connection_id":205094,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:45:12] local.INFO: Acknowledgment sent {"connection_id":205094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:45:30] local.INFO: TCP Data received {"connection_id":204971,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:45:30] local.INFO: Processing buffer {"connection_id":204971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:45:30] local.INFO: IMEI packet received {"connection_id":204971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":204971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:45:31] local.INFO: TCP Data received {"connection_id":204971,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:45:31] local.INFO: Processing buffer {"connection_id":204971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:45:31] local.INFO: IMEI packet received {"connection_id":204971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":204971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:45:32] local.INFO: TCP Data received {"connection_id":204971,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:45:32] local.INFO: Processing buffer {"connection_id":204971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:45:32] local.INFO: IMEI packet received {"connection_id":204971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":204971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:45:33] local.INFO: TCP Data received {"connection_id":208060,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208060,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:45:33] local.INFO: Processing buffer {"connection_id":208060,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:45:33] local.INFO: IMEI packet received {"connection_id":208060,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 21:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":208060,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:45:34] local.INFO: TCP Data received {"connection_id":204971,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:45:34] local.INFO: Processing buffer {"connection_id":204971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:45:34] local.INFO: IMEI packet received {"connection_id":204971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":204971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:45:35] local.INFO: TCP Data received {"connection_id":204971,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10cd94cd0012d7c0a0005db73d80006006518..."} 
[2026-10-05 21:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cd94cd0012d7c0a0005db73d80006006518..."} 
[2026-10-05 21:45:35] local.INFO: Processing buffer {"connection_id":204971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cd94cd0012d7c0a0005db73d80006006518..."} 
[2026-10-05 21:45:35] local.INFO: Packet analysis {"connection_id":204971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cd9"} 
[2026-10-05 21:45:35] local.INFO: Extracted packet for processing {"connection_id":204971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cd9"} 
[2026-10-05 21:45:35] local.INFO: GPS Element Parsed {"raw_longitude":763103744,"raw_latitude":98268120,"longitude_deg":76.3103744,"latitude_deg":9.826812,"altitude":6,"angle":101,"satellites":24,"speed":8,"hex_longitude":"2d7c0a00","hex_latitude":"05db73d8","is_valid_coordinates":true} 
[2026-10-05 21:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551532800001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885551527395328,"note":"Value kept but may cause issues"} 
[2026-10-05 21:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534223161694208,"note":"Value kept but may cause issues"} 
[2026-10-05 21:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791216930000,"timestamp_ms":1791216930000,"timestamp_seconds":1791216930,"priority":1,"record_length":96,"hex_timestamp":"000001a10cd94cd0"} 
[2026-10-05 21:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-05 21:45: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-10-05 21:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":204971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":204971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":204971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:45:35] 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-10-05 21:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551532800001,"66":12232,"185":206,"85":15104,"24":8,"16":139885551527395328,"45":8937534223161694208},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 21:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551532800001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:45:35] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 21:45:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885551527395328,"km_value":139885551527395.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937534223161694208,"description":"Unknown IO ID 45"} 
[2026-10-05 21:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551532800001,"power":12232,"unknown_185":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8937534223161694208}} 
[2026-10-05 21:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":204971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970165,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:45:35] local.INFO: GPS data processed {"connection_id":204971,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:45:35] local.INFO: Acknowledgment sent {"connection_id":204971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:45:37] local.INFO: TCP Data received {"connection_id":204971,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10cd950b8012d7c0ac005db73900006007619..."} 
[2026-10-05 21:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cd950b8012d7c0ac005db73900006007619..."} 
[2026-10-05 21:45:37] local.INFO: Processing buffer {"connection_id":204971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cd950b8012d7c0ac005db73900006007619..."} 
[2026-10-05 21:45:37] local.INFO: Packet analysis {"connection_id":204971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cd9"} 
[2026-10-05 21:45:37] local.INFO: Extracted packet for processing {"connection_id":204971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cd9"} 
[2026-10-05 21:45:37] local.INFO: GPS Element Parsed {"raw_longitude":763103936,"raw_latitude":98268048,"longitude_deg":76.3103936,"latitude_deg":9.8268048,"altitude":6,"angle":118,"satellites":25,"speed":8,"hex_longitude":"2d7c0ac0","hex_latitude":"05db7390","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551534080001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885564412297216,"note":"Value kept but may cause issues"} 
[2026-10-05 21:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937956435626809344,"note":"Value kept but may cause issues"} 
[2026-10-05 21:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791216931000,"timestamp_ms":1791216931000,"timestamp_seconds":1791216931,"priority":1,"record_length":96,"hex_timestamp":"000001a10cd950b8"} 
[2026-10-05 21:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:45:37] 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-10-05 21: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-05 21:45:37] 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-10-05 21: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-10-05 21:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:45:37] 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-10-05 21:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551534080001,"66":12461,"185":206,"85":15104,"24":8,"16":139885564412297216,"45":8937956435626809344},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 21:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551534080001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:45:37] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 21:45:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885564412297216,"km_value":139885564412297.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937956435626809344,"description":"Unknown IO ID 45"} 
[2026-10-05 21:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551534080001,"power":12461,"unknown_185":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8937956435626809344}} 
[2026-10-05 21:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":204971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:45:37] local.INFO: GPS data processed {"connection_id":204971,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:45:37] local.INFO: Acknowledgment sent {"connection_id":204971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:45:44] local.INFO: TCP Data received {"connection_id":205094,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cd8c800012d196600071feee80039015427..."} 
[2026-10-05 21:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cd8c800012d196600071feee80039015427..."} 
[2026-10-05 21:45:44] local.INFO: Processing buffer {"connection_id":205094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cd8c800012d196600071feee80039015427..."} 
[2026-10-05 21:45:44] local.INFO: Packet analysis {"connection_id":205094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cd8"} 
[2026-10-05 21:45:44] local.INFO: Extracted packet for processing {"connection_id":205094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cd8"} 
[2026-10-05 21:45:44] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551448320001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791216896000,"timestamp_ms":1791216896000,"timestamp_seconds":1791216896,"priority":1,"record_length":96,"hex_timestamp":"000001a10cd8c800"} 
[2026-10-05 21:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 21:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":205094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":205094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":205094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551448320001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551448320001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:45:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:45:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551448320001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":205094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:45:44] local.INFO: GPS data processed {"connection_id":205094,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:45:44] local.INFO: Acknowledgment sent {"connection_id":205094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:46:08] local.INFO: TCP Data received {"connection_id":204971,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10cd954a0012d7c0b4005db72c80006009219..."} 
[2026-10-05 21:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cd954a0012d7c0b4005db72c80006009219..."} 
[2026-10-05 21:46:08] local.INFO: Processing buffer {"connection_id":204971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cd954a0012d7c0b4005db72c80006009219..."} 
[2026-10-05 21:46:08] local.INFO: Packet analysis {"connection_id":204971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cd9"} 
[2026-10-05 21:46:08] local.INFO: Extracted packet for processing {"connection_id":204971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cd9"} 
[2026-10-05 21:46:08] local.INFO: GPS Element Parsed {"raw_longitude":763104064,"raw_latitude":98267848,"longitude_deg":76.3104064,"latitude_deg":9.8267848,"altitude":6,"angle":146,"satellites":25,"speed":8,"hex_longitude":"2d7c0b40","hex_latitude":"05db72c8","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551534336001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885573002231808,"note":"Value kept but may cause issues"} 
[2026-10-05 21:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938167541859323904,"note":"Value kept but may cause issues"} 
[2026-10-05 21:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791216932000,"timestamp_ms":1791216932000,"timestamp_seconds":1791216932,"priority":1,"record_length":96,"hex_timestamp":"000001a10cd954a0"} 
[2026-10-05 21:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:46: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-10-05 21: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 21:46: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-10-05 21: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-10-05 21:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:46:08] 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-10-05 21:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551534336001,"66":12461,"185":206,"85":15104,"24":8,"16":139885573002231808,"45":8938167541859323904},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 21:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551534336001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:46:08] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 21:46:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885573002231808,"km_value":139885573002231.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938167541859323904,"description":"Unknown IO ID 45"} 
[2026-10-05 21:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551534336001,"power":12461,"unknown_185":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8938167541859323904}} 
[2026-10-05 21:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":204971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:46:08] local.INFO: GPS data processed {"connection_id":204971,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:46:08] local.INFO: Acknowledgment sent {"connection_id":204971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:46:14] local.INFO: TCP Data received {"connection_id":208061,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:46:14] local.INFO: Processing buffer {"connection_id":208061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:46:14] local.INFO: IMEI packet received {"connection_id":208061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":208061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:46:19] local.INFO: TCP Data received {"connection_id":208061,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:46:19] local.INFO: Processing buffer {"connection_id":208061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:46:19] local.INFO: IMEI packet received {"connection_id":208061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":208061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:46:21] local.INFO: TCP Data received {"connection_id":208061,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10ccdf290012d77aac005f272380012016221..."} 
[2026-10-05 21:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ccdf290012d77aac005f272380012016221..."} 
[2026-10-05 21:46:21] local.INFO: Processing buffer {"connection_id":208061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ccdf290012d77aac005f272380012016221..."} 
[2026-10-05 21:46:21] local.INFO: Packet analysis {"connection_id":208061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ccd"} 
[2026-10-05 21:46:21] local.INFO: Extracted packet for processing {"connection_id":208061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ccd"} 
[2026-10-05 21:46:21] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":18,"angle":354,"satellites":33,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 21:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551266560001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 21:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 21:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791216186000,"timestamp_ms":1791216186000,"timestamp_seconds":1791216186,"priority":1,"record_length":96,"hex_timestamp":"000001a10ccdf290"} 
[2026-10-05 21:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 21:46:21] 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-10-05 21:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":208061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":208061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":208061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 21:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 21:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551266560001,"66":26006,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 21:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 21:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 21:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551266560001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:46:21] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:46:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 21:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 21:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551266560001,"power":26006,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 21:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":208061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:46:21] local.INFO: GPS data processed {"connection_id":208061,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:46:21] local.INFO: Acknowledgment sent {"connection_id":208061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:46:25] local.INFO: TCP Data received {"connection_id":208061,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10cd28a58012d77aac005f272380012016223..."} 
[2026-10-05 21:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cd28a58012d77aac005f272380012016223..."} 
[2026-10-05 21:46:25] local.INFO: Processing buffer {"connection_id":208061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cd28a58012d77aac005f272380012016223..."} 
[2026-10-05 21:46:25] local.INFO: Packet analysis {"connection_id":208061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cd2"} 
[2026-10-05 21:46:25] local.INFO: Extracted packet for processing {"connection_id":208061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cd2"} 
[2026-10-05 21:46:25] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":18,"angle":354,"satellites":35,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 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-10-05 21:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551343616001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 21:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 21:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1791216487000,"timestamp_ms":1791216487000,"timestamp_seconds":1791216487,"priority":1,"record_length":96,"hex_timestamp":"000001a10cd28a58"} 
[2026-10-05 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-10-05 21:46: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-10-05 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":150,"data_length":795,"current_offset":136} 
[2026-10-05 21:46: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-10-05 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-10-05 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-10-05 21:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":208061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":208061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":208061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 21:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 21:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551343616001,"66":25995,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 21:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 21:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 21:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551343616001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:46:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:46:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 21:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 21:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551343616001,"power":25995,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 21:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":208061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:46:25] local.INFO: GPS data processed {"connection_id":208061,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:46:25] local.INFO: Acknowledgment sent {"connection_id":208061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:46:30] local.INFO: TCP Data received {"connection_id":205095,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:46:30] local.INFO: Processing buffer {"connection_id":205095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:46:30] local.INFO: IMEI packet received {"connection_id":205095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":205095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:46:35] local.INFO: TCP Data received {"connection_id":205095,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:46:35] local.INFO: Processing buffer {"connection_id":205095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:46:35] local.INFO: IMEI packet received {"connection_id":205095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":205095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:46:36] local.INFO: TCP Data received {"connection_id":205095,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10cd95888012d7c0bc005db71e0000600a718..."} 
[2026-10-05 21:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cd95888012d7c0bc005db71e0000600a718..."} 
[2026-10-05 21:46:36] local.INFO: Processing buffer {"connection_id":205095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cd95888012d7c0bc005db71e0000600a718..."} 
[2026-10-05 21:46:36] local.INFO: Packet analysis {"connection_id":205095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cd9"} 
[2026-10-05 21:46:36] local.INFO: Extracted packet for processing {"connection_id":205095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cd9"} 
[2026-10-05 21:46:36] local.INFO: GPS Element Parsed {"raw_longitude":763104192,"raw_latitude":98267616,"longitude_deg":76.3104192,"latitude_deg":9.8267616,"altitude":6,"angle":167,"satellites":24,"speed":9,"hex_longitude":"2d7c0bc0","hex_latitude":"05db71e0","is_valid_coordinates":true} 
[2026-10-05 21:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551534592001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139885585887133696,"note":"Value kept but may cause issues"} 
[2026-10-05 21:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938308279347628032,"note":"Value kept but may cause issues"} 
[2026-10-05 21:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791216933000,"timestamp_ms":1791216933000,"timestamp_seconds":1791216933,"priority":1,"record_length":96,"hex_timestamp":"000001a10cd95888"} 
[2026-10-05 21:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 21:46:36] 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-10-05 21:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:46:36] 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-10-05 21:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551534592001,"66":12645,"185":206,"85":15104,"24":9,"16":139885585887133696,"45":8938308279347628032},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 21:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551534592001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:46:36] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 21:46:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139885585887133696,"km_value":139885585887133.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938308279347628032,"description":"Unknown IO ID 45"} 
[2026-10-05 21:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551534592001,"power":12645,"unknown_185":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8938308279347628032}} 
[2026-10-05 21:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":205095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970171,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:46:36] local.INFO: GPS data processed {"connection_id":205095,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:46:36] local.INFO: Acknowledgment sent {"connection_id":205095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:46:59] local.INFO: TCP Data received {"connection_id":204974,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:46:59] local.INFO: Processing buffer {"connection_id":204974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:46:59] local.INFO: IMEI packet received {"connection_id":204974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":204974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:47:07] local.INFO: TCP Data received {"connection_id":205095,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10cd99320012d7c12c005db4fd0000800a41a..."} 
[2026-10-05 21:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cd99320012d7c12c005db4fd0000800a41a..."} 
[2026-10-05 21:47:07] local.INFO: Processing buffer {"connection_id":205095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cd99320012d7c12c005db4fd0000800a41a..."} 
[2026-10-05 21:47:07] local.INFO: Packet analysis {"connection_id":205095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cd9"} 
[2026-10-05 21:47:07] local.INFO: Extracted packet for processing {"connection_id":205095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cd9"} 
[2026-10-05 21:47:07] local.INFO: GPS Element Parsed {"raw_longitude":763105984,"raw_latitude":98258896,"longitude_deg":76.3105984,"latitude_deg":9.8258896,"altitude":8,"angle":164,"satellites":26,"speed":29,"hex_longitude":"2d7c12c0","hex_latitude":"05db4fd0","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551534848001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139886019678830592,"note":"Value kept but may cause issues"} 
[2026-10-05 21:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938449016835923968,"note":"Value kept but may cause issues"} 
[2026-10-05 21:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791216948000,"timestamp_ms":1791216948000,"timestamp_seconds":1791216948,"priority":1,"record_length":96,"hex_timestamp":"000001a10cd99320"} 
[2026-10-05 21:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:47: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-10-05 21: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 21:47:07] 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-10-05 21: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-10-05 21:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:47:07] 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-10-05 21:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551534848001,"66":12798,"185":206,"85":15104,"24":29,"16":139886019678830592,"45":8938449016835923968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 21:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551534848001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:47:07] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 21:47:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139886019678830592,"km_value":139886019678830.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938449016835923968,"description":"Unknown IO ID 45"} 
[2026-10-05 21:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551534848001,"power":12798,"unknown_185":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8938449016835923968}} 
[2026-10-05 21:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":205095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:47:07] local.INFO: GPS data processed {"connection_id":205095,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:47:07] local.INFO: Acknowledgment sent {"connection_id":205095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:47:30] local.INFO: TCP Data received {"connection_id":204976,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:47:30] local.INFO: Processing buffer {"connection_id":204976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:47:30] local.INFO: IMEI packet received {"connection_id":204976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":204976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:47:30] local.INFO: TCP Data received {"connection_id":204976,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:47:30] local.INFO: Processing buffer {"connection_id":204976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:47:30] local.INFO: IMEI packet received {"connection_id":204976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":204976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:47:33] local.INFO: TCP Data received {"connection_id":204974,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:47:33] local.INFO: Processing buffer {"connection_id":204974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:47:33] local.INFO: IMEI packet received {"connection_id":204974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":204974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:47:35] local.INFO: TCP Data received {"connection_id":204976,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:47:35] local.INFO: Processing buffer {"connection_id":204976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:47:35] local.INFO: IMEI packet received {"connection_id":204976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":204976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:47:36] local.INFO: TCP Data received {"connection_id":204974,"ip":"42.106.6.55","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 21:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204974,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 21:47:36] local.INFO: Processing buffer {"connection_id":204974,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 21:47:36] local.INFO: IMEI packet received {"connection_id":204974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":204974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:47:36] local.INFO: TCP Data received {"connection_id":204976,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10cd9ba30012d7c18c005db3428000900af17..."} 
[2026-10-05 21:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cd9ba30012d7c18c005db3428000900af17..."} 
[2026-10-05 21:47:36] local.INFO: Processing buffer {"connection_id":204976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cd9ba30012d7c18c005db3428000900af17..."} 
[2026-10-05 21:47:36] local.INFO: Packet analysis {"connection_id":204976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cd9"} 
[2026-10-05 21:47:36] local.INFO: Extracted packet for processing {"connection_id":204976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cd9"} 
[2026-10-05 21:47:36] local.INFO: GPS Element Parsed {"raw_longitude":763107520,"raw_latitude":98251816,"longitude_deg":76.310752,"latitude_deg":9.8251816,"altitude":9,"angle":175,"satellites":23,"speed":25,"hex_longitude":"2d7c18c0","hex_latitude":"05db3428","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551538688001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139886376161116160,"note":"Value kept but may cause issues"} 
[2026-10-05 21:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940419341670666240,"note":"Value kept but may cause issues"} 
[2026-10-05 21:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791216958000,"timestamp_ms":1791216958000,"timestamp_seconds":1791216958,"priority":1,"record_length":96,"hex_timestamp":"000001a10cd9ba30"} 
[2026-10-05 21:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 21:47:36] 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-10-05 21: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-10-05 21:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:47:36] 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-10-05 21:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551538688001,"66":12939,"185":206,"85":15104,"24":25,"16":139886376161116160,"45":8940419341670666240},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 21:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551538688001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:47:36] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 21:47:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139886376161116160,"km_value":139886376161116.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940419341670666240,"description":"Unknown IO ID 45"} 
[2026-10-05 21:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551538688001,"power":12939,"unknown_185":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8940419341670666240}} 
[2026-10-05 21:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":204976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:47:36] local.INFO: GPS data processed {"connection_id":204976,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:47:36] local.INFO: Acknowledgment sent {"connection_id":204976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:48:08] local.INFO: TCP Data received {"connection_id":204976,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10cd9d588012d7c1ac005db26a0000a009f1c..."} 
[2026-10-05 21:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cd9d588012d7c1ac005db26a0000a009f1c..."} 
[2026-10-05 21:48:08] local.INFO: Processing buffer {"connection_id":204976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cd9d588012d7c1ac005db26a0000a009f1c..."} 
[2026-10-05 21:48:08] local.INFO: Packet analysis {"connection_id":204976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cd9"} 
[2026-10-05 21:48:08] local.INFO: Extracted packet for processing {"connection_id":204976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cd9"} 
[2026-10-05 21:48:08] local.INFO: GPS Element Parsed {"raw_longitude":763108032,"raw_latitude":98248352,"longitude_deg":76.3108032,"latitude_deg":9.8248352,"altitude":10,"angle":159,"satellites":28,"speed":14,"hex_longitude":"2d7c1ac0","hex_latitude":"05db26a0","is_valid_coordinates":true} 
[2026-10-05 21:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551541248001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139886543664840704,"note":"Value kept but may cause issues"} 
[2026-10-05 21:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942108191529117696,"note":"Value kept but may cause issues"} 
[2026-10-05 21:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791216965000,"timestamp_ms":1791216965000,"timestamp_seconds":1791216965,"priority":1,"record_length":96,"hex_timestamp":"000001a10cd9d588"} 
[2026-10-05 21:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:48: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-10-05 21:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 21:48: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-10-05 21:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:48:08] 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-10-05 21:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551541248001,"66":12645,"185":206,"85":15104,"24":14,"16":139886543664840704,"45":8942108191529117696},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-10-05 21:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551541248001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:48:08] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-05 21:48:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139886543664840704,"km_value":139886543664840.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942108191529117696,"description":"Unknown IO ID 45"} 
[2026-10-05 21:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551541248001,"power":12645,"unknown_185":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8942108191529117696}} 
[2026-10-05 21:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":204976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970174,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:48:08] local.INFO: GPS data processed {"connection_id":204976,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:48:08] local.INFO: Acknowledgment sent {"connection_id":204976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:48:30] local.INFO: TCP Data received {"connection_id":208062,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:48:30] local.INFO: Processing buffer {"connection_id":208062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:48:30] local.INFO: IMEI packet received {"connection_id":208062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":208062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:48:33] local.INFO: TCP Data received {"connection_id":208062,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:48:33] local.INFO: Processing buffer {"connection_id":208062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:48:33] local.INFO: IMEI packet received {"connection_id":208062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":208062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:48:35] local.INFO: TCP Data received {"connection_id":208062,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:48:35] local.INFO: Processing buffer {"connection_id":208062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:48:35] local.INFO: IMEI packet received {"connection_id":208062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":208062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:48:36] local.INFO: TCP Data received {"connection_id":208062,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10cda2790012d7c1d8005db22680009009c1e..."} 
[2026-10-05 21:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cda2790012d7c1d8005db22680009009c1e..."} 
[2026-10-05 21:48:36] local.INFO: Processing buffer {"connection_id":208062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cda2790012d7c1d8005db22680009009c1e..."} 
[2026-10-05 21:48:36] local.INFO: Packet analysis {"connection_id":208062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cda"} 
[2026-10-05 21:48:36] local.INFO: Extracted packet for processing {"connection_id":208062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cda"} 
[2026-10-05 21:48:36] local.INFO: GPS Element Parsed {"raw_longitude":763108736,"raw_latitude":98247272,"longitude_deg":76.3108736,"latitude_deg":9.8247272,"altitude":9,"angle":156,"satellites":30,"speed":0,"hex_longitude":"2d7c1d80","hex_latitude":"05db2268","is_valid_coordinates":true} 
[2026-10-05 21:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551543040001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139886608089350144,"note":"Value kept but may cause issues"} 
[2026-10-05 21:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942671141481652224,"note":"Value kept but may cause issues"} 
[2026-10-05 21:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791216986000,"timestamp_ms":1791216986000,"timestamp_seconds":1791216986,"priority":1,"record_length":96,"hex_timestamp":"000001a10cda2790"} 
[2026-10-05 21:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 21:48:36] 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-10-05 21:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:48:36] 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-10-05 21:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551543040001,"66":13580,"162":206,"85":15104,"24":0,"16":139886608089350144,"45":8942671141481652224},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551543040001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:48:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:48:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139886608089350144,"km_value":139886608089350.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942671141481652224,"description":"Unknown IO ID 45"} 
[2026-10-05 21:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551543040001,"power":13580,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8942671141481652224}} 
[2026-10-05 21:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":208062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:48:36] local.INFO: GPS data processed {"connection_id":208062,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:48:36] local.INFO: Acknowledgment sent {"connection_id":208062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:49:07] local.INFO: TCP Data received {"connection_id":208062,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10cda7998012d7c1d8005db22680009009c20..."} 
[2026-10-05 21:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cda7998012d7c1d8005db22680009009c20..."} 
[2026-10-05 21:49:07] local.INFO: Processing buffer {"connection_id":208062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cda7998012d7c1d8005db22680009009c20..."} 
[2026-10-05 21:49:07] local.INFO: Packet analysis {"connection_id":208062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cda"} 
[2026-10-05 21:49:07] local.INFO: Extracted packet for processing {"connection_id":208062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cda"} 
[2026-10-05 21:49:07] local.INFO: GPS Element Parsed {"raw_longitude":763108736,"raw_latitude":98247272,"longitude_deg":76.3108736,"latitude_deg":9.8247272,"altitude":9,"angle":156,"satellites":32,"speed":0,"hex_longitude":"2d7c1d80","hex_latitude":"05db2268","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551548416001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139886608089350144,"note":"Value kept but may cause issues"} 
[2026-10-05 21:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943445197667330048,"note":"Value kept but may cause issues"} 
[2026-10-05 21:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791217007000,"timestamp_ms":1791217007000,"timestamp_seconds":1791217007,"priority":1,"record_length":96,"hex_timestamp":"000001a10cda7998"} 
[2026-10-05 21:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:49: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-10-05 21: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-05 21:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751640825,"note":"Value kept but may cause issues"} 
[2026-10-05 21:49:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 21:49:07] local.WARNING: Large IO value detected {"io_id":249,"raw_value":2550136832,"note":"Value kept but may cause issues"} 
[2026-10-05 21:49:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-1082783657871015936,"note":"Value kept but may cause issues"} 
[2026-10-05 21:49:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 21:49:07] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3646457857,"note":"Value kept but may cause issues"} 
[2026-10-05 21:49:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18630868063838649,"note":"Value kept but may cause issues"} 
[2026-10-05 21:49:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1639514318,"corrected_to":0} 
[2026-10-05 21:49:07] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2684431740,"note":"Value kept but may cause issues"} 
[2026-10-05 21:49:07] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":393362,"corrected_to":0} 
[2026-10-05 21:49:07] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902510945,"note":"Value kept but may cause issues"} 
[2026-10-05 21:49:07] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-05 21:49:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3681783808,"note":"Value kept but may cause issues"} 
[2026-10-05 21:49:07] local.WARNING: Large IO value detected {"io_id":124,"raw_value":720582380478791686,"note":"Value kept but may cause issues"} 
[2026-10-05 21:49:07] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-4034999446524604843,"note":"Value kept but may cause issues"} 
[2026-10-05 21:49:07] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-10-05 21:49:07] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,162,85,24,241,157,16,250,161,213,45,192,38,10,28,66,185,186,52,9,23,249,147,1,240,254,227,12,219,4,113,205,84,11,200,25,239,48,2,5,6,8,124,47,59],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1639514318,"validated":0},{"io_id":200,"original":393362,"validated":0}]} 
[2026-10-05 21:49:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648689999004303360,"timestamp_seconds":648689999004303.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 21:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":208062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":208062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":208062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:49:07] 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-10-05 21:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551548416001,"66":13396,"162":206,"85":15104,"24":0,"16":139886608089350144,"45":8943445197667330048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551548416001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:49:07] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:49:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139886608089350144,"km_value":139886608089350.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943445197667330048,"description":"Unknown IO ID 45"} 
[2026-10-05 21:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551548416001,"power":13396,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8943445197667330048}} 
[2026-10-05 21:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":208062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:49:08] local.INFO: GPS data processed {"connection_id":208062,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:49:08] local.INFO: Acknowledgment sent {"connection_id":208062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:49:35] local.INFO: TCP Data received {"connection_id":206479,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:49:35] local.INFO: Processing buffer {"connection_id":206479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:49:35] local.INFO: IMEI packet received {"connection_id":206479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":206479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:49:36] local.INFO: TCP Data received {"connection_id":206479,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:49:36] local.INFO: Processing buffer {"connection_id":206479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:49:36] local.INFO: IMEI packet received {"connection_id":206479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":206479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:49:37] local.INFO: TCP Data received {"connection_id":206479,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10cdacba0012d7c1d8005db22680009009c1f..."} 
[2026-10-05 21:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cdacba0012d7c1d8005db22680009009c1f..."} 
[2026-10-05 21:49:37] local.INFO: Processing buffer {"connection_id":206479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cdacba0012d7c1d8005db22680009009c1f..."} 
[2026-10-05 21:49:37] local.INFO: Packet analysis {"connection_id":206479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cda"} 
[2026-10-05 21:49:37] local.INFO: Extracted packet for processing {"connection_id":206479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cda"} 
[2026-10-05 21:49:37] local.INFO: GPS Element Parsed {"raw_longitude":763108736,"raw_latitude":98247272,"longitude_deg":76.3108736,"latitude_deg":9.8247272,"altitude":9,"angle":156,"satellites":31,"speed":0,"hex_longitude":"2d7c1d80","hex_latitude":"05db2268","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551553792001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139886608089350144,"note":"Value kept but may cause issues"} 
[2026-10-05 21:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943445197667330048,"note":"Value kept but may cause issues"} 
[2026-10-05 21:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791217028000,"timestamp_ms":1791217028000,"timestamp_seconds":1791217028,"priority":1,"record_length":96,"hex_timestamp":"000001a10cdacba0"} 
[2026-10-05 21:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:49:37] 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-10-05 21: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-05 21:49:37] 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-10-05 21: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-10-05 21:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":206479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":206479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":206479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:49:37] 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-10-05 21:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551553792001,"66":13613,"162":206,"85":15104,"24":0,"16":139886608089350144,"45":8943445197667330048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551553792001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:49:37] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:49:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139886608089350144,"km_value":139886608089350.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943445197667330048,"description":"Unknown IO ID 45"} 
[2026-10-05 21:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551553792001,"power":13613,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8943445197667330048}} 
[2026-10-05 21:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":206479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970177,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:49:37] local.INFO: GPS data processed {"connection_id":206479,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:49:37] local.INFO: Acknowledgment sent {"connection_id":206479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:49:40] local.INFO: TCP Data received {"connection_id":206479,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10cdb1da8012d7c1d8005db22680009009c1d..."} 
[2026-10-05 21:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cdb1da8012d7c1d8005db22680009009c1d..."} 
[2026-10-05 21:49:40] local.INFO: Processing buffer {"connection_id":206479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cdb1da8012d7c1d8005db22680009009c1d..."} 
[2026-10-05 21:49:40] local.INFO: Packet analysis {"connection_id":206479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cdb"} 
[2026-10-05 21:49:40] local.INFO: Extracted packet for processing {"connection_id":206479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cdb"} 
[2026-10-05 21:49:40] local.INFO: GPS Element Parsed {"raw_longitude":763108736,"raw_latitude":98247272,"longitude_deg":76.3108736,"latitude_deg":9.8247272,"altitude":9,"angle":156,"satellites":29,"speed":0,"hex_longitude":"2d7c1d80","hex_latitude":"05db2268","is_valid_coordinates":true} 
[2026-10-05 21:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551559168001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139886608089350144,"note":"Value kept but may cause issues"} 
[2026-10-05 21:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943445197667330048,"note":"Value kept but may cause issues"} 
[2026-10-05 21:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791217049000,"timestamp_ms":1791217049000,"timestamp_seconds":1791217049,"priority":1,"record_length":96,"hex_timestamp":"000001a10cdb1da8"} 
[2026-10-05 21:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:49:40] 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-10-05 21:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-10-05 21:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":206479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":206479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":206479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:49:40] 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-10-05 21:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551559168001,"66":13830,"162":206,"85":15104,"24":0,"16":139886608089350144,"45":8943445197667330048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551559168001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:49:40] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:49:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139886608089350144,"km_value":139886608089350.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943445197667330048,"description":"Unknown IO ID 45"} 
[2026-10-05 21:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551559168001,"power":13830,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8943445197667330048}} 
[2026-10-05 21:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":206479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:49:40] local.INFO: GPS data processed {"connection_id":206479,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:49:40] local.INFO: Acknowledgment sent {"connection_id":206479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:50:11] local.INFO: TCP Data received {"connection_id":206479,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10cdb6fb0012d7c1d8005db22680009009c1d..."} 
[2026-10-05 21:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cdb6fb0012d7c1d8005db22680009009c1d..."} 
[2026-10-05 21:50:11] local.INFO: Processing buffer {"connection_id":206479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cdb6fb0012d7c1d8005db22680009009c1d..."} 
[2026-10-05 21:50:11] local.INFO: Packet analysis {"connection_id":206479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cdb"} 
[2026-10-05 21:50:11] local.INFO: Extracted packet for processing {"connection_id":206479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cdb"} 
[2026-10-05 21:50:11] local.INFO: GPS Element Parsed {"raw_longitude":763108736,"raw_latitude":98247272,"longitude_deg":76.3108736,"latitude_deg":9.8247272,"altitude":9,"angle":156,"satellites":29,"speed":0,"hex_longitude":"2d7c1d80","hex_latitude":"05db2268","is_valid_coordinates":true} 
[2026-10-05 21:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551564544001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139886608089350144,"note":"Value kept but may cause issues"} 
[2026-10-05 21:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943445197667330048,"note":"Value kept but may cause issues"} 
[2026-10-05 21:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791217070000,"timestamp_ms":1791217070000,"timestamp_seconds":1791217070,"priority":1,"record_length":96,"hex_timestamp":"000001a10cdb6fb0"} 
[2026-10-05 21:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:50: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-10-05 21:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 21:50:11] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8162782930337792,"note":"Value kept but may cause issues"} 
[2026-10-05 21:50:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626576009216,"note":"Value kept but may cause issues"} 
[2026-10-05 21:50:11] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":40961,"corrected_to":0} 
[2026-10-05 21:50:11] local.WARNING: Large IO value detected {"io_id":240,"raw_value":4192927744,"note":"Value kept but may cause issues"} 
[2026-10-05 21:50:11] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3654649857,"note":"Value kept but may cause issues"} 
[2026-10-05 21:50:11] local.WARNING: Large IO value detected {"io_id":113,"raw_value":-2305836409340559351,"note":"Value kept but may cause issues"} 
[2026-10-05 21:50:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1639514318,"corrected_to":0} 
[2026-10-05 21:50:11] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085601,"note":"Value kept but may cause issues"} 
[2026-10-05 21:50:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3679440896,"note":"Value kept but may cause issues"} 
[2026-10-05 21:50:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":-8646579798778313253,"note":"Value kept but may cause issues"} 
[2026-10-05 21:50:11] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,162,85,24,241,157,16,250,161,203,45,128,34,9,31,10,66,121,32,39,1,240,12,227,219,4,113,205,14,186,40,23,239,50,185,2,5,8,29,88],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":203,"original":40961,"validated":0},{"io_id":205,"original":1639514318,"validated":0}]} 
[2026-10-05 21:50:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648689994709336064,"timestamp_seconds":648689994709336.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 21:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551564544001,"66":13765,"162":206,"85":15104,"24":0,"16":139886608089350144,"45":8943445197667330048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-05 21:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551564544001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:50:11] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-05 21:50:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139886608089350144,"km_value":139886608089350.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943445197667330048,"description":"Unknown IO ID 45"} 
[2026-10-05 21:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551564544001,"power":13765,"unknown_162":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8943445197667330048}} 
[2026-10-05 21:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":206479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:50:12] local.INFO: GPS data processed {"connection_id":206479,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:50:12] local.INFO: Acknowledgment sent {"connection_id":206479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:50:27] local.INFO: TCP Data received {"connection_id":204979,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:50:27] local.INFO: Processing buffer {"connection_id":204979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:50:27] local.INFO: IMEI packet received {"connection_id":204979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":204979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:50:30] local.INFO: TCP Data received {"connection_id":204979,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:50:30] local.INFO: Processing buffer {"connection_id":204979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:50:30] local.INFO: IMEI packet received {"connection_id":204979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":204979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:50:35] local.INFO: TCP Data received {"connection_id":204979,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:50:35] local.INFO: Processing buffer {"connection_id":204979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:50:35] local.INFO: IMEI packet received {"connection_id":204979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":204979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:50:36] local.INFO: TCP Data received {"connection_id":204979,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10cdd86d8012d7c694005da2440001600ab14..."} 
[2026-10-05 21:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cdd86d8012d7c694005da2440001600ab14..."} 
[2026-10-05 21:50:36] local.INFO: Processing buffer {"connection_id":204979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cdd86d8012d7c694005da2440001600ab14..."} 
[2026-10-05 21:50:36] local.INFO: Packet analysis {"connection_id":204979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cdd"} 
[2026-10-05 21:50:36] local.INFO: Extracted packet for processing {"connection_id":204979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cdd"} 
[2026-10-05 21:50:36] local.INFO: GPS Element Parsed {"raw_longitude":763128128,"raw_latitude":98182208,"longitude_deg":76.3128128,"latitude_deg":9.8182208,"altitude":22,"angle":171,"satellites":20,"speed":37,"hex_longitude":"2d7c6940","hex_latitude":"05da2440","is_valid_coordinates":true} 
[2026-10-05 21:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551602688001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139889910919200768,"note":"Value kept but may cause issues"} 
[2026-10-05 21:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962163283604154368,"note":"Value kept but may cause issues"} 
[2026-10-05 21:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791217207000,"timestamp_ms":1791217207000,"timestamp_seconds":1791217207,"priority":1,"record_length":96,"hex_timestamp":"000001a10cdd86d8"} 
[2026-10-05 21:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 21:50:36] 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-10-05 21:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:50:36] 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-10-05 21:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551602688001,"66":13048,"161":206,"85":15104,"24":37,"16":139889910919200768,"45":8962163283604154368},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 21:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551602688001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:50:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 21:50:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139889910919200768,"km_value":139889910919200.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962163283604154368,"description":"Unknown IO ID 45"} 
[2026-10-05 21:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551602688001,"power":13048,"unknown_161":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8962163283604154368}} 
[2026-10-05 21:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":204979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:50:36] local.INFO: GPS data processed {"connection_id":204979,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:50:36] local.INFO: Acknowledgment sent {"connection_id":204979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:50:58] local.INFO: TCP Data received {"connection_id":204980,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:50:58] local.INFO: Processing buffer {"connection_id":204980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:50:58] local.INFO: IMEI packet received {"connection_id":204980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 21:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":204980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:51:07] local.INFO: TCP Data received {"connection_id":204979,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10cddade8012d7c714005d9ff28001600a412..."} 
[2026-10-05 21:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cddade8012d7c714005d9ff28001600a412..."} 
[2026-10-05 21:51:07] local.INFO: Processing buffer {"connection_id":204979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cddade8012d7c714005d9ff28001600a412..."} 
[2026-10-05 21:51:07] local.INFO: Packet analysis {"connection_id":204979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cdd"} 
[2026-10-05 21:51:07] local.INFO: Extracted packet for processing {"connection_id":204979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cdd"} 
[2026-10-05 21:51:07] local.INFO: GPS Element Parsed {"raw_longitude":763130176,"raw_latitude":98172712,"longitude_deg":76.3130176,"latitude_deg":9.8172712,"altitude":22,"angle":164,"satellites":18,"speed":40,"hex_longitude":"2d7c7140","hex_latitude":"05d9ff28","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551604992001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139890383365603328,"note":"Value kept but may cause issues"} 
[2026-10-05 21:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8964766927136505856,"note":"Value kept but may cause issues"} 
[2026-10-05 21:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791217217000,"timestamp_ms":1791217217000,"timestamp_seconds":1791217217,"priority":1,"record_length":96,"hex_timestamp":"000001a10cddade8"} 
[2026-10-05 21:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:51: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-10-05 21: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-10-05 21:51: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-10-05 21: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-10-05 21:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":204979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":204979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":204979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:51:07] 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-10-05 21:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551604992001,"66":12982,"161":206,"85":15104,"24":40,"16":139890383365603328,"45":8964766927136505856},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 21:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551604992001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:51:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 21:51:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139890383365603328,"km_value":139890383365603.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8964766927136505856,"description":"Unknown IO ID 45"} 
[2026-10-05 21:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551604992001,"power":12982,"unknown_161":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8964766927136505856}} 
[2026-10-05 21:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":204979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:51:07] local.INFO: GPS data processed {"connection_id":204979,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:51:07] local.INFO: Acknowledgment sent {"connection_id":204979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:51:30] local.INFO: TCP Data received {"connection_id":206482,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:51:30] local.INFO: Processing buffer {"connection_id":206482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:51:30] local.INFO: IMEI packet received {"connection_id":206482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":206482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:51:33] local.INFO: TCP Data received {"connection_id":208064,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208064,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:51:33] local.INFO: Processing buffer {"connection_id":208064,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:51:33] local.INFO: IMEI packet received {"connection_id":208064,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 21:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":208064,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:51:35] local.INFO: TCP Data received {"connection_id":206482,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:51:35] local.INFO: Processing buffer {"connection_id":206482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:51:35] local.INFO: IMEI packet received {"connection_id":206482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":206482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:51:36] local.INFO: TCP Data received {"connection_id":206482,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10cddd110012d7c77c005d9d9c0001500ab11..."} 
[2026-10-05 21:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cddd110012d7c77c005d9d9c0001500ab11..."} 
[2026-10-05 21:51:36] local.INFO: Processing buffer {"connection_id":206482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cddd110012d7c77c005d9d9c0001500ab11..."} 
[2026-10-05 21:51:36] local.INFO: Packet analysis {"connection_id":206482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cdd"} 
[2026-10-05 21:51:36] local.INFO: Extracted packet for processing {"connection_id":206482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cdd"} 
[2026-10-05 21:51:36] local.INFO: GPS Element Parsed {"raw_longitude":763131840,"raw_latitude":98163136,"longitude_deg":76.313184,"latitude_deg":9.8163136,"altitude":21,"angle":171,"satellites":17,"speed":44,"hex_longitude":"2d7c77c0","hex_latitude":"05d9d9c0","is_valid_coordinates":true} 
[2026-10-05 21:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551607552001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139890851517038592,"note":"Value kept but may cause issues"} 
[2026-10-05 21:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8967018726947760128,"note":"Value kept but may cause issues"} 
[2026-10-05 21:51:36] 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-10-05 21:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791217226000,"timestamp_ms":1791217226000,"timestamp_seconds":1791217226,"priority":1,"record_length":96,"hex_timestamp":"000001a10cddd110"} 
[2026-10-05 21:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-05 21:51:36] 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-10-05 21:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:51:36] 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-10-05 21:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551607552001,"66":12765,"245":206,"85":15104,"24":44,"16":139890851517038592,"45":8967018726947760128},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-10-05 21:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551607552001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:51:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139890851517038592,"km_value":139890851517038.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8967018726947760128,"description":"Unknown IO ID 45"} 
[2026-10-05 21:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551607552001,"power":12765,"geofence_id":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8967018726947760128}} 
[2026-10-05 21:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":206482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970182,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:51:36] local.INFO: GPS data processed {"connection_id":206482,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:51:36] local.INFO: Acknowledgment sent {"connection_id":206482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:51:39] local.INFO: TCP Data received {"connection_id":205097,"ip":"85.217.149.19","data_length":8,"data_hex":"3030303030303030..."} 
[2026-10-05 21:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205097,"packet_length":8,"packet_hex":"3030303030303030..."} 
[2026-10-05 21:51:39] local.INFO: Processing buffer {"connection_id":205097,"buffer_length":8,"buffer_hex":"3030303030303030..."} 
[2026-10-05 21:51:44] local.INFO: TCP Data received {"connection_id":205096,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:51:44] local.INFO: Processing buffer {"connection_id":205096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:51:44] local.INFO: IMEI packet received {"connection_id":205096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":205096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:52:07] local.INFO: TCP Data received {"connection_id":206482,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10cdf3488012d7c3cc005d989a0000500fa24..."} 
[2026-10-05 21:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cdf3488012d7c3cc005d989a0000500fa24..."} 
[2026-10-05 21:52:07] local.INFO: Processing buffer {"connection_id":206482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cdf3488012d7c3cc005d989a0000500fa24..."} 
[2026-10-05 21:52:07] local.INFO: Packet analysis {"connection_id":206482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cdf"} 
[2026-10-05 21:52:07] local.INFO: Extracted packet for processing {"connection_id":206482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cdf"} 
[2026-10-05 21:52:07] local.INFO: GPS Element Parsed {"raw_longitude":763116736,"raw_latitude":98142624,"longitude_deg":76.3116736,"latitude_deg":9.8142624,"altitude":5,"angle":250,"satellites":36,"speed":17,"hex_longitude":"2d7c3cc0","hex_latitude":"05d989a0","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551628544001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139893325418201088,"note":"Value kept but may cause issues"} 
[2026-10-05 21:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962163283592404992,"note":"Value kept but may cause issues"} 
[2026-10-05 21:52:07] 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-10-05 21:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791217317000,"timestamp_ms":1791217317000,"timestamp_seconds":1791217317,"priority":1,"record_length":96,"hex_timestamp":"000001a10cdf3488"} 
[2026-10-05 21:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:52: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-10-05 21: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 21:52: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-10-05 21: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-10-05 21:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":206482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":206482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":206482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:52:07] 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-10-05 21:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551628544001,"66":12885,"245":206,"85":15104,"24":17,"16":139893325418201088,"45":8962163283592404992},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-10-05 21:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551628544001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:52:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139893325418201088,"km_value":139893325418201.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962163283592404992,"description":"Unknown IO ID 45"} 
[2026-10-05 21:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551628544001,"power":12885,"geofence_id":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8962163283592404992}} 
[2026-10-05 21:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":206482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:52:07] local.INFO: GPS data processed {"connection_id":206482,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:52:07] local.INFO: Acknowledgment sent {"connection_id":206482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:52:09] local.INFO: TCP Data received {"connection_id":205098,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:52:09] local.INFO: Processing buffer {"connection_id":205098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:52:09] local.INFO: IMEI packet received {"connection_id":205098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":205098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:52:19] local.INFO: TCP Data received {"connection_id":205098,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:52:19] local.INFO: Processing buffer {"connection_id":205098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:52:19] local.INFO: IMEI packet received {"connection_id":205098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":205098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:52:22] local.INFO: TCP Data received {"connection_id":205098,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cdd5fc8012d196600071feee80039015425..."} 
[2026-10-05 21:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cdd5fc8012d196600071feee80039015425..."} 
[2026-10-05 21:52:22] local.INFO: Processing buffer {"connection_id":205098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cdd5fc8012d196600071feee80039015425..."} 
[2026-10-05 21:52:22] local.INFO: Packet analysis {"connection_id":205098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cdd"} 
[2026-10-05 21:52:22] local.INFO: Extracted packet for processing {"connection_id":205098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cdd"} 
[2026-10-05 21:52:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551525376001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791217197000,"timestamp_ms":1791217197000,"timestamp_seconds":1791217197,"priority":1,"record_length":96,"hex_timestamp":"000001a10cdd5fc8"} 
[2026-10-05 21:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:52:22] 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-10-05 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21: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-10-05 21:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":205098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":205098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":205098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551525376001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551525376001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:52:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:52:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551525376001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":205098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:52:22] local.INFO: GPS data processed {"connection_id":205098,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:52:22] local.INFO: Acknowledgment sent {"connection_id":205098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:52:30] local.INFO: TCP Data received {"connection_id":206483,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206483,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:52:30] local.INFO: Processing buffer {"connection_id":206483,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:52:30] local.INFO: IMEI packet received {"connection_id":206483,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":206483,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:52:33] local.INFO: TCP Data received {"connection_id":205099,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:52:33] local.INFO: Processing buffer {"connection_id":205099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:52:33] local.INFO: IMEI packet received {"connection_id":205099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":205099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:52:35] local.INFO: TCP Data received {"connection_id":206483,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206483,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:52:35] local.INFO: Processing buffer {"connection_id":206483,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:52:35] local.INFO: IMEI packet received {"connection_id":206483,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":206483,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:52:36] local.INFO: TCP Data received {"connection_id":206483,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10cdf4fe0012d7c330005d986800005010f23..."} 
[2026-10-05 21:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cdf4fe0012d7c330005d986800005010f23..."} 
[2026-10-05 21:52:36] local.INFO: Processing buffer {"connection_id":206483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cdf4fe0012d7c330005d986800005010f23..."} 
[2026-10-05 21:52:36] local.INFO: Packet analysis {"connection_id":206483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cdf"} 
[2026-10-05 21:52:36] local.INFO: Extracted packet for processing {"connection_id":206483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cdf"} 
[2026-10-05 21:52:36] local.INFO: GPS Element Parsed {"raw_longitude":763114240,"raw_latitude":98141824,"longitude_deg":76.311424,"latitude_deg":9.8141824,"altitude":5,"angle":271,"satellites":35,"speed":8,"hex_longitude":"2d7c3300","hex_latitude":"05d98680","is_valid_coordinates":true} 
[2026-10-05 21:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551633152001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139893454267219968,"note":"Value kept but may cause issues"} 
[2026-10-05 21:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952241290662748160,"note":"Value kept but may cause issues"} 
[2026-10-05 21:52:36] 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-10-05 21:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791217324000,"timestamp_ms":1791217324000,"timestamp_seconds":1791217324,"priority":1,"record_length":96,"hex_timestamp":"000001a10cdf4fe0"} 
[2026-10-05 21:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 21:52: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-10-05 21:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:52:36] 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-10-05 21:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551633152001,"66":12341,"245":206,"85":15104,"24":8,"16":139893454267219968,"45":8952241290662748160},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-10-05 21:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551633152001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:52:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139893454267219968,"km_value":139893454267219.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952241290662748160,"description":"Unknown IO ID 45"} 
[2026-10-05 21:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551633152001,"power":12341,"geofence_id":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8952241290662748160}} 
[2026-10-05 21:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":206483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:52:36] local.INFO: GPS data processed {"connection_id":206483,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:52:36] local.INFO: Acknowledgment sent {"connection_id":206483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:53:04] local.INFO: TCP Data received {"connection_id":208065,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:53:04] local.INFO: Processing buffer {"connection_id":208065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:53:04] local.INFO: IMEI packet received {"connection_id":208065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":208065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:53:07] local.INFO: TCP Data received {"connection_id":206483,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10cdf53c8012d7c320005d986e00005012b23..."} 
[2026-10-05 21:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cdf53c8012d7c320005d986e00005012b23..."} 
[2026-10-05 21:53:07] local.INFO: Processing buffer {"connection_id":206483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cdf53c8012d7c320005d986e00005012b23..."} 
[2026-10-05 21:53:07] local.INFO: Packet analysis {"connection_id":206483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cdf"} 
[2026-10-05 21:53:07] local.INFO: Extracted packet for processing {"connection_id":206483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cdf"} 
[2026-10-05 21:53:07] local.INFO: GPS Element Parsed {"raw_longitude":763113984,"raw_latitude":98141920,"longitude_deg":76.3113984,"latitude_deg":9.814192,"altitude":5,"angle":299,"satellites":35,"speed":8,"hex_longitude":"2d7c3200","hex_latitude":"05d986e0","is_valid_coordinates":true} 
[2026-10-05 21:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551634944001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139893462857154560,"note":"Value kept but may cause issues"} 
[2026-10-05 21:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949496909639614464,"note":"Value kept but may cause issues"} 
[2026-10-05 21:53:07] 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-10-05 21:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791217325000,"timestamp_ms":1791217325000,"timestamp_seconds":1791217325,"priority":1,"record_length":96,"hex_timestamp":"000001a10cdf53c8"} 
[2026-10-05 21:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 21:53: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-10-05 21:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":206483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":206483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":206483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:53:07] 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-10-05 21:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551634944001,"66":12341,"245":206,"85":15104,"24":8,"16":139893462857154560,"45":8949496909639614464},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-10-05 21:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551634944001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:53:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139893462857154560,"km_value":139893462857154.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949496909639614464,"description":"Unknown IO ID 45"} 
[2026-10-05 21:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551634944001,"power":12341,"geofence_id":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8949496909639614464}} 
[2026-10-05 21:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":206483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:53:07] local.INFO: GPS data processed {"connection_id":206483,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:53:07] local.INFO: Acknowledgment sent {"connection_id":206483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:53:09] local.INFO: TCP Data received {"connection_id":208065,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:53:09] local.INFO: Processing buffer {"connection_id":208065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:53:09] local.INFO: IMEI packet received {"connection_id":208065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":208065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:53:11] local.INFO: TCP Data received {"connection_id":208065,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a10cd72220012d77aac005f272380012016223..."} 
[2026-10-05 21:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cd72220012d77aac005f272380012016223..."} 
[2026-10-05 21:53:11] local.INFO: Processing buffer {"connection_id":208065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cd72220012d77aac005f272380012016223..."} 
[2026-10-05 21:53:11] local.INFO: Packet analysis {"connection_id":208065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cd7"} 
[2026-10-05 21:53:11] local.INFO: Extracted packet for processing {"connection_id":208065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cd7"} 
[2026-10-05 21:53:11] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":18,"angle":354,"satellites":35,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 21:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551420672001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 21:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 21:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791216788000,"timestamp_ms":1791216788000,"timestamp_seconds":1791216788,"priority":1,"record_length":96,"hex_timestamp":"000001a10cd72220"} 
[2026-10-05 21:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-05 21:53:11] 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-10-05 21:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":208065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":208065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":208065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 21:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 21:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 21:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551420672001,"66":25973,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 21:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 21:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 21:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551420672001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:53:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 21:53:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 21:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 21:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551420672001,"power":25973,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 21:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":208065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:53:11] local.INFO: GPS data processed {"connection_id":208065,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:53:11] local.INFO: Acknowledgment sent {"connection_id":208065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:53:13] local.INFO: TCP Data received {"connection_id":208066,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:53:13] local.INFO: Processing buffer {"connection_id":208066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:53:13] local.INFO: IMEI packet received {"connection_id":208066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":208066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:53:14] local.INFO: TCP Data received {"connection_id":208066,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:53:14] local.INFO: Processing buffer {"connection_id":208066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:53:14] local.INFO: IMEI packet received {"connection_id":208066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":208066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:53:16] local.INFO: TCP Data received {"connection_id":208066,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cdd5fc8012d196600071feee80039015425..."} 
[2026-10-05 21:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cdd5fc8012d196600071feee80039015425..."} 
[2026-10-05 21:53:16] local.INFO: Processing buffer {"connection_id":208066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cdd5fc8012d196600071feee80039015425..."} 
[2026-10-05 21:53:16] local.INFO: Packet analysis {"connection_id":208066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cdd"} 
[2026-10-05 21:53:16] local.INFO: Extracted packet for processing {"connection_id":208066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cdd"} 
[2026-10-05 21:53:16] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551525376001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791217197000,"timestamp_ms":1791217197000,"timestamp_seconds":1791217197,"priority":1,"record_length":96,"hex_timestamp":"000001a10cdd5fc8"} 
[2026-10-05 21:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:53:16] 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-10-05 21:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":208066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":208066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":208066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551525376001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551525376001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:53:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:53:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551525376001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":208066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:53:16] local.INFO: GPS data processed {"connection_id":208066,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:53:16] local.INFO: Acknowledgment sent {"connection_id":208066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:53:21] local.INFO: TCP Data received {"connection_id":208066,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cdd5fc8012d196600071feee80039015425..."} 
[2026-10-05 21:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cdd5fc8012d196600071feee80039015425..."} 
[2026-10-05 21:53:21] local.INFO: Processing buffer {"connection_id":208066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cdd5fc8012d196600071feee80039015425..."} 
[2026-10-05 21:53:21] local.INFO: Packet analysis {"connection_id":208066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cdd"} 
[2026-10-05 21:53:21] local.INFO: Extracted packet for processing {"connection_id":208066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cdd"} 
[2026-10-05 21:53:21] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:53: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-10-05 21:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551525376001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791217197000,"timestamp_ms":1791217197000,"timestamp_seconds":1791217197,"priority":1,"record_length":96,"hex_timestamp":"000001a10cdd5fc8"} 
[2026-10-05 21:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:53:21] 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-10-05 21:53: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":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:53:21] 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-10-05 21:53: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-10-05 21:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":208066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":208066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":208066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551525376001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551525376001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:53:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:53:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551525376001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":208066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:53:21] local.INFO: GPS data processed {"connection_id":208066,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:53:21] local.INFO: Acknowledgment sent {"connection_id":208066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:53:35] local.INFO: TCP Data received {"connection_id":205100,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:53:35] local.INFO: Processing buffer {"connection_id":205100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:53:35] local.INFO: IMEI packet received {"connection_id":205100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":205100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:53:40] local.INFO: TCP Data received {"connection_id":205100,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:53:40] local.INFO: Processing buffer {"connection_id":205100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:53:40] local.INFO: IMEI packet received {"connection_id":205100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":205100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:53:41] local.INFO: TCP Data received {"connection_id":205100,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10cdf57b0012d7c31c005d987780005014c23..."} 
[2026-10-05 21:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cdf57b0012d7c31c005d987780005014c23..."} 
[2026-10-05 21:53:41] local.INFO: Processing buffer {"connection_id":205100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cdf57b0012d7c31c005d987780005014c23..."} 
[2026-10-05 21:53:41] local.INFO: Packet analysis {"connection_id":205100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cdf"} 
[2026-10-05 21:53:41] local.INFO: Extracted packet for processing {"connection_id":205100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cdf"} 
[2026-10-05 21:53:41] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":98142072,"longitude_deg":76.311392,"latitude_deg":9.8142072,"altitude":5,"angle":332,"satellites":35,"speed":7,"hex_longitude":"2d7c31c0","hex_latitude":"05d98778","is_valid_coordinates":true} 
[2026-10-05 21:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551635200001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139893471447089152,"note":"Value kept but may cause issues"} 
[2026-10-05 21:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949215434662928384,"note":"Value kept but may cause issues"} 
[2026-10-05 21:53:41] 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-10-05 21:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791217326000,"timestamp_ms":1791217326000,"timestamp_seconds":1791217326,"priority":1,"record_length":96,"hex_timestamp":"000001a10cdf57b0"} 
[2026-10-05 21:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:53: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-10-05 21:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 21:53:41] 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-10-05 21:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":205100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":205100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":205100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:53:41] 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-10-05 21:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551635200001,"66":12341,"245":206,"85":15104,"24":7,"16":139893471447089152,"45":8949215434662928384},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-10-05 21:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551635200001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:53:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139893471447089152,"km_value":139893471447089.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949215434662928384,"description":"Unknown IO ID 45"} 
[2026-10-05 21:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551635200001,"power":12341,"geofence_id":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8949215434662928384}} 
[2026-10-05 21:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":205100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970190,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:53:41] local.INFO: GPS data processed {"connection_id":205100,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:53:41] local.INFO: Acknowledgment sent {"connection_id":205100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:54:04] local.INFO: TCP Data received {"connection_id":208067,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:54:04] local.INFO: Processing buffer {"connection_id":208067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:54:04] local.INFO: IMEI packet received {"connection_id":208067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":208067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:54:09] local.INFO: TCP Data received {"connection_id":206484,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:54:09] local.INFO: Processing buffer {"connection_id":206484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:54:09] local.INFO: IMEI packet received {"connection_id":206484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":206484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:54:11] local.INFO: TCP Data received {"connection_id":205100,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10cdf8a78012d7c31c005d986e0000700a024..."} 
[2026-10-05 21:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cdf8a78012d7c31c005d986e0000700a024..."} 
[2026-10-05 21:54:11] local.INFO: Processing buffer {"connection_id":205100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cdf8a78012d7c31c005d986e0000700a024..."} 
[2026-10-05 21:54:11] local.INFO: Packet analysis {"connection_id":205100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cdf"} 
[2026-10-05 21:54:11] local.INFO: Extracted packet for processing {"connection_id":205100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cdf"} 
[2026-10-05 21:54:11] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":98141920,"longitude_deg":76.311392,"latitude_deg":9.814192,"altitude":7,"angle":160,"satellites":36,"speed":2,"hex_longitude":"2d7c31c0","hex_latitude":"05d986e0","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551635456001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139893510101794816,"note":"Value kept but may cause issues"} 
[2026-10-05 21:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145065918789632,"note":"Value kept but may cause issues"} 
[2026-10-05 21:54:11] 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-10-05 21:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791217339000,"timestamp_ms":1791217339000,"timestamp_seconds":1791217339,"priority":1,"record_length":96,"hex_timestamp":"000001a10cdf8a78"} 
[2026-10-05 21:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:54: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-10-05 21: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-05 21:54:11] 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-10-05 21: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-10-05 21:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551635456001,"66":12363,"245":206,"85":15104,"24":2,"16":139893510101794816,"45":8949145065918789632},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-10-05 21:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551635456001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:54:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139893510101794816,"km_value":139893510101794.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145065918789632,"description":"Unknown IO ID 45"} 
[2026-10-05 21:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551635456001,"power":12363,"geofence_id":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8949145065918789632}} 
[2026-10-05 21:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":205100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:54:11] local.INFO: GPS data processed {"connection_id":205100,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:54:11] local.INFO: Acknowledgment sent {"connection_id":205100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:54:19] local.INFO: TCP Data received {"connection_id":206484,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:54:19] local.INFO: Processing buffer {"connection_id":206484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:54:19] local.INFO: IMEI packet received {"connection_id":206484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":206484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:54:21] local.INFO: TCP Data received {"connection_id":206484,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cdd5fc8012d196600071feee80039015425..."} 
[2026-10-05 21:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cdd5fc8012d196600071feee80039015425..."} 
[2026-10-05 21:54:21] local.INFO: Processing buffer {"connection_id":206484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cdd5fc8012d196600071feee80039015425..."} 
[2026-10-05 21:54:21] local.INFO: Packet analysis {"connection_id":206484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cdd"} 
[2026-10-05 21:54:21] local.INFO: Extracted packet for processing {"connection_id":206484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cdd"} 
[2026-10-05 21:54:21] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:54: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-10-05 21:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551525376001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791217197000,"timestamp_ms":1791217197000,"timestamp_seconds":1791217197,"priority":1,"record_length":96,"hex_timestamp":"000001a10cdd5fc8"} 
[2026-10-05 21:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:54:21] 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-10-05 21:54: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":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:54:21] 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-10-05 21:54: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-10-05 21:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":206484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":206484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":206484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551525376001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551525376001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:54:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:54:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551525376001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":206484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:54:21] local.INFO: GPS data processed {"connection_id":206484,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:54:21] local.INFO: Acknowledgment sent {"connection_id":206484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:54:30] local.INFO: TCP Data received {"connection_id":208069,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:54:30] local.INFO: Processing buffer {"connection_id":208069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:54:30] local.INFO: IMEI packet received {"connection_id":208069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":208069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:54:31] local.INFO: TCP Data received {"connection_id":208069,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:54:31] local.INFO: Processing buffer {"connection_id":208069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:54:31] local.INFO: IMEI packet received {"connection_id":208069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":208069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:54:35] local.INFO: TCP Data received {"connection_id":208069,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:54:35] local.INFO: Processing buffer {"connection_id":208069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:54:35] local.INFO: IMEI packet received {"connection_id":208069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":208069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:54:36] local.INFO: TCP Data received {"connection_id":208069,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10cdf9630012d7c320005d985f0000700ac24..."} 
[2026-10-05 21:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cdf9630012d7c320005d985f0000700ac24..."} 
[2026-10-05 21:54:36] local.INFO: Processing buffer {"connection_id":208069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cdf9630012d7c320005d985f0000700ac24..."} 
[2026-10-05 21:54:36] local.INFO: Packet analysis {"connection_id":208069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cdf"} 
[2026-10-05 21:54:36] local.INFO: Extracted packet for processing {"connection_id":208069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cdf"} 
[2026-10-05 21:54:36] local.INFO: GPS Element Parsed {"raw_longitude":763113984,"raw_latitude":98141680,"longitude_deg":76.3113984,"latitude_deg":9.814168,"altitude":7,"angle":172,"satellites":36,"speed":3,"hex_longitude":"2d7c3200","hex_latitude":"05d985f0","is_valid_coordinates":true} 
[2026-10-05 21:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551638784001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139893522986696704,"note":"Value kept but may cause issues"} 
[2026-10-05 21:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145065918750720,"note":"Value kept but may cause issues"} 
[2026-10-05 21:54:36] 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-10-05 21:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791217342000,"timestamp_ms":1791217342000,"timestamp_seconds":1791217342,"priority":1,"record_length":96,"hex_timestamp":"000001a10cdf9630"} 
[2026-10-05 21:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-10-05 21:54:36] 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-10-05 21:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:54:36] 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-10-05 21:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551638784001,"66":12287,"245":206,"85":15104,"24":3,"16":139893522986696704,"45":8949145065918750720},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-10-05 21:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551638784001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:54:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139893522986696704,"km_value":139893522986696.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145065918750720,"description":"Unknown IO ID 45"} 
[2026-10-05 21:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551638784001,"power":12287,"geofence_id":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8949145065918750720}} 
[2026-10-05 21:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":208069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:54:36] local.INFO: GPS data processed {"connection_id":208069,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:54:36] local.INFO: Acknowledgment sent {"connection_id":208069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:54:39] local.INFO: TCP Data received {"connection_id":208067,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:54:39] local.INFO: Processing buffer {"connection_id":208067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:54:39] local.INFO: IMEI packet received {"connection_id":208067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":208067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:55:04] local.INFO: TCP Data received {"connection_id":204984,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:55:04] local.INFO: Processing buffer {"connection_id":204984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:55:04] local.INFO: IMEI packet received {"connection_id":204984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 21:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":204984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:55:07] local.INFO: TCP Data received {"connection_id":208069,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10cdfe838012d7c328005d984f0000900a625..."} 
[2026-10-05 21:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cdfe838012d7c328005d984f0000900a625..."} 
[2026-10-05 21:55:07] local.INFO: Processing buffer {"connection_id":208069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cdfe838012d7c328005d984f0000900a625..."} 
[2026-10-05 21:55:07] local.INFO: Packet analysis {"connection_id":208069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cdf"} 
[2026-10-05 21:55:07] local.INFO: Extracted packet for processing {"connection_id":208069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cdf"} 
[2026-10-05 21:55:07] local.INFO: GPS Element Parsed {"raw_longitude":763114112,"raw_latitude":98141424,"longitude_deg":76.3114112,"latitude_deg":9.8141424,"altitude":9,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7c3280","hex_latitude":"05d984f0","is_valid_coordinates":true} 
[2026-10-05 21:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551639552001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139893540166565888,"note":"Value kept but may cause issues"} 
[2026-10-05 21:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949215434662866944,"note":"Value kept but may cause issues"} 
[2026-10-05 21:55:07] 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-10-05 21:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791217363000,"timestamp_ms":1791217363000,"timestamp_seconds":1791217363,"priority":1,"record_length":96,"hex_timestamp":"000001a10cdfe838"} 
[2026-10-05 21:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:55: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-10-05 21:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-05 21:55:07] 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-10-05 21:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":208069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":208069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":208069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:55:07] 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-10-05 21:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551639552001,"66":12461,"121":206,"85":15104,"24":0,"16":139893540166565888,"45":8949215434662866944},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-10-05 21:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551639552001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:55:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:55:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139893540166565888,"km_value":139893540166565.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949215434662866944,"description":"Unknown IO ID 45"} 
[2026-10-05 21:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551639552001,"power":12461,"unknown_121":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949215434662866944}} 
[2026-10-05 21:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":208069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970194,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:55:07] local.INFO: GPS data processed {"connection_id":208069,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:55:07] local.INFO: Acknowledgment sent {"connection_id":208069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:55:09] local.INFO: TCP Data received {"connection_id":204984,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:55:09] local.INFO: Processing buffer {"connection_id":204984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 21:55:09] local.INFO: IMEI packet received {"connection_id":204984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 21:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":204984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:55:19] local.INFO: TCP Data received {"connection_id":206485,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:55:19] local.INFO: Processing buffer {"connection_id":206485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:55:19] local.INFO: IMEI packet received {"connection_id":206485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":206485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:55:20] local.INFO: TCP Data received {"connection_id":206485,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:55:20] local.INFO: Processing buffer {"connection_id":206485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:55:20] local.INFO: IMEI packet received {"connection_id":206485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":206485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:55:21] local.INFO: TCP Data received {"connection_id":206485,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cdd5fc8012d196600071feee80039015425..."} 
[2026-10-05 21:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cdd5fc8012d196600071feee80039015425..."} 
[2026-10-05 21:55:21] local.INFO: Processing buffer {"connection_id":206485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cdd5fc8012d196600071feee80039015425..."} 
[2026-10-05 21:55:21] local.INFO: Packet analysis {"connection_id":206485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cdd"} 
[2026-10-05 21:55:21] local.INFO: Extracted packet for processing {"connection_id":206485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cdd"} 
[2026-10-05 21:55:21] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551525376001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791217197000,"timestamp_ms":1791217197000,"timestamp_seconds":1791217197,"priority":1,"record_length":96,"hex_timestamp":"000001a10cdd5fc8"} 
[2026-10-05 21:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:55:21] 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-10-05 21:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:55:21] 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-10-05 21:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":206485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":206485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":206485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551525376001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551525376001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:55:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:55:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551525376001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":206485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:55:21] local.INFO: GPS data processed {"connection_id":206485,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:55:21] local.INFO: Acknowledgment sent {"connection_id":206485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:55:23] local.INFO: TCP Data received {"connection_id":206485,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cdd5fc8012d196600071feee80039015425..."} 
[2026-10-05 21:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cdd5fc8012d196600071feee80039015425..."} 
[2026-10-05 21:55:23] local.INFO: Processing buffer {"connection_id":206485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cdd5fc8012d196600071feee80039015425..."} 
[2026-10-05 21:55:23] local.INFO: Packet analysis {"connection_id":206485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cdd"} 
[2026-10-05 21:55:23] local.INFO: Extracted packet for processing {"connection_id":206485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cdd"} 
[2026-10-05 21:55:23] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551525376001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1791217197000,"timestamp_ms":1791217197000,"timestamp_seconds":1791217197,"priority":1,"record_length":96,"hex_timestamp":"000001a10cdd5fc8"} 
[2026-10-05 21:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:55:23] 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-10-05 21:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:55:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:55:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":206485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":206485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":206485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551525376001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551525376001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:55:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:55:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551525376001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":206485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:55:23] local.INFO: GPS data processed {"connection_id":206485,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:55:23] local.INFO: Acknowledgment sent {"connection_id":206485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:55:35] local.INFO: TCP Data received {"connection_id":208070,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:55:35] local.INFO: Processing buffer {"connection_id":208070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:55:35] local.INFO: IMEI packet received {"connection_id":208070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":208070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:55:38] local.INFO: TCP Data received {"connection_id":208070,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:55:38] local.INFO: Processing buffer {"connection_id":208070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:55:38] local.INFO: IMEI packet received {"connection_id":208070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":208070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:55:39] local.INFO: TCP Data received {"connection_id":208070,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce03a40012d7c328005d984f0000900a627..."} 
[2026-10-05 21:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce03a40012d7c328005d984f0000900a627..."} 
[2026-10-05 21:55:39] local.INFO: Processing buffer {"connection_id":208070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce03a40012d7c328005d984f0000900a627..."} 
[2026-10-05 21:55:39] local.INFO: Packet analysis {"connection_id":208070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce0"} 
[2026-10-05 21:55:39] local.INFO: Extracted packet for processing {"connection_id":208070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce0"} 
[2026-10-05 21:55:39] local.INFO: GPS Element Parsed {"raw_longitude":763114112,"raw_latitude":98141424,"longitude_deg":76.3114112,"latitude_deg":9.8141424,"altitude":9,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7c3280","hex_latitude":"05d984f0","is_valid_coordinates":true} 
[2026-10-05 21:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551644928001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139893540166565888,"note":"Value kept but may cause issues"} 
[2026-10-05 21:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949356172151156736,"note":"Value kept but may cause issues"} 
[2026-10-05 21:55:39] 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-10-05 21:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791217384000,"timestamp_ms":1791217384000,"timestamp_seconds":1791217384,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce03a40"} 
[2026-10-05 21:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-05 21:55:39] 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-10-05 21:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":208070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":208070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":208070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:55:39] 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-10-05 21:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551644928001,"66":12232,"121":206,"85":15104,"24":0,"16":139893540166565888,"45":8949356172151156736},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-10-05 21:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551644928001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:55:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:55:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139893540166565888,"km_value":139893540166565.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949356172151156736,"description":"Unknown IO ID 45"} 
[2026-10-05 21:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551644928001,"power":12232,"unknown_121":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949356172151156736}} 
[2026-10-05 21:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":208070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970197,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:55:39] local.INFO: GPS data processed {"connection_id":208070,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:55:39] local.INFO: Acknowledgment sent {"connection_id":208070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:56:10] local.INFO: TCP Data received {"connection_id":208070,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce2b310012d7c718005d9e658000b015e1d..."} 
[2026-10-05 21:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce2b310012d7c718005d9e658000b015e1d..."} 
[2026-10-05 21:56:10] local.INFO: Processing buffer {"connection_id":208070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce2b310012d7c718005d9e658000b015e1d..."} 
[2026-10-05 21:56:10] local.INFO: Packet analysis {"connection_id":208070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce2"} 
[2026-10-05 21:56:10] local.INFO: Extracted packet for processing {"connection_id":208070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce2"} 
[2026-10-05 21:56:10] local.INFO: GPS Element Parsed {"raw_longitude":763130240,"raw_latitude":98166360,"longitude_deg":76.313024,"latitude_deg":9.816636,"altitude":11,"angle":350,"satellites":29,"speed":45,"hex_longitude":"2d7c7180","hex_latitude":"05d9e658","is_valid_coordinates":true} 
[2026-10-05 21:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551689472001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139895434247143424,"note":"Value kept but may cause issues"} 
[2026-10-05 21:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968214995594639360,"note":"Value kept but may cause issues"} 
[2026-10-05 21:56:10] 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-10-05 21:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791217546000,"timestamp_ms":1791217546000,"timestamp_seconds":1791217546,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce2b310"} 
[2026-10-05 21:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 21:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":208070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":208070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":208070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:56:10] 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-10-05 21:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551689472001,"66":12885,"245":206,"85":15104,"24":45,"16":139895434247143424,"45":8968214995594639360},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-10-05 21:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551689472001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139895434247143424,"km_value":139895434247143.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968214995594639360,"description":"Unknown IO ID 45"} 
[2026-10-05 21:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551689472001,"power":12885,"geofence_id":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8968214995594639360}} 
[2026-10-05 21:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":208070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:56:10] local.INFO: GPS data processed {"connection_id":208070,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:56:10] local.INFO: Acknowledgment sent {"connection_id":208070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:56:13] local.INFO: TCP Data received {"connection_id":206488,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:56:13] local.INFO: Processing buffer {"connection_id":206488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:56:13] local.INFO: IMEI packet received {"connection_id":206488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":206488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:56:14] local.INFO: TCP Data received {"connection_id":206488,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:56:14] local.INFO: Processing buffer {"connection_id":206488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:56:14] local.INFO: IMEI packet received {"connection_id":206488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":206488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:56:16] local.INFO: TCP Data received {"connection_id":206488,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce1f790012d196600071feee80039015426..."} 
[2026-10-05 21:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce1f790012d196600071feee80039015426..."} 
[2026-10-05 21:56:16] local.INFO: Processing buffer {"connection_id":206488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce1f790012d196600071feee80039015426..."} 
[2026-10-05 21:56:16] local.INFO: Packet analysis {"connection_id":206488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce1"} 
[2026-10-05 21:56:16] local.INFO: Extracted packet for processing {"connection_id":206488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce1"} 
[2026-10-05 21:56:16] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551602432001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791217498000,"timestamp_ms":1791217498000,"timestamp_seconds":1791217498,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce1f790"} 
[2026-10-05 21:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":206488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":206488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":206488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551602432001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551602432001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:56:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:56:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551602432001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":206488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:56:16] local.INFO: GPS data processed {"connection_id":206488,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:56:16] local.INFO: Acknowledgment sent {"connection_id":206488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:56:21] local.INFO: TCP Data received {"connection_id":206488,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce1f790012d196600071feee80039015426..."} 
[2026-10-05 21:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce1f790012d196600071feee80039015426..."} 
[2026-10-05 21:56:21] local.INFO: Processing buffer {"connection_id":206488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce1f790012d196600071feee80039015426..."} 
[2026-10-05 21:56:21] local.INFO: Packet analysis {"connection_id":206488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce1"} 
[2026-10-05 21:56:21] local.INFO: Extracted packet for processing {"connection_id":206488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce1"} 
[2026-10-05 21:56:21] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:56: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-10-05 21:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551602432001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791217498000,"timestamp_ms":1791217498000,"timestamp_seconds":1791217498,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce1f790"} 
[2026-10-05 21:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:56:21] 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-10-05 21:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":206488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":206488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":206488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551602432001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551602432001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:56:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:56:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551602432001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":206488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:56:21] local.INFO: GPS data processed {"connection_id":206488,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:56:21] local.INFO: Acknowledgment sent {"connection_id":206488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:56:31] local.INFO: TCP Data received {"connection_id":205101,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205101,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:56:31] local.INFO: Processing buffer {"connection_id":205101,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:56:31] local.INFO: IMEI packet received {"connection_id":205101,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":205101,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:56:35] local.INFO: TCP Data received {"connection_id":205101,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205101,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:56:35] local.INFO: Processing buffer {"connection_id":205101,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:56:35] local.INFO: IMEI packet received {"connection_id":205101,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":205101,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:56:40] local.INFO: TCP Data received {"connection_id":205101,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205101,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:56:40] local.INFO: Processing buffer {"connection_id":205101,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:56:40] local.INFO: IMEI packet received {"connection_id":205101,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":205101,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:56:41] local.INFO: TCP Data received {"connection_id":205101,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce2d250012d7c6b0005da0cc8000b015a20..."} 
[2026-10-05 21:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce2d250012d7c6b0005da0cc8000b015a20..."} 
[2026-10-05 21:56:41] local.INFO: Processing buffer {"connection_id":205101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce2d250012d7c6b0005da0cc8000b015a20..."} 
[2026-10-05 21:56:41] local.INFO: Packet analysis {"connection_id":205101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce2"} 
[2026-10-05 21:56:41] local.INFO: Extracted packet for processing {"connection_id":205101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce2"} 
[2026-10-05 21:56:41] local.INFO: GPS Element Parsed {"raw_longitude":763128576,"raw_latitude":98176200,"longitude_deg":76.3128576,"latitude_deg":9.81762,"altitude":11,"angle":346,"satellites":32,"speed":50,"hex_longitude":"2d7c6b00","hex_latitude":"05da0cc8","is_valid_coordinates":true} 
[2026-10-05 21:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551691776001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139895919578447872,"note":"Value kept but may cause issues"} 
[2026-10-05 21:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8967089095690311680,"note":"Value kept but may cause issues"} 
[2026-10-05 21:56:41] 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-10-05 21:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791217554000,"timestamp_ms":1791217554000,"timestamp_seconds":1791217554,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce2d250"} 
[2026-10-05 21:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:56: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-10-05 21:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-05 21:56:41] 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-10-05 21:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":205101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":205101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":205101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:56:41] 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-10-05 21:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551691776001,"66":12809,"245":206,"85":15104,"24":50,"16":139895919578447872,"45":8967089095690311680},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-10-05 21:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551691776001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139895919578447872,"km_value":139895919578447.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8967089095690311680,"description":"Unknown IO ID 45"} 
[2026-10-05 21:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551691776001,"power":12809,"geofence_id":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8967089095690311680}} 
[2026-10-05 21:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":205101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970201,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:56:41] local.INFO: GPS data processed {"connection_id":205101,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:56:41] local.INFO: Acknowledgment sent {"connection_id":205101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:56:42] local.INFO: TCP Data received {"connection_id":205101,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce2f190012d7c61c005da3110000a01571a..."} 
[2026-10-05 21:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce2f190012d7c61c005da3110000a01571a..."} 
[2026-10-05 21:56:42] local.INFO: Processing buffer {"connection_id":205101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce2f190012d7c61c005da3110000a01571a..."} 
[2026-10-05 21:56:42] local.INFO: Packet analysis {"connection_id":205101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce2"} 
[2026-10-05 21:56:42] local.INFO: Extracted packet for processing {"connection_id":205101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce2"} 
[2026-10-05 21:56:42] local.INFO: GPS Element Parsed {"raw_longitude":763126208,"raw_latitude":98185488,"longitude_deg":76.3126208,"latitude_deg":9.8185488,"altitude":10,"angle":343,"satellites":26,"speed":44,"hex_longitude":"2d7c61c0","hex_latitude":"05da3110","is_valid_coordinates":true} 
[2026-10-05 21:56: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-10-05 21:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551693824001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139896383434915840,"note":"Value kept but may cause issues"} 
[2026-10-05 21:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965259508344211456,"note":"Value kept but may cause issues"} 
[2026-10-05 21:56:42] 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-10-05 21:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791217562000,"timestamp_ms":1791217562000,"timestamp_seconds":1791217562,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce2f190"} 
[2026-10-05 21:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:56:42] 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-10-05 21:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-05 21:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720575940547052544,"note":"Value kept but may cause issues"} 
[2026-10-05 21:56:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 21:56:42] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 21:56:42] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-2217978830956772800,"note":"Value kept but may cause issues"} 
[2026-10-05 21:56:42] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2537029642,"note":"Value kept but may cause issues"} 
[2026-10-05 21:56:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2834628814,"corrected_to":0} 
[2026-10-05 21:56:42] local.WARNING: Large IO value detected {"io_id":192,"raw_value":3758173564,"note":"Value kept but may cause issues"} 
[2026-10-05 21:56:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2770654952618440920,"note":"Value kept but may cause issues"} 
[2026-10-05 21:56:42] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4179566579748490837,"note":"Value kept but may cause issues"} 
[2026-10-05 21:56:42] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-10-05 21:56:42] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,245,85,24,241,157,16,2,161,179,45,128,230,11,29,10,66,143,191,28,1,97,64,240,199,227,12,217,4,113,205,15,192,80,208,41,239,50,5,49,59,201],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2834628814,"validated":0}]} 
[2026-10-05 21:56:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":793014102882648064,"timestamp_seconds":793014102882648.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 21:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":205101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":205101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":205101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551693824001,"66":12863,"245":206,"85":15104,"24":44,"16":139896383434915840,"45":8965259508344211456},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-10-05 21:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551693824001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:56:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139896383434915840,"km_value":139896383434915.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965259508344211456,"description":"Unknown IO ID 45"} 
[2026-10-05 21:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551693824001,"power":12863,"geofence_id":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8965259508344211456}} 
[2026-10-05 21:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":205101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:56:42] local.INFO: GPS data processed {"connection_id":205101,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:56:42] local.INFO: Acknowledgment sent {"connection_id":205101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:56:58] local.INFO: TCP Data received {"connection_id":205102,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:56:58] local.INFO: Processing buffer {"connection_id":205102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:56:58] local.INFO: IMEI packet received {"connection_id":205102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 21:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":205102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:57:12] local.INFO: TCP Data received {"connection_id":204986,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:57:12] local.INFO: Processing buffer {"connection_id":204986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:57:12] local.INFO: IMEI packet received {"connection_id":204986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":204986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:57:14] local.INFO: TCP Data received {"connection_id":205101,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce314b8012d7c570005da5458000901561e..."} 
[2026-10-05 21:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce314b8012d7c570005da5458000901561e..."} 
[2026-10-05 21:57:14] local.INFO: Processing buffer {"connection_id":205101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce314b8012d7c570005da5458000901561e..."} 
[2026-10-05 21:57:14] local.INFO: Packet analysis {"connection_id":205101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce3"} 
[2026-10-05 21:57:14] local.INFO: Extracted packet for processing {"connection_id":205101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce3"} 
[2026-10-05 21:57:14] local.INFO: GPS Element Parsed {"raw_longitude":763123456,"raw_latitude":98194520,"longitude_deg":76.3123456,"latitude_deg":9.819452,"altitude":9,"angle":342,"satellites":30,"speed":39,"hex_longitude":"2d7c5700","hex_latitude":"05da5458","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551695872001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139896842996416512,"note":"Value kept but may cause issues"} 
[2026-10-05 21:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962655864812015616,"note":"Value kept but may cause issues"} 
[2026-10-05 21:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791217571000,"timestamp_ms":1791217571000,"timestamp_seconds":1791217571,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce314b8"} 
[2026-10-05 21:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 21:57:14] 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-10-05 21: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-10-05 21:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":205101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":205101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":205101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551695872001,"66":12526,"245":206,"85":15104,"24":39,"16":139896842996416512,"45":8962655864812015616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-10-05 21:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551695872001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:57:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139896842996416512,"km_value":139896842996416.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962655864812015616,"description":"Unknown IO ID 45"} 
[2026-10-05 21:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551695872001,"power":12526,"geofence_id":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8962655864812015616}} 
[2026-10-05 21:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":205101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:57:14] local.INFO: GPS data processed {"connection_id":205101,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:57:14] local.INFO: Acknowledgment sent {"connection_id":205101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:57:14] local.INFO: TCP Data received {"connection_id":204986,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:57:14] local.INFO: Processing buffer {"connection_id":204986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:57:14] local.INFO: IMEI packet received {"connection_id":204986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":204986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:57:16] local.INFO: TCP Data received {"connection_id":204986,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce1f790012d196600071feee80039015426..."} 
[2026-10-05 21:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce1f790012d196600071feee80039015426..."} 
[2026-10-05 21:57:16] local.INFO: Processing buffer {"connection_id":204986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce1f790012d196600071feee80039015426..."} 
[2026-10-05 21:57:16] local.INFO: Packet analysis {"connection_id":204986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce1"} 
[2026-10-05 21:57:16] local.INFO: Extracted packet for processing {"connection_id":204986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce1"} 
[2026-10-05 21:57:16] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551602432001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791217498000,"timestamp_ms":1791217498000,"timestamp_seconds":1791217498,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce1f790"} 
[2026-10-05 21:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":204986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":204986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":204986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551602432001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551602432001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:57:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:57:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551602432001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":204986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:57:16] local.INFO: GPS data processed {"connection_id":204986,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:57:16] local.INFO: Acknowledgment sent {"connection_id":204986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:57:25] local.INFO: TCP Data received {"connection_id":204986,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce1f790012d196600071feee80039015426..."} 
[2026-10-05 21:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce1f790012d196600071feee80039015426..."} 
[2026-10-05 21:57:25] local.INFO: Processing buffer {"connection_id":204986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce1f790012d196600071feee80039015426..."} 
[2026-10-05 21:57:25] local.INFO: Packet analysis {"connection_id":204986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce1"} 
[2026-10-05 21:57:25] local.INFO: Extracted packet for processing {"connection_id":204986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce1"} 
[2026-10-05 21:57:25] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551602432001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1791217498000,"timestamp_ms":1791217498000,"timestamp_seconds":1791217498,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce1f790"} 
[2026-10-05 21:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:57:25] 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-10-05 21:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":204986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":204986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":204986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551602432001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551602432001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:57:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:57:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551602432001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":204986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:57:25] local.INFO: GPS data processed {"connection_id":204986,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:57:25] local.INFO: Acknowledgment sent {"connection_id":204986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:57:27] local.INFO: TCP Data received {"connection_id":204986,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce1f790012d196600071feee80039015426..."} 
[2026-10-05 21:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce1f790012d196600071feee80039015426..."} 
[2026-10-05 21:57:27] local.INFO: Processing buffer {"connection_id":204986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce1f790012d196600071feee80039015426..."} 
[2026-10-05 21:57:27] local.INFO: Packet analysis {"connection_id":204986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce1"} 
[2026-10-05 21:57:27] local.INFO: Extracted packet for processing {"connection_id":204986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce1"} 
[2026-10-05 21:57:27] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551602432001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1791217498000,"timestamp_ms":1791217498000,"timestamp_seconds":1791217498,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce1f790"} 
[2026-10-05 21:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21: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-10-05 21:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":204986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":204986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":204986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551602432001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551602432001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:57:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:57:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551602432001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":204986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:57:27] local.INFO: GPS data processed {"connection_id":204986,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:57:27] local.INFO: Acknowledgment sent {"connection_id":204986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:57:30] local.INFO: TCP Data received {"connection_id":205103,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205103,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:57:30] local.INFO: Processing buffer {"connection_id":205103,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:57:30] local.INFO: IMEI packet received {"connection_id":205103,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":205103,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:57:32] local.INFO: TCP Data received {"connection_id":205103,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205103,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:57:32] local.INFO: Processing buffer {"connection_id":205103,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:57:32] local.INFO: IMEI packet received {"connection_id":205103,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":205103,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:57:33] local.INFO: TCP Data received {"connection_id":205103,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce33bc8012d7c4a4005da7640000701521e..."} 
[2026-10-05 21:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce33bc8012d7c4a4005da7640000701521e..."} 
[2026-10-05 21:57:33] local.INFO: Processing buffer {"connection_id":205103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce33bc8012d7c4a4005da7640000701521e..."} 
[2026-10-05 21:57:33] local.INFO: Packet analysis {"connection_id":205103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce3"} 
[2026-10-05 21:57:33] local.INFO: Extracted packet for processing {"connection_id":205103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce3"} 
[2026-10-05 21:57:33] local.INFO: GPS Element Parsed {"raw_longitude":763120192,"raw_latitude":98203200,"longitude_deg":76.3120192,"latitude_deg":9.82032,"altitude":7,"angle":338,"satellites":30,"speed":37,"hex_longitude":"2d7c4a40","hex_latitude":"05da7640","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551698176001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139897289673015296,"note":"Value kept but may cause issues"} 
[2026-10-05 21:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8959630008814688256,"note":"Value kept but may cause issues"} 
[2026-10-05 21:57:33] 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-10-05 21:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791217581000,"timestamp_ms":1791217581000,"timestamp_seconds":1791217581,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce33bc8"} 
[2026-10-05 21:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:57: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-10-05 21: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-05 21:57: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-10-05 21: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-10-05 21:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":205103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":205103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":205103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:57: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-10-05 21:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551698176001,"66":12776,"245":206,"85":15104,"24":37,"16":139897289673015296,"45":8959630008814688256},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-10-05 21:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551698176001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:57:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139897289673015296,"km_value":139897289673015.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8959630008814688256,"description":"Unknown IO ID 45"} 
[2026-10-05 21:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551698176001,"power":12776,"geofence_id":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8959630008814688256}} 
[2026-10-05 21:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":205103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:57:33] local.INFO: GPS data processed {"connection_id":205103,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:57:33] local.INFO: Acknowledgment sent {"connection_id":205103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:57:33] local.INFO: TCP Data received {"connection_id":208071,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:57:33] local.INFO: Processing buffer {"connection_id":208071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 21:57:33] local.INFO: IMEI packet received {"connection_id":208071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 21:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":208071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:58:04] local.INFO: TCP Data received {"connection_id":205103,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce35ef0012d7c3d8005da96780005015422..."} 
[2026-10-05 21:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce35ef0012d7c3d8005da96780005015422..."} 
[2026-10-05 21:58:04] local.INFO: Processing buffer {"connection_id":205103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce35ef0012d7c3d8005da96780005015422..."} 
[2026-10-05 21:58:04] local.INFO: Packet analysis {"connection_id":205103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce3"} 
[2026-10-05 21:58:04] local.INFO: Extracted packet for processing {"connection_id":205103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce3"} 
[2026-10-05 21:58:04] local.INFO: GPS Element Parsed {"raw_longitude":763116928,"raw_latitude":98211448,"longitude_deg":76.3116928,"latitude_deg":9.8211448,"altitude":5,"angle":340,"satellites":34,"speed":39,"hex_longitude":"2d7c3d80","hex_latitude":"05da9678","is_valid_coordinates":true} 
[2026-10-05 21:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551700736001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139897719169744896,"note":"Value kept but may cause issues"} 
[2026-10-05 21:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8956041202863849472,"note":"Value kept but may cause issues"} 
[2026-10-05 21:58:04] 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-10-05 21:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791217590000,"timestamp_ms":1791217590000,"timestamp_seconds":1791217590,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce35ef0"} 
[2026-10-05 21:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:58:04] 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-10-05 21:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-05 21:58:04] 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-10-05 21:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":205103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":205103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":205103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:58:04] 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-10-05 21:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551700736001,"66":12765,"245":206,"85":15104,"24":39,"16":139897719169744896,"45":8956041202863849472},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-10-05 21:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551700736001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:58:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139897719169744896,"km_value":139897719169744.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8956041202863849472,"description":"Unknown IO ID 45"} 
[2026-10-05 21:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551700736001,"power":12765,"geofence_id":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8956041202863849472}} 
[2026-10-05 21:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":205103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:58:04] local.INFO: GPS data processed {"connection_id":205103,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:58:04] local.INFO: Acknowledgment sent {"connection_id":205103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:58:30] local.INFO: TCP Data received {"connection_id":206489,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:58:30] local.INFO: Processing buffer {"connection_id":206489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:58:30] local.INFO: IMEI packet received {"connection_id":206489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":206489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:58:33] local.INFO: TCP Data received {"connection_id":205105,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:58:33] local.INFO: Processing buffer {"connection_id":205105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:58:33] local.INFO: IMEI packet received {"connection_id":205105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":205105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:58:35] local.INFO: TCP Data received {"connection_id":205105,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:58:35] local.INFO: Processing buffer {"connection_id":205105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:58:35] local.INFO: IMEI packet received {"connection_id":205105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":205105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:58:35] local.INFO: TCP Data received {"connection_id":206489,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:58:35] local.INFO: Processing buffer {"connection_id":206489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:58:35] local.INFO: IMEI packet received {"connection_id":206489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":206489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:58:36] local.INFO: TCP Data received {"connection_id":206489,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce389e8012d7c310005dab7200003015022..."} 
[2026-10-05 21:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce389e8012d7c310005dab7200003015022..."} 
[2026-10-05 21:58:36] local.INFO: Processing buffer {"connection_id":206489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce389e8012d7c310005dab7200003015022..."} 
[2026-10-05 21:58:36] local.INFO: Packet analysis {"connection_id":206489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce3"} 
[2026-10-05 21:58:36] local.INFO: Extracted packet for processing {"connection_id":206489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce3"} 
[2026-10-05 21:58:36] local.INFO: GPS Element Parsed {"raw_longitude":763113728,"raw_latitude":98219808,"longitude_deg":76.3113728,"latitude_deg":9.8219808,"altitude":3,"angle":336,"satellites":34,"speed":19,"hex_longitude":"2d7c3100","hex_latitude":"05dab720","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551703040001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898152961441792,"note":"Value kept but may cause issues"} 
[2026-10-05 21:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952452396912900096,"note":"Value kept but may cause issues"} 
[2026-10-05 21:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791217601000,"timestamp_ms":1791217601000,"timestamp_seconds":1791217601,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce389e8"} 
[2026-10-05 21:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 21:58:36] 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-10-05 21: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-10-05 21:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:58:36] 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-10-05 21:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551703040001,"66":12135,"161":206,"85":15104,"24":19,"16":139898152961441792,"45":8952452396912900096},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 21:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551703040001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:58:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 21:58:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898152961441792,"km_value":139898152961441.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952452396912900096,"description":"Unknown IO ID 45"} 
[2026-10-05 21:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551703040001,"power":12135,"unknown_161":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8952452396912900096}} 
[2026-10-05 21:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":206489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:58:36] local.INFO: GPS data processed {"connection_id":206489,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:58:36] local.INFO: Acknowledgment sent {"connection_id":206489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:58:55] local.INFO: TCP Data received {"connection_id":205105,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce1f790012d196600071feee80039015426..."} 
[2026-10-05 21:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce1f790012d196600071feee80039015426..."} 
[2026-10-05 21:58:55] local.INFO: Processing buffer {"connection_id":205105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce1f790012d196600071feee80039015426..."} 
[2026-10-05 21:58:55] local.INFO: Packet analysis {"connection_id":205105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce1"} 
[2026-10-05 21:58:55] local.INFO: Extracted packet for processing {"connection_id":205105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce1"} 
[2026-10-05 21:58:55] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21: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-10-05 21:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551602432001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1791217498000,"timestamp_ms":1791217498000,"timestamp_seconds":1791217498,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce1f790"} 
[2026-10-05 21:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:58:55] 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-10-05 21: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-10-05 21:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":205105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":205105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":205105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551602432001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551602432001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:58:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:58:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551602432001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":205105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:58:55] local.INFO: GPS data processed {"connection_id":205105,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:58:55] local.INFO: Acknowledgment sent {"connection_id":205105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:59:04] local.INFO: TCP Data received {"connection_id":206490,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:59:04] local.INFO: Processing buffer {"connection_id":206490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:59:04] local.INFO: IMEI packet received {"connection_id":206490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 21:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":206490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:59:07] local.INFO: TCP Data received {"connection_id":206489,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce3a540012d7c2d0005dac1200002015c24..."} 
[2026-10-05 21:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce3a540012d7c2d0005dac1200002015c24..."} 
[2026-10-05 21:59:07] local.INFO: Processing buffer {"connection_id":206489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce3a540012d7c2d0005dac1200002015c24..."} 
[2026-10-05 21:59:07] local.INFO: Packet analysis {"connection_id":206489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce3"} 
[2026-10-05 21:59:07] local.INFO: Extracted packet for processing {"connection_id":206489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce3"} 
[2026-10-05 21:59:07] local.INFO: GPS Element Parsed {"raw_longitude":763112704,"raw_latitude":98222368,"longitude_deg":76.3112704,"latitude_deg":9.8222368,"altitude":2,"angle":348,"satellites":36,"speed":12,"hex_longitude":"2d7c2d00","hex_latitude":"05dac120","is_valid_coordinates":true} 
[2026-10-05 21:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551705856001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898286105427968,"note":"Value kept but may cause issues"} 
[2026-10-05 21:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948933959706157056,"note":"Value kept but may cause issues"} 
[2026-10-05 21:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791217608000,"timestamp_ms":1791217608000,"timestamp_seconds":1791217608,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce3a540"} 
[2026-10-05 21:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-05 21:59:07] 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-10-05 21:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":206489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":206489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":206489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:59:07] 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-10-05 21:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551705856001,"66":12406,"161":206,"85":15104,"24":12,"16":139898286105427968,"45":8948933959706157056},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 21:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551705856001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:59:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 21:59:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898286105427968,"km_value":139898286105427.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948933959706157056,"description":"Unknown IO ID 45"} 
[2026-10-05 21:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551705856001,"power":12406,"unknown_161":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8948933959706157056}} 
[2026-10-05 21:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":206489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:59:07] local.INFO: GPS data processed {"connection_id":206489,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:59:07] local.INFO: Acknowledgment sent {"connection_id":206489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:59:09] local.INFO: TCP Data received {"connection_id":206490,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:59:09] local.INFO: Processing buffer {"connection_id":206490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 21:59:09] local.INFO: IMEI packet received {"connection_id":206490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 21:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":206490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:59:11] local.INFO: TCP Data received {"connection_id":206490,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce1f790012d196600071feee80039015426..."} 
[2026-10-05 21:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce1f790012d196600071feee80039015426..."} 
[2026-10-05 21:59:11] local.INFO: Processing buffer {"connection_id":206490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce1f790012d196600071feee80039015426..."} 
[2026-10-05 21:59:11] local.INFO: Packet analysis {"connection_id":206490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce1"} 
[2026-10-05 21:59:11] local.INFO: Extracted packet for processing {"connection_id":206490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce1"} 
[2026-10-05 21:59:11] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551602432001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791217498000,"timestamp_ms":1791217498000,"timestamp_seconds":1791217498,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce1f790"} 
[2026-10-05 21:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:59:11] 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-10-05 21:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551602432001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551602432001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:59:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:59:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551602432001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":206490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:59:11] local.INFO: GPS data processed {"connection_id":206490,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:59:11] local.INFO: Acknowledgment sent {"connection_id":206490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:59:31] local.INFO: TCP Data received {"connection_id":205106,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:59:31] local.INFO: Processing buffer {"connection_id":205106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:59:31] local.INFO: IMEI packet received {"connection_id":205106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 21:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":205106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 21:59:35] local.INFO: TCP Data received {"connection_id":205106,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:59:35] local.INFO: Processing buffer {"connection_id":205106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 21:59:35] local.INFO: IMEI packet received {"connection_id":205106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 21:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":205106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 21:59:36] local.INFO: TCP Data received {"connection_id":205106,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce3e3c0012d7c2a0005dac9780000013d29..."} 
[2026-10-05 21:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce3e3c0012d7c2a0005dac9780000013d29..."} 
[2026-10-05 21:59:36] local.INFO: Processing buffer {"connection_id":205106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce3e3c0012d7c2a0005dac9780000013d29..."} 
[2026-10-05 21:59:36] local.INFO: Packet analysis {"connection_id":205106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce3"} 
[2026-10-05 21:59:36] local.INFO: Extracted packet for processing {"connection_id":205106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce3"} 
[2026-10-05 21:59:36] local.INFO: GPS Element Parsed {"raw_longitude":763111936,"raw_latitude":98224504,"longitude_deg":76.3111936,"latitude_deg":9.8224504,"altitude":0,"angle":317,"satellites":41,"speed":5,"hex_longitude":"2d7c2a00","hex_latitude":"05dac978","is_valid_coordinates":true} 
[2026-10-05 21:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551707648001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898402069544960,"note":"Value kept but may cause issues"} 
[2026-10-05 21:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947808059799969792,"note":"Value kept but may cause issues"} 
[2026-10-05 21:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791217624000,"timestamp_ms":1791217624000,"timestamp_seconds":1791217624,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce3e3c0"} 
[2026-10-05 21:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 21:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 21:59:36] 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-10-05 21:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 21:59:36] 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-10-05 21:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 21:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 21:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551707648001,"66":12765,"161":206,"85":15104,"24":5,"16":139898402069544960,"45":8947808059799969792},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 21:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 21:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 21:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551707648001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:59:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 21:59:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 21:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898402069544960,"km_value":139898402069544.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947808059799969792,"description":"Unknown IO ID 45"} 
[2026-10-05 21:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551707648001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8947808059799969792}} 
[2026-10-05 21:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":205106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:59:36] local.INFO: GPS data processed {"connection_id":205106,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:59:36] local.INFO: Acknowledgment sent {"connection_id":205106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 21:59:43] local.INFO: TCP Data received {"connection_id":206490,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce1f790012d196600071feee80039015426..."} 
[2026-10-05 21:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce1f790012d196600071feee80039015426..."} 
[2026-10-05 21:59:43] local.INFO: Processing buffer {"connection_id":206490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce1f790012d196600071feee80039015426..."} 
[2026-10-05 21:59:43] local.INFO: Packet analysis {"connection_id":206490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce1"} 
[2026-10-05 21:59:43] local.INFO: Extracted packet for processing {"connection_id":206490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce1"} 
[2026-10-05 21:59:43] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 21:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 21:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551602432001,"note":"Value kept but may cause issues"} 
[2026-10-05 21:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 21:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 21:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 21:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791217498000,"timestamp_ms":1791217498000,"timestamp_seconds":1791217498,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce1f790"} 
[2026-10-05 21:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 21:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 21:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 21:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 21:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 21:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 21:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 21:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":206490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 21:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":206490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":206490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 21:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 21:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 21:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 21:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551602432001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 21:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 21:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 21:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551602432001,"description":"Unknown IO ID 0"} 
[2026-10-05 21:59:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 21:59:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 21:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 21:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 21:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551602432001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 21:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":206490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 21:59:43] local.INFO: GPS data processed {"connection_id":206490,"processed":1,"errors":0,"total":1} 
[2026-10-05 21:59:43] local.INFO: Acknowledgment sent {"connection_id":206490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:00:04] local.INFO: TCP Data received {"connection_id":204988,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:00:04] local.INFO: Processing buffer {"connection_id":204988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:00:04] local.INFO: IMEI packet received {"connection_id":204988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":204988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:00:07] local.INFO: TCP Data received {"connection_id":205106,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce3fb30012d7c278005dacc800002015129..."} 
[2026-10-05 22:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce3fb30012d7c278005dacc800002015129..."} 
[2026-10-05 22:00:07] local.INFO: Processing buffer {"connection_id":205106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce3fb30012d7c278005dacc800002015129..."} 
[2026-10-05 22:00:07] local.INFO: Packet analysis {"connection_id":205106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce3"} 
[2026-10-05 22:00:07] local.INFO: Extracted packet for processing {"connection_id":205106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce3"} 
[2026-10-05 22:00:07] local.INFO: GPS Element Parsed {"raw_longitude":763111296,"raw_latitude":98225280,"longitude_deg":76.3111296,"latitude_deg":9.822528,"altitude":2,"angle":337,"satellites":41,"speed":6,"hex_longitude":"2d7c2780","hex_latitude":"05dacc80","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551711744001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898453609152512,"note":"Value kept but may cause issues"} 
[2026-10-05 22:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946963634870384640,"note":"Value kept but may cause issues"} 
[2026-10-05 22:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791217630000,"timestamp_ms":1791217630000,"timestamp_seconds":1791217630,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce3fb30"} 
[2026-10-05 22:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:00: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-10-05 22: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":221,"data_length":795,"current_offset":136} 
[2026-10-05 22:00: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-10-05 22:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:00:07] 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-10-05 22:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551711744001,"66":12689,"161":206,"85":15104,"24":6,"16":139898453609152512,"45":8946963634870384640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551711744001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:00:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:00:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898453609152512,"km_value":139898453609152.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946963634870384640,"description":"Unknown IO ID 45"} 
[2026-10-05 22:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551711744001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8946963634870384640}} 
[2026-10-05 22:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":205106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:00:07] local.INFO: GPS data processed {"connection_id":205106,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:00:07] local.INFO: Acknowledgment sent {"connection_id":205106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:00:09] local.INFO: TCP Data received {"connection_id":204988,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:00:09] local.INFO: Processing buffer {"connection_id":204988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:00:09] local.INFO: IMEI packet received {"connection_id":204988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":204988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:00:11] local.INFO: TCP Data received {"connection_id":204988,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce1f790012d196600071feee80039015426..."} 
[2026-10-05 22:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce1f790012d196600071feee80039015426..."} 
[2026-10-05 22:00:11] local.INFO: Processing buffer {"connection_id":204988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce1f790012d196600071feee80039015426..."} 
[2026-10-05 22:00:11] local.INFO: Packet analysis {"connection_id":204988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce1"} 
[2026-10-05 22:00:11] local.INFO: Extracted packet for processing {"connection_id":204988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce1"} 
[2026-10-05 22:00:11] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551602432001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791217498000,"timestamp_ms":1791217498000,"timestamp_seconds":1791217498,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce1f790"} 
[2026-10-05 22:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 22:00:11] 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-10-05 22: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-10-05 22:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":204988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":204988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":204988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551602432001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551602432001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:00:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:00:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551602432001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":204988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:00:11] local.INFO: GPS data processed {"connection_id":204988,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:00:11] local.INFO: Acknowledgment sent {"connection_id":204988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:00:30] local.INFO: TCP Data received {"connection_id":206491,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:00:30] local.INFO: Processing buffer {"connection_id":206491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:00:30] local.INFO: IMEI packet received {"connection_id":206491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":206491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:00:35] local.INFO: TCP Data received {"connection_id":206491,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:00:35] local.INFO: Processing buffer {"connection_id":206491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:00:35] local.INFO: IMEI packet received {"connection_id":206491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":206491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:00:36] local.INFO: TCP Data received {"connection_id":206491,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce44d38012d7c268005dacc880003015121..."} 
[2026-10-05 22:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce44d38012d7c268005dacc880003015121..."} 
[2026-10-05 22:00:36] local.INFO: Processing buffer {"connection_id":206491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce44d38012d7c268005dacc880003015121..."} 
[2026-10-05 22:00:36] local.INFO: Packet analysis {"connection_id":206491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce4"} 
[2026-10-05 22:00:36] local.INFO: Extracted packet for processing {"connection_id":206491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce4"} 
[2026-10-05 22:00:36] local.INFO: GPS Element Parsed {"raw_longitude":763111040,"raw_latitude":98225288,"longitude_deg":76.311104,"latitude_deg":9.8225288,"altitude":3,"angle":337,"satellites":33,"speed":0,"hex_longitude":"2d7c2680","hex_latitude":"05dacc88","is_valid_coordinates":true} 
[2026-10-05 22:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551713280001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946259947428806656,"note":"Value kept but may cause issues"} 
[2026-10-05 22:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791217651000,"timestamp_ms":1791217651000,"timestamp_seconds":1791217651,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce44d38"} 
[2026-10-05 22:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 22:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 22:00:36] 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-10-05 22:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:00:36] 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-10-05 22:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551713280001,"66":12841,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8946259947428806656},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551713280001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:00:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:00:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946259947428806656,"description":"Unknown IO ID 45"} 
[2026-10-05 22:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551713280001,"power":12841,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8946259947428806656}} 
[2026-10-05 22:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":206491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970217,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:00:36] local.INFO: GPS data processed {"connection_id":206491,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:00:36] local.INFO: Acknowledgment sent {"connection_id":206491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:00:43] local.INFO: TCP Data received {"connection_id":204988,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce68f58012d196600071feee80039015425..."} 
[2026-10-05 22:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce68f58012d196600071feee80039015425..."} 
[2026-10-05 22:00:43] local.INFO: Processing buffer {"connection_id":204988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce68f58012d196600071feee80039015425..."} 
[2026-10-05 22:00:43] local.INFO: Packet analysis {"connection_id":204988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce6"} 
[2026-10-05 22:00:43] local.INFO: Extracted packet for processing {"connection_id":204988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce6"} 
[2026-10-05 22:00:43] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:00: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-10-05 22:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551679488001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791217799000,"timestamp_ms":1791217799000,"timestamp_seconds":1791217799,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce68f58"} 
[2026-10-05 22:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 22:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:00: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-10-05 22:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":204988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":204988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":204988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551679488001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551679488001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:00:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:00:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551679488001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":204988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:00:43] local.INFO: GPS data processed {"connection_id":204988,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:00:43] local.INFO: Acknowledgment sent {"connection_id":204988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:01:07] local.INFO: TCP Data received {"connection_id":206491,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce49f40012d7c268005dacc880003015125..."} 
[2026-10-05 22:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce49f40012d7c268005dacc880003015125..."} 
[2026-10-05 22:01:07] local.INFO: Processing buffer {"connection_id":206491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce49f40012d7c268005dacc880003015125..."} 
[2026-10-05 22:01:07] local.INFO: Packet analysis {"connection_id":206491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce4"} 
[2026-10-05 22:01:07] local.INFO: Extracted packet for processing {"connection_id":206491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce4"} 
[2026-10-05 22:01:07] local.INFO: GPS Element Parsed {"raw_longitude":763111040,"raw_latitude":98225288,"longitude_deg":76.311104,"latitude_deg":9.8225288,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2680","hex_latitude":"05dacc88","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551718656001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472452098048,"note":"Value kept but may cause issues"} 
[2026-10-05 22:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791217672000,"timestamp_ms":1791217672000,"timestamp_seconds":1791217672,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce49f40"} 
[2026-10-05 22:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:01: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-10-05 22: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 22:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22: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-10-05 22:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":206491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":206491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":206491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:01:07] 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-10-05 22:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551718656001,"66":12613,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945978472452098048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551718656001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:01:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:01:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472452098048,"description":"Unknown IO ID 45"} 
[2026-10-05 22:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551718656001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945978472452098048}} 
[2026-10-05 22:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":206491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:01:07] local.INFO: GPS data processed {"connection_id":206491,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:01:07] local.INFO: Acknowledgment sent {"connection_id":206491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:01:25] local.INFO: TCP Data received {"connection_id":204989,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:01:25] local.INFO: Processing buffer {"connection_id":204989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:01:25] local.INFO: IMEI packet received {"connection_id":204989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":204989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:01:29] local.INFO: TCP Data received {"connection_id":205107,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:01:29] local.INFO: Processing buffer {"connection_id":205107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:01:29] local.INFO: IMEI packet received {"connection_id":205107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":205107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:01:30] local.INFO: TCP Data received {"connection_id":205108,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:01:30] local.INFO: Processing buffer {"connection_id":205108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:01:30] local.INFO: IMEI packet received {"connection_id":205108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":205108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:01:31] local.INFO: TCP Data received {"connection_id":204989,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:01:31] local.INFO: Processing buffer {"connection_id":204989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:01:31] local.INFO: IMEI packet received {"connection_id":204989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":204989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:01:33] local.INFO: TCP Data received {"connection_id":205107,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:01:34] local.INFO: Processing buffer {"connection_id":205107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:01:34] local.INFO: IMEI packet received {"connection_id":205107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":205107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:01:35] local.INFO: TCP Data received {"connection_id":205108,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:01:35] local.INFO: Processing buffer {"connection_id":205108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:01:35] local.INFO: IMEI packet received {"connection_id":205108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":205108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:01:37] local.INFO: TCP Data received {"connection_id":205108,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce4f148012d7c268005dacc880003015127..."} 
[2026-10-05 22:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce4f148012d7c268005dacc880003015127..."} 
[2026-10-05 22:01:37] local.INFO: Processing buffer {"connection_id":205108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce4f148012d7c268005dacc880003015127..."} 
[2026-10-05 22:01:37] local.INFO: Packet analysis {"connection_id":205108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce4"} 
[2026-10-05 22:01:37] local.INFO: Extracted packet for processing {"connection_id":205108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce4"} 
[2026-10-05 22:01:37] local.INFO: GPS Element Parsed {"raw_longitude":763111040,"raw_latitude":98225288,"longitude_deg":76.311104,"latitude_deg":9.8225288,"altitude":3,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2680","hex_latitude":"05dacc88","is_valid_coordinates":true} 
[2026-10-05 22:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551724032001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472452098048,"note":"Value kept but may cause issues"} 
[2026-10-05 22:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791217693000,"timestamp_ms":1791217693000,"timestamp_seconds":1791217693,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce4f148"} 
[2026-10-05 22:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:01:37] 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-10-05 22:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 22:01:37] 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-10-05 22:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:01:37] 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-10-05 22:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551724032001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945978472452098048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551724032001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:01:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:01:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472452098048,"description":"Unknown IO ID 45"} 
[2026-10-05 22:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551724032001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945978472452098048}} 
[2026-10-05 22:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":205108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:01:37] local.INFO: GPS data processed {"connection_id":205108,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:01:37] local.INFO: Acknowledgment sent {"connection_id":205108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:01:38] local.INFO: TCP Data received {"connection_id":204989,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce68f58012d196600071feee80039015425..."} 
[2026-10-05 22:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce68f58012d196600071feee80039015425..."} 
[2026-10-05 22:01:38] local.INFO: Processing buffer {"connection_id":204989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce68f58012d196600071feee80039015425..."} 
[2026-10-05 22:01:38] local.INFO: Packet analysis {"connection_id":204989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce6"} 
[2026-10-05 22:01:38] local.INFO: Extracted packet for processing {"connection_id":204989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce6"} 
[2026-10-05 22:01:38] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:01: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-10-05 22:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551679488001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791217799000,"timestamp_ms":1791217799000,"timestamp_seconds":1791217799,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce68f58"} 
[2026-10-05 22:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:01:38] 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-10-05 22:01: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":107,"data_length":795,"current_offset":136} 
[2026-10-05 22:01:38] 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-10-05 22:01: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-10-05 22:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":204989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":204989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":204989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551679488001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551679488001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:01:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:01:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551679488001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":204989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:01:38] local.INFO: GPS data processed {"connection_id":204989,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:01:38] local.INFO: Acknowledgment sent {"connection_id":204989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:01:40] local.INFO: TCP Data received {"connection_id":205107,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cdbb9e8012d77aac005f272380012016227..."} 
[2026-10-05 22:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cdbb9e8012d77aac005f272380012016227..."} 
[2026-10-05 22:01:40] local.INFO: Processing buffer {"connection_id":205107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cdbb9e8012d77aac005f272380012016227..."} 
[2026-10-05 22:01:40] local.INFO: Packet analysis {"connection_id":205107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cdb"} 
[2026-10-05 22:01:40] local.INFO: Extracted packet for processing {"connection_id":205107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cdb"} 
[2026-10-05 22:01:40] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":18,"angle":354,"satellites":39,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 22:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551497728001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 22:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 22:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1791217089000,"timestamp_ms":1791217089000,"timestamp_seconds":1791217089,"priority":1,"record_length":96,"hex_timestamp":"000001a10cdbb9e8"} 
[2026-10-05 22:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:01: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-10-05 22:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 22:01:40] 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-10-05 22:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":205107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":205107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":205107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551497728001,"66":25973,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551497728001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:01:40] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:01:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 22:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551497728001,"power":25973,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 22:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":205107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:01:40] local.INFO: GPS data processed {"connection_id":205107,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:01:40] local.INFO: Acknowledgment sent {"connection_id":205107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:01:58] local.INFO: TCP Data received {"connection_id":206493,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:01:58] local.INFO: Processing buffer {"connection_id":206493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:01:58] local.INFO: IMEI packet received {"connection_id":206493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":206493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:02:08] local.INFO: TCP Data received {"connection_id":205108,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce54350012d7c268005dacc880003015129..."} 
[2026-10-05 22:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce54350012d7c268005dacc880003015129..."} 
[2026-10-05 22:02:08] local.INFO: Processing buffer {"connection_id":205108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce54350012d7c268005dacc880003015129..."} 
[2026-10-05 22:02:08] local.INFO: Packet analysis {"connection_id":205108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce5"} 
[2026-10-05 22:02:08] local.INFO: Extracted packet for processing {"connection_id":205108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce5"} 
[2026-10-05 22:02:08] local.INFO: GPS Element Parsed {"raw_longitude":763111040,"raw_latitude":98225288,"longitude_deg":76.311104,"latitude_deg":9.8225288,"altitude":3,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d7c2680","hex_latitude":"05dacc88","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551729408001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472452098048,"note":"Value kept but may cause issues"} 
[2026-10-05 22:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791217714000,"timestamp_ms":1791217714000,"timestamp_seconds":1791217714,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce54350"} 
[2026-10-05 22:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:02: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-10-05 22: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 22:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22: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-10-05 22:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:02:08] 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-10-05 22:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551729408001,"66":12852,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945978472452098048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551729408001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:02:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:02:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472452098048,"description":"Unknown IO ID 45"} 
[2026-10-05 22:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551729408001,"power":12852,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945978472452098048}} 
[2026-10-05 22:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":205108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:02:08] local.INFO: GPS data processed {"connection_id":205108,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:02:08] local.INFO: Acknowledgment sent {"connection_id":205108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:02:09] local.INFO: TCP Data received {"connection_id":205109,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:02:09] local.INFO: Processing buffer {"connection_id":205109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:02:09] local.INFO: IMEI packet received {"connection_id":205109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":205109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:02:14] local.INFO: TCP Data received {"connection_id":205109,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:02:14] local.INFO: Processing buffer {"connection_id":205109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:02:14] local.INFO: IMEI packet received {"connection_id":205109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":205109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:02:16] local.INFO: TCP Data received {"connection_id":205109,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce68f58012d196600071feee80039015425..."} 
[2026-10-05 22:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce68f58012d196600071feee80039015425..."} 
[2026-10-05 22:02:16] local.INFO: Processing buffer {"connection_id":205109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce68f58012d196600071feee80039015425..."} 
[2026-10-05 22:02:16] local.INFO: Packet analysis {"connection_id":205109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce6"} 
[2026-10-05 22:02:16] local.INFO: Extracted packet for processing {"connection_id":205109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce6"} 
[2026-10-05 22:02:16] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551679488001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791217799000,"timestamp_ms":1791217799000,"timestamp_seconds":1791217799,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce68f58"} 
[2026-10-05 22:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:02:16] 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-10-05 22:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 22:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551679488001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551679488001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:02:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:02:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551679488001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":205109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:02:16] local.INFO: GPS data processed {"connection_id":205109,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:02:16] local.INFO: Acknowledgment sent {"connection_id":205109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:02:24] local.INFO: TCP Data received {"connection_id":205109,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce68f58012d196600071feee80039015425..."} 
[2026-10-05 22:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce68f58012d196600071feee80039015425..."} 
[2026-10-05 22:02:24] local.INFO: Processing buffer {"connection_id":205109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce68f58012d196600071feee80039015425..."} 
[2026-10-05 22:02:24] local.INFO: Packet analysis {"connection_id":205109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce6"} 
[2026-10-05 22:02:24] local.INFO: Extracted packet for processing {"connection_id":205109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce6"} 
[2026-10-05 22:02:24] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551679488001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1791217799000,"timestamp_ms":1791217799000,"timestamp_seconds":1791217799,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce68f58"} 
[2026-10-05 22:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 22:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":205109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":205109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":205109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551679488001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551679488001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:02:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:02:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551679488001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":205109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:02:24] local.INFO: GPS data processed {"connection_id":205109,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:02:24] local.INFO: Acknowledgment sent {"connection_id":205109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:02:35] local.INFO: TCP Data received {"connection_id":208076,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:02:35] local.INFO: Processing buffer {"connection_id":208076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:02:35] local.INFO: IMEI packet received {"connection_id":208076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":208076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:02:39] local.INFO: TCP Data received {"connection_id":206493,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:02:39] local.INFO: Processing buffer {"connection_id":206493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:02:39] local.INFO: IMEI packet received {"connection_id":206493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":206493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:02:40] local.INFO: TCP Data received {"connection_id":208076,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:02:40] local.INFO: Processing buffer {"connection_id":208076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:02:40] local.INFO: IMEI packet received {"connection_id":208076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":208076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:02:41] local.INFO: TCP Data received {"connection_id":208076,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce59558012d7c268005dacc880003015123..."} 
[2026-10-05 22:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce59558012d7c268005dacc880003015123..."} 
[2026-10-05 22:02:41] local.INFO: Processing buffer {"connection_id":208076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce59558012d7c268005dacc880003015123..."} 
[2026-10-05 22:02:41] local.INFO: Packet analysis {"connection_id":208076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce5"} 
[2026-10-05 22:02:41] local.INFO: Extracted packet for processing {"connection_id":208076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce5"} 
[2026-10-05 22:02:41] local.INFO: GPS Element Parsed {"raw_longitude":763111040,"raw_latitude":98225288,"longitude_deg":76.311104,"latitude_deg":9.8225288,"altitude":3,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d7c2680","hex_latitude":"05dacc88","is_valid_coordinates":true} 
[2026-10-05 22:02: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-10-05 22:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551734784001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472452098048,"note":"Value kept but may cause issues"} 
[2026-10-05 22:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791217735000,"timestamp_ms":1791217735000,"timestamp_seconds":1791217735,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce59558"} 
[2026-10-05 22:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:02:41] 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-10-05 22:02: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":52,"data_length":795,"current_offset":136} 
[2026-10-05 22:02:41] 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-10-05 22:02: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-10-05 22:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":208076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":208076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":208076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:02:41] 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-10-05 22:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551734784001,"66":12798,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945978472452098048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551734784001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:02:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:02:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472452098048,"description":"Unknown IO ID 45"} 
[2026-10-05 22:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551734784001,"power":12798,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945978472452098048}} 
[2026-10-05 22:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":208076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:02:41] local.INFO: GPS data processed {"connection_id":208076,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:02:41] local.INFO: Acknowledgment sent {"connection_id":208076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:02:46] local.INFO: TCP Data received {"connection_id":208076,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce5e760012d7c268005dacc880003015125..."} 
[2026-10-05 22:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce5e760012d7c268005dacc880003015125..."} 
[2026-10-05 22:02:46] local.INFO: Processing buffer {"connection_id":208076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce5e760012d7c268005dacc880003015125..."} 
[2026-10-05 22:02:46] local.INFO: Packet analysis {"connection_id":208076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce5"} 
[2026-10-05 22:02:46] local.INFO: Extracted packet for processing {"connection_id":208076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce5"} 
[2026-10-05 22:02:46] local.INFO: GPS Element Parsed {"raw_longitude":763111040,"raw_latitude":98225288,"longitude_deg":76.311104,"latitude_deg":9.8225288,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2680","hex_latitude":"05dacc88","is_valid_coordinates":true} 
[2026-10-05 22:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551740160001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472452098048,"note":"Value kept but may cause issues"} 
[2026-10-05 22:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791217756000,"timestamp_ms":1791217756000,"timestamp_seconds":1791217756,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce5e760"} 
[2026-10-05 22:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:02:46] 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-10-05 22:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-05 22:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":208076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":208076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":208076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551740160001,"66":12613,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945978472452098048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551740160001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:02:46] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:02:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472452098048,"description":"Unknown IO ID 45"} 
[2026-10-05 22:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551740160001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945978472452098048}} 
[2026-10-05 22:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":208076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:02:46] local.INFO: GPS data processed {"connection_id":208076,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:02:46] local.INFO: Acknowledgment sent {"connection_id":208076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:02:54] local.INFO: TCP Data received {"connection_id":208077,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:02:54] local.INFO: Processing buffer {"connection_id":208077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:02:54] local.INFO: IMEI packet received {"connection_id":208077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 22:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":208077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:02:58] local.INFO: TCP Data received {"connection_id":208078,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:02:58] local.INFO: Processing buffer {"connection_id":208078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:02:58] local.INFO: IMEI packet received {"connection_id":208078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":208078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:03:04] local.INFO: TCP Data received {"connection_id":206494,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:03:04] local.INFO: Processing buffer {"connection_id":206494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:03:04] local.INFO: IMEI packet received {"connection_id":206494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":206494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:03:15] local.INFO: TCP Data received {"connection_id":206494,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:03:15] local.INFO: Processing buffer {"connection_id":206494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:03:15] local.INFO: IMEI packet received {"connection_id":206494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":206494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:03:18] local.INFO: TCP Data received {"connection_id":208078,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:03:18] local.INFO: Processing buffer {"connection_id":208078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:03:18] local.INFO: IMEI packet received {"connection_id":208078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":208078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:03:19] local.INFO: TCP Data received {"connection_id":206494,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce68f58012d196600071feee80039015425..."} 
[2026-10-05 22:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce68f58012d196600071feee80039015425..."} 
[2026-10-05 22:03:19] local.INFO: Processing buffer {"connection_id":206494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce68f58012d196600071feee80039015425..."} 
[2026-10-05 22:03:19] local.INFO: Packet analysis {"connection_id":206494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce6"} 
[2026-10-05 22:03:19] local.INFO: Extracted packet for processing {"connection_id":206494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce6"} 
[2026-10-05 22:03:19] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551679488001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791217799000,"timestamp_ms":1791217799000,"timestamp_seconds":1791217799,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce68f58"} 
[2026-10-05 22:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 22:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":206494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":206494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":206494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551679488001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551679488001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:03:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:03:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551679488001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":206494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:03:19] local.INFO: GPS data processed {"connection_id":206494,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:03:19] local.INFO: Acknowledgment sent {"connection_id":206494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:03:24] local.INFO: TCP Data received {"connection_id":208078,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce051b0012d77aac005f272380012016225..."} 
[2026-10-05 22:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce051b0012d77aac005f272380012016225..."} 
[2026-10-05 22:03:24] local.INFO: Processing buffer {"connection_id":208078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce051b0012d77aac005f272380012016225..."} 
[2026-10-05 22:03:24] local.INFO: Packet analysis {"connection_id":208078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce0"} 
[2026-10-05 22:03:24] local.INFO: Extracted packet for processing {"connection_id":208078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce0"} 
[2026-10-05 22:03:24] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":18,"angle":354,"satellites":37,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 22:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551574784001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 22:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 22:03: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-10-05 22:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1791217390000,"timestamp_ms":1791217390000,"timestamp_seconds":1791217390,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce051b0"} 
[2026-10-05 22:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 22:03:24] 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-10-05 22:03:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":208078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":208078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":208078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551574784001,"66":25973,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551574784001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:03:24] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:03:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 22:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551574784001,"power":25973,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 22:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":208078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:03:24] local.INFO: GPS data processed {"connection_id":208078,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:03:24] local.INFO: Acknowledgment sent {"connection_id":208078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:03:30] local.INFO: TCP Data received {"connection_id":204990,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:03:30] local.INFO: Processing buffer {"connection_id":204990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:03:30] local.INFO: IMEI packet received {"connection_id":204990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":204990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:03:31] local.INFO: TCP Data received {"connection_id":208078,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce4e978012d77aac005f272380012016226..."} 
[2026-10-05 22:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce4e978012d77aac005f272380012016226..."} 
[2026-10-05 22:03:31] local.INFO: Processing buffer {"connection_id":208078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce4e978012d77aac005f272380012016226..."} 
[2026-10-05 22:03:31] local.INFO: Packet analysis {"connection_id":208078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce4"} 
[2026-10-05 22:03:31] local.INFO: Extracted packet for processing {"connection_id":208078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce4"} 
[2026-10-05 22:03:31] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":18,"angle":354,"satellites":38,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551651840001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 22:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 22:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791217691000,"timestamp_ms":1791217691000,"timestamp_seconds":1791217691,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce4e978"} 
[2026-10-05 22:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 22:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22: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-10-05 22:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":208078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":208078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":208078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551651840001,"66":25908,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551651840001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:03:31] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:03:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 22:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551651840001,"power":25908,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 22:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":208078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:03:31] local.INFO: GPS data processed {"connection_id":208078,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:03:31] local.INFO: Acknowledgment sent {"connection_id":208078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:03:33] local.INFO: TCP Data received {"connection_id":204991,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:03:33] local.INFO: Processing buffer {"connection_id":204991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:03:33] local.INFO: IMEI packet received {"connection_id":204991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 22:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":204991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:03:35] local.INFO: TCP Data received {"connection_id":204990,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:03:35] local.INFO: Processing buffer {"connection_id":204990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:03:35] local.INFO: IMEI packet received {"connection_id":204990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":204990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:03:37] local.INFO: TCP Data received {"connection_id":204990,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce63968012d7c268005dacc880003015127..."} 
[2026-10-05 22:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce63968012d7c268005dacc880003015127..."} 
[2026-10-05 22:03:37] local.INFO: Processing buffer {"connection_id":204990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce63968012d7c268005dacc880003015127..."} 
[2026-10-05 22:03:37] local.INFO: Packet analysis {"connection_id":204990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce6"} 
[2026-10-05 22:03:37] local.INFO: Extracted packet for processing {"connection_id":204990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce6"} 
[2026-10-05 22:03:37] local.INFO: GPS Element Parsed {"raw_longitude":763111040,"raw_latitude":98225288,"longitude_deg":76.311104,"latitude_deg":9.8225288,"altitude":3,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2680","hex_latitude":"05dacc88","is_valid_coordinates":true} 
[2026-10-05 22:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551745536001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472452098048,"note":"Value kept but may cause issues"} 
[2026-10-05 22:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791217777000,"timestamp_ms":1791217777000,"timestamp_seconds":1791217777,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce63968"} 
[2026-10-05 22:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:03:37] 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-10-05 22:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-05 22:03:37] 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-10-05 22:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":204990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":204990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":204990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:03:37] 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-10-05 22:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551745536001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945978472452098048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551745536001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:03:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:03:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472452098048,"description":"Unknown IO ID 45"} 
[2026-10-05 22:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551745536001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945978472452098048}} 
[2026-10-05 22:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":204990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:03:37] local.INFO: GPS data processed {"connection_id":204990,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:03:37] local.INFO: Acknowledgment sent {"connection_id":204990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:03:58] local.INFO: TCP Data received {"connection_id":205110,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:03:58] local.INFO: Processing buffer {"connection_id":205110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:03:58] local.INFO: IMEI packet received {"connection_id":205110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":205110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:04:04] local.INFO: TCP Data received {"connection_id":205110,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:04:04] local.INFO: Processing buffer {"connection_id":205110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:04:04] local.INFO: IMEI packet received {"connection_id":205110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":205110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:04:08] local.INFO: TCP Data received {"connection_id":204990,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce68b70012d7c268005dacc880003015121..."} 
[2026-10-05 22:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce68b70012d7c268005dacc880003015121..."} 
[2026-10-05 22:04:08] local.INFO: Processing buffer {"connection_id":204990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce68b70012d7c268005dacc880003015121..."} 
[2026-10-05 22:04:08] local.INFO: Packet analysis {"connection_id":204990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce6"} 
[2026-10-05 22:04:08] local.INFO: Extracted packet for processing {"connection_id":204990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce6"} 
[2026-10-05 22:04:08] local.INFO: GPS Element Parsed {"raw_longitude":763111040,"raw_latitude":98225288,"longitude_deg":76.311104,"latitude_deg":9.8225288,"altitude":3,"angle":337,"satellites":33,"speed":0,"hex_longitude":"2d7c2680","hex_latitude":"05dacc88","is_valid_coordinates":true} 
[2026-10-05 22:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551750912001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472452098048,"note":"Value kept but may cause issues"} 
[2026-10-05 22:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791217798000,"timestamp_ms":1791217798000,"timestamp_seconds":1791217798,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce68b70"} 
[2026-10-05 22:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:04: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-10-05 22:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 22:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:04:08] 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-10-05 22:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551750912001,"66":12819,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945978472452098048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551750912001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:04:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:04:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472452098048,"description":"Unknown IO ID 45"} 
[2026-10-05 22:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551750912001,"power":12819,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945978472452098048}} 
[2026-10-05 22:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":204990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970232,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:04:08] local.INFO: GPS data processed {"connection_id":204990,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:04:08] local.INFO: Acknowledgment sent {"connection_id":204990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:04:18] local.INFO: TCP Data received {"connection_id":206495,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:04:18] local.INFO: Processing buffer {"connection_id":206495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:04:18] local.INFO: IMEI packet received {"connection_id":206495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":206495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:04:20] local.INFO: TCP Data received {"connection_id":206495,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:04:20] local.INFO: Processing buffer {"connection_id":206495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:04:20] local.INFO: IMEI packet received {"connection_id":206495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":206495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:04:22] local.INFO: TCP Data received {"connection_id":206495,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce68f58012d196600071feee80039015425..."} 
[2026-10-05 22:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce68f58012d196600071feee80039015425..."} 
[2026-10-05 22:04:22] local.INFO: Processing buffer {"connection_id":206495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce68f58012d196600071feee80039015425..."} 
[2026-10-05 22:04:22] local.INFO: Packet analysis {"connection_id":206495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce6"} 
[2026-10-05 22:04:22] local.INFO: Extracted packet for processing {"connection_id":206495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce6"} 
[2026-10-05 22:04:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551679488001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791217799000,"timestamp_ms":1791217799000,"timestamp_seconds":1791217799,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce68f58"} 
[2026-10-05 22:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:04:22] 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-10-05 22:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 22:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":206495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":206495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":206495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551679488001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551679488001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:04:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:04:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551679488001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":206495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:04:22] local.INFO: GPS data processed {"connection_id":206495,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:04:22] local.INFO: Acknowledgment sent {"connection_id":206495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:04:25] local.INFO: TCP Data received {"connection_id":206495,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce68f58012d196600071feee80039015425..."} 
[2026-10-05 22:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce68f58012d196600071feee80039015425..."} 
[2026-10-05 22:04:25] local.INFO: Processing buffer {"connection_id":206495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce68f58012d196600071feee80039015425..."} 
[2026-10-05 22:04:25] local.INFO: Packet analysis {"connection_id":206495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce6"} 
[2026-10-05 22:04:25] local.INFO: Extracted packet for processing {"connection_id":206495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce6"} 
[2026-10-05 22:04:25] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 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-10-05 22:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551679488001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1791217799000,"timestamp_ms":1791217799000,"timestamp_seconds":1791217799,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce68f58"} 
[2026-10-05 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-10-05 22:04:25] 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-10-05 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 22:04:25] 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-10-05 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-10-05 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-10-05 22:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":206495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":206495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":206495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551679488001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551679488001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:04:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:04:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551679488001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":206495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:04:25] local.INFO: GPS data processed {"connection_id":206495,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:04:25] local.INFO: Acknowledgment sent {"connection_id":206495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:04:30] local.INFO: TCP Data received {"connection_id":205112,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:04:30] local.INFO: Processing buffer {"connection_id":205112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:04:30] local.INFO: IMEI packet received {"connection_id":205112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":205112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:04:34] local.INFO: TCP Data received {"connection_id":205110,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:04:34] local.INFO: Processing buffer {"connection_id":205110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:04:34] local.INFO: IMEI packet received {"connection_id":205110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":205110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:04:35] local.INFO: TCP Data received {"connection_id":205112,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:04:35] local.INFO: Processing buffer {"connection_id":205112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:04:35] local.INFO: IMEI packet received {"connection_id":205112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":205112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:04:37] local.INFO: TCP Data received {"connection_id":205112,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce6dd78012d7c268005dacc880003015129..."} 
[2026-10-05 22:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce6dd78012d7c268005dacc880003015129..."} 
[2026-10-05 22:04:37] local.INFO: Processing buffer {"connection_id":205112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce6dd78012d7c268005dacc880003015129..."} 
[2026-10-05 22:04:37] local.INFO: Packet analysis {"connection_id":205112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce6"} 
[2026-10-05 22:04:37] local.INFO: Extracted packet for processing {"connection_id":205112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce6"} 
[2026-10-05 22:04:37] local.INFO: GPS Element Parsed {"raw_longitude":763111040,"raw_latitude":98225288,"longitude_deg":76.311104,"latitude_deg":9.8225288,"altitude":3,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d7c2680","hex_latitude":"05dacc88","is_valid_coordinates":true} 
[2026-10-05 22:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551756288001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472452098048,"note":"Value kept but may cause issues"} 
[2026-10-05 22:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791217819000,"timestamp_ms":1791217819000,"timestamp_seconds":1791217819,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce6dd78"} 
[2026-10-05 22:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:04:37] 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-10-05 22:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 22:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-10-05 22:04:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 22:04:37] local.WARNING: Large IO value detected {"io_id":128,"raw_value":564398045267456,"note":"Value kept but may cause issues"} 
[2026-10-05 22:04:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-05 22:04:37] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505734308691968,"note":"Value kept but may cause issues"} 
[2026-10-05 22:04:37] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-1995877482146027904,"note":"Value kept but may cause issues"} 
[2026-10-05 22:04:37] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3431464963,"note":"Value kept but may cause issues"} 
[2026-10-05 22:04:37] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6413389756465742080,"note":"Value kept but may cause issues"} 
[2026-10-05 22:04:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7323135355274330136,"corrected_to":0} 
[2026-10-05 22:04:37] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2147867340,"note":"Value kept but may cause issues"} 
[2026-10-05 22:04:37] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182225414652160,"note":"Value kept but may cause issues"} 
[2026-10-05 22:04:37] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4972199824993603157,"note":"Value kept but may cause issues"} 
[2026-10-05 22:04:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2680618144560492255,"note":"Value kept but may cause issues"} 
[2026-10-05 22:04:37] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-10-05 22:04:37] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195022592,"note":"Value kept but may cause issues"} 
[2026-10-05 22:04:37] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84860477083343564,"note":"Value kept but may cause issues"} 
[2026-10-05 22:04:37] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,161,85,24,241,157,16,4,57,45,128,204,3,39,10,66,231,37,149,1,240,254,227,12,218,113,205,38,136,239,49,2,5,59,236,69,48],"length":625,"final_offset":755,"validated_count":37,"validation_warnings":[{"io_id":205,"original":7323135355274330136,"validated":0}]} 
[2026-10-05 22:04:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216543459266265088,"timestamp_seconds":216543459266265.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 22:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551756288001,"66":13928,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945978472452098048},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551756288001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:04:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:04:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472452098048,"description":"Unknown IO ID 45"} 
[2026-10-05 22:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551756288001,"power":13928,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945978472452098048}} 
[2026-10-05 22:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":205112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970235,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:04:37] local.INFO: GPS data processed {"connection_id":205112,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:04:37] local.INFO: Acknowledgment sent {"connection_id":205112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:05:07] local.INFO: TCP Data received {"connection_id":205112,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce72f80012d7c268005dacc880003015127..."} 
[2026-10-05 22:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce72f80012d7c268005dacc880003015127..."} 
[2026-10-05 22:05:07] local.INFO: Processing buffer {"connection_id":205112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce72f80012d7c268005dacc880003015127..."} 
[2026-10-05 22:05:07] local.INFO: Packet analysis {"connection_id":205112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce7"} 
[2026-10-05 22:05:07] local.INFO: Extracted packet for processing {"connection_id":205112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce7"} 
[2026-10-05 22:05:07] local.INFO: GPS Element Parsed {"raw_longitude":763111040,"raw_latitude":98225288,"longitude_deg":76.311104,"latitude_deg":9.8225288,"altitude":3,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2680","hex_latitude":"05dacc88","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551761664001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472452098048,"note":"Value kept but may cause issues"} 
[2026-10-05 22:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791217840000,"timestamp_ms":1791217840000,"timestamp_seconds":1791217840,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce72f80"} 
[2026-10-05 22:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 22: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-05 22:05:07] 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-10-05 22: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-10-05 22:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551761664001,"66":13798,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945978472452098048},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551761664001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:05:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:05:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472452098048,"description":"Unknown IO ID 45"} 
[2026-10-05 22:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551761664001,"power":13798,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945978472452098048}} 
[2026-10-05 22:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":205112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:05:08] local.INFO: GPS data processed {"connection_id":205112,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:05:08] local.INFO: Acknowledgment sent {"connection_id":205112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:05:17] local.INFO: TCP Data received {"connection_id":205113,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:05:17] local.INFO: Processing buffer {"connection_id":205113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:05:17] local.INFO: IMEI packet received {"connection_id":205113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":205113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:05:18] local.INFO: TCP Data received {"connection_id":205113,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:05:18] local.INFO: Processing buffer {"connection_id":205113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:05:18] local.INFO: IMEI packet received {"connection_id":205113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":205113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:05:19] local.INFO: TCP Data received {"connection_id":205113,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce68f58012d196600071feee80039015425..."} 
[2026-10-05 22:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce68f58012d196600071feee80039015425..."} 
[2026-10-05 22:05:19] local.INFO: Processing buffer {"connection_id":205113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce68f58012d196600071feee80039015425..."} 
[2026-10-05 22:05:19] local.INFO: Packet analysis {"connection_id":205113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce6"} 
[2026-10-05 22:05:19] local.INFO: Extracted packet for processing {"connection_id":205113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce6"} 
[2026-10-05 22:05:19] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551679488001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791217799000,"timestamp_ms":1791217799000,"timestamp_seconds":1791217799,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce68f58"} 
[2026-10-05 22:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 22:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":205113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":205113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":205113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551679488001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551679488001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:05:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:05:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551679488001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":205113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:05:19] local.INFO: GPS data processed {"connection_id":205113,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:05:19] local.INFO: Acknowledgment sent {"connection_id":205113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:05:20] local.INFO: TCP Data received {"connection_id":205113,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce68f58012d196600071feee80039015425..."} 
[2026-10-05 22:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce68f58012d196600071feee80039015425..."} 
[2026-10-05 22:05:20] local.INFO: Processing buffer {"connection_id":205113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce68f58012d196600071feee80039015425..."} 
[2026-10-05 22:05:20] local.INFO: Packet analysis {"connection_id":205113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce6"} 
[2026-10-05 22:05:20] local.INFO: Extracted packet for processing {"connection_id":205113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce6"} 
[2026-10-05 22:05:20] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551679488001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791217799000,"timestamp_ms":1791217799000,"timestamp_seconds":1791217799,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce68f58"} 
[2026-10-05 22:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:05:20] 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-10-05 22:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 22:05:20] 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-10-05 22:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":205113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":205113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":205113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551679488001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551679488001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:05:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:05:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551679488001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":205113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:05:21] local.INFO: GPS data processed {"connection_id":205113,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:05:21] local.INFO: Acknowledgment sent {"connection_id":205113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:05:29] local.INFO: TCP Data received {"connection_id":208080,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:05:29] local.INFO: Processing buffer {"connection_id":208080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:05:29] local.INFO: IMEI packet received {"connection_id":208080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":208080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:05:30] local.INFO: TCP Data received {"connection_id":208081,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:05:30] local.INFO: Processing buffer {"connection_id":208081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:05:30] local.INFO: IMEI packet received {"connection_id":208081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":208081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:05:35] local.INFO: TCP Data received {"connection_id":208081,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:05:35] local.INFO: Processing buffer {"connection_id":208081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:05:35] local.INFO: IMEI packet received {"connection_id":208081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":208081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:05:36] local.INFO: TCP Data received {"connection_id":208081,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce78188012d7c268005dacc880003015126..."} 
[2026-10-05 22:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce78188012d7c268005dacc880003015126..."} 
[2026-10-05 22:05:36] local.INFO: Processing buffer {"connection_id":208081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce78188012d7c268005dacc880003015126..."} 
[2026-10-05 22:05:36] local.INFO: Packet analysis {"connection_id":208081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce7"} 
[2026-10-05 22:05:36] local.INFO: Extracted packet for processing {"connection_id":208081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce7"} 
[2026-10-05 22:05:36] local.INFO: GPS Element Parsed {"raw_longitude":763111040,"raw_latitude":98225288,"longitude_deg":76.311104,"latitude_deg":9.8225288,"altitude":3,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d7c2680","hex_latitude":"05dacc88","is_valid_coordinates":true} 
[2026-10-05 22:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551767040001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472452098048,"note":"Value kept but may cause issues"} 
[2026-10-05 22:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791217861000,"timestamp_ms":1791217861000,"timestamp_seconds":1791217861,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce78188"} 
[2026-10-05 22:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 22:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-05 22:05:36] 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-10-05 22:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551767040001,"66":13928,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945978472452098048},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551767040001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:05:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:05:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472452098048,"description":"Unknown IO ID 45"} 
[2026-10-05 22:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551767040001,"power":13928,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945978472452098048}} 
[2026-10-05 22:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":208081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970239,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:05:36] local.INFO: GPS data processed {"connection_id":208081,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:05:36] local.INFO: Acknowledgment sent {"connection_id":208081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:06:07] local.INFO: TCP Data received {"connection_id":208081,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce7d390012d7c268005dacc880003015127..."} 
[2026-10-05 22:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce7d390012d7c268005dacc880003015127..."} 
[2026-10-05 22:06:07] local.INFO: Processing buffer {"connection_id":208081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce7d390012d7c268005dacc880003015127..."} 
[2026-10-05 22:06:07] local.INFO: Packet analysis {"connection_id":208081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce7"} 
[2026-10-05 22:06:07] local.INFO: Extracted packet for processing {"connection_id":208081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce7"} 
[2026-10-05 22:06:07] local.INFO: GPS Element Parsed {"raw_longitude":763111040,"raw_latitude":98225288,"longitude_deg":76.311104,"latitude_deg":9.8225288,"altitude":3,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2680","hex_latitude":"05dacc88","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551772416001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472452098048,"note":"Value kept but may cause issues"} 
[2026-10-05 22:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791217882000,"timestamp_ms":1791217882000,"timestamp_seconds":1791217882,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce7d390"} 
[2026-10-05 22:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 22: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-05 22:06:07] 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-10-05 22: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-10-05 22:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":208081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":208081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":208081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551772416001,"66":13830,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945978472452098048},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551772416001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:06:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:06:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472452098048,"description":"Unknown IO ID 45"} 
[2026-10-05 22:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551772416001,"power":13830,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945978472452098048}} 
[2026-10-05 22:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":208081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970240,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:06:07] local.INFO: GPS data processed {"connection_id":208081,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:06:07] local.INFO: Acknowledgment sent {"connection_id":208081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:06:30] local.INFO: TCP Data received {"connection_id":204992,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:06:30] local.INFO: Processing buffer {"connection_id":204992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:06:30] local.INFO: IMEI packet received {"connection_id":204992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":204992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:06:35] local.INFO: TCP Data received {"connection_id":204992,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:06:35] local.INFO: Processing buffer {"connection_id":204992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:06:35] local.INFO: IMEI packet received {"connection_id":204992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":204992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:06:36] local.INFO: TCP Data received {"connection_id":204992,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce82598012d7c268005dacc880003015128..."} 
[2026-10-05 22:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce82598012d7c268005dacc880003015128..."} 
[2026-10-05 22:06:36] local.INFO: Processing buffer {"connection_id":204992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce82598012d7c268005dacc880003015128..."} 
[2026-10-05 22:06:36] local.INFO: Packet analysis {"connection_id":204992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce8"} 
[2026-10-05 22:06:36] local.INFO: Extracted packet for processing {"connection_id":204992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce8"} 
[2026-10-05 22:06:36] local.INFO: GPS Element Parsed {"raw_longitude":763111040,"raw_latitude":98225288,"longitude_deg":76.311104,"latitude_deg":9.8225288,"altitude":3,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2680","hex_latitude":"05dacc88","is_valid_coordinates":true} 
[2026-10-05 22:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551777792001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472452098048,"note":"Value kept but may cause issues"} 
[2026-10-05 22:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791217903000,"timestamp_ms":1791217903000,"timestamp_seconds":1791217903,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce82598"} 
[2026-10-05 22:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 22:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-05 22:06:36] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-10-05 22:06:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626575266816,"note":"Value kept but may cause issues"} 
[2026-10-05 22:06:36] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":-8646907980360253440,"corrected_to":0} 
[2026-10-05 22:06:36] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2147867340,"note":"Value kept but may cause issues"} 
[2026-10-05 22:06:36] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3867897857,"note":"Value kept but may cause issues"} 
[2026-10-05 22:06:36] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3431464963,"note":"Value kept but may cause issues"} 
[2026-10-05 22:06:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705050318,"corrected_to":0} 
[2026-10-05 22:06:36] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397029,"note":"Value kept but may cause issues"} 
[2026-10-05 22:06:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3670837248,"note":"Value kept but may cause issues"} 
[2026-10-05 22:06:36] local.WARNING: Large IO value detected {"io_id":149,"raw_value":6341399761559487962,"note":"Value kept but may cause issues"} 
[2026-10-05 22:06:36] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,161,85,24,241,157,16,4,129,45,128,204,3,38,10,66,47,39,221,1,240,104,227,12,218,113,205,57,136,239,49,2,5,149],"length":528,"final_offset":658,"validated_count":34,"validation_warnings":[{"io_id":204,"original":-8646907980360253440,"validated":0},{"io_id":205,"original":1705050318,"validated":0}]} 
[2026-10-05 22:06:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216543485036068864,"timestamp_seconds":216543485036068.88,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 22:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551777792001,"66":13906,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945978472452098048},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551777792001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:06:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:06:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472452098048,"description":"Unknown IO ID 45"} 
[2026-10-05 22:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551777792001,"power":13906,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945978472452098048}} 
[2026-10-05 22:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":204992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:06:36] local.INFO: GPS data processed {"connection_id":204992,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:06:36] local.INFO: Acknowledgment sent {"connection_id":204992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:07:04] local.INFO: TCP Data received {"connection_id":204993,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:07:04] local.INFO: Processing buffer {"connection_id":204993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:07:04] local.INFO: IMEI packet received {"connection_id":204993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":204993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:07:08] local.INFO: TCP Data received {"connection_id":204992,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce877a0012d7c268005dacc880003015124..."} 
[2026-10-05 22:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce877a0012d7c268005dacc880003015124..."} 
[2026-10-05 22:07:08] local.INFO: Processing buffer {"connection_id":204992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce877a0012d7c268005dacc880003015124..."} 
[2026-10-05 22:07:08] local.INFO: Packet analysis {"connection_id":204992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce8"} 
[2026-10-05 22:07:08] local.INFO: Extracted packet for processing {"connection_id":204992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce8"} 
[2026-10-05 22:07:08] local.INFO: GPS Element Parsed {"raw_longitude":763111040,"raw_latitude":98225288,"longitude_deg":76.311104,"latitude_deg":9.8225288,"altitude":3,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d7c2680","hex_latitude":"05dacc88","is_valid_coordinates":true} 
[2026-10-05 22:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551783168001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472452098048,"note":"Value kept but may cause issues"} 
[2026-10-05 22:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791217924000,"timestamp_ms":1791217924000,"timestamp_seconds":1791217924,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce877a0"} 
[2026-10-05 22:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 22:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-05 22:07:08] 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-10-05 22:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":204992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":204992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":204992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551783168001,"66":13722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945978472452098048},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551783168001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:07:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:07:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472452098048,"description":"Unknown IO ID 45"} 
[2026-10-05 22:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551783168001,"power":13722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945978472452098048}} 
[2026-10-05 22:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":204992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:07:08] local.INFO: GPS data processed {"connection_id":204992,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:07:08] local.INFO: Acknowledgment sent {"connection_id":204992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:07:17] local.INFO: TCP Data received {"connection_id":204993,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:07:17] local.INFO: Processing buffer {"connection_id":204993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:07:17] local.INFO: IMEI packet received {"connection_id":204993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":204993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:07:26] local.INFO: TCP Data received {"connection_id":204993,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ceb2720012d196600071feee80039015427..."} 
[2026-10-05 22:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ceb2720012d196600071feee80039015427..."} 
[2026-10-05 22:07:26] local.INFO: Processing buffer {"connection_id":204993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ceb2720012d196600071feee80039015427..."} 
[2026-10-05 22:07:26] local.INFO: Packet analysis {"connection_id":204993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ceb"} 
[2026-10-05 22:07:26] local.INFO: Extracted packet for processing {"connection_id":204993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ceb"} 
[2026-10-05 22:07:26] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551756544001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:07:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1791218100000,"timestamp_ms":1791218100000,"timestamp_seconds":1791218100,"priority":1,"record_length":96,"hex_timestamp":"000001a10ceb2720"} 
[2026-10-05 22:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 22:07:26] 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-10-05 22: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-10-05 22:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":204993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":204993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":204993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551756544001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551756544001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:07:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:07:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551756544001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":204993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:07:26] local.INFO: GPS data processed {"connection_id":204993,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:07:26] local.INFO: Acknowledgment sent {"connection_id":204993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:07:35] local.INFO: TCP Data received {"connection_id":208083,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:07:35] local.INFO: Processing buffer {"connection_id":208083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:07:35] local.INFO: IMEI packet received {"connection_id":208083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":208083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:07:40] local.INFO: TCP Data received {"connection_id":208083,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:07:40] local.INFO: Processing buffer {"connection_id":208083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:07:40] local.INFO: IMEI packet received {"connection_id":208083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":208083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:07:41] local.INFO: TCP Data received {"connection_id":208083,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce88358012d7c268005dacc880003015123..."} 
[2026-10-05 22:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce88358012d7c268005dacc880003015123..."} 
[2026-10-05 22:07:41] local.INFO: Processing buffer {"connection_id":208083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce88358012d7c268005dacc880003015123..."} 
[2026-10-05 22:07:41] local.INFO: Packet analysis {"connection_id":208083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce8"} 
[2026-10-05 22:07:41] local.INFO: Extracted packet for processing {"connection_id":208083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce8"} 
[2026-10-05 22:07:41] local.INFO: GPS Element Parsed {"raw_longitude":763111040,"raw_latitude":98225288,"longitude_deg":76.311104,"latitude_deg":9.8225288,"altitude":3,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d7c2680","hex_latitude":"05dacc88","is_valid_coordinates":true} 
[2026-10-05 22:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551788544001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472452098048,"note":"Value kept but may cause issues"} 
[2026-10-05 22:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791217927000,"timestamp_ms":1791217927000,"timestamp_seconds":1791217927,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce88358"} 
[2026-10-05 22:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:07:41] 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-10-05 22:07: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":154,"data_length":795,"current_offset":136} 
[2026-10-05 22:07:41] 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-10-05 22:07: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-10-05 22:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":208083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":208083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":208083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551788544001,"66":13993,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945978472452098048},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551788544001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:07:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472452098048,"description":"Unknown IO ID 45"} 
[2026-10-05 22:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551788544001,"power":13993,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945978472452098048}} 
[2026-10-05 22:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":208083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:07:41] local.INFO: GPS data processed {"connection_id":208083,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:07:41] local.INFO: Acknowledgment sent {"connection_id":208083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:07:46] local.INFO: TCP Data received {"connection_id":208083,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce88358012d7c268005dacc880003015123..."} 
[2026-10-05 22:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce88358012d7c268005dacc880003015123..."} 
[2026-10-05 22:07:46] local.INFO: Processing buffer {"connection_id":208083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce88358012d7c268005dacc880003015123..."} 
[2026-10-05 22:07:46] local.INFO: Packet analysis {"connection_id":208083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce8"} 
[2026-10-05 22:07:46] local.INFO: Extracted packet for processing {"connection_id":208083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce8"} 
[2026-10-05 22:07:46] local.INFO: GPS Element Parsed {"raw_longitude":763111040,"raw_latitude":98225288,"longitude_deg":76.311104,"latitude_deg":9.8225288,"altitude":3,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d7c2680","hex_latitude":"05dacc88","is_valid_coordinates":true} 
[2026-10-05 22:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551789312001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472452098048,"note":"Value kept but may cause issues"} 
[2026-10-05 22:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791217927000,"timestamp_ms":1791217927000,"timestamp_seconds":1791217927,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce88358"} 
[2026-10-05 22:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 22:07:46] 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-10-05 22:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":208083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":208083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":208083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551789312001,"66":13993,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945978472452098048},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551789312001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:07:46] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:07:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472452098048,"description":"Unknown IO ID 45"} 
[2026-10-05 22:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551789312001,"power":13993,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945978472452098048}} 
[2026-10-05 22:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":208083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970245,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:07:46] local.INFO: GPS data processed {"connection_id":208083,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:07:46] local.INFO: Acknowledgment sent {"connection_id":208083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:08:14] local.INFO: TCP Data received {"connection_id":205116,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:08:14] local.INFO: Processing buffer {"connection_id":205116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:08:14] local.INFO: IMEI packet received {"connection_id":205116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":205116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:08:25] local.INFO: TCP Data received {"connection_id":205116,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:08:25] local.INFO: Processing buffer {"connection_id":205116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:08:25] local.INFO: IMEI packet received {"connection_id":205116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":205116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:08:28] local.INFO: TCP Data received {"connection_id":205116,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ceb2720012d196600071feee80039015427..."} 
[2026-10-05 22:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ceb2720012d196600071feee80039015427..."} 
[2026-10-05 22:08:28] local.INFO: Processing buffer {"connection_id":205116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ceb2720012d196600071feee80039015427..."} 
[2026-10-05 22:08:28] local.INFO: Packet analysis {"connection_id":205116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ceb"} 
[2026-10-05 22:08:28] local.INFO: Extracted packet for processing {"connection_id":205116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ceb"} 
[2026-10-05 22:08:28] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551756544001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1791218100000,"timestamp_ms":1791218100000,"timestamp_seconds":1791218100,"priority":1,"record_length":96,"hex_timestamp":"000001a10ceb2720"} 
[2026-10-05 22:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 22:08: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-10-05 22: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-10-05 22:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":205116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":205116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":205116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551756544001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551756544001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:08:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:08:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551756544001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":205116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:08:28] local.INFO: GPS data processed {"connection_id":205116,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:08:28] local.INFO: Acknowledgment sent {"connection_id":205116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:08:31] local.INFO: TCP Data received {"connection_id":208086,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:08:31] local.INFO: Processing buffer {"connection_id":208086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:08:31] local.INFO: IMEI packet received {"connection_id":208086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":208086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:08:35] local.INFO: TCP Data received {"connection_id":208086,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:08:35] local.INFO: Processing buffer {"connection_id":208086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:08:35] local.INFO: IMEI packet received {"connection_id":208086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":208086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:08:36] local.INFO: TCP Data received {"connection_id":208086,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10ced1f08012d7c254005dacc900003015125..."} 
[2026-10-05 22:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ced1f08012d7c254005dacc900003015125..."} 
[2026-10-05 22:08:36] local.INFO: Processing buffer {"connection_id":208086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ced1f08012d7c254005dacc900003015125..."} 
[2026-10-05 22:08:36] local.INFO: Packet analysis {"connection_id":208086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ced"} 
[2026-10-05 22:08:36] local.INFO: Extracted packet for processing {"connection_id":208086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ced"} 
[2026-10-05 22:08:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551789312001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472452098048,"note":"Value kept but may cause issues"} 
[2026-10-05 22:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791218229000,"timestamp_ms":1791218229000,"timestamp_seconds":1791218229,"priority":1,"record_length":96,"hex_timestamp":"000001a10ced1f08"} 
[2026-10-05 22:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 22:08:36] 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-10-05 22:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551789312001,"66":13178,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945978472452098048},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551789312001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:08:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:08:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472452098048,"description":"Unknown IO ID 45"} 
[2026-10-05 22:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551789312001,"power":13178,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945978472452098048}} 
[2026-10-05 22:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":208086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:08:36] local.INFO: GPS data processed {"connection_id":208086,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:08:36] local.INFO: Acknowledgment sent {"connection_id":208086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:08:41] local.INFO: TCP Data received {"connection_id":208086,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10ced1f08012d7c254005dacc900003015125..."} 
[2026-10-05 22:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ced1f08012d7c254005dacc900003015125..."} 
[2026-10-05 22:08:41] local.INFO: Processing buffer {"connection_id":208086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ced1f08012d7c254005dacc900003015125..."} 
[2026-10-05 22:08:41] local.INFO: Packet analysis {"connection_id":208086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ced"} 
[2026-10-05 22:08:41] local.INFO: Extracted packet for processing {"connection_id":208086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ced"} 
[2026-10-05 22:08:41] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551789312001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472452098048,"note":"Value kept but may cause issues"} 
[2026-10-05 22:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791218229000,"timestamp_ms":1791218229000,"timestamp_seconds":1791218229,"priority":1,"record_length":96,"hex_timestamp":"000001a10ced1f08"} 
[2026-10-05 22:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 22:08:41] 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-10-05 22: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-10-05 22:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":208086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":208086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":208086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551789312001,"66":13178,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945978472452098048},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551789312001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:08:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472452098048,"description":"Unknown IO ID 45"} 
[2026-10-05 22:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551789312001,"power":13178,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945978472452098048}} 
[2026-10-05 22:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":208086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:08:41] local.INFO: GPS data processed {"connection_id":208086,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:08:41] local.INFO: Acknowledgment sent {"connection_id":208086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:08:53] local.INFO: TCP Data received {"connection_id":205117,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:08:53] local.INFO: Processing buffer {"connection_id":205117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:08:53] local.INFO: IMEI packet received {"connection_id":205117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 22:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":205117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:09:04] local.INFO: TCP Data received {"connection_id":205118,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:09:04] local.INFO: Processing buffer {"connection_id":205118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:09:04] local.INFO: IMEI packet received {"connection_id":205118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":205118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:09:12] local.INFO: TCP Data received {"connection_id":208086,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10ced1f08012d7c254005dacc900003015125..."} 
[2026-10-05 22:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ced1f08012d7c254005dacc900003015125..."} 
[2026-10-05 22:09:12] local.INFO: Processing buffer {"connection_id":208086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ced1f08012d7c254005dacc900003015125..."} 
[2026-10-05 22:09:12] local.INFO: Packet analysis {"connection_id":208086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ced"} 
[2026-10-05 22:09:12] local.INFO: Extracted packet for processing {"connection_id":208086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ced"} 
[2026-10-05 22:09:12] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551789312001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472452098048,"note":"Value kept but may cause issues"} 
[2026-10-05 22:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791218229000,"timestamp_ms":1791218229000,"timestamp_seconds":1791218229,"priority":1,"record_length":96,"hex_timestamp":"000001a10ced1f08"} 
[2026-10-05 22:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 22:09:12] 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-10-05 22: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-10-05 22:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":208086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":208086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":208086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551789312001,"66":13178,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945978472452098048},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551789312001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:09:12] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:09:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472452098048,"description":"Unknown IO ID 45"} 
[2026-10-05 22:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551789312001,"power":13178,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945978472452098048}} 
[2026-10-05 22:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":208086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:09:12] local.INFO: GPS data processed {"connection_id":208086,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:09:12] local.INFO: Acknowledgment sent {"connection_id":208086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:09:12] local.INFO: TCP Data received {"connection_id":205118,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:09:12] local.INFO: Processing buffer {"connection_id":205118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:09:12] local.INFO: IMEI packet received {"connection_id":205118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":205118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:09:19] local.INFO: TCP Data received {"connection_id":205118,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ceb2720012d196600071feee80039015427..."} 
[2026-10-05 22:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ceb2720012d196600071feee80039015427..."} 
[2026-10-05 22:09:19] local.INFO: Processing buffer {"connection_id":205118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ceb2720012d196600071feee80039015427..."} 
[2026-10-05 22:09:19] local.INFO: Packet analysis {"connection_id":205118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ceb"} 
[2026-10-05 22:09:19] local.INFO: Extracted packet for processing {"connection_id":205118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ceb"} 
[2026-10-05 22:09:19] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551756544001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791218100000,"timestamp_ms":1791218100000,"timestamp_seconds":1791218100,"priority":1,"record_length":96,"hex_timestamp":"000001a10ceb2720"} 
[2026-10-05 22:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 22:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":205118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":205118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":205118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551756544001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551756544001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:09:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:09:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551756544001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":205118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:09:19] local.INFO: GPS data processed {"connection_id":205118,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:09:19] local.INFO: Acknowledgment sent {"connection_id":205118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:09:30] local.INFO: TCP Data received {"connection_id":205119,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:09:30] local.INFO: Processing buffer {"connection_id":205119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:09:30] local.INFO: IMEI packet received {"connection_id":205119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":205119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:09:35] local.INFO: TCP Data received {"connection_id":205119,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:09:35] local.INFO: Processing buffer {"connection_id":205119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:09:35] local.INFO: IMEI packet received {"connection_id":205119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":205119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:09:36] local.INFO: TCP Data received {"connection_id":205119,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10ced1f08012d7c254005dacc900003015125..."} 
[2026-10-05 22:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ced1f08012d7c254005dacc900003015125..."} 
[2026-10-05 22:09:36] local.INFO: Processing buffer {"connection_id":205119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ced1f08012d7c254005dacc900003015125..."} 
[2026-10-05 22:09:36] local.INFO: Packet analysis {"connection_id":205119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ced"} 
[2026-10-05 22:09:36] local.INFO: Extracted packet for processing {"connection_id":205119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ced"} 
[2026-10-05 22:09:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551789312001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472452098048,"note":"Value kept but may cause issues"} 
[2026-10-05 22:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791218229000,"timestamp_ms":1791218229000,"timestamp_seconds":1791218229,"priority":1,"record_length":96,"hex_timestamp":"000001a10ced1f08"} 
[2026-10-05 22:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 22:09:36] 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-10-05 22:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551789312001,"66":13178,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945978472452098048},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551789312001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:09:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:09:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472452098048,"description":"Unknown IO ID 45"} 
[2026-10-05 22:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551789312001,"power":13178,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945978472452098048}} 
[2026-10-05 22:09:36] local.INFO: TCP Data received {"connection_id":204994,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:09:36] local.INFO: Processing buffer {"connection_id":204994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:09:36] local.INFO: IMEI packet received {"connection_id":204994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 22:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":204994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":205119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970251,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:09:36] local.INFO: GPS data processed {"connection_id":205119,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:09:36] local.INFO: Acknowledgment sent {"connection_id":205119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:10:07] local.INFO: TCP Data received {"connection_id":205119,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10ced1f08012d7c254005dacc900003015125..."} 
[2026-10-05 22:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ced1f08012d7c254005dacc900003015125..."} 
[2026-10-05 22:10:07] local.INFO: Processing buffer {"connection_id":205119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ced1f08012d7c254005dacc900003015125..."} 
[2026-10-05 22:10:07] local.INFO: Packet analysis {"connection_id":205119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ced"} 
[2026-10-05 22:10:07] local.INFO: Extracted packet for processing {"connection_id":205119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ced"} 
[2026-10-05 22:10:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551789312001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472452098048,"note":"Value kept but may cause issues"} 
[2026-10-05 22:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791218229000,"timestamp_ms":1791218229000,"timestamp_seconds":1791218229,"priority":1,"record_length":96,"hex_timestamp":"000001a10ced1f08"} 
[2026-10-05 22:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22: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-10-05 22: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 22:10:07] 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-10-05 22: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-10-05 22:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551789312001,"66":13178,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945978472452098048},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551789312001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:10:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:10:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472452098048,"description":"Unknown IO ID 45"} 
[2026-10-05 22:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551789312001,"power":13178,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945978472452098048}} 
[2026-10-05 22:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":205119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:10:07] local.INFO: GPS data processed {"connection_id":205119,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:10:07] local.INFO: Acknowledgment sent {"connection_id":205119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:10:10] local.INFO: TCP Data received {"connection_id":206498,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:10:10] local.INFO: Processing buffer {"connection_id":206498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:10:10] local.INFO: IMEI packet received {"connection_id":206498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":206498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:10:15] local.INFO: TCP Data received {"connection_id":206498,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:10:15] local.INFO: Processing buffer {"connection_id":206498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:10:15] local.INFO: IMEI packet received {"connection_id":206498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":206498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:10:17] local.INFO: TCP Data received {"connection_id":206498,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ceb2720012d196600071feee80039015427..."} 
[2026-10-05 22:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ceb2720012d196600071feee80039015427..."} 
[2026-10-05 22:10:17] local.INFO: Processing buffer {"connection_id":206498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ceb2720012d196600071feee80039015427..."} 
[2026-10-05 22:10:17] local.INFO: Packet analysis {"connection_id":206498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ceb"} 
[2026-10-05 22:10:17] local.INFO: Extracted packet for processing {"connection_id":206498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ceb"} 
[2026-10-05 22:10:17] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551756544001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791218100000,"timestamp_ms":1791218100000,"timestamp_seconds":1791218100,"priority":1,"record_length":96,"hex_timestamp":"000001a10ceb2720"} 
[2026-10-05 22:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 22:10:17] 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-10-05 22:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":206498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":206498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":206498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551756544001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551756544001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:10:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:10:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551756544001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":206498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:10:17] local.INFO: GPS data processed {"connection_id":206498,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:10:17] local.INFO: Acknowledgment sent {"connection_id":206498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:10:20] local.INFO: TCP Data received {"connection_id":206498,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ceb2720012d196600071feee80039015427..."} 
[2026-10-05 22:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ceb2720012d196600071feee80039015427..."} 
[2026-10-05 22:10:20] local.INFO: Processing buffer {"connection_id":206498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ceb2720012d196600071feee80039015427..."} 
[2026-10-05 22:10:20] local.INFO: Packet analysis {"connection_id":206498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ceb"} 
[2026-10-05 22:10:20] local.INFO: Extracted packet for processing {"connection_id":206498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ceb"} 
[2026-10-05 22:10:20] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551756544001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791218100000,"timestamp_ms":1791218100000,"timestamp_seconds":1791218100,"priority":1,"record_length":96,"hex_timestamp":"000001a10ceb2720"} 
[2026-10-05 22:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 22:10:20] 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-10-05 22:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":206498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":206498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":206498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551756544001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551756544001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:10:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:10:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551756544001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":206498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:10:20] local.INFO: GPS data processed {"connection_id":206498,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:10:20] local.INFO: Acknowledgment sent {"connection_id":206498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:10:30] local.INFO: TCP Data received {"connection_id":208088,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:10:30] local.INFO: Processing buffer {"connection_id":208088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:10:30] local.INFO: IMEI packet received {"connection_id":208088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":208088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:10:34] local.INFO: TCP Data received {"connection_id":206497,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:10:34] local.INFO: Processing buffer {"connection_id":206497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:10:34] local.INFO: IMEI packet received {"connection_id":206497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":206497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:10:35] local.INFO: TCP Data received {"connection_id":208088,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:10:35] local.INFO: Processing buffer {"connection_id":208088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:10:35] local.INFO: IMEI packet received {"connection_id":208088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":208088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:10:36] local.INFO: TCP Data received {"connection_id":208088,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10ced1f08012d7c254005dacc900003015125..."} 
[2026-10-05 22:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ced1f08012d7c254005dacc900003015125..."} 
[2026-10-05 22:10:36] local.INFO: Processing buffer {"connection_id":208088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ced1f08012d7c254005dacc900003015125..."} 
[2026-10-05 22:10:36] local.INFO: Packet analysis {"connection_id":208088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ced"} 
[2026-10-05 22:10:36] local.INFO: Extracted packet for processing {"connection_id":208088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ced"} 
[2026-10-05 22:10:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551789312001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472452098048,"note":"Value kept but may cause issues"} 
[2026-10-05 22:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791218229000,"timestamp_ms":1791218229000,"timestamp_seconds":1791218229,"priority":1,"record_length":96,"hex_timestamp":"000001a10ced1f08"} 
[2026-10-05 22:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 22:10:36] 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-10-05 22: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-10-05 22:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551789312001,"66":13178,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945978472452098048},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551789312001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:10:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:10:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472452098048,"description":"Unknown IO ID 45"} 
[2026-10-05 22:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551789312001,"power":13178,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945978472452098048}} 
[2026-10-05 22:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":208088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:10:36] local.INFO: GPS data processed {"connection_id":208088,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:10:36] local.INFO: Acknowledgment sent {"connection_id":208088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:10:53] local.INFO: TCP Data received {"connection_id":205121,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:10:53] local.INFO: Processing buffer {"connection_id":205121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:10:53] local.INFO: IMEI packet received {"connection_id":205121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":205121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:11:01] local.INFO: TCP Data received {"connection_id":205121,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:11:01] local.INFO: Processing buffer {"connection_id":205121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:11:01] local.INFO: IMEI packet received {"connection_id":205121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":205121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:11:04] local.INFO: TCP Data received {"connection_id":205121,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:11:04] local.INFO: Processing buffer {"connection_id":205121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:11:04] local.INFO: IMEI packet received {"connection_id":205121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":205121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:11:07] local.INFO: TCP Data received {"connection_id":208088,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10ced1f08012d7c254005dacc900003015125..."} 
[2026-10-05 22:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ced1f08012d7c254005dacc900003015125..."} 
[2026-10-05 22:11:07] local.INFO: Processing buffer {"connection_id":208088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ced1f08012d7c254005dacc900003015125..."} 
[2026-10-05 22:11:07] local.INFO: Packet analysis {"connection_id":208088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ced"} 
[2026-10-05 22:11:07] local.INFO: Extracted packet for processing {"connection_id":208088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ced"} 
[2026-10-05 22:11:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551789312001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472452098048,"note":"Value kept but may cause issues"} 
[2026-10-05 22:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791218229000,"timestamp_ms":1791218229000,"timestamp_seconds":1791218229,"priority":1,"record_length":96,"hex_timestamp":"000001a10ced1f08"} 
[2026-10-05 22:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:11: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-10-05 22: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 22:11:07] 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-10-05 22: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-10-05 22:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":208088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":208088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":208088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551789312001,"66":13178,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945978472452098048},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551789312001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:11:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:11:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472452098048,"description":"Unknown IO ID 45"} 
[2026-10-05 22:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551789312001,"power":13178,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945978472452098048}} 
[2026-10-05 22:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":208088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970256,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:11:07] local.INFO: GPS data processed {"connection_id":208088,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:11:07] local.INFO: Acknowledgment sent {"connection_id":208088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:11:20] local.INFO: TCP Data received {"connection_id":205121,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10ce98140012d77aac005f272380010016222..."} 
[2026-10-05 22:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ce98140012d77aac005f272380010016222..."} 
[2026-10-05 22:11:20] local.INFO: Processing buffer {"connection_id":205121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ce98140012d77aac005f272380010016222..."} 
[2026-10-05 22:11:20] local.INFO: Packet analysis {"connection_id":205121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ce9"} 
[2026-10-05 22:11:20] local.INFO: Extracted packet for processing {"connection_id":205121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ce9"} 
[2026-10-05 22:11:20] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":16,"angle":354,"satellites":34,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551728896001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 22:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 22:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791217992000,"timestamp_ms":1791217992000,"timestamp_seconds":1791217992,"priority":1,"record_length":96,"hex_timestamp":"000001a10ce98140"} 
[2026-10-05 22:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 22:11:20] 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-10-05 22: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-10-05 22:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":205121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":205121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":205121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551728896001,"66":25919,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551728896001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:11:20] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:11:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 22:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551728896001,"power":25919,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 22:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":205121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:11:20] local.INFO: GPS data processed {"connection_id":205121,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:11:20] local.INFO: Acknowledgment sent {"connection_id":205121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:11:30] local.INFO: TCP Data received {"connection_id":206500,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:11:30] local.INFO: Processing buffer {"connection_id":206500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:11:30] local.INFO: IMEI packet received {"connection_id":206500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":206500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:11:31] local.INFO: TCP Data received {"connection_id":205121,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cee1908012d77aac005f272380010016224..."} 
[2026-10-05 22:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cee1908012d77aac005f272380010016224..."} 
[2026-10-05 22:11:31] local.INFO: Processing buffer {"connection_id":205121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cee1908012d77aac005f272380010016224..."} 
[2026-10-05 22:11:31] local.INFO: Packet analysis {"connection_id":205121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cee"} 
[2026-10-05 22:11:31] local.INFO: Extracted packet for processing {"connection_id":205121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cee"} 
[2026-10-05 22:11:31] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":16,"angle":354,"satellites":36,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551805952001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 22:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 22:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791218293000,"timestamp_ms":1791218293000,"timestamp_seconds":1791218293,"priority":1,"record_length":96,"hex_timestamp":"000001a10cee1908"} 
[2026-10-05 22:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 22:11:31] 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-10-05 22: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-10-05 22:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":205121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":205121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":205121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551805952001,"66":25908,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551805952001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:11:31] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:11:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 22:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551805952001,"power":25908,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 22:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":205121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:11:31] local.INFO: GPS data processed {"connection_id":205121,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:11:31] local.INFO: Acknowledgment sent {"connection_id":205121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:11:33] local.INFO: TCP Data received {"connection_id":208089,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:11:33] local.INFO: Processing buffer {"connection_id":208089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:11:33] local.INFO: IMEI packet received {"connection_id":208089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":208089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:11:35] local.INFO: TCP Data received {"connection_id":206500,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:11:35] local.INFO: Processing buffer {"connection_id":206500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:11:35] local.INFO: IMEI packet received {"connection_id":206500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":206500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:11:36] local.INFO: TCP Data received {"connection_id":206500,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10ced1f08012d7c254005dacc900003015125..."} 
[2026-10-05 22:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ced1f08012d7c254005dacc900003015125..."} 
[2026-10-05 22:11:36] local.INFO: Processing buffer {"connection_id":206500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ced1f08012d7c254005dacc900003015125..."} 
[2026-10-05 22:11:36] local.INFO: Packet analysis {"connection_id":206500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ced"} 
[2026-10-05 22:11:36] local.INFO: Extracted packet for processing {"connection_id":206500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ced"} 
[2026-10-05 22:11:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551789312001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472452098048,"note":"Value kept but may cause issues"} 
[2026-10-05 22:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791218229000,"timestamp_ms":1791218229000,"timestamp_seconds":1791218229,"priority":1,"record_length":96,"hex_timestamp":"000001a10ced1f08"} 
[2026-10-05 22:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 22:11:36] 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-10-05 22: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-10-05 22:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551789312001,"66":13178,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945978472452098048},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551789312001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:11:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:11:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472452098048,"description":"Unknown IO ID 45"} 
[2026-10-05 22:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551789312001,"power":13178,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945978472452098048}} 
[2026-10-05 22:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":206500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:11:36] local.INFO: GPS data processed {"connection_id":206500,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:11:36] local.INFO: Acknowledgment sent {"connection_id":206500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:12:07] local.INFO: TCP Data received {"connection_id":206500,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10ced1f08012d7c254005dacc900003015125..."} 
[2026-10-05 22:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10ced1f08012d7c254005dacc900003015125..."} 
[2026-10-05 22:12:07] local.INFO: Processing buffer {"connection_id":206500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10ced1f08012d7c254005dacc900003015125..."} 
[2026-10-05 22:12:07] local.INFO: Packet analysis {"connection_id":206500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10ced"} 
[2026-10-05 22:12:07] local.INFO: Extracted packet for processing {"connection_id":206500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10ced"} 
[2026-10-05 22:12:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551789312001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472452098048,"note":"Value kept but may cause issues"} 
[2026-10-05 22:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791218229000,"timestamp_ms":1791218229000,"timestamp_seconds":1791218229,"priority":1,"record_length":96,"hex_timestamp":"000001a10ced1f08"} 
[2026-10-05 22:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:12: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-10-05 22:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-05 22:12:07] 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-10-05 22:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":206500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":206500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":206500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551789312001,"66":13178,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945978472452098048},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551789312001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:12:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:12:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472452098048,"description":"Unknown IO ID 45"} 
[2026-10-05 22:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551789312001,"power":13178,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945978472452098048}} 
[2026-10-05 22:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":206500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:12:08] local.INFO: GPS data processed {"connection_id":206500,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:12:08] local.INFO: Acknowledgment sent {"connection_id":206500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:12:14] local.INFO: TCP Data received {"connection_id":206501,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:12:14] local.INFO: Processing buffer {"connection_id":206501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:12:14] local.INFO: IMEI packet received {"connection_id":206501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":206501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:12:19] local.INFO: TCP Data received {"connection_id":206501,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:12:19] local.INFO: Processing buffer {"connection_id":206501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:12:19] local.INFO: IMEI packet received {"connection_id":206501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":206501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:12:30] local.INFO: TCP Data received {"connection_id":205122,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:12:30] local.INFO: Processing buffer {"connection_id":205122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:12:30] local.INFO: IMEI packet received {"connection_id":205122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":205122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:12:31] local.INFO: TCP Data received {"connection_id":206501,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cee1908012d77aac005f272380010016224..."} 
[2026-10-05 22:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cee1908012d77aac005f272380010016224..."} 
[2026-10-05 22:12:31] local.INFO: Processing buffer {"connection_id":206501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cee1908012d77aac005f272380010016224..."} 
[2026-10-05 22:12:31] local.INFO: Packet analysis {"connection_id":206501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cee"} 
[2026-10-05 22:12:31] local.INFO: Extracted packet for processing {"connection_id":206501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cee"} 
[2026-10-05 22:12:31] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":16,"angle":354,"satellites":36,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551805952001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 22:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 22:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791218293000,"timestamp_ms":1791218293000,"timestamp_seconds":1791218293,"priority":1,"record_length":96,"hex_timestamp":"000001a10cee1908"} 
[2026-10-05 22:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 22:12:31] 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-10-05 22:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551805952001,"66":25908,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551805952001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:12:31] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:12:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 22:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551805952001,"power":25908,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 22:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":206501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:12:31] local.INFO: GPS data processed {"connection_id":206501,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:12:31] local.INFO: Acknowledgment sent {"connection_id":206501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:12:35] local.INFO: TCP Data received {"connection_id":205122,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:12:35] local.INFO: Processing buffer {"connection_id":205122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:12:35] local.INFO: IMEI packet received {"connection_id":205122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":205122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:12:35] local.INFO: TCP Data received {"connection_id":206501,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cee1908012d77aac005f272380010016224..."} 
[2026-10-05 22:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cee1908012d77aac005f272380010016224..."} 
[2026-10-05 22:12:35] local.INFO: Processing buffer {"connection_id":206501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cee1908012d77aac005f272380010016224..."} 
[2026-10-05 22:12:35] local.INFO: Packet analysis {"connection_id":206501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cee"} 
[2026-10-05 22:12:35] local.INFO: Extracted packet for processing {"connection_id":206501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cee"} 
[2026-10-05 22:12:35] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":16,"angle":354,"satellites":36,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 22:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551805952001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 22:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 22:12: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-10-05 22:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791218293000,"timestamp_ms":1791218293000,"timestamp_seconds":1791218293,"priority":1,"record_length":96,"hex_timestamp":"000001a10cee1908"} 
[2026-10-05 22:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 22:12:35] 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-10-05 22:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":206501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":206501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":206501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551805952001,"66":25908,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551805952001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:12:35] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:12:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 22:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551805952001,"power":25908,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 22:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":206501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:12:35] local.INFO: GPS data processed {"connection_id":206501,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:12:35] local.INFO: Acknowledgment sent {"connection_id":206501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:12:36] local.INFO: TCP Data received {"connection_id":205122,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:12:36] local.INFO: Processing buffer {"connection_id":205122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:12:36] local.INFO: Packet analysis {"connection_id":205122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf1"} 
[2026-10-05 22:12:36] local.INFO: Extracted packet for processing {"connection_id":205122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf1"} 
[2026-10-05 22:12:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551866624001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791218530000,"timestamp_ms":1791218530000,"timestamp_seconds":1791218530,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf1b6d0"} 
[2026-10-05 22:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-10-05 22:12:36] 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-10-05 22:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551866624001,"66":13091,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551866624001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:12:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:12:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551866624001,"power":13091,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":205122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:12:36] local.INFO: GPS data processed {"connection_id":205122,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:12:36] local.INFO: Acknowledgment sent {"connection_id":205122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:12:58] local.INFO: TCP Data received {"connection_id":208092,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:12:58] local.INFO: Processing buffer {"connection_id":208092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:12:58] local.INFO: IMEI packet received {"connection_id":208092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":208092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:13:03] local.INFO: TCP Data received {"connection_id":208092,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:13:03] local.INFO: Processing buffer {"connection_id":208092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:13:03] local.INFO: IMEI packet received {"connection_id":208092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":208092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:13:06] local.INFO: TCP Data received {"connection_id":208092,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cee1908012d77aac005f272380010016224..."} 
[2026-10-05 22:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cee1908012d77aac005f272380010016224..."} 
[2026-10-05 22:13:06] local.INFO: Processing buffer {"connection_id":208092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cee1908012d77aac005f272380010016224..."} 
[2026-10-05 22:13:06] local.INFO: Packet analysis {"connection_id":208092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cee"} 
[2026-10-05 22:13:06] local.INFO: Extracted packet for processing {"connection_id":208092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cee"} 
[2026-10-05 22:13:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":16,"angle":354,"satellites":36,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551805952001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 22:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 22:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791218293000,"timestamp_ms":1791218293000,"timestamp_seconds":1791218293,"priority":1,"record_length":96,"hex_timestamp":"000001a10cee1908"} 
[2026-10-05 22:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:13: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-10-05 22:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 22:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":208092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":208092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":208092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551805952001,"66":25908,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551805952001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:13:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:13:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 22:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551805952001,"power":25908,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 22:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":208092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:13:06] local.INFO: GPS data processed {"connection_id":208092,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:13:06] local.INFO: Acknowledgment sent {"connection_id":208092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:13:07] local.INFO: TCP Data received {"connection_id":205122,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:13:07] local.INFO: Processing buffer {"connection_id":205122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:13:07] local.INFO: Packet analysis {"connection_id":205122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf1"} 
[2026-10-05 22:13:07] local.INFO: Extracted packet for processing {"connection_id":205122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf1"} 
[2026-10-05 22:13:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551866624001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791218530000,"timestamp_ms":1791218530000,"timestamp_seconds":1791218530,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf1b6d0"} 
[2026-10-05 22:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:13: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-10-05 22: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-10-05 22:13:07] 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-10-05 22: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-10-05 22:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551866624001,"66":13091,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551866624001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:13:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:13:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551866624001,"power":13091,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":205122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:13:07] local.INFO: GPS data processed {"connection_id":205122,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:13:07] local.INFO: Acknowledgment sent {"connection_id":205122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:13:10] local.INFO: TCP Data received {"connection_id":208092,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cee1908012d77aac005f272380010016224..."} 
[2026-10-05 22:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cee1908012d77aac005f272380010016224..."} 
[2026-10-05 22:13:10] local.INFO: Processing buffer {"connection_id":208092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cee1908012d77aac005f272380010016224..."} 
[2026-10-05 22:13:10] local.INFO: Packet analysis {"connection_id":208092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cee"} 
[2026-10-05 22:13:10] local.INFO: Extracted packet for processing {"connection_id":208092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cee"} 
[2026-10-05 22:13:10] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":16,"angle":354,"satellites":36,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 22:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551805952001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 22:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 22:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791218293000,"timestamp_ms":1791218293000,"timestamp_seconds":1791218293,"priority":1,"record_length":96,"hex_timestamp":"000001a10cee1908"} 
[2026-10-05 22:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 22:13:10] 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-10-05 22:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":208092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":208092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":208092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551805952001,"66":25908,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551805952001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:13:10] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:13:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 22:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551805952001,"power":25908,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 22:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":208092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:13:10] local.INFO: GPS data processed {"connection_id":208092,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:13:10] local.INFO: Acknowledgment sent {"connection_id":208092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:13:30] local.INFO: TCP Data received {"connection_id":206503,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:13:30] local.INFO: Processing buffer {"connection_id":206503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:13:30] local.INFO: IMEI packet received {"connection_id":206503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":206503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:13:35] local.INFO: TCP Data received {"connection_id":206503,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:13:35] local.INFO: Processing buffer {"connection_id":206503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:13:35] local.INFO: IMEI packet received {"connection_id":206503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":206503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:13:36] local.INFO: TCP Data received {"connection_id":206503,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:13:36] local.INFO: Processing buffer {"connection_id":206503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:13:36] local.INFO: Packet analysis {"connection_id":206503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf1"} 
[2026-10-05 22:13:36] local.INFO: Extracted packet for processing {"connection_id":206503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf1"} 
[2026-10-05 22:13:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551866624001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791218530000,"timestamp_ms":1791218530000,"timestamp_seconds":1791218530,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf1b6d0"} 
[2026-10-05 22:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-10-05 22:13:36] 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-10-05 22: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-10-05 22:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551866624001,"66":13091,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551866624001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:13:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:13:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551866624001,"power":13091,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":206503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:13:36] local.INFO: GPS data processed {"connection_id":206503,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:13:36] local.INFO: Acknowledgment sent {"connection_id":206503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:13:59] local.INFO: TCP Data received {"connection_id":205123,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:13:59] local.INFO: Processing buffer {"connection_id":205123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:13:59] local.INFO: IMEI packet received {"connection_id":205123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":205123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:14:04] local.INFO: TCP Data received {"connection_id":205123,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:14:04] local.INFO: Processing buffer {"connection_id":205123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:14:04] local.INFO: IMEI packet received {"connection_id":205123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":205123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:14:06] local.INFO: TCP Data received {"connection_id":205123,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf2b0d0012d77aac005f272380010016226..."} 
[2026-10-05 22:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf2b0d0012d77aac005f272380010016226..."} 
[2026-10-05 22:14:06] local.INFO: Processing buffer {"connection_id":205123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf2b0d0012d77aac005f272380010016226..."} 
[2026-10-05 22:14:06] local.INFO: Packet analysis {"connection_id":205123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf2"} 
[2026-10-05 22:14:06] local.INFO: Extracted packet for processing {"connection_id":205123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf2"} 
[2026-10-05 22:14:06] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":16,"angle":354,"satellites":38,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551883008001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 22:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 22:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1791218594000,"timestamp_ms":1791218594000,"timestamp_seconds":1791218594,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf2b0d0"} 
[2026-10-05 22:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:14: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-10-05 22: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 22:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22: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-10-05 22:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":205123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":205123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":205123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551883008001,"66":25952,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551883008001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:14:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:14:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 22:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551883008001,"power":25952,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 22:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":205123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:14:06] local.INFO: GPS data processed {"connection_id":205123,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:14:06] local.INFO: Acknowledgment sent {"connection_id":205123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:14:08] local.INFO: TCP Data received {"connection_id":206503,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:14:08] local.INFO: Processing buffer {"connection_id":206503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:14:08] local.INFO: Packet analysis {"connection_id":206503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf1"} 
[2026-10-05 22:14:08] local.INFO: Extracted packet for processing {"connection_id":206503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf1"} 
[2026-10-05 22:14:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551866624001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791218530000,"timestamp_ms":1791218530000,"timestamp_seconds":1791218530,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf1b6d0"} 
[2026-10-05 22:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-10-05 22:14:08] 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-10-05 22:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551866624001,"66":13091,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551866624001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:14:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:14:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551866624001,"power":13091,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":206503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970269,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:14:08] local.INFO: GPS data processed {"connection_id":206503,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:14:08] local.INFO: Acknowledgment sent {"connection_id":206503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:14:22] local.INFO: TCP Data received {"connection_id":205123,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf2b0d0012d77aac005f272380010016226..."} 
[2026-10-05 22:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf2b0d0012d77aac005f272380010016226..."} 
[2026-10-05 22:14:22] local.INFO: Processing buffer {"connection_id":205123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf2b0d0012d77aac005f272380010016226..."} 
[2026-10-05 22:14:22] local.INFO: Packet analysis {"connection_id":205123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf2"} 
[2026-10-05 22:14:22] local.INFO: Extracted packet for processing {"connection_id":205123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf2"} 
[2026-10-05 22:14:22] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":16,"angle":354,"satellites":38,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 22:14: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-10-05 22:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551883008001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 22:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 22:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1791218594000,"timestamp_ms":1791218594000,"timestamp_seconds":1791218594,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf2b0d0"} 
[2026-10-05 22:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:14: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 22:14:22] 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-10-05 22:14: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-10-05 22:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":205123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":205123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":205123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551883008001,"66":25952,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551883008001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:14:22] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:14:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 22:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551883008001,"power":25952,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 22:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":205123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:14:22] local.INFO: GPS data processed {"connection_id":205123,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:14:22] local.INFO: Acknowledgment sent {"connection_id":205123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:14:35] local.INFO: TCP Data received {"connection_id":206504,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206504,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:14:35] local.INFO: Processing buffer {"connection_id":206504,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:14:35] local.INFO: IMEI packet received {"connection_id":206504,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":206504,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:14:40] local.INFO: TCP Data received {"connection_id":206504,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206504,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:14:40] local.INFO: Processing buffer {"connection_id":206504,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:14:40] local.INFO: IMEI packet received {"connection_id":206504,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":206504,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:14:41] local.INFO: TCP Data received {"connection_id":206504,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:14:41] local.INFO: Processing buffer {"connection_id":206504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:14:41] local.INFO: Packet analysis {"connection_id":206504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf1"} 
[2026-10-05 22:14:41] local.INFO: Extracted packet for processing {"connection_id":206504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf1"} 
[2026-10-05 22:14:41] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:14: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-10-05 22:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551866624001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791218530000,"timestamp_ms":1791218530000,"timestamp_seconds":1791218530,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf1b6d0"} 
[2026-10-05 22:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:14: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":122,"data_length":795,"current_offset":136} 
[2026-10-05 22:14:41] 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-10-05 22:14: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-10-05 22:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":206504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":206504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":206504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551866624001,"66":13091,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551866624001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:14:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551866624001,"power":13091,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":206504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:14:41] local.INFO: GPS data processed {"connection_id":206504,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:14:41] local.INFO: Acknowledgment sent {"connection_id":206504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:14:46] local.INFO: TCP Data received {"connection_id":206504,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:14:46] local.INFO: Processing buffer {"connection_id":206504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:14:46] local.INFO: Packet analysis {"connection_id":206504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf1"} 
[2026-10-05 22:14:46] local.INFO: Extracted packet for processing {"connection_id":206504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf1"} 
[2026-10-05 22:14:46] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:14: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-10-05 22:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551866624001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791218530000,"timestamp_ms":1791218530000,"timestamp_seconds":1791218530,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf1b6d0"} 
[2026-10-05 22:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-10-05 22:14:46] 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-10-05 22:14: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-10-05 22:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":206504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":206504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":206504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551866624001,"66":13091,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551866624001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:14:46] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:14:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551866624001,"power":13091,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":206504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970272,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:14:46] local.INFO: GPS data processed {"connection_id":206504,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:14:46] local.INFO: Acknowledgment sent {"connection_id":206504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:15:04] local.INFO: TCP Data received {"connection_id":204997,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:15:04] local.INFO: Processing buffer {"connection_id":204997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:15:04] local.INFO: IMEI packet received {"connection_id":204997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":204997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:15:09] local.INFO: TCP Data received {"connection_id":204997,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:15:09] local.INFO: Processing buffer {"connection_id":204997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:15:09] local.INFO: IMEI packet received {"connection_id":204997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":204997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:15:13] local.INFO: TCP Data received {"connection_id":208094,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208094,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:15:13] local.INFO: Processing buffer {"connection_id":208094,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:15:13] local.INFO: IMEI packet received {"connection_id":208094,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 22:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":208094,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:15:27] local.INFO: TCP Data received {"connection_id":204997,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf2b0d0012d77aac005f272380010016226..."} 
[2026-10-05 22:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf2b0d0012d77aac005f272380010016226..."} 
[2026-10-05 22:15:27] local.INFO: Processing buffer {"connection_id":204997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf2b0d0012d77aac005f272380010016226..."} 
[2026-10-05 22:15:27] local.INFO: Packet analysis {"connection_id":204997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf2"} 
[2026-10-05 22:15:27] local.INFO: Extracted packet for processing {"connection_id":204997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf2"} 
[2026-10-05 22:15:27] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":16,"angle":354,"satellites":38,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551883008001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 22:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 22:15: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-10-05 22:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1791218594000,"timestamp_ms":1791218594000,"timestamp_seconds":1791218594,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf2b0d0"} 
[2026-10-05 22:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22: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-10-05 22: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":52,"data_length":795,"current_offset":136} 
[2026-10-05 22:15: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-10-05 22: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-10-05 22:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":204997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":204997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":204997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551883008001,"66":25952,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551883008001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:15:27] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:15:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 22:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551883008001,"power":25952,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 22:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":204997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:15:27] local.INFO: GPS data processed {"connection_id":204997,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:15:27] local.INFO: Acknowledgment sent {"connection_id":204997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:15:30] local.INFO: TCP Data received {"connection_id":208095,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:15:30] local.INFO: Processing buffer {"connection_id":208095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:15:30] local.INFO: IMEI packet received {"connection_id":208095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":208095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:15:33] local.INFO: TCP Data received {"connection_id":208096,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:15:33] local.INFO: Processing buffer {"connection_id":208096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:15:33] local.INFO: IMEI packet received {"connection_id":208096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 22:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":208096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:15:35] local.INFO: TCP Data received {"connection_id":208095,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:15:35] local.INFO: Processing buffer {"connection_id":208095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:15:35] local.INFO: IMEI packet received {"connection_id":208095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":208095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:15:36] local.INFO: TCP Data received {"connection_id":204997,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf2b0d0012d77aac005f272380010016226..."} 
[2026-10-05 22:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":204997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf2b0d0012d77aac005f272380010016226..."} 
[2026-10-05 22:15:36] local.INFO: Processing buffer {"connection_id":204997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf2b0d0012d77aac005f272380010016226..."} 
[2026-10-05 22:15:36] local.INFO: Packet analysis {"connection_id":204997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf2"} 
[2026-10-05 22:15:36] local.INFO: Extracted packet for processing {"connection_id":204997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf2"} 
[2026-10-05 22:15:36] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":16,"angle":354,"satellites":38,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551883008001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 22:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 22:15: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-10-05 22:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791218594000,"timestamp_ms":1791218594000,"timestamp_seconds":1791218594,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf2b0d0"} 
[2026-10-05 22:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 22:15: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-10-05 22:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":204997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":204997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":204997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551883008001,"66":25952,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551883008001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:15:36] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:15:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 22:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551883008001,"power":25952,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 22:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":204997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:15:36] local.INFO: GPS data processed {"connection_id":204997,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:15:36] local.INFO: Acknowledgment sent {"connection_id":204997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:15:36] local.INFO: TCP Data received {"connection_id":208095,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:15:36] local.INFO: Processing buffer {"connection_id":208095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:15:36] local.INFO: Packet analysis {"connection_id":208095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf1"} 
[2026-10-05 22:15:36] local.INFO: Extracted packet for processing {"connection_id":208095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf1"} 
[2026-10-05 22:15:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551866624001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791218530000,"timestamp_ms":1791218530000,"timestamp_seconds":1791218530,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf1b6d0"} 
[2026-10-05 22:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-10-05 22:15:36] 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-10-05 22:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551866624001,"66":13091,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551866624001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:15:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:15:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551866624001,"power":13091,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":208095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970275,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:15:36] local.INFO: GPS data processed {"connection_id":208095,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:15:36] local.INFO: Acknowledgment sent {"connection_id":208095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:15:59] local.INFO: TCP Data received {"connection_id":205124,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:15:59] local.INFO: Processing buffer {"connection_id":205124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:15:59] local.INFO: IMEI packet received {"connection_id":205124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":205124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:16:07] local.INFO: TCP Data received {"connection_id":205124,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:16:07] local.INFO: Processing buffer {"connection_id":205124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:16:07] local.INFO: IMEI packet received {"connection_id":205124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":205124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:16:08] local.INFO: TCP Data received {"connection_id":208095,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:16:08] local.INFO: Processing buffer {"connection_id":208095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:16:08] local.INFO: Packet analysis {"connection_id":208095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf1"} 
[2026-10-05 22:16:08] local.INFO: Extracted packet for processing {"connection_id":208095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf1"} 
[2026-10-05 22:16:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:16: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-10-05 22:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551866624001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791218530000,"timestamp_ms":1791218530000,"timestamp_seconds":1791218530,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf1b6d0"} 
[2026-10-05 22:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:16: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":122,"data_length":795,"current_offset":136} 
[2026-10-05 22:16:08] 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-10-05 22:16: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-10-05 22:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":208095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":208095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":208095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551866624001,"66":13091,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551866624001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:16:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:16:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551866624001,"power":13091,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":208095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:16:08] local.INFO: GPS data processed {"connection_id":208095,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:16:08] local.INFO: Acknowledgment sent {"connection_id":208095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:16:27] local.INFO: TCP Data received {"connection_id":205124,"ip":"42.106.6.49","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 22:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205124,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 22:16:27] local.INFO: Processing buffer {"connection_id":205124,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 22:16:27] local.INFO: IMEI packet received {"connection_id":205124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":205124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:16:30] local.INFO: TCP Data received {"connection_id":205126,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:16:30] local.INFO: Processing buffer {"connection_id":205126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:16:30] local.INFO: IMEI packet received {"connection_id":205126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":205126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:16:32] local.INFO: TCP Data received {"connection_id":205124,"ip":"42.106.6.49","data_length":1348,"data_hex":"000000000000030f8e0a000001a10cf2b0d0012d77aac005f272380010016226..."} 
[2026-10-05 22:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205124,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a10cf2b0d0012d77aac005f272380010016226..."} 
[2026-10-05 22:16:32] local.INFO: Processing buffer {"connection_id":205124,"buffer_length":1365,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a10c..."} 
[2026-10-05 22:16:32] local.INFO: IMEI packet received {"connection_id":205124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":205124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:16:35] local.INFO: TCP Data received {"connection_id":205126,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:16:35] local.INFO: Processing buffer {"connection_id":205126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:16:35] local.INFO: IMEI packet received {"connection_id":205126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":205126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:16:36] local.INFO: TCP Data received {"connection_id":205126,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:16:36] local.INFO: Processing buffer {"connection_id":205126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:16:36] local.INFO: Packet analysis {"connection_id":205126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf1"} 
[2026-10-05 22:16:36] local.INFO: Extracted packet for processing {"connection_id":205126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf1"} 
[2026-10-05 22:16:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551866624001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791218530000,"timestamp_ms":1791218530000,"timestamp_seconds":1791218530,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf1b6d0"} 
[2026-10-05 22:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-10-05 22:16:36] 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-10-05 22:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551866624001,"66":13091,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551866624001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:16:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:16:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551866624001,"power":13091,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":205126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:16:36] local.INFO: GPS data processed {"connection_id":205126,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:16:36] local.INFO: Acknowledgment sent {"connection_id":205126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:16:37] local.INFO: TCP Data received {"connection_id":205124,"ip":"42.106.6.49","data_length":1037,"data_hex":"000000000001a10cd28a58012d77aac005f27238001201622300000000000a00..."} 
[2026-10-05 22:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205124,"packet_length":1037,"packet_hex":"000000000001a10cd28a58012d77aac005f27238001201622300000000000a00..."} 
[2026-10-05 22:16:37] local.INFO: Processing buffer {"connection_id":205124,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a10cf2b0d0012d77aac005f272380010016226..."} 
[2026-10-05 22:16:37] local.INFO: Packet analysis {"connection_id":205124,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a10cf2"} 
[2026-10-05 22:16:37] local.INFO: Extracted packet for processing {"connection_id":205124,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a10cf2"} 
[2026-10-05 22:16:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":16,"angle":354,"satellites":38,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551883008001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 22:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 22:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791218594000,"timestamp_ms":1791218594000,"timestamp_seconds":1791218594,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf2b0d0"} 
[2026-10-05 22:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 22:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22: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-10-05 22:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551883008001,"66":25952,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551883008001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:16:37] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:16:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 22:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551883008001,"power":25952,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 22:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":205124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:16:37] local.INFO: GPS data processed {"connection_id":205124,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:16:37] local.INFO: Acknowledgment sent {"connection_id":205124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:16:37] local.INFO: Packet analysis {"connection_id":205124,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a10cf2"} 
[2026-10-05 22:16:37] local.INFO: Extracted packet for processing {"connection_id":205124,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf2"} 
[2026-10-05 22:16:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":16,"angle":354,"satellites":38,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551883008001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 22:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 22:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791218594000,"timestamp_ms":1791218594000,"timestamp_seconds":1791218594,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf2b0d0"} 
[2026-10-05 22:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 22:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22: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-10-05 22:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551883008001,"66":25952,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551883008001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:16:37] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:16:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 22:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551883008001,"power":25952,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 22:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":205124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:16:37] local.INFO: GPS data processed {"connection_id":205124,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:16:37] local.INFO: Acknowledgment sent {"connection_id":205124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:16:37] local.INFO: Packet analysis {"connection_id":205124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf2"} 
[2026-10-05 22:16:37] local.INFO: Extracted packet for processing {"connection_id":205124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf2"} 
[2026-10-05 22:16:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":16,"angle":354,"satellites":38,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551883008001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 22:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 22:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791218594000,"timestamp_ms":1791218594000,"timestamp_seconds":1791218594,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf2b0d0"} 
[2026-10-05 22:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 22:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22: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-10-05 22:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551883008001,"66":25952,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551883008001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:16:37] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:16:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 22:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551883008001,"power":25952,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 22:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":205124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:16:37] local.INFO: GPS data processed {"connection_id":205124,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:16:37] local.INFO: Acknowledgment sent {"connection_id":205124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:16:39] local.INFO: TCP Data received {"connection_id":205124,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf2b0d0012d77aac005f272380010016226..."} 
[2026-10-05 22:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf2b0d0012d77aac005f272380010016226..."} 
[2026-10-05 22:16:39] local.INFO: Processing buffer {"connection_id":205124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf2b0d0012d77aac005f272380010016226..."} 
[2026-10-05 22:16:39] local.INFO: Packet analysis {"connection_id":205124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf2"} 
[2026-10-05 22:16:39] local.INFO: Extracted packet for processing {"connection_id":205124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf2"} 
[2026-10-05 22:16:39] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":16,"angle":354,"satellites":38,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 22:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551883008001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 22:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 22:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791218594000,"timestamp_ms":1791218594000,"timestamp_seconds":1791218594,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf2b0d0"} 
[2026-10-05 22:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 22:16:39] 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-10-05 22:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":205124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":205124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":205124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551883008001,"66":25952,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551883008001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:16:39] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:16:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 22:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551883008001,"power":25952,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 22:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":205124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:16:39] local.INFO: GPS data processed {"connection_id":205124,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:16:39] local.INFO: Acknowledgment sent {"connection_id":205124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:16:59] local.INFO: TCP Data received {"connection_id":206505,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:16:59] local.INFO: Processing buffer {"connection_id":206505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:16:59] local.INFO: IMEI packet received {"connection_id":206505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":206505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:17:04] local.INFO: TCP Data received {"connection_id":208098,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:17:04] local.INFO: Processing buffer {"connection_id":208098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:17:04] local.INFO: IMEI packet received {"connection_id":208098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":208098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:17:07] local.INFO: TCP Data received {"connection_id":206505,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:17:07] local.INFO: Processing buffer {"connection_id":206505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:17:07] local.INFO: IMEI packet received {"connection_id":206505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":206505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:17:08] local.INFO: TCP Data received {"connection_id":205126,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:17:08] local.INFO: Processing buffer {"connection_id":205126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf1b6d0012d7c254005dacc900003015126..."} 
[2026-10-05 22:17:08] local.INFO: Packet analysis {"connection_id":205126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf1"} 
[2026-10-05 22:17:08] local.INFO: Extracted packet for processing {"connection_id":205126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf1"} 
[2026-10-05 22:17:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551866624001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791218530000,"timestamp_ms":1791218530000,"timestamp_seconds":1791218530,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf1b6d0"} 
[2026-10-05 22:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":122,"data_length":795,"current_offset":136} 
[2026-10-05 22:17:08] 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-10-05 22: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-10-05 22:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551866624001,"66":13091,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551866624001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:17:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:17:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551866624001,"power":13091,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":205126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:17:08] local.INFO: GPS data processed {"connection_id":205126,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:17:08] local.INFO: Acknowledgment sent {"connection_id":205126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:17:10] local.INFO: TCP Data received {"connection_id":208098,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:17:10] local.INFO: Processing buffer {"connection_id":208098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:17:10] local.INFO: IMEI packet received {"connection_id":208098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":208098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:17:11] local.INFO: TCP Data received {"connection_id":208098,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cefbee8012d196600071feee80039015422..."} 
[2026-10-05 22:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cefbee8012d196600071feee80039015422..."} 
[2026-10-05 22:17:11] local.INFO: Processing buffer {"connection_id":208098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cefbee8012d196600071feee80039015422..."} 
[2026-10-05 22:17:11] local.INFO: Packet analysis {"connection_id":208098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cef"} 
[2026-10-05 22:17:11] local.INFO: Extracted packet for processing {"connection_id":208098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cef"} 
[2026-10-05 22:17:11] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":34,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551833600001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791218401000,"timestamp_ms":1791218401000,"timestamp_seconds":1791218401,"priority":1,"record_length":96,"hex_timestamp":"000001a10cefbee8"} 
[2026-10-05 22:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:17:11] 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-10-05 22:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 22:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":208098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":208098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":208098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551833600001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551833600001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:17:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:17:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551833600001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":208098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:17:11] local.INFO: GPS data processed {"connection_id":208098,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:17:11] local.INFO: Acknowledgment sent {"connection_id":208098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:17:30] local.INFO: TCP Data received {"connection_id":205127,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:17:30] local.INFO: Processing buffer {"connection_id":205127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:17:30] local.INFO: IMEI packet received {"connection_id":205127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":205127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:17:33] local.INFO: TCP Data received {"connection_id":206505,"ip":"42.106.6.49","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 22:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206505,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 22:17:33] local.INFO: Processing buffer {"connection_id":206505,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 22:17:33] local.INFO: IMEI packet received {"connection_id":206505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":206505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:17:35] local.INFO: TCP Data received {"connection_id":205127,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:17:35] local.INFO: Processing buffer {"connection_id":205127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:17:35] local.INFO: IMEI packet received {"connection_id":205127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":205127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:17:36] local.INFO: TCP Data received {"connection_id":205127,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:17:36] local.INFO: Processing buffer {"connection_id":205127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:17:36] local.INFO: Packet analysis {"connection_id":205127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf6"} 
[2026-10-05 22:17:36] local.INFO: Extracted packet for processing {"connection_id":205127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf6"} 
[2026-10-05 22:17:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551943680001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791218831000,"timestamp_ms":1791218831000,"timestamp_seconds":1791218831,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf64e98"} 
[2026-10-05 22:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 22:17:36] 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-10-05 22:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551943680001,"66":13015,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551943680001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:17:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:17:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551943680001,"power":13015,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":205127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970284,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:17:36] local.INFO: GPS data processed {"connection_id":205127,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:17:36] local.INFO: Acknowledgment sent {"connection_id":205127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:17:48] local.INFO: TCP Data received {"connection_id":208098,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf456b0012d196600071feee80039015425..."} 
[2026-10-05 22:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf456b0012d196600071feee80039015425..."} 
[2026-10-05 22:17:48] local.INFO: Processing buffer {"connection_id":208098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf456b0012d196600071feee80039015425..."} 
[2026-10-05 22:17:48] local.INFO: Packet analysis {"connection_id":208098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf4"} 
[2026-10-05 22:17:48] local.INFO: Extracted packet for processing {"connection_id":208098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf4"} 
[2026-10-05 22:17:48] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551910656001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791218702000,"timestamp_ms":1791218702000,"timestamp_seconds":1791218702,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf456b0"} 
[2026-10-05 22:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 22:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:17:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":208098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":208098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":208098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551910656001,"66":2177,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551910656001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:17:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:17:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551910656001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":208098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:17:48] local.INFO: GPS data processed {"connection_id":208098,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:17:48] local.INFO: Acknowledgment sent {"connection_id":208098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:17:58] local.INFO: TCP Data received {"connection_id":206505,"ip":"42.106.6.49","data_length":1348,"data_hex":"000000000000030f8e0a000001a10cf2b0d0012d77aac005f272380010016226..."} 
[2026-10-05 22:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206505,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a10cf2b0d0012d77aac005f272380010016226..."} 
[2026-10-05 22:17:58] local.INFO: Processing buffer {"connection_id":206505,"buffer_length":1365,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a10c..."} 
[2026-10-05 22:17:58] local.INFO: IMEI packet received {"connection_id":206505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":206505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:17:59] local.INFO: TCP Data received {"connection_id":206505,"ip":"42.106.6.49","data_length":242,"data_hex":"000000000001a10cd28a58012d77aac005f27238001201622300000000000a00..."} 
[2026-10-05 22:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206505,"packet_length":242,"packet_hex":"000000000001a10cd28a58012d77aac005f27238001201622300000000000a00..."} 
[2026-10-05 22:17:59] local.INFO: Processing buffer {"connection_id":206505,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a10cf2b0d0012d77aac005f272380010016226..."} 
[2026-10-05 22:17:59] local.INFO: Packet analysis {"connection_id":206505,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a10cf2"} 
[2026-10-05 22:17:59] local.INFO: Extracted packet for processing {"connection_id":206505,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf2"} 
[2026-10-05 22:17:59] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":16,"angle":354,"satellites":38,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 22:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551883008001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 22:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 22:17: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-10-05 22:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791218594000,"timestamp_ms":1791218594000,"timestamp_seconds":1791218594,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf2b0d0"} 
[2026-10-05 22:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 22:17: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-10-05 22:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":206505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":206505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":206505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551883008001,"66":25952,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551883008001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:17:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:17:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 22:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551883008001,"power":25952,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 22:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":206505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:17:59] local.INFO: GPS data processed {"connection_id":206505,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:17:59] local.INFO: Acknowledgment sent {"connection_id":206505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:17:59] local.INFO: Packet analysis {"connection_id":206505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf2"} 
[2026-10-05 22:17:59] local.INFO: Extracted packet for processing {"connection_id":206505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf2"} 
[2026-10-05 22:17:59] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":16,"angle":354,"satellites":38,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 22:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551883008001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 22:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 22:17: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-10-05 22:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791218594000,"timestamp_ms":1791218594000,"timestamp_seconds":1791218594,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf2b0d0"} 
[2026-10-05 22:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 22:17: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-10-05 22:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":206505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":206505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":206505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551883008001,"66":25952,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551883008001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:17:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:17:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 22:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551883008001,"power":25952,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 22:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":206505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:17:59] local.INFO: GPS data processed {"connection_id":206505,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:17:59] local.INFO: Acknowledgment sent {"connection_id":206505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:18:04] local.INFO: TCP Data received {"connection_id":205128,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:18:04] local.INFO: Processing buffer {"connection_id":205128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:18:04] local.INFO: IMEI packet received {"connection_id":205128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":205128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:18:07] local.INFO: TCP Data received {"connection_id":205127,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:18:07] local.INFO: Processing buffer {"connection_id":205127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:18:07] local.INFO: Packet analysis {"connection_id":205127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf6"} 
[2026-10-05 22:18:07] local.INFO: Extracted packet for processing {"connection_id":205127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf6"} 
[2026-10-05 22:18:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551943680001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791218831000,"timestamp_ms":1791218831000,"timestamp_seconds":1791218831,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf64e98"} 
[2026-10-05 22:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 22:18: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-10-05 22: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-10-05 22:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551943680001,"66":13015,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551943680001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:18:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:18:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551943680001,"power":13015,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":205127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:18:07] local.INFO: GPS data processed {"connection_id":205127,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:18:07] local.INFO: Acknowledgment sent {"connection_id":205127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:18:09] local.INFO: TCP Data received {"connection_id":205128,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:18:09] local.INFO: Processing buffer {"connection_id":205128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:18:09] local.INFO: IMEI packet received {"connection_id":205128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":205128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:18:11] local.INFO: TCP Data received {"connection_id":205128,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf2b0d0012d77aac005f272380010016226..."} 
[2026-10-05 22:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf2b0d0012d77aac005f272380010016226..."} 
[2026-10-05 22:18:11] local.INFO: Processing buffer {"connection_id":205128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf2b0d0012d77aac005f272380010016226..."} 
[2026-10-05 22:18:11] local.INFO: Packet analysis {"connection_id":205128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf2"} 
[2026-10-05 22:18:11] local.INFO: Extracted packet for processing {"connection_id":205128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf2"} 
[2026-10-05 22:18:11] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":16,"angle":354,"satellites":38,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 22:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551883008001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 22:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 22:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791218594000,"timestamp_ms":1791218594000,"timestamp_seconds":1791218594,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf2b0d0"} 
[2026-10-05 22:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 22:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551883008001,"66":25952,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551883008001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:18:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:18:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 22:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551883008001,"power":25952,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 22:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":205128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:18:11] local.INFO: GPS data processed {"connection_id":205128,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:18:11] local.INFO: Acknowledgment sent {"connection_id":205128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:18:16] local.INFO: TCP Data received {"connection_id":205129,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:18:16] local.INFO: Processing buffer {"connection_id":205129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:18:16] local.INFO: IMEI packet received {"connection_id":205129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":205129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:18:17] local.INFO: TCP Data received {"connection_id":205129,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:18:17] local.INFO: Processing buffer {"connection_id":205129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:18:17] local.INFO: IMEI packet received {"connection_id":205129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":205129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:18:19] local.INFO: TCP Data received {"connection_id":205129,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf456b0012d196600071feee80039015425..."} 
[2026-10-05 22:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf456b0012d196600071feee80039015425..."} 
[2026-10-05 22:18:19] local.INFO: Processing buffer {"connection_id":205129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf456b0012d196600071feee80039015425..."} 
[2026-10-05 22:18:19] local.INFO: Packet analysis {"connection_id":205129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf4"} 
[2026-10-05 22:18:19] local.INFO: Extracted packet for processing {"connection_id":205129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf4"} 
[2026-10-05 22:18:19] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551910656001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791218702000,"timestamp_ms":1791218702000,"timestamp_seconds":1791218702,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf456b0"} 
[2026-10-05 22:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 22:18:19] 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-10-05 22:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":205129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":205129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":205129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551910656001,"66":2177,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551910656001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:18:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:18:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551910656001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":205129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:18:19] local.INFO: GPS data processed {"connection_id":205129,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:18:19] local.INFO: Acknowledgment sent {"connection_id":205129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:18:21] local.INFO: TCP Data received {"connection_id":205129,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf456b0012d196600071feee80039015425..."} 
[2026-10-05 22:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf456b0012d196600071feee80039015425..."} 
[2026-10-05 22:18:21] local.INFO: Processing buffer {"connection_id":205129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf456b0012d196600071feee80039015425..."} 
[2026-10-05 22:18:21] local.INFO: Packet analysis {"connection_id":205129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf4"} 
[2026-10-05 22:18:21] local.INFO: Extracted packet for processing {"connection_id":205129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf4"} 
[2026-10-05 22:18:21] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:18: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-10-05 22:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551910656001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791218702000,"timestamp_ms":1791218702000,"timestamp_seconds":1791218702,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf456b0"} 
[2026-10-05 22:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:18: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":96,"data_length":795,"current_offset":136} 
[2026-10-05 22:18:21] 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-10-05 22:18: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-10-05 22:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":205129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":205129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":205129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551910656001,"66":2177,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551910656001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:18:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:18:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551910656001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":205129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:18:21] local.INFO: GPS data processed {"connection_id":205129,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:18:21] local.INFO: Acknowledgment sent {"connection_id":205129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:18:30] local.INFO: TCP Data received {"connection_id":208100,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:18:30] local.INFO: Processing buffer {"connection_id":208100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:18:30] local.INFO: IMEI packet received {"connection_id":208100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":208100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:18:31] local.INFO: TCP Data received {"connection_id":205128,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf2b0d0012d77aac005f272380010016226..."} 
[2026-10-05 22:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf2b0d0012d77aac005f272380010016226..."} 
[2026-10-05 22:18:31] local.INFO: Processing buffer {"connection_id":205128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf2b0d0012d77aac005f272380010016226..."} 
[2026-10-05 22:18:31] local.INFO: Packet analysis {"connection_id":205128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf2"} 
[2026-10-05 22:18:31] local.INFO: Extracted packet for processing {"connection_id":205128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf2"} 
[2026-10-05 22:18:31] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":16,"angle":354,"satellites":38,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551883008001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 22:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 22:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791218594000,"timestamp_ms":1791218594000,"timestamp_seconds":1791218594,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf2b0d0"} 
[2026-10-05 22:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 22:18:31] 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-10-05 22: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-10-05 22:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":205128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":205128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":205128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551883008001,"66":25952,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551883008001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:18:31] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:18:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 22:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551883008001,"power":25952,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 22:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":205128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:18:31] local.INFO: GPS data processed {"connection_id":205128,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:18:31] local.INFO: Acknowledgment sent {"connection_id":205128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:18:35] local.INFO: TCP Data received {"connection_id":208100,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:18:35] local.INFO: Processing buffer {"connection_id":208100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:18:35] local.INFO: IMEI packet received {"connection_id":208100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":208100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:18:36] local.INFO: TCP Data received {"connection_id":208100,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:18:36] local.INFO: Processing buffer {"connection_id":208100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:18:36] local.INFO: Packet analysis {"connection_id":208100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf6"} 
[2026-10-05 22:18:36] local.INFO: Extracted packet for processing {"connection_id":208100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf6"} 
[2026-10-05 22:18:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 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-10-05 22:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551943680001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791218831000,"timestamp_ms":1791218831000,"timestamp_seconds":1791218831,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf64e98"} 
[2026-10-05 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-10-05 22:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 22:18:36] 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-10-05 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-10-05 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-10-05 22:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551943680001,"66":13015,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551943680001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:18:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:18:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551943680001,"power":13015,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":208100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:18:36] local.INFO: GPS data processed {"connection_id":208100,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:18:36] local.INFO: Acknowledgment sent {"connection_id":208100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:18:53] local.INFO: TCP Data received {"connection_id":208101,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:18:53] local.INFO: Processing buffer {"connection_id":208101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:18:53] local.INFO: IMEI packet received {"connection_id":208101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":208101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:19:04] local.INFO: TCP Data received {"connection_id":208102,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:19:04] local.INFO: Processing buffer {"connection_id":208102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:19:04] local.INFO: IMEI packet received {"connection_id":208102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":208102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:19:04] local.INFO: TCP Data received {"connection_id":208101,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:19:04] local.INFO: Processing buffer {"connection_id":208101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:19:04] local.INFO: IMEI packet received {"connection_id":208101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":208101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:19:06] local.INFO: TCP Data received {"connection_id":208101,"ip":"42.106.6.49","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 22:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208101,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 22:19:06] local.INFO: Processing buffer {"connection_id":208101,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 22:19:06] local.INFO: IMEI packet received {"connection_id":208101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":208101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:19:07] local.INFO: TCP Data received {"connection_id":208100,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:19:07] local.INFO: Processing buffer {"connection_id":208100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:19:07] local.INFO: Packet analysis {"connection_id":208100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf6"} 
[2026-10-05 22:19:07] local.INFO: Extracted packet for processing {"connection_id":208100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf6"} 
[2026-10-05 22:19:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551943680001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791218831000,"timestamp_ms":1791218831000,"timestamp_seconds":1791218831,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf64e98"} 
[2026-10-05 22:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 22:19: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-10-05 22: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-10-05 22:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":208100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":208100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":208100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551943680001,"66":13015,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551943680001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:19:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:19:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551943680001,"power":13015,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":208100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:19:07] local.INFO: GPS data processed {"connection_id":208100,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:19:07] local.INFO: Acknowledgment sent {"connection_id":208100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:19:13] local.INFO: TCP Data received {"connection_id":208102,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:19:13] local.INFO: Processing buffer {"connection_id":208102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:19:13] local.INFO: IMEI packet received {"connection_id":208102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":208102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:19:15] local.INFO: TCP Data received {"connection_id":208102,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf456b0012d196600071feee80039015425..."} 
[2026-10-05 22:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf456b0012d196600071feee80039015425..."} 
[2026-10-05 22:19:15] local.INFO: Processing buffer {"connection_id":208102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf456b0012d196600071feee80039015425..."} 
[2026-10-05 22:19:15] local.INFO: Packet analysis {"connection_id":208102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf4"} 
[2026-10-05 22:19:15] local.INFO: Extracted packet for processing {"connection_id":208102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf4"} 
[2026-10-05 22:19:15] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551910656001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791218702000,"timestamp_ms":1791218702000,"timestamp_seconds":1791218702,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf456b0"} 
[2026-10-05 22:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 22:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":208102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":208102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":208102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551910656001,"66":2177,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551910656001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:19:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:19:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551910656001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":208102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:19:15] local.INFO: GPS data processed {"connection_id":208102,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:19:15] local.INFO: Acknowledgment sent {"connection_id":208102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:19:30] local.INFO: TCP Data received {"connection_id":205001,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:19:30] local.INFO: Processing buffer {"connection_id":205001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:19:30] local.INFO: IMEI packet received {"connection_id":205001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":205001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:19:35] local.INFO: TCP Data received {"connection_id":205001,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:19:35] local.INFO: Processing buffer {"connection_id":205001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:19:35] local.INFO: IMEI packet received {"connection_id":205001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":205001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:19:36] local.INFO: TCP Data received {"connection_id":205001,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:19:36] local.INFO: Processing buffer {"connection_id":205001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:19:36] local.INFO: Packet analysis {"connection_id":205001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf6"} 
[2026-10-05 22:19:36] local.INFO: Extracted packet for processing {"connection_id":205001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf6"} 
[2026-10-05 22:19:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551943680001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791218831000,"timestamp_ms":1791218831000,"timestamp_seconds":1791218831,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf64e98"} 
[2026-10-05 22:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 22:19:36] 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-10-05 22:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551943680001,"66":13015,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551943680001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:19:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:19:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551943680001,"power":13015,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":205001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970296,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:19:36] local.INFO: GPS data processed {"connection_id":205001,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:19:36] local.INFO: Acknowledgment sent {"connection_id":205001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:19:52] local.INFO: TCP Data received {"connection_id":208102,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf456b0012d196600071feee80039015425..."} 
[2026-10-05 22:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf456b0012d196600071feee80039015425..."} 
[2026-10-05 22:19:52] local.INFO: Processing buffer {"connection_id":208102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf456b0012d196600071feee80039015425..."} 
[2026-10-05 22:19:52] local.INFO: Packet analysis {"connection_id":208102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf4"} 
[2026-10-05 22:19:52] local.INFO: Extracted packet for processing {"connection_id":208102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf4"} 
[2026-10-05 22:19:52] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551910656001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1791218702000,"timestamp_ms":1791218702000,"timestamp_seconds":1791218702,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf456b0"} 
[2026-10-05 22:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 22:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":208102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":208102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":208102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551910656001,"66":2177,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551910656001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:19:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:19:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551910656001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":208102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:19:52] local.INFO: GPS data processed {"connection_id":208102,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:19:52] local.INFO: Acknowledgment sent {"connection_id":208102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:20:04] local.INFO: TCP Data received {"connection_id":205002,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:20:04] local.INFO: Processing buffer {"connection_id":205002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:20:04] local.INFO: IMEI packet received {"connection_id":205002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":205002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:20:07] local.INFO: TCP Data received {"connection_id":205001,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:20:07] local.INFO: Processing buffer {"connection_id":205001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:20:07] local.INFO: Packet analysis {"connection_id":205001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf6"} 
[2026-10-05 22:20:07] local.INFO: Extracted packet for processing {"connection_id":205001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf6"} 
[2026-10-05 22:20:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551943680001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791218831000,"timestamp_ms":1791218831000,"timestamp_seconds":1791218831,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf64e98"} 
[2026-10-05 22:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 22:20: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-10-05 22: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-10-05 22:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551943680001,"66":13015,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551943680001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:20:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:20:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551943680001,"power":13015,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":205001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:20:07] local.INFO: GPS data processed {"connection_id":205001,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:20:07] local.INFO: Acknowledgment sent {"connection_id":205001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:20:10] local.INFO: TCP Data received {"connection_id":205002,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:20:10] local.INFO: Processing buffer {"connection_id":205002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:20:10] local.INFO: IMEI packet received {"connection_id":205002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":205002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:20:12] local.INFO: TCP Data received {"connection_id":205002,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf456b0012d196600071feee80039015425..."} 
[2026-10-05 22:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf456b0012d196600071feee80039015425..."} 
[2026-10-05 22:20:12] local.INFO: Processing buffer {"connection_id":205002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf456b0012d196600071feee80039015425..."} 
[2026-10-05 22:20:12] local.INFO: Packet analysis {"connection_id":205002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf4"} 
[2026-10-05 22:20:12] local.INFO: Extracted packet for processing {"connection_id":205002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf4"} 
[2026-10-05 22:20:12] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551910656001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791218702000,"timestamp_ms":1791218702000,"timestamp_seconds":1791218702,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf456b0"} 
[2026-10-05 22:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":96,"data_length":795,"current_offset":136} 
[2026-10-05 22:20:12] 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-10-05 22: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-10-05 22:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":205002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":205002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":205002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551910656001,"66":2177,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551910656001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:20:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:20:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551910656001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":205002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:20:12] local.INFO: GPS data processed {"connection_id":205002,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:20:12] local.INFO: Acknowledgment sent {"connection_id":205002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:20:35] local.INFO: TCP Data received {"connection_id":206506,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:20:35] local.INFO: Processing buffer {"connection_id":206506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:20:35] local.INFO: IMEI packet received {"connection_id":206506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":206506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:20:40] local.INFO: TCP Data received {"connection_id":206506,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:20:40] local.INFO: Processing buffer {"connection_id":206506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:20:40] local.INFO: IMEI packet received {"connection_id":206506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":206506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:20:41] local.INFO: TCP Data received {"connection_id":206506,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:20:41] local.INFO: Processing buffer {"connection_id":206506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:20:41] local.INFO: Packet analysis {"connection_id":206506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf6"} 
[2026-10-05 22:20:41] local.INFO: Extracted packet for processing {"connection_id":206506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf6"} 
[2026-10-05 22:20:41] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551943680001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791218831000,"timestamp_ms":1791218831000,"timestamp_seconds":1791218831,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf64e98"} 
[2026-10-05 22:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 22:20:41] 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-10-05 22:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":206506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":206506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":206506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551943680001,"66":13015,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551943680001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:20:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:20:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551943680001,"power":13015,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":206506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:20:41] local.INFO: GPS data processed {"connection_id":206506,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:20:41] local.INFO: Acknowledgment sent {"connection_id":206506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:20:45] local.INFO: TCP Data received {"connection_id":205002,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:20:45] local.INFO: Processing buffer {"connection_id":205002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:20:45] local.INFO: Packet analysis {"connection_id":205002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf8"} 
[2026-10-05 22:20:45] local.INFO: Extracted packet for processing {"connection_id":205002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf8"} 
[2026-10-05 22:20:45] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551987712001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791219003000,"timestamp_ms":1791219003000,"timestamp_seconds":1791219003,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf8ee78"} 
[2026-10-05 22:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 22:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":205002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":205002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":205002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551987712001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551987712001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:20:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:20:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551987712001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":205002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:20:45] local.INFO: GPS data processed {"connection_id":205002,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:20:45] local.INFO: Acknowledgment sent {"connection_id":205002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:20:46] local.INFO: TCP Data received {"connection_id":206506,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:20:46] local.INFO: Processing buffer {"connection_id":206506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:20:46] local.INFO: Packet analysis {"connection_id":206506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf6"} 
[2026-10-05 22:20:46] local.INFO: Extracted packet for processing {"connection_id":206506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf6"} 
[2026-10-05 22:20:46] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:20: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-10-05 22:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551943680001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791218831000,"timestamp_ms":1791218831000,"timestamp_seconds":1791218831,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf64e98"} 
[2026-10-05 22:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 22:20:46] 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-10-05 22:20: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-10-05 22:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":206506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":206506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":206506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551943680001,"66":13015,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551943680001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:20:46] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:20:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551943680001,"power":13015,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":206506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:20:46] local.INFO: GPS data processed {"connection_id":206506,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:20:46] local.INFO: Acknowledgment sent {"connection_id":206506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:20:53] local.INFO: TCP Data received {"connection_id":206507,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206507,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:20:53] local.INFO: Processing buffer {"connection_id":206507,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:20:53] local.INFO: IMEI packet received {"connection_id":206507,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 22:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":206507,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:21:09] local.INFO: TCP Data received {"connection_id":206508,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:21:09] local.INFO: Processing buffer {"connection_id":206508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:21:09] local.INFO: IMEI packet received {"connection_id":206508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":206508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:21:17] local.INFO: TCP Data received {"connection_id":206508,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:21:17] local.INFO: Processing buffer {"connection_id":206508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:21:17] local.INFO: IMEI packet received {"connection_id":206508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":206508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:21:19] local.INFO: TCP Data received {"connection_id":206508,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:21:19] local.INFO: Processing buffer {"connection_id":206508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:21:19] local.INFO: Packet analysis {"connection_id":206508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf8"} 
[2026-10-05 22:21:19] local.INFO: Extracted packet for processing {"connection_id":206508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf8"} 
[2026-10-05 22:21:19] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551987712001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791219003000,"timestamp_ms":1791219003000,"timestamp_seconds":1791219003,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf8ee78"} 
[2026-10-05 22:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 22:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":206508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":206508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":206508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551987712001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551987712001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:21:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:21:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551987712001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":206508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:21:19] local.INFO: GPS data processed {"connection_id":206508,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:21:19] local.INFO: Acknowledgment sent {"connection_id":206508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:21:30] local.INFO: TCP Data received {"connection_id":208104,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:21:30] local.INFO: Processing buffer {"connection_id":208104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:21:30] local.INFO: IMEI packet received {"connection_id":208104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":208104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:21:35] local.INFO: TCP Data received {"connection_id":208104,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:21:35] local.INFO: Processing buffer {"connection_id":208104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:21:35] local.INFO: IMEI packet received {"connection_id":208104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":208104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:21:36] local.INFO: TCP Data received {"connection_id":208104,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:21:36] local.INFO: Processing buffer {"connection_id":208104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:21:36] local.INFO: Packet analysis {"connection_id":208104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf6"} 
[2026-10-05 22:21:36] local.INFO: Extracted packet for processing {"connection_id":208104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf6"} 
[2026-10-05 22:21:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551943680001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791218831000,"timestamp_ms":1791218831000,"timestamp_seconds":1791218831,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf64e98"} 
[2026-10-05 22:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-05 22:21:36] 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-10-05 22:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551943680001,"66":13015,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551943680001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:21:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:21:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551943680001,"power":13015,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":208104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:21:36] local.INFO: GPS data processed {"connection_id":208104,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:21:36] local.INFO: Acknowledgment sent {"connection_id":208104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:21:38] local.INFO: TCP Data received {"connection_id":208105,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:21:38] local.INFO: Processing buffer {"connection_id":208105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:21:38] local.INFO: IMEI packet received {"connection_id":208105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 22:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":208105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:22:04] local.INFO: TCP Data received {"connection_id":205004,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:22:04] local.INFO: Processing buffer {"connection_id":205004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:22:04] local.INFO: IMEI packet received {"connection_id":205004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":205004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:22:08] local.INFO: TCP Data received {"connection_id":208104,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:22:08] local.INFO: Processing buffer {"connection_id":208104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf64e98012d7c254005dacc900003015125..."} 
[2026-10-05 22:22:08] local.INFO: Packet analysis {"connection_id":208104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf6"} 
[2026-10-05 22:22:08] local.INFO: Extracted packet for processing {"connection_id":208104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf6"} 
[2026-10-05 22:22:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551943680001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791218831000,"timestamp_ms":1791218831000,"timestamp_seconds":1791218831,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf64e98"} 
[2026-10-05 22:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:22: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-10-05 22: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":35,"data_length":795,"current_offset":136} 
[2026-10-05 22:22: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-10-05 22: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-10-05 22:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":208104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":208104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":208104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551943680001,"66":13015,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551943680001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:22:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:22:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551943680001,"power":13015,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":208104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:22:08] local.INFO: GPS data processed {"connection_id":208104,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:22:08] local.INFO: Acknowledgment sent {"connection_id":208104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:22:16] local.INFO: TCP Data received {"connection_id":205004,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:22:16] local.INFO: Processing buffer {"connection_id":205004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:22:16] local.INFO: IMEI packet received {"connection_id":205004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":205004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:22:17] local.INFO: TCP Data received {"connection_id":205004,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:22:17] local.INFO: Processing buffer {"connection_id":205004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:22:17] local.INFO: Packet analysis {"connection_id":205004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf8"} 
[2026-10-05 22:22:17] local.INFO: Extracted packet for processing {"connection_id":205004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf8"} 
[2026-10-05 22:22:17] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551987712001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791219003000,"timestamp_ms":1791219003000,"timestamp_seconds":1791219003,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf8ee78"} 
[2026-10-05 22:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 22:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":205004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":205004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":205004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551987712001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551987712001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:22:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:22:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551987712001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":205004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:22:17] local.INFO: GPS data processed {"connection_id":205004,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:22:17] local.INFO: Acknowledgment sent {"connection_id":205004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:22:35] local.INFO: TCP Data received {"connection_id":205132,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:22:35] local.INFO: Processing buffer {"connection_id":205132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:22:35] local.INFO: IMEI packet received {"connection_id":205132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":205132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:22:40] local.INFO: TCP Data received {"connection_id":205132,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:22:40] local.INFO: Processing buffer {"connection_id":205132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:22:40] local.INFO: IMEI packet received {"connection_id":205132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":205132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:22:41] local.INFO: TCP Data received {"connection_id":205132,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:22:41] local.INFO: Processing buffer {"connection_id":205132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:22:41] local.INFO: Packet analysis {"connection_id":205132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cfa"} 
[2026-10-05 22:22:41] local.INFO: Extracted packet for processing {"connection_id":205132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cfa"} 
[2026-10-05 22:22:41] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":32,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552020736001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791219132000,"timestamp_ms":1791219132000,"timestamp_seconds":1791219132,"priority":1,"record_length":96,"hex_timestamp":"000001a10cfae660"} 
[2026-10-05 22:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-10-05 22:22:41] 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-10-05 22:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":205132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":205132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":205132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552020736001,"66":12972,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552020736001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:22:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552020736001,"power":12972,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":205132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:22:41] local.INFO: GPS data processed {"connection_id":205132,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:22:41] local.INFO: Acknowledgment sent {"connection_id":205132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:22:46] local.INFO: TCP Data received {"connection_id":205132,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:22:46] local.INFO: Processing buffer {"connection_id":205132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:22:46] local.INFO: Packet analysis {"connection_id":205132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cfa"} 
[2026-10-05 22:22:46] local.INFO: Extracted packet for processing {"connection_id":205132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cfa"} 
[2026-10-05 22:22:46] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":32,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552020736001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791219132000,"timestamp_ms":1791219132000,"timestamp_seconds":1791219132,"priority":1,"record_length":96,"hex_timestamp":"000001a10cfae660"} 
[2026-10-05 22:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-10-05 22:22:46] 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-10-05 22:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":205132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":205132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":205132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552020736001,"66":12972,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552020736001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:22:46] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:22:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552020736001,"power":12972,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":205132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:22:46] local.INFO: GPS data processed {"connection_id":205132,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:22:46] local.INFO: Acknowledgment sent {"connection_id":205132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:22:50] local.INFO: TCP Data received {"connection_id":205004,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:22:50] local.INFO: Processing buffer {"connection_id":205004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:22:50] local.INFO: Packet analysis {"connection_id":205004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf8"} 
[2026-10-05 22:22:50] local.INFO: Extracted packet for processing {"connection_id":205004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf8"} 
[2026-10-05 22:22:50] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:22: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-10-05 22:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551987712001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1791219003000,"timestamp_ms":1791219003000,"timestamp_seconds":1791219003,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf8ee78"} 
[2026-10-05 22:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 22:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:22: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-10-05 22:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":205004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":205004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":205004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551987712001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551987712001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:22:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:22:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551987712001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":205004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:22:50] local.INFO: GPS data processed {"connection_id":205004,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:22:50] local.INFO: Acknowledgment sent {"connection_id":205004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:23:04] local.INFO: TCP Data received {"connection_id":206510,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:23:04] local.INFO: Processing buffer {"connection_id":206510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:23:04] local.INFO: IMEI packet received {"connection_id":206510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":206510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:23:12] local.INFO: TCP Data received {"connection_id":206510,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:23:12] local.INFO: Processing buffer {"connection_id":206510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:23:12] local.INFO: IMEI packet received {"connection_id":206510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":206510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:23:13] local.INFO: TCP Data received {"connection_id":206510,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:23:13] local.INFO: Processing buffer {"connection_id":206510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:23:13] local.INFO: Packet analysis {"connection_id":206510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf8"} 
[2026-10-05 22:23:13] local.INFO: Extracted packet for processing {"connection_id":206510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf8"} 
[2026-10-05 22:23:13] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551987712001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791219003000,"timestamp_ms":1791219003000,"timestamp_seconds":1791219003,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf8ee78"} 
[2026-10-05 22:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 22:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":206510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":206510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":206510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551987712001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551987712001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:23:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:23:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551987712001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":206510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:23:14] local.INFO: GPS data processed {"connection_id":206510,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:23:14] local.INFO: Acknowledgment sent {"connection_id":206510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:23:30] local.INFO: TCP Data received {"connection_id":206511,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:23:30] local.INFO: Processing buffer {"connection_id":206511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:23:30] local.INFO: IMEI packet received {"connection_id":206511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":206511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:23:35] local.INFO: TCP Data received {"connection_id":206511,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:23:35] local.INFO: Processing buffer {"connection_id":206511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:23:35] local.INFO: IMEI packet received {"connection_id":206511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":206511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:23:36] local.INFO: TCP Data received {"connection_id":206511,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:23:36] local.INFO: Processing buffer {"connection_id":206511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:23:36] local.INFO: Packet analysis {"connection_id":206511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cfa"} 
[2026-10-05 22:23:36] local.INFO: Extracted packet for processing {"connection_id":206511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cfa"} 
[2026-10-05 22:23:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":32,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552020736001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791219132000,"timestamp_ms":1791219132000,"timestamp_seconds":1791219132,"priority":1,"record_length":96,"hex_timestamp":"000001a10cfae660"} 
[2026-10-05 22:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-10-05 22:23:36] 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-10-05 22:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552020736001,"66":12972,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552020736001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:23:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:23:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552020736001,"power":12972,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":206511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:23:36] local.INFO: GPS data processed {"connection_id":206511,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:23:36] local.INFO: Acknowledgment sent {"connection_id":206511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:23:45] local.INFO: TCP Data received {"connection_id":206510,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:23:45] local.INFO: Processing buffer {"connection_id":206510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:23:45] local.INFO: Packet analysis {"connection_id":206510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf8"} 
[2026-10-05 22:23:45] local.INFO: Extracted packet for processing {"connection_id":206510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf8"} 
[2026-10-05 22:23:45] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:23: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-10-05 22:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551987712001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791219003000,"timestamp_ms":1791219003000,"timestamp_seconds":1791219003,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf8ee78"} 
[2026-10-05 22:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 22:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:23: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-10-05 22:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":206510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":206510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":206510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551987712001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551987712001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:23:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:23:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551987712001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":206510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:23:45] local.INFO: GPS data processed {"connection_id":206510,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:23:45] local.INFO: Acknowledgment sent {"connection_id":206510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:24:04] local.INFO: TCP Data received {"connection_id":208107,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:24:04] local.INFO: Processing buffer {"connection_id":208107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:24:04] local.INFO: IMEI packet received {"connection_id":208107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":208107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:24:07] local.INFO: TCP Data received {"connection_id":206511,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:24:07] local.INFO: Processing buffer {"connection_id":206511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:24:07] local.INFO: Packet analysis {"connection_id":206511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cfa"} 
[2026-10-05 22:24:07] local.INFO: Extracted packet for processing {"connection_id":206511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cfa"} 
[2026-10-05 22:24:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":32,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552020736001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791219132000,"timestamp_ms":1791219132000,"timestamp_seconds":1791219132,"priority":1,"record_length":96,"hex_timestamp":"000001a10cfae660"} 
[2026-10-05 22:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-10-05 22:24: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-10-05 22: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-10-05 22:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":206511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":206511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":206511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552020736001,"66":12972,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552020736001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:24:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:24:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552020736001,"power":12972,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":206511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:24:07] local.INFO: GPS data processed {"connection_id":206511,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:24:07] local.INFO: Acknowledgment sent {"connection_id":206511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:24:09] local.INFO: TCP Data received {"connection_id":208106,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:24:09] local.INFO: Processing buffer {"connection_id":208106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:24:09] local.INFO: IMEI packet received {"connection_id":208106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":208106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:24:10] local.INFO: TCP Data received {"connection_id":208107,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:24:10] local.INFO: Processing buffer {"connection_id":208107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:24:10] local.INFO: IMEI packet received {"connection_id":208107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":208107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:24:11] local.INFO: TCP Data received {"connection_id":208106,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf74898012d77aac005f272380010016224..."} 
[2026-10-05 22:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf74898012d77aac005f272380010016224..."} 
[2026-10-05 22:24:11] local.INFO: Processing buffer {"connection_id":208106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf74898012d77aac005f272380010016224..."} 
[2026-10-05 22:24:11] local.INFO: Packet analysis {"connection_id":208106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf7"} 
[2026-10-05 22:24:11] local.INFO: Extracted packet for processing {"connection_id":208106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf7"} 
[2026-10-05 22:24:11] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":16,"angle":354,"satellites":36,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551960064001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 22:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 22:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791218895000,"timestamp_ms":1791218895000,"timestamp_seconds":1791218895,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf74898"} 
[2026-10-05 22:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 22:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22: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-10-05 22:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":208106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":208106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":208106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551960064001,"66":25908,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551960064001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:24:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:24:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 22:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551960064001,"power":25908,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 22:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":208106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:24:11] local.INFO: GPS data processed {"connection_id":208106,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:24:11] local.INFO: Acknowledgment sent {"connection_id":208106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:24:13] local.INFO: TCP Data received {"connection_id":208107,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:24:13] local.INFO: Processing buffer {"connection_id":208107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:24:13] local.INFO: Packet analysis {"connection_id":208107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf8"} 
[2026-10-05 22:24:13] local.INFO: Extracted packet for processing {"connection_id":208107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf8"} 
[2026-10-05 22:24:13] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551987712001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791219003000,"timestamp_ms":1791219003000,"timestamp_seconds":1791219003,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf8ee78"} 
[2026-10-05 22:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 22:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:24: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-10-05 22:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":208107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":208107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":208107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551987712001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551987712001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:24:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:24:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551987712001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":208107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:24:13] local.INFO: GPS data processed {"connection_id":208107,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:24:13] local.INFO: Acknowledgment sent {"connection_id":208107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:24:31] local.INFO: TCP Data received {"connection_id":205134,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205134,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:24:31] local.INFO: Processing buffer {"connection_id":205134,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:24:31] local.INFO: IMEI packet received {"connection_id":205134,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":205134,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:24:35] local.INFO: TCP Data received {"connection_id":205134,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205134,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:24:35] local.INFO: Processing buffer {"connection_id":205134,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:24:35] local.INFO: IMEI packet received {"connection_id":205134,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":205134,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:24:36] local.INFO: TCP Data received {"connection_id":205134,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:24:36] local.INFO: Processing buffer {"connection_id":205134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:24:36] local.INFO: Packet analysis {"connection_id":205134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cfa"} 
[2026-10-05 22:24:36] local.INFO: Extracted packet for processing {"connection_id":205134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cfa"} 
[2026-10-05 22:24:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":32,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552020736001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791219132000,"timestamp_ms":1791219132000,"timestamp_seconds":1791219132,"priority":1,"record_length":96,"hex_timestamp":"000001a10cfae660"} 
[2026-10-05 22:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-10-05 22:24:36] 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-10-05 22: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-10-05 22:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552020736001,"66":12972,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552020736001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:24:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:24:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552020736001,"power":12972,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":205134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:24:36] local.INFO: GPS data processed {"connection_id":205134,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:24:36] local.INFO: Acknowledgment sent {"connection_id":205134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:24:47] local.INFO: TCP Data received {"connection_id":208107,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:24:47] local.INFO: Processing buffer {"connection_id":208107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:24:47] local.INFO: Packet analysis {"connection_id":208107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf8"} 
[2026-10-05 22:24:47] local.INFO: Extracted packet for processing {"connection_id":208107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf8"} 
[2026-10-05 22:24:47] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551987712001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791219003000,"timestamp_ms":1791219003000,"timestamp_seconds":1791219003,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf8ee78"} 
[2026-10-05 22:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 22:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":208107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":208107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":208107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551987712001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551987712001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:24:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:24:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551987712001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":208107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:24:47] local.INFO: GPS data processed {"connection_id":208107,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:24:47] local.INFO: Acknowledgment sent {"connection_id":208107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:25:03] local.INFO: TCP Data received {"connection_id":205006,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:25:03] local.INFO: Processing buffer {"connection_id":205006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:25:03] local.INFO: IMEI packet received {"connection_id":205006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":205006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:25:08] local.INFO: TCP Data received {"connection_id":205134,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:25:08] local.INFO: Processing buffer {"connection_id":205134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:25:08] local.INFO: Packet analysis {"connection_id":205134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cfa"} 
[2026-10-05 22:25:08] local.INFO: Extracted packet for processing {"connection_id":205134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cfa"} 
[2026-10-05 22:25:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":32,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552020736001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791219132000,"timestamp_ms":1791219132000,"timestamp_seconds":1791219132,"priority":1,"record_length":96,"hex_timestamp":"000001a10cfae660"} 
[2026-10-05 22:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:25: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-10-05 22:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-10-05 22:25: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-10-05 22:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552020736001,"66":12972,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552020736001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:25:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:25:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552020736001,"power":12972,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":205134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:25:08] local.INFO: GPS data processed {"connection_id":205134,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:25:08] local.INFO: Acknowledgment sent {"connection_id":205134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:25:08] local.INFO: TCP Data received {"connection_id":205006,"ip":"42.106.6.33","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 22:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205006,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 22:25:08] local.INFO: Processing buffer {"connection_id":205006,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 22:25:08] local.INFO: IMEI packet received {"connection_id":205006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":205006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:25:10] local.INFO: TCP Data received {"connection_id":205135,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:25:10] local.INFO: Processing buffer {"connection_id":205135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:25:10] local.INFO: IMEI packet received {"connection_id":205135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":205135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:25:11] local.INFO: TCP Data received {"connection_id":205006,"ip":"42.106.6.33","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a10c..."} 
[2026-10-05 22:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205006,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a10c..."} 
[2026-10-05 22:25:11] local.INFO: Processing buffer {"connection_id":205006,"buffer_length":829,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 22:25:11] local.INFO: IMEI packet received {"connection_id":205006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":205006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:25:14] local.INFO: TCP Data received {"connection_id":205135,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:25:14] local.INFO: Processing buffer {"connection_id":205135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:25:14] local.INFO: IMEI packet received {"connection_id":205135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":205135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:25:15] local.INFO: TCP Data received {"connection_id":205006,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10cfcede8012d77aac005f272380010016225..."} 
[2026-10-05 22:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cfcede8012d77aac005f272380010016225..."} 
[2026-10-05 22:25:15] local.INFO: Processing buffer {"connection_id":205006,"buffer_length":1607,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a10c..."} 
[2026-10-05 22:25:15] local.INFO: IMEI packet received {"connection_id":205006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":205006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:25:16] local.INFO: TCP Data received {"connection_id":205135,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:25:16] local.INFO: Processing buffer {"connection_id":205135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:25:16] local.INFO: Packet analysis {"connection_id":205135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf8"} 
[2026-10-05 22:25:16] local.INFO: Extracted packet for processing {"connection_id":205135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf8"} 
[2026-10-05 22:25:16] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551987712001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791219003000,"timestamp_ms":1791219003000,"timestamp_seconds":1791219003,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf8ee78"} 
[2026-10-05 22:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 22:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551987712001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551987712001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:25:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:25:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551987712001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":205135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:25:16] local.INFO: GPS data processed {"connection_id":205135,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:25:16] local.INFO: Acknowledgment sent {"connection_id":205135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:25:20] local.INFO: TCP Data received {"connection_id":205135,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:25:20] local.INFO: Processing buffer {"connection_id":205135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cf8ee78012d196600071feee80039015425..."} 
[2026-10-05 22:25:20] local.INFO: Packet analysis {"connection_id":205135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cf8"} 
[2026-10-05 22:25:20] local.INFO: Extracted packet for processing {"connection_id":205135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cf8"} 
[2026-10-05 22:25:20] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:25: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-10-05 22:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458551987712001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791219003000,"timestamp_ms":1791219003000,"timestamp_seconds":1791219003,"priority":1,"record_length":96,"hex_timestamp":"000001a10cf8ee78"} 
[2026-10-05 22:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-05 22:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:25: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-10-05 22:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":205135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":205135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":205135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458551987712001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458551987712001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:25:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:25:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458551987712001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":205135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:25:20] local.INFO: GPS data processed {"connection_id":205135,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:25:20] local.INFO: Acknowledgment sent {"connection_id":205135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:25:30] local.INFO: TCP Data received {"connection_id":208108,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:25:30] local.INFO: Processing buffer {"connection_id":208108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:25:30] local.INFO: IMEI packet received {"connection_id":208108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":208108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:25:35] local.INFO: TCP Data received {"connection_id":208108,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:25:35] local.INFO: Processing buffer {"connection_id":208108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:25:35] local.INFO: IMEI packet received {"connection_id":208108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":208108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:25:36] local.INFO: TCP Data received {"connection_id":208108,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:25:36] local.INFO: Processing buffer {"connection_id":208108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:25:36] local.INFO: Packet analysis {"connection_id":208108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cfa"} 
[2026-10-05 22:25:36] local.INFO: Extracted packet for processing {"connection_id":208108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cfa"} 
[2026-10-05 22:25:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":32,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552020736001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791219132000,"timestamp_ms":1791219132000,"timestamp_seconds":1791219132,"priority":1,"record_length":96,"hex_timestamp":"000001a10cfae660"} 
[2026-10-05 22:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-10-05 22:25:36] 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-10-05 22:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552020736001,"66":12972,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552020736001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:25:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:25:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552020736001,"power":12972,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":208108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:25:36] local.INFO: GPS data processed {"connection_id":208108,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:25:36] local.INFO: Acknowledgment sent {"connection_id":208108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:25:37] local.INFO: TCP Data received {"connection_id":205006,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10cfcf5b8012d77a94005f273d00010009d25..."} 
[2026-10-05 22:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cfcf5b8012d77a94005f273d00010009d25..."} 
[2026-10-05 22:25:37] local.INFO: Processing buffer {"connection_id":205006,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a10cfbe060012d77aac005f272380010016227..."} 
[2026-10-05 22:25:37] local.INFO: Packet analysis {"connection_id":205006,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a10cfb"} 
[2026-10-05 22:25:37] local.INFO: Extracted packet for processing {"connection_id":205006,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a10cfb"} 
[2026-10-05 22:25:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":16,"angle":354,"satellites":39,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 22:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552037120001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 22:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 22:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791219196000,"timestamp_ms":1791219196000,"timestamp_seconds":1791219196,"priority":1,"record_length":96,"hex_timestamp":"000001a10cfbe060"} 
[2026-10-05 22:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 22:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552037120001,"66":25919,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552037120001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:25:37] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:25:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 22:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552037120001,"power":25919,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 22:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":205006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:25:37] local.INFO: GPS data processed {"connection_id":205006,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:25:37] local.INFO: Acknowledgment sent {"connection_id":205006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:25:37] local.INFO: Packet analysis {"connection_id":205006,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a10cfc"} 
[2026-10-05 22:25:37] local.INFO: Extracted packet for processing {"connection_id":205006,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cfc"} 
[2026-10-05 22:25:37] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775032,"longitude_deg":76.2817216,"latitude_deg":9.9775032,"altitude":16,"angle":354,"satellites":37,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27238","is_valid_coordinates":true} 
[2026-10-05 22:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552114176001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 22:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 22:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791219265000,"timestamp_ms":1791219265000,"timestamp_seconds":1791219265,"priority":1,"record_length":96,"hex_timestamp":"000001a10cfcede8"} 
[2026-10-05 22:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 22:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552114176001,"66":25875,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552114176001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:25:37] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:25:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 22:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552114176001,"power":25875,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 22:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":205006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:25:37] local.INFO: GPS data processed {"connection_id":205006,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:25:37] local.INFO: Acknowledgment sent {"connection_id":205006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:25:37] local.INFO: Packet analysis {"connection_id":205006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cfc"} 
[2026-10-05 22:25:37] local.INFO: Extracted packet for processing {"connection_id":205006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cfc"} 
[2026-10-05 22:25:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99775440,"longitude_deg":76.2816832,"latitude_deg":9.977544,"altitude":16,"angle":157,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f273d0","is_valid_coordinates":true} 
[2026-10-05 22:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552131840001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 22:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329177088,"note":"Value kept but may cause issues"} 
[2026-10-05 22:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1791219267000,"timestamp_ms":1791219267000,"timestamp_seconds":1791219267,"priority":1,"record_length":96,"hex_timestamp":"000001a10cfcf5b8"} 
[2026-10-05 22:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:25: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-10-05 22:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 22:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":205006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":205006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":205006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552131840001,"66":25756,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622915568329177088},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552131840001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:25:37] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:25:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329177088,"description":"Unknown IO ID 45"} 
[2026-10-05 22:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552131840001,"power":25756,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622915568329177088}} 
[2026-10-05 22:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":205006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:25:37] local.INFO: GPS data processed {"connection_id":205006,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:25:37] local.INFO: Acknowledgment sent {"connection_id":205006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:26:04] local.INFO: TCP Data received {"connection_id":205136,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:26:04] local.INFO: Processing buffer {"connection_id":205136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:26:04] local.INFO: IMEI packet received {"connection_id":205136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":205136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:26:07] local.INFO: TCP Data received {"connection_id":205007,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:26:07] local.INFO: Processing buffer {"connection_id":205007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:26:07] local.INFO: IMEI packet received {"connection_id":205007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":205007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:26:07] local.INFO: TCP Data received {"connection_id":208108,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:26:07] local.INFO: Processing buffer {"connection_id":208108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:26:07] local.INFO: Packet analysis {"connection_id":208108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cfa"} 
[2026-10-05 22:26:07] local.INFO: Extracted packet for processing {"connection_id":208108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cfa"} 
[2026-10-05 22:26:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":32,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552020736001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791219132000,"timestamp_ms":1791219132000,"timestamp_seconds":1791219132,"priority":1,"record_length":96,"hex_timestamp":"000001a10cfae660"} 
[2026-10-05 22:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-10-05 22:26: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-10-05 22:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":208108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":208108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":208108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552020736001,"66":12972,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552020736001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:26:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:26:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552020736001,"power":12972,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":208108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:26:07] local.INFO: GPS data processed {"connection_id":208108,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:26:07] local.INFO: Acknowledgment sent {"connection_id":208108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:26:10] local.INFO: TCP Data received {"connection_id":205136,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:26:10] local.INFO: Processing buffer {"connection_id":205136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:26:10] local.INFO: IMEI packet received {"connection_id":205136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":205136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:26:12] local.INFO: TCP Data received {"connection_id":205136,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cfd8640012d196600071feee80039015425..."} 
[2026-10-05 22:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cfd8640012d196600071feee80039015425..."} 
[2026-10-05 22:26:12] local.INFO: Processing buffer {"connection_id":205136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cfd8640012d196600071feee80039015425..."} 
[2026-10-05 22:26:12] local.INFO: Packet analysis {"connection_id":205136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cfd"} 
[2026-10-05 22:26:12] local.INFO: Extracted packet for processing {"connection_id":205136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cfd"} 
[2026-10-05 22:26:12] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552064768001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791219304000,"timestamp_ms":1791219304000,"timestamp_seconds":1791219304,"priority":1,"record_length":96,"hex_timestamp":"000001a10cfd8640"} 
[2026-10-05 22:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 22:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":205136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":205136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":205136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552064768001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552064768001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:26:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:26:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552064768001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":205136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:26:12] local.INFO: GPS data processed {"connection_id":205136,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:26:12] local.INFO: Acknowledgment sent {"connection_id":205136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:26:14] local.INFO: TCP Data received {"connection_id":205007,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:26:14] local.INFO: Processing buffer {"connection_id":205007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:26:14] local.INFO: IMEI packet received {"connection_id":205007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":205007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:26:19] local.INFO: TCP Data received {"connection_id":205007,"ip":"42.106.6.33","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a10c..."} 
[2026-10-05 22:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205007,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a10c..."} 
[2026-10-05 22:26:19] local.INFO: Processing buffer {"connection_id":205007,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a10c..."} 
[2026-10-05 22:26:19] local.INFO: IMEI packet received {"connection_id":205007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":205007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:26:20] local.INFO: TCP Data received {"connection_id":205007,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10cfd99c8012d77a94005f273d00010009d27..."} 
[2026-10-05 22:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cfd99c8012d77a94005f273d00010009d27..."} 
[2026-10-05 22:26:20] local.INFO: Processing buffer {"connection_id":205007,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a10cfd43d8012d77a94005f273d00010009d27..."} 
[2026-10-05 22:26:20] local.INFO: Packet analysis {"connection_id":205007,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a10cfd"} 
[2026-10-05 22:26:20] local.INFO: Extracted packet for processing {"connection_id":205007,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cfd"} 
[2026-10-05 22:26:20] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99775440,"longitude_deg":76.2816832,"latitude_deg":9.977544,"altitude":16,"angle":157,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f273d0","is_valid_coordinates":true} 
[2026-10-05 22:26: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-10-05 22:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552132352001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 22:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864215552,"note":"Value kept but may cause issues"} 
[2026-10-05 22:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791219287000,"timestamp_ms":1791219287000,"timestamp_seconds":1791219287,"priority":1,"record_length":96,"hex_timestamp":"000001a10cfd43d8"} 
[2026-10-05 22:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 22:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-05 22:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:26: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-10-05 22:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":205007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":205007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":205007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:26:20] 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-10-05 22:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552132352001,"66":27463,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622493355864215552},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552132352001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:26:20] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:26:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864215552,"description":"Unknown IO ID 45"} 
[2026-10-05 22:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552132352001,"power":27463,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622493355864215552}} 
[2026-10-05 22:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":205007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:26:20] local.INFO: GPS data processed {"connection_id":205007,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:26:20] local.INFO: Acknowledgment sent {"connection_id":205007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:26:20] local.INFO: Packet analysis {"connection_id":205007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cfd"} 
[2026-10-05 22:26:20] local.INFO: Extracted packet for processing {"connection_id":205007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cfd"} 
[2026-10-05 22:26:20] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99775440,"longitude_deg":76.2816832,"latitude_deg":9.977544,"altitude":16,"angle":157,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f273d0","is_valid_coordinates":true} 
[2026-10-05 22:26: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-10-05 22:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552137472001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244476894445568,"note":"Value kept but may cause issues"} 
[2026-10-05 22:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864215552,"note":"Value kept but may cause issues"} 
[2026-10-05 22:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791219309000,"timestamp_ms":1791219309000,"timestamp_seconds":1791219309,"priority":1,"record_length":96,"hex_timestamp":"000001a10cfd99c8"} 
[2026-10-05 22:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:26: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-10-05 22:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-05 22:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:26: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-10-05 22:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":205007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":205007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":205007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:26:20] 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-10-05 22:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552137472001,"66":27484,"160":206,"87":13568,"24":0,"16":2244476894445568,"45":8622493355864215552},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552137472001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:26:20] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:26:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244476894445568,"km_value":2244476894445.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864215552,"description":"Unknown IO ID 45"} 
[2026-10-05 22:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552137472001,"power":27484,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622493355864215552}} 
[2026-10-05 22:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":205007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:26:20] local.INFO: GPS data processed {"connection_id":205007,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:26:20] local.INFO: Acknowledgment sent {"connection_id":205007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:26:25] local.INFO: TCP Data received {"connection_id":205007,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10cfdb520012d77a8c005f274f00012001c27..."} 
[2026-10-05 22:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cfdb520012d77a8c005f274f00012001c27..."} 
[2026-10-05 22:26:25] local.INFO: Processing buffer {"connection_id":205007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cfdb520012d77a8c005f274f00012001c27..."} 
[2026-10-05 22:26:25] local.INFO: Packet analysis {"connection_id":205007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cfd"} 
[2026-10-05 22:26:25] local.INFO: Extracted packet for processing {"connection_id":205007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cfd"} 
[2026-10-05 22:26:25] local.INFO: GPS Element Parsed {"raw_longitude":762816704,"raw_latitude":99775728,"longitude_deg":76.2816704,"latitude_deg":9.9775728,"altitude":18,"angle":28,"satellites":39,"speed":1,"hex_longitude":"2d77a8c0","hex_latitude":"05f274f0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 22:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552143104001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2244494074314752,"note":"Value kept but may cause issues"} 
[2026-10-05 22:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864215552,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 22:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1791219316000,"timestamp_ms":1791219316000,"timestamp_seconds":1791219316,"priority":1,"record_length":96,"hex_timestamp":"000001a10cfdb520"} 
[2026-10-05 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-10-05 22:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-05 22:26: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-10-05 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-10-05 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-10-05 22:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":205007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":205007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":205007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552143104001,"66":27397,"160":206,"87":13568,"24":1,"16":2244494074314752,"45":8622493355864215552},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552143104001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:26:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:26:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2244494074314752,"km_value":2244494074314.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864215552,"description":"Unknown IO ID 45"} 
[2026-10-05 22:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552143104001,"power":27397,"unknown_160":206,"unknown_87":13568,"ignition":1,"odometer":null,"unknown_45":8622493355864215552}} 
[2026-10-05 22:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":205007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:26:25] local.INFO: GPS data processed {"connection_id":205007,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:26:25] local.INFO: Acknowledgment sent {"connection_id":205007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:26:30] local.INFO: TCP Data received {"connection_id":205137,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205137,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:26:30] local.INFO: Processing buffer {"connection_id":205137,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:26:30] local.INFO: IMEI packet received {"connection_id":205137,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":205137,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:26:35] local.INFO: TCP Data received {"connection_id":205137,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205137,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:26:35] local.INFO: Processing buffer {"connection_id":205137,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:26:35] local.INFO: IMEI packet received {"connection_id":205137,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":205137,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:26:36] local.INFO: TCP Data received {"connection_id":205137,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:26:36] local.INFO: Processing buffer {"connection_id":205137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:26:36] local.INFO: Packet analysis {"connection_id":205137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cfa"} 
[2026-10-05 22:26:36] local.INFO: Extracted packet for processing {"connection_id":205137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cfa"} 
[2026-10-05 22:26:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":32,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552020736001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791219132000,"timestamp_ms":1791219132000,"timestamp_seconds":1791219132,"priority":1,"record_length":96,"hex_timestamp":"000001a10cfae660"} 
[2026-10-05 22:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-10-05 22:26:36] 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-10-05 22: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-10-05 22:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552020736001,"66":12972,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552020736001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:26:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:26:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552020736001,"power":12972,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":205137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:26:36] local.INFO: GPS data processed {"connection_id":205137,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:26:36] local.INFO: Acknowledgment sent {"connection_id":205137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:26:44] local.INFO: TCP Data received {"connection_id":205136,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cfd8640012d196600071feee80039015425..."} 
[2026-10-05 22:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cfd8640012d196600071feee80039015425..."} 
[2026-10-05 22:26:44] local.INFO: Processing buffer {"connection_id":205136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cfd8640012d196600071feee80039015425..."} 
[2026-10-05 22:26:44] local.INFO: Packet analysis {"connection_id":205136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cfd"} 
[2026-10-05 22:26:44] local.INFO: Extracted packet for processing {"connection_id":205136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cfd"} 
[2026-10-05 22:26:44] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552064768001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791219304000,"timestamp_ms":1791219304000,"timestamp_seconds":1791219304,"priority":1,"record_length":96,"hex_timestamp":"000001a10cfd8640"} 
[2026-10-05 22:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 22:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":205136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":205136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":205136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552064768001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552064768001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:26:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:26:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552064768001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":205136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:26:44] local.INFO: GPS data processed {"connection_id":205136,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:26:44] local.INFO: Acknowledgment sent {"connection_id":205136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:27:05] local.INFO: TCP Data received {"connection_id":206513,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206513,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:27:05] local.INFO: Processing buffer {"connection_id":206513,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:27:05] local.INFO: IMEI packet received {"connection_id":206513,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 22:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":206513,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:27:07] local.INFO: TCP Data received {"connection_id":205137,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:27:07] local.INFO: Processing buffer {"connection_id":205137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cfae660012d7c254005dacc900003015120..."} 
[2026-10-05 22:27:07] local.INFO: Packet analysis {"connection_id":205137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cfa"} 
[2026-10-05 22:27:07] local.INFO: Extracted packet for processing {"connection_id":205137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cfa"} 
[2026-10-05 22:27:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":32,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552020736001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791219132000,"timestamp_ms":1791219132000,"timestamp_seconds":1791219132,"priority":1,"record_length":96,"hex_timestamp":"000001a10cfae660"} 
[2026-10-05 22:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-10-05 22:27: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-10-05 22:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552020736001,"66":12972,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552020736001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:27:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:27:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552020736001,"power":12972,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":205137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:27:07] local.INFO: GPS data processed {"connection_id":205137,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:27:07] local.INFO: Acknowledgment sent {"connection_id":205137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:27:09] local.INFO: TCP Data received {"connection_id":205008,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:27:09] local.INFO: Processing buffer {"connection_id":205008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:27:09] local.INFO: IMEI packet received {"connection_id":205008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":205008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:27:14] local.INFO: TCP Data received {"connection_id":205008,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:27:14] local.INFO: Processing buffer {"connection_id":205008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:27:14] local.INFO: IMEI packet received {"connection_id":205008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":205008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:27:15] local.INFO: TCP Data received {"connection_id":205008,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cfd8640012d196600071feee80039015425..."} 
[2026-10-05 22:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cfd8640012d196600071feee80039015425..."} 
[2026-10-05 22:27:15] local.INFO: Processing buffer {"connection_id":205008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cfd8640012d196600071feee80039015425..."} 
[2026-10-05 22:27:15] local.INFO: Packet analysis {"connection_id":205008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cfd"} 
[2026-10-05 22:27:15] local.INFO: Extracted packet for processing {"connection_id":205008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cfd"} 
[2026-10-05 22:27:15] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552064768001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791219304000,"timestamp_ms":1791219304000,"timestamp_seconds":1791219304,"priority":1,"record_length":96,"hex_timestamp":"000001a10cfd8640"} 
[2026-10-05 22:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 22:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":205008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":205008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":205008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552064768001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552064768001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:27:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:27:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552064768001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":205008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:27:15] local.INFO: GPS data processed {"connection_id":205008,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:27:15] local.INFO: Acknowledgment sent {"connection_id":205008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:27:35] local.INFO: TCP Data received {"connection_id":205138,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:27:35] local.INFO: Processing buffer {"connection_id":205138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:27:35] local.INFO: IMEI packet received {"connection_id":205138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":205138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:27:40] local.INFO: TCP Data received {"connection_id":205138,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:27:40] local.INFO: Processing buffer {"connection_id":205138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:27:40] local.INFO: IMEI packet received {"connection_id":205138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":205138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:27:41] local.INFO: TCP Data received {"connection_id":205138,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:27:41] local.INFO: Processing buffer {"connection_id":205138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:27:41] local.INFO: Packet analysis {"connection_id":205138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cff"} 
[2026-10-05 22:27:41] local.INFO: Extracted packet for processing {"connection_id":205138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cff"} 
[2026-10-05 22:27:41] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552097792001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791219433000,"timestamp_ms":1791219433000,"timestamp_seconds":1791219433,"priority":1,"record_length":96,"hex_timestamp":"000001a10cff7e28"} 
[2026-10-05 22:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 22:27:41] 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-10-05 22: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-10-05 22:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":205138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":205138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":205138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552097792001,"66":12917,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552097792001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:27:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:27:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552097792001,"power":12917,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":205138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:27:41] local.INFO: GPS data processed {"connection_id":205138,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:27:41] local.INFO: Acknowledgment sent {"connection_id":205138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:27:42] local.INFO: TCP Data received {"connection_id":205009,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:27:42] local.INFO: Processing buffer {"connection_id":205009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:27:42] local.INFO: IMEI packet received {"connection_id":205009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 22:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":205009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:27:46] local.INFO: TCP Data received {"connection_id":205138,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:27:46] local.INFO: Processing buffer {"connection_id":205138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:27:46] local.INFO: Packet analysis {"connection_id":205138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cff"} 
[2026-10-05 22:27:46] local.INFO: Extracted packet for processing {"connection_id":205138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cff"} 
[2026-10-05 22:27:46] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552097792001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791219433000,"timestamp_ms":1791219433000,"timestamp_seconds":1791219433,"priority":1,"record_length":96,"hex_timestamp":"000001a10cff7e28"} 
[2026-10-05 22:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 22:27:46] 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-10-05 22:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":205138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":205138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":205138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552097792001,"66":12917,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552097792001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:27:46] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:27:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552097792001,"power":12917,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":205138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:27:46] local.INFO: GPS data processed {"connection_id":205138,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:27:46] local.INFO: Acknowledgment sent {"connection_id":205138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:27:48] local.INFO: TCP Data received {"connection_id":205008,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cfd8640012d196600071feee80039015425..."} 
[2026-10-05 22:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cfd8640012d196600071feee80039015425..."} 
[2026-10-05 22:27:48] local.INFO: Processing buffer {"connection_id":205008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cfd8640012d196600071feee80039015425..."} 
[2026-10-05 22:27:48] local.INFO: Packet analysis {"connection_id":205008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cfd"} 
[2026-10-05 22:27:48] local.INFO: Extracted packet for processing {"connection_id":205008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cfd"} 
[2026-10-05 22:27:48] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552064768001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791219304000,"timestamp_ms":1791219304000,"timestamp_seconds":1791219304,"priority":1,"record_length":96,"hex_timestamp":"000001a10cfd8640"} 
[2026-10-05 22:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 22:27:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":205008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":205008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":205008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552064768001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552064768001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:27:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:27:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552064768001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":205008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:27:48] local.INFO: GPS data processed {"connection_id":205008,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:27:48] local.INFO: Acknowledgment sent {"connection_id":205008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:28:09] local.INFO: TCP Data received {"connection_id":206514,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:28:09] local.INFO: Processing buffer {"connection_id":206514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:28:09] local.INFO: IMEI packet received {"connection_id":206514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":206514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:28:19] local.INFO: TCP Data received {"connection_id":206514,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:28:19] local.INFO: Processing buffer {"connection_id":206514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:28:19] local.INFO: IMEI packet received {"connection_id":206514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":206514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:28:20] local.INFO: TCP Data received {"connection_id":206514,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cfd8640012d196600071feee80039015425..."} 
[2026-10-05 22:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cfd8640012d196600071feee80039015425..."} 
[2026-10-05 22:28:20] local.INFO: Processing buffer {"connection_id":206514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cfd8640012d196600071feee80039015425..."} 
[2026-10-05 22:28:20] local.INFO: Packet analysis {"connection_id":206514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cfd"} 
[2026-10-05 22:28:20] local.INFO: Extracted packet for processing {"connection_id":206514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cfd"} 
[2026-10-05 22:28:20] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552064768001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791219304000,"timestamp_ms":1791219304000,"timestamp_seconds":1791219304,"priority":1,"record_length":96,"hex_timestamp":"000001a10cfd8640"} 
[2026-10-05 22:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 22:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":206514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":206514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":206514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552064768001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552064768001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:28:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:28:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552064768001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":206514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:28:21] local.INFO: GPS data processed {"connection_id":206514,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:28:21] local.INFO: Acknowledgment sent {"connection_id":206514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:28:30] local.INFO: TCP Data received {"connection_id":208111,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208111,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:28:30] local.INFO: Processing buffer {"connection_id":208111,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:28:30] local.INFO: IMEI packet received {"connection_id":208111,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":208111,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:28:35] local.INFO: TCP Data received {"connection_id":208111,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208111,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:28:35] local.INFO: Processing buffer {"connection_id":208111,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:28:35] local.INFO: IMEI packet received {"connection_id":208111,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":208111,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:28:36] local.INFO: TCP Data received {"connection_id":208111,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:28:36] local.INFO: Processing buffer {"connection_id":208111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:28:36] local.INFO: Packet analysis {"connection_id":208111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cff"} 
[2026-10-05 22:28:36] local.INFO: Extracted packet for processing {"connection_id":208111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cff"} 
[2026-10-05 22:28:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552097792001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791219433000,"timestamp_ms":1791219433000,"timestamp_seconds":1791219433,"priority":1,"record_length":96,"hex_timestamp":"000001a10cff7e28"} 
[2026-10-05 22:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 22:28:36] 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-10-05 22: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-10-05 22:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552097792001,"66":12917,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552097792001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:28:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:28:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552097792001,"power":12917,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":208111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:28:36] local.INFO: GPS data processed {"connection_id":208111,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:28:36] local.INFO: Acknowledgment sent {"connection_id":208111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:29:03] local.INFO: TCP Data received {"connection_id":206515,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:29:03] local.INFO: Processing buffer {"connection_id":206515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:29:03] local.INFO: IMEI packet received {"connection_id":206515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":206515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:29:04] local.INFO: TCP Data received {"connection_id":208113,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:29:04] local.INFO: Processing buffer {"connection_id":208113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:29:04] local.INFO: IMEI packet received {"connection_id":208113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":208113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:29:08] local.INFO: TCP Data received {"connection_id":208111,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:29:08] local.INFO: Processing buffer {"connection_id":208111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:29:08] local.INFO: Packet analysis {"connection_id":208111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cff"} 
[2026-10-05 22:29:08] local.INFO: Extracted packet for processing {"connection_id":208111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cff"} 
[2026-10-05 22:29:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552097792001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791219433000,"timestamp_ms":1791219433000,"timestamp_seconds":1791219433,"priority":1,"record_length":96,"hex_timestamp":"000001a10cff7e28"} 
[2026-10-05 22:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:29: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-10-05 22: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 22:29:08] 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-10-05 22: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-10-05 22:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":208111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":208111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":208111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552097792001,"66":12917,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552097792001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:29:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:29:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552097792001,"power":12917,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":208111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:29:08] local.INFO: GPS data processed {"connection_id":208111,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:29:08] local.INFO: Acknowledgment sent {"connection_id":208111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:29:09] local.INFO: TCP Data received {"connection_id":208113,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:29:09] local.INFO: Processing buffer {"connection_id":208113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:29:09] local.INFO: IMEI packet received {"connection_id":208113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":208113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:29:11] local.INFO: TCP Data received {"connection_id":208113,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cfd8640012d196600071feee80039015425..."} 
[2026-10-05 22:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cfd8640012d196600071feee80039015425..."} 
[2026-10-05 22:29:11] local.INFO: Processing buffer {"connection_id":208113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cfd8640012d196600071feee80039015425..."} 
[2026-10-05 22:29:11] local.INFO: Packet analysis {"connection_id":208113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cfd"} 
[2026-10-05 22:29:11] local.INFO: Extracted packet for processing {"connection_id":208113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cfd"} 
[2026-10-05 22:29:11] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552064768001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791219304000,"timestamp_ms":1791219304000,"timestamp_seconds":1791219304,"priority":1,"record_length":96,"hex_timestamp":"000001a10cfd8640"} 
[2026-10-05 22:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 22:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":208113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":208113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":208113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552064768001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552064768001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:29:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:29:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552064768001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":208113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:29:11] local.INFO: GPS data processed {"connection_id":208113,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:29:11] local.INFO: Acknowledgment sent {"connection_id":208113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:29:15] local.INFO: TCP Data received {"connection_id":206515,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:29:15] local.INFO: Processing buffer {"connection_id":206515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:29:15] local.INFO: IMEI packet received {"connection_id":206515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":206515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:29:15] local.INFO: TCP Data received {"connection_id":206515,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:29:15] local.INFO: Processing buffer {"connection_id":206515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:29:15] local.INFO: IMEI packet received {"connection_id":206515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":206515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:29:28] local.INFO: TCP Data received {"connection_id":206515,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:29:28] local.INFO: Processing buffer {"connection_id":206515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:29:28] local.INFO: IMEI packet received {"connection_id":206515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":206515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:29:30] local.INFO: TCP Data received {"connection_id":206516,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:29:30] local.INFO: Processing buffer {"connection_id":206516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:29:30] local.INFO: IMEI packet received {"connection_id":206516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":206516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:29:35] local.INFO: TCP Data received {"connection_id":206516,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:29:35] local.INFO: Processing buffer {"connection_id":206516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:29:35] local.INFO: IMEI packet received {"connection_id":206516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":206516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:29:36] local.INFO: TCP Data received {"connection_id":206516,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:29:36] local.INFO: Processing buffer {"connection_id":206516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:29:36] local.INFO: Packet analysis {"connection_id":206516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cff"} 
[2026-10-05 22:29:36] local.INFO: Extracted packet for processing {"connection_id":206516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cff"} 
[2026-10-05 22:29:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552097792001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791219433000,"timestamp_ms":1791219433000,"timestamp_seconds":1791219433,"priority":1,"record_length":96,"hex_timestamp":"000001a10cff7e28"} 
[2026-10-05 22:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 22:29:36] 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-10-05 22:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552097792001,"66":12917,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552097792001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:29:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:29:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552097792001,"power":12917,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":206516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970341,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:29:36] local.INFO: GPS data processed {"connection_id":206516,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:29:36] local.INFO: Acknowledgment sent {"connection_id":206516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:29:47] local.INFO: TCP Data received {"connection_id":208113,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cfd8640012d196600071feee80039015425..."} 
[2026-10-05 22:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cfd8640012d196600071feee80039015425..."} 
[2026-10-05 22:29:47] local.INFO: Processing buffer {"connection_id":208113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cfd8640012d196600071feee80039015425..."} 
[2026-10-05 22:29:47] local.INFO: Packet analysis {"connection_id":208113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cfd"} 
[2026-10-05 22:29:47] local.INFO: Extracted packet for processing {"connection_id":208113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cfd"} 
[2026-10-05 22:29:47] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552064768001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1791219304000,"timestamp_ms":1791219304000,"timestamp_seconds":1791219304,"priority":1,"record_length":96,"hex_timestamp":"000001a10cfd8640"} 
[2026-10-05 22:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 22:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22: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-10-05 22:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":208113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":208113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":208113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552064768001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552064768001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:29:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:29:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552064768001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":208113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:29:47] local.INFO: GPS data processed {"connection_id":208113,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:29:47] local.INFO: Acknowledgment sent {"connection_id":208113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:30:08] local.INFO: TCP Data received {"connection_id":206516,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:30:08] local.INFO: Processing buffer {"connection_id":206516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:30:08] local.INFO: Packet analysis {"connection_id":206516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cff"} 
[2026-10-05 22:30:08] local.INFO: Extracted packet for processing {"connection_id":206516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cff"} 
[2026-10-05 22:30:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552097792001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791219433000,"timestamp_ms":1791219433000,"timestamp_seconds":1791219433,"priority":1,"record_length":96,"hex_timestamp":"000001a10cff7e28"} 
[2026-10-05 22:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:30: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-10-05 22: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 22:30:08] 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-10-05 22: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-10-05 22:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552097792001,"66":12917,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552097792001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:30:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:30:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552097792001,"power":12917,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":206516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970343,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:30:08] local.INFO: GPS data processed {"connection_id":206516,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:30:08] local.INFO: Acknowledgment sent {"connection_id":206516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:30:09] local.INFO: TCP Data received {"connection_id":208114,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:30:09] local.INFO: Processing buffer {"connection_id":208114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:30:09] local.INFO: IMEI packet received {"connection_id":208114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":208114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:30:15] local.INFO: TCP Data received {"connection_id":208114,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:30:15] local.INFO: Processing buffer {"connection_id":208114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:30:15] local.INFO: IMEI packet received {"connection_id":208114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":208114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:30:17] local.INFO: TCP Data received {"connection_id":208114,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10cfd8640012d196600071feee80039015425..."} 
[2026-10-05 22:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cfd8640012d196600071feee80039015425..."} 
[2026-10-05 22:30:17] local.INFO: Processing buffer {"connection_id":208114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cfd8640012d196600071feee80039015425..."} 
[2026-10-05 22:30:17] local.INFO: Packet analysis {"connection_id":208114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cfd"} 
[2026-10-05 22:30:17] local.INFO: Extracted packet for processing {"connection_id":208114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cfd"} 
[2026-10-05 22:30:17] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552064768001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1791219304000,"timestamp_ms":1791219304000,"timestamp_seconds":1791219304,"priority":1,"record_length":96,"hex_timestamp":"000001a10cfd8640"} 
[2026-10-05 22:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 22:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":208114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":208114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":208114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552064768001,"66":2155,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552064768001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:30:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:30:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552064768001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":208114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:30:17] local.INFO: GPS data processed {"connection_id":208114,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:30:17] local.INFO: Acknowledgment sent {"connection_id":208114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:30:35] local.INFO: TCP Data received {"connection_id":205140,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:30:35] local.INFO: Processing buffer {"connection_id":205140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:30:35] local.INFO: IMEI packet received {"connection_id":205140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":205140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:30:40] local.INFO: TCP Data received {"connection_id":205140,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:30:40] local.INFO: Processing buffer {"connection_id":205140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:30:40] local.INFO: IMEI packet received {"connection_id":205140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":205140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:30:42] local.INFO: TCP Data received {"connection_id":205140,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:30:42] local.INFO: Processing buffer {"connection_id":205140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:30:42] local.INFO: Packet analysis {"connection_id":205140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cff"} 
[2026-10-05 22:30:42] local.INFO: Extracted packet for processing {"connection_id":205140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cff"} 
[2026-10-05 22:30:42] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552097792001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791219433000,"timestamp_ms":1791219433000,"timestamp_seconds":1791219433,"priority":1,"record_length":96,"hex_timestamp":"000001a10cff7e28"} 
[2026-10-05 22:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 22:30:42] 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-10-05 22:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":205140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":205140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":205140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552097792001,"66":12917,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552097792001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:30:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:30:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552097792001,"power":12917,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":205140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:30:42] local.INFO: GPS data processed {"connection_id":205140,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:30:42] local.INFO: Acknowledgment sent {"connection_id":205140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:30:46] local.INFO: TCP Data received {"connection_id":205140,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:30:46] local.INFO: Processing buffer {"connection_id":205140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:30:46] local.INFO: Packet analysis {"connection_id":205140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cff"} 
[2026-10-05 22:30:46] local.INFO: Extracted packet for processing {"connection_id":205140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cff"} 
[2026-10-05 22:30:46] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552097792001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791219433000,"timestamp_ms":1791219433000,"timestamp_seconds":1791219433,"priority":1,"record_length":96,"hex_timestamp":"000001a10cff7e28"} 
[2026-10-05 22:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 22:30:46] 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-10-05 22:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":205140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":205140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":205140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552097792001,"66":12917,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552097792001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:30:46] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:30:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552097792001,"power":12917,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":205140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:30:46] local.INFO: GPS data processed {"connection_id":205140,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:30:46] local.INFO: Acknowledgment sent {"connection_id":205140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:30:50] local.INFO: TCP Data received {"connection_id":208114,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d021e08012d196600071feee80039015423..."} 
[2026-10-05 22:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d021e08012d196600071feee80039015423..."} 
[2026-10-05 22:30:50] local.INFO: Processing buffer {"connection_id":208114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d021e08012d196600071feee80039015423..."} 
[2026-10-05 22:30:50] local.INFO: Packet analysis {"connection_id":208114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d02"} 
[2026-10-05 22:30:50] local.INFO: Extracted packet for processing {"connection_id":208114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d02"} 
[2026-10-05 22:30:50] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":35,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552141824001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1791219605000,"timestamp_ms":1791219605000,"timestamp_seconds":1791219605,"priority":1,"record_length":96,"hex_timestamp":"000001a10d021e08"} 
[2026-10-05 22:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 22:30:50] 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-10-05 22: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-10-05 22:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":208114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":208114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":208114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552141824001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552141824001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:30:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:30:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552141824001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":208114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:30:50] local.INFO: GPS data processed {"connection_id":208114,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:30:50] local.INFO: Acknowledgment sent {"connection_id":208114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:31:10] local.INFO: TCP Data received {"connection_id":205013,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:31:10] local.INFO: Processing buffer {"connection_id":205013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:31:10] local.INFO: IMEI packet received {"connection_id":205013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":205013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:31:18] local.INFO: TCP Data received {"connection_id":205013,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:31:18] local.INFO: Processing buffer {"connection_id":205013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:31:18] local.INFO: IMEI packet received {"connection_id":205013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":205013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:31:21] local.INFO: TCP Data received {"connection_id":205013,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d021e08012d196600071feee80039015423..."} 
[2026-10-05 22:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d021e08012d196600071feee80039015423..."} 
[2026-10-05 22:31:21] local.INFO: Processing buffer {"connection_id":205013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d021e08012d196600071feee80039015423..."} 
[2026-10-05 22:31:21] local.INFO: Packet analysis {"connection_id":205013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d02"} 
[2026-10-05 22:31:21] local.INFO: Extracted packet for processing {"connection_id":205013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d02"} 
[2026-10-05 22:31:21] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":35,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552141824001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791219605000,"timestamp_ms":1791219605000,"timestamp_seconds":1791219605,"priority":1,"record_length":96,"hex_timestamp":"000001a10d021e08"} 
[2026-10-05 22:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 22:31:21] 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-10-05 22: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-10-05 22:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":205013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":205013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":205013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552141824001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552141824001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:31:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:31:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552141824001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":205013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:31:21] local.INFO: GPS data processed {"connection_id":205013,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:31:21] local.INFO: Acknowledgment sent {"connection_id":205013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:31:30] local.INFO: TCP Data received {"connection_id":206518,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:31:30] local.INFO: Processing buffer {"connection_id":206518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:31:30] local.INFO: IMEI packet received {"connection_id":206518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":206518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:31:35] local.INFO: TCP Data received {"connection_id":206518,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:31:35] local.INFO: Processing buffer {"connection_id":206518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:31:35] local.INFO: IMEI packet received {"connection_id":206518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":206518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:31:36] local.INFO: TCP Data received {"connection_id":206518,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:31:36] local.INFO: Processing buffer {"connection_id":206518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:31:36] local.INFO: Packet analysis {"connection_id":206518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cff"} 
[2026-10-05 22:31:36] local.INFO: Extracted packet for processing {"connection_id":206518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cff"} 
[2026-10-05 22:31:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552097792001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791219433000,"timestamp_ms":1791219433000,"timestamp_seconds":1791219433,"priority":1,"record_length":96,"hex_timestamp":"000001a10cff7e28"} 
[2026-10-05 22:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 22:31:36] 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-10-05 22: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-10-05 22:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552097792001,"66":12917,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552097792001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:31:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:31:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552097792001,"power":12917,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":206518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970349,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:31:36] local.INFO: GPS data processed {"connection_id":206518,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:31:36] local.INFO: Acknowledgment sent {"connection_id":206518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:32:04] local.INFO: TCP Data received {"connection_id":208116,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:32:04] local.INFO: Processing buffer {"connection_id":208116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:32:04] local.INFO: IMEI packet received {"connection_id":208116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":208116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:32:08] local.INFO: TCP Data received {"connection_id":206518,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:32:08] local.INFO: Processing buffer {"connection_id":206518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cff7e28012d7c254005dacc90000301512a..."} 
[2026-10-05 22:32:08] local.INFO: Packet analysis {"connection_id":206518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cff"} 
[2026-10-05 22:32:08] local.INFO: Extracted packet for processing {"connection_id":206518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cff"} 
[2026-10-05 22:32:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552097792001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791219433000,"timestamp_ms":1791219433000,"timestamp_seconds":1791219433,"priority":1,"record_length":96,"hex_timestamp":"000001a10cff7e28"} 
[2026-10-05 22:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:32: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-10-05 22: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 22:32:08] 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-10-05 22: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-10-05 22:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552097792001,"66":12917,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552097792001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:32:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:32:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552097792001,"power":12917,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":206518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:32:08] local.INFO: GPS data processed {"connection_id":206518,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:32:08] local.INFO: Acknowledgment sent {"connection_id":206518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:32:12] local.INFO: TCP Data received {"connection_id":208116,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:32:12] local.INFO: Processing buffer {"connection_id":208116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:32:12] local.INFO: IMEI packet received {"connection_id":208116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":208116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:32:14] local.INFO: TCP Data received {"connection_id":208116,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d021e08012d196600071feee80039015423..."} 
[2026-10-05 22:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d021e08012d196600071feee80039015423..."} 
[2026-10-05 22:32:14] local.INFO: Processing buffer {"connection_id":208116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d021e08012d196600071feee80039015423..."} 
[2026-10-05 22:32:14] local.INFO: Packet analysis {"connection_id":208116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d02"} 
[2026-10-05 22:32:14] local.INFO: Extracted packet for processing {"connection_id":208116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d02"} 
[2026-10-05 22:32:14] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":35,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552141824001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1791219605000,"timestamp_ms":1791219605000,"timestamp_seconds":1791219605,"priority":1,"record_length":96,"hex_timestamp":"000001a10d021e08"} 
[2026-10-05 22:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 22:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":208116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":208116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":208116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552141824001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552141824001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:32:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:32:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552141824001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":208116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:32:14] local.INFO: GPS data processed {"connection_id":208116,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:32:14] local.INFO: Acknowledgment sent {"connection_id":208116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:32:30] local.INFO: TCP Data received {"connection_id":205014,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205014,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:32:30] local.INFO: Processing buffer {"connection_id":205014,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:32:30] local.INFO: IMEI packet received {"connection_id":205014,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":205014,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:32:35] local.INFO: TCP Data received {"connection_id":205014,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205014,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:32:35] local.INFO: Processing buffer {"connection_id":205014,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:32:35] local.INFO: IMEI packet received {"connection_id":205014,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":205014,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:32:36] local.INFO: TCP Data received {"connection_id":205014,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:32:36] local.INFO: Processing buffer {"connection_id":205014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:32:36] local.INFO: Packet analysis {"connection_id":205014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d04"} 
[2026-10-05 22:32:36] local.INFO: Extracted packet for processing {"connection_id":205014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d04"} 
[2026-10-05 22:32:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552174848001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791219734000,"timestamp_ms":1791219734000,"timestamp_seconds":1791219734,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0415f0"} 
[2026-10-05 22:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 22:32:36] 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-10-05 22:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552174848001,"66":12906,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552174848001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:32:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:32:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552174848001,"power":12906,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":205014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:32:36] local.INFO: GPS data processed {"connection_id":205014,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:32:36] local.INFO: Acknowledgment sent {"connection_id":205014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:32:46] local.INFO: TCP Data received {"connection_id":205015,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205015,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:32:46] local.INFO: Processing buffer {"connection_id":205015,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:32:46] local.INFO: IMEI packet received {"connection_id":205015,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 22:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":205015,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:32:46] local.INFO: TCP Data received {"connection_id":208116,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d021e08012d196600071feee80039015423..."} 
[2026-10-05 22:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d021e08012d196600071feee80039015423..."} 
[2026-10-05 22:32:46] local.INFO: Processing buffer {"connection_id":208116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d021e08012d196600071feee80039015423..."} 
[2026-10-05 22:32:46] local.INFO: Packet analysis {"connection_id":208116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d02"} 
[2026-10-05 22:32:46] local.INFO: Extracted packet for processing {"connection_id":208116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d02"} 
[2026-10-05 22:32:46] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":35,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552141824001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791219605000,"timestamp_ms":1791219605000,"timestamp_seconds":1791219605,"priority":1,"record_length":96,"hex_timestamp":"000001a10d021e08"} 
[2026-10-05 22:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 22:32:46] 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-10-05 22:32: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-10-05 22:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":208116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":208116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":208116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552141824001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552141824001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:32:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:32:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552141824001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":208116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:32:46] local.INFO: GPS data processed {"connection_id":208116,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:32:46] local.INFO: Acknowledgment sent {"connection_id":208116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:33:07] local.INFO: TCP Data received {"connection_id":205014,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:33:07] local.INFO: Processing buffer {"connection_id":205014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:33:07] local.INFO: Packet analysis {"connection_id":205014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d04"} 
[2026-10-05 22:33:07] local.INFO: Extracted packet for processing {"connection_id":205014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d04"} 
[2026-10-05 22:33:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552174848001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791219734000,"timestamp_ms":1791219734000,"timestamp_seconds":1791219734,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0415f0"} 
[2026-10-05 22:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 22:33:07] 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-10-05 22:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552174848001,"66":12906,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552174848001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:33:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:33:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552174848001,"power":12906,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":205014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:33:08] local.INFO: GPS data processed {"connection_id":205014,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:33:08] local.INFO: Acknowledgment sent {"connection_id":205014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:33:14] local.INFO: TCP Data received {"connection_id":206520,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:33:14] local.INFO: Processing buffer {"connection_id":206520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:33:14] local.INFO: IMEI packet received {"connection_id":206520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":206520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:33:19] local.INFO: TCP Data received {"connection_id":206520,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:33:19] local.INFO: Processing buffer {"connection_id":206520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:33:19] local.INFO: IMEI packet received {"connection_id":206520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":206520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:33:28] local.INFO: TCP Data received {"connection_id":206520,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d021e08012d196600071feee80039015423..."} 
[2026-10-05 22:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d021e08012d196600071feee80039015423..."} 
[2026-10-05 22:33:28] local.INFO: Processing buffer {"connection_id":206520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d021e08012d196600071feee80039015423..."} 
[2026-10-05 22:33:28] local.INFO: Packet analysis {"connection_id":206520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d02"} 
[2026-10-05 22:33:28] local.INFO: Extracted packet for processing {"connection_id":206520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d02"} 
[2026-10-05 22:33:28] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":35,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552141824001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1791219605000,"timestamp_ms":1791219605000,"timestamp_seconds":1791219605,"priority":1,"record_length":96,"hex_timestamp":"000001a10d021e08"} 
[2026-10-05 22:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 22:33: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-10-05 22:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":206520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":206520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":206520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552141824001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552141824001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:33:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:33:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552141824001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":206520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:33:29] local.INFO: GPS data processed {"connection_id":206520,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:33:29] local.INFO: Acknowledgment sent {"connection_id":206520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:33:30] local.INFO: TCP Data received {"connection_id":205016,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:33:30] local.INFO: Processing buffer {"connection_id":205016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:33:30] local.INFO: IMEI packet received {"connection_id":205016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":205016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:33:35] local.INFO: TCP Data received {"connection_id":205016,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:33:35] local.INFO: Processing buffer {"connection_id":205016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:33:35] local.INFO: IMEI packet received {"connection_id":205016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":205016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:33:36] local.INFO: TCP Data received {"connection_id":205016,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:33:36] local.INFO: Processing buffer {"connection_id":205016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:33:36] local.INFO: Packet analysis {"connection_id":205016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d04"} 
[2026-10-05 22:33:36] local.INFO: Extracted packet for processing {"connection_id":205016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d04"} 
[2026-10-05 22:33:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552174848001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791219734000,"timestamp_ms":1791219734000,"timestamp_seconds":1791219734,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0415f0"} 
[2026-10-05 22:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 22:33:36] 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-10-05 22:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552174848001,"66":12906,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552174848001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:33:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:33:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552174848001,"power":12906,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":205016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:33:36] local.INFO: GPS data processed {"connection_id":205016,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:33:36] local.INFO: Acknowledgment sent {"connection_id":205016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:34:08] local.INFO: TCP Data received {"connection_id":205016,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:34:08] local.INFO: Processing buffer {"connection_id":205016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:34:08] local.INFO: Packet analysis {"connection_id":205016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d04"} 
[2026-10-05 22:34:08] local.INFO: Extracted packet for processing {"connection_id":205016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d04"} 
[2026-10-05 22:34:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552174848001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791219734000,"timestamp_ms":1791219734000,"timestamp_seconds":1791219734,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0415f0"} 
[2026-10-05 22:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:34: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-10-05 22:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 22:34:08] 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-10-05 22:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552174848001,"66":12906,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552174848001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:34:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:34:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552174848001,"power":12906,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":205016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:34:08] local.INFO: GPS data processed {"connection_id":205016,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:34:08] local.INFO: Acknowledgment sent {"connection_id":205016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:34:09] local.INFO: TCP Data received {"connection_id":208118,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:34:09] local.INFO: Processing buffer {"connection_id":208118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:34:09] local.INFO: IMEI packet received {"connection_id":208118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":208118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:34:14] local.INFO: TCP Data received {"connection_id":208118,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:34:14] local.INFO: Processing buffer {"connection_id":208118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:34:14] local.INFO: IMEI packet received {"connection_id":208118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":208118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:34:16] local.INFO: TCP Data received {"connection_id":208118,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d021e08012d196600071feee80039015423..."} 
[2026-10-05 22:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d021e08012d196600071feee80039015423..."} 
[2026-10-05 22:34:16] local.INFO: Processing buffer {"connection_id":208118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d021e08012d196600071feee80039015423..."} 
[2026-10-05 22:34:16] local.INFO: Packet analysis {"connection_id":208118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d02"} 
[2026-10-05 22:34:16] local.INFO: Extracted packet for processing {"connection_id":208118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d02"} 
[2026-10-05 22:34:16] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":35,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552141824001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791219605000,"timestamp_ms":1791219605000,"timestamp_seconds":1791219605,"priority":1,"record_length":96,"hex_timestamp":"000001a10d021e08"} 
[2026-10-05 22:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 22:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":208118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":208118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":208118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552141824001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552141824001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:34:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:34:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552141824001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":208118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:34:16] local.INFO: GPS data processed {"connection_id":208118,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:34:16] local.INFO: Acknowledgment sent {"connection_id":208118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:34:30] local.INFO: TCP Data received {"connection_id":205017,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:34:30] local.INFO: Processing buffer {"connection_id":205017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:34:30] local.INFO: IMEI packet received {"connection_id":205017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":205017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:34:35] local.INFO: TCP Data received {"connection_id":205017,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:34:35] local.INFO: Processing buffer {"connection_id":205017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:34:35] local.INFO: IMEI packet received {"connection_id":205017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":205017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:34:36] local.INFO: TCP Data received {"connection_id":205017,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:34:36] local.INFO: Processing buffer {"connection_id":205017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:34:36] local.INFO: Packet analysis {"connection_id":205017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d04"} 
[2026-10-05 22:34:36] local.INFO: Extracted packet for processing {"connection_id":205017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d04"} 
[2026-10-05 22:34:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552174848001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791219734000,"timestamp_ms":1791219734000,"timestamp_seconds":1791219734,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0415f0"} 
[2026-10-05 22:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 22:34:36] 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-10-05 22:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552174848001,"66":12906,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552174848001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:34:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:34:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552174848001,"power":12906,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":205017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:34:36] local.INFO: GPS data processed {"connection_id":205017,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:34:36] local.INFO: Acknowledgment sent {"connection_id":205017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:34:48] local.INFO: TCP Data received {"connection_id":208118,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d021e08012d196600071feee80039015423..."} 
[2026-10-05 22:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d021e08012d196600071feee80039015423..."} 
[2026-10-05 22:34:48] local.INFO: Processing buffer {"connection_id":208118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d021e08012d196600071feee80039015423..."} 
[2026-10-05 22:34:48] local.INFO: Packet analysis {"connection_id":208118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d02"} 
[2026-10-05 22:34:48] local.INFO: Extracted packet for processing {"connection_id":208118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d02"} 
[2026-10-05 22:34:48] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":35,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552141824001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1791219605000,"timestamp_ms":1791219605000,"timestamp_seconds":1791219605,"priority":1,"record_length":96,"hex_timestamp":"000001a10d021e08"} 
[2026-10-05 22:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 22:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":208118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":208118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":208118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552141824001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552141824001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:34:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:34:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552141824001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":208118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:34:48] local.INFO: GPS data processed {"connection_id":208118,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:34:48] local.INFO: Acknowledgment sent {"connection_id":208118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:34:59] local.INFO: TCP Data received {"connection_id":205018,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:34:59] local.INFO: Processing buffer {"connection_id":205018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:34:59] local.INFO: IMEI packet received {"connection_id":205018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":205018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:35:08] local.INFO: TCP Data received {"connection_id":205017,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:35:08] local.INFO: Processing buffer {"connection_id":205017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:35:08] local.INFO: Packet analysis {"connection_id":205017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d04"} 
[2026-10-05 22:35:08] local.INFO: Extracted packet for processing {"connection_id":205017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d04"} 
[2026-10-05 22:35:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552174848001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791219734000,"timestamp_ms":1791219734000,"timestamp_seconds":1791219734,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0415f0"} 
[2026-10-05 22:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:35: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-10-05 22:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 22:35:08] 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-10-05 22:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552174848001,"66":12906,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552174848001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:35:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:35:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552174848001,"power":12906,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":205017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:35:08] local.INFO: GPS data processed {"connection_id":205017,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:35:08] local.INFO: Acknowledgment sent {"connection_id":205017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:35:14] local.INFO: TCP Data received {"connection_id":206522,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:35:14] local.INFO: Processing buffer {"connection_id":206522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:35:14] local.INFO: IMEI packet received {"connection_id":206522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":206522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:35:22] local.INFO: TCP Data received {"connection_id":206522,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:35:22] local.INFO: Processing buffer {"connection_id":206522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:35:22] local.INFO: IMEI packet received {"connection_id":206522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":206522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:35:23] local.INFO: TCP Data received {"connection_id":206522,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d021e08012d196600071feee80039015423..."} 
[2026-10-05 22:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d021e08012d196600071feee80039015423..."} 
[2026-10-05 22:35:23] local.INFO: Processing buffer {"connection_id":206522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d021e08012d196600071feee80039015423..."} 
[2026-10-05 22:35:23] local.INFO: Packet analysis {"connection_id":206522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d02"} 
[2026-10-05 22:35:23] local.INFO: Extracted packet for processing {"connection_id":206522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d02"} 
[2026-10-05 22:35:23] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":35,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552141824001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1791219605000,"timestamp_ms":1791219605000,"timestamp_seconds":1791219605,"priority":1,"record_length":96,"hex_timestamp":"000001a10d021e08"} 
[2026-10-05 22:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 22:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":206522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":206522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":206522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552141824001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552141824001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:35:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:35:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552141824001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":206522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:35:24] local.INFO: GPS data processed {"connection_id":206522,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:35:24] local.INFO: Acknowledgment sent {"connection_id":206522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:35:25] local.INFO: TCP Data received {"connection_id":206522,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d021e08012d196600071feee80039015423..."} 
[2026-10-05 22:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d021e08012d196600071feee80039015423..."} 
[2026-10-05 22:35:25] local.INFO: Processing buffer {"connection_id":206522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d021e08012d196600071feee80039015423..."} 
[2026-10-05 22:35:25] local.INFO: Packet analysis {"connection_id":206522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d02"} 
[2026-10-05 22:35:25] local.INFO: Extracted packet for processing {"connection_id":206522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d02"} 
[2026-10-05 22:35:25] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":35,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552141824001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1791219605000,"timestamp_ms":1791219605000,"timestamp_seconds":1791219605,"priority":1,"record_length":96,"hex_timestamp":"000001a10d021e08"} 
[2026-10-05 22:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-05 22:35:25] 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-10-05 22: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-10-05 22:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":206522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":206522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":206522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552141824001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552141824001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:35:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:35:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552141824001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":206522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:35:25] local.INFO: GPS data processed {"connection_id":206522,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:35:25] local.INFO: Acknowledgment sent {"connection_id":206522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:35:25] local.INFO: TCP Data received {"connection_id":205018,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:35:26] local.INFO: Processing buffer {"connection_id":205018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:35:26] local.INFO: IMEI packet received {"connection_id":205018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":205018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:35:26] local.INFO: TCP Data received {"connection_id":205018,"ip":"42.106.6.33","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 22:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205018,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 22:35:26] local.INFO: Processing buffer {"connection_id":205018,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 22:35:26] local.INFO: IMEI packet received {"connection_id":205018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":205018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:35:35] local.INFO: TCP Data received {"connection_id":205142,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:35:35] local.INFO: Processing buffer {"connection_id":205142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:35:35] local.INFO: IMEI packet received {"connection_id":205142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":205142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:35:40] local.INFO: TCP Data received {"connection_id":205142,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:35:40] local.INFO: Processing buffer {"connection_id":205142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:35:40] local.INFO: IMEI packet received {"connection_id":205142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":205142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:35:41] local.INFO: TCP Data received {"connection_id":205142,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:35:41] local.INFO: Processing buffer {"connection_id":205142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:35:41] local.INFO: Packet analysis {"connection_id":205142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d04"} 
[2026-10-05 22:35:41] local.INFO: Extracted packet for processing {"connection_id":205142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d04"} 
[2026-10-05 22:35:41] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552174848001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791219734000,"timestamp_ms":1791219734000,"timestamp_seconds":1791219734,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0415f0"} 
[2026-10-05 22:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 22:35:41] 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-10-05 22:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":205142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":205142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":205142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552174848001,"66":12906,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552174848001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:35:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552174848001,"power":12906,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":205142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970364,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:35:41] local.INFO: GPS data processed {"connection_id":205142,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:35:41] local.INFO: Acknowledgment sent {"connection_id":205142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:36:04] local.INFO: TCP Data received {"connection_id":205019,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:36:04] local.INFO: Processing buffer {"connection_id":205019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:36:04] local.INFO: IMEI packet received {"connection_id":205019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":205019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:36:09] local.INFO: TCP Data received {"connection_id":205019,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:36:09] local.INFO: Processing buffer {"connection_id":205019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:36:09] local.INFO: IMEI packet received {"connection_id":205019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":205019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:36:12] local.INFO: TCP Data received {"connection_id":205142,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:36:12] local.INFO: Processing buffer {"connection_id":205142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:36:12] local.INFO: Packet analysis {"connection_id":205142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d04"} 
[2026-10-05 22:36:12] local.INFO: Extracted packet for processing {"connection_id":205142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d04"} 
[2026-10-05 22:36:12] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552174848001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791219734000,"timestamp_ms":1791219734000,"timestamp_seconds":1791219734,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0415f0"} 
[2026-10-05 22:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 22:36:12] 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-10-05 22: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-10-05 22:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":205142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":205142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":205142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:36: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-10-05 22:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552174848001,"66":12906,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552174848001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:36:12] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:36:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552174848001,"power":12906,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":205142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:36:13] local.INFO: GPS data processed {"connection_id":205142,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:36:13] local.INFO: Acknowledgment sent {"connection_id":205142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:36:15] local.INFO: TCP Data received {"connection_id":205019,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d06b5d0012d196600071feee80039015427..."} 
[2026-10-05 22:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d06b5d0012d196600071feee80039015427..."} 
[2026-10-05 22:36:15] local.INFO: Processing buffer {"connection_id":205019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d06b5d0012d196600071feee80039015427..."} 
[2026-10-05 22:36:15] local.INFO: Packet analysis {"connection_id":205019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d06"} 
[2026-10-05 22:36:15] local.INFO: Extracted packet for processing {"connection_id":205019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d06"} 
[2026-10-05 22:36:15] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552218880001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791219906000,"timestamp_ms":1791219906000,"timestamp_seconds":1791219906,"priority":1,"record_length":96,"hex_timestamp":"000001a10d06b5d0"} 
[2026-10-05 22:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 22:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":205019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":205019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":205019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552218880001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552218880001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:36:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:36:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552218880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":205019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:36:15] local.INFO: GPS data processed {"connection_id":205019,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:36:15] local.INFO: Acknowledgment sent {"connection_id":205019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:36:30] local.INFO: TCP Data received {"connection_id":208120,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:36:30] local.INFO: Processing buffer {"connection_id":208120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:36:30] local.INFO: IMEI packet received {"connection_id":208120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":208120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:36:35] local.INFO: TCP Data received {"connection_id":208120,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:36:35] local.INFO: Processing buffer {"connection_id":208120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:36:35] local.INFO: IMEI packet received {"connection_id":208120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":208120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:36:36] local.INFO: TCP Data received {"connection_id":208120,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:36:36] local.INFO: Processing buffer {"connection_id":208120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:36:36] local.INFO: Packet analysis {"connection_id":208120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d04"} 
[2026-10-05 22:36:36] local.INFO: Extracted packet for processing {"connection_id":208120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d04"} 
[2026-10-05 22:36:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552174848001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791219734000,"timestamp_ms":1791219734000,"timestamp_seconds":1791219734,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0415f0"} 
[2026-10-05 22:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 22:36:36] 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-10-05 22:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:36: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-10-05 22:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552174848001,"66":12906,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552174848001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:36:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:36:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552174848001,"power":12906,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":208120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:36:36] local.INFO: GPS data processed {"connection_id":208120,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:36:36] local.INFO: Acknowledgment sent {"connection_id":208120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:36:52] local.INFO: TCP Data received {"connection_id":205019,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d06b5d0012d196600071feee80039015427..."} 
[2026-10-05 22:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d06b5d0012d196600071feee80039015427..."} 
[2026-10-05 22:36:52] local.INFO: Processing buffer {"connection_id":205019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d06b5d0012d196600071feee80039015427..."} 
[2026-10-05 22:36:52] local.INFO: Packet analysis {"connection_id":205019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d06"} 
[2026-10-05 22:36:52] local.INFO: Extracted packet for processing {"connection_id":205019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d06"} 
[2026-10-05 22:36:52] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552218880001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1791219906000,"timestamp_ms":1791219906000,"timestamp_seconds":1791219906,"priority":1,"record_length":96,"hex_timestamp":"000001a10d06b5d0"} 
[2026-10-05 22:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:36: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-10-05 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 22:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22: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-10-05 22:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":205019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":205019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":205019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552218880001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552218880001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:36:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:36:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552218880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":205019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:36:52] local.INFO: GPS data processed {"connection_id":205019,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:36:52] local.INFO: Acknowledgment sent {"connection_id":205019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:37:04] local.INFO: TCP Data received {"connection_id":208121,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:37:04] local.INFO: Processing buffer {"connection_id":208121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:37:04] local.INFO: IMEI packet received {"connection_id":208121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":208121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:37:07] local.INFO: TCP Data received {"connection_id":208120,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:37:07] local.INFO: Processing buffer {"connection_id":208120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0415f0012d7c254005dacc900003015125..."} 
[2026-10-05 22:37:07] local.INFO: Packet analysis {"connection_id":208120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d04"} 
[2026-10-05 22:37:07] local.INFO: Extracted packet for processing {"connection_id":208120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d04"} 
[2026-10-05 22:37:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552174848001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791219734000,"timestamp_ms":1791219734000,"timestamp_seconds":1791219734,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0415f0"} 
[2026-10-05 22:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-05 22:37:07] 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-10-05 22: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-10-05 22:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":208120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":208120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":208120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:37:07] 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-10-05 22:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552174848001,"66":12906,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552174848001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:37:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:37:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552174848001,"power":12906,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":208120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:37:07] local.INFO: GPS data processed {"connection_id":208120,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:37:07] local.INFO: Acknowledgment sent {"connection_id":208120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:37:12] local.INFO: TCP Data received {"connection_id":208121,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:37:12] local.INFO: Processing buffer {"connection_id":208121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:37:12] local.INFO: IMEI packet received {"connection_id":208121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":208121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:37:13] local.INFO: TCP Data received {"connection_id":208121,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d06b5d0012d196600071feee80039015427..."} 
[2026-10-05 22:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d06b5d0012d196600071feee80039015427..."} 
[2026-10-05 22:37:13] local.INFO: Processing buffer {"connection_id":208121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d06b5d0012d196600071feee80039015427..."} 
[2026-10-05 22:37:13] local.INFO: Packet analysis {"connection_id":208121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d06"} 
[2026-10-05 22:37:13] local.INFO: Extracted packet for processing {"connection_id":208121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d06"} 
[2026-10-05 22:37:13] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552218880001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791219906000,"timestamp_ms":1791219906000,"timestamp_seconds":1791219906,"priority":1,"record_length":96,"hex_timestamp":"000001a10d06b5d0"} 
[2026-10-05 22:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 22:37:13] 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-10-05 22:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":208121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":208121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":208121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552218880001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552218880001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:37:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:37:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552218880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":208121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:37:14] local.INFO: GPS data processed {"connection_id":208121,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:37:14] local.INFO: Acknowledgment sent {"connection_id":208121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:37:30] local.INFO: TCP Data received {"connection_id":206525,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:37:30] local.INFO: Processing buffer {"connection_id":206525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:37:30] local.INFO: IMEI packet received {"connection_id":206525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":206525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:37:35] local.INFO: TCP Data received {"connection_id":206525,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:37:35] local.INFO: Processing buffer {"connection_id":206525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:37:35] local.INFO: IMEI packet received {"connection_id":206525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":206525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:37:36] local.INFO: TCP Data received {"connection_id":206525,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:37:36] local.INFO: Processing buffer {"connection_id":206525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:37:36] local.INFO: Packet analysis {"connection_id":206525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d08"} 
[2026-10-05 22:37:36] local.INFO: Extracted packet for processing {"connection_id":206525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d08"} 
[2026-10-05 22:37:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552251904001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791220035000,"timestamp_ms":1791220035000,"timestamp_seconds":1791220035,"priority":1,"record_length":96,"hex_timestamp":"000001a10d08adb8"} 
[2026-10-05 22:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 22:37:36] 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-10-05 22:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:37: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-10-05 22:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552251904001,"66":12841,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552251904001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:37:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:37:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552251904001,"power":12841,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":206525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:37:36] local.INFO: GPS data processed {"connection_id":206525,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:37:36] local.INFO: Acknowledgment sent {"connection_id":206525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:37:46] local.INFO: TCP Data received {"connection_id":208121,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d06b5d0012d196600071feee80039015427..."} 
[2026-10-05 22:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d06b5d0012d196600071feee80039015427..."} 
[2026-10-05 22:37:46] local.INFO: Processing buffer {"connection_id":208121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d06b5d0012d196600071feee80039015427..."} 
[2026-10-05 22:37:46] local.INFO: Packet analysis {"connection_id":208121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d06"} 
[2026-10-05 22:37:46] local.INFO: Extracted packet for processing {"connection_id":208121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d06"} 
[2026-10-05 22:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:37: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-10-05 22:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552218880001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791219906000,"timestamp_ms":1791219906000,"timestamp_seconds":1791219906,"priority":1,"record_length":96,"hex_timestamp":"000001a10d06b5d0"} 
[2026-10-05 22:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 22:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:37: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-10-05 22:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":208121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":208121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":208121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552218880001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552218880001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:37:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:37:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552218880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":208121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:37:46] local.INFO: GPS data processed {"connection_id":208121,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:37:46] local.INFO: Acknowledgment sent {"connection_id":208121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:38:07] local.INFO: TCP Data received {"connection_id":206525,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:38:07] local.INFO: Processing buffer {"connection_id":206525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:38:07] local.INFO: Packet analysis {"connection_id":206525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d08"} 
[2026-10-05 22:38:07] local.INFO: Extracted packet for processing {"connection_id":206525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d08"} 
[2026-10-05 22:38:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552251904001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791220035000,"timestamp_ms":1791220035000,"timestamp_seconds":1791220035,"priority":1,"record_length":96,"hex_timestamp":"000001a10d08adb8"} 
[2026-10-05 22:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 22:38:07] 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-10-05 22:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":206525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":206525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":206525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:38:07] 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-10-05 22:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552251904001,"66":12841,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552251904001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:38:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:38:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552251904001,"power":12841,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":206525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:38:07] local.INFO: GPS data processed {"connection_id":206525,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:38:07] local.INFO: Acknowledgment sent {"connection_id":206525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:38:09] local.INFO: TCP Data received {"connection_id":205021,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:38:09] local.INFO: Processing buffer {"connection_id":205021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:38:09] local.INFO: IMEI packet received {"connection_id":205021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":205021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:38:17] local.INFO: TCP Data received {"connection_id":205021,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:38:17] local.INFO: Processing buffer {"connection_id":205021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:38:17] local.INFO: IMEI packet received {"connection_id":205021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":205021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:38:19] local.INFO: TCP Data received {"connection_id":205021,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d06b5d0012d196600071feee80039015427..."} 
[2026-10-05 22:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d06b5d0012d196600071feee80039015427..."} 
[2026-10-05 22:38:19] local.INFO: Processing buffer {"connection_id":205021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d06b5d0012d196600071feee80039015427..."} 
[2026-10-05 22:38:19] local.INFO: Packet analysis {"connection_id":205021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d06"} 
[2026-10-05 22:38:19] local.INFO: Extracted packet for processing {"connection_id":205021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d06"} 
[2026-10-05 22:38:19] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552218880001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791219906000,"timestamp_ms":1791219906000,"timestamp_seconds":1791219906,"priority":1,"record_length":96,"hex_timestamp":"000001a10d06b5d0"} 
[2026-10-05 22:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 22:38:19] 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-10-05 22:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":205021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":205021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":205021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552218880001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552218880001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:38:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:38:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552218880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":205021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:38:19] local.INFO: GPS data processed {"connection_id":205021,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:38:19] local.INFO: Acknowledgment sent {"connection_id":205021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:38:30] local.INFO: TCP Data received {"connection_id":206526,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206526,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:38:30] local.INFO: Processing buffer {"connection_id":206526,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:38:30] local.INFO: IMEI packet received {"connection_id":206526,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":206526,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:38:33] local.INFO: TCP Data received {"connection_id":205145,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:38:33] local.INFO: Processing buffer {"connection_id":205145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:38:33] local.INFO: IMEI packet received {"connection_id":205145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 22:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":205145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:38:35] local.INFO: TCP Data received {"connection_id":206526,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206526,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:38:35] local.INFO: Processing buffer {"connection_id":206526,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:38:35] local.INFO: IMEI packet received {"connection_id":206526,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":206526,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:38:36] local.INFO: TCP Data received {"connection_id":206526,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:38:36] local.INFO: Processing buffer {"connection_id":206526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:38:36] local.INFO: Packet analysis {"connection_id":206526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d08"} 
[2026-10-05 22:38:36] local.INFO: Extracted packet for processing {"connection_id":206526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d08"} 
[2026-10-05 22:38:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552251904001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791220035000,"timestamp_ms":1791220035000,"timestamp_seconds":1791220035,"priority":1,"record_length":96,"hex_timestamp":"000001a10d08adb8"} 
[2026-10-05 22:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 22:38:36] 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-10-05 22:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:38: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-10-05 22:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552251904001,"66":12841,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552251904001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:38:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:38:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552251904001,"power":12841,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":206526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:38:36] local.INFO: GPS data processed {"connection_id":206526,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:38:36] local.INFO: Acknowledgment sent {"connection_id":206526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:39:07] local.INFO: TCP Data received {"connection_id":206526,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:39:07] local.INFO: Processing buffer {"connection_id":206526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:39:07] local.INFO: Packet analysis {"connection_id":206526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d08"} 
[2026-10-05 22:39:07] local.INFO: Extracted packet for processing {"connection_id":206526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d08"} 
[2026-10-05 22:39:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552251904001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791220035000,"timestamp_ms":1791220035000,"timestamp_seconds":1791220035,"priority":1,"record_length":96,"hex_timestamp":"000001a10d08adb8"} 
[2026-10-05 22:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 22:39:07] 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-10-05 22: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-10-05 22:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":206526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":206526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":206526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:39:07] 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-10-05 22:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552251904001,"66":12841,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552251904001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:39:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:39:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552251904001,"power":12841,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":206526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:39:07] local.INFO: GPS data processed {"connection_id":206526,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:39:07] local.INFO: Acknowledgment sent {"connection_id":206526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:39:09] local.INFO: TCP Data received {"connection_id":205024,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:39:09] local.INFO: Processing buffer {"connection_id":205024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:39:09] local.INFO: IMEI packet received {"connection_id":205024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":205024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:39:14] local.INFO: TCP Data received {"connection_id":205024,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:39:14] local.INFO: Processing buffer {"connection_id":205024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:39:14] local.INFO: IMEI packet received {"connection_id":205024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":205024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:39:16] local.INFO: TCP Data received {"connection_id":205024,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d06b5d0012d196600071feee80039015427..."} 
[2026-10-05 22:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d06b5d0012d196600071feee80039015427..."} 
[2026-10-05 22:39:16] local.INFO: Processing buffer {"connection_id":205024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d06b5d0012d196600071feee80039015427..."} 
[2026-10-05 22:39:16] local.INFO: Packet analysis {"connection_id":205024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d06"} 
[2026-10-05 22:39:16] local.INFO: Extracted packet for processing {"connection_id":205024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d06"} 
[2026-10-05 22:39:16] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552218880001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791219906000,"timestamp_ms":1791219906000,"timestamp_seconds":1791219906,"priority":1,"record_length":96,"hex_timestamp":"000001a10d06b5d0"} 
[2026-10-05 22:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 22:39:16] 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-10-05 22:39:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552218880001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552218880001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:39:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:39:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552218880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":205024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:39:16] local.INFO: GPS data processed {"connection_id":205024,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:39:16] local.INFO: Acknowledgment sent {"connection_id":205024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:39:20] local.INFO: TCP Data received {"connection_id":205024,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d06b5d0012d196600071feee80039015427..."} 
[2026-10-05 22:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d06b5d0012d196600071feee80039015427..."} 
[2026-10-05 22:39:20] local.INFO: Processing buffer {"connection_id":205024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d06b5d0012d196600071feee80039015427..."} 
[2026-10-05 22:39:20] local.INFO: Packet analysis {"connection_id":205024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d06"} 
[2026-10-05 22:39:20] local.INFO: Extracted packet for processing {"connection_id":205024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d06"} 
[2026-10-05 22:39:20] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:39: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-10-05 22:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552218880001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791219906000,"timestamp_ms":1791219906000,"timestamp_seconds":1791219906,"priority":1,"record_length":96,"hex_timestamp":"000001a10d06b5d0"} 
[2026-10-05 22:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 22:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:39: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-10-05 22:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":205024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":205024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":205024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552218880001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552218880001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:39:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:39:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552218880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":205024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:39:20] local.INFO: GPS data processed {"connection_id":205024,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:39:20] local.INFO: Acknowledgment sent {"connection_id":205024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:39:30] local.INFO: TCP Data received {"connection_id":205146,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:39:30] local.INFO: Processing buffer {"connection_id":205146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:39:30] local.INFO: IMEI packet received {"connection_id":205146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":205146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:39:35] local.INFO: TCP Data received {"connection_id":205146,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:39:35] local.INFO: Processing buffer {"connection_id":205146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:39:35] local.INFO: IMEI packet received {"connection_id":205146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":205146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:39:36] local.INFO: TCP Data received {"connection_id":205146,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:39:36] local.INFO: Processing buffer {"connection_id":205146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:39:36] local.INFO: Packet analysis {"connection_id":205146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d08"} 
[2026-10-05 22:39:36] local.INFO: Extracted packet for processing {"connection_id":205146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d08"} 
[2026-10-05 22:39:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552251904001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791220035000,"timestamp_ms":1791220035000,"timestamp_seconds":1791220035,"priority":1,"record_length":96,"hex_timestamp":"000001a10d08adb8"} 
[2026-10-05 22:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 22:39:36] 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-10-05 22:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:39: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-10-05 22:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552251904001,"66":12841,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552251904001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:39:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:39:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552251904001,"power":12841,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":205146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:39:36] local.INFO: GPS data processed {"connection_id":205146,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:39:36] local.INFO: Acknowledgment sent {"connection_id":205146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:40:04] local.INFO: TCP Data received {"connection_id":206528,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:40:04] local.INFO: Processing buffer {"connection_id":206528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:40:04] local.INFO: IMEI packet received {"connection_id":206528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":206528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:40:08] local.INFO: TCP Data received {"connection_id":205146,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:40:08] local.INFO: Processing buffer {"connection_id":205146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:40:08] local.INFO: Packet analysis {"connection_id":205146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d08"} 
[2026-10-05 22:40:08] local.INFO: Extracted packet for processing {"connection_id":205146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d08"} 
[2026-10-05 22:40:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552251904001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791220035000,"timestamp_ms":1791220035000,"timestamp_seconds":1791220035,"priority":1,"record_length":96,"hex_timestamp":"000001a10d08adb8"} 
[2026-10-05 22:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:40: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-10-05 22: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 22:40:08] 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-10-05 22: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-10-05 22:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:40:08] 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-10-05 22:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552251904001,"66":12841,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552251904001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:40:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:40:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552251904001,"power":12841,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":205146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:40:08] local.INFO: GPS data processed {"connection_id":205146,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:40:08] local.INFO: Acknowledgment sent {"connection_id":205146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:40:09] local.INFO: TCP Data received {"connection_id":206528,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:40:09] local.INFO: Processing buffer {"connection_id":206528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:40:09] local.INFO: IMEI packet received {"connection_id":206528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":206528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:40:11] local.INFO: TCP Data received {"connection_id":206528,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d06b5d0012d196600071feee80039015427..."} 
[2026-10-05 22:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d06b5d0012d196600071feee80039015427..."} 
[2026-10-05 22:40:11] local.INFO: Processing buffer {"connection_id":206528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d06b5d0012d196600071feee80039015427..."} 
[2026-10-05 22:40:11] local.INFO: Packet analysis {"connection_id":206528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d06"} 
[2026-10-05 22:40:11] local.INFO: Extracted packet for processing {"connection_id":206528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d06"} 
[2026-10-05 22:40:11] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552218880001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791219906000,"timestamp_ms":1791219906000,"timestamp_seconds":1791219906,"priority":1,"record_length":96,"hex_timestamp":"000001a10d06b5d0"} 
[2026-10-05 22:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 22:40:11] 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-10-05 22: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-10-05 22:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552218880001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552218880001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:40:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:40:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552218880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":206528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:40:11] local.INFO: GPS data processed {"connection_id":206528,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:40:11] local.INFO: Acknowledgment sent {"connection_id":206528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:40:29] local.INFO: TCP Data received {"connection_id":208123,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:40:29] local.INFO: Processing buffer {"connection_id":208123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:40:29] local.INFO: IMEI packet received {"connection_id":208123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":208123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:40:30] local.INFO: TCP Data received {"connection_id":205025,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:40:30] local.INFO: Processing buffer {"connection_id":205025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:40:30] local.INFO: IMEI packet received {"connection_id":205025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":205025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:40:34] local.INFO: TCP Data received {"connection_id":208123,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10cffa920012d77aa8005f26340000e000126..."} 
[2026-10-05 22:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10cffa920012d77aa8005f26340000e000126..."} 
[2026-10-05 22:40:34] local.INFO: Processing buffer {"connection_id":208123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10cffa920012d77aa8005f26340000e000126..."} 
[2026-10-05 22:40:34] local.INFO: Packet analysis {"connection_id":208123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10cff"} 
[2026-10-05 22:40:34] local.INFO: Extracted packet for processing {"connection_id":208123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10cff"} 
[2026-10-05 22:40:34] local.INFO: GPS Element Parsed {"raw_longitude":762817152,"raw_latitude":99771200,"longitude_deg":76.2817152,"latitude_deg":9.97712,"altitude":14,"angle":1,"satellites":38,"speed":15,"hex_longitude":"2d77aa80","hex_latitude":"05f26340","is_valid_coordinates":true} 
[2026-10-05 22:40: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-10-05 22:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552174592001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2245391722479616,"note":"Value kept but may cause issues"} 
[2026-10-05 22:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043303860224,"note":"Value kept but may cause issues"} 
[2026-10-05 22:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1791219444000,"timestamp_ms":1791219444000,"timestamp_seconds":1791219444,"priority":1,"record_length":96,"hex_timestamp":"000001a10cffa920"} 
[2026-10-05 22:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22: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-10-05 22:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-05 22:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22: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-10-05 22:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":208123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":208123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":208123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:40:34] 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-10-05 22:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552174592001,"66":27995,"160":206,"87":13568,"24":15,"16":2245391722479616,"45":8623197043303860224},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552174592001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:40:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:40:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2245391722479616,"km_value":2245391722479.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043303860224,"description":"Unknown IO ID 45"} 
[2026-10-05 22:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552174592001,"power":27995,"unknown_160":206,"unknown_87":13568,"ignition":15,"odometer":null,"unknown_45":8623197043303860224}} 
[2026-10-05 22:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":208123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:40:34] local.INFO: GPS data processed {"connection_id":208123,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:40:34] local.INFO: Acknowledgment sent {"connection_id":208123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:40:35] local.INFO: TCP Data received {"connection_id":205025,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:40:35] local.INFO: Processing buffer {"connection_id":205025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:40:35] local.INFO: IMEI packet received {"connection_id":205025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":205025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:40:36] local.INFO: TCP Data received {"connection_id":205025,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:40:36] local.INFO: Processing buffer {"connection_id":205025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:40:36] local.INFO: Packet analysis {"connection_id":205025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d08"} 
[2026-10-05 22:40:36] local.INFO: Extracted packet for processing {"connection_id":205025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d08"} 
[2026-10-05 22:40:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552251904001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791220035000,"timestamp_ms":1791220035000,"timestamp_seconds":1791220035,"priority":1,"record_length":96,"hex_timestamp":"000001a10d08adb8"} 
[2026-10-05 22:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 22:40:36] 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-10-05 22:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:40: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-10-05 22:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552251904001,"66":12841,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552251904001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:40:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:40:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552251904001,"power":12841,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":205025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:40:36] local.INFO: GPS data processed {"connection_id":205025,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:40:36] local.INFO: Acknowledgment sent {"connection_id":205025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:40:43] local.INFO: TCP Data received {"connection_id":206528,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d06b5d0012d196600071feee80039015427..."} 
[2026-10-05 22:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d06b5d0012d196600071feee80039015427..."} 
[2026-10-05 22:40:43] local.INFO: Processing buffer {"connection_id":206528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d06b5d0012d196600071feee80039015427..."} 
[2026-10-05 22:40:43] local.INFO: Packet analysis {"connection_id":206528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d06"} 
[2026-10-05 22:40:43] local.INFO: Extracted packet for processing {"connection_id":206528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d06"} 
[2026-10-05 22:40:43] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552218880001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791219906000,"timestamp_ms":1791219906000,"timestamp_seconds":1791219906,"priority":1,"record_length":96,"hex_timestamp":"000001a10d06b5d0"} 
[2026-10-05 22:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 22:40:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22: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-10-05 22:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":206528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":206528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":206528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552218880001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552218880001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:40:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:40:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552218880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":206528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:40:43] local.INFO: GPS data processed {"connection_id":206528,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:40:43] local.INFO: Acknowledgment sent {"connection_id":206528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:41:04] local.INFO: TCP Data received {"connection_id":206529,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:41:04] local.INFO: Processing buffer {"connection_id":206529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:41:04] local.INFO: IMEI packet received {"connection_id":206529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":206529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:41:07] local.INFO: TCP Data received {"connection_id":205025,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:41:07] local.INFO: Processing buffer {"connection_id":205025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:41:07] local.INFO: Packet analysis {"connection_id":205025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d08"} 
[2026-10-05 22:41:07] local.INFO: Extracted packet for processing {"connection_id":205025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d08"} 
[2026-10-05 22:41:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552251904001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791220035000,"timestamp_ms":1791220035000,"timestamp_seconds":1791220035,"priority":1,"record_length":96,"hex_timestamp":"000001a10d08adb8"} 
[2026-10-05 22:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 22:41:07] 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-10-05 22: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-10-05 22:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:41:07] 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-10-05 22:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552251904001,"66":12841,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552251904001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:41:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:41:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552251904001,"power":12841,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":205025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:41:07] local.INFO: GPS data processed {"connection_id":205025,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:41:07] local.INFO: Acknowledgment sent {"connection_id":205025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:41:09] local.INFO: TCP Data received {"connection_id":206529,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:41:09] local.INFO: Processing buffer {"connection_id":206529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:41:09] local.INFO: IMEI packet received {"connection_id":206529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":206529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:41:11] local.INFO: TCP Data received {"connection_id":206529,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0b4d98012d196600071feee8003901542a..."} 
[2026-10-05 22:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0b4d98012d196600071feee8003901542a..."} 
[2026-10-05 22:41:11] local.INFO: Processing buffer {"connection_id":206529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0b4d98012d196600071feee8003901542a..."} 
[2026-10-05 22:41:11] local.INFO: Packet analysis {"connection_id":206529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d0b"} 
[2026-10-05 22:41:11] local.INFO: Extracted packet for processing {"connection_id":206529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d0b"} 
[2026-10-05 22:41:11] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552295936001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791220207000,"timestamp_ms":1791220207000,"timestamp_seconds":1791220207,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0b4d98"} 
[2026-10-05 22:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:41:11] 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-10-05 22: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":118,"data_length":795,"current_offset":136} 
[2026-10-05 22:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22: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-10-05 22:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":206529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":206529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":206529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552295936001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552295936001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:41:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:41:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552295936001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":206529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:41:11] local.INFO: GPS data processed {"connection_id":206529,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:41:11] local.INFO: Acknowledgment sent {"connection_id":206529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:41:29] local.INFO: TCP Data received {"connection_id":206530,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:41:29] local.INFO: Processing buffer {"connection_id":206530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:41:29] local.INFO: IMEI packet received {"connection_id":206530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":206530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:41:35] local.INFO: TCP Data received {"connection_id":208125,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208125,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:41:35] local.INFO: Processing buffer {"connection_id":208125,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:41:35] local.INFO: IMEI packet received {"connection_id":208125,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":208125,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:41:38] local.INFO: TCP Data received {"connection_id":206530,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:41:38] local.INFO: Processing buffer {"connection_id":206530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:41:38] local.INFO: IMEI packet received {"connection_id":206530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":206530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:41:40] local.INFO: TCP Data received {"connection_id":208125,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208125,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:41:40] local.INFO: Processing buffer {"connection_id":208125,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:41:40] local.INFO: IMEI packet received {"connection_id":208125,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":208125,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:41:41] local.INFO: TCP Data received {"connection_id":208125,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:41:41] local.INFO: Processing buffer {"connection_id":208125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:41:41] local.INFO: Packet analysis {"connection_id":208125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d08"} 
[2026-10-05 22:41:41] local.INFO: Extracted packet for processing {"connection_id":208125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d08"} 
[2026-10-05 22:41:41] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552251904001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791220035000,"timestamp_ms":1791220035000,"timestamp_seconds":1791220035,"priority":1,"record_length":96,"hex_timestamp":"000001a10d08adb8"} 
[2026-10-05 22:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-05 22:41:41] 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-10-05 22:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":208125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":208125,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":208125,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552251904001,"66":12841,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552251904001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:41:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552251904001,"power":12841,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":208125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:41:41] local.INFO: GPS data processed {"connection_id":208125,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:41:41] local.INFO: Acknowledgment sent {"connection_id":208125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:41:43] local.INFO: TCP Data received {"connection_id":206529,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0b4d98012d196600071feee8003901542a..."} 
[2026-10-05 22:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0b4d98012d196600071feee8003901542a..."} 
[2026-10-05 22:41:43] local.INFO: Processing buffer {"connection_id":206529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0b4d98012d196600071feee8003901542a..."} 
[2026-10-05 22:41:43] local.INFO: Packet analysis {"connection_id":206529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d0b"} 
[2026-10-05 22:41:43] local.INFO: Extracted packet for processing {"connection_id":206529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d0b"} 
[2026-10-05 22:41:43] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552295936001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1791220207000,"timestamp_ms":1791220207000,"timestamp_seconds":1791220207,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0b4d98"} 
[2026-10-05 22:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 22:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":206529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":206529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":206529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552295936001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552295936001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:41:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:41:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552295936001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":206529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:41:43] local.INFO: GPS data processed {"connection_id":206529,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:41:43] local.INFO: Acknowledgment sent {"connection_id":206529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:42:04] local.INFO: TCP Data received {"connection_id":205026,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:42:04] local.INFO: Processing buffer {"connection_id":205026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:42:04] local.INFO: IMEI packet received {"connection_id":205026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":205026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:42:04] local.INFO: TCP Data received {"connection_id":205148,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:42:04] local.INFO: Processing buffer {"connection_id":205148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:42:04] local.INFO: IMEI packet received {"connection_id":205148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":205148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:42:09] local.INFO: TCP Data received {"connection_id":205026,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:42:09] local.INFO: Processing buffer {"connection_id":205026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:42:09] local.INFO: IMEI packet received {"connection_id":205026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":205026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:42:10] local.INFO: TCP Data received {"connection_id":205148,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:42:10] local.INFO: Processing buffer {"connection_id":205148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:42:10] local.INFO: IMEI packet received {"connection_id":205148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":205148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:42:12] local.INFO: TCP Data received {"connection_id":205148,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0b4d98012d196600071feee8003901542a..."} 
[2026-10-05 22:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0b4d98012d196600071feee8003901542a..."} 
[2026-10-05 22:42:12] local.INFO: Processing buffer {"connection_id":205148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0b4d98012d196600071feee8003901542a..."} 
[2026-10-05 22:42:12] local.INFO: Packet analysis {"connection_id":205148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d0b"} 
[2026-10-05 22:42:12] local.INFO: Extracted packet for processing {"connection_id":205148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d0b"} 
[2026-10-05 22:42:12] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552295936001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791220207000,"timestamp_ms":1791220207000,"timestamp_seconds":1791220207,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0b4d98"} 
[2026-10-05 22:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:42: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-10-05 22:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 22:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":205148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":205148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":205148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552295936001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552295936001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:42:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:42:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552295936001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":205148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:42:12] local.INFO: GPS data processed {"connection_id":205148,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:42:12] local.INFO: Acknowledgment sent {"connection_id":205148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:42:13] local.INFO: TCP Data received {"connection_id":208125,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:42:13] local.INFO: Processing buffer {"connection_id":208125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d08adb8012d7c254005dacc900003015127..."} 
[2026-10-05 22:42:13] local.INFO: Packet analysis {"connection_id":208125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d08"} 
[2026-10-05 22:42:13] local.INFO: Extracted packet for processing {"connection_id":208125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d08"} 
[2026-10-05 22:42:13] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:42: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-10-05 22:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552251904001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791220035000,"timestamp_ms":1791220035000,"timestamp_seconds":1791220035,"priority":1,"record_length":96,"hex_timestamp":"000001a10d08adb8"} 
[2026-10-05 22:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:42: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":106,"data_length":795,"current_offset":136} 
[2026-10-05 22:42:13] 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-10-05 22:42: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-10-05 22:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":208125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":208125,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":208125,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:42:13] 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-10-05 22:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552251904001,"66":12841,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552251904001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:42:13] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:42:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552251904001,"power":12841,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":208125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:42:13] local.INFO: GPS data processed {"connection_id":208125,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:42:13] local.INFO: Acknowledgment sent {"connection_id":208125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:42:24] local.INFO: TCP Data received {"connection_id":205026,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0444d0012d77aa0005f277b0000a016226..."} 
[2026-10-05 22:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0444d0012d77aa0005f277b0000a016226..."} 
[2026-10-05 22:42:25] local.INFO: Processing buffer {"connection_id":205026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0444d0012d77aa0005f277b0000a016226..."} 
[2026-10-05 22:42:25] local.INFO: Packet analysis {"connection_id":205026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d04"} 
[2026-10-05 22:42:25] local.INFO: Extracted packet for processing {"connection_id":205026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d04"} 
[2026-10-05 22:42:25] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99776432,"longitude_deg":76.2817024,"latitude_deg":9.9776432,"altitude":10,"angle":354,"satellites":38,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f277b0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 22:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552177664001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2245391722479616,"note":"Value kept but may cause issues"} 
[2026-10-05 22:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622845199584018432,"note":"Value kept but may cause issues"} 
[2026-10-05 22:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1791219746000,"timestamp_ms":1791219746000,"timestamp_seconds":1791219746,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0444d0"} 
[2026-10-05 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-10-05 22:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 22:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 22:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":205026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":205026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":205026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552177664001,"66":26408,"97":206,"87":13568,"24":0,"16":2245391722479616,"45":8622845199584018432},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-10-05 22:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552177664001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:42:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-10-05 22:42:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2245391722479616,"km_value":2245391722479.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622845199584018432,"description":"Unknown IO ID 45"} 
[2026-10-05 22:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552177664001,"power":26408,"unknown_97":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622845199584018432}} 
[2026-10-05 22:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":205026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:42:25] local.INFO: GPS data processed {"connection_id":205026,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:42:25] local.INFO: Acknowledgment sent {"connection_id":205026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:42:30] local.INFO: TCP Data received {"connection_id":205149,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:42:30] local.INFO: Processing buffer {"connection_id":205149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:42:30] local.INFO: IMEI packet received {"connection_id":205149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":205149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:42:35] local.INFO: TCP Data received {"connection_id":205149,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:42:35] local.INFO: Processing buffer {"connection_id":205149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:42:35] local.INFO: IMEI packet received {"connection_id":205149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":205149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:42:36] local.INFO: TCP Data received {"connection_id":205149,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:42:36] local.INFO: Processing buffer {"connection_id":205149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:42:36] local.INFO: Packet analysis {"connection_id":205149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d0d"} 
[2026-10-05 22:42:36] local.INFO: Extracted packet for processing {"connection_id":205149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d0d"} 
[2026-10-05 22:42:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552328960001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791220336000,"timestamp_ms":1791220336000,"timestamp_seconds":1791220336,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0d4580"} 
[2026-10-05 22:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 22:42:36] 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-10-05 22:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:42: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-10-05 22:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552328960001,"66":12809,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552328960001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:42:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:42:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552328960001,"power":12809,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":205149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:42:36] local.INFO: GPS data processed {"connection_id":205149,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:42:36] local.INFO: Acknowledgment sent {"connection_id":205149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:42:44] local.INFO: TCP Data received {"connection_id":205148,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0b4d98012d196600071feee8003901542a..."} 
[2026-10-05 22:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0b4d98012d196600071feee8003901542a..."} 
[2026-10-05 22:42:44] local.INFO: Processing buffer {"connection_id":205148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0b4d98012d196600071feee8003901542a..."} 
[2026-10-05 22:42:44] local.INFO: Packet analysis {"connection_id":205148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d0b"} 
[2026-10-05 22:42:44] local.INFO: Extracted packet for processing {"connection_id":205148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d0b"} 
[2026-10-05 22:42:44] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552295936001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1791220207000,"timestamp_ms":1791220207000,"timestamp_seconds":1791220207,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0b4d98"} 
[2026-10-05 22:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:42:44] 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-10-05 22:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 22:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":205148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":205148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":205148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552295936001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552295936001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:42:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:42:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552295936001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":205148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:42:44] local.INFO: GPS data processed {"connection_id":205148,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:42:44] local.INFO: Acknowledgment sent {"connection_id":205148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:43:07] local.INFO: TCP Data received {"connection_id":205149,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:43:07] local.INFO: Processing buffer {"connection_id":205149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:43:07] local.INFO: Packet analysis {"connection_id":205149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d0d"} 
[2026-10-05 22:43:07] local.INFO: Extracted packet for processing {"connection_id":205149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d0d"} 
[2026-10-05 22:43:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552328960001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791220336000,"timestamp_ms":1791220336000,"timestamp_seconds":1791220336,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0d4580"} 
[2026-10-05 22:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 22:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:43:07] 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-10-05 22:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552328960001,"66":12809,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552328960001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:43:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:43:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552328960001,"power":12809,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":205149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:43:07] local.INFO: GPS data processed {"connection_id":205149,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:43:07] local.INFO: Acknowledgment sent {"connection_id":205149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:43:09] local.INFO: TCP Data received {"connection_id":206532,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:43:09] local.INFO: Processing buffer {"connection_id":206532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:43:09] local.INFO: IMEI packet received {"connection_id":206532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":206532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:43:14] local.INFO: TCP Data received {"connection_id":206533,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:43:14] local.INFO: Processing buffer {"connection_id":206533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:43:14] local.INFO: IMEI packet received {"connection_id":206533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":206533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:43:14] local.INFO: TCP Data received {"connection_id":206532,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:43:14] local.INFO: Processing buffer {"connection_id":206532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:43:14] local.INFO: IMEI packet received {"connection_id":206532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":206532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:43:16] local.INFO: TCP Data received {"connection_id":206532,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0b4d98012d196600071feee8003901542a..."} 
[2026-10-05 22:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0b4d98012d196600071feee8003901542a..."} 
[2026-10-05 22:43:16] local.INFO: Processing buffer {"connection_id":206532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0b4d98012d196600071feee8003901542a..."} 
[2026-10-05 22:43:16] local.INFO: Packet analysis {"connection_id":206532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d0b"} 
[2026-10-05 22:43:16] local.INFO: Extracted packet for processing {"connection_id":206532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d0b"} 
[2026-10-05 22:43:16] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552295936001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791220207000,"timestamp_ms":1791220207000,"timestamp_seconds":1791220207,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0b4d98"} 
[2026-10-05 22:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:43:16] 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-10-05 22:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 22:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":206532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":206532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":206532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552295936001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552295936001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:43:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:43:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552295936001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":206532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:43:16] local.INFO: GPS data processed {"connection_id":206532,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:43:16] local.INFO: Acknowledgment sent {"connection_id":206532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:43:20] local.INFO: TCP Data received {"connection_id":206532,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0b4d98012d196600071feee8003901542a..."} 
[2026-10-05 22:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0b4d98012d196600071feee8003901542a..."} 
[2026-10-05 22:43:20] local.INFO: Processing buffer {"connection_id":206532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0b4d98012d196600071feee8003901542a..."} 
[2026-10-05 22:43:20] local.INFO: Packet analysis {"connection_id":206532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d0b"} 
[2026-10-05 22:43:20] local.INFO: Extracted packet for processing {"connection_id":206532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d0b"} 
[2026-10-05 22:43:20] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552295936001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791220207000,"timestamp_ms":1791220207000,"timestamp_seconds":1791220207,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0b4d98"} 
[2026-10-05 22:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:43:20] 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-10-05 22:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 22:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":206532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":206532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":206532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552295936001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552295936001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:43:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:43:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552295936001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":206532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:43:20] local.INFO: GPS data processed {"connection_id":206532,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:43:20] local.INFO: Acknowledgment sent {"connection_id":206532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:43:21] local.INFO: TCP Data received {"connection_id":206533,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:43:21] local.INFO: Processing buffer {"connection_id":206533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:43:21] local.INFO: IMEI packet received {"connection_id":206533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":206533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:43:29] local.INFO: TCP Data received {"connection_id":206533,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10d08dc98012d77aa0005f277b0000a016222..."} 
[2026-10-05 22:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d08dc98012d77aa0005f277b0000a016222..."} 
[2026-10-05 22:43:29] local.INFO: Processing buffer {"connection_id":206533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d08dc98012d77aa0005f277b0000a016222..."} 
[2026-10-05 22:43:29] local.INFO: Packet analysis {"connection_id":206533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d08"} 
[2026-10-05 22:43:29] local.INFO: Extracted packet for processing {"connection_id":206533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d08"} 
[2026-10-05 22:43:29] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99776432,"longitude_deg":76.2817024,"latitude_deg":9.9776432,"altitude":10,"angle":354,"satellites":34,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f277b0","is_valid_coordinates":true} 
[2026-10-05 22:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552254976001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2245391722479616,"note":"Value kept but may cause issues"} 
[2026-10-05 22:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462097002496,"note":"Value kept but may cause issues"} 
[2026-10-05 22:43: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-10-05 22:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1791220047000,"timestamp_ms":1791220047000,"timestamp_seconds":1791220047,"priority":1,"record_length":96,"hex_timestamp":"000001a10d08dc98"} 
[2026-10-05 22:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-05 22:43:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:43:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":206533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":206533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":206533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:43:29] 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-10-05 22:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552254976001,"66":26169,"160":206,"87":13568,"24":0,"16":2245391722479616,"45":8622704462097002496},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552254976001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:43:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:43:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2245391722479616,"km_value":2245391722479.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462097002496,"description":"Unknown IO ID 45"} 
[2026-10-05 22:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552254976001,"power":26169,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622704462097002496}} 
[2026-10-05 22:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":206533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:43:29] local.INFO: GPS data processed {"connection_id":206533,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:43:29] local.INFO: Acknowledgment sent {"connection_id":206533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:43:30] local.INFO: TCP Data received {"connection_id":208126,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:43:30] local.INFO: Processing buffer {"connection_id":208126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:43:30] local.INFO: IMEI packet received {"connection_id":208126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":208126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:43:35] local.INFO: TCP Data received {"connection_id":208126,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:43:35] local.INFO: Processing buffer {"connection_id":208126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:43:35] local.INFO: IMEI packet received {"connection_id":208126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":208126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:43:36] local.INFO: TCP Data received {"connection_id":208126,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:43:36] local.INFO: Processing buffer {"connection_id":208126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:43:36] local.INFO: Packet analysis {"connection_id":208126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d0d"} 
[2026-10-05 22:43:36] local.INFO: Extracted packet for processing {"connection_id":208126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d0d"} 
[2026-10-05 22:43:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552328960001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791220336000,"timestamp_ms":1791220336000,"timestamp_seconds":1791220336,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0d4580"} 
[2026-10-05 22:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 22:43:36] 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-10-05 22:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:43: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-10-05 22:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552328960001,"66":12809,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552328960001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:43:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:43:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552328960001,"power":12809,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":208126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:43:36] local.INFO: GPS data processed {"connection_id":208126,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:43:36] local.INFO: Acknowledgment sent {"connection_id":208126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:43:39] local.INFO: TCP Data received {"connection_id":206533,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0d7848012d77aa0005f277b0000a016224..."} 
[2026-10-05 22:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0d7848012d77aa0005f277b0000a016224..."} 
[2026-10-05 22:43:39] local.INFO: Processing buffer {"connection_id":206533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0d7848012d77aa0005f277b0000a016224..."} 
[2026-10-05 22:43:39] local.INFO: Packet analysis {"connection_id":206533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d0d"} 
[2026-10-05 22:43:39] local.INFO: Extracted packet for processing {"connection_id":206533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d0d"} 
[2026-10-05 22:43:39] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99776432,"longitude_deg":76.2817024,"latitude_deg":9.9776432,"altitude":10,"angle":354,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f277b0","is_valid_coordinates":true} 
[2026-10-05 22:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552332032001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2245391722479616,"note":"Value kept but may cause issues"} 
[2026-10-05 22:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462097002496,"note":"Value kept but may cause issues"} 
[2026-10-05 22:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1791220349000,"timestamp_ms":1791220349000,"timestamp_seconds":1791220349,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0d7848"} 
[2026-10-05 22:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-10-05 22:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":206533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":206533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":206533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:43:39] 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-10-05 22:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552332032001,"66":26028,"160":206,"87":13568,"24":0,"16":2245391722479616,"45":8622704462097002496},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552332032001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:43:39] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:43:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2245391722479616,"km_value":2245391722479.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462097002496,"description":"Unknown IO ID 45"} 
[2026-10-05 22:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552332032001,"power":26028,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622704462097002496}} 
[2026-10-05 22:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":206533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:43:39] local.INFO: GPS data processed {"connection_id":206533,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:43:39] local.INFO: Acknowledgment sent {"connection_id":206533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:43:58] local.INFO: TCP Data received {"connection_id":206534,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206534,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:43:58] local.INFO: Processing buffer {"connection_id":206534,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:43:58] local.INFO: IMEI packet received {"connection_id":206534,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 22:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":206534,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:44:07] local.INFO: TCP Data received {"connection_id":208126,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:44:07] local.INFO: Processing buffer {"connection_id":208126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:44:07] local.INFO: Packet analysis {"connection_id":208126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d0d"} 
[2026-10-05 22:44:07] local.INFO: Extracted packet for processing {"connection_id":208126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d0d"} 
[2026-10-05 22:44:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552328960001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791220336000,"timestamp_ms":1791220336000,"timestamp_seconds":1791220336,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0d4580"} 
[2026-10-05 22:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 22:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22: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-10-05 22:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":208126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":208126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":208126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:44:07] 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-10-05 22:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552328960001,"66":12809,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552328960001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:44:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:44:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552328960001,"power":12809,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":208126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:44:07] local.INFO: GPS data processed {"connection_id":208126,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:44:07] local.INFO: Acknowledgment sent {"connection_id":208126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:44:10] local.INFO: TCP Data received {"connection_id":208127,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:44:10] local.INFO: Processing buffer {"connection_id":208127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:44:10] local.INFO: IMEI packet received {"connection_id":208127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":208127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:44:14] local.INFO: TCP Data received {"connection_id":208127,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:44:14] local.INFO: Processing buffer {"connection_id":208127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:44:14] local.INFO: IMEI packet received {"connection_id":208127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":208127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:44:16] local.INFO: TCP Data received {"connection_id":208127,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0b4d98012d196600071feee8003901542a..."} 
[2026-10-05 22:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0b4d98012d196600071feee8003901542a..."} 
[2026-10-05 22:44:16] local.INFO: Processing buffer {"connection_id":208127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0b4d98012d196600071feee8003901542a..."} 
[2026-10-05 22:44:16] local.INFO: Packet analysis {"connection_id":208127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d0b"} 
[2026-10-05 22:44:16] local.INFO: Extracted packet for processing {"connection_id":208127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d0b"} 
[2026-10-05 22:44:16] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552295936001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791220207000,"timestamp_ms":1791220207000,"timestamp_seconds":1791220207,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0b4d98"} 
[2026-10-05 22:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:44:16] 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-10-05 22:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 22:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22: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-10-05 22:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":208127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":208127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":208127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552295936001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552295936001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:44:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:44:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552295936001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":208127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:44:16] local.INFO: GPS data processed {"connection_id":208127,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:44:16] local.INFO: Acknowledgment sent {"connection_id":208127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:44:30] local.INFO: TCP Data received {"connection_id":206535,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206535,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:44:30] local.INFO: Processing buffer {"connection_id":206535,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:44:30] local.INFO: IMEI packet received {"connection_id":206535,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":206535,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:44:33] local.INFO: TCP Data received {"connection_id":205150,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:44:33] local.INFO: Processing buffer {"connection_id":205150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:44:33] local.INFO: IMEI packet received {"connection_id":205150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 22:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":205150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:44:35] local.INFO: TCP Data received {"connection_id":206535,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206535,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:44:35] local.INFO: Processing buffer {"connection_id":206535,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:44:35] local.INFO: IMEI packet received {"connection_id":206535,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":206535,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:44:36] local.INFO: TCP Data received {"connection_id":206535,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:44:36] local.INFO: Processing buffer {"connection_id":206535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:44:36] local.INFO: Packet analysis {"connection_id":206535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d0d"} 
[2026-10-05 22:44:36] local.INFO: Extracted packet for processing {"connection_id":206535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d0d"} 
[2026-10-05 22:44:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552328960001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791220336000,"timestamp_ms":1791220336000,"timestamp_seconds":1791220336,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0d4580"} 
[2026-10-05 22:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 22:44:36] 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-10-05 22:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:44: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-10-05 22:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552328960001,"66":12809,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552328960001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:44:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:44:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552328960001,"power":12809,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":206535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:44:36] local.INFO: GPS data processed {"connection_id":206535,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:44:36] local.INFO: Acknowledgment sent {"connection_id":206535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:44:36] local.INFO: TCP Data received {"connection_id":205150,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:44:36] local.INFO: Processing buffer {"connection_id":205150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:44:36] local.INFO: IMEI packet received {"connection_id":205150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 22:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":205150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:44:38] local.INFO: TCP Data received {"connection_id":205150,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:44:38] local.INFO: Processing buffer {"connection_id":205150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:44:38] local.INFO: IMEI packet received {"connection_id":205150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 22:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":205150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:44:51] local.INFO: TCP Data received {"connection_id":208127,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0b4d98012d196600071feee8003901542a..."} 
[2026-10-05 22:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0b4d98012d196600071feee8003901542a..."} 
[2026-10-05 22:44:51] local.INFO: Processing buffer {"connection_id":208127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0b4d98012d196600071feee8003901542a..."} 
[2026-10-05 22:44:51] local.INFO: Packet analysis {"connection_id":208127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d0b"} 
[2026-10-05 22:44:51] local.INFO: Extracted packet for processing {"connection_id":208127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d0b"} 
[2026-10-05 22:44:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:44: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-10-05 22:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552295936001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1791220207000,"timestamp_ms":1791220207000,"timestamp_seconds":1791220207,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0b4d98"} 
[2026-10-05 22:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:44:51] 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-10-05 22:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 22:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:44: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-10-05 22:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":208127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":208127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":208127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552295936001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552295936001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:44:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:44:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552295936001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":208127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:44:52] local.INFO: GPS data processed {"connection_id":208127,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:44:52] local.INFO: Acknowledgment sent {"connection_id":208127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:45:08] local.INFO: TCP Data received {"connection_id":206535,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:45:08] local.INFO: Processing buffer {"connection_id":206535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:45:08] local.INFO: Packet analysis {"connection_id":206535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d0d"} 
[2026-10-05 22:45:08] local.INFO: Extracted packet for processing {"connection_id":206535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d0d"} 
[2026-10-05 22:45:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552328960001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791220336000,"timestamp_ms":1791220336000,"timestamp_seconds":1791220336,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0d4580"} 
[2026-10-05 22:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:45: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-10-05 22:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 22:45: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-10-05 22:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:45:08] 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-10-05 22:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552328960001,"66":12809,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552328960001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:45:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:45:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552328960001,"power":12809,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":206535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:45:08] local.INFO: GPS data processed {"connection_id":206535,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:45:08] local.INFO: Acknowledgment sent {"connection_id":206535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:45:09] local.INFO: TCP Data received {"connection_id":205029,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:45:09] local.INFO: Processing buffer {"connection_id":205029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:45:09] local.INFO: IMEI packet received {"connection_id":205029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":205029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:45:17] local.INFO: TCP Data received {"connection_id":205029,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:45:17] local.INFO: Processing buffer {"connection_id":205029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:45:17] local.INFO: IMEI packet received {"connection_id":205029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":205029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:45:19] local.INFO: TCP Data received {"connection_id":205029,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0b4d98012d196600071feee8003901542a..."} 
[2026-10-05 22:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0b4d98012d196600071feee8003901542a..."} 
[2026-10-05 22:45:19] local.INFO: Processing buffer {"connection_id":205029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0b4d98012d196600071feee8003901542a..."} 
[2026-10-05 22:45:19] local.INFO: Packet analysis {"connection_id":205029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d0b"} 
[2026-10-05 22:45:19] local.INFO: Extracted packet for processing {"connection_id":205029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d0b"} 
[2026-10-05 22:45:19] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552295936001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791220207000,"timestamp_ms":1791220207000,"timestamp_seconds":1791220207,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0b4d98"} 
[2026-10-05 22:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:45:19] 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-10-05 22:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-05 22:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":205029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":205029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":205029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552295936001,"66":2144,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552295936001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:45:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:45:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552295936001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":205029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:45:19] local.INFO: GPS data processed {"connection_id":205029,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:45:19] local.INFO: Acknowledgment sent {"connection_id":205029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:45:35] local.INFO: TCP Data received {"connection_id":208128,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208128,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:45:35] local.INFO: Processing buffer {"connection_id":208128,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:45:35] local.INFO: IMEI packet received {"connection_id":208128,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":208128,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:45:40] local.INFO: TCP Data received {"connection_id":208128,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208128,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:45:40] local.INFO: Processing buffer {"connection_id":208128,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:45:40] local.INFO: IMEI packet received {"connection_id":208128,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":208128,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:45:41] local.INFO: TCP Data received {"connection_id":208128,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:45:41] local.INFO: Processing buffer {"connection_id":208128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:45:41] local.INFO: Packet analysis {"connection_id":208128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d0d"} 
[2026-10-05 22:45:41] local.INFO: Extracted packet for processing {"connection_id":208128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d0d"} 
[2026-10-05 22:45:41] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552328960001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791220336000,"timestamp_ms":1791220336000,"timestamp_seconds":1791220336,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0d4580"} 
[2026-10-05 22:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 22:45:41] 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-10-05 22:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":208128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":208128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":208128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552328960001,"66":12809,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552328960001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:45:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:45:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552328960001,"power":12809,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":208128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970406,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:45:41] local.INFO: GPS data processed {"connection_id":208128,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:45:41] local.INFO: Acknowledgment sent {"connection_id":208128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:45:45] local.INFO: TCP Data received {"connection_id":208128,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:45:45] local.INFO: Processing buffer {"connection_id":208128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:45:45] local.INFO: Packet analysis {"connection_id":208128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d0d"} 
[2026-10-05 22:45:45] local.INFO: Extracted packet for processing {"connection_id":208128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d0d"} 
[2026-10-05 22:45:45] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552328960001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791220336000,"timestamp_ms":1791220336000,"timestamp_seconds":1791220336,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0d4580"} 
[2026-10-05 22:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 22:45:45] 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-10-05 22:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":208128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":208128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":208128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552328960001,"66":12809,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552328960001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:45:45] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:45:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552328960001,"power":12809,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":208128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:45:45] local.INFO: GPS data processed {"connection_id":208128,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:45:45] local.INFO: Acknowledgment sent {"connection_id":208128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:46:09] local.INFO: TCP Data received {"connection_id":205151,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:46:09] local.INFO: Processing buffer {"connection_id":205151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:46:09] local.INFO: IMEI packet received {"connection_id":205151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":205151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:46:14] local.INFO: TCP Data received {"connection_id":205151,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:46:14] local.INFO: Processing buffer {"connection_id":205151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:46:14] local.INFO: IMEI packet received {"connection_id":205151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-05 22:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":205151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:46:15] local.INFO: TCP Data received {"connection_id":205151,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0fe560012d196600071feee8003901542a..."} 
[2026-10-05 22:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0fe560012d196600071feee8003901542a..."} 
[2026-10-05 22:46:15] local.INFO: Processing buffer {"connection_id":205151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0fe560012d196600071feee8003901542a..."} 
[2026-10-05 22:46:15] local.INFO: Packet analysis {"connection_id":205151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d0f"} 
[2026-10-05 22:46:15] local.INFO: Extracted packet for processing {"connection_id":205151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d0f"} 
[2026-10-05 22:46:15] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552372992001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1791220508000,"timestamp_ms":1791220508000,"timestamp_seconds":1791220508,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0fe560"} 
[2026-10-05 22:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7680,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 22:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":205151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":205151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":205151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552372992001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552372992001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:46:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:46:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552372992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":205151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:46:16] local.INFO: GPS data processed {"connection_id":205151,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:46:16] local.INFO: Acknowledgment sent {"connection_id":205151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:46:20] local.INFO: TCP Data received {"connection_id":205151,"ip":"117.224.141.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0fe560012d196600071feee8003901542a..."} 
[2026-10-05 22:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0fe560012d196600071feee8003901542a..."} 
[2026-10-05 22:46:20] local.INFO: Processing buffer {"connection_id":205151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0fe560012d196600071feee8003901542a..."} 
[2026-10-05 22:46:20] local.INFO: Packet analysis {"connection_id":205151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d0f"} 
[2026-10-05 22:46:20] local.INFO: Extracted packet for processing {"connection_id":205151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d0f"} 
[2026-10-05 22:46:20] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533288,"longitude_deg":75.6639232,"latitude_deg":11.9533288,"altitude":57,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feee8","is_valid_coordinates":true} 
[2026-10-05 22:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552372992001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":25304594393333760,"note":"Value kept but may cause issues"} 
[2026-10-05 22:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173207040,"note":"Value kept but may cause issues"} 
[2026-10-05 22:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1791220508000,"timestamp_ms":1791220508000,"timestamp_seconds":1791220508,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0fe560"} 
[2026-10-05 22:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7680,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 22:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":205151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":205151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":205151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-05 22:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.141.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-05 22:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-05 22:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552372992001,"66":2166,"121":206,"28":31744,"24":0,"16":25304594393333760,"45":1830150329173207040},"client_ip":"117.224.141.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-10-05 22:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-05 22:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-05 22:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552372992001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:46:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-05 22:46:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-10-05 22:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":25304594393333760,"km_value":25304594393333.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173207040,"description":"Unknown IO ID 45"} 
[2026-10-05 22:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552372992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173207040}} 
[2026-10-05 22:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":205151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:46:20] local.INFO: GPS data processed {"connection_id":205151,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:46:20] local.INFO: Acknowledgment sent {"connection_id":205151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:46:30] local.INFO: TCP Data received {"connection_id":205152,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205152,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:46:30] local.INFO: Processing buffer {"connection_id":205152,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:46:30] local.INFO: IMEI packet received {"connection_id":205152,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":205152,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:46:35] local.INFO: TCP Data received {"connection_id":205152,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205152,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:46:35] local.INFO: Processing buffer {"connection_id":205152,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:46:35] local.INFO: IMEI packet received {"connection_id":205152,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":205152,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:46:36] local.INFO: TCP Data received {"connection_id":205152,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:46:36] local.INFO: Processing buffer {"connection_id":205152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:46:36] local.INFO: Packet analysis {"connection_id":205152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d0d"} 
[2026-10-05 22:46:36] local.INFO: Extracted packet for processing {"connection_id":205152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d0d"} 
[2026-10-05 22:46:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552328960001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791220336000,"timestamp_ms":1791220336000,"timestamp_seconds":1791220336,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0d4580"} 
[2026-10-05 22:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 22:46:36] 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-10-05 22:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:46: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-10-05 22:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552328960001,"66":12809,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552328960001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:46:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:46:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552328960001,"power":12809,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":205152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970410,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:46:36] local.INFO: GPS data processed {"connection_id":205152,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:46:36] local.INFO: Acknowledgment sent {"connection_id":205152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:47:04] local.INFO: TCP Data received {"connection_id":208130,"ip":"117.224.141.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:47:04] local.INFO: Processing buffer {"connection_id":208130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-05 22:47:04] local.INFO: IMEI packet received {"connection_id":208130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-05 22:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":208130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:47:07] local.INFO: TCP Data received {"connection_id":205152,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:47:07] local.INFO: Processing buffer {"connection_id":205152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d0d4580012d7c254005dacc900003015128..."} 
[2026-10-05 22:47:07] local.INFO: Packet analysis {"connection_id":205152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d0d"} 
[2026-10-05 22:47:07] local.INFO: Extracted packet for processing {"connection_id":205152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d0d"} 
[2026-10-05 22:47:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":3,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552328960001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791220336000,"timestamp_ms":1791220336000,"timestamp_seconds":1791220336,"priority":1,"record_length":96,"hex_timestamp":"000001a10d0d4580"} 
[2026-10-05 22:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-05 22:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22: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-10-05 22:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:47:07] 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-10-05 22:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552328960001,"66":12809,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552328960001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:47:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:47:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552328960001,"power":12809,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":205152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:47:07] local.INFO: GPS data processed {"connection_id":205152,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:47:07] local.INFO: Acknowledgment sent {"connection_id":205152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:47:30] local.INFO: TCP Data received {"connection_id":208131,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:47:30] local.INFO: Processing buffer {"connection_id":208131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:47:30] local.INFO: IMEI packet received {"connection_id":208131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":208131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:47:35] local.INFO: TCP Data received {"connection_id":208131,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:47:35] local.INFO: Processing buffer {"connection_id":208131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:47:35] local.INFO: IMEI packet received {"connection_id":208131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":208131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:47:36] local.INFO: TCP Data received {"connection_id":208131,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:47:36] local.INFO: Processing buffer {"connection_id":208131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:47:36] local.INFO: Packet analysis {"connection_id":208131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d11"} 
[2026-10-05 22:47:36] local.INFO: Extracted packet for processing {"connection_id":208131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d11"} 
[2026-10-05 22:47:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552406016001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791220637000,"timestamp_ms":1791220637000,"timestamp_seconds":1791220637,"priority":1,"record_length":96,"hex_timestamp":"000001a10d11dd48"} 
[2026-10-05 22:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-05 22:47:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 22:47:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-10-05 22:47:36] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-1360359761291500224,"note":"Value kept but may cause issues"} 
[2026-10-05 22:47:36] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3431989251,"note":"Value kept but may cause issues"} 
[2026-10-05 22:47:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705050318,"corrected_to":0} 
[2026-10-05 22:47:36] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2550214012,"note":"Value kept but may cause issues"} 
[2026-10-05 22:47:36] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154021,"note":"Value kept but may cause issues"} 
[2026-10-05 22:47:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2680609348467470043,"note":"Value kept but may cause issues"} 
[2026-10-05 22:47:36] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522241627704053333,"note":"Value kept but may cause issues"} 
[2026-10-05 22:47:36] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-10-05 22:47:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,161,85,24,241,157,16,4,173,45,64,204,3,39,10,66,21,37,126,240,117,227,12,218,1,113,205,78,144,239,50,2,5,51,59,236],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1705050318,"validated":0}]} 
[2026-10-05 22:47:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216543489331036160,"timestamp_seconds":216543489331036.16,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 22:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:47: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-10-05 22:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552406016001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552406016001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:47:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:47:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552406016001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":208131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:47:36] local.INFO: GPS data processed {"connection_id":208131,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:47:36] local.INFO: Acknowledgment sent {"connection_id":208131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:48:07] local.INFO: TCP Data received {"connection_id":208131,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:48:07] local.INFO: Processing buffer {"connection_id":208131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:48:07] local.INFO: Packet analysis {"connection_id":208131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d11"} 
[2026-10-05 22:48:07] local.INFO: Extracted packet for processing {"connection_id":208131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d11"} 
[2026-10-05 22:48:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552406016001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791220637000,"timestamp_ms":1791220637000,"timestamp_seconds":1791220637,"priority":1,"record_length":96,"hex_timestamp":"000001a10d11dd48"} 
[2026-10-05 22:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-05 22:48:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 22:48:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-10-05 22:48:07] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-1360359761291500224,"note":"Value kept but may cause issues"} 
[2026-10-05 22:48:07] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3431989251,"note":"Value kept but may cause issues"} 
[2026-10-05 22:48:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705050318,"corrected_to":0} 
[2026-10-05 22:48:07] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2550214012,"note":"Value kept but may cause issues"} 
[2026-10-05 22:48:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154021,"note":"Value kept but may cause issues"} 
[2026-10-05 22:48:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2680609348467470043,"note":"Value kept but may cause issues"} 
[2026-10-05 22:48:07] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522241627704053333,"note":"Value kept but may cause issues"} 
[2026-10-05 22:48:07] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-10-05 22:48:07] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,161,85,24,241,157,16,4,173,45,64,204,3,39,10,66,21,37,126,240,117,227,12,218,1,113,205,78,144,239,50,2,5,51,59,236],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1705050318,"validated":0}]} 
[2026-10-05 22:48:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216543489331036160,"timestamp_seconds":216543489331036.16,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 22:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":208131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":208131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":208131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:48:07] 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-10-05 22:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552406016001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552406016001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:48:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:48:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552406016001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":208131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:48:07] local.INFO: GPS data processed {"connection_id":208131,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:48:07] local.INFO: Acknowledgment sent {"connection_id":208131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:48:30] local.INFO: TCP Data received {"connection_id":208132,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:48:30] local.INFO: Processing buffer {"connection_id":208132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:48:30] local.INFO: IMEI packet received {"connection_id":208132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":208132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:48:35] local.INFO: TCP Data received {"connection_id":208132,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:48:35] local.INFO: Processing buffer {"connection_id":208132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:48:35] local.INFO: IMEI packet received {"connection_id":208132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":208132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:48:36] local.INFO: TCP Data received {"connection_id":208132,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:48:36] local.INFO: Processing buffer {"connection_id":208132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:48:36] local.INFO: Packet analysis {"connection_id":208132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d11"} 
[2026-10-05 22:48:36] local.INFO: Extracted packet for processing {"connection_id":208132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d11"} 
[2026-10-05 22:48:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552406016001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791220637000,"timestamp_ms":1791220637000,"timestamp_seconds":1791220637,"priority":1,"record_length":96,"hex_timestamp":"000001a10d11dd48"} 
[2026-10-05 22:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-05 22:48:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 22:48:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-10-05 22:48:36] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-1360359761291500224,"note":"Value kept but may cause issues"} 
[2026-10-05 22:48:36] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3431989251,"note":"Value kept but may cause issues"} 
[2026-10-05 22:48:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705050318,"corrected_to":0} 
[2026-10-05 22:48:36] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2550214012,"note":"Value kept but may cause issues"} 
[2026-10-05 22:48:36] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154021,"note":"Value kept but may cause issues"} 
[2026-10-05 22:48:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2680609348467470043,"note":"Value kept but may cause issues"} 
[2026-10-05 22:48:36] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522241627704053333,"note":"Value kept but may cause issues"} 
[2026-10-05 22:48:36] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-10-05 22:48:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,161,85,24,241,157,16,4,173,45,64,204,3,39,10,66,21,37,126,240,117,227,12,218,1,113,205,78,144,239,50,2,5,51,59,236],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1705050318,"validated":0}]} 
[2026-10-05 22:48:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216543489331036160,"timestamp_seconds":216543489331036.16,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 22:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:48: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-10-05 22:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552406016001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552406016001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:48:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:48:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552406016001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":208132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970414,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:48:36] local.INFO: GPS data processed {"connection_id":208132,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:48:36] local.INFO: Acknowledgment sent {"connection_id":208132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:49:07] local.INFO: TCP Data received {"connection_id":208132,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:49:07] local.INFO: Processing buffer {"connection_id":208132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:49:07] local.INFO: Packet analysis {"connection_id":208132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d11"} 
[2026-10-05 22:49:07] local.INFO: Extracted packet for processing {"connection_id":208132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d11"} 
[2026-10-05 22:49:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552406016001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791220637000,"timestamp_ms":1791220637000,"timestamp_seconds":1791220637,"priority":1,"record_length":96,"hex_timestamp":"000001a10d11dd48"} 
[2026-10-05 22:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-05 22:49:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 22:49:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-10-05 22:49:07] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-1360359761291500224,"note":"Value kept but may cause issues"} 
[2026-10-05 22:49:07] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3431989251,"note":"Value kept but may cause issues"} 
[2026-10-05 22:49:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705050318,"corrected_to":0} 
[2026-10-05 22:49:07] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2550214012,"note":"Value kept but may cause issues"} 
[2026-10-05 22:49:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154021,"note":"Value kept but may cause issues"} 
[2026-10-05 22:49:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2680609348467470043,"note":"Value kept but may cause issues"} 
[2026-10-05 22:49:07] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522241627704053333,"note":"Value kept but may cause issues"} 
[2026-10-05 22:49:07] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-10-05 22:49:07] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,161,85,24,241,157,16,4,173,45,64,204,3,39,10,66,21,37,126,240,117,227,12,218,1,113,205,78,144,239,50,2,5,51,59,236],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1705050318,"validated":0}]} 
[2026-10-05 22:49:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216543489331036160,"timestamp_seconds":216543489331036.16,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 22:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":208132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":208132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":208132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:49:07] 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-10-05 22:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552406016001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552406016001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:49:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:49:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552406016001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":208132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:49:07] local.INFO: GPS data processed {"connection_id":208132,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:49:07] local.INFO: Acknowledgment sent {"connection_id":208132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:49:30] local.INFO: TCP Data received {"connection_id":205034,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205034,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:49:30] local.INFO: Processing buffer {"connection_id":205034,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:49:30] local.INFO: IMEI packet received {"connection_id":205034,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":205034,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:49:35] local.INFO: TCP Data received {"connection_id":205034,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205034,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:49:35] local.INFO: Processing buffer {"connection_id":205034,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:49:35] local.INFO: IMEI packet received {"connection_id":205034,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":205034,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:49:36] local.INFO: TCP Data received {"connection_id":205034,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:49:36] local.INFO: Processing buffer {"connection_id":205034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:49:36] local.INFO: Packet analysis {"connection_id":205034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d11"} 
[2026-10-05 22:49:36] local.INFO: Extracted packet for processing {"connection_id":205034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d11"} 
[2026-10-05 22:49:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552406016001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791220637000,"timestamp_ms":1791220637000,"timestamp_seconds":1791220637,"priority":1,"record_length":96,"hex_timestamp":"000001a10d11dd48"} 
[2026-10-05 22:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-05 22:49:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 22:49:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-10-05 22:49:36] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-1360359761291500224,"note":"Value kept but may cause issues"} 
[2026-10-05 22:49:36] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3431989251,"note":"Value kept but may cause issues"} 
[2026-10-05 22:49:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705050318,"corrected_to":0} 
[2026-10-05 22:49:36] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2550214012,"note":"Value kept but may cause issues"} 
[2026-10-05 22:49:36] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154021,"note":"Value kept but may cause issues"} 
[2026-10-05 22:49:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2680609348467470043,"note":"Value kept but may cause issues"} 
[2026-10-05 22:49:36] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522241627704053333,"note":"Value kept but may cause issues"} 
[2026-10-05 22:49:36] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-10-05 22:49:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,161,85,24,241,157,16,4,173,45,64,204,3,39,10,66,21,37,126,240,117,227,12,218,1,113,205,78,144,239,50,2,5,51,59,236],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1705050318,"validated":0}]} 
[2026-10-05 22:49:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216543489331036160,"timestamp_seconds":216543489331036.16,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 22:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:49: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-10-05 22:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552406016001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552406016001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:49:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:49:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552406016001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":205034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970416,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:49:36] local.INFO: GPS data processed {"connection_id":205034,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:49:36] local.INFO: Acknowledgment sent {"connection_id":205034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:49:57] local.INFO: TCP Data received {"connection_id":205035,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:49:57] local.INFO: Processing buffer {"connection_id":205035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:49:57] local.INFO: IMEI packet received {"connection_id":205035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 22:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":205035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:50:04] local.INFO: TCP Data received {"connection_id":205155,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:50:04] local.INFO: Processing buffer {"connection_id":205155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:50:04] local.INFO: IMEI packet received {"connection_id":205155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":205155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:50:07] local.INFO: TCP Data received {"connection_id":205034,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:50:07] local.INFO: Processing buffer {"connection_id":205034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:50:07] local.INFO: Packet analysis {"connection_id":205034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d11"} 
[2026-10-05 22:50:07] local.INFO: Extracted packet for processing {"connection_id":205034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d11"} 
[2026-10-05 22:50:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:50: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-10-05 22:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552406016001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791220637000,"timestamp_ms":1791220637000,"timestamp_seconds":1791220637,"priority":1,"record_length":96,"hex_timestamp":"000001a10d11dd48"} 
[2026-10-05 22:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-05 22:50:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 22:50:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-10-05 22:50:07] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-1360359761291500224,"note":"Value kept but may cause issues"} 
[2026-10-05 22:50:07] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3431989251,"note":"Value kept but may cause issues"} 
[2026-10-05 22:50:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705050318,"corrected_to":0} 
[2026-10-05 22:50:07] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2550214012,"note":"Value kept but may cause issues"} 
[2026-10-05 22:50:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154021,"note":"Value kept but may cause issues"} 
[2026-10-05 22:50:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2680609348467470043,"note":"Value kept but may cause issues"} 
[2026-10-05 22:50:07] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522241627704053333,"note":"Value kept but may cause issues"} 
[2026-10-05 22:50:07] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-10-05 22:50:07] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,161,85,24,241,157,16,4,173,45,64,204,3,39,10,66,21,37,126,240,117,227,12,218,1,113,205,78,144,239,50,2,5,51,59,236],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1705050318,"validated":0}]} 
[2026-10-05 22:50:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216543489331036160,"timestamp_seconds":216543489331036.16,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 22:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:50:07] 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-10-05 22:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552406016001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552406016001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:50:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:50:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552406016001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":205034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:50:08] local.INFO: GPS data processed {"connection_id":205034,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:50:08] local.INFO: Acknowledgment sent {"connection_id":205034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:50:11] local.INFO: TCP Data received {"connection_id":205155,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10d121010012d77aa0005f277b0000a016223..."} 
[2026-10-05 22:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d121010012d77aa0005f277b0000a016223..."} 
[2026-10-05 22:50:11] local.INFO: Processing buffer {"connection_id":205155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d121010012d77aa0005f277b0000a016223..."} 
[2026-10-05 22:50:11] local.INFO: Packet analysis {"connection_id":205155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d12"} 
[2026-10-05 22:50:11] local.INFO: Extracted packet for processing {"connection_id":205155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d12"} 
[2026-10-05 22:50:11] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99776432,"longitude_deg":76.2817024,"latitude_deg":9.9776432,"altitude":10,"angle":354,"satellites":35,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f277b0","is_valid_coordinates":true} 
[2026-10-05 22:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552409344001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2245391722479616,"note":"Value kept but may cause issues"} 
[2026-10-05 22:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462097002496,"note":"Value kept but may cause issues"} 
[2026-10-05 22:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791220650000,"timestamp_ms":1791220650000,"timestamp_seconds":1791220650,"priority":1,"record_length":96,"hex_timestamp":"000001a10d121010"} 
[2026-10-05 22:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 22:50:11] 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-10-05 22:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:50:11] 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-10-05 22:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552409344001,"66":25908,"160":206,"87":13568,"24":0,"16":2245391722479616,"45":8622704462097002496},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552409344001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:50:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:50:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2245391722479616,"km_value":2245391722479.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462097002496,"description":"Unknown IO ID 45"} 
[2026-10-05 22:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552409344001,"power":25908,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622704462097002496}} 
[2026-10-05 22:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":205155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:50:11] local.INFO: GPS data processed {"connection_id":205155,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:50:11] local.INFO: Acknowledgment sent {"connection_id":205155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:50:30] local.INFO: TCP Data received {"connection_id":205036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:50:30] local.INFO: Processing buffer {"connection_id":205036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:50:30] local.INFO: IMEI packet received {"connection_id":205036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":205036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:50:33] local.INFO: TCP Data received {"connection_id":205037,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:50:33] local.INFO: Processing buffer {"connection_id":205037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:50:33] local.INFO: IMEI packet received {"connection_id":205037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 22:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":205037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:50:35] local.INFO: TCP Data received {"connection_id":205036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:50:35] local.INFO: Processing buffer {"connection_id":205036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:50:35] local.INFO: IMEI packet received {"connection_id":205036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":205036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:50:36] local.INFO: TCP Data received {"connection_id":205036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:50:36] local.INFO: Processing buffer {"connection_id":205036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:50:36] local.INFO: Packet analysis {"connection_id":205036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d11"} 
[2026-10-05 22:50:36] local.INFO: Extracted packet for processing {"connection_id":205036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d11"} 
[2026-10-05 22:50:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552406016001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791220637000,"timestamp_ms":1791220637000,"timestamp_seconds":1791220637,"priority":1,"record_length":96,"hex_timestamp":"000001a10d11dd48"} 
[2026-10-05 22:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":9,"data_length":795,"current_offset":136} 
[2026-10-05 22:50:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 22:50:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-10-05 22:50:36] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-1360359761291500224,"note":"Value kept but may cause issues"} 
[2026-10-05 22:50:36] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3431989251,"note":"Value kept but may cause issues"} 
[2026-10-05 22:50:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705050318,"corrected_to":0} 
[2026-10-05 22:50:36] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2550214012,"note":"Value kept but may cause issues"} 
[2026-10-05 22:50:36] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154021,"note":"Value kept but may cause issues"} 
[2026-10-05 22:50:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2680609348467470043,"note":"Value kept but may cause issues"} 
[2026-10-05 22:50:36] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522241627704053333,"note":"Value kept but may cause issues"} 
[2026-10-05 22:50:36] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-10-05 22:50:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,161,85,24,241,157,16,4,173,45,64,204,3,39,10,66,21,37,126,240,117,227,12,218,1,113,205,78,144,239,50,2,5,51,59,236],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1705050318,"validated":0}]} 
[2026-10-05 22:50:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216543489331036160,"timestamp_seconds":216543489331036.16,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 22:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:50: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-10-05 22:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552406016001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552406016001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:50:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:50:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552406016001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":205036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:50:36] local.INFO: GPS data processed {"connection_id":205036,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:50:36] local.INFO: Acknowledgment sent {"connection_id":205036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:51:07] local.INFO: TCP Data received {"connection_id":205036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:51:07] local.INFO: Processing buffer {"connection_id":205036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:51:07] local.INFO: Packet analysis {"connection_id":205036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d11"} 
[2026-10-05 22:51:07] local.INFO: Extracted packet for processing {"connection_id":205036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d11"} 
[2026-10-05 22:51:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552406016001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791220637000,"timestamp_ms":1791220637000,"timestamp_seconds":1791220637,"priority":1,"record_length":96,"hex_timestamp":"000001a10d11dd48"} 
[2026-10-05 22:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-05 22:51:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 22:51:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-10-05 22:51:07] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-1360359761291500224,"note":"Value kept but may cause issues"} 
[2026-10-05 22:51:07] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3431989251,"note":"Value kept but may cause issues"} 
[2026-10-05 22:51:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705050318,"corrected_to":0} 
[2026-10-05 22:51:07] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2550214012,"note":"Value kept but may cause issues"} 
[2026-10-05 22:51:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154021,"note":"Value kept but may cause issues"} 
[2026-10-05 22:51:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2680609348467470043,"note":"Value kept but may cause issues"} 
[2026-10-05 22:51:07] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522241627704053333,"note":"Value kept but may cause issues"} 
[2026-10-05 22:51:07] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-10-05 22:51:07] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,161,85,24,241,157,16,4,173,45,64,204,3,39,10,66,21,37,126,240,117,227,12,218,1,113,205,78,144,239,50,2,5,51,59,236],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1705050318,"validated":0}]} 
[2026-10-05 22:51:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216543489331036160,"timestamp_seconds":216543489331036.16,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 22:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:51:07] 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-10-05 22:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552406016001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552406016001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:51:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:51:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552406016001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":205036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:51:07] local.INFO: GPS data processed {"connection_id":205036,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:51:07] local.INFO: Acknowledgment sent {"connection_id":205036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:51:29] local.INFO: TCP Data received {"connection_id":206537,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:51:29] local.INFO: Processing buffer {"connection_id":206537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:51:29] local.INFO: IMEI packet received {"connection_id":206537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":206537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:51:30] local.INFO: TCP Data received {"connection_id":205156,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:51:30] local.INFO: Processing buffer {"connection_id":205156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:51:30] local.INFO: IMEI packet received {"connection_id":205156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":205156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:51:35] local.INFO: TCP Data received {"connection_id":205156,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:51:35] local.INFO: Processing buffer {"connection_id":205156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:51:35] local.INFO: IMEI packet received {"connection_id":205156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":205156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:51:36] local.INFO: TCP Data received {"connection_id":205156,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:51:36] local.INFO: Processing buffer {"connection_id":205156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:51:36] local.INFO: Packet analysis {"connection_id":205156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d11"} 
[2026-10-05 22:51:36] local.INFO: Extracted packet for processing {"connection_id":205156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d11"} 
[2026-10-05 22:51:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552406016001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791220637000,"timestamp_ms":1791220637000,"timestamp_seconds":1791220637,"priority":1,"record_length":96,"hex_timestamp":"000001a10d11dd48"} 
[2026-10-05 22:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-05 22:51:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 22:51:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-10-05 22:51:36] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-1360359761291500224,"note":"Value kept but may cause issues"} 
[2026-10-05 22:51:36] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3431989251,"note":"Value kept but may cause issues"} 
[2026-10-05 22:51:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705050318,"corrected_to":0} 
[2026-10-05 22:51:36] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2550214012,"note":"Value kept but may cause issues"} 
[2026-10-05 22:51:36] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154021,"note":"Value kept but may cause issues"} 
[2026-10-05 22:51:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2680609348467470043,"note":"Value kept but may cause issues"} 
[2026-10-05 22:51:36] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522241627704053333,"note":"Value kept but may cause issues"} 
[2026-10-05 22:51:36] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-10-05 22:51:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,161,85,24,241,157,16,4,173,45,64,204,3,39,10,66,21,37,126,240,117,227,12,218,1,113,205,78,144,239,50,2,5,51,59,236],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1705050318,"validated":0}]} 
[2026-10-05 22:51:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216543489331036160,"timestamp_seconds":216543489331036.16,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 22:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:51: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-10-05 22:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552406016001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552406016001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:51:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:51:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552406016001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":205156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:51:36] local.INFO: GPS data processed {"connection_id":205156,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:51:36] local.INFO: Acknowledgment sent {"connection_id":205156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:51:59] local.INFO: TCP Data received {"connection_id":205039,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:51:59] local.INFO: Processing buffer {"connection_id":205039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:51:59] local.INFO: IMEI packet received {"connection_id":205039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":205039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:52:04] local.INFO: TCP Data received {"connection_id":205039,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:52:04] local.INFO: Processing buffer {"connection_id":205039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:52:04] local.INFO: IMEI packet received {"connection_id":205039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":205039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:52:05] local.INFO: TCP Data received {"connection_id":205039,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10d121010012d77aa0005f277b0000a016223..."} 
[2026-10-05 22:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d121010012d77aa0005f277b0000a016223..."} 
[2026-10-05 22:52:05] local.INFO: Processing buffer {"connection_id":205039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d121010012d77aa0005f277b0000a016223..."} 
[2026-10-05 22:52:05] local.INFO: Packet analysis {"connection_id":205039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d12"} 
[2026-10-05 22:52:05] local.INFO: Extracted packet for processing {"connection_id":205039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d12"} 
[2026-10-05 22:52:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99776432,"longitude_deg":76.2817024,"latitude_deg":9.9776432,"altitude":10,"angle":354,"satellites":35,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f277b0","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552409344001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2245391722479616,"note":"Value kept but may cause issues"} 
[2026-10-05 22:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462097002496,"note":"Value kept but may cause issues"} 
[2026-10-05 22:52: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-10-05 22:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791220650000,"timestamp_ms":1791220650000,"timestamp_seconds":1791220650,"priority":1,"record_length":96,"hex_timestamp":"000001a10d121010"} 
[2026-10-05 22:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:52: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-10-05 22: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 22:52:05] 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-10-05 22: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-10-05 22:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":205039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":205039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":205039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:52: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-10-05 22:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552409344001,"66":25908,"160":206,"87":13568,"24":0,"16":2245391722479616,"45":8622704462097002496},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552409344001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:52:05] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:52:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2245391722479616,"km_value":2245391722479.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462097002496,"description":"Unknown IO ID 45"} 
[2026-10-05 22:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552409344001,"power":25908,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622704462097002496}} 
[2026-10-05 22:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":205039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:52:05] local.INFO: GPS data processed {"connection_id":205039,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:52:05] local.INFO: Acknowledgment sent {"connection_id":205039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:52:08] local.INFO: TCP Data received {"connection_id":205156,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:52:08] local.INFO: Processing buffer {"connection_id":205156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d11dd48012d7c254005dacc90000c015129..."} 
[2026-10-05 22:52:08] local.INFO: Packet analysis {"connection_id":205156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d11"} 
[2026-10-05 22:52:08] local.INFO: Extracted packet for processing {"connection_id":205156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d11"} 
[2026-10-05 22:52:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552406016001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791220637000,"timestamp_ms":1791220637000,"timestamp_seconds":1791220637,"priority":1,"record_length":96,"hex_timestamp":"000001a10d11dd48"} 
[2026-10-05 22:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:52: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-10-05 22: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-05 22:52:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-10-05 22:52:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-10-05 22:52:08] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-1360359761291500224,"note":"Value kept but may cause issues"} 
[2026-10-05 22:52:08] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3431989251,"note":"Value kept but may cause issues"} 
[2026-10-05 22:52:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705050318,"corrected_to":0} 
[2026-10-05 22:52:08] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2550214012,"note":"Value kept but may cause issues"} 
[2026-10-05 22:52:08] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154021,"note":"Value kept but may cause issues"} 
[2026-10-05 22:52:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2680609348467470043,"note":"Value kept but may cause issues"} 
[2026-10-05 22:52:08] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522241627704053333,"note":"Value kept but may cause issues"} 
[2026-10-05 22:52:08] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-10-05 22:52:08] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,161,85,24,241,157,16,4,173,45,64,204,3,39,10,66,21,37,126,240,117,227,12,218,1,113,205,78,144,239,50,2,5,51,59,236],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1705050318,"validated":0}]} 
[2026-10-05 22:52:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216543489331036160,"timestamp_seconds":216543489331036.16,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-05 22:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:52:08] 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-10-05 22:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552406016001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552406016001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:52:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:52:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552406016001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":205156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970423,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:52:08] local.INFO: GPS data processed {"connection_id":205156,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:52:08] local.INFO: Acknowledgment sent {"connection_id":205156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:52:10] local.INFO: TCP Data received {"connection_id":205039,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10d121010012d77aa0005f277b0000a016223..."} 
[2026-10-05 22:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d121010012d77aa0005f277b0000a016223..."} 
[2026-10-05 22:52:10] local.INFO: Processing buffer {"connection_id":205039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d121010012d77aa0005f277b0000a016223..."} 
[2026-10-05 22:52:10] local.INFO: Packet analysis {"connection_id":205039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d12"} 
[2026-10-05 22:52:10] local.INFO: Extracted packet for processing {"connection_id":205039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d12"} 
[2026-10-05 22:52:10] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99776432,"longitude_deg":76.2817024,"latitude_deg":9.9776432,"altitude":10,"angle":354,"satellites":35,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f277b0","is_valid_coordinates":true} 
[2026-10-05 22:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552409344001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2245391722479616,"note":"Value kept but may cause issues"} 
[2026-10-05 22:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462097002496,"note":"Value kept but may cause issues"} 
[2026-10-05 22:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791220650000,"timestamp_ms":1791220650000,"timestamp_seconds":1791220650,"priority":1,"record_length":96,"hex_timestamp":"000001a10d121010"} 
[2026-10-05 22:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:52: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-10-05 22:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 22:52:10] 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-10-05 22:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":205039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":205039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":205039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:52:10] 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-10-05 22:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552409344001,"66":25908,"160":206,"87":13568,"24":0,"16":2245391722479616,"45":8622704462097002496},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552409344001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:52:10] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:52:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2245391722479616,"km_value":2245391722479.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462097002496,"description":"Unknown IO ID 45"} 
[2026-10-05 22:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552409344001,"power":25908,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622704462097002496}} 
[2026-10-05 22:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":205039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:52:10] local.INFO: GPS data processed {"connection_id":205039,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:52:10] local.INFO: Acknowledgment sent {"connection_id":205039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:52:30] local.INFO: TCP Data received {"connection_id":206538,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206538,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:52:30] local.INFO: Processing buffer {"connection_id":206538,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:52:30] local.INFO: IMEI packet received {"connection_id":206538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":206538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:52:35] local.INFO: TCP Data received {"connection_id":206538,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206538,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:52:35] local.INFO: Processing buffer {"connection_id":206538,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:52:35] local.INFO: IMEI packet received {"connection_id":206538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":206538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:52:36] local.INFO: TCP Data received {"connection_id":206538,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:52:36] local.INFO: Processing buffer {"connection_id":206538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:52:36] local.INFO: Packet analysis {"connection_id":206538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:52:36] local.INFO: Extracted packet for processing {"connection_id":206538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:52:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552483072001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791220938000,"timestamp_ms":1791220938000,"timestamp_seconds":1791220938,"priority":1,"record_length":96,"hex_timestamp":"000001a10d167510"} 
[2026-10-05 22:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 22:52:36] 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-10-05 22:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:52:36] 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-10-05 22:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552483072001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552483072001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:52:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:52:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552483072001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":206538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970425,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:52:36] local.INFO: GPS data processed {"connection_id":206538,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:52:36] local.INFO: Acknowledgment sent {"connection_id":206538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:52:54] local.INFO: TCP Data received {"connection_id":205157,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:52:54] local.INFO: Processing buffer {"connection_id":205157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:52:54] local.INFO: IMEI packet received {"connection_id":205157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":205157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:52:58] local.INFO: TCP Data received {"connection_id":205157,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:52:58] local.INFO: Processing buffer {"connection_id":205157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:52:58] local.INFO: IMEI packet received {"connection_id":205157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":205157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:53:07] local.INFO: TCP Data received {"connection_id":206538,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:53:07] local.INFO: Processing buffer {"connection_id":206538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:53:07] local.INFO: Packet analysis {"connection_id":206538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:53:07] local.INFO: Extracted packet for processing {"connection_id":206538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:53:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552483072001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791220938000,"timestamp_ms":1791220938000,"timestamp_seconds":1791220938,"priority":1,"record_length":96,"hex_timestamp":"000001a10d167510"} 
[2026-10-05 22:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 22:53: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-10-05 22:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":206538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":206538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":206538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:53:07] 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-10-05 22:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552483072001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552483072001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:53:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:53:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552483072001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":206538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:53:07] local.INFO: GPS data processed {"connection_id":206538,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:53:07] local.INFO: Acknowledgment sent {"connection_id":206538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:53:16] local.INFO: TCP Data received {"connection_id":205157,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10d121010012d77aa0005f277b0000a016223..."} 
[2026-10-05 22:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d121010012d77aa0005f277b0000a016223..."} 
[2026-10-05 22:53:16] local.INFO: Processing buffer {"connection_id":205157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d121010012d77aa0005f277b0000a016223..."} 
[2026-10-05 22:53:16] local.INFO: Packet analysis {"connection_id":205157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d12"} 
[2026-10-05 22:53:16] local.INFO: Extracted packet for processing {"connection_id":205157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d12"} 
[2026-10-05 22:53:16] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99776432,"longitude_deg":76.2817024,"latitude_deg":9.9776432,"altitude":10,"angle":354,"satellites":35,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f277b0","is_valid_coordinates":true} 
[2026-10-05 22:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552409344001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2245391722479616,"note":"Value kept but may cause issues"} 
[2026-10-05 22:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462097002496,"note":"Value kept but may cause issues"} 
[2026-10-05 22:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1791220650000,"timestamp_ms":1791220650000,"timestamp_seconds":1791220650,"priority":1,"record_length":96,"hex_timestamp":"000001a10d121010"} 
[2026-10-05 22:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:53: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-10-05 22:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-05 22:53:16] 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-10-05 22:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":205157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":205157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":205157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:53:16] 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-10-05 22:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552409344001,"66":25908,"160":206,"87":13568,"24":0,"16":2245391722479616,"45":8622704462097002496},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552409344001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:53:16] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:53:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2245391722479616,"km_value":2245391722479.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462097002496,"description":"Unknown IO ID 45"} 
[2026-10-05 22:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552409344001,"power":25908,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622704462097002496}} 
[2026-10-05 22:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":205157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:53:16] local.INFO: GPS data processed {"connection_id":205157,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:53:16] local.INFO: Acknowledgment sent {"connection_id":205157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:53:21] local.INFO: TCP Data received {"connection_id":205157,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10d16a7d8012d77aa0005f277b0000a016225..."} 
[2026-10-05 22:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d16a7d8012d77aa0005f277b0000a016225..."} 
[2026-10-05 22:53:21] local.INFO: Processing buffer {"connection_id":205157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d16a7d8012d77aa0005f277b0000a016225..."} 
[2026-10-05 22:53:21] local.INFO: Packet analysis {"connection_id":205157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:53:21] local.INFO: Extracted packet for processing {"connection_id":205157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:53:21] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99776432,"longitude_deg":76.2817024,"latitude_deg":9.9776432,"altitude":10,"angle":354,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f277b0","is_valid_coordinates":true} 
[2026-10-05 22:53: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-10-05 22:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552486400001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2245391722479616,"note":"Value kept but may cause issues"} 
[2026-10-05 22:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462097002496,"note":"Value kept but may cause issues"} 
[2026-10-05 22:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1791220951000,"timestamp_ms":1791220951000,"timestamp_seconds":1791220951,"priority":1,"record_length":96,"hex_timestamp":"000001a10d16a7d8"} 
[2026-10-05 22:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:53: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 22:53:21] 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-10-05 22:53: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-10-05 22:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":205157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":205157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":205157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:53:21] 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-10-05 22:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552486400001,"66":25908,"160":206,"87":13568,"24":0,"16":2245391722479616,"45":8622704462097002496},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552486400001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:53:21] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:53:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2245391722479616,"km_value":2245391722479.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462097002496,"description":"Unknown IO ID 45"} 
[2026-10-05 22:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552486400001,"power":25908,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622704462097002496}} 
[2026-10-05 22:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":205157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:53:21] local.INFO: GPS data processed {"connection_id":205157,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:53:21] local.INFO: Acknowledgment sent {"connection_id":205157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:53:30] local.INFO: TCP Data received {"connection_id":205158,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:53:30] local.INFO: Processing buffer {"connection_id":205158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:53:30] local.INFO: IMEI packet received {"connection_id":205158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":205158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:53:35] local.INFO: TCP Data received {"connection_id":205158,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:53:35] local.INFO: Processing buffer {"connection_id":205158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:53:35] local.INFO: IMEI packet received {"connection_id":205158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":205158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:53:36] local.INFO: TCP Data received {"connection_id":205158,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:53:36] local.INFO: Processing buffer {"connection_id":205158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:53:36] local.INFO: Packet analysis {"connection_id":205158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:53:36] local.INFO: Extracted packet for processing {"connection_id":205158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:53:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552483072001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791220938000,"timestamp_ms":1791220938000,"timestamp_seconds":1791220938,"priority":1,"record_length":96,"hex_timestamp":"000001a10d167510"} 
[2026-10-05 22:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 22:53:36] 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-10-05 22:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552483072001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552483072001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:53:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:53:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552483072001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":205158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:53:36] local.INFO: GPS data processed {"connection_id":205158,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:53:36] local.INFO: Acknowledgment sent {"connection_id":205158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:54:07] local.INFO: TCP Data received {"connection_id":208135,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:54:07] local.INFO: Processing buffer {"connection_id":208135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:54:07] local.INFO: IMEI packet received {"connection_id":208135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":208135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:54:08] local.INFO: TCP Data received {"connection_id":205158,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:54:08] local.INFO: Processing buffer {"connection_id":205158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:54:08] local.INFO: Packet analysis {"connection_id":205158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:54:08] local.INFO: Extracted packet for processing {"connection_id":205158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:54:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552483072001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791220938000,"timestamp_ms":1791220938000,"timestamp_seconds":1791220938,"priority":1,"record_length":96,"hex_timestamp":"000001a10d167510"} 
[2026-10-05 22:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:54: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-10-05 22:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 22:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552483072001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552483072001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:54:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:54:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552483072001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":205158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:54:08] local.INFO: GPS data processed {"connection_id":205158,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:54:08] local.INFO: Acknowledgment sent {"connection_id":205158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:54:09] local.INFO: TCP Data received {"connection_id":208135,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:54:09] local.INFO: Processing buffer {"connection_id":208135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:54:09] local.INFO: IMEI packet received {"connection_id":208135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":208135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:54:20] local.INFO: TCP Data received {"connection_id":208135,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:54:20] local.INFO: Processing buffer {"connection_id":208135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:54:20] local.INFO: IMEI packet received {"connection_id":208135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":208135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:54:30] local.INFO: TCP Data received {"connection_id":205159,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:54:30] local.INFO: Processing buffer {"connection_id":205159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:54:30] local.INFO: IMEI packet received {"connection_id":205159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":205159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:54:33] local.INFO: TCP Data received {"connection_id":208135,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10d16a7d8012d77aa0005f277b0000a016225..."} 
[2026-10-05 22:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d16a7d8012d77aa0005f277b0000a016225..."} 
[2026-10-05 22:54:33] local.INFO: Processing buffer {"connection_id":208135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d16a7d8012d77aa0005f277b0000a016225..."} 
[2026-10-05 22:54:33] local.INFO: Packet analysis {"connection_id":208135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:54:33] local.INFO: Extracted packet for processing {"connection_id":208135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:54:33] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99776432,"longitude_deg":76.2817024,"latitude_deg":9.9776432,"altitude":10,"angle":354,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f277b0","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552486400001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2245391722479616,"note":"Value kept but may cause issues"} 
[2026-10-05 22:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462097002496,"note":"Value kept but may cause issues"} 
[2026-10-05 22:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791220951000,"timestamp_ms":1791220951000,"timestamp_seconds":1791220951,"priority":1,"record_length":96,"hex_timestamp":"000001a10d16a7d8"} 
[2026-10-05 22:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:54: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-10-05 22: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 22:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22: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-10-05 22:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":208135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":208135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":208135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552486400001,"66":25908,"160":206,"87":13568,"24":0,"16":2245391722479616,"45":8622704462097002496},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552486400001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:54:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:54:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2245391722479616,"km_value":2245391722479.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462097002496,"description":"Unknown IO ID 45"} 
[2026-10-05 22:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552486400001,"power":25908,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622704462097002496}} 
[2026-10-05 22:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":208135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:54:33] local.INFO: GPS data processed {"connection_id":208135,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:54:33] local.INFO: Acknowledgment sent {"connection_id":208135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:54:35] local.INFO: TCP Data received {"connection_id":205159,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:54:35] local.INFO: Processing buffer {"connection_id":205159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:54:35] local.INFO: IMEI packet received {"connection_id":205159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":205159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:54:36] local.INFO: TCP Data received {"connection_id":208135,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10d16a7d8012d77aa0005f277b0000a016225..."} 
[2026-10-05 22:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d16a7d8012d77aa0005f277b0000a016225..."} 
[2026-10-05 22:54:36] local.INFO: Processing buffer {"connection_id":208135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d16a7d8012d77aa0005f277b0000a016225..."} 
[2026-10-05 22:54:36] local.INFO: Packet analysis {"connection_id":208135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:54:36] local.INFO: Extracted packet for processing {"connection_id":208135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:54:36] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99776432,"longitude_deg":76.2817024,"latitude_deg":9.9776432,"altitude":10,"angle":354,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f277b0","is_valid_coordinates":true} 
[2026-10-05 22:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552486400001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2245391722479616,"note":"Value kept but may cause issues"} 
[2026-10-05 22:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462097002496,"note":"Value kept but may cause issues"} 
[2026-10-05 22:54: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-10-05 22:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791220951000,"timestamp_ms":1791220951000,"timestamp_seconds":1791220951,"priority":1,"record_length":96,"hex_timestamp":"000001a10d16a7d8"} 
[2026-10-05 22:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 22:54: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-10-05 22:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552486400001,"66":25908,"160":206,"87":13568,"24":0,"16":2245391722479616,"45":8622704462097002496},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552486400001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:54:36] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:54:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2245391722479616,"km_value":2245391722479.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462097002496,"description":"Unknown IO ID 45"} 
[2026-10-05 22:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552486400001,"power":25908,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622704462097002496}} 
[2026-10-05 22:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":208135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:54:36] local.INFO: GPS data processed {"connection_id":208135,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:54:36] local.INFO: Acknowledgment sent {"connection_id":208135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:54:36] local.INFO: TCP Data received {"connection_id":205159,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:54:36] local.INFO: Processing buffer {"connection_id":205159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:54:36] local.INFO: Packet analysis {"connection_id":205159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:54:36] local.INFO: Extracted packet for processing {"connection_id":205159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:54:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552483072001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791220938000,"timestamp_ms":1791220938000,"timestamp_seconds":1791220938,"priority":1,"record_length":96,"hex_timestamp":"000001a10d167510"} 
[2026-10-05 22:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 22:54:36] 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-10-05 22:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552483072001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552483072001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:54:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:54:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552483072001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":205159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970433,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:54:36] local.INFO: GPS data processed {"connection_id":205159,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:54:36] local.INFO: Acknowledgment sent {"connection_id":205159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:55:04] local.INFO: TCP Data received {"connection_id":208136,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:55:04] local.INFO: Processing buffer {"connection_id":208136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:55:04] local.INFO: IMEI packet received {"connection_id":208136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":208136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:55:07] local.INFO: TCP Data received {"connection_id":205159,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:55:07] local.INFO: Processing buffer {"connection_id":205159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:55:07] local.INFO: Packet analysis {"connection_id":205159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:55:07] local.INFO: Extracted packet for processing {"connection_id":205159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:55:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552483072001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791220938000,"timestamp_ms":1791220938000,"timestamp_seconds":1791220938,"priority":1,"record_length":96,"hex_timestamp":"000001a10d167510"} 
[2026-10-05 22:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 22:55: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-10-05 22:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552483072001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552483072001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:55:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:55:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552483072001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":205159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:55:07] local.INFO: GPS data processed {"connection_id":205159,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:55:07] local.INFO: Acknowledgment sent {"connection_id":205159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:55:11] local.INFO: TCP Data received {"connection_id":208136,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:55:11] local.INFO: Processing buffer {"connection_id":208136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:55:11] local.INFO: IMEI packet received {"connection_id":208136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":208136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:55:12] local.INFO: TCP Data received {"connection_id":208136,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10d16a7d8012d77aa0005f277b0000a016225..."} 
[2026-10-05 22:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d16a7d8012d77aa0005f277b0000a016225..."} 
[2026-10-05 22:55:12] local.INFO: Processing buffer {"connection_id":208136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d16a7d8012d77aa0005f277b0000a016225..."} 
[2026-10-05 22:55:12] local.INFO: Packet analysis {"connection_id":208136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:55:12] local.INFO: Extracted packet for processing {"connection_id":208136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:55:12] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99776432,"longitude_deg":76.2817024,"latitude_deg":9.9776432,"altitude":10,"angle":354,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f277b0","is_valid_coordinates":true} 
[2026-10-05 22:55: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-10-05 22:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552486400001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2245391722479616,"note":"Value kept but may cause issues"} 
[2026-10-05 22:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462097002496,"note":"Value kept but may cause issues"} 
[2026-10-05 22:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791220951000,"timestamp_ms":1791220951000,"timestamp_seconds":1791220951,"priority":1,"record_length":96,"hex_timestamp":"000001a10d16a7d8"} 
[2026-10-05 22:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 22:55:12] 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-10-05 22:55: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-10-05 22:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":208136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":208136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":208136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:55:12] 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-10-05 22:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552486400001,"66":25908,"160":206,"87":13568,"24":0,"16":2245391722479616,"45":8622704462097002496},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552486400001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:55:12] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:55:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2245391722479616,"km_value":2245391722479.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462097002496,"description":"Unknown IO ID 45"} 
[2026-10-05 22:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552486400001,"power":25908,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622704462097002496}} 
[2026-10-05 22:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":208136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:55:12] local.INFO: GPS data processed {"connection_id":208136,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:55:12] local.INFO: Acknowledgment sent {"connection_id":208136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:55:18] local.INFO: TCP Data received {"connection_id":208136,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10d16a7d8012d77aa0005f277b0000a016225..."} 
[2026-10-05 22:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d16a7d8012d77aa0005f277b0000a016225..."} 
[2026-10-05 22:55:18] local.INFO: Processing buffer {"connection_id":208136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d16a7d8012d77aa0005f277b0000a016225..."} 
[2026-10-05 22:55:18] local.INFO: Packet analysis {"connection_id":208136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:55:18] local.INFO: Extracted packet for processing {"connection_id":208136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:55:18] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99776432,"longitude_deg":76.2817024,"latitude_deg":9.9776432,"altitude":10,"angle":354,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f277b0","is_valid_coordinates":true} 
[2026-10-05 22:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552486400001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2245391722479616,"note":"Value kept but may cause issues"} 
[2026-10-05 22:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462097002496,"note":"Value kept but may cause issues"} 
[2026-10-05 22:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791220951000,"timestamp_ms":1791220951000,"timestamp_seconds":1791220951,"priority":1,"record_length":96,"hex_timestamp":"000001a10d16a7d8"} 
[2026-10-05 22:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 22:55:18] 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-10-05 22:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":208136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":208136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":208136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:55:18] 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-10-05 22:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552486400001,"66":25908,"160":206,"87":13568,"24":0,"16":2245391722479616,"45":8622704462097002496},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552486400001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:55:18] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:55:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2245391722479616,"km_value":2245391722479.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462097002496,"description":"Unknown IO ID 45"} 
[2026-10-05 22:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552486400001,"power":25908,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622704462097002496}} 
[2026-10-05 22:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":208136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:55:18] local.INFO: GPS data processed {"connection_id":208136,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:55:18] local.INFO: Acknowledgment sent {"connection_id":208136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:55:30] local.INFO: TCP Data received {"connection_id":205040,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:55:30] local.INFO: Processing buffer {"connection_id":205040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:55:30] local.INFO: IMEI packet received {"connection_id":205040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":205040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:55:35] local.INFO: TCP Data received {"connection_id":205040,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:55:35] local.INFO: Processing buffer {"connection_id":205040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:55:35] local.INFO: IMEI packet received {"connection_id":205040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":205040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:55:36] local.INFO: TCP Data received {"connection_id":205040,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:55:36] local.INFO: Processing buffer {"connection_id":205040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:55:36] local.INFO: Packet analysis {"connection_id":205040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:55:36] local.INFO: Extracted packet for processing {"connection_id":205040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:55:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552483072001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791220938000,"timestamp_ms":1791220938000,"timestamp_seconds":1791220938,"priority":1,"record_length":96,"hex_timestamp":"000001a10d167510"} 
[2026-10-05 22:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 22:55:36] 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-10-05 22: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-10-05 22:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552483072001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552483072001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:55:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:55:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552483072001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":205040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:55:36] local.INFO: GPS data processed {"connection_id":205040,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:55:36] local.INFO: Acknowledgment sent {"connection_id":205040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:55:57] local.INFO: TCP Data received {"connection_id":205041,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:55:57] local.INFO: Processing buffer {"connection_id":205041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:55:57] local.INFO: IMEI packet received {"connection_id":205041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 22:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":205041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:56:04] local.INFO: TCP Data received {"connection_id":205042,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:56:04] local.INFO: Processing buffer {"connection_id":205042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:56:04] local.INFO: IMEI packet received {"connection_id":205042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":205042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:56:07] local.INFO: TCP Data received {"connection_id":205040,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:56:07] local.INFO: Processing buffer {"connection_id":205040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:56:07] local.INFO: Packet analysis {"connection_id":205040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:56:07] local.INFO: Extracted packet for processing {"connection_id":205040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:56:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552483072001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791220938000,"timestamp_ms":1791220938000,"timestamp_seconds":1791220938,"priority":1,"record_length":96,"hex_timestamp":"000001a10d167510"} 
[2026-10-05 22:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 22:56: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-10-05 22: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-10-05 22:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552483072001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552483072001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:56:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:56:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552483072001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":205040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:56:08] local.INFO: GPS data processed {"connection_id":205040,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:56:08] local.INFO: Acknowledgment sent {"connection_id":205040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:56:15] local.INFO: TCP Data received {"connection_id":205042,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:56:15] local.INFO: Processing buffer {"connection_id":205042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:56:15] local.INFO: IMEI packet received {"connection_id":205042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":205042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:56:17] local.INFO: TCP Data received {"connection_id":205042,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:56:17] local.INFO: Processing buffer {"connection_id":205042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:56:17] local.INFO: IMEI packet received {"connection_id":205042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":205042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:56:24] local.INFO: TCP Data received {"connection_id":205042,"ip":"42.106.6.33","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a10d..."} 
[2026-10-05 22:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205042,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a10d..."} 
[2026-10-05 22:56:24] local.INFO: Processing buffer {"connection_id":205042,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a10d..."} 
[2026-10-05 22:56:24] local.INFO: IMEI packet received {"connection_id":205042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":205042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:56:25] local.INFO: TCP Data received {"connection_id":205042,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10d16a7d8012d77aa0005f277b0000a016225..."} 
[2026-10-05 22:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d16a7d8012d77aa0005f277b0000a016225..."} 
[2026-10-05 22:56:25] local.INFO: Processing buffer {"connection_id":205042,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a10d16a7d8012d77aa0005f277b0000a016225..."} 
[2026-10-05 22:56:25] local.INFO: Packet analysis {"connection_id":205042,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:56:25] local.INFO: Extracted packet for processing {"connection_id":205042,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:56:25] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99776432,"longitude_deg":76.2817024,"latitude_deg":9.9776432,"altitude":10,"angle":354,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f277b0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 22:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552486400001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2245391722479616,"note":"Value kept but may cause issues"} 
[2026-10-05 22:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462097002496,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 22:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1791220951000,"timestamp_ms":1791220951000,"timestamp_seconds":1791220951,"priority":1,"record_length":96,"hex_timestamp":"000001a10d16a7d8"} 
[2026-10-05 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-10-05 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-10-05 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 22:56: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-10-05 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-10-05 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-10-05 22:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":205042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":205042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":205042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552486400001,"66":25908,"160":206,"87":13568,"24":0,"16":2245391722479616,"45":8622704462097002496},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552486400001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:56:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:56:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2245391722479616,"km_value":2245391722479.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462097002496,"description":"Unknown IO ID 45"} 
[2026-10-05 22:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552486400001,"power":25908,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622704462097002496}} 
[2026-10-05 22:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":205042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:56:25] local.INFO: GPS data processed {"connection_id":205042,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:56:25] local.INFO: Acknowledgment sent {"connection_id":205042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:56:25] local.INFO: Packet analysis {"connection_id":205042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:56:25] local.INFO: Extracted packet for processing {"connection_id":205042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:56:25] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99776432,"longitude_deg":76.2817024,"latitude_deg":9.9776432,"altitude":10,"angle":354,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f277b0","is_valid_coordinates":true} 
[2026-10-05 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-10-05 22:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552486400001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2245391722479616,"note":"Value kept but may cause issues"} 
[2026-10-05 22:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462097002496,"note":"Value kept but may cause issues"} 
[2026-10-05 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-10-05 22:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1791220951000,"timestamp_ms":1791220951000,"timestamp_seconds":1791220951,"priority":1,"record_length":96,"hex_timestamp":"000001a10d16a7d8"} 
[2026-10-05 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-10-05 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-10-05 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 22:56: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-10-05 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-10-05 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-10-05 22:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":205042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":205042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":205042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552486400001,"66":25908,"160":206,"87":13568,"24":0,"16":2245391722479616,"45":8622704462097002496},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552486400001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:56:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:56:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2245391722479616,"km_value":2245391722479.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462097002496,"description":"Unknown IO ID 45"} 
[2026-10-05 22:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552486400001,"power":25908,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622704462097002496}} 
[2026-10-05 22:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":205042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:56:25] local.INFO: GPS data processed {"connection_id":205042,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:56:25] local.INFO: Acknowledgment sent {"connection_id":205042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:56:30] local.INFO: TCP Data received {"connection_id":205160,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:56:30] local.INFO: Processing buffer {"connection_id":205160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:56:30] local.INFO: IMEI packet received {"connection_id":205160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":205160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:56:33] local.INFO: TCP Data received {"connection_id":208137,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:56:33] local.INFO: Processing buffer {"connection_id":208137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 22:56:33] local.INFO: IMEI packet received {"connection_id":208137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 22:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":208137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:56:35] local.INFO: TCP Data received {"connection_id":205042,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10d16a7d8012d77aa0005f277b0000a016225..."} 
[2026-10-05 22:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d16a7d8012d77aa0005f277b0000a016225..."} 
[2026-10-05 22:56:35] local.INFO: Processing buffer {"connection_id":205042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d16a7d8012d77aa0005f277b0000a016225..."} 
[2026-10-05 22:56:35] local.INFO: Packet analysis {"connection_id":205042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:56:35] local.INFO: Extracted packet for processing {"connection_id":205042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:56:35] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99776432,"longitude_deg":76.2817024,"latitude_deg":9.9776432,"altitude":10,"angle":354,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f277b0","is_valid_coordinates":true} 
[2026-10-05 22:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552486400001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2245391722479616,"note":"Value kept but may cause issues"} 
[2026-10-05 22:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462097002496,"note":"Value kept but may cause issues"} 
[2026-10-05 22:56: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-10-05 22:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1791220951000,"timestamp_ms":1791220951000,"timestamp_seconds":1791220951,"priority":1,"record_length":96,"hex_timestamp":"000001a10d16a7d8"} 
[2026-10-05 22:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 22:56:35] 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-10-05 22:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":205042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":205042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":205042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552486400001,"66":25908,"160":206,"87":13568,"24":0,"16":2245391722479616,"45":8622704462097002496},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552486400001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:56:35] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:56:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2245391722479616,"km_value":2245391722479.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462097002496,"description":"Unknown IO ID 45"} 
[2026-10-05 22:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552486400001,"power":25908,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622704462097002496}} 
[2026-10-05 22:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":205042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:56:35] local.INFO: GPS data processed {"connection_id":205042,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:56:35] local.INFO: Acknowledgment sent {"connection_id":205042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:56:35] local.INFO: TCP Data received {"connection_id":205160,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:56:35] local.INFO: Processing buffer {"connection_id":205160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:56:35] local.INFO: IMEI packet received {"connection_id":205160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":205160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:56:36] local.INFO: TCP Data received {"connection_id":205160,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:56:36] local.INFO: Processing buffer {"connection_id":205160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:56:36] local.INFO: Packet analysis {"connection_id":205160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:56:36] local.INFO: Extracted packet for processing {"connection_id":205160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:56:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552483072001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791220938000,"timestamp_ms":1791220938000,"timestamp_seconds":1791220938,"priority":1,"record_length":96,"hex_timestamp":"000001a10d167510"} 
[2026-10-05 22:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 22:56:36] 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-10-05 22: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-10-05 22:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552483072001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552483072001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:56:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:56:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552483072001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":205160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:56:36] local.INFO: GPS data processed {"connection_id":205160,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:56:36] local.INFO: Acknowledgment sent {"connection_id":205160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:56:59] local.INFO: TCP Data received {"connection_id":208138,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:56:59] local.INFO: Processing buffer {"connection_id":208138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:56:59] local.INFO: IMEI packet received {"connection_id":208138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":208138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:57:05] local.INFO: TCP Data received {"connection_id":208138,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:57:05] local.INFO: Processing buffer {"connection_id":208138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:57:05] local.INFO: IMEI packet received {"connection_id":208138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":208138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:57:08] local.INFO: TCP Data received {"connection_id":205160,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:57:08] local.INFO: Processing buffer {"connection_id":205160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d167510012d7c254005dacc90000c015125..."} 
[2026-10-05 22:57:08] local.INFO: Packet analysis {"connection_id":205160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:57:08] local.INFO: Extracted packet for processing {"connection_id":205160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:57:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:57: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-10-05 22:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552483072001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791220938000,"timestamp_ms":1791220938000,"timestamp_seconds":1791220938,"priority":1,"record_length":96,"hex_timestamp":"000001a10d167510"} 
[2026-10-05 22:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:57: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-10-05 22:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 22:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22:57: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-10-05 22:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552483072001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552483072001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:57:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:57:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552483072001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":205160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:57:08] local.INFO: GPS data processed {"connection_id":205160,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:57:08] local.INFO: Acknowledgment sent {"connection_id":205160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:57:30] local.INFO: TCP Data received {"connection_id":208139,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:57:30] local.INFO: Processing buffer {"connection_id":208139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:57:30] local.INFO: IMEI packet received {"connection_id":208139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":208139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:57:35] local.INFO: TCP Data received {"connection_id":208139,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:57:35] local.INFO: Processing buffer {"connection_id":208139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:57:35] local.INFO: IMEI packet received {"connection_id":208139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":208139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:57:36] local.INFO: TCP Data received {"connection_id":208139,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 22:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 22:57:36] local.INFO: Processing buffer {"connection_id":208139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 22:57:36] local.INFO: Packet analysis {"connection_id":208139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d1b"} 
[2026-10-05 22:57:36] local.INFO: Extracted packet for processing {"connection_id":208139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d1b"} 
[2026-10-05 22:57:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552560128001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791221239000,"timestamp_ms":1791221239000,"timestamp_seconds":1791221239,"priority":1,"record_length":96,"hex_timestamp":"000001a10d1b0cd8"} 
[2026-10-05 22:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 22:57:36] 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-10-05 22:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552560128001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552560128001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:57:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:57:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552560128001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":208139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:57:36] local.INFO: GPS data processed {"connection_id":208139,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:57:36] local.INFO: Acknowledgment sent {"connection_id":208139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:57:37] local.INFO: TCP Data received {"connection_id":208138,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:57:37] local.INFO: Processing buffer {"connection_id":208138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:57:37] local.INFO: IMEI packet received {"connection_id":208138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":208138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:57:38] local.INFO: TCP Data received {"connection_id":208138,"ip":"42.106.6.33","data_length":1348,"data_hex":"000000000000030f8e0a000001a10d16a7d8012d77aa0005f277b0000a016225..."} 
[2026-10-05 22:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208138,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a10d16a7d8012d77aa0005f277b0000a016225..."} 
[2026-10-05 22:57:38] local.INFO: Processing buffer {"connection_id":208138,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a10d16a7d8012d77aa0005f277b0000a016225..."} 
[2026-10-05 22:57:38] local.INFO: Packet analysis {"connection_id":208138,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:57:38] local.INFO: Extracted packet for processing {"connection_id":208138,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:57:38] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99776432,"longitude_deg":76.2817024,"latitude_deg":9.9776432,"altitude":10,"angle":354,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f277b0","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552486400001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2245391722479616,"note":"Value kept but may cause issues"} 
[2026-10-05 22:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462097002496,"note":"Value kept but may cause issues"} 
[2026-10-05 22:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791220951000,"timestamp_ms":1791220951000,"timestamp_seconds":1791220951,"priority":1,"record_length":96,"hex_timestamp":"000001a10d16a7d8"} 
[2026-10-05 22:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 22:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22: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-10-05 22:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":208138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":208138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":208138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 22:57:38] 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-10-05 22:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 22:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 22:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552486400001,"66":25908,"160":206,"87":13568,"24":0,"16":2245391722479616,"45":8622704462097002496},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 22:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 22:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 22:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552486400001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:57:38] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 22:57:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 22:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2245391722479616,"km_value":2245391722479.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462097002496,"description":"Unknown IO ID 45"} 
[2026-10-05 22:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552486400001,"power":25908,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622704462097002496}} 
[2026-10-05 22:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":208138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:57:38] local.INFO: GPS data processed {"connection_id":208138,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:57:38] local.INFO: Acknowledgment sent {"connection_id":208138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:57:38] local.INFO: Packet analysis {"connection_id":208138,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a10d16"} 
[2026-10-05 22:57:38] local.INFO: Incomplete packet, waiting for more data {"connection_id":208138,"needed":795,"available":553} 
[2026-10-05 22:58:04] local.INFO: TCP Data received {"connection_id":205044,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:58:04] local.INFO: Processing buffer {"connection_id":205044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:58:04] local.INFO: IMEI packet received {"connection_id":205044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":205044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:58:08] local.INFO: TCP Data received {"connection_id":208139,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 22:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 22:58:08] local.INFO: Processing buffer {"connection_id":208139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 22:58:08] local.INFO: Packet analysis {"connection_id":208139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d1b"} 
[2026-10-05 22:58:08] local.INFO: Extracted packet for processing {"connection_id":208139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d1b"} 
[2026-10-05 22:58:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552560128001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791221239000,"timestamp_ms":1791221239000,"timestamp_seconds":1791221239,"priority":1,"record_length":96,"hex_timestamp":"000001a10d1b0cd8"} 
[2026-10-05 22:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":178,"data_length":795,"current_offset":136} 
[2026-10-05 22:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22: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-10-05 22:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":208139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":208139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":208139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552560128001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552560128001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:58:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:58:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552560128001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":208139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:58:08] local.INFO: GPS data processed {"connection_id":208139,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:58:08] local.INFO: Acknowledgment sent {"connection_id":208139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:58:30] local.INFO: TCP Data received {"connection_id":205161,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205161,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:58:30] local.INFO: Processing buffer {"connection_id":205161,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:58:30] local.INFO: IMEI packet received {"connection_id":205161,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":205161,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:58:35] local.INFO: TCP Data received {"connection_id":205161,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205161,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:58:35] local.INFO: Processing buffer {"connection_id":205161,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:58:35] local.INFO: IMEI packet received {"connection_id":205161,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":205161,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:58:36] local.INFO: TCP Data received {"connection_id":205161,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 22:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 22:58:36] local.INFO: Processing buffer {"connection_id":205161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 22:58:36] local.INFO: Packet analysis {"connection_id":205161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d1b"} 
[2026-10-05 22:58:36] local.INFO: Extracted packet for processing {"connection_id":205161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d1b"} 
[2026-10-05 22:58:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552560128001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791221239000,"timestamp_ms":1791221239000,"timestamp_seconds":1791221239,"priority":1,"record_length":96,"hex_timestamp":"000001a10d1b0cd8"} 
[2026-10-05 22:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 22:58:36] 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-10-05 22: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-10-05 22:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552560128001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552560128001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:58:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:58:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552560128001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":205161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:58:36] local.INFO: GPS data processed {"connection_id":205161,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:58:36] local.INFO: Acknowledgment sent {"connection_id":205161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:58:38] local.INFO: TCP Data received {"connection_id":205044,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:58:38] local.INFO: Processing buffer {"connection_id":205044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:58:38] local.INFO: IMEI packet received {"connection_id":205044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 22:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":205044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:59:08] local.INFO: TCP Data received {"connection_id":205161,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 22:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 22:59:08] local.INFO: Processing buffer {"connection_id":205161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 22:59:08] local.INFO: Packet analysis {"connection_id":205161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d1b"} 
[2026-10-05 22:59:08] local.INFO: Extracted packet for processing {"connection_id":205161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d1b"} 
[2026-10-05 22:59:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22: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-10-05 22:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552560128001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791221239000,"timestamp_ms":1791221239000,"timestamp_seconds":1791221239,"priority":1,"record_length":96,"hex_timestamp":"000001a10d1b0cd8"} 
[2026-10-05 22:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 22:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 22: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-10-05 22:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552560128001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552560128001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:59:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:59:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552560128001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":205161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970448,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:59:08] local.INFO: GPS data processed {"connection_id":205161,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:59:08] local.INFO: Acknowledgment sent {"connection_id":205161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:59:30] local.INFO: TCP Data received {"connection_id":208140,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:59:30] local.INFO: Processing buffer {"connection_id":208140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:59:30] local.INFO: IMEI packet received {"connection_id":208140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 22:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":208140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 22:59:35] local.INFO: TCP Data received {"connection_id":208140,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:59:35] local.INFO: Processing buffer {"connection_id":208140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 22:59:35] local.INFO: IMEI packet received {"connection_id":208140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 22:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":208140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 22:59:36] local.INFO: TCP Data received {"connection_id":208140,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 22:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 22:59:36] local.INFO: Processing buffer {"connection_id":208140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 22:59:36] local.INFO: Packet analysis {"connection_id":208140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d1b"} 
[2026-10-05 22:59:36] local.INFO: Extracted packet for processing {"connection_id":208140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d1b"} 
[2026-10-05 22:59:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 22:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 22:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552560128001,"note":"Value kept but may cause issues"} 
[2026-10-05 22:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 22:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 22:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 22:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791221239000,"timestamp_ms":1791221239000,"timestamp_seconds":1791221239,"priority":1,"record_length":96,"hex_timestamp":"000001a10d1b0cd8"} 
[2026-10-05 22:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 22:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 22:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 22:59:36] 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-10-05 22:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 22:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 22:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 22:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 22:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 22:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 22:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 22:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 22:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552560128001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 22:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 22:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 22:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552560128001,"description":"Unknown IO ID 0"} 
[2026-10-05 22:59:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 22:59:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 22:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 22:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 22:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552560128001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 22:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":208140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 22:59:37] local.INFO: GPS data processed {"connection_id":208140,"processed":1,"errors":0,"total":1} 
[2026-10-05 22:59:37] local.INFO: Acknowledgment sent {"connection_id":208140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 22:59:59] local.INFO: TCP Data received {"connection_id":206542,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:59:59] local.INFO: Processing buffer {"connection_id":206542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 22:59:59] local.INFO: IMEI packet received {"connection_id":206542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 22:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":206542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:00:04] local.INFO: TCP Data received {"connection_id":206542,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:00:04] local.INFO: Processing buffer {"connection_id":206542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:00:04] local.INFO: IMEI packet received {"connection_id":206542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":206542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:00:05] local.INFO: TCP Data received {"connection_id":206542,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10d1b3fa0012d77aa0005f277b00016016227..."} 
[2026-10-05 23:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d1b3fa0012d77aa0005f277b00016016227..."} 
[2026-10-05 23:00:05] local.INFO: Processing buffer {"connection_id":206542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d1b3fa0012d77aa0005f277b00016016227..."} 
[2026-10-05 23:00:05] local.INFO: Packet analysis {"connection_id":206542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d1b"} 
[2026-10-05 23:00:05] local.INFO: Extracted packet for processing {"connection_id":206542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d1b"} 
[2026-10-05 23:00:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99776432,"longitude_deg":76.2817024,"latitude_deg":9.9776432,"altitude":22,"angle":354,"satellites":39,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f277b0","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552563456001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2245391722479616,"note":"Value kept but may cause issues"} 
[2026-10-05 23:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462097002496,"note":"Value kept but may cause issues"} 
[2026-10-05 23:00: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-10-05 23:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791221252000,"timestamp_ms":1791221252000,"timestamp_seconds":1791221252,"priority":1,"record_length":96,"hex_timestamp":"000001a10d1b3fa0"} 
[2026-10-05 23:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:00: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-10-05 23: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 23:00: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-10-05 23: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-10-05 23:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":206542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":206542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":206542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:00: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-10-05 23:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552563456001,"66":25908,"160":206,"87":13568,"24":0,"16":2245391722479616,"45":8622704462097002496},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 23:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552563456001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:00:05] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 23:00:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 23:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2245391722479616,"km_value":2245391722479.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462097002496,"description":"Unknown IO ID 45"} 
[2026-10-05 23:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552563456001,"power":25908,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622704462097002496}} 
[2026-10-05 23:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":206542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:00:05] local.INFO: GPS data processed {"connection_id":206542,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:00:05] local.INFO: Acknowledgment sent {"connection_id":206542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:00:08] local.INFO: TCP Data received {"connection_id":208140,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 23:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 23:00:08] local.INFO: Processing buffer {"connection_id":208140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 23:00:08] local.INFO: Packet analysis {"connection_id":208140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d1b"} 
[2026-10-05 23:00:08] local.INFO: Extracted packet for processing {"connection_id":208140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d1b"} 
[2026-10-05 23:00:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:00: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-10-05 23:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552560128001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791221239000,"timestamp_ms":1791221239000,"timestamp_seconds":1791221239,"priority":1,"record_length":96,"hex_timestamp":"000001a10d1b0cd8"} 
[2026-10-05 23:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 23:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:00: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-10-05 23:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":208140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":208140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":208140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552560128001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552560128001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:00:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:00:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552560128001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":208140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:00:08] local.INFO: GPS data processed {"connection_id":208140,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:00:08] local.INFO: Acknowledgment sent {"connection_id":208140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:00:09] local.INFO: TCP Data received {"connection_id":206542,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10d1b3fa0012d77aa0005f277b00016016227..."} 
[2026-10-05 23:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d1b3fa0012d77aa0005f277b00016016227..."} 
[2026-10-05 23:00:09] local.INFO: Processing buffer {"connection_id":206542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d1b3fa0012d77aa0005f277b00016016227..."} 
[2026-10-05 23:00:09] local.INFO: Packet analysis {"connection_id":206542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d1b"} 
[2026-10-05 23:00:09] local.INFO: Extracted packet for processing {"connection_id":206542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d1b"} 
[2026-10-05 23:00:09] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99776432,"longitude_deg":76.2817024,"latitude_deg":9.9776432,"altitude":22,"angle":354,"satellites":39,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f277b0","is_valid_coordinates":true} 
[2026-10-05 23:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552563456001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2245391722479616,"note":"Value kept but may cause issues"} 
[2026-10-05 23:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462097002496,"note":"Value kept but may cause issues"} 
[2026-10-05 23:00: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-10-05 23:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791221252000,"timestamp_ms":1791221252000,"timestamp_seconds":1791221252,"priority":1,"record_length":96,"hex_timestamp":"000001a10d1b3fa0"} 
[2026-10-05 23:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:00: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-10-05 23:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 23:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":206542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":206542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":206542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:00:09] 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-10-05 23:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552563456001,"66":25908,"160":206,"87":13568,"24":0,"16":2245391722479616,"45":8622704462097002496},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 23:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552563456001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:00:09] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 23:00:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 23:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2245391722479616,"km_value":2245391722479.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462097002496,"description":"Unknown IO ID 45"} 
[2026-10-05 23:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552563456001,"power":25908,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622704462097002496}} 
[2026-10-05 23:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":206542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:00:09] local.INFO: GPS data processed {"connection_id":206542,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:00:09] local.INFO: Acknowledgment sent {"connection_id":206542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:00:30] local.INFO: TCP Data received {"connection_id":208142,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:00:30] local.INFO: Processing buffer {"connection_id":208142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:00:30] local.INFO: IMEI packet received {"connection_id":208142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":208142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:00:35] local.INFO: TCP Data received {"connection_id":208142,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:00:35] local.INFO: Processing buffer {"connection_id":208142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:00:35] local.INFO: IMEI packet received {"connection_id":208142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":208142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:00:36] local.INFO: TCP Data received {"connection_id":208142,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 23:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 23:00:36] local.INFO: Processing buffer {"connection_id":208142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 23:00:36] local.INFO: Packet analysis {"connection_id":208142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d1b"} 
[2026-10-05 23:00:36] local.INFO: Extracted packet for processing {"connection_id":208142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d1b"} 
[2026-10-05 23:00:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552560128001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791221239000,"timestamp_ms":1791221239000,"timestamp_seconds":1791221239,"priority":1,"record_length":96,"hex_timestamp":"000001a10d1b0cd8"} 
[2026-10-05 23:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 23:00:36] 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-10-05 23:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552560128001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552560128001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:00:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:00:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552560128001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":208142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:00:36] local.INFO: GPS data processed {"connection_id":208142,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:00:36] local.INFO: Acknowledgment sent {"connection_id":208142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:01:03] local.INFO: TCP Data received {"connection_id":205163,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:01:03] local.INFO: Processing buffer {"connection_id":205163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:01:03] local.INFO: IMEI packet received {"connection_id":205163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":205163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:01:08] local.INFO: TCP Data received {"connection_id":208142,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 23:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 23:01:08] local.INFO: Processing buffer {"connection_id":208142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 23:01:08] local.INFO: Packet analysis {"connection_id":208142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d1b"} 
[2026-10-05 23:01:08] local.INFO: Extracted packet for processing {"connection_id":208142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d1b"} 
[2026-10-05 23:01:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552560128001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791221239000,"timestamp_ms":1791221239000,"timestamp_seconds":1791221239,"priority":1,"record_length":96,"hex_timestamp":"000001a10d1b0cd8"} 
[2026-10-05 23:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 23:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":208142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":208142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":208142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552560128001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552560128001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:01:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:01:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552560128001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":208142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:01:08] local.INFO: GPS data processed {"connection_id":208142,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:01:08] local.INFO: Acknowledgment sent {"connection_id":208142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:01:30] local.INFO: TCP Data received {"connection_id":205164,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:01:30] local.INFO: Processing buffer {"connection_id":205164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:01:30] local.INFO: IMEI packet received {"connection_id":205164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":205164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:01:34] local.INFO: TCP Data received {"connection_id":205163,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:01:34] local.INFO: Processing buffer {"connection_id":205163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:01:34] local.INFO: IMEI packet received {"connection_id":205163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":205163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:01:35] local.INFO: TCP Data received {"connection_id":205164,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:01:35] local.INFO: Processing buffer {"connection_id":205164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:01:35] local.INFO: IMEI packet received {"connection_id":205164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":205164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:01:36] local.INFO: TCP Data received {"connection_id":205163,"ip":"42.106.6.33","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 23:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205163,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 23:01:36] local.INFO: Processing buffer {"connection_id":205163,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 23:01:36] local.INFO: IMEI packet received {"connection_id":205163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":205163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:01:36] local.INFO: TCP Data received {"connection_id":205164,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 23:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 23:01:36] local.INFO: Processing buffer {"connection_id":205164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 23:01:36] local.INFO: Packet analysis {"connection_id":205164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d1b"} 
[2026-10-05 23:01:36] local.INFO: Extracted packet for processing {"connection_id":205164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d1b"} 
[2026-10-05 23:01:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552560128001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791221239000,"timestamp_ms":1791221239000,"timestamp_seconds":1791221239,"priority":1,"record_length":96,"hex_timestamp":"000001a10d1b0cd8"} 
[2026-10-05 23:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 23:01:36] 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-10-05 23:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552560128001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552560128001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:01:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:01:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552560128001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":205164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:01:36] local.INFO: GPS data processed {"connection_id":205164,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:01:36] local.INFO: Acknowledgment sent {"connection_id":205164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:01:48] local.INFO: TCP Data received {"connection_id":206543,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206543,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:01:48] local.INFO: Processing buffer {"connection_id":206543,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:01:48] local.INFO: IMEI packet received {"connection_id":206543,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 23:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":206543,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:02:07] local.INFO: TCP Data received {"connection_id":205164,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 23:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 23:02:07] local.INFO: Processing buffer {"connection_id":205164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d1b0cd8012d7c254005dacc90000c015124..."} 
[2026-10-05 23:02:07] local.INFO: Packet analysis {"connection_id":205164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d1b"} 
[2026-10-05 23:02:07] local.INFO: Extracted packet for processing {"connection_id":205164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d1b"} 
[2026-10-05 23:02:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552560128001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791221239000,"timestamp_ms":1791221239000,"timestamp_seconds":1791221239,"priority":1,"record_length":96,"hex_timestamp":"000001a10d1b0cd8"} 
[2026-10-05 23:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:02: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-10-05 23:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 23:02: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-10-05 23:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552560128001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552560128001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:02:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:02:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552560128001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":205164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:02:07] local.INFO: GPS data processed {"connection_id":205164,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:02:07] local.INFO: Acknowledgment sent {"connection_id":205164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:02:30] local.INFO: TCP Data received {"connection_id":206544,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:02:30] local.INFO: Processing buffer {"connection_id":206544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:02:30] local.INFO: IMEI packet received {"connection_id":206544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 23:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":206544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:02:35] local.INFO: TCP Data received {"connection_id":205047,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:02:35] local.INFO: Processing buffer {"connection_id":205047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:02:35] local.INFO: IMEI packet received {"connection_id":205047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":205047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:02:40] local.INFO: TCP Data received {"connection_id":205047,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:02:40] local.INFO: Processing buffer {"connection_id":205047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:02:40] local.INFO: IMEI packet received {"connection_id":205047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":205047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:02:41] local.INFO: TCP Data received {"connection_id":205047,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:02:41] local.INFO: Processing buffer {"connection_id":205047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:02:41] local.INFO: Packet analysis {"connection_id":205047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d1f"} 
[2026-10-05 23:02:41] local.INFO: Extracted packet for processing {"connection_id":205047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d1f"} 
[2026-10-05 23:02:41] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:02: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-10-05 23:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552637184001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791221540000,"timestamp_ms":1791221540000,"timestamp_seconds":1791221540,"priority":1,"record_length":96,"hex_timestamp":"000001a10d1fa4a0"} 
[2026-10-05 23:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:02:41] 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-10-05 23:02: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-10-05 23:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":205047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":205047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":205047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552637184001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552637184001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:02:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:02:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552637184001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":205047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:02:41] local.INFO: GPS data processed {"connection_id":205047,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:02:41] local.INFO: Acknowledgment sent {"connection_id":205047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:03:12] local.INFO: TCP Data received {"connection_id":205047,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:03:12] local.INFO: Processing buffer {"connection_id":205047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:03:12] local.INFO: Packet analysis {"connection_id":205047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d1f"} 
[2026-10-05 23:03:12] local.INFO: Extracted packet for processing {"connection_id":205047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d1f"} 
[2026-10-05 23:03:12] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552637184001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1791221540000,"timestamp_ms":1791221540000,"timestamp_seconds":1791221540,"priority":1,"record_length":96,"hex_timestamp":"000001a10d1fa4a0"} 
[2026-10-05 23:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:03:12] 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-10-05 23:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":205047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":205047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":205047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552637184001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552637184001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:03:12] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:03:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552637184001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":205047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:03:12] local.INFO: GPS data processed {"connection_id":205047,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:03:12] local.INFO: Acknowledgment sent {"connection_id":205047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:03:30] local.INFO: TCP Data received {"connection_id":206545,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:03:30] local.INFO: Processing buffer {"connection_id":206545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:03:30] local.INFO: IMEI packet received {"connection_id":206545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":206545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:03:35] local.INFO: TCP Data received {"connection_id":206545,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:03:35] local.INFO: Processing buffer {"connection_id":206545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:03:35] local.INFO: IMEI packet received {"connection_id":206545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":206545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:03:36] local.INFO: TCP Data received {"connection_id":206545,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:03:36] local.INFO: Processing buffer {"connection_id":206545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:03:36] local.INFO: Packet analysis {"connection_id":206545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d1f"} 
[2026-10-05 23:03:36] local.INFO: Extracted packet for processing {"connection_id":206545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d1f"} 
[2026-10-05 23:03:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552637184001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791221540000,"timestamp_ms":1791221540000,"timestamp_seconds":1791221540,"priority":1,"record_length":96,"hex_timestamp":"000001a10d1fa4a0"} 
[2026-10-05 23:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:03:36] 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-10-05 23:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552637184001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552637184001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:03:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:03:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552637184001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":206545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:03:36] local.INFO: GPS data processed {"connection_id":206545,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:03:36] local.INFO: Acknowledgment sent {"connection_id":206545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:04:07] local.INFO: TCP Data received {"connection_id":206545,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:04:07] local.INFO: Processing buffer {"connection_id":206545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:04:07] local.INFO: Packet analysis {"connection_id":206545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d1f"} 
[2026-10-05 23:04:07] local.INFO: Extracted packet for processing {"connection_id":206545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d1f"} 
[2026-10-05 23:04:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552637184001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791221540000,"timestamp_ms":1791221540000,"timestamp_seconds":1791221540,"priority":1,"record_length":96,"hex_timestamp":"000001a10d1fa4a0"} 
[2026-10-05 23:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:04: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-10-05 23:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":206545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":206545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":206545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552637184001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552637184001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:04:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:04:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552637184001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":206545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:04:08] local.INFO: GPS data processed {"connection_id":206545,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:04:08] local.INFO: Acknowledgment sent {"connection_id":206545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:04:35] local.INFO: TCP Data received {"connection_id":205050,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:04:35] local.INFO: Processing buffer {"connection_id":205050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:04:35] local.INFO: IMEI packet received {"connection_id":205050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":205050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:04:40] local.INFO: TCP Data received {"connection_id":205050,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:04:40] local.INFO: Processing buffer {"connection_id":205050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:04:40] local.INFO: IMEI packet received {"connection_id":205050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":205050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:04:41] local.INFO: TCP Data received {"connection_id":205050,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:04:41] local.INFO: Processing buffer {"connection_id":205050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:04:41] local.INFO: Packet analysis {"connection_id":205050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d1f"} 
[2026-10-05 23:04:41] local.INFO: Extracted packet for processing {"connection_id":205050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d1f"} 
[2026-10-05 23:04:41] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552637184001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791221540000,"timestamp_ms":1791221540000,"timestamp_seconds":1791221540,"priority":1,"record_length":96,"hex_timestamp":"000001a10d1fa4a0"} 
[2026-10-05 23:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:04:41] 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-10-05 23:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":205050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":205050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":205050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552637184001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552637184001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:04:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552637184001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":205050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:04:41] local.INFO: GPS data processed {"connection_id":205050,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:04:41] local.INFO: Acknowledgment sent {"connection_id":205050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:04:46] local.INFO: TCP Data received {"connection_id":205050,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:04:46] local.INFO: Processing buffer {"connection_id":205050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:04:46] local.INFO: Packet analysis {"connection_id":205050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d1f"} 
[2026-10-05 23:04:46] local.INFO: Extracted packet for processing {"connection_id":205050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d1f"} 
[2026-10-05 23:04:46] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552637184001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791221540000,"timestamp_ms":1791221540000,"timestamp_seconds":1791221540,"priority":1,"record_length":96,"hex_timestamp":"000001a10d1fa4a0"} 
[2026-10-05 23:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:04:46] 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-10-05 23:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":205050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":205050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":205050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552637184001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552637184001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:04:46] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:04:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552637184001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":205050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970462,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:04:46] local.INFO: GPS data processed {"connection_id":205050,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:04:46] local.INFO: Acknowledgment sent {"connection_id":205050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:05:30] local.INFO: TCP Data received {"connection_id":205167,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:05:30] local.INFO: Processing buffer {"connection_id":205167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:05:30] local.INFO: IMEI packet received {"connection_id":205167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":205167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:05:35] local.INFO: TCP Data received {"connection_id":205167,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:05:35] local.INFO: Processing buffer {"connection_id":205167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:05:35] local.INFO: IMEI packet received {"connection_id":205167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":205167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:05:38] local.INFO: TCP Data received {"connection_id":205167,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:05:38] local.INFO: Processing buffer {"connection_id":205167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:05:38] local.INFO: Packet analysis {"connection_id":205167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d1f"} 
[2026-10-05 23:05:38] local.INFO: Extracted packet for processing {"connection_id":205167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d1f"} 
[2026-10-05 23:05:38] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552637184001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1791221540000,"timestamp_ms":1791221540000,"timestamp_seconds":1791221540,"priority":1,"record_length":96,"hex_timestamp":"000001a10d1fa4a0"} 
[2026-10-05 23:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:05:38] 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-10-05 23: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-10-05 23:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":205167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":205167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":205167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552637184001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552637184001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:05:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:05:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552637184001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":205167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:05:38] local.INFO: GPS data processed {"connection_id":205167,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:05:38] local.INFO: Acknowledgment sent {"connection_id":205167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:06:10] local.INFO: TCP Data received {"connection_id":205167,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:06:10] local.INFO: Processing buffer {"connection_id":205167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:06:10] local.INFO: Packet analysis {"connection_id":205167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d1f"} 
[2026-10-05 23:06:10] local.INFO: Extracted packet for processing {"connection_id":205167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d1f"} 
[2026-10-05 23:06:10] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552637184001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1791221540000,"timestamp_ms":1791221540000,"timestamp_seconds":1791221540,"priority":1,"record_length":96,"hex_timestamp":"000001a10d1fa4a0"} 
[2026-10-05 23:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:06:10] 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-10-05 23:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":205167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":205167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":205167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552637184001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552637184001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:06:10] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552637184001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":205167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:06:10] local.INFO: GPS data processed {"connection_id":205167,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:06:10] local.INFO: Acknowledgment sent {"connection_id":205167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:06:30] local.INFO: TCP Data received {"connection_id":208144,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208144,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:06:30] local.INFO: Processing buffer {"connection_id":208144,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:06:30] local.INFO: IMEI packet received {"connection_id":208144,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":208144,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:06:35] local.INFO: TCP Data received {"connection_id":208144,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208144,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:06:35] local.INFO: Processing buffer {"connection_id":208144,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:06:35] local.INFO: IMEI packet received {"connection_id":208144,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":208144,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:06:36] local.INFO: TCP Data received {"connection_id":208144,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:06:36] local.INFO: Processing buffer {"connection_id":208144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:06:36] local.INFO: Packet analysis {"connection_id":208144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d1f"} 
[2026-10-05 23:06:36] local.INFO: Extracted packet for processing {"connection_id":208144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d1f"} 
[2026-10-05 23:06:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552637184001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791221540000,"timestamp_ms":1791221540000,"timestamp_seconds":1791221540,"priority":1,"record_length":96,"hex_timestamp":"000001a10d1fa4a0"} 
[2026-10-05 23:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:06:36] 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-10-05 23:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552637184001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552637184001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:06:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:06:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552637184001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":208144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:06:36] local.INFO: GPS data processed {"connection_id":208144,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:06:36] local.INFO: Acknowledgment sent {"connection_id":208144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:07:04] local.INFO: TCP Data received {"connection_id":206549,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:07:04] local.INFO: Processing buffer {"connection_id":206549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:07:04] local.INFO: IMEI packet received {"connection_id":206549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":206549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:07:08] local.INFO: TCP Data received {"connection_id":208144,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:07:08] local.INFO: Processing buffer {"connection_id":208144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d1fa4a0012d7c254005dacc90000c015127..."} 
[2026-10-05 23:07:08] local.INFO: Packet analysis {"connection_id":208144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d1f"} 
[2026-10-05 23:07:08] local.INFO: Extracted packet for processing {"connection_id":208144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d1f"} 
[2026-10-05 23:07:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":12,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552637184001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791221540000,"timestamp_ms":1791221540000,"timestamp_seconds":1791221540,"priority":1,"record_length":96,"hex_timestamp":"000001a10d1fa4a0"} 
[2026-10-05 23:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:07: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-10-05 23:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":208144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":208144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":208144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552637184001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552637184001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:07:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:07:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552637184001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":208144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970466,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:07:08] local.INFO: GPS data processed {"connection_id":208144,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:07:08] local.INFO: Acknowledgment sent {"connection_id":208144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:07:09] local.INFO: TCP Data received {"connection_id":206549,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:07:09] local.INFO: Processing buffer {"connection_id":206549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:07:09] local.INFO: IMEI packet received {"connection_id":206549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":206549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:07:19] local.INFO: TCP Data received {"connection_id":206549,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10d1fd380012d77aa0005f277b00016016226..."} 
[2026-10-05 23:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d1fd380012d77aa0005f277b00016016226..."} 
[2026-10-05 23:07:19] local.INFO: Processing buffer {"connection_id":206549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d1fd380012d77aa0005f277b00016016226..."} 
[2026-10-05 23:07:19] local.INFO: Packet analysis {"connection_id":206549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d1f"} 
[2026-10-05 23:07:19] local.INFO: Extracted packet for processing {"connection_id":206549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d1f"} 
[2026-10-05 23:07:19] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99776432,"longitude_deg":76.2817024,"latitude_deg":9.9776432,"altitude":22,"angle":354,"satellites":38,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f277b0","is_valid_coordinates":true} 
[2026-10-05 23:07: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-10-05 23:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552640512001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2245391722479616,"note":"Value kept but may cause issues"} 
[2026-10-05 23:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462097002496,"note":"Value kept but may cause issues"} 
[2026-10-05 23:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1791221552000,"timestamp_ms":1791221552000,"timestamp_seconds":1791221552,"priority":1,"record_length":96,"hex_timestamp":"000001a10d1fd380"} 
[2026-10-05 23:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:07: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 23:07:19] 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-10-05 23:07: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-10-05 23:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":206549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":206549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":206549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:07:19] 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-10-05 23:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552640512001,"66":25908,"160":206,"87":13568,"24":0,"16":2245391722479616,"45":8622704462097002496},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 23:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552640512001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:07:19] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 23:07:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 23:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2245391722479616,"km_value":2245391722479.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462097002496,"description":"Unknown IO ID 45"} 
[2026-10-05 23:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552640512001,"power":25908,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622704462097002496}} 
[2026-10-05 23:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":206549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:07:19] local.INFO: GPS data processed {"connection_id":206549,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:07:19] local.INFO: Acknowledgment sent {"connection_id":206549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:07:30] local.INFO: TCP Data received {"connection_id":205051,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:07:30] local.INFO: Processing buffer {"connection_id":205051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:07:30] local.INFO: IMEI packet received {"connection_id":205051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":205051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:07:33] local.INFO: TCP Data received {"connection_id":206549,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10d1fd380012d77aa0005f277b00016016226..."} 
[2026-10-05 23:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d1fd380012d77aa0005f277b00016016226..."} 
[2026-10-05 23:07:33] local.INFO: Processing buffer {"connection_id":206549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d1fd380012d77aa0005f277b00016016226..."} 
[2026-10-05 23:07:33] local.INFO: Packet analysis {"connection_id":206549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d1f"} 
[2026-10-05 23:07:33] local.INFO: Extracted packet for processing {"connection_id":206549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d1f"} 
[2026-10-05 23:07:33] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99776432,"longitude_deg":76.2817024,"latitude_deg":9.9776432,"altitude":22,"angle":354,"satellites":38,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f277b0","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552640512001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2245391722479616,"note":"Value kept but may cause issues"} 
[2026-10-05 23:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462097002496,"note":"Value kept but may cause issues"} 
[2026-10-05 23:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1791221552000,"timestamp_ms":1791221552000,"timestamp_seconds":1791221552,"priority":1,"record_length":96,"hex_timestamp":"000001a10d1fd380"} 
[2026-10-05 23:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:07: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-10-05 23: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 23:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23: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-10-05 23:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":206549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":206549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":206549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552640512001,"66":25908,"160":206,"87":13568,"24":0,"16":2245391722479616,"45":8622704462097002496},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 23:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552640512001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:07:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 23:07:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 23:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2245391722479616,"km_value":2245391722479.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462097002496,"description":"Unknown IO ID 45"} 
[2026-10-05 23:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552640512001,"power":25908,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622704462097002496}} 
[2026-10-05 23:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":206549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:07:33] local.INFO: GPS data processed {"connection_id":206549,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:07:33] local.INFO: Acknowledgment sent {"connection_id":206549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:07:35] local.INFO: TCP Data received {"connection_id":205051,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:07:35] local.INFO: Processing buffer {"connection_id":205051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:07:35] local.INFO: IMEI packet received {"connection_id":205051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":205051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:07:36] local.INFO: TCP Data received {"connection_id":205051,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:07:36] local.INFO: Processing buffer {"connection_id":205051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:07:36] local.INFO: Packet analysis {"connection_id":205051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d24"} 
[2026-10-05 23:07:36] local.INFO: Extracted packet for processing {"connection_id":205051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d24"} 
[2026-10-05 23:07:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552714240001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791221841000,"timestamp_ms":1791221841000,"timestamp_seconds":1791221841,"priority":1,"record_length":96,"hex_timestamp":"000001a10d243c68"} 
[2026-10-05 23:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:07:36] 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-10-05 23: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-10-05 23:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:07: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-10-05 23:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552714240001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552714240001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:07:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:07:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552714240001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":205051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:07:36] local.INFO: GPS data processed {"connection_id":205051,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:07:36] local.INFO: Acknowledgment sent {"connection_id":205051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:07:37] local.INFO: TCP Data received {"connection_id":208146,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208146,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:07:37] local.INFO: Processing buffer {"connection_id":208146,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:07:37] local.INFO: IMEI packet received {"connection_id":208146,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 23:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":208146,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:08:08] local.INFO: TCP Data received {"connection_id":205051,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:08:08] local.INFO: Processing buffer {"connection_id":205051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:08:08] local.INFO: Packet analysis {"connection_id":205051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d24"} 
[2026-10-05 23:08:08] local.INFO: Extracted packet for processing {"connection_id":205051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d24"} 
[2026-10-05 23:08:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552714240001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791221841000,"timestamp_ms":1791221841000,"timestamp_seconds":1791221841,"priority":1,"record_length":96,"hex_timestamp":"000001a10d243c68"} 
[2026-10-05 23:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:08: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-10-05 23:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:08: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-10-05 23:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552714240001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552714240001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:08:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:08:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552714240001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":205051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970470,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:08:08] local.INFO: GPS data processed {"connection_id":205051,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:08:08] local.INFO: Acknowledgment sent {"connection_id":205051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:08:18] local.INFO: TCP Data received {"connection_id":208147,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:08:18] local.INFO: Processing buffer {"connection_id":208147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:08:18] local.INFO: IMEI packet received {"connection_id":208147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":208147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:08:30] local.INFO: TCP Data received {"connection_id":206550,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:08:30] local.INFO: Processing buffer {"connection_id":206550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:08:30] local.INFO: IMEI packet received {"connection_id":206550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":206550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:08:35] local.INFO: TCP Data received {"connection_id":206550,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:08:35] local.INFO: Processing buffer {"connection_id":206550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:08:35] local.INFO: IMEI packet received {"connection_id":206550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":206550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:08:36] local.INFO: TCP Data received {"connection_id":206550,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:08:36] local.INFO: Processing buffer {"connection_id":206550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:08:36] local.INFO: Packet analysis {"connection_id":206550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d24"} 
[2026-10-05 23:08:36] local.INFO: Extracted packet for processing {"connection_id":206550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d24"} 
[2026-10-05 23:08:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552714240001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791221841000,"timestamp_ms":1791221841000,"timestamp_seconds":1791221841,"priority":1,"record_length":96,"hex_timestamp":"000001a10d243c68"} 
[2026-10-05 23:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:08:36] 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-10-05 23:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552714240001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552714240001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:08:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:08:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552714240001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":206550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:08:36] local.INFO: GPS data processed {"connection_id":206550,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:08:36] local.INFO: Acknowledgment sent {"connection_id":206550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:09:03] local.INFO: TCP Data received {"connection_id":208148,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:09:03] local.INFO: Processing buffer {"connection_id":208148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:09:03] local.INFO: IMEI packet received {"connection_id":208148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":208148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:09:08] local.INFO: TCP Data received {"connection_id":206550,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:09:08] local.INFO: Processing buffer {"connection_id":206550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:09:08] local.INFO: Packet analysis {"connection_id":206550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d24"} 
[2026-10-05 23:09:08] local.INFO: Extracted packet for processing {"connection_id":206550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d24"} 
[2026-10-05 23:09:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552714240001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791221841000,"timestamp_ms":1791221841000,"timestamp_seconds":1791221841,"priority":1,"record_length":96,"hex_timestamp":"000001a10d243c68"} 
[2026-10-05 23:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:09: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-10-05 23:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552714240001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552714240001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:09:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:09:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552714240001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":206550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970472,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:09:08] local.INFO: GPS data processed {"connection_id":206550,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:09:08] local.INFO: Acknowledgment sent {"connection_id":206550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:09:09] local.INFO: TCP Data received {"connection_id":208148,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:09:09] local.INFO: Processing buffer {"connection_id":208148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:09:09] local.INFO: IMEI packet received {"connection_id":208148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":208148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:09:30] local.INFO: TCP Data received {"connection_id":205052,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:09:30] local.INFO: Processing buffer {"connection_id":205052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:09:30] local.INFO: IMEI packet received {"connection_id":205052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":205052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:09:35] local.INFO: TCP Data received {"connection_id":205052,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:09:35] local.INFO: Processing buffer {"connection_id":205052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:09:35] local.INFO: IMEI packet received {"connection_id":205052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":205052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:09:36] local.INFO: TCP Data received {"connection_id":205052,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:09:36] local.INFO: Processing buffer {"connection_id":205052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:09:36] local.INFO: Packet analysis {"connection_id":205052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d24"} 
[2026-10-05 23:09:36] local.INFO: Extracted packet for processing {"connection_id":205052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d24"} 
[2026-10-05 23:09:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552714240001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791221841000,"timestamp_ms":1791221841000,"timestamp_seconds":1791221841,"priority":1,"record_length":96,"hex_timestamp":"000001a10d243c68"} 
[2026-10-05 23:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:09:36] 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-10-05 23:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552714240001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552714240001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:09:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:09:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552714240001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":205052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:09:36] local.INFO: GPS data processed {"connection_id":205052,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:09:36] local.INFO: Acknowledgment sent {"connection_id":205052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:09:38] local.INFO: TCP Data received {"connection_id":208148,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:09:38] local.INFO: Processing buffer {"connection_id":208148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:09:38] local.INFO: IMEI packet received {"connection_id":208148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":208148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:10:08] local.INFO: TCP Data received {"connection_id":205052,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:10:08] local.INFO: Processing buffer {"connection_id":205052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:10:08] local.INFO: Packet analysis {"connection_id":205052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d24"} 
[2026-10-05 23:10:08] local.INFO: Extracted packet for processing {"connection_id":205052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d24"} 
[2026-10-05 23:10:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552714240001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791221841000,"timestamp_ms":1791221841000,"timestamp_seconds":1791221841,"priority":1,"record_length":96,"hex_timestamp":"000001a10d243c68"} 
[2026-10-05 23:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:10: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-10-05 23:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552714240001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552714240001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:10:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:10:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552714240001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":205052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970474,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:10:08] local.INFO: GPS data processed {"connection_id":205052,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:10:08] local.INFO: Acknowledgment sent {"connection_id":205052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:10:35] local.INFO: TCP Data received {"connection_id":205055,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:10:35] local.INFO: Processing buffer {"connection_id":205055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:10:35] local.INFO: IMEI packet received {"connection_id":205055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":205055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:10:40] local.INFO: TCP Data received {"connection_id":205055,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:10:40] local.INFO: Processing buffer {"connection_id":205055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:10:40] local.INFO: IMEI packet received {"connection_id":205055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":205055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:10:41] local.INFO: TCP Data received {"connection_id":205055,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:10:41] local.INFO: Processing buffer {"connection_id":205055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:10:41] local.INFO: Packet analysis {"connection_id":205055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d24"} 
[2026-10-05 23:10:41] local.INFO: Extracted packet for processing {"connection_id":205055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d24"} 
[2026-10-05 23:10:41] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552714240001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791221841000,"timestamp_ms":1791221841000,"timestamp_seconds":1791221841,"priority":1,"record_length":96,"hex_timestamp":"000001a10d243c68"} 
[2026-10-05 23:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:10:41] 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-10-05 23: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-10-05 23:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":205055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":205055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":205055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:10:41] 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-10-05 23:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552714240001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552714240001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:10:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:10:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552714240001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":205055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:10:41] local.INFO: GPS data processed {"connection_id":205055,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:10:41] local.INFO: Acknowledgment sent {"connection_id":205055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:10:46] local.INFO: TCP Data received {"connection_id":205055,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:10:46] local.INFO: Processing buffer {"connection_id":205055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:10:46] local.INFO: Packet analysis {"connection_id":205055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d24"} 
[2026-10-05 23:10:46] local.INFO: Extracted packet for processing {"connection_id":205055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d24"} 
[2026-10-05 23:10:46] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552714240001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791221841000,"timestamp_ms":1791221841000,"timestamp_seconds":1791221841,"priority":1,"record_length":96,"hex_timestamp":"000001a10d243c68"} 
[2026-10-05 23:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:10:46] 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-10-05 23:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":205055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":205055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":205055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552714240001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552714240001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:10:46] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:10:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552714240001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":205055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:10:46] local.INFO: GPS data processed {"connection_id":205055,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:10:46] local.INFO: Acknowledgment sent {"connection_id":205055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:11:30] local.INFO: TCP Data received {"connection_id":205168,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205168,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:11:30] local.INFO: Processing buffer {"connection_id":205168,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:11:30] local.INFO: IMEI packet received {"connection_id":205168,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":205168,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:11:35] local.INFO: TCP Data received {"connection_id":205168,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205168,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:11:35] local.INFO: Processing buffer {"connection_id":205168,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:11:35] local.INFO: IMEI packet received {"connection_id":205168,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":205168,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:11:36] local.INFO: TCP Data received {"connection_id":205168,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:11:36] local.INFO: Processing buffer {"connection_id":205168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:11:36] local.INFO: Packet analysis {"connection_id":205168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d24"} 
[2026-10-05 23:11:36] local.INFO: Extracted packet for processing {"connection_id":205168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d24"} 
[2026-10-05 23:11:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552714240001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791221841000,"timestamp_ms":1791221841000,"timestamp_seconds":1791221841,"priority":1,"record_length":96,"hex_timestamp":"000001a10d243c68"} 
[2026-10-05 23:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:11:36] 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-10-05 23: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-10-05 23:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552714240001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552714240001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:11:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:11:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552714240001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":205168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:11:36] local.INFO: GPS data processed {"connection_id":205168,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:11:36] local.INFO: Acknowledgment sent {"connection_id":205168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:12:08] local.INFO: TCP Data received {"connection_id":205168,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:12:08] local.INFO: Processing buffer {"connection_id":205168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d243c68012d7c254005dacc900008015126..."} 
[2026-10-05 23:12:08] local.INFO: Packet analysis {"connection_id":205168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d24"} 
[2026-10-05 23:12:08] local.INFO: Extracted packet for processing {"connection_id":205168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d24"} 
[2026-10-05 23:12:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552714240001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791221841000,"timestamp_ms":1791221841000,"timestamp_seconds":1791221841,"priority":1,"record_length":96,"hex_timestamp":"000001a10d243c68"} 
[2026-10-05 23:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:12: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-10-05 23: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23: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-10-05 23:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552714240001,"66":12765,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552714240001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:12:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:12:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552714240001,"power":12765,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":205168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970478,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:12:08] local.INFO: GPS data processed {"connection_id":205168,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:12:08] local.INFO: Acknowledgment sent {"connection_id":205168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:12:30] local.INFO: TCP Data received {"connection_id":208150,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:12:30] local.INFO: Processing buffer {"connection_id":208150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:12:30] local.INFO: IMEI packet received {"connection_id":208150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":208150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:12:35] local.INFO: TCP Data received {"connection_id":208150,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:12:35] local.INFO: Processing buffer {"connection_id":208150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:12:35] local.INFO: IMEI packet received {"connection_id":208150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":208150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:12:36] local.INFO: TCP Data received {"connection_id":208150,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:12:36] local.INFO: Processing buffer {"connection_id":208150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:12:36] local.INFO: Packet analysis {"connection_id":208150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d28"} 
[2026-10-05 23:12:36] local.INFO: Extracted packet for processing {"connection_id":208150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d28"} 
[2026-10-05 23:12:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552791296001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791222142000,"timestamp_ms":1791222142000,"timestamp_seconds":1791222142,"priority":1,"record_length":96,"hex_timestamp":"000001a10d28d430"} 
[2026-10-05 23:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:12:36] 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-10-05 23:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552791296001,"66":12743,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552791296001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:12:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:12:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552791296001,"power":12743,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":208150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:12:36] local.INFO: GPS data processed {"connection_id":208150,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:12:36] local.INFO: Acknowledgment sent {"connection_id":208150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:13:07] local.INFO: TCP Data received {"connection_id":208150,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:13:07] local.INFO: Processing buffer {"connection_id":208150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:13:07] local.INFO: Packet analysis {"connection_id":208150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d28"} 
[2026-10-05 23:13:07] local.INFO: Extracted packet for processing {"connection_id":208150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d28"} 
[2026-10-05 23:13:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552791296001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791222142000,"timestamp_ms":1791222142000,"timestamp_seconds":1791222142,"priority":1,"record_length":96,"hex_timestamp":"000001a10d28d430"} 
[2026-10-05 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-10-05 23:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:13: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-10-05 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-10-05 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-10-05 23:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":208150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":208150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":208150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552791296001,"66":12743,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552791296001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:13:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:13:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552791296001,"power":12743,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":208150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970480,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:13:07] local.INFO: GPS data processed {"connection_id":208150,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:13:07] local.INFO: Acknowledgment sent {"connection_id":208150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:13:30] local.INFO: TCP Data received {"connection_id":206553,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:13:30] local.INFO: Processing buffer {"connection_id":206553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:13:30] local.INFO: IMEI packet received {"connection_id":206553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":206553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:13:35] local.INFO: TCP Data received {"connection_id":206553,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:13:35] local.INFO: Processing buffer {"connection_id":206553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:13:35] local.INFO: IMEI packet received {"connection_id":206553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":206553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:13:36] local.INFO: TCP Data received {"connection_id":206553,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:13:36] local.INFO: Processing buffer {"connection_id":206553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:13:36] local.INFO: Packet analysis {"connection_id":206553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d28"} 
[2026-10-05 23:13:36] local.INFO: Extracted packet for processing {"connection_id":206553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d28"} 
[2026-10-05 23:13:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552791296001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791222142000,"timestamp_ms":1791222142000,"timestamp_seconds":1791222142,"priority":1,"record_length":96,"hex_timestamp":"000001a10d28d430"} 
[2026-10-05 23:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:13:36] 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-10-05 23: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-10-05 23:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552791296001,"66":12743,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552791296001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:13:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:13:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552791296001,"power":12743,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":206553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:13:36] local.INFO: GPS data processed {"connection_id":206553,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:13:36] local.INFO: Acknowledgment sent {"connection_id":206553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:14:07] local.INFO: TCP Data received {"connection_id":206553,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:14:07] local.INFO: Processing buffer {"connection_id":206553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:14:07] local.INFO: Packet analysis {"connection_id":206553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d28"} 
[2026-10-05 23:14:07] local.INFO: Extracted packet for processing {"connection_id":206553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d28"} 
[2026-10-05 23:14:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552791296001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791222142000,"timestamp_ms":1791222142000,"timestamp_seconds":1791222142,"priority":1,"record_length":96,"hex_timestamp":"000001a10d28d430"} 
[2026-10-05 23:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:14: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-10-05 23: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-10-05 23:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":206553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":206553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":206553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552791296001,"66":12743,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552791296001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:14:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:14:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552791296001,"power":12743,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":206553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970482,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:14:07] local.INFO: GPS data processed {"connection_id":206553,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:14:07] local.INFO: Acknowledgment sent {"connection_id":206553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:14:35] local.INFO: TCP Data received {"connection_id":206554,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:14:35] local.INFO: Processing buffer {"connection_id":206554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:14:35] local.INFO: IMEI packet received {"connection_id":206554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":206554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:14:40] local.INFO: TCP Data received {"connection_id":206554,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:14:40] local.INFO: Processing buffer {"connection_id":206554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:14:40] local.INFO: IMEI packet received {"connection_id":206554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":206554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:14:41] local.INFO: TCP Data received {"connection_id":206554,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:14:41] local.INFO: Processing buffer {"connection_id":206554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:14:41] local.INFO: Packet analysis {"connection_id":206554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d28"} 
[2026-10-05 23:14:41] local.INFO: Extracted packet for processing {"connection_id":206554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d28"} 
[2026-10-05 23:14:41] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:14: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-10-05 23:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552791296001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791222142000,"timestamp_ms":1791222142000,"timestamp_seconds":1791222142,"priority":1,"record_length":96,"hex_timestamp":"000001a10d28d430"} 
[2026-10-05 23:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:14:41] 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-10-05 23:14: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-10-05 23:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":206554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":206554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":206554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552791296001,"66":12743,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552791296001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:14:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552791296001,"power":12743,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":206554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:14:42] local.INFO: GPS data processed {"connection_id":206554,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:14:42] local.INFO: Acknowledgment sent {"connection_id":206554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:14:46] local.INFO: TCP Data received {"connection_id":206554,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:14:46] local.INFO: Processing buffer {"connection_id":206554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:14:46] local.INFO: Packet analysis {"connection_id":206554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d28"} 
[2026-10-05 23:14:46] local.INFO: Extracted packet for processing {"connection_id":206554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d28"} 
[2026-10-05 23:14:46] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:14: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-10-05 23:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552791296001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791222142000,"timestamp_ms":1791222142000,"timestamp_seconds":1791222142,"priority":1,"record_length":96,"hex_timestamp":"000001a10d28d430"} 
[2026-10-05 23:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:14:46] 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-10-05 23:14: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-10-05 23:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":206554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":206554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":206554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552791296001,"66":12743,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552791296001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:14:46] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:14:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552791296001,"power":12743,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":206554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970484,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:14:46] local.INFO: GPS data processed {"connection_id":206554,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:14:46] local.INFO: Acknowledgment sent {"connection_id":206554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:14:51] local.INFO: TCP Data received {"connection_id":208152,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208152,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:14:51] local.INFO: Processing buffer {"connection_id":208152,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:14:51] local.INFO: IMEI packet received {"connection_id":208152,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 23:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":208152,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:15:30] local.INFO: TCP Data received {"connection_id":208153,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:15:30] local.INFO: Processing buffer {"connection_id":208153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:15:30] local.INFO: IMEI packet received {"connection_id":208153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":208153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:15:34] local.INFO: TCP Data received {"connection_id":208154,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:15:34] local.INFO: Processing buffer {"connection_id":208154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:15:34] local.INFO: IMEI packet received {"connection_id":208154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":208154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:15:35] local.INFO: TCP Data received {"connection_id":208153,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:15:35] local.INFO: Processing buffer {"connection_id":208153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:15:35] local.INFO: IMEI packet received {"connection_id":208153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":208153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:15:40] local.INFO: TCP Data received {"connection_id":208153,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:15:40] local.INFO: Processing buffer {"connection_id":208153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:15:40] local.INFO: IMEI packet received {"connection_id":208153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":208153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:15:41] local.INFO: TCP Data received {"connection_id":208153,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:15:41] local.INFO: Processing buffer {"connection_id":208153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:15:41] local.INFO: Packet analysis {"connection_id":208153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d28"} 
[2026-10-05 23:15:41] local.INFO: Extracted packet for processing {"connection_id":208153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d28"} 
[2026-10-05 23:15:41] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:15: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-10-05 23:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552791296001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791222142000,"timestamp_ms":1791222142000,"timestamp_seconds":1791222142,"priority":1,"record_length":96,"hex_timestamp":"000001a10d28d430"} 
[2026-10-05 23:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:15:41] 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-10-05 23:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":208153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":208153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":208153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552791296001,"66":12743,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552791296001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:15:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:15:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552791296001,"power":12743,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":208153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970485,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:15:41] local.INFO: GPS data processed {"connection_id":208153,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:15:41] local.INFO: Acknowledgment sent {"connection_id":208153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:16:03] local.INFO: TCP Data received {"connection_id":205169,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:16:03] local.INFO: Processing buffer {"connection_id":205169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:16:03] local.INFO: IMEI packet received {"connection_id":205169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":205169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:16:13] local.INFO: TCP Data received {"connection_id":208153,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:16:13] local.INFO: Processing buffer {"connection_id":208153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:16:13] local.INFO: Packet analysis {"connection_id":208153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d28"} 
[2026-10-05 23:16:13] local.INFO: Extracted packet for processing {"connection_id":208153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d28"} 
[2026-10-05 23:16:13] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:16: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-10-05 23:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552791296001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1791222142000,"timestamp_ms":1791222142000,"timestamp_seconds":1791222142,"priority":1,"record_length":96,"hex_timestamp":"000001a10d28d430"} 
[2026-10-05 23:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:16: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-10-05 23:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":208153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":208153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":208153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552791296001,"66":12743,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552791296001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:16:13] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:16:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552791296001,"power":12743,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":208153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970486,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:16:13] local.INFO: GPS data processed {"connection_id":208153,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:16:13] local.INFO: Acknowledgment sent {"connection_id":208153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:16:16] local.INFO: TCP Data received {"connection_id":205169,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:16:16] local.INFO: Processing buffer {"connection_id":205169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:16:16] local.INFO: IMEI packet received {"connection_id":205169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":205169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:16:18] local.INFO: TCP Data received {"connection_id":205169,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10d26cca8012d77a48005f2a4c0000f001e26..."} 
[2026-10-05 23:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d26cca8012d77a48005f2a4c0000f001e26..."} 
[2026-10-05 23:16:18] local.INFO: Processing buffer {"connection_id":205169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d26cca8012d77a48005f2a4c0000f001e26..."} 
[2026-10-05 23:16:18] local.INFO: Packet analysis {"connection_id":205169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d26"} 
[2026-10-05 23:16:18] local.INFO: Extracted packet for processing {"connection_id":205169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d26"} 
[2026-10-05 23:16:18] local.INFO: GPS Element Parsed {"raw_longitude":762815616,"raw_latitude":99787968,"longitude_deg":76.2815616,"latitude_deg":9.9787968,"altitude":15,"angle":30,"satellites":38,"speed":9,"hex_longitude":"2d77a480","hex_latitude":"05f2a4c0","is_valid_coordinates":true} 
[2026-10-05 23:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552834048001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2245932888358912,"note":"Value kept but may cause issues"} 
[2026-10-05 23:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983818240,"note":"Value kept but may cause issues"} 
[2026-10-05 23:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1791222009000,"timestamp_ms":1791222009000,"timestamp_seconds":1791222009,"priority":1,"record_length":96,"hex_timestamp":"000001a10d26cca8"} 
[2026-10-05 23:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 23:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-05 23:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":205169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":205169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":205169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:16:18] 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-10-05 23:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552834048001,"66":27397,"96":206,"87":13568,"24":9,"16":2245932888358912,"45":8621085980983818240},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 23:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552834048001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:16:18] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 23:16:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 23:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2245932888358912,"km_value":2245932888358.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983818240,"description":"Unknown IO ID 45"} 
[2026-10-05 23:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552834048001,"power":27397,"unknown_96":206,"unknown_87":13568,"ignition":9,"odometer":null,"unknown_45":8621085980983818240}} 
[2026-10-05 23:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":205169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:16:18] local.INFO: GPS data processed {"connection_id":205169,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:16:18] local.INFO: Acknowledgment sent {"connection_id":205169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:16:25] local.INFO: TCP Data received {"connection_id":205169,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10d26d090012d77a54005f2a570000f003327..."} 
[2026-10-05 23:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d26d090012d77a54005f2a570000f003327..."} 
[2026-10-05 23:16:25] local.INFO: Processing buffer {"connection_id":205169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d26d090012d77a54005f2a570000f003327..."} 
[2026-10-05 23:16:25] local.INFO: Packet analysis {"connection_id":205169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d26"} 
[2026-10-05 23:16:25] local.INFO: Extracted packet for processing {"connection_id":205169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d26"} 
[2026-10-05 23:16:25] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99788144,"longitude_deg":76.2815808,"latitude_deg":9.9788144,"altitude":15,"angle":51,"satellites":39,"speed":9,"hex_longitude":"2d77a540","hex_latitude":"05f2a570","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552834304001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2245941478293504,"note":"Value kept but may cause issues"} 
[2026-10-05 23:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621156349728047104,"note":"Value kept but may cause issues"} 
[2026-10-05 23:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1791222010000,"timestamp_ms":1791222010000,"timestamp_seconds":1791222010,"priority":1,"record_length":96,"hex_timestamp":"000001a10d26d090"} 
[2026-10-05 23:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-05 23:16: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-10-05 23: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-10-05 23:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":205169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":205169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":205169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552834304001,"66":27843,"96":206,"87":13568,"24":9,"16":2245941478293504,"45":8621156349728047104},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 23:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552834304001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:16:25] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 23:16:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 23:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2245941478293504,"km_value":2245941478293.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621156349728047104,"description":"Unknown IO ID 45"} 
[2026-10-05 23:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552834304001,"power":27843,"unknown_96":206,"unknown_87":13568,"ignition":9,"odometer":null,"unknown_45":8621156349728047104}} 
[2026-10-05 23:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":205169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:16:25] local.INFO: GPS data processed {"connection_id":205169,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:16:25] local.INFO: Acknowledgment sent {"connection_id":205169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:16:30] local.INFO: TCP Data received {"connection_id":206555,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:16:30] local.INFO: Processing buffer {"connection_id":206555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:16:30] local.INFO: IMEI packet received {"connection_id":206555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":206555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:16:35] local.INFO: TCP Data received {"connection_id":206555,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:16:35] local.INFO: Processing buffer {"connection_id":206555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:16:35] local.INFO: IMEI packet received {"connection_id":206555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":206555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:16:36] local.INFO: TCP Data received {"connection_id":206555,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:16:36] local.INFO: Processing buffer {"connection_id":206555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:16:36] local.INFO: Packet analysis {"connection_id":206555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d28"} 
[2026-10-05 23:16:36] local.INFO: Extracted packet for processing {"connection_id":206555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d28"} 
[2026-10-05 23:16:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552791296001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791222142000,"timestamp_ms":1791222142000,"timestamp_seconds":1791222142,"priority":1,"record_length":96,"hex_timestamp":"000001a10d28d430"} 
[2026-10-05 23:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:16:36] 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-10-05 23:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552791296001,"66":12743,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552791296001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:16:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:16:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552791296001,"power":12743,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":206555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970489,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:16:36] local.INFO: GPS data processed {"connection_id":206555,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:16:36] local.INFO: Acknowledgment sent {"connection_id":206555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:17:08] local.INFO: TCP Data received {"connection_id":206555,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:17:08] local.INFO: Processing buffer {"connection_id":206555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d28d430012d7c254005dacc900008015127..."} 
[2026-10-05 23:17:08] local.INFO: Packet analysis {"connection_id":206555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d28"} 
[2026-10-05 23:17:08] local.INFO: Extracted packet for processing {"connection_id":206555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d28"} 
[2026-10-05 23:17:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552791296001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791222142000,"timestamp_ms":1791222142000,"timestamp_seconds":1791222142,"priority":1,"record_length":96,"hex_timestamp":"000001a10d28d430"} 
[2026-10-05 23:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:17: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-10-05 23: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-05 23:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23: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-10-05 23:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552791296001,"66":12743,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552791296001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:17:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:17:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552791296001,"power":12743,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":206555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:17:08] local.INFO: GPS data processed {"connection_id":206555,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:17:08] local.INFO: Acknowledgment sent {"connection_id":206555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:17:30] local.INFO: TCP Data received {"connection_id":205170,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:17:30] local.INFO: Processing buffer {"connection_id":205170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:17:30] local.INFO: IMEI packet received {"connection_id":205170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":205170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:17:35] local.INFO: TCP Data received {"connection_id":205170,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:17:35] local.INFO: Processing buffer {"connection_id":205170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:17:35] local.INFO: IMEI packet received {"connection_id":205170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":205170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:17:36] local.INFO: TCP Data received {"connection_id":205170,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:17:36] local.INFO: Processing buffer {"connection_id":205170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:17:36] local.INFO: Packet analysis {"connection_id":205170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d2d"} 
[2026-10-05 23:17:36] local.INFO: Extracted packet for processing {"connection_id":205170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d2d"} 
[2026-10-05 23:17:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552868352001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791222443000,"timestamp_ms":1791222443000,"timestamp_seconds":1791222443,"priority":1,"record_length":96,"hex_timestamp":"000001a10d2d6bf8"} 
[2026-10-05 23:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 23:17:36] 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-10-05 23:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552868352001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552868352001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:17:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:17:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552868352001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":205170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:17:36] local.INFO: GPS data processed {"connection_id":205170,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:17:36] local.INFO: Acknowledgment sent {"connection_id":205170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:18:08] local.INFO: TCP Data received {"connection_id":205170,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:18:08] local.INFO: Processing buffer {"connection_id":205170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:18:08] local.INFO: Packet analysis {"connection_id":205170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d2d"} 
[2026-10-05 23:18:08] local.INFO: Extracted packet for processing {"connection_id":205170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d2d"} 
[2026-10-05 23:18:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552868352001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791222443000,"timestamp_ms":1791222443000,"timestamp_seconds":1791222443,"priority":1,"record_length":96,"hex_timestamp":"000001a10d2d6bf8"} 
[2026-10-05 23:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:18: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-10-05 23:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 23:18:08] 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-10-05 23:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552868352001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552868352001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:18:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:18:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552868352001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":205170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:18:08] local.INFO: GPS data processed {"connection_id":205170,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:18:08] local.INFO: Acknowledgment sent {"connection_id":205170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:18:35] local.INFO: TCP Data received {"connection_id":206556,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:18:35] local.INFO: Processing buffer {"connection_id":206556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:18:35] local.INFO: IMEI packet received {"connection_id":206556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":206556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:18:40] local.INFO: TCP Data received {"connection_id":206556,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:18:40] local.INFO: Processing buffer {"connection_id":206556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:18:40] local.INFO: IMEI packet received {"connection_id":206556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":206556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:18:41] local.INFO: TCP Data received {"connection_id":206556,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:18:41] local.INFO: Processing buffer {"connection_id":206556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:18:41] local.INFO: Packet analysis {"connection_id":206556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d2d"} 
[2026-10-05 23:18:41] local.INFO: Extracted packet for processing {"connection_id":206556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d2d"} 
[2026-10-05 23:18:41] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552868352001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791222443000,"timestamp_ms":1791222443000,"timestamp_seconds":1791222443,"priority":1,"record_length":96,"hex_timestamp":"000001a10d2d6bf8"} 
[2026-10-05 23:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 23:18:41] 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-10-05 23:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":206556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":206556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":206556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552868352001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552868352001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:18:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:18:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552868352001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":206556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970493,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:18:41] local.INFO: GPS data processed {"connection_id":206556,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:18:41] local.INFO: Acknowledgment sent {"connection_id":206556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:18:46] local.INFO: TCP Data received {"connection_id":206556,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:18:46] local.INFO: Processing buffer {"connection_id":206556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:18:46] local.INFO: Packet analysis {"connection_id":206556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d2d"} 
[2026-10-05 23:18:46] local.INFO: Extracted packet for processing {"connection_id":206556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d2d"} 
[2026-10-05 23:18:46] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552868352001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791222443000,"timestamp_ms":1791222443000,"timestamp_seconds":1791222443,"priority":1,"record_length":96,"hex_timestamp":"000001a10d2d6bf8"} 
[2026-10-05 23:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 23:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":206556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":206556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":206556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:18:46] 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-10-05 23:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552868352001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552868352001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:18:46] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:18:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552868352001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":206556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:18:46] local.INFO: GPS data processed {"connection_id":206556,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:18:46] local.INFO: Acknowledgment sent {"connection_id":206556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:19:30] local.INFO: TCP Data received {"connection_id":205058,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:19:30] local.INFO: Processing buffer {"connection_id":205058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:19:30] local.INFO: IMEI packet received {"connection_id":205058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":205058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:19:35] local.INFO: TCP Data received {"connection_id":205058,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:19:35] local.INFO: Processing buffer {"connection_id":205058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:19:35] local.INFO: IMEI packet received {"connection_id":205058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":205058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:19:36] local.INFO: TCP Data received {"connection_id":205058,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:19:36] local.INFO: Processing buffer {"connection_id":205058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:19:36] local.INFO: Packet analysis {"connection_id":205058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d2d"} 
[2026-10-05 23:19:36] local.INFO: Extracted packet for processing {"connection_id":205058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d2d"} 
[2026-10-05 23:19:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552868352001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791222443000,"timestamp_ms":1791222443000,"timestamp_seconds":1791222443,"priority":1,"record_length":96,"hex_timestamp":"000001a10d2d6bf8"} 
[2026-10-05 23:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 23:19:36] 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-10-05 23:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:19: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-10-05 23:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552868352001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552868352001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:19:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:19:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552868352001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":205058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:19:36] local.INFO: GPS data processed {"connection_id":205058,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:19:36] local.INFO: Acknowledgment sent {"connection_id":205058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:20:03] local.INFO: TCP Data received {"connection_id":208157,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208157,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:20:03] local.INFO: Processing buffer {"connection_id":208157,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:20:03] local.INFO: IMEI packet received {"connection_id":208157,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 23:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":208157,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:20:07] local.INFO: TCP Data received {"connection_id":205058,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:20:07] local.INFO: Processing buffer {"connection_id":205058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:20:07] local.INFO: Packet analysis {"connection_id":205058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d2d"} 
[2026-10-05 23:20:07] local.INFO: Extracted packet for processing {"connection_id":205058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d2d"} 
[2026-10-05 23:20:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552868352001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791222443000,"timestamp_ms":1791222443000,"timestamp_seconds":1791222443,"priority":1,"record_length":96,"hex_timestamp":"000001a10d2d6bf8"} 
[2026-10-05 23:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 23:20:07] 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-10-05 23: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-10-05 23:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:20:07] 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-10-05 23:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552868352001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552868352001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:20:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:20:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552868352001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":205058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970496,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:20:07] local.INFO: GPS data processed {"connection_id":205058,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:20:07] local.INFO: Acknowledgment sent {"connection_id":205058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:20:30] local.INFO: TCP Data received {"connection_id":205171,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:20:30] local.INFO: Processing buffer {"connection_id":205171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:20:30] local.INFO: IMEI packet received {"connection_id":205171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":205171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:20:33] local.INFO: TCP Data received {"connection_id":205172,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205172,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:20:33] local.INFO: Processing buffer {"connection_id":205172,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:20:33] local.INFO: IMEI packet received {"connection_id":205172,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 23:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":205172,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:20:35] local.INFO: TCP Data received {"connection_id":205171,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:20:35] local.INFO: Processing buffer {"connection_id":205171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:20:35] local.INFO: IMEI packet received {"connection_id":205171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":205171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:20:36] local.INFO: TCP Data received {"connection_id":205171,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:20:36] local.INFO: Processing buffer {"connection_id":205171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:20:36] local.INFO: Packet analysis {"connection_id":205171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d2d"} 
[2026-10-05 23:20:36] local.INFO: Extracted packet for processing {"connection_id":205171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d2d"} 
[2026-10-05 23:20:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552868352001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791222443000,"timestamp_ms":1791222443000,"timestamp_seconds":1791222443,"priority":1,"record_length":96,"hex_timestamp":"000001a10d2d6bf8"} 
[2026-10-05 23:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 23:20:36] 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-10-05 23:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552868352001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552868352001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:20:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:20:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552868352001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":205171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:20:36] local.INFO: GPS data processed {"connection_id":205171,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:20:36] local.INFO: Acknowledgment sent {"connection_id":205171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:21:08] local.INFO: TCP Data received {"connection_id":205171,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:21:08] local.INFO: Processing buffer {"connection_id":205171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:21:08] local.INFO: Packet analysis {"connection_id":205171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d2d"} 
[2026-10-05 23:21:08] local.INFO: Extracted packet for processing {"connection_id":205171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d2d"} 
[2026-10-05 23:21:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552868352001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791222443000,"timestamp_ms":1791222443000,"timestamp_seconds":1791222443,"priority":1,"record_length":96,"hex_timestamp":"000001a10d2d6bf8"} 
[2026-10-05 23:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:21: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-10-05 23:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 23:21:08] 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-10-05 23:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552868352001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552868352001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:21:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:21:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552868352001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":205171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:21:08] local.INFO: GPS data processed {"connection_id":205171,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:21:08] local.INFO: Acknowledgment sent {"connection_id":205171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:21:09] local.INFO: TCP Data received {"connection_id":206557,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:21:09] local.INFO: Processing buffer {"connection_id":206557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:21:09] local.INFO: IMEI packet received {"connection_id":206557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":206557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:21:15] local.INFO: TCP Data received {"connection_id":206557,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:21:15] local.INFO: Processing buffer {"connection_id":206557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:21:15] local.INFO: IMEI packet received {"connection_id":206557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":206557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:21:31] local.INFO: TCP Data received {"connection_id":208158,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:21:31] local.INFO: Processing buffer {"connection_id":208158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:21:31] local.INFO: IMEI packet received {"connection_id":208158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":208158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:21:35] local.INFO: TCP Data received {"connection_id":208158,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:21:35] local.INFO: Processing buffer {"connection_id":208158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:21:35] local.INFO: IMEI packet received {"connection_id":208158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":208158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:21:36] local.INFO: TCP Data received {"connection_id":208158,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:21:36] local.INFO: Processing buffer {"connection_id":208158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:21:36] local.INFO: Packet analysis {"connection_id":208158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d2d"} 
[2026-10-05 23:21:36] local.INFO: Extracted packet for processing {"connection_id":208158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d2d"} 
[2026-10-05 23:21:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552868352001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791222443000,"timestamp_ms":1791222443000,"timestamp_seconds":1791222443,"priority":1,"record_length":96,"hex_timestamp":"000001a10d2d6bf8"} 
[2026-10-05 23:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 23:21:36] 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-10-05 23: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-10-05 23:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552868352001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552868352001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:21:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:21:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552868352001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":208158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970499,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:21:36] local.INFO: GPS data processed {"connection_id":208158,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:21:36] local.INFO: Acknowledgment sent {"connection_id":208158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:21:38] local.INFO: TCP Data received {"connection_id":206557,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:21:38] local.INFO: Processing buffer {"connection_id":206557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:21:38] local.INFO: IMEI packet received {"connection_id":206557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":206557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:21:42] local.INFO: TCP Data received {"connection_id":206557,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10d26d478012d77a60005f2a5b8000e004927..."} 
[2026-10-05 23:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d26d478012d77a60005f2a5b8000e004927..."} 
[2026-10-05 23:21:42] local.INFO: Processing buffer {"connection_id":206557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d26d478012d77a60005f2a5b8000e004927..."} 
[2026-10-05 23:21:42] local.INFO: Packet analysis {"connection_id":206557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d26"} 
[2026-10-05 23:21:42] local.INFO: Extracted packet for processing {"connection_id":206557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d26"} 
[2026-10-05 23:21:42] local.INFO: GPS Element Parsed {"raw_longitude":762816000,"raw_latitude":99788216,"longitude_deg":76.2816,"latitude_deg":9.9788216,"altitude":14,"angle":73,"satellites":39,"speed":9,"hex_longitude":"2d77a600","hex_latitude":"05f2a5b8","is_valid_coordinates":true} 
[2026-10-05 23:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552834560001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2245954363195392,"note":"Value kept but may cause issues"} 
[2026-10-05 23:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455960625152,"note":"Value kept but may cause issues"} 
[2026-10-05 23:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1791222011000,"timestamp_ms":1791222011000,"timestamp_seconds":1791222011,"priority":1,"record_length":96,"hex_timestamp":"000001a10d26d478"} 
[2026-10-05 23:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:21: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-10-05 23:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-10-05 23:21:42] 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-10-05 23:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":206557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":206557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":206557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:21:42] 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-10-05 23:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552834560001,"66":27843,"96":206,"87":13568,"24":9,"16":2245954363195392,"45":8621367455960625152},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 23:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552834560001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:21:42] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 23:21:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 23:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2245954363195392,"km_value":2245954363195.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455960625152,"description":"Unknown IO ID 45"} 
[2026-10-05 23:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552834560001,"power":27843,"unknown_96":206,"unknown_87":13568,"ignition":9,"odometer":null,"unknown_45":8621367455960625152}} 
[2026-10-05 23:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":206557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:21:42] local.INFO: GPS data processed {"connection_id":206557,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:21:42] local.INFO: Acknowledgment sent {"connection_id":206557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:22:08] local.INFO: TCP Data received {"connection_id":208158,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:22:08] local.INFO: Processing buffer {"connection_id":208158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d2d6bf8012d7c254005dacc900008015127..."} 
[2026-10-05 23:22:08] local.INFO: Packet analysis {"connection_id":208158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d2d"} 
[2026-10-05 23:22:08] local.INFO: Extracted packet for processing {"connection_id":208158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d2d"} 
[2026-10-05 23:22:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552868352001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791222443000,"timestamp_ms":1791222443000,"timestamp_seconds":1791222443,"priority":1,"record_length":96,"hex_timestamp":"000001a10d2d6bf8"} 
[2026-10-05 23:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:22: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-10-05 23: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-05 23:22:08] 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-10-05 23: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-10-05 23:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":208158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":208158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":208158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552868352001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552868352001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:22:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:22:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552868352001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":208158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:22:08] local.INFO: GPS data processed {"connection_id":208158,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:22:08] local.INFO: Acknowledgment sent {"connection_id":208158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:22:30] local.INFO: TCP Data received {"connection_id":205173,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:22:30] local.INFO: Processing buffer {"connection_id":205173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:22:30] local.INFO: IMEI packet received {"connection_id":205173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":205173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:22:35] local.INFO: TCP Data received {"connection_id":205173,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:22:35] local.INFO: Processing buffer {"connection_id":205173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:22:35] local.INFO: IMEI packet received {"connection_id":205173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":205173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:22:36] local.INFO: TCP Data received {"connection_id":205173,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:22:36] local.INFO: Processing buffer {"connection_id":205173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:22:36] local.INFO: Packet analysis {"connection_id":205173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d32"} 
[2026-10-05 23:22:36] local.INFO: Extracted packet for processing {"connection_id":205173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d32"} 
[2026-10-05 23:22:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552945408001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791222744000,"timestamp_ms":1791222744000,"timestamp_seconds":1791222744,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3203c0"} 
[2026-10-05 23:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 23:22:36] 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-10-05 23: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-10-05 23:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23: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-10-05 23:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552945408001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552945408001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:22:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:22:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552945408001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":205173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970502,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:22:36] local.INFO: GPS data processed {"connection_id":205173,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:22:36] local.INFO: Acknowledgment sent {"connection_id":205173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:23:08] local.INFO: TCP Data received {"connection_id":205173,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:23:08] local.INFO: Processing buffer {"connection_id":205173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:23:08] local.INFO: Packet analysis {"connection_id":205173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d32"} 
[2026-10-05 23:23:08] local.INFO: Extracted packet for processing {"connection_id":205173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d32"} 
[2026-10-05 23:23:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552945408001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791222744000,"timestamp_ms":1791222744000,"timestamp_seconds":1791222744,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3203c0"} 
[2026-10-05 23:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:23: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-10-05 23: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 23:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23: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-10-05 23:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552945408001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552945408001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:23:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:23:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552945408001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":205173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:23:08] local.INFO: GPS data processed {"connection_id":205173,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:23:08] local.INFO: Acknowledgment sent {"connection_id":205173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:23:35] local.INFO: TCP Data received {"connection_id":205059,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:23:35] local.INFO: Processing buffer {"connection_id":205059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:23:35] local.INFO: IMEI packet received {"connection_id":205059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":205059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:23:40] local.INFO: TCP Data received {"connection_id":205059,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:23:40] local.INFO: Processing buffer {"connection_id":205059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:23:40] local.INFO: IMEI packet received {"connection_id":205059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":205059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:23:41] local.INFO: TCP Data received {"connection_id":205059,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:23:41] local.INFO: Processing buffer {"connection_id":205059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:23:41] local.INFO: Packet analysis {"connection_id":205059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d32"} 
[2026-10-05 23:23:41] local.INFO: Extracted packet for processing {"connection_id":205059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d32"} 
[2026-10-05 23:23:41] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552945408001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791222744000,"timestamp_ms":1791222744000,"timestamp_seconds":1791222744,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3203c0"} 
[2026-10-05 23:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 23:23:41] 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-10-05 23:23: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-10-05 23:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":205059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":205059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":205059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:23:41] 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-10-05 23:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552945408001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552945408001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:23:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:23:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552945408001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":205059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:23:41] local.INFO: GPS data processed {"connection_id":205059,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:23:41] local.INFO: Acknowledgment sent {"connection_id":205059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:23:46] local.INFO: TCP Data received {"connection_id":205059,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:23:46] local.INFO: Processing buffer {"connection_id":205059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:23:46] local.INFO: Packet analysis {"connection_id":205059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d32"} 
[2026-10-05 23:23:46] local.INFO: Extracted packet for processing {"connection_id":205059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d32"} 
[2026-10-05 23:23:46] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552945408001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791222744000,"timestamp_ms":1791222744000,"timestamp_seconds":1791222744,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3203c0"} 
[2026-10-05 23:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 23:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":205059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":205059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":205059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:23:46] 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-10-05 23:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552945408001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552945408001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:23:46] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:23:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552945408001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":205059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:23:46] local.INFO: GPS data processed {"connection_id":205059,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:23:46] local.INFO: Acknowledgment sent {"connection_id":205059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:24:30] local.INFO: TCP Data received {"connection_id":205175,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:24:30] local.INFO: Processing buffer {"connection_id":205175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:24:30] local.INFO: IMEI packet received {"connection_id":205175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":205175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:24:35] local.INFO: TCP Data received {"connection_id":205175,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:24:35] local.INFO: Processing buffer {"connection_id":205175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:24:35] local.INFO: IMEI packet received {"connection_id":205175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":205175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:24:36] local.INFO: TCP Data received {"connection_id":205175,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:24:36] local.INFO: Processing buffer {"connection_id":205175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:24:36] local.INFO: Packet analysis {"connection_id":205175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d32"} 
[2026-10-05 23:24:36] local.INFO: Extracted packet for processing {"connection_id":205175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d32"} 
[2026-10-05 23:24:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552945408001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791222744000,"timestamp_ms":1791222744000,"timestamp_seconds":1791222744,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3203c0"} 
[2026-10-05 23:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 23:24:36] 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-10-05 23: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-10-05 23:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:24: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-10-05 23:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552945408001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552945408001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:24:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:24:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552945408001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":205175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:24:36] local.INFO: GPS data processed {"connection_id":205175,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:24:36] local.INFO: Acknowledgment sent {"connection_id":205175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:25:08] local.INFO: TCP Data received {"connection_id":205175,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:25:08] local.INFO: Processing buffer {"connection_id":205175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:25:08] local.INFO: Packet analysis {"connection_id":205175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d32"} 
[2026-10-05 23:25:08] local.INFO: Extracted packet for processing {"connection_id":205175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d32"} 
[2026-10-05 23:25:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552945408001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791222744000,"timestamp_ms":1791222744000,"timestamp_seconds":1791222744,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3203c0"} 
[2026-10-05 23:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:25: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-10-05 23:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 23:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552945408001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552945408001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:25:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:25:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552945408001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":205175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:25:08] local.INFO: GPS data processed {"connection_id":205175,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:25:08] local.INFO: Acknowledgment sent {"connection_id":205175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:25:30] local.INFO: TCP Data received {"connection_id":208159,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:25:30] local.INFO: Processing buffer {"connection_id":208159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:25:30] local.INFO: IMEI packet received {"connection_id":208159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":208159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:25:35] local.INFO: TCP Data received {"connection_id":208159,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:25:35] local.INFO: Processing buffer {"connection_id":208159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:25:35] local.INFO: IMEI packet received {"connection_id":208159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":208159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:25:36] local.INFO: TCP Data received {"connection_id":208159,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:25:36] local.INFO: Processing buffer {"connection_id":208159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:25:36] local.INFO: Packet analysis {"connection_id":208159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d32"} 
[2026-10-05 23:25:36] local.INFO: Extracted packet for processing {"connection_id":208159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d32"} 
[2026-10-05 23:25:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552945408001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791222744000,"timestamp_ms":1791222744000,"timestamp_seconds":1791222744,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3203c0"} 
[2026-10-05 23:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 23:25:36] 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-10-05 23:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:25: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-10-05 23:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552945408001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552945408001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:25:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:25:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552945408001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":208159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:25:36] local.INFO: GPS data processed {"connection_id":208159,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:25:36] local.INFO: Acknowledgment sent {"connection_id":208159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:25:58] local.INFO: TCP Data received {"connection_id":205177,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:25:58] local.INFO: Processing buffer {"connection_id":205177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:25:58] local.INFO: IMEI packet received {"connection_id":205177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 23:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":205177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:26:07] local.INFO: TCP Data received {"connection_id":208159,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:26:07] local.INFO: Processing buffer {"connection_id":208159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:26:07] local.INFO: Packet analysis {"connection_id":208159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d32"} 
[2026-10-05 23:26:07] local.INFO: Extracted packet for processing {"connection_id":208159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d32"} 
[2026-10-05 23:26:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552945408001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791222744000,"timestamp_ms":1791222744000,"timestamp_seconds":1791222744,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3203c0"} 
[2026-10-05 23:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 23:26: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-10-05 23: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-10-05 23:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":208159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":208159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":208159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:26: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-10-05 23:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552945408001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552945408001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:26:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:26:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552945408001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":208159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:26:07] local.INFO: GPS data processed {"connection_id":208159,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:26:07] local.INFO: Acknowledgment sent {"connection_id":208159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:26:17] local.INFO: TCP Data received {"connection_id":206559,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:26:17] local.INFO: Processing buffer {"connection_id":206559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:26:17] local.INFO: IMEI packet received {"connection_id":206559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":206559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:26:18] local.INFO: TCP Data received {"connection_id":206559,"ip":"42.106.6.33","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 23:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206559,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 23:26:18] local.INFO: Processing buffer {"connection_id":206559,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-05 23:26:18] local.INFO: IMEI packet received {"connection_id":206559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":206559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:26:31] local.INFO: TCP Data received {"connection_id":208160,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:26:31] local.INFO: Processing buffer {"connection_id":208160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:26:31] local.INFO: IMEI packet received {"connection_id":208160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":208160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:26:35] local.INFO: TCP Data received {"connection_id":208160,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:26:35] local.INFO: Processing buffer {"connection_id":208160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:26:35] local.INFO: IMEI packet received {"connection_id":208160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":208160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:26:36] local.INFO: TCP Data received {"connection_id":208160,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:26:36] local.INFO: Processing buffer {"connection_id":208160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:26:36] local.INFO: Packet analysis {"connection_id":208160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d32"} 
[2026-10-05 23:26:36] local.INFO: Extracted packet for processing {"connection_id":208160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d32"} 
[2026-10-05 23:26:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552945408001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791222744000,"timestamp_ms":1791222744000,"timestamp_seconds":1791222744,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3203c0"} 
[2026-10-05 23:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 23:26:36] 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-10-05 23: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-10-05 23:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:26: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-10-05 23:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552945408001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552945408001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:26:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:26:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552945408001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":208160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970510,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:26:36] local.INFO: GPS data processed {"connection_id":208160,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:26:36] local.INFO: Acknowledgment sent {"connection_id":208160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:26:38] local.INFO: TCP Data received {"connection_id":206560,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:26:38] local.INFO: Processing buffer {"connection_id":206560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:26:38] local.INFO: IMEI packet received {"connection_id":206560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 23:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":206560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:27:08] local.INFO: TCP Data received {"connection_id":208160,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:27:08] local.INFO: Processing buffer {"connection_id":208160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3203c0012d7c254005dacc900008015125..."} 
[2026-10-05 23:27:08] local.INFO: Packet analysis {"connection_id":208160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d32"} 
[2026-10-05 23:27:08] local.INFO: Extracted packet for processing {"connection_id":208160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d32"} 
[2026-10-05 23:27:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552945408001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791222744000,"timestamp_ms":1791222744000,"timestamp_seconds":1791222744,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3203c0"} 
[2026-10-05 23:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:27: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-10-05 23:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 23:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":208160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":208160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":208160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552945408001,"66":12722,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552945408001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:27:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:27:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552945408001,"power":12722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":208160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970511,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:27:08] local.INFO: GPS data processed {"connection_id":208160,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:27:08] local.INFO: Acknowledgment sent {"connection_id":208160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:27:30] local.INFO: TCP Data received {"connection_id":205178,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:27:30] local.INFO: Processing buffer {"connection_id":205178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:27:30] local.INFO: IMEI packet received {"connection_id":205178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":205178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:27:35] local.INFO: TCP Data received {"connection_id":205178,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:27:35] local.INFO: Processing buffer {"connection_id":205178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:27:35] local.INFO: IMEI packet received {"connection_id":205178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":205178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:27:36] local.INFO: TCP Data received {"connection_id":205178,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:27:36] local.INFO: Processing buffer {"connection_id":205178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:27:36] local.INFO: Packet analysis {"connection_id":205178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d36"} 
[2026-10-05 23:27:36] local.INFO: Extracted packet for processing {"connection_id":205178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d36"} 
[2026-10-05 23:27:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553022464001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791223044000,"timestamp_ms":1791223044000,"timestamp_seconds":1791223044,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3697a0"} 
[2026-10-05 23:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 23:27:36] 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-10-05 23:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:27: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-10-05 23:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553022464001,"66":12689,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553022464001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:27:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:27:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553022464001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":205178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:27:36] local.INFO: GPS data processed {"connection_id":205178,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:27:36] local.INFO: Acknowledgment sent {"connection_id":205178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:28:08] local.INFO: TCP Data received {"connection_id":205178,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:28:08] local.INFO: Processing buffer {"connection_id":205178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:28:08] local.INFO: Packet analysis {"connection_id":205178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d36"} 
[2026-10-05 23:28:08] local.INFO: Extracted packet for processing {"connection_id":205178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d36"} 
[2026-10-05 23:28:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553022464001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791223044000,"timestamp_ms":1791223044000,"timestamp_seconds":1791223044,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3697a0"} 
[2026-10-05 23:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:28: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-10-05 23: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 23:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23: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-10-05 23:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553022464001,"66":12689,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553022464001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:28:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:28:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553022464001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":205178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970513,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:28:08] local.INFO: GPS data processed {"connection_id":205178,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:28:08] local.INFO: Acknowledgment sent {"connection_id":205178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:28:35] local.INFO: TCP Data received {"connection_id":206561,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:28:35] local.INFO: Processing buffer {"connection_id":206561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:28:35] local.INFO: IMEI packet received {"connection_id":206561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":206561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:28:40] local.INFO: TCP Data received {"connection_id":206561,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:28:40] local.INFO: Processing buffer {"connection_id":206561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:28:40] local.INFO: IMEI packet received {"connection_id":206561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":206561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:28:41] local.INFO: TCP Data received {"connection_id":206561,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:28:41] local.INFO: Processing buffer {"connection_id":206561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:28:41] local.INFO: Packet analysis {"connection_id":206561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d36"} 
[2026-10-05 23:28:41] local.INFO: Extracted packet for processing {"connection_id":206561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d36"} 
[2026-10-05 23:28:41] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553022464001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791223044000,"timestamp_ms":1791223044000,"timestamp_seconds":1791223044,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3697a0"} 
[2026-10-05 23:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 23:28:41] 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-10-05 23: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-10-05 23:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":206561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":206561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":206561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:28:41] 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-10-05 23:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553022464001,"66":12689,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553022464001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:28:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553022464001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":206561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:28:41] local.INFO: GPS data processed {"connection_id":206561,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:28:41] local.INFO: Acknowledgment sent {"connection_id":206561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:28:46] local.INFO: TCP Data received {"connection_id":206561,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:28:46] local.INFO: Processing buffer {"connection_id":206561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:28:46] local.INFO: Packet analysis {"connection_id":206561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d36"} 
[2026-10-05 23:28:46] local.INFO: Extracted packet for processing {"connection_id":206561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d36"} 
[2026-10-05 23:28:46] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553022464001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791223044000,"timestamp_ms":1791223044000,"timestamp_seconds":1791223044,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3697a0"} 
[2026-10-05 23:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 23:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":206561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":206561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":206561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:28:46] 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-10-05 23:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553022464001,"66":12689,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553022464001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:28:46] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:28:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553022464001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":206561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:28:46] local.INFO: GPS data processed {"connection_id":206561,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:28:46] local.INFO: Acknowledgment sent {"connection_id":206561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:29:30] local.INFO: TCP Data received {"connection_id":206563,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:29:30] local.INFO: Processing buffer {"connection_id":206563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:29:30] local.INFO: IMEI packet received {"connection_id":206563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":206563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:29:35] local.INFO: TCP Data received {"connection_id":206563,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:29:35] local.INFO: Processing buffer {"connection_id":206563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:29:35] local.INFO: IMEI packet received {"connection_id":206563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":206563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:29:36] local.INFO: TCP Data received {"connection_id":206563,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:29:36] local.INFO: Processing buffer {"connection_id":206563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:29:36] local.INFO: Packet analysis {"connection_id":206563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d36"} 
[2026-10-05 23:29:36] local.INFO: Extracted packet for processing {"connection_id":206563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d36"} 
[2026-10-05 23:29:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553022464001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791223044000,"timestamp_ms":1791223044000,"timestamp_seconds":1791223044,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3697a0"} 
[2026-10-05 23:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 23:29:36] 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-10-05 23:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:29: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-10-05 23:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553022464001,"66":12689,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553022464001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:29:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:29:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553022464001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":206563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:29:36] local.INFO: GPS data processed {"connection_id":206563,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:29:36] local.INFO: Acknowledgment sent {"connection_id":206563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:30:08] local.INFO: TCP Data received {"connection_id":206563,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:30:08] local.INFO: Processing buffer {"connection_id":206563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:30:08] local.INFO: Packet analysis {"connection_id":206563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d36"} 
[2026-10-05 23:30:08] local.INFO: Extracted packet for processing {"connection_id":206563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d36"} 
[2026-10-05 23:30:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553022464001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791223044000,"timestamp_ms":1791223044000,"timestamp_seconds":1791223044,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3697a0"} 
[2026-10-05 23:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:30: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-10-05 23:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 23:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553022464001,"66":12689,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553022464001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:30:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:30:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553022464001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":206563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:30:08] local.INFO: GPS data processed {"connection_id":206563,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:30:08] local.INFO: Acknowledgment sent {"connection_id":206563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:30:30] local.INFO: TCP Data received {"connection_id":205179,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:30:30] local.INFO: Processing buffer {"connection_id":205179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:30:30] local.INFO: IMEI packet received {"connection_id":205179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":205179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:30:35] local.INFO: TCP Data received {"connection_id":205179,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:30:35] local.INFO: Processing buffer {"connection_id":205179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:30:35] local.INFO: IMEI packet received {"connection_id":205179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":205179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:30:36] local.INFO: TCP Data received {"connection_id":205179,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:30:36] local.INFO: Processing buffer {"connection_id":205179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:30:36] local.INFO: Packet analysis {"connection_id":205179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d36"} 
[2026-10-05 23:30:36] local.INFO: Extracted packet for processing {"connection_id":205179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d36"} 
[2026-10-05 23:30:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553022464001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791223044000,"timestamp_ms":1791223044000,"timestamp_seconds":1791223044,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3697a0"} 
[2026-10-05 23:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 23:30:36] 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-10-05 23:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553022464001,"66":12689,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553022464001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:30:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:30:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553022464001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":205179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970518,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:30:36] local.INFO: GPS data processed {"connection_id":205179,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:30:36] local.INFO: Acknowledgment sent {"connection_id":205179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:31:07] local.INFO: TCP Data received {"connection_id":205063,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:31:07] local.INFO: Processing buffer {"connection_id":205063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:31:07] local.INFO: IMEI packet received {"connection_id":205063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:31:07] local.ERROR: TCP Connection error {"connection_id":205063,"code":2,"message":"client closed"} 
[2026-10-05 23:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":205063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:31:07] local.INFO: TCP Data received {"connection_id":205179,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:31:07] local.INFO: Processing buffer {"connection_id":205179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:31:07] local.INFO: Packet analysis {"connection_id":205179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d36"} 
[2026-10-05 23:31:07] local.INFO: Extracted packet for processing {"connection_id":205179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d36"} 
[2026-10-05 23:31:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:31: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-10-05 23:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553022464001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791223044000,"timestamp_ms":1791223044000,"timestamp_seconds":1791223044,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3697a0"} 
[2026-10-05 23:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:31: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-10-05 23:31: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-10-05 23:31: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-10-05 23:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:31: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-10-05 23:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553022464001,"66":12689,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553022464001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:31:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:31:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553022464001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":205179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:31:07] local.INFO: GPS data processed {"connection_id":205179,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:31:07] local.INFO: Acknowledgment sent {"connection_id":205179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:31:30] local.INFO: TCP Data received {"connection_id":205064,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:31:30] local.INFO: Processing buffer {"connection_id":205064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:31:30] local.INFO: IMEI packet received {"connection_id":205064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":205064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:31:35] local.INFO: TCP Data received {"connection_id":205064,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:31:35] local.INFO: Processing buffer {"connection_id":205064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:31:35] local.INFO: IMEI packet received {"connection_id":205064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":205064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:31:36] local.INFO: TCP Data received {"connection_id":205064,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:31:36] local.INFO: Processing buffer {"connection_id":205064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:31:36] local.INFO: Packet analysis {"connection_id":205064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d36"} 
[2026-10-05 23:31:36] local.INFO: Extracted packet for processing {"connection_id":205064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d36"} 
[2026-10-05 23:31:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553022464001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791223044000,"timestamp_ms":1791223044000,"timestamp_seconds":1791223044,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3697a0"} 
[2026-10-05 23:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 23:31:36] 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-10-05 23: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-10-05 23:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:31: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-10-05 23:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553022464001,"66":12689,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553022464001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:31:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:31:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553022464001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":205064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970520,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:31:36] local.INFO: GPS data processed {"connection_id":205064,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:31:36] local.INFO: Acknowledgment sent {"connection_id":205064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:32:04] local.INFO: TCP Data received {"connection_id":205065,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205065,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:32:04] local.INFO: Processing buffer {"connection_id":205065,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:32:04] local.INFO: IMEI packet received {"connection_id":205065,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 23:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":205065,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:32:08] local.INFO: TCP Data received {"connection_id":205064,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:32:08] local.INFO: Processing buffer {"connection_id":205064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3697a0012d7c254005dacc900008015128..."} 
[2026-10-05 23:32:08] local.INFO: Packet analysis {"connection_id":205064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d36"} 
[2026-10-05 23:32:08] local.INFO: Extracted packet for processing {"connection_id":205064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d36"} 
[2026-10-05 23:32:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553022464001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791223044000,"timestamp_ms":1791223044000,"timestamp_seconds":1791223044,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3697a0"} 
[2026-10-05 23:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:32: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-10-05 23: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-05 23:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23: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-10-05 23:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553022464001,"66":12689,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553022464001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:32:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:32:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553022464001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":205064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:32:08] local.INFO: GPS data processed {"connection_id":205064,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:32:08] local.INFO: Acknowledgment sent {"connection_id":205064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:32:30] local.INFO: TCP Data received {"connection_id":205066,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:32:30] local.INFO: Processing buffer {"connection_id":205066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:32:30] local.INFO: IMEI packet received {"connection_id":205066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":205066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:32:33] local.INFO: TCP Data received {"connection_id":206564,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:32:33] local.INFO: Processing buffer {"connection_id":206564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:32:33] local.INFO: IMEI packet received {"connection_id":206564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 23:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":206564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:32:35] local.INFO: TCP Data received {"connection_id":205066,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:32:35] local.INFO: Processing buffer {"connection_id":205066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:32:35] local.INFO: IMEI packet received {"connection_id":205066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":205066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:32:36] local.INFO: TCP Data received {"connection_id":205066,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:32:36] local.INFO: Processing buffer {"connection_id":205066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:32:36] local.INFO: Packet analysis {"connection_id":205066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d3b"} 
[2026-10-05 23:32:36] local.INFO: Extracted packet for processing {"connection_id":205066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d3b"} 
[2026-10-05 23:32:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553099264001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791223345000,"timestamp_ms":1791223345000,"timestamp_seconds":1791223345,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3b2f68"} 
[2026-10-05 23:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 23:32:36] 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-10-05 23:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:32: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-10-05 23:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553099264001,"66":12645,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553099264001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:32:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:32:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553099264001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":205066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:32:36] local.INFO: GPS data processed {"connection_id":205066,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:32:36] local.INFO: Acknowledgment sent {"connection_id":205066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:32:39] local.INFO: TCP Data received {"connection_id":206564,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:32:39] local.INFO: Processing buffer {"connection_id":206564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:32:39] local.INFO: IMEI packet received {"connection_id":206564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-05 23:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":206564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:32:41] local.INFO: TCP Data received {"connection_id":206564,"ip":"42.106.6.25","data_length":93,"data_hex":"00000000000000518e01000001a10d38dda80100000000000000000000000000..."} 
[2026-10-05 23:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206564,"packet_length":93,"packet_hex":"00000000000000518e01000001a10d38dda80100000000000000000000000000..."} 
[2026-10-05 23:32:41] local.INFO: Processing buffer {"connection_id":206564,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a10d38dda80100000000000000000000000000..."} 
[2026-10-05 23:32:41] local.INFO: Packet analysis {"connection_id":206564,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a10d38"} 
[2026-10-05 23:32:41] local.INFO: Extracted packet for processing {"connection_id":206564,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a10d38"} 
[2026-10-05 23:32:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-05 23:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-10-05 23:32:41] 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-10-05 23:32:41] 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-10-05 23:32:41] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:32:41] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-10-05 23:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":206564,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-10-05 23:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":206564,"device_imei":"862567071632322","avl_records_count":0} 
[2026-10-05 23:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":206564,"device_imei":"862567071632322","avl_records_count":0} 
[2026-10-05 23:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.25","avl_data_count":0,"parser_version":"unknown"} 
[2026-10-05 23:32:41] local.WARNING: DEBUG: No valid data to process  
[2026-10-05 23:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":206564,"result":{"success":false,"message":"No valid data to process"}} 
[2026-10-05 23:32:41] local.ERROR: GPS data processing failed {"connection_id":206564,"error":"No valid data to process"} 
[2026-10-05 23:32:41] local.INFO: Acknowledgment sent {"connection_id":206564,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-10-05 23:33:07] local.INFO: TCP Data received {"connection_id":205066,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:33:07] local.INFO: Processing buffer {"connection_id":205066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:33:07] local.INFO: Packet analysis {"connection_id":205066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d3b"} 
[2026-10-05 23:33:07] local.INFO: Extracted packet for processing {"connection_id":205066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d3b"} 
[2026-10-05 23:33:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553099264001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791223345000,"timestamp_ms":1791223345000,"timestamp_seconds":1791223345,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3b2f68"} 
[2026-10-05 23:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 23:33: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-10-05 23:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:33: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-10-05 23:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553099264001,"66":12645,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553099264001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:33:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:33:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553099264001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":205066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970523,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:33:07] local.INFO: GPS data processed {"connection_id":205066,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:33:07] local.INFO: Acknowledgment sent {"connection_id":205066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:33:13] local.INFO: TCP Data received {"connection_id":208161,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:33:13] local.INFO: Processing buffer {"connection_id":208161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:33:13] local.INFO: IMEI packet received {"connection_id":208161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 23:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":208161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:33:30] local.INFO: TCP Data received {"connection_id":208162,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:33:30] local.INFO: Processing buffer {"connection_id":208162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:33:30] local.INFO: IMEI packet received {"connection_id":208162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":208162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:33:35] local.INFO: TCP Data received {"connection_id":208162,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:33:35] local.INFO: Processing buffer {"connection_id":208162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:33:35] local.INFO: IMEI packet received {"connection_id":208162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":208162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:33:36] local.INFO: TCP Data received {"connection_id":208162,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:33:36] local.INFO: Processing buffer {"connection_id":208162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:33:36] local.INFO: Packet analysis {"connection_id":208162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d3b"} 
[2026-10-05 23:33:36] local.INFO: Extracted packet for processing {"connection_id":208162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d3b"} 
[2026-10-05 23:33:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553099264001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791223345000,"timestamp_ms":1791223345000,"timestamp_seconds":1791223345,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3b2f68"} 
[2026-10-05 23:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 23:33:36] 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-10-05 23:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:33: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-10-05 23:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553099264001,"66":12645,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553099264001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:33:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:33:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553099264001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":208162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:33:36] local.INFO: GPS data processed {"connection_id":208162,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:33:36] local.INFO: Acknowledgment sent {"connection_id":208162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:34:08] local.INFO: TCP Data received {"connection_id":208162,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:34:08] local.INFO: Processing buffer {"connection_id":208162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:34:08] local.INFO: Packet analysis {"connection_id":208162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d3b"} 
[2026-10-05 23:34:08] local.INFO: Extracted packet for processing {"connection_id":208162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d3b"} 
[2026-10-05 23:34:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553099264001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791223345000,"timestamp_ms":1791223345000,"timestamp_seconds":1791223345,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3b2f68"} 
[2026-10-05 23:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:34: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-10-05 23: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 23:34:08] 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-10-05 23: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-10-05 23:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":208162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":208162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":208162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:34:08] 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-10-05 23:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553099264001,"66":12645,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553099264001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:34:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:34:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553099264001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":208162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:34:08] local.INFO: GPS data processed {"connection_id":208162,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:34:08] local.INFO: Acknowledgment sent {"connection_id":208162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:34:09] local.INFO: TCP Data received {"connection_id":205067,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:34:09] local.INFO: Processing buffer {"connection_id":205067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:34:09] local.INFO: IMEI packet received {"connection_id":205067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 23:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":205067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:34:30] local.INFO: TCP Data received {"connection_id":206565,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206565,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:34:30] local.INFO: Processing buffer {"connection_id":206565,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:34:30] local.INFO: IMEI packet received {"connection_id":206565,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":206565,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:34:35] local.INFO: TCP Data received {"connection_id":206565,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206565,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:34:35] local.INFO: Processing buffer {"connection_id":206565,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:34:35] local.INFO: IMEI packet received {"connection_id":206565,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":206565,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:34:36] local.INFO: TCP Data received {"connection_id":206565,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:34:36] local.INFO: Processing buffer {"connection_id":206565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:34:36] local.INFO: Packet analysis {"connection_id":206565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d3b"} 
[2026-10-05 23:34:36] local.INFO: Extracted packet for processing {"connection_id":206565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d3b"} 
[2026-10-05 23:34:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553099264001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791223345000,"timestamp_ms":1791223345000,"timestamp_seconds":1791223345,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3b2f68"} 
[2026-10-05 23:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 23:34:36] 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-10-05 23:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553099264001,"66":12645,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553099264001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:34:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:34:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553099264001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":206565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:34:36] local.INFO: GPS data processed {"connection_id":206565,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:34:36] local.INFO: Acknowledgment sent {"connection_id":206565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:34:44] local.INFO: TCP Data received {"connection_id":208163,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208163,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:34:44] local.INFO: Processing buffer {"connection_id":208163,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:34:44] local.INFO: IMEI packet received {"connection_id":208163,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 23:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":208163,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:35:07] local.INFO: TCP Data received {"connection_id":206565,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:35:07] local.INFO: Processing buffer {"connection_id":206565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:35:07] local.INFO: Packet analysis {"connection_id":206565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d3b"} 
[2026-10-05 23:35:07] local.INFO: Extracted packet for processing {"connection_id":206565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d3b"} 
[2026-10-05 23:35:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553099264001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791223345000,"timestamp_ms":1791223345000,"timestamp_seconds":1791223345,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3b2f68"} 
[2026-10-05 23:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 23:35: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-10-05 23:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":206565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":206565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":206565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553099264001,"66":12645,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553099264001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:35:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:35:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553099264001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":206565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:35:07] local.INFO: GPS data processed {"connection_id":206565,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:35:07] local.INFO: Acknowledgment sent {"connection_id":206565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:35:30] local.INFO: TCP Data received {"connection_id":205181,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:35:30] local.INFO: Processing buffer {"connection_id":205181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:35:30] local.INFO: IMEI packet received {"connection_id":205181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":205181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:35:35] local.INFO: TCP Data received {"connection_id":205181,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:35:35] local.INFO: Processing buffer {"connection_id":205181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:35:35] local.INFO: IMEI packet received {"connection_id":205181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":205181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:35:36] local.INFO: TCP Data received {"connection_id":205181,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:35:36] local.INFO: Processing buffer {"connection_id":205181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:35:36] local.INFO: Packet analysis {"connection_id":205181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d3b"} 
[2026-10-05 23:35:36] local.INFO: Extracted packet for processing {"connection_id":205181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d3b"} 
[2026-10-05 23:35:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553099264001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791223345000,"timestamp_ms":1791223345000,"timestamp_seconds":1791223345,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3b2f68"} 
[2026-10-05 23:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 23:35:36] 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-10-05 23:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553099264001,"66":12645,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553099264001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:35:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:35:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553099264001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":205181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970528,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:35:36] local.INFO: GPS data processed {"connection_id":205181,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:35:36] local.INFO: Acknowledgment sent {"connection_id":205181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:36:07] local.INFO: TCP Data received {"connection_id":205181,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:36:07] local.INFO: Processing buffer {"connection_id":205181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:36:07] local.INFO: Packet analysis {"connection_id":205181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d3b"} 
[2026-10-05 23:36:07] local.INFO: Extracted packet for processing {"connection_id":205181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d3b"} 
[2026-10-05 23:36:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553099264001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791223345000,"timestamp_ms":1791223345000,"timestamp_seconds":1791223345,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3b2f68"} 
[2026-10-05 23:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 23:36: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-10-05 23: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-10-05 23:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553099264001,"66":12645,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553099264001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:36:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:36:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553099264001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":205181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:36:07] local.INFO: GPS data processed {"connection_id":205181,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:36:07] local.INFO: Acknowledgment sent {"connection_id":205181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:36:30] local.INFO: TCP Data received {"connection_id":206566,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:36:30] local.INFO: Processing buffer {"connection_id":206566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:36:30] local.INFO: IMEI packet received {"connection_id":206566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":206566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:36:35] local.INFO: TCP Data received {"connection_id":206566,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:36:35] local.INFO: Processing buffer {"connection_id":206566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:36:35] local.INFO: IMEI packet received {"connection_id":206566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":206566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:36:36] local.INFO: TCP Data received {"connection_id":206566,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:36:36] local.INFO: Processing buffer {"connection_id":206566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:36:36] local.INFO: Packet analysis {"connection_id":206566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d3b"} 
[2026-10-05 23:36:36] local.INFO: Extracted packet for processing {"connection_id":206566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d3b"} 
[2026-10-05 23:36:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553099264001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791223345000,"timestamp_ms":1791223345000,"timestamp_seconds":1791223345,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3b2f68"} 
[2026-10-05 23:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 23:36:36] 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-10-05 23:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:36: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-10-05 23:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553099264001,"66":12645,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553099264001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:36:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:36:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553099264001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":206566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:36:36] local.INFO: GPS data processed {"connection_id":206566,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:36:36] local.INFO: Acknowledgment sent {"connection_id":206566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:36:59] local.INFO: TCP Data received {"connection_id":208164,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:36:59] local.INFO: Processing buffer {"connection_id":208164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:36:59] local.INFO: IMEI packet received {"connection_id":208164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":208164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:37:04] local.INFO: TCP Data received {"connection_id":208164,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:37:04] local.INFO: Processing buffer {"connection_id":208164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:37:04] local.INFO: IMEI packet received {"connection_id":208164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":208164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:37:05] local.INFO: TCP Data received {"connection_id":208164,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d26dc48012d77a78005f2a5f0000e005527..."} 
[2026-10-05 23:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d26dc48012d77a78005f2a5f0000e005527..."} 
[2026-10-05 23:37:05] local.INFO: Processing buffer {"connection_id":208164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d26dc48012d77a78005f2a5f0000e005527..."} 
[2026-10-05 23:37:05] local.INFO: Packet analysis {"connection_id":208164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d26"} 
[2026-10-05 23:37:05] local.INFO: Extracted packet for processing {"connection_id":208164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d26"} 
[2026-10-05 23:37:05] local.INFO: GPS Element Parsed {"raw_longitude":762816384,"raw_latitude":99788272,"longitude_deg":76.2816384,"latitude_deg":9.9788272,"altitude":14,"angle":85,"satellites":39,"speed":6,"hex_longitude":"2d77a780","hex_latitude":"05f2a5f0","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552834816001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2245971543064576,"note":"Value kept but may cause issues"} 
[2026-10-05 23:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621578562193176576,"note":"Value kept but may cause issues"} 
[2026-10-05 23:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791222013000,"timestamp_ms":1791222013000,"timestamp_seconds":1791222013,"priority":1,"record_length":96,"hex_timestamp":"000001a10d26dc48"} 
[2026-10-05 23:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:37: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-10-05 23:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-10-05 23:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23: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-10-05 23:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":208164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":208164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":208164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552834816001,"66":27800,"96":206,"87":13568,"24":6,"16":2245971543064576,"45":8621578562193176576},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 23:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552834816001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:37:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 23:37:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 23:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2245971543064576,"km_value":2245971543064.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621578562193176576,"description":"Unknown IO ID 45"} 
[2026-10-05 23:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552834816001,"power":27800,"unknown_96":206,"unknown_87":13568,"ignition":6,"odometer":null,"unknown_45":8621578562193176576}} 
[2026-10-05 23:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":208164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:37:05] local.INFO: GPS data processed {"connection_id":208164,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:37:05] local.INFO: Acknowledgment sent {"connection_id":208164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:37:08] local.INFO: TCP Data received {"connection_id":206566,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:37:08] local.INFO: Processing buffer {"connection_id":206566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3b2f68012d7c254005dacc900008015125..."} 
[2026-10-05 23:37:08] local.INFO: Packet analysis {"connection_id":206566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d3b"} 
[2026-10-05 23:37:08] local.INFO: Extracted packet for processing {"connection_id":206566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d3b"} 
[2026-10-05 23:37:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553099264001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791223345000,"timestamp_ms":1791223345000,"timestamp_seconds":1791223345,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3b2f68"} 
[2026-10-05 23:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:37: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-10-05 23:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 23:37:08] 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-10-05 23:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:37: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-10-05 23:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553099264001,"66":12645,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553099264001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:37:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:37:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553099264001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":206566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:37:08] local.INFO: GPS data processed {"connection_id":206566,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:37:08] local.INFO: Acknowledgment sent {"connection_id":206566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:37:09] local.INFO: TCP Data received {"connection_id":208164,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d270b28012d77a78005f2a608000f010526..."} 
[2026-10-05 23:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d270b28012d77a78005f2a608000f010526..."} 
[2026-10-05 23:37:09] local.INFO: Processing buffer {"connection_id":208164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d270b28012d77a78005f2a608000f010526..."} 
[2026-10-05 23:37:09] local.INFO: Packet analysis {"connection_id":208164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d27"} 
[2026-10-05 23:37:09] local.INFO: Extracted packet for processing {"connection_id":208164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d27"} 
[2026-10-05 23:37:09] local.INFO: GPS Element Parsed {"raw_longitude":762816384,"raw_latitude":99788296,"longitude_deg":76.2816384,"latitude_deg":9.9788296,"altitude":15,"angle":261,"satellites":38,"speed":2,"hex_longitude":"2d77a780","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-10-05 23:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552835328001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2245997312868352,"note":"Value kept but may cause issues"} 
[2026-10-05 23:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774658256896,"note":"Value kept but may cause issues"} 
[2026-10-05 23:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791222025000,"timestamp_ms":1791222025000,"timestamp_seconds":1791222025,"priority":1,"record_length":96,"hex_timestamp":"000001a10d270b28"} 
[2026-10-05 23:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:37: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-10-05 23:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-05 23:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":208164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":208164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":208164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552835328001,"66":27745,"96":206,"87":13568,"24":2,"16":2245997312868352,"45":8622000774658256896},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 23:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552835328001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:37:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 23:37:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 23:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2245997312868352,"km_value":2245997312868.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774658256896,"description":"Unknown IO ID 45"} 
[2026-10-05 23:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552835328001,"power":27745,"unknown_96":206,"unknown_87":13568,"ignition":2,"odometer":null,"unknown_45":8622000774658256896}} 
[2026-10-05 23:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":208164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:37:09] local.INFO: GPS data processed {"connection_id":208164,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:37:09] local.INFO: Acknowledgment sent {"connection_id":208164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:37:35] local.INFO: TCP Data received {"connection_id":205182,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205182,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:37:35] local.INFO: Processing buffer {"connection_id":205182,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:37:35] local.INFO: IMEI packet received {"connection_id":205182,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":205182,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:37:40] local.INFO: TCP Data received {"connection_id":205182,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205182,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:37:40] local.INFO: Processing buffer {"connection_id":205182,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:37:40] local.INFO: IMEI packet received {"connection_id":205182,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":205182,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:37:41] local.INFO: TCP Data received {"connection_id":205182,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:37:41] local.INFO: Processing buffer {"connection_id":205182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:37:41] local.INFO: Packet analysis {"connection_id":205182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d3f"} 
[2026-10-05 23:37:41] local.INFO: Extracted packet for processing {"connection_id":205182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d3f"} 
[2026-10-05 23:37:41] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553176320001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791223646000,"timestamp_ms":1791223646000,"timestamp_seconds":1791223646,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3fc730"} 
[2026-10-05 23:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 23:37:41] 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-10-05 23:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":205182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":205182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":205182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:37: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-10-05 23:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553176320001,"66":12689,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553176320001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:37:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:37:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553176320001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":205182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:37:41] local.INFO: GPS data processed {"connection_id":205182,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:37:41] local.INFO: Acknowledgment sent {"connection_id":205182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:37:45] local.INFO: TCP Data received {"connection_id":205182,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:37:45] local.INFO: Processing buffer {"connection_id":205182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:37:45] local.INFO: Packet analysis {"connection_id":205182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d3f"} 
[2026-10-05 23:37:45] local.INFO: Extracted packet for processing {"connection_id":205182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d3f"} 
[2026-10-05 23:37:45] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553176320001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1791223646000,"timestamp_ms":1791223646000,"timestamp_seconds":1791223646,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3fc730"} 
[2026-10-05 23:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 23:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:37:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":205182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":205182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":205182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:37:45] 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-10-05 23:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553176320001,"66":12689,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553176320001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:37:45] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:37:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553176320001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":205182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:37:45] local.INFO: GPS data processed {"connection_id":205182,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:37:45] local.INFO: Acknowledgment sent {"connection_id":205182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:37:54] local.INFO: TCP Data received {"connection_id":206567,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:37:54] local.INFO: Processing buffer {"connection_id":206567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:37:54] local.INFO: IMEI packet received {"connection_id":206567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":206567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:37:59] local.INFO: TCP Data received {"connection_id":206567,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:37:59] local.INFO: Processing buffer {"connection_id":206567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:37:59] local.INFO: IMEI packet received {"connection_id":206567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":206567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:37:59] local.INFO: TCP Data received {"connection_id":206567,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d271eb0012d77a54005f2a578000f011227..."} 
[2026-10-05 23:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d271eb0012d77a54005f2a578000f011227..."} 
[2026-10-05 23:37:59] local.INFO: Processing buffer {"connection_id":206567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d271eb0012d77a54005f2a578000f011227..."} 
[2026-10-05 23:37:59] local.INFO: Packet analysis {"connection_id":206567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d27"} 
[2026-10-05 23:37:59] local.INFO: Extracted packet for processing {"connection_id":206567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d27"} 
[2026-10-05 23:37:59] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99788152,"longitude_deg":76.2815808,"latitude_deg":9.9788152,"altitude":15,"angle":274,"satellites":39,"speed":4,"hex_longitude":"2d77a540","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552838400001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246027377639424,"note":"Value kept but may cause issues"} 
[2026-10-05 23:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774658263040,"note":"Value kept but may cause issues"} 
[2026-10-05 23:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791222030000,"timestamp_ms":1791222030000,"timestamp_seconds":1791222030,"priority":1,"record_length":96,"hex_timestamp":"000001a10d271eb0"} 
[2026-10-05 23:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:37: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-10-05 23:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-05 23:37: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-10-05 23: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-10-05 23:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":206567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":206567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":206567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552838400001,"66":27919,"96":206,"87":13568,"24":4,"16":2246027377639424,"45":8622000774658263040},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 23:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552838400001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:37:59] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 23:37:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 23:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246027377639424,"km_value":2246027377639.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774658263040,"description":"Unknown IO ID 45"} 
[2026-10-05 23:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552838400001,"power":27919,"unknown_96":206,"unknown_87":13568,"ignition":4,"odometer":null,"unknown_45":8622000774658263040}} 
[2026-10-05 23:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":206567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:38:00] local.INFO: GPS data processed {"connection_id":206567,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:38:00] local.INFO: Acknowledgment sent {"connection_id":206567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:38:30] local.INFO: TCP Data received {"connection_id":205184,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:38:30] local.INFO: Processing buffer {"connection_id":205184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:38:30] local.INFO: IMEI packet received {"connection_id":205184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":205184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:38:31] local.INFO: TCP Data received {"connection_id":206567,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d272680012d77a40005f2a560000f00fe27..."} 
[2026-10-05 23:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d272680012d77a40005f2a560000f00fe27..."} 
[2026-10-05 23:38:31] local.INFO: Processing buffer {"connection_id":206567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d272680012d77a40005f2a560000f00fe27..."} 
[2026-10-05 23:38:31] local.INFO: Packet analysis {"connection_id":206567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d27"} 
[2026-10-05 23:38:31] local.INFO: Extracted packet for processing {"connection_id":206567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d27"} 
[2026-10-05 23:38:31] local.INFO: GPS Element Parsed {"raw_longitude":762815488,"raw_latitude":99788128,"longitude_deg":76.2815488,"latitude_deg":9.9788128,"altitude":15,"angle":254,"satellites":39,"speed":4,"hex_longitude":"2d77a400","hex_latitude":"05f2a560","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552839680001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246040262541312,"note":"Value kept but may cause issues"} 
[2026-10-05 23:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455960627200,"note":"Value kept but may cause issues"} 
[2026-10-05 23:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791222032000,"timestamp_ms":1791222032000,"timestamp_seconds":1791222032,"priority":1,"record_length":96,"hex_timestamp":"000001a10d272680"} 
[2026-10-05 23:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-05 23: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-05 23:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23: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-10-05 23:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552839680001,"66":27930,"96":206,"87":13568,"24":4,"16":2246040262541312,"45":8621367455960627200},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 23:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552839680001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:38:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 23:38:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 23:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246040262541312,"km_value":2246040262541.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455960627200,"description":"Unknown IO ID 45"} 
[2026-10-05 23:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552839680001,"power":27930,"unknown_96":206,"unknown_87":13568,"ignition":4,"odometer":null,"unknown_45":8621367455960627200}} 
[2026-10-05 23:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":206567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:38:31] local.INFO: GPS data processed {"connection_id":206567,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:38:31] local.INFO: Acknowledgment sent {"connection_id":206567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:38:35] local.INFO: TCP Data received {"connection_id":205184,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:38:35] local.INFO: Processing buffer {"connection_id":205184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:38:35] local.INFO: IMEI packet received {"connection_id":205184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":205184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:38:36] local.INFO: TCP Data received {"connection_id":205184,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:38:36] local.INFO: Processing buffer {"connection_id":205184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:38:36] local.INFO: Packet analysis {"connection_id":205184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d3f"} 
[2026-10-05 23:38:36] local.INFO: Extracted packet for processing {"connection_id":205184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d3f"} 
[2026-10-05 23:38:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553176320001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791223646000,"timestamp_ms":1791223646000,"timestamp_seconds":1791223646,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3fc730"} 
[2026-10-05 23:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 23:38:36] 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-10-05 23:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:38: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-10-05 23:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553176320001,"66":12689,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553176320001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:38:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:38:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553176320001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":205184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:38:36] local.INFO: GPS data processed {"connection_id":205184,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:38:36] local.INFO: Acknowledgment sent {"connection_id":205184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:38:49] local.INFO: TCP Data received {"connection_id":208165,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:38:49] local.INFO: Processing buffer {"connection_id":208165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:38:49] local.INFO: IMEI packet received {"connection_id":208165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":208165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:38:53] local.INFO: TCP Data received {"connection_id":208165,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:38:53] local.INFO: Processing buffer {"connection_id":208165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:38:53] local.INFO: IMEI packet received {"connection_id":208165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":208165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:38:54] local.INFO: TCP Data received {"connection_id":208165,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d272a68012d77a3c005f2a558000f010f27..."} 
[2026-10-05 23:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d272a68012d77a3c005f2a558000f010f27..."} 
[2026-10-05 23:38:54] local.INFO: Processing buffer {"connection_id":208165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d272a68012d77a3c005f2a558000f010f27..."} 
[2026-10-05 23:38:54] local.INFO: Packet analysis {"connection_id":208165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d27"} 
[2026-10-05 23:38:54] local.INFO: Extracted packet for processing {"connection_id":208165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d27"} 
[2026-10-05 23:38:54] local.INFO: GPS Element Parsed {"raw_longitude":762815424,"raw_latitude":99788120,"longitude_deg":76.2815424,"latitude_deg":9.978812,"altitude":15,"angle":271,"satellites":39,"speed":4,"hex_longitude":"2d77a3c0","hex_latitude":"05f2a558","is_valid_coordinates":true} 
[2026-10-05 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-10-05 23:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552840192001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246044557508608,"note":"Value kept but may cause issues"} 
[2026-10-05 23:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621015612239732736,"note":"Value kept but may cause issues"} 
[2026-10-05 23:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1791222033000,"timestamp_ms":1791222033000,"timestamp_seconds":1791222033,"priority":1,"record_length":96,"hex_timestamp":"000001a10d272a68"} 
[2026-10-05 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-10-05 23:38: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-10-05 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-05 23:38:54] 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-10-05 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-10-05 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-10-05 23:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":208165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":208165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":208165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552840192001,"66":27930,"96":206,"87":13568,"24":4,"16":2246044557508608,"45":8621015612239732736},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 23:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552840192001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:38:54] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 23:38:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 23:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246044557508608,"km_value":2246044557508.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621015612239732736,"description":"Unknown IO ID 45"} 
[2026-10-05 23:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552840192001,"power":27930,"unknown_96":206,"unknown_87":13568,"ignition":4,"odometer":null,"unknown_45":8621015612239732736}} 
[2026-10-05 23:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":208165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:38:54] local.INFO: GPS data processed {"connection_id":208165,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:38:54] local.INFO: Acknowledgment sent {"connection_id":208165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:39:07] local.INFO: TCP Data received {"connection_id":205184,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:39:07] local.INFO: Processing buffer {"connection_id":205184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:39:07] local.INFO: Packet analysis {"connection_id":205184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d3f"} 
[2026-10-05 23:39:07] local.INFO: Extracted packet for processing {"connection_id":205184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d3f"} 
[2026-10-05 23:39:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 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-10-05 23:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553176320001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791223646000,"timestamp_ms":1791223646000,"timestamp_seconds":1791223646,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3fc730"} 
[2026-10-05 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-10-05 23:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 23:39:07] 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-10-05 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-10-05 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-10-05 23:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:39:07] 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-10-05 23:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553176320001,"66":12689,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553176320001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:39:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:39:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553176320001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":205184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:39:07] local.INFO: GPS data processed {"connection_id":205184,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:39:07] local.INFO: Acknowledgment sent {"connection_id":205184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:39:25] local.INFO: TCP Data received {"connection_id":208165,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d2741d8012d77a18005f2a538000f00fb26..."} 
[2026-10-05 23:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d2741d8012d77a18005f2a538000f00fb26..."} 
[2026-10-05 23:39:25] local.INFO: Processing buffer {"connection_id":208165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d2741d8012d77a18005f2a538000f00fb26..."} 
[2026-10-05 23:39:25] local.INFO: Packet analysis {"connection_id":208165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d27"} 
[2026-10-05 23:39:25] local.INFO: Extracted packet for processing {"connection_id":208165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d27"} 
[2026-10-05 23:39:25] local.INFO: GPS Element Parsed {"raw_longitude":762814848,"raw_latitude":99788088,"longitude_deg":76.2814848,"latitude_deg":9.9788088,"altitude":15,"angle":251,"satellites":38,"speed":3,"hex_longitude":"2d77a180","hex_latitude":"05f2a538","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552840448001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620945243495553024,"note":"Value kept but may cause issues"} 
[2026-10-05 23:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1791222039000,"timestamp_ms":1791222039000,"timestamp_seconds":1791222039,"priority":1,"record_length":96,"hex_timestamp":"000001a10d2741d8"} 
[2026-10-05 23:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:39: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-10-05 23:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-05 23:39: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-10-05 23: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-10-05 23:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":208165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":208165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":208165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552840448001,"66":27843,"96":206,"87":13568,"24":3,"16":2246070327312384,"45":8620945243495553024},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 23:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552840448001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:39:25] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 23:39:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 23:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620945243495553024,"description":"Unknown IO ID 45"} 
[2026-10-05 23:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552840448001,"power":27843,"unknown_96":206,"unknown_87":13568,"ignition":3,"odometer":null,"unknown_45":8620945243495553024}} 
[2026-10-05 23:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":208165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:39:25] local.INFO: GPS data processed {"connection_id":208165,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:39:25] local.INFO: Acknowledgment sent {"connection_id":208165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:39:30] local.INFO: TCP Data received {"connection_id":205185,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:39:30] local.INFO: Processing buffer {"connection_id":205185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:39:30] local.INFO: IMEI packet received {"connection_id":205185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":205185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:39:35] local.INFO: TCP Data received {"connection_id":205185,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:39:35] local.INFO: Processing buffer {"connection_id":205185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:39:35] local.INFO: IMEI packet received {"connection_id":205185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":205185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:39:36] local.INFO: TCP Data received {"connection_id":205185,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:39:36] local.INFO: Processing buffer {"connection_id":205185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:39:36] local.INFO: Packet analysis {"connection_id":205185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d3f"} 
[2026-10-05 23:39:36] local.INFO: Extracted packet for processing {"connection_id":205185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d3f"} 
[2026-10-05 23:39:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553176320001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791223646000,"timestamp_ms":1791223646000,"timestamp_seconds":1791223646,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3fc730"} 
[2026-10-05 23:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 23:39:36] 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-10-05 23:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:39: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-10-05 23:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553176320001,"66":12689,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553176320001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:39:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:39:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553176320001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":205185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:39:36] local.INFO: GPS data processed {"connection_id":205185,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:39:36] local.INFO: Acknowledgment sent {"connection_id":205185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:39:44] local.INFO: TCP Data received {"connection_id":208166,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208166,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:39:44] local.INFO: Processing buffer {"connection_id":208166,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:39:44] local.INFO: IMEI packet received {"connection_id":208166,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 23:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":208166,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:39:53] local.INFO: TCP Data received {"connection_id":205186,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:39:53] local.INFO: Processing buffer {"connection_id":205186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:39:53] local.INFO: IMEI packet received {"connection_id":205186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":205186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:39:59] local.INFO: TCP Data received {"connection_id":205186,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:39:59] local.INFO: Processing buffer {"connection_id":205186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:39:59] local.INFO: IMEI packet received {"connection_id":205186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":205186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:39:59] local.INFO: TCP Data received {"connection_id":205186,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d2745c0012d77a14005f2a528000f00f826..."} 
[2026-10-05 23:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d2745c0012d77a14005f2a528000f00f826..."} 
[2026-10-05 23:39:59] local.INFO: Processing buffer {"connection_id":205186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d2745c0012d77a14005f2a528000f00f826..."} 
[2026-10-05 23:39:59] local.INFO: Packet analysis {"connection_id":205186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d27"} 
[2026-10-05 23:39:59] local.INFO: Extracted packet for processing {"connection_id":205186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d27"} 
[2026-10-05 23:39:59] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788072,"longitude_deg":76.2814784,"latitude_deg":9.9788072,"altitude":15,"angle":248,"satellites":38,"speed":2,"hex_longitude":"2d77a140","hex_latitude":"05f2a528","is_valid_coordinates":true} 
[2026-10-05 23:39: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-10-05 23:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552841984001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620311924797945856,"note":"Value kept but may cause issues"} 
[2026-10-05 23:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791222040000,"timestamp_ms":1791222040000,"timestamp_seconds":1791222040,"priority":1,"record_length":96,"hex_timestamp":"000001a10d2745c0"} 
[2026-10-05 23:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:39: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-10-05 23:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-10-05 23:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23: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-10-05 23:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":205186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":205186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":205186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552841984001,"66":27974,"96":206,"87":13568,"24":2,"16":2246070327312384,"45":8620311924797945856},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 23:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552841984001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:39:59] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 23:39:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 23:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620311924797945856,"description":"Unknown IO ID 45"} 
[2026-10-05 23:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552841984001,"power":27974,"unknown_96":206,"unknown_87":13568,"ignition":2,"odometer":null,"unknown_45":8620311924797945856}} 
[2026-10-05 23:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":205186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:39:59] local.INFO: GPS data processed {"connection_id":205186,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:39:59] local.INFO: Acknowledgment sent {"connection_id":205186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:40:08] local.INFO: TCP Data received {"connection_id":205185,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:40:08] local.INFO: Processing buffer {"connection_id":205185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:40:08] local.INFO: Packet analysis {"connection_id":205185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d3f"} 
[2026-10-05 23:40:08] local.INFO: Extracted packet for processing {"connection_id":205185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d3f"} 
[2026-10-05 23:40:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553176320001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791223646000,"timestamp_ms":1791223646000,"timestamp_seconds":1791223646,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3fc730"} 
[2026-10-05 23:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:40: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-10-05 23: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 23:40: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-10-05 23: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-10-05 23:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:40:08] 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-10-05 23:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553176320001,"66":12689,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553176320001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:40:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:40:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553176320001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":205185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:40:08] local.INFO: GPS data processed {"connection_id":205185,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:40:08] local.INFO: Acknowledgment sent {"connection_id":205185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:40:30] local.INFO: TCP Data received {"connection_id":206568,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:40:30] local.INFO: Processing buffer {"connection_id":206568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:40:30] local.INFO: IMEI packet received {"connection_id":206568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":206568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:40:30] local.INFO: TCP Data received {"connection_id":205186,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d2bdd88012d77a04005f2a578000f00fe29..."} 
[2026-10-05 23:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d2bdd88012d77a04005f2a578000f00fe29..."} 
[2026-10-05 23:40:30] local.INFO: Processing buffer {"connection_id":205186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d2bdd88012d77a04005f2a578000f00fe29..."} 
[2026-10-05 23:40:30] local.INFO: Packet analysis {"connection_id":205186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d2b"} 
[2026-10-05 23:40:30] local.INFO: Extracted packet for processing {"connection_id":205186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d2b"} 
[2026-10-05 23:40:30] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":15,"angle":254,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 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-10-05 23:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552842240001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053764096,"note":"Value kept but may cause issues"} 
[2026-10-05 23:40: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-10-05 23:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1791222341000,"timestamp_ms":1791222341000,"timestamp_seconds":1791222341,"priority":1,"record_length":96,"hex_timestamp":"000001a10d2bdd88"} 
[2026-10-05 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-10-05 23:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-05 23:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 23:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":205186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":205186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":205186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552842240001,"66":26289,"160":206,"87":13568,"24":0,"16":2246070327312384,"45":8620241556053764096},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-10-05 23:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552842240001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:40:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-05 23:40:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 23:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053764096,"description":"Unknown IO ID 45"} 
[2026-10-05 23:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552842240001,"power":26289,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8620241556053764096}} 
[2026-10-05 23:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":205186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:40:30] local.INFO: GPS data processed {"connection_id":205186,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:40:30] local.INFO: Acknowledgment sent {"connection_id":205186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:40:35] local.INFO: TCP Data received {"connection_id":206568,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:40:35] local.INFO: Processing buffer {"connection_id":206568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:40:35] local.INFO: IMEI packet received {"connection_id":206568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":206568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:40:36] local.INFO: TCP Data received {"connection_id":206568,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:40:36] local.INFO: Processing buffer {"connection_id":206568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:40:36] local.INFO: Packet analysis {"connection_id":206568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d3f"} 
[2026-10-05 23:40:36] local.INFO: Extracted packet for processing {"connection_id":206568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d3f"} 
[2026-10-05 23:40:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553176320001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791223646000,"timestamp_ms":1791223646000,"timestamp_seconds":1791223646,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3fc730"} 
[2026-10-05 23:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 23:40:36] 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-10-05 23:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553176320001,"66":12689,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553176320001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:40:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:40:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553176320001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":206568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:40:36] local.INFO: GPS data processed {"connection_id":206568,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:40:36] local.INFO: Acknowledgment sent {"connection_id":206568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:40:53] local.INFO: TCP Data received {"connection_id":205070,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:40:53] local.INFO: Processing buffer {"connection_id":205070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:40:53] local.INFO: IMEI packet received {"connection_id":205070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":205070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:40:59] local.INFO: TCP Data received {"connection_id":205070,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:40:59] local.INFO: Processing buffer {"connection_id":205070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:40:59] local.INFO: IMEI packet received {"connection_id":205070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":205070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:40:59] local.INFO: TCP Data received {"connection_id":205070,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d307550012d77a04005f2a578001e00fe2a..."} 
[2026-10-05 23:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d307550012d77a04005f2a578001e00fe2a..."} 
[2026-10-05 23:40:59] local.INFO: Processing buffer {"connection_id":205070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d307550012d77a04005f2a578001e00fe2a..."} 
[2026-10-05 23:40:59] local.INFO: Packet analysis {"connection_id":205070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d30"} 
[2026-10-05 23:40:59] local.INFO: Extracted packet for processing {"connection_id":205070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d30"} 
[2026-10-05 23:40:59] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":30,"angle":254,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552919296001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791222642000,"timestamp_ms":1791222642000,"timestamp_seconds":1791222642,"priority":1,"record_length":96,"hex_timestamp":"000001a10d307550"} 
[2026-10-05 23:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:40: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-10-05 23:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-10-05 23:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":205070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":205070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":205070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552919296001,"66":26115,"97":206,"87":13568,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-10-05 23:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552919296001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:40:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-10-05 23:40:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 23:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552919296001,"power":26115,"unknown_97":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":205070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:40:59] local.INFO: GPS data processed {"connection_id":205070,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:40:59] local.INFO: Acknowledgment sent {"connection_id":205070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:41:08] local.INFO: TCP Data received {"connection_id":206568,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:41:08] local.INFO: Processing buffer {"connection_id":206568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:41:08] local.INFO: Packet analysis {"connection_id":206568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d3f"} 
[2026-10-05 23:41:08] local.INFO: Extracted packet for processing {"connection_id":206568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d3f"} 
[2026-10-05 23:41:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553176320001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791223646000,"timestamp_ms":1791223646000,"timestamp_seconds":1791223646,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3fc730"} 
[2026-10-05 23:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:41: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-10-05 23: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 23:41: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-10-05 23: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-10-05 23:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553176320001,"66":12689,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553176320001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:41:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:41:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553176320001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":206568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:41:08] local.INFO: GPS data processed {"connection_id":206568,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:41:08] local.INFO: Acknowledgment sent {"connection_id":206568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:41:30] local.INFO: TCP Data received {"connection_id":205071,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:41:30] local.INFO: Processing buffer {"connection_id":205071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:41:30] local.INFO: IMEI packet received {"connection_id":205071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":205071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:41:31] local.INFO: TCP Data received {"connection_id":205070,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d350d18012d77a04005f2a578001e00fe2c..."} 
[2026-10-05 23:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d350d18012d77a04005f2a578001e00fe2c..."} 
[2026-10-05 23:41:31] local.INFO: Processing buffer {"connection_id":205070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d350d18012d77a04005f2a578001e00fe2c..."} 
[2026-10-05 23:41:31] local.INFO: Packet analysis {"connection_id":205070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d35"} 
[2026-10-05 23:41:31] local.INFO: Extracted packet for processing {"connection_id":205070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d35"} 
[2026-10-05 23:41:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":30,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458552996352001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791222943000,"timestamp_ms":1791222943000,"timestamp_seconds":1791222943,"priority":1,"record_length":96,"hex_timestamp":"000001a10d350d18"} 
[2026-10-05 23:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:41: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-10-05 23: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-05 23:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23: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-10-05 23:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":205070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":205070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":205070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458552996352001,"66":26006,"96":206,"87":13568,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-10-05 23:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458552996352001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:41:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-05 23:41:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-10-05 23:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458552996352001,"power":26006,"unknown_96":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":205070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:41:31] local.INFO: GPS data processed {"connection_id":205070,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:41:31] local.INFO: Acknowledgment sent {"connection_id":205070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:41:35] local.INFO: TCP Data received {"connection_id":205071,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:41:35] local.INFO: Processing buffer {"connection_id":205071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:41:35] local.INFO: IMEI packet received {"connection_id":205071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":205071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:41:36] local.INFO: TCP Data received {"connection_id":205071,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:41:36] local.INFO: Processing buffer {"connection_id":205071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:41:36] local.INFO: Packet analysis {"connection_id":205071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d3f"} 
[2026-10-05 23:41:36] local.INFO: Extracted packet for processing {"connection_id":205071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d3f"} 
[2026-10-05 23:41:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553176320001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791223646000,"timestamp_ms":1791223646000,"timestamp_seconds":1791223646,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3fc730"} 
[2026-10-05 23:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 23:41:36] 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-10-05 23:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:41:36] 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-10-05 23:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553176320001,"66":12689,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553176320001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:41:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:41:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553176320001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":205071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:41:36] local.INFO: GPS data processed {"connection_id":205071,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:41:36] local.INFO: Acknowledgment sent {"connection_id":205071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:41:59] local.INFO: TCP Data received {"connection_id":205188,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:41:59] local.INFO: Processing buffer {"connection_id":205188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:41:59] local.INFO: IMEI packet received {"connection_id":205188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":205188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:42:04] local.INFO: TCP Data received {"connection_id":205188,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:42:04] local.INFO: Processing buffer {"connection_id":205188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:42:04] local.INFO: IMEI packet received {"connection_id":205188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":205188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:42:04] local.INFO: TCP Data received {"connection_id":205188,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3c5848012d77a04005f2a578001c00fe27..."} 
[2026-10-05 23:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3c5848012d77a04005f2a578001c00fe27..."} 
[2026-10-05 23:42:04] local.INFO: Processing buffer {"connection_id":205188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3c5848012d77a04005f2a578001c00fe27..."} 
[2026-10-05 23:42:04] local.INFO: Packet analysis {"connection_id":205188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d3c"} 
[2026-10-05 23:42:04] local.INFO: Extracted packet for processing {"connection_id":205188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d3c"} 
[2026-10-05 23:42:04] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":28,"angle":254,"satellites":39,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 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-10-05 23:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553073408001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791223421000,"timestamp_ms":1791223421000,"timestamp_seconds":1791223421,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3c5848"} 
[2026-10-05 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-10-05 23:42: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-10-05 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-05 23:42: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-10-05 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-10-05 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-10-05 23:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":205188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":205188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":205188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553073408001,"66":25952,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553073408001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:42:04] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:42:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553073408001,"power":25952,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":205188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:42:04] local.INFO: GPS data processed {"connection_id":205188,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:42:04] local.INFO: Acknowledgment sent {"connection_id":205188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:42:09] local.INFO: TCP Data received {"connection_id":205071,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:42:09] local.INFO: Processing buffer {"connection_id":205071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d3fc730012d7c254005dacc900008015127..."} 
[2026-10-05 23:42:09] local.INFO: Packet analysis {"connection_id":205071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d3f"} 
[2026-10-05 23:42:09] local.INFO: Extracted packet for processing {"connection_id":205071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d3f"} 
[2026-10-05 23:42:09] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553176320001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791223646000,"timestamp_ms":1791223646000,"timestamp_seconds":1791223646,"priority":1,"record_length":96,"hex_timestamp":"000001a10d3fc730"} 
[2026-10-05 23:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 23:42:09] 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-10-05 23: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-10-05 23:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":205071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":205071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":205071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:42:09] 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-10-05 23:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553176320001,"66":12689,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553176320001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:42:09] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:42:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553176320001,"power":12689,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:42:09] local.INFO: TCP Data received {"connection_id":205188,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d40f010012d77a04005f2a578001c00fe29..."} 
[2026-10-05 23:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d40f010012d77a04005f2a578001c00fe29..."} 
[2026-10-05 23:42:09] local.INFO: Processing buffer {"connection_id":205188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d40f010012d77a04005f2a578001c00fe29..."} 
[2026-10-05 23:42:09] local.INFO: Packet analysis {"connection_id":205188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d40"} 
[2026-10-05 23:42:09] local.INFO: Extracted packet for processing {"connection_id":205188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d40"} 
[2026-10-05 23:42:09] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":28,"angle":254,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553195776001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791223722000,"timestamp_ms":1791223722000,"timestamp_seconds":1791223722,"priority":1,"record_length":96,"hex_timestamp":"000001a10d40f010"} 
[2026-10-05 23:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:42: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-10-05 23:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 23:42:09] 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-10-05 23: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-10-05 23:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":205188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":205188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":205188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553195776001,"66":25919,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553195776001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:42:09] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:42:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553195776001,"power":25919,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":205188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:42:09] local.INFO: GPS data processed {"connection_id":205188,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:42:09] local.INFO: Acknowledgment sent {"connection_id":205188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":205071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:42:09] local.INFO: GPS data processed {"connection_id":205071,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:42:09] local.INFO: Acknowledgment sent {"connection_id":205071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:42:30] local.INFO: TCP Data received {"connection_id":205189,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:42:30] local.INFO: Processing buffer {"connection_id":205189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:42:30] local.INFO: IMEI packet received {"connection_id":205189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":205189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:42:35] local.INFO: TCP Data received {"connection_id":205189,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:42:35] local.INFO: Processing buffer {"connection_id":205189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:42:35] local.INFO: IMEI packet received {"connection_id":205189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":205189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:42:36] local.INFO: TCP Data received {"connection_id":205189,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:42:36] local.INFO: Processing buffer {"connection_id":205189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:42:36] local.INFO: Packet analysis {"connection_id":205189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d44"} 
[2026-10-05 23:42:36] local.INFO: Extracted packet for processing {"connection_id":205189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d44"} 
[2026-10-05 23:42:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553253376001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791223947000,"timestamp_ms":1791223947000,"timestamp_seconds":1791223947,"priority":1,"record_length":96,"hex_timestamp":"000001a10d445ef8"} 
[2026-10-05 23:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:42:36] 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-10-05 23:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 23:42:36] 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-10-05 23:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553253376001,"66":12645,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553253376001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:42:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:42:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553253376001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":205189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:42:36] local.INFO: GPS data processed {"connection_id":205189,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:42:36] local.INFO: Acknowledgment sent {"connection_id":205189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:42:54] local.INFO: TCP Data received {"connection_id":205191,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:42:54] local.INFO: Processing buffer {"connection_id":205191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:42:54] local.INFO: IMEI packet received {"connection_id":205191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":205191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:42:59] local.INFO: TCP Data received {"connection_id":205191,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:42:59] local.INFO: Processing buffer {"connection_id":205191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:42:59] local.INFO: IMEI packet received {"connection_id":205191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":205191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:43:00] local.INFO: TCP Data received {"connection_id":205191,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d40f010012d77a04005f2a578001c00fe29..."} 
[2026-10-05 23:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d40f010012d77a04005f2a578001c00fe29..."} 
[2026-10-05 23:43:00] local.INFO: Processing buffer {"connection_id":205191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d40f010012d77a04005f2a578001c00fe29..."} 
[2026-10-05 23:43:00] local.INFO: Packet analysis {"connection_id":205191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d40"} 
[2026-10-05 23:43:00] local.INFO: Extracted packet for processing {"connection_id":205191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d40"} 
[2026-10-05 23:43:00] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":28,"angle":254,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 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-10-05 23:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553195776001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791223722000,"timestamp_ms":1791223722000,"timestamp_seconds":1791223722,"priority":1,"record_length":96,"hex_timestamp":"000001a10d40f010"} 
[2026-10-05 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-10-05 23:43: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-10-05 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 23:43: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-10-05 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-10-05 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-10-05 23:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":205191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":205191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":205191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553195776001,"66":25919,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553195776001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:43:00] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:43:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553195776001,"power":25919,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":205191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:43:00] local.INFO: GPS data processed {"connection_id":205191,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:43:00] local.INFO: Acknowledgment sent {"connection_id":205191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:43:08] local.INFO: TCP Data received {"connection_id":205189,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:43:08] local.INFO: Processing buffer {"connection_id":205189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:43:08] local.INFO: Packet analysis {"connection_id":205189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d44"} 
[2026-10-05 23:43:08] local.INFO: Extracted packet for processing {"connection_id":205189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d44"} 
[2026-10-05 23:43:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553253376001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791223947000,"timestamp_ms":1791223947000,"timestamp_seconds":1791223947,"priority":1,"record_length":96,"hex_timestamp":"000001a10d445ef8"} 
[2026-10-05 23:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:43:08] 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-10-05 23: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 23:43:08] 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-10-05 23: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-10-05 23:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553253376001,"66":12645,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553253376001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:43:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:43:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553253376001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":205189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:43:08] local.INFO: GPS data processed {"connection_id":205189,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:43:08] local.INFO: Acknowledgment sent {"connection_id":205189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:43:30] local.INFO: TCP Data received {"connection_id":205192,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:43:30] local.INFO: Processing buffer {"connection_id":205192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:43:30] local.INFO: IMEI packet received {"connection_id":205192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":205192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:43:31] local.INFO: TCP Data received {"connection_id":205191,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d40f010012d77a04005f2a578001c00fe29..."} 
[2026-10-05 23:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d40f010012d77a04005f2a578001c00fe29..."} 
[2026-10-05 23:43:31] local.INFO: Processing buffer {"connection_id":205191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d40f010012d77a04005f2a578001c00fe29..."} 
[2026-10-05 23:43:31] local.INFO: Packet analysis {"connection_id":205191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d40"} 
[2026-10-05 23:43:31] local.INFO: Extracted packet for processing {"connection_id":205191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d40"} 
[2026-10-05 23:43:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":28,"angle":254,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 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-10-05 23:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553195776001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791223722000,"timestamp_ms":1791223722000,"timestamp_seconds":1791223722,"priority":1,"record_length":96,"hex_timestamp":"000001a10d40f010"} 
[2026-10-05 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-10-05 23:43: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-10-05 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 23:43:31] 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-10-05 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-10-05 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-10-05 23:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":205191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":205191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":205191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553195776001,"66":25919,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553195776001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:43:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:43:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553195776001,"power":25919,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":205191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:43:31] local.INFO: GPS data processed {"connection_id":205191,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:43:31] local.INFO: Acknowledgment sent {"connection_id":205191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:43:35] local.INFO: TCP Data received {"connection_id":205192,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:43:35] local.INFO: Processing buffer {"connection_id":205192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:43:35] local.INFO: IMEI packet received {"connection_id":205192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":205192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:43:36] local.INFO: TCP Data received {"connection_id":205192,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:43:36] local.INFO: Processing buffer {"connection_id":205192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:43:36] local.INFO: Packet analysis {"connection_id":205192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d44"} 
[2026-10-05 23:43:36] local.INFO: Extracted packet for processing {"connection_id":205192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d44"} 
[2026-10-05 23:43:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553253376001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791223947000,"timestamp_ms":1791223947000,"timestamp_seconds":1791223947,"priority":1,"record_length":96,"hex_timestamp":"000001a10d445ef8"} 
[2026-10-05 23:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:43:36] 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-10-05 23: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 23:43:36] 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-10-05 23:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553253376001,"66":12645,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553253376001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:43:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:43:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553253376001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":205192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:43:36] local.INFO: GPS data processed {"connection_id":205192,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:43:36] local.INFO: Acknowledgment sent {"connection_id":205192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:43:53] local.INFO: TCP Data received {"connection_id":206569,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:43:53] local.INFO: Processing buffer {"connection_id":206569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:43:53] local.INFO: IMEI packet received {"connection_id":206569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":206569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:43:59] local.INFO: TCP Data received {"connection_id":206569,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:43:59] local.INFO: Processing buffer {"connection_id":206569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:43:59] local.INFO: IMEI packet received {"connection_id":206569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":206569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:44:00] local.INFO: TCP Data received {"connection_id":206569,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d40f010012d77a04005f2a578001c00fe29..."} 
[2026-10-05 23:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d40f010012d77a04005f2a578001c00fe29..."} 
[2026-10-05 23:44:00] local.INFO: Processing buffer {"connection_id":206569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d40f010012d77a04005f2a578001c00fe29..."} 
[2026-10-05 23:44:00] local.INFO: Packet analysis {"connection_id":206569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d40"} 
[2026-10-05 23:44:00] local.INFO: Extracted packet for processing {"connection_id":206569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d40"} 
[2026-10-05 23:44:00] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":28,"angle":254,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553195776001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1791223722000,"timestamp_ms":1791223722000,"timestamp_seconds":1791223722,"priority":1,"record_length":96,"hex_timestamp":"000001a10d40f010"} 
[2026-10-05 23:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:44: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-10-05 23: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-05 23:44: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-10-05 23:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":206569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":206569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":206569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553195776001,"66":25919,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553195776001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:44:00] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:44:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553195776001,"power":25919,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":206569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:44:00] local.INFO: GPS data processed {"connection_id":206569,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:44:00] local.INFO: Acknowledgment sent {"connection_id":206569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:44:07] local.INFO: TCP Data received {"connection_id":205192,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:44:07] local.INFO: Processing buffer {"connection_id":205192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:44:07] local.INFO: Packet analysis {"connection_id":205192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d44"} 
[2026-10-05 23:44:07] local.INFO: Extracted packet for processing {"connection_id":205192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d44"} 
[2026-10-05 23:44:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553253376001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791223947000,"timestamp_ms":1791223947000,"timestamp_seconds":1791223947,"priority":1,"record_length":96,"hex_timestamp":"000001a10d445ef8"} 
[2026-10-05 23:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:44:07] 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-10-05 23: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 23:44: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-10-05 23: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-10-05 23:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553253376001,"66":12645,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553253376001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:44:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:44:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553253376001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":205192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:44:08] local.INFO: GPS data processed {"connection_id":205192,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:44:08] local.INFO: Acknowledgment sent {"connection_id":205192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:44:30] local.INFO: TCP Data received {"connection_id":208169,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:44:30] local.INFO: Processing buffer {"connection_id":208169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:44:30] local.INFO: IMEI packet received {"connection_id":208169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":208169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:44:31] local.INFO: TCP Data received {"connection_id":206569,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:44:31] local.INFO: Processing buffer {"connection_id":206569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:44:31] local.INFO: Packet analysis {"connection_id":206569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d45"} 
[2026-10-05 23:44:31] local.INFO: Extracted packet for processing {"connection_id":206569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d45"} 
[2026-10-05 23:44:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":28,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553272832001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791224023000,"timestamp_ms":1791224023000,"timestamp_seconds":1791224023,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4587d8"} 
[2026-10-05 23:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:44: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-10-05 23:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 23:44:31] 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-10-05 23:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553272832001,"66":25908,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553272832001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:44:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:44:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553272832001,"power":25908,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":206569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:44:31] local.INFO: GPS data processed {"connection_id":206569,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:44:31] local.INFO: Acknowledgment sent {"connection_id":206569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:44:35] local.INFO: TCP Data received {"connection_id":208169,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:44:35] local.INFO: Processing buffer {"connection_id":208169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:44:35] local.INFO: IMEI packet received {"connection_id":208169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":208169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:44:36] local.INFO: TCP Data received {"connection_id":208169,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:44:36] local.INFO: Processing buffer {"connection_id":208169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:44:36] local.INFO: Packet analysis {"connection_id":208169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d44"} 
[2026-10-05 23:44:36] local.INFO: Extracted packet for processing {"connection_id":208169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d44"} 
[2026-10-05 23:44:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553253376001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791223947000,"timestamp_ms":1791223947000,"timestamp_seconds":1791223947,"priority":1,"record_length":96,"hex_timestamp":"000001a10d445ef8"} 
[2026-10-05 23:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:44:36] 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-10-05 23:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 23:44:36] 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-10-05 23:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553253376001,"66":12645,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553253376001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:44:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:44:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553253376001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":208169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:44:36] local.INFO: GPS data processed {"connection_id":208169,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:44:36] local.INFO: Acknowledgment sent {"connection_id":208169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:44:53] local.INFO: TCP Data received {"connection_id":206570,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:44:53] local.INFO: Processing buffer {"connection_id":206570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:44:53] local.INFO: IMEI packet received {"connection_id":206570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":206570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:44:59] local.INFO: TCP Data received {"connection_id":206570,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:44:59] local.INFO: Processing buffer {"connection_id":206570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:44:59] local.INFO: IMEI packet received {"connection_id":206570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":206570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:44:59] local.INFO: TCP Data received {"connection_id":206570,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:44:59] local.INFO: Processing buffer {"connection_id":206570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:44:59] local.INFO: Packet analysis {"connection_id":206570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d45"} 
[2026-10-05 23:44:59] local.INFO: Extracted packet for processing {"connection_id":206570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d45"} 
[2026-10-05 23:44:59] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":28,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553272832001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791224023000,"timestamp_ms":1791224023000,"timestamp_seconds":1791224023,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4587d8"} 
[2026-10-05 23:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 23:44: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-10-05 23: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-10-05 23:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":206570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":206570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":206570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553272832001,"66":25908,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553272832001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:44:59] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:44:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553272832001,"power":25908,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":206570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:44:59] local.INFO: GPS data processed {"connection_id":206570,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:44:59] local.INFO: Acknowledgment sent {"connection_id":206570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:45:07] local.INFO: TCP Data received {"connection_id":208169,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:45:07] local.INFO: Processing buffer {"connection_id":208169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:45:07] local.INFO: Packet analysis {"connection_id":208169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d44"} 
[2026-10-05 23:45:07] local.INFO: Extracted packet for processing {"connection_id":208169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d44"} 
[2026-10-05 23:45:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553253376001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791223947000,"timestamp_ms":1791223947000,"timestamp_seconds":1791223947,"priority":1,"record_length":96,"hex_timestamp":"000001a10d445ef8"} 
[2026-10-05 23:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:45:07] 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-10-05 23: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 23:45: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-10-05 23: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-10-05 23:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":208169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":208169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":208169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553253376001,"66":12645,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553253376001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:45:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:45:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553253376001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":208169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:45:07] local.INFO: GPS data processed {"connection_id":208169,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:45:07] local.INFO: Acknowledgment sent {"connection_id":208169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:45:16] local.INFO: TCP Data received {"connection_id":208170,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208170,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:45:16] local.INFO: Processing buffer {"connection_id":208170,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:45:16] local.INFO: IMEI packet received {"connection_id":208170,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 23:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":208170,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:45:30] local.INFO: TCP Data received {"connection_id":205072,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:45:30] local.INFO: Processing buffer {"connection_id":205072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:45:30] local.INFO: IMEI packet received {"connection_id":205072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":205072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:45:31] local.INFO: TCP Data received {"connection_id":206570,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:45:31] local.INFO: Processing buffer {"connection_id":206570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:45:31] local.INFO: Packet analysis {"connection_id":206570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d45"} 
[2026-10-05 23:45:31] local.INFO: Extracted packet for processing {"connection_id":206570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d45"} 
[2026-10-05 23:45:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":28,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553272832001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791224023000,"timestamp_ms":1791224023000,"timestamp_seconds":1791224023,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4587d8"} 
[2026-10-05 23:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:45: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-10-05 23: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 23:45:31] 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-10-05 23: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-10-05 23:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553272832001,"66":25908,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553272832001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:45:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:45:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553272832001,"power":25908,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":206570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:45:31] local.INFO: GPS data processed {"connection_id":206570,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:45:31] local.INFO: Acknowledgment sent {"connection_id":206570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:45:33] local.INFO: TCP Data received {"connection_id":205073,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:45:33] local.INFO: Processing buffer {"connection_id":205073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:45:33] local.INFO: IMEI packet received {"connection_id":205073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 23:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":205073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:45:35] local.INFO: TCP Data received {"connection_id":205072,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:45:35] local.INFO: Processing buffer {"connection_id":205072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:45:35] local.INFO: IMEI packet received {"connection_id":205072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":205072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:45:36] local.INFO: TCP Data received {"connection_id":205072,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:45:36] local.INFO: Processing buffer {"connection_id":205072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:45:36] local.INFO: Packet analysis {"connection_id":205072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d44"} 
[2026-10-05 23:45:36] local.INFO: Extracted packet for processing {"connection_id":205072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d44"} 
[2026-10-05 23:45:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553253376001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791223947000,"timestamp_ms":1791223947000,"timestamp_seconds":1791223947,"priority":1,"record_length":96,"hex_timestamp":"000001a10d445ef8"} 
[2026-10-05 23:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:45:36] 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-10-05 23: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 23:45:36] 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-10-05 23: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-10-05 23:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553253376001,"66":12645,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553253376001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:45:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:45:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553253376001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":205072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:45:36] local.INFO: GPS data processed {"connection_id":205072,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:45:36] local.INFO: Acknowledgment sent {"connection_id":205072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:45:59] local.INFO: TCP Data received {"connection_id":205074,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:45:59] local.INFO: Processing buffer {"connection_id":205074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:45:59] local.INFO: IMEI packet received {"connection_id":205074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":205074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:46:04] local.INFO: TCP Data received {"connection_id":205074,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:46:04] local.INFO: Processing buffer {"connection_id":205074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:46:04] local.INFO: IMEI packet received {"connection_id":205074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":205074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:46:04] local.INFO: TCP Data received {"connection_id":205074,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:46:04] local.INFO: Processing buffer {"connection_id":205074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:46:04] local.INFO: Packet analysis {"connection_id":205074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d45"} 
[2026-10-05 23:46:04] local.INFO: Extracted packet for processing {"connection_id":205074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d45"} 
[2026-10-05 23:46:04] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":28,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553272832001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791224023000,"timestamp_ms":1791224023000,"timestamp_seconds":1791224023,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4587d8"} 
[2026-10-05 23:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:46: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-10-05 23:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 23:46: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-10-05 23:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":205074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":205074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":205074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553272832001,"66":25908,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553272832001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:46:04] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:46:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553272832001,"power":25908,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":205074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:46:05] local.INFO: GPS data processed {"connection_id":205074,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:46:05] local.INFO: Acknowledgment sent {"connection_id":205074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:46:08] local.INFO: TCP Data received {"connection_id":205072,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:46:08] local.INFO: Processing buffer {"connection_id":205072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:46:08] local.INFO: Packet analysis {"connection_id":205072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d44"} 
[2026-10-05 23:46:08] local.INFO: Extracted packet for processing {"connection_id":205072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d44"} 
[2026-10-05 23:46:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553253376001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791223947000,"timestamp_ms":1791223947000,"timestamp_seconds":1791223947,"priority":1,"record_length":96,"hex_timestamp":"000001a10d445ef8"} 
[2026-10-05 23:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:46:08] 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-10-05 23: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 23:46:08] 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-10-05 23: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-10-05 23:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:46:08] 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-10-05 23:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553253376001,"66":12645,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553253376001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:46:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:46:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553253376001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":205072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:46:08] local.INFO: GPS data processed {"connection_id":205072,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:46:08] local.INFO: Acknowledgment sent {"connection_id":205072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:46:09] local.INFO: TCP Data received {"connection_id":205074,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:46:09] local.INFO: Processing buffer {"connection_id":205074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:46:09] local.INFO: Packet analysis {"connection_id":205074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d45"} 
[2026-10-05 23:46:09] local.INFO: Extracted packet for processing {"connection_id":205074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d45"} 
[2026-10-05 23:46:09] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":28,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553272832001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791224023000,"timestamp_ms":1791224023000,"timestamp_seconds":1791224023,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4587d8"} 
[2026-10-05 23:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:46: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-10-05 23: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 23:46:09] 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-10-05 23: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-10-05 23:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":205074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":205074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":205074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553272832001,"66":25908,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553272832001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:46:09] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:46:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553272832001,"power":25908,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":205074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:46:09] local.INFO: GPS data processed {"connection_id":205074,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:46:09] local.INFO: Acknowledgment sent {"connection_id":205074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:46:30] local.INFO: TCP Data received {"connection_id":205194,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:46:30] local.INFO: Processing buffer {"connection_id":205194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:46:30] local.INFO: IMEI packet received {"connection_id":205194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":205194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:46:35] local.INFO: TCP Data received {"connection_id":205194,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:46:35] local.INFO: Processing buffer {"connection_id":205194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:46:35] local.INFO: IMEI packet received {"connection_id":205194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":205194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:46:36] local.INFO: TCP Data received {"connection_id":205194,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:46:36] local.INFO: Processing buffer {"connection_id":205194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:46:36] local.INFO: Packet analysis {"connection_id":205194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d44"} 
[2026-10-05 23:46:36] local.INFO: Extracted packet for processing {"connection_id":205194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d44"} 
[2026-10-05 23:46:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553253376001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791223947000,"timestamp_ms":1791223947000,"timestamp_seconds":1791223947,"priority":1,"record_length":96,"hex_timestamp":"000001a10d445ef8"} 
[2026-10-05 23:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:46:36] 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-10-05 23:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 23:46:36] 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-10-05 23:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553253376001,"66":12645,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553253376001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:46:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:46:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553253376001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":205194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970570,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:46:36] local.INFO: GPS data processed {"connection_id":205194,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:46:36] local.INFO: Acknowledgment sent {"connection_id":205194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:46:54] local.INFO: TCP Data received {"connection_id":208171,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:46:54] local.INFO: Processing buffer {"connection_id":208171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:46:54] local.INFO: IMEI packet received {"connection_id":208171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":208171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:46:59] local.INFO: TCP Data received {"connection_id":208171,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:46:59] local.INFO: Processing buffer {"connection_id":208171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:46:59] local.INFO: IMEI packet received {"connection_id":208171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":208171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:46:59] local.INFO: TCP Data received {"connection_id":208171,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:46:59] local.INFO: Processing buffer {"connection_id":208171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:46:59] local.INFO: Packet analysis {"connection_id":208171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d45"} 
[2026-10-05 23:46:59] local.INFO: Extracted packet for processing {"connection_id":208171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d45"} 
[2026-10-05 23:46:59] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":28,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553272832001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791224023000,"timestamp_ms":1791224023000,"timestamp_seconds":1791224023,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4587d8"} 
[2026-10-05 23:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":63,"data_length":795,"current_offset":136} 
[2026-10-05 23:46: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-10-05 23: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-10-05 23:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":208171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":208171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":208171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553272832001,"66":25908,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553272832001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:46:59] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:46:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553272832001,"power":25908,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":208171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:46:59] local.INFO: GPS data processed {"connection_id":208171,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:46:59] local.INFO: Acknowledgment sent {"connection_id":208171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:47:09] local.INFO: TCP Data received {"connection_id":205194,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:47:09] local.INFO: Processing buffer {"connection_id":205194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d445ef8012d7c254005dacc900008015125..."} 
[2026-10-05 23:47:09] local.INFO: Packet analysis {"connection_id":205194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d44"} 
[2026-10-05 23:47:09] local.INFO: Extracted packet for processing {"connection_id":205194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d44"} 
[2026-10-05 23:47:09] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553253376001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1791223947000,"timestamp_ms":1791223947000,"timestamp_seconds":1791223947,"priority":1,"record_length":96,"hex_timestamp":"000001a10d445ef8"} 
[2026-10-05 23:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:47:09] 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-10-05 23:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-05 23:47:09] 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-10-05 23:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":205194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":205194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":205194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553253376001,"66":12645,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553253376001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:47:09] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:47:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553253376001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":205194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:47:09] local.INFO: GPS data processed {"connection_id":205194,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:47:09] local.INFO: Acknowledgment sent {"connection_id":205194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:47:30] local.INFO: TCP Data received {"connection_id":205076,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:47:30] local.INFO: Processing buffer {"connection_id":205076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:47:30] local.INFO: IMEI packet received {"connection_id":205076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":205076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:47:30] local.INFO: TCP Data received {"connection_id":205076,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:47:30] local.INFO: Processing buffer {"connection_id":205076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:47:30] local.INFO: IMEI packet received {"connection_id":205076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":205076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:47:31] local.INFO: TCP Data received {"connection_id":208171,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:47:31] local.INFO: Processing buffer {"connection_id":208171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:47:31] local.INFO: Packet analysis {"connection_id":208171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d45"} 
[2026-10-05 23:47:31] local.INFO: Extracted packet for processing {"connection_id":208171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d45"} 
[2026-10-05 23:47:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":28,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553272832001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791224023000,"timestamp_ms":1791224023000,"timestamp_seconds":1791224023,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4587d8"} 
[2026-10-05 23:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:47: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-10-05 23: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 23:47:31] 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-10-05 23: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-10-05 23:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":208171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":208171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":208171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553272832001,"66":25908,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553272832001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:47:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:47:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553272832001,"power":25908,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":208171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:47:31] local.INFO: GPS data processed {"connection_id":208171,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:47:31] local.INFO: Acknowledgment sent {"connection_id":208171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:47:35] local.INFO: TCP Data received {"connection_id":205076,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:47:35] local.INFO: Processing buffer {"connection_id":205076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:47:35] local.INFO: IMEI packet received {"connection_id":205076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":205076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:47:36] local.INFO: TCP Data received {"connection_id":205076,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:47:36] local.INFO: Processing buffer {"connection_id":205076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:47:36] local.INFO: Packet analysis {"connection_id":205076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d48"} 
[2026-10-05 23:47:36] local.INFO: Extracted packet for processing {"connection_id":205076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d48"} 
[2026-10-05 23:47:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553330432001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791224248000,"timestamp_ms":1791224248000,"timestamp_seconds":1791224248,"priority":1,"record_length":96,"hex_timestamp":"000001a10d48f6c0"} 
[2026-10-05 23:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 23:47:36] 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-10-05 23: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-10-05 23:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:47:36] 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-10-05 23:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553330432001,"66":12635,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553330432001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:47:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:47:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553330432001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":205076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:47:36] local.INFO: GPS data processed {"connection_id":205076,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:47:36] local.INFO: Acknowledgment sent {"connection_id":205076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:47:54] local.INFO: TCP Data received {"connection_id":205077,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:47:54] local.INFO: Processing buffer {"connection_id":205077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:47:54] local.INFO: IMEI packet received {"connection_id":205077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":205077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:47:59] local.INFO: TCP Data received {"connection_id":205077,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:47:59] local.INFO: Processing buffer {"connection_id":205077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:47:59] local.INFO: IMEI packet received {"connection_id":205077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":205077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:47:59] local.INFO: TCP Data received {"connection_id":205077,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:47:59] local.INFO: Processing buffer {"connection_id":205077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:47:59] local.INFO: Packet analysis {"connection_id":205077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d45"} 
[2026-10-05 23:47:59] local.INFO: Extracted packet for processing {"connection_id":205077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d45"} 
[2026-10-05 23:47:59] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":28,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553272832001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791224023000,"timestamp_ms":1791224023000,"timestamp_seconds":1791224023,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4587d8"} 
[2026-10-05 23:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:47: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-10-05 23: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 23:47: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-10-05 23: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-10-05 23:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":205077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":205077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":205077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553272832001,"66":25908,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553272832001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:47:59] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:47:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553272832001,"power":25908,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":205077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:47:59] local.INFO: GPS data processed {"connection_id":205077,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:47:59] local.INFO: Acknowledgment sent {"connection_id":205077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:48:07] local.INFO: TCP Data received {"connection_id":205076,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:48:07] local.INFO: Processing buffer {"connection_id":205076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:48:07] local.INFO: Packet analysis {"connection_id":205076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d48"} 
[2026-10-05 23:48:07] local.INFO: Extracted packet for processing {"connection_id":205076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d48"} 
[2026-10-05 23:48:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553330432001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791224248000,"timestamp_ms":1791224248000,"timestamp_seconds":1791224248,"priority":1,"record_length":96,"hex_timestamp":"000001a10d48f6c0"} 
[2026-10-05 23:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 23:48:07] 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-10-05 23:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:48:07] 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-10-05 23:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553330432001,"66":12635,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553330432001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:48:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:48:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553330432001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":205076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:48:07] local.INFO: GPS data processed {"connection_id":205076,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:48:07] local.INFO: Acknowledgment sent {"connection_id":205076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:48:30] local.INFO: TCP Data received {"connection_id":205078,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:48:30] local.INFO: Processing buffer {"connection_id":205078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:48:30] local.INFO: IMEI packet received {"connection_id":205078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":205078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:48:31] local.INFO: TCP Data received {"connection_id":205077,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:48:31] local.INFO: Processing buffer {"connection_id":205077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:48:31] local.INFO: Packet analysis {"connection_id":205077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d45"} 
[2026-10-05 23:48:31] local.INFO: Extracted packet for processing {"connection_id":205077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d45"} 
[2026-10-05 23:48:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":28,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 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-10-05 23:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553272832001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791224023000,"timestamp_ms":1791224023000,"timestamp_seconds":1791224023,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4587d8"} 
[2026-10-05 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-10-05 23:48: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-10-05 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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 23:48:31] 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-10-05 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-10-05 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-10-05 23:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":205077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":205077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":205077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553272832001,"66":25908,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553272832001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:48:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:48:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553272832001,"power":25908,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":205077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:48:31] local.INFO: GPS data processed {"connection_id":205077,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:48:31] local.INFO: Acknowledgment sent {"connection_id":205077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:48:35] local.INFO: TCP Data received {"connection_id":205078,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:48:35] local.INFO: Processing buffer {"connection_id":205078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:48:35] local.INFO: IMEI packet received {"connection_id":205078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":205078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:48:36] local.INFO: TCP Data received {"connection_id":205078,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:48:36] local.INFO: Processing buffer {"connection_id":205078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:48:36] local.INFO: Packet analysis {"connection_id":205078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d48"} 
[2026-10-05 23:48:36] local.INFO: Extracted packet for processing {"connection_id":205078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d48"} 
[2026-10-05 23:48:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553330432001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791224248000,"timestamp_ms":1791224248000,"timestamp_seconds":1791224248,"priority":1,"record_length":96,"hex_timestamp":"000001a10d48f6c0"} 
[2026-10-05 23:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 23:48:36] 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-10-05 23:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:48: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-10-05 23:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553330432001,"66":12635,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553330432001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:48:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:48:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553330432001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":205078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970578,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:48:36] local.INFO: GPS data processed {"connection_id":205078,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:48:36] local.INFO: Acknowledgment sent {"connection_id":205078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:48:53] local.INFO: TCP Data received {"connection_id":205080,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:48:53] local.INFO: Processing buffer {"connection_id":205080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:48:53] local.INFO: IMEI packet received {"connection_id":205080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":205080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:48:58] local.INFO: TCP Data received {"connection_id":205080,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:48:58] local.INFO: Processing buffer {"connection_id":205080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:48:58] local.INFO: IMEI packet received {"connection_id":205080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":205080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:48:59] local.INFO: TCP Data received {"connection_id":205080,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:48:59] local.INFO: Processing buffer {"connection_id":205080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4587d8012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:48:59] local.INFO: Packet analysis {"connection_id":205080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d45"} 
[2026-10-05 23:48:59] local.INFO: Extracted packet for processing {"connection_id":205080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d45"} 
[2026-10-05 23:48:59] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":28,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553272832001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791224023000,"timestamp_ms":1791224023000,"timestamp_seconds":1791224023,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4587d8"} 
[2026-10-05 23:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-05 23:48: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-10-05 23: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-10-05 23:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":205080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":205080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":205080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553272832001,"66":25908,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553272832001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:48:59] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:48:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553272832001,"power":25908,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":205080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:48:59] local.INFO: GPS data processed {"connection_id":205080,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:48:59] local.INFO: Acknowledgment sent {"connection_id":205080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:49:07] local.INFO: TCP Data received {"connection_id":205078,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:49:07] local.INFO: Processing buffer {"connection_id":205078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:49:07] local.INFO: Packet analysis {"connection_id":205078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d48"} 
[2026-10-05 23:49:07] local.INFO: Extracted packet for processing {"connection_id":205078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d48"} 
[2026-10-05 23:49:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553330432001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791224248000,"timestamp_ms":1791224248000,"timestamp_seconds":1791224248,"priority":1,"record_length":96,"hex_timestamp":"000001a10d48f6c0"} 
[2026-10-05 23:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 23:49:07] 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-10-05 23: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-10-05 23:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":205078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":205078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":205078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:49:07] 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-10-05 23:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553330432001,"66":12635,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553330432001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:49:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:49:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553330432001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":205078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:49:07] local.INFO: GPS data processed {"connection_id":205078,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:49:07] local.INFO: Acknowledgment sent {"connection_id":205078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:49:30] local.INFO: TCP Data received {"connection_id":206571,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:49:30] local.INFO: Processing buffer {"connection_id":206571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:49:30] local.INFO: IMEI packet received {"connection_id":206571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":206571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:49:30] local.INFO: TCP Data received {"connection_id":205080,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:49:30] local.INFO: Processing buffer {"connection_id":205080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:49:30] local.INFO: Packet analysis {"connection_id":205080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4a"} 
[2026-10-05 23:49:30] local.INFO: Extracted packet for processing {"connection_id":205080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4a"} 
[2026-10-05 23:49:30] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":28,"angle":254,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553349888001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1791224324000,"timestamp_ms":1791224324000,"timestamp_seconds":1791224324,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4a1fa0"} 
[2026-10-05 23:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 23:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23: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-10-05 23:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":205080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":205080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":205080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553349888001,"66":25875,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553349888001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:49:30] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:49:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553349888001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":205080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:49:30] local.INFO: GPS data processed {"connection_id":205080,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:49:30] local.INFO: Acknowledgment sent {"connection_id":205080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:49:35] local.INFO: TCP Data received {"connection_id":206571,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:49:35] local.INFO: Processing buffer {"connection_id":206571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:49:35] local.INFO: IMEI packet received {"connection_id":206571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":206571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:49:36] local.INFO: TCP Data received {"connection_id":206571,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:49:36] local.INFO: Processing buffer {"connection_id":206571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:49:36] local.INFO: Packet analysis {"connection_id":206571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d48"} 
[2026-10-05 23:49:36] local.INFO: Extracted packet for processing {"connection_id":206571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d48"} 
[2026-10-05 23:49:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553330432001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791224248000,"timestamp_ms":1791224248000,"timestamp_seconds":1791224248,"priority":1,"record_length":96,"hex_timestamp":"000001a10d48f6c0"} 
[2026-10-05 23:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 23:49:36] 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-10-05 23:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:49: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-10-05 23:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553330432001,"66":12635,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553330432001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:49:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:49:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553330432001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":206571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970582,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:49:36] local.INFO: GPS data processed {"connection_id":206571,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:49:36] local.INFO: Acknowledgment sent {"connection_id":206571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:49:58] local.INFO: TCP Data received {"connection_id":205196,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:49:58] local.INFO: Processing buffer {"connection_id":205196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:49:58] local.INFO: IMEI packet received {"connection_id":205196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":205196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:50:04] local.INFO: TCP Data received {"connection_id":205196,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:50:04] local.INFO: Processing buffer {"connection_id":205196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:50:04] local.INFO: IMEI packet received {"connection_id":205196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":205196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:50:04] local.INFO: TCP Data received {"connection_id":205196,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:50:04] local.INFO: Processing buffer {"connection_id":205196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:50:04] local.INFO: Packet analysis {"connection_id":205196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4a"} 
[2026-10-05 23:50:04] local.INFO: Extracted packet for processing {"connection_id":205196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4a"} 
[2026-10-05 23:50:04] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":28,"angle":254,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553349888001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791224324000,"timestamp_ms":1791224324000,"timestamp_seconds":1791224324,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4a1fa0"} 
[2026-10-05 23:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:50: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-10-05 23:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 23:50: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-10-05 23:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":205196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":205196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":205196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553349888001,"66":25875,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553349888001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:50:04] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:50:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553349888001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":205196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:50:04] local.INFO: GPS data processed {"connection_id":205196,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:50:04] local.INFO: Acknowledgment sent {"connection_id":205196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:50:07] local.INFO: TCP Data received {"connection_id":206571,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:50:07] local.INFO: Processing buffer {"connection_id":206571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:50:07] local.INFO: Packet analysis {"connection_id":206571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d48"} 
[2026-10-05 23:50:07] local.INFO: Extracted packet for processing {"connection_id":206571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d48"} 
[2026-10-05 23:50:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:50: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-10-05 23:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553330432001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791224248000,"timestamp_ms":1791224248000,"timestamp_seconds":1791224248,"priority":1,"record_length":96,"hex_timestamp":"000001a10d48f6c0"} 
[2026-10-05 23:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 23:50:07] 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-10-05 23:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":206571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":206571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":206571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:50:07] 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-10-05 23:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553330432001,"66":12635,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553330432001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:50:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:50:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553330432001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":206571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970584,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:50:07] local.INFO: GPS data processed {"connection_id":206571,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:50:07] local.INFO: Acknowledgment sent {"connection_id":206571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:50:31] local.INFO: TCP Data received {"connection_id":208172,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:50:31] local.INFO: Processing buffer {"connection_id":208172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:50:31] local.INFO: IMEI packet received {"connection_id":208172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":208172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:50:35] local.INFO: TCP Data received {"connection_id":208172,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:50:35] local.INFO: Processing buffer {"connection_id":208172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:50:35] local.INFO: IMEI packet received {"connection_id":208172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":208172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:50:36] local.INFO: TCP Data received {"connection_id":205196,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:50:36] local.INFO: Processing buffer {"connection_id":205196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:50:36] local.INFO: Packet analysis {"connection_id":205196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4a"} 
[2026-10-05 23:50:36] local.INFO: Extracted packet for processing {"connection_id":205196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4a"} 
[2026-10-05 23:50:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":28,"angle":254,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553349888001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791224324000,"timestamp_ms":1791224324000,"timestamp_seconds":1791224324,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4a1fa0"} 
[2026-10-05 23:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 23:50: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-10-05 23: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-10-05 23:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553349888001,"66":25875,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553349888001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:50:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:50:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553349888001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":205196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:50:36] local.INFO: GPS data processed {"connection_id":205196,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:50:36] local.INFO: Acknowledgment sent {"connection_id":205196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:50:36] local.INFO: TCP Data received {"connection_id":208172,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:50:36] local.INFO: Processing buffer {"connection_id":208172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:50:36] local.INFO: Packet analysis {"connection_id":208172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d48"} 
[2026-10-05 23:50:36] local.INFO: Extracted packet for processing {"connection_id":208172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d48"} 
[2026-10-05 23:50:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553330432001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791224248000,"timestamp_ms":1791224248000,"timestamp_seconds":1791224248,"priority":1,"record_length":96,"hex_timestamp":"000001a10d48f6c0"} 
[2026-10-05 23:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 23:50:36] 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-10-05 23: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-10-05 23:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553330432001,"66":12635,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553330432001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:50:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:50:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553330432001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":208172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:50:36] local.INFO: GPS data processed {"connection_id":208172,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:50:36] local.INFO: Acknowledgment sent {"connection_id":208172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:50:54] local.INFO: TCP Data received {"connection_id":208174,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:50:54] local.INFO: Processing buffer {"connection_id":208174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:50:54] local.INFO: IMEI packet received {"connection_id":208174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":208174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:50:57] local.INFO: TCP Data received {"connection_id":208173,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208173,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:50:57] local.INFO: Processing buffer {"connection_id":208173,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:50:57] local.INFO: IMEI packet received {"connection_id":208173,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 23:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":208173,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:50:58] local.INFO: TCP Data received {"connection_id":208174,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:50:58] local.INFO: Processing buffer {"connection_id":208174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:50:58] local.INFO: IMEI packet received {"connection_id":208174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":208174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:50:59] local.INFO: TCP Data received {"connection_id":208174,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:50:59] local.INFO: Processing buffer {"connection_id":208174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:50:59] local.INFO: Packet analysis {"connection_id":208174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4a"} 
[2026-10-05 23:50:59] local.INFO: Extracted packet for processing {"connection_id":208174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4a"} 
[2026-10-05 23:50:59] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":28,"angle":254,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553349888001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791224324000,"timestamp_ms":1791224324000,"timestamp_seconds":1791224324,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4a1fa0"} 
[2026-10-05 23:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23: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-10-05 23:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 23:50: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-10-05 23: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-10-05 23:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":208174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":208174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":208174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553349888001,"66":25875,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553349888001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:50:59] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:50:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553349888001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":208174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:50:59] local.INFO: GPS data processed {"connection_id":208174,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:50:59] local.INFO: Acknowledgment sent {"connection_id":208174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:51:07] local.INFO: TCP Data received {"connection_id":208172,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:51:07] local.INFO: Processing buffer {"connection_id":208172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:51:07] local.INFO: Packet analysis {"connection_id":208172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d48"} 
[2026-10-05 23:51:07] local.INFO: Extracted packet for processing {"connection_id":208172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d48"} 
[2026-10-05 23:51:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553330432001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791224248000,"timestamp_ms":1791224248000,"timestamp_seconds":1791224248,"priority":1,"record_length":96,"hex_timestamp":"000001a10d48f6c0"} 
[2026-10-05 23:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 23:51:07] 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-10-05 23: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-10-05 23:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":208172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":208172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":208172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553330432001,"66":12635,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553330432001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:51:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:51:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553330432001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":208172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970588,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:51:07] local.INFO: GPS data processed {"connection_id":208172,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:51:07] local.INFO: Acknowledgment sent {"connection_id":208172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:51:30] local.INFO: TCP Data received {"connection_id":206573,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206573,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:51:30] local.INFO: Processing buffer {"connection_id":206573,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:51:30] local.INFO: IMEI packet received {"connection_id":206573,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":206573,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:51:30] local.INFO: TCP Data received {"connection_id":208174,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:51:30] local.INFO: Processing buffer {"connection_id":208174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:51:30] local.INFO: Packet analysis {"connection_id":208174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4a"} 
[2026-10-05 23:51:30] local.INFO: Extracted packet for processing {"connection_id":208174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4a"} 
[2026-10-05 23:51:30] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":28,"angle":254,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553349888001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1791224324000,"timestamp_ms":1791224324000,"timestamp_seconds":1791224324,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4a1fa0"} 
[2026-10-05 23:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23: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-10-05 23:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 23:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23: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-10-05 23:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":208174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":208174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":208174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553349888001,"66":25875,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553349888001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:51:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:51:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553349888001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":208174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:51:31] local.INFO: GPS data processed {"connection_id":208174,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:51:31] local.INFO: Acknowledgment sent {"connection_id":208174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:51:35] local.INFO: TCP Data received {"connection_id":206573,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206573,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:51:35] local.INFO: Processing buffer {"connection_id":206573,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:51:35] local.INFO: IMEI packet received {"connection_id":206573,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":206573,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:51:36] local.INFO: TCP Data received {"connection_id":206573,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:51:36] local.INFO: Processing buffer {"connection_id":206573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:51:36] local.INFO: Packet analysis {"connection_id":206573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d48"} 
[2026-10-05 23:51:36] local.INFO: Extracted packet for processing {"connection_id":206573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d48"} 
[2026-10-05 23:51:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553330432001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791224248000,"timestamp_ms":1791224248000,"timestamp_seconds":1791224248,"priority":1,"record_length":96,"hex_timestamp":"000001a10d48f6c0"} 
[2026-10-05 23:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 23:51:36] 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-10-05 23:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553330432001,"66":12635,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553330432001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:51:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:51:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553330432001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":206573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:51:36] local.INFO: GPS data processed {"connection_id":206573,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:51:36] local.INFO: Acknowledgment sent {"connection_id":206573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:51:38] local.INFO: TCP Data received {"connection_id":206574,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:51:38] local.INFO: Processing buffer {"connection_id":206574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:51:38] local.INFO: IMEI packet received {"connection_id":206574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 23:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":206574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:51:53] local.INFO: TCP Data received {"connection_id":206575,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:51:53] local.INFO: Processing buffer {"connection_id":206575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:51:53] local.INFO: IMEI packet received {"connection_id":206575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":206575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:51:59] local.INFO: TCP Data received {"connection_id":206575,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:51:59] local.INFO: Processing buffer {"connection_id":206575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:51:59] local.INFO: IMEI packet received {"connection_id":206575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":206575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:51:59] local.INFO: TCP Data received {"connection_id":206575,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:51:59] local.INFO: Processing buffer {"connection_id":206575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:51:59] local.INFO: Packet analysis {"connection_id":206575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4a"} 
[2026-10-05 23:51:59] local.INFO: Extracted packet for processing {"connection_id":206575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4a"} 
[2026-10-05 23:51:59] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":28,"angle":254,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553349888001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791224324000,"timestamp_ms":1791224324000,"timestamp_seconds":1791224324,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4a1fa0"} 
[2026-10-05 23:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23: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-10-05 23: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 23:51: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-10-05 23: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-10-05 23:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":206575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":206575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":206575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553349888001,"66":25875,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553349888001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:51:59] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:51:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553349888001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":206575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:51:59] local.INFO: GPS data processed {"connection_id":206575,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:51:59] local.INFO: Acknowledgment sent {"connection_id":206575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:52:08] local.INFO: TCP Data received {"connection_id":206573,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:52:08] local.INFO: Processing buffer {"connection_id":206573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d48f6c0012d7c254005dacc900008015128..."} 
[2026-10-05 23:52:08] local.INFO: Packet analysis {"connection_id":206573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d48"} 
[2026-10-05 23:52:08] local.INFO: Extracted packet for processing {"connection_id":206573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d48"} 
[2026-10-05 23:52:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553330432001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791224248000,"timestamp_ms":1791224248000,"timestamp_seconds":1791224248,"priority":1,"record_length":96,"hex_timestamp":"000001a10d48f6c0"} 
[2026-10-05 23:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:52: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-10-05 23:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-05 23:52: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-10-05 23:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":206573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":206573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":206573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553330432001,"66":12635,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553330432001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:52:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:52:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553330432001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":206573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970592,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:52:08] local.INFO: GPS data processed {"connection_id":206573,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:52:08] local.INFO: Acknowledgment sent {"connection_id":206573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:52:30] local.INFO: TCP Data received {"connection_id":208175,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:52:30] local.INFO: Processing buffer {"connection_id":208175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:52:30] local.INFO: IMEI packet received {"connection_id":208175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":208175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:52:31] local.INFO: TCP Data received {"connection_id":208175,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:52:31] local.INFO: Processing buffer {"connection_id":208175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:52:31] local.INFO: IMEI packet received {"connection_id":208175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":208175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:52:31] local.INFO: TCP Data received {"connection_id":206575,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:52:31] local.INFO: Processing buffer {"connection_id":206575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:52:31] local.INFO: Packet analysis {"connection_id":206575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4a"} 
[2026-10-05 23:52:31] local.INFO: Extracted packet for processing {"connection_id":206575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4a"} 
[2026-10-05 23:52:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":28,"angle":254,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553349888001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791224324000,"timestamp_ms":1791224324000,"timestamp_seconds":1791224324,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4a1fa0"} 
[2026-10-05 23:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:52: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-10-05 23:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 23:52:31] 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-10-05 23:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553349888001,"66":25875,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553349888001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:52:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:52:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553349888001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":206575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:52:31] local.INFO: GPS data processed {"connection_id":206575,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:52:31] local.INFO: Acknowledgment sent {"connection_id":206575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:52:35] local.INFO: TCP Data received {"connection_id":208175,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:52:35] local.INFO: Processing buffer {"connection_id":208175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:52:35] local.INFO: IMEI packet received {"connection_id":208175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":208175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:52:36] local.INFO: TCP Data received {"connection_id":208175,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:52:36] local.INFO: Processing buffer {"connection_id":208175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:52:36] local.INFO: Packet analysis {"connection_id":208175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4d"} 
[2026-10-05 23:52:36] local.INFO: Extracted packet for processing {"connection_id":208175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4d"} 
[2026-10-05 23:52:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553407488001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791224549000,"timestamp_ms":1791224549000,"timestamp_seconds":1791224549,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4d8e88"} 
[2026-10-05 23:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 23:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553407488001,"66":12624,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553407488001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:52:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:52:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553407488001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":208175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970594,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:52:36] local.INFO: GPS data processed {"connection_id":208175,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:52:36] local.INFO: Acknowledgment sent {"connection_id":208175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:52:53] local.INFO: TCP Data received {"connection_id":206576,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:52:53] local.INFO: Processing buffer {"connection_id":206576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:52:53] local.INFO: IMEI packet received {"connection_id":206576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":206576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:52:59] local.INFO: TCP Data received {"connection_id":206576,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:52:59] local.INFO: Processing buffer {"connection_id":206576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:52:59] local.INFO: IMEI packet received {"connection_id":206576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":206576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:52:59] local.INFO: TCP Data received {"connection_id":206576,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:52:59] local.INFO: Processing buffer {"connection_id":206576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:52:59] local.INFO: Packet analysis {"connection_id":206576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4a"} 
[2026-10-05 23:52:59] local.INFO: Extracted packet for processing {"connection_id":206576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4a"} 
[2026-10-05 23:52:59] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":28,"angle":254,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553349888001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791224324000,"timestamp_ms":1791224324000,"timestamp_seconds":1791224324,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4a1fa0"} 
[2026-10-05 23:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 23:52: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-10-05 23: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-10-05 23:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":206576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":206576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":206576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553349888001,"66":25875,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553349888001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:53:00] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:53:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553349888001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":206576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:53:00] local.INFO: GPS data processed {"connection_id":206576,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:53:00] local.INFO: Acknowledgment sent {"connection_id":206576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:53:07] local.INFO: TCP Data received {"connection_id":208175,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:53:07] local.INFO: Processing buffer {"connection_id":208175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:53:07] local.INFO: Packet analysis {"connection_id":208175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4d"} 
[2026-10-05 23:53:07] local.INFO: Extracted packet for processing {"connection_id":208175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4d"} 
[2026-10-05 23:53:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553407488001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791224549000,"timestamp_ms":1791224549000,"timestamp_seconds":1791224549,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4d8e88"} 
[2026-10-05 23:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 23:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":208175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":208175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":208175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553407488001,"66":12624,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553407488001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:53:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:53:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553407488001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":208175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970596,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:53:07] local.INFO: GPS data processed {"connection_id":208175,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:53:07] local.INFO: Acknowledgment sent {"connection_id":208175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:53:30] local.INFO: TCP Data received {"connection_id":206576,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:53:30] local.INFO: Processing buffer {"connection_id":206576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:53:30] local.INFO: Packet analysis {"connection_id":206576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4a"} 
[2026-10-05 23:53:30] local.INFO: Extracted packet for processing {"connection_id":206576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4a"} 
[2026-10-05 23:53:30] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":28,"angle":254,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553349888001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1791224324000,"timestamp_ms":1791224324000,"timestamp_seconds":1791224324,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4a1fa0"} 
[2026-10-05 23:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 23:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23: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-10-05 23:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":206576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":206576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":206576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553349888001,"66":25875,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553349888001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:53:30] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:53:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553349888001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":206576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:53:30] local.INFO: GPS data processed {"connection_id":206576,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:53:30] local.INFO: Acknowledgment sent {"connection_id":206576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:53:35] local.INFO: TCP Data received {"connection_id":205197,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205197,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:53:35] local.INFO: Processing buffer {"connection_id":205197,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:53:35] local.INFO: IMEI packet received {"connection_id":205197,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":205197,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:53:40] local.INFO: TCP Data received {"connection_id":205197,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205197,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:53:40] local.INFO: Processing buffer {"connection_id":205197,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:53:40] local.INFO: IMEI packet received {"connection_id":205197,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":205197,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:53:41] local.INFO: TCP Data received {"connection_id":205197,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:53:41] local.INFO: Processing buffer {"connection_id":205197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:53:41] local.INFO: Packet analysis {"connection_id":205197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4d"} 
[2026-10-05 23:53:41] local.INFO: Extracted packet for processing {"connection_id":205197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4d"} 
[2026-10-05 23:53:41] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553407488001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1791224549000,"timestamp_ms":1791224549000,"timestamp_seconds":1791224549,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4d8e88"} 
[2026-10-05 23:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 23:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":205197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":205197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":205197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553407488001,"66":12624,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553407488001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:53:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:53:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553407488001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":205197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:53:41] local.INFO: GPS data processed {"connection_id":205197,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:53:41] local.INFO: Acknowledgment sent {"connection_id":205197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:53:46] local.INFO: TCP Data received {"connection_id":205197,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:53:46] local.INFO: Processing buffer {"connection_id":205197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:53:46] local.INFO: Packet analysis {"connection_id":205197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4d"} 
[2026-10-05 23:53:46] local.INFO: Extracted packet for processing {"connection_id":205197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4d"} 
[2026-10-05 23:53:46] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:53: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-10-05 23:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553407488001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1791224549000,"timestamp_ms":1791224549000,"timestamp_seconds":1791224549,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4d8e88"} 
[2026-10-05 23:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 23:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:53: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-10-05 23:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":205197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":205197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":205197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553407488001,"66":12624,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553407488001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:53:46] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:53:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553407488001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":205197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:53:46] local.INFO: GPS data processed {"connection_id":205197,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:53:46] local.INFO: Acknowledgment sent {"connection_id":205197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:53:50] local.INFO: TCP Data received {"connection_id":205197,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:53:50] local.INFO: Processing buffer {"connection_id":205197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:53:50] local.INFO: Packet analysis {"connection_id":205197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4d"} 
[2026-10-05 23:53:50] local.INFO: Extracted packet for processing {"connection_id":205197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4d"} 
[2026-10-05 23:53:50] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:53: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-10-05 23:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553407488001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1791224549000,"timestamp_ms":1791224549000,"timestamp_seconds":1791224549,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4d8e88"} 
[2026-10-05 23:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 23:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:53: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-10-05 23:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":205197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":205197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":205197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553407488001,"66":12624,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553407488001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:53:50] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:53:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553407488001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":205197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970600,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:53:51] local.INFO: GPS data processed {"connection_id":205197,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:53:51] local.INFO: Acknowledgment sent {"connection_id":205197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:53:53] local.INFO: TCP Data received {"connection_id":206577,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:53:53] local.INFO: Processing buffer {"connection_id":206577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:53:53] local.INFO: IMEI packet received {"connection_id":206577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":206577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:53:59] local.INFO: TCP Data received {"connection_id":206577,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:53:59] local.INFO: Processing buffer {"connection_id":206577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:53:59] local.INFO: IMEI packet received {"connection_id":206577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":206577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:53:59] local.INFO: TCP Data received {"connection_id":206577,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:53:59] local.INFO: Processing buffer {"connection_id":206577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4a1fa0012d77a04005f2a578001c00fe2e..."} 
[2026-10-05 23:53:59] local.INFO: Packet analysis {"connection_id":206577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4a"} 
[2026-10-05 23:53:59] local.INFO: Extracted packet for processing {"connection_id":206577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4a"} 
[2026-10-05 23:53:59] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":28,"angle":254,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553349888001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791224324000,"timestamp_ms":1791224324000,"timestamp_seconds":1791224324,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4a1fa0"} 
[2026-10-05 23:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-05 23:53: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-10-05 23: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-10-05 23:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":206577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":206577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":206577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553349888001,"66":25875,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553349888001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:53:59] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:53:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553349888001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":206577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:53:59] local.INFO: GPS data processed {"connection_id":206577,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:53:59] local.INFO: Acknowledgment sent {"connection_id":206577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:54:30] local.INFO: TCP Data received {"connection_id":205198,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:54:30] local.INFO: Processing buffer {"connection_id":205198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:54:30] local.INFO: IMEI packet received {"connection_id":205198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":205198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:54:31] local.INFO: TCP Data received {"connection_id":206577,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:54:31] local.INFO: Processing buffer {"connection_id":206577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:54:31] local.INFO: Packet analysis {"connection_id":206577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4e"} 
[2026-10-05 23:54:31] local.INFO: Extracted packet for processing {"connection_id":206577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4e"} 
[2026-10-05 23:54:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":30,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553426944001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791224625000,"timestamp_ms":1791224625000,"timestamp_seconds":1791224625,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4eb768"} 
[2026-10-05 23:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:54: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-10-05 23:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 23:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23: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-10-05 23:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":206577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":206577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":206577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553426944001,"66":25875,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553426944001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:54:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:54:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553426944001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":206577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:54:31] local.INFO: GPS data processed {"connection_id":206577,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:54:31] local.INFO: Acknowledgment sent {"connection_id":206577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:54:35] local.INFO: TCP Data received {"connection_id":205198,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:54:35] local.INFO: Processing buffer {"connection_id":205198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:54:35] local.INFO: IMEI packet received {"connection_id":205198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":205198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:54:36] local.INFO: TCP Data received {"connection_id":205198,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:54:36] local.INFO: Processing buffer {"connection_id":205198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:54:36] local.INFO: Packet analysis {"connection_id":205198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4d"} 
[2026-10-05 23:54:36] local.INFO: Extracted packet for processing {"connection_id":205198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4d"} 
[2026-10-05 23:54:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553407488001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791224549000,"timestamp_ms":1791224549000,"timestamp_seconds":1791224549,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4d8e88"} 
[2026-10-05 23:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 23:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:54:36] 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-10-05 23:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553407488001,"66":12624,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553407488001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:54:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:54:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553407488001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":205198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:54:36] local.INFO: GPS data processed {"connection_id":205198,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:54:36] local.INFO: Acknowledgment sent {"connection_id":205198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:54:59] local.INFO: TCP Data received {"connection_id":208177,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:54:59] local.INFO: Processing buffer {"connection_id":208177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:54:59] local.INFO: IMEI packet received {"connection_id":208177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":208177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:55:04] local.INFO: TCP Data received {"connection_id":208177,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:55:04] local.INFO: Processing buffer {"connection_id":208177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:55:04] local.INFO: IMEI packet received {"connection_id":208177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":208177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:55:05] local.INFO: TCP Data received {"connection_id":208177,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:55:05] local.INFO: Processing buffer {"connection_id":208177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:55:05] local.INFO: Packet analysis {"connection_id":208177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4e"} 
[2026-10-05 23:55:05] local.INFO: Extracted packet for processing {"connection_id":208177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4e"} 
[2026-10-05 23:55:05] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":30,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553426944001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1791224625000,"timestamp_ms":1791224625000,"timestamp_seconds":1791224625,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4eb768"} 
[2026-10-05 23:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23: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-10-05 23: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 23:55:05] 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-10-05 23: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-10-05 23:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":208177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":208177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":208177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553426944001,"66":25875,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553426944001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:55:05] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:55:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553426944001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":208177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:55:05] local.INFO: GPS data processed {"connection_id":208177,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:55:05] local.INFO: Acknowledgment sent {"connection_id":208177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:55:08] local.INFO: TCP Data received {"connection_id":205198,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:55:08] local.INFO: Processing buffer {"connection_id":205198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:55:08] local.INFO: Packet analysis {"connection_id":205198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4d"} 
[2026-10-05 23:55:08] local.INFO: Extracted packet for processing {"connection_id":205198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4d"} 
[2026-10-05 23:55:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553407488001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791224549000,"timestamp_ms":1791224549000,"timestamp_seconds":1791224549,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4d8e88"} 
[2026-10-05 23:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:55: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-10-05 23:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 23:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:55: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-10-05 23:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553407488001,"66":12624,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553407488001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:55:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:55:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553407488001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":205198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:55:08] local.INFO: GPS data processed {"connection_id":205198,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:55:08] local.INFO: Acknowledgment sent {"connection_id":205198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:55:30] local.INFO: TCP Data received {"connection_id":205082,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:55:30] local.INFO: Processing buffer {"connection_id":205082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:55:30] local.INFO: IMEI packet received {"connection_id":205082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":205082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:55:35] local.INFO: TCP Data received {"connection_id":205082,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:55:35] local.INFO: Processing buffer {"connection_id":205082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:55:35] local.INFO: IMEI packet received {"connection_id":205082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":205082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:55:36] local.INFO: TCP Data received {"connection_id":205082,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:55:36] local.INFO: Processing buffer {"connection_id":205082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:55:36] local.INFO: Packet analysis {"connection_id":205082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4d"} 
[2026-10-05 23:55:36] local.INFO: Extracted packet for processing {"connection_id":205082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4d"} 
[2026-10-05 23:55:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553407488001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791224549000,"timestamp_ms":1791224549000,"timestamp_seconds":1791224549,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4d8e88"} 
[2026-10-05 23:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 23:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23: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-10-05 23:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":205082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":205082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":205082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553407488001,"66":12624,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553407488001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:55:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:55:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553407488001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:55:36] local.INFO: TCP Data received {"connection_id":208177,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:55:36] local.INFO: Processing buffer {"connection_id":208177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:55:36] local.INFO: Packet analysis {"connection_id":208177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4e"} 
[2026-10-05 23:55:36] local.INFO: Extracted packet for processing {"connection_id":208177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4e"} 
[2026-10-05 23:55:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":30,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553426944001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791224625000,"timestamp_ms":1791224625000,"timestamp_seconds":1791224625,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4eb768"} 
[2026-10-05 23:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 23:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23: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-10-05 23:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553426944001,"66":25875,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553426944001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:55:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:55:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553426944001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":208177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:55:36] local.INFO: GPS data processed {"connection_id":208177,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:55:36] local.INFO: Acknowledgment sent {"connection_id":208177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":205082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970607,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:55:36] local.INFO: GPS data processed {"connection_id":205082,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:55:36] local.INFO: Acknowledgment sent {"connection_id":205082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:55:54] local.INFO: TCP Data received {"connection_id":208178,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:55:54] local.INFO: Processing buffer {"connection_id":208178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:55:54] local.INFO: IMEI packet received {"connection_id":208178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":208178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:55:59] local.INFO: TCP Data received {"connection_id":208178,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:55:59] local.INFO: Processing buffer {"connection_id":208178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:55:59] local.INFO: IMEI packet received {"connection_id":208178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":208178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:55:59] local.INFO: TCP Data received {"connection_id":208178,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:55:59] local.INFO: Processing buffer {"connection_id":208178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:55:59] local.INFO: Packet analysis {"connection_id":208178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4e"} 
[2026-10-05 23:55:59] local.INFO: Extracted packet for processing {"connection_id":208178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4e"} 
[2026-10-05 23:55:59] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":30,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553426944001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791224625000,"timestamp_ms":1791224625000,"timestamp_seconds":1791224625,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4eb768"} 
[2026-10-05 23:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 23:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23: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-10-05 23:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":208178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":208178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":208178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553426944001,"66":25875,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553426944001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:55:59] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:55:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553426944001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":208178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:55:59] local.INFO: GPS data processed {"connection_id":208178,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:55:59] local.INFO: Acknowledgment sent {"connection_id":208178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:56:08] local.INFO: TCP Data received {"connection_id":205082,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:56:08] local.INFO: Processing buffer {"connection_id":205082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:56:08] local.INFO: Packet analysis {"connection_id":205082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4d"} 
[2026-10-05 23:56:08] local.INFO: Extracted packet for processing {"connection_id":205082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4d"} 
[2026-10-05 23:56:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553407488001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791224549000,"timestamp_ms":1791224549000,"timestamp_seconds":1791224549,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4d8e88"} 
[2026-10-05 23:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:56: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-10-05 23:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 23:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":205082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":205082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":205082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553407488001,"66":12624,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553407488001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:56:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:56:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553407488001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":205082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970609,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:56:08] local.INFO: GPS data processed {"connection_id":205082,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:56:08] local.INFO: Acknowledgment sent {"connection_id":205082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:56:30] local.INFO: TCP Data received {"connection_id":206578,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:56:30] local.INFO: Processing buffer {"connection_id":206578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:56:30] local.INFO: IMEI packet received {"connection_id":206578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":206578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:56:31] local.INFO: TCP Data received {"connection_id":208178,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:56:31] local.INFO: Processing buffer {"connection_id":208178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:56:31] local.INFO: Packet analysis {"connection_id":208178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4e"} 
[2026-10-05 23:56:31] local.INFO: Extracted packet for processing {"connection_id":208178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4e"} 
[2026-10-05 23:56:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":30,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553426944001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791224625000,"timestamp_ms":1791224625000,"timestamp_seconds":1791224625,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4eb768"} 
[2026-10-05 23:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:56: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-10-05 23: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 23:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23: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-10-05 23:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":208178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":208178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":208178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553426944001,"66":25875,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553426944001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:56:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:56:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553426944001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":208178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:56:31] local.INFO: GPS data processed {"connection_id":208178,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:56:31] local.INFO: Acknowledgment sent {"connection_id":208178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:56:35] local.INFO: TCP Data received {"connection_id":206578,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:56:35] local.INFO: Processing buffer {"connection_id":206578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:56:35] local.INFO: IMEI packet received {"connection_id":206578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":206578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:56:36] local.INFO: TCP Data received {"connection_id":206578,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:56:36] local.INFO: Processing buffer {"connection_id":206578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:56:36] local.INFO: Packet analysis {"connection_id":206578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4d"} 
[2026-10-05 23:56:36] local.INFO: Extracted packet for processing {"connection_id":206578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4d"} 
[2026-10-05 23:56:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553407488001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791224549000,"timestamp_ms":1791224549000,"timestamp_seconds":1791224549,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4d8e88"} 
[2026-10-05 23:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 23:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23: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-10-05 23:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":206578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":206578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":206578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:56:36] 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-10-05 23:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553407488001,"66":12624,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553407488001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:56:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:56:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553407488001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":206578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:56:36] local.INFO: GPS data processed {"connection_id":206578,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:56:36] local.INFO: Acknowledgment sent {"connection_id":206578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:56:53] local.INFO: TCP Data received {"connection_id":205084,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:56:53] local.INFO: Processing buffer {"connection_id":205084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:56:53] local.INFO: IMEI packet received {"connection_id":205084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":205084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:56:59] local.INFO: TCP Data received {"connection_id":205084,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:56:59] local.INFO: Processing buffer {"connection_id":205084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:56:59] local.INFO: IMEI packet received {"connection_id":205084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":205084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:56:59] local.INFO: TCP Data received {"connection_id":205084,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:56:59] local.INFO: Processing buffer {"connection_id":205084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:56:59] local.INFO: Packet analysis {"connection_id":205084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4e"} 
[2026-10-05 23:56:59] local.INFO: Extracted packet for processing {"connection_id":205084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4e"} 
[2026-10-05 23:56:59] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":30,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553426944001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791224625000,"timestamp_ms":1791224625000,"timestamp_seconds":1791224625,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4eb768"} 
[2026-10-05 23:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 23:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23: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-10-05 23:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":205084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":205084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":205084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553426944001,"66":25875,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553426944001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:56:59] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:56:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553426944001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":205084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:57:00] local.INFO: GPS data processed {"connection_id":205084,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:57:00] local.INFO: Acknowledgment sent {"connection_id":205084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:57:01] local.INFO: TCP Data received {"connection_id":205083,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:57:01] local.INFO: Processing buffer {"connection_id":205083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:57:01] local.INFO: IMEI packet received {"connection_id":205083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 23:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":205083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:57:07] local.INFO: TCP Data received {"connection_id":206578,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":206578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:57:07] local.INFO: Processing buffer {"connection_id":206578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4d8e88012d7c254005dacc900008015124..."} 
[2026-10-05 23:57:07] local.INFO: Packet analysis {"connection_id":206578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4d"} 
[2026-10-05 23:57:07] local.INFO: Extracted packet for processing {"connection_id":206578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4d"} 
[2026-10-05 23:57:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 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-10-05 23:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553407488001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791224549000,"timestamp_ms":1791224549000,"timestamp_seconds":1791224549,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4d8e88"} 
[2026-10-05 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-10-05 23:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-05 23:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 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-10-05 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-10-05 23:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":206578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":206578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":206578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:57: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-10-05 23:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553407488001,"66":12624,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553407488001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:57:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:57:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553407488001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":206578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:57:07] local.INFO: GPS data processed {"connection_id":206578,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:57:07] local.INFO: Acknowledgment sent {"connection_id":206578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:57:30] local.INFO: TCP Data received {"connection_id":208179,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:57:30] local.INFO: Processing buffer {"connection_id":208179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:57:30] local.INFO: IMEI packet received {"connection_id":208179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":208179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:57:31] local.INFO: TCP Data received {"connection_id":205084,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:57:31] local.INFO: Processing buffer {"connection_id":205084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:57:31] local.INFO: Packet analysis {"connection_id":205084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4e"} 
[2026-10-05 23:57:31] local.INFO: Extracted packet for processing {"connection_id":205084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4e"} 
[2026-10-05 23:57:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":30,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553426944001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791224625000,"timestamp_ms":1791224625000,"timestamp_seconds":1791224625,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4eb768"} 
[2026-10-05 23:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:57: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-10-05 23:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 23:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23: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-10-05 23:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":205084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":205084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":205084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553426944001,"66":25875,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553426944001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:57:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:57:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553426944001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":205084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:57:31] local.INFO: GPS data processed {"connection_id":205084,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:57:31] local.INFO: Acknowledgment sent {"connection_id":205084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:57:32] local.INFO: TCP Data received {"connection_id":208179,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:57:32] local.INFO: Processing buffer {"connection_id":208179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:57:32] local.INFO: IMEI packet received {"connection_id":208179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":208179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:57:34] local.INFO: TCP Data received {"connection_id":205085,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205085,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:57:34] local.INFO: Processing buffer {"connection_id":205085,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-05 23:57:34] local.INFO: IMEI packet received {"connection_id":205085,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-05 23:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":205085,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:57:35] local.INFO: TCP Data received {"connection_id":208179,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:57:35] local.INFO: Processing buffer {"connection_id":208179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:57:35] local.INFO: IMEI packet received {"connection_id":208179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":208179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:57:36] local.INFO: TCP Data received {"connection_id":208179,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10d522650012d7c254005dacc900008015126..."} 
[2026-10-05 23:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d522650012d7c254005dacc900008015126..."} 
[2026-10-05 23:57:36] local.INFO: Processing buffer {"connection_id":208179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d522650012d7c254005dacc900008015126..."} 
[2026-10-05 23:57:36] local.INFO: Packet analysis {"connection_id":208179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d52"} 
[2026-10-05 23:57:36] local.INFO: Extracted packet for processing {"connection_id":208179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d52"} 
[2026-10-05 23:57:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553484544001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791224850000,"timestamp_ms":1791224850000,"timestamp_seconds":1791224850,"priority":1,"record_length":96,"hex_timestamp":"000001a10d522650"} 
[2026-10-05 23:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 23:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:57: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-10-05 23:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553484544001,"66":12613,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553484544001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:57:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:57:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553484544001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":208179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:57:36] local.INFO: GPS data processed {"connection_id":208179,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:57:36] local.INFO: Acknowledgment sent {"connection_id":208179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:57:53] local.INFO: TCP Data received {"connection_id":208180,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:57:53] local.INFO: Processing buffer {"connection_id":208180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:57:53] local.INFO: IMEI packet received {"connection_id":208180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":208180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:57:59] local.INFO: TCP Data received {"connection_id":208180,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:57:59] local.INFO: Processing buffer {"connection_id":208180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:57:59] local.INFO: IMEI packet received {"connection_id":208180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":208180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:57:59] local.INFO: TCP Data received {"connection_id":208180,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:57:59] local.INFO: Processing buffer {"connection_id":208180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:57:59] local.INFO: Packet analysis {"connection_id":208180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4e"} 
[2026-10-05 23:57:59] local.INFO: Extracted packet for processing {"connection_id":208180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4e"} 
[2026-10-05 23:57:59] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":30,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553426944001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791224625000,"timestamp_ms":1791224625000,"timestamp_seconds":1791224625,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4eb768"} 
[2026-10-05 23:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23: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-10-05 23:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 23:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23: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-10-05 23:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":208180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":208180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":208180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553426944001,"66":25875,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553426944001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:57:59] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:57:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553426944001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":208180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:57:59] local.INFO: GPS data processed {"connection_id":208180,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:57:59] local.INFO: Acknowledgment sent {"connection_id":208180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:58:07] local.INFO: TCP Data received {"connection_id":208179,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a10d522650012d7c254005dacc900008015126..."} 
[2026-10-05 23:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d522650012d7c254005dacc900008015126..."} 
[2026-10-05 23:58:07] local.INFO: Processing buffer {"connection_id":208179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d522650012d7c254005dacc900008015126..."} 
[2026-10-05 23:58:07] local.INFO: Packet analysis {"connection_id":208179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d52"} 
[2026-10-05 23:58:07] local.INFO: Extracted packet for processing {"connection_id":208179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d52"} 
[2026-10-05 23:58:07] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553484544001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1791224850000,"timestamp_ms":1791224850000,"timestamp_seconds":1791224850,"priority":1,"record_length":96,"hex_timestamp":"000001a10d522650"} 
[2026-10-05 23:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 23:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23: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-10-05 23:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":208179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":208179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":208179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:58: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-10-05 23:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553484544001,"66":12613,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553484544001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:58:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:58:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553484544001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":208179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:58:07] local.INFO: GPS data processed {"connection_id":208179,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:58:07] local.INFO: Acknowledgment sent {"connection_id":208179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:58:30] local.INFO: TCP Data received {"connection_id":208181,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:58:30] local.INFO: Processing buffer {"connection_id":208181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:58:30] local.INFO: IMEI packet received {"connection_id":208181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":208181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:58:31] local.INFO: TCP Data received {"connection_id":208180,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:58:31] local.INFO: Processing buffer {"connection_id":208180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:58:31] local.INFO: Packet analysis {"connection_id":208180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4e"} 
[2026-10-05 23:58:31] local.INFO: Extracted packet for processing {"connection_id":208180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4e"} 
[2026-10-05 23:58:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":30,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553426944001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1791224625000,"timestamp_ms":1791224625000,"timestamp_seconds":1791224625,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4eb768"} 
[2026-10-05 23:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:58: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-10-05 23: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 23:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23: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-10-05 23:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":208180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":208180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":208180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553426944001,"66":25875,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553426944001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:58:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:58:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553426944001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":208180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:58:31] local.INFO: GPS data processed {"connection_id":208180,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:58:31] local.INFO: Acknowledgment sent {"connection_id":208180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:58:35] local.INFO: TCP Data received {"connection_id":208181,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:58:35] local.INFO: Processing buffer {"connection_id":208181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:58:35] local.INFO: IMEI packet received {"connection_id":208181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":208181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:58:36] local.INFO: TCP Data received {"connection_id":208181,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a10d522650012d7c254005dacc900008015126..."} 
[2026-10-05 23:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d522650012d7c254005dacc900008015126..."} 
[2026-10-05 23:58:36] local.INFO: Processing buffer {"connection_id":208181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d522650012d7c254005dacc900008015126..."} 
[2026-10-05 23:58:36] local.INFO: Packet analysis {"connection_id":208181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d52"} 
[2026-10-05 23:58:36] local.INFO: Extracted packet for processing {"connection_id":208181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d52"} 
[2026-10-05 23:58:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553484544001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791224850000,"timestamp_ms":1791224850000,"timestamp_seconds":1791224850,"priority":1,"record_length":96,"hex_timestamp":"000001a10d522650"} 
[2026-10-05 23:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 23:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23: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-10-05 23:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553484544001,"66":12613,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553484544001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:58:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:58:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553484544001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":208181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:58:36] local.INFO: GPS data processed {"connection_id":208181,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:58:36] local.INFO: Acknowledgment sent {"connection_id":208181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:58:59] local.INFO: TCP Data received {"connection_id":205087,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:58:59] local.INFO: Processing buffer {"connection_id":205087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:58:59] local.INFO: IMEI packet received {"connection_id":205087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":205087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:59:04] local.INFO: TCP Data received {"connection_id":205087,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:59:04] local.INFO: Processing buffer {"connection_id":205087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:59:04] local.INFO: IMEI packet received {"connection_id":205087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":205087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:59:04] local.INFO: TCP Data received {"connection_id":205087,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:59:04] local.INFO: Processing buffer {"connection_id":205087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:59:04] local.INFO: Packet analysis {"connection_id":205087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4e"} 
[2026-10-05 23:59:04] local.INFO: Extracted packet for processing {"connection_id":205087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4e"} 
[2026-10-05 23:59:04] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":30,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553426944001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1791224625000,"timestamp_ms":1791224625000,"timestamp_seconds":1791224625,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4eb768"} 
[2026-10-05 23:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:59: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-10-05 23: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 23:59: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-10-05 23: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-10-05 23:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":205087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":205087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":205087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553426944001,"66":25875,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553426944001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:59:04] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:59:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553426944001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":205087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:59:05] local.INFO: GPS data processed {"connection_id":205087,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:59:05] local.INFO: Acknowledgment sent {"connection_id":205087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:59:07] local.INFO: TCP Data received {"connection_id":208181,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a10d522650012d7c254005dacc900008015126..."} 
[2026-10-05 23:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d522650012d7c254005dacc900008015126..."} 
[2026-10-05 23:59:08] local.INFO: Processing buffer {"connection_id":208181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d522650012d7c254005dacc900008015126..."} 
[2026-10-05 23:59:08] local.INFO: Packet analysis {"connection_id":208181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d52"} 
[2026-10-05 23:59:08] local.INFO: Extracted packet for processing {"connection_id":208181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d52"} 
[2026-10-05 23:59:08] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553484544001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1791224850000,"timestamp_ms":1791224850000,"timestamp_seconds":1791224850,"priority":1,"record_length":96,"hex_timestamp":"000001a10d522650"} 
[2026-10-05 23:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23: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-10-05 23: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 23:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23: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-10-05 23:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":208181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":208181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":208181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553484544001,"66":12613,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553484544001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:59:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:59:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553484544001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":208181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:59:08] local.INFO: GPS data processed {"connection_id":208181,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:59:08] local.INFO: Acknowledgment sent {"connection_id":208181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:59:11] local.INFO: TCP Data received {"connection_id":205087,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:59:11] local.INFO: Processing buffer {"connection_id":205087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d4eb768012d77a04005f2a578001e00fe2b..."} 
[2026-10-05 23:59:11] local.INFO: Packet analysis {"connection_id":205087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d4e"} 
[2026-10-05 23:59:11] local.INFO: Extracted packet for processing {"connection_id":205087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d4e"} 
[2026-10-05 23:59:11] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":30,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553426944001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1791224625000,"timestamp_ms":1791224625000,"timestamp_seconds":1791224625,"priority":1,"record_length":96,"hex_timestamp":"000001a10d4eb768"} 
[2026-10-05 23:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-05 23:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":205087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":205087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":205087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553426944001,"66":25875,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553426944001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:59:11] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:59:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553426944001,"power":25875,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":205087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:59:11] local.INFO: GPS data processed {"connection_id":205087,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:59:11] local.INFO: Acknowledgment sent {"connection_id":205087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:59:30] local.INFO: TCP Data received {"connection_id":208182,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208182,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:59:30] local.INFO: Processing buffer {"connection_id":208182,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:59:30] local.INFO: IMEI packet received {"connection_id":208182,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-05 23:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":208182,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:59:35] local.INFO: TCP Data received {"connection_id":208182,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208182,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:59:35] local.INFO: Processing buffer {"connection_id":208182,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-05 23:59:35] local.INFO: IMEI packet received {"connection_id":208182,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-05 23:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":208182,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:59:36] local.INFO: TCP Data received {"connection_id":208182,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a10d522650012d7c254005dacc900008015126..."} 
[2026-10-05 23:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":208182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d522650012d7c254005dacc900008015126..."} 
[2026-10-05 23:59:36] local.INFO: Processing buffer {"connection_id":208182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d522650012d7c254005dacc900008015126..."} 
[2026-10-05 23:59:36] local.INFO: Packet analysis {"connection_id":208182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d52"} 
[2026-10-05 23:59:36] local.INFO: Extracted packet for processing {"connection_id":208182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d52"} 
[2026-10-05 23:59:36] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":98225296,"longitude_deg":76.311072,"latitude_deg":9.8225296,"altitude":8,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d7c2540","hex_latitude":"05dacc90","is_valid_coordinates":true} 
[2026-10-05 23:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-05 23:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553484544001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":139898475083988992,"note":"Value kept but may cause issues"} 
[2026-10-05 23:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628731211776,"note":"Value kept but may cause issues"} 
[2026-10-05 23:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1791224850000,"timestamp_ms":1791224850000,"timestamp_seconds":1791224850,"priority":1,"record_length":96,"hex_timestamp":"000001a10d522650"} 
[2026-10-05 23:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-05 23:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-05 23:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":208182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":208182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":208182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-05 23:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-05 23:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-05 23:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553484544001,"66":12613,"161":206,"85":15104,"24":0,"16":139898475083988992,"45":8945626628731211776},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-05 23:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-05 23:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-05 23:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553484544001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:59:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-05 23:59:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-05 23:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":139898475083988992,"km_value":139898475083988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628731211776,"description":"Unknown IO ID 45"} 
[2026-10-05 23:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553484544001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945626628731211776}} 
[2026-10-05 23:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":208182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:59:36] local.INFO: GPS data processed {"connection_id":208182,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:59:36] local.INFO: Acknowledgment sent {"connection_id":208182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-05 23:59:53] local.INFO: TCP Data received {"connection_id":205201,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:59:53] local.INFO: Processing buffer {"connection_id":205201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:59:53] local.INFO: IMEI packet received {"connection_id":205201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-05 23:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":205201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-05 23:59:59] local.INFO: TCP Data received {"connection_id":205201,"ip":"117.224.191.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:59:59] local.INFO: Processing buffer {"connection_id":205201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-05 23:59:59] local.INFO: IMEI packet received {"connection_id":205201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-05 23:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":205201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-05 23:59:59] local.INFO: TCP Data received {"connection_id":205201,"ip":"117.224.191.48","data_length":795,"data_hex":"000000000000030f8e0a000001a10d534f30012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":205201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a10d534f30012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:59:59] local.INFO: Processing buffer {"connection_id":205201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a10d534f30012d77a04005f2a578001c00fe2c..."} 
[2026-10-05 23:59:59] local.INFO: Packet analysis {"connection_id":205201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a10d53"} 
[2026-10-05 23:59:59] local.INFO: Extracted packet for processing {"connection_id":205201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a10d53"} 
[2026-10-05 23:59:59] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788152,"longitude_deg":76.2814528,"latitude_deg":9.9788152,"altitude":28,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-10-05 23: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-10-05 23:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458553504000001,"note":"Value kept but may cause issues"} 
[2026-10-05 23:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246070327312384,"note":"Value kept but may cause issues"} 
[2026-10-05 23:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077073920,"note":"Value kept but may cause issues"} 
[2026-10-05 23:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-05 23:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1791224926000,"timestamp_ms":1791224926000,"timestamp_seconds":1791224926,"priority":1,"record_length":96,"hex_timestamp":"000001a10d534f30"} 
[2026-10-05 23:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-05 23:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-05 23: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":19,"data_length":795,"current_offset":136} 
[2026-10-05 23:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-05 23: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-10-05 23:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-05 23:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-05 23:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":205201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-05 23:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":205201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":205201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-05 23:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.191.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-05 23:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-05 23:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-05 23:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458553504000001,"66":25854,"133":206,"9":24832,"24":0,"16":2246070327312384,"45":8619960081077073920},"client_ip":"117.224.191.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-10-05 23:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-05 23:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-05 23:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458553504000001,"description":"Unknown IO ID 0"} 
[2026-10-05 23:59:59] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-10-05 23:59:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-05 23:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246070327312384,"km_value":2246070327312.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-05 23:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077073920,"description":"Unknown IO ID 45"} 
[2026-10-05 23:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458553504000001,"power":25854,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077073920}} 
[2026-10-05 23:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":205201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-05 23:59:59] local.INFO: GPS data processed {"connection_id":205201,"processed":1,"errors":0,"total":1} 
[2026-10-05 23:59:59] local.INFO: Acknowledgment sent {"connection_id":205201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
